@genesislcap/design-system-configurator 14.26.1 → 14.26.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (21) hide show
  1. package/dist/1.0.0.remoteEntry.js +1 -1
  2. package/dist/{192.192.f60829589c9ac9983038.js → 192.192.a19558f91f7c583f2380.js} +48 -48
  3. package/dist/192.76f41f1820dd7d850c6cd790542b5f2e01ca603a0888c5d23bbe9c0ddafb9a06.js.map +1 -0
  4. package/dist/{73.73.b25da22759a3709095d6.js → 73.73.a850c68df9971f6f0ec4.js} +2 -2
  5. package/dist/{742.742.061c1e2015f9f39681e9.js → 742.742.6ac5d23571c52e04c921.js} +1 -1
  6. package/dist/{755.755.f3010ff9b4d70bffaaff.js → 755.755.410361cee3f02fcf9710.js} +1 -1
  7. package/dist/{842.842.24876dcd50f9be501e03.js → 842.842.4bf0bab62778f1c370e2.js} +1 -1
  8. package/dist/{93.93.5dde6aeb1b704a26da95.js → 93.93.25675931770b32999862.js} +4 -4
  9. package/dist/93.e90b4f2f3a19855b72da023e206603e499fc6e2cf9c4bf8f614af120d268b84e.js.map +1 -0
  10. package/dist/{designSystemConfigurator.3dd50b5c1a80983ba19c035d58012476b65a1e2671b41e18ceb4e017ec7f75ef.js.map → designSystemConfigurator.e7e67f6fabefdb87423ffdb1c9abd877e98f5ddfec8afa6e75e6f4016d177f80.js.map} +1 -1
  11. package/dist/dts/main/main.d.ts.map +1 -1
  12. package/dist/esm/main/main.js +6 -4
  13. package/dist/index.html +1 -1
  14. package/dist/info.html +4 -4
  15. package/dist/{main.35129b53f41fd322acb07f44e97350e84d57ee7575efce101bb6c5abde3baf14.js.map → main.b52d00ee30b5c502e7b078e2a679ba0c02d6324e5195c188c20fd08d63a94e58.js.map} +1 -1
  16. package/dist/{main.e06eec6b8beda1f2f584.js → main.ec3c758078ea30e6cf01.js} +2 -2
  17. package/dist/remoteEntry.js +2 -2
  18. package/package.json +7 -7
  19. package/dist/192.904146ad345b95a02ab242bc8962a3fbb230b97f53adee9ca9fec8e793fd7054.js.map +0 -1
  20. package/dist/93.a5df9c5f27461bc9b5b4e158c66ea51c9747ad3f281489b5d42ff2077daa01ec.js.map +0 -1
  21. /package/dist/{73.73.b25da22759a3709095d6.js.LICENSE.txt → 73.73.a850c68df9971f6f0ec4.js.LICENSE.txt} +0 -0
