@bigbinary/neeto-commons-frontend 4.13.121 → 4.13.123

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 (549) hide show
  1. package/configs/esbuild/plugins/preval.js +1 -1
  2. package/configs/esbuild/plugins/stripSourcemaps.js +1 -1
  3. package/configs/webpack/rules.js +1 -1
  4. package/dist/.ready +1 -1
  5. package/dist/app-container-k74rOpXb.js +5 -0
  6. package/dist/app-container-k74rOpXb.js.map +1 -0
  7. package/dist/cjs/app-container-Ck1J-BjW.js +7 -0
  8. package/dist/cjs/app-container-Ck1J-BjW.js.map +1 -0
  9. package/dist/cjs/createClass-B4XY44hG.js +23 -0
  10. package/dist/cjs/createClass-B4XY44hG.js.map +1 -0
  11. package/dist/cjs/index-XyG3hfIR.js +475 -0
  12. package/dist/cjs/index-XyG3hfIR.js.map +1 -0
  13. package/dist/cjs/initializers/i18n.js +2 -471
  14. package/dist/cjs/initializers/i18n.js.map +1 -1
  15. package/dist/cjs/initializers/index.js +1 -0
  16. package/dist/cjs/initializers/index.js.map +1 -1
  17. package/dist/cjs/react-utils/AppContainer/AppContainer.js +1 -5
  18. package/dist/cjs/react-utils/AppContainer/AppContainer.js.map +1 -1
  19. package/dist/cjs/react-utils/AppContainer/index.js +1 -0
  20. package/dist/cjs/react-utils/AppContainer/index.js.map +1 -1
  21. package/dist/cjs/react-utils/index.js +2 -0
  22. package/dist/cjs/react-utils/index.js.map +1 -1
  23. package/dist/cjs/react-utils/useLocalStorage/index.js +1 -0
  24. package/dist/cjs/react-utils/useLocalStorage/index.js.map +1 -1
  25. package/dist/cjs/react-utils/useLocalStorage/useLocalStorage.js +1 -0
  26. package/dist/cjs/react-utils/useLocalStorage/useLocalStorage.js.map +1 -1
  27. package/dist/cjs/utils/datetime.js +1 -0
  28. package/dist/cjs/utils/datetime.js.map +1 -1
  29. package/dist/cjs/utils/dayjs.js +3 -18
  30. package/dist/cjs/utils/dayjs.js.map +1 -1
  31. package/dist/cjs/utils/index.js +1 -0
  32. package/dist/cjs/utils/index.js.map +1 -1
  33. package/dist/cjs/v2/constants/index.js +179 -0
  34. package/dist/cjs/v2/constants/index.js.map +1 -0
  35. package/dist/cjs/v2/constants/regex.js +10 -0
  36. package/dist/cjs/v2/constants/regex.js.map +1 -0
  37. package/dist/cjs/v2/initializers/axios.js +22 -0
  38. package/dist/cjs/v2/initializers/axios.js.map +1 -0
  39. package/dist/cjs/v2/initializers/axiosInitializer/index.js +298 -0
  40. package/dist/cjs/v2/initializers/axiosInitializer/index.js.map +1 -0
  41. package/dist/cjs/v2/initializers/axiosInitializer/paramsSerializer.js +17 -0
  42. package/dist/cjs/v2/initializers/axiosInitializer/paramsSerializer.js.map +1 -0
  43. package/dist/cjs/v2/initializers/constants.js +27 -0
  44. package/dist/cjs/v2/initializers/constants.js.map +1 -0
  45. package/dist/cjs/v2/initializers/dayjs.js +67 -0
  46. package/dist/cjs/v2/initializers/dayjs.js.map +1 -0
  47. package/dist/cjs/v2/initializers/domPatch.js +78 -0
  48. package/dist/cjs/v2/initializers/domPatch.js.map +1 -0
  49. package/dist/cjs/v2/initializers/globalProps.js +16 -0
  50. package/dist/cjs/v2/initializers/globalProps.js.map +1 -0
  51. package/dist/cjs/v2/initializers/i18n.js +113 -0
  52. package/dist/cjs/v2/initializers/i18n.js.map +1 -0
  53. package/dist/cjs/v2/initializers/index.js +110 -0
  54. package/dist/cjs/v2/initializers/index.js.map +1 -0
  55. package/dist/cjs/v2/initializers/logger.js +15 -0
  56. package/dist/cjs/v2/initializers/logger.js.map +1 -0
  57. package/dist/cjs/v2/initializers/reactDevTools.js +23 -0
  58. package/dist/cjs/v2/initializers/reactDevTools.js.map +1 -0
  59. package/dist/cjs/v2/initializers/utils/customFormatters.js +49 -0
  60. package/dist/cjs/v2/initializers/utils/customFormatters.js.map +1 -0
  61. package/dist/cjs/v2/initializers/utils/customPostProcessors.js +19 -0
  62. package/dist/cjs/v2/initializers/utils/customPostProcessors.js.map +1 -0
  63. package/dist/cjs/v2/initializers/utils/index.js +35 -0
  64. package/dist/cjs/v2/initializers/utils/index.js.map +1 -0
  65. package/dist/cjs/v2/react-utils/AppContainer/AppContainer.js +57 -0
  66. package/dist/cjs/v2/react-utils/AppContainer/AppContainer.js.map +1 -0
  67. package/dist/cjs/v2/react-utils/AppContainer/index.js +32 -0
  68. package/dist/cjs/v2/react-utils/AppContainer/index.js.map +1 -0
  69. package/dist/cjs/v2/react-utils/BrowserPushNotifications/devices.js +26 -0
  70. package/dist/cjs/v2/react-utils/BrowserPushNotifications/devices.js.map +1 -0
  71. package/dist/cjs/v2/react-utils/BrowserPushNotifications/index.js +13 -0
  72. package/dist/cjs/v2/react-utils/BrowserPushNotifications/index.js.map +1 -0
  73. package/dist/cjs/v2/react-utils/BrowserPushNotifications/pushHelper.js +108 -0
  74. package/dist/cjs/v2/react-utils/BrowserPushNotifications/pushHelper.js.map +1 -0
  75. package/dist/cjs/v2/react-utils/BrowserPushNotifications/registerServiceWorker.js +135 -0
  76. package/dist/cjs/v2/react-utils/BrowserPushNotifications/registerServiceWorker.js.map +1 -0
  77. package/dist/cjs/v2/react-utils/HoneybadgerErrorBoundary/FallbackComponent.js +103 -0
  78. package/dist/cjs/v2/react-utils/HoneybadgerErrorBoundary/FallbackComponent.js.map +1 -0
  79. package/dist/cjs/v2/react-utils/HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.js +63 -0
  80. package/dist/cjs/v2/react-utils/HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.js.map +1 -0
  81. package/dist/cjs/v2/react-utils/HoneybadgerErrorBoundary/constants.js +10 -0
  82. package/dist/cjs/v2/react-utils/HoneybadgerErrorBoundary/constants.js.map +1 -0
  83. package/dist/cjs/v2/react-utils/HoneybadgerErrorBoundary/index.js +20 -0
  84. package/dist/cjs/v2/react-utils/HoneybadgerErrorBoundary/index.js.map +1 -0
  85. package/dist/cjs/v2/react-utils/HoneybadgerErrorBoundary/utils.js +19 -0
  86. package/dist/cjs/v2/react-utils/HoneybadgerErrorBoundary/utils.js.map +1 -0
  87. package/dist/cjs/v2/react-utils/PageTitle/PageTitle.js +17 -0
  88. package/dist/cjs/v2/react-utils/PageTitle/PageTitle.js.map +1 -0
  89. package/dist/cjs/v2/react-utils/PageTitle/index.js +10 -0
  90. package/dist/cjs/v2/react-utils/PageTitle/index.js.map +1 -0
  91. package/dist/cjs/v2/react-utils/PrivateRoute/PrivateRoute.js +53 -0
  92. package/dist/cjs/v2/react-utils/PrivateRoute/PrivateRoute.js.map +1 -0
  93. package/dist/cjs/v2/react-utils/PrivateRoute/constants.js +8 -0
  94. package/dist/cjs/v2/react-utils/PrivateRoute/constants.js.map +1 -0
  95. package/dist/cjs/v2/react-utils/PrivateRoute/index.js +17 -0
  96. package/dist/cjs/v2/react-utils/PrivateRoute/index.js.map +1 -0
  97. package/dist/cjs/v2/react-utils/PrivateRoute/utils.js +16 -0
  98. package/dist/cjs/v2/react-utils/PrivateRoute/utils.js.map +1 -0
  99. package/dist/cjs/v2/react-utils/QueryClientProvider/QueryClientProvider.js +18 -0
  100. package/dist/cjs/v2/react-utils/QueryClientProvider/QueryClientProvider.js.map +1 -0
  101. package/dist/cjs/v2/react-utils/QueryClientProvider/index.js +16 -0
  102. package/dist/cjs/v2/react-utils/QueryClientProvider/index.js.map +1 -0
  103. package/dist/cjs/v2/react-utils/QueryClientProvider/queryClient.js +19 -0
  104. package/dist/cjs/v2/react-utils/QueryClientProvider/queryClient.js.map +1 -0
  105. package/dist/cjs/v2/react-utils/constants/constants.js +10 -0
  106. package/dist/cjs/v2/react-utils/constants/constants.js.map +1 -0
  107. package/dist/cjs/v2/react-utils/constants/index.js +12 -0
  108. package/dist/cjs/v2/react-utils/constants/index.js.map +1 -0
  109. package/dist/cjs/v2/react-utils/constants/query.js +8 -0
  110. package/dist/cjs/v2/react-utils/constants/query.js.map +1 -0
  111. package/dist/cjs/v2/react-utils/index.js +147 -0
  112. package/dist/cjs/v2/react-utils/index.js.map +1 -0
  113. package/dist/cjs/v2/react-utils/lazyWithRetry/index.js +10 -0
  114. package/dist/cjs/v2/react-utils/lazyWithRetry/index.js.map +1 -0
  115. package/dist/cjs/v2/react-utils/lazyWithRetry/lazyWithRetry.js +15 -0
  116. package/dist/cjs/v2/react-utils/lazyWithRetry/lazyWithRetry.js.map +1 -0
  117. package/dist/cjs/v2/react-utils/metaClick/index.js +10 -0
  118. package/dist/cjs/v2/react-utils/metaClick/index.js.map +1 -0
  119. package/dist/cjs/v2/react-utils/metaClick/metaClick.js +21 -0
  120. package/dist/cjs/v2/react-utils/metaClick/metaClick.js.map +1 -0
  121. package/dist/cjs/v2/react-utils/mount/index.js +14 -0
  122. package/dist/cjs/v2/react-utils/mount/index.js.map +1 -0
  123. package/dist/cjs/v2/react-utils/mount/mount.js +85 -0
  124. package/dist/cjs/v2/react-utils/mount/mount.js.map +1 -0
  125. package/dist/cjs/v2/react-utils/useBreakpoints/index.js +21 -0
  126. package/dist/cjs/v2/react-utils/useBreakpoints/index.js.map +1 -0
  127. package/dist/cjs/v2/react-utils/useBreakpoints/utils.js +30 -0
  128. package/dist/cjs/v2/react-utils/useBreakpoints/utils.js.map +1 -0
  129. package/dist/cjs/v2/react-utils/useColumnConfig/api.js +22 -0
  130. package/dist/cjs/v2/react-utils/useColumnConfig/api.js.map +1 -0
  131. package/dist/cjs/v2/react-utils/useColumnConfig/constants.js +8 -0
  132. package/dist/cjs/v2/react-utils/useColumnConfig/constants.js.map +1 -0
  133. package/dist/cjs/v2/react-utils/useColumnConfig/index.js +20 -0
  134. package/dist/cjs/v2/react-utils/useColumnConfig/index.js.map +1 -0
  135. package/dist/cjs/v2/react-utils/useColumnConfig/useColumnConfig.js +51 -0
  136. package/dist/cjs/v2/react-utils/useColumnConfig/useColumnConfig.js.map +1 -0
  137. package/dist/cjs/v2/react-utils/useColumnConfig/useConfigApi.js +32 -0
  138. package/dist/cjs/v2/react-utils/useColumnConfig/useConfigApi.js.map +1 -0
  139. package/dist/cjs/v2/react-utils/useColumnConfig/utils.js +29 -0
  140. package/dist/cjs/v2/react-utils/useColumnConfig/utils.js.map +1 -0
  141. package/dist/cjs/v2/react-utils/useDebounce/index.js +11 -0
  142. package/dist/cjs/v2/react-utils/useDebounce/index.js.map +1 -0
  143. package/dist/cjs/v2/react-utils/useDebounce/useDebounce.js +25 -0
  144. package/dist/cjs/v2/react-utils/useDebounce/useDebounce.js.map +1 -0
  145. package/dist/cjs/v2/react-utils/useDisplayErrorPage/index.js +13 -0
  146. package/dist/cjs/v2/react-utils/useDisplayErrorPage/index.js.map +1 -0
  147. package/dist/cjs/v2/react-utils/useDisplayErrorPage/useDisplayErrorPage.js +23 -0
  148. package/dist/cjs/v2/react-utils/useDisplayErrorPage/useDisplayErrorPage.js.map +1 -0
  149. package/dist/cjs/v2/react-utils/useFetchNeetoApps/apis/neeto_apps.js +13 -0
  150. package/dist/cjs/v2/react-utils/useFetchNeetoApps/apis/neeto_apps.js.map +1 -0
  151. package/dist/cjs/v2/react-utils/useFetchNeetoApps/index.js +27 -0
  152. package/dist/cjs/v2/react-utils/useFetchNeetoApps/index.js.map +1 -0
  153. package/dist/cjs/v2/react-utils/useFetchNeetoApps/useFetchNeetoApps.js +39 -0
  154. package/dist/cjs/v2/react-utils/useFetchNeetoApps/useFetchNeetoApps.js.map +1 -0
  155. package/dist/cjs/v2/react-utils/useFieldSubmit/index.js +9 -0
  156. package/dist/cjs/v2/react-utils/useFieldSubmit/index.js.map +1 -0
  157. package/dist/cjs/v2/react-utils/useFieldSubmit/useFieldSubmit.js +30 -0
  158. package/dist/cjs/v2/react-utils/useFieldSubmit/useFieldSubmit.js.map +1 -0
  159. package/dist/cjs/v2/react-utils/useFuncDebounce/index.js +9 -0
  160. package/dist/cjs/v2/react-utils/useFuncDebounce/index.js.map +1 -0
  161. package/dist/cjs/v2/react-utils/useFuncDebounce/useFuncDebounce.js +24 -0
  162. package/dist/cjs/v2/react-utils/useFuncDebounce/useFuncDebounce.js.map +1 -0
  163. package/dist/cjs/v2/react-utils/useIsElementVisibleInDom/index.js +12 -0
  164. package/dist/cjs/v2/react-utils/useIsElementVisibleInDom/index.js.map +1 -0
  165. package/dist/cjs/v2/react-utils/useIsElementVisibleInDom/useForceUpdate.js +20 -0
  166. package/dist/cjs/v2/react-utils/useIsElementVisibleInDom/useForceUpdate.js.map +1 -0
  167. package/dist/cjs/v2/react-utils/useIsElementVisibleInDom/useIsElementVisibleInDom.js +31 -0
  168. package/dist/cjs/v2/react-utils/useIsElementVisibleInDom/useIsElementVisibleInDom.js.map +1 -0
  169. package/dist/cjs/v2/react-utils/useKeyboardShortcutsPaneState/index.js +10 -0
  170. package/dist/cjs/v2/react-utils/useKeyboardShortcutsPaneState/index.js.map +1 -0
  171. package/dist/cjs/v2/react-utils/useKeyboardShortcutsPaneState/useKeyboardShortcutsPaneState.js +33 -0
  172. package/dist/cjs/v2/react-utils/useKeyboardShortcutsPaneState/useKeyboardShortcutsPaneState.js.map +1 -0
  173. package/dist/cjs/v2/react-utils/useLocalStorage/index.js +37 -0
  174. package/dist/cjs/v2/react-utils/useLocalStorage/index.js.map +1 -0
  175. package/dist/cjs/v2/react-utils/useLocalStorage/useLocalStorage.js +64 -0
  176. package/dist/cjs/v2/react-utils/useLocalStorage/useLocalStorage.js.map +1 -0
  177. package/dist/cjs/v2/react-utils/useMutationWithInvalidation/index.js +13 -0
  178. package/dist/cjs/v2/react-utils/useMutationWithInvalidation/index.js.map +1 -0
  179. package/dist/cjs/v2/react-utils/useMutationWithInvalidation/useMutationWithInvalidation.js +42 -0
  180. package/dist/cjs/v2/react-utils/useMutationWithInvalidation/useMutationWithInvalidation.js.map +1 -0
  181. package/dist/cjs/v2/react-utils/useOnClickOutside/index.js +9 -0
  182. package/dist/cjs/v2/react-utils/useOnClickOutside/index.js.map +1 -0
  183. package/dist/cjs/v2/react-utils/useOnClickOutside/useOnClickOutside.js +29 -0
  184. package/dist/cjs/v2/react-utils/useOnClickOutside/useOnClickOutside.js.map +1 -0
  185. package/dist/cjs/v2/react-utils/usePersistedQuery/index.js +23 -0
  186. package/dist/cjs/v2/react-utils/usePersistedQuery/index.js.map +1 -0
  187. package/dist/cjs/v2/react-utils/usePersistedQuery/usePersistedQuery.js +67 -0
  188. package/dist/cjs/v2/react-utils/usePersistedQuery/usePersistedQuery.js.map +1 -0
  189. package/dist/cjs/v2/react-utils/usePrefersReducedMotion/constants.js +6 -0
  190. package/dist/cjs/v2/react-utils/usePrefersReducedMotion/constants.js.map +1 -0
  191. package/dist/cjs/v2/react-utils/usePrefersReducedMotion/index.js +12 -0
  192. package/dist/cjs/v2/react-utils/usePrefersReducedMotion/index.js.map +1 -0
  193. package/dist/cjs/v2/react-utils/usePrefersReducedMotion/usePrefersReducedMotion.js +46 -0
  194. package/dist/cjs/v2/react-utils/usePrefersReducedMotion/usePrefersReducedMotion.js.map +1 -0
  195. package/dist/cjs/v2/react-utils/usePrevious/index.js +9 -0
  196. package/dist/cjs/v2/react-utils/usePrevious/index.js.map +1 -0
  197. package/dist/cjs/v2/react-utils/usePrevious/usePrevious.js +14 -0
  198. package/dist/cjs/v2/react-utils/usePrevious/usePrevious.js.map +1 -0
  199. package/dist/cjs/v2/react-utils/useQueryParams/index.js +21 -0
  200. package/dist/cjs/v2/react-utils/useQueryParams/index.js.map +1 -0
  201. package/dist/cjs/v2/react-utils/useQueryParams/useQueryParams.js +23 -0
  202. package/dist/cjs/v2/react-utils/useQueryParams/useQueryParams.js.map +1 -0
  203. package/dist/cjs/v2/react-utils/useRegisterNavigationCheckpoint/index.js +29 -0
  204. package/dist/cjs/v2/react-utils/useRegisterNavigationCheckpoint/index.js.map +1 -0
  205. package/dist/cjs/v2/react-utils/useRegisterNavigationCheckpoint/useRegisterNavigationCheckpoint.js +85 -0
  206. package/dist/cjs/v2/react-utils/useRegisterNavigationCheckpoint/useRegisterNavigationCheckpoint.js.map +1 -0
  207. package/dist/cjs/v2/react-utils/useRestoreScrollPosition/index.js +18 -0
  208. package/dist/cjs/v2/react-utils/useRestoreScrollPosition/index.js.map +1 -0
  209. package/dist/cjs/v2/react-utils/useRestoreScrollPosition/useRestoreScrollPosition.js +70 -0
  210. package/dist/cjs/v2/react-utils/useRestoreScrollPosition/useRestoreScrollPosition.js.map +1 -0
  211. package/dist/cjs/v2/react-utils/useStateWithDependency/index.js +11 -0
  212. package/dist/cjs/v2/react-utils/useStateWithDependency/index.js.map +1 -0
  213. package/dist/cjs/v2/react-utils/useStateWithDependency/useStateWithDependency.js +20 -0
  214. package/dist/cjs/v2/react-utils/useStateWithDependency/useStateWithDependency.js.map +1 -0
  215. package/dist/cjs/v2/react-utils/useTimer/index.js +10 -0
  216. package/dist/cjs/v2/react-utils/useTimer/index.js.map +1 -0
  217. package/dist/cjs/v2/react-utils/useTimer/useTimer.js +43 -0
  218. package/dist/cjs/v2/react-utils/useTimer/useTimer.js.map +1 -0
  219. package/dist/cjs/v2/react-utils/useUpdateEffect/index.js +9 -0
  220. package/dist/cjs/v2/react-utils/useUpdateEffect/index.js.map +1 -0
  221. package/dist/cjs/v2/react-utils/useUpdateEffect/useUpdateEffect.js +18 -0
  222. package/dist/cjs/v2/react-utils/useUpdateEffect/useUpdateEffect.js.map +1 -0
  223. package/dist/cjs/v2/react-utils/withImmutableActions/index.js +9 -0
  224. package/dist/cjs/v2/react-utils/withImmutableActions/index.js.map +1 -0
  225. package/dist/cjs/v2/react-utils/withImmutableActions/withImmutableActions.js +26 -0
  226. package/dist/cjs/v2/react-utils/withImmutableActions/withImmutableActions.js.map +1 -0
  227. package/dist/cjs/v2/react-utils/withT/index.js +9 -0
  228. package/dist/cjs/v2/react-utils/withT/index.js.map +1 -0
  229. package/dist/cjs/v2/react-utils/withT/withT.js +11 -0
  230. package/dist/cjs/v2/react-utils/withT/withT.js.map +1 -0
  231. package/dist/cjs/v2/react-utils/withTitle/index.js +12 -0
  232. package/dist/cjs/v2/react-utils/withTitle/index.js.map +1 -0
  233. package/dist/cjs/v2/react-utils/withTitle/withTitle.js +25 -0
  234. package/dist/cjs/v2/react-utils/withTitle/withTitle.js.map +1 -0
  235. package/dist/cjs/v2/utils/axios.js +14 -0
  236. package/dist/cjs/v2/utils/axios.js.map +1 -0
  237. package/dist/cjs/v2/utils/buildNestedAttributesPayload.js +39 -0
  238. package/dist/cjs/v2/utils/buildNestedAttributesPayload.js.map +1 -0
  239. package/dist/cjs/v2/utils/captureAnalyticsEvent.js +10 -0
  240. package/dist/cjs/v2/utils/captureAnalyticsEvent.js.map +1 -0
  241. package/dist/cjs/v2/utils/captureAnalyticsPageView.js +10 -0
  242. package/dist/cjs/v2/utils/captureAnalyticsPageView.js.map +1 -0
  243. package/dist/cjs/v2/utils/constants.js +14 -0
  244. package/dist/cjs/v2/utils/constants.js.map +1 -0
  245. package/dist/cjs/v2/utils/createSubscription.js +30 -0
  246. package/dist/cjs/v2/utils/createSubscription.js.map +1 -0
  247. package/dist/cjs/v2/utils/currencyFormat.js +48 -0
  248. package/dist/cjs/v2/utils/currencyFormat.js.map +1 -0
  249. package/dist/cjs/v2/utils/customParseFormatPlugin.js +308 -0
  250. package/dist/cjs/v2/utils/customParseFormatPlugin.js.map +1 -0
  251. package/dist/cjs/v2/utils/datetime.js +132 -0
  252. package/dist/cjs/v2/utils/datetime.js.map +1 -0
  253. package/dist/cjs/v2/utils/dayjs.js +105 -0
  254. package/dist/cjs/v2/utils/dayjs.js.map +1 -0
  255. package/dist/cjs/v2/utils/dayjsFormatOverrides/default.js +30 -0
  256. package/dist/cjs/v2/utils/dayjsFormatOverrides/default.js.map +1 -0
  257. package/dist/cjs/v2/utils/dayjsFormatOverrides/ja.js +29 -0
  258. package/dist/cjs/v2/utils/dayjsFormatOverrides/ja.js.map +1 -0
  259. package/dist/cjs/v2/utils/deviceInformation.js +209 -0
  260. package/dist/cjs/v2/utils/deviceInformation.js.map +1 -0
  261. package/dist/cjs/v2/utils/general.js +234 -0
  262. package/dist/cjs/v2/utils/general.js.map +1 -0
  263. package/dist/cjs/v2/utils/index.js +76 -0
  264. package/dist/cjs/v2/utils/index.js.map +1 -0
  265. package/dist/cjs/v2/utils/loadGoogleFonts.js +13 -0
  266. package/dist/cjs/v2/utils/loadGoogleFonts.js.map +1 -0
  267. package/dist/cjs/v2/utils/localePlugin.js +521 -0
  268. package/dist/cjs/v2/utils/localePlugin.js.map +1 -0
  269. package/dist/cjs/v2/utils/permissions.js +24 -0
  270. package/dist/cjs/v2/utils/permissions.js.map +1 -0
  271. package/dist/cjs/v2/utils/retryImport.js +37 -0
  272. package/dist/cjs/v2/utils/retryImport.js.map +1 -0
  273. package/dist/cjs/v2/utils/timezonePlugin.js +208 -0
  274. package/dist/cjs/v2/utils/timezonePlugin.js.map +1 -0
  275. package/dist/cjs/v2/utils/validators/index.js +11 -0
  276. package/dist/cjs/v2/utils/validators/index.js.map +1 -0
  277. package/dist/cjs/v2/utils/validators/slug.js +72 -0
  278. package/dist/cjs/v2/utils/validators/slug.js.map +1 -0
  279. package/dist/createClass-C1MbpvOB.js +20 -0
  280. package/dist/createClass-C1MbpvOB.js.map +1 -0
  281. package/dist/index-CgFudTTK.js +472 -0
  282. package/dist/index-CgFudTTK.js.map +1 -0
  283. package/dist/initializers/i18n.js +1 -470
  284. package/dist/initializers/i18n.js.map +1 -1
  285. package/dist/initializers/index.js +1 -0
  286. package/dist/initializers/index.js.map +1 -1
  287. package/dist/react-utils/AppContainer/AppContainer.js +1 -5
  288. package/dist/react-utils/AppContainer/AppContainer.js.map +1 -1
  289. package/dist/react-utils/AppContainer/index.js +1 -0
  290. package/dist/react-utils/AppContainer/index.js.map +1 -1
  291. package/dist/react-utils/index.js +2 -0
  292. package/dist/react-utils/index.js.map +1 -1
  293. package/dist/react-utils/useLocalStorage/index.js +1 -0
  294. package/dist/react-utils/useLocalStorage/index.js.map +1 -1
  295. package/dist/react-utils/useLocalStorage/useLocalStorage.js +1 -0
  296. package/dist/react-utils/useLocalStorage/useLocalStorage.js.map +1 -1
  297. package/dist/utils/datetime.js +1 -0
  298. package/dist/utils/datetime.js.map +1 -1
  299. package/dist/utils/dayjs.js +2 -17
  300. package/dist/utils/dayjs.js.map +1 -1
  301. package/dist/utils/index.js +1 -0
  302. package/dist/utils/index.js.map +1 -1
  303. package/dist/v2/constants/index.js +166 -0
  304. package/dist/v2/constants/index.js.map +1 -0
  305. package/dist/v2/constants/regex.js +6 -0
  306. package/dist/v2/constants/regex.js.map +1 -0
  307. package/dist/v2/initializers/axios.js +20 -0
  308. package/dist/v2/initializers/axios.js.map +1 -0
  309. package/dist/v2/initializers/axiosInitializer/index.js +296 -0
  310. package/dist/v2/initializers/axiosInitializer/index.js.map +1 -0
  311. package/dist/v2/initializers/axiosInitializer/paramsSerializer.js +15 -0
  312. package/dist/v2/initializers/axiosInitializer/paramsSerializer.js.map +1 -0
  313. package/dist/v2/initializers/constants.js +19 -0
  314. package/dist/v2/initializers/constants.js.map +1 -0
  315. package/dist/v2/initializers/dayjs.js +65 -0
  316. package/dist/v2/initializers/dayjs.js.map +1 -0
  317. package/dist/v2/initializers/domPatch.js +76 -0
  318. package/dist/v2/initializers/domPatch.js.map +1 -0
  319. package/dist/v2/initializers/globalProps.js +14 -0
  320. package/dist/v2/initializers/globalProps.js.map +1 -0
  321. package/dist/v2/initializers/i18n.js +109 -0
  322. package/dist/v2/initializers/i18n.js.map +1 -0
  323. package/dist/v2/initializers/index.js +102 -0
  324. package/dist/v2/initializers/index.js.map +1 -0
  325. package/dist/v2/initializers/logger.js +13 -0
  326. package/dist/v2/initializers/logger.js.map +1 -0
  327. package/dist/v2/initializers/reactDevTools.js +21 -0
  328. package/dist/v2/initializers/reactDevTools.js.map +1 -0
  329. package/dist/v2/initializers/utils/customFormatters.js +46 -0
  330. package/dist/v2/initializers/utils/customFormatters.js.map +1 -0
  331. package/dist/v2/initializers/utils/customPostProcessors.js +17 -0
  332. package/dist/v2/initializers/utils/customPostProcessors.js.map +1 -0
  333. package/dist/v2/initializers/utils/index.js +33 -0
  334. package/dist/v2/initializers/utils/index.js.map +1 -0
  335. package/dist/v2/react-utils/AppContainer/AppContainer.js +55 -0
  336. package/dist/v2/react-utils/AppContainer/AppContainer.js.map +1 -0
  337. package/dist/v2/react-utils/AppContainer/index.js +26 -0
  338. package/dist/v2/react-utils/AppContainer/index.js.map +1 -0
  339. package/dist/v2/react-utils/BrowserPushNotifications/devices.js +24 -0
  340. package/dist/v2/react-utils/BrowserPushNotifications/devices.js.map +1 -0
  341. package/dist/v2/react-utils/BrowserPushNotifications/index.js +6 -0
  342. package/dist/v2/react-utils/BrowserPushNotifications/index.js.map +1 -0
  343. package/dist/v2/react-utils/BrowserPushNotifications/pushHelper.js +105 -0
  344. package/dist/v2/react-utils/BrowserPushNotifications/pushHelper.js.map +1 -0
  345. package/dist/v2/react-utils/BrowserPushNotifications/registerServiceWorker.js +132 -0
  346. package/dist/v2/react-utils/BrowserPushNotifications/registerServiceWorker.js.map +1 -0
  347. package/dist/v2/react-utils/HoneybadgerErrorBoundary/FallbackComponent.js +101 -0
  348. package/dist/v2/react-utils/HoneybadgerErrorBoundary/FallbackComponent.js.map +1 -0
  349. package/dist/v2/react-utils/HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.js +61 -0
  350. package/dist/v2/react-utils/HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.js.map +1 -0
  351. package/dist/v2/react-utils/HoneybadgerErrorBoundary/constants.js +6 -0
  352. package/dist/v2/react-utils/HoneybadgerErrorBoundary/constants.js.map +1 -0
  353. package/dist/v2/react-utils/HoneybadgerErrorBoundary/index.js +14 -0
  354. package/dist/v2/react-utils/HoneybadgerErrorBoundary/index.js.map +1 -0
  355. package/dist/v2/react-utils/HoneybadgerErrorBoundary/utils.js +15 -0
  356. package/dist/v2/react-utils/HoneybadgerErrorBoundary/utils.js.map +1 -0
  357. package/dist/v2/react-utils/PageTitle/PageTitle.js +15 -0
  358. package/dist/v2/react-utils/PageTitle/PageTitle.js.map +1 -0
  359. package/dist/v2/react-utils/PageTitle/index.js +4 -0
  360. package/dist/v2/react-utils/PageTitle/index.js.map +1 -0
  361. package/dist/v2/react-utils/PrivateRoute/PrivateRoute.js +51 -0
  362. package/dist/v2/react-utils/PrivateRoute/PrivateRoute.js.map +1 -0
  363. package/dist/v2/react-utils/PrivateRoute/constants.js +5 -0
  364. package/dist/v2/react-utils/PrivateRoute/constants.js.map +1 -0
  365. package/dist/v2/react-utils/PrivateRoute/index.js +11 -0
  366. package/dist/v2/react-utils/PrivateRoute/index.js.map +1 -0
  367. package/dist/v2/react-utils/PrivateRoute/utils.js +14 -0
  368. package/dist/v2/react-utils/PrivateRoute/utils.js.map +1 -0
  369. package/dist/v2/react-utils/QueryClientProvider/QueryClientProvider.js +16 -0
  370. package/dist/v2/react-utils/QueryClientProvider/QueryClientProvider.js.map +1 -0
  371. package/dist/v2/react-utils/QueryClientProvider/index.js +7 -0
  372. package/dist/v2/react-utils/QueryClientProvider/index.js.map +1 -0
  373. package/dist/v2/react-utils/QueryClientProvider/queryClient.js +17 -0
  374. package/dist/v2/react-utils/QueryClientProvider/queryClient.js.map +1 -0
  375. package/dist/v2/react-utils/constants/constants.js +6 -0
  376. package/dist/v2/react-utils/constants/constants.js.map +1 -0
  377. package/dist/v2/react-utils/constants/index.js +3 -0
  378. package/dist/v2/react-utils/constants/index.js.map +1 -0
  379. package/dist/v2/react-utils/constants/query.js +6 -0
  380. package/dist/v2/react-utils/constants/query.js.map +1 -0
  381. package/dist/v2/react-utils/index.js +100 -0
  382. package/dist/v2/react-utils/index.js.map +1 -0
  383. package/dist/v2/react-utils/lazyWithRetry/index.js +4 -0
  384. package/dist/v2/react-utils/lazyWithRetry/index.js.map +1 -0
  385. package/dist/v2/react-utils/lazyWithRetry/lazyWithRetry.js +13 -0
  386. package/dist/v2/react-utils/lazyWithRetry/lazyWithRetry.js.map +1 -0
  387. package/dist/v2/react-utils/metaClick/index.js +3 -0
  388. package/dist/v2/react-utils/metaClick/index.js.map +1 -0
  389. package/dist/v2/react-utils/metaClick/metaClick.js +18 -0
  390. package/dist/v2/react-utils/metaClick/metaClick.js.map +1 -0
  391. package/dist/v2/react-utils/mount/index.js +8 -0
  392. package/dist/v2/react-utils/mount/index.js.map +1 -0
  393. package/dist/v2/react-utils/mount/mount.js +83 -0
  394. package/dist/v2/react-utils/mount/mount.js.map +1 -0
  395. package/dist/v2/react-utils/useBreakpoints/index.js +19 -0
  396. package/dist/v2/react-utils/useBreakpoints/index.js.map +1 -0
  397. package/dist/v2/react-utils/useBreakpoints/utils.js +27 -0
  398. package/dist/v2/react-utils/useBreakpoints/utils.js.map +1 -0
  399. package/dist/v2/react-utils/useColumnConfig/api.js +20 -0
  400. package/dist/v2/react-utils/useColumnConfig/api.js.map +1 -0
  401. package/dist/v2/react-utils/useColumnConfig/constants.js +5 -0
  402. package/dist/v2/react-utils/useColumnConfig/constants.js.map +1 -0
  403. package/dist/v2/react-utils/useColumnConfig/index.js +14 -0
  404. package/dist/v2/react-utils/useColumnConfig/index.js.map +1 -0
  405. package/dist/v2/react-utils/useColumnConfig/useColumnConfig.js +49 -0
  406. package/dist/v2/react-utils/useColumnConfig/useColumnConfig.js.map +1 -0
  407. package/dist/v2/react-utils/useColumnConfig/useConfigApi.js +29 -0
  408. package/dist/v2/react-utils/useColumnConfig/useConfigApi.js.map +1 -0
  409. package/dist/v2/react-utils/useColumnConfig/utils.js +26 -0
  410. package/dist/v2/react-utils/useColumnConfig/utils.js.map +1 -0
  411. package/dist/v2/react-utils/useDebounce/index.js +5 -0
  412. package/dist/v2/react-utils/useDebounce/index.js.map +1 -0
  413. package/dist/v2/react-utils/useDebounce/useDebounce.js +23 -0
  414. package/dist/v2/react-utils/useDebounce/useDebounce.js.map +1 -0
  415. package/dist/v2/react-utils/useDisplayErrorPage/index.js +4 -0
  416. package/dist/v2/react-utils/useDisplayErrorPage/index.js.map +1 -0
  417. package/dist/v2/react-utils/useDisplayErrorPage/useDisplayErrorPage.js +18 -0
  418. package/dist/v2/react-utils/useDisplayErrorPage/useDisplayErrorPage.js.map +1 -0
  419. package/dist/v2/react-utils/useFetchNeetoApps/apis/neeto_apps.js +11 -0
  420. package/dist/v2/react-utils/useFetchNeetoApps/apis/neeto_apps.js.map +1 -0
  421. package/dist/v2/react-utils/useFetchNeetoApps/index.js +21 -0
  422. package/dist/v2/react-utils/useFetchNeetoApps/index.js.map +1 -0
  423. package/dist/v2/react-utils/useFetchNeetoApps/useFetchNeetoApps.js +37 -0
  424. package/dist/v2/react-utils/useFetchNeetoApps/useFetchNeetoApps.js.map +1 -0
  425. package/dist/v2/react-utils/useFieldSubmit/index.js +3 -0
  426. package/dist/v2/react-utils/useFieldSubmit/index.js.map +1 -0
  427. package/dist/v2/react-utils/useFieldSubmit/useFieldSubmit.js +28 -0
  428. package/dist/v2/react-utils/useFieldSubmit/useFieldSubmit.js.map +1 -0
  429. package/dist/v2/react-utils/useFuncDebounce/index.js +3 -0
  430. package/dist/v2/react-utils/useFuncDebounce/index.js.map +1 -0
  431. package/dist/v2/react-utils/useFuncDebounce/useFuncDebounce.js +22 -0
  432. package/dist/v2/react-utils/useFuncDebounce/useFuncDebounce.js.map +1 -0
  433. package/dist/v2/react-utils/useIsElementVisibleInDom/index.js +6 -0
  434. package/dist/v2/react-utils/useIsElementVisibleInDom/index.js.map +1 -0
  435. package/dist/v2/react-utils/useIsElementVisibleInDom/useForceUpdate.js +18 -0
  436. package/dist/v2/react-utils/useIsElementVisibleInDom/useForceUpdate.js.map +1 -0
  437. package/dist/v2/react-utils/useIsElementVisibleInDom/useIsElementVisibleInDom.js +29 -0
  438. package/dist/v2/react-utils/useIsElementVisibleInDom/useIsElementVisibleInDom.js.map +1 -0
  439. package/dist/v2/react-utils/useKeyboardShortcutsPaneState/index.js +4 -0
  440. package/dist/v2/react-utils/useKeyboardShortcutsPaneState/index.js.map +1 -0
  441. package/dist/v2/react-utils/useKeyboardShortcutsPaneState/useKeyboardShortcutsPaneState.js +31 -0
  442. package/dist/v2/react-utils/useKeyboardShortcutsPaneState/useKeyboardShortcutsPaneState.js.map +1 -0
  443. package/dist/v2/react-utils/useLocalStorage/index.js +31 -0
  444. package/dist/v2/react-utils/useLocalStorage/index.js.map +1 -0
  445. package/dist/v2/react-utils/useLocalStorage/useLocalStorage.js +62 -0
  446. package/dist/v2/react-utils/useLocalStorage/useLocalStorage.js.map +1 -0
  447. package/dist/v2/react-utils/useMutationWithInvalidation/index.js +7 -0
  448. package/dist/v2/react-utils/useMutationWithInvalidation/index.js.map +1 -0
  449. package/dist/v2/react-utils/useMutationWithInvalidation/useMutationWithInvalidation.js +40 -0
  450. package/dist/v2/react-utils/useMutationWithInvalidation/useMutationWithInvalidation.js.map +1 -0
  451. package/dist/v2/react-utils/useOnClickOutside/index.js +3 -0
  452. package/dist/v2/react-utils/useOnClickOutside/index.js.map +1 -0
  453. package/dist/v2/react-utils/useOnClickOutside/useOnClickOutside.js +27 -0
  454. package/dist/v2/react-utils/useOnClickOutside/useOnClickOutside.js.map +1 -0
  455. package/dist/v2/react-utils/usePersistedQuery/index.js +17 -0
  456. package/dist/v2/react-utils/usePersistedQuery/index.js.map +1 -0
  457. package/dist/v2/react-utils/usePersistedQuery/usePersistedQuery.js +65 -0
  458. package/dist/v2/react-utils/usePersistedQuery/usePersistedQuery.js.map +1 -0
  459. package/dist/v2/react-utils/usePrefersReducedMotion/constants.js +4 -0
  460. package/dist/v2/react-utils/usePrefersReducedMotion/constants.js.map +1 -0
  461. package/dist/v2/react-utils/usePrefersReducedMotion/index.js +6 -0
  462. package/dist/v2/react-utils/usePrefersReducedMotion/index.js.map +1 -0
  463. package/dist/v2/react-utils/usePrefersReducedMotion/usePrefersReducedMotion.js +44 -0
  464. package/dist/v2/react-utils/usePrefersReducedMotion/usePrefersReducedMotion.js.map +1 -0
  465. package/dist/v2/react-utils/usePrevious/index.js +3 -0
  466. package/dist/v2/react-utils/usePrevious/index.js.map +1 -0
  467. package/dist/v2/react-utils/usePrevious/usePrevious.js +12 -0
  468. package/dist/v2/react-utils/usePrevious/usePrevious.js.map +1 -0
  469. package/dist/v2/react-utils/useQueryParams/index.js +15 -0
  470. package/dist/v2/react-utils/useQueryParams/index.js.map +1 -0
  471. package/dist/v2/react-utils/useQueryParams/useQueryParams.js +21 -0
  472. package/dist/v2/react-utils/useQueryParams/useQueryParams.js.map +1 -0
  473. package/dist/v2/react-utils/useRegisterNavigationCheckpoint/index.js +19 -0
  474. package/dist/v2/react-utils/useRegisterNavigationCheckpoint/index.js.map +1 -0
  475. package/dist/v2/react-utils/useRegisterNavigationCheckpoint/useRegisterNavigationCheckpoint.js +79 -0
  476. package/dist/v2/react-utils/useRegisterNavigationCheckpoint/useRegisterNavigationCheckpoint.js.map +1 -0
  477. package/dist/v2/react-utils/useRestoreScrollPosition/index.js +7 -0
  478. package/dist/v2/react-utils/useRestoreScrollPosition/index.js.map +1 -0
  479. package/dist/v2/react-utils/useRestoreScrollPosition/useRestoreScrollPosition.js +63 -0
  480. package/dist/v2/react-utils/useRestoreScrollPosition/useRestoreScrollPosition.js.map +1 -0
  481. package/dist/v2/react-utils/useStateWithDependency/index.js +5 -0
  482. package/dist/v2/react-utils/useStateWithDependency/index.js.map +1 -0
  483. package/dist/v2/react-utils/useStateWithDependency/useStateWithDependency.js +18 -0
  484. package/dist/v2/react-utils/useStateWithDependency/useStateWithDependency.js.map +1 -0
  485. package/dist/v2/react-utils/useTimer/index.js +4 -0
  486. package/dist/v2/react-utils/useTimer/index.js.map +1 -0
  487. package/dist/v2/react-utils/useTimer/useTimer.js +41 -0
  488. package/dist/v2/react-utils/useTimer/useTimer.js.map +1 -0
  489. package/dist/v2/react-utils/useUpdateEffect/index.js +3 -0
  490. package/dist/v2/react-utils/useUpdateEffect/index.js.map +1 -0
  491. package/dist/v2/react-utils/useUpdateEffect/useUpdateEffect.js +16 -0
  492. package/dist/v2/react-utils/useUpdateEffect/useUpdateEffect.js.map +1 -0
  493. package/dist/v2/react-utils/withImmutableActions/index.js +3 -0
  494. package/dist/v2/react-utils/withImmutableActions/index.js.map +1 -0
  495. package/dist/v2/react-utils/withImmutableActions/withImmutableActions.js +24 -0
  496. package/dist/v2/react-utils/withImmutableActions/withImmutableActions.js.map +1 -0
  497. package/dist/v2/react-utils/withT/index.js +3 -0
  498. package/dist/v2/react-utils/withT/index.js.map +1 -0
  499. package/dist/v2/react-utils/withT/withT.js +9 -0
  500. package/dist/v2/react-utils/withT/withT.js.map +1 -0
  501. package/dist/v2/react-utils/withTitle/index.js +6 -0
  502. package/dist/v2/react-utils/withTitle/index.js.map +1 -0
  503. package/dist/v2/react-utils/withTitle/withTitle.js +23 -0
  504. package/dist/v2/react-utils/withTitle/withTitle.js.map +1 -0
  505. package/dist/v2/utils/axios.js +12 -0
  506. package/dist/v2/utils/axios.js.map +1 -0
  507. package/dist/v2/utils/buildNestedAttributesPayload.js +37 -0
  508. package/dist/v2/utils/buildNestedAttributesPayload.js.map +1 -0
  509. package/dist/v2/utils/captureAnalyticsEvent.js +8 -0
  510. package/dist/v2/utils/captureAnalyticsEvent.js.map +1 -0
  511. package/dist/v2/utils/captureAnalyticsPageView.js +8 -0
  512. package/dist/v2/utils/captureAnalyticsPageView.js.map +1 -0
  513. package/dist/v2/utils/constants.js +9 -0
  514. package/dist/v2/utils/constants.js.map +1 -0
  515. package/dist/v2/utils/createSubscription.js +28 -0
  516. package/dist/v2/utils/createSubscription.js.map +1 -0
  517. package/dist/v2/utils/currencyFormat.js +46 -0
  518. package/dist/v2/utils/currencyFormat.js.map +1 -0
  519. package/dist/v2/utils/customParseFormatPlugin.js +306 -0
  520. package/dist/v2/utils/customParseFormatPlugin.js.map +1 -0
  521. package/dist/v2/utils/datetime.js +127 -0
  522. package/dist/v2/utils/datetime.js.map +1 -0
  523. package/dist/v2/utils/dayjs.js +103 -0
  524. package/dist/v2/utils/dayjs.js.map +1 -0
  525. package/dist/v2/utils/dayjsFormatOverrides/default.js +28 -0
  526. package/dist/v2/utils/dayjsFormatOverrides/default.js.map +1 -0
  527. package/dist/v2/utils/dayjsFormatOverrides/ja.js +27 -0
  528. package/dist/v2/utils/dayjsFormatOverrides/ja.js.map +1 -0
  529. package/dist/v2/utils/deviceInformation.js +207 -0
  530. package/dist/v2/utils/deviceInformation.js.map +1 -0
  531. package/dist/v2/utils/general.js +218 -0
  532. package/dist/v2/utils/general.js.map +1 -0
  533. package/dist/v2/utils/index.js +39 -0
  534. package/dist/v2/utils/index.js.map +1 -0
  535. package/dist/v2/utils/loadGoogleFonts.js +11 -0
  536. package/dist/v2/utils/loadGoogleFonts.js.map +1 -0
  537. package/dist/v2/utils/localePlugin.js +515 -0
  538. package/dist/v2/utils/localePlugin.js.map +1 -0
  539. package/dist/v2/utils/permissions.js +20 -0
  540. package/dist/v2/utils/permissions.js.map +1 -0
  541. package/dist/v2/utils/retryImport.js +35 -0
  542. package/dist/v2/utils/retryImport.js.map +1 -0
  543. package/dist/v2/utils/timezonePlugin.js +206 -0
  544. package/dist/v2/utils/timezonePlugin.js.map +1 -0
  545. package/dist/v2/utils/validators/index.js +5 -0
  546. package/dist/v2/utils/validators/index.js.map +1 -0
  547. package/dist/v2/utils/validators/slug.js +51 -0
  548. package/dist/v2/utils/validators/slug.js.map +1 -0
  549. package/package.json +33 -3
