@fluid-topics/ft-reader-topic-content 1.1.27 → 1.1.28
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.
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* subject to an additional IP rights grant found at
|
|
13
13
|
* http://polymer.github.io/PATENTS.txt
|
|
14
14
|
*/
|
|
15
|
-
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,r=window.customElements,i=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let c;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=i.prototype.attributeChangedCallback,c=new Set(i.observedAttributes||[]);u(i,c,s);const l={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,l),this._definitionsByClass.set(i,l);let f=o.call(r,t);f||(f=h(t),e.call(r,t,f)),this===window.customElements&&(a.set(i,l),l.standInClass=f);const p=this._awaitingUpgrade.get(t);if(p){this._awaitingUpgrade.delete(t);for(const t of p)n.delete(t),d(t,l,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){g.push(this),r.upgrade.apply(r,arguments),g.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let r=this._awaitingUpgrade.get(e);r||this._awaitingUpgrade.set(e,r=new Set),o?r.add(t):r.delete(t)}},window.HTMLElement=function(){let e=c;if(e)return c=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),i.set(e,o),e},window.HTMLElement.prototype=t.prototype;const l=t=>t===document||t instanceof ShadowRoot,f=t=>{let e=t.getRootNode();if(!l(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),l(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},h=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const r=f(o)||window.customElements,i=r._getDefinition(e);return i?d(o,i):n.set(o,r),o}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},u=(t,e,o)=>{if(0===e.size||void 0===o)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);r.call(this,n,i),o.call(this,n,t,i)}else r.call(this,n,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);i.call(this,r),o.call(this,r,t,null)}else i.call(this,r)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,r){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);n.call(this,i,r);const e=this.getAttribute(i);o.call(this,i,t,e)}else n.call(this,i,r)})},p=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):p(o)},d=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),i.set(t,e),c=t;try{new e.elementClass}catch(t){p(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const b=(t,e,o=void 0)=>{const r=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=r.apply(o||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){g.push(this),o.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const r=e.call(this,...o);return t.set(r,this),r},o.forEach((e=>{const o=window.ElementInternals.prototype,r=o[e];o[e]=function(...e){const o=t.get(this);if(!0===i.get(o).formAssociated)return r?.call(this,...e);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,o)=>{const r=t.getAttribute("name"),i=e.get(r)||[];this[+o]=t,i.push(t),e.set(r,i)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new r(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),e=[];for(const o of t){const t=i.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(ei){const t=window.customElements.define;window.customElements.define=(e,o,r)=>{if(null!==o)try{t.bind(window.customElements)(e,o,r)}catch(t){console.info(e,o,r,t)}}}class e extends Error{constructor(t,e,o){super(t),this.canceledPromiseResult=e,this.canceledPromiseError=o}}class o extends Promise{constructor(t){super(((o,r)=>t((t=>{this.isCanceled?r(new e("Promise has been canceled",t)):o(t)}),(t=>{this.isCanceled?r(new e("Promise has been canceled",void 0,t)):r(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}class r{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,e){this.loaders[t]=e,this.finalContent.delete(t)}registerFinal(t,e){this.loaders[t]=e,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof o&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,e){this.forceClear(t),this.register(t,(async()=>e)),this.content[t]=e}setFinal(t,e){this.forceClear(t),this.registerFinal(t,(async()=>e)),this.content[t]=e}async get(t,e,r){if(void 0===this.content[t]){if(null==(e=null!=e?e:this.loaders[t]))throw new Error("Unknown cache key "+t);const i=(t=>new o(((e,o)=>t.then(e).catch(o))))(e());return this.content[t]=i,i.then((e=>(this.content[t]=e,null!=r&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),r)),e)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}class i{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const o=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)try{await t()}catch(t){return void r(t)}i(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
|
|
15
|
+
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,r=window.customElements,i=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let c;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=i.prototype.attributeChangedCallback,c=new Set(i.observedAttributes||[]);u(i,c,s);const l={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,l),this._definitionsByClass.set(i,l);let f=o.call(r,t);f||(f=h(t),e.call(r,t,f)),this===window.customElements&&(a.set(i,l),l.standInClass=f);const p=this._awaitingUpgrade.get(t);if(p){this._awaitingUpgrade.delete(t);for(const t of p)n.delete(t),d(t,l,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){g.push(this),r.upgrade.apply(r,arguments),g.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let r=this._awaitingUpgrade.get(e);r||this._awaitingUpgrade.set(e,r=new Set),o?r.add(t):r.delete(t)}},window.HTMLElement=function(){let e=c;if(e)return c=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),i.set(e,o),e},window.HTMLElement.prototype=t.prototype;const l=t=>t===document||t instanceof ShadowRoot,f=t=>{let e=t.getRootNode();if(!l(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),l(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},h=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const r=f(o)||window.customElements,i=r._getDefinition(e);return i?d(o,i):n.set(o,r),o}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},u=(t,e,o)=>{if(0===e.size||void 0===o)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);r.call(this,n,i),o.call(this,n,t,i)}else r.call(this,n,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);i.call(this,r),o.call(this,r,t,null)}else i.call(this,r)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,r){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);n.call(this,i,r);const e=this.getAttribute(i);o.call(this,i,t,e)}else n.call(this,i,r)})},p=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):p(o)},d=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),i.set(t,e),c=t;try{new e.elementClass}catch(t){p(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const b=(t,e,o=void 0)=>{const r=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=r.apply(o||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){g.push(this),o.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const r=e.call(this,...o);return t.set(r,this),r},o.forEach((e=>{const o=window.ElementInternals.prototype,r=o[e];o[e]=function(...e){const o=t.get(this);if(!0===i.get(o).formAssociated)return r?.call(this,...e);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,o)=>{const r=t.getAttribute("name"),i=e.get(r)||[];this[+o]=t,i.push(t),e.set(r,i)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new r(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),e=[];for(const o of t){const t=i.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(Qr){const t=window.customElements.define;window.customElements.define=(e,o,r)=>{if(null!==o)try{t.bind(window.customElements)(e,o,r)}catch(t){console.info(e,o,r,t)}}}class e extends Error{constructor(t,e,o){super(t),this.canceledPromiseResult=e,this.canceledPromiseError=o}}class o extends Promise{constructor(t){super(((o,r)=>t((t=>{this.isCanceled?r(new e("Promise has been canceled",t)):o(t)}),(t=>{this.isCanceled?r(new e("Promise has been canceled",void 0,t)):r(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}class r{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,e){this.loaders[t]=e,this.finalContent.delete(t)}registerFinal(t,e){this.loaders[t]=e,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof o&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,e){this.forceClear(t),this.register(t,(async()=>e)),this.content[t]=e}setFinal(t,e){this.forceClear(t),this.registerFinal(t,(async()=>e)),this.content[t]=e}async get(t,e,r){if(void 0===this.content[t]){if(null==(e=null!=e?e:this.loaders[t]))throw new Error("Unknown cache key "+t);const i=(t=>new o(((e,o)=>t.then(e).catch(o))))(e());return this.content[t]=i,i.then((e=>(this.content[t]=e,null!=r&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),r)),e)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}class i{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const o=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)try{await t()}catch(t){return void r(t)}i(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
|
|
16
16
|
/**
|
|
17
17
|
* @license
|
|
18
18
|
* Copyright 2019 Google LLC
|
|
@@ -22,13 +22,13 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.cust
|
|
|
22
22
|
* @license
|
|
23
23
|
* Copyright 2017 Google LLC
|
|
24
24
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
25
|
-
*/,{is:h,defineProperty:u,getOwnPropertyDescriptor:p,getOwnPropertyNames:d,getOwnPropertySymbols:y,getPrototypeOf:g}=Object,b=globalThis,m=b.trustedTypes,v=m?m.emptyScript:"",O=b.reactiveElementPolyfillSupport,x=(t,e)=>t,
|
|
25
|
+
*/,{is:h,defineProperty:u,getOwnPropertyDescriptor:p,getOwnPropertyNames:d,getOwnPropertySymbols:y,getPrototypeOf:g}=Object,b=globalThis,m=b.trustedTypes,v=m?m.emptyScript:"",O=b.reactiveElementPolyfillSupport,x=(t,e)=>t,N={toAttribute(t,e){switch(e){case Boolean:t=t?v:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},w=(t,e)=>!h(t,e),S={attribute:!0,type:String,converter:N,reflect:!1,hasChanged:w};Symbol.metadata??=Symbol("metadata"),b.litPropertyMetadata??=new WeakMap;let C=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=S){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),r=this.getPropertyDescriptor(t,o,e);void 0!==r&&u(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){const{get:r,set:i}=p(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return r?.call(this)},set(e){const n=r?.call(this);i.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??S}static _$Ei(){if(this.hasOwnProperty(x("elementProperties")))return;const t=g(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(x("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(x("properties"))){const t=this.properties,e=[...d(t),...y(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(f(t))}else void 0!==t&&e.push(f(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(a)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),r=n.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,o);if(void 0!==r&&!0===o.reflect){const i=(void 0!==o.converter?.toAttribute?o.converter:N).toAttribute(e,o.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,e){const o=this.constructor,r=o._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=o.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:N;this._$Em=r,this[r]=i.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,r=!1,i){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??w)(r?i:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};C.elementStyles=[],C.shadowRootOptions={mode:"open"},C[x("elementProperties")]=new Map,C[x("finalized")]=new Map,O?.({ReactiveElement:C}),(b.reactiveElementVersions??=[]).push("2.0.2");
|
|
26
26
|
/**
|
|
27
27
|
* @license
|
|
28
28
|
* Copyright 2017 Google LLC
|
|
29
29
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
30
30
|
*/
|
|
31
|
-
const E={attribute:!0,type:String,converter:
|
|
31
|
+
const E={attribute:!0,type:String,converter:N,reflect:!1,hasChanged:w},R=(t=E,e,o)=>{const{kind:r,metadata:i}=o;let n=globalThis.litPropertyMetadata.get(i);if(void 0===n&&globalThis.litPropertyMetadata.set(i,n=new Map),n.set(o.name,t),"accessor"===r){const{name:r}=o;return{set(o){const i=e.get.call(this);e.set.call(this,o),this.requestUpdate(r,i,t)},init(e){return void 0!==e&&this.C(r,void 0,t),e}}}if("setter"===r){const{name:r}=o;return function(o){const i=this[r];e.call(this,o),this.requestUpdate(r,i,t)}}throw Error("Unsupported decorator location: "+r)};function U(t){return(e,o)=>"object"==typeof o?R(t,e,o):((t,e,o)=>{const r=e.hasOwnProperty(o);return e.constructor.createProperty(o,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)
|
|
32
32
|
/**
|
|
33
33
|
* @license
|
|
34
34
|
* Copyright 2017 Google LLC
|
|
@@ -43,44 +43,44 @@ const E={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:N},R=(t=E,e,
|
|
|
43
43
|
* @license
|
|
44
44
|
* Copyright 2017 Google LLC
|
|
45
45
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
46
|
-
*/;function W(t,e){return(o,r,i)=>{const n=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof r?o:i??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return k(0,0,{get(){let o=t.call(this);return void 0===o&&(o=n(this),(null!==o||this.hasUpdated)&&e.call(this,o)),o}})}return k(0,0,{get(){return n(this)}})}}
|
|
46
|
+
*/;function W(t,e){return(o,r,i)=>{const n=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof r?o:i??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return k(0,0,{get(){let o=t.call(this);return void 0===o&&(o=n(this),(null!==o||this.hasUpdated)&&e.call(this,o)),o}})}return k(0,0,{get(){return n(this)}})}}function L(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var o,r,i;if(Array.isArray(t)){if((o=t.length)!=e.length)return!1;for(r=o;0!=r--;)if(!L(t[r],e[r]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(r of t.entries())if(!e.has(r[0]))return!1;for(r of t.entries())if(!L(r[1],e.get(r[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(r of t.entries())if(!e.has(r[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((o=(i=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(r=o;0!=r--;)if(!Object.prototype.hasOwnProperty.call(e,i[r]))return!1;for(r=o;0!=r--;){var n=i[r];if(!L(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const K=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function A(t,e){const o=()=>JSON.parse(JSON.stringify(t));return U({type:Object,converter:{fromAttribute:t=>{if(null==t)return o();try{return JSON.parse(t)}catch{return o()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!L(t,e),...null!=e?e:{}})}
|
|
47
47
|
/**
|
|
48
48
|
* @license
|
|
49
49
|
* Copyright 2017 Google LLC
|
|
50
50
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
51
|
-
*/const
|
|
51
|
+
*/const j=globalThis,$=j.trustedTypes,M=$?$.createPolicy("lit-html",{createHTML:t=>t}):void 0,Z="$lit$",P=`lit$${(Math.random()+"").slice(9)}$`,F="?"+P,D=`<${F}>`,B=document,_=()=>B.createComment(""),z=t=>null===t||"object"!=typeof t&&"function"!=typeof t,T=Array.isArray,H="[ \t\n\f\r]",G=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,q=/-->/g,J=/>/g,Y=RegExp(`>|${H}(?:([^\\s"'>=/]+)(${H}*=${H}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),V=/'/g,X=/"/g,Q=/^(?:script|style|textarea|title)$/i,tt=Symbol.for("lit-noChange"),et=Symbol.for("lit-nothing"),ot=new WeakMap,rt=B.createTreeWalker(B,129);function it(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==M?M.createHTML(e):e}let nt=class t{constructor({strings:e,_$litType$:o},r){let i;this.parts=[];let n=0,a=0;const s=e.length-1,c=this.parts,[l,f]=((t,e)=>{const o=t.length-1,r=[];let i,n=2===e?"<svg>":"",a=G;for(let e=0;e<o;e++){const o=t[e];let s,c,l=-1,f=0;for(;f<o.length&&(a.lastIndex=f,c=a.exec(o),null!==c);)f=a.lastIndex,a===G?"!--"===c[1]?a=q:void 0!==c[1]?a=J:void 0!==c[2]?(Q.test(c[2])&&(i=RegExp("</"+c[2],"g")),a=Y):void 0!==c[3]&&(a=Y):a===Y?">"===c[0]?(a=i??G,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?Y:'"'===c[3]?X:V):a===X||a===V?a=Y:a===q||a===J?a=G:(a=Y,i=void 0);const h=a===Y&&t[e+1].startsWith("/>")?" ":"";n+=a===G?o+D:l>=0?(r.push(s),o.slice(0,l)+Z+o.slice(l)+P+h):o+P+(-2===l?e:h)}return[it(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),r]})(e,o);if(this.el=t.createElement(l,r),rt.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=rt.nextNode())&&c.length<s;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Z)){const e=f[a++],o=i.getAttribute(t).split(P),r=/([.?@])?(.*)/.exec(e);c.push({type:1,index:n,name:r[2],strings:o,ctor:"."===r[1]?lt:"?"===r[1]?ft:"@"===r[1]?ht:ct}),i.removeAttribute(t)}else t.startsWith(P)&&(c.push({type:6,index:n}),i.removeAttribute(t));if(Q.test(i.tagName)){const t=i.textContent.split(P),e=t.length-1;if(e>0){i.textContent=$?$.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],_()),rt.nextNode(),c.push({type:2,index:++n});i.append(t[e],_())}}}else if(8===i.nodeType)if(i.data===F)c.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf(P,t+1));)c.push({type:7,index:n}),t+=P.length-1}n++}}static createElement(t,e){const o=B.createElement("template");return o.innerHTML=t,o}};function at(t,e,o=t,r){if(e===tt)return e;let i=void 0!==r?o._$Co?.[r]:o._$Cl;const n=z(e)?void 0:e._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,o,r)),void 0!==r?(o._$Co??=[])[r]=i:o._$Cl=i),void 0!==i&&(e=at(t,i._$AS(t,e.values),i,r)),e}let st=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=et,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=at(this,t,e),z(t)?t===et||null==t||""===t?(this._$AH!==et&&this._$AR(),this._$AH=et):t!==this._$AH&&t!==tt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>T(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==et&&z(this._$AH)?this._$AA.nextSibling.data=t:this.$(B.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=nt.createElement(it(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(e);else{const t=new class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,r=(t?.creationScope??B).importNode(e,!0);rt.currentNode=r;let i=rt.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new st(i,i.nextSibling,this,t):1===s.type?e=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(e=new ut(i,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(i=rt.nextNode(),n++)}return rt.currentNode=B,r}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}}(r,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=ot.get(t.strings);return void 0===e&&ot.set(t.strings,e=new nt(t)),e}T(e){T(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,i=0;for(const n of e)i===o.length?o.push(r=new t(this.k(_()),this.k(_()),this,this.options)):r=o[i],r._$AI(n),i++;i<o.length&&(this._$AR(r&&r._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},ct=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,i){this.type=1,this._$AH=et,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=et}_$AI(t,e=this,o,r){const i=this.strings;let n=!1;if(void 0===i)t=at(this,t,e,0),n=!z(t)||t!==this._$AH&&t!==tt,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=at(this,r[o+a],e,a),s===tt&&(s=this._$AH[a]),n||=!z(s)||s!==this._$AH[a],s===et?t=et:t!==et&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===et?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},lt=class extends ct{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===et?void 0:t}},ft=class extends ct{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==et)}},ht=class extends ct{constructor(t,e,o,r,i){super(t,e,o,r,i),this.type=5}_$AI(t,e=this){if((t=at(this,t,e,0)??et)===tt)return;const o=this._$AH,r=t===et&&o!==et||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==et&&(o===et||r);r&&this.element.removeEventListener(this.name,this,o),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},ut=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){at(this,t)}};const pt=j.litHtmlPolyfillSupport;pt?.(nt,st),(j.litHtmlVersions??=[]).push("3.1.0");
|
|
52
52
|
/**
|
|
53
53
|
* @license
|
|
54
54
|
* Copyright 2019 Google LLC
|
|
55
55
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
56
56
|
*/
|
|
57
|
-
const
|
|
57
|
+
const dt=globalThis,yt=dt.ShadowRoot&&(void 0===dt.ShadyCSS||dt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,gt=Symbol(),bt=new WeakMap;let mt=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==gt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(yt&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=bt.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&bt.set(e,t))}return t}toString(){return this.cssText}};const vt=t=>new mt("string"==typeof t?t:t+"",void 0,gt),Ot=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,o,r)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+t[r+1]),t[0]);return new mt(o,t,gt)},xt=yt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return vt(e)})(t):t
|
|
58
58
|
/**
|
|
59
59
|
* @license
|
|
60
60
|
* Copyright 2017 Google LLC
|
|
61
61
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
62
|
-
*/,{is:
|
|
62
|
+
*/,{is:Nt,defineProperty:wt,getOwnPropertyDescriptor:St,getOwnPropertyNames:Ct,getOwnPropertySymbols:Et,getPrototypeOf:Rt}=Object,Ut=globalThis,It=Ut.trustedTypes,kt=It?It.emptyScript:"",Wt=Ut.reactiveElementPolyfillSupport,Lt=(t,e)=>t,Kt={toAttribute(t,e){switch(e){case Boolean:t=t?kt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},At=(t,e)=>!Nt(t,e),jt={attribute:!0,type:String,converter:Kt,reflect:!1,hasChanged:At};Symbol.metadata??=Symbol("metadata"),Ut.litPropertyMetadata??=new WeakMap;let $t=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=jt){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),r=this.getPropertyDescriptor(t,o,e);void 0!==r&&wt(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){const{get:r,set:i}=St(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return r?.call(this)},set(e){const n=r?.call(this);i.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??jt}static _$Ei(){if(this.hasOwnProperty(Lt("elementProperties")))return;const t=Rt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Lt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Lt("properties"))){const t=this.properties,e=[...Ct(t),...Et(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(xt(t))}else void 0!==t&&e.push(xt(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(yt)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),r=dt.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,o);if(void 0!==r&&!0===o.reflect){const i=(void 0!==o.converter?.toAttribute?o.converter:Kt).toAttribute(e,o.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,e){const o=this.constructor,r=o._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=o.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Kt;this._$Em=r,this[r]=i.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,r=!1,i){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??At)(r?i:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};$t.elementStyles=[],$t.shadowRootOptions={mode:"open"},$t[Lt("elementProperties")]=new Map,$t[Lt("finalized")]=new Map,Wt?.({ReactiveElement:$t}),(Ut.reactiveElementVersions??=[]).push("2.0.2");
|
|
63
63
|
/**
|
|
64
64
|
* @license
|
|
65
65
|
* Copyright 2017 Google LLC
|
|
66
66
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
67
67
|
*/
|
|
68
|
-
const
|
|
68
|
+
const Mt=globalThis,Zt=Mt.trustedTypes,Pt=Zt?Zt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Ft="$lit$",Dt=`lit$${(Math.random()+"").slice(9)}$`,Bt="?"+Dt,_t=`<${Bt}>`,zt=document,Tt=()=>zt.createComment(""),Ht=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Gt=Array.isArray,qt="[ \t\n\f\r]",Jt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Yt=/-->/g,Vt=/>/g,Xt=RegExp(`>|${qt}(?:([^\\s"'>=/]+)(${qt}*=${qt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Qt=/'/g,te=/"/g,ee=/^(?:script|style|textarea|title)$/i,oe=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),re=Symbol.for("lit-noChange"),ie=Symbol.for("lit-nothing"),ne=new WeakMap,ae=zt.createTreeWalker(zt,129);function se(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Pt?Pt.createHTML(e):e}class ce{constructor({strings:t,_$litType$:e},o){let r;this.parts=[];let i=0,n=0;const a=t.length-1,s=this.parts,[c,l]=((t,e)=>{const o=t.length-1,r=[];let i,n=2===e?"<svg>":"",a=Jt;for(let e=0;e<o;e++){const o=t[e];let s,c,l=-1,f=0;for(;f<o.length&&(a.lastIndex=f,c=a.exec(o),null!==c);)f=a.lastIndex,a===Jt?"!--"===c[1]?a=Yt:void 0!==c[1]?a=Vt:void 0!==c[2]?(ee.test(c[2])&&(i=RegExp("</"+c[2],"g")),a=Xt):void 0!==c[3]&&(a=Xt):a===Xt?">"===c[0]?(a=i??Jt,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?Xt:'"'===c[3]?te:Qt):a===te||a===Qt?a=Xt:a===Yt||a===Vt?a=Jt:(a=Xt,i=void 0);const h=a===Xt&&t[e+1].startsWith("/>")?" ":"";n+=a===Jt?o+_t:l>=0?(r.push(s),o.slice(0,l)+Ft+o.slice(l)+Dt+h):o+Dt+(-2===l?e:h)}return[se(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),r]})(t,e);if(this.el=ce.createElement(c,o),ae.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=ae.nextNode())&&s.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Ft)){const e=l[n++],o=r.getAttribute(t).split(Dt),a=/([.?@])?(.*)/.exec(e);s.push({type:1,index:i,name:a[2],strings:o,ctor:"."===a[1]?ue:"?"===a[1]?pe:"@"===a[1]?de:he}),r.removeAttribute(t)}else t.startsWith(Dt)&&(s.push({type:6,index:i}),r.removeAttribute(t));if(ee.test(r.tagName)){const t=r.textContent.split(Dt),e=t.length-1;if(e>0){r.textContent=Zt?Zt.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],Tt()),ae.nextNode(),s.push({type:2,index:++i});r.append(t[e],Tt())}}}else if(8===r.nodeType)if(r.data===Bt)s.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(Dt,t+1));)s.push({type:7,index:i}),t+=Dt.length-1}i++}}static createElement(t,e){const o=zt.createElement("template");return o.innerHTML=t,o}}function le(t,e,o=t,r){if(e===re)return e;let i=void 0!==r?o._$Co?.[r]:o._$Cl;const n=Ht(e)?void 0:e._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,o,r)),void 0!==r?(o._$Co??=[])[r]=i:o._$Cl=i),void 0!==i&&(e=le(t,i._$AS(t,e.values),i,r)),e}let fe=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=ie,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=le(this,t,e),Ht(t)?t===ie||null==t||""===t?(this._$AH!==ie&&this._$AR(),this._$AH=ie):t!==this._$AH&&t!==re&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Gt(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==ie&&Ht(this._$AH)?this._$AA.nextSibling.data=t:this.$(zt.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=ce.createElement(se(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(e);else{const t=new class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,r=(t?.creationScope??zt).importNode(e,!0);ae.currentNode=r;let i=ae.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new fe(i,i.nextSibling,this,t):1===s.type?e=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(e=new ye(i,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(i=ae.nextNode(),n++)}return ae.currentNode=zt,r}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}}(r,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=ne.get(t.strings);return void 0===e&&ne.set(t.strings,e=new ce(t)),e}T(e){Gt(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,i=0;for(const n of e)i===o.length?o.push(r=new t(this.k(Tt()),this.k(Tt()),this,this.options)):r=o[i],r._$AI(n),i++;i<o.length&&(this._$AR(r&&r._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},he=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,i){this.type=1,this._$AH=ie,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=ie}_$AI(t,e=this,o,r){const i=this.strings;let n=!1;if(void 0===i)t=le(this,t,e,0),n=!Ht(t)||t!==this._$AH&&t!==re,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=le(this,r[o+a],e,a),s===re&&(s=this._$AH[a]),n||=!Ht(s)||s!==this._$AH[a],s===ie?t=ie:t!==ie&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===ie?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ue=class extends he{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ie?void 0:t}},pe=class extends he{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ie)}},de=class extends he{constructor(t,e,o,r,i){super(t,e,o,r,i),this.type=5}_$AI(t,e=this){if((t=le(this,t,e,0)??ie)===re)return;const o=this._$AH,r=t===ie&&o!==ie||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==ie&&(o===ie||r);r&&this.element.removeEventListener(this.name,this,o),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},ye=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){le(this,t)}};const ge=Mt.litHtmlPolyfillSupport;ge?.(ce,fe),(Mt.litHtmlVersions??=[]).push("3.1.0");
|
|
69
69
|
/**
|
|
70
70
|
* @license
|
|
71
71
|
* Copyright 2017 Google LLC
|
|
72
72
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
73
73
|
*/
|
|
74
|
-
let ve=class extends Zt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{const r=o?.renderBefore??e;let i=r._$litPart$;if(void 0===i){const t=o?.renderBefore??null;r._$litPart$=i=new ue(e.insertBefore(Gt(),t),t,void 0,o??{})}return i._$AI(t),i})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ne}};ve._$litElement$=!0,ve.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ve});const Oe=globalThis.litElementPolyfillSupport;Oe?.({LitElement:ve}),(globalThis.litElementVersions??=[]).push("4.0.2");const xe=t=>"string"==typeof t?xt(t):t;class we{static create(t,e,o,r){const i=t=>xe(null!=t?t:r),n=wt`var(${xe(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>wt`var(${xe(t)}, ${i(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,e,o,r){const i=t=>o.get(null!=t?t:r),n=wt`var(${xe(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>wt`var(${xe(t)}, ${i(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):xe(null!=e?e:t.lastResortDefaultValue()),r=wt`var(${xe(t.name)}, ${o(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=e,r.defaultCssValue=o,r.get=e=>wt`var(${xe(t.name)}, ${o(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const Ne={colorWhite:we.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:we.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:we.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:we.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:we.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:we.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:we.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:we.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:we.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:we.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:we.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:we.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:we.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:we.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:we.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:we.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:we.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:we.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:we.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:we.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:we.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:we.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:we.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:we.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:we.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:we.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:we.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:we.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:we.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:we.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:we.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:we.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:we.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:we.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:we.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:we.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:we.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:we.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:we.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:we.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:we.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:we.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:we.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:we.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:we.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:we.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:we.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:we.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:we.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:we.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:we.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:we.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:we.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:we.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:we.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:we.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:we.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:we.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:we.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:we.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:we.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:we.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:we.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:we.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:we.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:we.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:we.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:we.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:we.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:we.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:we.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:we.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:we.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:we.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:we.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:we.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:we.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:we.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:we.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:we.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:we.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:we.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:we.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:we.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:we.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:we.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:we.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:we.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:we.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:we.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:we.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:we.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:we.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:we.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:we.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:we.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:we.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:we.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:we.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:we.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:we.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:we.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:we.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:we.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:we.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:we.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:we.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:we.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:we.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:we.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:we.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:we.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:we.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:we.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:we.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:we.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:we.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:we.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:we.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:we.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:we.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:we.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:we.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:we.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:we.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:we.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:we.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:we.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:we.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:we.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:we.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:we.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:we.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:we.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:we.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:we.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:we.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:we.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:we.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:we.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:we.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:we.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:we.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:we.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:we.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:we.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:we.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:we.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:we.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:we.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:we.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:we.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:we.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:we.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:we.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:we.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:we.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:we.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:we.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:we.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:we.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:we.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:we.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:we.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:we.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:we.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:we.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:we.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:we.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:we.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:we.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:we.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:we.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:we.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:we.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:we.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:we.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:we.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:we.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:we.create("--ft-icon-size-6","","SIZE","48px"),opacity0:we.create("--ft-opacity-0","","NUMBER","0"),opacity8:we.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:we.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:we.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:we.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:we.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:we.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:we.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:we.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:we.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:we.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:we.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:we.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:we.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:we.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)")};we.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),we.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),we.create("--ft-typography-display-lineHeight","","SIZE","120%"),we.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),we.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),we.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),we.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),we.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),we.create("--ft-typography-display-textCase","","UNKNOWN","none"),we.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),we.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),we.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),we.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),we.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),we.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),we.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),we.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),we.create("--ft-typography-title-1-textCase","","UNKNOWN","none"),we.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),we.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),we.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),we.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),we.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),we.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),we.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),we.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),we.create("--ft-typography-title-2-textCase","","UNKNOWN","none"),we.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),we.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),we.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),we.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),we.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),we.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),we.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),we.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),we.create("--ft-typography-title-3-textCase","","UNKNOWN","none"),we.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),we.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),we.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),we.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),we.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),we.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),we.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),we.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),we.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none"),we.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),we.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),we.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),we.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),we.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),we.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),we.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),we.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),we.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none"),we.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),we.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),we.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),we.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),we.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),we.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),we.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),we.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),we.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none"),we.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),we.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),we.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),we.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),we.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),we.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),we.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),we.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),we.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none"),we.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),we.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),we.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),we.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),we.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),we.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),we.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),we.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),we.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none"),we.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),we.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),we.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),we.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),we.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),we.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),we.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),we.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),we.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none"),we.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),we.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),we.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),we.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),we.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),we.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),we.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),we.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),we.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none"),we.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),we.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),we.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),we.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),we.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),we.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),we.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),we.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),we.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none"),we.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),we.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),we.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),we.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),we.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),we.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),we.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),we.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),we.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none"),we.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),we.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),we.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),we.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),we.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),we.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),we.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),we.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),we.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none"),we.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),we.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),we.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),we.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),we.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),we.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),we.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),we.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),we.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none"),we.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),we.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),we.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),we.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),we.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),we.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),we.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),we.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),we.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none"),we.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),we.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),we.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),we.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),we.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),we.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),we.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),we.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),we.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none"),we.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),we.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),we.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),we.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),we.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),we.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),we.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),we.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),we.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none"),we.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),we.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),we.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),we.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),we.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),we.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),we.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),we.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),we.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none"),we.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),we.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),we.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),we.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),we.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),we.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),we.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),we.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),we.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none"),we.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),we.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),we.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),we.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),we.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),we.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),we.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),we.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),we.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none"),we.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),we.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),we.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),we.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),we.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),we.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),we.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),we.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),we.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none"),we.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),we.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),we.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),we.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),we.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),we.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),we.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),we.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),we.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none"),we.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),we.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),we.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),we.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),we.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),we.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),we.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),we.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),we.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none"),we.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),we.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),we.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),we.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),we.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),we.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),we.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),we.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),we.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none");const Se={backgroundActionPrimary:we.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Ne.colorBrand0),backgroundErrorPrimary:we.extend("--ft-background-error-primary","Used as background of error components.",Ne.colorRed0),backgroundErrorSubtle:we.extend("--ft-background-error-subtle","Used as background of subtle error components.",Ne.colorRed10),backgroundInfoPrimary:we.extend("--ft-background-info-primary","Used as background of information components.",Ne.colorCyan200),backgroundInfoSubtle:we.extend("--ft-background-info-subtle","Used as background of subtle information components.",Ne.colorCyan10),backgroundWarningPrimary:we.extend("--ft-background-warning-primary","Used as background of warning components.",Ne.colorOrange300),backgroundWarningSubtle:we.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Ne.colorOrange10),backgroundSuccessPrimary:we.extend("--ft-background-success-primary","Used as background of success components.",Ne.colorGreen200),backgroundSuccessSubtle:we.extend("--ft-background-success-subtle","Used as background of subtle success components.",Ne.colorGreen10),backgroundGlobalSurface:we.extend("--ft-background-global-surface","Used as app background.",Ne.colorWhite),backgroundGlobalOnSurface:we.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Ne.colorGray10),backgroundGlobalOnSurfaceDark:we.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Ne.colorGray30),contentActionPrimary:we.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Ne.colorBrand0),contentWarningPrimary:we.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Ne.colorOrange300),contentWarningIconOnly:we.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Ne.colorOrange0),contentErrorPrimary:we.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Ne.colorRed0),contentErrorIconOnly:we.extend("--ft-content-error-icon-only","Used on error status icons alone",Ne.colorRed0),contentInfoPrimary:we.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Ne.colorCyan200),contentInfoIconOnly:we.extend("--ft-content-info-icon-only","Used on info status icons alone",Ne.colorCyan0),contentSuccessPrimary:we.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Ne.colorGreen200),contentSuccessIconOnly:we.extend("--ft-content-success-icon-only","Used on success status icons alone",Ne.colorGreen0),contentGlobalPrimary:we.extend("--ft-content-global-primary","Used for main content on the page.",Ne.colorGray500),contentGlobalSecondary:we.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Ne.colorGray200),contentGlobalSubtle:we.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Ne.colorGray0),contentGlobalOnColor:we.extend("--ft-content-global-on-color","Used for content on a dominant color.",Ne.colorWhite),borderActionPrimary:we.extend("--ft-border-action-primary","Used as border for primary action components.",Ne.colorBrand0),borderActionFocusRing:we.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Ne.colorCyan0),borderWarningPrimary:we.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",Ne.colorOrange300),borderWarningSubtle:we.extend("--ft-border-warning-subtle","Used as border for warning components.",Ne.colorOrange30),borderSuccessPrimary:we.extend("--ft-border-success-primary","Used as border for success buttons.",Ne.colorGreen200),borderSuccessSubtle:we.extend("--ft-border-success-subtle","Used as border for success components.",Ne.colorGreen30),borderErrorPrimary:we.extend("--ft-border-error-primary","Used as border for text fields in error states.",Ne.colorRed0),borderErrorSubtle:we.extend("--ft-border-error-subtle","Used as border for error components.",Ne.colorRed30),borderInfoPrimary:we.extend("--ft-border-info-primary","Used as border for buttons in info color.",Ne.colorCyan200),borderInfoSubtle:we.extend("--ft-border-info-subtle","Used as border for information components.",Ne.colorCyan30),borderGlobalPrimary:we.extend("--ft-border-global-primary","Used as border for element like input.",Ne.colorGray50),borderGlobalSubtle:we.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Ne.colorGray30),borderInputPrimary:we.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Ne.colorGray80)};we.create("--ft-button-large-height","","SIZE","40px"),we.extend("--ft-button-large-horizontal-padding","",Ne.spacing4),we.extend("--ft-button-large-gap","",Ne.spacing2),we.extend("--ft-button-large-border-radius","",Ne.borderRadiusS),we.extend("--ft-button-large-icon-size","",Ne.iconSize3),we.create("--ft-button-large-border-width","","SIZE","1px"),we.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),we.create("--ft-button-large-focus-outline-width","","SIZE","2px"),we.create("--ft-button-large-icon-only-width","","SIZE","40px"),we.create("--ft-button-small-height","","SIZE","30px"),we.extend("--ft-button-small-horizontal-padding","",Ne.spacing3),we.extend("--ft-button-small-gap","",Ne.spacing2),we.extend("--ft-button-small-border-radius","",Ne.borderRadiusS),we.extend("--ft-button-small-icon-size","",Ne.iconSize2),we.create("--ft-button-small-border-width","","SIZE","1px"),we.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),we.create("--ft-button-small-focus-outline-width","","SIZE","2px"),we.create("--ft-button-small-icon-only-width","","SIZE","30px"),we.extend("--ft-button-primary-background-color","",Se.backgroundActionPrimary),we.extend("--ft-button-primary-color","",Se.contentGlobalOnColor),we.extend("--ft-button-primary-icon-color","",Se.contentGlobalOnColor),we.extend("--ft-button-primary-state-layer-color","",Se.contentGlobalOnColor),we.extend("--ft-button-primary-state-layer-opacity-hover","",Ne.opacity16),we.extend("--ft-button-primary-state-layer-opacity-focus","",Ne.opacity16),we.extend("--ft-button-primary-state-layer-opacity-active","",Ne.opacity24),we.extend("--ft-button-primary-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-button-focus-focus-ring-color","",Se.borderActionFocusRing),we.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),we.extend("--ft-button-tertiary-color","",Se.contentActionPrimary),we.extend("--ft-button-tertiary-icon-color","",Se.contentActionPrimary),we.extend("--ft-button-tertiary-state-layer-color","",Se.contentActionPrimary),we.extend("--ft-button-tertiary-state-layer-opacity-hover","",Ne.opacity8),we.extend("--ft-button-tertiary-state-layer-opacity-focus","",Ne.opacity8),we.extend("--ft-button-tertiary-state-layer-opacity-active","",Ne.opacity16),we.extend("--ft-button-tertiary-component-opacity-disabled","",Ne.opacity40),we.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),we.extend("--ft-button-secondary-color","",Se.contentActionPrimary),we.extend("--ft-button-secondary-icon-color","",Se.contentActionPrimary),we.extend("--ft-button-secondary-state-layer-color","",Se.contentActionPrimary),we.extend("--ft-button-secondary-state-layer-opacity-hover","",Ne.opacity8),we.extend("--ft-button-secondary-state-layer-opacity-focus","",Ne.opacity8),we.extend("--ft-button-secondary-state-layer-opacity-active","",Ne.opacity16),we.extend("--ft-button-secondary-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-button-secondary-border-color","",Se.borderActionPrimary),we.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),we.extend("--ft-button-neutral-icon-color","",Se.contentGlobalSecondary),we.extend("--ft-button-neutral-color","",Se.contentGlobalSecondary),we.extend("--ft-button-neutral-state-layer-color","",Se.contentGlobalSecondary),we.extend("--ft-button-neutral-state-layer-opacity-hover","",Ne.opacity8),we.extend("--ft-button-neutral-state-layer-opacity-focus","",Ne.opacity8),we.extend("--ft-button-neutral-state-layer-opacity-active","",Ne.opacity16),we.extend("--ft-button-neutral-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-floating-menu-horizontal-padding","",Ne.spacing4),we.extend("--ft-floating-menu-vertical-padding","",Ne.spacing4),we.extend("--ft-floating-menu-off-icon-color","",Se.contentGlobalPrimary),we.extend("--ft-floating-menu-off-color","",Se.contentGlobalPrimary),we.extend("--ft-floating-menu-on-color","",Se.contentActionPrimary),we.extend("--ft-floating-menu-on-icon-color","",Se.contentActionPrimary),we.extend("--ft-floating-menu-on-state-layer-color","",Se.contentActionPrimary),we.extend("--ft-floating-menu-gap","",Ne.spacing3),we.extend("--ft-floating-menu-focus-focus-ring-color","",Se.borderActionFocusRing),we.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),we.extend("--ft-floating-menu-state-layer-opacity-hover","",Ne.opacity8),we.extend("--ft-floating-menu-state-layer-opacity-active","",Ne.opacity16),we.extend("--ft-floating-menu-state-layer-opacity-focus","",Ne.opacity8),we.extend("--ft-floating-menu-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-floating-menu-icon-size","",Ne.iconSize3),we.extend("--ft-floating-menu-background-color","",Se.backgroundGlobalOnSurface),we.extend("--ft-tabs-top-left-border-radius","",Ne.borderRadiusS),we.extend("--ft-tabs-top-right-border-radius","",Ne.borderRadiusS),we.extend("--ft-tabs-label-horizontal-padding","",Ne.spacing4),we.extend("--ft-tabs-label-vertical-padding","",Ne.spacing3),we.extend("--ft-tabs-label-gap","",Ne.spacing1),we.extend("--ft-tabs-icon-horizontal-padding","",Ne.spacing1),we.extend("--ft-tabs-icon-vertical-padding","",Ne.spacing4),we.create("--ft-tabs-focus-outline-width","","SIZE","2px"),we.extend("--ft-tabs-focus-focus-ring-color","",Se.borderActionFocusRing),we.extend("--ft-tabs-off-state-layer-opacity-hover","",Ne.opacity8),we.extend("--ft-tabs-off-state-layer-opacity-focus","",Ne.opacity8),we.extend("--ft-tabs-off-state-layer-opacity-active","",Ne.opacity16),we.extend("--ft-tabs-off-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-tabs-off-color","",Se.contentGlobalSubtle),we.extend("--ft-tabs-off-state-layer-color","",Se.contentGlobalSubtle),we.extend("--ft-tabs-on-state-layer-opacity-hover","",Ne.opacity8),we.extend("--ft-tabs-on-state-layer-opacity-focus","",Ne.opacity8),we.extend("--ft-tabs-on-state-layer-opacity-active","",Ne.opacity16),we.extend("--ft-tabs-on-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-tabs-on-color","",Se.contentActionPrimary),we.extend("--ft-tabs-on-state-layer-color","",Se.contentActionPrimary),we.extend("--ft-collapsible-state-layer-opacity-hover","",Ne.opacity8),we.extend("--ft-collapsible-state-layer-opacity-focus","",Ne.opacity8),we.extend("--ft-collapsible-state-layer-opacity-active","",Ne.opacity16),we.extend("--ft-collapsible-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-collapsible-horizontal-padding","",Ne.spacing4),we.extend("--ft-collapsible-vertical-padding","",Ne.spacing3),we.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),we.extend("--ft-collapsible-focus-focus-ring-color","",Se.borderActionFocusRing),we.extend("--ft-collapsible-color","",Se.contentGlobalPrimary),we.extend("--ft-collapsible-state-layer-color","",Se.contentGlobalPrimary),we.extend("--ft-collapsible-background-color","",Se.backgroundGlobalOnSurface),we.extend("--ft-collapsible-border-color","",Se.borderGlobalSubtle),we.extend("--ft-collapsible-icon-size","",Ne.iconSize3),we.extend("--ft-switch-group-horizontal-padding","",Ne.spacing1),we.extend("--ft-switch-group-vertical-padding","",Ne.spacing1),we.extend("--ft-switch-group-gap","",Ne.spacing1),we.extend("--ft-switch-group-background-color","",Se.backgroundGlobalSurface),we.extend("--ft-switch-group-border-color","",Se.borderGlobalSubtle),we.create("--ft-switch-group-border-radius","","SIZE","6px"),we.extend("--ft-switch-label-horizontal-padding","",Ne.spacing2),we.extend("--ft-switch-label-vertical-padding","",Ne.spacing1),we.extend("--ft-switch-icon-horizontal-padding","",Ne.spacing1),we.extend("--ft-switch-icon-vertical-padding","",Ne.spacing1),we.create("--ft-switch-focus-outline-width","","SIZE","2px"),we.extend("--ft-switch-focus-focus-ring-color","",Se.borderActionFocusRing),we.extend("--ft-switch-option-border-radius","",Ne.borderRadiusS),we.extend("--ft-switch-off-state-layer-opacity-hover","",Ne.opacity8),we.extend("--ft-switch-off-state-layer-opacity-focus","",Ne.opacity8),we.extend("--ft-switch-off-state-layer-opacity-active","",Ne.opacity16),we.extend("--ft-switch-off-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-switch-off-color","",Se.contentGlobalSubtle),we.extend("--ft-switch-off-state-layer-color","",Se.contentGlobalSubtle),we.extend("--ft-switch-on-state-layer-opacity-hover","",Ne.opacity8),we.extend("--ft-switch-on-state-layer-opacity-focus","",Ne.opacity8),we.extend("--ft-switch-on-state-layer-opacity-active","",Ne.opacity16),we.extend("--ft-switch-on-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-switch-on-color","",Se.contentActionPrimary),we.extend("--ft-switch-on-state-layer-color","",Se.contentActionPrimary),we.extend("--ft-chart-1-light","for area color charts",Ne.colorBrand40),we.extend("--ft-chart-1-base","for line charts",Ne.colorBrand0),we.extend("--ft-chart-2-light","for area color charts",Ne.colorYellow60),we.extend("--ft-chart-2-base","for line charts",Ne.colorYellow100),we.extend("--ft-chart-3-light","",Ne.colorUltramarine40),we.extend("--ft-chart-3-base","",Ne.colorUltramarine70),we.extend("--ft-chart-4-light","",Ne.colorCyan50),we.extend("--ft-chart-4-base","",Ne.colorCyan100),we.extend("--ft-chart-5-light","",Ne.colorRed40),we.extend("--ft-chart-5-base","",Ne.colorRed60),we.extend("--ft-chart-6-light","",Ne.colorGreen40),we.extend("--ft-chart-6-base","",Ne.colorGreen70),we.extend("--ft-chart-7-light","",Ne.colorOrange70),we.extend("--ft-chart-7-base","",Ne.colorOrange100),we.extend("--ft-chart-8-light","",Ne.colorAvocado70),we.extend("--ft-chart-8-base","",Ne.colorAvocado200),we.extend("--ft-chart-9-light","",Ne.colorBrown50),we.extend("--ft-chart-9-base","",Ne.colorBrown200),we.extend("--ft-chart-10-light","",Ne.colorGray50),we.extend("--ft-chart-10-base","",Ne.colorGray80),we.extend("--ft-chart-monochrome-10","",Ne.colorBrand10),we.extend("--ft-chart-monochrome-20","",Ne.colorBrand20),we.extend("--ft-chart-monochrome-30","",Ne.colorBrand40),we.extend("--ft-chart-monochrome-40","",Ne.colorBrand60),we.extend("--ft-chart-monochrome-50","",Ne.colorBrand0),we.extend("--ft-chart-monochrome-60","",Ne.colorBrand200),we.extend("--ft-chip-large-horizontal-padding","",Ne.spacing4),we.extend("--ft-chip-large-vertical-padding","",Ne.spacing2),we.extend("--ft-chip-large-gap","",Ne.spacing1),we.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),we.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),we.extend("--ft-chip-large-border-radius","",Ne.borderRadiusPill),we.create("--ft-chip-large-border-width","","SIZE","1px"),we.extend("--ft-chip-large-icon-size","",Ne.iconSize3),we.extend("--ft-chip-medium-horizontal-padding","",Ne.spacing3),we.extend("--ft-chip-medium-vertical-padding","",Ne.spacing1),we.extend("--ft-chip-medium-gap","",Ne.spacing1),we.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),we.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),we.extend("--ft-chip-medium-border-radius","",Ne.borderRadiusPill),we.create("--ft-chip-medium-border-width","","SIZE","1px"),we.extend("--ft-chip-medium-icon-size","",Ne.iconSize2),we.extend("--ft-chip-small-horizontal-padding","",Ne.spacing2),we.extend("--ft-chip-small-vertical-padding","",Ne.spacing05),we.extend("--ft-chip-small-gap","",Ne.spacing1),we.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),we.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),we.extend("--ft-chip-small-border-radius","",Ne.borderRadiusPill),we.create("--ft-chip-small-border-width","","SIZE","1px"),we.extend("--ft-chip-small-icon-size","",Ne.iconSize1),we.extend("--ft-chip-neutral-background-color","",Se.backgroundGlobalOnSurface),we.extend("--ft-chip-neutral-color","",Se.contentGlobalPrimary),we.extend("--ft-chip-neutral-border-color","",Se.borderGlobalSubtle),we.extend("--ft-chip-info-background-color","",Se.backgroundInfoSubtle),we.extend("--ft-chip-info-color","",Se.contentInfoPrimary),we.extend("--ft-chip-info-border-color","",Se.borderInfoSubtle),we.extend("--ft-chip-success-background-color","",Se.backgroundSuccessSubtle),we.extend("--ft-chip-success-color","",Se.contentSuccessPrimary),we.extend("--ft-chip-success-border-color","",Se.borderSuccessSubtle),we.extend("--ft-chip-warning-background-color","",Se.backgroundWarningSubtle),we.extend("--ft-chip-warning-color","",Se.contentWarningPrimary),we.extend("--ft-chip-warning-border-color","",Se.borderWarningSubtle),we.extend("--ft-chip-error-background-color","",Se.backgroundErrorSubtle),we.extend("--ft-chip-error-color","",Se.contentErrorPrimary),we.extend("--ft-chip-error-border-color","",Se.borderErrorSubtle),we.create("--ft-notice-border-width","","SIZE","1px"),we.extend("--ft-notice-horizontal-padding","",Ne.spacing2),we.extend("--ft-notice-vertical-padding","",Ne.spacing1),we.extend("--ft-notice-border-radius","",Ne.borderRadiusS),we.extend("--ft-notice-gap","",Ne.spacing2),we.extend("--ft-notice-icon-size","",Ne.iconSize3),we.extend("--ft-notice-info-background-color","",Se.backgroundInfoSubtle),we.extend("--ft-notice-info-border-color","",Se.borderInfoSubtle),we.extend("--ft-notice-info-color","",Se.contentInfoPrimary),we.extend("--ft-notice-warning-background-color","",Se.backgroundWarningSubtle),we.extend("--ft-notice-warning-border-color","",Se.borderWarningSubtle),we.extend("--ft-notice-warning-color","",Se.contentWarningPrimary),we.extend("--ft-checkbox-label-color","",Se.contentGlobalPrimary),we.extend("--ft-checkbox-checked-background-color","",Se.contentActionPrimary),we.extend("--ft-checkbox-checked-state-layer-color","",Se.contentActionPrimary),we.extend("--ft-checkbox-checked-color","",Se.contentGlobalOnColor),we.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Ne.opacity16),we.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Ne.opacity16),we.extend("--ft-checkbox-checked-state-layer-opacity-active","",Ne.opacity24),we.extend("--ft-checkbox-checked-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-checkbox-unchecked-border-color","",Ne.colorGray80),we.extend("--ft-checkbox-unchecked-state-layer-color","",Ne.colorGray80),we.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Ne.opacity16),we.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Ne.opacity16),we.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Ne.opacity24),we.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-checkbox-focus-focus-ring-color","",Se.borderActionFocusRing),we.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),we.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),we.extend("--ft-checkbox-gap","",Ne.spacing3),we.extend("--ft-toggle-off-state-layer-opacity-hover","",Ne.opacity16),we.extend("--ft-toggle-off-state-layer-opacity-focus","",Ne.opacity16),we.extend("--ft-toggle-off-state-layer-opacity-active","",Ne.opacity24),we.extend("--ft-toggle-off-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-toggle-off-background-color","",Se.contentGlobalSubtle),we.extend("--ft-toggle-off-icon-color","",Se.contentGlobalSubtle),we.extend("--ft-toggle-off-state-layer-color","",Se.contentGlobalSubtle),we.extend("--ft-toggle-on-state-layer-opacity-hover","",Ne.opacity16),we.extend("--ft-toggle-on-state-layer-opacity-focus","",Ne.opacity16),we.extend("--ft-toggle-on-state-layer-opacity-active","",Ne.opacity24),we.extend("--ft-toggle-on-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-toggle-on-background-color","",Se.contentActionPrimary),we.extend("--ft-toggle-on-icon-color","",Se.contentActionPrimary),we.extend("--ft-toggle-on-state-layer-color","",Se.contentActionPrimary),we.extend("--ft-toggle-label-color","",Se.contentGlobalPrimary),we.extend("--ft-toggle-focus-focus-ring-color","",Se.borderActionFocusRing),we.extend("--ft-toggle-gap","",Ne.spacing3),we.extend("--ft-radio-label-color","",Se.contentGlobalPrimary),we.extend("--ft-radio-selected-color","",Se.contentActionPrimary),we.extend("--ft-radio-selected-state-layer-color","",Se.contentActionPrimary),we.extend("--ft-radio-selected-state-layer-opacity-hover","",Ne.opacity16),we.extend("--ft-radio-selected-state-layer-opacity-focus","",Ne.opacity16),we.extend("--ft-radio-selected-state-layer-opacity-active","",Ne.opacity24),we.extend("--ft-radio-selected-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-radio-unselected-state-layer-color","",Ne.colorGray80),we.extend("--ft-radio-unselected-state-layer-opacity-hover","",Ne.opacity16),we.extend("--ft-radio-unselected-state-layer-opacity-focus","",Ne.opacity16),we.extend("--ft-radio-unselected-state-layer-opacity-active","",Ne.opacity24),we.extend("--ft-radio-unselected-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-radio-focus-focus-ring-color","",Se.borderActionFocusRing),we.create("--ft-radio-focus-outline-offset","","SIZE","3px"),we.create("--ft-radio-focus-outline-width","","SIZE","2px"),we.extend("--ft-radio-gap","",Ne.spacing3),we.extend("--ft-notification-icon-size","",Ne.iconSize4),we.extend("--ft-notification-horizontal-padding","",Ne.spacing4),we.extend("--ft-notification-vertical-padding","",Ne.spacing4),we.extend("--ft-notification-info-background-color","",Se.backgroundInfoSubtle),we.extend("--ft-notification-info-color","",Se.contentInfoPrimary),we.extend("--ft-notification-info-border-color","",Se.borderInfoSubtle),we.extend("--ft-notification-success-background-color","",Se.backgroundSuccessSubtle),we.extend("--ft-notification-success-color","",Se.contentSuccessPrimary),we.extend("--ft-notification-success-border-color","",Se.borderSuccessSubtle),we.extend("--ft-notification-warning-background-color","",Se.backgroundWarningSubtle),we.extend("--ft-notification-warning-color","",Se.contentWarningPrimary),we.extend("--ft-notification-warning-border-color","",Se.borderWarningSubtle),we.extend("--ft-notification-error-background-color","",Se.backgroundErrorSubtle),we.extend("--ft-notification-error-color","",Se.contentErrorPrimary),we.extend("--ft-notification-error-border-color","",Se.borderErrorSubtle),we.extend("--ft-notification-border-radius","",Ne.borderRadiusPill),we.create("--ft-notification-border-width","","SIZE","1px"),we.extend("--ft-notification-gap-leading","",Ne.spacing2),we.extend("--ft-notification-gap-trailing","",Ne.spacing8),we.extend("--ft-tooltip-horizontal-padding","",Ne.spacing2),we.extend("--ft-tooltip-vertical-padding","",Ne.spacing2),we.extend("--ft-tooltip-border-radius","",Ne.borderRadiusS),we.extend("--ft-tooltip-label","",Se.contentGlobalOnColor),we.extend("--ft-tooltip-background","",Se.contentGlobalPrimary),we.extend("--ft-tooltip-background-opacity","",Ne.opacity80),we.extend("--ft-tooltip-shadow","",Ne.shadowElevation03);const Ce={colorPrimary:we.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:we.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:we.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:we.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:we.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:we.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:we.create("--ft-color-error","","COLOR","#B00020"),colorOutline:we.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:we.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:we.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:we.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:we.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:we.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:we.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:we.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:we.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:we.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:we.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:we.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:we.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:we.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:we.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:we.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:we.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:we.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:we.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:we.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:we.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:we.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:we.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:we.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:we.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:we.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:we.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:we.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:we.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:we.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:we.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:we.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:we.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:we.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:we.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:we.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:we.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:we.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:we.create("--ft-elevation-01","","UNKNOWN","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)"),elevation02:we.create("--ft-elevation-02","","UNKNOWN","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)"),elevation03:we.create("--ft-elevation-03","","UNKNOWN","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)"),elevation04:we.create("--ft-elevation-04","","UNKNOWN","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)"),elevation06:we.create("--ft-elevation-06","","UNKNOWN","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)"),elevation08:we.create("--ft-elevation-08","","UNKNOWN","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)"),elevation12:we.create("--ft-elevation-12","","UNKNOWN","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)"),elevation16:we.create("--ft-elevation-16","","UNKNOWN","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)"),elevation24:we.create("--ft-elevation-24","","UNKNOWN","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)"),borderRadiusS:we.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:we.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:we.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:we.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:we.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:we.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:we.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:we.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Ee=window,Re=Ee.ShadowRoot&&(void 0===Ee.ShadyCSS||Ee.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
|
|
74
|
+
let be=class extends $t{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{const r=o?.renderBefore??e;let i=r._$litPart$;if(void 0===i){const t=o?.renderBefore??null;r._$litPart$=i=new fe(e.insertBefore(Tt(),t),t,void 0,o??{})}return i._$AI(t),i})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return re}};be._$litElement$=!0,be.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:be});const me=globalThis.litElementPolyfillSupport;me?.({LitElement:be}),(globalThis.litElementVersions??=[]).push("4.0.2");const ve=t=>"string"==typeof t?vt(t):t;class Oe{static create(t,e,o,r){const i=t=>ve(null!=t?t:r),n=Ot`var(${ve(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>Ot`var(${ve(t)}, ${i(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,e,o,r){const i=t=>o.get(null!=t?t:r),n=Ot`var(${ve(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>Ot`var(${ve(t)}, ${i(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):ve(null!=e?e:t.lastResortDefaultValue()),r=Ot`var(${ve(t.name)}, ${o(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=e,r.defaultCssValue=o,r.get=e=>Ot`var(${ve(t.name)}, ${o(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const xe={colorWhite:Oe.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Oe.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Oe.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Oe.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Oe.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Oe.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Oe.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Oe.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Oe.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Oe.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Oe.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Oe.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Oe.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Oe.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Oe.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Oe.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Oe.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Oe.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Oe.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Oe.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Oe.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Oe.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Oe.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Oe.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Oe.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Oe.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Oe.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Oe.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Oe.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Oe.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Oe.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Oe.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Oe.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Oe.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Oe.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Oe.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Oe.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Oe.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Oe.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Oe.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Oe.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Oe.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Oe.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Oe.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Oe.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Oe.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Oe.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Oe.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Oe.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Oe.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Oe.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Oe.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Oe.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Oe.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Oe.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Oe.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Oe.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Oe.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Oe.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Oe.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Oe.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Oe.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Oe.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Oe.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Oe.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Oe.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Oe.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Oe.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Oe.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Oe.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Oe.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Oe.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Oe.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Oe.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Oe.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Oe.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Oe.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Oe.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Oe.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Oe.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Oe.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Oe.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Oe.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Oe.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Oe.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Oe.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Oe.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Oe.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Oe.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Oe.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Oe.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Oe.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Oe.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Oe.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Oe.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Oe.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Oe.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Oe.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Oe.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Oe.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Oe.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Oe.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Oe.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Oe.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Oe.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Oe.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Oe.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Oe.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Oe.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Oe.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Oe.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Oe.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Oe.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Oe.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Oe.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Oe.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Oe.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Oe.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Oe.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Oe.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Oe.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Oe.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Oe.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Oe.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Oe.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Oe.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Oe.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Oe.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Oe.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Oe.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Oe.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Oe.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Oe.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Oe.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Oe.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Oe.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Oe.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Oe.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Oe.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Oe.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Oe.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Oe.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Oe.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Oe.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Oe.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Oe.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Oe.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Oe.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Oe.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Oe.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Oe.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Oe.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Oe.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Oe.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Oe.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Oe.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Oe.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Oe.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Oe.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Oe.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Oe.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Oe.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Oe.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Oe.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Oe.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Oe.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Oe.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Oe.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Oe.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Oe.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Oe.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Oe.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Oe.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Oe.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Oe.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Oe.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Oe.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Oe.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Oe.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Oe.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Oe.create("--ft-opacity-0","","NUMBER","0"),opacity8:Oe.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Oe.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Oe.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Oe.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Oe.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:Oe.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:Oe.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:Oe.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:Oe.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:Oe.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:Oe.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:Oe.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:Oe.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:Oe.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)")};Oe.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),Oe.create("--ft-typography-display-lineHeight","","SIZE","120%"),Oe.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),Oe.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),Oe.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-display-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),Oe.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),Oe.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),Oe.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),Oe.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-title-1-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),Oe.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),Oe.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),Oe.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),Oe.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-title-2-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),Oe.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),Oe.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),Oe.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),Oe.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-title-3-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),Oe.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),Oe.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),Oe.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),Oe.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),Oe.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),Oe.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),Oe.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),Oe.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),Oe.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),Oe.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),Oe.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),Oe.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),Oe.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),Oe.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),Oe.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),Oe.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),Oe.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),Oe.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),Oe.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),Oe.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),Oe.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),Oe.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),Oe.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),Oe.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),Oe.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),Oe.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),Oe.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),Oe.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),Oe.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),Oe.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),Oe.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),Oe.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),Oe.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),Oe.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),Oe.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),Oe.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),Oe.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),Oe.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),Oe.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),Oe.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),Oe.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),Oe.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),Oe.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),Oe.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),Oe.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),Oe.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),Oe.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),Oe.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),Oe.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),Oe.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),Oe.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),Oe.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),Oe.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),Oe.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),Oe.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),Oe.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),Oe.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),Oe.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),Oe.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),Oe.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),Oe.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),Oe.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),Oe.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),Oe.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),Oe.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),Oe.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),Oe.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),Oe.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),Oe.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),Oe.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),Oe.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),Oe.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),Oe.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),Oe.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),Oe.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none");const Ne={backgroundActionPrimary:Oe.extend("--ft-background-action-primary","Used as backgorund of primary action components.",xe.colorBrand0),backgroundErrorPrimary:Oe.extend("--ft-background-error-primary","Used as background of error components.",xe.colorRed0),backgroundErrorSubtle:Oe.extend("--ft-background-error-subtle","Used as background of subtle error components.",xe.colorRed10),backgroundInfoPrimary:Oe.extend("--ft-background-info-primary","Used as background of information components.",xe.colorCyan200),backgroundInfoSubtle:Oe.extend("--ft-background-info-subtle","Used as background of subtle information components.",xe.colorCyan10),backgroundWarningPrimary:Oe.extend("--ft-background-warning-primary","Used as background of warning components.",xe.colorOrange300),backgroundWarningSubtle:Oe.extend("--ft-background-warning-subtle","Used as background of subtle information components.",xe.colorOrange10),backgroundSuccessPrimary:Oe.extend("--ft-background-success-primary","Used as background of success components.",xe.colorGreen200),backgroundSuccessSubtle:Oe.extend("--ft-background-success-subtle","Used as background of subtle success components.",xe.colorGreen10),backgroundGlobalSurface:Oe.extend("--ft-background-global-surface","Used as app background.",xe.colorWhite),backgroundGlobalOnSurface:Oe.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",xe.colorGray10),backgroundGlobalOnSurfaceDark:Oe.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",xe.colorGray30),contentActionPrimary:Oe.extend("--ft-content-action-primary","Used on label of primary action on light surface.",xe.colorBrand0),contentWarningPrimary:Oe.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",xe.colorOrange300),contentWarningIconOnly:Oe.extend("--ft-content-warning-icon-only","Used on warning status icons alone",xe.colorOrange0),contentErrorPrimary:Oe.extend("--ft-content-error-primary","Used on label of error messages on light surface.",xe.colorRed0),contentErrorIconOnly:Oe.extend("--ft-content-error-icon-only","Used on error status icons alone",xe.colorRed0),contentInfoPrimary:Oe.extend("--ft-content-info-primary","Used on label of information messages on light surface.",xe.colorCyan200),contentInfoIconOnly:Oe.extend("--ft-content-info-icon-only","Used on info status icons alone",xe.colorCyan0),contentSuccessPrimary:Oe.extend("--ft-content-success-primary","Used on label of success messages on light surface.",xe.colorGreen200),contentSuccessIconOnly:Oe.extend("--ft-content-success-icon-only","Used on success status icons alone",xe.colorGreen0),contentGlobalPrimary:Oe.extend("--ft-content-global-primary","Used for main content on the page.",xe.colorGray500),contentGlobalSecondary:Oe.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",xe.colorGray200),contentGlobalSubtle:Oe.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",xe.colorGray0),contentGlobalOnColor:Oe.extend("--ft-content-global-on-color","Used for content on a dominant color.",xe.colorWhite),borderActionPrimary:Oe.extend("--ft-border-action-primary","Used as border for primary action components.",xe.colorBrand0),borderActionFocusRing:Oe.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",xe.colorCyan0),borderWarningPrimary:Oe.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",xe.colorOrange300),borderWarningSubtle:Oe.extend("--ft-border-warning-subtle","Used as border for warning components.",xe.colorOrange30),borderSuccessPrimary:Oe.extend("--ft-border-success-primary","Used as border for success buttons.",xe.colorGreen200),borderSuccessSubtle:Oe.extend("--ft-border-success-subtle","Used as border for success components.",xe.colorGreen30),borderErrorPrimary:Oe.extend("--ft-border-error-primary","Used as border for text fields in error states.",xe.colorRed0),borderErrorSubtle:Oe.extend("--ft-border-error-subtle","Used as border for error components.",xe.colorRed30),borderInfoPrimary:Oe.extend("--ft-border-info-primary","Used as border for buttons in info color.",xe.colorCyan200),borderInfoSubtle:Oe.extend("--ft-border-info-subtle","Used as border for information components.",xe.colorCyan30),borderGlobalPrimary:Oe.extend("--ft-border-global-primary","Used as border for element like input.",xe.colorGray50),borderGlobalSubtle:Oe.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",xe.colorGray30),borderInputPrimary:Oe.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",xe.colorGray80)};Oe.create("--ft-button-large-height","","SIZE","40px"),Oe.extend("--ft-button-large-horizontal-padding","",xe.spacing4),Oe.extend("--ft-button-large-gap","",xe.spacing2),Oe.extend("--ft-button-large-border-radius","",xe.borderRadiusS),Oe.extend("--ft-button-large-icon-size","",xe.iconSize3),Oe.create("--ft-button-large-border-width","","SIZE","1px"),Oe.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),Oe.create("--ft-button-large-focus-outline-width","","SIZE","2px"),Oe.create("--ft-button-large-icon-only-width","","SIZE","40px"),Oe.create("--ft-button-small-height","","SIZE","30px"),Oe.extend("--ft-button-small-horizontal-padding","",xe.spacing3),Oe.extend("--ft-button-small-gap","",xe.spacing2),Oe.extend("--ft-button-small-border-radius","",xe.borderRadiusS),Oe.extend("--ft-button-small-icon-size","",xe.iconSize2),Oe.create("--ft-button-small-border-width","","SIZE","1px"),Oe.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),Oe.create("--ft-button-small-focus-outline-width","","SIZE","2px"),Oe.create("--ft-button-small-icon-only-width","","SIZE","30px"),Oe.extend("--ft-button-primary-background-color","",Ne.backgroundActionPrimary),Oe.extend("--ft-button-primary-color","",Ne.contentGlobalOnColor),Oe.extend("--ft-button-primary-icon-color","",Ne.contentGlobalOnColor),Oe.extend("--ft-button-primary-state-layer-color","",Ne.contentGlobalOnColor),Oe.extend("--ft-button-primary-state-layer-opacity-hover","",xe.opacity16),Oe.extend("--ft-button-primary-state-layer-opacity-focus","",xe.opacity16),Oe.extend("--ft-button-primary-state-layer-opacity-active","",xe.opacity24),Oe.extend("--ft-button-primary-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-button-focus-focus-ring-color","",Ne.borderActionFocusRing),Oe.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),Oe.extend("--ft-button-tertiary-color","",Ne.contentActionPrimary),Oe.extend("--ft-button-tertiary-icon-color","",Ne.contentActionPrimary),Oe.extend("--ft-button-tertiary-state-layer-color","",Ne.contentActionPrimary),Oe.extend("--ft-button-tertiary-state-layer-opacity-hover","",xe.opacity8),Oe.extend("--ft-button-tertiary-state-layer-opacity-focus","",xe.opacity8),Oe.extend("--ft-button-tertiary-state-layer-opacity-active","",xe.opacity16),Oe.extend("--ft-button-tertiary-component-opacity-disabled","",xe.opacity40),Oe.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),Oe.extend("--ft-button-secondary-color","",Ne.contentActionPrimary),Oe.extend("--ft-button-secondary-icon-color","",Ne.contentActionPrimary),Oe.extend("--ft-button-secondary-state-layer-color","",Ne.contentActionPrimary),Oe.extend("--ft-button-secondary-state-layer-opacity-hover","",xe.opacity8),Oe.extend("--ft-button-secondary-state-layer-opacity-focus","",xe.opacity8),Oe.extend("--ft-button-secondary-state-layer-opacity-active","",xe.opacity16),Oe.extend("--ft-button-secondary-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-button-secondary-border-color","",Ne.borderActionPrimary),Oe.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),Oe.extend("--ft-button-neutral-icon-color","",Ne.contentGlobalSecondary),Oe.extend("--ft-button-neutral-color","",Ne.contentGlobalSecondary),Oe.extend("--ft-button-neutral-state-layer-color","",Ne.contentGlobalSecondary),Oe.extend("--ft-button-neutral-state-layer-opacity-hover","",xe.opacity8),Oe.extend("--ft-button-neutral-state-layer-opacity-focus","",xe.opacity8),Oe.extend("--ft-button-neutral-state-layer-opacity-active","",xe.opacity16),Oe.extend("--ft-button-neutral-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-floating-menu-horizontal-padding","",xe.spacing4),Oe.extend("--ft-floating-menu-vertical-padding","",xe.spacing4),Oe.extend("--ft-floating-menu-off-icon-color","",Ne.contentGlobalPrimary),Oe.extend("--ft-floating-menu-off-color","",Ne.contentGlobalPrimary),Oe.extend("--ft-floating-menu-on-color","",Ne.contentActionPrimary),Oe.extend("--ft-floating-menu-on-icon-color","",Ne.contentActionPrimary),Oe.extend("--ft-floating-menu-on-state-layer-color","",Ne.contentActionPrimary),Oe.extend("--ft-floating-menu-gap","",xe.spacing3),Oe.extend("--ft-floating-menu-focus-focus-ring-color","",Ne.borderActionFocusRing),Oe.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),Oe.extend("--ft-floating-menu-state-layer-opacity-hover","",xe.opacity8),Oe.extend("--ft-floating-menu-state-layer-opacity-active","",xe.opacity16),Oe.extend("--ft-floating-menu-state-layer-opacity-focus","",xe.opacity8),Oe.extend("--ft-floating-menu-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-floating-menu-icon-size","",xe.iconSize3),Oe.extend("--ft-floating-menu-background-color","",Ne.backgroundGlobalOnSurface),Oe.extend("--ft-tabs-top-left-border-radius","",xe.borderRadiusS),Oe.extend("--ft-tabs-top-right-border-radius","",xe.borderRadiusS),Oe.extend("--ft-tabs-label-horizontal-padding","",xe.spacing4),Oe.extend("--ft-tabs-label-vertical-padding","",xe.spacing3),Oe.extend("--ft-tabs-label-gap","",xe.spacing1),Oe.extend("--ft-tabs-icon-horizontal-padding","",xe.spacing1),Oe.extend("--ft-tabs-icon-vertical-padding","",xe.spacing4),Oe.create("--ft-tabs-focus-outline-width","","SIZE","2px"),Oe.extend("--ft-tabs-focus-focus-ring-color","",Ne.borderActionFocusRing),Oe.extend("--ft-tabs-off-state-layer-opacity-hover","",xe.opacity8),Oe.extend("--ft-tabs-off-state-layer-opacity-focus","",xe.opacity8),Oe.extend("--ft-tabs-off-state-layer-opacity-active","",xe.opacity16),Oe.extend("--ft-tabs-off-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-tabs-off-color","",Ne.contentGlobalSubtle),Oe.extend("--ft-tabs-off-state-layer-color","",Ne.contentGlobalSubtle),Oe.extend("--ft-tabs-on-state-layer-opacity-hover","",xe.opacity8),Oe.extend("--ft-tabs-on-state-layer-opacity-focus","",xe.opacity8),Oe.extend("--ft-tabs-on-state-layer-opacity-active","",xe.opacity16),Oe.extend("--ft-tabs-on-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-tabs-on-color","",Ne.contentActionPrimary),Oe.extend("--ft-tabs-on-state-layer-color","",Ne.contentActionPrimary),Oe.extend("--ft-collapsible-state-layer-opacity-hover","",xe.opacity8),Oe.extend("--ft-collapsible-state-layer-opacity-focus","",xe.opacity8),Oe.extend("--ft-collapsible-state-layer-opacity-active","",xe.opacity16),Oe.extend("--ft-collapsible-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-collapsible-horizontal-padding","",xe.spacing4),Oe.extend("--ft-collapsible-vertical-padding","",xe.spacing3),Oe.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),Oe.extend("--ft-collapsible-focus-focus-ring-color","",Ne.borderActionFocusRing),Oe.extend("--ft-collapsible-color","",Ne.contentGlobalPrimary),Oe.extend("--ft-collapsible-state-layer-color","",Ne.contentGlobalPrimary),Oe.extend("--ft-collapsible-background-color","",Ne.backgroundGlobalOnSurface),Oe.extend("--ft-collapsible-border-color","",Ne.borderGlobalSubtle),Oe.extend("--ft-collapsible-icon-size","",xe.iconSize3),Oe.extend("--ft-switch-group-horizontal-padding","",xe.spacing1),Oe.extend("--ft-switch-group-vertical-padding","",xe.spacing1),Oe.extend("--ft-switch-group-gap","",xe.spacing1),Oe.extend("--ft-switch-group-background-color","",Ne.backgroundGlobalSurface),Oe.extend("--ft-switch-group-border-color","",Ne.borderGlobalSubtle),Oe.create("--ft-switch-group-border-radius","","SIZE","6px"),Oe.extend("--ft-switch-label-horizontal-padding","",xe.spacing2),Oe.extend("--ft-switch-label-vertical-padding","",xe.spacing1),Oe.extend("--ft-switch-icon-horizontal-padding","",xe.spacing1),Oe.extend("--ft-switch-icon-vertical-padding","",xe.spacing1),Oe.create("--ft-switch-focus-outline-width","","SIZE","2px"),Oe.extend("--ft-switch-focus-focus-ring-color","",Ne.borderActionFocusRing),Oe.extend("--ft-switch-option-border-radius","",xe.borderRadiusS),Oe.extend("--ft-switch-off-state-layer-opacity-hover","",xe.opacity8),Oe.extend("--ft-switch-off-state-layer-opacity-focus","",xe.opacity8),Oe.extend("--ft-switch-off-state-layer-opacity-active","",xe.opacity16),Oe.extend("--ft-switch-off-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-switch-off-color","",Ne.contentGlobalSubtle),Oe.extend("--ft-switch-off-state-layer-color","",Ne.contentGlobalSubtle),Oe.extend("--ft-switch-on-state-layer-opacity-hover","",xe.opacity8),Oe.extend("--ft-switch-on-state-layer-opacity-focus","",xe.opacity8),Oe.extend("--ft-switch-on-state-layer-opacity-active","",xe.opacity16),Oe.extend("--ft-switch-on-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-switch-on-color","",Ne.contentActionPrimary),Oe.extend("--ft-switch-on-state-layer-color","",Ne.contentActionPrimary),Oe.extend("--ft-chart-1-light","for area color charts",xe.colorBrand40),Oe.extend("--ft-chart-1-base","for line charts",xe.colorBrand0),Oe.extend("--ft-chart-2-light","for area color charts",xe.colorYellow60),Oe.extend("--ft-chart-2-base","for line charts",xe.colorYellow100),Oe.extend("--ft-chart-3-light","",xe.colorUltramarine40),Oe.extend("--ft-chart-3-base","",xe.colorUltramarine70),Oe.extend("--ft-chart-4-light","",xe.colorCyan50),Oe.extend("--ft-chart-4-base","",xe.colorCyan100),Oe.extend("--ft-chart-5-light","",xe.colorRed40),Oe.extend("--ft-chart-5-base","",xe.colorRed60),Oe.extend("--ft-chart-6-light","",xe.colorGreen40),Oe.extend("--ft-chart-6-base","",xe.colorGreen70),Oe.extend("--ft-chart-7-light","",xe.colorOrange70),Oe.extend("--ft-chart-7-base","",xe.colorOrange100),Oe.extend("--ft-chart-8-light","",xe.colorAvocado70),Oe.extend("--ft-chart-8-base","",xe.colorAvocado200),Oe.extend("--ft-chart-9-light","",xe.colorBrown50),Oe.extend("--ft-chart-9-base","",xe.colorBrown200),Oe.extend("--ft-chart-10-light","",xe.colorGray50),Oe.extend("--ft-chart-10-base","",xe.colorGray80),Oe.extend("--ft-chart-monochrome-10","",xe.colorBrand10),Oe.extend("--ft-chart-monochrome-20","",xe.colorBrand20),Oe.extend("--ft-chart-monochrome-30","",xe.colorBrand40),Oe.extend("--ft-chart-monochrome-40","",xe.colorBrand60),Oe.extend("--ft-chart-monochrome-50","",xe.colorBrand0),Oe.extend("--ft-chart-monochrome-60","",xe.colorBrand200),Oe.extend("--ft-chip-large-horizontal-padding","",xe.spacing4),Oe.extend("--ft-chip-large-vertical-padding","",xe.spacing2),Oe.extend("--ft-chip-large-gap","",xe.spacing1),Oe.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Oe.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Oe.extend("--ft-chip-large-border-radius","",xe.borderRadiusPill),Oe.create("--ft-chip-large-border-width","","SIZE","1px"),Oe.extend("--ft-chip-large-icon-size","",xe.iconSize3),Oe.extend("--ft-chip-medium-horizontal-padding","",xe.spacing3),Oe.extend("--ft-chip-medium-vertical-padding","",xe.spacing1),Oe.extend("--ft-chip-medium-gap","",xe.spacing1),Oe.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Oe.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Oe.extend("--ft-chip-medium-border-radius","",xe.borderRadiusPill),Oe.create("--ft-chip-medium-border-width","","SIZE","1px"),Oe.extend("--ft-chip-medium-icon-size","",xe.iconSize2),Oe.extend("--ft-chip-small-horizontal-padding","",xe.spacing2),Oe.extend("--ft-chip-small-vertical-padding","",xe.spacing05),Oe.extend("--ft-chip-small-gap","",xe.spacing1),Oe.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Oe.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Oe.extend("--ft-chip-small-border-radius","",xe.borderRadiusPill),Oe.create("--ft-chip-small-border-width","","SIZE","1px"),Oe.extend("--ft-chip-small-icon-size","",xe.iconSize1),Oe.extend("--ft-chip-neutral-background-color","",Ne.backgroundGlobalOnSurface),Oe.extend("--ft-chip-neutral-color","",Ne.contentGlobalPrimary),Oe.extend("--ft-chip-neutral-border-color","",Ne.borderGlobalSubtle),Oe.extend("--ft-chip-info-background-color","",Ne.backgroundInfoSubtle),Oe.extend("--ft-chip-info-color","",Ne.contentInfoPrimary),Oe.extend("--ft-chip-info-border-color","",Ne.borderInfoSubtle),Oe.extend("--ft-chip-success-background-color","",Ne.backgroundSuccessSubtle),Oe.extend("--ft-chip-success-color","",Ne.contentSuccessPrimary),Oe.extend("--ft-chip-success-border-color","",Ne.borderSuccessSubtle),Oe.extend("--ft-chip-warning-background-color","",Ne.backgroundWarningSubtle),Oe.extend("--ft-chip-warning-color","",Ne.contentWarningPrimary),Oe.extend("--ft-chip-warning-border-color","",Ne.borderWarningSubtle),Oe.extend("--ft-chip-error-background-color","",Ne.backgroundErrorSubtle),Oe.extend("--ft-chip-error-color","",Ne.contentErrorPrimary),Oe.extend("--ft-chip-error-border-color","",Ne.borderErrorSubtle),Oe.create("--ft-notice-border-width","","SIZE","1px"),Oe.extend("--ft-notice-horizontal-padding","",xe.spacing2),Oe.extend("--ft-notice-vertical-padding","",xe.spacing1),Oe.extend("--ft-notice-border-radius","",xe.borderRadiusS),Oe.extend("--ft-notice-gap","",xe.spacing2),Oe.extend("--ft-notice-icon-size","",xe.iconSize3),Oe.extend("--ft-notice-info-background-color","",Ne.backgroundInfoSubtle),Oe.extend("--ft-notice-info-border-color","",Ne.borderInfoSubtle),Oe.extend("--ft-notice-info-color","",Ne.contentInfoPrimary),Oe.extend("--ft-notice-warning-background-color","",Ne.backgroundWarningSubtle),Oe.extend("--ft-notice-warning-border-color","",Ne.borderWarningSubtle),Oe.extend("--ft-notice-warning-color","",Ne.contentWarningPrimary),Oe.extend("--ft-checkbox-label-color","",Ne.contentGlobalPrimary),Oe.extend("--ft-checkbox-checked-background-color","",Ne.contentActionPrimary),Oe.extend("--ft-checkbox-checked-state-layer-color","",Ne.contentActionPrimary),Oe.extend("--ft-checkbox-checked-color","",Ne.contentGlobalOnColor),Oe.extend("--ft-checkbox-checked-state-layer-opacity-hover","",xe.opacity16),Oe.extend("--ft-checkbox-checked-state-layer-opacity-focus","",xe.opacity16),Oe.extend("--ft-checkbox-checked-state-layer-opacity-active","",xe.opacity24),Oe.extend("--ft-checkbox-checked-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-checkbox-unchecked-border-color","",xe.colorGray80),Oe.extend("--ft-checkbox-unchecked-state-layer-color","",xe.colorGray80),Oe.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",xe.opacity16),Oe.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",xe.opacity16),Oe.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",xe.opacity24),Oe.extend("--ft-checkbox-unchecked-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-checkbox-focus-focus-ring-color","",Ne.borderActionFocusRing),Oe.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Oe.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Oe.extend("--ft-checkbox-gap","",xe.spacing3),Oe.extend("--ft-toggle-off-state-layer-opacity-hover","",xe.opacity16),Oe.extend("--ft-toggle-off-state-layer-opacity-focus","",xe.opacity16),Oe.extend("--ft-toggle-off-state-layer-opacity-active","",xe.opacity24),Oe.extend("--ft-toggle-off-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-toggle-off-background-color","",Ne.contentGlobalSubtle),Oe.extend("--ft-toggle-off-icon-color","",Ne.contentGlobalSubtle),Oe.extend("--ft-toggle-off-state-layer-color","",Ne.contentGlobalSubtle),Oe.extend("--ft-toggle-on-state-layer-opacity-hover","",xe.opacity16),Oe.extend("--ft-toggle-on-state-layer-opacity-focus","",xe.opacity16),Oe.extend("--ft-toggle-on-state-layer-opacity-active","",xe.opacity24),Oe.extend("--ft-toggle-on-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-toggle-on-background-color","",Ne.contentActionPrimary),Oe.extend("--ft-toggle-on-icon-color","",Ne.contentActionPrimary),Oe.extend("--ft-toggle-on-state-layer-color","",Ne.contentActionPrimary),Oe.extend("--ft-toggle-label-color","",Ne.contentGlobalPrimary),Oe.extend("--ft-toggle-focus-focus-ring-color","",Ne.borderActionFocusRing),Oe.extend("--ft-toggle-gap","",xe.spacing3),Oe.extend("--ft-radio-label-color","",Ne.contentGlobalPrimary),Oe.extend("--ft-radio-selected-color","",Ne.contentActionPrimary),Oe.extend("--ft-radio-selected-state-layer-color","",Ne.contentActionPrimary),Oe.extend("--ft-radio-selected-state-layer-opacity-hover","",xe.opacity16),Oe.extend("--ft-radio-selected-state-layer-opacity-focus","",xe.opacity16),Oe.extend("--ft-radio-selected-state-layer-opacity-active","",xe.opacity24),Oe.extend("--ft-radio-selected-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-radio-unselected-state-layer-color","",xe.colorGray80),Oe.extend("--ft-radio-unselected-state-layer-opacity-hover","",xe.opacity16),Oe.extend("--ft-radio-unselected-state-layer-opacity-focus","",xe.opacity16),Oe.extend("--ft-radio-unselected-state-layer-opacity-active","",xe.opacity24),Oe.extend("--ft-radio-unselected-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-radio-focus-focus-ring-color","",Ne.borderActionFocusRing),Oe.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Oe.create("--ft-radio-focus-outline-width","","SIZE","2px"),Oe.extend("--ft-radio-gap","",xe.spacing3),Oe.extend("--ft-notification-icon-size","",xe.iconSize4),Oe.extend("--ft-notification-horizontal-padding","",xe.spacing4),Oe.extend("--ft-notification-vertical-padding","",xe.spacing4),Oe.extend("--ft-notification-info-background-color","",Ne.backgroundInfoSubtle),Oe.extend("--ft-notification-info-color","",Ne.contentInfoPrimary),Oe.extend("--ft-notification-info-border-color","",Ne.borderInfoSubtle),Oe.extend("--ft-notification-success-background-color","",Ne.backgroundSuccessSubtle),Oe.extend("--ft-notification-success-color","",Ne.contentSuccessPrimary),Oe.extend("--ft-notification-success-border-color","",Ne.borderSuccessSubtle),Oe.extend("--ft-notification-warning-background-color","",Ne.backgroundWarningSubtle),Oe.extend("--ft-notification-warning-color","",Ne.contentWarningPrimary),Oe.extend("--ft-notification-warning-border-color","",Ne.borderWarningSubtle),Oe.extend("--ft-notification-error-background-color","",Ne.backgroundErrorSubtle),Oe.extend("--ft-notification-error-color","",Ne.contentErrorPrimary),Oe.extend("--ft-notification-error-border-color","",Ne.borderErrorSubtle),Oe.extend("--ft-notification-border-radius","",xe.borderRadiusPill),Oe.create("--ft-notification-border-width","","SIZE","1px"),Oe.extend("--ft-notification-gap-leading","",xe.spacing2),Oe.extend("--ft-notification-gap-trailing","",xe.spacing8),Oe.extend("--ft-tooltip-horizontal-padding","",xe.spacing2),Oe.extend("--ft-tooltip-vertical-padding","",xe.spacing2),Oe.extend("--ft-tooltip-border-radius","",xe.borderRadiusS),Oe.extend("--ft-tooltip-label","",Ne.contentGlobalOnColor),Oe.extend("--ft-tooltip-background","",Ne.contentGlobalPrimary),Oe.extend("--ft-tooltip-background-opacity","",xe.opacity80),Oe.extend("--ft-tooltip-shadow","",xe.shadowElevation03);const we={colorPrimary:Oe.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Oe.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Oe.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Oe.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Oe.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Oe.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Oe.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Oe.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Oe.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Oe.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Oe.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Oe.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Oe.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Oe.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Oe.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Oe.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Oe.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Oe.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Oe.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Oe.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Oe.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Oe.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Oe.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Oe.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Oe.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Oe.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Oe.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Oe.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Oe.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Oe.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Oe.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Oe.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Oe.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Oe.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Oe.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Oe.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Oe.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Oe.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Oe.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Oe.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Oe.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Oe.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Oe.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Oe.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Oe.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:Oe.create("--ft-elevation-01","","UNKNOWN","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)"),elevation02:Oe.create("--ft-elevation-02","","UNKNOWN","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)"),elevation03:Oe.create("--ft-elevation-03","","UNKNOWN","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)"),elevation04:Oe.create("--ft-elevation-04","","UNKNOWN","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)"),elevation06:Oe.create("--ft-elevation-06","","UNKNOWN","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)"),elevation08:Oe.create("--ft-elevation-08","","UNKNOWN","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)"),elevation12:Oe.create("--ft-elevation-12","","UNKNOWN","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)"),elevation16:Oe.create("--ft-elevation-16","","UNKNOWN","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)"),elevation24:Oe.create("--ft-elevation-24","","UNKNOWN","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)"),borderRadiusS:Oe.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Oe.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Oe.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Oe.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Oe.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Oe.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Oe.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Oe.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Se=window,Ce=Se.ShadowRoot&&(void 0===Se.ShadyCSS||Se.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
|
|
75
75
|
/**
|
|
76
76
|
* @license
|
|
77
77
|
* Copyright 2019 Google LLC
|
|
78
78
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
79
|
-
*/class Ue extends ve{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{Re?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),r=Ee.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Ie,ke=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const We=Symbol("constructorPrototype"),Le=Symbol("constructorName"),Ke=Symbol("exportpartsDebouncer");class Ae extends Ue{constructor(){super(),this[Ie]=new i(5),this[Le]=this.constructor.name,this[We]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Le]&&Object.setPrototypeOf(this,this[We])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Ke].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,r,i,n,a;const s=t=>null!=t&&t.trim().length>0,c=t.filter(s).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const l=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const f=[...l.values()].flatMap((t=>c.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Ie=Ke,ke([U()],Ae.prototype,"exportpartsPrefix",void 0),ke([$([])],Ae.prototype,"exportpartsPrefixes",void 0),ke([U()],Ae.prototype,"customStylesheet",void 0);class je{constructor(t,e=!0,o=[],r=5e3){this.ctx=t,this.iframes=e,this.exclude=o,this.iframesTimeout=r}static matches(t,e){const o="string"==typeof e?[e]:e,r=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(r){let e=!1;return o.every((o=>!r.call(t,o)||(e=!0,!1))),e}return!1}getContexts(){let t,e=[];return t=void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:[],t.forEach((t=>{const o=e.filter((e=>e.contains(t))).length>0;-1!==e.indexOf(t)||o||e.push(t)})),e}getIframeContents(t,e,o=(()=>{})){let r;try{const e=t.contentWindow;if(r=e.document,!e||!r)throw new Error("iframe inaccessible")}catch(t){o()}r&&e(r)}isIframeBlank(t){const e="about:blank",o=t.getAttribute("src").trim();return t.contentWindow.location.href===e&&o!==e&&o}observeIframeLoad(t,e,o){let r=!1,i=null;const n=()=>{if(!r){r=!0,clearTimeout(i);try{this.isIframeBlank(t)||(t.removeEventListener("load",n),this.getIframeContents(t,e,o))}catch(t){o()}}};t.addEventListener("load",n),i=setTimeout(n,this.iframesTimeout)}onIframeReady(t,e,o){try{"complete"===t.contentWindow.document.readyState?this.isIframeBlank(t)?this.observeIframeLoad(t,e,o):this.getIframeContents(t,e,o):this.observeIframeLoad(t,e,o)}catch(t){o()}}waitForIframes(t,e){let o=0;this.forEachIframe(t,(()=>!0),(t=>{o++,this.waitForIframes(t.querySelector("html"),(()=>{--o||e()}))}),(t=>{t||e()}))}forEachIframe(t,e,o,r=(()=>{})){let i=t.querySelectorAll("iframe"),n=i.length,a=0;i=Array.prototype.slice.call(i);const s=()=>{--n<=0&&r(a)};n||s(),i.forEach((t=>{je.matches(t,this.exclude)?s():this.onIframeReady(t,(r=>{e(t)&&(a++,o(r)),s()}),s)}))}createIterator(t,e,o){return document.createNodeIterator(t,e,o,!1)}createInstanceOnIframe(t){return new je(t.querySelector("html"),this.iframes)}compareNodeIframe(t,e,o){if(t.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_PRECEDING){if(null===e)return!0;if(e.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}getIteratorNode(t){const e=t.previousNode();let o;return o=(null===e||t.nextNode())&&t.nextNode(),{prevNode:e,node:o}}checkIframeFilter(t,e,o,r){let i=!1,n=!1;return r.forEach(((t,e)=>{t.val===o&&(i=e,n=t.handled)})),this.compareNodeIframe(t,e,o)?(!1!==i||n?!1===i||n||(r[i].handled=!0):r.push({val:o,handled:!0}),!0):(!1===i&&r.push({val:o,handled:!1}),!1)}handleOpenIframes(t,e,o,r){t.forEach((t=>{t.handled||this.getIframeContents(t.val,(t=>{this.createInstanceOnIframe(t).forEachNode(e,o,r)}))}))}iterateThroughNodes(t,e,o,r,i){const n=this.createIterator(e,t,r);let a,s,c=[],l=[],f=()=>(({prevNode:s,node:a}=this.getIteratorNode(n)),a);for(;f();)this.iframes&&this.forEachIframe(e,(t=>this.checkIframeFilter(a,s,t,c)),(e=>{this.createInstanceOnIframe(e).forEachNode(t,(t=>l.push(t)),r)})),l.push(a);l.forEach((t=>{o(t)})),this.iframes&&this.handleOpenIframes(c,t,o,r),i()}forEachNode(t,e,o,r=(()=>{})){const i=this.getContexts();let n=i.length;n||r(),i.forEach((i=>{const a=()=>{this.iterateThroughNodes(t,i,e,o,(()=>{--n<=0&&r()}))};this.iframes?this.waitForIframes(i,a):a()}))}}const $e=function(t){const e=new class{constructor(t){this.ctx=t,this.ie=!1;const e=window.navigator.userAgent;(e.indexOf("MSIE")>-1||e.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},t)}get opt(){return this._opt}get iterator(){return new je(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,e="debug"){const o=this.opt.log;this.opt.debug&&"object"==typeof o&&"function"==typeof o[e]&&o[e](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return"disabled"!==this.opt.wildcards&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),"disabled"!==this.opt.wildcards&&(t=this.createWildcardsRegExp(t)),this.createAccuracyRegExp(t)}createSynonymsRegExp(t){const e=this.opt.synonyms,o=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in e)if(e.hasOwnProperty(i)){const n=e[i],a="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(i):this.escapeStr(i),s="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(n):this.escapeStr(n);""!==a&&""!==s&&(t=t.replace(new RegExp(`(${this.escapeStr(a)}|${this.escapeStr(s)})`,`gm${o}`),r+`(${this.processSynomyms(a)}|`+`${this.processSynomyms(s)})`+r))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return(t=t.replace(/(?:\\)*\?/g,(t=>"\\"===t.charAt(0)?"?":""))).replace(/(?:\\)*\*/g,(t=>"\\"===t.charAt(0)?"*":""))}createWildcardsRegExp(t){let e="withSpaces"===this.opt.wildcards;return t.replace(/\u0001/g,e?"[\\S\\s]?":"\\S?").replace(/\u0002/g,e?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,((t,e,o)=>{let r=o.charAt(e+1);return/[(|)\\]/.test(r)||""===r?t:t+"\0"}))}createJoinersRegExp(t){let e=[];const o=this.opt.ignorePunctuation;return Array.isArray(o)&&o.length&&e.push(this.escapeStr(o.join(""))),this.opt.ignoreJoiners&&e.push("\\u00ad\\u200b\\u200c\\u200d"),e.length?t.split(/\u0000+/).join(`[${e.join("")}]*`):t}createDiacriticsRegExp(t){const e=this.opt.caseSensitive?"":"i",o=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let r=[];return t.split("").forEach((i=>{o.every((o=>{if(-1!==o.indexOf(i)){if(r.indexOf(o)>-1)return!1;t=t.replace(new RegExp(`[${o}]`,`gm${e}`),`[${o}]`),r.push(o)}return!0}))})),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gim,"[\\s]+")}createAccuracyRegExp(t){let e=this.opt.accuracy,o="string"==typeof e?e:e.value,r="string"==typeof e?[]:e.limiters,i="";switch(r.forEach((t=>{i+=`|${this.escapeStr(t)}`})),o){case"partially":default:return`()(${t})`;case"complementary":return i="\\s"+(i||this.escapeStr("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿")),`()([^${i}]*${t}[^${i}]*)`;case"exactly":return`(^|\\s${i})(${t})(?=$|\\s${i})`}}getSeparatedKeywords(t){let e=[];return t.forEach((t=>{this.opt.separateWordSearch?t.split(" ").forEach((t=>{t.trim()&&-1===e.indexOf(t)&&e.push(t)})):t.trim()&&-1===e.indexOf(t)&&e.push(t)})),{keywords:e.sort(((t,e)=>e.length-t.length)),length:e.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||"[object Object]"!==Object.prototype.toString.call(t[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];const e=[];let o=0;return t.sort(((t,e)=>t.start-e.start)).forEach((t=>{let{start:r,end:i,valid:n}=this.callNoMatchOnInvalidRanges(t,o);n&&(t.start=r,t.length=i-r,e.push(t),o=i)})),e}callNoMatchOnInvalidRanges(t,e){let o,r,i=!1;return t&&void 0!==t.start?(o=parseInt(t.start,10),r=o+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&r-e>0&&r-o>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:o,end:r,valid:i}}checkWhitespaceRanges(t,e,o){let r,i=!0,n=o.length,a=e-n,s=parseInt(t.start,10)-a;return s=s>n?n:s,r=s+parseInt(t.length,10),r>n&&(r=n,this.log(`End range automatically set to the max value of ${n}`)),s<0||r-s<0||s>n||r>n?(i=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):""===o.substring(s,r).replace(/\s+/g,"")&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:s,end:r,valid:i}}getTextNodes(t){let e="",o=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,(t=>{o.push({start:e.length,end:(e+=t.textContent).length,node:t})}),(t=>this.matchesExclude(t.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT),(()=>{t({value:e,nodes:o})}))}matchesExclude(t){return je.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,e,o){const r=this.opt.element?this.opt.element:"mark",i=t.splitText(e),n=i.splitText(o-e);let a=document.createElement(r);return a.setAttribute("data-markjs","true"),this.opt.className&&a.setAttribute("class",this.opt.className),a.textContent=i.textContent,i.parentNode.replaceChild(a,i),n}wrapRangeInMappedTextNode(t,e,o,r,i){t.nodes.every(((n,a)=>{const s=t.nodes[a+1];if(void 0===s||s.start>e){if(!r(n.node))return!1;const s=e-n.start,c=(o>n.end?n.end:o)-n.start,l=t.value.substr(0,n.start),f=t.value.substr(c+n.start);if(n.node=this.wrapRangeInTextNode(n.node,s,c),t.value=l+f,t.nodes.forEach(((e,o)=>{o>=a&&(t.nodes[o].start>0&&o!==a&&(t.nodes[o].start-=c),t.nodes[o].end-=c)})),o-=c,i(n.node.previousSibling,n.start),!(o>n.end))return!1;e=n.end}return!0}))}wrapMatches(t,e,o,r,i){const n=0===e?0:e+1;this.getTextNodes((e=>{e.nodes.forEach((e=>{let i;for(e=e.node;null!==(i=t.exec(e.textContent))&&""!==i[n];){if(!o(i[n],e))continue;let a=i.index;if(0!==n)for(let t=1;t<n;t++)a+=i[t].length;e=this.wrapRangeInTextNode(e,a,a+i[n].length),r(e.previousSibling),t.lastIndex=0}})),i()}))}wrapMatchesAcrossElements(t,e,o,r,i){const n=0===e?0:e+1;this.getTextNodes((e=>{let a;for(;null!==(a=t.exec(e.value))&&""!==a[n];){let i=a.index;if(0!==n)for(let t=1;t<n;t++)i+=a[t].length;const s=i+a[n].length;this.wrapRangeInMappedTextNode(e,i,s,(t=>o(a[n],t)),((e,o)=>{t.lastIndex=o,r(e)}))}i()}))}wrapRangeFromIndex(t,e,o,r){this.getTextNodes((i=>{const n=i.value.length;t.forEach(((t,r)=>{let{start:a,end:s,valid:c}=this.checkWhitespaceRanges(t,n,i.value);c&&this.wrapRangeInMappedTextNode(i,a,s,(o=>e(o,t,i.value.substring(a,s),r)),(e=>{o(e,t)}))})),r()}))}unwrapMatches(t){const e=t.parentNode;let o=document.createDocumentFragment();for(;t.firstChild;)o.appendChild(t.removeChild(t.firstChild));e.replaceChild(o,t),this.ie?this.normalizeTextNode(e):e.normalize()}normalizeTextNode(t){if(t){if(3===t.nodeType)for(;t.nextSibling&&3===t.nextSibling.nodeType;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,e){this.opt=e,this.log(`Searching with expression "${t}"`);let o=0,r="wrapMatches";this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),this[r](t,this.opt.ignoreGroups,((t,e)=>this.opt.filter(e,t,o)),(t=>{o++,this.opt.each(t)}),(()=>{0===o&&this.opt.noMatch(t),this.opt.done(o)}))}mark(t,e){this.opt=e;let o=0,r="wrapMatches";const{keywords:i,length:n}=this.getSeparatedKeywords("string"==typeof t?[t]:t),a=this.opt.caseSensitive?"":"i",s=t=>{let e=new RegExp(this.createRegExp(t),`gm${a}`),c=0;this.log(`Searching with expression "${e}"`),this[r](e,1,((e,r)=>this.opt.filter(r,t,o,c)),(t=>{c++,o++,this.opt.each(t)}),(()=>{0===c&&this.opt.noMatch(t),i[n-1]===t?this.opt.done(o):s(i[i.indexOf(t)+1])}))};this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),0===n?this.opt.done(o):s(i[0])}markRanges(t,e){this.opt=e;let o=0,r=this.checkRanges(t);r&&r.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(r)),this.wrapRangeFromIndex(r,((t,e,o,r)=>this.opt.filter(t,e,o,r)),((t,e)=>{o++,this.opt.each(t,e)}),(()=>{this.opt.done(o)}))):this.opt.done(o)}unmark(t){this.opt=t;let e=this.opt.element?this.opt.element:"*";e+="[data-markjs]",this.opt.className&&(e+=`.${this.opt.className}`),this.log(`Removal selector "${e}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,(t=>{this.unwrapMatches(t)}),(t=>{const o=je.matches(t,e),r=this.matchesExclude(t);return!o||r?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),this.opt.done)}}(t);return this.mark=(t,o)=>(e.mark(t,o),this),this.markRegExp=(t,o)=>(e.markRegExp(t,o),this),this.markRanges=(t,o)=>(e.markRanges(t,o),this),this.unmark=t=>(e.unmark(t),this),this},Me=we.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Ze=wt`
|
|
79
|
+
*/class Ee extends be{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{Ce?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),r=Se.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Re,Ue=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Ie=Symbol("constructorPrototype"),ke=Symbol("constructorName"),We=Symbol("exportpartsDebouncer");class Le extends Ee{constructor(){super(),this[Re]=new i(5),this[ke]=this.constructor.name,this[Ie]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ke]&&Object.setPrototypeOf(this,this[Ie])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[We].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,r,i,n,a;const s=t=>null!=t&&t.trim().length>0,c=t.filter(s).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const l=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const f=[...l.values()].flatMap((t=>c.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Re=We,Ue([U()],Le.prototype,"exportpartsPrefix",void 0),Ue([A([])],Le.prototype,"exportpartsPrefixes",void 0),Ue([U()],Le.prototype,"customStylesheet",void 0);class Ke{constructor(t,e=!0,o=[],r=5e3){this.ctx=t,this.iframes=e,this.exclude=o,this.iframesTimeout=r}static matches(t,e){const o="string"==typeof e?[e]:e,r=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(r){let e=!1;return o.every((o=>!r.call(t,o)||(e=!0,!1))),e}return!1}getContexts(){let t,e=[];return t=void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:[],t.forEach((t=>{const o=e.filter((e=>e.contains(t))).length>0;-1!==e.indexOf(t)||o||e.push(t)})),e}getIframeContents(t,e,o=(()=>{})){let r;try{const e=t.contentWindow;if(r=e.document,!e||!r)throw new Error("iframe inaccessible")}catch(t){o()}r&&e(r)}isIframeBlank(t){const e="about:blank",o=t.getAttribute("src").trim();return t.contentWindow.location.href===e&&o!==e&&o}observeIframeLoad(t,e,o){let r=!1,i=null;const n=()=>{if(!r){r=!0,clearTimeout(i);try{this.isIframeBlank(t)||(t.removeEventListener("load",n),this.getIframeContents(t,e,o))}catch(t){o()}}};t.addEventListener("load",n),i=setTimeout(n,this.iframesTimeout)}onIframeReady(t,e,o){try{"complete"===t.contentWindow.document.readyState?this.isIframeBlank(t)?this.observeIframeLoad(t,e,o):this.getIframeContents(t,e,o):this.observeIframeLoad(t,e,o)}catch(t){o()}}waitForIframes(t,e){let o=0;this.forEachIframe(t,(()=>!0),(t=>{o++,this.waitForIframes(t.querySelector("html"),(()=>{--o||e()}))}),(t=>{t||e()}))}forEachIframe(t,e,o,r=(()=>{})){let i=t.querySelectorAll("iframe"),n=i.length,a=0;i=Array.prototype.slice.call(i);const s=()=>{--n<=0&&r(a)};n||s(),i.forEach((t=>{Ke.matches(t,this.exclude)?s():this.onIframeReady(t,(r=>{e(t)&&(a++,o(r)),s()}),s)}))}createIterator(t,e,o){return document.createNodeIterator(t,e,o,!1)}createInstanceOnIframe(t){return new Ke(t.querySelector("html"),this.iframes)}compareNodeIframe(t,e,o){if(t.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_PRECEDING){if(null===e)return!0;if(e.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}getIteratorNode(t){const e=t.previousNode();let o;return o=(null===e||t.nextNode())&&t.nextNode(),{prevNode:e,node:o}}checkIframeFilter(t,e,o,r){let i=!1,n=!1;return r.forEach(((t,e)=>{t.val===o&&(i=e,n=t.handled)})),this.compareNodeIframe(t,e,o)?(!1!==i||n?!1===i||n||(r[i].handled=!0):r.push({val:o,handled:!0}),!0):(!1===i&&r.push({val:o,handled:!1}),!1)}handleOpenIframes(t,e,o,r){t.forEach((t=>{t.handled||this.getIframeContents(t.val,(t=>{this.createInstanceOnIframe(t).forEachNode(e,o,r)}))}))}iterateThroughNodes(t,e,o,r,i){const n=this.createIterator(e,t,r);let a,s,c=[],l=[],f=()=>(({prevNode:s,node:a}=this.getIteratorNode(n)),a);for(;f();)this.iframes&&this.forEachIframe(e,(t=>this.checkIframeFilter(a,s,t,c)),(e=>{this.createInstanceOnIframe(e).forEachNode(t,(t=>l.push(t)),r)})),l.push(a);l.forEach((t=>{o(t)})),this.iframes&&this.handleOpenIframes(c,t,o,r),i()}forEachNode(t,e,o,r=(()=>{})){const i=this.getContexts();let n=i.length;n||r(),i.forEach((i=>{const a=()=>{this.iterateThroughNodes(t,i,e,o,(()=>{--n<=0&&r()}))};this.iframes?this.waitForIframes(i,a):a()}))}}const Ae=function(t){const e=new class{constructor(t){this.ctx=t,this.ie=!1;const e=window.navigator.userAgent;(e.indexOf("MSIE")>-1||e.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},t)}get opt(){return this._opt}get iterator(){return new Ke(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,e="debug"){const o=this.opt.log;this.opt.debug&&"object"==typeof o&&"function"==typeof o[e]&&o[e](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return"disabled"!==this.opt.wildcards&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),"disabled"!==this.opt.wildcards&&(t=this.createWildcardsRegExp(t)),this.createAccuracyRegExp(t)}createSynonymsRegExp(t){const e=this.opt.synonyms,o=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in e)if(e.hasOwnProperty(i)){const n=e[i],a="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(i):this.escapeStr(i),s="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(n):this.escapeStr(n);""!==a&&""!==s&&(t=t.replace(new RegExp(`(${this.escapeStr(a)}|${this.escapeStr(s)})`,`gm${o}`),r+`(${this.processSynomyms(a)}|`+`${this.processSynomyms(s)})`+r))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return(t=t.replace(/(?:\\)*\?/g,(t=>"\\"===t.charAt(0)?"?":""))).replace(/(?:\\)*\*/g,(t=>"\\"===t.charAt(0)?"*":""))}createWildcardsRegExp(t){let e="withSpaces"===this.opt.wildcards;return t.replace(/\u0001/g,e?"[\\S\\s]?":"\\S?").replace(/\u0002/g,e?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,((t,e,o)=>{let r=o.charAt(e+1);return/[(|)\\]/.test(r)||""===r?t:t+"\0"}))}createJoinersRegExp(t){let e=[];const o=this.opt.ignorePunctuation;return Array.isArray(o)&&o.length&&e.push(this.escapeStr(o.join(""))),this.opt.ignoreJoiners&&e.push("\\u00ad\\u200b\\u200c\\u200d"),e.length?t.split(/\u0000+/).join(`[${e.join("")}]*`):t}createDiacriticsRegExp(t){const e=this.opt.caseSensitive?"":"i",o=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let r=[];return t.split("").forEach((i=>{o.every((o=>{if(-1!==o.indexOf(i)){if(r.indexOf(o)>-1)return!1;t=t.replace(new RegExp(`[${o}]`,`gm${e}`),`[${o}]`),r.push(o)}return!0}))})),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gim,"[\\s]+")}createAccuracyRegExp(t){let e=this.opt.accuracy,o="string"==typeof e?e:e.value,r="string"==typeof e?[]:e.limiters,i="";switch(r.forEach((t=>{i+=`|${this.escapeStr(t)}`})),o){case"partially":default:return`()(${t})`;case"complementary":return i="\\s"+(i||this.escapeStr("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿")),`()([^${i}]*${t}[^${i}]*)`;case"exactly":return`(^|\\s${i})(${t})(?=$|\\s${i})`}}getSeparatedKeywords(t){let e=[];return t.forEach((t=>{this.opt.separateWordSearch?t.split(" ").forEach((t=>{t.trim()&&-1===e.indexOf(t)&&e.push(t)})):t.trim()&&-1===e.indexOf(t)&&e.push(t)})),{keywords:e.sort(((t,e)=>e.length-t.length)),length:e.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||"[object Object]"!==Object.prototype.toString.call(t[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];const e=[];let o=0;return t.sort(((t,e)=>t.start-e.start)).forEach((t=>{let{start:r,end:i,valid:n}=this.callNoMatchOnInvalidRanges(t,o);n&&(t.start=r,t.length=i-r,e.push(t),o=i)})),e}callNoMatchOnInvalidRanges(t,e){let o,r,i=!1;return t&&void 0!==t.start?(o=parseInt(t.start,10),r=o+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&r-e>0&&r-o>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:o,end:r,valid:i}}checkWhitespaceRanges(t,e,o){let r,i=!0,n=o.length,a=e-n,s=parseInt(t.start,10)-a;return s=s>n?n:s,r=s+parseInt(t.length,10),r>n&&(r=n,this.log(`End range automatically set to the max value of ${n}`)),s<0||r-s<0||s>n||r>n?(i=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):""===o.substring(s,r).replace(/\s+/g,"")&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:s,end:r,valid:i}}getTextNodes(t){let e="",o=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,(t=>{o.push({start:e.length,end:(e+=t.textContent).length,node:t})}),(t=>this.matchesExclude(t.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT),(()=>{t({value:e,nodes:o})}))}matchesExclude(t){return Ke.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,e,o){const r=this.opt.element?this.opt.element:"mark",i=t.splitText(e),n=i.splitText(o-e);let a=document.createElement(r);return a.setAttribute("data-markjs","true"),this.opt.className&&a.setAttribute("class",this.opt.className),a.textContent=i.textContent,i.parentNode.replaceChild(a,i),n}wrapRangeInMappedTextNode(t,e,o,r,i){t.nodes.every(((n,a)=>{const s=t.nodes[a+1];if(void 0===s||s.start>e){if(!r(n.node))return!1;const s=e-n.start,c=(o>n.end?n.end:o)-n.start,l=t.value.substr(0,n.start),f=t.value.substr(c+n.start);if(n.node=this.wrapRangeInTextNode(n.node,s,c),t.value=l+f,t.nodes.forEach(((e,o)=>{o>=a&&(t.nodes[o].start>0&&o!==a&&(t.nodes[o].start-=c),t.nodes[o].end-=c)})),o-=c,i(n.node.previousSibling,n.start),!(o>n.end))return!1;e=n.end}return!0}))}wrapMatches(t,e,o,r,i){const n=0===e?0:e+1;this.getTextNodes((e=>{e.nodes.forEach((e=>{let i;for(e=e.node;null!==(i=t.exec(e.textContent))&&""!==i[n];){if(!o(i[n],e))continue;let a=i.index;if(0!==n)for(let t=1;t<n;t++)a+=i[t].length;e=this.wrapRangeInTextNode(e,a,a+i[n].length),r(e.previousSibling),t.lastIndex=0}})),i()}))}wrapMatchesAcrossElements(t,e,o,r,i){const n=0===e?0:e+1;this.getTextNodes((e=>{let a;for(;null!==(a=t.exec(e.value))&&""!==a[n];){let i=a.index;if(0!==n)for(let t=1;t<n;t++)i+=a[t].length;const s=i+a[n].length;this.wrapRangeInMappedTextNode(e,i,s,(t=>o(a[n],t)),((e,o)=>{t.lastIndex=o,r(e)}))}i()}))}wrapRangeFromIndex(t,e,o,r){this.getTextNodes((i=>{const n=i.value.length;t.forEach(((t,r)=>{let{start:a,end:s,valid:c}=this.checkWhitespaceRanges(t,n,i.value);c&&this.wrapRangeInMappedTextNode(i,a,s,(o=>e(o,t,i.value.substring(a,s),r)),(e=>{o(e,t)}))})),r()}))}unwrapMatches(t){const e=t.parentNode;let o=document.createDocumentFragment();for(;t.firstChild;)o.appendChild(t.removeChild(t.firstChild));e.replaceChild(o,t),this.ie?this.normalizeTextNode(e):e.normalize()}normalizeTextNode(t){if(t){if(3===t.nodeType)for(;t.nextSibling&&3===t.nextSibling.nodeType;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,e){this.opt=e,this.log(`Searching with expression "${t}"`);let o=0,r="wrapMatches";this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),this[r](t,this.opt.ignoreGroups,((t,e)=>this.opt.filter(e,t,o)),(t=>{o++,this.opt.each(t)}),(()=>{0===o&&this.opt.noMatch(t),this.opt.done(o)}))}mark(t,e){this.opt=e;let o=0,r="wrapMatches";const{keywords:i,length:n}=this.getSeparatedKeywords("string"==typeof t?[t]:t),a=this.opt.caseSensitive?"":"i",s=t=>{let e=new RegExp(this.createRegExp(t),`gm${a}`),c=0;this.log(`Searching with expression "${e}"`),this[r](e,1,((e,r)=>this.opt.filter(r,t,o,c)),(t=>{c++,o++,this.opt.each(t)}),(()=>{0===c&&this.opt.noMatch(t),i[n-1]===t?this.opt.done(o):s(i[i.indexOf(t)+1])}))};this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),0===n?this.opt.done(o):s(i[0])}markRanges(t,e){this.opt=e;let o=0,r=this.checkRanges(t);r&&r.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(r)),this.wrapRangeFromIndex(r,((t,e,o,r)=>this.opt.filter(t,e,o,r)),((t,e)=>{o++,this.opt.each(t,e)}),(()=>{this.opt.done(o)}))):this.opt.done(o)}unmark(t){this.opt=t;let e=this.opt.element?this.opt.element:"*";e+="[data-markjs]",this.opt.className&&(e+=`.${this.opt.className}`),this.log(`Removal selector "${e}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,(t=>{this.unwrapMatches(t)}),(t=>{const o=Ke.matches(t,e),r=this.matchesExclude(t);return!o||r?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),this.opt.done)}}(t);return this.mark=(t,o)=>(e.mark(t,o),this),this.markRegExp=(t,o)=>(e.markRegExp(t,o),this),this.markRanges=(t,o)=>(e.markRanges(t,o),this),this.unmark=t=>(e.unmark(t),this),this},je=Oe.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),$e=Ot`
|
|
80
80
|
.highlight-html-match {
|
|
81
|
-
background: ${
|
|
81
|
+
background: ${je};
|
|
82
82
|
}
|
|
83
|
-
`,
|
|
83
|
+
`,Me={className:"highlight-html-match"};Ot`
|
|
84
84
|
.ft-no-text-select {
|
|
85
85
|
-webkit-touch-callout: none;
|
|
86
86
|
-webkit-user-select: none;
|
|
@@ -89,7 +89,7 @@ let ve=class extends Zt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
89
89
|
-ms-user-select: none;
|
|
90
90
|
user-select: none;
|
|
91
91
|
}
|
|
92
|
-
`,
|
|
92
|
+
`,Ot`
|
|
93
93
|
.ft-word-wrap {
|
|
94
94
|
white-space: normal;
|
|
95
95
|
word-wrap: break-word;
|
|
@@ -101,7 +101,7 @@ let ve=class extends Zt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
101
101
|
-webkit-hyphens: auto;
|
|
102
102
|
hyphens: auto
|
|
103
103
|
}
|
|
104
|
-
`,
|
|
104
|
+
`,Ot`
|
|
105
105
|
.ft-safari-ellipsis-fix {
|
|
106
106
|
margin-right: 0;
|
|
107
107
|
|
|
@@ -112,9 +112,9 @@ let ve=class extends Zt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
112
112
|
display: inline-block;
|
|
113
113
|
width: 0;
|
|
114
114
|
}
|
|
115
|
-
`;class Fe{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var o,r;t=this.resolvePluralKey(t,e);let i=null!==(r=null!==(o=this.labels[t])&&void 0!==o?o:this.defaultLabels[t])&&void 0!==r?r:"";return e.forEach(((t,e)=>i=i.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,o)=>this.formatValue(t,o))))),i}resolvePluralKey(t,e){for(let o of e)if("number"==typeof o){const e=`${String(t)}[\\=${o}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const o=o=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(o):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(o):t.toLocaleString(o);try{return o(document.documentElement.lang)}catch(t){return o()}}}const De=t=>{const e=null!=t?t:{};return(t,o)=>{var r;const i={hasChanged:(t,e)=>!A(t,e),attribute:!1,...e};U(i)(t,o);const n=t.constructor;n.reduxProperties=new Map(n.reduxProperties),n.reduxProperties.set(o,{selector:null!==(r=e.selector)&&void 0!==r?r:t=>t[o],store:e.store})}};class Be{constructor(){this.queue=[]}add(t,e=!1){e&&(this.queue=this.queue.filter((e=>e.type!==t.type))),this.queue.push(t)}consume(t){const e=this.queue.find((e=>e.type===t));return e&&(this.queue=this.queue.filter((t=>t!==e))),e}}function Te(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var _e,ze,He;const Ge=Symbol("internalReduxEventsUnsubscribers"),qe=Symbol("internalStoresUnsubscribers"),Je=Symbol("internalStores");class Ye extends Ae{constructor(){super(...arguments),this[_e]=new Map,this[ze]=new Map,this[He]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[Je].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Je].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Je].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:Te(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[Je].delete(e)}setupStore(t,e){this[Je].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Je].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[qe].has(t.store):this[qe].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[qe].set(t,e.subscribe((()=>this.updateFromStores()))),Te(e)&&e.eventBus&&(null===(o=this.reduxConstructor.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const r=t=>this[o](t);e.eventBus.addEventListener(t.eventName,r),this[Ge].push((()=>e.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[qe].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[Ge].forEach((t=>t())),this[Ge]=[]}unsubscribeFromStore(t){this[qe].has(t)&&this[qe].get(t)(),this[qe].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Ve(t){for(var e=arguments.length,o=Array(e>1?e-1:0),r=1;r<e;r++)o[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Xe(t){return!!t&&!!t[Po]}function Qe(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var o=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return o===Object||"function"==typeof o&&Function.toString.call(o)===Fo}(t)||Array.isArray(t)||!!t[Zo]||!!(null===(e=t.constructor)||void 0===e?void 0:e[Zo])||no(t)||ao(t))}function to(t,e,o){void 0===o&&(o=!1),0===eo(t)?(o?Object.keys:Do)(t).forEach((function(r){o&&"symbol"==typeof r||e(r,t[r],t)})):t.forEach((function(o,r){return e(r,o,t)}))}function eo(t){var e=t[Po];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:no(t)?2:ao(t)?3:0}function oo(t,e){return 2===eo(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function ro(t,e,o){var r=eo(t);2===r?t.set(e,o):3===r?t.add(o):t[e]=o}function io(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function no(t){return Ao&&t instanceof Map}function ao(t){return jo&&t instanceof Set}function so(t){return t.o||t.t}function co(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Bo(t);delete e[Po];for(var o=Do(e),r=0;r<o.length;r++){var i=o[r],n=e[i];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(e[i]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function lo(t,e){return void 0===e&&(e=!1),ho(t)||Xe(t)||!Qe(t)||(eo(t)>1&&(t.set=t.add=t.clear=t.delete=fo),Object.freeze(t),e&&to(t,(function(t,e){return lo(e,!0)}),!0)),t}function fo(){Ve(2)}function ho(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function uo(t){var e=To[t];return e||Ve(18,t),e}function po(){return Lo}function yo(t,e){e&&(uo("Patches"),t.u=[],t.s=[],t.v=e)}function go(t){bo(t),t.p.forEach(vo),t.p=null}function bo(t){t===Lo&&(Lo=t.l)}function mo(t){return Lo={p:[],l:Lo,h:t,m:!0,_:0}}function vo(t){var e=t[Po];0===e.i||1===e.i?e.j():e.g=!0}function Oo(t,e){e._=e.p.length;var o=e.p[0],r=void 0!==t&&t!==o;return e.h.O||uo("ES5").S(e,t,r),r?(o[Po].P&&(go(e),Ve(4)),Qe(t)&&(t=xo(e,t),e.l||No(e,t)),e.u&&uo("Patches").M(o[Po].t,t,e.u,e.s)):t=xo(e,o,[]),go(e),e.u&&e.v(e.u,e.s),t!==Mo?t:void 0}function xo(t,e,o){if(ho(e))return e;var r=e[Po];if(!r)return to(e,(function(i,n){return wo(t,r,e,i,n,o)}),!0),e;if(r.A!==t)return e;if(!r.P)return No(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=co(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),to(n,(function(e,n){return wo(t,r,i,e,n,o,a)})),No(t,i,!1),o&&t.u&&uo("Patches").N(r,o,t.u,t.s)}return r.o}function wo(t,e,o,r,i,n,a){if(Xe(i)){var s=xo(t,i,n&&e&&3!==e.i&&!oo(e.R,r)?n.concat(r):void 0);if(ro(o,r,s),!Xe(s))return;t.m=!1}else a&&o.add(i);if(Qe(i)&&!ho(i)){if(!t.h.D&&t._<1)return;xo(t,i),e&&e.A.l||No(t,i)}}function No(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&lo(e,o)}function So(t,e){var o=t[Po];return(o?so(o):t)[e]}function Co(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var r=Object.getOwnPropertyDescriptor(o,e);if(r)return r;o=Object.getPrototypeOf(o)}}function Eo(t){t.P||(t.P=!0,t.l&&Eo(t.l))}function Ro(t){t.o||(t.o=co(t.t))}function Uo(t,e,o){var r=no(e)?uo("MapSet").F(e,o):ao(e)?uo("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),r={i:o?1:0,A:e?e.A:po(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},i=r,n=_o;o&&(i=[r],n=zo);var a=Proxy.revocable(i,n),s=a.revoke,c=a.proxy;return r.k=c,r.j=s,c}(e,o):uo("ES5").J(e,o);return(o?o.A:po()).p.push(r),r}function Io(t){return Xe(t)||Ve(22,t),function t(e){if(!Qe(e))return e;var o,r=e[Po],i=eo(e);if(r){if(!r.P&&(r.i<4||!uo("ES5").K(r)))return r.t;r.I=!0,o=ko(e,i),r.I=!1}else o=ko(e,i);return to(o,(function(e,i){r&&function(t,e){return 2===eo(t)?t.get(e):t[e]}(r.t,e)===i||ro(o,e,t(i))})),3===i?new Set(o):o}(t)}function ko(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return co(t)}_e=qe,ze=Je,He=Ge,Ye.reduxProperties=new Map,Ye.reduxReactiveProperties=new Set,Ye.reduxEventListeners=new Map;var Wo,Lo,Ko="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Ao="undefined"!=typeof Map,jo="undefined"!=typeof Set,$o="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Mo=Ko?Symbol.for("immer-nothing"):((Wo={})["immer-nothing"]=!0,Wo),Zo=Ko?Symbol.for("immer-draftable"):"__$immer_draftable",Po=Ko?Symbol.for("immer-state"):"__$immer_state",Fo=""+Object.prototype.constructor,Do="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Bo=Object.getOwnPropertyDescriptors||function(t){var e={};return Do(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},To={},_o={get:function(t,e){if(e===Po)return t;var o=so(t);if(!oo(o,e))return function(t,e,o){var r,i=Co(e,o);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,o,e);var r=o[e];return t.I||!Qe(r)?r:r===So(t.t,e)?(Ro(t),t.o[e]=Uo(t.A.h,r,t)):r},has:function(t,e){return e in so(t)},ownKeys:function(t){return Reflect.ownKeys(so(t))},set:function(t,e,o){var r=Co(so(t),e);if(null==r?void 0:r.set)return r.set.call(t.k,o),!0;if(!t.P){var i=So(so(t),e),n=null==i?void 0:i[Po];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(io(o,i)&&(void 0!==o||oo(t.t,e)))return!0;Ro(t),Eo(t)}return t.o[e]===o&&(void 0!==o||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 void 0!==So(t.t,e)||e in t.t?(t.R[e]=!1,Ro(t),Eo(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=so(t),r=Reflect.getOwnPropertyDescriptor(o,e);return r?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:r.enumerable,value:o[e]}:r},defineProperty:function(){Ve(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Ve(12)}},zo={};to(_o,(function(t,e){zo[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),zo.deleteProperty=function(t,e){return zo.set.call(this,t,e,void 0)},zo.set=function(t,e,o){return _o.set.call(this,t[0],e,o,t[0])};var Ho=function(){function t(t){var e=this;this.O=$o,this.D=!0,this.produce=function(t,o,r){if("function"==typeof t&&"function"!=typeof o){var i=o;o=t;var n=e;return function(t){var e=this;void 0===t&&(t=i);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var r;return(r=o).call.apply(r,[e,t].concat(a))}))}}var a;if("function"!=typeof o&&Ve(6),void 0!==r&&"function"!=typeof r&&Ve(7),Qe(t)){var s=mo(e),c=Uo(e,t,void 0),l=!0;try{a=o(c),l=!1}finally{l?go(s):bo(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return yo(s,r),Oo(t,s)}),(function(t){throw go(s),t})):(yo(s,r),Oo(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===Mo&&(a=void 0),e.D&&lo(a,!0),r){var f=[],h=[];uo("Patches").M(t,a,f,h),r(f,h)}return a}Ve(21,t)},this.produceWithPatches=function(t,o){if("function"==typeof t)return function(o){for(var r=arguments.length,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return e.produceWithPatches(o,(function(e){return t.apply(void 0,[e].concat(i))}))};var r,i,n=e.produce(t,o,(function(t,e){r=t,i=e}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,r,i]})):[n,r,i]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){Qe(t)||Ve(8),Xe(t)&&(t=Io(t));var e=mo(this),o=Uo(this,t,void 0);return o[Po].C=!0,bo(e),o},e.finishDraft=function(t,e){var o=(t&&t[Po]).A;return yo(o,e),Oo(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!$o&&Ve(20),this.O=t},e.applyPatches=function(t,e){var o;for(o=e.length-1;o>=0;o--){var r=e[o];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}o>-1&&(e=e.slice(o+1));var i=uo("Patches").$;return Xe(t)?i(t,e):this.produce(t,(function(t){return i(t,e)}))},t}(),Go=new Ho,qo=Go.produce;function Jo(t){return Jo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Jo(t)}function Yo(t){var e=function(t,e){if("object"!==Jo(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var r=o.call(t,e||"default");if("object"!==Jo(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Jo(e)?e:String(e)}function Vo(t,e,o){return(e=Yo(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function Xo(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,r)}return o}function Qo(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?Xo(Object(o),!0).forEach((function(e){Vo(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Xo(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function tr(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. "}Go.produceWithPatches.bind(Go),Go.setAutoFreeze.bind(Go),Go.setUseProxies.bind(Go),Go.applyPatches.bind(Go),Go.createDraft.bind(Go),Go.finishDraft.bind(Go);var er="function"==typeof Symbol&&Symbol.observable||"@@observable",or=function(){return Math.random().toString(36).substring(7).split("").join(".")},rr={INIT:"@@redux/INIT"+or(),REPLACE:"@@redux/REPLACE"+or(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+or()}};function ir(t,e,o){var r;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(tr(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(tr(1));return o(ir)(t,e)}if("function"!=typeof t)throw new Error(tr(2));var i=t,n=e,a=[],s=a,c=!1;function l(){s===a&&(s=a.slice())}function f(){if(c)throw new Error(tr(3));return n}function h(t){if("function"!=typeof t)throw new Error(tr(4));if(c)throw new Error(tr(5));var e=!0;return l(),s.push(t),function(){if(e){if(c)throw new Error(tr(6));e=!1,l();var o=s.indexOf(t);s.splice(o,1),a=null}}}function u(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(tr(7));if(void 0===t.type)throw new Error(tr(8));if(c)throw new Error(tr(9));try{c=!0,n=i(n,t)}finally{c=!1}for(var e=a=s,o=0;o<e.length;o++){(0,e[o])()}return t}return u({type:rr.INIT}),(r={dispatch:u,subscribe:h,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(tr(10));i=t,u({type:rr.REPLACE})}})[er]=function(){var t,e=h;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(tr(11));function o(){t.next&&t.next(f())}return o(),{unsubscribe:e(o)}}})[er]=function(){return this},t},r}function nr(t){for(var e=Object.keys(t),o={},r=0;r<e.length;r++){var i=e[r];"function"==typeof t[i]&&(o[i]=t[i])}var n,a=Object.keys(o);try{!function(t){Object.keys(t).forEach((function(e){var o=t[e];if(void 0===o(void 0,{type:rr.INIT}))throw new Error(tr(12));if(void 0===o(void 0,{type:rr.PROBE_UNKNOWN_ACTION()}))throw new Error(tr(13))}))}(o)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},s=0;s<a.length;s++){var c=a[s],l=o[c],f=t[c],h=l(f,e);if(void 0===h)throw e&&e.type,new Error(tr(14));i[c]=h,r=r||h!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function ar(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function sr(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(t){return function(){var o=t.apply(void 0,arguments),r=function(){throw new Error(tr(15))},i={getState:o.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=e.map((function(t){return t(i)}));return r=ar.apply(void 0,n)(o.dispatch),Qo(Qo({},o),{},{dispatch:r})}}}function cr(t){return function(e){var o=e.dispatch,r=e.getState;return function(e){return function(i){return"function"==typeof i?i(o,r,t):e(i)}}}}var lr=cr();lr.withExtraArgument=cr;var fr,hr=lr,ur=(fr=function(t,e){return fr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},fr(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=t}fr(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),pr=function(t,e){var o,r,i,n,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return function(s){return function(n){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,r&&(i=2&n[0]?r.return:n[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,n[1])).done)return i;switch(r=0,i&&(n=[2&n[0],i.value]),n[0]){case 0:case 1:i=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,r=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&n[1]<i[3])){a.label=n[1];break}if(6===n[0]&&a.label<i[1]){a.label=i[1],i=n;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(n);break}i[2]&&a.ops.pop(),a.trys.pop();continue}n=e.call(t,a)}catch(t){n=[6,t],r=0}finally{o=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},dr=function(t,e){for(var o=0,r=e.length,i=t.length;o<r;o++,i++)t[i]=e[o];return t},yr=Object.defineProperty,gr=Object.defineProperties,br=Object.getOwnPropertyDescriptors,mr=Object.getOwnPropertySymbols,vr=Object.prototype.hasOwnProperty,Or=Object.prototype.propertyIsEnumerable,xr=function(t,e,o){return e in t?yr(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},wr=function(t,e){for(var o in e||(e={}))vr.call(e,o)&&xr(t,o,e[o]);if(mr)for(var r=0,i=mr(e);r<i.length;r++){o=i[r];Or.call(e,o)&&xr(t,o,e[o])}return t},Nr=function(t,e){return gr(t,br(e))},Sr="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?ar:ar.apply(null,arguments)};var Cr=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return ur(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,dr([void 0],t[0].concat(this)))):new(e.bind.apply(e,dr([void 0],t.concat(this))))},e}(Array),Er=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return ur(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,dr([void 0],t[0].concat(this)))):new(e.bind.apply(e,dr([void 0],t.concat(this))))},e}(Array);function Rr(t){return Qe(t)?qo(t,(function(){})):t}function Ur(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,o=void 0===e||e;t.immutableCheck,t.serializableCheck;var r=new Cr;o&&(!function(t){return"boolean"==typeof t}(o)?r.push(hr.withExtraArgument(o.extraArgument)):r.push(hr));return r}(t)}}function Ir(t){var e,o=Ur(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,s=void 0===a?o():a,c=r.devTools,l=void 0===c||c,f=r.preloadedState,h=void 0===f?void 0:f,u=r.enhancers,p=void 0===u?void 0:u;if("function"==typeof n)e=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var o=e;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return e===o}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=nr(n)}var d=s;"function"==typeof d&&(d=d(o));var y=sr.apply(void 0,d),g=ar;l&&(g=Sr(wr({trace:!1},"object"==typeof l&&l)));var b=new Er(y),m=b;return Array.isArray(p)?m=dr([y],p):"function"==typeof p&&(m=p(b)),ir(e,h,g.apply(void 0,m))}function kr(t,e){function o(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];if(e){var i=e.apply(void 0,o);if(!i)throw new Error("prepareAction did not return an object");return wr(wr({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:o[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(e){return e.type===t},o}function Wr(t){var e,o={},r=[],i={addCase:function(t,e){var r="string"==typeof t?t:t.type;if(r in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[r]=e,i},addMatcher:function(t,e){return r.push({matcher:t,reducer:e}),i},addDefaultCase:function(t){return e=t,i}};return t(i),[o,r,e]}function Lr(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var o,r="function"==typeof t.initialState?t.initialState:Rr(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},c={};function l(){var e="function"==typeof t.extraReducers?Wr(t.extraReducers):[t.extraReducers],o=e[0],i=void 0===o?{}:o,n=e[1],a=void 0===n?[]:n,c=e[2],l=void 0===c?void 0:c,f=wr(wr({},i),s);return function(t,e,o,r){void 0===o&&(o=[]);var i,n="function"==typeof e?Wr(e):[e,o,r],a=n[0],s=n[1],c=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return Rr(t())};else{var l=Rr(t);i=function(){return l}}function f(t,e){void 0===t&&(t=i());var o=dr([a[e.type]],s.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===o.filter((function(t){return!!t})).length&&(o=[c]),o.reduce((function(t,o){if(o){var r;if(Xe(t))return void 0===(r=o(t,e))?t:r;if(Qe(t))return qo(t,(function(t){return o(t,e)}));if(void 0===(r=o(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=i,f}(r,(function(t){for(var e in f)t.addCase(e,f[e]);for(var o=0,r=a;o<r.length;o++){var i=r[o];t.addMatcher(i.matcher,i.reducer)}l&&t.addDefaultCase(l)}))}return n.forEach((function(t){var o,r,n=i[t],l=e+"/"+t;"reducer"in n?(o=n.reducer,r=n.prepare):o=n,a[t]=o,s[l]=o,c[t]=r?kr(l,r):kr(l)})),{name:e,reducer:function(t,e){return o||(o=l()),o(t,e)},actions:c,caseReducers:a,getInitialState:function(){return o||(o=l()),o.getInitialState()}}}var Kr=["name","message","stack","code"],Ar=function(t,e){this.payload=t,this.meta=e},jr=function(t,e){this.payload=t,this.meta=e},$r=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,r=Kr;o<r.length;o++){var i=r[o];"string"==typeof t[i]&&(e[i]=t[i])}return e}return{message:String(t)}};function Mr(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,o){var r=kr(t+"/fulfilled",(function(t,e,o,r){return{payload:t,meta:Nr(wr({},r||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),i=kr(t+"/pending",(function(t,e,o){return{payload:void 0,meta:Nr(wr({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=kr(t+"/rejected",(function(t,e,r,i,n){return{payload:i,error:(o&&o.serializeError||$r)(t||"Rejected"),meta:Nr(wr({},n||{}),{arg:r,requestId:e,rejectedWithValue:!!i,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(s,c,l){var f,h=(null==o?void 0:o.idGenerator)?o.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",o=t;o--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),u=new a;function p(t){f=t,u.abort()}var d=function(){return a=this,d=null,y=function(){var a,d,y,g,b,m;return pr(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==o?void 0:o.condition)?void 0:a.call(o,t,{getState:c,extra:l}),null===(O=g)||"object"!=typeof O||"function"!=typeof O.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||u.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,e){return u.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:f||"Aborted"})}))})),s(i(h,t,null==(d=null==o?void 0:o.getPendingMeta)?void 0:d.call(o,{requestId:h,arg:t},{getState:c,extra:l}))),[4,Promise.race([b,Promise.resolve(e(t,{dispatch:s,getState:c,extra:l,requestId:h,signal:u.signal,abort:p,rejectWithValue:function(t,e){return new Ar(t,e)},fulfillWithValue:function(t,e){return new jr(t,e)}})).then((function(e){if(e instanceof Ar)throw e;return e instanceof jr?r(e.payload,h,t,e.meta):r(e,h,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Ar?n(null,h,t,m.payload,m.meta):n(m,h,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&n.match(y)&&y.meta.condition||s(y),[2,y]}var O}))},new Promise((function(t,e){var o=function(t){try{i(y.next(t))}catch(t){e(t)}},r=function(t){try{i(y.throw(t))}catch(t){e(t)}},i=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,r)};i((y=y.apply(a,d)).next())}));var a,d,y}();return Object.assign(d,{abort:p,requestId:h,arg:t,unwrap:function(){return d.then(Mr)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Zr,Pr,Fr="listenerMiddleware";kr(Fr+"/add"),kr(Fr+"/removeAll"),kr(Fr+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var o=i[t];return o?o.enumerable=e:i[t]=o={configurable:!0,enumerable:e,get:function(){var e=this[Po];return _o.get(e,t)},set:function(e){var o=this[Po];_o.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var i=t[e][Po];if(!i.P)switch(i.i){case 5:r(i)&&Eo(i);break;case 4:o(i)&&Eo(i)}}}function o(t){for(var e=t.t,o=t.k,r=Do(o),i=r.length-1;i>=0;i--){var n=r[i];if(n!==Po){var a=e[n];if(void 0===a&&!oo(e,n))return!0;var s=o[n],c=s&&s[Po];if(c?c.t!==a:!io(s,a))return!0}}var l=!!e[Po];return r.length!==Do(e).length+(l?0:1)}function r(t){var e=t.k;if(e.length!==t.t.length)return!0;var o=Object.getOwnPropertyDescriptor(e,e.length-1);if(o&&!o.get)return!0;for(var r=0;r<e.length;r++)if(!e.hasOwnProperty(r))return!0;return!1}var i={};!function(t,e){To[t]||(To[t]=e)}("ES5",{J:function(e,o){var r=Array.isArray(e),i=function(e,o){if(e){for(var r=Array(o.length),i=0;i<o.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var n=Bo(o);delete n[Po];for(var a=Do(n),s=0;s<a.length;s++){var c=a[s];n[c]=t(c,e||!!n[c].enumerable)}return Object.create(Object.getPrototypeOf(o),n)}(r,e),n={i:r?5:4,A:o?o.A:po(),P:!1,I:!1,R:{},l:o,t:e,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Po,{value:n,writable:!0}),i},S:function(t,o,i){i?Xe(o)&&o[Po].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[Po];if(o){var i=o.t,n=o.k,a=o.R,s=o.i;if(4===s)to(n,(function(e){e!==Po&&(void 0!==i[e]||oo(i,e)?a[e]||t(n[e]):(a[e]=!0,Eo(o)))})),to(i,(function(t){void 0!==n[t]||oo(n,t)||(a[t]=!1,Eo(o))}));else if(5===s){if(r(o)&&(Eo(o),a.length=!0),n.length<i.length)for(var c=n.length;c<i.length;c++)a[c]=!1;else for(var l=i.length;l<n.length;l++)a[l]=!0;for(var f=Math.min(n.length,i.length),h=0;h<f;h++)n.hasOwnProperty(h)||(a[h]=!0),void 0===a[h]&&t(n[h])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Dr{static get(t){var e;const o="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,i=window.ftReduxStores[o];if(Te(i))return i;if(null==r)return;const n=Lr({...r,reducers:null!==(e=r.reducers)&&void 0!==e?e:{}}),a=Ir({reducer:(t,e)=>{var o;switch(e.type){case"CLEAR_FT_REDUX_STORE":return n.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(o=e.overwrites)&&void 0!==o?o:{}};default:return n.reducer(t,e)}}});return window.ftReduxStores[r.name]=new Dr(n,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Be,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,o)=>{const r=e,i=t[r];return i?(...t)=>{const e=i(...t);return this.reduxStore.dispatch(e),e}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",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()}}navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(Pr=null===(Zr=window.safari)||void 0===Zr?void 0:Zr.pushNotification)||void 0===Pr||Pr.toString());const Br={colorError:we.external(Ce.colorError,"Design system"),fontFamily:we.external(Ce.contentFont,"Design system")},Tr=wt`
|
|
115
|
+
`;class Ze{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var o,r;t=this.resolvePluralKey(t,e);let i=null!==(r=null!==(o=this.labels[t])&&void 0!==o?o:this.defaultLabels[t])&&void 0!==r?r:"";return e.forEach(((t,e)=>i=i.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,o)=>this.formatValue(t,o))))),i}resolvePluralKey(t,e){for(let o of e)if("number"==typeof o){const e=`${String(t)}[\\=${o}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const o=o=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(o):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(o):t.toLocaleString(o);try{return o(document.documentElement.lang)}catch(t){return o()}}}const Pe=t=>{const e=null!=t?t:{};return(t,o)=>{var r;const i={hasChanged:(t,e)=>!L(t,e),attribute:!1,...e};U(i)(t,o);const n=t.constructor;n.reduxProperties=new Map(n.reduxProperties),n.reduxProperties.set(o,{selector:null!==(r=e.selector)&&void 0!==r?r:t=>t[o],store:e.store})}};class Fe{constructor(){this.queue=[]}add(t,e=!1){e&&(this.queue=this.queue.filter((e=>e.type!==t.type))),this.queue.push(t)}consume(t){const e=this.queue.find((e=>e.type===t));return e&&(this.queue=this.queue.filter((t=>t!==e))),e}}function De(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Be,_e,ze;const Te=Symbol("internalReduxEventsUnsubscribers"),He=Symbol("internalStoresUnsubscribers"),Ge=Symbol("internalStores");class qe extends Le{constructor(){super(...arguments),this[Be]=new Map,this[_e]=new Map,this[ze]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[Ge].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ge].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Ge].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:De(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[Ge].delete(e)}setupStore(t,e){this[Ge].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Ge].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[He].has(t.store):this[He].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[He].set(t,e.subscribe((()=>this.updateFromStores()))),De(e)&&e.eventBus&&(null===(o=this.reduxConstructor.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const r=t=>this[o](t);e.eventBus.addEventListener(t.eventName,r),this[Te].push((()=>e.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[He].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[Te].forEach((t=>t())),this[Te]=[]}unsubscribeFromStore(t){this[He].has(t)&&this[He].get(t)(),this[He].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Je(t){for(var e=arguments.length,o=Array(e>1?e-1:0),r=1;r<e;r++)o[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ye(t){return!!t&&!!t[Mo]}function Ve(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var o=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return o===Object||"function"==typeof o&&Function.toString.call(o)===Zo}(t)||Array.isArray(t)||!!t[$o]||!!(null===(e=t.constructor)||void 0===e?void 0:e[$o])||ro(t)||io(t))}function Xe(t,e,o){void 0===o&&(o=!1),0===Qe(t)?(o?Object.keys:Po)(t).forEach((function(r){o&&"symbol"==typeof r||e(r,t[r],t)})):t.forEach((function(o,r){return e(r,o,t)}))}function Qe(t){var e=t[Mo];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:ro(t)?2:io(t)?3:0}function to(t,e){return 2===Qe(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function eo(t,e,o){var r=Qe(t);2===r?t.set(e,o):3===r?t.add(o):t[e]=o}function oo(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function ro(t){return Lo&&t instanceof Map}function io(t){return Ko&&t instanceof Set}function no(t){return t.o||t.t}function ao(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Fo(t);delete e[Mo];for(var o=Po(e),r=0;r<o.length;r++){var i=o[r],n=e[i];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(e[i]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function so(t,e){return void 0===e&&(e=!1),lo(t)||Ye(t)||!Ve(t)||(Qe(t)>1&&(t.set=t.add=t.clear=t.delete=co),Object.freeze(t),e&&Xe(t,(function(t,e){return so(e,!0)}),!0)),t}function co(){Je(2)}function lo(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function fo(t){var e=Do[t];return e||Je(18,t),e}function ho(){return ko}function uo(t,e){e&&(fo("Patches"),t.u=[],t.s=[],t.v=e)}function po(t){yo(t),t.p.forEach(bo),t.p=null}function yo(t){t===ko&&(ko=t.l)}function go(t){return ko={p:[],l:ko,h:t,m:!0,_:0}}function bo(t){var e=t[Mo];0===e.i||1===e.i?e.j():e.g=!0}function mo(t,e){e._=e.p.length;var o=e.p[0],r=void 0!==t&&t!==o;return e.h.O||fo("ES5").S(e,t,r),r?(o[Mo].P&&(po(e),Je(4)),Ve(t)&&(t=vo(e,t),e.l||xo(e,t)),e.u&&fo("Patches").M(o[Mo].t,t,e.u,e.s)):t=vo(e,o,[]),po(e),e.u&&e.v(e.u,e.s),t!==jo?t:void 0}function vo(t,e,o){if(lo(e))return e;var r=e[Mo];if(!r)return Xe(e,(function(i,n){return Oo(t,r,e,i,n,o)}),!0),e;if(r.A!==t)return e;if(!r.P)return xo(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=ao(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),Xe(n,(function(e,n){return Oo(t,r,i,e,n,o,a)})),xo(t,i,!1),o&&t.u&&fo("Patches").N(r,o,t.u,t.s)}return r.o}function Oo(t,e,o,r,i,n,a){if(Ye(i)){var s=vo(t,i,n&&e&&3!==e.i&&!to(e.R,r)?n.concat(r):void 0);if(eo(o,r,s),!Ye(s))return;t.m=!1}else a&&o.add(i);if(Ve(i)&&!lo(i)){if(!t.h.D&&t._<1)return;vo(t,i),e&&e.A.l||xo(t,i)}}function xo(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&so(e,o)}function No(t,e){var o=t[Mo];return(o?no(o):t)[e]}function wo(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var r=Object.getOwnPropertyDescriptor(o,e);if(r)return r;o=Object.getPrototypeOf(o)}}function So(t){t.P||(t.P=!0,t.l&&So(t.l))}function Co(t){t.o||(t.o=ao(t.t))}function Eo(t,e,o){var r=ro(e)?fo("MapSet").F(e,o):io(e)?fo("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),r={i:o?1:0,A:e?e.A:ho(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},i=r,n=Bo;o&&(i=[r],n=_o);var a=Proxy.revocable(i,n),s=a.revoke,c=a.proxy;return r.k=c,r.j=s,c}(e,o):fo("ES5").J(e,o);return(o?o.A:ho()).p.push(r),r}function Ro(t){return Ye(t)||Je(22,t),function t(e){if(!Ve(e))return e;var o,r=e[Mo],i=Qe(e);if(r){if(!r.P&&(r.i<4||!fo("ES5").K(r)))return r.t;r.I=!0,o=Uo(e,i),r.I=!1}else o=Uo(e,i);return Xe(o,(function(e,i){r&&function(t,e){return 2===Qe(t)?t.get(e):t[e]}(r.t,e)===i||eo(o,e,t(i))})),3===i?new Set(o):o}(t)}function Uo(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return ao(t)}Be=He,_e=Ge,ze=Te,qe.reduxProperties=new Map,qe.reduxReactiveProperties=new Set,qe.reduxEventListeners=new Map;var Io,ko,Wo="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Lo="undefined"!=typeof Map,Ko="undefined"!=typeof Set,Ao="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,jo=Wo?Symbol.for("immer-nothing"):((Io={})["immer-nothing"]=!0,Io),$o=Wo?Symbol.for("immer-draftable"):"__$immer_draftable",Mo=Wo?Symbol.for("immer-state"):"__$immer_state",Zo=""+Object.prototype.constructor,Po="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Fo=Object.getOwnPropertyDescriptors||function(t){var e={};return Po(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},Do={},Bo={get:function(t,e){if(e===Mo)return t;var o=no(t);if(!to(o,e))return function(t,e,o){var r,i=wo(e,o);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,o,e);var r=o[e];return t.I||!Ve(r)?r:r===No(t.t,e)?(Co(t),t.o[e]=Eo(t.A.h,r,t)):r},has:function(t,e){return e in no(t)},ownKeys:function(t){return Reflect.ownKeys(no(t))},set:function(t,e,o){var r=wo(no(t),e);if(null==r?void 0:r.set)return r.set.call(t.k,o),!0;if(!t.P){var i=No(no(t),e),n=null==i?void 0:i[Mo];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(oo(o,i)&&(void 0!==o||to(t.t,e)))return!0;Co(t),So(t)}return t.o[e]===o&&(void 0!==o||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 void 0!==No(t.t,e)||e in t.t?(t.R[e]=!1,Co(t),So(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=no(t),r=Reflect.getOwnPropertyDescriptor(o,e);return r?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:r.enumerable,value:o[e]}:r},defineProperty:function(){Je(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Je(12)}},_o={};Xe(Bo,(function(t,e){_o[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),_o.deleteProperty=function(t,e){return _o.set.call(this,t,e,void 0)},_o.set=function(t,e,o){return Bo.set.call(this,t[0],e,o,t[0])};var zo=function(){function t(t){var e=this;this.O=Ao,this.D=!0,this.produce=function(t,o,r){if("function"==typeof t&&"function"!=typeof o){var i=o;o=t;var n=e;return function(t){var e=this;void 0===t&&(t=i);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var r;return(r=o).call.apply(r,[e,t].concat(a))}))}}var a;if("function"!=typeof o&&Je(6),void 0!==r&&"function"!=typeof r&&Je(7),Ve(t)){var s=go(e),c=Eo(e,t,void 0),l=!0;try{a=o(c),l=!1}finally{l?po(s):yo(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return uo(s,r),mo(t,s)}),(function(t){throw po(s),t})):(uo(s,r),mo(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===jo&&(a=void 0),e.D&&so(a,!0),r){var f=[],h=[];fo("Patches").M(t,a,f,h),r(f,h)}return a}Je(21,t)},this.produceWithPatches=function(t,o){if("function"==typeof t)return function(o){for(var r=arguments.length,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return e.produceWithPatches(o,(function(e){return t.apply(void 0,[e].concat(i))}))};var r,i,n=e.produce(t,o,(function(t,e){r=t,i=e}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,r,i]})):[n,r,i]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){Ve(t)||Je(8),Ye(t)&&(t=Ro(t));var e=go(this),o=Eo(this,t,void 0);return o[Mo].C=!0,yo(e),o},e.finishDraft=function(t,e){var o=(t&&t[Mo]).A;return uo(o,e),mo(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Ao&&Je(20),this.O=t},e.applyPatches=function(t,e){var o;for(o=e.length-1;o>=0;o--){var r=e[o];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}o>-1&&(e=e.slice(o+1));var i=fo("Patches").$;return Ye(t)?i(t,e):this.produce(t,(function(t){return i(t,e)}))},t}(),To=new zo,Ho=To.produce;function Go(t){return Go="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Go(t)}function qo(t){var e=function(t,e){if("object"!==Go(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var r=o.call(t,e||"default");if("object"!==Go(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Go(e)?e:String(e)}function Jo(t,e,o){return(e=qo(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function Yo(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,r)}return o}function Vo(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?Yo(Object(o),!0).forEach((function(e){Jo(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Yo(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function Xo(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. "}To.produceWithPatches.bind(To),To.setAutoFreeze.bind(To),To.setUseProxies.bind(To),To.applyPatches.bind(To),To.createDraft.bind(To),To.finishDraft.bind(To);var Qo="function"==typeof Symbol&&Symbol.observable||"@@observable",tr=function(){return Math.random().toString(36).substring(7).split("").join(".")},er={INIT:"@@redux/INIT"+tr(),REPLACE:"@@redux/REPLACE"+tr(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+tr()}};function or(t,e,o){var r;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(Xo(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(Xo(1));return o(or)(t,e)}if("function"!=typeof t)throw new Error(Xo(2));var i=t,n=e,a=[],s=a,c=!1;function l(){s===a&&(s=a.slice())}function f(){if(c)throw new Error(Xo(3));return n}function h(t){if("function"!=typeof t)throw new Error(Xo(4));if(c)throw new Error(Xo(5));var e=!0;return l(),s.push(t),function(){if(e){if(c)throw new Error(Xo(6));e=!1,l();var o=s.indexOf(t);s.splice(o,1),a=null}}}function u(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(Xo(7));if(void 0===t.type)throw new Error(Xo(8));if(c)throw new Error(Xo(9));try{c=!0,n=i(n,t)}finally{c=!1}for(var e=a=s,o=0;o<e.length;o++){(0,e[o])()}return t}return u({type:er.INIT}),(r={dispatch:u,subscribe:h,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Xo(10));i=t,u({type:er.REPLACE})}})[Qo]=function(){var t,e=h;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Xo(11));function o(){t.next&&t.next(f())}return o(),{unsubscribe:e(o)}}})[Qo]=function(){return this},t},r}function rr(t){for(var e=Object.keys(t),o={},r=0;r<e.length;r++){var i=e[r];"function"==typeof t[i]&&(o[i]=t[i])}var n,a=Object.keys(o);try{!function(t){Object.keys(t).forEach((function(e){var o=t[e];if(void 0===o(void 0,{type:er.INIT}))throw new Error(Xo(12));if(void 0===o(void 0,{type:er.PROBE_UNKNOWN_ACTION()}))throw new Error(Xo(13))}))}(o)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},s=0;s<a.length;s++){var c=a[s],l=o[c],f=t[c],h=l(f,e);if(void 0===h)throw e&&e.type,new Error(Xo(14));i[c]=h,r=r||h!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function ir(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function nr(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(t){return function(){var o=t.apply(void 0,arguments),r=function(){throw new Error(Xo(15))},i={getState:o.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=e.map((function(t){return t(i)}));return r=ir.apply(void 0,n)(o.dispatch),Vo(Vo({},o),{},{dispatch:r})}}}function ar(t){return function(e){var o=e.dispatch,r=e.getState;return function(e){return function(i){return"function"==typeof i?i(o,r,t):e(i)}}}}var sr=ar();sr.withExtraArgument=ar;var cr,lr=sr,fr=(cr=function(t,e){return cr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},cr(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=t}cr(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),hr=function(t,e){var o,r,i,n,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return function(s){return function(n){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,r&&(i=2&n[0]?r.return:n[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,n[1])).done)return i;switch(r=0,i&&(n=[2&n[0],i.value]),n[0]){case 0:case 1:i=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,r=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&n[1]<i[3])){a.label=n[1];break}if(6===n[0]&&a.label<i[1]){a.label=i[1],i=n;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(n);break}i[2]&&a.ops.pop(),a.trys.pop();continue}n=e.call(t,a)}catch(t){n=[6,t],r=0}finally{o=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},ur=function(t,e){for(var o=0,r=e.length,i=t.length;o<r;o++,i++)t[i]=e[o];return t},pr=Object.defineProperty,dr=Object.defineProperties,yr=Object.getOwnPropertyDescriptors,gr=Object.getOwnPropertySymbols,br=Object.prototype.hasOwnProperty,mr=Object.prototype.propertyIsEnumerable,vr=function(t,e,o){return e in t?pr(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Or=function(t,e){for(var o in e||(e={}))br.call(e,o)&&vr(t,o,e[o]);if(gr)for(var r=0,i=gr(e);r<i.length;r++){o=i[r];mr.call(e,o)&&vr(t,o,e[o])}return t},xr=function(t,e){return dr(t,yr(e))},Nr="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?ir:ir.apply(null,arguments)};var wr=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return fr(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,ur([void 0],t[0].concat(this)))):new(e.bind.apply(e,ur([void 0],t.concat(this))))},e}(Array),Sr=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return fr(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,ur([void 0],t[0].concat(this)))):new(e.bind.apply(e,ur([void 0],t.concat(this))))},e}(Array);function Cr(t){return Ve(t)?Ho(t,(function(){})):t}function Er(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,o=void 0===e||e;t.immutableCheck,t.serializableCheck;var r=new wr;o&&(!function(t){return"boolean"==typeof t}(o)?r.push(lr.withExtraArgument(o.extraArgument)):r.push(lr));return r}(t)}}function Rr(t){var e,o=Er(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,s=void 0===a?o():a,c=r.devTools,l=void 0===c||c,f=r.preloadedState,h=void 0===f?void 0:f,u=r.enhancers,p=void 0===u?void 0:u;if("function"==typeof n)e=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var o=e;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return e===o}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=rr(n)}var d=s;"function"==typeof d&&(d=d(o));var y=nr.apply(void 0,d),g=ir;l&&(g=Nr(Or({trace:!1},"object"==typeof l&&l)));var b=new Sr(y),m=b;return Array.isArray(p)?m=ur([y],p):"function"==typeof p&&(m=p(b)),or(e,h,g.apply(void 0,m))}function Ur(t,e){function o(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];if(e){var i=e.apply(void 0,o);if(!i)throw new Error("prepareAction did not return an object");return Or(Or({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:o[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(e){return e.type===t},o}function Ir(t){var e,o={},r=[],i={addCase:function(t,e){var r="string"==typeof t?t:t.type;if(r in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[r]=e,i},addMatcher:function(t,e){return r.push({matcher:t,reducer:e}),i},addDefaultCase:function(t){return e=t,i}};return t(i),[o,r,e]}function kr(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var o,r="function"==typeof t.initialState?t.initialState:Cr(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},c={};function l(){var e="function"==typeof t.extraReducers?Ir(t.extraReducers):[t.extraReducers],o=e[0],i=void 0===o?{}:o,n=e[1],a=void 0===n?[]:n,c=e[2],l=void 0===c?void 0:c,f=Or(Or({},i),s);return function(t,e,o,r){void 0===o&&(o=[]);var i,n="function"==typeof e?Ir(e):[e,o,r],a=n[0],s=n[1],c=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return Cr(t())};else{var l=Cr(t);i=function(){return l}}function f(t,e){void 0===t&&(t=i());var o=ur([a[e.type]],s.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===o.filter((function(t){return!!t})).length&&(o=[c]),o.reduce((function(t,o){if(o){var r;if(Ye(t))return void 0===(r=o(t,e))?t:r;if(Ve(t))return Ho(t,(function(t){return o(t,e)}));if(void 0===(r=o(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=i,f}(r,(function(t){for(var e in f)t.addCase(e,f[e]);for(var o=0,r=a;o<r.length;o++){var i=r[o];t.addMatcher(i.matcher,i.reducer)}l&&t.addDefaultCase(l)}))}return n.forEach((function(t){var o,r,n=i[t],l=e+"/"+t;"reducer"in n?(o=n.reducer,r=n.prepare):o=n,a[t]=o,s[l]=o,c[t]=r?Ur(l,r):Ur(l)})),{name:e,reducer:function(t,e){return o||(o=l()),o(t,e)},actions:c,caseReducers:a,getInitialState:function(){return o||(o=l()),o.getInitialState()}}}var Wr=["name","message","stack","code"],Lr=function(t,e){this.payload=t,this.meta=e},Kr=function(t,e){this.payload=t,this.meta=e},Ar=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,r=Wr;o<r.length;o++){var i=r[o];"string"==typeof t[i]&&(e[i]=t[i])}return e}return{message:String(t)}};function jr(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,o){var r=Ur(t+"/fulfilled",(function(t,e,o,r){return{payload:t,meta:xr(Or({},r||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),i=Ur(t+"/pending",(function(t,e,o){return{payload:void 0,meta:xr(Or({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=Ur(t+"/rejected",(function(t,e,r,i,n){return{payload:i,error:(o&&o.serializeError||Ar)(t||"Rejected"),meta:xr(Or({},n||{}),{arg:r,requestId:e,rejectedWithValue:!!i,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(s,c,l){var f,h=(null==o?void 0:o.idGenerator)?o.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",o=t;o--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),u=new a;function p(t){f=t,u.abort()}var d=function(){return a=this,d=null,y=function(){var a,d,y,g,b,m;return hr(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==o?void 0:o.condition)?void 0:a.call(o,t,{getState:c,extra:l}),null===(O=g)||"object"!=typeof O||"function"!=typeof O.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||u.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,e){return u.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:f||"Aborted"})}))})),s(i(h,t,null==(d=null==o?void 0:o.getPendingMeta)?void 0:d.call(o,{requestId:h,arg:t},{getState:c,extra:l}))),[4,Promise.race([b,Promise.resolve(e(t,{dispatch:s,getState:c,extra:l,requestId:h,signal:u.signal,abort:p,rejectWithValue:function(t,e){return new Lr(t,e)},fulfillWithValue:function(t,e){return new Kr(t,e)}})).then((function(e){if(e instanceof Lr)throw e;return e instanceof Kr?r(e.payload,h,t,e.meta):r(e,h,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Lr?n(null,h,t,m.payload,m.meta):n(m,h,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&n.match(y)&&y.meta.condition||s(y),[2,y]}var O}))},new Promise((function(t,e){var o=function(t){try{i(y.next(t))}catch(t){e(t)}},r=function(t){try{i(y.throw(t))}catch(t){e(t)}},i=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,r)};i((y=y.apply(a,d)).next())}));var a,d,y}();return Object.assign(d,{abort:p,requestId:h,arg:t,unwrap:function(){return d.then(jr)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var $r,Mr,Zr="listenerMiddleware";Ur(Zr+"/add"),Ur(Zr+"/removeAll"),Ur(Zr+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var o=i[t];return o?o.enumerable=e:i[t]=o={configurable:!0,enumerable:e,get:function(){var e=this[Mo];return Bo.get(e,t)},set:function(e){var o=this[Mo];Bo.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var i=t[e][Mo];if(!i.P)switch(i.i){case 5:r(i)&&So(i);break;case 4:o(i)&&So(i)}}}function o(t){for(var e=t.t,o=t.k,r=Po(o),i=r.length-1;i>=0;i--){var n=r[i];if(n!==Mo){var a=e[n];if(void 0===a&&!to(e,n))return!0;var s=o[n],c=s&&s[Mo];if(c?c.t!==a:!oo(s,a))return!0}}var l=!!e[Mo];return r.length!==Po(e).length+(l?0:1)}function r(t){var e=t.k;if(e.length!==t.t.length)return!0;var o=Object.getOwnPropertyDescriptor(e,e.length-1);if(o&&!o.get)return!0;for(var r=0;r<e.length;r++)if(!e.hasOwnProperty(r))return!0;return!1}var i={};!function(t,e){Do[t]||(Do[t]=e)}("ES5",{J:function(e,o){var r=Array.isArray(e),i=function(e,o){if(e){for(var r=Array(o.length),i=0;i<o.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var n=Fo(o);delete n[Mo];for(var a=Po(n),s=0;s<a.length;s++){var c=a[s];n[c]=t(c,e||!!n[c].enumerable)}return Object.create(Object.getPrototypeOf(o),n)}(r,e),n={i:r?5:4,A:o?o.A:ho(),P:!1,I:!1,R:{},l:o,t:e,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Mo,{value:n,writable:!0}),i},S:function(t,o,i){i?Ye(o)&&o[Mo].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[Mo];if(o){var i=o.t,n=o.k,a=o.R,s=o.i;if(4===s)Xe(n,(function(e){e!==Mo&&(void 0!==i[e]||to(i,e)?a[e]||t(n[e]):(a[e]=!0,So(o)))})),Xe(i,(function(t){void 0!==n[t]||to(n,t)||(a[t]=!1,So(o))}));else if(5===s){if(r(o)&&(So(o),a.length=!0),n.length<i.length)for(var c=n.length;c<i.length;c++)a[c]=!1;else for(var l=i.length;l<n.length;l++)a[l]=!0;for(var f=Math.min(n.length,i.length),h=0;h<f;h++)n.hasOwnProperty(h)||(a[h]=!0),void 0===a[h]&&t(n[h])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Pr{static get(t){var e;const o="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,i=window.ftReduxStores[o];if(De(i))return i;if(null==r)return;const n=kr({...r,reducers:null!==(e=r.reducers)&&void 0!==e?e:{}}),a=Rr({reducer:(t,e)=>{var o;switch(e.type){case"CLEAR_FT_REDUX_STORE":return n.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(o=e.overwrites)&&void 0!==o?o:{}};default:return n.reducer(t,e)}}});return window.ftReduxStores[r.name]=new Pr(n,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Fe,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,o)=>{const r=e,i=t[r];return i?(...t)=>{const e=i(...t);return this.reduxStore.dispatch(e),e}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",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()}}navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(Mr=null===($r=window.safari)||void 0===$r?void 0:$r.pushNotification)||void 0===Mr||Mr.toString());const Fr={colorError:Oe.external(we.colorError,"Design system"),fontFamily:Oe.external(we.contentFont,"Design system")},Dr=Ot`
|
|
116
116
|
.topic {
|
|
117
|
-
font-family: ${
|
|
117
|
+
font-family: ${Fr.fontFamily};
|
|
118
118
|
overflow-x: auto;
|
|
119
119
|
}
|
|
120
120
|
|
|
@@ -123,7 +123,7 @@ let ve=class extends Zt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
.topic-on-error ft-icon {
|
|
126
|
-
color: ${
|
|
126
|
+
color: ${Fr.colorError}
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
.topic-loading {
|
|
@@ -134,17 +134,17 @@ let ve=class extends Zt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
134
134
|
white-space: pre-wrap;
|
|
135
135
|
word-break: break-word;
|
|
136
136
|
}
|
|
137
|
-
`;var
|
|
137
|
+
`;var Br;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"}(Br||(Br={}));var _r=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class zr extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const Tr=Symbol("registerInterval");class Hr extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this[Tr]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Tr]):this.dispatchEvent(new zr)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Tr,_r([I()],o.prototype,"stateManager",void 0),o}(qe)){}var Gr=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class qr extends Event{constructor(){super("register-ft-reader-topic-component",{bubbles:!0,composed:!0})}}const Jr=Symbol("registerInterval");class Yr extends(function(t){var e;class o extends t{constructor(){super(...arguments),this.disableContextInteractions=!1,this[e]=0}connectedCallback(){super.connectedCallback(),this[Jr]=window.setInterval((()=>this.tryToRegisterToTopicContext()),50)}tryToRegisterToTopicContext(){null!=this.tocNode?window.clearInterval(this[Jr]):this.dispatchEvent(new qr)}disconnectedCallback(){super.disconnectedCallback(),this.tocNode=void 0}}return e=Jr,Gr([I()],o.prototype,"tocNode",void 0),Gr([I()],o.prototype,"disableContextInteractions",void 0),o}(Hr)){}
|
|
138
138
|
/**
|
|
139
139
|
* @license
|
|
140
140
|
* Copyright 2017 Google LLC
|
|
141
141
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
142
|
-
*/const
|
|
142
|
+
*/const Vr=2;class Xr{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
|
|
143
143
|
/**
|
|
144
144
|
* @license
|
|
145
145
|
* Copyright 2017 Google LLC
|
|
146
146
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
147
|
-
*/class
|
|
147
|
+
*/class Qr extends Xr{constructor(t){if(super(t),this.et=et,t.type!==Vr)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===et||null==t)return this.vt=void 0,this.et=t;if(t===tt)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Qr.directiveName="unsafeHTML",Qr.resultType=1;const ti=(t=>(...e)=>({_$litDirective$:t,values:e}))(Qr);var ei,oi;!function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_NORMALIZED="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",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_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK="",t.CLONE="",t.CLONE_LINK_SIMPLE=""}(ei||(ei={})),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=""}(oi||(oi={})),new Map([...["abw"].map((t=>[t,oi.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,oi.AUDIO])),...["avi"].map((t=>[t,oi.AVI])),...["chm","xhs"].map((t=>[t,oi.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,oi.CODE])),...["csv"].map((t=>[t,oi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,oi.DITA])),...["epub"].map((t=>[t,oi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,oi.EXCEL])),...["flac"].map((t=>[t,oi.FLAC])),...["gif"].map((t=>[t,oi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,oi.GZIP])),...["html","htm","xhtml"].map((t=>[t,oi.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,oi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,oi.JPEG])),...["json"].map((t=>[t,oi.JSON])),...["m4a","m4p"].map((t=>[t,oi.M4A])),...["mov","qt"].map((t=>[t,oi.MOV])),...["mp3"].map((t=>[t,oi.MP3])),...["mp4","m4v"].map((t=>[t,oi.MP4])),...["ogg","oga"].map((t=>[t,oi.OGG])),...["pdf","ps"].map((t=>[t,oi.PDF])),...["png"].map((t=>[t,oi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,oi.POWERPOINT])),...["rar"].map((t=>[t,oi.RAR])),...["stp"].map((t=>[t,oi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,oi.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,oi.VIDEO])),...["wav"].map((t=>[t,oi.WAV])),...["wma"].map((t=>[t,oi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,oi.WORD])),...["xml","xsl","rdf"].map((t=>[t,oi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,oi.YAML])),...["zip"].map((t=>[t,oi.ZIP]))]),oi.ABW,oi.AUDIO,oi.AVI,oi.CHM,oi.CODE,oi.CSV,oi.DITA,oi.EPUB,oi.EXCEL,oi.FLAC,oi.GIF,oi.GZIP,oi.HTML,oi.IMAGE,oi.JPEG,oi.JSON,oi.M4A,oi.MOV,oi.MP3,oi.MP4,oi.OGG,oi.PDF,oi.PNG,oi.POWERPOINT,oi.RAR,oi.STP,oi.TEXT,oi.UNKNOWN,oi.VIDEO,oi.WAV,oi.WMA,oi.WORD,oi.XML,oi.YAML,oi.ZIP;const ri=Oe.create("--ft-icon-font-size","","SIZE","24px"),ii=Oe.extend("--ft-icon-fluid-topics-font-family","",Oe.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),ni=Oe.extend("--ft-icon-file-format-font-family","",Oe.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),ai=Oe.extend("--ft-icon-material-font-family","",Oe.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),si=Oe.create("--ft-icon-vertical-align","","UNKNOWN","unset"),ci=Ot`
|
|
148
148
|
:host, i.ft-icon {
|
|
149
149
|
display: inline-flex;
|
|
150
150
|
align-items: center;
|
|
@@ -153,14 +153,14 @@ let ve=class extends Zt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
:host {
|
|
156
|
-
width: ${
|
|
157
|
-
height: ${
|
|
156
|
+
width: ${ri};
|
|
157
|
+
height: ${ri};
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
i.ft-icon {
|
|
161
161
|
width: 100%;
|
|
162
162
|
height: 100%;
|
|
163
|
-
font-size: ${
|
|
163
|
+
font-size: ${ri};
|
|
164
164
|
line-height: 1;
|
|
165
165
|
font-weight: normal;
|
|
166
166
|
text-transform: none;
|
|
@@ -171,58 +171,58 @@ let ve=class extends Zt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
171
171
|
text-rendering: auto;
|
|
172
172
|
-webkit-font-smoothing: antialiased;
|
|
173
173
|
-moz-osx-font-smoothing: grayscale;
|
|
174
|
-
vertical-align: ${
|
|
174
|
+
vertical-align: ${si};
|
|
175
175
|
}
|
|
176
176
|
|
|
177
177
|
i.ft-icon.ft-icon--fluid-topics {
|
|
178
|
-
font-family: ${
|
|
178
|
+
font-family: ${ii}, ft-icons, fticons, sans-serif;
|
|
179
179
|
|
|
180
180
|
/* Ugly fix because font is broken */
|
|
181
|
-
font-size: calc(0.75 * ${
|
|
182
|
-
line-height: ${
|
|
181
|
+
font-size: calc(0.75 * ${ri});
|
|
182
|
+
line-height: ${ri};
|
|
183
183
|
position: relative;
|
|
184
184
|
top: -4%;
|
|
185
185
|
justify-content: center;
|
|
186
186
|
}
|
|
187
187
|
|
|
188
188
|
.ft-icon--file-format {
|
|
189
|
-
font-family: ${
|
|
189
|
+
font-family: ${ni}, ft-mime, sans-serif;
|
|
190
190
|
}
|
|
191
191
|
|
|
192
192
|
.ft-icon--material {
|
|
193
|
-
font-family: ${
|
|
193
|
+
font-family: ${ai}, "Material Icons", sans-serif;
|
|
194
194
|
}
|
|
195
|
-
`;var
|
|
195
|
+
`;var li;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(li||(li={}));var fi=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class hi extends Le{constructor(){super(...arguments),this.resolvedIcon=ie}render(){const t=this.variant&&Object.values(li).includes(this.variant)?this.variant:li.fluid_topics,e=t!==li.material||!!this.value;return oe`
|
|
196
196
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
197
|
-
${
|
|
197
|
+
${ti(this.resolvedIcon)}
|
|
198
198
|
<slot ?hidden=${e}></slot>
|
|
199
199
|
</i>
|
|
200
|
-
`}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case
|
|
201
|
-
`,
|
|
202
|
-
`,
|
|
200
|
+
`}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case li.file_format:this.resolvedIcon=null!==(t=oi[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case li.material:this.resolvedIcon=this.value||ie;break;default:this.resolvedIcon=null!==(e=ei[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}hi.elementDefinitions={},hi.styles=ci,fi([U()],hi.prototype,"variant",void 0),fi([U()],hi.prototype,"value",void 0),fi([I()],hi.prototype,"resolvedIcon",void 0),fi([W("slot")],hi.prototype,"slottedContent",void 0),K("ft-icon")(hi);const ui=Ot`
|
|
201
|
+
`,pi=Ot`
|
|
202
|
+
`,di=Pr.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0}});class yi{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=di.getState(),r=null!=t?t:o;if(e&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,r,!0)}static get(t){var e;return null!=t?yi.build(t):null!==(e=yi.API)&&void 0!==e?e:yi.API=yi.build()}static await(t){return new Promise((e=>{let o=yi.get(t);if(o)e(o);else{const r=di.subscribe((()=>{o=yi.get(t),o&&(r(),e(o))}))}}))}}var gi;const bi=Symbol("clearAfterUnitTest");class mi{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new r,this.listeners={},this.currentUiLocale="",this[gi]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=di.getState().uiLocale,di.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=di.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var o;if(t=t.toLowerCase(),Object.keys(e).length>0){const r={...null!==(o=this.defaultMessages[t])&&void 0!==o?o:{},...e};L(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...o){var r,i,n;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(i=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==i?i:{};return new Ze(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},a).resolve(e,...o)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,e){var o;return t=t.toLowerCase(),this.listeners[t]=null!==(o=this.listeners[t])&&void 0!==o?o:new Set,this.listeners[t].add(e),()=>{var o;return null===(o=this.listeners[t])||void 0===o?void 0:o.delete(e)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>{return(e=0,new Promise((t=>setTimeout(t,e)))).then((()=>t())).catch((()=>null));var e})))}}gi=bi,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new mi((async(t,e)=>(await yi.await()).getFluidTopicsMessageContext(t,e)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new mi((async(t,e)=>(await yi.await()).getCustomMessageContext(t,e))));const vi=window.FluidTopicsI18nService,Oi=window.FluidTopicsCustomI18nService;var xi=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ni extends Le{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>yi.get(),this.cache=new r,this.cleanSessionDebouncer=new i}render(){return oe`
|
|
203
203
|
<slot></slot>
|
|
204
|
-
`}update(t){super.update(t),t.has("baseUrl")&&(
|
|
204
|
+
`}update(t){super.update(t),t.has("baseUrl")&&(di.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&di.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&di.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&di.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&di.actions.noCustom(this.noCustom),t.has("editorMode")&&di.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&di.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&di.actions.session(this.session),t.has("availableUiLocales")&&di.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>vi.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}Ni.elementDefinitions={},Ni.styles=pi,xi([U()],Ni.prototype,"baseUrl",void 0),xi([U()],Ni.prototype,"apiIntegrationIdentifier",void 0),xi([U()],Ni.prototype,"uiLocale",void 0),xi([A(null)],Ni.prototype,"availableUiLocales",void 0),xi([A(null)],Ni.prototype,"metadataConfiguration",void 0),xi([U({type:Boolean})],Ni.prototype,"editorMode",void 0),xi([U({type:Boolean})],Ni.prototype,"noCustom",void 0),xi([U({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Ni.prototype,"noCustomComponent",void 0),xi([U({type:Boolean})],Ni.prototype,"withManualResources",void 0),xi([A([])],Ni.prototype,"messageContexts",void 0),xi([A(void 0)],Ni.prototype,"session",void 0),xi([U({type:Object})],Ni.prototype,"apiProvider",void 0);class wi{async listMySearches(){var t;return(null===(t=di.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await yi.await()).listMySearches(di.getState().session.profile.userId):[]}}const Si=new r;class Ci{async listMyBookmarks(){return Si.get("bookmarks",(async()=>(await yi.await()).listMyBookmarks(di.getState().session.profile.userId)))}clearCache(){Si.clear("bookmarks")}}const Ei=Pr.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=di.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Ci,di.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=di.getState();L(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){Ei.actions.savedSearches(void 0)}clearMyBookmarks(){Ei.actions.bookmarks(void 0)}async reloadMySearches(){const t=new wi,e=await t.listMySearches();Ei.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const e=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;Ei.actions.bookmarks(e)}}},K("ft-app-context")(Ni);var Ri=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Ui=Symbol("i18nProperties"),Ii=Symbol("i18nUnsubs");function ki(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?Oi:vi}i18n(t,e,...o){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,e,...o);const i=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...i)}onI18nUpdate(t){var e;null===(e=this[Ui])||void 0===e||e.forEach(((e,o)=>{e.context.toLowerCase()===t.toLowerCase()&&(this[o]=this.i18n(e))})),setTimeout((()=>this.requestUpdate()),0)}update(t){var e;super.update(t),null===(e=this[Ui])||void 0===e||e.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[Ui]&&new Set([...this[Ui].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[Ii].has(t)||this[Ii].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=e?e:{})}addI18nContext(t,e){this.addI18nMessages(t.name,e)}disconnectedCallback(){super.disconnectedCallback(),this[Ii].forEach((t=>t())),this[Ii].clear()}}return e=Ii,Ri([U({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}class Wi extends(ki(Le)){}class Li extends(ki(qe)){}var Ki=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ai extends Li{constructor(){super(),this.editorMode=!1,this.addStore(di)}render(){return this.key&&this.context?oe`
|
|
205
205
|
<span class="ft-i18n">
|
|
206
206
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
207
207
|
</span>
|
|
208
|
-
`:this.editorMode?"Select a context and a label key.":
|
|
208
|
+
`:this.editorMode?"Select a context and a label key.":ie}update(t){var e;super.update(t),this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(e=this.defaultMessage)&&void 0!==e?e:""})}}Ai.elementDefinitions={},Ai.styles=ui,Ki([Pe()],Ai.prototype,"editorMode",void 0),Ki([U()],Ai.prototype,"context",void 0),Ki([U()],Ai.prototype,"key",void 0),Ki([A([])],Ai.prototype,"args",void 0),Ki([U()],Ai.prototype,"defaultMessage",void 0);class ji{static build(t){return new ji(t)}static fromGwt(t){return new ji(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,e)=>{const o=e;return t=>({context:this.name,key:o,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,e)=>(...t)=>vi.resolveMessage(this.name,e,...t)})}}K("ft-i18n")(Ai);const $i=ji.build("designedReaderTopicContent");var Mi=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Zi extends Yr{constructor(){super(...arguments),this.contentPreprocessor=t=>t,this.onContentAvailable=()=>null}render(){var t,e;return this.map&&(this.error||this.content)?oe`
|
|
209
209
|
<style>
|
|
210
210
|
@import "${null===(t=this.map)||void 0===t?void 0:t.contentStyles.topicStylesheetUrl}";
|
|
211
211
|
</style>
|
|
212
212
|
<section class="topic" lang="${null===(e=this.map)||void 0===e?void 0:e.lang}">
|
|
213
213
|
${this.renderTopicContent()}
|
|
214
214
|
</section>
|
|
215
|
-
`:
|
|
215
|
+
`:oe`
|
|
216
216
|
<section class="topic-loading"></section>
|
|
217
|
-
`}update(t){super.update(t),(t.has("map")||t.has("tocNode"))&&this.updateContent()}updated(t){super.updated(t),this.updateComplete.then((()=>
|
|
217
|
+
`}update(t){super.update(t),(t.has("map")||t.has("tocNode"))&&this.updateContent()}updated(t){super.updated(t),this.updateComplete.then((()=>{this.topicContainer&&function(t,e){var o;let r=t.getAttribute("data-highlight-html-query");if((null!=r?r:"")!==(null!=e?e:"")){const r=new Ae(t);r.unmark(Me),e&&e.trim()&&(r.mark(e.replace(/"[^"]+"/g,""),{...Me,separateWordSearch:!0}),(null!==(o=e.match(/"[^"]+"/g))&&void 0!==o?o:[]).forEach((t=>r.mark(t.replace(/"/g,""),{...Me,separateWordSearch:!1}))))}t.setAttribute("data-highlight-html-query",null!=e?e:"")}(this.topicContainer,this.searchInDocumentQuery)}))}updateContent(){var t;this.error=void 0,this.content=void 0,this.map&&this.tocNode&&(null===(t=this.service)||void 0===t||t.getTopicContent(this.tocNode).then((t=>this.contentPreprocessor(t||'<div class="empty-topic"></div>'))).then((t=>this.content=t)).catch((t=>this.error=t)))}contentAvailableCallback(t){var e,o,r,i,n,a,s;if(super.contentAvailableCallback(t),!this.disableContextInteractions&&(null===(e=this.scrollTarget)||void 0===e?void 0:e.section)&&(null===(o=this.tocNode)||void 0===o?void 0:o.tocId)&&(null===(r=this.tocNode)||void 0===r?void 0:r.tocId)===this.scrollTarget.tocId&&this.content){(null!==(n=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelector(`[id="${this.scrollTarget.section}"], [name="${this.scrollTarget.section}"]`))&&void 0!==n?n:this).scrollIntoView({block:"start"}),null===(a=this.stateManager)||void 0===a||a.scrollDone()}this.topicContainer&&(this.onContentAvailable(this.topicContainer,this.shadowRoot),this.moveSvgInShadowRoot()),(t.has("content")&&this.content||t.has("error")&&this.error)&&performance.mark("fluid_topics__reader_topic_displayed__"+(null===(s=this.tocNode)||void 0===s?void 0:s.tocId))}moveSvgInShadowRoot(){this.shadowRoot.querySelectorAll(".ft-svg-container").forEach((t=>{if(!t.shadowRoot){var e=t.innerHTML;t.innerHTML="";var o=t.attachShadow({mode:"open"}),r=document.createRange().createContextualFragment(e),i=document.importNode(r,!0);o.append(i)}}))}onStoreAvailable(){super.onStoreAvailable(),this.updateContent()}renderTopicContent(){var t,e,o,r;if(this.error)return oe`
|
|
218
218
|
<div class="topic-on-error">
|
|
219
219
|
<ft-icon>WARNING</ft-icon>
|
|
220
220
|
<div>
|
|
221
|
-
${this.is404Error()
|
|
221
|
+
${this.is404Error()?$i.messages.topicMissingAdvice():$i.messages.somethingWentWrong()}
|
|
222
222
|
</div>
|
|
223
223
|
</div>
|
|
224
|
-
`;const i=null!==(e=null===(t=this.map)||void 0===t?void 0:t.contentStyles.customCssClasses.join(" "))&&void 0!==e?e:"";return
|
|
224
|
+
`;const i=null!==(e=null===(t=this.map)||void 0===t?void 0:t.contentStyles.customCssClasses.join(" "))&&void 0!==e?e:"";return oe`
|
|
225
225
|
<div class="depth-${null===(o=this.tocNode)||void 0===o?void 0:o.depth} content-locale-${null===(r=this.map)||void 0===r?void 0:r.lang} ${i}">
|
|
226
|
-
${null!=this.content?
|
|
226
|
+
${null!=this.content?ti(`${this.content}`):ie}
|
|
227
227
|
</div>
|
|
228
|
-
`}is404Error(){return 404===this.error.status}}
|
|
228
|
+
`}is404Error(){return 404===this.error.status}}Zi.styles=[Dr,$e],Mi([Pe()],Zi.prototype,"map",void 0),Mi([Pe()],Zi.prototype,"scrollTarget",void 0),Mi([I()],Zi.prototype,"content",void 0),Mi([I()],Zi.prototype,"error",void 0),Mi([Pe({selector:(t,e)=>e.disableContextInteractions?"":t.searchInDocumentQuery})],Zi.prototype,"searchInDocumentQuery",void 0),Mi([U({attribute:!1})],Zi.prototype,"contentPreprocessor",void 0),Mi([U({attribute:!1})],Zi.prototype,"onContentAvailable",void 0),Mi([W("section.topic")],Zi.prototype,"topicContainer",void 0),K("ft-reader-topic-content")(Zi),t.FtReaderTopicContent=Zi,t.FtReaderTopicContentCssVariables=Fr,t.styles=Dr}({});
|