@genesislcap/design-system-configurator 14.44.0 → 14.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- "use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[361],{72361:(e,a,t)=>{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(48287),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(5598);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
+ "use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[361],{72361:(e,a,t)=>{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(48475),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(5598);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=361.a1b4dda436f688032dca2de3232d9ab4.js.map
@@ -1,4 +1,4 @@
1
- /*! For license information please see 420.420.c33d309eb97f332a2381.js.LICENSE.txt */
1
+ /*! For license information please see 420.420.d8fedd20b5cbef8b8f6b.js.LICENSE.txt */
2
2
  (self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[420],{87530:function(e){e.exports=function(){"use strict";var e=1e3,t=6e4,o=36e5,i="millisecond",a="second",n="minute",s="hour",r="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,s=t.clone().add(i+(n?-1:1),d);return+(-(i+(o-a)/(n?a-s:s-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:r,D:p,h:s,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 s=t.split("-");if(!a&&s.length>1)return e(s[0])}else{var r=t.name;w[r]=t,a=r}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(r)},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 r:case p:return m(b+"Hours",0);case s: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[r]=c+"Date",o[p]=c+"Date",o[d]=c+"Month",o[u]=c+"FullYear",o[s]=c+"Hours",o[n]=c+"Minutes",o[a]=c+"Seconds",o[i]=c+"Milliseconds",o)[l],m=l===r?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===r)return f(1);if(m===l)return f(7);var v=(p={},p[n]=t,p[s]=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,s=this.$m,r=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:r+1,MM:S.s(r+1,2,"0"),MMM:c(o.monthsShort,r,d,3),MMMM:c(d,r),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,s,!0),A:p(n,s,!1),m:String(s),mm:S.s(s,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[r]=(b-g)/864e5,m[s]=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",s],["$W",r],["$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}}}()},81708:(e,t,o)=>{"use strict";o.r(t),o.d(t,{ActionsMenu:()=>p,Anchor:()=>g,Badge:()=>$,Banner:()=>T,BaseDatasource:()=>Zr,Breadcrumb:()=>M,BreadcrumbItem:()=>B,Button:()=>Y,CSSVarsTokenMapper:()=>Ur,Card:()=>J,Checkbox:()=>ae,Combobox:()=>ce,ConnectionIndicator:()=>be,DEFUALT_FILTER_BAR_COLUMNS:()=>ki,DataGrid:()=>Fe,DataGridCell:()=>_e,DataGridDatasource:()=>Jr,DataGridRow:()=>Le,DatePicker:()=>We,Dialog:()=>Ut,DialogElement:()=>Vt,Disclosure:()=>Xt,Divider:()=>to,DropdownMenu:()=>po,ErrorBanner:()=>go,ErrorBoundary:()=>Ro,ErrorBoundaryEvent:()=>yo,ErrorDialog:()=>Io,FaPrefixFromStyle:()=>Fa,FileUpload:()=>ni,Filter:()=>wi,FilterBar:()=>Ti,FilterEvents:()=>yi,FlexLayout:()=>Pi,FlexMediaQueriesEnum:()=>Li,Flipper:()=>Gi,Flyout:()=>Xi,FoundationDesignSystemProvider:()=>Et,FoundationRouter:()=>nl,GridLayout:()=>sa,GridLayoutItem:()=>ua,GridMediaQueriesEnum:()=>Qi,Icon:()=>$a,ListboxOption:()=>_a,Menu:()=>Na,MenuItem:()=>Ha,Modal:()=>Wa,Multiselect:()=>on,MultiselectDatasource:()=>tl,NumberField:()=>rn,OptionsDatasource:()=>el,Popper:()=>hn,Progress:()=>yn,ProgressRing:()=>Dn,Radio:()=>Rn,RadioGroup:()=>In,SegmentedControl:()=>zn,SegmentedItem:()=>Xn,Select:()=>ts,Skeleton:()=>rs,Slider:()=>fs,Snackbar:()=>Fs,Switch:()=>Cs,Tab:()=>Ls,TabPanel:()=>Ps,Tabs:()=>Vs,TextArea:()=>Ks,TextField:()=>or,Toast:()=>cr,Toolbar:()=>mr,Tooltip:()=>wr,TreeItem:()=>Cr,TreeView:()=>Lr,UrlInput:()=>Br,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:()=>Gr,baseHeightMultiplier:()=>m.baseHeightMultiplier,baseLayerLuminance:()=>m.baseLayerLuminance,baseLayerLuminanceValue:()=>_t,black:()=>Ze,bodyFont:()=>m.bodyFont,closeIcon:()=>Bt,configureDesignSystem:()=>St,controlCornerRadius:()=>m.controlCornerRadius,controlCornerRadiusValue:()=>kt,createDesignSystemProxy:()=>zr,createFormData:()=>Jo,defaultAnchorConfig:()=>y,defaultBadgeConfig:()=>D,defaultBreadcrumbConfig:()=>E,defaultBreadcrumbItemConfig:()=>G,defaultButtonConfig:()=>q,defaultCardConfig:()=>ee,defaultCheckboxConfig:()=>se,defaultComboboxConfig:()=>pe,defaultDataGridCellConfig:()=>ke,defaultDataGridConfig:()=>Se,defaultDataGridRowConfig:()=>Me,defaultDatePickerConfig:()=>Ye,defaultDialogConfig:()=>zt,defaultDisclosureConfig:()=>Zt,defaultDividerConfig:()=>io,defaultFileUploadConfig:()=>ri,defaultFillColor:()=>Qe,defaultFlexLayoutConfig:()=>Ii,defaultFlipperConfig:()=>Vi,defaultFlyoutConfig:()=>Zi,defaultGridLayoutConfig:()=>aa,defaultGridLayoutItemConfig:()=>ca,defaultIconConfig:()=>xa,defaultListboxOptionConfig:()=>ka,defaultMenuConfig:()=>Aa,defaultMenuItemConfig:()=>ja,defaultModalConfig:()=>Ya,defaultMultiselectConfig:()=>tn,defaultNeutralForegroundContrast:()=>pt,defaultNumberFieldConfig:()=>dn,defaultProgressConfig:()=>xn,defaultProgressRingConfig:()=>_n,defaultRadioConfig:()=>Nn,defaultRadioGroupConfig:()=>Hn,defaultSegmentedControlConfig:()=>Un,defaultSegmentedItemConfig:()=>Zn,defaultSelectConfig:()=>is,defaultSkeletonConfig:()=>ds,defaultSliderConfig:()=>gs,defaultSwitchConfig:()=>Os,defaultTabConfig:()=>Ms,defaultTabPanelConfig:()=>Bs,defaultTabsConfig:()=>Ys,defaultTextAreaConfig:()=>Js,defaultTextFieldConfig:()=>ar,defaultToastConfig:()=>dr,defaultToolbarConfig:()=>vr,defaultTooltipConfig:()=>Fr,defaultTreeItemConfig:()=>Or,defaultTreeViewConfig:()=>Mr,defaultUrlInputConfig:()=>Hr,defineFactory:()=>ol,density:()=>m.density,designToken:()=>gt,designUnit:()=>m.designUnit,designUnitValue:()=>Tt,direction:()=>m.direction,directionValue:()=>Ot,disabledOpacity:()=>m.disabledOpacity,downloadFile:()=>ei,dropdownMenuBaseStyles:()=>so,errorDialogTemplate:()=>Ao,extractMenuItems:()=>lo,fillColor:()=>m.fillColor,flyoutAnimationTime:()=>Yi,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:()=>R,foundationBannerShadowOptions:()=>k,foundationBannerStyles:()=>_,foundationBannerTemplate:()=>O,foundationBreadcrumb:()=>I,foundationBreadcrumbItem:()=>z,foundationBreadcrumbItemShadowOptions:()=>j,foundationBreadcrumbItemStyles:()=>P,foundationBreadcrumbItemTemplate:()=>H,foundationBreadcrumbShadowOptions:()=>A,foundationBreadcrumbStyles:()=>L,foundationBreadcrumbTemplate:()=>N,foundationButton:()=>X,foundationButtonShadowOptions:()=>W,foundationButtonStyles:()=>V,foundationButtonTemplate:()=>U,foundationCard:()=>te,foundationCardShadowOptions:()=>Q,foundationCardStyles:()=>K,foundationCardTemplate:()=>Z,foundationCheckbox:()=>re,foundationCheckboxShadowOptions:()=>ne,foundationCheckboxStyles:()=>oe,foundationCheckboxTemplate:()=>ie,foundationCombobox:()=>he,foundationComboboxShadowOptions:()=>ue,foundationComboboxStyles:()=>le,foundationComboboxTemplate:()=>de,foundationConnectionIndicator:()=>ye,foundationConnectionIndicatorStyles:()=>ve,foundationConnectionIndicatorTemplate:()=>ge,foundationDataGrid:()=>De,foundationDataGridCell:()=>Te,foundationDataGridCellShadowOptions:()=>Oe,foundationDataGridCellStyles:()=>Ce,foundationDataGridCellTemplate:()=>r.dataGridCellTemplate,foundationDataGridRow:()=>Ae,foundationDataGridRowShadowOptions:()=>Ne,foundationDataGridRowStyles:()=>Re,foundationDataGridRowTemplate:()=>r.dataGridRowTemplate,foundationDataGridShadowOptions:()=>$e,foundationDataGridStyles:()=>we,foundationDataGridTemplate:()=>xe,foundationDatePicker:()=>qe,foundationDatePickerShadowOptions:()=>Ue,foundationDatePickerStyles:()=>ze,foundationDatePickerTemplate:()=>Ve,foundationDesignSystemProvider:()=>It,foundationDialog:()=>Yt,foundationDialogShadowOptions:()=>Gt,foundationDialogStyles:()=>Ht,foundationDialogTemplate:()=>jt,foundationDisclosure:()=>Jt,foundationDisclosureShadowOptions:()=>Kt,foundationDisclosureStyles:()=>Wt,foundationDisclosureTemplate:()=>qt,foundationDivider:()=>ao,foundationDividerShadowOptions:()=>oo,foundationDividerStyles:()=>Qt,foundationDividerTemplate:()=>eo,foundationDropdownMenu:()=>ho,foundationDropdownMenuStyles:()=>ro,foundationDropdownMenuTemplate:()=>uo,foundationErrorBanner:()=>bo,foundationErrorBannerShadowOptions:()=>vo,foundationErrorBannerTemplate:()=>fo,foundationErrorBoundary:()=>Lo,foundationErrorBoundaryShadowOptions:()=>To,foundationErrorBoundaryTemplate:()=>ko,foundationErrorDialog:()=>Po,foundationErrorDialogShadowOptions:()=>Eo,foundationErrorDialogStyles:()=>No,foundationFileUpload:()=>li,foundationFileUploadShadowOptions:()=>si,foundationFileUploadStyles:()=>Xo,foundationFileUploadTemplate:()=>Zo,foundationFilter:()=>xi,foundationFilterBar:()=>Ri,foundationFilterBarStyles:()=>$i,foundationFilterBarTemplate:()=>Oi,foundationFilterStyles:()=>di,foundationFilterTemplate:()=>bi,foundationFlexLayout:()=>Hi,foundationFlexLayoutShadowOptions:()=>Ei,foundationFlexLayoutStyles:()=>Mi,foundationFlexLayoutTemplate:()=>Ai,foundationFlipper:()=>Ui,foundationFlipperShadowOptions:()=>zi,foundationFlipperStyles:()=>Bi,foundationFlipperTemplate:()=>ji,foundationFlyout:()=>Ji,foundationFlyoutShadowOptions:()=>Ki,foundationFlyoutStyles:()=>Wi,foundationFlyoutTemplate:()=>qi,foundationGridLayout:()=>ra,foundationGridLayoutItem:()=>pa,foundationGridLayoutItemShadowOptions:()=>da,foundationGridLayoutItemTemplate:()=>la,foundationGridLayoutShadowOptions:()=>ia,foundationGridLayoutStyles:()=>ta,foundationGridLayoutTemplate:()=>oa,foundationIcon:()=>Sa,foundationIconShadowOptions:()=>wa,foundationIconStyles:()=>ba,foundationIconTemplate:()=>ya,foundationListboxOption:()=>Ta,foundationListboxOptionShadowOptions:()=>Oa,foundationListboxOptionStyles:()=>Da,foundationListboxOptionTemplate:()=>Ca,foundationMenu:()=>Ea,foundationMenuItem:()=>Ga,foundationMenuItemShadowOptions:()=>Ba,foundationMenuItemStyles:()=>Ia,foundationMenuItemTemplate:()=>Pa,foundationMenuShadowOptions:()=>Ma,foundationMenuStyles:()=>Ra,foundationMenuTemplate:()=>La,foundationModal:()=>qa,foundationModalShadowOptions:()=>Ua,foundationModalStyles:()=>za,foundationModalTemplate:()=>Va,foundationMultiselect:()=>an,foundationMultiselectShadowOptions:()=>en,foundationNumberField:()=>cn,foundationNumberFieldShadowOptions:()=>ln,foundationNumberFieldStyles:()=>nn,foundationNumberFieldTemplate:()=>sn,foundationPopper:()=>vn,foundationProgress:()=>Fn,foundationProgressRing:()=>On,foundationProgressRingShadowOptions:()=>Cn,foundationProgressRingStyles:()=>$n,foundationProgressRingTemplate:()=>Sn,foundationProgressShadowOptions:()=>wn,foundationProgressStyles:()=>gn,foundationProgressTemplate:()=>bn,foundationRadio:()=>Mn,foundationRadioGroup:()=>Bn,foundationRadioGroupShadowOptions:()=>Pn,foundationRadioGroupStyles:()=>An,foundationRadioGroupTemplate:()=>En,foundationRadioShadowOptions:()=>Ln,foundationRadioStyles:()=>kn,foundationRadioTemplate:()=>Tn,foundationSegmentedControl:()=>Yn,foundationSegmentedControlShadowOptions:()=>Vn,foundationSegmentedControlStyles:()=>jn,foundationSegmentedControlTemplate:()=>Gn,foundationSegmentedItem:()=>Jn,foundationSegmentedItemShadowOptions:()=>Kn,foundationSegmentedItemStyles:()=>Wn,foundationSegmentedItemTemplate:()=>qn,foundationSelect:()=>as,foundationSelectShadowOptions:()=>os,foundationSelectStyles:()=>Qn,foundationSelectTemplate:()=>es,foundationSkeleton:()=>cs,foundationSkeletonShadowOptions:()=>ls,foundationSkeletonStyles:()=>ns,foundationSkeletonTemplate:()=>ss,foundationSlider:()=>bs,foundationSliderShadowOptions:()=>vs,foundationSliderStyles:()=>us,foundationSliderTemplate:()=>ms,foundationSnackbar:()=>$s,foundationSnackbarShadowOptions:()=>xs,foundationSnackbarStyles:()=>ys,foundationSnackbarTemplate:()=>ws,foundationSwitch:()=>ks,foundationSwitchShadowOptions:()=>_s,foundationSwitchStyles:()=>Ss,foundationSwitchTemplate:()=>Ds,foundationTab:()=>As,foundationTabPanel:()=>js,foundationTabPanelShadowOptions:()=>Hs,foundationTabPanelStyles:()=>Es,foundationTabPanelTemplate:()=>Is,foundationTabShadowOptions:()=>Ns,foundationTabStyles:()=>Ts,foundationTabTemplate:()=>Rs,foundationTabs:()=>Ws,foundationTabsShadowOptions:()=>Us,foundationTabsStyles:()=>Gs,foundationTabsTemplate:()=>zs,foundationTextArea:()=>Qs,foundationTextAreaShadowOptions:()=>Zs,foundationTextAreaStyles:()=>qs,foundationTextAreaTemplate:()=>Xs,foundationTextField:()=>nr,foundationTextFieldShadowOptions:()=>ir,foundationTextFieldStyles:()=>er,foundationTextFieldTemplate:()=>tr,foundationToast:()=>ur,foundationToastShadowOptions:()=>lr,foundationToastStyles:()=>sr,foundationToastTemplate:()=>rr,foundationToolbar:()=>gr,foundationToolbarShadowOptions:()=>fr,foundationToolbarStyles:()=>pr,foundationToolbarTemplate:()=>hr,foundationTooltip:()=>$r,foundationTooltipShadowOptions:()=>xr,foundationTooltipStyles:()=>br,foundationTooltipTemplate:()=>yr,foundationTreeItem:()=>kr,foundationTreeItemShadowOptions:()=>_r,foundationTreeItemStyles:()=>Sr,foundationTreeItemTemplate:()=>Dr,foundationTreeView:()=>Ar,foundationTreeViewShadowOptions:()=>Nr,foundationTreeViewStyles:()=>Tr,foundationTreeViewTemplate:()=>Rr,foundationUrlInput:()=>jr,foundationUrlInputShadowOptions:()=>Pr,foundationUrlInputStyles:()=>Er,fuiAccentPalette:()=>lt,fuiAccentSwatch:()=>rt,fuiCardFillColor:()=>ut,fuiCardForegroundColor:()=>mt,fuiDefaultCardFillColor:()=>tt,fuiDefaultCardPalette:()=>ot,fuiFillColor:()=>ct,fuiNeutralPalette:()=>nt,fuiNeutralSwatch:()=>at,getDefaultConfig:()=>xt,getDropdownMenuTemplate:()=>co,getErrorDialogTemplate:()=>Mo,getExports:()=>Ft,getFontawesomeIconsCss:()=>ga,getPrefixedFileUpload:()=>Ko,getPrefixedMultiselect:()=>Ja,getTypeRampValue:()=>$t,jsonConverter:()=>pn,mapType:()=>Si,maxheight:()=>Ka,mixinFoundationFontFamily:()=>Lt,multiselectStyles:()=>Za,multiselectTemplate:()=>Qa,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:()=>Vr,provideTokens:()=>vt,registerFoundationDesignSystem:()=>sl,strokeWidth:()=>m.strokeWidth,swatchConverter:()=>bt,tagFor:()=>il,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,uploadFiles:()=>Qo,urlinputTemplate:()=>Ir,white:()=>Ke});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:()=>kt,designUnitValue:()=>Tt,directionValue:()=>Ot,neutralPaletteValue:()=>Ct});var n=o(38092),s=o(83147),r=o(75951),l=o(9770);const d=(e,t)=>s.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 r.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 Ge(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)([s.attr],We.prototype,"format",void 0),(0,n.__decorate)([s.attr],We.prototype,"visible",void 0),(0,n.__decorate)([s.attr],We.prototype,"position",void 0),(0,n.__decorate)([s.attr],We.prototype,"value",void 0),(0,n.__decorate)([s.observable],We.prototype,"currentDate",void 0),(0,n.__decorate)([s.observable],We.prototype,"currentMonth",void 0),(0,n.__decorate)([s.observable],We.prototype,"currentYear",void 0),(0,n.__decorate)([s.observable],We.prototype,"calendarDropdownClasses",void 0),(0,n.__decorate)([s.observable],We.prototype,"formatDate",void 0),(0,n.__decorate)([s.observable],We.prototype,"monthList",void 0);const qe=We.compose(Object.assign({baseName:"date-picker",styles:ze,template:Ve,shadowOptions:Ue},Ye));var Xe=o(82694);const Ke=m.SwatchRGB.create(1,1,1),Ze=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),st=(0,Xe.parseColorHexRGB)("#08c3a5"),rt=m.SwatchRGB.create(st.r,st.g,st.b),lt=m.PaletteRGB.from(rt),{create:dt}=r.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(84476);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 Ot=o(5598).N.ltr,kt=4,Tt=4;var Rt=o(67973);const Lt=(e="normal",t="normal")=>`\n font-family: ${m.bodyFont};\n font-style: ${e};\n font-weight: ${t};\n`,Nt=s.css`
481
+ `,Ue=void 0,Ye={};class We extends r.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 Ge(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)([s.attr],We.prototype,"format",void 0),(0,n.__decorate)([s.attr],We.prototype,"visible",void 0),(0,n.__decorate)([s.attr],We.prototype,"position",void 0),(0,n.__decorate)([s.attr],We.prototype,"value",void 0),(0,n.__decorate)([s.observable],We.prototype,"currentDate",void 0),(0,n.__decorate)([s.observable],We.prototype,"currentMonth",void 0),(0,n.__decorate)([s.observable],We.prototype,"currentYear",void 0),(0,n.__decorate)([s.observable],We.prototype,"calendarDropdownClasses",void 0),(0,n.__decorate)([s.observable],We.prototype,"formatDate",void 0),(0,n.__decorate)([s.observable],We.prototype,"monthList",void 0);const qe=We.compose(Object.assign({baseName:"date-picker",styles:ze,template:Ve,shadowOptions:Ue},Ye));var Xe=o(82694);const Ke=m.SwatchRGB.create(1,1,1),Ze=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),st=(0,Xe.parseColorHexRGB)("#08c3a5"),rt=m.SwatchRGB.create(st.r,st.g,st.b),lt=m.PaletteRGB.from(rt),{create:dt}=r.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(27359);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 Ot=o(5598).N.ltr,kt=4,Tt=4;var Rt=o(67973);const Lt=(e="normal",t="normal")=>`\n font-family: ${m.bodyFont};\n font-style: ${e};\n font-weight: ${t};\n`,Nt=s.css`
482
482
  ${(0,r.display)("flex")}
483
483
  :host {
484
484
  flex: 1;
@@ -1,2 +1,2 @@
1
- "use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[430],{4077:(e,t,s)=>{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}`}}},62646:(e,t,s)=>{s.d(t,{lj:()=>q});var i=s(186),r=s(84476),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))),d=new RegExp(/wss?:\/\/[-a-zA-Z0-9@:%._\+~#=]{1,256}\b([-a-zA-Z0-9()@:%_\+.~#?&\/=]*)\b\/*$/,"i");var h=s(22296);const E=n.DI.createInterface(),l=n.DI.createInterface();var u=s(26714),g=s(16697),S=s(56383),_=s(29866),T=s(40804),R=s(7211),v=s(44866),p=s(75527);class m{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(m)));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){var n;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.isConnected$=null===(n=this.isConnectedSubject)||void 0===n?void 0:n.asObservable(),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 h.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){h.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 h.k.debug(`HTTP MODE - ${s.MESSAGE_TYPE} (snapshot) message created -> `,s),this.send(s).then((e=>(this.dataLogoff(s.SOURCE_REF).catch((e=>h.k.error(e))),e)))}))}stream(e,t,s,i){const r=this.messageBuilder.createDataLogonMessage(e,i);h.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,g.z)((0,S.D)(this.send(r)),n.pipe((0,_.w)((e=>(0,T.F)(e)))).pipe((0,_.w)((()=>(0,S.D)(this.getMessage(r)))))).pipe((0,R.o)((()=>this.streams.has(o))),(0,v.x)((()=>{h.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 h.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)&&(h.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 h.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 h.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 h.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 h.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 h.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);h.k.debug(`${e} TRIGGERED -> ENFORCING TURBO | FREQUENCY=${r}ms DURATION=${o}`),this.ongoingTurbo[e]=!0,this.updateIntervals({polling:{POLLING_INTERVAL_MAP:a}}),setTimeout((()=>{h.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,h.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,p.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(72284),L=s(98239),U=s(37674),k=s(30094),w=s(30526),P=s(52702),y=s(68370),D=s(52354),G=s(2355);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;h.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(),h.k.info("WebSocket connection is now open"),e(this.isConnected)}},closeObserver:{next:t=>{this.disconnectedByServer=!t.wasClean,this.isConnected=!1,this.disconnectedByServer&&h.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,h.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=>{h.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():h.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,L.H)(e,e).pipe((0,R.o)((()=>this.websocket&&this.isConnected)),(0,w.b)((()=>this.heartbeatLoggingIsEnabled&&h.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,U.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,U.of)(e):(0,k._)((()=>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=>{h.k.debug(`Attempt no. ${e+1} to reconnect`),this.websocket.complete(),this.connect(this.url,this.connectOptions,this.reconnectOptions)},error:e=>{var t;h.k.debug(e),null===(t=this.socketSubscription)||void 0===t||t.unsubscribe(),this.isReconnecting=!1},complete:()=>{h.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,h.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,k._)((()=>new Error("WebSocket connection is closed")));if(!this.hasValidSession)return(0,k._)((()=>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,h.k.info,i),this.setMessageHandler(e,t,s,!0),this.websocket.next(e),(0,S.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,h.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,h.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,p.z),(0,i.__param)(2,O),(0,i.__param)(3,r.UUID)],B);const x=n.DI.createInterface((e=>e.singleton(B))),j={connect:{alwaysOn:!1,enableHeartbeat:!0,enableHeartbeatLogging:!1,heartbeatInterval:1e4,enableMessageLogging:!1},reconnect:{reconnectAttempts:10,reconnectInterval:1e4,reconnectStreams:!0}};let Q=class{get isConnected(){return this.socket.isConnected}get isConnectedSubject(){return this.socket.isConnectedSubject}get isConnected$(){var e;return null===(e=this.socket.isConnectedSubject)||void 0===e?void 0:e.asObservable()}constructor(e,t,s,i=j){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(),d.test(e)?this.socket.connect(e,this.config.connect,this.config.reconnect):(h.k.error(`Specified host (${e}) is not valid WebSocket url. Connection will not proceed.`),void h.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 h.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 h.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 h.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 h.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 h.k.debug(`Cached metadata retrieved for ${e}`),this.metaCache.getMetadataFor(e);const i=this.messageBuilder.createMetaRequestMessage(e);let r;h.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){h.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 h.k.debug(`Cached JsonSchema retrieved for ${e}`),this.metaCache.getJsonSchemaFor(e);const i=this.messageBuilder.createMetaRequestMessage(e,f.N$.JSON_SCHEMA_REQUEST);let r;h.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){h.k.error(e)}finally{this.isWorking=!1}return r}))}request(e,t){const s=this.messageBuilder.createRequestMessage(e,t);return h.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 h.k.debug(`${s.MESSAGE_TYPE} (commit) message created -> `,s),this.socket.send(s)}))}};(0,i.__decorate)([o.observable],Q.prototype,"isWorking",void 0),(0,i.__decorate)([o.volatile],Q.prototype,"isConnected",null),Q=(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))],Q);const J="true"===r.FORCE_HTTP||!1,z=n.DI.createInterface((e=>e.singleton(Q))),q=n.DI.createInterface((e=>J?e.aliasTo(b):e.aliasTo(z)))},9162:(e,t,s)=>{s.d(t,{Cs:()=>i,N$:()=>r,QT:()=>o,sW:()=>l});var i,r,o,n=s(186),a=s(84476),c=s(75951),d=s(4077),h=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 d.G.BASIC:t={USER_NAME:e.username,PASSWORD:e.password};break;case d.G.REFRESH:t={USER_NAME:e.username,REFRESH_AUTH_TOKEN:e.refreshToken};break;case d.G.SSO:t={SSO_TOKEN:e.ssoToken};break;case d.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,h.z),(0,n.__param)(1,a.UUID)],E);const l=c.DI.createInterface((e=>e.singleton(E)))},5127:(e,t,s)=>{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}}},43752:(e,t,s)=>{s.d(t,{Yh:()=>H});var i=s(186),r=s(83147),o=s(75951),n=s(98239),a=s(19788),c=s(56383),d=s(29866),h=s(7211),E=s(26714),l=s(62646),u=s(9162),g=s(19082),S=s(4077),_=s(75527),T=s(22296);const R=o.DI.createInterface();function v(){return(null===navigator||void 0===navigator?void 0:navigator.credentials)?"PasswordCredential"in window||(T.k.warn("PasswordCredential not available in this browser."),!1):(T.k.warn("CredentialsContainer not available in this browser."),!1)}const p=":";function m(e="",t=p,s){return e.split(t,s).map((e=>e.trim())).filter((e=>""!==e))}function O(e,t=p){const s="string"==typeof e&&e.trim();return!!s&&s.includes(t)}function A(e,t=p){return"string"==typeof e&&e.trim()?(e.match(new RegExp(t,"g"))||[]).length:0}function I(e,t=p){for(const s of e)if(O(s,t))return s;return e.find((e=>"string"==typeof e&&!!e.trim()))}function f(e,t,s){const i="string"==typeof e&&e.trim();return!i||s&&!i.includes(s)||A(i)>1?s&&t&&s!==t?`${t}:${s}`:t||s:i}function M(e="credential"){T.k.warn(`Unable to migrate legacy ${e} to latest format. Please remove from your browser.`)}const N={password:!0,mediation:"optional"},b={cookie:{path:"/",name:"credentials",expires:7300,storePasswords:!1}};let C=class{constructor(e,t=b){this.session=e,this.config=t}createBasicCredentials(e){return{type:S.G.BASIC,username:e.username,password:e.password}}createRefreshCredentials(e){var t,s;return{type:S.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:S.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(p)&&A(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]=m(t.name||t.id),[i,r]=m(I([t.id,t.name]));return[{id:f(t.id||t.name,s,r),name:s,password:t.password||""},!0]}catch(e){M("PasswordCredential")}if(t)try{const e=t,[s]=m(e.name||e.username||e.organisation),[i,r]=m(I([e.organisation||e.username||e.name]));return[{id:f(e.id||e.username||e.name,s,r),name:s,password:e.password||""},!1]}catch(e){M("cookie")}return[void 0,!1]}storeCredentialsInContainer(e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){if(!v())return;const t=new PasswordCredential(e);return T.k.debug("Storing credentials in CredentialsContainer"),navigator.credentials.store(t)}))}getCredentialsFromContainer(e=N){return(0,i.__awaiter)(this,void 0,void 0,(function*(){if(v())return T.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 T.k.debug("Storing credentials in cookie"),!!g.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(){T.k.debug("Getting credentials from cookie");const e=g.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(v()){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 v()?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(){g.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 v()&&navigator.credentials.preventSilentAccess()}};C=(0,i.__decorate)([(0,i.__param)(0,_.z),(0,i.__param)(1,(0,o.optional)(R))],C);const L=o.DI.createInterface((e=>e.singleton(C)));class U{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],U.prototype,"permissions",void 0),(0,i.__decorate)([r.observable],U.prototype,"profiles",void 0),(0,i.__decorate)([r.observable],U.prototype,"username",void 0);let k=class{loggedUserResultChanged(e,t){var s;null===(s=this.isLoggedInSubject)||void 0===s||s.next(this.isLoggedIn)}get isLoggedIn$(){return this.isLoggedInSubject.asObservable()}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.isLoggedInSubject=new E.X(!1)}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 S.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),T.k.debug("Login Authentication Result:",i)}catch(e){if(T.k.error("Login Authentication Error:",e),!(e instanceof S.l&&e.isIgnorableError()))throw this.removeAuthResults(),e;T.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,d=n===u.Cs.LOGOUT_NACK;d&&T.k.warn("Unexpected Logout NACK received during logout.",c),t={success:n===u.Cs.LOGOUT_ACK||i===u.QT.SESSION_NOT_FOUND||d,error:c},a&&window.open(a,"_self")}catch(e){const s=new S.l(e.sentMessage,e.receivedMessage);if(T.k.error("Logout Authentication Error:",s),!s.isIgnorableError())throw e;T.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)===u.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 U({permissions:e.permissions,profiles:e.profiles,username:e.username})):this.removeAuthResults()}removeAuthResults(){this.loggedUserResult=null,this.currentUser=null}};(0,i.__decorate)([r.observable],k.prototype,"isWorking",void 0),(0,i.__decorate)([r.observable],k.prototype,"currentUser",void 0),(0,i.__decorate)([r.observable],k.prototype,"loggedUserResult",void 0),(0,i.__decorate)([r.volatile],k.prototype,"isLoggedIn",null),k=(0,i.__decorate)([(0,i.__param)(0,_.z),(0,i.__param)(1,l.lj),(0,i.__param)(2,u.sW),(0,i.__param)(3,L)],k);const w=o.DI.createInterface((e=>e.singleton(k)));var P=s(66306);var y=s(5127),D=s(82940);const G={options:{criteria:"",isSnapshot:!1,maxRows:D.WJ.MAX_ROWS_250,maxView:D.WJ.MAX_VIEW_1000,pollingInterval:D.WJ.REQ_REP_POLLING_INTERVAL_MS,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:y.$};let F=class{constructor(e,t,s=G){this.connect=e,this.auth=t,this.config=s,this.initialized=!1,this.readOnly=!0,this.originalFieldDef=[],this.requestFields=[],this.fieldMetadata=[],this.availableIndexes=[]}validResourceName(e){return!!e&&!!e.trim().length}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){T.k.debug(`Initializing ${this.options.resourceName} Datasource`);const t=yield this.connect.getMetadata(this.options.resourceName).catch((t=>T.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,P.C)(t),this.fieldMetadata=(0,P.i)(this.originalFieldDef),this.requestFields=t.REQUEST_FIELD||[],T.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,POLLING_INTERVAL:this.options.pollingInterval,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));T.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 T.k.debug("Getting configured params:",e),e}snapshot(){var e;return(0,i.__awaiter)(this,void 0,void 0,(function*(){switch(T.k.debug(`Requesting snapshot for ${this.options.resourceName} (${this.resourceType}).`),this.resourceType){case D._g.DATASERVER:return this.connect.snapshot(this.options.resourceName,this.params);case D._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(![D._g.DATASERVER,D._g.REQUEST_SERVER].includes(this.resourceType))throw new Error(`Streaming not supported for selected resource type: ${this.resourceType}`);return this.resourceType===D._g.DATASERVER?this.createDataserverStream():(T.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=>T.k.error(e)),this.params)}))}createReqRepStream(){return(0,n.H)(0,this.params.POLLING_INTERVAL).pipe((0,d.w)((()=>(0,a.a)([this.connect.isConnected$,this.auth.isLoggedIn$]).pipe((0,h.o)((()=>this.connect.isConnected&&this.auth.isLoggedIn)),(0,d.w)((()=>(0,c.D)(this.snapshot())))))))}};(0,i.__decorate)([r.observable],F.prototype,"initialized",void 0),(0,i.__decorate)([r.observable],F.prototype,"readOnly",void 0),(0,i.__decorate)([r.volatile],F.prototype,"stream",null),F=(0,i.__decorate)([(0,i.__param)(0,l.lj),(0,i.__param)(1,w),(0,i.__param)(2,(0,o.optional)(D.tt))],F);const H=o.DI.createInterface((e=>e.transient(F)))},82940:(e,t,s)=>{s.d(t,{WJ:()=>o,_g:()=>i,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)=>{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)=>{var i;s.d(t,{E:()=>r,r:()=>i}),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)=>{s.d(t,{C:()=>a,i:()=>n});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)=>{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)=>{s.d(t,{k:()=>r});var i=s(84476);const r=(0,i.createLogger)("foundation-comms")}}]);
1
+ "use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[430],{4077:(e,t,s)=>{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}`}}},62646:(e,t,s)=>{s.d(t,{lj:()=>q});var i=s(186),r=s(27359),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))),d=new RegExp(/wss?:\/\/[-a-zA-Z0-9@:%._\+~#=]{1,256}\b([-a-zA-Z0-9()@:%_\+.~#?&\/=]*)\b\/*$/,"i");var h=s(22296);const E=n.DI.createInterface(),l=n.DI.createInterface();var u=s(26714),g=s(16697),S=s(56383),_=s(29866),T=s(40804),R=s(7211),v=s(44866),p=s(75527);class m{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(m)));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){var n;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.isConnected$=null===(n=this.isConnectedSubject)||void 0===n?void 0:n.asObservable(),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 h.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){h.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 h.k.debug(`HTTP MODE - ${s.MESSAGE_TYPE} (snapshot) message created -> `,s),this.send(s).then((e=>(this.dataLogoff(s.SOURCE_REF).catch((e=>h.k.error(e))),e)))}))}stream(e,t,s,i){const r=this.messageBuilder.createDataLogonMessage(e,i);h.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,g.z)((0,S.D)(this.send(r)),n.pipe((0,_.w)((e=>(0,T.F)(e)))).pipe((0,_.w)((()=>(0,S.D)(this.getMessage(r)))))).pipe((0,R.o)((()=>this.streams.has(o))),(0,v.x)((()=>{h.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 h.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)&&(h.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 h.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 h.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 h.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 h.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 h.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);h.k.debug(`${e} TRIGGERED -> ENFORCING TURBO | FREQUENCY=${r}ms DURATION=${o}`),this.ongoingTurbo[e]=!0,this.updateIntervals({polling:{POLLING_INTERVAL_MAP:a}}),setTimeout((()=>{h.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,h.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,p.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(72284),L=s(98239),U=s(37674),k=s(30094),w=s(30526),P=s(52702),y=s(68370),D=s(52354),G=s(2355);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;h.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(),h.k.info("WebSocket connection is now open"),e(this.isConnected)}},closeObserver:{next:t=>{this.disconnectedByServer=!t.wasClean,this.isConnected=!1,this.disconnectedByServer&&h.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,h.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=>{h.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():h.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,L.H)(e,e).pipe((0,R.o)((()=>this.websocket&&this.isConnected)),(0,w.b)((()=>this.heartbeatLoggingIsEnabled&&h.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,U.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,U.of)(e):(0,k._)((()=>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=>{h.k.debug(`Attempt no. ${e+1} to reconnect`),this.websocket.complete(),this.connect(this.url,this.connectOptions,this.reconnectOptions)},error:e=>{var t;h.k.debug(e),null===(t=this.socketSubscription)||void 0===t||t.unsubscribe(),this.isReconnecting=!1},complete:()=>{h.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,h.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,k._)((()=>new Error("WebSocket connection is closed")));if(!this.hasValidSession)return(0,k._)((()=>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,h.k.info,i),this.setMessageHandler(e,t,s,!0),this.websocket.next(e),(0,S.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,h.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,h.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,p.z),(0,i.__param)(2,O),(0,i.__param)(3,r.UUID)],B);const x=n.DI.createInterface((e=>e.singleton(B))),j={connect:{alwaysOn:!1,enableHeartbeat:!0,enableHeartbeatLogging:!1,heartbeatInterval:1e4,enableMessageLogging:!1},reconnect:{reconnectAttempts:10,reconnectInterval:1e4,reconnectStreams:!0}};let Q=class{get isConnected(){return this.socket.isConnected}get isConnectedSubject(){return this.socket.isConnectedSubject}get isConnected$(){var e;return null===(e=this.socket.isConnectedSubject)||void 0===e?void 0:e.asObservable()}constructor(e,t,s,i=j){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(),d.test(e)?this.socket.connect(e,this.config.connect,this.config.reconnect):(h.k.error(`Specified host (${e}) is not valid WebSocket url. Connection will not proceed.`),void h.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 h.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 h.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 h.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 h.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 h.k.debug(`Cached metadata retrieved for ${e}`),this.metaCache.getMetadataFor(e);const i=this.messageBuilder.createMetaRequestMessage(e);let r;h.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){h.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 h.k.debug(`Cached JsonSchema retrieved for ${e}`),this.metaCache.getJsonSchemaFor(e);const i=this.messageBuilder.createMetaRequestMessage(e,f.N$.JSON_SCHEMA_REQUEST);let r;h.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){h.k.error(e)}finally{this.isWorking=!1}return r}))}request(e,t){const s=this.messageBuilder.createRequestMessage(e,t);return h.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 h.k.debug(`${s.MESSAGE_TYPE} (commit) message created -> `,s),this.socket.send(s)}))}};(0,i.__decorate)([o.observable],Q.prototype,"isWorking",void 0),(0,i.__decorate)([o.volatile],Q.prototype,"isConnected",null),Q=(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))],Q);const J="true"===r.FORCE_HTTP||!1,z=n.DI.createInterface((e=>e.singleton(Q))),q=n.DI.createInterface((e=>J?e.aliasTo(b):e.aliasTo(z)))},9162:(e,t,s)=>{s.d(t,{Cs:()=>i,N$:()=>r,QT:()=>o,sW:()=>l});var i,r,o,n=s(186),a=s(27359),c=s(75951),d=s(4077),h=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 d.G.BASIC:t={USER_NAME:e.username,PASSWORD:e.password};break;case d.G.REFRESH:t={USER_NAME:e.username,REFRESH_AUTH_TOKEN:e.refreshToken};break;case d.G.SSO:t={SSO_TOKEN:e.ssoToken};break;case d.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,h.z),(0,n.__param)(1,a.UUID)],E);const l=c.DI.createInterface((e=>e.singleton(E)))},5127:(e,t,s)=>{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}}},43752:(e,t,s)=>{s.d(t,{Yh:()=>H});var i=s(186),r=s(83147),o=s(75951),n=s(98239),a=s(19788),c=s(56383),d=s(29866),h=s(7211),E=s(26714),l=s(62646),u=s(9162),g=s(19082),S=s(4077),_=s(75527),T=s(22296);const R=o.DI.createInterface();function v(){return(null===navigator||void 0===navigator?void 0:navigator.credentials)?"PasswordCredential"in window||(T.k.warn("PasswordCredential not available in this browser."),!1):(T.k.warn("CredentialsContainer not available in this browser."),!1)}const p=":";function m(e="",t=p,s){return e.split(t,s).map((e=>e.trim())).filter((e=>""!==e))}function O(e,t=p){const s="string"==typeof e&&e.trim();return!!s&&s.includes(t)}function A(e,t=p){return"string"==typeof e&&e.trim()?(e.match(new RegExp(t,"g"))||[]).length:0}function I(e,t=p){for(const s of e)if(O(s,t))return s;return e.find((e=>"string"==typeof e&&!!e.trim()))}function f(e,t,s){const i="string"==typeof e&&e.trim();return!i||s&&!i.includes(s)||A(i)>1?s&&t&&s!==t?`${t}:${s}`:t||s:i}function M(e="credential"){T.k.warn(`Unable to migrate legacy ${e} to latest format. Please remove from your browser.`)}const N={password:!0,mediation:"optional"},b={cookie:{path:"/",name:"credentials",expires:7300,storePasswords:!1}};let C=class{constructor(e,t=b){this.session=e,this.config=t}createBasicCredentials(e){return{type:S.G.BASIC,username:e.username,password:e.password}}createRefreshCredentials(e){var t,s;return{type:S.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:S.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(p)&&A(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]=m(t.name||t.id),[i,r]=m(I([t.id,t.name]));return[{id:f(t.id||t.name,s,r),name:s,password:t.password||""},!0]}catch(e){M("PasswordCredential")}if(t)try{const e=t,[s]=m(e.name||e.username||e.organisation),[i,r]=m(I([e.organisation||e.username||e.name]));return[{id:f(e.id||e.username||e.name,s,r),name:s,password:e.password||""},!1]}catch(e){M("cookie")}return[void 0,!1]}storeCredentialsInContainer(e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){if(!v())return;const t=new PasswordCredential(e);return T.k.debug("Storing credentials in CredentialsContainer"),navigator.credentials.store(t)}))}getCredentialsFromContainer(e=N){return(0,i.__awaiter)(this,void 0,void 0,(function*(){if(v())return T.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 T.k.debug("Storing credentials in cookie"),!!g.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(){T.k.debug("Getting credentials from cookie");const e=g.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(v()){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 v()?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(){g.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 v()&&navigator.credentials.preventSilentAccess()}};C=(0,i.__decorate)([(0,i.__param)(0,_.z),(0,i.__param)(1,(0,o.optional)(R))],C);const L=o.DI.createInterface((e=>e.singleton(C)));class U{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],U.prototype,"permissions",void 0),(0,i.__decorate)([r.observable],U.prototype,"profiles",void 0),(0,i.__decorate)([r.observable],U.prototype,"username",void 0);let k=class{loggedUserResultChanged(e,t){var s;null===(s=this.isLoggedInSubject)||void 0===s||s.next(this.isLoggedIn)}get isLoggedIn$(){return this.isLoggedInSubject.asObservable()}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.isLoggedInSubject=new E.X(!1)}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 S.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),T.k.debug("Login Authentication Result:",i)}catch(e){if(T.k.error("Login Authentication Error:",e),!(e instanceof S.l&&e.isIgnorableError()))throw this.removeAuthResults(),e;T.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,d=n===u.Cs.LOGOUT_NACK;d&&T.k.warn("Unexpected Logout NACK received during logout.",c),t={success:n===u.Cs.LOGOUT_ACK||i===u.QT.SESSION_NOT_FOUND||d,error:c},a&&window.open(a,"_self")}catch(e){const s=new S.l(e.sentMessage,e.receivedMessage);if(T.k.error("Logout Authentication Error:",s),!s.isIgnorableError())throw e;T.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)===u.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 U({permissions:e.permissions,profiles:e.profiles,username:e.username})):this.removeAuthResults()}removeAuthResults(){this.loggedUserResult=null,this.currentUser=null}};(0,i.__decorate)([r.observable],k.prototype,"isWorking",void 0),(0,i.__decorate)([r.observable],k.prototype,"currentUser",void 0),(0,i.__decorate)([r.observable],k.prototype,"loggedUserResult",void 0),(0,i.__decorate)([r.volatile],k.prototype,"isLoggedIn",null),k=(0,i.__decorate)([(0,i.__param)(0,_.z),(0,i.__param)(1,l.lj),(0,i.__param)(2,u.sW),(0,i.__param)(3,L)],k);const w=o.DI.createInterface((e=>e.singleton(k)));var P=s(66306);var y=s(5127),D=s(82940);const G={options:{criteria:"",isSnapshot:!1,maxRows:D.WJ.MAX_ROWS_250,maxView:D.WJ.MAX_VIEW_1000,pollingInterval:D.WJ.REQ_REP_POLLING_INTERVAL_MS,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:y.$};let F=class{constructor(e,t,s=G){this.connect=e,this.auth=t,this.config=s,this.initialized=!1,this.readOnly=!0,this.originalFieldDef=[],this.requestFields=[],this.fieldMetadata=[],this.availableIndexes=[]}validResourceName(e){return!!e&&!!e.trim().length}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){T.k.debug(`Initializing ${this.options.resourceName} Datasource`);const t=yield this.connect.getMetadata(this.options.resourceName).catch((t=>T.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,P.C)(t),this.fieldMetadata=(0,P.i)(this.originalFieldDef),this.requestFields=t.REQUEST_FIELD||[],T.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,POLLING_INTERVAL:this.options.pollingInterval,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));T.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 T.k.debug("Getting configured params:",e),e}snapshot(){var e;return(0,i.__awaiter)(this,void 0,void 0,(function*(){switch(T.k.debug(`Requesting snapshot for ${this.options.resourceName} (${this.resourceType}).`),this.resourceType){case D._g.DATASERVER:return this.connect.snapshot(this.options.resourceName,this.params);case D._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(![D._g.DATASERVER,D._g.REQUEST_SERVER].includes(this.resourceType))throw new Error(`Streaming not supported for selected resource type: ${this.resourceType}`);return this.resourceType===D._g.DATASERVER?this.createDataserverStream():(T.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=>T.k.error(e)),this.params)}))}createReqRepStream(){return(0,n.H)(0,this.params.POLLING_INTERVAL).pipe((0,d.w)((()=>(0,a.a)([this.connect.isConnected$,this.auth.isLoggedIn$]).pipe((0,h.o)((()=>this.connect.isConnected&&this.auth.isLoggedIn)),(0,d.w)((()=>(0,c.D)(this.snapshot())))))))}};(0,i.__decorate)([r.observable],F.prototype,"initialized",void 0),(0,i.__decorate)([r.observable],F.prototype,"readOnly",void 0),(0,i.__decorate)([r.volatile],F.prototype,"stream",null),F=(0,i.__decorate)([(0,i.__param)(0,l.lj),(0,i.__param)(1,w),(0,i.__param)(2,(0,o.optional)(D.tt))],F);const H=o.DI.createInterface((e=>e.transient(F)))},82940:(e,t,s)=>{s.d(t,{WJ:()=>o,_g:()=>i,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)=>{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)=>{var i;s.d(t,{E:()=>r,r:()=>i}),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)=>{s.d(t,{C:()=>a,i:()=>n});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)=>{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)=>{s.d(t,{k:()=>r});var i=s(27359);const r=(0,i.createLogger)("foundation-comms")}}]);
2
2
  //# sourceMappingURL=430.1b3fdba8b48e5e31c2807fa9d1d652c9.js.map