@genesislcap/foundation-rapid-cdn 15.15.0 → 15.15.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -88,7 +88,7 @@ function bz(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var o
88
88
  @media only screen and (max-width: 640px) {
89
89
  :host {${e=>e.setGridItemProperties(e.colSmNumber,e.rowSmNumber,e.widthSm,e.heightSm)}}
90
90
  }
91
- </style><slot></slot></template>`;class pX extends qt{setGridItemProperties(e,t,i,o){if(t&&e&&i&&o){return`grid-row: ${0===t||0===o?"auto":`${t} / ${Number(t)+Number(o)}`}; grid-column: ${0===e||0===i?"auto":`${e} / ${Number(e)+Number(i)}`}`}}}Nu([re({attribute:"col-number"})],pX.prototype,"colNumber",void 0),Nu([re({attribute:"col-sm-number"})],pX.prototype,"colSmNumber",void 0),Nu([re({attribute:"col-md-number"})],pX.prototype,"colMdNumber",void 0),Nu([re({attribute:"col-lg-number"})],pX.prototype,"colLgNumber",void 0),Nu([re({attribute:"row-number"})],pX.prototype,"rowNumber",void 0),Nu([re({attribute:"row-sm-number"})],pX.prototype,"rowSmNumber",void 0),Nu([re({attribute:"row-md-number"})],pX.prototype,"rowMdNumber",void 0),Nu([re({attribute:"row-lg-number"})],pX.prototype,"rowLgNumber",void 0),Nu([re({attribute:"width"})],pX.prototype,"width",void 0),Nu([re({attribute:"width-sm"})],pX.prototype,"widthSm",void 0),Nu([re({attribute:"width-md"})],pX.prototype,"widthMd",void 0),Nu([re({attribute:"width-lg"})],pX.prototype,"widthLg",void 0),Nu([re({attribute:"height"})],pX.prototype,"height",void 0),Nu([re({attribute:"height-sm"})],pX.prototype,"heightSm",void 0),Nu([re({attribute:"height-md"})],pX.prototype,"heightMd",void 0),Nu([re({attribute:"height-lg"})],pX.prototype,"heightLg",void 0);const fX=pX.compose(Object.assign({baseName:"grid-layout-item",template:uX,shadowOptions:void 0},{})),mX=(e,t)=>Ds(e,t),gX=(e,t)=>Ce` ${Sh()}`;class vX extends $h{}const bX={delegatesFocus:!0,mode:"open"},yX={nextFlipper:W`<foundation-flipper @click="${e=>e.scrollToNext()}" aria-hidden="${e=>e.flippersHiddenFromAT}"></foundation-flipper>`,previousFlipper:W`<foundation-flipper @click="${e=>e.scrollToPrevious()}" direction="previous" aria-hidden="${e=>e.flippersHiddenFromAT}"></foundation-flipper>`};vX.compose(Object.assign({baseName:"horizontal-scroll",template:mX,styles:gX,shadowOptions:bX},yX));const zX=(e,t)=>Ce` ${QK()} .fa-stack-1x{font-size: 1em}.fa-stack-2x{font-size: 2em}.tooltip-icon{color: var(--accent-foreground-rest)}.error-tooltip{color: var(--error-color)}.tooltip-element{/* Shown as a top-layer popover (see Icon.showTooltip): the top layer escapes ancestor stacking contexts, transforms and overflow clipping, so virtualized grid rows cannot paint over the bubble and no z-index is needed. Placement is inline top/left from the anchor rect, so the UA popover box (inset/margin/border/padding/background) is reset to leave the visible box to ::part(tooltip). No display rule here: the UA sheet hides the popover while closed (an author display rule would override that), and position: fixed blockifies the host while open. */ position: fixed;inset: unset;margin: 0;border: none;padding: 0;background: transparent;color: inherit;overflow: visible;width: 300px;contain: unset;/* The top layer changes painting, not style inheritance: the bubble still inherits text properties from its host context (e.g. AG Grid cells set white-space: nowrap), so reset the ones that would break a multi-line bubble. */ white-space: normal;text-overflow: clip}.tooltip-element::part(tooltip){padding: calc(var(--design-unit) * 4px);background-color: color-mix(in srgb, var(--neutral-layer-4), #000 10%);border: 1px solid var(--neutral-layer-3);text-align: left;color: var(--neutral-foreground-hint);box-shadow: 0 4px 10px rgb(0 0 0 / 35%);font-size: var(--type-ramp-minus-1-font-size)}.tooltip-title{color: var(--neutral-fill-strong-hover);margin: 0}.tooltip-description{margin-top: calc(var(--design-unit) * 2px);margin-bottom: 0;font-size: var(--type-ramp-base-font-size)}.tooltip-second-title-margin{margin-top: calc(var(--design-unit) * 2px)}.tooltip-list-padding{margin: 0;padding: 0 0 0 calc(var(--design-unit) * 4px)}a, a:active, a:visited{color: var(--accent-foreground-rest);text-decoration: none}.warning{background: var(--warning-color);color: #000}.info{margin-top: calc(var(--design-unit) * 2px);padding: 20px;margin-bottom: 20px;height: auto;box-sizing: border-box}`,xX=e=>W`<template><i ${Ie("iElement")}id="${e=>e.tooltipId}" class=${e=>`fa-${e.name} fa-${e.size} fa-${e.variant} ${Jt(["error-tooltip",!(!e.isError||!e.tooltip)],["tooltip-icon",!(e.isError||!e.tooltip)])}`}part=${e=>`icon-${e.name}-${e.size}-${e.variant} i-icon`}><slot></slot></i>${He(e=>e.tooltip,W`<${e}-tooltip ${Ie("tooltipElement")}part="tooltip" class="tooltip-element" popover="manual" delay="0" anchor="${e=>e.tooltipId}">${e=>W` ${e.tooltip} `}</${e}-tooltip>`)}</template>`,CX=W` ${e=>xX($x(e))} `,LX={mode:"open",delegatesFocus:!0},MX={};var wX;!function(e){e.solid="fas",e.regular="far",e.brand="fab"}(wX||(wX={}));class kX extends qt{constructor(){super(...arguments),this.isError=!1,this.tooltipShowTimer=null,this.size="sm",this.variant="solid",this.showTooltip=()=>{const e=this.tooltipElement;e&&null===this.tooltipShowTimer&&!e.matches(":popover-open")&&(this.tooltipShowTimer=window.setTimeout(()=>{this.tooltipShowTimer=null;const e=this.tooltipElement;(null==e?void 0:e.isConnected)&&(e.showPopover(),this.positionTooltip(e))},300))},this.hideTooltip=()=>{var e;null!==this.tooltipShowTimer&&(window.clearTimeout(this.tooltipShowTimer),this.tooltipShowTimer=null),(null===(e=this.tooltipElement)||void 0===e?void 0:e.matches(":popover-open"))&&this.tooltipElement.hidePopover()}}nameChanged(e,t){t&&this.loadIcon()}sizeChanged(e,t){t&&this.loadIcon()}variantChanged(e,t){t&&this.loadIcon()}connectedCallback(){var e,t,i,o;super.connectedCallback(),this.loadIcon(),null===(e=this.iElement)||void 0===e||e.addEventListener("mouseover",this.showTooltip,{passive:!0}),null===(t=this.iElement)||void 0===t||t.addEventListener("focusin",this.showTooltip,{passive:!0}),null===(i=this.iElement)||void 0===i||i.addEventListener("mouseout",this.hideTooltip,{passive:!0}),null===(o=this.iElement)||void 0===o||o.addEventListener("focusout",this.hideTooltip,{passive:!0})}disconnectedCallback(){super.disconnectedCallback(),this.iElement.replaceChildren(),this.iElement.removeEventListener("mouseover",this.showTooltip),this.iElement.removeEventListener("focusin",this.showTooltip),this.iElement.removeEventListener("mouseout",this.hideTooltip),this.iElement.removeEventListener("focusout",this.hideTooltip),this.hideTooltip()}positionTooltip(e){const t=this.iElement.getBoundingClientRect(),i=e.getBoundingClientRect(),o=Math.max(i.width,e.scrollWidth),c=Math.max(i.height,e.scrollHeight);let s=t.right;s+o>window.innerWidth-8&&(s=Math.max(8,t.left-o));const n=Math.max(8,window.innerHeight-c-8),a=Math.min(Math.max(t.top,8),n);e.style.top=`${a}px`,e.style.left=`${s}px`}getDefaultTooltipConfig(){this.name||(this.name="question-circle",this.size="1x",this.variant="regular")}loadIcon(){if(!this.iElement)return;this.tooltip&&(this.tooltipId||(this.tooltipId=this.uuid.createId()),this.getDefaultTooltipConfig());const e=B$({prefix:wX[this.variant],iconName:this.name}),t=U$(e);t&&t.node&&(this.iElement.innerHTML="",Array.from(t.node).map(e=>this.iElement.appendChild(e)))}}Nu([g],kX.prototype,"iElement",void 0),Nu([Qv],kX.prototype,"uuid",void 0),Nu([re({attribute:"tooltip-id"})],kX.prototype,"tooltipId",void 0),Nu([re],kX.prototype,"tooltip",void 0),Nu([re({attribute:"error",mode:"boolean"})],kX.prototype,"isError",void 0),Nu([re],kX.prototype,"name",void 0),Nu([re],kX.prototype,"size",void 0),Nu([re],kX.prototype,"variant",void 0),kX.compose(Object.assign({baseName:"icon",template:CX,styles:zX,shadowOptions:LX},MX));const SX=(e,t)=>Jc(),$X=(e,t)=>Ce` ${lh(e)} :host{display: flex;flex-direction: column;max-width: fit-content;padding: calc(var(--design-unit) * 1px) 0;border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);border-radius: calc(var(--control-corner-radius) * 1px)}`;class EX extends Nh{}const NX=void 0,AX={};EX.compose(Object.assign({baseName:"listbox",template:SX,styles:$X,shadowOptions:NX},AX));const OX=(e,t)=>Qc(0,t),TX=(e,t)=>Ce` ${Eh()}`;class RX extends Po{}const IX=void 0,DX={};RX.compose(Object.assign({baseName:"option",template:OX,styles:TX,shadowOptions:IX},DX));const FX=(e,t)=>gs(),_X=(e,t)=>Ce` ${Oh()}`;class HX extends Th{}const PX=void 0,VX={};HX.compose(Object.assign({baseName:"menu",template:FX,styles:_X,shadowOptions:PX},VX));const BX=(e,t)=>ms(e,t),UX=(e,t)=>Ce` ${Ah()} :host, :host(.indent-0[aria-haspopup='menu']){align-content: center;min-height: calc(var(--design-unit) * 8px)}.expand-collapse-glyph{max-height: calc(var(--design-unit) * 4px);max-width: calc(var(--design-unit) * 4px);height: auto;width: auto}`;class jX extends fs{connectedCallback(){super.connectedCallback(),this.addEventListener("click",()=>this.$emit("onMenuClick"))}}const qX=void 0,GX={expandCollapseGlyph:'\n <svg\n class="expand-collapse-glyph"\n part="expand-collapse-glyph"\n viewBox="0 0 16 16"\n xmlns="http://www.w3.org/2000/svg">\n <path\n d="M4.023 15.273L11.29 8 4.023.727l.704-.704L12.71 8l-7.984 7.977-.704-.704z"\n />\n </svg>\n '};jX.compose(Object.assign({baseName:"menu-item",template:BX,styles:UX,shadowOptions:qX},GX));const WX=Ce` ${iZ}`,YX=W` ${cZ} `,KX={mode:"open",delegatesFocus:!0},ZX={};class QX extends MZ{show(){var e,t;null===(e=this.onShowCallback)||void 0===e||e.call(this),null===(t=this.mainElement)||void 0===t||t.showModal()}}QX.compose(Object.assign({baseName:"modal",template:YX,styles:WX,shadowOptions:KX},ZX));const XX=(e,t)=>W`<template class="${e=>[e.readOnly?"readonly":"",e.prefix?"has-prefix":"",e.suffix?"has-suffix":""].filter(Boolean).join(" ")}"><label part="label" for="${e=>e.id?e.id:"control"}" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label-hidden"}"><slot ${Ke("defaultSlottedNodes")}></slot></label><div class="root" part="root">${et(0,t)}<div class="control-field">${He(e=>e.prefix,W`<span class="prefix" part="prefix" id="${e=>`${e.id||"control"}-prefix`}" ?aria-hidden="${e=>e.hideAffixFromScreenReader}">${e=>e.prefix}</span>`)}<input class="control" part="control" name="${e=>e.name}" autocomplete="${e=>e.autocomplete}" id="${e=>e.id?e.id:"control"}" @input="${e=>e.handleTextInput()}" @change="${e=>e.handleChange()}" @keydown="${(e,t)=>e.handleKeyDown(t.event)}" @blur="${(e,t)=>e.handleBlur()}" ?autofocus="${e=>e.autofocus}" ?disabled="${e=>e.disabled}" list="${e=>e.list}" maxlength="${e=>e.maxlength}" minlength="${e=>e.minlength}" placeholder="${e=>e.placeholder}" ?readonly="${e=>e.readOnly}" ?required="${e=>e.required}" size="${e=>e.size}" type="text" inputmode="numeric" min="${e=>e.min}" max="${e=>e.max}" step="${e=>e.step}" aria-atomic="${e=>e.ariaAtomic}" aria-busy="${e=>e.ariaBusy}" aria-controls="${e=>e.ariaControls}" aria-current="${e=>e.ariaCurrent}" aria-describedby="${e=>e.controlAriaDescribedby}" aria-details="${e=>e.ariaDetails}" aria-disabled="${e=>e.ariaDisabled}" aria-errormessage="${e=>e.ariaErrormessage}" aria-flowto="${e=>e.ariaFlowto}" aria-haspopup="${e=>e.ariaHaspopup}" aria-hidden="${e=>e.ariaHidden}" aria-invalid="${e=>e.ariaInvalid}" aria-keyshortcuts="${e=>e.ariaKeyshortcuts}" aria-label="${e=>e.ariaLabel}" aria-labelledby="${e=>e.ariaLabelledby}" aria-live="${e=>e.ariaLive}" aria-owns="${e=>e.ariaOwns}" aria-relevant="${e=>e.ariaRelevant}" aria-roledescription="${e=>e.ariaRoledescription}" ${Ie("control")}/>${He(e=>e.suffix,W`<span class="suffix" part="suffix" id="${e=>`${e.id||"control"}-suffix`}" ?aria-hidden="${e=>e.hideAffixFromScreenReader}">${e=>e.suffix}</span>`)}</div>${He(e=>!e.hideStep&&!e.readOnly&&!e.disabled,W`<div class="controls" part="controls"><div class="step-up" part="step-up" @click="${e=>e.stepUp()}"><slot name="step-up-glyph">${t.stepUpGlyph||""}</slot></div><div class="step-down" part="step-down" @click="${e=>e.stepDown()}"><slot name="step-down-glyph">${t.stepDownGlyph||""}</slot></div></div>`)} ${Je(0,t)}</div></template>`,JX=12345.6,eJ=9,tJ=(e,t)=>{var i;return{decimalSeparator:(null===(i=new Intl.NumberFormat(t).formatToParts(JX).find(e=>"decimal"===e.type))||void 0===i?void 0:i.value)||"."}},iJ=(e,t)=>{var i,o,c;const s=new Intl.NumberFormat(t).formatToParts(JX),n=null===(i=s.find(e=>"group"===e.type))||void 0===i?void 0:i.value,a=null!==(c=null===(o=s.find(e=>"decimal"===e.type))||void 0===o?void 0:o.value)&&void 0!==c?c:".";let r=e.trim();return n&&(r=r.split(n).join("")),"."!==a&&(r=r.replace(a,".")),r},oJ=(e,t)=>{var i,o;const c=null!==(o=null===(i=new Intl.NumberFormat(t).formatToParts(JX).find(e=>"decimal"===e.type))||void 0===i?void 0:i.value)&&void 0!==o?o:".";let s=0;for(const t of e)t===c&&(s+=1);return s},cJ=(e,t)=>oJ(e,t)>1,sJ=(e,t,i,o)=>((e,t,i)=>{const o=iJ(String(null!=e?e:""),t);return!(!o||!/^-?\d+$/.test(o))&&o.replace(/^-/,"").length>=i})(e,i,o)&&oJ(t,i)>0,nJ=(e,t,i)=>{const o=e.startsWith("-"),c=o?e.slice(1):e,s=c.indexOf("."),n=-1===s?c:c.slice(0,s);let a=-1===s?"":c.slice(s+1);const r=i.minimumFractionDigits,l=i.maximumFractionDigits;void 0!==l&&a.length>l&&(a=a.slice(0,l)),void 0!==r&&a.length<r&&(a=a.padEnd(r,"0"));const d=((e,t)=>{var i,o;const c=e.startsWith("-"),s=c?e.slice(1):e,n=null!==(o=null===(i=new Intl.NumberFormat(t).formatToParts(1234567).find(e=>"group"===e.type))||void 0===i?void 0:i.value)&&void 0!==o?o:",",a=[];let r=s;for(;r.length>3;)a.unshift(r.slice(-3)),r=r.slice(0,-3);a.unshift(r);const l=a.join(n);return c?`-${l}`:l})(o?`-${n}`:n,t),{decimalSeparator:h}=tJ(0,t);return-1===s?void 0!==r&&r>0?`${d}${h}${"0".repeat(r)}`:d:0===l?d:`${d}${h}${a}`},aJ=(e,t)=>{const{decimalSeparator:i}=tJ(0,t);return"."===i?e:e.replace(/\./g,i)},rJ=(e,t,i)=>""===e?"":(e=>{const t=e.replace(/^-/,""),i=t.indexOf(".");return(-1===i?t:t.slice(0,i)).length>15})(e)&&/^-?\d+(\.\d*)?$/.test(e)?nJ(e,t,i):Intl.NumberFormat(t,i).format(Number(e)),lJ=(e,t)=>{if(!e||""===e)return e;const i=Number(e);if(isNaN(i))return e;const o=e.indexOf("."),c=-1!==o,s=c?e.length-o-1:0,n=t.minimumFractionDigits,a=t.maximumFractionDigits;if(s>=n&&s<=a)return e;let r=e;if(s<n){c||(r=e+".");r+="0".repeat(n-s)}if(s>a){const t=c?e.substring(0,o):e,i=(c?e.substring(o+1):"").substring(0,a);r=0===a?t:`${t}.${i}`}return r},dJ=(e,t,i=!0,o)=>{if(null==e||""===e)return"";const c="number"==typeof e?e.toString():e,s=null!=o?o:12;if(cJ(c,t))return"";let n;if(i)n=((e,t)=>{const i=iJ(String(e),t),o=i.replace(/^-/,"").replace(".","").length;return/^-?\d+(\.\d+)?$/.test(i)&&o>15?i:String(new ef(t).parse(String(e)))})(c,t);else{const{decimalSeparator:e}=tJ(0,t);if("."!==e){n=c.replace(new RegExp(`\\${e}`,"g"),".");const t=n.indexOf(".");-1!==t&&(n=n.substring(0,t))}else n=c}n=String(n);if(!/^-?\d*\.?\d+$/.test(n))return"";if(void 0!==s){if(n.replace(".","").replace(/^0+/,"").length>s){const e=n.indexOf(".");if(-1!==e){const t=n.substring(0,e),i=t.length;if(i>=s)return n.substring(0,s);{const o=s-i;return`${t}.${n.substring(e+1).substring(0,o)}`}}return n.substring(0,s)}}return n},hJ=(e,t,i,o)=>{if(void 0!==i&&oJ(e,t)>0){const c=iJ(e,t),s=c.indexOf("."),n=-1===s?c:c.slice(0,s);if(sJ(void 0!==o?o:n,e,t,i))return""}return((e,t,i)=>{const{decimalSeparator:o}=tJ(0,i),c=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),s=new RegExp(`${c}(\\d*?)(0+)$`),n=e.match(s);if(n){const e=n[1],i=n[2],o=String(t);if(!isNaN(Number(t))){if(o.includes(".")){const t=o.split(".")[1],c=Math.max(0,i.length-(t.length-e.length));return o+"0".repeat(c)}return o+"."+e+i}}return String(t)})(e,dJ(e,t,!0,i),t)},uJ=(e,t,i=!0,o,c,s)=>{const n=dJ(e,t,i,s);if(!n)return"";const a=n.replace(/^-/,"").replace(".","").length;if(/^-?\d+$/.test(n)&&a>15)try{return((e,t,i)=>{let o=BigInt(e);if(void 0!==i&&!Number.isNaN(i)){const e=BigInt(Math.trunc(i));o>e&&(o=e)}if(void 0!==t&&!Number.isNaN(t)){const e=BigInt(Math.trunc(t));o<e&&(o=e)}return o.toString()})(n,o,c)}catch(e){return n}let r=parseFloat(n);return isNaN(r)?r="":(r=Math.min(r,null!=c?c:r),r=Math.max(r,null!=o?o:r)),String(r)},pJ=e=>{try{const t="string"==typeof e?e:e.toString(),i=t.indexOf(".");if(-1===i)return 1;const o=t.substring(i+1).length;if(0===o)return 1;const c=Math.pow(10,-o);return parseFloat(c.toFixed(o))}catch(t){const i="string"==typeof e?e:e.toString(),o=i.indexOf(".");if(-1===o)return 1;const c=i.substring(o+1).length;if(0===c)return 1;const s=Math.pow(10,-c);return parseFloat(s.toFixed(c))}};class fJ extends(pQ(Ih)){constructor(){super(...arguments),this.autocomplete="off",this.hideStep=!1,this.value="",this.withFormatting=!1,this.locale="en-US",this.autoStepPrecision=!1,this.maximumInputPrecision=12,this.options={maximumFractionDigits:3,minimumFractionDigits:0}}autocompleteChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.autocomplete=this.autocomplete)}stepUp(){if(/^-?\d*\.?\d+$/.test(this.value)&&""!==this.value){let e;e=this.autoStepPrecision?pJ(this.value):this.step;const t=((e,t)=>{try{const i="string"==typeof e?e:e.toString(),o=i.indexOf(".");if(-1===o)return(parseInt(i)+t).toString();const c=i.substring(o+1),s=c.length-1,n=parseInt(c.charAt(s))+1;if(n<=eJ){const e=c.substring(0,s)+n;return i.substring(0,o+1)+e}{let e="",t=1;for(let i=s;i>=0;i-=1){const o=parseInt(c.charAt(i))+t;o<=eJ?(e=o+e,t=0):(e="0"+e,t=1)}return 1===t?parseInt(i.substring(0,o))+1+"."+e:i.substring(0,o+1)+e}}catch(i){return(("string"==typeof e?parseFloat(e):e)+t).toString()}})(this.value,e);this.value=t.toString()}else{const e=this.min>0?this.min:this.max<0?this.max:this.min?0:this.step;this.value=e.toString()}this.control&&(void 0!==this.min||void 0!==this.max?this.control.value=uJ(this.value,this.locale,this.withFormatting,this.min,this.max,this.maximumInputPrecision):this.control.value=this.value),this.handleTextInput()}stepDown(){if(/^-?\d*\.?\d+$/.test(this.value)&&""!==this.value){let e;e=this.autoStepPrecision?pJ(this.value):this.step;const t=((e,t)=>{try{const i="string"==typeof e?e:e.toString(),o=i.indexOf(".");if(-1===o)return(parseInt(i)-t).toString();const c=i.substring(o+1),s=c.length-1,n=parseInt(c.charAt(s))-1;if(n>=0){const e=c.substring(0,s)+n;return i.substring(0,o+1)+e}{let e="",t=1;for(let i=s;i>=0;i-=1){const o=parseInt(c.charAt(i))-t;o>=0?(e=o+e,t=0):(e=eJ.toString()+e,t=1)}return 1===t?parseInt(i.substring(0,o))-1+"."+e:i.substring(0,o+1)+e}}catch(i){return(("string"==typeof e?parseFloat(e):e)-t).toString()}})(this.value,e);this.value=t.toString()}else{const e=this.min>0?this.min:this.max<0?this.max:this.min?0:0-this.step;this.value=e.toString()}this.control&&(void 0!==this.min||void 0!==this.max?this.control.value=uJ(this.value,this.locale,this.withFormatting,this.min,this.max,this.maximumInputPrecision):this.control.value=this.value),this.handleTextInput()}hasSeparatorWithoutDecimals(){return new RegExp("[.]$")}restoreControlToCommittedValue(){if(!this.control)return;const e=this.value;if(!e)return this.control.value="",void(this.isUserInput=!1);this.control.value=this.withFormatting&&e?rJ(e,this.locale,this.options):aJ(String(e),this.locale),this.isUserInput=!1}handleTextInput(){this.control&&"-"!==this.control.value&&"-0"!==this.control.value&&(cJ(this.control.value,this.locale)||sJ(this.value,this.control.value,this.locale,this.maximumInputPrecision)?this.restoreControlToCommittedValue():(this.isUserInput=!0,this.withFormatting&&!new ef(this.locale).hasSeparator(this.control.value)?u.queueUpdate(()=>{const e=this.value,t=hJ(this.control.value,this.locale,this.maximumInputPrecision,this.value);if(t||!e||""===this.control.value){if(this.control){const e=this.withFormatting&&""!==t?rJ(t,this.locale,this.options):aJ(t,this.locale);this.control.value=lJ(e,this.options)}this.value=lJ(t,this.options),this.$emit("input")}else this.restoreControlToCommittedValue()}):this.withFormatting||this.hasSeparatorWithoutDecimals().test(this.control.value)||u.queueUpdate(()=>{var e;this.control&&(this.control.value=this.control.value.replace(/[^0-9\-+e.]/g,"")),this.value=(null===(e=this.control)||void 0===e?void 0:e.value)||"",this.$emit("input")})))}valueChanged(e,t){if(null!=t||!this.control)return null!=t&&t!==e?this.isUserInput?void 0:(this.value=uJ(this.value,this.locale,!1,this.min,this.max,this.maximumInputPrecision),void u.queueUpdate(()=>{this.isUserInput||this.control&&(this.control.value=this.withFormatting&&this.value?rJ(this.value,this.locale,this.options):this.value)})):void 0;this.control.value=""}handleBlur(){if(!this.control)return;this.isUserInput=!1;const e=uJ(this.control.value,this.locale,this.withFormatting,this.min,this.max,this.maximumInputPrecision);e&&/^-?\d*\.?\d+$/.test(e)&&(this.value=this.withFormatting?lJ(e,this.options):e),this.control.value=this.withFormatting&&this.value?rJ(this.value,this.locale,this.options):e,this.$emit("input")}}Nu([re],fJ.prototype,"autocomplete",void 0),Nu([re({mode:"boolean"})],fJ.prototype,"hideStep",void 0),Nu([re({converter:{fromView:e=>null==e?"":String(e),toView:e=>e}})],fJ.prototype,"value",void 0),Nu([re({mode:"boolean"})],fJ.prototype,"withFormatting",void 0),Nu([re],fJ.prototype,"locale",void 0),Nu([re({mode:"boolean"})],fJ.prototype,"autoStepPrecision",void 0),Nu([re],fJ.prototype,"maximumInputPrecision",void 0);const mJ={delegatesFocus:!0,mode:"open"},gJ={stepDownGlyph:'\n <svg class="step-down-glyph" viewBox="0 0 24 24" width="1rem" height="1rem" xmlns="http://www.w3.org/2000/svg">\n <path d="M6.1018 8C5.02785 8 4.45387 9.2649 5.16108 10.0731L10.6829 16.3838C11.3801 17.1806 12.6197 17.1806 13.3169 16.3838L18.8388 10.0731C19.5459 9.2649 18.972 8 17.898 8H6.1018Z"/>\n </svg>\n ',stepUpGlyph:'\n <svg class="step-up-glyph" viewBox="0 0 24 24" width="1rem" height="1rem" xmlns="http://www.w3.org/2000/svg">\n <path d="M6.1018 16.9814C5.02785 16.9814 4.45387 15.7165 5.16108 14.9083L10.6829 8.59762C11.3801 7.80079 12.6197 7.80079 13.3169 8.59762L18.8388 14.9083C19.5459 15.7165 18.972 16.9814 17.898 16.9814H6.1018Z"/>\n </svg>\n '};fJ.compose(Object.assign({baseName:"number-field",template:XX,styles:(e,t)=>Ce` ${Rh()} ::part(label){color: var(--neutral-foreground-rest)}fast-text-field{display: unset}.controls{margin-bottom: auto;margin-inline-end: 5px;margin-top: auto}.step-down, .step-up{display: block;fill: var(--neutral-foreground-rest)}.step-down-glyph, .step-up-glyph{padding: unset}::part(end){margin-inline-end: unset}${mQ}`,shadowOptions:mJ},gJ));const vJ=(e,t)=>Ce` :host{display: block}.label{display: flex;align-items: center;padding: 0 10px;height: 32px;font-weight: bold;user-select: none}.items{display: flex;flex-direction: column}/* Indent options inside the group */ ::slotted(*){padding-left: 20px}`,bJ=(e,t)=>W`<template role="option"><div class="label" part="label" role="presentation">${e=>e.groupLabel}</div><div class="items" part="items" role="group" aria-label="${e=>e.groupLabel}"><slot></slot></div></template>`;class yJ extends Po{connectedCallback(){super.connectedCallback(),this.disabled=!0}}Nu([re({attribute:"label"})],yJ.prototype,"groupLabel",void 0),yJ.compose({baseName:"optgroup",template:bJ,styles:vJ});const zJ=(e,t)=>$s(0,t),xJ=(e,t)=>Ce` ${Fh()} :host{height: calc(var(--design-unit) * 2px)}`;class CJ extends Ss{}const LJ=void 0,MJ={indeterminateIndicator1:'<span class="indeterminate-indicator-1" part="indeterminate-indicator-1"></span>',indeterminateIndicator2:'<span class="indeterminate-indicator-1" part="indeterminate-indicator-1"></span>'},wJ=CJ.compose(Object.assign({baseName:"progress",template:zJ,styles:xJ,shadowOptions:LJ},MJ));const kJ=(e,t="foundation",i,o)=>{e&&ow(null!=i?i:xw,null!=o?o:kw,e);return function(e){return new Proxy(e,{get:(e,t,...i)=>{if(["withPrefix","withShadowRootMode","withElementDisambiguation"].includes(t))throw new Error("Modification of the Design System is not allowed.");return Reflect.get(e,t,...i)}})}(Lc.getOrCreate(e).withPrefix(t))},SJ="app",$J="component";kJ().register(wJ({prefix:"next-update"}));class EJ extends qt{constructor(){super(...arguments),this.timeTillNextUpdate={totalMs:1e4,remainMs:1e4,remainPercent:100},this.mode=SJ,this.status={isOnline:!0,isHealthy:!0,browserInformation:{},socket:{},resources:{}},this.onSystemHealthChanged=e=>{this.status=e.detail,this.resourceList=Object.values(this.status.resources).sort((e,t)=>Number(t.isConnected)-Number(e.isConnected))},this.onOpen=(e=!1)=>{this.isOpen=!0,this.wasOpenedByUser=e,this.isDismissed=!1},this.onClose=()=>{this.isOpen=!1,this.wasOpenedByUser=!1,this.isDismissed=!1},this.onDismiss=()=>{this.isDismissed||this.status.isHealthy?this.onClose():this.isDismissed=!0},this.onUpdateStatus=()=>{this.status.runAllChecks()},this.onReportStatus=()=>{this.status.reportStabilityToGenesis()},this.onReloadWindow=()=>{location.reload()},this.onDocumentKeydown=e=>{if(!e.defaultPrevented)switch(e.key){case yi.ArrowUp:e.ctrlKey&&e.altKey&&!this.isOpen&&(this.onOpen(!0),e.preventDefault());break;case yi.ArrowDown:e.ctrlKey&&e.altKey&&this.isOpen&&(this.onClose(),e.preventDefault());break;case fi:this.isOpen&&(this.onDismiss(),e.preventDefault())}}}isOpenChanged(){this.updateTemplateClassNames()}isDismissedChanged(){this.updateTemplateClassNames()}modeChanged(){this.$fastController.isConnected&&this.mode===$J&&Mx.warn("SystemHealthOverlay has support for app overlays only right now.")}logLevelChanged(){hx.level=this.logLevel}statusChanged(e,t){this.updateClassNames(),this.$fastController.isConnected&&(!1!==(null==t?void 0:t.isHealthy)||this.isOpen||this.onOpen(),!0===(null==t?void 0:t.isHealthy)&&this.isOpen&&!this.wasOpenedByUser&&this.onClose(),this.startTimeTillNextUpdateCountdown())}updateClassNames(){this.isOnlineClassNames=Jt(["healthy",this.status.isOnline],["unhealthy",!this.status.isOnline]),this.isHealthyClassNames=Jt(["healthy",this.status.isHealthy],["unhealthy",!this.status.isHealthy]),this.isSocketHealthyClassNames=Jt(["healthy",this.isSocketHealthy],["unhealthy",!this.isSocketHealthy]),this.resourcesAllConnectedClassNames=Jt(["healthy",this.status.resourcesAllConnected],["unhealthy",!this.status.resourcesAllConnected],["hidden",!this.validResourceList]),this.updateTemplateClassNames()}updateTemplateClassNames(){this.templateClassNames=Jt(["open",this.isOpen],["dismissed",this.isDismissed]),this.containerClassNames=Jt(this.isHealthyClassNames,["open",this.isOpen],["dismissed",this.isDismissed])}startTimeTillNextUpdateCountdown(){const e=this.status.nextUpdate-Date.now();let t=e,i=100;clearInterval(this.timeTillNextUpdateInterval),this.timeTillNextUpdate={totalMs:e,remainMs:t,remainPercent:i},this.timeTillNextUpdateInterval=setInterval(()=>{t-=1e3,i=Math.floor(t/e*100),this.timeTillNextUpdate={totalMs:e,remainMs:t,remainPercent:i},t<0&&clearInterval(this.timeTillNextUpdateInterval)},1e3)}connectedCallback(){super.connectedCallback(),this.networkMonitor.create(),this.addEventListeners()}disconnectedCallback(){super.disconnectedCallback(),this.networkMonitor.destroy(),this.removeEventListeners()}get isSocketHealthy(){return this.status.isOnline&&(!this.status.socket.isConfigured||this.status.socket.isConfigured&&this.status.socket.isConnected)}get validResourceList(){var e;return(null===(e=this.resourceList)||void 0===e?void 0:e.length)>0}eventBridge(){var e;return null!==(e=this.config.eventEmitter)&&void 0!==e?e:document}addEventListeners(){this.eventBridge().addEventListener(Jz,this.onSystemHealthChanged,!0),document.addEventListener("keydown",this.onDocumentKeydown)}removeEventListeners(){this.eventBridge().removeEventListener(Jz,this.onSystemHealthChanged,!0),document.removeEventListener("keydown",this.onDocumentKeydown)}static getCheckmarkTemplate(e){return e?W`<span class="checkmark">&#x2714;</span>`:W`<span class="checkmark">&#10008;</span>`}}Nu([tx],EJ.prototype,"config",void 0),Nu([gx],EJ.prototype,"networkMonitor",void 0),Nu([g],EJ.prototype,"resourceList",void 0),Nu([g],EJ.prototype,"isOpen",void 0),Nu([g],EJ.prototype,"wasOpenedByUser",void 0),Nu([g],EJ.prototype,"isDismissed",void 0),Nu([g],EJ.prototype,"templateClassNames",void 0),Nu([g],EJ.prototype,"containerClassNames",void 0),Nu([g],EJ.prototype,"isOnlineClassNames",void 0),Nu([g],EJ.prototype,"isHealthyClassNames",void 0),Nu([g],EJ.prototype,"isSocketHealthyClassNames",void 0),Nu([g],EJ.prototype,"resourcesAllConnectedClassNames",void 0),Nu([g],EJ.prototype,"timeTillNextUpdate",void 0),Nu([g],EJ.prototype,"saveDataCallback",void 0),Nu([re],EJ.prototype,"mode",void 0),Nu([re({attribute:"log-level",converter:ne})],EJ.prototype,"logLevel",void 0),Nu([g],EJ.prototype,"status",void 0);const NJ=(e,t)=>W`<template class="${e=>e.templateClassNames}"><header class="${e=>e.isHealthyClassNames}" part="header"><h1>System ${e=>wi(e.isHealthyClassNames)}</h1>${He(e=>!e.status.isHealthy,W`<span class="data-warning">Data Validity Unknown</span>`)}<div class="controls">${He(e=>e.isDismissed,W`<a href="#" class="open-button" @click="${e=>e.onOpen(!0)}">View Status</a>`)} ${He(e=>!e.isDismissed,W`<a href="#" class="update-status-button" @click="${e=>e.onUpdateStatus()}">
91
+ </style><slot></slot></template>`;class pX extends qt{setGridItemProperties(e,t,i,o){if(t&&e&&i&&o){return`grid-row: ${0===t||0===o?"auto":`${t} / ${Number(t)+Number(o)}`}; grid-column: ${0===e||0===i?"auto":`${e} / ${Number(e)+Number(i)}`}`}}}Nu([re({attribute:"col-number"})],pX.prototype,"colNumber",void 0),Nu([re({attribute:"col-sm-number"})],pX.prototype,"colSmNumber",void 0),Nu([re({attribute:"col-md-number"})],pX.prototype,"colMdNumber",void 0),Nu([re({attribute:"col-lg-number"})],pX.prototype,"colLgNumber",void 0),Nu([re({attribute:"row-number"})],pX.prototype,"rowNumber",void 0),Nu([re({attribute:"row-sm-number"})],pX.prototype,"rowSmNumber",void 0),Nu([re({attribute:"row-md-number"})],pX.prototype,"rowMdNumber",void 0),Nu([re({attribute:"row-lg-number"})],pX.prototype,"rowLgNumber",void 0),Nu([re({attribute:"width"})],pX.prototype,"width",void 0),Nu([re({attribute:"width-sm"})],pX.prototype,"widthSm",void 0),Nu([re({attribute:"width-md"})],pX.prototype,"widthMd",void 0),Nu([re({attribute:"width-lg"})],pX.prototype,"widthLg",void 0),Nu([re({attribute:"height"})],pX.prototype,"height",void 0),Nu([re({attribute:"height-sm"})],pX.prototype,"heightSm",void 0),Nu([re({attribute:"height-md"})],pX.prototype,"heightMd",void 0),Nu([re({attribute:"height-lg"})],pX.prototype,"heightLg",void 0);const fX=pX.compose(Object.assign({baseName:"grid-layout-item",template:uX,shadowOptions:void 0},{})),mX=(e,t)=>Ds(e,t),gX=(e,t)=>Ce` ${Sh()}`;class vX extends $h{}const bX={delegatesFocus:!0,mode:"open"},yX={nextFlipper:W`<foundation-flipper @click="${e=>e.scrollToNext()}" aria-hidden="${e=>e.flippersHiddenFromAT}"></foundation-flipper>`,previousFlipper:W`<foundation-flipper @click="${e=>e.scrollToPrevious()}" direction="previous" aria-hidden="${e=>e.flippersHiddenFromAT}"></foundation-flipper>`};vX.compose(Object.assign({baseName:"horizontal-scroll",template:mX,styles:gX,shadowOptions:bX},yX));const zX=(e,t)=>Ce` ${QK()} .fa-stack-1x{font-size: 1em}.fa-stack-2x{font-size: 2em}.tooltip-icon{color: var(--accent-foreground-rest)}.error-tooltip{color: var(--error-color)}.tooltip-element{/* Shown as a top-layer popover (see Icon.showTooltip): the top layer escapes ancestor stacking contexts, transforms and overflow clipping, so virtualized grid rows cannot paint over the bubble and no z-index is needed. Placement is inline top/left from the anchor rect, so the UA popover box (inset/margin/border/padding/background) is reset to leave the visible box to ::part(tooltip). No display rule here: the UA sheet hides the popover while closed (an author display rule would override that), and position: fixed blockifies the host while open. */ position: fixed;inset: unset;margin: 0;border: none;padding: 0;background: transparent;color: inherit;overflow: visible;width: 300px;contain: unset;/* The top layer changes painting, not style inheritance: the bubble still inherits text properties from its host context (e.g. AG Grid cells set white-space: nowrap), so reset the ones that would break a multi-line bubble. */ white-space: normal;text-overflow: clip}.tooltip-element::part(tooltip){padding: calc(var(--design-unit) * 4px);background-color: color-mix(in srgb, var(--neutral-layer-4), #000 10%);border: 1px solid var(--neutral-layer-3);text-align: left;color: var(--neutral-foreground-hint);box-shadow: 0 4px 10px rgb(0 0 0 / 35%);font-size: var(--type-ramp-minus-1-font-size)}.tooltip-title{color: var(--neutral-fill-strong-hover);margin: 0}.tooltip-description{margin-top: calc(var(--design-unit) * 2px);margin-bottom: 0;font-size: var(--type-ramp-base-font-size)}.tooltip-second-title-margin{margin-top: calc(var(--design-unit) * 2px)}.tooltip-list-padding{margin: 0;padding: 0 0 0 calc(var(--design-unit) * 4px)}a, a:active, a:visited{color: var(--accent-foreground-rest);text-decoration: none}.warning{background: var(--warning-color);color: #000}.info{margin-top: calc(var(--design-unit) * 2px);padding: 20px;margin-bottom: 20px;height: auto;box-sizing: border-box}`,xX=e=>W`<template><i ${Ie("iElement")}id="${e=>e.tooltipId}" class=${e=>`fa-${e.name} fa-${e.size} fa-${e.variant} ${Jt(["error-tooltip",!(!e.isError||!e.tooltip)],["tooltip-icon",!(e.isError||!e.tooltip)])}`}part=${e=>`icon-${e.name}-${e.size}-${e.variant} i-icon`}><slot></slot></i>${He(e=>e.tooltip,W`<${e}-tooltip ${Ie("tooltipElement")}part="tooltip" class="tooltip-element" popover="manual" delay="0" anchor="${e=>e.tooltipId}">${e=>W` ${e.tooltip} `}</${e}-tooltip>`)}</template>`,CX=W` ${e=>xX($x(e))} `,LX={mode:"open",delegatesFocus:!0},MX={};var wX;!function(e){e.solid="fas",e.regular="far",e.brand="fab"}(wX||(wX={}));class kX extends qt{constructor(){super(...arguments),this.isError=!1,this.tooltipShowTimer=null,this.size="sm",this.variant="solid",this.showTooltip=()=>{const e=this.tooltipElement;e&&null===this.tooltipShowTimer&&!e.matches(":popover-open")&&(this.tooltipShowTimer=window.setTimeout(()=>{this.tooltipShowTimer=null;const e=this.tooltipElement;(null==e?void 0:e.isConnected)&&(e.showPopover(),this.positionTooltip(e))},300))},this.hideTooltip=()=>{var e;null!==this.tooltipShowTimer&&(window.clearTimeout(this.tooltipShowTimer),this.tooltipShowTimer=null),(null===(e=this.tooltipElement)||void 0===e?void 0:e.matches(":popover-open"))&&this.tooltipElement.hidePopover()}}nameChanged(e,t){t&&this.loadIcon()}sizeChanged(e,t){t&&this.loadIcon()}variantChanged(e,t){t&&this.loadIcon()}connectedCallback(){var e,t,i,o;super.connectedCallback(),this.loadIcon(),null===(e=this.iElement)||void 0===e||e.addEventListener("mouseover",this.showTooltip,{passive:!0}),null===(t=this.iElement)||void 0===t||t.addEventListener("focusin",this.showTooltip,{passive:!0}),null===(i=this.iElement)||void 0===i||i.addEventListener("mouseout",this.hideTooltip,{passive:!0}),null===(o=this.iElement)||void 0===o||o.addEventListener("focusout",this.hideTooltip,{passive:!0})}disconnectedCallback(){super.disconnectedCallback(),this.iElement.replaceChildren(),this.iElement.removeEventListener("mouseover",this.showTooltip),this.iElement.removeEventListener("focusin",this.showTooltip),this.iElement.removeEventListener("mouseout",this.hideTooltip),this.iElement.removeEventListener("focusout",this.hideTooltip),this.hideTooltip()}positionTooltip(e){const t=this.iElement.getBoundingClientRect(),i=e.getBoundingClientRect(),o=Math.max(i.width,e.scrollWidth),c=Math.max(i.height,e.scrollHeight);let s=t.right;s+o>window.innerWidth-8&&(s=Math.max(8,t.left-o));const n=Math.max(8,window.innerHeight-c-8),a=Math.min(Math.max(t.top,8),n);e.style.top=`${a}px`,e.style.left=`${s}px`}getDefaultTooltipConfig(){this.name||(this.name="question-circle",this.size="1x",this.variant="regular")}loadIcon(){if(!this.iElement)return;this.tooltip&&(this.tooltipId||(this.tooltipId=this.uuid.createId()),this.getDefaultTooltipConfig());const e=B$({prefix:wX[this.variant],iconName:this.name}),t=U$(e);t&&t.node&&(this.iElement.innerHTML="",Array.from(t.node).map(e=>this.iElement.appendChild(e)))}}Nu([g],kX.prototype,"iElement",void 0),Nu([Qv],kX.prototype,"uuid",void 0),Nu([re({attribute:"tooltip-id"})],kX.prototype,"tooltipId",void 0),Nu([re],kX.prototype,"tooltip",void 0),Nu([re({attribute:"error",mode:"boolean"})],kX.prototype,"isError",void 0),Nu([re],kX.prototype,"name",void 0),Nu([re],kX.prototype,"size",void 0),Nu([re],kX.prototype,"variant",void 0),kX.compose(Object.assign({baseName:"icon",template:CX,styles:zX,shadowOptions:LX},MX));const SX=(e,t)=>Jc(),$X=(e,t)=>Ce` ${lh(e)} :host{display: flex;flex-direction: column;max-width: fit-content;padding: calc(var(--design-unit) * 1px) 0;border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);border-radius: calc(var(--control-corner-radius) * 1px)}`;class EX extends Nh{}const NX=void 0,AX={};EX.compose(Object.assign({baseName:"listbox",template:SX,styles:$X,shadowOptions:NX},AX));const OX=(e,t)=>Qc(0,t),TX=(e,t)=>Ce` ${Eh()}`;class RX extends Po{}const IX=void 0,DX={};RX.compose(Object.assign({baseName:"option",template:OX,styles:TX,shadowOptions:IX},DX));const FX=(e,t)=>gs(),_X=(e,t)=>Ce` ${Oh()}`;class HX extends Th{}const PX=void 0,VX={};HX.compose(Object.assign({baseName:"menu",template:FX,styles:_X,shadowOptions:PX},VX));const BX=(e,t)=>ms(e,t),UX=(e,t)=>Ce` ${Ah()} :host, :host(.indent-0[aria-haspopup='menu']){align-content: center;min-height: calc(var(--design-unit) * 8px)}.expand-collapse-glyph{max-height: calc(var(--design-unit) * 4px);max-width: calc(var(--design-unit) * 4px);height: auto;width: auto}`;class jX extends fs{connectedCallback(){super.connectedCallback(),this.addEventListener("click",()=>this.$emit("onMenuClick"))}}const qX=void 0,GX={expandCollapseGlyph:'\n <svg\n class="expand-collapse-glyph"\n part="expand-collapse-glyph"\n viewBox="0 0 16 16"\n xmlns="http://www.w3.org/2000/svg">\n <path\n d="M4.023 15.273L11.29 8 4.023.727l.704-.704L12.71 8l-7.984 7.977-.704-.704z"\n />\n </svg>\n '};jX.compose(Object.assign({baseName:"menu-item",template:BX,styles:UX,shadowOptions:qX},GX));const WX=Ce` ${iZ}`,YX=W` ${cZ} `,KX={mode:"open",delegatesFocus:!0},ZX={};class QX extends MZ{show(){var e,t;null===(e=this.onShowCallback)||void 0===e||e.call(this),null===(t=this.mainElement)||void 0===t||t.showModal()}}QX.compose(Object.assign({baseName:"modal",template:YX,styles:WX,shadowOptions:KX},ZX));const XX=(e,t)=>W`<template class="${e=>[e.readOnly?"readonly":"",e.prefix?"has-prefix":"",e.suffix?"has-suffix":""].filter(Boolean).join(" ")}"><label part="label" for="${e=>e.id?e.id:"control"}" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label-hidden"}"><slot ${Ke("defaultSlottedNodes")}></slot></label><div class="root" part="root">${et(0,t)}<div class="control-field">${He(e=>e.prefix,W`<span class="prefix" part="prefix" id="${e=>`${e.id||"control"}-prefix`}" ?aria-hidden="${e=>e.hideAffixFromScreenReader}">${e=>e.prefix}</span>`)}<input class="control" part="control" name="${e=>e.name}" autocomplete="${e=>e.autocomplete}" id="${e=>e.id?e.id:"control"}" @input="${e=>e.handleTextInput()}" @change="${e=>e.handleChange()}" @keydown="${(e,t)=>e.handleKeyDown(t.event)}" @blur="${(e,t)=>e.handleBlur()}" ?autofocus="${e=>e.autofocus}" ?disabled="${e=>e.disabled}" list="${e=>e.list}" maxlength="${e=>e.maxlength}" minlength="${e=>e.minlength}" placeholder="${e=>e.placeholder}" ?readonly="${e=>e.readOnly}" ?required="${e=>e.required}" size="${e=>e.size}" type="text" inputmode="numeric" min="${e=>e.min}" max="${e=>e.max}" step="${e=>e.step}" aria-atomic="${e=>e.ariaAtomic}" aria-busy="${e=>e.ariaBusy}" aria-controls="${e=>e.ariaControls}" aria-current="${e=>e.ariaCurrent}" aria-describedby="${e=>e.controlAriaDescribedby}" aria-details="${e=>e.ariaDetails}" aria-disabled="${e=>e.ariaDisabled}" aria-errormessage="${e=>e.ariaErrormessage}" aria-flowto="${e=>e.ariaFlowto}" aria-haspopup="${e=>e.ariaHaspopup}" aria-hidden="${e=>e.ariaHidden}" aria-invalid="${e=>e.ariaInvalid}" aria-keyshortcuts="${e=>e.ariaKeyshortcuts}" aria-label="${e=>e.ariaLabel}" aria-labelledby="${e=>e.ariaLabelledby}" aria-live="${e=>e.ariaLive}" aria-owns="${e=>e.ariaOwns}" aria-relevant="${e=>e.ariaRelevant}" aria-roledescription="${e=>e.ariaRoledescription}" ${Ie("control")}/>${He(e=>e.suffix,W`<span class="suffix" part="suffix" id="${e=>`${e.id||"control"}-suffix`}" ?aria-hidden="${e=>e.hideAffixFromScreenReader}">${e=>e.suffix}</span>`)}</div>${He(e=>!e.hideStep&&!e.readOnly&&!e.disabled,W`<div class="controls" part="controls"><div class="step-up" part="step-up" @click="${e=>e.stepUp()}"><slot name="step-up-glyph">${t.stepUpGlyph||""}</slot></div><div class="step-down" part="step-down" @click="${e=>e.stepDown()}"><slot name="step-down-glyph">${t.stepDownGlyph||""}</slot></div></div>`)} ${Je(0,t)}</div></template>`,JX=12345.6,eJ=9,tJ=(e,t)=>{var i;return{decimalSeparator:(null===(i=new Intl.NumberFormat(t).formatToParts(JX).find(e=>"decimal"===e.type))||void 0===i?void 0:i.value)||"."}},iJ=(e,t)=>{var i,o,c;const s=new Intl.NumberFormat(t).formatToParts(JX),n=null===(i=s.find(e=>"group"===e.type))||void 0===i?void 0:i.value,a=null!==(c=null===(o=s.find(e=>"decimal"===e.type))||void 0===o?void 0:o.value)&&void 0!==c?c:".";let r=e.trim();return n&&(r=r.split(n).join("")),"."!==a&&(r=r.replace(a,".")),r},oJ=(e,t)=>{var i,o;const c=null!==(o=null===(i=new Intl.NumberFormat(t).formatToParts(JX).find(e=>"decimal"===e.type))||void 0===i?void 0:i.value)&&void 0!==o?o:".";let s=0;for(const t of e)t===c&&(s+=1);return s},cJ=(e,t)=>oJ(e,t)>1,sJ=(e,t,i,o)=>((e,t,i)=>{const o=iJ(String(null!=e?e:""),t);return!(!o||!/^-?\d+$/.test(o))&&o.replace(/^-/,"").length>=i})(e,i,o)&&oJ(t,i)>0,nJ=(e,t,i)=>{const o=e.startsWith("-"),c=o?e.slice(1):e,s=c.indexOf("."),n=-1===s?c:c.slice(0,s);let a=-1===s?"":c.slice(s+1);const r=i.minimumFractionDigits,l=i.maximumFractionDigits;void 0!==l&&a.length>l&&(a=a.slice(0,l)),void 0!==r&&a.length<r&&(a=a.padEnd(r,"0"));const d=((e,t)=>{var i,o;const c=e.startsWith("-"),s=c?e.slice(1):e,n=null!==(o=null===(i=new Intl.NumberFormat(t).formatToParts(1234567).find(e=>"group"===e.type))||void 0===i?void 0:i.value)&&void 0!==o?o:",",a=[];let r=s;for(;r.length>3;)a.unshift(r.slice(-3)),r=r.slice(0,-3);a.unshift(r);const l=a.join(n);return c?`-${l}`:l})(o?`-${n}`:n,t),{decimalSeparator:h}=tJ(0,t);return-1===s?void 0!==r&&r>0?`${d}${h}${"0".repeat(r)}`:d:0===l?d:`${d}${h}${a}`},aJ=(e,t)=>{const{decimalSeparator:i}=tJ(0,t);return"."===i?e:e.replace(/\./g,i)},rJ=(e,t,i)=>""===e?"":(e=>{const t=e.replace(/^-/,""),i=t.indexOf(".");return(-1===i?t:t.slice(0,i)).length>15})(e)&&/^-?\d+(\.\d*)?$/.test(e)?nJ(e,t,i):Intl.NumberFormat(t,i).format(Number(e)),lJ=(e,t)=>{if(!e||""===e)return e;const i=Number(e);if(isNaN(i))return e;const o=e.indexOf("."),c=-1!==o,s=c?e.length-o-1:0,n=t.minimumFractionDigits,a=t.maximumFractionDigits;if(s>=n&&s<=a)return e;let r=e;if(s<n){c||(r=e+".");r+="0".repeat(n-s)}if(s>a){const t=c?e.substring(0,o):e,i=(c?e.substring(o+1):"").substring(0,a);r=0===a?t:`${t}.${i}`}return r},dJ=(e,t,i=!0,o)=>{if(null==e||""===e)return"";const c="number"==typeof e?e.toString():e,s=null!=o?o:12;if(cJ(c,t))return"";let n;if(i)n=((e,t)=>{const i=iJ(String(e),t),o=i.replace(/^-/,"").replace(".","").length;return/^-?\d+(\.\d+)?$/.test(i)&&o>15?i:String(new ef(t).parse(String(e)))})(c,t);else{const{decimalSeparator:e}=tJ(0,t);if("."!==e){n=c.replace(new RegExp(`\\${e}`,"g"),".");const t=n.indexOf(".");-1!==t&&(n=n.substring(0,t))}else n=c}n=String(n);if(!/^-?\d*\.?\d+$/.test(n))return"";if(void 0!==s){if(n.replace(".","").replace(/^0+/,"").length>s){const e=n.indexOf(".");if(-1!==e){const t=n.substring(0,e),i=t.length;if(i>=s)return n.substring(0,s);{const o=s-i;return`${t}.${n.substring(e+1).substring(0,o)}`}}return n.substring(0,s)}}return n},hJ=(e,t,i,o)=>{if(void 0!==i&&oJ(e,t)>0){const c=iJ(e,t),s=c.indexOf("."),n=-1===s?c:c.slice(0,s);if(sJ(void 0!==o?o:n,e,t,i))return""}return((e,t,i)=>{const{decimalSeparator:o}=tJ(0,i),c=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),s=new RegExp(`${c}(\\d*?)(0+)$`),n=e.match(s);if(n){const e=n[1],i=n[2],o=String(t);if(!isNaN(Number(t))){if(o.includes(".")){const t=o.split(".")[1],c=Math.max(0,i.length-(t.length-e.length));return o+"0".repeat(c)}return o+"."+e+i}}return String(t)})(e,dJ(e,t,!0,i),t)},uJ=(e,t,i=!0,o,c,s)=>{const n=dJ(e,t,i,s);if(!n)return"";const a=n.replace(/^-/,"").replace(".","").length;if(/^-?\d+$/.test(n)&&a>15)try{return((e,t,i)=>{let o=BigInt(e);if(void 0!==i&&!Number.isNaN(i)){const e=BigInt(Math.trunc(i));o>e&&(o=e)}if(void 0!==t&&!Number.isNaN(t)){const e=BigInt(Math.trunc(t));o<e&&(o=e)}return o.toString()})(n,o,c)}catch(e){return n}let r=parseFloat(n);return isNaN(r)?r="":(r=Math.min(r,null!=c?c:r),r=Math.max(r,null!=o?o:r)),String(r)},pJ=e=>{try{const t="string"==typeof e?e:e.toString(),i=t.indexOf(".");if(-1===i)return 1;const o=t.substring(i+1).length;if(0===o)return 1;const c=Math.pow(10,-o);return parseFloat(c.toFixed(o))}catch(t){const i="string"==typeof e?e:e.toString(),o=i.indexOf(".");if(-1===o)return 1;const c=i.substring(o+1).length;if(0===c)return 1;const s=Math.pow(10,-c);return parseFloat(s.toFixed(c))}};class fJ extends(pQ(Ih)){constructor(){super(...arguments),this.autocomplete="off",this.hideStep=!1,this.value="",this.withFormatting=!1,this.locale="en-US",this.autoStepPrecision=!1,this.maximumInputPrecision=12,this.options={maximumFractionDigits:3,minimumFractionDigits:0}}autocompleteChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.autocomplete=this.autocomplete)}stepUp(){if(/^-?\d*\.?\d+$/.test(this.value)&&""!==this.value){let e;e=this.autoStepPrecision?pJ(this.value):this.step;const t=((e,t)=>{try{const i="string"==typeof e?e:e.toString(),o=i.indexOf(".");if(-1===o)return(parseInt(i)+t).toString();const c=i.substring(o+1),s=c.length-1,n=parseInt(c.charAt(s))+1;if(n<=eJ){const e=c.substring(0,s)+n;return i.substring(0,o+1)+e}{let e="",t=1;for(let i=s;i>=0;i-=1){const o=parseInt(c.charAt(i))+t;o<=eJ?(e=o+e,t=0):(e="0"+e,t=1)}return 1===t?parseInt(i.substring(0,o))+1+"."+e:i.substring(0,o+1)+e}}catch(i){return(("string"==typeof e?parseFloat(e):e)+t).toString()}})(this.value,e);this.value=t.toString()}else{const e=this.min>0?this.min:this.max<0?this.max:this.min?0:this.step;this.value=e.toString()}this.control&&(void 0!==this.min||void 0!==this.max?this.control.value=uJ(this.value,this.locale,this.withFormatting,this.min,this.max,this.maximumInputPrecision):this.control.value=this.value),this.handleTextInput()}stepDown(){if(/^-?\d*\.?\d+$/.test(this.value)&&""!==this.value){let e;e=this.autoStepPrecision?pJ(this.value):this.step;const t=((e,t)=>{try{const i="string"==typeof e?e:e.toString(),o=i.indexOf(".");if(-1===o)return(parseInt(i)-t).toString();const c=i.substring(o+1),s=c.length-1,n=parseInt(c.charAt(s))-1;if(n>=0){const e=c.substring(0,s)+n;return i.substring(0,o+1)+e}{let e="",t=1;for(let i=s;i>=0;i-=1){const o=parseInt(c.charAt(i))-t;o>=0?(e=o+e,t=0):(e=eJ.toString()+e,t=1)}return 1===t?parseInt(i.substring(0,o))-1+"."+e:i.substring(0,o+1)+e}}catch(i){return(("string"==typeof e?parseFloat(e):e)-t).toString()}})(this.value,e);this.value=t.toString()}else{const e=this.min>0?this.min:this.max<0?this.max:this.min?0:0-this.step;this.value=e.toString()}this.control&&(void 0!==this.min||void 0!==this.max?this.control.value=uJ(this.value,this.locale,this.withFormatting,this.min,this.max,this.maximumInputPrecision):this.control.value=this.value),this.handleTextInput()}hasSeparatorWithoutDecimals(){return new RegExp("[.]$")}restoreControlToCommittedValue(){if(!this.control)return;const e=this.value;if(!e)return this.control.value="",void(this.isUserInput=!1);this.control.value=this.withFormatting&&e?rJ(e,this.locale,this.options):aJ(String(e),this.locale),this.isUserInput=!1}handleKeyDown(e){return e.key===pi&&(this.isUserInput=!1),super.handleKeyDown(e)}handleTextInput(){this.control&&"-"!==this.control.value&&"-0"!==this.control.value&&(cJ(this.control.value,this.locale)||sJ(this.value,this.control.value,this.locale,this.maximumInputPrecision)?this.restoreControlToCommittedValue():(this.isUserInput=!0,this.withFormatting&&!new ef(this.locale).hasSeparator(this.control.value)?u.queueUpdate(()=>{const e=this.value,t=hJ(this.control.value,this.locale,this.maximumInputPrecision,this.value);if(t||!e||""===this.control.value){if(this.control){const e=this.withFormatting&&""!==t?rJ(t,this.locale,this.options):aJ(t,this.locale);this.control.value=lJ(e,this.options)}this.value=lJ(t,this.options),this.$emit("input")}else this.restoreControlToCommittedValue()}):this.withFormatting||this.hasSeparatorWithoutDecimals().test(this.control.value)||u.queueUpdate(()=>{var e;this.control&&(this.control.value=this.control.value.replace(/[^0-9\-+e.]/g,"")),this.value=(null===(e=this.control)||void 0===e?void 0:e.value)||"",this.$emit("input")})))}valueChanged(e,t){if(null!=t||!this.control)return null!=t&&t!==e?this.isUserInput?void 0:(this.value=uJ(this.value,this.locale,!1,this.min,this.max,this.maximumInputPrecision),void u.queueUpdate(()=>{this.isUserInput||this.control&&(this.control.value=this.withFormatting&&this.value?rJ(this.value,this.locale,this.options):this.value)})):void 0;this.control.value=""}handleBlur(){if(!this.control)return;this.isUserInput=!1;const e=uJ(this.control.value,this.locale,this.withFormatting,this.min,this.max,this.maximumInputPrecision);e&&/^-?\d*\.?\d+$/.test(e)&&(this.value=this.withFormatting?lJ(e,this.options):e),this.control.value=this.withFormatting&&this.value?rJ(this.value,this.locale,this.options):e,this.$emit("input")}}Nu([re],fJ.prototype,"autocomplete",void 0),Nu([re({mode:"boolean"})],fJ.prototype,"hideStep",void 0),Nu([re({converter:{fromView:e=>null==e?"":String(e),toView:e=>e}})],fJ.prototype,"value",void 0),Nu([re({mode:"boolean"})],fJ.prototype,"withFormatting",void 0),Nu([re],fJ.prototype,"locale",void 0),Nu([re({mode:"boolean"})],fJ.prototype,"autoStepPrecision",void 0),Nu([re],fJ.prototype,"maximumInputPrecision",void 0);const mJ={delegatesFocus:!0,mode:"open"},gJ={stepDownGlyph:'\n <svg class="step-down-glyph" viewBox="0 0 24 24" width="1rem" height="1rem" xmlns="http://www.w3.org/2000/svg">\n <path d="M6.1018 8C5.02785 8 4.45387 9.2649 5.16108 10.0731L10.6829 16.3838C11.3801 17.1806 12.6197 17.1806 13.3169 16.3838L18.8388 10.0731C19.5459 9.2649 18.972 8 17.898 8H6.1018Z"/>\n </svg>\n ',stepUpGlyph:'\n <svg class="step-up-glyph" viewBox="0 0 24 24" width="1rem" height="1rem" xmlns="http://www.w3.org/2000/svg">\n <path d="M6.1018 16.9814C5.02785 16.9814 4.45387 15.7165 5.16108 14.9083L10.6829 8.59762C11.3801 7.80079 12.6197 7.80079 13.3169 8.59762L18.8388 14.9083C19.5459 15.7165 18.972 16.9814 17.898 16.9814H6.1018Z"/>\n </svg>\n '};fJ.compose(Object.assign({baseName:"number-field",template:XX,styles:(e,t)=>Ce` ${Rh()} ::part(label){color: var(--neutral-foreground-rest)}fast-text-field{display: unset}.controls{margin-bottom: auto;margin-inline-end: 5px;margin-top: auto}.step-down, .step-up{display: block;fill: var(--neutral-foreground-rest)}.step-down-glyph, .step-up-glyph{padding: unset}::part(end){margin-inline-end: unset}${mQ}`,shadowOptions:mJ},gJ));const vJ=(e,t)=>Ce` :host{display: block}.label{display: flex;align-items: center;padding: 0 10px;height: 32px;font-weight: bold;user-select: none}.items{display: flex;flex-direction: column}/* Indent options inside the group */ ::slotted(*){padding-left: 20px}`,bJ=(e,t)=>W`<template role="option"><div class="label" part="label" role="presentation">${e=>e.groupLabel}</div><div class="items" part="items" role="group" aria-label="${e=>e.groupLabel}"><slot></slot></div></template>`;class yJ extends Po{connectedCallback(){super.connectedCallback(),this.disabled=!0}}Nu([re({attribute:"label"})],yJ.prototype,"groupLabel",void 0),yJ.compose({baseName:"optgroup",template:bJ,styles:vJ});const zJ=(e,t)=>$s(0,t),xJ=(e,t)=>Ce` ${Fh()} :host{height: calc(var(--design-unit) * 2px)}`;class CJ extends Ss{}const LJ=void 0,MJ={indeterminateIndicator1:'<span class="indeterminate-indicator-1" part="indeterminate-indicator-1"></span>',indeterminateIndicator2:'<span class="indeterminate-indicator-1" part="indeterminate-indicator-1"></span>'},wJ=CJ.compose(Object.assign({baseName:"progress",template:zJ,styles:xJ,shadowOptions:LJ},MJ));const kJ=(e,t="foundation",i,o)=>{e&&ow(null!=i?i:xw,null!=o?o:kw,e);return function(e){return new Proxy(e,{get:(e,t,...i)=>{if(["withPrefix","withShadowRootMode","withElementDisambiguation"].includes(t))throw new Error("Modification of the Design System is not allowed.");return Reflect.get(e,t,...i)}})}(Lc.getOrCreate(e).withPrefix(t))},SJ="app",$J="component";kJ().register(wJ({prefix:"next-update"}));class EJ extends qt{constructor(){super(...arguments),this.timeTillNextUpdate={totalMs:1e4,remainMs:1e4,remainPercent:100},this.mode=SJ,this.status={isOnline:!0,isHealthy:!0,browserInformation:{},socket:{},resources:{}},this.onSystemHealthChanged=e=>{this.status=e.detail,this.resourceList=Object.values(this.status.resources).sort((e,t)=>Number(t.isConnected)-Number(e.isConnected))},this.onOpen=(e=!1)=>{this.isOpen=!0,this.wasOpenedByUser=e,this.isDismissed=!1},this.onClose=()=>{this.isOpen=!1,this.wasOpenedByUser=!1,this.isDismissed=!1},this.onDismiss=()=>{this.isDismissed||this.status.isHealthy?this.onClose():this.isDismissed=!0},this.onUpdateStatus=()=>{this.status.runAllChecks()},this.onReportStatus=()=>{this.status.reportStabilityToGenesis()},this.onReloadWindow=()=>{location.reload()},this.onDocumentKeydown=e=>{if(!e.defaultPrevented)switch(e.key){case yi.ArrowUp:e.ctrlKey&&e.altKey&&!this.isOpen&&(this.onOpen(!0),e.preventDefault());break;case yi.ArrowDown:e.ctrlKey&&e.altKey&&this.isOpen&&(this.onClose(),e.preventDefault());break;case fi:this.isOpen&&(this.onDismiss(),e.preventDefault())}}}isOpenChanged(){this.updateTemplateClassNames()}isDismissedChanged(){this.updateTemplateClassNames()}modeChanged(){this.$fastController.isConnected&&this.mode===$J&&Mx.warn("SystemHealthOverlay has support for app overlays only right now.")}logLevelChanged(){hx.level=this.logLevel}statusChanged(e,t){this.updateClassNames(),this.$fastController.isConnected&&(!1!==(null==t?void 0:t.isHealthy)||this.isOpen||this.onOpen(),!0===(null==t?void 0:t.isHealthy)&&this.isOpen&&!this.wasOpenedByUser&&this.onClose(),this.startTimeTillNextUpdateCountdown())}updateClassNames(){this.isOnlineClassNames=Jt(["healthy",this.status.isOnline],["unhealthy",!this.status.isOnline]),this.isHealthyClassNames=Jt(["healthy",this.status.isHealthy],["unhealthy",!this.status.isHealthy]),this.isSocketHealthyClassNames=Jt(["healthy",this.isSocketHealthy],["unhealthy",!this.isSocketHealthy]),this.resourcesAllConnectedClassNames=Jt(["healthy",this.status.resourcesAllConnected],["unhealthy",!this.status.resourcesAllConnected],["hidden",!this.validResourceList]),this.updateTemplateClassNames()}updateTemplateClassNames(){this.templateClassNames=Jt(["open",this.isOpen],["dismissed",this.isDismissed]),this.containerClassNames=Jt(this.isHealthyClassNames,["open",this.isOpen],["dismissed",this.isDismissed])}startTimeTillNextUpdateCountdown(){const e=this.status.nextUpdate-Date.now();let t=e,i=100;clearInterval(this.timeTillNextUpdateInterval),this.timeTillNextUpdate={totalMs:e,remainMs:t,remainPercent:i},this.timeTillNextUpdateInterval=setInterval(()=>{t-=1e3,i=Math.floor(t/e*100),this.timeTillNextUpdate={totalMs:e,remainMs:t,remainPercent:i},t<0&&clearInterval(this.timeTillNextUpdateInterval)},1e3)}connectedCallback(){super.connectedCallback(),this.networkMonitor.create(),this.addEventListeners()}disconnectedCallback(){super.disconnectedCallback(),this.networkMonitor.destroy(),this.removeEventListeners()}get isSocketHealthy(){return this.status.isOnline&&(!this.status.socket.isConfigured||this.status.socket.isConfigured&&this.status.socket.isConnected)}get validResourceList(){var e;return(null===(e=this.resourceList)||void 0===e?void 0:e.length)>0}eventBridge(){var e;return null!==(e=this.config.eventEmitter)&&void 0!==e?e:document}addEventListeners(){this.eventBridge().addEventListener(Jz,this.onSystemHealthChanged,!0),document.addEventListener("keydown",this.onDocumentKeydown)}removeEventListeners(){this.eventBridge().removeEventListener(Jz,this.onSystemHealthChanged,!0),document.removeEventListener("keydown",this.onDocumentKeydown)}static getCheckmarkTemplate(e){return e?W`<span class="checkmark">&#x2714;</span>`:W`<span class="checkmark">&#10008;</span>`}}Nu([tx],EJ.prototype,"config",void 0),Nu([gx],EJ.prototype,"networkMonitor",void 0),Nu([g],EJ.prototype,"resourceList",void 0),Nu([g],EJ.prototype,"isOpen",void 0),Nu([g],EJ.prototype,"wasOpenedByUser",void 0),Nu([g],EJ.prototype,"isDismissed",void 0),Nu([g],EJ.prototype,"templateClassNames",void 0),Nu([g],EJ.prototype,"containerClassNames",void 0),Nu([g],EJ.prototype,"isOnlineClassNames",void 0),Nu([g],EJ.prototype,"isHealthyClassNames",void 0),Nu([g],EJ.prototype,"isSocketHealthyClassNames",void 0),Nu([g],EJ.prototype,"resourcesAllConnectedClassNames",void 0),Nu([g],EJ.prototype,"timeTillNextUpdate",void 0),Nu([g],EJ.prototype,"saveDataCallback",void 0),Nu([re],EJ.prototype,"mode",void 0),Nu([re({attribute:"log-level",converter:ne})],EJ.prototype,"logLevel",void 0),Nu([g],EJ.prototype,"status",void 0);const NJ=(e,t)=>W`<template class="${e=>e.templateClassNames}"><header class="${e=>e.isHealthyClassNames}" part="header"><h1>System ${e=>wi(e.isHealthyClassNames)}</h1>${He(e=>!e.status.isHealthy,W`<span class="data-warning">Data Validity Unknown</span>`)}<div class="controls">${He(e=>e.isDismissed,W`<a href="#" class="open-button" @click="${e=>e.onOpen(!0)}">View Status</a>`)} ${He(e=>!e.isDismissed,W`<a href="#" class="update-status-button" @click="${e=>e.onUpdateStatus()}">
92
92
  Update Status </a><a href="#" class="report-status-button" @click="${e=>e.onReportStatus()}">
93
93
  Report Status </a>`)} ${He(e=>!e.status.isHealthy&&e.saveDataCallback,W`<a href="#" class="save-data-button" @click="${e=>e.saveDataCallback()}">
94
94
  Save Data </a>`)}<a href="#" class="reload-window-button" @click="${e=>e.onReloadWindow()}">
@@ -88,7 +88,7 @@ function zz(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var c
88
88
  @media only screen and (max-width: 640px) {
89
89
  :host {${e=>e.setGridItemProperties(e.colSmNumber,e.rowSmNumber,e.widthSm,e.heightSm)}}
90
90
  }
91
- </style><slot></slot></template>`;class rX extends Wt{setGridItemProperties(e,t,i,c){if(t&&e&&i&&c){return`grid-row: ${0===t||0===c?"auto":`${t} / ${Number(t)+Number(c)}`}; grid-column: ${0===e||0===i?"auto":`${e} / ${Number(e)+Number(i)}`}`}}}Ou([de({attribute:"col-number"})],rX.prototype,"colNumber",void 0),Ou([de({attribute:"col-sm-number"})],rX.prototype,"colSmNumber",void 0),Ou([de({attribute:"col-md-number"})],rX.prototype,"colMdNumber",void 0),Ou([de({attribute:"col-lg-number"})],rX.prototype,"colLgNumber",void 0),Ou([de({attribute:"row-number"})],rX.prototype,"rowNumber",void 0),Ou([de({attribute:"row-sm-number"})],rX.prototype,"rowSmNumber",void 0),Ou([de({attribute:"row-md-number"})],rX.prototype,"rowMdNumber",void 0),Ou([de({attribute:"row-lg-number"})],rX.prototype,"rowLgNumber",void 0),Ou([de({attribute:"width"})],rX.prototype,"width",void 0),Ou([de({attribute:"width-sm"})],rX.prototype,"widthSm",void 0),Ou([de({attribute:"width-md"})],rX.prototype,"widthMd",void 0),Ou([de({attribute:"width-lg"})],rX.prototype,"widthLg",void 0),Ou([de({attribute:"height"})],rX.prototype,"height",void 0),Ou([de({attribute:"height-sm"})],rX.prototype,"heightSm",void 0),Ou([de({attribute:"height-md"})],rX.prototype,"heightMd",void 0),Ou([de({attribute:"height-lg"})],rX.prototype,"heightLg",void 0),rX.compose(Object.assign({baseName:"grid-layout-item",template:nX,shadowOptions:void 0},{}));const lX=(e,t)=>Hs(e,t),dX=(e,t)=>Me` ${$h()}`;class hX extends Nh{}const uX={delegatesFocus:!0,mode:"open"},fX={nextFlipper:K`<foundation-flipper @click="${e=>e.scrollToNext()}" aria-hidden="${e=>e.flippersHiddenFromAT}"></foundation-flipper>`,previousFlipper:K`<foundation-flipper @click="${e=>e.scrollToPrevious()}" direction="previous" aria-hidden="${e=>e.flippersHiddenFromAT}"></foundation-flipper>`};hX.compose(Object.assign({baseName:"horizontal-scroll",template:lX,styles:dX,shadowOptions:uX},fX));const pX=(e,t)=>Me` ${ZK()} .fa-stack-1x{font-size: 1em}.fa-stack-2x{font-size: 2em}.tooltip-icon{color: var(--accent-foreground-rest)}.error-tooltip{color: var(--error-color)}.tooltip-element{/* Shown as a top-layer popover (see Icon.showTooltip): the top layer escapes ancestor stacking contexts, transforms and overflow clipping, so virtualized grid rows cannot paint over the bubble and no z-index is needed. Placement is inline top/left from the anchor rect, so the UA popover box (inset/margin/border/padding/background) is reset to leave the visible box to ::part(tooltip). No display rule here: the UA sheet hides the popover while closed (an author display rule would override that), and position: fixed blockifies the host while open. */ position: fixed;inset: unset;margin: 0;border: none;padding: 0;background: transparent;color: inherit;overflow: visible;width: 300px;contain: unset;/* The top layer changes painting, not style inheritance: the bubble still inherits text properties from its host context (e.g. AG Grid cells set white-space: nowrap), so reset the ones that would break a multi-line bubble. */ white-space: normal;text-overflow: clip}.tooltip-element::part(tooltip){padding: calc(var(--design-unit) * 4px);background-color: color-mix(in srgb, var(--neutral-layer-4), #000 10%);border: 1px solid var(--neutral-layer-3);text-align: left;color: var(--neutral-foreground-hint);box-shadow: 0 4px 10px rgb(0 0 0 / 35%);font-size: var(--type-ramp-minus-1-font-size)}.tooltip-title{color: var(--neutral-fill-strong-hover);margin: 0}.tooltip-description{margin-top: calc(var(--design-unit) * 2px);margin-bottom: 0;font-size: var(--type-ramp-base-font-size)}.tooltip-second-title-margin{margin-top: calc(var(--design-unit) * 2px)}.tooltip-list-padding{margin: 0;padding: 0 0 0 calc(var(--design-unit) * 4px)}a, a:active, a:visited{color: var(--accent-foreground-rest);text-decoration: none}.warning{background: var(--warning-color);color: #000}.info{margin-top: calc(var(--design-unit) * 2px);padding: 20px;margin-bottom: 20px;height: auto;box-sizing: border-box}`,mX=e=>K`<template><i ${Fe("iElement")}id="${e=>e.tooltipId}" class=${e=>`fa-${e.name} fa-${e.size} fa-${e.variant} ${ti(["error-tooltip",!(!e.isError||!e.tooltip)],["tooltip-icon",!(e.isError||!e.tooltip)])}`}part=${e=>`icon-${e.name}-${e.size}-${e.variant} i-icon`}><slot></slot></i>${Ve(e=>e.tooltip,K`<${e}-tooltip ${Fe("tooltipElement")}part="tooltip" class="tooltip-element" popover="manual" delay="0" anchor="${e=>e.tooltipId}">${e=>K` ${e.tooltip} `}</${e}-tooltip>`)}</template>`,gX=K` ${e=>mX(NC(e))} `,vX={mode:"open",delegatesFocus:!0},bX={};var yX;!function(e){e.solid="fas",e.regular="far",e.brand="fab"}(yX||(yX={}));class zX extends Wt{constructor(){super(...arguments),this.isError=!1,this.tooltipShowTimer=null,this.size="sm",this.variant="solid",this.showTooltip=()=>{const e=this.tooltipElement;e&&null===this.tooltipShowTimer&&!e.matches(":popover-open")&&(this.tooltipShowTimer=window.setTimeout(()=>{this.tooltipShowTimer=null;const e=this.tooltipElement;(null==e?void 0:e.isConnected)&&(e.showPopover(),this.positionTooltip(e))},300))},this.hideTooltip=()=>{var e;null!==this.tooltipShowTimer&&(window.clearTimeout(this.tooltipShowTimer),this.tooltipShowTimer=null),(null===(e=this.tooltipElement)||void 0===e?void 0:e.matches(":popover-open"))&&this.tooltipElement.hidePopover()}}nameChanged(e,t){t&&this.loadIcon()}sizeChanged(e,t){t&&this.loadIcon()}variantChanged(e,t){t&&this.loadIcon()}connectedCallback(){var e,t,i,c;super.connectedCallback(),this.loadIcon(),null===(e=this.iElement)||void 0===e||e.addEventListener("mouseover",this.showTooltip,{passive:!0}),null===(t=this.iElement)||void 0===t||t.addEventListener("focusin",this.showTooltip,{passive:!0}),null===(i=this.iElement)||void 0===i||i.addEventListener("mouseout",this.hideTooltip,{passive:!0}),null===(c=this.iElement)||void 0===c||c.addEventListener("focusout",this.hideTooltip,{passive:!0})}disconnectedCallback(){super.disconnectedCallback(),this.iElement.replaceChildren(),this.iElement.removeEventListener("mouseover",this.showTooltip),this.iElement.removeEventListener("focusin",this.showTooltip),this.iElement.removeEventListener("mouseout",this.hideTooltip),this.iElement.removeEventListener("focusout",this.hideTooltip),this.hideTooltip()}positionTooltip(e){const t=this.iElement.getBoundingClientRect(),i=e.getBoundingClientRect(),c=Math.max(i.width,e.scrollWidth),o=Math.max(i.height,e.scrollHeight);let s=t.right;s+c>window.innerWidth-8&&(s=Math.max(8,t.left-c));const a=Math.max(8,window.innerHeight-o-8),n=Math.min(Math.max(t.top,8),a);e.style.top=`${n}px`,e.style.left=`${s}px`}getDefaultTooltipConfig(){this.name||(this.name="question-circle",this.size="1x",this.variant="regular")}loadIcon(){if(!this.iElement)return;this.tooltip&&(this.tooltipId||(this.tooltipId=this.uuid.createId()),this.getDefaultTooltipConfig());const e=VE({prefix:yX[this.variant],iconName:this.name}),t=BE(e);t&&t.node&&(this.iElement.innerHTML="",Array.from(t.node).map(e=>this.iElement.appendChild(e)))}}Ou([b],zX.prototype,"iElement",void 0),Ou([Jv],zX.prototype,"uuid",void 0),Ou([de({attribute:"tooltip-id"})],zX.prototype,"tooltipId",void 0),Ou([de],zX.prototype,"tooltip",void 0),Ou([de({attribute:"error",mode:"boolean"})],zX.prototype,"isError",void 0),Ou([de],zX.prototype,"name",void 0),Ou([de],zX.prototype,"size",void 0),Ou([de],zX.prototype,"variant",void 0),zX.compose(Object.assign({baseName:"icon",template:gX,styles:pX,shadowOptions:vX},bX));const CX=(e,t)=>ts(),LX=(e,t)=>Me` ${hh(e)} :host{display: flex;flex-direction: column;max-width: fit-content;padding: calc(var(--design-unit) * 1px) 0;border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);border-radius: calc(var(--control-corner-radius) * 1px)}`;class xX extends Oh{}const MX=void 0,wX={};xX.compose(Object.assign({baseName:"listbox",template:CX,styles:LX,shadowOptions:MX},wX));const SX=(e,t)=>Jo(0,t),kX=(e,t)=>Me` ${Ah()}`;class EX extends Vc{}const $X=void 0,NX={};EX.compose(Object.assign({baseName:"option",template:SX,styles:kX,shadowOptions:$X},NX));const AX=(e,t)=>bs(),OX=(e,t)=>Me` ${Rh()}`;class TX extends Ih{}const RX=void 0,IX={};TX.compose(Object.assign({baseName:"menu",template:AX,styles:OX,shadowOptions:RX},IX));const DX=(e,t)=>vs(e,t),FX=(e,t)=>Me` ${Th()} :host, :host(.indent-0[aria-haspopup='menu']){align-content: center;min-height: calc(var(--design-unit) * 8px)}.expand-collapse-glyph{max-height: calc(var(--design-unit) * 4px);max-width: calc(var(--design-unit) * 4px);height: auto;width: auto}`;class HX extends gs{connectedCallback(){super.connectedCallback(),this.addEventListener("click",()=>this.$emit("onMenuClick"))}}const _X=void 0,PX={expandCollapseGlyph:'\n <svg\n class="expand-collapse-glyph"\n part="expand-collapse-glyph"\n viewBox="0 0 16 16"\n xmlns="http://www.w3.org/2000/svg">\n <path\n d="M4.023 15.273L11.29 8 4.023.727l.704-.704L12.71 8l-7.984 7.977-.704-.704z"\n />\n </svg>\n '};HX.compose(Object.assign({baseName:"menu-item",template:DX,styles:FX,shadowOptions:_X},PX));const VX=Me` ${tZ}`,BX=K` ${cZ} `,UX={mode:"open",delegatesFocus:!0},jX={};class qX extends xZ{show(){var e,t;null===(e=this.onShowCallback)||void 0===e||e.call(this),null===(t=this.mainElement)||void 0===t||t.showModal()}}qX.compose(Object.assign({baseName:"modal",template:BX,styles:VX,shadowOptions:UX},jX));const GX=(e,t)=>K`<template class="${e=>[e.readOnly?"readonly":"",e.prefix?"has-prefix":"",e.suffix?"has-suffix":""].filter(Boolean).join(" ")}"><label part="label" for="${e=>e.id?e.id:"control"}" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label-hidden"}"><slot ${Qe("defaultSlottedNodes")}></slot></label><div class="root" part="root">${it(0,t)}<div class="control-field">${Ve(e=>e.prefix,K`<span class="prefix" part="prefix" id="${e=>`${e.id||"control"}-prefix`}" ?aria-hidden="${e=>e.hideAffixFromScreenReader}">${e=>e.prefix}</span>`)}<input class="control" part="control" name="${e=>e.name}" autocomplete="${e=>e.autocomplete}" id="${e=>e.id?e.id:"control"}" @input="${e=>e.handleTextInput()}" @change="${e=>e.handleChange()}" @keydown="${(e,t)=>e.handleKeyDown(t.event)}" @blur="${(e,t)=>e.handleBlur()}" ?autofocus="${e=>e.autofocus}" ?disabled="${e=>e.disabled}" list="${e=>e.list}" maxlength="${e=>e.maxlength}" minlength="${e=>e.minlength}" placeholder="${e=>e.placeholder}" ?readonly="${e=>e.readOnly}" ?required="${e=>e.required}" size="${e=>e.size}" type="text" inputmode="numeric" min="${e=>e.min}" max="${e=>e.max}" step="${e=>e.step}" aria-atomic="${e=>e.ariaAtomic}" aria-busy="${e=>e.ariaBusy}" aria-controls="${e=>e.ariaControls}" aria-current="${e=>e.ariaCurrent}" aria-describedby="${e=>e.controlAriaDescribedby}" aria-details="${e=>e.ariaDetails}" aria-disabled="${e=>e.ariaDisabled}" aria-errormessage="${e=>e.ariaErrormessage}" aria-flowto="${e=>e.ariaFlowto}" aria-haspopup="${e=>e.ariaHaspopup}" aria-hidden="${e=>e.ariaHidden}" aria-invalid="${e=>e.ariaInvalid}" aria-keyshortcuts="${e=>e.ariaKeyshortcuts}" aria-label="${e=>e.ariaLabel}" aria-labelledby="${e=>e.ariaLabelledby}" aria-live="${e=>e.ariaLive}" aria-owns="${e=>e.ariaOwns}" aria-relevant="${e=>e.ariaRelevant}" aria-roledescription="${e=>e.ariaRoledescription}" ${Fe("control")}/>${Ve(e=>e.suffix,K`<span class="suffix" part="suffix" id="${e=>`${e.id||"control"}-suffix`}" ?aria-hidden="${e=>e.hideAffixFromScreenReader}">${e=>e.suffix}</span>`)}</div>${Ve(e=>!e.hideStep&&!e.readOnly&&!e.disabled,K`<div class="controls" part="controls"><div class="step-up" part="step-up" @click="${e=>e.stepUp()}"><slot name="step-up-glyph">${t.stepUpGlyph||""}</slot></div><div class="step-down" part="step-down" @click="${e=>e.stepDown()}"><slot name="step-down-glyph">${t.stepDownGlyph||""}</slot></div></div>`)} ${tt(0,t)}</div></template>`,WX=12345.6,YX=9,KX=(e,t)=>{var i;return{decimalSeparator:(null===(i=new Intl.NumberFormat(t).formatToParts(WX).find(e=>"decimal"===e.type))||void 0===i?void 0:i.value)||"."}},ZX=(e,t)=>{var i,c,o;const s=new Intl.NumberFormat(t).formatToParts(WX),a=null===(i=s.find(e=>"group"===e.type))||void 0===i?void 0:i.value,n=null!==(o=null===(c=s.find(e=>"decimal"===e.type))||void 0===c?void 0:c.value)&&void 0!==o?o:".";let r=e.trim();return a&&(r=r.split(a).join("")),"."!==n&&(r=r.replace(n,".")),r},QX=(e,t)=>{var i,c;const o=null!==(c=null===(i=new Intl.NumberFormat(t).formatToParts(WX).find(e=>"decimal"===e.type))||void 0===i?void 0:i.value)&&void 0!==c?c:".";let s=0;for(const t of e)t===o&&(s+=1);return s},XX=(e,t)=>QX(e,t)>1,JX=(e,t,i,c)=>((e,t,i)=>{const c=ZX(String(null!=e?e:""),t);return!(!c||!/^-?\d+$/.test(c))&&c.replace(/^-/,"").length>=i})(e,i,c)&&QX(t,i)>0,eJ=(e,t,i)=>{const c=e.startsWith("-"),o=c?e.slice(1):e,s=o.indexOf("."),a=-1===s?o:o.slice(0,s);let n=-1===s?"":o.slice(s+1);const r=i.minimumFractionDigits,l=i.maximumFractionDigits;void 0!==l&&n.length>l&&(n=n.slice(0,l)),void 0!==r&&n.length<r&&(n=n.padEnd(r,"0"));const d=((e,t)=>{var i,c;const o=e.startsWith("-"),s=o?e.slice(1):e,a=null!==(c=null===(i=new Intl.NumberFormat(t).formatToParts(1234567).find(e=>"group"===e.type))||void 0===i?void 0:i.value)&&void 0!==c?c:",",n=[];let r=s;for(;r.length>3;)n.unshift(r.slice(-3)),r=r.slice(0,-3);n.unshift(r);const l=n.join(a);return o?`-${l}`:l})(c?`-${a}`:a,t),{decimalSeparator:h}=KX(0,t);return-1===s?void 0!==r&&r>0?`${d}${h}${"0".repeat(r)}`:d:0===l?d:`${d}${h}${n}`},tJ=(e,t)=>{const{decimalSeparator:i}=KX(0,t);return"."===i?e:e.replace(/\./g,i)},iJ=(e,t,i)=>""===e?"":(e=>{const t=e.replace(/^-/,""),i=t.indexOf(".");return(-1===i?t:t.slice(0,i)).length>15})(e)&&/^-?\d+(\.\d*)?$/.test(e)?eJ(e,t,i):Intl.NumberFormat(t,i).format(Number(e)),cJ=(e,t)=>{if(!e||""===e)return e;const i=Number(e);if(isNaN(i))return e;const c=e.indexOf("."),o=-1!==c,s=o?e.length-c-1:0,a=t.minimumFractionDigits,n=t.maximumFractionDigits;if(s>=a&&s<=n)return e;let r=e;if(s<a){o||(r=e+".");r+="0".repeat(a-s)}if(s>n){const t=o?e.substring(0,c):e,i=(o?e.substring(c+1):"").substring(0,n);r=0===n?t:`${t}.${i}`}return r},oJ=(e,t,i=!0,c)=>{if(null==e||""===e)return"";const o="number"==typeof e?e.toString():e,s=null!=c?c:12;if(XX(o,t))return"";let a;if(i)a=((e,t)=>{const i=ZX(String(e),t),c=i.replace(/^-/,"").replace(".","").length;return/^-?\d+(\.\d+)?$/.test(i)&&c>15?i:String(new cp(t).parse(String(e)))})(o,t);else{const{decimalSeparator:e}=KX(0,t);if("."!==e){a=o.replace(new RegExp(`\\${e}`,"g"),".");const t=a.indexOf(".");-1!==t&&(a=a.substring(0,t))}else a=o}a=String(a);if(!/^-?\d*\.?\d+$/.test(a))return"";if(void 0!==s){if(a.replace(".","").replace(/^0+/,"").length>s){const e=a.indexOf(".");if(-1!==e){const t=a.substring(0,e),i=t.length;if(i>=s)return a.substring(0,s);{const c=s-i;return`${t}.${a.substring(e+1).substring(0,c)}`}}return a.substring(0,s)}}return a},sJ=(e,t,i,c)=>{if(void 0!==i&&QX(e,t)>0){const o=ZX(e,t),s=o.indexOf("."),a=-1===s?o:o.slice(0,s);if(JX(void 0!==c?c:a,e,t,i))return""}return((e,t,i)=>{const{decimalSeparator:c}=KX(0,i),o=c.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),s=new RegExp(`${o}(\\d*?)(0+)$`),a=e.match(s);if(a){const e=a[1],i=a[2],c=String(t);if(!isNaN(Number(t))){if(c.includes(".")){const t=c.split(".")[1],o=Math.max(0,i.length-(t.length-e.length));return c+"0".repeat(o)}return c+"."+e+i}}return String(t)})(e,oJ(e,t,!0,i),t)},aJ=(e,t,i=!0,c,o,s)=>{const a=oJ(e,t,i,s);if(!a)return"";const n=a.replace(/^-/,"").replace(".","").length;if(/^-?\d+$/.test(a)&&n>15)try{return((e,t,i)=>{let c=BigInt(e);if(void 0!==i&&!Number.isNaN(i)){const e=BigInt(Math.trunc(i));c>e&&(c=e)}if(void 0!==t&&!Number.isNaN(t)){const e=BigInt(Math.trunc(t));c<e&&(c=e)}return c.toString()})(a,c,o)}catch(e){return a}let r=parseFloat(a);return isNaN(r)?r="":(r=Math.min(r,null!=o?o:r),r=Math.max(r,null!=c?c:r)),String(r)},nJ=e=>{try{const t="string"==typeof e?e:e.toString(),i=t.indexOf(".");if(-1===i)return 1;const c=t.substring(i+1).length;if(0===c)return 1;const o=Math.pow(10,-c);return parseFloat(o.toFixed(c))}catch(t){const i="string"==typeof e?e:e.toString(),c=i.indexOf(".");if(-1===c)return 1;const o=i.substring(c+1).length;if(0===o)return 1;const s=Math.pow(10,-o);return parseFloat(s.toFixed(o))}};class rJ extends(hQ(Fh)){constructor(){super(...arguments),this.autocomplete="off",this.hideStep=!1,this.value="",this.withFormatting=!1,this.locale="en-US",this.autoStepPrecision=!1,this.maximumInputPrecision=12,this.options={maximumFractionDigits:3,minimumFractionDigits:0}}autocompleteChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.autocomplete=this.autocomplete)}stepUp(){if(/^-?\d*\.?\d+$/.test(this.value)&&""!==this.value){let e;e=this.autoStepPrecision?nJ(this.value):this.step;const t=((e,t)=>{try{const i="string"==typeof e?e:e.toString(),c=i.indexOf(".");if(-1===c)return(parseInt(i)+t).toString();const o=i.substring(c+1),s=o.length-1,a=parseInt(o.charAt(s))+1;if(a<=YX){const e=o.substring(0,s)+a;return i.substring(0,c+1)+e}{let e="",t=1;for(let i=s;i>=0;i-=1){const c=parseInt(o.charAt(i))+t;c<=YX?(e=c+e,t=0):(e="0"+e,t=1)}return 1===t?parseInt(i.substring(0,c))+1+"."+e:i.substring(0,c+1)+e}}catch(i){return(("string"==typeof e?parseFloat(e):e)+t).toString()}})(this.value,e);this.value=t.toString()}else{const e=this.min>0?this.min:this.max<0?this.max:this.min?0:this.step;this.value=e.toString()}this.control&&(void 0!==this.min||void 0!==this.max?this.control.value=aJ(this.value,this.locale,this.withFormatting,this.min,this.max,this.maximumInputPrecision):this.control.value=this.value),this.handleTextInput()}stepDown(){if(/^-?\d*\.?\d+$/.test(this.value)&&""!==this.value){let e;e=this.autoStepPrecision?nJ(this.value):this.step;const t=((e,t)=>{try{const i="string"==typeof e?e:e.toString(),c=i.indexOf(".");if(-1===c)return(parseInt(i)-t).toString();const o=i.substring(c+1),s=o.length-1,a=parseInt(o.charAt(s))-1;if(a>=0){const e=o.substring(0,s)+a;return i.substring(0,c+1)+e}{let e="",t=1;for(let i=s;i>=0;i-=1){const c=parseInt(o.charAt(i))-t;c>=0?(e=c+e,t=0):(e=YX.toString()+e,t=1)}return 1===t?parseInt(i.substring(0,c))-1+"."+e:i.substring(0,c+1)+e}}catch(i){return(("string"==typeof e?parseFloat(e):e)-t).toString()}})(this.value,e);this.value=t.toString()}else{const e=this.min>0?this.min:this.max<0?this.max:this.min?0:0-this.step;this.value=e.toString()}this.control&&(void 0!==this.min||void 0!==this.max?this.control.value=aJ(this.value,this.locale,this.withFormatting,this.min,this.max,this.maximumInputPrecision):this.control.value=this.value),this.handleTextInput()}hasSeparatorWithoutDecimals(){return new RegExp("[.]$")}restoreControlToCommittedValue(){if(!this.control)return;const e=this.value;if(!e)return this.control.value="",void(this.isUserInput=!1);this.control.value=this.withFormatting&&e?iJ(e,this.locale,this.options):tJ(String(e),this.locale),this.isUserInput=!1}handleTextInput(){this.control&&"-"!==this.control.value&&"-0"!==this.control.value&&(XX(this.control.value,this.locale)||JX(this.value,this.control.value,this.locale,this.maximumInputPrecision)?this.restoreControlToCommittedValue():(this.isUserInput=!0,this.withFormatting&&!new cp(this.locale).hasSeparator(this.control.value)?p.queueUpdate(()=>{const e=this.value,t=sJ(this.control.value,this.locale,this.maximumInputPrecision,this.value);if(t||!e||""===this.control.value){if(this.control){const e=this.withFormatting&&""!==t?iJ(t,this.locale,this.options):tJ(t,this.locale);this.control.value=cJ(e,this.options)}this.value=cJ(t,this.options),this.$emit("input")}else this.restoreControlToCommittedValue()}):this.withFormatting||this.hasSeparatorWithoutDecimals().test(this.control.value)||p.queueUpdate(()=>{var e;this.control&&(this.control.value=this.control.value.replace(/[^0-9\-+e.]/g,"")),this.value=(null===(e=this.control)||void 0===e?void 0:e.value)||"",this.$emit("input")})))}valueChanged(e,t){if(null!=t||!this.control)return null!=t&&t!==e?this.isUserInput?void 0:(this.value=aJ(this.value,this.locale,!1,this.min,this.max,this.maximumInputPrecision),void p.queueUpdate(()=>{this.isUserInput||this.control&&(this.control.value=this.withFormatting&&this.value?iJ(this.value,this.locale,this.options):this.value)})):void 0;this.control.value=""}handleBlur(){if(!this.control)return;this.isUserInput=!1;const e=aJ(this.control.value,this.locale,this.withFormatting,this.min,this.max,this.maximumInputPrecision);e&&/^-?\d*\.?\d+$/.test(e)&&(this.value=this.withFormatting?cJ(e,this.options):e),this.control.value=this.withFormatting&&this.value?iJ(this.value,this.locale,this.options):e,this.$emit("input")}}Ou([de],rJ.prototype,"autocomplete",void 0),Ou([de({mode:"boolean"})],rJ.prototype,"hideStep",void 0),Ou([de({converter:{fromView:e=>null==e?"":String(e),toView:e=>e}})],rJ.prototype,"value",void 0),Ou([de({mode:"boolean"})],rJ.prototype,"withFormatting",void 0),Ou([de],rJ.prototype,"locale",void 0),Ou([de({mode:"boolean"})],rJ.prototype,"autoStepPrecision",void 0),Ou([de],rJ.prototype,"maximumInputPrecision",void 0);const lJ={delegatesFocus:!0,mode:"open"},dJ={stepDownGlyph:'\n <svg class="step-down-glyph" viewBox="0 0 24 24" width="1rem" height="1rem" xmlns="http://www.w3.org/2000/svg">\n <path d="M6.1018 8C5.02785 8 4.45387 9.2649 5.16108 10.0731L10.6829 16.3838C11.3801 17.1806 12.6197 17.1806 13.3169 16.3838L18.8388 10.0731C19.5459 9.2649 18.972 8 17.898 8H6.1018Z"/>\n </svg>\n ',stepUpGlyph:'\n <svg class="step-up-glyph" viewBox="0 0 24 24" width="1rem" height="1rem" xmlns="http://www.w3.org/2000/svg">\n <path d="M6.1018 16.9814C5.02785 16.9814 4.45387 15.7165 5.16108 14.9083L10.6829 8.59762C11.3801 7.80079 12.6197 7.80079 13.3169 8.59762L18.8388 14.9083C19.5459 15.7165 18.972 16.9814 17.898 16.9814H6.1018Z"/>\n </svg>\n '};rJ.compose(Object.assign({baseName:"number-field",template:GX,styles:(e,t)=>Me` ${Dh()} ::part(label){color: var(--neutral-foreground-rest)}fast-text-field{display: unset}.controls{margin-bottom: auto;margin-inline-end: 5px;margin-top: auto}.step-down, .step-up{display: block;fill: var(--neutral-foreground-rest)}.step-down-glyph, .step-up-glyph{padding: unset}::part(end){margin-inline-end: unset}${fQ}`,shadowOptions:lJ},dJ));const hJ=(e,t)=>Me` :host{display: block}.label{display: flex;align-items: center;padding: 0 10px;height: 32px;font-weight: bold;user-select: none}.items{display: flex;flex-direction: column}/* Indent options inside the group */ ::slotted(*){padding-left: 20px}`,uJ=(e,t)=>K`<template role="option"><div class="label" part="label" role="presentation">${e=>e.groupLabel}</div><div class="items" part="items" role="group" aria-label="${e=>e.groupLabel}"><slot></slot></div></template>`;class fJ extends Vc{connectedCallback(){super.connectedCallback(),this.disabled=!0}}Ou([de({attribute:"label"})],fJ.prototype,"groupLabel",void 0),fJ.compose({baseName:"optgroup",template:uJ,styles:hJ});const pJ=(e,t)=>Ns(0,t),mJ=(e,t)=>Me` ${_h()} :host{height: calc(var(--design-unit) * 2px)}`;class gJ extends $s{}const vJ=void 0,bJ={indeterminateIndicator1:'<span class="indeterminate-indicator-1" part="indeterminate-indicator-1"></span>',indeterminateIndicator2:'<span class="indeterminate-indicator-1" part="indeterminate-indicator-1"></span>'},yJ=gJ.compose(Object.assign({baseName:"progress",template:pJ,styles:mJ,shadowOptions:vJ},bJ));const zJ="app",CJ="component";((e,t="foundation",i,c)=>{e&&iw(null!=i?i:zw,null!=c?c:ww,e);return function(e){return new Proxy(e,{get:(e,t,...i)=>{if(["withPrefix","withShadowRootMode","withElementDisambiguation"].includes(t))throw new Error("Modification of the Design System is not allowed.");return Reflect.get(e,t,...i)}})}(wo.getOrCreate(e).withPrefix(t))})().register(yJ({prefix:"next-update"}));class LJ extends Wt{constructor(){super(...arguments),this.timeTillNextUpdate={totalMs:1e4,remainMs:1e4,remainPercent:100},this.mode=zJ,this.status={isOnline:!0,isHealthy:!0,browserInformation:{},socket:{},resources:{}},this.onSystemHealthChanged=e=>{this.status=e.detail,this.resourceList=Object.values(this.status.resources).sort((e,t)=>Number(t.isConnected)-Number(e.isConnected))},this.onOpen=(e=!1)=>{this.isOpen=!0,this.wasOpenedByUser=e,this.isDismissed=!1},this.onClose=()=>{this.isOpen=!1,this.wasOpenedByUser=!1,this.isDismissed=!1},this.onDismiss=()=>{this.isDismissed||this.status.isHealthy?this.onClose():this.isDismissed=!0},this.onUpdateStatus=()=>{this.status.runAllChecks()},this.onReportStatus=()=>{this.status.reportStabilityToGenesis()},this.onReloadWindow=()=>{location.reload()},this.onDocumentKeydown=e=>{if(!e.defaultPrevented)switch(e.key){case Ci.ArrowUp:e.ctrlKey&&e.altKey&&!this.isOpen&&(this.onOpen(!0),e.preventDefault());break;case Ci.ArrowDown:e.ctrlKey&&e.altKey&&this.isOpen&&(this.onClose(),e.preventDefault());break;case gi:this.isOpen&&(this.onDismiss(),e.preventDefault())}}}isOpenChanged(){this.updateTemplateClassNames()}isDismissedChanged(){this.updateTemplateClassNames()}modeChanged(){this.$fastController.isConnected&&this.mode===CJ&&SC.warn("SystemHealthOverlay has support for app overlays only right now.")}logLevelChanged(){fC.level=this.logLevel}statusChanged(e,t){this.updateClassNames(),this.$fastController.isConnected&&(!1!==(null==t?void 0:t.isHealthy)||this.isOpen||this.onOpen(),!0===(null==t?void 0:t.isHealthy)&&this.isOpen&&!this.wasOpenedByUser&&this.onClose(),this.startTimeTillNextUpdateCountdown())}updateClassNames(){this.isOnlineClassNames=ti(["healthy",this.status.isOnline],["unhealthy",!this.status.isOnline]),this.isHealthyClassNames=ti(["healthy",this.status.isHealthy],["unhealthy",!this.status.isHealthy]),this.isSocketHealthyClassNames=ti(["healthy",this.isSocketHealthy],["unhealthy",!this.isSocketHealthy]),this.resourcesAllConnectedClassNames=ti(["healthy",this.status.resourcesAllConnected],["unhealthy",!this.status.resourcesAllConnected],["hidden",!this.validResourceList]),this.updateTemplateClassNames()}updateTemplateClassNames(){this.templateClassNames=ti(["open",this.isOpen],["dismissed",this.isDismissed]),this.containerClassNames=ti(this.isHealthyClassNames,["open",this.isOpen],["dismissed",this.isDismissed])}startTimeTillNextUpdateCountdown(){const e=this.status.nextUpdate-Date.now();let t=e,i=100;clearInterval(this.timeTillNextUpdateInterval),this.timeTillNextUpdate={totalMs:e,remainMs:t,remainPercent:i},this.timeTillNextUpdateInterval=setInterval(()=>{t-=1e3,i=Math.floor(t/e*100),this.timeTillNextUpdate={totalMs:e,remainMs:t,remainPercent:i},t<0&&clearInterval(this.timeTillNextUpdateInterval)},1e3)}connectedCallback(){super.connectedCallback(),this.networkMonitor.create(),this.addEventListeners()}disconnectedCallback(){super.disconnectedCallback(),this.networkMonitor.destroy(),this.removeEventListeners()}get isSocketHealthy(){return this.status.isOnline&&(!this.status.socket.isConfigured||this.status.socket.isConfigured&&this.status.socket.isConnected)}get validResourceList(){var e;return(null===(e=this.resourceList)||void 0===e?void 0:e.length)>0}eventBridge(){var e;return null!==(e=this.config.eventEmitter)&&void 0!==e?e:document}addEventListeners(){this.eventBridge().addEventListener(tC,this.onSystemHealthChanged,!0),document.addEventListener("keydown",this.onDocumentKeydown)}removeEventListeners(){this.eventBridge().removeEventListener(tC,this.onSystemHealthChanged,!0),document.removeEventListener("keydown",this.onDocumentKeydown)}static getCheckmarkTemplate(e){return e?K`<span class="checkmark">&#x2714;</span>`:K`<span class="checkmark">&#10008;</span>`}}Ou([cC],LJ.prototype,"config",void 0),Ou([bC],LJ.prototype,"networkMonitor",void 0),Ou([b],LJ.prototype,"resourceList",void 0),Ou([b],LJ.prototype,"isOpen",void 0),Ou([b],LJ.prototype,"wasOpenedByUser",void 0),Ou([b],LJ.prototype,"isDismissed",void 0),Ou([b],LJ.prototype,"templateClassNames",void 0),Ou([b],LJ.prototype,"containerClassNames",void 0),Ou([b],LJ.prototype,"isOnlineClassNames",void 0),Ou([b],LJ.prototype,"isHealthyClassNames",void 0),Ou([b],LJ.prototype,"isSocketHealthyClassNames",void 0),Ou([b],LJ.prototype,"resourcesAllConnectedClassNames",void 0),Ou([b],LJ.prototype,"timeTillNextUpdate",void 0),Ou([b],LJ.prototype,"saveDataCallback",void 0),Ou([de],LJ.prototype,"mode",void 0),Ou([de({attribute:"log-level",converter:re})],LJ.prototype,"logLevel",void 0),Ou([b],LJ.prototype,"status",void 0);const xJ=(e,t)=>K`<template class="${e=>e.templateClassNames}"><header class="${e=>e.isHealthyClassNames}" part="header"><h1>System ${e=>ki(e.isHealthyClassNames)}</h1>${Ve(e=>!e.status.isHealthy,K`<span class="data-warning">Data Validity Unknown</span>`)}<div class="controls">${Ve(e=>e.isDismissed,K`<a href="#" class="open-button" @click="${e=>e.onOpen(!0)}">View Status</a>`)} ${Ve(e=>!e.isDismissed,K`<a href="#" class="update-status-button" @click="${e=>e.onUpdateStatus()}">
91
+ </style><slot></slot></template>`;class rX extends Wt{setGridItemProperties(e,t,i,c){if(t&&e&&i&&c){return`grid-row: ${0===t||0===c?"auto":`${t} / ${Number(t)+Number(c)}`}; grid-column: ${0===e||0===i?"auto":`${e} / ${Number(e)+Number(i)}`}`}}}Ou([de({attribute:"col-number"})],rX.prototype,"colNumber",void 0),Ou([de({attribute:"col-sm-number"})],rX.prototype,"colSmNumber",void 0),Ou([de({attribute:"col-md-number"})],rX.prototype,"colMdNumber",void 0),Ou([de({attribute:"col-lg-number"})],rX.prototype,"colLgNumber",void 0),Ou([de({attribute:"row-number"})],rX.prototype,"rowNumber",void 0),Ou([de({attribute:"row-sm-number"})],rX.prototype,"rowSmNumber",void 0),Ou([de({attribute:"row-md-number"})],rX.prototype,"rowMdNumber",void 0),Ou([de({attribute:"row-lg-number"})],rX.prototype,"rowLgNumber",void 0),Ou([de({attribute:"width"})],rX.prototype,"width",void 0),Ou([de({attribute:"width-sm"})],rX.prototype,"widthSm",void 0),Ou([de({attribute:"width-md"})],rX.prototype,"widthMd",void 0),Ou([de({attribute:"width-lg"})],rX.prototype,"widthLg",void 0),Ou([de({attribute:"height"})],rX.prototype,"height",void 0),Ou([de({attribute:"height-sm"})],rX.prototype,"heightSm",void 0),Ou([de({attribute:"height-md"})],rX.prototype,"heightMd",void 0),Ou([de({attribute:"height-lg"})],rX.prototype,"heightLg",void 0),rX.compose(Object.assign({baseName:"grid-layout-item",template:nX,shadowOptions:void 0},{}));const lX=(e,t)=>Hs(e,t),dX=(e,t)=>Me` ${$h()}`;class hX extends Nh{}const uX={delegatesFocus:!0,mode:"open"},fX={nextFlipper:K`<foundation-flipper @click="${e=>e.scrollToNext()}" aria-hidden="${e=>e.flippersHiddenFromAT}"></foundation-flipper>`,previousFlipper:K`<foundation-flipper @click="${e=>e.scrollToPrevious()}" direction="previous" aria-hidden="${e=>e.flippersHiddenFromAT}"></foundation-flipper>`};hX.compose(Object.assign({baseName:"horizontal-scroll",template:lX,styles:dX,shadowOptions:uX},fX));const pX=(e,t)=>Me` ${ZK()} .fa-stack-1x{font-size: 1em}.fa-stack-2x{font-size: 2em}.tooltip-icon{color: var(--accent-foreground-rest)}.error-tooltip{color: var(--error-color)}.tooltip-element{/* Shown as a top-layer popover (see Icon.showTooltip): the top layer escapes ancestor stacking contexts, transforms and overflow clipping, so virtualized grid rows cannot paint over the bubble and no z-index is needed. Placement is inline top/left from the anchor rect, so the UA popover box (inset/margin/border/padding/background) is reset to leave the visible box to ::part(tooltip). No display rule here: the UA sheet hides the popover while closed (an author display rule would override that), and position: fixed blockifies the host while open. */ position: fixed;inset: unset;margin: 0;border: none;padding: 0;background: transparent;color: inherit;overflow: visible;width: 300px;contain: unset;/* The top layer changes painting, not style inheritance: the bubble still inherits text properties from its host context (e.g. AG Grid cells set white-space: nowrap), so reset the ones that would break a multi-line bubble. */ white-space: normal;text-overflow: clip}.tooltip-element::part(tooltip){padding: calc(var(--design-unit) * 4px);background-color: color-mix(in srgb, var(--neutral-layer-4), #000 10%);border: 1px solid var(--neutral-layer-3);text-align: left;color: var(--neutral-foreground-hint);box-shadow: 0 4px 10px rgb(0 0 0 / 35%);font-size: var(--type-ramp-minus-1-font-size)}.tooltip-title{color: var(--neutral-fill-strong-hover);margin: 0}.tooltip-description{margin-top: calc(var(--design-unit) * 2px);margin-bottom: 0;font-size: var(--type-ramp-base-font-size)}.tooltip-second-title-margin{margin-top: calc(var(--design-unit) * 2px)}.tooltip-list-padding{margin: 0;padding: 0 0 0 calc(var(--design-unit) * 4px)}a, a:active, a:visited{color: var(--accent-foreground-rest);text-decoration: none}.warning{background: var(--warning-color);color: #000}.info{margin-top: calc(var(--design-unit) * 2px);padding: 20px;margin-bottom: 20px;height: auto;box-sizing: border-box}`,mX=e=>K`<template><i ${Fe("iElement")}id="${e=>e.tooltipId}" class=${e=>`fa-${e.name} fa-${e.size} fa-${e.variant} ${ti(["error-tooltip",!(!e.isError||!e.tooltip)],["tooltip-icon",!(e.isError||!e.tooltip)])}`}part=${e=>`icon-${e.name}-${e.size}-${e.variant} i-icon`}><slot></slot></i>${Ve(e=>e.tooltip,K`<${e}-tooltip ${Fe("tooltipElement")}part="tooltip" class="tooltip-element" popover="manual" delay="0" anchor="${e=>e.tooltipId}">${e=>K` ${e.tooltip} `}</${e}-tooltip>`)}</template>`,gX=K` ${e=>mX(NC(e))} `,vX={mode:"open",delegatesFocus:!0},bX={};var yX;!function(e){e.solid="fas",e.regular="far",e.brand="fab"}(yX||(yX={}));class zX extends Wt{constructor(){super(...arguments),this.isError=!1,this.tooltipShowTimer=null,this.size="sm",this.variant="solid",this.showTooltip=()=>{const e=this.tooltipElement;e&&null===this.tooltipShowTimer&&!e.matches(":popover-open")&&(this.tooltipShowTimer=window.setTimeout(()=>{this.tooltipShowTimer=null;const e=this.tooltipElement;(null==e?void 0:e.isConnected)&&(e.showPopover(),this.positionTooltip(e))},300))},this.hideTooltip=()=>{var e;null!==this.tooltipShowTimer&&(window.clearTimeout(this.tooltipShowTimer),this.tooltipShowTimer=null),(null===(e=this.tooltipElement)||void 0===e?void 0:e.matches(":popover-open"))&&this.tooltipElement.hidePopover()}}nameChanged(e,t){t&&this.loadIcon()}sizeChanged(e,t){t&&this.loadIcon()}variantChanged(e,t){t&&this.loadIcon()}connectedCallback(){var e,t,i,c;super.connectedCallback(),this.loadIcon(),null===(e=this.iElement)||void 0===e||e.addEventListener("mouseover",this.showTooltip,{passive:!0}),null===(t=this.iElement)||void 0===t||t.addEventListener("focusin",this.showTooltip,{passive:!0}),null===(i=this.iElement)||void 0===i||i.addEventListener("mouseout",this.hideTooltip,{passive:!0}),null===(c=this.iElement)||void 0===c||c.addEventListener("focusout",this.hideTooltip,{passive:!0})}disconnectedCallback(){super.disconnectedCallback(),this.iElement.replaceChildren(),this.iElement.removeEventListener("mouseover",this.showTooltip),this.iElement.removeEventListener("focusin",this.showTooltip),this.iElement.removeEventListener("mouseout",this.hideTooltip),this.iElement.removeEventListener("focusout",this.hideTooltip),this.hideTooltip()}positionTooltip(e){const t=this.iElement.getBoundingClientRect(),i=e.getBoundingClientRect(),c=Math.max(i.width,e.scrollWidth),o=Math.max(i.height,e.scrollHeight);let s=t.right;s+c>window.innerWidth-8&&(s=Math.max(8,t.left-c));const a=Math.max(8,window.innerHeight-o-8),n=Math.min(Math.max(t.top,8),a);e.style.top=`${n}px`,e.style.left=`${s}px`}getDefaultTooltipConfig(){this.name||(this.name="question-circle",this.size="1x",this.variant="regular")}loadIcon(){if(!this.iElement)return;this.tooltip&&(this.tooltipId||(this.tooltipId=this.uuid.createId()),this.getDefaultTooltipConfig());const e=VE({prefix:yX[this.variant],iconName:this.name}),t=BE(e);t&&t.node&&(this.iElement.innerHTML="",Array.from(t.node).map(e=>this.iElement.appendChild(e)))}}Ou([b],zX.prototype,"iElement",void 0),Ou([Jv],zX.prototype,"uuid",void 0),Ou([de({attribute:"tooltip-id"})],zX.prototype,"tooltipId",void 0),Ou([de],zX.prototype,"tooltip",void 0),Ou([de({attribute:"error",mode:"boolean"})],zX.prototype,"isError",void 0),Ou([de],zX.prototype,"name",void 0),Ou([de],zX.prototype,"size",void 0),Ou([de],zX.prototype,"variant",void 0),zX.compose(Object.assign({baseName:"icon",template:gX,styles:pX,shadowOptions:vX},bX));const CX=(e,t)=>ts(),LX=(e,t)=>Me` ${hh(e)} :host{display: flex;flex-direction: column;max-width: fit-content;padding: calc(var(--design-unit) * 1px) 0;border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);border-radius: calc(var(--control-corner-radius) * 1px)}`;class xX extends Oh{}const MX=void 0,wX={};xX.compose(Object.assign({baseName:"listbox",template:CX,styles:LX,shadowOptions:MX},wX));const SX=(e,t)=>Jo(0,t),kX=(e,t)=>Me` ${Ah()}`;class EX extends Vc{}const $X=void 0,NX={};EX.compose(Object.assign({baseName:"option",template:SX,styles:kX,shadowOptions:$X},NX));const AX=(e,t)=>bs(),OX=(e,t)=>Me` ${Rh()}`;class TX extends Ih{}const RX=void 0,IX={};TX.compose(Object.assign({baseName:"menu",template:AX,styles:OX,shadowOptions:RX},IX));const DX=(e,t)=>vs(e,t),FX=(e,t)=>Me` ${Th()} :host, :host(.indent-0[aria-haspopup='menu']){align-content: center;min-height: calc(var(--design-unit) * 8px)}.expand-collapse-glyph{max-height: calc(var(--design-unit) * 4px);max-width: calc(var(--design-unit) * 4px);height: auto;width: auto}`;class HX extends gs{connectedCallback(){super.connectedCallback(),this.addEventListener("click",()=>this.$emit("onMenuClick"))}}const _X=void 0,PX={expandCollapseGlyph:'\n <svg\n class="expand-collapse-glyph"\n part="expand-collapse-glyph"\n viewBox="0 0 16 16"\n xmlns="http://www.w3.org/2000/svg">\n <path\n d="M4.023 15.273L11.29 8 4.023.727l.704-.704L12.71 8l-7.984 7.977-.704-.704z"\n />\n </svg>\n '};HX.compose(Object.assign({baseName:"menu-item",template:DX,styles:FX,shadowOptions:_X},PX));const VX=Me` ${tZ}`,BX=K` ${cZ} `,UX={mode:"open",delegatesFocus:!0},jX={};class qX extends xZ{show(){var e,t;null===(e=this.onShowCallback)||void 0===e||e.call(this),null===(t=this.mainElement)||void 0===t||t.showModal()}}qX.compose(Object.assign({baseName:"modal",template:BX,styles:VX,shadowOptions:UX},jX));const GX=(e,t)=>K`<template class="${e=>[e.readOnly?"readonly":"",e.prefix?"has-prefix":"",e.suffix?"has-suffix":""].filter(Boolean).join(" ")}"><label part="label" for="${e=>e.id?e.id:"control"}" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label-hidden"}"><slot ${Qe("defaultSlottedNodes")}></slot></label><div class="root" part="root">${it(0,t)}<div class="control-field">${Ve(e=>e.prefix,K`<span class="prefix" part="prefix" id="${e=>`${e.id||"control"}-prefix`}" ?aria-hidden="${e=>e.hideAffixFromScreenReader}">${e=>e.prefix}</span>`)}<input class="control" part="control" name="${e=>e.name}" autocomplete="${e=>e.autocomplete}" id="${e=>e.id?e.id:"control"}" @input="${e=>e.handleTextInput()}" @change="${e=>e.handleChange()}" @keydown="${(e,t)=>e.handleKeyDown(t.event)}" @blur="${(e,t)=>e.handleBlur()}" ?autofocus="${e=>e.autofocus}" ?disabled="${e=>e.disabled}" list="${e=>e.list}" maxlength="${e=>e.maxlength}" minlength="${e=>e.minlength}" placeholder="${e=>e.placeholder}" ?readonly="${e=>e.readOnly}" ?required="${e=>e.required}" size="${e=>e.size}" type="text" inputmode="numeric" min="${e=>e.min}" max="${e=>e.max}" step="${e=>e.step}" aria-atomic="${e=>e.ariaAtomic}" aria-busy="${e=>e.ariaBusy}" aria-controls="${e=>e.ariaControls}" aria-current="${e=>e.ariaCurrent}" aria-describedby="${e=>e.controlAriaDescribedby}" aria-details="${e=>e.ariaDetails}" aria-disabled="${e=>e.ariaDisabled}" aria-errormessage="${e=>e.ariaErrormessage}" aria-flowto="${e=>e.ariaFlowto}" aria-haspopup="${e=>e.ariaHaspopup}" aria-hidden="${e=>e.ariaHidden}" aria-invalid="${e=>e.ariaInvalid}" aria-keyshortcuts="${e=>e.ariaKeyshortcuts}" aria-label="${e=>e.ariaLabel}" aria-labelledby="${e=>e.ariaLabelledby}" aria-live="${e=>e.ariaLive}" aria-owns="${e=>e.ariaOwns}" aria-relevant="${e=>e.ariaRelevant}" aria-roledescription="${e=>e.ariaRoledescription}" ${Fe("control")}/>${Ve(e=>e.suffix,K`<span class="suffix" part="suffix" id="${e=>`${e.id||"control"}-suffix`}" ?aria-hidden="${e=>e.hideAffixFromScreenReader}">${e=>e.suffix}</span>`)}</div>${Ve(e=>!e.hideStep&&!e.readOnly&&!e.disabled,K`<div class="controls" part="controls"><div class="step-up" part="step-up" @click="${e=>e.stepUp()}"><slot name="step-up-glyph">${t.stepUpGlyph||""}</slot></div><div class="step-down" part="step-down" @click="${e=>e.stepDown()}"><slot name="step-down-glyph">${t.stepDownGlyph||""}</slot></div></div>`)} ${tt(0,t)}</div></template>`,WX=12345.6,YX=9,KX=(e,t)=>{var i;return{decimalSeparator:(null===(i=new Intl.NumberFormat(t).formatToParts(WX).find(e=>"decimal"===e.type))||void 0===i?void 0:i.value)||"."}},ZX=(e,t)=>{var i,c,o;const s=new Intl.NumberFormat(t).formatToParts(WX),a=null===(i=s.find(e=>"group"===e.type))||void 0===i?void 0:i.value,n=null!==(o=null===(c=s.find(e=>"decimal"===e.type))||void 0===c?void 0:c.value)&&void 0!==o?o:".";let r=e.trim();return a&&(r=r.split(a).join("")),"."!==n&&(r=r.replace(n,".")),r},QX=(e,t)=>{var i,c;const o=null!==(c=null===(i=new Intl.NumberFormat(t).formatToParts(WX).find(e=>"decimal"===e.type))||void 0===i?void 0:i.value)&&void 0!==c?c:".";let s=0;for(const t of e)t===o&&(s+=1);return s},XX=(e,t)=>QX(e,t)>1,JX=(e,t,i,c)=>((e,t,i)=>{const c=ZX(String(null!=e?e:""),t);return!(!c||!/^-?\d+$/.test(c))&&c.replace(/^-/,"").length>=i})(e,i,c)&&QX(t,i)>0,eJ=(e,t,i)=>{const c=e.startsWith("-"),o=c?e.slice(1):e,s=o.indexOf("."),a=-1===s?o:o.slice(0,s);let n=-1===s?"":o.slice(s+1);const r=i.minimumFractionDigits,l=i.maximumFractionDigits;void 0!==l&&n.length>l&&(n=n.slice(0,l)),void 0!==r&&n.length<r&&(n=n.padEnd(r,"0"));const d=((e,t)=>{var i,c;const o=e.startsWith("-"),s=o?e.slice(1):e,a=null!==(c=null===(i=new Intl.NumberFormat(t).formatToParts(1234567).find(e=>"group"===e.type))||void 0===i?void 0:i.value)&&void 0!==c?c:",",n=[];let r=s;for(;r.length>3;)n.unshift(r.slice(-3)),r=r.slice(0,-3);n.unshift(r);const l=n.join(a);return o?`-${l}`:l})(c?`-${a}`:a,t),{decimalSeparator:h}=KX(0,t);return-1===s?void 0!==r&&r>0?`${d}${h}${"0".repeat(r)}`:d:0===l?d:`${d}${h}${n}`},tJ=(e,t)=>{const{decimalSeparator:i}=KX(0,t);return"."===i?e:e.replace(/\./g,i)},iJ=(e,t,i)=>""===e?"":(e=>{const t=e.replace(/^-/,""),i=t.indexOf(".");return(-1===i?t:t.slice(0,i)).length>15})(e)&&/^-?\d+(\.\d*)?$/.test(e)?eJ(e,t,i):Intl.NumberFormat(t,i).format(Number(e)),cJ=(e,t)=>{if(!e||""===e)return e;const i=Number(e);if(isNaN(i))return e;const c=e.indexOf("."),o=-1!==c,s=o?e.length-c-1:0,a=t.minimumFractionDigits,n=t.maximumFractionDigits;if(s>=a&&s<=n)return e;let r=e;if(s<a){o||(r=e+".");r+="0".repeat(a-s)}if(s>n){const t=o?e.substring(0,c):e,i=(o?e.substring(c+1):"").substring(0,n);r=0===n?t:`${t}.${i}`}return r},oJ=(e,t,i=!0,c)=>{if(null==e||""===e)return"";const o="number"==typeof e?e.toString():e,s=null!=c?c:12;if(XX(o,t))return"";let a;if(i)a=((e,t)=>{const i=ZX(String(e),t),c=i.replace(/^-/,"").replace(".","").length;return/^-?\d+(\.\d+)?$/.test(i)&&c>15?i:String(new cp(t).parse(String(e)))})(o,t);else{const{decimalSeparator:e}=KX(0,t);if("."!==e){a=o.replace(new RegExp(`\\${e}`,"g"),".");const t=a.indexOf(".");-1!==t&&(a=a.substring(0,t))}else a=o}a=String(a);if(!/^-?\d*\.?\d+$/.test(a))return"";if(void 0!==s){if(a.replace(".","").replace(/^0+/,"").length>s){const e=a.indexOf(".");if(-1!==e){const t=a.substring(0,e),i=t.length;if(i>=s)return a.substring(0,s);{const c=s-i;return`${t}.${a.substring(e+1).substring(0,c)}`}}return a.substring(0,s)}}return a},sJ=(e,t,i,c)=>{if(void 0!==i&&QX(e,t)>0){const o=ZX(e,t),s=o.indexOf("."),a=-1===s?o:o.slice(0,s);if(JX(void 0!==c?c:a,e,t,i))return""}return((e,t,i)=>{const{decimalSeparator:c}=KX(0,i),o=c.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),s=new RegExp(`${o}(\\d*?)(0+)$`),a=e.match(s);if(a){const e=a[1],i=a[2],c=String(t);if(!isNaN(Number(t))){if(c.includes(".")){const t=c.split(".")[1],o=Math.max(0,i.length-(t.length-e.length));return c+"0".repeat(o)}return c+"."+e+i}}return String(t)})(e,oJ(e,t,!0,i),t)},aJ=(e,t,i=!0,c,o,s)=>{const a=oJ(e,t,i,s);if(!a)return"";const n=a.replace(/^-/,"").replace(".","").length;if(/^-?\d+$/.test(a)&&n>15)try{return((e,t,i)=>{let c=BigInt(e);if(void 0!==i&&!Number.isNaN(i)){const e=BigInt(Math.trunc(i));c>e&&(c=e)}if(void 0!==t&&!Number.isNaN(t)){const e=BigInt(Math.trunc(t));c<e&&(c=e)}return c.toString()})(a,c,o)}catch(e){return a}let r=parseFloat(a);return isNaN(r)?r="":(r=Math.min(r,null!=o?o:r),r=Math.max(r,null!=c?c:r)),String(r)},nJ=e=>{try{const t="string"==typeof e?e:e.toString(),i=t.indexOf(".");if(-1===i)return 1;const c=t.substring(i+1).length;if(0===c)return 1;const o=Math.pow(10,-c);return parseFloat(o.toFixed(c))}catch(t){const i="string"==typeof e?e:e.toString(),c=i.indexOf(".");if(-1===c)return 1;const o=i.substring(c+1).length;if(0===o)return 1;const s=Math.pow(10,-o);return parseFloat(s.toFixed(o))}};class rJ extends(hQ(Fh)){constructor(){super(...arguments),this.autocomplete="off",this.hideStep=!1,this.value="",this.withFormatting=!1,this.locale="en-US",this.autoStepPrecision=!1,this.maximumInputPrecision=12,this.options={maximumFractionDigits:3,minimumFractionDigits:0}}autocompleteChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.autocomplete=this.autocomplete)}stepUp(){if(/^-?\d*\.?\d+$/.test(this.value)&&""!==this.value){let e;e=this.autoStepPrecision?nJ(this.value):this.step;const t=((e,t)=>{try{const i="string"==typeof e?e:e.toString(),c=i.indexOf(".");if(-1===c)return(parseInt(i)+t).toString();const o=i.substring(c+1),s=o.length-1,a=parseInt(o.charAt(s))+1;if(a<=YX){const e=o.substring(0,s)+a;return i.substring(0,c+1)+e}{let e="",t=1;for(let i=s;i>=0;i-=1){const c=parseInt(o.charAt(i))+t;c<=YX?(e=c+e,t=0):(e="0"+e,t=1)}return 1===t?parseInt(i.substring(0,c))+1+"."+e:i.substring(0,c+1)+e}}catch(i){return(("string"==typeof e?parseFloat(e):e)+t).toString()}})(this.value,e);this.value=t.toString()}else{const e=this.min>0?this.min:this.max<0?this.max:this.min?0:this.step;this.value=e.toString()}this.control&&(void 0!==this.min||void 0!==this.max?this.control.value=aJ(this.value,this.locale,this.withFormatting,this.min,this.max,this.maximumInputPrecision):this.control.value=this.value),this.handleTextInput()}stepDown(){if(/^-?\d*\.?\d+$/.test(this.value)&&""!==this.value){let e;e=this.autoStepPrecision?nJ(this.value):this.step;const t=((e,t)=>{try{const i="string"==typeof e?e:e.toString(),c=i.indexOf(".");if(-1===c)return(parseInt(i)-t).toString();const o=i.substring(c+1),s=o.length-1,a=parseInt(o.charAt(s))-1;if(a>=0){const e=o.substring(0,s)+a;return i.substring(0,c+1)+e}{let e="",t=1;for(let i=s;i>=0;i-=1){const c=parseInt(o.charAt(i))-t;c>=0?(e=c+e,t=0):(e=YX.toString()+e,t=1)}return 1===t?parseInt(i.substring(0,c))-1+"."+e:i.substring(0,c+1)+e}}catch(i){return(("string"==typeof e?parseFloat(e):e)-t).toString()}})(this.value,e);this.value=t.toString()}else{const e=this.min>0?this.min:this.max<0?this.max:this.min?0:0-this.step;this.value=e.toString()}this.control&&(void 0!==this.min||void 0!==this.max?this.control.value=aJ(this.value,this.locale,this.withFormatting,this.min,this.max,this.maximumInputPrecision):this.control.value=this.value),this.handleTextInput()}hasSeparatorWithoutDecimals(){return new RegExp("[.]$")}restoreControlToCommittedValue(){if(!this.control)return;const e=this.value;if(!e)return this.control.value="",void(this.isUserInput=!1);this.control.value=this.withFormatting&&e?iJ(e,this.locale,this.options):tJ(String(e),this.locale),this.isUserInput=!1}handleKeyDown(e){return e.key===mi&&(this.isUserInput=!1),super.handleKeyDown(e)}handleTextInput(){this.control&&"-"!==this.control.value&&"-0"!==this.control.value&&(XX(this.control.value,this.locale)||JX(this.value,this.control.value,this.locale,this.maximumInputPrecision)?this.restoreControlToCommittedValue():(this.isUserInput=!0,this.withFormatting&&!new cp(this.locale).hasSeparator(this.control.value)?p.queueUpdate(()=>{const e=this.value,t=sJ(this.control.value,this.locale,this.maximumInputPrecision,this.value);if(t||!e||""===this.control.value){if(this.control){const e=this.withFormatting&&""!==t?iJ(t,this.locale,this.options):tJ(t,this.locale);this.control.value=cJ(e,this.options)}this.value=cJ(t,this.options),this.$emit("input")}else this.restoreControlToCommittedValue()}):this.withFormatting||this.hasSeparatorWithoutDecimals().test(this.control.value)||p.queueUpdate(()=>{var e;this.control&&(this.control.value=this.control.value.replace(/[^0-9\-+e.]/g,"")),this.value=(null===(e=this.control)||void 0===e?void 0:e.value)||"",this.$emit("input")})))}valueChanged(e,t){if(null!=t||!this.control)return null!=t&&t!==e?this.isUserInput?void 0:(this.value=aJ(this.value,this.locale,!1,this.min,this.max,this.maximumInputPrecision),void p.queueUpdate(()=>{this.isUserInput||this.control&&(this.control.value=this.withFormatting&&this.value?iJ(this.value,this.locale,this.options):this.value)})):void 0;this.control.value=""}handleBlur(){if(!this.control)return;this.isUserInput=!1;const e=aJ(this.control.value,this.locale,this.withFormatting,this.min,this.max,this.maximumInputPrecision);e&&/^-?\d*\.?\d+$/.test(e)&&(this.value=this.withFormatting?cJ(e,this.options):e),this.control.value=this.withFormatting&&this.value?iJ(this.value,this.locale,this.options):e,this.$emit("input")}}Ou([de],rJ.prototype,"autocomplete",void 0),Ou([de({mode:"boolean"})],rJ.prototype,"hideStep",void 0),Ou([de({converter:{fromView:e=>null==e?"":String(e),toView:e=>e}})],rJ.prototype,"value",void 0),Ou([de({mode:"boolean"})],rJ.prototype,"withFormatting",void 0),Ou([de],rJ.prototype,"locale",void 0),Ou([de({mode:"boolean"})],rJ.prototype,"autoStepPrecision",void 0),Ou([de],rJ.prototype,"maximumInputPrecision",void 0);const lJ={delegatesFocus:!0,mode:"open"},dJ={stepDownGlyph:'\n <svg class="step-down-glyph" viewBox="0 0 24 24" width="1rem" height="1rem" xmlns="http://www.w3.org/2000/svg">\n <path d="M6.1018 8C5.02785 8 4.45387 9.2649 5.16108 10.0731L10.6829 16.3838C11.3801 17.1806 12.6197 17.1806 13.3169 16.3838L18.8388 10.0731C19.5459 9.2649 18.972 8 17.898 8H6.1018Z"/>\n </svg>\n ',stepUpGlyph:'\n <svg class="step-up-glyph" viewBox="0 0 24 24" width="1rem" height="1rem" xmlns="http://www.w3.org/2000/svg">\n <path d="M6.1018 16.9814C5.02785 16.9814 4.45387 15.7165 5.16108 14.9083L10.6829 8.59762C11.3801 7.80079 12.6197 7.80079 13.3169 8.59762L18.8388 14.9083C19.5459 15.7165 18.972 16.9814 17.898 16.9814H6.1018Z"/>\n </svg>\n '};rJ.compose(Object.assign({baseName:"number-field",template:GX,styles:(e,t)=>Me` ${Dh()} ::part(label){color: var(--neutral-foreground-rest)}fast-text-field{display: unset}.controls{margin-bottom: auto;margin-inline-end: 5px;margin-top: auto}.step-down, .step-up{display: block;fill: var(--neutral-foreground-rest)}.step-down-glyph, .step-up-glyph{padding: unset}::part(end){margin-inline-end: unset}${fQ}`,shadowOptions:lJ},dJ));const hJ=(e,t)=>Me` :host{display: block}.label{display: flex;align-items: center;padding: 0 10px;height: 32px;font-weight: bold;user-select: none}.items{display: flex;flex-direction: column}/* Indent options inside the group */ ::slotted(*){padding-left: 20px}`,uJ=(e,t)=>K`<template role="option"><div class="label" part="label" role="presentation">${e=>e.groupLabel}</div><div class="items" part="items" role="group" aria-label="${e=>e.groupLabel}"><slot></slot></div></template>`;class fJ extends Vc{connectedCallback(){super.connectedCallback(),this.disabled=!0}}Ou([de({attribute:"label"})],fJ.prototype,"groupLabel",void 0),fJ.compose({baseName:"optgroup",template:uJ,styles:hJ});const pJ=(e,t)=>Ns(0,t),mJ=(e,t)=>Me` ${_h()} :host{height: calc(var(--design-unit) * 2px)}`;class gJ extends $s{}const vJ=void 0,bJ={indeterminateIndicator1:'<span class="indeterminate-indicator-1" part="indeterminate-indicator-1"></span>',indeterminateIndicator2:'<span class="indeterminate-indicator-1" part="indeterminate-indicator-1"></span>'},yJ=gJ.compose(Object.assign({baseName:"progress",template:pJ,styles:mJ,shadowOptions:vJ},bJ));const zJ="app",CJ="component";((e,t="foundation",i,c)=>{e&&iw(null!=i?i:zw,null!=c?c:ww,e);return function(e){return new Proxy(e,{get:(e,t,...i)=>{if(["withPrefix","withShadowRootMode","withElementDisambiguation"].includes(t))throw new Error("Modification of the Design System is not allowed.");return Reflect.get(e,t,...i)}})}(wo.getOrCreate(e).withPrefix(t))})().register(yJ({prefix:"next-update"}));class LJ extends Wt{constructor(){super(...arguments),this.timeTillNextUpdate={totalMs:1e4,remainMs:1e4,remainPercent:100},this.mode=zJ,this.status={isOnline:!0,isHealthy:!0,browserInformation:{},socket:{},resources:{}},this.onSystemHealthChanged=e=>{this.status=e.detail,this.resourceList=Object.values(this.status.resources).sort((e,t)=>Number(t.isConnected)-Number(e.isConnected))},this.onOpen=(e=!1)=>{this.isOpen=!0,this.wasOpenedByUser=e,this.isDismissed=!1},this.onClose=()=>{this.isOpen=!1,this.wasOpenedByUser=!1,this.isDismissed=!1},this.onDismiss=()=>{this.isDismissed||this.status.isHealthy?this.onClose():this.isDismissed=!0},this.onUpdateStatus=()=>{this.status.runAllChecks()},this.onReportStatus=()=>{this.status.reportStabilityToGenesis()},this.onReloadWindow=()=>{location.reload()},this.onDocumentKeydown=e=>{if(!e.defaultPrevented)switch(e.key){case Ci.ArrowUp:e.ctrlKey&&e.altKey&&!this.isOpen&&(this.onOpen(!0),e.preventDefault());break;case Ci.ArrowDown:e.ctrlKey&&e.altKey&&this.isOpen&&(this.onClose(),e.preventDefault());break;case gi:this.isOpen&&(this.onDismiss(),e.preventDefault())}}}isOpenChanged(){this.updateTemplateClassNames()}isDismissedChanged(){this.updateTemplateClassNames()}modeChanged(){this.$fastController.isConnected&&this.mode===CJ&&SC.warn("SystemHealthOverlay has support for app overlays only right now.")}logLevelChanged(){fC.level=this.logLevel}statusChanged(e,t){this.updateClassNames(),this.$fastController.isConnected&&(!1!==(null==t?void 0:t.isHealthy)||this.isOpen||this.onOpen(),!0===(null==t?void 0:t.isHealthy)&&this.isOpen&&!this.wasOpenedByUser&&this.onClose(),this.startTimeTillNextUpdateCountdown())}updateClassNames(){this.isOnlineClassNames=ti(["healthy",this.status.isOnline],["unhealthy",!this.status.isOnline]),this.isHealthyClassNames=ti(["healthy",this.status.isHealthy],["unhealthy",!this.status.isHealthy]),this.isSocketHealthyClassNames=ti(["healthy",this.isSocketHealthy],["unhealthy",!this.isSocketHealthy]),this.resourcesAllConnectedClassNames=ti(["healthy",this.status.resourcesAllConnected],["unhealthy",!this.status.resourcesAllConnected],["hidden",!this.validResourceList]),this.updateTemplateClassNames()}updateTemplateClassNames(){this.templateClassNames=ti(["open",this.isOpen],["dismissed",this.isDismissed]),this.containerClassNames=ti(this.isHealthyClassNames,["open",this.isOpen],["dismissed",this.isDismissed])}startTimeTillNextUpdateCountdown(){const e=this.status.nextUpdate-Date.now();let t=e,i=100;clearInterval(this.timeTillNextUpdateInterval),this.timeTillNextUpdate={totalMs:e,remainMs:t,remainPercent:i},this.timeTillNextUpdateInterval=setInterval(()=>{t-=1e3,i=Math.floor(t/e*100),this.timeTillNextUpdate={totalMs:e,remainMs:t,remainPercent:i},t<0&&clearInterval(this.timeTillNextUpdateInterval)},1e3)}connectedCallback(){super.connectedCallback(),this.networkMonitor.create(),this.addEventListeners()}disconnectedCallback(){super.disconnectedCallback(),this.networkMonitor.destroy(),this.removeEventListeners()}get isSocketHealthy(){return this.status.isOnline&&(!this.status.socket.isConfigured||this.status.socket.isConfigured&&this.status.socket.isConnected)}get validResourceList(){var e;return(null===(e=this.resourceList)||void 0===e?void 0:e.length)>0}eventBridge(){var e;return null!==(e=this.config.eventEmitter)&&void 0!==e?e:document}addEventListeners(){this.eventBridge().addEventListener(tC,this.onSystemHealthChanged,!0),document.addEventListener("keydown",this.onDocumentKeydown)}removeEventListeners(){this.eventBridge().removeEventListener(tC,this.onSystemHealthChanged,!0),document.removeEventListener("keydown",this.onDocumentKeydown)}static getCheckmarkTemplate(e){return e?K`<span class="checkmark">&#x2714;</span>`:K`<span class="checkmark">&#10008;</span>`}}Ou([cC],LJ.prototype,"config",void 0),Ou([bC],LJ.prototype,"networkMonitor",void 0),Ou([b],LJ.prototype,"resourceList",void 0),Ou([b],LJ.prototype,"isOpen",void 0),Ou([b],LJ.prototype,"wasOpenedByUser",void 0),Ou([b],LJ.prototype,"isDismissed",void 0),Ou([b],LJ.prototype,"templateClassNames",void 0),Ou([b],LJ.prototype,"containerClassNames",void 0),Ou([b],LJ.prototype,"isOnlineClassNames",void 0),Ou([b],LJ.prototype,"isHealthyClassNames",void 0),Ou([b],LJ.prototype,"isSocketHealthyClassNames",void 0),Ou([b],LJ.prototype,"resourcesAllConnectedClassNames",void 0),Ou([b],LJ.prototype,"timeTillNextUpdate",void 0),Ou([b],LJ.prototype,"saveDataCallback",void 0),Ou([de],LJ.prototype,"mode",void 0),Ou([de({attribute:"log-level",converter:re})],LJ.prototype,"logLevel",void 0),Ou([b],LJ.prototype,"status",void 0);const xJ=(e,t)=>K`<template class="${e=>e.templateClassNames}"><header class="${e=>e.isHealthyClassNames}" part="header"><h1>System ${e=>ki(e.isHealthyClassNames)}</h1>${Ve(e=>!e.status.isHealthy,K`<span class="data-warning">Data Validity Unknown</span>`)}<div class="controls">${Ve(e=>e.isDismissed,K`<a href="#" class="open-button" @click="${e=>e.onOpen(!0)}">View Status</a>`)} ${Ve(e=>!e.isDismissed,K`<a href="#" class="update-status-button" @click="${e=>e.onUpdateStatus()}">
92
92
  Update Status </a><a href="#" class="report-status-button" @click="${e=>e.onReportStatus()}">
93
93
  Report Status </a>`)} ${Ve(e=>!e.status.isHealthy&&e.saveDataCallback,K`<a href="#" class="save-data-button" @click="${e=>e.saveDataCallback()}">
94
94
  Save Data </a>`)}<a href="#" class="reload-window-button" @click="${e=>e.onReloadWindow()}">
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-rapid-cdn",
3
3
  "description": "Side-effecting CDN bundle that auto-registers the Rapid Design System. Intended for AI/prototyping tools (e.g. Claude Artifacts), not for production apps.",
4
- "version": "15.15.0",
4
+ "version": "15.15.1",
5
5
  "sideEffects": true,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "unpkg": "dist/foundation-rapid-cdn.iife.min.js",
@@ -27,11 +27,11 @@
27
27
  "test:browser:react": "npx -y http-server . -p 4322 -c-1 -o /test/react.html"
28
28
  },
29
29
  "devDependencies": {
30
- "@genesislcap/genx": "15.15.0",
31
- "@genesislcap/rollup-builder": "15.15.0"
30
+ "@genesislcap/genx": "15.15.1",
31
+ "@genesislcap/rollup-builder": "15.15.1"
32
32
  },
33
33
  "dependencies": {
34
- "@genesislcap/rapid-design-system": "15.15.0"
34
+ "@genesislcap/rapid-design-system": "15.15.1"
35
35
  },
36
36
  "repository": {
37
37
  "type": "git",
@@ -47,5 +47,5 @@
47
47
  "README.md",
48
48
  "components.md"
49
49
  ],
50
- "gitHead": "6cb5a251c9b3e1bf509fece8db32acdc1d4c747b"
50
+ "gitHead": "773a578497ada0a9cee047399defa317c2982940"
51
51
  }