@bigbinary/neeto-commons-frontend 4.13.19 → 4.13.21

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 (302) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/cypress-utils/commands.js +4 -4
  3. package/dist/cjs/cypress-utils/constants/routes.js +2 -1
  4. package/dist/cjs/cypress-utils/constants/routes.js.map +1 -1
  5. package/dist/cjs/cypress-utils/constants/selectors/common.js +2 -1
  6. package/dist/cjs/cypress-utils/constants/selectors/common.js.map +1 -1
  7. package/dist/cjs/cypress-utils/constants/selectors/editor.js +2 -1
  8. package/dist/cjs/cypress-utils/constants/selectors/editor.js.map +1 -1
  9. package/dist/cjs/cypress-utils/constants/selectors/ipRestriction.js +2 -1
  10. package/dist/cjs/cypress-utils/constants/selectors/ipRestriction.js.map +1 -1
  11. package/dist/cjs/cypress-utils/constants/selectors/login.js +2 -1
  12. package/dist/cjs/cypress-utils/constants/selectors/login.js.map +1 -1
  13. package/dist/cjs/cypress-utils/constants/selectors/member.js +2 -1
  14. package/dist/cjs/cypress-utils/constants/selectors/member.js.map +1 -1
  15. package/dist/cjs/cypress-utils/constants/selectors/navigation.js +2 -1
  16. package/dist/cjs/cypress-utils/constants/selectors/navigation.js.map +1 -1
  17. package/dist/cjs/cypress-utils/constants/selectors/signUp.js +2 -1
  18. package/dist/cjs/cypress-utils/constants/selectors/signUp.js.map +1 -1
  19. package/dist/cjs/cypress-utils/constants/selectors/tags.js +2 -1
  20. package/dist/cjs/cypress-utils/constants/selectors/tags.js.map +1 -1
  21. package/dist/cjs/cypress-utils/index.js +4 -4
  22. package/dist/cjs/cypress-utils/utils/authentication.js +2 -1
  23. package/dist/cjs/cypress-utils/utils/authentication.js.map +1 -1
  24. package/dist/cjs/cypress-utils/utils/common.js +2 -1
  25. package/dist/cjs/cypress-utils/utils/common.js.map +1 -1
  26. package/dist/cjs/cypress-utils/utils/email.js +2 -1
  27. package/dist/cjs/cypress-utils/utils/email.js.map +1 -1
  28. package/dist/cjs/cypress-utils/utils/member.js +2 -1
  29. package/dist/cjs/cypress-utils/utils/member.js.map +1 -1
  30. package/dist/cjs/cypress-utils/utils/navigation.js +2 -1
  31. package/dist/cjs/cypress-utils/utils/navigation.js.map +1 -1
  32. package/dist/cjs/cypress-utils/utils/organization.js +2 -1
  33. package/dist/cjs/cypress-utils/utils/organization.js.map +1 -1
  34. package/dist/cjs/cypress-utils/utils/validation.js +2 -1
  35. package/dist/cjs/cypress-utils/utils/validation.js.map +1 -1
  36. package/dist/cjs/defineProperty-Cm9b1C1w.js +32 -0
  37. package/dist/cjs/defineProperty-Cm9b1C1w.js.map +1 -0
  38. package/dist/cjs/index-DDd00LFf.js +378 -0
  39. package/dist/cjs/index-DDd00LFf.js.map +1 -0
  40. package/dist/cjs/initializers/axios.js +2 -2
  41. package/dist/cjs/initializers/axiosInitializer/index.js +2 -2
  42. package/dist/cjs/initializers/dayjs.js +4 -4
  43. package/dist/cjs/initializers/dayjs.js.map +1 -1
  44. package/dist/cjs/initializers/globalProps.js +3 -3
  45. package/dist/cjs/initializers/globalProps.js.map +1 -1
  46. package/dist/cjs/initializers/i18n.js +3 -3
  47. package/dist/cjs/initializers/index.js +4 -4
  48. package/dist/cjs/initializers/reactDevTools.js +1 -1
  49. package/dist/cjs/initializers/utils/utils.js +3 -3
  50. package/dist/cjs/objectWithoutProperties-DQlolGrE.js +26 -0
  51. package/dist/cjs/objectWithoutProperties-DQlolGrE.js.map +1 -0
  52. package/dist/cjs/react-utils/AppContainer/AppContainer.js +2 -1
  53. package/dist/cjs/react-utils/AppContainer/AppContainer.js.map +1 -1
  54. package/dist/cjs/react-utils/AppContainer/index.js +2 -1
  55. package/dist/cjs/react-utils/AppContainer/index.js.map +1 -1
  56. package/dist/cjs/react-utils/BrowserPushNotifications/index.js +1 -1
  57. package/dist/cjs/react-utils/BrowserPushNotifications/pushHelper.js +1 -1
  58. package/dist/cjs/react-utils/BrowserPushNotifications/registerServiceWorker.js +1 -1
  59. package/dist/cjs/react-utils/HoneybadgerErrorBoundary/FallbackComponent.js +5 -4
  60. package/dist/cjs/react-utils/HoneybadgerErrorBoundary/FallbackComponent.js.map +1 -1
  61. package/dist/cjs/react-utils/HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.js +2 -1
  62. package/dist/cjs/react-utils/HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.js.map +1 -1
  63. package/dist/cjs/react-utils/HoneybadgerErrorBoundary/constants.js +1 -1
  64. package/dist/cjs/react-utils/HoneybadgerErrorBoundary/constants.js.map +1 -1
  65. package/dist/cjs/react-utils/HoneybadgerErrorBoundary/index.js +2 -1
  66. package/dist/cjs/react-utils/HoneybadgerErrorBoundary/index.js.map +1 -1
  67. package/dist/cjs/react-utils/PrivateRoute/PrivateRoute.js +3 -2
  68. package/dist/cjs/react-utils/PrivateRoute/PrivateRoute.js.map +1 -1
  69. package/dist/cjs/react-utils/PrivateRoute/index.js +3 -2
  70. package/dist/cjs/react-utils/PrivateRoute/index.js.map +1 -1
  71. package/dist/cjs/react-utils/index.js +7 -6
  72. package/dist/cjs/react-utils/index.js.map +1 -1
  73. package/dist/cjs/react-utils/useBreakpoints/index.js +2 -1
  74. package/dist/cjs/react-utils/useBreakpoints/index.js.map +1 -1
  75. package/dist/cjs/react-utils/useBreakpoints/utils.js +2 -1
  76. package/dist/cjs/react-utils/useBreakpoints/utils.js.map +1 -1
  77. package/dist/cjs/react-utils/useDebounce/index.js +2 -2
  78. package/dist/cjs/react-utils/useDebounce/useDebounce.js +2 -2
  79. package/dist/cjs/react-utils/useFetchNeetoApps/index.js +6 -5
  80. package/dist/cjs/react-utils/useFetchNeetoApps/index.js.map +1 -1
  81. package/dist/cjs/react-utils/useFetchNeetoApps/useFetchNeetoApps.js +6 -5
  82. package/dist/cjs/react-utils/useFetchNeetoApps/useFetchNeetoApps.js.map +1 -1
  83. package/dist/cjs/react-utils/useIsElementVisibleInDom/index.js +2 -2
  84. package/dist/cjs/react-utils/useIsElementVisibleInDom/useForceUpdate.js +2 -2
  85. package/dist/cjs/react-utils/useIsElementVisibleInDom/useIsElementVisibleInDom.js +2 -2
  86. package/dist/cjs/react-utils/useLocalStorage/index.js +7 -6
  87. package/dist/cjs/react-utils/useLocalStorage/index.js.map +1 -1
  88. package/dist/cjs/react-utils/useLocalStorage/useLocalStorage.js +7 -6
  89. package/dist/cjs/react-utils/useLocalStorage/useLocalStorage.js.map +1 -1
  90. package/dist/cjs/react-utils/useMutationWithInvalidation/index.js +3 -2
  91. package/dist/cjs/react-utils/useMutationWithInvalidation/index.js.map +1 -1
  92. package/dist/cjs/react-utils/useMutationWithInvalidation/useMutationWithInvalidation.js +4 -3
  93. package/dist/cjs/react-utils/useMutationWithInvalidation/useMutationWithInvalidation.js.map +1 -1
  94. package/dist/cjs/react-utils/usePersistedQuery/index.js +6 -5
  95. package/dist/cjs/react-utils/usePersistedQuery/index.js.map +1 -1
  96. package/dist/cjs/react-utils/usePersistedQuery/usePersistedQuery.js +6 -5
  97. package/dist/cjs/react-utils/usePersistedQuery/usePersistedQuery.js.map +1 -1
  98. package/dist/cjs/react-utils/useQueryParams/index.js +6 -5
  99. package/dist/cjs/react-utils/useQueryParams/index.js.map +1 -1
  100. package/dist/cjs/react-utils/useQueryParams/useQueryParams.js +6 -5
  101. package/dist/cjs/react-utils/useQueryParams/useQueryParams.js.map +1 -1
  102. package/dist/cjs/react-utils/useRegisterNavigationCheckpoint/index.js +6 -5
  103. package/dist/cjs/react-utils/useRegisterNavigationCheckpoint/index.js.map +1 -1
  104. package/dist/cjs/react-utils/useRegisterNavigationCheckpoint/useRegisterNavigationCheckpoint.js +6 -5
  105. package/dist/cjs/react-utils/useRegisterNavigationCheckpoint/useRegisterNavigationCheckpoint.js.map +1 -1
  106. package/dist/cjs/react-utils/useStateWithDependency/index.js +2 -2
  107. package/dist/cjs/react-utils/useStateWithDependency/useStateWithDependency.js +2 -2
  108. package/dist/cjs/react-utils/withTitle/index.js +2 -1
  109. package/dist/cjs/react-utils/withTitle/index.js.map +1 -1
  110. package/dist/cjs/react-utils/withTitle/withTitle.js +2 -1
  111. package/dist/cjs/react-utils/withTitle/withTitle.js.map +1 -1
  112. package/dist/cjs/slicedToArray-Cbh2WzDH.js +46 -0
  113. package/dist/cjs/slicedToArray-Cbh2WzDH.js.map +1 -0
  114. package/dist/cjs/toConsumableArray-tBKHqzE3.js +22 -0
  115. package/dist/cjs/toConsumableArray-tBKHqzE3.js.map +1 -0
  116. package/dist/cjs/typeof-D4ZZ_FlZ.js +14 -0
  117. package/dist/cjs/typeof-D4ZZ_FlZ.js.map +1 -0
  118. package/dist/cjs/unsupportedIterableToArray-BoHMiKNA.js +19 -0
  119. package/dist/cjs/unsupportedIterableToArray-BoHMiKNA.js.map +1 -0
  120. package/dist/cjs/utils/buildNestedAttributesPayload.js +4 -3
  121. package/dist/cjs/utils/buildNestedAttributesPayload.js.map +1 -1
  122. package/dist/cjs/utils/captureAnalyticsPageView.js +2 -1
  123. package/dist/cjs/utils/captureAnalyticsPageView.js.map +1 -1
  124. package/dist/cjs/utils/createSubscription.js +6 -5
  125. package/dist/cjs/utils/createSubscription.js.map +1 -1
  126. package/dist/cjs/utils/currencyFormat.js +2 -1
  127. package/dist/cjs/utils/currencyFormat.js.map +1 -1
  128. package/dist/cjs/utils/datetime.js +6 -5
  129. package/dist/cjs/utils/datetime.js.map +1 -1
  130. package/dist/cjs/utils/dayjs.js +14 -21
  131. package/dist/cjs/utils/dayjs.js.map +1 -1
  132. package/dist/cjs/utils/general.js +8 -7
  133. package/dist/cjs/utils/general.js.map +1 -1
  134. package/dist/cjs/utils/index.js +7 -6
  135. package/dist/cjs/utils/index.js.map +1 -1
  136. package/dist/cjs/utils/timezonePlugin.js +4 -3
  137. package/dist/cjs/utils/timezonePlugin.js.map +1 -1
  138. package/dist/cypress-utils/commands.js +4 -4
  139. package/dist/cypress-utils/constants/routes.js +2 -1
  140. package/dist/cypress-utils/constants/routes.js.map +1 -1
  141. package/dist/cypress-utils/constants/selectors/common.js +2 -1
  142. package/dist/cypress-utils/constants/selectors/common.js.map +1 -1
  143. package/dist/cypress-utils/constants/selectors/editor.js +2 -1
  144. package/dist/cypress-utils/constants/selectors/editor.js.map +1 -1
  145. package/dist/cypress-utils/constants/selectors/ipRestriction.js +2 -1
  146. package/dist/cypress-utils/constants/selectors/ipRestriction.js.map +1 -1
  147. package/dist/cypress-utils/constants/selectors/login.js +2 -1
  148. package/dist/cypress-utils/constants/selectors/login.js.map +1 -1
  149. package/dist/cypress-utils/constants/selectors/member.js +2 -1
  150. package/dist/cypress-utils/constants/selectors/member.js.map +1 -1
  151. package/dist/cypress-utils/constants/selectors/navigation.js +2 -1
  152. package/dist/cypress-utils/constants/selectors/navigation.js.map +1 -1
  153. package/dist/cypress-utils/constants/selectors/signUp.js +2 -1
  154. package/dist/cypress-utils/constants/selectors/signUp.js.map +1 -1
  155. package/dist/cypress-utils/constants/selectors/tags.js +2 -1
  156. package/dist/cypress-utils/constants/selectors/tags.js.map +1 -1
  157. package/dist/cypress-utils/index.js +4 -4
  158. package/dist/cypress-utils/utils/authentication.js +2 -1
  159. package/dist/cypress-utils/utils/authentication.js.map +1 -1
  160. package/dist/cypress-utils/utils/common.js +2 -1
  161. package/dist/cypress-utils/utils/common.js.map +1 -1
  162. package/dist/cypress-utils/utils/email.js +2 -1
  163. package/dist/cypress-utils/utils/email.js.map +1 -1
  164. package/dist/cypress-utils/utils/member.js +2 -1
  165. package/dist/cypress-utils/utils/member.js.map +1 -1
  166. package/dist/cypress-utils/utils/navigation.js +2 -1
  167. package/dist/cypress-utils/utils/navigation.js.map +1 -1
  168. package/dist/cypress-utils/utils/organization.js +2 -1
  169. package/dist/cypress-utils/utils/organization.js.map +1 -1
  170. package/dist/cypress-utils/utils/validation.js +2 -1
  171. package/dist/cypress-utils/utils/validation.js.map +1 -1
  172. package/dist/defineProperty-D_V-nTlo.js +29 -0
  173. package/dist/defineProperty-D_V-nTlo.js.map +1 -0
  174. package/dist/index-D_s_toMy.js +375 -0
  175. package/dist/index-D_s_toMy.js.map +1 -0
  176. package/dist/initializers/axios.js +2 -2
  177. package/dist/initializers/axiosInitializer/index.js +2 -2
  178. package/dist/initializers/dayjs.js +4 -4
  179. package/dist/initializers/dayjs.js.map +1 -1
  180. package/dist/initializers/globalProps.js +3 -3
  181. package/dist/initializers/globalProps.js.map +1 -1
  182. package/dist/initializers/i18n.js +3 -3
  183. package/dist/initializers/index.js +4 -4
  184. package/dist/initializers/reactDevTools.js +1 -1
  185. package/dist/initializers/utils/utils.js +3 -3
  186. package/dist/objectWithoutProperties-PcUN5OqL.js +24 -0
  187. package/dist/objectWithoutProperties-PcUN5OqL.js.map +1 -0
  188. package/dist/react-utils/AppContainer/AppContainer.js +2 -1
  189. package/dist/react-utils/AppContainer/AppContainer.js.map +1 -1
  190. package/dist/react-utils/AppContainer/index.js +2 -1
  191. package/dist/react-utils/AppContainer/index.js.map +1 -1
  192. package/dist/react-utils/BrowserPushNotifications/index.js +1 -1
  193. package/dist/react-utils/BrowserPushNotifications/pushHelper.js +1 -1
  194. package/dist/react-utils/BrowserPushNotifications/registerServiceWorker.js +1 -1
  195. package/dist/react-utils/HoneybadgerErrorBoundary/FallbackComponent.js +5 -4
  196. package/dist/react-utils/HoneybadgerErrorBoundary/FallbackComponent.js.map +1 -1
  197. package/dist/react-utils/HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.js +2 -1
  198. package/dist/react-utils/HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.js.map +1 -1
  199. package/dist/react-utils/HoneybadgerErrorBoundary/constants.js +1 -1
  200. package/dist/react-utils/HoneybadgerErrorBoundary/constants.js.map +1 -1
  201. package/dist/react-utils/HoneybadgerErrorBoundary/index.js +2 -1
  202. package/dist/react-utils/HoneybadgerErrorBoundary/index.js.map +1 -1
  203. package/dist/react-utils/PrivateRoute/PrivateRoute.js +3 -2
  204. package/dist/react-utils/PrivateRoute/PrivateRoute.js.map +1 -1
  205. package/dist/react-utils/PrivateRoute/index.js +3 -2
  206. package/dist/react-utils/PrivateRoute/index.js.map +1 -1
  207. package/dist/react-utils/index.js +7 -6
  208. package/dist/react-utils/index.js.map +1 -1
  209. package/dist/react-utils/useBreakpoints/index.js +2 -1
  210. package/dist/react-utils/useBreakpoints/index.js.map +1 -1
  211. package/dist/react-utils/useBreakpoints/utils.js +2 -1
  212. package/dist/react-utils/useBreakpoints/utils.js.map +1 -1
  213. package/dist/react-utils/useDebounce/index.js +2 -2
  214. package/dist/react-utils/useDebounce/useDebounce.js +2 -2
  215. package/dist/react-utils/useFetchNeetoApps/index.js +6 -5
  216. package/dist/react-utils/useFetchNeetoApps/index.js.map +1 -1
  217. package/dist/react-utils/useFetchNeetoApps/useFetchNeetoApps.js +6 -5
  218. package/dist/react-utils/useFetchNeetoApps/useFetchNeetoApps.js.map +1 -1
  219. package/dist/react-utils/useIsElementVisibleInDom/index.js +2 -2
  220. package/dist/react-utils/useIsElementVisibleInDom/useForceUpdate.js +2 -2
  221. package/dist/react-utils/useIsElementVisibleInDom/useIsElementVisibleInDom.js +2 -2
  222. package/dist/react-utils/useLocalStorage/index.js +7 -6
  223. package/dist/react-utils/useLocalStorage/index.js.map +1 -1
  224. package/dist/react-utils/useLocalStorage/useLocalStorage.js +7 -6
  225. package/dist/react-utils/useLocalStorage/useLocalStorage.js.map +1 -1
  226. package/dist/react-utils/useMutationWithInvalidation/index.js +3 -2
  227. package/dist/react-utils/useMutationWithInvalidation/index.js.map +1 -1
  228. package/dist/react-utils/useMutationWithInvalidation/useMutationWithInvalidation.js +4 -3
  229. package/dist/react-utils/useMutationWithInvalidation/useMutationWithInvalidation.js.map +1 -1
  230. package/dist/react-utils/usePersistedQuery/index.js +6 -5
  231. package/dist/react-utils/usePersistedQuery/index.js.map +1 -1
  232. package/dist/react-utils/usePersistedQuery/usePersistedQuery.js +6 -5
  233. package/dist/react-utils/usePersistedQuery/usePersistedQuery.js.map +1 -1
  234. package/dist/react-utils/useQueryParams/index.js +6 -5
  235. package/dist/react-utils/useQueryParams/index.js.map +1 -1
  236. package/dist/react-utils/useQueryParams/useQueryParams.js +6 -5
  237. package/dist/react-utils/useQueryParams/useQueryParams.js.map +1 -1
  238. package/dist/react-utils/useRegisterNavigationCheckpoint/index.js +6 -5
  239. package/dist/react-utils/useRegisterNavigationCheckpoint/index.js.map +1 -1
  240. package/dist/react-utils/useRegisterNavigationCheckpoint/useRegisterNavigationCheckpoint.js +6 -5
  241. package/dist/react-utils/useRegisterNavigationCheckpoint/useRegisterNavigationCheckpoint.js.map +1 -1
  242. package/dist/react-utils/useStateWithDependency/index.js +2 -2
  243. package/dist/react-utils/useStateWithDependency/useStateWithDependency.js +2 -2
  244. package/dist/react-utils/withTitle/index.js +2 -1
  245. package/dist/react-utils/withTitle/index.js.map +1 -1
  246. package/dist/react-utils/withTitle/withTitle.js +2 -1
  247. package/dist/react-utils/withTitle/withTitle.js.map +1 -1
  248. package/dist/slicedToArray-BWOQ_OdI.js +44 -0
  249. package/dist/slicedToArray-BWOQ_OdI.js.map +1 -0
  250. package/dist/toConsumableArray-B7CFjjkW.js +20 -0
  251. package/dist/toConsumableArray-B7CFjjkW.js.map +1 -0
  252. package/dist/typeof-D-UKOauR.js +12 -0
  253. package/dist/typeof-D-UKOauR.js.map +1 -0
  254. package/dist/unsupportedIterableToArray-Dqz8Y8_I.js +16 -0
  255. package/dist/unsupportedIterableToArray-Dqz8Y8_I.js.map +1 -0
  256. package/dist/utils/buildNestedAttributesPayload.js +4 -3
  257. package/dist/utils/buildNestedAttributesPayload.js.map +1 -1
  258. package/dist/utils/captureAnalyticsPageView.js +2 -1
  259. package/dist/utils/captureAnalyticsPageView.js.map +1 -1
  260. package/dist/utils/createSubscription.js +6 -5
  261. package/dist/utils/createSubscription.js.map +1 -1
  262. package/dist/utils/currencyFormat.js +2 -1
  263. package/dist/utils/currencyFormat.js.map +1 -1
  264. package/dist/utils/datetime.js +6 -5
  265. package/dist/utils/datetime.js.map +1 -1
  266. package/dist/utils/dayjs.js +14 -21
  267. package/dist/utils/dayjs.js.map +1 -1
  268. package/dist/utils/general.js +8 -7
  269. package/dist/utils/general.js.map +1 -1
  270. package/dist/utils/index.js +7 -6
  271. package/dist/utils/index.js.map +1 -1
  272. package/dist/utils/timezonePlugin.js +4 -3
  273. package/dist/utils/timezonePlugin.js.map +1 -1
  274. package/package.json +44 -44
  275. package/dist/cjs/defineProperty-997UgAIV.js +0 -19
  276. package/dist/cjs/defineProperty-997UgAIV.js.map +0 -1
  277. package/dist/cjs/index-H4FWVZW-.js +0 -439
  278. package/dist/cjs/index-H4FWVZW-.js.map +0 -1
  279. package/dist/cjs/objectWithoutProperties-DKElrbI9.js +0 -38
  280. package/dist/cjs/objectWithoutProperties-DKElrbI9.js.map +0 -1
  281. package/dist/cjs/slicedToArray-xtNEn5LJ.js +0 -48
  282. package/dist/cjs/slicedToArray-xtNEn5LJ.js.map +0 -1
  283. package/dist/cjs/toConsumableArray-Da_S-3Fb.js +0 -22
  284. package/dist/cjs/toConsumableArray-Da_S-3Fb.js.map +0 -1
  285. package/dist/cjs/typeof-CKZ7gZmW.js +0 -14
  286. package/dist/cjs/typeof-CKZ7gZmW.js.map +0 -1
  287. package/dist/cjs/unsupportedIterableToArray-CP9uaN0w.js +0 -24
  288. package/dist/cjs/unsupportedIterableToArray-CP9uaN0w.js.map +0 -1
  289. package/dist/defineProperty-CEd-kZQW.js +0 -17
  290. package/dist/defineProperty-CEd-kZQW.js.map +0 -1
  291. package/dist/index-CRoDfiJc.js +0 -436
  292. package/dist/index-CRoDfiJc.js.map +0 -1
  293. package/dist/objectWithoutProperties-B90Wg9LD.js +0 -36
  294. package/dist/objectWithoutProperties-B90Wg9LD.js.map +0 -1
  295. package/dist/slicedToArray-B_J-CC8-.js +0 -46
  296. package/dist/slicedToArray-B_J-CC8-.js.map +0 -1
  297. package/dist/toConsumableArray-CQcqnqnw.js +0 -20
  298. package/dist/toConsumableArray-CQcqnqnw.js.map +0 -1
  299. package/dist/typeof-C6-BY_SI.js +0 -12
  300. package/dist/typeof-C6-BY_SI.js.map +0 -1
  301. package/dist/unsupportedIterableToArray-wRn9bJ2J.js +0 -21
  302. package/dist/unsupportedIterableToArray-wRn9bJ2J.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"objectWithoutProperties-DQlolGrE.js","sources":["../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"],"sourcesContent":["function _objectWithoutPropertiesLoose(r, e) {\n if (null == r) return {};\n var t = {};\n for (var n in r) if ({}.hasOwnProperty.call(r, n)) {\n if (e.includes(n)) continue;\n t[n] = r[n];\n }\n return t;\n}\nexport { _objectWithoutPropertiesLoose as default };","import objectWithoutPropertiesLoose from \"./objectWithoutPropertiesLoose.js\";\nfunction _objectWithoutProperties(e, t) {\n if (null == e) return {};\n var o,\n r,\n i = objectWithoutPropertiesLoose(e, t);\n if (Object.getOwnPropertySymbols) {\n var s = Object.getOwnPropertySymbols(e);\n for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);\n }\n return i;\n}\nexport { _objectWithoutProperties as default };"],"names":["objectWithoutPropertiesLoose"],"mappings":";;AAAA,SAAS,6BAA6B,CAAC,CAAC,EAAE,CAAC,EAAE;AAC7C,EAAE,IAAI,IAAI,IAAI,CAAC,EAAE,OAAO,EAAE,CAAC;AAC3B,EAAE,IAAI,CAAC,GAAG,EAAE,CAAC;AACb,EAAE,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE;AACrD,IAAI,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,SAAS;AAChC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;AAChB,GAAG;AACH,EAAE,OAAO,CAAC,CAAC;AACX;;ACPA,SAAS,wBAAwB,CAAC,CAAC,EAAE,CAAC,EAAE;AACxC,EAAE,IAAI,IAAI,IAAI,CAAC,EAAE,OAAO,EAAE,CAAC;AAC3B,EAAE,IAAI,CAAC;AACP,IAAI,CAAC;AACL,IAAI,CAAC,GAAGA,6BAA4B,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAC3C,EAAE,IAAI,MAAM,CAAC,qBAAqB,EAAE;AACpC,IAAI,IAAI,CAAC,GAAG,MAAM,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC;AAC5C,IAAI,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAClH,GAAG;AACH,EAAE,OAAO,CAAC,CAAC;AACX;;;;","x_google_ignoreList":[0,1]}
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var defineProperty = require('../../defineProperty-997UgAIV.js');
3
+ var defineProperty = require('../../defineProperty-Cm9b1C1w.js');
4
4
  var reactQueryDevtools = require('@tanstack/react-query-devtools');
