@sankhyalabs/ezui 7.0.2 → 7.1.0-dev.1

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 (781) hide show
  1. package/dist/cjs/{ApplicationUtils-5cc05979.js → ApplicationUtils-d04f5c94.js} +1 -1
  2. package/dist/cjs/{app-globals-2fbe4b17.js → app-globals-c128c97e.js} +1 -1
  3. package/dist/cjs/ez-actions-button.cjs.entry.js +2 -2
  4. package/dist/cjs/ez-alert-list.cjs.entry.js +1 -1
  5. package/dist/cjs/ez-avatar.cjs.entry.js +1 -1
  6. package/dist/cjs/ez-calendar.cjs.entry.js +1 -1
  7. package/dist/cjs/ez-chart.cjs.entry.js +1 -1
  8. package/dist/cjs/ez-collapsible-box.cjs.entry.js +2 -2
  9. package/dist/cjs/ez-combo-box-list_4.cjs.entry.js +3 -3
  10. package/dist/cjs/ez-combo-box.cjs.entry.js +2 -2
  11. package/dist/cjs/ez-date-input.cjs.entry.js +1 -1
  12. package/dist/cjs/ez-date-time-input.cjs.entry.js +1 -1
  13. package/dist/cjs/ez-dialog.cjs.entry.js +1 -1
  14. package/dist/cjs/ez-double-list.cjs.entry.js +1 -1
  15. package/dist/cjs/ez-file-item.cjs.entry.js +1 -1
  16. package/dist/cjs/ez-form-view.cjs.entry.js +1 -1
  17. package/dist/cjs/ez-form.cjs.entry.js +3 -3
  18. package/dist/cjs/ez-grid.cjs.entry.js +768 -108
  19. package/dist/cjs/ez-guide-navigator.cjs.entry.js +1 -1
  20. package/dist/cjs/ez-link-builder_6.cjs.entry.js +1 -1
  21. package/dist/cjs/ez-list.cjs.entry.js +1 -1
  22. package/dist/cjs/ez-modal-container.cjs.entry.js +1 -1
  23. package/dist/cjs/ez-modal.cjs.entry.js +1 -1
  24. package/dist/cjs/ez-multi-selection-list.cjs.entry.js +1 -1
  25. package/dist/cjs/ez-number-input.cjs.entry.js +1 -1
  26. package/dist/cjs/ez-pagination.cjs.entry.js +1 -1
  27. package/dist/cjs/ez-popup.cjs.entry.js +1 -1
  28. package/dist/cjs/ez-search-plus.cjs.entry.js +2 -2
  29. package/dist/cjs/ez-search-result-list.cjs.entry.js +1 -1
  30. package/dist/cjs/ez-search.cjs.entry.js +41 -4
  31. package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +1 -1
  32. package/dist/cjs/ez-skeleton.cjs.entry.js +1 -1
  33. package/dist/cjs/ez-sortable-list.cjs.entry.js +1 -1
  34. package/dist/cjs/ez-spinner.cjs.entry.js +1 -1
  35. package/dist/cjs/ez-split-button.cjs.entry.js +1 -1
  36. package/dist/cjs/ez-split-item.cjs.entry.js +2 -2
  37. package/dist/cjs/ez-time-input.cjs.entry.js +1 -1
  38. package/dist/cjs/ez-tree.cjs.entry.js +1 -1
  39. package/dist/cjs/ez-upload.cjs.entry.js +2 -2
  40. package/dist/cjs/ezui.cjs.js +3 -3
  41. package/dist/cjs/filter-column.cjs.entry.js +1 -1
  42. package/dist/cjs/{index-1be40f19.js → index-00d0166b.js} +3 -0
  43. package/dist/cjs/loader.cjs.js +3 -3
  44. package/dist/cjs/{purify-3dbde2f7.js → purify-47a2f27b.js} +1 -0
  45. package/dist/cjs/{search-column-39c6b195.js → search-column-9aa090ec.js} +2 -2
  46. package/dist/collection/components/ez-search/ez-search.js +74 -2
  47. package/dist/collection/utils/i18n/locales/en-us.js +1 -0
  48. package/dist/collection/utils/i18n/locales/es-es.js +1 -0
  49. package/dist/collection/utils/i18n/locales/pt-br.js +1 -0
  50. package/dist/custom-elements/index.js +809 -108
  51. package/dist/esm/{ApplicationUtils-1569f757.js → ApplicationUtils-12768f5a.js} +1 -1
  52. package/dist/esm/{app-globals-c0ac93c0.js → app-globals-9507c20e.js} +1 -1
  53. package/dist/esm/ez-actions-button.entry.js +2 -2
  54. package/dist/esm/ez-alert-list.entry.js +1 -1
  55. package/dist/esm/ez-avatar.entry.js +1 -1
  56. package/dist/esm/ez-calendar.entry.js +1 -1
  57. package/dist/esm/ez-chart.entry.js +1 -1
  58. package/dist/esm/ez-collapsible-box.entry.js +2 -2
  59. package/dist/esm/ez-combo-box-list_4.entry.js +3 -3
  60. package/dist/esm/ez-combo-box.entry.js +2 -2
  61. package/dist/esm/ez-date-input.entry.js +1 -1
  62. package/dist/esm/ez-date-time-input.entry.js +1 -1
  63. package/dist/esm/ez-dialog.entry.js +1 -1
  64. package/dist/esm/ez-double-list.entry.js +1 -1
  65. package/dist/esm/ez-file-item.entry.js +1 -1
  66. package/dist/esm/ez-form-view.entry.js +1 -1
  67. package/dist/esm/ez-form.entry.js +3 -3
  68. package/dist/esm/ez-grid.entry.js +768 -108
  69. package/dist/esm/ez-guide-navigator.entry.js +1 -1
  70. package/dist/esm/ez-link-builder_6.entry.js +1 -1
  71. package/dist/esm/ez-list.entry.js +1 -1
  72. package/dist/esm/ez-modal-container.entry.js +1 -1
  73. package/dist/esm/ez-modal.entry.js +1 -1
  74. package/dist/esm/ez-multi-selection-list.entry.js +1 -1
  75. package/dist/esm/ez-number-input.entry.js +1 -1
  76. package/dist/esm/ez-pagination.entry.js +1 -1
  77. package/dist/esm/ez-popup.entry.js +1 -1
  78. package/dist/esm/ez-search-plus.entry.js +2 -2
  79. package/dist/esm/ez-search-result-list.entry.js +1 -1
  80. package/dist/esm/ez-search.entry.js +41 -4
  81. package/dist/esm/ez-sidebar-navigator.entry.js +1 -1
  82. package/dist/esm/ez-skeleton.entry.js +1 -1
  83. package/dist/esm/ez-sortable-list.entry.js +1 -1
  84. package/dist/esm/ez-spinner.entry.js +1 -1
  85. package/dist/esm/ez-split-button.entry.js +1 -1
  86. package/dist/esm/ez-split-item.entry.js +2 -2
  87. package/dist/esm/ez-time-input.entry.js +1 -1
  88. package/dist/esm/ez-tree.entry.js +1 -1
  89. package/dist/esm/ez-upload.entry.js +2 -2
  90. package/dist/esm/ezui.js +3 -3
  91. package/dist/esm/filter-column.entry.js +1 -1
  92. package/dist/esm/{index-41363fa6.js → index-62fc771e.js} +3 -0
  93. package/dist/esm/loader.js +3 -3
  94. package/dist/esm/{purify-2b94dec9.js → purify-dc6814bf.js} +1 -0
  95. package/dist/esm/{search-column-55666829.js → search-column-83562552.js} +2 -2
  96. package/dist/ezui/ezui.esm.js +1 -1
  97. package/dist/ezui/{p-1f8775ef.entry.js → p-02f6e3b0.entry.js} +1 -1
  98. package/dist/ezui/p-0b333f09.entry.js +1 -0
  99. package/dist/ezui/{p-859e3134.entry.js → p-0c0eb410.entry.js} +1 -1
  100. package/dist/ezui/{p-0f7971cf.entry.js → p-124699e0.entry.js} +1 -1
  101. package/dist/ezui/{p-6ca0815e.entry.js → p-1266fe78.entry.js} +1 -1
  102. package/dist/ezui/p-14807f4e.js +1 -0
  103. package/dist/ezui/{p-18384b91.entry.js → p-1730ee24.entry.js} +1 -1
  104. package/dist/ezui/{p-8803e321.entry.js → p-191cfbc8.entry.js} +1 -1
  105. package/dist/ezui/{p-39761eca.entry.js → p-1adf7139.entry.js} +1 -1
  106. package/dist/ezui/{p-3ce867cf.entry.js → p-1bfef8e5.entry.js} +1 -1
  107. package/dist/ezui/{p-d6bb930d.entry.js → p-1cde96f9.entry.js} +1 -1
  108. package/dist/ezui/{p-a1c0233e.js → p-228a4d2f.js} +1 -1
  109. package/dist/ezui/{p-7f37ee99.entry.js → p-2a70f094.entry.js} +1 -1
  110. package/dist/ezui/{p-5c3a6717.entry.js → p-2ba2d792.entry.js} +1 -1
  111. package/dist/ezui/{p-23739494.entry.js → p-2df50161.entry.js} +1 -1
  112. package/dist/ezui/{p-9b215871.entry.js → p-3fe05d6b.entry.js} +1 -1
  113. package/dist/ezui/{p-778939b2.entry.js → p-4c4f0850.entry.js} +1 -1
  114. package/dist/ezui/{p-d75a50a7.entry.js → p-4e1df756.entry.js} +1 -1
  115. package/dist/ezui/{p-4314f87a.entry.js → p-59092a66.entry.js} +1 -1
  116. package/dist/ezui/{p-34a476a9.entry.js → p-59a98e31.entry.js} +1 -1
  117. package/dist/ezui/{p-baec56c9.js → p-5a11cf56.js} +1 -1
  118. package/dist/ezui/{p-d5eb2fad.entry.js → p-5ab08b60.entry.js} +1 -1
  119. package/dist/ezui/{p-57321fc3.js → p-623161e2.js} +1 -1
  120. package/dist/ezui/p-6369a0cd.entry.js +1 -0
  121. package/dist/ezui/{p-a61fdd20.js → p-641ee538.js} +1 -1
  122. package/dist/ezui/{p-ce0b36d7.entry.js → p-6a9a20a0.entry.js} +1 -1
  123. package/dist/ezui/{p-721fd999.entry.js → p-6f119d5f.entry.js} +1 -1
  124. package/dist/ezui/{p-a4083a7a.entry.js → p-79277e43.entry.js} +1 -1
  125. package/dist/ezui/{p-f1de2cd6.entry.js → p-8bb3aeb0.entry.js} +1 -1
  126. package/dist/ezui/{p-35bfaa88.entry.js → p-8dc267ff.entry.js} +1 -1
  127. package/dist/ezui/{p-6c51ccd1.entry.js → p-957d08cd.entry.js} +1 -1
  128. package/dist/ezui/{p-b989a33e.entry.js → p-a401041c.entry.js} +1 -1
  129. package/dist/ezui/{p-9b3f3c02.entry.js → p-a7eab406.entry.js} +1 -1
  130. package/dist/ezui/{p-79abad9e.entry.js → p-bd6146c5.entry.js} +1 -1
  131. package/dist/ezui/{p-1ba2d983.entry.js → p-c943f7c4.entry.js} +1 -1
  132. package/dist/ezui/{p-1b5aa969.entry.js → p-d0e6911e.entry.js} +1 -1
  133. package/dist/ezui/p-d66bf34e.entry.js +309 -0
  134. package/dist/ezui/{p-14ceb733.entry.js → p-e27d7dc2.entry.js} +1 -1
  135. package/dist/ezui/{p-5d910b14.entry.js → p-e46a4d06.entry.js} +1 -1
  136. package/dist/ezui/{p-05c32903.entry.js → p-e882635e.entry.js} +1 -1
  137. package/dist/ezui/{p-3afa1c6e.entry.js → p-e8c6c973.entry.js} +1 -1
  138. package/dist/ezui/{p-02d448bb.entry.js → p-e99cbb51.entry.js} +1 -1
  139. package/dist/ezui/{p-2c21b2b6.entry.js → p-eee3c7ff.entry.js} +1 -1
  140. package/dist/types/components/ez-search/ez-search.d.ts +11 -0
  141. package/dist/types/components.d.ts +16 -0
  142. package/dist/types/utils/i18n/locales/en-us.d.ts +1 -0
  143. package/dist/types/utils/i18n/locales/es-es.d.ts +1 -0
  144. package/dist/types/utils/i18n/locales/pt-br.d.ts +1 -0
  145. package/dist/types/utils/i18n/translations.d.ts +3 -0
  146. package/package.json +1 -1
  147. package/dist/cjs/ApplicationUtils-5cc05979.js.gz +0 -0
  148. package/dist/cjs/CSSVarsUtils-f20973d1.js.gz +0 -0
  149. package/dist/cjs/CheckMode-ecb90b87.js.gz +0 -0
  150. package/dist/cjs/DialogType-2114c337.js.gz +0 -0
  151. package/dist/cjs/EzScrollDirection-b2c99895.js.gz +0 -0
  152. package/dist/cjs/FocusResolver-885f2173.js.gz +0 -0
  153. package/dist/cjs/FormLayout-18853e70.js.gz +0 -0
  154. package/dist/cjs/RichToolbarHelper-ea12328f.js.gz +0 -0
  155. package/dist/cjs/_commonjsHelpers-537d719a.js.gz +0 -0
  156. package/dist/cjs/app-globals-2fbe4b17.js.gz +0 -0
  157. package/dist/cjs/constants-72b7e05e.js.gz +0 -0
  158. package/dist/cjs/ez-actions-button.cjs.entry.js.gz +0 -0
  159. package/dist/cjs/ez-alert-list.cjs.entry.js.gz +0 -0
  160. package/dist/cjs/ez-alert.cjs.entry.js.gz +0 -0
  161. package/dist/cjs/ez-application.cjs.entry.js.gz +0 -0
  162. package/dist/cjs/ez-avatar.cjs.entry.js.gz +0 -0
  163. package/dist/cjs/ez-badge.cjs.entry.js.gz +0 -0
  164. package/dist/cjs/ez-breadcrumb.cjs.entry.js.gz +0 -0
  165. package/dist/cjs/ez-button.cjs.entry.js.gz +0 -0
  166. package/dist/cjs/ez-calendar.cjs.entry.js.gz +0 -0
  167. package/dist/cjs/ez-card-item.cjs.entry.js.gz +0 -0
  168. package/dist/cjs/ez-chart.cjs.entry.js.gz +0 -0
  169. package/dist/cjs/ez-check.cjs.entry.js.gz +0 -0
  170. package/dist/cjs/ez-chip.cjs.entry.js.gz +0 -0
  171. package/dist/cjs/ez-classic-combo-box.cjs.entry.js.gz +0 -0
  172. package/dist/cjs/ez-classic-input.cjs.entry.js.gz +0 -0
  173. package/dist/cjs/ez-classic-text-area.cjs.entry.js.gz +0 -0
  174. package/dist/cjs/ez-collapsible-box.cjs.entry.js.gz +0 -0
  175. package/dist/cjs/ez-combo-box-list_4.cjs.entry.js.gz +0 -0
  176. package/dist/cjs/ez-combo-box.cjs.entry.js.gz +0 -0
  177. package/dist/cjs/ez-date-input.cjs.entry.js.gz +0 -0
  178. package/dist/cjs/ez-date-time-input.cjs.entry.js.gz +0 -0
  179. package/dist/cjs/ez-dialog.cjs.entry.js.gz +0 -0
  180. package/dist/cjs/ez-double-list.cjs.entry.js.gz +0 -0
  181. package/dist/cjs/ez-dropdown.cjs.entry.js.gz +0 -0
  182. package/dist/cjs/ez-empty-card.cjs.entry.js.gz +0 -0
  183. package/dist/cjs/ez-file-item.cjs.entry.js.gz +0 -0
  184. package/dist/cjs/ez-filter-input.cjs.entry.js.gz +0 -0
  185. package/dist/cjs/ez-form-view.cjs.entry.js.gz +0 -0
  186. package/dist/cjs/ez-form.cjs.entry.js.gz +0 -0
  187. package/dist/cjs/ez-grid-view.cjs.entry.js.gz +0 -0
  188. package/dist/cjs/ez-grid.cjs.entry.js.gz +0 -0
  189. package/dist/cjs/ez-guide-navigator.cjs.entry.js.gz +0 -0
  190. package/dist/cjs/ez-icon.cjs.entry.js.gz +0 -0
  191. package/dist/cjs/ez-link-builder_6.cjs.entry.js.gz +0 -0
  192. package/dist/cjs/ez-list-item.cjs.entry.js.gz +0 -0
  193. package/dist/cjs/ez-list.cjs.entry.js.gz +0 -0
  194. package/dist/cjs/ez-loading-bar.cjs.entry.js.gz +0 -0
  195. package/dist/cjs/ez-modal-container.cjs.entry.js.gz +0 -0
  196. package/dist/cjs/ez-modal.cjs.entry.js.gz +0 -0
  197. package/dist/cjs/ez-multi-selection-list.cjs.entry.js.gz +0 -0
  198. package/dist/cjs/ez-number-input.cjs.entry.js.gz +0 -0
  199. package/dist/cjs/ez-pagination.cjs.entry.js.gz +0 -0
  200. package/dist/cjs/ez-popover-core.cjs.entry.js.gz +0 -0
  201. package/dist/cjs/ez-popover-plus_3.cjs.entry.js.gz +0 -0
  202. package/dist/cjs/ez-popover.cjs.entry.js.gz +0 -0
  203. package/dist/cjs/ez-popup.cjs.entry.js.gz +0 -0
  204. package/dist/cjs/ez-progress-bar.cjs.entry.js.gz +0 -0
  205. package/dist/cjs/ez-radio-button.cjs.entry.js.gz +0 -0
  206. package/dist/cjs/ez-rich-toolbar-item.cjs.entry.js.gz +0 -0
  207. package/dist/cjs/ez-scroller_2.cjs.entry.js.gz +0 -0
  208. package/dist/cjs/ez-search-plus.cjs.entry.js.gz +0 -0
  209. package/dist/cjs/ez-search-result-list.cjs.entry.js.gz +0 -0
  210. package/dist/cjs/ez-search.cjs.entry.js.gz +0 -0
  211. package/dist/cjs/ez-sidebar-navigator.cjs.entry.js.gz +0 -0
  212. package/dist/cjs/ez-skeleton.cjs.entry.js.gz +0 -0
  213. package/dist/cjs/ez-sortable-list.cjs.entry.js.gz +0 -0
  214. package/dist/cjs/ez-spinner.cjs.entry.js.gz +0 -0
  215. package/dist/cjs/ez-split-button.cjs.entry.js.gz +0 -0
  216. package/dist/cjs/ez-split-item.cjs.entry.js.gz +0 -0
  217. package/dist/cjs/ez-split-panel.cjs.entry.js.gz +0 -0
  218. package/dist/cjs/ez-tabselector.cjs.entry.js.gz +0 -0
  219. package/dist/cjs/ez-tag-input.cjs.entry.js.gz +0 -0
  220. package/dist/cjs/ez-tag.cjs.entry.js.gz +0 -0
  221. package/dist/cjs/ez-text-area.cjs.entry.js.gz +0 -0
  222. package/dist/cjs/ez-text-input.cjs.entry.js.gz +0 -0
  223. package/dist/cjs/ez-tile-medium.cjs.entry.js.gz +0 -0
  224. package/dist/cjs/ez-tile.cjs.entry.js.gz +0 -0
  225. package/dist/cjs/ez-time-input.cjs.entry.js.gz +0 -0
  226. package/dist/cjs/ez-toast.cjs.entry.js.gz +0 -0
  227. package/dist/cjs/ez-tooltip.cjs.entry.js.gz +0 -0
  228. package/dist/cjs/ez-tree.cjs.entry.js.gz +0 -0
  229. package/dist/cjs/ez-underface.cjs.entry.js.gz +0 -0
  230. package/dist/cjs/ez-upload.cjs.entry.js.gz +0 -0
  231. package/dist/cjs/ez-view-stack.cjs.entry.js.gz +0 -0
  232. package/dist/cjs/ezListHelper-0d3970b4.js.gz +0 -0
  233. package/dist/cjs/ezui.cjs.js.gz +0 -0
  234. package/dist/cjs/filter-column.cjs.entry.js.gz +0 -0
  235. package/dist/cjs/floating-ui.dom.esm-f4d87617.js.gz +0 -0
  236. package/dist/cjs/index-1be40f19.js.gz +0 -0
  237. package/dist/cjs/index-a7b0c73d.js.gz +0 -0
  238. package/dist/cjs/index.cjs.js.gz +0 -0
  239. package/dist/cjs/loader.cjs.js.gz +0 -0
  240. package/dist/cjs/purify-3dbde2f7.js.gz +0 -0
  241. package/dist/cjs/search-column-39c6b195.js.gz +0 -0
  242. package/dist/cjs/searchFormatters-b7e1ed1e.js.gz +0 -0
  243. package/dist/collection/components/ez-actions-button/ez-actions-button.css.gz +0 -0
  244. package/dist/collection/components/ez-actions-button/ez-actions-button.js.gz +0 -0
  245. package/dist/collection/components/ez-alert/ez-alert.css.gz +0 -0
  246. package/dist/collection/components/ez-alert/ez-alert.js.gz +0 -0
  247. package/dist/collection/components/ez-alert-list/ez-alert-list.css.gz +0 -0
  248. package/dist/collection/components/ez-alert-list/ez-alert-list.js.gz +0 -0
  249. package/dist/collection/components/ez-application/ez-application.css.gz +0 -0
  250. package/dist/collection/components/ez-application/ez-application.js.gz +0 -0
  251. package/dist/collection/components/ez-avatar/ez-avatar.css.gz +0 -0
  252. package/dist/collection/components/ez-avatar/ez-avatar.js.gz +0 -0
  253. package/dist/collection/components/ez-badge/enum/sizes.js.gz +0 -0
  254. package/dist/collection/components/ez-badge/ez-badge.css.gz +0 -0
  255. package/dist/collection/components/ez-badge/ez-badge.js.gz +0 -0
  256. package/dist/collection/components/ez-badge/interfaces/IPosition.js.gz +0 -0
  257. package/dist/collection/components/ez-breadcrumb/ez-breadcrumb.css.gz +0 -0
  258. package/dist/collection/components/ez-breadcrumb/ez-breadcrumb.js.gz +0 -0
  259. package/dist/collection/components/ez-breadcrumb/subcomponents/breadcrumb-item.js.gz +0 -0
  260. package/dist/collection/components/ez-button/ez-button.css.gz +0 -0
  261. package/dist/collection/components/ez-button/ez-button.js.gz +0 -0
  262. package/dist/collection/components/ez-calendar/ez-calendar.css.gz +0 -0
  263. package/dist/collection/components/ez-calendar/ez-calendar.js.gz +0 -0
  264. package/dist/collection/components/ez-card-item/ez-card-item.css.gz +0 -0
  265. package/dist/collection/components/ez-card-item/ez-card-item.js.gz +0 -0
  266. package/dist/collection/components/ez-chart/components/BarChart.js.gz +0 -0
  267. package/dist/collection/components/ez-chart/components/ColumnChart.js.gz +0 -0
  268. package/dist/collection/components/ez-chart/components/DonutChart.js.gz +0 -0
  269. package/dist/collection/components/ez-chart/components/LineChart.js.gz +0 -0
  270. package/dist/collection/components/ez-chart/components/PieChart.js.gz +0 -0
  271. package/dist/collection/components/ez-chart/components/index.js.gz +0 -0
  272. package/dist/collection/components/ez-chart/ez-chart.css.gz +0 -0
  273. package/dist/collection/components/ez-chart/ez-chart.js.gz +0 -0
  274. package/dist/collection/components/ez-chart/interfaces/ChartAxis.js.gz +0 -0
  275. package/dist/collection/components/ez-chart/interfaces/ChartContext.js.gz +0 -0
  276. package/dist/collection/components/ez-chart/interfaces/ChartOptions.js.gz +0 -0
  277. package/dist/collection/components/ez-chart/interfaces/ChartSerie.js.gz +0 -0
  278. package/dist/collection/components/ez-chart/interfaces/ChartStrategies.js.gz +0 -0
  279. package/dist/collection/components/ez-chart/interfaces/ChartType.js.gz +0 -0
  280. package/dist/collection/components/ez-chart/interfaces/ChartTypeValue.js.gz +0 -0
  281. package/dist/collection/components/ez-chart/interfaces/index.js.gz +0 -0
  282. package/dist/collection/components/ez-chart/test/mock-chart.js.gz +0 -0
  283. package/dist/collection/components/ez-chart/types/BaseHighChartsRender.js.gz +0 -0
  284. package/dist/collection/components/ez-check/CheckMode.js.gz +0 -0
  285. package/dist/collection/components/ez-check/ez-check.css.gz +0 -0
  286. package/dist/collection/components/ez-check/ez-check.js.gz +0 -0
  287. package/dist/collection/components/ez-chip/ez-chip.css.gz +0 -0
  288. package/dist/collection/components/ez-chip/ez-chip.js.gz +0 -0
  289. package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.css.gz +0 -0
  290. package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.js.gz +0 -0
  291. package/dist/collection/components/ez-classic-combo-box/interfaces/IOption.js.gz +0 -0
  292. package/dist/collection/components/ez-classic-input/ez-classic-input.css.gz +0 -0
  293. package/dist/collection/components/ez-classic-input/ez-classic-input.js.gz +0 -0
  294. package/dist/collection/components/ez-classic-input/interfaces/optionsSetFocus.js.gz +0 -0
  295. package/dist/collection/components/ez-classic-input/utils/maskFormatter.js.gz +0 -0
  296. package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.css.gz +0 -0
  297. package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.js.gz +0 -0
  298. package/dist/collection/components/ez-classic-text-area/interfaces/optionsSetFocus.js.gz +0 -0
  299. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.css.gz +0 -0
  300. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.js.gz +0 -0
  301. package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.css.gz +0 -0
  302. package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.js.gz +0 -0
  303. package/dist/collection/components/ez-combo-box/ez-combo-box.css.gz +0 -0
  304. package/dist/collection/components/ez-combo-box/ez-combo-box.js.gz +0 -0
  305. package/dist/collection/components/ez-date-input/ez-date-input.css.gz +0 -0
  306. package/dist/collection/components/ez-date-input/ez-date-input.js.gz +0 -0
  307. package/dist/collection/components/ez-date-time-input/ez-date-time-input.css.gz +0 -0
  308. package/dist/collection/components/ez-date-time-input/ez-date-time-input.js.gz +0 -0
  309. package/dist/collection/components/ez-dialog/DialogType.js.gz +0 -0
  310. package/dist/collection/components/ez-dialog/ez-dialog.css.gz +0 -0
  311. package/dist/collection/components/ez-dialog/ez-dialog.js.gz +0 -0
  312. package/dist/collection/components/ez-double-list/doubleListHelper.js.gz +0 -0
  313. package/dist/collection/components/ez-double-list/ez-double-list.css.gz +0 -0
  314. package/dist/collection/components/ez-double-list/ez-double-list.js.gz +0 -0
  315. package/dist/collection/components/ez-dropdown/ez-dropdown.css.gz +0 -0
  316. package/dist/collection/components/ez-dropdown/ez-dropdown.js.gz +0 -0
  317. package/dist/collection/components/ez-dropdown/structure/DropdownItem.js.gz +0 -0
  318. package/dist/collection/components/ez-dropdown/structure/SubmenuControl.js.gz +0 -0
  319. package/dist/collection/components/ez-empty-card/ez-empty-card.css.gz +0 -0
  320. package/dist/collection/components/ez-empty-card/ez-empty-card.js.gz +0 -0
  321. package/dist/collection/components/ez-file-item/ez-file-item.css.gz +0 -0
  322. package/dist/collection/components/ez-file-item/ez-file-item.js.gz +0 -0
  323. package/dist/collection/components/ez-filter-input/ez-filter-input.css.gz +0 -0
  324. package/dist/collection/components/ez-filter-input/ez-filter-input.js.gz +0 -0
  325. package/dist/collection/components/ez-form/ez-form.css.gz +0 -0
  326. package/dist/collection/components/ez-form/ez-form.js.gz +0 -0
  327. package/dist/collection/components/ez-form/store/form.slice.js.gz +0 -0
  328. package/dist/collection/components/ez-form-view/custom-input/ez-custom-form-input.js.gz +0 -0
  329. package/dist/collection/components/ez-form-view/ez-form-view.css.gz +0 -0
  330. package/dist/collection/components/ez-form-view/ez-form-view.js.gz +0 -0
  331. package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js.gz +0 -0
  332. package/dist/collection/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.js.gz +0 -0
  333. package/dist/collection/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.js.gz +0 -0
  334. package/dist/collection/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.js.gz +0 -0
  335. package/dist/collection/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.js.gz +0 -0
  336. package/dist/collection/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.js.gz +0 -0
  337. package/dist/collection/components/ez-form-view/fieldbuilder/templates/RichText.tpl.js.gz +0 -0
  338. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.js.gz +0 -0
  339. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInputPlus.tpl.js.gz +0 -0
  340. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.js.gz +0 -0
  341. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.js.gz +0 -0
  342. package/dist/collection/components/ez-form-view/interfaces/IFormViewField.js.gz +0 -0
  343. package/dist/collection/components/ez-form-view/interfaces/index.js.gz +0 -0
  344. package/dist/collection/components/ez-form-view/structure/index.js.gz +0 -0
  345. package/dist/collection/components/ez-grid/controller/EzGridController.js.gz +0 -0
  346. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js.gz +0 -0
  347. package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js.gz +0 -0
  348. package/dist/collection/components/ez-grid/controller/ag-grid/DataSourceInterceptor.js.gz +0 -0
  349. package/dist/collection/components/ez-grid/controller/ag-grid/GridEditionManager.js.gz +0 -0
  350. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellEditor.js.gz +0 -0
  351. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellRender.js.gz +0 -0
  352. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomHeader.js.gz +0 -0
  353. package/dist/collection/components/ez-grid/controller/ag-grid/components/cellRendererStatus.js.gz +0 -0
  354. package/dist/collection/components/ez-grid/controller/ag-grid/components/selectionHeader.js.gz +0 -0
  355. package/dist/collection/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellEditorConstants.js.gz +0 -0
  356. package/dist/collection/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellRenderConstants.js.gz +0 -0
  357. package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellEditor.js.gz +0 -0
  358. package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellRender.js.gz +0 -0
  359. package/dist/collection/components/ez-grid/controller/ag-grid/editor/GridEditorUtils.js.gz +0 -0
  360. package/dist/collection/components/ez-grid/controller/ag-grid/editor/IEditorMetadata.js.gz +0 -0
  361. package/dist/collection/components/ez-grid/controller/ag-grid/editor/IUICellEditor.js.gz +0 -0
  362. package/dist/collection/components/ez-grid/controller/ag-grid/editor/IUICellRender.js.gz +0 -0
  363. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/ComboBox.tpl.js.gz +0 -0
  364. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/DateInput.tpl.js.gz +0 -0
  365. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/NumberInput.tpl.js.gz +0 -0
  366. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/Search.tpl.js.gz +0 -0
  367. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/SearchPlus.tpl.js.gz +0 -0
  368. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/TextInput.tpl.js.gz +0 -0
  369. package/dist/collection/components/ez-grid/controller/ag-grid/mock/Server.js.gz +0 -0
  370. package/dist/collection/components/ez-grid/controller/ag-grid/test/constants/GridEditionMock.js.gz +0 -0
  371. package/dist/collection/components/ez-grid/controller/ag-grid/utils/buildLocaleText.js.gz +0 -0
  372. package/dist/collection/components/ez-grid/ez-grid.css.gz +0 -0
  373. package/dist/collection/components/ez-grid/ez-grid.js.gz +0 -0
  374. package/dist/collection/components/ez-grid/interfaces/IColumnFilter.js.gz +0 -0
  375. package/dist/collection/components/ez-grid/interfaces/ICustomFormatter.js.gz +0 -0
  376. package/dist/collection/components/ez-grid/interfaces/IGridMode.js.gz +0 -0
  377. package/dist/collection/components/ez-grid/interfaces/ISelection.js.gz +0 -0
  378. package/dist/collection/components/ez-grid/interfaces/ISelectionToastConfig.js.gz +0 -0
  379. package/dist/collection/components/ez-grid/interfaces/index.js.gz +0 -0
  380. package/dist/collection/components/ez-grid/subcomponents/filter-column.css.gz +0 -0
  381. package/dist/collection/components/ez-grid/subcomponents/filter-column.js.gz +0 -0
  382. package/dist/collection/components/ez-grid/subcomponents/selection-counter.js.gz +0 -0
  383. package/dist/collection/components/ez-grid/subcomponents/utils/selectionCounterUtils.js.gz +0 -0
  384. package/dist/collection/components/ez-grid/test/resources/gridDataUnit.js.gz +0 -0
  385. package/dist/collection/components/ez-grid/utils/ColumnFilterManager.js.gz +0 -0
  386. package/dist/collection/components/ez-grid/utils/InMemoryFilterColumnDataSource.js.gz +0 -0
  387. package/dist/collection/components/ez-grid/utils/index.js.gz +0 -0
  388. package/dist/collection/components/ez-grid-view/ez-grid-view.css.gz +0 -0
  389. package/dist/collection/components/ez-grid-view/ez-grid-view.js.gz +0 -0
  390. package/dist/collection/components/ez-guide-navigator/ez-guide-navigator.css.gz +0 -0
  391. package/dist/collection/components/ez-guide-navigator/ez-guide-navigator.js.gz +0 -0
  392. package/dist/collection/components/ez-guide-navigator/interfaces/IGuideItem.js.gz +0 -0
  393. package/dist/collection/components/ez-guide-navigator/interfaces/index.js.gz +0 -0
  394. package/dist/collection/components/ez-icon/ez-icon.css.gz +0 -0
  395. package/dist/collection/components/ez-icon/ez-icon.js.gz +0 -0
  396. package/dist/collection/components/ez-list/ez-list.css.gz +0 -0
  397. package/dist/collection/components/ez-list/ez-list.js.gz +0 -0
  398. package/dist/collection/components/ez-list/ezListHelper.js.gz +0 -0
  399. package/dist/collection/components/ez-list-item/ez-list-item.css.gz +0 -0
  400. package/dist/collection/components/ez-list-item/ez-list-item.js.gz +0 -0
  401. package/dist/collection/components/ez-loading-bar/ez-loading-bar.css.gz +0 -0
  402. package/dist/collection/components/ez-loading-bar/ez-loading-bar.js.gz +0 -0
  403. package/dist/collection/components/ez-modal/ez-modal.css.gz +0 -0
  404. package/dist/collection/components/ez-modal/ez-modal.js.gz +0 -0
  405. package/dist/collection/components/ez-modal-container/ez-modal-container.css.gz +0 -0
  406. package/dist/collection/components/ez-modal-container/ez-modal-container.js.gz +0 -0
  407. package/dist/collection/components/ez-modal-container/index.js.gz +0 -0
  408. package/dist/collection/components/ez-modal-container/modal-action.js.gz +0 -0
  409. package/dist/collection/components/ez-modal-container/modal-button-status.js.gz +0 -0
  410. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.css.gz +0 -0
  411. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.js.gz +0 -0
  412. package/dist/collection/components/ez-multi-selection-list/interfaces/IMultiSelectionListDataSource.js.gz +0 -0
  413. package/dist/collection/components/ez-multi-selection-list/interfaces/IMultiSelectionOption.js.gz +0 -0
  414. package/dist/collection/components/ez-multi-selection-list/interfaces/IStaticOptionsFetchConfig.js.gz +0 -0
  415. package/dist/collection/components/ez-multi-selection-list/subcomponents/multi-selection-box-message.css.gz +0 -0
  416. package/dist/collection/components/ez-multi-selection-list/subcomponents/multi-selection-box-message.js.gz +0 -0
  417. package/dist/collection/components/ez-number-input/ez-number-input.css.gz +0 -0
  418. package/dist/collection/components/ez-number-input/ez-number-input.js.gz +0 -0
  419. package/dist/collection/components/ez-pagination/ez-pagination.css.gz +0 -0
  420. package/dist/collection/components/ez-pagination/ez-pagination.js.gz +0 -0
  421. package/dist/collection/components/ez-popover/ez-popover.css.gz +0 -0
  422. package/dist/collection/components/ez-popover/ez-popover.js.gz +0 -0
  423. package/dist/collection/components/ez-popover-plus/ez-popover-plus.css.gz +0 -0
  424. package/dist/collection/components/ez-popover-plus/ez-popover-plus.js.gz +0 -0
  425. package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.css.gz +0 -0
  426. package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.js.gz +0 -0
  427. package/dist/collection/components/ez-popup/ez-popup.css.gz +0 -0
  428. package/dist/collection/components/ez-popup/ez-popup.js.gz +0 -0
  429. package/dist/collection/components/ez-popup/interfaces/EzButtonProps.js.gz +0 -0
  430. package/dist/collection/components/ez-progress-bar/ez-progress-bar.css.gz +0 -0
  431. package/dist/collection/components/ez-progress-bar/ez-progress-bar.js.gz +0 -0
  432. package/dist/collection/components/ez-radio-button/ez-radio-button.css.gz +0 -0
  433. package/dist/collection/components/ez-radio-button/ez-radio-button.js.gz +0 -0
  434. package/dist/collection/components/ez-rich-text/ez-link-builder/ez-link-builder.css.gz +0 -0
  435. package/dist/collection/components/ez-rich-text/ez-link-builder/ez-link-builder.js.gz +0 -0
  436. package/dist/collection/components/ez-rich-text/ez-rich-text.css.gz +0 -0
  437. package/dist/collection/components/ez-rich-text/ez-rich-text.js.gz +0 -0
  438. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/RichToolbarHelper.js.gz +0 -0
  439. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-arrows/ez-rich-toolbar-arrows.css.gz +0 -0
  440. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-arrows/ez-rich-toolbar-arrows.js.gz +0 -0
  441. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-configs/ez-rich-toolbar-configs.css.gz +0 -0
  442. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-configs/ez-rich-toolbar-configs.js.gz +0 -0
  443. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-item/ez-rich-toolbar-item.css.gz +0 -0
  444. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-item/ez-rich-toolbar-item.js.gz +0 -0
  445. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-letters/ez-rich-toolbar-letters.css.gz +0 -0
  446. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-letters/ez-rich-toolbar-letters.js.gz +0 -0
  447. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar.css.gz +0 -0
  448. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar.js.gz +0 -0
  449. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/ez-simple-image-uploader.css.gz +0 -0
  450. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/ez-simple-image-uploader.js.gz +0 -0
  451. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/test/resource/imageBase64.js.gz +0 -0
  452. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/utils/fileToBase64.js.gz +0 -0
  453. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/utils/formatBytes.js.gz +0 -0
  454. package/dist/collection/components/ez-scroller/EzScrollDirection.js.gz +0 -0
  455. package/dist/collection/components/ez-scroller/ez-scroller.css.gz +0 -0
  456. package/dist/collection/components/ez-scroller/ez-scroller.js.gz +0 -0
  457. package/dist/collection/components/ez-search/ez-search.css.gz +0 -0
  458. package/dist/collection/components/ez-search/ez-search.js.gz +0 -0
  459. package/dist/collection/components/ez-search/subcomponent/search-list/search-list.css.gz +0 -0
  460. package/dist/collection/components/ez-search/subcomponent/search-list/search-list.js.gz +0 -0
  461. package/dist/collection/components/ez-search/utils/searchFormatters.js.gz +0 -0
  462. package/dist/collection/components/ez-search-plus/ez-search-plus.css.gz +0 -0
  463. package/dist/collection/components/ez-search-plus/ez-search-plus.js.gz +0 -0
  464. package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.css.gz +0 -0
  465. package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.js.gz +0 -0
  466. package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.css.gz +0 -0
  467. package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.js.gz +0 -0
  468. package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.css.gz +0 -0
  469. package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.js.gz +0 -0
  470. package/dist/collection/components/ez-sidebar-navigator/interfaces/ModeMenuEnum.js.gz +0 -0
  471. package/dist/collection/components/ez-sidebar-navigator/interfaces/SizeMenuEnum.js.gz +0 -0
  472. package/dist/collection/components/ez-sidebar-navigator/interfaces/TypeMenuEnum.js.gz +0 -0
  473. package/dist/collection/components/ez-sidebar-navigator/interfaces/index.js.gz +0 -0
  474. package/dist/collection/components/ez-skeleton/ez-skeleton.constants.js.gz +0 -0
  475. package/dist/collection/components/ez-skeleton/ez-skeleton.css.gz +0 -0
  476. package/dist/collection/components/ez-skeleton/ez-skeleton.js.gz +0 -0
  477. package/dist/collection/components/ez-sortable-list/ez-sortable-list.css.gz +0 -0
  478. package/dist/collection/components/ez-sortable-list/ez-sortable-list.js.gz +0 -0
  479. package/dist/collection/components/ez-spinner/ez-spinner.css.gz +0 -0
  480. package/dist/collection/components/ez-spinner/ez-spinner.js.gz +0 -0
  481. package/dist/collection/components/ez-split-button/ez-split-button.css.gz +0 -0
  482. package/dist/collection/components/ez-split-button/ez-split-button.js.gz +0 -0
  483. package/dist/collection/components/ez-split-button/test/dropdownItems.js.gz +0 -0
  484. package/dist/collection/components/ez-split-panel/ez-split-panel.css.gz +0 -0
  485. package/dist/collection/components/ez-split-panel/ez-split-panel.js.gz +0 -0
  486. package/dist/collection/components/ez-split-panel/interfaces/IPanelSizeInfo.js.gz +0 -0
  487. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.css.gz +0 -0
  488. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.js.gz +0 -0
  489. package/dist/collection/components/ez-tabselector/ez-tabselector.css.gz +0 -0
  490. package/dist/collection/components/ez-tabselector/ez-tabselector.js.gz +0 -0
  491. package/dist/collection/components/ez-tag/ez-tag.css.gz +0 -0
  492. package/dist/collection/components/ez-tag/ez-tag.js.gz +0 -0
  493. package/dist/collection/components/ez-tag-input/ez-tag-input.css.gz +0 -0
  494. package/dist/collection/components/ez-tag-input/ez-tag-input.js.gz +0 -0
  495. package/dist/collection/components/ez-tag-input/interfaces/optionsSetFocus.js.gz +0 -0
  496. package/dist/collection/components/ez-text-area/ez-text-area.css.gz +0 -0
  497. package/dist/collection/components/ez-text-area/ez-text-area.js.gz +0 -0
  498. package/dist/collection/components/ez-text-edit/ez-text-edit.css.gz +0 -0
  499. package/dist/collection/components/ez-text-edit/ez-text-edit.js.gz +0 -0
  500. package/dist/collection/components/ez-text-input/ez-text-input.css.gz +0 -0
  501. package/dist/collection/components/ez-text-input/ez-text-input.js.gz +0 -0
  502. package/dist/collection/components/ez-tile/ez-tile.css.gz +0 -0
  503. package/dist/collection/components/ez-tile/ez-tile.js.gz +0 -0
  504. package/dist/collection/components/ez-tile-medium/ez-tile-medium.css.gz +0 -0
  505. package/dist/collection/components/ez-tile-medium/ez-tile-medium.js.gz +0 -0
  506. package/dist/collection/components/ez-time-input/ez-time-input.css.gz +0 -0
  507. package/dist/collection/components/ez-time-input/ez-time-input.js.gz +0 -0
  508. package/dist/collection/components/ez-toast/ez-toast.css.gz +0 -0
  509. package/dist/collection/components/ez-toast/ez-toast.js.gz +0 -0
  510. package/dist/collection/components/ez-tooltip/ez-tooltip.css.gz +0 -0
  511. package/dist/collection/components/ez-tooltip/ez-tooltip.js.gz +0 -0
  512. package/dist/collection/components/ez-tree/ez-tree.css.gz +0 -0
  513. package/dist/collection/components/ez-tree/ez-tree.js.gz +0 -0
  514. package/dist/collection/components/ez-tree/interfaces/ITree.js.gz +0 -0
  515. package/dist/collection/components/ez-tree/interfaces/ITreeItem.js.gz +0 -0
  516. package/dist/collection/components/ez-tree/interfaces/ITreeItemBadge.js.gz +0 -0
  517. package/dist/collection/components/ez-tree/subcomponents/DefaultIconResolver.js.gz +0 -0
  518. package/dist/collection/components/ez-tree/subcomponents/DefaultTooltipResolver.js.gz +0 -0
  519. package/dist/collection/components/ez-tree/subcomponents/TreeItem.js.gz +0 -0
  520. package/dist/collection/components/ez-tree/subcomponents/index.js.gz +0 -0
  521. package/dist/collection/components/ez-tree/types/Node.js.gz +0 -0
  522. package/dist/collection/components/ez-tree/types/Tree.js.gz +0 -0
  523. package/dist/collection/components/ez-underface/ez-underface.css.gz +0 -0
  524. package/dist/collection/components/ez-underface/ez-underface.js.gz +0 -0
  525. package/dist/collection/components/ez-upload/RemoteFile.js.gz +0 -0
  526. package/dist/collection/components/ez-upload/ez-upload.css.gz +0 -0
  527. package/dist/collection/components/ez-upload/ez-upload.js.gz +0 -0
  528. package/dist/collection/components/ez-view-stack/ez-view-stack.css.gz +0 -0
  529. package/dist/collection/components/ez-view-stack/ez-view-stack.js.gz +0 -0
  530. package/dist/collection/global/app-init.js.gz +0 -0
  531. package/dist/collection/index.js.gz +0 -0
  532. package/dist/collection/servidor.js.gz +0 -0
  533. package/dist/collection/setupTests.js.gz +0 -0
  534. package/dist/collection/sw.js.gz +0 -0
  535. package/dist/collection/utils/ApplicationUtils.js.gz +0 -0
  536. package/dist/collection/utils/AssetsUtils.js.gz +0 -0
  537. package/dist/collection/utils/CSSVarsUtils.js.gz +0 -0
  538. package/dist/collection/utils/FocusResolver.js.gz +0 -0
  539. package/dist/collection/utils/ag-grid-license.js.gz +0 -0
  540. package/dist/collection/utils/constants.js.gz +0 -0
  541. package/dist/collection/utils/customEditor/interfaces/ICustomEditor.js.gz +0 -0
  542. package/dist/collection/utils/customEditor/interfaces/ICustomEditorInfo.js.gz +0 -0
  543. package/dist/collection/utils/customRender/interfaces/ICustomRender.js.gz +0 -0
  544. package/dist/collection/utils/customRender/interfaces/ICustomRenderInfo.js.gz +0 -0
  545. package/dist/collection/utils/form/DataBinder.js.gz +0 -0
  546. package/dist/collection/utils/form/FormMetadata.js.gz +0 -0
  547. package/dist/collection/utils/form/index.js.gz +0 -0
  548. package/dist/collection/utils/form/interfaces/FormLayout.js.gz +0 -0
  549. package/dist/collection/utils/form/interfaces/IDefaultConfig.js.gz +0 -0
  550. package/dist/collection/utils/form/interfaces/IFormCardConfig.js.gz +0 -0
  551. package/dist/collection/utils/form/interfaces/IFormConfig.js.gz +0 -0
  552. package/dist/collection/utils/form/interfaces/IFormSheetMetadata.js.gz +0 -0
  553. package/dist/collection/utils/form/interfaces/ISummaryField.js.gz +0 -0
  554. package/dist/collection/utils/form/interfaces/ITabConfig.js.gz +0 -0
  555. package/dist/collection/utils/form/interfaces/index.js.gz +0 -0
  556. package/dist/collection/utils/form/test/DataBinder.test.js.gz +0 -0
  557. package/dist/collection/utils/form/test/resources/metadataTest.js.gz +0 -0
  558. package/dist/collection/utils/i18n/elanguages.js.gz +0 -0
  559. package/dist/collection/utils/i18n/index.js.gz +0 -0
  560. package/dist/collection/utils/i18n/locales/en-us.js.gz +0 -0
  561. package/dist/collection/utils/i18n/locales/es-es.js.gz +0 -0
  562. package/dist/collection/utils/i18n/locales/pt-br.js.gz +0 -0
  563. package/dist/collection/utils/i18n/translations.js.gz +0 -0
  564. package/dist/collection/utils/index.js.gz +0 -0
  565. package/dist/collection/utils/interfaces/AbstractFieldMetadata.js.gz +0 -0
  566. package/dist/collection/utils/interfaces/IAction.js.gz +0 -0
  567. package/dist/collection/utils/interfaces/IFieldConfig.js.gz +0 -0
  568. package/dist/collection/utils/mock/ez-upload-mock.js.gz +0 -0
  569. package/dist/collection/utils/search/types.js.gz +0 -0
  570. package/dist/collection/utils/searchColumn/search-column.js.gz +0 -0
  571. package/dist/collection/utils/utils.js.gz +0 -0
  572. package/dist/collection/utils/validators/recordvalidator/IInvalidCells.js.gz +0 -0
  573. package/dist/collection/utils/validators/recordvalidator/IInvalidField.js.gz +0 -0
  574. package/dist/collection/utils/validators/recordvalidator/IRecordValidator.js.gz +0 -0
  575. package/dist/collection/utils/validators/recordvalidator/IValidationResult.js.gz +0 -0
  576. package/dist/collection/utils/validators/recordvalidator/IValidationSource.js.gz +0 -0
  577. package/dist/collection/utils/validators/recordvalidator/RecordValidationProcessor.js.gz +0 -0
  578. package/dist/custom-elements/index.js.gz +0 -0
  579. package/dist/esm/ApplicationUtils-1569f757.js.gz +0 -0
  580. package/dist/esm/CSSVarsUtils-acba92d7.js.gz +0 -0
  581. package/dist/esm/CheckMode-bdb2ec19.js.gz +0 -0
  582. package/dist/esm/DialogType-54a62731.js.gz +0 -0
  583. package/dist/esm/EzScrollDirection-2df26c93.js.gz +0 -0
  584. package/dist/esm/FocusResolver-1ccbf850.js.gz +0 -0
  585. package/dist/esm/FormLayout-071d324c.js.gz +0 -0
  586. package/dist/esm/RichToolbarHelper-f3a149c4.js.gz +0 -0
  587. package/dist/esm/_commonjsHelpers-9943807e.js.gz +0 -0
  588. package/dist/esm/app-globals-c0ac93c0.js.gz +0 -0
  589. package/dist/esm/constants-3fabe81e.js.gz +0 -0
  590. package/dist/esm/ez-actions-button.entry.js.gz +0 -0
  591. package/dist/esm/ez-alert-list.entry.js.gz +0 -0
  592. package/dist/esm/ez-alert.entry.js.gz +0 -0
  593. package/dist/esm/ez-application.entry.js.gz +0 -0
  594. package/dist/esm/ez-avatar.entry.js.gz +0 -0
  595. package/dist/esm/ez-badge.entry.js.gz +0 -0
  596. package/dist/esm/ez-breadcrumb.entry.js.gz +0 -0
  597. package/dist/esm/ez-button.entry.js.gz +0 -0
  598. package/dist/esm/ez-calendar.entry.js.gz +0 -0
  599. package/dist/esm/ez-card-item.entry.js.gz +0 -0
  600. package/dist/esm/ez-chart.entry.js.gz +0 -0
  601. package/dist/esm/ez-check.entry.js.gz +0 -0
  602. package/dist/esm/ez-chip.entry.js.gz +0 -0
  603. package/dist/esm/ez-classic-combo-box.entry.js.gz +0 -0
  604. package/dist/esm/ez-classic-input.entry.js.gz +0 -0
  605. package/dist/esm/ez-classic-text-area.entry.js.gz +0 -0
  606. package/dist/esm/ez-collapsible-box.entry.js.gz +0 -0
  607. package/dist/esm/ez-combo-box-list_4.entry.js.gz +0 -0
  608. package/dist/esm/ez-combo-box.entry.js.gz +0 -0
  609. package/dist/esm/ez-date-input.entry.js.gz +0 -0
  610. package/dist/esm/ez-date-time-input.entry.js.gz +0 -0
  611. package/dist/esm/ez-dialog.entry.js.gz +0 -0
  612. package/dist/esm/ez-double-list.entry.js.gz +0 -0
  613. package/dist/esm/ez-dropdown.entry.js.gz +0 -0
  614. package/dist/esm/ez-empty-card.entry.js.gz +0 -0
  615. package/dist/esm/ez-file-item.entry.js.gz +0 -0
  616. package/dist/esm/ez-filter-input.entry.js.gz +0 -0
  617. package/dist/esm/ez-form-view.entry.js.gz +0 -0
  618. package/dist/esm/ez-form.entry.js.gz +0 -0
  619. package/dist/esm/ez-grid-view.entry.js.gz +0 -0
  620. package/dist/esm/ez-grid.entry.js.gz +0 -0
  621. package/dist/esm/ez-guide-navigator.entry.js.gz +0 -0
  622. package/dist/esm/ez-icon.entry.js.gz +0 -0
  623. package/dist/esm/ez-link-builder_6.entry.js.gz +0 -0
  624. package/dist/esm/ez-list-item.entry.js.gz +0 -0
  625. package/dist/esm/ez-list.entry.js.gz +0 -0
  626. package/dist/esm/ez-loading-bar.entry.js.gz +0 -0
  627. package/dist/esm/ez-modal-container.entry.js.gz +0 -0
  628. package/dist/esm/ez-modal.entry.js.gz +0 -0
  629. package/dist/esm/ez-multi-selection-list.entry.js.gz +0 -0
  630. package/dist/esm/ez-number-input.entry.js.gz +0 -0
  631. package/dist/esm/ez-pagination.entry.js.gz +0 -0
  632. package/dist/esm/ez-popover-core.entry.js.gz +0 -0
  633. package/dist/esm/ez-popover-plus_3.entry.js.gz +0 -0
  634. package/dist/esm/ez-popover.entry.js.gz +0 -0
  635. package/dist/esm/ez-popup.entry.js.gz +0 -0
  636. package/dist/esm/ez-progress-bar.entry.js.gz +0 -0
  637. package/dist/esm/ez-radio-button.entry.js.gz +0 -0
  638. package/dist/esm/ez-rich-toolbar-item.entry.js.gz +0 -0
  639. package/dist/esm/ez-scroller_2.entry.js.gz +0 -0
  640. package/dist/esm/ez-search-plus.entry.js.gz +0 -0
  641. package/dist/esm/ez-search-result-list.entry.js.gz +0 -0
  642. package/dist/esm/ez-search.entry.js.gz +0 -0
  643. package/dist/esm/ez-sidebar-navigator.entry.js.gz +0 -0
  644. package/dist/esm/ez-skeleton.entry.js.gz +0 -0
  645. package/dist/esm/ez-sortable-list.entry.js.gz +0 -0
  646. package/dist/esm/ez-spinner.entry.js.gz +0 -0
  647. package/dist/esm/ez-split-button.entry.js.gz +0 -0
  648. package/dist/esm/ez-split-item.entry.js.gz +0 -0
  649. package/dist/esm/ez-split-panel.entry.js.gz +0 -0
  650. package/dist/esm/ez-tabselector.entry.js.gz +0 -0
  651. package/dist/esm/ez-tag-input.entry.js.gz +0 -0
  652. package/dist/esm/ez-tag.entry.js.gz +0 -0
  653. package/dist/esm/ez-text-area.entry.js.gz +0 -0
  654. package/dist/esm/ez-text-input.entry.js.gz +0 -0
  655. package/dist/esm/ez-tile-medium.entry.js.gz +0 -0
  656. package/dist/esm/ez-tile.entry.js.gz +0 -0
  657. package/dist/esm/ez-time-input.entry.js.gz +0 -0
  658. package/dist/esm/ez-toast.entry.js.gz +0 -0
  659. package/dist/esm/ez-tooltip.entry.js.gz +0 -0
  660. package/dist/esm/ez-tree.entry.js.gz +0 -0
  661. package/dist/esm/ez-underface.entry.js.gz +0 -0
  662. package/dist/esm/ez-upload.entry.js.gz +0 -0
  663. package/dist/esm/ez-view-stack.entry.js.gz +0 -0
  664. package/dist/esm/ezListHelper-00fb9b8d.js.gz +0 -0
  665. package/dist/esm/ezui.js.gz +0 -0
  666. package/dist/esm/filter-column.entry.js.gz +0 -0
  667. package/dist/esm/floating-ui.dom.esm-ad30f2f0.js.gz +0 -0
  668. package/dist/esm/index-41363fa6.js.gz +0 -0
  669. package/dist/esm/index-baa5e267.js.gz +0 -0
  670. package/dist/esm/index.js.gz +0 -0
  671. package/dist/esm/loader.js.gz +0 -0
  672. package/dist/esm/polyfills/core-js.js.gz +0 -0
  673. package/dist/esm/polyfills/css-shim.js.gz +0 -0
  674. package/dist/esm/polyfills/dom.js.gz +0 -0
  675. package/dist/esm/polyfills/es5-html-element.js.gz +0 -0
  676. package/dist/esm/polyfills/index.js.gz +0 -0
  677. package/dist/esm/polyfills/system.js.gz +0 -0
  678. package/dist/esm/purify-2b94dec9.js.gz +0 -0
  679. package/dist/esm/search-column-55666829.js.gz +0 -0
  680. package/dist/esm/searchFormatters-8229207e.js.gz +0 -0
  681. package/dist/ezui/ezui.esm.js.gz +0 -0
  682. package/dist/ezui/index.esm.js.gz +0 -0
  683. package/dist/ezui/p-02d448bb.entry.js.gz +0 -0
  684. package/dist/ezui/p-05c32903.entry.js.gz +0 -0
  685. package/dist/ezui/p-0e49c0ff.entry.js.gz +0 -0
  686. package/dist/ezui/p-0f7971cf.entry.js.gz +0 -0
  687. package/dist/ezui/p-112455b1.js.gz +0 -0
  688. package/dist/ezui/p-14ceb733.entry.js.gz +0 -0
  689. package/dist/ezui/p-18384b91.entry.js.gz +0 -0
  690. package/dist/ezui/p-1b5aa969.entry.js.gz +0 -0
  691. package/dist/ezui/p-1ba2d983.entry.js.gz +0 -0
  692. package/dist/ezui/p-1dfe17a1.entry.js +0 -309
  693. package/dist/ezui/p-1dfe17a1.entry.js.gz +0 -0
  694. package/dist/ezui/p-1e7a8633.entry.js.gz +0 -0
  695. package/dist/ezui/p-1f50fa05.entry.js.gz +0 -0
  696. package/dist/ezui/p-1f8775ef.entry.js.gz +0 -0
  697. package/dist/ezui/p-20c024f7.entry.js.gz +0 -0
  698. package/dist/ezui/p-23739494.entry.js.gz +0 -0
  699. package/dist/ezui/p-23a36bb6.js.gz +0 -0
  700. package/dist/ezui/p-2528e988.entry.js.gz +0 -0
  701. package/dist/ezui/p-288631d1.entry.js.gz +0 -0
  702. package/dist/ezui/p-2a806303.js.gz +0 -0
  703. package/dist/ezui/p-2c21b2b6.entry.js.gz +0 -0
  704. package/dist/ezui/p-30ffb9ed.js.gz +0 -0
  705. package/dist/ezui/p-34a476a9.entry.js.gz +0 -0
  706. package/dist/ezui/p-35bfaa88.entry.js.gz +0 -0
  707. package/dist/ezui/p-39761eca.entry.js.gz +0 -0
  708. package/dist/ezui/p-3afa1c6e.entry.js.gz +0 -0
  709. package/dist/ezui/p-3ce867cf.entry.js.gz +0 -0
  710. package/dist/ezui/p-3e767a74.js.gz +0 -0
  711. package/dist/ezui/p-40a60148.js.gz +0 -0
  712. package/dist/ezui/p-411c0222.entry.js.gz +0 -0
  713. package/dist/ezui/p-4314f87a.entry.js.gz +0 -0
  714. package/dist/ezui/p-48effc69.entry.js.gz +0 -0
  715. package/dist/ezui/p-4d30b703.entry.js.gz +0 -0
  716. package/dist/ezui/p-5554704c.js +0 -1
  717. package/dist/ezui/p-5554704c.js.gz +0 -0
  718. package/dist/ezui/p-57321fc3.js.gz +0 -0
  719. package/dist/ezui/p-5c3a6717.entry.js.gz +0 -0
  720. package/dist/ezui/p-5d910b14.entry.js.gz +0 -0
  721. package/dist/ezui/p-5ed81457.entry.js.gz +0 -0
  722. package/dist/ezui/p-6020f3d5.entry.js.gz +0 -0
  723. package/dist/ezui/p-6c51ccd1.entry.js.gz +0 -0
  724. package/dist/ezui/p-6ca0815e.entry.js.gz +0 -0
  725. package/dist/ezui/p-6d596a5a.entry.js.gz +0 -0
  726. package/dist/ezui/p-6f77a359.entry.js.gz +0 -0
  727. package/dist/ezui/p-721fd999.entry.js.gz +0 -0
  728. package/dist/ezui/p-778939b2.entry.js.gz +0 -0
  729. package/dist/ezui/p-7995dcb4.entry.js +0 -1
  730. package/dist/ezui/p-7995dcb4.entry.js.gz +0 -0
  731. package/dist/ezui/p-79abad9e.entry.js.gz +0 -0
  732. package/dist/ezui/p-7f37ee99.entry.js.gz +0 -0
  733. package/dist/ezui/p-7f792043.entry.js.gz +0 -0
  734. package/dist/ezui/p-7f8c1fce.entry.js.gz +0 -0
  735. package/dist/ezui/p-7fe97ef5.entry.js.gz +0 -0
  736. package/dist/ezui/p-80dfc50b.js.gz +0 -0
  737. package/dist/ezui/p-859e3134.entry.js.gz +0 -0
  738. package/dist/ezui/p-8803e321.entry.js.gz +0 -0
  739. package/dist/ezui/p-8df1ca33.entry.js.gz +0 -0
  740. package/dist/ezui/p-91c9d50e.entry.js.gz +0 -0
  741. package/dist/ezui/p-93e1c917.entry.js.gz +0 -0
  742. package/dist/ezui/p-98bb8b16.js.gz +0 -0
  743. package/dist/ezui/p-9b215871.entry.js.gz +0 -0
  744. package/dist/ezui/p-9b2e6438.entry.js.gz +0 -0
  745. package/dist/ezui/p-9b3f3c02.entry.js.gz +0 -0
  746. package/dist/ezui/p-9f5fa3f9.entry.js.gz +0 -0
  747. package/dist/ezui/p-a0bf1fc7.entry.js.gz +0 -0
  748. package/dist/ezui/p-a1c0233e.js.gz +0 -0
  749. package/dist/ezui/p-a3075f52.entry.js.gz +0 -0
  750. package/dist/ezui/p-a3ada561.entry.js.gz +0 -0
  751. package/dist/ezui/p-a4083a7a.entry.js.gz +0 -0
  752. package/dist/ezui/p-a61fdd20.js.gz +0 -0
  753. package/dist/ezui/p-a80b1287.entry.js.gz +0 -0
  754. package/dist/ezui/p-ab574d59.js.gz +0 -0
  755. package/dist/ezui/p-b0a7713d.entry.js +0 -1
  756. package/dist/ezui/p-b0a7713d.entry.js.gz +0 -0
  757. package/dist/ezui/p-b1e45320.js.gz +0 -0
  758. package/dist/ezui/p-b853763b.js.gz +0 -0
  759. package/dist/ezui/p-b989a33e.entry.js.gz +0 -0
  760. package/dist/ezui/p-ba7e908a.entry.js.gz +0 -0
  761. package/dist/ezui/p-baec56c9.js.gz +0 -0
  762. package/dist/ezui/p-bc2f844e.entry.js.gz +0 -0
  763. package/dist/ezui/p-ce0b36d7.entry.js.gz +0 -0
  764. package/dist/ezui/p-d2645bdf.entry.js.gz +0 -0
  765. package/dist/ezui/p-d5eb2fad.entry.js.gz +0 -0
  766. package/dist/ezui/p-d6742c1e.entry.js.gz +0 -0
  767. package/dist/ezui/p-d6bb930d.entry.js.gz +0 -0
  768. package/dist/ezui/p-d6f50207.entry.js.gz +0 -0
  769. package/dist/ezui/p-d75a50a7.entry.js.gz +0 -0
  770. package/dist/ezui/p-d8cc640d.entry.js.gz +0 -0
  771. package/dist/ezui/p-dc628ed3.js.gz +0 -0
  772. package/dist/ezui/p-dee18824.entry.js.gz +0 -0
  773. package/dist/ezui/p-e75c7a23.entry.js.gz +0 -0
  774. package/dist/ezui/p-e7a7c594.entry.js.gz +0 -0
  775. package/dist/ezui/p-e8c57463.entry.js.gz +0 -0
  776. package/dist/ezui/p-ec7db713.js.gz +0 -0
  777. package/dist/ezui/p-ef8bd3e8.entry.js.gz +0 -0
  778. package/dist/ezui/p-f1de2cd6.entry.js.gz +0 -0
  779. package/dist/ezui/p-fa6732f2.entry.js.gz +0 -0
  780. package/dist/index.cjs.js.gz +0 -0
  781. package/dist/index.js.gz +0 -0