@@ -1,4 +1,4 @@
1
- /*! For license information please see 73.73.b25da22759a3709095d6.js.LICENSE.txt */
1
+ /*! For license information please see 73.73.a850c68df9971f6f0ec4.js.LICENSE.txt */
2
2
  (self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[73],{87530:function(e){e.exports=function(){"use strict";var e=1e3,t=6e4,o=36e5,i="millisecond",a="second",n="minute",r="hour",s="day",l="week",d="month",c="quarter",u="year",p="date",h="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,f=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],o=e%100;return"["+e+(t[(o-20)%10]||t[o]||t[0])+"]"}},g=function(e,t,o){var i=String(e);return!i||i.length>=t?e:""+Array(t+1-i.length).join(o)+e},b={s:g,z:function(e){var t=-e.utcOffset(),o=Math.abs(t),i=Math.floor(o/60),a=o%60;return(t<=0?"+":"-")+g(i,2,"0")+":"+g(a,2,"0")},m:function e(t,o){if(t.date()<o.date())return-e(o,t);var i=12*(o.year()-t.year())+(o.month()-t.month()),a=t.clone().add(i,d),n=o-a<0,r=t.clone().add(i+(n?-1:1),d);return+(-(i+(o-a)/(n?a-r:r-a))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:d,y:u,w:l,d:s,D:p,h:r,m:n,s:a,ms:i,Q:c}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},y="en",w={};w[y]=v;var x=function(e){return e instanceof D},F=function e(t,o,i){var a;if(!t)return y;if("string"==typeof t){var n=t.toLowerCase();w[n]&&(a=n),o&&(w[n]=o,a=n);var r=t.split("-");if(!a&&r.length>1)return e(r[0])}else{var s=t.name;w[s]=t,a=s}return!i&&a&&(y=a),a||!i&&y},$=function(e,t){if(x(e))return e.clone();var o="object"==typeof t?t:{};return o.date=e,o.args=arguments,new D(o)},S=b;S.l=F,S.i=x,S.w=function(e,t){return $(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var D=function(){function v(e){this.$L=F(e.locale,null,!0),this.parse(e)}var g=v.prototype;return g.parse=function(e){this.$d=function(e){var t=e.date,o=e.utc;if(null===t)return new Date(NaN);if(S.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var i=t.match(m);if(i){var a=i[2]-1||0,n=(i[7]||"0").substring(0,3);return o?new Date(Date.UTC(i[1],a,i[3]||1,i[4]||0,i[5]||0,i[6]||0,n)):new Date(i[1],a,i[3]||1,i[4]||0,i[5]||0,i[6]||0,n)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},g.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},g.$utils=function(){return S},g.isValid=function(){return!(this.$d.toString()===h)},g.isSame=function(e,t){var o=$(e);return this.startOf(t)<=o&&o<=this.endOf(t)},g.isAfter=function(e,t){return $(e)<this.startOf(t)},g.isBefore=function(e,t){return this.endOf(t)<$(e)},g.$g=function(e,t,o){return S.u(e)?this[t]:this.set(o,e)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(e,t){var o=this,i=!!S.u(t)||t,c=S.p(e),h=function(e,t){var a=S.w(o.$u?Date.UTC(o.$y,t,e):new Date(o.$y,t,e),o);return i?a:a.endOf(s)},m=function(e,t){return S.w(o.toDate()[e].apply(o.toDate("s"),(i?[0,0,0,0]:[23,59,59,999]).slice(t)),o)},f=this.$W,v=this.$M,g=this.$D,b="set"+(this.$u?"UTC":"");switch(c){case u:return i?h(1,0):h(31,11);case d:return i?h(1,v):h(0,v+1);case l:var y=this.$locale().weekStart||0,w=(f<y?f+7:f)-y;return h(i?g-w:g+(6-w),v);case s:case p:return m(b+"Hours",0);case r:return m(b+"Minutes",1);case n:return m(b+"Seconds",2);case a:return m(b+"Milliseconds",3);default:return this.clone()}},g.endOf=function(e){return this.startOf(e,!1)},g.$set=function(e,t){var o,l=S.p(e),c="set"+(this.$u?"UTC":""),h=(o={},o[s]=c+"Date",o[p]=c+"Date",o[d]=c+"Month",o[u]=c+"FullYear",o[r]=c+"Hours",o[n]=c+"Minutes",o[a]=c+"Seconds",o[i]=c+"Milliseconds",o)[l],m=l===s?this.$D+(t-this.$W):t;if(l===d||l===u){var f=this.clone().set(p,1);f.$d[h](m),f.init(),this.$d=f.set(p,Math.min(this.$D,f.daysInMonth())).$d}else h&&this.$d[h](m);return this.init(),this},g.set=function(e,t){return this.clone().$set(e,t)},g.get=function(e){return this[S.p(e)]()},g.add=function(i,c){var p,h=this;i=Number(i);var m=S.p(c),f=function(e){var t=$(h);return S.w(t.date(t.date()+Math.round(e*i)),h)};if(m===d)return this.set(d,this.$M+i);if(m===u)return this.set(u,this.$y+i);if(m===s)return f(1);if(m===l)return f(7);var v=(p={},p[n]=t,p[r]=o,p[a]=e,p)[m]||1,g=this.$d.getTime()+i*v;return S.w(g,this)},g.subtract=function(e,t){return this.add(-1*e,t)},g.format=function(e){var t=this,o=this.$locale();if(!this.isValid())return o.invalidDate||h;var i=e||"YYYY-MM-DDTHH:mm:ssZ",a=S.z(this),n=this.$H,r=this.$m,s=this.$M,l=o.weekdays,d=o.months,c=function(e,o,a,n){return e&&(e[o]||e(t,i))||a[o].slice(0,n)},u=function(e){return S.s(n%12||12,e,"0")},p=o.meridiem||function(e,t,o){var i=e<12?"AM":"PM";return o?i.toLowerCase():i},m={YY:String(this.$y).slice(-2),YYYY:this.$y,M:s+1,MM:S.s(s+1,2,"0"),MMM:c(o.monthsShort,s,d,3),MMMM:c(d,s),D:this.$D,DD:S.s(this.$D,2,"0"),d:String(this.$W),dd:c(o.weekdaysMin,this.$W,l,2),ddd:c(o.weekdaysShort,this.$W,l,3),dddd:l[this.$W],H:String(n),HH:S.s(n,2,"0"),h:u(1),hh:u(2),a:p(n,r,!0),A:p(n,r,!1),m:String(r),mm:S.s(r,2,"0"),s:String(this.$s),ss:S.s(this.$s,2,"0"),SSS:S.s(this.$ms,3,"0"),Z:a};return i.replace(f,(function(e,t){return t||m[e]||a.replace(":","")}))},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(i,p,h){var m,f=S.p(p),v=$(i),g=(v.utcOffset()-this.utcOffset())*t,b=this-v,y=S.m(this,v);return y=(m={},m[u]=y/12,m[d]=y,m[c]=y/3,m[l]=(b-g)/6048e5,m[s]=(b-g)/864e5,m[r]=b/o,m[n]=b/t,m[a]=b/e,m)[f]||b,h?y:S.a(y)},g.daysInMonth=function(){return this.endOf(d).$D},g.$locale=function(){return w[this.$L]},g.locale=function(e,t){if(!e)return this.$L;var o=this.clone(),i=F(e,t,!0);return i&&(o.$L=i),o},g.clone=function(){return S.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},v}(),C=D.prototype;return $.prototype=C,[["$ms",i],["$s",a],["$m",n],["$H",r],["$W",s],["$M",d],["$y",u],["$D",p]].forEach((function(e){C[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),$.extend=function(e,t){return e.$i||(e(t,D,$),e.$i=!0),$},$.locale=F,$.isDayjs=x,$.unix=function(e){return $(1e3*e)},$.en=w[y],$.Ls=w,$.p={},$}()},78113:function(e){e.exports=function(){"use strict";return function(e,t){t.prototype.isLeapYear=function(){return this.$y%4==0&&this.$y%100!=0||this.$y%400==0}}}()},3276:(e,t,o)=>{"use strict";function i(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var i in o)e[i]=o[i]}return e}o.d(t,{Z:()=>a});var a=function e(t,o){function a(e,a,n){if("undefined"!=typeof document){"number"==typeof(n=i({},o,n)).expires&&(n.expires=new Date(Date.now()+864e5*n.expires)),n.expires&&(n.expires=n.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var r="";for(var s in n)n[s]&&(r+="; "+s,!0!==n[s]&&(r+="="+n[s].split(";")[0]));return document.cookie=e+"="+t.write(a,e)+r}}return Object.create({set:a,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var o=document.cookie?document.cookie.split("; "):[],i={},a=0;a<o.length;a++){var n=o[a].split("="),r=n.slice(1).join("=");try{var s=decodeURIComponent(n[0]);if(i[s]=t.read(r,s),e===s)break}catch(e){}}return e?i[e]:i}},remove:function(e,t){a(e,"",i({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,i({},this.attributes,t))},withConverter:function(t){return e(i({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(o)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})},85088:(e,t,o)=>{"use strict";o.r(t),o.d(t,{ActionsMenu:()=>p,Anchor:()=>g,Badge:()=>$,Banner:()=>R,BaseDatasource:()=>Us,Breadcrumb:()=>M,BreadcrumbItem:()=>B,Button:()=>Y,CSSVarsTokenMapper:()=>Ps,Card:()=>J,Checkbox:()=>ae,Combobox:()=>ce,ConnectionIndicator:()=>be,DEFUALT_FILTER_BAR_COLUMNS:()=>Fi,DataGrid:()=>Fe,DataGridCell:()=>_e,DataGridDatasource:()=>Ys,DataGridRow:()=>Le,DatePicker:()=>We,Dialog:()=>Ut,DialogElement:()=>Vt,Disclosure:()=>Xt,Divider:()=>to,DropdownMenu:()=>po,ErrorBanner:()=>go,ErrorBoundary:()=>_o,ErrorBoundaryEvent:()=>yo,ErrorDialog:()=>Ao,FaPrefixFromStyle:()=>fa,FileUpload:()=>Jo,Filter:()=>hi,FilterBar:()=>$i,FilterEvents:()=>pi,FlexLayout:()=>Ti,FlexMediaQueriesEnum:()=>Di,Flipper:()=>Ni,Flyout:()=>zi,FoundationDesignSystemProvider:()=>Et,FoundationRouter:()=>Qs,GridLayout:()=>Qi,GridLayoutItem:()=>aa,GridMediaQueriesEnum:()=>Yi,Icon:()=>va,ListboxOption:()=>wa,Menu:()=>Ca,MenuItem:()=>La,Modal:()=>Ba,Multiselect:()=>Xa,MultiselectDatasource:()=>Xs,NumberField:()=>Qa,OptionsDatasource:()=>qs,Popper:()=>rn,Progress:()=>pn,ProgressRing:()=>bn,Radio:()=>Sn,RadioGroup:()=>Rn,SegmentedControl:()=>En,SegmentedItem:()=>zn,Select:()=>qn,Skeleton:()=>er,Slider:()=>lr,Snackbar:()=>fr,Switch:()=>yr,Tab:()=>Dr,TabPanel:()=>Tr,Tabs:()=>Ir,TextArea:()=>jr,TextField:()=>Xr,Toast:()=>is,Toolbar:()=>ss,Tooltip:()=>hs,TreeItem:()=>ys,TreeView:()=>Ds,UrlInput:()=>As,accentFillActive:()=>m.accentFillActive,accentFillActiveDelta:()=>m.accentFillActiveDelta,accentFillFocus:()=>m.accentFillFocus,accentFillFocusDelta:()=>m.accentFillFocusDelta,accentFillHover:()=>m.accentFillHover,accentFillHoverDelta:()=>m.accentFillHoverDelta,accentFillRest:()=>m.accentFillRest,accentFillRestDelta:()=>m.accentFillRestDelta,accentForegroundActive:()=>m.accentForegroundActive,accentForegroundActiveDelta:()=>m.accentForegroundActiveDelta,accentForegroundFocus:()=>m.accentForegroundFocus,accentForegroundFocusDelta:()=>m.accentForegroundFocusDelta,accentForegroundHover:()=>m.accentForegroundHover,accentForegroundHoverDelta:()=>m.accentForegroundHoverDelta,accentForegroundRest:()=>m.accentForegroundRest,accentForegroundRestDelta:()=>m.accentForegroundRestDelta,accentPalette:()=>m.accentPalette,accentPaletteValue:()=>Dt,actionsMenuBaseStyles:()=>d,baseComponents:()=>Ns,baseHeightMultiplier:()=>m.baseHeightMultiplier,baseLayerLuminance:()=>m.baseLayerLuminance,baseLayerLuminanceValue:()=>_t,black:()=>Ke,bodyFont:()=>m.bodyFont,closeIcon:()=>Bt,configureDesignSystem:()=>St,controlCornerRadius:()=>m.controlCornerRadius,controlCornerRadiusValue:()=>Ot,createDesignSystemProxy:()=>Es,defaultAnchorConfig:()=>y,defaultBadgeConfig:()=>D,defaultBreadcrumbConfig:()=>E,defaultBreadcrumbItemConfig:()=>z,defaultButtonConfig:()=>q,defaultCardConfig:()=>ee,defaultCheckboxConfig:()=>re,defaultComboboxConfig:()=>pe,defaultDataGridCellConfig:()=>Oe,defaultDataGridConfig:()=>Se,defaultDataGridRowConfig:()=>Me,defaultDatePickerConfig:()=>Ye,defaultDialogConfig:()=>jt,defaultDisclosureConfig:()=>Kt,defaultDividerConfig:()=>io,defaultFileUploadConfig:()=>ei,defaultFillColor:()=>Qe,defaultFlexLayoutConfig:()=>Ri,defaultFlipperConfig:()=>Ii,defaultFlyoutConfig:()=>Vi,defaultGridLayoutConfig:()=>Ki,defaultGridLayoutItemConfig:()=>ia,defaultIconConfig:()=>ma,defaultListboxOptionConfig:()=>Fa,defaultMenuConfig:()=>ka,defaultMenuItemConfig:()=>Ma,defaultModalConfig:()=>Ha,defaultMultiselectConfig:()=>qa,defaultNeutralForegroundContrast:()=>pt,defaultNumberFieldConfig:()=>tn,defaultProgressConfig:()=>mn,defaultProgressRingConfig:()=>wn,defaultRadioConfig:()=>Cn,defaultRadioGroupConfig:()=>Ln,defaultSegmentedControlConfig:()=>Pn,defaultSegmentedItemConfig:()=>Vn,defaultSelectConfig:()=>Zn,defaultSkeletonConfig:()=>or,defaultSliderConfig:()=>cr,defaultSwitchConfig:()=>xr,defaultTabConfig:()=>_r,defaultTabPanelConfig:()=>Ar,defaultTabsConfig:()=>Hr,defaultTextAreaConfig:()=>Ur,defaultTextFieldConfig:()=>Kr,defaultToastConfig:()=>os,defaultToolbarConfig:()=>ds,defaultTooltipConfig:()=>fs,defaultTreeItemConfig:()=>xs,defaultTreeViewConfig:()=>_s,defaultUrlInputConfig:()=>Ls,defineFactory:()=>Zs,density:()=>m.density,designToken:()=>gt,designUnit:()=>m.designUnit,designUnitValue:()=>Rt,direction:()=>m.direction,directionValue:()=>kt,disabledOpacity:()=>m.disabledOpacity,dropdownMenuBaseStyles:()=>ro,errorDialogTemplate:()=>To,extractMenuItems:()=>lo,fillColor:()=>m.fillColor,flyoutAnimationTime:()=>Hi,focusStrokeInner:()=>m.focusStrokeInner,focusStrokeOuter:()=>m.focusStrokeOuter,focusStrokeWidth:()=>m.focusStrokeWidth,foregroundOnAccentActive:()=>m.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>m.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>m.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>m.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>m.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>m.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>m.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>m.foregroundOnAccentRestLarge,foundationActionsMenu:()=>h,foundationActionsMenuStyles:()=>c,foundationActionsMenuTemplate:()=>u,foundationAnchor:()=>w,foundationAnchorShadowOptions:()=>b,foundationAnchorStyles:()=>f,foundationAnchorTemplate:()=>v,foundationBadge:()=>C,foundationBadgeShadowOptions:()=>S,foundationBadgeStyles:()=>x,foundationBadgeTemplate:()=>F,foundationBanner:()=>T,foundationBannerShadowOptions:()=>O,foundationBannerStyles:()=>_,foundationBannerTemplate:()=>k,foundationBreadcrumb:()=>I,foundationBreadcrumbItem:()=>j,foundationBreadcrumbItemShadowOptions:()=>G,foundationBreadcrumbItemStyles:()=>P,foundationBreadcrumbItemTemplate:()=>H,foundationBreadcrumbShadowOptions:()=>N,foundationBreadcrumbStyles:()=>L,foundationBreadcrumbTemplate:()=>A,foundationButton:()=>X,foundationButtonShadowOptions:()=>W,foundationButtonStyles:()=>V,foundationButtonTemplate:()=>U,foundationCard:()=>te,foundationCardShadowOptions:()=>Q,foundationCardStyles:()=>Z,foundationCardTemplate:()=>K,foundationCheckbox:()=>se,foundationCheckboxShadowOptions:()=>ne,foundationCheckboxStyles:()=>oe,foundationCheckboxTemplate:()=>ie,foundationCombobox:()=>he,foundationComboboxShadowOptions:()=>ue,foundationComboboxStyles:()=>le,foundationComboboxTemplate:()=>de,foundationConnectionIndicator:()=>ye,foundationConnectionIndicatorStyles:()=>ve,foundationConnectionIndicatorTemplate:()=>ge,foundationDataGrid:()=>De,foundationDataGridCell:()=>Re,foundationDataGridCellShadowOptions:()=>ke,foundationDataGridCellStyles:()=>Ce,foundationDataGridCellTemplate:()=>s.dataGridCellTemplate,foundationDataGridRow:()=>Ne,foundationDataGridRowShadowOptions:()=>Ae,foundationDataGridRowStyles:()=>Te,foundationDataGridRowTemplate:()=>s.dataGridRowTemplate,foundationDataGridShadowOptions:()=>$e,foundationDataGridStyles:()=>we,foundationDataGridTemplate:()=>xe,foundationDatePicker:()=>qe,foundationDatePickerShadowOptions:()=>Ue,foundationDatePickerStyles:()=>je,foundationDatePickerTemplate:()=>Ve,foundationDesignSystemProvider:()=>It,foundationDialog:()=>Yt,foundationDialogShadowOptions:()=>zt,foundationDialogStyles:()=>Ht,foundationDialogTemplate:()=>Gt,foundationDisclosure:()=>Jt,foundationDisclosureShadowOptions:()=>Zt,foundationDisclosureStyles:()=>Wt,foundationDisclosureTemplate:()=>qt,foundationDivider:()=>ao,foundationDividerShadowOptions:()=>oo,foundationDividerStyles:()=>Qt,foundationDividerTemplate:()=>eo,foundationDropdownMenu:()=>ho,foundationDropdownMenuStyles:()=>so,foundationDropdownMenuTemplate:()=>uo,foundationErrorBanner:()=>bo,foundationErrorBannerShadowOptions:()=>vo,foundationErrorBannerTemplate:()=>fo,foundationErrorBoundary:()=>ko,foundationErrorBoundaryShadowOptions:()=>Co,foundationErrorBoundaryTemplate:()=>Do,foundationErrorDialog:()=>Mo,foundationErrorDialogShadowOptions:()=>Lo,foundationErrorDialogStyles:()=>Oo,foundationFileUpload:()=>ti,foundationFileUploadShadowOptions:()=>Qo,foundationFileUploadStyles:()=>Uo,foundationFileUploadTemplate:()=>Wo,foundationFilter:()=>mi,foundationFilterBar:()=>Si,foundationFilterBarStyles:()=>vi,foundationFilterBarTemplate:()=>xi,foundationFilterStyles:()=>oi,foundationFilterTemplate:()=>ui,foundationFlexLayout:()=>Li,foundationFlexLayoutShadowOptions:()=>Oi,foundationFlexLayoutStyles:()=>_i,foundationFlexLayoutTemplate:()=>ki,foundationFlipper:()=>Pi,foundationFlipperShadowOptions:()=>Ei,foundationFlipperStyles:()=>Ai,foundationFlipperTemplate:()=>Mi,foundationFlyout:()=>Ui,foundationFlyoutShadowOptions:()=>ji,foundationFlyoutStyles:()=>Bi,foundationFlyoutTemplate:()=>Gi,foundationGridLayout:()=>ea,foundationGridLayoutItem:()=>na,foundationGridLayoutItemShadowOptions:()=>oa,foundationGridLayoutItemTemplate:()=>ta,foundationGridLayoutShadowOptions:()=>Zi,foundationGridLayoutStyles:()=>qi,foundationGridLayoutTemplate:()=>Xi,foundationIcon:()=>ga,foundationIconShadowOptions:()=>ha,foundationIconStyles:()=>ua,foundationIconTemplate:()=>pa,foundationListboxOption:()=>$a,foundationListboxOptionShadowOptions:()=>xa,foundationListboxOptionStyles:()=>ba,foundationListboxOptionTemplate:()=>ya,foundationMenu:()=>Oa,foundationMenuItem:()=>Na,foundationMenuItemShadowOptions:()=>Aa,foundationMenuItemStyles:()=>Ra,foundationMenuItemTemplate:()=>Ta,foundationMenuShadowOptions:()=>_a,foundationMenuStyles:()=>Sa,foundationMenuTemplate:()=>Da,foundationModal:()=>Ga,foundationModalShadowOptions:()=>Pa,foundationModalStyles:()=>Ea,foundationModalTemplate:()=>Ia,foundationMultiselect:()=>Za,foundationMultiselectShadowOptions:()=>Wa,foundationNumberField:()=>on,foundationNumberFieldShadowOptions:()=>en,foundationNumberFieldStyles:()=>Ka,foundationNumberFieldTemplate:()=>Ja,foundationPopper:()=>dn,foundationProgress:()=>fn,foundationProgressRing:()=>xn,foundationProgressRingShadowOptions:()=>yn,foundationProgressRingStyles:()=>vn,foundationProgressRingTemplate:()=>gn,foundationProgressShadowOptions:()=>hn,foundationProgressStyles:()=>cn,foundationProgressTemplate:()=>un,foundationRadio:()=>_n,foundationRadioGroup:()=>An,foundationRadioGroupShadowOptions:()=>Tn,foundationRadioGroupStyles:()=>kn,foundationRadioGroupTemplate:()=>On,foundationRadioShadowOptions:()=>Dn,foundationRadioStyles:()=>Fn,foundationRadioTemplate:()=>$n,foundationSegmentedControl:()=>Hn,foundationSegmentedControlShadowOptions:()=>In,foundationSegmentedControlStyles:()=>Mn,foundationSegmentedControlTemplate:()=>Nn,foundationSegmentedItem:()=>Un,foundationSegmentedItemShadowOptions:()=>jn,foundationSegmentedItemStyles:()=>Bn,foundationSegmentedItemTemplate:()=>Gn,foundationSelect:()=>Kn,foundationSelectShadowOptions:()=>Xn,foundationSelectStyles:()=>Yn,foundationSelectTemplate:()=>Wn,foundationSkeleton:()=>ir,foundationSkeletonShadowOptions:()=>tr,foundationSkeletonStyles:()=>Jn,foundationSkeletonTemplate:()=>Qn,foundationSlider:()=>ur,foundationSliderShadowOptions:()=>dr,foundationSliderStyles:()=>ar,foundationSliderTemplate:()=>sr,foundationSnackbar:()=>vr,foundationSnackbarShadowOptions:()=>mr,foundationSnackbarStyles:()=>pr,foundationSnackbarTemplate:()=>hr,foundationSwitch:()=>Fr,foundationSwitchShadowOptions:()=>wr,foundationSwitchStyles:()=>gr,foundationSwitchTemplate:()=>br,foundationTab:()=>kr,foundationTabPanel:()=>Mr,foundationTabPanelShadowOptions:()=>Lr,foundationTabPanelStyles:()=>Or,foundationTabPanelTemplate:()=>Rr,foundationTabShadowOptions:()=>Cr,foundationTabStyles:()=>$r,foundationTabTemplate:()=>Sr,foundationTabs:()=>Br,foundationTabsShadowOptions:()=>Pr,foundationTabsStyles:()=>Nr,foundationTabsTemplate:()=>Er,foundationTextArea:()=>Yr,foundationTextAreaShadowOptions:()=>Vr,foundationTextAreaStyles:()=>Gr,foundationTextAreaTemplate:()=>zr,foundationTextField:()=>Jr,foundationTextFieldShadowOptions:()=>Zr,foundationTextFieldStyles:()=>Wr,foundationTextFieldTemplate:()=>qr,foundationToast:()=>as,foundationToastShadowOptions:()=>ts,foundationToastStyles:()=>Qr,foundationToastTemplate:()=>es,foundationToolbar:()=>cs,foundationToolbarShadowOptions:()=>ls,foundationToolbarStyles:()=>ns,foundationToolbarTemplate:()=>rs,foundationTooltip:()=>vs,foundationTooltipShadowOptions:()=>ms,foundationTooltipStyles:()=>us,foundationTooltipTemplate:()=>ps,foundationTreeItem:()=>Fs,foundationTreeItemShadowOptions:()=>ws,foundationTreeItemStyles:()=>gs,foundationTreeItemTemplate:()=>bs,foundationTreeView:()=>ks,foundationTreeViewShadowOptions:()=>Cs,foundationTreeViewStyles:()=>$s,foundationTreeViewTemplate:()=>Ss,foundationUrlInput:()=>Ms,foundationUrlInputShadowOptions:()=>Ts,foundationUrlInputStyles:()=>Os,fuiAccentPalette:()=>lt,fuiAccentSwatch:()=>st,fuiCardFillColor:()=>ut,fuiCardForegroundColor:()=>mt,fuiDefaultCardFillColor:()=>tt,fuiDefaultCardPalette:()=>ot,fuiFillColor:()=>ct,fuiNeutralPalette:()=>nt,fuiNeutralSwatch:()=>at,getDefaultConfig:()=>xt,getDropdownMenuTemplate:()=>co,getErrorDialogTemplate:()=>Ro,getExports:()=>Ft,getFontawesomeIconsCss:()=>ca,getPrefixedFileUpload:()=>Yo,getPrefixedMultiselect:()=>Ua,getTypeRampValue:()=>$t,jsonConverter:()=>nn,mapType:()=>gi,maxheight:()=>ja,mixinFoundationFontFamily:()=>Lt,multiselectStyles:()=>Va,multiselectTemplate:()=>Ya,neutralFillActive:()=>m.neutralFillActive,neutralFillActiveDelta:()=>m.neutralFillActiveDelta,neutralFillFocus:()=>m.neutralFillFocus,neutralFillFocusDelta:()=>m.neutralFillFocusDelta,neutralFillHover:()=>m.neutralFillHover,neutralFillHoverDelta:()=>m.neutralFillHoverDelta,neutralFillInputActive:()=>m.neutralFillInputActive,neutralFillInputActiveDelta:()=>m.neutralFillInputActiveDelta,neutralFillInputFocus:()=>m.neutralFillInputFocus,neutralFillInputFocusDelta:()=>m.neutralFillInputFocusDelta,neutralFillInputHover:()=>m.neutralFillInputHover,neutralFillInputHoverDelta:()=>m.neutralFillInputHoverDelta,neutralFillInputRest:()=>m.neutralFillInputRest,neutralFillInputRestDelta:()=>m.neutralFillInputRestDelta,neutralFillLayerRest:()=>m.neutralFillLayerRest,neutralFillLayerRestDelta:()=>m.neutralFillLayerRestDelta,neutralFillRest:()=>m.neutralFillRest,neutralFillRestDelta:()=>m.neutralFillRestDelta,neutralFillStealthActive:()=>m.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>m.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>m.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>m.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>m.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>m.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>m.neutralFillStealthRest,neutralFillStealthRestDelta:()=>m.neutralFillStealthRestDelta,neutralFillStrongActive:()=>m.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>m.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>m.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>m.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>m.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>m.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>m.neutralFillStrongRest,neutralFillStrongRestDelta:()=>m.neutralFillStrongRestDelta,neutralForeground:()=>ht,neutralForegroundHint:()=>m.neutralForegroundHint,neutralForegroundRest:()=>m.neutralForegroundRest,neutralLayer1:()=>m.neutralLayer1,neutralLayer2:()=>m.neutralLayer2,neutralLayer3:()=>m.neutralLayer3,neutralLayer4:()=>m.neutralLayer4,neutralLayerCardContainer:()=>m.neutralLayerCardContainer,neutralLayerFloating:()=>m.neutralLayerFloating,neutralPalette:()=>m.neutralPalette,neutralPaletteValue:()=>Ct,neutralStrokeActive:()=>m.neutralStrokeActive,neutralStrokeActiveDelta:()=>m.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>m.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>m.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>m.neutralStrokeFocus,neutralStrokeFocusDelta:()=>m.neutralStrokeFocusDelta,neutralStrokeHover:()=>m.neutralStrokeHover,neutralStrokeHoverDelta:()=>m.neutralStrokeHoverDelta,neutralStrokeRest:()=>m.neutralStrokeRest,neutralStrokeRestDelta:()=>m.neutralStrokeRestDelta,paletteFromHex:()=>yt,provideDesignSystem:()=>Is,provideTokens:()=>vt,registerFoundationDesignSystem:()=>el,strokeWidth:()=>m.strokeWidth,swatchConverter:()=>bt,tagFor:()=>Ks,typeRampBaseFontSize:()=>m.typeRampBaseFontSize,typeRampBaseLineHeight:()=>m.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>m.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>m.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>m.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>m.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>m.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>m.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>m.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>m.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>m.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>m.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>m.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>m.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>m.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>m.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>m.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>m.typeRampPlus6LineHeight,urlinputTemplate:()=>Rs,white:()=>Ze});var i={};o.r(i),o.d(i,{accentFillActive:()=>m.accentFillActive,accentFillActiveDelta:()=>m.accentFillActiveDelta,accentFillFocus:()=>m.accentFillFocus,accentFillFocusDelta:()=>m.accentFillFocusDelta,accentFillHover:()=>m.accentFillHover,accentFillHoverDelta:()=>m.accentFillHoverDelta,accentFillRest:()=>m.accentFillRest,accentFillRestDelta:()=>m.accentFillRestDelta,accentForegroundActive:()=>m.accentForegroundActive,accentForegroundActiveDelta:()=>m.accentForegroundActiveDelta,accentForegroundFocus:()=>m.accentForegroundFocus,accentForegroundFocusDelta:()=>m.accentForegroundFocusDelta,accentForegroundHover:()=>m.accentForegroundHover,accentForegroundHoverDelta:()=>m.accentForegroundHoverDelta,accentForegroundRest:()=>m.accentForegroundRest,accentForegroundRestDelta:()=>m.accentForegroundRestDelta,accentPalette:()=>m.accentPalette,baseHeightMultiplier:()=>m.baseHeightMultiplier,baseLayerLuminance:()=>m.baseLayerLuminance,bodyFont:()=>m.bodyFont,controlCornerRadius:()=>m.controlCornerRadius,defaultNeutralForegroundContrast:()=>pt,density:()=>m.density,designUnit:()=>m.designUnit,direction:()=>m.direction,disabledOpacity:()=>m.disabledOpacity,fillColor:()=>m.fillColor,focusStrokeInner:()=>m.focusStrokeInner,focusStrokeOuter:()=>m.focusStrokeOuter,focusStrokeWidth:()=>m.focusStrokeWidth,foregroundOnAccentActive:()=>m.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>m.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>m.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>m.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>m.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>m.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>m.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>m.foregroundOnAccentRestLarge,fuiCardFillColor:()=>ut,fuiCardForegroundColor:()=>mt,fuiFillColor:()=>ct,neutralFillActive:()=>m.neutralFillActive,neutralFillActiveDelta:()=>m.neutralFillActiveDelta,neutralFillFocus:()=>m.neutralFillFocus,neutralFillFocusDelta:()=>m.neutralFillFocusDelta,neutralFillHover:()=>m.neutralFillHover,neutralFillHoverDelta:()=>m.neutralFillHoverDelta,neutralFillInputActive:()=>m.neutralFillInputActive,neutralFillInputActiveDelta:()=>m.neutralFillInputActiveDelta,neutralFillInputFocus:()=>m.neutralFillInputFocus,neutralFillInputFocusDelta:()=>m.neutralFillInputFocusDelta,neutralFillInputHover:()=>m.neutralFillInputHover,neutralFillInputHoverDelta:()=>m.neutralFillInputHoverDelta,neutralFillInputRest:()=>m.neutralFillInputRest,neutralFillInputRestDelta:()=>m.neutralFillInputRestDelta,neutralFillLayerRest:()=>m.neutralFillLayerRest,neutralFillLayerRestDelta:()=>m.neutralFillLayerRestDelta,neutralFillRest:()=>m.neutralFillRest,neutralFillRestDelta:()=>m.neutralFillRestDelta,neutralFillStealthActive:()=>m.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>m.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>m.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>m.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>m.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>m.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>m.neutralFillStealthRest,neutralFillStealthRestDelta:()=>m.neutralFillStealthRestDelta,neutralFillStrongActive:()=>m.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>m.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>m.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>m.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>m.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>m.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>m.neutralFillStrongRest,neutralFillStrongRestDelta:()=>m.neutralFillStrongRestDelta,neutralForeground:()=>ht,neutralForegroundHint:()=>m.neutralForegroundHint,neutralForegroundRest:()=>m.neutralForegroundRest,neutralLayer1:()=>m.neutralLayer1,neutralLayer2:()=>m.neutralLayer2,neutralLayer3:()=>m.neutralLayer3,neutralLayer4:()=>m.neutralLayer4,neutralLayerCardContainer:()=>m.neutralLayerCardContainer,neutralLayerFloating:()=>m.neutralLayerFloating,neutralPalette:()=>m.neutralPalette,neutralStrokeActive:()=>m.neutralStrokeActive,neutralStrokeActiveDelta:()=>m.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>m.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>m.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>m.neutralStrokeFocus,neutralStrokeFocusDelta:()=>m.neutralStrokeFocusDelta,neutralStrokeHover:()=>m.neutralStrokeHover,neutralStrokeHoverDelta:()=>m.neutralStrokeHoverDelta,neutralStrokeRest:()=>m.neutralStrokeRest,neutralStrokeRestDelta:()=>m.neutralStrokeRestDelta,strokeWidth:()=>m.strokeWidth,typeRampBaseFontSize:()=>m.typeRampBaseFontSize,typeRampBaseLineHeight:()=>m.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>m.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>m.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>m.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>m.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>m.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>m.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>m.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>m.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>m.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>m.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>m.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>m.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>m.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>m.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>m.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>m.typeRampPlus6LineHeight});var a={};o.r(a),o.d(a,{accentPaletteValue:()=>Dt,baseLayerLuminanceValue:()=>_t,controlCornerRadiusValue:()=>Ot,designUnitValue:()=>Rt,directionValue:()=>kt,neutralPaletteValue:()=>Ct});var n=o(38092),r=o(83147),s=o(75951),l=o(97675);const d=(e,t)=>r.css`
3
3
  :host {
4
4
  --actions-opener-height-multiplier: 0.7px;
@@ -478,7 +478,7 @@
478
478
  `)}
479
479
  </div>
480
480
  </div>
481
- `,Ue=void 0,Ye={};class We extends s.FoundationElement{formatChanged(e,t){t&&this.calendar&&(this.formatDate=Ie()(this.currentDate.Date).format(t))}valueChanged(e,t){t&&this.calendar&&(this.currentDate=new Be(new Date(t)),this.calendar.goToDate(this.currentDate.monthNumber,this.currentDate.year),this.formatDate=Ie()(this.currentDate.Date).format(this.format),this.updateHeaderText(),this.monthList=this.getMonthDaysGrid())}constructor(){var e;super(),this.format="MM-DD-YYYY",this.visible=!1,this.position="bottom";const t="en-US",o=new Date(null!==(e=this.currentDate)&&void 0!==e?e:this.getAttribute("value")||Date.now());this.substringNumber=3,this.currentDate=new Be(o,t),this.value=Ie()(this.currentDate.Date).format("MM-DD-YYYY"),this.calendar=new ze(this.currentDate.year,this.currentDate.monthNumber,t)}connectedCallback(){super.connectedCallback(),this.currentMonth=this.calendar.month.name,this.currentYear=this.calendar.year,this.formatDate=Ie()(this.currentDate.Date).format(this.format),this.toggleButton.addEventListener("click",(()=>this.toggleCalendar())),this.prevBtn.addEventListener("click",(()=>this.prevMonth())),this.nextBtn.addEventListener("click",(()=>this.nextMonth())),this.monthList=this.getMonthDaysGrid()}updateHeaderText(){this.currentMonth=this.calendar.month.name,this.currentYear=this.calendar.year}toggleCalendar(){this.visible=!this.visible,this.toggleVisibility(),this.isCurrentCalendarMonth()||(this.calendar.goToDate(this.currentDate.monthNumber,this.currentDate.year),this.updateHeaderText())}toggleVisibility(){this.calendarDropdownClasses=(0,l.A)(["visible",this.visible],this.position)}isSelectedDate(e){return Ie()(e.Date).isSame(this.currentDate.Date,"day")}isCurrentCalendarMonth(){return this.currentMonth===this.currentDate.monthNumber&&this.currentYear===this.currentDate.year}prevMonth(){this.calendar.goToPreviousMonth(),this.updateHeaderText(),this.monthList=this.getMonthDaysGrid()}nextMonth(){this.calendar.goToNextMonth(),this.updateHeaderText(),this.monthList=this.getMonthDaysGrid()}selectDay(e){Ie()(e.Date).isSame(this.currentDate.Date)||(this.currentDate=e,e.monthNumber!==this.calendar.month.number&&this.prevMonth(),this.formatDate=Ie()(this.currentDate.Date).format(this.format),this.value=Ie()(e.Date).format("MM-DD-YYYY"),this.toggleCalendar())}getMonthDaysGrid(){const e=this.calendar.month.getDay(1),t=this.calendar.getPreviousMonth(),o=e.dayNumber-1,i=this.calendar.month.numberOfDays+o,a=Array.from({length:i});for(let e=o;e<i;e+=1)a[e]=this.calendar.month.getDay(e+1-o);for(let e=0;e<o;e+=1){const i=o-(e+1);a[e]=t.getDay(t.numberOfDays-i)}return a}}(0,n.__decorate)([r.attr],We.prototype,"format",void 0),(0,n.__decorate)([r.attr],We.prototype,"visible",void 0),(0,n.__decorate)([r.attr],We.prototype,"position",void 0),(0,n.__decorate)([r.attr],We.prototype,"value",void 0),(0,n.__decorate)([r.observable],We.prototype,"currentDate",void 0),(0,n.__decorate)([r.observable],We.prototype,"currentMonth",void 0),(0,n.__decorate)([r.observable],We.prototype,"currentYear",void 0),(0,n.__decorate)([r.observable],We.prototype,"calendarDropdownClasses",void 0),(0,n.__decorate)([r.observable],We.prototype,"formatDate",void 0),(0,n.__decorate)([r.observable],We.prototype,"monthList",void 0);const qe=We.compose(Object.assign({baseName:"date-picker",styles:je,template:Ve,shadowOptions:Ue},Ye));var Xe=o(82694);const Ze=m.SwatchRGB.create(1,1,1),Ke=m.SwatchRGB.create(0,0,0),Je=(0,Xe.parseColorHexRGB)("#585858"),Qe=m.SwatchRGB.create(Je.r,Je.g,Je.b),et=(0,Xe.parseColorHexRGB)("#ffffff"),tt=m.SwatchRGB.create(et.r,et.g,et.b),ot=m.PaletteRGB.from(tt),it=(0,Xe.parseColorHexRGB)("#eeeeee"),at=m.SwatchRGB.create(it.r,it.g,it.b),nt=m.PaletteRGB.from(at),rt=(0,Xe.parseColorHexRGB)("#08c3a5"),st=m.SwatchRGB.create(rt.r,rt.g,rt.b),lt=m.PaletteRGB.from(st),{create:dt}=s.DesignToken,ct=dt("fui-fill-color").withDefault(Qe),ut=dt({name:"card-fill-color",cssCustomPropertyName:"fui-card-fill-color"}).withDefault(tt),pt=14;function ht(e,t){return e.colorContrast(t,pt)}const mt=dt({name:"card-foreground-color",cssCustomPropertyName:"fui-card-foreground-color"}).withDefault((e=>ht(dt("fui-card-palette").withDefault(ot).getValueFor(e),ut.getValueFor(e))));var ft=o(76214);const vt=(e,t,o)=>{const i=o?(e,t)=>e.setValueFor(o,t):(e,t)=>e.withDefault(t);Object.keys(e).forEach((o=>{const a=`${o}Value`;t[a]&&i(e[o],t[a])}))};function gt(e){return(t,o)=>{t[o+"Changed"]=function(t,o){null!=o?e.setValueFor(this,o):e.deleteValueFor(this)}}}const bt={toView:e=>null==e?null:null==e?void 0:e.toColorString(),fromView(e){if(null==e)return null;const t=(0,Xe.parseColorHexRGB)(e);return t?m.SwatchRGB.create(t.r,t.g,t.b):null}},yt=e=>m.PaletteRGB.from(m.SwatchRGB.from((0,Xe.parseColorHexRGB)(e))),wt=["baseClass","baseName","shadowOptions","styles","template"],xt=(e,t=wt)=>Object.keys(e).filter((e=>!t.includes(e))).reduce(((t,o)=>(t[o]=e[o],t)),{}),Ft=e=>{const{definition:t}=e(),{shadowOptions:o,styles:i,template:a}=t;return{shadowOptions:o,styles:i,template:a,defaultConfig:xt(t)}},$t=(e,t)=>{const o=e.match(/^(\d+)([a-z]+)/i),i=o[1],a=o[2];return Number(i)+t+a},St=(e,t)=>{const o=t.design_tokens;m.accentPalette.setValueFor(e,yt(o.color.accent.$value)),m.neutralPalette.setValueFor(e,yt(o.color.neutral.$value)),m.bodyFont.setValueFor(e,o.fontFamily.bodyFont.$value),m.baseLayerLuminance.setValueFor(e,o.mode.luminance.$value),m.density.setValueFor(e,o.style.density.$value),m.controlCornerRadius.setValueFor(e,o.style.borderRadius.$value),m.strokeWidth.setValueFor(e,o.style.strokeWidth.$value),m.designUnit.setValueFor(e,o.space.designUnit.$value),m.typeRampBaseFontSize.setValueFor(e,o.typography.baseFontSize.$value),m.typeRampBaseLineHeight.setValueFor(e,o.typography.baseLineHeight.$value);const i=m.typeRampBaseFontSize.getValueFor(e),a=m.typeRampBaseLineHeight.getValueFor(e);m.typeRampMinus1FontSize.setValueFor(e,$t(i,ft.TypeRampValues.minusOne)),m.typeRampMinus1LineHeight.setValueFor(e,$t(a,ft.TypeRampValues.minusOne)),m.typeRampMinus2FontSize.setValueFor(e,$t(i,ft.TypeRampValues.minusTwo)),m.typeRampMinus2LineHeight.setValueFor(e,$t(a,ft.TypeRampValues.minusTwo)),m.typeRampPlus1FontSize.setValueFor(e,$t(i,ft.TypeRampValues.plusOne)),m.typeRampPlus1LineHeight.setValueFor(e,$t(a,ft.TypeRampValues.plusOne)),m.typeRampPlus2FontSize.setValueFor(e,$t(i,ft.TypeRampValues.plusTwo)),m.typeRampPlus2LineHeight.setValueFor(e,$t(a,ft.TypeRampValues.plusTwo)),m.typeRampPlus3FontSize.setValueFor(e,$t(i,ft.TypeRampValues.plusThree)),m.typeRampPlus3LineHeight.setValueFor(e,$t(a,ft.TypeRampValues.plusThree)),m.typeRampPlus4FontSize.setValueFor(e,$t(i,ft.TypeRampValues.plusFour)),m.typeRampPlus4LineHeight.setValueFor(e,$t(a,ft.TypeRampValues.plusFour)),m.typeRampPlus5FontSize.setValueFor(e,$t(i,ft.TypeRampValues.plusFive)),m.typeRampPlus5LineHeight.setValueFor(e,$t(a,ft.TypeRampValues.plusFive)),m.typeRampPlus6FontSize.setValueFor(e,$t(i,ft.TypeRampValues.plusSix)),m.typeRampPlus6LineHeight.setValueFor(e,$t(a,ft.TypeRampValues.plusSix))},Dt=yt("#08c3a5"),Ct=yt("#eeeeee"),_t=m.StandardLuminance.DarkMode;const kt=o(23773).N.ltr,Ot=4,Rt=4;var Tt=o(28775);const Lt=(e="normal",t="normal")=>`\n font-family: ${m.bodyFont};\n font-style: ${e};\n font-weight: ${t};\n`,At=r.css`
481
+ `,Ue=void 0,Ye={};class We extends s.FoundationElement{formatChanged(e,t){t&&this.calendar&&(this.formatDate=Ie()(this.currentDate.Date).format(t))}valueChanged(e,t){t&&this.calendar&&(this.currentDate=new Be(new Date(t)),this.calendar.goToDate(this.currentDate.monthNumber,this.currentDate.year),this.formatDate=Ie()(this.currentDate.Date).format(this.format),this.updateHeaderText(),this.monthList=this.getMonthDaysGrid())}constructor(){var e;super(),this.format="MM-DD-YYYY",this.visible=!1,this.position="bottom";const t="en-US",o=new Date(null!==(e=this.currentDate)&&void 0!==e?e:this.getAttribute("value")||Date.now());this.substringNumber=3,this.currentDate=new Be(o,t),this.value=Ie()(this.currentDate.Date).format("MM-DD-YYYY"),this.calendar=new ze(this.currentDate.year,this.currentDate.monthNumber,t)}connectedCallback(){super.connectedCallback(),this.currentMonth=this.calendar.month.name,this.currentYear=this.calendar.year,this.formatDate=Ie()(this.currentDate.Date).format(this.format),this.toggleButton.addEventListener("click",(()=>this.toggleCalendar())),this.prevBtn.addEventListener("click",(()=>this.prevMonth())),this.nextBtn.addEventListener("click",(()=>this.nextMonth())),this.monthList=this.getMonthDaysGrid()}updateHeaderText(){this.currentMonth=this.calendar.month.name,this.currentYear=this.calendar.year}toggleCalendar(){this.visible=!this.visible,this.toggleVisibility(),this.isCurrentCalendarMonth()||(this.calendar.goToDate(this.currentDate.monthNumber,this.currentDate.year),this.updateHeaderText())}toggleVisibility(){this.calendarDropdownClasses=(0,l.A)(["visible",this.visible],this.position)}isSelectedDate(e){return Ie()(e.Date).isSame(this.currentDate.Date,"day")}isCurrentCalendarMonth(){return this.currentMonth===this.currentDate.monthNumber&&this.currentYear===this.currentDate.year}prevMonth(){this.calendar.goToPreviousMonth(),this.updateHeaderText(),this.monthList=this.getMonthDaysGrid()}nextMonth(){this.calendar.goToNextMonth(),this.updateHeaderText(),this.monthList=this.getMonthDaysGrid()}selectDay(e){Ie()(e.Date).isSame(this.currentDate.Date)||(this.currentDate=e,e.monthNumber!==this.calendar.month.number&&this.prevMonth(),this.formatDate=Ie()(this.currentDate.Date).format(this.format),this.value=Ie()(e.Date).format("MM-DD-YYYY"),this.toggleCalendar())}getMonthDaysGrid(){const e=this.calendar.month.getDay(1),t=this.calendar.getPreviousMonth(),o=e.dayNumber-1,i=this.calendar.month.numberOfDays+o,a=Array.from({length:i});for(let e=o;e<i;e+=1)a[e]=this.calendar.month.getDay(e+1-o);for(let e=0;e<o;e+=1){const i=o-(e+1);a[e]=t.getDay(t.numberOfDays-i)}return a}}(0,n.__decorate)([r.attr],We.prototype,"format",void 0),(0,n.__decorate)([r.attr],We.prototype,"visible",void 0),(0,n.__decorate)([r.attr],We.prototype,"position",void 0),(0,n.__decorate)([r.attr],We.prototype,"value",void 0),(0,n.__decorate)([r.observable],We.prototype,"currentDate",void 0),(0,n.__decorate)([r.observable],We.prototype,"currentMonth",void 0),(0,n.__decorate)([r.observable],We.prototype,"currentYear",void 0),(0,n.__decorate)([r.observable],We.prototype,"calendarDropdownClasses",void 0),(0,n.__decorate)([r.observable],We.prototype,"formatDate",void 0),(0,n.__decorate)([r.observable],We.prototype,"monthList",void 0);const qe=We.compose(Object.assign({baseName:"date-picker",styles:je,template:Ve,shadowOptions:Ue},Ye));var Xe=o(82694);const Ze=m.SwatchRGB.create(1,1,1),Ke=m.SwatchRGB.create(0,0,0),Je=(0,Xe.parseColorHexRGB)("#585858"),Qe=m.SwatchRGB.create(Je.r,Je.g,Je.b),et=(0,Xe.parseColorHexRGB)("#ffffff"),tt=m.SwatchRGB.create(et.r,et.g,et.b),ot=m.PaletteRGB.from(tt),it=(0,Xe.parseColorHexRGB)("#eeeeee"),at=m.SwatchRGB.create(it.r,it.g,it.b),nt=m.PaletteRGB.from(at),rt=(0,Xe.parseColorHexRGB)("#08c3a5"),st=m.SwatchRGB.create(rt.r,rt.g,rt.b),lt=m.PaletteRGB.from(st),{create:dt}=s.DesignToken,ct=dt("fui-fill-color").withDefault(Qe),ut=dt({name:"card-fill-color",cssCustomPropertyName:"fui-card-fill-color"}).withDefault(tt),pt=14;function ht(e,t){return e.colorContrast(t,pt)}const mt=dt({name:"card-foreground-color",cssCustomPropertyName:"fui-card-foreground-color"}).withDefault((e=>ht(dt("fui-card-palette").withDefault(ot).getValueFor(e),ut.getValueFor(e))));var ft=o(93688);const vt=(e,t,o)=>{const i=o?(e,t)=>e.setValueFor(o,t):(e,t)=>e.withDefault(t);Object.keys(e).forEach((o=>{const a=`${o}Value`;t[a]&&i(e[o],t[a])}))};function gt(e){return(t,o)=>{t[o+"Changed"]=function(t,o){null!=o?e.setValueFor(this,o):e.deleteValueFor(this)}}}const bt={toView:e=>null==e?null:null==e?void 0:e.toColorString(),fromView(e){if(null==e)return null;const t=(0,Xe.parseColorHexRGB)(e);return t?m.SwatchRGB.create(t.r,t.g,t.b):null}},yt=e=>m.PaletteRGB.from(m.SwatchRGB.from((0,Xe.parseColorHexRGB)(e))),wt=["baseClass","baseName","shadowOptions","styles","template"],xt=(e,t=wt)=>Object.keys(e).filter((e=>!t.includes(e))).reduce(((t,o)=>(t[o]=e[o],t)),{}),Ft=e=>{const{definition:t}=e(),{shadowOptions:o,styles:i,template:a}=t;return{shadowOptions:o,styles:i,template:a,defaultConfig:xt(t)}},$t=(e,t)=>{const o=e.match(/^(\d+)([a-z]+)/i),i=o[1],a=o[2];return Number(i)+t+a},St=(e,t)=>{const o=t.design_tokens;m.accentPalette.setValueFor(e,yt(o.color.accent.$value)),m.neutralPalette.setValueFor(e,yt(o.color.neutral.$value)),m.bodyFont.setValueFor(e,o.fontFamily.bodyFont.$value),m.baseLayerLuminance.setValueFor(e,o.mode.luminance.$value),m.density.setValueFor(e,o.style.density.$value),m.controlCornerRadius.setValueFor(e,o.style.borderRadius.$value),m.strokeWidth.setValueFor(e,o.style.strokeWidth.$value),m.designUnit.setValueFor(e,o.space.designUnit.$value),m.typeRampBaseFontSize.setValueFor(e,o.typography.baseFontSize.$value),m.typeRampBaseLineHeight.setValueFor(e,o.typography.baseLineHeight.$value);const i=m.typeRampBaseFontSize.getValueFor(e),a=m.typeRampBaseLineHeight.getValueFor(e);m.typeRampMinus1FontSize.setValueFor(e,$t(i,ft.TypeRampValues.minusOne)),m.typeRampMinus1LineHeight.setValueFor(e,$t(a,ft.TypeRampValues.minusOne)),m.typeRampMinus2FontSize.setValueFor(e,$t(i,ft.TypeRampValues.minusTwo)),m.typeRampMinus2LineHeight.setValueFor(e,$t(a,ft.TypeRampValues.minusTwo)),m.typeRampPlus1FontSize.setValueFor(e,$t(i,ft.TypeRampValues.plusOne)),m.typeRampPlus1LineHeight.setValueFor(e,$t(a,ft.TypeRampValues.plusOne)),m.typeRampPlus2FontSize.setValueFor(e,$t(i,ft.TypeRampValues.plusTwo)),m.typeRampPlus2LineHeight.setValueFor(e,$t(a,ft.TypeRampValues.plusTwo)),m.typeRampPlus3FontSize.setValueFor(e,$t(i,ft.TypeRampValues.plusThree)),m.typeRampPlus3LineHeight.setValueFor(e,$t(a,ft.TypeRampValues.plusThree)),m.typeRampPlus4FontSize.setValueFor(e,$t(i,ft.TypeRampValues.plusFour)),m.typeRampPlus4LineHeight.setValueFor(e,$t(a,ft.TypeRampValues.plusFour)),m.typeRampPlus5FontSize.setValueFor(e,$t(i,ft.TypeRampValues.plusFive)),m.typeRampPlus5LineHeight.setValueFor(e,$t(a,ft.TypeRampValues.plusFive)),m.typeRampPlus6FontSize.setValueFor(e,$t(i,ft.TypeRampValues.plusSix)),m.typeRampPlus6LineHeight.setValueFor(e,$t(a,ft.TypeRampValues.plusSix))},Dt=yt("#08c3a5"),Ct=yt("#eeeeee"),_t=m.StandardLuminance.DarkMode;const kt=o(23773).N.ltr,Ot=4,Rt=4;var Tt=o(28775);const Lt=(e="normal",t="normal")=>`\n font-family: ${m.bodyFont};\n font-style: ${e};\n font-weight: ${t};\n`,At=r.css`
482
482
  ${(0,s.display)("flex")}
483
483
  :host {
484
484
  flex: 1;
@@ -1,2 +1,2 @@
1
- (self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[742],{4077:(e,t,s)=>{"use strict";var i;s.d(t,{G:()=>i,l:()=>r}),function(e){e.BASIC="BASIC",e.SSO="SSO",e.JWT="JWT",e.REFRESH="REFRESH"}(i||(i={}));class r extends Error{constructor(e,t,s="Auth Failed \n"){super(s),this.sent=e,this.received=t,Object.setPrototypeOf(this,r.prototype)}isIgnorableError(){var e,t,s,i;return null===(i=null===(s=null===(t=null===(e=this.received)||void 0===e?void 0:e.DETAILS)||void 0===t?void 0:t.ERROR)||void 0===s?void 0:s.toLowerCase())||void 0===i?void 0:i.includes("request needs the user to be logged")}getMessageError(){var e,t;return Array.isArray(null===(e=this.received)||void 0===e?void 0:e.ERROR)?null===(t=this.received)||void 0===t?void 0:t.ERROR.map((e=>this.errorDetailFormatter(e))).join("\n"):""}getDetailsError(){var e,t,s,i;return Array.isArray(null===(t=null===(e=this.received)||void 0===e?void 0:e.DETAILS)||void 0===t?void 0:t.ERROR)?null===(i=null===(s=this.received)||void 0===s?void 0:s.DETAILS)||void 0===i?void 0:i.ERROR.map((e=>this.errorDetailFormatter(e))).join("\n"):""}hasPasswordExpiredError(){return this.hasErrorCode("PASSWORD_EXPIRED")}hasErrorCode(e){var t,s;return!!Array.isArray(null===(t=this.received)||void 0===t?void 0:t.ERROR)&&(null===(s=this.received)||void 0===s?void 0:s.ERROR.some((t=>t.CODE===e)))}errorDetailFormatter(e){return`\n ${e.CODE}: \n ${e.TEXT}`}}},1440:(e,t,s)=>{"use strict";s.d(t,{lj:()=>q});var i=s(186),r=s(76214),o=s(83147),n=s(75951);class a{constructor(){this.cachedMetadata=new Map,this.cachedJsonSchema=new Map}getMetadataFor(e){return this.cachedMetadata.get(e)}getJsonSchemaFor(e){return this.cachedJsonSchema.get(e)}hasMetadataFor(e){return this.cachedMetadata.has(e)}hasJsonSchemaFor(e){return this.cachedJsonSchema.has(e)}setMetadataFor(e,t){this.cachedMetadata.set(e,t)}setJsonSchemaFor(e,t){this.cachedJsonSchema.set(e,t)}}const c=n.DI.createInterface((e=>e.singleton(a))),h=new RegExp(/wss?:\/\/[-a-zA-Z0-9@:%._\+~#=]{1,256}\b([-a-zA-Z0-9()@:%_\+.~#?&\/=]*)\b\/*$/,"i");var d=s(22296);const E=n.DI.createInterface(),l=n.DI.createInterface();var u=s(26714),S=s(75373),g=s(41966),_=s(29866),T=s(40804),R=s(7211),p=s(44866),m=s(75527);class v{serialize(e){return JSON.stringify(e)}deserialize(e){return e?"string"==typeof e?JSON.parse(e):e.data?JSON.parse(e.data):e.text().then((e=>JSON.parse(e))):Promise.resolve({})}}const O=n.DI.createInterface((e=>e.singleton(v)));let A=class{constructor(e){this.serializer=e}get(e,t){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const s=yield fetch(e,Object.assign(Object.assign({},t),{method:"GET"}));return(t.serializer||this.serializer).deserialize(s)}))}post(e,t){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const s=yield fetch(e,Object.assign(Object.assign({},t),{method:"POST"}));return(t.serializer||this.serializer).deserialize(s)}))}};A=(0,i.__decorate)([(0,i.__param)(0,O)],A);const I=n.DI.createInterface((e=>e.singleton(A)));var f=s(9162);const M={polling:Object.assign({POLLING_MAP:{EVENT_AMEND_USER:{TEMP_FREQUENCY:500,AMOUNT_OF_POLLS:5,QUERIES:["ALL_USERS"]}},POLLING_INTERVAL_MAP:{ALL_TRADES:5e3,ALL_USERS:5e3,ALL_PROCESSES_STATUS:1e4},POLLING_FREQUENCY:5e3},{})};let N=class e{get isConnected(){return this._isConnected}set isConnected(e){this._isConnected=e,this.isConnectedSubject.next(this._isConnected)}constructor(e,t,s,i,r,o=M){this.http=e,this.messageBuilder=t,this.session=s,this.metaCache=i,this.serializer=r,this.config=o,this.isWorking=!1,this._isConnected=!1,this.isConnectedSubject=new u.X(this._isConnected),this.ongoingTurbo={},this.streams=new Map}checkHost(){return(0,i.__awaiter)(this,void 0,void 0,(function*(){try{return this.getMessage({MESSAGE_TYPE:f.Cs.HEARTBEAT_PING,SOURCE_REF:"host check"}).then((e=>e.MESSAGE_TYPE===f.Cs.HEARTBEAT_PONG))}catch(e){return d.k.error(e),!1}}))}send(t,s){return this.http.post(e.getUrl(this.host,t),{body:e.getBody(t),headers:e.getHeaders(t)})}httpMode(){return!0}setValidSession(e){d.k.warn("setValidSession() called while in http polling mode.")}connect(e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){return this.host=e,this.host.endsWith("/")||(this.host=this.host.concat("/")),this.checkHost().then((e=>(this.isConnected=e,this.session.setSessionStorageItem("hostUrl",this.host),e)))}))}disconnect(){this.isConnected=!1,this.streams.clear(),this.ongoingTurbo={},this.host=void 0}snapshot(e,t){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const s=this.messageBuilder.createDataLogonMessage(e,t);return d.k.debug(`HTTP MODE - ${s.MESSAGE_TYPE} (snapshot) message created -> `,s),this.send(s).then((e=>(this.dataLogoff(s.SOURCE_REF).catch((e=>d.k.error(e))),e)))}))}stream(e,t,s,i){const r=this.messageBuilder.createDataLogonMessage(e,i);d.k.debug(`HTTP MODE - ${r.MESSAGE_TYPE} (stream) message created -> `,r);const o=r.SOURCE_REF;this.streams.set(o,{SOURCE_REF:o,POLLING_FREQUENCY:new u.X(this.config.polling.POLLING_FREQUENCY),RESOURCE_NAME:e});const n=this.streams.get(o).POLLING_FREQUENCY,a=(0,S.z)((0,g.D)(this.send(r)),n.pipe((0,_.w)((e=>(0,T.F)(e)))).pipe((0,_.w)((()=>(0,g.D)(this.getMessage(r)))))).pipe((0,R.o)((()=>this.streams.has(o))),(0,p.x)((()=>{d.k.debug(`Terminating stream for ${e} - ${o}`),this.dataLogoff(o)})));return this.streams.get(o).STREAM=a,a}getMessage(t){return(0,i.__awaiter)(this,void 0,void 0,(function*(){return this.http.get(e.getUrl(this.host,t),{headers:e.getHeaders(t)})}))}getMoreRows(e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const t=this.messageBuilder.createMoreRowsMessage(e);return d.k.debug(`HTTP MODE - ${t.MESSAGE_TYPE} message created -> `,t),this.send(t)}))}dataLogoff(e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const t=this.messageBuilder.createDataLogoffMessage(e);return this.send(t).then((t=>(this.streams.has(e)&&(d.k.debug(`Removing stream ${e}`),this.streams.delete(e)),t)))}))}getMetadata(e,t=!0){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const t=this.messageBuilder.createMetaRequestMessage(e);return d.k.debug(`HTTP MODE - ${t.MESSAGE_TYPE} (metadata) message created -> `,t),this.send(t).then((e=>e.DETAILS))}))}getJSONSchema(e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const t=this.messageBuilder.createMetaRequestMessage(e,f.N$.JSON_SCHEMA_REQUEST);return d.k.debug(`HTTP MODE! - ${t.MESSAGE_TYPE} (json schema) message created -> `,t),this.send(t)}))}request(e,t){const s=this.messageBuilder.createRequestMessage(e,t);return d.k.debug(`HTTP MODE! - ${s.MESSAGE_TYPE} (request server) message created -> `,s),this.send(s)}commitEvent(e,t){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const s=this.messageBuilder.createCommitMessage(e,t);return d.k.debug(`HTTP MODE! - ${s.MESSAGE_TYPE} (commit) message created -> `,s),this.send(s).then((t=>(this.maybeTurbo(e,t),t)))}))}maybeTurbo(e,t){var s;if(!(null===(s=null==t?void 0:t.MESSAGE_TYPE)||void 0===s?void 0:s.endsWith("_ACK")))return;if(this.ongoingTurbo[e])return void d.k.debug(`${e} polling frequency is already accelerated.`);const i=this.config.polling.POLLING_MAP[e];if(!(null==i?void 0:i.TEMP_FREQUENCY)||!i.AMOUNT_OF_POLLS)return;const r=i.TEMP_FREQUENCY,o=r*i.AMOUNT_OF_POLLS,n=JSON.parse(JSON.stringify(this.config.polling.POLLING_INTERVAL_MAP)),a=JSON.parse(JSON.stringify(this.config.polling.POLLING_INTERVAL_MAP));for(const e of i.QUERIES)a[e]=r,n[e]||(n[e]=this.config.polling.POLLING_FREQUENCY);d.k.debug(`${e} TRIGGERED -> ENFORCING TURBO | FREQUENCY=${r}ms DURATION=${o}`),this.ongoingTurbo[e]=!0,this.updateIntervals({polling:{POLLING_INTERVAL_MAP:a}}),setTimeout((()=>{d.k.debug(`RESTORED ORIGINAL POLLING INTERVALS FOR ${e}`),this.updateIntervals({polling:{POLLING_INTERVAL_MAP:n}}),this.ongoingTurbo[e]=!1}),o)}updateIntervals(e){const{POLLING_INTERVAL_MAP:t}=e.polling;t&&(this.config.polling.POLLING_INTERVAL_MAP=t,this.handlePollingIntervalMapUpdate(t))}handlePollingIntervalMapUpdate(e){if(e)for(const t in e){if(!e.hasOwnProperty(t))continue;const s=e[t];this.config.polling.POLLING_INTERVAL_MAP[t]=s,d.k.debug(`Setting polling frequency for ${t} = ${s}`),[...this.streams.values()].filter((e=>e.RESOURCE_NAME===t)).forEach((e=>{var t;return null===(t=null==e?void 0:e.POLLING_FREQUENCY)||void 0===t?void 0:t.next(s)}))}}static getHeaders(e){const t={"Content-type":"application/json; charset=UTF-8","source-ref":e.SOURCE_REF};return e.SESSION_AUTH_TOKEN&&(t["SESSION-AUTH-TOKEN"]=e.SESSION_AUTH_TOKEN),e.MESSAGE_TYPE===f.N$.EVENT_LOGOUT&&(t["SESSION-ID"]=e.SESSION_ID),t}static getBody(e){return JSON.stringify(e)}static getUrl(e,t){const s=t.MESSAGE_TYPE;let i=t.MESSAGE_TYPE.replace(/_/g,"-").toLowerCase();return s===f.N$.DATA_LOGON&&(i=t.DETAILS.DATASOURCE_NAME.replace(/_/g,"-").toLowerCase()),`${e}${i}`}};(0,i.__decorate)([o.observable],N.prototype,"host",void 0),(0,i.__decorate)([o.observable],N.prototype,"isWorking",void 0),(0,i.__decorate)([o.observable],N.prototype,"_isConnected",void 0),(0,i.__decorate)([o.volatile],N.prototype,"isConnected",null),N=(0,i.__decorate)([(0,i.__param)(0,I),(0,i.__param)(1,f.sW),(0,i.__param)(2,m.z),(0,i.__param)(3,c),(0,i.__param)(4,r.JSONSerializer),(0,i.__param)(5,(0,n.optional)(l))],N);const b=n.DI.createInterface((e=>e.singleton(N)));var C=s(33344),U=s(71057),k=s(37674),L=s(30094),w=s(30526),P=s(12040),y=s(68370),D=s(11262),G=s(79262);const F=1e4,H=6e4;var V;!function(e){e.Linear="linear",e.Exponential="exponential"}(V||(V={}));const $=(e,t)=>{const{reconnectInterval:s=F}=e,i=s>H?H:s,r=Math.round(Math.log2(H/i));return i*Math.pow(2,t%r)},Y=e=>{const{reconnectInterval:t=F}=e;return t>H?H:t};class K extends C.x{constructor(){super()}}class W{constructor(e,t,s,i){this._message=e,this._onMessage=t,this._onError=s,this._isSubscription=i}get sentMessage(){return this._message}get onReceivedMessage(){return this._onMessage}get onReceivedError(){return this._onError}get isSubscription(){return this._isSubscription}}let B=class{isConnectedChanged(e,t){this.isConnectedSubject.next(t)}constructor(e,t,s,i){this.messageBuilder=e,this.session=t,this.serializer=s,this.uuid=i,this.defaultInterval=1e4,this.secondsMultiplier=1e3,this.isConnectedSubject=new u.X(!1),this.isConnected=!1,this.hasValidSession=!1,this.heartbeatIsEnabled=!0,this.heartbeatInterval=this.defaultInterval,this.isReconnecting=!1,this.socketMessages=()=>this.wsMessages}get heartbeatLoggingIsEnabled(){var e,t;return null!==(t=null===(e=this.connectOptions)||void 0===e?void 0:e.enableHeartbeatLogging)&&void 0!==t&&t}get messageLoggingIsEnabled(){var e,t;return null!==(t=null===(e=this.connectOptions)||void 0===e?void 0:e.enableMessageLogging)&&void 0!==t&&t}connect(e,t,s){return this.url=e,this.connectOptions=t,this.reconnectOptions=s,new Promise((e=>{var t,s,r,o;d.k.info(`${this.isReconnecting?"Reconnecting":"Connecting"} to ${this.url}`);(!this.isReconnecting||!(null===(t=this.reconnectOptions)||void 0===t?void 0:t.reconnectStreams))&&this.cleanMessages(),null===(s=this.socketSubscription)||void 0===s||s.unsubscribe(),this.websocket=new D.p({url:this.url,openObserver:{next:()=>{this.isConnected=!0,this.session.setSessionStorageItem("hostUrl",this.url),this.prepareHeartbeat(),d.k.info("WebSocket connection is now open"),e(this.isConnected)}},closeObserver:{next:t=>{this.disconnectedByServer=!t.wasClean,this.isConnected=!1,this.disconnectedByServer&&d.k.info(`WebSocket connection was closed due an error - Code: ${t.code} ${t.reason?" | Reason: "+t.reason:""}`),e(this.isConnected)}},serializer:this.serializer.serialize,deserializer:this.serializer.deserialize});this.socketSubscription=this.websocket.subscribe(null!==(o=null===(r=this.connectOptions)||void 0===r?void 0:r.connectObserver)&&void 0!==o?o:{next:e=>(0,i.__awaiter)(this,void 0,void 0,(function*(){var t;const s=`Response Message received for SourceRef: ${e.SOURCE_REF} | MessageType: ${e.MESSAGE_TYPE}`;this.logMessageTypeFlow(e.MESSAGE_TYPE,d.k.info,s);const{SOURCE_REF:i,MESSAGE_TYPE:r}=e,o=this.getMessageHandler(i,r);if(!o)return;let n=!1;switch(e.MESSAGE_TYPE){case f.N$.EVENT_LOGIN_AUTH_ACK:{this.hasValidSession=!0;const s=e.DETAILS;s.HEARTBEAT_INTERVAL_SECS&&void 0===(null===(t=this.connectOptions)||void 0===t?void 0:t.heartbeatInterval)&&(this.heartbeatInterval=s.HEARTBEAT_INTERVAL_SECS*this.secondsMultiplier,this.prepareHeartbeat());break}case f.Cs.LOGOUT_ACK:return this.hasValidSession=!1,o.onReceivedMessage.call(this,e),void this.cleanMessages();case f.Cs.LOGON_ACK:return;case f.Cs.LOGOFF_ACK:if(e.LOGGED_OUT&&this.hasValidSession){const e=this.messageBuilder.createRefreshTokenMessage(),t=yield this.send(e);t?t.MESSAGE_TYPE===f.N$.EVENT_LOGIN_AUTH_ACK&&(this.session.setAuthResult(t),this.wsMessageHandlers.forEach((e=>{e.isSubscription&&(e.sentMessage.SESSION_AUTH_TOKEN=t.SESSION_AUTH_TOKEN,this.websocket.next(e.sentMessage))}))):this.hasValidSession=!1}break;case f.Cs.QUERY_UPDATE:if(!o.isSubscription){const e=this.messageBuilder.createDataLogoffMessage(i);this.send(e)}break;case f.Cs.MSG_NACK:n=!0}n?o.onReceivedError.call(this,{receivedMessage:e,sentMessage:o.sentMessage}):o.onReceivedMessage.call(this,e),this.wsMessages.next(e),o.isSubscription||this.removeMessageHandler(i)})),error:e=>{d.k.debug("Error found: ",e),this.reconnect()},complete:()=>{var e;this.disconnectedByServer&&(null===(e=this.connectOptions)||void 0===e?void 0:e.alwaysOn)?this.reconnect():d.k.info("Connection is now closed")}})}))}prepareHeartbeat(){var e,t,s,r;this.heartbeatSubscription&&this.heartbeatSubscription.unsubscribe();const o=()=>(0,i.__awaiter)(this,void 0,void 0,(function*(){if(!this.isConnected)return;const e={MESSAGE_TYPE:f.Cs.HEARTBEAT_PING,SOURCE_REF:this.uuid.createId()},t=yield this.send(e);this.heartbeatIsEnabled=t.MESSAGE_TYPE===f.Cs.HEARTBEAT_PONG&&t.SOURCE_REF===e.SOURCE_REF}));if(null!==(t=null===(e=this.connectOptions)||void 0===e?void 0:e.enableHeartbeat)&&void 0!==t?t:this.heartbeatIsEnabled){const e=null!==(r=null===(s=this.connectOptions)||void 0===s?void 0:s.heartbeatInterval)&&void 0!==r?r:this.heartbeatInterval;this.heartbeatSubscription=(0,U.H)(e,e).pipe((0,R.o)((()=>this.websocket&&this.isConnected)),(0,w.b)((()=>this.heartbeatLoggingIsEnabled&&d.k.debug(`Sending a heartbeat ping every ${e} ms`)))).subscribe((()=>o()))}}reconnect(){var e,t,s,i,r;const o=!(null===(e=this.connectOptions)||void 0===e?void 0:e.alwaysOn)&&!1===(null===(t=this.connectOptions)||void 0===t?void 0:t.enableHeartbeat);if(this.isReconnecting||o)return;this.isReconnecting=!0;const n=(null===(s=this.reconnectOptions)||void 0===s?void 0:s.reconnectStrategy)===V.Exponential?$:Y,a=this.isConnectedSubject.asObservable().pipe((0,_.w)((e=>e?(0,k.of)(-1):((e,t)=>new G.y((s=>{let i,r=0;return function o(){s.next(r),clearTimeout(i),i=setTimeout(o,t(e,r)),r+=1}(),()=>{clearTimeout(i)}})))(this.reconnectOptions,n).pipe((0,P.z)((e=>{var t,s,i;let r;return r=(null===(t=this.connectOptions)||void 0===t?void 0:t.alwaysOn)?e+1:null!==(i=null===(s=this.reconnectOptions)||void 0===s?void 0:s.reconnectAttempts)&&void 0!==i?i:10,e<r?(0,k.of)(e):(0,L._)((()=>new Error(`Max reconnect attempts ${r} reached.`)))}))))),(0,R.o)((()=>this.websocket&&!this.isConnected)));a.subscribe(null!==(r=null===(i=this.reconnectOptions)||void 0===i?void 0:i.reconnectObserver)&&void 0!==r?r:{next:e=>{d.k.debug(`Attempt no. ${e+1} to reconnect`),this.websocket.complete(),this.connect(this.url,this.connectOptions,this.reconnectOptions)},error:e=>{var t;d.k.debug(e),null===(t=this.socketSubscription)||void 0===t||t.unsubscribe(),this.isReconnecting=!1},complete:()=>{d.k.info(this.isConnected?"Reconnected":"Disconnected"),this.isReconnecting=!1,this.wsMessageHandlers.forEach((e=>{e.isSubscription&&this.websocket.next(e.sentMessage)}))}})}reset(){this.isConnected=!1,this.websocket&&this.websocket.complete(),this.websocket=null,this.cleanMessages()}cleanMessages(){this.wsMessages&&this.wsMessages.complete(),this.wsMessages=new K,this.wsMessageHandlers=new Map}send(e,t=!0){if(!this.isConnected)return void Promise.reject(new Error("WebSocket connection is closed"));const s=`Sending Message for SourceRef: ${e.SOURCE_REF} | MessageType: ${e.MESSAGE_TYPE}`;return this.logMessageTypeFlow(e.MESSAGE_TYPE,d.k.info,s),new Promise(((s,i)=>{const r=e=>{s(e)},o=e=>{i(e)};t&&this.setMessageHandler(e,r,o),this.websocket.next(e)}))}sendForStream(e,t,s){if(!this.isConnected)return(0,L._)((()=>new Error("WebSocket connection is closed")));if(!this.hasValidSession)return(0,L._)((()=>new Error("WebSocket connection is open but there is no valid/active session, please check your auth flow")));const i=`Sending Message (stream) for SourceRef: ${e.SOURCE_REF} | MessageType: ${e.MESSAGE_TYPE}`;return this.logMessageTypeFlow(e.MESSAGE_TYPE,d.k.info,i),this.setMessageHandler(e,t,s,!0),this.websocket.next(e),(0,g.D)(this.wsMessages.pipe((0,y.h)((t=>t.SOURCE_REF===e.SOURCE_REF))))}setMessageHandler(e,t,s,i=!1){const r=`Setting Message Handler for SourceRef: ${e.SOURCE_REF} | MessageType: ${e.MESSAGE_TYPE}`;this.logMessageTypeFlow(e.MESSAGE_TYPE,d.k.debug,r),this.wsMessageHandlers.set(e.SOURCE_REF,new W(e,t,s,i))}removeMessageHandler(e){this.wsMessageHandlers.delete(e)}getMessageHandler(e,t){const s=`Getting Message Handler for SourceRef: ${e} | MessageType: ${t}`;return this.logMessageTypeFlow(t,d.k.debug,s),this.wsMessageHandlers.get(e)}logMessageTypeFlow(e,t,s){switch(e){case f.Cs.HEARTBEAT_PING:case f.Cs.HEARTBEAT_PONG:this.heartbeatLoggingIsEnabled&&t(s);break;default:this.messageLoggingIsEnabled&&t(s)}}};(0,i.__decorate)([o.observable],B.prototype,"websocket",void 0),(0,i.__decorate)([o.observable],B.prototype,"wsMessages",void 0),(0,i.__decorate)([o.observable],B.prototype,"wsMessageHandlers",void 0),(0,i.__decorate)([o.observable],B.prototype,"isConnected",void 0),(0,i.__decorate)([o.observable],B.prototype,"disconnectedByServer",void 0),(0,i.__decorate)([o.observable],B.prototype,"hasValidSession",void 0),(0,i.__decorate)([o.observable],B.prototype,"heartbeatIsEnabled",void 0),(0,i.__decorate)([o.observable],B.prototype,"isReconnecting",void 0),B=(0,i.__decorate)([(0,i.__param)(0,f.sW),(0,i.__param)(1,m.z),(0,i.__param)(2,O),(0,i.__param)(3,r.UUID)],B);const x=n.DI.createInterface((e=>e.singleton(B))),Q={connect:{alwaysOn:!1,enableHeartbeat:!0,enableHeartbeatLogging:!1,heartbeatInterval:1e4,enableMessageLogging:!1},reconnect:{reconnectAttempts:10,reconnectInterval:1e4,reconnectStreams:!0}};let j=class{get isConnected(){return this.socket.isConnected}get isConnectedSubject(){return this.socket.isConnectedSubject}constructor(e,t,s,i=Q){this.socket=e,this.messageBuilder=t,this.metaCache=s,this.config=i,this.isWorking=!1}httpMode(){return!1}setValidSession(e){this.socket.hasValidSession=e}send(e,t){return this.socket.send(e,t)}connect(e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){return this.socket.reset(),h.test(e)?this.socket.connect(e,this.config.connect,this.config.reconnect):(d.k.error(`Specified host (${e}) is not valid WebSocket url. Connection will not proceed.`),void d.k.warn("Make sure the host url starts with wss:// or ws://"))}))}disconnect(){this.socket.reset()}snapshot(e,t){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const s=this.messageBuilder.createDataLogonMessage(e,t);return d.k.debug(`${s.MESSAGE_TYPE} (snapshot) message created -> `,s),this.socket.send(s)}))}stream(e,t,s,i){const r=this.messageBuilder.createDataLogonMessage(e,i);return d.k.debug(`${r.MESSAGE_TYPE} (stream) message created -> `,r),this.socket.sendForStream(r,t,s)}getMoreRows(e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const t=this.messageBuilder.createMoreRowsMessage(e);return d.k.debug(`${t.MESSAGE_TYPE} message created -> `,t),this.socket.send(t,!1)}))}dataLogoff(e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const t=this.messageBuilder.createDataLogoffMessage(e);return d.k.debug(`${t.MESSAGE_TYPE} message created -> `,t),this.socket.send(t)}))}getMetadata(e,t=!0){var s;return(0,i.__awaiter)(this,void 0,void 0,(function*(){if(t&&this.metaCache.hasMetadataFor(e))return d.k.debug(`Cached metadata retrieved for ${e}`),this.metaCache.getMetadataFor(e);const i=this.messageBuilder.createMetaRequestMessage(e);let r;d.k.debug(`${i.MESSAGE_TYPE} (metadata) message created -> `,i);try{this.isWorking=!0;const t=yield this.socket.send(i);r=null!==(s=null==t?void 0:t.DETAILS)&&void 0!==s?s:{},Object.keys(r).length&&this.metaCache.setMetadataFor(e,r)}catch(e){d.k.error(e)}finally{this.isWorking=!1}return r}))}getJSONSchema(e,t=!0){var s;return(0,i.__awaiter)(this,void 0,void 0,(function*(){if(t&&this.metaCache.hasJsonSchemaFor(e))return d.k.debug(`Cached JsonSchema retrieved for ${e}`),this.metaCache.getJsonSchemaFor(e);const i=this.messageBuilder.createMetaRequestMessage(e,f.N$.JSON_SCHEMA_REQUEST);let r;d.k.debug(`${i.MESSAGE_TYPE} (json schema) message created -> `,i);try{this.isWorking=!0,r=null!==(s=yield this.socket.send(i))&&void 0!==s?s:{},Object.keys(r).length&&this.metaCache.setJsonSchemaFor(e,r)}catch(e){d.k.error(e)}finally{this.isWorking=!1}return r}))}request(e,t){const s=this.messageBuilder.createRequestMessage(e,t);return d.k.debug(`${s.MESSAGE_TYPE} (request server) message created -> `,s),this.socket.send(s)}commitEvent(e,t){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const s=this.messageBuilder.createCommitMessage(e,t);return d.k.debug(`${s.MESSAGE_TYPE} (commit) message created -> `,s),this.socket.send(s)}))}};(0,i.__decorate)([o.observable],j.prototype,"isWorking",void 0),(0,i.__decorate)([o.volatile],j.prototype,"isConnected",null),j=(0,i.__decorate)([(0,i.__param)(0,x),(0,i.__param)(1,f.sW),(0,i.__param)(2,c),(0,i.__param)(3,(0,n.optional)(E))],j);const J="true"===r.FORCE_HTTP||!1,z=n.DI.createInterface((e=>e.singleton(j))),q=n.DI.createInterface((e=>J?e.aliasTo(b):e.aliasTo(z)))},9162:(e,t,s)=>{"use strict";s.d(t,{Cs:()=>i,N$:()=>r,QT:()=>o,sW:()=>l});var i,r,o,n=s(186),a=s(76214),c=s(75951),h=s(4077),d=s(75527);!function(e){e.LOGON_ACK="LOGON_ACK",e.LOGON_NACK="LOGON_NACK",e.LOGOFF_ACK="LOGOFF_ACK",e.LOGOFF_NACK="LOGOFF_NACK",e.HEARTBEAT_PING="HEARTBEAT_PING",e.HEARTBEAT_PONG="HEARTBEAT_PONG",e.MORE_ROWS="MORE_ROWS",e.MSG_ACK="MSG_ACK",e.MSG_NACK="MSG_NACK",e.LOGOUT_ACK="LOGOUT_ACK",e.LOGOUT_NACK="LOGOUT_NACK",e.QUERY_UPDATE="QUERY_UPDATE"}(i||(i={})),function(e){e.EVENT_LOGIN_AUTH="EVENT_LOGIN_AUTH",e.EVENT_LOGIN_AUTH_ACK="EVENT_LOGIN_AUTH_ACK",e.EVENT_LOGIN_AUTH_NACK="EVENT_LOGIN_AUTH_NACK",e.EVENT_LOGOUT="EVENT_LOGOUT",e.DATA_LOGON="DATA_LOGON",e.DATA_LOGOFF="DATA_LOGOFF",e.META_REQUEST="META_REQUEST",e.JSON_SCHEMA_REQUEST="JSON_SCHEMA_REQUEST",e.RESOURCES_REQUEST="RESOURCES_REQUEST",e.EVENT_CHANGE_USER_PASSWORD="EVENT_CHANGE_USER_PASSWORD",e.EVENT_SELF_SERVICE_PASSWORD_RESET="EVENT_SELF_SERVICE_PASSWORD_RESET",e.EVENT_PASSWORD_RESET_ACTION="EVENT_PASSWORD_RESET_ACTION"}(r||(r={})),function(e){e.SESSION_NOT_FOUND="SESSION_NOT_FOUND",e.UNKNOWN_MESSAGE_TYPE="UNKNOWN_MESSAGE_TYPE"}(o||(o={}));let E=class{constructor(e,t){this.session=e,this.uuid=t}createLoginMessage(e){let t;switch(e.type){case h.G.BASIC:t={USER_NAME:e.username,PASSWORD:e.password};break;case h.G.REFRESH:t={USER_NAME:e.username,REFRESH_AUTH_TOKEN:e.refreshToken};break;case h.G.SSO:t={SSO_TOKEN:e.ssoToken};break;case h.G.JWT:t={JWT:e.jwt,DOMAIN:e.domain}}return{DETAILS:t,SOURCE_REF:this.uuid.createId(),MESSAGE_TYPE:r.EVENT_LOGIN_AUTH}}createLogoutMessage(e){var t,s;return{SOURCE_REF:this.uuid.createId(),MESSAGE_TYPE:r.EVENT_LOGOUT,SESSION_AUTH_TOKEN:null!==(t=e.authToken)&&void 0!==t?t:this.session.getSessionStorageItem("authToken"),SESSION_ID:null!==(s=e.sessionId)&&void 0!==s?s:this.session.getSessionStorageItem("sessionId")}}createDataLogonMessage(e,t){return{SOURCE_REF:this.uuid.createId(),MESSAGE_TYPE:r.DATA_LOGON,DETAILS:Object.assign({DATASOURCE_NAME:e},t),SESSION_AUTH_TOKEN:this.session.getSessionStorageItem("authToken")}}createDataLogoffMessage(e){return{SOURCE_REF:e,MESSAGE_TYPE:r.DATA_LOGOFF,SESSION_AUTH_TOKEN:this.session.getSessionStorageItem("authToken")}}createRequestMessage(e,t){return Object.assign({SOURCE_REF:this.uuid.createId(),SESSION_AUTH_TOKEN:this.session.getSessionStorageItem("authToken"),MESSAGE_TYPE:e.startsWith("REQ_")?e:`REQ_${e}`},t)}createMetaRequestMessage(e,t=r.META_REQUEST){return{SOURCE_REF:this.uuid.createId(),MESSAGE_TYPE:t,DETAILS:{FEATURE:e},SESSION_AUTH_TOKEN:this.session.getSessionStorageItem("authToken")}}createCommitMessage(e,t){return Object.assign({SOURCE_REF:this.uuid.createId(),SESSION_AUTH_TOKEN:this.session.getSessionStorageItem("authToken"),MESSAGE_TYPE:e},t)}createRefreshTokenMessage(){return{SOURCE_REF:this.uuid.createId(),SESSION_AUTH_TOKEN:this.session.getSessionStorageItem("authToken"),MESSAGE_TYPE:r.EVENT_LOGIN_AUTH,DETAILS:{REFRESH_AUTH_TOKEN:this.session.getSessionStorageItem("refreshToken")}}}createChangePasswordMessage(e,t,s){return{USER_NAME:e,SOURCE_REF:this.uuid.createId(),MESSAGE_TYPE:r.EVENT_CHANGE_USER_PASSWORD,DETAILS:{OLD_PASSWORD:t,NEW_PASSWORD:s}}}createForgotPasswordMessage(e,t,s=e){return{USER_NAME:s,SOURCE_REF:this.uuid.createId(),MESSAGE_TYPE:r.EVENT_SELF_SERVICE_PASSWORD_RESET,DETAILS:{USER_NAME:e,RETURN_URL:t}}}createForgotPasswordTokenMessage(e,t,s,i=e){return{USER_NAME:i,SOURCE_REF:this.uuid.createId(),MESSAGE_TYPE:r.EVENT_PASSWORD_RESET_ACTION,DETAILS:{USER_NAME:e,RESET_TOKEN:t,NEW_PASSWORD:s}}}createMoreRowsMessage(e){return{SOURCE_REF:this.uuid.createId(),MESSAGE_TYPE:i.MORE_ROWS,DETAILS:{SOURCE_REF:e},SESSION_AUTH_TOKEN:this.session.getSessionStorageItem("authToken")}}};E=(0,n.__decorate)([(0,n.__param)(0,d.z),(0,n.__param)(1,a.UUID)],E);const l=c.DI.createInterface((e=>e.singleton(E)))},5127:(e,t,s)=>{"use strict";s.d(t,{$:()=>r});var i=s(22296);function r(e,t="ROW_REF"){const s=e=>{const s=Object.assign(Object.assign({},e),{[t]:e.DETAILS[t]});return delete s.DETAILS,s},r=[],o=[],n=[];for(const t of e.ROW)if(t.DETAILS)switch(t.DETAILS.OPERATION){case"INSERT":r.push(s(t));break;case"MODIFY":n.push(s(t));break;case"DELETE":o.push(s(t));break;default:i.k.error(`Unsupported operation type: '${t.DETAILS.OPERATION}'`)}return{inserts:r,deletes:o,updates:n,SOURCE_REF:e.SOURCE_REF}}},33253:(e,t,s)=>{"use strict";s.d(t,{Yh:()=>G});var i=s(186),r=s(83147),o=s(75951),n=s(71057),a=s(41966),c=s(7211),h=s(29866),d=s(1440),E=s(9162),l=s(3276),u=s(4077),S=s(75527),g=s(22296);const _=o.DI.createInterface();function T(){return(null===navigator||void 0===navigator?void 0:navigator.credentials)?"PasswordCredential"in window||(g.k.warn("PasswordCredential not available in this browser."),!1):(g.k.warn("CredentialsContainer not available in this browser."),!1)}const R=":";function p(e="",t=R,s){return e.split(t,s).map((e=>e.trim())).filter((e=>""!==e))}function m(e,t=R){const s="string"==typeof e&&e.trim();return!!s&&s.includes(t)}function v(e,t=R){return"string"==typeof e&&e.trim()?(e.match(new RegExp(t,"g"))||[]).length:0}function O(e,t=R){for(const s of e)if(m(s,t))return s;return e.find((e=>"string"==typeof e&&!!e.trim()))}function A(e,t,s){const i="string"==typeof e&&e.trim();return!i||s&&!i.includes(s)||v(i)>1?s&&t&&s!==t?`${t}:${s}`:t||s:i}function I(e="credential"){g.k.warn(`Unable to migrate legacy ${e} to latest format. Please remove from your browser.`)}const f={password:!0,mediation:"optional"},M={cookie:{path:"/",name:"credentials",expires:7300,storePasswords:!1}};let N=class{constructor(e,t=M){this.session=e,this.config=t}createBasicCredentials(e){return{type:u.G.BASIC,username:e.username,password:e.password}}createRefreshCredentials(e){var t,s;return{type:u.G.REFRESH,username:null!==(t=null==e?void 0:e.username)&&void 0!==t?t:this.getUsername(),refreshToken:null!==(s=null==e?void 0:e.refreshToken)&&void 0!==s?s:this.getRefreshToken()}}createSSOCredentials(e){var t;return{type:u.G.SSO,ssoToken:null!==(t=null==e?void 0:e.ssoToken)&&void 0!==t?t:this.getSSOToken()}}validateBasicCredentials(e){return e&&!!e.username&&!!e.password}validateRefreshCredentials(e){return e&&!!e.refreshToken&&!!e.username}validateSSOCredentials(e){return e&&!!e.ssoToken}validateUserCredentialData(e,t){const s=e&&!!e.id&&!!e.name&&!e.name.includes(R)&&v(e.id)<=1;return t?s&&!!e.password:s}normaliseLegacyCredentialData(e,t){if(this.validateUserCredentialData(e,!0))return[e,!0];if(this.validateUserCredentialData(t))return[t,!1];if(e)try{const t=e,[s]=p(t.name||t.id),[i,r]=p(O([t.id,t.name]));return[{id:A(t.id||t.name,s,r),name:s,password:t.password||""},!0]}catch(e){I("PasswordCredential")}if(t)try{const e=t,[s]=p(e.name||e.username||e.organisation),[i,r]=p(O([e.organisation||e.username||e.name]));return[{id:A(e.id||e.username||e.name,s,r),name:s,password:e.password||""},!1]}catch(e){I("cookie")}return[void 0,!1]}storeCredentialsInContainer(e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){if(!T())return;const t=new PasswordCredential(e);return g.k.debug("Storing credentials in CredentialsContainer"),navigator.credentials.store(t)}))}getCredentialsFromContainer(e=f){return(0,i.__awaiter)(this,void 0,void 0,(function*(){if(T())return g.k.debug("Getting credentials from CredentialsContainer"),yield navigator.credentials.get(e)}))}storeCredentialsInCookie(e){const{password:t}=e,s=(0,i.__rest)(e,["password"]),r=this.config.cookie.storePasswords?e:s;return g.k.debug("Storing credentials in cookie"),!!l.Z.set(this.config.cookie.name,JSON.stringify(r),{expires:this.config.cookie.expires,domain:location.hostname,path:this.config.cookie.path,secure:!0})}getCredentialsFromCookie(){g.k.debug("Getting credentials from cookie");const e=l.Z.get(this.config.cookie.name);return e?JSON.parse(e):void 0}storeCredentials(e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){if(T()){const t=yield this.storeCredentialsInContainer(e);return Promise.resolve(!!t)}return Promise.resolve(this.storeCredentialsInCookie(e))}))}getCredentials(e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){return T()?this.getCredentialsFromContainer(e):Promise.resolve(this.getCredentialsFromCookie())}))}getSSOToken(){return this.session.getSessionStorageItem("ssoToken")}getUsername(){return this.session.getSessionStorageItem("username")}getRefreshToken(){return this.session.getSessionStorageItem("refreshToken")}removeCookie(){l.Z.remove(this.config.cookie.name,{domain:location.hostname,path:this.config.cookie.path})}removeSSOToken(){this.session.removeSessionStorageItem("ssoToken")}removeUsername(){this.session.removeSessionStorageItem("username")}removeRefreshToken(){this.session.removeSessionStorageItem("refreshToken")}removeAll(){this.removeCookie(),this.removeSSOToken(),this.removeUsername(),this.removeRefreshToken()}preventSilentAccess(){return T()&&navigator.credentials.preventSilentAccess()}};N=(0,i.__decorate)([(0,i.__param)(0,S.z),(0,i.__param)(1,(0,o.optional)(_))],N);const b=o.DI.createInterface((e=>e.singleton(N)));class C{constructor(e){Object.assign(this,e)}hasAdminProfile(){return this.hasProfile("ADMIN")}hasPermission(e){return this.hasKey(this.permissions,e)}hasProfile(e){return this.hasKey(this.profiles,e)}hasKey(e,t){return!!(e&&e.length&&t)&&(Array.isArray(t)||(t=[t]),t.some((t=>e.includes(t))))}}(0,i.__decorate)([r.observable],C.prototype,"permissions",void 0),(0,i.__decorate)([r.observable],C.prototype,"profiles",void 0),(0,i.__decorate)([r.observable],C.prototype,"username",void 0);let U=class{get isLoggedIn(){return!!this.loggedUserResult&&!(!this.loggedUserResult.authToken||!this.loggedUserResult.sessionId)}constructor(e,t,s,i){this.session=e,this.connect=t,this.messageBuilder=s,this.credentialManager=i,this.isWorking=!1,this.loggedUserResult=null,this.currentUser=null}login(e){var t;return(0,i.__awaiter)(this,void 0,void 0,(function*(){this.isWorking=!0;try{const s=this.messageBuilder.createLoginMessage(e),i=yield this.connect.send(s);if(!i||i.ERROR||(null===(t=i.DETAILS)||void 0===t?void 0:t.ERROR))throw new u.l(s,i);this.applyAuthResults({authToken:i.SESSION_AUTH_TOKEN,refreshToken:i.REFRESH_AUTH_TOKEN,profiles:i.PROFILE,username:i.USER_NAME,permissions:i.PERMISSION,sessionId:i.SESSION_ID}),this.session.setAuthResult(i),g.k.debug("Login Authentication Result:",i)}catch(e){if(g.k.error("Login Authentication Error:",e),!(e instanceof u.l&&e.isIgnorableError()))throw this.removeAuthResults(),e;g.k.warn("Ignoring authentication error as it is a known edge case.")}finally{this.isWorking=!1}return this.loggedUserResult}))}logout(){var e;return(0,i.__awaiter)(this,void 0,void 0,(function*(){this.isWorking=!0;let t={success:!1};try{const s=this.messageBuilder.createLogoutMessage(this.loggedUserResult);this.session.deleteUserFromSessionStorage(),this.connect.setValidSession(!1);const{CODE:i,DETAILS:r,ERROR:o,MESSAGE_TYPE:n,OIDC_LOGOUT_URL:a}=yield this.connect.send(s),c=null!==(e=null==r?void 0:r.ERROR)&&void 0!==e?e:o,h=n===E.Cs.LOGOUT_NACK;h&&g.k.warn("Unexpected Logout NACK received during logout.",c),t={success:n===E.Cs.LOGOUT_ACK||i===E.QT.SESSION_NOT_FOUND||h,error:c},a&&window.open(a,"_self")}catch(e){const s=new u.l(e.sentMessage,e.receivedMessage);if(g.k.error("Logout Authentication Error:",s),!s.isIgnorableError())throw e;g.k.warn("Ignoring authentication error as it is a known edge case."),t.success=!0}finally{this.removeAuthResults(),this.isWorking=!1}return t}))}reAuthFromSession(){return(0,i.__awaiter)(this,void 0,void 0,(function*(){if(yield this.ensureConnection()){const e=this.messageBuilder.createRefreshTokenMessage(),t=yield this.connect.send(e);if((null==t?void 0:t.MESSAGE_TYPE)===E.N$.EVENT_LOGIN_AUTH_ACK)return this.session.setAuthResult(t),this.connect.setValidSession(!0),this.applyAuthResults(this.getLoggedUserFromMessage(t)),!0}return this.session.deleteUserFromSessionStorage(),this.connect.setValidSession(!1),!1}))}ensureConnection(){return(0,i.__awaiter)(this,void 0,void 0,(function*(){if(this.connect.isConnected)return!0;const e=this.session.getSessionStorageItem("hostUrl");return!!e&&this.connect.connect(e)}))}getLoggedUserFromMessage(e){const t=e.USER_NAME,s=e.SESSION_AUTH_TOKEN,i=e.REFRESH_AUTH_TOKEN;return t&&s&&i?{username:t,authToken:s,refreshToken:i,profiles:e.PROFILE,permissions:e.PERMISSION,sessionId:e.SESSION_ID}:null}applyAuthResults(e){e?(this.loggedUserResult={authToken:e.authToken,refreshToken:e.refreshToken,profiles:e.profiles,username:e.username,permissions:e.permissions,sessionId:e.sessionId},this.currentUser=new C({permissions:e.permissions,profiles:e.profiles,username:e.username})):this.removeAuthResults()}removeAuthResults(){this.loggedUserResult=null,this.currentUser=null}};(0,i.__decorate)([r.observable],U.prototype,"isWorking",void 0),(0,i.__decorate)([r.observable],U.prototype,"loggedUserResult",void 0),(0,i.__decorate)([r.observable],U.prototype,"currentUser",void 0),(0,i.__decorate)([r.volatile],U.prototype,"isLoggedIn",null),U=(0,i.__decorate)([(0,i.__param)(0,S.z),(0,i.__param)(1,d.lj),(0,i.__param)(2,E.sW),(0,i.__param)(3,b)],U);const k=o.DI.createInterface((e=>e.singleton(U)));var L=s(66306);var w=s(5127),P=s(82940);const y={options:{criteria:"",isSnapshot:!1,maxRows:P.WJ.MAX_ROWS_250,maxView:P.WJ.MAX_VIEW_1000,movingView:!1,orderBy:"",resourceName:"",reverse:!1},criteriaToFields:function(e){const t=e.split("&&").map((e=>e.trim())),s={};return t.forEach((e=>{const t=e.substr(0,e.indexOf("=")).trim().replace(/["']/g,""),i=e.substr(e.lastIndexOf("=")+1,e.length).trim().replace(/["']/g,"");s[t]=i})),s},dataServerResultFilter:w.$};let D=class{constructor(e,t,s=y){this.connect=e,this.auth=t,this.config=s,this.initialized=!1,this.readOnly=!0,this.originalFieldDef=[],this.requestFields=[],this.fieldMetadata=[],this.availableIndexes=[]}init(e,t=!0){var s;return(0,i.__awaiter)(this,void 0,void 0,(function*(){if(!this.validResourceName(null==e?void 0:e.resourceName))return!1;if(this.options=Object.assign(Object.assign({},this.config.options),e),t){g.k.debug(`Initializing ${this.options.resourceName} Datasource`);const t=yield this.connect.getMetadata(this.options.resourceName).catch((t=>g.k.error(`Metadata Fetch failed for ${e.resourceName}:`,t)));if(!t)return this.deinit(),!1;this.resourceType=t.TYPE,this.availableIndexes=null!==(s=t.INDEXES)&&void 0!==s?s:[],this.originalFieldDef=(0,L.C)(t),this.fieldMetadata=(0,L.i)(this.originalFieldDef),this.requestFields=t.REQUEST_FIELD||[],g.k.debug(`Datasource for ${this.options.resourceName} is ready`)}return this.options.isSnapshot||(this._stream=yield this.createStream()),this.initialized=!0,this.initialized}))}deinit(){this.initialized=!1,this.options=void 0,this.resourceType=void 0,this.availableIndexes=[],this.originalFieldDef=[],this.fieldMetadata=[],this.requestFields=[]}get stream(){return this._stream}get params(){const e={CRITERIA_MATCH:this.options.criteria,FIELDS:this.options.fields,MAX_ROWS:this.options.maxRows,MAX_VIEW:this.options.maxView,MOVING_VIEW:this.options.movingView,REQUEST:this.options.request,REVERSE:this.options.reverse};if(this.options.orderBy)if(this.availableIndexes.findIndex((e=>e.NAME===this.options.orderBy))>-1)e.ORDER_BY=this.options.orderBy;else{const e=this.availableIndexes.map((e=>e.NAME));g.k.warn("Specified [orderBy] index is not valid and will not be used. See https://learn.genesis.global/docs/database/data-types/index-entities/ - Available indexes:",e)}return g.k.debug("Getting configured params:",e),e}snapshot(){var e;return(0,i.__awaiter)(this,void 0,void 0,(function*(){switch(g.k.debug(`Requesting snapshot for ${this.options.resourceName} (${this.resourceType}).`),this.resourceType){case P._g.DATASERVER:return this.connect.snapshot(this.options.resourceName,this.params);case P._g.REQUEST_SERVER:{const t=this.params,{REQUEST:s,CRITERIA_MATCH:r}=t,o={DETAILS:(0,i.__rest)(t,["REQUEST","CRITERIA_MATCH"]),REQUEST:Object.assign(Object.assign(Object.assign({},Object.fromEntries(this.requestFields.map((e=>[e.NAME,"*"])))),this.params.REQUEST),(null===(e=null==this?void 0:this.options)||void 0===e?void 0:e.criteria)?this.config.criteriaToFields(this.options.criteria):{})};return this.connect.request(this.options.resourceName,o)}default:throw new Error(`Snapshot not supported for selected resource type: ${this.resourceType}`)}}))}snapshotFiltered(e="ROW_REF"){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const t=yield this.snapshot();return Array.isArray(t)?t:t.REPLY?t.REPLY:t.ROW?this.config.dataServerResultFilter(t,e).inserts:void 0}))}createStream(){return(0,i.__awaiter)(this,void 0,void 0,(function*(){if(![P._g.DATASERVER,P._g.REQUEST_SERVER].includes(this.resourceType))throw new Error(`Streaming not supported for selected resource type: ${this.resourceType}`);return this.resourceType===P._g.DATASERVER?this.createDataserverStream():(g.k.debug(`Creating fake stream by polling ${this.options.resourceName} REQUEST_SERVER`),this.createReqRepStream())}))}createDataserverStream(){return(0,i.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.options.resourceName,(e=>{}),(e=>g.k.error(e)),this.params)}))}createReqRepStream(){return(0,n.H)(0,P.WJ.REQ_REP_POLLING_INTERVAL_MS).pipe((0,c.o)((()=>this.connect.isConnected&&this.auth.isLoggedIn)),(0,h.w)((()=>(0,a.D)(this.snapshot()))))}validResourceName(e){return!!e&&!!e.trim().length}};(0,i.__decorate)([r.observable],D.prototype,"initialized",void 0),(0,i.__decorate)([r.observable],D.prototype,"readOnly",void 0),(0,i.__decorate)([r.volatile],D.prototype,"stream",null),D=(0,i.__decorate)([(0,i.__param)(0,d.lj),(0,i.__param)(1,k),(0,i.__param)(2,(0,o.optional)(P.tt))],D);const G=o.DI.createInterface((e=>e.transient(D)))},82940:(e,t,s)=>{"use strict";s.d(t,{_g:()=>i,WJ:()=>o,tt:()=>n});var i,r=s(75951);!function(e){e.DATASERVER="DATASERVER",e.EVENT_HANDLER="EVENT_HANDLER",e.REQUEST_SERVER="REQUEST_SERVER"}(i||(i={}));class o{}o.MAX_ROWS_250=250,o.MAX_VIEW_1000=1e3,o.REQ_REP_POLLING_INTERVAL_MS=1e4;const n=r.DI.createInterface()},32449:(e,t,s)=>{"use strict";function i(e,t=";"){return e?e.split(t).map((e=>e.trim())).sort(((e,t)=>e.localeCompare(t))).join(t):e}s.d(t,{p:()=>i})},83123:(e,t,s)=>{"use strict";var i;s.d(t,{r:()=>i,E:()=>r}),function(e){e.STRING="STRING",e.NUMBER="NUMBER",e.BOOLEAN="BOOLEAN",e.ENUM="ENUM",e.DATE="DATE",e.DATETIME="DATETIME",e.CUSTOM="CUSTOM"}(i||(i={}));const r={STRING:i.STRING,ENUM:i.ENUM,BOOLEAN:i.BOOLEAN,INT:i.NUMBER,DOUBLE:i.NUMBER,BIGDECIMAL:i.NUMBER,DATE:i.DATE,DATETIME:i.DATETIME}},66306:(e,t,s)=>{"use strict";s.d(t,{i:()=>n,C:()=>a});var i=s(82940),r=s(22296),o=s(83123);const n=e=>e?e.map((e=>{const t={name:e.NAME,type:o.E[e.TYPE]||o.r.STRING};if(e.TYPE===o.r.ENUM&&e.VALID_VALUES)try{t.enumOptions=Array.isArray(e.VALID_VALUES)?e.VALID_VALUES:e.VALID_VALUES.split("|")}catch(e){r.k.error(e),t.enumOptions=[]}return t})):null,a=e=>{const t=null==e?void 0:e.TYPE;if(t===i._g.DATASERVER)return e.FIELD||[];if(t===i._g.REQUEST_SERVER)return e.REPLY_FIELD||[];throw new Error(`Unsupported resource type: ${t}`)}},75527:(e,t,s)=>{"use strict";s.d(t,{z:()=>o});var i=s(75951);class r{constructor(){this.storageKeyPrefix="",this.returnUrl=this.getSessionStorageItem("returnUrl")||""}deleteUserFromSessionStorage(){["authToken","refreshToken","sessionId","ssoToken"].forEach((e=>this.removeSessionStorageItem(e)))}setStorageKeyPrefix(e){this.storageKeyPrefix=`${e.replace(/\s/g,"")}/`}setAuthResult(e){this.setSessionStorageItem("authToken",e.SESSION_AUTH_TOKEN),this.setSessionStorageItem("refreshToken",e.REFRESH_AUTH_TOKEN),this.setSessionStorageItem("username",e.USER_NAME),this.setSessionStorageItem("sessionId",e.SESSION_ID)}captureReturnUrl(){const{pathname:e,search:t,hash:s}=location;if("/login"===e)return;const i=`${"/"!==e?e:""}`;this.returnUrl=`${i}${t}${s}`,this.setSessionStorageItem("returnUrl",this.returnUrl)}setItem(e,t,s){"local"===s?localStorage.setItem(this.storageKeyPrefix+e,t):sessionStorage.setItem(this.storageKeyPrefix+e,t)}getItem(e,t){return"local"===t?localStorage.getItem(this.storageKeyPrefix+e):sessionStorage.getItem(this.storageKeyPrefix+e)}removeItem(e,t){"local"===t?localStorage.removeItem(this.storageKeyPrefix+e):sessionStorage.removeItem(this.storageKeyPrefix+e)}setLocalStorageItem(e,t){this.setItem(e,t,"local")}setSessionStorageItem(e,t){this.setItem(e,t,"session")}getLocalStorageItem(e){return this.getItem(e,"local")}getSessionStorageItem(e){return this.getItem(e,"session")}removeLocalStorageItem(e){this.removeItem(e,"local")}removeSessionStorageItem(e){this.removeItem(e,"session")}}const o=i.DI.createInterface((e=>e.singleton(r)))},22296:(e,t,s)=>{"use strict";s.d(t,{k:()=>r});var i=s(76214);const r=(0,i.createLogger)("foundation-comms")}}]);
1
+ (self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[742],{4077:(e,t,s)=>{"use strict";var i;s.d(t,{G:()=>i,l:()=>r}),function(e){e.BASIC="BASIC",e.SSO="SSO",e.JWT="JWT",e.REFRESH="REFRESH"}(i||(i={}));class r extends Error{constructor(e,t,s="Auth Failed \n"){super(s),this.sent=e,this.received=t,Object.setPrototypeOf(this,r.prototype)}isIgnorableError(){var e,t,s,i;return null===(i=null===(s=null===(t=null===(e=this.received)||void 0===e?void 0:e.DETAILS)||void 0===t?void 0:t.ERROR)||void 0===s?void 0:s.toLowerCase())||void 0===i?void 0:i.includes("request needs the user to be logged")}getMessageError(){var e,t;return Array.isArray(null===(e=this.received)||void 0===e?void 0:e.ERROR)?null===(t=this.received)||void 0===t?void 0:t.ERROR.map((e=>this.errorDetailFormatter(e))).join("\n"):""}getDetailsError(){var e,t,s,i;return Array.isArray(null===(t=null===(e=this.received)||void 0===e?void 0:e.DETAILS)||void 0===t?void 0:t.ERROR)?null===(i=null===(s=this.received)||void 0===s?void 0:s.DETAILS)||void 0===i?void 0:i.ERROR.map((e=>this.errorDetailFormatter(e))).join("\n"):""}hasPasswordExpiredError(){return this.hasErrorCode("PASSWORD_EXPIRED")}hasErrorCode(e){var t,s;return!!Array.isArray(null===(t=this.received)||void 0===t?void 0:t.ERROR)&&(null===(s=this.received)||void 0===s?void 0:s.ERROR.some((t=>t.CODE===e)))}errorDetailFormatter(e){return`\n ${e.CODE}: \n ${e.TEXT}`}}},1440:(e,t,s)=>{"use strict";s.d(t,{lj:()=>q});var i=s(186),r=s(93688),o=s(83147),n=s(75951);class a{constructor(){this.cachedMetadata=new Map,this.cachedJsonSchema=new Map}getMetadataFor(e){return this.cachedMetadata.get(e)}getJsonSchemaFor(e){return this.cachedJsonSchema.get(e)}hasMetadataFor(e){return this.cachedMetadata.has(e)}hasJsonSchemaFor(e){return this.cachedJsonSchema.has(e)}setMetadataFor(e,t){this.cachedMetadata.set(e,t)}setJsonSchemaFor(e,t){this.cachedJsonSchema.set(e,t)}}const c=n.DI.createInterface((e=>e.singleton(a))),h=new RegExp(/wss?:\/\/[-a-zA-Z0-9@:%._\+~#=]{1,256}\b([-a-zA-Z0-9()@:%_\+.~#?&\/=]*)\b\/*$/,"i");var d=s(22296);const E=n.DI.createInterface(),l=n.DI.createInterface();var u=s(26714),S=s(75373),g=s(41966),_=s(29866),T=s(40804),R=s(7211),p=s(44866),m=s(75527);class v{serialize(e){return JSON.stringify(e)}deserialize(e){return e?"string"==typeof e?JSON.parse(e):e.data?JSON.parse(e.data):e.text().then((e=>JSON.parse(e))):Promise.resolve({})}}const O=n.DI.createInterface((e=>e.singleton(v)));let A=class{constructor(e){this.serializer=e}get(e,t){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const s=yield fetch(e,Object.assign(Object.assign({},t),{method:"GET"}));return(t.serializer||this.serializer).deserialize(s)}))}post(e,t){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const s=yield fetch(e,Object.assign(Object.assign({},t),{method:"POST"}));return(t.serializer||this.serializer).deserialize(s)}))}};A=(0,i.__decorate)([(0,i.__param)(0,O)],A);const I=n.DI.createInterface((e=>e.singleton(A)));var f=s(9162);const M={polling:Object.assign({POLLING_MAP:{EVENT_AMEND_USER:{TEMP_FREQUENCY:500,AMOUNT_OF_POLLS:5,QUERIES:["ALL_USERS"]}},POLLING_INTERVAL_MAP:{ALL_TRADES:5e3,ALL_USERS:5e3,ALL_PROCESSES_STATUS:1e4},POLLING_FREQUENCY:5e3},{})};let N=class e{get isConnected(){return this._isConnected}set isConnected(e){this._isConnected=e,this.isConnectedSubject.next(this._isConnected)}constructor(e,t,s,i,r,o=M){this.http=e,this.messageBuilder=t,this.session=s,this.metaCache=i,this.serializer=r,this.config=o,this.isWorking=!1,this._isConnected=!1,this.isConnectedSubject=new u.X(this._isConnected),this.ongoingTurbo={},this.streams=new Map}checkHost(){return(0,i.__awaiter)(this,void 0,void 0,(function*(){try{return this.getMessage({MESSAGE_TYPE:f.Cs.HEARTBEAT_PING,SOURCE_REF:"host check"}).then((e=>e.MESSAGE_TYPE===f.Cs.HEARTBEAT_PONG))}catch(e){return d.k.error(e),!1}}))}send(t,s){return this.http.post(e.getUrl(this.host,t),{body:e.getBody(t),headers:e.getHeaders(t)})}httpMode(){return!0}setValidSession(e){d.k.warn("setValidSession() called while in http polling mode.")}connect(e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){return this.host=e,this.host.endsWith("/")||(this.host=this.host.concat("/")),this.checkHost().then((e=>(this.isConnected=e,this.session.setSessionStorageItem("hostUrl",this.host),e)))}))}disconnect(){this.isConnected=!1,this.streams.clear(),this.ongoingTurbo={},this.host=void 0}snapshot(e,t){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const s=this.messageBuilder.createDataLogonMessage(e,t);return d.k.debug(`HTTP MODE - ${s.MESSAGE_TYPE} (snapshot) message created -> `,s),this.send(s).then((e=>(this.dataLogoff(s.SOURCE_REF).catch((e=>d.k.error(e))),e)))}))}stream(e,t,s,i){const r=this.messageBuilder.createDataLogonMessage(e,i);d.k.debug(`HTTP MODE - ${r.MESSAGE_TYPE} (stream) message created -> `,r);const o=r.SOURCE_REF;this.streams.set(o,{SOURCE_REF:o,POLLING_FREQUENCY:new u.X(this.config.polling.POLLING_FREQUENCY),RESOURCE_NAME:e});const n=this.streams.get(o).POLLING_FREQUENCY,a=(0,S.z)((0,g.D)(this.send(r)),n.pipe((0,_.w)((e=>(0,T.F)(e)))).pipe((0,_.w)((()=>(0,g.D)(this.getMessage(r)))))).pipe((0,R.o)((()=>this.streams.has(o))),(0,p.x)((()=>{d.k.debug(`Terminating stream for ${e} - ${o}`),this.dataLogoff(o)})));return this.streams.get(o).STREAM=a,a}getMessage(t){return(0,i.__awaiter)(this,void 0,void 0,(function*(){return this.http.get(e.getUrl(this.host,t),{headers:e.getHeaders(t)})}))}getMoreRows(e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const t=this.messageBuilder.createMoreRowsMessage(e);return d.k.debug(`HTTP MODE - ${t.MESSAGE_TYPE} message created -> `,t),this.send(t)}))}dataLogoff(e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const t=this.messageBuilder.createDataLogoffMessage(e);return this.send(t).then((t=>(this.streams.has(e)&&(d.k.debug(`Removing stream ${e}`),this.streams.delete(e)),t)))}))}getMetadata(e,t=!0){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const t=this.messageBuilder.createMetaRequestMessage(e);return d.k.debug(`HTTP MODE - ${t.MESSAGE_TYPE} (metadata) message created -> `,t),this.send(t).then((e=>e.DETAILS))}))}getJSONSchema(e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const t=this.messageBuilder.createMetaRequestMessage(e,f.N$.JSON_SCHEMA_REQUEST);return d.k.debug(`HTTP MODE! - ${t.MESSAGE_TYPE} (json schema) message created -> `,t),this.send(t)}))}request(e,t){const s=this.messageBuilder.createRequestMessage(e,t);return d.k.debug(`HTTP MODE! - ${s.MESSAGE_TYPE} (request server) message created -> `,s),this.send(s)}commitEvent(e,t){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const s=this.messageBuilder.createCommitMessage(e,t);return d.k.debug(`HTTP MODE! - ${s.MESSAGE_TYPE} (commit) message created -> `,s),this.send(s).then((t=>(this.maybeTurbo(e,t),t)))}))}maybeTurbo(e,t){var s;if(!(null===(s=null==t?void 0:t.MESSAGE_TYPE)||void 0===s?void 0:s.endsWith("_ACK")))return;if(this.ongoingTurbo[e])return void d.k.debug(`${e} polling frequency is already accelerated.`);const i=this.config.polling.POLLING_MAP[e];if(!(null==i?void 0:i.TEMP_FREQUENCY)||!i.AMOUNT_OF_POLLS)return;const r=i.TEMP_FREQUENCY,o=r*i.AMOUNT_OF_POLLS,n=JSON.parse(JSON.stringify(this.config.polling.POLLING_INTERVAL_MAP)),a=JSON.parse(JSON.stringify(this.config.polling.POLLING_INTERVAL_MAP));for(const e of i.QUERIES)a[e]=r,n[e]||(n[e]=this.config.polling.POLLING_FREQUENCY);d.k.debug(`${e} TRIGGERED -> ENFORCING TURBO | FREQUENCY=${r}ms DURATION=${o}`),this.ongoingTurbo[e]=!0,this.updateIntervals({polling:{POLLING_INTERVAL_MAP:a}}),setTimeout((()=>{d.k.debug(`RESTORED ORIGINAL POLLING INTERVALS FOR ${e}`),this.updateIntervals({polling:{POLLING_INTERVAL_MAP:n}}),this.ongoingTurbo[e]=!1}),o)}updateIntervals(e){const{POLLING_INTERVAL_MAP:t}=e.polling;t&&(this.config.polling.POLLING_INTERVAL_MAP=t,this.handlePollingIntervalMapUpdate(t))}handlePollingIntervalMapUpdate(e){if(e)for(const t in e){if(!e.hasOwnProperty(t))continue;const s=e[t];this.config.polling.POLLING_INTERVAL_MAP[t]=s,d.k.debug(`Setting polling frequency for ${t} = ${s}`),[...this.streams.values()].filter((e=>e.RESOURCE_NAME===t)).forEach((e=>{var t;return null===(t=null==e?void 0:e.POLLING_FREQUENCY)||void 0===t?void 0:t.next(s)}))}}static getHeaders(e){const t={"Content-type":"application/json; charset=UTF-8","source-ref":e.SOURCE_REF};return e.SESSION_AUTH_TOKEN&&(t["SESSION-AUTH-TOKEN"]=e.SESSION_AUTH_TOKEN),e.MESSAGE_TYPE===f.N$.EVENT_LOGOUT&&(t["SESSION-ID"]=e.SESSION_ID),t}static getBody(e){return JSON.stringify(e)}static getUrl(e,t){const s=t.MESSAGE_TYPE;let i=t.MESSAGE_TYPE.replace(/_/g,"-").toLowerCase();return s===f.N$.DATA_LOGON&&(i=t.DETAILS.DATASOURCE_NAME.replace(/_/g,"-").toLowerCase()),`${e}${i}`}};(0,i.__decorate)([o.observable],N.prototype,"host",void 0),(0,i.__decorate)([o.observable],N.prototype,"isWorking",void 0),(0,i.__decorate)([o.observable],N.prototype,"_isConnected",void 0),(0,i.__decorate)([o.volatile],N.prototype,"isConnected",null),N=(0,i.__decorate)([(0,i.__param)(0,I),(0,i.__param)(1,f.sW),(0,i.__param)(2,m.z),(0,i.__param)(3,c),(0,i.__param)(4,r.JSONSerializer),(0,i.__param)(5,(0,n.optional)(l))],N);const b=n.DI.createInterface((e=>e.singleton(N)));var C=s(33344),U=s(71057),k=s(37674),L=s(30094),w=s(30526),P=s(12040),y=s(68370),D=s(11262),G=s(79262);const F=1e4,H=6e4;var V;!function(e){e.Linear="linear",e.Exponential="exponential"}(V||(V={}));const $=(e,t)=>{const{reconnectInterval:s=F}=e,i=s>H?H:s,r=Math.round(Math.log2(H/i));return i*Math.pow(2,t%r)},Y=e=>{const{reconnectInterval:t=F}=e;return t>H?H:t};class K extends C.x{constructor(){super()}}class W{constructor(e,t,s,i){this._message=e,this._onMessage=t,this._onError=s,this._isSubscription=i}get sentMessage(){return this._message}get onReceivedMessage(){return this._onMessage}get onReceivedError(){return this._onError}get isSubscription(){return this._isSubscription}}let B=class{isConnectedChanged(e,t){this.isConnectedSubject.next(t)}constructor(e,t,s,i){this.messageBuilder=e,this.session=t,this.serializer=s,this.uuid=i,this.defaultInterval=1e4,this.secondsMultiplier=1e3,this.isConnectedSubject=new u.X(!1),this.isConnected=!1,this.hasValidSession=!1,this.heartbeatIsEnabled=!0,this.heartbeatInterval=this.defaultInterval,this.isReconnecting=!1,this.socketMessages=()=>this.wsMessages}get heartbeatLoggingIsEnabled(){var e,t;return null!==(t=null===(e=this.connectOptions)||void 0===e?void 0:e.enableHeartbeatLogging)&&void 0!==t&&t}get messageLoggingIsEnabled(){var e,t;return null!==(t=null===(e=this.connectOptions)||void 0===e?void 0:e.enableMessageLogging)&&void 0!==t&&t}connect(e,t,s){return this.url=e,this.connectOptions=t,this.reconnectOptions=s,new Promise((e=>{var t,s,r,o;d.k.info(`${this.isReconnecting?"Reconnecting":"Connecting"} to ${this.url}`);(!this.isReconnecting||!(null===(t=this.reconnectOptions)||void 0===t?void 0:t.reconnectStreams))&&this.cleanMessages(),null===(s=this.socketSubscription)||void 0===s||s.unsubscribe(),this.websocket=new D.p({url:this.url,openObserver:{next:()=>{this.isConnected=!0,this.session.setSessionStorageItem("hostUrl",this.url),this.prepareHeartbeat(),d.k.info("WebSocket connection is now open"),e(this.isConnected)}},closeObserver:{next:t=>{this.disconnectedByServer=!t.wasClean,this.isConnected=!1,this.disconnectedByServer&&d.k.info(`WebSocket connection was closed due an error - Code: ${t.code} ${t.reason?" | Reason: "+t.reason:""}`),e(this.isConnected)}},serializer:this.serializer.serialize,deserializer:this.serializer.deserialize});this.socketSubscription=this.websocket.subscribe(null!==(o=null===(r=this.connectOptions)||void 0===r?void 0:r.connectObserver)&&void 0!==o?o:{next:e=>(0,i.__awaiter)(this,void 0,void 0,(function*(){var t;const s=`Response Message received for SourceRef: ${e.SOURCE_REF} | MessageType: ${e.MESSAGE_TYPE}`;this.logMessageTypeFlow(e.MESSAGE_TYPE,d.k.info,s);const{SOURCE_REF:i,MESSAGE_TYPE:r}=e,o=this.getMessageHandler(i,r);if(!o)return;let n=!1;switch(e.MESSAGE_TYPE){case f.N$.EVENT_LOGIN_AUTH_ACK:{this.hasValidSession=!0;const s=e.DETAILS;s.HEARTBEAT_INTERVAL_SECS&&void 0===(null===(t=this.connectOptions)||void 0===t?void 0:t.heartbeatInterval)&&(this.heartbeatInterval=s.HEARTBEAT_INTERVAL_SECS*this.secondsMultiplier,this.prepareHeartbeat());break}case f.Cs.LOGOUT_ACK:return this.hasValidSession=!1,o.onReceivedMessage.call(this,e),void this.cleanMessages();case f.Cs.LOGON_ACK:return;case f.Cs.LOGOFF_ACK:if(e.LOGGED_OUT&&this.hasValidSession){const e=this.messageBuilder.createRefreshTokenMessage(),t=yield this.send(e);t?t.MESSAGE_TYPE===f.N$.EVENT_LOGIN_AUTH_ACK&&(this.session.setAuthResult(t),this.wsMessageHandlers.forEach((e=>{e.isSubscription&&(e.sentMessage.SESSION_AUTH_TOKEN=t.SESSION_AUTH_TOKEN,this.websocket.next(e.sentMessage))}))):this.hasValidSession=!1}break;case f.Cs.QUERY_UPDATE:if(!o.isSubscription){const e=this.messageBuilder.createDataLogoffMessage(i);this.send(e)}break;case f.Cs.MSG_NACK:n=!0}n?o.onReceivedError.call(this,{receivedMessage:e,sentMessage:o.sentMessage}):o.onReceivedMessage.call(this,e),this.wsMessages.next(e),o.isSubscription||this.removeMessageHandler(i)})),error:e=>{d.k.debug("Error found: ",e),this.reconnect()},complete:()=>{var e;this.disconnectedByServer&&(null===(e=this.connectOptions)||void 0===e?void 0:e.alwaysOn)?this.reconnect():d.k.info("Connection is now closed")}})}))}prepareHeartbeat(){var e,t,s,r;this.heartbeatSubscription&&this.heartbeatSubscription.unsubscribe();const o=()=>(0,i.__awaiter)(this,void 0,void 0,(function*(){if(!this.isConnected)return;const e={MESSAGE_TYPE:f.Cs.HEARTBEAT_PING,SOURCE_REF:this.uuid.createId()},t=yield this.send(e);this.heartbeatIsEnabled=t.MESSAGE_TYPE===f.Cs.HEARTBEAT_PONG&&t.SOURCE_REF===e.SOURCE_REF}));if(null!==(t=null===(e=this.connectOptions)||void 0===e?void 0:e.enableHeartbeat)&&void 0!==t?t:this.heartbeatIsEnabled){const e=null!==(r=null===(s=this.connectOptions)||void 0===s?void 0:s.heartbeatInterval)&&void 0!==r?r:this.heartbeatInterval;this.heartbeatSubscription=(0,U.H)(e,e).pipe((0,R.o)((()=>this.websocket&&this.isConnected)),(0,w.b)((()=>this.heartbeatLoggingIsEnabled&&d.k.debug(`Sending a heartbeat ping every ${e} ms`)))).subscribe((()=>o()))}}reconnect(){var e,t,s,i,r;const o=!(null===(e=this.connectOptions)||void 0===e?void 0:e.alwaysOn)&&!1===(null===(t=this.connectOptions)||void 0===t?void 0:t.enableHeartbeat);if(this.isReconnecting||o)return;this.isReconnecting=!0;const n=(null===(s=this.reconnectOptions)||void 0===s?void 0:s.reconnectStrategy)===V.Exponential?$:Y,a=this.isConnectedSubject.asObservable().pipe((0,_.w)((e=>e?(0,k.of)(-1):((e,t)=>new G.y((s=>{let i,r=0;return function o(){s.next(r),clearTimeout(i),i=setTimeout(o,t(e,r)),r+=1}(),()=>{clearTimeout(i)}})))(this.reconnectOptions,n).pipe((0,P.z)((e=>{var t,s,i;let r;return r=(null===(t=this.connectOptions)||void 0===t?void 0:t.alwaysOn)?e+1:null!==(i=null===(s=this.reconnectOptions)||void 0===s?void 0:s.reconnectAttempts)&&void 0!==i?i:10,e<r?(0,k.of)(e):(0,L._)((()=>new Error(`Max reconnect attempts ${r} reached.`)))}))))),(0,R.o)((()=>this.websocket&&!this.isConnected)));a.subscribe(null!==(r=null===(i=this.reconnectOptions)||void 0===i?void 0:i.reconnectObserver)&&void 0!==r?r:{next:e=>{d.k.debug(`Attempt no. ${e+1} to reconnect`),this.websocket.complete(),this.connect(this.url,this.connectOptions,this.reconnectOptions)},error:e=>{var t;d.k.debug(e),null===(t=this.socketSubscription)||void 0===t||t.unsubscribe(),this.isReconnecting=!1},complete:()=>{d.k.info(this.isConnected?"Reconnected":"Disconnected"),this.isReconnecting=!1,this.wsMessageHandlers.forEach((e=>{e.isSubscription&&this.websocket.next(e.sentMessage)}))}})}reset(){this.isConnected=!1,this.websocket&&this.websocket.complete(),this.websocket=null,this.cleanMessages()}cleanMessages(){this.wsMessages&&this.wsMessages.complete(),this.wsMessages=new K,this.wsMessageHandlers=new Map}send(e,t=!0){if(!this.isConnected)return void Promise.reject(new Error("WebSocket connection is closed"));const s=`Sending Message for SourceRef: ${e.SOURCE_REF} | MessageType: ${e.MESSAGE_TYPE}`;return this.logMessageTypeFlow(e.MESSAGE_TYPE,d.k.info,s),new Promise(((s,i)=>{const r=e=>{s(e)},o=e=>{i(e)};t&&this.setMessageHandler(e,r,o),this.websocket.next(e)}))}sendForStream(e,t,s){if(!this.isConnected)return(0,L._)((()=>new Error("WebSocket connection is closed")));if(!this.hasValidSession)return(0,L._)((()=>new Error("WebSocket connection is open but there is no valid/active session, please check your auth flow")));const i=`Sending Message (stream) for SourceRef: ${e.SOURCE_REF} | MessageType: ${e.MESSAGE_TYPE}`;return this.logMessageTypeFlow(e.MESSAGE_TYPE,d.k.info,i),this.setMessageHandler(e,t,s,!0),this.websocket.next(e),(0,g.D)(this.wsMessages.pipe((0,y.h)((t=>t.SOURCE_REF===e.SOURCE_REF))))}setMessageHandler(e,t,s,i=!1){const r=`Setting Message Handler for SourceRef: ${e.SOURCE_REF} | MessageType: ${e.MESSAGE_TYPE}`;this.logMessageTypeFlow(e.MESSAGE_TYPE,d.k.debug,r),this.wsMessageHandlers.set(e.SOURCE_REF,new W(e,t,s,i))}removeMessageHandler(e){this.wsMessageHandlers.delete(e)}getMessageHandler(e,t){const s=`Getting Message Handler for SourceRef: ${e} | MessageType: ${t}`;return this.logMessageTypeFlow(t,d.k.debug,s),this.wsMessageHandlers.get(e)}logMessageTypeFlow(e,t,s){switch(e){case f.Cs.HEARTBEAT_PING:case f.Cs.HEARTBEAT_PONG:this.heartbeatLoggingIsEnabled&&t(s);break;default:this.messageLoggingIsEnabled&&t(s)}}};(0,i.__decorate)([o.observable],B.prototype,"websocket",void 0),(0,i.__decorate)([o.observable],B.prototype,"wsMessages",void 0),(0,i.__decorate)([o.observable],B.prototype,"wsMessageHandlers",void 0),(0,i.__decorate)([o.observable],B.prototype,"isConnected",void 0),(0,i.__decorate)([o.observable],B.prototype,"disconnectedByServer",void 0),(0,i.__decorate)([o.observable],B.prototype,"hasValidSession",void 0),(0,i.__decorate)([o.observable],B.prototype,"heartbeatIsEnabled",void 0),(0,i.__decorate)([o.observable],B.prototype,"isReconnecting",void 0),B=(0,i.__decorate)([(0,i.__param)(0,f.sW),(0,i.__param)(1,m.z),(0,i.__param)(2,O),(0,i.__param)(3,r.UUID)],B);const x=n.DI.createInterface((e=>e.singleton(B))),Q={connect:{alwaysOn:!1,enableHeartbeat:!0,enableHeartbeatLogging:!1,heartbeatInterval:1e4,enableMessageLogging:!1},reconnect:{reconnectAttempts:10,reconnectInterval:1e4,reconnectStreams:!0}};let j=class{get isConnected(){return this.socket.isConnected}get isConnectedSubject(){return this.socket.isConnectedSubject}constructor(e,t,s,i=Q){this.socket=e,this.messageBuilder=t,this.metaCache=s,this.config=i,this.isWorking=!1}httpMode(){return!1}setValidSession(e){this.socket.hasValidSession=e}send(e,t){return this.socket.send(e,t)}connect(e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){return this.socket.reset(),h.test(e)?this.socket.connect(e,this.config.connect,this.config.reconnect):(d.k.error(`Specified host (${e}) is not valid WebSocket url. Connection will not proceed.`),void d.k.warn("Make sure the host url starts with wss:// or ws://"))}))}disconnect(){this.socket.reset()}snapshot(e,t){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const s=this.messageBuilder.createDataLogonMessage(e,t);return d.k.debug(`${s.MESSAGE_TYPE} (snapshot) message created -> `,s),this.socket.send(s)}))}stream(e,t,s,i){const r=this.messageBuilder.createDataLogonMessage(e,i);return d.k.debug(`${r.MESSAGE_TYPE} (stream) message created -> `,r),this.socket.sendForStream(r,t,s)}getMoreRows(e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const t=this.messageBuilder.createMoreRowsMessage(e);return d.k.debug(`${t.MESSAGE_TYPE} message created -> `,t),this.socket.send(t,!1)}))}dataLogoff(e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const t=this.messageBuilder.createDataLogoffMessage(e);return d.k.debug(`${t.MESSAGE_TYPE} message created -> `,t),this.socket.send(t)}))}getMetadata(e,t=!0){var s;return(0,i.__awaiter)(this,void 0,void 0,(function*(){if(t&&this.metaCache.hasMetadataFor(e))return d.k.debug(`Cached metadata retrieved for ${e}`),this.metaCache.getMetadataFor(e);const i=this.messageBuilder.createMetaRequestMessage(e);let r;d.k.debug(`${i.MESSAGE_TYPE} (metadata) message created -> `,i);try{this.isWorking=!0;const t=yield this.socket.send(i);r=null!==(s=null==t?void 0:t.DETAILS)&&void 0!==s?s:{},Object.keys(r).length&&this.metaCache.setMetadataFor(e,r)}catch(e){d.k.error(e)}finally{this.isWorking=!1}return r}))}getJSONSchema(e,t=!0){var s;return(0,i.__awaiter)(this,void 0,void 0,(function*(){if(t&&this.metaCache.hasJsonSchemaFor(e))return d.k.debug(`Cached JsonSchema retrieved for ${e}`),this.metaCache.getJsonSchemaFor(e);const i=this.messageBuilder.createMetaRequestMessage(e,f.N$.JSON_SCHEMA_REQUEST);let r;d.k.debug(`${i.MESSAGE_TYPE} (json schema) message created -> `,i);try{this.isWorking=!0,r=null!==(s=yield this.socket.send(i))&&void 0!==s?s:{},Object.keys(r).length&&this.metaCache.setJsonSchemaFor(e,r)}catch(e){d.k.error(e)}finally{this.isWorking=!1}return r}))}request(e,t){const s=this.messageBuilder.createRequestMessage(e,t);return d.k.debug(`${s.MESSAGE_TYPE} (request server) message created -> `,s),this.socket.send(s)}commitEvent(e,t){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const s=this.messageBuilder.createCommitMessage(e,t);return d.k.debug(`${s.MESSAGE_TYPE} (commit) message created -> `,s),this.socket.send(s)}))}};(0,i.__decorate)([o.observable],j.prototype,"isWorking",void 0),(0,i.__decorate)([o.volatile],j.prototype,"isConnected",null),j=(0,i.__decorate)([(0,i.__param)(0,x),(0,i.__param)(1,f.sW),(0,i.__param)(2,c),(0,i.__param)(3,(0,n.optional)(E))],j);const J="true"===r.FORCE_HTTP||!1,z=n.DI.createInterface((e=>e.singleton(j))),q=n.DI.createInterface((e=>J?e.aliasTo(b):e.aliasTo(z)))},9162:(e,t,s)=>{"use strict";s.d(t,{Cs:()=>i,N$:()=>r,QT:()=>o,sW:()=>l});var i,r,o,n=s(186),a=s(93688),c=s(75951),h=s(4077),d=s(75527);!function(e){e.LOGON_ACK="LOGON_ACK",e.LOGON_NACK="LOGON_NACK",e.LOGOFF_ACK="LOGOFF_ACK",e.LOGOFF_NACK="LOGOFF_NACK",e.HEARTBEAT_PING="HEARTBEAT_PING",e.HEARTBEAT_PONG="HEARTBEAT_PONG",e.MORE_ROWS="MORE_ROWS",e.MSG_ACK="MSG_ACK",e.MSG_NACK="MSG_NACK",e.LOGOUT_ACK="LOGOUT_ACK",e.LOGOUT_NACK="LOGOUT_NACK",e.QUERY_UPDATE="QUERY_UPDATE"}(i||(i={})),function(e){e.EVENT_LOGIN_AUTH="EVENT_LOGIN_AUTH",e.EVENT_LOGIN_AUTH_ACK="EVENT_LOGIN_AUTH_ACK",e.EVENT_LOGIN_AUTH_NACK="EVENT_LOGIN_AUTH_NACK",e.EVENT_LOGOUT="EVENT_LOGOUT",e.DATA_LOGON="DATA_LOGON",e.DATA_LOGOFF="DATA_LOGOFF",e.META_REQUEST="META_REQUEST",e.JSON_SCHEMA_REQUEST="JSON_SCHEMA_REQUEST",e.RESOURCES_REQUEST="RESOURCES_REQUEST",e.EVENT_CHANGE_USER_PASSWORD="EVENT_CHANGE_USER_PASSWORD",e.EVENT_SELF_SERVICE_PASSWORD_RESET="EVENT_SELF_SERVICE_PASSWORD_RESET",e.EVENT_PASSWORD_RESET_ACTION="EVENT_PASSWORD_RESET_ACTION"}(r||(r={})),function(e){e.SESSION_NOT_FOUND="SESSION_NOT_FOUND",e.UNKNOWN_MESSAGE_TYPE="UNKNOWN_MESSAGE_TYPE"}(o||(o={}));let E=class{constructor(e,t){this.session=e,this.uuid=t}createLoginMessage(e){let t;switch(e.type){case h.G.BASIC:t={USER_NAME:e.username,PASSWORD:e.password};break;case h.G.REFRESH:t={USER_NAME:e.username,REFRESH_AUTH_TOKEN:e.refreshToken};break;case h.G.SSO:t={SSO_TOKEN:e.ssoToken};break;case h.G.JWT:t={JWT:e.jwt,DOMAIN:e.domain}}return{DETAILS:t,SOURCE_REF:this.uuid.createId(),MESSAGE_TYPE:r.EVENT_LOGIN_AUTH}}createLogoutMessage(e){var t,s;return{SOURCE_REF:this.uuid.createId(),MESSAGE_TYPE:r.EVENT_LOGOUT,SESSION_AUTH_TOKEN:null!==(t=e.authToken)&&void 0!==t?t:this.session.getSessionStorageItem("authToken"),SESSION_ID:null!==(s=e.sessionId)&&void 0!==s?s:this.session.getSessionStorageItem("sessionId")}}createDataLogonMessage(e,t){return{SOURCE_REF:this.uuid.createId(),MESSAGE_TYPE:r.DATA_LOGON,DETAILS:Object.assign({DATASOURCE_NAME:e},t),SESSION_AUTH_TOKEN:this.session.getSessionStorageItem("authToken")}}createDataLogoffMessage(e){return{SOURCE_REF:e,MESSAGE_TYPE:r.DATA_LOGOFF,SESSION_AUTH_TOKEN:this.session.getSessionStorageItem("authToken")}}createRequestMessage(e,t){return Object.assign({SOURCE_REF:this.uuid.createId(),SESSION_AUTH_TOKEN:this.session.getSessionStorageItem("authToken"),MESSAGE_TYPE:e.startsWith("REQ_")?e:`REQ_${e}`},t)}createMetaRequestMessage(e,t=r.META_REQUEST){return{SOURCE_REF:this.uuid.createId(),MESSAGE_TYPE:t,DETAILS:{FEATURE:e},SESSION_AUTH_TOKEN:this.session.getSessionStorageItem("authToken")}}createCommitMessage(e,t){return Object.assign({SOURCE_REF:this.uuid.createId(),SESSION_AUTH_TOKEN:this.session.getSessionStorageItem("authToken"),MESSAGE_TYPE:e},t)}createRefreshTokenMessage(){return{SOURCE_REF:this.uuid.createId(),SESSION_AUTH_TOKEN:this.session.getSessionStorageItem("authToken"),MESSAGE_TYPE:r.EVENT_LOGIN_AUTH,DETAILS:{REFRESH_AUTH_TOKEN:this.session.getSessionStorageItem("refreshToken")}}}createChangePasswordMessage(e,t,s){return{USER_NAME:e,SOURCE_REF:this.uuid.createId(),MESSAGE_TYPE:r.EVENT_CHANGE_USER_PASSWORD,DETAILS:{OLD_PASSWORD:t,NEW_PASSWORD:s}}}createForgotPasswordMessage(e,t,s=e){return{USER_NAME:s,SOURCE_REF:this.uuid.createId(),MESSAGE_TYPE:r.EVENT_SELF_SERVICE_PASSWORD_RESET,DETAILS:{USER_NAME:e,RETURN_URL:t}}}createForgotPasswordTokenMessage(e,t,s,i=e){return{USER_NAME:i,SOURCE_REF:this.uuid.createId(),MESSAGE_TYPE:r.EVENT_PASSWORD_RESET_ACTION,DETAILS:{USER_NAME:e,RESET_TOKEN:t,NEW_PASSWORD:s}}}createMoreRowsMessage(e){return{SOURCE_REF:this.uuid.createId(),MESSAGE_TYPE:i.MORE_ROWS,DETAILS:{SOURCE_REF:e},SESSION_AUTH_TOKEN:this.session.getSessionStorageItem("authToken")}}};E=(0,n.__decorate)([(0,n.__param)(0,d.z),(0,n.__param)(1,a.UUID)],E);const l=c.DI.createInterface((e=>e.singleton(E)))},5127:(e,t,s)=>{"use strict";s.d(t,{$:()=>r});var i=s(22296);function r(e,t="ROW_REF"){const s=e=>{const s=Object.assign(Object.assign({},e),{[t]:e.DETAILS[t]});return delete s.DETAILS,s},r=[],o=[],n=[];for(const t of e.ROW)if(t.DETAILS)switch(t.DETAILS.OPERATION){case"INSERT":r.push(s(t));break;case"MODIFY":n.push(s(t));break;case"DELETE":o.push(s(t));break;default:i.k.error(`Unsupported operation type: '${t.DETAILS.OPERATION}'`)}return{inserts:r,deletes:o,updates:n,SOURCE_REF:e.SOURCE_REF}}},33253:(e,t,s)=>{"use strict";s.d(t,{Yh:()=>G});var i=s(186),r=s(83147),o=s(75951),n=s(71057),a=s(41966),c=s(7211),h=s(29866),d=s(1440),E=s(9162),l=s(3276),u=s(4077),S=s(75527),g=s(22296);const _=o.DI.createInterface();function T(){return(null===navigator||void 0===navigator?void 0:navigator.credentials)?"PasswordCredential"in window||(g.k.warn("PasswordCredential not available in this browser."),!1):(g.k.warn("CredentialsContainer not available in this browser."),!1)}const R=":";function p(e="",t=R,s){return e.split(t,s).map((e=>e.trim())).filter((e=>""!==e))}function m(e,t=R){const s="string"==typeof e&&e.trim();return!!s&&s.includes(t)}function v(e,t=R){return"string"==typeof e&&e.trim()?(e.match(new RegExp(t,"g"))||[]).length:0}function O(e,t=R){for(const s of e)if(m(s,t))return s;return e.find((e=>"string"==typeof e&&!!e.trim()))}function A(e,t,s){const i="string"==typeof e&&e.trim();return!i||s&&!i.includes(s)||v(i)>1?s&&t&&s!==t?`${t}:${s}`:t||s:i}function I(e="credential"){g.k.warn(`Unable to migrate legacy ${e} to latest format. Please remove from your browser.`)}const f={password:!0,mediation:"optional"},M={cookie:{path:"/",name:"credentials",expires:7300,storePasswords:!1}};let N=class{constructor(e,t=M){this.session=e,this.config=t}createBasicCredentials(e){return{type:u.G.BASIC,username:e.username,password:e.password}}createRefreshCredentials(e){var t,s;return{type:u.G.REFRESH,username:null!==(t=null==e?void 0:e.username)&&void 0!==t?t:this.getUsername(),refreshToken:null!==(s=null==e?void 0:e.refreshToken)&&void 0!==s?s:this.getRefreshToken()}}createSSOCredentials(e){var t;return{type:u.G.SSO,ssoToken:null!==(t=null==e?void 0:e.ssoToken)&&void 0!==t?t:this.getSSOToken()}}validateBasicCredentials(e){return e&&!!e.username&&!!e.password}validateRefreshCredentials(e){return e&&!!e.refreshToken&&!!e.username}validateSSOCredentials(e){return e&&!!e.ssoToken}validateUserCredentialData(e,t){const s=e&&!!e.id&&!!e.name&&!e.name.includes(R)&&v(e.id)<=1;return t?s&&!!e.password:s}normaliseLegacyCredentialData(e,t){if(this.validateUserCredentialData(e,!0))return[e,!0];if(this.validateUserCredentialData(t))return[t,!1];if(e)try{const t=e,[s]=p(t.name||t.id),[i,r]=p(O([t.id,t.name]));return[{id:A(t.id||t.name,s,r),name:s,password:t.password||""},!0]}catch(e){I("PasswordCredential")}if(t)try{const e=t,[s]=p(e.name||e.username||e.organisation),[i,r]=p(O([e.organisation||e.username||e.name]));return[{id:A(e.id||e.username||e.name,s,r),name:s,password:e.password||""},!1]}catch(e){I("cookie")}return[void 0,!1]}storeCredentialsInContainer(e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){if(!T())return;const t=new PasswordCredential(e);return g.k.debug("Storing credentials in CredentialsContainer"),navigator.credentials.store(t)}))}getCredentialsFromContainer(e=f){return(0,i.__awaiter)(this,void 0,void 0,(function*(){if(T())return g.k.debug("Getting credentials from CredentialsContainer"),yield navigator.credentials.get(e)}))}storeCredentialsInCookie(e){const{password:t}=e,s=(0,i.__rest)(e,["password"]),r=this.config.cookie.storePasswords?e:s;return g.k.debug("Storing credentials in cookie"),!!l.Z.set(this.config.cookie.name,JSON.stringify(r),{expires:this.config.cookie.expires,domain:location.hostname,path:this.config.cookie.path,secure:!0})}getCredentialsFromCookie(){g.k.debug("Getting credentials from cookie");const e=l.Z.get(this.config.cookie.name);return e?JSON.parse(e):void 0}storeCredentials(e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){if(T()){const t=yield this.storeCredentialsInContainer(e);return Promise.resolve(!!t)}return Promise.resolve(this.storeCredentialsInCookie(e))}))}getCredentials(e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){return T()?this.getCredentialsFromContainer(e):Promise.resolve(this.getCredentialsFromCookie())}))}getSSOToken(){return this.session.getSessionStorageItem("ssoToken")}getUsername(){return this.session.getSessionStorageItem("username")}getRefreshToken(){return this.session.getSessionStorageItem("refreshToken")}removeCookie(){l.Z.remove(this.config.cookie.name,{domain:location.hostname,path:this.config.cookie.path})}removeSSOToken(){this.session.removeSessionStorageItem("ssoToken")}removeUsername(){this.session.removeSessionStorageItem("username")}removeRefreshToken(){this.session.removeSessionStorageItem("refreshToken")}removeAll(){this.removeCookie(),this.removeSSOToken(),this.removeUsername(),this.removeRefreshToken()}preventSilentAccess(){return T()&&navigator.credentials.preventSilentAccess()}};N=(0,i.__decorate)([(0,i.__param)(0,S.z),(0,i.__param)(1,(0,o.optional)(_))],N);const b=o.DI.createInterface((e=>e.singleton(N)));class C{constructor(e){Object.assign(this,e)}hasAdminProfile(){return this.hasProfile("ADMIN")}hasPermission(e){return this.hasKey(this.permissions,e)}hasProfile(e){return this.hasKey(this.profiles,e)}hasKey(e,t){return!!(e&&e.length&&t)&&(Array.isArray(t)||(t=[t]),t.some((t=>e.includes(t))))}}(0,i.__decorate)([r.observable],C.prototype,"permissions",void 0),(0,i.__decorate)([r.observable],C.prototype,"profiles",void 0),(0,i.__decorate)([r.observable],C.prototype,"username",void 0);let U=class{get isLoggedIn(){return!!this.loggedUserResult&&!(!this.loggedUserResult.authToken||!this.loggedUserResult.sessionId)}constructor(e,t,s,i){this.session=e,this.connect=t,this.messageBuilder=s,this.credentialManager=i,this.isWorking=!1,this.loggedUserResult=null,this.currentUser=null}login(e){var t;return(0,i.__awaiter)(this,void 0,void 0,(function*(){this.isWorking=!0;try{const s=this.messageBuilder.createLoginMessage(e),i=yield this.connect.send(s);if(!i||i.ERROR||(null===(t=i.DETAILS)||void 0===t?void 0:t.ERROR))throw new u.l(s,i);this.applyAuthResults({authToken:i.SESSION_AUTH_TOKEN,refreshToken:i.REFRESH_AUTH_TOKEN,profiles:i.PROFILE,username:i.USER_NAME,permissions:i.PERMISSION,sessionId:i.SESSION_ID}),this.session.setAuthResult(i),g.k.debug("Login Authentication Result:",i)}catch(e){if(g.k.error("Login Authentication Error:",e),!(e instanceof u.l&&e.isIgnorableError()))throw this.removeAuthResults(),e;g.k.warn("Ignoring authentication error as it is a known edge case.")}finally{this.isWorking=!1}return this.loggedUserResult}))}logout(){var e;return(0,i.__awaiter)(this,void 0,void 0,(function*(){this.isWorking=!0;let t={success:!1};try{const s=this.messageBuilder.createLogoutMessage(this.loggedUserResult);this.session.deleteUserFromSessionStorage(),this.connect.setValidSession(!1);const{CODE:i,DETAILS:r,ERROR:o,MESSAGE_TYPE:n,OIDC_LOGOUT_URL:a}=yield this.connect.send(s),c=null!==(e=null==r?void 0:r.ERROR)&&void 0!==e?e:o,h=n===E.Cs.LOGOUT_NACK;h&&g.k.warn("Unexpected Logout NACK received during logout.",c),t={success:n===E.Cs.LOGOUT_ACK||i===E.QT.SESSION_NOT_FOUND||h,error:c},a&&window.open(a,"_self")}catch(e){const s=new u.l(e.sentMessage,e.receivedMessage);if(g.k.error("Logout Authentication Error:",s),!s.isIgnorableError())throw e;g.k.warn("Ignoring authentication error as it is a known edge case."),t.success=!0}finally{this.removeAuthResults(),this.isWorking=!1}return t}))}reAuthFromSession(){return(0,i.__awaiter)(this,void 0,void 0,(function*(){if(yield this.ensureConnection()){const e=this.messageBuilder.createRefreshTokenMessage(),t=yield this.connect.send(e);if((null==t?void 0:t.MESSAGE_TYPE)===E.N$.EVENT_LOGIN_AUTH_ACK)return this.session.setAuthResult(t),this.connect.setValidSession(!0),this.applyAuthResults(this.getLoggedUserFromMessage(t)),!0}return this.session.deleteUserFromSessionStorage(),this.connect.setValidSession(!1),!1}))}ensureConnection(){return(0,i.__awaiter)(this,void 0,void 0,(function*(){if(this.connect.isConnected)return!0;const e=this.session.getSessionStorageItem("hostUrl");return!!e&&this.connect.connect(e)}))}getLoggedUserFromMessage(e){const t=e.USER_NAME,s=e.SESSION_AUTH_TOKEN,i=e.REFRESH_AUTH_TOKEN;return t&&s&&i?{username:t,authToken:s,refreshToken:i,profiles:e.PROFILE,permissions:e.PERMISSION,sessionId:e.SESSION_ID}:null}applyAuthResults(e){e?(this.loggedUserResult={authToken:e.authToken,refreshToken:e.refreshToken,profiles:e.profiles,username:e.username,permissions:e.permissions,sessionId:e.sessionId},this.currentUser=new C({permissions:e.permissions,profiles:e.profiles,username:e.username})):this.removeAuthResults()}removeAuthResults(){this.loggedUserResult=null,this.currentUser=null}};(0,i.__decorate)([r.observable],U.prototype,"isWorking",void 0),(0,i.__decorate)([r.observable],U.prototype,"loggedUserResult",void 0),(0,i.__decorate)([r.observable],U.prototype,"currentUser",void 0),(0,i.__decorate)([r.volatile],U.prototype,"isLoggedIn",null),U=(0,i.__decorate)([(0,i.__param)(0,S.z),(0,i.__param)(1,d.lj),(0,i.__param)(2,E.sW),(0,i.__param)(3,b)],U);const k=o.DI.createInterface((e=>e.singleton(U)));var L=s(66306);var w=s(5127),P=s(82940);const y={options:{criteria:"",isSnapshot:!1,maxRows:P.WJ.MAX_ROWS_250,maxView:P.WJ.MAX_VIEW_1000,movingView:!1,orderBy:"",resourceName:"",reverse:!1},criteriaToFields:function(e){const t=e.split("&&").map((e=>e.trim())),s={};return t.forEach((e=>{const t=e.substr(0,e.indexOf("=")).trim().replace(/["']/g,""),i=e.substr(e.lastIndexOf("=")+1,e.length).trim().replace(/["']/g,"");s[t]=i})),s},dataServerResultFilter:w.$};let D=class{constructor(e,t,s=y){this.connect=e,this.auth=t,this.config=s,this.initialized=!1,this.readOnly=!0,this.originalFieldDef=[],this.requestFields=[],this.fieldMetadata=[],this.availableIndexes=[]}init(e,t=!0){var s;return(0,i.__awaiter)(this,void 0,void 0,(function*(){if(!this.validResourceName(null==e?void 0:e.resourceName))return!1;if(this.options=Object.assign(Object.assign({},this.config.options),e),t){g.k.debug(`Initializing ${this.options.resourceName} Datasource`);const t=yield this.connect.getMetadata(this.options.resourceName).catch((t=>g.k.error(`Metadata Fetch failed for ${e.resourceName}:`,t)));if(!t)return this.deinit(),!1;this.resourceType=t.TYPE,this.availableIndexes=null!==(s=t.INDEXES)&&void 0!==s?s:[],this.originalFieldDef=(0,L.C)(t),this.fieldMetadata=(0,L.i)(this.originalFieldDef),this.requestFields=t.REQUEST_FIELD||[],g.k.debug(`Datasource for ${this.options.resourceName} is ready`)}return this.options.isSnapshot||(this._stream=yield this.createStream()),this.initialized=!0,this.initialized}))}deinit(){this.initialized=!1,this.options=void 0,this.resourceType=void 0,this.availableIndexes=[],this.originalFieldDef=[],this.fieldMetadata=[],this.requestFields=[]}get stream(){return this._stream}get params(){const e={CRITERIA_MATCH:this.options.criteria,FIELDS:this.options.fields,MAX_ROWS:this.options.maxRows,MAX_VIEW:this.options.maxView,MOVING_VIEW:this.options.movingView,REQUEST:this.options.request,REVERSE:this.options.reverse};if(this.options.orderBy)if(this.availableIndexes.findIndex((e=>e.NAME===this.options.orderBy))>-1)e.ORDER_BY=this.options.orderBy;else{const e=this.availableIndexes.map((e=>e.NAME));g.k.warn("Specified [orderBy] index is not valid and will not be used. See https://learn.genesis.global/docs/database/data-types/index-entities/ - Available indexes:",e)}return g.k.debug("Getting configured params:",e),e}snapshot(){var e;return(0,i.__awaiter)(this,void 0,void 0,(function*(){switch(g.k.debug(`Requesting snapshot for ${this.options.resourceName} (${this.resourceType}).`),this.resourceType){case P._g.DATASERVER:return this.connect.snapshot(this.options.resourceName,this.params);case P._g.REQUEST_SERVER:{const t=this.params,{REQUEST:s,CRITERIA_MATCH:r}=t,o={DETAILS:(0,i.__rest)(t,["REQUEST","CRITERIA_MATCH"]),REQUEST:Object.assign(Object.assign(Object.assign({},Object.fromEntries(this.requestFields.map((e=>[e.NAME,"*"])))),this.params.REQUEST),(null===(e=null==this?void 0:this.options)||void 0===e?void 0:e.criteria)?this.config.criteriaToFields(this.options.criteria):{})};return this.connect.request(this.options.resourceName,o)}default:throw new Error(`Snapshot not supported for selected resource type: ${this.resourceType}`)}}))}snapshotFiltered(e="ROW_REF"){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const t=yield this.snapshot();return Array.isArray(t)?t:t.REPLY?t.REPLY:t.ROW?this.config.dataServerResultFilter(t,e).inserts:void 0}))}createStream(){return(0,i.__awaiter)(this,void 0,void 0,(function*(){if(![P._g.DATASERVER,P._g.REQUEST_SERVER].includes(this.resourceType))throw new Error(`Streaming not supported for selected resource type: ${this.resourceType}`);return this.resourceType===P._g.DATASERVER?this.createDataserverStream():(g.k.debug(`Creating fake stream by polling ${this.options.resourceName} REQUEST_SERVER`),this.createReqRepStream())}))}createDataserverStream(){return(0,i.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.options.resourceName,(e=>{}),(e=>g.k.error(e)),this.params)}))}createReqRepStream(){return(0,n.H)(0,P.WJ.REQ_REP_POLLING_INTERVAL_MS).pipe((0,c.o)((()=>this.connect.isConnected&&this.auth.isLoggedIn)),(0,h.w)((()=>(0,a.D)(this.snapshot()))))}validResourceName(e){return!!e&&!!e.trim().length}};(0,i.__decorate)([r.observable],D.prototype,"initialized",void 0),(0,i.__decorate)([r.observable],D.prototype,"readOnly",void 0),(0,i.__decorate)([r.volatile],D.prototype,"stream",null),D=(0,i.__decorate)([(0,i.__param)(0,d.lj),(0,i.__param)(1,k),(0,i.__param)(2,(0,o.optional)(P.tt))],D);const G=o.DI.createInterface((e=>e.transient(D)))},82940:(e,t,s)=>{"use strict";s.d(t,{_g:()=>i,WJ:()=>o,tt:()=>n});var i,r=s(75951);!function(e){e.DATASERVER="DATASERVER",e.EVENT_HANDLER="EVENT_HANDLER",e.REQUEST_SERVER="REQUEST_SERVER"}(i||(i={}));class o{}o.MAX_ROWS_250=250,o.MAX_VIEW_1000=1e3,o.REQ_REP_POLLING_INTERVAL_MS=1e4;const n=r.DI.createInterface()},32449:(e,t,s)=>{"use strict";function i(e,t=";"){return e?e.split(t).map((e=>e.trim())).sort(((e,t)=>e.localeCompare(t))).join(t):e}s.d(t,{p:()=>i})},83123:(e,t,s)=>{"use strict";var i;s.d(t,{r:()=>i,E:()=>r}),function(e){e.STRING="STRING",e.NUMBER="NUMBER",e.BOOLEAN="BOOLEAN",e.ENUM="ENUM",e.DATE="DATE",e.DATETIME="DATETIME",e.CUSTOM="CUSTOM"}(i||(i={}));const r={STRING:i.STRING,ENUM:i.ENUM,BOOLEAN:i.BOOLEAN,INT:i.NUMBER,DOUBLE:i.NUMBER,BIGDECIMAL:i.NUMBER,DATE:i.DATE,DATETIME:i.DATETIME}},66306:(e,t,s)=>{"use strict";s.d(t,{i:()=>n,C:()=>a});var i=s(82940),r=s(22296),o=s(83123);const n=e=>e?e.map((e=>{const t={name:e.NAME,type:o.E[e.TYPE]||o.r.STRING};if(e.TYPE===o.r.ENUM&&e.VALID_VALUES)try{t.enumOptions=Array.isArray(e.VALID_VALUES)?e.VALID_VALUES:e.VALID_VALUES.split("|")}catch(e){r.k.error(e),t.enumOptions=[]}return t})):null,a=e=>{const t=null==e?void 0:e.TYPE;if(t===i._g.DATASERVER)return e.FIELD||[];if(t===i._g.REQUEST_SERVER)return e.REPLY_FIELD||[];throw new Error(`Unsupported resource type: ${t}`)}},75527:(e,t,s)=>{"use strict";s.d(t,{z:()=>o});var i=s(75951);class r{constructor(){this.storageKeyPrefix="",this.returnUrl=this.getSessionStorageItem("returnUrl")||""}deleteUserFromSessionStorage(){["authToken","refreshToken","sessionId","ssoToken"].forEach((e=>this.removeSessionStorageItem(e)))}setStorageKeyPrefix(e){this.storageKeyPrefix=`${e.replace(/\s/g,"")}/`}setAuthResult(e){this.setSessionStorageItem("authToken",e.SESSION_AUTH_TOKEN),this.setSessionStorageItem("refreshToken",e.REFRESH_AUTH_TOKEN),this.setSessionStorageItem("username",e.USER_NAME),this.setSessionStorageItem("sessionId",e.SESSION_ID)}captureReturnUrl(){const{pathname:e,search:t,hash:s}=location;if("/login"===e)return;const i=`${"/"!==e?e:""}`;this.returnUrl=`${i}${t}${s}`,this.setSessionStorageItem("returnUrl",this.returnUrl)}setItem(e,t,s){"local"===s?localStorage.setItem(this.storageKeyPrefix+e,t):sessionStorage.setItem(this.storageKeyPrefix+e,t)}getItem(e,t){return"local"===t?localStorage.getItem(this.storageKeyPrefix+e):sessionStorage.getItem(this.storageKeyPrefix+e)}removeItem(e,t){"local"===t?localStorage.removeItem(this.storageKeyPrefix+e):sessionStorage.removeItem(this.storageKeyPrefix+e)}setLocalStorageItem(e,t){this.setItem(e,t,"local")}setSessionStorageItem(e,t){this.setItem(e,t,"session")}getLocalStorageItem(e){return this.getItem(e,"local")}getSessionStorageItem(e){return this.getItem(e,"session")}removeLocalStorageItem(e){this.removeItem(e,"local")}removeSessionStorageItem(e){this.removeItem(e,"session")}}const o=i.DI.createInterface((e=>e.singleton(r)))},22296:(e,t,s)=>{"use strict";s.d(t,{k:()=>r});var i=s(93688);const r=(0,i.createLogger)("foundation-comms")}}]);
2
2
  //# sourceMappingURL=742.c406caba92eeb89a3aed936777dfd034bcf7e2b368828d0510b1d6411f29804f.js.map
@@ -1,2 +1,2 @@
1
- (self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[755,179],{8755:(e,s,n)=>{Promise.all([n.e(147),n.e(896),n.e(214),n.e(177),n.e(93)]).then(n.bind(n,91093))}}]);
1
+ (self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[755,179],{8755:(e,s,n)=>{Promise.all([n.e(147),n.e(896),n.e(688),n.e(611),n.e(93)]).then(n.bind(n,91093))}}]);
2
2
  //# sourceMappingURL=755.95370e73f97c50dfc77607496743c84b9714899e9698cc0f852a723fa87f4e2c.js.map
@@ -1,4 +1,4 @@
1
- (self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[842],{29842:(e,a,t)=>{"use strict";t.r(a),t.d(a,{Accordion:()=>r.Accordion,AccordionItem:()=>r.AccordionItem,ActionsMenu:()=>i.ActionsMenu,Anchor:()=>i.Anchor,AnchoredRegion:()=>r.AnchoredRegion,Avatar:()=>r.Avatar,Badge:()=>i.Badge,Banner:()=>i.Banner,Breadcrumb:()=>i.Breadcrumb,BreadcrumbItem:()=>i.BreadcrumbItem,Button:()=>i.Button,Calendar:()=>r.Calendar,Card:()=>i.Card,Checkbox:()=>i.Checkbox,ColorHEX:()=>n,Combobox:()=>i.Combobox,ConnectionIndicator:()=>i.ConnectionIndicator,DataGrid:()=>i.DataGrid,DataGridCell:()=>i.DataGridCell,DataGridRow:()=>i.DataGridRow,DatePicker:()=>i.DatePicker,Dialog:()=>i.Dialog,Disclosure:()=>i.Disclosure,Divider:()=>i.Divider,DropdownMenu:()=>i.DropdownMenu,ErrorBanner:()=>i.ErrorBanner,ErrorBoundary:()=>i.ErrorBoundary,ErrorDialog:()=>i.ErrorDialog,FileUpload:()=>i.FileUpload,Filter:()=>i.Filter,FilterBar:()=>i.FilterBar,FlexLayout:()=>i.FlexLayout,Flipper:()=>i.Flipper,Flyout:()=>i.Flyout,GridLayout:()=>i.GridLayout,GridLayoutItem:()=>i.GridLayoutItem,HorizontalScroll:()=>r.HorizontalScroll,Icon:()=>i.Icon,Listbox:()=>r.Listbox,ListboxOption:()=>i.ListboxOption,Menu:()=>i.Menu,MenuItem:()=>i.MenuItem,Modal:()=>i.Modal,Multiselect:()=>i.Multiselect,NumberField:()=>i.NumberField,Picker:()=>r.Picker,Progress:()=>i.Progress,ProgressRing:()=>i.ProgressRing,Radio:()=>i.Radio,RadioGroup:()=>i.RadioGroup,Search:()=>r.Search,SegmentedControl:()=>i.SegmentedControl,SegmentedItem:()=>i.SegmentedItem,Select:()=>i.Select,Skeleton:()=>i.Skeleton,Slider:()=>i.Slider,SliderLabel:()=>r.SliderLabel,Snackbar:()=>i.Snackbar,Switch:()=>i.Switch,Tab:()=>i.Tab,TabPanel:()=>i.TabPanel,Tabs:()=>i.Tabs,TextArea:()=>i.TextArea,TextField:()=>i.TextField,Toast:()=>i.Toast,Toolbar:()=>i.Toolbar,Tooltip:()=>i.Tooltip,TreeItem:()=>i.TreeItem,TreeView:()=>i.TreeView,UrlInput:()=>i.UrlInput,accentFillActive:()=>r.accentFillActive,accentFillActiveDelta:()=>r.accentFillActiveDelta,accentFillActiveDeltaValue:()=>F,accentFillFocus:()=>r.accentFillFocus,accentFillFocusDelta:()=>r.accentFillFocusDelta,accentFillFocusDeltaValue:()=>f,accentFillHover:()=>r.accentFillHover,accentFillHoverDelta:()=>r.accentFillHoverDelta,accentFillHoverDeltaValue:()=>h,accentFillRest:()=>r.accentFillRest,accentFillRestDelta:()=>r.accentFillRestDelta,accentFillRestDeltaValue:()=>c,accentForegroundActive:()=>r.accentForegroundActive,accentForegroundActiveDelta:()=>r.accentForegroundActiveDelta,accentForegroundActiveDeltaValue:()=>m,accentForegroundFocus:()=>r.accentForegroundFocus,accentForegroundFocusDelta:()=>r.accentForegroundFocusDelta,accentForegroundFocusDeltaValue:()=>y,accentForegroundHover:()=>r.accentForegroundHover,accentForegroundHoverDelta:()=>r.accentForegroundHoverDelta,accentForegroundHoverDeltaValue:()=>S,accentForegroundRest:()=>r.accentForegroundRest,accentForegroundRestDelta:()=>r.accentForegroundRestDelta,accentForegroundRestDeltaValue:()=>g,accentPalette:()=>r.accentPalette,accentPaletteValue:()=>p,alphaAccordion:()=>Ae,alphaAccordionItem:()=>xe,alphaAccordionItemShadowOptions:()=>Ge,alphaAccordionItemStyles:()=>ze,alphaAccordionItemTemplate:()=>Me,alphaAccordionShadowOptions:()=>He,alphaAccordionStyles:()=>Te,alphaAccordionTemplate:()=>Le,alphaActionsMenu:()=>We,alphaActionsMenuShadowOptions:()=>Xe,alphaActionsMenuStyles:()=>je,alphaActionsMenuTemplate:()=>Ye,alphaAnchor:()=>Ze,alphaAnchorShadowOptions:()=>la,alphaAnchorStyles:()=>ta,alphaAnchorTemplate:()=>aa,alphaAnchoredRegion:()=>ua,alphaAnchoredRegionShadowOptions:()=>ca,alphaAnchoredRegionStyles:()=>da,alphaAnchoredRegionTemplate:()=>sa,alphaAvatar:()=>Sa,alphaAvatarShadowOptions:()=>Ra,alphaAvatarStyles:()=>Da,alphaAvatarTemplate:()=>ya,alphaBadge:()=>Aa,alphaBadgeShadowOptions:()=>Ha,alphaBadgeStyles:()=>Ta,alphaBadgeTemplate:()=>La,alphaBanner:()=>xa,alphaBannerShadowOptions:()=>Ga,alphaBannerStyles:()=>za,alphaBannerTemplate:()=>Ma,alphaBreadcrumb:()=>Wa,alphaBreadcrumbItem:()=>Za,alphaBreadcrumbItemShadowOptions:()=>lt,alphaBreadcrumbItemStyles:()=>tt,alphaBreadcrumbItemTemplate:()=>at,alphaBreadcrumbShadowOptions:()=>Xa,alphaBreadcrumbStyles:()=>ja,alphaBreadcrumbTemplate:()=>Ya,alphaButton:()=>ut,alphaButtonShadowOptions:()=>ct,alphaButtonStyles:()=>dt,alphaButtonTemplate:()=>st,alphaCalendar:()=>St,alphaCalendarShadowOptions:()=>Rt,alphaCalendarStyles:()=>Dt,alphaCalendarTemplate:()=>yt,alphaCard:()=>At,alphaCardShadowOptions:()=>Ht,alphaCardStyles:()=>Tt,alphaCardTemplate:()=>Lt,alphaCheckbox:()=>xt,alphaCheckboxShadowOptions:()=>Gt,alphaCheckboxStyles:()=>zt,alphaCheckboxTemplate:()=>Mt,alphaCombobox:()=>Wt,alphaComboboxShadowOptions:()=>Xt,alphaComboboxStyles:()=>jt,alphaComboboxTemplate:()=>Yt,alphaConnectionIndicator:()=>Zt,alphaConnectionIndicatorShadowOptions:()=>ll,alphaConnectionIndicatorStyles:()=>tl,alphaConnectionIndicatorTemplate:()=>al,alphaDataGrid:()=>ul,alphaDataGridCell:()=>Sl,alphaDataGridCellShadowOptions:()=>Rl,alphaDataGridCellStyles:()=>Dl,alphaDataGridCellTemplate:()=>yl,alphaDataGridRow:()=>Al,alphaDataGridRowShadowOptions:()=>Hl,alphaDataGridRowStyles:()=>Tl,alphaDataGridRowTemplate:()=>Ll,alphaDataGridShadowOptions:()=>cl,alphaDataGridStyles:()=>dl,alphaDataGridTemplate:()=>sl,alphaDatePicker:()=>xl,alphaDatePickerShadowOptions:()=>Gl,alphaDatePickerStyles:()=>zl,alphaDatePickerTemplate:()=>Ml,alphaDialog:()=>Wl,alphaDialogShadowOptions:()=>Xl,alphaDialogStyles:()=>jl,alphaDialogTemplate:()=>Yl,alphaDisclosure:()=>Zl,alphaDisclosureShadowOptions:()=>lo,alphaDisclosureStyles:()=>to,alphaDisclosureTemplate:()=>ao,alphaDivider:()=>uo,alphaDividerShadowOptions:()=>ho,alphaDividerStyles:()=>co,alphaDividerTemplate:()=>so,alphaDropdownMenu:()=>mo,alphaDropdownMenuShadowOptions:()=>Co,alphaDropdownMenuStyles:()=>Ro,alphaDropdownMenuTemplate:()=>Do,alphaErrorBanner:()=>bo,alphaErrorBannerShadowOptions:()=>Po,alphaErrorBannerStyles:()=>Ho,alphaErrorBannerTemplate:()=>To,alphaErrorBoundary:()=>Bo,alphaErrorBoundaryShadowOptions:()=>Eo,alphaErrorBoundaryStyles:()=>Go,alphaErrorBoundaryTemplate:()=>zo,alphaErrorDialog:()=>_o,alphaErrorDialogShadowOptions:()=>qo,alphaErrorDialogStyles:()=>Xo,alphaErrorDialogTemplate:()=>jo,alphaFileUpload:()=>en,alphaFileUploadShadowOptions:()=>on,alphaFileUploadStyles:()=>ln,alphaFileUploadTemplate:()=>tn,alphaFilter:()=>sn,alphaFilterBar:()=>yn,alphaFilterBarShadowOptions:()=>vn,alphaFilterBarStyles:()=>Cn,alphaFilterBarTemplate:()=>Rn,alphaFilterShadowOptions:()=>Fn,alphaFilterStyles:()=>hn,alphaFilterTemplate:()=>cn,alphaFlexLayout:()=>Ln,alphaFlexLayoutShadowOptions:()=>In,alphaFlexLayoutStyles:()=>Pn,alphaFlexLayoutTemplate:()=>Hn,alphaFlipper:()=>Mn,alphaFlipperShadowOptions:()=>Un,alphaFlipperStyles:()=>En,alphaFlipperTemplate:()=>Gn,alphaFlyout:()=>Yn,alphaFlyoutShadowOptions:()=>Jn,alphaFlyoutStyles:()=>qn,alphaFlyoutTemplate:()=>Xn,alphaGridLayout:()=>ai,alphaGridLayoutItem:()=>si,alphaGridLayoutItemShadowOptions:()=>Fi,alphaGridLayoutItemStyles:()=>hi,alphaGridLayoutItemTemplate:()=>ci,alphaGridLayoutShadowOptions:()=>ni,alphaGridLayoutStyles:()=>oi,alphaGridLayoutTemplate:()=>li,alphaHorizontalScroll:()=>yi,alphaHorizontalScrollShadowOptions:()=>vi,alphaHorizontalScrollStyles:()=>Ci,alphaHorizontalScrollTemplate:()=>Ri,alphaIcon:()=>Li,alphaIconShadowOptions:()=>Ii,alphaIconStyles:()=>Pi,alphaIconTemplate:()=>Hi,alphaListbox:()=>Mi,alphaListboxOption:()=>Yi,alphaListboxOptionShadowOptions:()=>Ji,alphaListboxOptionStyles:()=>qi,alphaListboxOptionTemplate:()=>Xi,alphaListboxShadowOptions:()=>Ui,alphaListboxStyles:()=>Ei,alphaListboxTemplate:()=>Gi,alphaMenu:()=>ar,alphaMenuItem:()=>sr,alphaMenuItemShadowOptions:()=>Fr,alphaMenuItemStyles:()=>hr,alphaMenuItemTemplate:()=>cr,alphaMenuShadowOptions:()=>nr,alphaMenuStyles:()=>or,alphaMenuTemplate:()=>lr,alphaModal:()=>yr,alphaModalShadowOptions:()=>vr,alphaModalStyles:()=>Cr,alphaModalTemplate:()=>Rr,alphaMultiselect:()=>Lr,alphaMultiselectShadowOptions:()=>Ir,alphaMultiselectStyles:()=>Pr,alphaMultiselectTemplate:()=>Hr,alphaNumberField:()=>Mr,alphaNumberFieldShadowOptions:()=>Ur,alphaNumberFieldStyles:()=>Er,alphaNumberFieldTemplate:()=>Gr,alphaPicker:()=>Yr,alphaPickerShadowOptions:()=>Jr,alphaPickerStyles:()=>qr,alphaPickerTemplate:()=>Xr,alphaProgress:()=>au,alphaProgressRing:()=>su,alphaProgressRingShadowOptions:()=>Fu,alphaProgressRingStyles:()=>hu,alphaProgressRingTemplate:()=>cu,alphaProgressShadowOptions:()=>nu,alphaProgressStyles:()=>ou,alphaProgressTemplate:()=>lu,alphaRadio:()=>yu,alphaRadioGroup:()=>Lu,alphaRadioGroupShadowOptions:()=>Iu,alphaRadioGroupStyles:()=>Pu,alphaRadioGroupTemplate:()=>Hu,alphaRadioShadowOptions:()=>vu,alphaRadioStyles:()=>Cu,alphaRadioTemplate:()=>Ru,alphaSearch:()=>Mu,alphaSearchShadowOptions:()=>Uu,alphaSearchStyles:()=>Eu,alphaSearchTemplate:()=>Gu,alphaSegmentedControl:()=>Yu,alphaSegmentedControlShadowOptions:()=>Ju,alphaSegmentedControlStyles:()=>qu,alphaSegmentedControlTemplate:()=>Xu,alphaSegmentedItem:()=>ap,alphaSegmentedItemShadowOptions:()=>np,alphaSegmentedItemStyles:()=>op,alphaSegmentedItemTemplate:()=>lp,alphaSelect:()=>sp,alphaSelectShadowOptions:()=>Fp,alphaSelectStyles:()=>hp,alphaSelectTemplate:()=>cp,alphaSkeleton:()=>yp,alphaSkeletonShadowOptions:()=>vp,alphaSkeletonStyles:()=>Cp,alphaSkeletonTemplate:()=>Rp,alphaSlider:()=>Lp,alphaSliderLabel:()=>Mp,alphaSliderLabelShadowOptions:()=>Up,alphaSliderLabelStyles:()=>Ep,alphaSliderLabelTemplate:()=>Gp,alphaSliderShadowOptions:()=>Ip,alphaSliderStyles:()=>Pp,alphaSliderTemplate:()=>Hp,alphaSnackbar:()=>Yp,alphaSnackbarShadowOptions:()=>Jp,alphaSnackbarStyles:()=>qp,alphaSnackbarTemplate:()=>Xp,alphaSwitch:()=>as,alphaSwitchShadowOptions:()=>ns,alphaSwitchStyles:()=>os,alphaSwitchTemplate:()=>ls,alphaTab:()=>ss,alphaTabPanel:()=>ys,alphaTabPanelShadowOptions:()=>vs,alphaTabPanelStyles:()=>Cs,alphaTabPanelTemplate:()=>Rs,alphaTabShadowOptions:()=>Fs,alphaTabStyles:()=>hs,alphaTabTemplate:()=>cs,alphaTabs:()=>Ls,alphaTabsShadowOptions:()=>Is,alphaTabsStyles:()=>Ps,alphaTabsTemplate:()=>Hs,alphaTextArea:()=>Ms,alphaTextAreaShadowOptions:()=>Us,alphaTextAreaStyles:()=>Es,alphaTextAreaTemplate:()=>Gs,alphaTextField:()=>Ys,alphaTextFieldShadowOptions:()=>Js,alphaTextFieldStyles:()=>qs,alphaTextFieldTemplate:()=>Xs,alphaToast:()=>ad,alphaToastShadowOptions:()=>nd,alphaToastStyles:()=>od,alphaToastTemplate:()=>ld,alphaToolbar:()=>sd,alphaToolbarShadowOptions:()=>Fd,alphaToolbarStyles:()=>hd,alphaToolbarTemplate:()=>cd,alphaTooltip:()=>yd,alphaTooltipShadowOptions:()=>vd,alphaTooltipStyles:()=>Cd,alphaTooltipTemplate:()=>Rd,alphaTreeItem:()=>Ld,alphaTreeItemShadowOptions:()=>Id,alphaTreeItemStyles:()=>Pd,alphaTreeItemTemplate:()=>Hd,alphaTreeView:()=>Md,alphaTreeViewShadowOptions:()=>Ud,alphaTreeViewStyles:()=>Ed,alphaTreeViewTemplate:()=>Gd,alphaUrlInput:()=>Yd,alphaUrlInputShadowOptions:()=>Jd,alphaUrlInputStyles:()=>qd,alphaUrlInputTemplate:()=>Xd,baseComponents:()=>Kd,baseHeightMultiplier:()=>r.baseHeightMultiplier,baseHeightMultiplierValue:()=>X,baseLayerLuminance:()=>r.baseLayerLuminance,baseLayerLuminanceValue:()=>d,bodyFont:()=>r.bodyFont,bodyFontValue:()=>Q,controlCornerRadius:()=>r.controlCornerRadius,controlCornerRadiusValue:()=>q,defaultAccordionConfig:()=>be,defaultAccordionItemConfig:()=>Be,defaultActionsMenuConfig:()=>_e,defaultAnchorConfig:()=>ea,defaultAnchoredRegionConfig:()=>pa,defaultAvatarConfig:()=>ma,defaultBadgeConfig:()=>ba,defaultBannerConfig:()=>Ba,defaultBreadcrumbConfig:()=>_a,defaultBreadcrumbItemConfig:()=>et,defaultButtonConfig:()=>pt,defaultCalendarConfig:()=>mt,defaultCardConfig:()=>bt,defaultCheckboxConfig:()=>Bt,defaultComboboxConfig:()=>_t,defaultConnectionIndicatorConfig:()=>el,defaultDataGridCellConfig:()=>ml,defaultDataGridConfig:()=>pl,defaultDataGridRowConfig:()=>bl,defaultDatePickerConfig:()=>Bl,defaultDialogConfig:()=>_l,defaultDisclosureConfig:()=>eo,defaultDividerConfig:()=>po,defaultDropdownMenuConfig:()=>yo,defaultErrorBannerConfig:()=>Lo,defaultErrorBoundaryConfig:()=>Mo,defaultErrorDialogConfig:()=>Yo,defaultFileUploadConfig:()=>an,defaultFilterBarConfig:()=>Dn,defaultFilterConfig:()=>dn,defaultFlexLayoutConfig:()=>Tn,defaultFlipperConfig:()=>zn,defaultFlyoutConfig:()=>jn,defaultGridLayoutConfig:()=>ti,defaultGridLayoutItemConfig:()=>di,defaultHorizontalScrollConfig:()=>Di,defaultIconConfig:()=>Ti,defaultListboxConfig:()=>zi,defaultListboxOptionConfig:()=>ji,defaultMenuConfig:()=>tr,defaultMenuItemConfig:()=>dr,defaultModalConfig:()=>Dr,defaultMultiselectConfig:()=>Tr,defaultNumberFieldConfig:()=>zr,defaultPickerConfig:()=>jr,defaultProgressConfig:()=>tu,defaultProgressRingConfig:()=>du,defaultRadioConfig:()=>Du,defaultRadioGroupConfig:()=>Tu,defaultSearchConfig:()=>zu,defaultSegmentedControlConfig:()=>ju,defaultSegmentedItemConfig:()=>tp,defaultSelectConfig:()=>dp,defaultSkeletonConfig:()=>Dp,defaultSliderConfig:()=>Tp,defaultSliderLabelConfig:()=>zp,defaultSnackbarConfig:()=>jp,defaultSwitchConfig:()=>ts,defaultTabConfig:()=>ds,defaultTabPanelConfig:()=>Ds,defaultTabsConfig:()=>Ts,defaultTextAreaConfig:()=>zs,defaultTextFieldConfig:()=>js,defaultToastConfig:()=>td,defaultToolbarConfig:()=>dd,defaultTooltipConfig:()=>Dd,defaultTreeItemConfig:()=>Td,defaultTreeViewConfig:()=>zd,defaultUrlInputConfig:()=>jd,density:()=>r.density,densityValue:()=>J,designTokens:()=>Se,designUnit:()=>r.designUnit,designUnitValue:()=>K,direction:()=>r.direction,directionValue:()=>W,disabledOpacity:()=>r.disabledOpacity,disabledOpacityValue:()=>_,fillColor:()=>r.fillColor,focusStrokeInner:()=>r.focusStrokeInner,focusStrokeOuter:()=>r.focusStrokeOuter,focusStrokeWidth:()=>r.focusStrokeWidth,focusStrokeWidthValue:()=>j,foregroundOnAccentActive:()=>r.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>r.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>r.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>r.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>r.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>r.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>r.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>r.foregroundOnAccentRestLarge,neutralFillActive:()=>r.neutralFillActive,neutralFillActiveDelta:()=>r.neutralFillActiveDelta,neutralFillActiveDeltaValue:()=>C,neutralFillFocus:()=>r.neutralFillFocus,neutralFillFocusDelta:()=>r.neutralFillFocusDelta,neutralFillFocusDeltaValue:()=>v,neutralFillHover:()=>r.neutralFillHover,neutralFillHoverDelta:()=>r.neutralFillHoverDelta,neutralFillHoverDeltaValue:()=>R,neutralFillInputActive:()=>r.neutralFillInputActive,neutralFillInputActiveDelta:()=>r.neutralFillInputActiveDelta,neutralFillInputActiveDeltaValue:()=>A,neutralFillInputFocus:()=>r.neutralFillInputFocus,neutralFillInputFocusDelta:()=>r.neutralFillInputFocusDelta,neutralFillInputFocusDeltaValue:()=>b,neutralFillInputHover:()=>r.neutralFillInputHover,neutralFillInputHoverDelta:()=>r.neutralFillInputHoverDelta,neutralFillInputHoverDeltaValue:()=>w,neutralFillInputRest:()=>r.neutralFillInputRest,neutralFillInputRestDelta:()=>r.neutralFillInputRestDelta,neutralFillInputRestDeltaValue:()=>O,neutralFillLayerRest:()=>r.neutralFillLayerRest,neutralFillLayerRestDelta:()=>r.neutralFillLayerRestDelta,neutralFillLayerRestDeltaValue:()=>B,neutralFillRest:()=>r.neutralFillRest,neutralFillRestDelta:()=>r.neutralFillRestDelta,neutralFillRestDeltaValue:()=>D,neutralFillStealthActive:()=>r.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>r.neutralFillStealthActiveDelta,neutralFillStealthActiveDeltaValue:()=>H,neutralFillStealthFocus:()=>r.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>r.neutralFillStealthFocusDelta,neutralFillStealthFocusDeltaValue:()=>P,neutralFillStealthHover:()=>r.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>r.neutralFillStealthHoverDelta,neutralFillStealthHoverDeltaValue:()=>T,neutralFillStealthRest:()=>r.neutralFillStealthRest,neutralFillStealthRestDelta:()=>r.neutralFillStealthRestDelta,neutralFillStealthRestDeltaValue:()=>L,neutralFillStrongActive:()=>r.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>r.neutralFillStrongActiveDelta,neutralFillStrongActiveDeltaValue:()=>V,neutralFillStrongFocus:()=>r.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>r.neutralFillStrongFocusDelta,neutralFillStrongFocusDeltaValue:()=>x,neutralFillStrongHover:()=>r.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>r.neutralFillStrongHoverDelta,neutralFillStrongHoverDeltaValue:()=>k,neutralFillStrongRest:()=>r.neutralFillStrongRest,neutralFillStrongRestDelta:()=>r.neutralFillStrongRestDelta,neutralFillStrongRestDeltaValue:()=>I,neutralForegroundHint:()=>r.neutralForegroundHint,neutralForegroundRest:()=>r.neutralForegroundRest,neutralLayer1:()=>r.neutralLayer1,neutralLayer2:()=>r.neutralLayer2,neutralLayer3:()=>r.neutralLayer3,neutralLayer4:()=>r.neutralLayer4,neutralLayerCardContainer:()=>r.neutralLayerCardContainer,neutralLayerFloating:()=>r.neutralLayerFloating,neutralPalette:()=>r.neutralPalette,neutralPaletteValue:()=>s,neutralStrokeActive:()=>r.neutralStrokeActive,neutralStrokeActiveDelta:()=>r.neutralStrokeActiveDelta,neutralStrokeActiveDeltaValue:()=>G,neutralStrokeDividerRest:()=>r.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>r.neutralStrokeDividerRestDelta,neutralStrokeDividerRestDeltaValue:()=>U,neutralStrokeFocus:()=>r.neutralStrokeFocus,neutralStrokeFocusDelta:()=>r.neutralStrokeFocusDelta,neutralStrokeFocusDeltaValue:()=>E,neutralStrokeHover:()=>r.neutralStrokeHover,neutralStrokeHoverDelta:()=>r.neutralStrokeHoverDelta,neutralStrokeHoverDeltaValue:()=>z,neutralStrokeRest:()=>r.neutralStrokeRest,neutralStrokeRestDelta:()=>r.neutralStrokeRestDelta,neutralStrokeRestDeltaValue:()=>M,prefix:()=>N,provideDesignSystem:()=>Zd,strokeWidth:()=>r.strokeWidth,strokeWidthValue:()=>Y,typeRampBaseFontSize:()=>r.typeRampBaseFontSize,typeRampBaseFontSizeValue:()=>Z,typeRampBaseLineHeight:()=>r.typeRampBaseLineHeight,typeRampBaseLineHeightValue:()=>ee,typeRampMinus1FontSize:()=>r.typeRampMinus1FontSize,typeRampMinus1FontSizeValue:()=>ae,typeRampMinus1LineHeight:()=>r.typeRampMinus1LineHeight,typeRampMinus1LineHeightValue:()=>te,typeRampMinus2FontSize:()=>r.typeRampMinus2FontSize,typeRampMinus2FontSizeValue:()=>le,typeRampMinus2LineHeight:()=>r.typeRampMinus2LineHeight,typeRampMinus2LineHeightValue:()=>oe,typeRampPlus1FontSize:()=>r.typeRampPlus1FontSize,typeRampPlus1FontSizeValue:()=>ne,typeRampPlus1LineHeight:()=>r.typeRampPlus1LineHeight,typeRampPlus1LineHeightValue:()=>ie,typeRampPlus2FontSize:()=>r.typeRampPlus2FontSize,typeRampPlus2FontSizeValue:()=>re,typeRampPlus2LineHeight:()=>r.typeRampPlus2LineHeight,typeRampPlus2LineHeightValue:()=>ue,typeRampPlus3FontSize:()=>r.typeRampPlus3FontSize,typeRampPlus3FontSizeValue:()=>pe,typeRampPlus3LineHeight:()=>r.typeRampPlus3LineHeight,typeRampPlus3LineHeightValue:()=>se,typeRampPlus4FontSize:()=>r.typeRampPlus4FontSize,typeRampPlus4FontSizeValue:()=>de,typeRampPlus4LineHeight:()=>r.typeRampPlus4LineHeight,typeRampPlus4LineHeightValue:()=>ce,typeRampPlus5FontSize:()=>r.typeRampPlus5FontSize,typeRampPlus5FontSizeValue:()=>he,typeRampPlus5LineHeight:()=>r.typeRampPlus5LineHeight,typeRampPlus5LineHeightValue:()=>Fe,typeRampPlus6FontSize:()=>r.typeRampPlus6FontSize,typeRampPlus6FontSizeValue:()=>fe,typeRampPlus6LineHeight:()=>r.typeRampPlus6LineHeight,typeRampPlus6LineHeightValue:()=>ge});var l={};t.r(l),t.d(l,{accentFillActive:()=>r.accentFillActive,accentFillActiveDelta:()=>r.accentFillActiveDelta,accentFillFocus:()=>r.accentFillFocus,accentFillFocusDelta:()=>r.accentFillFocusDelta,accentFillHover:()=>r.accentFillHover,accentFillHoverDelta:()=>r.accentFillHoverDelta,accentFillRest:()=>r.accentFillRest,accentFillRestDelta:()=>r.accentFillRestDelta,accentForegroundActive:()=>r.accentForegroundActive,accentForegroundActiveDelta:()=>r.accentForegroundActiveDelta,accentForegroundFocus:()=>r.accentForegroundFocus,accentForegroundFocusDelta:()=>r.accentForegroundFocusDelta,accentForegroundHover:()=>r.accentForegroundHover,accentForegroundHoverDelta:()=>r.accentForegroundHoverDelta,accentForegroundRest:()=>r.accentForegroundRest,accentForegroundRestDelta:()=>r.accentForegroundRestDelta,accentPalette:()=>r.accentPalette,baseHeightMultiplier:()=>r.baseHeightMultiplier,baseLayerLuminance:()=>r.baseLayerLuminance,bodyFont:()=>r.bodyFont,controlCornerRadius:()=>r.controlCornerRadius,density:()=>r.density,designUnit:()=>r.designUnit,direction:()=>r.direction,disabledOpacity:()=>r.disabledOpacity,fillColor:()=>r.fillColor,focusStrokeInner:()=>r.focusStrokeInner,focusStrokeOuter:()=>r.focusStrokeOuter,focusStrokeWidth:()=>r.focusStrokeWidth,foregroundOnAccentActive:()=>r.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>r.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>r.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>r.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>r.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>r.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>r.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>r.foregroundOnAccentRestLarge,neutralFillActive:()=>r.neutralFillActive,neutralFillActiveDelta:()=>r.neutralFillActiveDelta,neutralFillFocus:()=>r.neutralFillFocus,neutralFillFocusDelta:()=>r.neutralFillFocusDelta,neutralFillHover:()=>r.neutralFillHover,neutralFillHoverDelta:()=>r.neutralFillHoverDelta,neutralFillInputActive:()=>r.neutralFillInputActive,neutralFillInputActiveDelta:()=>r.neutralFillInputActiveDelta,neutralFillInputFocus:()=>r.neutralFillInputFocus,neutralFillInputFocusDelta:()=>r.neutralFillInputFocusDelta,neutralFillInputHover:()=>r.neutralFillInputHover,neutralFillInputHoverDelta:()=>r.neutralFillInputHoverDelta,neutralFillInputRest:()=>r.neutralFillInputRest,neutralFillInputRestDelta:()=>r.neutralFillInputRestDelta,neutralFillLayerRest:()=>r.neutralFillLayerRest,neutralFillLayerRestDelta:()=>r.neutralFillLayerRestDelta,neutralFillRest:()=>r.neutralFillRest,neutralFillRestDelta:()=>r.neutralFillRestDelta,neutralFillStealthActive:()=>r.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>r.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>r.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>r.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>r.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>r.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>r.neutralFillStealthRest,neutralFillStealthRestDelta:()=>r.neutralFillStealthRestDelta,neutralFillStrongActive:()=>r.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>r.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>r.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>r.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>r.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>r.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>r.neutralFillStrongRest,neutralFillStrongRestDelta:()=>r.neutralFillStrongRestDelta,neutralForegroundHint:()=>r.neutralForegroundHint,neutralForegroundRest:()=>r.neutralForegroundRest,neutralLayer1:()=>r.neutralLayer1,neutralLayer2:()=>r.neutralLayer2,neutralLayer3:()=>r.neutralLayer3,neutralLayer4:()=>r.neutralLayer4,neutralLayerCardContainer:()=>r.neutralLayerCardContainer,neutralLayerFloating:()=>r.neutralLayerFloating,neutralPalette:()=>r.neutralPalette,neutralStrokeActive:()=>r.neutralStrokeActive,neutralStrokeActiveDelta:()=>r.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>r.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>r.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>r.neutralStrokeFocus,neutralStrokeFocusDelta:()=>r.neutralStrokeFocusDelta,neutralStrokeHover:()=>r.neutralStrokeHover,neutralStrokeHoverDelta:()=>r.neutralStrokeHoverDelta,neutralStrokeRest:()=>r.neutralStrokeRest,neutralStrokeRestDelta:()=>r.neutralStrokeRestDelta,strokeWidth:()=>r.strokeWidth,typeRampBaseFontSize:()=>r.typeRampBaseFontSize,typeRampBaseLineHeight:()=>r.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>r.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>r.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>r.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>r.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>r.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>r.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>r.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>r.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>r.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>r.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>r.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>r.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>r.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>r.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>r.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>r.typeRampPlus6LineHeight});var o={};t.r(o),t.d(o,{accentFillActiveDeltaValue:()=>F,accentFillFocusDeltaValue:()=>f,accentFillHoverDeltaValue:()=>h,accentFillRestDeltaValue:()=>c,accentForegroundActiveDeltaValue:()=>m,accentForegroundFocusDeltaValue:()=>y,accentForegroundHoverDeltaValue:()=>S,accentForegroundRestDeltaValue:()=>g,accentPaletteValue:()=>p,baseHeightMultiplierValue:()=>X,baseLayerLuminanceValue:()=>d,bodyFontValue:()=>Q,controlCornerRadiusValue:()=>q,densityValue:()=>J,designTokens:()=>Se,designUnitValue:()=>K,directionValue:()=>W,disabledOpacityValue:()=>_,focusStrokeWidthValue:()=>j,neutralFillActiveDeltaValue:()=>C,neutralFillFocusDeltaValue:()=>v,neutralFillHoverDeltaValue:()=>R,neutralFillInputActiveDeltaValue:()=>A,neutralFillInputFocusDeltaValue:()=>b,neutralFillInputHoverDeltaValue:()=>w,neutralFillInputRestDeltaValue:()=>O,neutralFillLayerRestDeltaValue:()=>B,neutralFillRestDeltaValue:()=>D,neutralFillStealthActiveDeltaValue:()=>H,neutralFillStealthFocusDeltaValue:()=>P,neutralFillStealthHoverDeltaValue:()=>T,neutralFillStealthRestDeltaValue:()=>L,neutralFillStrongActiveDeltaValue:()=>V,neutralFillStrongFocusDeltaValue:()=>x,neutralFillStrongHoverDeltaValue:()=>k,neutralFillStrongRestDeltaValue:()=>I,neutralPaletteValue:()=>s,neutralStrokeActiveDeltaValue:()=>G,neutralStrokeDividerRestDeltaValue:()=>U,neutralStrokeFocusDeltaValue:()=>E,neutralStrokeHoverDeltaValue:()=>z,neutralStrokeRestDeltaValue:()=>M,prefix:()=>N,strokeWidthValue:()=>Y,typeRampBaseFontSizeValue:()=>Z,typeRampBaseLineHeightValue:()=>ee,typeRampMinus1FontSizeValue:()=>ae,typeRampMinus1LineHeightValue:()=>te,typeRampMinus2FontSizeValue:()=>le,typeRampMinus2LineHeightValue:()=>oe,typeRampPlus1FontSizeValue:()=>ne,typeRampPlus1LineHeightValue:()=>ie,typeRampPlus2FontSizeValue:()=>re,typeRampPlus2LineHeightValue:()=>ue,typeRampPlus3FontSizeValue:()=>pe,typeRampPlus3LineHeightValue:()=>se,typeRampPlus4FontSizeValue:()=>de,typeRampPlus4LineHeightValue:()=>ce,typeRampPlus5FontSizeValue:()=>he,typeRampPlus5LineHeightValue:()=>Fe,typeRampPlus6FontSizeValue:()=>fe,typeRampPlus6LineHeightValue:()=>ge});var n,i=t(52454),r=t(13896),u=t(83147);!function(e){e.accentYellow="#FFBC05",e.neutralGrey="#808080"}(n||(n={}));const p=(0,i.paletteFromHex)(n.accentYellow),s=(0,i.paletteFromHex)(n.neutralGrey),d=r.StandardLuminance.DarkMode,c=0,h=4,F=-5,f=0,g=0,S=6,m=-4,y=0,D=7,R=10,C=5,v=0,O=0,w=0,A=0,b=0,L=0,T=5,H=3,P=0,I=0,k=8,V=-5,x=0,B=3,M=25,z=40,G=16,E=25,U=8;var $=t(23773);const N="alpha",W=$.N.ltr,_=.3,Y=1,j=2,X=10,q=4,J=0,K=4,Q='"Segoe UI", Arial, Helvetica, sans-serif',Z="14px",ee="20px",ae="12px",te="16px",le="10px",oe="16px",ne="16px",ie="24px",re="20px",ue="28px",pe="28px",se="36px",de="34px",ce="44px",he="46px",Fe="56px",fe="60px",ge="72px",Se={design_tokens:{color:{accent:{$value:p.source.toColorString(),$type:"color"},neutral:{$value:s.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:Q,$type:"fontFamily"}},typography:{baseFontSize:{$value:Z,$type:"dimension"},baseLineHeight:{$value:ee,$type:"dimension"}},mode:{luminance:{$value:d,$type:"number"}},style:{density:{$value:J,$type:"number"},borderRadius:{$value:q,$type:"number"},strokeWidth:{$value:Y,$type:"number"}},space:{designUnit:{$value:K,$type:"number"}}}};class me extends r.DesignSystemProvider{constructor(){super(),(0,i.provideTokens)(l,o,this)}}const ye=me.compose({baseName:"design-system-provider",template:u.html`
1
+ (self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[842],{29842:(e,a,t)=>{"use strict";t.r(a),t.d(a,{Accordion:()=>r.Accordion,AccordionItem:()=>r.AccordionItem,ActionsMenu:()=>i.ActionsMenu,Anchor:()=>i.Anchor,AnchoredRegion:()=>r.AnchoredRegion,Avatar:()=>r.Avatar,Badge:()=>i.Badge,Banner:()=>i.Banner,Breadcrumb:()=>i.Breadcrumb,BreadcrumbItem:()=>i.BreadcrumbItem,Button:()=>i.Button,Calendar:()=>r.Calendar,Card:()=>i.Card,Checkbox:()=>i.Checkbox,ColorHEX:()=>n,Combobox:()=>i.Combobox,ConnectionIndicator:()=>i.ConnectionIndicator,DataGrid:()=>i.DataGrid,DataGridCell:()=>i.DataGridCell,DataGridRow:()=>i.DataGridRow,DatePicker:()=>i.DatePicker,Dialog:()=>i.Dialog,Disclosure:()=>i.Disclosure,Divider:()=>i.Divider,DropdownMenu:()=>i.DropdownMenu,ErrorBanner:()=>i.ErrorBanner,ErrorBoundary:()=>i.ErrorBoundary,ErrorDialog:()=>i.ErrorDialog,FileUpload:()=>i.FileUpload,Filter:()=>i.Filter,FilterBar:()=>i.FilterBar,FlexLayout:()=>i.FlexLayout,Flipper:()=>i.Flipper,Flyout:()=>i.Flyout,GridLayout:()=>i.GridLayout,GridLayoutItem:()=>i.GridLayoutItem,HorizontalScroll:()=>r.HorizontalScroll,Icon:()=>i.Icon,Listbox:()=>r.Listbox,ListboxOption:()=>i.ListboxOption,Menu:()=>i.Menu,MenuItem:()=>i.MenuItem,Modal:()=>i.Modal,Multiselect:()=>i.Multiselect,NumberField:()=>i.NumberField,Picker:()=>r.Picker,Progress:()=>i.Progress,ProgressRing:()=>i.ProgressRing,Radio:()=>i.Radio,RadioGroup:()=>i.RadioGroup,Search:()=>r.Search,SegmentedControl:()=>i.SegmentedControl,SegmentedItem:()=>i.SegmentedItem,Select:()=>i.Select,Skeleton:()=>i.Skeleton,Slider:()=>i.Slider,SliderLabel:()=>r.SliderLabel,Snackbar:()=>i.Snackbar,Switch:()=>i.Switch,Tab:()=>i.Tab,TabPanel:()=>i.TabPanel,Tabs:()=>i.Tabs,TextArea:()=>i.TextArea,TextField:()=>i.TextField,Toast:()=>i.Toast,Toolbar:()=>i.Toolbar,Tooltip:()=>i.Tooltip,TreeItem:()=>i.TreeItem,TreeView:()=>i.TreeView,UrlInput:()=>i.UrlInput,accentFillActive:()=>r.accentFillActive,accentFillActiveDelta:()=>r.accentFillActiveDelta,accentFillActiveDeltaValue:()=>F,accentFillFocus:()=>r.accentFillFocus,accentFillFocusDelta:()=>r.accentFillFocusDelta,accentFillFocusDeltaValue:()=>f,accentFillHover:()=>r.accentFillHover,accentFillHoverDelta:()=>r.accentFillHoverDelta,accentFillHoverDeltaValue:()=>h,accentFillRest:()=>r.accentFillRest,accentFillRestDelta:()=>r.accentFillRestDelta,accentFillRestDeltaValue:()=>c,accentForegroundActive:()=>r.accentForegroundActive,accentForegroundActiveDelta:()=>r.accentForegroundActiveDelta,accentForegroundActiveDeltaValue:()=>m,accentForegroundFocus:()=>r.accentForegroundFocus,accentForegroundFocusDelta:()=>r.accentForegroundFocusDelta,accentForegroundFocusDeltaValue:()=>y,accentForegroundHover:()=>r.accentForegroundHover,accentForegroundHoverDelta:()=>r.accentForegroundHoverDelta,accentForegroundHoverDeltaValue:()=>S,accentForegroundRest:()=>r.accentForegroundRest,accentForegroundRestDelta:()=>r.accentForegroundRestDelta,accentForegroundRestDeltaValue:()=>g,accentPalette:()=>r.accentPalette,accentPaletteValue:()=>p,alphaAccordion:()=>Ae,alphaAccordionItem:()=>xe,alphaAccordionItemShadowOptions:()=>Ge,alphaAccordionItemStyles:()=>ze,alphaAccordionItemTemplate:()=>Me,alphaAccordionShadowOptions:()=>He,alphaAccordionStyles:()=>Te,alphaAccordionTemplate:()=>Le,alphaActionsMenu:()=>We,alphaActionsMenuShadowOptions:()=>Xe,alphaActionsMenuStyles:()=>je,alphaActionsMenuTemplate:()=>Ye,alphaAnchor:()=>Ze,alphaAnchorShadowOptions:()=>la,alphaAnchorStyles:()=>ta,alphaAnchorTemplate:()=>aa,alphaAnchoredRegion:()=>ua,alphaAnchoredRegionShadowOptions:()=>ca,alphaAnchoredRegionStyles:()=>da,alphaAnchoredRegionTemplate:()=>sa,alphaAvatar:()=>Sa,alphaAvatarShadowOptions:()=>Ra,alphaAvatarStyles:()=>Da,alphaAvatarTemplate:()=>ya,alphaBadge:()=>Aa,alphaBadgeShadowOptions:()=>Ha,alphaBadgeStyles:()=>Ta,alphaBadgeTemplate:()=>La,alphaBanner:()=>xa,alphaBannerShadowOptions:()=>Ga,alphaBannerStyles:()=>za,alphaBannerTemplate:()=>Ma,alphaBreadcrumb:()=>Wa,alphaBreadcrumbItem:()=>Za,alphaBreadcrumbItemShadowOptions:()=>lt,alphaBreadcrumbItemStyles:()=>tt,alphaBreadcrumbItemTemplate:()=>at,alphaBreadcrumbShadowOptions:()=>Xa,alphaBreadcrumbStyles:()=>ja,alphaBreadcrumbTemplate:()=>Ya,alphaButton:()=>ut,alphaButtonShadowOptions:()=>ct,alphaButtonStyles:()=>dt,alphaButtonTemplate:()=>st,alphaCalendar:()=>St,alphaCalendarShadowOptions:()=>Rt,alphaCalendarStyles:()=>Dt,alphaCalendarTemplate:()=>yt,alphaCard:()=>At,alphaCardShadowOptions:()=>Ht,alphaCardStyles:()=>Tt,alphaCardTemplate:()=>Lt,alphaCheckbox:()=>xt,alphaCheckboxShadowOptions:()=>Gt,alphaCheckboxStyles:()=>zt,alphaCheckboxTemplate:()=>Mt,alphaCombobox:()=>Wt,alphaComboboxShadowOptions:()=>Xt,alphaComboboxStyles:()=>jt,alphaComboboxTemplate:()=>Yt,alphaConnectionIndicator:()=>Zt,alphaConnectionIndicatorShadowOptions:()=>ll,alphaConnectionIndicatorStyles:()=>tl,alphaConnectionIndicatorTemplate:()=>al,alphaDataGrid:()=>ul,alphaDataGridCell:()=>Sl,alphaDataGridCellShadowOptions:()=>Rl,alphaDataGridCellStyles:()=>Dl,alphaDataGridCellTemplate:()=>yl,alphaDataGridRow:()=>Al,alphaDataGridRowShadowOptions:()=>Hl,alphaDataGridRowStyles:()=>Tl,alphaDataGridRowTemplate:()=>Ll,alphaDataGridShadowOptions:()=>cl,alphaDataGridStyles:()=>dl,alphaDataGridTemplate:()=>sl,alphaDatePicker:()=>xl,alphaDatePickerShadowOptions:()=>Gl,alphaDatePickerStyles:()=>zl,alphaDatePickerTemplate:()=>Ml,alphaDialog:()=>Wl,alphaDialogShadowOptions:()=>Xl,alphaDialogStyles:()=>jl,alphaDialogTemplate:()=>Yl,alphaDisclosure:()=>Zl,alphaDisclosureShadowOptions:()=>lo,alphaDisclosureStyles:()=>to,alphaDisclosureTemplate:()=>ao,alphaDivider:()=>uo,alphaDividerShadowOptions:()=>ho,alphaDividerStyles:()=>co,alphaDividerTemplate:()=>so,alphaDropdownMenu:()=>mo,alphaDropdownMenuShadowOptions:()=>Co,alphaDropdownMenuStyles:()=>Ro,alphaDropdownMenuTemplate:()=>Do,alphaErrorBanner:()=>bo,alphaErrorBannerShadowOptions:()=>Po,alphaErrorBannerStyles:()=>Ho,alphaErrorBannerTemplate:()=>To,alphaErrorBoundary:()=>Bo,alphaErrorBoundaryShadowOptions:()=>Eo,alphaErrorBoundaryStyles:()=>Go,alphaErrorBoundaryTemplate:()=>zo,alphaErrorDialog:()=>_o,alphaErrorDialogShadowOptions:()=>qo,alphaErrorDialogStyles:()=>Xo,alphaErrorDialogTemplate:()=>jo,alphaFileUpload:()=>en,alphaFileUploadShadowOptions:()=>on,alphaFileUploadStyles:()=>ln,alphaFileUploadTemplate:()=>tn,alphaFilter:()=>sn,alphaFilterBar:()=>yn,alphaFilterBarShadowOptions:()=>vn,alphaFilterBarStyles:()=>Cn,alphaFilterBarTemplate:()=>Rn,alphaFilterShadowOptions:()=>Fn,alphaFilterStyles:()=>hn,alphaFilterTemplate:()=>cn,alphaFlexLayout:()=>Ln,alphaFlexLayoutShadowOptions:()=>In,alphaFlexLayoutStyles:()=>Pn,alphaFlexLayoutTemplate:()=>Hn,alphaFlipper:()=>Mn,alphaFlipperShadowOptions:()=>Un,alphaFlipperStyles:()=>En,alphaFlipperTemplate:()=>Gn,alphaFlyout:()=>Yn,alphaFlyoutShadowOptions:()=>Jn,alphaFlyoutStyles:()=>qn,alphaFlyoutTemplate:()=>Xn,alphaGridLayout:()=>ai,alphaGridLayoutItem:()=>si,alphaGridLayoutItemShadowOptions:()=>Fi,alphaGridLayoutItemStyles:()=>hi,alphaGridLayoutItemTemplate:()=>ci,alphaGridLayoutShadowOptions:()=>ni,alphaGridLayoutStyles:()=>oi,alphaGridLayoutTemplate:()=>li,alphaHorizontalScroll:()=>yi,alphaHorizontalScrollShadowOptions:()=>vi,alphaHorizontalScrollStyles:()=>Ci,alphaHorizontalScrollTemplate:()=>Ri,alphaIcon:()=>Li,alphaIconShadowOptions:()=>Ii,alphaIconStyles:()=>Pi,alphaIconTemplate:()=>Hi,alphaListbox:()=>Mi,alphaListboxOption:()=>Yi,alphaListboxOptionShadowOptions:()=>Ji,alphaListboxOptionStyles:()=>qi,alphaListboxOptionTemplate:()=>Xi,alphaListboxShadowOptions:()=>Ui,alphaListboxStyles:()=>Ei,alphaListboxTemplate:()=>Gi,alphaMenu:()=>ar,alphaMenuItem:()=>sr,alphaMenuItemShadowOptions:()=>Fr,alphaMenuItemStyles:()=>hr,alphaMenuItemTemplate:()=>cr,alphaMenuShadowOptions:()=>nr,alphaMenuStyles:()=>or,alphaMenuTemplate:()=>lr,alphaModal:()=>yr,alphaModalShadowOptions:()=>vr,alphaModalStyles:()=>Cr,alphaModalTemplate:()=>Rr,alphaMultiselect:()=>Lr,alphaMultiselectShadowOptions:()=>Ir,alphaMultiselectStyles:()=>Pr,alphaMultiselectTemplate:()=>Hr,alphaNumberField:()=>Mr,alphaNumberFieldShadowOptions:()=>Ur,alphaNumberFieldStyles:()=>Er,alphaNumberFieldTemplate:()=>Gr,alphaPicker:()=>Yr,alphaPickerShadowOptions:()=>Jr,alphaPickerStyles:()=>qr,alphaPickerTemplate:()=>Xr,alphaProgress:()=>au,alphaProgressRing:()=>su,alphaProgressRingShadowOptions:()=>Fu,alphaProgressRingStyles:()=>hu,alphaProgressRingTemplate:()=>cu,alphaProgressShadowOptions:()=>nu,alphaProgressStyles:()=>ou,alphaProgressTemplate:()=>lu,alphaRadio:()=>yu,alphaRadioGroup:()=>Lu,alphaRadioGroupShadowOptions:()=>Iu,alphaRadioGroupStyles:()=>Pu,alphaRadioGroupTemplate:()=>Hu,alphaRadioShadowOptions:()=>vu,alphaRadioStyles:()=>Cu,alphaRadioTemplate:()=>Ru,alphaSearch:()=>Mu,alphaSearchShadowOptions:()=>Uu,alphaSearchStyles:()=>Eu,alphaSearchTemplate:()=>Gu,alphaSegmentedControl:()=>Yu,alphaSegmentedControlShadowOptions:()=>Ju,alphaSegmentedControlStyles:()=>qu,alphaSegmentedControlTemplate:()=>Xu,alphaSegmentedItem:()=>ap,alphaSegmentedItemShadowOptions:()=>np,alphaSegmentedItemStyles:()=>op,alphaSegmentedItemTemplate:()=>lp,alphaSelect:()=>sp,alphaSelectShadowOptions:()=>Fp,alphaSelectStyles:()=>hp,alphaSelectTemplate:()=>cp,alphaSkeleton:()=>yp,alphaSkeletonShadowOptions:()=>vp,alphaSkeletonStyles:()=>Cp,alphaSkeletonTemplate:()=>Rp,alphaSlider:()=>Lp,alphaSliderLabel:()=>Mp,alphaSliderLabelShadowOptions:()=>Up,alphaSliderLabelStyles:()=>Ep,alphaSliderLabelTemplate:()=>Gp,alphaSliderShadowOptions:()=>Ip,alphaSliderStyles:()=>Pp,alphaSliderTemplate:()=>Hp,alphaSnackbar:()=>Yp,alphaSnackbarShadowOptions:()=>Jp,alphaSnackbarStyles:()=>qp,alphaSnackbarTemplate:()=>Xp,alphaSwitch:()=>as,alphaSwitchShadowOptions:()=>ns,alphaSwitchStyles:()=>os,alphaSwitchTemplate:()=>ls,alphaTab:()=>ss,alphaTabPanel:()=>ys,alphaTabPanelShadowOptions:()=>vs,alphaTabPanelStyles:()=>Cs,alphaTabPanelTemplate:()=>Rs,alphaTabShadowOptions:()=>Fs,alphaTabStyles:()=>hs,alphaTabTemplate:()=>cs,alphaTabs:()=>Ls,alphaTabsShadowOptions:()=>Is,alphaTabsStyles:()=>Ps,alphaTabsTemplate:()=>Hs,alphaTextArea:()=>Ms,alphaTextAreaShadowOptions:()=>Us,alphaTextAreaStyles:()=>Es,alphaTextAreaTemplate:()=>Gs,alphaTextField:()=>Ys,alphaTextFieldShadowOptions:()=>Js,alphaTextFieldStyles:()=>qs,alphaTextFieldTemplate:()=>Xs,alphaToast:()=>ad,alphaToastShadowOptions:()=>nd,alphaToastStyles:()=>od,alphaToastTemplate:()=>ld,alphaToolbar:()=>sd,alphaToolbarShadowOptions:()=>Fd,alphaToolbarStyles:()=>hd,alphaToolbarTemplate:()=>cd,alphaTooltip:()=>yd,alphaTooltipShadowOptions:()=>vd,alphaTooltipStyles:()=>Cd,alphaTooltipTemplate:()=>Rd,alphaTreeItem:()=>Ld,alphaTreeItemShadowOptions:()=>Id,alphaTreeItemStyles:()=>Pd,alphaTreeItemTemplate:()=>Hd,alphaTreeView:()=>Md,alphaTreeViewShadowOptions:()=>Ud,alphaTreeViewStyles:()=>Ed,alphaTreeViewTemplate:()=>Gd,alphaUrlInput:()=>Yd,alphaUrlInputShadowOptions:()=>Jd,alphaUrlInputStyles:()=>qd,alphaUrlInputTemplate:()=>Xd,baseComponents:()=>Kd,baseHeightMultiplier:()=>r.baseHeightMultiplier,baseHeightMultiplierValue:()=>X,baseLayerLuminance:()=>r.baseLayerLuminance,baseLayerLuminanceValue:()=>d,bodyFont:()=>r.bodyFont,bodyFontValue:()=>Q,controlCornerRadius:()=>r.controlCornerRadius,controlCornerRadiusValue:()=>q,defaultAccordionConfig:()=>be,defaultAccordionItemConfig:()=>Be,defaultActionsMenuConfig:()=>_e,defaultAnchorConfig:()=>ea,defaultAnchoredRegionConfig:()=>pa,defaultAvatarConfig:()=>ma,defaultBadgeConfig:()=>ba,defaultBannerConfig:()=>Ba,defaultBreadcrumbConfig:()=>_a,defaultBreadcrumbItemConfig:()=>et,defaultButtonConfig:()=>pt,defaultCalendarConfig:()=>mt,defaultCardConfig:()=>bt,defaultCheckboxConfig:()=>Bt,defaultComboboxConfig:()=>_t,defaultConnectionIndicatorConfig:()=>el,defaultDataGridCellConfig:()=>ml,defaultDataGridConfig:()=>pl,defaultDataGridRowConfig:()=>bl,defaultDatePickerConfig:()=>Bl,defaultDialogConfig:()=>_l,defaultDisclosureConfig:()=>eo,defaultDividerConfig:()=>po,defaultDropdownMenuConfig:()=>yo,defaultErrorBannerConfig:()=>Lo,defaultErrorBoundaryConfig:()=>Mo,defaultErrorDialogConfig:()=>Yo,defaultFileUploadConfig:()=>an,defaultFilterBarConfig:()=>Dn,defaultFilterConfig:()=>dn,defaultFlexLayoutConfig:()=>Tn,defaultFlipperConfig:()=>zn,defaultFlyoutConfig:()=>jn,defaultGridLayoutConfig:()=>ti,defaultGridLayoutItemConfig:()=>di,defaultHorizontalScrollConfig:()=>Di,defaultIconConfig:()=>Ti,defaultListboxConfig:()=>zi,defaultListboxOptionConfig:()=>ji,defaultMenuConfig:()=>tr,defaultMenuItemConfig:()=>dr,defaultModalConfig:()=>Dr,defaultMultiselectConfig:()=>Tr,defaultNumberFieldConfig:()=>zr,defaultPickerConfig:()=>jr,defaultProgressConfig:()=>tu,defaultProgressRingConfig:()=>du,defaultRadioConfig:()=>Du,defaultRadioGroupConfig:()=>Tu,defaultSearchConfig:()=>zu,defaultSegmentedControlConfig:()=>ju,defaultSegmentedItemConfig:()=>tp,defaultSelectConfig:()=>dp,defaultSkeletonConfig:()=>Dp,defaultSliderConfig:()=>Tp,defaultSliderLabelConfig:()=>zp,defaultSnackbarConfig:()=>jp,defaultSwitchConfig:()=>ts,defaultTabConfig:()=>ds,defaultTabPanelConfig:()=>Ds,defaultTabsConfig:()=>Ts,defaultTextAreaConfig:()=>zs,defaultTextFieldConfig:()=>js,defaultToastConfig:()=>td,defaultToolbarConfig:()=>dd,defaultTooltipConfig:()=>Dd,defaultTreeItemConfig:()=>Td,defaultTreeViewConfig:()=>zd,defaultUrlInputConfig:()=>jd,density:()=>r.density,densityValue:()=>J,designTokens:()=>Se,designUnit:()=>r.designUnit,designUnitValue:()=>K,direction:()=>r.direction,directionValue:()=>W,disabledOpacity:()=>r.disabledOpacity,disabledOpacityValue:()=>_,fillColor:()=>r.fillColor,focusStrokeInner:()=>r.focusStrokeInner,focusStrokeOuter:()=>r.focusStrokeOuter,focusStrokeWidth:()=>r.focusStrokeWidth,focusStrokeWidthValue:()=>j,foregroundOnAccentActive:()=>r.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>r.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>r.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>r.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>r.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>r.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>r.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>r.foregroundOnAccentRestLarge,neutralFillActive:()=>r.neutralFillActive,neutralFillActiveDelta:()=>r.neutralFillActiveDelta,neutralFillActiveDeltaValue:()=>C,neutralFillFocus:()=>r.neutralFillFocus,neutralFillFocusDelta:()=>r.neutralFillFocusDelta,neutralFillFocusDeltaValue:()=>v,neutralFillHover:()=>r.neutralFillHover,neutralFillHoverDelta:()=>r.neutralFillHoverDelta,neutralFillHoverDeltaValue:()=>R,neutralFillInputActive:()=>r.neutralFillInputActive,neutralFillInputActiveDelta:()=>r.neutralFillInputActiveDelta,neutralFillInputActiveDeltaValue:()=>A,neutralFillInputFocus:()=>r.neutralFillInputFocus,neutralFillInputFocusDelta:()=>r.neutralFillInputFocusDelta,neutralFillInputFocusDeltaValue:()=>b,neutralFillInputHover:()=>r.neutralFillInputHover,neutralFillInputHoverDelta:()=>r.neutralFillInputHoverDelta,neutralFillInputHoverDeltaValue:()=>w,neutralFillInputRest:()=>r.neutralFillInputRest,neutralFillInputRestDelta:()=>r.neutralFillInputRestDelta,neutralFillInputRestDeltaValue:()=>O,neutralFillLayerRest:()=>r.neutralFillLayerRest,neutralFillLayerRestDelta:()=>r.neutralFillLayerRestDelta,neutralFillLayerRestDeltaValue:()=>B,neutralFillRest:()=>r.neutralFillRest,neutralFillRestDelta:()=>r.neutralFillRestDelta,neutralFillRestDeltaValue:()=>D,neutralFillStealthActive:()=>r.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>r.neutralFillStealthActiveDelta,neutralFillStealthActiveDeltaValue:()=>H,neutralFillStealthFocus:()=>r.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>r.neutralFillStealthFocusDelta,neutralFillStealthFocusDeltaValue:()=>P,neutralFillStealthHover:()=>r.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>r.neutralFillStealthHoverDelta,neutralFillStealthHoverDeltaValue:()=>T,neutralFillStealthRest:()=>r.neutralFillStealthRest,neutralFillStealthRestDelta:()=>r.neutralFillStealthRestDelta,neutralFillStealthRestDeltaValue:()=>L,neutralFillStrongActive:()=>r.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>r.neutralFillStrongActiveDelta,neutralFillStrongActiveDeltaValue:()=>V,neutralFillStrongFocus:()=>r.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>r.neutralFillStrongFocusDelta,neutralFillStrongFocusDeltaValue:()=>x,neutralFillStrongHover:()=>r.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>r.neutralFillStrongHoverDelta,neutralFillStrongHoverDeltaValue:()=>k,neutralFillStrongRest:()=>r.neutralFillStrongRest,neutralFillStrongRestDelta:()=>r.neutralFillStrongRestDelta,neutralFillStrongRestDeltaValue:()=>I,neutralForegroundHint:()=>r.neutralForegroundHint,neutralForegroundRest:()=>r.neutralForegroundRest,neutralLayer1:()=>r.neutralLayer1,neutralLayer2:()=>r.neutralLayer2,neutralLayer3:()=>r.neutralLayer3,neutralLayer4:()=>r.neutralLayer4,neutralLayerCardContainer:()=>r.neutralLayerCardContainer,neutralLayerFloating:()=>r.neutralLayerFloating,neutralPalette:()=>r.neutralPalette,neutralPaletteValue:()=>s,neutralStrokeActive:()=>r.neutralStrokeActive,neutralStrokeActiveDelta:()=>r.neutralStrokeActiveDelta,neutralStrokeActiveDeltaValue:()=>G,neutralStrokeDividerRest:()=>r.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>r.neutralStrokeDividerRestDelta,neutralStrokeDividerRestDeltaValue:()=>U,neutralStrokeFocus:()=>r.neutralStrokeFocus,neutralStrokeFocusDelta:()=>r.neutralStrokeFocusDelta,neutralStrokeFocusDeltaValue:()=>E,neutralStrokeHover:()=>r.neutralStrokeHover,neutralStrokeHoverDelta:()=>r.neutralStrokeHoverDelta,neutralStrokeHoverDeltaValue:()=>z,neutralStrokeRest:()=>r.neutralStrokeRest,neutralStrokeRestDelta:()=>r.neutralStrokeRestDelta,neutralStrokeRestDeltaValue:()=>M,prefix:()=>N,provideDesignSystem:()=>Zd,strokeWidth:()=>r.strokeWidth,strokeWidthValue:()=>Y,typeRampBaseFontSize:()=>r.typeRampBaseFontSize,typeRampBaseFontSizeValue:()=>Z,typeRampBaseLineHeight:()=>r.typeRampBaseLineHeight,typeRampBaseLineHeightValue:()=>ee,typeRampMinus1FontSize:()=>r.typeRampMinus1FontSize,typeRampMinus1FontSizeValue:()=>ae,typeRampMinus1LineHeight:()=>r.typeRampMinus1LineHeight,typeRampMinus1LineHeightValue:()=>te,typeRampMinus2FontSize:()=>r.typeRampMinus2FontSize,typeRampMinus2FontSizeValue:()=>le,typeRampMinus2LineHeight:()=>r.typeRampMinus2LineHeight,typeRampMinus2LineHeightValue:()=>oe,typeRampPlus1FontSize:()=>r.typeRampPlus1FontSize,typeRampPlus1FontSizeValue:()=>ne,typeRampPlus1LineHeight:()=>r.typeRampPlus1LineHeight,typeRampPlus1LineHeightValue:()=>ie,typeRampPlus2FontSize:()=>r.typeRampPlus2FontSize,typeRampPlus2FontSizeValue:()=>re,typeRampPlus2LineHeight:()=>r.typeRampPlus2LineHeight,typeRampPlus2LineHeightValue:()=>ue,typeRampPlus3FontSize:()=>r.typeRampPlus3FontSize,typeRampPlus3FontSizeValue:()=>pe,typeRampPlus3LineHeight:()=>r.typeRampPlus3LineHeight,typeRampPlus3LineHeightValue:()=>se,typeRampPlus4FontSize:()=>r.typeRampPlus4FontSize,typeRampPlus4FontSizeValue:()=>de,typeRampPlus4LineHeight:()=>r.typeRampPlus4LineHeight,typeRampPlus4LineHeightValue:()=>ce,typeRampPlus5FontSize:()=>r.typeRampPlus5FontSize,typeRampPlus5FontSizeValue:()=>he,typeRampPlus5LineHeight:()=>r.typeRampPlus5LineHeight,typeRampPlus5LineHeightValue:()=>Fe,typeRampPlus6FontSize:()=>r.typeRampPlus6FontSize,typeRampPlus6FontSizeValue:()=>fe,typeRampPlus6LineHeight:()=>r.typeRampPlus6LineHeight,typeRampPlus6LineHeightValue:()=>ge});var l={};t.r(l),t.d(l,{accentFillActive:()=>r.accentFillActive,accentFillActiveDelta:()=>r.accentFillActiveDelta,accentFillFocus:()=>r.accentFillFocus,accentFillFocusDelta:()=>r.accentFillFocusDelta,accentFillHover:()=>r.accentFillHover,accentFillHoverDelta:()=>r.accentFillHoverDelta,accentFillRest:()=>r.accentFillRest,accentFillRestDelta:()=>r.accentFillRestDelta,accentForegroundActive:()=>r.accentForegroundActive,accentForegroundActiveDelta:()=>r.accentForegroundActiveDelta,accentForegroundFocus:()=>r.accentForegroundFocus,accentForegroundFocusDelta:()=>r.accentForegroundFocusDelta,accentForegroundHover:()=>r.accentForegroundHover,accentForegroundHoverDelta:()=>r.accentForegroundHoverDelta,accentForegroundRest:()=>r.accentForegroundRest,accentForegroundRestDelta:()=>r.accentForegroundRestDelta,accentPalette:()=>r.accentPalette,baseHeightMultiplier:()=>r.baseHeightMultiplier,baseLayerLuminance:()=>r.baseLayerLuminance,bodyFont:()=>r.bodyFont,controlCornerRadius:()=>r.controlCornerRadius,density:()=>r.density,designUnit:()=>r.designUnit,direction:()=>r.direction,disabledOpacity:()=>r.disabledOpacity,fillColor:()=>r.fillColor,focusStrokeInner:()=>r.focusStrokeInner,focusStrokeOuter:()=>r.focusStrokeOuter,focusStrokeWidth:()=>r.focusStrokeWidth,foregroundOnAccentActive:()=>r.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>r.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>r.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>r.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>r.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>r.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>r.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>r.foregroundOnAccentRestLarge,neutralFillActive:()=>r.neutralFillActive,neutralFillActiveDelta:()=>r.neutralFillActiveDelta,neutralFillFocus:()=>r.neutralFillFocus,neutralFillFocusDelta:()=>r.neutralFillFocusDelta,neutralFillHover:()=>r.neutralFillHover,neutralFillHoverDelta:()=>r.neutralFillHoverDelta,neutralFillInputActive:()=>r.neutralFillInputActive,neutralFillInputActiveDelta:()=>r.neutralFillInputActiveDelta,neutralFillInputFocus:()=>r.neutralFillInputFocus,neutralFillInputFocusDelta:()=>r.neutralFillInputFocusDelta,neutralFillInputHover:()=>r.neutralFillInputHover,neutralFillInputHoverDelta:()=>r.neutralFillInputHoverDelta,neutralFillInputRest:()=>r.neutralFillInputRest,neutralFillInputRestDelta:()=>r.neutralFillInputRestDelta,neutralFillLayerRest:()=>r.neutralFillLayerRest,neutralFillLayerRestDelta:()=>r.neutralFillLayerRestDelta,neutralFillRest:()=>r.neutralFillRest,neutralFillRestDelta:()=>r.neutralFillRestDelta,neutralFillStealthActive:()=>r.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>r.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>r.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>r.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>r.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>r.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>r.neutralFillStealthRest,neutralFillStealthRestDelta:()=>r.neutralFillStealthRestDelta,neutralFillStrongActive:()=>r.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>r.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>r.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>r.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>r.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>r.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>r.neutralFillStrongRest,neutralFillStrongRestDelta:()=>r.neutralFillStrongRestDelta,neutralForegroundHint:()=>r.neutralForegroundHint,neutralForegroundRest:()=>r.neutralForegroundRest,neutralLayer1:()=>r.neutralLayer1,neutralLayer2:()=>r.neutralLayer2,neutralLayer3:()=>r.neutralLayer3,neutralLayer4:()=>r.neutralLayer4,neutralLayerCardContainer:()=>r.neutralLayerCardContainer,neutralLayerFloating:()=>r.neutralLayerFloating,neutralPalette:()=>r.neutralPalette,neutralStrokeActive:()=>r.neutralStrokeActive,neutralStrokeActiveDelta:()=>r.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>r.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>r.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>r.neutralStrokeFocus,neutralStrokeFocusDelta:()=>r.neutralStrokeFocusDelta,neutralStrokeHover:()=>r.neutralStrokeHover,neutralStrokeHoverDelta:()=>r.neutralStrokeHoverDelta,neutralStrokeRest:()=>r.neutralStrokeRest,neutralStrokeRestDelta:()=>r.neutralStrokeRestDelta,strokeWidth:()=>r.strokeWidth,typeRampBaseFontSize:()=>r.typeRampBaseFontSize,typeRampBaseLineHeight:()=>r.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>r.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>r.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>r.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>r.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>r.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>r.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>r.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>r.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>r.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>r.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>r.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>r.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>r.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>r.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>r.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>r.typeRampPlus6LineHeight});var o={};t.r(o),t.d(o,{accentFillActiveDeltaValue:()=>F,accentFillFocusDeltaValue:()=>f,accentFillHoverDeltaValue:()=>h,accentFillRestDeltaValue:()=>c,accentForegroundActiveDeltaValue:()=>m,accentForegroundFocusDeltaValue:()=>y,accentForegroundHoverDeltaValue:()=>S,accentForegroundRestDeltaValue:()=>g,accentPaletteValue:()=>p,baseHeightMultiplierValue:()=>X,baseLayerLuminanceValue:()=>d,bodyFontValue:()=>Q,controlCornerRadiusValue:()=>q,densityValue:()=>J,designTokens:()=>Se,designUnitValue:()=>K,directionValue:()=>W,disabledOpacityValue:()=>_,focusStrokeWidthValue:()=>j,neutralFillActiveDeltaValue:()=>C,neutralFillFocusDeltaValue:()=>v,neutralFillHoverDeltaValue:()=>R,neutralFillInputActiveDeltaValue:()=>A,neutralFillInputFocusDeltaValue:()=>b,neutralFillInputHoverDeltaValue:()=>w,neutralFillInputRestDeltaValue:()=>O,neutralFillLayerRestDeltaValue:()=>B,neutralFillRestDeltaValue:()=>D,neutralFillStealthActiveDeltaValue:()=>H,neutralFillStealthFocusDeltaValue:()=>P,neutralFillStealthHoverDeltaValue:()=>T,neutralFillStealthRestDeltaValue:()=>L,neutralFillStrongActiveDeltaValue:()=>V,neutralFillStrongFocusDeltaValue:()=>x,neutralFillStrongHoverDeltaValue:()=>k,neutralFillStrongRestDeltaValue:()=>I,neutralPaletteValue:()=>s,neutralStrokeActiveDeltaValue:()=>G,neutralStrokeDividerRestDeltaValue:()=>U,neutralStrokeFocusDeltaValue:()=>E,neutralStrokeHoverDeltaValue:()=>z,neutralStrokeRestDeltaValue:()=>M,prefix:()=>N,strokeWidthValue:()=>Y,typeRampBaseFontSizeValue:()=>Z,typeRampBaseLineHeightValue:()=>ee,typeRampMinus1FontSizeValue:()=>ae,typeRampMinus1LineHeightValue:()=>te,typeRampMinus2FontSizeValue:()=>le,typeRampMinus2LineHeightValue:()=>oe,typeRampPlus1FontSizeValue:()=>ne,typeRampPlus1LineHeightValue:()=>ie,typeRampPlus2FontSizeValue:()=>re,typeRampPlus2LineHeightValue:()=>ue,typeRampPlus3FontSizeValue:()=>pe,typeRampPlus3LineHeightValue:()=>se,typeRampPlus4FontSizeValue:()=>de,typeRampPlus4LineHeightValue:()=>ce,typeRampPlus5FontSizeValue:()=>he,typeRampPlus5LineHeightValue:()=>Fe,typeRampPlus6FontSizeValue:()=>fe,typeRampPlus6LineHeightValue:()=>ge});var n,i=t(95981),r=t(13896),u=t(83147);!function(e){e.accentYellow="#FFBC05",e.neutralGrey="#808080"}(n||(n={}));const p=(0,i.paletteFromHex)(n.accentYellow),s=(0,i.paletteFromHex)(n.neutralGrey),d=r.StandardLuminance.DarkMode,c=0,h=4,F=-5,f=0,g=0,S=6,m=-4,y=0,D=7,R=10,C=5,v=0,O=0,w=0,A=0,b=0,L=0,T=5,H=3,P=0,I=0,k=8,V=-5,x=0,B=3,M=25,z=40,G=16,E=25,U=8;var $=t(23773);const N="alpha",W=$.N.ltr,_=.3,Y=1,j=2,X=10,q=4,J=0,K=4,Q='"Segoe UI", Arial, Helvetica, sans-serif',Z="14px",ee="20px",ae="12px",te="16px",le="10px",oe="16px",ne="16px",ie="24px",re="20px",ue="28px",pe="28px",se="36px",de="34px",ce="44px",he="46px",Fe="56px",fe="60px",ge="72px",Se={design_tokens:{color:{accent:{$value:p.source.toColorString(),$type:"color"},neutral:{$value:s.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:Q,$type:"fontFamily"}},typography:{baseFontSize:{$value:Z,$type:"dimension"},baseLineHeight:{$value:ee,$type:"dimension"}},mode:{luminance:{$value:d,$type:"number"}},style:{density:{$value:J,$type:"number"},borderRadius:{$value:q,$type:"number"},strokeWidth:{$value:Y,$type:"number"}},space:{designUnit:{$value:K,$type:"number"}}}};class me extends r.DesignSystemProvider{constructor(){super(),(0,i.provideTokens)(l,o,this)}}const ye=me.compose({baseName:"design-system-provider",template:u.html`
2
2
  <slot></slot>
3
3
  `});t(82694);const De=["baseClass","baseName","shadowOptions","styles","template"],Re=e=>{const{definition:a}=e(),{shadowOptions:t,styles:l,template:o}=a,n=((e,a=De)=>Object.keys(e).filter((e=>!a.includes(e))).reduce(((a,t)=>(a[t]=e[t],a)),{}))(a);return{shadowOptions:t,styles:l,template:o,defaultConfig:n}},{defaultConfig:Ce,shadowOptions:ve,styles:Oe,template:we}=Re(r.fastAccordion),Ae=()=>(0,r.fastAccordion)(),be=Ce,Le=we,Te=Oe,He=ve,{defaultConfig:Pe,shadowOptions:Ie,styles:ke,template:Ve}=Re(r.fastAccordionItem),xe=()=>(0,r.fastAccordionItem)(),Be=Pe,Me=Ve,ze=ke,Ge=Ie,{defaultConfig:Ee,shadowOptions:Ue,styles:$e,template:Ne}=Re(i.foundationActionsMenu),We=()=>(0,i.foundationActionsMenu)(),_e=Ee,Ye=Ne,je=$e,Xe=Ue,{defaultConfig:qe,shadowOptions:Je,styles:Ke,template:Qe}=Re(i.foundationAnchor),Ze=()=>(0,i.foundationAnchor)(),ea=qe,aa=Qe,ta=Ke,la=Je,{defaultConfig:oa,shadowOptions:na,styles:ia,template:ra}=Re(r.fastAnchoredRegion),ua=()=>(0,r.fastAnchoredRegion)(),pa=oa,sa=ra,da=ia,ca=na,{defaultConfig:ha,shadowOptions:Fa,styles:fa,template:ga}=Re(r.fastAvatar),Sa=()=>(0,r.fastAvatar)(),ma=ha,ya=ga,Da=fa,Ra=Fa,{defaultConfig:Ca,shadowOptions:va,styles:Oa,template:wa}=Re(i.foundationBadge),Aa=()=>(0,i.foundationBadge)(),ba=Ca,La=wa,Ta=Oa,Ha=va,{defaultConfig:Pa,shadowOptions:Ia,styles:ka,template:Va}=Re(i.foundationBanner),xa=()=>(0,i.foundationBanner)(),Ba=Pa,Ma=Va,za=ka,Ga=Ia,{defaultConfig:Ea,shadowOptions:Ua,styles:$a,template:Na}=Re(i.foundationBreadcrumb),Wa=()=>(0,i.foundationBreadcrumb)(),_a=Ea,Ya=Na,ja=$a,Xa=Ua,{defaultConfig:qa,shadowOptions:Ja,styles:Ka,template:Qa}=Re(i.foundationBreadcrumbItem),Za=()=>(0,i.foundationBreadcrumbItem)(),et=qa,at=Qa,tt=Ka,lt=Ja,{defaultConfig:ot,shadowOptions:nt,styles:it,template:rt}=Re(i.foundationButton),ut=()=>(0,i.foundationButton)(),pt=ot,st=rt,dt=it,ct=nt,{defaultConfig:ht,shadowOptions:Ft,styles:ft,template:gt}=Re(r.fastCalendar),St=()=>(0,r.fastCalendar)(),mt=ht,yt=gt,Dt=ft,Rt=Ft,{defaultConfig:Ct,shadowOptions:vt,styles:Ot,template:wt}=Re(i.foundationCard),At=()=>(0,i.foundationCard)(),bt=Ct,Lt=wt,Tt=Ot,Ht=vt,{defaultConfig:Pt,shadowOptions:It,styles:kt,template:Vt}=Re(i.foundationCheckbox),xt=()=>(0,i.foundationCheckbox)(),Bt=Pt,Mt=Vt,zt=kt,Gt=It,{defaultConfig:Et,shadowOptions:Ut,styles:$t,template:Nt}=Re(i.foundationCombobox),Wt=()=>(0,i.foundationCombobox)(),_t=Et,Yt=Nt,jt=$t,Xt=Ut,{defaultConfig:qt,shadowOptions:Jt,styles:Kt,template:Qt}=Re(i.foundationConnectionIndicator),Zt=()=>(0,i.foundationConnectionIndicator)(),el=qt,al=Qt,tl=Kt,ll=Jt,{defaultConfig:ol,shadowOptions:nl,styles:il,template:rl}=Re(i.foundationDataGrid),ul=()=>(0,i.foundationDataGrid)(),pl=ol,sl=rl,dl=il,cl=nl,{defaultConfig:hl,shadowOptions:Fl,styles:fl,template:gl}=Re(i.foundationDataGridCell),Sl=()=>(0,i.foundationDataGridCell)(),ml=hl,yl=gl,Dl=fl,Rl=Fl,{defaultConfig:Cl,shadowOptions:vl,styles:Ol,template:wl}=Re(i.foundationDataGridRow),Al=()=>(0,i.foundationDataGridRow)(),bl=Cl,Ll=wl,Tl=Ol,Hl=vl,{defaultConfig:Pl,shadowOptions:Il,styles:kl,template:Vl}=Re(i.foundationDatePicker),xl=()=>(0,i.foundationDatePicker)(),Bl=Pl,Ml=Vl,zl=kl,Gl=Il,{defaultConfig:El,shadowOptions:Ul,styles:$l,template:Nl}=Re(i.foundationDialog),Wl=()=>(0,i.foundationDialog)(),_l=El,Yl=Nl,jl=$l,Xl=Ul,{defaultConfig:ql,shadowOptions:Jl,styles:Kl,template:Ql}=Re(i.foundationDisclosure),Zl=()=>(0,i.foundationDisclosure)(),eo=ql,ao=Ql,to=Kl,lo=Jl,{defaultConfig:oo,shadowOptions:no,styles:io,template:ro}=Re(i.foundationDivider),uo=()=>(0,i.foundationDivider)(),po=oo,so=ro,co=io,ho=no,{defaultConfig:Fo,shadowOptions:fo,styles:go,template:So}=Re(i.foundationDropdownMenu),mo=()=>(0,i.foundationDropdownMenu)(),yo=Fo,Do=So,Ro=go,Co=fo,{defaultConfig:vo,shadowOptions:Oo,styles:wo,template:Ao}=Re(i.foundationErrorBanner),bo=()=>(0,i.foundationErrorBanner)(),Lo=vo,To=Ao,Ho=wo,Po=Oo,{defaultConfig:Io,shadowOptions:ko,styles:Vo,template:xo}=Re(i.foundationErrorBoundary),Bo=()=>(0,i.foundationErrorBoundary)(),Mo=Io,zo=xo,Go=Vo,Eo=ko,{defaultConfig:Uo,shadowOptions:$o,styles:No,template:Wo}=Re(i.foundationErrorDialog),_o=()=>(0,i.foundationErrorDialog)(),Yo=Uo,jo=Wo,Xo=No,qo=$o,{defaultConfig:Jo,shadowOptions:Ko,styles:Qo,template:Zo}=Re(i.foundationFileUpload),en=()=>(0,i.foundationFileUpload)(),an=Jo,tn=Zo,ln=Qo,on=Ko,{defaultConfig:nn,shadowOptions:rn,styles:un,template:pn}=Re(i.foundationFilter),sn=()=>(0,i.foundationFilter)(),dn=nn,cn=pn,hn=un,Fn=rn,{defaultConfig:fn,shadowOptions:gn,styles:Sn,template:mn}=Re(i.foundationFilterBar),yn=()=>(0,i.foundationFilterBar)(),Dn=fn,Rn=mn,Cn=Sn,vn=gn,{defaultConfig:On,shadowOptions:wn,styles:An,template:bn}=Re(i.foundationFlexLayout),Ln=()=>(0,i.foundationFlexLayout)(),Tn=On,Hn=bn,Pn=An,In=wn,{defaultConfig:kn,shadowOptions:Vn,styles:xn,template:Bn}=Re(i.foundationFlipper),Mn=()=>(0,i.foundationFlipper)(),zn=kn,Gn=Bn,En=xn,Un=Vn,{defaultConfig:$n,shadowOptions:Nn,styles:Wn,template:_n}=Re(i.foundationFlyout),Yn=()=>(0,i.foundationFlyout)(),jn=$n,Xn=_n,qn=Wn,Jn=Nn,{defaultConfig:Kn,shadowOptions:Qn,styles:Zn,template:ei}=Re(i.foundationGridLayout),ai=()=>(0,i.foundationGridLayout)(),ti=Kn,li=ei,oi=Zn,ni=Qn,{defaultConfig:ii,shadowOptions:ri,styles:ui,template:pi}=Re(i.foundationGridLayoutItem),si=()=>(0,i.foundationGridLayoutItem)(),di=ii,ci=pi,hi=ui,Fi=ri,{defaultConfig:fi,shadowOptions:gi,styles:Si,template:mi}=Re(r.fastHorizontalScroll),yi=()=>(0,r.fastHorizontalScroll)(),Di=fi,Ri=mi,Ci=Si,vi=gi,{defaultConfig:Oi,shadowOptions:wi,styles:Ai,template:bi}=Re(i.foundationIcon),Li=()=>(0,i.foundationIcon)(),Ti=Oi,Hi=bi,Pi=Ai,Ii=wi,{defaultConfig:ki,shadowOptions:Vi,styles:xi,template:Bi}=Re(r.fastListbox),Mi=()=>(0,r.fastListbox)(),zi=ki,Gi=Bi,Ei=xi,Ui=Vi,{defaultConfig:$i,shadowOptions:Ni,styles:Wi,template:_i}=Re(i.foundationListboxOption),Yi=()=>(0,i.foundationListboxOption)(),ji=$i,Xi=_i,qi=Wi,Ji=Ni,{defaultConfig:Ki,shadowOptions:Qi,styles:Zi,template:er}=Re(i.foundationMenu),ar=()=>(0,i.foundationMenu)(),tr=Ki,lr=er,or=Zi,nr=Qi,{defaultConfig:ir,shadowOptions:rr,styles:ur,template:pr}=Re(i.foundationMenuItem),sr=()=>(0,i.foundationMenuItem)(),dr=ir,cr=pr,hr=ur,Fr=rr,{defaultConfig:fr,shadowOptions:gr,styles:Sr,template:mr}=Re(i.foundationModal),yr=()=>(0,i.foundationModal)(),Dr=fr,Rr=mr,Cr=Sr,vr=gr,{defaultConfig:Or,shadowOptions:wr,styles:Ar,template:br}=Re(i.foundationMultiselect),Lr=()=>(0,i.foundationMultiselect)(),Tr=Or,Hr=br,Pr=Ar,Ir=wr,{defaultConfig:kr,shadowOptions:Vr,styles:xr,template:Br}=Re(i.foundationNumberField),Mr=()=>(0,i.foundationNumberField)(),zr=kr,Gr=Br,Er=xr,Ur=Vr,{defaultConfig:$r,shadowOptions:Nr,styles:Wr,template:_r}=Re(r.fastPicker),Yr=()=>(0,r.fastPicker)(),jr=$r,Xr=_r,qr=Wr,Jr=Nr,{defaultConfig:Kr,shadowOptions:Qr,styles:Zr,template:eu}=Re(i.foundationProgress),au=()=>(0,i.foundationProgress)(),tu=Kr,lu=eu,ou=Zr,nu=Qr,{defaultConfig:iu,shadowOptions:ru,styles:uu,template:pu}=Re(i.foundationProgressRing),su=()=>(0,i.foundationProgressRing)(),du=iu,cu=pu,hu=uu,Fu=ru,{defaultConfig:fu,shadowOptions:gu,styles:Su,template:mu}=Re(i.foundationRadio),yu=()=>(0,i.foundationRadio)(),Du=fu,Ru=mu,Cu=Su,vu=gu,{defaultConfig:Ou,shadowOptions:wu,styles:Au,template:bu}=Re(i.foundationRadioGroup),Lu=()=>(0,i.foundationRadioGroup)(),Tu=Ou,Hu=bu,Pu=Au,Iu=wu,{defaultConfig:ku,shadowOptions:Vu,styles:xu,template:Bu}=Re(r.fastSearch),Mu=()=>(0,r.fastSearch)(),zu=ku,Gu=Bu,Eu=xu,Uu=Vu,{defaultConfig:$u,shadowOptions:Nu,styles:Wu,template:_u}=Re(i.foundationSegmentedControl),Yu=()=>(0,i.foundationSegmentedControl)(),ju=$u,Xu=_u,qu=Wu,Ju=Nu,{defaultConfig:Ku,shadowOptions:Qu,styles:Zu,template:ep}=Re(i.foundationSegmentedItem),ap=()=>(0,i.foundationSegmentedItem)(),tp=Ku,lp=ep,op=Zu,np=Qu,{defaultConfig:ip,shadowOptions:rp,styles:up,template:pp}=Re(i.foundationSelect),sp=()=>(0,i.foundationSelect)(),dp=ip,cp=pp,hp=up,Fp=rp,{defaultConfig:fp,shadowOptions:gp,styles:Sp,template:mp}=Re(i.foundationSkeleton),yp=()=>(0,i.foundationSkeleton)(),Dp=fp,Rp=mp,Cp=Sp,vp=gp,{defaultConfig:Op,shadowOptions:wp,styles:Ap,template:bp}=Re(i.foundationSlider),Lp=()=>(0,i.foundationSlider)(),Tp=Op,Hp=bp,Pp=Ap,Ip=wp,{defaultConfig:kp,shadowOptions:Vp,styles:xp,template:Bp}=Re(r.fastSliderLabel),Mp=()=>(0,r.fastSliderLabel)(),zp=kp,Gp=Bp,Ep=xp,Up=Vp,{defaultConfig:$p,shadowOptions:Np,styles:Wp,template:_p}=Re(i.foundationSnackbar),Yp=()=>(0,i.foundationSnackbar)(),jp=$p,Xp=_p,qp=Wp,Jp=Np,{defaultConfig:Kp,shadowOptions:Qp,styles:Zp,template:es}=Re(i.foundationSwitch),as=()=>(0,i.foundationSwitch)(),ts=Kp,ls=es,os=Zp,ns=Qp,{defaultConfig:is,shadowOptions:rs,styles:us,template:ps}=Re(i.foundationTab),ss=()=>(0,i.foundationTab)(),ds=is,cs=ps,hs=us,Fs=rs,{defaultConfig:fs,shadowOptions:gs,styles:Ss,template:ms}=Re(i.foundationTabPanel),ys=()=>(0,i.foundationTabPanel)(),Ds=fs,Rs=ms,Cs=Ss,vs=gs,{defaultConfig:Os,shadowOptions:ws,styles:As,template:bs}=Re(i.foundationTabs),Ls=()=>(0,i.foundationTabs)(),Ts=Os,Hs=bs,Ps=As,Is=ws,{defaultConfig:ks,shadowOptions:Vs,styles:xs,template:Bs}=Re(i.foundationTextArea),Ms=()=>(0,i.foundationTextArea)(),zs=ks,Gs=Bs,Es=xs,Us=Vs,{defaultConfig:$s,shadowOptions:Ns,styles:Ws,template:_s}=Re(i.foundationTextField),Ys=()=>(0,i.foundationTextField)(),js=$s,Xs=_s,qs=Ws,Js=Ns,{defaultConfig:Ks,shadowOptions:Qs,styles:Zs,template:ed}=Re(i.foundationToast),ad=()=>(0,i.foundationToast)(),td=Ks,ld=ed,od=Zs,nd=Qs,{defaultConfig:id,shadowOptions:rd,styles:ud,template:pd}=Re(i.foundationToolbar),sd=()=>(0,i.foundationToolbar)(),dd=id,cd=pd,hd=ud,Fd=rd,{defaultConfig:fd,shadowOptions:gd,styles:Sd,template:md}=Re(i.foundationTooltip),yd=()=>(0,i.foundationTooltip)(),Dd=fd,Rd=md,Cd=Sd,vd=gd,{defaultConfig:Od,shadowOptions:wd,styles:Ad,template:bd}=Re(i.foundationTreeItem),Ld=()=>(0,i.foundationTreeItem)(),Td=Od,Hd=bd,Pd=Ad,Id=wd,{defaultConfig:kd,shadowOptions:Vd,styles:xd,template:Bd}=Re(i.foundationTreeView),Md=()=>(0,i.foundationTreeView)(),zd=kd,Gd=Bd,Ed=xd,Ud=Vd,{defaultConfig:$d,shadowOptions:Nd,styles:Wd,template:_d}=Re(i.foundationUrlInput),Yd=()=>(0,i.foundationUrlInput)(),jd=$d,Xd=_d,qd=Wd,Jd=Nd,Kd={designSystemProvider:ye,alphaAccordion:Ae,alphaAccordionItem:xe,alphaActionsMenu:We,alphaAnchor:Ze,alphaAnchoredRegion:ua,alphaAvatar:Sa,alphaBadge:Aa,alphaBanner:xa,alphaBreadcrumb:Wa,alphaBreadcrumbItem:Za,alphaButton:ut,alphaCalendar:St,alphaCard:At,alphaCheckbox:xt,alphaCombobox:Wt,alphaConnectionIndicator:Zt,alphaDataGrid:ul,alphaDataGridCell:Sl,alphaDataGridRow:Al,alphaDatePicker:xl,alphaDialog:Wl,alphaDisclosure:Zl,alphaDivider:uo,alphaDropdownMenu:mo,alphaErrorBanner:bo,alphaErrorBoundary:Bo,alphaErrorDialog:_o,alphaFileUpload:en,alphaFilter:sn,alphaFilterBar:yn,alphaFlexLayout:Ln,alphaFlipper:Mn,alphaFlyout:Yn,alphaGridLayout:ai,alphaGridLayoutItem:si,alphaHorizontalScroll:yi,alphaIcon:Li,alphaListbox:Mi,alphaListboxOption:Yi,alphaMenu:ar,alphaMenuItem:sr,alphaModal:yr,alphaMultiselect:Lr,alphaNumberField:Mr,alphaPicker:Yr,alphaProgress:au,alphaProgressRing:su,alphaRadio:yu,alphaRadioGroup:Lu,alphaSearch:Mu,alphaSegmentedControl:Yu,alphaSegmentedItem:ap,alphaSelect:sp,alphaSkeleton:yp,alphaSlider:Lp,alphaSliderLabel:Mp,alphaSnackbar:Yp,alphaSwitch:as,alphaTab:ss,alphaTabPanel:ys,alphaTabs:Ls,alphaTextArea:Ms,alphaTextField:Ys,alphaToast:ad,alphaToolbar:sd,alphaTooltip:yd,alphaTreeItem:Ld,alphaTreeView:Md,alphaUrlInput:Yd,register(e,...a){if(e)for(const t in this)"register"!==t&&this[t]().register(e,...a)}};var Qd=t(75951);const Zd=(e,a="alpha")=>{e&&(0,i.provideTokens)(l,o,e);const t=Qd.DesignSystem.getOrCreate(e).withPrefix(a);return(0,i.createDesignSystemProxy)(t)}}}]);
4
4
  //# sourceMappingURL=842.6777d7da58f8f001ff9c266da92409a5119577338bfa5a42bc442cccb669fe1d.js.map
@@ -1,13 +1,13 @@
1
- (self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[93],{15210:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(51604),o=n.n(r),s=n(10361),a=n.n(s)()(o());a.push([e.id,"html,\nbody {\n width: 100%;\n height: 100%;\n padding: 0;\n margin: 0;\n}\n","",{version:3,sources:["webpack://./src/main/main.css"],names:[],mappings:"AAAA;;EAEE,WAAW;EACX,YAAY;EACZ,UAAU;EACV,SAAS;AACX",sourcesContent:["html,\nbody {\n width: 100%;\n height: 100%;\n padding: 0;\n margin: 0;\n}\n"],sourceRoot:""}]);const i=a},10361:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,s){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var i=0;i<this.length;i++){var c=this[i][0];null!=c&&(a[c]=!0)}for(var u=0;u<e.length;u++){var d=[].concat(e[u]);r&&a[d[0]]||(void 0!==s&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=s),n&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=n):d[2]=n),o&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=o):d[4]="".concat(o)),t.push(d))}},t}},51604:e=>{"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),s="/*# ".concat(o," */");return[t].concat([s]).join("\n")}return[t].join("\n")}},90487:e=>{"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var s={},a=[],i=0;i<e.length;i++){var c=e[i],u=r.base?c[0]+r.base:c[0],d=s[u]||0,p="".concat(u," ").concat(d);s[u]=d+1;var l=n(p),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==l)t[l].references++,t[l].updater(f);else{var m=o(f,r);r.byIndex=i,t.splice(i,0,{identifier:p,updater:m,references:1})}a.push(p)}return a}function o(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,o){var s=r(e=e||[],o=o||{});return function(e){e=e||[];for(var a=0;a<s.length;a++){var i=n(s[a]);t[i].references--}for(var c=r(e,o),u=0;u<s.length;u++){var d=n(s[u]);0===t[d].references&&(t[d].updater(),t.splice(d,1))}s=c}}},52052:e=>{"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},11469:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},64010:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},80631:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var s=n.sourceMap;s&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(s))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},9329:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},91093:(e,t,n)=>{"use strict";n.r(t),n.d(t,{MainApplication:()=>x,MainTemplate:()=>o});var r=n(83147);const o=r.html`
1
+ (self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[93],{15210:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(51604),o=n.n(r),s=n(10361),i=n.n(s)()(o());i.push([e.id,"html,\nbody {\n width: 100%;\n height: 100%;\n padding: 0;\n margin: 0;\n}\n","",{version:3,sources:["webpack://./src/main/main.css"],names:[],mappings:"AAAA;;EAEE,WAAW;EACX,YAAY;EACZ,UAAU;EACV,SAAS;AACX",sourcesContent:["html,\nbody {\n width: 100%;\n height: 100%;\n padding: 0;\n margin: 0;\n}\n"],sourceRoot:""}]);const a=i},10361:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,s){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(r)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(i[c]=!0)}for(var u=0;u<e.length;u++){var d=[].concat(e[u]);r&&i[d[0]]||(void 0!==s&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=s),n&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=n):d[2]=n),o&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=o):d[4]="".concat(o)),t.push(d))}},t}},51604:e=>{"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),s="/*# ".concat(o," */");return[t].concat([s]).join("\n")}return[t].join("\n")}},90487:e=>{"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var s={},i=[],a=0;a<e.length;a++){var c=e[a],u=r.base?c[0]+r.base:c[0],d=s[u]||0,p="".concat(u," ").concat(d);s[u]=d+1;var l=n(p),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==l)t[l].references++,t[l].updater(f);else{var m=o(f,r);r.byIndex=a,t.splice(a,0,{identifier:p,updater:m,references:1})}i.push(p)}return i}function o(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,o){var s=r(e=e||[],o=o||{});return function(e){e=e||[];for(var i=0;i<s.length;i++){var a=n(s[i]);t[a].references--}for(var c=r(e,o),u=0;u<s.length;u++){var d=n(s[u]);0===t[d].references&&(t[d].updater(),t.splice(d,1))}s=c}}},52052:e=>{"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},11469:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},64010:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},80631:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var s=n.sourceMap;s&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(s))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},9329:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},91093:(e,t,n)=>{"use strict";n.r(t),n.d(t,{MainApplication:()=>x,MainTemplate:()=>o});var r=n(83147);const o=r.html`
2
2
  <design-system-editor custom-design-mode="${e=>e.tokensPath}">
3
3
  <design-system-preview></design-system-preview>
4
4
  <design-system-export slot="export" tokensPath="${e=>e.tokensPath}"></design-system-export>
5
5
  </design-system-editor>
6
- `;var s=n(95286),a=n(65361),i=n(52177),c=n(13896);a.DesignSystemPreview,a.DesignSystemEditor,a.DesignSystemExport;const u=(0,n(76214).createLogger)("desgn-system-configurator");var d=n(90487),p=n.n(d),l=n(80631),f=n.n(l),m=n(52052),h=n.n(m),v=n(64010),g=n.n(v),y=n(11469),b=n.n(y),A=n(9329),C=n.n(A),_=n(15210),E={};E.styleTagTransform=C(),E.setAttributes=g(),E.insert=h().bind(null,"head"),E.domAPI=f(),E.insertStyleElement=b();p()(_.Z,E);_.Z&&_.Z.locals&&_.Z.locals;const S=r.css`
6
+ `;var s=n(95286),i=n(46594),a=n(64611),c=n(13896);i.DesignSystemPreview,i.DesignSystemEditor,i.DesignSystemExport;const u=(0,n(93688).createLogger)("desgn-system-configurator");var d=n(90487),p=n.n(d),l=n(80631),f=n.n(l),m=n(52052),h=n.n(m),v=n(64010),g=n.n(v),y=n(11469),b=n.n(y),A=n(9329),C=n.n(A),_=n(15210),E={};E.styleTagTransform=C(),E.setAttributes=g(),E.insert=h().bind(null,"head"),E.domAPI=f(),E.insertStyleElement=b();p()(_.Z,E);_.Z&&_.Z.locals&&_.Z.locals;const S=r.css`
7
7
  :host {
8
8
  display: flex;
9
9
  height: 100%;
10
10
  overflow: hidden;
11
11
  }
12
- `,w="design-system-configurator";let x=class extends r.FASTElement{constructor(){super(...arguments),this.ready=!1}connectedCallback(){super.connectedCallback(),fetch(`http://localhost:${location.port}/api/tokens`).then((e=>e.json())).then((e=>{e.design_tokens&&(this.tokensPath=!0),this.$emit(a.EventName.APPLY_CUSTOM_DESIGN,e)})).catch((e=>{console.error("Error fetching path:",e)})),u.debug(`${w} is now connected to the DOM`),this.loadRemotes()}loadRemotes(){return(0,s.__awaiter)(this,void 0,void 0,(function*(){yield(0,s.__awaiter)(void 0,void 0,void 0,(function*(){(0,i.provideDesignSystem)().register(i.baseComponents),(0,c.provideFASTDesignSystem)().register(c.allComponents)}));this.ready=!0}))}};(0,s.__decorate)([r.observable],x.prototype,"ready",void 0),(0,s.__decorate)([r.attr],x.prototype,"tokensPath",void 0),x=(0,s.__decorate)([(0,r.customElement)({name:w,template:o,styles:S})],x)}}]);
13
- //# sourceMappingURL=93.a5df9c5f27461bc9b5b4e158c66ea51c9747ad3f281489b5d42ff2077daa01ec.js.map
12
+ `,w="design-system-configurator";let x=class extends r.FASTElement{constructor(){super(...arguments),this.ready=!1}connectedCallback(){super.connectedCallback(),fetch("/api/tokens").then((e=>e.ok&&e.json())).then((e=>{e.design_tokens&&(this.tokensPath=!0,this.$emit(i.EventName.APPLY_CUSTOM_DESIGN,e))})).catch((e=>{console.error("Error fetching path:",e)})),u.debug(`${w} is now connected to the DOM`),this.loadRemotes()}loadRemotes(){return(0,s.__awaiter)(this,void 0,void 0,(function*(){yield(0,s.__awaiter)(void 0,void 0,void 0,(function*(){(0,a.provideDesignSystem)().register(a.baseComponents),(0,c.provideFASTDesignSystem)().register(c.allComponents)}));this.ready=!0}))}};(0,s.__decorate)([r.observable],x.prototype,"ready",void 0),(0,s.__decorate)([r.attr],x.prototype,"tokensPath",void 0),x=(0,s.__decorate)([(0,r.customElement)({name:w,template:o,styles:S})],x)}}]);
13
+ //# sourceMappingURL=93.e90b4f2f3a19855b72da023e206603e499fc6e2cf9c4bf8f614af120d268b84e.js.map