@adyen/bento-vue3 1.45.0 → 1.46.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 (300) hide show
  1. package/dist/@types/index.d.ts +4 -2
  2. package/dist/accordion.js +1 -1
  3. package/dist/action-bar.js +1 -1
  4. package/dist/alert.js +1 -1
  5. package/dist/assets/accordion-item.css +1 -1
  6. package/dist/assets/action-bar.css +1 -1
  7. package/dist/assets/base-modal.css +1 -1
  8. package/dist/assets/card.css +1 -1
  9. package/dist/assets/data-grid.css +1 -1
  10. package/dist/assets/dialog-page.css +1 -1
  11. package/dist/assets/dropdown.css +1 -1
  12. package/dist/assets/file-uploader.css +1 -1
  13. package/dist/assets/input-field.css +1 -1
  14. package/dist/assets/inspector.css +1 -1
  15. package/dist/assets/menu.css +1 -1
  16. package/dist/assets/modal-fullscreen.css +1 -1
  17. package/dist/assets/popover.css +1 -1
  18. package/dist/assets/sidepanel.css +1 -1
  19. package/dist/assets/step.css +1 -1
  20. package/dist/avatar.js +1 -1
  21. package/dist/button.js +3 -3
  22. package/dist/card.js +1 -1
  23. package/dist/checkbox.js +3 -3
  24. package/dist/chunks/{accordion-item.DfOb4Pyx.js → accordion-item.BOftQTUm.js} +8 -8
  25. package/dist/chunks/{accordion-item.DfOb4Pyx.js.map → accordion-item.BOftQTUm.js.map} +1 -1
  26. package/dist/chunks/{action-bar.CmDQZkM2.js → action-bar.DHa6nS5J.js} +10 -10
  27. package/dist/chunks/{action-bar.CmDQZkM2.js.map → action-bar.DHa6nS5J.js.map} +1 -1
  28. package/dist/chunks/{alert.D1Ax6AnI.js → alert.BffQNg4e.js} +9 -9
  29. package/dist/chunks/{alert.D1Ax6AnI.js.map → alert.BffQNg4e.js.map} +1 -1
  30. package/dist/chunks/{avatar.B0-9jC6H.js → avatar.DqdDHXay.js} +3 -3
  31. package/dist/chunks/{avatar.B0-9jC6H.js.map → avatar.DqdDHXay.js.map} +1 -1
  32. package/dist/chunks/{base-button.DdNFlbgH.js → base-button.DgHMejMF.js} +9 -9
  33. package/dist/chunks/{base-button.DdNFlbgH.js.map → base-button.DgHMejMF.js.map} +1 -1
  34. package/dist/chunks/{base-modal.DbJYaHyG.js → base-modal.BP7bUB84.js} +13 -13
  35. package/dist/chunks/{base-modal.DbJYaHyG.js.map → base-modal.BP7bUB84.js.map} +1 -1
  36. package/dist/chunks/{button-actions-with-menu.BUyecZNi.js → button-actions-with-menu.DzQQlXXK.js} +8 -8
  37. package/dist/chunks/{button-actions-with-menu.BUyecZNi.js.map → button-actions-with-menu.DzQQlXXK.js.map} +1 -1
  38. package/dist/chunks/{button-actions.CShVMUOC.js → button-actions.C8CJcXxS.js} +8 -8
  39. package/dist/chunks/{button-actions.CShVMUOC.js.map → button-actions.C8CJcXxS.js.map} +1 -1
  40. package/dist/chunks/{button.Cneb6rPP.js → button.DSnv5X7y.js} +10 -10
  41. package/dist/chunks/{button.Cneb6rPP.js.map → button.DSnv5X7y.js.map} +1 -1
  42. package/dist/chunks/{calendar.1qqtC8ba.js → calendar.DlvMzTO4.js} +10 -10
  43. package/dist/chunks/{calendar.1qqtC8ba.js.map → calendar.DlvMzTO4.js.map} +1 -1
  44. package/dist/chunks/{card.rkMUtirc.js → card.9fQrkeSH.js} +11 -11
  45. package/dist/chunks/{card.rkMUtirc.js.map → card.9fQrkeSH.js.map} +1 -1
  46. package/dist/chunks/{checkbox-group.PTNxE0kL.js → checkbox-group.Dq57AigF.js} +13 -13
  47. package/dist/chunks/{checkbox-group.PTNxE0kL.js.map → checkbox-group.Dq57AigF.js.map} +1 -1
  48. package/dist/chunks/{checkbox-input.CAYgiRHG.js → checkbox-input.D8ZUqd4m.js} +3 -3
  49. package/dist/chunks/{checkbox-input.CAYgiRHG.js.map → checkbox-input.D8ZUqd4m.js.map} +1 -1
  50. package/dist/chunks/{checkbox.D9FJcICR.js → checkbox.BphbrpUx.js} +32 -32
  51. package/dist/chunks/{checkbox.D9FJcICR.js.map → checkbox.BphbrpUx.js.map} +1 -1
  52. package/dist/chunks/{checkmark-circle-fill.g_tcBhFJ.js → checkmark-circle-fill.ClIf1E3H.js} +4 -4
  53. package/dist/chunks/{checkmark-circle-fill.g_tcBhFJ.js.map → checkmark-circle-fill.ClIf1E3H.js.map} +1 -1
  54. package/dist/chunks/{checkmark-small.BDqUF-Ni.js → checkmark-small.DEc2T64_.js} +5 -5
  55. package/dist/chunks/{checkmark-small.BDqUF-Ni.js.map → checkmark-small.DEc2T64_.js.map} +1 -1
  56. package/dist/chunks/{chevron-left.CYEK2UTr.js → chevron-left.NvV5m76j.js} +8 -8
  57. package/dist/chunks/{chevron-left.CYEK2UTr.js.map → chevron-left.NvV5m76j.js.map} +1 -1
  58. package/dist/chunks/{chevron-up.Cu9qXgBY.js → chevron-up.DQZG_BP3.js} +8 -8
  59. package/dist/chunks/{chevron-up.Cu9qXgBY.js.map → chevron-up.DQZG_BP3.js.map} +1 -1
  60. package/dist/chunks/code-snippet.BXMQTve4.js +422 -0
  61. package/dist/chunks/code-snippet.BXMQTve4.js.map +1 -0
  62. package/dist/chunks/{codemirror.CXFEqvAi.js → codemirror.OjJ-3ixa.js} +5180 -4862
  63. package/dist/chunks/codemirror.OjJ-3ixa.js.map +1 -0
  64. package/dist/chunks/{controls-group.BHxcGQ2A.js → controls-group.J99mAGhx.js} +11 -11
  65. package/dist/chunks/{controls-group.BHxcGQ2A.js.map → controls-group.J99mAGhx.js.map} +1 -1
  66. package/dist/chunks/{copy.DAMq-zRP.js → copy.CT8wuwho.js} +5 -5
  67. package/dist/chunks/{copy.DAMq-zRP.js.map → copy.CT8wuwho.js.map} +1 -1
  68. package/dist/chunks/{country.Cv_8NTmw.js → country.CcTaTBE0.js} +5 -5
  69. package/dist/chunks/{country.Cv_8NTmw.js.map → country.CcTaTBE0.js.map} +1 -1
  70. package/dist/chunks/{cross-circle-fill-small.CJyARMSZ.js → cross-circle-fill-small.BXO78Wde.js} +5 -5
  71. package/dist/chunks/{cross-circle-fill-small.CJyARMSZ.js.map → cross-circle-fill-small.BXO78Wde.js.map} +1 -1
  72. package/dist/chunks/{cross-circle-fill.BzSjakuO.js → cross-circle-fill.DN5b3_eL.js} +4 -4
  73. package/dist/chunks/{cross-circle-fill.BzSjakuO.js.map → cross-circle-fill.DN5b3_eL.js.map} +1 -1
  74. package/dist/chunks/{cross-small.Z5EKYRm0.js → cross-small.CXWTuKA_.js} +5 -5
  75. package/dist/chunks/{cross-small.Z5EKYRm0.js.map → cross-small.CXWTuKA_.js.map} +1 -1
  76. package/dist/chunks/{cross.BZYw4R3N.js → cross.OvPfvoqX.js} +5 -5
  77. package/dist/chunks/{cross.BZYw4R3N.js.map → cross.OvPfvoqX.js.map} +1 -1
  78. package/dist/chunks/{currency.DGX-aejv.js → currency.Dz2x17_Q.js} +3 -3
  79. package/dist/chunks/{currency.DGX-aejv.js.map → currency.Dz2x17_Q.js.map} +1 -1
  80. package/dist/chunks/{dashboard-section.Buh9mb22.js → dashboard-section.C90L1bhS.js} +6 -6
  81. package/dist/chunks/{dashboard-section.Buh9mb22.js.map → dashboard-section.C90L1bhS.js.map} +1 -1
  82. package/dist/chunks/{dashed-underline.DYVSwQtH.js → dashed-underline.BewlZNvL.js} +8 -8
  83. package/dist/chunks/{dashed-underline.DYVSwQtH.js.map → dashed-underline.BewlZNvL.js.map} +1 -1
  84. package/dist/chunks/{data-grid-template.B6xmEgaM.js → data-grid-template.DeAeq2Ij.js} +7 -7
  85. package/dist/chunks/{data-grid-template.B6xmEgaM.js.map → data-grid-template.DeAeq2Ij.js.map} +1 -1
  86. package/dist/chunks/{data-grid.DVc9qzLU.js → data-grid.DSPcFy6O.js} +31 -31
  87. package/dist/chunks/{data-grid.DVc9qzLU.js.map → data-grid.DSPcFy6O.js.map} +1 -1
  88. package/dist/chunks/{date-picker.Bt4fyPQ4.js → date-picker.wNOf4DoV.js} +24 -24
  89. package/dist/chunks/{date-picker.Bt4fyPQ4.js.map → date-picker.wNOf4DoV.js.map} +1 -1
  90. package/dist/chunks/{date-range-picker.Bna_2pBL.js → date-range-picker.C4l0Xe9R.js} +275 -275
  91. package/dist/chunks/{date-range-picker.Bna_2pBL.js.map → date-range-picker.C4l0Xe9R.js.map} +1 -1
  92. package/dist/chunks/{date.DeaBl297.js → date.DVGj7WKQ.js} +16 -14
  93. package/dist/chunks/{date.DeaBl297.js.map → date.DVGj7WKQ.js.map} +1 -1
  94. package/dist/chunks/{dialog-page.CJBSluwk.js → dialog-page.DNwtSB1o.js} +28 -29
  95. package/dist/chunks/{dialog-page.CJBSluwk.js.map → dialog-page.DNwtSB1o.js.map} +1 -1
  96. package/dist/chunks/{divider.DwBC4bpr.js → divider.ugNXYI-T.js} +3 -3
  97. package/dist/chunks/{divider.DwBC4bpr.js.map → divider.ugNXYI-T.js.map} +1 -1
  98. package/dist/chunks/{dot.cpdFEk6G.js → dot.pQfhaKda.js} +5 -5
  99. package/dist/chunks/{dot.cpdFEk6G.js.map → dot.pQfhaKda.js.map} +1 -1
  100. package/dist/chunks/{dropdown-default-textbox.ipIFhyWZ.js → dropdown-default-textbox.3HzBUxC3.js} +14 -14
  101. package/dist/chunks/{dropdown-default-textbox.ipIFhyWZ.js.map → dropdown-default-textbox.3HzBUxC3.js.map} +1 -1
  102. package/dist/chunks/{dropdown-tag.DLyxItIS.js → dropdown-tag.BRNZ7KIi.js} +8 -8
  103. package/dist/chunks/{dropdown-tag.DLyxItIS.js.map → dropdown-tag.BRNZ7KIi.js.map} +1 -1
  104. package/dist/chunks/{dropdown.CZDXXpKe.js → dropdown.DhvCTlVl.js} +270 -263
  105. package/dist/chunks/dropdown.DhvCTlVl.js.map +1 -0
  106. package/dist/chunks/{empty-state.C2ancCe6.js → empty-state.DYfl7gnt.js} +12 -12
  107. package/dist/chunks/{empty-state.C2ancCe6.js.map → empty-state.DYfl7gnt.js.map} +1 -1
  108. package/dist/chunks/{error-message.BVE3JdTq.js → error-message.C6QpZ9ux.js} +16 -16
  109. package/dist/chunks/{error-message.BVE3JdTq.js.map → error-message.C6QpZ9ux.js.map} +1 -1
  110. package/dist/chunks/{es6.jIyAPBgt.js → es6.D11bE5vq.js} +6 -6
  111. package/dist/chunks/{es6.jIyAPBgt.js.map → es6.D11bE5vq.js.map} +1 -1
  112. package/dist/chunks/{expand.CJ162RaJ.js → expand.CgwNEbbz.js} +4 -4
  113. package/dist/chunks/{expand.CJ162RaJ.js.map → expand.CgwNEbbz.js.map} +1 -1
  114. package/dist/chunks/file-uploader.DiqPKVVt.js +2226 -0
  115. package/dist/chunks/file-uploader.DiqPKVVt.js.map +1 -0
  116. package/dist/chunks/{filter-bar.oihCCt5N.js → filter-bar.ChU2rr8r.js} +52 -52
  117. package/dist/chunks/{filter-bar.oihCCt5N.js.map → filter-bar.ChU2rr8r.js.map} +1 -1
  118. package/dist/chunks/{fixed-scroller.XaGPUsUO.js → fixed-scroller.C4zzWgje.js} +12 -12
  119. package/dist/chunks/{fixed-scroller.XaGPUsUO.js.map → fixed-scroller.C4zzWgje.js.map} +1 -1
  120. package/dist/chunks/{focus-trap.CnKbO3b1.js → focus-trap.DOiVbmpZ.js} +8 -8
  121. package/dist/chunks/{focus-trap.CnKbO3b1.js.map → focus-trap.DOiVbmpZ.js.map} +1 -1
  122. package/dist/chunks/{footer-actions.n0JIXO4Q.js → footer-actions.Cl2aupkj.js} +8 -8
  123. package/dist/chunks/{footer-actions.n0JIXO4Q.js.map → footer-actions.Cl2aupkj.js.map} +1 -1
  124. package/dist/chunks/{form-layout-title.srkVLEUW.js → form-layout-title.Du4aY15F.js} +4 -4
  125. package/dist/chunks/{form-layout-title.srkVLEUW.js.map → form-layout-title.Du4aY15F.js.map} +1 -1
  126. package/dist/chunks/{generate-uid.NJ8tVoha.js → generate-uid.D-HFI38h.js} +2 -2
  127. package/dist/chunks/{generate-uid.NJ8tVoha.js.map → generate-uid.D-HFI38h.js.map} +1 -1
  128. package/dist/chunks/{grid-layout.BTLE3rac.js → grid-layout.CqLbbEzI.js} +21 -21
  129. package/dist/chunks/{grid-layout.BTLE3rac.js.map → grid-layout.CqLbbEzI.js.map} +1 -1
  130. package/dist/chunks/{header.CAHXObTT.js → header.CUyEq2ER.js} +65 -65
  131. package/dist/chunks/{header.CAHXObTT.js.map → header.CUyEq2ER.js.map} +1 -1
  132. package/dist/chunks/{i18n.WMYWtwxB.js → i18n.CPGoe9tN.js} +540 -540
  133. package/dist/chunks/{i18n.WMYWtwxB.js.map → i18n.CPGoe9tN.js.map} +1 -1
  134. package/dist/chunks/{image.vue_vue_type_script_setup_true_lang.DQT2oNEF.js → image.vue_vue_type_script_setup_true_lang.BMoSMeM-.js} +3 -3
  135. package/dist/chunks/{image.vue_vue_type_script_setup_true_lang.DQT2oNEF.js.map → image.vue_vue_type_script_setup_true_lang.BMoSMeM-.js.map} +1 -1
  136. package/dist/chunks/{index.BMkVmbZj.js → index.BHiMheJx.js} +5 -5
  137. package/dist/chunks/{index.BMkVmbZj.js.map → index.BHiMheJx.js.map} +1 -1
  138. package/dist/chunks/{info-icon-with-popover.DFv8U4sh.js → info-icon-with-popover._ZiXaIcp.js} +11 -11
  139. package/dist/chunks/{info-icon-with-popover.DFv8U4sh.js.map → info-icon-with-popover._ZiXaIcp.js.map} +1 -1
  140. package/dist/chunks/{info-icon.BCSBCH-5.js → info-icon.B6QPdxPi.js} +5 -5
  141. package/dist/chunks/{info-icon.BCSBCH-5.js.map → info-icon.B6QPdxPi.js.map} +1 -1
  142. package/dist/chunks/{info.DYNe2WnZ.js → info.CIFBUqf-.js} +4 -4
  143. package/dist/chunks/{info.DYNe2WnZ.js.map → info.CIFBUqf-.js.map} +1 -1
  144. package/dist/chunks/{input-field-password.DedPkZxg.js → input-field-password.LVaJy8_K.js} +30 -30
  145. package/dist/chunks/{input-field-password.DedPkZxg.js.map → input-field-password.LVaJy8_K.js.map} +1 -1
  146. package/dist/chunks/{input-field.3PUv6XC3.js → input-field.BVewQng_.js} +124 -115
  147. package/dist/chunks/input-field.BVewQng_.js.map +1 -0
  148. package/dist/chunks/{inspector.types.Dr0D250X.js → inspector.types.DKL2_Mku.js} +14 -14
  149. package/dist/chunks/{inspector.types.Dr0D250X.js.map → inspector.types.DKL2_Mku.js.map} +1 -1
  150. package/dist/chunks/{layout-row.9G7yVMVt.js → layout-row.CwYDJeG_.js} +4 -4
  151. package/dist/chunks/{layout-row.9G7yVMVt.js.map → layout-row.CwYDJeG_.js.map} +1 -1
  152. package/dist/chunks/{link.ClFi8uSm.js → link.DHXLGTkn.js} +11 -11
  153. package/dist/chunks/{link.ClFi8uSm.js.map → link.DHXLGTkn.js.map} +1 -1
  154. package/dist/chunks/{listbox-option-tag.zYn_kSFz.js → listbox-option-tag.DsI3DdjJ.js} +9 -9
  155. package/dist/chunks/{listbox-option-tag.zYn_kSFz.js.map → listbox-option-tag.DsI3DdjJ.js.map} +1 -1
  156. package/dist/chunks/{loading-indicator.DEepb9Wl.js → loading-indicator.N_WV9Gwz.js} +3 -3
  157. package/dist/chunks/{loading-indicator.DEepb9Wl.js.map → loading-indicator.N_WV9Gwz.js.map} +1 -1
  158. package/dist/chunks/{menu.Dmzh3Uat.js → menu.C5Y5nSvX.js} +13 -13
  159. package/dist/chunks/{menu.Dmzh3Uat.js.map → menu.C5Y5nSvX.js.map} +1 -1
  160. package/dist/chunks/{modal-fullscreen.BazQAAU1.js → modal-fullscreen.Bw0CzdjS.js} +12 -12
  161. package/dist/chunks/{modal-fullscreen.BazQAAU1.js.map → modal-fullscreen.Bw0CzdjS.js.map} +1 -1
  162. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.C8vZDtlE.js → modal.vue_vue_type_script_setup_true_lang.B-_oGtsE.js} +13 -13
  163. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.C8vZDtlE.js.map → modal.vue_vue_type_script_setup_true_lang.B-_oGtsE.js.map} +1 -1
  164. package/dist/chunks/{pagination.BCC3GZV5.js → pagination.OzqU46-J.js} +11 -11
  165. package/dist/chunks/{pagination.BCC3GZV5.js.map → pagination.OzqU46-J.js.map} +1 -1
  166. package/dist/chunks/{payment-method.2IeC7f4x.js → payment-method.Lwl-3chY.js} +3 -3
  167. package/dist/chunks/{payment-method.2IeC7f4x.js.map → payment-method.Lwl-3chY.js.map} +1 -1
  168. package/dist/chunks/{popover.3KG1IoYE.js → popover.BFZU1OKv.js} +7 -7
  169. package/dist/chunks/{popover.3KG1IoYE.js.map → popover.BFZU1OKv.js.map} +1 -1
  170. package/dist/chunks/{popper-container.DKDjRvdv.js → popper-container.CQblHdJf.js} +4 -4
  171. package/dist/chunks/{popper-container.DKDjRvdv.js.map → popper-container.CQblHdJf.js.map} +1 -1
  172. package/dist/chunks/{promo-banner.BjLfDhBq.js → promo-banner.DB6C9Tgr.js} +12 -12
  173. package/dist/chunks/{promo-banner.BjLfDhBq.js.map → promo-banner.DB6C9Tgr.js.map} +1 -1
  174. package/dist/chunks/{radio-group.CeiSaH6M.js → radio-group.DVPnBI92.js} +8 -8
  175. package/dist/chunks/{radio-group.CeiSaH6M.js.map → radio-group.DVPnBI92.js.map} +1 -1
  176. package/dist/chunks/{radio-input.0TPahhZT.js → radio-input.ButaAWTD.js} +5 -5
  177. package/dist/chunks/{radio-input.0TPahhZT.js.map → radio-input.ButaAWTD.js.map} +1 -1
  178. package/dist/chunks/{refresh.SzRxQ44W.js → refresh.DvQeGwUF.js} +5 -5
  179. package/dist/chunks/{refresh.SzRxQ44W.js.map → refresh.DvQeGwUF.js.map} +1 -1
  180. package/dist/chunks/{search-bar.BZDJJtWB.js → search-bar.CPOGuVqp.js} +8 -8
  181. package/dist/chunks/{search-bar.BZDJJtWB.js.map → search-bar.CPOGuVqp.js.map} +1 -1
  182. package/dist/chunks/{search.KgjmJMHa.js → search.EnLryD8V.js} +4 -4
  183. package/dist/chunks/{search.KgjmJMHa.js.map → search.EnLryD8V.js.map} +1 -1
  184. package/dist/chunks/{secondary-nav.qm-rh-r6.js → secondary-nav.B1zTf8Ls.js} +11 -11
  185. package/dist/chunks/{secondary-nav.qm-rh-r6.js.map → secondary-nav.B1zTf8Ls.js.map} +1 -1
  186. package/dist/chunks/{segmented-control.BIwBQ8i3.js → segmented-control.DV9mJM7g.js} +9 -9
  187. package/dist/chunks/{segmented-control.BIwBQ8i3.js.map → segmented-control.DV9mJM7g.js.map} +1 -1
  188. package/dist/chunks/{selection-card-group.DPGh4nwl.js → selection-card-group.z0SNFpjN.js} +17 -17
  189. package/dist/chunks/{selection-card-group.DPGh4nwl.js.map → selection-card-group.z0SNFpjN.js.map} +1 -1
  190. package/dist/chunks/{show.J9zXGWlK.js → show.ChPQTrAT.js} +6 -6
  191. package/dist/chunks/{show.J9zXGWlK.js.map → show.ChPQTrAT.js.map} +1 -1
  192. package/dist/chunks/{sidepanel.DxSdFwm1.js → sidepanel.B-YKxXQA.js} +12 -12
  193. package/dist/chunks/{sidepanel.DxSdFwm1.js.map → sidepanel.B-YKxXQA.js.map} +1 -1
  194. package/dist/chunks/{status.types.Dil95sGx.js → status.types.Bh_mGknA.js} +6 -6
  195. package/dist/chunks/{status.types.Dil95sGx.js.map → status.types.Bh_mGknA.js.map} +1 -1
  196. package/dist/chunks/{step.DAB8h_4u.js → step.CGHc2hFZ.js} +7 -7
  197. package/dist/chunks/{step.DAB8h_4u.js.map → step.CGHc2hFZ.js.map} +1 -1
  198. package/dist/chunks/{structured-list-item.DpI6jzfM.js → structured-list-item.DNP6fkCb.js} +9 -9
  199. package/dist/chunks/{structured-list-item.DpI6jzfM.js.map → structured-list-item.DNP6fkCb.js.map} +1 -1
  200. package/dist/chunks/{summary-grid-item-custom.DCNWMasy.js → summary-grid-item-custom.Dm2rULoZ.js} +7 -7
  201. package/dist/chunks/{summary-grid-item-custom.DCNWMasy.js.map → summary-grid-item-custom.Dm2rULoZ.js.map} +1 -1
  202. package/dist/chunks/{tabs.B5-PZCxc.js → tabs.BXuDJsCU.js} +5 -5
  203. package/dist/chunks/{tabs.B5-PZCxc.js.map → tabs.BXuDJsCU.js.map} +1 -1
  204. package/dist/chunks/{tag.BuUbvgok.js → tag.bo9YuJ9f.js} +5 -5
  205. package/dist/chunks/{tag.BuUbvgok.js.map → tag.bo9YuJ9f.js.map} +1 -1
  206. package/dist/chunks/{teleport.B1NhF5-O.js → teleport.B255JhsV.js} +4 -4
  207. package/dist/chunks/{teleport.B1NhF5-O.js.map → teleport.B255JhsV.js.map} +1 -1
  208. package/dist/chunks/{textarea.CCr8inwI.js → textarea.FlyFaC5n.js} +8 -8
  209. package/dist/chunks/{textarea.CCr8inwI.js.map → textarea.FlyFaC5n.js.map} +1 -1
  210. package/dist/chunks/{timeline-item.DG9YaOiC.js → timeline-item.DYgnYAx0.js} +38 -38
  211. package/dist/chunks/{timeline-item.DG9YaOiC.js.map → timeline-item.DYgnYAx0.js.map} +1 -1
  212. package/dist/chunks/{toast.CVy2sf_5.js → toast.Cp-osZLV.js} +22 -22
  213. package/dist/chunks/{toast.CVy2sf_5.js.map → toast.Cp-osZLV.js.map} +1 -1
  214. package/dist/chunks/{toggle-button.CCgvi7TQ.js → toggle-button.BABftVnA.js} +4 -4
  215. package/dist/chunks/{toggle-button.CCgvi7TQ.js.map → toggle-button.BABftVnA.js.map} +1 -1
  216. package/dist/chunks/{toggle.Dl82VpiQ.js → toggle.Bme9eaeR.js} +5 -5
  217. package/dist/chunks/{toggle.Dl82VpiQ.js.map → toggle.Bme9eaeR.js.map} +1 -1
  218. package/dist/chunks/{tooltip.2MOlGHD9.js → tooltip.Ch4_ew27.js} +9 -9
  219. package/dist/chunks/{tooltip.2MOlGHD9.js.map → tooltip.Ch4_ew27.js.map} +1 -1
  220. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.CQ0vEvB4.js → tutorial.vue_vue_type_script_setup_true_lang.hNv57lCE.js} +33 -33
  221. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.CQ0vEvB4.js.map → tutorial.vue_vue_type_script_setup_true_lang.hNv57lCE.js.map} +1 -1
  222. package/dist/chunks/{typography.DN5eC5ch.js → typography.DNzU41ah.js} +3 -4
  223. package/dist/chunks/{typography.DN5eC5ch.js.map → typography.DNzU41ah.js.map} +1 -1
  224. package/dist/chunks/{use-bento-toast-controller.D3LA1FCd.js → use-bento-toast-controller.C2wUDcoc.js} +3 -3
  225. package/dist/chunks/{use-bento-toast-controller.D3LA1FCd.js.map → use-bento-toast-controller.C2wUDcoc.js.map} +1 -1
  226. package/dist/chunks/{use-cached-selected-values.BBD_AA1m.js → use-cached-selected-values.CvdhdRHz.js} +15 -15
  227. package/dist/chunks/{use-cached-selected-values.BBD_AA1m.js.map → use-cached-selected-values.CvdhdRHz.js.map} +1 -1
  228. package/dist/chunks/{use-country-items.DnPo3yxj.js → use-country-items.D4T1eUtC.js} +2 -2
  229. package/dist/chunks/{use-country-items.DnPo3yxj.js.map → use-country-items.D4T1eUtC.js.map} +1 -1
  230. package/dist/chunks/{warning-filled.tTkVob0l.js → warning-filled.OUOUbA6k.js} +5 -5
  231. package/dist/chunks/{warning-filled.tTkVob0l.js.map → warning-filled.OUOUbA6k.js.map} +1 -1
  232. package/dist/code-snippet.js +1 -1
  233. package/dist/country.js +1 -1
  234. package/dist/currency.js +1 -1
  235. package/dist/dashboard-template.js +1 -1
  236. package/dist/dashed-underline.js +1 -1
  237. package/dist/data-grid-template.js +1 -1
  238. package/dist/data-grid.js +1 -1
  239. package/dist/date-picker.js +2 -2
  240. package/dist/date-range-picker.js +2 -2
  241. package/dist/date.js +1 -1
  242. package/dist/divider.js +1 -1
  243. package/dist/dropdown.js +4 -4
  244. package/dist/empty-state.js +1 -1
  245. package/dist/file-uploader.js +1 -1
  246. package/dist/filter-bar.js +1 -1
  247. package/dist/focus-trap.js +1 -1
  248. package/dist/form-layout.js +1 -1
  249. package/dist/header.js +1 -1
  250. package/dist/image.js +1 -1
  251. package/dist/index.js +170 -170
  252. package/dist/index.js.map +1 -1
  253. package/dist/info-icon.js +1 -1
  254. package/dist/input-field-password.js +1 -1
  255. package/dist/input-field.js +1 -1
  256. package/dist/inspector.js +1 -1
  257. package/dist/internal.js +14 -14
  258. package/dist/layout.js +1 -1
  259. package/dist/link.js +1 -1
  260. package/dist/loading-indicator.js +1 -1
  261. package/dist/menu.js +1 -1
  262. package/dist/modal-fullscreen.js +1 -1
  263. package/dist/modal.js +2 -2
  264. package/dist/pagination.js +1 -1
  265. package/dist/payment-method.js +1 -1
  266. package/dist/popover.js +1 -1
  267. package/dist/popper-container.js +1 -1
  268. package/dist/promo-banner.js +1 -1
  269. package/dist/radio-group.js +2 -2
  270. package/dist/search-bar.js +2 -2
  271. package/dist/secondary-nav.js +1 -1
  272. package/dist/segmented-control.js +1 -1
  273. package/dist/selection-card.js +1 -1
  274. package/dist/sidepanel.js +1 -1
  275. package/dist/status.js +1 -1
  276. package/dist/stepper.js +1 -1
  277. package/dist/structured-list.js +1 -1
  278. package/dist/styles/bento-dark.css +1 -0
  279. package/dist/styles/bento-light.css +1 -0
  280. package/dist/styles/bento.css +1 -0
  281. package/dist/styles/legacy.css +6 -5
  282. package/dist/styles/styleguide.css +1 -0
  283. package/dist/summary-grid.js +1 -1
  284. package/dist/tabs.js +1 -1
  285. package/dist/tag.js +1 -1
  286. package/dist/textarea.js +1 -1
  287. package/dist/timeline.js +1 -1
  288. package/dist/toast.js +1 -1
  289. package/dist/toggle.js +1 -1
  290. package/dist/tutorial.js +1 -1
  291. package/dist/typography.js +1 -1
  292. package/dist/web-types.json +1 -1
  293. package/package.json +7 -4
  294. package/dist/chunks/code-snippet.volJxGqR.js +0 -392
  295. package/dist/chunks/code-snippet.volJxGqR.js.map +0 -1
  296. package/dist/chunks/codemirror.CXFEqvAi.js.map +0 -1
  297. package/dist/chunks/dropdown.CZDXXpKe.js.map +0 -1
  298. package/dist/chunks/file-uploader.BXHt0PWz.js +0 -1077
  299. package/dist/chunks/file-uploader.BXHt0PWz.js.map +0 -1
  300. package/dist/chunks/input-field.3PUv6XC3.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { getCurrentInstance as Nt, inject as bn, shallowRef as Cn, ref as Fe, computed as ce, onBeforeMount as or, watch as Xt, onMounted as ir, onUnmounted as cr, defineComponent as Vt, h as hn, createVNode as ur, Text as fr, Fragment as Pn } from "vue";