5
5
  var BrowserSupport = require('@bigbinary/neeto-molecules/BrowserSupport');
6
6
  var StickyRibbonsContainer = require('@bigbinary/neeto-molecules/StickyRibbonsContainer');
@@ -9,6 +9,7 @@ var reactToastify = require('react-toastify');
9
9
  var reactUtils_HoneybadgerErrorBoundary_HoneybadgerErrorBoundary = require('../HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.js');
10
10
  var reactUtils_QueryClientProvider_QueryClientProvider = require('../QueryClientProvider/QueryClientProvider.js');
11
11
  var jsxRuntime = require('react/jsx-runtime');
12
+ require('../../typeof-D4ZZ_FlZ.js');
12
13
  require('@honeybadger-io/react');
13
14
  require('../HoneybadgerErrorBoundary/constants.js');
14
15
  require('../HoneybadgerErrorBoundary/FallbackComponent.js');
@@ -1 +1 @@
1
- {"version":3,"file":"AppContainer.js","sources":["../../../../node_modules/rollup-plugin-styles/dist/runtime/inject-css.js","../../../../src/react-utils/AppContainer/AppContainer.jsx"],"sourcesContent":["var e=[],t=[];function n(n,r){if(n&&\"undefined\"!=typeof document){var a,s=!0===r.prepend?\"prepend\":\"append\",d=!0===r.singleTag,i=\"string\"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName(\"head\")[0];if(d){var u=e.indexOf(i);-1===u&&(u=e.push(i)-1,t[u]={}),a=t[u]&&t[u][s]?t[u][s]:t[u][s]=c()}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n))}function c(){var e=document.createElement(\"style\");if(e.setAttribute(\"type\",\"text/css\"),r.attributes)for(var t=Object.keys(r.attributes),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a=\"prepend\"===s?\"afterbegin\":\"beforeend\";return i.insertAdjacentElement(a,e),e}}export{n as default};\n","import { ReactQueryDevtools } from \"@tanstack/react-query-devtools\";\nimport \"assets/stylesheets/app-container.css\";\nimport BrowserSupport from \"neetomolecules/BrowserSupport\";\nimport StickyRibbonsContainer from \"neetomolecules/StickyRibbonsContainer\";\nimport { BrowserRouter } from \"react-router-dom\";\nimport { ToastContainer } from \"react-toastify\";\nimport HoneybadgerErrorBoundary from \"react-utils/HoneybadgerErrorBoundary\";\nimport QueryClientProvider from \"react-utils/QueryClientProvider/QueryClientProvider\";\n\nconst AppContainer = ({\n children,\n browserSupportProps,\n enableStickyRibbons = true,\n honeybadgerErrorBoundaryProps,\n reactQueryDevtoolsProps,\n toastContainerProps,\n}) => (\n <HoneybadgerErrorBoundary {...honeybadgerErrorBoundaryProps}>\n <BrowserSupport {...browserSupportProps}>\n <ToastContainer {...toastContainerProps} />\n <QueryClientProvider>\n {globalProps.authenticated && enableStickyRibbons && (\n <StickyRibbonsContainer />\n )}\n <BrowserRouter>{children}</BrowserRouter>\n <ReactQueryDevtools\n initialIsOpen={false}\n position=\"bottom\"\n {...reactQueryDevtoolsProps}\n />\n </QueryClientProvider>\n </BrowserSupport>\n </HoneybadgerErrorBoundary>\n);\n\nexport default AppContainer;\n"],"names":["AppContainer","_ref","children","browserSupportProps","_ref$enableStickyRibb","enableStickyRibbons","honeybadgerErrorBoundaryProps","reactQueryDevtoolsProps","toastContainerProps","_jsx","HoneybadgerErrorBoundary","_objectSpread","_jsxs","BrowserSupport","ToastContainer","QueryClientProvider","globalProps","authenticated","StickyRibbonsContainer","BrowserRouter","ReactQueryDevtools","initialIsOpen","position"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,WAAW,EAAE,OAAO,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,QAAQ,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,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css.js","../../../../src/react-utils/AppContainer/AppContainer.jsx"],"sourcesContent":["var e=[],t=[];function n(n,r){if(n&&\"undefined\"!=typeof document){var a,s=!0===r.prepend?\"prepend\":\"append\",d=!0===r.singleTag,i=\"string\"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName(\"head\")[0];if(d){var u=e.indexOf(i);-1===u&&(u=e.push(i)-1,t[u]={}),a=t[u]&&t[u][s]?t[u][s]:t[u][s]=c()}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n))}function c(){var e=document.createElement(\"style\");if(e.setAttribute(\"type\",\"text/css\"),r.attributes)for(var t=Object.keys(r.attributes),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a=\"prepend\"===s?\"afterbegin\":\"beforeend\";return i.insertAdjacentElement(a,e),e}}export{n as default};\n","import { ReactQueryDevtools } from \"@tanstack/react-query-devtools\";\nimport \"assets/stylesheets/app-container.css\";\nimport BrowserSupport from \"neetomolecules/BrowserSupport\";\nimport StickyRibbonsContainer from \"neetomolecules/StickyRibbonsContainer\";\nimport { BrowserRouter } from \"react-router-dom\";\nimport { ToastContainer } from \"react-toastify\";\nimport HoneybadgerErrorBoundary from \"react-utils/HoneybadgerErrorBoundary\";\nimport QueryClientProvider from \"react-utils/QueryClientProvider/QueryClientProvider\";\n\nconst AppContainer = ({\n children,\n browserSupportProps,\n enableStickyRibbons = true,\n honeybadgerErrorBoundaryProps,\n reactQueryDevtoolsProps,\n toastContainerProps,\n}) => (\n <HoneybadgerErrorBoundary {...honeybadgerErrorBoundaryProps}>\n <BrowserSupport {...browserSupportProps}>\n <ToastContainer {...toastContainerProps} />\n <QueryClientProvider>\n {globalProps.authenticated && enableStickyRibbons && (\n <StickyRibbonsContainer />\n )}\n <BrowserRouter>{children}</BrowserRouter>\n <ReactQueryDevtools\n initialIsOpen={false}\n position=\"bottom\"\n {...reactQueryDevtoolsProps}\n />\n </QueryClientProvider>\n </BrowserSupport>\n </HoneybadgerErrorBoundary>\n);\n\nexport default AppContainer;\n"],"names":["AppContainer","_ref","children","browserSupportProps","_ref$enableStickyRibb","enableStickyRibbons","honeybadgerErrorBoundaryProps","reactQueryDevtoolsProps","toastContainerProps","_jsx","HoneybadgerErrorBoundary","_objectSpread","_jsxs","BrowserSupport","ToastContainer","QueryClientProvider","globalProps","authenticated","StickyRibbonsContainer","BrowserRouter","ReactQueryDevtools","initialIsOpen","position"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,WAAW,EAAE,OAAO,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,QAAQ,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC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AA,CAA7BK,6BAA6B;IAC7BC,uBAAuB,GAAAN,IAAA,CAAvBM,uBAAuB;IACvBC,mBAAmB,GAAAP,IAAA,CAAnBO,mBAAmB,CAAA;EAAA,oBAEnBC,cAAA,CAACC,4DAAwB,EAAAC,aAAA,CAAAA,aAAA,KAAKL,6BAA6B,CAAA,EAAA,EAAA,EAAA;IAAAJ,QAAA,eACzDU,eAAA,CAACC,cAAc,EAAAF,aAAA,CAAAA,aAAA,CAAA,EAAA,EAAKR,mBAAmB,CAAA,EAAA,EAAA,EAAA;AAAAD,MAAAA,QAAA,EACrCO,cAAAA,cAAA,CAACK,4BAAc,EAAAH,aAAA,CAAKH,EAAAA,EAAAA,mBAAmB,CAAG,CAAC,eAC3CI,eAAA,CAACG,kDAAmB,EAAA;AAAAb,QAAAA,QAAA,EACjBc,CAAAA,WAAW,CAACC,aAAa,IAAIZ,mBAAmB,iBAC/CI,cAAA,CAACS,sBAAsB,EAAE,EAAA,CAC1B,eACDT,cAAA,CAACU,4BAAa,EAAA;AAAAjB,UAAAA,QAAA,EAAEA,QAAAA;AAAQ,SAAgB,CAAC,eACzCO,cAAA,CAACW,qCAAkB,EAAAT,aAAA,CAAA;AACjBU,UAAAA,aAAa,EAAE,KAAM;AACrBC,UAAAA,QAAQ,EAAC,QAAA;SACLf,EAAAA,uBAAuB,CAC5B,CAAC,CAAA;AAAA,OACiB,CAAC,CAAA;KACR,CAAA,CAAA;AAAC,GAAA,CACO,CAAC,CAAA;AAAA;;;;","x_google_ignoreList":[0]}
@@ -1,7 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  var reactUtils_AppContainer_AppContainer = require('./AppContainer.js');
4
- require('../../defineProperty-997UgAIV.js');
4
+ require('../../defineProperty-Cm9b1C1w.js');
5
+ require('../../typeof-D4ZZ_FlZ.js');
5
6
  require('@tanstack/react-query-devtools');
6
7
  require('@bigbinary/neeto-molecules/BrowserSupport');
7
8
  require('@bigbinary/neeto-molecules/StickyRibbonsContainer');
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var reactUtils_BrowserPushNotifications_pushHelper = require('./pushHelper.js');
4
- require('../../index-H4FWVZW-.js');
4
+ require('../../index-DDd00LFf.js');
5
5
  require('../../_commonjsHelpers-CFO10eej.js');
6
6
  require('./devices.js');
7
7
  require('axios');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('../../index-H4FWVZW-.js');
3
+ var index = require('../../index-DDd00LFf.js');
4
4
  var reactUtils_BrowserPushNotifications_devices = require('./devices.js');
5
5
  var reactUtils_BrowserPushNotifications_registerServiceWorker = require('./registerServiceWorker.js');
6
6
  require('../../_commonjsHelpers-CFO10eej.js');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('../../index-H4FWVZW-.js');
3
+ var index = require('../../index-DDd00LFf.js');
4
4
  require('../../_commonjsHelpers-CFO10eej.js');
5
5
 
6
6
  // THIS FILE HAS BEEN ADDED BY NEETO NOTIFICATIONS ENGINE
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var defineProperty = require('../../defineProperty-997UgAIV.js');
3
+ var defineProperty = require('../../defineProperty-Cm9b1C1w.js');
4
4
  var react = require('react');
5
5
  var DOMPurify = require('dompurify');
6
6
  var Button = require('@bigbinary/neetoui/Button');
@@ -8,6 +8,7 @@ var Typography = require('@bigbinary/neetoui/Typography');
8
8
  var ramda = require('ramda');
9
9
  var reactI18next = require('react-i18next');
10
10
  var jsxRuntime = require('react/jsx-runtime');
11
+ require('../../typeof-D4ZZ_FlZ.js');
11
12
 
12
13
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
13
14
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { defineProperty._defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -87,9 +88,9 @@ var FallbackComponent = function FallbackComponent() {
87
88
  contactus: /*#__PURE__*/jsxRuntime.jsx(Button, {
88
89
  style: "link",
89
90
  onClick: function onClick() {
90
- var _window$NeetoChat, _window$NeetoChat$con, _window$NeetoChat2, _window$NeetoChat2$co;
91
- (_window$NeetoChat = window.NeetoChat) === null || _window$NeetoChat === void 0 ? void 0 : (_window$NeetoChat$con = _window$NeetoChat.contextualHelp) === null || _window$NeetoChat$con === void 0 ? void 0 : _window$NeetoChat$con.maximizeWidget();
92
- (_window$NeetoChat2 = window.NeetoChat) === null || _window$NeetoChat2 === void 0 ? void 0 : (_window$NeetoChat2$co = _window$NeetoChat2.contextualHelp) === null || _window$NeetoChat2$co === void 0 ? void 0 : _window$NeetoChat2$co.openWidget();
91
+ var _window$NeetoChat, _window$NeetoChat2;
92
+ (_window$NeetoChat = window.NeetoChat) === null || _window$NeetoChat === void 0 || (_window$NeetoChat = _window$NeetoChat.contextualHelp) === null || _window$NeetoChat === void 0 || _window$NeetoChat.maximizeWidget();
93
+ (_window$NeetoChat2 = window.NeetoChat) === null || _window$NeetoChat2 === void 0 || (_window$NeetoChat2 = _window$NeetoChat2.contextualHelp) === null || _window$NeetoChat2 === void 0 || _window$NeetoChat2.openWidget();
93
94
  }
94
95
  })
95
96
  }
@@ -1 +1 @@
1
- {"version":3,"file":"FallbackComponent.js","sources":["../../../../src/react-utils/HoneybadgerErrorBoundary/FallbackComponent.jsx"],"sourcesContent":["import { useEffect } from \"react\";\n\nimport FallbackComponentImage from \"assets/images/fallback-component.svg\";\nimport DOMPurify from \"dompurify\";\nimport { Button, Typography } from \"neetoui\";\nimport { isNil } from \"ramda\";\nimport { Trans, useTranslation } from \"react-i18next\";\n\nconst sanitize = DOMPurify.sanitize;\n\nconst FallbackComponent = () => {\n const { t } = useTranslation();\n\n useEffect(() => {\n const listener = e => {\n if (isNil(e.state)) return;\n window.location.href = sanitize(e.target?.location.href);\n };\n window.addEventListener(\"popstate\", listener);\n\n return () => window.removeEventListener(\"popstate\", listener);\n }, []);\n\n return (\n <div className=\"flex h-screen w-full flex-row items-start justify-start\">\n <div className=\"m-auto text-center\">\n <div className=\"m-auto mb-8 flex items-center justify-center\">\n <FallbackComponentImage />\n </div>\n <Typography\n className=\"mb-4\"\n component=\"h2\"\n style=\"h2\"\n weight=\"semibold\"\n >\n {t(\"neetoCommons.fallbackComponent.somethingWentWrong\")}\n </Typography>\n <Typography\n className=\"neeto-ui-text-gray-600 mb-8\"\n component=\"p\"\n style=\"body1\"\n weight=\"normal\"\n >\n <Trans\n i18nKey=\"neetoCommons.fallbackComponent.description\"\n components={{\n reloading: (\n <Button style=\"link\" onClick={() => window.location.reload()} />\n ),\n contactus: (\n <Button\n style=\"link\"\n onClick={() => {\n window.NeetoChat?.contextualHelp?.maximizeWidget();\n window.NeetoChat?.contextualHelp?.openWidget();\n }}\n />\n ),\n }}\n />\n </Typography>\n </div>\n </div>\n );\n};\n\nexport default FallbackComponent;\n"],"names":["FallbackComponentImage","props","_jsxs","_objectSpread","children","_jsx","d","fill","defaultProps","width","height","viewBox","xmlns","sanitize","DOMPurify","FallbackComponent","_useTranslation","useTranslation","t","useEffect","listener","e","_e$target","isNil","state","window","location","href","target","addEventListener","removeEventListener","className","Typography","component","style","weight","Trans","i18nKey","components","reloading","Button","onClick","reload","contactus","_window$NeetoChat","_window$NeetoChat$con","_window$NeetoChat2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EL,WAAA;SACD,CAAA;AAAC,OACQ,CAAC,CAAA;KACV,CAAA;AAAC,GACH,CAAC,CAAA;AAEV;;;;"}
1
+ {"version":3,"file":"FallbackComponent.js","sources":["../../../../src/react-utils/HoneybadgerErrorBoundary/FallbackComponent.jsx"],"sourcesContent":["import { useEffect } from \"react\";\n\nimport FallbackComponentImage from \"assets/images/fallback-component.svg\";\nimport DOMPurify from \"dompurify\";\nimport { Button, Typography } from \"neetoui\";\nimport { isNil } from \"ramda\";\nimport { Trans, useTranslation } from \"react-i18next\";\n\nconst sanitize = DOMPurify.sanitize;\n\nconst FallbackComponent = () => {\n const { t } = useTranslation();\n\n useEffect(() => {\n const listener = e => {\n if (isNil(e.state)) return;\n window.location.href = sanitize(e.target?.location.href);\n };\n window.addEventListener(\"popstate\", listener);\n\n return () => window.removeEventListener(\"popstate\", listener);\n }, []);\n\n return (\n <div className=\"flex h-screen w-full flex-row items-start justify-start\">\n <div className=\"m-auto text-center\">\n <div className=\"m-auto mb-8 flex items-center justify-center\">\n <FallbackComponentImage />\n </div>\n <Typography\n className=\"mb-4\"\n component=\"h2\"\n style=\"h2\"\n weight=\"semibold\"\n >\n {t(\"neetoCommons.fallbackComponent.somethingWentWrong\")}\n </Typography>\n <Typography\n className=\"neeto-ui-text-gray-600 mb-8\"\n component=\"p\"\n style=\"body1\"\n weight=\"normal\"\n >\n <Trans\n i18nKey=\"neetoCommons.fallbackComponent.description\"\n components={{\n reloading: (\n <Button style=\"link\" onClick={() => window.location.reload()} />\n ),\n contactus: (\n <Button\n style=\"link\"\n onClick={() => {\n window.NeetoChat?.contextualHelp?.maximizeWidget();\n window.NeetoChat?.contextualHelp?.openWidget();\n }}\n />\n ),\n }}\n />\n </Typography>\n </div>\n </div>\n );\n};\n\nexport default FallbackComponent;\n"],"names":["FallbackComponentImage","props","_jsxs","_objectSpread","children","_jsx","d","fill","defaultProps","width","height","viewBox","xmlns","sanitize","DOMPurify","FallbackComponent","_useTranslation","useTranslation","t","useEffect","listener","e","_e$target","isNil","state","window","location","href","target","addEventListener","removeEventListener","className","Typography","component","style","weight","Trans","i18nKey","components","reloading","Button","onClick","reload","contactus","_window$NeetoChat","_window$NeetoChat2","NeetoChat","contextualHelp","maximizeWidget","openWidget"],"mappings":";;;;;;;;;;;;;;AAAkC,IAE3BA,sBAAsB,GAAA,SAAtBA,sBAAsBA,CAAAC,KAAA,EAAA;AAAA,EAAA,oBAAAC,eAAA,CAAAC,KAAAA,EAAAA,aAAA,CAAAA,aAAA,KAAAF,KAAA,CAAA,EAAA,EAAA,EAAA;AAAAG,IAAAA,QAAA,gBAAAC,cAAA,CAAA,MAAA,EAAA;MAAAC,CAAA,EAAA,s8BAAA;MAAAC,IAAA,EAAA,SAAA;AAAA,KAAA,CAAA,eAAAF,cAAA,CAAA,MAAA,EAAA;MAAAC,CAAA,EAAA,w4BAAA;MAAAC,IAAA,EAAA,SAAA;AAAA,KAAA,CAAA,eAAAF,cAAA,CAAA,MAAA,EAAA;MAAAC,CAAA,EAAA,w4BAAA;MAAAC,IAAA,EAAA,SAAA;AAAA,KAAA,CAAA,eAAAF,cAAA,CAAA,MAAA,EAAA;MAAAC,CAAA,EAAA,ipFAAA;MAAAC,IAAA,EAAA,SAAA;AAAA,KAAA,CAAA,eAAAF,cAAA,CAAA,MAAA,EAAA;MAAAC,CAAA,EAAA,04CAAA;MAAAC,IAAA,EAAA,SAAA;AAAA,KAAA,CAAA,eAAAF,cAAA,CAAA,MAAA,EAAA;MAAAC,CAAA,EAAA,ukHAAA;MAAAC,IAAA,EAAA,SAAA;AAAA,KAAA,CAAA,CAAA;AAAA,GAAA,CAAA,CAAA,CAAA;AAAA,CAAA,CAAA;AAAtBP,sBAAsB,CAAAQ,YAAA,GAAA;EAAAC,KAAA,EAAA,KAAA;EAAAC,MAAA,EAAA,KAAA;EAAAC,OAAA,EAAA,aAAA;EAAAJ,IAAA,EAAA,MAAA;AAAA,EAAA,eAAA,EAAA,cAAA;EAAAK,KAAA,EAAA,4BAA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CAAA;AAChD,eAAA;aACD,CAAA;AAEL,WAAA;SACD,CAAA;AAAC,OACQ,CAAC,CAAA;KACV,CAAA;AAAC,GACH,CAAC,CAAA;AAEV;;;;"}
@@ -5,7 +5,8 @@ var reactUtils_HoneybadgerErrorBoundary_constants = require('./constants.js');
5
5
  var reactUtils_HoneybadgerErrorBoundary_FallbackComponent = require('./FallbackComponent.js');
6
6
  var reactUtils_HoneybadgerErrorBoundary_utils = require('./utils.js');
7
7
  var jsxRuntime = require('react/jsx-runtime');
8
- require('../../defineProperty-997UgAIV.js');
8
+ require('../../defineProperty-Cm9b1C1w.js');
9
+ require('../../typeof-D4ZZ_FlZ.js');
9
10
  require('react');
10
11
  require('dompurify');
11
12
  require('@bigbinary/neetoui/Button');
@@ -1 +1 @@
1
- {"version":3,"file":"HoneybadgerErrorBoundary.js","sources":["../../../../src/react-utils/HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.jsx"],"sourcesContent":["import {\n Honeybadger,\n HoneybadgerErrorBoundary as ErrorBoundary,\n} from \"@honeybadger-io/react\";\n\nimport {\n IGNORABLE_ERROR_NAMES_REGEX,\n IGNORABLE_ERRORS_REGEX,\n} from \"./constants\";\nimport FallbackComponent from \"./FallbackComponent\";\nimport { attachContext, getSessionReplayUrl } from \"./utils\";\n\n/** @type {import(\"neetocommons/react-utils\").HoneybadgerErrorBoundary} */\nconst HoneybadgerErrorBoundary = ({\n children,\n ErrorComponent = FallbackComponent,\n filterErrors = undefined,\n}) => {\n Honeybadger.beforeNotify(notice => {\n if (!notice) return false;\n\n const isIgnorable =\n IGNORABLE_ERRORS_REGEX.test(notice.message) ||\n IGNORABLE_ERROR_NAMES_REGEX.test(notice.name) ||\n notice.stack.includes(\"chrome-extension://\") ||\n filterErrors?.(notice) === false;\n\n if (isIgnorable) return false;\n\n const context = { errorClass: notice.name };\n\n if (notice.name === \"ChunkLoadError\") {\n context.IGNORABLE_ERROR_NAMES_REGEX = IGNORABLE_ERROR_NAMES_REGEX;\n context.isChunkLoadError = IGNORABLE_ERROR_NAMES_REGEX.test(notice.name);\n }\n\n const user = globalProps.user?.email;\n if (user) context.user = user;\n\n const sessionReplay = getSessionReplayUrl();\n if (sessionReplay) context.sessionReplay = sessionReplay;\n\n attachContext(notice, context);\n\n return true;\n });\n\n const honeybadger = Honeybadger.configure({\n apiKey: globalProps.honeybadgerApiKey,\n environment: globalProps.railsEnv,\n revision: globalProps.honeybadgerRevision,\n developmentEnvironments: [\"development\", \"test\"],\n enableUncaught: true,\n async: true,\n breadcrumbsEnabled: true,\n projectRoot: \"webpack:///./\",\n enableUnhandledRejection: false,\n });\n\n return (\n <ErrorBoundary {...{ ErrorComponent, honeybadger }}>\n {children}\n </ErrorBoundary>\n );\n};\n\nexport default HoneybadgerErrorBoundary;\n"],"names":["HoneybadgerErrorBoundary","_ref","children","_ref$ErrorComponent","ErrorComponent","FallbackComponent","_ref$filterErrors","filterErrors","undefined","Honeybadger","beforeNotify","notice","_globalProps$user","isIgnorable","IGNORABLE_ERRORS_REGEX","test","message","IGNORABLE_ERROR_NAMES_REGEX","name","stack","includes","context","errorClass","isChunkLoadError","user","globalProps","email","sessionReplay","getSessionReplayUrl","attachContext","honeybadger","configure","apiKey","honeybadgerApiKey","environment","railsEnv","revision","honeybadgerRevision","developmentEnvironments","enableUncaught","async","breadcrumbsEnabled","projectRoot","enableUnhandledRejection","_jsx","ErrorBoundary"],"mappings":";;;;;;;;;;;;;;;AAaA,IAAMA,wBAAwB,GAAG,SAA3BA,wBAAwBA,CAAAC,IAAA,EAIxB;AAAA,EAAA,IAHJC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAAC,mBAAA,GAAAF,IAAA,CACRG,cAAc;AAAdA,IAAAA,cAAc,GAAAD,mBAAA,KAAGE,KAAAA,CAAAA,GAAAA,qDAAiB,GAAAF,mBAAA;IAAAG,iBAAA,GAAAL,IAAA,CAClCM,YAAY;AAAZA,IAAAA,YAAY,GAAAD,iBAAA,KAAGE,KAAAA,CAAAA,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;AAExDE,IAAAA,uDAAa,CAAClB,MAAM,EAAEU,OAAO,CAAC,CAAA;AAE9B,IAAA,OAAO,IAAI,CAAA;AACb,GAAC,CAAC,CAAA;AAEF,EAAA,IAAMS,WAAW,GAAGrB,iBAAW,CAACsB,SAAS,CAAC;IACxCC,MAAM,EAAEP,WAAW,CAACQ,iBAAiB;IACrCC,WAAW,EAAET,WAAW,CAACU,QAAQ;IACjCC,QAAQ,EAAEX,WAAW,CAACY,mBAAmB;AACzCC,IAAAA,uBAAuB,EAAE,CAAC,aAAa,EAAE,MAAM,CAAC;AAChDC,IAAAA,cAAc,EAAE,IAAI;AACpBC,IAAAA,KAAK,EAAE,IAAI;AACXC,IAAAA,kBAAkB,EAAE,IAAI;AACxBC,IAAAA,WAAW,EAAE,eAAe;AAC5BC,IAAAA,wBAAwB,EAAE,KAAA;AAC5B,GAAC,CAAC,CAAA;EAEF,oBACEC,cAAA,CAACC,8BAAa,EAAA;AAAOzC,IAAAA,cAAc,EAAdA,cAAc;AAAE0B,IAAAA,WAAW,EAAXA,WAAW;AAAA5B,IAAAA,QAAA,EAC7CA,QAAAA;AAAQ,GACI,CAAC,CAAA;AAEpB;;;;"}
1
+ {"version":3,"file":"HoneybadgerErrorBoundary.js","sources":["../../../../src/react-utils/HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.jsx"],"sourcesContent":["import {\n Honeybadger,\n HoneybadgerErrorBoundary as ErrorBoundary,\n} from \"@honeybadger-io/react\";\n\nimport {\n IGNORABLE_ERROR_NAMES_REGEX,\n IGNORABLE_ERRORS_REGEX,\n} from \"./constants\";\nimport FallbackComponent from \"./FallbackComponent\";\nimport { attachContext, getSessionReplayUrl } from \"./utils\";\n\n/** @type {import(\"neetocommons/react-utils\").HoneybadgerErrorBoundary} */\nconst HoneybadgerErrorBoundary = ({\n children,\n ErrorComponent = FallbackComponent,\n filterErrors = undefined,\n}) => {\n Honeybadger.beforeNotify(notice => {\n if (!notice) return false;\n\n const isIgnorable =\n IGNORABLE_ERRORS_REGEX.test(notice.message) ||\n IGNORABLE_ERROR_NAMES_REGEX.test(notice.name) ||\n notice.stack.includes(\"chrome-extension://\") ||\n filterErrors?.(notice) === false;\n\n if (isIgnorable) return false;\n\n const context = { errorClass: notice.name };\n\n if (notice.name === \"ChunkLoadError\") {\n context.IGNORABLE_ERROR_NAMES_REGEX = IGNORABLE_ERROR_NAMES_REGEX;\n context.isChunkLoadError = IGNORABLE_ERROR_NAMES_REGEX.test(notice.name);\n }\n\n const user = globalProps.user?.email;\n if (user) context.user = user;\n\n const sessionReplay = getSessionReplayUrl();\n if (sessionReplay) context.sessionReplay = sessionReplay;\n\n attachContext(notice, context);\n\n return true;\n });\n\n const honeybadger = Honeybadger.configure({\n apiKey: globalProps.honeybadgerApiKey,\n environment: globalProps.railsEnv,\n revision: globalProps.honeybadgerRevision,\n developmentEnvironments: [\"development\", \"test\"],\n enableUncaught: true,\n async: true,\n breadcrumbsEnabled: true,\n projectRoot: \"webpack:///./\",\n enableUnhandledRejection: false,\n });\n\n return (\n <ErrorBoundary {...{ ErrorComponent, honeybadger }}>\n {children}\n </ErrorBoundary>\n );\n};\n\nexport default HoneybadgerErrorBoundary;\n"],"names":["HoneybadgerErrorBoundary","_ref","children","_ref$ErrorComponent","ErrorComponent","FallbackComponent","_ref$filterErrors","filterErrors","undefined","Honeybadger","beforeNotify","notice","_globalProps$user","isIgnorable","IGNORABLE_ERRORS_REGEX","test","message","IGNORABLE_ERROR_NAMES_REGEX","name","stack","includes","context","errorClass","isChunkLoadError","user","globalProps","email","sessionReplay","getSessionReplayUrl","attachContext","honeybadger","configure","apiKey","honeybadgerApiKey","environment","railsEnv","revision","honeybadgerRevision","developmentEnvironments","enableUncaught","async","breadcrumbsEnabled","projectRoot","enableUnhandledRejection","_jsx","ErrorBoundary"],"mappings":";;;;;;;;;;;;;;;;AAaA,IAAMA,wBAAwB,GAAG,SAA3BA,wBAAwBA,CAAAC,IAAA,EAIxB;AAAA,EAAA,IAHJC,QAAQ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CAAA,GAAA,KAAA,CAAA,GAAhBA,iBAAA,CAAkBc,KAAK,CAAA;AACpC,IAAA,IAAIF,IAAI,EAAEH,OAAO,CAACG,IAAI,GAAGA,IAAI,CAAA;AAE7B,IAAA,IAAMG,aAAa,GAAGC,6DAAmB,EAAE,CAAA;AAC3C,IAAA,IAAID,aAAa,EAAEN,OAAO,CAACM,aAAa,GAAGA,aAAa,CAAA;AAExDE,IAAAA,uDAAa,CAAClB,MAAM,EAAEU,OAAO,CAAC,CAAA;AAE9B,IAAA,OAAO,IAAI,CAAA;AACb,GAAC,CAAC,CAAA;AAEF,EAAA,IAAMS,WAAW,GAAGrB,iBAAW,CAACsB,SAAS,CAAC;IACxCC,MAAM,EAAEP,WAAW,CAACQ,iBAAiB;IACrCC,WAAW,EAAET,WAAW,CAACU,QAAQ;IACjCC,QAAQ,EAAEX,WAAW,CAACY,mBAAmB;AACzCC,IAAAA,uBAAuB,EAAE,CAAC,aAAa,EAAE,MAAM,CAAC;AAChDC,IAAAA,cAAc,EAAE,IAAI;AACpBC,IAAAA,KAAK,EAAE,IAAI;AACXC,IAAAA,kBAAkB,EAAE,IAAI;AACxBC,IAAAA,WAAW,EAAE,eAAe;AAC5BC,IAAAA,wBAAwB,EAAE,KAAA;AAC5B,GAAC,CAAC,CAAA;EAEF,oBACEC,cAAA,CAACC,8BAAa,EAAA;AAAOzC,IAAAA,cAAc,EAAdA,cAAc;AAAE0B,IAAAA,WAAW,EAAXA,WAAW;AAAA5B,IAAAA,QAAA,EAC7CA,QAAAA;AAAQ,GACI,CAAC,CAAA;AAEpB;;;;"}
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var IGNORABLE_ERRORS_REGEX = new RegExp(["window.requestAnimationFrame", "ResizeObserver", "ChunkLoadError", "window.webkit.messageHandlers", "Request aborted", "Network Error", "Cannot redefine property: googletag", "Failed to execute 'removeChild' on 'Node'", "Failed to execute 'insertBefore' on 'Node'", "Can't find variable: disableWebkitEnterFullscreen", "rendererInterfaces is null", "Can't find variable: gmo"].join("|"));
3
+ var IGNORABLE_ERRORS_REGEX = new RegExp(["window.requestAnimationFrame", "ResizeObserver", "ChunkLoadError", "window.webkit.messageHandlers", "Request aborted", "Network Error", "Cannot redefine property: googletag", "Failed to execute 'removeChild' on 'Node'", "Failed to execute 'insertBefore' on 'Node'", "Can't find variable: disableWebkitEnterFullscreen", "rendererInterfaces is null", "Can't find variable: gmo", "Uncaught NetworkError: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'blob:.*' failed to load."].join("|"));
4
4
  var IGNORABLE_ERROR_NAMES_REGEX = /(ChunkLoadError)/;
5
5
 
6
6
  exports.IGNORABLE_ERRORS_REGEX = IGNORABLE_ERRORS_REGEX;
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sources":["../../../../src/react-utils/HoneybadgerErrorBoundary/constants.js"],"sourcesContent":["export const IGNORABLE_ERRORS_REGEX = new RegExp(\n [\n \"window.requestAnimationFrame\",\n \"ResizeObserver\",\n \"ChunkLoadError\",\n \"window.webkit.messageHandlers\",\n \"Request aborted\",\n \"Network Error\",\n \"Cannot redefine property: googletag\",\n \"Failed to execute 'removeChild' on 'Node'\",\n \"Failed to execute 'insertBefore' on 'Node'\",\n \"Can't find variable: disableWebkitEnterFullscreen\",\n \"rendererInterfaces is null\",\n \"Can't find variable: gmo\",\n ].join(\"|\")\n);\nexport const IGNORABLE_ERROR_NAMES_REGEX = /(ChunkLoadError)/;\n"],"names":["IGNORABLE_ERRORS_REGEX","RegExp","join","IGNORABLE_ERROR_NAMES_REGEX"],"mappings":";;IAAaA,sBAAsB,GAAG,IAAIC,MAAM,CAC9C,CACE,8BAA8B,EAC9B,gBAAgB,EAChB,gBAAgB,EAChB,+BAA+B,EAC/B,iBAAiB,EACjB,eAAe,EACf,qCAAqC,EACrC,2CAA2C,EAC3C,4CAA4C,EAC5C,mDAAmD,EACnD,4BAA4B,EAC5B,0BAA0B,CAC3B,CAACC,IAAI,CAAC,GAAG,CACZ,EAAC;AACM,IAAMC,2BAA2B,GAAG;;;;;"}
1
+ {"version":3,"file":"constants.js","sources":["../../../../src/react-utils/HoneybadgerErrorBoundary/constants.js"],"sourcesContent":["export const IGNORABLE_ERRORS_REGEX = new RegExp(\n [\n \"window.requestAnimationFrame\",\n \"ResizeObserver\",\n \"ChunkLoadError\",\n \"window.webkit.messageHandlers\",\n \"Request aborted\",\n \"Network Error\",\n \"Cannot redefine property: googletag\",\n \"Failed to execute 'removeChild' on 'Node'\",\n \"Failed to execute 'insertBefore' on 'Node'\",\n \"Can't find variable: disableWebkitEnterFullscreen\",\n \"rendererInterfaces is null\",\n \"Can't find variable: gmo\",\n \"Uncaught NetworkError: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'blob:.*' failed to load.\",\n ].join(\"|\")\n);\nexport const IGNORABLE_ERROR_NAMES_REGEX = /(ChunkLoadError)/;\n"],"names":["IGNORABLE_ERRORS_REGEX","RegExp","join","IGNORABLE_ERROR_NAMES_REGEX"],"mappings":";;IAAaA,sBAAsB,GAAG,IAAIC,MAAM,CAC9C,CACE,8BAA8B,EAC9B,gBAAgB,EAChB,gBAAgB,EAChB,+BAA+B,EAC/B,iBAAiB,EACjB,eAAe,EACf,qCAAqC,EACrC,2CAA2C,EAC3C,4CAA4C,EAC5C,mDAAmD,EACnD,4BAA4B,EAC5B,0BAA0B,EAC1B,0HAA0H,CAC3H,CAACC,IAAI,CAAC,GAAG,CACZ,EAAC;AACM,IAAMC,2BAA2B,GAAG;;;;;"}
@@ -4,7 +4,8 @@ var reactUtils_HoneybadgerErrorBoundary_HoneybadgerErrorBoundary = require('./Ho
4
4
  require('@honeybadger-io/react');
5
5
  require('./constants.js');
6
6
  require('./FallbackComponent.js');
7
- require('../../defineProperty-997UgAIV.js');
7
+ require('../../defineProperty-Cm9b1C1w.js');
8
+ require('../../typeof-D4ZZ_FlZ.js');
8
9
  require('react');
9
10
  require('dompurify');
10
11
  require('@bigbinary/neetoui/Button');
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;"}
@@ -1,11 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var defineProperty = require('../../defineProperty-997UgAIV.js');
4
- var objectWithoutProperties = require('../../objectWithoutProperties-DKElrbI9.js');
3
+ var defineProperty = require('../../defineProperty-Cm9b1C1w.js');
4
+ var objectWithoutProperties = require('../../objectWithoutProperties-DQlolGrE.js');
5
5
  var ErrorPage = require('@bigbinary/neeto-molecules/ErrorPage');
6
6
  var ramda = require('ramda');
7
7
  var reactRouterDom = require('react-router-dom');
8
8
  var jsxRuntime = require('react/jsx-runtime');
9
+ require('../../typeof-D4ZZ_FlZ.js');
9
10
 
10
11
  var _excluded = ["condition", "redirectRoute", "errorPage", "permissions"];
11
12
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
@@ -1 +1 @@
1
- {"version":3,"file":"PrivateRoute.js","sources":["../../../../src/react-utils/PrivateRoute/PrivateRoute.jsx"],"sourcesContent":["import ErrorPage from \"neetomolecules/ErrorPage\";\nimport { __, includes } from \"ramda\";\nimport { Redirect, Route } from \"react-router-dom\";\n\nconst PrivateRoute = ({\n condition = globalProps.authenticated,\n redirectRoute = undefined,\n errorPage = undefined,\n permissions = undefined,\n ...props\n}) => {\n if (condition) {\n if (permissions) {\n return globalProps.permissions.some(includes(__, permissions)) ? (\n <Route {...props} />\n ) : (\n errorPage || <ErrorPage status={403} />\n );\n }\n\n return <Route {...props} />;\n }\n\n if (redirectRoute) {\n return <Redirect to={{ pathname: redirectRoute }} />;\n }\n\n return errorPage || <ErrorPage status={403} />;\n};\n\nexport default PrivateRoute;\n"],"names":["PrivateRoute","_ref","_ref$condition","condition","globalProps","authenticated","_ref$redirectRoute","redirectRoute","undefined","_ref$errorPage","errorPage","_ref$permissions","permissions","props","_objectWithoutProperties","_excluded","some","includes","__","_jsx","Route","_objectSpread","ErrorPage","status","Redirect","to","pathname"],"mappings":";;;;;;;;;;;;AAIA,IAAMA,YAAY,GAAG,SAAfA,YAAYA,CAAAC,IAAA,EAMZ;AAAA,EAAA,IAAAC,cAAA,GAAAD,IAAA,CALJE,SAAS;AAATA,IAAAA,SAAS,GAAAD,cAAA,KAAA,KAAA,CAAA,GAAGE,WAAW,CAACC,aAAa,GAAAH,cAAA;IAAAI,kBAAA,GAAAL,IAAA,CACrCM,aAAa;AAAbA,IAAAA,aAAa,GAAAD,kBAAA,KAAGE,KAAAA,CAAAA,GAAAA,SAAS,GAAAF,kBAAA;IAAAG,cAAA,GAAAR,IAAA,CACzBS,SAAS;AAATA,IAAAA,SAAS,GAAAD,cAAA,KAAGD,KAAAA,CAAAA,GAAAA,SAAS,GAAAC,cAAA;IAAAE,gBAAA,GAAAV,IAAA,CACrBW,WAAW;AAAXA,IAAAA,WAAW,GAAAD,gBAAA,KAAGH,KAAAA,CAAAA,GAAAA,SAAS,GAAAG,gBAAA;AACpBE,IAAAA,KAAK,GAAAC,gDAAA,CAAAb,IAAA,EAAAc,SAAA,CAAA,CAAA;AAER,EAAA,IAAIZ,SAAS,EAAE;AACb,IAAA,IAAIS,WAAW,EAAE;AACf,MAAA,OAAOR,WAAW,CAACQ,WAAW,CAACI,IAAI,CAACC,cAAQ,CAACC,QAAE,EAAEN,WAAW,CAAC,CAAC,gBAC5DO,cAAA,CAACC,oBAAK,EAAAC,aAAA,CAAA,EAAA,EAAKR,KAAK,CAAG,CAAC,GAEpBH,SAAS,iBAAIS,cAAA,CAACG,SAAS,EAAA;AAACC,QAAAA,MAAM,EAAE,GAAA;AAAI,OAAE,CACvC,CAAA;AACH,KAAA;IAEA,oBAAOJ,cAAA,CAACC,oBAAK,EAAAC,aAAA,CAAKR,EAAAA,EAAAA,KAAK,CAAG,CAAC,CAAA;AAC7B,GAAA;AAEA,EAAA,IAAIN,aAAa,EAAE;IACjB,oBAAOY,cAAA,CAACK,uBAAQ,EAAA;AAACC,MAAAA,EAAE,EAAE;AAAEC,QAAAA,QAAQ,EAAEnB,aAAAA;AAAc,OAAA;AAAE,KAAE,CAAC,CAAA;AACtD,GAAA;AAEA,EAAA,OAAOG,SAAS,iBAAIS,cAAA,CAACG,SAAS,EAAA;AAACC,IAAAA,MAAM,EAAE,GAAA;AAAI,GAAE,CAAC,CAAA;AAChD;;;;"}
1
+ {"version":3,"file":"PrivateRoute.js","sources":["../../../../src/react-utils/PrivateRoute/PrivateRoute.jsx"],"sourcesContent":["import ErrorPage from \"neetomolecules/ErrorPage\";\nimport { __, includes } from \"ramda\";\nimport { Redirect, Route } from \"react-router-dom\";\n\nconst PrivateRoute = ({\n condition = globalProps.authenticated,\n redirectRoute = undefined,\n errorPage = undefined,\n permissions = undefined,\n ...props\n}) => {\n if (condition) {\n if (permissions) {\n return globalProps.permissions.some(includes(__, permissions)) ? (\n <Route {...props} />\n ) : (\n errorPage || <ErrorPage status={403} />\n );\n }\n\n return <Route {...props} />;\n }\n\n if (redirectRoute) {\n return <Redirect to={{ pathname: redirectRoute }} />;\n }\n\n return errorPage || <ErrorPage status={403} />;\n};\n\nexport default PrivateRoute;\n"],"names":["PrivateRoute","_ref","_ref$condition","condition","globalProps","authenticated","_ref$redirectRoute","redirectRoute","undefined","_ref$errorPage","errorPage","_ref$permissions","permissions","props","_objectWithoutProperties","_excluded","some","includes","__","_jsx","Route","_objectSpread","ErrorPage","status","Redirect","to","pathname"],"mappings":";;;;;;;;;;;;;AAIA,IAAMA,YAAY,GAAG,SAAfA,YAAYA,CAAAC,IAAA,EAMZ;AAAA,EAAA,IAAAC,cAAA,GAAAD,IAAA,CALJE,SAAS;AAATA,IAAAA,SAAS,GAAAD,cAAA,KAAA,KAAA,CAAA,GAAGE,WAAW,CAAC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"}
@@ -1,8 +1,9 @@
1
1
  'use strict';
2
2
 
3
3
  var reactUtils_PrivateRoute_PrivateRoute = require('./PrivateRoute.js');
4
- require('../../defineProperty-997UgAIV.js');
5
- require('../../objectWithoutProperties-DKElrbI9.js');
4
+ require('../../defineProperty-Cm9b1C1w.js');
5
+ require('../../typeof-D4ZZ_FlZ.js');
6
+ require('../../objectWithoutProperties-DQlolGrE.js');
6
7
  require('@bigbinary/neeto-molecules/ErrorPage');
7
8
  require('ramda');
8
9
  require('react-router-dom');
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
@@ -33,7 +33,8 @@ var reactUtils_AppContainer_AppContainer = require('./AppContainer/AppContainer.
33
33
  require('@honeybadger-io/react');
34
34
  require('./HoneybadgerErrorBoundary/constants.js');
35
35
  require('./HoneybadgerErrorBoundary/FallbackComponent.js');
36
- require('../defineProperty-997UgAIV.js');
36
+ require('../defineProperty-Cm9b1C1w.js');
37
+ require('../typeof-D4ZZ_FlZ.js');
37
38
  require('react');
38
39
  require('dompurify');
39
40
  require('@bigbinary/neetoui/Button');
@@ -42,13 +43,13 @@ require('ramda');
42
43
  require('react-i18next');
43
44
  require('react/jsx-runtime');
44
45
  require('./HoneybadgerErrorBoundary/utils.js');
45
- require('../objectWithoutProperties-DKElrbI9.js');
46
+ require('../objectWithoutProperties-DQlolGrE.js');
46
47
  require('@bigbinary/neeto-molecules/ErrorPage');
47
48
  require('react-router-dom');
48
49
  require('@bigbinary/neeto-commons-frontend/initializers');
49
50
  require('react-helmet');
50
- require('../slicedToArray-xtNEn5LJ.js');
51
- require('../unsupportedIterableToArray-CP9uaN0w.js');
51
+ require('../slicedToArray-Cbh2WzDH.js');
52
+ require('../unsupportedIterableToArray-BoHMiKNA.js');
52
53
  require('zustand');
53
54
  require('@bigbinary/neeto-cist');
54
55
  require('./useFetchNeetoApps/apis/neeto_apps.js');
@@ -59,13 +60,13 @@ require('./useIsElementVisibleInDom/useForceUpdate.js');
59
60
  require('zustand/shallow');
60
61
  require('../initializers/constants.js');
61
62
  require('../utils/general.js');
62
- require('../index-H4FWVZW-.js');
63
+ require('../index-DDd00LFf.js');
63
64
  require('../_commonjsHelpers-CFO10eej.js');
64
65
  require('i18next');
65
66
  require('@bigbinary/neetoui/Toastr');
66
67
  require('qs');
67
68
  require('../utils/dayjs.js');
68
- require('../toConsumableArray-Da_S-3Fb.js');
69
+ require('../toConsumableArray-tBKHqzE3.js');
69
70
  require('dayjs');
70
71
  require('../utils/createSubscription.js');
71
72
  require('@rails/actioncable');
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -3,7 +3,8 @@
3
3
  var react = require('react');
4
4
  var ramda = require('ramda');
5
5
  var reactUtils_useBreakpoints_utils = require('./utils.js');
6
- require('../../defineProperty-997UgAIV.js');
6
+ require('../../defineProperty-Cm9b1C1w.js');
7
+ require('../../typeof-D4ZZ_FlZ.js');
7
8
 
8
9
  var useBreakpoints = function useBreakpoints(breakpointOverrides) {
9
10
  var getSnapshot = function getSnapshot() {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../src/react-utils/useBreakpoints/index.js"],"sourcesContent":["import { useSyncExternalStore } from \"react\";\n\nimport { equals } from \"ramda\";\n\nimport { getCurrentSize, subscribe } from \"./utils\";\n\nconst useBreakpoints = breakpointOverrides => {\n const getSnapshot = () => getCurrentSize(window, breakpointOverrides);\n const currentSize = useSyncExternalStore(subscribe, getSnapshot);\n\n return { currentSize, isSize: equals(currentSize) };\n};\n\nexport default useBreakpoints;\n"],"names":["useBreakpoints","breakpointOverrides","getSnapshot","getCurrentSize","window","currentSize","useSyncExternalStore","subscribe","isSize","equals"],"mappings":";;;;;;;AAMA,IAAMA,cAAc,GAAG,SAAjBA,cAAcA,CAAGC,mBAAmB,EAAI;AAC5C,EAAA,IAAMC,WAAW,GAAG,SAAdA,WAAWA,GAAA;AAAA,IAAA,OAASC,8CAAc,CAACC,MAAM,EAAEH,mBAAmB,CAAC,CAAA;AAAA,GAAA,CAAA;AACrE,EAAA,IAAMI,WAAW,GAAGC,0BAAoB,CAACC,yCAAS,EAAEL,WAAW,CAAC,CAAA;EAEhE,OAAO;AAAEG,IAAAA,WAAW,EAAXA,WAAW;IAAEG,MAAM,EAAEC,YAAM,CAACJ,WAAW,CAAA;GAAG,CAAA;AACrD;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../../../src/react-utils/useBreakpoints/index.js"],"sourcesContent":["import { useSyncExternalStore } from \"react\";\n\nimport { equals } from \"ramda\";\n\nimport { getCurrentSize, subscribe } from \"./utils\";\n\nconst useBreakpoints = breakpointOverrides => {\n const getSnapshot = () => getCurrentSize(window, breakpointOverrides);\n const currentSize = useSyncExternalStore(subscribe, getSnapshot);\n\n return { currentSize, isSize: equals(currentSize) };\n};\n\nexport default useBreakpoints;\n"],"names":["useBreakpoints","breakpointOverrides","getSnapshot","getCurrentSize","window","currentSize","useSyncExternalStore","subscribe","isSize","equals"],"mappings":";;;;;;;;AAMA,IAAMA,cAAc,GAAG,SAAjBA,cAAcA,CAAGC,mBAAmB,EAAI;AAC5C,EAAA,IAAMC,WAAW,GAAG,SAAdA,WAAWA,GAAA;AAAA,IAAA,OAASC,8CAAc,CAACC,MAAM,EAAEH,mBAAmB,CAAC,CAAA;AAAA,GAAA,CAAA;AACrE,EAAA,IAAMI,WAAW,GAAGC,0BAAoB,CAACC,yCAAS,EAAEL,WAAW,CAAC,CAAA;EAEhE,OAAO;AAAEG,IAAAA,WAAW,EAAXA,WAAW;IAAEG,MAAM,EAAEC,YAAM,CAACJ,WAAW,CAAA;GAAG,CAAA;AACrD;;;;"}
@@ -1,6 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var defineProperty = require('../../defineProperty-997UgAIV.js');
3
+ var defineProperty = require('../../defineProperty-Cm9b1C1w.js');
4
+ require('../../typeof-D4ZZ_FlZ.js');
4
5
 
5
6
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
6
7
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { defineProperty._defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sources":["../../../../src/react-utils/useBreakpoints/utils.js"],"sourcesContent":["export const subscribe = listener => {\n window.addEventListener(\"resize\", listener);\n\n return () => window.removeEventListener(\"resize\", listener);\n};\n\nexport const getCurrentSize = (window, breakpointOverrides) => {\n const { innerWidth } = window;\n const sizes = {\n mobile: innerWidth < 768,\n tablet: innerWidth >= 768 && innerWidth < 1024,\n desktop: innerWidth >= 1024 && innerWidth < 1280,\n largeDesktop: innerWidth >= 1280,\n ...breakpointOverrides?.(window),\n };\n\n const size = Object.keys(sizes).find(breakpoint => sizes[breakpoint]) || \"\";\n\n return size;\n};\n"],"names":["subscribe","listener","window","addEventListener","removeEventListener","getCurrentSize","breakpointOverrides","innerWidth","sizes","_objectSpread","mobile","tablet","desktop","largeDesktop","size","Object","keys","find","breakpoint"],"mappings":";;;;;;IAAaA,SAAS,GAAG,SAAZA,SAASA,CAAGC,QAAQ,EAAI;AACnCC,EAAAA,MAAM,CAACC,gBAAgB,CAAC,QAAQ,EAAEF,QAAQ,CAAC,CAAA;EAE3C,OAAO,YAAA;AAAA,IAAA,OAAMC,MAAM,CAACE,mBAAmB,CAAC,QAAQ,EAAEH,QAAQ,CAAC,CAAA;AAAA,GAAA,CAAA;AAC7D,EAAC;AAEM,IAAMI,cAAc,GAAG,SAAjBA,cAAcA,CAAIH,MAAM,EAAEI,mBAAmB,EAAK;AAC7D,EAAA,IAAQC,UAAU,GAAKL,MAAM,CAArBK,UAAU,CAAA;EAClB,IAAMC,KAAK,GAAAC,aAAA,CAAA;IACTC,MAAM,EAAEH,UAAU,GAAG,GAAG;AACxBI,IAAAA,MAAM,EAAEJ,UAAU,IAAI,GAAG,IAAIA,UAAU,GAAG,IAAI;AAC9CK,IAAAA,OAAO,EAAEL,UAAU,IAAI,IAAI,IAAIA,UAAU,GAAG,IAAI;IAChDM,YAAY,EAAEN,UAAU,IAAI,IAAA;GACzBD,EAAAA,mBAAmB,aAAnBA,mBAAmB,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAnBA,mBAAmB,CAAGJ,MAAM,CAAC,CACjC,CAAA;AAED,EAAA,IAAMY,IAAI,GAAGC,MAAM,CAACC,IAAI,CAACR,KAAK,CAAC,CAACS,IAAI,CAAC,UAAAC,UAAU,EAAA;IAAA,OAAIV,KAAK,CAACU,UAAU,CAAC,CAAA;AAAA,GAAA,CAAC,IAAI,EAAE,CAAA;AAE3E,EAAA,OAAOJ,IAAI,CAAA;AACb;;;;;"}
1
+ {"version":3,"file":"utils.js","sources":["../../../../src/react-utils/useBreakpoints/utils.js"],"sourcesContent":["export const subscribe = listener => {\n window.addEventListener(\"resize\", listener);\n\n return () => window.removeEventListener(\"resize\", listener);\n};\n\nexport const getCurrentSize = (window, breakpointOverrides) => {\n const { innerWidth } = window;\n const sizes = {\n mobile: innerWidth < 768,\n tablet: innerWidth >= 768 && innerWidth < 1024,\n desktop: innerWidth >= 1024 && innerWidth < 1280,\n largeDesktop: innerWidth >= 1280,\n ...breakpointOverrides?.(window),\n };\n\n const size = Object.keys(sizes).find(breakpoint => sizes[breakpoint]) || \"\";\n\n return size;\n};\n"],"names":["subscribe","listener","window","addEventListener","removeEventListener","getCurrentSize","breakpointOverrides","innerWidth","sizes","_objectSpread","mobile","tablet","desktop","largeDesktop","size","Object","keys","find","breakpoint"],"mappings":";;;;;;;IAAaA,SAAS,GAAG,SAAZA,SAASA,CAAGC,QAAQ,EAAI;AACnCC,EAAAA,MAAM,CAACC,gBAAgB,CAAC,QAAQ,EAAEF,QAAQ,CAAC,CAAA;EAE3C,OAAO,YAAA;AAAA,IAAA,OAAMC,MAAM,CAACE,mBAAmB,CAAC,QAAQ,EAAEH,QAAQ,CAAC,CAAA;AAAA,GAAA,CAAA;AAC7D,EAAC;AAEM,IAAMI,cAAc,GAAG,SAAjBA,cAAcA,CAAIH,MAAM,EAAEI,mBAAmB,EAAK;AAC7D,EAAA,IAAQC,UAAU,GAAKL,MAAM,CAArBK,UAAU,CAAA;EAClB,IAAMC,KAAK,GAAAC,aAAA,CAAA;IACTC,MAAM,EAAEH,UAAU,GAAG,GAAG;AACxBI,IAAAA,MAAM,EAAEJ,UAAU,IAAI,GAAG,IAAIA,UAAU,GAAG,IAAI;AAC9CK,IAAAA,OAAO,EAAEL,UAAU,IAAI,IAAI,IAAIA,UAAU,GAAG,IAAI;IAChDM,YAAY,EAAEN,UAAU,IAAI,IAAA;GACzBD,EAAAA,mBAAmB,aAAnBA,mBAAmB,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAnBA,mBAAmB,CAAGJ,MAAM,CAAC,CACjC,CAAA;AAED,EAAA,IAAMY,IAAI,GAAGC,MAAM,CAACC,IAAI,CAACR,KAAK,CAAC,CAACS,IAAI,CAAC,UAAAC,UAAU,EAAA;IAAA,OAAIV,KAAK,CAACU,UAAU,CAAC,CAAA;AAAA,GAAA,CAAC,IAAI,EAAE,CAAA;AAE3E,EAAA,OAAOJ,IAAI,CAAA;AACb;;;;;"}
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  var reactUtils_useDebounce_useDebounce = require('./useDebounce.js');
4
- require('../../slicedToArray-xtNEn5LJ.js');
5
- require('../../unsupportedIterableToArray-CP9uaN0w.js');
4
+ require('../../slicedToArray-Cbh2WzDH.js');
5
+ require('../../unsupportedIterableToArray-BoHMiKNA.js');
6
6
  require('react');
7
7
 
8
8
 
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var slicedToArray = require('../../slicedToArray-xtNEn5LJ.js');
3
+ var slicedToArray = require('../../slicedToArray-Cbh2WzDH.js');
4
4
  var react = require('react');
5
- require('../../unsupportedIterableToArray-CP9uaN0w.js');
5
+ require('../../unsupportedIterableToArray-BoHMiKNA.js');
6
6
 
7
7
  var useDebounce = function useDebounce(value) {
8
8
  var delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 350;
@@ -1,7 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  var reactUtils_useFetchNeetoApps_useFetchNeetoApps = require('./useFetchNeetoApps.js');
4
- require('../../defineProperty-997UgAIV.js');
4
+ require('../../defineProperty-Cm9b1C1w.js');
5
+ require('../../typeof-D4ZZ_FlZ.js');
5
6
  require('@bigbinary/neeto-cist');
6
7
  require('../usePersistedQuery/usePersistedQuery.js');
7
8
  require('react');
@@ -9,10 +10,10 @@ require('@tanstack/react-query');
9
10
  require('ramda');
10
11
  require('../constants/constants.js');
11
12
  require('../../utils/general.js');
12
- require('../../objectWithoutProperties-DKElrbI9.js');
13
- require('../../slicedToArray-xtNEn5LJ.js');
14
- require('../../unsupportedIterableToArray-CP9uaN0w.js');
15
- require('../../index-H4FWVZW-.js');
13
+ require('../../objectWithoutProperties-DQlolGrE.js');
14
+ require('../../slicedToArray-Cbh2WzDH.js');
15
+ require('../../unsupportedIterableToArray-BoHMiKNA.js');
16
+ require('../../index-DDd00LFf.js');
16
17
  require('../../_commonjsHelpers-CFO10eej.js');
17
18
  require('i18next');
18
19
  require('@bigbinary/neetoui/Toastr');
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,19 +1,20 @@
1
1
  'use strict';
2
2
 
3
- var defineProperty = require('../../defineProperty-997UgAIV.js');
3
+ var defineProperty = require('../../defineProperty-Cm9b1C1w.js');
4
4
  var neetoCist = require('@bigbinary/neeto-cist');
5
5
  var reactUtils_usePersistedQuery_usePersistedQuery = require('../usePersistedQuery/usePersistedQuery.js');
6
6
  var reactUtils_useFetchNeetoApps_apis_neeto_apps = require('./apis/neeto_apps.js');
7
7
  var reactUtils_constants_constants = require('../constants/constants.js');
8
8
  var reactUtils_constants_query = require('../constants/query.js');
9
+ require('../../typeof-D4ZZ_FlZ.js');
9
10
  require('react');
10
11
  require('@tanstack/react-query');
11
12
  require('ramda');
12
13
  require('../../utils/general.js');
13
- require('../../objectWithoutProperties-DKElrbI9.js');
14
- require('../../slicedToArray-xtNEn5LJ.js');
15
- require('../../unsupportedIterableToArray-CP9uaN0w.js');
16
- require('../../index-H4FWVZW-.js');
14
+ require('../../objectWithoutProperties-DQlolGrE.js');
15
+ require('../../slicedToArray-Cbh2WzDH.js');
16
+ require('../../unsupportedIterableToArray-BoHMiKNA.js');
17
+ require('../../index-DDd00LFf.js');
17
18
  require('../../_commonjsHelpers-CFO10eej.js');
18
19
  require('i18next');
19
20
  require('@bigbinary/neetoui/Toastr');
@@ -1 +1 @@
1
- {"version":3,"file":"useFetchNeetoApps.js","sources":["../../../../src/react-utils/useFetchNeetoApps/useFetchNeetoApps.js"],"sourcesContent":["import { isNotPresent } from \"neetocist\";\nimport usePersistedQuery from \"react-utils/usePersistedQuery\";\n\nimport neetoAppsApi from \"./apis/neeto_apps\";\n\nimport { NEETO_APPS_LIST_STALE_TIME } from \"../constants\";\nimport { QUERY_KEYS } from \"../constants/query\";\n\nconst useFetchNeetoApps = options => {\n const scopedQueryKey = [\n `${QUERY_KEYS.NEETO_APPS_LIST}-${globalProps.user?.id}`,\n ];\n\n const { data, modifiedAt } = usePersistedQuery.getCache(scopedQueryKey) || {};\n const expired = modifiedAt <= Date.now() - NEETO_APPS_LIST_STALE_TIME;\n\n return usePersistedQuery(scopedQueryKey, neetoAppsApi.fetch, {\n staleTime: NEETO_APPS_LIST_STALE_TIME,\n enabled: expired || isNotPresent(data),\n ...options,\n });\n};\n\nexport default useFetchNeetoApps;\n"],"names":["useFetchNeetoApps","options","_globalProps$user","scopedQueryKey","concat","QUERY_KEYS","NEETO_APPS_LIST","globalProps","user","id","_ref","usePersistedQuery","getCache","data","modifiedAt","expired","Date","now","NEETO_APPS_LIST_STALE_TIME","neetoAppsApi","fetch","_objectSpread","staleTime","enabled","isNotPresent"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAQA,IAAMA,iBAAiB,GAAG,SAApBA,iBAAiBA,CAAGC,OAAO,EAAI;AAAA,EAAA,IAAAC,iBAAA,CAAA;EACnC,IAAMC,cAAc,GAAG,CAAAC,EAAAA,CAAAA,MAAA,CAClBC,qCAAU,CAACC,eAAe,EAAA,GAAA,CAAA,CAAAF,MAAA,CAAA,CAAAF,iBAAA,GAAIK,WAAW,CAACC,IAAI,MAAA,IAAA,IAAAN,iBAAA,KAAhBA,KAAAA,CAAAA,GAAAA,KAAAA,CAAAA,GAAAA,iBAAA,CAAkBO,EAAE,CACtD,CAAA,CAAA;EAED,IAAAC,IAAA,GAA6BC,8CAAiB,CAACC,QAAQ,CAACT,cAAc,CAAC,IAAI,EAAE;IAArEU,IAAI,GAAAH,IAAA,CAAJG,IAAI;IAAEC,UAAU,GAAAJ,IAAA,CAAVI,UAAU,CAAA;EACxB,IAAMC,OAAO,GAAGD,UAAU,IAAIE,IAAI,CAACC,GAAG,EAAE,GAAGC,yDAA0B,CAAA;EAErE,OAAOP,8CAAiB,CAACR,cAAc,EAAEgB,4CAAY,CAACC,KAAK,EAAAC,aAAA,CAAA;AACzDC,IAAAA,SAAS,EAAEJ,yDAA0B;AACrCK,IAAAA,OAAO,EAAER,OAAO,IAAIS,sBAAY,CAACX,IAAI,CAAA;GAClCZ,EAAAA,OAAO,CACX,CAAC,CAAA;AACJ;;;;"}
1
+ {"version":3,"file":"useFetchNeetoApps.js","sources":["../../../../src/react-utils/useFetchNeetoApps/useFetchNeetoApps.js"],"sourcesContent":["import { isNotPresent } from \"neetocist\";\nimport usePersistedQuery from \"react-utils/usePersistedQuery\";\n\nimport neetoAppsApi from \"./apis/neeto_apps\";\n\nimport { NEETO_APPS_LIST_STALE_TIME } from \"../constants\";\nimport { QUERY_KEYS } from \"../constants/query\";\n\nconst useFetchNeetoApps = options => {\n const scopedQueryKey = [\n `${QUERY_KEYS.NEETO_APPS_LIST}-${globalProps.user?.id}`,\n ];\n\n const { data, modifiedAt } = usePersistedQuery.getCache(scopedQueryKey) || {};\n const expired = modifiedAt <= Date.now() - NEETO_APPS_LIST_STALE_TIME;\n\n return usePersistedQuery(scopedQueryKey, neetoAppsApi.fetch, {\n staleTime: NEETO_APPS_LIST_STALE_TIME,\n enabled: expired || isNotPresent(data),\n ...options,\n });\n};\n\nexport default useFetchNeetoApps;\n"],"names":["useFetchNeetoApps","options","_globalProps$user","scopedQueryKey","concat","QUERY_KEYS","NEETO_APPS_LIST","globalProps","user","id","_ref","usePersistedQuery","getCache","data","modifiedAt","expired","Date","now","NEETO_APPS_LIST_STALE_TIME","neetoAppsApi","fetch","_objectSpread","staleTime","enabled","isNotPresent"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAQA,IAAMA,iBAAiB,GAAG,SAApBA,iBAAiBA,CAAGC,OAAO,EAAI;AAAA,EAAA,IAAAC,iBAAA,CAAA;EACnC,IAAMC,cAAc,GAAG,CAAAC,EAAAA,CAAAA,MAAA,CAClBC,qCAAU,CAACC,eAAe,EAAA,GAAA,CAAA,CAAAF,MAAA,CAAA,CAAAF,iBAAA,GAAIK,WAAW,CAACC,IAAI,MAAA,IAAA,IAAAN,iBAAA,KAAhBA,KAAAA,CAAAA,GAAAA,KAAAA,CAAAA,GAAAA,iBAAA,CAAkBO,EAAE,CACtD,CAAA,CAAA;EAED,IAAAC,IAAA,GAA6BC,8CAAiB,CAACC,QAAQ,CAACT,cAAc,CAAC,IAAI,EAAE;IAArEU,IAAI,GAAAH,IAAA,CAAJG,IAAI;IAAEC,UAAU,GAAAJ,IAAA,CAAVI,UAAU,CAAA;EACxB,IAAMC,OAAO,GAAGD,UAAU,IAAIE,IAAI,CAACC,GAAG,EAAE,GAAGC,yDAA0B,CAAA;EAErE,OAAOP,8CAAiB,CAACR,cAAc,EAAEgB,4CAAY,CAACC,KAAK,EAAAC,aAAA,CAAA;AACzDC,IAAAA,SAAS,EAAEJ,yDAA0B;AACrCK,IAAAA,OAAO,EAAER,OAAO,IAAIS,sBAAY,CAACX,IAAI,CAAA;GAClCZ,EAAAA,OAAO,CACX,CAAC,CAAA;AACJ;;;;"}
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  var reactUtils_useIsElementVisibleInDom_useIsElementVisibleInDom = require('./useIsElementVisibleInDom.js');
4
- require('../../slicedToArray-xtNEn5LJ.js');
5
- require('../../unsupportedIterableToArray-CP9uaN0w.js');
4
+ require('../../slicedToArray-Cbh2WzDH.js');
5
+ require('../../unsupportedIterableToArray-BoHMiKNA.js');
6
6
  require('react');
7
7
  require('./useForceUpdate.js');
8
8
 
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var slicedToArray = require('../../slicedToArray-xtNEn5LJ.js');
3
+ var slicedToArray = require('../../slicedToArray-Cbh2WzDH.js');
4
4
  var react = require('react');
5
- require('../../unsupportedIterableToArray-CP9uaN0w.js');
5
+ require('../../unsupportedIterableToArray-BoHMiKNA.js');
6
6
 
7
7
  var useForceUpdate = function useForceUpdate() {
8
8
  // eslint-disable-next-line react/hook-use-state
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var slicedToArray = require('../../slicedToArray-xtNEn5LJ.js');
3
+ var slicedToArray = require('../../slicedToArray-Cbh2WzDH.js');
4
4
  var react = require('react');
5
5
  var reactUtils_useIsElementVisibleInDom_useForceUpdate = require('./useForceUpdate.js');
6
- require('../../unsupportedIterableToArray-CP9uaN0w.js');
6
+ require('../../unsupportedIterableToArray-BoHMiKNA.js');
7
7
 
8
8
  var useIsElementVisibleInDom = function useIsElementVisibleInDom(target) {
9
9
  var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;
@@ -1,23 +1,24 @@
1
1
  'use strict';
2
2
 
3
3
  var reactUtils_useLocalStorage_useLocalStorage = require('./useLocalStorage.js');
4
- require('../../slicedToArray-xtNEn5LJ.js');
5
- require('../../unsupportedIterableToArray-CP9uaN0w.js');
4
+ require('../../slicedToArray-Cbh2WzDH.js');
5
+ require('../../unsupportedIterableToArray-BoHMiKNA.js');
6
6
  require('react');
7
7
  require('ramda');
8
8
  require('axios');
9
9
  require('../../initializers/constants.js');
10
10
  require('../../utils/general.js');
11
- require('../../objectWithoutProperties-DKElrbI9.js');
12
- require('../../index-H4FWVZW-.js');
11
+ require('../../objectWithoutProperties-DQlolGrE.js');
12
+ require('../../index-DDd00LFf.js');
13
13
  require('../../_commonjsHelpers-CFO10eej.js');
14
- require('../../defineProperty-997UgAIV.js');
14
+ require('../../defineProperty-Cm9b1C1w.js');
15
+ require('../../typeof-D4ZZ_FlZ.js');
15
16
  require('i18next');
16
17
  require('@bigbinary/neeto-cist');
17
18
  require('@bigbinary/neetoui/Toastr');
18
19
  require('qs');
19
20
  require('../../utils/dayjs.js');
20
- require('../../toConsumableArray-Da_S-3Fb.js');
21
+ require('../../toConsumableArray-tBKHqzE3.js');
21
22
  require('dayjs');
22
23
  require('../../utils/createSubscription.js');
23
24
  require('@rails/actioncable');
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var slicedToArray = require('../../slicedToArray-xtNEn5LJ.js');
3
+ var slicedToArray = require('../../slicedToArray-Cbh2WzDH.js');
4
4
  var react = require('react');
5
5
  var ramda = require('ramda');
6
6
  require('axios');
@@ -13,14 +13,15 @@ require('i18next');
13
13
  require('yup');
14
14
  require('../../mixpanel.cjs-DyVaCR4W.js');
15
15
  require('@bigbinary/neeto-cist');
16
- require('../../unsupportedIterableToArray-CP9uaN0w.js');
17
- require('../../objectWithoutProperties-DKElrbI9.js');
18
- require('../../index-H4FWVZW-.js');
16
+ require('../../unsupportedIterableToArray-BoHMiKNA.js');
17
+ require('../../objectWithoutProperties-DQlolGrE.js');
18
+ require('../../index-DDd00LFf.js');
19
19
  require('../../_commonjsHelpers-CFO10eej.js');
20
- require('../../defineProperty-997UgAIV.js');
20
+ require('../../defineProperty-Cm9b1C1w.js');
21
+ require('../../typeof-D4ZZ_FlZ.js');
21
22
  require('@bigbinary/neetoui/Toastr');
22
23
  require('qs');
23
- require('../../toConsumableArray-Da_S-3Fb.js');
24
+ require('../../toConsumableArray-tBKHqzE3.js');
24
25
  require('@rails/actioncable');
25
26
 
26
27
  var getStorageValue = function getStorageValue(key, defaultValue) {