@embeddable.com/remarkable-pro 0.1.21 → 0.1.23

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 (390) hide show
  1. package/dist/BarChartDefaultHorizontalPro.js +1 -1
  2. package/dist/BarChartDefaultPro.js +1 -1
  3. package/dist/BarChartGroupedHorizontalPro.js +1 -1
  4. package/dist/BarChartGroupedPro.js +1 -1
  5. package/dist/BarChartStackedHorizontalPro.js +1 -1
  6. package/dist/BarChartStackedPro.js +1 -1
  7. package/dist/{ChartCard-DjUR715I.js → ChartCard-DTKoe0RT.js} +5 -5
  8. package/dist/{ChartCard-DjUR715I.js.map → ChartCard-DTKoe0RT.js.map} +1 -1
  9. package/dist/{Color.type.emb-Dkp2L9zz.js → Color.type.emb-BWbn5KAT.js} +2 -2
  10. package/dist/{Color.type.emb-Dkp2L9zz.js.map → Color.type.emb-BWbn5KAT.js.map} +1 -1
  11. package/dist/ColorEditor.js +3 -3
  12. package/dist/ComparisonPeriodSelectFieldPro.js +1 -1
  13. package/dist/DateRangePickerCustomPro.js +1 -1
  14. package/dist/DateRangeSelectFieldPro.js +1 -1
  15. package/dist/{DimensionAndMeasureSingleSelectField-9gU70vr-.js → DimensionAndMeasureSingleSelectField-ZjxP2UaF.js} +3 -3
  16. package/dist/{DimensionAndMeasureSingleSelectField-9gU70vr-.js.map → DimensionAndMeasureSingleSelectField-ZjxP2UaF.js.map} +1 -1
  17. package/dist/DimensionMeasureMultiSelectFieldPro.js +1 -1
  18. package/dist/DimensionSingleSelectFieldPro.js +1 -1
  19. package/dist/DonutChartPro.js +1 -1
  20. package/dist/DonutLabelChartPro.js +1 -1
  21. package/dist/{EditorCard-Cof5a9zj.js → EditorCard-DhASZ5NL.js} +4 -4
  22. package/dist/{EditorCard-Cof5a9zj.js.map → EditorCard-DhASZ5NL.js.map} +1 -1
  23. package/dist/{GranularitySelectField-CB24o_Cl.js → GranularitySelectField-USDUQ-JX.js} +4 -4
  24. package/dist/{GranularitySelectField-CB24o_Cl.js.map → GranularitySelectField-USDUQ-JX.js.map} +1 -1
  25. package/dist/GranularitySelectFieldPro.js +1 -1
  26. package/dist/HeatMapPro.js +1 -1
  27. package/dist/HorizontalDividerPro.js +1 -1
  28. package/dist/{IconAlertCircle-xoasvzWz.js → IconAlertCircle-b2Z57ZbD.js} +3 -3
  29. package/dist/{IconAlertCircle-xoasvzWz.js.map → IconAlertCircle-b2Z57ZbD.js.map} +1 -1
  30. package/dist/{IconCalendarFilled-DhaKl-zg.js → IconCalendarFilled-DaTHLPcZ.js} +3 -3
  31. package/dist/{IconCalendarFilled-DhaKl-zg.js.map → IconCalendarFilled-DaTHLPcZ.js.map} +1 -1
  32. package/dist/KpiChartNumberComparisonPro.js +1 -1
  33. package/dist/KpiChartNumberPro.js +1 -1
  34. package/dist/LineChartComparisonDefaultPro.js +1 -1
  35. package/dist/LineChartDefaultPro.js +1 -1
  36. package/dist/LineChartGroupedPro.js +1 -1
  37. package/dist/{Markdown.type.emb-BGRYnmO0.js → Markdown.type.emb-DQYuUHBo.js} +2 -2
  38. package/dist/{Markdown.type.emb-BGRYnmO0.js.map → Markdown.type.emb-DQYuUHBo.js.map} +1 -1
  39. package/dist/MarkdownEditor.js +3 -3
  40. package/dist/MarkdownPro.js +1 -1
  41. package/dist/MeasureMultiSelectFieldPro.js +1 -1
  42. package/dist/MeasureSingleSelectFieldPro.js +1 -1
  43. package/dist/MultiSelectFieldPro.js +1 -1
  44. package/dist/PieChartPro.js +1 -1
  45. package/dist/PivotTablePro.js +1 -1
  46. package/dist/SingleSelectFieldPro.js +1 -1
  47. package/dist/TableChartPaginated.js +1 -1
  48. package/dist/TableScrollable.js +1 -1
  49. package/dist/TextFieldPro.js +1 -1
  50. package/dist/{af-okeflfyo.js → af-BHbhCdO9.js} +3 -3
  51. package/dist/{af-okeflfyo.js.map → af-BHbhCdO9.js.map} +1 -1
  52. package/dist/{am-8uMgKwbg.js → am-DbXni8Na.js} +3 -3
  53. package/dist/{am-8uMgKwbg.js.map → am-DbXni8Na.js.map} +1 -1
  54. package/dist/{ar-sFqMLn5g.js → ar-BqJT7YGT.js} +3 -3
  55. package/dist/{ar-sFqMLn5g.js.map → ar-BqJT7YGT.js.map} +1 -1
  56. package/dist/{az-Bl7Fb2Ie.js → az-DNcXLM2v.js} +3 -3
  57. package/dist/{az-Bl7Fb2Ie.js.map → az-DNcXLM2v.js.map} +1 -1
  58. package/dist/{bars.utils-BaClli7j.js → bars.utils-DUfgYLSr.js} +4 -4
  59. package/dist/{bars.utils-BaClli7j.js.map → bars.utils-DUfgYLSr.js.map} +1 -1
  60. package/dist/{be-ENrbG05s.js → be-1gzExvdt.js} +3 -3
  61. package/dist/{be-ENrbG05s.js.map → be-1gzExvdt.js.map} +1 -1
  62. package/dist/{bg-YOq-HygI.js → bg-Bf3uHYQf.js} +3 -3
  63. package/dist/{bg-YOq-HygI.js.map → bg-Bf3uHYQf.js.map} +1 -1
  64. package/dist/{bi-CGSuIE00.js → bi-9q9nwDvu.js} +3 -3
  65. package/dist/{bi-CGSuIE00.js.map → bi-9q9nwDvu.js.map} +1 -1
  66. package/dist/{bm-B8RWN_ms.js → bm-ZvzXvj2R.js} +3 -3
  67. package/dist/{bm-B8RWN_ms.js.map → bm-ZvzXvj2R.js.map} +1 -1
  68. package/dist/{bn-B_ktUmkU.js → bn-Am7sQ86o.js} +3 -3
  69. package/dist/{bn-B_ktUmkU.js.map → bn-Am7sQ86o.js.map} +1 -1
  70. package/dist/{bo-BrcW1_lA.js → bo-DQLTvAdX.js} +3 -3
  71. package/dist/{bo-BrcW1_lA.js.map → bo-DQLTvAdX.js.map} +1 -1
  72. package/dist/{br-DSAn10-m.js → br-C_W6dR8r.js} +3 -3
  73. package/dist/{br-DSAn10-m.js.map → br-C_W6dR8r.js.map} +1 -1
  74. package/dist/{bs-ClCZwvZK.js → bs-Cs5A3Pvr.js} +3 -3
  75. package/dist/{bs-ClCZwvZK.js.map → bs-Cs5A3Pvr.js.map} +1 -1
  76. package/dist/{ca-C29qOTnn.js → ca-CuZ4I6q7.js} +3 -3
  77. package/dist/{ca-C29qOTnn.js.map → ca-CuZ4I6q7.js.map} +1 -1
  78. package/dist/{charts.fillGaps.hooks-DLUbktCZ.js → charts.fillGaps.hooks-PCeJ5uuu.js} +5 -5
  79. package/dist/{charts.fillGaps.hooks-DLUbktCZ.js.map → charts.fillGaps.hooks-PCeJ5uuu.js.map} +1 -1
  80. package/dist/{charts.utils-Cr0-f92U.js → charts.utils-c8yku90J.js} +6 -6
  81. package/dist/{charts.utils-Cr0-f92U.js.map → charts.utils-c8yku90J.js.map} +1 -1
  82. package/dist/{component.inputs.constants-D__Ii2PI.js → component.inputs.constants-Cs7gX1rI.js} +4 -4
  83. package/dist/{component.inputs.constants-D__Ii2PI.js.map → component.inputs.constants-Cs7gX1rI.js.map} +1 -1
  84. package/dist/{component.utils-_CF49NeV.js → component.utils-CbnwaSi1.js} +261 -250
  85. package/dist/component.utils-CbnwaSi1.js.map +1 -0
  86. package/dist/components/charts/bars/BarChartStackedHorizontalPro/definition.d.ts +1 -1
  87. package/dist/components/charts/bars/BarChartStackedHorizontalPro/index.d.ts +3 -3
  88. package/dist/components/editors/ComparisonPeriodSelectFieldPro/ComparisonPeriodSelectFieldPro.emb.d.ts +1 -1
  89. package/dist/components/editors/ComparisonPeriodSelectFieldPro/definition.d.ts +3 -3
  90. package/dist/components/editors/DimensionOrMeasureMultiSelectFieldPro/DimensionMeasureMultiSelectFieldPro.emb.d.ts +1 -1
  91. package/dist/components/editors/DimensionOrMeasureMultiSelectFieldPro/definition.d.ts +2 -2
  92. package/dist/components/editors/DimensionOrMeasureMultiSelectFieldPro/index.d.ts.map +1 -1
  93. package/dist/components/editors/DimensionSingleSelectFieldPro/DimensionSingleSelectFieldPro.emb.d.ts +1 -1
  94. package/dist/components/editors/DimensionSingleSelectFieldPro/definition.d.ts +2 -2
  95. package/dist/components/editors/GranularitySelectFieldPro/GranularitySelectFieldPro.emb.d.ts +1 -1
  96. package/dist/components/editors/GranularitySelectFieldPro/definition.d.ts +2 -2
  97. package/dist/components/editors/MeasureMultiSelectFieldPro/MeasureMultiSelectFieldPro.emb.d.ts +1 -1
  98. package/dist/components/editors/MeasureMultiSelectFieldPro/definition.d.ts +2 -2
  99. package/dist/components/editors/MeasureMultiSelectFieldPro/index.d.ts.map +1 -1
  100. package/dist/components/editors/MeasureSingleSelectFieldPro/MeasureSingleSelectFieldPro.emb.d.ts +1 -1
  101. package/dist/components/editors/MeasureSingleSelectFieldPro/definition.d.ts +2 -2
  102. package/dist/components/editors/MultiSelectFieldPro/MultiSelectFieldPro.emb.d.ts +1 -1
  103. package/dist/components/editors/MultiSelectFieldPro/definition.d.ts +2 -2
  104. package/dist/components/editors/SingleSelectFieldPro/SingleSelectFieldPro.emb.d.ts +1 -1
  105. package/dist/components/editors/SingleSelectFieldPro/definition.d.ts +2 -2
  106. package/dist/components/editors/dates/DateRangePickerCustomPro/DateRangePickerCustomPro.emb.d.ts +1 -1
  107. package/dist/components/editors/dates/DateRangePickerCustomPro/definition.d.ts +2 -2
  108. package/dist/components/editors/dates/DateRangePickerPresetsPro/DateRangeSelectFieldPro.emb.d.ts +1 -1
  109. package/dist/components/editors/dates/DateRangePickerPresetsPro/definition.d.ts +2 -2
  110. package/dist/{cs-DMxSPQQI.js → cs-DSsdwY9t.js} +3 -3
  111. package/dist/{cs-DMxSPQQI.js.map → cs-DSsdwY9t.js.map} +1 -1
  112. package/dist/{cv-BizQOkR2.js → cv-CF_UhAm6.js} +3 -3
  113. package/dist/{cv-BizQOkR2.js.map → cv-CF_UhAm6.js.map} +1 -1
  114. package/dist/{cy-CYFAhcCR.js → cy-oSzEI_HI.js} +3 -3
  115. package/dist/{cy-CYFAhcCR.js.map → cy-oSzEI_HI.js.map} +1 -1
  116. package/dist/{da-BHMvMKPZ.js → da-DWJSYMVH.js} +3 -3
  117. package/dist/{da-BHMvMKPZ.js.map → da-DWJSYMVH.js.map} +1 -1
  118. package/dist/dates.utils-C44-7RLR.js +169 -0
  119. package/dist/{dates.utils-D3E75VEi.js.map → dates.utils-C44-7RLR.js.map} +1 -1
  120. package/dist/{de-Cx4UZsM5.js → de-yNuYoAIk.js} +3 -3
  121. package/dist/{de-Cx4UZsM5.js.map → de-yNuYoAIk.js.map} +1 -1
  122. package/dist/definition-BFuxOQNH.js +123 -0
  123. package/dist/definition-BFuxOQNH.js.map +1 -0
  124. package/dist/definition-BSqRW5IT.js +119 -0
  125. package/dist/definition-BSqRW5IT.js.map +1 -0
  126. package/dist/{definition-fhTW44k3.js → definition-BSwWyWnH.js} +9 -9
  127. package/dist/{definition-fhTW44k3.js.map → definition-BSwWyWnH.js.map} +1 -1
  128. package/dist/{definition-8nbqWIqg.js → definition-BeeYKKmk.js} +8 -8
  129. package/dist/{definition-8nbqWIqg.js.map → definition-BeeYKKmk.js.map} +1 -1
  130. package/dist/{definition-DU-9ghMn.js → definition-BsgCyaQ7.js} +7 -7
  131. package/dist/{definition-DU-9ghMn.js.map → definition-BsgCyaQ7.js.map} +1 -1
  132. package/dist/{definition-CD_eo9qj.js → definition-Bvgmq0Y0.js} +7 -7
  133. package/dist/{definition-CD_eo9qj.js.map → definition-Bvgmq0Y0.js.map} +1 -1
  134. package/dist/{definition-1PMcJFw0.js → definition-C-atn8UX.js} +21 -21
  135. package/dist/definition-C-atn8UX.js.map +1 -0
  136. package/dist/{definition-D-L7zmnC.js → definition-C3gy5J0u.js} +7 -7
  137. package/dist/{definition-D-L7zmnC.js.map → definition-C3gy5J0u.js.map} +1 -1
  138. package/dist/{definition-TjSkmjqu.js → definition-CCbRSqPX.js} +8 -8
  139. package/dist/{definition-TjSkmjqu.js.map → definition-CCbRSqPX.js.map} +1 -1
  140. package/dist/{definition-CoxOsh75.js → definition-CP4ychWJ.js} +9 -9
  141. package/dist/{definition-CoxOsh75.js.map → definition-CP4ychWJ.js.map} +1 -1
  142. package/dist/{definition-BplEviYc.js → definition-CmBHiNwT.js} +7 -7
  143. package/dist/{definition-BplEviYc.js.map → definition-CmBHiNwT.js.map} +1 -1
  144. package/dist/{definition-Bz9WRPe2.js → definition-CpilKf_f.js} +7 -7
  145. package/dist/{definition-Bz9WRPe2.js.map → definition-CpilKf_f.js.map} +1 -1
  146. package/dist/{definition-BOKEHOkI.js → definition-Crkfoxb6.js} +8 -8
  147. package/dist/definition-Crkfoxb6.js.map +1 -0
  148. package/dist/{definition-DhAlKZMJ.js → definition-CxcF8TcQ.js} +9 -9
  149. package/dist/{definition-DhAlKZMJ.js.map → definition-CxcF8TcQ.js.map} +1 -1
  150. package/dist/{definition-E-KrOL_D.js → definition-Cy7jirkQ.js} +9 -9
  151. package/dist/{definition-E-KrOL_D.js.map → definition-Cy7jirkQ.js.map} +1 -1
  152. package/dist/{definition-DdpxkPTs.js → definition-CyqvuOwz.js} +5 -5
  153. package/dist/{definition-DdpxkPTs.js.map → definition-CyqvuOwz.js.map} +1 -1
  154. package/dist/{definition-BDMrBOVj.js → definition-D2O-mHJv.js} +7 -7
  155. package/dist/definition-D2O-mHJv.js.map +1 -0
  156. package/dist/{definition-B8t570x7.js → definition-DMDXT1Tj.js} +9 -9
  157. package/dist/{definition-B8t570x7.js.map → definition-DMDXT1Tj.js.map} +1 -1
  158. package/dist/{definition-BUu2Mo1o.js → definition-DMbgucms.js} +26 -26
  159. package/dist/definition-DMbgucms.js.map +1 -0
  160. package/dist/{definition-DUT4jv0-.js → definition-DP0Iwp6_.js} +7 -7
  161. package/dist/{definition-DUT4jv0-.js.map → definition-DP0Iwp6_.js.map} +1 -1
  162. package/dist/{definition-Z97ZMe6d.js → definition-DbTSq8TE.js} +9 -9
  163. package/dist/{definition-Z97ZMe6d.js.map → definition-DbTSq8TE.js.map} +1 -1
  164. package/dist/{definition-Bs_qs6d_.js → definition-DnMzopoJ.js} +9 -9
  165. package/dist/{definition-Bs_qs6d_.js.map → definition-DnMzopoJ.js.map} +1 -1
  166. package/dist/{definition-B4ipAlf6.js → definition-Dx_ekjOR.js} +4 -4
  167. package/dist/{definition-B4ipAlf6.js.map → definition-Dx_ekjOR.js.map} +1 -1
  168. package/dist/{definition--dzQDtxP.js → definition-Dxfa1Pgg.js} +3 -3
  169. package/dist/{definition--dzQDtxP.js.map → definition-Dxfa1Pgg.js.map} +1 -1
  170. package/dist/{definition-CoVebKKF.js → definition-Dy6sdVbU.js} +8 -8
  171. package/dist/{definition-CoVebKKF.js.map → definition-Dy6sdVbU.js.map} +1 -1
  172. package/dist/{definition-MDYpyw2B.js → definition-DyMdJqf8.js} +8 -8
  173. package/dist/definition-DyMdJqf8.js.map +1 -0
  174. package/dist/{definition-BG3ZrEJm.js → definition-DzFPFv2i.js} +12 -12
  175. package/dist/definition-DzFPFv2i.js.map +1 -0
  176. package/dist/{definition-DXPnqNV5.js → definition-EyeTQ0qK.js} +7 -7
  177. package/dist/{definition-DXPnqNV5.js.map → definition-EyeTQ0qK.js.map} +1 -1
  178. package/dist/{definition-BOnf1Cme.js → definition-Sr664oUL.js} +6 -6
  179. package/dist/{definition-BOnf1Cme.js.map → definition-Sr664oUL.js.map} +1 -1
  180. package/dist/{definition-C7zlJdCy.js → definition-cZxEU0FY.js} +8 -8
  181. package/dist/{definition-C7zlJdCy.js.map → definition-cZxEU0FY.js.map} +1 -1
  182. package/dist/{definition-Cu_LH1Nn.js → definition-ghLrDO7_.js} +7 -7
  183. package/dist/{definition-Cu_LH1Nn.js.map → definition-ghLrDO7_.js.map} +1 -1
  184. package/dist/{dimensionsAndMeasures.utils-DMqGZRn4.js → dimensionsAndMeasures.utils-TtQ5NCLw.js} +2 -2
  185. package/dist/{dimensionsAndMeasures.utils-DMqGZRn4.js.map → dimensionsAndMeasures.utils-TtQ5NCLw.js.map} +1 -1
  186. package/dist/{dv-pvUzos3d.js → dv-BiPgy4vh.js} +3 -3
  187. package/dist/{dv-pvUzos3d.js.map → dv-BiPgy4vh.js.map} +1 -1
  188. package/dist/{el-DHUmQBn1.js → el-C38IT5ja.js} +3 -3
  189. package/dist/{el-DHUmQBn1.js.map → el-C38IT5ja.js.map} +1 -1
  190. package/dist/embeddable-components.json +42 -42
  191. package/dist/embeddable-theme-0137e.js +1899 -1888
  192. package/dist/{en-DnMxOJbi.js → en-WMDSKslU.js} +2 -2
  193. package/dist/{en-DnMxOJbi.js.map → en-WMDSKslU.js.map} +1 -1
  194. package/dist/{eo-Cl_ORBP9.js → eo-CM3am7kS.js} +3 -3
  195. package/dist/{eo-Cl_ORBP9.js.map → eo-CM3am7kS.js.map} +1 -1
  196. package/dist/{es-5yPSl4rk.js → es-Do58tLz3.js} +3 -3
  197. package/dist/{es-5yPSl4rk.js.map → es-Do58tLz3.js.map} +1 -1
  198. package/dist/{et-DmzNppY5.js → et-Ch1UD_N7.js} +3 -3
  199. package/dist/{et-DmzNppY5.js.map → et-Ch1UD_N7.js.map} +1 -1
  200. package/dist/{eu-BUeSx0AD.js → eu-Bx0OOE0x.js} +3 -3
  201. package/dist/{eu-BUeSx0AD.js.map → eu-Bx0OOE0x.js.map} +1 -1
  202. package/dist/{fa-DRlxIXqX.js → fa-DFII9iGG.js} +3 -3
  203. package/dist/{fa-DRlxIXqX.js.map → fa-DFII9iGG.js.map} +1 -1
  204. package/dist/{fi-CI5vCmQs.js → fi-BWJz80Be.js} +3 -3
  205. package/dist/{fi-CI5vCmQs.js.map → fi-BWJz80Be.js.map} +1 -1
  206. package/dist/{fo-CbwD6aKi.js → fo-B3XvhbID.js} +3 -3
  207. package/dist/{fo-CbwD6aKi.js.map → fo-B3XvhbID.js.map} +1 -1
  208. package/dist/{fr-GA12HLOd.js → fr-uhqgKBZ2.js} +3 -3
  209. package/dist/{fr-GA12HLOd.js.map → fr-uhqgKBZ2.js.map} +1 -1
  210. package/dist/{fy-DZNQlX1t.js → fy-B-8rsaFe.js} +3 -3
  211. package/dist/{fy-DZNQlX1t.js.map → fy-B-8rsaFe.js.map} +1 -1
  212. package/dist/{ga-PYAI761N.js → ga-B0bBXDHs.js} +3 -3
  213. package/dist/{ga-PYAI761N.js.map → ga-B0bBXDHs.js.map} +1 -1
  214. package/dist/{gd-tr4ruQwL.js → gd-C9edRiA_.js} +3 -3
  215. package/dist/{gd-tr4ruQwL.js.map → gd-C9edRiA_.js.map} +1 -1
  216. package/dist/{gl-BWRMJ6N_.js → gl-EtfdfI-R.js} +3 -3
  217. package/dist/{gl-BWRMJ6N_.js.map → gl-EtfdfI-R.js.map} +1 -1
  218. package/dist/{granularity.utils-B4PoOmv0.js → granularity.utils-zeE7RDIY.js} +3 -3
  219. package/dist/{granularity.utils-B4PoOmv0.js.map → granularity.utils-zeE7RDIY.js.map} +1 -1
  220. package/dist/{gu-DKm7Xugh.js → gu-CIww3cyY.js} +3 -3
  221. package/dist/{gu-DKm7Xugh.js.map → gu-CIww3cyY.js.map} +1 -1
  222. package/dist/{he-BktO6ydD.js → he-D99b18hQ.js} +3 -3
  223. package/dist/{he-BktO6ydD.js.map → he-D99b18hQ.js.map} +1 -1
  224. package/dist/{hi-C1Uo934G.js → hi-D6GluGo8.js} +3 -3
  225. package/dist/{hi-C1Uo934G.js.map → hi-D6GluGo8.js.map} +1 -1
  226. package/dist/{hr-pMshv9vT.js → hr-CxqKUaRz.js} +3 -3
  227. package/dist/{hr-pMshv9vT.js.map → hr-CxqKUaRz.js.map} +1 -1
  228. package/dist/{ht-CL1yJbq0.js → ht-QXFGF_yz.js} +3 -3
  229. package/dist/{ht-CL1yJbq0.js.map → ht-QXFGF_yz.js.map} +1 -1
  230. package/dist/{hu-BgobG2Vp.js → hu-QnL8bPs3.js} +3 -3
  231. package/dist/{hu-BgobG2Vp.js.map → hu-QnL8bPs3.js.map} +1 -1
  232. package/dist/{id-DVocgmIz.js → id-D2SNeNJM.js} +3 -3
  233. package/dist/{id-DVocgmIz.js.map → id-D2SNeNJM.js.map} +1 -1
  234. package/dist/{index-D3wOlvn9.js → index-CnLFSN1m.js} +2920 -2911
  235. package/dist/{index-D3wOlvn9.js.map → index-CnLFSN1m.js.map} +1 -1
  236. package/dist/{index-eUS8Vqmt.js → index-DY7Kz_Z_.js} +2 -2
  237. package/dist/{index-eUS8Vqmt.js.map → index-DY7Kz_Z_.js.map} +1 -1
  238. package/dist/{index-B6PlsjQl.js → index-_XI9rsPI.js} +2 -2
  239. package/dist/{index-B6PlsjQl.js.map → index-_XI9rsPI.js.map} +1 -1
  240. package/dist/index.d.ts +1 -1
  241. package/dist/index.js +49 -49
  242. package/dist/{is-B2YZtn5g.js → is-UcEUyT2U.js} +3 -3
  243. package/dist/{is-B2YZtn5g.js.map → is-UcEUyT2U.js.map} +1 -1
  244. package/dist/{it-dx19zX7w.js → it-B4-Y3D2n.js} +3 -3
  245. package/dist/{it-dx19zX7w.js.map → it-B4-Y3D2n.js.map} +1 -1
  246. package/dist/{ja-4DmNjY9e.js → ja-Divem4ZN.js} +3 -3
  247. package/dist/{ja-4DmNjY9e.js.map → ja-Divem4ZN.js.map} +1 -1
  248. package/dist/{jv-86FJ8g_y.js → jv-D4Hpu0KV.js} +3 -3
  249. package/dist/{jv-86FJ8g_y.js.map → jv-D4Hpu0KV.js.map} +1 -1
  250. package/dist/{ka-2VRS_tNr.js → ka-DLhqF5zu.js} +3 -3
  251. package/dist/{ka-2VRS_tNr.js.map → ka-DLhqF5zu.js.map} +1 -1
  252. package/dist/{kk-dzocVcoD.js → kk-_mnYDOa1.js} +3 -3
  253. package/dist/{kk-dzocVcoD.js.map → kk-_mnYDOa1.js.map} +1 -1
  254. package/dist/{km-7os2ymU5.js → km-D7TzqXJr.js} +3 -3
  255. package/dist/{km-7os2ymU5.js.map → km-D7TzqXJr.js.map} +1 -1
  256. package/dist/{kn-DTBQsO7Y.js → kn-DW4Rh-mj.js} +3 -3
  257. package/dist/{kn-DTBQsO7Y.js.map → kn-DW4Rh-mj.js.map} +1 -1
  258. package/dist/{ko-B74qeftS.js → ko-BIjkG-X2.js} +3 -3
  259. package/dist/{ko-B74qeftS.js.map → ko-BIjkG-X2.js.map} +1 -1
  260. package/dist/{ku-NIjttHpt.js → ku-C1uAobZb.js} +3 -3
  261. package/dist/{ku-NIjttHpt.js.map → ku-C1uAobZb.js.map} +1 -1
  262. package/dist/{ky-CwGENX4f.js → ky-xgj6Gcwf.js} +3 -3
  263. package/dist/{ky-CwGENX4f.js.map → ky-xgj6Gcwf.js.map} +1 -1
  264. package/dist/{lb-NibvCcmh.js → lb-C7cF6f-g.js} +3 -3
  265. package/dist/{lb-NibvCcmh.js.map → lb-C7cF6f-g.js.map} +1 -1
  266. package/dist/{lo-CnUkzu86.js → lo-FaIVc2eA.js} +3 -3
  267. package/dist/{lo-CnUkzu86.js.map → lo-FaIVc2eA.js.map} +1 -1
  268. package/dist/{lt-Q5L9WrUi.js → lt-B7wp3hbG.js} +3 -3
  269. package/dist/{lt-Q5L9WrUi.js.map → lt-B7wp3hbG.js.map} +1 -1
  270. package/dist/{lv-6Mq_Wq_-.js → lv-BykbEb2K.js} +3 -3
  271. package/dist/{lv-6Mq_Wq_-.js.map → lv-BykbEb2K.js.map} +1 -1
  272. package/dist/{me-BK6Fnaok.js → me-DkHp_0Gh.js} +3 -3
  273. package/dist/{me-BK6Fnaok.js.map → me-DkHp_0Gh.js.map} +1 -1
  274. package/dist/{mi-CGLMKFkB.js → mi-Cc5Vvuhu.js} +3 -3
  275. package/dist/{mi-CGLMKFkB.js.map → mi-Cc5Vvuhu.js.map} +1 -1
  276. package/dist/{mk-CZ8G7wp3.js → mk-1ERieVdU.js} +3 -3
  277. package/dist/{mk-CZ8G7wp3.js.map → mk-1ERieVdU.js.map} +1 -1
  278. package/dist/{ml-D7o8zJDT.js → ml-B4N_N2Tz.js} +3 -3
  279. package/dist/{ml-D7o8zJDT.js.map → ml-B4N_N2Tz.js.map} +1 -1
  280. package/dist/{mn-DFkFz0BK.js → mn-CPE3K1O4.js} +3 -3
  281. package/dist/{mn-DFkFz0BK.js.map → mn-CPE3K1O4.js.map} +1 -1
  282. package/dist/{mr-1R9UT7NO.js → mr-BCMTBOaB.js} +3 -3
  283. package/dist/{mr-1R9UT7NO.js.map → mr-BCMTBOaB.js.map} +1 -1
  284. package/dist/{ms-Cfb64blT.js → ms-DmO1bIlb.js} +3 -3
  285. package/dist/{ms-Cfb64blT.js.map → ms-DmO1bIlb.js.map} +1 -1
  286. package/dist/{mt-gkVGVOzF.js → mt-CmjQyTfP.js} +3 -3
  287. package/dist/{mt-gkVGVOzF.js.map → mt-CmjQyTfP.js.map} +1 -1
  288. package/dist/{my-CL7SUvm8.js → my-CUdu1hRW.js} +3 -3
  289. package/dist/{my-CL7SUvm8.js.map → my-CUdu1hRW.js.map} +1 -1
  290. package/dist/{nb-D2jZpOc9.js → nb-BAPLn7-c.js} +3 -3
  291. package/dist/{nb-D2jZpOc9.js.map → nb-BAPLn7-c.js.map} +1 -1
  292. package/dist/{ne-DPAJkrbQ.js → ne-BLcv-PjQ.js} +3 -3
  293. package/dist/{ne-DPAJkrbQ.js.map → ne-BLcv-PjQ.js.map} +1 -1
  294. package/dist/{nl-GHAYEpfT.js → nl-BXHQtVn6.js} +3 -3
  295. package/dist/{nl-GHAYEpfT.js.map → nl-BXHQtVn6.js.map} +1 -1
  296. package/dist/{nn-BDUJm5oa.js → nn-BRiokkKV.js} +3 -3
  297. package/dist/{nn-BDUJm5oa.js.map → nn-BRiokkKV.js.map} +1 -1
  298. package/dist/{pies.utils-BShIepeZ.js → pies.utils-CjGWf1L1.js} +5 -5
  299. package/dist/{pies.utils-BShIepeZ.js.map → pies.utils-CjGWf1L1.js.map} +1 -1
  300. package/dist/{pl-qBglIGhY.js → pl-Dn913KCd.js} +3 -3
  301. package/dist/{pl-qBglIGhY.js.map → pl-Dn913KCd.js.map} +1 -1
  302. package/dist/{preview.data.constants-CYT4J-3P.js → preview.data.constants-BZ8b6ZQ1.js} +4 -4
  303. package/dist/{preview.data.constants-CYT4J-3P.js.map → preview.data.constants-BZ8b6ZQ1.js.map} +1 -1
  304. package/dist/{pt-a8HzePT-.js → pt-ztNuHZvN.js} +3 -3
  305. package/dist/{pt-a8HzePT-.js.map → pt-ztNuHZvN.js.map} +1 -1
  306. package/dist/{quarterOfYear-D2IgLNnH.js → quarterOfYear-BLO_Qaw2.js} +2 -2
  307. package/dist/{quarterOfYear-D2IgLNnH.js.map → quarterOfYear-BLO_Qaw2.js.map} +1 -1
  308. package/dist/{ro-F3d2EIBA.js → ro-DnRa-yLa.js} +3 -3
  309. package/dist/{ro-F3d2EIBA.js.map → ro-DnRa-yLa.js.map} +1 -1
  310. package/dist/{ru-_Lvi_pED.js → ru-B17T7YXz.js} +3 -3
  311. package/dist/{ru-_Lvi_pED.js.map → ru-B17T7YXz.js.map} +1 -1
  312. package/dist/{rw-sO7Xw9NO.js → rw-dfvx0j_c.js} +3 -3
  313. package/dist/{rw-sO7Xw9NO.js.map → rw-dfvx0j_c.js.map} +1 -1
  314. package/dist/{sd-CoaJVftw.js → sd-cVwDrcow.js} +3 -3
  315. package/dist/{sd-CoaJVftw.js.map → sd-cVwDrcow.js.map} +1 -1
  316. package/dist/{se-uG6o0c20.js → se-CS_WO_qF.js} +3 -3
  317. package/dist/{se-uG6o0c20.js.map → se-CS_WO_qF.js.map} +1 -1
  318. package/dist/{si-B2LysnDA.js → si-CE8rfUDW.js} +3 -3
  319. package/dist/{si-B2LysnDA.js.map → si-CE8rfUDW.js.map} +1 -1
  320. package/dist/{sk-D0ZzIyZE.js → sk-CAMFgh-X.js} +3 -3
  321. package/dist/{sk-D0ZzIyZE.js.map → sk-CAMFgh-X.js.map} +1 -1
  322. package/dist/{sl-DMPskdXm.js → sl-CpGnBko6.js} +3 -3
  323. package/dist/{sl-DMPskdXm.js.map → sl-CpGnBko6.js.map} +1 -1
  324. package/dist/{sq-lGzT5uKO.js → sq-BhALWUWq.js} +3 -3
  325. package/dist/{sq-lGzT5uKO.js.map → sq-BhALWUWq.js.map} +1 -1
  326. package/dist/{sr-CISnUrtz.js → sr-CyISptVy.js} +3 -3
  327. package/dist/{sr-CISnUrtz.js.map → sr-CyISptVy.js.map} +1 -1
  328. package/dist/{ss-CYA7jCos.js → ss-DJR7n6FE.js} +3 -3
  329. package/dist/{ss-CYA7jCos.js.map → ss-DJR7n6FE.js.map} +1 -1
  330. package/dist/{sv-BneaTv1-.js → sv-CHIPKZsb.js} +3 -3
  331. package/dist/{sv-BneaTv1-.js.map → sv-CHIPKZsb.js.map} +1 -1
  332. package/dist/{sw-BkJdXgf2.js → sw-DTkRmhtP.js} +3 -3
  333. package/dist/{sw-BkJdXgf2.js.map → sw-DTkRmhtP.js.map} +1 -1
  334. package/dist/{ta-CN0enTZj.js → ta-CGFUN13n.js} +3 -3
  335. package/dist/{ta-CN0enTZj.js.map → ta-CGFUN13n.js.map} +1 -1
  336. package/dist/{tables.utils-C4zY450G.js → tables.utils-o7rLEWDn.js} +4 -4
  337. package/dist/{tables.utils-C4zY450G.js.map → tables.utils-o7rLEWDn.js.map} +1 -1
  338. package/dist/{te-RBMP4vbo.js → te-B_lhF00-.js} +3 -3
  339. package/dist/{te-RBMP4vbo.js.map → te-B_lhF00-.js.map} +1 -1
  340. package/dist/{tet-p7Gq1cxO.js → tet-BcxwTdX8.js} +3 -3
  341. package/dist/{tet-p7Gq1cxO.js.map → tet-BcxwTdX8.js.map} +1 -1
  342. package/dist/{tg-Cz5rcIFE.js → tg-CP_affLn.js} +3 -3
  343. package/dist/{tg-Cz5rcIFE.js.map → tg-CP_affLn.js.map} +1 -1
  344. package/dist/{th-y4Ooy6TB.js → th-bAebajDP.js} +3 -3
  345. package/dist/{th-y4Ooy6TB.js.map → th-bAebajDP.js.map} +1 -1
  346. package/dist/{timeRange.utils-D6Qu5F3t.js → timeRange.utils-HfS6K7Bt.js} +2 -2
  347. package/dist/{timeRange.utils-D6Qu5F3t.js.map → timeRange.utils-HfS6K7Bt.js.map} +1 -1
  348. package/dist/{tk-Cid10Asm.js → tk-Bb_sbstL.js} +3 -3
  349. package/dist/{tk-Cid10Asm.js.map → tk-Bb_sbstL.js.map} +1 -1
  350. package/dist/{tlh-BkD8ilke.js → tlh-CFh0r2li.js} +3 -3
  351. package/dist/{tlh-BkD8ilke.js.map → tlh-CFh0r2li.js.map} +1 -1
  352. package/dist/{tr--0WfqfyX.js → tr-BjG2Zq1u.js} +3 -3
  353. package/dist/{tr--0WfqfyX.js.map → tr-BjG2Zq1u.js.map} +1 -1
  354. package/dist/{tzl-r_iKHtF6.js → tzl-BrQzVyFe.js} +3 -3
  355. package/dist/{tzl-r_iKHtF6.js.map → tzl-BrQzVyFe.js.map} +1 -1
  356. package/dist/{tzm-Bc-MMr7G.js → tzm-CZRbdbPB.js} +3 -3
  357. package/dist/{tzm-Bc-MMr7G.js.map → tzm-CZRbdbPB.js.map} +1 -1
  358. package/dist/{uk-DPpwhMHf.js → uk-1EGi3xXq.js} +3 -3
  359. package/dist/{uk-DPpwhMHf.js.map → uk-1EGi3xXq.js.map} +1 -1
  360. package/dist/{ur-CQBXg7nO.js → ur-w9CD4c6z.js} +3 -3
  361. package/dist/{ur-CQBXg7nO.js.map → ur-w9CD4c6z.js.map} +1 -1
  362. package/dist/{utc-DFMtRhWZ.js → utc-OYNdM3Of.js} +2 -2
  363. package/dist/{utc-DFMtRhWZ.js.map → utc-OYNdM3Of.js.map} +1 -1
  364. package/dist/{uz-DVKxv2QI.js → uz-C0-0xpFg.js} +3 -3
  365. package/dist/{uz-DVKxv2QI.js.map → uz-C0-0xpFg.js.map} +1 -1
  366. package/dist/{vi-XVfeMEM9.js → vi-o3kl04CL.js} +3 -3
  367. package/dist/{vi-XVfeMEM9.js.map → vi-o3kl04CL.js.map} +1 -1
  368. package/dist/{x-pseudo-Df3JNAFe.js → x-pseudo-Bpdxtjwi.js} +3 -3
  369. package/dist/{x-pseudo-Df3JNAFe.js.map → x-pseudo-Bpdxtjwi.js.map} +1 -1
  370. package/dist/{yo-CHgdOXC0.js → yo-HNhGkPRC.js} +3 -3
  371. package/dist/{yo-CHgdOXC0.js.map → yo-HNhGkPRC.js.map} +1 -1
  372. package/dist/{zh-cn-DTng-BqK.js → zh-cn-CXPsCwmH.js} +3 -3
  373. package/dist/{zh-cn-DTng-BqK.js.map → zh-cn-CXPsCwmH.js.map} +1 -1
  374. package/dist/{zh-hk-DvcBC01L.js → zh-hk-Dkw_O0EJ.js} +3 -3
  375. package/dist/{zh-hk-DvcBC01L.js.map → zh-hk-Dkw_O0EJ.js.map} +1 -1
  376. package/dist/{zh-tw-CWU5L3PW.js → zh-tw-Crtx9ZQU.js} +3 -3
  377. package/dist/{zh-tw-CWU5L3PW.js.map → zh-tw-Crtx9ZQU.js.map} +1 -1
  378. package/package.json +2 -2
  379. package/dist/component.utils-_CF49NeV.js.map +0 -1
  380. package/dist/dates.utils-D3E75VEi.js +0 -169
  381. package/dist/definition-1PMcJFw0.js.map +0 -1
  382. package/dist/definition-BDMrBOVj.js.map +0 -1
  383. package/dist/definition-BG3ZrEJm.js.map +0 -1
  384. package/dist/definition-BOKEHOkI.js.map +0 -1
  385. package/dist/definition-BUu2Mo1o.js.map +0 -1
  386. package/dist/definition-CB_a-Pf7.js +0 -111
  387. package/dist/definition-CB_a-Pf7.js.map +0 -1
  388. package/dist/definition-Dis4VDux.js +0 -115
  389. package/dist/definition-Dis4VDux.js.map +0 -1
  390. package/dist/definition-MDYpyw2B.js.map +0 -1
