@govtechsg/sgds-web-component 3.26.1-rc.0 → 3.26.1-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/QuantityToggle/index.umd.min.js +22 -22
- package/components/QuantityToggle/index.umd.min.js.map +1 -1
- package/components/QuantityToggle/sgds-quantity-toggle.js +9 -11
- package/components/QuantityToggle/sgds-quantity-toggle.js.map +1 -1
- package/components/index.umd.min.js +69 -69
- package/components/index.umd.min.js.map +1 -1
- package/css/fouc.css +1 -1
- package/custom-elements.json +392 -376
- package/index.umd.min.js +63 -63
- package/index.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/react/components/QuantityToggle/sgds-quantity-toggle.cjs.js +9 -11
- package/react/components/QuantityToggle/sgds-quantity-toggle.cjs.js.map +1 -1
- package/react/components/QuantityToggle/sgds-quantity-toggle.js +9 -11
- package/react/components/QuantityToggle/sgds-quantity-toggle.js.map +1 -1
- package/react/index.cjs.js +6 -6
- package/react/index.d.ts +1 -1
- package/react/index.js +1 -1
- package/types/react.d.ts +16 -16
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
* Copyright 2019 Google LLC
|
|
5
5
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
6
6
|
*/
|
|
7
|
-
const t=globalThis,l=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),i=new WeakMap;class o{constructor(e,t,l){if(this._$cssResult$=!0,l!==r)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this._strings=t}get styleSheet(){let e=this._styleSheet;const t=this._strings;if(l&&void 0===e){const l=void 0!==t&&1===t.length;l&&(e=i.get(t)),void 0===e&&((this._styleSheet=e=new CSSStyleSheet).replaceSync(this.cssText),l&&i.set(t,e))}return e}toString(){return this.cssText}}const n=(e,...t)=>{const l=1===e.length?e[0]:t.reduce((t,l,r)=>t+(e=>{if(!0===e._$cssResult$)return e.cssText;if("number"==typeof e)return e;throw new Error(`Value passed to 'css' function must be a 'css' function result: ${e}. Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.`)})(l)+e[r+1],e[0]);return new o(l,e,r)},a=e=>{let t="";for(const l of e.cssRules)t+=l.cssText;return new o("string"==typeof(l=t)?l:String(l),void 0,r);var l},s=l?e=>e:e=>e instanceof CSSStyleSheet?a(e):e,{is:c,defineProperty:d,getOwnPropertyDescriptor:h,getOwnPropertyNames:v,getOwnPropertySymbols:u,getPrototypeOf:p}=Object,g=globalThis;let f;const w=g.trustedTypes,m=w?w.emptyScript:"",_=g.reactiveElementPolyfillSupportDevMode;g.litIssuedWarnings??=new Set,f=(e,t)=>{t+=` See https://lit.dev/msg/${e} for more information.`,g.litIssuedWarnings.has(t)||g.litIssuedWarnings.has(e)||(console.warn(t),g.litIssuedWarnings.add(t))},queueMicrotask(()=>{f("dev-mode","Lit is in dev mode. Not recommended for production!"),g.ShadyDOM?.inUse&&void 0===_&&f("polyfill-support-missing","Shadow DOM is being polyfilled via `ShadyDOM` but the `polyfill-support` module has not been loaded.")});const b=(e,t)=>e,x={toAttribute(e,t){switch(t){case Boolean:e=e?m:null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){let l=e;switch(t){case Boolean:l=null!==e;break;case Number:l=null===e?null:Number(e);break;case Object:case Array:try{l=JSON.parse(e)}catch(e){l=null}}return l}},Z=(e,t)=>!c(e,t),C={attribute:!0,type:String,converter:x,reflect:!1,useDefault:!1,hasChanged:Z};Symbol.metadata??=Symbol("metadata"),g.litPropertyMetadata??=new WeakMap;class y extends HTMLElement{static addInitializer(e){this.__prepare(),(this._initializers??=[]).push(e)}static get observedAttributes(){return this.finalize(),this.__attributeToPropertyMap&&[...this.__attributeToPropertyMap.keys()]}static createProperty(e,t=C){if(t.state&&(t.attribute=!1),this.__prepare(),this.prototype.hasOwnProperty(e)&&((t=Object.create(t)).wrapped=!0),this.elementProperties.set(e,t),!t.noAccessor){const l=Symbol.for(`${String(e)} (@property() cache)`),r=this.getPropertyDescriptor(e,l,t);void 0!==r&&d(this.prototype,e,r)}}static getPropertyDescriptor(e,t,l){const{get:r,set:i}=h(this.prototype,e)??{get(){return this[t]},set(e){this[t]=e}};if(null==r){if("value"in(h(this.prototype,e)??{}))throw new Error(`Field ${JSON.stringify(String(e))} on ${this.name} was declared as a reactive property but it's actually declared as a value on the prototype. Usually this is due to using @property or @state on a method.`);f("reactive-property-without-getter",`Field ${JSON.stringify(String(e))} on ${this.name} was declared as a reactive property but it does not have a getter. This will be an error in a future version of Lit.`)}return{get:r,set(t){const o=r?.call(this);i?.call(this,t),this.requestUpdate(e,o,l)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??C}static __prepare(){if(this.hasOwnProperty(b("elementProperties")))return;const e=p(this);e.finalize(),void 0!==e._initializers&&(this._initializers=[...e._initializers]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(b("finalized")))return;if(this.finalized=!0,this.__prepare(),this.hasOwnProperty(b("properties"))){const e=this.properties,t=[...v(e),...u(e)];for(const l of t)this.createProperty(l,e[l])}const e=this[Symbol.metadata];if(null!==e){const t=litPropertyMetadata.get(e);if(void 0!==t)for(const[e,l]of t)this.elementProperties.set(e,l)}this.__attributeToPropertyMap=new Map;for(const[e,t]of this.elementProperties){const l=this.__attributeNameForProperty(e,t);void 0!==l&&this.__attributeToPropertyMap.set(l,e)}this.elementStyles=this.finalizeStyles(this.styles),this.hasOwnProperty("createProperty")&&f("no-override-create-property","Overriding ReactiveElement.createProperty() is deprecated. The override will not be called with standard decorators"),this.hasOwnProperty("getPropertyDescriptor")&&f("no-override-get-property-descriptor","Overriding ReactiveElement.getPropertyDescriptor() is deprecated. The override will not be called with standard decorators")}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const l=new Set(e.flat(1/0).reverse());for(const e of l)t.unshift(s(e))}else void 0!==e&&t.push(s(e));return t}static __attributeNameForProperty(e,t){const l=t.attribute;return!1===l?void 0:"string"==typeof l?l:"string"==typeof e?e.toLowerCase():void 0}constructor(){super(),this.__instanceProperties=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this.__reflectingProperty=null,this.__initialize()}__initialize(){this.__updatePromise=new Promise(e=>this.enableUpdating=e),this._$changedProperties=new Map,this.__saveInstanceProperties(),this.requestUpdate(),this.constructor._initializers?.forEach(e=>e(this))}addController(e){(this.__controllers??=new Set).add(e),void 0!==this.renderRoot&&this.isConnected&&e.hostConnected?.()}removeController(e){this.__controllers?.delete(e)}__saveInstanceProperties(){const e=new Map,t=this.constructor.elementProperties;for(const l of t.keys())this.hasOwnProperty(l)&&(e.set(l,this[l]),delete this[l]);e.size>0&&(this.__instanceProperties=e)}createRenderRoot(){const e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((e,r)=>{if(l)e.adoptedStyleSheets=r.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const l of r){const r=document.createElement("style"),i=t.litNonce;void 0!==i&&r.setAttribute("nonce",i),r.textContent=l.cssText,e.appendChild(r)}})(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this.__controllers?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this.__controllers?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,t,l){this._$attributeToProperty(e,l)}__propertyToAttribute(e,t){const l=this.constructor.elementProperties.get(e),r=this.constructor.__attributeNameForProperty(e,l);if(void 0!==r&&!0===l.reflect){const i=(void 0!==l.converter?.toAttribute?l.converter:x).toAttribute(t,l.type);this.constructor.enabledWarnings.includes("migration")&&void 0===i&&f("undefined-attribute-value",`The attribute value for the ${e} property is undefined on element ${this.localName}. The attribute will be removed, but in the previous version of \`ReactiveElement\`, the attribute would not have changed.`),this.__reflectingProperty=e,null==i?this.removeAttribute(r):this.setAttribute(r,i),this.__reflectingProperty=null}}_$attributeToProperty(e,t){const l=this.constructor,r=l.__attributeToPropertyMap.get(e);if(void 0!==r&&this.__reflectingProperty!==r){const e=l.getPropertyOptions(r),i="function"==typeof e.converter?{fromAttribute:e.converter}:void 0!==e.converter?.fromAttribute?e.converter:x;this.__reflectingProperty=r;const o=i.fromAttribute(t,e.type);this[r]=o??this.__defaultValues?.get(r)??o,this.__reflectingProperty=null}}requestUpdate(e,t,l,r=!1,i){if(void 0!==e){e instanceof Event&&f("","The requestUpdate() method was called with an Event as the property name. This is probably a mistake caused by binding this.requestUpdate as an event listener. Instead bind a function that will call it with no arguments: () => this.requestUpdate()");const o=this.constructor;!1===r&&(i=this[e]),l??=o.getPropertyOptions(e);if(!((l.hasChanged??Z)(i,t)||l.useDefault&&l.reflect&&i===this.__defaultValues?.get(e)&&!this.hasAttribute(o.__attributeNameForProperty(e,l))))return;this._$changeProperty(e,t,l)}!1===this.isUpdatePending&&(this.__updatePromise=this.__enqueueUpdate())}_$changeProperty(e,t,{useDefault:l,reflect:r,wrapped:i},o){l&&!(this.__defaultValues??=new Map).has(e)&&(this.__defaultValues.set(e,o??t??this[e]),!0!==i||void 0!==o)||(this._$changedProperties.has(e)||(this.hasUpdated||l||(t=void 0),this._$changedProperties.set(e,t)),!0===r&&this.__reflectingProperty!==e&&(this.__reflectingProperties??=new Set).add(e))}async __enqueueUpdate(){this.isUpdatePending=!0;try{await this.__updatePromise}catch(e){Promise.reject(e)}const e=this.scheduleUpdate();return null!=e&&await e,!this.isUpdatePending}scheduleUpdate(){const e=this.performUpdate();return this.constructor.enabledWarnings.includes("async-perform-update")&&"function"==typeof e?.then&&f("async-perform-update",`Element ${this.localName} returned a Promise from performUpdate(). This behavior is deprecated and will be removed in a future version of ReactiveElement.`),e}performUpdate(){if(!this.isUpdatePending)return;var e;if(e={kind:"update"},g.emitLitDebugLogEvents&&g.dispatchEvent(new CustomEvent("lit-debug",{detail:e})),!this.hasUpdated){this.renderRoot??=this.createRenderRoot();{const e=[...this.constructor.elementProperties.keys()].filter(e=>this.hasOwnProperty(e)&&e in p(this));if(e.length)throw new Error(`The following properties on element ${this.localName} will not trigger updates as expected because they are set using class fields: ${e.join(", ")}. Native class fields and some compiled output will overwrite accessors used for detecting changes. See https://lit.dev/msg/class-field-shadowing for more information.`)}if(this.__instanceProperties){for(const[e,t]of this.__instanceProperties)this[e]=t;this.__instanceProperties=void 0}const e=this.constructor.elementProperties;if(e.size>0)for(const[t,l]of e){const{wrapped:e}=l,r=this[t];!0!==e||this._$changedProperties.has(t)||void 0===r||this._$changeProperty(t,void 0,l,r)}}let t=!1;const l=this._$changedProperties;try{t=this.shouldUpdate(l),t?(this.willUpdate(l),this.__controllers?.forEach(e=>e.hostUpdate?.()),this.update(l)):this.__markUpdated()}catch(e){throw t=!1,this.__markUpdated(),e}t&&this._$didUpdate(l)}willUpdate(e){}_$didUpdate(e){this.__controllers?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e),this.isUpdatePending&&this.constructor.enabledWarnings.includes("change-in-update")&&f("change-in-update",`Element ${this.localName} scheduled an update (generally because a property was set) after an update completed, causing a new update to be scheduled. This is inefficient and should be avoided unless the next update can only be scheduled as a side effect of the previous update.`)}__markUpdated(){this._$changedProperties=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this.__updatePromise}shouldUpdate(e){return!0}update(e){this.__reflectingProperties&&=this.__reflectingProperties.forEach(e=>this.__propertyToAttribute(e,this[e])),this.__markUpdated()}updated(e){}firstUpdated(e){}}y.elementStyles=[],y.shadowRootOptions={mode:"open"},y[b("elementProperties")]=new Map,y[b("finalized")]=new Map,_?.({ReactiveElement:y});{y.enabledWarnings=["change-in-update","async-perform-update"];const e=function(e){e.hasOwnProperty(b("enabledWarnings"))||(e.enabledWarnings=e.enabledWarnings.slice())};y.enableWarning=function(t){e(this),this.enabledWarnings.includes(t)||this.enabledWarnings.push(t)},y.disableWarning=function(t){e(this);const l=this.enabledWarnings.indexOf(t);l>=0&&this.enabledWarnings.splice(l,1)}}
|
|
7
|
+
const t=globalThis,l=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),i=new WeakMap;class o{constructor(e,t,l){if(this._$cssResult$=!0,l!==r)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this._strings=t}get styleSheet(){let e=this._styleSheet;const t=this._strings;if(l&&void 0===e){const l=void 0!==t&&1===t.length;l&&(e=i.get(t)),void 0===e&&((this._styleSheet=e=new CSSStyleSheet).replaceSync(this.cssText),l&&i.set(t,e))}return e}toString(){return this.cssText}}const n=(e,...t)=>{const l=1===e.length?e[0]:t.reduce((t,l,r)=>t+(e=>{if(!0===e._$cssResult$)return e.cssText;if("number"==typeof e)return e;throw new Error(`Value passed to 'css' function must be a 'css' function result: ${e}. Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.`)})(l)+e[r+1],e[0]);return new o(l,e,r)},a=e=>{let t="";for(const l of e.cssRules)t+=l.cssText;return new o("string"==typeof(l=t)?l:String(l),void 0,r);var l},s=l?e=>e:e=>e instanceof CSSStyleSheet?a(e):e,{is:c,defineProperty:d,getOwnPropertyDescriptor:h,getOwnPropertyNames:v,getOwnPropertySymbols:u,getPrototypeOf:p}=Object,g=globalThis;let f;const w=g.trustedTypes,m=w?w.emptyScript:"",_=g.reactiveElementPolyfillSupportDevMode;g.litIssuedWarnings??=new Set,f=(e,t)=>{t+=` See https://lit.dev/msg/${e} for more information.`,g.litIssuedWarnings.has(t)||g.litIssuedWarnings.has(e)||(console.warn(t),g.litIssuedWarnings.add(t))},queueMicrotask(()=>{f("dev-mode","Lit is in dev mode. Not recommended for production!"),g.ShadyDOM?.inUse&&void 0===_&&f("polyfill-support-missing","Shadow DOM is being polyfilled via `ShadyDOM` but the `polyfill-support` module has not been loaded.")});const b=(e,t)=>e,Z={toAttribute(e,t){switch(t){case Boolean:e=e?m:null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){let l=e;switch(t){case Boolean:l=null!==e;break;case Number:l=null===e?null:Number(e);break;case Object:case Array:try{l=JSON.parse(e)}catch(e){l=null}}return l}},x=(e,t)=>!c(e,t),C={attribute:!0,type:String,converter:Z,reflect:!1,useDefault:!1,hasChanged:x};Symbol.metadata??=Symbol("metadata"),g.litPropertyMetadata??=new WeakMap;class y extends HTMLElement{static addInitializer(e){this.__prepare(),(this._initializers??=[]).push(e)}static get observedAttributes(){return this.finalize(),this.__attributeToPropertyMap&&[...this.__attributeToPropertyMap.keys()]}static createProperty(e,t=C){if(t.state&&(t.attribute=!1),this.__prepare(),this.prototype.hasOwnProperty(e)&&((t=Object.create(t)).wrapped=!0),this.elementProperties.set(e,t),!t.noAccessor){const l=Symbol.for(`${String(e)} (@property() cache)`),r=this.getPropertyDescriptor(e,l,t);void 0!==r&&d(this.prototype,e,r)}}static getPropertyDescriptor(e,t,l){const{get:r,set:i}=h(this.prototype,e)??{get(){return this[t]},set(e){this[t]=e}};if(null==r){if("value"in(h(this.prototype,e)??{}))throw new Error(`Field ${JSON.stringify(String(e))} on ${this.name} was declared as a reactive property but it's actually declared as a value on the prototype. Usually this is due to using @property or @state on a method.`);f("reactive-property-without-getter",`Field ${JSON.stringify(String(e))} on ${this.name} was declared as a reactive property but it does not have a getter. This will be an error in a future version of Lit.`)}return{get:r,set(t){const o=r?.call(this);i?.call(this,t),this.requestUpdate(e,o,l)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??C}static __prepare(){if(this.hasOwnProperty(b("elementProperties")))return;const e=p(this);e.finalize(),void 0!==e._initializers&&(this._initializers=[...e._initializers]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(b("finalized")))return;if(this.finalized=!0,this.__prepare(),this.hasOwnProperty(b("properties"))){const e=this.properties,t=[...v(e),...u(e)];for(const l of t)this.createProperty(l,e[l])}const e=this[Symbol.metadata];if(null!==e){const t=litPropertyMetadata.get(e);if(void 0!==t)for(const[e,l]of t)this.elementProperties.set(e,l)}this.__attributeToPropertyMap=new Map;for(const[e,t]of this.elementProperties){const l=this.__attributeNameForProperty(e,t);void 0!==l&&this.__attributeToPropertyMap.set(l,e)}this.elementStyles=this.finalizeStyles(this.styles),this.hasOwnProperty("createProperty")&&f("no-override-create-property","Overriding ReactiveElement.createProperty() is deprecated. The override will not be called with standard decorators"),this.hasOwnProperty("getPropertyDescriptor")&&f("no-override-get-property-descriptor","Overriding ReactiveElement.getPropertyDescriptor() is deprecated. The override will not be called with standard decorators")}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const l=new Set(e.flat(1/0).reverse());for(const e of l)t.unshift(s(e))}else void 0!==e&&t.push(s(e));return t}static __attributeNameForProperty(e,t){const l=t.attribute;return!1===l?void 0:"string"==typeof l?l:"string"==typeof e?e.toLowerCase():void 0}constructor(){super(),this.__instanceProperties=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this.__reflectingProperty=null,this.__initialize()}__initialize(){this.__updatePromise=new Promise(e=>this.enableUpdating=e),this._$changedProperties=new Map,this.__saveInstanceProperties(),this.requestUpdate(),this.constructor._initializers?.forEach(e=>e(this))}addController(e){(this.__controllers??=new Set).add(e),void 0!==this.renderRoot&&this.isConnected&&e.hostConnected?.()}removeController(e){this.__controllers?.delete(e)}__saveInstanceProperties(){const e=new Map,t=this.constructor.elementProperties;for(const l of t.keys())this.hasOwnProperty(l)&&(e.set(l,this[l]),delete this[l]);e.size>0&&(this.__instanceProperties=e)}createRenderRoot(){const e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((e,r)=>{if(l)e.adoptedStyleSheets=r.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const l of r){const r=document.createElement("style"),i=t.litNonce;void 0!==i&&r.setAttribute("nonce",i),r.textContent=l.cssText,e.appendChild(r)}})(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this.__controllers?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this.__controllers?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,t,l){this._$attributeToProperty(e,l)}__propertyToAttribute(e,t){const l=this.constructor.elementProperties.get(e),r=this.constructor.__attributeNameForProperty(e,l);if(void 0!==r&&!0===l.reflect){const i=(void 0!==l.converter?.toAttribute?l.converter:Z).toAttribute(t,l.type);this.constructor.enabledWarnings.includes("migration")&&void 0===i&&f("undefined-attribute-value",`The attribute value for the ${e} property is undefined on element ${this.localName}. The attribute will be removed, but in the previous version of \`ReactiveElement\`, the attribute would not have changed.`),this.__reflectingProperty=e,null==i?this.removeAttribute(r):this.setAttribute(r,i),this.__reflectingProperty=null}}_$attributeToProperty(e,t){const l=this.constructor,r=l.__attributeToPropertyMap.get(e);if(void 0!==r&&this.__reflectingProperty!==r){const e=l.getPropertyOptions(r),i="function"==typeof e.converter?{fromAttribute:e.converter}:void 0!==e.converter?.fromAttribute?e.converter:Z;this.__reflectingProperty=r;const o=i.fromAttribute(t,e.type);this[r]=o??this.__defaultValues?.get(r)??o,this.__reflectingProperty=null}}requestUpdate(e,t,l,r=!1,i){if(void 0!==e){e instanceof Event&&f("","The requestUpdate() method was called with an Event as the property name. This is probably a mistake caused by binding this.requestUpdate as an event listener. Instead bind a function that will call it with no arguments: () => this.requestUpdate()");const o=this.constructor;!1===r&&(i=this[e]),l??=o.getPropertyOptions(e);if(!((l.hasChanged??x)(i,t)||l.useDefault&&l.reflect&&i===this.__defaultValues?.get(e)&&!this.hasAttribute(o.__attributeNameForProperty(e,l))))return;this._$changeProperty(e,t,l)}!1===this.isUpdatePending&&(this.__updatePromise=this.__enqueueUpdate())}_$changeProperty(e,t,{useDefault:l,reflect:r,wrapped:i},o){l&&!(this.__defaultValues??=new Map).has(e)&&(this.__defaultValues.set(e,o??t??this[e]),!0!==i||void 0!==o)||(this._$changedProperties.has(e)||(this.hasUpdated||l||(t=void 0),this._$changedProperties.set(e,t)),!0===r&&this.__reflectingProperty!==e&&(this.__reflectingProperties??=new Set).add(e))}async __enqueueUpdate(){this.isUpdatePending=!0;try{await this.__updatePromise}catch(e){Promise.reject(e)}const e=this.scheduleUpdate();return null!=e&&await e,!this.isUpdatePending}scheduleUpdate(){const e=this.performUpdate();return this.constructor.enabledWarnings.includes("async-perform-update")&&"function"==typeof e?.then&&f("async-perform-update",`Element ${this.localName} returned a Promise from performUpdate(). This behavior is deprecated and will be removed in a future version of ReactiveElement.`),e}performUpdate(){if(!this.isUpdatePending)return;var e;if(e={kind:"update"},g.emitLitDebugLogEvents&&g.dispatchEvent(new CustomEvent("lit-debug",{detail:e})),!this.hasUpdated){this.renderRoot??=this.createRenderRoot();{const e=[...this.constructor.elementProperties.keys()].filter(e=>this.hasOwnProperty(e)&&e in p(this));if(e.length)throw new Error(`The following properties on element ${this.localName} will not trigger updates as expected because they are set using class fields: ${e.join(", ")}. Native class fields and some compiled output will overwrite accessors used for detecting changes. See https://lit.dev/msg/class-field-shadowing for more information.`)}if(this.__instanceProperties){for(const[e,t]of this.__instanceProperties)this[e]=t;this.__instanceProperties=void 0}const e=this.constructor.elementProperties;if(e.size>0)for(const[t,l]of e){const{wrapped:e}=l,r=this[t];!0!==e||this._$changedProperties.has(t)||void 0===r||this._$changeProperty(t,void 0,l,r)}}let t=!1;const l=this._$changedProperties;try{t=this.shouldUpdate(l),t?(this.willUpdate(l),this.__controllers?.forEach(e=>e.hostUpdate?.()),this.update(l)):this.__markUpdated()}catch(e){throw t=!1,this.__markUpdated(),e}t&&this._$didUpdate(l)}willUpdate(e){}_$didUpdate(e){this.__controllers?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e),this.isUpdatePending&&this.constructor.enabledWarnings.includes("change-in-update")&&f("change-in-update",`Element ${this.localName} scheduled an update (generally because a property was set) after an update completed, causing a new update to be scheduled. This is inefficient and should be avoided unless the next update can only be scheduled as a side effect of the previous update.`)}__markUpdated(){this._$changedProperties=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this.__updatePromise}shouldUpdate(e){return!0}update(e){this.__reflectingProperties&&=this.__reflectingProperties.forEach(e=>this.__propertyToAttribute(e,this[e])),this.__markUpdated()}updated(e){}firstUpdated(e){}}y.elementStyles=[],y.shadowRootOptions={mode:"open"},y[b("elementProperties")]=new Map,y[b("finalized")]=new Map,_?.({ReactiveElement:y});{y.enabledWarnings=["change-in-update","async-perform-update"];const e=function(e){e.hasOwnProperty(b("enabledWarnings"))||(e.enabledWarnings=e.enabledWarnings.slice())};y.enableWarning=function(t){e(this),this.enabledWarnings.includes(t)||this.enabledWarnings.push(t)},y.disableWarning=function(t){e(this);const l=this.enabledWarnings.indexOf(t);l>=0&&this.enabledWarnings.splice(l,1)}}
|
|
8
8
|
/**
|
|
9
9
|
* @license
|
|
10
10
|
* Copyright 2017 Google LLC
|
|
11
11
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
12
12
|
*/
|
|
13
|
-
let M;(g.reactiveElementVersions??=[]).push("2.1.2"),g.reactiveElementVersions.length>1&&queueMicrotask(()=>{f("multiple-versions","Multiple versions of Lit loaded. Loading multiple versions is not recommended.")}),globalThis.litIssuedWarnings??=new Set,M=(e,t)=>{t+=` See https://lit.dev/msg/${e} for more information.`,globalThis.litIssuedWarnings.has(t)||globalThis.litIssuedWarnings.has(e)||(console.warn(t),globalThis.litIssuedWarnings.add(t))};const V={attribute:!0,type:String,converter:
|
|
13
|
+
let M;(g.reactiveElementVersions??=[]).push("2.1.2"),g.reactiveElementVersions.length>1&&queueMicrotask(()=>{f("multiple-versions","Multiple versions of Lit loaded. Loading multiple versions is not recommended.")}),globalThis.litIssuedWarnings??=new Set,M=(e,t)=>{t+=` See https://lit.dev/msg/${e} for more information.`,globalThis.litIssuedWarnings.has(t)||globalThis.litIssuedWarnings.has(e)||(console.warn(t),globalThis.litIssuedWarnings.add(t))};const V={attribute:!0,type:String,converter:Z,reflect:!1,hasChanged:x},H=(e=V,t,l)=>{const{kind:r,metadata:i}=l;null==i&&M("missing-class-metadata",`The class ${t} is missing decorator metadata. This could mean that you're using a compiler that supports decorators but doesn't support decorator metadata, such as TypeScript 5.1. Please update your compiler.`);let o=globalThis.litPropertyMetadata.get(i);if(void 0===o&&globalThis.litPropertyMetadata.set(i,o=new Map),"setter"===r&&((e=Object.create(e)).wrapped=!0),o.set(l.name,e),"accessor"===r){const{name:r}=l;return{set(l){const i=t.get.call(this);t.set.call(this,l),this.requestUpdate(r,i,e,!0,l)},init(t){return void 0!==t&&this._$changeProperty(r,void 0,e,t),t}}}if("setter"===r){const{name:r}=l;return function(l){const i=this[r];t.call(this,l),this.requestUpdate(r,i,e,!0,l)}}throw new Error(`Unsupported decorator location: ${r}`)};function P(e){return(t,l)=>"object"==typeof l?H(e,t,l):((e,t,l)=>{const r=t.hasOwnProperty(l);return t.constructor.createProperty(l,e),r?Object.getOwnPropertyDescriptor(t,l):void 0})(e,t,l)}
|
|
14
14
|
/**
|
|
15
15
|
* @license
|
|
16
16
|
* Copyright 2017 Google LLC
|
|
@@ -35,7 +35,7 @@ let M;(g.reactiveElementVersions??=[]).push("2.1.2"),g.reactiveElementVersions.l
|
|
|
35
35
|
* @license
|
|
36
36
|
* Copyright 2017 Google LLC
|
|
37
37
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
38
|
-
*/globalThis.litIssuedWarnings??=new Set,O=(e,t)=>{t+=e?` See https://lit.dev/msg/${e} for more information.`:"",globalThis.litIssuedWarnings.has(t)||globalThis.litIssuedWarnings.has(e)||(console.warn(t),globalThis.litIssuedWarnings.add(t))};const j=globalThis,k=e=>{j.emitLitDebugLogEvents&&j.dispatchEvent(new CustomEvent("lit-debug",{detail:e}))};let L,A=0;j.litIssuedWarnings??=new Set,L=(e,t)=>{t+=e?` See https://lit.dev/msg/${e} for more information.`:"",j.litIssuedWarnings.has(t)||j.litIssuedWarnings.has(e)||(console.warn(t),j.litIssuedWarnings.add(t))},queueMicrotask(()=>{L("dev-mode","Lit is in dev mode. Not recommended for production!")});const I=j.ShadyDOM?.inUse&&!0===j.ShadyDOM?.noPatch?j.ShadyDOM.wrap:e=>e,T=j.trustedTypes,E=T?T.createPolicy("lit-html",{createHTML:e=>e}):void 0,N=e=>e,U=(e,t,l)=>N,F=e=>{if(pe!==U)throw new Error("Attempted to overwrite existing lit-html security policy. setSanitizeDOMValueFactory should be called at most once.");pe=e},R=()=>{pe=U},D=(e,t,l)=>pe(e,t,l),q="$lit$",W=`lit$${Math.random().toFixed(9).slice(2)}$`,G="?"+W,J=`<${G}>`,K=document,Y=()=>K.createComment(""),X=e=>null===e||"object"!=typeof e&&"function"!=typeof e,Q=Array.isArray,ee="[ \t\n\f\r]",te=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,le=/-->/g,re=/>/g,ie=new RegExp(`>|${ee}(?:([^\\s"'>=/]+)(${ee}*=${ee}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),oe=/'/g,ne=/"/g,ae=/^(?:script|style|textarea|title)$/i,se=(ce=1,(e,...t)=>(e.some(e=>void 0===e)&&console.warn("Some template strings are undefined.\nThis is probably caused by illegal octal escape sequences."),t.some(e=>e?._$litStatic$)&&L("","Static values 'literal' or 'unsafeStatic' cannot be used as values to non-static templates.\nPlease use the static 'html' tag function. See https://lit.dev/docs/templates/expressions/#static-expressions"),{_$litType$:ce,strings:e,values:t}));var ce;const de=Symbol.for("lit-noChange"),he=Symbol.for("lit-nothing"),ve=new WeakMap,ue=K.createTreeWalker(K,129);let pe=U;function ge(e,t){if(!Q(e)||!e.hasOwnProperty("raw")){let e="invalid template strings array";throw e="\n Internal Error: expected template strings to be an array\n with a 'raw' field. Faking a template strings array by\n calling html or svg like an ordinary function is effectively\n the same as calling unsafeHtml and can lead to major security\n issues, e.g. opening your code up to XSS attacks.\n If you're using the html or svg tagged template functions normally\n and still seeing this error, please file a bug at\n https://github.com/lit/lit/issues/new?template=bug_report.md\n and include information about your build tooling, if any.\n ".trim().replace(/\n */g,"\n"),new Error(e)}return void 0!==E?E.createHTML(t):t}class fe{constructor({strings:e,_$litType$:t},l){let r;this.parts=[];let i=0,o=0;const n=e.length-1,a=this.parts,[s,c]=((e,t)=>{const l=e.length-1,r=[];let i,o=2===t?"<svg>":3===t?"<math>":"",n=te;for(let t=0;t<l;t++){const l=e[t];let a,s,c=-1,d=0;for(;d<l.length&&(n.lastIndex=d,s=n.exec(l),null!==s);)if(d=n.lastIndex,n===te){if("!--"===s[1])n=le;else if(void 0!==s[1])n=re;else if(void 0!==s[2])ae.test(s[2])&&(i=new RegExp(`</${s[2]}`,"g")),n=ie;else if(void 0!==s[3])throw new Error("Bindings in tag names are not supported. Please use static templates instead. See https://lit.dev/docs/templates/expressions/#static-expressions")}else n===ie?">"===s[0]?(n=i??te,c=-1):void 0===s[1]?c=-2:(c=n.lastIndex-s[2].length,a=s[1],n=void 0===s[3]?ie:'"'===s[3]?ne:oe):n===ne||n===oe?n=ie:n===le||n===re?n=te:(n=ie,i=void 0);console.assert(-1===c||n===ie||n===oe||n===ne,"unexpected parse state B");const h=n===ie&&e[t+1].startsWith("/>")?" ":"";o+=n===te?l+J:c>=0?(r.push(a),l.slice(0,c)+q+l.slice(c)+W+h):l+W+(-2===c?t:h)}return[ge(e,o+(e[l]||"<?>")+(2===t?"</svg>":3===t?"</math>":"")),r]})(e,t);if(this.el=fe.createElement(s,l),ue.currentNode=this.el.content,2===t||3===t){const e=this.el.content.firstChild;e.replaceWith(...e.childNodes)}for(;null!==(r=ue.nextNode())&&a.length<n;){if(1===r.nodeType){{const e=r.localName;if(/^(?:textarea|template)$/i.test(e)&&r.innerHTML.includes(W)){const t=`Expressions are not supported inside \`${e}\` elements. See https://lit.dev/msg/expression-in-${e} for more information.`;if("template"===e)throw new Error(t);L("",t)}}if(r.hasAttributes())for(const e of r.getAttributeNames())if(e.endsWith(q)){const t=c[o++],l=r.getAttribute(e).split(W),n=/([.?@])?(.*)/.exec(t);a.push({type:1,index:i,name:n[2],strings:l,ctor:"."===n[1]?xe:"?"===n[1]?Ze:"@"===n[1]?Ce:be}),r.removeAttribute(e)}else e.startsWith(W)&&(a.push({type:6,index:i}),r.removeAttribute(e));if(ae.test(r.tagName)){const e=r.textContent.split(W),t=e.length-1;if(t>0){r.textContent=T?T.emptyScript:"";for(let l=0;l<t;l++)r.append(e[l],Y()),ue.nextNode(),a.push({type:2,index:++i});r.append(e[t],Y())}}}else if(8===r.nodeType){if(r.data===G)a.push({type:2,index:i});else{let e=-1;for(;-1!==(e=r.data.indexOf(W,e+1));)a.push({type:7,index:i}),e+=W.length-1}}i++}if(c.length!==o)throw new Error('Detected duplicate attribute bindings. This occurs if your template has duplicate attributes on an element tag. For example "<input ?disabled=${true} ?disabled=${false}>" contains a duplicate "disabled" attribute. The error was detected in the following template: \n`'+e.join("${...}")+"`");k&&k({kind:"template prep",template:this,clonableTemplate:this.el,parts:this.parts,strings:e})}static createElement(e,t){const l=K.createElement("template");return l.innerHTML=e,l}}function we(e,t,l=e,r){if(t===de)return t;let i=void 0!==r?l.__directives?.[r]:l.__directive;const o=X(t)?void 0:t._$litDirective$;return i?.constructor!==o&&(i?._$notifyDirectiveConnectionChanged?.(!1),void 0===o?i=void 0:(i=new o(e),i._$initialize(e,l,r)),void 0!==r?(l.__directives??=[])[r]=i:l.__directive=i),void 0!==i&&(t=we(e,i._$resolve(e,t.values),i,r)),t}class me{constructor(e,t){this._$parts=[],this._$disconnectableChildren=void 0,this._$template=e,this._$parent=t}get parentNode(){return this._$parent.parentNode}get _$isConnected(){return this._$parent._$isConnected}_clone(e){const{el:{content:t},parts:l}=this._$template,r=(e?.creationScope??K).importNode(t,!0);ue.currentNode=r;let i=ue.nextNode(),o=0,n=0,a=l[0];for(;void 0!==a;){if(o===a.index){let t;2===a.type?t=new _e(i,i.nextSibling,this,e):1===a.type?t=new a.ctor(i,a.name,a.strings,this,e):6===a.type&&(t=new ye(i,this,e)),this._$parts.push(t),a=l[++n]}o!==a?.index&&(i=ue.nextNode(),o++)}return ue.currentNode=K,r}_update(e){let t=0;for(const l of this._$parts)void 0!==l&&(k&&k({kind:"set part",part:l,value:e[t],valueIndex:t,values:e,templateInstance:this}),void 0!==l.strings?(l._$setValue(e,l,t),t+=l.strings.length-2):l._$setValue(e[t])),t++}}class _e{get _$isConnected(){return this._$parent?._$isConnected??this.__isConnected}constructor(e,t,l,r){this.type=2,this._$committedValue=he,this._$disconnectableChildren=void 0,this._$startNode=e,this._$endNode=t,this._$parent=l,this.options=r,this.__isConnected=r?.isConnected??!0,this._textSanitizer=void 0}get parentNode(){let e=I(this._$startNode).parentNode;const t=this._$parent;return void 0!==t&&11===e?.nodeType&&(e=t.parentNode),e}get startNode(){return this._$startNode}get endNode(){return this._$endNode}_$setValue(e,t=this){if(null===this.parentNode)throw new Error("This `ChildPart` has no `parentNode` and therefore cannot accept a value. This likely means the element containing the part was manipulated in an unsupported way outside of Lit's control such that the part's marker nodes were ejected from DOM. For example, setting the element's `innerHTML` or `textContent` can do this.");if(e=we(this,e,t),X(e))e===he||null==e||""===e?(this._$committedValue!==he&&(k&&k({kind:"commit nothing to child",start:this._$startNode,end:this._$endNode,parent:this._$parent,options:this.options}),this._$clear()),this._$committedValue=he):e!==this._$committedValue&&e!==de&&this._commitText(e);else if(void 0!==e._$litType$)this._commitTemplateResult(e);else if(void 0!==e.nodeType){if(this.options?.host===e)return this._commitText("[probable mistake: rendered a template's host in itself (commonly caused by writing ${this} in a template]"),void console.warn("Attempted to render the template host",e,"inside itself. This is almost always a mistake, and in dev mode ","we render some warning text. In production however, we'll ","render it, which will usually result in an error, and sometimes ","in the element disappearing from the DOM.");this._commitNode(e)}else(e=>Q(e)||"function"==typeof e?.[Symbol.iterator])(e)?this._commitIterable(e):this._commitText(e)}_insert(e){return I(I(this._$startNode).parentNode).insertBefore(e,this._$endNode)}_commitNode(e){if(this._$committedValue!==e){if(this._$clear(),pe!==U){const e=this._$startNode.parentNode?.nodeName;if("STYLE"===e||"SCRIPT"===e){let t="Forbidden";throw t="STYLE"===e?"Lit does not support binding inside style nodes. This is a security risk, as style injection attacks can exfiltrate data and spoof UIs. Consider instead using css`...` literals to compose styles, and do dynamic styling with css custom properties, ::parts, <slot>s, and by mutating the DOM rather than stylesheets.":"Lit does not support binding inside script nodes. This is a security risk, as it could allow arbitrary code execution.",new Error(t)}}k&&k({kind:"commit node",start:this._$startNode,parent:this._$parent,value:e,options:this.options}),this._$committedValue=this._insert(e)}}_commitText(e){if(this._$committedValue!==he&&X(this._$committedValue)){const t=I(this._$startNode).nextSibling;void 0===this._textSanitizer&&(this._textSanitizer=D(t,"data","property")),e=this._textSanitizer(e),k&&k({kind:"commit text",node:t,value:e,options:this.options}),t.data=e}else{const t=K.createTextNode("");this._commitNode(t),void 0===this._textSanitizer&&(this._textSanitizer=D(t,"data","property")),e=this._textSanitizer(e),k&&k({kind:"commit text",node:t,value:e,options:this.options}),t.data=e}this._$committedValue=e}_commitTemplateResult(e){const{values:t,_$litType$:l}=e,r="number"==typeof l?this._$getTemplate(e):(void 0===l.el&&(l.el=fe.createElement(ge(l.h,l.h[0]),this.options)),l);if(this._$committedValue?._$template===r)k&&k({kind:"template updating",template:r,instance:this._$committedValue,parts:this._$committedValue._$parts,options:this.options,values:t}),this._$committedValue._update(t);else{const e=new me(r,this),l=e._clone(this.options);k&&k({kind:"template instantiated",template:r,instance:e,parts:e._$parts,options:this.options,fragment:l,values:t}),e._update(t),k&&k({kind:"template instantiated and updated",template:r,instance:e,parts:e._$parts,options:this.options,fragment:l,values:t}),this._commitNode(l),this._$committedValue=e}}_$getTemplate(e){let t=ve.get(e.strings);return void 0===t&&ve.set(e.strings,t=new fe(e)),t}_commitIterable(e){Q(this._$committedValue)||(this._$committedValue=[],this._$clear());const t=this._$committedValue;let l,r=0;for(const i of e)r===t.length?t.push(l=new _e(this._insert(Y()),this._insert(Y()),this,this.options)):l=t[r],l._$setValue(i),r++;r<t.length&&(this._$clear(l&&I(l._$endNode).nextSibling,r),t.length=r)}_$clear(e=I(this._$startNode).nextSibling,t){for(this._$notifyConnectionChanged?.(!1,!0,t);e!==this._$endNode;){const t=I(e).nextSibling;I(e).remove(),e=t}}setConnected(e){if(void 0!==this._$parent)throw new Error("part.setConnected() may only be called on a RootPart returned from render().");this.__isConnected=e,this._$notifyConnectionChanged?.(e)}}class be{get tagName(){return this.element.tagName}get _$isConnected(){return this._$parent._$isConnected}constructor(e,t,l,r,i){this.type=1,this._$committedValue=he,this._$disconnectableChildren=void 0,this.element=e,this.name=t,this._$parent=r,this.options=i,l.length>2||""!==l[0]||""!==l[1]?(this._$committedValue=new Array(l.length-1).fill(new String),this.strings=l):this._$committedValue=he,this._sanitizer=void 0}_$setValue(e,t=this,l,r){const i=this.strings;let o=!1;if(void 0===i)e=we(this,e,t,0),o=!X(e)||e!==this._$committedValue&&e!==de,o&&(this._$committedValue=e);else{const r=e;let n,a;for(e=i[0],n=0;n<i.length-1;n++)a=we(this,r[l+n],t,n),a===de&&(a=this._$committedValue[n]),o||=!X(a)||a!==this._$committedValue[n],a===he?e=he:e!==he&&(e+=(a??"")+i[n+1]),this._$committedValue[n]=a}o&&!r&&this._commitValue(e)}_commitValue(e){e===he?I(this.element).removeAttribute(this.name):(void 0===this._sanitizer&&(this._sanitizer=pe(this.element,this.name,"attribute")),e=this._sanitizer(e??""),k&&k({kind:"commit attribute",element:this.element,name:this.name,value:e,options:this.options}),I(this.element).setAttribute(this.name,e??""))}}class xe extends be{constructor(){super(...arguments),this.type=3}_commitValue(e){void 0===this._sanitizer&&(this._sanitizer=pe(this.element,this.name,"property")),e=this._sanitizer(e),k&&k({kind:"commit property",element:this.element,name:this.name,value:e,options:this.options}),this.element[this.name]=e===he?void 0:e}}class Ze extends be{constructor(){super(...arguments),this.type=4}_commitValue(e){k&&k({kind:"commit boolean attribute",element:this.element,name:this.name,value:!(!e||e===he),options:this.options}),I(this.element).toggleAttribute(this.name,!!e&&e!==he)}}class Ce extends be{constructor(e,t,l,r,i){if(super(e,t,l,r,i),this.type=5,void 0!==this.strings)throw new Error(`A \`<${e.localName}>\` has a \`@${t}=...\` listener with invalid content. Event listeners in templates must have exactly one expression and no surrounding text.`)}_$setValue(e,t=this){if((e=we(this,e,t,0)??he)===de)return;const l=this._$committedValue,r=e===he&&l!==he||e.capture!==l.capture||e.once!==l.once||e.passive!==l.passive,i=e!==he&&(l===he||r);k&&k({kind:"commit event listener",element:this.element,name:this.name,value:e,options:this.options,removeListener:r,addListener:i,oldListener:l}),r&&this.element.removeEventListener(this.name,this,l),i&&this.element.addEventListener(this.name,this,e),this._$committedValue=e}handleEvent(e){"function"==typeof this._$committedValue?this._$committedValue.call(this.options?.host??this.element,e):this._$committedValue.handleEvent(e)}}class ye{constructor(e,t,l){this.element=e,this.type=6,this._$disconnectableChildren=void 0,this._$parent=t,this.options=l}get _$isConnected(){return this._$parent._$isConnected}_$setValue(e){k&&k({kind:"commit to element binding",element:this.element,value:e,options:this.options}),we(this,e)}}const Me=j.litHtmlPolyfillSupportDevMode;Me?.(fe,_e),(j.litHtmlVersions??=[]).push("3.3.2"),j.litHtmlVersions.length>1&&queueMicrotask(()=>{L("multiple-versions","Multiple versions of Lit loaded. Loading multiple versions is not recommended.")});const Ve=(e,t,l)=>{if(null==t)throw new TypeError(`The container to render into may not be ${t}`);const r=A++,i=l?.renderBefore??t;let o=i._$litPart$;if(k&&k({kind:"begin render",id:r,value:e,container:t,options:l,part:o}),void 0===o){const e=l?.renderBefore??null;i._$litPart$=o=new _e(t.insertBefore(Y(),e),e,void 0,l??{})}return o._$setValue(e),k&&k({kind:"end render",id:r,value:e,container:t,options:l,part:o}),o};Ve.setSanitizer=F,Ve.createSanitizer=D,Ve._testOnlyClearSanitizerFactoryDoNotCallOrElse=R;
|
|
38
|
+
*/globalThis.litIssuedWarnings??=new Set,O=(e,t)=>{t+=e?` See https://lit.dev/msg/${e} for more information.`:"",globalThis.litIssuedWarnings.has(t)||globalThis.litIssuedWarnings.has(e)||(console.warn(t),globalThis.litIssuedWarnings.add(t))};const j=globalThis,k=e=>{j.emitLitDebugLogEvents&&j.dispatchEvent(new CustomEvent("lit-debug",{detail:e}))};let L,A=0;j.litIssuedWarnings??=new Set,L=(e,t)=>{t+=e?` See https://lit.dev/msg/${e} for more information.`:"",j.litIssuedWarnings.has(t)||j.litIssuedWarnings.has(e)||(console.warn(t),j.litIssuedWarnings.add(t))},queueMicrotask(()=>{L("dev-mode","Lit is in dev mode. Not recommended for production!")});const I=j.ShadyDOM?.inUse&&!0===j.ShadyDOM?.noPatch?j.ShadyDOM.wrap:e=>e,T=j.trustedTypes,E=T?T.createPolicy("lit-html",{createHTML:e=>e}):void 0,N=e=>e,U=(e,t,l)=>N,F=e=>{if(pe!==U)throw new Error("Attempted to overwrite existing lit-html security policy. setSanitizeDOMValueFactory should be called at most once.");pe=e},R=()=>{pe=U},D=(e,t,l)=>pe(e,t,l),q="$lit$",W=`lit$${Math.random().toFixed(9).slice(2)}$`,G="?"+W,J=`<${G}>`,K=document,Y=()=>K.createComment(""),X=e=>null===e||"object"!=typeof e&&"function"!=typeof e,Q=Array.isArray,ee="[ \t\n\f\r]",te=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,le=/-->/g,re=/>/g,ie=new RegExp(`>|${ee}(?:([^\\s"'>=/]+)(${ee}*=${ee}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),oe=/'/g,ne=/"/g,ae=/^(?:script|style|textarea|title)$/i,se=(ce=1,(e,...t)=>(e.some(e=>void 0===e)&&console.warn("Some template strings are undefined.\nThis is probably caused by illegal octal escape sequences."),t.some(e=>e?._$litStatic$)&&L("","Static values 'literal' or 'unsafeStatic' cannot be used as values to non-static templates.\nPlease use the static 'html' tag function. See https://lit.dev/docs/templates/expressions/#static-expressions"),{_$litType$:ce,strings:e,values:t}));var ce;const de=Symbol.for("lit-noChange"),he=Symbol.for("lit-nothing"),ve=new WeakMap,ue=K.createTreeWalker(K,129);let pe=U;function ge(e,t){if(!Q(e)||!e.hasOwnProperty("raw")){let e="invalid template strings array";throw e="\n Internal Error: expected template strings to be an array\n with a 'raw' field. Faking a template strings array by\n calling html or svg like an ordinary function is effectively\n the same as calling unsafeHtml and can lead to major security\n issues, e.g. opening your code up to XSS attacks.\n If you're using the html or svg tagged template functions normally\n and still seeing this error, please file a bug at\n https://github.com/lit/lit/issues/new?template=bug_report.md\n and include information about your build tooling, if any.\n ".trim().replace(/\n */g,"\n"),new Error(e)}return void 0!==E?E.createHTML(t):t}class fe{constructor({strings:e,_$litType$:t},l){let r;this.parts=[];let i=0,o=0;const n=e.length-1,a=this.parts,[s,c]=((e,t)=>{const l=e.length-1,r=[];let i,o=2===t?"<svg>":3===t?"<math>":"",n=te;for(let t=0;t<l;t++){const l=e[t];let a,s,c=-1,d=0;for(;d<l.length&&(n.lastIndex=d,s=n.exec(l),null!==s);)if(d=n.lastIndex,n===te){if("!--"===s[1])n=le;else if(void 0!==s[1])n=re;else if(void 0!==s[2])ae.test(s[2])&&(i=new RegExp(`</${s[2]}`,"g")),n=ie;else if(void 0!==s[3])throw new Error("Bindings in tag names are not supported. Please use static templates instead. See https://lit.dev/docs/templates/expressions/#static-expressions")}else n===ie?">"===s[0]?(n=i??te,c=-1):void 0===s[1]?c=-2:(c=n.lastIndex-s[2].length,a=s[1],n=void 0===s[3]?ie:'"'===s[3]?ne:oe):n===ne||n===oe?n=ie:n===le||n===re?n=te:(n=ie,i=void 0);console.assert(-1===c||n===ie||n===oe||n===ne,"unexpected parse state B");const h=n===ie&&e[t+1].startsWith("/>")?" ":"";o+=n===te?l+J:c>=0?(r.push(a),l.slice(0,c)+q+l.slice(c)+W+h):l+W+(-2===c?t:h)}return[ge(e,o+(e[l]||"<?>")+(2===t?"</svg>":3===t?"</math>":"")),r]})(e,t);if(this.el=fe.createElement(s,l),ue.currentNode=this.el.content,2===t||3===t){const e=this.el.content.firstChild;e.replaceWith(...e.childNodes)}for(;null!==(r=ue.nextNode())&&a.length<n;){if(1===r.nodeType){{const e=r.localName;if(/^(?:textarea|template)$/i.test(e)&&r.innerHTML.includes(W)){const t=`Expressions are not supported inside \`${e}\` elements. See https://lit.dev/msg/expression-in-${e} for more information.`;if("template"===e)throw new Error(t);L("",t)}}if(r.hasAttributes())for(const e of r.getAttributeNames())if(e.endsWith(q)){const t=c[o++],l=r.getAttribute(e).split(W),n=/([.?@])?(.*)/.exec(t);a.push({type:1,index:i,name:n[2],strings:l,ctor:"."===n[1]?Ze:"?"===n[1]?xe:"@"===n[1]?Ce:be}),r.removeAttribute(e)}else e.startsWith(W)&&(a.push({type:6,index:i}),r.removeAttribute(e));if(ae.test(r.tagName)){const e=r.textContent.split(W),t=e.length-1;if(t>0){r.textContent=T?T.emptyScript:"";for(let l=0;l<t;l++)r.append(e[l],Y()),ue.nextNode(),a.push({type:2,index:++i});r.append(e[t],Y())}}}else if(8===r.nodeType){if(r.data===G)a.push({type:2,index:i});else{let e=-1;for(;-1!==(e=r.data.indexOf(W,e+1));)a.push({type:7,index:i}),e+=W.length-1}}i++}if(c.length!==o)throw new Error('Detected duplicate attribute bindings. This occurs if your template has duplicate attributes on an element tag. For example "<input ?disabled=${true} ?disabled=${false}>" contains a duplicate "disabled" attribute. The error was detected in the following template: \n`'+e.join("${...}")+"`");k&&k({kind:"template prep",template:this,clonableTemplate:this.el,parts:this.parts,strings:e})}static createElement(e,t){const l=K.createElement("template");return l.innerHTML=e,l}}function we(e,t,l=e,r){if(t===de)return t;let i=void 0!==r?l.__directives?.[r]:l.__directive;const o=X(t)?void 0:t._$litDirective$;return i?.constructor!==o&&(i?._$notifyDirectiveConnectionChanged?.(!1),void 0===o?i=void 0:(i=new o(e),i._$initialize(e,l,r)),void 0!==r?(l.__directives??=[])[r]=i:l.__directive=i),void 0!==i&&(t=we(e,i._$resolve(e,t.values),i,r)),t}class me{constructor(e,t){this._$parts=[],this._$disconnectableChildren=void 0,this._$template=e,this._$parent=t}get parentNode(){return this._$parent.parentNode}get _$isConnected(){return this._$parent._$isConnected}_clone(e){const{el:{content:t},parts:l}=this._$template,r=(e?.creationScope??K).importNode(t,!0);ue.currentNode=r;let i=ue.nextNode(),o=0,n=0,a=l[0];for(;void 0!==a;){if(o===a.index){let t;2===a.type?t=new _e(i,i.nextSibling,this,e):1===a.type?t=new a.ctor(i,a.name,a.strings,this,e):6===a.type&&(t=new ye(i,this,e)),this._$parts.push(t),a=l[++n]}o!==a?.index&&(i=ue.nextNode(),o++)}return ue.currentNode=K,r}_update(e){let t=0;for(const l of this._$parts)void 0!==l&&(k&&k({kind:"set part",part:l,value:e[t],valueIndex:t,values:e,templateInstance:this}),void 0!==l.strings?(l._$setValue(e,l,t),t+=l.strings.length-2):l._$setValue(e[t])),t++}}class _e{get _$isConnected(){return this._$parent?._$isConnected??this.__isConnected}constructor(e,t,l,r){this.type=2,this._$committedValue=he,this._$disconnectableChildren=void 0,this._$startNode=e,this._$endNode=t,this._$parent=l,this.options=r,this.__isConnected=r?.isConnected??!0,this._textSanitizer=void 0}get parentNode(){let e=I(this._$startNode).parentNode;const t=this._$parent;return void 0!==t&&11===e?.nodeType&&(e=t.parentNode),e}get startNode(){return this._$startNode}get endNode(){return this._$endNode}_$setValue(e,t=this){if(null===this.parentNode)throw new Error("This `ChildPart` has no `parentNode` and therefore cannot accept a value. This likely means the element containing the part was manipulated in an unsupported way outside of Lit's control such that the part's marker nodes were ejected from DOM. For example, setting the element's `innerHTML` or `textContent` can do this.");if(e=we(this,e,t),X(e))e===he||null==e||""===e?(this._$committedValue!==he&&(k&&k({kind:"commit nothing to child",start:this._$startNode,end:this._$endNode,parent:this._$parent,options:this.options}),this._$clear()),this._$committedValue=he):e!==this._$committedValue&&e!==de&&this._commitText(e);else if(void 0!==e._$litType$)this._commitTemplateResult(e);else if(void 0!==e.nodeType){if(this.options?.host===e)return this._commitText("[probable mistake: rendered a template's host in itself (commonly caused by writing ${this} in a template]"),void console.warn("Attempted to render the template host",e,"inside itself. This is almost always a mistake, and in dev mode ","we render some warning text. In production however, we'll ","render it, which will usually result in an error, and sometimes ","in the element disappearing from the DOM.");this._commitNode(e)}else(e=>Q(e)||"function"==typeof e?.[Symbol.iterator])(e)?this._commitIterable(e):this._commitText(e)}_insert(e){return I(I(this._$startNode).parentNode).insertBefore(e,this._$endNode)}_commitNode(e){if(this._$committedValue!==e){if(this._$clear(),pe!==U){const e=this._$startNode.parentNode?.nodeName;if("STYLE"===e||"SCRIPT"===e){let t="Forbidden";throw t="STYLE"===e?"Lit does not support binding inside style nodes. This is a security risk, as style injection attacks can exfiltrate data and spoof UIs. Consider instead using css`...` literals to compose styles, and do dynamic styling with css custom properties, ::parts, <slot>s, and by mutating the DOM rather than stylesheets.":"Lit does not support binding inside script nodes. This is a security risk, as it could allow arbitrary code execution.",new Error(t)}}k&&k({kind:"commit node",start:this._$startNode,parent:this._$parent,value:e,options:this.options}),this._$committedValue=this._insert(e)}}_commitText(e){if(this._$committedValue!==he&&X(this._$committedValue)){const t=I(this._$startNode).nextSibling;void 0===this._textSanitizer&&(this._textSanitizer=D(t,"data","property")),e=this._textSanitizer(e),k&&k({kind:"commit text",node:t,value:e,options:this.options}),t.data=e}else{const t=K.createTextNode("");this._commitNode(t),void 0===this._textSanitizer&&(this._textSanitizer=D(t,"data","property")),e=this._textSanitizer(e),k&&k({kind:"commit text",node:t,value:e,options:this.options}),t.data=e}this._$committedValue=e}_commitTemplateResult(e){const{values:t,_$litType$:l}=e,r="number"==typeof l?this._$getTemplate(e):(void 0===l.el&&(l.el=fe.createElement(ge(l.h,l.h[0]),this.options)),l);if(this._$committedValue?._$template===r)k&&k({kind:"template updating",template:r,instance:this._$committedValue,parts:this._$committedValue._$parts,options:this.options,values:t}),this._$committedValue._update(t);else{const e=new me(r,this),l=e._clone(this.options);k&&k({kind:"template instantiated",template:r,instance:e,parts:e._$parts,options:this.options,fragment:l,values:t}),e._update(t),k&&k({kind:"template instantiated and updated",template:r,instance:e,parts:e._$parts,options:this.options,fragment:l,values:t}),this._commitNode(l),this._$committedValue=e}}_$getTemplate(e){let t=ve.get(e.strings);return void 0===t&&ve.set(e.strings,t=new fe(e)),t}_commitIterable(e){Q(this._$committedValue)||(this._$committedValue=[],this._$clear());const t=this._$committedValue;let l,r=0;for(const i of e)r===t.length?t.push(l=new _e(this._insert(Y()),this._insert(Y()),this,this.options)):l=t[r],l._$setValue(i),r++;r<t.length&&(this._$clear(l&&I(l._$endNode).nextSibling,r),t.length=r)}_$clear(e=I(this._$startNode).nextSibling,t){for(this._$notifyConnectionChanged?.(!1,!0,t);e!==this._$endNode;){const t=I(e).nextSibling;I(e).remove(),e=t}}setConnected(e){if(void 0!==this._$parent)throw new Error("part.setConnected() may only be called on a RootPart returned from render().");this.__isConnected=e,this._$notifyConnectionChanged?.(e)}}class be{get tagName(){return this.element.tagName}get _$isConnected(){return this._$parent._$isConnected}constructor(e,t,l,r,i){this.type=1,this._$committedValue=he,this._$disconnectableChildren=void 0,this.element=e,this.name=t,this._$parent=r,this.options=i,l.length>2||""!==l[0]||""!==l[1]?(this._$committedValue=new Array(l.length-1).fill(new String),this.strings=l):this._$committedValue=he,this._sanitizer=void 0}_$setValue(e,t=this,l,r){const i=this.strings;let o=!1;if(void 0===i)e=we(this,e,t,0),o=!X(e)||e!==this._$committedValue&&e!==de,o&&(this._$committedValue=e);else{const r=e;let n,a;for(e=i[0],n=0;n<i.length-1;n++)a=we(this,r[l+n],t,n),a===de&&(a=this._$committedValue[n]),o||=!X(a)||a!==this._$committedValue[n],a===he?e=he:e!==he&&(e+=(a??"")+i[n+1]),this._$committedValue[n]=a}o&&!r&&this._commitValue(e)}_commitValue(e){e===he?I(this.element).removeAttribute(this.name):(void 0===this._sanitizer&&(this._sanitizer=pe(this.element,this.name,"attribute")),e=this._sanitizer(e??""),k&&k({kind:"commit attribute",element:this.element,name:this.name,value:e,options:this.options}),I(this.element).setAttribute(this.name,e??""))}}class Ze extends be{constructor(){super(...arguments),this.type=3}_commitValue(e){void 0===this._sanitizer&&(this._sanitizer=pe(this.element,this.name,"property")),e=this._sanitizer(e),k&&k({kind:"commit property",element:this.element,name:this.name,value:e,options:this.options}),this.element[this.name]=e===he?void 0:e}}class xe extends be{constructor(){super(...arguments),this.type=4}_commitValue(e){k&&k({kind:"commit boolean attribute",element:this.element,name:this.name,value:!(!e||e===he),options:this.options}),I(this.element).toggleAttribute(this.name,!!e&&e!==he)}}class Ce extends be{constructor(e,t,l,r,i){if(super(e,t,l,r,i),this.type=5,void 0!==this.strings)throw new Error(`A \`<${e.localName}>\` has a \`@${t}=...\` listener with invalid content. Event listeners in templates must have exactly one expression and no surrounding text.`)}_$setValue(e,t=this){if((e=we(this,e,t,0)??he)===de)return;const l=this._$committedValue,r=e===he&&l!==he||e.capture!==l.capture||e.once!==l.once||e.passive!==l.passive,i=e!==he&&(l===he||r);k&&k({kind:"commit event listener",element:this.element,name:this.name,value:e,options:this.options,removeListener:r,addListener:i,oldListener:l}),r&&this.element.removeEventListener(this.name,this,l),i&&this.element.addEventListener(this.name,this,e),this._$committedValue=e}handleEvent(e){"function"==typeof this._$committedValue?this._$committedValue.call(this.options?.host??this.element,e):this._$committedValue.handleEvent(e)}}class ye{constructor(e,t,l){this.element=e,this.type=6,this._$disconnectableChildren=void 0,this._$parent=t,this.options=l}get _$isConnected(){return this._$parent._$isConnected}_$setValue(e){k&&k({kind:"commit to element binding",element:this.element,value:e,options:this.options}),we(this,e)}}const Me=j.litHtmlPolyfillSupportDevMode;Me?.(fe,_e),(j.litHtmlVersions??=[]).push("3.3.2"),j.litHtmlVersions.length>1&&queueMicrotask(()=>{L("multiple-versions","Multiple versions of Lit loaded. Loading multiple versions is not recommended.")});const Ve=(e,t,l)=>{if(null==t)throw new TypeError(`The container to render into may not be ${t}`);const r=A++,i=l?.renderBefore??t;let o=i._$litPart$;if(k&&k({kind:"begin render",id:r,value:e,container:t,options:l,part:o}),void 0===o){const e=l?.renderBefore??null;i._$litPart$=o=new _e(t.insertBefore(Y(),e),e,void 0,l??{})}return o._$setValue(e),k&&k({kind:"end render",id:r,value:e,container:t,options:l,part:o}),o};Ve.setSanitizer=F,Ve.createSanitizer=D,Ve._testOnlyClearSanitizerFactoryDoNotCallOrElse=R;
|
|
39
39
|
/**
|
|
40
40
|
* @license
|
|
41
41
|
* Copyright 2017 Google LLC
|
|
@@ -74,7 +74,7 @@ class extends Oe{constructor(e){if(super(e),e.type!==Pe&&e.type!==He&&e.type!==z
|
|
|
74
74
|
* Copyright 2017 Google LLC
|
|
75
75
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
76
76
|
*/
|
|
77
|
-
const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See https://lit.dev/msg/${e} for more information.`,Ue.litIssuedWarnings.has(t)||Ue.litIssuedWarnings.has(e)||(console.warn(t),Ue.litIssuedWarnings.add(t))};class Re extends y{constructor(){super(...arguments),this.renderOptions={host:this},this.__childPart=void 0}createRenderRoot(){const e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this.__childPart=Ve(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this.__childPart?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this.__childPart?.setConnected(!1)}render(){return de}}var De;Re._$litElement$=!0,Re[(De="finalized",De)]=!0,Ue.litElementHydrateSupport?.({LitElement:Re});const qe=Ue.litElementPolyfillSupportDevMode;qe?.({LitElement:Re}),(Ue.litElementVersions??=[]).push("4.2.2"),Ue.litElementVersions.length>1&&queueMicrotask(()=>{Fe("multiple-versions","Multiple versions of Lit loaded. Loading multiple versions is not recommended.")});var We=n`.invalid-feedback-container{display:flex;gap:var(--sgds-form-gap-sm)}.invalid-feedback,.invalid-feedback-container{color:var(--sgds-form-danger-color-default);line-height:var(--sgds-line-height-20)}.invalid-feedback{font-size:var(--sgds-font-size-label-sm);font-weight:var(--sgds-font-weight-regular)}.valid-icon{color:var(--sgds-form-success-color-default)}`,Ge=n`.form-text{color:var(--sgds-form-color-subtle);font-size:var(--sgds-font-size-label-sm);line-height:var(--sgds-line-height-2-xs)}.form-text.disabled{opacity:var(--sgds-opacity-40)}`,Je=n`.form-label{color:var(--sgds-form-color-default);font-weight:var(--sgds-font-weight-semibold);margin-bottom:0}.form-label.disabled{opacity:var(--sgds-opacity-40)}.form-check-label{color:var(--sgds-form-color-default)}.form-check-input:disabled~.form-check-label,.form-check-input[disabled]~.form-check-label{cursor:not-allowed}`,Ke=n`.form-control::placeholder{color:var(--sgds-form-color-subtle);font-family:var(--sgds-font-family-brand);font-weight:var(--sgds-font-weight-light);line-height:var(--sgds-line-height-24)}`,Ye=n`:host{-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;color:var(--sgds-body-color-default,#1a1a1a);display:block;font-family:var(--sgds-font-family-brand,"Inter",system-ui,sans-serif);font-size:var(--sgds-font-size-body-md,1rem);font-weight:var(--sgds-font-weight-regular,400);line-height:var(--sgds-line-height-xs,24px);margin:0;*,:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}:disabled{cursor:not-allowed}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}@media (prefers-reduced-motion:reduce){*,:after,:before{animation-duration:.1ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}::slotted(a[target=_blank]):after,a[target=_blank]:after{background-color:currentColor;content:"/";display:inline-block;height:1em;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.774 4.4H9.8a.6.6 0 1 1 0 1.2c-.85 0-1.451 0-1.922.039-.463.038-.745.11-.968.223A2.4 2.4 0 0 0 5.861 6.91c-.113.223-.184.505-.222.968-.039.47-.04 1.072-.04 1.922v4.4c0 .85.001 1.451.04 1.922.038.463.11.745.222.968a2.4 2.4 0 0 0 1.05 1.048c.222.114.504.185.967.223.47.038 1.072.039 1.922.039h4.4c.85 0 1.451 0 1.921-.039.464-.038.746-.11.969-.223a2.4 2.4 0 0 0 1.048-1.048c.113-.223.185-.505.223-.968.038-.47.039-1.072.039-1.922a.6.6 0 1 1 1.2 0v.026c0 .818 0 1.468-.043 1.993-.044.538-.136.996-.35 1.415a3.6 3.6 0 0 1-1.573 1.574c-.42.213-.878.305-1.415.35-.525.042-1.175.042-1.993.042H9.774c-.818 0-1.469 0-1.993-.043-.538-.044-.996-.136-1.415-.35a3.6 3.6 0 0 1-1.574-1.573c-.213-.42-.305-.877-.35-1.415-.042-.525-.042-1.175-.042-1.993V9.774c0-.818 0-1.468.043-1.993.044-.538.136-.996.35-1.415a3.6 3.6 0 0 1 1.573-1.574c.42-.213.877-.305 1.415-.35C8.305 4.4 8.956 4.4 9.774 4.4ZM12.4 5a.6.6 0 0 1 .6-.6h6a.6.6 0 0 1 .6.6v6a.6.6 0 1 1-1.2 0V6.449l-5.976 5.975a.6.6 0 0 1-.848-.848L17.55 5.6H13a.6.6 0 0 1-.6-.6Z' fill='%230E0E0E'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.774 4.4H9.8a.6.6 0 1 1 0 1.2c-.85 0-1.451 0-1.922.039-.463.038-.745.11-.968.223A2.4 2.4 0 0 0 5.861 6.91c-.113.223-.184.505-.222.968-.039.47-.04 1.072-.04 1.922v4.4c0 .85.001 1.451.04 1.922.038.463.11.745.222.968a2.4 2.4 0 0 0 1.05 1.048c.222.114.504.185.967.223.47.038 1.072.039 1.922.039h4.4c.85 0 1.451 0 1.921-.039.464-.038.746-.11.969-.223a2.4 2.4 0 0 0 1.048-1.048c.113-.223.185-.505.223-.968.038-.47.039-1.072.039-1.922a.6.6 0 1 1 1.2 0v.026c0 .818 0 1.468-.043 1.993-.044.538-.136.996-.35 1.415a3.6 3.6 0 0 1-1.573 1.574c-.42.213-.878.305-1.415.35-.525.042-1.175.042-1.993.042H9.774c-.818 0-1.469 0-1.993-.043-.538-.044-.996-.136-1.415-.35a3.6 3.6 0 0 1-1.574-1.573c-.213-.42-.305-.877-.35-1.415-.042-.525-.042-1.175-.042-1.993V9.774c0-.818 0-1.468.043-1.993.044-.538.136-.996.35-1.415a3.6 3.6 0 0 1 1.573-1.574c.42-.213.877-.305 1.415-.35C8.305 4.4 8.956 4.4 9.774 4.4ZM12.4 5a.6.6 0 0 1 .6-.6h6a.6.6 0 0 1 .6.6v6a.6.6 0 1 1-1.2 0V6.449l-5.976 5.975a.6.6 0 0 1-.848-.848L17.55 5.6H13a.6.6 0 0 1-.6-.6Z' fill='%230E0E0E'/%3E%3C/svg%3E");-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;vertical-align:top;width:1em}::slotted(svg){vertical-align:middle}}`;class Xe extends Re{emit(e,t){const l=new CustomEvent(e,Object.assign({bubbles:!0,cancelable:!1,composed:!0,detail:{}},t));return this.dispatchEvent(l),l}static define(e,t=this,l={}){if(customElements.get(e));else try{customElements.define(e,t,l)}catch(r){customElements.define(e,class extends t{},l)}}constructor(){super(),this.ssr=Boolean(this.shadowRoot),Object.entries(this.constructor.dependencies).forEach(([e,t])=>{this.constructor.define(e,t)})}firstUpdated(e){var t;super.firstUpdated(e),this.ssr&&(null===(t=this.shadowRoot)||void 0===t||t.querySelectorAll("slot").forEach(e=>{e.dispatchEvent(new Event("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))}))}}function Qe(e="",t=""){return`id-${Math.random().toString().substring(2,6)}-sgds-${e}-${t}`}Xe.styles=[Ye],Xe.dependencies={},e([P({type:Boolean,reflect:!0})],Xe.prototype,"ssr",void 0);class et extends Xe{constructor(){super(...arguments),this.label="",this.hintText="",this.disabled=!1,this.invalid=!1,this._controlId=Qe("input"),this._labelId=Qe("label")}setInvalid(e){this.invalid=e,e?this.emit("sgds-invalid"):this.emit("sgds-valid")}}et.styles=[...Xe.styles,We,Ge,Je,Ke],e([P({reflect:!0})],et.prototype,"label",void 0),e([P({reflect:!0})],et.prototype,"hintText",void 0),e([P({reflect:!0})],et.prototype,"name",void 0),e([P({type:Boolean,reflect:!0})],et.prototype,"disabled",void 0),e([P({type:Boolean,reflect:!0})],et.prototype,"invalid",void 0);var tt=n`svg{vertical-align:middle}`;const lt=(e="value")=>(t,l)=>{const r=t.constructor,i=r.prototype.attributeChangedCallback;r.prototype.attributeChangedCallback=function(t,o,n){var a;const s=r.getPropertyOptions(e);if(t===("string"==typeof s.attribute?s.attribute:e).toLowerCase()){const t=s.converter||x,r=("function"==typeof t?t:null!==(a=null==t?void 0:t.fromAttribute)&&void 0!==a?a:x.fromAttribute)(n,s.type);this[e]!==r&&(this[l]=r)}i.call(this,t,o,n)}};class rt{constructor(e,t){(this.host=e).addController(this),this._internals=e._internals||this.host.attachInternals(),this.options=Object.assign({setInvalid:(e,t)=>{e.invalid=t},value:e=>e.value,input:e=>e.input},t)}hostConnected(){this.host.addEventListener("invalid",e=>this.handleInvalid(e))}hostDisconnected(){this.host.removeEventListener("invalid",e=>this.handleInvalid(e))}handleInvalid(e){e.preventDefault(),this.options.setInvalid(this.host,!0)}handleInput(e){const t=e.target;this.options.setInvalid(this.host,!1),this.validateInput(t)}handleChange(e){const t=e.target;this.validateInput(t),this.options.setInvalid(this.host,!this.checkValidity())}get form(){return this._internals.form}get validity(){return this._internals.validity}get validationMessage(){return this._internals.validationMessage}get willValidate(){return this._internals.willValidate}updateInvalidState(){this.options.setInvalid(this.host,!this.checkValidity())}resetValidity(){return this._internals.setValidity({})}checkValidity(){return this._internals.checkValidity()}reportValidity(){return this._internals.reportValidity()}setValidity(e,t,l){return this._internals.setValidity(e,t,l)}setFormValue(){const e=this.options.value(this.host);this._internals.setFormValue(e)}validateInput(e){if(this.options.input(this.host).disabled)return this._internals.setValidity({});const t=e.validity;if(t.valid)this._internals.setValidity({});else for(const l in t)t[l]&&(this.validationError=l.toString(),this._internals.setValidity({[this.validationError]:!0},e.validationMessage,e))}}const it=t=>{class l extends t{constructor(...e){super(...e),this._isTouched=!1,this._internals=this.attachInternals()}connectedCallback(){var e;super.connectedCallback(),null!==(e=this.inputValidationController)&&void 0!==e||(this.inputValidationController=new rt(this))}async firstUpdated(e){super.firstUpdated(e),this.input=this.shadowRoot.querySelector("input")||await this.sgdsInput||this.shadowRoot.querySelector("textarea")||await this.sgdsDatepickerInput,this._mixinSetFormValue(),this._mixinShouldSkipSgdsValidation()||this._mixinValidate(this.input)}formResetCallback(){this._mixinResetFormControl?this._mixinResetFormControl():(this.value=this.defaultValue,this._mixinResetValidity(this.input)),this._mixinSetFormValue()}_mixinHandleChange(e){this._mixinSetFormValue(),this._mixinShouldSkipSgdsValidation()||this.inputValidationController.handleChange(e)}_mixinHandleInputChange(e){this._mixinSetFormValue(),this._mixinShouldSkipSgdsValidation()||this.inputValidationController.handleInput(e)}_mixinResetValidity(e){this.inputValidationController.resetValidity(),this.inputValidationController.updateInvalidState(),this._isTouched&&(this._isTouched=!1),this._mixinShouldSkipSgdsValidation()||this.inputValidationController.validateInput(e)}_mixinValidate(e){this._mixinShouldSkipSgdsValidation()||this.inputValidationController.validateInput(e)}_mixinSetFormValue(){const e=this.value;this._internals.setFormValue(e)}_mixinCheckValidity(){return!!this._mixinShouldSkipSgdsValidation()||this.inputValidationController.checkValidity()}_mixinReportValidity(){return!!this._mixinShouldSkipSgdsValidation()||this.inputValidationController.reportValidity()}_mixinGetValidity(){return this._internals.validity}_mixinGetValidationMessage(){return this._internals.validationMessage}_mixinSetValidity(e,t,l){if(!this._mixinShouldSkipSgdsValidation())return this.inputValidationController.setValidity(e,t,l)}_mixinShouldSkipSgdsValidation(){const e=this.closest("form");return(null==e?void 0:e.noValidate)||this.noValidate}}return l.formAssociated=!0,e([B("sgds-input")],l.prototype,"sgdsInput",void 0),e([B("sgds-datepicker-input")],l.prototype,"sgdsDatepickerInput",void 0),l};var ot=n`:host{--btn-font-weight:var(--sgds-font-weight-regular);--btn-color:var(--sgds-color-fixed-light);--btn-bg:var(--sgds-primary-surface-default);--btn-hover-bg:var(--sgds-primary-surface-emphasis);--btn-border-radius:var(--sgds-border-radius-md);--btn-opacity:var(--sgds-opacity-100,1)}:host([variant=danger]){--btn-bg:var(--sgds-danger-surface-default);--btn-hover-bg:var(--sgds-danger-surface-emphasis);--btn-color:var(--sgds-color-fixed-light)}:host([variant=primary][tone=brand]){--btn-bg:var(--sgds-primary-surface-default);--btn-color:var(--sgds-color-fixed-light)}:host([variant=outline]){--btn-border-width:var(--sgds-border-width-1)}:host([variant=outline][tone=brand]){--btn-border-color:var(--sgds-primary-border-color-default);--btn-bg:var(--sgds-bg-transparent);--btn-color:var(--sgds-primary-color-default);--btn-hover-bg:var(--sgds-primary-bg-translucent)}:host([variant=ghost][tone=brand]){--btn-bg:var(--sgds-bg-transparent);--btn-hover-bg:var(--sgds-primary-surface-translucent);--btn-color:var(--sgds-primary-color-default)}:host([variant=primary][tone=danger]){--btn-bg:var(--sgds-danger-surface-default);--btn-hover-bg:var(--sgds-danger-surface-emphasis);--btn-color:var(--sgds-color-fixed-light)}:host([variant=outline][tone=danger]){--btn-border-color:var(--sgds-danger-border-color-default);--btn-bg:var(--sgds-bg-transparent);--btn-hover-bg:var(--sgds-danger-surface-translucent);--btn-color:var(--sgds-danger-color-default)}:host([variant=ghost][tone=danger]){--btn-bg:var(--sgds-bg-transparent);--btn-hover-bg:var(--sgds-danger-surface-translucent);--btn-color:var(--sgds-danger-color-default)}:host([variant=primary][tone=fixed-light]){--btn-bg:var(--sgds-surface-fixed-light);--btn-hover-bg:linear-gradient(0deg,var(--sgds-bg-translucent-fixed-dark,hsla(0,0%,5%,.2)) 0%,var(--sgds-bg-translucent-fixed-dark,hsla(0,0%,5%,.2)) 100%),var(--sgds-surface-fixed-light,#fff);--btn-color:var(--sgds-color-fixed-dark)}:host([variant=outline][tone=fixed-light]){--btn-border-color:var(--sgds-border-color-fixed-light);--btn-bg:var(--sgds-bg-transparent);--btn-hover-bg:linear-gradient(0deg,var(--sgds-bg-translucent-fixed-dark) 0%,var(--sgds-bg-translucent-fixed-dark) 100%),var(--sgds-bg-transparent);--btn-color:var(--sgds-color-fixed-light)}:host([variant=ghost][tone=fixed-light]){--btn-bg:var(--sgds-bg-transparent);--btn-hover-bg:linear-gradient(0deg,var(--sgds-bg-translucent-fixed-dark) 0%,var(--sgds-bg-translucent-fixed-dark) 100%),var(--sgds-bg-transparent);--btn-color:var(--sgds-color-fixed-light)}:host([variant=primary][tone=neutral]){--btn-bg:var(--sgds-surface-inverse);--btn-hover-bg:linear-gradient(0deg,var(--sgds-bg-translucent-inverse) 0%,var(--sgds-bg-translucent-inverse) 100%),var(--sgds-surface-inverse);--btn-color:var(--sgds-color-inverse)}:host([variant=outline][tone=neutral]){--btn-border-color:var(--sgds-border-color-emphasis);--btn-bg:var(--sgds-bg-transparent);--btn-hover-bg:linear-gradient(0deg,var(--sgds-bg-translucent-inverse) 0%,var(--sgds-bg-translucent-inverse) 100%),var(--sgds-bg-translucent-subtle);--btn-color:var(--sgds-color-default)}:host([variant=ghost][tone=neutral]){--btn-bg:var(--sgds-bg-transparent);--btn-hover-bg:var(--sgds-bg-translucent-subtle);--btn-color:var(--sgds-color-default)}:host([variant=ghost]) .btn,:host([variant=outline]) .btn,:host([variant=primary]) .btn{color:var(--btn-color)}:host([variant=outline]) .btn{border:var(--btn-border-width) solid var(--btn-border-color)}:host([size=lg]) .btn{font-size:var(--sgds-font-size-label-lg);height:var(--sgds-dimension-56);line-height:var(--sgds-line-height-md);min-width:var(--sgds-dimension-112);padding:var(--sgds-padding-none) var(--sgds-padding-xl)}:host([size=sm]) .btn{font-size:var(--sgds-font-size-label-sm);height:var(--sgds-dimension-40);line-height:var(--sgds-line-height-2-xs);min-width:var(--sgds-dimension-80);padding:var(--sgds-padding-none) var(--sgds-padding-md)}:host([size=xs]) .btn{font-size:var(--sgds-font-size-label-xs);height:var(--sgds-dimension-32);line-height:var(--sgds-line-height-3-xs);min-width:var(--sgds-dimension-64);padding:var(--sgds-padding-none) var(--sgds-padding-sm)}.btn{align-items:center;background-color:var(--btn-bg);border:var(--sgds-border-width-1) solid var(--sgds-border-color-transparent);border-radius:var(--btn-border-radius);color:var(--sgds-color-fixed-light);cursor:pointer;display:inline-flex;font-size:var(--sgds-font-size-label-md);font-weight:var(--btn-font-weight);gap:var(--sgds-gap-2-xs);height:var(--sgds-dimension-48);justify-content:center;line-height:var(--sgds-line-height-xs);min-width:var(--sgds-dimension-96);opacity:var(--btn-opacity);padding:var(--sgds-padding-none) var(--sgds-padding-lg);text-align:center;text-decoration:none;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;user-select:none;vertical-align:middle;white-space:nowrap;width:inherit}.btn.active,.btn:hover{background:var(--btn-hover-bg)}.btn:focus-visible{background:var(--btn-hover-bg);border-color:transparent;outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}.btn.disabled,.btn:disabled{color:var(--btn-color);cursor:not-allowed;opacity:var(--sgds-opacity-40)}.btn.loading{cursor:default}.btn slot::slotted(*){color:var(--btn-color)}`;class nt extends Xe{constructor(){super(...arguments),this.variant="primary",this.tone="brand",this.size="md",this.active=!1,this.disabled=!1,this.target="_self"}focus(e){this.button.focus(e)}click(){this.button.click()}blur(){this.button.blur()}_handleBlur(){this.emit("sgds-blur")}_handleFocus(){this.emit("sgds-focus")}_handleClick(e){if(this.disabled||this.loading)return e.preventDefault(),void e.stopPropagation()}_handleKeydown(e){if("Enter"===e.key&&this.loading)return e.preventDefault(),void e.stopPropagation()}_assignSpinnerSize(e){return"xs"===e||"sm"===e?"xs":"md"===e||"lg"===e?"sm":void 0}_assignSpinnerTone(e,t){return"fixed-light"===e&&"primary"===t?"fixed-dark":"neutral"===e&&"primary"===t?"inverse":"fixed-light"===e||"primary"===t?"fixed-light":"neutral"!==e||"outline"!==t&&"ghost"!==t?"brand":"neutral"}}nt.styles=[...Xe.styles,ot],e([S(".btn")],nt.prototype,"button",void 0),e([P({reflect:!0})],nt.prototype,"variant",void 0),e([P({reflect:!0})],nt.prototype,"tone",void 0),e([P({reflect:!0})],nt.prototype,"size",void 0),e([P({type:Boolean,reflect:!0})],nt.prototype,"active",void 0),e([P({type:Boolean,reflect:!0})],nt.prototype,"disabled",void 0),e([P({type:String,reflect:!0})],nt.prototype,"href",void 0),e([P({type:String,reflect:!0})],nt.prototype,"target",void 0),e([P({type:String,reflect:!0})],nt.prototype,"download",void 0),e([P({type:String})],nt.prototype,"ariaLabel",void 0),e([P({type:Boolean})],nt.prototype,"loading",void 0);const at={announcement:()=>Promise.resolve().then(function(){return Mt}),archive:()=>Promise.resolve().then(function(){return Ht}),"arrow-bar-down":()=>Promise.resolve().then(function(){return zt}),"arrow-bar-left":()=>Promise.resolve().then(function(){return Ot}),"arrow-bar-right":()=>Promise.resolve().then(function(){return Bt}),"arrow-bar-up":()=>Promise.resolve().then(function(){return kt}),"arrow-circle-down":()=>Promise.resolve().then(function(){return At}),"arrow-circle-left":()=>Promise.resolve().then(function(){return Tt}),"arrow-circle-right":()=>Promise.resolve().then(function(){return Nt}),"arrow-circle-up":()=>Promise.resolve().then(function(){return Ft}),"arrow-clockwise":()=>Promise.resolve().then(function(){return Dt}),"arrow-down":()=>Promise.resolve().then(function(){return Wt}),"arrow-left":()=>Promise.resolve().then(function(){return Jt}),"arrow-repeat":()=>Promise.resolve().then(function(){return Yt}),"arrow-right":()=>Promise.resolve().then(function(){return Qt}),"arrow-square-down":()=>Promise.resolve().then(function(){return tl}),"arrow-square-left":()=>Promise.resolve().then(function(){return rl}),"arrow-square-right":()=>Promise.resolve().then(function(){return ol}),"arrow-square-up":()=>Promise.resolve().then(function(){return al}),"arrow-up":()=>Promise.resolve().then(function(){return cl}),"bank-fill":()=>Promise.resolve().then(function(){return hl}),"bell-slash":()=>Promise.resolve().then(function(){return ul}),bell:()=>Promise.resolve().then(function(){return gl}),"bi-funnel":()=>Promise.resolve().then(function(){return wl}),"bookmark-fill":()=>Promise.resolve().then(function(){return _l}),bookmark:()=>Promise.resolve().then(function(){return xl}),"box-arrow-up-right":()=>Promise.resolve().then(function(){return Cl}),"box-seam":()=>Promise.resolve().then(function(){return Ml}),building:()=>Promise.resolve().then(function(){return Hl}),bus:()=>Promise.resolve().then(function(){return zl}),calculator:()=>Promise.resolve().then(function(){return Ol}),"calendar-check":()=>Promise.resolve().then(function(){return Bl}),"calendar-heart":()=>Promise.resolve().then(function(){return kl}),"calendar-x":()=>Promise.resolve().then(function(){return Al}),calendar:()=>Promise.resolve().then(function(){return Tl}),camera:()=>Promise.resolve().then(function(){return Nl}),car:()=>Promise.resolve().then(function(){return Fl}),"chat-dots":()=>Promise.resolve().then(function(){return Dl}),"chat-left-text":()=>Promise.resolve().then(function(){return Wl}),chat:()=>Promise.resolve().then(function(){return Jl}),"check-circle-fill":()=>Promise.resolve().then(function(){return Yl}),"check-circle":()=>Promise.resolve().then(function(){return Ql}),check:()=>Promise.resolve().then(function(){return tr}),"chevron-down":()=>Promise.resolve().then(function(){return rr}),"chevron-left":()=>Promise.resolve().then(function(){return or}),"chevron-right":()=>Promise.resolve().then(function(){return ar}),"chevron-selector-vertical":()=>Promise.resolve().then(function(){return cr}),"chevron-up":()=>Promise.resolve().then(function(){return hr}),clock:()=>Promise.resolve().then(function(){return ur}),"cloud-check":()=>Promise.resolve().then(function(){return gr}),"cloud-download":()=>Promise.resolve().then(function(){return wr}),"cloud-upload":()=>Promise.resolve().then(function(){return _r}),cloud:()=>Promise.resolve().then(function(){return xr}),"code-square":()=>Promise.resolve().then(function(){return Cr}),"coins-hand":()=>Promise.resolve().then(function(){return Mr}),compass:()=>Promise.resolve().then(function(){return Hr}),copy:()=>Promise.resolve().then(function(){return zr}),"cpu-chip-ai":()=>Promise.resolve().then(function(){return Or}),cross:()=>Promise.resolve().then(function(){return Br}),"cursor-fill":()=>Promise.resolve().then(function(){return kr}),cursor:()=>Promise.resolve().then(function(){return Ar}),"dash-circle":()=>Promise.resolve().then(function(){return Tr}),"dash-square":()=>Promise.resolve().then(function(){return Nr}),dash:()=>Promise.resolve().then(function(){return Fr}),database:()=>Promise.resolve().then(function(){return Dr}),dataflow:()=>Promise.resolve().then(function(){return Wr}),download:()=>Promise.resolve().then(function(){return Jr}),edit:()=>Promise.resolve().then(function(){return Yr}),"exclamation-circle-fill":()=>Promise.resolve().then(function(){return Qr}),"exclamation-circle":()=>Promise.resolve().then(function(){return ti}),"exclamation-triangle-fill":()=>Promise.resolve().then(function(){return ri}),"exclamation-triangle":()=>Promise.resolve().then(function(){return oi}),exclamation:()=>Promise.resolve().then(function(){return ai}),"eye-fill":()=>Promise.resolve().then(function(){return ci}),"eye-slash-fill":()=>Promise.resolve().then(function(){return hi}),"eye-slash":()=>Promise.resolve().then(function(){return ui}),eye:()=>Promise.resolve().then(function(){return gi}),"face-smile-fill":()=>Promise.resolve().then(function(){return wi}),"face-smile":()=>Promise.resolve().then(function(){return _i}),facebook:()=>Promise.resolve().then(function(){return xi}),"file-earmark-text":()=>Promise.resolve().then(function(){return Ci}),"file-pdf":()=>Promise.resolve().then(function(){return Mi}),"file-plus":()=>Promise.resolve().then(function(){return Hi}),"file-text":()=>Promise.resolve().then(function(){return zi}),file:()=>Promise.resolve().then(function(){return Oi}),files:()=>Promise.resolve().then(function(){return Bi}),fingerprint:()=>Promise.resolve().then(function(){return ki}),flash:()=>Promise.resolve().then(function(){return Ai}),"folder-check":()=>Promise.resolve().then(function(){return Ti}),"folder-minus":()=>Promise.resolve().then(function(){return Ni}),"folder-plus":()=>Promise.resolve().then(function(){return Fi}),folder:()=>Promise.resolve().then(function(){return Di}),gear:()=>Promise.resolve().then(function(){return Wi}),"geo-alt":()=>Promise.resolve().then(function(){return Ji}),"geo-fill":()=>Promise.resolve().then(function(){return Yi}),geo:()=>Promise.resolve().then(function(){return Qi}),"globe-alt":()=>Promise.resolve().then(function(){return to}),globe:()=>Promise.resolve().then(function(){return ro}),google:()=>Promise.resolve().then(function(){return oo}),"grid-alt":()=>Promise.resolve().then(function(){return ao}),"grid-fill":()=>Promise.resolve().then(function(){return co}),"hand-thumbs-down":()=>Promise.resolve().then(function(){return vo}),"hand-thumbs-up":()=>Promise.resolve().then(function(){return po}),"hard-drive":()=>Promise.resolve().then(function(){return fo}),heart:()=>Promise.resolve().then(function(){return mo}),"house-door":()=>Promise.resolve().then(function(){return bo}),house:()=>Promise.resolve().then(function(){return Zo}),image:()=>Promise.resolve().then(function(){return yo}),"in-box":()=>Promise.resolve().then(function(){return Vo}),"info-circle-fill":()=>Promise.resolve().then(function(){return Po}),"info-circle":()=>Promise.resolve().then(function(){return $o}),instagram:()=>Promise.resolve().then(function(){return So}),key:()=>Promise.resolve().then(function(){return jo}),"laptop-gear":()=>Promise.resolve().then(function(){return Lo}),laptop:()=>Promise.resolve().then(function(){return Io}),layers:()=>Promise.resolve().then(function(){return Eo}),"layout-text-window-reverse":()=>Promise.resolve().then(function(){return Uo}),"layout-text-window":()=>Promise.resolve().then(function(){return Ro}),layout:()=>Promise.resolve().then(function(){return qo}),"life-buoy":()=>Promise.resolve().then(function(){return Go}),lightbulb:()=>Promise.resolve().then(function(){return Ko}),link:()=>Promise.resolve().then(function(){return Xo}),linkedin:()=>Promise.resolve().then(function(){return en}),list:()=>Promise.resolve().then(function(){return ln}),"lock-fill":()=>Promise.resolve().then(function(){return on}),lock:()=>Promise.resolve().then(function(){return an}),login:()=>Promise.resolve().then(function(){return cn}),logout:()=>Promise.resolve().then(function(){return hn}),luggage:()=>Promise.resolve().then(function(){return un}),"mail-open":()=>Promise.resolve().then(function(){return gn}),mail:()=>Promise.resolve().then(function(){return wn}),map:()=>Promise.resolve().then(function(){return _n}),meetup:()=>Promise.resolve().then(function(){return xn}),menu:()=>Promise.resolve().then(function(){return Cn}),microphone:()=>Promise.resolve().then(function(){return Mn}),monitor:()=>Promise.resolve().then(function(){return Hn}),moon:()=>Promise.resolve().then(function(){return zn}),move:()=>Promise.resolve().then(function(){return On}),paperclip:()=>Promise.resolve().then(function(){return Bn}),passcode:()=>Promise.resolve().then(function(){return kn}),passport:()=>Promise.resolve().then(function(){return An}),pause:()=>Promise.resolve().then(function(){return Tn}),pencil:()=>Promise.resolve().then(function(){return Nn}),"pending-circle":()=>Promise.resolve().then(function(){return Fn}),"person-dash":()=>Promise.resolve().then(function(){return Dn}),"person-plus":()=>Promise.resolve().then(function(){return Wn}),"person-x":()=>Promise.resolve().then(function(){return Jn}),person:()=>Promise.resolve().then(function(){return Yn}),phone:()=>Promise.resolve().then(function(){return Qn}),"pin-map-fill":()=>Promise.resolve().then(function(){return ta}),pin:()=>Promise.resolve().then(function(){return ra}),placeholder:()=>Promise.resolve().then(function(){return oa}),plane:()=>Promise.resolve().then(function(){return aa}),play:()=>Promise.resolve().then(function(){return ca}),"plus-circle":()=>Promise.resolve().then(function(){return ha}),"plus-square":()=>Promise.resolve().then(function(){return ua}),plus:()=>Promise.resolve().then(function(){return ga}),printer:()=>Promise.resolve().then(function(){return wa}),"question-circle":()=>Promise.resolve().then(function(){return _a}),rocket:()=>Promise.resolve().then(function(){return xa}),save:()=>Promise.resolve().then(function(){return Ca}),search:()=>Promise.resolve().then(function(){return Ma}),send:()=>Promise.resolve().then(function(){return Ha}),"sg-crest":()=>Promise.resolve().then(function(){return za}),share:()=>Promise.resolve().then(function(){return Oa}),"shield-tick":()=>Promise.resolve().then(function(){return Ba}),"sidebar-collapse":()=>Promise.resolve().then(function(){return ka}),"sidebar-expand":()=>Promise.resolve().then(function(){return Aa}),"slash-circle":()=>Promise.resolve().then(function(){return Ta}),"slash-divider":()=>Promise.resolve().then(function(){return Na}),sliders:()=>Promise.resolve().then(function(){return Fa}),"sort-ascending":()=>Promise.resolve().then(function(){return Da}),"sort-descending":()=>Promise.resolve().then(function(){return Wa}),speedometer:()=>Promise.resolve().then(function(){return Ja}),"star-ai":()=>Promise.resolve().then(function(){return Ya}),"star-fill":()=>Promise.resolve().then(function(){return Qa}),star:()=>Promise.resolve().then(function(){return ts}),stoplights:()=>Promise.resolve().then(function(){return rs}),sun:()=>Promise.resolve().then(function(){return os}),"switch-horizontal":()=>Promise.resolve().then(function(){return as}),"switch-vertical":()=>Promise.resolve().then(function(){return cs}),tablet:()=>Promise.resolve().then(function(){return hs}),telegram:()=>Promise.resolve().then(function(){return us}),telephone:()=>Promise.resolve().then(function(){return gs}),"three-dots-vertical":()=>Promise.resolve().then(function(){return ws}),"three-dots":()=>Promise.resolve().then(function(){return _s}),ticket:()=>Promise.resolve().then(function(){return xs}),"toggle-off":()=>Promise.resolve().then(function(){return Cs}),"toggle-on":()=>Promise.resolve().then(function(){return Ms}),train:()=>Promise.resolve().then(function(){return Hs}),translate:()=>Promise.resolve().then(function(){return zs}),trash:()=>Promise.resolve().then(function(){return Os}),"trend-down":()=>Promise.resolve().then(function(){return Bs}),"trend-up":()=>Promise.resolve().then(function(){return ks}),truck:()=>Promise.resolve().then(function(){return As}),"twitter-x":()=>Promise.resolve().then(function(){return Ts}),unlock:()=>Promise.resolve().then(function(){return Ns}),upload:()=>Promise.resolve().then(function(){return Fs}),"user-check":()=>Promise.resolve().then(function(){return Ds}),"user-circle":()=>Promise.resolve().then(function(){return Ws}),"user-pause":()=>Promise.resolve().then(function(){return Js}),"user-square":()=>Promise.resolve().then(function(){return Ys}),users:()=>Promise.resolve().then(function(){return Qs}),"video-recorder":()=>Promise.resolve().then(function(){return tc}),"volume-max":()=>Promise.resolve().then(function(){return rc}),"volume-x":()=>Promise.resolve().then(function(){return oc}),"window-dash":()=>Promise.resolve().then(function(){return ac}),"window-desktop":()=>Promise.resolve().then(function(){return cc}),"window-dock":()=>Promise.resolve().then(function(){return hc}),"window-fullscreen":()=>Promise.resolve().then(function(){return uc}),"window-plus":()=>Promise.resolve().then(function(){return gc}),"window-sidebar":()=>Promise.resolve().then(function(){return wc}),"window-split":()=>Promise.resolve().then(function(){return _c}),"window-stack":()=>Promise.resolve().then(function(){return xc}),"window-x":()=>Promise.resolve().then(function(){return Cc}),window:()=>Promise.resolve().then(function(){return Mc}),"xcircle-fill":()=>Promise.resolve().then(function(){return Hc}),xcircle:()=>Promise.resolve().then(function(){return zc}),youtube:()=>Promise.resolve().then(function(){return Oc}),"zoom-in":()=>Promise.resolve().then(function(){return Bc}),"zoom-out":()=>Promise.resolve().then(function(){return kc})};var st=n`:host{color:inherit;display:inline-flex;vertical-align:bottom}:host(.icon-left){margin-right:.25rem}:host(.icon-right){margin-left:.25rem}:host([size=xs]) svg{height:var(--sgds-icon-size-xs);width:var(--sgds-icon-size-xs)}:host([size=sm]) svg{height:var(--sgds-icon-size-sm);width:var(--sgds-icon-size-sm)}:host([size=md]) svg{height:var(--sgds-icon-size-md);width:var(--sgds-icon-size-md)}:host([size=xl]) svg{height:var(--sgds-icon-size-xl);width:var(--sgds-icon-size-xl)}:host([size="2-xl"]) svg{height:var(--sgds-icon-size-2-xl);width:var(--sgds-icon-size-2-xl)}:host([size="3-xl"]) svg{height:var(--sgds-icon-size-3-xl);width:var(--sgds-icon-size-3-xl)}svg{display:inline-block;height:var(--sgds-icon-size-lg);width:var(--sgds-icon-size-lg)}`;const ct=new Map;class dt extends Xe{constructor(){super(...arguments),this.size="lg"}willUpdate(e){e.has("name")&&this._loadIcon(this.name)}async _loadIcon(e){if(!e)return void(this._icon=void 0);if(ct.has(e))return void(this._icon=ct.get(e));const t=at[e];if(!t)return console.warn(`Icon not found: ${e}`),void(this._icon=void 0);try{const l=await t();ct.set(e,l.default),this._icon=l.default}catch(t){console.warn(`Failed to load icon: ${e}`),this._icon=void 0}}updated(){var e;const t=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelector("svg");t&&(this.ariaLabel?(t.removeAttribute("aria-hidden"),t.setAttribute("aria-label",this.ariaLabel)):(t.removeAttribute("aria-label"),t.setAttribute("aria-hidden","true")))}render(){var e;return null!==(e=this._icon)&&void 0!==e?e:he}}dt.styles=[...Xe.styles,st],e([P({type:String,reflect:!0})],dt.prototype,"name",void 0),e([P({type:String,reflect:!0})],dt.prototype,"size",void 0),e([P({type:String})],dt.prototype,"ariaLabel",void 0),e([z()],dt.prototype,"_icon",void 0);var ht=n`:host{--sgds-spinner-bg:var(--sgds-primary-surface-default);display:inline-flex}:host([variant=neutral]){--sgds-spinner-bg:var(--sgds-neutral-surface-default)}:host([tone=neutral]){--sgds-spinner-bg:var(--sgds-surface-inverse)}:host([tone=inverse]){--sgds-spinner-bg:var(--sgds-surface-default)}:host([tone=fixed-light]){--sgds-spinner-bg:var(--sgds-surface-fixed-light)}:host([tone=fixed-dark]){--sgds-spinner-bg:var(--sgds-surface-fixed-dark)}.spinner-wrapper{align-items:center;display:flex;flex-direction:column;gap:var(--sgds-gap-2-xs)}.spinner-wrapper.horizontal{flex-direction:row}.spinner{--border-thickness:4px;animation:spinner .75s linear infinite;border:var(--border-thickness) solid var(--sgds-bg-translucent);border-radius:50%;border-right:var(--border-thickness) solid var(--sgds-spinner-bg);color:var(--sgds-spinner-color);display:inline-flex;height:var(--sgds-dimension-32);width:var(--sgds-dimension-32)}.spinner-xs{--border-thickness:2px;height:var(--sgds-dimension-16);width:var(--sgds-dimension-16)}.spinner-sm{--border-thickness:3px;height:var(--sgds-dimension-24);width:var(--sgds-dimension-24)}.spinner-lg{--border-thickness:6px;height:var(--sgds-dimension-48);width:var(--sgds-dimension-48)}.spinner-xl{--border-thickness:8px;height:var(--sgds-dimension-64);width:var(--sgds-dimension-64)}.spinner-label{color:var(--sgds-neutral-color-default);font-size:var(--sgds-font-size-label-sm)}
|
|
77
|
+
const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See https://lit.dev/msg/${e} for more information.`,Ue.litIssuedWarnings.has(t)||Ue.litIssuedWarnings.has(e)||(console.warn(t),Ue.litIssuedWarnings.add(t))};class Re extends y{constructor(){super(...arguments),this.renderOptions={host:this},this.__childPart=void 0}createRenderRoot(){const e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this.__childPart=Ve(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this.__childPart?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this.__childPart?.setConnected(!1)}render(){return de}}var De;Re._$litElement$=!0,Re[(De="finalized",De)]=!0,Ue.litElementHydrateSupport?.({LitElement:Re});const qe=Ue.litElementPolyfillSupportDevMode;qe?.({LitElement:Re}),(Ue.litElementVersions??=[]).push("4.2.2"),Ue.litElementVersions.length>1&&queueMicrotask(()=>{Fe("multiple-versions","Multiple versions of Lit loaded. Loading multiple versions is not recommended.")});var We=n`.invalid-feedback-container{display:flex;gap:var(--sgds-form-gap-sm)}.invalid-feedback,.invalid-feedback-container{color:var(--sgds-form-danger-color-default);line-height:var(--sgds-line-height-20)}.invalid-feedback{font-size:var(--sgds-font-size-label-sm);font-weight:var(--sgds-font-weight-regular)}.valid-icon{color:var(--sgds-form-success-color-default)}`,Ge=n`.form-text{color:var(--sgds-form-color-subtle);font-size:var(--sgds-font-size-label-sm);line-height:var(--sgds-line-height-2-xs)}.form-text.disabled{opacity:var(--sgds-opacity-40)}`,Je=n`.form-label{color:var(--sgds-form-color-default);font-weight:var(--sgds-font-weight-semibold);margin-bottom:0}.form-label.disabled{opacity:var(--sgds-opacity-40)}.form-check-label{color:var(--sgds-form-color-default)}.form-check-input:disabled~.form-check-label,.form-check-input[disabled]~.form-check-label{cursor:not-allowed}`,Ke=n`.form-control::placeholder{color:var(--sgds-form-color-subtle);font-family:var(--sgds-font-family-brand);font-weight:var(--sgds-font-weight-light);line-height:var(--sgds-line-height-24)}`,Ye=n`:host{-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;color:var(--sgds-body-color-default,#1a1a1a);display:block;font-family:var(--sgds-font-family-brand,"Inter",system-ui,sans-serif);font-size:var(--sgds-font-size-body-md,1rem);font-weight:var(--sgds-font-weight-regular,400);line-height:var(--sgds-line-height-xs,24px);margin:0;*,:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}:disabled{cursor:not-allowed}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}@media (prefers-reduced-motion:reduce){*,:after,:before{animation-duration:.1ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}::slotted(a[target=_blank]):after,a[target=_blank]:after{background-color:currentColor;content:"/";display:inline-block;height:1em;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.774 4.4H9.8a.6.6 0 1 1 0 1.2c-.85 0-1.451 0-1.922.039-.463.038-.745.11-.968.223A2.4 2.4 0 0 0 5.861 6.91c-.113.223-.184.505-.222.968-.039.47-.04 1.072-.04 1.922v4.4c0 .85.001 1.451.04 1.922.038.463.11.745.222.968a2.4 2.4 0 0 0 1.05 1.048c.222.114.504.185.967.223.47.038 1.072.039 1.922.039h4.4c.85 0 1.451 0 1.921-.039.464-.038.746-.11.969-.223a2.4 2.4 0 0 0 1.048-1.048c.113-.223.185-.505.223-.968.038-.47.039-1.072.039-1.922a.6.6 0 1 1 1.2 0v.026c0 .818 0 1.468-.043 1.993-.044.538-.136.996-.35 1.415a3.6 3.6 0 0 1-1.573 1.574c-.42.213-.878.305-1.415.35-.525.042-1.175.042-1.993.042H9.774c-.818 0-1.469 0-1.993-.043-.538-.044-.996-.136-1.415-.35a3.6 3.6 0 0 1-1.574-1.573c-.213-.42-.305-.877-.35-1.415-.042-.525-.042-1.175-.042-1.993V9.774c0-.818 0-1.468.043-1.993.044-.538.136-.996.35-1.415a3.6 3.6 0 0 1 1.573-1.574c.42-.213.877-.305 1.415-.35C8.305 4.4 8.956 4.4 9.774 4.4ZM12.4 5a.6.6 0 0 1 .6-.6h6a.6.6 0 0 1 .6.6v6a.6.6 0 1 1-1.2 0V6.449l-5.976 5.975a.6.6 0 0 1-.848-.848L17.55 5.6H13a.6.6 0 0 1-.6-.6Z' fill='%230E0E0E'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.774 4.4H9.8a.6.6 0 1 1 0 1.2c-.85 0-1.451 0-1.922.039-.463.038-.745.11-.968.223A2.4 2.4 0 0 0 5.861 6.91c-.113.223-.184.505-.222.968-.039.47-.04 1.072-.04 1.922v4.4c0 .85.001 1.451.04 1.922.038.463.11.745.222.968a2.4 2.4 0 0 0 1.05 1.048c.222.114.504.185.967.223.47.038 1.072.039 1.922.039h4.4c.85 0 1.451 0 1.921-.039.464-.038.746-.11.969-.223a2.4 2.4 0 0 0 1.048-1.048c.113-.223.185-.505.223-.968.038-.47.039-1.072.039-1.922a.6.6 0 1 1 1.2 0v.026c0 .818 0 1.468-.043 1.993-.044.538-.136.996-.35 1.415a3.6 3.6 0 0 1-1.573 1.574c-.42.213-.878.305-1.415.35-.525.042-1.175.042-1.993.042H9.774c-.818 0-1.469 0-1.993-.043-.538-.044-.996-.136-1.415-.35a3.6 3.6 0 0 1-1.574-1.573c-.213-.42-.305-.877-.35-1.415-.042-.525-.042-1.175-.042-1.993V9.774c0-.818 0-1.468.043-1.993.044-.538.136-.996.35-1.415a3.6 3.6 0 0 1 1.573-1.574c.42-.213.877-.305 1.415-.35C8.305 4.4 8.956 4.4 9.774 4.4ZM12.4 5a.6.6 0 0 1 .6-.6h6a.6.6 0 0 1 .6.6v6a.6.6 0 1 1-1.2 0V6.449l-5.976 5.975a.6.6 0 0 1-.848-.848L17.55 5.6H13a.6.6 0 0 1-.6-.6Z' fill='%230E0E0E'/%3E%3C/svg%3E");-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;vertical-align:top;width:1em}::slotted(svg){vertical-align:middle}}`;class Xe extends Re{emit(e,t){const l=new CustomEvent(e,Object.assign({bubbles:!0,cancelable:!1,composed:!0,detail:{}},t));return this.dispatchEvent(l),l}static define(e,t=this,l={}){if(customElements.get(e));else try{customElements.define(e,t,l)}catch(r){customElements.define(e,class extends t{},l)}}constructor(){super(),this.ssr=Boolean(this.shadowRoot),Object.entries(this.constructor.dependencies).forEach(([e,t])=>{this.constructor.define(e,t)})}firstUpdated(e){var t;super.firstUpdated(e),this.ssr&&(null===(t=this.shadowRoot)||void 0===t||t.querySelectorAll("slot").forEach(e=>{e.dispatchEvent(new Event("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))}))}}function Qe(e="",t=""){return`id-${Math.random().toString().substring(2,6)}-sgds-${e}-${t}`}Xe.styles=[Ye],Xe.dependencies={},e([P({type:Boolean,reflect:!0})],Xe.prototype,"ssr",void 0);class et extends Xe{constructor(){super(...arguments),this.label="",this.hintText="",this.disabled=!1,this.invalid=!1,this._controlId=Qe("input"),this._labelId=Qe("label")}setInvalid(e){this.invalid=e,e?this.emit("sgds-invalid"):this.emit("sgds-valid")}}et.styles=[...Xe.styles,We,Ge,Je,Ke],e([P({reflect:!0})],et.prototype,"label",void 0),e([P({reflect:!0})],et.prototype,"hintText",void 0),e([P({reflect:!0})],et.prototype,"name",void 0),e([P({type:Boolean,reflect:!0})],et.prototype,"disabled",void 0),e([P({type:Boolean,reflect:!0})],et.prototype,"invalid",void 0);var tt=n`svg{vertical-align:middle}`;const lt=(e="value")=>(t,l)=>{const r=t.constructor,i=r.prototype.attributeChangedCallback;r.prototype.attributeChangedCallback=function(t,o,n){var a;const s=r.getPropertyOptions(e);if(t===("string"==typeof s.attribute?s.attribute:e).toLowerCase()){const t=s.converter||Z,r=("function"==typeof t?t:null!==(a=null==t?void 0:t.fromAttribute)&&void 0!==a?a:Z.fromAttribute)(n,s.type);this[e]!==r&&(this[l]=r)}i.call(this,t,o,n)}};class rt{constructor(e,t){(this.host=e).addController(this),this._internals=e._internals||this.host.attachInternals(),this.options=Object.assign({setInvalid:(e,t)=>{e.invalid=t},value:e=>e.value,input:e=>e.input},t)}hostConnected(){this.host.addEventListener("invalid",e=>this.handleInvalid(e))}hostDisconnected(){this.host.removeEventListener("invalid",e=>this.handleInvalid(e))}handleInvalid(e){e.preventDefault(),this.options.setInvalid(this.host,!0)}handleInput(e){const t=e.target;this.options.setInvalid(this.host,!1),this.validateInput(t)}handleChange(e){const t=e.target;this.validateInput(t),this.options.setInvalid(this.host,!this.checkValidity())}get form(){return this._internals.form}get validity(){return this._internals.validity}get validationMessage(){return this._internals.validationMessage}get willValidate(){return this._internals.willValidate}updateInvalidState(){this.options.setInvalid(this.host,!this.checkValidity())}resetValidity(){return this._internals.setValidity({})}checkValidity(){return this._internals.checkValidity()}reportValidity(){return this._internals.reportValidity()}setValidity(e,t,l){return this._internals.setValidity(e,t,l)}setFormValue(){const e=this.options.value(this.host);this._internals.setFormValue(e)}validateInput(e){if(this.options.input(this.host).disabled)return this._internals.setValidity({});const t=e.validity;if(t.valid)this._internals.setValidity({});else for(const l in t)t[l]&&(this.validationError=l.toString(),this._internals.setValidity({[this.validationError]:!0},e.validationMessage,e))}}const it=t=>{class l extends t{constructor(...e){super(...e),this._isTouched=!1,this._internals=this.attachInternals()}connectedCallback(){var e;super.connectedCallback(),null!==(e=this.inputValidationController)&&void 0!==e||(this.inputValidationController=new rt(this))}async firstUpdated(e){super.firstUpdated(e),this.input=this.shadowRoot.querySelector("input")||await this.sgdsInput||this.shadowRoot.querySelector("textarea")||await this.sgdsDatepickerInput,this._mixinSetFormValue(),this._mixinShouldSkipSgdsValidation()||this._mixinValidate(this.input)}formResetCallback(){this._mixinResetFormControl?this._mixinResetFormControl():(this.value=this.defaultValue,this._mixinResetValidity(this.input)),this._mixinSetFormValue()}_mixinHandleChange(e){this._mixinSetFormValue(),this._mixinShouldSkipSgdsValidation()||this.inputValidationController.handleChange(e)}_mixinHandleInputChange(e){this._mixinSetFormValue(),this._mixinShouldSkipSgdsValidation()||this.inputValidationController.handleInput(e)}_mixinResetValidity(e){this.inputValidationController.resetValidity(),this.inputValidationController.updateInvalidState(),this._isTouched&&(this._isTouched=!1),this._mixinShouldSkipSgdsValidation()||this.inputValidationController.validateInput(e)}_mixinValidate(e){this._mixinShouldSkipSgdsValidation()||this.inputValidationController.validateInput(e)}_mixinSetFormValue(){const e=this.value;this._internals.setFormValue(e)}_mixinCheckValidity(){return!!this._mixinShouldSkipSgdsValidation()||this.inputValidationController.checkValidity()}_mixinReportValidity(){return!!this._mixinShouldSkipSgdsValidation()||this.inputValidationController.reportValidity()}_mixinGetValidity(){return this._internals.validity}_mixinGetValidationMessage(){return this._internals.validationMessage}_mixinSetValidity(e,t,l){if(!this._mixinShouldSkipSgdsValidation())return this.inputValidationController.setValidity(e,t,l)}_mixinShouldSkipSgdsValidation(){const e=this.closest("form");return(null==e?void 0:e.noValidate)||this.noValidate}}return l.formAssociated=!0,e([B("sgds-input")],l.prototype,"sgdsInput",void 0),e([B("sgds-datepicker-input")],l.prototype,"sgdsDatepickerInput",void 0),l};var ot=n`:host{--btn-font-weight:var(--sgds-font-weight-regular);--btn-color:var(--sgds-color-fixed-light);--btn-bg:var(--sgds-primary-surface-default);--btn-hover-bg:var(--sgds-primary-surface-emphasis);--btn-border-radius:var(--sgds-border-radius-md);--btn-opacity:var(--sgds-opacity-100,1)}:host([variant=danger]){--btn-bg:var(--sgds-danger-surface-default);--btn-hover-bg:var(--sgds-danger-surface-emphasis);--btn-color:var(--sgds-color-fixed-light)}:host([variant=primary][tone=brand]){--btn-bg:var(--sgds-primary-surface-default);--btn-color:var(--sgds-color-fixed-light)}:host([variant=outline]){--btn-border-width:var(--sgds-border-width-1)}:host([variant=outline][tone=brand]){--btn-border-color:var(--sgds-primary-border-color-default);--btn-bg:var(--sgds-bg-transparent);--btn-color:var(--sgds-primary-color-default);--btn-hover-bg:var(--sgds-primary-bg-translucent)}:host([variant=ghost][tone=brand]){--btn-bg:var(--sgds-bg-transparent);--btn-hover-bg:var(--sgds-primary-surface-translucent);--btn-color:var(--sgds-primary-color-default)}:host([variant=primary][tone=danger]){--btn-bg:var(--sgds-danger-surface-default);--btn-hover-bg:var(--sgds-danger-surface-emphasis);--btn-color:var(--sgds-color-fixed-light)}:host([variant=outline][tone=danger]){--btn-border-color:var(--sgds-danger-border-color-default);--btn-bg:var(--sgds-bg-transparent);--btn-hover-bg:var(--sgds-danger-surface-translucent);--btn-color:var(--sgds-danger-color-default)}:host([variant=ghost][tone=danger]){--btn-bg:var(--sgds-bg-transparent);--btn-hover-bg:var(--sgds-danger-surface-translucent);--btn-color:var(--sgds-danger-color-default)}:host([variant=primary][tone=fixed-light]){--btn-bg:var(--sgds-surface-fixed-light);--btn-hover-bg:linear-gradient(0deg,var(--sgds-bg-translucent-fixed-dark,hsla(0,0%,5%,.2)) 0%,var(--sgds-bg-translucent-fixed-dark,hsla(0,0%,5%,.2)) 100%),var(--sgds-surface-fixed-light,#fff);--btn-color:var(--sgds-color-fixed-dark)}:host([variant=outline][tone=fixed-light]){--btn-border-color:var(--sgds-border-color-fixed-light);--btn-bg:var(--sgds-bg-transparent);--btn-hover-bg:linear-gradient(0deg,var(--sgds-bg-translucent-fixed-dark) 0%,var(--sgds-bg-translucent-fixed-dark) 100%),var(--sgds-bg-transparent);--btn-color:var(--sgds-color-fixed-light)}:host([variant=ghost][tone=fixed-light]){--btn-bg:var(--sgds-bg-transparent);--btn-hover-bg:linear-gradient(0deg,var(--sgds-bg-translucent-fixed-dark) 0%,var(--sgds-bg-translucent-fixed-dark) 100%),var(--sgds-bg-transparent);--btn-color:var(--sgds-color-fixed-light)}:host([variant=primary][tone=neutral]){--btn-bg:var(--sgds-surface-inverse);--btn-hover-bg:linear-gradient(0deg,var(--sgds-bg-translucent-inverse) 0%,var(--sgds-bg-translucent-inverse) 100%),var(--sgds-surface-inverse);--btn-color:var(--sgds-color-inverse)}:host([variant=outline][tone=neutral]){--btn-border-color:var(--sgds-border-color-emphasis);--btn-bg:var(--sgds-bg-transparent);--btn-hover-bg:linear-gradient(0deg,var(--sgds-bg-translucent-inverse) 0%,var(--sgds-bg-translucent-inverse) 100%),var(--sgds-bg-translucent-subtle);--btn-color:var(--sgds-color-default)}:host([variant=ghost][tone=neutral]){--btn-bg:var(--sgds-bg-transparent);--btn-hover-bg:var(--sgds-bg-translucent-subtle);--btn-color:var(--sgds-color-default)}:host([variant=ghost]) .btn,:host([variant=outline]) .btn,:host([variant=primary]) .btn{color:var(--btn-color)}:host([variant=outline]) .btn{border:var(--btn-border-width) solid var(--btn-border-color)}:host([size=lg]) .btn{font-size:var(--sgds-font-size-label-lg);height:var(--sgds-dimension-56);line-height:var(--sgds-line-height-md);min-width:var(--sgds-dimension-112);padding:var(--sgds-padding-none) var(--sgds-padding-xl)}:host([size=sm]) .btn{font-size:var(--sgds-font-size-label-sm);height:var(--sgds-dimension-40);line-height:var(--sgds-line-height-2-xs);min-width:var(--sgds-dimension-80);padding:var(--sgds-padding-none) var(--sgds-padding-md)}:host([size=xs]) .btn{font-size:var(--sgds-font-size-label-xs);height:var(--sgds-dimension-32);line-height:var(--sgds-line-height-3-xs);min-width:var(--sgds-dimension-64);padding:var(--sgds-padding-none) var(--sgds-padding-sm)}.btn{align-items:center;background-color:var(--btn-bg);border:var(--sgds-border-width-1) solid var(--sgds-border-color-transparent);border-radius:var(--btn-border-radius);color:var(--sgds-color-fixed-light);cursor:pointer;display:inline-flex;font-size:var(--sgds-font-size-label-md);font-weight:var(--btn-font-weight);gap:var(--sgds-gap-2-xs);height:var(--sgds-dimension-48);justify-content:center;line-height:var(--sgds-line-height-xs);min-width:var(--sgds-dimension-96);opacity:var(--btn-opacity);padding:var(--sgds-padding-none) var(--sgds-padding-lg);text-align:center;text-decoration:none;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;user-select:none;vertical-align:middle;white-space:nowrap;width:inherit}.btn.active,.btn:hover{background:var(--btn-hover-bg)}.btn:focus-visible{background:var(--btn-hover-bg);border-color:transparent;outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}.btn.disabled,.btn:disabled{color:var(--btn-color);cursor:not-allowed;opacity:var(--sgds-opacity-40)}.btn.loading{cursor:default}.btn slot::slotted(*){color:var(--btn-color)}`;class nt extends Xe{constructor(){super(...arguments),this.variant="primary",this.tone="brand",this.size="md",this.active=!1,this.disabled=!1,this.target="_self"}focus(e){this.button.focus(e)}click(){this.button.click()}blur(){this.button.blur()}_handleBlur(){this.emit("sgds-blur")}_handleFocus(){this.emit("sgds-focus")}_handleClick(e){if(this.disabled||this.loading)return e.preventDefault(),void e.stopPropagation()}_handleKeydown(e){if("Enter"===e.key&&this.loading)return e.preventDefault(),void e.stopPropagation()}_assignSpinnerSize(e){return"xs"===e||"sm"===e?"xs":"md"===e||"lg"===e?"sm":void 0}_assignSpinnerTone(e,t){return"fixed-light"===e&&"primary"===t?"fixed-dark":"neutral"===e&&"primary"===t?"inverse":"fixed-light"===e||"primary"===t?"fixed-light":"neutral"!==e||"outline"!==t&&"ghost"!==t?"brand":"neutral"}}nt.styles=[...Xe.styles,ot],e([S(".btn")],nt.prototype,"button",void 0),e([P({reflect:!0})],nt.prototype,"variant",void 0),e([P({reflect:!0})],nt.prototype,"tone",void 0),e([P({reflect:!0})],nt.prototype,"size",void 0),e([P({type:Boolean,reflect:!0})],nt.prototype,"active",void 0),e([P({type:Boolean,reflect:!0})],nt.prototype,"disabled",void 0),e([P({type:String,reflect:!0})],nt.prototype,"href",void 0),e([P({type:String,reflect:!0})],nt.prototype,"target",void 0),e([P({type:String,reflect:!0})],nt.prototype,"download",void 0),e([P({type:String})],nt.prototype,"ariaLabel",void 0),e([P({type:Boolean})],nt.prototype,"loading",void 0);const at={announcement:()=>Promise.resolve().then(function(){return Mt}),archive:()=>Promise.resolve().then(function(){return Ht}),"arrow-bar-down":()=>Promise.resolve().then(function(){return zt}),"arrow-bar-left":()=>Promise.resolve().then(function(){return Ot}),"arrow-bar-right":()=>Promise.resolve().then(function(){return Bt}),"arrow-bar-up":()=>Promise.resolve().then(function(){return kt}),"arrow-circle-down":()=>Promise.resolve().then(function(){return At}),"arrow-circle-left":()=>Promise.resolve().then(function(){return Tt}),"arrow-circle-right":()=>Promise.resolve().then(function(){return Nt}),"arrow-circle-up":()=>Promise.resolve().then(function(){return Ft}),"arrow-clockwise":()=>Promise.resolve().then(function(){return Dt}),"arrow-down":()=>Promise.resolve().then(function(){return Wt}),"arrow-left":()=>Promise.resolve().then(function(){return Jt}),"arrow-repeat":()=>Promise.resolve().then(function(){return Yt}),"arrow-right":()=>Promise.resolve().then(function(){return Qt}),"arrow-square-down":()=>Promise.resolve().then(function(){return tl}),"arrow-square-left":()=>Promise.resolve().then(function(){return rl}),"arrow-square-right":()=>Promise.resolve().then(function(){return ol}),"arrow-square-up":()=>Promise.resolve().then(function(){return al}),"arrow-up":()=>Promise.resolve().then(function(){return cl}),"bank-fill":()=>Promise.resolve().then(function(){return hl}),"bell-slash":()=>Promise.resolve().then(function(){return ul}),bell:()=>Promise.resolve().then(function(){return gl}),"bi-funnel":()=>Promise.resolve().then(function(){return wl}),"bookmark-fill":()=>Promise.resolve().then(function(){return _l}),bookmark:()=>Promise.resolve().then(function(){return Zl}),"box-arrow-up-right":()=>Promise.resolve().then(function(){return Cl}),"box-seam":()=>Promise.resolve().then(function(){return Ml}),building:()=>Promise.resolve().then(function(){return Hl}),bus:()=>Promise.resolve().then(function(){return zl}),calculator:()=>Promise.resolve().then(function(){return Ol}),"calendar-check":()=>Promise.resolve().then(function(){return Bl}),"calendar-heart":()=>Promise.resolve().then(function(){return kl}),"calendar-x":()=>Promise.resolve().then(function(){return Al}),calendar:()=>Promise.resolve().then(function(){return Tl}),camera:()=>Promise.resolve().then(function(){return Nl}),car:()=>Promise.resolve().then(function(){return Fl}),"chat-dots":()=>Promise.resolve().then(function(){return Dl}),"chat-left-text":()=>Promise.resolve().then(function(){return Wl}),chat:()=>Promise.resolve().then(function(){return Jl}),"check-circle-fill":()=>Promise.resolve().then(function(){return Yl}),"check-circle":()=>Promise.resolve().then(function(){return Ql}),check:()=>Promise.resolve().then(function(){return tr}),"chevron-down":()=>Promise.resolve().then(function(){return rr}),"chevron-left":()=>Promise.resolve().then(function(){return or}),"chevron-right":()=>Promise.resolve().then(function(){return ar}),"chevron-selector-vertical":()=>Promise.resolve().then(function(){return cr}),"chevron-up":()=>Promise.resolve().then(function(){return hr}),clock:()=>Promise.resolve().then(function(){return ur}),"cloud-check":()=>Promise.resolve().then(function(){return gr}),"cloud-download":()=>Promise.resolve().then(function(){return wr}),"cloud-upload":()=>Promise.resolve().then(function(){return _r}),cloud:()=>Promise.resolve().then(function(){return Zr}),"code-square":()=>Promise.resolve().then(function(){return Cr}),"coins-hand":()=>Promise.resolve().then(function(){return Mr}),compass:()=>Promise.resolve().then(function(){return Hr}),copy:()=>Promise.resolve().then(function(){return zr}),"cpu-chip-ai":()=>Promise.resolve().then(function(){return Or}),cross:()=>Promise.resolve().then(function(){return Br}),"cursor-fill":()=>Promise.resolve().then(function(){return kr}),cursor:()=>Promise.resolve().then(function(){return Ar}),"dash-circle":()=>Promise.resolve().then(function(){return Tr}),"dash-square":()=>Promise.resolve().then(function(){return Nr}),dash:()=>Promise.resolve().then(function(){return Fr}),database:()=>Promise.resolve().then(function(){return Dr}),dataflow:()=>Promise.resolve().then(function(){return Wr}),download:()=>Promise.resolve().then(function(){return Jr}),edit:()=>Promise.resolve().then(function(){return Yr}),"exclamation-circle-fill":()=>Promise.resolve().then(function(){return Qr}),"exclamation-circle":()=>Promise.resolve().then(function(){return ti}),"exclamation-triangle-fill":()=>Promise.resolve().then(function(){return ri}),"exclamation-triangle":()=>Promise.resolve().then(function(){return oi}),exclamation:()=>Promise.resolve().then(function(){return ai}),"eye-fill":()=>Promise.resolve().then(function(){return ci}),"eye-slash-fill":()=>Promise.resolve().then(function(){return hi}),"eye-slash":()=>Promise.resolve().then(function(){return ui}),eye:()=>Promise.resolve().then(function(){return gi}),"face-smile-fill":()=>Promise.resolve().then(function(){return wi}),"face-smile":()=>Promise.resolve().then(function(){return _i}),facebook:()=>Promise.resolve().then(function(){return Zi}),"file-earmark-text":()=>Promise.resolve().then(function(){return Ci}),"file-pdf":()=>Promise.resolve().then(function(){return Mi}),"file-plus":()=>Promise.resolve().then(function(){return Hi}),"file-text":()=>Promise.resolve().then(function(){return zi}),file:()=>Promise.resolve().then(function(){return Oi}),files:()=>Promise.resolve().then(function(){return Bi}),fingerprint:()=>Promise.resolve().then(function(){return ki}),flash:()=>Promise.resolve().then(function(){return Ai}),"folder-check":()=>Promise.resolve().then(function(){return Ti}),"folder-minus":()=>Promise.resolve().then(function(){return Ni}),"folder-plus":()=>Promise.resolve().then(function(){return Fi}),folder:()=>Promise.resolve().then(function(){return Di}),gear:()=>Promise.resolve().then(function(){return Wi}),"geo-alt":()=>Promise.resolve().then(function(){return Ji}),"geo-fill":()=>Promise.resolve().then(function(){return Yi}),geo:()=>Promise.resolve().then(function(){return Qi}),"globe-alt":()=>Promise.resolve().then(function(){return to}),globe:()=>Promise.resolve().then(function(){return ro}),google:()=>Promise.resolve().then(function(){return oo}),"grid-alt":()=>Promise.resolve().then(function(){return ao}),"grid-fill":()=>Promise.resolve().then(function(){return co}),"hand-thumbs-down":()=>Promise.resolve().then(function(){return vo}),"hand-thumbs-up":()=>Promise.resolve().then(function(){return po}),"hard-drive":()=>Promise.resolve().then(function(){return fo}),heart:()=>Promise.resolve().then(function(){return mo}),"house-door":()=>Promise.resolve().then(function(){return bo}),house:()=>Promise.resolve().then(function(){return xo}),image:()=>Promise.resolve().then(function(){return yo}),"in-box":()=>Promise.resolve().then(function(){return Vo}),"info-circle-fill":()=>Promise.resolve().then(function(){return Po}),"info-circle":()=>Promise.resolve().then(function(){return $o}),instagram:()=>Promise.resolve().then(function(){return So}),key:()=>Promise.resolve().then(function(){return jo}),"laptop-gear":()=>Promise.resolve().then(function(){return Lo}),laptop:()=>Promise.resolve().then(function(){return Io}),layers:()=>Promise.resolve().then(function(){return Eo}),"layout-text-window-reverse":()=>Promise.resolve().then(function(){return Uo}),"layout-text-window":()=>Promise.resolve().then(function(){return Ro}),layout:()=>Promise.resolve().then(function(){return qo}),"life-buoy":()=>Promise.resolve().then(function(){return Go}),lightbulb:()=>Promise.resolve().then(function(){return Ko}),link:()=>Promise.resolve().then(function(){return Xo}),linkedin:()=>Promise.resolve().then(function(){return en}),list:()=>Promise.resolve().then(function(){return ln}),"lock-fill":()=>Promise.resolve().then(function(){return on}),lock:()=>Promise.resolve().then(function(){return an}),login:()=>Promise.resolve().then(function(){return cn}),logout:()=>Promise.resolve().then(function(){return hn}),luggage:()=>Promise.resolve().then(function(){return un}),"mail-open":()=>Promise.resolve().then(function(){return gn}),mail:()=>Promise.resolve().then(function(){return wn}),map:()=>Promise.resolve().then(function(){return _n}),meetup:()=>Promise.resolve().then(function(){return Zn}),menu:()=>Promise.resolve().then(function(){return Cn}),microphone:()=>Promise.resolve().then(function(){return Mn}),monitor:()=>Promise.resolve().then(function(){return Hn}),moon:()=>Promise.resolve().then(function(){return zn}),move:()=>Promise.resolve().then(function(){return On}),paperclip:()=>Promise.resolve().then(function(){return Bn}),passcode:()=>Promise.resolve().then(function(){return kn}),passport:()=>Promise.resolve().then(function(){return An}),pause:()=>Promise.resolve().then(function(){return Tn}),pencil:()=>Promise.resolve().then(function(){return Nn}),"pending-circle":()=>Promise.resolve().then(function(){return Fn}),"person-dash":()=>Promise.resolve().then(function(){return Dn}),"person-plus":()=>Promise.resolve().then(function(){return Wn}),"person-x":()=>Promise.resolve().then(function(){return Jn}),person:()=>Promise.resolve().then(function(){return Yn}),phone:()=>Promise.resolve().then(function(){return Qn}),"pin-map-fill":()=>Promise.resolve().then(function(){return ta}),pin:()=>Promise.resolve().then(function(){return ra}),placeholder:()=>Promise.resolve().then(function(){return oa}),plane:()=>Promise.resolve().then(function(){return aa}),play:()=>Promise.resolve().then(function(){return ca}),"plus-circle":()=>Promise.resolve().then(function(){return ha}),"plus-square":()=>Promise.resolve().then(function(){return ua}),plus:()=>Promise.resolve().then(function(){return ga}),printer:()=>Promise.resolve().then(function(){return wa}),"question-circle":()=>Promise.resolve().then(function(){return _a}),rocket:()=>Promise.resolve().then(function(){return Za}),save:()=>Promise.resolve().then(function(){return Ca}),search:()=>Promise.resolve().then(function(){return Ma}),send:()=>Promise.resolve().then(function(){return Ha}),"sg-crest":()=>Promise.resolve().then(function(){return za}),share:()=>Promise.resolve().then(function(){return Oa}),"shield-tick":()=>Promise.resolve().then(function(){return Ba}),"sidebar-collapse":()=>Promise.resolve().then(function(){return ka}),"sidebar-expand":()=>Promise.resolve().then(function(){return Aa}),"slash-circle":()=>Promise.resolve().then(function(){return Ta}),"slash-divider":()=>Promise.resolve().then(function(){return Na}),sliders:()=>Promise.resolve().then(function(){return Fa}),"sort-ascending":()=>Promise.resolve().then(function(){return Da}),"sort-descending":()=>Promise.resolve().then(function(){return Wa}),speedometer:()=>Promise.resolve().then(function(){return Ja}),"star-ai":()=>Promise.resolve().then(function(){return Ya}),"star-fill":()=>Promise.resolve().then(function(){return Qa}),star:()=>Promise.resolve().then(function(){return ts}),stoplights:()=>Promise.resolve().then(function(){return rs}),sun:()=>Promise.resolve().then(function(){return os}),"switch-horizontal":()=>Promise.resolve().then(function(){return as}),"switch-vertical":()=>Promise.resolve().then(function(){return cs}),tablet:()=>Promise.resolve().then(function(){return hs}),telegram:()=>Promise.resolve().then(function(){return us}),telephone:()=>Promise.resolve().then(function(){return gs}),"three-dots-vertical":()=>Promise.resolve().then(function(){return ws}),"three-dots":()=>Promise.resolve().then(function(){return _s}),ticket:()=>Promise.resolve().then(function(){return Zs}),"toggle-off":()=>Promise.resolve().then(function(){return Cs}),"toggle-on":()=>Promise.resolve().then(function(){return Ms}),train:()=>Promise.resolve().then(function(){return Hs}),translate:()=>Promise.resolve().then(function(){return zs}),trash:()=>Promise.resolve().then(function(){return Os}),"trend-down":()=>Promise.resolve().then(function(){return Bs}),"trend-up":()=>Promise.resolve().then(function(){return ks}),truck:()=>Promise.resolve().then(function(){return As}),"twitter-x":()=>Promise.resolve().then(function(){return Ts}),unlock:()=>Promise.resolve().then(function(){return Ns}),upload:()=>Promise.resolve().then(function(){return Fs}),"user-check":()=>Promise.resolve().then(function(){return Ds}),"user-circle":()=>Promise.resolve().then(function(){return Ws}),"user-pause":()=>Promise.resolve().then(function(){return Js}),"user-square":()=>Promise.resolve().then(function(){return Ys}),users:()=>Promise.resolve().then(function(){return Qs}),"video-recorder":()=>Promise.resolve().then(function(){return tc}),"volume-max":()=>Promise.resolve().then(function(){return rc}),"volume-x":()=>Promise.resolve().then(function(){return oc}),"window-dash":()=>Promise.resolve().then(function(){return ac}),"window-desktop":()=>Promise.resolve().then(function(){return cc}),"window-dock":()=>Promise.resolve().then(function(){return hc}),"window-fullscreen":()=>Promise.resolve().then(function(){return uc}),"window-plus":()=>Promise.resolve().then(function(){return gc}),"window-sidebar":()=>Promise.resolve().then(function(){return wc}),"window-split":()=>Promise.resolve().then(function(){return _c}),"window-stack":()=>Promise.resolve().then(function(){return Zc}),"window-x":()=>Promise.resolve().then(function(){return Cc}),window:()=>Promise.resolve().then(function(){return Mc}),"xcircle-fill":()=>Promise.resolve().then(function(){return Hc}),xcircle:()=>Promise.resolve().then(function(){return zc}),youtube:()=>Promise.resolve().then(function(){return Oc}),"zoom-in":()=>Promise.resolve().then(function(){return Bc}),"zoom-out":()=>Promise.resolve().then(function(){return kc})};var st=n`:host{color:inherit;display:inline-flex;vertical-align:bottom}:host(.icon-left){margin-right:.25rem}:host(.icon-right){margin-left:.25rem}:host([size=xs]) svg{height:var(--sgds-icon-size-xs);width:var(--sgds-icon-size-xs)}:host([size=sm]) svg{height:var(--sgds-icon-size-sm);width:var(--sgds-icon-size-sm)}:host([size=md]) svg{height:var(--sgds-icon-size-md);width:var(--sgds-icon-size-md)}:host([size=xl]) svg{height:var(--sgds-icon-size-xl);width:var(--sgds-icon-size-xl)}:host([size="2-xl"]) svg{height:var(--sgds-icon-size-2-xl);width:var(--sgds-icon-size-2-xl)}:host([size="3-xl"]) svg{height:var(--sgds-icon-size-3-xl);width:var(--sgds-icon-size-3-xl)}svg{display:inline-block;height:var(--sgds-icon-size-lg);width:var(--sgds-icon-size-lg)}`;const ct=new Map;class dt extends Xe{constructor(){super(...arguments),this.size="lg"}willUpdate(e){e.has("name")&&this._loadIcon(this.name)}async _loadIcon(e){if(!e)return void(this._icon=void 0);if(ct.has(e))return void(this._icon=ct.get(e));const t=at[e];if(!t)return console.warn(`Icon not found: ${e}`),void(this._icon=void 0);try{const l=await t();ct.set(e,l.default),this._icon=l.default}catch(t){console.warn(`Failed to load icon: ${e}`),this._icon=void 0}}updated(){var e;const t=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelector("svg");t&&(this.ariaLabel?(t.removeAttribute("aria-hidden"),t.setAttribute("aria-label",this.ariaLabel)):(t.removeAttribute("aria-label"),t.setAttribute("aria-hidden","true")))}render(){var e;return null!==(e=this._icon)&&void 0!==e?e:he}}dt.styles=[...Xe.styles,st],e([P({type:String,reflect:!0})],dt.prototype,"name",void 0),e([P({type:String,reflect:!0})],dt.prototype,"size",void 0),e([P({type:String})],dt.prototype,"ariaLabel",void 0),e([z()],dt.prototype,"_icon",void 0);var ht=n`:host{--sgds-spinner-bg:var(--sgds-primary-surface-default);display:inline-flex}:host([variant=neutral]){--sgds-spinner-bg:var(--sgds-neutral-surface-default)}:host([tone=neutral]){--sgds-spinner-bg:var(--sgds-surface-inverse)}:host([tone=inverse]){--sgds-spinner-bg:var(--sgds-surface-default)}:host([tone=fixed-light]){--sgds-spinner-bg:var(--sgds-surface-fixed-light)}:host([tone=fixed-dark]){--sgds-spinner-bg:var(--sgds-surface-fixed-dark)}.spinner-wrapper{align-items:center;display:flex;flex-direction:column;gap:var(--sgds-gap-2-xs)}.spinner-wrapper.horizontal{flex-direction:row}.spinner{--border-thickness:4px;animation:spinner .75s linear infinite;border:var(--border-thickness) solid var(--sgds-bg-translucent);border-radius:50%;border-right:var(--border-thickness) solid var(--sgds-spinner-bg);color:var(--sgds-spinner-color);display:inline-flex;height:var(--sgds-dimension-32);width:var(--sgds-dimension-32)}.spinner-xs{--border-thickness:2px;height:var(--sgds-dimension-16);width:var(--sgds-dimension-16)}.spinner-sm{--border-thickness:3px;height:var(--sgds-dimension-24);width:var(--sgds-dimension-24)}.spinner-lg{--border-thickness:6px;height:var(--sgds-dimension-48);width:var(--sgds-dimension-48)}.spinner-xl{--border-thickness:8px;height:var(--sgds-dimension-64);width:var(--sgds-dimension-64)}.spinner-label{color:var(--sgds-neutral-color-default);font-size:var(--sgds-font-size-label-sm)}
|
|
78
78
|
|
|
79
79
|
|
|
80
80
|
/*! CSS Used keyframes */@keyframes spinner{to{transform:rotate(1turn)}}.sr-only{clip:rect(0,0,0,0);border:0;height:1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}`,vt=n`.text-primary{color:var(--sgds-primary-rgb)!important}.text-secondary{color:var(--sgds-secondary-rgb)!important}.text-success{color:var(--sgds-success-rgb)!important}.text-info{color:var(--sgds-info-rgb)!important}.text-warning{color:var(--sgds-warning-rgb)!important}.text-danger{color:var(--sgds-danger-rgb)!important}.text-light{color:var(--sgds-light-rgb)!important}.text-dark{color:var(--sgds-dark-rgb)!important}.text-muted{color:var(--sgds-secondary-color)!important}`;class ut extends Xe{constructor(){super(...arguments),this.variant="primary",this.tone="brand",this.size="md",this.orientation="vertical"}render(){return Ee`
|
|
@@ -183,7 +183,7 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
183
183
|
</div>
|
|
184
184
|
${this._renderFeedback()}
|
|
185
185
|
</div>
|
|
186
|
-
`}}_t.styles=[...et.styles,ft,Ke,mt],_t.dependencies={"sgds-spinner":ut,"sgds-icon":dt},e([P({reflect:!0})],_t.prototype,"type",void 0),e([P({type:String})],_t.prototype,"prefix",void 0),e([P({type:String})],_t.prototype,"suffix",void 0),e([P({type:Number,reflect:!0})],_t.prototype,"minlength",void 0),e([P({type:Number,reflect:!0})],_t.prototype,"maxlength",void 0),e([P()],_t.prototype,"min",void 0),e([P()],_t.prototype,"max",void 0),e([P({type:String,reflect:!0})],_t.prototype,"placeholder",void 0),e([P({type:String})],_t.prototype,"pattern",void 0),e([P({type:Boolean,reflect:!0})],_t.prototype,"autofocus",void 0),e([P({type:Boolean,reflect:!0})],_t.prototype,"readonly",void 0),e([P({type:String,reflect:!0})],_t.prototype,"autocomplete",void 0),e([P()],_t.prototype,"step",void 0),e([P({type:String,reflect:!0})],_t.prototype,"hasFeedback",void 0),e([P({type:String,reflect:!0})],_t.prototype,"invalidFeedback",void 0),e([lt()],_t.prototype,"defaultValue",void 0),e([P({type:Boolean,reflect:!0})],_t.prototype,"valid",void 0),e([P({type:Boolean,reflect:!0})],_t.prototype,"loading",void 0),e([P({type:Boolean,reflect:!0})],_t.prototype,"required",void 0),e([P({type:Boolean,reflect:!0})],_t.prototype,"noValidate",void 0),e([P({reflect:!0})],_t.prototype,"value",void 0),e([z()],_t.prototype,"_isTouched",void 0),e([z()],_t.prototype,"_showPassword",void 0),e([wt("_isTouched",{waitUntilFirstUpdate:!0})],_t.prototype,"_handleIsTouched",null),e([wt("disabled",{waitUntilFirstUpdate:!0})],_t.prototype,"_handleDisabledChange",null);var bt,xt
|
|
186
|
+
`}}_t.styles=[...et.styles,ft,Ke,mt],_t.dependencies={"sgds-spinner":ut,"sgds-icon":dt},e([P({reflect:!0})],_t.prototype,"type",void 0),e([P({type:String})],_t.prototype,"prefix",void 0),e([P({type:String})],_t.prototype,"suffix",void 0),e([P({type:Number,reflect:!0})],_t.prototype,"minlength",void 0),e([P({type:Number,reflect:!0})],_t.prototype,"maxlength",void 0),e([P()],_t.prototype,"min",void 0),e([P()],_t.prototype,"max",void 0),e([P({type:String,reflect:!0})],_t.prototype,"placeholder",void 0),e([P({type:String})],_t.prototype,"pattern",void 0),e([P({type:Boolean,reflect:!0})],_t.prototype,"autofocus",void 0),e([P({type:Boolean,reflect:!0})],_t.prototype,"readonly",void 0),e([P({type:String,reflect:!0})],_t.prototype,"autocomplete",void 0),e([P()],_t.prototype,"step",void 0),e([P({type:String,reflect:!0})],_t.prototype,"hasFeedback",void 0),e([P({type:String,reflect:!0})],_t.prototype,"invalidFeedback",void 0),e([lt()],_t.prototype,"defaultValue",void 0),e([P({type:Boolean,reflect:!0})],_t.prototype,"valid",void 0),e([P({type:Boolean,reflect:!0})],_t.prototype,"loading",void 0),e([P({type:Boolean,reflect:!0})],_t.prototype,"required",void 0),e([P({type:Boolean,reflect:!0})],_t.prototype,"noValidate",void 0),e([P({reflect:!0})],_t.prototype,"value",void 0),e([z()],_t.prototype,"_isTouched",void 0),e([z()],_t.prototype,"_showPassword",void 0),e([wt("_isTouched",{waitUntilFirstUpdate:!0})],_t.prototype,"_handleIsTouched",null),e([wt("disabled",{waitUntilFirstUpdate:!0})],_t.prototype,"_handleDisabledChange",null);var bt,Zt,xt=n`sgds-input{--input-min-width:var(--sgds-dimension-0)}.input-group{align-items:stretch;display:flex;gap:var(--sgds-gap-none)}.input-group>sgds-input{--input-border-radius:0;flex:1 1 auto;margin-inline:calc(var(--sgds-form-border-width-default)*-1);min-width:0;position:relative;z-index:1}.input-group>sgds-input:focus-within{z-index:3}.input-group>sgds-icon-button.minus-btn{--btn-border-radius:var(--sgds-form-border-radius-md) 0 0 var(--sgds-form-border-radius-md)}.input-group>sgds-icon-button.plus-btn{--btn-border-radius:0 var(--sgds-form-border-radius-md) var(--sgds-form-border-radius-md) 0}.input-group sgds-button:focus{z-index:3}.visually-hidden{clip:rect(0,0,0,0)!important;border:0!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}`;class Ct extends(it(et)){constructor(){super(...arguments),this.value=0,this.step=1,this.noValidate=!1,this.readonly=!1,this.defaultValue=0}reportValidity(){return this._mixinReportValidity()}checkValidity(){return this._mixinCheckValidity()}get validity(){return this._mixinGetValidity()}get validationMessage(){return this._mixinGetValidationMessage()}async _handleChange(e){e.stopPropagation();const t=await this._sgdsInput;(parseInt(t.value)<this.step||""===t.value)&&(t.value="0"),this.value=parseInt(t.value),this._mixinSetFormValue(),this.emit("sgds-change"),this._mixinShouldSkipSgdsValidation()||(this._mixinValidate(t.input),this.invalid=!this._mixinReportValidity())}async _handleInputChange(e){e.stopPropagation();const t=await this._sgdsInput;(parseInt(t.value)<this.step||""===t.value)&&(t.value="0"),this.value=parseInt(t.value),this._mixinSetFormValue(),this.emit("sgds-input"),this._mixinShouldSkipSgdsValidation()||(this.invalid=!1,this._mixinValidate(t.input))}async _mixinResetFormControl(){const e=await this._sgdsInput;this.value=this.defaultValue,e.input.value=this.value.toString(),this._mixinResetValidity(e.input)}_handleKeyDown(e){const t=["Backspace","ArrowUp","ArrowDown","ArrowLeft","ArrowRight",...Array.from(Array(10).keys()).map(e=>e.toString()),"Tab"];t.includes(e.key)||e.preventDefault()}_handleInvalid(){this.invalid=!0}_handleValid(){this.invalid=!1}plus(){this.plusBtn.click()}minus(){this.minusBtn.click()}async _onPlus(e){const t=await this._sgdsInput;e.preventDefault(),e.stopPropagation(),this.value=parseInt(t.value)+parseInt(t.step.toString()),this._validateOnClick(t.input),this.emit("sgds-change")}async _onMinus(e){const t=await this._sgdsInput;e.preventDefault(),e.stopPropagation(),this.value<this.step?this.value=0:this.value=parseInt(t.value)-parseInt(t.step.toString()),this._validateOnClick(t.input),this.emit("sgds-change")}async _validateOnClick(e){const t=await this._sgdsInput;await t.updateComplete,this._mixinSetFormValue(),this._mixinShouldSkipSgdsValidation()||(this._mixinValidate(e),this.invalid=!this._mixinReportValidity())}_renderFeedback(){const e="both"===this.hasFeedback||"text"===this.hasFeedback;return this.invalid&&e?Ee` <div class="invalid-feedback-container">
|
|
187
187
|
<slot name="invalidIcon">
|
|
188
188
|
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
|
|
189
189
|
<path
|
|
@@ -251,7 +251,7 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
251
251
|
<div id="${this._controlId}-announcer" aria-live="assertive" class="visually-hidden">${this.value}</div>
|
|
252
252
|
${this._renderFeedback()}
|
|
253
253
|
</div>
|
|
254
|
-
`}}Ct.styles=[...et.styles,Ke,tt,ft,
|
|
254
|
+
`}}Ct.styles=[...et.styles,Ke,tt,ft,xt],Ct.dependencies={"sgds-input":_t,"sgds-icon-button":gt},e([S("sgds-icon-button[ariaLabel^='increase by']")],Ct.prototype,"plusBtn",void 0),e([S("sgds-icon-button[ariaLabel^='decrease by']")],Ct.prototype,"minusBtn",void 0),e([P({type:Number,reflect:!0})],Ct.prototype,"value",void 0),e([P({type:Number})],Ct.prototype,"step",void 0),e([P({type:Number})],Ct.prototype,"min",void 0),e([P({type:Number})],Ct.prototype,"max",void 0),e([P({type:String,reflect:!0})],Ct.prototype,"hasFeedback",void 0),e([P({type:String,reflect:!0})],Ct.prototype,"invalidFeedback",void 0),e([P({type:Boolean,reflect:!0})],Ct.prototype,"noValidate",void 0),e([P({type:Boolean,reflect:!0})],Ct.prototype,"readonly",void 0),e([lt()],Ct.prototype,"defaultValue",void 0),e([B("sgds-input")],Ct.prototype,"_sgdsInput",void 0),bt="sgds-quantity-toggle",Zt=Ct,customElements.get(bt)||customElements.define(bt,Zt);var yt=se`
|
|
255
255
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
256
256
|
<path
|
|
257
257
|
fill="currentColor"
|
|
@@ -511,7 +511,7 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
511
511
|
clip-rule="evenodd"
|
|
512
512
|
/>
|
|
513
513
|
</svg>
|
|
514
|
-
`,
|
|
514
|
+
`,Zl=Object.freeze({__proto__:null,default:bl}),xl=se`
|
|
515
515
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
516
516
|
<path
|
|
517
517
|
fill="currentColor"
|
|
@@ -520,7 +520,7 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
520
520
|
clip-rule="evenodd"
|
|
521
521
|
/>
|
|
522
522
|
</svg>
|
|
523
|
-
`,Cl=Object.freeze({__proto__:null,default:
|
|
523
|
+
`,Cl=Object.freeze({__proto__:null,default:xl}),yl=se`
|
|
524
524
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
525
525
|
<path
|
|
526
526
|
fill="currentColor"
|
|
@@ -790,7 +790,7 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
790
790
|
clip-rule="evenodd"
|
|
791
791
|
/>
|
|
792
792
|
</svg>
|
|
793
|
-
`,
|
|
793
|
+
`,Zr=Object.freeze({__proto__:null,default:br}),xr=se`
|
|
794
794
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
795
795
|
<path
|
|
796
796
|
fill="currentColor"
|
|
@@ -803,7 +803,7 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
803
803
|
clip-rule="evenodd"
|
|
804
804
|
/>
|
|
805
805
|
</svg>
|
|
806
|
-
`,Cr=Object.freeze({__proto__:null,default:
|
|
806
|
+
`,Cr=Object.freeze({__proto__:null,default:xr}),yr=se`
|
|
807
807
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
808
808
|
<path
|
|
809
809
|
fill="currentColor"
|
|
@@ -1091,7 +1091,7 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
1091
1091
|
d="M21 12.055C21 7.054 16.97 3 12.001 3 7.03 3.001 3 7.054 3 12.056c0 4.519 3.291 8.265 7.593 8.944v-6.327H8.309v-2.617h2.286V10.06c0-2.27 1.344-3.522 3.4-3.522.985 0 2.014.176 2.014.176v2.228h-1.135c-1.117 0-1.466.698-1.466 1.415v1.698h2.495l-.398 2.617h-2.098v6.327C17.71 20.319 21 16.574 21 12.055Z"
|
|
1092
1092
|
/>
|
|
1093
1093
|
</svg>
|
|
1094
|
-
`,
|
|
1094
|
+
`,Zi=Object.freeze({__proto__:null,default:bi}),xi=se`
|
|
1095
1095
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
1096
1096
|
<path
|
|
1097
1097
|
fill="currentColor"
|
|
@@ -1100,7 +1100,7 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
1100
1100
|
clip-rule="evenodd"
|
|
1101
1101
|
/>
|
|
1102
1102
|
</svg>
|
|
1103
|
-
`,Ci=Object.freeze({__proto__:null,default:
|
|
1103
|
+
`,Ci=Object.freeze({__proto__:null,default:xi}),yi=se`
|
|
1104
1104
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
1105
1105
|
<path
|
|
1106
1106
|
fill="currentColor"
|
|
@@ -1361,7 +1361,7 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
1361
1361
|
clip-rule="evenodd"
|
|
1362
1362
|
/>
|
|
1363
1363
|
</svg>
|
|
1364
|
-
`,bo=Object.freeze({__proto__:null,default:_o}),
|
|
1364
|
+
`,bo=Object.freeze({__proto__:null,default:_o}),Zo=se`
|
|
1365
1365
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
1366
1366
|
<path
|
|
1367
1367
|
fill="currentColor"
|
|
@@ -1370,7 +1370,7 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
1370
1370
|
clip-rule="evenodd"
|
|
1371
1371
|
/>
|
|
1372
1372
|
</svg>
|
|
1373
|
-
`,
|
|
1373
|
+
`,xo=Object.freeze({__proto__:null,default:Zo}),Co=se`
|
|
1374
1374
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
1375
1375
|
<path
|
|
1376
1376
|
fill="currentColor"
|
|
@@ -1623,14 +1623,14 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
1623
1623
|
d="M6.498 5.01c2.62-1.106 7.426-2.376 10.817-1.389 1.744.508 3.326 2.43 3.63 4.476.251 1.696-.391 3.635-1.279 4.616a.36.36 0 0 0-.07.368c1.226 3.229-.699 4.789-2.892 5.227-2.245.448-4.438 1.218-6.547 2.118-2.161.923-5.258-.03-6.304-2.402-.59-1.341-.173-3.292.304-4.674a.538.538 0 0 0-.081-.496 5.5 5.5 0 0 1-.893-1.851c-.755-2.764.922-4.983 3.315-5.993Zm7.711 3.664c-.62-.703-1.719-.815-2.55-.028-.161.153-.457.118-.611-.042-.497-.514-1.406-.621-2.17-.307-.632.259-1.139.853-1.444 1.765 0 0-.554 2.183-1.028 3.511-.75 2.275 2.527 2.93 3.172.798l.93-3.34c.147-.484.37-.9.816-.785.446.117.47.586.294 1.09l-.435 1.844c-.398 1.472 1.623 1.869 2.051.52l.698-2.669c.14-.513.389-.814.75-.736.362.077.472.395.33.907l-.386 1.555c-.252.894-.024 1.637.856 1.782.96.157 1.562-.256 1.768-.43a.297.297 0 0 0 .096-.182.231.231 0 0 0-.22-.27c-.364-.01-.586-.066-.667-.306-.061-.184-.083-.382.028-.78a457.2 457.2 0 0 0 .521-1.91c.2-.739.48-1.582-.188-2.166-.56-.49-1.43-.35-2.112.226a.364.364 0 0 1-.499-.047Zm1.11 12.318c2.722-.072 3.46-1.777 2.826-1.905-1.73-.347-8.968 2.068-2.826 1.905ZM5.956 3.031c-1.874.15-2.453 2.048-2 2.048 1.2 0 6.095-2.375 2-2.048Z"
|
|
1624
1624
|
/>
|
|
1625
1625
|
</svg>
|
|
1626
|
-
`,
|
|
1626
|
+
`,Zn=Object.freeze({__proto__:null,default:bn}),xn=se`
|
|
1627
1627
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
1628
1628
|
<path
|
|
1629
1629
|
fill="currentColor"
|
|
1630
1630
|
d="M2.375 6c0-.345.28-.625.625-.625h18a.625.625 0 1 1 0 1.25H3A.625.625 0 0 1 2.375 6Zm0 6c0-.345.28-.625.625-.625h18a.625.625 0 1 1 0 1.25H3A.625.625 0 0 1 2.375 12Zm0 6c0-.345.28-.625.625-.625h12a.625.625 0 1 1 0 1.25H3A.625.625 0 0 1 2.375 18Z"
|
|
1631
1631
|
/>
|
|
1632
1632
|
</svg>
|
|
1633
|
-
`,Cn=Object.freeze({__proto__:null,default:
|
|
1633
|
+
`,Cn=Object.freeze({__proto__:null,default:xn}),yn=se`
|
|
1634
1634
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
1635
1635
|
<path
|
|
1636
1636
|
fill="currentColor"
|
|
@@ -1886,7 +1886,7 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
1886
1886
|
clip-rule="evenodd"
|
|
1887
1887
|
/>
|
|
1888
1888
|
</svg>
|
|
1889
|
-
`,
|
|
1889
|
+
`,Za=Object.freeze({__proto__:null,default:ba}),xa=se`
|
|
1890
1890
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
1891
1891
|
<path
|
|
1892
1892
|
fill="currentColor"
|
|
@@ -1895,7 +1895,7 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
1895
1895
|
clip-rule="evenodd"
|
|
1896
1896
|
/>
|
|
1897
1897
|
</svg>
|
|
1898
|
-
`,Ca=Object.freeze({__proto__:null,default:
|
|
1898
|
+
`,Ca=Object.freeze({__proto__:null,default:xa}),ya=se`
|
|
1899
1899
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
1900
1900
|
<path
|
|
1901
1901
|
fill="currentColor"
|
|
@@ -2167,7 +2167,7 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
2167
2167
|
clip-rule="evenodd"
|
|
2168
2168
|
/>
|
|
2169
2169
|
</svg>
|
|
2170
|
-
`,
|
|
2170
|
+
`,Zs=Object.freeze({__proto__:null,default:bs}),xs=se`
|
|
2171
2171
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2172
2172
|
<path
|
|
2173
2173
|
fill="currentColor"
|
|
@@ -2176,7 +2176,7 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
2176
2176
|
clip-rule="evenodd"
|
|
2177
2177
|
/>
|
|
2178
2178
|
</svg>
|
|
2179
|
-
`,Cs=Object.freeze({__proto__:null,default:
|
|
2179
|
+
`,Cs=Object.freeze({__proto__:null,default:xs}),ys=se`
|
|
2180
2180
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2181
2181
|
<path
|
|
2182
2182
|
fill="currentColor"
|
|
@@ -2456,7 +2456,7 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
2456
2456
|
clip-rule="evenodd"
|
|
2457
2457
|
/>
|
|
2458
2458
|
</svg>
|
|
2459
|
-
`,
|
|
2459
|
+
`,Zc=Object.freeze({__proto__:null,default:bc}),xc=se`
|
|
2460
2460
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2461
2461
|
<path
|
|
2462
2462
|
fill="currentColor"
|
|
@@ -2469,7 +2469,7 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
2469
2469
|
clip-rule="evenodd"
|
|
2470
2470
|
/>
|
|
2471
2471
|
</svg>
|
|
2472
|
-
`,Cc=Object.freeze({__proto__:null,default:
|
|
2472
|
+
`,Cc=Object.freeze({__proto__:null,default:xc}),yc=se`
|
|
2473
2473
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2474
2474
|
<path
|
|
2475
2475
|
fill="currentColor"
|