@nysds/components 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/nysds.js CHANGED
@@ -1,5 +1,5 @@
1
- (function(_,C1){typeof exports=="object"&&typeof module<"u"?C1(exports):typeof define=="function"&&define.amd?define(["exports"],C1):(_=typeof globalThis<"u"?globalThis:_||self,C1(_.NYSDS={}))})(this,function(_){"use strict";/*!
2
- * New York State Design System (v1.2.0)
1
+ (function(g,f1){typeof exports=="object"&&typeof module<"u"?f1(exports):typeof define=="function"&&define.amd?define(["exports"],f1):(g=typeof globalThis<"u"?globalThis:g||self,f1(g.NYSDS={}))})(this,function(g){"use strict";/*!
2
+ * New York State Design System (v1.3.0)
3
3
  * Description: A design system for New York State's digital products.
4
4
  * Repository: https://github.com/its-hcd/nysds
5
5
  * License: MIT
@@ -7,29 +7,29 @@
7
7
  * @license
8
8
  * Copyright 2019 Google LLC
9
9
  * SPDX-License-Identifier: BSD-3-Clause
10
- */var ss,E1,A1,B,h1,d1,L1,y1,g,u1,s1,r1,p1;const C1=globalThis,m2=C1.ShadowRoot&&(C1.ShadyCSS===void 0||C1.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,x2=Symbol(),le=new WeakMap;let ce=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==x2)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(m2&&t===void 0){const s=e!==void 0&&e.length===1;s&&(t=le.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&le.set(e,t))}return t}toString(){return this.cssText}};const cs=o=>new ce(typeof o=="string"?o:o+"",void 0,x2),b=(o,...t)=>{const e=o.length===1?o[0]:t.reduce((s,r,i)=>s+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+o[i+1],o[0]);return new ce(e,o,x2)},hs=(o,t)=>{if(m2)o.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const e of t){const s=document.createElement("style"),r=C1.litNonce;r!==void 0&&s.setAttribute("nonce",r),s.textContent=e.cssText,o.appendChild(s)}},he=m2?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return cs(e)})(o):o;/**
10
+ */var ns,E1,A1,B,d1,y1,L1,u1,_,p1,s1,o1,C1;const f1=globalThis,xe=f1.ShadowRoot&&(f1.ShadyCSS===void 0||f1.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,we=Symbol(),d2=new WeakMap;let y2=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==we)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(xe&&t===void 0){const s=e!==void 0&&e.length===1;s&&(t=d2.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&d2.set(e,t))}return t}toString(){return this.cssText}};const ys=r=>new y2(typeof r=="string"?r:r+"",void 0,we),b=(r,...t)=>{const e=r.length===1?r[0]:t.reduce((s,o,i)=>s+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+r[i+1],r[0]);return new y2(e,r,we)},us=(r,t)=>{if(xe)r.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const e of t){const s=document.createElement("style"),o=f1.litNonce;o!==void 0&&s.setAttribute("nonce",o),s.textContent=e.cssText,r.appendChild(s)}},u2=xe?r=>r:r=>r instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return ys(e)})(r):r;/**
11
11
  * @license
12
12
  * Copyright 2017 Google LLC
13
13
  * SPDX-License-Identifier: BSD-3-Clause
14
- */const{is:ds,defineProperty:ys,getOwnPropertyDescriptor:us,getOwnPropertyNames:ps,getOwnPropertySymbols:Cs,getPrototypeOf:fs}=Object,f1=globalThis,de=f1.trustedTypes,vs=de?de.emptyScript:"",w2=f1.reactiveElementPolyfillSupport,ht=(o,t)=>o,Bt={toAttribute(o,t){switch(t){case Boolean:o=o?vs:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},k2=(o,t)=>!ds(o,t),ye={attribute:!0,type:String,converter:Bt,reflect:!1,hasChanged:k2};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),f1.litPropertyMetadata??(f1.litPropertyMetadata=new WeakMap);let W1=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=ye){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),r=this.getPropertyDescriptor(t,s,e);r!==void 0&&ys(this.prototype,t,r)}}static getPropertyDescriptor(t,e,s){const{get:r,set:i}=us(this.prototype,t)??{get(){return this[e]},set(n){this[e]=n}};return{get(){return r==null?void 0:r.call(this)},set(n){const a=r==null?void 0:r.call(this);i.call(this,n),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??ye}static _$Ei(){if(this.hasOwnProperty(ht("elementProperties")))return;const t=fs(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(ht("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(ht("properties"))){const e=this.properties,s=[...ps(e),...Cs(e)];for(const r of s)this.createProperty(r,e[r])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[s,r]of e)this.elementProperties.set(s,r)}this._$Eh=new Map;for(const[e,s]of this.elementProperties){const r=this._$Eu(e,s);r!==void 0&&this._$Eh.set(r,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const r of s)e.unshift(he(r))}else t!==void 0&&e.push(he(t));return e}static _$Eu(t,e){const s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach(e=>e(this))}addController(t){var e;(this._$EO??(this._$EO=new Set)).add(t),this.renderRoot!==void 0&&this.isConnected&&((e=t.hostConnected)==null||e.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return hs(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostConnected)==null?void 0:s.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostDisconnected)==null?void 0:s.call(e)})}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$EC(t,e){var i;const s=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,s);if(r!==void 0&&s.reflect===!0){const n=(((i=s.converter)==null?void 0:i.toAttribute)!==void 0?s.converter:Bt).toAttribute(e,s.type);this._$Em=t,n==null?this.removeAttribute(r):this.setAttribute(r,n),this._$Em=null}}_$AK(t,e){var i;const s=this.constructor,r=s._$Eh.get(t);if(r!==void 0&&this._$Em!==r){const n=s.getPropertyOptions(r),a=typeof n.converter=="function"?{fromAttribute:n.converter}:((i=n.converter)==null?void 0:i.fromAttribute)!==void 0?n.converter:Bt;this._$Em=r,this[r]=a.fromAttribute(e,n.type),this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){if(s??(s=this.constructor.getPropertyOptions(t)),!(s.hasChanged??k2)(this[t],e))return;this.P(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,e,s){this._$AL.has(t)||this._$AL.set(t,e),s.reflect===!0&&this._$Em!==t&&(this._$Ej??(this._$Ej=new Set)).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var s;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[i,n]of this._$Ep)this[i]=n;this._$Ep=void 0}const r=this.constructor.elementProperties;if(r.size>0)for(const[i,n]of r)n.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.P(i,this[i],n)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(s=this._$EO)==null||s.forEach(r=>{var i;return(i=r.hostUpdate)==null?void 0:i.call(r)}),this.update(e)):this._$EU()}catch(r){throw t=!1,this._$EU(),r}t&&this._$AE(e)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(s=>{var r;return(r=s.hostUpdated)==null?void 0:r.call(s)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&(this._$Ej=this._$Ej.forEach(e=>this._$EC(e,this[e]))),this._$EU()}updated(t){}firstUpdated(t){}};W1.elementStyles=[],W1.shadowRootOptions={mode:"open"},W1[ht("elementProperties")]=new Map,W1[ht("finalized")]=new Map,w2==null||w2({ReactiveElement:W1}),(f1.reactiveElementVersions??(f1.reactiveElementVersions=[])).push("2.0.4");/**
14
+ */const{is:ps,defineProperty:Cs,getOwnPropertyDescriptor:fs,getOwnPropertyNames:vs,getOwnPropertySymbols:gs,getPrototypeOf:_s}=Object,v1=globalThis,p2=v1.trustedTypes,bs=p2?p2.emptyScript:"",ke=v1.reactiveElementPolyfillSupport,dt=(r,t)=>r,Rt={toAttribute(r,t){switch(t){case Boolean:r=r?bs:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,t){let e=r;switch(t){case Boolean:e=r!==null;break;case Number:e=r===null?null:Number(r);break;case Object:case Array:try{e=JSON.parse(r)}catch{e=null}}return e}},$e=(r,t)=>!ps(r,t),C2={attribute:!0,type:String,converter:Rt,reflect:!1,hasChanged:$e};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),v1.litPropertyMetadata??(v1.litPropertyMetadata=new WeakMap);let Y1=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=C2){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),o=this.getPropertyDescriptor(t,s,e);o!==void 0&&Cs(this.prototype,t,o)}}static getPropertyDescriptor(t,e,s){const{get:o,set:i}=fs(this.prototype,t)??{get(){return this[e]},set(n){this[e]=n}};return{get(){return o==null?void 0:o.call(this)},set(n){const a=o==null?void 0:o.call(this);i.call(this,n),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??C2}static _$Ei(){if(this.hasOwnProperty(dt("elementProperties")))return;const t=_s(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(dt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(dt("properties"))){const e=this.properties,s=[...vs(e),...gs(e)];for(const o of s)this.createProperty(o,e[o])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[s,o]of e)this.elementProperties.set(s,o)}this._$Eh=new Map;for(const[e,s]of this.elementProperties){const o=this._$Eu(e,s);o!==void 0&&this._$Eh.set(o,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const o of s)e.unshift(u2(o))}else t!==void 0&&e.push(u2(t));return e}static _$Eu(t,e){const s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach(e=>e(this))}addController(t){var e;(this._$EO??(this._$EO=new Set)).add(t),this.renderRoot!==void 0&&this.isConnected&&((e=t.hostConnected)==null||e.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return us(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostConnected)==null?void 0:s.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostDisconnected)==null?void 0:s.call(e)})}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$EC(t,e){var i;const s=this.constructor.elementProperties.get(t),o=this.constructor._$Eu(t,s);if(o!==void 0&&s.reflect===!0){const n=(((i=s.converter)==null?void 0:i.toAttribute)!==void 0?s.converter:Rt).toAttribute(e,s.type);this._$Em=t,n==null?this.removeAttribute(o):this.setAttribute(o,n),this._$Em=null}}_$AK(t,e){var i;const s=this.constructor,o=s._$Eh.get(t);if(o!==void 0&&this._$Em!==o){const n=s.getPropertyOptions(o),a=typeof n.converter=="function"?{fromAttribute:n.converter}:((i=n.converter)==null?void 0:i.fromAttribute)!==void 0?n.converter:Rt;this._$Em=o,this[o]=a.fromAttribute(e,n.type),this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){if(s??(s=this.constructor.getPropertyOptions(t)),!(s.hasChanged??$e)(this[t],e))return;this.P(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,e,s){this._$AL.has(t)||this._$AL.set(t,e),s.reflect===!0&&this._$Em!==t&&(this._$Ej??(this._$Ej=new Set)).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var s;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[i,n]of this._$Ep)this[i]=n;this._$Ep=void 0}const o=this.constructor.elementProperties;if(o.size>0)for(const[i,n]of o)n.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.P(i,this[i],n)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(s=this._$EO)==null||s.forEach(o=>{var i;return(i=o.hostUpdate)==null?void 0:i.call(o)}),this.update(e)):this._$EU()}catch(o){throw t=!1,this._$EU(),o}t&&this._$AE(e)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(s=>{var o;return(o=s.hostUpdated)==null?void 0:o.call(s)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&(this._$Ej=this._$Ej.forEach(e=>this._$EC(e,this[e]))),this._$EU()}updated(t){}firstUpdated(t){}};Y1.elementStyles=[],Y1.shadowRootOptions={mode:"open"},Y1[dt("elementProperties")]=new Map,Y1[dt("finalized")]=new Map,ke==null||ke({ReactiveElement:Y1}),(v1.reactiveElementVersions??(v1.reactiveElementVersions=[])).push("2.0.4");/**
15
15
  * @license
16
16
  * Copyright 2017 Google LLC
17
17
  * SPDX-License-Identifier: BSD-3-Clause
18
- */const dt=globalThis,Rt=dt.trustedTypes,ue=Rt?Rt.createPolicy("lit-html",{createHTML:o=>o}):void 0,pe="$lit$",v1=`lit$${Math.random().toFixed(9).slice(2)}$`,Ce="?"+v1,gs=`<${Ce}>`,M1=document,yt=()=>M1.createComment(""),ut=o=>o===null||typeof o!="object"&&typeof o!="function",$2=Array.isArray,_s=o=>$2(o)||typeof(o==null?void 0:o[Symbol.iterator])=="function",S2=`[
19
- \f\r]`,pt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,fe=/-->/g,ve=/>/g,D1=RegExp(`>|${S2}(?:([^\\s"'>=/]+)(${S2}*=${S2}*(?:[^
20
- \f\r"'\`<>=]|("|')|))|$)`,"g"),ge=/'/g,_e=/"/g,be=/^(?:script|style|textarea|title)$/i,bs=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),d=bs(1),Y1=Symbol.for("lit-noChange"),S=Symbol.for("lit-nothing"),me=new WeakMap,H1=M1.createTreeWalker(M1,129);function xe(o,t){if(!$2(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return ue!==void 0?ue.createHTML(t):t}const ms=(o,t)=>{const e=o.length-1,s=[];let r,i=t===2?"<svg>":t===3?"<math>":"",n=pt;for(let a=0;a<e;a++){const l=o[a];let u,y,h=-1,p=0;for(;p<l.length&&(n.lastIndex=p,y=n.exec(l),y!==null);)p=n.lastIndex,n===pt?y[1]==="!--"?n=fe:y[1]!==void 0?n=ve:y[2]!==void 0?(be.test(y[2])&&(r=RegExp("</"+y[2],"g")),n=D1):y[3]!==void 0&&(n=D1):n===D1?y[0]===">"?(n=r??pt,h=-1):y[1]===void 0?h=-2:(h=n.lastIndex-y[2].length,u=y[1],n=y[3]===void 0?D1:y[3]==='"'?_e:ge):n===_e||n===ge?n=D1:n===fe||n===ve?n=pt:(n=D1,r=void 0);const C=n===D1&&o[a+1].startsWith("/>")?" ":"";i+=n===pt?l+gs:h>=0?(s.push(u),l.slice(0,h)+pe+l.slice(h)+v1+C):l+v1+(h===-2?a:C)}return[xe(o,i+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]};let E2=class rs{constructor({strings:t,_$litType$:e},s){let r;this.parts=[];let i=0,n=0;const a=t.length-1,l=this.parts,[u,y]=ms(t,e);if(this.el=rs.createElement(u,s),H1.currentNode=this.el.content,e===2||e===3){const h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(r=H1.nextNode())!==null&&l.length<a;){if(r.nodeType===1){if(r.hasAttributes())for(const h of r.getAttributeNames())if(h.endsWith(pe)){const p=y[n++],C=r.getAttribute(h).split(v1),M=/([.?@])?(.*)/.exec(p);l.push({type:1,index:i,name:M[2],strings:C,ctor:M[1]==="."?ws:M[1]==="?"?ks:M[1]==="@"?$s:Nt}),r.removeAttribute(h)}else h.startsWith(v1)&&(l.push({type:6,index:i}),r.removeAttribute(h));if(be.test(r.tagName)){const h=r.textContent.split(v1),p=h.length-1;if(p>0){r.textContent=Rt?Rt.emptyScript:"";for(let C=0;C<p;C++)r.append(h[C],yt()),H1.nextNode(),l.push({type:2,index:++i});r.append(h[p],yt())}}}else if(r.nodeType===8)if(r.data===Ce)l.push({type:2,index:i});else{let h=-1;for(;(h=r.data.indexOf(v1,h+1))!==-1;)l.push({type:7,index:i}),h+=v1.length-1}i++}}static createElement(t,e){const s=M1.createElement("template");return s.innerHTML=t,s}};function K1(o,t,e=o,s){var n,a;if(t===Y1)return t;let r=s!==void 0?(n=e._$Co)==null?void 0:n[s]:e._$Cl;const i=ut(t)?void 0:t._$litDirective$;return(r==null?void 0:r.constructor)!==i&&((a=r==null?void 0:r._$AO)==null||a.call(r,!1),i===void 0?r=void 0:(r=new i(o),r._$AT(o,e,s)),s!==void 0?(e._$Co??(e._$Co=[]))[s]=r:e._$Cl=r),r!==void 0&&(t=K1(o,r._$AS(o,t.values),r,s)),t}let xs=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:s}=this._$AD,r=((t==null?void 0:t.creationScope)??M1).importNode(e,!0);H1.currentNode=r;let i=H1.nextNode(),n=0,a=0,l=s[0];for(;l!==void 0;){if(n===l.index){let u;l.type===2?u=new A2(i,i.nextSibling,this,t):l.type===1?u=new l.ctor(i,l.name,l.strings,this,t):l.type===6&&(u=new Ss(i,this,t)),this._$AV.push(u),l=s[++a]}n!==(l==null?void 0:l.index)&&(i=H1.nextNode(),n++)}return H1.currentNode=M1,r}p(t){let e=0;for(const s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}},A2=class os{get _$AU(){var t;return((t=this._$AM)==null?void 0:t._$AU)??this._$Cv}constructor(t,e,s,r){this.type=2,this._$AH=S,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=r,this._$Cv=(r==null?void 0:r.isConnected)??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=K1(this,t,e),ut(t)?t===S||t==null||t===""?(this._$AH!==S&&this._$AR(),this._$AH=S):t!==this._$AH&&t!==Y1&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):_s(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==S&&ut(this._$AH)?this._$AA.nextSibling.data=t:this.T(M1.createTextNode(t)),this._$AH=t}$(t){var i;const{values:e,_$litType$:s}=t,r=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=E2.createElement(xe(s.h,s.h[0]),this.options)),s);if(((i=this._$AH)==null?void 0:i._$AD)===r)this._$AH.p(e);else{const n=new xs(r,this),a=n.u(this.options);n.p(e),this.T(a),this._$AH=n}}_$AC(t){let e=me.get(t.strings);return e===void 0&&me.set(t.strings,e=new E2(t)),e}k(t){$2(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,r=0;for(const i of t)r===e.length?e.push(s=new os(this.O(yt()),this.O(yt()),this,this.options)):s=e[r],s._$AI(i),r++;r<e.length&&(this._$AR(s&&s._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){var s;for((s=this._$AP)==null?void 0:s.call(this,!1,!0,e);t&&t!==this._$AB;){const r=t.nextSibling;t.remove(),t=r}}setConnected(t){var e;this._$AM===void 0&&(this._$Cv=t,(e=this._$AP)==null||e.call(this,t))}},Nt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,r,i){this.type=1,this._$AH=S,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=S}_$AI(t,e=this,s,r){const i=this.strings;let n=!1;if(i===void 0)t=K1(this,t,e,0),n=!ut(t)||t!==this._$AH&&t!==Y1,n&&(this._$AH=t);else{const a=t;let l,u;for(t=i[0],l=0;l<i.length-1;l++)u=K1(this,a[s+l],e,l),u===Y1&&(u=this._$AH[l]),n||(n=!ut(u)||u!==this._$AH[l]),u===S?t=S:t!==S&&(t+=(u??"")+i[l+1]),this._$AH[l]=u}n&&!r&&this.j(t)}j(t){t===S?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ws=class extends Nt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===S?void 0:t}},ks=class extends Nt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==S)}},$s=class extends Nt{constructor(t,e,s,r,i){super(t,e,s,r,i),this.type=5}_$AI(t,e=this){if((t=K1(this,t,e,0)??S)===Y1)return;const s=this._$AH,r=t===S&&s!==S||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,i=t!==S&&(s===S||r);r&&this.element.removeEventListener(this.name,this,s),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e;typeof this._$AH=="function"?this._$AH.call(((e=this.options)==null?void 0:e.host)??this.element,t):this._$AH.handleEvent(t)}},Ss=class{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){K1(this,t)}};const L2=dt.litHtmlPolyfillSupport;L2==null||L2(E2,A2),(dt.litHtmlVersions??(dt.litHtmlVersions=[])).push("3.2.1");const Es=(o,t,e)=>{const s=(e==null?void 0:e.renderBefore)??t;let r=s._$litPart$;if(r===void 0){const i=(e==null?void 0:e.renderBefore)??null;s._$litPart$=r=new A2(t.insertBefore(yt(),i),i,void 0,e??{})}return r._$AI(o),r};/**
18
+ */const yt=globalThis,Nt=yt.trustedTypes,f2=Nt?Nt.createPolicy("lit-html",{createHTML:r=>r}):void 0,v2="$lit$",g1=`lit$${Math.random().toFixed(9).slice(2)}$`,g2="?"+g1,ms=`<${g2}>`,M1=document,ut=()=>M1.createComment(""),pt=r=>r===null||typeof r!="object"&&typeof r!="function",Se=Array.isArray,xs=r=>Se(r)||typeof(r==null?void 0:r[Symbol.iterator])=="function",Ee=`[
19
+ \f\r]`,Ct=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_2=/-->/g,b2=/>/g,D1=RegExp(`>|${Ee}(?:([^\\s"'>=/]+)(${Ee}*=${Ee}*(?:[^
20
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),m2=/'/g,x2=/"/g,w2=/^(?:script|style|textarea|title)$/i,ws=r=>(t,...e)=>({_$litType$:r,strings:t,values:e}),d=ws(1),K1=Symbol.for("lit-noChange"),L=Symbol.for("lit-nothing"),k2=new WeakMap,H1=M1.createTreeWalker(M1,129);function $2(r,t){if(!Se(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return f2!==void 0?f2.createHTML(t):t}const ks=(r,t)=>{const e=r.length-1,s=[];let o,i=t===2?"<svg>":t===3?"<math>":"",n=Ct;for(let a=0;a<e;a++){const l=r[a];let u,y,h=-1,p=0;for(;p<l.length&&(n.lastIndex=p,y=n.exec(l),y!==null);)p=n.lastIndex,n===Ct?y[1]==="!--"?n=_2:y[1]!==void 0?n=b2:y[2]!==void 0?(w2.test(y[2])&&(o=RegExp("</"+y[2],"g")),n=D1):y[3]!==void 0&&(n=D1):n===D1?y[0]===">"?(n=o??Ct,h=-1):y[1]===void 0?h=-2:(h=n.lastIndex-y[2].length,u=y[1],n=y[3]===void 0?D1:y[3]==='"'?x2:m2):n===x2||n===m2?n=D1:n===_2||n===b2?n=Ct:(n=D1,o=void 0);const C=n===D1&&r[a+1].startsWith("/>")?" ":"";i+=n===Ct?l+ms:h>=0?(s.push(u),l.slice(0,h)+v2+l.slice(h)+g1+C):l+g1+(h===-2?a:C)}return[$2(r,i+(r[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]};let Ae=class is{constructor({strings:t,_$litType$:e},s){let o;this.parts=[];let i=0,n=0;const a=t.length-1,l=this.parts,[u,y]=ks(t,e);if(this.el=is.createElement(u,s),H1.currentNode=this.el.content,e===2||e===3){const h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(o=H1.nextNode())!==null&&l.length<a;){if(o.nodeType===1){if(o.hasAttributes())for(const h of o.getAttributeNames())if(h.endsWith(v2)){const p=y[n++],C=o.getAttribute(h).split(g1),Z=/([.?@])?(.*)/.exec(p);l.push({type:1,index:i,name:Z[2],strings:C,ctor:Z[1]==="."?Ss:Z[1]==="?"?Es:Z[1]==="@"?As:qt}),o.removeAttribute(h)}else h.startsWith(g1)&&(l.push({type:6,index:i}),o.removeAttribute(h));if(w2.test(o.tagName)){const h=o.textContent.split(g1),p=h.length-1;if(p>0){o.textContent=Nt?Nt.emptyScript:"";for(let C=0;C<p;C++)o.append(h[C],ut()),H1.nextNode(),l.push({type:2,index:++i});o.append(h[p],ut())}}}else if(o.nodeType===8)if(o.data===g2)l.push({type:2,index:i});else{let h=-1;for(;(h=o.data.indexOf(g1,h+1))!==-1;)l.push({type:7,index:i}),h+=g1.length-1}i++}}static createElement(t,e){const s=M1.createElement("template");return s.innerHTML=t,s}};function J1(r,t,e=r,s){var n,a;if(t===K1)return t;let o=s!==void 0?(n=e._$Co)==null?void 0:n[s]:e._$Cl;const i=pt(t)?void 0:t._$litDirective$;return(o==null?void 0:o.constructor)!==i&&((a=o==null?void 0:o._$AO)==null||a.call(o,!1),i===void 0?o=void 0:(o=new i(r),o._$AT(r,e,s)),s!==void 0?(e._$Co??(e._$Co=[]))[s]=o:e._$Cl=o),o!==void 0&&(t=J1(r,o._$AS(r,t.values),o,s)),t}let $s=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:s}=this._$AD,o=((t==null?void 0:t.creationScope)??M1).importNode(e,!0);H1.currentNode=o;let i=H1.nextNode(),n=0,a=0,l=s[0];for(;l!==void 0;){if(n===l.index){let u;l.type===2?u=new Le(i,i.nextSibling,this,t):l.type===1?u=new l.ctor(i,l.name,l.strings,this,t):l.type===6&&(u=new Ls(i,this,t)),this._$AV.push(u),l=s[++a]}n!==(l==null?void 0:l.index)&&(i=H1.nextNode(),n++)}return H1.currentNode=M1,o}p(t){let e=0;for(const s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}},Le=class as{get _$AU(){var t;return((t=this._$AM)==null?void 0:t._$AU)??this._$Cv}constructor(t,e,s,o){this.type=2,this._$AH=L,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=o,this._$Cv=(o==null?void 0:o.isConnected)??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=J1(this,t,e),pt(t)?t===L||t==null||t===""?(this._$AH!==L&&this._$AR(),this._$AH=L):t!==this._$AH&&t!==K1&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):xs(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==L&&pt(this._$AH)?this._$AA.nextSibling.data=t:this.T(M1.createTextNode(t)),this._$AH=t}$(t){var i;const{values:e,_$litType$:s}=t,o=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=Ae.createElement($2(s.h,s.h[0]),this.options)),s);if(((i=this._$AH)==null?void 0:i._$AD)===o)this._$AH.p(e);else{const n=new $s(o,this),a=n.u(this.options);n.p(e),this.T(a),this._$AH=n}}_$AC(t){let e=k2.get(t.strings);return e===void 0&&k2.set(t.strings,e=new Ae(t)),e}k(t){Se(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,o=0;for(const i of t)o===e.length?e.push(s=new as(this.O(ut()),this.O(ut()),this,this.options)):s=e[o],s._$AI(i),o++;o<e.length&&(this._$AR(s&&s._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var s;for((s=this._$AP)==null?void 0:s.call(this,!1,!0,e);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){var e;this._$AM===void 0&&(this._$Cv=t,(e=this._$AP)==null||e.call(this,t))}},qt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,o,i){this.type=1,this._$AH=L,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=i,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=L}_$AI(t,e=this,s,o){const i=this.strings;let n=!1;if(i===void 0)t=J1(this,t,e,0),n=!pt(t)||t!==this._$AH&&t!==K1,n&&(this._$AH=t);else{const a=t;let l,u;for(t=i[0],l=0;l<i.length-1;l++)u=J1(this,a[s+l],e,l),u===K1&&(u=this._$AH[l]),n||(n=!pt(u)||u!==this._$AH[l]),u===L?t=L:t!==L&&(t+=(u??"")+i[l+1]),this._$AH[l]=u}n&&!o&&this.j(t)}j(t){t===L?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Ss=class extends qt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===L?void 0:t}},Es=class extends qt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==L)}},As=class extends qt{constructor(t,e,s,o,i){super(t,e,s,o,i),this.type=5}_$AI(t,e=this){if((t=J1(this,t,e,0)??L)===K1)return;const s=this._$AH,o=t===L&&s!==L||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,i=t!==L&&(s===L||o);o&&this.element.removeEventListener(this.name,this,s),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e;typeof this._$AH=="function"?this._$AH.call(((e=this.options)==null?void 0:e.host)??this.element,t):this._$AH.handleEvent(t)}},Ls=class{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){J1(this,t)}};const Me=yt.litHtmlPolyfillSupport;Me==null||Me(Ae,Le),(yt.litHtmlVersions??(yt.litHtmlVersions=[])).push("3.2.1");const Ms=(r,t,e)=>{const s=(e==null?void 0:e.renderBefore)??t;let o=s._$litPart$;if(o===void 0){const i=(e==null?void 0:e.renderBefore)??null;s._$litPart$=o=new Le(t.insertBefore(ut(),i),i,void 0,e??{})}return o._$AI(r),o};/**
21
21
  * @license
22
22
  * Copyright 2017 Google LLC
23
23
  * SPDX-License-Identifier: BSD-3-Clause
24
- */let f=class extends W1{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e;const t=super.createRenderRoot();return(e=this.renderOptions).renderBefore??(e.renderBefore=t.firstChild),t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Es(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)==null||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)==null||t.setConnected(!1)}render(){return Y1}};f._$litElement$=!0,f.finalized=!0,(ss=globalThis.litElementHydrateSupport)==null||ss.call(globalThis,{LitElement:f});const M2=globalThis.litElementPolyfillSupport;M2==null||M2({LitElement:f}),(globalThis.litElementVersions??(globalThis.litElementVersions=[])).push("4.1.1");/**
24
+ */let f=class extends Y1{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e;const t=super.createRenderRoot();return(e=this.renderOptions).renderBefore??(e.renderBefore=t.firstChild),t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Ms(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)==null||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)==null||t.setConnected(!1)}render(){return K1}};f._$litElement$=!0,f.finalized=!0,(ns=globalThis.litElementHydrateSupport)==null||ns.call(globalThis,{LitElement:f});const De=globalThis.litElementPolyfillSupport;De==null||De({LitElement:f}),(globalThis.litElementVersions??(globalThis.litElementVersions=[])).push("4.1.1");/**
25
25
  * @license
26
26
  * Copyright 2017 Google LLC
27
27
  * SPDX-License-Identifier: BSD-3-Clause
28
- */const As={attribute:!0,type:String,converter:Bt,reflect:!1,hasChanged:k2},Ls=(o=As,t,e)=>{const{kind:s,metadata:r}=e;let i=globalThis.litPropertyMetadata.get(r);if(i===void 0&&globalThis.litPropertyMetadata.set(r,i=new Map),i.set(e.name,o),s==="accessor"){const{name:n}=e;return{set(a){const l=t.get.call(this);t.set.call(this,a),this.requestUpdate(n,l,o)},init(a){return a!==void 0&&this.P(n,void 0,o),a}}}if(s==="setter"){const{name:n}=e;return function(a){const l=this[n];t.call(this,a),this.requestUpdate(n,l,o)}}throw Error("Unsupported decorator location: "+s)};function c(o){return(t,e)=>typeof e=="object"?Ls(o,t,e):((s,r,i)=>{const n=r.hasOwnProperty(i);return r.constructor.createProperty(i,n?{...s,wrapped:!0}:s),n?Object.getOwnPropertyDescriptor(r,i):void 0})(o,t,e)}/**
28
+ */const Ds={attribute:!0,type:String,converter:Rt,reflect:!1,hasChanged:$e},Hs=(r=Ds,t,e)=>{const{kind:s,metadata:o}=e;let i=globalThis.litPropertyMetadata.get(o);if(i===void 0&&globalThis.litPropertyMetadata.set(o,i=new Map),i.set(e.name,r),s==="accessor"){const{name:n}=e;return{set(a){const l=t.get.call(this);t.set.call(this,a),this.requestUpdate(n,l,r)},init(a){return a!==void 0&&this.P(n,void 0,r),a}}}if(s==="setter"){const{name:n}=e;return function(a){const l=this[n];t.call(this,a),this.requestUpdate(n,l,r)}}throw Error("Unsupported decorator location: "+s)};function c(r){return(t,e)=>typeof e=="object"?Hs(r,t,e):((s,o,i)=>{const n=o.hasOwnProperty(i);return o.constructor.createProperty(i,n?{...s,wrapped:!0}:s),n?Object.getOwnPropertyDescriptor(o,i):void 0})(r,t,e)}/**
29
29
  * @license
30
30
  * Copyright 2017 Google LLC
31
31
  * SPDX-License-Identifier: BSD-3-Clause
32
- */function g1(o){return c({...o,state:!0,attribute:!1})}const Ms=b`
32
+ */function l1(r){return c({...r,state:!0,attribute:!1})}const Vs=b`
33
33
  :host {
34
34
  /* Global Alert Styles */
35
35
  --_nys-alert-border-width: var(--nys-border-width-lg, 4px);
@@ -186,14 +186,6 @@
186
186
  flex-wrap: wrap;
187
187
  }
188
188
 
189
- /* Dismiss Button */
190
- #dismiss-btn {
191
- --_nys-button-width: var(--nys-size-400, 32px);
192
- --_nys-button-height: var(--nys-size-400, 32px);
193
- --_nys-button-padding-y: 0;
194
- --_nys-button-padding-x: 0;
195
- }
196
-
197
189
  /* Alert Types */
198
190
  :host([type="info"]) {
199
191
  --_nys-alert-color-border-left: var(
@@ -271,7 +263,7 @@
271
263
  * @license
272
264
  * Copyright 2018 Google LLC
273
265
  * SPDX-License-Identifier: BSD-3-Clause
274
- */const v=o=>o??S;/*!
266
+ */const v=r=>r??L;/*!
275
267
  * ▒█▄░▒█ ▒█░░▒█ ▒█▀▀▀█ ▒█▀▀▄ ▒█▀▀▀█
276
268
  * ▒█▒█▒█ ▒█▄▄▄█ ░▀▀▀▄▄ ▒█░▒█ ░▀▀▀▄▄
277
269
  * ▒█░░▀█ ░░▒█░░ ▒█▄▄▄█ ▒█▄▄▀ ▒█▄▄▄█
@@ -284,15 +276,15 @@
284
276
  * @license
285
277
  * Copyright 2019 Google LLC
286
278
  * SPDX-License-Identifier: BSD-3-Clause
287
- */const qt=globalThis,D2=qt.ShadowRoot&&(qt.ShadyCSS===void 0||qt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,we=Symbol(),ke=new WeakMap;let Ds=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==we)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(D2&&t===void 0){const s=e!==void 0&&e.length===1;s&&(t=ke.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&ke.set(e,t))}return t}toString(){return this.cssText}};const Hs=o=>new Ds(typeof o=="string"?o:o+"",void 0,we),Vs=(o,t)=>{if(D2)o.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const e of t){const s=document.createElement("style"),r=qt.litNonce;r!==void 0&&s.setAttribute("nonce",r),s.textContent=e.cssText,o.appendChild(s)}},$e=D2?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return Hs(e)})(o):o;/**
279
+ */const jt=globalThis,He=jt.ShadowRoot&&(jt.ShadyCSS===void 0||jt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,S2=Symbol(),E2=new WeakMap;let Us=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==S2)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(He&&t===void 0){const s=e!==void 0&&e.length===1;s&&(t=E2.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&E2.set(e,t))}return t}toString(){return this.cssText}};const zs=r=>new Us(typeof r=="string"?r:r+"",void 0,S2),Ps=(r,t)=>{if(He)r.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const e of t){const s=document.createElement("style"),o=jt.litNonce;o!==void 0&&s.setAttribute("nonce",o),s.textContent=e.cssText,r.appendChild(s)}},A2=He?r=>r:r=>r instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return zs(e)})(r):r;/**
288
280
  * @license
289
281
  * Copyright 2017 Google LLC
290
282
  * SPDX-License-Identifier: BSD-3-Clause
291
- */const{is:Us,defineProperty:zs,getOwnPropertyDescriptor:Ps,getOwnPropertyNames:Os,getOwnPropertySymbols:Zs,getPrototypeOf:Is}=Object,J1=globalThis,Se=J1.trustedTypes,Ts=Se?Se.emptyScript:"",Ee=J1.reactiveElementPolyfillSupport,Ct=(o,t)=>o,jt={toAttribute(o,t){switch(t){case Boolean:o=o?Ts:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},H2=(o,t)=>!Us(o,t),Ae={attribute:!0,type:String,converter:jt,reflect:!1,hasChanged:H2};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),J1.litPropertyMetadata??(J1.litPropertyMetadata=new WeakMap);let ft=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Ae){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),r=this.getPropertyDescriptor(t,s,e);r!==void 0&&zs(this.prototype,t,r)}}static getPropertyDescriptor(t,e,s){const{get:r,set:i}=Ps(this.prototype,t)??{get(){return this[e]},set(n){this[e]=n}};return{get(){return r==null?void 0:r.call(this)},set(n){const a=r==null?void 0:r.call(this);i.call(this,n),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Ae}static _$Ei(){if(this.hasOwnProperty(Ct("elementProperties")))return;const t=Is(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Ct("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ct("properties"))){const e=this.properties,s=[...Os(e),...Zs(e)];for(const r of s)this.createProperty(r,e[r])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[s,r]of e)this.elementProperties.set(s,r)}this._$Eh=new Map;for(const[e,s]of this.elementProperties){const r=this._$Eu(e,s);r!==void 0&&this._$Eh.set(r,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const r of s)e.unshift($e(r))}else t!==void 0&&e.push($e(t));return e}static _$Eu(t,e){const s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach(e=>e(this))}addController(t){var e;(this._$EO??(this._$EO=new Set)).add(t),this.renderRoot!==void 0&&this.isConnected&&((e=t.hostConnected)==null||e.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Vs(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostConnected)==null?void 0:s.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostDisconnected)==null?void 0:s.call(e)})}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$EC(t,e){var s;const r=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,r);if(i!==void 0&&r.reflect===!0){const n=(((s=r.converter)==null?void 0:s.toAttribute)!==void 0?r.converter:jt).toAttribute(e,r.type);this._$Em=t,n==null?this.removeAttribute(i):this.setAttribute(i,n),this._$Em=null}}_$AK(t,e){var s;const r=this.constructor,i=r._$Eh.get(t);if(i!==void 0&&this._$Em!==i){const n=r.getPropertyOptions(i),a=typeof n.converter=="function"?{fromAttribute:n.converter}:((s=n.converter)==null?void 0:s.fromAttribute)!==void 0?n.converter:jt;this._$Em=i,this[i]=a.fromAttribute(e,n.type),this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){if(s??(s=this.constructor.getPropertyOptions(t)),!(s.hasChanged??H2)(this[t],e))return;this.P(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,e,s){this._$AL.has(t)||this._$AL.set(t,e),s.reflect===!0&&this._$Em!==t&&(this._$Ej??(this._$Ej=new Set)).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[i,n]of this._$Ep)this[i]=n;this._$Ep=void 0}const r=this.constructor.elementProperties;if(r.size>0)for(const[i,n]of r)n.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.P(i,this[i],n)}let e=!1;const s=this._$AL;try{e=this.shouldUpdate(s),e?(this.willUpdate(s),(t=this._$EO)==null||t.forEach(r=>{var i;return(i=r.hostUpdate)==null?void 0:i.call(r)}),this.update(s)):this._$EU()}catch(r){throw e=!1,this._$EU(),r}e&&this._$AE(s)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(s=>{var r;return(r=s.hostUpdated)==null?void 0:r.call(s)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&(this._$Ej=this._$Ej.forEach(e=>this._$EC(e,this[e]))),this._$EU()}updated(t){}firstUpdated(t){}};ft.elementStyles=[],ft.shadowRootOptions={mode:"open"},ft[Ct("elementProperties")]=new Map,ft[Ct("finalized")]=new Map,Ee==null||Ee({ReactiveElement:ft}),(J1.reactiveElementVersions??(J1.reactiveElementVersions=[])).push("2.0.4");/**
283
+ */const{is:Os,defineProperty:Zs,getOwnPropertyDescriptor:Is,getOwnPropertyNames:Ts,getOwnPropertySymbols:Bs,getPrototypeOf:Rs}=Object,X1=globalThis,L2=X1.trustedTypes,Ns=L2?L2.emptyScript:"",M2=X1.reactiveElementPolyfillSupport,ft=(r,t)=>r,Ft={toAttribute(r,t){switch(t){case Boolean:r=r?Ns:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,t){let e=r;switch(t){case Boolean:e=r!==null;break;case Number:e=r===null?null:Number(r);break;case Object:case Array:try{e=JSON.parse(r)}catch{e=null}}return e}},Ve=(r,t)=>!Os(r,t),D2={attribute:!0,type:String,converter:Ft,reflect:!1,hasChanged:Ve};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),X1.litPropertyMetadata??(X1.litPropertyMetadata=new WeakMap);let vt=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=D2){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),o=this.getPropertyDescriptor(t,s,e);o!==void 0&&Zs(this.prototype,t,o)}}static getPropertyDescriptor(t,e,s){const{get:o,set:i}=Is(this.prototype,t)??{get(){return this[e]},set(n){this[e]=n}};return{get(){return o==null?void 0:o.call(this)},set(n){const a=o==null?void 0:o.call(this);i.call(this,n),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??D2}static _$Ei(){if(this.hasOwnProperty(ft("elementProperties")))return;const t=Rs(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(ft("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(ft("properties"))){const e=this.properties,s=[...Ts(e),...Bs(e)];for(const o of s)this.createProperty(o,e[o])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[s,o]of e)this.elementProperties.set(s,o)}this._$Eh=new Map;for(const[e,s]of this.elementProperties){const o=this._$Eu(e,s);o!==void 0&&this._$Eh.set(o,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const o of s)e.unshift(A2(o))}else t!==void 0&&e.push(A2(t));return e}static _$Eu(t,e){const s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach(e=>e(this))}addController(t){var e;(this._$EO??(this._$EO=new Set)).add(t),this.renderRoot!==void 0&&this.isConnected&&((e=t.hostConnected)==null||e.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Ps(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostConnected)==null?void 0:s.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostDisconnected)==null?void 0:s.call(e)})}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$EC(t,e){var s;const o=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,o);if(i!==void 0&&o.reflect===!0){const n=(((s=o.converter)==null?void 0:s.toAttribute)!==void 0?o.converter:Ft).toAttribute(e,o.type);this._$Em=t,n==null?this.removeAttribute(i):this.setAttribute(i,n),this._$Em=null}}_$AK(t,e){var s;const o=this.constructor,i=o._$Eh.get(t);if(i!==void 0&&this._$Em!==i){const n=o.getPropertyOptions(i),a=typeof n.converter=="function"?{fromAttribute:n.converter}:((s=n.converter)==null?void 0:s.fromAttribute)!==void 0?n.converter:Ft;this._$Em=i,this[i]=a.fromAttribute(e,n.type),this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){if(s??(s=this.constructor.getPropertyOptions(t)),!(s.hasChanged??Ve)(this[t],e))return;this.P(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,e,s){this._$AL.has(t)||this._$AL.set(t,e),s.reflect===!0&&this._$Em!==t&&(this._$Ej??(this._$Ej=new Set)).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[i,n]of this._$Ep)this[i]=n;this._$Ep=void 0}const o=this.constructor.elementProperties;if(o.size>0)for(const[i,n]of o)n.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.P(i,this[i],n)}let e=!1;const s=this._$AL;try{e=this.shouldUpdate(s),e?(this.willUpdate(s),(t=this._$EO)==null||t.forEach(o=>{var i;return(i=o.hostUpdate)==null?void 0:i.call(o)}),this.update(s)):this._$EU()}catch(o){throw e=!1,this._$EU(),o}e&&this._$AE(s)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(s=>{var o;return(o=s.hostUpdated)==null?void 0:o.call(s)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&(this._$Ej=this._$Ej.forEach(e=>this._$EC(e,this[e]))),this._$EU()}updated(t){}firstUpdated(t){}};vt.elementStyles=[],vt.shadowRootOptions={mode:"open"},vt[ft("elementProperties")]=new Map,vt[ft("finalized")]=new Map,M2==null||M2({ReactiveElement:vt}),(X1.reactiveElementVersions??(X1.reactiveElementVersions=[])).push("2.0.4");/**
292
284
  * @license
293
285
  * Copyright 2017 Google LLC
294
286
  * SPDX-License-Identifier: BSD-3-Clause
295
- */const Bs={attribute:!0,type:String,converter:jt,reflect:!1,hasChanged:H2},Rs=(o=Bs,t,e)=>{const{kind:s,metadata:r}=e;let i=globalThis.litPropertyMetadata.get(r);if(i===void 0&&globalThis.litPropertyMetadata.set(r,i=new Map),i.set(e.name,o),s==="accessor"){const{name:n}=e;return{set(a){const l=t.get.call(this);t.set.call(this,a),this.requestUpdate(n,l,o)},init(a){return a!==void 0&&this.P(n,void 0,o),a}}}if(s==="setter"){const{name:n}=e;return function(a){const l=this[n];t.call(this,a),this.requestUpdate(n,l,o)}}throw Error("Unsupported decorator location: "+s)};function X1(o){return(t,e)=>typeof e=="object"?Rs(o,t,e):((s,r,i)=>{const n=r.hasOwnProperty(i);return r.constructor.createProperty(i,n?{...s,wrapped:!0}:s),n?Object.getOwnPropertyDescriptor(r,i):void 0})(o,t,e)}const Ns={account_circle:`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
287
+ */const qs={attribute:!0,type:String,converter:Ft,reflect:!1,hasChanged:Ve},js=(r=qs,t,e)=>{const{kind:s,metadata:o}=e;let i=globalThis.litPropertyMetadata.get(o);if(i===void 0&&globalThis.litPropertyMetadata.set(o,i=new Map),i.set(e.name,r),s==="accessor"){const{name:n}=e;return{set(a){const l=t.get.call(this);t.set.call(this,a),this.requestUpdate(n,l,r)},init(a){return a!==void 0&&this.P(n,void 0,r),a}}}if(s==="setter"){const{name:n}=e;return function(a){const l=this[n];t.call(this,a),this.requestUpdate(n,l,r)}}throw Error("Unsupported decorator location: "+s)};function Q1(r){return(t,e)=>typeof e=="object"?js(r,t,e):((s,o,i)=>{const n=o.hasOwnProperty(i);return o.constructor.createProperty(i,n?{...s,wrapped:!0}:s),n?Object.getOwnPropertyDescriptor(o,i):void 0})(r,t,e)}const Fs={account_circle:`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
296
288
  <mask id="mask0_12372_781" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="24" height="24">
297
289
  <rect width="24" height="24" fill="#D9D9D9"/>
298
290
  </mask>
@@ -481,7 +473,7 @@
481
473
  <rect width="24" height="24" fill="#D9D9D9"/>
482
474
  </mask>
483
475
  <g mask="url(#mask0_525_15)">
484
- <path d="M9 18C8.45 18 7.97917 17.8042 7.5875 17.4125C7.19583 17.0208 7 16.55 7 16V4C7 3.45 7.19583 2.97917 7.5875 2.5875C7.97917 2.19583 8.45 2 9 2H18C18.55 2 19.0208 2.19583 19.4125 2.5875C19.8042 2.97917 20 3.45 20 4V16C20 16.55 19.8042 17.0208 19.4125 17.4125C19.0208 17.8042 18.55 18 18 18H9ZM9 16H18V4H9V16ZM5 22C4.45 22 3.97917 21.8042 3.5875 21.4125C3.19583 21.0208 3 20.55 3 20V7C3 6.71667 3.09583 6.47917 3.2875 6.2875C3.47917 6.09583 3.71667 6 4 6C4.28333 6 4.52083 6.09583 4.7125 6.2875C4.90417 6.47917 5 6.71667 5 7V20H15C15.2833 20 15.5208 20.0958 15.7125 20.2875C15.9042 20.4792 16 20.7167 16 21C16 21.2833 15.9042 21.5208 15.7125 21.7125C15.5208 21.9042 15.2833 22 15 22H5Z" fill="#1C1B1F"/>
476
+ <path d="M9 18C8.45 18 7.97917 17.8042 7.5875 17.4125C7.19583 17.0208 7 16.55 7 16V4C7 3.45 7.19583 2.97917 7.5875 2.5875C7.97917 2.19583 8.45 2 9 2H18C18.55 2 19.0208 2.19583 19.4125 2.5875C19.8042 2.97917 20 3.45 20 4V16C20 16.55 19.8042 17.0208 19.4125 17.4125C19.0208 17.8042 18.55 18 18 18H9ZM9 16H18V4H9V16ZM5 22C4.45 22 3.97917 21.8042 3.5875 21.4125C3.19583 21.0208 3 20.55 3 20V7C3 6.71667 3.09583 6.47917 3.2875 6.2875C3.47917 6.09583 3.71667 6 4 6C4.28333 6 4.52083 6.09583 4.7125 6.2875C4.90417 6.47917 5 6.71667 5 7V20H15C15.2833 20 15.5208 20.0958 15.7125 20.2875C15.9042 20.4792 16 20.7167 16 21C16 21.2833 15.9042 21.5208 15.7125 21.7125C15.5208 21.9042 15.2833 22 15 22H5Z" fill="var(--nys-icon-color, currentcolor)"/>
485
477
  </g>
486
478
  </svg>`,arrow_back:`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
487
479
  <mask id="mask0_12372_673" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="24" height="24">
@@ -731,7 +723,7 @@
731
723
  <g mask="url(#mask0_12372_621)">
732
724
  <path d="M6.30002 22.7751C5.43369 22.7751 4.69211 22.4667 4.07527 21.8498C3.45844 21.2328 3.15002 20.4913 3.15002 19.6251V10.2251C3.15002 9.35893 3.45844 8.61735 4.07527 8.00035C4.69211 7.38351 5.43369 7.0751 6.30002 7.0751H6.62502V5.8001C6.62502 4.28343 7.14586 2.99593 8.18752 1.9376C9.22919 0.879264 10.5 0.350098 12 0.350098C13.5 0.350098 14.7709 0.879264 15.8125 1.9376C16.8542 2.99593 17.375 4.28343 17.375 5.8001V7.0751H17.7C18.5662 7.0751 19.3078 7.38351 19.9248 8.00035C20.5416 8.61735 20.85 9.35893 20.85 10.2251V19.6251C20.85 20.4913 20.5416 21.2328 19.9248 21.8498C19.3078 22.4667 18.5662 22.7751 17.7 22.7751H6.30002ZM12 16.9251C12.55 16.9251 13.0209 16.7293 13.4125 16.3376C13.8042 15.9459 14 15.4751 14 14.9251C14 14.3751 13.8042 13.9043 13.4125 13.5126C13.0209 13.1209 12.55 12.9251 12 12.9251C11.45 12.9251 10.9792 13.1209 10.5875 13.5126C10.1959 13.9043 10 14.3751 10 14.9251C10 15.4751 10.1959 15.9459 10.5875 16.3376C10.9792 16.7293 11.45 16.9251 12 16.9251ZM9.77502 7.0751H14.225V5.8001C14.225 5.16126 14.0125 4.61818 13.5875 4.17085C13.1625 3.72368 12.6334 3.5001 12 3.5001C11.3667 3.5001 10.8375 3.72368 10.4125 4.17085C9.98752 4.61818 9.77502 5.16126 9.77502 5.8001V7.0751Z" fill="var(--nys-icon-color, currentcolor)"/>
733
725
  </g>
734
- </svg>`},qs=b`
726
+ </svg>`},Gs=b`
735
727
  :host {
736
728
  display: inline-block;
737
729
  --_nys-icon-size: 0.7em; /* If cap isn't supported, a fallback value of 0.7em is used, as it closely approximates the height of capital letters in most fonts. */
@@ -808,6 +800,10 @@
808
800
  width: 2rem;
809
801
  height: 2rem;
810
802
  }
803
+ .nys-icon--40 {
804
+ width: 2.5rem;
805
+ height: 2.5rem;
806
+ }
811
807
  .nys-icon--48 {
812
808
  width: 3rem;
813
809
  height: 3rem;
@@ -827,7 +823,7 @@
827
823
  .nys-icon--flip-both {
828
824
  transform: scale(-1, -1);
829
825
  }
830
- `;var js=Object.defineProperty,Fs=Object.getOwnPropertyDescriptor,Q1=(o,t,e,s)=>{for(var r=s>1?void 0:s?Fs(t,e):t,i=o.length-1,n;i>=0;i--)(n=o[i])&&(r=(s?n(t,e,r):n(r))||r);return s&&r&&js(t,e,r),r},vt;const V1=(vt=class extends f{constructor(){super(...arguments),this.name="",this.label="",this.rotate="0",this.flip="",this.color="",this._size="sm"}get size(){return this._size}set size(o){this._size=vt.VALID_TYPES.includes(o)?o:"sm"}getIcon(){const o=Ns[this.name];if(!o)return null;const t=new DOMParser().parseFromString(o,"image/svg+xml").documentElement;return t instanceof SVGElement?(t.setAttribute("role","img"),this.label?(t.setAttribute("aria-label",this.label),t.removeAttribute("aria-hidden")):(t.setAttribute("aria-hidden","true"),t.removeAttribute("aria-label")),t.style.rotate=`${this.rotate}deg`,t.style.color=this.color||"currentcolor",t.classList.add(`nys-icon--${this.size}`),t.classList.add("nys-icon--svg"),this.flip&&t.classList.add(`nys-icon--flip-${this.flip}`),t):null}render(){const o=this.getIcon();return o?d`${o}`:null}},vt.styles=qs,vt.VALID_TYPES=["2xs","xs","sm","md","lg","xl","2xl","3xl","4xl","12","16","24","32","48","64"],vt);Q1([X1({type:String,reflect:!0})],V1.prototype,"name",2),Q1([X1({type:String})],V1.prototype,"label",2),Q1([X1({type:String})],V1.prototype,"rotate",2),Q1([X1({type:String})],V1.prototype,"flip",2),Q1([X1({type:String})],V1.prototype,"color",2),Q1([X1({reflect:!0})],V1.prototype,"size",1);let Gs=V1;customElements.get("nys-icon")||customElements.define("nys-icon",Gs);/*!
826
+ `;var Ws=Object.defineProperty,Ys=Object.getOwnPropertyDescriptor,tt=(r,t,e,s)=>{for(var o=s>1?void 0:s?Ys(t,e):t,i=r.length-1,n;i>=0;i--)(n=r[i])&&(o=(s?n(t,e,o):n(o))||o);return s&&o&&Ws(t,e,o),o},gt;const V1=(gt=class extends f{constructor(){super(...arguments),this.name="",this.label="",this.rotate="0",this.flip="",this.color="",this._size="sm"}get size(){return this._size}set size(r){this._size=gt.VALID_TYPES.includes(r)?r:"sm"}getIcon(){const r=Fs[this.name];if(!r)return null;const t=new DOMParser().parseFromString(r,"image/svg+xml").documentElement;return t instanceof SVGElement?(t.setAttribute("role","img"),this.label?(t.setAttribute("aria-label",this.label),t.removeAttribute("aria-hidden")):(t.setAttribute("aria-hidden","true"),t.removeAttribute("aria-label")),t.style.rotate=`${this.rotate}deg`,t.style.color=this.color||"currentcolor",t.classList.add(`nys-icon--${this.size}`),t.classList.add("nys-icon--svg"),this.flip&&t.classList.add(`nys-icon--flip-${this.flip}`),t):null}render(){const r=this.getIcon();return r?d`${r}`:null}},gt.styles=Gs,gt.VALID_TYPES=["2xs","xs","sm","md","lg","xl","2xl","3xl","4xl","12","16","24","32","40","48","64"],gt);tt([Q1({type:String,reflect:!0})],V1.prototype,"name",2),tt([Q1({type:String})],V1.prototype,"label",2),tt([Q1({type:String})],V1.prototype,"rotate",2),tt([Q1({type:String})],V1.prototype,"flip",2),tt([Q1({type:String})],V1.prototype,"color",2),tt([Q1({reflect:!0})],V1.prototype,"size",1);let Ks=V1;customElements.get("nys-icon")||customElements.define("nys-icon",Ks);/*!
831
827
  *
832
828
  * ▒█▄░▒█ ▒█░░▒█ ▒█▀▀▀█ ▒█▀▀▄ ▒█▀▀▀█
833
829
  * ▒█▒█▒█ ▒█▄▄▄█ ░▀▀▀▄▄ ▒█░▒█ ░▀▀▀▄▄
@@ -841,15 +837,15 @@
841
837
  * @license
842
838
  * Copyright 2019 Google LLC
843
839
  * SPDX-License-Identifier: BSD-3-Clause
844
- */const Ft=globalThis,V2=Ft.ShadowRoot&&(Ft.ShadyCSS===void 0||Ft.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Le=Symbol(),Me=new WeakMap;let Ws=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==Le)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(V2&&t===void 0){const s=e!==void 0&&e.length===1;s&&(t=Me.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&Me.set(e,t))}return t}toString(){return this.cssText}};const Ys=o=>new Ws(typeof o=="string"?o:o+"",void 0,Le),Ks=(o,t)=>{if(V2)o.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const e of t){const s=document.createElement("style"),r=Ft.litNonce;r!==void 0&&s.setAttribute("nonce",r),s.textContent=e.cssText,o.appendChild(s)}},De=V2?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return Ys(e)})(o):o;/**
840
+ */const Gt=globalThis,Ue=Gt.ShadowRoot&&(Gt.ShadyCSS===void 0||Gt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,H2=Symbol(),V2=new WeakMap;let Js=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==H2)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(Ue&&t===void 0){const s=e!==void 0&&e.length===1;s&&(t=V2.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&V2.set(e,t))}return t}toString(){return this.cssText}};const Xs=r=>new Js(typeof r=="string"?r:r+"",void 0,H2),Qs=(r,t)=>{if(Ue)r.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const e of t){const s=document.createElement("style"),o=Gt.litNonce;o!==void 0&&s.setAttribute("nonce",o),s.textContent=e.cssText,r.appendChild(s)}},U2=Ue?r=>r:r=>r instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return Xs(e)})(r):r;/**
845
841
  * @license
846
842
  * Copyright 2017 Google LLC
847
843
  * SPDX-License-Identifier: BSD-3-Clause
848
- */const{is:Js,defineProperty:Xs,getOwnPropertyDescriptor:Qs,getOwnPropertyNames:t7,getOwnPropertySymbols:e7,getPrototypeOf:s7}=Object,tt=globalThis,He=tt.trustedTypes,r7=He?He.emptyScript:"",Ve=tt.reactiveElementPolyfillSupport,gt=(o,t)=>o,Gt={toAttribute(o,t){switch(t){case Boolean:o=o?r7:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},U2=(o,t)=>!Js(o,t),Ue={attribute:!0,type:String,converter:Gt,reflect:!1,hasChanged:U2};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),tt.litPropertyMetadata??(tt.litPropertyMetadata=new WeakMap);let _t=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Ue){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),r=this.getPropertyDescriptor(t,s,e);r!==void 0&&Xs(this.prototype,t,r)}}static getPropertyDescriptor(t,e,s){const{get:r,set:i}=Qs(this.prototype,t)??{get(){return this[e]},set(n){this[e]=n}};return{get(){return r==null?void 0:r.call(this)},set(n){const a=r==null?void 0:r.call(this);i.call(this,n),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Ue}static _$Ei(){if(this.hasOwnProperty(gt("elementProperties")))return;const t=s7(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(gt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(gt("properties"))){const e=this.properties,s=[...t7(e),...e7(e)];for(const r of s)this.createProperty(r,e[r])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[s,r]of e)this.elementProperties.set(s,r)}this._$Eh=new Map;for(const[e,s]of this.elementProperties){const r=this._$Eu(e,s);r!==void 0&&this._$Eh.set(r,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const r of s)e.unshift(De(r))}else t!==void 0&&e.push(De(t));return e}static _$Eu(t,e){const s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach(e=>e(this))}addController(t){var e;(this._$EO??(this._$EO=new Set)).add(t),this.renderRoot!==void 0&&this.isConnected&&((e=t.hostConnected)==null||e.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Ks(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostConnected)==null?void 0:s.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostDisconnected)==null?void 0:s.call(e)})}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$EC(t,e){var s;const r=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,r);if(i!==void 0&&r.reflect===!0){const n=(((s=r.converter)==null?void 0:s.toAttribute)!==void 0?r.converter:Gt).toAttribute(e,r.type);this._$Em=t,n==null?this.removeAttribute(i):this.setAttribute(i,n),this._$Em=null}}_$AK(t,e){var s;const r=this.constructor,i=r._$Eh.get(t);if(i!==void 0&&this._$Em!==i){const n=r.getPropertyOptions(i),a=typeof n.converter=="function"?{fromAttribute:n.converter}:((s=n.converter)==null?void 0:s.fromAttribute)!==void 0?n.converter:Gt;this._$Em=i,this[i]=a.fromAttribute(e,n.type),this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){if(s??(s=this.constructor.getPropertyOptions(t)),!(s.hasChanged??U2)(this[t],e))return;this.P(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,e,s){this._$AL.has(t)||this._$AL.set(t,e),s.reflect===!0&&this._$Em!==t&&(this._$Ej??(this._$Ej=new Set)).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[i,n]of this._$Ep)this[i]=n;this._$Ep=void 0}const r=this.constructor.elementProperties;if(r.size>0)for(const[i,n]of r)n.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.P(i,this[i],n)}let e=!1;const s=this._$AL;try{e=this.shouldUpdate(s),e?(this.willUpdate(s),(t=this._$EO)==null||t.forEach(r=>{var i;return(i=r.hostUpdate)==null?void 0:i.call(r)}),this.update(s)):this._$EU()}catch(r){throw e=!1,this._$EU(),r}e&&this._$AE(s)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(s=>{var r;return(r=s.hostUpdated)==null?void 0:r.call(s)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&(this._$Ej=this._$Ej.forEach(e=>this._$EC(e,this[e]))),this._$EU()}updated(t){}firstUpdated(t){}};_t.elementStyles=[],_t.shadowRootOptions={mode:"open"},_t[gt("elementProperties")]=new Map,_t[gt("finalized")]=new Map,Ve==null||Ve({ReactiveElement:_t}),(tt.reactiveElementVersions??(tt.reactiveElementVersions=[])).push("2.0.4");/**
844
+ */const{is:t7,defineProperty:e7,getOwnPropertyDescriptor:s7,getOwnPropertyNames:o7,getOwnPropertySymbols:r7,getPrototypeOf:n7}=Object,et=globalThis,z2=et.trustedTypes,i7=z2?z2.emptyScript:"",P2=et.reactiveElementPolyfillSupport,_t=(r,t)=>r,Wt={toAttribute(r,t){switch(t){case Boolean:r=r?i7:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,t){let e=r;switch(t){case Boolean:e=r!==null;break;case Number:e=r===null?null:Number(r);break;case Object:case Array:try{e=JSON.parse(r)}catch{e=null}}return e}},ze=(r,t)=>!t7(r,t),O2={attribute:!0,type:String,converter:Wt,reflect:!1,hasChanged:ze};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),et.litPropertyMetadata??(et.litPropertyMetadata=new WeakMap);let bt=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=O2){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),o=this.getPropertyDescriptor(t,s,e);o!==void 0&&e7(this.prototype,t,o)}}static getPropertyDescriptor(t,e,s){const{get:o,set:i}=s7(this.prototype,t)??{get(){return this[e]},set(n){this[e]=n}};return{get(){return o==null?void 0:o.call(this)},set(n){const a=o==null?void 0:o.call(this);i.call(this,n),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??O2}static _$Ei(){if(this.hasOwnProperty(_t("elementProperties")))return;const t=n7(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(_t("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(_t("properties"))){const e=this.properties,s=[...o7(e),...r7(e)];for(const o of s)this.createProperty(o,e[o])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[s,o]of e)this.elementProperties.set(s,o)}this._$Eh=new Map;for(const[e,s]of this.elementProperties){const o=this._$Eu(e,s);o!==void 0&&this._$Eh.set(o,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const o of s)e.unshift(U2(o))}else t!==void 0&&e.push(U2(t));return e}static _$Eu(t,e){const s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach(e=>e(this))}addController(t){var e;(this._$EO??(this._$EO=new Set)).add(t),this.renderRoot!==void 0&&this.isConnected&&((e=t.hostConnected)==null||e.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Qs(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostConnected)==null?void 0:s.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostDisconnected)==null?void 0:s.call(e)})}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$EC(t,e){var s;const o=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,o);if(i!==void 0&&o.reflect===!0){const n=(((s=o.converter)==null?void 0:s.toAttribute)!==void 0?o.converter:Wt).toAttribute(e,o.type);this._$Em=t,n==null?this.removeAttribute(i):this.setAttribute(i,n),this._$Em=null}}_$AK(t,e){var s;const o=this.constructor,i=o._$Eh.get(t);if(i!==void 0&&this._$Em!==i){const n=o.getPropertyOptions(i),a=typeof n.converter=="function"?{fromAttribute:n.converter}:((s=n.converter)==null?void 0:s.fromAttribute)!==void 0?n.converter:Wt;this._$Em=i,this[i]=a.fromAttribute(e,n.type),this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){if(s??(s=this.constructor.getPropertyOptions(t)),!(s.hasChanged??ze)(this[t],e))return;this.P(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,e,s){this._$AL.has(t)||this._$AL.set(t,e),s.reflect===!0&&this._$Em!==t&&(this._$Ej??(this._$Ej=new Set)).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[i,n]of this._$Ep)this[i]=n;this._$Ep=void 0}const o=this.constructor.elementProperties;if(o.size>0)for(const[i,n]of o)n.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.P(i,this[i],n)}let e=!1;const s=this._$AL;try{e=this.shouldUpdate(s),e?(this.willUpdate(s),(t=this._$EO)==null||t.forEach(o=>{var i;return(i=o.hostUpdate)==null?void 0:i.call(o)}),this.update(s)):this._$EU()}catch(o){throw e=!1,this._$EU(),o}e&&this._$AE(s)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(s=>{var o;return(o=s.hostUpdated)==null?void 0:o.call(s)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&(this._$Ej=this._$Ej.forEach(e=>this._$EC(e,this[e]))),this._$EU()}updated(t){}firstUpdated(t){}};bt.elementStyles=[],bt.shadowRootOptions={mode:"open"},bt[_t("elementProperties")]=new Map,bt[_t("finalized")]=new Map,P2==null||P2({ReactiveElement:bt}),(et.reactiveElementVersions??(et.reactiveElementVersions=[])).push("2.0.4");/**
849
845
  * @license
850
846
  * Copyright 2017 Google LLC
851
847
  * SPDX-License-Identifier: BSD-3-Clause
852
- */const o7={attribute:!0,type:String,converter:Gt,reflect:!1,hasChanged:U2},n7=(o=o7,t,e)=>{const{kind:s,metadata:r}=e;let i=globalThis.litPropertyMetadata.get(r);if(i===void 0&&globalThis.litPropertyMetadata.set(r,i=new Map),i.set(e.name,o),s==="accessor"){const{name:n}=e;return{set(a){const l=t.get.call(this);t.set.call(this,a),this.requestUpdate(n,l,o)},init(a){return a!==void 0&&this.P(n,void 0,o),a}}}if(s==="setter"){const{name:n}=e;return function(a){const l=this[n];t.call(this,a),this.requestUpdate(n,l,o)}}throw Error("Unsupported decorator location: "+s)};function z(o){return(t,e)=>typeof e=="object"?n7(o,t,e):((s,r,i)=>{const n=r.hasOwnProperty(i);return r.constructor.createProperty(i,n?{...s,wrapped:!0}:s),n?Object.getOwnPropertyDescriptor(r,i):void 0})(o,t,e)}const i7=b`
848
+ */const a7={attribute:!0,type:String,converter:Wt,reflect:!1,hasChanged:ze},l7=(r=a7,t,e)=>{const{kind:s,metadata:o}=e;let i=globalThis.litPropertyMetadata.get(o);if(i===void 0&&globalThis.litPropertyMetadata.set(o,i=new Map),i.set(e.name,r),s==="accessor"){const{name:n}=e;return{set(a){const l=t.get.call(this);t.set.call(this,a),this.requestUpdate(n,l,r)},init(a){return a!==void 0&&this.P(n,void 0,r),a}}}if(s==="setter"){const{name:n}=e;return function(a){const l=this[n];t.call(this,a),this.requestUpdate(n,l,r)}}throw Error("Unsupported decorator location: "+s)};function M(r){return(t,e)=>typeof e=="object"?l7(r,t,e):((s,o,i)=>{const n=o.hasOwnProperty(i);return o.constructor.createProperty(i,n?{...s,wrapped:!0}:s),n?Object.getOwnPropertyDescriptor(o,i):void 0})(r,t,e)}const c7=b`
853
849
  :host {
854
850
  /* Anything that can be overridden should be defined here */
855
851
 
@@ -1175,9 +1171,18 @@
1175
1171
  );
1176
1172
  }
1177
1173
 
1174
+ /* Circle */
1175
+ :host([circle]) {
1176
+ --_nys-button-width: var(--_nys-button-height);
1177
+ --_nys-button-radius-left: var(--nys-radius-round, 1776px);
1178
+ --_nys-button-radius-right: var(--nys-radius-round, 1776px);
1179
+ --_nys-button-padding-y: 0;
1180
+ --_nys-button-padding-x: 0;
1181
+ }
1182
+
1178
1183
  .nys-button {
1179
1184
  width: var(--_nys-button-width);
1180
- height: var(--_nys-button-height);
1185
+ min-height: var(--_nys-button-height);
1181
1186
  /* set every corner individually */
1182
1187
  border-top-left-radius: var(--_nys-button-radius-left);
1183
1188
  border-bottom-left-radius: var(--_nys-button-radius-left);
@@ -1201,6 +1206,11 @@
1201
1206
  cursor: pointer;
1202
1207
  }
1203
1208
 
1209
+ :host([circle]) .nys-button {
1210
+ max-width: var(--_nys-button-height);
1211
+ max-height: var(--_nys-button-height);
1212
+ }
1213
+
1204
1214
  .nys-button:hover {
1205
1215
  background-color: var(--_nys-button-color-bg-hover);
1206
1216
  color: var(--_nys-button-color-text-hover);
@@ -1259,13 +1269,13 @@
1259
1269
  * @license
1260
1270
  * Copyright 2017 Google LLC
1261
1271
  * SPDX-License-Identifier: BSD-3-Clause
1262
- */const Wt=globalThis,Yt=Wt.trustedTypes,ze=Yt?Yt.createPolicy("lit-html",{createHTML:o=>o}):void 0,Pe="$lit$",_1=`lit$${Math.random().toFixed(9).slice(2)}$`,Oe="?"+_1,a7=`<${Oe}>`,U1=document,Kt=()=>U1.createComment(""),bt=o=>o===null||typeof o!="object"&&typeof o!="function",z2=Array.isArray,l7=o=>z2(o)||typeof(o==null?void 0:o[Symbol.iterator])=="function",P2=`[
1263
- \f\r]`,mt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ze=/-->/g,Ie=/>/g,z1=RegExp(`>|${P2}(?:([^\\s"'>=/]+)(${P2}*=${P2}*(?:[^
1264
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Te=/'/g,Be=/"/g,Re=/^(?:script|style|textarea|title)$/i,xt=Symbol.for("lit-noChange"),E=Symbol.for("lit-nothing"),Ne=new WeakMap,P1=U1.createTreeWalker(U1,129);function qe(o,t){if(!z2(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return ze!==void 0?ze.createHTML(t):t}const c7=(o,t)=>{const e=o.length-1,s=[];let r,i=t===2?"<svg>":t===3?"<math>":"",n=mt;for(let a=0;a<e;a++){const l=o[a];let u,y,h=-1,p=0;for(;p<l.length&&(n.lastIndex=p,y=n.exec(l),y!==null);)p=n.lastIndex,n===mt?y[1]==="!--"?n=Ze:y[1]!==void 0?n=Ie:y[2]!==void 0?(Re.test(y[2])&&(r=RegExp("</"+y[2],"g")),n=z1):y[3]!==void 0&&(n=z1):n===z1?y[0]===">"?(n=r??mt,h=-1):y[1]===void 0?h=-2:(h=n.lastIndex-y[2].length,u=y[1],n=y[3]===void 0?z1:y[3]==='"'?Be:Te):n===Be||n===Te?n=z1:n===Ze||n===Ie?n=mt:(n=z1,r=void 0);const C=n===z1&&o[a+1].startsWith("/>")?" ":"";i+=n===mt?l+a7:h>=0?(s.push(u),l.slice(0,h)+Pe+l.slice(h)+_1+C):l+_1+(h===-2?a:C)}return[qe(o,i+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]};let O2=class ns{constructor({strings:t,_$litType$:e},s){let r;this.parts=[];let i=0,n=0;const a=t.length-1,l=this.parts,[u,y]=c7(t,e);if(this.el=ns.createElement(u,s),P1.currentNode=this.el.content,e===2||e===3){const h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(r=P1.nextNode())!==null&&l.length<a;){if(r.nodeType===1){if(r.hasAttributes())for(const h of r.getAttributeNames())if(h.endsWith(Pe)){const p=y[n++],C=r.getAttribute(h).split(_1),M=/([.?@])?(.*)/.exec(p);l.push({type:1,index:i,name:M[2],strings:C,ctor:M[1]==="."?d7:M[1]==="?"?y7:M[1]==="@"?u7:Jt}),r.removeAttribute(h)}else h.startsWith(_1)&&(l.push({type:6,index:i}),r.removeAttribute(h));if(Re.test(r.tagName)){const h=r.textContent.split(_1),p=h.length-1;if(p>0){r.textContent=Yt?Yt.emptyScript:"";for(let C=0;C<p;C++)r.append(h[C],Kt()),P1.nextNode(),l.push({type:2,index:++i});r.append(h[p],Kt())}}}else if(r.nodeType===8)if(r.data===Oe)l.push({type:2,index:i});else{let h=-1;for(;(h=r.data.indexOf(_1,h+1))!==-1;)l.push({type:7,index:i}),h+=_1.length-1}i++}}static createElement(t,e){const s=U1.createElement("template");return s.innerHTML=t,s}};function et(o,t,e=o,s){var r,i;if(t===xt)return t;let n=s!==void 0?(r=e._$Co)==null?void 0:r[s]:e._$Cl;const a=bt(t)?void 0:t._$litDirective$;return(n==null?void 0:n.constructor)!==a&&((i=n==null?void 0:n._$AO)==null||i.call(n,!1),a===void 0?n=void 0:(n=new a(o),n._$AT(o,e,s)),s!==void 0?(e._$Co??(e._$Co=[]))[s]=n:e._$Cl=n),n!==void 0&&(t=et(o,n._$AS(o,t.values),n,s)),t}let h7=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:s}=this._$AD,r=((t==null?void 0:t.creationScope)??U1).importNode(e,!0);P1.currentNode=r;let i=P1.nextNode(),n=0,a=0,l=s[0];for(;l!==void 0;){if(n===l.index){let u;l.type===2?u=new je(i,i.nextSibling,this,t):l.type===1?u=new l.ctor(i,l.name,l.strings,this,t):l.type===6&&(u=new p7(i,this,t)),this._$AV.push(u),l=s[++a]}n!==(l==null?void 0:l.index)&&(i=P1.nextNode(),n++)}return P1.currentNode=U1,r}p(t){let e=0;for(const s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}},je=class is{get _$AU(){var t;return((t=this._$AM)==null?void 0:t._$AU)??this._$Cv}constructor(t,e,s,r){this.type=2,this._$AH=E,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=r,this._$Cv=(r==null?void 0:r.isConnected)??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=et(this,t,e),bt(t)?t===E||t==null||t===""?(this._$AH!==E&&this._$AR(),this._$AH=E):t!==this._$AH&&t!==xt&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):l7(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==E&&bt(this._$AH)?this._$AA.nextSibling.data=t:this.T(U1.createTextNode(t)),this._$AH=t}$(t){var e;const{values:s,_$litType$:r}=t,i=typeof r=="number"?this._$AC(t):(r.el===void 0&&(r.el=O2.createElement(qe(r.h,r.h[0]),this.options)),r);if(((e=this._$AH)==null?void 0:e._$AD)===i)this._$AH.p(s);else{const n=new h7(i,this),a=n.u(this.options);n.p(s),this.T(a),this._$AH=n}}_$AC(t){let e=Ne.get(t.strings);return e===void 0&&Ne.set(t.strings,e=new O2(t)),e}k(t){z2(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,r=0;for(const i of t)r===e.length?e.push(s=new is(this.O(Kt()),this.O(Kt()),this,this.options)):s=e[r],s._$AI(i),r++;r<e.length&&(this._$AR(s&&s._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){var s;for((s=this._$AP)==null?void 0:s.call(this,!1,!0,e);t&&t!==this._$AB;){const r=t.nextSibling;t.remove(),t=r}}setConnected(t){var e;this._$AM===void 0&&(this._$Cv=t,(e=this._$AP)==null||e.call(this,t))}},Jt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,r,i){this.type=1,this._$AH=E,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E}_$AI(t,e=this,s,r){const i=this.strings;let n=!1;if(i===void 0)t=et(this,t,e,0),n=!bt(t)||t!==this._$AH&&t!==xt,n&&(this._$AH=t);else{const a=t;let l,u;for(t=i[0],l=0;l<i.length-1;l++)u=et(this,a[s+l],e,l),u===xt&&(u=this._$AH[l]),n||(n=!bt(u)||u!==this._$AH[l]),u===E?t=E:t!==E&&(t+=(u??"")+i[l+1]),this._$AH[l]=u}n&&!r&&this.j(t)}j(t){t===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},d7=class extends Jt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===E?void 0:t}},y7=class extends Jt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E)}},u7=class extends Jt{constructor(t,e,s,r,i){super(t,e,s,r,i),this.type=5}_$AI(t,e=this){if((t=et(this,t,e,0)??E)===xt)return;const s=this._$AH,r=t===E&&s!==E||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,i=t!==E&&(s===E||r);r&&this.element.removeEventListener(this.name,this,s),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e;typeof this._$AH=="function"?this._$AH.call(((e=this.options)==null?void 0:e.host)??this.element,t):this._$AH.handleEvent(t)}},p7=class{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){et(this,t)}};const Fe=Wt.litHtmlPolyfillSupport;Fe==null||Fe(O2,je),(Wt.litHtmlVersions??(Wt.litHtmlVersions=[])).push("3.2.1");/**
1272
+ */const Yt=globalThis,Kt=Yt.trustedTypes,Z2=Kt?Kt.createPolicy("lit-html",{createHTML:r=>r}):void 0,I2="$lit$",_1=`lit$${Math.random().toFixed(9).slice(2)}$`,T2="?"+_1,h7=`<${T2}>`,U1=document,Jt=()=>U1.createComment(""),mt=r=>r===null||typeof r!="object"&&typeof r!="function",Pe=Array.isArray,d7=r=>Pe(r)||typeof(r==null?void 0:r[Symbol.iterator])=="function",Oe=`[
1273
+ \f\r]`,xt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,B2=/-->/g,R2=/>/g,z1=RegExp(`>|${Oe}(?:([^\\s"'>=/]+)(${Oe}*=${Oe}*(?:[^
1274
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),N2=/'/g,q2=/"/g,j2=/^(?:script|style|textarea|title)$/i,wt=Symbol.for("lit-noChange"),D=Symbol.for("lit-nothing"),F2=new WeakMap,P1=U1.createTreeWalker(U1,129);function G2(r,t){if(!Pe(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return Z2!==void 0?Z2.createHTML(t):t}const y7=(r,t)=>{const e=r.length-1,s=[];let o,i=t===2?"<svg>":t===3?"<math>":"",n=xt;for(let a=0;a<e;a++){const l=r[a];let u,y,h=-1,p=0;for(;p<l.length&&(n.lastIndex=p,y=n.exec(l),y!==null);)p=n.lastIndex,n===xt?y[1]==="!--"?n=B2:y[1]!==void 0?n=R2:y[2]!==void 0?(j2.test(y[2])&&(o=RegExp("</"+y[2],"g")),n=z1):y[3]!==void 0&&(n=z1):n===z1?y[0]===">"?(n=o??xt,h=-1):y[1]===void 0?h=-2:(h=n.lastIndex-y[2].length,u=y[1],n=y[3]===void 0?z1:y[3]==='"'?q2:N2):n===q2||n===N2?n=z1:n===B2||n===R2?n=xt:(n=z1,o=void 0);const C=n===z1&&r[a+1].startsWith("/>")?" ":"";i+=n===xt?l+h7:h>=0?(s.push(u),l.slice(0,h)+I2+l.slice(h)+_1+C):l+_1+(h===-2?a:C)}return[G2(r,i+(r[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]};let Ze=class ls{constructor({strings:t,_$litType$:e},s){let o;this.parts=[];let i=0,n=0;const a=t.length-1,l=this.parts,[u,y]=y7(t,e);if(this.el=ls.createElement(u,s),P1.currentNode=this.el.content,e===2||e===3){const h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(o=P1.nextNode())!==null&&l.length<a;){if(o.nodeType===1){if(o.hasAttributes())for(const h of o.getAttributeNames())if(h.endsWith(I2)){const p=y[n++],C=o.getAttribute(h).split(_1),Z=/([.?@])?(.*)/.exec(p);l.push({type:1,index:i,name:Z[2],strings:C,ctor:Z[1]==="."?p7:Z[1]==="?"?C7:Z[1]==="@"?f7:Xt}),o.removeAttribute(h)}else h.startsWith(_1)&&(l.push({type:6,index:i}),o.removeAttribute(h));if(j2.test(o.tagName)){const h=o.textContent.split(_1),p=h.length-1;if(p>0){o.textContent=Kt?Kt.emptyScript:"";for(let C=0;C<p;C++)o.append(h[C],Jt()),P1.nextNode(),l.push({type:2,index:++i});o.append(h[p],Jt())}}}else if(o.nodeType===8)if(o.data===T2)l.push({type:2,index:i});else{let h=-1;for(;(h=o.data.indexOf(_1,h+1))!==-1;)l.push({type:7,index:i}),h+=_1.length-1}i++}}static createElement(t,e){const s=U1.createElement("template");return s.innerHTML=t,s}};function st(r,t,e=r,s){var o,i;if(t===wt)return t;let n=s!==void 0?(o=e._$Co)==null?void 0:o[s]:e._$Cl;const a=mt(t)?void 0:t._$litDirective$;return(n==null?void 0:n.constructor)!==a&&((i=n==null?void 0:n._$AO)==null||i.call(n,!1),a===void 0?n=void 0:(n=new a(r),n._$AT(r,e,s)),s!==void 0?(e._$Co??(e._$Co=[]))[s]=n:e._$Cl=n),n!==void 0&&(t=st(r,n._$AS(r,t.values),n,s)),t}let u7=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:s}=this._$AD,o=((t==null?void 0:t.creationScope)??U1).importNode(e,!0);P1.currentNode=o;let i=P1.nextNode(),n=0,a=0,l=s[0];for(;l!==void 0;){if(n===l.index){let u;l.type===2?u=new W2(i,i.nextSibling,this,t):l.type===1?u=new l.ctor(i,l.name,l.strings,this,t):l.type===6&&(u=new v7(i,this,t)),this._$AV.push(u),l=s[++a]}n!==(l==null?void 0:l.index)&&(i=P1.nextNode(),n++)}return P1.currentNode=U1,o}p(t){let e=0;for(const s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}},W2=class cs{get _$AU(){var t;return((t=this._$AM)==null?void 0:t._$AU)??this._$Cv}constructor(t,e,s,o){this.type=2,this._$AH=D,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=o,this._$Cv=(o==null?void 0:o.isConnected)??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=st(this,t,e),mt(t)?t===D||t==null||t===""?(this._$AH!==D&&this._$AR(),this._$AH=D):t!==this._$AH&&t!==wt&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):d7(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==D&&mt(this._$AH)?this._$AA.nextSibling.data=t:this.T(U1.createTextNode(t)),this._$AH=t}$(t){var e;const{values:s,_$litType$:o}=t,i=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=Ze.createElement(G2(o.h,o.h[0]),this.options)),o);if(((e=this._$AH)==null?void 0:e._$AD)===i)this._$AH.p(s);else{const n=new u7(i,this),a=n.u(this.options);n.p(s),this.T(a),this._$AH=n}}_$AC(t){let e=F2.get(t.strings);return e===void 0&&F2.set(t.strings,e=new Ze(t)),e}k(t){Pe(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,o=0;for(const i of t)o===e.length?e.push(s=new cs(this.O(Jt()),this.O(Jt()),this,this.options)):s=e[o],s._$AI(i),o++;o<e.length&&(this._$AR(s&&s._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var s;for((s=this._$AP)==null?void 0:s.call(this,!1,!0,e);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){var e;this._$AM===void 0&&(this._$Cv=t,(e=this._$AP)==null||e.call(this,t))}},Xt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,o,i){this.type=1,this._$AH=D,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=i,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=D}_$AI(t,e=this,s,o){const i=this.strings;let n=!1;if(i===void 0)t=st(this,t,e,0),n=!mt(t)||t!==this._$AH&&t!==wt,n&&(this._$AH=t);else{const a=t;let l,u;for(t=i[0],l=0;l<i.length-1;l++)u=st(this,a[s+l],e,l),u===wt&&(u=this._$AH[l]),n||(n=!mt(u)||u!==this._$AH[l]),u===D?t=D:t!==D&&(t+=(u??"")+i[l+1]),this._$AH[l]=u}n&&!o&&this.j(t)}j(t){t===D?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},p7=class extends Xt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===D?void 0:t}},C7=class extends Xt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==D)}},f7=class extends Xt{constructor(t,e,s,o,i){super(t,e,s,o,i),this.type=5}_$AI(t,e=this){if((t=st(this,t,e,0)??D)===wt)return;const s=this._$AH,o=t===D&&s!==D||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,i=t!==D&&(s===D||o);o&&this.element.removeEventListener(this.name,this,s),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e;typeof this._$AH=="function"?this._$AH.call(((e=this.options)==null?void 0:e.host)??this.element,t):this._$AH.handleEvent(t)}},v7=class{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){st(this,t)}};const Y2=Yt.litHtmlPolyfillSupport;Y2==null||Y2(Ze,W2),(Yt.litHtmlVersions??(Yt.litHtmlVersions=[])).push("3.2.1");/**
1265
1275
  * @license
1266
1276
  * Copyright 2018 Google LLC
1267
1277
  * SPDX-License-Identifier: BSD-3-Clause
1268
- */const b1=o=>o??E;var C7=Object.defineProperty,f7=Object.getOwnPropertyDescriptor,P=(o,t,e,s)=>{for(var r=s>1?void 0:s?f7(t,e):t,i=o.length-1,n;i>=0;i--)(n=o[i])&&(r=(s?n(t,e,r):n(r))||r);return s&&r&&C7(t,e,r),r};let v7=0;var G;const D=(G=class extends f{constructor(){super(),this.id="",this.name="",this._size="md",this.fullWidth=!1,this._variant="filled",this.inverted=!1,this.label="",this.ariaLabel="",this.prefixIcon="",this.suffixIcon="",this.disabled=!1,this.form="",this.value="",this._type="button",this.onClick=()=>{},this.href="",this._target="_self",this._internals=this.attachInternals()}get size(){return this._size}set size(o){this._size=G.VALID_SIZES.includes(o)?o:"md"}get variant(){return this._variant}set variant(o){this._variant=G.VALID_VARIANTS.includes(o)?o:"filled"}get type(){return this._type}set type(o){this._type=G.VALID_TYPES.includes(o)?o:"button"}get target(){return this._target}set target(o){this._target=G.VALID_TARGETS.includes(o)?o:"_self"}connectedCallback(){super.connectedCallback(),this.id||(this.id=this._generateUniqueId())}_generateUniqueId(){return`nys-button-${Date.now()}-${v7++}`}_manageFormAction(o){typeof this.onClick=="function"&&this.onClick(o);const t=this._internals.form;if(t)switch(this.type){case"submit":t.requestSubmit();break;case"reset":t.reset();break}}_handleFocus(){this.dispatchEvent(new Event("nys-focus"))}_handleBlur(){this.dispatchEvent(new Event("nys-blur"))}_handleClick(o){if(this.disabled){o.preventDefault();return}this._manageFormAction(o),this.dispatchEvent(new Event("nys-click"))}_handleKeydown(o){(o.code==="Space"||o.code==="Enter"||o.key===" "||o.key==="Enter")&&(o.preventDefault(),this.disabled||this._manageFormAction(o))}render(){return d`
1278
+ */const b1=r=>r??D;var g7=Object.defineProperty,_7=Object.getOwnPropertyDescriptor,H=(r,t,e,s)=>{for(var o=s>1?void 0:s?_7(t,e):t,i=r.length-1,n;i>=0;i--)(n=r[i])&&(o=(s?n(t,e,o):n(o))||o);return s&&o&&g7(t,e,o),o};let b7=0;var G;const S=(G=class extends f{constructor(){super(),this.id="",this.name="",this._size="md",this.fullWidth=!1,this._variant="filled",this.inverted=!1,this.label="",this.ariaLabel="",this.prefixIcon="",this.suffixIcon="",this.circle=!1,this.icon="",this.disabled=!1,this.form="",this.value="",this._type="button",this.onClick=()=>{},this.href="",this._target="_self",this._internals=this.attachInternals()}get size(){return this._size}set size(r){this._size=G.VALID_SIZES.includes(r)?r:"md"}get variant(){return this._variant}set variant(r){this._variant=G.VALID_VARIANTS.includes(r)?r:"filled"}get type(){return this._type}set type(r){this._type=G.VALID_TYPES.includes(r)?r:"button"}get target(){return this._target}set target(r){this._target=G.VALID_TARGETS.includes(r)?r:"_self"}connectedCallback(){super.connectedCallback(),this.id||(this.id=this._generateUniqueId())}_generateUniqueId(){return`nys-button-${Date.now()}-${b7++}`}_manageFormAction(r){typeof this.onClick=="function"&&this.onClick(r);const t=this._internals.form;if(t)switch(this.type){case"submit":t.requestSubmit();break;case"reset":t.reset();break}}_handleFocus(){this.dispatchEvent(new Event("nys-focus"))}_handleBlur(){this.dispatchEvent(new Event("nys-blur"))}_handleClick(r){if(this.disabled){r.preventDefault();return}this._manageFormAction(r),this.dispatchEvent(new Event("nys-click"))}_handleKeydown(r){(r.code==="Space"||r.code==="Enter"||r.key===" "||r.key==="Enter")&&(r.preventDefault(),this.disabled||this._manageFormAction(r))}render(){return d`
1269
1279
  ${this.href?d`
1270
1280
  <div class="nys-button__linkwrapper">
1271
1281
  <a
@@ -1278,7 +1288,7 @@
1278
1288
  value=${b1(this.value?this.value:void 0)}
1279
1289
  href=${this.href}
1280
1290
  target=${this.target}
1281
- aria-label=${this.ariaLabel||this.label||"button"}
1291
+ aria-label=${this.ariaLabel||this.label||(this.circle?this.icon:null)||"button"}
1282
1292
  @click=${this._handleClick}
1283
1293
  @focus="${this._handleFocus}"
1284
1294
  @blur="${this._handleBlur}"
@@ -1286,10 +1296,16 @@
1286
1296
  ${this.prefixIcon&&this.variant!=="text"?d`<slot name="prefix-icon">
1287
1297
  <nys-icon size="16" name=${this.prefixIcon}></nys-icon>
1288
1298
  </slot>`:""}
1289
- ${this.label?d`<label class="nys-button__text">${this.label}</label>`:""}
1299
+ ${this.label&&!this.circle?d`<label class="nys-button__text">${this.label}</label>`:""}
1290
1300
  ${this.suffixIcon&&this.variant!=="text"?d`<slot name="suffix-icon">
1291
1301
  <nys-icon size="16" name=${this.suffixIcon}></nys-icon>
1292
1302
  </slot>`:""}
1303
+ ${this.circle&&this.icon?d`<slot name="circle-icon"
1304
+ ><nys-icon
1305
+ size=${this.size==="sm"?"24":this.size==="lg"?"40":"32"}
1306
+ name=${this.icon}
1307
+ ></nys-icon
1308
+ ></slot>`:""}
1293
1309
  </a>
1294
1310
  </div>
1295
1311
  `:d`
@@ -1301,7 +1317,7 @@
1301
1317
  form=${b1(this.form?this.form:void 0)}
1302
1318
  value=${b1(this.value?this.value:void 0)}
1303
1319
  type=${this.type}
1304
- aria-label=${this.ariaLabel||this.label||"button"}
1320
+ aria-label=${this.ariaLabel||this.label||(this.circle?this.icon:null)||"button"}
1305
1321
  @click=${this._handleClick}
1306
1322
  @focus="${this._handleFocus}"
1307
1323
  @blur="${this._handleBlur}"
@@ -1310,13 +1326,19 @@
1310
1326
  ${this.prefixIcon&&this.variant!=="text"?d`<slot name="prefix-icon">
1311
1327
  <nys-icon size="16" name=${this.prefixIcon}></nys-icon>
1312
1328
  </slot>`:""}
1313
- ${this.label?d`<label class="nys-button__text">${this.label}</label>`:""}
1329
+ ${this.label&&!this.circle?d`<label class="nys-button__text">${this.label}</label>`:""}
1314
1330
  ${this.suffixIcon&&this.variant!=="text"?d`<slot name="suffix-icon">
1315
1331
  <nys-icon size="16" name=${this.suffixIcon}></nys-icon>
1316
1332
  </slot>`:""}
1333
+ ${this.circle&&this.icon?d`<slot name="circle-icon">
1334
+ <nys-icon
1335
+ size=${this.size==="sm"?"24":this.size==="lg"?"40":"32"}
1336
+ name=${this.icon}
1337
+ ></nys-icon>
1338
+ </slot>`:""}
1317
1339
  </button>
1318
1340
  `}
1319
- `}},G.VALID_SIZES=["sm","md","lg"],G.VALID_VARIANTS=["filled","outline","ghost","text"],G.VALID_TYPES=["submit","reset","button"],G.VALID_TARGETS=["_self","_blank","_parent","_top","framename"],G.styles=i7,G.formAssociated=!0,G);P([z({type:String})],D.prototype,"id",2),P([z({type:String,reflect:!0})],D.prototype,"name",2),P([z({reflect:!0})],D.prototype,"size",1),P([z({type:Boolean,reflect:!0})],D.prototype,"fullWidth",2),P([z({reflect:!0})],D.prototype,"variant",1),P([z({type:Boolean,reflect:!0})],D.prototype,"inverted",2),P([z({type:String})],D.prototype,"label",2),P([z({type:String})],D.prototype,"ariaLabel",2),P([z({type:String})],D.prototype,"prefixIcon",2),P([z({type:String})],D.prototype,"suffixIcon",2),P([z({type:Boolean,reflect:!0})],D.prototype,"disabled",2),P([z({type:String})],D.prototype,"form",2),P([z({type:String})],D.prototype,"value",2),P([z({reflect:!0})],D.prototype,"type",1),P([z({type:Function})],D.prototype,"onClick",2),P([z({type:String})],D.prototype,"href",2),P([z({reflect:!0})],D.prototype,"target",1);let g7=D;customElements.get("nys-button")||customElements.define("nys-button",g7);var _7=Object.defineProperty,b7=Object.getOwnPropertyDescriptor,q=(o,t,e,s)=>{for(var r=s>1?void 0:s?b7(t,e):t,i=o.length-1,n;i>=0;i--)(n=o[i])&&(r=(s?n(t,e,r):n(r))||r);return s&&r&&_7(t,e,r),r};let m7=0;const R=(E1=class extends f{constructor(){super(...arguments),this.id="",this.heading="",this.icon="",this.dismissible=!1,this.duration=0,this.text="",this.primaryAction="",this.secondaryAction="",this.primaryLabel="Learn more",this.secondaryLabel="Dismiss",this._alertClosed=!1,this._slotHasContent=!0,this._type="base",this._timeoutId=null}get type(){return this._type}set type(t){this._type=E1.VALID_TYPES.includes(t)?t:"base"}get ariaAttributes(){const t=this.type==="danger"||this.type==="emergency"?"alert":this.type==="success"?"status":"region",e=t==="region"?`${this.type} alert`:"";return{role:t,ariaLabel:e}}connectedCallback(){super.connectedCallback(),this.id||(this.id=this._generateUniqueId()),this.duration>0&&(this._timeoutId=setTimeout(()=>{this._closeAlert()},this.duration))}disconnectedCallback(){this._timeoutId&&clearTimeout(this._timeoutId),super.disconnectedCallback()}firstUpdated(){this._checkSlotContent()}_generateUniqueId(){return`nys-alert-${Date.now()}-${m7++}`}_getIconName(){return this.icon?this.icon:this._checkAltNaming()}_checkAltNaming(){return this.type==="success"?"check_circle":this.type==="base"?"info":this.type==="danger"?"error":this.type==="emergency"?"emergency_home":this.type}_closeAlert(){this._alertClosed=!0,this.dispatchEvent(new CustomEvent("nys-alertClosed",{detail:{type:this.type,label:this.heading},bubbles:!0,composed:!0}))}async _checkSlotContent(){var e;const t=(e=this.shadowRoot)==null?void 0:e.querySelector("slot");if(t){const s=t.assignedNodes({flatten:!0}).filter(r=>{var i;return r.nodeType===Node.ELEMENT_NODE||r.nodeType===Node.TEXT_NODE&&((i=r.textContent)==null?void 0:i.trim())});await Promise.resolve(),this._slotHasContent=s.length>0}else await Promise.resolve(),this._slotHasContent=!1}render(){var s,r;const{role:t,ariaLabel:e}=this.ariaAttributes;return d`
1341
+ `}},G.VALID_SIZES=["sm","md","lg"],G.VALID_VARIANTS=["filled","outline","ghost","text"],G.VALID_TYPES=["submit","reset","button"],G.VALID_TARGETS=["_self","_blank","_parent","_top","framename"],G.styles=c7,G.formAssociated=!0,G);H([M({type:String})],S.prototype,"id",2),H([M({type:String,reflect:!0})],S.prototype,"name",2),H([M({reflect:!0})],S.prototype,"size",1),H([M({type:Boolean,reflect:!0})],S.prototype,"fullWidth",2),H([M({reflect:!0})],S.prototype,"variant",1),H([M({type:Boolean,reflect:!0})],S.prototype,"inverted",2),H([M({type:String})],S.prototype,"label",2),H([M({type:String})],S.prototype,"ariaLabel",2),H([M({type:String})],S.prototype,"prefixIcon",2),H([M({type:String})],S.prototype,"suffixIcon",2),H([M({type:Boolean,reflect:!0})],S.prototype,"circle",2),H([M({type:String})],S.prototype,"icon",2),H([M({type:Boolean,reflect:!0})],S.prototype,"disabled",2),H([M({type:String})],S.prototype,"form",2),H([M({type:String})],S.prototype,"value",2),H([M({reflect:!0})],S.prototype,"type",1),H([M({type:Function})],S.prototype,"onClick",2),H([M({type:String})],S.prototype,"href",2),H([M({reflect:!0})],S.prototype,"target",1);let m7=S;customElements.get("nys-button")||customElements.define("nys-button",m7);var x7=Object.defineProperty,w7=Object.getOwnPropertyDescriptor,q=(r,t,e,s)=>{for(var o=s>1?void 0:s?w7(t,e):t,i=r.length-1,n;i>=0;i--)(n=r[i])&&(o=(s?n(t,e,o):n(o))||o);return s&&o&&x7(t,e,o),o};let k7=0;const R=(E1=class extends f{constructor(){super(...arguments),this.id="",this.heading="",this.icon="",this.dismissible=!1,this.duration=0,this.text="",this.primaryAction="",this.secondaryAction="",this.primaryLabel="Learn more",this.secondaryLabel="Dismiss",this._alertClosed=!1,this._slotHasContent=!0,this._type="base",this._timeoutId=null}get type(){return this._type}set type(t){this._type=E1.VALID_TYPES.includes(t)?t:"base"}get ariaAttributes(){const t=this.type==="danger"||this.type==="emergency"?"alert":this.type==="success"?"status":"region",e=t==="region"?`${this.type} alert`:"";return{role:t,ariaLabel:e}}connectedCallback(){super.connectedCallback(),this.id||(this.id=this._generateUniqueId()),this.duration>0&&(this._timeoutId=setTimeout(()=>{this._closeAlert()},this.duration))}disconnectedCallback(){this._timeoutId&&clearTimeout(this._timeoutId),super.disconnectedCallback()}firstUpdated(){this._checkSlotContent()}_generateUniqueId(){return`nys-alert-${Date.now()}-${k7++}`}_getIconName(){return this.icon?this.icon:this._checkAltNaming()}_checkAltNaming(){return this.type==="success"?"check_circle":this.type==="base"?"info":this.type==="danger"?"error":this.type==="emergency"?"emergency_home":this.type}_closeAlert(){this._alertClosed=!0,this.dispatchEvent(new CustomEvent("nys-alertClosed",{detail:{type:this.type,label:this.heading},bubbles:!0,composed:!0}))}async _checkSlotContent(){var e;const t=(e=this.shadowRoot)==null?void 0:e.querySelector("slot");if(t){const s=t.assignedNodes({flatten:!0}).filter(o=>{var i;return o.nodeType===Node.ELEMENT_NODE||o.nodeType===Node.TEXT_NODE&&((i=o.textContent)==null?void 0:i.trim())});await Promise.resolve(),this._slotHasContent=s.length>0}else await Promise.resolve(),this._slotHasContent=!1}render(){var s,o;const{role:t,ariaLabel:e}=this.ariaAttributes;return d`
1320
1342
  ${this._alertClosed?"":d` <div
1321
1343
  id=${this.id}
1322
1344
  class="nys-alert__container ${this._slotHasContent||((s=this.text)==null?void 0:s.trim().length)>0?"":"nys-alert--centered"}"
@@ -1332,7 +1354,7 @@
1332
1354
  </div>
1333
1355
  <div class="nys-alert__texts">
1334
1356
  <p class="nys-alert__header">${this.heading}</p>
1335
- ${this._slotHasContent?d`<slot></slot>`:((r=this.text)==null?void 0:r.trim().length)>0?d`<p class="nys-alert__text">${this.text}</p>`:""}
1357
+ ${this._slotHasContent?d`<slot></slot>`:((o=this.text)==null?void 0:o.trim().length)>0?d`<p class="nys-alert__text">${this.text}</p>`:""}
1336
1358
  ${this.primaryAction||this.secondaryAction?d`<div class="nys-alert__actions">
1337
1359
  ${this.primaryAction?d`<a
1338
1360
  href=${v(this.primaryAction||void 0)}
@@ -1351,14 +1373,15 @@
1351
1373
  ${this.dismissible?d` <nys-button
1352
1374
  id="dismiss-btn"
1353
1375
  variant="ghost"
1354
- prefixIcon="close"
1376
+ circle
1377
+ icon="close"
1355
1378
  size="sm"
1356
1379
  ?inverted=${this.type==="emergency"}
1357
1380
  ariaLabel="close button"
1358
1381
  .onClick=${()=>this._closeAlert()}
1359
1382
  ></nys-button>`:""}
1360
1383
  </div>`}
1361
- `}},E1.styles=Ms,E1.VALID_TYPES=["base","info","success","warning","danger","emergency"],E1);q([c({type:String})],R.prototype,"id",2),q([c({type:String})],R.prototype,"heading",2),q([c({type:String})],R.prototype,"icon",2),q([c({type:Boolean,reflect:!0})],R.prototype,"dismissible",2),q([c({type:Number,reflect:!0})],R.prototype,"duration",2),q([c({type:String})],R.prototype,"text",2),q([c({type:String})],R.prototype,"primaryAction",2),q([c({type:String})],R.prototype,"secondaryAction",2),q([c({type:String})],R.prototype,"primaryLabel",2),q([c({type:String})],R.prototype,"secondaryLabel",2),q([g1()],R.prototype,"_alertClosed",2),q([g1()],R.prototype,"_slotHasContent",2),q([c({reflect:!0})],R.prototype,"type",1);let Ge=R;customElements.get("nys-alert")||customElements.define("nys-alert",Ge);const x7=b`
1384
+ `}},E1.styles=Vs,E1.VALID_TYPES=["base","info","success","warning","danger","emergency"],E1);q([c({type:String})],R.prototype,"id",2),q([c({type:String})],R.prototype,"heading",2),q([c({type:String})],R.prototype,"icon",2),q([c({type:Boolean,reflect:!0})],R.prototype,"dismissible",2),q([c({type:Number,reflect:!0})],R.prototype,"duration",2),q([c({type:String})],R.prototype,"text",2),q([c({type:String})],R.prototype,"primaryAction",2),q([c({type:String})],R.prototype,"secondaryAction",2),q([c({type:String})],R.prototype,"primaryLabel",2),q([c({type:String})],R.prototype,"secondaryLabel",2),q([l1()],R.prototype,"_alertClosed",2),q([l1()],R.prototype,"_slotHasContent",2),q([c({reflect:!0})],R.prototype,"type",1);let K2=R;customElements.get("nys-alert")||customElements.define("nys-alert",K2);const $7=b`
1362
1385
  :host {
1363
1386
  /* Global Avatar Styles */
1364
1387
  --_nys-avatar-shape: var(--nys-radius-round, 1776px);
@@ -1425,7 +1448,7 @@
1425
1448
  height: 100%;
1426
1449
  fill: currentColor;
1427
1450
  }
1428
- `;var w7=Object.defineProperty,k7=Object.getOwnPropertyDescriptor,l1=(o,t,e,s)=>{for(var r=s>1?void 0:s?k7(t,e):t,i=o.length-1,n;i>=0;i--)(n=o[i])&&(r=(s?n(t,e,r):n(r))||r);return s&&r&&w7(t,e,r),r};let $7=0;const o1=(A1=class extends f{constructor(){super(...arguments),this.id="",this.label="",this.image="",this.initials="",this.icon="",this.color="#555",this.lazy=!1,this._shape="circle",this._slotHasContent=!0}get shape(){return this._shape}set shape(t){this._shape=A1.VALID_SHAPES.includes(t)?t:"circle",this.requestUpdate("shape")}connectedCallback(){super.connectedCallback(),this.id||(this.id=`nys-avatar-${Date.now()}-${$7++}`)}firstUpdated(){this._checkSlotContent()}async _checkSlotContent(){var s;const t=(s=this.shadowRoot)==null?void 0:s.querySelector("slot");if(!t){this._slotHasContent=!1;return}await Promise.resolve();const e=t.assignedNodes({flatten:!0}).filter(r=>{var i;return r.nodeType===Node.ELEMENT_NODE||r.nodeType===Node.TEXT_NODE&&((i=r.textContent)==null?void 0:i.trim())});this._slotHasContent=e.length>0}render(){var t,e,s,r;return d`
1451
+ `;var S7=Object.defineProperty,E7=Object.getOwnPropertyDescriptor,c1=(r,t,e,s)=>{for(var o=s>1?void 0:s?E7(t,e):t,i=r.length-1,n;i>=0;i--)(n=r[i])&&(o=(s?n(t,e,o):n(o))||o);return s&&o&&S7(t,e,o),o};let A7=0;const r1=(A1=class extends f{constructor(){super(...arguments),this.id="",this.label="",this.image="",this.initials="",this.icon="",this.color="#555",this.lazy=!1,this._shape="circle",this._slotHasContent=!0}get shape(){return this._shape}set shape(t){this._shape=A1.VALID_SHAPES.includes(t)?t:"circle",this.requestUpdate("shape")}connectedCallback(){super.connectedCallback(),this.id||(this.id=`nys-avatar-${Date.now()}-${A7++}`)}firstUpdated(){this._checkSlotContent()}async _checkSlotContent(){var s;const t=(s=this.shadowRoot)==null?void 0:s.querySelector("slot");if(!t){this._slotHasContent=!1;return}await Promise.resolve();const e=t.assignedNodes({flatten:!0}).filter(o=>{var i;return o.nodeType===Node.ELEMENT_NODE||o.nodeType===Node.TEXT_NODE&&((i=o.textContent)==null?void 0:i.trim())});this._slotHasContent=e.length>0}render(){var t,e,s,o;return d`
1429
1452
  <label class="nys-avatar" id=${this.id}>
1430
1453
  <div class="nys-avatar__content">
1431
1454
  <div
@@ -1451,14 +1474,46 @@
1451
1474
  </div>`:d`<div part="nys-avatar__icon">
1452
1475
  <nys-icon
1453
1476
  label="nys-avatar__icon"
1454
- name=${((r=this.icon)==null?void 0:r.length)>0?this.icon:"account_circle"}
1477
+ name=${((o=this.icon)==null?void 0:o.length)>0?this.icon:"account_circle"}
1455
1478
  size="xl"
1456
1479
  ></nys-icon>
1457
1480
  </div>`}
1458
1481
  </div>
1459
1482
  </div>
1460
1483
  </label>
1461
- `}},A1.styles=x7,A1.VALID_SHAPES=["square","rounded","circle"],A1);l1([c({type:String})],o1.prototype,"id",2),l1([c({type:String})],o1.prototype,"label",2),l1([c({type:String})],o1.prototype,"image",2),l1([c({type:String})],o1.prototype,"initials",2),l1([c({type:String})],o1.prototype,"icon",2),l1([c({type:String})],o1.prototype,"color",2),l1([c({type:Boolean,reflect:!0})],o1.prototype,"lazy",2),l1([c({reflect:!0})],o1.prototype,"shape",1),l1([g1()],o1.prototype,"_slotHasContent",2);let We=o1;customElements.get("nys-avatar")||customElements.define("nys-avatar",We);const S7=b`
1484
+ `}},A1.styles=$7,A1.VALID_SHAPES=["square","rounded","circle"],A1);c1([c({type:String})],r1.prototype,"id",2),c1([c({type:String})],r1.prototype,"label",2),c1([c({type:String})],r1.prototype,"image",2),c1([c({type:String})],r1.prototype,"initials",2),c1([c({type:String})],r1.prototype,"icon",2),c1([c({type:String})],r1.prototype,"color",2),c1([c({type:Boolean,reflect:!0})],r1.prototype,"lazy",2),c1([c({reflect:!0})],r1.prototype,"shape",1),c1([l1()],r1.prototype,"_slotHasContent",2);let J2=r1;customElements.get("nys-avatar")||customElements.define("nys-avatar",J2);const L7=b`
1485
+ :host {
1486
+ }
1487
+
1488
+ .nys-backtotop {
1489
+ --_nys-button-radius-left: var(--nys-radius-round, 1776px);
1490
+ --_nys-button-radius-right: var(--nys-radius-round, 1776px);
1491
+ --_nys-button-padding-y: var(--nys-space-100, 8px);
1492
+ --_nys-button-padding-x: var(--nys-space-200, 16px);
1493
+
1494
+ position: fixed;
1495
+ bottom: 1rem;
1496
+ right: 1rem;
1497
+ z-index: 9999;
1498
+ }
1499
+
1500
+ .left {
1501
+ left: 1rem;
1502
+ right: auto;
1503
+ }
1504
+
1505
+ .visible {
1506
+ display: inline-flex;
1507
+ }
1508
+ `;var M7=Object.defineProperty,Ie=(r,t,e,s)=>{for(var o=void 0,i=r.length-1,n;i>=0;i--)(n=r[i])&&(o=n(t,e,o)||o);return o&&M7(t,e,o),o};const r2=class r2 extends f{constructor(){super(),this.position="right",this.visible=!1,this.isMobile=!1,this._handleScroll=this._handleScroll.bind(this),this._handleResize=this._handleResize.bind(this),this.mediaQuery=window.matchMedia("(max-width: 480px)")}connectedCallback(){super.connectedCallback(),window.addEventListener("scroll",this._handleScroll),this.mediaQuery.addEventListener("change",this._handleResize),this._handleResize()}disconnectedCallback(){window.removeEventListener("scroll",this._handleScroll),this.mediaQuery.removeEventListener("change",this._handleResize),super.disconnectedCallback()}_handleScroll(){const t=window.innerHeight*1.5;this.visible=window.scrollY>t}_scrollToTop(){window.scrollTo({top:0,behavior:"smooth"})}_handleResize(){this.isMobile=this.mediaQuery.matches}render(){const t=["nys-backtotop",this.position,this.visible?"visible":""].filter(Boolean).join(" ");return d`<nys-button
1509
+ id="nys-backtotop"
1510
+ prefixIcon="chevron_up"
1511
+ variant="outline"
1512
+ label="Back To Top"
1513
+ class="${t}"
1514
+ .onClick=${this._scrollToTop}
1515
+ ?circle=${this.isMobile}
1516
+ ></nys-button>`}};r2.styles=L7;let O1=r2;Ie([c({type:String})],O1.prototype,"position"),Ie([c({type:Boolean,reflect:!0})],O1.prototype,"visible"),Ie([l1()],O1.prototype,"isMobile"),customElements.get("nys-backtotop")||customElements.define("nys-backtotop",O1);const D7=b`
1462
1517
  :host {
1463
1518
  /* Anything that can be overridden should be defined here */
1464
1519
 
@@ -1784,9 +1839,18 @@
1784
1839
  );
1785
1840
  }
1786
1841
 
1842
+ /* Circle */
1843
+ :host([circle]) {
1844
+ --_nys-button-width: var(--_nys-button-height);
1845
+ --_nys-button-radius-left: var(--nys-radius-round, 1776px);
1846
+ --_nys-button-radius-right: var(--nys-radius-round, 1776px);
1847
+ --_nys-button-padding-y: 0;
1848
+ --_nys-button-padding-x: 0;
1849
+ }
1850
+
1787
1851
  .nys-button {
1788
1852
  width: var(--_nys-button-width);
1789
- height: var(--_nys-button-height);
1853
+ min-height: var(--_nys-button-height);
1790
1854
  /* set every corner individually */
1791
1855
  border-top-left-radius: var(--_nys-button-radius-left);
1792
1856
  border-bottom-left-radius: var(--_nys-button-radius-left);
@@ -1810,6 +1874,11 @@
1810
1874
  cursor: pointer;
1811
1875
  }
1812
1876
 
1877
+ :host([circle]) .nys-button {
1878
+ max-width: var(--_nys-button-height);
1879
+ max-height: var(--_nys-button-height);
1880
+ }
1881
+
1813
1882
  .nys-button:hover {
1814
1883
  background-color: var(--_nys-button-color-bg-hover);
1815
1884
  color: var(--_nys-button-color-text-hover);
@@ -1864,7 +1933,7 @@
1864
1933
  align-items: center;
1865
1934
  user-select: none;
1866
1935
  }
1867
- `;var E7=Object.defineProperty,A7=Object.getOwnPropertyDescriptor,O=(o,t,e,s)=>{for(var r=s>1?void 0:s?A7(t,e):t,i=o.length-1,n;i>=0;i--)(n=o[i])&&(r=(s?n(t,e,r):n(r))||r);return s&&r&&E7(t,e,r),r};let L7=0;const H=(B=class extends f{constructor(){super(),this.id="",this.name="",this._size="md",this.fullWidth=!1,this._variant="filled",this.inverted=!1,this.label="",this.ariaLabel="",this.prefixIcon="",this.suffixIcon="",this.disabled=!1,this.form="",this.value="",this._type="button",this.onClick=()=>{},this.href="",this._target="_self",this._internals=this.attachInternals()}get size(){return this._size}set size(t){this._size=B.VALID_SIZES.includes(t)?t:"md"}get variant(){return this._variant}set variant(t){this._variant=B.VALID_VARIANTS.includes(t)?t:"filled"}get type(){return this._type}set type(t){this._type=B.VALID_TYPES.includes(t)?t:"button"}get target(){return this._target}set target(t){this._target=B.VALID_TARGETS.includes(t)?t:"_self"}connectedCallback(){super.connectedCallback(),this.id||(this.id=this._generateUniqueId())}_generateUniqueId(){return`nys-button-${Date.now()}-${L7++}`}_manageFormAction(t){typeof this.onClick=="function"&&this.onClick(t);const e=this._internals.form;if(e)switch(this.type){case"submit":e.requestSubmit();break;case"reset":e.reset();break}}_handleFocus(){this.dispatchEvent(new Event("nys-focus"))}_handleBlur(){this.dispatchEvent(new Event("nys-blur"))}_handleClick(t){if(this.disabled){t.preventDefault();return}this._manageFormAction(t),this.dispatchEvent(new Event("nys-click"))}_handleKeydown(t){(t.code==="Space"||t.code==="Enter"||t.key===" "||t.key==="Enter")&&(t.preventDefault(),this.disabled||this._manageFormAction(t))}render(){return d`
1936
+ `;var H7=Object.defineProperty,V7=Object.getOwnPropertyDescriptor,V=(r,t,e,s)=>{for(var o=s>1?void 0:s?V7(t,e):t,i=r.length-1,n;i>=0;i--)(n=r[i])&&(o=(s?n(t,e,o):n(o))||o);return s&&o&&H7(t,e,o),o};let U7=0;const E=(B=class extends f{constructor(){super(),this.id="",this.name="",this._size="md",this.fullWidth=!1,this._variant="filled",this.inverted=!1,this.label="",this.ariaLabel="",this.prefixIcon="",this.suffixIcon="",this.circle=!1,this.icon="",this.disabled=!1,this.form="",this.value="",this._type="button",this.onClick=()=>{},this.href="",this._target="_self",this._internals=this.attachInternals()}get size(){return this._size}set size(t){this._size=B.VALID_SIZES.includes(t)?t:"md"}get variant(){return this._variant}set variant(t){this._variant=B.VALID_VARIANTS.includes(t)?t:"filled"}get type(){return this._type}set type(t){this._type=B.VALID_TYPES.includes(t)?t:"button"}get target(){return this._target}set target(t){this._target=B.VALID_TARGETS.includes(t)?t:"_self"}connectedCallback(){super.connectedCallback(),this.id||(this.id=this._generateUniqueId())}_generateUniqueId(){return`nys-button-${Date.now()}-${U7++}`}_manageFormAction(t){typeof this.onClick=="function"&&this.onClick(t);const e=this._internals.form;if(e)switch(this.type){case"submit":e.requestSubmit();break;case"reset":e.reset();break}}_handleFocus(){this.dispatchEvent(new Event("nys-focus"))}_handleBlur(){this.dispatchEvent(new Event("nys-blur"))}_handleClick(t){if(this.disabled){t.preventDefault();return}this._manageFormAction(t),this.dispatchEvent(new Event("nys-click"))}_handleKeydown(t){(t.code==="Space"||t.code==="Enter"||t.key===" "||t.key==="Enter")&&(t.preventDefault(),this.disabled||this._manageFormAction(t))}render(){return d`
1868
1937
  ${this.href?d`
1869
1938
  <div class="nys-button__linkwrapper">
1870
1939
  <a
@@ -1877,7 +1946,7 @@
1877
1946
  value=${v(this.value?this.value:void 0)}
1878
1947
  href=${this.href}
1879
1948
  target=${this.target}
1880
- aria-label=${this.ariaLabel||this.label||"button"}
1949
+ aria-label=${this.ariaLabel||this.label||(this.circle?this.icon:null)||"button"}
1881
1950
  @click=${this._handleClick}
1882
1951
  @focus="${this._handleFocus}"
1883
1952
  @blur="${this._handleBlur}"
@@ -1885,10 +1954,16 @@
1885
1954
  ${this.prefixIcon&&this.variant!=="text"?d`<slot name="prefix-icon">
1886
1955
  <nys-icon size="16" name=${this.prefixIcon}></nys-icon>
1887
1956
  </slot>`:""}
1888
- ${this.label?d`<label class="nys-button__text">${this.label}</label>`:""}
1957
+ ${this.label&&!this.circle?d`<label class="nys-button__text">${this.label}</label>`:""}
1889
1958
  ${this.suffixIcon&&this.variant!=="text"?d`<slot name="suffix-icon">
1890
1959
  <nys-icon size="16" name=${this.suffixIcon}></nys-icon>
1891
1960
  </slot>`:""}
1961
+ ${this.circle&&this.icon?d`<slot name="circle-icon"
1962
+ ><nys-icon
1963
+ size=${this.size==="sm"?"24":this.size==="lg"?"40":"32"}
1964
+ name=${this.icon}
1965
+ ></nys-icon
1966
+ ></slot>`:""}
1892
1967
  </a>
1893
1968
  </div>
1894
1969
  `:d`
@@ -1900,7 +1975,7 @@
1900
1975
  form=${v(this.form?this.form:void 0)}
1901
1976
  value=${v(this.value?this.value:void 0)}
1902
1977
  type=${this.type}
1903
- aria-label=${this.ariaLabel||this.label||"button"}
1978
+ aria-label=${this.ariaLabel||this.label||(this.circle?this.icon:null)||"button"}
1904
1979
  @click=${this._handleClick}
1905
1980
  @focus="${this._handleFocus}"
1906
1981
  @blur="${this._handleBlur}"
@@ -1909,13 +1984,19 @@
1909
1984
  ${this.prefixIcon&&this.variant!=="text"?d`<slot name="prefix-icon">
1910
1985
  <nys-icon size="16" name=${this.prefixIcon}></nys-icon>
1911
1986
  </slot>`:""}
1912
- ${this.label?d`<label class="nys-button__text">${this.label}</label>`:""}
1987
+ ${this.label&&!this.circle?d`<label class="nys-button__text">${this.label}</label>`:""}
1913
1988
  ${this.suffixIcon&&this.variant!=="text"?d`<slot name="suffix-icon">
1914
1989
  <nys-icon size="16" name=${this.suffixIcon}></nys-icon>
1915
1990
  </slot>`:""}
1991
+ ${this.circle&&this.icon?d`<slot name="circle-icon">
1992
+ <nys-icon
1993
+ size=${this.size==="sm"?"24":this.size==="lg"?"40":"32"}
1994
+ name=${this.icon}
1995
+ ></nys-icon>
1996
+ </slot>`:""}
1916
1997
  </button>
1917
1998
  `}
1918
- `}},B.VALID_SIZES=["sm","md","lg"],B.VALID_VARIANTS=["filled","outline","ghost","text"],B.VALID_TYPES=["submit","reset","button"],B.VALID_TARGETS=["_self","_blank","_parent","_top","framename"],B.styles=S7,B.formAssociated=!0,B);O([c({type:String})],H.prototype,"id",2),O([c({type:String,reflect:!0})],H.prototype,"name",2),O([c({reflect:!0})],H.prototype,"size",1),O([c({type:Boolean,reflect:!0})],H.prototype,"fullWidth",2),O([c({reflect:!0})],H.prototype,"variant",1),O([c({type:Boolean,reflect:!0})],H.prototype,"inverted",2),O([c({type:String})],H.prototype,"label",2),O([c({type:String})],H.prototype,"ariaLabel",2),O([c({type:String})],H.prototype,"prefixIcon",2),O([c({type:String})],H.prototype,"suffixIcon",2),O([c({type:Boolean,reflect:!0})],H.prototype,"disabled",2),O([c({type:String})],H.prototype,"form",2),O([c({type:String})],H.prototype,"value",2),O([c({reflect:!0})],H.prototype,"type",1),O([c({type:Function})],H.prototype,"onClick",2),O([c({type:String})],H.prototype,"href",2),O([c({reflect:!0})],H.prototype,"target",1);let Ye=H;customElements.get("nys-button")||customElements.define("nys-button",Ye);const Ke=b`
1999
+ `}},B.VALID_SIZES=["sm","md","lg"],B.VALID_VARIANTS=["filled","outline","ghost","text"],B.VALID_TYPES=["submit","reset","button"],B.VALID_TARGETS=["_self","_blank","_parent","_top","framename"],B.styles=D7,B.formAssociated=!0,B);V([c({type:String})],E.prototype,"id",2),V([c({type:String,reflect:!0})],E.prototype,"name",2),V([c({reflect:!0})],E.prototype,"size",1),V([c({type:Boolean,reflect:!0})],E.prototype,"fullWidth",2),V([c({reflect:!0})],E.prototype,"variant",1),V([c({type:Boolean,reflect:!0})],E.prototype,"inverted",2),V([c({type:String})],E.prototype,"label",2),V([c({type:String})],E.prototype,"ariaLabel",2),V([c({type:String})],E.prototype,"prefixIcon",2),V([c({type:String})],E.prototype,"suffixIcon",2),V([c({type:Boolean,reflect:!0})],E.prototype,"circle",2),V([c({type:String})],E.prototype,"icon",2),V([c({type:Boolean,reflect:!0})],E.prototype,"disabled",2),V([c({type:String})],E.prototype,"form",2),V([c({type:String})],E.prototype,"value",2),V([c({reflect:!0})],E.prototype,"type",1),V([c({type:Function})],E.prototype,"onClick",2),V([c({type:String})],E.prototype,"href",2),V([c({reflect:!0})],E.prototype,"target",1);let X2=E;customElements.get("nys-button")||customElements.define("nys-button",X2);const Q2=b`
1919
2000
  :host {
1920
2001
  /* Anything that can be overridden should be defined here */
1921
2002
 
@@ -2099,7 +2180,6 @@
2099
2180
 
2100
2181
  .nys-checkbox {
2101
2182
  display: flex;
2102
- flex-direction: column;
2103
2183
  font-family: var(--_nys-checkbox-font-family);
2104
2184
  font-size: var(--_nys-checkbox-font-size);
2105
2185
  line-height: var(--_nys-checkbox-line-height);
@@ -2111,11 +2191,6 @@
2111
2191
  background: var(--_nys-checkbox-tile-bg-color);
2112
2192
  padding: var(--_nys-checkbox-tile-padding-y)
2113
2193
  var(--_nys-checkbox-tile-padding-x);
2114
- }
2115
-
2116
- /* wraps the single checkbox */
2117
- .nys-checkbox__content {
2118
- display: flex;
2119
2194
  gap: var(--_nys-checkbox-gap);
2120
2195
  }
2121
2196
 
@@ -2287,15 +2362,15 @@
2287
2362
  * @license
2288
2363
  * Copyright 2019 Google LLC
2289
2364
  * SPDX-License-Identifier: BSD-3-Clause
2290
- */const Xt=globalThis,Z2=Xt.ShadowRoot&&(Xt.ShadyCSS===void 0||Xt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Je=Symbol(),Xe=new WeakMap;let M7=class{constructor(o,t,e){if(this._$cssResult$=!0,e!==Je)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=o,this.t=t}get styleSheet(){let o=this.o;const t=this.t;if(Z2&&o===void 0){const e=t!==void 0&&t.length===1;e&&(o=Xe.get(t)),o===void 0&&((this.o=o=new CSSStyleSheet).replaceSync(this.cssText),e&&Xe.set(t,o))}return o}toString(){return this.cssText}};const D7=o=>new M7(typeof o=="string"?o:o+"",void 0,Je),H7=(o,t)=>{if(Z2)o.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const e of t){const s=document.createElement("style"),r=Xt.litNonce;r!==void 0&&s.setAttribute("nonce",r),s.textContent=e.cssText,o.appendChild(s)}},Qe=Z2?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return D7(e)})(o):o;/**
2365
+ */const Qt=globalThis,Te=Qt.ShadowRoot&&(Qt.ShadyCSS===void 0||Qt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,t5=Symbol(),e5=new WeakMap;let z7=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==t5)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(Te&&t===void 0){const s=e!==void 0&&e.length===1;s&&(t=e5.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&e5.set(e,t))}return t}toString(){return this.cssText}};const P7=r=>new z7(typeof r=="string"?r:r+"",void 0,t5),O7=(r,t)=>{if(Te)r.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const e of t){const s=document.createElement("style"),o=Qt.litNonce;o!==void 0&&s.setAttribute("nonce",o),s.textContent=e.cssText,r.appendChild(s)}},s5=Te?r=>r:r=>r instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return P7(e)})(r):r;/**
2291
2366
  * @license
2292
2367
  * Copyright 2017 Google LLC
2293
2368
  * SPDX-License-Identifier: BSD-3-Clause
2294
- */const{is:V7,defineProperty:U7,getOwnPropertyDescriptor:z7,getOwnPropertyNames:P7,getOwnPropertySymbols:O7,getPrototypeOf:Z7}=Object,st=globalThis,t5=st.trustedTypes,I7=t5?t5.emptyScript:"",e5=st.reactiveElementPolyfillSupport,wt=(o,t)=>o,Qt={toAttribute(o,t){switch(t){case Boolean:o=o?I7:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},I2=(o,t)=>!V7(o,t),s5={attribute:!0,type:String,converter:Qt,reflect:!1,hasChanged:I2};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),st.litPropertyMetadata??(st.litPropertyMetadata=new WeakMap);let kt=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=s5){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),r=this.getPropertyDescriptor(t,s,e);r!==void 0&&U7(this.prototype,t,r)}}static getPropertyDescriptor(t,e,s){const{get:r,set:i}=z7(this.prototype,t)??{get(){return this[e]},set(n){this[e]=n}};return{get(){return r==null?void 0:r.call(this)},set(n){const a=r==null?void 0:r.call(this);i.call(this,n),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??s5}static _$Ei(){if(this.hasOwnProperty(wt("elementProperties")))return;const t=Z7(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(wt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(wt("properties"))){const e=this.properties,s=[...P7(e),...O7(e)];for(const r of s)this.createProperty(r,e[r])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[s,r]of e)this.elementProperties.set(s,r)}this._$Eh=new Map;for(const[e,s]of this.elementProperties){const r=this._$Eu(e,s);r!==void 0&&this._$Eh.set(r,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const r of s)e.unshift(Qe(r))}else t!==void 0&&e.push(Qe(t));return e}static _$Eu(t,e){const s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach(e=>e(this))}addController(t){var e;(this._$EO??(this._$EO=new Set)).add(t),this.renderRoot!==void 0&&this.isConnected&&((e=t.hostConnected)==null||e.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return H7(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostConnected)==null?void 0:s.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostDisconnected)==null?void 0:s.call(e)})}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$EC(t,e){var s;const r=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,r);if(i!==void 0&&r.reflect===!0){const n=(((s=r.converter)==null?void 0:s.toAttribute)!==void 0?r.converter:Qt).toAttribute(e,r.type);this._$Em=t,n==null?this.removeAttribute(i):this.setAttribute(i,n),this._$Em=null}}_$AK(t,e){var s;const r=this.constructor,i=r._$Eh.get(t);if(i!==void 0&&this._$Em!==i){const n=r.getPropertyOptions(i),a=typeof n.converter=="function"?{fromAttribute:n.converter}:((s=n.converter)==null?void 0:s.fromAttribute)!==void 0?n.converter:Qt;this._$Em=i,this[i]=a.fromAttribute(e,n.type),this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){if(s??(s=this.constructor.getPropertyOptions(t)),!(s.hasChanged??I2)(this[t],e))return;this.P(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,e,s){this._$AL.has(t)||this._$AL.set(t,e),s.reflect===!0&&this._$Em!==t&&(this._$Ej??(this._$Ej=new Set)).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[i,n]of this._$Ep)this[i]=n;this._$Ep=void 0}const r=this.constructor.elementProperties;if(r.size>0)for(const[i,n]of r)n.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.P(i,this[i],n)}let e=!1;const s=this._$AL;try{e=this.shouldUpdate(s),e?(this.willUpdate(s),(t=this._$EO)==null||t.forEach(r=>{var i;return(i=r.hostUpdate)==null?void 0:i.call(r)}),this.update(s)):this._$EU()}catch(r){throw e=!1,this._$EU(),r}e&&this._$AE(s)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(s=>{var r;return(r=s.hostUpdated)==null?void 0:r.call(s)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&(this._$Ej=this._$Ej.forEach(e=>this._$EC(e,this[e]))),this._$EU()}updated(t){}firstUpdated(t){}};kt.elementStyles=[],kt.shadowRootOptions={mode:"open"},kt[wt("elementProperties")]=new Map,kt[wt("finalized")]=new Map,e5==null||e5({ReactiveElement:kt}),(st.reactiveElementVersions??(st.reactiveElementVersions=[])).push("2.0.4");/**
2369
+ */const{is:Z7,defineProperty:I7,getOwnPropertyDescriptor:T7,getOwnPropertyNames:B7,getOwnPropertySymbols:R7,getPrototypeOf:N7}=Object,ot=globalThis,o5=ot.trustedTypes,q7=o5?o5.emptyScript:"",r5=ot.reactiveElementPolyfillSupport,kt=(r,t)=>r,te={toAttribute(r,t){switch(t){case Boolean:r=r?q7:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,t){let e=r;switch(t){case Boolean:e=r!==null;break;case Number:e=r===null?null:Number(r);break;case Object:case Array:try{e=JSON.parse(r)}catch{e=null}}return e}},Be=(r,t)=>!Z7(r,t),n5={attribute:!0,type:String,converter:te,reflect:!1,hasChanged:Be};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),ot.litPropertyMetadata??(ot.litPropertyMetadata=new WeakMap);let $t=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=n5){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),o=this.getPropertyDescriptor(t,s,e);o!==void 0&&I7(this.prototype,t,o)}}static getPropertyDescriptor(t,e,s){const{get:o,set:i}=T7(this.prototype,t)??{get(){return this[e]},set(n){this[e]=n}};return{get(){return o==null?void 0:o.call(this)},set(n){const a=o==null?void 0:o.call(this);i.call(this,n),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??n5}static _$Ei(){if(this.hasOwnProperty(kt("elementProperties")))return;const t=N7(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(kt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(kt("properties"))){const e=this.properties,s=[...B7(e),...R7(e)];for(const o of s)this.createProperty(o,e[o])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[s,o]of e)this.elementProperties.set(s,o)}this._$Eh=new Map;for(const[e,s]of this.elementProperties){const o=this._$Eu(e,s);o!==void 0&&this._$Eh.set(o,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const o of s)e.unshift(s5(o))}else t!==void 0&&e.push(s5(t));return e}static _$Eu(t,e){const s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach(e=>e(this))}addController(t){var e;(this._$EO??(this._$EO=new Set)).add(t),this.renderRoot!==void 0&&this.isConnected&&((e=t.hostConnected)==null||e.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return O7(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostConnected)==null?void 0:s.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostDisconnected)==null?void 0:s.call(e)})}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$EC(t,e){var s;const o=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,o);if(i!==void 0&&o.reflect===!0){const n=(((s=o.converter)==null?void 0:s.toAttribute)!==void 0?o.converter:te).toAttribute(e,o.type);this._$Em=t,n==null?this.removeAttribute(i):this.setAttribute(i,n),this._$Em=null}}_$AK(t,e){var s;const o=this.constructor,i=o._$Eh.get(t);if(i!==void 0&&this._$Em!==i){const n=o.getPropertyOptions(i),a=typeof n.converter=="function"?{fromAttribute:n.converter}:((s=n.converter)==null?void 0:s.fromAttribute)!==void 0?n.converter:te;this._$Em=i,this[i]=a.fromAttribute(e,n.type),this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){if(s??(s=this.constructor.getPropertyOptions(t)),!(s.hasChanged??Be)(this[t],e))return;this.P(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,e,s){this._$AL.has(t)||this._$AL.set(t,e),s.reflect===!0&&this._$Em!==t&&(this._$Ej??(this._$Ej=new Set)).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[i,n]of this._$Ep)this[i]=n;this._$Ep=void 0}const o=this.constructor.elementProperties;if(o.size>0)for(const[i,n]of o)n.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.P(i,this[i],n)}let e=!1;const s=this._$AL;try{e=this.shouldUpdate(s),e?(this.willUpdate(s),(t=this._$EO)==null||t.forEach(o=>{var i;return(i=o.hostUpdate)==null?void 0:i.call(o)}),this.update(s)):this._$EU()}catch(o){throw e=!1,this._$EU(),o}e&&this._$AE(s)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(s=>{var o;return(o=s.hostUpdated)==null?void 0:o.call(s)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&(this._$Ej=this._$Ej.forEach(e=>this._$EC(e,this[e]))),this._$EU()}updated(t){}firstUpdated(t){}};$t.elementStyles=[],$t.shadowRootOptions={mode:"open"},$t[kt("elementProperties")]=new Map,$t[kt("finalized")]=new Map,r5==null||r5({ReactiveElement:$t}),(ot.reactiveElementVersions??(ot.reactiveElementVersions=[])).push("2.0.4");/**
2295
2370
  * @license
2296
2371
  * Copyright 2017 Google LLC
2297
2372
  * SPDX-License-Identifier: BSD-3-Clause
2298
- */const T7={attribute:!0,type:String,converter:Qt,reflect:!1,hasChanged:I2},B7=(o=T7,t,e)=>{const{kind:s,metadata:r}=e;let i=globalThis.litPropertyMetadata.get(r);if(i===void 0&&globalThis.litPropertyMetadata.set(r,i=new Map),i.set(e.name,o),s==="accessor"){const{name:n}=e;return{set(a){const l=t.get.call(this);t.set.call(this,a),this.requestUpdate(n,l,o)},init(a){return a!==void 0&&this.P(n,void 0,o),a}}}if(s==="setter"){const{name:n}=e;return function(a){const l=this[n];t.call(this,a),this.requestUpdate(n,l,o)}}throw Error("Unsupported decorator location: "+s)};function t2(o){return(t,e)=>typeof e=="object"?B7(o,t,e):((s,r,i)=>{const n=r.hasOwnProperty(i);return r.constructor.createProperty(i,n?{...s,wrapped:!0}:s),n?Object.getOwnPropertyDescriptor(r,i):void 0})(o,t,e)}const R7=b`
2373
+ */const j7={attribute:!0,type:String,converter:te,reflect:!1,hasChanged:Be},F7=(r=j7,t,e)=>{const{kind:s,metadata:o}=e;let i=globalThis.litPropertyMetadata.get(o);if(i===void 0&&globalThis.litPropertyMetadata.set(o,i=new Map),i.set(e.name,r),s==="accessor"){const{name:n}=e;return{set(a){const l=t.get.call(this);t.set.call(this,a),this.requestUpdate(n,l,r)},init(a){return a!==void 0&&this.P(n,void 0,r),a}}}if(s==="setter"){const{name:n}=e;return function(a){const l=this[n];t.call(this,a),this.requestUpdate(n,l,r)}}throw Error("Unsupported decorator location: "+s)};function ee(r){return(t,e)=>typeof e=="object"?F7(r,t,e):((s,o,i)=>{const n=o.hasOwnProperty(i);return o.constructor.createProperty(i,n?{...s,wrapped:!0}:s),n?Object.getOwnPropertyDescriptor(o,i):void 0})(r,t,e)}const G7=b`
2299
2374
  :host {
2300
2375
  /* Label Typography */
2301
2376
  --_nys-label-font-family: var(
@@ -2368,7 +2443,7 @@
2368
2443
  font-weight: var(--nys-optional-font-weight);
2369
2444
  color: var(--nys-optional-font-color);
2370
2445
  }
2371
- `;var N7=Object.defineProperty,e2=(o,t,e,s)=>{for(var r=void 0,i=o.length-1,n;i>=0;i--)(n=o[i])&&(r=n(t,e,r)||r);return r&&N7(t,e,r),r};const r5=class extends f{constructor(){super(...arguments),this.id="",this.label="",this.description="",this.flag=""}render(){return d`
2446
+ `;var W7=Object.defineProperty,se=(r,t,e,s)=>{for(var o=void 0,i=r.length-1,n;i>=0;i--)(n=r[i])&&(o=n(t,e,o)||o);return o&&W7(t,e,o),o};const i5=class extends f{constructor(){super(...arguments),this.id="",this.label="",this.description="",this.flag=""}render(){return d`
2372
2447
  <div class="nys-label">
2373
2448
  <label for=${this.id} class="nys-label__label"
2374
2449
  >${this.label}
@@ -2379,7 +2454,7 @@
2379
2454
  <slot name="description">${this.description}</slot>
2380
2455
  </label>
2381
2456
  </div>
2382
- `}};r5.styles=R7;let $t=r5;e2([t2({type:String})],$t.prototype,"id"),e2([t2({type:String})],$t.prototype,"label"),e2([t2({type:String})],$t.prototype,"description"),e2([t2({type:String})],$t.prototype,"flag"),customElements.get("nys-label")||customElements.define("nys-label",$t);/*!
2457
+ `}};i5.styles=G7;let St=i5;se([ee({type:String})],St.prototype,"id"),se([ee({type:String})],St.prototype,"label"),se([ee({type:String})],St.prototype,"description"),se([ee({type:String})],St.prototype,"flag"),customElements.get("nys-label")||customElements.define("nys-label",St);/*!
2383
2458
  * Error Message
2384
2459
  * Part of the New York State Design System
2385
2460
  * A design system for New York State's digital products.
@@ -2389,15 +2464,15 @@
2389
2464
  * @license
2390
2465
  * Copyright 2019 Google LLC
2391
2466
  * SPDX-License-Identifier: BSD-3-Clause
2392
- */const s2=globalThis,T2=s2.ShadowRoot&&(s2.ShadyCSS===void 0||s2.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,o5=Symbol(),n5=new WeakMap;let q7=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==o5)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(T2&&t===void 0){const s=e!==void 0&&e.length===1;s&&(t=n5.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&n5.set(e,t))}return t}toString(){return this.cssText}};const j7=o=>new q7(typeof o=="string"?o:o+"",void 0,o5),F7=(o,t)=>{if(T2)o.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const e of t){const s=document.createElement("style"),r=s2.litNonce;r!==void 0&&s.setAttribute("nonce",r),s.textContent=e.cssText,o.appendChild(s)}},i5=T2?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return j7(e)})(o):o;/**
2467
+ */const oe=globalThis,Re=oe.ShadowRoot&&(oe.ShadyCSS===void 0||oe.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,a5=Symbol(),l5=new WeakMap;let Y7=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==a5)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(Re&&t===void 0){const s=e!==void 0&&e.length===1;s&&(t=l5.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&l5.set(e,t))}return t}toString(){return this.cssText}};const K7=r=>new Y7(typeof r=="string"?r:r+"",void 0,a5),J7=(r,t)=>{if(Re)r.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const e of t){const s=document.createElement("style"),o=oe.litNonce;o!==void 0&&s.setAttribute("nonce",o),s.textContent=e.cssText,r.appendChild(s)}},c5=Re?r=>r:r=>r instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return K7(e)})(r):r;/**
2393
2468
  * @license
2394
2469
  * Copyright 2017 Google LLC
2395
2470
  * SPDX-License-Identifier: BSD-3-Clause
2396
- */const{is:G7,defineProperty:W7,getOwnPropertyDescriptor:Y7,getOwnPropertyNames:K7,getOwnPropertySymbols:J7,getPrototypeOf:X7}=Object,rt=globalThis,a5=rt.trustedTypes,Q7=a5?a5.emptyScript:"",l5=rt.reactiveElementPolyfillSupport,St=(o,t)=>o,r2={toAttribute(o,t){switch(t){case Boolean:o=o?Q7:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},B2=(o,t)=>!G7(o,t),c5={attribute:!0,type:String,converter:r2,reflect:!1,hasChanged:B2};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),rt.litPropertyMetadata??(rt.litPropertyMetadata=new WeakMap);class Et extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=c5){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),r=this.getPropertyDescriptor(t,s,e);r!==void 0&&W7(this.prototype,t,r)}}static getPropertyDescriptor(t,e,s){const{get:r,set:i}=Y7(this.prototype,t)??{get(){return this[e]},set(n){this[e]=n}};return{get(){return r==null?void 0:r.call(this)},set(n){const a=r==null?void 0:r.call(this);i.call(this,n),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??c5}static _$Ei(){if(this.hasOwnProperty(St("elementProperties")))return;const t=X7(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(St("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(St("properties"))){const e=this.properties,s=[...K7(e),...J7(e)];for(const r of s)this.createProperty(r,e[r])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[s,r]of e)this.elementProperties.set(s,r)}this._$Eh=new Map;for(const[e,s]of this.elementProperties){const r=this._$Eu(e,s);r!==void 0&&this._$Eh.set(r,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const r of s)e.unshift(i5(r))}else t!==void 0&&e.push(i5(t));return e}static _$Eu(t,e){const s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach(e=>e(this))}addController(t){var e;(this._$EO??(this._$EO=new Set)).add(t),this.renderRoot!==void 0&&this.isConnected&&((e=t.hostConnected)==null||e.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return F7(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostConnected)==null?void 0:s.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostDisconnected)==null?void 0:s.call(e)})}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$EC(t,e){var s;const r=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,r);if(i!==void 0&&r.reflect===!0){const n=(((s=r.converter)==null?void 0:s.toAttribute)!==void 0?r.converter:r2).toAttribute(e,r.type);this._$Em=t,n==null?this.removeAttribute(i):this.setAttribute(i,n),this._$Em=null}}_$AK(t,e){var s;const r=this.constructor,i=r._$Eh.get(t);if(i!==void 0&&this._$Em!==i){const n=r.getPropertyOptions(i),a=typeof n.converter=="function"?{fromAttribute:n.converter}:((s=n.converter)==null?void 0:s.fromAttribute)!==void 0?n.converter:r2;this._$Em=i,this[i]=a.fromAttribute(e,n.type),this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){if(s??(s=this.constructor.getPropertyOptions(t)),!(s.hasChanged??B2)(this[t],e))return;this.P(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,e,s){this._$AL.has(t)||this._$AL.set(t,e),s.reflect===!0&&this._$Em!==t&&(this._$Ej??(this._$Ej=new Set)).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[i,n]of this._$Ep)this[i]=n;this._$Ep=void 0}const r=this.constructor.elementProperties;if(r.size>0)for(const[i,n]of r)n.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.P(i,this[i],n)}let e=!1;const s=this._$AL;try{e=this.shouldUpdate(s),e?(this.willUpdate(s),(t=this._$EO)==null||t.forEach(r=>{var i;return(i=r.hostUpdate)==null?void 0:i.call(r)}),this.update(s)):this._$EU()}catch(r){throw e=!1,this._$EU(),r}e&&this._$AE(s)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(s=>{var r;return(r=s.hostUpdated)==null?void 0:r.call(s)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&(this._$Ej=this._$Ej.forEach(e=>this._$EC(e,this[e]))),this._$EU()}updated(t){}firstUpdated(t){}}Et.elementStyles=[],Et.shadowRootOptions={mode:"open"},Et[St("elementProperties")]=new Map,Et[St("finalized")]=new Map,l5==null||l5({ReactiveElement:Et}),(rt.reactiveElementVersions??(rt.reactiveElementVersions=[])).push("2.0.4");/**
2471
+ */const{is:X7,defineProperty:Q7,getOwnPropertyDescriptor:to,getOwnPropertyNames:eo,getOwnPropertySymbols:so,getPrototypeOf:oo}=Object,rt=globalThis,h5=rt.trustedTypes,ro=h5?h5.emptyScript:"",d5=rt.reactiveElementPolyfillSupport,Et=(r,t)=>r,re={toAttribute(r,t){switch(t){case Boolean:r=r?ro:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,t){let e=r;switch(t){case Boolean:e=r!==null;break;case Number:e=r===null?null:Number(r);break;case Object:case Array:try{e=JSON.parse(r)}catch{e=null}}return e}},Ne=(r,t)=>!X7(r,t),y5={attribute:!0,type:String,converter:re,reflect:!1,hasChanged:Ne};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),rt.litPropertyMetadata??(rt.litPropertyMetadata=new WeakMap);class At extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=y5){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),o=this.getPropertyDescriptor(t,s,e);o!==void 0&&Q7(this.prototype,t,o)}}static getPropertyDescriptor(t,e,s){const{get:o,set:i}=to(this.prototype,t)??{get(){return this[e]},set(n){this[e]=n}};return{get(){return o==null?void 0:o.call(this)},set(n){const a=o==null?void 0:o.call(this);i.call(this,n),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??y5}static _$Ei(){if(this.hasOwnProperty(Et("elementProperties")))return;const t=oo(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Et("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Et("properties"))){const e=this.properties,s=[...eo(e),...so(e)];for(const o of s)this.createProperty(o,e[o])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[s,o]of e)this.elementProperties.set(s,o)}this._$Eh=new Map;for(const[e,s]of this.elementProperties){const o=this._$Eu(e,s);o!==void 0&&this._$Eh.set(o,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const o of s)e.unshift(c5(o))}else t!==void 0&&e.push(c5(t));return e}static _$Eu(t,e){const s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach(e=>e(this))}addController(t){var e;(this._$EO??(this._$EO=new Set)).add(t),this.renderRoot!==void 0&&this.isConnected&&((e=t.hostConnected)==null||e.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return J7(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostConnected)==null?void 0:s.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostDisconnected)==null?void 0:s.call(e)})}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$EC(t,e){var s;const o=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,o);if(i!==void 0&&o.reflect===!0){const n=(((s=o.converter)==null?void 0:s.toAttribute)!==void 0?o.converter:re).toAttribute(e,o.type);this._$Em=t,n==null?this.removeAttribute(i):this.setAttribute(i,n),this._$Em=null}}_$AK(t,e){var s;const o=this.constructor,i=o._$Eh.get(t);if(i!==void 0&&this._$Em!==i){const n=o.getPropertyOptions(i),a=typeof n.converter=="function"?{fromAttribute:n.converter}:((s=n.converter)==null?void 0:s.fromAttribute)!==void 0?n.converter:re;this._$Em=i,this[i]=a.fromAttribute(e,n.type),this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){if(s??(s=this.constructor.getPropertyOptions(t)),!(s.hasChanged??Ne)(this[t],e))return;this.P(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,e,s){this._$AL.has(t)||this._$AL.set(t,e),s.reflect===!0&&this._$Em!==t&&(this._$Ej??(this._$Ej=new Set)).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[i,n]of this._$Ep)this[i]=n;this._$Ep=void 0}const o=this.constructor.elementProperties;if(o.size>0)for(const[i,n]of o)n.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.P(i,this[i],n)}let e=!1;const s=this._$AL;try{e=this.shouldUpdate(s),e?(this.willUpdate(s),(t=this._$EO)==null||t.forEach(o=>{var i;return(i=o.hostUpdate)==null?void 0:i.call(o)}),this.update(s)):this._$EU()}catch(o){throw e=!1,this._$EU(),o}e&&this._$AE(s)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(s=>{var o;return(o=s.hostUpdated)==null?void 0:o.call(s)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&(this._$Ej=this._$Ej.forEach(e=>this._$EC(e,this[e]))),this._$EU()}updated(t){}firstUpdated(t){}}At.elementStyles=[],At.shadowRootOptions={mode:"open"},At[Et("elementProperties")]=new Map,At[Et("finalized")]=new Map,d5==null||d5({ReactiveElement:At}),(rt.reactiveElementVersions??(rt.reactiveElementVersions=[])).push("2.0.4");/**
2397
2472
  * @license
2398
2473
  * Copyright 2017 Google LLC
2399
2474
  * SPDX-License-Identifier: BSD-3-Clause
2400
- */const tr={attribute:!0,type:String,converter:r2,reflect:!1,hasChanged:B2},er=(o=tr,t,e)=>{const{kind:s,metadata:r}=e;let i=globalThis.litPropertyMetadata.get(r);if(i===void 0&&globalThis.litPropertyMetadata.set(r,i=new Map),i.set(e.name,o),s==="accessor"){const{name:n}=e;return{set(a){const l=t.get.call(this);t.set.call(this,a),this.requestUpdate(n,l,o)},init(a){return a!==void 0&&this.P(n,void 0,o),a}}}if(s==="setter"){const{name:n}=e;return function(a){const l=this[n];t.call(this,a),this.requestUpdate(n,l,o)}}throw Error("Unsupported decorator location: "+s)};function R2(o){return(t,e)=>typeof e=="object"?er(o,t,e):((s,r,i)=>{const n=r.hasOwnProperty(i);return r.constructor.createProperty(i,n?{...s,wrapped:!0}:s),n?Object.getOwnPropertyDescriptor(r,i):void 0})(o,t,e)}const sr=b`
2475
+ */const no={attribute:!0,type:String,converter:re,reflect:!1,hasChanged:Ne},io=(r=no,t,e)=>{const{kind:s,metadata:o}=e;let i=globalThis.litPropertyMetadata.get(o);if(i===void 0&&globalThis.litPropertyMetadata.set(o,i=new Map),i.set(e.name,r),s==="accessor"){const{name:n}=e;return{set(a){const l=t.get.call(this);t.set.call(this,a),this.requestUpdate(n,l,r)},init(a){return a!==void 0&&this.P(n,void 0,r),a}}}if(s==="setter"){const{name:n}=e;return function(a){const l=this[n];t.call(this,a),this.requestUpdate(n,l,r)}}throw Error("Unsupported decorator location: "+s)};function qe(r){return(t,e)=>typeof e=="object"?io(r,t,e):((s,o,i)=>{const n=o.hasOwnProperty(i);return o.constructor.createProperty(i,n?{...s,wrapped:!0}:s),n?Object.getOwnPropertyDescriptor(o,i):void 0})(r,t,e)}const ao=b`
2401
2476
  :host {
2402
2477
  --_nys-errormessage-font-family: var(
2403
2478
  --nys-font-family-ui,
@@ -2449,10 +2524,10 @@
2449
2524
  border-top: var(--_nys-errormessage-divider-width) solid
2450
2525
  var(--_nys-errormessage-color);
2451
2526
  }
2452
- `;var rr=Object.defineProperty,N2=(o,t,e,s)=>{for(var r=void 0,i=o.length-1,n;i>=0;i--)(n=o[i])&&(r=n(t,e,r)||r);return r&&rr(t,e,r),r};const q2=class extends f{constructor(){super(),this.showError=!1,this.errorMessage="",this.showDivider=!1,this._internals=this.attachInternals()}render(){return d`${this.showError?d`<div class="nys-errormessage" ?showDivider=${this.showDivider}>
2527
+ `;var lo=Object.defineProperty,je=(r,t,e,s)=>{for(var o=void 0,i=r.length-1,n;i>=0;i--)(n=r[i])&&(o=n(t,e,o)||o);return o&&lo(t,e,o),o};const Fe=class extends f{constructor(){super(),this.showError=!1,this.errorMessage="",this.showDivider=!1,this._internals=this.attachInternals()}render(){return d`${this.showError?d`<div class="nys-errormessage" ?showDivider=${this.showDivider}>
2453
2528
  <nys-icon name="error" size="2xl"></nys-icon>
2454
2529
  ${this._internals.validationMessage||this.errorMessage}
2455
- </div>`:""}`}};q2.styles=sr,q2.formAssociated=!0;let o2=q2;N2([R2({type:Boolean})],o2.prototype,"showError"),N2([R2({type:String})],o2.prototype,"errorMessage"),N2([R2({type:Boolean,reflect:!0})],o2.prototype,"showDivider"),customElements.get("nys-errormessage")||customElements.define("nys-errormessage",o2);var or=Object.defineProperty,nr=Object.getOwnPropertyDescriptor,n1=(o,t,e,s)=>{for(var r=s>1?void 0:s?nr(t,e):t,i=o.length-1,n;i>=0;i--)(n=o[i])&&(r=(s?n(t,e,r):n(r))||r);return s&&r&&or(t,e,r),r};let ir=0;const J=(h1=class extends f{constructor(){super(),this.id="",this.name="",this.required=!1,this.optional=!1,this.showError=!1,this.errorMessage="",this.label="",this.description="",this.tile=!1,this._size="md",this._internals=this.attachInternals()}get size(){return this._size}set size(t){this._size=h1.VALID_SIZES.includes(t)?t:"md"}connectedCallback(){super.connectedCallback(),this.id||(this.id=`nys-checkbox-${Date.now()}-${ir++}`),this.addEventListener("nys-change",this._handleCheckboxChange),this.addEventListener("invalid",this._handleInvalid)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("nys-change",this._handleCheckboxChange),this.removeEventListener("invalid",this._handleInvalid)}firstUpdated(){this._setGroupExist(),this.updateCheckboxSize(),this.updateCheckboxTile(),this.updateCheckboxShowError()}updated(t){t.has("required")&&this.required&&this._setupCheckboxRequired(),t.has("size")&&this.updateCheckboxSize(),t.has("tile")&&this.updateCheckboxTile(),t.has("showError")&&this.updateCheckboxShowError()}_setGroupExist(){this.querySelectorAll("nys-checkbox").forEach(e=>{e.groupExist=!0})}async _handleInvalid(t){t.preventDefault(),this.showError=!0,this._manageCheckboxRequired();const e=this.querySelector("nys-checkbox"),s=e?await e.getInputElement():null;if(s){const r=this._internals.form;r?Array.from(r.elements).find(a=>{if(a.tagName.toLowerCase()==="nys-checkboxgroup"){if(Array.from(this.querySelectorAll("nys-checkbox")).filter(y=>y.checked).length===0)return a}else return typeof a.checkValidity=="function"&&!a.checkValidity()})===this&&s.focus():s.focus()}}async _setupCheckboxRequired(){const t=this.querySelector("nys-checkbox"),e=this.errorMessage||"This field is required",s=t?await t.getInputElement():null;this._internals.setValidity({valueMissing:!0},e,s||this)}_handleCheckboxChange(t){const e=t,{name:s}=e.detail,i=Array.from(this.querySelectorAll("nys-checkbox")).filter(n=>n.checked).map(n=>n.value);this.name=s,this._internals.setFormValue(i.join(", ")),this._manageCheckboxRequired()}async _manageCheckboxRequired(){if(this.required){const t=this.errorMessage||"Please select at least one option.",e=this.querySelector("nys-checkbox"),s=e?await e.getInputElement():null;let r=!1;this.querySelectorAll("nys-checkbox").forEach(n=>{n.checked&&(r=!0)}),r?(this._internals.setValidity({}),this.showError=!1):(this._internals.setValidity({valueMissing:!0},t,s||this),this.showError=!0)}}updateCheckboxSize(){this.querySelectorAll("nys-checkbox").forEach(e=>{e.setAttribute("size",this.size)})}updateCheckboxTile(){this.querySelectorAll("nys-checkbox").forEach(e=>{this.tile?e.toggleAttribute("tile",!0):e.removeAttribute("tile")})}updateCheckboxShowError(){this.querySelectorAll("nys-checkbox").forEach(e=>{this.showError?e.setAttribute("showError",""):e.removeAttribute("showError")})}render(){return d` <div class="nys-checkboxgroup" role="group">
2530
+ </div>`:""}`}};Fe.styles=ao,Fe.formAssociated=!0;let ne=Fe;je([qe({type:Boolean})],ne.prototype,"showError"),je([qe({type:String})],ne.prototype,"errorMessage"),je([qe({type:Boolean,reflect:!0})],ne.prototype,"showDivider"),customElements.get("nys-errormessage")||customElements.define("nys-errormessage",ne);var co=Object.defineProperty,ho=Object.getOwnPropertyDescriptor,n1=(r,t,e,s)=>{for(var o=s>1?void 0:s?ho(t,e):t,i=r.length-1,n;i>=0;i--)(n=r[i])&&(o=(s?n(t,e,o):n(o))||o);return s&&o&&co(t,e,o),o};let yo=0;const J=(d1=class extends f{constructor(){super(),this.id="",this.name="",this.required=!1,this.optional=!1,this.showError=!1,this.errorMessage="",this.label="",this.description="",this.tile=!1,this._size="md",this._internals=this.attachInternals()}get size(){return this._size}set size(t){this._size=d1.VALID_SIZES.includes(t)?t:"md"}connectedCallback(){super.connectedCallback(),this.id||(this.id=`nys-checkbox-${Date.now()}-${yo++}`),this.addEventListener("nys-change",this._handleCheckboxChange),this.addEventListener("invalid",this._handleInvalid)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("nys-change",this._handleCheckboxChange),this.removeEventListener("invalid",this._handleInvalid)}firstUpdated(){this._setGroupExist(),this.updateCheckboxSize(),this.updateCheckboxTile(),this.updateCheckboxShowError()}updated(t){t.has("required")&&this.required&&this._setupCheckboxRequired(),t.has("size")&&this.updateCheckboxSize(),t.has("tile")&&this.updateCheckboxTile(),t.has("showError")&&this.updateCheckboxShowError()}_setGroupExist(){this.querySelectorAll("nys-checkbox").forEach(e=>{e.groupExist=!0})}async _handleInvalid(t){t.preventDefault(),this.showError=!0,this._manageCheckboxRequired();const e=this.querySelector("nys-checkbox"),s=e?await e.getInputElement():null;if(s){const o=this._internals.form;o?Array.from(o.elements).find(a=>{if(a.tagName.toLowerCase()==="nys-checkboxgroup"){if(Array.from(this.querySelectorAll("nys-checkbox")).filter(y=>y.checked).length===0)return a}else return typeof a.checkValidity=="function"&&!a.checkValidity()})===this&&s.focus():s.focus()}}async _setupCheckboxRequired(){const t=this.querySelector("nys-checkbox"),e=this.errorMessage||"This field is required",s=t?await t.getInputElement():null;this._internals.setValidity({valueMissing:!0},e,s||this)}_handleCheckboxChange(t){const e=t,{name:s}=e.detail,i=Array.from(this.querySelectorAll("nys-checkbox")).filter(n=>n.checked).map(n=>n.value);this.name=s,this._internals.setFormValue(i.join(", ")),this._manageCheckboxRequired()}async _manageCheckboxRequired(){if(this.required){const t=this.errorMessage||"Please select at least one option.",e=this.querySelector("nys-checkbox"),s=e?await e.getInputElement():null;let o=!1;this.querySelectorAll("nys-checkbox").forEach(n=>{n.checked&&(o=!0)}),o?(this._internals.setValidity({}),this.showError=!1):(this._internals.setValidity({valueMissing:!0},t,s||this),this.showError=!0)}}updateCheckboxSize(){this.querySelectorAll("nys-checkbox").forEach(e=>{e.setAttribute("size",this.size)})}updateCheckboxTile(){this.querySelectorAll("nys-checkbox").forEach(e=>{this.tile?e.toggleAttribute("tile",!0):e.removeAttribute("tile")})}updateCheckboxShowError(){this.querySelectorAll("nys-checkbox").forEach(e=>{this.showError?e.setAttribute("showError",""):e.removeAttribute("showError")})}render(){return d` <div class="nys-checkboxgroup" role="group">
2456
2531
  <nys-label
2457
2532
  id=${this.id}
2458
2533
  label=${this.label}
@@ -2469,54 +2544,52 @@
2469
2544
  errorMessage=${this._internals.validationMessage||this.errorMessage}
2470
2545
  .showDivider=${!this.tile}
2471
2546
  ></nys-errormessage>
2472
- </div>`}},h1.VALID_SIZES=["sm","md"],h1.styles=Ke,h1.formAssociated=!0,h1);n1([c({type:String})],J.prototype,"id",2),n1([c({type:String,reflect:!0})],J.prototype,"name",2),n1([c({type:Boolean,reflect:!0})],J.prototype,"required",2),n1([c({type:Boolean,reflect:!0})],J.prototype,"optional",2),n1([c({type:Boolean,reflect:!0})],J.prototype,"showError",2),n1([c({type:String})],J.prototype,"errorMessage",2),n1([c({type:String})],J.prototype,"label",2),n1([c({type:String})],J.prototype,"description",2),n1([c({type:Boolean,reflect:!0})],J.prototype,"tile",2),n1([c({reflect:!0})],J.prototype,"size",1);let h5=J;customElements.get("nys-checkboxgroup")||customElements.define("nys-checkboxgroup",h5);var ar=Object.defineProperty,lr=Object.getOwnPropertyDescriptor,j=(o,t,e,s)=>{for(var r=s>1?void 0:s?lr(t,e):t,i=o.length-1,n;i>=0;i--)(n=o[i])&&(r=(s?n(t,e,r):n(r))||r);return s&&r&&ar(t,e,r),r};let cr=0;const N=(d1=class extends f{constructor(){super(),this.checked=!1,this.disabled=!1,this.required=!1,this.label="",this.description="",this.id="",this.name="",this.value="",this.showError=!1,this.errorMessage="",this.groupExist=!1,this.tile=!1,this._size="md",this._internals=this.attachInternals()}get size(){return this._size}set size(t){this._size=d1.VALID_SIZES.includes(t)?t:"md"}async getInputElement(){var t;return await this.updateComplete,((t=this.shadowRoot)==null?void 0:t.querySelector("input"))||null}connectedCallback(){super.connectedCallback(),this.id||(this.id=`nys-checkbox-${Date.now()}-${cr++}`),this.addEventListener("invalid",this._handleInvalid)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("invalid",this._handleInvalid)}firstUpdated(){this._setValue(),this._manageRequire()}formResetCallback(){this.checked=!1}_setValue(){this.groupExist||this._internals.setFormValue(this.checked?this.value:null)}_manageRequire(){var s;const t=(s=this.shadowRoot)==null?void 0:s.querySelector("input"),e=this.errorMessage||"This field is required";t&&(this.required&&!this.checked?(this._internals.ariaRequired="true",this._internals.setValidity({valueMissing:!0},e,t)):this._internals.setValidity({}))}_setValidityMessage(t=""){var s,r;const e=(s=this.shadowRoot)==null?void 0:s.querySelector("input");e&&(this.showError=!!t,(r=this.errorMessage)!=null&&r.trim()&&t!==""&&(t=this.errorMessage),this._internals.setValidity(t?{customError:!0}:{},t,e))}_validate(){var s;const t=(s=this.shadowRoot)==null?void 0:s.querySelector("input");if(!t)return;let e=t.validationMessage;this._setValidityMessage(e)}checkValidity(){var e;if(this.required&&!this.checked)return!1;const t=(e=this.shadowRoot)==null?void 0:e.querySelector("input");return t?t.checkValidity():!0}_handleInvalid(t){var s;t.preventDefault(),this.showError=!0,this._validate();const e=(s=this.shadowRoot)==null?void 0:s.querySelector("input");if(e){const r=this._internals.form;r?Array.from(r.elements).find(a=>typeof a.checkValidity=="function"&&!a.checkValidity())===this&&e.focus():e.focus()}}_emitChangeEvent(){this.dispatchEvent(new CustomEvent("nys-change",{detail:{checked:this.checked,name:this.name,value:this.value},bubbles:!0,composed:!0}))}_handleChange(t){const{checked:e}=t.target;this.checked=e,this.groupExist||this._internals.setFormValue(this.checked?this.value:null),this._validate(),this._emitChangeEvent()}_handleFocus(){this.dispatchEvent(new Event("nys-focus"))}_handleBlur(){this.dispatchEvent(new Event("nys-blur"))}async _handleKeydown(t){t.code==="Space"&&(t.preventDefault(),this.disabled||(this.checked=!this.checked,this._internals.setFormValue(this.checked?this.value:null),await this.updateComplete,this._validate(),this._emitChangeEvent()))}render(){var t;return d`
2473
- <div class="nys-checkbox">
2474
- <label class="nys-checkbox__content">
2475
- <div class="nys-checkbox__checkboxwrapper">
2476
- <input
2477
- id="${this.id}"
2478
- class="nys-checkbox__checkbox"
2479
- type="checkbox"
2480
- name="${v(this.name?this.name:void 0)}"
2481
- .checked=${this.checked}
2482
- ?disabled=${this.disabled}
2483
- .value=${this.value}
2484
- ?required="${this.required}"
2485
- aria-checked="${this.checked}"
2486
- aria-disabled="${this.disabled?"true":"false"}"
2487
- aria-required="${this.required}"
2488
- @change="${this._handleChange}"
2489
- @focus="${this._handleFocus}"
2490
- @blur="${this._handleBlur}"
2491
- @keydown="${this._handleKeydown}"
2492
- />
2493
- ${this.checked?d`<nys-icon
2494
- for="${this.id}"
2495
- name="check"
2496
- size="${this.size==="md"?"4xl":this.size==="sm"?"2xl":"xl"}"
2497
- class="nys-checkbox__icon"
2498
- ></nys-icon>`:""}
2547
+ </div>`}},d1.VALID_SIZES=["sm","md"],d1.styles=Q2,d1.formAssociated=!0,d1);n1([c({type:String})],J.prototype,"id",2),n1([c({type:String,reflect:!0})],J.prototype,"name",2),n1([c({type:Boolean,reflect:!0})],J.prototype,"required",2),n1([c({type:Boolean,reflect:!0})],J.prototype,"optional",2),n1([c({type:Boolean,reflect:!0})],J.prototype,"showError",2),n1([c({type:String})],J.prototype,"errorMessage",2),n1([c({type:String})],J.prototype,"label",2),n1([c({type:String})],J.prototype,"description",2),n1([c({type:Boolean,reflect:!0})],J.prototype,"tile",2),n1([c({reflect:!0})],J.prototype,"size",1);let u5=J;customElements.get("nys-checkboxgroup")||customElements.define("nys-checkboxgroup",u5);var uo=Object.defineProperty,po=Object.getOwnPropertyDescriptor,j=(r,t,e,s)=>{for(var o=s>1?void 0:s?po(t,e):t,i=r.length-1,n;i>=0;i--)(n=r[i])&&(o=(s?n(t,e,o):n(o))||o);return s&&o&&uo(t,e,o),o};let Co=0;const N=(y1=class extends f{constructor(){super(),this.checked=!1,this.disabled=!1,this.required=!1,this.label="",this.description="",this.id="",this.name="",this.value="",this.showError=!1,this.errorMessage="",this.groupExist=!1,this.tile=!1,this._size="md",this._internals=this.attachInternals()}get size(){return this._size}set size(t){this._size=y1.VALID_SIZES.includes(t)?t:"md"}async getInputElement(){var t;return await this.updateComplete,((t=this.shadowRoot)==null?void 0:t.querySelector("input"))||null}connectedCallback(){super.connectedCallback(),this.id||(this.id=`nys-checkbox-${Date.now()}-${Co++}`),this.addEventListener("invalid",this._handleInvalid)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("invalid",this._handleInvalid)}firstUpdated(){this._setValue(),this._manageRequire()}formResetCallback(){this.checked=!1}_setValue(){this.groupExist||this._internals.setFormValue(this.checked?this.value:null)}_manageRequire(){var s;const t=(s=this.shadowRoot)==null?void 0:s.querySelector("input"),e=this.errorMessage||"This field is required";t&&(this.required&&!this.checked?(this._internals.ariaRequired="true",this._internals.setValidity({valueMissing:!0},e,t)):this._internals.setValidity({}))}_setValidityMessage(t=""){var s,o;const e=(s=this.shadowRoot)==null?void 0:s.querySelector("input");e&&(this.showError=!!t,(o=this.errorMessage)!=null&&o.trim()&&t!==""&&(t=this.errorMessage),this._internals.setValidity(t?{customError:!0}:{},t,e))}_validate(){var s;const t=(s=this.shadowRoot)==null?void 0:s.querySelector("input");if(!t)return;let e=t.validationMessage;this._setValidityMessage(e)}checkValidity(){var e;if(this.required&&!this.checked)return!1;const t=(e=this.shadowRoot)==null?void 0:e.querySelector("input");return t?t.checkValidity():!0}_handleInvalid(t){var s;t.preventDefault(),this.showError=!0,this._validate();const e=(s=this.shadowRoot)==null?void 0:s.querySelector("input");if(e){const o=this._internals.form;o?Array.from(o.elements).find(a=>typeof a.checkValidity=="function"&&!a.checkValidity())===this&&e.focus():e.focus()}}_emitChangeEvent(){this.dispatchEvent(new CustomEvent("nys-change",{detail:{checked:this.checked,name:this.name,value:this.value},bubbles:!0,composed:!0}))}_handleChange(t){const{checked:e}=t.target;this.checked=e,this.groupExist||this._internals.setFormValue(this.checked?this.value:null),this._validate(),this._emitChangeEvent()}_handleFocus(){this.dispatchEvent(new Event("nys-focus"))}_handleBlur(){this.dispatchEvent(new Event("nys-blur"))}async _handleKeydown(t){t.code==="Space"&&(t.preventDefault(),this.disabled||(this.checked=!this.checked,this._internals.setFormValue(this.checked?this.value:null),await this.updateComplete,this._validate(),this._emitChangeEvent()))}render(){var t;return d`
2548
+ <label class="nys-checkbox">
2549
+ <div class="nys-checkbox__checkboxwrapper">
2550
+ <input
2551
+ id="${this.id}"
2552
+ class="nys-checkbox__checkbox"
2553
+ type="checkbox"
2554
+ name="${v(this.name?this.name:void 0)}"
2555
+ .checked=${this.checked}
2556
+ ?disabled=${this.disabled}
2557
+ .value=${this.value}
2558
+ ?required="${this.required}"
2559
+ aria-checked="${this.checked}"
2560
+ aria-disabled="${this.disabled?"true":"false"}"
2561
+ aria-required="${this.required}"
2562
+ @change="${this._handleChange}"
2563
+ @focus="${this._handleFocus}"
2564
+ @blur="${this._handleBlur}"
2565
+ @keydown="${this._handleKeydown}"
2566
+ />
2567
+ ${this.checked?d`<nys-icon
2568
+ for="${this.id}"
2569
+ name="check"
2570
+ size="${this.size==="md"?"4xl":this.size==="sm"?"2xl":"xl"}"
2571
+ class="nys-checkbox__icon"
2572
+ ></nys-icon>`:""}
2573
+ </div>
2574
+ ${this.label&&d` <div class="nys-checkbox__text">
2575
+ <div class="nys-checkbox__requiredwrapper">
2576
+ <label for=${this.id} class="nys-checkbox__label"
2577
+ >${this.label}</label
2578
+ >
2579
+ ${this.required?d`<label class="nys-checkbox__required">*</label>`:""}
2499
2580
  </div>
2500
- ${this.label&&d` <div class="nys-checkbox__text">
2501
- <div class="nys-checkbox__requiredwrapper">
2502
- <label for=${this.id} class="nys-checkbox__label"
2503
- >${this.label}</label
2504
- >
2505
- ${this.required?d`<label class="nys-checkbox__required">*</label>`:""}
2506
- </div>
2507
- <label for=${this.id} class="nys-checkbox__description">
2508
- <slot name="description">${this.description}</slot>
2509
- </label>
2510
- </div>`}
2511
- </label>
2512
- </div>
2581
+ <label for=${this.id} class="nys-checkbox__description">
2582
+ <slot name="description">${this.description}</slot>
2583
+ </label>
2584
+ </div>`}
2585
+ </label>
2513
2586
  ${((t=this.parentElement)==null?void 0:t.tagName.toLowerCase())!=="nys-checkboxgroup"?d`<nys-errormessage
2514
2587
  id="single-error-message"
2515
2588
  ?showError=${this.showError}
2516
2589
  errorMessage=${this._internals.validationMessage||this.errorMessage}
2517
2590
  .showDivider=${!this.tile}
2518
2591
  ></nys-errormessage>`:""}
2519
- `}},d1.VALID_SIZES=["sm","md"],d1.styles=Ke,d1.formAssociated=!0,d1);j([c({type:Boolean,reflect:!0})],N.prototype,"checked",2),j([c({type:Boolean,reflect:!0})],N.prototype,"disabled",2),j([c({type:Boolean,reflect:!0})],N.prototype,"required",2),j([c({type:String})],N.prototype,"label",2),j([c({type:String})],N.prototype,"description",2),j([c({type:String})],N.prototype,"id",2),j([c({type:String,reflect:!0})],N.prototype,"name",2),j([c({type:String})],N.prototype,"value",2),j([c({type:Boolean,reflect:!0})],N.prototype,"showError",2),j([c({type:String})],N.prototype,"errorMessage",2),j([c({type:Boolean})],N.prototype,"groupExist",2),j([c({type:Boolean,reflect:!0})],N.prototype,"tile",2),j([c({reflect:!0})],N.prototype,"size",1);let d5=N;customElements.get("nys-checkbox")||customElements.define("nys-checkbox",d5);const hr=b`
2592
+ `}},y1.VALID_SIZES=["sm","md"],y1.styles=Q2,y1.formAssociated=!0,y1);j([c({type:Boolean,reflect:!0})],N.prototype,"checked",2),j([c({type:Boolean,reflect:!0})],N.prototype,"disabled",2),j([c({type:Boolean,reflect:!0})],N.prototype,"required",2),j([c({type:String})],N.prototype,"label",2),j([c({type:String})],N.prototype,"description",2),j([c({type:String})],N.prototype,"id",2),j([c({type:String,reflect:!0})],N.prototype,"name",2),j([c({type:String})],N.prototype,"value",2),j([c({type:Boolean,reflect:!0})],N.prototype,"showError",2),j([c({type:String})],N.prototype,"errorMessage",2),j([c({type:Boolean})],N.prototype,"groupExist",2),j([c({type:Boolean,reflect:!0})],N.prototype,"tile",2),j([c({reflect:!0})],N.prototype,"size",1);let p5=N;customElements.get("nys-checkbox")||customElements.define("nys-checkbox",p5);const fo=b`
2520
2593
  :host {
2521
2594
  --_nys-errormessage-font-family: var(
2522
2595
  --nys-font-family-ui,
@@ -2568,10 +2641,10 @@
2568
2641
  border-top: var(--_nys-errormessage-divider-width) solid
2569
2642
  var(--_nys-errormessage-color);
2570
2643
  }
2571
- `;var dr=Object.defineProperty,j2=(o,t,e,s)=>{for(var r=void 0,i=o.length-1,n;i>=0;i--)(n=o[i])&&(r=n(t,e,r)||r);return r&&dr(t,e,r),r};const b2=class b2 extends f{constructor(){super(),this.showError=!1,this.errorMessage="",this.showDivider=!1,this._internals=this.attachInternals()}render(){return d`${this.showError?d`<div class="nys-errormessage" ?showDivider=${this.showDivider}>
2644
+ `;var vo=Object.defineProperty,Ge=(r,t,e,s)=>{for(var o=void 0,i=r.length-1,n;i>=0;i--)(n=r[i])&&(o=n(t,e,o)||o);return o&&vo(t,e,o),o};const me=class me extends f{constructor(){super(),this.showError=!1,this.errorMessage="",this.showDivider=!1,this._internals=this.attachInternals()}render(){return d`${this.showError?d`<div class="nys-errormessage" ?showDivider=${this.showDivider}>
2572
2645
  <nys-icon name="error" size="2xl"></nys-icon>
2573
2646
  ${this._internals.validationMessage||this.errorMessage}
2574
- </div>`:""}`}};b2.styles=hr,b2.formAssociated=!0;let O1=b2;j2([c({type:Boolean})],O1.prototype,"showError"),j2([c({type:String})],O1.prototype,"errorMessage"),j2([c({type:Boolean,reflect:!0})],O1.prototype,"showDivider"),customElements.get("nys-errormessage")||customElements.define("nys-errormessage",O1);const yr={account_circle:`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
2647
+ </div>`:""}`}};me.styles=fo,me.formAssociated=!0;let Z1=me;Ge([c({type:Boolean})],Z1.prototype,"showError"),Ge([c({type:String})],Z1.prototype,"errorMessage"),Ge([c({type:Boolean,reflect:!0})],Z1.prototype,"showDivider"),customElements.get("nys-errormessage")||customElements.define("nys-errormessage",Z1);const go={account_circle:`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
2575
2648
  <mask id="mask0_12372_781" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="24" height="24">
2576
2649
  <rect width="24" height="24" fill="#D9D9D9"/>
2577
2650
  </mask>
@@ -2760,7 +2833,7 @@
2760
2833
  <rect width="24" height="24" fill="#D9D9D9"/>
2761
2834
  </mask>
2762
2835
  <g mask="url(#mask0_525_15)">
2763
- <path d="M9 18C8.45 18 7.97917 17.8042 7.5875 17.4125C7.19583 17.0208 7 16.55 7 16V4C7 3.45 7.19583 2.97917 7.5875 2.5875C7.97917 2.19583 8.45 2 9 2H18C18.55 2 19.0208 2.19583 19.4125 2.5875C19.8042 2.97917 20 3.45 20 4V16C20 16.55 19.8042 17.0208 19.4125 17.4125C19.0208 17.8042 18.55 18 18 18H9ZM9 16H18V4H9V16ZM5 22C4.45 22 3.97917 21.8042 3.5875 21.4125C3.19583 21.0208 3 20.55 3 20V7C3 6.71667 3.09583 6.47917 3.2875 6.2875C3.47917 6.09583 3.71667 6 4 6C4.28333 6 4.52083 6.09583 4.7125 6.2875C4.90417 6.47917 5 6.71667 5 7V20H15C15.2833 20 15.5208 20.0958 15.7125 20.2875C15.9042 20.4792 16 20.7167 16 21C16 21.2833 15.9042 21.5208 15.7125 21.7125C15.5208 21.9042 15.2833 22 15 22H5Z" fill="#1C1B1F"/>
2836
+ <path d="M9 18C8.45 18 7.97917 17.8042 7.5875 17.4125C7.19583 17.0208 7 16.55 7 16V4C7 3.45 7.19583 2.97917 7.5875 2.5875C7.97917 2.19583 8.45 2 9 2H18C18.55 2 19.0208 2.19583 19.4125 2.5875C19.8042 2.97917 20 3.45 20 4V16C20 16.55 19.8042 17.0208 19.4125 17.4125C19.0208 17.8042 18.55 18 18 18H9ZM9 16H18V4H9V16ZM5 22C4.45 22 3.97917 21.8042 3.5875 21.4125C3.19583 21.0208 3 20.55 3 20V7C3 6.71667 3.09583 6.47917 3.2875 6.2875C3.47917 6.09583 3.71667 6 4 6C4.28333 6 4.52083 6.09583 4.7125 6.2875C4.90417 6.47917 5 6.71667 5 7V20H15C15.2833 20 15.5208 20.0958 15.7125 20.2875C15.9042 20.4792 16 20.7167 16 21C16 21.2833 15.9042 21.5208 15.7125 21.7125C15.5208 21.9042 15.2833 22 15 22H5Z" fill="var(--nys-icon-color, currentcolor)"/>
2764
2837
  </g>
2765
2838
  </svg>`,arrow_back:`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
2766
2839
  <mask id="mask0_12372_673" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="24" height="24">
@@ -3010,7 +3083,7 @@
3010
3083
  <g mask="url(#mask0_12372_621)">
3011
3084
  <path d="M6.30002 22.7751C5.43369 22.7751 4.69211 22.4667 4.07527 21.8498C3.45844 21.2328 3.15002 20.4913 3.15002 19.6251V10.2251C3.15002 9.35893 3.45844 8.61735 4.07527 8.00035C4.69211 7.38351 5.43369 7.0751 6.30002 7.0751H6.62502V5.8001C6.62502 4.28343 7.14586 2.99593 8.18752 1.9376C9.22919 0.879264 10.5 0.350098 12 0.350098C13.5 0.350098 14.7709 0.879264 15.8125 1.9376C16.8542 2.99593 17.375 4.28343 17.375 5.8001V7.0751H17.7C18.5662 7.0751 19.3078 7.38351 19.9248 8.00035C20.5416 8.61735 20.85 9.35893 20.85 10.2251V19.6251C20.85 20.4913 20.5416 21.2328 19.9248 21.8498C19.3078 22.4667 18.5662 22.7751 17.7 22.7751H6.30002ZM12 16.9251C12.55 16.9251 13.0209 16.7293 13.4125 16.3376C13.8042 15.9459 14 15.4751 14 14.9251C14 14.3751 13.8042 13.9043 13.4125 13.5126C13.0209 13.1209 12.55 12.9251 12 12.9251C11.45 12.9251 10.9792 13.1209 10.5875 13.5126C10.1959 13.9043 10 14.3751 10 14.9251C10 15.4751 10.1959 15.9459 10.5875 16.3376C10.9792 16.7293 11.45 16.9251 12 16.9251ZM9.77502 7.0751H14.225V5.8001C14.225 5.16126 14.0125 4.61818 13.5875 4.17085C13.1625 3.72368 12.6334 3.5001 12 3.5001C11.3667 3.5001 10.8375 3.72368 10.4125 4.17085C9.98752 4.61818 9.77502 5.16126 9.77502 5.8001V7.0751Z" fill="var(--nys-icon-color, currentcolor)"/>
3012
3085
  </g>
3013
- </svg>`},ur=b`
3086
+ </svg>`},_o=b`
3014
3087
  :host {
3015
3088
  display: inline-block;
3016
3089
  --_nys-icon-size: 0.7em; /* If cap isn't supported, a fallback value of 0.7em is used, as it closely approximates the height of capital letters in most fonts. */
@@ -3087,6 +3160,10 @@
3087
3160
  width: 2rem;
3088
3161
  height: 2rem;
3089
3162
  }
3163
+ .nys-icon--40 {
3164
+ width: 2.5rem;
3165
+ height: 2.5rem;
3166
+ }
3090
3167
  .nys-icon--48 {
3091
3168
  width: 3rem;
3092
3169
  height: 3rem;
@@ -3106,7 +3183,7 @@
3106
3183
  .nys-icon--flip-both {
3107
3184
  transform: scale(-1, -1);
3108
3185
  }
3109
- `;var pr=Object.defineProperty,Cr=Object.getOwnPropertyDescriptor,ot=(o,t,e,s)=>{for(var r=s>1?void 0:s?Cr(t,e):t,i=o.length-1,n;i>=0;i--)(n=o[i])&&(r=(s?n(t,e,r):n(r))||r);return s&&r&&pr(t,e,r),r};const Z1=(L1=class extends f{constructor(){super(...arguments),this.name="",this.label="",this.rotate="0",this.flip="",this.color="",this._size="sm"}get size(){return this._size}set size(t){this._size=L1.VALID_TYPES.includes(t)?t:"sm"}getIcon(){const t=yr[this.name];if(!t)return null;const r=new DOMParser().parseFromString(t,"image/svg+xml").documentElement;return r instanceof SVGElement?(r.setAttribute("role","img"),this.label?(r.setAttribute("aria-label",this.label),r.removeAttribute("aria-hidden")):(r.setAttribute("aria-hidden","true"),r.removeAttribute("aria-label")),r.style.rotate=`${this.rotate}deg`,r.style.color=this.color||"currentcolor",r.classList.add(`nys-icon--${this.size}`),r.classList.add("nys-icon--svg"),this.flip&&r.classList.add(`nys-icon--flip-${this.flip}`),r):null}render(){const t=this.getIcon();return t?d`${t}`:null}},L1.styles=ur,L1.VALID_TYPES=["2xs","xs","sm","md","lg","xl","2xl","3xl","4xl","12","16","24","32","48","64"],L1);ot([c({type:String,reflect:!0})],Z1.prototype,"name",2),ot([c({type:String})],Z1.prototype,"label",2),ot([c({type:String})],Z1.prototype,"rotate",2),ot([c({type:String})],Z1.prototype,"flip",2),ot([c({type:String})],Z1.prototype,"color",2),ot([c({reflect:!0})],Z1.prototype,"size",1);let y5=Z1;customElements.get("nys-icon")||customElements.define("nys-icon",y5);const fr=b`
3186
+ `;var bo=Object.defineProperty,mo=Object.getOwnPropertyDescriptor,nt=(r,t,e,s)=>{for(var o=s>1?void 0:s?mo(t,e):t,i=r.length-1,n;i>=0;i--)(n=r[i])&&(o=(s?n(t,e,o):n(o))||o);return s&&o&&bo(t,e,o),o};const I1=(L1=class extends f{constructor(){super(...arguments),this.name="",this.label="",this.rotate="0",this.flip="",this.color="",this._size="sm"}get size(){return this._size}set size(t){this._size=L1.VALID_TYPES.includes(t)?t:"sm"}getIcon(){const t=go[this.name];if(!t)return null;const o=new DOMParser().parseFromString(t,"image/svg+xml").documentElement;return o instanceof SVGElement?(o.setAttribute("role","img"),this.label?(o.setAttribute("aria-label",this.label),o.removeAttribute("aria-hidden")):(o.setAttribute("aria-hidden","true"),o.removeAttribute("aria-label")),o.style.rotate=`${this.rotate}deg`,o.style.color=this.color||"currentcolor",o.classList.add(`nys-icon--${this.size}`),o.classList.add("nys-icon--svg"),this.flip&&o.classList.add(`nys-icon--flip-${this.flip}`),o):null}render(){const t=this.getIcon();return t?d`${t}`:null}},L1.styles=_o,L1.VALID_TYPES=["2xs","xs","sm","md","lg","xl","2xl","3xl","4xl","12","16","24","32","40","48","64"],L1);nt([c({type:String,reflect:!0})],I1.prototype,"name",2),nt([c({type:String})],I1.prototype,"label",2),nt([c({type:String})],I1.prototype,"rotate",2),nt([c({type:String})],I1.prototype,"flip",2),nt([c({type:String})],I1.prototype,"color",2),nt([c({reflect:!0})],I1.prototype,"size",1);let C5=I1;customElements.get("nys-icon")||customElements.define("nys-icon",C5);const xo=b`
3110
3187
  :host {
3111
3188
  /* Label Typography */
3112
3189
  --_nys-label-font-family: var(
@@ -3179,7 +3256,7 @@
3179
3256
  font-weight: var(--nys-optional-font-weight);
3180
3257
  color: var(--nys-optional-font-color);
3181
3258
  }
3182
- `;var vr=Object.defineProperty,n2=(o,t,e,s)=>{for(var r=void 0,i=o.length-1,n;i>=0;i--)(n=o[i])&&(r=n(t,e,r)||r);return r&&vr(t,e,r),r};const se=class se extends f{constructor(){super(...arguments),this.id="",this.label="",this.description="",this.flag=""}render(){return d`
3259
+ `;var wo=Object.defineProperty,ie=(r,t,e,s)=>{for(var o=void 0,i=r.length-1,n;i>=0;i--)(n=r[i])&&(o=n(t,e,o)||o);return o&&wo(t,e,o),o};const n2=class n2 extends f{constructor(){super(...arguments),this.id="",this.label="",this.description="",this.flag=""}render(){return d`
3183
3260
  <div class="nys-label">
3184
3261
  <label for=${this.id} class="nys-label__label"
3185
3262
  >${this.label}
@@ -3190,7 +3267,7 @@
3190
3267
  <slot name="description">${this.description}</slot>
3191
3268
  </label>
3192
3269
  </div>
3193
- `}};se.styles=fr;let m1=se;n2([c({type:String})],m1.prototype,"id"),n2([c({type:String})],m1.prototype,"label"),n2([c({type:String})],m1.prototype,"description"),n2([c({type:String})],m1.prototype,"flag"),customElements.get("nys-label")||customElements.define("nys-label",m1);const u5=b`
3270
+ `}};n2.styles=xo;let m1=n2;ie([c({type:String})],m1.prototype,"id"),ie([c({type:String})],m1.prototype,"label"),ie([c({type:String})],m1.prototype,"description"),ie([c({type:String})],m1.prototype,"flag"),customElements.get("nys-label")||customElements.define("nys-label",m1);const f5=b`
3194
3271
  :host {
3195
3272
  /* Global Radiobutton Styles */
3196
3273
  --_nys-radiobutton-size: var(--nys-size-400, 32px);
@@ -3542,7 +3619,7 @@
3542
3619
  color: var(--_nys-radiobutton-disabled-color-text);
3543
3620
  cursor: not-allowed;
3544
3621
  }
3545
- `;var gr=Object.defineProperty,_r=Object.getOwnPropertyDescriptor,X=(o,t,e,s)=>{for(var r=s>1?void 0:s?_r(t,e):t,i=o.length-1,n;i>=0;i--)(n=o[i])&&(r=(s?n(t,e,r):n(r))||r);return s&&r&&gr(t,e,r),r};let br=0;const W=(y1=class extends f{constructor(){super(),this.id="",this.name="",this.required=!1,this.optional=!1,this.showError=!1,this.errorMessage="",this.label="",this.description="",this.selectedValue=null,this._size="md",this.tile=!1,this._internals=this.attachInternals()}get size(){return this._size}set size(t){this._size=y1.VALID_SIZES.includes(t)?t:"md"}connectedCallback(){super.connectedCallback(),this.id||(this.id=`nys-radiogroup-${Date.now()}-${br++}`),this.addEventListener("nys-change",this._handleRadioButtonChange),this.addEventListener("invalid",this._handleInvalid)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("nys-change",this._handleRadioButtonChange),this.removeEventListener("invalid",this._handleInvalid)}firstUpdated(){this._initializeCheckedRadioValue(),this._setValue(),this.setRadioButtonRequire(),this._updateRadioButtonsSize(),this._updateRadioButtonsTile(),this._updateRadioButtonsShowError()}updated(t){(t.has("required")||t.has("selectedValue"))&&this._manageRequire(),t.has("size")&&this._updateRadioButtonsSize(),t.has("tile")&&this._updateRadioButtonsTile(),t.has("showError")&&this._updateRadioButtonsShowError()}formResetCallback(){this.querySelectorAll("nys-radiobutton").forEach(e=>{e.formResetUpdate()})}_setValue(){this._internals.setFormValue(this.selectedValue)}setRadioButtonRequire(){this.querySelectorAll("nys-radiobutton").forEach((e,s)=>{this.required&&s===0&&e.setAttribute("required","required")})}async _manageRequire(){const t=this.errorMessage||"Please select an option.",e=this.querySelector("nys-radiobutton"),s=e?await e.getInputElement():null;s&&(this.required&&!this.selectedValue?this._internals.setValidity({valueMissing:!0},t,s):(this.showError=!1,this._internals.setValidity({},"",s)))}_initializeCheckedRadioValue(){const t=this.querySelector("nys-radiobutton[checked]");t&&(this.selectedValue=t.getAttribute("value"),this._internals.setFormValue(this.selectedValue))}_updateRadioButtonsSize(){this.querySelectorAll("nys-radiobutton").forEach(e=>{e.setAttribute("size",this.size)})}_updateRadioButtonsTile(){this.querySelectorAll("nys-radiobutton").forEach(e=>{this.tile?e.toggleAttribute("tile",!0):e.removeAttribute("tile")})}_updateRadioButtonsShowError(){this.querySelectorAll("nys-radiobutton").forEach(e=>{this.showError?e.setAttribute("showError",""):e.removeAttribute("showError")})}_handleRadioButtonChange(t){const e=t,{name:s,value:r}=e.detail;this.name=s,this.selectedValue=r,this._internals.setFormValue(this.selectedValue)}async _handleInvalid(t){if(t.preventDefault(),this._internals.validity.valueMissing){this.showError=!0,this._manageRequire();const e=this.querySelector("nys-radiobutton"),s=e?await e.getInputElement():null;if(s){const r=this._internals.form;r?Array.from(r.elements).find(a=>{if(a.tagName.toLowerCase()==="nys-radiogroup"){if(!a.querySelector("nys-radiobutton").checkValidity())return a}else return typeof a.checkValidity=="function"&&!a.checkValidity()})===this&&s.focus():s.focus()}}}render(){return d` <div
3622
+ `;var ko=Object.defineProperty,$o=Object.getOwnPropertyDescriptor,X=(r,t,e,s)=>{for(var o=s>1?void 0:s?$o(t,e):t,i=r.length-1,n;i>=0;i--)(n=r[i])&&(o=(s?n(t,e,o):n(o))||o);return s&&o&&ko(t,e,o),o};let So=0;const W=(u1=class extends f{constructor(){super(),this.id="",this.name="",this.required=!1,this.optional=!1,this.showError=!1,this.errorMessage="",this.label="",this.description="",this.selectedValue=null,this._size="md",this.tile=!1,this._internals=this.attachInternals()}get size(){return this._size}set size(t){this._size=u1.VALID_SIZES.includes(t)?t:"md"}connectedCallback(){super.connectedCallback(),this.id||(this.id=`nys-radiogroup-${Date.now()}-${So++}`),this.addEventListener("nys-change",this._handleRadioButtonChange),this.addEventListener("invalid",this._handleInvalid)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("nys-change",this._handleRadioButtonChange),this.removeEventListener("invalid",this._handleInvalid)}firstUpdated(){this._initializeCheckedRadioValue(),this._setValue(),this.setRadioButtonRequire(),this._updateRadioButtonsSize(),this._updateRadioButtonsTile(),this._updateRadioButtonsShowError()}updated(t){(t.has("required")||t.has("selectedValue"))&&this._manageRequire(),t.has("size")&&this._updateRadioButtonsSize(),t.has("tile")&&this._updateRadioButtonsTile(),t.has("showError")&&this._updateRadioButtonsShowError()}formResetCallback(){this.querySelectorAll("nys-radiobutton").forEach(e=>{e.formResetUpdate()})}_setValue(){this._internals.setFormValue(this.selectedValue)}setRadioButtonRequire(){this.querySelectorAll("nys-radiobutton").forEach((e,s)=>{this.required&&s===0&&e.setAttribute("required","required")})}async _manageRequire(){const t=this.errorMessage||"Please select an option.",e=this.querySelector("nys-radiobutton"),s=e?await e.getInputElement():null;s&&(this.required&&!this.selectedValue?this._internals.setValidity({valueMissing:!0},t,s):(this.showError=!1,this._internals.setValidity({},"",s)))}_initializeCheckedRadioValue(){const t=this.querySelector("nys-radiobutton[checked]");t&&(this.selectedValue=t.getAttribute("value"),this._internals.setFormValue(this.selectedValue))}_updateRadioButtonsSize(){this.querySelectorAll("nys-radiobutton").forEach(e=>{e.setAttribute("size",this.size)})}_updateRadioButtonsTile(){this.querySelectorAll("nys-radiobutton").forEach(e=>{this.tile?e.toggleAttribute("tile",!0):e.removeAttribute("tile")})}_updateRadioButtonsShowError(){this.querySelectorAll("nys-radiobutton").forEach(e=>{this.showError?e.setAttribute("showError",""):e.removeAttribute("showError")})}_handleRadioButtonChange(t){const e=t,{name:s,value:o}=e.detail;this.name=s,this.selectedValue=o,this._internals.setFormValue(this.selectedValue)}async _handleInvalid(t){if(t.preventDefault(),this._internals.validity.valueMissing){this.showError=!0,this._manageRequire();const e=this.querySelector("nys-radiobutton"),s=e?await e.getInputElement():null;if(s){const o=this._internals.form;o?Array.from(o.elements).find(a=>{if(a.tagName.toLowerCase()==="nys-radiogroup"){if(!a.querySelector("nys-radiobutton").checkValidity())return a}else return typeof a.checkValidity=="function"&&!a.checkValidity()})===this&&s.focus():s.focus()}}}render(){return d` <div
3546
3623
  role="radiogroup"
3547
3624
  class="nys-radiogroup"
3548
3625
  aria-required="${this.required?"true":"false"}"
@@ -3564,7 +3641,7 @@
3564
3641
  errorMessage=${this._internals.validationMessage||this.errorMessage}
3565
3642
  .showDivider=${!this.tile}
3566
3643
  ></nys-errormessage>
3567
- </div>`}},y1.VALID_SIZES=["sm","md"],y1.styles=u5,y1.formAssociated=!0,y1);X([c({type:String})],W.prototype,"id",2),X([c({type:String,reflect:!0})],W.prototype,"name",2),X([c({type:Boolean,reflect:!0})],W.prototype,"required",2),X([c({type:Boolean,reflect:!0})],W.prototype,"optional",2),X([c({type:Boolean,reflect:!0})],W.prototype,"showError",2),X([c({type:String})],W.prototype,"errorMessage",2),X([c({type:String})],W.prototype,"label",2),X([c({type:String})],W.prototype,"description",2),X([g1()],W.prototype,"selectedValue",2),X([c({reflect:!0})],W.prototype,"size",1),X([c({type:Boolean,reflect:!0})],W.prototype,"tile",2);let p5=W;customElements.get("nys-radiogroup")||customElements.define("nys-radiogroup",p5);var mr=Object.defineProperty,xr=Object.getOwnPropertyDescriptor,i1=(o,t,e,s)=>{for(var r=s>1?void 0:s?xr(t,e):t,i=o.length-1,n;i>=0;i--)(n=o[i])&&(r=(s?n(t,e,r):n(r))||r);return s&&r&&mr(t,e,r),r};let wr=0;const Q=(g=class extends f{constructor(){super(...arguments),this.checked=!1,this.disabled=!1,this.required=!1,this.label="",this.description="",this.id="",this.name="",this.value="",this._size="md",this.tile=!1}get size(){return this._size}set size(t){this._size=g.VALID_SIZES.includes(t)?t:"md"}async getInputElement(){var t;return await this.updateComplete,((t=this.shadowRoot)==null?void 0:t.querySelector("input"))||null}formResetUpdate(){this.checked=!1}connectedCallback(){super.connectedCallback(),this.id||(this.id=`nys-radiobutton-${Date.now()}-${wr++}`),this.checked&&(g.buttonGroup[this.name]&&(g.buttonGroup[this.name].checked=!1,g.buttonGroup[this.name].requestUpdate()),g.buttonGroup[this.name]=this)}updated(t){t.has("checked")&&this.checked&&g.buttonGroup[this.name]!==this&&(g.buttonGroup[this.name]&&(g.buttonGroup[this.name].checked=!1,g.buttonGroup[this.name].requestUpdate()),g.buttonGroup[this.name]=this)}checkValidity(){var e;if(this.required&&!this.checked)return!1;const t=(e=this.shadowRoot)==null?void 0:e.querySelector("input");return t?t.checkValidity():!0}_emitChangeEvent(){this.dispatchEvent(new CustomEvent("nys-change",{detail:{checked:this.checked,name:this.name,value:this.value},bubbles:!0,composed:!0}))}_handleChange(){this.checked||(g.buttonGroup[this.name]&&(g.buttonGroup[this.name].checked=!1,g.buttonGroup[this.name].requestUpdate()),g.buttonGroup[this.name]=this,this.checked=!0,this._emitChangeEvent())}_handleFocus(){this.dispatchEvent(new Event("nys-focus"))}_handleBlur(){this.dispatchEvent(new Event("nys-blur"))}_handleKeydown(t){t.code==="Space"&&(t.preventDefault(),!this.disabled&&!this.checked&&(g.buttonGroup[this.name]&&(g.buttonGroup[this.name].checked=!1,g.buttonGroup[this.name].requestUpdate()),g.buttonGroup[this.name]=this,this.checked=!0,this._emitChangeEvent()))}render(){return d`
3644
+ </div>`}},u1.VALID_SIZES=["sm","md"],u1.styles=f5,u1.formAssociated=!0,u1);X([c({type:String})],W.prototype,"id",2),X([c({type:String,reflect:!0})],W.prototype,"name",2),X([c({type:Boolean,reflect:!0})],W.prototype,"required",2),X([c({type:Boolean,reflect:!0})],W.prototype,"optional",2),X([c({type:Boolean,reflect:!0})],W.prototype,"showError",2),X([c({type:String})],W.prototype,"errorMessage",2),X([c({type:String})],W.prototype,"label",2),X([c({type:String})],W.prototype,"description",2),X([l1()],W.prototype,"selectedValue",2),X([c({reflect:!0})],W.prototype,"size",1),X([c({type:Boolean,reflect:!0})],W.prototype,"tile",2);let v5=W;customElements.get("nys-radiogroup")||customElements.define("nys-radiogroup",v5);var Eo=Object.defineProperty,Ao=Object.getOwnPropertyDescriptor,i1=(r,t,e,s)=>{for(var o=s>1?void 0:s?Ao(t,e):t,i=r.length-1,n;i>=0;i--)(n=r[i])&&(o=(s?n(t,e,o):n(o))||o);return s&&o&&Eo(t,e,o),o};let Lo=0;const Q=(_=class extends f{constructor(){super(...arguments),this.checked=!1,this.disabled=!1,this.required=!1,this.label="",this.description="",this.id="",this.name="",this.value="",this._size="md",this.tile=!1}get size(){return this._size}set size(t){this._size=_.VALID_SIZES.includes(t)?t:"md"}async getInputElement(){var t;return await this.updateComplete,((t=this.shadowRoot)==null?void 0:t.querySelector("input"))||null}formResetUpdate(){this.checked=!1}connectedCallback(){super.connectedCallback(),this.id||(this.id=`nys-radiobutton-${Date.now()}-${Lo++}`),this.checked&&(_.buttonGroup[this.name]&&(_.buttonGroup[this.name].checked=!1,_.buttonGroup[this.name].requestUpdate()),_.buttonGroup[this.name]=this)}updated(t){t.has("checked")&&this.checked&&_.buttonGroup[this.name]!==this&&(_.buttonGroup[this.name]&&(_.buttonGroup[this.name].checked=!1,_.buttonGroup[this.name].requestUpdate()),_.buttonGroup[this.name]=this)}checkValidity(){var e;if(this.required&&!this.checked)return!1;const t=(e=this.shadowRoot)==null?void 0:e.querySelector("input");return t?t.checkValidity():!0}_emitChangeEvent(){this.dispatchEvent(new CustomEvent("nys-change",{detail:{checked:this.checked,name:this.name,value:this.value},bubbles:!0,composed:!0}))}_handleChange(){this.checked||(_.buttonGroup[this.name]&&(_.buttonGroup[this.name].checked=!1,_.buttonGroup[this.name].requestUpdate()),_.buttonGroup[this.name]=this,this.checked=!0,this._emitChangeEvent())}_handleFocus(){this.dispatchEvent(new Event("nys-focus"))}_handleBlur(){this.dispatchEvent(new Event("nys-blur"))}_handleKeydown(t){t.code==="Space"&&(t.preventDefault(),!this.disabled&&!this.checked&&(_.buttonGroup[this.name]&&(_.buttonGroup[this.name].checked=!1,_.buttonGroup[this.name].requestUpdate()),_.buttonGroup[this.name]=this,this.checked=!0,this._emitChangeEvent()))}render(){return d`
3568
3645
  <label class="nys-radiobutton">
3569
3646
  <input
3570
3647
  id="${this.id}"
@@ -3592,7 +3669,7 @@
3592
3669
  </label>
3593
3670
  </div>`}
3594
3671
  </label>
3595
- `}},g.VALID_SIZES=["sm","md"],g.buttonGroup={},g.styles=u5,g);i1([c({type:Boolean,reflect:!0})],Q.prototype,"checked",2),i1([c({type:Boolean,reflect:!0})],Q.prototype,"disabled",2),i1([c({type:Boolean,reflect:!0})],Q.prototype,"required",2),i1([c({type:String})],Q.prototype,"label",2),i1([c({type:String})],Q.prototype,"description",2),i1([c({type:String})],Q.prototype,"id",2),i1([c({type:String,reflect:!0})],Q.prototype,"name",2),i1([c({type:String})],Q.prototype,"value",2),i1([c({reflect:!0})],Q.prototype,"size",1),i1([c({type:Boolean,reflect:!0})],Q.prototype,"tile",2);let C5=Q;customElements.get("nys-radiobutton")||customElements.define("nys-radiobutton",C5);const kr=b`
3672
+ `}},_.VALID_SIZES=["sm","md"],_.buttonGroup={},_.styles=f5,_);i1([c({type:Boolean,reflect:!0})],Q.prototype,"checked",2),i1([c({type:Boolean,reflect:!0})],Q.prototype,"disabled",2),i1([c({type:Boolean,reflect:!0})],Q.prototype,"required",2),i1([c({type:String})],Q.prototype,"label",2),i1([c({type:String})],Q.prototype,"description",2),i1([c({type:String})],Q.prototype,"id",2),i1([c({type:String,reflect:!0})],Q.prototype,"name",2),i1([c({type:String})],Q.prototype,"value",2),i1([c({reflect:!0})],Q.prototype,"size",1),i1([c({type:Boolean,reflect:!0})],Q.prototype,"tile",2);let g5=Q;customElements.get("nys-radiobutton")||customElements.define("nys-radiobutton",g5);const Mo=b`
3596
3673
  :host {
3597
3674
  /* Global Select Styles */
3598
3675
  --_nys-select-width: 100%;
@@ -3739,7 +3816,7 @@
3739
3816
  --_nys-select-border-default: var(--nys-border-width-sm, 1px) solid
3740
3817
  var(--_nys-select-error-color);
3741
3818
  }
3742
- `;var $r=Object.defineProperty,At=(o,t,e,s)=>{for(var r=void 0,i=o.length-1,n;i>=0;i--)(n=o[i])&&(r=n(t,e,r)||r);return r&&$r(t,e,r),r};class x1 extends f{constructor(){super(...arguments),this.disabled=!1,this.selected=!1,this.value="",this.label="",this.hidden=!1}firstUpdated(){var e;const t=(e=this.shadowRoot)==null?void 0:e.querySelector("slot");t&&t.addEventListener("slotchange",()=>{var r;const s=t.assignedNodes({flatten:!0});s.length>0&&(this.label=((r=s[0].textContent)==null?void 0:r.trim())||"")})}render(){return d`
3819
+ `;var Do=Object.defineProperty,Lt=(r,t,e,s)=>{for(var o=void 0,i=r.length-1,n;i>=0;i--)(n=r[i])&&(o=n(t,e,o)||o);return o&&Do(t,e,o),o};class x1 extends f{constructor(){super(...arguments),this.disabled=!1,this.selected=!1,this.value="",this.label="",this.hidden=!1}firstUpdated(){var e;const t=(e=this.shadowRoot)==null?void 0:e.querySelector("slot");t&&t.addEventListener("slotchange",()=>{var o;const s=t.assignedNodes({flatten:!0});s.length>0&&(this.label=((o=s[0].textContent)==null?void 0:o.trim())||"")})}render(){return d`
3743
3820
  <option
3744
3821
  ?disabled=${this.disabled}
3745
3822
  ?selected=${this.selected}
@@ -3749,7 +3826,7 @@
3749
3826
  >
3750
3827
  <slot>${this.label}</slot>
3751
3828
  </option>
3752
- `}}At([c({type:Boolean,reflect:!0})],x1.prototype,"disabled"),At([c({type:Boolean,reflect:!0})],x1.prototype,"selected"),At([c({type:String})],x1.prototype,"value"),At([c({type:String})],x1.prototype,"label"),At([c({type:Boolean,reflect:!0})],x1.prototype,"hidden"),customElements.define("nys-option",x1);var Sr=Object.defineProperty,Er=Object.getOwnPropertyDescriptor,Y=(o,t,e,s)=>{for(var r=s>1?void 0:s?Er(t,e):t,i=o.length-1,n;i>=0;i--)(n=o[i])&&(r=(s?n(t,e,r):n(r))||r);return s&&r&&Sr(t,e,r),r};let Ar=0;const F=(u1=class extends f{constructor(){super(),this.id="",this.name="",this.label="",this.description="",this.value="",this.disabled=!1,this.required=!1,this.optional=!1,this.form="",this.showError=!1,this.errorMessage="",this._width="md",this._hasUserInteracted=!1,this._internals=this.attachInternals()}get width(){return this._width}set width(t){this._width=u1.VALID_WIDTHS.includes(t)?t:"full"}connectedCallback(){super.connectedCallback(),this.id||(this.id=`nys-select-${Date.now()}-${Ar++}`),this.addEventListener("invalid",this._handleInvalid)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("invalid",this._handleInvalid)}firstUpdated(){this._setValue(),this._manageRequire()}formResetCallback(){this.value=""}_handleSlotChange(){var r,i;const t=(r=this.shadowRoot)==null?void 0:r.querySelector('slot:not([name="description"])'),e=(i=this.shadowRoot)==null?void 0:i.querySelector("select");if(!t||!e)return;e.querySelectorAll("option:not([hidden])").forEach(n=>n.remove()),t.assignedElements({flatten:!0}).forEach(n=>{var a;if(n instanceof x1){const l=document.createElement("option");l.value=n.value,l.textContent=n.label||((a=n.textContent)==null?void 0:a.trim())||"",l.disabled=n.disabled,l.selected=n.selected,e.appendChild(l)}})}_setValue(){this._internals.setFormValue(this.value),this._manageRequire()}_manageRequire(){var r;const t=(r=this.shadowRoot)==null?void 0:r.querySelector("select");if(!t)return;const e=this.errorMessage||"Please select an option.";this.required&&!this.value?(this._internals.ariaRequired="true",this._internals.setValidity({valueMissing:!0},e,t)):(this._internals.ariaRequired="false",this._internals.setValidity({}),this._hasUserInteracted=!1)}_setValidityMessage(t=""){var s,r;const e=(s=this.shadowRoot)==null?void 0:s.querySelector("select");e&&(this.showError=!!t,(r=this.errorMessage)!=null&&r.trim()&&t!==""&&(t=this.errorMessage),this._internals.setValidity(t?{customError:!0}:{},t,e))}_validate(){var s;const t=(s=this.shadowRoot)==null?void 0:s.querySelector("select");if(!t)return;let e=t.validationMessage;this._manageRequire(),this._setValidityMessage(e)}checkValidity(){var e;const t=(e=this.shadowRoot)==null?void 0:e.querySelector("select");return t?t.checkValidity():!0}_handleInvalid(t){var s;t.preventDefault(),this._hasUserInteracted=!0,this._validate(),this.showError=!0;const e=(s=this.shadowRoot)==null?void 0:s.querySelector("select");if(e){const r=this._internals.form;r?Array.from(r.elements).find(a=>typeof a.checkValidity=="function"&&!a.checkValidity())===this&&e.focus():e.focus()}}_handleChange(t){const e=t.target;this.value=e.value,this._internals.setFormValue(this.value),this._hasUserInteracted&&this._validate(),this.dispatchEvent(new CustomEvent("change",{detail:{value:this.value},bubbles:!0,composed:!0}))}_handleFocus(){this.dispatchEvent(new Event("nys-focus"))}_handleBlur(){this._hasUserInteracted||(this._hasUserInteracted=!0),this._validate(),this.dispatchEvent(new Event("nys-blur"))}updated(t){var e;if(super.updated(t),t.has("value")){const s=(e=this.shadowRoot)==null?void 0:e.querySelector("select");s&&(s.value=this.value)}}render(){return d`
3829
+ `}}Lt([c({type:Boolean,reflect:!0})],x1.prototype,"disabled"),Lt([c({type:Boolean,reflect:!0})],x1.prototype,"selected"),Lt([c({type:String})],x1.prototype,"value"),Lt([c({type:String})],x1.prototype,"label"),Lt([c({type:Boolean,reflect:!0})],x1.prototype,"hidden"),customElements.define("nys-option",x1);var Ho=Object.defineProperty,Vo=Object.getOwnPropertyDescriptor,Y=(r,t,e,s)=>{for(var o=s>1?void 0:s?Vo(t,e):t,i=r.length-1,n;i>=0;i--)(n=r[i])&&(o=(s?n(t,e,o):n(o))||o);return s&&o&&Ho(t,e,o),o};let Uo=0;const F=(p1=class extends f{constructor(){super(),this.id="",this.name="",this.label="",this.description="",this.value="",this.disabled=!1,this.required=!1,this.optional=!1,this.form="",this.showError=!1,this.errorMessage="",this._width="md",this._hasUserInteracted=!1,this._internals=this.attachInternals()}get width(){return this._width}set width(t){this._width=p1.VALID_WIDTHS.includes(t)?t:"full"}connectedCallback(){super.connectedCallback(),this.id||(this.id=`nys-select-${Date.now()}-${Uo++}`),this.addEventListener("invalid",this._handleInvalid)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("invalid",this._handleInvalid)}firstUpdated(){this._setValue(),this._manageRequire()}formResetCallback(){this.value=""}_handleSlotChange(){var o,i;const t=(o=this.shadowRoot)==null?void 0:o.querySelector('slot:not([name="description"])'),e=(i=this.shadowRoot)==null?void 0:i.querySelector("select");if(!t||!e)return;e.querySelectorAll("option:not([hidden])").forEach(n=>n.remove()),t.assignedElements({flatten:!0}).forEach(n=>{var a;if(n instanceof x1){const l=document.createElement("option");l.value=n.value,l.textContent=n.label||((a=n.textContent)==null?void 0:a.trim())||"",l.disabled=n.disabled,l.selected=n.selected,e.appendChild(l)}})}_setValue(){this._internals.setFormValue(this.value),this._manageRequire()}_manageRequire(){var o;const t=(o=this.shadowRoot)==null?void 0:o.querySelector("select");if(!t)return;const e=this.errorMessage||"Please select an option.";this.required&&!this.value?(this._internals.ariaRequired="true",this._internals.setValidity({valueMissing:!0},e,t)):(this._internals.ariaRequired="false",this._internals.setValidity({}),this._hasUserInteracted=!1)}_setValidityMessage(t=""){var s,o;const e=(s=this.shadowRoot)==null?void 0:s.querySelector("select");e&&(this.showError=!!t,(o=this.errorMessage)!=null&&o.trim()&&t!==""&&(t=this.errorMessage),this._internals.setValidity(t?{customError:!0}:{},t,e))}_validate(){var s;const t=(s=this.shadowRoot)==null?void 0:s.querySelector("select");if(!t)return;let e=t.validationMessage;this._manageRequire(),this._setValidityMessage(e)}checkValidity(){var e;const t=(e=this.shadowRoot)==null?void 0:e.querySelector("select");return t?t.checkValidity():!0}_handleInvalid(t){var s;t.preventDefault(),this._hasUserInteracted=!0,this._validate(),this.showError=!0;const e=(s=this.shadowRoot)==null?void 0:s.querySelector("select");if(e){const o=this._internals.form;o?Array.from(o.elements).find(a=>typeof a.checkValidity=="function"&&!a.checkValidity())===this&&e.focus():e.focus()}}_handleChange(t){const e=t.target;this.value=e.value,this._internals.setFormValue(this.value),this._hasUserInteracted&&this._validate(),this.dispatchEvent(new CustomEvent("change",{detail:{value:this.value},bubbles:!0,composed:!0}))}_handleFocus(){this.dispatchEvent(new Event("nys-focus"))}_handleBlur(){this._hasUserInteracted||(this._hasUserInteracted=!0),this._validate(),this.dispatchEvent(new Event("nys-blur"))}updated(t){var e;if(super.updated(t),t.has("value")){const s=(e=this.shadowRoot)==null?void 0:e.querySelector("select");s&&(s.value=this.value)}}render(){return d`
3753
3830
  <div class="nys-select">
3754
3831
  <nys-label
3755
3832
  id=${this.id}
@@ -3790,7 +3867,7 @@
3790
3867
  errorMessage=${this._internals.validationMessage||this.errorMessage}
3791
3868
  ></nys-errormessage>
3792
3869
  </div>
3793
- `}},u1.VALID_WIDTHS=["sm","md","lg","full"],u1.styles=kr,u1.formAssociated=!0,u1);Y([c({type:String})],F.prototype,"id",2),Y([c({type:String,reflect:!0})],F.prototype,"name",2),Y([c({type:String})],F.prototype,"label",2),Y([c({type:String})],F.prototype,"description",2),Y([c({type:String})],F.prototype,"value",2),Y([c({type:Boolean,reflect:!0})],F.prototype,"disabled",2),Y([c({type:Boolean,reflect:!0})],F.prototype,"required",2),Y([c({type:Boolean,reflect:!0})],F.prototype,"optional",2),Y([c({type:String})],F.prototype,"form",2),Y([c({type:Boolean,reflect:!0})],F.prototype,"showError",2),Y([c({type:String})],F.prototype,"errorMessage",2),Y([c({reflect:!0})],F.prototype,"width",1);let f5=F;customElements.get("nys-select")||customElements.define("nys-select",f5);const Lr=b`
3870
+ `}},p1.VALID_WIDTHS=["sm","md","lg","full"],p1.styles=Mo,p1.formAssociated=!0,p1);Y([c({type:String})],F.prototype,"id",2),Y([c({type:String,reflect:!0})],F.prototype,"name",2),Y([c({type:String})],F.prototype,"label",2),Y([c({type:String})],F.prototype,"description",2),Y([c({type:String})],F.prototype,"value",2),Y([c({type:Boolean,reflect:!0})],F.prototype,"disabled",2),Y([c({type:Boolean,reflect:!0})],F.prototype,"required",2),Y([c({type:Boolean,reflect:!0})],F.prototype,"optional",2),Y([c({type:String})],F.prototype,"form",2),Y([c({type:Boolean,reflect:!0})],F.prototype,"showError",2),Y([c({type:String})],F.prototype,"errorMessage",2),Y([c({reflect:!0})],F.prototype,"width",1);let _5=F;customElements.get("nys-select")||customElements.define("nys-select",_5);const zo=b`
3794
3871
  :host {
3795
3872
  /* Global Skipnav Styles */
3796
3873
  --_nys-skipnav-padding-vertical: var(--nys-space-100, 8px);
@@ -3862,7 +3939,7 @@
3862
3939
  left: auto;
3863
3940
  outline: none;
3864
3941
  }
3865
- `;var Mr=Object.defineProperty,v5=(o,t,e,s)=>{for(var r=void 0,i=o.length-1,n;i>=0;i--)(n=o[i])&&(r=n(t,e,r)||r);return r&&Mr(t,e,r),r};const re=class re extends f{constructor(){super(),this.id="",this.href=""}connectedCallback(){super.connectedCallback(),this.id||(this.id=`nys-skipnav-${Date.now()}`)}_handleFocus(){var e;const t=(e=this.shadowRoot)==null?void 0:e.querySelector(".nys-skipnav__link");t==null||t.classList.add("show")}_handleBlur(){var e;const t=(e=this.shadowRoot)==null?void 0:e.querySelector(".nys-skipnav__link");t==null||t.classList.remove("show")}_handleClick(){const t=(this.href||"#main-content").replace("#",""),e=document.getElementById(t);e&&(e.setAttribute("tabindex","-1"),e.focus(),e.style.outline="none")}render(){return d`
3942
+ `;var Po=Object.defineProperty,b5=(r,t,e,s)=>{for(var o=void 0,i=r.length-1,n;i>=0;i--)(n=r[i])&&(o=n(t,e,o)||o);return o&&Po(t,e,o),o};const i2=class i2 extends f{constructor(){super(),this.id="",this.href=""}connectedCallback(){super.connectedCallback(),this.id||(this.id=`nys-skipnav-${Date.now()}`)}_handleFocus(){var e;const t=(e=this.shadowRoot)==null?void 0:e.querySelector(".nys-skipnav__link");t==null||t.classList.add("show")}_handleBlur(){var e;const t=(e=this.shadowRoot)==null?void 0:e.querySelector(".nys-skipnav__link");t==null||t.classList.remove("show")}_handleClick(){const t=(this.href||"#main-content").replace("#",""),e=document.getElementById(t);e&&(e.setAttribute("tabindex","-1"),e.focus(),e.style.outline="none")}render(){return d`
3866
3943
  <div class="nys-skipnav">
3867
3944
  <a
3868
3945
  id=${this.id}
@@ -3876,7 +3953,7 @@
3876
3953
  Skip to main content
3877
3954
  </a>
3878
3955
  </div>
3879
- `}};re.styles=Lr;let nt=re;v5([c({type:String})],nt.prototype,"id"),v5([c({type:String})],nt.prototype,"href"),customElements.get("nys-skipnav")||customElements.define("nys-skipnav",nt);const Dr=b`
3956
+ `}};i2.styles=zo;let it=i2;b5([c({type:String})],it.prototype,"id"),b5([c({type:String})],it.prototype,"href"),customElements.get("nys-skipnav")||customElements.define("nys-skipnav",it);const Oo=b`
3880
3957
  :host {
3881
3958
  /* Anything that can be overridden should be defined here */
3882
3959
 
@@ -4017,7 +4094,7 @@
4017
4094
  color: var(--_nys-textarea-disabled-color-text);
4018
4095
  cursor: not-allowed;
4019
4096
  }
4020
- `;var Hr=Object.defineProperty,Vr=Object.getOwnPropertyDescriptor,Z=(o,t,e,s)=>{for(var r=s>1?void 0:s?Vr(t,e):t,i=o.length-1,n;i>=0;i--)(n=o[i])&&(r=(s?n(t,e,r):n(r))||r);return s&&r&&Hr(t,e,r),r};let Ur=0;const V=(s1=class extends f{constructor(){super(),this.id="",this.name="",this.label="",this.description="",this.placeholder="",this.value="",this.disabled=!1,this.readonly=!1,this.required=!1,this.optional=!1,this.form="",this.maxlength=null,this.width="full",this.rows=4,this._resize="vertical",this.showError=!1,this.errorMessage="",this._hasUserInteracted=!1,this._internals=this.attachInternals()}get resize(){return this._resize}set resize(t){this._resize=s1.VALID_RESIZE.includes(t)?t:"vertical"}async updated(t){await Promise.resolve(),t.has("width")&&(this.width=s1.VALID_WIDTHS.includes(this.width)?this.width:"full"),t.has("rows")&&(this.rows=this.rows??4)}connectedCallback(){super.connectedCallback(),this.id||(this.id=`nys-textarea-${Date.now()}-${Ur++}`),this.addEventListener("invalid",this._handleInvalid)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("invalid",this._handleInvalid)}firstUpdated(){this._setValue(),this._manageRequire()}formResetCallback(){this.value=""}_setValue(){this._manageRequire(),this._internals.setFormValue(this.value)}_manageRequire(){var r;const t=(r=this.shadowRoot)==null?void 0:r.querySelector("textarea");if(!t)return;const e=this.errorMessage||"This field is required";this.required&&!this.value?(this._internals.ariaRequired="true",this._internals.setValidity({valueMissing:!0},e,t)):(this._internals.ariaRequired="false",this._internals.setValidity({}),this._hasUserInteracted=!1)}_setValidityMessage(t=""){var s,r;const e=(s=this.shadowRoot)==null?void 0:s.querySelector("textarea");e&&(this.showError=!!t,(r=this.errorMessage)!=null&&r.trim()&&t!==""&&(t=this.errorMessage),this._internals.setValidity(t?{customError:!0}:{},t,e))}_validate(){var s;const t=(s=this.shadowRoot)==null?void 0:s.querySelector("textarea");if(!t)return;let e=t.validationMessage;this._setValidityMessage(e)}checkValidity(){var e;const t=(e=this.shadowRoot)==null?void 0:e.querySelector("textarea");return t?t.checkValidity():!0}_handleInvalid(t){var s;t.preventDefault(),this._hasUserInteracted=!0,this._validate();const e=(s=this.shadowRoot)==null?void 0:s.querySelector("textarea");if(e){const r=this._internals.form;r?Array.from(r.elements).find(a=>typeof a.checkValidity=="function"&&!a.checkValidity())===this&&e.focus():e.focus()}}_handleInput(t){const e=t.target;this.value=e.value,this._internals.setFormValue(this.value),this._hasUserInteracted&&this._validate(),this.dispatchEvent(new CustomEvent("nys-input",{detail:{value:this.value},bubbles:!0,composed:!0}))}_handleFocus(){this.dispatchEvent(new Event("nys-focus"))}_handleBlur(){this._hasUserInteracted||(this._hasUserInteracted=!0),this._validate(),this.dispatchEvent(new Event("nys-blur"))}_handleSelect(t){const e=t.target;this.value=e.value,this.dispatchEvent(new CustomEvent("nys-select",{detail:{value:this.value},bubbles:!0,composed:!0}))}_handleSelectionChange(t){const e=t.target;this.value=e.value,this.dispatchEvent(new CustomEvent("selectionchange",{detail:{value:this.value},bubbles:!0,composed:!0}))}render(){return d`
4097
+ `;var Zo=Object.defineProperty,Io=Object.getOwnPropertyDescriptor,T=(r,t,e,s)=>{for(var o=s>1?void 0:s?Io(t,e):t,i=r.length-1,n;i>=0;i--)(n=r[i])&&(o=(s?n(t,e,o):n(o))||o);return s&&o&&Zo(t,e,o),o};let To=0;const I=(s1=class extends f{constructor(){super(),this.id="",this.name="",this.label="",this.description="",this.placeholder="",this.value="",this.disabled=!1,this.readonly=!1,this.required=!1,this.optional=!1,this.form="",this.maxlength=null,this.width="full",this.rows=4,this._resize="vertical",this.showError=!1,this.errorMessage="",this._hasUserInteracted=!1,this._internals=this.attachInternals()}get resize(){return this._resize}set resize(t){this._resize=s1.VALID_RESIZE.includes(t)?t:"vertical"}async updated(t){await Promise.resolve(),t.has("width")&&(this.width=s1.VALID_WIDTHS.includes(this.width)?this.width:"full"),t.has("rows")&&(this.rows=this.rows??4)}connectedCallback(){super.connectedCallback(),this.id||(this.id=`nys-textarea-${Date.now()}-${To++}`),this.addEventListener("invalid",this._handleInvalid)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("invalid",this._handleInvalid)}firstUpdated(){this._setValue(),this._manageRequire()}formResetCallback(){this.value=""}_setValue(){this._manageRequire(),this._internals.setFormValue(this.value)}_manageRequire(){var o;const t=(o=this.shadowRoot)==null?void 0:o.querySelector("textarea");if(!t)return;const e=this.errorMessage||"This field is required";this.required&&!this.value?(this._internals.ariaRequired="true",this._internals.setValidity({valueMissing:!0},e,t)):(this._internals.ariaRequired="false",this._internals.setValidity({}),this._hasUserInteracted=!1)}_setValidityMessage(t=""){var s,o;const e=(s=this.shadowRoot)==null?void 0:s.querySelector("textarea");e&&(this.showError=!!t,(o=this.errorMessage)!=null&&o.trim()&&t!==""&&(t=this.errorMessage),this._internals.setValidity(t?{customError:!0}:{},t,e))}_validate(){var s;const t=(s=this.shadowRoot)==null?void 0:s.querySelector("textarea");if(!t)return;let e=t.validationMessage;this._setValidityMessage(e)}checkValidity(){var e;const t=(e=this.shadowRoot)==null?void 0:e.querySelector("textarea");return t?t.checkValidity():!0}_handleInvalid(t){var s;t.preventDefault(),this._hasUserInteracted=!0,this._validate();const e=(s=this.shadowRoot)==null?void 0:s.querySelector("textarea");if(e){const o=this._internals.form;o?Array.from(o.elements).find(a=>typeof a.checkValidity=="function"&&!a.checkValidity())===this&&e.focus():e.focus()}}_handleInput(t){const e=t.target;this.value=e.value,this._internals.setFormValue(this.value),this._hasUserInteracted&&this._validate(),this.dispatchEvent(new CustomEvent("nys-input",{detail:{value:this.value},bubbles:!0,composed:!0}))}_handleFocus(){this.dispatchEvent(new Event("nys-focus"))}_handleBlur(){this._hasUserInteracted||(this._hasUserInteracted=!0),this._validate(),this.dispatchEvent(new Event("nys-blur"))}_handleSelect(t){const e=t.target;this.value=e.value,this.dispatchEvent(new CustomEvent("nys-select",{detail:{value:this.value},bubbles:!0,composed:!0}))}_handleSelectionChange(t){const e=t.target;this.value=e.value,this.dispatchEvent(new CustomEvent("selectionchange",{detail:{value:this.value},bubbles:!0,composed:!0}))}render(){return d`
4021
4098
  <label class="nys-textarea">
4022
4099
  <nys-label
4023
4100
  id=${this.id}
@@ -4053,7 +4130,7 @@ ${this.value}</textarea
4053
4130
  errorMessage=${this._internals.validationMessage||this.errorMessage}
4054
4131
  ></nys-errormessage>
4055
4132
  </label>
4056
- `}},s1.VALID_WIDTHS=["sm","md","lg","full"],s1.VALID_RESIZE=["vertical","none"],s1.styles=Dr,s1.formAssociated=!0,s1);Z([c({type:String})],V.prototype,"id",2),Z([c({type:String,reflect:!0})],V.prototype,"name",2),Z([c({type:String})],V.prototype,"label",2),Z([c({type:String})],V.prototype,"description",2),Z([c({type:String})],V.prototype,"placeholder",2),Z([c({type:String})],V.prototype,"value",2),Z([c({type:Boolean,reflect:!0})],V.prototype,"disabled",2),Z([c({type:Boolean,reflect:!0})],V.prototype,"readonly",2),Z([c({type:Boolean,reflect:!0})],V.prototype,"required",2),Z([c({type:Boolean,reflect:!0})],V.prototype,"optional",2),Z([c({type:String})],V.prototype,"form",2),Z([c({type:Number})],V.prototype,"maxlength",2),Z([c({reflect:!0})],V.prototype,"width",2),Z([c({type:Number})],V.prototype,"rows",2),Z([c({reflect:!0})],V.prototype,"resize",1),Z([c({type:Boolean,reflect:!0})],V.prototype,"showError",2),Z([c({type:String})],V.prototype,"errorMessage",2);let g5=V;customElements.get("nys-textarea")||customElements.define("nys-textarea",g5);const zr=b`
4133
+ `}},s1.VALID_WIDTHS=["sm","md","lg","full"],s1.VALID_RESIZE=["vertical","none"],s1.styles=Oo,s1.formAssociated=!0,s1);T([c({type:String})],I.prototype,"id",2),T([c({type:String,reflect:!0})],I.prototype,"name",2),T([c({type:String})],I.prototype,"label",2),T([c({type:String})],I.prototype,"description",2),T([c({type:String})],I.prototype,"placeholder",2),T([c({type:String})],I.prototype,"value",2),T([c({type:Boolean,reflect:!0})],I.prototype,"disabled",2),T([c({type:Boolean,reflect:!0})],I.prototype,"readonly",2),T([c({type:Boolean,reflect:!0})],I.prototype,"required",2),T([c({type:Boolean,reflect:!0})],I.prototype,"optional",2),T([c({type:String})],I.prototype,"form",2),T([c({type:Number})],I.prototype,"maxlength",2),T([c({reflect:!0})],I.prototype,"width",2),T([c({type:Number})],I.prototype,"rows",2),T([c({reflect:!0})],I.prototype,"resize",1),T([c({type:Boolean,reflect:!0})],I.prototype,"showError",2),T([c({type:String})],I.prototype,"errorMessage",2);let m5=I;customElements.get("nys-textarea")||customElements.define("nys-textarea",m5);const Bo=b`
4057
4134
  :host {
4058
4135
  /* Anything that can be overridden should be defined here */
4059
4136
 
@@ -4230,17 +4307,16 @@ ${this.value}</textarea
4230
4307
  transform: translateY(-50%);
4231
4308
  cursor: pointer;
4232
4309
  color: var(--_nys-textinput-icon-color);
4233
- --_nys-button-color-bg: transparent;
4234
- --_nys-button-color-bg-hover: transparent;
4235
- --_nys-button-color-bg-active: transparent;
4310
+ --_nys-button-color-bg: var(--_nys-textinput-background-color);
4311
+ --_nys-button-color-bg-hover: var(--_nys-textinput-background-color);
4312
+ --_nys-button-color-bg-active: var(--_nys-textinput-background-color);
4236
4313
  --_nys-button-offset-focus: calc(
4237
4314
  var(--_nys-button-width-focus) * -1
4238
4315
  ); /* Needs to be negative of the offset width */
4239
- --_nys-button-radius-left: var(--_nys-textinput-radius);
4240
- --_nys-button-radius-right: var(--_nys-textinput-radius);
4241
- --_nys-button-height: var(--nys-size-400, 32px);
4316
+ --_nys-button-padding-y: var(--nys-space-50, 4px);
4317
+ --_nys-button-padding-x: var(--nys-space-50, 4px);
4318
+ --_nys-button-height: var(--nys-size-300, 32px);
4242
4319
  --_nys-button-width: var(--nys-size-400, 32px);
4243
- --_nys-button-padding-x: 0;
4244
4320
  }
4245
4321
 
4246
4322
  /* Hovered */
@@ -4267,7 +4343,7 @@ ${this.value}</textarea
4267
4343
  color: var(--_nys-textinput-disabled-color-text);
4268
4344
  cursor: not-allowed;
4269
4345
  }
4270
- `;var Pr=Object.defineProperty,Or=Object.getOwnPropertyDescriptor,w=(o,t,e,s)=>{for(var r=s>1?void 0:s?Or(t,e):t,i=o.length-1,n;i>=0;i--)(n=o[i])&&(r=(s?n(t,e,r):n(r))||r);return s&&r&&Pr(t,e,r),r};let Zr=0;const m=(r1=class extends f{constructor(){super(),this.id="",this.name="",this._type="text",this.label="",this.description="",this.placeholder="",this.value="",this.disabled=!1,this.readonly=!1,this.required=!1,this.optional=!1,this.form="",this.pattern="",this.maxlength=null,this.width="full",this.step=null,this.min=null,this.max=null,this.showError=!1,this.errorMessage="",this.showPassword=!1,this._originalErrorMessage="",this._hasUserInteracted=!1,this._internals=this.attachInternals()}get type(){return this._type}set type(t){this._type=r1.VALID_TYPES.includes(t)?t:"text"}async updated(t){t.has("width")&&(await Promise.resolve(),this.width=r1.VALID_WIDTHS.includes(this.width)?this.width:"full"),t.has("disabled")&&(this._validateButtonSlot("startButton"),this._validateButtonSlot("endButton"))}connectedCallback(){super.connectedCallback(),this.id||(this.id=`nys-textinput-${Date.now()}-${Zr++}`),this._originalErrorMessage=this.errorMessage??"",this.addEventListener("invalid",this._handleInvalid)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("invalid",this._handleInvalid)}firstUpdated(){this._setValue(),this._manageRequire()}formResetCallback(){this.value=""}_setValue(){this._internals.setFormValue(this.value),this._manageRequire()}_manageRequire(){var r,i;const t=(r=this.shadowRoot)==null?void 0:r.querySelector("input");if(!t)return;const e=this.errorMessage||"This field is required";this.required&&(!this.value||((i=this.value)==null?void 0:i.trim())==="")?(this._internals.ariaRequired="true",this._internals.setValidity({valueMissing:!0},e,t)):(this._internals.ariaRequired="false",this._internals.setValidity({}),this._hasUserInteracted=!1)}_setValidityMessage(t=""){var r,i;const e=(r=this.shadowRoot)==null?void 0:r.querySelector("input");if(!e)return;this.showError=!!t,(i=this._originalErrorMessage)!=null&&i.trim()&&t!==""?this.errorMessage=this._originalErrorMessage:this.errorMessage=t;const s=t?{customError:!0}:{};this._internals.setValidity(s,this.errorMessage,e)}_validate(){var r;const t=(r=this.shadowRoot)==null?void 0:r.querySelector("input");if(!t)return;const e=t.validity;let s="";e.valueMissing?s="This field is required":e.typeMismatch?s="Invalid format for this type":e.patternMismatch?s="Invalid format":e.tooShort?s=`Value is too short. Minimum length is ${t.minLength}`:e.tooLong?s=`Value is too long. Maximum length is ${t.maxLength}`:e.rangeUnderflow?s=`Value must be at least ${t.min}`:e.rangeOverflow?s=`Value must be at most ${t.max}`:e.stepMismatch?s="Invalid step value":s=t.validationMessage,this._setValidityMessage(s)}checkValidity(){var e;const t=(e=this.shadowRoot)==null?void 0:e.querySelector("input");return t?t.checkValidity():!0}_handleInvalid(t){var s;t.preventDefault(),this._hasUserInteracted=!0,this._validate();const e=(s=this.shadowRoot)==null?void 0:s.querySelector("input");if(e){const r=this._internals.form;r?Array.from(r.elements).find(a=>typeof a.checkValidity=="function"&&!a.checkValidity())===this&&e.focus():e.focus()}}_togglePasswordVisibility(){this.showPassword=!this.showPassword}_handleInput(t){const e=t.target;this.value=e.value,this._internals.setFormValue(this.value),this._hasUserInteracted&&this._validate(),this.dispatchEvent(new CustomEvent("nys-input",{detail:{value:this.value},bubbles:!0,composed:!0}))}_handleFocus(){this.dispatchEvent(new Event("nys-focus"))}_handleBlur(){this._hasUserInteracted||(this._hasUserInteracted=!0),this._validate(),this.dispatchEvent(new Event("nys-blur"))}_validateButtonSlot(t){var n,a;const e=(n=this.shadowRoot)==null?void 0:n.querySelector('slot[name="'+t+'"]'),s=(a=this.shadowRoot)==null?void 0:a.querySelector(".nys-textinput__buttoncontainer");if(!e||!s)return;const r=e.assignedElements();let i=!1;r.forEach(l=>{l instanceof HTMLElement&&l.tagName.toLowerCase()==="nys-button"&&!i?(i=!0,l.setAttribute("size","sm"),l.setAttribute("variant","primary"),this.disabled?l.setAttribute("disabled","true"):l.removeAttribute("disabled")):(console.warn("The '"+t+"' slot only accepts a single <nys-button> element. Removing invalid or extra node:",l),l.remove())}),t==="startButton"?s.classList.toggle("has-start-button",i):t==="endButton"&&s.classList.toggle("has-end-button",i)}render(){return d`
4346
+ `;var Ro=Object.defineProperty,No=Object.getOwnPropertyDescriptor,w=(r,t,e,s)=>{for(var o=s>1?void 0:s?No(t,e):t,i=r.length-1,n;i>=0;i--)(n=r[i])&&(o=(s?n(t,e,o):n(o))||o);return s&&o&&Ro(t,e,o),o};let qo=0;const m=(o1=class extends f{constructor(){super(),this.id="",this.name="",this._type="text",this.label="",this.description="",this.placeholder="",this.value="",this.disabled=!1,this.readonly=!1,this.required=!1,this.optional=!1,this.form="",this.pattern="",this.maxlength=null,this.width="full",this.step=null,this.min=null,this.max=null,this.showError=!1,this.errorMessage="",this.showPassword=!1,this._originalErrorMessage="",this._hasUserInteracted=!1,this._internals=this.attachInternals()}get type(){return this._type}set type(t){this._type=o1.VALID_TYPES.includes(t)?t:"text"}async updated(t){t.has("width")&&(await Promise.resolve(),this.width=o1.VALID_WIDTHS.includes(this.width)?this.width:"full"),t.has("disabled")&&(this._validateButtonSlot("startButton"),this._validateButtonSlot("endButton"))}connectedCallback(){super.connectedCallback(),this.id||(this.id=`nys-textinput-${Date.now()}-${qo++}`),this._originalErrorMessage=this.errorMessage??"",this.addEventListener("invalid",this._handleInvalid)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("invalid",this._handleInvalid)}firstUpdated(){this._setValue(),this._manageRequire()}formResetCallback(){this.value=""}_setValue(){this._internals.setFormValue(this.value),this._manageRequire()}_manageRequire(){var o,i;const t=(o=this.shadowRoot)==null?void 0:o.querySelector("input");if(!t)return;const e=this.errorMessage||"This field is required";this.required&&(!this.value||((i=this.value)==null?void 0:i.trim())==="")?(this._internals.ariaRequired="true",this._internals.setValidity({valueMissing:!0},e,t)):(this._internals.ariaRequired="false",this._internals.setValidity({}),this._hasUserInteracted=!1)}_setValidityMessage(t=""){var o,i;const e=(o=this.shadowRoot)==null?void 0:o.querySelector("input");if(!e)return;this.showError=!!t,(i=this._originalErrorMessage)!=null&&i.trim()&&t!==""?this.errorMessage=this._originalErrorMessage:this.errorMessage=t;const s=t?{customError:!0}:{};this._internals.setValidity(s,this.errorMessage,e)}_validate(){var o;const t=(o=this.shadowRoot)==null?void 0:o.querySelector("input");if(!t)return;const e=t.validity;let s="";e.valueMissing?s="This field is required":e.typeMismatch?s="Invalid format for this type":e.patternMismatch?s="Invalid format":e.tooShort?s=`Value is too short. Minimum length is ${t.minLength}`:e.tooLong?s=`Value is too long. Maximum length is ${t.maxLength}`:e.rangeUnderflow?s=`Value must be at least ${t.min}`:e.rangeOverflow?s=`Value must be at most ${t.max}`:e.stepMismatch?s="Invalid step value":s=t.validationMessage,this._setValidityMessage(s)}checkValidity(){var e;const t=(e=this.shadowRoot)==null?void 0:e.querySelector("input");return t?t.checkValidity():!0}_handleInvalid(t){var s;t.preventDefault(),this._hasUserInteracted=!0,this._validate();const e=(s=this.shadowRoot)==null?void 0:s.querySelector("input");if(e){const o=this._internals.form;o?Array.from(o.elements).find(a=>typeof a.checkValidity=="function"&&!a.checkValidity())===this&&e.focus():e.focus()}}_togglePasswordVisibility(){this.showPassword=!this.showPassword}_handleInput(t){const e=t.target;this.value=e.value,this._internals.setFormValue(this.value),this._hasUserInteracted&&this._validate(),this.dispatchEvent(new CustomEvent("nys-input",{detail:{value:this.value},bubbles:!0,composed:!0}))}_handleFocus(){this.dispatchEvent(new Event("nys-focus"))}_handleBlur(){this._hasUserInteracted||(this._hasUserInteracted=!0),this._validate(),this.dispatchEvent(new Event("nys-blur"))}_validateButtonSlot(t){var n,a;const e=(n=this.shadowRoot)==null?void 0:n.querySelector('slot[name="'+t+'"]'),s=(a=this.shadowRoot)==null?void 0:a.querySelector(".nys-textinput__buttoncontainer");if(!e||!s)return;const o=e.assignedElements();let i=!1;o.forEach(l=>{l instanceof HTMLElement&&l.tagName.toLowerCase()==="nys-button"&&!i?(i=!0,l.setAttribute("size","sm"),l.setAttribute("variant","primary"),this.disabled?l.setAttribute("disabled","true"):l.removeAttribute("disabled")):(console.warn("The '"+t+"' slot only accepts a single <nys-button> element. Removing invalid or extra node:",l),l.remove())}),t==="startButton"?s.classList.toggle("has-start-button",i):t==="endButton"&&s.classList.toggle("has-end-button",i)}render(){return d`
4271
4347
  <div class="nys-textinput">
4272
4348
  <nys-label
4273
4349
  id=${this.id}
@@ -4331,7 +4407,7 @@ ${this.value}</textarea
4331
4407
  errorMessage=${this.errorMessage}
4332
4408
  ></nys-errormessage>
4333
4409
  </div>
4334
- `}},r1.VALID_TYPES=["email","number","password","search","tel","text","url"],r1.VALID_WIDTHS=["sm","md","lg","full"],r1.styles=zr,r1.formAssociated=!0,r1);w([c({type:String})],m.prototype,"id",2),w([c({type:String,reflect:!0})],m.prototype,"name",2),w([c({reflect:!0})],m.prototype,"type",1),w([c({type:String})],m.prototype,"label",2),w([c({type:String})],m.prototype,"description",2),w([c({type:String})],m.prototype,"placeholder",2),w([c({type:String})],m.prototype,"value",2),w([c({type:Boolean,reflect:!0})],m.prototype,"disabled",2),w([c({type:Boolean,reflect:!0})],m.prototype,"readonly",2),w([c({type:Boolean,reflect:!0})],m.prototype,"required",2),w([c({type:Boolean,reflect:!0})],m.prototype,"optional",2),w([c({type:String})],m.prototype,"form",2),w([c({type:String})],m.prototype,"pattern",2),w([c({type:Number})],m.prototype,"maxlength",2),w([c({reflect:!0})],m.prototype,"width",2),w([c({type:Number})],m.prototype,"step",2),w([c({type:Number})],m.prototype,"min",2),w([c({type:Number})],m.prototype,"max",2),w([c({type:Boolean,reflect:!0})],m.prototype,"showError",2),w([c({type:String})],m.prototype,"errorMessage",2),w([g1()],m.prototype,"showPassword",2);let _5=m;customElements.get("nys-textinput")||customElements.define("nys-textinput",_5);const Ir=b`
4410
+ `}},o1.VALID_TYPES=["email","number","password","search","tel","text","url"],o1.VALID_WIDTHS=["sm","md","lg","full"],o1.styles=Bo,o1.formAssociated=!0,o1);w([c({type:String})],m.prototype,"id",2),w([c({type:String,reflect:!0})],m.prototype,"name",2),w([c({reflect:!0})],m.prototype,"type",1),w([c({type:String})],m.prototype,"label",2),w([c({type:String})],m.prototype,"description",2),w([c({type:String})],m.prototype,"placeholder",2),w([c({type:String})],m.prototype,"value",2),w([c({type:Boolean,reflect:!0})],m.prototype,"disabled",2),w([c({type:Boolean,reflect:!0})],m.prototype,"readonly",2),w([c({type:Boolean,reflect:!0})],m.prototype,"required",2),w([c({type:Boolean,reflect:!0})],m.prototype,"optional",2),w([c({type:String})],m.prototype,"form",2),w([c({type:String})],m.prototype,"pattern",2),w([c({type:Number})],m.prototype,"maxlength",2),w([c({reflect:!0})],m.prototype,"width",2),w([c({type:Number})],m.prototype,"step",2),w([c({type:Number})],m.prototype,"min",2),w([c({type:Number})],m.prototype,"max",2),w([c({type:Boolean,reflect:!0})],m.prototype,"showError",2),w([c({type:String})],m.prototype,"errorMessage",2),w([l1()],m.prototype,"showPassword",2);let x5=m;customElements.get("nys-textinput")||customElements.define("nys-textinput",x5);const jo=b`
4335
4411
  :host {
4336
4412
  /* Global Toggle Styles */
4337
4413
  --_nys-toggle-width: var(--nys-font-size-8xl, 44px);
@@ -4607,7 +4683,7 @@ ${this.value}</textarea
4607
4683
  --toggle-transition-duration: 0s; /* Disable animation */
4608
4684
  }
4609
4685
  }
4610
- `;var Tr=Object.defineProperty,Br=Object.getOwnPropertyDescriptor,a1=(o,t,e,s)=>{for(var r=s>1?void 0:s?Br(t,e):t,i=o.length-1,n;i>=0;i--)(n=o[i])&&(r=(s?n(t,e,r):n(r))||r);return s&&r&&Tr(t,e,r),r};let Rr=0;const t1=(p1=class extends f{constructor(){super(),this.id="",this.name="",this.value="",this.checked=!1,this.disabled=!1,this.noIcon=!1,this.label="",this.description="",this._size="md",this.form="",this._internals=this.attachInternals()}get size(){return this._size}set size(t){this._size=p1.VALID_SIZES.includes(t)?t:"md"}connectedCallback(){super.connectedCallback(),this.id||(this.id=`nys-toggle-${Date.now()}-${Rr++}`)}updated(t){(t.has("checked")||t.has("value"))&&this._internals.setFormValue(this.checked?this.value:null)}_emitChangeEvent(){this.dispatchEvent(new CustomEvent("nys-change",{detail:{checked:this.checked},bubbles:!0,composed:!0}))}_handleFocus(){this.dispatchEvent(new Event("nys-focus"))}_handleBlur(){this.dispatchEvent(new Event("nys-blur"))}_handleChange(t){const{checked:e}=t.target;this.checked=e,this._emitChangeEvent()}_handleKeyDown(t){!this.disabled&&(t.key===" "||t.key==="Enter")&&(t.preventDefault(),this.checked=!this.checked,this._emitChangeEvent())}render(){return d`
4686
+ `;var Fo=Object.defineProperty,Go=Object.getOwnPropertyDescriptor,a1=(r,t,e,s)=>{for(var o=s>1?void 0:s?Go(t,e):t,i=r.length-1,n;i>=0;i--)(n=r[i])&&(o=(s?n(t,e,o):n(o))||o);return s&&o&&Fo(t,e,o),o};let Wo=0;const t1=(C1=class extends f{constructor(){super(),this.id="",this.name="",this.value="",this.checked=!1,this.disabled=!1,this.noIcon=!1,this.label="",this.description="",this._size="md",this.form="",this._internals=this.attachInternals()}get size(){return this._size}set size(t){this._size=C1.VALID_SIZES.includes(t)?t:"md"}connectedCallback(){super.connectedCallback(),this.id||(this.id=`nys-toggle-${Date.now()}-${Wo++}`)}updated(t){(t.has("checked")||t.has("value"))&&this._internals.setFormValue(this.checked?this.value:null)}_emitChangeEvent(){this.dispatchEvent(new CustomEvent("nys-change",{detail:{checked:this.checked},bubbles:!0,composed:!0}))}_handleFocus(){this.dispatchEvent(new Event("nys-focus"))}_handleBlur(){this.dispatchEvent(new Event("nys-blur"))}_handleChange(t){const{checked:e}=t.target;this.checked=e,this._emitChangeEvent()}_handleKeyDown(t){!this.disabled&&(t.key===" "||t.key==="Enter")&&(t.preventDefault(),this.checked=!this.checked,this._emitChangeEvent())}render(){return d`
4611
4687
  <label class="nys-toggle">
4612
4688
  <div class="nys-toggle__content">
4613
4689
  <div class="nys-toggle__toggle">
@@ -4643,7 +4719,7 @@ ${this.value}</textarea
4643
4719
  </div>
4644
4720
  </div>
4645
4721
  </label>
4646
- `}},p1.VALID_SIZES=["sm","md"],p1.styles=Ir,p1.formAssociated=!0,p1);a1([c({type:String})],t1.prototype,"id",2),a1([c({type:String,reflect:!0})],t1.prototype,"name",2),a1([c({type:String})],t1.prototype,"value",2),a1([c({type:Boolean,reflect:!0})],t1.prototype,"checked",2),a1([c({type:Boolean,reflect:!0})],t1.prototype,"disabled",2),a1([c({type:Boolean})],t1.prototype,"noIcon",2),a1([c({type:String})],t1.prototype,"label",2),a1([c({type:String})],t1.prototype,"description",2),a1([c({reflect:!0})],t1.prototype,"size",1),a1([c({type:String})],t1.prototype,"form",2);let b5=t1;customElements.get("nys-toggle")||customElements.define("nys-toggle",b5);const Nr=b`
4722
+ `}},C1.VALID_SIZES=["sm","md"],C1.styles=jo,C1.formAssociated=!0,C1);a1([c({type:String})],t1.prototype,"id",2),a1([c({type:String,reflect:!0})],t1.prototype,"name",2),a1([c({type:String})],t1.prototype,"value",2),a1([c({type:Boolean,reflect:!0})],t1.prototype,"checked",2),a1([c({type:Boolean,reflect:!0})],t1.prototype,"disabled",2),a1([c({type:Boolean})],t1.prototype,"noIcon",2),a1([c({type:String})],t1.prototype,"label",2),a1([c({type:String})],t1.prototype,"description",2),a1([c({reflect:!0})],t1.prototype,"size",1),a1([c({type:String})],t1.prototype,"form",2);let w5=t1;customElements.get("nys-toggle")||customElements.define("nys-toggle",w5);const Yo=b`
4647
4723
  :host {
4648
4724
  /* Global Unav Header Styles */
4649
4725
  --_nys-unavheader-gutter: var(--nys-gutter-xs, 20px);
@@ -4990,7 +5066,7 @@ ${this.value}</textarea
4990
5066
  display: none;
4991
5067
  }
4992
5068
  }
4993
- `,qr=`<svg xmlns="http://www.w3.org/2000/svg" width="91" height="55" viewBox="0 0 91 55" fill="none">
5069
+ `,Ko=`<svg xmlns="http://www.w3.org/2000/svg" width="91" height="55" viewBox="0 0 91 55" fill="none">
4994
5070
  <path d="M55.1158 7.50499L58.2905 12.6494V7.5189C58.2905 7.5189 58.6487 7.26356 59.5098 7.26356C60.3708 7.26356 60.7378 7.5189 60.7378 7.5189V16.4327C60.7378 16.4327 60.3942 16.689 59.5215 16.689C58.6487 16.689 58.3295 16.4605 58.3295 16.4605L55.1421 11.3171V16.4337C55.1421 16.4337 54.7848 16.69 53.9111 16.69C53.0374 16.69 52.7065 16.4337 52.7065 16.4337V7.51989C52.7065 7.51989 53.0384 7.26456 53.9248 7.26456C54.8112 7.26456 55.1148 7.50697 55.1148 7.50697L55.1158 7.50499Z" fill="#457AA5"/>
4995
5071
  <path d="M67.2209 12.5948H64.9063V14.8709H68.2538C68.2538 14.8709 68.5047 15.1531 68.5047 15.772C68.5047 16.391 68.2538 16.688 68.2538 16.688H62.4589V7.26257H67.9892C67.9892 7.26257 68.2538 7.54572 68.2538 8.17859C68.2538 8.81146 67.9892 9.09362 67.9892 9.09362H64.9063V10.7637H67.2209C67.2209 10.7637 67.4728 11.0598 67.4728 11.6787C67.4728 12.2977 67.2209 12.5948 67.2209 12.5948Z" fill="#457AA5"/>
4996
5072
  <path d="M71.4802 16.4327L68.9791 7.5189C68.9791 7.5189 69.3491 7.26356 70.2101 7.26356C71.0711 7.26356 71.4275 7.5189 71.4275 7.5189L72.6839 12.0434C72.7766 12.3802 72.8166 12.6365 72.8557 12.7845C72.8557 12.7428 72.9221 12.3663 73.0011 12.0573L74.0984 7.5189C74.0984 7.5189 74.5211 7.26356 75.1176 7.26356C75.7141 7.26356 76.084 7.5189 76.084 7.5189L77.3004 12.7845C77.3004 12.6623 77.3795 12.3255 77.4586 12.0573L78.756 7.5189C78.7686 7.5189 79.1132 7.26356 79.9596 7.26356C80.806 7.26356 81.1897 7.5189 81.1897 7.5189L78.6496 16.4327C78.6496 16.4327 78.2922 16.6751 77.4859 16.689C76.5468 16.689 76.2158 16.4327 76.2158 16.4327L75.223 12.2987C75.1449 11.9887 75.0902 11.6529 75.0785 11.5844L74.9184 12.2987L73.9266 16.4327C73.9266 16.4327 73.583 16.689 72.7092 16.689C71.8355 16.689 71.4802 16.4327 71.4802 16.4327Z" fill="#457AA5"/>
@@ -5019,19 +5095,19 @@ ${this.value}</textarea
5019
5095
  * @license
5020
5096
  * Copyright 2019 Google LLC
5021
5097
  * SPDX-License-Identifier: BSD-3-Clause
5022
- */const i2=globalThis,F2=i2.ShadowRoot&&(i2.ShadyCSS===void 0||i2.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,m5=Symbol(),x5=new WeakMap;let jr=class{constructor(o,t,e){if(this._$cssResult$=!0,e!==m5)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=o,this.t=t}get styleSheet(){let o=this.o;const t=this.t;if(F2&&o===void 0){const e=t!==void 0&&t.length===1;e&&(o=x5.get(t)),o===void 0&&((this.o=o=new CSSStyleSheet).replaceSync(this.cssText),e&&x5.set(t,o))}return o}toString(){return this.cssText}};const Fr=o=>new jr(typeof o=="string"?o:o+"",void 0,m5),Gr=(o,t)=>{if(F2)o.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const e of t){const s=document.createElement("style"),r=i2.litNonce;r!==void 0&&s.setAttribute("nonce",r),s.textContent=e.cssText,o.appendChild(s)}},w5=F2?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return Fr(e)})(o):o;/**
5098
+ */const ae=globalThis,We=ae.ShadowRoot&&(ae.ShadyCSS===void 0||ae.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,k5=Symbol(),$5=new WeakMap;let Jo=class{constructor(r,t,e){if(this._$cssResult$=!0,e!==k5)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=r,this.t=t}get styleSheet(){let r=this.o;const t=this.t;if(We&&r===void 0){const e=t!==void 0&&t.length===1;e&&(r=$5.get(t)),r===void 0&&((this.o=r=new CSSStyleSheet).replaceSync(this.cssText),e&&$5.set(t,r))}return r}toString(){return this.cssText}};const Xo=r=>new Jo(typeof r=="string"?r:r+"",void 0,k5),Qo=(r,t)=>{if(We)r.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const e of t){const s=document.createElement("style"),o=ae.litNonce;o!==void 0&&s.setAttribute("nonce",o),s.textContent=e.cssText,r.appendChild(s)}},S5=We?r=>r:r=>r instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return Xo(e)})(r):r;/**
5023
5099
  * @license
5024
5100
  * Copyright 2017 Google LLC
5025
5101
  * SPDX-License-Identifier: BSD-3-Clause
5026
- */const{is:Wr,defineProperty:Yr,getOwnPropertyDescriptor:Kr,getOwnPropertyNames:Jr,getOwnPropertySymbols:Xr,getPrototypeOf:Qr}=Object,it=globalThis,k5=it.trustedTypes,to=k5?k5.emptyScript:"",$5=it.reactiveElementPolyfillSupport,Lt=(o,t)=>o,a2={toAttribute(o,t){switch(t){case Boolean:o=o?to:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},G2=(o,t)=>!Wr(o,t),S5={attribute:!0,type:String,converter:a2,reflect:!1,hasChanged:G2};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),it.litPropertyMetadata??(it.litPropertyMetadata=new WeakMap);let Mt=class extends HTMLElement{static addInitializer(o){this._$Ei(),(this.l??(this.l=[])).push(o)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(o,t=S5){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(o,t),!t.noAccessor){const e=Symbol(),s=this.getPropertyDescriptor(o,e,t);s!==void 0&&Yr(this.prototype,o,s)}}static getPropertyDescriptor(o,t,e){const{get:s,set:r}=Kr(this.prototype,o)??{get(){return this[t]},set(i){this[t]=i}};return{get(){return s==null?void 0:s.call(this)},set(i){const n=s==null?void 0:s.call(this);r.call(this,i),this.requestUpdate(o,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(o){return this.elementProperties.get(o)??S5}static _$Ei(){if(this.hasOwnProperty(Lt("elementProperties")))return;const o=Qr(this);o.finalize(),o.l!==void 0&&(this.l=[...o.l]),this.elementProperties=new Map(o.elementProperties)}static finalize(){if(this.hasOwnProperty(Lt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Lt("properties"))){const t=this.properties,e=[...Jr(t),...Xr(t)];for(const s of e)this.createProperty(s,t[s])}const o=this[Symbol.metadata];if(o!==null){const t=litPropertyMetadata.get(o);if(t!==void 0)for(const[e,s]of t)this.elementProperties.set(e,s)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const s=this._$Eu(t,e);s!==void 0&&this._$Eh.set(s,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(o){const t=[];if(Array.isArray(o)){const e=new Set(o.flat(1/0).reverse());for(const s of e)t.unshift(w5(s))}else o!==void 0&&t.push(w5(o));return t}static _$Eu(o,t){const e=t.attribute;return e===!1?void 0:typeof e=="string"?e:typeof o=="string"?o.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var o;this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),(o=this.constructor.l)==null||o.forEach(t=>t(this))}addController(o){var t;(this._$EO??(this._$EO=new Set)).add(o),this.renderRoot!==void 0&&this.isConnected&&((t=o.hostConnected)==null||t.call(o))}removeController(o){var t;(t=this._$EO)==null||t.delete(o)}_$E_(){const o=new Map,t=this.constructor.elementProperties;for(const e of t.keys())this.hasOwnProperty(e)&&(o.set(e,this[e]),delete this[e]);o.size>0&&(this._$Ep=o)}createRenderRoot(){const o=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Gr(o,this.constructor.elementStyles),o}connectedCallback(){var o;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(o=this._$EO)==null||o.forEach(t=>{var e;return(e=t.hostConnected)==null?void 0:e.call(t)})}enableUpdating(o){}disconnectedCallback(){var o;(o=this._$EO)==null||o.forEach(t=>{var e;return(e=t.hostDisconnected)==null?void 0:e.call(t)})}attributeChangedCallback(o,t,e){this._$AK(o,e)}_$EC(o,t){var e;const s=this.constructor.elementProperties.get(o),r=this.constructor._$Eu(o,s);if(r!==void 0&&s.reflect===!0){const i=(((e=s.converter)==null?void 0:e.toAttribute)!==void 0?s.converter:a2).toAttribute(t,s.type);this._$Em=o,i==null?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(o,t){var e;const s=this.constructor,r=s._$Eh.get(o);if(r!==void 0&&this._$Em!==r){const i=s.getPropertyOptions(r),n=typeof i.converter=="function"?{fromAttribute:i.converter}:((e=i.converter)==null?void 0:e.fromAttribute)!==void 0?i.converter:a2;this._$Em=r,this[r]=n.fromAttribute(t,i.type),this._$Em=null}}requestUpdate(o,t,e){if(o!==void 0){if(e??(e=this.constructor.getPropertyOptions(o)),!(e.hasChanged??G2)(this[o],t))return;this.P(o,t,e)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(o,t,e){this._$AL.has(o)||this._$AL.set(o,t),e.reflect===!0&&this._$Em!==o&&(this._$Ej??(this._$Ej=new Set)).add(o)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const o=this.scheduleUpdate();return o!=null&&await o,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var o;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[r,i]of this._$Ep)this[r]=i;this._$Ep=void 0}const s=this.constructor.elementProperties;if(s.size>0)for(const[r,i]of s)i.wrapped!==!0||this._$AL.has(r)||this[r]===void 0||this.P(r,this[r],i)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(o=this._$EO)==null||o.forEach(s=>{var r;return(r=s.hostUpdate)==null?void 0:r.call(s)}),this.update(e)):this._$EU()}catch(s){throw t=!1,this._$EU(),s}t&&this._$AE(e)}willUpdate(o){}_$AE(o){var t;(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostUpdated)==null?void 0:s.call(e)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(o)),this.updated(o)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(o){return!0}update(o){this._$Ej&&(this._$Ej=this._$Ej.forEach(t=>this._$EC(t,this[t]))),this._$EU()}updated(o){}firstUpdated(o){}};Mt.elementStyles=[],Mt.shadowRootOptions={mode:"open"},Mt[Lt("elementProperties")]=new Map,Mt[Lt("finalized")]=new Map,$5==null||$5({ReactiveElement:Mt}),(it.reactiveElementVersions??(it.reactiveElementVersions=[])).push("2.0.4");/**
5102
+ */const{is:tr,defineProperty:er,getOwnPropertyDescriptor:sr,getOwnPropertyNames:or,getOwnPropertySymbols:rr,getPrototypeOf:nr}=Object,at=globalThis,E5=at.trustedTypes,ir=E5?E5.emptyScript:"",A5=at.reactiveElementPolyfillSupport,Mt=(r,t)=>r,le={toAttribute(r,t){switch(t){case Boolean:r=r?ir:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,t){let e=r;switch(t){case Boolean:e=r!==null;break;case Number:e=r===null?null:Number(r);break;case Object:case Array:try{e=JSON.parse(r)}catch{e=null}}return e}},Ye=(r,t)=>!tr(r,t),L5={attribute:!0,type:String,converter:le,reflect:!1,hasChanged:Ye};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),at.litPropertyMetadata??(at.litPropertyMetadata=new WeakMap);class Dt extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=L5){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),o=this.getPropertyDescriptor(t,s,e);o!==void 0&&er(this.prototype,t,o)}}static getPropertyDescriptor(t,e,s){const{get:o,set:i}=sr(this.prototype,t)??{get(){return this[e]},set(n){this[e]=n}};return{get(){return o==null?void 0:o.call(this)},set(n){const a=o==null?void 0:o.call(this);i.call(this,n),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??L5}static _$Ei(){if(this.hasOwnProperty(Mt("elementProperties")))return;const t=nr(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Mt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Mt("properties"))){const e=this.properties,s=[...or(e),...rr(e)];for(const o of s)this.createProperty(o,e[o])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[s,o]of e)this.elementProperties.set(s,o)}this._$Eh=new Map;for(const[e,s]of this.elementProperties){const o=this._$Eu(e,s);o!==void 0&&this._$Eh.set(o,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const o of s)e.unshift(S5(o))}else t!==void 0&&e.push(S5(t));return e}static _$Eu(t,e){const s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach(e=>e(this))}addController(t){var e;(this._$EO??(this._$EO=new Set)).add(t),this.renderRoot!==void 0&&this.isConnected&&((e=t.hostConnected)==null||e.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Qo(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostConnected)==null?void 0:s.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostDisconnected)==null?void 0:s.call(e)})}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$EC(t,e){var s;const o=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,o);if(i!==void 0&&o.reflect===!0){const n=(((s=o.converter)==null?void 0:s.toAttribute)!==void 0?o.converter:le).toAttribute(e,o.type);this._$Em=t,n==null?this.removeAttribute(i):this.setAttribute(i,n),this._$Em=null}}_$AK(t,e){var s;const o=this.constructor,i=o._$Eh.get(t);if(i!==void 0&&this._$Em!==i){const n=o.getPropertyOptions(i),a=typeof n.converter=="function"?{fromAttribute:n.converter}:((s=n.converter)==null?void 0:s.fromAttribute)!==void 0?n.converter:le;this._$Em=i,this[i]=a.fromAttribute(e,n.type),this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){if(s??(s=this.constructor.getPropertyOptions(t)),!(s.hasChanged??Ye)(this[t],e))return;this.P(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,e,s){this._$AL.has(t)||this._$AL.set(t,e),s.reflect===!0&&this._$Em!==t&&(this._$Ej??(this._$Ej=new Set)).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[i,n]of this._$Ep)this[i]=n;this._$Ep=void 0}const o=this.constructor.elementProperties;if(o.size>0)for(const[i,n]of o)n.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.P(i,this[i],n)}let e=!1;const s=this._$AL;try{e=this.shouldUpdate(s),e?(this.willUpdate(s),(t=this._$EO)==null||t.forEach(o=>{var i;return(i=o.hostUpdate)==null?void 0:i.call(o)}),this.update(s)):this._$EU()}catch(o){throw e=!1,this._$EU(),o}e&&this._$AE(s)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(s=>{var o;return(o=s.hostUpdated)==null?void 0:o.call(s)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&(this._$Ej=this._$Ej.forEach(e=>this._$EC(e,this[e]))),this._$EU()}updated(t){}firstUpdated(t){}}Dt.elementStyles=[],Dt.shadowRootOptions={mode:"open"},Dt[Mt("elementProperties")]=new Map,Dt[Mt("finalized")]=new Map,A5==null||A5({ReactiveElement:Dt}),(at.reactiveElementVersions??(at.reactiveElementVersions=[])).push("2.0.4");/**
5027
5103
  * @license
5028
5104
  * Copyright 2017 Google LLC
5029
5105
  * SPDX-License-Identifier: BSD-3-Clause
5030
- */const eo={attribute:!0,type:String,converter:a2,reflect:!1,hasChanged:G2},so=(o=eo,t,e)=>{const{kind:s,metadata:r}=e;let i=globalThis.litPropertyMetadata.get(r);if(i===void 0&&globalThis.litPropertyMetadata.set(r,i=new Map),i.set(e.name,o),s==="accessor"){const{name:n}=e;return{set(a){const l=t.get.call(this);t.set.call(this,a),this.requestUpdate(n,l,o)},init(a){return a!==void 0&&this.P(n,void 0,o),a}}}if(s==="setter"){const{name:n}=e;return function(a){const l=this[n];t.call(this,a),this.requestUpdate(n,l,o)}}throw Error("Unsupported decorator location: "+s)};function k(o){return(t,e)=>typeof e=="object"?so(o,t,e):((s,r,i)=>{const n=r.hasOwnProperty(i);return r.constructor.createProperty(i,n?{...s,wrapped:!0}:s),n?Object.getOwnPropertyDescriptor(r,i):void 0})(o,t,e)}/**
5106
+ */const ar={attribute:!0,type:String,converter:le,reflect:!1,hasChanged:Ye},lr=(r=ar,t,e)=>{const{kind:s,metadata:o}=e;let i=globalThis.litPropertyMetadata.get(o);if(i===void 0&&globalThis.litPropertyMetadata.set(o,i=new Map),i.set(e.name,r),s==="accessor"){const{name:n}=e;return{set(a){const l=t.get.call(this);t.set.call(this,a),this.requestUpdate(n,l,r)},init(a){return a!==void 0&&this.P(n,void 0,r),a}}}if(s==="setter"){const{name:n}=e;return function(a){const l=this[n];t.call(this,a),this.requestUpdate(n,l,r)}}throw Error("Unsupported decorator location: "+s)};function k(r){return(t,e)=>typeof e=="object"?lr(r,t,e):((s,o,i)=>{const n=o.hasOwnProperty(i);return o.constructor.createProperty(i,n?{...s,wrapped:!0}:s),n?Object.getOwnPropertyDescriptor(o,i):void 0})(r,t,e)}/**
5031
5107
  * @license
5032
5108
  * Copyright 2017 Google LLC
5033
5109
  * SPDX-License-Identifier: BSD-3-Clause
5034
- */function ro(o){return k({...o,state:!0,attribute:!1})}const oo=b`
5110
+ */function cr(r){return k({...r,state:!0,attribute:!1})}const hr=b`
5035
5111
  :host {
5036
5112
  /* Anything that can be overridden should be defined here */
5037
5113
 
@@ -5208,17 +5284,16 @@ ${this.value}</textarea
5208
5284
  transform: translateY(-50%);
5209
5285
  cursor: pointer;
5210
5286
  color: var(--_nys-textinput-icon-color);
5211
- --_nys-button-color-bg: transparent;
5212
- --_nys-button-color-bg-hover: transparent;
5213
- --_nys-button-color-bg-active: transparent;
5287
+ --_nys-button-color-bg: var(--_nys-textinput-background-color);
5288
+ --_nys-button-color-bg-hover: var(--_nys-textinput-background-color);
5289
+ --_nys-button-color-bg-active: var(--_nys-textinput-background-color);
5214
5290
  --_nys-button-offset-focus: calc(
5215
5291
  var(--_nys-button-width-focus) * -1
5216
5292
  ); /* Needs to be negative of the offset width */
5217
- --_nys-button-radius-left: var(--_nys-textinput-radius);
5218
- --_nys-button-radius-right: var(--_nys-textinput-radius);
5219
- --_nys-button-height: var(--nys-size-400, 32px);
5293
+ --_nys-button-padding-y: var(--nys-space-50, 4px);
5294
+ --_nys-button-padding-x: var(--nys-space-50, 4px);
5295
+ --_nys-button-height: var(--nys-size-300, 32px);
5220
5296
  --_nys-button-width: var(--nys-size-400, 32px);
5221
- --_nys-button-padding-x: 0;
5222
5297
  }
5223
5298
 
5224
5299
  /* Hovered */
@@ -5249,13 +5324,13 @@ ${this.value}</textarea
5249
5324
  * @license
5250
5325
  * Copyright 2017 Google LLC
5251
5326
  * SPDX-License-Identifier: BSD-3-Clause
5252
- */const l2=globalThis,c2=l2.trustedTypes,E5=c2?c2.createPolicy("lit-html",{createHTML:o=>o}):void 0,A5="$lit$",w1=`lit$${Math.random().toFixed(9).slice(2)}$`,L5="?"+w1,no=`<${L5}>`,I1=document,h2=()=>I1.createComment(""),Dt=o=>o===null||typeof o!="object"&&typeof o!="function",W2=Array.isArray,io=o=>W2(o)||typeof(o==null?void 0:o[Symbol.iterator])=="function",Y2=`[
5253
- \f\r]`,Ht=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,M5=/-->/g,D5=/>/g,T1=RegExp(`>|${Y2}(?:([^\\s"'>=/]+)(${Y2}*=${Y2}*(?:[^
5254
- \f\r"'\`<>=]|("|')|))|$)`,"g"),H5=/'/g,V5=/"/g,U5=/^(?:script|style|textarea|title)$/i,Vt=Symbol.for("lit-noChange"),A=Symbol.for("lit-nothing"),z5=new WeakMap,B1=I1.createTreeWalker(I1,129);function P5(o,t){if(!W2(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return E5!==void 0?E5.createHTML(t):t}const ao=(o,t)=>{const e=o.length-1,s=[];let r,i=t===2?"<svg>":t===3?"<math>":"",n=Ht;for(let a=0;a<e;a++){const l=o[a];let u,y,h=-1,p=0;for(;p<l.length&&(n.lastIndex=p,y=n.exec(l),y!==null);)p=n.lastIndex,n===Ht?y[1]==="!--"?n=M5:y[1]!==void 0?n=D5:y[2]!==void 0?(U5.test(y[2])&&(r=RegExp("</"+y[2],"g")),n=T1):y[3]!==void 0&&(n=T1):n===T1?y[0]===">"?(n=r??Ht,h=-1):y[1]===void 0?h=-2:(h=n.lastIndex-y[2].length,u=y[1],n=y[3]===void 0?T1:y[3]==='"'?V5:H5):n===V5||n===H5?n=T1:n===M5||n===D5?n=Ht:(n=T1,r=void 0);const C=n===T1&&o[a+1].startsWith("/>")?" ":"";i+=n===Ht?l+no:h>=0?(s.push(u),l.slice(0,h)+A5+l.slice(h)+w1+C):l+w1+(h===-2?a:C)}return[P5(o,i+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]};let K2=class as{constructor({strings:t,_$litType$:e},s){let r;this.parts=[];let i=0,n=0;const a=t.length-1,l=this.parts,[u,y]=ao(t,e);if(this.el=as.createElement(u,s),B1.currentNode=this.el.content,e===2||e===3){const h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(r=B1.nextNode())!==null&&l.length<a;){if(r.nodeType===1){if(r.hasAttributes())for(const h of r.getAttributeNames())if(h.endsWith(A5)){const p=y[n++],C=r.getAttribute(h).split(w1),M=/([.?@])?(.*)/.exec(p);l.push({type:1,index:i,name:M[2],strings:C,ctor:M[1]==="."?co:M[1]==="?"?ho:M[1]==="@"?yo:d2}),r.removeAttribute(h)}else h.startsWith(w1)&&(l.push({type:6,index:i}),r.removeAttribute(h));if(U5.test(r.tagName)){const h=r.textContent.split(w1),p=h.length-1;if(p>0){r.textContent=c2?c2.emptyScript:"";for(let C=0;C<p;C++)r.append(h[C],h2()),B1.nextNode(),l.push({type:2,index:++i});r.append(h[p],h2())}}}else if(r.nodeType===8)if(r.data===L5)l.push({type:2,index:i});else{let h=-1;for(;(h=r.data.indexOf(w1,h+1))!==-1;)l.push({type:7,index:i}),h+=w1.length-1}i++}}static createElement(t,e){const s=I1.createElement("template");return s.innerHTML=t,s}};function at(o,t,e=o,s){var r,i;if(t===Vt)return t;let n=s!==void 0?(r=e._$Co)==null?void 0:r[s]:e._$Cl;const a=Dt(t)?void 0:t._$litDirective$;return(n==null?void 0:n.constructor)!==a&&((i=n==null?void 0:n._$AO)==null||i.call(n,!1),a===void 0?n=void 0:(n=new a(o),n._$AT(o,e,s)),s!==void 0?(e._$Co??(e._$Co=[]))[s]=n:e._$Cl=n),n!==void 0&&(t=at(o,n._$AS(o,t.values),n,s)),t}let lo=class{constructor(o,t){this._$AV=[],this._$AN=void 0,this._$AD=o,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(o){const{el:{content:t},parts:e}=this._$AD,s=((o==null?void 0:o.creationScope)??I1).importNode(t,!0);B1.currentNode=s;let r=B1.nextNode(),i=0,n=0,a=e[0];for(;a!==void 0;){if(i===a.index){let l;a.type===2?l=new O5(r,r.nextSibling,this,o):a.type===1?l=new a.ctor(r,a.name,a.strings,this,o):a.type===6&&(l=new uo(r,this,o)),this._$AV.push(l),a=e[++n]}i!==(a==null?void 0:a.index)&&(r=B1.nextNode(),i++)}return B1.currentNode=I1,s}p(o){let t=0;for(const e of this._$AV)e!==void 0&&(e.strings!==void 0?(e._$AI(o,e,t),t+=e.strings.length-2):e._$AI(o[t])),t++}},O5=class ls{get _$AU(){var t;return((t=this._$AM)==null?void 0:t._$AU)??this._$Cv}constructor(t,e,s,r){this.type=2,this._$AH=A,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=r,this._$Cv=(r==null?void 0:r.isConnected)??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=at(this,t,e),Dt(t)?t===A||t==null||t===""?(this._$AH!==A&&this._$AR(),this._$AH=A):t!==this._$AH&&t!==Vt&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):io(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==A&&Dt(this._$AH)?this._$AA.nextSibling.data=t:this.T(I1.createTextNode(t)),this._$AH=t}$(t){var e;const{values:s,_$litType$:r}=t,i=typeof r=="number"?this._$AC(t):(r.el===void 0&&(r.el=K2.createElement(P5(r.h,r.h[0]),this.options)),r);if(((e=this._$AH)==null?void 0:e._$AD)===i)this._$AH.p(s);else{const n=new lo(i,this),a=n.u(this.options);n.p(s),this.T(a),this._$AH=n}}_$AC(t){let e=z5.get(t.strings);return e===void 0&&z5.set(t.strings,e=new K2(t)),e}k(t){W2(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,r=0;for(const i of t)r===e.length?e.push(s=new ls(this.O(h2()),this.O(h2()),this,this.options)):s=e[r],s._$AI(i),r++;r<e.length&&(this._$AR(s&&s._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){var s;for((s=this._$AP)==null?void 0:s.call(this,!1,!0,e);t&&t!==this._$AB;){const r=t.nextSibling;t.remove(),t=r}}setConnected(t){var e;this._$AM===void 0&&(this._$Cv=t,(e=this._$AP)==null||e.call(this,t))}},d2=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,t,e,s,r){this.type=1,this._$AH=A,this._$AN=void 0,this.element=o,this.name=t,this._$AM=s,this.options=r,e.length>2||e[0]!==""||e[1]!==""?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=A}_$AI(o,t=this,e,s){const r=this.strings;let i=!1;if(r===void 0)o=at(this,o,t,0),i=!Dt(o)||o!==this._$AH&&o!==Vt,i&&(this._$AH=o);else{const n=o;let a,l;for(o=r[0],a=0;a<r.length-1;a++)l=at(this,n[e+a],t,a),l===Vt&&(l=this._$AH[a]),i||(i=!Dt(l)||l!==this._$AH[a]),l===A?o=A:o!==A&&(o+=(l??"")+r[a+1]),this._$AH[a]=l}i&&!s&&this.j(o)}j(o){o===A?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o??"")}};class co extends d2{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===A?void 0:t}}let ho=class extends d2{constructor(){super(...arguments),this.type=4}j(o){this.element.toggleAttribute(this.name,!!o&&o!==A)}},yo=class extends d2{constructor(o,t,e,s,r){super(o,t,e,s,r),this.type=5}_$AI(o,t=this){if((o=at(this,o,t,0)??A)===Vt)return;const e=this._$AH,s=o===A&&e!==A||o.capture!==e.capture||o.once!==e.once||o.passive!==e.passive,r=o!==A&&(e===A||s);s&&this.element.removeEventListener(this.name,this,e),r&&this.element.addEventListener(this.name,this,o),this._$AH=o}handleEvent(o){var t;typeof this._$AH=="function"?this._$AH.call(((t=this.options)==null?void 0:t.host)??this.element,o):this._$AH.handleEvent(o)}},uo=class{constructor(o,t,e){this.element=o,this.type=6,this._$AN=void 0,this._$AM=t,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(o){at(this,o)}};const Z5=l2.litHtmlPolyfillSupport;Z5==null||Z5(K2,O5),(l2.litHtmlVersions??(l2.litHtmlVersions=[])).push("3.2.1");/**
5327
+ */const ce=globalThis,he=ce.trustedTypes,M5=he?he.createPolicy("lit-html",{createHTML:r=>r}):void 0,D5="$lit$",w1=`lit$${Math.random().toFixed(9).slice(2)}$`,H5="?"+w1,dr=`<${H5}>`,T1=document,de=()=>T1.createComment(""),Ht=r=>r===null||typeof r!="object"&&typeof r!="function",Ke=Array.isArray,yr=r=>Ke(r)||typeof(r==null?void 0:r[Symbol.iterator])=="function",Je=`[
5328
+ \f\r]`,Vt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,V5=/-->/g,U5=/>/g,B1=RegExp(`>|${Je}(?:([^\\s"'>=/]+)(${Je}*=${Je}*(?:[^
5329
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),z5=/'/g,P5=/"/g,O5=/^(?:script|style|textarea|title)$/i,Ut=Symbol.for("lit-noChange"),U=Symbol.for("lit-nothing"),Z5=new WeakMap,R1=T1.createTreeWalker(T1,129);function I5(r,t){if(!Ke(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return M5!==void 0?M5.createHTML(t):t}const ur=(r,t)=>{const e=r.length-1,s=[];let o,i=t===2?"<svg>":t===3?"<math>":"",n=Vt;for(let a=0;a<e;a++){const l=r[a];let u,y,h=-1,p=0;for(;p<l.length&&(n.lastIndex=p,y=n.exec(l),y!==null);)p=n.lastIndex,n===Vt?y[1]==="!--"?n=V5:y[1]!==void 0?n=U5:y[2]!==void 0?(O5.test(y[2])&&(o=RegExp("</"+y[2],"g")),n=B1):y[3]!==void 0&&(n=B1):n===B1?y[0]===">"?(n=o??Vt,h=-1):y[1]===void 0?h=-2:(h=n.lastIndex-y[2].length,u=y[1],n=y[3]===void 0?B1:y[3]==='"'?P5:z5):n===P5||n===z5?n=B1:n===V5||n===U5?n=Vt:(n=B1,o=void 0);const C=n===B1&&r[a+1].startsWith("/>")?" ":"";i+=n===Vt?l+dr:h>=0?(s.push(u),l.slice(0,h)+D5+l.slice(h)+w1+C):l+w1+(h===-2?a:C)}return[I5(r,i+(r[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]};let Xe=class hs{constructor({strings:t,_$litType$:e},s){let o;this.parts=[];let i=0,n=0;const a=t.length-1,l=this.parts,[u,y]=ur(t,e);if(this.el=hs.createElement(u,s),R1.currentNode=this.el.content,e===2||e===3){const h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(o=R1.nextNode())!==null&&l.length<a;){if(o.nodeType===1){if(o.hasAttributes())for(const h of o.getAttributeNames())if(h.endsWith(D5)){const p=y[n++],C=o.getAttribute(h).split(w1),Z=/([.?@])?(.*)/.exec(p);l.push({type:1,index:i,name:Z[2],strings:C,ctor:Z[1]==="."?Cr:Z[1]==="?"?fr:Z[1]==="@"?vr:ye}),o.removeAttribute(h)}else h.startsWith(w1)&&(l.push({type:6,index:i}),o.removeAttribute(h));if(O5.test(o.tagName)){const h=o.textContent.split(w1),p=h.length-1;if(p>0){o.textContent=he?he.emptyScript:"";for(let C=0;C<p;C++)o.append(h[C],de()),R1.nextNode(),l.push({type:2,index:++i});o.append(h[p],de())}}}else if(o.nodeType===8)if(o.data===H5)l.push({type:2,index:i});else{let h=-1;for(;(h=o.data.indexOf(w1,h+1))!==-1;)l.push({type:7,index:i}),h+=w1.length-1}i++}}static createElement(t,e){const s=T1.createElement("template");return s.innerHTML=t,s}};function lt(r,t,e=r,s){var o,i;if(t===Ut)return t;let n=s!==void 0?(o=e._$Co)==null?void 0:o[s]:e._$Cl;const a=Ht(t)?void 0:t._$litDirective$;return(n==null?void 0:n.constructor)!==a&&((i=n==null?void 0:n._$AO)==null||i.call(n,!1),a===void 0?n=void 0:(n=new a(r),n._$AT(r,e,s)),s!==void 0?(e._$Co??(e._$Co=[]))[s]=n:e._$Cl=n),n!==void 0&&(t=lt(r,n._$AS(r,t.values),n,s)),t}let pr=class{constructor(r,t){this._$AV=[],this._$AN=void 0,this._$AD=r,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(r){const{el:{content:t},parts:e}=this._$AD,s=((r==null?void 0:r.creationScope)??T1).importNode(t,!0);R1.currentNode=s;let o=R1.nextNode(),i=0,n=0,a=e[0];for(;a!==void 0;){if(i===a.index){let l;a.type===2?l=new T5(o,o.nextSibling,this,r):a.type===1?l=new a.ctor(o,a.name,a.strings,this,r):a.type===6&&(l=new gr(o,this,r)),this._$AV.push(l),a=e[++n]}i!==(a==null?void 0:a.index)&&(o=R1.nextNode(),i++)}return R1.currentNode=T1,s}p(r){let t=0;for(const e of this._$AV)e!==void 0&&(e.strings!==void 0?(e._$AI(r,e,t),t+=e.strings.length-2):e._$AI(r[t])),t++}},T5=class ds{get _$AU(){var t;return((t=this._$AM)==null?void 0:t._$AU)??this._$Cv}constructor(t,e,s,o){this.type=2,this._$AH=U,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=o,this._$Cv=(o==null?void 0:o.isConnected)??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=lt(this,t,e),Ht(t)?t===U||t==null||t===""?(this._$AH!==U&&this._$AR(),this._$AH=U):t!==this._$AH&&t!==Ut&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):yr(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==U&&Ht(this._$AH)?this._$AA.nextSibling.data=t:this.T(T1.createTextNode(t)),this._$AH=t}$(t){var e;const{values:s,_$litType$:o}=t,i=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=Xe.createElement(I5(o.h,o.h[0]),this.options)),o);if(((e=this._$AH)==null?void 0:e._$AD)===i)this._$AH.p(s);else{const n=new pr(i,this),a=n.u(this.options);n.p(s),this.T(a),this._$AH=n}}_$AC(t){let e=Z5.get(t.strings);return e===void 0&&Z5.set(t.strings,e=new Xe(t)),e}k(t){Ke(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,o=0;for(const i of t)o===e.length?e.push(s=new ds(this.O(de()),this.O(de()),this,this.options)):s=e[o],s._$AI(i),o++;o<e.length&&(this._$AR(s&&s._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var s;for((s=this._$AP)==null?void 0:s.call(this,!1,!0,e);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){var e;this._$AM===void 0&&(this._$Cv=t,(e=this._$AP)==null||e.call(this,t))}},ye=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(r,t,e,s,o){this.type=1,this._$AH=U,this._$AN=void 0,this.element=r,this.name=t,this._$AM=s,this.options=o,e.length>2||e[0]!==""||e[1]!==""?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=U}_$AI(r,t=this,e,s){const o=this.strings;let i=!1;if(o===void 0)r=lt(this,r,t,0),i=!Ht(r)||r!==this._$AH&&r!==Ut,i&&(this._$AH=r);else{const n=r;let a,l;for(r=o[0],a=0;a<o.length-1;a++)l=lt(this,n[e+a],t,a),l===Ut&&(l=this._$AH[a]),i||(i=!Ht(l)||l!==this._$AH[a]),l===U?r=U:r!==U&&(r+=(l??"")+o[a+1]),this._$AH[a]=l}i&&!s&&this.j(r)}j(r){r===U?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,r??"")}};class Cr extends ye{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===U?void 0:t}}let fr=class extends ye{constructor(){super(...arguments),this.type=4}j(r){this.element.toggleAttribute(this.name,!!r&&r!==U)}},vr=class extends ye{constructor(r,t,e,s,o){super(r,t,e,s,o),this.type=5}_$AI(r,t=this){if((r=lt(this,r,t,0)??U)===Ut)return;const e=this._$AH,s=r===U&&e!==U||r.capture!==e.capture||r.once!==e.once||r.passive!==e.passive,o=r!==U&&(e===U||s);s&&this.element.removeEventListener(this.name,this,e),o&&this.element.addEventListener(this.name,this,r),this._$AH=r}handleEvent(r){var t;typeof this._$AH=="function"?this._$AH.call(((t=this.options)==null?void 0:t.host)??this.element,r):this._$AH.handleEvent(r)}},gr=class{constructor(r,t,e){this.element=r,this.type=6,this._$AN=void 0,this._$AM=t,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(r){lt(this,r)}};const B5=ce.litHtmlPolyfillSupport;B5==null||B5(Xe,T5),(ce.litHtmlVersions??(ce.litHtmlVersions=[])).push("3.2.1");/**
5255
5330
  * @license
5256
5331
  * Copyright 2018 Google LLC
5257
5332
  * SPDX-License-Identifier: BSD-3-Clause
5258
- */const R1=o=>o??A;/*!
5333
+ */const N1=r=>r??U;/*!
5259
5334
  *
5260
5335
  * ▒█▄░▒█ ▒█░░▒█ ▒█▀▀▀█ ▒█▀▀▄ ▒█▀▀▀█
5261
5336
  * ▒█▒█▒█ ▒█▄▄▄█ ░▀▀▀▄▄ ▒█░▒█ ░▀▀▀▄▄
@@ -5269,15 +5344,15 @@ ${this.value}</textarea
5269
5344
  * @license
5270
5345
  * Copyright 2019 Google LLC
5271
5346
  * SPDX-License-Identifier: BSD-3-Clause
5272
- */const y2=globalThis,J2=y2.ShadowRoot&&(y2.ShadyCSS===void 0||y2.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,I5=Symbol(),T5=new WeakMap;let po=class{constructor(o,t,e){if(this._$cssResult$=!0,e!==I5)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=o,this.t=t}get styleSheet(){let o=this.o;const t=this.t;if(J2&&o===void 0){const e=t!==void 0&&t.length===1;e&&(o=T5.get(t)),o===void 0&&((this.o=o=new CSSStyleSheet).replaceSync(this.cssText),e&&T5.set(t,o))}return o}toString(){return this.cssText}};const Co=o=>new po(typeof o=="string"?o:o+"",void 0,I5),fo=(o,t)=>{if(J2)o.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const e of t){const s=document.createElement("style"),r=y2.litNonce;r!==void 0&&s.setAttribute("nonce",r),s.textContent=e.cssText,o.appendChild(s)}},B5=J2?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return Co(e)})(o):o;/**
5347
+ */const ue=globalThis,Qe=ue.ShadowRoot&&(ue.ShadyCSS===void 0||ue.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,R5=Symbol(),N5=new WeakMap;let _r=class{constructor(r,t,e){if(this._$cssResult$=!0,e!==R5)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=r,this.t=t}get styleSheet(){let r=this.o;const t=this.t;if(Qe&&r===void 0){const e=t!==void 0&&t.length===1;e&&(r=N5.get(t)),r===void 0&&((this.o=r=new CSSStyleSheet).replaceSync(this.cssText),e&&N5.set(t,r))}return r}toString(){return this.cssText}};const br=r=>new _r(typeof r=="string"?r:r+"",void 0,R5),mr=(r,t)=>{if(Qe)r.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const e of t){const s=document.createElement("style"),o=ue.litNonce;o!==void 0&&s.setAttribute("nonce",o),s.textContent=e.cssText,r.appendChild(s)}},q5=Qe?r=>r:r=>r instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return br(e)})(r):r;/**
5273
5348
  * @license
5274
5349
  * Copyright 2017 Google LLC
5275
5350
  * SPDX-License-Identifier: BSD-3-Clause
5276
- */const{is:vo,defineProperty:go,getOwnPropertyDescriptor:_o,getOwnPropertyNames:bo,getOwnPropertySymbols:mo,getPrototypeOf:xo}=Object,lt=globalThis,R5=lt.trustedTypes,wo=R5?R5.emptyScript:"",N5=lt.reactiveElementPolyfillSupport,Ut=(o,t)=>o,u2={toAttribute(o,t){switch(t){case Boolean:o=o?wo:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},X2=(o,t)=>!vo(o,t),q5={attribute:!0,type:String,converter:u2,reflect:!1,hasChanged:X2};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),lt.litPropertyMetadata??(lt.litPropertyMetadata=new WeakMap);class zt extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=q5){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),r=this.getPropertyDescriptor(t,s,e);r!==void 0&&go(this.prototype,t,r)}}static getPropertyDescriptor(t,e,s){const{get:r,set:i}=_o(this.prototype,t)??{get(){return this[e]},set(n){this[e]=n}};return{get(){return r==null?void 0:r.call(this)},set(n){const a=r==null?void 0:r.call(this);i.call(this,n),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??q5}static _$Ei(){if(this.hasOwnProperty(Ut("elementProperties")))return;const t=xo(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Ut("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ut("properties"))){const e=this.properties,s=[...bo(e),...mo(e)];for(const r of s)this.createProperty(r,e[r])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[s,r]of e)this.elementProperties.set(s,r)}this._$Eh=new Map;for(const[e,s]of this.elementProperties){const r=this._$Eu(e,s);r!==void 0&&this._$Eh.set(r,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const r of s)e.unshift(B5(r))}else t!==void 0&&e.push(B5(t));return e}static _$Eu(t,e){const s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach(e=>e(this))}addController(t){var e;(this._$EO??(this._$EO=new Set)).add(t),this.renderRoot!==void 0&&this.isConnected&&((e=t.hostConnected)==null||e.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return fo(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostConnected)==null?void 0:s.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostDisconnected)==null?void 0:s.call(e)})}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$EC(t,e){var s;const r=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,r);if(i!==void 0&&r.reflect===!0){const n=(((s=r.converter)==null?void 0:s.toAttribute)!==void 0?r.converter:u2).toAttribute(e,r.type);this._$Em=t,n==null?this.removeAttribute(i):this.setAttribute(i,n),this._$Em=null}}_$AK(t,e){var s;const r=this.constructor,i=r._$Eh.get(t);if(i!==void 0&&this._$Em!==i){const n=r.getPropertyOptions(i),a=typeof n.converter=="function"?{fromAttribute:n.converter}:((s=n.converter)==null?void 0:s.fromAttribute)!==void 0?n.converter:u2;this._$Em=i,this[i]=a.fromAttribute(e,n.type),this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){if(s??(s=this.constructor.getPropertyOptions(t)),!(s.hasChanged??X2)(this[t],e))return;this.P(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,e,s){this._$AL.has(t)||this._$AL.set(t,e),s.reflect===!0&&this._$Em!==t&&(this._$Ej??(this._$Ej=new Set)).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[i,n]of this._$Ep)this[i]=n;this._$Ep=void 0}const r=this.constructor.elementProperties;if(r.size>0)for(const[i,n]of r)n.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.P(i,this[i],n)}let e=!1;const s=this._$AL;try{e=this.shouldUpdate(s),e?(this.willUpdate(s),(t=this._$EO)==null||t.forEach(r=>{var i;return(i=r.hostUpdate)==null?void 0:i.call(r)}),this.update(s)):this._$EU()}catch(r){throw e=!1,this._$EU(),r}e&&this._$AE(s)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(s=>{var r;return(r=s.hostUpdated)==null?void 0:r.call(s)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&(this._$Ej=this._$Ej.forEach(e=>this._$EC(e,this[e]))),this._$EU()}updated(t){}firstUpdated(t){}}zt.elementStyles=[],zt.shadowRootOptions={mode:"open"},zt[Ut("elementProperties")]=new Map,zt[Ut("finalized")]=new Map,N5==null||N5({ReactiveElement:zt}),(lt.reactiveElementVersions??(lt.reactiveElementVersions=[])).push("2.0.4");/**
5351
+ */const{is:xr,defineProperty:wr,getOwnPropertyDescriptor:kr,getOwnPropertyNames:$r,getOwnPropertySymbols:Sr,getPrototypeOf:Er}=Object,ct=globalThis,j5=ct.trustedTypes,Ar=j5?j5.emptyScript:"",F5=ct.reactiveElementPolyfillSupport,zt=(r,t)=>r,pe={toAttribute(r,t){switch(t){case Boolean:r=r?Ar:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,t){let e=r;switch(t){case Boolean:e=r!==null;break;case Number:e=r===null?null:Number(r);break;case Object:case Array:try{e=JSON.parse(r)}catch{e=null}}return e}},t2=(r,t)=>!xr(r,t),G5={attribute:!0,type:String,converter:pe,reflect:!1,hasChanged:t2};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),ct.litPropertyMetadata??(ct.litPropertyMetadata=new WeakMap);class Pt extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=G5){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),o=this.getPropertyDescriptor(t,s,e);o!==void 0&&wr(this.prototype,t,o)}}static getPropertyDescriptor(t,e,s){const{get:o,set:i}=kr(this.prototype,t)??{get(){return this[e]},set(n){this[e]=n}};return{get(){return o==null?void 0:o.call(this)},set(n){const a=o==null?void 0:o.call(this);i.call(this,n),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??G5}static _$Ei(){if(this.hasOwnProperty(zt("elementProperties")))return;const t=Er(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(zt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(zt("properties"))){const e=this.properties,s=[...$r(e),...Sr(e)];for(const o of s)this.createProperty(o,e[o])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[s,o]of e)this.elementProperties.set(s,o)}this._$Eh=new Map;for(const[e,s]of this.elementProperties){const o=this._$Eu(e,s);o!==void 0&&this._$Eh.set(o,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const o of s)e.unshift(q5(o))}else t!==void 0&&e.push(q5(t));return e}static _$Eu(t,e){const s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach(e=>e(this))}addController(t){var e;(this._$EO??(this._$EO=new Set)).add(t),this.renderRoot!==void 0&&this.isConnected&&((e=t.hostConnected)==null||e.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return mr(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostConnected)==null?void 0:s.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostDisconnected)==null?void 0:s.call(e)})}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$EC(t,e){var s;const o=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,o);if(i!==void 0&&o.reflect===!0){const n=(((s=o.converter)==null?void 0:s.toAttribute)!==void 0?o.converter:pe).toAttribute(e,o.type);this._$Em=t,n==null?this.removeAttribute(i):this.setAttribute(i,n),this._$Em=null}}_$AK(t,e){var s;const o=this.constructor,i=o._$Eh.get(t);if(i!==void 0&&this._$Em!==i){const n=o.getPropertyOptions(i),a=typeof n.converter=="function"?{fromAttribute:n.converter}:((s=n.converter)==null?void 0:s.fromAttribute)!==void 0?n.converter:pe;this._$Em=i,this[i]=a.fromAttribute(e,n.type),this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){if(s??(s=this.constructor.getPropertyOptions(t)),!(s.hasChanged??t2)(this[t],e))return;this.P(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,e,s){this._$AL.has(t)||this._$AL.set(t,e),s.reflect===!0&&this._$Em!==t&&(this._$Ej??(this._$Ej=new Set)).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[i,n]of this._$Ep)this[i]=n;this._$Ep=void 0}const o=this.constructor.elementProperties;if(o.size>0)for(const[i,n]of o)n.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.P(i,this[i],n)}let e=!1;const s=this._$AL;try{e=this.shouldUpdate(s),e?(this.willUpdate(s),(t=this._$EO)==null||t.forEach(o=>{var i;return(i=o.hostUpdate)==null?void 0:i.call(o)}),this.update(s)):this._$EU()}catch(o){throw e=!1,this._$EU(),o}e&&this._$AE(s)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(s=>{var o;return(o=s.hostUpdated)==null?void 0:o.call(s)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&(this._$Ej=this._$Ej.forEach(e=>this._$EC(e,this[e]))),this._$EU()}updated(t){}firstUpdated(t){}}Pt.elementStyles=[],Pt.shadowRootOptions={mode:"open"},Pt[zt("elementProperties")]=new Map,Pt[zt("finalized")]=new Map,F5==null||F5({ReactiveElement:Pt}),(ct.reactiveElementVersions??(ct.reactiveElementVersions=[])).push("2.0.4");/**
5277
5352
  * @license
5278
5353
  * Copyright 2017 Google LLC
5279
5354
  * SPDX-License-Identifier: BSD-3-Clause
5280
- */const ko={attribute:!0,type:String,converter:u2,reflect:!1,hasChanged:X2},$o=(o=ko,t,e)=>{const{kind:s,metadata:r}=e;let i=globalThis.litPropertyMetadata.get(r);if(i===void 0&&globalThis.litPropertyMetadata.set(r,i=new Map),i.set(e.name,o),s==="accessor"){const{name:n}=e;return{set(a){const l=t.get.call(this);t.set.call(this,a),this.requestUpdate(n,l,o)},init(a){return a!==void 0&&this.P(n,void 0,o),a}}}if(s==="setter"){const{name:n}=e;return function(a){const l=this[n];t.call(this,a),this.requestUpdate(n,l,o)}}throw Error("Unsupported decorator location: "+s)};function I(o){return(t,e)=>typeof e=="object"?$o(o,t,e):((s,r,i)=>{const n=r.hasOwnProperty(i);return r.constructor.createProperty(i,n?{...s,wrapped:!0}:s),n?Object.getOwnPropertyDescriptor(r,i):void 0})(o,t,e)}const So=b`
5355
+ */const Lr={attribute:!0,type:String,converter:pe,reflect:!1,hasChanged:t2},Mr=(r=Lr,t,e)=>{const{kind:s,metadata:o}=e;let i=globalThis.litPropertyMetadata.get(o);if(i===void 0&&globalThis.litPropertyMetadata.set(o,i=new Map),i.set(e.name,r),s==="accessor"){const{name:n}=e;return{set(a){const l=t.get.call(this);t.set.call(this,a),this.requestUpdate(n,l,r)},init(a){return a!==void 0&&this.P(n,void 0,r),a}}}if(s==="setter"){const{name:n}=e;return function(a){const l=this[n];t.call(this,a),this.requestUpdate(n,l,r)}}throw Error("Unsupported decorator location: "+s)};function z(r){return(t,e)=>typeof e=="object"?Mr(r,t,e):((s,o,i)=>{const n=o.hasOwnProperty(i);return o.constructor.createProperty(i,n?{...s,wrapped:!0}:s),n?Object.getOwnPropertyDescriptor(o,i):void 0})(r,t,e)}const Dr=b`
5281
5356
  :host {
5282
5357
  /* Anything that can be overridden should be defined here */
5283
5358
 
@@ -5603,9 +5678,18 @@ ${this.value}</textarea
5603
5678
  );
5604
5679
  }
5605
5680
 
5681
+ /* Circle */
5682
+ :host([circle]) {
5683
+ --_nys-button-width: var(--_nys-button-height);
5684
+ --_nys-button-radius-left: var(--nys-radius-round, 1776px);
5685
+ --_nys-button-radius-right: var(--nys-radius-round, 1776px);
5686
+ --_nys-button-padding-y: 0;
5687
+ --_nys-button-padding-x: 0;
5688
+ }
5689
+
5606
5690
  .nys-button {
5607
5691
  width: var(--_nys-button-width);
5608
- height: var(--_nys-button-height);
5692
+ min-height: var(--_nys-button-height);
5609
5693
  /* set every corner individually */
5610
5694
  border-top-left-radius: var(--_nys-button-radius-left);
5611
5695
  border-bottom-left-radius: var(--_nys-button-radius-left);
@@ -5629,6 +5713,11 @@ ${this.value}</textarea
5629
5713
  cursor: pointer;
5630
5714
  }
5631
5715
 
5716
+ :host([circle]) .nys-button {
5717
+ max-width: var(--_nys-button-height);
5718
+ max-height: var(--_nys-button-height);
5719
+ }
5720
+
5632
5721
  .nys-button:hover {
5633
5722
  background-color: var(--_nys-button-color-bg-hover);
5634
5723
  color: var(--_nys-button-color-text-hover);
@@ -5687,13 +5776,13 @@ ${this.value}</textarea
5687
5776
  * @license
5688
5777
  * Copyright 2017 Google LLC
5689
5778
  * SPDX-License-Identifier: BSD-3-Clause
5690
- */const p2=globalThis,C2=p2.trustedTypes,j5=C2?C2.createPolicy("lit-html",{createHTML:o=>o}):void 0,F5="$lit$",k1=`lit$${Math.random().toFixed(9).slice(2)}$`,G5="?"+k1,Eo=`<${G5}>`,N1=document,f2=()=>N1.createComment(""),Pt=o=>o===null||typeof o!="object"&&typeof o!="function",Q2=Array.isArray,Ao=o=>Q2(o)||typeof(o==null?void 0:o[Symbol.iterator])=="function",te=`[
5691
- \f\r]`,Ot=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,W5=/-->/g,Y5=/>/g,q1=RegExp(`>|${te}(?:([^\\s"'>=/]+)(${te}*=${te}*(?:[^
5692
- \f\r"'\`<>=]|("|')|))|$)`,"g"),K5=/'/g,J5=/"/g,X5=/^(?:script|style|textarea|title)$/i,Zt=Symbol.for("lit-noChange"),L=Symbol.for("lit-nothing"),Q5=new WeakMap,j1=N1.createTreeWalker(N1,129);function ts(o,t){if(!Q2(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return j5!==void 0?j5.createHTML(t):t}const Lo=(o,t)=>{const e=o.length-1,s=[];let r,i=t===2?"<svg>":t===3?"<math>":"",n=Ot;for(let a=0;a<e;a++){const l=o[a];let u,y,h=-1,p=0;for(;p<l.length&&(n.lastIndex=p,y=n.exec(l),y!==null);)p=n.lastIndex,n===Ot?y[1]==="!--"?n=W5:y[1]!==void 0?n=Y5:y[2]!==void 0?(X5.test(y[2])&&(r=RegExp("</"+y[2],"g")),n=q1):y[3]!==void 0&&(n=q1):n===q1?y[0]===">"?(n=r??Ot,h=-1):y[1]===void 0?h=-2:(h=n.lastIndex-y[2].length,u=y[1],n=y[3]===void 0?q1:y[3]==='"'?J5:K5):n===J5||n===K5?n=q1:n===W5||n===Y5?n=Ot:(n=q1,r=void 0);const C=n===q1&&o[a+1].startsWith("/>")?" ":"";i+=n===Ot?l+Eo:h>=0?(s.push(u),l.slice(0,h)+F5+l.slice(h)+k1+C):l+k1+(h===-2?a:C)}return[ts(o,i+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]};class It{constructor({strings:t,_$litType$:e},s){let r;this.parts=[];let i=0,n=0;const a=t.length-1,l=this.parts,[u,y]=Lo(t,e);if(this.el=It.createElement(u,s),j1.currentNode=this.el.content,e===2||e===3){const h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(r=j1.nextNode())!==null&&l.length<a;){if(r.nodeType===1){if(r.hasAttributes())for(const h of r.getAttributeNames())if(h.endsWith(F5)){const p=y[n++],C=r.getAttribute(h).split(k1),M=/([.?@])?(.*)/.exec(p);l.push({type:1,index:i,name:M[2],strings:C,ctor:M[1]==="."?Do:M[1]==="?"?Ho:M[1]==="@"?Vo:g2}),r.removeAttribute(h)}else h.startsWith(k1)&&(l.push({type:6,index:i}),r.removeAttribute(h));if(X5.test(r.tagName)){const h=r.textContent.split(k1),p=h.length-1;if(p>0){r.textContent=C2?C2.emptyScript:"";for(let C=0;C<p;C++)r.append(h[C],f2()),j1.nextNode(),l.push({type:2,index:++i});r.append(h[p],f2())}}}else if(r.nodeType===8)if(r.data===G5)l.push({type:2,index:i});else{let h=-1;for(;(h=r.data.indexOf(k1,h+1))!==-1;)l.push({type:7,index:i}),h+=k1.length-1}i++}}static createElement(t,e){const s=N1.createElement("template");return s.innerHTML=t,s}}function ct(o,t,e=o,s){var r,i;if(t===Zt)return t;let n=s!==void 0?(r=e._$Co)==null?void 0:r[s]:e._$Cl;const a=Pt(t)?void 0:t._$litDirective$;return(n==null?void 0:n.constructor)!==a&&((i=n==null?void 0:n._$AO)==null||i.call(n,!1),a===void 0?n=void 0:(n=new a(o),n._$AT(o,e,s)),s!==void 0?(e._$Co??(e._$Co=[]))[s]=n:e._$Cl=n),n!==void 0&&(t=ct(o,n._$AS(o,t.values),n,s)),t}class Mo{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:s}=this._$AD,r=((t==null?void 0:t.creationScope)??N1).importNode(e,!0);j1.currentNode=r;let i=j1.nextNode(),n=0,a=0,l=s[0];for(;l!==void 0;){if(n===l.index){let u;l.type===2?u=new v2(i,i.nextSibling,this,t):l.type===1?u=new l.ctor(i,l.name,l.strings,this,t):l.type===6&&(u=new Uo(i,this,t)),this._$AV.push(u),l=s[++a]}n!==(l==null?void 0:l.index)&&(i=j1.nextNode(),n++)}return j1.currentNode=N1,r}p(t){let e=0;for(const s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class v2{get _$AU(){var t;return((t=this._$AM)==null?void 0:t._$AU)??this._$Cv}constructor(t,e,s,r){this.type=2,this._$AH=L,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=r,this._$Cv=(r==null?void 0:r.isConnected)??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=ct(this,t,e),Pt(t)?t===L||t==null||t===""?(this._$AH!==L&&this._$AR(),this._$AH=L):t!==this._$AH&&t!==Zt&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Ao(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==L&&Pt(this._$AH)?this._$AA.nextSibling.data=t:this.T(N1.createTextNode(t)),this._$AH=t}$(t){var e;const{values:s,_$litType$:r}=t,i=typeof r=="number"?this._$AC(t):(r.el===void 0&&(r.el=It.createElement(ts(r.h,r.h[0]),this.options)),r);if(((e=this._$AH)==null?void 0:e._$AD)===i)this._$AH.p(s);else{const n=new Mo(i,this),a=n.u(this.options);n.p(s),this.T(a),this._$AH=n}}_$AC(t){let e=Q5.get(t.strings);return e===void 0&&Q5.set(t.strings,e=new It(t)),e}k(t){Q2(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,r=0;for(const i of t)r===e.length?e.push(s=new v2(this.O(f2()),this.O(f2()),this,this.options)):s=e[r],s._$AI(i),r++;r<e.length&&(this._$AR(s&&s._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){var s;for((s=this._$AP)==null?void 0:s.call(this,!1,!0,e);t&&t!==this._$AB;){const r=t.nextSibling;t.remove(),t=r}}setConnected(t){var e;this._$AM===void 0&&(this._$Cv=t,(e=this._$AP)==null||e.call(this,t))}}class g2{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,r,i){this.type=1,this._$AH=L,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=L}_$AI(t,e=this,s,r){const i=this.strings;let n=!1;if(i===void 0)t=ct(this,t,e,0),n=!Pt(t)||t!==this._$AH&&t!==Zt,n&&(this._$AH=t);else{const a=t;let l,u;for(t=i[0],l=0;l<i.length-1;l++)u=ct(this,a[s+l],e,l),u===Zt&&(u=this._$AH[l]),n||(n=!Pt(u)||u!==this._$AH[l]),u===L?t=L:t!==L&&(t+=(u??"")+i[l+1]),this._$AH[l]=u}n&&!r&&this.j(t)}j(t){t===L?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Do extends g2{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===L?void 0:t}}class Ho extends g2{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==L)}}class Vo extends g2{constructor(t,e,s,r,i){super(t,e,s,r,i),this.type=5}_$AI(t,e=this){if((t=ct(this,t,e,0)??L)===Zt)return;const s=this._$AH,r=t===L&&s!==L||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,i=t!==L&&(s===L||r);r&&this.element.removeEventListener(this.name,this,s),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e;typeof this._$AH=="function"?this._$AH.call(((e=this.options)==null?void 0:e.host)??this.element,t):this._$AH.handleEvent(t)}}class Uo{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){ct(this,t)}}const es=p2.litHtmlPolyfillSupport;es==null||es(It,v2),(p2.litHtmlVersions??(p2.litHtmlVersions=[])).push("3.2.1");/**
5779
+ */const Ce=globalThis,fe=Ce.trustedTypes,W5=fe?fe.createPolicy("lit-html",{createHTML:r=>r}):void 0,Y5="$lit$",k1=`lit$${Math.random().toFixed(9).slice(2)}$`,K5="?"+k1,Hr=`<${K5}>`,q1=document,ve=()=>q1.createComment(""),Ot=r=>r===null||typeof r!="object"&&typeof r!="function",e2=Array.isArray,Vr=r=>e2(r)||typeof(r==null?void 0:r[Symbol.iterator])=="function",s2=`[
5780
+ \f\r]`,Zt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,J5=/-->/g,X5=/>/g,j1=RegExp(`>|${s2}(?:([^\\s"'>=/]+)(${s2}*=${s2}*(?:[^
5781
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Q5=/'/g,ts=/"/g,es=/^(?:script|style|textarea|title)$/i,It=Symbol.for("lit-noChange"),P=Symbol.for("lit-nothing"),ss=new WeakMap,F1=q1.createTreeWalker(q1,129);function os(r,t){if(!e2(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return W5!==void 0?W5.createHTML(t):t}const Ur=(r,t)=>{const e=r.length-1,s=[];let o,i=t===2?"<svg>":t===3?"<math>":"",n=Zt;for(let a=0;a<e;a++){const l=r[a];let u,y,h=-1,p=0;for(;p<l.length&&(n.lastIndex=p,y=n.exec(l),y!==null);)p=n.lastIndex,n===Zt?y[1]==="!--"?n=J5:y[1]!==void 0?n=X5:y[2]!==void 0?(es.test(y[2])&&(o=RegExp("</"+y[2],"g")),n=j1):y[3]!==void 0&&(n=j1):n===j1?y[0]===">"?(n=o??Zt,h=-1):y[1]===void 0?h=-2:(h=n.lastIndex-y[2].length,u=y[1],n=y[3]===void 0?j1:y[3]==='"'?ts:Q5):n===ts||n===Q5?n=j1:n===J5||n===X5?n=Zt:(n=j1,o=void 0);const C=n===j1&&r[a+1].startsWith("/>")?" ":"";i+=n===Zt?l+Hr:h>=0?(s.push(u),l.slice(0,h)+Y5+l.slice(h)+k1+C):l+k1+(h===-2?a:C)}return[os(r,i+(r[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]};class Tt{constructor({strings:t,_$litType$:e},s){let o;this.parts=[];let i=0,n=0;const a=t.length-1,l=this.parts,[u,y]=Ur(t,e);if(this.el=Tt.createElement(u,s),F1.currentNode=this.el.content,e===2||e===3){const h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(o=F1.nextNode())!==null&&l.length<a;){if(o.nodeType===1){if(o.hasAttributes())for(const h of o.getAttributeNames())if(h.endsWith(Y5)){const p=y[n++],C=o.getAttribute(h).split(k1),Z=/([.?@])?(.*)/.exec(p);l.push({type:1,index:i,name:Z[2],strings:C,ctor:Z[1]==="."?Pr:Z[1]==="?"?Or:Z[1]==="@"?Zr:_e}),o.removeAttribute(h)}else h.startsWith(k1)&&(l.push({type:6,index:i}),o.removeAttribute(h));if(es.test(o.tagName)){const h=o.textContent.split(k1),p=h.length-1;if(p>0){o.textContent=fe?fe.emptyScript:"";for(let C=0;C<p;C++)o.append(h[C],ve()),F1.nextNode(),l.push({type:2,index:++i});o.append(h[p],ve())}}}else if(o.nodeType===8)if(o.data===K5)l.push({type:2,index:i});else{let h=-1;for(;(h=o.data.indexOf(k1,h+1))!==-1;)l.push({type:7,index:i}),h+=k1.length-1}i++}}static createElement(t,e){const s=q1.createElement("template");return s.innerHTML=t,s}}function ht(r,t,e=r,s){var o,i;if(t===It)return t;let n=s!==void 0?(o=e._$Co)==null?void 0:o[s]:e._$Cl;const a=Ot(t)?void 0:t._$litDirective$;return(n==null?void 0:n.constructor)!==a&&((i=n==null?void 0:n._$AO)==null||i.call(n,!1),a===void 0?n=void 0:(n=new a(r),n._$AT(r,e,s)),s!==void 0?(e._$Co??(e._$Co=[]))[s]=n:e._$Cl=n),n!==void 0&&(t=ht(r,n._$AS(r,t.values),n,s)),t}class zr{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:s}=this._$AD,o=((t==null?void 0:t.creationScope)??q1).importNode(e,!0);F1.currentNode=o;let i=F1.nextNode(),n=0,a=0,l=s[0];for(;l!==void 0;){if(n===l.index){let u;l.type===2?u=new ge(i,i.nextSibling,this,t):l.type===1?u=new l.ctor(i,l.name,l.strings,this,t):l.type===6&&(u=new Ir(i,this,t)),this._$AV.push(u),l=s[++a]}n!==(l==null?void 0:l.index)&&(i=F1.nextNode(),n++)}return F1.currentNode=q1,o}p(t){let e=0;for(const s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class ge{get _$AU(){var t;return((t=this._$AM)==null?void 0:t._$AU)??this._$Cv}constructor(t,e,s,o){this.type=2,this._$AH=P,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=o,this._$Cv=(o==null?void 0:o.isConnected)??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=ht(this,t,e),Ot(t)?t===P||t==null||t===""?(this._$AH!==P&&this._$AR(),this._$AH=P):t!==this._$AH&&t!==It&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Vr(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==P&&Ot(this._$AH)?this._$AA.nextSibling.data=t:this.T(q1.createTextNode(t)),this._$AH=t}$(t){var e;const{values:s,_$litType$:o}=t,i=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=Tt.createElement(os(o.h,o.h[0]),this.options)),o);if(((e=this._$AH)==null?void 0:e._$AD)===i)this._$AH.p(s);else{const n=new zr(i,this),a=n.u(this.options);n.p(s),this.T(a),this._$AH=n}}_$AC(t){let e=ss.get(t.strings);return e===void 0&&ss.set(t.strings,e=new Tt(t)),e}k(t){e2(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,o=0;for(const i of t)o===e.length?e.push(s=new ge(this.O(ve()),this.O(ve()),this,this.options)):s=e[o],s._$AI(i),o++;o<e.length&&(this._$AR(s&&s._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var s;for((s=this._$AP)==null?void 0:s.call(this,!1,!0,e);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){var e;this._$AM===void 0&&(this._$Cv=t,(e=this._$AP)==null||e.call(this,t))}}class _e{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,o,i){this.type=1,this._$AH=P,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=i,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=P}_$AI(t,e=this,s,o){const i=this.strings;let n=!1;if(i===void 0)t=ht(this,t,e,0),n=!Ot(t)||t!==this._$AH&&t!==It,n&&(this._$AH=t);else{const a=t;let l,u;for(t=i[0],l=0;l<i.length-1;l++)u=ht(this,a[s+l],e,l),u===It&&(u=this._$AH[l]),n||(n=!Ot(u)||u!==this._$AH[l]),u===P?t=P:t!==P&&(t+=(u??"")+i[l+1]),this._$AH[l]=u}n&&!o&&this.j(t)}j(t){t===P?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Pr extends _e{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===P?void 0:t}}class Or extends _e{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==P)}}class Zr extends _e{constructor(t,e,s,o,i){super(t,e,s,o,i),this.type=5}_$AI(t,e=this){if((t=ht(this,t,e,0)??P)===It)return;const s=this._$AH,o=t===P&&s!==P||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,i=t!==P&&(s===P||o);o&&this.element.removeEventListener(this.name,this,s),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e;typeof this._$AH=="function"?this._$AH.call(((e=this.options)==null?void 0:e.host)??this.element,t):this._$AH.handleEvent(t)}}class Ir{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){ht(this,t)}}const rs=Ce.litHtmlPolyfillSupport;rs==null||rs(Tt,ge),(Ce.litHtmlVersions??(Ce.litHtmlVersions=[])).push("3.2.1");/**
5693
5782
  * @license
5694
5783
  * Copyright 2018 Google LLC
5695
5784
  * SPDX-License-Identifier: BSD-3-Clause
5696
- */const $1=o=>o??L;var zo=Object.defineProperty,Po=Object.getOwnPropertyDescriptor,T=(o,t,e,s)=>{for(var r=s>1?void 0:s?Po(t,e):t,i=o.length-1,n;i>=0;i--)(n=o[i])&&(r=(s?n(t,e,r):n(r))||r);return s&&r&&zo(t,e,r),r};let Oo=0;var K;const U=(K=class extends f{constructor(){super(),this.id="",this.name="",this._size="md",this.fullWidth=!1,this._variant="filled",this.inverted=!1,this.label="",this.ariaLabel="",this.prefixIcon="",this.suffixIcon="",this.disabled=!1,this.form="",this.value="",this._type="button",this.onClick=()=>{},this.href="",this._target="_self",this._internals=this.attachInternals()}get size(){return this._size}set size(o){this._size=K.VALID_SIZES.includes(o)?o:"md"}get variant(){return this._variant}set variant(o){this._variant=K.VALID_VARIANTS.includes(o)?o:"filled"}get type(){return this._type}set type(o){this._type=K.VALID_TYPES.includes(o)?o:"button"}get target(){return this._target}set target(o){this._target=K.VALID_TARGETS.includes(o)?o:"_self"}connectedCallback(){super.connectedCallback(),this.id||(this.id=this._generateUniqueId())}_generateUniqueId(){return`nys-button-${Date.now()}-${Oo++}`}_manageFormAction(o){typeof this.onClick=="function"&&this.onClick(o);const t=this._internals.form;if(t)switch(this.type){case"submit":t.requestSubmit();break;case"reset":t.reset();break}}_handleFocus(){this.dispatchEvent(new Event("nys-focus"))}_handleBlur(){this.dispatchEvent(new Event("nys-blur"))}_handleClick(o){if(this.disabled){o.preventDefault();return}this._manageFormAction(o),this.dispatchEvent(new Event("nys-click"))}_handleKeydown(o){(o.code==="Space"||o.code==="Enter"||o.key===" "||o.key==="Enter")&&(o.preventDefault(),this.disabled||this._manageFormAction(o))}render(){return d`
5785
+ */const $1=r=>r??P;var Tr=Object.defineProperty,Br=Object.getOwnPropertyDescriptor,O=(r,t,e,s)=>{for(var o=s>1?void 0:s?Br(t,e):t,i=r.length-1,n;i>=0;i--)(n=r[i])&&(o=(s?n(t,e,o):n(o))||o);return s&&o&&Tr(t,e,o),o};let Rr=0;var K;const A=(K=class extends f{constructor(){super(),this.id="",this.name="",this._size="md",this.fullWidth=!1,this._variant="filled",this.inverted=!1,this.label="",this.ariaLabel="",this.prefixIcon="",this.suffixIcon="",this.circle=!1,this.icon="",this.disabled=!1,this.form="",this.value="",this._type="button",this.onClick=()=>{},this.href="",this._target="_self",this._internals=this.attachInternals()}get size(){return this._size}set size(r){this._size=K.VALID_SIZES.includes(r)?r:"md"}get variant(){return this._variant}set variant(r){this._variant=K.VALID_VARIANTS.includes(r)?r:"filled"}get type(){return this._type}set type(r){this._type=K.VALID_TYPES.includes(r)?r:"button"}get target(){return this._target}set target(r){this._target=K.VALID_TARGETS.includes(r)?r:"_self"}connectedCallback(){super.connectedCallback(),this.id||(this.id=this._generateUniqueId())}_generateUniqueId(){return`nys-button-${Date.now()}-${Rr++}`}_manageFormAction(r){typeof this.onClick=="function"&&this.onClick(r);const t=this._internals.form;if(t)switch(this.type){case"submit":t.requestSubmit();break;case"reset":t.reset();break}}_handleFocus(){this.dispatchEvent(new Event("nys-focus"))}_handleBlur(){this.dispatchEvent(new Event("nys-blur"))}_handleClick(r){if(this.disabled){r.preventDefault();return}this._manageFormAction(r),this.dispatchEvent(new Event("nys-click"))}_handleKeydown(r){(r.code==="Space"||r.code==="Enter"||r.key===" "||r.key==="Enter")&&(r.preventDefault(),this.disabled||this._manageFormAction(r))}render(){return d`
5697
5786
  ${this.href?d`
5698
5787
  <div class="nys-button__linkwrapper">
5699
5788
  <a
@@ -5706,7 +5795,7 @@ ${this.value}</textarea
5706
5795
  value=${$1(this.value?this.value:void 0)}
5707
5796
  href=${this.href}
5708
5797
  target=${this.target}
5709
- aria-label=${this.ariaLabel||this.label||"button"}
5798
+ aria-label=${this.ariaLabel||this.label||(this.circle?this.icon:null)||"button"}
5710
5799
  @click=${this._handleClick}
5711
5800
  @focus="${this._handleFocus}"
5712
5801
  @blur="${this._handleBlur}"
@@ -5714,10 +5803,16 @@ ${this.value}</textarea
5714
5803
  ${this.prefixIcon&&this.variant!=="text"?d`<slot name="prefix-icon">
5715
5804
  <nys-icon size="16" name=${this.prefixIcon}></nys-icon>
5716
5805
  </slot>`:""}
5717
- ${this.label?d`<label class="nys-button__text">${this.label}</label>`:""}
5806
+ ${this.label&&!this.circle?d`<label class="nys-button__text">${this.label}</label>`:""}
5718
5807
  ${this.suffixIcon&&this.variant!=="text"?d`<slot name="suffix-icon">
5719
5808
  <nys-icon size="16" name=${this.suffixIcon}></nys-icon>
5720
5809
  </slot>`:""}
5810
+ ${this.circle&&this.icon?d`<slot name="circle-icon"
5811
+ ><nys-icon
5812
+ size=${this.size==="sm"?"24":this.size==="lg"?"40":"32"}
5813
+ name=${this.icon}
5814
+ ></nys-icon
5815
+ ></slot>`:""}
5721
5816
  </a>
5722
5817
  </div>
5723
5818
  `:d`
@@ -5729,7 +5824,7 @@ ${this.value}</textarea
5729
5824
  form=${$1(this.form?this.form:void 0)}
5730
5825
  value=${$1(this.value?this.value:void 0)}
5731
5826
  type=${this.type}
5732
- aria-label=${this.ariaLabel||this.label||"button"}
5827
+ aria-label=${this.ariaLabel||this.label||(this.circle?this.icon:null)||"button"}
5733
5828
  @click=${this._handleClick}
5734
5829
  @focus="${this._handleFocus}"
5735
5830
  @blur="${this._handleBlur}"
@@ -5738,13 +5833,19 @@ ${this.value}</textarea
5738
5833
  ${this.prefixIcon&&this.variant!=="text"?d`<slot name="prefix-icon">
5739
5834
  <nys-icon size="16" name=${this.prefixIcon}></nys-icon>
5740
5835
  </slot>`:""}
5741
- ${this.label?d`<label class="nys-button__text">${this.label}</label>`:""}
5836
+ ${this.label&&!this.circle?d`<label class="nys-button__text">${this.label}</label>`:""}
5742
5837
  ${this.suffixIcon&&this.variant!=="text"?d`<slot name="suffix-icon">
5743
5838
  <nys-icon size="16" name=${this.suffixIcon}></nys-icon>
5744
5839
  </slot>`:""}
5840
+ ${this.circle&&this.icon?d`<slot name="circle-icon">
5841
+ <nys-icon
5842
+ size=${this.size==="sm"?"24":this.size==="lg"?"40":"32"}
5843
+ name=${this.icon}
5844
+ ></nys-icon>
5845
+ </slot>`:""}
5745
5846
  </button>
5746
5847
  `}
5747
- `}},K.VALID_SIZES=["sm","md","lg"],K.VALID_VARIANTS=["filled","outline","ghost","text"],K.VALID_TYPES=["submit","reset","button"],K.VALID_TARGETS=["_self","_blank","_parent","_top","framename"],K.styles=So,K.formAssociated=!0,K);T([I({type:String})],U.prototype,"id",2),T([I({type:String,reflect:!0})],U.prototype,"name",2),T([I({reflect:!0})],U.prototype,"size",1),T([I({type:Boolean,reflect:!0})],U.prototype,"fullWidth",2),T([I({reflect:!0})],U.prototype,"variant",1),T([I({type:Boolean,reflect:!0})],U.prototype,"inverted",2),T([I({type:String})],U.prototype,"label",2),T([I({type:String})],U.prototype,"ariaLabel",2),T([I({type:String})],U.prototype,"prefixIcon",2),T([I({type:String})],U.prototype,"suffixIcon",2),T([I({type:Boolean,reflect:!0})],U.prototype,"disabled",2),T([I({type:String})],U.prototype,"form",2),T([I({type:String})],U.prototype,"value",2),T([I({reflect:!0})],U.prototype,"type",1),T([I({type:Function})],U.prototype,"onClick",2),T([I({type:String})],U.prototype,"href",2),T([I({reflect:!0})],U.prototype,"target",1);let Zo=U;customElements.get("nys-button")||customElements.define("nys-button",Zo);var Io=Object.defineProperty,To=Object.getOwnPropertyDescriptor,$=(o,t,e,s)=>{for(var r=s>1?void 0:s?To(t,e):t,i=o.length-1,n;i>=0;i--)(n=o[i])&&(r=(s?n(t,e,r):n(r))||r);return s&&r&&Io(t,e,r),r};let Bo=0;var S1;const x=(S1=class extends f{constructor(){super(),this.id="",this.name="",this._type="text",this.label="",this.description="",this.placeholder="",this.value="",this.disabled=!1,this.readonly=!1,this.required=!1,this.optional=!1,this.form="",this.pattern="",this.maxlength=null,this.width="full",this.step=null,this.min=null,this.max=null,this.showError=!1,this.errorMessage="",this.showPassword=!1,this._originalErrorMessage="",this._hasUserInteracted=!1,this._internals=this.attachInternals()}get type(){return this._type}set type(o){this._type=S1.VALID_TYPES.includes(o)?o:"text"}async updated(o){o.has("width")&&(await Promise.resolve(),this.width=S1.VALID_WIDTHS.includes(this.width)?this.width:"full"),o.has("disabled")&&(this._validateButtonSlot("startButton"),this._validateButtonSlot("endButton"))}connectedCallback(){super.connectedCallback(),this.id||(this.id=`nys-textinput-${Date.now()}-${Bo++}`),this._originalErrorMessage=this.errorMessage??"",this.addEventListener("invalid",this._handleInvalid)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("invalid",this._handleInvalid)}firstUpdated(){this._setValue(),this._manageRequire()}formResetCallback(){this.value=""}_setValue(){this._internals.setFormValue(this.value),this._manageRequire()}_manageRequire(){var o,t;const e=(o=this.shadowRoot)==null?void 0:o.querySelector("input");if(!e)return;const s=this.errorMessage||"This field is required";this.required&&(!this.value||((t=this.value)==null?void 0:t.trim())==="")?(this._internals.ariaRequired="true",this._internals.setValidity({valueMissing:!0},s,e)):(this._internals.ariaRequired="false",this._internals.setValidity({}),this._hasUserInteracted=!1)}_setValidityMessage(o=""){var t,e;const s=(t=this.shadowRoot)==null?void 0:t.querySelector("input");if(!s)return;this.showError=!!o,(e=this._originalErrorMessage)!=null&&e.trim()&&o!==""?this.errorMessage=this._originalErrorMessage:this.errorMessage=o;const r=o?{customError:!0}:{};this._internals.setValidity(r,this.errorMessage,s)}_validate(){var o;const t=(o=this.shadowRoot)==null?void 0:o.querySelector("input");if(!t)return;const e=t.validity;let s="";e.valueMissing?s="This field is required":e.typeMismatch?s="Invalid format for this type":e.patternMismatch?s="Invalid format":e.tooShort?s=`Value is too short. Minimum length is ${t.minLength}`:e.tooLong?s=`Value is too long. Maximum length is ${t.maxLength}`:e.rangeUnderflow?s=`Value must be at least ${t.min}`:e.rangeOverflow?s=`Value must be at most ${t.max}`:e.stepMismatch?s="Invalid step value":s=t.validationMessage,this._setValidityMessage(s)}checkValidity(){var o;const t=(o=this.shadowRoot)==null?void 0:o.querySelector("input");return t?t.checkValidity():!0}_handleInvalid(o){var t;o.preventDefault(),this._hasUserInteracted=!0,this._validate();const e=(t=this.shadowRoot)==null?void 0:t.querySelector("input");if(e){const s=this._internals.form;s?Array.from(s.elements).find(r=>typeof r.checkValidity=="function"&&!r.checkValidity())===this&&e.focus():e.focus()}}_togglePasswordVisibility(){this.showPassword=!this.showPassword}_handleInput(o){const t=o.target;this.value=t.value,this._internals.setFormValue(this.value),this._hasUserInteracted&&this._validate(),this.dispatchEvent(new CustomEvent("nys-input",{detail:{value:this.value},bubbles:!0,composed:!0}))}_handleFocus(){this.dispatchEvent(new Event("nys-focus"))}_handleBlur(){this._hasUserInteracted||(this._hasUserInteracted=!0),this._validate(),this.dispatchEvent(new Event("nys-blur"))}_validateButtonSlot(o){var t,e;const s=(t=this.shadowRoot)==null?void 0:t.querySelector('slot[name="'+o+'"]'),r=(e=this.shadowRoot)==null?void 0:e.querySelector(".nys-textinput__buttoncontainer");if(!s||!r)return;const i=s.assignedElements();let n=!1;i.forEach(a=>{a instanceof HTMLElement&&a.tagName.toLowerCase()==="nys-button"&&!n?(n=!0,a.setAttribute("size","sm"),a.setAttribute("variant","primary"),this.disabled?a.setAttribute("disabled","true"):a.removeAttribute("disabled")):(console.warn("The '"+o+"' slot only accepts a single <nys-button> element. Removing invalid or extra node:",a),a.remove())}),o==="startButton"?r.classList.toggle("has-start-button",n):o==="endButton"&&r.classList.toggle("has-end-button",n)}render(){return d`
5848
+ `}},K.VALID_SIZES=["sm","md","lg"],K.VALID_VARIANTS=["filled","outline","ghost","text"],K.VALID_TYPES=["submit","reset","button"],K.VALID_TARGETS=["_self","_blank","_parent","_top","framename"],K.styles=Dr,K.formAssociated=!0,K);O([z({type:String})],A.prototype,"id",2),O([z({type:String,reflect:!0})],A.prototype,"name",2),O([z({reflect:!0})],A.prototype,"size",1),O([z({type:Boolean,reflect:!0})],A.prototype,"fullWidth",2),O([z({reflect:!0})],A.prototype,"variant",1),O([z({type:Boolean,reflect:!0})],A.prototype,"inverted",2),O([z({type:String})],A.prototype,"label",2),O([z({type:String})],A.prototype,"ariaLabel",2),O([z({type:String})],A.prototype,"prefixIcon",2),O([z({type:String})],A.prototype,"suffixIcon",2),O([z({type:Boolean,reflect:!0})],A.prototype,"circle",2),O([z({type:String})],A.prototype,"icon",2),O([z({type:Boolean,reflect:!0})],A.prototype,"disabled",2),O([z({type:String})],A.prototype,"form",2),O([z({type:String})],A.prototype,"value",2),O([z({reflect:!0})],A.prototype,"type",1),O([z({type:Function})],A.prototype,"onClick",2),O([z({type:String})],A.prototype,"href",2),O([z({reflect:!0})],A.prototype,"target",1);let Nr=A;customElements.get("nys-button")||customElements.define("nys-button",Nr);var qr=Object.defineProperty,jr=Object.getOwnPropertyDescriptor,$=(r,t,e,s)=>{for(var o=s>1?void 0:s?jr(t,e):t,i=r.length-1,n;i>=0;i--)(n=r[i])&&(o=(s?n(t,e,o):n(o))||o);return s&&o&&qr(t,e,o),o};let Fr=0;var S1;const x=(S1=class extends f{constructor(){super(),this.id="",this.name="",this._type="text",this.label="",this.description="",this.placeholder="",this.value="",this.disabled=!1,this.readonly=!1,this.required=!1,this.optional=!1,this.form="",this.pattern="",this.maxlength=null,this.width="full",this.step=null,this.min=null,this.max=null,this.showError=!1,this.errorMessage="",this.showPassword=!1,this._originalErrorMessage="",this._hasUserInteracted=!1,this._internals=this.attachInternals()}get type(){return this._type}set type(r){this._type=S1.VALID_TYPES.includes(r)?r:"text"}async updated(r){r.has("width")&&(await Promise.resolve(),this.width=S1.VALID_WIDTHS.includes(this.width)?this.width:"full"),r.has("disabled")&&(this._validateButtonSlot("startButton"),this._validateButtonSlot("endButton"))}connectedCallback(){super.connectedCallback(),this.id||(this.id=`nys-textinput-${Date.now()}-${Fr++}`),this._originalErrorMessage=this.errorMessage??"",this.addEventListener("invalid",this._handleInvalid)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("invalid",this._handleInvalid)}firstUpdated(){this._setValue(),this._manageRequire()}formResetCallback(){this.value=""}_setValue(){this._internals.setFormValue(this.value),this._manageRequire()}_manageRequire(){var r,t;const e=(r=this.shadowRoot)==null?void 0:r.querySelector("input");if(!e)return;const s=this.errorMessage||"This field is required";this.required&&(!this.value||((t=this.value)==null?void 0:t.trim())==="")?(this._internals.ariaRequired="true",this._internals.setValidity({valueMissing:!0},s,e)):(this._internals.ariaRequired="false",this._internals.setValidity({}),this._hasUserInteracted=!1)}_setValidityMessage(r=""){var t,e;const s=(t=this.shadowRoot)==null?void 0:t.querySelector("input");if(!s)return;this.showError=!!r,(e=this._originalErrorMessage)!=null&&e.trim()&&r!==""?this.errorMessage=this._originalErrorMessage:this.errorMessage=r;const o=r?{customError:!0}:{};this._internals.setValidity(o,this.errorMessage,s)}_validate(){var r;const t=(r=this.shadowRoot)==null?void 0:r.querySelector("input");if(!t)return;const e=t.validity;let s="";e.valueMissing?s="This field is required":e.typeMismatch?s="Invalid format for this type":e.patternMismatch?s="Invalid format":e.tooShort?s=`Value is too short. Minimum length is ${t.minLength}`:e.tooLong?s=`Value is too long. Maximum length is ${t.maxLength}`:e.rangeUnderflow?s=`Value must be at least ${t.min}`:e.rangeOverflow?s=`Value must be at most ${t.max}`:e.stepMismatch?s="Invalid step value":s=t.validationMessage,this._setValidityMessage(s)}checkValidity(){var r;const t=(r=this.shadowRoot)==null?void 0:r.querySelector("input");return t?t.checkValidity():!0}_handleInvalid(r){var t;r.preventDefault(),this._hasUserInteracted=!0,this._validate();const e=(t=this.shadowRoot)==null?void 0:t.querySelector("input");if(e){const s=this._internals.form;s?Array.from(s.elements).find(o=>typeof o.checkValidity=="function"&&!o.checkValidity())===this&&e.focus():e.focus()}}_togglePasswordVisibility(){this.showPassword=!this.showPassword}_handleInput(r){const t=r.target;this.value=t.value,this._internals.setFormValue(this.value),this._hasUserInteracted&&this._validate(),this.dispatchEvent(new CustomEvent("nys-input",{detail:{value:this.value},bubbles:!0,composed:!0}))}_handleFocus(){this.dispatchEvent(new Event("nys-focus"))}_handleBlur(){this._hasUserInteracted||(this._hasUserInteracted=!0),this._validate(),this.dispatchEvent(new Event("nys-blur"))}_validateButtonSlot(r){var t,e;const s=(t=this.shadowRoot)==null?void 0:t.querySelector('slot[name="'+r+'"]'),o=(e=this.shadowRoot)==null?void 0:e.querySelector(".nys-textinput__buttoncontainer");if(!s||!o)return;const i=s.assignedElements();let n=!1;i.forEach(a=>{a instanceof HTMLElement&&a.tagName.toLowerCase()==="nys-button"&&!n?(n=!0,a.setAttribute("size","sm"),a.setAttribute("variant","primary"),this.disabled?a.setAttribute("disabled","true"):a.removeAttribute("disabled")):(console.warn("The '"+r+"' slot only accepts a single <nys-button> element. Removing invalid or extra node:",a),a.remove())}),r==="startButton"?o.classList.toggle("has-start-button",n):r==="endButton"&&o.classList.toggle("has-end-button",n)}render(){return d`
5748
5849
  <div class="nys-textinput">
5749
5850
  <nys-label
5750
5851
  id=${this.id}
@@ -5772,13 +5873,13 @@ ${this.value}</textarea
5772
5873
  aria-disabled="${this.disabled}"
5773
5874
  aria-label="${[this.label,this.description].filter(Boolean).join(" ")}"
5774
5875
  .value=${this.value}
5775
- placeholder=${R1(this.placeholder?this.placeholder:void 0)}
5776
- pattern=${R1(this.pattern?this.pattern:void 0)}
5777
- min=${R1(this.min!==""?this.min:void 0)}
5778
- maxlength=${R1(this.maxlength!==""?this.maxlength:void 0)}
5779
- step=${R1(this.step!==""?this.step:void 0)}
5780
- max=${R1(this.max!==""?this.max:void 0)}
5781
- form=${R1(this.form?this.form:void 0)}
5876
+ placeholder=${N1(this.placeholder?this.placeholder:void 0)}
5877
+ pattern=${N1(this.pattern?this.pattern:void 0)}
5878
+ min=${N1(this.min!==""?this.min:void 0)}
5879
+ maxlength=${N1(this.maxlength!==""?this.maxlength:void 0)}
5880
+ step=${N1(this.step!==""?this.step:void 0)}
5881
+ max=${N1(this.max!==""?this.max:void 0)}
5882
+ form=${N1(this.form?this.form:void 0)}
5782
5883
  @input=${this._handleInput}
5783
5884
  @focus="${this._handleFocus}"
5784
5885
  @blur="${this._handleBlur}"
@@ -5808,7 +5909,7 @@ ${this.value}</textarea
5808
5909
  errorMessage=${this.errorMessage}
5809
5910
  ></nys-errormessage>
5810
5911
  </div>
5811
- `}},S1.VALID_TYPES=["email","number","password","search","tel","text","url"],S1.VALID_WIDTHS=["sm","md","lg","full"],S1.styles=oo,S1.formAssociated=!0,S1);$([k({type:String})],x.prototype,"id",2),$([k({type:String,reflect:!0})],x.prototype,"name",2),$([k({reflect:!0})],x.prototype,"type",1),$([k({type:String})],x.prototype,"label",2),$([k({type:String})],x.prototype,"description",2),$([k({type:String})],x.prototype,"placeholder",2),$([k({type:String})],x.prototype,"value",2),$([k({type:Boolean,reflect:!0})],x.prototype,"disabled",2),$([k({type:Boolean,reflect:!0})],x.prototype,"readonly",2),$([k({type:Boolean,reflect:!0})],x.prototype,"required",2),$([k({type:Boolean,reflect:!0})],x.prototype,"optional",2),$([k({type:String})],x.prototype,"form",2),$([k({type:String})],x.prototype,"pattern",2),$([k({type:Number})],x.prototype,"maxlength",2),$([k({reflect:!0})],x.prototype,"width",2),$([k({type:Number})],x.prototype,"step",2),$([k({type:Number})],x.prototype,"min",2),$([k({type:Number})],x.prototype,"max",2),$([k({type:Boolean,reflect:!0})],x.prototype,"showError",2),$([k({type:String})],x.prototype,"errorMessage",2),$([ro()],x.prototype,"showPassword",2);let Ro=x;customElements.get("nys-textinput")||customElements.define("nys-textinput",Ro);var No=Object.defineProperty,F1=(o,t,e,s)=>{for(var r=void 0,i=o.length-1,n;i>=0;i--)(n=o[i])&&(r=n(t,e,r)||r);return r&&No(t,e,r),r};const oe=class oe extends f{constructor(){super(...arguments),this.trustbarVisible=!1,this.searchDropdownVisible=!1,this.languageVisible=!1,this.isSearchFocused=!1,this.hideTranslate=!1,this.hideSearch=!1,this.languages=[["English",""],["Español","es"],["中文","zh"],["繁體中文","zh-traditional"],["Русский","ru"],["יידיש","yi"],["বাংলা","bn"],["한국어","ko"],["Kreyòl Ayisyen","ht"],["Italiano","it"],["العربية","ar"],["Polski","pl"],["Français","fr"],["اردو","ur"]]}_getNysLogo(){return new DOMParser().parseFromString(qr,"image/svg+xml").documentElement}_toggleTrustbar(){this.trustbarVisible=!this.trustbarVisible,this.trustbarVisible&&(this.languageVisible=!1,this.searchDropdownVisible=!1)}_toggleLanguageList(){this.languageVisible=!this.languageVisible,this.languageVisible&&(this.trustbarVisible=!1,this.searchDropdownVisible=!1)}_toggleSearchDropdown(){this.searchDropdownVisible=!this.searchDropdownVisible,this.searchDropdownVisible&&(this.trustbarVisible=!1,this.languageVisible=!1)}_handleSearchFocus(){this.isSearchFocused=!0,this.trustbarVisible=!1,this.languageVisible=!1}_handleSearchBlur(){this.isSearchFocused=!1}_handleSearchKeyup(t){var e;if(t.key==="Escape"&&(this._handleSearchBlur(),t.target.blur()),t.key==="Enter"){const s=(e=t.target.value)==null?void 0:e.trim();s!==""&&this._handleSearch(s)}}_handleSearchButton(t){var r,i;const s=(i=((r=this.shadowRoot)==null?void 0:r.getElementById(t)).value)==null?void 0:i.trim();s!==""&&this._handleSearch(s)}_handleSearch(t){window.location.href=`https://search.its.ny.gov/search/search.html?btnG=Search&client=default_frontend&output=xml_no_dtd&proxystylesheet=default_frontend&ulang=en&sort=date:D:L:d1&entqr=3&entqrm=0&wc=200&wc_mc=1&oe=UTF-8&ie=UTF-8&ud=1&site=default_collection&q=${t}+inurl:${window.location.hostname}&site=default_collection`}connectedCallback(){super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback()}render(){return d`
5912
+ `}},S1.VALID_TYPES=["email","number","password","search","tel","text","url"],S1.VALID_WIDTHS=["sm","md","lg","full"],S1.styles=hr,S1.formAssociated=!0,S1);$([k({type:String})],x.prototype,"id",2),$([k({type:String,reflect:!0})],x.prototype,"name",2),$([k({reflect:!0})],x.prototype,"type",1),$([k({type:String})],x.prototype,"label",2),$([k({type:String})],x.prototype,"description",2),$([k({type:String})],x.prototype,"placeholder",2),$([k({type:String})],x.prototype,"value",2),$([k({type:Boolean,reflect:!0})],x.prototype,"disabled",2),$([k({type:Boolean,reflect:!0})],x.prototype,"readonly",2),$([k({type:Boolean,reflect:!0})],x.prototype,"required",2),$([k({type:Boolean,reflect:!0})],x.prototype,"optional",2),$([k({type:String})],x.prototype,"form",2),$([k({type:String})],x.prototype,"pattern",2),$([k({type:Number})],x.prototype,"maxlength",2),$([k({reflect:!0})],x.prototype,"width",2),$([k({type:Number})],x.prototype,"step",2),$([k({type:Number})],x.prototype,"min",2),$([k({type:Number})],x.prototype,"max",2),$([k({type:Boolean,reflect:!0})],x.prototype,"showError",2),$([k({type:String})],x.prototype,"errorMessage",2),$([cr()],x.prototype,"showPassword",2);let Gr=x;customElements.get("nys-textinput")||customElements.define("nys-textinput",Gr);var Wr=Object.defineProperty,G1=(r,t,e,s)=>{for(var o=void 0,i=r.length-1,n;i>=0;i--)(n=r[i])&&(o=n(t,e,o)||o);return o&&Wr(t,e,o),o};const a2=class a2 extends f{constructor(){super(...arguments),this.trustbarVisible=!1,this.searchDropdownVisible=!1,this.languageVisible=!1,this.isSearchFocused=!1,this.hideTranslate=!1,this.hideSearch=!1,this.languages=[["English",""],["Español","es"],["中文","zh"],["繁體中文","zh-traditional"],["Русский","ru"],["יידיש","yi"],["বাংলা","bn"],["한국어","ko"],["Kreyòl Ayisyen","ht"],["Italiano","it"],["العربية","ar"],["Polski","pl"],["Français","fr"],["اردو","ur"]]}_getNysLogo(){return new DOMParser().parseFromString(Ko,"image/svg+xml").documentElement}_toggleTrustbar(){this.trustbarVisible=!this.trustbarVisible,this.trustbarVisible&&(this.languageVisible=!1,this.searchDropdownVisible=!1)}_toggleLanguageList(){this.languageVisible=!this.languageVisible,this.languageVisible&&(this.trustbarVisible=!1,this.searchDropdownVisible=!1)}_toggleSearchDropdown(){this.searchDropdownVisible=!this.searchDropdownVisible,this.searchDropdownVisible&&(this.trustbarVisible=!1,this.languageVisible=!1)}_handleSearchFocus(){this.isSearchFocused=!0,this.trustbarVisible=!1,this.languageVisible=!1}_handleSearchBlur(){this.isSearchFocused=!1}_handleSearchKeyup(t){var e;if(t.key==="Escape"&&(this._handleSearchBlur(),t.target.blur()),t.key==="Enter"){const s=(e=t.target.value)==null?void 0:e.trim();s!==""&&this._handleSearch(s)}}_handleSearchButton(t){var o,i;const s=(i=((o=this.shadowRoot)==null?void 0:o.getElementById(t)).value)==null?void 0:i.trim();s!==""&&this._handleSearch(s)}_handleSearch(t){window.location.href=`https://search.its.ny.gov/search/search.html?btnG=Search&client=default_frontend&output=xml_no_dtd&proxystylesheet=default_frontend&ulang=en&sort=date:D:L:d1&entqr=3&entqrm=0&wc=200&wc_mc=1&oe=UTF-8&ie=UTF-8&ud=1&site=default_collection&q=${t}+inurl:${window.location.hostname}&site=default_collection`}connectedCallback(){super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback()}render(){return d`
5812
5913
  <header class="nys-unavheader">
5813
5914
  <div class="nys-unavheader__trustbarwrapper">
5814
5915
  <div
@@ -5861,7 +5962,8 @@ ${this.value}</textarea
5861
5962
  id="nys-unavheader__closetrustbar"
5862
5963
  class="nys-unavheader__iconbutton"
5863
5964
  variant="ghost"
5864
- prefixIcon="close"
5965
+ circle
5966
+ icon="close"
5865
5967
  size="sm"
5866
5968
  ariaLabel="Close trustbar"
5867
5969
  .onClick="${()=>this._toggleTrustbar()}"
@@ -5909,12 +6011,19 @@ ${this.value}</textarea
5909
6011
  >
5910
6012
  <nys-button
5911
6013
  variant="ghost"
5912
- prefixIcon="language"
6014
+ circle
6015
+ icon="slotted"
5913
6016
  ariaLabel="Translate"
5914
6017
  id="nys-unavheader__translate"
5915
6018
  class="nys-unavheader__iconbutton"
5916
6019
  .onClick="${()=>this._toggleLanguageList()}"
5917
- ></nys-button>
6020
+ >
6021
+ <nys-icon
6022
+ slot="circle-icon"
6023
+ name="language"
6024
+ size="16"
6025
+ ></nys-icon>
6026
+ </nys-button>
5918
6027
  </div>
5919
6028
  ${this.isSearchFocused?null:d`<div class="nys-unavheader--lg nys-unavheader--xl">
5920
6029
  <nys-button
@@ -5943,12 +6052,19 @@ ${this.value}</textarea
5943
6052
  >
5944
6053
  <nys-button
5945
6054
  variant="ghost"
5946
- prefixIcon="search"
6055
+ circle
6056
+ icon="search"
5947
6057
  ariaLabel="Search"
5948
6058
  id="nys-unavheader__searchbutton"
5949
6059
  class="nys-unavheader__iconbutton"
5950
6060
  .onClick="${()=>this._toggleSearchDropdown()}"
5951
- ></nys-button>
6061
+ >
6062
+ <nys-icon
6063
+ slot="circle-icon"
6064
+ name="search"
6065
+ size="16"
6066
+ ></nys-icon>
6067
+ </nys-button>
5952
6068
  </div>
5953
6069
  <div class="nys-unavheader--lg nys-unavheader--xl">
5954
6070
  <nys-textinput
@@ -5959,7 +6075,8 @@ ${this.value}</textarea
5959
6075
  @focus="${this._handleSearchFocus}"
5960
6076
  @blur="${this._handleSearchBlur}"
5961
6077
  @keyup="${this._handleSearchKeyup}"
5962
- ><nys-button
6078
+ >
6079
+ <nys-button
5963
6080
  slot="endButton"
5964
6081
  type="submit"
5965
6082
  prefixIcon="search"
@@ -5982,7 +6099,8 @@ ${this.value}</textarea
5982
6099
  @focus="${this._handleSearchFocus}"
5983
6100
  @blur="${this._handleSearchBlur}"
5984
6101
  @keyup="${this._handleSearchKeyup}"
5985
- ><nys-button
6102
+ >
6103
+ <nys-button
5986
6104
  slot="endButton"
5987
6105
  type="submit"
5988
6106
  prefixIcon="search"
@@ -5992,7 +6110,7 @@ ${this.value}</textarea
5992
6110
  </div>
5993
6111
  </div>
5994
6112
  </header>
5995
- `}};oe.styles=Nr;let e1=oe;F1([c({type:Boolean})],e1.prototype,"trustbarVisible"),F1([c({type:Boolean})],e1.prototype,"searchDropdownVisible"),F1([c({type:Boolean})],e1.prototype,"languageVisible"),F1([c({type:Boolean})],e1.prototype,"isSearchFocused"),F1([c({type:Boolean})],e1.prototype,"hideTranslate"),F1([c({type:Boolean})],e1.prototype,"hideSearch"),F1([c({type:String,reflect:!0})],e1.prototype,"languages"),customElements.get("nys-unavheader")||customElements.define("nys-unavheader",e1);const qo=b`
6113
+ `}};a2.styles=Yo;let e1=a2;G1([c({type:Boolean})],e1.prototype,"trustbarVisible"),G1([c({type:Boolean})],e1.prototype,"searchDropdownVisible"),G1([c({type:Boolean})],e1.prototype,"languageVisible"),G1([c({type:Boolean})],e1.prototype,"isSearchFocused"),G1([c({type:Boolean})],e1.prototype,"hideTranslate"),G1([c({type:Boolean})],e1.prototype,"hideSearch"),G1([c({type:String,reflect:!0})],e1.prototype,"languages"),customElements.get("nys-unavheader")||customElements.define("nys-unavheader",e1);const Yr=b`
5996
6114
  :host {
5997
6115
  /* Global Header Styles */
5998
6116
  --_nys-globalheader-text-color: var(
@@ -6272,7 +6390,7 @@ ${this.value}</textarea
6272
6390
  --_nys-globalheader-gutter: var(--nys-gutter-xl, 64px);
6273
6391
  }
6274
6392
  }
6275
- `;var jo=Object.defineProperty,Tt=(o,t,e,s)=>{for(var r=void 0,i=o.length-1,n;i>=0;i--)(n=o[i])&&(r=n(t,e,r)||r);return r&&jo(t,e,r),r};const ne=class ne extends f{constructor(){super(...arguments),this.appName="",this.agencyName="",this.homepageLink="",this.slotHasContent=!0,this.isMobileMenuOpen=!1}firstUpdated(){var e;const t=(e=this.shadowRoot)==null?void 0:e.querySelector("slot");t==null||t.addEventListener("slotchange",()=>this._handleSlotChange()),this._handleSlotChange()}async _handleSlotChange(){var i,n,a;const t=(i=this.shadowRoot)==null?void 0:i.querySelector("slot");if(!t)return;const e=t==null?void 0:t.assignedNodes({flatten:!0}).filter(l=>l.nodeType===Node.ELEMENT_NODE);await Promise.resolve(),this.slotHasContent=e.length>0;const s=(n=this.shadowRoot)==null?void 0:n.querySelector(".nys-globalheader__content"),r=(a=this.shadowRoot)==null?void 0:a.querySelector(".nys-globalheader__content-mobile");s&&r&&(s.innerHTML="",r.innerHTML="",e.forEach(l=>{if(l.nodeType===Node.ELEMENT_NODE){const u=l.cloneNode(!0),y=l.cloneNode(!0);["script","iframe","object","embed, img"].forEach(p=>{u.querySelectorAll(p).forEach(C=>C.remove())}),s.appendChild(u),r.appendChild(y),l.remove()}}))}_toggleMobileMenu(){this.isMobileMenuOpen=!this.isMobileMenuOpen}render(){var t,e,s,r,i,n,a,l;return d`
6393
+ `;var Kr=Object.defineProperty,Bt=(r,t,e,s)=>{for(var o=void 0,i=r.length-1,n;i>=0;i--)(n=r[i])&&(o=n(t,e,o)||o);return o&&Kr(t,e,o),o};const l2=class l2 extends f{constructor(){super(...arguments),this.appName="",this.agencyName="",this.homepageLink="",this.slotHasContent=!0,this.isMobileMenuOpen=!1}firstUpdated(){var e;const t=(e=this.shadowRoot)==null?void 0:e.querySelector("slot");t==null||t.addEventListener("slotchange",()=>this._handleSlotChange()),this._handleSlotChange()}async _handleSlotChange(){var i,n,a;const t=(i=this.shadowRoot)==null?void 0:i.querySelector("slot");if(!t)return;const e=t==null?void 0:t.assignedNodes({flatten:!0}).filter(l=>l.nodeType===Node.ELEMENT_NODE);await Promise.resolve(),this.slotHasContent=e.length>0;const s=(n=this.shadowRoot)==null?void 0:n.querySelector(".nys-globalheader__content"),o=(a=this.shadowRoot)==null?void 0:a.querySelector(".nys-globalheader__content-mobile");s&&o&&(s.innerHTML="",o.innerHTML="",e.forEach(l=>{if(l.nodeType===Node.ELEMENT_NODE){const u=l.cloneNode(!0),y=l.cloneNode(!0);["script","iframe","object","embed, img"].forEach(p=>{u.querySelectorAll(p).forEach(C=>C.remove())}),s.appendChild(u),o.appendChild(y),l.remove()}}))}_toggleMobileMenu(){this.isMobileMenuOpen=!this.isMobileMenuOpen}render(){var t,e,s,o,i,n,a,l;return d`
6276
6394
  <header class="nys-globalheader">
6277
6395
  <div class="nys-globalheader__main-container">
6278
6396
  ${this.slotHasContent?d` <div class="nys-globalheader__button-container">
@@ -6314,7 +6432,7 @@ ${this.value}</textarea
6314
6432
  ${this.appName}
6315
6433
  </div> `:""}
6316
6434
  ${((s=this.agencyName)==null?void 0:s.trim().length)>0?d`<div
6317
- class="nys-globalheader__agencyName nys-globalheader__name ${((r=this.appName)==null?void 0:r.trim().length)>0?"":"main"}"
6435
+ class="nys-globalheader__agencyName nys-globalheader__name ${((o=this.appName)==null?void 0:o.trim().length)>0?"":"main"}"
6318
6436
  >
6319
6437
  ${this.agencyName}
6320
6438
  </div> `:""}
@@ -6331,7 +6449,7 @@ ${this.value}</textarea
6331
6449
  <div
6332
6450
  class="nys-globalheader__content-mobile ${this.isMobileMenuOpen?"":"close"}"
6333
6451
  ></div>
6334
- `}};ne.styles=qo;let c1=ne;Tt([c({type:String})],c1.prototype,"appName"),Tt([c({type:String})],c1.prototype,"agencyName"),Tt([c({type:String})],c1.prototype,"homepageLink"),Tt([g1()],c1.prototype,"slotHasContent"),Tt([g1()],c1.prototype,"isMobileMenuOpen"),customElements.get("nys-globalheader")||customElements.define("nys-globalheader",c1);const Fo=b`
6452
+ `}};l2.styles=Yr;let h1=l2;Bt([c({type:String})],h1.prototype,"appName"),Bt([c({type:String})],h1.prototype,"agencyName"),Bt([c({type:String})],h1.prototype,"homepageLink"),Bt([l1()],h1.prototype,"slotHasContent"),Bt([l1()],h1.prototype,"isMobileMenuOpen"),customElements.get("nys-globalheader")||customElements.define("nys-globalheader",h1);const Jr=b`
6335
6453
  :host {
6336
6454
  /* Global Footer Styles */
6337
6455
  --_nys-globalfooter-text-color: var(
@@ -6486,7 +6604,7 @@ ${this.value}</textarea
6486
6604
  --_nys-globalfooter-gutter: var(--nys-gutter-xl, 64px);
6487
6605
  }
6488
6606
  }
6489
- `;var Go=Object.defineProperty,ee=(o,t,e,s)=>{for(var r=void 0,i=o.length-1,n;i>=0;i--)(n=o[i])&&(r=n(t,e,r)||r);return r&&Go(t,e,r),r};const ie=class ie extends f{constructor(){super(...arguments),this.agencyName="",this.homepageLink="",this.slotHasContent=!0}firstUpdated(){var e;const t=(e=this.shadowRoot)==null?void 0:e.querySelector("slot");t==null||t.addEventListener("slotchange",()=>this._handleSlotChange()),this._handleSlotChange()}async _handleSlotChange(){var i,n;const t=(i=this.shadowRoot)==null?void 0:i.querySelector("slot");if(!t)return;const e=t==null?void 0:t.assignedNodes({flatten:!0}).filter(a=>a.nodeType===Node.ELEMENT_NODE);await Promise.resolve(),this.slotHasContent=e.length>0;const s=(n=this.shadowRoot)==null?void 0:n.querySelector(".nys-globalfooter__content"),r=e==null?void 0:e.some(a=>a.tagName==="H4");s&&(s.classList.toggle("columns",r),s.classList.toggle("small",!r),s.innerHTML="",e.forEach(a=>{if(a.nodeType===Node.ELEMENT_NODE){const l=a.cloneNode(!0);["script","iframe","object","embed","img"].forEach(y=>{l.querySelectorAll(y).forEach(h=>h.remove())}),s.appendChild(l),a.remove()}}))}render(){var t,e;return d`
6607
+ `;var Xr=Object.defineProperty,o2=(r,t,e,s)=>{for(var o=void 0,i=r.length-1,n;i>=0;i--)(n=r[i])&&(o=n(t,e,o)||o);return o&&Xr(t,e,o),o};const c2=class c2 extends f{constructor(){super(...arguments),this.agencyName="",this.homepageLink="",this.slotHasContent=!0}firstUpdated(){var e;const t=(e=this.shadowRoot)==null?void 0:e.querySelector("slot");t==null||t.addEventListener("slotchange",()=>this._handleSlotChange()),this._handleSlotChange()}async _handleSlotChange(){var i,n;const t=(i=this.shadowRoot)==null?void 0:i.querySelector("slot");if(!t)return;const e=t==null?void 0:t.assignedNodes({flatten:!0}).filter(a=>a.nodeType===Node.ELEMENT_NODE);await Promise.resolve(),this.slotHasContent=e.length>0;const s=(n=this.shadowRoot)==null?void 0:n.querySelector(".nys-globalfooter__content"),o=e==null?void 0:e.some(a=>a.tagName==="H4");s&&(s.classList.toggle("columns",o),s.classList.toggle("small",!o),s.innerHTML="",e.forEach(a=>{if(a.nodeType===Node.ELEMENT_NODE){const l=a.cloneNode(!0);["script","iframe","object","embed","img"].forEach(y=>{l.querySelectorAll(y).forEach(h=>h.remove())}),s.appendChild(l),a.remove()}}))}render(){var t,e;return d`
6490
6608
  <footer class="nys-globalfooter">
6491
6609
  <div class="nys-globalfooter__main-container">
6492
6610
  ${(t=this.homepageLink)!=null&&t.trim()?d`<a href=${(e=this.homepageLink)==null?void 0:e.trim()}>
@@ -6500,7 +6618,7 @@ ${this.value}</textarea
6500
6618
  </div>`:""}
6501
6619
  </div>
6502
6620
  </footer>
6503
- `}};ie.styles=Fo;let G1=ie;ee([c({type:String})],G1.prototype,"agencyName"),ee([c({type:String})],G1.prototype,"homepageLink"),ee([g1()],G1.prototype,"slotHasContent"),customElements.get("nys-globalfooter")||customElements.define("nys-globalfooter",G1);const Wo=b`
6621
+ `}};c2.styles=Jr;let W1=c2;o2([c({type:String})],W1.prototype,"agencyName"),o2([c({type:String})],W1.prototype,"homepageLink"),o2([l1()],W1.prototype,"slotHasContent"),customElements.get("nys-globalfooter")||customElements.define("nys-globalfooter",W1);const Qr=b`
6504
6622
  :host {
6505
6623
  /* Global Footer Styles */
6506
6624
  --_nys-unavfooter-link-color: var(
@@ -6656,7 +6774,7 @@ ${this.value}</textarea
6656
6774
  --_nys-unavfooter-gutter: var(--nys-gutter-xl, 64px);
6657
6775
  }
6658
6776
  }
6659
- `,Yo=`<svg xmlns="http://www.w3.org/2000/svg" width="91" height="55" viewBox="0 0 91 55" fill="none">
6777
+ `,tn=`<svg xmlns="http://www.w3.org/2000/svg" width="91" height="55" viewBox="0 0 91 55" fill="none">
6660
6778
  <path d="M55.1158 7.50499L58.2905 12.6494V7.5189C58.2905 7.5189 58.6487 7.26356 59.5098 7.26356C60.3708 7.26356 60.7378 7.5189 60.7378 7.5189V16.4327C60.7378 16.4327 60.3942 16.689 59.5215 16.689C58.6487 16.689 58.3295 16.4605 58.3295 16.4605L55.1421 11.3171V16.4337C55.1421 16.4337 54.7848 16.69 53.9111 16.69C53.0374 16.69 52.7065 16.4337 52.7065 16.4337V7.51989C52.7065 7.51989 53.0384 7.26456 53.9248 7.26456C54.8112 7.26456 55.1148 7.50697 55.1148 7.50697L55.1158 7.50499Z" fill="white"/>
6661
6779
  <path d="M67.2209 12.5948H64.9063V14.8709H68.2538C68.2538 14.8709 68.5047 15.1531 68.5047 15.772C68.5047 16.391 68.2538 16.688 68.2538 16.688H62.4589V7.26257H67.9892C67.9892 7.26257 68.2538 7.54572 68.2538 8.17859C68.2538 8.81146 67.9892 9.09362 67.9892 9.09362H64.9063V10.7637H67.2209C67.2209 10.7637 67.4728 11.0598 67.4728 11.6787C67.4728 12.2977 67.2209 12.5948 67.2209 12.5948Z" fill="white"/>
6662
6780
  <path d="M71.4802 16.4327L68.9791 7.5189C68.9791 7.5189 69.3491 7.26356 70.2101 7.26356C71.0711 7.26356 71.4275 7.5189 71.4275 7.5189L72.6839 12.0434C72.7766 12.3802 72.8166 12.6365 72.8557 12.7845C72.8557 12.7428 72.9221 12.3663 73.0011 12.0573L74.0984 7.5189C74.0984 7.5189 74.5211 7.26356 75.1176 7.26356C75.7141 7.26356 76.084 7.5189 76.084 7.5189L77.3004 12.7845C77.3004 12.6623 77.3795 12.3255 77.4586 12.0573L78.756 7.5189C78.7686 7.5189 79.1132 7.26356 79.9596 7.26356C80.806 7.26356 81.1897 7.5189 81.1897 7.5189L78.6496 16.4327C78.6496 16.4327 78.2922 16.6751 77.4859 16.689C76.5468 16.689 76.2158 16.4327 76.2158 16.4327L75.223 12.2987C75.1449 11.9887 75.0902 11.6529 75.0785 11.5844L74.9184 12.2987L73.9266 16.4327C73.9266 16.4327 73.583 16.689 72.7092 16.689C71.8355 16.689 71.4802 16.4327 71.4802 16.4327Z" fill="white"/>
@@ -6672,7 +6790,7 @@ ${this.value}</textarea
6672
6790
  <path d="M51.7107 54.9999C51.577 54.9999 51.4335 54.974 51.2939 54.8965C51.085 54.7803 50.9395 54.5876 50.8858 54.3551C50.8233 54.0868 50.8936 53.7868 51.082 53.5116L51.1426 53.4202C51.2041 53.3268 51.2685 53.2354 51.3407 53.1519C51.4218 53.0595 51.5047 52.995 51.5741 52.9493C51.5243 52.6691 51.5418 52.4267 51.5682 52.2061C51.5877 52.0233 51.6346 51.8683 51.6726 51.7451C51.6892 51.6925 51.7058 51.6388 51.7185 51.5812C51.8201 51.145 51.8855 50.7397 51.9206 50.3453C51.9528 49.9916 51.947 49.9846 51.8864 49.9061C51.7 49.6707 51.3847 49.5018 51.0498 49.3229C50.8878 49.2365 50.7286 49.1491 50.5754 49.0557C49.607 48.4536 48.6376 47.8505 47.6701 47.2465L47.3294 47.0339C47.2513 46.9862 47.1147 46.9156 46.9516 46.8282C45.8817 46.2659 45.172 45.8526 45.0539 45.2595C45.0363 45.173 44.9465 44.9644 44.884 44.864C44.8411 44.8611 44.7307 44.8521 44.6546 44.8471C44.3032 44.8183 43.7711 44.7726 43.3484 44.3196C43.2635 44.2272 43.1786 44.1408 43.1005 44.0583C42.5098 43.4443 42.0003 42.9148 41.9329 41.5993C41.9241 41.4275 41.9251 41.2506 41.928 41.0728C41.9339 40.5283 41.927 40.1836 41.7103 39.962C41.6078 39.8567 41.435 39.7862 41.2349 39.7037C40.9889 39.6034 40.7097 39.4881 40.45 39.2686C40.37 39.2 40.2792 39.1007 40.1776 38.9854C40.0712 38.8602 39.9082 38.6724 39.7969 38.6337C38.974 38.3436 37.986 38.3178 36.96 38.3178L3.07245 38.2909C2.85964 38.2909 2.66927 38.3138 2.48477 38.3347C2.07378 38.3823 1.60812 38.437 1.2313 38.0962C0.866192 37.7664 0.815429 37.2607 0.814452 36.8076L0.8125 34.3993C0.8125 34.2722 0.847644 34.147 0.913051 34.0387C1.22544 33.529 1.83265 33.2558 2.3686 33.0144C2.56872 32.924 2.77666 32.8316 2.88795 32.7571C3.17593 32.5623 3.43561 32.302 3.7109 32.0248C3.91688 31.8182 4.13068 31.6046 4.36887 31.4059C4.69786 31.1317 5.07078 30.931 5.43296 30.7372C5.74535 30.5703 6.03821 30.4124 6.24127 30.2395C6.38575 30.1173 6.49216 29.9146 6.61906 29.6792C6.75476 29.4238 6.90998 29.1337 7.15208 28.8804C7.41273 28.6081 7.7427 28.4194 8.03263 28.2535C8.69744 27.871 8.68182 27.8322 8.57736 27.5769C8.52855 27.4577 8.48072 27.3553 8.43972 27.2639C8.24447 26.8357 8.07754 26.4681 8.19078 25.7051C8.2025 25.6306 8.21616 25.5521 8.22983 25.4706C8.25619 25.3325 8.30305 25.0772 8.27571 25.0037C8.27571 25.0037 8.26204 24.9927 8.23471 24.9778C8.21128 24.9659 8.12928 24.9669 8.06875 24.9679C7.87448 24.9659 7.51914 24.9768 7.2497 24.6689C6.98124 24.3629 6.99686 23.9555 7.03982 23.6356C7.08179 23.3127 7.06032 23.1051 7.03982 22.9223C6.95684 22.1453 7.21358 21.7817 8.10097 21.424C10.7524 20.351 12.901 19.9884 14.8613 20.2805C14.9775 20.2974 15.1356 20.2656 15.3182 20.2269C15.5944 20.1702 15.9351 20.1017 16.312 20.1752L18.3952 20.5766C19.2475 20.7415 19.6653 20.9054 20.3047 21.4995C20.6327 21.8046 20.7655 21.7718 21.3327 21.5661C21.6168 21.4638 21.9399 21.3485 22.3323 21.2949C22.9727 21.2084 23.5731 21.2661 24.153 21.3227C24.4136 21.3475 24.6762 21.3734 24.9408 21.3843C25.2356 21.3952 25.6085 21.2561 25.9717 21.121C26.1318 21.0614 26.2889 21.0028 26.4412 20.9541C26.78 20.8468 27.0973 20.7991 27.4038 20.7514C27.5551 20.7266 27.7064 20.7037 27.8607 20.6729C27.8714 20.6531 27.8821 20.6332 27.8939 20.6113C27.9417 20.5249 27.9944 20.4345 28.0598 20.3411C28.3419 19.9497 28.7471 19.7003 29.0722 19.4966L29.2078 19.4122C29.5564 19.1916 29.8629 18.9879 30.105 18.7386C30.5423 18.2796 31.1232 18.3114 31.5108 18.3312C31.6455 18.3392 31.8495 18.3481 31.91 18.3223C32.1678 18.207 31.9413 17.3993 31.8065 16.9165C31.7119 16.5777 31.6299 16.2846 31.6133 16.0183C31.5664 15.2642 31.9764 14.7317 32.3064 14.3045C32.5651 13.9687 32.7213 13.7481 32.7164 13.5355C32.7164 13.4948 32.7027 13.4382 32.6851 13.3845C32.4587 13.4948 32.0955 13.6369 31.6796 13.4421C31.0129 13.1302 30.6468 12.0264 30.8508 11.3985C31.0197 10.8779 31.54 10.5421 31.9198 10.2957L32.0565 10.2053C32.3806 9.98471 32.7242 9.79792 33.0542 9.6181C33.5159 9.36873 33.9513 9.13227 34.2949 8.82726C34.4404 8.69711 34.5761 8.56994 34.7089 8.44376C35.0076 8.1626 35.3161 7.8715 35.6792 7.61319C35.7056 7.5188 35.728 7.34096 35.7437 7.22571C35.7729 7.00714 35.8022 6.78062 35.8803 6.5849C36.2513 5.64304 37.1592 4.90884 37.9597 4.25908C38.2252 4.04448 38.4771 3.84081 38.6743 3.65602C38.7992 3.53878 38.9222 3.42055 39.0452 3.30332C39.6388 2.73701 40.2509 2.15084 40.9967 1.68289C41.601 1.30536 42.3898 0.833439 43.1249 0.552274C44.0972 0.1807 44.5579 0.208518 45.4766 0.262168L45.6474 0.27111C47.3607 0.371455 49.1384 0.32476 50.8575 0.281045C51.7205 0.258194 52.5796 0.235343 53.4347 0.230376C53.6651 0.230376 54.0156 0.185667 54.3836 0.138972C55.6078 -0.0140291 56.994 -0.188888 57.7818 0.503592C58.1118 0.792705 58.2924 1.19806 58.3031 1.67594C58.311 2.05248 58.1567 2.33464 58.0435 2.54129C58.0064 2.60686 57.9527 2.7082 57.9458 2.74297C57.9488 2.73205 57.9849 2.78768 58.0103 2.82742C58.1362 3.01718 58.3686 3.37088 58.2748 3.89843C58.2397 4.10111 58.1811 4.3167 58.1216 4.53528C58.0464 4.81147 57.9693 5.09761 57.9624 5.31419C57.9498 5.69073 57.6335 5.99376 57.2703 5.97289C56.9013 5.95998 56.6104 5.64603 56.6231 5.26849C56.6367 4.89195 56.7392 4.50944 56.831 4.17264C56.8788 3.9948 56.9276 3.82094 56.9569 3.65502C56.9481 3.65502 56.9218 3.62323 56.8993 3.58746C56.791 3.42254 56.6065 3.14535 56.6065 2.73701C56.6065 2.36345 56.7607 2.08328 56.873 1.87862C56.9072 1.81702 56.9589 1.72462 56.9657 1.69084C56.9608 1.58354 56.9267 1.55274 56.9072 1.53685C56.5694 1.23979 55.2544 1.40372 54.5496 1.49313C54.1386 1.5438 53.752 1.59348 53.4435 1.59547C52.5971 1.60043 51.7439 1.62229 50.8907 1.64315C49.1442 1.68886 47.3382 1.73654 45.5722 1.63421L45.3985 1.62328C44.5345 1.57162 44.3022 1.55871 43.5964 1.82894C42.9618 2.07235 42.2101 2.5244 41.7006 2.84431C41.0699 3.23973 40.533 3.75338 39.9648 4.29683C39.8379 4.41804 39.712 4.53925 39.5831 4.65947C39.3479 4.87804 39.0794 5.09661 38.7953 5.32611C38.1237 5.87056 37.3642 6.48555 37.1231 7.09457C37.1065 7.14425 37.085 7.30221 37.0713 7.40753C37.0147 7.84666 36.9424 8.3931 36.5041 8.69016C36.1927 8.90277 35.9145 9.16704 35.6187 9.44523C35.4771 9.57935 35.3317 9.71546 35.1774 9.85257C34.7186 10.2629 34.1924 10.548 33.6838 10.8222C33.3675 10.9931 33.0698 11.1541 32.8033 11.3369C32.7554 11.3707 32.6978 11.4064 32.6373 11.4462C32.5114 11.5276 32.2332 11.7065 32.1346 11.8217C32.1424 11.8992 32.1726 12.0115 32.2117 12.1009C32.3757 12.0214 32.6041 11.924 32.8804 11.9459C33.6633 12.0135 34.0401 12.8937 34.0558 13.4988C34.0743 14.2191 33.677 14.7337 33.3587 15.145C33.0971 15.4868 32.9351 15.7074 32.9487 15.9319C32.9565 16.0511 33.0288 16.3114 33.0932 16.5419C33.3314 17.3933 33.7746 18.978 32.4479 19.5701C32.0965 19.7281 31.7314 19.7082 31.4375 19.6933C31.3126 19.6864 31.1046 19.6764 31.047 19.7023C30.7171 20.051 30.3227 20.3113 29.9166 20.5706L29.7692 20.663C29.5212 20.816 29.2654 20.976 29.1405 21.1488C29.1083 21.1935 29.0819 21.2412 29.0585 21.2859C28.9345 21.5085 28.7256 21.884 28.174 21.9993C27.9827 22.04 27.7943 22.0708 27.6059 22.0996C27.3364 22.1414 27.0807 22.1811 26.8386 22.2566C26.7087 22.2993 26.5711 22.35 26.4334 22.4017C25.9697 22.5745 25.4435 22.7732 24.8871 22.7474C24.5981 22.7355 24.3131 22.7087 24.027 22.6808C23.4989 22.6282 22.9981 22.5805 22.511 22.6481C22.2572 22.6828 22.0258 22.7653 21.7817 22.8537C21.1716 23.0733 20.3369 23.3733 19.4046 22.508C18.9927 22.1265 18.8267 22.049 18.1473 21.9178L16.065 21.5164C15.942 21.4936 15.775 21.5264 15.5818 21.5651C15.3289 21.6168 15.0136 21.6784 14.6719 21.6297C12.9508 21.3724 11.0218 21.7112 8.59689 22.6928C8.49829 22.7325 8.42703 22.7643 8.37431 22.7891C8.39579 22.9779 8.42312 23.2491 8.39091 23.6217C8.53343 23.6416 8.69353 23.6843 8.86047 23.7737C9.81228 24.2834 9.63461 25.256 9.5487 25.724C9.53601 25.7876 9.52528 25.8511 9.51551 25.9127C9.4628 26.2694 9.49501 26.3429 9.65511 26.6917C9.70392 26.798 9.75664 26.9162 9.81326 27.0543C10.3941 28.4681 9.28415 29.1039 8.68865 29.4447C8.46705 29.5719 8.23764 29.701 8.11268 29.8331C7.99944 29.9524 7.89987 30.1372 7.79541 30.3329C7.62945 30.6448 7.44104 30.9975 7.10522 31.2847C6.79088 31.5529 6.41894 31.7536 6.05871 31.9454C5.74144 32.1153 5.44077 32.2762 5.21623 32.464C5.02782 32.6219 4.84527 32.8048 4.65295 32.9985C4.34252 33.3085 4.02524 33.6294 3.62499 33.8976C3.41901 34.0347 3.17203 34.147 2.9104 34.2652C2.69661 34.3606 2.33443 34.5225 2.14992 34.6626L2.15383 36.8096C2.15383 36.8881 2.15578 36.9527 2.15871 37.0023C2.21533 36.9974 2.27586 36.9904 2.32662 36.9835C2.5287 36.9606 2.77959 36.9308 3.06952 36.9308L36.9581 36.9566C38.0573 36.9566 39.2141 36.9884 40.2304 37.3471C40.6755 37.5021 40.9801 37.8538 41.1812 38.0853C41.2281 38.1399 41.2681 38.1896 41.3052 38.2234C41.4018 38.3048 41.5551 38.3674 41.7328 38.441C42.0129 38.5562 42.3615 38.7003 42.6572 39.0043C43.2811 39.6411 43.2713 40.4469 43.2645 41.0927C43.2606 41.2417 43.2606 41.3897 43.2664 41.5328C43.3084 42.3326 43.5261 42.5581 44.0532 43.1055C44.1372 43.1929 44.2251 43.2853 44.3188 43.3847C44.3842 43.4542 44.5287 43.4701 44.761 43.491C45.0412 43.5138 45.3897 43.5417 45.6953 43.7751C46.0291 44.0275 46.2546 44.5888 46.3376 44.8809C46.5455 45.0846 47.2777 45.4711 47.5647 45.6211C47.7639 45.7264 47.9298 45.8158 48.0265 45.8754L48.3672 46.088C49.3346 46.6891 50.3011 47.2922 51.2705 47.8943C51.3993 47.9727 51.533 48.0463 51.6707 48.1188C52.0924 48.3443 52.5698 48.6006 52.9291 49.0567C53.3215 49.5544 53.2942 50.0045 53.259 50.4029C53.3156 50.2936 53.3781 50.1893 53.4513 50.0879C53.5841 49.8982 53.7393 49.7541 53.877 49.626C54.0136 49.4998 54.1073 49.4104 54.1396 49.3388C54.1132 49.2772 54.0527 49.1739 54.0117 49.1034C53.8487 48.8232 53.6271 48.4387 53.7315 47.9857C53.7725 47.8108 53.8789 47.6588 54.0283 47.5634C54.0849 47.5276 54.205 47.4591 54.3631 47.3717C54.5818 47.2495 55.1373 46.9405 55.475 46.71C54.9723 45.5913 55.1392 44.2163 55.2886 42.9843C55.3345 42.6038 55.3784 42.2451 55.3989 41.9222C55.4204 41.5467 55.7337 41.2606 56.1076 41.2834C56.4776 41.3063 56.7588 41.6301 56.7353 42.0057C56.7148 42.3693 56.667 42.7498 56.6182 43.1522C56.4776 44.3166 56.3165 45.637 56.833 46.3911C56.954 46.5669 56.994 46.7895 56.9452 47.0021C56.8417 47.4502 56.3898 47.7879 55.1958 48.4606C55.352 48.7308 55.5395 49.0904 55.4731 49.5167C55.4623 49.5812 55.4487 49.6428 55.4321 49.7015C55.766 49.5793 56.1154 49.464 56.4845 49.3577C57.8775 48.9543 59.3409 48.7745 61.225 48.7745C62.0587 48.7745 62.8006 48.5053 63.5874 48.2211C64.2103 47.9946 64.8546 47.7621 65.576 47.6508C66.1852 47.5555 66.5005 47.7562 66.7728 47.9688C66.8636 48.0403 66.93 48.09 67.0442 48.1357C67.3625 48.2619 67.7325 48.2211 68.1601 48.1754C68.5925 48.1277 69.0836 48.0731 69.5844 48.2042C69.8821 48.2837 70.09 48.5579 70.0861 48.8709C70.0744 50.0571 68.5076 50.5459 67.7549 50.7814L67.0384 51.0099C66.4985 51.1848 65.9567 51.3586 65.41 51.5176C65.1631 51.5881 64.918 51.6587 64.672 51.7223C64.3889 51.7948 64.099 51.9597 63.7944 52.1316C63.481 52.3094 63.1579 52.4922 62.786 52.6174C62.1426 52.83 61.4837 52.9413 60.6471 52.9761C60.4069 52.987 60.1746 53.0943 59.9295 53.2056C59.5674 53.3735 59.1154 53.5801 58.6107 53.4132C58.3949 53.3864 57.5534 53.6775 57.1502 53.8196C56.832 53.9289 56.5577 54.0242 56.3419 54.0759C55.598 54.2528 54.8415 54.3918 54.1103 54.527L53.5968 54.6223C53.1516 54.7058 52.7035 54.7922 52.2613 54.8926L52.2076 54.9085C52.0797 54.9482 51.9021 55.0038 51.7078 55.0038L51.7107 54.9999ZM53.0735 51.6746C53.0569 51.7471 53.0403 51.8196 53.0237 51.8941C53.0032 51.9806 52.9788 52.064 52.9544 52.1455C52.9281 52.2359 52.9066 52.3055 52.8988 52.3651C52.8793 52.5379 52.8773 52.6313 52.8978 52.7247C52.9495 52.9791 52.9388 53.1907 52.8949 53.3645C53.0482 53.3347 53.2024 53.3049 53.3566 53.2751L53.875 53.1808C54.5896 53.0486 55.3296 52.9125 56.0412 52.7436C56.1906 52.7078 56.4483 52.6194 56.7217 52.525C57.7721 52.1604 58.4994 51.9359 59.0295 52.1127C59.0646 52.1058 59.2559 52.0173 59.3828 51.9597C59.7001 51.8137 60.0945 51.6328 60.5924 51.611C61.3021 51.5812 61.8498 51.4908 62.372 51.3169C62.622 51.2345 62.8748 51.0914 63.1442 50.9374C63.5123 50.7298 63.892 50.5142 64.3469 50.3969C64.5793 50.3373 64.8136 50.2707 65.0459 50.2042C65.5789 50.0482 66.11 49.8773 66.6362 49.7064L67.1253 49.5514C66.9388 49.5246 66.7504 49.4779 66.56 49.4014C66.2672 49.2862 66.0836 49.1411 65.9616 49.0457C65.9313 49.0229 65.906 48.999 65.8757 48.9812C65.8737 48.9851 65.8405 48.9851 65.7781 48.9941C65.1845 49.0855 64.6281 49.2862 64.0394 49.4998C63.1794 49.8107 62.293 50.1326 61.2279 50.1326C59.4717 50.1326 58.1235 50.2966 56.8535 50.6642C55.7142 50.992 54.7868 51.3984 54.0166 51.9031C53.7901 52.0521 53.5001 52.0481 53.2776 51.8951C53.1917 51.8365 53.1214 51.76 53.0735 51.6716V51.6746Z" fill="white"/>
6673
6791
  <path d="M67.6348 51.8019C67.6348 51.8019 67.6173 51.782 67.6173 51.7303C67.6173 51.6787 67.6348 51.6588 67.6348 51.6588H68.5564C68.5564 51.6588 68.5749 51.6806 68.5749 51.7303C68.5749 51.78 68.5564 51.8019 68.5564 51.8019H68.1932V52.9205C68.1932 52.9205 68.1659 52.9404 68.0976 52.9404C68.0292 52.9404 67.998 52.9205 67.998 52.9205V51.8019H67.6348Z" fill="white"/>
6674
6792
  <path d="M69.4282 52.8659C69.4135 52.8748 69.3891 52.8858 69.3471 52.8858C69.3178 52.8858 69.2837 52.8798 69.27 52.8659L68.9889 52.1476C68.9723 52.1088 68.9459 52.0323 68.944 52.0214C68.944 52.0264 68.9371 52.1277 68.9332 52.1565L68.8815 52.9205C68.8815 52.9205 68.8561 52.9404 68.7858 52.9404C68.7155 52.9404 68.6862 52.9205 68.6862 52.9205L68.7839 51.6787C68.7839 51.6787 68.8112 51.6588 68.8776 51.6588C68.9518 51.6588 68.9781 51.6787 68.9781 51.6787L69.3042 52.5162L69.3471 52.6533C69.3481 52.6473 69.3774 52.5559 69.392 52.5162L69.7181 51.6787C69.7181 51.6787 69.7464 51.6588 69.8206 51.6588C69.886 51.6588 69.9124 51.6787 69.9124 51.6787L70.01 52.9205C70.01 52.9205 69.9807 52.9404 69.9104 52.9404C69.8401 52.9404 69.8167 52.9205 69.8167 52.9205L69.763 52.1546L69.7523 52.0194C69.7523 52.0194 69.722 52.1148 69.7093 52.1456L69.4282 52.8659Z" fill="white"/>
6675
- </svg>`,ae=class ae extends f{_getNysLogo(){return new DOMParser().parseFromString(Yo,"image/svg+xml").documentElement}render(){return d`
6793
+ </svg>`,h2=class h2 extends f{_getNysLogo(){return new DOMParser().parseFromString(tn,"image/svg+xml").documentElement}render(){return d`
6676
6794
  <footer class="nys-unavfooter">
6677
6795
  <div class="nys-unavfooter__main-container">
6678
6796
  <div class="nys-unavfooter__container_menu">
@@ -6700,5 +6818,5 @@ ${this.value}</textarea
6700
6818
  </div>
6701
6819
  </div>
6702
6820
  </footer>
6703
- `}};ae.styles=Wo;let _2=ae;customElements.get("nys-unavfooter")||customElements.define("nys-unavfooter",_2),_.NysAlert=Ge,_.NysAvatar=We,_.NysButton=Ye,_.NysCheckbox=d5,_.NysCheckboxgroup=h5,_.NysErrorMessage=O1,_.NysGlobalFooter=G1,_.NysGlobalHeader=c1,_.NysIcon=y5,_.NysLabel=m1,_.NysOption=x1,_.NysRadiobutton=C5,_.NysRadiogroup=p5,_.NysSelect=f5,_.NysSkipnav=nt,_.NysTextarea=g5,_.NysTextinput=_5,_.NysToggle=b5,_.NysUnavFooter=_2,_.NysUnavHeader=e1,Object.defineProperty(_,Symbol.toStringTag,{value:"Module"})});
6821
+ `}};h2.styles=Qr;let be=h2;customElements.get("nys-unavfooter")||customElements.define("nys-unavfooter",be),g.NysAlert=K2,g.NysAvatar=J2,g.NysBacktotop=O1,g.NysButton=X2,g.NysCheckbox=p5,g.NysCheckboxgroup=u5,g.NysErrorMessage=Z1,g.NysGlobalFooter=W1,g.NysGlobalHeader=h1,g.NysIcon=C5,g.NysLabel=m1,g.NysOption=x1,g.NysRadiobutton=g5,g.NysRadiogroup=v5,g.NysSelect=_5,g.NysSkipnav=it,g.NysTextarea=m5,g.NysTextinput=x5,g.NysToggle=w5,g.NysUnavFooter=be,g.NysUnavHeader=e1,Object.defineProperty(g,Symbol.toStringTag,{value:"Module"})});
6704
6822
  //# sourceMappingURL=nysds.js.map