1
+ import { defineComponent as Vt, h as bn, getCurrentInstance as Nt, inject as Cn, onMounted as or, onUnmounted as ir, shallowRef as hn, ref as Fe, computed as ce, onBeforeMount as cr, watch as Xt, Fragment as Pn, createVNode as ur, Text as fr } from "vue";
2
2
  import "vue-i18n";
3
3
  /*!
4
4
  * shared v9.14.3
@@ -30,7 +30,7 @@ const Tr = Object.prototype.hasOwnProperty;
30
30
  function ue(e, t) {
31
31
  return Tr.call(e, t);
32
32
  }
33
- const J = Array.isArray, x = (e) => typeof e == "function", C = (e) => typeof e == "string", H = (e) => typeof e == "boolean", w = (e) => e !== null && typeof e == "object", Or = (e) => w(e) && x(e.then) && x(e.catch), Sn = Object.prototype.toString, Dn = (e) => Sn.call(e), F = (e) => {
33
+ const J = Array.isArray, x = (e) => typeof e == "function", h = (e) => typeof e == "string", H = (e) => typeof e == "boolean", w = (e) => e !== null && typeof e == "object", Or = (e) => w(e) && x(e.then) && x(e.catch), Sn = Object.prototype.toString, Dn = (e) => Sn.call(e), F = (e) => {
34
34
  if (!w(e))
35
35
  return !1;
36
36
  const t = Object.getPrototypeOf(e);
@@ -46,19 +46,19 @@ function gr(e, t = 0, n = e.length) {
46
46
  const a = [];
47
47
  for (let i = 0; i < r.length; i++)
48
48
  if (l += r[i].length + 1, l >= t) {
49
- for (let c = i - Qt; c <= i + Qt || n > l; c++) {
50
- if (c < 0 || c >= r.length)
49
+ for (let u = i - Qt; u <= i + Qt || n > l; u++) {
50
+ if (u < 0 || u >= r.length)
51
51
  continue;
52
- const u = c + 1;
53
- a.push(`${u}${" ".repeat(3 - String(u).length)}| ${r[c]}`);
54
- const E = r[c].length;
55
- if (c === i) {
56
- const L = t - (l - E) + 1, I = Math.max(1, n > l ? E - L : n - t);
57
- a.push(" | " + " ".repeat(L) + "^".repeat(I));
58
- } else if (c > i) {
52
+ const c = u + 1;
53
+ a.push(`${c}${" ".repeat(3 - String(c).length)}| ${r[u]}`);
54
+ const E = r[u].length;
55
+ if (u === i) {
56
+ const p = t - (l - E) + 1, g = Math.max(1, n > l ? E - p : n - t);
57
+ a.push(" | " + " ".repeat(p) + "^".repeat(g));
58
+ } else if (u > i) {
59
59
  if (n > l) {
60
- const L = Math.max(Math.min(n - l, E), 1);
61
- a.push(" | " + "^".repeat(L));
60
+ const p = Math.max(Math.min(n - l, E), 1);
61
+ a.push(" | " + "^".repeat(p));
62
62
  }
63
63
  l += E + 1;
64
64
  }
@@ -137,7 +137,7 @@ function hr(e, t, ...n) {
137
137
  const r = yn(Cr[e], ...n || []), l = { message: String(r), code: e };
138
138
  return t && (l.location = t), l;
139
139
  }
140
- const y = {
140
+ const k = {
141
141
  // tokenizer error codes
142
142
  EXPECTED_TOKEN: 1,
143
143
  INVALID_TOKEN_IN_PLACEHOLDER: 2,
@@ -164,29 +164,29 @@ const y = {
164
164
  __EXTEND_POINT__: 17
165
165
  }, Pr = {
166
166
  // tokenizer error messages
167
- [y.EXPECTED_TOKEN]: "Expected token: '{0}'",
168
- [y.INVALID_TOKEN_IN_PLACEHOLDER]: "Invalid token in placeholder: '{0}'",
169
- [y.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]: "Unterminated single quote in placeholder",
170
- [y.UNKNOWN_ESCAPE_SEQUENCE]: "Unknown escape sequence: \\{0}",
171
- [y.INVALID_UNICODE_ESCAPE_SEQUENCE]: "Invalid unicode escape sequence: {0}",
172
- [y.UNBALANCED_CLOSING_BRACE]: "Unbalanced closing brace",
173
- [y.UNTERMINATED_CLOSING_BRACE]: "Unterminated closing brace",
174
- [y.EMPTY_PLACEHOLDER]: "Empty placeholder",
175
- [y.NOT_ALLOW_NEST_PLACEHOLDER]: "Not allowed nest placeholder",
176
- [y.INVALID_LINKED_FORMAT]: "Invalid linked format",
167
+ [k.EXPECTED_TOKEN]: "Expected token: '{0}'",
168
+ [k.INVALID_TOKEN_IN_PLACEHOLDER]: "Invalid token in placeholder: '{0}'",
169
+ [k.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]: "Unterminated single quote in placeholder",
170
+ [k.UNKNOWN_ESCAPE_SEQUENCE]: "Unknown escape sequence: \\{0}",
171
+ [k.INVALID_UNICODE_ESCAPE_SEQUENCE]: "Invalid unicode escape sequence: {0}",
172
+ [k.UNBALANCED_CLOSING_BRACE]: "Unbalanced closing brace",
173
+ [k.UNTERMINATED_CLOSING_BRACE]: "Unterminated closing brace",
174
+ [k.EMPTY_PLACEHOLDER]: "Empty placeholder",
175
+ [k.NOT_ALLOW_NEST_PLACEHOLDER]: "Not allowed nest placeholder",
176
+ [k.INVALID_LINKED_FORMAT]: "Invalid linked format",
177
177
  // parser error messages
178
- [y.MUST_HAVE_MESSAGES_IN_PLURAL]: "Plural must have messages",
179
- [y.UNEXPECTED_EMPTY_LINKED_MODIFIER]: "Unexpected empty linked modifier",
180
- [y.UNEXPECTED_EMPTY_LINKED_KEY]: "Unexpected empty linked key",
181
- [y.UNEXPECTED_LEXICAL_ANALYSIS]: "Unexpected lexical analysis in token: '{0}'",
178
+ [k.MUST_HAVE_MESSAGES_IN_PLURAL]: "Plural must have messages",
179
+ [k.UNEXPECTED_EMPTY_LINKED_MODIFIER]: "Unexpected empty linked modifier",
180
+ [k.UNEXPECTED_EMPTY_LINKED_KEY]: "Unexpected empty linked key",
181
+ [k.UNEXPECTED_LEXICAL_ANALYSIS]: "Unexpected lexical analysis in token: '{0}'",
182
182
  // generator error messages
183
- [y.UNHANDLED_CODEGEN_NODE_TYPE]: "unhandled codegen node type: '{0}'",
183
+ [k.UNHANDLED_CODEGEN_NODE_TYPE]: "unhandled codegen node type: '{0}'",
184
184
  // minimizer error messages
185
- [y.UNHANDLED_MINIFIER_NODE_TYPE]: "unhandled mimifier node type: '{0}'"
185
+ [k.UNHANDLED_MINIFIER_NODE_TYPE]: "unhandled mimifier node type: '{0}'"
186
186
  };
187
187
  function $e(e, t, n = {}) {
188
- const { domain: r, messages: l, args: a } = n, i = yn((l || Pr)[e] || "", ...a || []), c = new SyntaxError(String(i));
189
- return c.code = e, t && (c.location = t), c.domain = r, c;
188
+ const { domain: r, messages: l, args: a } = n, i = yn((l || Pr)[e] || "", ...a || []), u = new SyntaxError(String(i));
189
+ return u.code = e, t && (u.location = t), u.domain = r, u;
190
190
  }
191
191
  function Sr(e) {
192
192
  throw e;
@@ -196,9 +196,9 @@ const Dr = /<\/?[\w\s="/.':;#-\/]+>/, Rr = (e) => Dr.test(e), me = " ", yr = "\r
196
196
  function Fr(e) {
197
197
  const t = e;
198
198
  let n = 0, r = 1, l = 1, a = 0;
199
- const i = (g) => t[g] === yr && t[g + 1] === ee, c = (g) => t[g] === ee, u = (g) => t[g] === Mr, E = (g) => t[g] === kr, L = (g) => i(g) || c(g) || u(g) || E(g), I = () => n, T = () => r, h = () => l, k = () => a, P = (g) => i(g) || u(g) || E(g) ? ee : t[g], S = () => P(n), M = () => P(n + a);
199
+ const i = (I) => t[I] === yr && t[I + 1] === ee, u = (I) => t[I] === ee, c = (I) => t[I] === Mr, E = (I) => t[I] === kr, p = (I) => i(I) || u(I) || c(I) || E(I), g = () => n, T = () => r, C = () => l, M = () => a, S = (I) => i(I) || c(I) || E(I) ? ee : t[I], P = () => S(n), y = () => S(n + a);
200
200
  function R() {
201
- return a = 0, L(n) && (r++, l = 0), i(n) && n++, n++, l++, t[n];
201
+ return a = 0, p(n) && (r++, l = 0), i(n) && n++, n++, l++, t[n];
202
202
  }
203
203
  function f() {
204
204
  return i(n + a) && a++, a++, t[n + a];
@@ -206,53 +206,53 @@ function Fr(e) {
206
206
  function m() {
207
207
  n = 0, r = 1, l = 1, a = 0;
208
208
  }
209
- function p(g = 0) {
210
- a = g;
209
+ function L(I = 0) {
210
+ a = I;
211
211
  }
212
212
  function N() {
213
- const g = n + a;
214
- for (; g !== n; )
213
+ const I = n + a;
214
+ for (; I !== n; )
215
215
  R();
216
216
  a = 0;
217
217
  }
218
218
  return {
219
- index: I,
219
+ index: g,
220
220
  line: T,
221
- column: h,
222
- peekOffset: k,
223
- charAt: P,
224
- currentChar: S,
225
- currentPeek: M,
221
+ column: C,
222
+ peekOffset: M,
223
+ charAt: S,
224
+ currentChar: P,
225
+ currentPeek: y,
226
226
  next: R,
227
227
  peek: f,
228
228
  reset: m,
229
- resetPeek: p,
229
+ resetPeek: L,
230
230
  skipToPeek: N
231
231
  };
232
232
  }
233
233
  const Le = void 0, Ur = ".", zt = "'", wr = "tokenizer";
234
234
  function Vr(e, t = {}) {
235
- const n = t.location !== !1, r = Fr(e), l = () => r.index(), a = () => vr(r.line(), r.column(), r.index()), i = a(), c = l(), u = {
235
+ const n = t.location !== !1, r = Fr(e), l = () => r.index(), a = () => vr(r.line(), r.column(), r.index()), i = a(), u = l(), c = {
236
236
  currentType: 14,
237
- offset: c,
237
+ offset: u,
238
238
  startLoc: i,
239
239
  endLoc: i,
240
240
  lastType: 14,
241
- lastOffset: c,
241
+ lastOffset: u,
242
242
  lastStartLoc: i,
243
243
  lastEndLoc: i,
244
244
  braceNest: 0,
245
245
  inLinked: !1,
246
246
  text: ""
247
- }, E = () => u, { onError: L } = t;
248
- function I(s, o, d, ...D) {
247
+ }, E = () => c, { onError: p } = t;
248
+ function g(s, o, d, ...D) {
249
249
  const B = E();
250
- if (o.column += d, o.offset += d, L) {
250
+ if (o.column += d, o.offset += d, p) {
251
251
  const G = n ? mt(B.startLoc, o) : null, $ = $e(s, G, {
252
252
  domain: wr,
253
253
  args: D
254
254
  });
255
- L($);
255
+ p($);
256
256
  }
257
257
  }
258
258
  function T(s, o, d) {
@@ -260,25 +260,25 @@ function Vr(e, t = {}) {
260
260
  const D = { type: o };
261
261
  return n && (D.loc = mt(s.startLoc, s.endLoc)), d != null && (D.value = d), D;
262
262
  }
263
- const h = (s) => T(
263
+ const C = (s) => T(
264
264
  s,
265
265
  14
266
266
  /* TokenTypes.EOF */
