@haiilo/catalyst 10.4.0 → 10.7.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.
Files changed (156) hide show
  1. package/dist/catalyst/catalyst.css +2 -2
  2. package/dist/catalyst/catalyst.esm.js +1 -1
  3. package/dist/catalyst/catalyst.esm.js.map +1 -1
  4. package/dist/catalyst/index.esm.js +1 -1
  5. package/dist/catalyst/index.esm.js.map +1 -1
  6. package/dist/catalyst/p-2c8ac8cf.js +2 -0
  7. package/dist/catalyst/p-2c8ac8cf.js.map +1 -0
  8. package/dist/catalyst/p-b2ec6eb3.entry.js +10 -0
  9. package/dist/catalyst/p-b2ec6eb3.entry.js.map +1 -0
  10. package/dist/catalyst/scss/_variables.scss +0 -1
  11. package/dist/catalyst/scss/core/_form.scss +2 -2
  12. package/dist/cjs/{cat-alert_28.cjs.entry.js → cat-alert_29.cjs.entry.js} +387 -218
  13. package/dist/cjs/cat-alert_29.cjs.entry.js.map +1 -0
  14. package/dist/cjs/catalyst.cjs.js +1 -1
  15. package/dist/cjs/index.cjs.js +4 -1
  16. package/dist/cjs/index.cjs.js.map +1 -1
  17. package/dist/cjs/loader.cjs.js +1 -1
  18. package/dist/cjs/{of-45281229.js → of-f2844da8.js} +12 -4
  19. package/dist/cjs/of-f2844da8.js.map +1 -0
  20. package/dist/collection/collection-manifest.json +1 -0
  21. package/dist/collection/components/cat-button/cat-button.css +12 -2
  22. package/dist/collection/components/cat-checkbox/cat-checkbox.css +2 -1
  23. package/dist/collection/components/cat-date/cat-date.css +2 -96
  24. package/dist/collection/components/cat-date/cat-date.js +77 -245
  25. package/dist/collection/components/cat-date/cat-date.js.map +1 -1
  26. package/dist/collection/components/cat-date/cat-date.spec.js +2 -1
  27. package/dist/collection/components/cat-date/cat-date.spec.js.map +1 -1
  28. package/dist/collection/components/cat-date-inline/cat-date-inline.css +166 -0
  29. package/dist/collection/components/cat-date-inline/cat-date-inline.e2e.js +11 -0
  30. package/dist/collection/components/cat-date-inline/cat-date-inline.e2e.js.map +1 -0
  31. package/dist/collection/components/cat-date-inline/cat-date-inline.js +505 -0
  32. package/dist/collection/components/cat-date-inline/cat-date-inline.js.map +1 -0
  33. package/dist/collection/components/cat-date-inline/cat-date-inline.spec.js +16 -0
  34. package/dist/collection/components/cat-date-inline/cat-date-inline.spec.js.map +1 -0
  35. package/dist/collection/components/{cat-date → cat-date-inline}/cat-date-locale.js +22 -1
  36. package/dist/collection/components/cat-date-inline/cat-date-locale.js.map +1 -0
  37. package/dist/collection/components/cat-date-inline/cat-date-math.js.map +1 -0
  38. package/dist/collection/components/cat-datepicker/cat-datepicker.js +2 -2
  39. package/dist/collection/components/cat-datepicker-inline/cat-datepicker-inline.js +2 -2
  40. package/dist/collection/components/cat-dropdown/cat-dropdown.js +29 -2
  41. package/dist/collection/components/cat-dropdown/cat-dropdown.js.map +1 -1
  42. package/dist/collection/components/cat-form-group/cat-form-group.js +4 -1
  43. package/dist/collection/components/cat-form-group/cat-form-group.js.map +1 -1
  44. package/dist/collection/components/cat-i18n/cat-i18n-registry.js +6 -0
  45. package/dist/collection/components/cat-i18n/cat-i18n-registry.js.map +1 -1
  46. package/dist/collection/components/cat-icon/cat-icon-registry.js +4 -2
  47. package/dist/collection/components/cat-icon/cat-icon-registry.js.map +1 -1
  48. package/dist/collection/components/cat-icon/cat-icon.js +1 -1
  49. package/dist/collection/components/cat-input/cat-input.js +4 -4
  50. package/dist/collection/components/cat-notification/cat-notification.js +3 -0
  51. package/dist/collection/components/cat-notification/cat-notification.js.map +1 -1
  52. package/dist/collection/components/cat-pagination/cat-pagination.js +2 -2
  53. package/dist/collection/components/cat-radio/cat-radio.css +1 -1
  54. package/dist/collection/components/cat-radio/cat-radio.js +1 -1
  55. package/dist/collection/components/cat-radio-group/cat-radio-group.js +1 -1
  56. package/dist/collection/components/cat-scrollable/cat-scrollable.js +3 -3
  57. package/dist/collection/components/cat-select/cat-select.js +5 -5
  58. package/dist/collection/components/cat-select-demo/cat-select-demo.js +1 -1
  59. package/dist/collection/components/cat-skeleton/cat-skeleton.js +1 -1
  60. package/dist/collection/components/cat-spinner/cat-spinner.js +2 -2
  61. package/dist/collection/components/cat-tab/cat-tab.js +1 -1
  62. package/dist/collection/components/cat-tabs/cat-tabs.js +1 -1
  63. package/dist/collection/components/cat-textarea/cat-textarea.js +3 -3
  64. package/dist/collection/components/cat-time/cat-time-locale.js +3 -0
  65. package/dist/collection/components/cat-time/cat-time-locale.js.map +1 -1
  66. package/dist/collection/components/cat-time/cat-time.js +39 -8
  67. package/dist/collection/components/cat-time/cat-time.js.map +1 -1
  68. package/dist/collection/components/cat-toggle/cat-toggle.css +1 -1
  69. package/dist/collection/components/cat-toggle/cat-toggle.js +1 -1
  70. package/dist/collection/components/cat-tooltip/cat-tooltip.js +7 -2
  71. package/dist/collection/components/cat-tooltip/cat-tooltip.js.map +1 -1
  72. package/dist/collection/scss/_variables.scss +0 -1
  73. package/dist/collection/scss/core/_form.scss +2 -2
  74. package/dist/components/cat-button2.js +1 -1
  75. package/dist/components/cat-button2.js.map +1 -1
  76. package/dist/components/cat-checkbox2.js +1 -1
  77. package/dist/components/cat-checkbox2.js.map +1 -1
  78. package/dist/components/cat-date-inline.d.ts +11 -0
  79. package/dist/components/cat-date-inline.js +8 -0
  80. package/dist/components/cat-date-inline.js.map +1 -0
  81. package/dist/components/cat-date-inline2.js +386 -0
  82. package/dist/components/cat-date-inline2.js.map +1 -0
  83. package/dist/components/cat-date.js +83 -283
  84. package/dist/components/cat-date.js.map +1 -1
  85. package/dist/components/cat-datepicker-inline.js +2 -2
  86. package/dist/components/cat-datepicker.js +2 -2
  87. package/dist/components/cat-dropdown2.js +8 -2
  88. package/dist/components/cat-dropdown2.js.map +1 -1
  89. package/dist/components/cat-form-group.js +1 -1
  90. package/dist/components/cat-form-group.js.map +1 -1
  91. package/dist/components/cat-i18n-registry.js +6 -0
  92. package/dist/components/cat-i18n-registry.js.map +1 -1
  93. package/dist/components/cat-icon-registry.js +4 -2
  94. package/dist/components/cat-icon-registry.js.map +1 -1
  95. package/dist/components/cat-icon2.js +1 -1
  96. package/dist/components/cat-input2.js +4 -4
  97. package/dist/components/cat-pagination.js +2 -2
  98. package/dist/components/cat-radio-group.js +1 -1
  99. package/dist/components/cat-radio.js +2 -2
  100. package/dist/components/cat-radio.js.map +1 -1
  101. package/dist/components/cat-scrollable2.js +8 -6
  102. package/dist/components/cat-scrollable2.js.map +1 -1
  103. package/dist/components/cat-select-demo.js +3 -3
  104. package/dist/components/cat-select-demo.js.map +1 -1
  105. package/dist/components/cat-select2.js.map +1 -1
  106. package/dist/components/cat-skeleton2.js +1 -1
  107. package/dist/components/cat-spinner2.js +2 -2
  108. package/dist/components/cat-tab.js +1 -1
  109. package/dist/components/cat-tabs.js +1 -1
  110. package/dist/components/cat-textarea.js +3 -3
  111. package/dist/components/cat-time.js +37 -8
  112. package/dist/components/cat-time.js.map +1 -1
  113. package/dist/components/cat-toggle.js +2 -2
  114. package/dist/components/cat-toggle.js.map +1 -1
  115. package/dist/components/cat-tooltip.js +2 -2
  116. package/dist/components/cat-tooltip.js.map +1 -1
  117. package/dist/components/floating-ui.dom.esm.js +38 -30
  118. package/dist/components/floating-ui.dom.esm.js.map +1 -1
  119. package/dist/components/from.js +1 -1
  120. package/dist/components/from.js.map +1 -1
  121. package/dist/components/index.js +3 -0
  122. package/dist/components/index.js.map +1 -1
  123. package/dist/components/of.js.map +1 -1
  124. package/dist/esm/{cat-alert_28.entry.js → cat-alert_29.entry.js} +387 -219
  125. package/dist/esm/cat-alert_29.entry.js.map +1 -0
  126. package/dist/esm/catalyst.js +1 -1
  127. package/dist/esm/index.js +5 -2
  128. package/dist/esm/index.js.map +1 -1
  129. package/dist/esm/loader.js +1 -1
  130. package/dist/esm/{of-19888f3b.js → of-53334b95.js} +12 -4
  131. package/dist/esm/of-53334b95.js.map +1 -0
  132. package/dist/types/components/cat-date/cat-date.d.ts +11 -31
  133. package/dist/types/components/cat-date-inline/cat-date-inline.d.ts +81 -0
  134. package/dist/types/components/{cat-date → cat-date-inline}/cat-date-locale.d.ts +5 -0
  135. package/dist/types/components/cat-dropdown/cat-dropdown.d.ts +9 -0
  136. package/dist/types/components/cat-form-group/cat-form-group.d.ts +3 -0
  137. package/dist/types/components/cat-i18n/cat-i18n-registry.d.ts +6 -0
  138. package/dist/types/components/cat-icon/cat-icon-registry.d.ts +1 -0
  139. package/dist/types/components/cat-notification/cat-notification.d.ts +3 -0
  140. package/dist/types/components/cat-time/cat-time-locale.d.ts +1 -0
  141. package/dist/types/components/cat-time/cat-time.d.ts +6 -1
  142. package/dist/types/components/cat-tooltip/cat-tooltip.d.ts +5 -0
  143. package/dist/types/components.d.ts +209 -5
  144. package/package.json +2 -2
  145. package/dist/catalyst/p-81800b65.js +0 -2
  146. package/dist/catalyst/p-81800b65.js.map +0 -1
  147. package/dist/catalyst/p-8a1d505d.entry.js +0 -10
  148. package/dist/catalyst/p-8a1d505d.entry.js.map +0 -1
  149. package/dist/cjs/cat-alert_28.cjs.entry.js.map +0 -1
  150. package/dist/cjs/of-45281229.js.map +0 -1
  151. package/dist/collection/components/cat-date/cat-date-locale.js.map +0 -1
  152. package/dist/collection/components/cat-date/cat-date-math.js.map +0 -1
  153. package/dist/esm/cat-alert_28.entry.js.map +0 -1
  154. package/dist/esm/of-19888f3b.js.map +0 -1
  155. /package/dist/collection/components/{cat-date → cat-date-inline}/cat-date-math.js +0 -0
  156. /package/dist/types/components/{cat-date → cat-date-inline}/cat-date-math.d.ts +0 -0
@@ -1689,10 +1689,10 @@ cat-textarea,
1689
1689
  cat-toggle,
1690
1690
  cat-date,
1691
1691
  cat-time):not(:last-child) {
1692
- margin-bottom: calc(1.5rem * var(--cat-form-spacer, 1));
1692
+ margin-bottom: calc(1rem * var(--cat-form-spacer, 1));
1693
1693
  }
1694
1694
  .cat-form cat-radio:not(:last-child) {
1695
- margin-bottom: 0.5rem;
1695
+ margin-bottom: 0.75rem;
1696
1696
  }
1697
1697
 