@@ -1 +1 @@
1
- import{ApplicationContext as e,LangUtils as t}from"@sankhyalabs/core";const i=e=>"string"==typeof e,o=()=>{let e,t;const i=new Promise(((i,o)=>{e=i,t=o}));return i.resolve=e,i.reject=t,i},s=e=>null==e?"":""+e,r=/###/g,a=e=>e&&e.indexOf("###")>-1?e.replace(r,"."):e,n=e=>!e||i(e),l=(e,t,o)=>{const s=i(t)?t.split("."):t;let r=0;for(;r<s.length-1;){if(n(e))return{};const t=a(s[r]);!e[t]&&o&&(e[t]=new o),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++r}return n(e)?{}:{obj:e,k:a(s[r])}},u=(e,t,i)=>{const{obj:o,k:s}=l(e,t,Object);if(void 0!==o||1===t.length)return void(o[s]=i);let r=t[t.length-1],a=t.slice(0,t.length-1),n=l(e,a,Object);for(;void 0===n.obj&&a.length;)r=`${a[a.length-1]}.${r}`,a=a.slice(0,a.length-1),n=l(e,a,Object),n&&n.obj&&void 0!==n.obj[`${n.k}.${r}`]&&(n.obj=void 0);n.obj[`${n.k}.${r}`]=i},c=(e,t)=>{const{obj:i,k:o}=l(e,t);if(i)return i[o]},d=(e,t,i)=>{const o=c(e,i);return void 0!==o?o:c(t,i)},h=(e,t,o)=>{for(const s in t)"__proto__"!==s&&"constructor"!==s&&(s in e?i(e[s])||e[s]instanceof String||i(t[s])||t[s]instanceof String?o&&(e[s]=t[s]):h(e[s],t[s],o):e[s]=t[s]);return e},p=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var m={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const g=e=>i(e)?e.replace(/[&<>"'\/]/g,(e=>m[e])):e,f=[" ",",","?","!",";"],v=new class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const t=this.regExpMap.get(e);if(void 0!==t)return t;const i=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,i),this.regExpQueue.push(e),i}}(20),b=function(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!e)return;if(e[t])return e[t];const o=t.split(i);let s=e;for(let e=0;e<o.length;){if(!s||"object"!=typeof s)return;let t,r="";for(let a=e;a<o.length;++a)if(a!==e&&(r+=i),r+=o[a],t=s[r],void 0!==t){if(["string","number","boolean"].indexOf(typeof t)>-1&&a<o.length-1)continue;e+=a-e+1;break}s=t}return s},y=e=>e&&e.replace("_","-"),x={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class S{constructor(e){this.init(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||x,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return this.forward(t,"log","",!0)}warn(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return this.forward(t,"warn","",!0)}error(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return this.forward(t,"error","")}deprecate(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,o,s){return s&&!this.debug?null:(i(e[0])&&(e[0]=`${o}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new S(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new S(this.logger,e)}}var w=new S;class C{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach((e=>{this.observers[e]||(this.observers[e]=new Map);const i=this.observers[e].get(t)||0;this.observers[e].set(t,i+1)})),this}off(e,t){this.observers[e]&&(t?this.observers[e].delete(t):delete this.observers[e])}emit(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),o=1;o<t;o++)i[o-1]=arguments[o];this.observers[e]&&Array.from(this.observers[e].entries()).forEach((e=>{let[t,o]=e;for(let e=0;e<o;e++)t(...i)})),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach((t=>{let[o,s]=t;for(let t=0;t<s;t++)o.apply(o,[e,...i])}))}}class P extends C{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,o){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const r=void 0!==s.keySeparator?s.keySeparator:this.options.keySeparator,a=void 0!==s.ignoreJSONStructure?s.ignoreJSONStructure:this.options.ignoreJSONStructure;let n;e.indexOf(".")>-1?n=e.split("."):(n=[e,t],o&&(Array.isArray(o)?n.push(...o):i(o)&&r?n.push(...o.split(r)):n.push(o)));const l=c(this.data,n);return!l&&!t&&!o&&e.indexOf(".")>-1&&(e=n[0],t=n[1],o=n.slice(2).join(".")),!l&&a&&i(o)?b(this.data&&this.data[e]&&this.data[e][t],o,r):l}addResource(e,t,i,o){let s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1};const r=void 0!==s.keySeparator?s.keySeparator:this.options.keySeparator;let a=[e,t];i&&(a=a.concat(r?i.split(r):i)),e.indexOf(".")>-1&&(a=e.split("."),o=t,t=a[1]),this.addNamespaces(t),u(this.data,a,o),s.silent||this.emit("added",e,t,i,o)}addResources(e,t,o){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(const s in o)(i(o[s])||Array.isArray(o[s]))&&this.addResource(e,t,s,o[s],{silent:!0});s.silent||this.emit("added",e,t,o)}addResourceBundle(e,t,i,o,s){let r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1,skipCopy:!1},a=[e,t];e.indexOf(".")>-1&&(a=e.split("."),o=i,i=t,t=a[1]),this.addNamespaces(t);let n=c(this.data,a)||{};r.skipCopy||(i=JSON.parse(JSON.stringify(i))),o?h(n,i,s):n={...n,...i},u(this.data,a,n),r.silent||this.emit("added",e,t,i)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?{...this.getResource(e,t)}:this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((e=>t[e]&&Object.keys(t[e]).length>0))}toJSON(){return this.data}}var z={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,i,o,s){return e.forEach((e=>{this.processors[e]&&(t=this.processors[e].process(t,i,o,s))})),t}};const A={};class N extends C{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var i,o;super(),i=e,o=this,["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"].forEach((e=>{i[e]&&(o[e]=i[e])})),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=w.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){if(null==e)return!1;const t=this.resolve(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}});return t&&void 0!==t.res}extractFromKey(e,t){let o=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===o&&(o=":");const s=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator;let r=t.ns||this.options.defaultNS||[];const a=o&&e.indexOf(o)>-1,n=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||((e,t,i)=>{t=t||"",i=i||"";const o=f.filter((e=>t.indexOf(e)<0&&i.indexOf(e)<0));if(0===o.length)return!0;const s=v.getRegExp(`(${o.map((e=>"?"===e?"\\?":e)).join("|")})`);let r=!s.test(e);if(!r){const t=e.indexOf(i);t>0&&!s.test(e.substring(0,t))&&(r=!0)}return r})(e,o,s));if(a&&!n){const t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:i(r)?[r]:r};const a=e.split(o);(o!==s||o===s&&this.options.ns.indexOf(a[0])>-1)&&(r=a.shift()),e=a.join(s)}return{key:e,namespaces:i(r)?[r]:r}}translate(e,t,o){if("object"!=typeof t&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof t&&(t={...t}),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);const s=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,{key:a,namespaces:n}=this.extractFromKey(e[e.length-1],t),l=n[n.length-1],u=t.lng||this.language,c=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(u&&"cimode"===u.toLowerCase()){if(c){const e=t.nsSeparator||this.options.nsSeparator;return s?{res:`${l}${e}${a}`,usedKey:a,exactUsedKey:a,usedLng:u,usedNS:l,usedParams:this.getUsedParamsDetails(t)}:`${l}${e}${a}`}return s?{res:a,usedKey:a,exactUsedKey:a,usedLng:u,usedNS:l,usedParams:this.getUsedParamsDetails(t)}:a}const d=this.resolve(e,t);let h=d&&d.res;const p=d&&d.usedKey||a,m=d&&d.exactUsedKey||a,g=Object.prototype.toString.apply(h),f=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,v=!this.i18nFormat||this.i18nFormat.handleAsObject,b=!i(h)&&"boolean"!=typeof h&&"number"!=typeof h;if(!(v&&h&&b&&["[object Number]","[object Function]","[object RegExp]"].indexOf(g)<0)||i(f)&&Array.isArray(h))if(v&&i(f)&&Array.isArray(h))h=h.join(f),h&&(h=this.extendTranslation(h,e,t,o));else{let s=!1,n=!1;const c=void 0!==t.count&&!i(t.count),p=N.hasDefaultValue(t),m=c?this.pluralResolver.getSuffix(u,t.count,t):"",g=t.ordinal&&c?this.pluralResolver.getSuffix(u,t.count,{ordinal:!1}):"",f=c&&!t.ordinal&&0===t.count&&this.pluralResolver.shouldUseIntlApi(),v=f&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${m}`]||t[`defaultValue${g}`]||t.defaultValue;!this.isValidLookup(h)&&p&&(s=!0,h=v),this.isValidLookup(h)||(n=!0,h=a);const b=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&n?void 0:h,y=p&&v!==h&&this.options.updateMissing;if(n||s||y){if(this.logger.log(y?"updateKey":"missingKey",u,l,a,y?v:h),r){const e=this.resolve(a,{...t,keySeparator:!1});e&&e.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.")}let e=[];const i=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&i&&i[0])for(let t=0;t<i.length;t++)e.push(i[t]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(t.lng||this.language):e.push(t.lng||this.language);const o=(e,i,o)=>{const s=p&&o!==h?o:b;this.options.missingKeyHandler?this.options.missingKeyHandler(e,l,i,s,y,t):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(e,l,i,s,y,t),this.emit("missingKey",e,l,i,h)};this.options.saveMissing&&(this.options.saveMissingPlurals&&c?e.forEach((e=>{const i=this.pluralResolver.getSuffixes(e,t);f&&t[`defaultValue${this.options.pluralSeparator}zero`]&&i.indexOf(`${this.options.pluralSeparator}zero`)<0&&i.push(`${this.options.pluralSeparator}zero`),i.forEach((i=>{o([e],a+i,t[`defaultValue${i}`]||v)}))})):o(e,a,v))}h=this.extendTranslation(h,e,t,d,o),n&&h===a&&this.options.appendNamespaceToMissingKey&&(h=`${l}:${a}`),(n||s)&&this.options.parseMissingKeyHandler&&(h="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}:${a}`:a,s?h:void 0):this.options.parseMissingKeyHandler(h))}else{if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(p,h,{...t,ns:n}):`key '${a} (${this.language})' returned an object instead of string.`;return s?(d.res=e,d.usedParams=this.getUsedParamsDetails(t),d):e}if(r){const e=Array.isArray(h),i=e?[]:{},o=e?m:p;for(const e in h)if(Object.prototype.hasOwnProperty.call(h,e)){const s=`${o}${r}${e}`;i[e]=this.translate(s,{...t,joinArrays:!1,ns:n}),i[e]===s&&(i[e]=h[e])}h=i}}return s?(d.res=h,d.usedParams=this.getUsedParamsDetails(t),d):h}extendTranslation(e,t,o,s,r){var a=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...o},o.lng||this.language||s.usedLng,s.usedNS,s.usedKey,{resolved:s});else if(!o.skipInterpolation){o.interpolation&&this.interpolator.init({...o,interpolation:{...this.options.interpolation,...o.interpolation}});const n=i(e)&&(o&&o.interpolation&&void 0!==o.interpolation.skipOnVariables?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let l;if(n){const t=e.match(this.interpolator.nestingRegexp);l=t&&t.length}let u=o.replace&&!i(o.replace)?o.replace:o;if(this.options.interpolation.defaultVariables&&(u={...this.options.interpolation.defaultVariables,...u}),e=this.interpolator.interpolate(e,u,o.lng||this.language||s.usedLng,o),n){const t=e.match(this.interpolator.nestingRegexp);l<(t&&t.length)&&(o.nest=!1)}!o.lng&&"v1"!==this.options.compatibilityAPI&&s&&s.res&&(o.lng=this.language||s.usedLng),!1!==o.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,i=new Array(e),s=0;s<e;s++)i[s]=arguments[s];return r&&r[0]===i[0]&&!o.context?(a.logger.warn(`It seems you are nesting recursively key: ${i[0]} in key: ${t[0]}`),null):a.translate(...i,t)}),o)),o.interpolation&&this.interpolator.reset()}const n=o.postProcess||this.options.postProcess,l=i(n)?[n]:n;return null!=e&&l&&l.length&&!1!==o.applyPostProcessor&&(e=z.handle(l,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...s,usedParams:this.getUsedParamsDetails(o)},...o}:o,this)),e}resolve(e){let t,o,s,r,a,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i(e)&&(e=[e]),e.forEach((e=>{if(this.isValidLookup(t))return;const l=this.extractFromKey(e,n),u=l.key;o=u;let c=l.namespaces;this.options.fallbackNS&&(c=c.concat(this.options.fallbackNS));const d=void 0!==n.count&&!i(n.count),h=d&&!n.ordinal&&0===n.count&&this.pluralResolver.shouldUseIntlApi(),p=void 0!==n.context&&(i(n.context)||"number"==typeof n.context)&&""!==n.context,m=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);c.forEach((e=>{this.isValidLookup(t)||(a=e,!A[`${m[0]}-${e}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(a)&&(A[`${m[0]}-${e}`]=!0,this.logger.warn(`key "${o}" for languages "${m.join(", ")}" won't get resolved as namespace "${a}" 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((i=>{if(this.isValidLookup(t))return;r=i;const o=[u];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(o,u,i,e,n);else{let e;d&&(e=this.pluralResolver.getSuffix(i,n.count,n));const t=`${this.options.pluralSeparator}zero`,s=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(d&&(o.push(u+e),n.ordinal&&0===e.indexOf(s)&&o.push(u+e.replace(s,this.options.pluralSeparator)),h&&o.push(u+t)),p){const i=`${u}${this.options.contextSeparator}${n.context}`;o.push(i),d&&(o.push(i+e),n.ordinal&&0===e.indexOf(s)&&o.push(i+e.replace(s,this.options.pluralSeparator)),h&&o.push(i+t))}}let a;for(;a=o.pop();)this.isValidLookup(t)||(s=a,t=this.getResource(i,e,a,n))})))}))})),{res:t,usedKey:o,exactUsedKey:s,usedLng:r,usedNS:a}}isValidLookup(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}getResource(e,t,i){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,i,o):this.resourceStore.getResource(e,t,i,o)}getUsedParamsDetails(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],o=e.replace&&!i(e.replace);let s=o?e.replace:e;if(o&&void 0!==e.count&&(s.count=e.count),this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),!o){s={...s};for(const e of t)delete s[e]}return s}static hasDefaultValue(e){const t="defaultValue";for(const i in e)if(Object.prototype.hasOwnProperty.call(e,i)&&t===i.substring(0,t.length)&&void 0!==e[i])return!0;return!1}}const L=e=>e.charAt(0).toUpperCase()+e.slice(1);class k{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=w.create("languageUtils")}getScriptPartFromCode(e){if(!(e=y(e))||e.indexOf("-")<0)return null;const t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}getLanguagePartFromCode(e){if(!(e=y(e))||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(i(e)&&e.indexOf("-")>-1){if("undefined"!=typeof Intl&&void 0!==Intl.getCanonicalLocales)try{let t=Intl.getCanonicalLocales(e)[0];if(t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t)return t}catch(e){}const t=["hans","hant","latn","cyrl","cans","mong","arab"];let i=e.split("-");return this.options.lowerCaseLng?i=i.map((e=>e.toLowerCase())):2===i.length?(i[0]=i[0].toLowerCase(),i[1]=i[1].toUpperCase(),t.indexOf(i[1].toLowerCase())>-1&&(i[1]=L(i[1].toLowerCase()))):3===i.length&&(i[0]=i[0].toLowerCase(),2===i[1].length&&(i[1]=i[1].toUpperCase()),"sgn"!==i[0]&&2===i[2].length&&(i[2]=i[2].toUpperCase()),t.indexOf(i[1].toLowerCase())>-1&&(i[1]=L(i[1].toLowerCase())),t.indexOf(i[2].toLowerCase())>-1&&(i[2]=L(i[2].toLowerCase()))),i.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach((e=>{if(t)return;const i=this.formatLanguageCode(e);this.options.supportedLngs&&!this.isSupportedCode(i)||(t=i)})),!t&&this.options.supportedLngs&&e.forEach((e=>{if(t)return;const i=this.getLanguagePartFromCode(e);if(this.isSupportedCode(i))return t=i;t=this.options.supportedLngs.find((e=>e===i?e:e.indexOf("-")<0&&i.indexOf("-")<0?void 0:e.indexOf("-")>0&&i.indexOf("-")<0&&e.substring(0,e.indexOf("-"))===i||0===e.indexOf(i)&&i.length>1?e:void 0))})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),i(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let o=e[t];return o||(o=e[this.getScriptPartFromCode(t)]),o||(o=e[this.formatLanguageCode(t)]),o||(o=e[this.getLanguagePartFromCode(t)]),o||(o=e.default),o||[]}toResolveHierarchy(e,t){const o=this.getFallbackCodes(t||this.options.fallbackLng||[],e),s=[],r=e=>{e&&(this.isSupportedCode(e)?s.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return i(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&r(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&r(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&r(this.getLanguagePartFromCode(e))):i(e)&&r(this.formatLanguageCode(e)),o.forEach((e=>{s.indexOf(e)<0&&r(this.formatLanguageCode(e))})),s}}let R=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],E={1:e=>Number(e>1),2:e=>Number(1!=e),3:()=>0,4:e=>Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2),5:e=>Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5),6:e=>Number(1==e?0:e>=2&&e<=4?1:2),7:e=>Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2),8:e=>Number(1==e?0:2==e?1:8!=e&&11!=e?2:3),9:e=>Number(e>=2),10:e=>Number(1==e?0:2==e?1:e<7?2:e<11?3:4),11:e=>Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3),12:e=>Number(e%10!=1||e%100==11),13:e=>Number(0!==e),14:e=>Number(1==e?0:2==e?1:3==e?2:3),15:e=>Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2),16:e=>Number(e%10==1&&e%100!=11?0:0!==e?1:2),17:e=>Number(1==e||e%10==1&&e%100!=11?0:1),18:e=>Number(0==e?0:1==e?1:2),19:e=>Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3),20:e=>Number(1==e?0:0==e||e%100>0&&e%100<20?1:2),21:e=>Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0),22:e=>Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)};const T=["v1","v2","v3"],$=["v4"],M={zero:0,one:1,two:2,few:3,many:4,other:5};class O{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=w.create("pluralResolver"),this.options.compatibilityJSON&&!$.includes(this.options.compatibilityJSON)||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=(()=>{const e={};return R.forEach((t=>{t.lngs.forEach((i=>{e[i]={numbers:t.nr,plurals:E[t.fc]}}))})),e})(),this.pluralRulesCache={}}addRule(e,t){this.rules[e]=t}clearCache(){this.pluralRulesCache={}}getRule(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi()){const i=y("dev"===e?"en":e),o=t.ordinal?"ordinal":"cardinal",s=JSON.stringify({cleanedCode:i,type:o});if(s in this.pluralRulesCache)return this.pluralRulesCache[s];let r;try{r=new Intl.PluralRules(i,{type:o})}catch(i){if(!e.match(/-|_/))return;const o=this.languageUtils.getLanguagePartFromCode(e);r=this.getRule(o,t)}return this.pluralRulesCache[s]=r,r}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){const t=this.getRule(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{});return this.shouldUseIntlApi()?t&&t.resolvedOptions().pluralCategories.length>1:t&&t.numbers.length>1}getPluralFormsOfKey(e,t){return this.getSuffixes(e,arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).map((e=>`${t}${e}`))}getSuffixes(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const i=this.getRule(e,t);return i?this.shouldUseIntlApi()?i.resolvedOptions().pluralCategories.sort(((e,t)=>M[e]-M[t])).map((e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`)):i.numbers.map((i=>this.getSuffix(e,i,t))):[]}getSuffix(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const o=this.getRule(e,i);return o?this.shouldUseIntlApi()?`${this.options.prepend}${i.ordinal?`ordinal${this.options.prepend}`:""}${o.select(t)}`:this.getSuffixRetroCompatible(o,t):(this.logger.warn(`no plural rule found for: ${e}`),"")}getSuffixRetroCompatible(e,t){const i=e.plurals(e.noAbs?t:Math.abs(t));let o=e.numbers[i];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===o?o="plural":1===o&&(o=""));const s=()=>this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString();return"v1"===this.options.compatibilityJSON?1===o?"":"number"==typeof o?`_plural_${o.toString()}`:s():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?s():this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString()}shouldUseIntlApi(){return!T.includes(this.options.compatibilityJSON)}}const F=function(e,t,o){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=d(e,t,o);return!a&&r&&i(o)&&(a=b(e,o,s),void 0===a&&(a=b(t,o,s))),a},I=e=>e.replace(/\$/g,"$$$$");class j{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=w.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||(e=>e),this.init(e)}init(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});const{escape:t,escapeValue:i,useRawValueToEscape:o,prefix:s,prefixEscaped:r,suffix:a,suffixEscaped:n,formatSeparator:l,unescapeSuffix:u,unescapePrefix:c,nestingPrefix:d,nestingPrefixEscaped:h,nestingSuffix:m,nestingSuffixEscaped:f,nestingOptionsSeparator:v,maxReplaces:b,alwaysFormat:y}=e.interpolation;this.escape=void 0!==t?t:g,this.escapeValue=void 0===i||i,this.useRawValueToEscape=void 0!==o&&o,this.prefix=s?p(s):r||"{{",this.suffix=a?p(a):n||"}}",this.formatSeparator=l||",",this.unescapePrefix=u?"":c||"-",this.unescapeSuffix=this.unescapePrefix?"":u||"",this.nestingPrefix=d?p(d):h||p("$t("),this.nestingSuffix=m?p(m):f||p(")"),this.nestingOptionsSeparator=v||",",this.maxReplaces=b||1e3,this.alwaysFormat=void 0!==y&&y,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(e,t)=>e&&e.source===t?(e.lastIndex=0,e):new RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,t,o,r){let a,n,l;const u=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},c=e=>{if(e.indexOf(this.formatSeparator)<0){const i=F(t,u,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,o,{...r,...t,interpolationkey:e}):i}const i=e.split(this.formatSeparator),s=i.shift().trim(),a=i.join(this.formatSeparator).trim();return this.format(F(t,u,s,this.options.keySeparator,this.options.ignoreJSONStructure),a,o,{...r,...t,interpolationkey:s})};this.resetRegExp();const d=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,h=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>I(e)},{regex:this.regexp,safeValue:e=>I(this.escapeValue?this.escape(e):e)}].forEach((t=>{for(l=0;a=t.regex.exec(e);){const o=a[1].trim();if(n=c(o),void 0===n)if("function"==typeof d){const t=d(e,a,r);n=i(t)?t:""}else if(r&&Object.prototype.hasOwnProperty.call(r,o))n="";else{if(h){n=a[0];continue}this.logger.warn(`missed to pass in variable ${o} for interpolating ${e}`),n=""}else i(n)||this.useRawValueToEscape||(n=s(n));const u=t.safeValue(n);if(e=e.replace(a[0],u),h?(t.regex.lastIndex+=n.length,t.regex.lastIndex-=a[0].length):t.regex.lastIndex=0,l++,l>=this.maxReplaces)break}})),e}nest(e,t){let o,r,a,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const l=(e,t)=>{const i=this.nestingOptionsSeparator;if(e.indexOf(i)<0)return e;const o=e.split(new RegExp(`${i}[ ]*{`));let s=`{${o[1]}`;e=o[0],s=this.interpolate(s,a);const r=s.match(/'/g),n=s.match(/"/g);(r&&r.length%2==0&&!n||n.length%2!=0)&&(s=s.replace(/'/g,'"'));try{a=JSON.parse(s),t&&(a={...t,...a})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${i}${s}`}return a.defaultValue&&a.defaultValue.indexOf(this.prefix)>-1&&delete a.defaultValue,e};for(;o=this.nestingRegexp.exec(e);){let u=[];a={...n},a=a.replace&&!i(a.replace)?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;let c=!1;if(-1!==o[0].indexOf(this.formatSeparator)&&!/{.*}/.test(o[1])){const e=o[1].split(this.formatSeparator).map((e=>e.trim()));o[1]=e.shift(),u=e,c=!0}if(r=t(l.call(this,o[1].trim(),a),a),r&&o[0]===e&&!i(r))return r;i(r)||(r=s(r)),r||(this.logger.warn(`missed to resolve ${o[1]} for nesting ${e}`),r=""),c&&(r=u.reduce(((e,t)=>this.format(e,t,n.lng,{...n,interpolationkey:o[1].trim()})),r.trim())),e=e.replace(o[0],r),this.regexp.lastIndex=0}return e}}const D=e=>{const t={};return(i,o,s)=>{let r=s;s&&s.interpolationkey&&s.formatParams&&s.formatParams[s.interpolationkey]&&s[s.interpolationkey]&&(r={...r,[s.interpolationkey]:void 0});const a=o+JSON.stringify(r);let n=t[a];return n||(n=e(y(o),s),t[a]=n),n(i)}};class B{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=w.create("formatter"),this.options=e,this.formats={number:D(((e,t)=>{const i=new Intl.NumberFormat(e,{...t});return e=>i.format(e)})),currency:D(((e,t)=>{const i=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>i.format(e)})),datetime:D(((e,t)=>{const i=new Intl.DateTimeFormat(e,{...t});return e=>i.format(e)})),relativetime:D(((e,t)=>{const i=new Intl.RelativeTimeFormat(e,{...t});return e=>i.format(e,t.range||"day")})),list:D(((e,t)=>{const i=new Intl.ListFormat(e,{...t});return e=>i.format(e)}))},this.init(e)}init(e){this.formatSeparator=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}}).interpolation.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=D(t)}format(e,t,i){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const s=t.split(this.formatSeparator);if(s.length>1&&s[0].indexOf("(")>1&&s[0].indexOf(")")<0&&s.find((e=>e.indexOf(")")>-1))){const e=s.findIndex((e=>e.indexOf(")")>-1));s[0]=[s[0],...s.splice(1,e)].join(this.formatSeparator)}return s.reduce(((e,t)=>{const{formatName:s,formatOptions:r}=(e=>{let t=e.toLowerCase().trim();const i={};if(e.indexOf("(")>-1){const o=e.split("(");t=o[0].toLowerCase().trim();const s=o[1].substring(0,o[1].length-1);"currency"===t&&s.indexOf(":")<0?i.currency||(i.currency=s.trim()):"relativetime"===t&&s.indexOf(":")<0?i.range||(i.range=s.trim()):s.split(";").forEach((e=>{if(e){const[t,...o]=e.split(":"),s=o.join(":").trim().replace(/^'+|'+$/g,""),r=t.trim();i[r]||(i[r]=s),"false"===s&&(i[r]=!1),"true"===s&&(i[r]=!0),isNaN(s)||(i[r]=parseInt(s,10))}}))}return{formatName:t,formatOptions:i}})(t);if(this.formats[s]){let t=e;try{const a=o&&o.formatParams&&o.formatParams[o.interpolationkey]||{};t=this.formats[s](e,a.locale||a.lng||o.locale||o.lng||i,{...r,...o,...a})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${s}`),e}),e)}}class U extends C{constructor(e,t,i){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=i,this.languageUtils=i.languageUtils,this.options=o,this.logger=w.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=o.maxParallelReads||10,this.readingCalls=0,this.maxRetries=o.maxRetries>=0?o.maxRetries:5,this.retryTimeout=o.retryTimeout>=1?o.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(i,o.backend,o)}queueLoad(e,t,i,o){const s={},r={},a={},n={};return e.forEach((e=>{let o=!0;t.forEach((t=>{const a=`${e}|${t}`;!i.reload&&this.store.hasResourceBundle(e,t)?this.state[a]=2:this.state[a]<0||(1===this.state[a]?void 0===r[a]&&(r[a]=!0):(this.state[a]=1,o=!1,void 0===r[a]&&(r[a]=!0),void 0===s[a]&&(s[a]=!0),void 0===n[t]&&(n[t]=!0)))})),o||(a[e]=!0)})),(Object.keys(s).length||Object.keys(r).length)&&this.queue.push({pending:r,pendingCount:Object.keys(r).length,loaded:{},errors:[],callback:o}),{toLoad:Object.keys(s),pending:Object.keys(r),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(n)}}loaded(e,t,i){const o=e.split("|"),s=o[0],r=o[1];t&&this.emit("failedLoading",s,r,t),!t&&i&&this.store.addResourceBundle(s,r,i,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&i&&(this.state[e]=0);const a={};this.queue.forEach((i=>{((e,t,i)=>{const{obj:o,k:s}=l(e,t,Object);o[s]=o[s]||[],o[s].push(i)})(i.loaded,[s],r),((e,t)=>{void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)})(i,e),t&&i.errors.push(t),0!==i.pendingCount||i.done||(Object.keys(i.loaded).forEach((e=>{a[e]||(a[e]={});const t=i.loaded[e];t.length&&t.forEach((t=>{void 0===a[e][t]&&(a[e][t]=!0)}))})),i.done=!0,i.errors.length?i.callback(i.errors):i.callback())})),this.emit("loaded",a),this.queue=this.queue.filter((e=>!e.done))}read(e,t,i){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,r=arguments.length>5?arguments[5]:void 0;if(!e.length)return r(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:i,tried:o,wait:s,callback:r});this.readingCalls++;const a=(a,n)=>{if(this.readingCalls--,this.waitingReads.length>0){const e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}a&&n&&o<this.maxRetries?setTimeout((()=>{this.read.call(this,e,t,i,o+1,2*s,r)}),s):r(a,n)},n=this.backend[i].bind(this.backend);if(2!==n.length)return n(e,t,a);try{const i=n(e,t);i&&"function"==typeof i.then?i.then((e=>a(null,e))).catch(a):a(null,i)}catch(e){a(e)}}prepareLoading(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),s&&s();i(e)&&(e=this.languageUtils.toResolveHierarchy(e)),i(t)&&(t=[t]);const r=this.queueLoad(e,t,o,s);if(!r.toLoad.length)return r.pending.length||s(),null;r.toLoad.forEach((e=>{this.loadOne(e)}))}load(e,t,i){this.prepareLoading(e,t,{},i)}reload(e,t,i){this.prepareLoading(e,t,{reload:!0},i)}loadOne(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const i=e.split("|"),o=i[0],s=i[1];this.read(o,s,"read",void 0,void 0,((i,r)=>{i&&this.logger.warn(`${t}loading namespace ${s} for language ${o} failed`,i),!i&&r&&this.logger.log(`${t}loaded namespace ${s} for language ${o}`,r),this.loaded(e,i,r)}))}saveMissing(e,t,i,o,s){let r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t))this.logger.warn(`did not save key "${i}" 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!!!");else if(null!=i&&""!==i){if(this.backend&&this.backend.create){const n={...r,isUpdate:s},l=this.backend.create.bind(this.backend);if(l.length<6)try{let s;s=5===l.length?l(e,t,i,o,n):l(e,t,i,o),s&&"function"==typeof s.then?s.then((e=>a(null,e))).catch(a):a(null,s)}catch(e){a(e)}else l(e,t,i,o,a,n)}e&&e[0]&&this.store.addResource(e[0],t,i,o)}}}const q=()=>({debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if("object"==typeof e[1]&&(t=e[1]),i(e[1])&&(t.defaultValue=e[1]),i(e[2])&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){const i=e[3]||e[2];Object.keys(i).forEach((e=>{t[e]=i[e]}))}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),V=e=>(i(e.ns)&&(e.ns=[e.ns]),i(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),i(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e),G=()=>{};class H extends C{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;var i;if(super(),this.options=V(e),this.services={},this.logger=w,this.modules={external:[]},i=this,Object.getOwnPropertyNames(Object.getPrototypeOf(i)).forEach((e=>{"function"==typeof i[e]&&(i[e]=i[e].bind(i))})),t&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)return this.init(e,t),this;setTimeout((()=>{this.init(e,t)}),0)}}init(){var e=this;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,"function"==typeof t&&(s=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&(i(t.ns)?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const r=q();this.options={...r,...this.options,...V(t)},"v1"!==this.options.compatibilityAPI&&(this.options.interpolation={...r.interpolation,...this.options.interpolation}),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator);const a=e=>e?"function"==typeof e?new e:e:null;if(!this.options.isClone){let t;w.init(this.modules.logger?a(this.modules.logger):null,this.options),this.modules.formatter?t=this.modules.formatter:"undefined"!=typeof Intl&&(t=B);const i=new k(this.options);this.store=new P(this.options.resources,this.options);const o=this.services;o.logger=w,o.resourceStore=this.store,o.languageUtils=i,o.pluralResolver=new O(i,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!t||this.options.interpolation.format&&this.options.interpolation.format!==r.interpolation.format||(o.formatter=a(t),o.formatter.init(o,this.options),this.options.interpolation.format=o.formatter.format.bind(o.formatter)),o.interpolator=new j(this.options),o.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},o.backendConnector=new U(a(this.modules.backend),o.resourceStore,o,this.options),o.backendConnector.on("*",(function(t){for(var i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];e.emit(t,...o)})),this.modules.languageDetector&&(o.languageDetector=a(this.modules.languageDetector),o.languageDetector.init&&o.languageDetector.init(o,this.options.detection,this.options)),this.modules.i18nFormat&&(o.i18nFormat=a(this.modules.i18nFormat),o.i18nFormat.init&&o.i18nFormat.init(this)),this.translator=new N(this.services,this.options),this.translator.on("*",(function(t){for(var i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];e.emit(t,...o)})),this.modules.external.forEach((e=>{e.init&&e.init(this)}))}if(this.format=this.options.interpolation.format,s||(s=G),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach((t=>{this[t]=function(){return e.store[t](...arguments)}})),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach((t=>{this[t]=function(){return e.store[t](...arguments),e}}));const n=o(),l=()=>{const e=(e,t)=>{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),n.resolve(t),s(e,t)};if(this.languages&&"v1"!==this.options.compatibilityAPI&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initImmediate?l():setTimeout(l,0),n}loadResources(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:G;const o=i(e)?e:this.language;if("function"==typeof e&&(t=e),!this.options.resources||this.options.partialBundledLanguages){if(o&&"cimode"===o.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return t();const e=[],i=t=>{t&&"cimode"!==t&&this.services.languageUtils.toResolveHierarchy(t).forEach((t=>{"cimode"!==t&&e.indexOf(t)<0&&e.push(t)}))};o?i(o):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((e=>i(e))),this.options.preload&&this.options.preload.forEach((e=>i(e))),this.services.backendConnector.load(e,this.options.ns,(e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),t(e)}))}else t(null)}reloadResources(e,t,i){const s=o();return"function"==typeof e&&(i=e,e=void 0),"function"==typeof t&&(i=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),i||(i=G),this.services.backendConnector.reload(e,t,(e=>{s.resolve(),i(e)})),s}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&z.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(let e=0;e<this.languages.length;e++){const t=this.languages[e];if(!(["cimode","dev"].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}}changeLanguage(e,t){var s=this;this.isLanguageChangingTo=e;const r=o();this.emit("languageChanging",e);const a=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},n=(e,i)=>{i?(a(i),this.translator.changeLanguage(i),this.isLanguageChangingTo=void 0,this.emit("languageChanged",i),this.logger.log("languageChanged",i)):this.isLanguageChangingTo=void 0,r.resolve((function(){return s.t(...arguments)})),t&&t(e,(function(){return s.t(...arguments)}))},l=t=>{e||t||!this.services.languageDetector||(t=[]);const o=i(t)?t:this.services.languageUtils.getBestMatchFromCodes(t);o&&(this.language||a(o),this.translator.language||this.translator.changeLanguage(o),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(o)),this.loadResources(o,(e=>{n(e,o)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(l):this.services.languageDetector.detect(l):l(e):l(this.services.languageDetector.detect()),r}getFixedT(e,t,o){var s=this;const r=function(e,t){let i;if("object"!=typeof t){for(var a=arguments.length,n=new Array(a>2?a-2:0),l=2;l<a;l++)n[l-2]=arguments[l];i=s.options.overloadTranslationOptionHandler([e,t].concat(n))}else i={...t};i.lng=i.lng||r.lng,i.lngs=i.lngs||r.lngs,i.ns=i.ns||r.ns,""!==i.keyPrefix&&(i.keyPrefix=i.keyPrefix||o||r.keyPrefix);const u=s.options.keySeparator||".";let c;return c=i.keyPrefix&&Array.isArray(e)?e.map((e=>`${i.keyPrefix}${u}${e}`)):i.keyPrefix?`${i.keyPrefix}${u}${e}`:e,s.t(c,i)};return i(e)?r.lng=e:r.lngs=e,r.ns=t,r.keyPrefix=o,r}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const i=t.lng||this.resolvedLanguage||this.languages[0],o=!!this.options&&this.options.fallbackLng,s=this.languages[this.languages.length-1];if("cimode"===i.toLowerCase())return!0;const r=(e,t)=>{const i=this.services.backendConnector.state[`${e}|${t}`];return-1===i||0===i||2===i};if(t.precheck){const e=t.precheck(this,r);if(void 0!==e)return e}return!(!this.hasResourceBundle(i,e)&&this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages)&&(!r(i,e)||o&&!r(s,e)))}loadNamespaces(e,t){const s=o();return this.options.ns?(i(e)&&(e=[e]),e.forEach((e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)})),this.loadResources((e=>{s.resolve(),t&&t(e)})),s):(t&&t(),Promise.resolve())}loadLanguages(e,t){const s=o();i(e)&&(e=[e]);const r=this.options.preload||[],a=e.filter((e=>r.indexOf(e)<0&&this.services.languageUtils.isSupportedCode(e)));return a.length?(this.options.preload=r.concat(a),this.loadResources((e=>{s.resolve(),t&&t(e)})),s):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";const t=this.services&&this.services.languageUtils||new k(q());return["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"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){return new H(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}cloneInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:G;const i=e.forkResourceStore;i&&delete e.forkResourceStore;const o={...this.options,...e,isClone:!0},s=new H(o);return void 0===e.debug&&void 0===e.prefix||(s.logger=s.logger.clone(e)),["store","services","language"].forEach((e=>{s[e]=this[e]})),s.services={...this.services},s.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},i&&(s.store=new P(this.store.data,o),s.services.resourceStore=s.store),s.translator=new N(s.services,o),s.translator.on("*",(function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),o=1;o<t;o++)i[o-1]=arguments[o];s.emit(e,...i)})),s.init(o,t),s.translator.options=o,s.translator.backendConnector.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},s}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const W=H.createInstance();function K(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _(e){return _="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_(e)}function J(e){var t=function(e){if("object"!=_(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,"string");if("object"!=_(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==_(t)?t:t+""}function Y(e,t){for(var i=0;i<t.length;i++){var o=t[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,J(o.key),o)}}W.createInstance=H.createInstance;var X=[],Z=X.forEach,Q=X.slice;function ee(e){return Z.call(Q.call(arguments,1),(function(t){if(t)for(var i in t)void 0===e[i]&&(e[i]=t[i])})),e}var te=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,ie=function(e,t,i){var o=i||{};o.path=o.path||"/";var s=encodeURIComponent(t),r="".concat(e,"=").concat(s);if(o.maxAge>0){var a=o.maxAge-0;if(Number.isNaN(a))throw new Error("maxAge should be a Number");r+="; Max-Age=".concat(Math.floor(a))}if(o.domain){if(!te.test(o.domain))throw new TypeError("option domain is invalid");r+="; Domain=".concat(o.domain)}if(o.path){if(!te.test(o.path))throw new TypeError("option path is invalid");r+="; Path=".concat(o.path)}if(o.expires){if("function"!=typeof o.expires.toUTCString)throw new TypeError("option expires is invalid");r+="; Expires=".concat(o.expires.toUTCString())}if(o.httpOnly&&(r+="; HttpOnly"),o.secure&&(r+="; Secure"),o.sameSite)switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:r+="; SameSite=Strict";break;case"lax":r+="; SameSite=Lax";break;case"strict":r+="; SameSite=Strict";break;case"none":r+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return r},oe={name:"cookie",lookup:function(e){var t;if(e.lookupCookie&&"undefined"!=typeof document){var i=function(e){for(var t="".concat(e,"="),i=document.cookie.split(";"),o=0;o<i.length;o++){for(var s=i[o];" "===s.charAt(0);)s=s.substring(1,s.length);if(0===s.indexOf(t))return s.substring(t.length,s.length)}return null}(e.lookupCookie);i&&(t=i)}return t},cacheUserLanguage:function(e,t){t.lookupCookie&&"undefined"!=typeof document&&function(e,t,i,o){var s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{path:"/",sameSite:"strict"};i&&(s.expires=new Date,s.expires.setTime(s.expires.getTime()+60*i*1e3)),o&&(s.domain=o),document.cookie=ie(e,encodeURIComponent(t),s)}(t.lookupCookie,e,t.cookieMinutes,t.cookieDomain,t.cookieOptions)}},se={name:"querystring",lookup:function(e){var t;if("undefined"!=typeof window){var i=window.location.search;!window.location.search&&window.location.hash&&window.location.hash.indexOf("?")>-1&&(i=window.location.hash.substring(window.location.hash.indexOf("?")));for(var o=i.substring(1).split("&"),s=0;s<o.length;s++){var r=o[s].indexOf("=");r>0&&o[s].substring(0,r)===e.lookupQuerystring&&(t=o[s].substring(r+1))}}return t}},re=null,ae=function(){if(null!==re)return re;try{re="undefined"!==window&&null!==window.localStorage;var e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch(e){re=!1}return re},ne={name:"localStorage",lookup:function(e){var t;if(e.lookupLocalStorage&&ae()){var i=window.localStorage.getItem(e.lookupLocalStorage);i&&(t=i)}return t},cacheUserLanguage:function(e,t){t.lookupLocalStorage&&ae()&&window.localStorage.setItem(t.lookupLocalStorage,e)}},le=null,ue=function(){if(null!==le)return le;try{le="undefined"!==window&&null!==window.sessionStorage;var e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch(e){le=!1}return le},ce={name:"sessionStorage",lookup:function(e){var t;if(e.lookupSessionStorage&&ue()){var i=window.sessionStorage.getItem(e.lookupSessionStorage);i&&(t=i)}return t},cacheUserLanguage:function(e,t){t.lookupSessionStorage&&ue()&&window.sessionStorage.setItem(t.lookupSessionStorage,e)}},de={name:"navigator",lookup:function(){var e=[];if("undefined"!=typeof navigator){if(navigator.languages)for(var t=0;t<navigator.languages.length;t++)e.push(navigator.languages[t]);navigator.userLanguage&&e.push(navigator.userLanguage),navigator.language&&e.push(navigator.language)}return e.length>0?e:void 0}},he={name:"htmlTag",lookup:function(e){var t,i=e.htmlTag||("undefined"!=typeof document?document.documentElement:null);return i&&"function"==typeof i.getAttribute&&(t=i.getAttribute("lang")),t}},pe={name:"path",lookup:function(e){var t;if("undefined"!=typeof window){var i=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(i instanceof Array)if("number"==typeof e.lookupFromPathIndex){if("string"!=typeof i[e.lookupFromPathIndex])return;t=i[e.lookupFromPathIndex].replace("/","")}else t=i[0].replace("/","")}return t}},me={name:"subdomain",lookup:function(e){var t="number"==typeof e.lookupFromSubdomainIndex?e.lookupFromSubdomainIndex+1:1,i="undefined"!=typeof window&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(i)return i[t]}},ge=!1;try{ge=!0}catch(e){}var fe=["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"];function ve(){return{order:fe,lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:function(e){return e}}}ge||fe.splice(1,1);var be,ye=function(){return e=function e(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};K(this,e),this.type="languageDetector",this.detectors={},this.init(t,i)},t=[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e||{languageUtils:{}},this.options=ee(t,this.options||{},ve()),"string"==typeof this.options.convertDetectedLanguage&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=function(e){return e.replace("-","_")}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=i,this.addDetector(oe),this.addDetector(se),this.addDetector(ne),this.addDetector(ce),this.addDetector(de),this.addDetector(he),this.addDetector(pe),this.addDetector(me)}},{key:"addDetector",value:function(e){return this.detectors[e.name]=e,this}},{key:"detect",value:function(e){var t=this;e||(e=this.options.order);var i=[];return e.forEach((function(e){if(t.detectors[e]){var o=t.detectors[e].lookup(t.options);o&&"string"==typeof o&&(o=[o]),o&&(i=i.concat(o))}})),i=i.map((function(e){return t.options.convertDetectedLanguage(e)})),this.services.languageUtils.getBestMatchFromCodes?i:i.length>0?i[0]:null}},{key:"cacheUserLanguage",value:function(e,t){var i=this;t||(t=this.options.caches),t&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||t.forEach((function(t){i.detectors[t]&&i.detectors[t].cacheUserLanguage(e,i.options)})))}}],t&&Y(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}();ye.type="languageDetector",function(e){e.PT_BR="pt_BR",e.EN_US="en_US",e.ES_ES="es_ES"}(be||(be={}));const xe={[be.PT_BR]:{translation:{app:{collapse:"Resumir",expand:"Expandir",close:"Fechar",profile:"Perfil",warning:"Aviso",edit:"Editar",remove:"Remover",yes:"Sim",no:"Não",loading:"Carregando",apply:"Aplicar",cancel:"Cancelar",confirm:"Confirmar",ok:"OK",alerts:"Avisos",requiredInfo:" (obrigatório) *"},"ez-upload":{enable:"Arraste e solte ou clique para adicionar arquivos",disable:"Somente leitura",replaceFileTitle:"Substituir arquivo",replaceFileMessage:'Já existe um arquivo chamado "{{fileName}}". Deseja substituí-lo?',maxFilesError:"A quantidade máxima de arquivos é {{maxFiles}}.",emptyFileError:'Erro de permissão: O arquivo "{{fileName}}" não pode ser enviado.',missingUploadUrlError:"Endereço de upload não informado.",maxFileSizeError:"O tamanho máximo dos arquivos é de {{maxSize}}.",uploadErrorTitle:"Enviando arquivo",uploadingMessage:"Há arquivos sendo enviados. Por favor aguarde a conclusão ou cancele o envio."},"ez-calendar":{month:{0:"Janeiro",1:"Fevereiro",2:"Março",3:"Abril",4:"Maio",5:"Junho",6:"Julho",7:"Agosto",8:"Setembro",9:"Outubro",10:"Novembro",11:"Dezembro"},weekDay:{0:"D",1:"S",2:"T",3:"Q",4:"Q",5:"S",6:"S"},today:"Hoje"},"ez-collapsible-box":{confirmRemove:"Deseja realmente remover o grupo <b>{{label}}</b>?"},"ez-combo-box":{placeholder:"Selecione um item",noResults:"Nenhum resultado encontrado"},"ez-classic-combo-box":{emptyOption:"Selecione um item",noResults:"Nenhum resultado encontrado"},"ez-date-time-input":{invalidDate:"O valor digitado não é uma data e hora válida"},"ez-date-input":{invalidDate:"O valor digitado não é uma data válida"},"ez-dialog":{confirmButton:"Botão de confirmação ou OK",closeButton:"Botão de fechar ou X"},"ez-double-list":{noItemsAvailable:"Nenhum {{entity}} disponível",noItemsSelected:"Nenhum {{entity}} selecionado",moveAllTo:"Mover todos para {{list}}",moveTo:"Mover para {{list}}",moveToFirstPosition:"Mover para a primeira posição",moveUp:"Mover para cima",moveDown:"Mover para baixo",moveToLastPosition:"Mover para a última posição"},"ez-file-item":{invalidProgress:"O progresso de upload deve ser um número entre 0 e 100."},"ez-grid":{filterAppliedSuccess:"Filtro de coluna aplicado com sucesso!",cancelPagination:"Cancelar paginação",pageLabel:"Página {{currentPage}}",previousPage:"Página anterior",nextPage:"Próxima página",returnToPreviousPage:"Retorna à página anterior.",goToNextPage:"Avança para a próxima página.",remainingPageLabel:" de {{count}} ou mais",remainingTotalLabel:" de {{total}}",nextRecord:"Avança para o próximo registro.",previousRecord:"Retorna ao registro anterior.",searchColumn:"Busca por coluna.",sortAscending:"Ordenar Ascendente",sortDescending:"Ordenar Descendente",pinColumn:"Fixar coluna",unpinColumn:"Desafixar coluna",filter:"Filtrar",columnCantBeOrder:"Coluna não pode ser ordenada",filterColumnHeader:"Filtro da coluna {{columnLabel}}",clearSelection:"Limpar Seleção",page:"Página",more:"mais",to:"para",of:"de",next:"Próximo",last:"Último",first:"Primeiro",previous:"Anterior",loadingOoo:"Carregar",selectAll:"Selecionar tudo",searchOoo:"Procurar",blanks:"Vazio",filterOoo:"Filtrar",applyFilter:"Aplicar filtro",equals:"Igual",lessThan:"Menor que",greaterThan:"Maior que",contains:"Contém",startsWith:"Começa com",endsWith:"Termina com",group:"Grupo",columns:"Colunas",rowGroupColumns:"Colunas do grupo de linhas",rowGroupColumnsEmptyMessage:"Colunas do grupo de linhas vazias",valueColumns:"Valores das colunas",pivotMode:"Modo pivô",groups:"Grupos",values:"Valores",pivots:"Pivôs",valueColumnsEmptyMessage:"Valores de colunas vazias",pivotColumnsEmptyMessage:"Pivôs de colunas vazias",toolPanelButton:"Botão de painel de ferramentas",noRowsToShow:"Não há registros para mostrar.",valueAggregation:"Agregar valor",autosizeThiscolumn:"Redimensionar esta coluna",autosizeAllColumns:"Redimensionar todas colunas",groupBy:"Agrupar por",ungroupBy:"Desagrupar por",resetColumns:"Resetar colunas",expandAll:"Expandir tudo",collapseAll:"Contrair tudo",toolPanel:"Painel de ferramentas",export:"Exportar",csvExport:"Exportar para CSV",excelExport:"Exportar para Excel",pinLeft:"Fixar coluna",pinRight:"Fixar a direita",noPin:"Desfixar coluna",sum:"Soma",min:"Mínimo",max:"Máximo",none:"Nenhum",count:"Contagem",average:"Média",copy:"Copiar",copyWithHeaders:"Copiar com cabeçalho",copyWithGroupHeaders:"Copiar com cabeçalhos de grupo",ctrlC:"Ctrl+C",paste:"Colar",ctrlV:"Ctrl+V",labelSearchColumn:"Buscar colunas (Ctrl+F)"},"ez-guide-navigator":{searchGuide:"Buscar guia",hideMenu:"Ocultar menu"},"ez-list":{moveToGroup:"Mover para {{groupName}}"},"ez-modal":{close:"Fechar modal"},"ez-multi-selection-list":{selectAll:"Selecionar todos",search:"Buscar...",empty:"(Vazio)",initMessage:"Selecione os valores a serem filtrados através do campo de busca.",emptyResults:"Nenhum resultado encontrado."},"ez-number-input":{invalidNumber:"O valor digitado não é um número válido"},"ez-pagination":{previousPage:"Página anterior",nextPage:"Próxima página"},"ez-rich-text":{listShortcut:"Aplica estilo de lista ao texto selecionado.",linkShortcut:"Abre popup de link.",imageShortcut:"Abre popup de imagem.",boldShortcut:"Aplica estilo negrito ao texto selecionado.",italicShortcut:"Aplica estilo itálico ao texto selecionado.",underlineShortcut:"Aplica estilo sublinhado ao texto selecionado.",breakLineShortcut:"Aplica quebra de linha.",undoShortcut:"Desfaz a última alteração de texto.",redoShortcut:"Refaz a última alteração de texto.",edit:"Editar",preview:"Pré-visualizar",title:{preview:"Ctrl + P",edit:"Ir para modo edição",undo:"Desfazer (Ctrl + Z)",redo:"Refazer (Ctrl + X)",link:"Inserir link (Ctrl + K)",image:"Inserir imagem (Ctrl + O)",list:"Lista (Ctrl + L)",underline:"Sublinhado (Ctrl + U)",italic:"Itálico (Ctrl + I)",bold:"Negrito (Ctrl + B)"}},"ez-link-builder":{addLinkTitle:"Adicionar link",addLinkSubtitle:"Insira um link no texto para abrir novas páginas.",submit:"Enviar",urlInputLabel:"Insira a URL destino",textInputLabel:"Insira o texto a ser exibido",openInNewPage:"Abrir em uma nova página."},"ez-simple-image-uploader":{uploadTitle:"Upload de imagens",uploadSubtitle:"Envie seus arquivos preenchendo apenas 1 campo por vez.",submit:"Enviar",tooltipMessage:"O arquivo selecionado abaixo será priorizado!",urlInputLabel:"Insira a URL da imagem",orText:"OU",removeFile:"Remover arquivo",dragDropText:"Arraste e solte ou clique para adicionar arquivos",imageAlt:"Imagem",imageTooLarge:"A imagem deve ter menos de {{maxSize}}."},"ez-search":{emptyList:"Nenhum resultado encontrado",emptySearch:"Nenhum resultado de {{field}} encontrado"},"ez-search-plus":{emptyList:"Nenhum resultado encontrado",optionLoaderNotDefined:"optionLoader não definido",defaultCodeLabel:"Cód."},"ez-sortable-list":{emptyMessage:"Nenhum item na lista",entityLabel:"item",entityLabelPlural:"itens",total:"Total de",search:"Buscar"},"ez-split-button":{moreOptions:"Mais opções"},"ez-text-edit":{emptyFieldWarning:"Não é possível salvar um campo em branco."},"ez-time-input":{invalidTime:"Favor inserir um horário válido."},"ez-sidebar":{unPinMenu:"Desafixar menu",pushPinMenu:"Fixar menu",hideMenu:"Recolher menu"},"ez-form":{mainTab:"Principal",labelSearchField:"Buscar campos (Ctrl+F)"},utils:{requiredFieldMessage:"Há pelo menos um campo obrigatório não preenchido.",requiredField:"Essa informação é obrigatória.",selectAllPage:"Selecionar apenas a página atual",loadingAllRecords:"Carregando todos os {{count}} registros",selectAllRecords:"Selecionar todos os {{total}} registros",waitForLoad:"Aguarde o carregamento para selecionar o registro de todas as páginas",allRecordsSelected:"Todos os <strong>{{selectionCount}} registros</strong> da grade estão selecionados.",selectedRecords:"Há <strong>{{selectionCount}} registro{{plural}}</strong> selecionado{{plural}} na grade."},spinner:{loading:"Carregando..."}}},[be.EN_US]:{translation:{app:{collapse:"Collapse",expand:"Expand",close:"Close",profile:"Profile",warning:"Warning",edit:"Edit",remove:"Remove",yes:"Yes",no:"No",loading:"Loading",apply:"Apply",cancel:"Cancel",confirm:"Confirm",ok:"OK",alerts:"Alerts",requiredInfo:" (required) *"},"ez-upload":{enable:"Drag and drop or click to add files",disable:"Read only",replaceFileTitle:"Replace file",replaceFileMessage:'A file named "{{fileName}}" already exists. Do you want to replace it?',maxFilesError:"The maximum number of files is {{maxFiles}}.",emptyFileError:'Permission error: The file "{{fileName}}" cannot be uploaded.',missingUploadUrlError:"Upload URL not provided.",maxFileSizeError:"The maximum file size is {{maxSize}}.",uploadErrorTitle:"Uploading file",uploadingMessage:"Files are being uploaded. Please wait for completion or cancel the upload."},"ez-calendar":{month:{0:"January",1:"February",2:"March",3:"April",4:"May",5:"June",6:"July",7:"August",8:"September",9:"October",10:"November",11:"December"},weekDay:{0:"S",1:"M",2:"T",3:"W",4:"T",5:"F",6:"S"},today:"Today"},"ez-collapsible-box":{confirmRemove:"Do you really want to remove the group <b>{{label}}</b>?"},"ez-combo-box":{placeholder:"Select an item",noResults:"No results found"},"ez-classic-combo-box":{emptyOption:"Select an item",noResults:"No results found"},"ez-date-time-input":{invalidDate:"The entered value is not a valid date and time"},"ez-date-input":{invalidDate:"The entered value is not a valid date"},"ez-dialog":{confirmButton:"Confirm or OK button",closeButton:"Close or X button"},"ez-double-list":{noItemsAvailable:"No {{entity}} available",noItemsSelected:"No {{entity}} selected",moveAllTo:"Move all to {{list}}",moveTo:"Move to {{list}}",moveToFirstPosition:"Move to the first position",moveUp:"Move up",moveDown:"Move down",moveToLastPosition:"Move to the last position"},"ez-file-item":{invalidProgress:"The upload progress must be a number between 0 and 100."},"ez-grid":{filterAppliedSuccess:"Column filter applied successfully!",cancelPagination:"Cancel pagination",pageLabel:"Page {{currentPage}}",previousPage:"Previous page",nextPage:"Next page",returnToPreviousPage:"Return to the previous page.",goToNextPage:"Move to the next page.",remainingPageLabel:" from {{count}} or more",remainingTotalLabel:" from {{total}}",nextRecord:"Move to the next record.",previousRecord:"Return to the previous record.",searchColumn:"Search by column.",sortAscending:"Sort Ascending",sortDescending:"Sort Descending",pinColumn:"Pin column",unpinColumn:"Unpin column",filter:"Filter",columnCantBeOrder:"Column cannot be sorted",filterColumnHeader:"Filter for column {{columnLabel}}",clearSelection:"Clear Selection",page:"Page",more:"more",to:"to",of:"of",next:"Next",last:"Last",first:"First",previous:"Previous",loadingOoo:"Loading",selectAll:"Select all",searchOoo:"Search",blanks:"Blanks",filterOoo:"Filter",applyFilter:"Apply filter",equals:"Equals",lessThan:"Less than",greaterThan:"Greater than",contains:"Contains",startsWith:"Starts with",endsWith:"Ends with",group:"Group",columns:"Columns",rowGroupColumns:"Row group columns",rowGroupColumnsEmptyMessage:"Row group columns empty",valueColumns:"Value columns",pivotMode:"Pivot mode",groups:"Groups",values:"Values",pivots:"Pivots",valueColumnsEmptyMessage:"Value columns empty",pivotColumnsEmptyMessage:"Pivot columns empty",toolPanelButton:"Tool panel button",noRowsToShow:"No rows to show.",valueAggregation:"Aggregate value",autosizeThiscolumn:"Autosize this column",autosizeAllColumns:"Autosize all columns",groupBy:"Group by",ungroupBy:"Ungroup by",resetColumns:"Reset columns",expandAll:"Expand all",collapseAll:"Collapse all",toolPanel:"Tool panel",export:"Export",csvExport:"Export to CSV",excelExport:"Export to Excel",pinLeft:"Pin left",pinRight:"Pin right",noPin:"Unpin column",sum:"Sum",min:"Min",max:"Max",none:"None",count:"Count",average:"Average",copy:"Copy",copyWithHeaders:"Copy with headers",copyWithGroupHeaders:"Copy with group headers",ctrlC:"Ctrl+C",paste:"Paste",ctrlV:"Ctrl+V",labelSearchColumn:"Search columns (Ctrl+F)"},"ez-guide-navigator":{searchGuide:"Search guide",hideMenu:"Hide menu"},"ez-list":{moveToGroup:"Move to {{groupName}}"},"ez-modal":{close:"Close modal"},"ez-multi-selection-list":{selectAll:"Select all",search:"Search...",empty:"(Empty)",initMessage:"Select the values to be filtered through the search field.",emptyResults:"No results found."},"ez-number-input":{invalidNumber:"The entered value is not a valid number"},"ez-pagination":{previousPage:"Previous page",nextPage:"Next page"},"ez-rich-text":{listShortcut:"Applies list style to the selected text.",linkShortcut:"Opens link popup.",imageShortcut:"Opens image popup.",boldShortcut:"Applies bold style to the selected text.",italicShortcut:"Applies italic style to the selected text.",underlineShortcut:"Applies underline style to the selected text.",breakLineShortcut:"Applies line break.",undoShortcut:"Undoes the last text change.",redoShortcut:"Redoes the last text change.",edit:"Edit",preview:"Preview",title:{preview:"Ctrl + P",edit:"Switch to edit mode",undo:"Undo (Ctrl + Z)",redo:"Redo (Ctrl + X)",link:"Insert link (Ctrl + K)",image:"Insert image (Ctrl + O)",list:"List (Ctrl + L)",underline:"Underline (Ctrl + U)",italic:"Italic (Ctrl + I)",bold:"Bold (Ctrl + B)"}},"ez-link-builder":{addLinkTitle:"Add link",addLinkSubtitle:"Insert a link into the text to open new pages.",submit:"Submit",urlInputLabel:"Enter the destination URL",textInputLabel:"Enter the text to display",openInNewPage:"Open in a new page."},"ez-simple-image-uploader":{uploadTitle:"Image Upload",uploadSubtitle:"Upload your files by filling only 1 field at a time.",submit:"Submit",tooltipMessage:"The selected file below will be prioritized!",urlInputLabel:"Enter the image URL",orText:"OR",removeFile:"Remove file",dragDropText:"Drag and drop or click to add files",imageAlt:"Image",imageTooLarge:"The image must be smaller than {{maxSize}}."},"ez-search":{emptyList:"No results found",emptySearch:"No results for {{field}} found"},"ez-search-plus":{emptyList:"No results found",optionLoaderNotDefined:"optionLoader not defined",defaultCodeLabel:"Code"},"ez-sortable-list":{emptyMessage:"No items in the list",entityLabel:"item",entityLabelPlural:"items",total:"Total of",search:"Search"},"ez-split-button":{moreOptions:"More options"},"ez-text-edit":{emptyFieldWarning:"It is not possible to save an empty field."},"ez-time-input":{invalidTime:"Please enter a valid time."},"ez-sidebar":{unPinMenu:"Unpin menu",pushPinMenu:"Pin menu",hideMenu:"Hide menu"},"ez-form":{mainTab:"Main",labelSearchField:"Search fields (Ctrl+F)"},utils:{requiredFieldMessage:"There is at least one required field not filled.",requiredField:"This information is required.",selectAllPage:"Select only the current page",loadingAllRecords:"Loading all {{count}} records",selectAllRecords:"Select all {{total}} records",waitForLoad:"Wait for loading to select records from all pages",allRecordsSelected:"All <strong>{{selectionCount}} records</strong> in the grid are selected.",selectedRecords:"There <strong>{{selectionCount}} record{{plural}}</strong> selected in the grid."},spinner:{loading:"Loading..."}}},[be.ES_ES]:{translation:{app:{collapse:"Colapsar",expand:"Expandir",close:"Cerrar",profile:"Perfil",warning:"Aviso",edit:"Editar",remove:"Eliminar",yes:"Sí",no:"No",loading:"Cargando",apply:"Aplicar",cancel:"Cancelar",confirm:"Confirmar",ok:"OK",alerts:"Avisos",requiredInfo:" (obligatorio) *"},"ez-upload":{enable:"Arrastra y suelta o haz clic para subir archivos",disable:"Solo lectura",replaceFileTitle:"Reemplazar archivo",replaceFileMessage:'Ya existe un archivo llamado "{{fileName}}". ¿Desea reemplazarlo?',maxFilesError:"La cantidad máxima de archivos es {{maxFiles}}.",emptyFileError:'Error de permiso: El archivo "{{fileName}}" no puede ser enviado.',missingUploadUrlError:"Dirección de carga no informada.",maxFileSizeError:"El tamaño máximo de los archivos es de {{maxSize}}.",uploadErrorTitle:"Subiendo archivo",uploadingMessage:"Se están subiendo archivos. Por favor, espere a que se complete o cancele la subida."},"ez-calendar":{month:{0:"Enero",1:"Febrero",2:"Marzo",3:"Abril",4:"Mayo",5:"Junio",6:"Julio",7:"Agosto",8:"Septiembre",9:"Octubre",10:"Noviembre",11:"Diciembre"},weekDay:{0:"D",1:"L",2:"M",3:"M",4:"J",5:"V",6:"S"},today:"Hoy"},"ez-collapsible-box":{confirmRemove:"¿Realmente desea eliminar el grupo <b>{{label}}</b>?"},"ez-combo-box":{placeholder:"Seleccione un elemento",noResults:"No se encontraron resultados"},"ez-classic-combo-box":{emptyOption:"Seleccione un elemento",noResults:"No se encontraron resultados"},"ez-date-time-input":{invalidDate:"El valor ingresado no es una fecha y hora válida"},"ez-date-input":{invalidDate:"El valor ingresado no es una fecha válida"},"ez-dialog":{confirmButton:"Botón de confirmación o OK",closeButton:"Botón de cerrar o X"},"ez-double-list":{noItemsAvailable:"No hay {{entity}} disponible",noItemsSelected:"No hay {{entity}} seleccionado",moveAllTo:"Mover todos a {{list}}",moveTo:"Mover a {{list}}",moveToFirstPosition:"Mover a la primera posición",moveUp:"Mover hacia arriba",moveDown:"Mover hacia abajo",moveToLastPosition:"Mover a la última posición"},"ez-file-item":{invalidProgress:"El progreso de carga debe ser un número entre 0 y 100."},"ez-grid":{filterAppliedSuccess:"¡Filtro de columna aplicado con éxito!",cancelPagination:"Cancelar paginación",pageLabel:"Página {{currentPage}}",previousPage:"Página anterior",nextPage:"Página siguiente",returnToPreviousPage:"Volver a la página anterior.",goToNextPage:"Avanzar a la página siguiente.",remainingPageLabel:" de {{count}} o más",remainingTotalLabel:" de {{total}}",nextRecord:"Avanzar al siguiente registro.",previousRecord:"Volver al registro anterior.",searchColumn:"Buscar por columna.",sortAscending:"Ordenar Ascendente",sortDescending:"Ordenar Descendente",pinColumn:"Fijar columna",unpinColumn:"Desafijar columna",filter:"Filtrar",columnCantBeOrder:"La columna no se puede ordenar",filterColumnHeader:"Filtro de la columna {{columnLabel}}",clearSelection:"Limpiar Selección",page:"Página",more:"más",to:"a",of:"de",next:"Siguiente",last:"Último",first:"Primero",previous:"Anterior",loadingOoo:"Cargando",selectAll:"Seleccionar todo",searchOoo:"Buscar",blanks:"Vacío",filterOoo:"Filtrar",applyFilter:"Aplicar filtro",equals:"Igual",lessThan:"Menor que",greaterThan:"Mayor que",contains:"Contiene",startsWith:"Empieza con",endsWith:"Termina con",group:"Grupo",columns:"Columnas",rowGroupColumns:"Columnas del grupo de filas",rowGroupColumnsEmptyMessage:"Columnas del grupo de filas vacías",valueColumns:"Valores de las columnas",pivotMode:"Modo pivote",groups:"Grupos",values:"Valores",pivots:"Pivotes",valueColumnsEmptyMessage:"Valores de columnas vacías",pivotColumnsEmptyMessage:"Pivotes de columnas vacías",toolPanelButton:"Botón del panel de herramientas",noRowsToShow:"No hay registros para mostrar.",valueAggregation:"Agregar valor",autosizeThiscolumn:"Redimensionar esta columna",autosizeAllColumns:"Redimensionar todas las columnas",groupBy:"Agrupar por",ungroupBy:"Desagrupar por",resetColumns:"Restablecer columnas",expandAll:"Expandir todo",collapseAll:"Contraer todo",toolPanel:"Panel de herramientas",export:"Exportar",csvExport:"Exportar a CSV",excelExport:"Exportar a Excel",pinLeft:"Fijar a la izquierda",pinRight:"Fijar a la derecha",noPin:"Desfijar columna",sum:"Suma",min:"Mínimo",max:"Máximo",none:"Ninguno",count:"Conteo",average:"Promedio",copy:"Copiar",copyWithHeaders:"Copiar con encabezados",copyWithGroupHeaders:"Copiar con encabezados de grupo",ctrlC:"Ctrl+C",paste:"Pegar",ctrlV:"Ctrl+V",labelSearchColumn:"Buscar columnas (Ctrl+F)"},"ez-guide-navigator":{searchGuide:"Buscar guía",hideMenu:"Ocultar menú"},"ez-list":{moveToGroup:"Mover a {{groupName}}"},"ez-modal":{close:"Cerrar modal"},"ez-multi-selection-list":{selectAll:"Seleccionar todos",search:"Buscar...",empty:"(Vacío)",initMessage:"Seleccione los valores a filtrar a través del campo de búsqueda.",emptyResults:"No se encontraron resultados."},"ez-number-input":{invalidNumber:"El valor ingresado no es un número válido"},"ez-pagination":{previousPage:"Página anterior",nextPage:"Página siguiente"},"ez-rich-text":{listShortcut:"Aplica estilo de lista al texto seleccionado.",linkShortcut:"Abre popup de enlace.",imageShortcut:"Abre popup de imagen.",boldShortcut:"Aplica estilo negrita al texto seleccionado.",italicShortcut:"Aplica estilo cursiva al texto seleccionado.",underlineShortcut:"Aplica estilo subrayado al texto seleccionado.",breakLineShortcut:"Aplica salto de línea.",undoShortcut:"Deshace el último cambio de texto.",redoShortcut:"Rehace el último cambio de texto.",edit:"Editar",preview:"Previsualizar",title:{preview:"Ctrl + P",edit:"Ir al modo de edición",undo:"Deshacer (Ctrl + Z)",redo:"Rehacer (Ctrl + X)",link:"Insertar enlace (Ctrl + K)",image:"Insertar imagen (Ctrl + O)",list:"Lista (Ctrl + L)",underline:"Subrayado (Ctrl + U)",italic:"Cursiva (Ctrl + I)",bold:"Negrita (Ctrl + B)"}},"ez-link-builder":{addLinkTitle:"Agregar enlace",addLinkSubtitle:"Inserte un enlace en el texto para abrir nuevas páginas.",submit:"Enviar",urlInputLabel:"Ingrese la URL de destino",textInputLabel:"Ingrese el texto a mostrar",openInNewPage:"Abrir en una nueva página."},"ez-simple-image-uploader":{uploadTitle:"Subida de imágenes",uploadSubtitle:"Sube tus archivos llenando solo 1 campo a la vez.",submit:"Enviar",tooltipMessage:"¡El archivo seleccionado a continuación será priorizado!",urlInputLabel:"Ingrese la URL de la imagen",orText:"O",removeFile:"Eliminar archivo",dragDropText:"Arrastra y suelta o haz clic para agregar archivos",imageAlt:"Imagen",imageTooLarge:"La imagen debe tener menos de {{maxSize}}."},"ez-search":{emptyList:"No se encontraron resultados",emptySearch:"No se encontraron resultados de {{field}}"},"ez-search-plus":{emptyList:"No se encontraron resultados",optionLoaderNotDefined:"optionLoader no definido",defaultCodeLabel:"Cód."},"ez-sortable-list":{emptyMessage:"No hay elementos en la lista",entityLabel:"elemento",entityLabelPlural:"elementos",total:"Total de",search:"Buscar"},"ez-split-button":{moreOptions:"Más opciones"},"ez-text-edit":{emptyFieldWarning:"No es posible guardar un campo vacío."},"ez-time-input":{invalidTime:"Por favor, ingrese una hora válida."},"ez-sidebar":{unPinMenu:"Desanclar menú",pushPinMenu:"Anclar menú",hideMenu:"Ocultar menú"},"ez-form":{mainTab:"Principal",labelSearchField:"Buscar campos (Ctrl+F)"},utils:{requiredFieldMessage:"Hay al menos un campo obligatorio sin completar.",requiredField:"Esta información es obligatoria.",selectAllPage:"Seleccionar solo la página actual",loadingAllRecords:"Cargando todos los {{count}} registros",selectAllRecords:"Seleccionar todos los {{total}} registros",waitForLoad:"Espere a que se carguen para seleccionar los registros de todas las páginas",allRecordsSelected:"Todos los <strong>{{selectionCount}} registros</strong> en la cuadrícula están seleccionados.",selectedRecords:"Hay <strong>{{selectionCount}} registro{{plural}}</strong> seleccionado{{plural}} en la cuadrícula."},spinner:{loading:"Cargando..."}}}},Se="__EZ_UI_I18N_INSTANCE__";function we(){return e.getContextValue(Se)}const Ce=async i=>{let o=we();if(!o){const s=W.createInstance(),r={resources:xe,fallbackLng:be.PT_BR};await s.use(ye).init(r);const a=t.getLanguage(),n=null!=i?i:a;await s.changeLanguage(n),e.setContextValue(Se,s.t),o=s.t}return o};export{we as g,Ce as i}
1
+ import{ApplicationContext as e,LangUtils as t}from"@sankhyalabs/core";const i=e=>"string"==typeof e,o=()=>{let e,t;const i=new Promise(((i,o)=>{e=i,t=o}));return i.resolve=e,i.reject=t,i},s=e=>null==e?"":""+e,r=/###/g,a=e=>e&&e.indexOf("###")>-1?e.replace(r,"."):e,n=e=>!e||i(e),l=(e,t,o)=>{const s=i(t)?t.split("."):t;let r=0;for(;r<s.length-1;){if(n(e))return{};const t=a(s[r]);!e[t]&&o&&(e[t]=new o),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++r}return n(e)?{}:{obj:e,k:a(s[r])}},u=(e,t,i)=>{const{obj:o,k:s}=l(e,t,Object);if(void 0!==o||1===t.length)return void(o[s]=i);let r=t[t.length-1],a=t.slice(0,t.length-1),n=l(e,a,Object);for(;void 0===n.obj&&a.length;)r=`${a[a.length-1]}.${r}`,a=a.slice(0,a.length-1),n=l(e,a,Object),n&&n.obj&&void 0!==n.obj[`${n.k}.${r}`]&&(n.obj=void 0);n.obj[`${n.k}.${r}`]=i},c=(e,t)=>{const{obj:i,k:o}=l(e,t);if(i)return i[o]},d=(e,t,i)=>{const o=c(e,i);return void 0!==o?o:c(t,i)},h=(e,t,o)=>{for(const s in t)"__proto__"!==s&&"constructor"!==s&&(s in e?i(e[s])||e[s]instanceof String||i(t[s])||t[s]instanceof String?o&&(e[s]=t[s]):h(e[s],t[s],o):e[s]=t[s]);return e},p=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var m={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const g=e=>i(e)?e.replace(/[&<>"'\/]/g,(e=>m[e])):e,f=[" ",",","?","!",";"],v=new class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const t=this.regExpMap.get(e);if(void 0!==t)return t;const i=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,i),this.regExpQueue.push(e),i}}(20),b=function(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!e)return;if(e[t])return e[t];const o=t.split(i);let s=e;for(let e=0;e<o.length;){if(!s||"object"!=typeof s)return;let t,r="";for(let a=e;a<o.length;++a)if(a!==e&&(r+=i),r+=o[a],t=s[r],void 0!==t){if(["string","number","boolean"].indexOf(typeof t)>-1&&a<o.length-1)continue;e+=a-e+1;break}s=t}return s},y=e=>e&&e.replace("_","-"),x={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class S{constructor(e){this.init(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||x,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return this.forward(t,"log","",!0)}warn(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return this.forward(t,"warn","",!0)}error(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return this.forward(t,"error","")}deprecate(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,o,s){return s&&!this.debug?null:(i(e[0])&&(e[0]=`${o}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new S(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new S(this.logger,e)}}var w=new S;class C{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach((e=>{this.observers[e]||(this.observers[e]=new Map);const i=this.observers[e].get(t)||0;this.observers[e].set(t,i+1)})),this}off(e,t){this.observers[e]&&(t?this.observers[e].delete(t):delete this.observers[e])}emit(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),o=1;o<t;o++)i[o-1]=arguments[o];this.observers[e]&&Array.from(this.observers[e].entries()).forEach((e=>{let[t,o]=e;for(let e=0;e<o;e++)t(...i)})),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach((t=>{let[o,s]=t;for(let t=0;t<s;t++)o.apply(o,[e,...i])}))}}class P extends C{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,o){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const r=void 0!==s.keySeparator?s.keySeparator:this.options.keySeparator,a=void 0!==s.ignoreJSONStructure?s.ignoreJSONStructure:this.options.ignoreJSONStructure;let n;e.indexOf(".")>-1?n=e.split("."):(n=[e,t],o&&(Array.isArray(o)?n.push(...o):i(o)&&r?n.push(...o.split(r)):n.push(o)));const l=c(this.data,n);return!l&&!t&&!o&&e.indexOf(".")>-1&&(e=n[0],t=n[1],o=n.slice(2).join(".")),!l&&a&&i(o)?b(this.data&&this.data[e]&&this.data[e][t],o,r):l}addResource(e,t,i,o){let s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1};const r=void 0!==s.keySeparator?s.keySeparator:this.options.keySeparator;let a=[e,t];i&&(a=a.concat(r?i.split(r):i)),e.indexOf(".")>-1&&(a=e.split("."),o=t,t=a[1]),this.addNamespaces(t),u(this.data,a,o),s.silent||this.emit("added",e,t,i,o)}addResources(e,t,o){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(const s in o)(i(o[s])||Array.isArray(o[s]))&&this.addResource(e,t,s,o[s],{silent:!0});s.silent||this.emit("added",e,t,o)}addResourceBundle(e,t,i,o,s){let r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1,skipCopy:!1},a=[e,t];e.indexOf(".")>-1&&(a=e.split("."),o=i,i=t,t=a[1]),this.addNamespaces(t);let n=c(this.data,a)||{};r.skipCopy||(i=JSON.parse(JSON.stringify(i))),o?h(n,i,s):n={...n,...i},u(this.data,a,n),r.silent||this.emit("added",e,t,i)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?{...this.getResource(e,t)}:this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((e=>t[e]&&Object.keys(t[e]).length>0))}toJSON(){return this.data}}var z={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,i,o,s){return e.forEach((e=>{this.processors[e]&&(t=this.processors[e].process(t,i,o,s))})),t}};const A={};class N extends C{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var i,o;super(),i=e,o=this,["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"].forEach((e=>{i[e]&&(o[e]=i[e])})),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=w.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){if(null==e)return!1;const t=this.resolve(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}});return t&&void 0!==t.res}extractFromKey(e,t){let o=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===o&&(o=":");const s=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator;let r=t.ns||this.options.defaultNS||[];const a=o&&e.indexOf(o)>-1,n=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||((e,t,i)=>{t=t||"",i=i||"";const o=f.filter((e=>t.indexOf(e)<0&&i.indexOf(e)<0));if(0===o.length)return!0;const s=v.getRegExp(`(${o.map((e=>"?"===e?"\\?":e)).join("|")})`);let r=!s.test(e);if(!r){const t=e.indexOf(i);t>0&&!s.test(e.substring(0,t))&&(r=!0)}return r})(e,o,s));if(a&&!n){const t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:i(r)?[r]:r};const a=e.split(o);(o!==s||o===s&&this.options.ns.indexOf(a[0])>-1)&&(r=a.shift()),e=a.join(s)}return{key:e,namespaces:i(r)?[r]:r}}translate(e,t,o){if("object"!=typeof t&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof t&&(t={...t}),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);const s=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,{key:a,namespaces:n}=this.extractFromKey(e[e.length-1],t),l=n[n.length-1],u=t.lng||this.language,c=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(u&&"cimode"===u.toLowerCase()){if(c){const e=t.nsSeparator||this.options.nsSeparator;return s?{res:`${l}${e}${a}`,usedKey:a,exactUsedKey:a,usedLng:u,usedNS:l,usedParams:this.getUsedParamsDetails(t)}:`${l}${e}${a}`}return s?{res:a,usedKey:a,exactUsedKey:a,usedLng:u,usedNS:l,usedParams:this.getUsedParamsDetails(t)}:a}const d=this.resolve(e,t);let h=d&&d.res;const p=d&&d.usedKey||a,m=d&&d.exactUsedKey||a,g=Object.prototype.toString.apply(h),f=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,v=!this.i18nFormat||this.i18nFormat.handleAsObject,b=!i(h)&&"boolean"!=typeof h&&"number"!=typeof h;if(!(v&&h&&b&&["[object Number]","[object Function]","[object RegExp]"].indexOf(g)<0)||i(f)&&Array.isArray(h))if(v&&i(f)&&Array.isArray(h))h=h.join(f),h&&(h=this.extendTranslation(h,e,t,o));else{let s=!1,n=!1;const c=void 0!==t.count&&!i(t.count),p=N.hasDefaultValue(t),m=c?this.pluralResolver.getSuffix(u,t.count,t):"",g=t.ordinal&&c?this.pluralResolver.getSuffix(u,t.count,{ordinal:!1}):"",f=c&&!t.ordinal&&0===t.count&&this.pluralResolver.shouldUseIntlApi(),v=f&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${m}`]||t[`defaultValue${g}`]||t.defaultValue;!this.isValidLookup(h)&&p&&(s=!0,h=v),this.isValidLookup(h)||(n=!0,h=a);const b=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&n?void 0:h,y=p&&v!==h&&this.options.updateMissing;if(n||s||y){if(this.logger.log(y?"updateKey":"missingKey",u,l,a,y?v:h),r){const e=this.resolve(a,{...t,keySeparator:!1});e&&e.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.")}let e=[];const i=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&i&&i[0])for(let t=0;t<i.length;t++)e.push(i[t]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(t.lng||this.language):e.push(t.lng||this.language);const o=(e,i,o)=>{const s=p&&o!==h?o:b;this.options.missingKeyHandler?this.options.missingKeyHandler(e,l,i,s,y,t):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(e,l,i,s,y,t),this.emit("missingKey",e,l,i,h)};this.options.saveMissing&&(this.options.saveMissingPlurals&&c?e.forEach((e=>{const i=this.pluralResolver.getSuffixes(e,t);f&&t[`defaultValue${this.options.pluralSeparator}zero`]&&i.indexOf(`${this.options.pluralSeparator}zero`)<0&&i.push(`${this.options.pluralSeparator}zero`),i.forEach((i=>{o([e],a+i,t[`defaultValue${i}`]||v)}))})):o(e,a,v))}h=this.extendTranslation(h,e,t,d,o),n&&h===a&&this.options.appendNamespaceToMissingKey&&(h=`${l}:${a}`),(n||s)&&this.options.parseMissingKeyHandler&&(h="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}:${a}`:a,s?h:void 0):this.options.parseMissingKeyHandler(h))}else{if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(p,h,{...t,ns:n}):`key '${a} (${this.language})' returned an object instead of string.`;return s?(d.res=e,d.usedParams=this.getUsedParamsDetails(t),d):e}if(r){const e=Array.isArray(h),i=e?[]:{},o=e?m:p;for(const e in h)if(Object.prototype.hasOwnProperty.call(h,e)){const s=`${o}${r}${e}`;i[e]=this.translate(s,{...t,joinArrays:!1,ns:n}),i[e]===s&&(i[e]=h[e])}h=i}}return s?(d.res=h,d.usedParams=this.getUsedParamsDetails(t),d):h}extendTranslation(e,t,o,s,r){var a=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...o},o.lng||this.language||s.usedLng,s.usedNS,s.usedKey,{resolved:s});else if(!o.skipInterpolation){o.interpolation&&this.interpolator.init({...o,interpolation:{...this.options.interpolation,...o.interpolation}});const n=i(e)&&(o&&o.interpolation&&void 0!==o.interpolation.skipOnVariables?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let l;if(n){const t=e.match(this.interpolator.nestingRegexp);l=t&&t.length}let u=o.replace&&!i(o.replace)?o.replace:o;if(this.options.interpolation.defaultVariables&&(u={...this.options.interpolation.defaultVariables,...u}),e=this.interpolator.interpolate(e,u,o.lng||this.language||s.usedLng,o),n){const t=e.match(this.interpolator.nestingRegexp);l<(t&&t.length)&&(o.nest=!1)}!o.lng&&"v1"!==this.options.compatibilityAPI&&s&&s.res&&(o.lng=this.language||s.usedLng),!1!==o.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,i=new Array(e),s=0;s<e;s++)i[s]=arguments[s];return r&&r[0]===i[0]&&!o.context?(a.logger.warn(`It seems you are nesting recursively key: ${i[0]} in key: ${t[0]}`),null):a.translate(...i,t)}),o)),o.interpolation&&this.interpolator.reset()}const n=o.postProcess||this.options.postProcess,l=i(n)?[n]:n;return null!=e&&l&&l.length&&!1!==o.applyPostProcessor&&(e=z.handle(l,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...s,usedParams:this.getUsedParamsDetails(o)},...o}:o,this)),e}resolve(e){let t,o,s,r,a,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i(e)&&(e=[e]),e.forEach((e=>{if(this.isValidLookup(t))return;const l=this.extractFromKey(e,n),u=l.key;o=u;let c=l.namespaces;this.options.fallbackNS&&(c=c.concat(this.options.fallbackNS));const d=void 0!==n.count&&!i(n.count),h=d&&!n.ordinal&&0===n.count&&this.pluralResolver.shouldUseIntlApi(),p=void 0!==n.context&&(i(n.context)||"number"==typeof n.context)&&""!==n.context,m=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);c.forEach((e=>{this.isValidLookup(t)||(a=e,!A[`${m[0]}-${e}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(a)&&(A[`${m[0]}-${e}`]=!0,this.logger.warn(`key "${o}" for languages "${m.join(", ")}" won't get resolved as namespace "${a}" 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((i=>{if(this.isValidLookup(t))return;r=i;const o=[u];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(o,u,i,e,n);else{let e;d&&(e=this.pluralResolver.getSuffix(i,n.count,n));const t=`${this.options.pluralSeparator}zero`,s=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(d&&(o.push(u+e),n.ordinal&&0===e.indexOf(s)&&o.push(u+e.replace(s,this.options.pluralSeparator)),h&&o.push(u+t)),p){const i=`${u}${this.options.contextSeparator}${n.context}`;o.push(i),d&&(o.push(i+e),n.ordinal&&0===e.indexOf(s)&&o.push(i+e.replace(s,this.options.pluralSeparator)),h&&o.push(i+t))}}let a;for(;a=o.pop();)this.isValidLookup(t)||(s=a,t=this.getResource(i,e,a,n))})))}))})),{res:t,usedKey:o,exactUsedKey:s,usedLng:r,usedNS:a}}isValidLookup(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}getResource(e,t,i){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,i,o):this.resourceStore.getResource(e,t,i,o)}getUsedParamsDetails(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],o=e.replace&&!i(e.replace);let s=o?e.replace:e;if(o&&void 0!==e.count&&(s.count=e.count),this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),!o){s={...s};for(const e of t)delete s[e]}return s}static hasDefaultValue(e){const t="defaultValue";for(const i in e)if(Object.prototype.hasOwnProperty.call(e,i)&&t===i.substring(0,t.length)&&void 0!==e[i])return!0;return!1}}const L=e=>e.charAt(0).toUpperCase()+e.slice(1);class k{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=w.create("languageUtils")}getScriptPartFromCode(e){if(!(e=y(e))||e.indexOf("-")<0)return null;const t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}getLanguagePartFromCode(e){if(!(e=y(e))||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(i(e)&&e.indexOf("-")>-1){if("undefined"!=typeof Intl&&void 0!==Intl.getCanonicalLocales)try{let t=Intl.getCanonicalLocales(e)[0];if(t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t)return t}catch(e){}const t=["hans","hant","latn","cyrl","cans","mong","arab"];let i=e.split("-");return this.options.lowerCaseLng?i=i.map((e=>e.toLowerCase())):2===i.length?(i[0]=i[0].toLowerCase(),i[1]=i[1].toUpperCase(),t.indexOf(i[1].toLowerCase())>-1&&(i[1]=L(i[1].toLowerCase()))):3===i.length&&(i[0]=i[0].toLowerCase(),2===i[1].length&&(i[1]=i[1].toUpperCase()),"sgn"!==i[0]&&2===i[2].length&&(i[2]=i[2].toUpperCase()),t.indexOf(i[1].toLowerCase())>-1&&(i[1]=L(i[1].toLowerCase())),t.indexOf(i[2].toLowerCase())>-1&&(i[2]=L(i[2].toLowerCase()))),i.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach((e=>{if(t)return;const i=this.formatLanguageCode(e);this.options.supportedLngs&&!this.isSupportedCode(i)||(t=i)})),!t&&this.options.supportedLngs&&e.forEach((e=>{if(t)return;const i=this.getLanguagePartFromCode(e);if(this.isSupportedCode(i))return t=i;t=this.options.supportedLngs.find((e=>e===i?e:e.indexOf("-")<0&&i.indexOf("-")<0?void 0:e.indexOf("-")>0&&i.indexOf("-")<0&&e.substring(0,e.indexOf("-"))===i||0===e.indexOf(i)&&i.length>1?e:void 0))})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),i(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let o=e[t];return o||(o=e[this.getScriptPartFromCode(t)]),o||(o=e[this.formatLanguageCode(t)]),o||(o=e[this.getLanguagePartFromCode(t)]),o||(o=e.default),o||[]}toResolveHierarchy(e,t){const o=this.getFallbackCodes(t||this.options.fallbackLng||[],e),s=[],r=e=>{e&&(this.isSupportedCode(e)?s.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return i(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&r(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&r(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&r(this.getLanguagePartFromCode(e))):i(e)&&r(this.formatLanguageCode(e)),o.forEach((e=>{s.indexOf(e)<0&&r(this.formatLanguageCode(e))})),s}}let R=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],E={1:e=>Number(e>1),2:e=>Number(1!=e),3:()=>0,4:e=>Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2),5:e=>Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5),6:e=>Number(1==e?0:e>=2&&e<=4?1:2),7:e=>Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2),8:e=>Number(1==e?0:2==e?1:8!=e&&11!=e?2:3),9:e=>Number(e>=2),10:e=>Number(1==e?0:2==e?1:e<7?2:e<11?3:4),11:e=>Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3),12:e=>Number(e%10!=1||e%100==11),13:e=>Number(0!==e),14:e=>Number(1==e?0:2==e?1:3==e?2:3),15:e=>Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2),16:e=>Number(e%10==1&&e%100!=11?0:0!==e?1:2),17:e=>Number(1==e||e%10==1&&e%100!=11?0:1),18:e=>Number(0==e?0:1==e?1:2),19:e=>Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3),20:e=>Number(1==e?0:0==e||e%100>0&&e%100<20?1:2),21:e=>Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0),22:e=>Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)};const T=["v1","v2","v3"],M=["v4"],$={zero:0,one:1,two:2,few:3,many:4,other:5};class O{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=w.create("pluralResolver"),this.options.compatibilityJSON&&!M.includes(this.options.compatibilityJSON)||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=(()=>{const e={};return R.forEach((t=>{t.lngs.forEach((i=>{e[i]={numbers:t.nr,plurals:E[t.fc]}}))})),e})(),this.pluralRulesCache={}}addRule(e,t){this.rules[e]=t}clearCache(){this.pluralRulesCache={}}getRule(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi()){const i=y("dev"===e?"en":e),o=t.ordinal?"ordinal":"cardinal",s=JSON.stringify({cleanedCode:i,type:o});if(s in this.pluralRulesCache)return this.pluralRulesCache[s];let r;try{r=new Intl.PluralRules(i,{type:o})}catch(i){if(!e.match(/-|_/))return;const o=this.languageUtils.getLanguagePartFromCode(e);r=this.getRule(o,t)}return this.pluralRulesCache[s]=r,r}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){const t=this.getRule(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{});return this.shouldUseIntlApi()?t&&t.resolvedOptions().pluralCategories.length>1:t&&t.numbers.length>1}getPluralFormsOfKey(e,t){return this.getSuffixes(e,arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).map((e=>`${t}${e}`))}getSuffixes(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const i=this.getRule(e,t);return i?this.shouldUseIntlApi()?i.resolvedOptions().pluralCategories.sort(((e,t)=>$[e]-$[t])).map((e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`)):i.numbers.map((i=>this.getSuffix(e,i,t))):[]}getSuffix(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const o=this.getRule(e,i);return o?this.shouldUseIntlApi()?`${this.options.prepend}${i.ordinal?`ordinal${this.options.prepend}`:""}${o.select(t)}`:this.getSuffixRetroCompatible(o,t):(this.logger.warn(`no plural rule found for: ${e}`),"")}getSuffixRetroCompatible(e,t){const i=e.plurals(e.noAbs?t:Math.abs(t));let o=e.numbers[i];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===o?o="plural":1===o&&(o=""));const s=()=>this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString();return"v1"===this.options.compatibilityJSON?1===o?"":"number"==typeof o?`_plural_${o.toString()}`:s():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?s():this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString()}shouldUseIntlApi(){return!T.includes(this.options.compatibilityJSON)}}const F=function(e,t,o){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=d(e,t,o);return!a&&r&&i(o)&&(a=b(e,o,s),void 0===a&&(a=b(t,o,s))),a},I=e=>e.replace(/\$/g,"$$$$");class j{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=w.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||(e=>e),this.init(e)}init(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});const{escape:t,escapeValue:i,useRawValueToEscape:o,prefix:s,prefixEscaped:r,suffix:a,suffixEscaped:n,formatSeparator:l,unescapeSuffix:u,unescapePrefix:c,nestingPrefix:d,nestingPrefixEscaped:h,nestingSuffix:m,nestingSuffixEscaped:f,nestingOptionsSeparator:v,maxReplaces:b,alwaysFormat:y}=e.interpolation;this.escape=void 0!==t?t:g,this.escapeValue=void 0===i||i,this.useRawValueToEscape=void 0!==o&&o,this.prefix=s?p(s):r||"{{",this.suffix=a?p(a):n||"}}",this.formatSeparator=l||",",this.unescapePrefix=u?"":c||"-",this.unescapeSuffix=this.unescapePrefix?"":u||"",this.nestingPrefix=d?p(d):h||p("$t("),this.nestingSuffix=m?p(m):f||p(")"),this.nestingOptionsSeparator=v||",",this.maxReplaces=b||1e3,this.alwaysFormat=void 0!==y&&y,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(e,t)=>e&&e.source===t?(e.lastIndex=0,e):new RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,t,o,r){let a,n,l;const u=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},c=e=>{if(e.indexOf(this.formatSeparator)<0){const i=F(t,u,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,o,{...r,...t,interpolationkey:e}):i}const i=e.split(this.formatSeparator),s=i.shift().trim(),a=i.join(this.formatSeparator).trim();return this.format(F(t,u,s,this.options.keySeparator,this.options.ignoreJSONStructure),a,o,{...r,...t,interpolationkey:s})};this.resetRegExp();const d=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,h=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>I(e)},{regex:this.regexp,safeValue:e=>I(this.escapeValue?this.escape(e):e)}].forEach((t=>{for(l=0;a=t.regex.exec(e);){const o=a[1].trim();if(n=c(o),void 0===n)if("function"==typeof d){const t=d(e,a,r);n=i(t)?t:""}else if(r&&Object.prototype.hasOwnProperty.call(r,o))n="";else{if(h){n=a[0];continue}this.logger.warn(`missed to pass in variable ${o} for interpolating ${e}`),n=""}else i(n)||this.useRawValueToEscape||(n=s(n));const u=t.safeValue(n);if(e=e.replace(a[0],u),h?(t.regex.lastIndex+=n.length,t.regex.lastIndex-=a[0].length):t.regex.lastIndex=0,l++,l>=this.maxReplaces)break}})),e}nest(e,t){let o,r,a,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const l=(e,t)=>{const i=this.nestingOptionsSeparator;if(e.indexOf(i)<0)return e;const o=e.split(new RegExp(`${i}[ ]*{`));let s=`{${o[1]}`;e=o[0],s=this.interpolate(s,a);const r=s.match(/'/g),n=s.match(/"/g);(r&&r.length%2==0&&!n||n.length%2!=0)&&(s=s.replace(/'/g,'"'));try{a=JSON.parse(s),t&&(a={...t,...a})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${i}${s}`}return a.defaultValue&&a.defaultValue.indexOf(this.prefix)>-1&&delete a.defaultValue,e};for(;o=this.nestingRegexp.exec(e);){let u=[];a={...n},a=a.replace&&!i(a.replace)?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;let c=!1;if(-1!==o[0].indexOf(this.formatSeparator)&&!/{.*}/.test(o[1])){const e=o[1].split(this.formatSeparator).map((e=>e.trim()));o[1]=e.shift(),u=e,c=!0}if(r=t(l.call(this,o[1].trim(),a),a),r&&o[0]===e&&!i(r))return r;i(r)||(r=s(r)),r||(this.logger.warn(`missed to resolve ${o[1]} for nesting ${e}`),r=""),c&&(r=u.reduce(((e,t)=>this.format(e,t,n.lng,{...n,interpolationkey:o[1].trim()})),r.trim())),e=e.replace(o[0],r),this.regexp.lastIndex=0}return e}}const D=e=>{const t={};return(i,o,s)=>{let r=s;s&&s.interpolationkey&&s.formatParams&&s.formatParams[s.interpolationkey]&&s[s.interpolationkey]&&(r={...r,[s.interpolationkey]:void 0});const a=o+JSON.stringify(r);let n=t[a];return n||(n=e(y(o),s),t[a]=n),n(i)}};class B{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=w.create("formatter"),this.options=e,this.formats={number:D(((e,t)=>{const i=new Intl.NumberFormat(e,{...t});return e=>i.format(e)})),currency:D(((e,t)=>{const i=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>i.format(e)})),datetime:D(((e,t)=>{const i=new Intl.DateTimeFormat(e,{...t});return e=>i.format(e)})),relativetime:D(((e,t)=>{const i=new Intl.RelativeTimeFormat(e,{...t});return e=>i.format(e,t.range||"day")})),list:D(((e,t)=>{const i=new Intl.ListFormat(e,{...t});return e=>i.format(e)}))},this.init(e)}init(e){this.formatSeparator=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}}).interpolation.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=D(t)}format(e,t,i){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const s=t.split(this.formatSeparator);if(s.length>1&&s[0].indexOf("(")>1&&s[0].indexOf(")")<0&&s.find((e=>e.indexOf(")")>-1))){const e=s.findIndex((e=>e.indexOf(")")>-1));s[0]=[s[0],...s.splice(1,e)].join(this.formatSeparator)}return s.reduce(((e,t)=>{const{formatName:s,formatOptions:r}=(e=>{let t=e.toLowerCase().trim();const i={};if(e.indexOf("(")>-1){const o=e.split("(");t=o[0].toLowerCase().trim();const s=o[1].substring(0,o[1].length-1);"currency"===t&&s.indexOf(":")<0?i.currency||(i.currency=s.trim()):"relativetime"===t&&s.indexOf(":")<0?i.range||(i.range=s.trim()):s.split(";").forEach((e=>{if(e){const[t,...o]=e.split(":"),s=o.join(":").trim().replace(/^'+|'+$/g,""),r=t.trim();i[r]||(i[r]=s),"false"===s&&(i[r]=!1),"true"===s&&(i[r]=!0),isNaN(s)||(i[r]=parseInt(s,10))}}))}return{formatName:t,formatOptions:i}})(t);if(this.formats[s]){let t=e;try{const a=o&&o.formatParams&&o.formatParams[o.interpolationkey]||{};t=this.formats[s](e,a.locale||a.lng||o.locale||o.lng||i,{...r,...o,...a})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${s}`),e}),e)}}class U extends C{constructor(e,t,i){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=i,this.languageUtils=i.languageUtils,this.options=o,this.logger=w.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=o.maxParallelReads||10,this.readingCalls=0,this.maxRetries=o.maxRetries>=0?o.maxRetries:5,this.retryTimeout=o.retryTimeout>=1?o.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(i,o.backend,o)}queueLoad(e,t,i,o){const s={},r={},a={},n={};return e.forEach((e=>{let o=!0;t.forEach((t=>{const a=`${e}|${t}`;!i.reload&&this.store.hasResourceBundle(e,t)?this.state[a]=2:this.state[a]<0||(1===this.state[a]?void 0===r[a]&&(r[a]=!0):(this.state[a]=1,o=!1,void 0===r[a]&&(r[a]=!0),void 0===s[a]&&(s[a]=!0),void 0===n[t]&&(n[t]=!0)))})),o||(a[e]=!0)})),(Object.keys(s).length||Object.keys(r).length)&&this.queue.push({pending:r,pendingCount:Object.keys(r).length,loaded:{},errors:[],callback:o}),{toLoad:Object.keys(s),pending:Object.keys(r),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(n)}}loaded(e,t,i){const o=e.split("|"),s=o[0],r=o[1];t&&this.emit("failedLoading",s,r,t),!t&&i&&this.store.addResourceBundle(s,r,i,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&i&&(this.state[e]=0);const a={};this.queue.forEach((i=>{((e,t,i)=>{const{obj:o,k:s}=l(e,t,Object);o[s]=o[s]||[],o[s].push(i)})(i.loaded,[s],r),((e,t)=>{void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)})(i,e),t&&i.errors.push(t),0!==i.pendingCount||i.done||(Object.keys(i.loaded).forEach((e=>{a[e]||(a[e]={});const t=i.loaded[e];t.length&&t.forEach((t=>{void 0===a[e][t]&&(a[e][t]=!0)}))})),i.done=!0,i.errors.length?i.callback(i.errors):i.callback())})),this.emit("loaded",a),this.queue=this.queue.filter((e=>!e.done))}read(e,t,i){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,r=arguments.length>5?arguments[5]:void 0;if(!e.length)return r(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:i,tried:o,wait:s,callback:r});this.readingCalls++;const a=(a,n)=>{if(this.readingCalls--,this.waitingReads.length>0){const e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}a&&n&&o<this.maxRetries?setTimeout((()=>{this.read.call(this,e,t,i,o+1,2*s,r)}),s):r(a,n)},n=this.backend[i].bind(this.backend);if(2!==n.length)return n(e,t,a);try{const i=n(e,t);i&&"function"==typeof i.then?i.then((e=>a(null,e))).catch(a):a(null,i)}catch(e){a(e)}}prepareLoading(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),s&&s();i(e)&&(e=this.languageUtils.toResolveHierarchy(e)),i(t)&&(t=[t]);const r=this.queueLoad(e,t,o,s);if(!r.toLoad.length)return r.pending.length||s(),null;r.toLoad.forEach((e=>{this.loadOne(e)}))}load(e,t,i){this.prepareLoading(e,t,{},i)}reload(e,t,i){this.prepareLoading(e,t,{reload:!0},i)}loadOne(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const i=e.split("|"),o=i[0],s=i[1];this.read(o,s,"read",void 0,void 0,((i,r)=>{i&&this.logger.warn(`${t}loading namespace ${s} for language ${o} failed`,i),!i&&r&&this.logger.log(`${t}loaded namespace ${s} for language ${o}`,r),this.loaded(e,i,r)}))}saveMissing(e,t,i,o,s){let r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t))this.logger.warn(`did not save key "${i}" 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!!!");else if(null!=i&&""!==i){if(this.backend&&this.backend.create){const n={...r,isUpdate:s},l=this.backend.create.bind(this.backend);if(l.length<6)try{let s;s=5===l.length?l(e,t,i,o,n):l(e,t,i,o),s&&"function"==typeof s.then?s.then((e=>a(null,e))).catch(a):a(null,s)}catch(e){a(e)}else l(e,t,i,o,a,n)}e&&e[0]&&this.store.addResource(e[0],t,i,o)}}}const q=()=>({debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if("object"==typeof e[1]&&(t=e[1]),i(e[1])&&(t.defaultValue=e[1]),i(e[2])&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){const i=e[3]||e[2];Object.keys(i).forEach((e=>{t[e]=i[e]}))}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),V=e=>(i(e.ns)&&(e.ns=[e.ns]),i(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),i(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e),G=()=>{};class H extends C{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;var i;if(super(),this.options=V(e),this.services={},this.logger=w,this.modules={external:[]},i=this,Object.getOwnPropertyNames(Object.getPrototypeOf(i)).forEach((e=>{"function"==typeof i[e]&&(i[e]=i[e].bind(i))})),t&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)return this.init(e,t),this;setTimeout((()=>{this.init(e,t)}),0)}}init(){var e=this;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,"function"==typeof t&&(s=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&(i(t.ns)?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const r=q();this.options={...r,...this.options,...V(t)},"v1"!==this.options.compatibilityAPI&&(this.options.interpolation={...r.interpolation,...this.options.interpolation}),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator);const a=e=>e?"function"==typeof e?new e:e:null;if(!this.options.isClone){let t;w.init(this.modules.logger?a(this.modules.logger):null,this.options),this.modules.formatter?t=this.modules.formatter:"undefined"!=typeof Intl&&(t=B);const i=new k(this.options);this.store=new P(this.options.resources,this.options);const o=this.services;o.logger=w,o.resourceStore=this.store,o.languageUtils=i,o.pluralResolver=new O(i,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!t||this.options.interpolation.format&&this.options.interpolation.format!==r.interpolation.format||(o.formatter=a(t),o.formatter.init(o,this.options),this.options.interpolation.format=o.formatter.format.bind(o.formatter)),o.interpolator=new j(this.options),o.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},o.backendConnector=new U(a(this.modules.backend),o.resourceStore,o,this.options),o.backendConnector.on("*",(function(t){for(var i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];e.emit(t,...o)})),this.modules.languageDetector&&(o.languageDetector=a(this.modules.languageDetector),o.languageDetector.init&&o.languageDetector.init(o,this.options.detection,this.options)),this.modules.i18nFormat&&(o.i18nFormat=a(this.modules.i18nFormat),o.i18nFormat.init&&o.i18nFormat.init(this)),this.translator=new N(this.services,this.options),this.translator.on("*",(function(t){for(var i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];e.emit(t,...o)})),this.modules.external.forEach((e=>{e.init&&e.init(this)}))}if(this.format=this.options.interpolation.format,s||(s=G),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach((t=>{this[t]=function(){return e.store[t](...arguments)}})),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach((t=>{this[t]=function(){return e.store[t](...arguments),e}}));const n=o(),l=()=>{const e=(e,t)=>{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),n.resolve(t),s(e,t)};if(this.languages&&"v1"!==this.options.compatibilityAPI&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initImmediate?l():setTimeout(l,0),n}loadResources(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:G;const o=i(e)?e:this.language;if("function"==typeof e&&(t=e),!this.options.resources||this.options.partialBundledLanguages){if(o&&"cimode"===o.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return t();const e=[],i=t=>{t&&"cimode"!==t&&this.services.languageUtils.toResolveHierarchy(t).forEach((t=>{"cimode"!==t&&e.indexOf(t)<0&&e.push(t)}))};o?i(o):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((e=>i(e))),this.options.preload&&this.options.preload.forEach((e=>i(e))),this.services.backendConnector.load(e,this.options.ns,(e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),t(e)}))}else t(null)}reloadResources(e,t,i){const s=o();return"function"==typeof e&&(i=e,e=void 0),"function"==typeof t&&(i=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),i||(i=G),this.services.backendConnector.reload(e,t,(e=>{s.resolve(),i(e)})),s}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&z.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(let e=0;e<this.languages.length;e++){const t=this.languages[e];if(!(["cimode","dev"].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}}changeLanguage(e,t){var s=this;this.isLanguageChangingTo=e;const r=o();this.emit("languageChanging",e);const a=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},n=(e,i)=>{i?(a(i),this.translator.changeLanguage(i),this.isLanguageChangingTo=void 0,this.emit("languageChanged",i),this.logger.log("languageChanged",i)):this.isLanguageChangingTo=void 0,r.resolve((function(){return s.t(...arguments)})),t&&t(e,(function(){return s.t(...arguments)}))},l=t=>{e||t||!this.services.languageDetector||(t=[]);const o=i(t)?t:this.services.languageUtils.getBestMatchFromCodes(t);o&&(this.language||a(o),this.translator.language||this.translator.changeLanguage(o),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(o)),this.loadResources(o,(e=>{n(e,o)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(l):this.services.languageDetector.detect(l):l(e):l(this.services.languageDetector.detect()),r}getFixedT(e,t,o){var s=this;const r=function(e,t){let i;if("object"!=typeof t){for(var a=arguments.length,n=new Array(a>2?a-2:0),l=2;l<a;l++)n[l-2]=arguments[l];i=s.options.overloadTranslationOptionHandler([e,t].concat(n))}else i={...t};i.lng=i.lng||r.lng,i.lngs=i.lngs||r.lngs,i.ns=i.ns||r.ns,""!==i.keyPrefix&&(i.keyPrefix=i.keyPrefix||o||r.keyPrefix);const u=s.options.keySeparator||".";let c;return c=i.keyPrefix&&Array.isArray(e)?e.map((e=>`${i.keyPrefix}${u}${e}`)):i.keyPrefix?`${i.keyPrefix}${u}${e}`:e,s.t(c,i)};return i(e)?r.lng=e:r.lngs=e,r.ns=t,r.keyPrefix=o,r}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const i=t.lng||this.resolvedLanguage||this.languages[0],o=!!this.options&&this.options.fallbackLng,s=this.languages[this.languages.length-1];if("cimode"===i.toLowerCase())return!0;const r=(e,t)=>{const i=this.services.backendConnector.state[`${e}|${t}`];return-1===i||0===i||2===i};if(t.precheck){const e=t.precheck(this,r);if(void 0!==e)return e}return!(!this.hasResourceBundle(i,e)&&this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages)&&(!r(i,e)||o&&!r(s,e)))}loadNamespaces(e,t){const s=o();return this.options.ns?(i(e)&&(e=[e]),e.forEach((e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)})),this.loadResources((e=>{s.resolve(),t&&t(e)})),s):(t&&t(),Promise.resolve())}loadLanguages(e,t){const s=o();i(e)&&(e=[e]);const r=this.options.preload||[],a=e.filter((e=>r.indexOf(e)<0&&this.services.languageUtils.isSupportedCode(e)));return a.length?(this.options.preload=r.concat(a),this.loadResources((e=>{s.resolve(),t&&t(e)})),s):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";const t=this.services&&this.services.languageUtils||new k(q());return["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"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){return new H(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}cloneInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:G;const i=e.forkResourceStore;i&&delete e.forkResourceStore;const o={...this.options,...e,isClone:!0},s=new H(o);return void 0===e.debug&&void 0===e.prefix||(s.logger=s.logger.clone(e)),["store","services","language"].forEach((e=>{s[e]=this[e]})),s.services={...this.services},s.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},i&&(s.store=new P(this.store.data,o),s.services.resourceStore=s.store),s.translator=new N(s.services,o),s.translator.on("*",(function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),o=1;o<t;o++)i[o-1]=arguments[o];s.emit(e,...i)})),s.init(o,t),s.translator.options=o,s.translator.backendConnector.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},s}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const W=H.createInstance();function K(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _(e){return _="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_(e)}function J(e){var t=function(e){if("object"!=_(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,"string");if("object"!=_(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==_(t)?t:t+""}function Y(e,t){for(var i=0;i<t.length;i++){var o=t[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,J(o.key),o)}}W.createInstance=H.createInstance;var X=[],Z=X.forEach,Q=X.slice;function ee(e){return Z.call(Q.call(arguments,1),(function(t){if(t)for(var i in t)void 0===e[i]&&(e[i]=t[i])})),e}var te=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,ie=function(e,t,i){var o=i||{};o.path=o.path||"/";var s=encodeURIComponent(t),r="".concat(e,"=").concat(s);if(o.maxAge>0){var a=o.maxAge-0;if(Number.isNaN(a))throw new Error("maxAge should be a Number");r+="; Max-Age=".concat(Math.floor(a))}if(o.domain){if(!te.test(o.domain))throw new TypeError("option domain is invalid");r+="; Domain=".concat(o.domain)}if(o.path){if(!te.test(o.path))throw new TypeError("option path is invalid");r+="; Path=".concat(o.path)}if(o.expires){if("function"!=typeof o.expires.toUTCString)throw new TypeError("option expires is invalid");r+="; Expires=".concat(o.expires.toUTCString())}if(o.httpOnly&&(r+="; HttpOnly"),o.secure&&(r+="; Secure"),o.sameSite)switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:r+="; SameSite=Strict";break;case"lax":r+="; SameSite=Lax";break;case"strict":r+="; SameSite=Strict";break;case"none":r+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return r},oe={name:"cookie",lookup:function(e){var t;if(e.lookupCookie&&"undefined"!=typeof document){var i=function(e){for(var t="".concat(e,"="),i=document.cookie.split(";"),o=0;o<i.length;o++){for(var s=i[o];" "===s.charAt(0);)s=s.substring(1,s.length);if(0===s.indexOf(t))return s.substring(t.length,s.length)}return null}(e.lookupCookie);i&&(t=i)}return t},cacheUserLanguage:function(e,t){t.lookupCookie&&"undefined"!=typeof document&&function(e,t,i,o){var s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{path:"/",sameSite:"strict"};i&&(s.expires=new Date,s.expires.setTime(s.expires.getTime()+60*i*1e3)),o&&(s.domain=o),document.cookie=ie(e,encodeURIComponent(t),s)}(t.lookupCookie,e,t.cookieMinutes,t.cookieDomain,t.cookieOptions)}},se={name:"querystring",lookup:function(e){var t;if("undefined"!=typeof window){var i=window.location.search;!window.location.search&&window.location.hash&&window.location.hash.indexOf("?")>-1&&(i=window.location.hash.substring(window.location.hash.indexOf("?")));for(var o=i.substring(1).split("&"),s=0;s<o.length;s++){var r=o[s].indexOf("=");r>0&&o[s].substring(0,r)===e.lookupQuerystring&&(t=o[s].substring(r+1))}}return t}},re=null,ae=function(){if(null!==re)return re;try{re="undefined"!==window&&null!==window.localStorage;var e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch(e){re=!1}return re},ne={name:"localStorage",lookup:function(e){var t;if(e.lookupLocalStorage&&ae()){var i=window.localStorage.getItem(e.lookupLocalStorage);i&&(t=i)}return t},cacheUserLanguage:function(e,t){t.lookupLocalStorage&&ae()&&window.localStorage.setItem(t.lookupLocalStorage,e)}},le=null,ue=function(){if(null!==le)return le;try{le="undefined"!==window&&null!==window.sessionStorage;var e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch(e){le=!1}return le},ce={name:"sessionStorage",lookup:function(e){var t;if(e.lookupSessionStorage&&ue()){var i=window.sessionStorage.getItem(e.lookupSessionStorage);i&&(t=i)}return t},cacheUserLanguage:function(e,t){t.lookupSessionStorage&&ue()&&window.sessionStorage.setItem(t.lookupSessionStorage,e)}},de={name:"navigator",lookup:function(){var e=[];if("undefined"!=typeof navigator){if(navigator.languages)for(var t=0;t<navigator.languages.length;t++)e.push(navigator.languages[t]);navigator.userLanguage&&e.push(navigator.userLanguage),navigator.language&&e.push(navigator.language)}return e.length>0?e:void 0}},he={name:"htmlTag",lookup:function(e){var t,i=e.htmlTag||("undefined"!=typeof document?document.documentElement:null);return i&&"function"==typeof i.getAttribute&&(t=i.getAttribute("lang")),t}},pe={name:"path",lookup:function(e){var t;if("undefined"!=typeof window){var i=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(i instanceof Array)if("number"==typeof e.lookupFromPathIndex){if("string"!=typeof i[e.lookupFromPathIndex])return;t=i[e.lookupFromPathIndex].replace("/","")}else t=i[0].replace("/","")}return t}},me={name:"subdomain",lookup:function(e){var t="number"==typeof e.lookupFromSubdomainIndex?e.lookupFromSubdomainIndex+1:1,i="undefined"!=typeof window&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(i)return i[t]}},ge=!1;try{ge=!0}catch(e){}var fe=["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"];function ve(){return{order:fe,lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:function(e){return e}}}ge||fe.splice(1,1);var be,ye=function(){return e=function e(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};K(this,e),this.type="languageDetector",this.detectors={},this.init(t,i)},t=[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e||{languageUtils:{}},this.options=ee(t,this.options||{},ve()),"string"==typeof this.options.convertDetectedLanguage&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=function(e){return e.replace("-","_")}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=i,this.addDetector(oe),this.addDetector(se),this.addDetector(ne),this.addDetector(ce),this.addDetector(de),this.addDetector(he),this.addDetector(pe),this.addDetector(me)}},{key:"addDetector",value:function(e){return this.detectors[e.name]=e,this}},{key:"detect",value:function(e){var t=this;e||(e=this.options.order);var i=[];return e.forEach((function(e){if(t.detectors[e]){var o=t.detectors[e].lookup(t.options);o&&"string"==typeof o&&(o=[o]),o&&(i=i.concat(o))}})),i=i.map((function(e){return t.options.convertDetectedLanguage(e)})),this.services.languageUtils.getBestMatchFromCodes?i:i.length>0?i[0]:null}},{key:"cacheUserLanguage",value:function(e,t){var i=this;t||(t=this.options.caches),t&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||t.forEach((function(t){i.detectors[t]&&i.detectors[t].cacheUserLanguage(e,i.options)})))}}],t&&Y(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}();ye.type="languageDetector",function(e){e.PT_BR="pt_BR",e.EN_US="en_US",e.ES_ES="es_ES"}(be||(be={}));const xe={[be.PT_BR]:{translation:{app:{collapse:"Resumir",expand:"Expandir",close:"Fechar",profile:"Perfil",warning:"Aviso",edit:"Editar",remove:"Remover",yes:"Sim",no:"Não",loading:"Carregando",apply:"Aplicar",cancel:"Cancelar",confirm:"Confirmar",ok:"OK",alerts:"Avisos",requiredInfo:" (obrigatório) *"},"ez-upload":{enable:"Arraste e solte ou clique para adicionar arquivos",disable:"Somente leitura",replaceFileTitle:"Substituir arquivo",replaceFileMessage:'Já existe um arquivo chamado "{{fileName}}". Deseja substituí-lo?',maxFilesError:"A quantidade máxima de arquivos é {{maxFiles}}.",emptyFileError:'Erro de permissão: O arquivo "{{fileName}}" não pode ser enviado.',missingUploadUrlError:"Endereço de upload não informado.",maxFileSizeError:"O tamanho máximo dos arquivos é de {{maxSize}}.",uploadErrorTitle:"Enviando arquivo",uploadingMessage:"Há arquivos sendo enviados. Por favor aguarde a conclusão ou cancele o envio."},"ez-calendar":{month:{0:"Janeiro",1:"Fevereiro",2:"Março",3:"Abril",4:"Maio",5:"Junho",6:"Julho",7:"Agosto",8:"Setembro",9:"Outubro",10:"Novembro",11:"Dezembro"},weekDay:{0:"D",1:"S",2:"T",3:"Q",4:"Q",5:"S",6:"S"},today:"Hoje"},"ez-collapsible-box":{confirmRemove:"Deseja realmente remover o grupo <b>{{label}}</b>?"},"ez-combo-box":{placeholder:"Selecione um item",noResults:"Nenhum resultado encontrado"},"ez-classic-combo-box":{emptyOption:"Selecione um item",noResults:"Nenhum resultado encontrado"},"ez-date-time-input":{invalidDate:"O valor digitado não é uma data e hora válida"},"ez-date-input":{invalidDate:"O valor digitado não é uma data válida"},"ez-dialog":{confirmButton:"Botão de confirmação ou OK",closeButton:"Botão de fechar ou X"},"ez-double-list":{noItemsAvailable:"Nenhum {{entity}} disponível",noItemsSelected:"Nenhum {{entity}} selecionado",moveAllTo:"Mover todos para {{list}}",moveTo:"Mover para {{list}}",moveToFirstPosition:"Mover para a primeira posição",moveUp:"Mover para cima",moveDown:"Mover para baixo",moveToLastPosition:"Mover para a última posição"},"ez-file-item":{invalidProgress:"O progresso de upload deve ser um número entre 0 e 100."},"ez-grid":{filterAppliedSuccess:"Filtro de coluna aplicado com sucesso!",cancelPagination:"Cancelar paginação",pageLabel:"Página {{currentPage}}",previousPage:"Página anterior",nextPage:"Próxima página",returnToPreviousPage:"Retorna à página anterior.",goToNextPage:"Avança para a próxima página.",remainingPageLabel:" de {{count}} ou mais",remainingTotalLabel:" de {{total}}",nextRecord:"Avança para o próximo registro.",previousRecord:"Retorna ao registro anterior.",searchColumn:"Busca por coluna.",sortAscending:"Ordenar Ascendente",sortDescending:"Ordenar Descendente",pinColumn:"Fixar coluna",unpinColumn:"Desafixar coluna",filter:"Filtrar",columnCantBeOrder:"Coluna não pode ser ordenada",filterColumnHeader:"Filtro da coluna {{columnLabel}}",clearSelection:"Limpar Seleção",page:"Página",more:"mais",to:"para",of:"de",next:"Próximo",last:"Último",first:"Primeiro",previous:"Anterior",loadingOoo:"Carregar",selectAll:"Selecionar tudo",searchOoo:"Procurar",blanks:"Vazio",filterOoo:"Filtrar",applyFilter:"Aplicar filtro",equals:"Igual",lessThan:"Menor que",greaterThan:"Maior que",contains:"Contém",startsWith:"Começa com",endsWith:"Termina com",group:"Grupo",columns:"Colunas",rowGroupColumns:"Colunas do grupo de linhas",rowGroupColumnsEmptyMessage:"Colunas do grupo de linhas vazias",valueColumns:"Valores das colunas",pivotMode:"Modo pivô",groups:"Grupos",values:"Valores",pivots:"Pivôs",valueColumnsEmptyMessage:"Valores de colunas vazias",pivotColumnsEmptyMessage:"Pivôs de colunas vazias",toolPanelButton:"Botão de painel de ferramentas",noRowsToShow:"Não há registros para mostrar.",valueAggregation:"Agregar valor",autosizeThiscolumn:"Redimensionar esta coluna",autosizeAllColumns:"Redimensionar todas colunas",groupBy:"Agrupar por",ungroupBy:"Desagrupar por",resetColumns:"Resetar colunas",expandAll:"Expandir tudo",collapseAll:"Contrair tudo",toolPanel:"Painel de ferramentas",export:"Exportar",csvExport:"Exportar para CSV",excelExport:"Exportar para Excel",pinLeft:"Fixar coluna",pinRight:"Fixar a direita",noPin:"Desfixar coluna",sum:"Soma",min:"Mínimo",max:"Máximo",none:"Nenhum",count:"Contagem",average:"Média",copy:"Copiar",copyWithHeaders:"Copiar com cabeçalho",copyWithGroupHeaders:"Copiar com cabeçalhos de grupo",ctrlC:"Ctrl+C",paste:"Colar",ctrlV:"Ctrl+V",labelSearchColumn:"Buscar colunas (Ctrl+F)"},"ez-guide-navigator":{searchGuide:"Buscar guia",hideMenu:"Ocultar menu"},"ez-list":{moveToGroup:"Mover para {{groupName}}"},"ez-modal":{close:"Fechar modal"},"ez-multi-selection-list":{selectAll:"Selecionar todos",search:"Buscar...",empty:"(Vazio)",initMessage:"Selecione os valores a serem filtrados através do campo de busca.",emptyResults:"Nenhum resultado encontrado."},"ez-number-input":{invalidNumber:"O valor digitado não é um número válido"},"ez-pagination":{previousPage:"Página anterior",nextPage:"Próxima página"},"ez-rich-text":{listShortcut:"Aplica estilo de lista ao texto selecionado.",linkShortcut:"Abre popup de link.",imageShortcut:"Abre popup de imagem.",boldShortcut:"Aplica estilo negrito ao texto selecionado.",italicShortcut:"Aplica estilo itálico ao texto selecionado.",underlineShortcut:"Aplica estilo sublinhado ao texto selecionado.",breakLineShortcut:"Aplica quebra de linha.",undoShortcut:"Desfaz a última alteração de texto.",redoShortcut:"Refaz a última alteração de texto.",edit:"Editar",preview:"Pré-visualizar",title:{preview:"Ctrl + P",edit:"Ir para modo edição",undo:"Desfazer (Ctrl + Z)",redo:"Refazer (Ctrl + X)",link:"Inserir link (Ctrl + K)",image:"Inserir imagem (Ctrl + O)",list:"Lista (Ctrl + L)",underline:"Sublinhado (Ctrl + U)",italic:"Itálico (Ctrl + I)",bold:"Negrito (Ctrl + B)"}},"ez-link-builder":{addLinkTitle:"Adicionar link",addLinkSubtitle:"Insira um link no texto para abrir novas páginas.",submit:"Enviar",urlInputLabel:"Insira a URL destino",textInputLabel:"Insira o texto a ser exibido",openInNewPage:"Abrir em uma nova página."},"ez-simple-image-uploader":{uploadTitle:"Upload de imagens",uploadSubtitle:"Envie seus arquivos preenchendo apenas 1 campo por vez.",submit:"Enviar",tooltipMessage:"O arquivo selecionado abaixo será priorizado!",urlInputLabel:"Insira a URL da imagem",orText:"OU",removeFile:"Remover arquivo",dragDropText:"Arraste e solte ou clique para adicionar arquivos",imageAlt:"Imagem",imageTooLarge:"A imagem deve ter menos de {{maxSize}}."},"ez-search":{emptyList:"Nenhum resultado encontrado",emptySearch:"Nenhum resultado de {{field}} encontrado",showMore:"Mostrar mais"},"ez-search-plus":{emptyList:"Nenhum resultado encontrado",optionLoaderNotDefined:"optionLoader não definido",defaultCodeLabel:"Cód."},"ez-sortable-list":{emptyMessage:"Nenhum item na lista",entityLabel:"item",entityLabelPlural:"itens",total:"Total de",search:"Buscar"},"ez-split-button":{moreOptions:"Mais opções"},"ez-text-edit":{emptyFieldWarning:"Não é possível salvar um campo em branco."},"ez-time-input":{invalidTime:"Favor inserir um horário válido."},"ez-sidebar":{unPinMenu:"Desafixar menu",pushPinMenu:"Fixar menu",hideMenu:"Recolher menu"},"ez-form":{mainTab:"Principal",labelSearchField:"Buscar campos (Ctrl+F)"},utils:{requiredFieldMessage:"Há pelo menos um campo obrigatório não preenchido.",requiredField:"Essa informação é obrigatória.",selectAllPage:"Selecionar apenas a página atual",loadingAllRecords:"Carregando todos os {{count}} registros",selectAllRecords:"Selecionar todos os {{total}} registros",waitForLoad:"Aguarde o carregamento para selecionar o registro de todas as páginas",allRecordsSelected:"Todos os <strong>{{selectionCount}} registros</strong> da grade estão selecionados.",selectedRecords:"Há <strong>{{selectionCount}} registro{{plural}}</strong> selecionado{{plural}} na grade."},spinner:{loading:"Carregando..."}}},[be.EN_US]:{translation:{app:{collapse:"Collapse",expand:"Expand",close:"Close",profile:"Profile",warning:"Warning",edit:"Edit",remove:"Remove",yes:"Yes",no:"No",loading:"Loading",apply:"Apply",cancel:"Cancel",confirm:"Confirm",ok:"OK",alerts:"Alerts",requiredInfo:" (required) *"},"ez-upload":{enable:"Drag and drop or click to add files",disable:"Read only",replaceFileTitle:"Replace file",replaceFileMessage:'A file named "{{fileName}}" already exists. Do you want to replace it?',maxFilesError:"The maximum number of files is {{maxFiles}}.",emptyFileError:'Permission error: The file "{{fileName}}" cannot be uploaded.',missingUploadUrlError:"Upload URL not provided.",maxFileSizeError:"The maximum file size is {{maxSize}}.",uploadErrorTitle:"Uploading file",uploadingMessage:"Files are being uploaded. Please wait for completion or cancel the upload."},"ez-calendar":{month:{0:"January",1:"February",2:"March",3:"April",4:"May",5:"June",6:"July",7:"August",8:"September",9:"October",10:"November",11:"December"},weekDay:{0:"S",1:"M",2:"T",3:"W",4:"T",5:"F",6:"S"},today:"Today"},"ez-collapsible-box":{confirmRemove:"Do you really want to remove the group <b>{{label}}</b>?"},"ez-combo-box":{placeholder:"Select an item",noResults:"No results found"},"ez-classic-combo-box":{emptyOption:"Select an item",noResults:"No results found"},"ez-date-time-input":{invalidDate:"The entered value is not a valid date and time"},"ez-date-input":{invalidDate:"The entered value is not a valid date"},"ez-dialog":{confirmButton:"Confirm or OK button",closeButton:"Close or X button"},"ez-double-list":{noItemsAvailable:"No {{entity}} available",noItemsSelected:"No {{entity}} selected",moveAllTo:"Move all to {{list}}",moveTo:"Move to {{list}}",moveToFirstPosition:"Move to the first position",moveUp:"Move up",moveDown:"Move down",moveToLastPosition:"Move to the last position"},"ez-file-item":{invalidProgress:"The upload progress must be a number between 0 and 100."},"ez-grid":{filterAppliedSuccess:"Column filter applied successfully!",cancelPagination:"Cancel pagination",pageLabel:"Page {{currentPage}}",previousPage:"Previous page",nextPage:"Next page",returnToPreviousPage:"Return to the previous page.",goToNextPage:"Move to the next page.",remainingPageLabel:" from {{count}} or more",remainingTotalLabel:" from {{total}}",nextRecord:"Move to the next record.",previousRecord:"Return to the previous record.",searchColumn:"Search by column.",sortAscending:"Sort Ascending",sortDescending:"Sort Descending",pinColumn:"Pin column",unpinColumn:"Unpin column",filter:"Filter",columnCantBeOrder:"Column cannot be sorted",filterColumnHeader:"Filter for column {{columnLabel}}",clearSelection:"Clear Selection",page:"Page",more:"more",to:"to",of:"of",next:"Next",last:"Last",first:"First",previous:"Previous",loadingOoo:"Loading",selectAll:"Select all",searchOoo:"Search",blanks:"Blanks",filterOoo:"Filter",applyFilter:"Apply filter",equals:"Equals",lessThan:"Less than",greaterThan:"Greater than",contains:"Contains",startsWith:"Starts with",endsWith:"Ends with",group:"Group",columns:"Columns",rowGroupColumns:"Row group columns",rowGroupColumnsEmptyMessage:"Row group columns empty",valueColumns:"Value columns",pivotMode:"Pivot mode",groups:"Groups",values:"Values",pivots:"Pivots",valueColumnsEmptyMessage:"Value columns empty",pivotColumnsEmptyMessage:"Pivot columns empty",toolPanelButton:"Tool panel button",noRowsToShow:"No rows to show.",valueAggregation:"Aggregate value",autosizeThiscolumn:"Autosize this column",autosizeAllColumns:"Autosize all columns",groupBy:"Group by",ungroupBy:"Ungroup by",resetColumns:"Reset columns",expandAll:"Expand all",collapseAll:"Collapse all",toolPanel:"Tool panel",export:"Export",csvExport:"Export to CSV",excelExport:"Export to Excel",pinLeft:"Pin left",pinRight:"Pin right",noPin:"Unpin column",sum:"Sum",min:"Min",max:"Max",none:"None",count:"Count",average:"Average",copy:"Copy",copyWithHeaders:"Copy with headers",copyWithGroupHeaders:"Copy with group headers",ctrlC:"Ctrl+C",paste:"Paste",ctrlV:"Ctrl+V",labelSearchColumn:"Search columns (Ctrl+F)"},"ez-guide-navigator":{searchGuide:"Search guide",hideMenu:"Hide menu"},"ez-list":{moveToGroup:"Move to {{groupName}}"},"ez-modal":{close:"Close modal"},"ez-multi-selection-list":{selectAll:"Select all",search:"Search...",empty:"(Empty)",initMessage:"Select the values to be filtered through the search field.",emptyResults:"No results found."},"ez-number-input":{invalidNumber:"The entered value is not a valid number"},"ez-pagination":{previousPage:"Previous page",nextPage:"Next page"},"ez-rich-text":{listShortcut:"Applies list style to the selected text.",linkShortcut:"Opens link popup.",imageShortcut:"Opens image popup.",boldShortcut:"Applies bold style to the selected text.",italicShortcut:"Applies italic style to the selected text.",underlineShortcut:"Applies underline style to the selected text.",breakLineShortcut:"Applies line break.",undoShortcut:"Undoes the last text change.",redoShortcut:"Redoes the last text change.",edit:"Edit",preview:"Preview",title:{preview:"Ctrl + P",edit:"Switch to edit mode",undo:"Undo (Ctrl + Z)",redo:"Redo (Ctrl + X)",link:"Insert link (Ctrl + K)",image:"Insert image (Ctrl + O)",list:"List (Ctrl + L)",underline:"Underline (Ctrl + U)",italic:"Italic (Ctrl + I)",bold:"Bold (Ctrl + B)"}},"ez-link-builder":{addLinkTitle:"Add link",addLinkSubtitle:"Insert a link into the text to open new pages.",submit:"Submit",urlInputLabel:"Enter the destination URL",textInputLabel:"Enter the text to display",openInNewPage:"Open in a new page."},"ez-simple-image-uploader":{uploadTitle:"Image Upload",uploadSubtitle:"Upload your files by filling only 1 field at a time.",submit:"Submit",tooltipMessage:"The selected file below will be prioritized!",urlInputLabel:"Enter the image URL",orText:"OR",removeFile:"Remove file",dragDropText:"Drag and drop or click to add files",imageAlt:"Image",imageTooLarge:"The image must be smaller than {{maxSize}}."},"ez-search":{emptyList:"No results found",emptySearch:"No results for {{field}} found",showMore:"Show more"},"ez-search-plus":{emptyList:"No results found",optionLoaderNotDefined:"optionLoader not defined",defaultCodeLabel:"Code"},"ez-sortable-list":{emptyMessage:"No items in the list",entityLabel:"item",entityLabelPlural:"items",total:"Total of",search:"Search"},"ez-split-button":{moreOptions:"More options"},"ez-text-edit":{emptyFieldWarning:"It is not possible to save an empty field."},"ez-time-input":{invalidTime:"Please enter a valid time."},"ez-sidebar":{unPinMenu:"Unpin menu",pushPinMenu:"Pin menu",hideMenu:"Hide menu"},"ez-form":{mainTab:"Main",labelSearchField:"Search fields (Ctrl+F)"},utils:{requiredFieldMessage:"There is at least one required field not filled.",requiredField:"This information is required.",selectAllPage:"Select only the current page",loadingAllRecords:"Loading all {{count}} records",selectAllRecords:"Select all {{total}} records",waitForLoad:"Wait for loading to select records from all pages",allRecordsSelected:"All <strong>{{selectionCount}} records</strong> in the grid are selected.",selectedRecords:"There <strong>{{selectionCount}} record{{plural}}</strong> selected in the grid."},spinner:{loading:"Loading..."}}},[be.ES_ES]:{translation:{app:{collapse:"Colapsar",expand:"Expandir",close:"Cerrar",profile:"Perfil",warning:"Aviso",edit:"Editar",remove:"Eliminar",yes:"Sí",no:"No",loading:"Cargando",apply:"Aplicar",cancel:"Cancelar",confirm:"Confirmar",ok:"OK",alerts:"Avisos",requiredInfo:" (obligatorio) *"},"ez-upload":{enable:"Arrastra y suelta o haz clic para subir archivos",disable:"Solo lectura",replaceFileTitle:"Reemplazar archivo",replaceFileMessage:'Ya existe un archivo llamado "{{fileName}}". ¿Desea reemplazarlo?',maxFilesError:"La cantidad máxima de archivos es {{maxFiles}}.",emptyFileError:'Error de permiso: El archivo "{{fileName}}" no puede ser enviado.',missingUploadUrlError:"Dirección de carga no informada.",maxFileSizeError:"El tamaño máximo de los archivos es de {{maxSize}}.",uploadErrorTitle:"Subiendo archivo",uploadingMessage:"Se están subiendo archivos. Por favor, espere a que se complete o cancele la subida."},"ez-calendar":{month:{0:"Enero",1:"Febrero",2:"Marzo",3:"Abril",4:"Mayo",5:"Junio",6:"Julio",7:"Agosto",8:"Septiembre",9:"Octubre",10:"Noviembre",11:"Diciembre"},weekDay:{0:"D",1:"L",2:"M",3:"M",4:"J",5:"V",6:"S"},today:"Hoy"},"ez-collapsible-box":{confirmRemove:"¿Realmente desea eliminar el grupo <b>{{label}}</b>?"},"ez-combo-box":{placeholder:"Seleccione un elemento",noResults:"No se encontraron resultados"},"ez-classic-combo-box":{emptyOption:"Seleccione un elemento",noResults:"No se encontraron resultados"},"ez-date-time-input":{invalidDate:"El valor ingresado no es una fecha y hora válida"},"ez-date-input":{invalidDate:"El valor ingresado no es una fecha válida"},"ez-dialog":{confirmButton:"Botón de confirmación o OK",closeButton:"Botón de cerrar o X"},"ez-double-list":{noItemsAvailable:"No hay {{entity}} disponible",noItemsSelected:"No hay {{entity}} seleccionado",moveAllTo:"Mover todos a {{list}}",moveTo:"Mover a {{list}}",moveToFirstPosition:"Mover a la primera posición",moveUp:"Mover hacia arriba",moveDown:"Mover hacia abajo",moveToLastPosition:"Mover a la última posición"},"ez-file-item":{invalidProgress:"El progreso de carga debe ser un número entre 0 y 100."},"ez-grid":{filterAppliedSuccess:"¡Filtro de columna aplicado con éxito!",cancelPagination:"Cancelar paginación",pageLabel:"Página {{currentPage}}",previousPage:"Página anterior",nextPage:"Página siguiente",returnToPreviousPage:"Volver a la página anterior.",goToNextPage:"Avanzar a la página siguiente.",remainingPageLabel:" de {{count}} o más",remainingTotalLabel:" de {{total}}",nextRecord:"Avanzar al siguiente registro.",previousRecord:"Volver al registro anterior.",searchColumn:"Buscar por columna.",sortAscending:"Ordenar Ascendente",sortDescending:"Ordenar Descendente",pinColumn:"Fijar columna",unpinColumn:"Desafijar columna",filter:"Filtrar",columnCantBeOrder:"La columna no se puede ordenar",filterColumnHeader:"Filtro de la columna {{columnLabel}}",clearSelection:"Limpiar Selección",page:"Página",more:"más",to:"a",of:"de",next:"Siguiente",last:"Último",first:"Primero",previous:"Anterior",loadingOoo:"Cargando",selectAll:"Seleccionar todo",searchOoo:"Buscar",blanks:"Vacío",filterOoo:"Filtrar",applyFilter:"Aplicar filtro",equals:"Igual",lessThan:"Menor que",greaterThan:"Mayor que",contains:"Contiene",startsWith:"Empieza con",endsWith:"Termina con",group:"Grupo",columns:"Columnas",rowGroupColumns:"Columnas del grupo de filas",rowGroupColumnsEmptyMessage:"Columnas del grupo de filas vacías",valueColumns:"Valores de las columnas",pivotMode:"Modo pivote",groups:"Grupos",values:"Valores",pivots:"Pivotes",valueColumnsEmptyMessage:"Valores de columnas vacías",pivotColumnsEmptyMessage:"Pivotes de columnas vacías",toolPanelButton:"Botón del panel de herramientas",noRowsToShow:"No hay registros para mostrar.",valueAggregation:"Agregar valor",autosizeThiscolumn:"Redimensionar esta columna",autosizeAllColumns:"Redimensionar todas las columnas",groupBy:"Agrupar por",ungroupBy:"Desagrupar por",resetColumns:"Restablecer columnas",expandAll:"Expandir todo",collapseAll:"Contraer todo",toolPanel:"Panel de herramientas",export:"Exportar",csvExport:"Exportar a CSV",excelExport:"Exportar a Excel",pinLeft:"Fijar a la izquierda",pinRight:"Fijar a la derecha",noPin:"Desfijar columna",sum:"Suma",min:"Mínimo",max:"Máximo",none:"Ninguno",count:"Conteo",average:"Promedio",copy:"Copiar",copyWithHeaders:"Copiar con encabezados",copyWithGroupHeaders:"Copiar con encabezados de grupo",ctrlC:"Ctrl+C",paste:"Pegar",ctrlV:"Ctrl+V",labelSearchColumn:"Buscar columnas (Ctrl+F)"},"ez-guide-navigator":{searchGuide:"Buscar guía",hideMenu:"Ocultar menú"},"ez-list":{moveToGroup:"Mover a {{groupName}}"},"ez-modal":{close:"Cerrar modal"},"ez-multi-selection-list":{selectAll:"Seleccionar todos",search:"Buscar...",empty:"(Vacío)",initMessage:"Seleccione los valores a filtrar a través del campo de búsqueda.",emptyResults:"No se encontraron resultados."},"ez-number-input":{invalidNumber:"El valor ingresado no es un número válido"},"ez-pagination":{previousPage:"Página anterior",nextPage:"Página siguiente"},"ez-rich-text":{listShortcut:"Aplica estilo de lista al texto seleccionado.",linkShortcut:"Abre popup de enlace.",imageShortcut:"Abre popup de imagen.",boldShortcut:"Aplica estilo negrita al texto seleccionado.",italicShortcut:"Aplica estilo cursiva al texto seleccionado.",underlineShortcut:"Aplica estilo subrayado al texto seleccionado.",breakLineShortcut:"Aplica salto de línea.",undoShortcut:"Deshace el último cambio de texto.",redoShortcut:"Rehace el último cambio de texto.",edit:"Editar",preview:"Previsualizar",title:{preview:"Ctrl + P",edit:"Ir al modo de edición",undo:"Deshacer (Ctrl + Z)",redo:"Rehacer (Ctrl + X)",link:"Insertar enlace (Ctrl + K)",image:"Insertar imagen (Ctrl + O)",list:"Lista (Ctrl + L)",underline:"Subrayado (Ctrl + U)",italic:"Cursiva (Ctrl + I)",bold:"Negrita (Ctrl + B)"}},"ez-link-builder":{addLinkTitle:"Agregar enlace",addLinkSubtitle:"Inserte un enlace en el texto para abrir nuevas páginas.",submit:"Enviar",urlInputLabel:"Ingrese la URL de destino",textInputLabel:"Ingrese el texto a mostrar",openInNewPage:"Abrir en una nueva página."},"ez-simple-image-uploader":{uploadTitle:"Subida de imágenes",uploadSubtitle:"Sube tus archivos llenando solo 1 campo a la vez.",submit:"Enviar",tooltipMessage:"¡El archivo seleccionado a continuación será priorizado!",urlInputLabel:"Ingrese la URL de la imagen",orText:"O",removeFile:"Eliminar archivo",dragDropText:"Arrastra y suelta o haz clic para agregar archivos",imageAlt:"Imagen",imageTooLarge:"La imagen debe tener menos de {{maxSize}}."},"ez-search":{emptyList:"No se encontraron resultados",emptySearch:"No se encontraron resultados de {{field}}",showMore:"Mostrar más"},"ez-search-plus":{emptyList:"No se encontraron resultados",optionLoaderNotDefined:"optionLoader no definido",defaultCodeLabel:"Cód."},"ez-sortable-list":{emptyMessage:"No hay elementos en la lista",entityLabel:"elemento",entityLabelPlural:"elementos",total:"Total de",search:"Buscar"},"ez-split-button":{moreOptions:"Más opciones"},"ez-text-edit":{emptyFieldWarning:"No es posible guardar un campo vacío."},"ez-time-input":{invalidTime:"Por favor, ingrese una hora válida."},"ez-sidebar":{unPinMenu:"Desanclar menú",pushPinMenu:"Anclar menú",hideMenu:"Ocultar menú"},"ez-form":{mainTab:"Principal",labelSearchField:"Buscar campos (Ctrl+F)"},utils:{requiredFieldMessage:"Hay al menos un campo obligatorio sin completar.",requiredField:"Esta información es obligatoria.",selectAllPage:"Seleccionar solo la página actual",loadingAllRecords:"Cargando todos los {{count}} registros",selectAllRecords:"Seleccionar todos los {{total}} registros",waitForLoad:"Espere a que se carguen para seleccionar los registros de todas las páginas",allRecordsSelected:"Todos los <strong>{{selectionCount}} registros</strong> en la cuadrícula están seleccionados.",selectedRecords:"Hay <strong>{{selectionCount}} registro{{plural}}</strong> seleccionado{{plural}} en la cuadrícula."},spinner:{loading:"Cargando..."}}}},Se="__EZ_UI_I18N_INSTANCE__";function we(){return e.getContextValue(Se)}const Ce=async i=>{let o=we();if(!o){const s=W.createInstance(),r={resources:xe,fallbackLng:be.PT_BR};await s.use(ye).init(r);const a=t.getLanguage(),n=null!=i?i:a;await s.changeLanguage(n),e.setContextValue(Se,s.t),o=s.t}return o};export{we as g,Ce as i}
@@ -1 +1 @@
1
- import{r as e,c as i,h as a,H as t,g as r}from"./p-23a36bb6.js";import{ElementIDUtils as s}from"@sankhyalabs/core";import{E as n}from"./p-98bb8b16.js";import{i as o}from"./p-a61fdd20.js";const d=class{constructor(a){e(this,a),this.ezSelectionChange=i(this,"ezSelectionChange",7),this.open=!0,this.selectedId=void 0,this.items=[],this.tooltipResolver=void 0,this.filterText=""}async disableItem(e){[].concat(e).forEach((e=>this._tree.disableItem(e)))}async openGuideNavidator(){this.open=!0}async enableItem(e){[].concat(e).forEach((e=>this._tree.enableItem(e)))}async updateItem(e){[].concat(e).forEach((e=>this._tree.updateItem(e)))}async getItem(e){return this._tree.getItem(e)}async getCurrentPath(){var e;return null===(e=this._tree)||void 0===e?void 0:e.getCurrentPath()}async selectGuide(e){null!=this._tree&&null!=e&&(this._tree.selectItem(e),this.getCurrentPath().then((e=>{null==e||e.forEach((e=>{this._tree.openItem(e.id)}))})))}async getParent(e){return this._tree.getParent(e)}async componentWillLoad(){this.i18n=await o()}async handleToggleSidebar(){this.open=!this.open}handleFilterTree(e){"Enter"===e.key&&this._tree.applyFilter(this.filterText)}onFilterChanged(e){this.filterText=e.detail,e.stopPropagation()}render(){return s.addIDInfoIfNotExists(this._element),a(t,null,a("ez-sidebar-button",{class:this.open?"hidden":"",onEzClick:this.handleToggleSidebar.bind(this),"aria-controls":"navigator","aria-expanded":this.open,"data-element-id":s.getInternalIDInfo("openButton")}),a("aside",{tabIndex:-1,id:"navigator",class:"ez-col ez-col--sd-12 ez-col--tb-3 ez-guide-navigator "+(this.open?"":"hidden"),"data-element-id":s.getInternalIDInfo("sidebar")},a("div",{role:"search",class:"ez-guide-navigator__actions"},a("ez-filter-input",{mode:"slim",value:this.filterText,onEzChange:e=>this.onFilterChanged(e),label:this.i18n("ez-guide-navigator.searchGuide"),"aria-placeholder":this.i18n("ez-guide-navigator.searchGuide"),onKeyUp:this.handleFilterTree.bind(this),"data-element-id":s.getInternalIDInfo("textinput")}),a("ez-button",{onClick:this.handleToggleSidebar.bind(this),class:"inverted",mode:"icon",size:"small",iconName:"show_menu",title:this.i18n("ez-guide-navigator.hideMenu"),"aria-label":this.i18n("ez-guide-navigator.hideMenu"),"aria-controls":"navigator","data-element-id":s.getInternalIDInfo("closeButton")})),a("ez-scroller",{direction:n.VERTICAL,activeShadow:!0},a("ez-tree",{ref:e=>this._tree=e,items:this.items,"data-element-id":s.getInternalIDInfo("tree"),tooltipResolver:this.tooltipResolver,onEzChange:e=>this.ezSelectionChange.emit(e.detail),selectedId:this.selectedId}))))}get _element(){return r(this)}};d.style=":host{--ez-guide-navigator--padding-left:var(--space--large);--ez-guide-navigator--padding-right:var(--space--small);--ez-guide-navigator--box-shadow:var(--shadow, 0px 0px 24px 0px #000);--ez-guide-navigator--background-color:var(--color--inverted);--ez-guide-navigator--border-radius:0px var(--border--radius-medium) var(--border--radius-medium) 0px;--ez-guide-navigator--actions-gap:var(--space--medium);--ez-guide-navigator--actions-margin:var(--space--large) 0 var(--space--medium);--ez-guide-navigator--actions-padding-right:calc(var(--space--medium, 12px) + var(--space--small, 6px))}.inverted{transform:rotate(180deg)}.ez-guide-navigator{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100%;padding-left:var(--ez-guide-navigator--padding-left);padding-right:var(--ez-guide-navigator--padding-right);background-color:var(--ez-guide-navigator--background-color);-webkit-box-shadow:var(--ez-guide-navigator--box-shadow);box-shadow:var(--ez-guide-navigator--box-shadow);border-radius:var(--ez-guide-navigator--border-radius)}.ez-guide-navigator__actions{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:var(--ez-guide-navigator--actions-gap);margin:var(--ez-guide-navigator--actions-margin);padding-right:var(--ez-guide-navigator--actions-padding-right)}.hidden{display:none}";export{d as ez_guide_navigator}
1
+ import{r as e,c as i,h as a,H as t,g as r}from"./p-23a36bb6.js";import{ElementIDUtils as s}from"@sankhyalabs/core";import{E as n}from"./p-98bb8b16.js";import{i as o}from"./p-641ee538.js";const d=class{constructor(a){e(this,a),this.ezSelectionChange=i(this,"ezSelectionChange",7),this.open=!0,this.selectedId=void 0,this.items=[],this.tooltipResolver=void 0,this.filterText=""}async disableItem(e){[].concat(e).forEach((e=>this._tree.disableItem(e)))}async openGuideNavidator(){this.open=!0}async enableItem(e){[].concat(e).forEach((e=>this._tree.enableItem(e)))}async updateItem(e){[].concat(e).forEach((e=>this._tree.updateItem(e)))}async getItem(e){return this._tree.getItem(e)}async getCurrentPath(){var e;return null===(e=this._tree)||void 0===e?void 0:e.getCurrentPath()}async selectGuide(e){null!=this._tree&&null!=e&&(this._tree.selectItem(e),this.getCurrentPath().then((e=>{null==e||e.forEach((e=>{this._tree.openItem(e.id)}))})))}async getParent(e){return this._tree.getParent(e)}async componentWillLoad(){this.i18n=await o()}async handleToggleSidebar(){this.open=!this.open}handleFilterTree(e){"Enter"===e.key&&this._tree.applyFilter(this.filterText)}onFilterChanged(e){this.filterText=e.detail,e.stopPropagation()}render(){return s.addIDInfoIfNotExists(this._element),a(t,null,a("ez-sidebar-button",{class:this.open?"hidden":"",onEzClick:this.handleToggleSidebar.bind(this),"aria-controls":"navigator","aria-expanded":this.open,"data-element-id":s.getInternalIDInfo("openButton")}),a("aside",{tabIndex:-1,id:"navigator",class:"ez-col ez-col--sd-12 ez-col--tb-3 ez-guide-navigator "+(this.open?"":"hidden"),"data-element-id":s.getInternalIDInfo("sidebar")},a("div",{role:"search",class:"ez-guide-navigator__actions"},a("ez-filter-input",{mode:"slim",value:this.filterText,onEzChange:e=>this.onFilterChanged(e),label:this.i18n("ez-guide-navigator.searchGuide"),"aria-placeholder":this.i18n("ez-guide-navigator.searchGuide"),onKeyUp:this.handleFilterTree.bind(this),"data-element-id":s.getInternalIDInfo("textinput")}),a("ez-button",{onClick:this.handleToggleSidebar.bind(this),class:"inverted",mode:"icon",size:"small",iconName:"show_menu",title:this.i18n("ez-guide-navigator.hideMenu"),"aria-label":this.i18n("ez-guide-navigator.hideMenu"),"aria-controls":"navigator","data-element-id":s.getInternalIDInfo("closeButton")})),a("ez-scroller",{direction:n.VERTICAL,activeShadow:!0},a("ez-tree",{ref:e=>this._tree=e,items:this.items,"data-element-id":s.getInternalIDInfo("tree"),tooltipResolver:this.tooltipResolver,onEzChange:e=>this.ezSelectionChange.emit(e.detail),selectedId:this.selectedId}))))}get _element(){return r(this)}};d.style=":host{--ez-guide-navigator--padding-left:var(--space--large);--ez-guide-navigator--padding-right:var(--space--small);--ez-guide-navigator--box-shadow:var(--shadow, 0px 0px 24px 0px #000);--ez-guide-navigator--background-color:var(--color--inverted);--ez-guide-navigator--border-radius:0px var(--border--radius-medium) var(--border--radius-medium) 0px;--ez-guide-navigator--actions-gap:var(--space--medium);--ez-guide-navigator--actions-margin:var(--space--large) 0 var(--space--medium);--ez-guide-navigator--actions-padding-right:calc(var(--space--medium, 12px) + var(--space--small, 6px))}.inverted{transform:rotate(180deg)}.ez-guide-navigator{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100%;padding-left:var(--ez-guide-navigator--padding-left);padding-right:var(--ez-guide-navigator--padding-right);background-color:var(--ez-guide-navigator--background-color);-webkit-box-shadow:var(--ez-guide-navigator--box-shadow);box-shadow:var(--ez-guide-navigator--box-shadow);border-radius:var(--ez-guide-navigator--border-radius)}.ez-guide-navigator__actions{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:var(--ez-guide-navigator--actions-gap);margin:var(--ez-guide-navigator--actions-margin);padding-right:var(--ez-guide-navigator--actions-padding-right)}.hidden{display:none}";export{d as ez_guide_navigator}
@@ -1 +1 @@
1
- import{r as a,c as e,f as r,h as t,g as l}from"./p-23a36bb6.js";import{FloatingManager as i}from"@sankhyalabs/core";import{i as s}from"./p-a61fdd20.js";const n=class{constructor(r){a(this,r),this.ezChange=e(this,"ezChange",7),this._firstRender=!0,this._hoursLabel=["00","01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23"],this._minutosLabel=["00","01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","41","42","43","44","45","46","47","48","49","50","51","52","53","54","55","56","57","58","59"],this.value=new Date,this.floating=!1,this.time=!1,this.showSeconds=!1}async show(a,e,r,t){this.floating&&(this._floatingID=i.float(this._box,this._container,{isFixed:this.isFixed(),autoClose:!0,top:a,left:e,bottom:r,right:t}),this.isFixed()||(window.requestAnimationFrame((()=>{this._box.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})})),this.scroll()))}async fitVertical(a,e){const r=this._container.getBoundingClientRect().bottom+this._calendarHeight;(window.innerHeight||document.documentElement.clientHeight)>r?this.show(a+"px",void 0,"unset"):this.show("unset",void 0,e+"px")}async fitHorizontal(a){const e=this._container.getBoundingClientRect().right+this._calendarWidth;(window.innerWidth||document.documentElement.clientWidth)>e||this.show(void 0,"unset",void 0,a+"px")}async hide(){void 0!==this._floatingID&&(i.close(this._floatingID),this._floatingID=void 0)}observeValue(){this.value&&(this._currentPosition.setTime(this.value.getTime()),this._currentPosition.setDate(1))}scrollListener(){this.floating&&this.isFixed()&&this.hide()}isFixed(){return"true"===this._hostElem.dataset.isFixed}getMonthLabel(){return this.i18n(`ez-calendar.month.${this._currentPosition.getMonth()}`)+" "+this._currentPosition.getFullYear()}isSelectedDate(a){return!!this.value&&this.value.getDate()==a.getDate()&&this.value.getMonth()==a.getMonth()&&this.value.getFullYear()==a.getFullYear()}changeMonth(a){this._currentPosition.setMonth(this._currentPosition.getMonth()+a),r(this)}selectDate(a){let e=a;this.value&&(this.time||this.showSeconds)&&(e.setHours(this.value.getHours()),e.setMinutes(this.value.getMinutes()),e.setSeconds(this.showSeconds?this.value.getSeconds():0)),this.value=e,this.ezChange.emit(this.value)}selectHours(a){this.value||(this.value=new Date),this.value=new Date(this.value.getFullYear(),this.value.getMonth(),this.value.getDate(),a,this.value.getMinutes(),this.value.getSeconds()),this.ezChange.emit(this.value)}selectMinutes(a){this.value||(this.value=new Date),this.value=new Date(this.value.getFullYear(),this.value.getMonth(),this.value.getDate(),this.value.getHours(),a,this.value.getSeconds()),this.ezChange.emit(this.value)}selectSeconds(a){this.value||(this.value=new Date),this.value=new Date(this.value.getFullYear(),this.value.getMonth(),this.value.getDate(),this.value.getHours(),this.value.getMinutes(),a),this.ezChange.emit(this.value)}updateScroll(a){if(a){const{scrollHeight:e,clientHeight:r,scrollTop:t}=a;e-r-Math.ceil(t)>0?a.classList.add("endHidden"):a.classList.remove("endHidden")}}async componentWillLoad(){this.i18n=await s()}componentDidRender(){this.floating&&this._firstRender&&(this._calendarHeight=this._box.clientHeight,this._calendarWidth=this._box.clientWidth,this._box.remove(),this._firstRender=!1),this.updateScroll(this._hoursScroll),this.updateScroll(this._minutesScroll),this.updateScroll(this._secondsScroll)}componentDidLoad(){this.scroll()}scroll(){(this.time||this.showSeconds)&&(this._hoursScroll.scrollTop=this._hoursSelect.offsetTop-64,this._minutesScroll.scrollTop=this._minutesSelect.offsetTop-64,this.updateScroll(this._hoursScroll),this.updateScroll(this._minutesScroll),this.showSeconds&&(this._secondsScroll.scrollTop=this._secondsSelect.offsetTop-64,this.updateScroll(this._secondsScroll)))}render(){null==this._currentPosition&&(this._currentPosition=new Date,this.value&&this._currentPosition.setTime(this.value.getTime()),this._currentPosition.setDate(1));const a=new Date;return a.setTime(this._currentPosition.getTime()),a.setDate(1-a.getDay()),t("section",{ref:a=>this._container=a},t("div",{ref:a=>this._box=a,class:"calendar__container"},t("div",{class:"calendar"},t("div",{class:"calendar__header"},t("button",{class:"calendar__btn-previous",onClick:()=>this.changeMonth(-1)}),t("label",{class:"calendar__lbl-month"},this.getMonthLabel()),t("button",{class:"calendar__btn-next",onClick:()=>this.changeMonth(1)})),t("div",{class:"calendar__body"},t("div",{class:"calendar__line"},[...Array(7).keys()].map((a=>t("div",{"data-day":this.i18n(`ez-calendar.weekDay.${a}`),class:"calendar__cell calendar__cell--unselectable"},this.i18n(`ez-calendar.weekDay.${a}`))))),[0,7,14,21,28,35].map((e=>t("div",{class:"calendar__line"},[0,1,2,3,4,5,6].map((r=>{const l=new Date;l.setTime(a.getTime()),l.setDate(l.getDate()+e+r);let i=`${l.getMonth()+1}-${l.getDate()}-${l.getFullYear()}`,s="calendar__cell";return this._currentPosition.getMonth()!=l.getMonth()?s+=" calendar__cell--secondary":this.isSelectedDate(l)&&(s+=" calendar__cell--selected"),t("div",{"data-day-month":i,class:s,onClick:()=>this.selectDate(l)},l.getDate())})))))),t("div",{class:"calendar__footer"},t("button",{class:"calendar__btn-today",onClick:()=>this.selectDate(new Date)},this.i18n("ez-calendar.today")))),(this.time||this.showSeconds)&&t("div",{class:"calendar-time"},t("div",{class:"calendar-time__header"},t("div",null,"H"),t("div",{class:"separatorTime"},":"),t("div",null,"M"),this.showSeconds&&t("div",{class:"separatorTime"},":"),this.showSeconds&&t("div",null,"S")),t("div",{class:"calendar__body ",style:{display:"flex",paddingLeft:"12px",paddingRight:"12px"}},t("div",{class:"calendar__column",ref:a=>this._hoursScroll=a,onScroll:()=>this.updateScroll(this._hoursScroll)},this._hoursLabel.map(((a,e)=>e===this.value.getHours()?t("div",{style:{display:"flex"},ref:a=>this._hoursSelect=a},t("div",{"data-hour":a,class:"calendar__cell calendar__cell--selected",onClick:()=>this.selectHours(e)},a),t("div",{class:"separatorTime"},":")):t("div",{style:{display:"flex"}},t("div",{"data-hour":a,class:"calendar__cell",onClick:()=>this.selectHours(e)},a),t("div",{class:"separatorTime"},":"))))),t("div",{class:"calendar__column",ref:a=>this._minutesScroll=a,onScroll:()=>this.updateScroll(this._minutesScroll)},this._minutosLabel.map(((a,e)=>e===this.value.getMinutes()?t("div",{style:{display:"flex"},ref:a=>this._minutesSelect=a},t("div",{"data-minute":a,class:"calendar__cell calendar__cell--selected",onClick:()=>this.selectMinutes(e)},a),this.showSeconds&&t("div",{class:"separatorTime"},":")):t("div",{style:{display:"flex"}},t("div",{"data-minute":a,class:"calendar__cell",onClick:()=>this.selectMinutes(e)},a),this.showSeconds&&t("div",{class:"separatorTime"},":"))))),this.showSeconds&&t("div",{class:"calendar__column",ref:a=>this._secondsScroll=a,onScroll:()=>this.updateScroll(this._secondsScroll)},this._minutosLabel.map(((a,e)=>e===this.value.getSeconds()?t("div",{"data-second":a,class:"calendar__cell calendar__cell--selected",onClick:()=>this.selectSeconds(e),ref:a=>this._secondsSelect=a},a):t("div",{"data-second":a,class:"calendar__cell",onClick:()=>this.selectSeconds(e)},a))))))))}get _hostElem(){return l(this)}static get watchers(){return{value:["observeValue"]}}};n.style=':host{--ez-calendar--font-family:var(--font-pattern, Arial);--ez-calendar--color:var(--title--primary, #626e82);--ez-calendar--text-shadow:var(--text-shadow, 0 0 0 #353535, 0 0 1px transparent);--ez-calendar__body--background-color:var(--background--xlight, #FFF);--ez-calendar__time--background-color:var(--background--xlight, #FAFAFA);--ez-calendar__body--padding:var(--space--medium, 12px) var(--space--small, 6px);--ez-calendar__body--border-radius:var(--border--radius-medium, 12px);--ez-calendar__body--shadow:var(--shadow, 0px 0px 16px 0px #000);--ez-container--z-index:var(--more-visible, 2);--ez-calendar__header-line--stroke:1px;--ez-calendar__header-line--color:var(--color--strokes, #C0C0C0);--ez-calendar__nav-btn--fill:var(--text--primary, #008561);--ez-calendar__nav-btn--hover--fill:var(--color--primary, #350404);--ez-calendar__nav-btn--width:10px;--ez-calendar__nav-btn--height:16px;--ez-calendar__nav-btn--previous-image:url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="16px" width="10px"><path d="M 9.7808475,13.860393 3.9204526,8.0000004 9.7808475,2.0624965 7.9301965,0.28895552 0.21915255,8.0000004 7.9301965,15.711044 Z"/></svg>\');--ez-calendar__nav-btn--next-image:url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="16px" width="10px"><path d="M 0.21915251,13.860393 6.0795475,8.0000007 0.21915251,2.0624968 2.0698036,0.28895588 9.7808475,8.0000007 2.0698036,15.711044 Z"/></svg>\');--ez-calendar__cell--margin:0px 1.5px;--ez-calendar__cell--width:var(--space--large, 24px);--ez-calendar__cell--padding:1.5px 0px;--ez-calendar__cell--border-radius:var(--border--radius-small, 6px);--ez-calendar__cell--over--background-color:var(--color--primary, #E2F4EF);--ez-calendar__cell--over--color:var(--color--primary-300, #008561);--ez-calendar__cell--outset--color:var(--color--disable-primary, #E5EAF0);--ez-calendar__cell--selected--background-color:var(--color--primary, #008561);--ez-calendar__cell--selected--color:var(--color--inverted, #FFF);--ez-calendar__btn-today--color:var(--color--primary);--ez-calendar__btn-today--hover--background-color:var(--color--primary-300, #E2F4EF);--ez-calendar__btn-today--border-radius:var(--border--radius-small, 6px);position:relative;display:flex;user-select:none}.calendar__container{display:flex;z-index:var(--more-visible, 2)}.calendar{display:flex;flex-direction:column;z-index:var(--more-visible, 2);background-color:var(--ez-calendar__body--background-color);padding:var(--ez-calendar__body--padding);border-radius:var(--ez-calendar__body--border-radius);box-shadow:var(--ez-calendar__body--shadow)}.calendar__header{display:flex;justify-content:space-between;padding-bottom:var(--space--small, 6px);margin:0px var(--space--, 12px) var(--space--small, 6px) var(--space--, 12px);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow);border-bottom:solid var(--ez-calendar__header-line--stroke) var(--ez-calendar__header-line--color)}.calendar__btn-next,.calendar__btn-previous{outline:none;border:none;background-color:unset;cursor:pointer;padding:0px}.calendar__btn-next::after,.calendar__btn-previous::after{content:\'\';display:flex;background-color:var(--ez-calendar__nav-btn--fill);width:var(--ez-calendar__nav-btn--width);height:var(--ez-calendar__nav-btn--height)}.calendar__btn-previous::after{-webkit-mask-image:var(--ez-calendar__nav-btn--previous-image);mask-image:var(--ez-calendar__nav-btn--previous-image)}.calendar__btn-next::after{-webkit-mask-image:var(--ez-calendar__nav-btn--next-image);mask-image:var(--ez-calendar__nav-btn--next-image)}.calendar__btn-next:hover::after,.calendar__btn-previous:hover::after{background-color:var(--ez-calendar__nav-btn--hover--fill)}.calendar__lbl-month{font-weight:var(--text-weight--extra-large, 700);font-size:var(--title--small, 14px);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow)}.calendar__line{display:flex;padding:0px;margin:0px}.calendar__cell{display:flex;justify-content:center;align-content:center;cursor:pointer;font-size:var(--text--extra-small, 10px);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow);padding:var(--ez-calendar__cell--padding);margin:var(--ez-calendar__cell--margin);min-width:var(--ez-calendar__cell--width);border-radius:var(--ez-calendar__cell--border-radius)}.calendar__cell:hover{background-color:var(--ez-calendar__cell--over--background-color);color:var(--ez-calendar__cell--over--color)}.calendar__cell--secondary{color:var(--ez-calendar__cell--outset--color)}.calendar__cell--unselectable:hover{background-color:unset;border-radius:unset;cursor:unset;color:var(--ez-calendar--color)}.calendar__cell--unselectable{font-weight:var(--text-weight--large, 600);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow)}.calendar__cell--selected,.calendar__cell--selected:hover{background-color:var(--ez-calendar__cell--selected--background-color);color:var(--ez-calendar__cell--selected--color)}.calendar__footer{display:flex;flex-direction:column}.calendar__btn-today{border:none;background-color:unset;cursor:pointer;padding:0px;font-weight:var(--text-weight--large, 600);font-size:var(--title--extra-small, 12px);font-family:var(--ez-calendar--font-family);text-shadow:var(--ez-calendar--text-shadow);color:var(--ez-calendar__btn-today--color);border-radius:var(--ez-calendar__btn-today--border-radius)}.calendar__btn-today:hover{background-color:var(--ez-calendar__btn-today--hover--background-color)}section{display:flex}.calendar-time{margin-left:-10px;display:flex;flex-direction:column;padding:12px 0px 0px 10px;background-color:var(--ez-calendar__time--background-color);border-top-right-radius:var(--ez-calendar__body--border-radius);border-bottom-right-radius:var(--ez-calendar__body--border-radius);box-shadow:var(--ez-calendar__body--shadow)}.calendar__column{height:136px;padding:0px;margin:0px;overflow:auto;scrollbar-width:none}.calendar__column::-webkit-scrollbar{width:0px;max-width:0px;min-width:0px}.calendar-time__header{display:flex;justify-content:space-between;padding-left:var(--space--small, 6px);padding-right:var(--space--small, 6px);padding-bottom:var(--space--small, 6px);margin:0px var(--space--, 12px) var(--space--small, 6px) var(--space--, 12px);font-weight:var(--text-weight--extra-large, 700);font-size:var(--title--small, 14px);text-shadow:var(--ez-calendar--text-shadow);border-bottom:solid var(--ez-calendar__header-line--stroke) var(--ez-calendar__header-line--color);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow)}.separatorTime{color:#A2ABB9;padding:0px 1px;line-height:16px;font-size:17px;font-weight:normal}.endHidden{-webkit-mask-image:linear-gradient(180deg, #000 calc(100% - 48px), transparent 100%)}.calendar__column .calendar__cell{margin:0px;padding:1.5px 1.5px}';export{n as ez_calendar}
1
+ import{r as a,c as e,f as r,h as t,g as l}from"./p-23a36bb6.js";import{FloatingManager as i}from"@sankhyalabs/core";import{i as s}from"./p-641ee538.js";const n=class{constructor(r){a(this,r),this.ezChange=e(this,"ezChange",7),this._firstRender=!0,this._hoursLabel=["00","01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23"],this._minutosLabel=["00","01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","41","42","43","44","45","46","47","48","49","50","51","52","53","54","55","56","57","58","59"],this.value=new Date,this.floating=!1,this.time=!1,this.showSeconds=!1}async show(a,e,r,t){this.floating&&(this._floatingID=i.float(this._box,this._container,{isFixed:this.isFixed(),autoClose:!0,top:a,left:e,bottom:r,right:t}),this.isFixed()||(window.requestAnimationFrame((()=>{this._box.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})})),this.scroll()))}async fitVertical(a,e){const r=this._container.getBoundingClientRect().bottom+this._calendarHeight;(window.innerHeight||document.documentElement.clientHeight)>r?this.show(a+"px",void 0,"unset"):this.show("unset",void 0,e+"px")}async fitHorizontal(a){const e=this._container.getBoundingClientRect().right+this._calendarWidth;(window.innerWidth||document.documentElement.clientWidth)>e||this.show(void 0,"unset",void 0,a+"px")}async hide(){void 0!==this._floatingID&&(i.close(this._floatingID),this._floatingID=void 0)}observeValue(){this.value&&(this._currentPosition.setTime(this.value.getTime()),this._currentPosition.setDate(1))}scrollListener(){this.floating&&this.isFixed()&&this.hide()}isFixed(){return"true"===this._hostElem.dataset.isFixed}getMonthLabel(){return this.i18n(`ez-calendar.month.${this._currentPosition.getMonth()}`)+" "+this._currentPosition.getFullYear()}isSelectedDate(a){return!!this.value&&this.value.getDate()==a.getDate()&&this.value.getMonth()==a.getMonth()&&this.value.getFullYear()==a.getFullYear()}changeMonth(a){this._currentPosition.setMonth(this._currentPosition.getMonth()+a),r(this)}selectDate(a){let e=a;this.value&&(this.time||this.showSeconds)&&(e.setHours(this.value.getHours()),e.setMinutes(this.value.getMinutes()),e.setSeconds(this.showSeconds?this.value.getSeconds():0)),this.value=e,this.ezChange.emit(this.value)}selectHours(a){this.value||(this.value=new Date),this.value=new Date(this.value.getFullYear(),this.value.getMonth(),this.value.getDate(),a,this.value.getMinutes(),this.value.getSeconds()),this.ezChange.emit(this.value)}selectMinutes(a){this.value||(this.value=new Date),this.value=new Date(this.value.getFullYear(),this.value.getMonth(),this.value.getDate(),this.value.getHours(),a,this.value.getSeconds()),this.ezChange.emit(this.value)}selectSeconds(a){this.value||(this.value=new Date),this.value=new Date(this.value.getFullYear(),this.value.getMonth(),this.value.getDate(),this.value.getHours(),this.value.getMinutes(),a),this.ezChange.emit(this.value)}updateScroll(a){if(a){const{scrollHeight:e,clientHeight:r,scrollTop:t}=a;e-r-Math.ceil(t)>0?a.classList.add("endHidden"):a.classList.remove("endHidden")}}async componentWillLoad(){this.i18n=await s()}componentDidRender(){this.floating&&this._firstRender&&(this._calendarHeight=this._box.clientHeight,this._calendarWidth=this._box.clientWidth,this._box.remove(),this._firstRender=!1),this.updateScroll(this._hoursScroll),this.updateScroll(this._minutesScroll),this.updateScroll(this._secondsScroll)}componentDidLoad(){this.scroll()}scroll(){(this.time||this.showSeconds)&&(this._hoursScroll.scrollTop=this._hoursSelect.offsetTop-64,this._minutesScroll.scrollTop=this._minutesSelect.offsetTop-64,this.updateScroll(this._hoursScroll),this.updateScroll(this._minutesScroll),this.showSeconds&&(this._secondsScroll.scrollTop=this._secondsSelect.offsetTop-64,this.updateScroll(this._secondsScroll)))}render(){null==this._currentPosition&&(this._currentPosition=new Date,this.value&&this._currentPosition.setTime(this.value.getTime()),this._currentPosition.setDate(1));const a=new Date;return a.setTime(this._currentPosition.getTime()),a.setDate(1-a.getDay()),t("section",{ref:a=>this._container=a},t("div",{ref:a=>this._box=a,class:"calendar__container"},t("div",{class:"calendar"},t("div",{class:"calendar__header"},t("button",{class:"calendar__btn-previous",onClick:()=>this.changeMonth(-1)}),t("label",{class:"calendar__lbl-month"},this.getMonthLabel()),t("button",{class:"calendar__btn-next",onClick:()=>this.changeMonth(1)})),t("div",{class:"calendar__body"},t("div",{class:"calendar__line"},[...Array(7).keys()].map((a=>t("div",{"data-day":this.i18n(`ez-calendar.weekDay.${a}`),class:"calendar__cell calendar__cell--unselectable"},this.i18n(`ez-calendar.weekDay.${a}`))))),[0,7,14,21,28,35].map((e=>t("div",{class:"calendar__line"},[0,1,2,3,4,5,6].map((r=>{const l=new Date;l.setTime(a.getTime()),l.setDate(l.getDate()+e+r);let i=`${l.getMonth()+1}-${l.getDate()}-${l.getFullYear()}`,s="calendar__cell";return this._currentPosition.getMonth()!=l.getMonth()?s+=" calendar__cell--secondary":this.isSelectedDate(l)&&(s+=" calendar__cell--selected"),t("div",{"data-day-month":i,class:s,onClick:()=>this.selectDate(l)},l.getDate())})))))),t("div",{class:"calendar__footer"},t("button",{class:"calendar__btn-today",onClick:()=>this.selectDate(new Date)},this.i18n("ez-calendar.today")))),(this.time||this.showSeconds)&&t("div",{class:"calendar-time"},t("div",{class:"calendar-time__header"},t("div",null,"H"),t("div",{class:"separatorTime"},":"),t("div",null,"M"),this.showSeconds&&t("div",{class:"separatorTime"},":"),this.showSeconds&&t("div",null,"S")),t("div",{class:"calendar__body ",style:{display:"flex",paddingLeft:"12px",paddingRight:"12px"}},t("div",{class:"calendar__column",ref:a=>this._hoursScroll=a,onScroll:()=>this.updateScroll(this._hoursScroll)},this._hoursLabel.map(((a,e)=>e===this.value.getHours()?t("div",{style:{display:"flex"},ref:a=>this._hoursSelect=a},t("div",{"data-hour":a,class:"calendar__cell calendar__cell--selected",onClick:()=>this.selectHours(e)},a),t("div",{class:"separatorTime"},":")):t("div",{style:{display:"flex"}},t("div",{"data-hour":a,class:"calendar__cell",onClick:()=>this.selectHours(e)},a),t("div",{class:"separatorTime"},":"))))),t("div",{class:"calendar__column",ref:a=>this._minutesScroll=a,onScroll:()=>this.updateScroll(this._minutesScroll)},this._minutosLabel.map(((a,e)=>e===this.value.getMinutes()?t("div",{style:{display:"flex"},ref:a=>this._minutesSelect=a},t("div",{"data-minute":a,class:"calendar__cell calendar__cell--selected",onClick:()=>this.selectMinutes(e)},a),this.showSeconds&&t("div",{class:"separatorTime"},":")):t("div",{style:{display:"flex"}},t("div",{"data-minute":a,class:"calendar__cell",onClick:()=>this.selectMinutes(e)},a),this.showSeconds&&t("div",{class:"separatorTime"},":"))))),this.showSeconds&&t("div",{class:"calendar__column",ref:a=>this._secondsScroll=a,onScroll:()=>this.updateScroll(this._secondsScroll)},this._minutosLabel.map(((a,e)=>e===this.value.getSeconds()?t("div",{"data-second":a,class:"calendar__cell calendar__cell--selected",onClick:()=>this.selectSeconds(e),ref:a=>this._secondsSelect=a},a):t("div",{"data-second":a,class:"calendar__cell",onClick:()=>this.selectSeconds(e)},a))))))))}get _hostElem(){return l(this)}static get watchers(){return{value:["observeValue"]}}};n.style=':host{--ez-calendar--font-family:var(--font-pattern, Arial);--ez-calendar--color:var(--title--primary, #626e82);--ez-calendar--text-shadow:var(--text-shadow, 0 0 0 #353535, 0 0 1px transparent);--ez-calendar__body--background-color:var(--background--xlight, #FFF);--ez-calendar__time--background-color:var(--background--xlight, #FAFAFA);--ez-calendar__body--padding:var(--space--medium, 12px) var(--space--small, 6px);--ez-calendar__body--border-radius:var(--border--radius-medium, 12px);--ez-calendar__body--shadow:var(--shadow, 0px 0px 16px 0px #000);--ez-container--z-index:var(--more-visible, 2);--ez-calendar__header-line--stroke:1px;--ez-calendar__header-line--color:var(--color--strokes, #C0C0C0);--ez-calendar__nav-btn--fill:var(--text--primary, #008561);--ez-calendar__nav-btn--hover--fill:var(--color--primary, #350404);--ez-calendar__nav-btn--width:10px;--ez-calendar__nav-btn--height:16px;--ez-calendar__nav-btn--previous-image:url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="16px" width="10px"><path d="M 9.7808475,13.860393 3.9204526,8.0000004 9.7808475,2.0624965 7.9301965,0.28895552 0.21915255,8.0000004 7.9301965,15.711044 Z"/></svg>\');--ez-calendar__nav-btn--next-image:url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="16px" width="10px"><path d="M 0.21915251,13.860393 6.0795475,8.0000007 0.21915251,2.0624968 2.0698036,0.28895588 9.7808475,8.0000007 2.0698036,15.711044 Z"/></svg>\');--ez-calendar__cell--margin:0px 1.5px;--ez-calendar__cell--width:var(--space--large, 24px);--ez-calendar__cell--padding:1.5px 0px;--ez-calendar__cell--border-radius:var(--border--radius-small, 6px);--ez-calendar__cell--over--background-color:var(--color--primary, #E2F4EF);--ez-calendar__cell--over--color:var(--color--primary-300, #008561);--ez-calendar__cell--outset--color:var(--color--disable-primary, #E5EAF0);--ez-calendar__cell--selected--background-color:var(--color--primary, #008561);--ez-calendar__cell--selected--color:var(--color--inverted, #FFF);--ez-calendar__btn-today--color:var(--color--primary);--ez-calendar__btn-today--hover--background-color:var(--color--primary-300, #E2F4EF);--ez-calendar__btn-today--border-radius:var(--border--radius-small, 6px);position:relative;display:flex;user-select:none}.calendar__container{display:flex;z-index:var(--more-visible, 2)}.calendar{display:flex;flex-direction:column;z-index:var(--more-visible, 2);background-color:var(--ez-calendar__body--background-color);padding:var(--ez-calendar__body--padding);border-radius:var(--ez-calendar__body--border-radius);box-shadow:var(--ez-calendar__body--shadow)}.calendar__header{display:flex;justify-content:space-between;padding-bottom:var(--space--small, 6px);margin:0px var(--space--, 12px) var(--space--small, 6px) var(--space--, 12px);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow);border-bottom:solid var(--ez-calendar__header-line--stroke) var(--ez-calendar__header-line--color)}.calendar__btn-next,.calendar__btn-previous{outline:none;border:none;background-color:unset;cursor:pointer;padding:0px}.calendar__btn-next::after,.calendar__btn-previous::after{content:\'\';display:flex;background-color:var(--ez-calendar__nav-btn--fill);width:var(--ez-calendar__nav-btn--width);height:var(--ez-calendar__nav-btn--height)}.calendar__btn-previous::after{-webkit-mask-image:var(--ez-calendar__nav-btn--previous-image);mask-image:var(--ez-calendar__nav-btn--previous-image)}.calendar__btn-next::after{-webkit-mask-image:var(--ez-calendar__nav-btn--next-image);mask-image:var(--ez-calendar__nav-btn--next-image)}.calendar__btn-next:hover::after,.calendar__btn-previous:hover::after{background-color:var(--ez-calendar__nav-btn--hover--fill)}.calendar__lbl-month{font-weight:var(--text-weight--extra-large, 700);font-size:var(--title--small, 14px);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow)}.calendar__line{display:flex;padding:0px;margin:0px}.calendar__cell{display:flex;justify-content:center;align-content:center;cursor:pointer;font-size:var(--text--extra-small, 10px);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow);padding:var(--ez-calendar__cell--padding);margin:var(--ez-calendar__cell--margin);min-width:var(--ez-calendar__cell--width);border-radius:var(--ez-calendar__cell--border-radius)}.calendar__cell:hover{background-color:var(--ez-calendar__cell--over--background-color);color:var(--ez-calendar__cell--over--color)}.calendar__cell--secondary{color:var(--ez-calendar__cell--outset--color)}.calendar__cell--unselectable:hover{background-color:unset;border-radius:unset;cursor:unset;color:var(--ez-calendar--color)}.calendar__cell--unselectable{font-weight:var(--text-weight--large, 600);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow)}.calendar__cell--selected,.calendar__cell--selected:hover{background-color:var(--ez-calendar__cell--selected--background-color);color:var(--ez-calendar__cell--selected--color)}.calendar__footer{display:flex;flex-direction:column}.calendar__btn-today{border:none;background-color:unset;cursor:pointer;padding:0px;font-weight:var(--text-weight--large, 600);font-size:var(--title--extra-small, 12px);font-family:var(--ez-calendar--font-family);text-shadow:var(--ez-calendar--text-shadow);color:var(--ez-calendar__btn-today--color);border-radius:var(--ez-calendar__btn-today--border-radius)}.calendar__btn-today:hover{background-color:var(--ez-calendar__btn-today--hover--background-color)}section{display:flex}.calendar-time{margin-left:-10px;display:flex;flex-direction:column;padding:12px 0px 0px 10px;background-color:var(--ez-calendar__time--background-color);border-top-right-radius:var(--ez-calendar__body--border-radius);border-bottom-right-radius:var(--ez-calendar__body--border-radius);box-shadow:var(--ez-calendar__body--shadow)}.calendar__column{height:136px;padding:0px;margin:0px;overflow:auto;scrollbar-width:none}.calendar__column::-webkit-scrollbar{width:0px;max-width:0px;min-width:0px}.calendar-time__header{display:flex;justify-content:space-between;padding-left:var(--space--small, 6px);padding-right:var(--space--small, 6px);padding-bottom:var(--space--small, 6px);margin:0px var(--space--, 12px) var(--space--small, 6px) var(--space--, 12px);font-weight:var(--text-weight--extra-large, 700);font-size:var(--title--small, 14px);text-shadow:var(--ez-calendar--text-shadow);border-bottom:solid var(--ez-calendar__header-line--stroke) var(--ez-calendar__header-line--color);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow)}.separatorTime{color:#A2ABB9;padding:0px 1px;line-height:16px;font-size:17px;font-weight:normal}.endHidden{-webkit-mask-image:linear-gradient(180deg, #000 calc(100% - 48px), transparent 100%)}.calendar__column .calendar__cell{margin:0px;padding:1.5px 1.5px}';export{n as ez_calendar}