@govtechsg/sgds-web-component 3.18.0 → 3.18.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.
Files changed (50) hide show
  1. package/components/Stepper/index.d.ts +2 -0
  2. package/components/Stepper/index.js +2 -0
  3. package/components/Stepper/index.js.map +1 -1
  4. package/components/Stepper/index.umd.min.js +46 -23
  5. package/components/Stepper/index.umd.min.js.map +1 -1
  6. package/components/Stepper/sgds-step.d.ts +42 -0
  7. package/components/Stepper/sgds-step.js +117 -0
  8. package/components/Stepper/sgds-step.js.map +1 -0
  9. package/components/Stepper/sgds-stepper.d.ts +23 -2
  10. package/components/Stepper/sgds-stepper.js +87 -13
  11. package/components/Stepper/sgds-stepper.js.map +1 -1
  12. package/components/Stepper/step.js +6 -0
  13. package/components/Stepper/step.js.map +1 -0
  14. package/components/Stepper/stepper.js +1 -1
  15. package/components/Stepper/types.d.ts +1 -0
  16. package/components/index.d.ts +1 -0
  17. package/components/index.js +1 -0
  18. package/components/index.js.map +1 -1
  19. package/components/index.umd.min.js +38 -15
  20. package/components/index.umd.min.js.map +1 -1
  21. package/css/fouc.css +1 -0
  22. package/custom-elements.json +201 -5
  23. package/index.umd.min.js +62 -39
  24. package/index.umd.min.js.map +1 -1
  25. package/package.json +1 -1
  26. package/react/components/Stepper/sgds-step.cjs.js +123 -0
  27. package/react/components/Stepper/sgds-step.cjs.js.map +1 -0
  28. package/react/components/Stepper/sgds-step.js +118 -0
  29. package/react/components/Stepper/sgds-step.js.map +1 -0
  30. package/react/components/Stepper/sgds-stepper.cjs.js +86 -12
  31. package/react/components/Stepper/sgds-stepper.cjs.js.map +1 -1
  32. package/react/components/Stepper/sgds-stepper.js +87 -13
  33. package/react/components/Stepper/sgds-stepper.js.map +1 -1
  34. package/react/components/Stepper/step.cjs.js +11 -0
  35. package/react/components/Stepper/step.cjs.js.map +1 -0
  36. package/react/components/Stepper/step.js +7 -0
  37. package/react/components/Stepper/step.js.map +1 -0
  38. package/react/components/Stepper/stepper.cjs.js +1 -1
  39. package/react/components/Stepper/stepper.js +1 -1
  40. package/react/index.cjs.js +40 -38
  41. package/react/index.cjs.js.map +1 -1
  42. package/react/index.d.ts +1 -0
  43. package/react/index.js +1 -0
  44. package/react/index.js.map +1 -1
  45. package/react/step/index.cjs.js +40 -0
  46. package/react/step/index.cjs.js.map +1 -0
  47. package/react/step/index.d.ts +2 -0
  48. package/react/step/index.js +16 -0
  49. package/react/step/index.js.map +1 -0
  50. package/types/react.d.ts +18 -3
@@ -1,6 +1,8 @@
1
1
  import { SgdsStepper } from "./sgds-stepper";
2
+ import { SgdsStep } from "./sgds-step";
2
3
  declare global {
3
4
  interface HTMLElementTagNameMap {
4
5
  "sgds-stepper": SgdsStepper;
6
+ "sgds-step": SgdsStep;
5
7
  }
6
8
  }
@@ -1,5 +1,7 @@
1
1
  import { SgdsStepper } from './sgds-stepper.js';
2
+ import { SgdsStep } from './sgds-step.js';
2
3
  import { register } from '../../utils/ce-registry.js';
3
4
 
4
5
  register("sgds-stepper", SgdsStepper);