1698
1698
  .cat-label {
@@ -1,2 +1,2 @@
1
- import{p as e,b as a}from"./p-20919029.js";export{s as setNonce}from"./p-20919029.js";import{g as t}from"./p-e1255160.js";const o=()=>{const a=import.meta.url;const t={};if(a!==""){t.resourcesUrl=new URL(".",a).href}return e(t)};o().then((async e=>{await t();return a([["p-8a1d505d",[[0,"cat-select-demo"],[1,"cat-date",{requiredMarker:[1,"required-marker"],horizontal:[4],autoComplete:[1,"auto-complete"],clearable:[4],disabled:[4],hint:[1],icon:[1],iconRight:[4,"icon-right"],identifier:[1],label:[1],labelHidden:[4,"label-hidden"],max:[1],min:[1],name:[1],placeholder:[1],textPrefix:[1,"text-prefix"],textSuffix:[1,"text-suffix"],readonly:[4],required:[4],value:[1025],errors:[4],errorUpdate:[8,"error-update"],nativeAttributes:[16],placement:[1],hasSlottedLabel:[32],hasSlottedHint:[32],viewDate:[32],selectionDate:[32],select:[64],doFocus:[64],doBlur:[64],clear:[64]},[[0,"catOpen","onOpen"],[0,"catClose","onClose"],[0,"keydown","onKeyDown"]]],[1,"cat-time",{requiredMarker:[1,"required-marker"],horizontal:[4],autoComplete:[1,"auto-complete"],clearable:[4],disabled:[4],hint:[1],icon:[1],iconRight:[4,"icon-right"],identifier:[1],label:[1],labelHidden:[4,"label-hidden"],max:[1],min:[1],name:[1],placeholder:[1],textPrefix:[1,"text-prefix"],textSuffix:[1,"text-suffix"],readonly:[4],required:[4],value:[1025],errors:[4],errorUpdate:[8,"error-update"],nativeAttributes:[16],placement:[1],step:[2],hasSlottedLabel:[32],hasSlottedHint:[32],selectionTime:[32],isAm:[32],select:[64],doFocus:[64],doBlur:[64],clear:[64]},[[0,"catOpen","onOpen"]]],[1,"cat-datepicker",{requiredMarker:[1,"required-marker"],horizontal:[4],autoComplete:[1,"auto-complete"],clearable:[4],disabled:[4],hint:[1],icon:[1],iconRight:[4,"icon-right"],identifier:[1],label:[1],labelHidden:[4,"label-hidden"],max:[1],min:[1],mode:[1],name:[1],placeholder:[1],textPrefix:[1,"text-prefix"],textSuffix:[1,"text-suffix"],readonly:[4],required:[4],step:[2],attachToElement:[4,"attach-to-element"],position:[1],value:[1025],errors:[4],errorUpdate:[8,"error-update"],nativeAttributes:[16],nativePickerAttributes:[16],hasSlottedLabel:[32],hasSlottedHint:[32],doFocus:[64],doBlur:[64]},null,{value:["onValueChanged"],disabled:["onDisabledChanged"],readonly:["onDisabledChanged"],mode:["onDisabledChanged"],min:["onMinChanged"],max:["onMinChanged"]}],[1,"cat-pagination",{page:[1026],pageCount:[2,"page-count"],activePadding:[2,"active-padding"],sidePadding:[2,"side-padding"],size:[1],variant:[1],round:[4],compact:[4],iconPrev:[1,"icon-prev"],iconNext:[1,"icon-next"]}],[1,"cat-tabs",{activeTab:[1537,"active-tab"],tabsAlign:[1,"tabs-align"],tabs:[32],setActive:[64],setActiveIndex:[64]},[[0,"keydown","onKeydown"]],{activeTab:["onActiveTabChange"]}],[1,"cat-alert",{color:[513],icon:[1],noIcon:[4,"no-icon"]}],[1,"cat-textarea",{requiredMarker:[1,"required-marker"],horizontal:[4],disabled:[4],hint:[1],identifier:[1],label:[1],labelHidden:[4,"label-hidden"],maxLength:[2,"max-length"],minLength:[2,"min-length"],name:[1],placeholder:[1],readonly:[4],required:[4],rows:[2],value:[1025],errors:[4],errorUpdate:[8,"error-update"],nativeAttributes:[16],hasSlottedLabel:[32],hasSlottedHint:[32],errorMap:[32],doFocus:[64],doBlur:[64],clear:[64]},null,{errors:["onErrorsChanged"]}],[1,"cat-badge",{variant:[513],color:[513],size:[513],round:[516],pulse:[516]}],[1,"cat-button-group",{a11yLabel:[1,"a11y-label"]}],[1,"cat-card"],[1,"cat-datepicker-inline",{disabled:[4],max:[1],min:[1],mode:[1],readonly:[4],step:[2],value:[1025],nativePickerAttributes:[16]},null,{value:["onValueChanged"],disabled:["onDisabledChanged"],readonly:["onDisabledChanged"]}],[1,"cat-form-group",{requiredMarker:[1,"required-marker"],horizontal:[4],labelSize:[1,"label-size"]},null,{requiredMarker:["onRequiredMarkerChanged"],horizontal:["onHorizontalChanged"]}],[1,"cat-radio",{checked:[1028],disabled:[4],identifier:[1],label:[1],labelHidden:[4,"label-hidden"],name:[1],required:[4],value:[8],hint:[1],labelLeft:[4,"label-left"],nativeAttributes:[16],hasSlottedLabel:[32],hasSlottedHint:[32],doFocus:[64],doBlur:[64]}],[1,"cat-radio-group",{name:[1],value:[1032],disabled:[4],a11yLabel:[1,"a11y-label"],labelLeft:[4,"label-left"]},[[0,"keydown","onKeydown"],[0,"input","onInput"],[2,"focus","onFocus"],[2,"blur","onBlur"]],{name:["onNameChanged"],value:["onValueChanged"],disabled:["onDisabledChanged"],labelLeft:["onLabelLeftChanged"]}],[1,"cat-tab",{label:[513],icon:[513],iconOnly:[520,"icon-only"],iconRight:[516,"icon-right"],url:[513],urlTarget:[513,"url-target"],deactivated:[516],error:[516],nativeAttributes:[16]},[[0,"click","onClick"]]],[1,"cat-toggle",{checked:[1028],disabled:[4],identifier:[1],label:[1],labelHidden:[4,"label-hidden"],name:[1],required:[4],value:[8],noValue:[8,"no-value"],resolvedValue:[1032,"resolved-value"],hint:[1],labelLeft:[4,"label-left"],nativeAttributes:[16],hasSlottedLabel:[32],hasSlottedHint:[32],doFocus:[64],doBlur:[64]}],[1,"cat-tooltip",{content:[1],disabled:[4],placement:[1],round:[4],size:[1],showDelay:[2,"show-delay"],hideDelay:[2,"hide-delay"],longTouchDuration:[2,"long-touch-duration"],open:[32]},[[0,"keydown","handleKeyDown"]]],[1,"cat-select",{requiredMarker:[1,"required-marker"],horizontal:[4],multiple:[4],debounce:[2],placement:[1],value:[1025],disabled:[4],placeholder:[1],hint:[1],identifier:[1],label:[1],name:[1],labelHidden:[4,"label-hidden"],required:[4],clearable:[4],tags:[4],tagHint:[1,"tag-hint"],noItems:[1,"no-items"],errors:[4],errorUpdate:[8,"error-update"],nativeAttributes:[16],connector:[32],state:[32],hasSlottedLabel:[32],hasSlottedHint:[32],errorMap:[32],doFocus:[64],doBlur:[64],clear:[64],connect:[64]},[[0,"blur","onBlur"],[0,"keydown","onKeyDown"],[0,"keyup","onKeyUp"]],{connector:["onConnectorChanged"],value:["onValueChanged"],errors:["onErrorsChanged"],state:["onStateChanged"]}],[1,"cat-avatar",{size:[1],round:[4],label:[1],initials:[1],src:[1],icon:[1],url:[1],urlTarget:[1,"url-target"],backgroundImage:[32]},null,{src:["onSrcChanged"]}],[1,"cat-checkbox",{checked:[1028],indeterminate:[1028],disabled:[4],identifier:[1],label:[1],labelHidden:[4,"label-hidden"],name:[1],required:[4],value:[8],noValue:[8,"no-value"],resolvedValue:[1032,"resolved-value"],hint:[1],labelLeft:[4,"label-left"],nativeAttributes:[16],hasSlottedLabel:[32],hasSlottedHint:[32],doFocus:[64],doBlur:[64]}],[1,"cat-scrollable",{noShadowX:[4,"no-shadow-x"],noShadowY:[4,"no-shadow-y"],noOverflowX:[4,"no-overflow-x"],noOverflowY:[4,"no-overflow-y"],noOverscroll:[4,"no-overscroll"],noScrolledInit:[4,"no-scrolled-init"],scrolledBuffer:[2,"scrolled-buffer"]}],[1,"cat-skeleton",{effect:[1],variant:[1],size:[1],lines:[2]}],[1,"cat-input",{requiredMarker:[1,"required-marker"],horizontal:[4],autoComplete:[1,"auto-complete"],clearable:[4],togglePassword:[4,"toggle-password"],disabled:[4],hint:[1],icon:[1],iconRight:[4,"icon-right"],identifier:[1],label:[1],labelHidden:[4,"label-hidden"],max:[8],maxLength:[2,"max-length"],min:[8],minLength:[2,"min-length"],name:[1],placeholder:[1],textPrefix:[1,"text-prefix"],textSuffix:[1,"text-suffix"],readonly:[4],required:[4],round:[4],type:[1],value:[1025],errors:[4],errorUpdate:[8,"error-update"],nativeAttributes:[16],hasSlottedLabel:[32],hasSlottedHint:[32],isPasswordShown:[32],errorMap:[32],doFocus:[64],doBlur:[64],clear:[64],mask:[64]},null,{errors:["onErrorsChanged"]}],[1,"cat-dropdown",{placement:[1],noAutoClose:[4,"no-auto-close"],arrowNavigation:[1,"arrow-navigation"],noResize:[4,"no-resize"],overflow:[4],toggle:[64],open:[64],close:[64]},[[0,"catClick","clickHandler"]]],[1,"cat-button",{variant:[1],color:[1],active:[4],size:[1],name:[1],value:[1],disabled:[4],loading:[4],submit:[4],noEllipsis:[4,"no-ellipsis"],round:[4],url:[1],urlTarget:[1,"url-target"],icon:[1],iconOnly:[8,"icon-only"],iconRight:[4,"icon-right"],buttonId:[1,"button-id"],a11yLabel:[1,"a11y-label"],a11yCurrent:[1,"a11y-current"],nativeAttributes:[16],nativeContentAttributes:[16],buttonGroupPosition:[1,"button-group-position"],_iconOnly:[32],doFocus:[64],doBlur:[64],doClick:[64]},[[0,"click","haltDisabledEvents"]],{iconOnly:["onIconOnlyChanged"]}],[1,"cat-spinner",{size:[1],a11yLabel:[1,"a11y-label"]}],[1,"cat-icon",{icon:[1],iconSrc:[1,"icon-src"],size:[1],a11yLabel:[1,"a11y-label"]}]]]],e)}));
1
+ import{p as e,b as a}from"./p-20919029.js";export{s as setNonce}from"./p-20919029.js";import{g as t}from"./p-e1255160.js";const n=()=>{const a=import.meta.url;const t={};if(a!==""){t.resourcesUrl=new URL(".",a).href}return e(t)};n().then((async e=>{await t();return a([["p-b2ec6eb3",[[0,"cat-select-demo"],[1,"cat-date",{requiredMarker:[1,"required-marker"],horizontal:[4],autoComplete:[1,"auto-complete"],clearable:[4],disabled:[4],hint:[1],icon:[1],iconRight:[4,"icon-right"],identifier:[1],label:[1],labelHidden:[4,"label-hidden"],max:[1],min:[1],name:[1],placeholder:[1],textPrefix:[1,"text-prefix"],textSuffix:[1,"text-suffix"],readonly:[4],required:[4],value:[1025],errors:[4],errorUpdate:[8,"error-update"],nativeAttributes:[16],placement:[1],hasSlottedLabel:[32],hasSlottedHint:[32],doFocus:[64],doBlur:[64],clear:[64]},null,{min:["onMinChanged"],max:["onMaxChanged"]}],[1,"cat-time",{requiredMarker:[1,"required-marker"],horizontal:[4],autoComplete:[1,"auto-complete"],clearable:[4],disabled:[4],hint:[1],icon:[1],iconRight:[4,"icon-right"],identifier:[1],label:[1],labelHidden:[4,"label-hidden"],max:[1],min:[1],name:[1],placeholder:[1],textPrefix:[1,"text-prefix"],textSuffix:[1,"text-suffix"],readonly:[4],required:[4],value:[1025],errors:[4],errorUpdate:[8,"error-update"],nativeAttributes:[16],placement:[1],step:[2],hasSlottedLabel:[32],hasSlottedHint:[32],selectionTime:[32],isAm:[32],select:[64],doFocus:[64],doBlur:[64],clear:[64]},[[0,"catOpen","onOpen"]],{min:["onMinChanged"],max:["onMaxChanged"]}],[1,"cat-datepicker",{requiredMarker:[1,"required-marker"],horizontal:[4],autoComplete:[1,"auto-complete"],clearable:[4],disabled:[4],hint:[1],icon:[1],iconRight:[4,"icon-right"],identifier:[1],label:[1],labelHidden:[4,"label-hidden"],max:[1],min:[1],mode:[1],name:[1],placeholder:[1],textPrefix:[1,"text-prefix"],textSuffix:[1,"text-suffix"],readonly:[4],required:[4],step:[2],attachToElement:[4,"attach-to-element"],position:[1],value:[1025],errors:[4],errorUpdate:[8,"error-update"],nativeAttributes:[16],nativePickerAttributes:[16],hasSlottedLabel:[32],hasSlottedHint:[32],doFocus:[64],doBlur:[64]},null,{value:["onValueChanged"],disabled:["onDisabledChanged"],readonly:["onDisabledChanged"],mode:["onDisabledChanged"],min:["onMinChanged"],max:["onMinChanged"]}],[1,"cat-pagination",{page:[1026],pageCount:[2,"page-count"],activePadding:[2,"active-padding"],sidePadding:[2,"side-padding"],size:[1],variant:[1],round:[4],compact:[4],iconPrev:[1,"icon-prev"],iconNext:[1,"icon-next"]}],[1,"cat-tabs",{activeTab:[1537,"active-tab"],tabsAlign:[1,"tabs-align"],tabs:[32],setActive:[64],setActiveIndex:[64]},[[0,"keydown","onKeydown"]],{activeTab:["onActiveTabChange"]}],[1,"cat-alert",{color:[513],icon:[1],noIcon:[4,"no-icon"]}],[1,"cat-textarea",{requiredMarker:[1,"required-marker"],horizontal:[4],disabled:[4],hint:[1],identifier:[1],label:[1],labelHidden:[4,"label-hidden"],maxLength:[2,"max-length"],minLength:[2,"min-length"],name:[1],placeholder:[1],readonly:[4],required:[4],rows:[2],value:[1025],errors:[4],errorUpdate:[8,"error-update"],nativeAttributes:[16],hasSlottedLabel:[32],hasSlottedHint:[32],errorMap:[32],doFocus:[64],doBlur:[64],clear:[64]},null,{errors:["onErrorsChanged"]}],[1,"cat-badge",{variant:[513],color:[513],size:[513],round:[516],pulse:[516]}],[1,"cat-button-group",{a11yLabel:[1,"a11y-label"]}],[1,"cat-card"],[1,"cat-datepicker-inline",{disabled:[4],max:[1],min:[1],mode:[1],readonly:[4],step:[2],value:[1025],nativePickerAttributes:[16]},null,{value:["onValueChanged"],disabled:["onDisabledChanged"],readonly:["onDisabledChanged"]}],[1,"cat-form-group",{requiredMarker:[1,"required-marker"],horizontal:[4],labelSize:[1,"label-size"]},null,{requiredMarker:["onRequiredMarkerChanged"],horizontal:["onHorizontalChanged"]}],[1,"cat-radio",{checked:[1028],disabled:[4],identifier:[1],label:[1],labelHidden:[4,"label-hidden"],name:[1],required:[4],value:[8],hint:[1],labelLeft:[4,"label-left"],nativeAttributes:[16],hasSlottedLabel:[32],hasSlottedHint:[32],doFocus:[64],doBlur:[64]}],[1,"cat-radio-group",{name:[1],value:[1032],disabled:[4],a11yLabel:[1,"a11y-label"],labelLeft:[4,"label-left"]},[[0,"keydown","onKeydown"],[0,"input","onInput"],[2,"focus","onFocus"],[2,"blur","onBlur"]],{name:["onNameChanged"],value:["onValueChanged"],disabled:["onDisabledChanged"],labelLeft:["onLabelLeftChanged"]}],[1,"cat-tab",{label:[513],icon:[513],iconOnly:[520,"icon-only"],iconRight:[516,"icon-right"],url:[513],urlTarget:[513,"url-target"],deactivated:[516],error:[516],nativeAttributes:[16]},[[0,"click","onClick"]]],[1,"cat-toggle",{checked:[1028],disabled:[4],identifier:[1],label:[1],labelHidden:[4,"label-hidden"],name:[1],required:[4],value:[8],noValue:[8,"no-value"],resolvedValue:[1032,"resolved-value"],hint:[1],labelLeft:[4,"label-left"],nativeAttributes:[16],hasSlottedLabel:[32],hasSlottedHint:[32],doFocus:[64],doBlur:[64]}],[1,"cat-tooltip",{content:[1],disabled:[4],placement:[1],round:[4],size:[1],showDelay:[2,"show-delay"],hideDelay:[2,"hide-delay"],longTouchDuration:[2,"long-touch-duration"],open:[32]},[[0,"keydown","handleKeyDown"]]],[1,"cat-select",{requiredMarker:[1,"required-marker"],horizontal:[4],multiple:[4],debounce:[2],placement:[1],value:[1025],disabled:[4],placeholder:[1],hint:[1],identifier:[1],label:[1],name:[1],labelHidden:[4,"label-hidden"],required:[4],clearable:[4],tags:[4],tagHint:[1,"tag-hint"],noItems:[1,"no-items"],errors:[4],errorUpdate:[8,"error-update"],nativeAttributes:[16],connector:[32],state:[32],hasSlottedLabel:[32],hasSlottedHint:[32],errorMap:[32],doFocus:[64],doBlur:[64],clear:[64],connect:[64]},[[0,"blur","onBlur"],[0,"keydown","onKeyDown"],[0,"keyup","onKeyUp"]],{connector:["onConnectorChanged"],value:["onValueChanged"],errors:["onErrorsChanged"],state:["onStateChanged"]}],[1,"cat-date-inline",{noClear:[4,"no-clear"],noHint:[4,"no-hint"],noToday:[4,"no-today"],noWeeks:[4,"no-weeks"],size:[1],min:[1],max:[1],range:[4],value:[1025],viewDate:[32],select:[64],clear:[64],resetView:[64]},[[0,"keydown","onKeyDown"]]],[1,"cat-avatar",{size:[1],round:[4],label:[1],initials:[1],src:[1],icon:[1],url:[1],urlTarget:[1,"url-target"],backgroundImage:[32]},null,{src:["onSrcChanged"]}],[1,"cat-checkbox",{checked:[1028],indeterminate:[1028],disabled:[4],identifier:[1],label:[1],labelHidden:[4,"label-hidden"],name:[1],required:[4],value:[8],noValue:[8,"no-value"],resolvedValue:[1032,"resolved-value"],hint:[1],labelLeft:[4,"label-left"],nativeAttributes:[16],hasSlottedLabel:[32],hasSlottedHint:[32],doFocus:[64],doBlur:[64]}],[1,"cat-scrollable",{noShadowX:[4,"no-shadow-x"],noShadowY:[4,"no-shadow-y"],noOverflowX:[4,"no-overflow-x"],noOverflowY:[4,"no-overflow-y"],noOverscroll:[4,"no-overscroll"],noScrolledInit:[4,"no-scrolled-init"],scrolledBuffer:[2,"scrolled-buffer"]}],[1,"cat-skeleton",{effect:[1],variant:[1],size:[1],lines:[2]}],[1,"cat-input",{requiredMarker:[1,"required-marker"],horizontal:[4],autoComplete:[1,"auto-complete"],clearable:[4],togglePassword:[4,"toggle-password"],disabled:[4],hint:[1],icon:[1],iconRight:[4,"icon-right"],identifier:[1],label:[1],labelHidden:[4,"label-hidden"],max:[8],maxLength:[2,"max-length"],min:[8],minLength:[2,"min-length"],name:[1],placeholder:[1],textPrefix:[1,"text-prefix"],textSuffix:[1,"text-suffix"],readonly:[4],required:[4],round:[4],type:[1],value:[1025],errors:[4],errorUpdate:[8,"error-update"],nativeAttributes:[16],hasSlottedLabel:[32],hasSlottedHint:[32],isPasswordShown:[32],errorMap:[32],doFocus:[64],doBlur:[64],clear:[64],mask:[64]},null,{errors:["onErrorsChanged"]}],[1,"cat-dropdown",{placement:[1],noAutoClose:[4,"no-auto-close"],arrowNavigation:[1,"arrow-navigation"],noResize:[4,"no-resize"],overflow:[4],noInitialFocus:[4,"no-initial-focus"],toggle:[64],open:[64],close:[64]},[[0,"catClick","clickHandler"]]],[1,"cat-button",{variant:[1],color:[1],active:[4],size:[1],name:[1],value:[1],disabled:[4],loading:[4],submit:[4],noEllipsis:[4,"no-ellipsis"],round:[4],url:[1],urlTarget:[1,"url-target"],icon:[1],iconOnly:[8,"icon-only"],iconRight:[4,"icon-right"],buttonId:[1,"button-id"],a11yLabel:[1,"a11y-label"],a11yCurrent:[1,"a11y-current"],nativeAttributes:[16],nativeContentAttributes:[16],buttonGroupPosition:[1,"button-group-position"],_iconOnly:[32],doFocus:[64],doBlur:[64],doClick:[64]},[[0,"click","haltDisabledEvents"]],{iconOnly:["onIconOnlyChanged"]}],[1,"cat-spinner",{size:[1],a11yLabel:[1,"a11y-label"]}],[1,"cat-icon",{icon:[1],iconSrc:[1,"icon-src"],size:[1],a11yLabel:[1,"a11y-label"]}]]]],e)}));
2
2
  //# sourceMappingURL=catalyst.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["patchBrowser","importMeta","url","opts","resourcesUrl","URL","href","promiseResolve","then","async","options","globalScripts","bootstrapLazy","requiredMarker","horizontal","autoComplete","clearable","disabled","hint","icon","iconRight","identifier","label","labelHidden","max","min","name","placeholder","textPrefix","textSuffix","readonly","required","value","errors","errorUpdate","nativeAttributes","placement","hasSlottedLabel","hasSlottedHint","viewDate","selectionDate","select","doFocus","doBlur","clear","step","selectionTime","isAm","mode","attachToElement","position","nativePickerAttributes","page","pageCount","activePadding","sidePadding","size","variant","round","compact","iconPrev","iconNext","activeTab","tabsAlign","tabs","setActive","setActiveIndex","color","noIcon","maxLength","minLength","rows","errorMap","pulse","a11yLabel","labelSize","checked","labelLeft","iconOnly","urlTarget","deactivated","error","noValue","resolvedValue","content","showDelay","hideDelay","longTouchDuration","open","multiple","debounce","tags","tagHint","noItems","connector","state","connect","initials","src","backgroundImage","indeterminate","noShadowX","noShadowY","noOverflowX","noOverflowY","noOverscroll","noScrolledInit","scrolledBuffer","effect","lines","togglePassword","type","isPasswordShown","mask","noAutoClose","arrowNavigation","noResize","overflow","toggle","close","active","loading","submit","noEllipsis","buttonId","a11yCurrent","nativeContentAttributes","buttonGroupPosition","_iconOnly","doClick","iconSrc"],"sources":["../node_modules/.pnpm/@stencil+core@4.12.6/node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.12.6 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, doc, promiseResolve, H } from '@stencil/core';\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n if (importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n }\n return promiseResolve(opts);\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(async (options) => {\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"0HAKA,MAAMA,EAAe,KAajB,MAAMC,cAAyBC,IAC/B,MAAMC,EAAqE,GAC3E,GAAIF,IAAe,GAAI,CACnBE,EAAKC,aAAe,IAAIC,IAAI,IAAKJ,GAAYK,IACrD,CACI,OAAOC,EAAeJ,EAAK,ECnB/BH,IAAeQ,MAAKC,MAAOC,UACnBC,IACN,OAAOC,EAAc,sCAAsC,CAAC,cAAAC,eAAA,sBAAAC,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AA,IAAAf,SAAA,IAAAwG,QAAA,IAAAC,OAAA,IAAAC,WAAA,kBAAAjE,MAAA,IAAAxD,IAAA,IAAA6E,UAAA,iBAAA5D,KAAA,IAAA2D,SAAA,gBAAA1D,UAAA,iBAAAwG,SAAA,gBAAAlD,UAAA,iBAAAmD,YAAA,mBAAA1F,iBAAA,KAAA2F,wBAAA,KAAAC,oBAAA,4BAAAC,UAAA,KAAAtF,QAAA,KAAAC,OAAA,KAAAsF,QAAA,0CAAAnD,SAAA,0CAAAtB,KAAA,IAAAkB,UAAA,kCAAAvD,KAAA,IAAA+G,QAAA,eAAA1E,KAAA,IAAAkB,UAAA,sBAAAhE,EAAA"}
1
+ {"version":3,"names":["patchBrowser","importMeta","url","opts","resourcesUrl","URL","href","promiseResolve","then","async","options","globalScripts","bootstrapLazy","requiredMarker","horizontal","autoComplete","clearable","disabled","hint","icon","iconRight","identifier","label","labelHidden","max","min","name","placeholder","textPrefix","textSuffix","readonly","required","value","errors","errorUpdate","nativeAttributes","placement","hasSlottedLabel","hasSlottedHint","doFocus","doBlur","clear","step","selectionTime","isAm","select","mode","attachToElement","position","nativePickerAttributes","page","pageCount","activePadding","sidePadding","size","variant","round","compact","iconPrev","iconNext","activeTab","tabsAlign","tabs","setActive","setActiveIndex","color","noIcon","maxLength","minLength","rows","errorMap","pulse","a11yLabel","labelSize","checked","labelLeft","iconOnly","urlTarget","deactivated","error","noValue","resolvedValue","content","showDelay","hideDelay","longTouchDuration","open","multiple","debounce","tags","tagHint","noItems","connector","state","connect","noClear","noHint","noToday","noWeeks","range","viewDate","resetView","initials","src","backgroundImage","indeterminate","noShadowX","noShadowY","noOverflowX","noOverflowY","noOverscroll","noScrolledInit","scrolledBuffer","effect","lines","togglePassword","type","isPasswordShown","mask","noAutoClose","arrowNavigation","noResize","overflow","noInitialFocus","toggle","close","active","loading","submit","noEllipsis","buttonId","a11yCurrent","nativeContentAttributes","buttonGroupPosition","_iconOnly","doClick","iconSrc"],"sources":["../node_modules/.pnpm/@stencil+core@4.12.6/node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.12.6 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, doc, promiseResolve, H } from '@stencil/core';\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n if (importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n }\n return promiseResolve(opts);\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-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AC,IAAA,IAAA2C,UAAA,iBAAA1C,IAAA,IAAA2C,UAAA,iBAAA1C,KAAA,IAAAC,YAAA,IAAAC,WAAA,kBAAAC,WAAA,kBAAAC,SAAA,IAAAC,SAAA,IAAAyB,MAAA,IAAA4D,KAAA,IAAApF,MAAA,OAAAC,OAAA,IAAAC,YAAA,mBAAAC,iBAAA,KAAAE,gBAAA,KAAAC,eAAA,KAAA+E,gBAAA,KAAA/C,SAAA,KAAA/B,QAAA,KAAAC,OAAA,KAAAC,MAAA,KAAA6E,KAAA,YAAArF,OAAA,yCAAAG,UAAA,IAAAmF,YAAA,oBAAAC,gBAAA,uBAAAC,SAAA,gBAAAC,SAAA,IAAAC,eAAA,uBAAAC,OAAA,KAAAtC,KAAA,KAAAuC,MAAA,wDAAAtE,QAAA,IAAAU,MAAA,IAAA6D,OAAA,IAAAxE,KAAA,IAAA5B,KAAA,IAAAM,MAAA,IAAAf,SAAA,IAAA8G,QAAA,IAAAC,OAAA,IAAAC,WAAA,kBAAAzE,MAAA,IAAAtD,IAAA,IAAA2E,UAAA,iBAAA1D,KAAA,IAAAyD,SAAA,gBAAAxD,UAAA,iBAAA8G,SAAA,gBAAA1D,UAAA,iBAAA2D,YAAA,mBAAAhG,iBAAA,KAAAiG,wBAAA,KAAAC,oBAAA,4BAAAC,UAAA,KAAA/F,QAAA,KAAAC,OAAA,KAAA+F,QAAA,0CAAA3D,SAAA,0CAAAtB,KAAA,IAAAkB,UAAA,kCAAArD,KAAA,IAAAqH,QAAA,eAAAlF,KAAA,IAAAkB,UAAA,sBAAA9D,EAAA"}
@@ -1,4 +1,4 @@
1
- import{c as t,a as i,o as s}from"./p-81800b65.js";export{C as CatI18nRegistry,b as CatIconRegistry,a as catI18nRegistry,d as catIconRegistry}from"./p-81800b65.js";var e={exports:{}};
1
+ import{c as t,a as i,o as s}from"./p-2c8ac8cf.js";export{C as CatI18nRegistry,b as CatIconRegistry,a as catI18nRegistry,d as catIconRegistry}from"./p-2c8ac8cf.js";var e={exports:{}};
2
2
  /*!
3
3
  * Toastify js 1.12.0
4
4
  * https://github.com/apvarun/toastify-js
@@ -1 +1 @@
1
- {"version":3,"names":["root","factory","module","exports","Toastify","this","global","options","lib","init","version","defaults","oldestFirst","text","node","undefined","duration","selector","callback","destination","newWindow","close","gravity","positionLeft","position","backgroundColor","avatar","className","stopOnFocus","onClick","offset","x","y","escapeMarkup","ariaLive","style","background","prototype","toastify","constructor","toastElement","buildToast","divElement","document","createElement","console","warn","property","setAttribute","nodeType","Node","ELEMENT_NODE","appendChild","innerText","innerHTML","avatarElement","src","insertAdjacentElement","closeElement","type","addEventListener","event","stopPropagation","removeElement","window","clearTimeout","timeOutValue","bind","width","innerWidth","screen","self","setTimeout","open","location","getAxisOffsetAValue","xOffset","yOffset","transform","showToast","rootElement","getElementById","HTMLElement","ShadowRoot","body","elementToInsert","firstChild","lastChild","insertBefore","reposition","hideToast","replace","parentNode","removeChild","call","topLeftOffsetSize","top","bottom","topRightOffsetSize","offsetSize","allToasts","getElementsByClassName","classUsed","i","length","containsClass","height","offsetHeight","substr","axis","isNaN","elem","yourClass","trim","split","indexOf","CatNotificationService","getInstance","instance","show","content","ref","toastContent","getNode","toastOptions","getOptions","toast","template","icon","action","autoClose","i18n","t","firstElementChild","querySelector","onAction","inner","replaceChildren","placement","mode","onDismiss","catNotificationService","objectArrayConnector","data","resolve","ids","of","filter","id","includes","retrieve","term","label","toLowerCase","last","totalElements","render","item","stringArrayConnector","items","map","stringMapConnector","Array","from"],"sources":["../node_modules/.pnpm/toastify-js@1.12.0/node_modules/toastify-js/src/toastify.js","src/components/cat-notification/cat-notification.tsx","src/components/cat-select/connectors.ts"],"sourcesContent":["/*!\n * Toastify js 1.12.0\n * https://github.com/apvarun/toastify-js\n * @license MIT licensed\n *\n * Copyright (C) 2018 Varun A P\n */\n(function(root, factory) {\n if (typeof module === \"object\" && module.exports) {\n module.exports = factory();\n } else {\n root.Toastify = factory();\n }\n})(this, function(global) {\n // Object initialization\n var Toastify = function(options) {\n // Returning a new init object\n return new Toastify.lib.init(options);\n },\n // Library version\n version = \"1.12.0\";\n\n // Set the default global options\n Toastify.defaults = {\n oldestFirst: true,\n text: \"Toastify is awesome!\",\n node: undefined,\n duration: 3000,\n selector: undefined,\n callback: function () {\n },\n destination: undefined,\n newWindow: false,\n close: false,\n gravity: \"toastify-top\",\n positionLeft: false,\n position: '',\n backgroundColor: '',\n avatar: \"\",\n className: \"\",\n stopOnFocus: true,\n onClick: function () {\n },\n offset: {x: 0, y: 0},\n escapeMarkup: true,\n ariaLive: 'polite',\n style: {background: ''}\n };\n\n // Defining the prototype of the object\n Toastify.lib = Toastify.prototype = {\n toastify: version,\n\n constructor: Toastify,\n\n // Initializing the object with required parameters\n init: function(options) {\n // Verifying and validating the input object\n if (!options) {\n options = {};\n }\n\n // Creating the options object\n this.options = {};\n\n this.toastElement = null;\n\n // Validating the options\n this.options.text = options.text || Toastify.defaults.text; // Display message\n this.options.node = options.node || Toastify.defaults.node; // Display content as node\n this.options.duration = options.duration === 0 ? 0 : options.duration || Toastify.defaults.duration; // Display duration\n this.options.selector = options.selector || Toastify.defaults.selector; // Parent selector\n this.options.callback = options.callback || Toastify.defaults.callback; // Callback after display\n this.options.destination = options.destination || Toastify.defaults.destination; // On-click destination\n this.options.newWindow = options.newWindow || Toastify.defaults.newWindow; // Open destination in new window\n this.options.close = options.close || Toastify.defaults.close; // Show toast close icon\n this.options.gravity = options.gravity === \"bottom\" ? \"toastify-bottom\" : Toastify.defaults.gravity; // toast position - top or bottom\n this.options.positionLeft = options.positionLeft || Toastify.defaults.positionLeft; // toast position - left or right\n this.options.position = options.position || Toastify.defaults.position; // toast position - left or right\n this.options.backgroundColor = options.backgroundColor || Toastify.defaults.backgroundColor; // toast background color\n this.options.avatar = options.avatar || Toastify.defaults.avatar; // img element src - url or a path\n this.options.className = options.className || Toastify.defaults.className; // additional class names for the toast\n this.options.stopOnFocus = options.stopOnFocus === undefined ? Toastify.defaults.stopOnFocus : options.stopOnFocus; // stop timeout on focus\n this.options.onClick = options.onClick || Toastify.defaults.onClick; // Callback after click\n this.options.offset = options.offset || Toastify.defaults.offset; // toast offset\n this.options.escapeMarkup = options.escapeMarkup !== undefined ? options.escapeMarkup : Toastify.defaults.escapeMarkup;\n this.options.ariaLive = options.ariaLive || Toastify.defaults.ariaLive;\n this.options.style = options.style || Toastify.defaults.style;\n if(options.backgroundColor) {\n this.options.style.background = options.backgroundColor;\n }\n\n // Returning the current object for chaining functions\n return this;\n },\n\n // Building the DOM element\n buildToast: function() {\n // Validating if the options are defined\n if (!this.options) {\n throw \"Toastify is not initialized\";\n }\n\n // Creating the DOM object\n var divElement = document.createElement(\"div\");\n divElement.className = \"toastify on \" + this.options.className;\n\n // Positioning toast to left or right or center\n if (!!this.options.position) {\n divElement.className += \" toastify-\" + this.options.position;\n } else {\n // To be depreciated in further versions\n if (this.options.positionLeft === true) {\n divElement.className += \" toastify-left\";\n console.warn('Property `positionLeft` will be depreciated in further versions. Please use `position` instead.')\n } else {\n // Default position\n divElement.className += \" toastify-right\";\n }\n }\n\n // Assigning gravity of element\n divElement.className += \" \" + this.options.gravity;\n\n if (this.options.backgroundColor) {\n // This is being deprecated in favor of using the style HTML DOM property\n console.warn('DEPRECATION NOTICE: \"backgroundColor\" is being deprecated. Please use the \"style.background\" property.');\n }\n\n // Loop through our style object and apply styles to divElement\n for (var property in this.options.style) {\n divElement.style[property] = this.options.style[property];\n }\n\n // Announce the toast to screen readers\n if (this.options.ariaLive) {\n divElement.setAttribute('aria-live', this.options.ariaLive)\n }\n\n // Adding the toast message/node\n if (this.options.node && this.options.node.nodeType === Node.ELEMENT_NODE) {\n // If we have a valid node, we insert it\n divElement.appendChild(this.options.node)\n } else {\n if (this.options.escapeMarkup) {\n divElement.innerText = this.options.text;\n } else {\n divElement.innerHTML = this.options.text;\n }\n\n if (this.options.avatar !== \"\") {\n var avatarElement = document.createElement(\"img\");\n avatarElement.src = this.options.avatar;\n\n avatarElement.className = \"toastify-avatar\";\n\n if (this.options.position == \"left\" || this.options.positionLeft === true) {\n // Adding close icon on the left of content\n divElement.appendChild(avatarElement);\n } else {\n // Adding close icon on the right of content\n divElement.insertAdjacentElement(\"afterbegin\", avatarElement);\n }\n }\n }\n\n // Adding a close icon to the toast\n if (this.options.close === true) {\n // Create a span for close element\n var closeElement = document.createElement(\"button\");\n closeElement.type = \"button\";\n closeElement.setAttribute(\"aria-label\", \"Close\");\n closeElement.className = \"toast-close\";\n closeElement.innerHTML = \"&#10006;\";\n\n // Triggering the removal of toast from DOM on close click\n closeElement.addEventListener(\n \"click\",\n function(event) {\n event.stopPropagation();\n this.removeElement(this.toastElement);\n window.clearTimeout(this.toastElement.timeOutValue);\n }.bind(this)\n );\n\n //Calculating screen width\n var width = window.innerWidth > 0 ? window.innerWidth : screen.width;\n\n // Adding the close icon to the toast element\n // Display on the right if screen width is less than or equal to 360px\n if ((this.options.position == \"left\" || this.options.positionLeft === true) && width > 360) {\n // Adding close icon on the left of content\n divElement.insertAdjacentElement(\"afterbegin\", closeElement);\n } else {\n // Adding close icon on the right of content\n divElement.appendChild(closeElement);\n }\n }\n\n // Clear timeout while toast is focused\n if (this.options.stopOnFocus && this.options.duration > 0) {\n var self = this;\n // stop countdown\n divElement.addEventListener(\n \"mouseover\",\n function(event) {\n window.clearTimeout(divElement.timeOutValue);\n }\n )\n // add back the timeout\n divElement.addEventListener(\n \"mouseleave\",\n function() {\n divElement.timeOutValue = window.setTimeout(\n function() {\n // Remove the toast from DOM\n self.removeElement(divElement);\n },\n self.options.duration\n )\n }\n )\n }\n\n // Adding an on-click destination path\n if (typeof this.options.destination !== \"undefined\") {\n divElement.addEventListener(\n \"click\",\n function(event) {\n event.stopPropagation();\n if (this.options.newWindow === true) {\n window.open(this.options.destination, \"_blank\");\n } else {\n window.location = this.options.destination;\n }\n }.bind(this)\n );\n }\n\n if (typeof this.options.onClick === \"function\" && typeof this.options.destination === \"undefined\") {\n divElement.addEventListener(\n \"click\",\n function(event) {\n event.stopPropagation();\n this.options.onClick();\n }.bind(this)\n );\n }\n\n // Adding offset\n if(typeof this.options.offset === \"object\") {\n\n var x = getAxisOffsetAValue(\"x\", this.options);\n var y = getAxisOffsetAValue(\"y\", this.options);\n\n var xOffset = this.options.position == \"left\" ? x : \"-\" + x;\n var yOffset = this.options.gravity == \"toastify-top\" ? y : \"-\" + y;\n\n divElement.style.transform = \"translate(\" + xOffset + \",\" + yOffset + \")\";\n\n }\n\n // Returning the generated element\n return divElement;\n },\n\n // Displaying the toast\n showToast: function() {\n // Creating the DOM object for the toast\n this.toastElement = this.buildToast();\n\n // Getting the root element to with the toast needs to be added\n var rootElement;\n if (typeof this.options.selector === \"string\") {\n rootElement = document.getElementById(this.options.selector);\n } else if (this.options.selector instanceof HTMLElement || (typeof ShadowRoot !== 'undefined' && this.options.selector instanceof ShadowRoot)) {\n rootElement = this.options.selector;\n } else {\n rootElement = document.body;\n }\n\n // Validating if root element is present in DOM\n if (!rootElement) {\n throw \"Root element is not defined\";\n }\n\n // Adding the DOM element\n var elementToInsert = Toastify.defaults.oldestFirst ? rootElement.firstChild : rootElement.lastChild;\n rootElement.insertBefore(this.toastElement, elementToInsert);\n\n // Repositioning the toasts in case multiple toasts are present\n Toastify.reposition();\n\n if (this.options.duration > 0) {\n this.toastElement.timeOutValue = window.setTimeout(\n function() {\n // Remove the toast from DOM\n this.removeElement(this.toastElement);\n }.bind(this),\n this.options.duration\n ); // Binding `this` for function invocation\n }\n\n // Supporting function chaining\n return this;\n },\n\n hideToast: function() {\n if (this.toastElement.timeOutValue) {\n clearTimeout(this.toastElement.timeOutValue);\n }\n this.removeElement(this.toastElement);\n },\n\n // Removing the element from the DOM\n removeElement: function(toastElement) {\n // Hiding the element\n // toastElement.classList.remove(\"on\");\n toastElement.className = toastElement.className.replace(\" on\", \"\");\n\n // Removing the element from DOM after transition end\n window.setTimeout(\n function() {\n // remove options node if any\n if (this.options.node && this.options.node.parentNode) {\n this.options.node.parentNode.removeChild(this.options.node);\n }\n\n // Remove the element from the DOM, only when the parent node was not removed before.\n if (toastElement.parentNode) {\n toastElement.parentNode.removeChild(toastElement);\n }\n\n // Calling the callback function\n this.options.callback.call(toastElement);\n\n // Repositioning the toasts again\n Toastify.reposition();\n }.bind(this),\n 400\n ); // Binding `this` for function invocation\n },\n };\n\n // Positioning the toasts on the DOM\n Toastify.reposition = function() {\n\n // Top margins with gravity\n var topLeftOffsetSize = {\n top: 15,\n bottom: 15,\n };\n var topRightOffsetSize = {\n top: 15,\n bottom: 15,\n };\n var offsetSize = {\n top: 15,\n bottom: 15,\n };\n\n // Get all toast messages on the DOM\n var allToasts = document.getElementsByClassName(\"toastify\");\n\n var classUsed;\n\n // Modifying the position of each toast element\n for (var i = 0; i < allToasts.length; i++) {\n // Getting the applied gravity\n if (containsClass(allToasts[i], \"toastify-top\") === true) {\n classUsed = \"toastify-top\";\n } else {\n classUsed = \"toastify-bottom\";\n }\n\n var height = allToasts[i].offsetHeight;\n classUsed = classUsed.substr(9, classUsed.length-1)\n // Spacing between toasts\n var offset = 15;\n\n var width = window.innerWidth > 0 ? window.innerWidth : screen.width;\n\n // Show toast in center if screen with less than or equal to 360px\n if (width <= 360) {\n // Setting the position\n allToasts[i].style[classUsed] = offsetSize[classUsed] + \"px\";\n\n offsetSize[classUsed] += height + offset;\n } else {\n if (containsClass(allToasts[i], \"toastify-left\") === true) {\n // Setting the position\n allToasts[i].style[classUsed] = topLeftOffsetSize[classUsed] + \"px\";\n\n topLeftOffsetSize[classUsed] += height + offset;\n } else {\n // Setting the position\n allToasts[i].style[classUsed] = topRightOffsetSize[classUsed] + \"px\";\n\n topRightOffsetSize[classUsed] += height + offset;\n }\n }\n }\n\n // Supporting function chaining\n return this;\n };\n\n // Helper function to get offset.\n function getAxisOffsetAValue(axis, options) {\n\n if(options.offset[axis]) {\n if(isNaN(options.offset[axis])) {\n return options.offset[axis];\n }\n else {\n return options.offset[axis] + 'px';\n }\n }\n\n return '0px';\n\n }\n\n function containsClass(elem, yourClass) {\n if (!elem || typeof yourClass !== \"string\") {\n return false;\n } else if (\n elem.className &&\n elem.className\n .trim()\n .split(/\\s+/gi)\n .indexOf(yourClass) > -1\n ) {\n return true;\n } else {\n return false;\n }\n }\n\n // Setting up the prototype for the init object\n Toastify.lib.init.prototype = Toastify.lib;\n\n // Returning the Toastify function to be assigned to the window object/module\n return Toastify;\n});\n","import Toastify, { Options } from 'toastify-js';\nimport { catI18nRegistry as i18n } from '../cat-i18n/cat-i18n-registry';\n\ninterface ToastRef {\n toast?: {\n showToast: () => void;\n hideToast: () => void;\n };\n}\n\nexport interface ToastOptions {\n /** The appearance mode of the notification. (Default: `dark`) */\n mode: 'dark' | 'light';\n /** An optional icon to appear in the notification. */\n icon: string;\n /** The placement of the notification on screen. (Default: `bottom-left`) */\n placement: 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right';\n /** Enables auto-closing of the notification. (Default: `true`) */\n autoClose: boolean;\n /** The duration in ms for the notification to be visible on screen. (Default: `3000`) */\n duration: number;\n /** An optional label for an action button. */\n action: string;\n /** Enable markup escape and sanitise HTML input. (Default: true) */\n escapeMarkup: boolean;\n /** Callback executed when the action button is clicked. Receives a reference to the notification as first argument. */\n onAction: (toast: ToastRef) => void;\n /** Callback executed when the notification is clicked. Receives a reference to the notification as first argument. */\n onClick: (toast: ToastRef) => void;\n /** Callback executed when the notification is dismissed. Receives a reference to the notification as first argument. */\n onDismiss: (toast: ToastRef) => void;\n}\n\nexport class CatNotificationService {\n private static instance: CatNotificationService;\n private static duration = 3000;\n\n private constructor() {\n // hide constructor\n }\n\n static getInstance(): CatNotificationService {\n if (!CatNotificationService.instance) {\n CatNotificationService.instance = new CatNotificationService();\n }\n return CatNotificationService.instance;\n }\n\n show(content: string | Node, options?: Partial<ToastOptions>): () => void {\n const ref: ToastRef = {};\n const toastContent = this.getNode(content, ref, options);\n const toastOptions = this.getOptions(toastContent, ref, options);\n const toast = Toastify(toastOptions);\n ref.toast = toast;\n toast.showToast();\n return () => toast.hideToast();\n }\n\n private getNode(content: string | Node, ref: ToastRef, options?: Partial<ToastOptions>): HTMLElement {\n const template = document.createElement('template');\n template.innerHTML = `<div class=\"cat-toastify-wrapper\">\n ${options?.icon ? `<cat-icon class=\"cat-toastify-icon\" icon=\"${options.icon}\" size=\"l\"></cat-icon>` : ''}\n <div class=\"cat-toastify-content\">\n <div class=\"cat-toastify-inner\"></div>\n ${\n options?.action\n ? `<cat-button class=\"cat-toastify-action cat-button-pull\" size=\"s\" variant=\"text\" color=\"primary\">${options.action}</cat-button>`\n : ''\n }\n </div>\n ${\n options?.autoClose === false\n ? `<cat-button class=\"cat-toastify-close cat-button-pull\" size=\"s\" icon=\"$cat:notification-close\" variant=\"text\" icon-only=\"true\" class=\"close\" a11y-label=\"${i18n.t(\n 'notification.dismiss'\n )}\"></cat-button>`\n : ''\n }\n </div>`;\n\n const node = template.content.firstElementChild as HTMLElement;\n node.querySelector('.cat-toastify-close')?.addEventListener('click', () => ref.toast?.hideToast());\n node.querySelector('.cat-toastify-action')?.addEventListener('click', () => options?.onAction?.(ref));\n const inner = node.querySelector<HTMLDivElement>('.cat-toastify-inner');\n if (inner) {\n if (typeof content !== 'string') {\n inner.replaceChildren(content);\n } else if (options?.escapeMarkup === false) {\n inner.innerHTML = content;\n } else {\n inner.innerText = content;\n }\n }\n\n return node;\n }\n\n private getOptions(node: Node, ref: ToastRef, options?: Partial<ToastOptions>): Options {\n const [gravity, position] = (options?.placement?.split('-') ?? ['bottom', 'left']) as [\n Options['gravity'],\n Options['position']\n ];\n const duration = options?.duration ?? (options?.autoClose === false ? -1 : CatNotificationService.duration);\n return {\n gravity,\n position,\n node,\n duration,\n close: false,\n className: options?.mode === 'light' ? 'cat-toastify' : 'cat-toastify cat-toastify-dark',\n stopOnFocus: true,\n onClick: () => options?.onClick?.(ref),\n callback: () => options?.onDismiss?.(ref),\n offset: {\n x: '1rem',\n y: '1rem'\n }\n };\n }\n}\n\nexport const catNotificationService = CatNotificationService.getInstance();\n","import { of } from 'rxjs';\nimport { CatSelectConnector, RenderInfo } from './cat-select';\n\n/**\n * Creates a connector that resolves local object array data.\n *\n * @param data the object array to connect to\n * @returns a connector that resolves local object array data\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function objectArrayConnector<T extends { id: string } & RenderInfo = any>(data: T[]): CatSelectConnector<T> {\n return {\n resolve: ids => of(data.filter(({ id }) => ids.includes(id))),\n retrieve: term =>\n of({\n content: data.filter(({ label }) => label.toLowerCase().includes(term.toLowerCase())),\n last: true,\n totalElements: data.length\n }),\n render: item => item\n };\n}\n\n/**\n * Creates a connector that resolves local string array data.\n *\n * @param data the string array to connect to\n * @returns a connector that resolves local string array data\n */\nexport function stringArrayConnector(data: string[]): CatSelectConnector<{ id: string; label: string }> {\n const items = data.map(id => ({ id, label: id }));\n return objectArrayConnector(items);\n}\n\n/**\n * Creates a connector that resolves local string map data.\n *\n * @param data the string map to connect to\n * @returns a connector that resolves local string map data\n */\nexport function stringMapConnector(data: Map<string, string>): CatSelectConnector<{ id: string; label: string }> {\n const items = Array.from(data).map(([id, label]) => ({ id, label }));\n return objectArrayConnector(items);\n}\n"],"mappings":";;;;;;;iBAOA,SAAUA,EAAMC,GACd,GAAkCC,EAAOC,QAAS,CAChDD,EAAAC,QAAiBF,GACrB,KAAS,CACLD,EAAKI,SAAWH,GACpB,CACC,EAND,CAMGI,GAAM,SAASC,GAEhB,IAAIF,EAAW,SAASG,GAEpB,OAAO,IAAIH,EAASI,IAAIC,KAAKF,EACnC,EAEIG,EAAU,SAGZN,EAASO,SAAW,CAClBC,YAAa,KACbC,KAAM,uBACNC,KAAMC,UACNC,SAAU,IACVC,SAAUF,UACVG,SAAU,WACd,EACIC,YAAaJ,UACbK,UAAW,MACXC,MAAO,MACPC,QAAS,eACTC,aAAc,MACdC,SAAU,GACVC,gBAAiB,GACjBC,OAAQ,GACRC,UAAW,GACXC,YAAa,KACbC,QAAS,WACb,EACIC,OAAQ,CAACC,E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EAAkEC,GAChF,MAAO,CACLC,QAASC,GAAOC,EAAGH,EAAKI,QAAO,EAAGC,QAASH,EAAII,SAASD,MACxDE,SAAUC,GACRL,EAAG,CACD1B,QAASuB,EAAKI,QAAO,EAAGK,WAAYA,EAAMC,cAAcJ,SAASE,EAAKE,iBACtEC,KAAM,KACNC,cAAeZ,EAAKvC,SAExBoD,OAAQC,GAAQA,EAEpB,C,SAQgBC,EAAqBf,GACnC,MAAMgB,EAAQhB,EAAKiB,KAAIZ,IAAE,CAAOA,KAAII,MAAOJ,MAC3C,OAAON,EAAqBiB,EAC9B,C,SAQgBE,EAAmBlB,GACjC,MAAMgB,EAAQG,MAAMC,KAAKpB,GAAMiB,KAAI,EAAEZ,EAAII,MAAM,CAAQJ,KAAII,YAC3D,OAAOV,EAAqBiB,EAC9B,Q"}
1
+ {"version":3,"names":["root","factory","module","exports","Toastify","this","global","options","lib","init","version","defaults","oldestFirst","text","node","undefined","duration","selector","callback","destination","newWindow","close","gravity","positionLeft","position","backgroundColor","avatar","className","stopOnFocus","onClick","offset","x","y","escapeMarkup","ariaLive","style","background","prototype","toastify","constructor","toastElement","buildToast","divElement","document","createElement","console","warn","property","setAttribute","nodeType","Node","ELEMENT_NODE","appendChild","innerText","innerHTML","avatarElement","src","insertAdjacentElement","closeElement","type","addEventListener","event","stopPropagation","removeElement","window","clearTimeout","timeOutValue","bind","width","innerWidth","screen","self","setTimeout","open","location","getAxisOffsetAValue","xOffset","yOffset","transform","showToast","rootElement","getElementById","HTMLElement","ShadowRoot","body","elementToInsert","firstChild","lastChild","insertBefore","reposition","hideToast","replace","parentNode","removeChild","call","topLeftOffsetSize","top","bottom","topRightOffsetSize","offsetSize","allToasts","getElementsByClassName","classUsed","i","length","containsClass","height","offsetHeight","substr","axis","isNaN","elem","yourClass","trim","split","indexOf","CatNotificationService","getInstance","instance","show","content","ref","toastContent","getNode","toastOptions","getOptions","toast","template","icon","action","autoClose","i18n","t","firstElementChild","querySelector","onAction","inner","replaceChildren","placement","mode","onDismiss","catNotificationService","objectArrayConnector","data","resolve","ids","of","filter","id","includes","retrieve","term","label","toLowerCase","last","totalElements","render","item","stringArrayConnector","items","map","stringMapConnector","Array","from"],"sources":["../node_modules/.pnpm/toastify-js@1.12.0/node_modules/toastify-js/src/toastify.js","src/components/cat-notification/cat-notification.tsx","src/components/cat-select/connectors.ts"],"sourcesContent":["/*!\n * Toastify js 1.12.0\n * https://github.com/apvarun/toastify-js\n * @license MIT licensed\n *\n * Copyright (C) 2018 Varun A P\n */\n(function(root, factory) {\n if (typeof module === \"object\" && module.exports) {\n module.exports = factory();\n } else {\n root.Toastify = factory();\n }\n})(this, function(global) {\n // Object initialization\n var Toastify = function(options) {\n // Returning a new init object\n return new Toastify.lib.init(options);\n },\n // Library version\n version = \"1.12.0\";\n\n // Set the default global options\n Toastify.defaults = {\n oldestFirst: true,\n text: \"Toastify is awesome!\",\n node: undefined,\n duration: 3000,\n selector: undefined,\n callback: function () {\n },\n destination: undefined,\n newWindow: false,\n close: false,\n gravity: \"toastify-top\",\n positionLeft: false,\n position: '',\n backgroundColor: '',\n avatar: \"\",\n className: \"\",\n stopOnFocus: true,\n onClick: function () {\n },\n offset: {x: 0, y: 0},\n escapeMarkup: true,\n ariaLive: 'polite',\n style: {background: ''}\n };\n\n // Defining the prototype of the object\n Toastify.lib = Toastify.prototype = {\n toastify: version,\n\n constructor: Toastify,\n\n // Initializing the object with required parameters\n init: function(options) {\n // Verifying and validating the input object\n if (!options) {\n options = {};\n }\n\n // Creating the options object\n this.options = {};\n\n this.toastElement = null;\n\n // Validating the options\n this.options.text = options.text || Toastify.defaults.text; // Display message\n this.options.node = options.node || Toastify.defaults.node; // Display content as node\n this.options.duration = options.duration === 0 ? 0 : options.duration || Toastify.defaults.duration; // Display duration\n this.options.selector = options.selector || Toastify.defaults.selector; // Parent selector\n this.options.callback = options.callback || Toastify.defaults.callback; // Callback after display\n this.options.destination = options.destination || Toastify.defaults.destination; // On-click destination\n this.options.newWindow = options.newWindow || Toastify.defaults.newWindow; // Open destination in new window\n this.options.close = options.close || Toastify.defaults.close; // Show toast close icon\n this.options.gravity = options.gravity === \"bottom\" ? \"toastify-bottom\" : Toastify.defaults.gravity; // toast position - top or bottom\n this.options.positionLeft = options.positionLeft || Toastify.defaults.positionLeft; // toast position - left or right\n this.options.position = options.position || Toastify.defaults.position; // toast position - left or right\n this.options.backgroundColor = options.backgroundColor || Toastify.defaults.backgroundColor; // toast background color\n this.options.avatar = options.avatar || Toastify.defaults.avatar; // img element src - url or a path\n this.options.className = options.className || Toastify.defaults.className; // additional class names for the toast\n this.options.stopOnFocus = options.stopOnFocus === undefined ? Toastify.defaults.stopOnFocus : options.stopOnFocus; // stop timeout on focus\n this.options.onClick = options.onClick || Toastify.defaults.onClick; // Callback after click\n this.options.offset = options.offset || Toastify.defaults.offset; // toast offset\n this.options.escapeMarkup = options.escapeMarkup !== undefined ? options.escapeMarkup : Toastify.defaults.escapeMarkup;\n this.options.ariaLive = options.ariaLive || Toastify.defaults.ariaLive;\n this.options.style = options.style || Toastify.defaults.style;\n if(options.backgroundColor) {\n this.options.style.background = options.backgroundColor;\n }\n\n // Returning the current object for chaining functions\n return this;\n },\n\n // Building the DOM element\n buildToast: function() {\n // Validating if the options are defined\n if (!this.options) {\n throw \"Toastify is not initialized\";\n }\n\n // Creating the DOM object\n var divElement = document.createElement(\"div\");\n divElement.className = \"toastify on \" + this.options.className;\n\n // Positioning toast to left or right or center\n if (!!this.options.position) {\n divElement.className += \" toastify-\" + this.options.position;\n } else {\n // To be depreciated in further versions\n if (this.options.positionLeft === true) {\n divElement.className += \" toastify-left\";\n console.warn('Property `positionLeft` will be depreciated in further versions. Please use `position` instead.')\n } else {\n // Default position\n divElement.className += \" toastify-right\";\n }\n }\n\n // Assigning gravity of element\n divElement.className += \" \" + this.options.gravity;\n\n if (this.options.backgroundColor) {\n // This is being deprecated in favor of using the style HTML DOM property\n console.warn('DEPRECATION NOTICE: \"backgroundColor\" is being deprecated. Please use the \"style.background\" property.');\n }\n\n // Loop through our style object and apply styles to divElement\n for (var property in this.options.style) {\n divElement.style[property] = this.options.style[property];\n }\n\n // Announce the toast to screen readers\n if (this.options.ariaLive) {\n divElement.setAttribute('aria-live', this.options.ariaLive)\n }\n\n // Adding the toast message/node\n if (this.options.node && this.options.node.nodeType === Node.ELEMENT_NODE) {\n // If we have a valid node, we insert it\n divElement.appendChild(this.options.node)\n } else {\n if (this.options.escapeMarkup) {\n divElement.innerText = this.options.text;\n } else {\n divElement.innerHTML = this.options.text;\n }\n\n if (this.options.avatar !== \"\") {\n var avatarElement = document.createElement(\"img\");\n avatarElement.src = this.options.avatar;\n\n avatarElement.className = \"toastify-avatar\";\n\n if (this.options.position == \"left\" || this.options.positionLeft === true) {\n // Adding close icon on the left of content\n divElement.appendChild(avatarElement);\n } else {\n // Adding close icon on the right of content\n divElement.insertAdjacentElement(\"afterbegin\", avatarElement);\n }\n }\n }\n\n // Adding a close icon to the toast\n if (this.options.close === true) {\n // Create a span for close element\n var closeElement = document.createElement(\"button\");\n closeElement.type = \"button\";\n closeElement.setAttribute(\"aria-label\", \"Close\");\n closeElement.className = \"toast-close\";\n closeElement.innerHTML = \"&#10006;\";\n\n // Triggering the removal of toast from DOM on close click\n closeElement.addEventListener(\n \"click\",\n function(event) {\n event.stopPropagation();\n this.removeElement(this.toastElement);\n window.clearTimeout(this.toastElement.timeOutValue);\n }.bind(this)\n );\n\n //Calculating screen width\n var width = window.innerWidth > 0 ? window.innerWidth : screen.width;\n\n // Adding the close icon to the toast element\n // Display on the right if screen width is less than or equal to 360px\n if ((this.options.position == \"left\" || this.options.positionLeft === true) && width > 360) {\n // Adding close icon on the left of content\n divElement.insertAdjacentElement(\"afterbegin\", closeElement);\n } else {\n // Adding close icon on the right of content\n divElement.appendChild(closeElement);\n }\n }\n\n // Clear timeout while toast is focused\n if (this.options.stopOnFocus && this.options.duration > 0) {\n var self = this;\n // stop countdown\n divElement.addEventListener(\n \"mouseover\",\n function(event) {\n window.clearTimeout(divElement.timeOutValue);\n }\n )\n // add back the timeout\n divElement.addEventListener(\n \"mouseleave\",\n function() {\n divElement.timeOutValue = window.setTimeout(\n function() {\n // Remove the toast from DOM\n self.removeElement(divElement);\n },\n self.options.duration\n )\n }\n )\n }\n\n // Adding an on-click destination path\n if (typeof this.options.destination !== \"undefined\") {\n divElement.addEventListener(\n \"click\",\n function(event) {\n event.stopPropagation();\n if (this.options.newWindow === true) {\n window.open(this.options.destination, \"_blank\");\n } else {\n window.location = this.options.destination;\n }\n }.bind(this)\n );\n }\n\n if (typeof this.options.onClick === \"function\" && typeof this.options.destination === \"undefined\") {\n divElement.addEventListener(\n \"click\",\n function(event) {\n event.stopPropagation();\n this.options.onClick();\n }.bind(this)\n );\n }\n\n // Adding offset\n if(typeof this.options.offset === \"object\") {\n\n var x = getAxisOffsetAValue(\"x\", this.options);\n var y = getAxisOffsetAValue(\"y\", this.options);\n\n var xOffset = this.options.position == \"left\" ? x : \"-\" + x;\n var yOffset = this.options.gravity == \"toastify-top\" ? y : \"-\" + y;\n\n divElement.style.transform = \"translate(\" + xOffset + \",\" + yOffset + \")\";\n\n }\n\n // Returning the generated element\n return divElement;\n },\n\n // Displaying the toast\n showToast: function() {\n // Creating the DOM object for the toast\n this.toastElement = this.buildToast();\n\n // Getting the root element to with the toast needs to be added\n var rootElement;\n if (typeof this.options.selector === \"string\") {\n rootElement = document.getElementById(this.options.selector);\n } else if (this.options.selector instanceof HTMLElement || (typeof ShadowRoot !== 'undefined' && this.options.selector instanceof ShadowRoot)) {\n rootElement = this.options.selector;\n } else {\n rootElement = document.body;\n }\n\n // Validating if root element is present in DOM\n if (!rootElement) {\n throw \"Root element is not defined\";\n }\n\n // Adding the DOM element\n var elementToInsert = Toastify.defaults.oldestFirst ? rootElement.firstChild : rootElement.lastChild;\n rootElement.insertBefore(this.toastElement, elementToInsert);\n\n // Repositioning the toasts in case multiple toasts are present\n Toastify.reposition();\n\n if (this.options.duration > 0) {\n this.toastElement.timeOutValue = window.setTimeout(\n function() {\n // Remove the toast from DOM\n this.removeElement(this.toastElement);\n }.bind(this),\n this.options.duration\n ); // Binding `this` for function invocation\n }\n\n // Supporting function chaining\n return this;\n },\n\n hideToast: function() {\n if (this.toastElement.timeOutValue) {\n clearTimeout(this.toastElement.timeOutValue);\n }\n this.removeElement(this.toastElement);\n },\n\n // Removing the element from the DOM\n removeElement: function(toastElement) {\n // Hiding the element\n // toastElement.classList.remove(\"on\");\n toastElement.className = toastElement.className.replace(\" on\", \"\");\n\n // Removing the element from DOM after transition end\n window.setTimeout(\n function() {\n // remove options node if any\n if (this.options.node && this.options.node.parentNode) {\n this.options.node.parentNode.removeChild(this.options.node);\n }\n\n // Remove the element from the DOM, only when the parent node was not removed before.\n if (toastElement.parentNode) {\n toastElement.parentNode.removeChild(toastElement);\n }\n\n // Calling the callback function\n this.options.callback.call(toastElement);\n\n // Repositioning the toasts again\n Toastify.reposition();\n }.bind(this),\n 400\n ); // Binding `this` for function invocation\n },\n };\n\n // Positioning the toasts on the DOM\n Toastify.reposition = function() {\n\n // Top margins with gravity\n var topLeftOffsetSize = {\n top: 15,\n bottom: 15,\n };\n var topRightOffsetSize = {\n top: 15,\n bottom: 15,\n };\n var offsetSize = {\n top: 15,\n bottom: 15,\n };\n\n // Get all toast messages on the DOM\n var allToasts = document.getElementsByClassName(\"toastify\");\n\n var classUsed;\n\n // Modifying the position of each toast element\n for (var i = 0; i < allToasts.length; i++) {\n // Getting the applied gravity\n if (containsClass(allToasts[i], \"toastify-top\") === true) {\n classUsed = \"toastify-top\";\n } else {\n classUsed = \"toastify-bottom\";\n }\n\n var height = allToasts[i].offsetHeight;\n classUsed = classUsed.substr(9, classUsed.length-1)\n // Spacing between toasts\n var offset = 15;\n\n var width = window.innerWidth > 0 ? window.innerWidth : screen.width;\n\n // Show toast in center if screen with less than or equal to 360px\n if (width <= 360) {\n // Setting the position\n allToasts[i].style[classUsed] = offsetSize[classUsed] + \"px\";\n\n offsetSize[classUsed] += height + offset;\n } else {\n if (containsClass(allToasts[i], \"toastify-left\") === true) {\n // Setting the position\n allToasts[i].style[classUsed] = topLeftOffsetSize[classUsed] + \"px\";\n\n topLeftOffsetSize[classUsed] += height + offset;\n } else {\n // Setting the position\n allToasts[i].style[classUsed] = topRightOffsetSize[classUsed] + \"px\";\n\n topRightOffsetSize[classUsed] += height + offset;\n }\n }\n }\n\n // Supporting function chaining\n return this;\n };\n\n // Helper function to get offset.\n function getAxisOffsetAValue(axis, options) {\n\n if(options.offset[axis]) {\n if(isNaN(options.offset[axis])) {\n return options.offset[axis];\n }\n else {\n return options.offset[axis] + 'px';\n }\n }\n\n return '0px';\n\n }\n\n function containsClass(elem, yourClass) {\n if (!elem || typeof yourClass !== \"string\") {\n return false;\n } else if (\n elem.className &&\n elem.className\n .trim()\n .split(/\\s+/gi)\n .indexOf(yourClass) > -1\n ) {\n return true;\n } else {\n return false;\n }\n }\n\n // Setting up the prototype for the init object\n Toastify.lib.init.prototype = Toastify.lib;\n\n // Returning the Toastify function to be assigned to the window object/module\n return Toastify;\n});\n","import Toastify, { Options } from 'toastify-js';\nimport { catI18nRegistry as i18n } from '../cat-i18n/cat-i18n-registry';\n\ninterface ToastRef {\n toast?: {\n showToast: () => void;\n hideToast: () => void;\n };\n}\n\nexport interface ToastOptions {\n /** The appearance mode of the notification. (Default: `dark`) */\n mode: 'dark' | 'light';\n /** An optional icon to appear in the notification. */\n icon: string;\n /** The placement of the notification on screen. (Default: `bottom-left`) */\n placement: 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right';\n /** Enables auto-closing of the notification. (Default: `true`) */\n autoClose: boolean;\n /** The duration in ms for the notification to be visible on screen. (Default: `3000`) */\n duration: number;\n /** An optional label for an action button. */\n action: string;\n /** Enable markup escape and sanitise HTML input. (Default: true) */\n escapeMarkup: boolean;\n /** Callback executed when the action button is clicked. Receives a reference to the notification as first argument. */\n onAction: (toast: ToastRef) => void;\n /** Callback executed when the notification is clicked. Receives a reference to the notification as first argument. */\n onClick: (toast: ToastRef) => void;\n /** Callback executed when the notification is dismissed. Receives a reference to the notification as first argument. */\n onDismiss: (toast: ToastRef) => void;\n}\n\n/**\n * A service to show additional information via toast notifications.\n */\nexport class CatNotificationService {\n private static instance: CatNotificationService;\n private static duration = 3000;\n\n private constructor() {\n // hide constructor\n }\n\n static getInstance(): CatNotificationService {\n if (!CatNotificationService.instance) {\n CatNotificationService.instance = new CatNotificationService();\n }\n return CatNotificationService.instance;\n }\n\n show(content: string | Node, options?: Partial<ToastOptions>): () => void {\n const ref: ToastRef = {};\n const toastContent = this.getNode(content, ref, options);\n const toastOptions = this.getOptions(toastContent, ref, options);\n const toast = Toastify(toastOptions);\n ref.toast = toast;\n toast.showToast();\n return () => toast.hideToast();\n }\n\n private getNode(content: string | Node, ref: ToastRef, options?: Partial<ToastOptions>): HTMLElement {\n const template = document.createElement('template');\n template.innerHTML = `<div class=\"cat-toastify-wrapper\">\n ${options?.icon ? `<cat-icon class=\"cat-toastify-icon\" icon=\"${options.icon}\" size=\"l\"></cat-icon>` : ''}\n <div class=\"cat-toastify-content\">\n <div class=\"cat-toastify-inner\"></div>\n ${\n options?.action\n ? `<cat-button class=\"cat-toastify-action cat-button-pull\" size=\"s\" variant=\"text\" color=\"primary\">${options.action}</cat-button>`\n : ''\n }\n </div>\n ${\n options?.autoClose === false\n ? `<cat-button class=\"cat-toastify-close cat-button-pull\" size=\"s\" icon=\"$cat:notification-close\" variant=\"text\" icon-only=\"true\" class=\"close\" a11y-label=\"${i18n.t(\n 'notification.dismiss'\n )}\"></cat-button>`\n : ''\n }\n </div>`;\n\n const node = template.content.firstElementChild as HTMLElement;\n node.querySelector('.cat-toastify-close')?.addEventListener('click', () => ref.toast?.hideToast());\n node.querySelector('.cat-toastify-action')?.addEventListener('click', () => options?.onAction?.(ref));\n const inner = node.querySelector<HTMLDivElement>('.cat-toastify-inner');\n if (inner) {\n if (typeof content !== 'string') {\n inner.replaceChildren(content);\n } else if (options?.escapeMarkup === false) {\n inner.innerHTML = content;\n } else {\n inner.innerText = content;\n }\n }\n\n return node;\n }\n\n private getOptions(node: Node, ref: ToastRef, options?: Partial<ToastOptions>): Options {\n const [gravity, position] = (options?.placement?.split('-') ?? ['bottom', 'left']) as [\n Options['gravity'],\n Options['position']\n ];\n const duration = options?.duration ?? (options?.autoClose === false ? -1 : CatNotificationService.duration);\n return {\n gravity,\n position,\n node,\n duration,\n close: false,\n className: options?.mode === 'light' ? 'cat-toastify' : 'cat-toastify cat-toastify-dark',\n stopOnFocus: true,\n onClick: () => options?.onClick?.(ref),\n callback: () => options?.onDismiss?.(ref),\n offset: {\n x: '1rem',\n y: '1rem'\n }\n };\n }\n}\n\nexport const catNotificationService = CatNotificationService.getInstance();\n","import { of } from 'rxjs';\nimport { CatSelectConnector, RenderInfo } from './cat-select';\n\n/**\n * Creates a connector that resolves local object array data.\n *\n * @param data the object array to connect to\n * @returns a connector that resolves local object array data\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function objectArrayConnector<T extends { id: string } & RenderInfo = any>(data: T[]): CatSelectConnector<T> {\n return {\n resolve: ids => of(data.filter(({ id }) => ids.includes(id))),\n retrieve: term =>\n of({\n content: data.filter(({ label }) => label.toLowerCase().includes(term.toLowerCase())),\n last: true,\n totalElements: data.length\n }),\n render: item => item\n };\n}\n\n/**\n * Creates a connector that resolves local string array data.\n *\n * @param data the string array to connect to\n * @returns a connector that resolves local string array data\n */\nexport function stringArrayConnector(data: string[]): CatSelectConnector<{ id: string; label: string }> {\n const items = data.map(id => ({ id, label: id }));\n return objectArrayConnector(items);\n}\n\n/**\n * Creates a connector that resolves local string map data.\n *\n * @param data the string map to connect to\n * @returns a connector that resolves local string map data\n */\nexport function stringMapConnector(data: Map<string, string>): CatSelectConnector<{ id: string; label: string }> {\n const items = Array.from(data).map(([id, label]) => ({ id, label }));\n return objectArrayConnector(items);\n}\n"],"mappings":";;;;;;;iBAOA,SAAUA,EAAMC,GACd,GAAkCC,E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,CAAW/G,EAAY2G,EAAelH,GAC5C,MAAOe,EAASE,GAAajB,GAASmI,WAAWxB,MAAM,MAAQ,CAAC,SAAU,QAI1E,MAAMlG,EAAWT,GAASS,WAAaT,GAAS2H,YAAc,OAAS,EAAId,EAAuBpG,UAClG,MAAO,CACLM,UACAE,WACAV,OACAE,WACAK,MAAO,MACPM,UAAWpB,GAASoI,OAAS,QAAU,eAAiB,iCACxD/G,YAAa,KACbC,QAAS,IAAMtB,GAASsB,UAAU4F,GAClCvG,SAAU,IAAMX,GAASqI,YAAYnB,GACrC3F,OAAQ,CACNC,EAAG,OACHC,EAAG,Q,EA/EMoF,EAAApG,SAAW,I,MAqFf6H,EAAyBzB,EAAuBC,c,SCjH7CyB,EAAkEC,GAChF,MAAO,CACLC,QAASC,GAAOC,EAAGH,EAAKI,QAAO,EAAGC,QAASH,EAAII,SAASD,MACxDE,SAAUC,GACRL,EAAG,CACD1B,QAASuB,EAAKI,QAAO,EAAGK,WAAYA,EAAMC,cAAcJ,SAASE,EAAKE,iBACtEC,KAAM,KACNC,cAAeZ,EAAKvC,SAExBoD,OAAQC,GAAQA,EAEpB,C,SAQgBC,EAAqBf,GACnC,MAAMgB,EAAQhB,EAAKiB,KAAIZ,IAAE,CAAOA,KAAII,MAAOJ,MAC3C,OAAON,EAAqBiB,EAC9B,C,SAQgBE,EAAmBlB,GACjC,MAAMgB,EAAQG,MAAMC,KAAKpB,GAAMiB,KAAI,EAAEZ,EAAII,MAAM,CAAQJ,KAAII,YAC3D,OAAOV,EAAqBiB,EAC9B,Q"}
@@ -0,0 +1,2 @@
1
+ var t=typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};var n={exports:{}};(function(n){(function(t,e){if(n.exports){n.exports=e()}else{t.log=e()}})(t,(function(){var t=function(){};var n="undefined";var e=typeof window!==n&&typeof window.navigator!==n&&/Trident\/|MSIE /.test(window.navigator.userAgent);var r=["trace","debug","info","warn","error"];var i={};var o=null;function s(t,n){var e=t[n];if(typeof e.bind==="function"){return e.bind(t)}else{try{return Function.prototype.bind.call(e,t)}catch(n){return function(){return Function.prototype.apply.apply(e,[t,arguments])}}}}function l(){if(console.log){if(console.log.apply){console.log.apply(console,arguments)}else{Function.prototype.apply.apply(console.log,[console,arguments])}}if(console.trace)console.trace()}function c(r){if(r==="debug"){r="log"}if(typeof console===n){return false}else if(r==="trace"&&e){return l}else if(console[r]!==undefined){return s(console,r)}else if(console.log!==undefined){return s(console,"log")}else{return t}}function u(){var e=this.getLevel();for(var i=0;i<r.length;i++){var o=r[i];this[o]=i<e?t:this.methodFactory(o,e,this.name)}this.log=this.debug;if(typeof console===n&&e<this.levels.SILENT){return"No console available for logging"}}function a(t){return function(){if(typeof console!==n){u.call(this);this[t].apply(this,arguments)}}}function f(t,n,e){return c(t)||a.apply(this,arguments)}function d(t,e){var s=this;var l;var c;var a;var d="loglevel";if(typeof t==="string"){d+=":"+t}else if(typeof t==="symbol"){d=undefined}function h(t){var e=(r[t]||"silent").toUpperCase();if(typeof window===n||!d)return;try{window.localStorage[d]=e;return}catch(t){}try{window.document.cookie=encodeURIComponent(d)+"="+e+";"}catch(t){}}function w(){var t;if(typeof window===n||!d)return;try{t=window.localStorage[d]}catch(t){}if(typeof t===n){try{var e=window.document.cookie;var r=encodeURIComponent(d);var i=e.indexOf(r+"=");if(i!==-1){t=/^([^;]+)/.exec(e.slice(i+r.length+1))[1]}}catch(t){}}if(s.levels[t]===undefined){t=undefined}return t}function v(){if(typeof window===n||!d)return;try{window.localStorage.removeItem(d)}catch(t){}try{window.document.cookie=encodeURIComponent(d)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch(t){}}function p(t){var n=t;if(typeof n==="string"&&s.levels[n.toUpperCase()]!==undefined){n=s.levels[n.toUpperCase()]}if(typeof n==="number"&&n>=0&&n<=s.levels.SILENT){return n}else{throw new TypeError("log.setLevel() called with invalid level: "+t)}}s.name=t;s.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5};s.methodFactory=e||f;s.getLevel=function(){if(a!=null){return a}else if(c!=null){return c}else{return l}};s.setLevel=function(t,n){a=p(t);if(n!==false){h(a)}return u.call(s)};s.setDefaultLevel=function(t){c=p(t);if(!w()){s.setLevel(t,false)}};s.resetLevel=function(){a=null;v();u.call(s)};s.enableAll=function(t){s.setLevel(s.levels.TRACE,t)};s.disableAll=function(t){s.setLevel(s.levels.SILENT,t)};s.rebuild=function(){if(o!==s){l=p(o.getLevel())}u.call(s);if(o===s){for(var t in i){i[t].rebuild()}}};l=p(o?o.getLevel():"WARN");var g=w();if(g!=null){a=p(g)}u.call(s)}o=new d;o.getLogger=function t(n){if(typeof n!=="symbol"&&typeof n!=="string"||n===""){throw new TypeError("You must supply a name when creating a logger.")}var e=i[n];if(!e){e=i[n]=new d(n,o.methodFactory)}return e};var h=typeof window!==n?window.log:undefined;o.noConflict=function(){if(typeof window!==n&&window.log===o){window.log=h}return o};o.getLoggers=function t(){return i};o["default"]=o;return o}))})(n);const e=n.exports;class r{constructor(){this.id=(Math.random()+1).toString(36).substring(2);this.i18n=new Map;window.addEventListener("cat-i18n-setLocale",(t=>{const{detail:n}=t||{};if(n&&n.id!==this.id){this.setLocale(n.locale,true)}}));window.addEventListener("cat-i18n-set",(t=>{const{detail:n}=t||{};if(n&&n.id!==this.id){this.set(n.i18n,true)}}));window.addEventListener("cat-i18n-clear",(t=>{const{detail:n}=t||{};if(n&&n.id!==this.id){this.clear(true)}}))}static getInstance(){if(!r.instance){r.instance=new r}return r.instance}getLocale(){return this._locale??window?.navigator?.language??"en"}setLocale(t,n=false){try{this._locale=Intl.getCanonicalLocales(t)[0];e.info(`[CatI18nRegistry::${this.id}] Set locale: ${this._locale}`);!n&&window.dispatchEvent(this.buildEvent("cat-i18n-setLocale",{locale:t,id:this.id}))}catch(n){e.error(`[CatI18nRegistry::${this.id}] Invalid locale: ${t}`)}}set(t,n=false){if(typeof t==="function"){this._translator=t;e.info(`[CatI18nRegistry::${this.id}] Registered translator`)}else{const n=Object.entries(t);n.forEach((([t,n])=>this.i18n.set(t,n)));e.info(`[CatI18nRegistry::${this.id}] Registered ${n.length!==1?"messages":"message"}`)}!n&&window.dispatchEvent(this.buildEvent("cat-i18n-set",{i18n:t,id:this.id}))}clear(t=false){this.i18n.clear();e.info(`[CatI18nRegistry::${this.id}] Cleared messages`);!t&&window.dispatchEvent(this.buildEvent("cat-i18n-clear"))}t(t,n){const r=this._translator?.(t,n)??this.i18n.get(t)?.replace(/{{\s*([-a-zA-Z._]+)\s*}}/g,((t,e)=>`${n?.[e]??""}`));if(r===undefined){e.error(`[CatI18nRegistry::${this.id}] Unknown message key: ${t}`);return t}return r}buildEvent(t,n){return new CustomEvent(t,{bubbles:true,composed:true,detail:n})}}const i=r.getInstance();const o=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.53 4.53a.75.75 0 0 0-1.06-1.06l-4 4a.75.75 0 0 0 0 1.06l4 4a.75.75 0 0 0 1.06-1.06L4.06 8l3.47-3.47Z"/><path d="M12.53 4.53a.75.75 0 0 0-1.06-1.06l-4 4a.75.75 0 0 0 0 1.06l4 4a.75.75 0 1 0 1.06-1.06L9.06 8l3.47-3.47Z"/></svg>`;const s=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4.53 3.47a.75.75 0 0 0-1.06 1.06L6.94 8l-3.47 3.47a.75.75 0 1 0 1.06 1.06l4-4a.75.75 0 0 0 0-1.06l-4-4Z"/><path d="M9.53 3.47a.75.75 0 0 0-1.06 1.06L11.94 8l-3.47 3.47a.75.75 0 1 0 1.06 1.06l4-4a.75.75 0 0 0 0-1.06l-4-4Z"/></svg>`;const l=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M10.53 3.47a.75.75 0 0 1 0 1.06L7.06 8l3.47 3.47a.75.75 0 1 1-1.06 1.06l-4-4a.75.75 0 0 1 0-1.06l4-4a.75.75 0 0 1 1.06 0Z" clip-rule="evenodd"/></svg>`;const c=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M5.47 3.47a.75.75 0 0 1 1.06 0l4 4a.75.75 0 0 1 0 1.06l-4 4a.75.75 0 0 1-1.06-1.06L8.94 8 5.47 4.53a.75.75 0 0 1 0-1.06Z" clip-rule="evenodd"/></svg>`;const u=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4.53 3.47a.75.75 0 0 0-1.06 1.06L6.94 8l-3.47 3.47a.75.75 0 1 0 1.06 1.06L8 9.06l3.47 3.47a.75.75 0 1 0 1.06-1.06L9.06 8l3.47-3.47a.75.75 0 0 0-1.06-1.06L8 6.94 4.53 3.47Z"/></svg>`;const a=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13 16a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm-.25-8a.75.75 0 0 0-1.5 0v4.5a.75.75 0 0 0 1.5 0V8Z"/><path fill-rule="evenodd" d="M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12ZM12 3.75a8.25 8.25 0 1 0 0 16.5 8.25 8.25 0 0 0 0-16.5Z" clip-rule="evenodd"/></svg>`;const f=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path fill="#000" fill-rule="evenodd" d="M17 2.25a.75.75 0 0 1 .75.75v.25H18A2.75 2.75 0 0 1 20.75 6v12A2.75 2.75 0 0 1 18 20.75H6A2.75 2.75 0 0 1 3.25 18V6A2.75 2.75 0 0 1 6 3.25h.25V3a.75.75 0 0 1 1.5 0v.25h8.5V3a.75.75 0 0 1 .75-.75ZM6 4.75c-.69 0-1.25.56-1.25 1.25v2.25h14.5V6c0-.69-.56-1.25-1.25-1.25H6Zm-1.25 5V18c0 .69.56 1.25 1.25 1.25h12c.69 0 1.25-.56 1.25-1.25V9.75H4.75Z" clip-rule="evenodd"/></svg>`;const d=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Zm4.768-12.36a1 1 0 1 0-1.536-1.28l-4.3 5.159-2.225-2.226a1 1 0 0 0-1.414 1.414l3 3a1 1 0 0 0 1.475-.067l5-6Z" clip-rule="evenodd"/></svg>`;const h=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M6.47 9.47a.75.75 0 0 1 1.06 0L12 13.94l4.47-4.47a.75.75 0 1 1 1.06 1.06l-5 5a.75.75 0 0 1-1.06 0l-5-5a.75.75 0 0 1 0-1.06Z" clip-rule="evenodd"/></svg>`;const w=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M14.53 6.47a.75.75 0 0 1 0 1.06L10.06 12l4.47 4.47a.75.75 0 1 1-1.06 1.06l-5-5a.75.75 0 0 1 0-1.06l5-5a.75.75 0 0 1 1.06 0Z" clip-rule="evenodd"/></svg>`;const v=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M9.47 6.47a.75.75 0 0 1 1.06 0l5 5a.75.75 0 0 1 0 1.06l-5 5a.75.75 0 1 1-1.06-1.06L13.94 12 9.47 7.53a.75.75 0 0 1 0-1.06Z" clip-rule="evenodd"/></svg>`;const p=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Zm1-15a1 1 0 1 0-2 0v5a1 1 0 0 0 1 1h5a1 1 0 1 0 0-2h-4V7Z" clip-rule="evenodd"/></svg>`;const g=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12.75 7a.75.75 0 0 0-1.5 0v5c0 .414.336.75.75.75h5a.75.75 0 0 0 0-1.5h-4.25V7Z"/><path fill-rule="evenodd" d="M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25ZM3.75 12a8.25 8.25 0 1 1 16.5 0 8.25 8.25 0 0 1-16.5 0Z" clip-rule="evenodd"/></svg>`;const y=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10ZM8.293 8.293a1 1 0 0 1 1.414 0L12 10.586l2.293-2.293a1 1 0 1 1 1.414 1.414L13.414 12l2.293 2.293a1 1 0 0 1-1.414 1.414L12 13.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L10.586 12 8.293 9.707a1 1 0 0 1 0-1.414Z" clip-rule="evenodd"/></svg>`;const m=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.47 8.47a.75.75 0 0 1 1.06 0L12 10.94l2.47-2.47a.75.75 0 1 1 1.06 1.06L13.06 12l2.47 2.47a.75.75 0 1 1-1.06 1.06L12 13.06l-2.47 2.47a.75.75 0 0 1-1.06-1.06L10.94 12 8.47 9.53a.75.75 0 0 1 0-1.06Z"/><path fill-rule="evenodd" d="M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25ZM3.75 12a8.25 8.25 0 1 1 16.5 0 8.25 8.25 0 0 1-16.5 0Z" clip-rule="evenodd"/></svg>`;const b=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7.53 6.47a.75.75 0 0 0-1.06 1.06L10.94 12l-4.47 4.47a.75.75 0 1 0 1.06 1.06L12 13.06l4.47 4.47a.75.75 0 1 0 1.06-1.06L13.06 12l4.47-4.47a.75.75 0 0 0-1.06-1.06L12 10.94 7.53 6.47Z"/></svg>`;const x=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M12 3.25c-.429 0-.85.113-1.22.328a2.5 2.5 0 0 0-.899.891L2.577 16.981a2.554 2.554 0 0 0-.007 2.491c.212.381.519.7.891.926a2.44 2.44 0 0 0 1.234.352h14.61a2.44 2.44 0 0 0 1.233-.352 2.5 2.5 0 0 0 .892-.926 2.553 2.553 0 0 0-.007-2.491L14.119 4.469a2.494 2.494 0 0 0-.899-.891A2.439 2.439 0 0 0 12 3.25ZM12 8a1 1 0 0 1 1 1v3.5a1 1 0 1 1-2 0V9a1 1 0 0 1 1-1Zm1 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z" clip-rule="evenodd"/></svg>`;const Z=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M4.608 7.948a.75.75 0 1 0-1.234.853 12.396 12.396 0 0 0 2.255 2.438l-2.574 2.574a.75.75 0 0 0 1.061 1.06l2.738-2.737c1.283.824 2.777 1.433 4.396 1.58V17a.75.75 0 0 0 1.5 0v-3.284c1.618-.148 3.11-.76 4.392-1.584l2.742 2.742a.75.75 0 0 0 1.06-1.06l-2.579-2.58a12.5 12.5 0 0 0 2.251-2.432.75.75 0 0 0-1.232-.855C17.965 9.99 15.144 12.25 12 12.25c-3.153 0-5.978-2.255-7.392-4.302Z"/></svg>`;const M=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M12 8.25a3.75 3.75 0 1 0 0 7.5 3.75 3.75 0 0 0 0-7.5ZM9.75 12a2.25 2.25 0 1 1 4.5 0 2.25 2.25 0 0 1-4.5 0Z" clip-rule="evenodd"/><path fill-rule="evenodd" d="M12 4.25c-2.735 0-5.158 1.37-6.872 2.948-.862.794-1.567 1.66-2.062 2.475-.479.79-.816 1.62-.816 2.327 0 .707.337 1.538.816 2.327.495.815 1.2 1.68 2.062 2.475C6.842 18.38 9.265 19.75 12 19.75c2.737 0 5.16-1.379 6.873-2.96.861-.795 1.566-1.662 2.06-2.475.479-.786.817-1.614.817-2.315 0-.7-.338-1.529-.817-2.315-.494-.813-1.199-1.68-2.06-2.475C17.16 5.629 14.737 4.25 12 4.25ZM3.75 12c0-.293.167-.837.598-1.548.416-.685 1.03-1.444 1.796-2.15C7.688 6.88 9.764 5.75 12 5.75c2.234 0 4.31 1.136 5.855 2.562.767.708 1.38 1.468 1.797 2.153.433.71.598 1.25.598 1.535 0 .285-.165.824-.598 1.535-.416.685-1.03 1.445-1.797 2.153-1.544 1.426-3.621 2.562-5.855 2.562-2.235 0-4.312-1.13-5.856-2.552-.767-.706-1.38-1.465-1.796-2.15-.431-.71-.598-1.255-.598-1.548Z" clip-rule="evenodd"/></svg>`;const S=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12ZM13 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm0 3.5a1 1 0 1 0-2 0V16a1 1 0 1 0 2 0v-4.5Z" clip-rule="evenodd"/></svg>`;const L=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-7.82-3.001L12 5 9.82 8.999l-4.477.838 3.129 3.31-.587 4.516L12 15.71l4.114 1.953-.586-4.517 3.13-3.31L14.18 9Z" clip-rule="evenodd"/></svg>`;class E{constructor(){this.id=(Math.random()+1).toString(36).substring(2);this.icons=new Map;this.syncIcons=true;this.addIcons({"alert-primary":L,"alert-secondary":p,"alert-info":S,"alert-success":d,"alert-warning":x,"alert-danger":y,"datepicker-month-prev":l,"datepicker-month-next":c,"datepicker-year-prev":o,"datepicker-year-next":s,"datepicker-calendar":f,"timepicker-clock":g,"dialog-close":b,"input-close":m,"input-error":a,"input-password-show":M,"input-password-hide":Z,"notification-close":m,"pagination-left":w,"pagination-right":v,"select-clear":u,"select-open":h},"$cat",true);window.addEventListener("cat-icons-added",(t=>{const{detail:n}=t||{};if(this.syncIcons&&n&&n.id!==this.id){this.addIcons(n.icons,n.setName,true)}}));window.addEventListener("cat-icons-removed",(t=>{const{detail:n}=t||{};if(this.syncIcons&&n&&n.id!==this.id){this.removeIcons(n.names,n.setName,true)}}))}static getInstance(){if(!E.instance){E.instance=new E}return E.instance}getIcon(t,n){const r=this.icons.get(this.buildName(t,n));if(!r){e.error(`[CatIconRegistry::${this.id}] Unknown icon${n?` in set ${n}`:""}: ${t}`)}return r}addIcons(t,n,r=false){const i=Object.entries(t);const o=i.length;i.forEach((([t,e])=>this.icons.set(this.buildName(t,n),e)));e.info(`[CatIconRegistry::${this.id}] Added ${o!==1?"icons":"icon"}${n?` to set ${n}`:""}`);!r&&window.dispatchEvent(this.buildEvent("cat-icons-added",{id:this.id,icons:t,setName:n}));return this}removeIcons(t,n,r=false){const i=t.length;t.forEach((t=>this.icons.delete(this.buildName(t,n))));e.info(`[CatIconRegistry::${this.id}] Removed ${i!==1?"icons":"icon"}${n?` from set ${n}`:""}`);!r&&window.dispatchEvent(this.buildEvent("cat-icons-removed",{id:this.id,names:t,setName:n}));return this}buildName(t,n){return n?`${n}:${t}`:t}buildEvent(t,n){return new CustomEvent(t,{bubbles:true,composed:true,detail:n})}}const $=E.getInstance();function I(t){return typeof t==="function"}function C(t){const n=t=>{Error.call(t);t.stack=(new Error).stack};const e=t(n);e.prototype=Object.create(Error.prototype);e.prototype.constructor=e;return e}const B=C((t=>function n(e){t(this);this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map(((t,n)=>`${n+1}) ${t.toString()}`)).join("\n ")}`:"";this.name="UnsubscriptionError";this.errors=e}));function R(t,n){if(t){const e=t.indexOf(n);0<=e&&t.splice(e,1)}}class T{constructor(t){this.initialTeardown=t;this.closed=false;this._parentage=null;this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=true;const{_parentage:n}=this;if(n){this._parentage=null;if(Array.isArray(n)){for(const t of n){t.remove(this)}}else{n.remove(this)}}const{initialTeardown:e}=this;if(I(e)){try{e()}catch(n){t=n instanceof B?n.errors:[n]}}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const n of r){try{k(n)}catch(n){t=t!==null&&t!==void 0?t:[];if(n instanceof B){t=[...t,...n.errors]}else{t.push(n)}}}}if(t){throw new B(t)}}}add(t){var n;if(t&&t!==this){if(this.closed){k(t)}else{if(t instanceof T){if(t.closed||t._hasParent(this)){return}t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;if(n===t){this._parentage=null}else if(Array.isArray(n)){R(n,t)}}remove(t){const{_finalizers:n}=this;n&&R(n,t);if(t instanceof T){t._removeParent(this)}}}T.EMPTY=(()=>{const t=new T;t.closed=true;return t})();const A=T.EMPTY;function _(t){return t instanceof T||t&&"closed"in t&&I(t.remove)&&I(t.add)&&I(t.unsubscribe)}function k(t){if(I(t)){t()}else{t.unsubscribe()}}const O={onUnhandledError:null,onStoppedNotification:null,Promise:undefined,useDeprecatedSynchronousErrorHandling:false,useDeprecatedNextContext:false};const P={setTimeout(t,n,...e){const{delegate:r}=P;if(r===null||r===void 0?void 0:r.setTimeout){return r.setTimeout(t,n,...e)}return setTimeout(t,n,...e)},clearTimeout(t){const{delegate:n}=P;return((n===null||n===void 0?void 0:n.clearTimeout)||clearTimeout)(t)},delegate:undefined};function N(t){P.setTimeout((()=>{const{onUnhandledError:n}=O;if(n){n(t)}else{throw t}}))}function V(){}const U=(()=>H("C",undefined,undefined))();function j(t){return H("E",undefined,t)}function F(t){return H("N",t,undefined)}function H(t,n,e){return{kind:t,value:n,error:e}}let z=null;function D(t){if(O.useDeprecatedSynchronousErrorHandling){const n=!z;if(n){z={errorThrown:false,error:null}}t();if(n){const{errorThrown:t,error:n}=z;z=null;if(t){throw n}}}else{t()}}class Y extends T{constructor(t){super();this.isStopped=false;if(t){this.destination=t;if(_(t)){t.add(this)}}else{this.destination=tt}}static create(t,n,e){return new J(t,n,e)}next(t){if(this.isStopped){X(F(t),this)}else{this._next(t)}}error(t){if(this.isStopped){X(j(t),this)}else{this.isStopped=true;this._error(t)}}complete(){if(this.isStopped){X(U,this)}else{this.isStopped=true;this._complete()}}unsubscribe(){if(!this.closed){this.isStopped=true;super.unsubscribe();this.destination=null}}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const W=Function.prototype.bind;function q(t,n){return W.call(t,n)}class G{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next){try{n.next(t)}catch(t){K(t)}}}error(t){const{partialObserver:n}=this;if(n.error){try{n.error(t)}catch(t){K(t)}}else{K(t)}}complete(){const{partialObserver:t}=this;if(t.complete){try{t.complete()}catch(t){K(t)}}}}class J extends Y{constructor(t,n,e){super();let r;if(I(t)||!t){r={next:t!==null&&t!==void 0?t:undefined,error:n!==null&&n!==void 0?n:undefined,complete:e!==null&&e!==void 0?e:undefined}}else{let n;if(this&&O.useDeprecatedNextContext){n=Object.create(t);n.unsubscribe=()=>this.unsubscribe();r={next:t.next&&q(t.next,n),error:t.error&&q(t.error,n),complete:t.complete&&q(t.complete,n)}}else{r=t}}this.destination=new G(r)}}function K(t){{N(t)}}function Q(t){throw t}function X(t,n){const{onStoppedNotification:e}=O;e&&P.setTimeout((()=>e(t,n)))}const tt={closed:true,next:V,error:Q,complete:V};const nt=(()=>typeof Symbol==="function"&&Symbol.observable||"@@observable")();function et(t){return t}function rt(t){if(t.length===0){return et}if(t.length===1){return t[0]}return function n(e){return t.reduce(((t,n)=>n(t)),e)}}class it{constructor(t){if(t){this._subscribe=t}}lift(t){const n=new it;n.source=this;n.operator=t;return n}subscribe(t,n,e){const r=lt(t)?t:new J(t,n,e);D((()=>{const{operator:t,source:n}=this;r.add(t?t.call(r,n):n?this._subscribe(r):this._trySubscribe(r))}));return r}_trySubscribe(t){try{return this._subscribe(t)}catch(n){t.error(n)}}forEach(t,n){n=ot(n);return new n(((n,e)=>{const r=new J({next:n=>{try{t(n)}catch(t){e(t);r.unsubscribe()}},error:e,complete:n});this.subscribe(r)}))}_subscribe(t){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(t)}[nt](){return this}pipe(...t){return rt(t)(this)}toPromise(t){t=ot(t);return new t(((t,n)=>{let e;this.subscribe((t=>e=t),(t=>n(t)),(()=>t(e)))}))}}it.create=t=>new it(t);function ot(t){var n;return(n=t!==null&&t!==void 0?t:O.Promise)!==null&&n!==void 0?n:Promise}function st(t){return t&&I(t.next)&&I(t.error)&&I(t.complete)}function lt(t){return t&&t instanceof Y||st(t)&&_(t)}function ct(t){return I(t===null||t===void 0?void 0:t.lift)}function ut(t){return n=>{if(ct(n)){return n.lift((function(n){try{return t(n,this)}catch(t){this.error(t)}}))}throw new TypeError("Unable to lift unknown Observable type")}}function at(t,n,e,r,i){return new ft(t,n,e,r,i)}class ft extends Y{constructor(t,n,e,r,i,o){super(t);this.onFinalize=i;this.shouldUnsubscribe=o;this._next=n?function(e){try{n(e)}catch(n){t.error(n)}}:super._next;this._error=r?function(n){try{r(n)}catch(n){t.error(n)}finally{this.unsubscribe()}}:super._error;this._complete=e?function(){try{e()}catch(n){t.error(n)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe();!n&&((t=this.onFinalize)===null||t===void 0?void 0:t.call(this))}}}function dt(t){return t&&I(t.schedule)}function ht(t){return t[t.length-1]}function wt(t){return dt(ht(t))?t.pop():undefined}function vt(t,n){return typeof ht(t)==="number"?t.pop():n}function pt(t,n,e,r){function i(t){return t instanceof e?t:new e((function(n){n(t)}))}return new(e||(e=Promise))((function(e,o){function s(t){try{c(r.next(t))}catch(t){o(t)}}function l(t){try{c(r["throw"](t))}catch(t){o(t)}}function c(t){t.done?e(t.value):i(t.value).then(s,l)}c((r=r.apply(t,n||[])).next())}))}function gt(t){var n=typeof Symbol==="function"&&Symbol.iterator,e=n&&t[n],r=0;if(e)return e.call(t);if(t&&typeof t.length==="number")return{next:function(){if(t&&r>=t.length)t=void 0;return{value:t&&t[r++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function yt(t){return this instanceof yt?(this.v=t,this):new yt(t)}function mt(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=e.apply(t,n||[]),i,o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(t){if(r[t])i[t]=function(n){return new Promise((function(e,r){o.push([t,n,e,r])>1||l(t,n)}))}}function l(t,n){try{c(r[t](n))}catch(t){f(o[0][3],t)}}function c(t){t.value instanceof yt?Promise.resolve(t.value.v).then(u,a):f(o[0][2],t)}function u(t){l("next",t)}function a(t){l("throw",t)}function f(t,n){if(t(n),o.shift(),o.length)l(o[0][0],o[0][1])}}function bt(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=t[Symbol.asyncIterator],e;return n?n.call(t):(t=typeof gt==="function"?gt(t):t[Symbol.iterator](),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise((function(r,o){e=t[n](e),i(r,o,e.done,e.value)}))}}function i(t,n,e,r){Promise.resolve(r).then((function(n){t({value:n,done:e})}),n)}}typeof SuppressedError==="function"?SuppressedError:function(t,n,e){var r=new Error(e);return r.name="SuppressedError",r.error=t,r.suppressed=n,r};const xt=t=>t&&typeof t.length==="number"&&typeof t!=="function";function Zt(t){return I(t===null||t===void 0?void 0:t.then)}function Mt(t){return I(t[nt])}function St(t){return Symbol.asyncIterator&&I(t===null||t===void 0?void 0:t[Symbol.asyncIterator])}function Lt(t){return new TypeError(`You provided ${t!==null&&typeof t==="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Et(){if(typeof Symbol!=="function"||!Symbol.iterator){return"@@iterator"}return Symbol.iterator}const $t=Et();function It(t){return I(t===null||t===void 0?void 0:t[$t])}function Ct(t){return mt(this,arguments,(function*n(){const e=t.getReader();try{while(true){const{value:t,done:n}=yield yt(e.read());if(n){return yield yt(void 0)}yield yield yt(t)}}finally{e.releaseLock()}}))}function Bt(t){return I(t===null||t===void 0?void 0:t.getReader)}function Rt(t){if(t instanceof it){return t}if(t!=null){if(Mt(t)){return Tt(t)}if(xt(t)){return At(t)}if(Zt(t)){return _t(t)}if(St(t)){return Ot(t)}if(It(t)){return kt(t)}if(Bt(t)){return Pt(t)}}throw Lt(t)}function Tt(t){return new it((n=>{const e=t[nt]();if(I(e.subscribe)){return e.subscribe(n)}throw new TypeError("Provided object does not correctly implement Symbol.observable")}))}function At(t){return new it((n=>{for(let e=0;e<t.length&&!n.closed;e++){n.next(t[e])}n.complete()}))}function _t(t){return new it((n=>{t.then((t=>{if(!n.closed){n.next(t);n.complete()}}),(t=>n.error(t))).then(null,N)}))}function kt(t){return new it((n=>{for(const e of t){n.next(e);if(n.closed){return}}n.complete()}))}function Ot(t){return new it((n=>{Nt(t,n).catch((t=>n.error(t)))}))}function Pt(t){return Ot(Ct(t))}function Nt(t,n){var e,r;var i,o;return pt(this,void 0,void 0,(function*(){try{for(e=bt(t);r=yield e.next(),!r.done;){const t=r.value;n.next(t);if(n.closed){return}}}catch(t){i={error:t}}finally{try{if(r&&!r.done&&(o=e.return))yield o.call(e)}finally{if(i)throw i.error}}n.complete()}))}function Vt(t,n,e,r=0,i=false){const o=n.schedule((function(){e();if(i){t.add(this.schedule(null,r))}else{this.unsubscribe()}}),r);t.add(o);if(!i){return o}}function Ut(t,n=0){return ut(((e,r)=>{e.subscribe(at(r,(e=>Vt(r,t,(()=>r.next(e)),n)),(()=>Vt(r,t,(()=>r.complete()),n)),(e=>Vt(r,t,(()=>r.error(e)),n))))}))}function jt(t,n=0){return ut(((e,r)=>{r.add(t.schedule((()=>e.subscribe(r)),n))}))}function Ft(t,n){return Rt(t).pipe(jt(n),Ut(n))}function Ht(t,n){return Rt(t).pipe(jt(n),Ut(n))}function zt(t,n){return new it((e=>{let r=0;return n.schedule((function(){if(r===t.length){e.complete()}else{e.next(t[r++]);if(!e.closed){this.schedule()}}}))}))}function Dt(t,n){return new it((e=>{let r;Vt(e,n,(()=>{r=t[$t]();Vt(e,n,(()=>{let t;let n;try{({value:t,done:n}=r.next())}catch(t){e.error(t);return}if(n){e.complete()}else{e.next(t)}}),0,true)}));return()=>I(r===null||r===void 0?void 0:r.return)&&r.return()}))}function Yt(t,n){if(!t){throw new Error("Iterable cannot be null")}return new it((e=>{Vt(e,n,(()=>{const r=t[Symbol.asyncIterator]();Vt(e,n,(()=>{r.next().then((t=>{if(t.done){e.complete()}else{e.next(t.value)}}))}),0,true)}))}))}function Wt(t,n){return Yt(Ct(t),n)}function qt(t,n){if(t!=null){if(Mt(t)){return Ft(t,n)}if(xt(t)){return zt(t,n)}if(Zt(t)){return Ht(t,n)}if(St(t)){return Yt(t,n)}if(It(t)){return Dt(t,n)}if(Bt(t)){return Wt(t,n)}}throw Lt(t)}function Gt(t,n){return n?qt(t,n):Rt(t)}function Jt(...t){const n=wt(t);return Gt(t,n)}export{r as C,A as E,it as O,T as S,i as a,E as b,t as c,$ as d,C as e,D as f,R as g,ut as h,at as i,Rt as j,Vt as k,I as l,et as m,Gt as n,Jt as o,wt as p,xt as q,dt as r,vt as s,V as t,e as u};
2
+ //# sourceMappingURL=p-2c8ac8cf.js.map