267
267
  );
268
- function k(s, o) {
269
- return s.currentChar() === o ? (s.next(), o) : (I(y.EXPECTED_TOKEN, a(), 0, o), "");
268
+ function M(s, o) {
269
+ return s.currentChar() === o ? (s.next(), o) : (g(k.EXPECTED_TOKEN, a(), 0, o), "");
270
270
  }
271
- function P(s) {
271
+ function S(s) {
272
272
  let o = "";
273
273
  for (; s.currentPeek() === me || s.currentPeek() === ee; )
274
274
  o += s.currentPeek(), s.peek();
275
275
  return o;
276
276
  }
277
- function S(s) {
278
- const o = P(s);
277
+ function P(s) {
278
+ const o = S(s);
279
279
  return s.skipToPeek(), o;
280
280
  }
281
- function M(s) {
281
+ function y(s) {
282
282
  if (s === Le)
283
283
  return !1;
284
284
  const o = s.charCodeAt(0);
@@ -296,23 +296,23 @@ function Vr(e, t = {}) {
296
296
  const { currentType: d } = o;
297
297
  if (d !== 2)
298
298
  return !1;
299
- P(s);
300
- const D = M(s.currentPeek());
299
+ S(s);
300
+ const D = y(s.currentPeek());
301
301
  return s.resetPeek(), D;
302
302
  }
303
303
  function m(s, o) {
304
304
  const { currentType: d } = o;
305
305
  if (d !== 2)
306
306
  return !1;
307
- P(s);
307
+ S(s);
308
308
  const D = s.currentPeek() === "-" ? s.peek() : s.currentPeek(), B = R(D);
309
309
  return s.resetPeek(), B;
310
310
  }
311
- function p(s, o) {
311
+ function L(s, o) {
312
312
  const { currentType: d } = o;
313
313
  if (d !== 2)
314
314
  return !1;
315
- P(s);
315
+ S(s);
316
316
  const D = s.currentPeek() === zt;
317
317
  return s.resetPeek(), D;
318
318
  }
@@ -320,23 +320,23 @@ function Vr(e, t = {}) {
320
320
  const { currentType: d } = o;
321
321
  if (d !== 8)
322
322
  return !1;
323
- P(s);
323
+ S(s);
324
324
  const D = s.currentPeek() === ".";
325
325
  return s.resetPeek(), D;
326
326
  }
327
- function g(s, o) {
327
+ function I(s, o) {
328
328
  const { currentType: d } = o;
329
329
  if (d !== 9)
330
330
  return !1;
331
- P(s);
332
- const D = M(s.currentPeek());
331
+ S(s);
332
+ const D = y(s.currentPeek());
333
333
  return s.resetPeek(), D;
334
334
  }
335
335
  function b(s, o) {
336
336
  const { currentType: d } = o;
337
337
  if (!(d === 8 || d === 12))
338
338
  return !1;
339
- P(s);
339
+ S(s);
340
340
  const D = s.currentPeek() === ":";
341
341
  return s.resetPeek(), D;
342
342
  }
@@ -346,17 +346,17 @@ function Vr(e, t = {}) {
346
346
  return !1;
347
347
  const D = () => {
348
348
  const G = s.currentPeek();
349
- return G === "{" ? M(s.peek()) : G === "@" || G === "%" || G === "|" || G === ":" || G === "." || G === me || !G ? !1 : G === ee ? (s.peek(), D()) : U(s, !1);
349
+ return G === "{" ? y(s.peek()) : G === "@" || G === "%" || G === "|" || G === ":" || G === "." || G === me || !G ? !1 : G === ee ? (s.peek(), D()) : U(s, !1);
350
350
  }, B = D();
351
351
  return s.resetPeek(), B;
352
352
  }
353
353
  function K(s) {
354
- P(s);
354
+ S(s);
355
355
  const o = s.currentPeek() === "|";
356
356
  return s.resetPeek(), o;
357
357
  }
358
358
  function ae(s) {
359
- const o = P(s), d = s.currentPeek() === "%" && s.peek() === "{";
359
+ const o = S(s), d = s.currentPeek() === "%" && s.peek() === "{";
360
360
  return s.resetPeek(), {
361
361
  isModulo: d,
362
362
  hasSpace: o.length > 0
@@ -419,9 +419,9 @@ function Vr(e, t = {}) {
419
419
  return d;
420
420
  }
421
421
  function Re(s) {
422
- S(s);
422
+ P(s);
423
423
  const o = s.currentChar();
424
- return o !== "%" && I(y.EXPECTED_TOKEN, a(), 0, o), s.next(), "%";
424
+ return o !== "%" && g(k.EXPECTED_TOKEN, a(), 0, o), s.next(), "%";
425
425
  }
426
426
  function ye(s) {
427
427
  let o = "";
@@ -448,27 +448,27 @@ function Vr(e, t = {}) {
448
448
  return o;
449
449
  }
450
450
  function je(s) {
451
- S(s);
451
+ P(s);
452
452
  let o = "", d = "";
453
453
  for (; o = He(s); )
454
454
  d += o;
455
- return s.currentChar() === Le && I(y.UNTERMINATED_CLOSING_BRACE, a(), 0), d;
455
+ return s.currentChar() === Le && g(k.UNTERMINATED_CLOSING_BRACE, a(), 0), d;
456
456
  }
457
457
  function Je(s) {
458
- S(s);
458
+ P(s);
459
459
  let o = "";
460
- return s.currentChar() === "-" ? (s.next(), o += `-${se(s)}`) : o += se(s), s.currentChar() === Le && I(y.UNTERMINATED_CLOSING_BRACE, a(), 0), o;
460
+ return s.currentChar() === "-" ? (s.next(), o += `-${se(s)}`) : o += se(s), s.currentChar() === Le && g(k.UNTERMINATED_CLOSING_BRACE, a(), 0), o;
461
461
  }
462
462
  function Qe(s) {
463
463
  return s !== zt && s !== ee;
464
464
  }
465
465
  function it(s) {
466
- S(s), k(s, "'");
466
+ P(s), M(s, "'");
467
467
  let o = "", d = "";
468
468
  for (; o = Z(s, Qe); )
469
469
  o === "\\" ? d += qe(s) : d += o;
470
470
  const D = s.currentChar();
471
- return D === ee || D === Le ? (I(y.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, a(), 0), D === ee && (s.next(), k(s, "'")), d) : (k(s, "'"), d);
471
+ return D === ee || D === Le ? (g(k.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, a(), 0), D === ee && (s.next(), M(s, "'")), d) : (M(s, "'"), d);
472
472
  }
473
473
  function qe(s) {
474
474
  const o = s.currentChar();
@@ -481,16 +481,16 @@ function Vr(e, t = {}) {
481
481
  case "U":
482
482
  return ke(s, o, 6);
483
483
  default:
484
- return I(y.UNKNOWN_ESCAPE_SEQUENCE, a(), 0, o), "";
484
+ return g(k.UNKNOWN_ESCAPE_SEQUENCE, a(), 0, o), "";
485
485
  }
486
486
  }
487
487
  function ke(s, o, d) {
488
- k(s, o);
488
+ M(s, o);
489
489
  let D = "";
490
490
  for (let B = 0; B < d; B++) {
491
491
  const G = Xe(s);
492
492
  if (!G) {
493
- I(y.INVALID_UNICODE_ESCAPE_SEQUENCE, a(), 0, `\\${o}${D}${s.currentChar()}`);
493
+ g(k.INVALID_UNICODE_ESCAPE_SEQUENCE, a(), 0, `\\${o}${D}${s.currentChar()}`);
494
494
  break;
495
495
  }
496
496
  D += G;
@@ -501,7 +501,7 @@ function Vr(e, t = {}) {
501
501
  return s !== "{" && s !== "}" && s !== me && s !== ee;
502
502
  }
503
503
  function ze(s) {
504
- S(s);
504
+ P(s);
505
505
  let o = "", d = "";
506
506
  for (; o = Z(s, Ze); )
507
507
  d += o;
@@ -521,47 +521,47 @@ function Vr(e, t = {}) {
521
521
  return o("");
522
522
  }
523
523
  function V(s) {
524
- S(s);
525
- const o = k(
524
+ P(s);
525
+ const o = M(
526
526
  s,
527
527
  "|"
528
528
  /* TokenChars.Pipe */
529
529
  );
530
- return S(s), o;
530
+ return P(s), o;
531
531
  }
532
532
  function tt(s, o) {
533
533
  let d = null;
534
534
  switch (s.currentChar()) {
535
535
  case "{":
536
- return o.braceNest >= 1 && I(y.NOT_ALLOW_NEST_PLACEHOLDER, a(), 0), s.next(), d = T(
536
+ return o.braceNest >= 1 && g(k.NOT_ALLOW_NEST_PLACEHOLDER, a(), 0), s.next(), d = T(
537
537
  o,
538
538
  2,
539
539
  "{"
540
540
  /* TokenChars.BraceLeft */
541
- ), S(s), o.braceNest++, d;
541
+ ), P(s), o.braceNest++, d;
542
542
  case "}":
543
- return o.braceNest > 0 && o.currentType === 2 && I(y.EMPTY_PLACEHOLDER, a(), 0), s.next(), d = T(
543
+ return o.braceNest > 0 && o.currentType === 2 && g(k.EMPTY_PLACEHOLDER, a(), 0), s.next(), d = T(
544
544
  o,
545
545
  3,
546
546
  "}"
547
547
  /* TokenChars.BraceRight */
548
- ), o.braceNest--, o.braceNest > 0 && S(s), o.inLinked && o.braceNest === 0 && (o.inLinked = !1), d;
548
+ ), o.braceNest--, o.braceNest > 0 && P(s), o.inLinked && o.braceNest === 0 && (o.inLinked = !1), d;
549
549
  case "@":
550
- return o.braceNest > 0 && I(y.UNTERMINATED_CLOSING_BRACE, a(), 0), d = Ae(s, o) || h(o), o.braceNest = 0, d;
550
+ return o.braceNest > 0 && g(k.UNTERMINATED_CLOSING_BRACE, a(), 0), d = Ae(s, o) || C(o), o.braceNest = 0, d;
551
551
  default: {
552
552
  let B = !0, G = !0, $ = !0;
553
553
  if (K(s))
554
- return o.braceNest > 0 && I(y.UNTERMINATED_CLOSING_BRACE, a(), 0), d = T(o, 1, V(s)), o.braceNest = 0, o.inLinked = !1, d;
554
+ return o.braceNest > 0 && g(k.UNTERMINATED_CLOSING_BRACE, a(), 0), d = T(o, 1, V(s)), o.braceNest = 0, o.inLinked = !1, d;
555
555
  if (o.braceNest > 0 && (o.currentType === 5 || o.currentType === 6 || o.currentType === 7))
556
- return I(y.UNTERMINATED_CLOSING_BRACE, a(), 0), o.braceNest = 0, nt(s, o);
556
+ return g(k.UNTERMINATED_CLOSING_BRACE, a(), 0), o.braceNest = 0, nt(s, o);
557
557
  if (B = f(s, o))
558
- return d = T(o, 5, je(s)), S(s), d;
558
+ return d = T(o, 5, je(s)), P(s), d;
559
559
  if (G = m(s, o))
560
- return d = T(o, 6, Je(s)), S(s), d;
561
- if ($ = p(s, o))
562
- return d = T(o, 7, it(s)), S(s), d;
560
+ return d = T(o, 6, Je(s)), P(s), d;
561
+ if ($ = L(s, o))
562
+ return d = T(o, 7, it(s)), P(s), d;
563
563
  if (!B && !G && !$)
564
- return d = T(o, 13, ze(s)), I(y.INVALID_TOKEN_IN_PLACEHOLDER, a(), 0, d.value), S(s), d;
564
+ return d = T(o, 13, ze(s)), g(k.INVALID_TOKEN_IN_PLACEHOLDER, a(), 0, d.value), P(s), d;
565
565
  break;
566
566
  }
567
567
  }
@@ -571,7 +571,7 @@ function Vr(e, t = {}) {
571
571
  const { currentType: d } = o;
572
572
  let D = null;
573
573
  const B = s.currentChar();
574
- switch ((d === 8 || d === 9 || d === 12 || d === 10) && (B === ee || B === me) && I(y.INVALID_LINKED_FORMAT, a(), 0), B) {
574
+ switch ((d === 8 || d === 9 || d === 12 || d === 10) && (B === ee || B === me) && g(k.INVALID_LINKED_FORMAT, a(), 0), B) {
575
575
  case "@":
576
576
  return s.next(), D = T(
577
577
  o,
@@ -580,21 +580,21 @@ function Vr(e, t = {}) {
580
580
  /* TokenChars.LinkedAlias */
581
581
  ), o.inLinked = !0, D;
582
582
  case ".":
583
- return S(s), s.next(), T(
583
+ return P(s), s.next(), T(
584
584
  o,
585
585
  9,
586
586
  "."
587
587
  /* TokenChars.LinkedDot */
588
588
  );
589
589
  case ":":
590
- return S(s), s.next(), T(
590
+ return P(s), s.next(), T(
591
591
  o,
592
592
  10,
593
593
  ":"
594
594
  /* TokenChars.LinkedDelimiter */
595
595
  );
596
596
  default:
597
- return K(s) ? (D = T(o, 1, V(s)), o.braceNest = 0, o.inLinked = !1, D) : N(s, o) || b(s, o) ? (S(s), Ae(s, o)) : g(s, o) ? (S(s), T(o, 12, et(s))) : A(s, o) ? (S(s), B === "{" ? tt(s, o) || D : T(o, 11, v(s))) : (d === 8 && I(y.INVALID_LINKED_FORMAT, a(), 0), o.braceNest = 0, o.inLinked = !1, nt(s, o));
597
+ return K(s) ? (D = T(o, 1, V(s)), o.braceNest = 0, o.inLinked = !1, D) : N(s, o) || b(s, o) ? (P(s), Ae(s, o)) : I(s, o) ? (P(s), T(o, 12, et(s))) : A(s, o) ? (P(s), B === "{" ? tt(s, o) || D : T(o, 11, v(s))) : (d === 8 && g(k.INVALID_LINKED_FORMAT, a(), 0), o.braceNest = 0, o.inLinked = !1, nt(s, o));
598
598
  }
599
599
  }
600
600
  function nt(s, o) {
@@ -603,21 +603,21 @@ function Vr(e, t = {}) {
603
603
  /* TokenTypes.EOF */
604
604
  };
605
605
  if (o.braceNest > 0)
606
- return tt(s, o) || h(o);
606
+ return tt(s, o) || C(o);
607
607
  if (o.inLinked)
608
- return Ae(s, o) || h(o);
608
+ return Ae(s, o) || C(o);
609
609
  switch (s.currentChar()) {
610
610
  case "{":
611
- return tt(s, o) || h(o);
611
+ return tt(s, o) || C(o);
612
612
  case "}":
613
- return I(y.UNBALANCED_CLOSING_BRACE, a(), 0), s.next(), T(
613
+ return g(k.UNBALANCED_CLOSING_BRACE, a(), 0), s.next(), T(
614
614
  o,
615
615
  3,
616
616
  "}"
617
617
  /* TokenChars.BraceRight */
618
618
  );
619
619
  case "@":
620
- return Ae(s, o) || h(o);
620
+ return Ae(s, o) || C(o);
621
621
  default: {
622
622
  if (K(s))
623
623
  return d = T(o, 1, V(s)), o.braceNest = 0, o.inLinked = !1, d;
@@ -632,12 +632,12 @@ function Vr(e, t = {}) {
632
632
  return d;
633
633
  }
634
634
  function vt() {
635
- const { currentType: s, offset: o, startLoc: d, endLoc: D } = u;
636
- return u.lastType = s, u.lastOffset = o, u.lastStartLoc = d, u.lastEndLoc = D, u.offset = l(), u.startLoc = a(), r.currentChar() === Le ? T(
637
- u,
635
+ const { currentType: s, offset: o, startLoc: d, endLoc: D } = c;
636
+ return c.lastType = s, c.lastOffset = o, c.lastStartLoc = d, c.lastEndLoc = D, c.offset = l(), c.startLoc = a(), r.currentChar() === Le ? T(
637
+ c,
638
638
  14
639
639
  /* TokenTypes.EOF */
640
- ) : nt(r, u);
640
+ ) : nt(r, c);
641
641
  }
642
642
  return {
643
643
  nextToken: vt,
@@ -661,142 +661,142 @@ function Yr(e, t, n) {
661
661
  }
662
662
  function Gr(e = {}) {
663
663
  const t = e.location !== !1, { onError: n, onWarn: r } = e;
664
- function l(f, m, p, N, ...g) {
664
+ function l(f, m, L, N, ...I) {
665
665
  const b = f.currentPosition();
666
666
  if (b.offset += N, b.column += N, n) {
667
- const A = t ? mt(p, b) : null, K = $e(m, A, {
667
+ const A = t ? mt(L, b) : null, K = $e(m, A, {
668
668
  domain: Wr,
669
- args: g
669
+ args: I
670
670
  });
671
671
  n(K);
672
672
  }
673
673
  }
674
- function a(f, m, p, N, ...g) {
674
+ function a(f, m, L, N, ...I) {
675
675
  const b = f.currentPosition();
676
676
  if (b.offset += N, b.column += N, r) {
677
- const A = t ? mt(p, b) : null;
678
- r(hr(m, A, g));
677
+ const A = t ? mt(L, b) : null;
678
+ r(hr(m, A, I));
679
679
  }
680
680
  }
681
- function i(f, m, p) {
681
+ function i(f, m, L) {
682
682
  const N = { type: f };
683
- return t && (N.start = m, N.end = m, N.loc = { start: p, end: p }), N;
683
+ return t && (N.start = m, N.end = m, N.loc = { start: L, end: L }), N;
684
684
  }
685
- function c(f, m, p, N) {
686
- t && (f.end = m, f.loc && (f.loc.end = p));
685
+ function u(f, m, L, N) {
686
+ t && (f.end = m, f.loc && (f.loc.end = L));
687
687
  }
688
- function u(f, m) {
689
- const p = f.context(), N = i(3, p.offset, p.startLoc);
690
- return N.value = m, c(N, f.currentOffset(), f.currentPosition()), N;
688
+ function c(f, m) {
689
+ const L = f.context(), N = i(3, L.offset, L.startLoc);
690
+ return N.value = m, u(N, f.currentOffset(), f.currentPosition()), N;
691
691
  }
692
692
  function E(f, m) {
693
- const p = f.context(), { lastOffset: N, lastStartLoc: g } = p, b = i(5, N, g);
694
- return b.index = parseInt(m, 10), f.nextToken(), c(b, f.currentOffset(), f.currentPosition()), b;
693
+ const L = f.context(), { lastOffset: N, lastStartLoc: I } = L, b = i(5, N, I);
694
+ return b.index = parseInt(m, 10), f.nextToken(), u(b, f.currentOffset(), f.currentPosition()), b;
695
695
  }
696
- function L(f, m, p) {
697
- const N = f.context(), { lastOffset: g, lastStartLoc: b } = N, A = i(4, g, b);
698
- return A.key = m, p === !0 && (A.modulo = !0), f.nextToken(), c(A, f.currentOffset(), f.currentPosition()), A;
696
+ function p(f, m, L) {
697
+ const N = f.context(), { lastOffset: I, lastStartLoc: b } = N, A = i(4, I, b);
698
+ return A.key = m, L === !0 && (A.modulo = !0), f.nextToken(), u(A, f.currentOffset(), f.currentPosition()), A;
699
699
  }
700
- function I(f, m) {
701
- const p = f.context(), { lastOffset: N, lastStartLoc: g } = p, b = i(9, N, g);
702
- return b.value = m.replace($r, Yr), f.nextToken(), c(b, f.currentOffset(), f.currentPosition()), b;
700
+ function g(f, m) {
701
+ const L = f.context(), { lastOffset: N, lastStartLoc: I } = L, b = i(9, N, I);
702
+ return b.value = m.replace($r, Yr), f.nextToken(), u(b, f.currentOffset(), f.currentPosition()), b;
703
703
  }
704
704
  function T(f) {
705
- const m = f.nextToken(), p = f.context(), { lastOffset: N, lastStartLoc: g } = p, b = i(8, N, g);
706
- return m.type !== 12 ? (l(f, y.UNEXPECTED_EMPTY_LINKED_MODIFIER, p.lastStartLoc, 0), b.value = "", c(b, N, g), {
705
+ const m = f.nextToken(), L = f.context(), { lastOffset: N, lastStartLoc: I } = L, b = i(8, N, I);
706
+ return m.type !== 12 ? (l(f, k.UNEXPECTED_EMPTY_LINKED_MODIFIER, L.lastStartLoc, 0), b.value = "", u(b, N, I), {
707
707
  nextConsumeToken: m,
708
708
  node: b
709
- }) : (m.value == null && l(f, y.UNEXPECTED_LEXICAL_ANALYSIS, p.lastStartLoc, 0, ie(m)), b.value = m.value || "", c(b, f.currentOffset(), f.currentPosition()), {
709
+ }) : (m.value == null && l(f, k.UNEXPECTED_LEXICAL_ANALYSIS, L.lastStartLoc, 0, ie(m)), b.value = m.value || "", u(b, f.currentOffset(), f.currentPosition()), {
710
710
  node: b
711
711
  });
712
712
  }
713
- function h(f, m) {
714
- const p = f.context(), N = i(7, p.offset, p.startLoc);
715
- return N.value = m, c(N, f.currentOffset(), f.currentPosition()), N;
713
+ function C(f, m) {
714
+ const L = f.context(), N = i(7, L.offset, L.startLoc);
715
+ return N.value = m, u(N, f.currentOffset(), f.currentPosition()), N;
716
716
  }
717
- function k(f) {
718
- const m = f.context(), p = i(6, m.offset, m.startLoc);
717
+ function M(f) {
718
+ const m = f.context(), L = i(6, m.offset, m.startLoc);
719
719
  let N = f.nextToken();
720
720
  if (N.type === 9) {
721
- const g = T(f);
722
- p.modifier = g.node, N = g.nextConsumeToken || f.nextToken();
721
+ const I = T(f);
722
+ L.modifier = I.node, N = I.nextConsumeToken || f.nextToken();
723
723
  }
724
- switch (N.type !== 10 && l(f, y.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ie(N)), N = f.nextToken(), N.type === 2 && (N = f.nextToken()), N.type) {
724
+ switch (N.type !== 10 && l(f, k.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ie(N)), N = f.nextToken(), N.type === 2 && (N = f.nextToken()), N.type) {
725
725
  case 11:
726
- N.value == null && l(f, y.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ie(N)), p.key = h(f, N.value || "");
726
+ N.value == null && l(f, k.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ie(N)), L.key = C(f, N.value || "");
727
727
  break;
728
728
  case 5:
729
- N.value == null && l(f, y.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ie(N)), p.key = L(f, N.value || "");
729
+ N.value == null && l(f, k.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ie(N)), L.key = p(f, N.value || "");
730
730
  break;
731
731
  case 6:
732
- N.value == null && l(f, y.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ie(N)), p.key = E(f, N.value || "");
732
+ N.value == null && l(f, k.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ie(N)), L.key = E(f, N.value || "");
733
733
  break;
734
734
  case 7:
735
- N.value == null && l(f, y.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ie(N)), p.key = I(f, N.value || "");
735
+ N.value == null && l(f, k.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ie(N)), L.key = g(f, N.value || "");
736
736
  break;
737
737
  default: {
738
- l(f, y.UNEXPECTED_EMPTY_LINKED_KEY, m.lastStartLoc, 0);
739
- const g = f.context(), b = i(7, g.offset, g.startLoc);
740
- return b.value = "", c(b, g.offset, g.startLoc), p.key = b, c(p, g.offset, g.startLoc), {
738
+ l(f, k.UNEXPECTED_EMPTY_LINKED_KEY, m.lastStartLoc, 0);
739
+ const I = f.context(), b = i(7, I.offset, I.startLoc);
740
+ return b.value = "", u(b, I.offset, I.startLoc), L.key = b, u(L, I.offset, I.startLoc), {
741
741
  nextConsumeToken: N,
742
- node: p
742
+ node: L
743
743
  };
744
744
  }
745
745
  }
746
- return c(p, f.currentOffset(), f.currentPosition()), {
747
- node: p
746
+ return u(L, f.currentOffset(), f.currentPosition()), {
747
+ node: L
748
748
  };
749
749
  }
750
- function P(f) {
751
- const m = f.context(), p = m.currentType === 1 ? f.currentOffset() : m.offset, N = m.currentType === 1 ? m.endLoc : m.startLoc, g = i(2, p, N);
752
- g.items = [];
750
+ function S(f) {
751
+ const m = f.context(), L = m.currentType === 1 ? f.currentOffset() : m.offset, N = m.currentType === 1 ? m.endLoc : m.startLoc, I = i(2, L, N);
752
+ I.items = [];
753
753
  let b = null, A = null;
754
754
  do {
755
755
  const U = b || f.nextToken();
756
756
  switch (b = null, U.type) {
757
757
  case 0:
758
- U.value == null && l(f, y.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ie(U)), g.items.push(u(f, U.value || ""));
758
+ U.value == null && l(f, k.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ie(U)), I.items.push(c(f, U.value || ""));
759
759
  break;
760
760
  case 6:
761
- U.value == null && l(f, y.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ie(U)), g.items.push(E(f, U.value || ""));
761
+ U.value == null && l(f, k.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ie(U)), I.items.push(E(f, U.value || ""));
762
762
  break;
763
763
  case 4:
764
764
  A = !0;
765
765
  break;
766
766
  case 5:
767
- U.value == null && l(f, y.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ie(U)), g.items.push(L(f, U.value || "", !!A)), A && (a(f, pt.USE_MODULO_SYNTAX, m.lastStartLoc, 0, ie(U)), A = null);
767
+ U.value == null && l(f, k.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ie(U)), I.items.push(p(f, U.value || "", !!A)), A && (a(f, pt.USE_MODULO_SYNTAX, m.lastStartLoc, 0, ie(U)), A = null);
768
768
  break;
769
769
  case 7:
770
- U.value == null && l(f, y.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ie(U)), g.items.push(I(f, U.value || ""));
770
+ U.value == null && l(f, k.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ie(U)), I.items.push(g(f, U.value || ""));
771
771
  break;
772
772
  case 8: {
773
- const Z = k(f);
774
- g.items.push(Z.node), b = Z.nextConsumeToken || null;
773
+ const Z = M(f);
774
+ I.items.push(Z.node), b = Z.nextConsumeToken || null;
775
775
  break;
776
776
  }
777
777
  }
778
778
  } while (m.currentType !== 14 && m.currentType !== 1);
779
779
  const K = m.currentType === 1 ? m.lastOffset : f.currentOffset(), ae = m.currentType === 1 ? m.lastEndLoc : f.currentPosition();
780
- return c(g, K, ae), g;
780
+ return u(I, K, ae), I;
781
781
  }
782
- function S(f, m, p, N) {
783
- const g = f.context();
782
+ function P(f, m, L, N) {
783
+ const I = f.context();
784
784
  let b = N.items.length === 0;
785
- const A = i(1, m, p);
785
+ const A = i(1, m, L);
786
786
  A.cases = [], A.cases.push(N);
787
787
  do {
788
- const K = P(f);
788
+ const K = S(f);
789
789
  b || (b = K.items.length === 0), A.cases.push(K);
790
- } while (g.currentType !== 14);
791
- return b && l(f, y.MUST_HAVE_MESSAGES_IN_PLURAL, p, 0), c(A, f.currentOffset(), f.currentPosition()), A;
790
+ } while (I.currentType !== 14);
791
+ return b && l(f, k.MUST_HAVE_MESSAGES_IN_PLURAL, L, 0), u(A, f.currentOffset(), f.currentPosition()), A;
792
792
  }
793
- function M(f) {
794
- const m = f.context(), { offset: p, startLoc: N } = m, g = P(f);
795
- return m.currentType === 14 ? g : S(f, p, N, g);
793
+ function y(f) {
794
+ const m = f.context(), { offset: L, startLoc: N } = m, I = S(f);
795
+ return m.currentType === 14 ? I : P(f, L, N, I);
796
796
  }
797
797
  function R(f) {
798
- const m = Vr(f, kn({}, e)), p = m.context(), N = i(0, p.offset, p.startLoc);
799
- return t && N.loc && (N.loc.source = f), N.body = M(m), e.onCacheKey && (N.cacheKey = e.onCacheKey(f)), p.currentType !== 14 && l(m, y.UNEXPECTED_LEXICAL_ANALYSIS, p.lastStartLoc, 0, f[p.offset] || ""), c(N, m.currentOffset(), m.currentPosition()), N;
798
+ const m = Vr(f, kn({}, e)), L = m.context(), N = i(0, L.offset, L.startLoc);
799
+ return t && N.loc && (N.loc.source = f), N.body = y(m), e.onCacheKey && (N.cacheKey = e.onCacheKey(f)), L.currentType !== 14 && l(m, k.UNEXPECTED_LEXICAL_ANALYSIS, L.lastStartLoc, 0, f[L.offset] || ""), u(N, m.currentOffset(), m.currentPosition()), N;
800
800
  }
801
801
  return { parse: R };
802
802
  }
@@ -938,7 +938,7 @@ function Ue(e) {
938
938
  break;
939
939
  }
940
940
  default:
941
- throw $e(y.UNHANDLED_MINIFIER_NODE_TYPE, null, {
941
+ throw $e(k.UNHANDLED_MINIFIER_NODE_TYPE, null, {
942
942
  domain: Br,
943
943
  args: [e.type]
944
944
  });
@@ -947,45 +947,45 @@ function Ue(e) {
947
947
  }
948
948
  const Xr = "parser";
949
949
  function jr(e, t) {
950
- const { filename: n, breakLineCode: r, needIndent: l } = t, a = t.location !== !1, i = {
951
- filename: n,
950
+ const { sourceMap: n, filename: r, breakLineCode: l, needIndent: a } = t, i = t.location !== !1, u = {
951
+ filename: r,
952
952
  code: "",
953
953
  column: 1,
954
954
  line: 1,
955
955
  offset: 0,
956
956
  map: void 0,
957
- breakLineCode: r,
958
- needIndent: l,
957
+ breakLineCode: l,
958
+ needIndent: a,
959
959
  indentLevel: 0
960
960
  };
961
- a && e.loc && (i.source = e.loc.source);
962
- const c = () => i;
963
- function u(P, S) {
964
- i.code += P;
961
+ i && e.loc && (u.source = e.loc.source);
962
+ const c = () => u;
963
+ function E(P, y) {
964
+ u.code += P;
965
965
  }
966
- function E(P, S = !0) {
967
- const M = S ? r : "";
968
- u(l ? M + " ".repeat(P) : M);
966
+ function p(P, y = !0) {
967
+ const R = y ? l : "";
968
+ E(a ? R + " ".repeat(P) : R);
969
969
  }
970
- function L(P = !0) {
971
- const S = ++i.indentLevel;
972
- P && E(S);
970
+ function g(P = !0) {
971
+ const y = ++u.indentLevel;
972
+ P && p(y);
973
973
  }
974
- function I(P = !0) {
975
- const S = --i.indentLevel;
976
- P && E(S);
974
+ function T(P = !0) {
975
+ const y = --u.indentLevel;
976
+ P && p(y);
977
977
  }
978
- function T() {
979
- E(i.indentLevel);
978
+ function C() {
979
+ p(u.indentLevel);
980
980
  }
981
981
  return {
982
982
  context: c,
983
- push: u,
984
- indent: L,
985
- deindent: I,
986
- newline: T,
983
+ push: E,
984
+ indent: g,
985
+ deindent: T,
986
+ newline: C,
987
987
  helper: (P) => `_${P}`,
988
- needIndent: () => i.needIndent
988
+ needIndent: () => u.needIndent
989
989
  };
990
990
  }
991
991
  function Jr(e, t) {
@@ -1068,33 +1068,33 @@ function We(e, t) {
1068
1068
  e.push(JSON.stringify(t.value), t);
1069
1069
  break;
1070
1070
  default:
1071
- throw $e(y.UNHANDLED_CODEGEN_NODE_TYPE, null, {
1071
+ throw $e(k.UNHANDLED_CODEGEN_NODE_TYPE, null, {
1072
1072
  domain: Xr,
1073
1073
  args: [t.type]
1074
1074
  });
1075
1075
  }
1076
1076
  }
1077
1077
  const zr = (e, t = {}) => {
1078
- const n = Zt(t.mode) ? t.mode : "normal", r = Zt(t.filename) ? t.filename : "message.intl";
1079
- t.sourceMap;
1080
- const l = t.breakLineCode != null ? t.breakLineCode : n === "arrow" ? ";" : `
1081
- `, a = t.needIndent ? t.needIndent : n !== "arrow", i = e.helpers || [], c = jr(e, {
1078
+ const n = Zt(t.mode) ? t.mode : "normal", r = Zt(t.filename) ? t.filename : "message.intl", l = !!t.sourceMap, a = t.breakLineCode != null ? t.breakLineCode : n === "arrow" ? ";" : `
1079
+ `, i = t.needIndent ? t.needIndent : n !== "arrow", u = e.helpers || [], c = jr(e, {
1080
+ mode: n,
1082
1081
  filename: r,
1083
- breakLineCode: l,
1084
- needIndent: a
1082
+ sourceMap: l,
1083
+ breakLineCode: a,
1084
+ needIndent: i
1085
1085
  });
1086
- c.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), c.indent(a), i.length > 0 && (c.push(`const { ${Mn(i.map((L) => `${L}: _${L}`), ", ")} } = ctx`), c.newline()), c.push("return "), We(c, e), c.deindent(a), c.push("}"), delete e.helpers;
1087
- const { code: u, map: E } = c.context();
1086
+ c.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), c.indent(i), u.length > 0 && (c.push(`const { ${Mn(u.map((g) => `${g}: _${g}`), ", ")} } = ctx`), c.newline()), c.push("return "), We(c, e), c.deindent(i), c.push("}"), delete e.helpers;
1087
+ const { code: E, map: p } = c.context();
1088
1088
  return {
1089
1089
  ast: e,
1090
- code: u,
1091
- map: E ? E.toJSON() : void 0
1090
+ code: E,
1091
+ map: p ? p.toJSON() : void 0
1092
1092
  // eslint-disable-line @typescript-eslint/no-explicit-any
1093
1093
  };
1094
1094
  };
1095
1095
  function ea(e, t = {}) {
1096
- const n = kn({}, t), r = !!n.jit, l = !!n.minify, a = n.optimize == null ? !0 : n.optimize, c = Gr(n).parse(e);
1097
- return r ? (a && Kr(c), l && Ue(c), { ast: c, code: "" }) : (xr(c, n), zr(c, n));
1096
+ const n = kn({}, t), r = !!n.jit, l = !!n.minify, a = n.optimize == null ? !0 : n.optimize, u = Gr(n).parse(e);
1097
+ return r ? (a && Kr(u), l && Ue(u), { ast: u, code: "" }) : (xr(u, n), zr(u, n));
1098
1098
  }
1099
1099
  /*!
1100
1100
  * core-base v9.14.3
@@ -1304,13 +1304,13 @@ function sa(e) {
1304
1304
  }
1305
1305
  function oa(e) {
1306
1306
  const t = [];
1307
- let n = -1, r = 0, l = 0, a, i, c, u, E, L, I;
1307
+ let n = -1, r = 0, l = 0, a, i, u, c, E, p, g;
1308
1308
  const T = [];
1309
1309
  T[
1310
1310
  0
1311
1311
  /* Actions.APPEND */
1312
1312
  ] = () => {
1313
- i === void 0 ? i = c : i += c;
1313
+ i === void 0 ? i = u : i += u;
1314
1314
  }, T[
1315
1315
  1
1316
1316
  /* Actions.PUSH */
@@ -1342,17 +1342,17 @@ function oa(e) {
1342
1342
  ]();
1343
1343
  }
1344
1344
  };
1345
- function h() {
1346
- const k = e[n + 1];
1347
- if (r === 5 && k === "'" || r === 6 && k === '"')
1348
- return n++, c = "\\" + k, T[
1345
+ function C() {
1346
+ const M = e[n + 1];
1347
+ if (r === 5 && M === "'" || r === 6 && M === '"')
1348
+ return n++, u = "\\" + M, T[
1349
1349
  0
1350
1350
  /* Actions.APPEND */
1351
1351
  ](), !0;
1352
1352
  }
1353
1353
  for (; r !== null; )
1354
- if (n++, a = e[n], !(a === "\\" && h())) {
1355
- if (u = la(a), I = Ie[r], E = I[u] || I.l || 8, E === 8 || (r = E[0], E[1] !== void 0 && (L = T[E[1]], L && (c = a, L() === !1))))
1354
+ if (n++, a = e[n], !(a === "\\" && C())) {
1355
+ if (c = la(a), g = Ie[r], E = g[c] || g.l || 8, E === 8 || (r = E[0], E[1] !== void 0 && (p = T[E[1]], p && (u = a, p() === !1))))
1356
1356
  return;
1357
1357
  if (r === 7)
1358
1358
  return t;
@@ -1390,34 +1390,34 @@ function Na(e, t) {
1390
1390
  t.count || (t.count = e), t.n || (t.n = e);
1391
1391
  }
1392
1392
  function Ta(e = {}) {
1393
- const t = e.locale, n = da(e), r = w(e.pluralRules) && C(t) && x(e.pluralRules[t]) ? e.pluralRules[t] : rn, l = w(e.pluralRules) && C(t) && x(e.pluralRules[t]) ? rn : void 0, a = (M) => M[r(n, M.length, l)], i = e.list || [], c = (M) => i[M], u = e.named || Y();
1394
- q(e.pluralIndex) && Na(n, u);
1395
- const E = (M) => u[M];
1396
- function L(M) {
1397
- const R = x(e.messages) ? e.messages(M) : w(e.messages) ? e.messages[M] : !1;
1398
- return R || (e.parent ? e.parent.message(M) : fa);
1399
- }
1400
- const I = (M) => e.modifiers ? e.modifiers[M] : ua, T = F(e.processor) && x(e.processor.normalize) ? e.processor.normalize : ma, h = F(e.processor) && x(e.processor.interpolate) ? e.processor.interpolate : Ea, k = F(e.processor) && C(e.processor.type) ? e.processor.type : _a, S = {
1401
- list: c,
1393
+ const t = e.locale, n = da(e), r = w(e.pluralRules) && h(t) && x(e.pluralRules[t]) ? e.pluralRules[t] : rn, l = w(e.pluralRules) && h(t) && x(e.pluralRules[t]) ? rn : void 0, a = (y) => y[r(n, y.length, l)], i = e.list || [], u = (y) => i[y], c = e.named || Y();
1394
+ q(e.pluralIndex) && Na(n, c);
1395
+ const E = (y) => c[y];
1396
+ function p(y) {
1397
+ const R = x(e.messages) ? e.messages(y) : w(e.messages) ? e.messages[y] : !1;
1398
+ return R || (e.parent ? e.parent.message(y) : fa);
1399
+ }
1400
+ const g = (y) => e.modifiers ? e.modifiers[y] : ua, T = F(e.processor) && x(e.processor.normalize) ? e.processor.normalize : ma, C = F(e.processor) && x(e.processor.interpolate) ? e.processor.interpolate : Ea, M = F(e.processor) && h(e.processor.type) ? e.processor.type : _a, P = {
1401
+ list: u,
1402
1402
  named: E,
1403
1403
  plural: a,
1404
- linked: (M, ...R) => {
1404
+ linked: (y, ...R) => {
1405
1405
  const [f, m] = R;
1406
- let p = "text", N = "";
1407
- R.length === 1 ? w(f) ? (N = f.modifier || N, p = f.type || p) : C(f) && (N = f || N) : R.length === 2 && (C(f) && (N = f || N), C(m) && (p = m || p));
1408
- const g = L(M)(S), b = (
1406
+ let L = "text", N = "";
1407
+ R.length === 1 ? w(f) ? (N = f.modifier || N, L = f.type || L) : h(f) && (N = f || N) : R.length === 2 && (h(f) && (N = f || N), h(m) && (L = m || L));
1408
+ const I = p(y)(P), b = (
1409
1409
  // The message in vnode resolved with linked are returned as an array by processor.nomalize
1410
- p === "vnode" && J(g) && N ? g[0] : g
1410
+ L === "vnode" && J(I) && N ? I[0] : I
1411
1411
  );
1412
- return N ? I(N)(b, p) : b;
1412
+ return N ? g(N)(b, L) : b;
1413
1413
  },
1414
- message: L,
1415
- type: k,
1416
- interpolate: h,
1414
+ message: p,
1415
+ type: M,
1416
+ interpolate: C,
1417
1417
  normalize: T,
1418
- values: z(Y(), i, u)
1418
+ values: z(Y(), i, c)
1419
1419
  };
1420
- return S;
1420
+ return P;
1421
1421
  }
1422
1422
  let at = null;
1423
1423
  function Oa(e) {
@@ -1467,7 +1467,7 @@ const Fn = pt.__EXTEND_POINT__, Ce = Ot(Fn), te = {
1467
1467
  function Se(e, ...t) {
1468
1468
  return Wt(Ia[e], ...t);
1469
1469
  }
1470
- const Un = y.__EXTEND_POINT__, he = Ot(Un), Q = {
1470
+ const Un = k.__EXTEND_POINT__, he = Ot(Un), Q = {
1471
1471
  INVALID_ARGUMENT: Un,
1472
1472
  // 17
1473
1473
  INVALID_DATE_ARGUMENT: he(),
@@ -1502,7 +1502,7 @@ function Yt(e, t) {
1502
1502
  }
1503
1503
  let At;
1504
1504
  function an(e) {
1505
- if (C(e))
1505
+ if (h(e))
1506
1506
  return e;
1507
1507
  if (x(e)) {
1508
1508
  if (e.resolvedOnce && At != null)
@@ -1520,11 +1520,11 @@ function an(e) {
1520
1520
  function Aa(e, t, n) {
1521
1521
  return [.../* @__PURE__ */ new Set([
1522
1522
  n,
1523
- ...J(t) ? t : w(t) ? Object.keys(t) : C(t) ? [t] : [n]
1523
+ ...J(t) ? t : w(t) ? Object.keys(t) : h(t) ? [t] : [n]
1524
1524
  ])];
1525
1525
  }
1526
1526
  function wn(e, t, n) {
1527
- const r = C(n) ? n : lt, l = e;
1527
+ const r = h(n) ? n : lt, l = e;
1528
1528
  l.__localeChainCache || (l.__localeChainCache = /* @__PURE__ */ new Map());
1529
1529
  let a = l.__localeChainCache.get(r);
1530
1530
  if (!a) {
@@ -1532,8 +1532,8 @@ function wn(e, t, n) {
1532
1532
  let i = [n];
1533
1533
  for (; J(i); )
1534
1534
  i = ln(a, i, t);
1535
- const c = J(t) || !F(t) ? t : t.default ? t.default : null;
1536
- i = C(c) ? [c] : c, J(i) && ln(a, i, !1), l.__localeChainCache.set(r, a);
1535
+ const u = J(t) || !F(t) ? t : t.default ? t.default : null;
1536
+ i = h(u) ? [u] : u, J(i) && ln(a, i, !1), l.__localeChainCache.set(r, a);
1537
1537
  }
1538
1538
  return a;
1539
1539
  }
@@ -1541,7 +1541,7 @@ function ln(e, t, n) {
1541
1541
  let r = !0;
1542
1542
  for (let l = 0; l < t.length && H(r); l++) {
1543
1543
  const a = t[l];
1544
- C(a) && (r = ba(e, t[l], n));
1544
+ h(a) && (r = ba(e, t[l], n));
1545
1545
  }
1546
1546
  return r;
1547
1547
  }
@@ -1566,9 +1566,9 @@ function Ca(e, t, n) {
1566
1566
  const ha = "9.14.3", Lt = -1, lt = "en-US", Et = "", sn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
1567
1567
  function Pa() {
1568
1568
  return {
1569
- upper: (e, t) => t === "text" && C(e) ? e.toUpperCase() : t === "vnode" && w(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
1570
- lower: (e, t) => t === "text" && C(e) ? e.toLowerCase() : t === "vnode" && w(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
1571
- capitalize: (e, t) => t === "text" && C(e) ? sn(e) : t === "vnode" && w(e) && "__v_isVNode" in e ? sn(e.children) : e
1569
+ upper: (e, t) => t === "text" && h(e) ? e.toUpperCase() : t === "vnode" && w(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
1570
+ lower: (e, t) => t === "text" && h(e) ? e.toLowerCase() : t === "vnode" && w(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
1571
+ capitalize: (e, t) => t === "text" && h(e) ? sn(e) : t === "vnode" && w(e) && "__v_isVNode" in e ? sn(e.children) : e
1572
1572
  };
1573
1573
  }
1574
1574
  let Vn;
@@ -1593,9 +1593,9 @@ const cn = (e) => {
1593
1593
  }, ka = () => Gn;
1594
1594
  let un = 0;
1595
1595
  function Ma(e = {}) {
1596
- const t = x(e.onWarn) ? e.onWarn : Oe, n = C(e.version) ? e.version : ha, r = C(e.locale) || x(e.locale) ? e.locale : lt, l = x(r) ? lt : r, a = J(e.fallbackLocale) || F(e.fallbackLocale) || C(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l, i = F(e.messages) ? e.messages : bt(l), c = F(e.datetimeFormats) ? e.datetimeFormats : bt(l), u = F(e.numberFormats) ? e.numberFormats : bt(l), E = z(Y(), e.modifiers, Pa()), L = e.pluralRules || Y(), I = x(e.missing) ? e.missing : null, T = H(e.missingWarn) || Ve(e.missingWarn) ? e.missingWarn : !0, h = H(e.fallbackWarn) || Ve(e.fallbackWarn) ? e.fallbackWarn : !0, k = !!e.fallbackFormat, P = !!e.unresolving, S = x(e.postTranslation) ? e.postTranslation : null, M = F(e.processor) ? e.processor : null, R = H(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, f = !!e.escapeParameter, m = x(e.messageCompiler) ? e.messageCompiler : Vn;
1596
+ const t = x(e.onWarn) ? e.onWarn : Oe, n = h(e.version) ? e.version : ha, r = h(e.locale) || x(e.locale) ? e.locale : lt, l = x(r) ? lt : r, a = J(e.fallbackLocale) || F(e.fallbackLocale) || h(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l, i = F(e.messages) ? e.messages : bt(l), u = F(e.datetimeFormats) ? e.datetimeFormats : bt(l), c = F(e.numberFormats) ? e.numberFormats : bt(l), E = z(Y(), e.modifiers, Pa()), p = e.pluralRules || Y(), g = x(e.missing) ? e.missing : null, T = H(e.missingWarn) || Ve(e.missingWarn) ? e.missingWarn : !0, C = H(e.fallbackWarn) || Ve(e.fallbackWarn) ? e.fallbackWarn : !0, M = !!e.fallbackFormat, S = !!e.unresolving, P = x(e.postTranslation) ? e.postTranslation : null, y = F(e.processor) ? e.processor : null, R = H(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, f = !!e.escapeParameter, m = x(e.messageCompiler) ? e.messageCompiler : Vn;
1597
1597
  process.env.NODE_ENV !== "production" && x(e.messageCompiler) && Rn(Se(te.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
1598
- const p = x(e.messageResolver) ? e.messageResolver : Wn || ia, N = x(e.localeFallbacker) ? e.localeFallbacker : $n || Aa, g = w(e.fallbackContext) ? e.fallbackContext : void 0, b = e, A = w(b.__datetimeFormatters) ? b.__datetimeFormatters : /* @__PURE__ */ new Map(), K = w(b.__numberFormatters) ? b.__numberFormatters : /* @__PURE__ */ new Map(), ae = w(b.__meta) ? b.__meta : {};
1598
+ const L = x(e.messageResolver) ? e.messageResolver : Wn || ia, N = x(e.localeFallbacker) ? e.localeFallbacker : $n || Aa, I = w(e.fallbackContext) ? e.fallbackContext : void 0, b = e, A = w(b.__datetimeFormatters) ? b.__datetimeFormatters : /* @__PURE__ */ new Map(), K = w(b.__numberFormatters) ? b.__numberFormatters : /* @__PURE__ */ new Map(), ae = w(b.__meta) ? b.__meta : {};
1599
1599
  un++;
1600
1600
  const U = {
1601
1601
  version: n,
@@ -1604,24 +1604,24 @@ function Ma(e = {}) {
1604
1604
  fallbackLocale: a,
1605
1605
  messages: i,
1606
1606
  modifiers: E,
1607
- pluralRules: L,
1608
- missing: I,
1607
+ pluralRules: p,
1608
+ missing: g,
1609
1609
  missingWarn: T,
1610
- fallbackWarn: h,
1611
- fallbackFormat: k,
1612
- unresolving: P,
1613
- postTranslation: S,
1614
- processor: M,
1610
+ fallbackWarn: C,
1611
+ fallbackFormat: M,
1612
+ unresolving: S,
1613
+ postTranslation: P,
1614
+ processor: y,
1615
1615
  warnHtmlMessage: R,
1616
1616
  escapeParameter: f,
1617
1617
  messageCompiler: m,
1618
- messageResolver: p,
1618
+ messageResolver: L,
1619
1619
  localeFallbacker: N,
1620
- fallbackContext: g,
1620
+ fallbackContext: I,
1621
1621
  onWarn: t,
1622
1622
  __meta: ae
1623
1623
  };
1624
- return U.datetimeFormats = c, U.numberFormats = u, U.__datetimeFormatters = A, U.__numberFormatters = K, process.env.NODE_ENV !== "production" && (U.__v_emitter = b.__v_emitter != null ? b.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && pa(U, n, ae), U;
1624
+ return U.datetimeFormats = u, U.numberFormats = c, U.__datetimeFormatters = A, U.__numberFormatters = K, process.env.NODE_ENV !== "production" && (U.__v_emitter = b.__v_emitter != null ? b.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && pa(U, n, ae), U;
1625
1625
  }
1626
1626
  const bt = (e) => ({ [e]: Y() });
1627
1627
  function gt(e, t) {
@@ -1633,8 +1633,8 @@ function Hn(e, t) {
1633
1633
  function Gt(e, t, n, r, l) {
1634
1634
  const { missing: a, onWarn: i } = e;
1635
1635
  if (process.env.NODE_ENV !== "production") {
1636
- const c = e.__v_emitter;
1637
- c && c.emit("missing", {
1636
+ const u = e.__v_emitter;
1637
+ u && u.emit("missing", {
1638
1638
  locale: n,
1639
1639
  key: t,
1640
1640
  type: l,
@@ -1642,8 +1642,8 @@ function Gt(e, t, n, r, l) {
1642
1642
  });
1643
1643
  }
1644
1644
  if (a !== null) {
1645
- const c = a(e, n, t, l);
1646
- return C(c) ? c : t;
1645
+ const u = a(e, n, t, l);
1646
+ return h(u) ? u : t;
1647
1647
  } else
1648
1648
  return process.env.NODE_ENV !== "production" && Hn(r, t) && i(Se(te.NOT_FOUND_KEY, { key: t, locale: n })), t;
1649
1649
  }
@@ -1675,9 +1675,9 @@ function Ua(e, t) {
1675
1675
  );
1676
1676
  if (Ht(n) === 1) {
1677
1677
  const a = $a(n);
1678
- return e.plural(a.reduce((i, c) => [
1678
+ return e.plural(a.reduce((i, u) => [
1679
1679
  ...i,
1680
- fn(e, c)
1680
+ fn(e, u)
1681
1681
  ], []));
1682
1682
  } else
1683
1683
  return fn(e, n);
@@ -1800,7 +1800,7 @@ function jn(e, t = {}) {
1800
1800
  }, { ...ea(e, t), detectError: n };
1801
1801
  }
1802
1802
  const Za = /* @__NO_SIDE_EFFECTS__ */ (e, t) => {
1803
- if (!C(e))
1803
+ if (!h(e))
1804
1804
  throw _e(Q.NOT_SUPPORT_NON_STRING_MESSAGE);
1805
1805
  process.env.NODE_ENV !== "production" && (t.onWarn = Xn);
1806
1806
  {
@@ -1809,23 +1809,23 @@ const Za = /* @__NO_SIDE_EFFECTS__ */ (e, t) => {
1809
1809
  const l = (t.onCacheKey || Bn)(e), a = we[l];
1810
1810
  if (a)
1811
1811
  return a;
1812
- const { code: i, detectError: c } = jn(e, t), u = new Function(`return ${i}`)();
1813
- return c ? u : we[l] = u;
1812
+ const { code: i, detectError: u } = jn(e, t), c = new Function(`return ${i}`)();
1813
+ return u ? c : we[l] = c;
1814
1814
  }
1815
1815
  };
1816
1816
  function za(e, t) {
1817
- if (process.env.NODE_ENV !== "production" && (t.onWarn = Xn), __INTLIFY_JIT_COMPILATION__ && !__INTLIFY_DROP_MESSAGE_COMPILER__ && C(e)) {
1817
+ if (process.env.NODE_ENV !== "production" && (t.onWarn = Xn), __INTLIFY_JIT_COMPILATION__ && !__INTLIFY_DROP_MESSAGE_COMPILER__ && h(e)) {
1818
1818
  const n = H(t.warnHtmlMessage) ? t.warnHtmlMessage : !0;
1819
1819
  process.env.NODE_ENV !== "production" && Kn(e, n);
1820
1820
  const l = (t.onCacheKey || Bn)(e), a = we[l];
1821
1821
  if (a)
1822
1822
  return a;
1823
- const { ast: i, detectError: c } = jn(e, {
1823
+ const { ast: i, detectError: u } = jn(e, {
1824
1824
  ...t,
1825
1825
  location: process.env.NODE_ENV !== "production",
1826
1826
  jit: !0
1827
- }), u = Ct(i);
1828
- return c ? u : we[l] = u;
1827
+ }), c = Ct(i);
1828
+ return u ? c : we[l] = c;
1829
1829
  } else {
1830
1830
  if (process.env.NODE_ENV !== "production" && !De(e))
1831
1831
  return Oe(`the message that is resolve with key '${t.key}' is not supported for jit compilation`), () => e;
@@ -1839,30 +1839,30 @@ function za(e, t) {
1839
1839
  }
1840
1840
  const _n = () => "", oe = (e) => x(e);
1841
1841
  function mn(e, ...t) {
1842
- const { fallbackFormat: n, postTranslation: r, unresolving: l, messageCompiler: a, fallbackLocale: i, messages: c } = e, [u, E] = St(...t), L = H(E.missingWarn) ? E.missingWarn : e.missingWarn, I = H(E.fallbackWarn) ? E.fallbackWarn : e.fallbackWarn, T = H(E.escapeParameter) ? E.escapeParameter : e.escapeParameter, h = !!E.resolvedMessage, k = C(E.default) || H(E.default) ? H(E.default) ? a ? u : () => u : E.default : n ? a ? u : () => u : "", P = n || k !== "", S = Yt(e, E);
1842
+ const { fallbackFormat: n, postTranslation: r, unresolving: l, messageCompiler: a, fallbackLocale: i, messages: u } = e, [c, E] = St(...t), p = H(E.missingWarn) ? E.missingWarn : e.missingWarn, g = H(E.fallbackWarn) ? E.fallbackWarn : e.fallbackWarn, T = H(E.escapeParameter) ? E.escapeParameter : e.escapeParameter, C = !!E.resolvedMessage, M = h(E.default) || H(E.default) ? H(E.default) ? a ? c : () => c : E.default : n ? a ? c : () => c : "", S = n || M !== "", P = Yt(e, E);
1843
1843
  T && el(E);
1844
- let [M, R, f] = h ? [
1845
- u,
1846
- S,
1847
- c[S] || Y()
1848
- ] : Jn(e, u, S, i, I, L), m = M, p = u;
1849
- if (!h && !(C(m) || De(m) || oe(m)) && P && (m = k, p = m), !h && (!(C(m) || De(m) || oe(m)) || !C(R)))
1850
- return l ? Lt : u;
1851
- if (process.env.NODE_ENV !== "production" && C(m) && e.messageCompiler == null)
1852
- return Oe(`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 '${u}'.`), u;
1844
+ let [y, R, f] = C ? [
1845
+ c,
1846
+ P,
1847
+ u[P] || Y()
1848
+ ] : Jn(e, c, P, i, g, p), m = y, L = c;
1849
+ if (!C && !(h(m) || De(m) || oe(m)) && S && (m = M, L = m), !C && (!(h(m) || De(m) || oe(m)) || !h(R)))
1850
+ return l ? Lt : c;
1851
+ if (process.env.NODE_ENV !== "production" && h(m) && e.messageCompiler == null)
1852
+ return Oe(`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 '${c}'.`), c;
1853
1853
  let N = !1;
1854
- const g = () => {
1854
+ const I = () => {
1855
1855
  N = !0;
1856
- }, b = oe(m) ? m : Qn(e, u, R, m, p, g);
1856
+ }, b = oe(m) ? m : Qn(e, c, R, m, L, I);
1857
1857
  if (N)
1858
1858
  return m;
1859
- const A = al(e, R, f, E), K = Ta(A), ae = tl(e, b, K), U = r ? r(ae, u) : ae;
1859
+ const A = al(e, R, f, E), K = Ta(A), ae = tl(e, b, K), U = r ? r(ae, c) : ae;
1860
1860
  if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
1861
1861
  const Z = {
1862
1862
  timestamp: Date.now(),
1863
- key: C(u) ? u : oe(m) ? m.key : "",
1863
+ key: h(c) ? c : oe(m) ? m.key : "",
1864
1864
  locale: R || (oe(m) ? m.locale : ""),
1865
- format: C(m) ? m : oe(m) ? m.source : "",
1865
+ format: h(m) ? m : oe(m) ? m.source : "",
1866
1866
  message: U
1867
1867
  };
1868
1868
  Z.meta = z({}, e.__meta, /* @__PURE__ */ ya() || {}), La(Z);
@@ -1870,59 +1870,59 @@ function mn(e, ...t) {
1870
1870
  return U;
1871
1871
  }
1872
1872
  function el(e) {
1873
- J(e.list) ? e.list = e.list.map((t) => C(t) ? Jt(t) : t) : w(e.named) && Object.keys(e.named).forEach((t) => {
1874
- C(e.named[t]) && (e.named[t] = Jt(e.named[t]));
1873
+ J(e.list) ? e.list = e.list.map((t) => h(t) ? Jt(t) : t) : w(e.named) && Object.keys(e.named).forEach((t) => {
1874
+ h(e.named[t]) && (e.named[t] = Jt(e.named[t]));
1875
1875
  });
1876
1876
  }
1877
1877
  function Jn(e, t, n, r, l, a) {
1878
- const { messages: i, onWarn: c, messageResolver: u, localeFallbacker: E } = e, L = E(e, r, n);
1879
- let I = Y(), T, h = null, k = n, P = null;
1880
- const S = "translate";
1881
- for (let M = 0; M < L.length; M++) {
1882
- if (T = P = L[M], process.env.NODE_ENV !== "production" && n !== T && !xn(n, T) && gt(l, t) && c(Se(te.FALLBACK_TO_TRANSLATE, {
1878
+ const { messages: i, onWarn: u, messageResolver: c, localeFallbacker: E } = e, p = E(e, r, n);
1879
+ let g = Y(), T, C = null, M = n, S = null;
1880
+ const P = "translate";
1881
+ for (let y = 0; y < p.length; y++) {
1882
+ if (T = S = p[y], process.env.NODE_ENV !== "production" && n !== T && !xn(n, T) && gt(l, t) && u(Se(te.FALLBACK_TO_TRANSLATE, {
1883
1883
  key: t,
1884
1884
  target: T
1885
1885
  })), process.env.NODE_ENV !== "production" && n !== T) {
1886
- const p = e.__v_emitter;
1887
- p && p.emit("fallback", {
1888
- type: S,
1886
+ const L = e.__v_emitter;
1887
+ L && L.emit("fallback", {
1888
+ type: P,
1889
1889
  key: t,
1890
- from: k,
1891
- to: P,
1892
- groupId: `${S}:${t}`
1890
+ from: M,
1891
+ to: S,
1892
+ groupId: `${P}:${t}`
1893
1893
  });
1894
1894
  }
1895
- I = i[T] || Y();
1895
+ g = i[T] || Y();
1896
1896
  let R = null, f, m;
1897
- if (process.env.NODE_ENV !== "production" && Ne && (R = window.performance.now(), f = "intlify-message-resolve-start", m = "intlify-message-resolve-end", le && le(f)), (h = u(I, t)) === null && (h = I[t]), process.env.NODE_ENV !== "production" && Ne) {
1898
- const p = window.performance.now(), N = e.__v_emitter;
1899
- N && R && h && N.emit("message-resolve", {
1897
+ if (process.env.NODE_ENV !== "production" && Ne && (R = window.performance.now(), f = "intlify-message-resolve-start", m = "intlify-message-resolve-end", le && le(f)), (C = c(g, t)) === null && (C = g[t]), process.env.NODE_ENV !== "production" && Ne) {
1898
+ const L = window.performance.now(), N = e.__v_emitter;
1899
+ N && R && C && N.emit("message-resolve", {
1900
1900
  type: "message-resolve",
1901
1901
  key: t,
1902
- message: h,
1903
- time: p - R,
1904
- groupId: `${S}:${t}`
1902
+ message: C,
1903
+ time: L - R,
1904
+ groupId: `${P}:${t}`
1905
1905
  }), f && m && le && Pe && (le(m), Pe("intlify message resolve", f, m));
1906
1906
  }
1907
- if (C(h) || De(h) || oe(h))
1907
+ if (h(C) || De(C) || oe(C))
1908
1908
  break;
1909
- if (!Fa(T, L)) {
1910
- const p = Gt(
1909
+ if (!Fa(T, p)) {
1910
+ const L = Gt(
1911
1911
  e,
1912
1912
  // eslint-disable-line @typescript-eslint/no-explicit-any
1913
1913
  t,
1914
1914
  T,
1915
1915
  a,
1916
- S
1916
+ P
1917
1917
  );
1918
- p !== t && (h = p);
1918
+ L !== t && (C = L);
1919
1919
  }
1920
- k = P;
1920
+ M = S;
1921
1921
  }
1922
- return [h, T, I];
1922
+ return [C, T, g];
1923
1923
  }
1924
1924
  function Qn(e, t, n, r, l, a) {
1925
- const { messageCompiler: i, warnHtmlMessage: c } = e;
1925
+ const { messageCompiler: i, warnHtmlMessage: u } = e;
1926
1926
  if (oe(r)) {
1927
1927
  const T = r;
1928
1928
  return T.locale = T.locale || n, T.key = T.key || t, T;
@@ -1931,30 +1931,30 @@ function Qn(e, t, n, r, l, a) {
1931
1931
  const T = () => r;
1932
1932
  return T.locale = n, T.key = t, T;
1933
1933
  }
1934
- let u = null, E, L;
1935
- process.env.NODE_ENV !== "production" && Ne && (u = window.performance.now(), E = "intlify-message-compilation-start", L = "intlify-message-compilation-end", le && le(E));
1936
- const I = i(r, nl(e, n, l, r, c, a));
1934
+ let c = null, E, p;
1935
+ process.env.NODE_ENV !== "production" && Ne && (c = window.performance.now(), E = "intlify-message-compilation-start", p = "intlify-message-compilation-end", le && le(E));
1936
+ const g = i(r, nl(e, n, l, r, u, a));
1937
1937
  if (process.env.NODE_ENV !== "production" && Ne) {
1938
- const T = window.performance.now(), h = e.__v_emitter;
1939
- h && u && h.emit("message-compilation", {
1938
+ const T = window.performance.now(), C = e.__v_emitter;
1939
+ C && c && C.emit("message-compilation", {
1940
1940
  type: "message-compilation",
1941
1941
  message: r,
1942
- time: T - u,
1942
+ time: T - c,
1943
1943
  groupId: `translate:${t}`
1944
- }), E && L && le && Pe && (le(L), Pe("intlify message compilation", E, L));
1944
+ }), E && p && le && Pe && (le(p), Pe("intlify message compilation", E, p));
1945
1945
  }
1946
- return I.locale = n, I.key = t, I.source = r, I;
1946
+ return g.locale = n, g.key = t, g.source = r, g;
1947
1947
  }
1948
1948
  function tl(e, t, n) {
1949
1949
  let r = null, l, a;
1950
1950
  process.env.NODE_ENV !== "production" && Ne && (r = window.performance.now(), l = "intlify-message-evaluation-start", a = "intlify-message-evaluation-end", le && le(l));
1951
1951
  const i = t(n);
1952
1952
  if (process.env.NODE_ENV !== "production" && Ne) {
1953
- const c = window.performance.now(), u = e.__v_emitter;
1954
- u && r && u.emit("message-evaluation", {
1953
+ const u = window.performance.now(), c = e.__v_emitter;
1954
+ c && r && c.emit("message-evaluation", {
1955
1955
  type: "message-evaluation",
1956
1956
  value: i,
1957
- time: c - r,
1957
+ time: u - r,
1958
1958
  groupId: `translate:${t.key}`
1959
1959
  }), l && a && le && Pe && (le(a), Pe("intlify message evaluation", l, a));
1960
1960
  }
@@ -1962,10 +1962,10 @@ function tl(e, t, n) {
1962
1962
  }
1963
1963
  function St(...e) {
1964
1964
  const [t, n, r] = e, l = Y();
1965
- if (!C(t) && !q(t) && !oe(t) && !De(t))
1965
+ if (!h(t) && !q(t) && !oe(t) && !De(t))
1966
1966
  throw _e(Q.INVALID_ARGUMENT);
1967
1967
  const a = q(t) ? String(t) : (oe(t), t);
1968
- return q(n) ? l.plural = n : C(n) ? l.default = n : F(n) && !Tt(n) ? l.named = n : J(n) && (l.list = n), q(r) ? l.plural = r : C(r) ? l.default = r : F(r) && z(l, r), [a, l];
1968
+ return q(n) ? l.plural = n : h(n) ? l.default = n : F(n) && !Tt(n) ? l.named = n : J(n) && (l.list = n), q(r) ? l.plural = r : h(r) ? l.default = r : F(r) && z(l, r), [a, l];
1969
1969
  }
1970
1970
  function nl(e, t, n, r, l, a) {
1971
1971
  return {
@@ -1974,15 +1974,15 @@ function nl(e, t, n, r, l, a) {
1974
1974
  warnHtmlMessage: l,
1975
1975
  onError: (i) => {
1976
1976
  if (a && a(i), process.env.NODE_ENV !== "production") {
1977
- const c = rl(r), u = `Message compilation error: ${i.message}`, E = i.location && c && gr(c, i.location.start.offset, i.location.end.offset), L = e.__v_emitter;
1978
- L && c && L.emit("compile-error", {
1979
- message: c,
1977
+ const u = rl(r), c = `Message compilation error: ${i.message}`, E = i.location && u && gr(u, i.location.start.offset, i.location.end.offset), p = e.__v_emitter;
1978
+ p && u && p.emit("compile-error", {
1979
+ message: u,
1980
1980
  error: i.message,
1981
1981
  start: i.location && i.location.start.offset,
1982
1982
  end: i.location && i.location.end.offset,
1983
1983
  groupId: `translate:${n}`
1984
- }), console.error(E ? `${u}
1985
- ${E}` : u);
1984
+ }), console.error(E ? `${c}
1985
+ ${E}` : c);
1986
1986
  } else
1987
1987
  throw i;
1988
1988
  },
@@ -1990,29 +1990,29 @@ ${E}` : u);
1990
1990
  };
1991
1991
  }
1992
1992
  function rl(e) {
1993
- if (C(e))
1993
+ if (h(e))
1994
1994
  return e;
1995
1995
  if (e.loc && e.loc.source)
1996
1996
  return e.loc.source;
1997
1997
  }
1998
1998
  function al(e, t, n, r) {
1999
- const { modifiers: l, pluralRules: a, messageResolver: i, fallbackLocale: c, fallbackWarn: u, missingWarn: E, fallbackContext: L } = e, T = {
1999
+ const { modifiers: l, pluralRules: a, messageResolver: i, fallbackLocale: u, fallbackWarn: c, missingWarn: E, fallbackContext: p } = e, T = {
2000
2000
  locale: t,
2001
2001
  modifiers: l,
2002
2002
  pluralRules: a,
2003
- messages: (h) => {
2004
- let k = i(n, h);
2005
- if (k == null && L) {
2006
- const [, , P] = Jn(L, h, t, c, u, E);
2007
- k = i(P, h);
2003
+ messages: (C) => {
2004
+ let M = i(n, C);
2005
+ if (M == null && p) {
2006
+ const [, , S] = Jn(p, C, t, u, c, E);
2007
+ M = i(S, C);
2008
2008
  }
2009
- if (C(k) || De(k)) {
2010
- let P = !1;
2011
- const M = Qn(e, h, t, k, h, () => {
2012
- P = !0;
2009
+ if (h(M) || De(M)) {
2010
+ let S = !1;
2011
+ const y = Qn(e, C, t, M, C, () => {
2012
+ S = !0;
2013
2013
  });
2014
- return P ? _n : M;
2015
- } else return oe(k) ? k : _n;
2014
+ return S ? _n : y;
2015
+ } else return oe(M) ? M : _n;
2016
2016
  }
2017
2017
  };
2018
2018
  return e.processor && (T.processor = e.processor), r.list && (T.list = r.list), r.named && (T.named = r.named), q(r.plural) && (T.pluralIndex = r.plural), T;
@@ -2022,43 +2022,43 @@ const En = typeof Intl < "u", qn = {
2022
2022
  numberFormat: En && typeof Intl.NumberFormat < "u"
2023
2023
  };
2024
2024
  function dn(e, ...t) {
2025
- const { datetimeFormats: n, unresolving: r, fallbackLocale: l, onWarn: a, localeFallbacker: i } = e, { __datetimeFormatters: c } = e;
2025
+ const { datetimeFormats: n, unresolving: r, fallbackLocale: l, onWarn: a, localeFallbacker: i } = e, { __datetimeFormatters: u } = e;
2026
2026
  if (process.env.NODE_ENV !== "production" && !qn.dateTimeFormat)
2027
2027
  return a(Se(te.CANNOT_FORMAT_DATE)), Et;
2028
- const [u, E, L, I] = Dt(...t), T = H(L.missingWarn) ? L.missingWarn : e.missingWarn, h = H(L.fallbackWarn) ? L.fallbackWarn : e.fallbackWarn, k = !!L.part, P = Yt(e, L), S = i(
2028
+ const [c, E, p, g] = Dt(...t), T = H(p.missingWarn) ? p.missingWarn : e.missingWarn, C = H(p.fallbackWarn) ? p.fallbackWarn : e.fallbackWarn, M = !!p.part, S = Yt(e, p), P = i(
2029
2029
  e,
2030
2030
  // eslint-disable-line @typescript-eslint/no-explicit-any
2031
2031
  l,
2032
- P
2032
+ S
2033
2033
  );
2034
- if (!C(u) || u === "")
2035
- return new Intl.DateTimeFormat(P, I).format(E);
2036
- let M = {}, R, f = null, m = P, p = null;
2034
+ if (!h(c) || c === "")
2035
+ return new Intl.DateTimeFormat(S, g).format(E);
2036
+ let y = {}, R, f = null, m = S, L = null;
2037
2037
  const N = "datetime format";
2038
- for (let A = 0; A < S.length; A++) {
2039
- if (R = p = S[A], process.env.NODE_ENV !== "production" && P !== R && gt(h, u) && a(Se(te.FALLBACK_TO_DATE_FORMAT, {
2040
- key: u,
2038
+ for (let A = 0; A < P.length; A++) {
2039
+ if (R = L = P[A], process.env.NODE_ENV !== "production" && S !== R && gt(C, c) && a(Se(te.FALLBACK_TO_DATE_FORMAT, {
2040
+ key: c,
2041
2041
  target: R
2042
- })), process.env.NODE_ENV !== "production" && P !== R) {
2042
+ })), process.env.NODE_ENV !== "production" && S !== R) {
2043
2043
  const K = e.__v_emitter;
2044
2044
  K && K.emit("fallback", {
2045
2045
  type: N,
2046
- key: u,
2046
+ key: c,
2047
2047
  from: m,
2048
- to: p,
2049
- groupId: `${N}:${u}`
2048
+ to: L,
2049
+ groupId: `${N}:${c}`
2050
2050
  });
2051
2051
  }
2052
- if (M = n[R] || {}, f = M[u], F(f))
2052
+ if (y = n[R] || {}, f = y[c], F(f))
2053
2053
  break;
2054
- Gt(e, u, R, T, N), m = p;
2054
+ Gt(e, c, R, T, N), m = L;
2055
2055
  }
2056
- if (!F(f) || !C(R))
2057
- return r ? Lt : u;
2058
- let g = `${R}__${u}`;
2059
- Tt(I) || (g = `${g}__${JSON.stringify(I)}`);
2060
- let b = c.get(g);
2061
- return b || (b = new Intl.DateTimeFormat(R, z({}, f, I)), c.set(g, b)), k ? b.formatToParts(E) : b.format(E);
2056
+ if (!F(f) || !h(R))
2057
+ return r ? Lt : c;
2058
+ let I = `${R}__${c}`;
2059
+ Tt(g) || (I = `${I}__${JSON.stringify(g)}`);
2060
+ let b = u.get(I);
2061
+ return b || (b = new Intl.DateTimeFormat(R, z({}, f, g)), u.set(I, b)), M ? b.formatToParts(E) : b.format(E);
2062
2062
  }
2063
2063
  const Zn = [
2064
2064
  "localeMatcher",
@@ -2084,29 +2084,29 @@ const Zn = [
2084
2084
  ];
2085
2085
  function Dt(...e) {
2086
2086
  const [t, n, r, l] = e, a = Y();
2087
- let i = Y(), c;
2088
- if (C(t)) {
2089
- const u = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
2090
- if (!u)
2087
+ let i = Y(), u;
2088
+ if (h(t)) {
2089
+ const c = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
2090
+ if (!c)
2091
2091
  throw _e(Q.INVALID_ISO_DATE_ARGUMENT);
2092
- const E = u[3] ? u[3].trim().startsWith("T") ? `${u[1].trim()}${u[3].trim()}` : `${u[1].trim()}T${u[3].trim()}` : u[1].trim();
2093
- c = new Date(E);
2092
+ const E = c[3] ? c[3].trim().startsWith("T") ? `${c[1].trim()}${c[3].trim()}` : `${c[1].trim()}T${c[3].trim()}` : c[1].trim();
2093
+ u = new Date(E);
2094
2094
  try {
2095
- c.toISOString();
2095
+ u.toISOString();
2096
2096
  } catch {
2097
2097
  throw _e(Q.INVALID_ISO_DATE_ARGUMENT);
2098
2098
  }
2099
2099
  } else if (dr(t)) {
2100
2100
  if (isNaN(t.getTime()))
2101
2101
  throw _e(Q.INVALID_DATE_ARGUMENT);
2102
- c = t;
2102
+ u = t;
2103
2103
  } else if (q(t))
2104
- c = t;
2104
+ u = t;
2105
2105
  else
2106
2106
  throw _e(Q.INVALID_ARGUMENT);
2107
- return C(n) ? a.key = n : F(n) && Object.keys(n).forEach((u) => {
2108
- Zn.includes(u) ? i[u] = n[u] : a[u] = n[u];
2109
- }), C(r) ? a.locale = r : F(r) && (i = r), F(l) && (i = l), [a.key || "", c, a, i];
2107
+ return h(n) ? a.key = n : F(n) && Object.keys(n).forEach((c) => {
2108
+ Zn.includes(c) ? i[c] = n[c] : a[c] = n[c];
2109
+ }), h(r) ? a.locale = r : F(r) && (i = r), F(l) && (i = l), [a.key || "", u, a, i];
2110
2110
  }
2111
2111
  function Nn(e, t, n) {
2112
2112
  const r = e;
@@ -2116,43 +2116,43 @@ function Nn(e, t, n) {
2116
2116
  }
2117
2117
  }
2118
2118
  function Tn(e, ...t) {
2119
- const { numberFormats: n, unresolving: r, fallbackLocale: l, onWarn: a, localeFallbacker: i } = e, { __numberFormatters: c } = e;
2119
+ const { numberFormats: n, unresolving: r, fallbackLocale: l, onWarn: a, localeFallbacker: i } = e, { __numberFormatters: u } = e;
2120
2120
  if (process.env.NODE_ENV !== "production" && !qn.numberFormat)
2121
2121
  return a(Se(te.CANNOT_FORMAT_NUMBER)), Et;
2122
- const [u, E, L, I] = Rt(...t), T = H(L.missingWarn) ? L.missingWarn : e.missingWarn, h = H(L.fallbackWarn) ? L.fallbackWarn : e.fallbackWarn, k = !!L.part, P = Yt(e, L), S = i(
2122
+ const [c, E, p, g] = Rt(...t), T = H(p.missingWarn) ? p.missingWarn : e.missingWarn, C = H(p.fallbackWarn) ? p.fallbackWarn : e.fallbackWarn, M = !!p.part, S = Yt(e, p), P = i(
2123
2123
  e,
2124
2124
  // eslint-disable-line @typescript-eslint/no-explicit-any
2125
2125
  l,
2126
- P
2126
+ S
2127
2127
  );
2128
- if (!C(u) || u === "")
2129
- return new Intl.NumberFormat(P, I).format(E);
2130
- let M = {}, R, f = null, m = P, p = null;
2128
+ if (!h(c) || c === "")
2129
+ return new Intl.NumberFormat(S, g).format(E);
2130
+ let y = {}, R, f = null, m = S, L = null;
2131
2131
  const N = "number format";
2132
- for (let A = 0; A < S.length; A++) {
2133
- if (R = p = S[A], process.env.NODE_ENV !== "production" && P !== R && gt(h, u) && a(Se(te.FALLBACK_TO_NUMBER_FORMAT, {
2134
- key: u,
2132
+ for (let A = 0; A < P.length; A++) {
2133
+ if (R = L = P[A], process.env.NODE_ENV !== "production" && S !== R && gt(C, c) && a(Se(te.FALLBACK_TO_NUMBER_FORMAT, {
2134
+ key: c,
2135
2135
  target: R
2136
- })), process.env.NODE_ENV !== "production" && P !== R) {
2136
+ })), process.env.NODE_ENV !== "production" && S !== R) {
2137
2137
  const K = e.__v_emitter;
2138
2138
  K && K.emit("fallback", {
2139
2139
  type: N,
2140
- key: u,
2140
+ key: c,
2141
2141
  from: m,
2142
- to: p,
2143
- groupId: `${N}:${u}`
2142
+ to: L,
2143
+ groupId: `${N}:${c}`
2144
2144
  });
2145
2145
  }
2146
- if (M = n[R] || {}, f = M[u], F(f))
2146
+ if (y = n[R] || {}, f = y[c], F(f))
2147
2147
  break;
2148
- Gt(e, u, R, T, N), m = p;
2148
+ Gt(e, c, R, T, N), m = L;
2149
2149
  }
2150
- if (!F(f) || !C(R))
2151
- return r ? Lt : u;
2152
- let g = `${R}__${u}`;
2153
- Tt(I) || (g = `${g}__${JSON.stringify(I)}`);
2154
- let b = c.get(g);
2155
- return b || (b = new Intl.NumberFormat(R, z({}, f, I)), c.set(g, b)), k ? b.formatToParts(E) : b.format(E);
2150
+ if (!F(f) || !h(R))
2151
+ return r ? Lt : c;
2152
+ let I = `${R}__${c}`;
2153
+ Tt(g) || (I = `${I}__${JSON.stringify(g)}`);
2154
+ let b = u.get(I);
2155
+ return b || (b = new Intl.NumberFormat(R, z({}, f, g)), u.set(I, b)), M ? b.formatToParts(E) : b.format(E);
2156
2156
  }
2157
2157
  const zn = [
2158
2158
  "localeMatcher",
@@ -2181,10 +2181,10 @@ function Rt(...e) {
2181
2181
  let i = Y();
2182
2182
  if (!q(t))
2183
2183
  throw _e(Q.INVALID_ARGUMENT);
2184
- const c = t;
2185
- return C(n) ? a.key = n : F(n) && Object.keys(n).forEach((u) => {
2186
- zn.includes(u) ? i[u] = n[u] : a[u] = n[u];
2187
- }), C(r) ? a.locale = r : F(r) && (i = r), F(l) && (i = l), [a.key || "", c, a, i];
2184
+ const u = t;
2185
+ return h(n) ? a.key = n : F(n) && Object.keys(n).forEach((c) => {
2186
+ zn.includes(c) ? i[c] = n[c] : a[c] = n[c];
2187
+ }), h(r) ? a.locale = r : F(r) && (i = r), F(l) && (i = l), [a.key || "", u, a, i];
2188
2188
  }
2189
2189
  function On(e, t, n) {
2190
2190
  const r = e;
@@ -2328,15 +2328,15 @@ function ot(e) {
2328
2328
  }
2329
2329
  function xt(e, t) {
2330
2330
  const { messages: n, __i18n: r, messageResolver: l, flatJson: a } = t, i = F(n) ? n : J(r) ? Y() : { [e]: Y() };
2331
- if (J(r) && r.forEach((c) => {
2332
- if ("locale" in c && "resource" in c) {
2333
- const { locale: u, resource: E } = c;
2334
- u ? (i[u] = i[u] || Y(), _t(E, i[u])) : _t(E, i);
2331
+ if (J(r) && r.forEach((u) => {
2332
+ if ("locale" in u && "resource" in u) {
2333
+ const { locale: c, resource: E } = u;
2334
+ c ? (i[c] = i[c] || Y(), _t(E, i[c])) : _t(E, i);
2335
2335
  } else
2336
- C(c) && _t(JSON.parse(c), i);
2336
+ h(u) && _t(JSON.parse(u), i);
2337
2337
  }), l == null && a)
2338
- for (const c in i)
2339
- ue(i, c) && ot(i[c]);
2338
+ for (const u in i)
2339
+ ue(i, u) && ot(i[u]);
2340
2340
  return i;
2341
2341
  }
2342
2342
  function rr(e) {
@@ -2381,51 +2381,51 @@ const _l = /* @__NO_SIDE_EFFECTS__ */ () => {
2381
2381
  return e && (t = rr(e)[Ln]) ? { [Ln]: t } : null;
2382
2382
  };
2383
2383
  function ml(e = {}, t) {
2384
- const { __root: n, __injectWithOption: r } = e, l = n === void 0, a = e.flatJson, i = Ne ? Fe : Cn, c = !!e.translateExistCompatible;
2385
- process.env.NODE_ENV !== "production" && c && Rn(dt(re.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));
2386
- let u = H(e.inheritLocale) ? e.inheritLocale : !0;
2384
+ const { __root: n, __injectWithOption: r } = e, l = n === void 0, a = e.flatJson, i = Ne ? Fe : hn, u = !!e.translateExistCompatible;
2385
+ process.env.NODE_ENV !== "production" && u && Rn(dt(re.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));
2386
+ let c = H(e.inheritLocale) ? e.inheritLocale : !0;
2387
2387
  const E = i(
2388
2388
  // prettier-ignore
2389
- n && u ? n.locale.value : C(e.locale) ? e.locale : lt
2390
- ), L = i(
2389
+ n && c ? n.locale.value : h(e.locale) ? e.locale : lt
2390
+ ), p = i(
2391
2391
  // prettier-ignore
2392
- n && u ? n.fallbackLocale.value : C(e.fallbackLocale) || J(e.fallbackLocale) || F(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : E.value
2393
- ), I = i(xt(E.value, e)), T = i(F(e.datetimeFormats) ? e.datetimeFormats : { [E.value]: {} }), h = i(F(e.numberFormats) ? e.numberFormats : { [E.value]: {} });
2394
- let k = n ? n.missingWarn : H(e.missingWarn) || Ve(e.missingWarn) ? e.missingWarn : !0, P = n ? n.fallbackWarn : H(e.fallbackWarn) || Ve(e.fallbackWarn) ? e.fallbackWarn : !0, S = n ? n.fallbackRoot : H(e.fallbackRoot) ? e.fallbackRoot : !0, M = !!e.fallbackFormat, R = x(e.missing) ? e.missing : null, f = x(e.missing) ? vn(e.missing) : null, m = x(e.postTranslation) ? e.postTranslation : null, p = n ? n.warnHtmlMessage : H(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, N = !!e.escapeParameter;
2395
- const g = n ? n.modifiers : F(e.modifiers) ? e.modifiers : {};
2392
+ n && c ? n.fallbackLocale.value : h(e.fallbackLocale) || J(e.fallbackLocale) || F(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : E.value
2393
+ ), g = i(xt(E.value, e)), T = i(F(e.datetimeFormats) ? e.datetimeFormats : { [E.value]: {} }), C = i(F(e.numberFormats) ? e.numberFormats : { [E.value]: {} });
2394
+ let M = n ? n.missingWarn : H(e.missingWarn) || Ve(e.missingWarn) ? e.missingWarn : !0, S = n ? n.fallbackWarn : H(e.fallbackWarn) || Ve(e.fallbackWarn) ? e.fallbackWarn : !0, P = n ? n.fallbackRoot : H(e.fallbackRoot) ? e.fallbackRoot : !0, y = !!e.fallbackFormat, R = x(e.missing) ? e.missing : null, f = x(e.missing) ? vn(e.missing) : null, m = x(e.postTranslation) ? e.postTranslation : null, L = n ? n.warnHtmlMessage : H(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, N = !!e.escapeParameter;
2395
+ const I = n ? n.modifiers : F(e.modifiers) ? e.modifiers : {};
2396
2396
  let b = e.pluralRules || n && n.pluralRules, A;
2397
2397
  A = (() => {
2398
2398
  l && cn(null);
2399
2399
  const _ = {
2400
2400
  version: ll,
2401
2401
  locale: E.value,
2402
- fallbackLocale: L.value,
2403
- messages: I.value,
2404
- modifiers: g,
2402
+ fallbackLocale: p.value,
2403
+ messages: g.value,
2404
+ modifiers: I,
2405
2405
  pluralRules: b,
2406
2406
  missing: f === null ? void 0 : f,
2407
- missingWarn: k,
2408
- fallbackWarn: P,
2409
- fallbackFormat: M,
2407
+ missingWarn: M,
2408
+ fallbackWarn: S,
2409
+ fallbackFormat: y,
2410
2410
  unresolving: !0,
2411
2411
  postTranslation: m === null ? void 0 : m,
2412
- warnHtmlMessage: p,
2412
+ warnHtmlMessage: L,
2413
2413
  escapeParameter: N,
2414
2414
  messageResolver: e.messageResolver,
2415
2415
  messageCompiler: e.messageCompiler,
2416
2416
  __meta: { framework: "vue" }
2417
2417
  };
2418
- _.datetimeFormats = T.value, _.numberFormats = h.value, _.__datetimeFormatters = F(A) ? A.__datetimeFormatters : void 0, _.__numberFormatters = F(A) ? A.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (_.__v_emitter = F(A) ? A.__v_emitter : void 0);
2418
+ _.datetimeFormats = T.value, _.numberFormats = C.value, _.__datetimeFormatters = F(A) ? A.__datetimeFormatters : void 0, _.__numberFormatters = F(A) ? A.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (_.__v_emitter = F(A) ? A.__v_emitter : void 0);
2419
2419
  const O = Ma(_);
2420
2420
  return l && cn(O), O;
2421
- })(), rt(A, E.value, L.value);
2421
+ })(), rt(A, E.value, p.value);
2422
2422
  function ae() {
2423
2423
  return [
2424
2424
  E.value,
2425
- L.value,
2426
- I.value,
2425
+ p.value,
2426
+ g.value,
2427
2427
  T.value,
2428
- h.value
2428
+ C.value
2429
2429
  ];
2430
2430
  }
2431
2431
  const U = ce({
@@ -2434,11 +2434,11 @@ function ml(e = {}, t) {
2434
2434
  E.value = _, A.locale = E.value;
2435
2435
  }
2436
2436
  }), Z = ce({
2437
- get: () => L.value,
2437
+ get: () => p.value,
2438
2438
  set: (_) => {
2439
- L.value = _, A.fallbackLocale = L.value, rt(A, E.value, _);
2439
+ p.value = _, A.fallbackLocale = p.value, rt(A, E.value, _);
2440
2440
  }
2441
- }), Ye = ce(() => I.value), Ge = /* @__PURE__ */ ce(() => T.value), fe = /* @__PURE__ */ ce(() => h.value);
2441
+ }), Ye = ce(() => g.value), Ge = /* @__PURE__ */ ce(() => T.value), fe = /* @__PURE__ */ ce(() => C.value);
2442
2442
  function He() {
2443
2443
  return x(m) ? m : null;
2444
2444
  }
@@ -2465,19 +2465,19 @@ function ml(e = {}, t) {
2465
2465
  if (W !== "translate exists" && // for not `te` (e.g `t`)
2466
2466
  q(Me) && Me === Lt || W === "translate exists" && !Me) {
2467
2467
  const [be, sr] = O();
2468
- if (process.env.NODE_ENV !== "production" && n && C(be) && Xe(W, sr) && (S && (gt(P, be) || Hn(k, be)) && Oe(dt(re.FALLBACK_TO_ROOT, {
2468
+ if (process.env.NODE_ENV !== "production" && n && h(be) && Xe(W, sr) && (P && (gt(S, be) || Hn(M, be)) && Oe(dt(re.FALLBACK_TO_ROOT, {
2469
2469
  key: be,
2470
2470
  type: W
2471
2471
  })), process.env.NODE_ENV !== "production")) {
2472
2472
  const { __v_emitter: Bt } = A;
2473
- Bt && S && Bt.emit("fallback", {
2473
+ Bt && P && Bt.emit("fallback", {
2474
2474
  type: W,
2475
2475
  key: be,
2476
2476
  to: "global",
2477
2477
  groupId: `${W}:${be}`
2478
2478
  });
2479
2479
  }
2480
- return n && S ? j(n) : pe(be);
2480
+ return n && P ? j(n) : pe(be);
2481
2481
  } else {
2482
2482
  if (ct(Me))
2483
2483
  return Me;
@@ -2485,7 +2485,7 @@ function ml(e = {}, t) {
2485
2485
  }
2486
2486
  };
2487
2487
  function Re(..._) {
2488
- return se((O) => Reflect.apply(mn, null, [O, ..._]), () => St(..._), "translate", (O) => Reflect.apply(O.t, O, [..._]), (O) => O, (O) => C(O));
2488
+ return se((O) => Reflect.apply(mn, null, [O, ..._]), () => St(..._), "translate", (O) => Reflect.apply(O.t, O, [..._]), (O) => O, (O) => h(O));
2489
2489
  }
2490
2490
  function ye(..._) {
2491
2491
  const [O, W, j] = _;
@@ -2494,13 +2494,13 @@ function ml(e = {}, t) {
2494
2494
  return Re(O, W, z({ resolvedMessage: !0 }, j || {}));
2495
2495
  }
2496
2496
  function je(..._) {
2497
- return se((O) => Reflect.apply(dn, null, [O, ..._]), () => Dt(..._), "datetime format", (O) => Reflect.apply(O.d, O, [..._]), () => Et, (O) => C(O));
2497
+ return se((O) => Reflect.apply(dn, null, [O, ..._]), () => Dt(..._), "datetime format", (O) => Reflect.apply(O.d, O, [..._]), () => Et, (O) => h(O));
2498
2498
  }
2499
2499
  function Je(..._) {
2500
- return se((O) => Reflect.apply(Tn, null, [O, ..._]), () => Rt(..._), "number format", (O) => Reflect.apply(O.n, O, [..._]), () => Et, (O) => C(O));
2500
+ return se((O) => Reflect.apply(Tn, null, [O, ..._]), () => Rt(..._), "number format", (O) => Reflect.apply(O.n, O, [..._]), () => Et, (O) => h(O));
2501
2501
  }
2502
2502
  function Qe(_) {
2503
- return _.map((O) => C(O) || q(O) || H(O) ? pn(String(O)) : O);
2503
+ return _.map((O) => h(O) || q(O) || H(O) ? pn(String(O)) : O);
2504
2504
  }
2505
2505
  const qe = {
2506
2506
  normalize: Qe,
@@ -2535,7 +2535,7 @@ function ml(e = {}, t) {
2535
2535
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
2536
2536
  (O) => O[Mt](..._),
2537
2537
  gn,
2538
- (O) => C(O) || J(O)
2538
+ (O) => h(O) || J(O)
2539
2539
  );
2540
2540
  }
2541
2541
  function ze(..._) {
@@ -2546,7 +2546,7 @@ function ml(e = {}, t) {
2546
2546
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
2547
2547
  (O) => O[kt](..._),
2548
2548
  gn,
2549
- (O) => C(O) || J(O)
2549
+ (O) => h(O) || J(O)
2550
2550
  );
2551
2551
  }
2552
2552
  function et(_) {
@@ -2556,15 +2556,15 @@ function ml(e = {}, t) {
2556
2556
  return se(() => {
2557
2557
  if (!_)
2558
2558
  return !1;
2559
- const W = C(O) ? O : E.value, j = Ae(W), pe = A.messageResolver(j, _);
2560
- return c ? pe != null : De(pe) || oe(pe) || C(pe);
2559
+ const W = h(O) ? O : E.value, j = Ae(W), pe = A.messageResolver(j, _);
2560
+ return u ? pe != null : De(pe) || oe(pe) || h(pe);
2561
2561
  }, () => [_], "translate exists", (W) => Reflect.apply(W.te, W, [_, O]), fl, (W) => H(W));
2562
2562
  }
2563
2563
  function V(_) {
2564
2564
  let O = null;
2565
- const W = wn(A, L.value, E.value);
2565
+ const W = wn(A, p.value, E.value);
2566
2566
  for (let j = 0; j < W.length; j++) {
2567
- const pe = I.value[W[j]] || {}, ct = A.messageResolver(pe, _);
2567
+ const pe = g.value[W[j]] || {}, ct = A.messageResolver(pe, _);
2568
2568
  if (ct != null) {
2569
2569
  O = ct;
2570
2570
  break;
@@ -2577,7 +2577,7 @@ function ml(e = {}, t) {
2577
2577
  return O ?? (n ? n.tm(_) || {} : {});
2578
2578
  }
2579
2579
  function Ae(_) {
2580
- return I.value[_] || {};
2580
+ return g.value[_] || {};
2581
2581
  }
2582
2582
  function nt(_, O) {
2583
2583
  if (a) {
@@ -2586,15 +2586,15 @@ function ml(e = {}, t) {
2586
2586
  ue(W, j) && ot(W[j]);
2587
2587
  O = W[_];
2588
2588
  }
2589
- I.value[_] = O, A.messages = I.value;
2589
+ g.value[_] = O, A.messages = g.value;
2590
2590
  }
2591
2591
  function vt(_, O) {
2592
- I.value[_] = I.value[_] || {};
2592
+ g.value[_] = g.value[_] || {};
2593
2593
  const W = { [_]: O };
2594
2594
  if (a)
2595
2595
  for (const j in W)
2596
2596
  ue(W, j) && ot(W[j]);
2597
- O = W[_], _t(O, I.value[_]), A.messages = I.value;
2597
+ O = W[_], _t(O, g.value[_]), A.messages = g.value;
2598
2598
  }
2599
2599
  function s(_) {
2600
2600
  return T.value[_] || {};
@@ -2606,35 +2606,35 @@ function ml(e = {}, t) {
2606
2606
  T.value[_] = z(T.value[_] || {}, O), A.datetimeFormats = T.value, Nn(A, _, O);
2607
2607
  }
2608
2608
  function D(_) {
2609
- return h.value[_] || {};
2609
+ return C.value[_] || {};
2610
2610
  }
2611
2611
  function B(_, O) {
2612
- h.value[_] = O, A.numberFormats = h.value, On(A, _, O);
2612
+ C.value[_] = O, A.numberFormats = C.value, On(A, _, O);
2613
2613
  }
2614
2614
  function G(_, O) {
2615
- h.value[_] = z(h.value[_] || {}, O), A.numberFormats = h.value, On(A, _, O);
2615
+ C.value[_] = z(C.value[_] || {}, O), A.numberFormats = C.value, On(A, _, O);
2616
2616
  }
2617
2617
  In++, n && Ne && (Xt(n.locale, (_) => {
2618
- u && (E.value = _, A.locale = _, rt(A, E.value, L.value));
2618
+ c && (E.value = _, A.locale = _, rt(A, E.value, p.value));
2619
2619
  }), Xt(n.fallbackLocale, (_) => {
2620
- u && (L.value = _, A.fallbackLocale = _, rt(A, E.value, L.value));
2620
+ c && (p.value = _, A.fallbackLocale = _, rt(A, E.value, p.value));
2621
2621
  }));
2622
2622
  const $ = {
2623
2623
  id: In,
2624
2624
  locale: U,
2625
2625
  fallbackLocale: Z,
2626
2626
  get inheritLocale() {
2627
- return u;
2627
+ return c;
2628
2628
  },
2629
2629
  set inheritLocale(_) {
2630
- u = _, _ && n && (E.value = n.locale.value, L.value = n.fallbackLocale.value, rt(A, E.value, L.value));
2630
+ c = _, _ && n && (E.value = n.locale.value, p.value = n.fallbackLocale.value, rt(A, E.value, p.value));
2631
2631
  },
2632
2632
  get availableLocales() {
2633
- return Object.keys(I.value).sort();
2633
+ return Object.keys(g.value).sort();
2634
2634
  },
2635
2635
  messages: Ye,
2636
2636
  get modifiers() {
2637
- return g;
2637
+ return I;
2638
2638
  },
2639
2639
  get pluralRules() {
2640
2640
  return b || {};
@@ -2643,34 +2643,34 @@ function ml(e = {}, t) {
2643
2643
  return l;
2644
2644
  },
2645
2645
  get missingWarn() {
2646
- return k;
2646
+ return M;
2647
2647
  },
2648
2648
  set missingWarn(_) {
2649
- k = _, A.missingWarn = k;
2649
+ M = _, A.missingWarn = M;
2650
2650
  },
2651
2651
  get fallbackWarn() {
2652
- return P;
2652
+ return S;
2653
2653
  },
2654
2654
  set fallbackWarn(_) {
2655
- P = _, A.fallbackWarn = P;
2655
+ S = _, A.fallbackWarn = S;
2656
2656
  },
2657
2657
  get fallbackRoot() {
2658
- return S;
2658
+ return P;
2659
2659
  },
2660
2660
  set fallbackRoot(_) {
2661
- S = _;
2661
+ P = _;
2662
2662
  },
2663
2663
  get fallbackFormat() {
2664
- return M;
2664
+ return y;
2665
2665
  },
2666
2666
  set fallbackFormat(_) {
2667
- M = _, A.fallbackFormat = M;
2667
+ y = _, A.fallbackFormat = y;
2668
2668
  },
2669
2669
  get warnHtmlMessage() {
2670
- return p;
2670
+ return L;
2671
2671
  },
2672
2672
  set warnHtmlMessage(_) {
2673
- p = _, A.warnHtmlMessage = _;
2673
+ L = _, A.warnHtmlMessage = _;
2674
2674
  },
2675
2675
  get escapeParameter() {
2676
2676
  return N;
@@ -2737,22 +2737,22 @@ z({
2737
2737
  }
2738
2738
  }, Kt);
2739
2739
  function dl(e) {
2740
- return J(e) && !C(e[0]);
2740
+ return J(e) && !h(e[0]);
2741
2741
  }
2742
2742
  function lr(e, t, n, r) {
2743
2743
  const { slots: l, attrs: a } = t;
2744
2744
  return () => {
2745
2745
  const i = { part: !0 };
2746
- let c = Y();
2747
- e.locale && (i.locale = e.locale), C(e.format) ? i.key = e.format : w(e.format) && (C(e.format.key) && (i.key = e.format.key), c = Object.keys(e.format).reduce((T, h) => n.includes(h) ? z(Y(), T, { [h]: e.format[h] }) : T, Y()));
2748
- const u = r(e.value, i, c);
2746
+ let u = Y();
2747
+ e.locale && (i.locale = e.locale), h(e.format) ? i.key = e.format : w(e.format) && (h(e.format.key) && (i.key = e.format.key), u = Object.keys(e.format).reduce((T, C) => n.includes(C) ? z(Y(), T, { [C]: e.format[C] }) : T, Y()));
2748
+ const c = r(e.value, i, u);
2749
2749
  let E = [i.key];
2750
- J(u) ? E = u.map((T, h) => {
2751
- const k = l[T.type], P = k ? k({ [T.type]: T.value, index: h, parts: u }) : [T.value];
2752
- return dl(P) && (P[0].key = `${T.type}-${h}`), P;
2753
- }) : C(u) && (E = [u]);
2754
- const L = z(Y(), a), I = C(e.tag) || w(e.tag) ? e.tag : ar();
2755
- return hn(I, L, E);
2750
+ J(c) ? E = c.map((T, C) => {
2751
+ const M = l[T.type], S = M ? M({ [T.type]: T.value, index: C, parts: c }) : [T.value];
2752
+ return dl(S) && (S[0].key = `${T.type}-${C}`), S;
2753
+ }) : h(c) && (E = [c]);
2754
+ const p = z(Y(), a), g = h(e.tag) || w(e.tag) ? e.tag : ar();
2755
+ return bn(g, p, E);
2756
2756
  };
2757
2757
  }
2758
2758
  z({
@@ -2791,20 +2791,20 @@ function It(e = {}) {
2791
2791
  if (a === "global")
2792
2792
  return ul(r, e, l), r;
2793
2793
  if (a === "parent") {
2794
- let u = Ll(n, t, e.__useComponent);
2795
- return u == null && (process.env.NODE_ENV !== "production" && Oe(dt(re.NOT_FOUND_PARENT_SCOPE)), u = r), u;
2794
+ let c = Ll(n, t, e.__useComponent);
2795
+ return c == null && (process.env.NODE_ENV !== "production" && Oe(dt(re.NOT_FOUND_PARENT_SCOPE)), c = r), c;
2796
2796
  }
2797
2797
  const i = n;
2798
- let c = i.__getInstance(t);
2799
- if (c == null) {
2800
- const u = z({}, e);
2801
- "__i18n" in l && (u.__i18n = l.__i18n), r && (u.__root = r), c = ml(u), i.__composerExtend && (c[wt] = i.__composerExtend(c)), Il(i, t, c), i.__setInstance(t, c);
2798
+ let u = i.__getInstance(t);
2799
+ if (u == null) {
2800
+ const c = z({}, e);
2801
+ "__i18n" in l && (c.__i18n = l.__i18n), r && (c.__root = r), u = ml(c), i.__composerExtend && (u[wt] = i.__composerExtend(u)), Il(i, t, u), i.__setInstance(t, u);
2802
2802
  }
2803
- return c;
2803
+ return u;
2804
2804
  }
2805
2805
  function Tl(e) {
2806
2806
  {
2807
- const t = bn(e.isCE ? Nl : e.appContext.app.__VUE_I18N_SYMBOL__);
2807
+ const t = Cn(e.isCE ? Nl : e.appContext.app.__VUE_I18N_SYMBOL__);
2808
2808
  if (!t)
2809
2809
  throw ge(e.isCE ? X.NOT_INSTALLED_WITH_PROVIDE : X.UNEXPECTED_ERROR);
2810
2810
  return t;
@@ -2825,8 +2825,8 @@ function Ll(e, t, n = !1) {
2825
2825
  if (e.mode === "composition")
2826
2826
  r = i.__getInstance(a);
2827
2827
  else if (__VUE_I18N_LEGACY_API__) {
2828
- const c = i.__getInstance(a);
2829
- c != null && (r = c.__composer, n && r && !r[nr] && (r = null));
2828
+ const u = i.__getInstance(a);
2829
+ u != null && (r = u.__composer, n && r && !r[nr] && (r = null));
2830
2830
  }
2831
2831
  if (r != null || l === a)
2832
2832
  break;
@@ -2839,13 +2839,13 @@ function gl(e, t = !1) {
2839
2839
  }
2840
2840
  function Il(e, t, n) {
2841
2841
  let r = null;
2842
- ir(() => {
2842
+ or(() => {
2843
2843
  if (process.env.NODE_ENV !== "production" && t.vnode.el) {
2844
2844
  t.vnode.el.__VUE_I18N__ = n, r = Ir();
2845
2845
  const l = n;
2846
2846
  l[Ft] && l[Ft](r), r.on("*", An);
2847
2847
  }
2848
- }, t), cr(() => {
2848
+ }, t), ir(() => {
2849
2849
  const l = n;
2850
2850
  process.env.NODE_ENV !== "production" && t.vnode.el && t.vnode.el.__VUE_I18N__ && (r && r.off("*", An), l[Ut] && l[Ut](), delete t.vnode.el.__VUE_I18N__), e.__deleteInstance(t);
2851
2851
  const a = l[wt];
@@ -2853,44 +2853,44 @@ function Il(e, t, n) {
2853
2853
  }, t);
2854
2854
  }
2855
2855
  function vl(e, t, n, r = {}) {
2856
- const l = t === "local", a = Cn(null);
2856
+ const l = t === "local", a = hn(null);
2857
2857
  if (l && e.proxy && !(e.proxy.$options.i18n || e.proxy.$options.__i18n))
2858
2858
  throw ge(X.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);
2859
- const i = H(r.inheritLocale) ? r.inheritLocale : !C(r.locale), c = Fe(
2859
+ const i = H(r.inheritLocale) ? r.inheritLocale : !h(r.locale), u = Fe(
2860
2860
  // prettier-ignore
2861
- !l || i ? n.locale.value : C(r.locale) ? r.locale : lt
2862
- ), u = Fe(
2861
+ !l || i ? n.locale.value : h(r.locale) ? r.locale : lt
2862
+ ), c = Fe(
2863
2863
  // prettier-ignore
2864
- !l || i ? n.fallbackLocale.value : C(r.fallbackLocale) || J(r.fallbackLocale) || F(r.fallbackLocale) || r.fallbackLocale === !1 ? r.fallbackLocale : c.value
2865
- ), E = Fe(xt(c.value, r)), L = Fe(F(r.datetimeFormats) ? r.datetimeFormats : { [c.value]: {} }), I = Fe(F(r.numberFormats) ? r.numberFormats : { [c.value]: {} }), T = l ? n.missingWarn : H(r.missingWarn) || Ve(r.missingWarn) ? r.missingWarn : !0, h = l ? n.fallbackWarn : H(r.fallbackWarn) || Ve(r.fallbackWarn) ? r.fallbackWarn : !0, k = l ? n.fallbackRoot : H(r.fallbackRoot) ? r.fallbackRoot : !0, P = !!r.fallbackFormat, S = x(r.missing) ? r.missing : null, M = x(r.postTranslation) ? r.postTranslation : null, R = l ? n.warnHtmlMessage : H(r.warnHtmlMessage) ? r.warnHtmlMessage : !0, f = !!r.escapeParameter, m = l ? n.modifiers : F(r.modifiers) ? r.modifiers : {}, p = r.pluralRules || l && n.pluralRules;
2864
+ !l || i ? n.fallbackLocale.value : h(r.fallbackLocale) || J(r.fallbackLocale) || F(r.fallbackLocale) || r.fallbackLocale === !1 ? r.fallbackLocale : u.value
2865
+ ), E = Fe(xt(u.value, r)), p = Fe(F(r.datetimeFormats) ? r.datetimeFormats : { [u.value]: {} }), g = Fe(F(r.numberFormats) ? r.numberFormats : { [u.value]: {} }), T = l ? n.missingWarn : H(r.missingWarn) || Ve(r.missingWarn) ? r.missingWarn : !0, C = l ? n.fallbackWarn : H(r.fallbackWarn) || Ve(r.fallbackWarn) ? r.fallbackWarn : !0, M = l ? n.fallbackRoot : H(r.fallbackRoot) ? r.fallbackRoot : !0, S = !!r.fallbackFormat, P = x(r.missing) ? r.missing : null, y = x(r.postTranslation) ? r.postTranslation : null, R = l ? n.warnHtmlMessage : H(r.warnHtmlMessage) ? r.warnHtmlMessage : !0, f = !!r.escapeParameter, m = l ? n.modifiers : F(r.modifiers) ? r.modifiers : {}, L = r.pluralRules || l && n.pluralRules;
2866
2866
  function N() {
2867
2867
  return [
2868
- c.value,
2869
2868
  u.value,
2869
+ c.value,
2870
2870
  E.value,
2871
- L.value,
2872
- I.value
2871
+ p.value,
2872
+ g.value
2873
2873
  ];
2874
2874
  }
2875
- const g = ce({
2876
- get: () => a.value ? a.value.locale.value : c.value,
2875
+ const I = ce({
2876
+ get: () => a.value ? a.value.locale.value : u.value,
2877
2877
  set: (v) => {
2878
- a.value && (a.value.locale.value = v), c.value = v;
2878
+ a.value && (a.value.locale.value = v), u.value = v;
2879
2879
  }
2880
2880
  }), b = ce({
2881
- get: () => a.value ? a.value.fallbackLocale.value : u.value,
2881
+ get: () => a.value ? a.value.fallbackLocale.value : c.value,
2882
2882
  set: (v) => {
2883
- a.value && (a.value.fallbackLocale.value = v), u.value = v;
2883
+ a.value && (a.value.fallbackLocale.value = v), c.value = v;
2884
2884
  }
2885
- }), A = ce(() => a.value ? a.value.messages.value : E.value), K = ce(() => L.value), ae = ce(() => I.value);
2885
+ }), A = ce(() => a.value ? a.value.messages.value : E.value), K = ce(() => p.value), ae = ce(() => g.value);
2886
2886
  function U() {
2887
- return a.value ? a.value.getPostTranslationHandler() : M;
2887
+ return a.value ? a.value.getPostTranslationHandler() : y;
2888
2888
  }
2889
2889
  function Z(v) {
2890
2890
  a.value && a.value.setPostTranslationHandler(v);
2891
2891
  }
2892
2892
  function Ye() {
2893
- return a.value ? a.value.getMissingHandler() : S;
2893
+ return a.value ? a.value.getMissingHandler() : P;
2894
2894
  }
2895
2895
  function Ge(v) {
2896
2896
  a.value && a.value.setMissingHandler(v);
@@ -2929,7 +2929,7 @@ function vl(e, t, n, r = {}) {
2929
2929
  return a.value ? a.value.getDateTimeFormat(v) : {};
2930
2930
  }
2931
2931
  function Qe(v, V) {
2932
- a.value && (a.value.setDateTimeFormat(v, V), L.value[v] = V);
2932
+ a.value && (a.value.setDateTimeFormat(v, V), p.value[v] = V);
2933
2933
  }
2934
2934
  function it(v, V) {
2935
2935
  a.value && a.value.mergeDateTimeFormat(v, V);
@@ -2938,7 +2938,7 @@ function vl(e, t, n, r = {}) {
2938
2938
  return a.value ? a.value.getNumberFormat(v) : {};
2939
2939
  }
2940
2940
  function ke(v, V) {
2941
- a.value && (a.value.setNumberFormat(v, V), I.value[v] = V);
2941
+ a.value && (a.value.setNumberFormat(v, V), g.value[v] = V);
2942
2942
  }
2943
2943
  function Ze(v, V) {
2944
2944
  a.value && a.value.mergeNumberFormat(v, V);
@@ -2947,7 +2947,7 @@ function vl(e, t, n, r = {}) {
2947
2947
  get id() {
2948
2948
  return a.value ? a.value.id : -1;
2949
2949
  },
2950
- locale: g,
2950
+ locale: I,
2951
2951
  fallbackLocale: b,
2952
2952
  messages: A,
2953
2953
  datetimeFormats: K,
@@ -2965,7 +2965,7 @@ function vl(e, t, n, r = {}) {
2965
2965
  return a.value ? a.value.modifiers : m;
2966
2966
  },
2967
2967
  get pluralRules() {
2968
- return a.value ? a.value.pluralRules : p;
2968
+ return a.value ? a.value.pluralRules : L;
2969
2969
  },
2970
2970
  get isGlobal() {
2971
2971
  return a.value ? a.value.isGlobal : !1;
@@ -2977,19 +2977,19 @@ function vl(e, t, n, r = {}) {
2977
2977
  a.value && (a.value.missingWarn = v);
2978
2978
  },
2979
2979
  get fallbackWarn() {
2980
- return a.value ? a.value.fallbackWarn : h;
2980
+ return a.value ? a.value.fallbackWarn : C;
2981
2981
  },
2982
2982
  set fallbackWarn(v) {
2983
2983
  a.value && (a.value.missingWarn = v);
2984
2984
  },
2985
2985
  get fallbackRoot() {
2986
- return a.value ? a.value.fallbackRoot : k;
2986
+ return a.value ? a.value.fallbackRoot : M;
2987
2987
  },
2988
2988
  set fallbackRoot(v) {
2989
2989
  a.value && (a.value.fallbackRoot = v);
2990
2990
  },
2991
2991
  get fallbackFormat() {
2992
- return a.value ? a.value.fallbackFormat : P;
2992
+ return a.value ? a.value.fallbackFormat : S;
2993
2993
  },
2994
2994
  set fallbackFormat(v) {
2995
2995
  a.value && (a.value.fallbackFormat = v);
@@ -3027,19 +3027,19 @@ function vl(e, t, n, r = {}) {
3027
3027
  mergeNumberFormat: Ze
3028
3028
  };
3029
3029
  function et(v) {
3030
- v.locale.value = c.value, v.fallbackLocale.value = u.value, Object.keys(E.value).forEach((V) => {
3030
+ v.locale.value = u.value, v.fallbackLocale.value = c.value, Object.keys(E.value).forEach((V) => {
3031
3031
  v.mergeLocaleMessage(V, E.value[V]);
3032
- }), Object.keys(L.value).forEach((V) => {
3033
- v.mergeDateTimeFormat(V, L.value[V]);
3034
- }), Object.keys(I.value).forEach((V) => {
3035
- v.mergeNumberFormat(V, I.value[V]);
3036
- }), v.escapeParameter = f, v.fallbackFormat = P, v.fallbackRoot = k, v.fallbackWarn = h, v.missingWarn = T, v.warnHtmlMessage = R;
3032
+ }), Object.keys(p.value).forEach((V) => {
3033
+ v.mergeDateTimeFormat(V, p.value[V]);
3034
+ }), Object.keys(g.value).forEach((V) => {
3035
+ v.mergeNumberFormat(V, g.value[V]);
3036
+ }), v.escapeParameter = f, v.fallbackFormat = S, v.fallbackRoot = M, v.fallbackWarn = C, v.missingWarn = T, v.warnHtmlMessage = R;
3037
3037
  }
3038
- return or(() => {
3038
+ return cr(() => {
3039
3039
  if (e.proxy == null || e.proxy.$i18n == null)
3040
3040
  throw ge(X.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);
3041
3041
  const v = a.value = e.proxy.$i18n.__composer;
3042
- t === "global" ? (c.value = v.locale.value, u.value = v.fallbackLocale.value, E.value = v.messages.value, L.value = v.datetimeFormats.value, I.value = v.numberFormats.value) : l && et(v);
3042
+ t === "global" ? (u.value = v.locale.value, c.value = v.fallbackLocale.value, E.value = v.messages.value, p.value = v.datetimeFormats.value, g.value = v.numberFormats.value) : l && et(v);
3043
3043
  }), ze;
3044
3044
  }
3045
3045
  sl();
@@ -3058,31 +3058,31 @@ const Cl = (e, t = !1) => {
3058
3058
  get() {
3059
3059
  return ht.locale;
3060
3060
  },
3061
- set(c) {
3062
- ht.locale = c;
3061
+ set(u) {
3062
+ ht.locale = u;
3063
3063
  }
3064
3064
  });
3065
3065
  {
3066
3066
  if (!t) {
3067
- const { t: E, d: L, te: I, n: T, locale: h } = It({ messages: e == null ? void 0 : e.messages });
3067
+ const { t: E, d: p, te: g, n: T, locale: C } = It({ messages: e == null ? void 0 : e.messages });
3068
3068
  return {
3069
- locale: h,
3069
+ locale: C,
3070
3070
  t: E,
3071
3071
  tc: E,
3072
- d: L,
3073
- te: I,
3072
+ d: p,
3073
+ te: g,
3074
3074
  n: T
3075
3075
  };
3076
3076
  }
3077
- const c = bn(r), u = c == null ? void 0 : c.global;
3078
- return u && (ht = u), {
3077
+ const u = Cn(r), c = u == null ? void 0 : u.global;
3078
+ return c && (ht = c), {
3079
3079
  locale: l
3080
3080
  };
3081
3081
  }
3082
3082
  }, hl = () => "i18n-t", Pl = (e) => ({ keypath: e });
3083
3083
  export {
3084
- Pl as a,
3085
- hl as g,
3084
+ hl as a,
3085
+ Pl as g,
3086
3086
  Cl as u
3087
3087
  };
3088
- //# sourceMappingURL=i18n.WMYWtwxB.js.map
3088
+ //# sourceMappingURL=i18n.CPGoe9tN.js.map