@@ -0,0 +1,472 @@
1
+ const {
2
+ slice,
3
+ forEach
4
+ } = [];
5
+ function defaults(obj) {
6
+ forEach.call(slice.call(arguments, 1), source => {
7
+ if (source) {
8
+ for (const prop in source) {
9
+ if (obj[prop] === undefined) obj[prop] = source[prop];
10
+ }
11
+ }
12
+ });
13
+ return obj;
14
+ }
15
+ function hasXSS(input) {
16
+ if (typeof input !== 'string') return false;
17
+
18
+ // Common XSS attack patterns
19
+ const xssPatterns = [/<\s*script.*?>/i, /<\s*\/\s*script\s*>/i, /<\s*img.*?on\w+\s*=/i, /<\s*\w+\s*on\w+\s*=.*?>/i, /javascript\s*:/i, /vbscript\s*:/i, /expression\s*\(/i, /eval\s*\(/i, /alert\s*\(/i, /document\.cookie/i, /document\.write\s*\(/i, /window\.location/i, /innerHTML/i];
20
+ return xssPatterns.some(pattern => pattern.test(input));
21
+ }
22
+
23
+ // eslint-disable-next-line no-control-regex
24
+ const fieldContentRegExp = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;
25
+ const serializeCookie = function (name, val) {
26
+ let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {
27
+ path: '/'
28
+ };
29
+ const opt = options;
30
+ const value = encodeURIComponent(val);
31
+ let str = `${name}=${value}`;
32
+ if (opt.maxAge > 0) {
33
+ const maxAge = opt.maxAge - 0;
34
+ if (Number.isNaN(maxAge)) throw new Error('maxAge should be a Number');
35
+ str += `; Max-Age=${Math.floor(maxAge)}`;
36
+ }
37
+ if (opt.domain) {
38
+ if (!fieldContentRegExp.test(opt.domain)) {
39
+ throw new TypeError('option domain is invalid');
40
+ }
41
+ str += `; Domain=${opt.domain}`;
42
+ }
43
+ if (opt.path) {
44
+ if (!fieldContentRegExp.test(opt.path)) {
45
+ throw new TypeError('option path is invalid');
46
+ }
47
+ str += `; Path=${opt.path}`;
48
+ }
49
+ if (opt.expires) {
50
+ if (typeof opt.expires.toUTCString !== 'function') {
51
+ throw new TypeError('option expires is invalid');
52
+ }
53
+ str += `; Expires=${opt.expires.toUTCString()}`;
54
+ }
55
+ if (opt.httpOnly) str += '; HttpOnly';
56
+ if (opt.secure) str += '; Secure';
57
+ if (opt.sameSite) {
58
+ const sameSite = typeof opt.sameSite === 'string' ? opt.sameSite.toLowerCase() : opt.sameSite;
59
+ switch (sameSite) {
60
+ case true:
61
+ str += '; SameSite=Strict';
62
+ break;
63
+ case 'lax':
64
+ str += '; SameSite=Lax';
65
+ break;
66
+ case 'strict':
67
+ str += '; SameSite=Strict';
68
+ break;
69
+ case 'none':
70
+ str += '; SameSite=None';
71
+ break;
72
+ default:
73
+ throw new TypeError('option sameSite is invalid');
74
+ }
75
+ }
76
+ if (opt.partitioned) str += '; Partitioned';
77
+ return str;
78
+ };
79
+ const cookie = {
80
+ create(name, value, minutes, domain) {
81
+ let cookieOptions = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {
82
+ path: '/',
83
+ sameSite: 'strict'
84
+ };
85
+ if (minutes) {
86
+ cookieOptions.expires = new Date();
87
+ cookieOptions.expires.setTime(cookieOptions.expires.getTime() + minutes * 60 * 1000);
88
+ }
89
+ if (domain) cookieOptions.domain = domain;
90
+ document.cookie = serializeCookie(name, value, cookieOptions);
91
+ },
92
+ read(name) {
93
+ const nameEQ = `${name}=`;
94
+ const ca = document.cookie.split(';');
95
+ for (let i = 0; i < ca.length; i++) {
96
+ let c = ca[i];
97
+ while (c.charAt(0) === ' ') c = c.substring(1, c.length);
98
+ if (c.indexOf(nameEQ) === 0) return c.substring(nameEQ.length, c.length);
99
+ }
100
+ return null;
101
+ },
102
+ remove(name, domain) {
103
+ this.create(name, '', -1, domain);
104
+ }
105
+ };
106
+ var cookie$1 = {
107
+ name: 'cookie',
108
+ // Deconstruct the options object and extract the lookupCookie property
109
+ lookup(_ref) {
110
+ let {
111
+ lookupCookie
112
+ } = _ref;
113
+ if (lookupCookie && typeof document !== 'undefined') {
114
+ return cookie.read(lookupCookie) || undefined;
115
+ }
116
+ return undefined;
117
+ },
118
+ // Deconstruct the options object and extract the lookupCookie, cookieMinutes, cookieDomain, and cookieOptions properties
119
+ cacheUserLanguage(lng, _ref2) {
120
+ let {
121
+ lookupCookie,
122
+ cookieMinutes,
123
+ cookieDomain,
124
+ cookieOptions
125
+ } = _ref2;
126
+ if (lookupCookie && typeof document !== 'undefined') {
127
+ cookie.create(lookupCookie, lng, cookieMinutes, cookieDomain, cookieOptions);
128
+ }
129
+ }
130
+ };
131
+
132
+ var querystring = {
133
+ name: 'querystring',
134
+ // Deconstruct the options object and extract the lookupQuerystring property
135
+ lookup(_ref) {
136
+ let {
137
+ lookupQuerystring
138
+ } = _ref;
139
+ let found;
140
+ if (typeof window !== 'undefined') {
141
+ let {
142
+ search
143
+ } = window.location;
144
+ if (!window.location.search && window.location.hash?.indexOf('?') > -1) {
145
+ search = window.location.hash.substring(window.location.hash.indexOf('?'));
146
+ }
147
+ const query = search.substring(1);
148
+ const params = query.split('&');
149
+ for (let i = 0; i < params.length; i++) {
150
+ const pos = params[i].indexOf('=');
151
+ if (pos > 0) {
152
+ const key = params[i].substring(0, pos);
153
+ if (key === lookupQuerystring) {
154
+ found = params[i].substring(pos + 1);
155
+ }
156
+ }
157
+ }
158
+ }
159
+ return found;
160
+ }
161
+ };
162
+
163
+ var hash = {
164
+ name: 'hash',
165
+ // Deconstruct the options object and extract the lookupHash property and the lookupFromHashIndex property
166
+ lookup(_ref) {
167
+ let {
168
+ lookupHash,
169
+ lookupFromHashIndex
170
+ } = _ref;
171
+ let found;
172
+ if (typeof window !== 'undefined') {
173
+ const {
174
+ hash
175
+ } = window.location;
176
+ if (hash && hash.length > 2) {
177
+ const query = hash.substring(1);
178
+ if (lookupHash) {
179
+ const params = query.split('&');
180
+ for (let i = 0; i < params.length; i++) {
181
+ const pos = params[i].indexOf('=');
182
+ if (pos > 0) {
183
+ const key = params[i].substring(0, pos);
184
+ if (key === lookupHash) {
185
+ found = params[i].substring(pos + 1);
186
+ }
187
+ }
188
+ }
189
+ }
190
+ if (found) return found;
191
+ if (!found && lookupFromHashIndex > -1) {
192
+ const language = hash.match(/\/([a-zA-Z-]*)/g);
193
+ if (!Array.isArray(language)) return undefined;
194
+ const index = typeof lookupFromHashIndex === 'number' ? lookupFromHashIndex : 0;
195
+ return language[index]?.replace('/', '');
196
+ }
197
+ }
198
+ }
199
+ return found;
200
+ }
201
+ };
202
+
203
+ let hasLocalStorageSupport = null;
204
+ const localStorageAvailable = () => {
205
+ if (hasLocalStorageSupport !== null) return hasLocalStorageSupport;
206
+ try {
207
+ hasLocalStorageSupport = typeof window !== 'undefined' && window.localStorage !== null;
208
+ if (!hasLocalStorageSupport) {
209
+ return false;
210
+ }
211
+ const testKey = 'i18next.translate.boo';
212
+ window.localStorage.setItem(testKey, 'foo');
213
+ window.localStorage.removeItem(testKey);
214
+ } catch (e) {
215
+ hasLocalStorageSupport = false;
216
+ }
217
+ return hasLocalStorageSupport;
218
+ };
219
+ var localStorage = {
220
+ name: 'localStorage',
221
+ // Deconstruct the options object and extract the lookupLocalStorage property
222
+ lookup(_ref) {
223
+ let {
224
+ lookupLocalStorage
225
+ } = _ref;
226
+ if (lookupLocalStorage && localStorageAvailable()) {
227
+ return window.localStorage.getItem(lookupLocalStorage) || undefined; // Undefined ensures type consistency with the previous version of this function
228
+ }
229
+ return undefined;
230
+ },
231
+ // Deconstruct the options object and extract the lookupLocalStorage property
232
+ cacheUserLanguage(lng, _ref2) {
233
+ let {
234
+ lookupLocalStorage
235
+ } = _ref2;
236
+ if (lookupLocalStorage && localStorageAvailable()) {
237
+ window.localStorage.setItem(lookupLocalStorage, lng);
238
+ }
239
+ }
240
+ };
241
+
242
+ let hasSessionStorageSupport = null;
243
+ const sessionStorageAvailable = () => {
244
+ if (hasSessionStorageSupport !== null) return hasSessionStorageSupport;
245
+ try {
246
+ hasSessionStorageSupport = typeof window !== 'undefined' && window.sessionStorage !== null;
247
+ if (!hasSessionStorageSupport) {
248
+ return false;
249
+ }
250
+ const testKey = 'i18next.translate.boo';
251
+ window.sessionStorage.setItem(testKey, 'foo');
252
+ window.sessionStorage.removeItem(testKey);
253
+ } catch (e) {
254
+ hasSessionStorageSupport = false;
255
+ }
256
+ return hasSessionStorageSupport;
257
+ };
258
+ var sessionStorage = {
259
+ name: 'sessionStorage',
260
+ lookup(_ref) {
261
+ let {
262
+ lookupSessionStorage
263
+ } = _ref;
264
+ if (lookupSessionStorage && sessionStorageAvailable()) {
265
+ return window.sessionStorage.getItem(lookupSessionStorage) || undefined;
266
+ }
267
+ return undefined;
268
+ },
269
+ cacheUserLanguage(lng, _ref2) {
270
+ let {
271
+ lookupSessionStorage
272
+ } = _ref2;
273
+ if (lookupSessionStorage && sessionStorageAvailable()) {
274
+ window.sessionStorage.setItem(lookupSessionStorage, lng);
275
+ }
276
+ }
277
+ };
278
+
279
+ var navigator$1 = {
280
+ name: 'navigator',
281
+ lookup(options) {
282
+ const found = [];
283
+ if (typeof navigator !== 'undefined') {
284
+ const {
285
+ languages,
286
+ userLanguage,
287
+ language
288
+ } = navigator;
289
+ if (languages) {
290
+ // chrome only; not an array, so can't use .push.apply instead of iterating
291
+ for (let i = 0; i < languages.length; i++) {
292
+ found.push(languages[i]);
293
+ }
294
+ }
295
+ if (userLanguage) {
296
+ found.push(userLanguage);
297
+ }
298
+ if (language) {
299
+ found.push(language);
300
+ }
301
+ }
302
+ return found.length > 0 ? found : undefined;
303
+ }
304
+ };
305
+
306
+ var htmlTag = {
307
+ name: 'htmlTag',
308
+ // Deconstruct the options object and extract the htmlTag property
309
+ lookup(_ref) {
310
+ let {
311
+ htmlTag
312
+ } = _ref;
313
+ let found;
314
+ const internalHtmlTag = htmlTag || (typeof document !== 'undefined' ? document.documentElement : null);
315
+ if (internalHtmlTag && typeof internalHtmlTag.getAttribute === 'function') {
316
+ found = internalHtmlTag.getAttribute('lang');
317
+ }
318
+ return found;
319
+ }
320
+ };
321
+
322
+ var path = {
323
+ name: 'path',
324
+ // Deconstruct the options object and extract the lookupFromPathIndex property
325
+ lookup(_ref) {
326
+ let {
327
+ lookupFromPathIndex
328
+ } = _ref;
329
+ if (typeof window === 'undefined') return undefined;
330
+ const language = window.location.pathname.match(/\/([a-zA-Z-]*)/g);
331
+ if (!Array.isArray(language)) return undefined;
332
+ const index = typeof lookupFromPathIndex === 'number' ? lookupFromPathIndex : 0;
333
+ return language[index]?.replace('/', '');
334
+ }
335
+ };
336
+
337
+ var subdomain = {
338
+ name: 'subdomain',
339
+ lookup(_ref) {
340
+ let {
341
+ lookupFromSubdomainIndex
342
+ } = _ref;
343
+ // If given get the subdomain index else 1
344
+ const internalLookupFromSubdomainIndex = typeof lookupFromSubdomainIndex === 'number' ? lookupFromSubdomainIndex + 1 : 1;
345
+ // get all matches if window.location. is existing
346
+ // first item of match is the match itself and the second is the first group match which should be the first subdomain match
347
+ // is the hostname no public domain get the or option of localhost
348
+ const language = typeof window !== 'undefined' && window.location?.hostname?.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);
349
+
350
+ // if there is no match (null) return undefined
351
+ if (!language) return undefined;
352
+ // return the given group match
353
+ return language[internalLookupFromSubdomainIndex];
354
+ }
355
+ };
356
+
357
+ // some environments, throws when accessing document.cookie
358
+ let canCookies = false;
359
+ try {
360
+ // eslint-disable-next-line no-unused-expressions
361
+ document.cookie;
362
+ canCookies = true;
363
+ // eslint-disable-next-line no-empty
364
+ } catch (e) {}
365
+ const order = ['querystring', 'cookie', 'localStorage', 'sessionStorage', 'navigator', 'htmlTag'];
366
+ if (!canCookies) order.splice(1, 1);
367
+ const getDefaults = () => ({
368
+ order,
369
+ lookupQuerystring: 'lng',
370
+ lookupCookie: 'i18next',
371
+ lookupLocalStorage: 'i18nextLng',
372
+ lookupSessionStorage: 'i18nextLng',
373
+ // cache user language
374
+ caches: ['localStorage'],
375
+ excludeCacheFor: ['cimode'],
376
+ // cookieMinutes: 10,
377
+ // cookieDomain: 'myDomain'
378
+
379
+ convertDetectedLanguage: l => l
380
+ });
381
+ class Browser {
382
+ constructor(services) {
383
+ let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
384
+ this.type = 'languageDetector';
385
+ this.detectors = {};
386
+ this.init(services, options);
387
+ }
388
+ init() {
389
+ let services = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
390
+ languageUtils: {}
391
+ };
392
+ let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
393
+ let i18nOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
394
+ this.services = services;
395
+ this.options = defaults(options, this.options || {}, getDefaults());
396
+ if (typeof this.options.convertDetectedLanguage === 'string' && this.options.convertDetectedLanguage.indexOf('15897') > -1) {
397
+ this.options.convertDetectedLanguage = l => l.replace('-', '_');
398
+ }
399
+
400
+ // backwards compatibility
401
+ if (this.options.lookupFromUrlIndex) this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex;
402
+ this.i18nOptions = i18nOptions;
403
+ this.addDetector(cookie$1);
404
+ this.addDetector(querystring);
405
+ this.addDetector(localStorage);
406
+ this.addDetector(sessionStorage);
407
+ this.addDetector(navigator$1);
408
+ this.addDetector(htmlTag);
409
+ this.addDetector(path);
410
+ this.addDetector(subdomain);
411
+ this.addDetector(hash);
412
+ }
413
+ addDetector(detector) {
414
+ this.detectors[detector.name] = detector;
415
+ return this;
416
+ }
417
+ detect() {
418
+ let detectionOrder = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.options.order;
419
+ let detected = [];
420
+ detectionOrder.forEach(detectorName => {
421
+ if (this.detectors[detectorName]) {
422
+ let lookup = this.detectors[detectorName].lookup(this.options);
423
+ if (lookup && typeof lookup === 'string') lookup = [lookup];
424
+ if (lookup) detected = detected.concat(lookup);
425
+ }
426
+ });
427
+ detected = detected.filter(d => d !== undefined && d !== null && !hasXSS(d)).map(d => this.options.convertDetectedLanguage(d));
428
+ if (this.services && this.services.languageUtils && this.services.languageUtils.getBestMatchFromCodes) return detected; // new i18next v19.5.0
429
+ return detected.length > 0 ? detected[0] : null; // a little backward compatibility
430
+ }
431
+ cacheUserLanguage(lng) {
432
+ let caches = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.options.caches;
433
+ if (!caches) return;
434
+ if (this.options.excludeCacheFor && this.options.excludeCacheFor.indexOf(lng) > -1) return;
435
+ caches.forEach(cacheName => {
436
+ if (this.detectors[cacheName]) this.detectors[cacheName].cacheUserLanguage(lng, this.options);
437
+ });
438
+ }
439
+ }
440
+ Browser.type = 'languageDetector';
441
+
442
+ var resourcesToBackend = function resourcesToBackend(res) {
443
+ return {
444
+ type: 'backend',
445
+ init: function init(services, backendOptions, i18nextOptions) {},
446
+ read: function read(language, namespace, callback) {
447
+ if (typeof res === 'function') {
448
+ if (res.length < 3) {
449
+ try {
450
+ var r = res(language, namespace);
451
+ if (r && typeof r.then === 'function') {
452
+ r.then(function (data) {
453
+ return callback(null, data && data.default || data);
454
+ }).catch(callback);
455
+ } else {
456
+ callback(null, r);
457
+ }
458
+ } catch (err) {
459
+ callback(err);
460
+ }
461
+ return;
462
+ }
463
+ res(language, namespace, callback);
464
+ return;
465
+ }
466
+ callback(null, res && res[language] && res[language][namespace]);
467
+ }
468
+ };
469
+ };
470
+
471
+ export { Browser as B, resourcesToBackend as r };
472
+ //# sourceMappingURL=index-CgFudTTK.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-CgFudTTK.js","sources":["../node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js","../node_modules/i18next-resources-to-backend/dist/esm/index.js"],"sourcesContent":["const {\n slice,\n forEach\n} = [];\nfunction defaults(obj) {\n forEach.call(slice.call(arguments, 1), source => {\n if (source) {\n for (const prop in source) {\n if (obj[prop] === undefined) obj[prop] = source[prop];\n }\n }\n });\n return obj;\n}\nfunction hasXSS(input) {\n if (typeof input !== 'string') return false;\n\n // Common XSS attack patterns\n const xssPatterns = [/<\\s*script.*?>/i, /<\\s*\\/\\s*script\\s*>/i, /<\\s*img.*?on\\w+\\s*=/i, /<\\s*\\w+\\s*on\\w+\\s*=.*?>/i, /javascript\\s*:/i, /vbscript\\s*:/i, /expression\\s*\\(/i, /eval\\s*\\(/i, /alert\\s*\\(/i, /document\\.cookie/i, /document\\.write\\s*\\(/i, /window\\.location/i, /innerHTML/i];\n return xssPatterns.some(pattern => pattern.test(input));\n}\n\n// eslint-disable-next-line no-control-regex\nconst fieldContentRegExp = /^[\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+$/;\nconst serializeCookie = function (name, val) {\n let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {\n path: '/'\n };\n const opt = options;\n const value = encodeURIComponent(val);\n let str = `${name}=${value}`;\n if (opt.maxAge > 0) {\n const maxAge = opt.maxAge - 0;\n if (Number.isNaN(maxAge)) throw new Error('maxAge should be a Number');\n str += `; Max-Age=${Math.floor(maxAge)}`;\n }\n if (opt.domain) {\n if (!fieldContentRegExp.test(opt.domain)) {\n throw new TypeError('option domain is invalid');\n }\n str += `; Domain=${opt.domain}`;\n }\n if (opt.path) {\n if (!fieldContentRegExp.test(opt.path)) {\n throw new TypeError('option path is invalid');\n }\n str += `; Path=${opt.path}`;\n }\n if (opt.expires) {\n if (typeof opt.expires.toUTCString !== 'function') {\n throw new TypeError('option expires is invalid');\n }\n str += `; Expires=${opt.expires.toUTCString()}`;\n }\n if (opt.httpOnly) str += '; HttpOnly';\n if (opt.secure) str += '; Secure';\n if (opt.sameSite) {\n const sameSite = typeof opt.sameSite === 'string' ? opt.sameSite.toLowerCase() : opt.sameSite;\n switch (sameSite) {\n case true:\n str += '; SameSite=Strict';\n break;\n case 'lax':\n str += '; SameSite=Lax';\n break;\n case 'strict':\n str += '; SameSite=Strict';\n break;\n case 'none':\n str += '; SameSite=None';\n break;\n default:\n throw new TypeError('option sameSite is invalid');\n }\n }\n if (opt.partitioned) str += '; Partitioned';\n return str;\n};\nconst cookie = {\n create(name, value, minutes, domain) {\n let cookieOptions = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {\n path: '/',\n sameSite: 'strict'\n };\n if (minutes) {\n cookieOptions.expires = new Date();\n cookieOptions.expires.setTime(cookieOptions.expires.getTime() + minutes * 60 * 1000);\n }\n if (domain) cookieOptions.domain = domain;\n document.cookie = serializeCookie(name, value, cookieOptions);\n },\n read(name) {\n const nameEQ = `${name}=`;\n const ca = document.cookie.split(';');\n for (let i = 0; i < ca.length; i++) {\n let c = ca[i];\n while (c.charAt(0) === ' ') c = c.substring(1, c.length);\n if (c.indexOf(nameEQ) === 0) return c.substring(nameEQ.length, c.length);\n }\n return null;\n },\n remove(name, domain) {\n this.create(name, '', -1, domain);\n }\n};\nvar cookie$1 = {\n name: 'cookie',\n // Deconstruct the options object and extract the lookupCookie property\n lookup(_ref) {\n let {\n lookupCookie\n } = _ref;\n if (lookupCookie && typeof document !== 'undefined') {\n return cookie.read(lookupCookie) || undefined;\n }\n return undefined;\n },\n // Deconstruct the options object and extract the lookupCookie, cookieMinutes, cookieDomain, and cookieOptions properties\n cacheUserLanguage(lng, _ref2) {\n let {\n lookupCookie,\n cookieMinutes,\n cookieDomain,\n cookieOptions\n } = _ref2;\n if (lookupCookie && typeof document !== 'undefined') {\n cookie.create(lookupCookie, lng, cookieMinutes, cookieDomain, cookieOptions);\n }\n }\n};\n\nvar querystring = {\n name: 'querystring',\n // Deconstruct the options object and extract the lookupQuerystring property\n lookup(_ref) {\n let {\n lookupQuerystring\n } = _ref;\n let found;\n if (typeof window !== 'undefined') {\n let {\n search\n } = window.location;\n if (!window.location.search && window.location.hash?.indexOf('?') > -1) {\n search = window.location.hash.substring(window.location.hash.indexOf('?'));\n }\n const query = search.substring(1);\n const params = query.split('&');\n for (let i = 0; i < params.length; i++) {\n const pos = params[i].indexOf('=');\n if (pos > 0) {\n const key = params[i].substring(0, pos);\n if (key === lookupQuerystring) {\n found = params[i].substring(pos + 1);\n }\n }\n }\n }\n return found;\n }\n};\n\nvar hash = {\n name: 'hash',\n // Deconstruct the options object and extract the lookupHash property and the lookupFromHashIndex property\n lookup(_ref) {\n let {\n lookupHash,\n lookupFromHashIndex\n } = _ref;\n let found;\n if (typeof window !== 'undefined') {\n const {\n hash\n } = window.location;\n if (hash && hash.length > 2) {\n const query = hash.substring(1);\n if (lookupHash) {\n const params = query.split('&');\n for (let i = 0; i < params.length; i++) {\n const pos = params[i].indexOf('=');\n if (pos > 0) {\n const key = params[i].substring(0, pos);\n if (key === lookupHash) {\n found = params[i].substring(pos + 1);\n }\n }\n }\n }\n if (found) return found;\n if (!found && lookupFromHashIndex > -1) {\n const language = hash.match(/\\/([a-zA-Z-]*)/g);\n if (!Array.isArray(language)) return undefined;\n const index = typeof lookupFromHashIndex === 'number' ? lookupFromHashIndex : 0;\n return language[index]?.replace('/', '');\n }\n }\n }\n return found;\n }\n};\n\nlet hasLocalStorageSupport = null;\nconst localStorageAvailable = () => {\n if (hasLocalStorageSupport !== null) return hasLocalStorageSupport;\n try {\n hasLocalStorageSupport = typeof window !== 'undefined' && window.localStorage !== null;\n if (!hasLocalStorageSupport) {\n return false;\n }\n const testKey = 'i18next.translate.boo';\n window.localStorage.setItem(testKey, 'foo');\n window.localStorage.removeItem(testKey);\n } catch (e) {\n hasLocalStorageSupport = false;\n }\n return hasLocalStorageSupport;\n};\nvar localStorage = {\n name: 'localStorage',\n // Deconstruct the options object and extract the lookupLocalStorage property\n lookup(_ref) {\n let {\n lookupLocalStorage\n } = _ref;\n if (lookupLocalStorage && localStorageAvailable()) {\n return window.localStorage.getItem(lookupLocalStorage) || undefined; // Undefined ensures type consistency with the previous version of this function\n }\n return undefined;\n },\n // Deconstruct the options object and extract the lookupLocalStorage property\n cacheUserLanguage(lng, _ref2) {\n let {\n lookupLocalStorage\n } = _ref2;\n if (lookupLocalStorage && localStorageAvailable()) {\n window.localStorage.setItem(lookupLocalStorage, lng);\n }\n }\n};\n\nlet hasSessionStorageSupport = null;\nconst sessionStorageAvailable = () => {\n if (hasSessionStorageSupport !== null) return hasSessionStorageSupport;\n try {\n hasSessionStorageSupport = typeof window !== 'undefined' && window.sessionStorage !== null;\n if (!hasSessionStorageSupport) {\n return false;\n }\n const testKey = 'i18next.translate.boo';\n window.sessionStorage.setItem(testKey, 'foo');\n window.sessionStorage.removeItem(testKey);\n } catch (e) {\n hasSessionStorageSupport = false;\n }\n return hasSessionStorageSupport;\n};\nvar sessionStorage = {\n name: 'sessionStorage',\n lookup(_ref) {\n let {\n lookupSessionStorage\n } = _ref;\n if (lookupSessionStorage && sessionStorageAvailable()) {\n return window.sessionStorage.getItem(lookupSessionStorage) || undefined;\n }\n return undefined;\n },\n cacheUserLanguage(lng, _ref2) {\n let {\n lookupSessionStorage\n } = _ref2;\n if (lookupSessionStorage && sessionStorageAvailable()) {\n window.sessionStorage.setItem(lookupSessionStorage, lng);\n }\n }\n};\n\nvar navigator$1 = {\n name: 'navigator',\n lookup(options) {\n const found = [];\n if (typeof navigator !== 'undefined') {\n const {\n languages,\n userLanguage,\n language\n } = navigator;\n if (languages) {\n // chrome only; not an array, so can't use .push.apply instead of iterating\n for (let i = 0; i < languages.length; i++) {\n found.push(languages[i]);\n }\n }\n if (userLanguage) {\n found.push(userLanguage);\n }\n if (language) {\n found.push(language);\n }\n }\n return found.length > 0 ? found : undefined;\n }\n};\n\nvar htmlTag = {\n name: 'htmlTag',\n // Deconstruct the options object and extract the htmlTag property\n lookup(_ref) {\n let {\n htmlTag\n } = _ref;\n let found;\n const internalHtmlTag = htmlTag || (typeof document !== 'undefined' ? document.documentElement : null);\n if (internalHtmlTag && typeof internalHtmlTag.getAttribute === 'function') {\n found = internalHtmlTag.getAttribute('lang');\n }\n return found;\n }\n};\n\nvar path = {\n name: 'path',\n // Deconstruct the options object and extract the lookupFromPathIndex property\n lookup(_ref) {\n let {\n lookupFromPathIndex\n } = _ref;\n if (typeof window === 'undefined') return undefined;\n const language = window.location.pathname.match(/\\/([a-zA-Z-]*)/g);\n if (!Array.isArray(language)) return undefined;\n const index = typeof lookupFromPathIndex === 'number' ? lookupFromPathIndex : 0;\n return language[index]?.replace('/', '');\n }\n};\n\nvar subdomain = {\n name: 'subdomain',\n lookup(_ref) {\n let {\n lookupFromSubdomainIndex\n } = _ref;\n // If given get the subdomain index else 1\n const internalLookupFromSubdomainIndex = typeof lookupFromSubdomainIndex === 'number' ? lookupFromSubdomainIndex + 1 : 1;\n // get all matches if window.location. is existing\n // first item of match is the match itself and the second is the first group match which should be the first subdomain match\n // is the hostname no public domain get the or option of localhost\n const language = typeof window !== 'undefined' && window.location?.hostname?.match(/^(\\w{2,5})\\.(([a-z0-9-]{1,63}\\.[a-z]{2,6})|localhost)/i);\n\n // if there is no match (null) return undefined\n if (!language) return undefined;\n // return the given group match\n return language[internalLookupFromSubdomainIndex];\n }\n};\n\n// some environments, throws when accessing document.cookie\nlet canCookies = false;\ntry {\n // eslint-disable-next-line no-unused-expressions\n document.cookie;\n canCookies = true;\n // eslint-disable-next-line no-empty\n} catch (e) {}\nconst order = ['querystring', 'cookie', 'localStorage', 'sessionStorage', 'navigator', 'htmlTag'];\nif (!canCookies) order.splice(1, 1);\nconst getDefaults = () => ({\n order,\n lookupQuerystring: 'lng',\n lookupCookie: 'i18next',\n lookupLocalStorage: 'i18nextLng',\n lookupSessionStorage: 'i18nextLng',\n // cache user language\n caches: ['localStorage'],\n excludeCacheFor: ['cimode'],\n // cookieMinutes: 10,\n // cookieDomain: 'myDomain'\n\n convertDetectedLanguage: l => l\n});\nclass Browser {\n constructor(services) {\n let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n this.type = 'languageDetector';\n this.detectors = {};\n this.init(services, options);\n }\n init() {\n let services = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {\n languageUtils: {}\n };\n let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n let i18nOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n this.services = services;\n this.options = defaults(options, this.options || {}, getDefaults());\n if (typeof this.options.convertDetectedLanguage === 'string' && this.options.convertDetectedLanguage.indexOf('15897') > -1) {\n this.options.convertDetectedLanguage = l => l.replace('-', '_');\n }\n\n // backwards compatibility\n if (this.options.lookupFromUrlIndex) this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex;\n this.i18nOptions = i18nOptions;\n this.addDetector(cookie$1);\n this.addDetector(querystring);\n this.addDetector(localStorage);\n this.addDetector(sessionStorage);\n this.addDetector(navigator$1);\n this.addDetector(htmlTag);\n this.addDetector(path);\n this.addDetector(subdomain);\n this.addDetector(hash);\n }\n addDetector(detector) {\n this.detectors[detector.name] = detector;\n return this;\n }\n detect() {\n let detectionOrder = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.options.order;\n let detected = [];\n detectionOrder.forEach(detectorName => {\n if (this.detectors[detectorName]) {\n let lookup = this.detectors[detectorName].lookup(this.options);\n if (lookup && typeof lookup === 'string') lookup = [lookup];\n if (lookup) detected = detected.concat(lookup);\n }\n });\n detected = detected.filter(d => d !== undefined && d !== null && !hasXSS(d)).map(d => this.options.convertDetectedLanguage(d));\n if (this.services && this.services.languageUtils && this.services.languageUtils.getBestMatchFromCodes) return detected; // new i18next v19.5.0\n return detected.length > 0 ? detected[0] : null; // a little backward compatibility\n }\n cacheUserLanguage(lng) {\n let caches = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.options.caches;\n if (!caches) return;\n if (this.options.excludeCacheFor && this.options.excludeCacheFor.indexOf(lng) > -1) return;\n caches.forEach(cacheName => {\n if (this.detectors[cacheName]) this.detectors[cacheName].cacheUserLanguage(lng, this.options);\n });\n }\n}\nBrowser.type = 'languageDetector';\n\nexport { Browser as default };\n","var resourcesToBackend = function resourcesToBackend(res) {\n return {\n type: 'backend',\n init: function init(services, backendOptions, i18nextOptions) {},\n read: function read(language, namespace, callback) {\n if (typeof res === 'function') {\n if (res.length < 3) {\n try {\n var r = res(language, namespace);\n if (r && typeof r.then === 'function') {\n r.then(function (data) {\n return callback(null, data && data.default || data);\n }).catch(callback);\n } else {\n callback(null, r);\n }\n } catch (err) {\n callback(err);\n }\n return;\n }\n res(language, namespace, callback);\n return;\n }\n callback(null, res && res[language] && res[language][namespace]);\n }\n };\n};\n\nexport { resourcesToBackend as default };\n"],"names":[],"mappings":"AAAA,MAAM;AACN,EAAE,KAAK;AACP,EAAE;AACF,CAAC,GAAG,EAAE;AACN,SAAS,QAAQ,CAAC,GAAG,EAAE;AACvB,EAAE,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC,EAAE,MAAM,IAAI;AACnD,IAAI,IAAI,MAAM,EAAE;AAChB,MAAM,KAAK,MAAM,IAAI,IAAI,MAAM,EAAE;AACjC,QAAQ,IAAI,GAAG,CAAC,IAAI,CAAC,KAAK,SAAS,EAAE,GAAG,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,IAAI,CAAC;AAC7D,MAAM;AACN,IAAI;AACJ,EAAE,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