@adyen/bento-vue3 1.32.1 → 1.33.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 (593) hide show
  1. package/dist/@types/packages/vue2/src/components/accordion/accordion.vue.d.ts +5 -5
  2. package/dist/@types/packages/vue2/src/components/accordion/components/accordion-item.vue.d.ts +6 -6
  3. package/dist/@types/packages/vue2/src/components/action-bar/action-bar.vue.d.ts +8 -8
  4. package/dist/@types/packages/vue2/src/components/alert/alert.vue.d.ts +8 -8
  5. package/dist/@types/packages/vue2/src/components/avatar/avatar.vue.d.ts +6 -6
  6. package/dist/@types/packages/vue2/src/components/avatar/components/avatar-image/avatar-image.vue.d.ts +8 -8
  7. package/dist/@types/packages/vue2/src/components/button/button.vue.d.ts +9 -9
  8. package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.vue.d.ts +5 -5
  9. package/dist/@types/packages/vue2/src/components/button/components/loading-button/loading-button.vue.d.ts +7 -7
  10. package/dist/@types/packages/vue2/src/components/button/components/toggle-button/toggle-button.vue.d.ts +6 -6
  11. package/dist/@types/packages/vue2/src/components/card/card.vue.d.ts +8 -8
  12. package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +481 -22
  13. package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +764 -12
  14. package/dist/@types/packages/vue2/src/components/click-outside/click-outside.d.ts +6 -6
  15. package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.vue.d.ts +2149 -17
  16. package/dist/@types/packages/vue2/src/components/country/composables/use-country-capital/use-country-capital.d.ts +1 -1
  17. package/dist/@types/packages/vue2/src/components/country/composables/use-country-name/use-country-name.d.ts +1 -1
  18. package/dist/@types/packages/vue2/src/components/country/composables/use-country-phone-code/use-country-phon-code.d.ts +1 -1
  19. package/dist/@types/packages/vue2/src/components/country/country.vue.d.ts +158 -8
  20. package/dist/@types/packages/vue2/src/components/currency/currency.vue.d.ts +157 -7
  21. package/dist/@types/packages/vue2/src/components/dashed-underline/dashed-underline.vue.d.ts +6 -6
  22. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell/data-grid-cell.types.d.ts +2 -2
  23. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell/data-grid-cell.vue.d.ts +10 -10
  24. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell-actions/data-grid-cell-actions.vue.d.ts +6 -6
  25. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +10 -10
  26. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-config-settings/components/data-grid-config-settings-column-row/data-grid-config-settings-column-row.vue.d.ts +229 -10
  27. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-config-settings/data-grid-config-settings.vue.d.ts +1304 -16
  28. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-lazy-load/data-grid-lazy-load.vue.d.ts +5 -5
  29. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-static-icon/data-grid-static-icon.vue.d.ts +6 -6
  30. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-column-width/use-calculate-column-width.d.ts +63 -5
  31. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-column-width/use-calculate-column-width.types.d.ts +1 -1
  32. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-sticky-element-height/use-calculate-sticky-element-height.d.ts +4 -4
  33. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-column-hovering/use-column-hovering.d.ts +61 -2
  34. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-column-hovering/use-column-hovering.types.d.ts +1 -1
  35. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-column-reorderer/use-column-reorderer.d.ts +3 -3
  36. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-config-settings/use-config-settings.d.ts +4 -4
  37. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-keyboard-navigator/use-keyboard-navigator.d.ts +1 -1
  38. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-lazy-loading/use-lazy-loading.d.ts +4 -4
  39. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-resizer.d.ts +62 -4
  40. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-scroller/use-scroller.d.ts +5 -5
  41. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-selector.d.ts +2 -2
  42. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-sorter.d.ts +1 -1
  43. package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +43 -9
  44. package/dist/@types/packages/vue2/src/components/date/date.vue.d.ts +157 -7
  45. package/dist/@types/packages/vue2/src/components/date-picker/composables/use-date-picker-single-calendar-text.types.d.ts +1 -1
  46. package/dist/@types/packages/vue2/src/components/date-picker/date-picker.vue.d.ts +1701 -21
  47. package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.vue.d.ts +2725 -147
  48. package/dist/@types/packages/vue2/src/components/date-range-picker/composables/use-date-range-picker-calendar-text.types.d.ts +3 -2
  49. package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.vue.d.ts +3739 -18
  50. package/dist/@types/packages/vue2/src/components/divider/divider.vue.d.ts +1 -1
  51. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.types.d.ts +1 -1
  52. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +9 -9
  53. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +9 -9
  54. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/composables/use-dropdown-options-listbox.d.ts +8 -2
  55. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +10 -10
  56. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +8 -8
  57. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue.d.ts +4 -4
  58. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/composables/use-country-items.d.ts +1 -1
  59. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue.d.ts +4 -4
  60. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue.d.ts +4 -4
  61. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue.d.ts +4 -4
  62. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue.d.ts +4 -4
  63. package/dist/@types/packages/vue2/src/components/dropdown/composables/use-display-value.d.ts +1 -1
  64. package/dist/@types/packages/vue2/src/components/dropdown/composables/use-display-value.types.d.ts +1 -1
  65. package/dist/@types/packages/vue2/src/components/dropdown/composables/use-keyboard-navigation.d.ts +1 -1
  66. package/dist/@types/packages/vue2/src/components/dropdown/composables/use-keyboard-navigation.types.d.ts +1 -1
  67. package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +455 -11
  68. package/dist/@types/packages/vue2/src/components/empty-state/empty-state.vue.d.ts +5 -5
  69. package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +18251 -1703
  70. package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/components/all-filters-modal-button/all-filters-modal-button.vue.d.ts +422 -7
  71. package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/base-filter.vue.d.ts +557 -16
  72. package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/composables/use-base-filter.d.ts +7 -5
  73. package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter-button/base-filter-button.vue.d.ts +361 -10
  74. package/dist/@types/packages/vue2/src/components/filter-bar/components/boolean-filter/boolean-filter.vue.d.ts +931 -17
  75. package/dist/@types/packages/vue2/src/components/filter-bar/components/date-filter/date-filter.vue.d.ts +3284 -76
  76. package/dist/@types/packages/vue2/src/components/filter-bar/components/date-range-filter/date-range-filter.vue.d.ts +7588 -145
  77. package/dist/@types/packages/vue2/src/components/filter-bar/components/filter-bar-button/filter-bar-button.vue.d.ts +6 -6
  78. package/dist/@types/packages/vue2/src/components/filter-bar/components/input-filter/input-filter.vue.d.ts +1061 -19
  79. package/dist/@types/packages/vue2/src/components/filter-bar/components/range-filter/range-filter.vue.d.ts +1056 -14
  80. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/components/select-filter-button/select-filter-button.vue.d.ts +8 -8
  81. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/components/select-filter-dropdown/select-filter-dropdown.vue.d.ts +8 -8
  82. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/select-filter.props.d.ts +59 -0
  83. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/select-filter.vue.d.ts +19 -80
  84. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-avatar-filter/select-avatar-filter.vue.d.ts +229 -6
  85. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue.d.ts +73 -9
  86. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-currency-filter/select-currency-filter.vue.d.ts +559 -6
  87. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-payment-method-filter/select-payment-method-filter.vue.d.ts +384 -6
  88. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-tag-filter/select-tag-filter.vue.d.ts +587 -7
  89. package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.vue.d.ts +16154 -21
  90. package/dist/@types/packages/vue2/src/components/focus-trap/focus-trap.vue.d.ts +8 -8
  91. package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-field-tip/form-layout-field-tip.vue.d.ts +5 -5
  92. package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-group/form-layout-group.vue.d.ts +5 -5
  93. package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-title/form-layout-title.vue.d.ts +4 -4
  94. package/dist/@types/packages/vue2/src/components/form-layout/form-layout.vue.d.ts +4 -4
  95. package/dist/@types/packages/vue2/src/components/header/components/info-icon-with-popover/info-icon-with-popover.vue.d.ts +4 -4
  96. package/dist/@types/packages/vue2/src/components/header/header.vue.d.ts +388 -10
  97. package/dist/@types/packages/vue2/src/components/image/image.vue.d.ts +7 -7
  98. package/dist/@types/packages/vue2/src/components/info-icon/info-icon.vue.d.ts +17 -5
  99. package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +12 -12
  100. package/dist/@types/packages/vue2/src/components/inspector/inspector.vue.d.ts +9 -9
  101. package/dist/@types/packages/vue2/src/components/internal/base-button/base-button.vue.d.ts +161 -11
  102. package/dist/@types/packages/vue2/src/components/internal/button-actions-with-menu/button-actions-with-menu.vue.d.ts +5 -5
  103. package/dist/@types/packages/vue2/src/components/internal/calendar/calendar.types.d.ts +1 -1
  104. package/dist/@types/packages/vue2/src/components/internal/calendar/calendar.vue.d.ts +726 -144
  105. package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/calendar-month.vue.d.ts +582 -15
  106. package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/components/calendar-month-day/__test__/calendar-month-day-stub.vue.d.ts +287 -4
  107. package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/components/calendar-month-day/calendar-month-day.props.d.ts +34 -0
  108. package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/components/calendar-month-day/calendar-month-day.vue.d.ts +197 -38
  109. package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/composables/move-calendar-date.d.ts +5 -135
  110. package/dist/@types/packages/vue2/src/components/internal/checkbox-input/checkbox-input.vue.d.ts +8 -8
  111. package/dist/@types/packages/vue2/src/components/internal/controls-group/controls-group.vue.d.ts +4 -4
  112. package/dist/@types/packages/vue2/src/components/internal/copy/copy.vue.d.ts +185 -9
  113. package/dist/@types/packages/vue2/src/components/internal/dialog-page/dialog-page.types.d.ts +1 -1
  114. package/dist/@types/packages/vue2/src/components/internal/dialog-page/dialog-page.vue.d.ts +7 -7
  115. package/dist/@types/packages/vue2/src/components/internal/error-message/error-message.vue.d.ts +3 -3
  116. package/dist/@types/packages/vue2/src/components/internal/field-label/field-label.vue.d.ts +4 -4
  117. package/dist/@types/packages/vue2/src/components/internal/fixed-scroller/composables/useFixedScroller.d.ts +19 -19
  118. package/dist/@types/packages/vue2/src/components/internal/fixed-scroller/fixed-scroller.vue.d.ts +4 -4
  119. package/dist/@types/packages/vue2/src/components/internal/footer-actions/footer-actions.vue.d.ts +5 -5
  120. package/dist/@types/packages/vue2/src/components/internal/grid-layout/grid-layout.vue.d.ts +7 -7
  121. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-chips/listbox-multi-select-chips.vue.d.ts +7 -7
  122. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/components/listbox-multi-select-category/listbox-multi-select-category.vue.d.ts +801 -53
  123. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/listbox-multi-select-options.vue.d.ts +1631 -8
  124. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +2534 -21
  125. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-option/listbox-option.vue.d.ts +7 -7
  126. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-option-tag/listbox-option-tag.vue.d.ts +357 -6
  127. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/components/listbox-single-select-category/listbox-single-select-category.vue.d.ts +153 -3
  128. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/listbox-single-select.vue.d.ts +409 -12
  129. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select-option/listbox-single-select-option.vue.d.ts +197 -10
  130. package/dist/@types/packages/vue2/src/components/internal/listbox/composables/use-cached-selected-values/use-cached-selected-values.d.ts +8 -2
  131. package/dist/@types/packages/vue2/src/components/internal/listbox/composables/use-multi-level-items/use-multi-level-items.d.ts +3 -3
  132. package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +3552 -50
  133. package/dist/@types/packages/vue2/src/components/internal/radio-input/radio-input.vue.d.ts +7 -7
  134. package/dist/@types/packages/vue2/src/components/internal/teleport/teleport.vue.d.ts +5 -5
  135. package/dist/@types/packages/vue2/src/components/link/link.vue.d.ts +8 -8
  136. package/dist/@types/packages/vue2/src/components/loading-indicator/loading-indicator.vue.d.ts +7 -7
  137. package/dist/@types/packages/vue2/src/components/menu/components/menu-item/menu-item.vue.d.ts +358 -8
  138. package/dist/@types/packages/vue2/src/components/menu/components/menu-item-list/menu-item-list.vue.d.ts +992 -16
  139. package/dist/@types/packages/vue2/src/components/menu/components/menu-list-container/menu-list-container.vue.d.ts +1 -1
  140. package/dist/@types/packages/vue2/src/components/menu/components/sub-menu-item-list/sub-menu-item-list.vue.d.ts +469 -9
  141. package/dist/@types/packages/vue2/src/components/menu/menu.vue.d.ts +1579 -15
  142. package/dist/@types/packages/vue2/src/components/modal/components/base-modal/base-modal.vue.d.ts +9 -9
  143. package/dist/@types/packages/vue2/src/components/modal/components/modal-default/modal-default.vue.d.ts +7 -7
  144. package/dist/@types/packages/vue2/src/components/modal/components/modal-dialog/modal-dialog.vue.d.ts +7 -7
  145. package/dist/@types/packages/vue2/src/components/modal/components/modal-page/modal-page.vue.d.ts +5 -5
  146. package/dist/@types/packages/vue2/src/components/modal/modal.types.d.ts +1 -1
  147. package/dist/@types/packages/vue2/src/components/modal/modal.vue.d.ts +350 -8
  148. package/dist/@types/packages/vue2/src/components/modal-fullscreen/components/modal-fullscreen-page.vue.d.ts +5 -5
  149. package/dist/@types/packages/vue2/src/components/modal-fullscreen/modal-fullscreen.vue.d.ts +7 -7
  150. package/dist/@types/packages/vue2/src/components/pagination/components/pagination-context/pagination-context.vue.d.ts +1481 -7
  151. package/dist/@types/packages/vue2/src/components/pagination/components/pagination-controls/pagination-controls.vue.d.ts +179 -10
  152. package/dist/@types/packages/vue2/src/components/pagination/components/pagination-results-per-page/pagination-results-per-page.vue.d.ts +1489 -9
  153. package/dist/@types/packages/vue2/src/components/pagination/pagination.vue.d.ts +3264 -10
  154. package/dist/@types/packages/vue2/src/components/payment-method/composables/use-payment-icon/use-payment-icon.d.ts +2 -2
  155. package/dist/@types/packages/vue2/src/components/payment-method/payment-method.vue.d.ts +159 -8
  156. package/dist/@types/packages/vue2/src/components/popover/components/popover-dismiss-button/popover-dismiss-button.vue.d.ts +172 -6
  157. package/dist/@types/packages/vue2/src/components/popover/components/popover-image/popover-image.vue.d.ts +3 -3
  158. package/dist/@types/packages/vue2/src/components/popover/components/popover-title/popover-title.vue.d.ts +157 -7
  159. package/dist/@types/packages/vue2/src/components/popover/popover.vue.d.ts +8 -8
  160. package/dist/@types/packages/vue2/src/components/popper-container/popper-container.vue.d.ts +7 -7
  161. package/dist/@types/packages/vue2/src/components/radio-group/components/radio-button/radio-button.vue.d.ts +16 -8
  162. package/dist/@types/packages/vue2/src/components/radio-group/radio-group.vue.d.ts +7 -7
  163. package/dist/@types/packages/vue2/src/components/search-bar/search-bar.vue.d.ts +10 -10
  164. package/dist/@types/packages/vue2/src/components/search-bar/useSearchBarDataFilter.d.ts +2 -2
  165. package/dist/@types/packages/vue2/src/components/secondary-nav/components/secondary-nav-category/secondary-nav-category.vue.d.ts +5 -5
  166. package/dist/@types/packages/vue2/src/components/secondary-nav/components/secondary-nav-item/secondary-nav-item.vue.d.ts +7 -7
  167. package/dist/@types/packages/vue2/src/components/secondary-nav/secondary-nav.keys.d.ts +1 -1
  168. package/dist/@types/packages/vue2/src/components/secondary-nav/secondary-nav.types.d.ts +1 -1
  169. package/dist/@types/packages/vue2/src/components/secondary-nav/secondary-nav.vue.d.ts +7 -7
  170. package/dist/@types/packages/vue2/src/components/segmented-control/components/segmented-control-button/segmented-control-button.vue.d.ts +8 -8
  171. package/dist/@types/packages/vue2/src/components/segmented-control/segmented-control.vue.d.ts +8 -8
  172. package/dist/@types/packages/vue2/src/components/selection-card/components/selection-card-group/selection-card-group.vue.d.ts +7 -7
  173. package/dist/@types/packages/vue2/src/components/selection-card/selection-card.types.d.ts +1 -0
  174. package/dist/@types/packages/vue2/src/components/selection-card/selection-card.vue.d.ts +22 -7
  175. package/dist/@types/packages/vue2/src/components/sidepanel/components/sidepanel-page.vue.d.ts +5 -5
  176. package/dist/@types/packages/vue2/src/components/sidepanel/sidepanel.vue.d.ts +6 -6
  177. package/dist/@types/packages/vue2/src/components/status/status.vue.d.ts +5 -5
  178. package/dist/@types/packages/vue2/src/components/stepper/components/step/step.vue.d.ts +6 -6
  179. package/dist/@types/packages/vue2/src/components/stepper/composables/use-keyboard-navigation/use-keyboard-navigation.d.ts +2 -2
  180. package/dist/@types/packages/vue2/src/components/stepper/composables/use-step-register/use-step-register.d.ts +1 -1
  181. package/dist/@types/packages/vue2/src/components/stepper/stepper.types.d.ts +2 -2
  182. package/dist/@types/packages/vue2/src/components/stepper/stepper.vue.d.ts +7 -7
  183. package/dist/@types/packages/vue2/src/components/structured-list/components/structered-list-item/structured-list-item.vue.d.ts +5 -5
  184. package/dist/@types/packages/vue2/src/components/structured-list/structured-list.vue.d.ts +6 -6
  185. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +619 -11
  186. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue.d.ts +733 -5
  187. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-custom/summary-grid-item-custom.vue.d.ts +733 -5
  188. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-numeric/summary-grid-item-numeric.vue.d.ts +733 -5
  189. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-percentage/summary-grid-item-percentage.vue.d.ts +733 -5
  190. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-text/summary-grid-item-text.vue.d.ts +732 -4
  191. package/dist/@types/packages/vue2/src/components/summary-grid/summary-grid.vue.d.ts +49 -6
  192. package/dist/@types/packages/vue2/src/components/tabs/components/tab.types.d.ts +1 -1
  193. package/dist/@types/packages/vue2/src/components/tabs/components/tab.vue.d.ts +6 -6
  194. package/dist/@types/packages/vue2/src/components/tabs/tabs.types.d.ts +1 -1
  195. package/dist/@types/packages/vue2/src/components/tabs/tabs.vue.d.ts +300 -25
  196. package/dist/@types/packages/vue2/src/components/tag/tag.vue.d.ts +171 -11
  197. package/dist/@types/packages/vue2/src/components/textarea/textarea.vue.d.ts +12 -12
  198. package/dist/@types/packages/vue2/src/components/timeline/components/timeline-item/timeline-item.vue.d.ts +1080 -19
  199. package/dist/@types/packages/vue2/src/components/timeline/timeline.types.d.ts +1 -1
  200. package/dist/@types/packages/vue2/src/components/timeline/timeline.vue.d.ts +367 -10
  201. package/dist/@types/packages/vue2/src/components/toast/components/toast-item/toast-item.vue.d.ts +4 -4
  202. package/dist/@types/packages/vue2/src/components/toast/components/toast-shadow-stack/toast-shadow-stack.vue.d.ts +3 -3
  203. package/dist/@types/packages/vue2/src/components/toast/toast.vue.d.ts +1 -1
  204. package/dist/@types/packages/vue2/src/components/toggle/toggle.vue.d.ts +162 -11
  205. package/dist/@types/packages/vue2/src/components/tooltip/tooltip.vue.d.ts +437 -8
  206. package/dist/@types/packages/vue2/src/components/tutorial/components/tutorial-popover/components/tutorial-indicator/tutorial-indicator.vue.d.ts +3 -3
  207. package/dist/@types/packages/vue2/src/components/tutorial/components/tutorial-popover/tutorial-popover.vue.d.ts +14 -28
  208. package/dist/@types/packages/vue2/src/components/tutorial/tutorial.types.d.ts +1 -1
  209. package/dist/@types/packages/vue2/src/components/tutorial/tutorial.vue.d.ts +7 -7
  210. package/dist/@types/packages/vue2/src/components/typography/typography.vue.d.ts +6 -6
  211. package/dist/@types/packages/vue2/src/composables/initials.d.ts +1 -1
  212. package/dist/@types/packages/vue2/src/composables/use-bento-toast-controller/use-bento-toast-controller.types.d.ts +1 -1
  213. package/dist/@types/packages/vue2/src/composables/use-checkbox-select-all/use-checkbox-select-all.d.ts +1 -1
  214. package/dist/@types/packages/vue2/src/composables/use-default-slot-validator/use-default-slot-validator.d.ts +1 -1
  215. package/dist/@types/packages/vue2/src/composables/use-expandable-content-height/use-expandable-content-height.d.ts +3 -3
  216. package/dist/@types/packages/vue2/src/composables/use-form-layout-loading/use-form-layout-loading.d.ts +2 -2
  217. package/dist/@types/packages/vue2/src/composables/use-form-validate/use-form.d.ts +3 -3
  218. package/dist/@types/packages/vue2/src/composables/use-has-slot/use-has-slot.d.ts +2 -2
  219. package/dist/@types/packages/vue2/src/composables/use-virtual-list/use-virtual-list.d.ts +6 -6
  220. package/dist/@types/packages/vue2/src/composables/use-virtual-list/use-virtual-list.types.d.ts +2 -2
  221. package/dist/@types/packages/vue2/src/directives/click-outside/directive.d.ts +1 -1
  222. package/dist/@types/packages/vue2/src/directives/keyboard-navigation/keyboard-navigation.d.ts +1 -1
  223. package/dist/@types/packages/vue2/src/directives/keyboard-navigation/keyboard-navigation.types.d.ts +1 -1
  224. package/dist/@types/packages/vue2/src/install.d.ts +1 -1
  225. package/dist/@types/packages/vue2/src/templates/dashboard-template/components/dashboard-section/dashboard-section.vue.d.ts +6 -6
  226. package/dist/@types/packages/vue2/src/templates/dashboard-template/dashboard-template.vue.d.ts +6 -6
  227. package/dist/@types/packages/vue2/src/templates/data-grid-template/data-grid-template.types.d.ts +2 -2
  228. package/dist/@types/packages/vue2/src/templates/data-grid-template/data-grid-template.vue.d.ts +7 -7
  229. package/dist/@types/packages/vue2/src/types/elements.d.ts +1 -1
  230. package/dist/@types/packages/vue2/src/types/maybe-ref.d.ts +1 -1
  231. package/dist/@types/packages/vue2/src/types/refs.d.ts +2 -2
  232. package/dist/@types/packages/vue2/src/utils/ts/aria-label.d.ts +1 -1
  233. package/dist/@types/packages/vue2/src/utils/ts/get-slot-text/get-slot-text.d.ts +1 -1
  234. package/dist/@types/packages/vue2/src/utils/ts/i18n.d.ts +1 -1
  235. package/dist/@types/packages/vue2/src/utils/ts/storybook.d.ts +1 -1
  236. package/dist/accordion.js +1 -1
  237. package/dist/action-bar.js +1 -1
  238. package/dist/alert.js +1 -1
  239. package/dist/assets/accordion-item.css +1 -1
  240. package/dist/assets/action-bar.css +1 -1
  241. package/dist/assets/alert.css +1 -1
  242. package/dist/assets/avatar.css +1 -1
  243. package/dist/assets/base-button.css +1 -1
  244. package/dist/assets/base-modal.css +1 -1
  245. package/dist/assets/button-actions-with-menu.css +1 -1
  246. package/dist/assets/button-actions.css +1 -1
  247. package/dist/assets/button.css +1 -1
  248. package/dist/assets/calendar.css +1 -1
  249. package/dist/assets/card.css +1 -1
  250. package/dist/assets/checkbox-group.css +1 -1
  251. package/dist/assets/checkbox-input.css +1 -1
  252. package/dist/assets/checkbox.css +1 -1
  253. package/dist/assets/code-snippet.css +1 -1
  254. package/dist/assets/controls-group.css +1 -1
  255. package/dist/assets/copy.css +1 -1
  256. package/dist/assets/country.css +1 -1
  257. package/dist/assets/dashboard-section.css +1 -1
  258. package/dist/assets/dashed-underline.css +1 -1
  259. package/dist/assets/data-grid-template.css +1 -1
  260. package/dist/assets/data-grid.css +1 -1
  261. package/dist/assets/date-picker.css +1 -1
  262. package/dist/assets/date-range-picker.css +1 -1
  263. package/dist/assets/dialog-page.css +1 -1
  264. package/dist/assets/dropdown-default-textbox.css +1 -1
  265. package/dist/assets/dropdown-tag.css +1 -1
  266. package/dist/assets/dropdown.css +1 -1
  267. package/dist/assets/empty-state.css +1 -1
  268. package/dist/assets/error-message.css +1 -1
  269. package/dist/assets/filter-bar.css +1 -1
  270. package/dist/assets/fixed-scroller.css +1 -1
  271. package/dist/assets/footer-actions.css +1 -1
  272. package/dist/assets/form-layout-title.css +1 -1
  273. package/dist/assets/grid-layout.css +1 -1
  274. package/dist/assets/header.css +1 -1
  275. package/dist/assets/info-icon.css +1 -1
  276. package/dist/assets/input-field.css +1 -1
  277. package/dist/assets/inspector.css +1 -1
  278. package/dist/assets/link.css +1 -1
  279. package/dist/assets/listbox-option-tag.css +1 -1
  280. package/dist/assets/loading-indicator.css +1 -1
  281. package/dist/assets/menu.css +1 -1
  282. package/dist/assets/modal-fullscreen.css +1 -1
  283. package/dist/assets/pagination.css +1 -1
  284. package/dist/assets/payment-method.css +1 -1
  285. package/dist/assets/popover.css +1 -1
  286. package/dist/assets/popper-container.css +1 -1
  287. package/dist/assets/radio-group.css +1 -1
  288. package/dist/assets/radio-input.css +1 -1
  289. package/dist/assets/search-bar.css +1 -1
  290. package/dist/assets/secondary-nav.css +1 -1
  291. package/dist/assets/segmented-control.css +1 -1
  292. package/dist/assets/selection-card-group.css +1 -1
  293. package/dist/assets/sidepanel.css +1 -1
  294. package/dist/assets/status.css +1 -1
  295. package/dist/assets/step.css +1 -1
  296. package/dist/assets/structured-list-item.css +1 -1
  297. package/dist/assets/summary-grid-item-custom.css +1 -1
  298. package/dist/assets/tabs.css +1 -1
  299. package/dist/assets/tag.css +1 -1
  300. package/dist/assets/textarea.css +1 -1
  301. package/dist/assets/timeline-item.css +1 -1
  302. package/dist/assets/toast.css +1 -1
  303. package/dist/assets/toggle.css +1 -1
  304. package/dist/assets/tooltip.css +1 -1
  305. package/dist/assets/tutorial.css +1 -1
  306. package/dist/assets/typography.css +1 -1
  307. package/dist/assets/use-cached-selected-values.css +1 -1
  308. package/dist/avatar.js +1 -1
  309. package/dist/button.js +4 -4
  310. package/dist/card.js +1 -1
  311. package/dist/checkbox.js +3 -3
  312. package/dist/chunks/accordion-item.CQ8DLt9l.js +126 -0
  313. package/dist/chunks/{accordion-item.C7rQK0Xh.js.map → accordion-item.CQ8DLt9l.js.map} +1 -1
  314. package/dist/chunks/{action-bar.2Ch92mVR.js → action-bar.BsULBDh4.js} +62 -62
  315. package/dist/chunks/{action-bar.2Ch92mVR.js.map → action-bar.BsULBDh4.js.map} +1 -1
  316. package/dist/chunks/alert.Bz4tNKDH.js +162 -0
  317. package/dist/chunks/{alert.BOqbFni9.js.map → alert.Bz4tNKDH.js.map} +1 -1
  318. package/dist/chunks/avatar.mNlMngHQ.js +94 -0
  319. package/dist/chunks/{avatar.DWSW4vWC.js.map → avatar.mNlMngHQ.js.map} +1 -1
  320. package/dist/chunks/{base-button.jyEuuRdl.js → base-button.BxUrydaP.js} +2 -2
  321. package/dist/chunks/{base-button.jyEuuRdl.js.map → base-button.BxUrydaP.js.map} +1 -1
  322. package/dist/chunks/{base-modal.09efJqFH.js → base-modal.BPaKKH3Q.js} +186 -189
  323. package/dist/chunks/base-modal.BPaKKH3Q.js.map +1 -0
  324. package/dist/chunks/{button-actions-with-menu.DAxUzw2c.js → button-actions-with-menu.Cv1s9I3x.js} +16 -16
  325. package/dist/chunks/{button-actions-with-menu.DAxUzw2c.js.map → button-actions-with-menu.Cv1s9I3x.js.map} +1 -1
  326. package/dist/chunks/{button-actions.Dkrp7NsY.js → button-actions.hdK5IgrZ.js} +32 -32
  327. package/dist/chunks/{button-actions.Dkrp7NsY.js.map → button-actions.hdK5IgrZ.js.map} +1 -1
  328. package/dist/chunks/{button.BbV2BOSa.js → button.Br6CyG40.js} +39 -39
  329. package/dist/chunks/{button.BbV2BOSa.js.map → button.Br6CyG40.js.map} +1 -1
  330. package/dist/chunks/{calendar.DrP5wyvL.js → calendar.D--sOCBT.js} +153 -153
  331. package/dist/chunks/calendar.D--sOCBT.js.map +1 -0
  332. package/dist/chunks/card.BvSoujBc.js +205 -0
  333. package/dist/chunks/{card.BKtIXyL-.js.map → card.BvSoujBc.js.map} +1 -1
  334. package/dist/chunks/{checkbox-group.CEzhFcdh.js → checkbox-group.DovPyqmF.js} +20 -20
  335. package/dist/chunks/{checkbox-group.CEzhFcdh.js.map → checkbox-group.DovPyqmF.js.map} +1 -1
  336. package/dist/chunks/{checkbox-input.CR1lHf7f.js → checkbox-input.JdcvpfTa.js} +56 -54
  337. package/dist/chunks/checkbox-input.JdcvpfTa.js.map +1 -0
  338. package/dist/chunks/{checkbox.Blsg-Tvr.js → checkbox.FQ03XNeR.js} +6 -6
  339. package/dist/chunks/{checkbox.Blsg-Tvr.js.map → checkbox.FQ03XNeR.js.map} +1 -1
  340. package/dist/chunks/checkmark-circle-fill.ChV7Jy6r.js +44 -0
  341. package/dist/chunks/{checkmark-circle-fill.D29b-JWj.js.map → checkmark-circle-fill.ChV7Jy6r.js.map} +1 -1
  342. package/dist/chunks/checkmark-small.DEc2T64_.js +29 -0
  343. package/dist/chunks/{checkmark-small.BCeGkayS.js.map → checkmark-small.DEc2T64_.js.map} +1 -1
  344. package/dist/chunks/chevron-left.NvV5m76j.js +52 -0
  345. package/dist/chunks/{chevron-left.4JHuWe7i.js.map → chevron-left.NvV5m76j.js.map} +1 -1
  346. package/dist/chunks/chevron-up.DQZG_BP3.js +52 -0
  347. package/dist/chunks/{chevron-up.5-KtIp8i.js.map → chevron-up.DQZG_BP3.js.map} +1 -1
  348. package/dist/chunks/{code-snippet.DyvQts81.js → code-snippet.BP2IQQvW.js} +117 -117
  349. package/dist/chunks/{code-snippet.DyvQts81.js.map → code-snippet.BP2IQQvW.js.map} +1 -1
  350. package/dist/chunks/{controls-group.CLureEBJ.js → controls-group.CY5Hi11Y.js} +18 -18
  351. package/dist/chunks/{controls-group.CLureEBJ.js.map → controls-group.CY5Hi11Y.js.map} +1 -1
  352. package/dist/chunks/{copy._G3BOh-w.js → copy.h-wVGvID.js} +26 -26
  353. package/dist/chunks/{copy._G3BOh-w.js.map → copy.h-wVGvID.js.map} +1 -1
  354. package/dist/chunks/{country.DfvzuoT-.js → country.CVI-oSer.js} +3 -3
  355. package/dist/chunks/{country.DfvzuoT-.js.map → country.CVI-oSer.js.map} +1 -1
  356. package/dist/chunks/cross-circle-fill-small.BXO78Wde.js +29 -0
  357. package/dist/chunks/{cross-circle-fill-small.DiZWEd7W.js.map → cross-circle-fill-small.BXO78Wde.js.map} +1 -1
  358. package/dist/chunks/cross-circle-fill.DN5b3_eL.js +44 -0
  359. package/dist/chunks/{cross-circle-fill.vLaelNTN.js.map → cross-circle-fill.DN5b3_eL.js.map} +1 -1
  360. package/dist/chunks/cross-small.CXWTuKA_.js +29 -0
  361. package/dist/chunks/{cross-small.48UCoOqB.js.map → cross-small.CXWTuKA_.js.map} +1 -1
  362. package/dist/chunks/cross.OvPfvoqX.js +29 -0
  363. package/dist/chunks/{cross.BlL0FyHo.js.map → cross.OvPfvoqX.js.map} +1 -1
  364. package/dist/chunks/{currency.CUF_wGMv.js → currency.CFJy6QYU.js} +2 -2
  365. package/dist/chunks/{currency.CUF_wGMv.js.map → currency.CFJy6QYU.js.map} +1 -1
  366. package/dist/chunks/dashboard-section.DcvZOi79.js +167 -0
  367. package/dist/chunks/{dashboard-section.CwOasd7G.js.map → dashboard-section.DcvZOi79.js.map} +1 -1
  368. package/dist/chunks/dashed-underline.C7eCX1CM.js +79 -0
  369. package/dist/chunks/{dashed-underline.D_262wln.js.map → dashed-underline.C7eCX1CM.js.map} +1 -1
  370. package/dist/chunks/data-grid-template.C_8bGAC6.js +93 -0
  371. package/dist/chunks/data-grid-template.C_8bGAC6.js.map +1 -0
  372. package/dist/chunks/data-grid.DWJmWbjg.js +2766 -0
  373. package/dist/chunks/data-grid.DWJmWbjg.js.map +1 -0
  374. package/dist/chunks/{date-picker.CKiY1ZtA.js → date-picker.D36sJUDB.js} +8 -8
  375. package/dist/chunks/{date-picker.CKiY1ZtA.js.map → date-picker.D36sJUDB.js.map} +1 -1
  376. package/dist/chunks/date-range-picker.rytlJBZs.js +942 -0
  377. package/dist/chunks/date-range-picker.rytlJBZs.js.map +1 -0
  378. package/dist/chunks/{date.DXg5sG5Z.js → date.D8rQMzMG.js} +3 -3
  379. package/dist/chunks/{date.DXg5sG5Z.js.map → date.D8rQMzMG.js.map} +1 -1
  380. package/dist/chunks/dialog-page.DALFn9KR.js +171 -0
  381. package/dist/chunks/{dialog-page.CBim-VWH.js.map → dialog-page.DALFn9KR.js.map} +1 -1
  382. package/dist/chunks/divider.ugNXYI-T.js +22 -0
  383. package/dist/chunks/{divider.CnwfddJD.js.map → divider.ugNXYI-T.js.map} +1 -1
  384. package/dist/chunks/{dropdown-default-textbox.Bues7tON.js → dropdown-default-textbox.Bu4bpNGU.js} +116 -116
  385. package/dist/chunks/{dropdown-default-textbox.Bues7tON.js.map → dropdown-default-textbox.Bu4bpNGU.js.map} +1 -1
  386. package/dist/chunks/{dropdown-tag.BiVKlJ-B.js → dropdown-tag.CocbqRcO.js} +67 -67
  387. package/dist/chunks/{dropdown-tag.BiVKlJ-B.js.map → dropdown-tag.CocbqRcO.js.map} +1 -1
  388. package/dist/chunks/{dropdown.CZyiZiox.js → dropdown.DQpKDlC-.js} +355 -355
  389. package/dist/chunks/{dropdown.CZyiZiox.js.map → dropdown.DQpKDlC-.js.map} +1 -1
  390. package/dist/chunks/{empty-state.CApqeBsH.js → empty-state.CyEWCcDk.js} +48 -48
  391. package/dist/chunks/{empty-state.CApqeBsH.js.map → empty-state.CyEWCcDk.js.map} +1 -1
  392. package/dist/chunks/{error-message.DCScf_vk.js → error-message.BfOmvPPb.js} +13 -13
  393. package/dist/chunks/{error-message.DCScf_vk.js.map → error-message.BfOmvPPb.js.map} +1 -1
  394. package/dist/chunks/es6.BvpG4Oi6.js.map +1 -1
  395. package/dist/chunks/expand.CgwNEbbz.js +33 -0
  396. package/dist/chunks/{expand.D1DTqaBO.js.map → expand.CgwNEbbz.js.map} +1 -1
  397. package/dist/chunks/filter-bar.-G1-moOO.js +2767 -0
  398. package/dist/chunks/filter-bar.-G1-moOO.js.map +1 -0
  399. package/dist/chunks/{fixed-scroller.BN3jp9Ss.js → fixed-scroller.DwYB1pqo.js} +4 -4
  400. package/dist/chunks/fixed-scroller.DwYB1pqo.js.map +1 -0
  401. package/dist/chunks/focus-trap.CwkbHfT8.js.map +1 -1
  402. package/dist/chunks/{footer-actions.Dj2vH6Hj.js → footer-actions.gtxofUAa.js} +19 -19
  403. package/dist/chunks/{footer-actions.Dj2vH6Hj.js.map → footer-actions.gtxofUAa.js.map} +1 -1
  404. package/dist/chunks/{form-layout-title.BKJPBhsv.js → form-layout-title.Boi0QQZL.js} +42 -42
  405. package/dist/chunks/{form-layout-title.BKJPBhsv.js.map → form-layout-title.Boi0QQZL.js.map} +1 -1
  406. package/dist/chunks/grid-layout.CqLbbEzI.js.map +1 -1
  407. package/dist/chunks/{header.DygonMXo.js → header.BLKs2Erq.js} +8 -8
  408. package/dist/chunks/{header.DygonMXo.js.map → header.BLKs2Erq.js.map} +1 -1
  409. package/dist/chunks/i18n.DL9GT2-k.js +3086 -0
  410. package/dist/chunks/i18n.DL9GT2-k.js.map +1 -0
  411. package/dist/chunks/image.0KzfycGE.js.map +1 -1
  412. package/dist/chunks/{info-icon.Bb20bxQm.js → info-icon.DIu8FeJC.js} +4 -4
  413. package/dist/chunks/{info-icon.Bb20bxQm.js.map → info-icon.DIu8FeJC.js.map} +1 -1
  414. package/dist/chunks/info.CIFBUqf-.js +44 -0
  415. package/dist/chunks/{info.CNegCnli.js.map → info.CIFBUqf-.js.map} +1 -1
  416. package/dist/chunks/{input-field.dPEY8nfT.js → input-field.f4lqnh2q.js} +66 -66
  417. package/dist/chunks/{input-field.dPEY8nfT.js.map → input-field.f4lqnh2q.js.map} +1 -1
  418. package/dist/chunks/inspector.types.t2SPyhw3.js +116 -0
  419. package/dist/chunks/{inspector.types.BpPQ6zrm.js.map → inspector.types.t2SPyhw3.js.map} +1 -1
  420. package/dist/chunks/link.2YS7haGc.js +110 -0
  421. package/dist/chunks/link.2YS7haGc.js.map +1 -0
  422. package/dist/chunks/{listbox-option-tag.BU_sJ_KV.js → listbox-option-tag.QqDEHMKB.js} +3 -3
  423. package/dist/chunks/{listbox-option-tag.BU_sJ_KV.js.map → listbox-option-tag.QqDEHMKB.js.map} +1 -1
  424. package/dist/chunks/{loading-button.CrijUhme.js → loading-button.Mx-oDIGy.js} +39 -39
  425. package/dist/chunks/{loading-button.CrijUhme.js.map → loading-button.Mx-oDIGy.js.map} +1 -1
  426. package/dist/chunks/{menu.CE8khC0O.js → menu.DFMKn3Zr.js} +96 -96
  427. package/dist/chunks/{menu.CE8khC0O.js.map → menu.DFMKn3Zr.js.map} +1 -1
  428. package/dist/chunks/{modal-fullscreen.DYfgO3lG.js → modal-fullscreen.Caqa7dDp.js} +80 -80
  429. package/dist/chunks/{modal-fullscreen.DYfgO3lG.js.map → modal-fullscreen.Caqa7dDp.js.map} +1 -1
  430. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.uUB7rtBH.js → modal.vue_vue_type_script_setup_true_lang.Bh6Q4yIf.js} +136 -136
  431. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.uUB7rtBH.js.map → modal.vue_vue_type_script_setup_true_lang.Bh6Q4yIf.js.map} +1 -1
  432. package/dist/chunks/on-click-outside.MUWbmGDn.js.map +1 -1
  433. package/dist/chunks/{pagination.DfKNN2Mb.js → pagination.B4ker8JJ.js} +130 -130
  434. package/dist/chunks/{pagination.DfKNN2Mb.js.map → pagination.B4ker8JJ.js.map} +1 -1
  435. package/dist/chunks/{payment-method.Dyrh0PaX.js → payment-method.-3VYG5ud.js} +2 -2
  436. package/dist/chunks/{payment-method.Dyrh0PaX.js.map → payment-method.-3VYG5ud.js.map} +1 -1
  437. package/dist/chunks/{popover.BSGQxusD.js → popover.CczC6Fhk.js} +63 -63
  438. package/dist/chunks/{popover.BSGQxusD.js.map → popover.CczC6Fhk.js.map} +1 -1
  439. package/dist/chunks/{popper-container.DigB3V2j.js → popper-container.DFpaesDm.js} +239 -239
  440. package/dist/chunks/{popper-container.DigB3V2j.js.map → popper-container.DFpaesDm.js.map} +1 -1
  441. package/dist/chunks/{radio-group.CIXsaLLX.js → radio-group.C18T8QQs.js} +112 -112
  442. package/dist/chunks/{radio-group.CIXsaLLX.js.map → radio-group.C18T8QQs.js.map} +1 -1
  443. package/dist/chunks/{radio-input.Dp-se-SR.js → radio-input.DtvlM-mr.js} +20 -20
  444. package/dist/chunks/{radio-input.Dp-se-SR.js.map → radio-input.DtvlM-mr.js.map} +1 -1
  445. package/dist/chunks/refresh.DvQeGwUF.js +29 -0
  446. package/dist/chunks/{refresh.BfxRdaQb.js.map → refresh.DvQeGwUF.js.map} +1 -1
  447. package/dist/chunks/{search-bar.exXNyvwZ.js → search-bar.C__L0enF.js} +39 -39
  448. package/dist/chunks/{search-bar.exXNyvwZ.js.map → search-bar.C__L0enF.js.map} +1 -1
  449. package/dist/chunks/search.EnLryD8V.js +44 -0
  450. package/dist/chunks/{search.0lh99z1F.js.map → search.EnLryD8V.js.map} +1 -1
  451. package/dist/chunks/secondary-nav.DCe7I3pu.js +137 -0
  452. package/dist/chunks/{secondary-nav.CRJ27DQY.js.map → secondary-nav.DCe7I3pu.js.map} +1 -1
  453. package/dist/chunks/segmented-control.DbR5NYWR.js +142 -0
  454. package/dist/chunks/{segmented-control.hE7kcMb7.js.map → segmented-control.DbR5NYWR.js.map} +1 -1
  455. package/dist/chunks/{selection-card-group.Bxv-t-CN.js → selection-card-group.DNZTT85O.js} +129 -122
  456. package/dist/chunks/selection-card-group.DNZTT85O.js.map +1 -0
  457. package/dist/chunks/{sidepanel.C6ndYx2_.js → sidepanel.CprbeR-2.js} +76 -76
  458. package/dist/chunks/{sidepanel.C6ndYx2_.js.map → sidepanel.CprbeR-2.js.map} +1 -1
  459. package/dist/chunks/{status.types.wKICxOth.js → status.types.r9TfZmvE.js} +12 -12
  460. package/dist/chunks/{status.types.wKICxOth.js.map → status.types.r9TfZmvE.js.map} +1 -1
  461. package/dist/chunks/step.ClnCjesW.js +284 -0
  462. package/dist/chunks/step.ClnCjesW.js.map +1 -0
  463. package/dist/chunks/structured-list-item.Z-1ivOFu.js +101 -0
  464. package/dist/chunks/{structured-list-item.CnrBWJgo.js.map → structured-list-item.Z-1ivOFu.js.map} +1 -1
  465. package/dist/chunks/{summary-grid-item-custom.BMK48oR5.js → summary-grid-item-custom.Dq3IIEvH.js} +5 -5
  466. package/dist/chunks/{summary-grid-item-custom.BMK48oR5.js.map → summary-grid-item-custom.Dq3IIEvH.js.map} +1 -1
  467. package/dist/chunks/{tabs.BeCbcy81.js → tabs.xY_6yqmE.js} +3 -3
  468. package/dist/chunks/{tabs.BeCbcy81.js.map → tabs.xY_6yqmE.js.map} +1 -1
  469. package/dist/chunks/{tag.BZ90rkBe.js → tag.RYw4OhWk.js} +3 -3
  470. package/dist/chunks/{tag.BZ90rkBe.js.map → tag.RYw4OhWk.js.map} +1 -1
  471. package/dist/chunks/teleport.L8qFCYpr.js.map +1 -1
  472. package/dist/chunks/{textarea.C9dCXF7c.js → textarea.C-Oje7QC.js} +100 -101
  473. package/dist/chunks/{textarea.C9dCXF7c.js.map → textarea.C-Oje7QC.js.map} +1 -1
  474. package/dist/chunks/{timeline-item.DVugzZI5.js → timeline-item.FTU5rl7e.js} +209 -209
  475. package/dist/chunks/{timeline-item.DVugzZI5.js.map → timeline-item.FTU5rl7e.js.map} +1 -1
  476. package/dist/chunks/toast.LNgV2jhU.js +215 -0
  477. package/dist/chunks/{toast.CtEylmx6.js.map → toast.LNgV2jhU.js.map} +1 -1
  478. package/dist/chunks/{toggle-button.CYVGUQYj.js → toggle-button.CBRd1v6x.js} +19 -19
  479. package/dist/chunks/{toggle-button.CYVGUQYj.js.map → toggle-button.CBRd1v6x.js.map} +1 -1
  480. package/dist/chunks/{toggle.D1DUlF_5.js → toggle.8t4flh_3.js} +3 -3
  481. package/dist/chunks/{toggle.D1DUlF_5.js.map → toggle.8t4flh_3.js.map} +1 -1
  482. package/dist/chunks/{tooltip.CVUXkVlR.js → tooltip.DvsfWV0-.js} +3 -3
  483. package/dist/chunks/{tooltip.CVUXkVlR.js.map → tooltip.DvsfWV0-.js.map} +1 -1
  484. package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.DgbanhBM.js +409 -0
  485. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.Dorj2fX-.js.map → tutorial.vue_vue_type_script_setup_true_lang.DgbanhBM.js.map} +1 -1
  486. package/dist/chunks/{typography.CSIykcgS.js → typography.z9P0Ec3Q.js} +22 -22
  487. package/dist/chunks/{typography.CSIykcgS.js.map → typography.z9P0Ec3Q.js.map} +1 -1
  488. package/dist/chunks/{use-bento-toast-controller.kD6xtHQE.js → use-bento-toast-controller.BDYlxAYq.js} +2 -2
  489. package/dist/chunks/{use-bento-toast-controller.kD6xtHQE.js.map → use-bento-toast-controller.BDYlxAYq.js.map} +1 -1
  490. package/dist/chunks/{use-cached-selected-values.DplP72ef.js → use-cached-selected-values.DaSn9dB9.js} +593 -589
  491. package/dist/chunks/use-cached-selected-values.DaSn9dB9.js.map +1 -0
  492. package/dist/chunks/{use-country-items.CongYNiX.js → use-country-items.DQR8plsq.js} +2 -2
  493. package/dist/chunks/{use-country-items.CongYNiX.js.map → use-country-items.DQR8plsq.js.map} +1 -1
  494. package/dist/chunks/use-expandable-content-height.GkjjbmPy.js.map +1 -1
  495. package/dist/chunks/warning-filled.Dm_HhqzW.js +29 -0
  496. package/dist/chunks/{warning-filled.DHw1rVWs.js.map → warning-filled.Dm_HhqzW.js.map} +1 -1
  497. package/dist/code-snippet.js +1 -1
  498. package/dist/country.js +1 -1
  499. package/dist/currency.js +1 -1
  500. package/dist/dashboard-template.js +1 -1
  501. package/dist/dashed-underline.js +1 -1
  502. package/dist/data-grid-template.js +1 -1
  503. package/dist/data-grid.js +1 -1
  504. package/dist/date-picker.js +2 -2
  505. package/dist/date-range-picker.js +2 -2
  506. package/dist/date.js +1 -1
  507. package/dist/divider.js +1 -1
  508. package/dist/dropdown.js +4 -4
  509. package/dist/empty-state.js +1 -1
  510. package/dist/filter-bar.js +1 -1
  511. package/dist/form-layout.js +1 -1
  512. package/dist/header.js +1 -1
  513. package/dist/index.js +69 -67
  514. package/dist/index.js.map +1 -1
  515. package/dist/info-icon.js +1 -1
  516. package/dist/input-field.js +1 -1
  517. package/dist/inspector.js +1 -1
  518. package/dist/internal.js +8 -8
  519. package/dist/link.js +1 -1
  520. package/dist/menu.js +1 -1
  521. package/dist/modal-fullscreen.js +1 -1
  522. package/dist/modal.js +2 -2
  523. package/dist/pagination.js +1 -1
  524. package/dist/payment-method.js +1 -1
  525. package/dist/popover.js +1 -1
  526. package/dist/popper-container.js +1 -1
  527. package/dist/radio-group.js +2 -2
  528. package/dist/search-bar.js +2 -2
  529. package/dist/secondary-nav.js +1 -1
  530. package/dist/segmented-control.js +1 -1
  531. package/dist/selection-card.js +1 -1
  532. package/dist/sidepanel.js +1 -1
  533. package/dist/status.js +1 -1
  534. package/dist/stepper.js +1 -1
  535. package/dist/structured-list.js +1 -1
  536. package/dist/summary-grid.js +1 -1
  537. package/dist/tabs.js +1 -1
  538. package/dist/tag.js +1 -1
  539. package/dist/textarea.js +1 -1
  540. package/dist/timeline.js +1 -1
  541. package/dist/toast.js +1 -1
  542. package/dist/toggle.js +1 -1
  543. package/dist/tutorial.js +1 -1
  544. package/dist/typography.js +1 -1
  545. package/dist/web-types.json +1 -1
  546. package/package.json +4 -4
  547. package/dist/chunks/accordion-item.C7rQK0Xh.js +0 -126
  548. package/dist/chunks/alert.BOqbFni9.js +0 -162
  549. package/dist/chunks/avatar.DWSW4vWC.js +0 -94
  550. package/dist/chunks/base-modal.09efJqFH.js.map +0 -1
  551. package/dist/chunks/calendar.DrP5wyvL.js.map +0 -1
  552. package/dist/chunks/card.BKtIXyL-.js +0 -205
  553. package/dist/chunks/checkbox-input.CR1lHf7f.js.map +0 -1
  554. package/dist/chunks/checkmark-circle-fill.D29b-JWj.js +0 -44
  555. package/dist/chunks/checkmark-small.BCeGkayS.js +0 -29
  556. package/dist/chunks/chevron-left.4JHuWe7i.js +0 -52
  557. package/dist/chunks/chevron-up.5-KtIp8i.js +0 -52
  558. package/dist/chunks/cross-circle-fill-small.DiZWEd7W.js +0 -29
  559. package/dist/chunks/cross-circle-fill.vLaelNTN.js +0 -44
  560. package/dist/chunks/cross-small.48UCoOqB.js +0 -29
  561. package/dist/chunks/cross.BlL0FyHo.js +0 -29
  562. package/dist/chunks/dashboard-section.CwOasd7G.js +0 -167
  563. package/dist/chunks/dashed-underline.D_262wln.js +0 -79
  564. package/dist/chunks/data-grid-template.ViVmshHU.js +0 -93
  565. package/dist/chunks/data-grid-template.ViVmshHU.js.map +0 -1
  566. package/dist/chunks/data-grid.CCVRJrXT.js +0 -2765
  567. package/dist/chunks/data-grid.CCVRJrXT.js.map +0 -1
  568. package/dist/chunks/date-range-picker.T10FmcWb.js +0 -923
  569. package/dist/chunks/date-range-picker.T10FmcWb.js.map +0 -1
  570. package/dist/chunks/dialog-page.CBim-VWH.js +0 -171
  571. package/dist/chunks/divider.CnwfddJD.js +0 -22
  572. package/dist/chunks/expand.D1DTqaBO.js +0 -33
  573. package/dist/chunks/filter-bar.DCaEgOFF.js +0 -2809
  574. package/dist/chunks/filter-bar.DCaEgOFF.js.map +0 -1
  575. package/dist/chunks/fixed-scroller.BN3jp9Ss.js.map +0 -1
  576. package/dist/chunks/i18n.DY5YXG5f.js +0 -2652
  577. package/dist/chunks/i18n.DY5YXG5f.js.map +0 -1
  578. package/dist/chunks/info.CNegCnli.js +0 -44
  579. package/dist/chunks/inspector.types.BpPQ6zrm.js +0 -116
  580. package/dist/chunks/link.DgEKZGKQ.js +0 -110
  581. package/dist/chunks/link.DgEKZGKQ.js.map +0 -1
  582. package/dist/chunks/refresh.BfxRdaQb.js +0 -29
  583. package/dist/chunks/search.0lh99z1F.js +0 -44
  584. package/dist/chunks/secondary-nav.CRJ27DQY.js +0 -137
  585. package/dist/chunks/segmented-control.hE7kcMb7.js +0 -142
  586. package/dist/chunks/selection-card-group.Bxv-t-CN.js.map +0 -1
  587. package/dist/chunks/step.D3y_Iv1_.js +0 -284
  588. package/dist/chunks/step.D3y_Iv1_.js.map +0 -1
  589. package/dist/chunks/structured-list-item.CnrBWJgo.js +0 -101
  590. package/dist/chunks/toast.CtEylmx6.js +0 -215
  591. package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.Dorj2fX-.js +0 -408
  592. package/dist/chunks/use-cached-selected-values.DplP72ef.js.map +0 -1
  593. package/dist/chunks/warning-filled.DHw1rVWs.js +0 -29