@@ -1,4 +1,4 @@
1
- const g = (a) => typeof a == "string", K = () => {
1
+ const g = (a) => typeof a == "string", A = () => {
2
2
  let a, e;
3
3
  const t = new Promise((s, i) => {
4
4
  a = s, e = i;
@@ -8,7 +8,7 @@ const g = (a) => typeof a == "string", K = () => {
8
8
  a.forEach((s) => {
9
9
  e[s] && (t[s] = e[s]);
10
10
  });
11
- }, Ce = /###/g, re = (a) => a && a.indexOf("###") > -1 ? a.replace(Ce, ".") : a, ae = (a) => !a || g(a), A = (a, e, t) => {
11
+ }, Ce = /###/g, re = (a) => a && a.indexOf("###") > -1 ? a.replace(Ce, ".") : a, ae = (a) => !a || g(a), K = (a, e, t) => {
12
12
  const s = g(e) ? e.split(".") : e;
13
13
  let i = 0;
14
14
  for (; i < s.length - 1; ) {
@@ -24,37 +24,37 @@ const g = (a) => typeof a == "string", K = () => {
24
24
  const {
25
25
  obj: s,
26
26
  k: i
27
- } = A(a, e, Object);
27
+ } = K(a, e, Object);
28
28
  if (s !== void 0 || e.length === 1) {
29
29
  s[i] = t;
30
30
  return;
31
31
  }
32
- let n = e[e.length - 1], r = e.slice(0, e.length - 1), o = A(a, r, Object);
32
+ let n = e[e.length - 1], r = e.slice(0, e.length - 1), o = K(a, r, Object);
33
33
  for (; o.obj === void 0 && r.length; )
34
- n = `${r[r.length - 1]}.${n}`, r = r.slice(0, r.length - 1), o = A(a, r, Object), o != null && o.obj && typeof o.obj[`${o.k}.${n}`] < "u" && (o.obj = void 0);
34
+ n = `${r[r.length - 1]}.${n}`, r = r.slice(0, r.length - 1), o = K(a, r, Object), o != null && o.obj && typeof o.obj[`${o.k}.${n}`] < "u" && (o.obj = void 0);
35
35
  o.obj[`${o.k}.${n}`] = t;
36
36
  }, ve = (a, e, t, s) => {
37
37
  const {
38
38
  obj: i,
39
39
  k: n
40
- } = A(a, e, Object);
40
+ } = K(a, e, Object);
41
41
  i[n] = i[n] || [], i[n].push(t);
42
- }, J = (a, e) => {
42
+ }, _ = (a, e) => {
43
43
  const {
44
44
  obj: t,
45
45
  k: s
46
- } = A(a, e);
46
+ } = K(a, e);
47
47
  if (t && Object.prototype.hasOwnProperty.call(t, s))
48
48
  return t[s];
49
49
  }, Pe = (a, e, t) => {
50
- const s = J(a, t);
51
- return s !== void 0 ? s : J(e, t);
50
+ const s = _(a, t);
51
+ return s !== void 0 ? s : _(e, t);
52
52
  }, xe = (a, e, t) => {
53
53
  for (const s in e)
54
54
  s !== "__proto__" && s !== "constructor" && (s in a ? g(a[s]) || a[s] instanceof String || g(e[s]) || e[s] instanceof String ? t && (a[s] = e[s]) : xe(a[s], e[s], t) : a[s] = e[s]);
55
55
  return a;
56
56
  }, I = (a) => a.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
57
- var Re = {
57
+ var $e = {
58
58
  "&": "&amp;",
59
59
  "<": "&lt;",
60
60
  ">": "&gt;",
@@ -62,7 +62,7 @@ var Re = {
62
62
  "'": "&#39;",
63
63
  "/": "&#x2F;"
64
64
  };
65
- const $e = (a) => g(a) ? a.replace(/[&<>"'\/]/g, (e) => Re[e]) : a;
65
+ const Re = (a) => g(a) ? a.replace(/[&<>"'\/]/g, (e) => $e[e]) : a;
66
66
  class Ne {
67
67
  constructor(e) {
68
68
  this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
@@ -86,7 +86,7 @@ const ke = [" ", ",", "?", "!", ";"], je = new Ne(20), Fe = (a, e, t) => {
86
86
  r > 0 && !i.test(a.substring(0, r)) && (n = !0);
87
87
  }
88
88
  return n;
89
- }, X = (a, e, t = ".") => {
89
+ }, q = (a, e, t = ".") => {
90
90
  if (!a) return;
91
91
  if (a[e])
92
92
  return Object.prototype.hasOwnProperty.call(a, e) ? a[e] : void 0;
@@ -96,17 +96,17 @@ const ke = [" ", ",", "?", "!", ";"], je = new Ne(20), Fe = (a, e, t) => {
96
96
  if (!i || typeof i != "object")
97
97
  return;
98
98
  let r, o = "";
99
- for (let u = n; u < s.length; ++u)
100
- if (u !== n && (o += t), o += s[u], r = i[o], r !== void 0) {
101
- if (["string", "number", "boolean"].indexOf(typeof r) > -1 && u < s.length - 1)
99
+ for (let l = n; l < s.length; ++l)
100
+ if (l !== n && (o += t), o += s[l], r = i[o], r !== void 0) {
101
+ if (["string", "number", "boolean"].indexOf(typeof r) > -1 && l < s.length - 1)
102
102
  continue;
103
- n += u - n + 1;
103
+ n += l - n + 1;
104
104
  break;
105
105
  }
106
106
  i = r;
107
107
  }
108
108
  return i;
109
- }, H = (a) => a == null ? void 0 : a.replace("_", "-"), Ee = {
109
+ }, M = (a) => a == null ? void 0 : a.replace(/_/g, "-"), Ee = {
110
110
  type: "logger",
111
111
  log(a) {
112
112
  this.output("log", a);
@@ -122,7 +122,7 @@ const ke = [" ", ",", "?", "!", ";"], je = new Ne(20), Fe = (a, e, t) => {
122
122
  (s = (t = console == null ? void 0 : console[a]) == null ? void 0 : t.apply) == null || s.call(t, console, e);
123
123
  }
124
124
  };
125
- class _ {
125
+ class W {
126
126
  constructor(e, t = {}) {
127
127
  this.init(e, t);
128
128
  }
@@ -145,17 +145,17 @@ class _ {
145
145
  return i && !this.debug ? null : (g(e[0]) && (e[0] = `${s}${this.prefix} ${e[0]}`), this.logger[t](e));
146
146
  }
147
147
  create(e) {
148
- return new _(this.logger, {
148
+ return new W(this.logger, {
149
149
  prefix: `${this.prefix}:${e}:`,
150
150
  ...this.options
151
151
  });
152
152
  }
153
153
  clone(e) {
154
- return e = e || this.options, e.prefix = e.prefix || this.prefix, new _(this.logger, e);
154
+ return e = e || this.options, e.prefix = e.prefix || this.prefix, new W(this.logger, e);
155
155
  }
156
156
  }
157
- var $ = new _();
158
- class Y {
157
+ var R = new W();
158
+ class G {
159
159
  constructor() {
160
160
  this.observers = {};
161
161
  }
@@ -185,7 +185,7 @@ class Y {
185
185
  });
186
186
  }
187
187
  }
188
- class le extends Y {
188
+ class le extends G {
189
189
  constructor(e, t = {
190
190
  ns: ["translation"],
191
191
  defaultNS: "translation"
@@ -200,12 +200,12 @@ class le extends Y {
200
200
  t > -1 && this.options.ns.splice(t, 1);
201
201
  }
202
202
  getResource(e, t, s, i = {}) {
203
- var l, c;
203
+ var u, c;
204
204
  const n = i.keySeparator !== void 0 ? i.keySeparator : this.options.keySeparator, r = i.ignoreJSONStructure !== void 0 ? i.ignoreJSONStructure : this.options.ignoreJSONStructure;
205
205
  let o;
206
206
  e.indexOf(".") > -1 ? o = e.split(".") : (o = [e, t], s && (Array.isArray(s) ? o.push(...s) : g(s) && n ? o.push(...s.split(n)) : o.push(s)));
207
- const u = J(this.data, o);
208
- return !u && !t && !s && e.indexOf(".") > -1 && (e = o[0], t = o[1], s = o.slice(2).join(".")), u || !r || !g(s) ? u : X((c = (l = this.data) == null ? void 0 : l[e]) == null ? void 0 : c[t], s, n);
207
+ const l = _(this.data, o);
208
+ return !l && !t && !s && e.indexOf(".") > -1 && (e = o[0], t = o[1], s = o.slice(2).join(".")), l || !r || !g(s) ? l : q((c = (u = this.data) == null ? void 0 : u[e]) == null ? void 0 : c[t], s, n);
209
209
  }
210
210
  addResource(e, t, s, i, n = {
211
211
  silent: !1
@@ -229,11 +229,11 @@ class le extends Y {
229
229
  }) {
230
230
  let o = [e, t];
231
231
  e.indexOf(".") > -1 && (o = e.split("."), i = s, s = t, t = o[1]), this.addNamespaces(t);
232
- let u = J(this.data, o) || {};
233
- r.skipCopy || (s = JSON.parse(JSON.stringify(s))), i ? xe(u, s, n) : u = {
234
- ...u,
232
+ let l = _(this.data, o) || {};
233
+ r.skipCopy || (s = JSON.parse(JSON.stringify(s))), i ? xe(l, s, n) : l = {
234
+ ...l,
235
235
  ...s
236
- }, oe(this.data, o, u), r.silent || this.emit("added", e, t, s);
236
+ }, oe(this.data, o, l), r.silent || this.emit("added", e, t, s);
237
237
  }
238
238
  removeResourceBundle(e, t) {
239
239
  this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t);
@@ -276,16 +276,21 @@ function Ie() {
276
276
  return (n = t == null ? void 0 : t.revoke) == null || n.call(t), i === Se ? a : (a.push(i), t = Proxy.revocable(s, e), t.proxy);
277
277
  }, Proxy.revocable(/* @__PURE__ */ Object.create(null), e).proxy;
278
278
  }
279
- function q(a, e) {
279
+ function U(a, e) {
280
280
  const {
281
281
  [Se]: t
282
- } = a(Ie());
283
- return t.join((e == null ? void 0 : e.keySeparator) ?? ".");
282
+ } = a(Ie()), s = (e == null ? void 0 : e.keySeparator) ?? ".", i = (e == null ? void 0 : e.nsSeparator) ?? ":";
283
+ if (t.length > 1 && i) {
284
+ const n = e == null ? void 0 : e.ns;
285
+ if ((n ? Array.isArray(n) ? n : [n] : []).includes(t[0]))
286
+ return `${t[0]}${i}${t.slice(1).join(s)}`;
287
+ }
288
+ return t.join(s);
284
289
  }
285
- const ue = {}, G = (a) => !g(a) && typeof a != "boolean" && typeof a != "number";
286
- class W extends Y {
290
+ const ue = {}, Q = (a) => !g(a) && typeof a != "boolean" && typeof a != "number";
291
+ class Y extends G {
287
292
  constructor(e, t = {}) {
288
- super(), we(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = $.create("translator");
293
+ super(), we(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = R.create("translator");
289
294
  }
290
295
  changeLanguage(e) {
291
296
  e && (this.language = e);
@@ -299,7 +304,7 @@ class W extends Y {
299
304
  if (e == null) return !1;
300
305
  const i = this.resolve(e, s);
301
306
  if ((i == null ? void 0 : i.res) === void 0) return !1;
302
- const n = G(i.res);
307
+ const n = Q(i.res);
303
308
  return !(s.returnObjects === !1 && n);
304
309
  }
305
310
  extractFromKey(e, t) {
@@ -309,14 +314,14 @@ class W extends Y {
309
314
  let n = t.ns || this.options.defaultNS || [];
310
315
  const r = s && e.indexOf(s) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !Fe(e, s, i);
311
316
  if (r && !o) {
312
- const u = e.match(this.interpolator.nestingRegexp);
313
- if (u && u.length > 0)
317
+ const l = e.match(this.interpolator.nestingRegexp);
318
+ if (l && l.length > 0)
314
319
  return {
315
320
  key: e,
316
321
  namespaces: g(n) ? [n] : n
317
322
  };
318
- const l = e.split(s);
319
- (s !== i || s === i && this.options.ns.indexOf(l[0]) > -1) && (n = l.shift()), e = l.join(i);
323
+ const u = e.split(s);
324
+ (s !== i || s === i && this.options.ns.indexOf(u[0]) > -1) && (n = u.shift()), e = u.join(i);
320
325
  }
321
326
  return {
322
327
  key: e,
@@ -330,107 +335,110 @@ class W extends Y {
330
335
  if (typeof i != "object" && this.options.overloadTranslationOptionHandler && (i = this.options.overloadTranslationOptionHandler(arguments)), typeof i == "object" && (i = {
331
336
  ...i
332
337
  }), i || (i = {}), e == null) return "";
333
- typeof e == "function" && (e = q(e, {
338
+ typeof e == "function" && (e = U(e, {
339
+ ...this.options,
340
+ ...i
341
+ })), Array.isArray(e) || (e = [String(e)]), e = e.map((L) => typeof L == "function" ? U(L, {
334
342
  ...this.options,
335
343
  ...i
336
- })), Array.isArray(e) || (e = [String(e)]);
344
+ }) : String(L));
337
345
  const n = i.returnDetails !== void 0 ? i.returnDetails : this.options.returnDetails, r = i.keySeparator !== void 0 ? i.keySeparator : this.options.keySeparator, {
338
346
  key: o,
339
- namespaces: u
340
- } = this.extractFromKey(e[e.length - 1], i), l = u[u.length - 1];
347
+ namespaces: l
348
+ } = this.extractFromKey(e[e.length - 1], i), u = l[l.length - 1];
341
349
  let c = i.nsSeparator !== void 0 ? i.nsSeparator : this.options.nsSeparator;
342
350
  c === void 0 && (c = ":");
343
351
  const f = i.lng || this.language, p = i.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
344
352
  if ((f == null ? void 0 : f.toLowerCase()) === "cimode")
345
353
  return p ? n ? {
346
- res: `${l}${c}${o}`,
354
+ res: `${u}${c}${o}`,
347
355
  usedKey: o,
348
356
  exactUsedKey: o,
349
357
  usedLng: f,
350
- usedNS: l,
358
+ usedNS: u,
351
359
  usedParams: this.getUsedParamsDetails(i)
352
- } : `${l}${c}${o}` : n ? {
360
+ } : `${u}${c}${o}` : n ? {
353
361
  res: o,
354
362
  usedKey: o,
355
363
  exactUsedKey: o,
356
364
  usedLng: f,
357
- usedNS: l,
365
+ usedNS: u,
358
366
  usedParams: this.getUsedParamsDetails(i)
359
367
  } : o;
360
368
  const d = this.resolve(e, i);
361
369
  let h = d == null ? void 0 : d.res;
362
- const m = (d == null ? void 0 : d.usedKey) || o, x = (d == null ? void 0 : d.exactUsedKey) || o, O = ["[object Number]", "[object Function]", "[object RegExp]"], C = i.joinArrays !== void 0 ? i.joinArrays : this.options.joinArrays, F = !this.i18nFormat || this.i18nFormat.handleAsObject, b = i.count !== void 0 && !g(i.count), N = W.hasDefaultValue(i), M = b ? this.pluralResolver.getSuffix(f, i.count, i) : "", k = i.ordinal && b ? this.pluralResolver.getSuffix(f, i.count, {
370
+ const m = (d == null ? void 0 : d.usedKey) || o, x = (d == null ? void 0 : d.exactUsedKey) || o, O = ["[object Number]", "[object Function]", "[object RegExp]"], v = i.joinArrays !== void 0 ? i.joinArrays : this.options.joinArrays, F = !this.i18nFormat || this.i18nFormat.handleAsObject, b = i.count !== void 0 && !g(i.count), N = Y.hasDefaultValue(i), z = b ? this.pluralResolver.getSuffix(f, i.count, i) : "", k = i.ordinal && b ? this.pluralResolver.getSuffix(f, i.count, {
363
371
  ordinal: !1
364
- }) : "", T = b && !i.ordinal && i.count === 0, L = T && i[`defaultValue${this.options.pluralSeparator}zero`] || i[`defaultValue${M}`] || i[`defaultValue${k}`] || i.defaultValue;
372
+ }) : "", T = b && !i.ordinal && i.count === 0, w = T && i[`defaultValue${this.options.pluralSeparator}zero`] || i[`defaultValue${z}`] || i[`defaultValue${k}`] || i.defaultValue;
365
373
  let S = h;
366
- F && !h && N && (S = L);
367
- const be = G(S), Le = Object.prototype.toString.apply(S);
368
- if (F && S && be && O.indexOf(Le) < 0 && !(g(C) && Array.isArray(S))) {
374
+ F && !h && N && (S = w);
375
+ const be = Q(S), Le = Object.prototype.toString.apply(S);
376
+ if (F && S && be && O.indexOf(Le) < 0 && !(g(v) && Array.isArray(S))) {
369
377
  if (!i.returnObjects && !this.options.returnObjects) {
370
378
  this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
371
- const P = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(m, S, {
379
+ const L = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(m, S, {
372
380
  ...i,
373
- ns: u
381
+ ns: l
374
382
  }) : `key '${o} (${this.language})' returned an object instead of string.`;
375
- return n ? (d.res = P, d.usedParams = this.getUsedParamsDetails(i), d) : P;
383
+ return n ? (d.res = L, d.usedParams = this.getUsedParamsDetails(i), d) : L;
376
384
  }
377
385
  if (r) {
378
- const P = Array.isArray(S), v = P ? [] : {}, ee = P ? x : m;
379
- for (const R in S)
380
- if (Object.prototype.hasOwnProperty.call(S, R)) {
381
- const j = `${ee}${r}${R}`;
382
- N && !h ? v[R] = this.translate(j, {
386
+ const L = Array.isArray(S), P = L ? [] : {}, ee = L ? x : m;
387
+ for (const $ in S)
388
+ if (Object.prototype.hasOwnProperty.call(S, $)) {
389
+ const j = `${ee}${r}${$}`;
390
+ N && !h ? P[$] = this.translate(j, {
383
391
  ...i,
384
- defaultValue: G(L) ? L[R] : void 0,
392
+ defaultValue: Q(w) ? w[$] : void 0,
385
393
  joinArrays: !1,
386
- ns: u
387
- }) : v[R] = this.translate(j, {
394
+ ns: l
395
+ }) : P[$] = this.translate(j, {
388
396
  ...i,
389
397
  joinArrays: !1,
390
- ns: u
391
- }), v[R] === j && (v[R] = S[R]);
398
+ ns: l
399
+ }), P[$] === j && (P[$] = S[$]);
392
400
  }
393
- h = v;
401
+ h = P;
394
402
  }
395
- } else if (F && g(C) && Array.isArray(h))
396
- h = h.join(C), h && (h = this.extendTranslation(h, e, i, s));
403
+ } else if (F && g(v) && Array.isArray(h))
404
+ h = h.join(v), h && (h = this.extendTranslation(h, e, i, s));
397
405
  else {
398
- let P = !1, v = !1;
399
- !this.isValidLookup(h) && N && (P = !0, h = L), this.isValidLookup(h) || (v = !0, h = o);
400
- const R = (i.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && v ? void 0 : h, j = N && L !== h && this.options.updateMissing;
401
- if (v || P || j) {
402
- if (this.logger.log(j ? "updateKey" : "missingKey", f, l, o, j ? L : h), r) {
403
- const w = this.resolve(o, {
406
+ let L = !1, P = !1;
407
+ !this.isValidLookup(h) && N && (L = !0, h = w), this.isValidLookup(h) || (P = !0, h = o);
408
+ const $ = (i.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && P ? void 0 : h, j = N && w !== h && this.options.updateMissing;
409
+ if (P || L || j) {
410
+ if (this.logger.log(j ? "updateKey" : "missingKey", f, u, o, j ? w : h), r) {
411
+ const C = this.resolve(o, {
404
412
  ...i,
405
413
  keySeparator: !1
406
414
  });
407
- w && w.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
415
+ C && C.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
408
416
  }
409
417
  let V = [];
410
- const z = this.languageUtils.getFallbackCodes(this.options.fallbackLng, i.lng || this.language);
411
- if (this.options.saveMissingTo === "fallback" && z && z[0])
412
- for (let w = 0; w < z.length; w++)
413
- V.push(z[w]);
418
+ const B = this.languageUtils.getFallbackCodes(this.options.fallbackLng, i.lng || this.language);
419
+ if (this.options.saveMissingTo === "fallback" && B && B[0])
420
+ for (let C = 0; C < B.length; C++)
421
+ V.push(B[C]);
414
422
  else this.options.saveMissingTo === "all" ? V = this.languageUtils.toResolveHierarchy(i.lng || this.language) : V.push(i.lng || this.language);
415
- const te = (w, E, D) => {
423
+ const te = (C, E, D) => {
416
424
  var se;
417
- const ie = N && D !== h ? D : R;
418
- this.options.missingKeyHandler ? this.options.missingKeyHandler(w, l, E, ie, j, i) : (se = this.backendConnector) != null && se.saveMissing && this.backendConnector.saveMissing(w, l, E, ie, j, i), this.emit("missingKey", w, l, E, h);
425
+ const ie = N && D !== h ? D : $;
426
+ this.options.missingKeyHandler ? this.options.missingKeyHandler(C, u, E, ie, j, i) : (se = this.backendConnector) != null && se.saveMissing && this.backendConnector.saveMissing(C, u, E, ie, j, i), this.emit("missingKey", C, u, E, h);
419
427
  };
420
- this.options.saveMissing && (this.options.saveMissingPlurals && b ? V.forEach((w) => {
421
- const E = this.pluralResolver.getSuffixes(w, i);
428
+ this.options.saveMissing && (this.options.saveMissingPlurals && b ? V.forEach((C) => {
429
+ const E = this.pluralResolver.getSuffixes(C, i);
422
430
  T && i[`defaultValue${this.options.pluralSeparator}zero`] && E.indexOf(`${this.options.pluralSeparator}zero`) < 0 && E.push(`${this.options.pluralSeparator}zero`), E.forEach((D) => {
423
- te([w], o + D, i[`defaultValue${D}`] || L);
431
+ te([C], o + D, i[`defaultValue${D}`] || w);
424
432
  });
425
- }) : te(V, o, L));
433
+ }) : te(V, o, w));
426
434
  }
427
- h = this.extendTranslation(h, e, i, d, s), v && h === o && this.options.appendNamespaceToMissingKey && (h = `${l}${c}${o}`), (v || P) && this.options.parseMissingKeyHandler && (h = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${l}${c}${o}` : o, P ? h : void 0, i));
435
+ h = this.extendTranslation(h, e, i, d, s), P && h === o && this.options.appendNamespaceToMissingKey && (h = `${u}${c}${o}`), (P || L) && this.options.parseMissingKeyHandler && (h = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${u}${c}${o}` : o, L ? h : void 0, i));
428
436
  }
429
437
  return n ? (d.res = h, d.usedParams = this.getUsedParamsDetails(i), d) : h;
430
438
  }
431
439
  extendTranslation(e, t, s, i, n) {
432
- var u, l;
433
- if ((u = this.i18nFormat) != null && u.parse)
440
+ var l, u;
441
+ if ((l = this.i18nFormat) != null && l.parse)
434
442
  e = this.i18nFormat.parse(e, {
435
443
  ...this.options.interpolation.defaultVariables,
436
444
  ...s
@@ -445,7 +453,7 @@ class W extends Y {
445
453
  ...s.interpolation
446
454
  }
447
455
  });
448
- const c = g(e) && (((l = s == null ? void 0 : s.interpolation) == null ? void 0 : l.skipOnVariables) !== void 0 ? s.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables);
456
+ const c = g(e) && (((u = s == null ? void 0 : s.interpolation) == null ? void 0 : u.skipOnVariables) !== void 0 ? s.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables);
449
457
  let f;
450
458
  if (c) {
451
459
  const d = e.match(this.interpolator.nestingRegexp);
@@ -472,29 +480,32 @@ class W extends Y {
472
480
  }
473
481
  resolve(e, t = {}) {
474
482
  let s, i, n, r, o;
475
- return g(e) && (e = [e]), e.forEach((u) => {
483
+ return g(e) && (e = [e]), Array.isArray(e) && (e = e.map((l) => typeof l == "function" ? U(l, {
484
+ ...this.options,
485
+ ...t
486
+ }) : l)), e.forEach((l) => {
476
487
  if (this.isValidLookup(s)) return;
477
- const l = this.extractFromKey(u, t), c = l.key;
488
+ const u = this.extractFromKey(l, t), c = u.key;
478
489
  i = c;
479
- let f = l.namespaces;
490
+ let f = u.namespaces;
480
491
  this.options.fallbackNS && (f = f.concat(this.options.fallbackNS));
481
492
  const p = t.count !== void 0 && !g(t.count), d = p && !t.ordinal && t.count === 0, h = t.context !== void 0 && (g(t.context) || typeof t.context == "number") && t.context !== "", m = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
482
493
  f.forEach((x) => {
483
- var O, C;
484
- this.isValidLookup(s) || (o = x, !ue[`${m[0]}-${x}`] && ((O = this.utils) != null && O.hasLoadedNamespace) && !((C = this.utils) != null && C.hasLoadedNamespace(o)) && (ue[`${m[0]}-${x}`] = !0, this.logger.warn(`key "${i}" for languages "${m.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), m.forEach((F) => {
485
- var M;
494
+ var O, v;
495
+ this.isValidLookup(s) || (o = x, !ue[`${m[0]}-${x}`] && ((O = this.utils) != null && O.hasLoadedNamespace) && !((v = this.utils) != null && v.hasLoadedNamespace(o)) && (ue[`${m[0]}-${x}`] = !0, this.logger.warn(`key "${i}" for languages "${m.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), m.forEach((F) => {
496
+ var z;
486
497
  if (this.isValidLookup(s)) return;
487
498
  r = F;
488
499
  const b = [c];
489
- if ((M = this.i18nFormat) != null && M.addLookupKeys)
500
+ if ((z = this.i18nFormat) != null && z.addLookupKeys)
490
501
  this.i18nFormat.addLookupKeys(b, c, F, x, t);
491
502
  else {
492
503
  let k;
493
504
  p && (k = this.pluralResolver.getSuffix(F, t.count, t));
494
- const T = `${this.options.pluralSeparator}zero`, L = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
495
- if (p && (t.ordinal && k.indexOf(L) === 0 && b.push(c + k.replace(L, this.options.pluralSeparator)), b.push(c + k), d && b.push(c + T)), h) {
505
+ const T = `${this.options.pluralSeparator}zero`, w = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
506
+ if (p && (t.ordinal && k.indexOf(w) === 0 && b.push(c + k.replace(w, this.options.pluralSeparator)), b.push(c + k), d && b.push(c + T)), h) {
496
507
  const S = `${c}${this.options.contextSeparator || "_"}${t.context}`;
497
- b.push(S), p && (t.ordinal && k.indexOf(L) === 0 && b.push(S + k.replace(L, this.options.pluralSeparator)), b.push(S + k), d && b.push(S + T));
508
+ b.push(S), p && (t.ordinal && k.indexOf(w) === 0 && b.push(S + k.replace(w, this.options.pluralSeparator)), b.push(S + k), d && b.push(S + T));
498
509
  }
499
510
  }
500
511
  let N;
@@ -542,15 +553,15 @@ class W extends Y {
542
553
  }
543
554
  class fe {
544
555
  constructor(e) {
545
- this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = $.create("languageUtils");
556
+ this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = R.create("languageUtils");
546
557
  }
547
558
  getScriptPartFromCode(e) {
548
- if (e = H(e), !e || e.indexOf("-") < 0) return null;
559
+ if (e = M(e), !e || e.indexOf("-") < 0) return null;
549
560
  const t = e.split("-");
550
561
  return t.length === 2 || (t.pop(), t[t.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(t.join("-"));
551
562
  }
552
563
  getLanguagePartFromCode(e) {
553
- if (e = H(e), !e || e.indexOf("-") < 0) return e;
564
+ if (e = M(e), !e || e.indexOf("-") < 0) return e;
554
565
  const t = e.split("-");
555
566
  return this.formatLanguageCode(t[0]);
556
567
  }
@@ -619,13 +630,13 @@ const ce = {
619
630
  };
620
631
  class Te {
621
632
  constructor(e, t = {}) {
622
- this.languageUtils = e, this.options = t, this.logger = $.create("pluralResolver"), this.pluralRulesCache = {};
633
+ this.languageUtils = e, this.options = t, this.logger = R.create("pluralResolver"), this.pluralRulesCache = {};
623
634
  }
624
635
  clearCache() {
625
636
  this.pluralRulesCache = {};
626
637
  }
627
638
  getRule(e, t = {}) {
628
- const s = H(e === "dev" ? "en" : e), i = t.ordinal ? "ordinal" : "cardinal", n = JSON.stringify({
639
+ const s = M(e === "dev" ? "en" : e), i = t.ordinal ? "ordinal" : "cardinal", n = JSON.stringify({
629
640
  cleanedCode: s,
630
641
  type: i
631
642
  });
@@ -640,8 +651,8 @@ class Te {
640
651
  if (typeof Intl > "u")
641
652
  return this.logger.error("No Intl support, please use an Intl polyfill!"), he;
642
653
  if (!e.match(/-|_/)) return he;
643
- const u = this.languageUtils.getLanguagePartFromCode(e);
644
- r = this.getRule(u, t);
654
+ const l = this.languageUtils.getLanguagePartFromCode(e);
655
+ r = this.getRule(l, t);
645
656
  }
646
657
  return this.pluralRulesCache[n] = r, r;
647
658
  }
@@ -663,12 +674,12 @@ class Te {
663
674
  }
664
675
  const de = (a, e, t, s = ".", i = !0) => {
665
676
  let n = Pe(a, e, t);
666
- return !n && i && g(t) && (n = X(a, t, s), n === void 0 && (n = X(e, t, s))), n;
667
- }, Q = (a) => a.replace(/\$/g, "$$$$");
677
+ return !n && i && g(t) && (n = q(a, t, s), n === void 0 && (n = q(e, t, s))), n;
678
+ }, Z = (a) => a.replace(/\$/g, "$$$$");
668
679
  class pe {
669
680
  constructor(e = {}) {
670
681
  var t;
671
- this.logger = $.create("interpolator"), this.options = e, this.format = ((t = e == null ? void 0 : e.interpolation) == null ? void 0 : t.format) || ((s) => s), this.init(e);
682
+ this.logger = R.create("interpolator"), this.options = e, this.format = ((t = e == null ? void 0 : e.interpolation) == null ? void 0 : t.format) || ((s) => s), this.init(e);
672
683
  }
673
684
  init(e = {}) {
674
685
  e.interpolation || (e.interpolation = {
@@ -681,8 +692,8 @@ class pe {
681
692
  prefix: n,
682
693
  prefixEscaped: r,
683
694
  suffix: o,
684
- suffixEscaped: u,
685
- formatSeparator: l,
695
+ suffixEscaped: l,
696
+ formatSeparator: u,
686
697
  unescapeSuffix: c,
687
698
  unescapePrefix: f,
688
699
  nestingPrefix: p,
@@ -691,9 +702,9 @@ class pe {
691
702
  nestingSuffixEscaped: m,
692
703
  nestingOptionsSeparator: x,
693
704
  maxReplaces: O,
694
- alwaysFormat: C
705
+ alwaysFormat: v
695
706
  } = e.interpolation;
696
- this.escape = t !== void 0 ? t : $e, this.escapeValue = s !== void 0 ? s : !0, this.useRawValueToEscape = i !== void 0 ? i : !1, this.prefix = n ? I(n) : r || "{{", this.suffix = o ? I(o) : u || "}}", this.formatSeparator = l || ",", this.unescapePrefix = c ? "" : f || "-", this.unescapeSuffix = this.unescapePrefix ? "" : c || "", this.nestingPrefix = p ? I(p) : d || I("$t("), this.nestingSuffix = h ? I(h) : m || I(")"), this.nestingOptionsSeparator = x || ",", this.maxReplaces = O || 1e3, this.alwaysFormat = C !== void 0 ? C : !1, this.resetRegExp();
707
+ this.escape = t !== void 0 ? t : Re, this.escapeValue = s !== void 0 ? s : !0, this.useRawValueToEscape = i !== void 0 ? i : !1, this.prefix = n ? I(n) : r || "{{", this.suffix = o ? I(o) : l || "}}", this.formatSeparator = u || ",", this.unescapePrefix = c ? "" : f || "-", this.unescapeSuffix = this.unescapePrefix ? "" : c || "", this.nestingPrefix = p ? I(p) : d || I("$t("), this.nestingSuffix = h ? I(h) : m || I(")"), this.nestingOptionsSeparator = x || ",", this.maxReplaces = O || 1e3, this.alwaysFormat = v !== void 0 ? v : !1, this.resetRegExp();
697
708
  }
698
709
  reset() {
699
710
  this.options && this.init(this.options);
@@ -705,17 +716,17 @@ class pe {
705
716
  interpolate(e, t, s, i) {
706
717
  var d;
707
718
  let n, r, o;
708
- const u = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, l = (h) => {
719
+ const l = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, u = (h) => {
709
720
  if (h.indexOf(this.formatSeparator) < 0) {
710
- const C = de(t, u, h, this.options.keySeparator, this.options.ignoreJSONStructure);
711
- return this.alwaysFormat ? this.format(C, void 0, s, {
721
+ const v = de(t, l, h, this.options.keySeparator, this.options.ignoreJSONStructure);
722
+ return this.alwaysFormat ? this.format(v, void 0, s, {
712
723
  ...i,
713
724
  ...t,
714
725
  interpolationkey: h
715
- }) : C;
726
+ }) : v;
716
727
  }
717
728
  const m = h.split(this.formatSeparator), x = m.shift().trim(), O = m.join(this.formatSeparator).trim();
718
- return this.format(de(t, u, x, this.options.keySeparator, this.options.ignoreJSONStructure), O, s, {
729
+ return this.format(de(t, l, x, this.options.keySeparator, this.options.ignoreJSONStructure), O, s, {
719
730
  ...i,
720
731
  ...t,
721
732
  interpolationkey: x
@@ -725,14 +736,14 @@ class pe {
725
736
  const c = (i == null ? void 0 : i.missingInterpolationHandler) || this.options.missingInterpolationHandler, f = ((d = i == null ? void 0 : i.interpolation) == null ? void 0 : d.skipOnVariables) !== void 0 ? i.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
726
737
  return [{
727
738
  regex: this.regexpUnescape,
728
- safeValue: (h) => Q(h)
739
+ safeValue: (h) => Z(h)
729
740
  }, {
730
741
  regex: this.regexp,
731
- safeValue: (h) => this.escapeValue ? Q(this.escape(h)) : Q(h)
742
+ safeValue: (h) => this.escapeValue ? Z(this.escape(h)) : Z(h)
732
743
  }].forEach((h) => {
733
744
  for (o = 0; n = h.regex.exec(e); ) {
734
745
  const m = n[1].trim();
735
- if (r = l(m), r === void 0)
746
+ if (r = u(m), r === void 0)
736
747
  if (typeof c == "function") {
737
748
  const O = c(e, n, i);
738
749
  r = g(O) ? O : "";
@@ -752,32 +763,32 @@ class pe {
752
763
  }
753
764
  nest(e, t, s = {}) {
754
765
  let i, n, r;
755
- const o = (u, l) => {
766
+ const o = (l, u) => {
756
767
  const c = this.nestingOptionsSeparator;
757
- if (u.indexOf(c) < 0) return u;
758
- const f = u.split(new RegExp(`${I(c)}[ ]*{`));
768
+ if (l.indexOf(c) < 0) return l;
769
+ const f = l.split(new RegExp(`${I(c)}[ ]*{`));
759
770
  let p = `{${f[1]}`;
760
- u = f[0], p = this.interpolate(p, r);
771
+ l = f[0], p = this.interpolate(p, r);
761
772
  const d = p.match(/'/g), h = p.match(/"/g);
762
773
  (((d == null ? void 0 : d.length) ?? 0) % 2 === 0 && !h || ((h == null ? void 0 : h.length) ?? 0) % 2 !== 0) && (p = p.replace(/'/g, '"'));
763
774
  try {
764
- r = JSON.parse(p), l && (r = {
765
- ...l,
775
+ r = JSON.parse(p), u && (r = {
776
+ ...u,
766
777
  ...r
767
778
  });
768
779
  } catch (m) {
769
- return this.logger.warn(`failed parsing options string in nesting for key ${u}`, m), `${u}${c}${p}`;
780
+ return this.logger.warn(`failed parsing options string in nesting for key ${l}`, m), `${l}${c}${p}`;
770
781
  }
771
- return r.defaultValue && r.defaultValue.indexOf(this.prefix) > -1 && delete r.defaultValue, u;
782
+ return r.defaultValue && r.defaultValue.indexOf(this.prefix) > -1 && delete r.defaultValue, l;
772
783
  };
773
784
  for (; i = this.nestingRegexp.exec(e); ) {
774
- let u = [];
785
+ let l = [];
775
786
  r = {
776
787
  ...s
777
788
  }, r = r.replace && !g(r.replace) ? r.replace : r, r.applyPostProcessor = !1, delete r.defaultValue;
778
- const l = /{.*}/.test(i[1]) ? i[1].lastIndexOf("}") + 1 : i[1].indexOf(this.formatSeparator);
779
- if (l !== -1 && (u = i[1].slice(l).split(this.formatSeparator).map((c) => c.trim()).filter(Boolean), i[1] = i[1].slice(0, l)), n = t(o.call(this, i[1].trim(), r), r), n && i[0] === e && !g(n)) return n;
780
- g(n) || (n = ne(n)), n || (this.logger.warn(`missed to resolve ${i[1]} for nesting ${e}`), n = ""), u.length && (n = u.reduce((c, f) => this.format(c, f, s.lng, {
789
+ const u = /{.*}/.test(i[1]) ? i[1].lastIndexOf("}") + 1 : i[1].indexOf(this.formatSeparator);
790
+ if (u !== -1 && (l = i[1].slice(u).split(this.formatSeparator).map((c) => c.trim()).filter(Boolean), i[1] = i[1].slice(0, u)), n = t(o.call(this, i[1].trim(), r), r), n && i[0] === e && !g(n)) return n;
791
+ g(n) || (n = ne(n)), n || (this.logger.warn(`missed to resolve ${i[1]} for nesting ${e}`), n = ""), l.length && (n = l.reduce((c, f) => this.format(c, f, s.lng, {
781
792
  ...s,
782
793
  interpolationkey: i[1].trim()
783
794
  }), n.trim())), e = e.replace(i[0], n), this.regexp.lastIndex = 0;
@@ -794,8 +805,8 @@ const Ve = (a) => {
794
805
  const i = s[1].substring(0, s[1].length - 1);
795
806
  e === "currency" && i.indexOf(":") < 0 ? t.currency || (t.currency = i.trim()) : e === "relativetime" && i.indexOf(":") < 0 ? t.range || (t.range = i.trim()) : i.split(";").forEach((r) => {
796
807
  if (r) {
797
- const [o, ...u] = r.split(":"), l = u.join(":").trim().replace(/^'+|'+$/g, ""), c = o.trim();
798
- t[c] || (t[c] = l), l === "false" && (t[c] = !1), l === "true" && (t[c] = !0), isNaN(l) || (t[c] = parseInt(l, 10));
808
+ const [o, ...l] = r.split(":"), u = l.join(":").trim().replace(/^'+|'+$/g, ""), c = o.trim();
809
+ t[c] || (t[c] = u), u === "false" && (t[c] = !1), u === "true" && (t[c] = !0), isNaN(u) || (t[c] = parseInt(u, 10));
799
810
  }
800
811
  });
801
812
  }
@@ -813,12 +824,12 @@ const Ve = (a) => {
813
824
  });
814
825
  const r = s + JSON.stringify(n);
815
826
  let o = e[r];
816
- return o || (o = a(H(s), i), e[r] = o), o(t);
827
+ return o || (o = a(M(s), i), e[r] = o), o(t);
817
828
  };
818
- }, De = (a) => (e, t, s) => a(H(t), s)(e);
819
- class Ke {
829
+ }, De = (a) => (e, t, s) => a(M(t), s)(e);
830
+ class Ae {
820
831
  constructor(e = {}) {
821
- this.logger = $.create("formatter"), this.options = e, this.init(e);
832
+ this.logger = R.create("formatter"), this.options = e, this.init(e);
822
833
  }
823
834
  init(e, t = {
824
835
  interpolation: {}
@@ -868,20 +879,20 @@ class Ke {
868
879
  format(e, t, s, i = {}) {
869
880
  const n = t.split(this.formatSeparator);
870
881
  if (n.length > 1 && n[0].indexOf("(") > 1 && n[0].indexOf(")") < 0 && n.find((o) => o.indexOf(")") > -1)) {
871
- const o = n.findIndex((u) => u.indexOf(")") > -1);
882
+ const o = n.findIndex((l) => l.indexOf(")") > -1);
872
883
  n[0] = [n[0], ...n.splice(1, o)].join(this.formatSeparator);
873
884
  }
874
- return n.reduce((o, u) => {
885
+ return n.reduce((o, l) => {
875
886
  var f;
876
887
  const {
877
- formatName: l,
888
+ formatName: u,
878
889
  formatOptions: c
879
- } = Ve(u);
880
- if (this.formats[l]) {
890
+ } = Ve(l);
891
+ if (this.formats[u]) {
881
892
  let p = o;
882
893
  try {
883
894
  const d = ((f = i == null ? void 0 : i.formatParams) == null ? void 0 : f[i.interpolationkey]) || {}, h = d.locale || d.lng || i.locale || i.lng || s;
884
- p = this.formats[l](o, h, {
895
+ p = this.formats[u](o, h, {
885
896
  ...c,
886
897
  ...i,
887
898
  ...d
@@ -891,27 +902,27 @@ class Ke {
891
902
  }
892
903
  return p;
893
904
  } else
894
- this.logger.warn(`there was no format function for ${l}`);
905
+ this.logger.warn(`there was no format function for ${u}`);
895
906
  return o;
896
907
  }, e);
897
908
  }
898
909
  }
899
- const Ae = (a, e) => {
910
+ const Ke = (a, e) => {
900
911
  a.pending[e] !== void 0 && (delete a.pending[e], a.pendingCount--);
901
912
  };
902
- class Ue extends Y {
913
+ class Ue extends G {
903
914
  constructor(e, t, s, i = {}) {
904
915
  var n, r;
905
- super(), this.backend = e, this.store = t, this.services = s, this.languageUtils = s.languageUtils, this.options = i, this.logger = $.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = i.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = i.maxRetries >= 0 ? i.maxRetries : 5, this.retryTimeout = i.retryTimeout >= 1 ? i.retryTimeout : 350, this.state = {}, this.queue = [], (r = (n = this.backend) == null ? void 0 : n.init) == null || r.call(n, s, i.backend, i);
916
+ super(), this.backend = e, this.store = t, this.services = s, this.languageUtils = s.languageUtils, this.options = i, this.logger = R.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = i.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = i.maxRetries >= 0 ? i.maxRetries : 5, this.retryTimeout = i.retryTimeout >= 1 ? i.retryTimeout : 350, this.state = {}, this.queue = [], (r = (n = this.backend) == null ? void 0 : n.init) == null || r.call(n, s, i.backend, i);
906
917
  }
907
918
  queueLoad(e, t, s, i) {
908
- const n = {}, r = {}, o = {}, u = {};
909
- return e.forEach((l) => {
919
+ const n = {}, r = {}, o = {}, l = {};
920
+ return e.forEach((u) => {
910
921
  let c = !0;
911
922
  t.forEach((f) => {
912
- const p = `${l}|${f}`;
913
- !s.reload && this.store.hasResourceBundle(l, f) ? this.state[p] = 2 : this.state[p] < 0 || (this.state[p] === 1 ? r[p] === void 0 && (r[p] = !0) : (this.state[p] = 1, c = !1, r[p] === void 0 && (r[p] = !0), n[p] === void 0 && (n[p] = !0), u[f] === void 0 && (u[f] = !0)));
914
- }), c || (o[l] = !0);
923
+ const p = `${u}|${f}`;
924
+ !s.reload && this.store.hasResourceBundle(u, f) ? this.state[p] = 2 : this.state[p] < 0 || (this.state[p] === 1 ? r[p] === void 0 && (r[p] = !0) : (this.state[p] = 1, c = !1, r[p] === void 0 && (r[p] = !0), n[p] === void 0 && (n[p] = !0), l[f] === void 0 && (l[f] = !0)));
925
+ }), c || (o[u] = !0);
915
926
  }), (Object.keys(n).length || Object.keys(r).length) && this.queue.push({
916
927
  pending: r,
917
928
  pendingCount: Object.keys(r).length,
@@ -922,7 +933,7 @@ class Ue extends Y {
922
933
  toLoad: Object.keys(n),
923
934
  pending: Object.keys(r),
924
935
  toLoadLanguages: Object.keys(o),
925
- toLoadNamespaces: Object.keys(u)
936
+ toLoadNamespaces: Object.keys(l)
926
937
  };
927
938
  }
928
939
  loaded(e, t, s) {
@@ -931,15 +942,15 @@ class Ue extends Y {
931
942
  skipCopy: !0
932
943
  }), this.state[e] = t ? -1 : 2, t && s && (this.state[e] = 0);
933
944
  const o = {};
934
- this.queue.forEach((u) => {
935
- ve(u.loaded, [n], r), Ae(u, e), t && u.errors.push(t), u.pendingCount === 0 && !u.done && (Object.keys(u.loaded).forEach((l) => {
936
- o[l] || (o[l] = {});
937
- const c = u.loaded[l];
945
+ this.queue.forEach((l) => {
946
+ ve(l.loaded, [n], r), Ke(l, e), t && l.errors.push(t), l.pendingCount === 0 && !l.done && (Object.keys(l.loaded).forEach((u) => {
947
+ o[u] || (o[u] = {});
948
+ const c = l.loaded[u];
938
949
  c.length && c.forEach((f) => {
939
- o[l][f] === void 0 && (o[l][f] = !0);
950
+ o[u][f] === void 0 && (o[u][f] = !0);
940
951
  });
941
- }), u.done = !0, u.errors.length ? u.callback(u.errors) : u.callback());
942
- }), this.emit("loaded", o), this.queue = this.queue.filter((u) => !u.done);
952
+ }), l.done = !0, l.errors.length ? l.callback(l.errors) : l.callback());
953
+ }), this.emit("loaded", o), this.queue = this.queue.filter((l) => !l.done);
943
954
  }
944
955
  read(e, t, s, i = 0, n = this.retryTimeout, r) {
945
956
  if (!e.length) return r(null, {});
@@ -955,29 +966,29 @@ class Ue extends Y {
955
966
  return;
956
967
  }
957
968
  this.readingCalls++;
958
- const o = (l, c) => {
969
+ const o = (u, c) => {
959
970
  if (this.readingCalls--, this.waitingReads.length > 0) {
960
971
  const f = this.waitingReads.shift();
961
972
  this.read(f.lng, f.ns, f.fcName, f.tried, f.wait, f.callback);
962
973
  }
963
- if (l && c && i < this.maxRetries) {
974
+ if (u && c && i < this.maxRetries) {
964
975
  setTimeout(() => {
965
976
  this.read.call(this, e, t, s, i + 1, n * 2, r);
966
977
  }, n);
967
978
  return;
968
979
  }
969
- r(l, c);
970
- }, u = this.backend[s].bind(this.backend);
971
- if (u.length === 2) {
980
+ r(u, c);
981
+ }, l = this.backend[s].bind(this.backend);
982
+ if (l.length === 2) {
972
983
  try {
973
- const l = u(e, t);
974
- l && typeof l.then == "function" ? l.then((c) => o(null, c)).catch(o) : o(null, l);
975
- } catch (l) {
976
- o(l);
984
+ const u = l(e, t);
985
+ u && typeof u.then == "function" ? u.then((c) => o(null, c)).catch(o) : o(null, u);
986
+ } catch (u) {
987
+ o(u);
977
988
  }
978
989
  return;
979
990
  }
980
- return u(e, t, o);
991
+ return l(e, t, o);
981
992
  }
982
993
  prepareLoading(e, t, s = {}, i) {
983
994
  if (!this.backend)
@@ -1006,8 +1017,8 @@ class Ue extends Y {
1006
1017
  }
1007
1018
  saveMissing(e, t, s, i, n, r = {}, o = () => {
1008
1019
  }) {
1009
- var u, l, c, f, p;
1010
- if ((l = (u = this.services) == null ? void 0 : u.utils) != null && l.hasLoadedNamespace && !((f = (c = this.services) == null ? void 0 : c.utils) != null && f.hasLoadedNamespace(t))) {
1020
+ var l, u, c, f, p;
1021
+ if ((u = (l = this.services) == null ? void 0 : l.utils) != null && u.hasLoadedNamespace && !((f = (c = this.services) == null ? void 0 : c.utils) != null && f.hasLoadedNamespace(t))) {
1011
1022
  this.logger.warn(`did not save key "${s}" as the namespace "${t}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");
1012
1023
  return;
1013
1024
  }
@@ -1031,7 +1042,7 @@ class Ue extends Y {
1031
1042
  }
1032
1043
  }
1033
1044
  }
1034
- const Z = () => ({
1045
+ const X = () => ({
1035
1046
  debug: !1,
1036
1047
  initAsync: !0,
1037
1048
  ns: ["translation"],
@@ -1091,7 +1102,7 @@ const Z = () => ({
1091
1102
  }), me = (a) => {
1092
1103
  var e, t;
1093
1104
  return g(a.ns) && (a.ns = [a.ns]), g(a.fallbackLng) && (a.fallbackLng = [a.fallbackLng]), g(a.fallbackNS) && (a.fallbackNS = [a.fallbackNS]), ((t = (e = a.supportedLngs) == null ? void 0 : e.indexOf) == null ? void 0 : t.call(e, "cimode")) < 0 && (a.supportedLngs = a.supportedLngs.concat(["cimode"])), typeof a.initImmediate == "boolean" && (a.initAsync = a.initImmediate), a;
1094
- }, B = () => {
1105
+ }, J = () => {
1095
1106
  }, He = (a) => {
1096
1107
  Object.getOwnPropertyNames(Object.getPrototypeOf(a)).forEach((t) => {
1097
1108
  typeof a[t] == "function" && (a[t] = a[t].bind(a));
@@ -1099,15 +1110,15 @@ const Z = () => ({
1099
1110
  }, Oe = "__i18next_supportNoticeShown", Me = () => typeof globalThis < "u" && !!globalThis[Oe], ze = () => {
1100
1111
  typeof globalThis < "u" && (globalThis[Oe] = !0);
1101
1112
  }, Be = (a) => {
1102
- var e, t, s, i, n, r, o, u, l, c, f, p, d;
1103
- return !!(((s = (t = (e = a == null ? void 0 : a.modules) == null ? void 0 : e.backend) == null ? void 0 : t.name) == null ? void 0 : s.indexOf("Locize")) > 0 || ((o = (r = (n = (i = a == null ? void 0 : a.modules) == null ? void 0 : i.backend) == null ? void 0 : n.constructor) == null ? void 0 : r.name) == null ? void 0 : o.indexOf("Locize")) > 0 || (l = (u = a == null ? void 0 : a.options) == null ? void 0 : u.backend) != null && l.backends && a.options.backend.backends.some((h) => {
1113
+ var e, t, s, i, n, r, o, l, u, c, f, p, d;
1114
+ return !!(((s = (t = (e = a == null ? void 0 : a.modules) == null ? void 0 : e.backend) == null ? void 0 : t.name) == null ? void 0 : s.indexOf("Locize")) > 0 || ((o = (r = (n = (i = a == null ? void 0 : a.modules) == null ? void 0 : i.backend) == null ? void 0 : n.constructor) == null ? void 0 : r.name) == null ? void 0 : o.indexOf("Locize")) > 0 || (u = (l = a == null ? void 0 : a.options) == null ? void 0 : l.backend) != null && u.backends && a.options.backend.backends.some((h) => {
1104
1115
  var m, x, O;
1105
1116
  return ((m = h == null ? void 0 : h.name) == null ? void 0 : m.indexOf("Locize")) > 0 || ((O = (x = h == null ? void 0 : h.constructor) == null ? void 0 : x.name) == null ? void 0 : O.indexOf("Locize")) > 0;
1106
1117
  }) || (f = (c = a == null ? void 0 : a.options) == null ? void 0 : c.backend) != null && f.projectId || (d = (p = a == null ? void 0 : a.options) == null ? void 0 : p.backend) != null && d.backendOptions && a.options.backend.backendOptions.some((h) => h == null ? void 0 : h.projectId));
1107
1118
  };
1108
- class U extends Y {
1119
+ class H extends G {
1109
1120
  constructor(e = {}, t) {
1110
- if (super(), this.options = me(e), this.services = {}, this.logger = $, this.modules = {
1121
+ if (super(), this.options = me(e), this.services = {}, this.logger = R, this.modules = {
1111
1122
  external: []
1112
1123
  }, He(this), t && !this.isInitialized && !e.isClone) {
1113
1124
  if (!this.options.initAsync)
@@ -1119,7 +1130,7 @@ class U extends Y {
1119
1130
  }
1120
1131
  init(e = {}, t) {
1121
1132
  this.isInitializing = !0, typeof e == "function" && (t = e, e = {}), e.defaultNS == null && e.ns && (g(e.ns) ? e.defaultNS = e.ns : e.ns.indexOf("translation") < 0 && (e.defaultNS = e.ns[0]));
1122
- const s = Z();
1133
+ const s = X();
1123
1134
  this.options = {
1124
1135
  ...s,
1125
1136
  ...this.options,
@@ -1127,67 +1138,67 @@ class U extends Y {
1127
1138
  }, this.options.interpolation = {
1128
1139
  ...s.interpolation,
1129
1140
  ...this.options.interpolation
1130
- }, e.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = e.keySeparator), e.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = e.nsSeparator), typeof this.options.overloadTranslationOptionHandler != "function" && (this.options.overloadTranslationOptionHandler = s.overloadTranslationOptionHandler), this.options.showSupportNotice !== !1 && !Be(this) && !Me() && (typeof console < "u" && typeof console.info < "u" && console.info("🌐 i18next is maintained with support from Locize — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com 💙"), ze());
1131
- const i = (l) => l ? typeof l == "function" ? new l() : l : null;
1141
+ }, e.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = e.keySeparator), e.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = e.nsSeparator), typeof this.options.overloadTranslationOptionHandler != "function" && (this.options.overloadTranslationOptionHandler = s.overloadTranslationOptionHandler), this.options.showSupportNotice !== !1 && !Be(this) && !Me() && (typeof console < "u" && typeof console.info < "u" && console.info("🌐 i18next is made possible by our own product, Locize — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com 💙"), ze());
1142
+ const i = (u) => u ? typeof u == "function" ? new u() : u : null;
1132
1143
  if (!this.options.isClone) {
1133
- this.modules.logger ? $.init(i(this.modules.logger), this.options) : $.init(null, this.options);
1134
- let l;
1135
- this.modules.formatter ? l = this.modules.formatter : l = Ke;
1144
+ this.modules.logger ? R.init(i(this.modules.logger), this.options) : R.init(null, this.options);
1145
+ let u;
1146
+ this.modules.formatter ? u = this.modules.formatter : u = Ae;
1136
1147
  const c = new fe(this.options);
1137
1148
  this.store = new le(this.options.resources, this.options);
1138
1149
  const f = this.services;
1139
- f.logger = $, f.resourceStore = this.store, f.languageUtils = c, f.pluralResolver = new Te(c, {
1150
+ f.logger = R, f.resourceStore = this.store, f.languageUtils = c, f.pluralResolver = new Te(c, {
1140
1151
  prepend: this.options.pluralSeparator,
1141
1152
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
1142
- }), this.options.interpolation.format && this.options.interpolation.format !== s.interpolation.format && this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"), l && (!this.options.interpolation.format || this.options.interpolation.format === s.interpolation.format) && (f.formatter = i(l), f.formatter.init && f.formatter.init(f, this.options), this.options.interpolation.format = f.formatter.format.bind(f.formatter)), f.interpolator = new pe(this.options), f.utils = {
1153
+ }), this.options.interpolation.format && this.options.interpolation.format !== s.interpolation.format && this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"), u && (!this.options.interpolation.format || this.options.interpolation.format === s.interpolation.format) && (f.formatter = i(u), f.formatter.init && f.formatter.init(f, this.options), this.options.interpolation.format = f.formatter.format.bind(f.formatter)), f.interpolator = new pe(this.options), f.utils = {
1143
1154
  hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
1144
1155
  }, f.backendConnector = new Ue(i(this.modules.backend), f.resourceStore, f, this.options), f.backendConnector.on("*", (d, ...h) => {
1145
1156
  this.emit(d, ...h);
1146
- }), this.modules.languageDetector && (f.languageDetector = i(this.modules.languageDetector), f.languageDetector.init && f.languageDetector.init(f, this.options.detection, this.options)), this.modules.i18nFormat && (f.i18nFormat = i(this.modules.i18nFormat), f.i18nFormat.init && f.i18nFormat.init(this)), this.translator = new W(this.services, this.options), this.translator.on("*", (d, ...h) => {
1157
+ }), this.modules.languageDetector && (f.languageDetector = i(this.modules.languageDetector), f.languageDetector.init && f.languageDetector.init(f, this.options.detection, this.options)), this.modules.i18nFormat && (f.i18nFormat = i(this.modules.i18nFormat), f.i18nFormat.init && f.i18nFormat.init(this)), this.translator = new Y(this.services, this.options), this.translator.on("*", (d, ...h) => {
1147
1158
  this.emit(d, ...h);
1148
1159
  }), this.modules.external.forEach((d) => {
1149
1160
  d.init && d.init(this);
1150
1161
  });
1151
1162
  }
1152
- if (this.format = this.options.interpolation.format, t || (t = B), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
1153
- const l = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
1154
- l.length > 0 && l[0] !== "dev" && (this.options.lng = l[0]);
1163
+ if (this.format = this.options.interpolation.format, t || (t = J), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
1164
+ const u = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
1165
+ u.length > 0 && u[0] !== "dev" && (this.options.lng = u[0]);
1155
1166
  }
1156
- !this.services.languageDetector && !this.options.lng && this.logger.warn("init: no languageDetector is used and no lng is defined"), ["getResource", "hasResourceBundle", "getResourceBundle", "getDataByLanguage"].forEach((l) => {
1157
- this[l] = (...c) => this.store[l](...c);
1158
- }), ["addResource", "addResources", "addResourceBundle", "removeResourceBundle"].forEach((l) => {
1159
- this[l] = (...c) => (this.store[l](...c), this);
1167
+ !this.services.languageDetector && !this.options.lng && this.logger.warn("init: no languageDetector is used and no lng is defined"), ["getResource", "hasResourceBundle", "getResourceBundle", "getDataByLanguage"].forEach((u) => {
1168
+ this[u] = (...c) => this.store[u](...c);
1169
+ }), ["addResource", "addResources", "addResourceBundle", "removeResourceBundle"].forEach((u) => {
1170
+ this[u] = (...c) => (this.store[u](...c), this);
1160
1171
  });
1161
- const o = K(), u = () => {
1162
- const l = (c, f) => {
1172
+ const o = A(), l = () => {
1173
+ const u = (c, f) => {
1163
1174
  this.isInitializing = !1, this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), o.resolve(f), t(c, f);
1164
1175
  };
1165
- if (this.languages && !this.isInitialized) return l(null, this.t.bind(this));
1166
- this.changeLanguage(this.options.lng, l);
1176
+ if (this.languages && !this.isInitialized) return u(null, this.t.bind(this));
1177
+ this.changeLanguage(this.options.lng, u);
1167
1178
  };
1168
- return this.options.resources || !this.options.initAsync ? u() : setTimeout(u, 0), o;
1179
+ return this.options.resources || !this.options.initAsync ? l() : setTimeout(l, 0), o;
1169
1180
  }
1170
- loadResources(e, t = B) {
1181
+ loadResources(e, t = J) {
1171
1182
  var n, r;
1172
1183
  let s = t;
1173
1184
  const i = g(e) ? e : this.language;
1174
1185
  if (typeof e == "function" && (s = e), !this.options.resources || this.options.partialBundledLanguages) {
1175
1186
  if ((i == null ? void 0 : i.toLowerCase()) === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return s();
1176
- const o = [], u = (l) => {
1177
- if (!l || l === "cimode") return;
1178
- this.services.languageUtils.toResolveHierarchy(l).forEach((f) => {
1187
+ const o = [], l = (u) => {
1188
+ if (!u || u === "cimode") return;
1189
+ this.services.languageUtils.toResolveHierarchy(u).forEach((f) => {
1179
1190
  f !== "cimode" && o.indexOf(f) < 0 && o.push(f);
1180
1191
  });
1181
1192
  };
1182
- i ? u(i) : this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((c) => u(c)), (r = (n = this.options.preload) == null ? void 0 : n.forEach) == null || r.call(n, (l) => u(l)), this.services.backendConnector.load(o, this.options.ns, (l) => {
1183
- !l && !this.resolvedLanguage && this.language && this.setResolvedLanguage(this.language), s(l);
1193
+ i ? l(i) : this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((c) => l(c)), (r = (n = this.options.preload) == null ? void 0 : n.forEach) == null || r.call(n, (u) => l(u)), this.services.backendConnector.load(o, this.options.ns, (u) => {
1194
+ !u && !this.resolvedLanguage && this.language && this.setResolvedLanguage(this.language), s(u);
1184
1195
  });
1185
1196
  } else
1186
1197
  s(null);
1187
1198
  }
1188
1199
  reloadResources(e, t, s) {
1189
- const i = K();
1190
- return typeof e == "function" && (s = e, e = void 0), typeof t == "function" && (s = t, t = void 0), e || (e = this.languages), t || (t = this.options.ns), s || (s = B), this.services.backendConnector.reload(e, t, (n) => {
1200
+ const i = A();
1201
+ return typeof e == "function" && (s = e, e = void 0), typeof t == "function" && (s = t, t = void 0), e || (e = this.languages), t || (t = this.options.ns), s || (s = J), this.services.backendConnector.reload(e, t, (n) => {
1191
1202
  i.resolve(), s(n);
1192
1203
  }), i;
1193
1204
  }
@@ -1210,37 +1221,37 @@ class U extends Y {
1210
1221
  }
1211
1222
  changeLanguage(e, t) {
1212
1223
  this.isLanguageChangingTo = e;
1213
- const s = K();
1224
+ const s = A();
1214
1225
  this.emit("languageChanging", e);
1215
1226
  const i = (o) => {
1216
1227
  this.language = o, this.languages = this.services.languageUtils.toResolveHierarchy(o), this.resolvedLanguage = void 0, this.setResolvedLanguage(o);
1217
- }, n = (o, u) => {
1218
- u ? this.isLanguageChangingTo === e && (i(u), this.translator.changeLanguage(u), this.isLanguageChangingTo = void 0, this.emit("languageChanged", u), this.logger.log("languageChanged", u)) : this.isLanguageChangingTo = void 0, s.resolve((...l) => this.t(...l)), t && t(o, (...l) => this.t(...l));
1228
+ }, n = (o, l) => {
1229
+ l ? this.isLanguageChangingTo === e && (i(l), this.translator.changeLanguage(l), this.isLanguageChangingTo = void 0, this.emit("languageChanged", l), this.logger.log("languageChanged", l)) : this.isLanguageChangingTo = void 0, s.resolve((...u) => this.t(...u)), t && t(o, (...u) => this.t(...u));
1219
1230
  }, r = (o) => {
1220
1231
  var c, f;
1221
1232
  !e && !o && this.services.languageDetector && (o = []);
1222
- const u = g(o) ? o : o && o[0], l = this.store.hasLanguageSomeTranslations(u) ? u : this.services.languageUtils.getBestMatchFromCodes(g(o) ? [o] : o);
1223
- l && (this.language || i(l), this.translator.language || this.translator.changeLanguage(l), (f = (c = this.services.languageDetector) == null ? void 0 : c.cacheUserLanguage) == null || f.call(c, l)), this.loadResources(l, (p) => {
1224
- n(p, l);
1233
+ const l = g(o) ? o : o && o[0], u = this.store.hasLanguageSomeTranslations(l) ? l : this.services.languageUtils.getBestMatchFromCodes(g(o) ? [o] : o);
1234
+ u && (this.language || i(u), this.translator.language || this.translator.changeLanguage(u), (f = (c = this.services.languageDetector) == null ? void 0 : c.cacheUserLanguage) == null || f.call(c, u)), this.loadResources(u, (p) => {
1235
+ n(p, u);
1225
1236
  });
1226
1237
  };
1227
1238
  return !e && this.services.languageDetector && !this.services.languageDetector.async ? r(this.services.languageDetector.detect()) : !e && this.services.languageDetector && this.services.languageDetector.async ? this.services.languageDetector.detect.length === 0 ? this.services.languageDetector.detect().then(r) : this.services.languageDetector.detect(r) : r(e), s;
1228
1239
  }
1229
1240
  getFixedT(e, t, s) {
1230
1241
  const i = (n, r, ...o) => {
1231
- let u;
1232
- typeof r != "object" ? u = this.options.overloadTranslationOptionHandler([n, r].concat(o)) : u = {
1242
+ let l;
1243
+ typeof r != "object" ? l = this.options.overloadTranslationOptionHandler([n, r].concat(o)) : l = {
1233
1244
  ...r
1234
- }, u.lng = u.lng || i.lng, u.lngs = u.lngs || i.lngs, u.ns = u.ns || i.ns, u.keyPrefix !== "" && (u.keyPrefix = u.keyPrefix || s || i.keyPrefix);
1235
- const l = this.options.keySeparator || ".";
1245
+ }, l.lng = l.lng || i.lng, l.lngs = l.lngs || i.lngs, l.ns = l.ns || i.ns, l.keyPrefix !== "" && (l.keyPrefix = l.keyPrefix || s || i.keyPrefix);
1246
+ const u = this.options.keySeparator || ".";
1236
1247
  let c;
1237
- return u.keyPrefix && Array.isArray(n) ? c = n.map((f) => (typeof f == "function" && (f = q(f, {
1248
+ return l.keyPrefix && Array.isArray(n) ? c = n.map((f) => (typeof f == "function" && (f = U(f, {
1238
1249
  ...this.options,
1239
1250
  ...r
1240
- })), `${u.keyPrefix}${l}${f}`)) : (typeof n == "function" && (n = q(n, {
1251
+ })), `${l.keyPrefix}${u}${f}`)) : (typeof n == "function" && (n = U(n, {
1241
1252
  ...this.options,
1242
1253
  ...r
1243
- })), c = u.keyPrefix ? `${u.keyPrefix}${l}${n}` : n), this.t(c, u);
1254
+ })), c = l.keyPrefix ? `${l.keyPrefix}${u}${n}` : n), this.t(c, l);
1244
1255
  };
1245
1256
  return g(e) ? i.lng = e : i.lngs = e, i.ns = t, i.keyPrefix = s, i;
1246
1257
  }
@@ -1262,9 +1273,9 @@ class U extends Y {
1262
1273
  return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty", this.languages), !1;
1263
1274
  const s = t.lng || this.resolvedLanguage || this.languages[0], i = this.options ? this.options.fallbackLng : !1, n = this.languages[this.languages.length - 1];
1264
1275
  if (s.toLowerCase() === "cimode") return !0;
1265
- const r = (o, u) => {
1266
- const l = this.services.backendConnector.state[`${o}|${u}`];
1267
- return l === -1 || l === 0 || l === 2;
1276
+ const r = (o, l) => {
1277
+ const u = this.services.backendConnector.state[`${o}|${l}`];
1278
+ return u === -1 || u === 0 || u === 2;
1268
1279
  };
1269
1280
  if (t.precheck) {
1270
1281
  const o = t.precheck(this, r);
@@ -1273,7 +1284,7 @@ class U extends Y {
1273
1284
  return !!(this.hasResourceBundle(s, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || r(s, e) && (!i || r(n, e)));
1274
1285
  }
1275
1286
  loadNamespaces(e, t) {
1276
- const s = K();
1287
+ const s = A();
1277
1288
  return this.options.ns ? (g(e) && (e = [e]), e.forEach((i) => {
1278
1289
  this.options.ns.indexOf(i) < 0 && this.options.ns.push(i);
1279
1290
  }), this.loadResources((i) => {
@@ -1281,7 +1292,7 @@ class U extends Y {
1281
1292
  }), s) : (t && t(), Promise.resolve());
1282
1293
  }
1283
1294
  loadLanguages(e, t) {
1284
- const s = K();
1295
+ const s = A();
1285
1296
  g(e) && (e = [e]);
1286
1297
  const i = this.options.preload || [], n = e.filter((r) => i.indexOf(r) < 0 && this.services.languageUtils.isSupportedCode(r));
1287
1298
  return n.length ? (this.options.preload = i.concat(n), this.loadResources((r) => {
@@ -1299,21 +1310,21 @@ class U extends Y {
1299
1310
  }
1300
1311
  } catch {
1301
1312
  }
1302
- const t = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], s = ((n = this.services) == null ? void 0 : n.languageUtils) || new fe(Z());
1313
+ const t = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], s = ((n = this.services) == null ? void 0 : n.languageUtils) || new fe(X());
1303
1314
  return e.toLowerCase().indexOf("-latn") > 1 ? "ltr" : t.indexOf(s.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
1304
1315
  }
1305
1316
  static createInstance(e = {}, t) {
1306
- const s = new U(e, t);
1307
- return s.createInstance = U.createInstance, s;
1317
+ const s = new H(e, t);
1318
+ return s.createInstance = H.createInstance, s;
1308
1319
  }
1309
- cloneInstance(e = {}, t = B) {
1320
+ cloneInstance(e = {}, t = J) {
1310
1321
  const s = e.forkResourceStore;
1311
1322
  s && delete e.forkResourceStore;
1312
1323
  const i = {
1313
1324
  ...this.options,
1314
1325
  ...e,
1315
1326
  isClone: !0
1316
- }, n = new U(i);
1327
+ }, n = new H(i);
1317
1328
  if ((e.debug !== void 0 || e.prefix !== void 0) && (n.logger = n.logger.clone(e)), ["store", "services", "language"].forEach((o) => {
1318
1329
  n[o] = this[o];
1319
1330
  }), n.services = {
@@ -1321,26 +1332,26 @@ class U extends Y {
1321
1332
  }, n.services.utils = {
1322
1333
  hasLoadedNamespace: n.hasLoadedNamespace.bind(n)
1323
1334
  }, s) {
1324
- const o = Object.keys(this.store.data).reduce((u, l) => (u[l] = {
1325
- ...this.store.data[l]
1326
- }, u[l] = Object.keys(u[l]).reduce((c, f) => (c[f] = {
1327
- ...u[l][f]
1328
- }, c), u[l]), u), {});
1335
+ const o = Object.keys(this.store.data).reduce((l, u) => (l[u] = {
1336
+ ...this.store.data[u]
1337
+ }, l[u] = Object.keys(l[u]).reduce((c, f) => (c[f] = {
1338
+ ...l[u][f]
1339
+ }, c), l[u]), l), {});
1329
1340
  n.store = new le(o, i), n.services.resourceStore = n.store;
1330
1341
  }
1331
1342
  if (e.interpolation) {
1332
- const u = {
1333
- ...Z().interpolation,
1343
+ const l = {
1344
+ ...X().interpolation,
1334
1345
  ...this.options.interpolation,
1335
1346
  ...e.interpolation
1336
- }, l = {
1347
+ }, u = {
1337
1348
  ...i,
1338
- interpolation: u
1349
+ interpolation: l
1339
1350
  };
1340
- n.services.interpolator = new pe(l);
1351
+ n.services.interpolator = new pe(u);
1341
1352
  }
1342
- return n.translator = new W(n.services, i), n.translator.on("*", (o, ...u) => {
1343
- n.emit(o, ...u);
1353
+ return n.translator = new Y(n.services, i), n.translator.on("*", (o, ...l) => {
1354
+ n.emit(o, ...l);
1344
1355
  }), n.init(i, t), n.translator.options = i, n.translator.backendConnector.services.utils = {
1345
1356
  hasLoadedNamespace: n.hasLoadedNamespace.bind(n)
1346
1357
  }, n;
@@ -1355,7 +1366,7 @@ class U extends Y {
1355
1366
  };
1356
1367
  }
1357
1368
  }
1358
- const y = U.createInstance();
1369
+ const y = H.createInstance();
1359
1370
  y.createInstance;
1360
1371
  y.dir;
1361
1372
  y.init;
@@ -1400,4 +1411,4 @@ export {
1400
1411
  y as i,
1401
1412
  We as r
1402
1413
  };
1403
- //# sourceMappingURL=component.utils-_CF49NeV.js.map
1414
+ //# sourceMappingURL=component.utils-CbnwaSi1.js.map