6
+ register("sgds-step", SgdsStep);
5
7
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/components/Stepper/index.ts"],"sourcesContent":["import { SgdsStepper } from \"./sgds-stepper\";\nimport { register } from \"../../utils/ce-registry\";\n\nregister(\"sgds-stepper\", SgdsStepper);\ndeclare global {\n interface HTMLElementTagNameMap {\n \"sgds-stepper\": SgdsStepper;\n }\n}\n"],"names":[],"mappings":";;;AAGA,QAAQ,CAAC,cAAc,EAAE,WAAW,CAAC"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/components/Stepper/index.ts"],"sourcesContent":["import { SgdsStepper } from \"./sgds-stepper\";\nimport { SgdsStep } from \"./sgds-step\";\nimport { register } from \"../../utils/ce-registry\";\n\nregister(\"sgds-stepper\", SgdsStepper);\nregister(\"sgds-step\", SgdsStep);\ndeclare global {\n interface HTMLElementTagNameMap {\n \"sgds-stepper\": SgdsStepper;\n \"sgds-step\": SgdsStep;\n }\n}\n"],"names":[],"mappings":";;;;AAIA,QAAQ,CAAC,cAAc,EAAE,WAAW,CAAC,CAAC;AACtC,QAAQ,CAAC,WAAW,EAAE,QAAQ,CAAC"}
@@ -4,25 +4,25 @@
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,a=Symbol(),i=new WeakMap;class c{constructor(e,t,l){if(this._$cssResult$=!0,l!==a)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 r=(e,...t)=>{const l=1===e.length?e[0]:t.reduce((t,l,a)=>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[a+1],e[0]);return new c(l,e,a)},o=e=>{let t="";for(const l of e.cssRules)t+=l.cssText;return new c("string"==typeof(l=t)?l:String(l),void 0,a);var l},s=l?e=>e:e=>e instanceof CSSStyleSheet?o(e):e,{is:n,defineProperty:h,getOwnPropertyDescriptor:d,getOwnPropertyNames:v,getOwnPropertySymbols:p,getPrototypeOf:g}=Object,w=globalThis;let u;const f=w.trustedTypes,m=f?f.emptyScript:"",Z=w.reactiveElementPolyfillSupportDevMode;w.litIssuedWarnings??=new Set,u=(e,t)=>{t+=` See https://lit.dev/msg/${e} for more information.`,w.litIssuedWarnings.has(t)||w.litIssuedWarnings.has(e)||(console.warn(t),w.litIssuedWarnings.add(t))},queueMicrotask(()=>{u("dev-mode","Lit is in dev mode. Not recommended for production!"),w.ShadyDOM?.inUse&&void 0===Z&&u("polyfill-support-missing","Shadow DOM is being polyfilled via `ShadyDOM` but the `polyfill-support` module has not been loaded.")});const C=(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}},M=(e,t)=>!n(e,t),V={attribute:!0,type:String,converter:x,reflect:!1,useDefault:!1,hasChanged:M};Symbol.metadata??=Symbol("metadata"),w.litPropertyMetadata??=new WeakMap;class H 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=V){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)`),a=this.getPropertyDescriptor(e,l,t);void 0!==a&&h(this.prototype,e,a)}}static getPropertyDescriptor(e,t,l){const{get:a,set:i}=d(this.prototype,e)??{get(){return this[t]},set(e){this[t]=e}};if(null==a){if("value"in(d(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.`);u("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:a,set(t){const c=a?.call(this);i?.call(this,t),this.requestUpdate(e,c,l)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??V}static __prepare(){if(this.hasOwnProperty(C("elementProperties")))return;const e=g(this);e.finalize(),void 0!==e._initializers&&(this._initializers=[...e._initializers]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(C("finalized")))return;if(this.finalized=!0,this.__prepare(),this.hasOwnProperty(C("properties"))){const e=this.properties,t=[...v(e),...p(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")&&u("no-override-create-property","Overriding ReactiveElement.createProperty() is deprecated. The override will not be called with standard decorators"),this.hasOwnProperty("getPropertyDescriptor")&&u("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,a)=>{if(l)e.adoptedStyleSheets=a.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const l of a){const a=document.createElement("style"),i=t.litNonce;void 0!==i&&a.setAttribute("nonce",i),a.textContent=l.cssText,e.appendChild(a)}})(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),a=this.constructor.__attributeNameForProperty(e,l);if(void 0!==a&&!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&&u("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(a):this.setAttribute(a,i),this.__reflectingProperty=null}}_$attributeToProperty(e,t){const l=this.constructor,a=l.__attributeToPropertyMap.get(e);if(void 0!==a&&this.__reflectingProperty!==a){const e=l.getPropertyOptions(a),i="function"==typeof e.converter?{fromAttribute:e.converter}:void 0!==e.converter?.fromAttribute?e.converter:x;this.__reflectingProperty=a;const c=i.fromAttribute(t,e.type);this[a]=c??this.__defaultValues?.get(a)??c,this.__reflectingProperty=null}}requestUpdate(e,t,l,a=!1,i){if(void 0!==e){e instanceof Event&&u("","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 c=this.constructor;!1===a&&(i=this[e]),l??=c.getPropertyOptions(e);if(!((l.hasChanged??M)(i,t)||l.useDefault&&l.reflect&&i===this.__defaultValues?.get(e)&&!this.hasAttribute(c.__attributeNameForProperty(e,l))))return;this._$changeProperty(e,t,l)}!1===this.isUpdatePending&&(this.__updatePromise=this.__enqueueUpdate())}_$changeProperty(e,t,{useDefault:l,reflect:a,wrapped:i},c){l&&!(this.__defaultValues??=new Map).has(e)&&(this.__defaultValues.set(e,c??t??this[e]),!0!==i||void 0!==c)||(this._$changedProperties.has(e)||(this.hasUpdated||l||(t=void 0),this._$changedProperties.set(e,t)),!0===a&&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&&u("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"},w.emitLitDebugLogEvents&&w.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 g(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,a=this[t];!0!==e||this._$changedProperties.has(t)||void 0===a||this._$changeProperty(t,void 0,l,a)}}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")&&u("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){}}H.elementStyles=[],H.shadowRootOptions={mode:"open"},H[C("elementProperties")]=new Map,H[C("finalized")]=new Map,Z?.({ReactiveElement:H});{H.enabledWarnings=["change-in-update","async-perform-update"];const e=function(e){e.hasOwnProperty(C("enabledWarnings"))||(e.enabledWarnings=e.enabledWarnings.slice())};H.enableWarning=function(t){e(this),this.enabledWarnings.includes(t)||this.enabledWarnings.push(t)},H.disableWarning=function(t){e(this);const l=this.enabledWarnings.indexOf(t);l>=0&&this.enabledWarnings.splice(l,1)}}(w.reactiveElementVersions??=[]).push("2.1.2"),w.reactiveElementVersions.length>1&&queueMicrotask(()=>{u("multiple-versions","Multiple versions of Lit loaded. Loading multiple versions is not recommended.")});
7
+ const t=globalThis,l=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,a=Symbol(),i=new WeakMap;class c{constructor(e,t,l){if(this._$cssResult$=!0,l!==a)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 r=(e,...t)=>{const l=1===e.length?e[0]:t.reduce((t,l,a)=>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[a+1],e[0]);return new c(l,e,a)},o=e=>{let t="";for(const l of e.cssRules)t+=l.cssText;return new c("string"==typeof(l=t)?l:String(l),void 0,a);var l},s=l?e=>e:e=>e instanceof CSSStyleSheet?o(e):e,{is:n,defineProperty:h,getOwnPropertyDescriptor:d,getOwnPropertyNames:v,getOwnPropertySymbols:p,getPrototypeOf:g}=Object,w=globalThis;let u;const f=w.trustedTypes,m=f?f.emptyScript:"",Z=w.reactiveElementPolyfillSupportDevMode;w.litIssuedWarnings??=new Set,u=(e,t)=>{t+=` See https://lit.dev/msg/${e} for more information.`,w.litIssuedWarnings.has(t)||w.litIssuedWarnings.has(e)||(console.warn(t),w.litIssuedWarnings.add(t))},queueMicrotask(()=>{u("dev-mode","Lit is in dev mode. Not recommended for production!"),w.ShadyDOM?.inUse&&void 0===Z&&u("polyfill-support-missing","Shadow DOM is being polyfilled via `ShadyDOM` but the `polyfill-support` module has not been loaded.")});const C=(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}},M=(e,t)=>!n(e,t),b={attribute:!0,type:String,converter:x,reflect:!1,useDefault:!1,hasChanged:M};Symbol.metadata??=Symbol("metadata"),w.litPropertyMetadata??=new WeakMap;class _ 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=b){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)`),a=this.getPropertyDescriptor(e,l,t);void 0!==a&&h(this.prototype,e,a)}}static getPropertyDescriptor(e,t,l){const{get:a,set:i}=d(this.prototype,e)??{get(){return this[t]},set(e){this[t]=e}};if(null==a){if("value"in(d(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.`);u("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:a,set(t){const c=a?.call(this);i?.call(this,t),this.requestUpdate(e,c,l)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??b}static __prepare(){if(this.hasOwnProperty(C("elementProperties")))return;const e=g(this);e.finalize(),void 0!==e._initializers&&(this._initializers=[...e._initializers]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(C("finalized")))return;if(this.finalized=!0,this.__prepare(),this.hasOwnProperty(C("properties"))){const e=this.properties,t=[...v(e),...p(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")&&u("no-override-create-property","Overriding ReactiveElement.createProperty() is deprecated. The override will not be called with standard decorators"),this.hasOwnProperty("getPropertyDescriptor")&&u("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,a)=>{if(l)e.adoptedStyleSheets=a.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const l of a){const a=document.createElement("style"),i=t.litNonce;void 0!==i&&a.setAttribute("nonce",i),a.textContent=l.cssText,e.appendChild(a)}})(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),a=this.constructor.__attributeNameForProperty(e,l);if(void 0!==a&&!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&&u("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(a):this.setAttribute(a,i),this.__reflectingProperty=null}}_$attributeToProperty(e,t){const l=this.constructor,a=l.__attributeToPropertyMap.get(e);if(void 0!==a&&this.__reflectingProperty!==a){const e=l.getPropertyOptions(a),i="function"==typeof e.converter?{fromAttribute:e.converter}:void 0!==e.converter?.fromAttribute?e.converter:x;this.__reflectingProperty=a;const c=i.fromAttribute(t,e.type);this[a]=c??this.__defaultValues?.get(a)??c,this.__reflectingProperty=null}}requestUpdate(e,t,l,a=!1,i){if(void 0!==e){e instanceof Event&&u("","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 c=this.constructor;!1===a&&(i=this[e]),l??=c.getPropertyOptions(e);if(!((l.hasChanged??M)(i,t)||l.useDefault&&l.reflect&&i===this.__defaultValues?.get(e)&&!this.hasAttribute(c.__attributeNameForProperty(e,l))))return;this._$changeProperty(e,t,l)}!1===this.isUpdatePending&&(this.__updatePromise=this.__enqueueUpdate())}_$changeProperty(e,t,{useDefault:l,reflect:a,wrapped:i},c){l&&!(this.__defaultValues??=new Map).has(e)&&(this.__defaultValues.set(e,c??t??this[e]),!0!==i||void 0!==c)||(this._$changedProperties.has(e)||(this.hasUpdated||l||(t=void 0),this._$changedProperties.set(e,t)),!0===a&&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&&u("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"},w.emitLitDebugLogEvents&&w.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 g(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,a=this[t];!0!==e||this._$changedProperties.has(t)||void 0===a||this._$changeProperty(t,void 0,l,a)}}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")&&u("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){}}_.elementStyles=[],_.shadowRootOptions={mode:"open"},_[C("elementProperties")]=new Map,_[C("finalized")]=new Map,Z?.({ReactiveElement:_});{_.enabledWarnings=["change-in-update","async-perform-update"];const e=function(e){e.hasOwnProperty(C("enabledWarnings"))||(e.enabledWarnings=e.enabledWarnings.slice())};_.enableWarning=function(t){e(this),this.enabledWarnings.includes(t)||this.enabledWarnings.push(t)},_.disableWarning=function(t){e(this);const l=this.enabledWarnings.indexOf(t);l>=0&&this.enabledWarnings.splice(l,1)}}(w.reactiveElementVersions??=[]).push("2.1.2"),w.reactiveElementVersions.length>1&&queueMicrotask(()=>{u("multiple-versions","Multiple versions of Lit loaded. Loading multiple versions is not recommended.")});
8
8
  /**
9
9
  * @license
10
10
  * Copyright 2017 Google LLC
11
11
  * SPDX-License-Identifier: BSD-3-Clause
12
12
  */
13
- const _=globalThis,b=e=>{_.emitLitDebugLogEvents&&_.dispatchEvent(new CustomEvent("lit-debug",{detail:e}))};let y,B=0;_.litIssuedWarnings??=new Set,y=(e,t)=>{t+=e?` See https://lit.dev/msg/${e} for more information.`:"",_.litIssuedWarnings.has(t)||_.litIssuedWarnings.has(e)||(console.warn(t),_.litIssuedWarnings.add(t))},queueMicrotask(()=>{y("dev-mode","Lit is in dev mode. Not recommended for production!")});const $=_.ShadyDOM?.inUse&&!0===_.ShadyDOM?.noPatch?_.ShadyDOM.wrap:e=>e,S=_.trustedTypes,A=S?S.createPolicy("lit-html",{createHTML:e=>e}):void 0,L=e=>e,k=(e,t,l)=>L,P=e=>{if(ce!==k)throw new Error("Attempted to overwrite existing lit-html security policy. setSanitizeDOMValueFactory should be called at most once.");ce=e},E=()=>{ce=k},z=(e,t,l)=>ce(e,t,l),T="$lit$",N=`lit$${Math.random().toFixed(9).slice(2)}$`,U="?"+N,O=`<${U}>`,I=document,D=()=>I.createComment(""),R=e=>null===e||"object"!=typeof e&&"function"!=typeof e,W=Array.isArray,q="[ \t\n\f\r]",j=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,F=/-->/g,J=/>/g,K=new RegExp(`>|${q}(?:([^\\s"'>=/]+)(${q}*=${q}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Y=/'/g,X=/"/g,G=/^(?:script|style|textarea|title)$/i,Q=(ee=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$)&&y("","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$:ee,strings:e,values:t}));var ee;const te=Symbol.for("lit-noChange"),le=Symbol.for("lit-nothing"),ae=new WeakMap,ie=I.createTreeWalker(I,129);let ce=k;function re(e,t){if(!W(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!==A?A.createHTML(t):t}class oe{constructor({strings:e,_$litType$:t},l){let a;this.parts=[];let i=0,c=0;const r=e.length-1,o=this.parts,[s,n]=((e,t)=>{const l=e.length-1,a=[];let i,c=2===t?"<svg>":3===t?"<math>":"",r=j;for(let t=0;t<l;t++){const l=e[t];let o,s,n=-1,h=0;for(;h<l.length&&(r.lastIndex=h,s=r.exec(l),null!==s);)if(h=r.lastIndex,r===j){if("!--"===s[1])r=F;else if(void 0!==s[1])r=J;else if(void 0!==s[2])G.test(s[2])&&(i=new RegExp(`</${s[2]}`,"g")),r=K;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 r===K?">"===s[0]?(r=i??j,n=-1):void 0===s[1]?n=-2:(n=r.lastIndex-s[2].length,o=s[1],r=void 0===s[3]?K:'"'===s[3]?X:Y):r===X||r===Y?r=K:r===F||r===J?r=j:(r=K,i=void 0);console.assert(-1===n||r===K||r===Y||r===X,"unexpected parse state B");const d=r===K&&e[t+1].startsWith("/>")?" ":"";c+=r===j?l+O:n>=0?(a.push(o),l.slice(0,n)+T+l.slice(n)+N+d):l+N+(-2===n?t:d)}return[re(e,c+(e[l]||"<?>")+(2===t?"</svg>":3===t?"</math>":"")),a]})(e,t);if(this.el=oe.createElement(s,l),ie.currentNode=this.el.content,2===t||3===t){const e=this.el.content.firstChild;e.replaceWith(...e.childNodes)}for(;null!==(a=ie.nextNode())&&o.length<r;){if(1===a.nodeType){{const e=a.localName;if(/^(?:textarea|template)$/i.test(e)&&a.innerHTML.includes(N)){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);y("",t)}}if(a.hasAttributes())for(const e of a.getAttributeNames())if(e.endsWith(T)){const t=n[c++],l=a.getAttribute(e).split(N),r=/([.?@])?(.*)/.exec(t);o.push({type:1,index:i,name:r[2],strings:l,ctor:"."===r[1]?ve:"?"===r[1]?pe:"@"===r[1]?ge:de}),a.removeAttribute(e)}else e.startsWith(N)&&(o.push({type:6,index:i}),a.removeAttribute(e));if(G.test(a.tagName)){const e=a.textContent.split(N),t=e.length-1;if(t>0){a.textContent=S?S.emptyScript:"";for(let l=0;l<t;l++)a.append(e[l],D()),ie.nextNode(),o.push({type:2,index:++i});a.append(e[t],D())}}}else if(8===a.nodeType){if(a.data===U)o.push({type:2,index:i});else{let e=-1;for(;-1!==(e=a.data.indexOf(N,e+1));)o.push({type:7,index:i}),e+=N.length-1}}i++}if(n.length!==c)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("${...}")+"`");b&&b({kind:"template prep",template:this,clonableTemplate:this.el,parts:this.parts,strings:e})}static createElement(e,t){const l=I.createElement("template");return l.innerHTML=e,l}}function se(e,t,l=e,a){if(t===te)return t;let i=void 0!==a?l.__directives?.[a]:l.__directive;const c=R(t)?void 0:t._$litDirective$;return i?.constructor!==c&&(i?._$notifyDirectiveConnectionChanged?.(!1),void 0===c?i=void 0:(i=new c(e),i._$initialize(e,l,a)),void 0!==a?(l.__directives??=[])[a]=i:l.__directive=i),void 0!==i&&(t=se(e,i._$resolve(e,t.values),i,a)),t}class ne{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,a=(e?.creationScope??I).importNode(t,!0);ie.currentNode=a;let i=ie.nextNode(),c=0,r=0,o=l[0];for(;void 0!==o;){if(c===o.index){let t;2===o.type?t=new he(i,i.nextSibling,this,e):1===o.type?t=new o.ctor(i,o.name,o.strings,this,e):6===o.type&&(t=new we(i,this,e)),this._$parts.push(t),o=l[++r]}c!==o?.index&&(i=ie.nextNode(),c++)}return ie.currentNode=I,a}_update(e){let t=0;for(const l of this._$parts)void 0!==l&&(b&&b({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 he{get _$isConnected(){return this._$parent?._$isConnected??this.__isConnected}constructor(e,t,l,a){this.type=2,this._$committedValue=le,this._$disconnectableChildren=void 0,this._$startNode=e,this._$endNode=t,this._$parent=l,this.options=a,this.__isConnected=a?.isConnected??!0,this._textSanitizer=void 0}get parentNode(){let e=$(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=se(this,e,t),R(e))e===le||null==e||""===e?(this._$committedValue!==le&&(b&&b({kind:"commit nothing to child",start:this._$startNode,end:this._$endNode,parent:this._$parent,options:this.options}),this._$clear()),this._$committedValue=le):e!==this._$committedValue&&e!==te&&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=>W(e)||"function"==typeof e?.[Symbol.iterator])(e)?this._commitIterable(e):this._commitText(e)}_insert(e){return $($(this._$startNode).parentNode).insertBefore(e,this._$endNode)}_commitNode(e){if(this._$committedValue!==e){if(this._$clear(),ce!==k){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)}}b&&b({kind:"commit node",start:this._$startNode,parent:this._$parent,value:e,options:this.options}),this._$committedValue=this._insert(e)}}_commitText(e){if(this._$committedValue!==le&&R(this._$committedValue)){const t=$(this._$startNode).nextSibling;void 0===this._textSanitizer&&(this._textSanitizer=z(t,"data","property")),e=this._textSanitizer(e),b&&b({kind:"commit text",node:t,value:e,options:this.options}),t.data=e}else{const t=I.createTextNode("");this._commitNode(t),void 0===this._textSanitizer&&(this._textSanitizer=z(t,"data","property")),e=this._textSanitizer(e),b&&b({kind:"commit text",node:t,value:e,options:this.options}),t.data=e}this._$committedValue=e}_commitTemplateResult(e){const{values:t,_$litType$:l}=e,a="number"==typeof l?this._$getTemplate(e):(void 0===l.el&&(l.el=oe.createElement(re(l.h,l.h[0]),this.options)),l);if(this._$committedValue?._$template===a)b&&b({kind:"template updating",template:a,instance:this._$committedValue,parts:this._$committedValue._$parts,options:this.options,values:t}),this._$committedValue._update(t);else{const e=new ne(a,this),l=e._clone(this.options);b&&b({kind:"template instantiated",template:a,instance:e,parts:e._$parts,options:this.options,fragment:l,values:t}),e._update(t),b&&b({kind:"template instantiated and updated",template:a,instance:e,parts:e._$parts,options:this.options,fragment:l,values:t}),this._commitNode(l),this._$committedValue=e}}_$getTemplate(e){let t=ae.get(e.strings);return void 0===t&&ae.set(e.strings,t=new oe(e)),t}_commitIterable(e){W(this._$committedValue)||(this._$committedValue=[],this._$clear());const t=this._$committedValue;let l,a=0;for(const i of e)a===t.length?t.push(l=new he(this._insert(D()),this._insert(D()),this,this.options)):l=t[a],l._$setValue(i),a++;a<t.length&&(this._$clear(l&&$(l._$endNode).nextSibling,a),t.length=a)}_$clear(e=$(this._$startNode).nextSibling,t){for(this._$notifyConnectionChanged?.(!1,!0,t);e!==this._$endNode;){const t=$(e).nextSibling;$(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 de{get tagName(){return this.element.tagName}get _$isConnected(){return this._$parent._$isConnected}constructor(e,t,l,a,i){this.type=1,this._$committedValue=le,this._$disconnectableChildren=void 0,this.element=e,this.name=t,this._$parent=a,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=le,this._sanitizer=void 0}_$setValue(e,t=this,l,a){const i=this.strings;let c=!1;if(void 0===i)e=se(this,e,t,0),c=!R(e)||e!==this._$committedValue&&e!==te,c&&(this._$committedValue=e);else{const a=e;let r,o;for(e=i[0],r=0;r<i.length-1;r++)o=se(this,a[l+r],t,r),o===te&&(o=this._$committedValue[r]),c||=!R(o)||o!==this._$committedValue[r],o===le?e=le:e!==le&&(e+=(o??"")+i[r+1]),this._$committedValue[r]=o}c&&!a&&this._commitValue(e)}_commitValue(e){e===le?$(this.element).removeAttribute(this.name):(void 0===this._sanitizer&&(this._sanitizer=ce(this.element,this.name,"attribute")),e=this._sanitizer(e??""),b&&b({kind:"commit attribute",element:this.element,name:this.name,value:e,options:this.options}),$(this.element).setAttribute(this.name,e??""))}}class ve extends de{constructor(){super(...arguments),this.type=3}_commitValue(e){void 0===this._sanitizer&&(this._sanitizer=ce(this.element,this.name,"property")),e=this._sanitizer(e),b&&b({kind:"commit property",element:this.element,name:this.name,value:e,options:this.options}),this.element[this.name]=e===le?void 0:e}}class pe extends de{constructor(){super(...arguments),this.type=4}_commitValue(e){b&&b({kind:"commit boolean attribute",element:this.element,name:this.name,value:!(!e||e===le),options:this.options}),$(this.element).toggleAttribute(this.name,!!e&&e!==le)}}class ge extends de{constructor(e,t,l,a,i){if(super(e,t,l,a,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=se(this,e,t,0)??le)===te)return;const l=this._$committedValue,a=e===le&&l!==le||e.capture!==l.capture||e.once!==l.once||e.passive!==l.passive,i=e!==le&&(l===le||a);b&&b({kind:"commit event listener",element:this.element,name:this.name,value:e,options:this.options,removeListener:a,addListener:i,oldListener:l}),a&&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 we{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){b&&b({kind:"commit to element binding",element:this.element,value:e,options:this.options}),se(this,e)}}const ue=_.litHtmlPolyfillSupportDevMode;ue?.(oe,he),(_.litHtmlVersions??=[]).push("3.3.2"),_.litHtmlVersions.length>1&&queueMicrotask(()=>{y("multiple-versions","Multiple versions of Lit loaded. Loading multiple versions is not recommended.")});const fe=(e,t,l)=>{if(null==t)throw new TypeError(`The container to render into may not be ${t}`);const a=B++,i=l?.renderBefore??t;let c=i._$litPart$;if(b&&b({kind:"begin render",id:a,value:e,container:t,options:l,part:c}),void 0===c){const e=l?.renderBefore??null;i._$litPart$=c=new he(t.insertBefore(D(),e),e,void 0,l??{})}return c._$setValue(e),b&&b({kind:"end render",id:a,value:e,container:t,options:l,part:c}),c};fe.setSanitizer=P,fe.createSanitizer=z,fe._testOnlyClearSanitizerFactoryDoNotCallOrElse=E;
13
+ const y=globalThis,H=e=>{y.emitLitDebugLogEvents&&y.dispatchEvent(new CustomEvent("lit-debug",{detail:e}))};let V,B=0;y.litIssuedWarnings??=new Set,V=(e,t)=>{t+=e?` See https://lit.dev/msg/${e} for more information.`:"",y.litIssuedWarnings.has(t)||y.litIssuedWarnings.has(e)||(console.warn(t),y.litIssuedWarnings.add(t))},queueMicrotask(()=>{V("dev-mode","Lit is in dev mode. Not recommended for production!")});const S=y.ShadyDOM?.inUse&&!0===y.ShadyDOM?.noPatch?y.ShadyDOM.wrap:e=>e,$=y.trustedTypes,k=$?$.createPolicy("lit-html",{createHTML:e=>e}):void 0,A=e=>e,L=(e,t,l)=>A,P=e=>{if(ce!==L)throw new Error("Attempted to overwrite existing lit-html security policy. setSanitizeDOMValueFactory should be called at most once.");ce=e},E=()=>{ce=L},z=(e,t,l)=>ce(e,t,l),T="$lit$",N=`lit$${Math.random().toFixed(9).slice(2)}$`,O="?"+N,U=`<${O}>`,I=document,D=()=>I.createComment(""),R=e=>null===e||"object"!=typeof e&&"function"!=typeof e,W=Array.isArray,j="[ \t\n\f\r]",q=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,F=/-->/g,J=/>/g,K=new RegExp(`>|${j}(?:([^\\s"'>=/]+)(${j}*=${j}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Y=/'/g,X=/"/g,G=/^(?:script|style|textarea|title)$/i,Q=(ee=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$)&&V("","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$:ee,strings:e,values:t}));var ee;const te=Symbol.for("lit-noChange"),le=Symbol.for("lit-nothing"),ae=new WeakMap,ie=I.createTreeWalker(I,129);let ce=L;function re(e,t){if(!W(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!==k?k.createHTML(t):t}class oe{constructor({strings:e,_$litType$:t},l){let a;this.parts=[];let i=0,c=0;const r=e.length-1,o=this.parts,[s,n]=((e,t)=>{const l=e.length-1,a=[];let i,c=2===t?"<svg>":3===t?"<math>":"",r=q;for(let t=0;t<l;t++){const l=e[t];let o,s,n=-1,h=0;for(;h<l.length&&(r.lastIndex=h,s=r.exec(l),null!==s);)if(h=r.lastIndex,r===q){if("!--"===s[1])r=F;else if(void 0!==s[1])r=J;else if(void 0!==s[2])G.test(s[2])&&(i=new RegExp(`</${s[2]}`,"g")),r=K;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 r===K?">"===s[0]?(r=i??q,n=-1):void 0===s[1]?n=-2:(n=r.lastIndex-s[2].length,o=s[1],r=void 0===s[3]?K:'"'===s[3]?X:Y):r===X||r===Y?r=K:r===F||r===J?r=q:(r=K,i=void 0);console.assert(-1===n||r===K||r===Y||r===X,"unexpected parse state B");const d=r===K&&e[t+1].startsWith("/>")?" ":"";c+=r===q?l+U:n>=0?(a.push(o),l.slice(0,n)+T+l.slice(n)+N+d):l+N+(-2===n?t:d)}return[re(e,c+(e[l]||"<?>")+(2===t?"</svg>":3===t?"</math>":"")),a]})(e,t);if(this.el=oe.createElement(s,l),ie.currentNode=this.el.content,2===t||3===t){const e=this.el.content.firstChild;e.replaceWith(...e.childNodes)}for(;null!==(a=ie.nextNode())&&o.length<r;){if(1===a.nodeType){{const e=a.localName;if(/^(?:textarea|template)$/i.test(e)&&a.innerHTML.includes(N)){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);V("",t)}}if(a.hasAttributes())for(const e of a.getAttributeNames())if(e.endsWith(T)){const t=n[c++],l=a.getAttribute(e).split(N),r=/([.?@])?(.*)/.exec(t);o.push({type:1,index:i,name:r[2],strings:l,ctor:"."===r[1]?ve:"?"===r[1]?pe:"@"===r[1]?ge:de}),a.removeAttribute(e)}else e.startsWith(N)&&(o.push({type:6,index:i}),a.removeAttribute(e));if(G.test(a.tagName)){const e=a.textContent.split(N),t=e.length-1;if(t>0){a.textContent=$?$.emptyScript:"";for(let l=0;l<t;l++)a.append(e[l],D()),ie.nextNode(),o.push({type:2,index:++i});a.append(e[t],D())}}}else if(8===a.nodeType){if(a.data===O)o.push({type:2,index:i});else{let e=-1;for(;-1!==(e=a.data.indexOf(N,e+1));)o.push({type:7,index:i}),e+=N.length-1}}i++}if(n.length!==c)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("${...}")+"`");H&&H({kind:"template prep",template:this,clonableTemplate:this.el,parts:this.parts,strings:e})}static createElement(e,t){const l=I.createElement("template");return l.innerHTML=e,l}}function se(e,t,l=e,a){if(t===te)return t;let i=void 0!==a?l.__directives?.[a]:l.__directive;const c=R(t)?void 0:t._$litDirective$;return i?.constructor!==c&&(i?._$notifyDirectiveConnectionChanged?.(!1),void 0===c?i=void 0:(i=new c(e),i._$initialize(e,l,a)),void 0!==a?(l.__directives??=[])[a]=i:l.__directive=i),void 0!==i&&(t=se(e,i._$resolve(e,t.values),i,a)),t}class ne{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,a=(e?.creationScope??I).importNode(t,!0);ie.currentNode=a;let i=ie.nextNode(),c=0,r=0,o=l[0];for(;void 0!==o;){if(c===o.index){let t;2===o.type?t=new he(i,i.nextSibling,this,e):1===o.type?t=new o.ctor(i,o.name,o.strings,this,e):6===o.type&&(t=new we(i,this,e)),this._$parts.push(t),o=l[++r]}c!==o?.index&&(i=ie.nextNode(),c++)}return ie.currentNode=I,a}_update(e){let t=0;for(const l of this._$parts)void 0!==l&&(H&&H({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 he{get _$isConnected(){return this._$parent?._$isConnected??this.__isConnected}constructor(e,t,l,a){this.type=2,this._$committedValue=le,this._$disconnectableChildren=void 0,this._$startNode=e,this._$endNode=t,this._$parent=l,this.options=a,this.__isConnected=a?.isConnected??!0,this._textSanitizer=void 0}get parentNode(){let e=S(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=se(this,e,t),R(e))e===le||null==e||""===e?(this._$committedValue!==le&&(H&&H({kind:"commit nothing to child",start:this._$startNode,end:this._$endNode,parent:this._$parent,options:this.options}),this._$clear()),this._$committedValue=le):e!==this._$committedValue&&e!==te&&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=>W(e)||"function"==typeof e?.[Symbol.iterator])(e)?this._commitIterable(e):this._commitText(e)}_insert(e){return S(S(this._$startNode).parentNode).insertBefore(e,this._$endNode)}_commitNode(e){if(this._$committedValue!==e){if(this._$clear(),ce!==L){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)}}H&&H({kind:"commit node",start:this._$startNode,parent:this._$parent,value:e,options:this.options}),this._$committedValue=this._insert(e)}}_commitText(e){if(this._$committedValue!==le&&R(this._$committedValue)){const t=S(this._$startNode).nextSibling;void 0===this._textSanitizer&&(this._textSanitizer=z(t,"data","property")),e=this._textSanitizer(e),H&&H({kind:"commit text",node:t,value:e,options:this.options}),t.data=e}else{const t=I.createTextNode("");this._commitNode(t),void 0===this._textSanitizer&&(this._textSanitizer=z(t,"data","property")),e=this._textSanitizer(e),H&&H({kind:"commit text",node:t,value:e,options:this.options}),t.data=e}this._$committedValue=e}_commitTemplateResult(e){const{values:t,_$litType$:l}=e,a="number"==typeof l?this._$getTemplate(e):(void 0===l.el&&(l.el=oe.createElement(re(l.h,l.h[0]),this.options)),l);if(this._$committedValue?._$template===a)H&&H({kind:"template updating",template:a,instance:this._$committedValue,parts:this._$committedValue._$parts,options:this.options,values:t}),this._$committedValue._update(t);else{const e=new ne(a,this),l=e._clone(this.options);H&&H({kind:"template instantiated",template:a,instance:e,parts:e._$parts,options:this.options,fragment:l,values:t}),e._update(t),H&&H({kind:"template instantiated and updated",template:a,instance:e,parts:e._$parts,options:this.options,fragment:l,values:t}),this._commitNode(l),this._$committedValue=e}}_$getTemplate(e){let t=ae.get(e.strings);return void 0===t&&ae.set(e.strings,t=new oe(e)),t}_commitIterable(e){W(this._$committedValue)||(this._$committedValue=[],this._$clear());const t=this._$committedValue;let l,a=0;for(const i of e)a===t.length?t.push(l=new he(this._insert(D()),this._insert(D()),this,this.options)):l=t[a],l._$setValue(i),a++;a<t.length&&(this._$clear(l&&S(l._$endNode).nextSibling,a),t.length=a)}_$clear(e=S(this._$startNode).nextSibling,t){for(this._$notifyConnectionChanged?.(!1,!0,t);e!==this._$endNode;){const t=S(e).nextSibling;S(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 de{get tagName(){return this.element.tagName}get _$isConnected(){return this._$parent._$isConnected}constructor(e,t,l,a,i){this.type=1,this._$committedValue=le,this._$disconnectableChildren=void 0,this.element=e,this.name=t,this._$parent=a,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=le,this._sanitizer=void 0}_$setValue(e,t=this,l,a){const i=this.strings;let c=!1;if(void 0===i)e=se(this,e,t,0),c=!R(e)||e!==this._$committedValue&&e!==te,c&&(this._$committedValue=e);else{const a=e;let r,o;for(e=i[0],r=0;r<i.length-1;r++)o=se(this,a[l+r],t,r),o===te&&(o=this._$committedValue[r]),c||=!R(o)||o!==this._$committedValue[r],o===le?e=le:e!==le&&(e+=(o??"")+i[r+1]),this._$committedValue[r]=o}c&&!a&&this._commitValue(e)}_commitValue(e){e===le?S(this.element).removeAttribute(this.name):(void 0===this._sanitizer&&(this._sanitizer=ce(this.element,this.name,"attribute")),e=this._sanitizer(e??""),H&&H({kind:"commit attribute",element:this.element,name:this.name,value:e,options:this.options}),S(this.element).setAttribute(this.name,e??""))}}class ve extends de{constructor(){super(...arguments),this.type=3}_commitValue(e){void 0===this._sanitizer&&(this._sanitizer=ce(this.element,this.name,"property")),e=this._sanitizer(e),H&&H({kind:"commit property",element:this.element,name:this.name,value:e,options:this.options}),this.element[this.name]=e===le?void 0:e}}class pe extends de{constructor(){super(...arguments),this.type=4}_commitValue(e){H&&H({kind:"commit boolean attribute",element:this.element,name:this.name,value:!(!e||e===le),options:this.options}),S(this.element).toggleAttribute(this.name,!!e&&e!==le)}}class ge extends de{constructor(e,t,l,a,i){if(super(e,t,l,a,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=se(this,e,t,0)??le)===te)return;const l=this._$committedValue,a=e===le&&l!==le||e.capture!==l.capture||e.once!==l.once||e.passive!==l.passive,i=e!==le&&(l===le||a);H&&H({kind:"commit event listener",element:this.element,name:this.name,value:e,options:this.options,removeListener:a,addListener:i,oldListener:l}),a&&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 we{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){H&&H({kind:"commit to element binding",element:this.element,value:e,options:this.options}),se(this,e)}}const ue=y.litHtmlPolyfillSupportDevMode;ue?.(oe,he),(y.litHtmlVersions??=[]).push("3.3.2"),y.litHtmlVersions.length>1&&queueMicrotask(()=>{V("multiple-versions","Multiple versions of Lit loaded. Loading multiple versions is not recommended.")});const fe=(e,t,l)=>{if(null==t)throw new TypeError(`The container to render into may not be ${t}`);const a=B++,i=l?.renderBefore??t;let c=i._$litPart$;if(H&&H({kind:"begin render",id:a,value:e,container:t,options:l,part:c}),void 0===c){const e=l?.renderBefore??null;i._$litPart$=c=new he(t.insertBefore(D(),e),e,void 0,l??{})}return c._$setValue(e),H&&H({kind:"end render",id:a,value:e,container:t,options:l,part:c}),c};fe.setSanitizer=P,fe.createSanitizer=z,fe._testOnlyClearSanitizerFactoryDoNotCallOrElse=E;
14
14
  /**
15
15
  * @license
16
16
  * Copyright 2017 Google LLC
17
17
  * SPDX-License-Identifier: BSD-3-Clause
18
18
  */
19
- const me=globalThis;let Ze;me.litIssuedWarnings??=new Set,Ze=(e,t)=>{t+=` See https://lit.dev/msg/${e} for more information.`,me.litIssuedWarnings.has(t)||me.litIssuedWarnings.has(e)||(console.warn(t),me.litIssuedWarnings.add(t))};class Ce extends H{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=fe(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this.__childPart?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this.__childPart?.setConnected(!1)}render(){return te}}var xe;Ce._$litElement$=!0,Ce[(xe="finalized",xe)]=!0,me.litElementHydrateSupport?.({LitElement:Ce});const Me=me.litElementPolyfillSupportDevMode;
19
+ const me=globalThis;let Ze;me.litIssuedWarnings??=new Set,Ze=(e,t)=>{t+=` See https://lit.dev/msg/${e} for more information.`,me.litIssuedWarnings.has(t)||me.litIssuedWarnings.has(e)||(console.warn(t),me.litIssuedWarnings.add(t))};class Ce extends _{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=fe(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this.__childPart?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this.__childPart?.setConnected(!1)}render(){return te}}var xe;Ce._$litElement$=!0,Ce[(xe="finalized",xe)]=!0,me.litElementHydrateSupport?.({LitElement:Ce});const Me=me.litElementPolyfillSupportDevMode;
20
20
  /**
21
21
  * @license
22
22
  * Copyright 2017 Google LLC
23
23
  * SPDX-License-Identifier: BSD-3-Clause
24
24
  */
25
- let Ve;Me?.({LitElement:Ce}),(me.litElementVersions??=[]).push("4.2.2"),me.litElementVersions.length>1&&queueMicrotask(()=>{Ze("multiple-versions","Multiple versions of Lit loaded. Loading multiple versions is not recommended.")}),globalThis.litIssuedWarnings??=new Set,Ve=(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 He={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:M},_e=(e=He,t,l)=>{const{kind:a,metadata:i}=l;null==i&&Ve("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 c=globalThis.litPropertyMetadata.get(i);if(void 0===c&&globalThis.litPropertyMetadata.set(i,c=new Map),"setter"===a&&((e=Object.create(e)).wrapped=!0),c.set(l.name,e),"accessor"===a){const{name:a}=l;return{set(l){const i=t.get.call(this);t.set.call(this,l),this.requestUpdate(a,i,e,!0,l)},init(t){return void 0!==t&&this._$changeProperty(a,void 0,e,t),t}}}if("setter"===a){const{name:a}=l;return function(l){const i=this[a];t.call(this,l),this.requestUpdate(a,i,e,!0,l)}}throw new Error(`Unsupported decorator location: ${a}`)};function be(e){return(t,l)=>"object"==typeof l?_e(e,t,l):((e,t,l)=>{const a=t.hasOwnProperty(l);return t.constructor.createProperty(l,e),a?Object.getOwnPropertyDescriptor(t,l):void 0})(e,t,l)}
25
+ let be;Me?.({LitElement:Ce}),(me.litElementVersions??=[]).push("4.2.2"),me.litElementVersions.length>1&&queueMicrotask(()=>{Ze("multiple-versions","Multiple versions of Lit loaded. Loading multiple versions is not recommended.")}),globalThis.litIssuedWarnings??=new Set,be=(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 _e={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:M},ye=(e=_e,t,l)=>{const{kind:a,metadata:i}=l;null==i&&be("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 c=globalThis.litPropertyMetadata.get(i);if(void 0===c&&globalThis.litPropertyMetadata.set(i,c=new Map),"setter"===a&&((e=Object.create(e)).wrapped=!0),c.set(l.name,e),"accessor"===a){const{name:a}=l;return{set(l){const i=t.get.call(this);t.set.call(this,l),this.requestUpdate(a,i,e,!0,l)},init(t){return void 0!==t&&this._$changeProperty(a,void 0,e,t),t}}}if("setter"===a){const{name:a}=l;return function(l){const i=this[a];t.call(this,l),this.requestUpdate(a,i,e,!0,l)}}throw new Error(`Unsupported decorator location: ${a}`)};function He(e){return(t,l)=>"object"==typeof l?ye(e,t,l):((e,t,l)=>{const a=t.hasOwnProperty(l);return t.constructor.createProperty(l,e),a?Object.getOwnPropertyDescriptor(t,l):void 0})(e,t,l)}
26
26
  /**
27
27
  * @license
28
28
  * Copyright 2017 Google LLC
@@ -33,19 +33,19 @@ let Ve;Me?.({LitElement:Ce}),(me.litElementVersions??=[]).push("4.2.2"),me.litEl
33
33
  * Copyright 2017 Google LLC
34
34
  * SPDX-License-Identifier: BSD-3-Clause
35
35
  */
36
- const ye=1;class Be{constructor(e){}get _$isConnected(){return this._$parent._$isConnected}_$initialize(e,t,l){this.__part=e,this._$parent=t,this.__attributeIndex=l}_$resolve(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}}
36
+ const Ve=1;class Be{constructor(e){}get _$isConnected(){return this._$parent._$isConnected}_$initialize(e,t,l){this.__part=e,this._$parent=t,this.__attributeIndex=l}_$resolve(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}}
37
37
  /**
38
38
  * @license
39
39
  * Copyright 2018 Google LLC
40
40
  * SPDX-License-Identifier: BSD-3-Clause
41
- */const $e=(Se=class extends Be{constructor(e){if(super(e),e.type!==ye||"class"!==e.name||e.strings?.length>2)throw new Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(void 0===this._previousClasses){this._previousClasses=new Set,void 0!==e.strings&&(this._staticClasses=new Set(e.strings.join(" ").split(/\s/).filter(e=>""!==e)));for(const e in t)t[e]&&!this._staticClasses?.has(e)&&this._previousClasses.add(e);return this.render(t)}const l=e.element.classList;for(const e of this._previousClasses)e in t||(l.remove(e),this._previousClasses.delete(e));for(const e in t){const a=!!t[e];a===this._previousClasses.has(e)||this._staticClasses?.has(e)||(a?(l.add(e),this._previousClasses.add(e)):(l.remove(e),this._previousClasses.delete(e)))}return te}},(...e)=>({_$litDirective$:Se,values:e}));var Se,Ae=r`: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);display:block;font-family:var(--sgds-font-family-brand);font-size:var(--sgds-font-size-16);font-weight:var(--sgds-font-weight-regular);line-height:var(--sgds-line-height-24);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}}::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 Le extends Ce{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(a){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}))}))}}Le.styles=[Ae],Le.dependencies={},e([be({type:Boolean,reflect:!0})],Le.prototype,"ssr",void 0);var ke=r`.stepper{display:flex;flex-wrap:wrap}.stepper.vertical{flex-direction:column}.stepper.horizontal .stepper-item-container{align-items:center;display:flex;flex-basis:1em;flex-direction:column;flex-grow:1;flex-shrink:1;position:relative}.stepper.vertical .stepper-item-container{position:relative;width:fit-content}.stepper .stepper-item{align-items:center;display:flex;flex-direction:column;gap:var(--sgds-gap-sm)}.stepper.vertical .stepper-item{align-items:flex-start;flex-direction:row}.stepper.vertical .stepper-item-container:not(:last-child) .stepper-item{margin-bottom:var(--sgds-padding-xl)}.stepper .stepper-item.is-clickable:focus-visible{outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}.stepper.horizontal .stepper-item-container:not(:first-child) .stepper-item:before{background:var(--sgds-border-color-translucent);bottom:0;content:" ";height:var(--sgds-dimension-2);left:calc(-50% + 16px);position:absolute;top:15px;width:calc(100% - var(--sgds-dimension-32))}.stepper.vertical .stepper-item-container:not(:last-child) .stepper-item:after{background:var(--sgds-bg-translucent);bottom:0;content:" ";height:calc(100% - var(--sgds-dimension-32));left:15px;position:absolute;top:32px;width:var(--sgds-dimension-2)}.stepper.horizontal .stepper-item-container .stepper-item.is-active:before,.stepper.horizontal .stepper-item-container .stepper-item.is-completed:before,.stepper.vertical .stepper-item-container .stepper-item.is-completed:after{background:var(--sgds-primary-border-color-default)}.stepper .stepper-item.is-clickable{cursor:pointer}.stepper .stepper-marker{align-items:center;background:var(--sgds-bg-translucent);border:var(--sgds-border-width-2) solid var(--sgds-border-color-transparent);border-radius:50%;color:var(--sgds-color-default);display:flex;height:var(--sgds-dimension-32);justify-content:center;width:var(--sgds-dimension-32);z-index:1}.stepper:not(.vertical) .stepper-detail{max-width:var(--sgds-dimension-128);text-align:center}.stepper.vertical .stepper-detail{padding:var(--sgds-padding-2-xs) 0 0;text-align:left}.stepper .stepper-item:not(.is-active):not(.is-completed) .stepper-detail{color:var(--sgds-color-subtle)}.stepper .stepper-item.is-clickable:focus .stepper-marker,.stepper .stepper-item.is-clickable:focus-visible .stepper-marker,.stepper .stepper-item.is-clickable:hover .stepper-marker{background-color:var(--sgds-primary-surface-emphasis);border-color:var(--sgds-border-color-transparent);color:var(--sgds-color-fixed-light)}.stepper .stepper-item.is-clickable:focus .stepper-detail,.stepper .stepper-item.is-clickable:focus-visible .stepper-detail,.stepper .stepper-item.is-clickable:hover .stepper-detail{color:var(--sgds-primary-color-emphasis)}.stepper .stepper-item.is-clickable .stepper-detail,.stepper.clickable .stepper-item.is-active .stepper-detail{color:var(--sgds-primary-color-default)}.stepper .stepper-item.is-active .stepper-marker{background-color:var(--sgds-primary-surface-default);color:var(--sgds-color-fixed-light)}.stepper .stepper-item.is-completed .stepper-marker{background-color:var(--sgds-bg-transparent);border:var(--sgds-border-width-2) solid var(--sgds-primary-border-color-default);color:var(--sgds-primary-color-default)}`,Pe=Q`
41
+ */const Se=($e=class extends Be{constructor(e){if(super(e),e.type!==Ve||"class"!==e.name||e.strings?.length>2)throw new Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(void 0===this._previousClasses){this._previousClasses=new Set,void 0!==e.strings&&(this._staticClasses=new Set(e.strings.join(" ").split(/\s/).filter(e=>""!==e)));for(const e in t)t[e]&&!this._staticClasses?.has(e)&&this._previousClasses.add(e);return this.render(t)}const l=e.element.classList;for(const e of this._previousClasses)e in t||(l.remove(e),this._previousClasses.delete(e));for(const e in t){const a=!!t[e];a===this._previousClasses.has(e)||this._staticClasses?.has(e)||(a?(l.add(e),this._previousClasses.add(e)):(l.remove(e),this._previousClasses.delete(e)))}return te}},(...e)=>({_$litDirective$:$e,values:e}));var $e,ke=r`: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);display:block;font-family:var(--sgds-font-family-brand);font-size:var(--sgds-font-size-16);font-weight:var(--sgds-font-weight-regular);line-height:var(--sgds-line-height-24);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}}::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 Ae extends Ce{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(a){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}))}))}}Ae.styles=[ke],Ae.dependencies={},e([He({type:Boolean,reflect:!0})],Ae.prototype,"ssr",void 0);function Le(e,t){const l=Object.assign({waitUntilFirstUpdate:!1},t);return(t,a)=>{const{update:i}=t;if(e in t){const c=e;t.update=function(e){if(e.has(c)){const t=e.get(c),i=this[c];t!==i&&(l.waitUntilFirstUpdate&&!this.hasUpdated||this[a](t,i))}i.call(this,e)}}}}var Pe=r`.stepper{display:flex;flex-wrap:wrap}.stepper.vertical{flex-direction:column}.stepper.horizontal .stepper-item-container{align-items:center;display:flex;flex-basis:1em;flex-direction:column;flex-grow:1;flex-shrink:1;position:relative}.stepper.vertical .stepper-item-container{position:relative;width:fit-content}.stepper .stepper-item{align-items:center;display:flex;flex-direction:column;gap:var(--sgds-gap-sm)}.stepper.vertical .stepper-item{align-items:flex-start;flex-direction:row}.stepper.vertical .stepper-item-container:not(:last-child) .stepper-item{margin-bottom:var(--sgds-padding-xl)}.stepper .stepper-item.is-clickable:focus-visible{outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}.stepper.horizontal .stepper-item-container:not(:first-of-type) .stepper-item:before{background:var(--sgds-border-color-translucent);bottom:0;content:" ";height:var(--sgds-dimension-2);left:calc(-50% + 16px);position:absolute;top:15px;width:calc(100% - var(--sgds-dimension-32))}.stepper.vertical .stepper-item-container:not(:last-child) .stepper-item:after{background:var(--sgds-bg-translucent);bottom:0;content:" ";height:calc(100% - var(--sgds-dimension-32));left:15px;position:absolute;top:32px;width:var(--sgds-dimension-2)}.stepper.horizontal .stepper-item-container .stepper-item.is-active:before,.stepper.horizontal .stepper-item-container .stepper-item.is-completed:before,.stepper.vertical .stepper-item-container .stepper-item.is-completed:after{background:var(--sgds-primary-border-color-default)}.stepper .stepper-item.is-clickable{cursor:pointer}.stepper .stepper-marker{align-items:center;background:var(--sgds-bg-translucent);border:var(--sgds-border-width-2) solid var(--sgds-border-color-transparent);border-radius:50%;color:var(--sgds-color-default);display:flex;height:var(--sgds-dimension-32);justify-content:center;width:var(--sgds-dimension-32);z-index:1}.stepper:not(.vertical) .stepper-detail{max-width:var(--sgds-dimension-128);text-align:center}.stepper.vertical .stepper-detail{padding:var(--sgds-padding-2-xs) 0 0;text-align:left}.stepper .stepper-item:not(.is-active):not(.is-completed) .stepper-detail{color:var(--sgds-color-subtle)}.stepper .stepper-item.is-clickable:focus .stepper-marker,.stepper .stepper-item.is-clickable:focus-visible .stepper-marker,.stepper .stepper-item.is-clickable:hover .stepper-marker{background-color:var(--sgds-primary-surface-emphasis);border-color:var(--sgds-border-color-transparent);color:var(--sgds-color-fixed-light)}.stepper .stepper-item.is-clickable:focus .stepper-detail,.stepper .stepper-item.is-clickable:focus-visible .stepper-detail,.stepper .stepper-item.is-clickable:hover .stepper-detail{color:var(--sgds-primary-color-emphasis)}.stepper .stepper-item.is-clickable .stepper-detail,.stepper.clickable .stepper-item.is-active .stepper-detail{color:var(--sgds-primary-color-default)}.stepper .stepper-item.is-active .stepper-marker{background-color:var(--sgds-primary-surface-default);color:var(--sgds-color-fixed-light)}.stepper .stepper-item.is-completed .stepper-marker{background-color:var(--sgds-bg-transparent);border:var(--sgds-border-width-2) solid var(--sgds-primary-border-color-default);color:var(--sgds-primary-color-default)}`,Ee=Q`
42
42
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
43
43
  <path
44
44
  fill="currentColor"
45
45
  d="M9.375 15.125H6.5a5.116 5.116 0 0 1-1.643-.27l1.324 5.292c.047.188.062.247.078.294.176.52.644.885 1.19.93.05.004.11.004.305.004.243 0 .32 0 .379-.006a1.375 1.375 0 0 0 1.235-1.237c.006-.058.007-.136.007-.379v-4.628Zm12-5.125c0-1.373-.963-2.52-2.25-2.805v5.61A2.874 2.874 0 0 0 21.375 10Zm-18.75 0A3.875 3.875 0 0 0 6.5 13.875h2.875v-7.75H6.5A3.875 3.875 0 0 0 2.625 10Zm15.25-4.873c0-.534 0-.896-.021-1.159-.023-.28-.063-.324-.05-.305a.326.326 0 0 0-.258-.155c.027.004-.035-.01-.31.115-.257.115-.597.3-1.092.57-1.565.853-3.667 1.801-5.519 1.919v7.774c1.852.118 3.954 1.068 5.519 1.921.495.27.835.455 1.091.57.276.125.338.111.31.115a.326.326 0 0 0 .26-.155c-.013.019.026-.026.049-.305.02-.263.021-.625.021-1.158V5.127Zm1.25.794a4.127 4.127 0 0 1 0 8.157v.796c0 .51 0 .932-.025 1.257-.025.307-.079.654-.279.934a1.57 1.57 0 0 1-1.124.667c-.346.042-.688-.084-.976-.215-.31-.14-.7-.352-1.176-.612-1.535-.837-3.39-1.645-4.92-1.764v4.612c0 .215 0 .366-.013.5a2.625 2.625 0 0 1-2.36 2.36c-.133.013-.284.012-.498.012-.171 0-.293 0-.406-.01a2.625 2.625 0 0 1-2.273-1.773c-.036-.107-.065-.226-.106-.392l-1.575-6.298a.632.632 0 0 1-.014-.087 5.125 5.125 0 0 1 3.12-9.19h3.75c1.594 0 3.632-.873 5.295-1.78.477-.26.866-.472 1.176-.612.288-.13.63-.257.976-.215.47.058.85.283 1.124.667.2.28.254.627.279.935.025.324.025.746.025 1.257v.794Z"
46
46
  />
47
47
  </svg>
48
- `,Ee=Q`
48
+ `,ze=Q`
49
49
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
50
50
  <path
51
51
  fill="currentColor"
@@ -58,21 +58,21 @@ const ye=1;class Be{constructor(e){}get _$isConnected(){return this._$parent._$i
58
58
  clip-rule="evenodd"
59
59
  />
60
60
  </svg>
61
- `,ze=Q`
61
+ `,Te=Q`
62
62
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
63
63
  <path
64
64
  fill="currentColor"
65
65
  d="M2.5 3.9a.6.6 0 0 0 0 1.2h19a.6.6 0 1 0 0-1.2h-19Zm10.1 5.6a.6.6 0 1 0-1.2 0v8.552l-3.976-3.976a.6.6 0 1 0-.848.848l5 5a.6.6 0 0 0 .848 0l5-5a.6.6 0 1 0-.848-.848L12.6 18.052V9.5Z"
66
66
  />
67
67
  </svg>
68
- `,Te=Q`
68
+ `,Ne=Q`
69
69
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
70
70
  <path
71
71
  fill="currentColor"
72
72
  d="M20.1 2.5a.6.6 0 1 0-1.2 0v19a.6.6 0 1 0 1.2 0v-19Zm-5.6 10.1a.6.6 0 1 0 0-1.2H5.948l3.976-3.976a.6.6 0 1 0-.848-.848l-5 5a.6.6 0 0 0 0 .848l5 5a.6.6 0 0 0 .848-.848L5.948 12.6H14.5Z"
73
73
  />
74
74
  </svg>
75
- `,Ne=Q`
75
+ `,Oe=Q`
76
76
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
77
77
  <path
78
78
  fill="currentColor"
@@ -86,7 +86,7 @@ const ye=1;class Be{constructor(e){}get _$isConnected(){return this._$parent._$i
86
86
  d="M21.5 20.1a.6.6 0 1 0 0-1.2h-19a.6.6 0 0 0 0 1.2h19Zm-10.1-5.6a.6.6 0 1 0 1.2 0V5.949l3.976 3.975a.6.6 0 0 0 .848-.848l-5-5a.6.6 0 0 0-.848 0l-5 5a.6.6 0 1 0 .848.848L11.4 5.95v8.55Z"
87
87
  />
88
88
  </svg>
89
- `,Oe=Q`
89
+ `,Ie=Q`
90
90
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
91
91
  <path
92
92
  fill="currentColor"
@@ -99,7 +99,7 @@ const ye=1;class Be{constructor(e){}get _$isConnected(){return this._$parent._$i
99
99
  clip-rule="evenodd"
100
100
  />
101
101
  </svg>
102
- `,Ie=Q`
102
+ `,De=Q`
103
103
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
104
104
  <path
105
105
  fill="currentColor"
@@ -112,7 +112,7 @@ const ye=1;class Be{constructor(e){}get _$isConnected(){return this._$parent._$i
112
112
  clip-rule="evenodd"
113
113
  />
114
114
  </svg>
115
- `,De=Q`
115
+ `,Re=Q`
116
116
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
117
117
  <path
118
118
  fill="currentColor"
@@ -125,7 +125,7 @@ const ye=1;class Be{constructor(e){}get _$isConnected(){return this._$parent._$i
125
125
  clip-rule="evenodd"
126
126
  />
127
127
  </svg>
128
- `,Re=Q`
128
+ `,We=Q`
129
129
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
130
130
  <path
131
131
  fill="currentColor"
@@ -138,7 +138,7 @@ const ye=1;class Be{constructor(e){}get _$isConnected(){return this._$parent._$i
138
138
  clip-rule="evenodd"
139
139
  />
140
140
  </svg>
141
- `,We=Q`
141
+ `,je=Q`
142
142
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
143
143
  <path
144
144
  fill="currentColor"
@@ -156,7 +156,7 @@ const ye=1;class Be{constructor(e){}get _$isConnected(){return this._$parent._$i
156
156
  clip-rule="evenodd"
157
157
  />
158
158
  </svg>
159
- `,je=Q`
159
+ `,Fe=Q`
160
160
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
161
161
  <path
162
162
  fill="currentColor"
@@ -165,7 +165,7 @@ const ye=1;class Be{constructor(e){}get _$isConnected(){return this._$parent._$i
165
165
  clip-rule="evenodd"
166
166
  />
167
167
  </svg>
168
- `,Fe=Q`
168
+ `,Je=Q`
169
169
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
170
170
  <path
171
171
  fill="currentColor"
@@ -174,7 +174,7 @@ const ye=1;class Be{constructor(e){}get _$isConnected(){return this._$parent._$i
174
174
  clip-rule="evenodd"
175
175
  />
176
176
  </svg>
177
- `,Je=Q`
177
+ `,Ke=Q`
178
178
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
179
179
  <path
180
180
  fill="currentColor"
@@ -183,7 +183,7 @@ const ye=1;class Be{constructor(e){}get _$isConnected(){return this._$parent._$i
183
183
  clip-rule="evenodd"
184
184
  />
185
185
  </svg>
186
- `;const Ke={announcement:Pe,archive:Ee,"arrow-bar-down":ze,"arrow-bar-left":Te,"arrow-bar-right":Ne,"arrow-bar-up":Ue,"arrow-circle-down":Oe,"arrow-circle-left":Ie,"arrow-circle-right":De,"arrow-circle-up":Re,"arrow-clockwise":We,"arrow-down":qe,"arrow-left":je,"arrow-repeat":Fe,"arrow-right":Je,"arrow-square-down":Q`
186
+ `;const Ye={announcement:Ee,archive:ze,"arrow-bar-down":Te,"arrow-bar-left":Ne,"arrow-bar-right":Oe,"arrow-bar-up":Ue,"arrow-circle-down":Ie,"arrow-circle-left":De,"arrow-circle-right":Re,"arrow-circle-up":We,"arrow-clockwise":je,"arrow-down":qe,"arrow-left":Fe,"arrow-repeat":Je,"arrow-right":Ke,"arrow-square-down":Q`
187
187
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
188
188
  <path
189
189
  fill="currentColor"
@@ -2254,14 +2254,16 @@ const ye=1;class Be{constructor(e){}get _$isConnected(){return this._$parent._$i
2254
2254
  clip-rule="evenodd"
2255
2255
  />
2256
2256
  </svg>
2257
- `};var Ye,Xe,Ge=r`: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)}`;class Qe extends Le{constructor(){super(...arguments),this.size="lg"}_getIconByName(e){if(!e)return;const t=Ke[e];if(t)return t;console.warn(`Icon not found: ${e}`)}render(){const e=this._getIconByName(this.name);return e||le}}Qe.styles=[...Le.styles,Ge],e([be({type:String,reflect:!0})],Qe.prototype,"name",void 0),e([be({type:String,reflect:!0})],Qe.prototype,"size",void 0);class et extends Le{constructor(){super(...arguments),this.steps=[],this.activeStep=0,this.orientation="horizontal",this.clickable=!1,this.defaultActiveStep=0}getComponent(e=this.activeStep){return this.steps[e].component}nextStep(){this.emit("sgds-next-step"),this.activeStep<this.steps.length-1&&this.activeStep++}previousStep(){this.emit("sgds-previous-step"),this.activeStep>0&&this.activeStep--}lastStep(){this.emit("sgds-last-step"),this.activeStep!==this.steps.length-1&&(this.activeStep=this.steps.length-1)}firstStep(){this.emit("sgds-first-step"),this.activeStep>0&&(this.activeStep=0)}reset(){this.emit("sgds-reset"),this.activeStep=this.defaultActiveStep}_onStepperItemClick(e){this.activeStep>e&&(this.activeStep=e)}_handleActiveStepChange(){this.emit("sgds-arrived")}_handleKeyDown(e,t){"Enter"===e.key&&this._onStepperItemClick(t)}render(){return Q`
2257
+ `};var Xe,Ge=r`: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)}`;class Qe extends Ae{constructor(){super(...arguments),this.size="lg"}_getIconByName(e){if(!e)return;const t=Ye[e];if(t)return t;console.warn(`Icon not found: ${e}`)}render(){const e=this._getIconByName(this.name);return e||le}}Qe.styles=[...Ae.styles,Ge],e([He({type:String,reflect:!0})],Qe.prototype,"name",void 0),e([He({type:String,reflect:!0})],Qe.prototype,"size",void 0);class et extends Ae{constructor(){super(...arguments),this.steps=[],this.activeStep=0,this.orientation="horizontal",this.clickable=!1,this.linear=!1,this.defaultActiveStep=0,this._totalSteps=0,this._boundHandleItemClick=this._handleStepClick.bind(this)}connectedCallback(){super.connectedCallback(),this._totalSteps=this.steps.length,this.addEventListener("i-sgds-click",this._boundHandleItemClick)}_handleSlotChange(){this._items=this._slotNodes,this._totalSteps=this._items.length,this._updateStepItems()}_updateStepItems(){this._items&&this._items.length>0&&this._items.forEach((e,t)=>{e.stepIndex=t,e.active=this.activeStep===t,e._isCompleted=e.completed||this.activeStep>t,e.isClickable=this.linear?!e.disabled&&this.clickable&&(this.activeStep-1==t||this.activeStep+1==t):!e.disabled&&this.clickable,e.orientation=this.orientation,this._items.length>1&&(e.isFirstOfType=0===t,e.classList.toggle("last",t===this._items.length-1))})}getComponent(e=this.activeStep){var t,l;const a=this._slotNodes.length>1?this._items:this.steps;return a&&a.length>0?null===(t=a[e])||void 0===t?void 0:t.component:null===(l=this.steps[e])||void 0===l?void 0:l.component}nextStep(){var e;this.emit("sgds-next-step"),this.activeStep<this._totalSteps-1&&((null===(e=this._slotNodes[this.activeStep+1])||void 0===e?void 0:e.disabled)||this.activeStep++)}previousStep(){var e;this.emit("sgds-previous-step"),this.activeStep>0&&((null===(e=this._slotNodes[this.activeStep-1])||void 0===e?void 0:e.disabled)||this.activeStep--)}lastStep(){this.emit("sgds-last-step"),this.activeStep!==this._totalSteps-1&&(this.activeStep=this._totalSteps-1)}firstStep(){this.emit("sgds-first-step"),this.activeStep>0&&(this.activeStep=0)}reset(){this.emit("sgds-reset"),this.activeStep=this.defaultActiveStep}_onStepperItemClick(e){this.activeStep=e}_handleActiveStepChange(){this._updateStepItems(),this.emit("sgds-arrived")}_handleClickableChange(){this._updateStepItems()}_handleOrientationChange(){this._updateStepItems()}_handleKeyDown(e,t){"Enter"===e.key&&this._onStepperItemClick(t)}_handleStepClick(e){var t;const l=e;e.stopPropagation();const a=null===(t=l.detail)||void 0===t?void 0:t.stepIndex;this._onStepperItemClick(a)}render(){return Q`
2258
2258
  <div
2259
- class="stepper ${$e({[`${this.orientation}`]:this.orientation,clickable:this.clickable})}"
2259
+ class="stepper ${Se({[`${this.orientation}`]:this.orientation,clickable:this.clickable})}"
2260
2260
  >
2261
+ <slot @slotchange=${this._handleSlotChange}></slot>
2262
+
2261
2263
  ${this.steps.map(({stepHeader:e,iconName:t},l)=>Q`
2262
2264
  <div class="stepper-item-container">
2263
2265
  <div
2264
- class="stepper-item ${$e({"is-active":this.activeStep===l,"is-completed":this.activeStep>l,"is-clickable":this.clickable&&this.activeStep>l})}"
2266
+ class="stepper-item ${Se({"is-active":this.activeStep===l,"is-completed":this.activeStep>l,"is-clickable":this.clickable&&this.activeStep>l})}"
2265
2267
  tabindex=${this.clickable&&this.activeStep>l?"0":"-1"}
2266
2268
  aria-current=${this.activeStep===l?"step":"false"}
2267
2269
  aria-disabled=${this.activeStep<=l?"true":"false"}
@@ -2276,5 +2278,26 @@ const ye=1;class Be{constructor(e){}get _$isConnected(){return this._$parent._$i
2276
2278
  </div>
2277
2279
  `)}
2278
2280
  </div>
2279
- `}}et.styles=[...Le.styles,ke],et.dependencies={"sgds-icon":Qe},e([be({type:Array})],et.prototype,"steps",void 0),e([be({type:Number,reflect:!0})],et.prototype,"activeStep",void 0),e([be({type:String,reflect:!0})],et.prototype,"orientation",void 0),e([be({type:Boolean,reflect:!0})],et.prototype,"clickable",void 0),e([((e="value")=>(t,l)=>{const a=t.constructor,i=a.prototype.attributeChangedCallback;a.prototype.attributeChangedCallback=function(t,c,r){var o;const s=a.getPropertyOptions(e);if(t===("string"==typeof s.attribute?s.attribute:e).toLowerCase()){const t=s.converter||x,a=("function"==typeof t?t:null!==(o=null==t?void 0:t.fromAttribute)&&void 0!==o?o:x.fromAttribute)(r,s.type);this[e]!==a&&(this[l]=a)}i.call(this,t,c,r)}})("activeStep")],et.prototype,"defaultActiveStep",void 0),e([function(e,t){const l=Object.assign({waitUntilFirstUpdate:!1},t);return(t,a)=>{const{update:i}=t;if(e in t){const c=e;t.update=function(e){if(e.has(c)){const t=e.get(c),i=this[c];t!==i&&(l.waitUntilFirstUpdate&&!this.hasUpdated||this[a](t,i))}i.call(this,e)}}}}("activeStep",{waitUntilFirstUpdate:!0})],et.prototype,"_handleActiveStepChange",null),Ye="sgds-stepper",Xe=et,customElements.get(Ye)||customElements.define(Ye,Xe)});
2281
+ `}}et.styles=[...Ae.styles,Pe],et.dependencies={"sgds-icon":Qe},e([He({type:Array})],et.prototype,"steps",void 0),e([He({type:Number,reflect:!0})],et.prototype,"activeStep",void 0),e([He({type:String,reflect:!0})],et.prototype,"orientation",void 0),e([He({type:Boolean,reflect:!0})],et.prototype,"clickable",void 0),e([He({type:Boolean,reflect:!0})],et.prototype,"linear",void 0),e([((e="value")=>(t,l)=>{const a=t.constructor,i=a.prototype.attributeChangedCallback;a.prototype.attributeChangedCallback=function(t,c,r){var o;const s=a.getPropertyOptions(e);if(t===("string"==typeof s.attribute?s.attribute:e).toLowerCase()){const t=s.converter||x,a=("function"==typeof t?t:null!==(o=null==t?void 0:t.fromAttribute)&&void 0!==o?o:x.fromAttribute)(r,s.type);this[e]!==a&&(this[l]=a)}i.call(this,t,c,r)}})("activeStep")],et.prototype,"defaultActiveStep",void 0),e([(e,t)=>{const{slot:l,selector:a}=Xe??{},i="slot"+(l?`[name=${l}]`:":not([name])");return((e,t,l)=>(l.configurable=!0,l.enumerable=!0,Reflect.decorate&&"object"!=typeof t&&Object.defineProperty(e,t,l),l))(e,t,{get(){const e=this.renderRoot?.querySelector(i),t=e?.assignedElements(Xe)??[];return void 0===a?t:t.filter(e=>e.matches(a))}})}],et.prototype,"_slotNodes",void 0),e([Le("activeStep",{waitUntilFirstUpdate:!0})],et.prototype,"_handleActiveStepChange",null),e([Le("clickable",{waitUntilFirstUpdate:!0})],et.prototype,"_handleClickableChange",null),e([Le("orientation",{waitUntilFirstUpdate:!0})],et.prototype,"_handleOrientationChange",null);var tt=r`:host{display:contents}.stepper-item-container{flex-basis:1em;flex-grow:1;flex-shrink:1;position:relative;width:fit-content}.stepper-item,.stepper-item-container{align-items:center;display:flex;flex-direction:column}.stepper-item{gap:var(--sgds-gap-sm)}.stepper-item.vertical{align-items:flex-start;flex-direction:row;margin-bottom:var(--sgds-padding-xl)}.stepper-item.clickable:focus-visible{outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}.stepper-item:not(.first):not(.vertical):before{background:var(--sgds-border-color-translucent);content:" ";height:var(--sgds-dimension-2);left:calc(-50% + 16px);position:absolute;top:15px;width:calc(100% - var(--sgds-dimension-32))}:host(:not(.last)) .stepper-item-container .stepper-item.vertical:after{background:var(--sgds-bg-translucent);content:" ";height:calc(100% - var(--sgds-dimension-32));left:15px;position:absolute;top:32px;width:var(--sgds-dimension-2)}.stepper-item-container .stepper-item.active:not(.first):before,.stepper-item-container .stepper-item.completed:not(.first):before,:host(:not(.last)) .stepper-item-container .stepper-item.completed:after{background:var(--sgds-primary-border-color-default)}.stepper-item.clickable{cursor:pointer}.stepper-marker{align-items:center;background:var(--sgds-bg-translucent);border:var(--sgds-border-width-2) solid var(--sgds-border-color-transparent);border-radius:50%;color:var(--sgds-color-default);display:flex;height:var(--sgds-dimension-32);justify-content:center;width:var(--sgds-dimension-32);z-index:1}.stepper-detail{display:flex;flex-direction:column;gap:var(--sgds-gap-2-xs);max-width:var(--sgds-dimension-128);text-align:center}.stepper-item.vertical .stepper-detail{padding:var(--sgds-padding-2-xs) 0 0;text-align:left}.stepper-item:not(.active):not(.completed) .stepper-label{color:var(--sgds-color-subtle)}.stepper-item.clickable:focus .stepper-marker,.stepper-item.clickable:focus-visible .stepper-marker,.stepper-item.clickable:hover .stepper-marker{background-color:var(--sgds-primary-surface-emphasis);border-color:var(--sgds-border-color-transparent);color:var(--sgds-color-fixed-light)}.stepper-item.clickable:focus .stepper-label,.stepper-item.clickable:focus-visible .stepper-label,.stepper-item.clickable:hover .stepper-label{color:var(--sgds-primary-color-emphasis)}.stepper-item.clickable .stepper-label{color:var(--sgds-primary-color-default)}.stepper-item.completed .stepper-marker{background-color:var(--sgds-bg-transparent);border:var(--sgds-border-width-2) solid var(--sgds-primary-border-color-default);color:var(--sgds-primary-color-default)}.stepper-item.active .stepper-marker{background-color:var(--sgds-primary-surface-default);color:var(--sgds-color-fixed-light)}.stepper-slot{color:var(--sgds-color-subtle);display:flex;flex-direction:column;font-size:var(--sgds-font-size-label-sm);font-weight:var(--sgds-font-weight-regular);gap:var(--sgds-gap-xs);letter-spacing:var(--sgds-letter-spacing-normal);line-height:var(--sgds-line-height-2-xs)}.stepper-item.disabled{opacity:var(--sgds-opacity-40)}`;class lt extends Ae{constructor(){super(...arguments),this.stepHeader="",this.stepIndex=0,this.active=!1,this.disabled=!1,this.completed=!1,this.isClickable=!1,this.orientation="horizontal",this.isFirstOfType=!1,this._isCompleted=!1}render(){const e=!this.disabled&&this.isClickable;return Q`
2282
+ <div class="stepper-item-container">
2283
+ <div
2284
+ class="stepper-item ${Se({first:this.isFirstOfType,active:this.active,completed:this._isCompleted,clickable:this.isClickable,vertical:"vertical"===this.orientation,disabled:this.disabled})}"
2285
+ tabindex=${e?"0":"-1"}
2286
+ aria-current=${this.active?"step":"false"}
2287
+ aria-disabled=${this.disabled||!this.active&&!this._isCompleted?"true":"false"}
2288
+ @click="${e?()=>this._handleClick():null}"
2289
+ @keydown=${e?e=>this._handleKeyDown(e):null}
2290
+ >
2291
+ <div class="stepper-marker">
2292
+ ${this.iconName?Q`<sgds-icon name=${this.iconName} size="md"></sgds-icon>`:this.stepIndex+1}
2293
+ </div>
2294
+
2295
+ <div class="stepper-detail">
2296
+ <div class="stepper-label">${this.stepHeader}</div>
2297
+
2298
+ <slot class="stepper-slot"></slot>
2299
+ </div>
2300
+ </div>
2301
+ </div>
2302
+ `}_handleClick(){this.emit("i-sgds-click",{detail:{stepIndex:this.stepIndex}})}_handleKeyDown(e){"Enter"===e.key&&this._handleClick()}}function at(e,t){customElements.get(e)||customElements.define(e,t)}lt.styles=[...Ae.styles,tt],lt.dependencies={"sgds-icon":Qe},e([He({type:String,reflect:!0})],lt.prototype,"stepHeader",void 0),e([He({type:String,reflect:!0})],lt.prototype,"iconName",void 0),e([He({type:Object})],lt.prototype,"component",void 0),e([He({type:Number})],lt.prototype,"stepIndex",void 0),e([He({type:Boolean,reflect:!0})],lt.prototype,"active",void 0),e([He({type:Boolean,reflect:!0})],lt.prototype,"disabled",void 0),e([He({type:Boolean,reflect:!0})],lt.prototype,"completed",void 0),e([He({type:Boolean})],lt.prototype,"isClickable",void 0),e([He({type:String})],lt.prototype,"orientation",void 0),e([He({type:Boolean})],lt.prototype,"isFirstOfType",void 0),e([He({type:Boolean})],lt.prototype,"_isCompleted",void 0),at("sgds-stepper",et),at("sgds-step",lt)});
2280
2303
  //# sourceMappingURL=index.umd.min.js.map