@@ -1,2652 +0,0 @@
1
- import { h as Qt, getCurrentInstance as Qe, inject as qt, onMounted as In, onUnmounted as bn, shallowRef as An, ref as oe, computed as ee, onBeforeMount as hn, watch as bt, Fragment as Cn, createVNode as Dn, Text as kn } from "vue";
2
- import "vue-i18n";
3
- /*!
4
- * shared v9.2.2
5
- * (c) 2022 kazuya kawaguchi
6
- * Released under the MIT License.
7
- */
8
- const Ee = typeof window < "u";
9
- let Z, Ie;
10
- if (process.env.NODE_ENV !== "production") {
11
- const e = Ee && window.performance;
12
- e && e.mark && e.measure && e.clearMarks && e.clearMeasures && (Z = (t) => e.mark(t), Ie = (t, a, r) => {
13
- e.measure(t, a, r), e.clearMarks(a), e.clearMarks(r);
14
- });
15
- }
16
- const Sn = /\{([0-9a-zA-Z]+)\}/g;
17
- function qe(e, ...t) {
18
- return t.length === 1 && w(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(Sn, (a, r) => t.hasOwnProperty(r) ? t[r] : "");
19
- }
20
- const Pn = typeof Symbol == "function" && typeof Symbol.toStringTag == "symbol", Ne = (e) => Pn ? Symbol(e) : e, yn = (e, t, a) => Rn({ l: e, k: t, s: a }), Rn = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), K = (e) => typeof e == "number" && isFinite(e), Fn = (e) => Lt(e) === "[object Date]", ke = (e) => Lt(e) === "[object RegExp]", Ze = (e) => R(e) && Object.keys(e).length === 0;
21
- function Ke(e, t) {
22
- typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
23
- }
24
- const Y = Object.assign;
25
- let At;
26
- const xe = () => At || (At = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
27
- function ht(e) {
28
- return e.replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&apos;");
29
- }
30
- const Mn = Object.prototype.hasOwnProperty;
31
- function gt(e, t) {
32
- return Mn.call(e, t);
33
- }
34
- const H = Array.isArray, x = (e) => typeof e == "function", h = (e) => typeof e == "string", V = (e) => typeof e == "boolean", w = (e) => (
35
- // eslint-disable-line
36
- e !== null && typeof e == "object"
37
- ), Zt = Object.prototype.toString, Lt = (e) => Zt.call(e), R = (e) => Lt(e) === "[object Object]", Un = (e) => e == null ? "" : H(e) || R(e) && e.toString === Zt ? JSON.stringify(e, null, 2) : String(e), Ct = 2;
38
- function wn(e, t = 0, a = e.length) {
39
- const r = e.split(/\r?\n/);
40
- let o = 0;
41
- const n = [];
42
- for (let c = 0; c < r.length; c++)
43
- if (o += r[c].length + 1, o >= t) {
44
- for (let _ = c - Ct; _ <= c + Ct || a > o; _++) {
45
- if (_ < 0 || _ >= r.length)
46
- continue;
47
- const i = _ + 1;
48
- n.push(`${i}${" ".repeat(3 - String(i).length)}| ${r[_]}`);
49
- const g = r[_].length;
50
- if (_ === c) {
51
- const v = t - (o - g) + 1, O = Math.max(1, a > o ? g - v : a - t);
52
- n.push(" | " + " ".repeat(v) + "^".repeat(O));
53
- } else if (_ > c) {
54
- if (a > o) {
55
- const v = Math.max(Math.min(a - o, g), 1);
56
- n.push(" | " + "^".repeat(v));
57
- }
58
- o += g + 1;
59
- }
60
- }
61
- break;
62
- }
63
- return n.join(`
64
- `);
65
- }
66
- function Vn() {
67
- const e = /* @__PURE__ */ new Map();
68
- return {
69
- events: e,
70
- on(a, r) {
71
- const o = e.get(a);
72
- o && o.push(r) || e.set(a, [r]);
73
- },
74
- off(a, r) {
75
- const o = e.get(a);
76
- o && o.splice(o.indexOf(r) >>> 0, 1);
77
- },
78
- emit(a, r) {
79
- (e.get(a) || []).slice().map((o) => o(r)), (e.get("*") || []).slice().map((o) => o(a, r));
80
- }
81
- };
82
- }
83
- /*!
84
- * message-compiler v9.2.2
85
- * (c) 2022 kazuya kawaguchi
86
- * Released under the MIT License.
87
- */
88
- const S = {
89
- // tokenizer error codes
90
- EXPECTED_TOKEN: 1,
91
- INVALID_TOKEN_IN_PLACEHOLDER: 2,
92
- UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER: 3,
93
- UNKNOWN_ESCAPE_SEQUENCE: 4,
94
- INVALID_UNICODE_ESCAPE_SEQUENCE: 5,
95
- UNBALANCED_CLOSING_BRACE: 6,
96
- UNTERMINATED_CLOSING_BRACE: 7,
97
- EMPTY_PLACEHOLDER: 8,
98
- NOT_ALLOW_NEST_PLACEHOLDER: 9,
99
- INVALID_LINKED_FORMAT: 10,
100
- // parser error codes
101
- MUST_HAVE_MESSAGES_IN_PLURAL: 11,
102
- UNEXPECTED_EMPTY_LINKED_MODIFIER: 12,
103
- UNEXPECTED_EMPTY_LINKED_KEY: 13,
104
- UNEXPECTED_LEXICAL_ANALYSIS: 14,
105
- // Special value for higher-order compilers to pick up the last code
106
- // to avoid collision of error codes. This should always be kept as the last
107
- // item.
108
- __EXTEND_POINT__: 15
109
- }, Wn = {
110
- // tokenizer error messages
111
- [S.EXPECTED_TOKEN]: "Expected token: '{0}'",
112
- [S.INVALID_TOKEN_IN_PLACEHOLDER]: "Invalid token in placeholder: '{0}'",
113
- [S.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]: "Unterminated single quote in placeholder",
114
- [S.UNKNOWN_ESCAPE_SEQUENCE]: "Unknown escape sequence: \\{0}",
115
- [S.INVALID_UNICODE_ESCAPE_SEQUENCE]: "Invalid unicode escape sequence: {0}",
116
- [S.UNBALANCED_CLOSING_BRACE]: "Unbalanced closing brace",
117
- [S.UNTERMINATED_CLOSING_BRACE]: "Unterminated closing brace",
118
- [S.EMPTY_PLACEHOLDER]: "Empty placeholder",
119
- [S.NOT_ALLOW_NEST_PLACEHOLDER]: "Not allowed nest placeholder",
120
- [S.INVALID_LINKED_FORMAT]: "Invalid linked format",
121
- // parser error messages
122
- [S.MUST_HAVE_MESSAGES_IN_PLURAL]: "Plural must have messages",
123
- [S.UNEXPECTED_EMPTY_LINKED_MODIFIER]: "Unexpected empty linked modifier",
124
- [S.UNEXPECTED_EMPTY_LINKED_KEY]: "Unexpected empty linked key",
125
- [S.UNEXPECTED_LEXICAL_ANALYSIS]: "Unexpected lexical analysis in token: '{0}'"
126
- };
127
- function ze(e, t, a = {}) {
128
- const { domain: r, messages: o, args: n } = a, c = process.env.NODE_ENV !== "production" ? qe((o || Wn)[e] || "", ...n || []) : e, _ = new SyntaxError(String(c));
129
- return _.code = e, t && (_.location = t), _.domain = r, _;
130
- }
131
- function $n(e) {
132
- throw e;
133
- }
134
- function Hn(e, t, a) {
135
- return { line: e, column: t, offset: a };
136
- }
137
- function ot(e, t, a) {
138
- return { start: e, end: t };
139
- }
140
- const ie = " ", Gn = "\r", j = `
141
- `, xn = "\u2028", Yn = "\u2029";
142
- function Bn(e) {
143
- const t = e;
144
- let a = 0, r = 1, o = 1, n = 0;
145
- const c = (b) => t[b] === Gn && t[b + 1] === j, _ = (b) => t[b] === j, i = (b) => t[b] === Yn, g = (b) => t[b] === xn, v = (b) => c(b) || _(b) || i(b) || g(b), O = () => a, L = () => r, D = () => o, P = () => n, C = (b) => c(b) || i(b) || g(b) ? j : t[b], k = () => C(a), u = () => C(a + n);
146
- function d() {
147
- return n = 0, v(a) && (r++, o = 0), c(a) && a++, a++, o++, t[a];
148
- }
149
- function p() {
150
- return c(a + n) && n++, n++, t[a + n];
151
- }
152
- function N() {
153
- a = 0, r = 1, o = 1, n = 0;
154
- }
155
- function E(b = 0) {
156
- n = b;
157
- }
158
- function I() {
159
- const b = a + n;
160
- for (; b !== a; )
161
- d();
162
- n = 0;
163
- }
164
- return {
165
- index: O,
166
- line: L,
167
- column: D,
168
- peekOffset: P,
169
- charAt: C,
170
- currentChar: k,
171
- currentPeek: u,
172
- next: d,
173
- peek: p,
174
- reset: N,
175
- resetPeek: E,
176
- skipToPeek: I
177
- };
178
- }
179
- const de = void 0, Dt = "'", Kn = "tokenizer";
180
- function Xn(e, t = {}) {
181
- const a = t.location !== !1, r = Bn(e), o = () => r.index(), n = () => Hn(r.line(), r.column(), r.index()), c = n(), _ = o(), i = {
182
- currentType: 14,
183
- offset: _,
184
- startLoc: c,
185
- endLoc: c,
186
- lastType: 14,
187
- lastOffset: _,
188
- lastStartLoc: c,
189
- lastEndLoc: c,
190
- braceNest: 0,
191
- inLinked: !1,
192
- text: ""
193
- }, g = () => i, { onError: v } = t;
194
- function O(s, l, f, ...A) {
195
- const y = g();
196
- if (l.column += f, l.offset += f, v) {
197
- const M = ot(y.startLoc, l), re = ze(s, M, {
198
- domain: Kn,
199
- args: A
200
- });
201
- v(re);
202
- }
203
- }
204
- function L(s, l, f) {
205
- s.endLoc = n(), s.currentType = l;
206
- const A = { type: l };
207
- return a && (A.loc = ot(s.startLoc, s.endLoc)), f != null && (A.value = f), A;
208
- }
209
- const D = (s) => L(
210
- s,
211
- 14
212
- /* EOF */
213
- );
214
- function P(s, l) {
215
- return s.currentChar() === l ? (s.next(), l) : (O(S.EXPECTED_TOKEN, n(), 0, l), "");
216
- }
217
- function C(s) {
218
- let l = "";
219
- for (; s.currentPeek() === ie || s.currentPeek() === j; )
220
- l += s.currentPeek(), s.peek();
221
- return l;
222
- }
223
- function k(s) {
224
- const l = C(s);
225
- return s.skipToPeek(), l;
226
- }
227
- function u(s) {
228
- if (s === de)
229
- return !1;
230
- const l = s.charCodeAt(0);
231
- return l >= 97 && l <= 122 || // a-z
232
- l >= 65 && l <= 90 || // A-Z
233
- l === 95;
234
- }
235
- function d(s) {
236
- if (s === de)
237
- return !1;
238
- const l = s.charCodeAt(0);
239
- return l >= 48 && l <= 57;
240
- }
241
- function p(s, l) {
242
- const { currentType: f } = l;
243
- if (f !== 2)
244
- return !1;
245
- C(s);
246
- const A = u(s.currentPeek());
247
- return s.resetPeek(), A;
248
- }
249
- function N(s, l) {
250
- const { currentType: f } = l;
251
- if (f !== 2)
252
- return !1;
253
- C(s);
254
- const A = s.currentPeek() === "-" ? s.peek() : s.currentPeek(), y = d(A);
255
- return s.resetPeek(), y;
256
- }
257
- function E(s, l) {
258
- const { currentType: f } = l;
259
- if (f !== 2)
260
- return !1;
261
- C(s);
262
- const A = s.currentPeek() === Dt;
263
- return s.resetPeek(), A;
264
- }
265
- function I(s, l) {
266
- const { currentType: f } = l;
267
- if (f !== 8)
268
- return !1;
269
- C(s);
270
- const A = s.currentPeek() === ".";
271
- return s.resetPeek(), A;
272
- }
273
- function b(s, l) {
274
- const { currentType: f } = l;
275
- if (f !== 9)
276
- return !1;
277
- C(s);
278
- const A = u(s.currentPeek());
279
- return s.resetPeek(), A;
280
- }
281
- function U(s, l) {
282
- const { currentType: f } = l;
283
- if (!(f === 8 || f === 12))
284
- return !1;
285
- C(s);
286
- const A = s.currentPeek() === ":";
287
- return s.resetPeek(), A;
288
- }
289
- function F(s, l) {
290
- const { currentType: f } = l;
291
- if (f !== 10)
292
- return !1;
293
- const A = () => {
294
- const M = s.currentPeek();
295
- return M === "{" ? u(s.peek()) : M === "@" || M === "%" || M === "|" || M === ":" || M === "." || M === ie || !M ? !1 : M === j ? (s.peek(), A()) : u(M);
296
- }, y = A();
297
- return s.resetPeek(), y;
298
- }
299
- function $(s) {
300
- C(s);
301
- const l = s.currentPeek() === "|";
302
- return s.resetPeek(), l;
303
- }
304
- function B(s) {
305
- const l = C(s), f = s.currentPeek() === "%" && s.peek() === "{";
306
- return s.resetPeek(), {
307
- isModulo: f,
308
- hasSpace: l.length > 0
309
- };
310
- }
311
- function te(s, l = !0) {
312
- const f = (y = !1, M = "", re = !1) => {
313
- const ce = s.currentPeek();
314
- return ce === "{" ? M === "%" ? !1 : y : ce === "@" || !ce ? M === "%" ? !0 : y : ce === "%" ? (s.peek(), f(y, "%", !0)) : ce === "|" ? M === "%" || re ? !0 : !(M === ie || M === j) : ce === ie ? (s.peek(), f(!0, ie, re)) : ce === j ? (s.peek(), f(!0, j, re)) : !0;
315
- }, A = f();
316
- return l && s.resetPeek(), A;
317
- }
318
- function z(s, l) {
319
- const f = s.currentChar();
320
- return f === de ? de : l(f) ? (s.next(), f) : null;
321
- }
322
- function be(s) {
323
- return z(s, (f) => {
324
- const A = f.charCodeAt(0);
325
- return A >= 97 && A <= 122 || // a-z
326
- A >= 65 && A <= 90 || // A-Z
327
- A >= 48 && A <= 57 || // 0-9
328
- A === 95 || // _
329
- A === 36;
330
- });
331
- }
332
- function ye(s) {
333
- return z(s, (f) => {
334
- const A = f.charCodeAt(0);
335
- return A >= 48 && A <= 57;
336
- });
337
- }
338
- function ne(s) {
339
- return z(s, (f) => {
340
- const A = f.charCodeAt(0);
341
- return A >= 48 && A <= 57 || // 0-9
342
- A >= 65 && A <= 70 || // A-F
343
- A >= 97 && A <= 102;
344
- });
345
- }
346
- function Ae(s) {
347
- let l = "", f = "";
348
- for (; l = ye(s); )
349
- f += l;
350
- return f;
351
- }
352
- function ae(s) {
353
- k(s);
354
- const l = s.currentChar();
355
- return l !== "%" && O(S.EXPECTED_TOKEN, n(), 0, l), s.next(), "%";
356
- }
357
- function Le(s) {
358
- let l = "";
359
- for (; ; ) {
360
- const f = s.currentChar();
361
- if (f === "{" || f === "}" || f === "@" || f === "|" || !f)
362
- break;
363
- if (f === "%")
364
- if (te(s))
365
- l += f, s.next();
366
- else
367
- break;
368
- else if (f === ie || f === j)
369
- if (te(s))
370
- l += f, s.next();
371
- else {
372
- if ($(s))
373
- break;
374
- l += f, s.next();
375
- }
376
- else
377
- l += f, s.next();
378
- }
379
- return l;
380
- }
381
- function Re(s) {
382
- k(s);
383
- let l = "", f = "";
384
- for (; l = be(s); )
385
- f += l;
386
- return s.currentChar() === de && O(S.UNTERMINATED_CLOSING_BRACE, n(), 0), f;
387
- }
388
- function Fe(s) {
389
- k(s);
390
- let l = "";
391
- return s.currentChar() === "-" ? (s.next(), l += `-${Ae(s)}`) : l += Ae(s), s.currentChar() === de && O(S.UNTERMINATED_CLOSING_BRACE, n(), 0), l;
392
- }
393
- function Me(s) {
394
- k(s), P(s, "'");
395
- let l = "", f = "";
396
- const A = (M) => M !== Dt && M !== j;
397
- for (; l = z(s, A); )
398
- l === "\\" ? f += Ue(s) : f += l;
399
- const y = s.currentChar();
400
- return y === j || y === de ? (O(S.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, n(), 0), y === j && (s.next(), P(s, "'")), f) : (P(s, "'"), f);
401
- }
402
- function Ue(s) {
403
- const l = s.currentChar();
404
- switch (l) {
405
- case "\\":
406
- case "'":
407
- return s.next(), `\\${l}`;
408
- case "u":
409
- return we(s, l, 4);
410
- case "U":
411
- return we(s, l, 6);
412
- default:
413
- return O(S.UNKNOWN_ESCAPE_SEQUENCE, n(), 0, l), "";
414
- }
415
- }
416
- function we(s, l, f) {
417
- P(s, l);
418
- let A = "";
419
- for (let y = 0; y < f; y++) {
420
- const M = ne(s);
421
- if (!M) {
422
- O(S.INVALID_UNICODE_ESCAPE_SEQUENCE, n(), 0, `\\${l}${A}${s.currentChar()}`);
423
- break;
424
- }
425
- A += M;
426
- }
427
- return `\\${l}${A}`;
428
- }
429
- function Ve(s) {
430
- k(s);
431
- let l = "", f = "";
432
- const A = (y) => y !== "{" && y !== "}" && y !== ie && y !== j;
433
- for (; l = z(s, A); )
434
- f += l;
435
- return f;
436
- }
437
- function We(s) {
438
- let l = "", f = "";
439
- for (; l = be(s); )
440
- f += l;
441
- return f;
442
- }
443
- function $e(s) {
444
- const l = (f = !1, A) => {
445
- const y = s.currentChar();
446
- return y === "{" || y === "%" || y === "@" || y === "|" || !y || y === ie ? A : y === j ? (A += y, s.next(), l(f, A)) : (A += y, s.next(), l(!0, A));
447
- };
448
- return l(!1, "");
449
- }
450
- function Te(s) {
451
- k(s);
452
- const l = P(
453
- s,
454
- "|"
455
- /* Pipe */
456
- );
457
- return k(s), l;
458
- }
459
- function pe(s, l) {
460
- let f = null;
461
- switch (s.currentChar()) {
462
- case "{":
463
- return l.braceNest >= 1 && O(S.NOT_ALLOW_NEST_PLACEHOLDER, n(), 0), s.next(), f = L(
464
- l,
465
- 2,
466
- "{"
467
- /* BraceLeft */
468
- ), k(s), l.braceNest++, f;
469
- case "}":
470
- return l.braceNest > 0 && l.currentType === 2 && O(S.EMPTY_PLACEHOLDER, n(), 0), s.next(), f = L(
471
- l,
472
- 3,
473
- "}"
474
- /* BraceRight */
475
- ), l.braceNest--, l.braceNest > 0 && k(s), l.inLinked && l.braceNest === 0 && (l.inLinked = !1), f;
476
- case "@":
477
- return l.braceNest > 0 && O(S.UNTERMINATED_CLOSING_BRACE, n(), 0), f = me(s, l) || D(l), l.braceNest = 0, f;
478
- default:
479
- let y = !0, M = !0, re = !0;
480
- if ($(s))
481
- return l.braceNest > 0 && O(S.UNTERMINATED_CLOSING_BRACE, n(), 0), f = L(l, 1, Te(s)), l.braceNest = 0, l.inLinked = !1, f;
482
- if (l.braceNest > 0 && (l.currentType === 5 || l.currentType === 6 || l.currentType === 7))
483
- return O(S.UNTERMINATED_CLOSING_BRACE, n(), 0), l.braceNest = 0, Oe(s, l);
484
- if (y = p(s, l))
485
- return f = L(l, 5, Re(s)), k(s), f;
486
- if (M = N(s, l))
487
- return f = L(l, 6, Fe(s)), k(s), f;
488
- if (re = E(s, l))
489
- return f = L(l, 7, Me(s)), k(s), f;
490
- if (!y && !M && !re)
491
- return f = L(l, 13, Ve(s)), O(S.INVALID_TOKEN_IN_PLACEHOLDER, n(), 0, f.value), k(s), f;
492
- break;
493
- }
494
- return f;
495
- }
496
- function me(s, l) {
497
- const { currentType: f } = l;
498
- let A = null;
499
- const y = s.currentChar();
500
- switch ((f === 8 || f === 9 || f === 12 || f === 10) && (y === j || y === ie) && O(S.INVALID_LINKED_FORMAT, n(), 0), y) {
501
- case "@":
502
- return s.next(), A = L(
503
- l,
504
- 8,
505
- "@"
506
- /* LinkedAlias */
507
- ), l.inLinked = !0, A;
508
- case ".":
509
- return k(s), s.next(), L(
510
- l,
511
- 9,
512
- "."
513
- /* LinkedDot */
514
- );
515
- case ":":
516
- return k(s), s.next(), L(
517
- l,
518
- 10,
519
- ":"
520
- /* LinkedDelimiter */
521
- );
522
- default:
523
- return $(s) ? (A = L(l, 1, Te(s)), l.braceNest = 0, l.inLinked = !1, A) : I(s, l) || U(s, l) ? (k(s), me(s, l)) : b(s, l) ? (k(s), L(l, 12, We(s))) : F(s, l) ? (k(s), y === "{" ? pe(s, l) || A : L(l, 11, $e(s))) : (f === 8 && O(S.INVALID_LINKED_FORMAT, n(), 0), l.braceNest = 0, l.inLinked = !1, Oe(s, l));
524
- }
525
- }
526
- function Oe(s, l) {
527
- let f = {
528
- type: 14
529
- /* EOF */
530
- };
531
- if (l.braceNest > 0)
532
- return pe(s, l) || D(l);
533
- if (l.inLinked)
534
- return me(s, l) || D(l);
535
- switch (s.currentChar()) {
536
- case "{":
537
- return pe(s, l) || D(l);
538
- case "}":
539
- return O(S.UNBALANCED_CLOSING_BRACE, n(), 0), s.next(), L(
540
- l,
541
- 3,
542
- "}"
543
- /* BraceRight */
544
- );
545
- case "@":
546
- return me(s, l) || D(l);
547
- default:
548
- if ($(s))
549
- return f = L(l, 1, Te(s)), l.braceNest = 0, l.inLinked = !1, f;
550
- const { isModulo: y, hasSpace: M } = B(s);
551
- if (y)
552
- return M ? L(l, 0, Le(s)) : L(l, 4, ae(s));
553
- if (te(s))
554
- return L(l, 0, Le(s));
555
- break;
556
- }
557
- return f;
558
- }
559
- function He() {
560
- const { currentType: s, offset: l, startLoc: f, endLoc: A } = i;
561
- return i.lastType = s, i.lastOffset = l, i.lastStartLoc = f, i.lastEndLoc = A, i.offset = o(), i.startLoc = n(), r.currentChar() === de ? L(
562
- i,
563
- 14
564
- /* EOF */
565
- ) : Oe(r, i);
566
- }
567
- return {
568
- nextToken: He,
569
- currentOffset: o,
570
- currentPosition: n,
571
- context: g
572
- };
573
- }
574
- const jn = "parser", Jn = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;
575
- function Qn(e, t, a) {
576
- switch (e) {
577
- case "\\\\":
578
- return "\\";
579
- case "\\'":
580
- return "'";
581
- default: {
582
- const r = parseInt(t || a, 16);
583
- return r <= 55295 || r >= 57344 ? String.fromCodePoint(r) : "�";
584
- }
585
- }
586
- }
587
- function qn(e = {}) {
588
- const t = e.location !== !1, { onError: a } = e;
589
- function r(u, d, p, N, ...E) {
590
- const I = u.currentPosition();
591
- if (I.offset += N, I.column += N, a) {
592
- const b = ot(p, I), U = ze(d, b, {
593
- domain: jn,
594
- args: E
595
- });
596
- a(U);
597
- }
598
- }
599
- function o(u, d, p) {
600
- const N = {
601
- type: u,
602
- start: d,
603
- end: d
604
- };
605
- return t && (N.loc = { start: p, end: p }), N;
606
- }
607
- function n(u, d, p, N) {
608
- u.end = d, t && u.loc && (u.loc.end = p);
609
- }
610
- function c(u, d) {
611
- const p = u.context(), N = o(3, p.offset, p.startLoc);
612
- return N.value = d, n(N, u.currentOffset(), u.currentPosition()), N;
613
- }
614
- function _(u, d) {
615
- const p = u.context(), { lastOffset: N, lastStartLoc: E } = p, I = o(5, N, E);
616
- return I.index = parseInt(d, 10), u.nextToken(), n(I, u.currentOffset(), u.currentPosition()), I;
617
- }
618
- function i(u, d) {
619
- const p = u.context(), { lastOffset: N, lastStartLoc: E } = p, I = o(4, N, E);
620
- return I.key = d, u.nextToken(), n(I, u.currentOffset(), u.currentPosition()), I;
621
- }
622
- function g(u, d) {
623
- const p = u.context(), { lastOffset: N, lastStartLoc: E } = p, I = o(9, N, E);
624
- return I.value = d.replace(Jn, Qn), u.nextToken(), n(I, u.currentOffset(), u.currentPosition()), I;
625
- }
626
- function v(u) {
627
- const d = u.nextToken(), p = u.context(), { lastOffset: N, lastStartLoc: E } = p, I = o(8, N, E);
628
- return d.type !== 12 ? (r(u, S.UNEXPECTED_EMPTY_LINKED_MODIFIER, p.lastStartLoc, 0), I.value = "", n(I, N, E), {
629
- nextConsumeToken: d,
630
- node: I
631
- }) : (d.value == null && r(u, S.UNEXPECTED_LEXICAL_ANALYSIS, p.lastStartLoc, 0, le(d)), I.value = d.value || "", n(I, u.currentOffset(), u.currentPosition()), {
632
- node: I
633
- });
634
- }
635
- function O(u, d) {
636
- const p = u.context(), N = o(7, p.offset, p.startLoc);
637
- return N.value = d, n(N, u.currentOffset(), u.currentPosition()), N;
638
- }
639
- function L(u) {
640
- const d = u.context(), p = o(6, d.offset, d.startLoc);
641
- let N = u.nextToken();
642
- if (N.type === 9) {
643
- const E = v(u);
644
- p.modifier = E.node, N = E.nextConsumeToken || u.nextToken();
645
- }
646
- switch (N.type !== 10 && r(u, S.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, le(N)), N = u.nextToken(), N.type === 2 && (N = u.nextToken()), N.type) {
647
- case 11:
648
- N.value == null && r(u, S.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, le(N)), p.key = O(u, N.value || "");
649
- break;
650
- case 5:
651
- N.value == null && r(u, S.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, le(N)), p.key = i(u, N.value || "");
652
- break;
653
- case 6:
654
- N.value == null && r(u, S.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, le(N)), p.key = _(u, N.value || "");
655
- break;
656
- case 7:
657
- N.value == null && r(u, S.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, le(N)), p.key = g(u, N.value || "");
658
- break;
659
- default:
660
- r(u, S.UNEXPECTED_EMPTY_LINKED_KEY, d.lastStartLoc, 0);
661
- const E = u.context(), I = o(7, E.offset, E.startLoc);
662
- return I.value = "", n(I, E.offset, E.startLoc), p.key = I, n(p, E.offset, E.startLoc), {
663
- nextConsumeToken: N,
664
- node: p
665
- };
666
- }
667
- return n(p, u.currentOffset(), u.currentPosition()), {
668
- node: p
669
- };
670
- }
671
- function D(u) {
672
- const d = u.context(), p = d.currentType === 1 ? u.currentOffset() : d.offset, N = d.currentType === 1 ? d.endLoc : d.startLoc, E = o(2, p, N);
673
- E.items = [];
674
- let I = null;
675
- do {
676
- const F = I || u.nextToken();
677
- switch (I = null, F.type) {
678
- case 0:
679
- F.value == null && r(u, S.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, le(F)), E.items.push(c(u, F.value || ""));
680
- break;
681
- case 6:
682
- F.value == null && r(u, S.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, le(F)), E.items.push(_(u, F.value || ""));
683
- break;
684
- case 5:
685
- F.value == null && r(u, S.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, le(F)), E.items.push(i(u, F.value || ""));
686
- break;
687
- case 7:
688
- F.value == null && r(u, S.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, le(F)), E.items.push(g(u, F.value || ""));
689
- break;
690
- case 8:
691
- const $ = L(u);
692
- E.items.push($.node), I = $.nextConsumeToken || null;
693
- break;
694
- }
695
- } while (d.currentType !== 14 && d.currentType !== 1);
696
- const b = d.currentType === 1 ? d.lastOffset : u.currentOffset(), U = d.currentType === 1 ? d.lastEndLoc : u.currentPosition();
697
- return n(E, b, U), E;
698
- }
699
- function P(u, d, p, N) {
700
- const E = u.context();
701
- let I = N.items.length === 0;
702
- const b = o(1, d, p);
703
- b.cases = [], b.cases.push(N);
704
- do {
705
- const U = D(u);
706
- I || (I = U.items.length === 0), b.cases.push(U);
707
- } while (E.currentType !== 14);
708
- return I && r(u, S.MUST_HAVE_MESSAGES_IN_PLURAL, p, 0), n(b, u.currentOffset(), u.currentPosition()), b;
709
- }
710
- function C(u) {
711
- const d = u.context(), { offset: p, startLoc: N } = d, E = D(u);
712
- return d.currentType === 14 ? E : P(u, p, N, E);
713
- }
714
- function k(u) {
715
- const d = Xn(u, Y({}, e)), p = d.context(), N = o(0, p.offset, p.startLoc);
716
- return t && N.loc && (N.loc.source = u), N.body = C(d), p.currentType !== 14 && r(d, S.UNEXPECTED_LEXICAL_ANALYSIS, p.lastStartLoc, 0, u[p.offset] || ""), n(N, d.currentOffset(), d.currentPosition()), N;
717
- }
718
- return { parse: k };
719
- }
720
- function le(e) {
721
- if (e.type === 14)
722
- return "EOF";
723
- const t = (e.value || "").replace(/\r?\n/gu, "\\n");
724
- return t.length > 10 ? t.slice(0, 9) + "…" : t;
725
- }
726
- function Zn(e, t = {}) {
727
- const a = {
728
- ast: e,
729
- helpers: /* @__PURE__ */ new Set()
730
- };
731
- return { context: () => a, helper: (n) => (a.helpers.add(n), n) };
732
- }
733
- function kt(e, t) {
734
- for (let a = 0; a < e.length; a++)
735
- Tt(e[a], t);
736
- }
737
- function Tt(e, t) {
738
- switch (e.type) {
739
- case 1:
740
- kt(e.cases, t), t.helper(
741
- "plural"
742
- /* PLURAL */
743
- );
744
- break;
745
- case 2:
746
- kt(e.items, t);
747
- break;
748
- case 6:
749
- Tt(e.key, t), t.helper(
750
- "linked"
751
- /* LINKED */
752
- ), t.helper(
753
- "type"
754
- /* TYPE */
755
- );
756
- break;
757
- case 5:
758
- t.helper(
759
- "interpolate"
760
- /* INTERPOLATE */
761
- ), t.helper(
762
- "list"
763
- /* LIST */
764
- );
765
- break;
766
- case 4:
767
- t.helper(
768
- "interpolate"
769
- /* INTERPOLATE */
770
- ), t.helper(
771
- "named"
772
- /* NAMED */
773
- );
774
- break;
775
- }
776
- }
777
- function zn(e, t = {}) {
778
- const a = Zn(e);
779
- a.helper(
780
- "normalize"
781
- /* NORMALIZE */
782
- ), e.body && Tt(e.body, a);
783
- const r = a.context();
784
- e.helpers = Array.from(r.helpers);
785
- }
786
- function ea(e, t) {
787
- const { sourceMap: a, filename: r, breakLineCode: o, needIndent: n } = t, c = {
788
- source: e.loc.source,
789
- filename: r,
790
- code: "",
791
- column: 1,
792
- line: 1,
793
- offset: 0,
794
- map: void 0,
795
- breakLineCode: o,
796
- needIndent: n,
797
- indentLevel: 0
798
- }, _ = () => c;
799
- function i(C, k) {
800
- c.code += C;
801
- }
802
- function g(C, k = !0) {
803
- const u = k ? o : "";
804
- i(n ? u + " ".repeat(C) : u);
805
- }
806
- function v(C = !0) {
807
- const k = ++c.indentLevel;
808
- C && g(k);
809
- }
810
- function O(C = !0) {
811
- const k = --c.indentLevel;
812
- C && g(k);
813
- }
814
- function L() {
815
- g(c.indentLevel);
816
- }
817
- return {
818
- context: _,
819
- push: i,
820
- indent: v,
821
- deindent: O,
822
- newline: L,
823
- helper: (C) => `_${C}`,
824
- needIndent: () => c.needIndent
825
- };
826
- }
827
- function ta(e, t) {
828
- const { helper: a } = e;
829
- e.push(`${a(
830
- "linked"
831
- /* LINKED */
832
- )}(`), Se(e, t.key), t.modifier ? (e.push(", "), Se(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
833
- }
834
- function na(e, t) {
835
- const { helper: a, needIndent: r } = e;
836
- e.push(`${a(
837
- "normalize"
838
- /* NORMALIZE */
839
- )}([`), e.indent(r());
840
- const o = t.items.length;
841
- for (let n = 0; n < o && (Se(e, t.items[n]), n !== o - 1); n++)
842
- e.push(", ");
843
- e.deindent(r()), e.push("])");
844
- }
845
- function aa(e, t) {
846
- const { helper: a, needIndent: r } = e;
847
- if (t.cases.length > 1) {
848
- e.push(`${a(
849
- "plural"
850
- /* PLURAL */
851
- )}([`), e.indent(r());
852
- const o = t.cases.length;
853
- for (let n = 0; n < o && (Se(e, t.cases[n]), n !== o - 1); n++)
854
- e.push(", ");
855
- e.deindent(r()), e.push("])");
856
- }
857
- }
858
- function ra(e, t) {
859
- t.body ? Se(e, t.body) : e.push("null");
860
- }
861
- function Se(e, t) {
862
- const { helper: a } = e;
863
- switch (t.type) {
864
- case 0:
865
- ra(e, t);
866
- break;
867
- case 1:
868
- aa(e, t);
869
- break;
870
- case 2:
871
- na(e, t);
872
- break;
873
- case 6:
874
- ta(e, t);
875
- break;
876
- case 8:
877
- e.push(JSON.stringify(t.value), t);
878
- break;
879
- case 7:
880
- e.push(JSON.stringify(t.value), t);
881
- break;
882
- case 5:
883
- e.push(`${a(
884
- "interpolate"
885
- /* INTERPOLATE */
886
- )}(${a(
887
- "list"
888
- /* LIST */
889
- )}(${t.index}))`, t);
890
- break;
891
- case 4:
892
- e.push(`${a(
893
- "interpolate"
894
- /* INTERPOLATE */
895
- )}(${a(
896
- "named"
897
- /* NAMED */
898
- )}(${JSON.stringify(t.key)}))`, t);
899
- break;
900
- case 9:
901
- e.push(JSON.stringify(t.value), t);
902
- break;
903
- case 3:
904
- e.push(JSON.stringify(t.value), t);
905
- break;
906
- default:
907
- if (process.env.NODE_ENV !== "production")
908
- throw new Error(`unhandled codegen node type: ${t.type}`);
909
- }
910
- }
911
- const la = (e, t = {}) => {
912
- const a = h(t.mode) ? t.mode : "normal", r = h(t.filename) ? t.filename : "message.intl", o = !!t.sourceMap, n = t.breakLineCode != null ? t.breakLineCode : a === "arrow" ? ";" : `
913
- `, c = t.needIndent ? t.needIndent : a !== "arrow", _ = e.helpers || [], i = ea(e, {
914
- mode: a,
915
- filename: r,
916
- sourceMap: o,
917
- breakLineCode: n,
918
- needIndent: c
919
- });
920
- i.push(a === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), i.indent(c), _.length > 0 && (i.push(`const { ${_.map((O) => `${O}: _${O}`).join(", ")} } = ctx`), i.newline()), i.push("return "), Se(i, e), i.deindent(c), i.push("}");
921
- const { code: g, map: v } = i.context();
922
- return {
923
- ast: e,
924
- code: g,
925
- map: v ? v.toJSON() : void 0
926
- // eslint-disable-line @typescript-eslint/no-explicit-any
927
- };
928
- };
929
- function sa(e, t = {}) {
930
- const a = Y({}, t), o = qn(a).parse(e);
931
- return zn(o, a), la(o, a);
932
- }
933
- /*!
934
- * devtools-if v9.2.2
935
- * (c) 2022 kazuya kawaguchi
936
- * Released under the MIT License.
937
- */
938
- const zt = {
939
- I18nInit: "i18n:init",
940
- FunctionTranslate: "function:translate"
941
- };
942
- /*!
943
- * core-base v9.2.2
944
- * (c) 2022 kazuya kawaguchi
945
- * Released under the MIT License.
946
- */
947
- const ge = [];
948
- ge[
949
- 0
950
- /* BEFORE_PATH */
951
- ] = {
952
- w: [
953
- 0
954
- /* BEFORE_PATH */
955
- ],
956
- i: [
957
- 3,
958
- 0
959
- /* APPEND */
960
- ],
961
- "[": [
962
- 4
963
- /* IN_SUB_PATH */
964
- ],
965
- o: [
966
- 7
967
- /* AFTER_PATH */
968
- ]
969
- };
970
- ge[
971
- 1
972
- /* IN_PATH */
973
- ] = {
974
- w: [
975
- 1
976
- /* IN_PATH */
977
- ],
978
- ".": [
979
- 2
980
- /* BEFORE_IDENT */
981
- ],
982
- "[": [
983
- 4
984
- /* IN_SUB_PATH */
985
- ],
986
- o: [
987
- 7
988
- /* AFTER_PATH */
989
- ]
990
- };
991
- ge[
992
- 2
993
- /* BEFORE_IDENT */
994
- ] = {
995
- w: [
996
- 2
997
- /* BEFORE_IDENT */
998
- ],
999
- i: [
1000
- 3,
1001
- 0
1002
- /* APPEND */
1003
- ],
1004
- 0: [
1005
- 3,
1006
- 0
1007
- /* APPEND */
1008
- ]
1009
- };
1010
- ge[
1011
- 3
1012
- /* IN_IDENT */
1013
- ] = {
1014
- i: [
1015
- 3,
1016
- 0
1017
- /* APPEND */
1018
- ],
1019
- 0: [
1020
- 3,
1021
- 0
1022
- /* APPEND */
1023
- ],
1024
- w: [
1025
- 1,
1026
- 1
1027
- /* PUSH */
1028
- ],
1029
- ".": [
1030
- 2,
1031
- 1
1032
- /* PUSH */
1033
- ],
1034
- "[": [
1035
- 4,
1036
- 1
1037
- /* PUSH */
1038
- ],
1039
- o: [
1040
- 7,
1041
- 1
1042
- /* PUSH */
1043
- ]
1044
- };
1045
- ge[
1046
- 4
1047
- /* IN_SUB_PATH */
1048
- ] = {
1049
- "'": [
1050
- 5,
1051
- 0
1052
- /* APPEND */
1053
- ],
1054
- '"': [
1055
- 6,
1056
- 0
1057
- /* APPEND */
1058
- ],
1059
- "[": [
1060
- 4,
1061
- 2
1062
- /* INC_SUB_PATH_DEPTH */
1063
- ],
1064
- "]": [
1065
- 1,
1066
- 3
1067
- /* PUSH_SUB_PATH */
1068
- ],
1069
- o: 8,
1070
- l: [
1071
- 4,
1072
- 0
1073
- /* APPEND */
1074
- ]
1075
- };
1076
- ge[
1077
- 5
1078
- /* IN_SINGLE_QUOTE */
1079
- ] = {
1080
- "'": [
1081
- 4,
1082
- 0
1083
- /* APPEND */
1084
- ],
1085
- o: 8,
1086
- l: [
1087
- 5,
1088
- 0
1089
- /* APPEND */
1090
- ]
1091
- };
1092
- ge[
1093
- 6
1094
- /* IN_DOUBLE_QUOTE */
1095
- ] = {
1096
- '"': [
1097
- 4,
1098
- 0
1099
- /* APPEND */
1100
- ],
1101
- o: 8,
1102
- l: [
1103
- 6,
1104
- 0
1105
- /* APPEND */
1106
- ]
1107
- };
1108
- const oa = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
1109
- function ca(e) {
1110
- return oa.test(e);
1111
- }
1112
- function ia(e) {
1113
- const t = e.charCodeAt(0), a = e.charCodeAt(e.length - 1);
1114
- return t === a && (t === 34 || t === 39) ? e.slice(1, -1) : e;
1115
- }
1116
- function ua(e) {
1117
- if (e == null)
1118
- return "o";
1119
- switch (e.charCodeAt(0)) {
1120
- case 91:
1121
- case 93:
1122
- case 46:
1123
- case 34:
1124
- case 39:
1125
- return e;
1126
- case 95:
1127
- case 36:
1128
- case 45:
1129
- return "i";
1130
- case 9:
1131
- case 10:
1132
- case 13:
1133
- case 160:
1134
- case 65279:
1135
- case 8232:
1136
- case 8233:
1137
- return "w";
1138
- }
1139
- return "i";
1140
- }
1141
- function fa(e) {
1142
- const t = e.trim();
1143
- return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : ca(t) ? ia(t) : "*" + t;
1144
- }
1145
- function _a(e) {
1146
- const t = [];
1147
- let a = -1, r = 0, o = 0, n, c, _, i, g, v, O;
1148
- const L = [];
1149
- L[
1150
- 0
1151
- /* APPEND */
1152
- ] = () => {
1153
- c === void 0 ? c = _ : c += _;
1154
- }, L[
1155
- 1
1156
- /* PUSH */
1157
- ] = () => {
1158
- c !== void 0 && (t.push(c), c = void 0);
1159
- }, L[
1160
- 2
1161
- /* INC_SUB_PATH_DEPTH */
1162
- ] = () => {
1163
- L[
1164
- 0
1165
- /* APPEND */
1166
- ](), o++;
1167
- }, L[
1168
- 3
1169
- /* PUSH_SUB_PATH */
1170
- ] = () => {
1171
- if (o > 0)
1172
- o--, r = 4, L[
1173
- 0
1174
- /* APPEND */
1175
- ]();
1176
- else {
1177
- if (o = 0, c === void 0 || (c = fa(c), c === !1))
1178
- return !1;
1179
- L[
1180
- 1
1181
- /* PUSH */
1182
- ]();
1183
- }
1184
- };
1185
- function D() {
1186
- const P = e[a + 1];
1187
- if (r === 5 && P === "'" || r === 6 && P === '"')
1188
- return a++, _ = "\\" + P, L[
1189
- 0
1190
- /* APPEND */
1191
- ](), !0;
1192
- }
1193
- for (; r !== null; )
1194
- if (a++, n = e[a], !(n === "\\" && D())) {
1195
- if (i = ua(n), O = ge[r], g = O[i] || O.l || 8, g === 8 || (r = g[0], g[1] !== void 0 && (v = L[g[1]], v && (_ = n, v() === !1))))
1196
- return;
1197
- if (r === 7)
1198
- return t;
1199
- }
1200
- }
1201
- const St = /* @__PURE__ */ new Map();
1202
- function ma(e, t) {
1203
- return w(e) ? e[t] : null;
1204
- }
1205
- function da(e, t) {
1206
- if (!w(e))
1207
- return null;
1208
- let a = St.get(t);
1209
- if (a || (a = _a(t), a && St.set(t, a)), !a)
1210
- return null;
1211
- const r = a.length;
1212
- let o = e, n = 0;
1213
- for (; n < r; ) {
1214
- const c = o[a[n]];
1215
- if (c === void 0)
1216
- return null;
1217
- o = c, n++;
1218
- }
1219
- return o;
1220
- }
1221
- const Ea = (e) => e, Na = (e) => "", ga = "text", La = (e) => e.length === 0 ? "" : e.join(""), Ta = Un;
1222
- function Pt(e, t) {
1223
- return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
1224
- }
1225
- function pa(e) {
1226
- const t = K(e.pluralIndex) ? e.pluralIndex : -1;
1227
- return e.named && (K(e.named.count) || K(e.named.n)) ? K(e.named.count) ? e.named.count : K(e.named.n) ? e.named.n : t : t;
1228
- }
1229
- function Oa(e, t) {
1230
- t.count || (t.count = e), t.n || (t.n = e);
1231
- }
1232
- function va(e = {}) {
1233
- const t = e.locale, a = pa(e), r = w(e.pluralRules) && h(t) && x(e.pluralRules[t]) ? e.pluralRules[t] : Pt, o = w(e.pluralRules) && h(t) && x(e.pluralRules[t]) ? Pt : void 0, n = (u) => u[r(a, u.length, o)], c = e.list || [], _ = (u) => c[u], i = e.named || {};
1234
- K(e.pluralIndex) && Oa(a, i);
1235
- const g = (u) => i[u];
1236
- function v(u) {
1237
- const d = x(e.messages) ? e.messages(u) : w(e.messages) ? e.messages[u] : !1;
1238
- return d || (e.parent ? e.parent.message(u) : Na);
1239
- }
1240
- const O = (u) => e.modifiers ? e.modifiers[u] : Ea, L = R(e.processor) && x(e.processor.normalize) ? e.processor.normalize : La, D = R(e.processor) && x(e.processor.interpolate) ? e.processor.interpolate : Ta, P = R(e.processor) && h(e.processor.type) ? e.processor.type : ga, k = {
1241
- list: _,
1242
- named: g,
1243
- plural: n,
1244
- linked: (u, ...d) => {
1245
- const [p, N] = d;
1246
- let E = "text", I = "";
1247
- d.length === 1 ? w(p) ? (I = p.modifier || I, E = p.type || E) : h(p) && (I = p || I) : d.length === 2 && (h(p) && (I = p || I), h(N) && (E = N || E));
1248
- let b = v(u)(k);
1249
- return E === "vnode" && H(b) && I && (b = b[0]), I ? O(I)(b, E) : b;
1250
- },
1251
- message: v,
1252
- type: P,
1253
- interpolate: D,
1254
- normalize: L
1255
- };
1256
- return k;
1257
- }
1258
- let Be = null;
1259
- function Ia(e) {
1260
- Be = e;
1261
- }
1262
- function ba(e, t, a) {
1263
- Be && Be.emit(zt.I18nInit, {
1264
- timestamp: Date.now(),
1265
- i18n: e,
1266
- version: t,
1267
- meta: a
1268
- });
1269
- }
1270
- const Aa = /* @__PURE__ */ ha(zt.FunctionTranslate);
1271
- function ha(e) {
1272
- return (t) => Be && Be.emit(e, t);
1273
- }
1274
- const q = {
1275
- NOT_FOUND_KEY: 1,
1276
- FALLBACK_TO_TRANSLATE: 2,
1277
- CANNOT_FORMAT_NUMBER: 3,
1278
- FALLBACK_TO_NUMBER_FORMAT: 4,
1279
- CANNOT_FORMAT_DATE: 5,
1280
- FALLBACK_TO_DATE_FORMAT: 6,
1281
- __EXTEND_POINT__: 7
1282
- }, Ca = {
1283
- [q.NOT_FOUND_KEY]: "Not found '{key}' key in '{locale}' locale messages.",
1284
- [q.FALLBACK_TO_TRANSLATE]: "Fall back to translate '{key}' key with '{target}' locale.",
1285
- [q.CANNOT_FORMAT_NUMBER]: "Cannot format a number value due to not supported Intl.NumberFormat.",
1286
- [q.FALLBACK_TO_NUMBER_FORMAT]: "Fall back to number format '{key}' key with '{target}' locale.",
1287
- [q.CANNOT_FORMAT_DATE]: "Cannot format a date value due to not supported Intl.DateTimeFormat.",
1288
- [q.FALLBACK_TO_DATE_FORMAT]: "Fall back to datetime format '{key}' key with '{target}' locale."
1289
- };
1290
- function Pe(e, ...t) {
1291
- return qe(Ca[e], ...t);
1292
- }
1293
- function Da(e, t, a) {
1294
- return [.../* @__PURE__ */ new Set([
1295
- a,
1296
- ...H(t) ? t : w(t) ? Object.keys(t) : h(t) ? [t] : [a]
1297
- ])];
1298
- }
1299
- function en(e, t, a) {
1300
- const r = h(a) ? a : tt, o = e;
1301
- o.__localeChainCache || (o.__localeChainCache = /* @__PURE__ */ new Map());
1302
- let n = o.__localeChainCache.get(r);
1303
- if (!n) {
1304
- n = [];
1305
- let c = [a];
1306
- for (; H(c); )
1307
- c = yt(n, c, t);
1308
- const _ = H(t) || !R(t) ? t : t.default ? t.default : null;
1309
- c = h(_) ? [_] : _, H(c) && yt(n, c, !1), o.__localeChainCache.set(r, n);
1310
- }
1311
- return n;
1312
- }
1313
- function yt(e, t, a) {
1314
- let r = !0;
1315
- for (let o = 0; o < t.length && V(r); o++) {
1316
- const n = t[o];
1317
- h(n) && (r = ka(e, t[o], a));
1318
- }
1319
- return r;
1320
- }
1321
- function ka(e, t, a) {
1322
- let r;
1323
- const o = t.split("-");
1324
- do {
1325
- const n = o.join("-");
1326
- r = Sa(e, n, a), o.splice(-1, 1);
1327
- } while (o.length && r === !0);
1328
- return r;
1329
- }
1330
- function Sa(e, t, a) {
1331
- let r = !1;
1332
- if (!e.includes(t) && (r = !0, t)) {
1333
- r = t[t.length - 1] !== "!";
1334
- const o = t.replace(/!/g, "");
1335
- e.push(o), (H(a) || R(a)) && a[o] && (r = a[o]);
1336
- }
1337
- return r;
1338
- }
1339
- const Pa = "9.2.2", et = -1, tt = "en-US", Je = "", Rt = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
1340
- function ya() {
1341
- return {
1342
- upper: (e, t) => t === "text" && h(e) ? e.toUpperCase() : t === "vnode" && w(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
1343
- lower: (e, t) => t === "text" && h(e) ? e.toLowerCase() : t === "vnode" && w(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
1344
- capitalize: (e, t) => t === "text" && h(e) ? Rt(e) : t === "vnode" && w(e) && "__v_isVNode" in e ? Rt(e.children) : e
1345
- };
1346
- }
1347
- let tn;
1348
- function Ra(e) {
1349
- tn = e;
1350
- }
1351
- let nn;
1352
- function Fa(e) {
1353
- nn = e;
1354
- }
1355
- let an;
1356
- function Ma(e) {
1357
- an = e;
1358
- }
1359
- let rn = null;
1360
- const Ft = (e) => {
1361
- rn = e;
1362
- }, Ua = () => rn;
1363
- let ln = null;
1364
- const Mt = (e) => {
1365
- ln = e;
1366
- }, wa = () => ln;
1367
- let Ut = 0;
1368
- function Va(e = {}) {
1369
- const t = h(e.version) ? e.version : Pa, a = h(e.locale) ? e.locale : tt, r = H(e.fallbackLocale) || R(e.fallbackLocale) || h(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a, o = R(e.messages) ? e.messages : { [a]: {} }, n = R(e.datetimeFormats) ? e.datetimeFormats : { [a]: {} }, c = R(e.numberFormats) ? e.numberFormats : { [a]: {} }, _ = Y({}, e.modifiers || {}, ya()), i = e.pluralRules || {}, g = x(e.missing) ? e.missing : null, v = V(e.missingWarn) || ke(e.missingWarn) ? e.missingWarn : !0, O = V(e.fallbackWarn) || ke(e.fallbackWarn) ? e.fallbackWarn : !0, L = !!e.fallbackFormat, D = !!e.unresolving, P = x(e.postTranslation) ? e.postTranslation : null, C = R(e.processor) ? e.processor : null, k = V(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, u = !!e.escapeParameter, d = x(e.messageCompiler) ? e.messageCompiler : tn, p = x(e.messageResolver) ? e.messageResolver : nn || ma, N = x(e.localeFallbacker) ? e.localeFallbacker : an || Da, E = w(e.fallbackContext) ? e.fallbackContext : void 0, I = x(e.onWarn) ? e.onWarn : Ke, b = e, U = w(b.__datetimeFormatters) ? b.__datetimeFormatters : /* @__PURE__ */ new Map(), F = w(b.__numberFormatters) ? b.__numberFormatters : /* @__PURE__ */ new Map(), $ = w(b.__meta) ? b.__meta : {};
1370
- Ut++;
1371
- const B = {
1372
- version: t,
1373
- cid: Ut,
1374
- locale: a,
1375
- fallbackLocale: r,
1376
- messages: o,
1377
- modifiers: _,
1378
- pluralRules: i,
1379
- missing: g,
1380
- missingWarn: v,
1381
- fallbackWarn: O,
1382
- fallbackFormat: L,
1383
- unresolving: D,
1384
- postTranslation: P,
1385
- processor: C,
1386
- warnHtmlMessage: k,
1387
- escapeParameter: u,
1388
- messageCompiler: d,
1389
- messageResolver: p,
1390
- localeFallbacker: N,
1391
- fallbackContext: E,
1392
- onWarn: I,
1393
- __meta: $
1394
- };
1395
- return B.datetimeFormats = n, B.numberFormats = c, B.__datetimeFormatters = U, B.__numberFormatters = F, process.env.NODE_ENV !== "production" && (B.__v_emitter = b.__v_emitter != null ? b.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && ba(B, t, $), B;
1396
- }
1397
- function nt(e, t) {
1398
- return e instanceof RegExp ? e.test(t) : e;
1399
- }
1400
- function sn(e, t) {
1401
- return e instanceof RegExp ? e.test(t) : e;
1402
- }
1403
- function pt(e, t, a, r, o) {
1404
- const { missing: n, onWarn: c } = e;
1405
- if (process.env.NODE_ENV !== "production") {
1406
- const _ = e.__v_emitter;
1407
- _ && _.emit("missing", {
1408
- locale: a,
1409
- key: t,
1410
- type: o,
1411
- groupId: `${o}:${t}`
1412
- });
1413
- }
1414
- if (n !== null) {
1415
- const _ = n(e, a, t, o);
1416
- return h(_) ? _ : t;
1417
- } else
1418
- return process.env.NODE_ENV !== "production" && sn(r, t) && c(Pe(q.NOT_FOUND_KEY, { key: t, locale: a })), t;
1419
- }
1420
- function Ge(e, t, a) {
1421
- const r = e;
1422
- r.__localeChainCache = /* @__PURE__ */ new Map(), e.localeFallbacker(e, a, t);
1423
- }
1424
- const Wa = /<\/?[\w\s="/.':;#-\/]+>/, $a = "Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";
1425
- function Ha(e, t) {
1426
- (V(t.warnHtmlMessage) ? t.warnHtmlMessage : !0) && Wa.test(e) && Ke(qe($a, { source: e }));
1427
- }
1428
- const Ga = (e) => e;
1429
- let wt = /* @__PURE__ */ Object.create(null);
1430
- function xa(e, t = {}) {
1431
- {
1432
- process.env.NODE_ENV !== "production" && Ha(e, t);
1433
- const r = (t.onCacheKey || Ga)(e), o = wt[r];
1434
- if (o)
1435
- return o;
1436
- let n = !1;
1437
- const c = t.onError || $n;
1438
- t.onError = (g) => {
1439
- n = !0, c(g);
1440
- };
1441
- const { code: _ } = sa(e, t), i = new Function(`return ${_}`)();
1442
- return n ? i : wt[r] = i;
1443
- }
1444
- }
1445
- let on = S.__EXTEND_POINT__;
1446
- const lt = () => ++on, fe = {
1447
- INVALID_ARGUMENT: on,
1448
- INVALID_DATE_ARGUMENT: lt(),
1449
- INVALID_ISO_DATE_ARGUMENT: lt(),
1450
- __EXTEND_POINT__: lt()
1451
- // 18
1452
- };
1453
- function De(e) {
1454
- return ze(e, null, process.env.NODE_ENV !== "production" ? { messages: Ya } : void 0);
1455
- }
1456
- const Ya = {
1457
- [fe.INVALID_ARGUMENT]: "Invalid arguments",
1458
- [fe.INVALID_DATE_ARGUMENT]: "The date provided is an invalid Date object.Make sure your Date represents a valid date.",
1459
- [fe.INVALID_ISO_DATE_ARGUMENT]: "The argument provided is not a valid ISO date string"
1460
- }, Vt = () => "", se = (e) => x(e);
1461
- function Wt(e, ...t) {
1462
- const { fallbackFormat: a, postTranslation: r, unresolving: o, messageCompiler: n, fallbackLocale: c, messages: _ } = e, [i, g] = ct(...t), v = V(g.missingWarn) ? g.missingWarn : e.missingWarn, O = V(g.fallbackWarn) ? g.fallbackWarn : e.fallbackWarn, L = V(g.escapeParameter) ? g.escapeParameter : e.escapeParameter, D = !!g.resolvedMessage, P = h(g.default) || V(g.default) ? V(g.default) ? n ? i : () => i : g.default : a ? n ? i : () => i : "", C = a || P !== "", k = h(g.locale) ? g.locale : e.locale;
1463
- L && Ba(g);
1464
- let [u, d, p] = D ? [
1465
- i,
1466
- k,
1467
- _[k] || {}
1468
- ] : cn(e, i, k, c, O, v), N = u, E = i;
1469
- if (!D && !(h(N) || se(N)) && C && (N = P, E = N), !D && (!(h(N) || se(N)) || !h(d)))
1470
- return o ? et : i;
1471
- if (process.env.NODE_ENV !== "production" && h(N) && e.messageCompiler == null)
1472
- return Ke(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${i}'.`), i;
1473
- let I = !1;
1474
- const b = () => {
1475
- I = !0;
1476
- }, U = se(N) ? N : un(e, i, d, N, E, b);
1477
- if (I)
1478
- return N;
1479
- const F = ja(e, d, p, g), $ = va(F), B = Ka(e, U, $), te = r ? r(B, i) : B;
1480
- if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
1481
- const z = {
1482
- timestamp: Date.now(),
1483
- key: h(i) ? i : se(N) ? N.key : "",
1484
- locale: d || (se(N) ? N.locale : ""),
1485
- format: h(N) ? N : se(N) ? N.source : "",
1486
- message: te
1487
- };
1488
- z.meta = Y({}, e.__meta, Ua() || {}), Aa(z);
1489
- }
1490
- return te;
1491
- }
1492
- function Ba(e) {
1493
- H(e.list) ? e.list = e.list.map((t) => h(t) ? ht(t) : t) : w(e.named) && Object.keys(e.named).forEach((t) => {
1494
- h(e.named[t]) && (e.named[t] = ht(e.named[t]));
1495
- });
1496
- }
1497
- function cn(e, t, a, r, o, n) {
1498
- const { messages: c, onWarn: _, messageResolver: i, localeFallbacker: g } = e, v = g(e, r, a);
1499
- let O = {}, L, D = null, P = a, C = null;
1500
- const k = "translate";
1501
- for (let u = 0; u < v.length; u++) {
1502
- if (L = C = v[u], process.env.NODE_ENV !== "production" && a !== L && nt(o, t) && _(Pe(q.FALLBACK_TO_TRANSLATE, {
1503
- key: t,
1504
- target: L
1505
- })), process.env.NODE_ENV !== "production" && a !== L) {
1506
- const I = e.__v_emitter;
1507
- I && I.emit("fallback", {
1508
- type: k,
1509
- key: t,
1510
- from: P,
1511
- to: C,
1512
- groupId: `${k}:${t}`
1513
- });
1514
- }
1515
- O = c[L] || {};
1516
- let d = null, p, N;
1517
- if (process.env.NODE_ENV !== "production" && Ee && (d = window.performance.now(), p = "intlify-message-resolve-start", N = "intlify-message-resolve-end", Z && Z(p)), (D = i(O, t)) === null && (D = O[t]), process.env.NODE_ENV !== "production" && Ee) {
1518
- const I = window.performance.now(), b = e.__v_emitter;
1519
- b && d && D && b.emit("message-resolve", {
1520
- type: "message-resolve",
1521
- key: t,
1522
- message: D,
1523
- time: I - d,
1524
- groupId: `${k}:${t}`
1525
- }), p && N && Z && Ie && (Z(N), Ie("intlify message resolve", p, N));
1526
- }
1527
- if (h(D) || x(D))
1528
- break;
1529
- const E = pt(
1530
- e,
1531
- // eslint-disable-line @typescript-eslint/no-explicit-any
1532
- t,
1533
- L,
1534
- n,
1535
- k
1536
- );
1537
- E !== t && (D = E), P = C;
1538
- }
1539
- return [D, L, O];
1540
- }
1541
- function un(e, t, a, r, o, n) {
1542
- const { messageCompiler: c, warnHtmlMessage: _ } = e;
1543
- if (se(r)) {
1544
- const L = r;
1545
- return L.locale = L.locale || a, L.key = L.key || t, L;
1546
- }
1547
- if (c == null) {
1548
- const L = () => r;
1549
- return L.locale = a, L.key = t, L;
1550
- }
1551
- let i = null, g, v;
1552
- process.env.NODE_ENV !== "production" && Ee && (i = window.performance.now(), g = "intlify-message-compilation-start", v = "intlify-message-compilation-end", Z && Z(g));
1553
- const O = c(r, Xa(e, a, o, r, _, n));
1554
- if (process.env.NODE_ENV !== "production" && Ee) {
1555
- const L = window.performance.now(), D = e.__v_emitter;
1556
- D && i && D.emit("message-compilation", {
1557
- type: "message-compilation",
1558
- message: r,
1559
- time: L - i,
1560
- groupId: `translate:${t}`
1561
- }), g && v && Z && Ie && (Z(v), Ie("intlify message compilation", g, v));
1562
- }
1563
- return O.locale = a, O.key = t, O.source = r, O;
1564
- }
1565
- function Ka(e, t, a) {
1566
- let r = null, o, n;
1567
- process.env.NODE_ENV !== "production" && Ee && (r = window.performance.now(), o = "intlify-message-evaluation-start", n = "intlify-message-evaluation-end", Z && Z(o));
1568
- const c = t(a);
1569
- if (process.env.NODE_ENV !== "production" && Ee) {
1570
- const _ = window.performance.now(), i = e.__v_emitter;
1571
- i && r && i.emit("message-evaluation", {
1572
- type: "message-evaluation",
1573
- value: c,
1574
- time: _ - r,
1575
- groupId: `translate:${t.key}`
1576
- }), o && n && Z && Ie && (Z(n), Ie("intlify message evaluation", o, n));
1577
- }
1578
- return c;
1579
- }
1580
- function ct(...e) {
1581
- const [t, a, r] = e, o = {};
1582
- if (!h(t) && !K(t) && !se(t))
1583
- throw De(fe.INVALID_ARGUMENT);
1584
- const n = K(t) ? String(t) : (se(t), t);
1585
- return K(a) ? o.plural = a : h(a) ? o.default = a : R(a) && !Ze(a) ? o.named = a : H(a) && (o.list = a), K(r) ? o.plural = r : h(r) ? o.default = r : R(r) && Y(o, r), [n, o];
1586
- }
1587
- function Xa(e, t, a, r, o, n) {
1588
- return {
1589
- warnHtmlMessage: o,
1590
- onError: (c) => {
1591
- if (n && n(c), process.env.NODE_ENV !== "production") {
1592
- const _ = `Message compilation error: ${c.message}`, i = c.location && wn(r, c.location.start.offset, c.location.end.offset), g = e.__v_emitter;
1593
- g && g.emit("compile-error", {
1594
- message: r,
1595
- error: c.message,
1596
- start: c.location && c.location.start.offset,
1597
- end: c.location && c.location.end.offset,
1598
- groupId: `translate:${a}`
1599
- }), console.error(i ? `${_}
1600
- ${i}` : _);
1601
- } else
1602
- throw c;
1603
- },
1604
- onCacheKey: (c) => yn(t, a, c)
1605
- };
1606
- }
1607
- function ja(e, t, a, r) {
1608
- const { modifiers: o, pluralRules: n, messageResolver: c, fallbackLocale: _, fallbackWarn: i, missingWarn: g, fallbackContext: v } = e, L = {
1609
- locale: t,
1610
- modifiers: o,
1611
- pluralRules: n,
1612
- messages: (D) => {
1613
- let P = c(a, D);
1614
- if (P == null && v) {
1615
- const [, , C] = cn(v, D, t, _, i, g);
1616
- P = c(C, D);
1617
- }
1618
- if (h(P)) {
1619
- let C = !1;
1620
- const u = un(e, D, t, P, D, () => {
1621
- C = !0;
1622
- });
1623
- return C ? Vt : u;
1624
- } else return se(P) ? P : Vt;
1625
- }
1626
- };
1627
- return e.processor && (L.processor = e.processor), r.list && (L.list = r.list), r.named && (L.named = r.named), K(r.plural) && (L.pluralIndex = r.plural), L;
1628
- }
1629
- const $t = typeof Intl < "u", fn = {
1630
- dateTimeFormat: $t && typeof Intl.DateTimeFormat < "u",
1631
- numberFormat: $t && typeof Intl.NumberFormat < "u"
1632
- };
1633
- function Ht(e, ...t) {
1634
- const { datetimeFormats: a, unresolving: r, fallbackLocale: o, onWarn: n, localeFallbacker: c } = e, { __datetimeFormatters: _ } = e;
1635
- if (process.env.NODE_ENV !== "production" && !fn.dateTimeFormat)
1636
- return n(Pe(q.CANNOT_FORMAT_DATE)), Je;
1637
- const [i, g, v, O] = it(...t), L = V(v.missingWarn) ? v.missingWarn : e.missingWarn, D = V(v.fallbackWarn) ? v.fallbackWarn : e.fallbackWarn, P = !!v.part, C = h(v.locale) ? v.locale : e.locale, k = c(
1638
- e,
1639
- // eslint-disable-line @typescript-eslint/no-explicit-any
1640
- o,
1641
- C
1642
- );
1643
- if (!h(i) || i === "")
1644
- return new Intl.DateTimeFormat(C, O).format(g);
1645
- let u = {}, d, p = null, N = C, E = null;
1646
- const I = "datetime format";
1647
- for (let F = 0; F < k.length; F++) {
1648
- if (d = E = k[F], process.env.NODE_ENV !== "production" && C !== d && nt(D, i) && n(Pe(q.FALLBACK_TO_DATE_FORMAT, {
1649
- key: i,
1650
- target: d
1651
- })), process.env.NODE_ENV !== "production" && C !== d) {
1652
- const $ = e.__v_emitter;
1653
- $ && $.emit("fallback", {
1654
- type: I,
1655
- key: i,
1656
- from: N,
1657
- to: E,
1658
- groupId: `${I}:${i}`
1659
- });
1660
- }
1661
- if (u = a[d] || {}, p = u[i], R(p))
1662
- break;
1663
- pt(e, i, d, L, I), N = E;
1664
- }
1665
- if (!R(p) || !h(d))
1666
- return r ? et : i;
1667
- let b = `${d}__${i}`;
1668
- Ze(O) || (b = `${b}__${JSON.stringify(O)}`);
1669
- let U = _.get(b);
1670
- return U || (U = new Intl.DateTimeFormat(d, Y({}, p, O)), _.set(b, U)), P ? U.formatToParts(g) : U.format(g);
1671
- }
1672
- const _n = [
1673
- "localeMatcher",
1674
- "weekday",
1675
- "era",
1676
- "year",
1677
- "month",
1678
- "day",
1679
- "hour",
1680
- "minute",
1681
- "second",
1682
- "timeZoneName",
1683
- "formatMatcher",
1684
- "hour12",
1685
- "timeZone",
1686
- "dateStyle",
1687
- "timeStyle",
1688
- "calendar",
1689
- "dayPeriod",
1690
- "numberingSystem",
1691
- "hourCycle",
1692
- "fractionalSecondDigits"
1693
- ];
1694
- function it(...e) {
1695
- const [t, a, r, o] = e, n = {};
1696
- let c = {}, _;
1697
- if (h(t)) {
1698
- const i = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
1699
- if (!i)
1700
- throw De(fe.INVALID_ISO_DATE_ARGUMENT);
1701
- const g = i[3] ? i[3].trim().startsWith("T") ? `${i[1].trim()}${i[3].trim()}` : `${i[1].trim()}T${i[3].trim()}` : i[1].trim();
1702
- _ = new Date(g);
1703
- try {
1704
- _.toISOString();
1705
- } catch {
1706
- throw De(fe.INVALID_ISO_DATE_ARGUMENT);
1707
- }
1708
- } else if (Fn(t)) {
1709
- if (isNaN(t.getTime()))
1710
- throw De(fe.INVALID_DATE_ARGUMENT);
1711
- _ = t;
1712
- } else if (K(t))
1713
- _ = t;
1714
- else
1715
- throw De(fe.INVALID_ARGUMENT);
1716
- return h(a) ? n.key = a : R(a) && Object.keys(a).forEach((i) => {
1717
- _n.includes(i) ? c[i] = a[i] : n[i] = a[i];
1718
- }), h(r) ? n.locale = r : R(r) && (c = r), R(o) && (c = o), [n.key || "", _, n, c];
1719
- }
1720
- function Gt(e, t, a) {
1721
- const r = e;
1722
- for (const o in a) {
1723
- const n = `${t}__${o}`;
1724
- r.__datetimeFormatters.has(n) && r.__datetimeFormatters.delete(n);
1725
- }
1726
- }
1727
- function xt(e, ...t) {
1728
- const { numberFormats: a, unresolving: r, fallbackLocale: o, onWarn: n, localeFallbacker: c } = e, { __numberFormatters: _ } = e;
1729
- if (process.env.NODE_ENV !== "production" && !fn.numberFormat)
1730
- return n(Pe(q.CANNOT_FORMAT_NUMBER)), Je;
1731
- const [i, g, v, O] = ut(...t), L = V(v.missingWarn) ? v.missingWarn : e.missingWarn, D = V(v.fallbackWarn) ? v.fallbackWarn : e.fallbackWarn, P = !!v.part, C = h(v.locale) ? v.locale : e.locale, k = c(
1732
- e,
1733
- // eslint-disable-line @typescript-eslint/no-explicit-any
1734
- o,
1735
- C
1736
- );
1737
- if (!h(i) || i === "")
1738
- return new Intl.NumberFormat(C, O).format(g);
1739
- let u = {}, d, p = null, N = C, E = null;
1740
- const I = "number format";
1741
- for (let F = 0; F < k.length; F++) {
1742
- if (d = E = k[F], process.env.NODE_ENV !== "production" && C !== d && nt(D, i) && n(Pe(q.FALLBACK_TO_NUMBER_FORMAT, {
1743
- key: i,
1744
- target: d
1745
- })), process.env.NODE_ENV !== "production" && C !== d) {
1746
- const $ = e.__v_emitter;
1747
- $ && $.emit("fallback", {
1748
- type: I,
1749
- key: i,
1750
- from: N,
1751
- to: E,
1752
- groupId: `${I}:${i}`
1753
- });
1754
- }
1755
- if (u = a[d] || {}, p = u[i], R(p))
1756
- break;
1757
- pt(e, i, d, L, I), N = E;
1758
- }
1759
- if (!R(p) || !h(d))
1760
- return r ? et : i;
1761
- let b = `${d}__${i}`;
1762
- Ze(O) || (b = `${b}__${JSON.stringify(O)}`);
1763
- let U = _.get(b);
1764
- return U || (U = new Intl.NumberFormat(d, Y({}, p, O)), _.set(b, U)), P ? U.formatToParts(g) : U.format(g);
1765
- }
1766
- const mn = [
1767
- "localeMatcher",
1768
- "style",
1769
- "currency",
1770
- "currencyDisplay",
1771
- "currencySign",
1772
- "useGrouping",
1773
- "minimumIntegerDigits",
1774
- "minimumFractionDigits",
1775
- "maximumFractionDigits",
1776
- "minimumSignificantDigits",
1777
- "maximumSignificantDigits",
1778
- "compactDisplay",
1779
- "notation",
1780
- "signDisplay",
1781
- "unit",
1782
- "unitDisplay",
1783
- "roundingMode",
1784
- "roundingPriority",
1785
- "roundingIncrement",
1786
- "trailingZeroDisplay"
1787
- ];
1788
- function ut(...e) {
1789
- const [t, a, r, o] = e, n = {};
1790
- let c = {};
1791
- if (!K(t))
1792
- throw De(fe.INVALID_ARGUMENT);
1793
- const _ = t;
1794
- return h(a) ? n.key = a : R(a) && Object.keys(a).forEach((i) => {
1795
- mn.includes(i) ? c[i] = a[i] : n[i] = a[i];
1796
- }), h(r) ? n.locale = r : R(r) && (c = r), R(o) && (c = o), [n.key || "", _, n, c];
1797
- }
1798
- function Yt(e, t, a) {
1799
- const r = e;
1800
- for (const o in a) {
1801
- const n = `${t}__${o}`;
1802
- r.__numberFormatters.has(n) && r.__numberFormatters.delete(n);
1803
- }
1804
- }
1805
- typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (xe().__INTLIFY_PROD_DEVTOOLS__ = !1);
1806
- /*!
1807
- * vue-i18n v9.2.2
1808
- * (c) 2022 kazuya kawaguchi
1809
- * Released under the MIT License.
1810
- */
1811
- const Ja = "9.2.2";
1812
- function Qa() {
1813
- let e = !1;
1814
- typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (e = !0, xe().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (e = !0, xe().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (xe().__INTLIFY_PROD_DEVTOOLS__ = !1), process.env.NODE_ENV !== "production" && e && console.warn("You are running the esm-bundler build of vue-i18n. It is recommended to configure your bundler to explicitly replace feature flag globals with boolean literals to get proper tree-shaking in the final bundle.");
1815
- }
1816
- let dn = q.__EXTEND_POINT__;
1817
- const Ce = () => ++dn, ue = {
1818
- FALLBACK_TO_ROOT: dn,
1819
- NOT_SUPPORTED_PRESERVE: Ce(),
1820
- NOT_SUPPORTED_FORMATTER: Ce(),
1821
- NOT_SUPPORTED_PRESERVE_DIRECTIVE: Ce(),
1822
- NOT_SUPPORTED_GET_CHOICE_INDEX: Ce(),
1823
- COMPONENT_NAME_LEGACY_COMPATIBLE: Ce(),
1824
- NOT_FOUND_PARENT_SCOPE: Ce()
1825
- // 13
1826
- }, qa = {
1827
- [ue.FALLBACK_TO_ROOT]: "Fall back to {type} '{key}' with root locale.",
1828
- [ue.NOT_SUPPORTED_PRESERVE]: "Not supported 'preserve'.",
1829
- [ue.NOT_SUPPORTED_FORMATTER]: "Not supported 'formatter'.",
1830
- [ue.NOT_SUPPORTED_PRESERVE_DIRECTIVE]: "Not supported 'preserveDirectiveContent'.",
1831
- [ue.NOT_SUPPORTED_GET_CHOICE_INDEX]: "Not supported 'getChoiceIndex'.",
1832
- [ue.COMPONENT_NAME_LEGACY_COMPATIBLE]: "Component name legacy compatible: '{name}' -> 'i18n'",
1833
- [ue.NOT_FOUND_PARENT_SCOPE]: "Not found parent scope. use the global scope."
1834
- };
1835
- function En(e, ...t) {
1836
- return qe(qa[e], ...t);
1837
- }
1838
- let Nn = S.__EXTEND_POINT__;
1839
- const Q = () => ++Nn, W = {
1840
- // composer module errors
1841
- UNEXPECTED_RETURN_TYPE: Nn,
1842
- // legacy module errors
1843
- INVALID_ARGUMENT: Q(),
1844
- // i18n module errors
1845
- MUST_BE_CALL_SETUP_TOP: Q(),
1846
- NOT_INSLALLED: Q(),
1847
- NOT_AVAILABLE_IN_LEGACY_MODE: Q(),
1848
- // directive module errors
1849
- REQUIRED_VALUE: Q(),
1850
- INVALID_VALUE: Q(),
1851
- // vue-devtools errors
1852
- CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN: Q(),
1853
- NOT_INSLALLED_WITH_PROVIDE: Q(),
1854
- // unexpected error
1855
- UNEXPECTED_ERROR: Q(),
1856
- // not compatible legacy vue-i18n constructor
1857
- NOT_COMPATIBLE_LEGACY_VUE_I18N: Q(),
1858
- // bridge support vue 2.x only
1859
- BRIDGE_SUPPORT_VUE_2_ONLY: Q(),
1860
- // need to define `i18n` option in `allowComposition: true` and `useScope: 'local' at `useI18n``
1861
- MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION: Q(),
1862
- // Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly
1863
- NOT_AVAILABLE_COMPOSITION_IN_LEGACY: Q(),
1864
- // for enhancement
1865
- __EXTEND_POINT__: Q()
1866
- // 29
1867
- };
1868
- function _e(e, ...t) {
1869
- return ze(e, null, process.env.NODE_ENV !== "production" ? { messages: Za, args: t } : void 0);
1870
- }
1871
- const Za = {
1872
- [W.UNEXPECTED_RETURN_TYPE]: "Unexpected return type in composer",
1873
- [W.INVALID_ARGUMENT]: "Invalid argument",
1874
- [W.MUST_BE_CALL_SETUP_TOP]: "Must be called at the top of a `setup` function",
1875
- [W.NOT_INSLALLED]: "Need to install with `app.use` function",
1876
- [W.UNEXPECTED_ERROR]: "Unexpected error",
1877
- [W.NOT_AVAILABLE_IN_LEGACY_MODE]: "Not available in legacy mode",
1878
- [W.REQUIRED_VALUE]: "Required in value: {0}",
1879
- [W.INVALID_VALUE]: "Invalid value",
1880
- [W.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]: "Cannot setup vue-devtools plugin",
1881
- [W.NOT_INSLALLED_WITH_PROVIDE]: "Need to install with `provide` function",
1882
- [W.NOT_COMPATIBLE_LEGACY_VUE_I18N]: "Not compatible legacy VueI18n.",
1883
- [W.BRIDGE_SUPPORT_VUE_2_ONLY]: "vue-i18n-bridge support Vue 2.x only",
1884
- [W.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]: "Must define ‘i18n’ option or custom block in Composition API with using local scope in Legacy API mode",
1885
- [W.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"
1886
- }, ft = /* @__PURE__ */ Ne("__transrateVNode"), _t = /* @__PURE__ */ Ne("__datetimeParts"), mt = /* @__PURE__ */ Ne("__numberParts"), dt = /* @__PURE__ */ Ne("__enableEmitter"), Et = /* @__PURE__ */ Ne("__disableEmitter"), za = Ne("__setPluralRules"), gn = /* @__PURE__ */ Ne("__injectWithOption");
1887
- function Nt(e) {
1888
- if (!w(e))
1889
- return e;
1890
- for (const t in e)
1891
- if (gt(e, t))
1892
- if (!t.includes("."))
1893
- w(e[t]) && Nt(e[t]);
1894
- else {
1895
- const a = t.split("."), r = a.length - 1;
1896
- let o = e;
1897
- for (let n = 0; n < r; n++)
1898
- a[n] in o || (o[a[n]] = {}), o = o[a[n]];
1899
- o[a[r]] = e[t], delete e[t], w(o[a[r]]) && Nt(o[a[r]]);
1900
- }
1901
- return e;
1902
- }
1903
- function Ot(e, t) {
1904
- const { messages: a, __i18n: r, messageResolver: o, flatJson: n } = t, c = R(a) ? a : H(r) ? {} : { [e]: {} };
1905
- if (H(r) && r.forEach((_) => {
1906
- if ("locale" in _ && "resource" in _) {
1907
- const { locale: i, resource: g } = _;
1908
- i ? (c[i] = c[i] || {}, Ye(g, c[i])) : Ye(g, c);
1909
- } else
1910
- h(_) && Ye(JSON.parse(_), c);
1911
- }), o == null && n)
1912
- for (const _ in c)
1913
- gt(c, _) && Nt(c[_]);
1914
- return c;
1915
- }
1916
- const je = (e) => !w(e) || H(e);
1917
- function Ye(e, t) {
1918
- if (je(e) || je(t))
1919
- throw _e(W.INVALID_VALUE);
1920
- for (const a in e)
1921
- gt(e, a) && (je(e[a]) || je(t[a]) ? t[a] = e[a] : Ye(e[a], t[a]));
1922
- }
1923
- function Ln(e) {
1924
- return e.type;
1925
- }
1926
- function er(e, t, a) {
1927
- let r = w(t.messages) ? t.messages : {};
1928
- "__i18nGlobal" in a && (r = Ot(e.locale.value, {
1929
- messages: r,
1930
- __i18n: a.__i18nGlobal
1931
- }));
1932
- const o = Object.keys(r);
1933
- o.length && o.forEach((n) => {
1934
- e.mergeLocaleMessage(n, r[n]);
1935
- });
1936
- {
1937
- if (w(t.datetimeFormats)) {
1938
- const n = Object.keys(t.datetimeFormats);
1939
- n.length && n.forEach((c) => {
1940
- e.mergeDateTimeFormat(c, t.datetimeFormats[c]);
1941
- });
1942
- }
1943
- if (w(t.numberFormats)) {
1944
- const n = Object.keys(t.numberFormats);
1945
- n.length && n.forEach((c) => {
1946
- e.mergeNumberFormat(c, t.numberFormats[c]);
1947
- });
1948
- }
1949
- }
1950
- }
1951
- function Bt(e) {
1952
- return Dn(kn, null, e, 0);
1953
- }
1954
- const Kt = "__INTLIFY_META__";
1955
- let Xt = 0;
1956
- function jt(e) {
1957
- return (t, a, r, o) => e(a, r, Qe() || void 0, o);
1958
- }
1959
- const tr = () => {
1960
- const e = Qe();
1961
- let t = null;
1962
- return e && (t = Ln(e)[Kt]) ? { [Kt]: t } : null;
1963
- };
1964
- function nr(e = {}, t) {
1965
- const { __root: a } = e, r = a === void 0;
1966
- let o = V(e.inheritLocale) ? e.inheritLocale : !0;
1967
- const n = oe(
1968
- // prettier-ignore
1969
- a && o ? a.locale.value : h(e.locale) ? e.locale : tt
1970
- ), c = oe(
1971
- // prettier-ignore
1972
- a && o ? a.fallbackLocale.value : h(e.fallbackLocale) || H(e.fallbackLocale) || R(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : n.value
1973
- ), _ = oe(Ot(n.value, e)), i = oe(R(e.datetimeFormats) ? e.datetimeFormats : { [n.value]: {} }), g = oe(R(e.numberFormats) ? e.numberFormats : { [n.value]: {} });
1974
- let v = a ? a.missingWarn : V(e.missingWarn) || ke(e.missingWarn) ? e.missingWarn : !0, O = a ? a.fallbackWarn : V(e.fallbackWarn) || ke(e.fallbackWarn) ? e.fallbackWarn : !0, L = a ? a.fallbackRoot : V(e.fallbackRoot) ? e.fallbackRoot : !0, D = !!e.fallbackFormat, P = x(e.missing) ? e.missing : null, C = x(e.missing) ? jt(e.missing) : null, k = x(e.postTranslation) ? e.postTranslation : null, u = a ? a.warnHtmlMessage : V(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, d = !!e.escapeParameter;
1975
- const p = a ? a.modifiers : R(e.modifiers) ? e.modifiers : {};
1976
- let N = e.pluralRules || a && a.pluralRules, E;
1977
- E = (() => {
1978
- r && Mt(null);
1979
- const m = {
1980
- version: Ja,
1981
- locale: n.value,
1982
- fallbackLocale: c.value,
1983
- messages: _.value,
1984
- modifiers: p,
1985
- pluralRules: N,
1986
- missing: C === null ? void 0 : C,
1987
- missingWarn: v,
1988
- fallbackWarn: O,
1989
- fallbackFormat: D,
1990
- unresolving: !0,
1991
- postTranslation: k === null ? void 0 : k,
1992
- warnHtmlMessage: u,
1993
- escapeParameter: d,
1994
- messageResolver: e.messageResolver,
1995
- __meta: { framework: "vue" }
1996
- };
1997
- m.datetimeFormats = i.value, m.numberFormats = g.value, m.__datetimeFormatters = R(E) ? E.__datetimeFormatters : void 0, m.__numberFormatters = R(E) ? E.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (m.__v_emitter = R(E) ? E.__v_emitter : void 0);
1998
- const T = Va(m);
1999
- return r && Mt(T), T;
2000
- })(), Ge(E, n.value, c.value);
2001
- function b() {
2002
- return [
2003
- n.value,
2004
- c.value,
2005
- _.value,
2006
- i.value,
2007
- g.value
2008
- ];
2009
- }
2010
- const U = ee({
2011
- get: () => n.value,
2012
- set: (m) => {
2013
- n.value = m, E.locale = n.value;
2014
- }
2015
- }), F = ee({
2016
- get: () => c.value,
2017
- set: (m) => {
2018
- c.value = m, E.fallbackLocale = c.value, Ge(E, n.value, m);
2019
- }
2020
- }), $ = ee(() => _.value), B = /* @__PURE__ */ ee(() => i.value), te = /* @__PURE__ */ ee(() => g.value);
2021
- function z() {
2022
- return x(k) ? k : null;
2023
- }
2024
- function be(m) {
2025
- k = m, E.postTranslation = m;
2026
- }
2027
- function ye() {
2028
- return P;
2029
- }
2030
- function ne(m) {
2031
- m !== null && (C = jt(m)), P = m, E.missing = C;
2032
- }
2033
- function Ae(m, T) {
2034
- return m !== "translate" || !T.resolvedMessage;
2035
- }
2036
- const ae = (m, T, J, X, rt, Xe) => {
2037
- b();
2038
- let he;
2039
- if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__)
2040
- try {
2041
- Ft(tr()), r || (E.fallbackContext = a ? wa() : void 0), he = m(E);
2042
- } finally {
2043
- Ft(null), r || (E.fallbackContext = void 0);
2044
- }
2045
- else
2046
- he = m(E);
2047
- if (K(he) && he === et) {
2048
- const [ve, vn] = T();
2049
- if (process.env.NODE_ENV !== "production" && a && h(ve) && Ae(J, vn) && (L && (nt(O, ve) || sn(v, ve)) && Ke(En(ue.FALLBACK_TO_ROOT, {
2050
- key: ve,
2051
- type: J
2052
- })), process.env.NODE_ENV !== "production")) {
2053
- const { __v_emitter: It } = E;
2054
- It && L && It.emit("fallback", {
2055
- type: J,
2056
- key: ve,
2057
- to: "global",
2058
- groupId: `${J}:${ve}`
2059
- });
2060
- }
2061
- return a && L ? X(a) : rt(ve);
2062
- } else {
2063
- if (Xe(he))
2064
- return he;
2065
- throw _e(W.UNEXPECTED_RETURN_TYPE);
2066
- }
2067
- };
2068
- function Le(...m) {
2069
- return ae((T) => Reflect.apply(Wt, null, [T, ...m]), () => ct(...m), "translate", (T) => Reflect.apply(T.t, T, [...m]), (T) => T, (T) => h(T));
2070
- }
2071
- function Re(...m) {
2072
- const [T, J, X] = m;
2073
- if (X && !w(X))
2074
- throw _e(W.INVALID_ARGUMENT);
2075
- return Le(T, J, Y({ resolvedMessage: !0 }, X || {}));
2076
- }
2077
- function Fe(...m) {
2078
- return ae((T) => Reflect.apply(Ht, null, [T, ...m]), () => it(...m), "datetime format", (T) => Reflect.apply(T.d, T, [...m]), () => Je, (T) => h(T));
2079
- }
2080
- function Me(...m) {
2081
- return ae((T) => Reflect.apply(xt, null, [T, ...m]), () => ut(...m), "number format", (T) => Reflect.apply(T.n, T, [...m]), () => Je, (T) => h(T));
2082
- }
2083
- function Ue(m) {
2084
- return m.map((T) => h(T) || K(T) || V(T) ? Bt(String(T)) : T);
2085
- }
2086
- const Ve = {
2087
- normalize: Ue,
2088
- interpolate: (m) => m,
2089
- type: "vnode"
2090
- };
2091
- function We(...m) {
2092
- return ae(
2093
- (T) => {
2094
- let J;
2095
- const X = T;
2096
- try {
2097
- X.processor = Ve, J = Reflect.apply(Wt, null, [X, ...m]);
2098
- } finally {
2099
- X.processor = null;
2100
- }
2101
- return J;
2102
- },
2103
- () => ct(...m),
2104
- "translate",
2105
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
2106
- (T) => T[ft](...m),
2107
- (T) => [Bt(T)],
2108
- (T) => H(T)
2109
- );
2110
- }
2111
- function $e(...m) {
2112
- return ae(
2113
- (T) => Reflect.apply(xt, null, [T, ...m]),
2114
- () => ut(...m),
2115
- "number format",
2116
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
2117
- (T) => T[mt](...m),
2118
- () => [],
2119
- (T) => h(T) || H(T)
2120
- );
2121
- }
2122
- function Te(...m) {
2123
- return ae(
2124
- (T) => Reflect.apply(Ht, null, [T, ...m]),
2125
- () => it(...m),
2126
- "datetime format",
2127
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
2128
- (T) => T[_t](...m),
2129
- () => [],
2130
- (T) => h(T) || H(T)
2131
- );
2132
- }
2133
- function pe(m) {
2134
- N = m, E.pluralRules = N;
2135
- }
2136
- function me(m, T) {
2137
- const J = h(T) ? T : n.value, X = s(J);
2138
- return E.messageResolver(X, m) !== null;
2139
- }
2140
- function Oe(m) {
2141
- let T = null;
2142
- const J = en(E, c.value, n.value);
2143
- for (let X = 0; X < J.length; X++) {
2144
- const rt = _.value[J[X]] || {}, Xe = E.messageResolver(rt, m);
2145
- if (Xe != null) {
2146
- T = Xe;
2147
- break;
2148
- }
2149
- }
2150
- return T;
2151
- }
2152
- function He(m) {
2153
- const T = Oe(m);
2154
- return T ?? (a ? a.tm(m) || {} : {});
2155
- }
2156
- function s(m) {
2157
- return _.value[m] || {};
2158
- }
2159
- function l(m, T) {
2160
- _.value[m] = T, E.messages = _.value;
2161
- }
2162
- function f(m, T) {
2163
- _.value[m] = _.value[m] || {}, Ye(T, _.value[m]), E.messages = _.value;
2164
- }
2165
- function A(m) {
2166
- return i.value[m] || {};
2167
- }
2168
- function y(m, T) {
2169
- i.value[m] = T, E.datetimeFormats = i.value, Gt(E, m, T);
2170
- }
2171
- function M(m, T) {
2172
- i.value[m] = Y(i.value[m] || {}, T), E.datetimeFormats = i.value, Gt(E, m, T);
2173
- }
2174
- function re(m) {
2175
- return g.value[m] || {};
2176
- }
2177
- function ce(m, T) {
2178
- g.value[m] = T, E.numberFormats = g.value, Yt(E, m, T);
2179
- }
2180
- function On(m, T) {
2181
- g.value[m] = Y(g.value[m] || {}, T), E.numberFormats = g.value, Yt(E, m, T);
2182
- }
2183
- Xt++, a && Ee && (bt(a.locale, (m) => {
2184
- o && (n.value = m, E.locale = m, Ge(E, n.value, c.value));
2185
- }), bt(a.fallbackLocale, (m) => {
2186
- o && (c.value = m, E.fallbackLocale = m, Ge(E, n.value, c.value));
2187
- }));
2188
- const G = {
2189
- id: Xt,
2190
- locale: U,
2191
- fallbackLocale: F,
2192
- get inheritLocale() {
2193
- return o;
2194
- },
2195
- set inheritLocale(m) {
2196
- o = m, m && a && (n.value = a.locale.value, c.value = a.fallbackLocale.value, Ge(E, n.value, c.value));
2197
- },
2198
- get availableLocales() {
2199
- return Object.keys(_.value).sort();
2200
- },
2201
- messages: $,
2202
- get modifiers() {
2203
- return p;
2204
- },
2205
- get pluralRules() {
2206
- return N || {};
2207
- },
2208
- get isGlobal() {
2209
- return r;
2210
- },
2211
- get missingWarn() {
2212
- return v;
2213
- },
2214
- set missingWarn(m) {
2215
- v = m, E.missingWarn = v;
2216
- },
2217
- get fallbackWarn() {
2218
- return O;
2219
- },
2220
- set fallbackWarn(m) {
2221
- O = m, E.fallbackWarn = O;
2222
- },
2223
- get fallbackRoot() {
2224
- return L;
2225
- },
2226
- set fallbackRoot(m) {
2227
- L = m;
2228
- },
2229
- get fallbackFormat() {
2230
- return D;
2231
- },
2232
- set fallbackFormat(m) {
2233
- D = m, E.fallbackFormat = D;
2234
- },
2235
- get warnHtmlMessage() {
2236
- return u;
2237
- },
2238
- set warnHtmlMessage(m) {
2239
- u = m, E.warnHtmlMessage = m;
2240
- },
2241
- get escapeParameter() {
2242
- return d;
2243
- },
2244
- set escapeParameter(m) {
2245
- d = m, E.escapeParameter = m;
2246
- },
2247
- t: Le,
2248
- getLocaleMessage: s,
2249
- setLocaleMessage: l,
2250
- mergeLocaleMessage: f,
2251
- getPostTranslationHandler: z,
2252
- setPostTranslationHandler: be,
2253
- getMissingHandler: ye,
2254
- setMissingHandler: ne,
2255
- [za]: pe
2256
- };
2257
- return G.datetimeFormats = B, G.numberFormats = te, G.rt = Re, G.te = me, G.tm = He, G.d = Fe, G.n = Me, G.getDateTimeFormat = A, G.setDateTimeFormat = y, G.mergeDateTimeFormat = M, G.getNumberFormat = re, G.setNumberFormat = ce, G.mergeNumberFormat = On, G[gn] = e.__injectWithOption, G[ft] = We, G[_t] = Te, G[mt] = $e, process.env.NODE_ENV !== "production" && (G[dt] = (m) => {
2258
- E.__v_emitter = m;
2259
- }, G[Et] = () => {
2260
- E.__v_emitter = void 0;
2261
- }), G;
2262
- }
2263
- const vt = {
2264
- tag: {
2265
- type: [String, Object]
2266
- },
2267
- locale: {
2268
- type: String
2269
- },
2270
- scope: {
2271
- type: String,
2272
- // NOTE: avoid https://github.com/microsoft/rushstack/issues/1050
2273
- validator: (e) => e === "parent" || e === "global",
2274
- default: "parent"
2275
- /* ComponetI18nScope */
2276
- },
2277
- i18n: {
2278
- type: Object
2279
- }
2280
- };
2281
- function ar({ slots: e }, t) {
2282
- return t.length === 1 && t[0] === "default" ? (e.default ? e.default() : []).reduce((r, o) => r = [
2283
- ...r,
2284
- ...H(o.children) ? o.children : [o]
2285
- ], []) : t.reduce((a, r) => {
2286
- const o = e[r];
2287
- return o && (a[r] = o()), a;
2288
- }, {});
2289
- }
2290
- function Tn(e) {
2291
- return Cn;
2292
- }
2293
- Y({
2294
- keypath: {
2295
- type: String,
2296
- required: !0
2297
- },
2298
- plural: {
2299
- type: [Number, String],
2300
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
2301
- validator: (e) => K(e) || !isNaN(e)
2302
- }
2303
- }, vt);
2304
- function rr(e) {
2305
- return H(e) && !h(e[0]);
2306
- }
2307
- function pn(e, t, a, r) {
2308
- const { slots: o, attrs: n } = t;
2309
- return () => {
2310
- const c = { part: !0 };
2311
- let _ = {};
2312
- e.locale && (c.locale = e.locale), h(e.format) ? c.key = e.format : w(e.format) && (h(e.format.key) && (c.key = e.format.key), _ = Object.keys(e.format).reduce((L, D) => a.includes(D) ? Y({}, L, { [D]: e.format[D] }) : L, {}));
2313
- const i = r(e.value, c, _);
2314
- let g = [c.key];
2315
- H(i) ? g = i.map((L, D) => {
2316
- const P = o[L.type], C = P ? P({ [L.type]: L.value, index: D, parts: i }) : [L.value];
2317
- return rr(C) && (C[0].key = `${L.type}-${D}`), C;
2318
- }) : h(i) && (g = [i]);
2319
- const v = Y({}, n), O = h(e.tag) || w(e.tag) ? e.tag : Tn();
2320
- return Qt(O, v, g);
2321
- };
2322
- }
2323
- Y({
2324
- value: {
2325
- type: Number,
2326
- required: !0
2327
- },
2328
- format: {
2329
- type: [String, Object]
2330
- }
2331
- }, vt);
2332
- Y({
2333
- value: {
2334
- type: [Number, Date],
2335
- required: !0
2336
- },
2337
- format: {
2338
- type: [String, Object]
2339
- }
2340
- }, vt);
2341
- function Jt(e, t) {
2342
- }
2343
- const lr = /* @__PURE__ */ Ne("global-vue-i18n");
2344
- function at(e = {}) {
2345
- const t = Qe();
2346
- if (t == null)
2347
- throw _e(W.MUST_BE_CALL_SETUP_TOP);
2348
- if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
2349
- throw _e(W.NOT_INSLALLED);
2350
- const a = sr(t), r = cr(a), o = Ln(t), n = or(e, o);
2351
- if (__VUE_I18N_LEGACY_API__ && a.mode === "legacy" && !e.__useComponent) {
2352
- if (!a.allowComposition)
2353
- throw _e(W.NOT_AVAILABLE_IN_LEGACY_MODE);
2354
- return fr(t, n, r, e);
2355
- }
2356
- if (n === "global")
2357
- return er(r, e, o), r;
2358
- if (n === "parent") {
2359
- let i = ir(a, t, e.__useComponent);
2360
- return i == null && (process.env.NODE_ENV !== "production" && Ke(En(ue.NOT_FOUND_PARENT_SCOPE)), i = r), i;
2361
- }
2362
- const c = a;
2363
- let _ = c.__getInstance(t);
2364
- if (_ == null) {
2365
- const i = Y({}, e);
2366
- "__i18n" in o && (i.__i18n = o.__i18n), r && (i.__root = r), _ = nr(i), ur(c, t, _), c.__setInstance(t, _);
2367
- }
2368
- return _;
2369
- }
2370
- function sr(e) {
2371
- {
2372
- const t = qt(e.isCE ? lr : e.appContext.app.__VUE_I18N_SYMBOL__);
2373
- if (!t)
2374
- throw _e(e.isCE ? W.NOT_INSLALLED_WITH_PROVIDE : W.UNEXPECTED_ERROR);
2375
- return t;
2376
- }
2377
- }
2378
- function or(e, t) {
2379
- return Ze(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
2380
- }
2381
- function cr(e) {
2382
- return e.mode === "composition" ? e.global : e.global.__composer;
2383
- }
2384
- function ir(e, t, a = !1) {
2385
- let r = null;
2386
- const o = t.root;
2387
- let n = t.parent;
2388
- for (; n != null; ) {
2389
- const c = e;
2390
- if (e.mode === "composition")
2391
- r = c.__getInstance(n);
2392
- else if (__VUE_I18N_LEGACY_API__) {
2393
- const _ = c.__getInstance(n);
2394
- _ != null && (r = _.__composer, a && r && !r[gn] && (r = null));
2395
- }
2396
- if (r != null || o === n)
2397
- break;
2398
- n = n.parent;
2399
- }
2400
- return r;
2401
- }
2402
- function ur(e, t, a) {
2403
- let r = null;
2404
- In(() => {
2405
- if (process.env.NODE_ENV !== "production" && t.vnode.el) {
2406
- t.vnode.el.__VUE_I18N__ = a, r = Vn();
2407
- const o = a;
2408
- o[dt] && o[dt](r), r.on("*", Jt);
2409
- }
2410
- }, t), bn(() => {
2411
- if (process.env.NODE_ENV !== "production" && t.vnode.el && t.vnode.el.__VUE_I18N__) {
2412
- r && r.off("*", Jt);
2413
- const o = a;
2414
- o[Et] && o[Et](), delete t.vnode.el.__VUE_I18N__;
2415
- }
2416
- e.__deleteInstance(t);
2417
- }, t);
2418
- }
2419
- function fr(e, t, a, r = {}) {
2420
- const o = t === "local", n = An(null);
2421
- if (o && e.proxy && !(e.proxy.$options.i18n || e.proxy.$options.__i18n))
2422
- throw _e(W.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);
2423
- const c = V(r.inheritLocale) ? r.inheritLocale : !0, _ = oe(
2424
- // prettier-ignore
2425
- o && c ? a.locale.value : h(r.locale) ? r.locale : tt
2426
- ), i = oe(
2427
- // prettier-ignore
2428
- o && c ? a.fallbackLocale.value : h(r.fallbackLocale) || H(r.fallbackLocale) || R(r.fallbackLocale) || r.fallbackLocale === !1 ? r.fallbackLocale : _.value
2429
- ), g = oe(Ot(_.value, r)), v = oe(R(r.datetimeFormats) ? r.datetimeFormats : { [_.value]: {} }), O = oe(R(r.numberFormats) ? r.numberFormats : { [_.value]: {} }), L = o ? a.missingWarn : V(r.missingWarn) || ke(r.missingWarn) ? r.missingWarn : !0, D = o ? a.fallbackWarn : V(r.fallbackWarn) || ke(r.fallbackWarn) ? r.fallbackWarn : !0, P = o ? a.fallbackRoot : V(r.fallbackRoot) ? r.fallbackRoot : !0, C = !!r.fallbackFormat, k = x(r.missing) ? r.missing : null, u = x(r.postTranslation) ? r.postTranslation : null, d = o ? a.warnHtmlMessage : V(r.warnHtmlMessage) ? r.warnHtmlMessage : !0, p = !!r.escapeParameter, N = o ? a.modifiers : R(r.modifiers) ? r.modifiers : {}, E = r.pluralRules || o && a.pluralRules;
2430
- function I() {
2431
- return [
2432
- _.value,
2433
- i.value,
2434
- g.value,
2435
- v.value,
2436
- O.value
2437
- ];
2438
- }
2439
- const b = ee({
2440
- get: () => n.value ? n.value.locale.value : _.value,
2441
- set: (l) => {
2442
- n.value && (n.value.locale.value = l), _.value = l;
2443
- }
2444
- }), U = ee({
2445
- get: () => n.value ? n.value.fallbackLocale.value : i.value,
2446
- set: (l) => {
2447
- n.value && (n.value.fallbackLocale.value = l), i.value = l;
2448
- }
2449
- }), F = ee(() => n.value ? n.value.messages.value : g.value), $ = ee(() => v.value), B = ee(() => O.value);
2450
- function te() {
2451
- return n.value ? n.value.getPostTranslationHandler() : u;
2452
- }
2453
- function z(l) {
2454
- n.value && n.value.setPostTranslationHandler(l);
2455
- }
2456
- function be() {
2457
- return n.value ? n.value.getMissingHandler() : k;
2458
- }
2459
- function ye(l) {
2460
- n.value && n.value.setMissingHandler(l);
2461
- }
2462
- function ne(l) {
2463
- return I(), l();
2464
- }
2465
- function Ae(...l) {
2466
- return n.value ? ne(() => Reflect.apply(n.value.t, null, [...l])) : ne(() => "");
2467
- }
2468
- function ae(...l) {
2469
- return n.value ? Reflect.apply(n.value.rt, null, [...l]) : "";
2470
- }
2471
- function Le(...l) {
2472
- return n.value ? ne(() => Reflect.apply(n.value.d, null, [...l])) : ne(() => "");
2473
- }
2474
- function Re(...l) {
2475
- return n.value ? ne(() => Reflect.apply(n.value.n, null, [...l])) : ne(() => "");
2476
- }
2477
- function Fe(l) {
2478
- return n.value ? n.value.tm(l) : {};
2479
- }
2480
- function Me(l, f) {
2481
- return n.value ? n.value.te(l, f) : !1;
2482
- }
2483
- function Ue(l) {
2484
- return n.value ? n.value.getLocaleMessage(l) : {};
2485
- }
2486
- function we(l, f) {
2487
- n.value && (n.value.setLocaleMessage(l, f), g.value[l] = f);
2488
- }
2489
- function Ve(l, f) {
2490
- n.value && n.value.mergeLocaleMessage(l, f);
2491
- }
2492
- function We(l) {
2493
- return n.value ? n.value.getDateTimeFormat(l) : {};
2494
- }
2495
- function $e(l, f) {
2496
- n.value && (n.value.setDateTimeFormat(l, f), v.value[l] = f);
2497
- }
2498
- function Te(l, f) {
2499
- n.value && n.value.mergeDateTimeFormat(l, f);
2500
- }
2501
- function pe(l) {
2502
- return n.value ? n.value.getNumberFormat(l) : {};
2503
- }
2504
- function me(l, f) {
2505
- n.value && (n.value.setNumberFormat(l, f), O.value[l] = f);
2506
- }
2507
- function Oe(l, f) {
2508
- n.value && n.value.mergeNumberFormat(l, f);
2509
- }
2510
- const He = {
2511
- get id() {
2512
- return n.value ? n.value.id : -1;
2513
- },
2514
- locale: b,
2515
- fallbackLocale: U,
2516
- messages: F,
2517
- datetimeFormats: $,
2518
- numberFormats: B,
2519
- get inheritLocale() {
2520
- return n.value ? n.value.inheritLocale : c;
2521
- },
2522
- set inheritLocale(l) {
2523
- n.value && (n.value.inheritLocale = l);
2524
- },
2525
- get availableLocales() {
2526
- return n.value ? n.value.availableLocales : Object.keys(g.value);
2527
- },
2528
- get modifiers() {
2529
- return n.value ? n.value.modifiers : N;
2530
- },
2531
- get pluralRules() {
2532
- return n.value ? n.value.pluralRules : E;
2533
- },
2534
- get isGlobal() {
2535
- return n.value ? n.value.isGlobal : !1;
2536
- },
2537
- get missingWarn() {
2538
- return n.value ? n.value.missingWarn : L;
2539
- },
2540
- set missingWarn(l) {
2541
- n.value && (n.value.missingWarn = l);
2542
- },
2543
- get fallbackWarn() {
2544
- return n.value ? n.value.fallbackWarn : D;
2545
- },
2546
- set fallbackWarn(l) {
2547
- n.value && (n.value.missingWarn = l);
2548
- },
2549
- get fallbackRoot() {
2550
- return n.value ? n.value.fallbackRoot : P;
2551
- },
2552
- set fallbackRoot(l) {
2553
- n.value && (n.value.fallbackRoot = l);
2554
- },
2555
- get fallbackFormat() {
2556
- return n.value ? n.value.fallbackFormat : C;
2557
- },
2558
- set fallbackFormat(l) {
2559
- n.value && (n.value.fallbackFormat = l);
2560
- },
2561
- get warnHtmlMessage() {
2562
- return n.value ? n.value.warnHtmlMessage : d;
2563
- },
2564
- set warnHtmlMessage(l) {
2565
- n.value && (n.value.warnHtmlMessage = l);
2566
- },
2567
- get escapeParameter() {
2568
- return n.value ? n.value.escapeParameter : p;
2569
- },
2570
- set escapeParameter(l) {
2571
- n.value && (n.value.escapeParameter = l);
2572
- },
2573
- t: Ae,
2574
- getPostTranslationHandler: te,
2575
- setPostTranslationHandler: z,
2576
- getMissingHandler: be,
2577
- setMissingHandler: ye,
2578
- rt: ae,
2579
- d: Le,
2580
- n: Re,
2581
- tm: Fe,
2582
- te: Me,
2583
- getLocaleMessage: Ue,
2584
- setLocaleMessage: we,
2585
- mergeLocaleMessage: Ve,
2586
- getDateTimeFormat: We,
2587
- setDateTimeFormat: $e,
2588
- mergeDateTimeFormat: Te,
2589
- getNumberFormat: pe,
2590
- setNumberFormat: me,
2591
- mergeNumberFormat: Oe
2592
- };
2593
- function s(l) {
2594
- l.locale.value = _.value, l.fallbackLocale.value = i.value, Object.keys(g.value).forEach((f) => {
2595
- l.mergeLocaleMessage(f, g.value[f]);
2596
- }), Object.keys(v.value).forEach((f) => {
2597
- l.mergeDateTimeFormat(f, v.value[f]);
2598
- }), Object.keys(O.value).forEach((f) => {
2599
- l.mergeNumberFormat(f, O.value[f]);
2600
- }), l.escapeParameter = p, l.fallbackFormat = C, l.fallbackRoot = P, l.fallbackWarn = D, l.missingWarn = L, l.warnHtmlMessage = d;
2601
- }
2602
- return hn(() => {
2603
- if (e.proxy == null || e.proxy.$i18n == null)
2604
- throw _e(W.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);
2605
- const l = n.value = e.proxy.$i18n.__composer;
2606
- t === "global" ? (_.value = l.locale.value, i.value = l.fallbackLocale.value, g.value = l.messages.value, v.value = l.datetimeFormats.value, O.value = l.numberFormats.value) : o && s(l);
2607
- }), He;
2608
- }
2609
- Ra(xa);
2610
- Fa(da);
2611
- Ma(en);
2612
- Qa();
2613
- if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
2614
- const e = xe();
2615
- e.__INTLIFY__ = !0, Ia(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
2616
- }
2617
- process.env.NODE_ENV;
2618
- let st = null;
2619
- const dr = (e, t = !1) => {
2620
- var n, c;
2621
- const a = Qe(), r = (c = (n = a == null ? void 0 : a.appContext) == null ? void 0 : n.app) == null ? void 0 : c.__VUE_I18N_SYMBOL__, o = ee({
2622
- get() {
2623
- return st.locale;
2624
- },
2625
- set(_) {
2626
- st.locale = _;
2627
- }
2628
- });
2629
- {
2630
- if (!t) {
2631
- const { t: g, d: v, te: O, n: L, locale: D } = at({ messages: e == null ? void 0 : e.messages });
2632
- return {
2633
- locale: D,
2634
- t: g,
2635
- tc: g,
2636
- d: v,
2637
- te: O,
2638
- n: L
2639
- };
2640
- }
2641
- const _ = qt(r), i = _ == null ? void 0 : _.global;
2642
- return i && (st = i), {
2643
- locale: o
2644
- };
2645
- }
2646
- }, Er = () => "i18n-t", Nr = (e) => ({ keypath: e });
2647
- export {
2648
- Er as a,
2649
- Nr as g,
2650
- dr as u
2651
- };
2652
- //# sourceMappingURL=i18n.DY5YXG5f.js.map