@burdenoff/microfe-notification 2026.1029.1 → 2026.1109.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (218) hide show
  1. package/dist/AdminNotificationRoot.d.ts +33 -0
  2. package/dist/AdminNotificationRoot.js +9 -6
  3. package/dist/AdminNotificationRoot.js.map +1 -1
  4. package/dist/AdminNotificationRoutes.d.ts +1 -0
  5. package/dist/AdminNotificationRoutes.js +22 -23
  6. package/dist/AdminNotificationRoutes.js.map +1 -1
  7. package/dist/NotificationRoot.d.ts +29 -0
  8. package/dist/NotificationRoot.js +9 -6
  9. package/dist/NotificationRoot.js.map +1 -1
  10. package/dist/NotificationRoutes.d.ts +18 -0
  11. package/dist/NotificationRoutes.js +1 -2
  12. package/dist/NotificationRoutes.js.map +1 -1
  13. package/dist/UserNotificationRoot.d.ts +32 -0
  14. package/dist/UserNotificationRoot.js +9 -6
  15. package/dist/UserNotificationRoot.js.map +1 -1
  16. package/dist/UserNotificationRoutes.d.ts +16 -0
  17. package/dist/UserNotificationRoutes.js +9 -10
  18. package/dist/UserNotificationRoutes.js.map +1 -1
  19. package/dist/components/FeatureDisabledPage.d.ts +6 -0
  20. package/dist/components/FeatureDisabledPage.js +1 -2
  21. package/dist/components/FeatureDisabledPage.js.map +1 -1
  22. package/dist/components/NotificationBell.d.ts +13 -0
  23. package/dist/components/NotificationBell.js +6 -7
  24. package/dist/components/NotificationBell.js.map +1 -1
  25. package/dist/components/NotificationCard.d.ts +18 -0
  26. package/dist/components/NotificationCard.js +10 -11
  27. package/dist/components/NotificationCard.js.map +1 -1
  28. package/dist/components/NotificationPanel.d.ts +10 -0
  29. package/dist/components/NotificationPanel.js +5 -6
  30. package/dist/components/NotificationPanel.js.map +1 -1
  31. package/dist/components/RecipientSelector.d.ts +32 -0
  32. package/dist/components/RecipientSelector.js +2 -3
  33. package/dist/components/RecipientSelector.js.map +1 -1
  34. package/dist/components/TemplatePreview.d.ts +21 -0
  35. package/dist/components/TemplatePreview.js +3 -4
  36. package/dist/components/TemplatePreview.js.map +1 -1
  37. package/dist/components/VariableInserter.d.ts +11 -0
  38. package/dist/components/index.d.ts +3 -0
  39. package/dist/components/index.js +4 -3
  40. package/dist/constants/permissions.d.ts +23 -0
  41. package/dist/constants/permissions.js +1 -2
  42. package/dist/constants/permissions.js.map +1 -1
  43. package/dist/dev/main.d.ts +0 -0
  44. package/dist/generated/global-operations.d.ts +2119 -0
  45. package/dist/generated/global-operations.js +80 -69
  46. package/dist/generated/global-operations.js.map +1 -1
  47. package/dist/generated/global-types.d.ts +23507 -0
  48. package/dist/generated/wspace-operations.d.ts +4 -0
  49. package/dist/generated/wspace-types.d.ts +57831 -0
  50. package/dist/graphql/global-client.d.ts +32 -0
  51. package/dist/graphql/global-client.js +23 -30
  52. package/dist/graphql/global-client.js.map +1 -1
  53. package/dist/hooks/index.d.ts +7 -0
  54. package/dist/hooks/index.js +7 -6
  55. package/dist/hooks/useNotificationAdmin.d.ts +46 -0
  56. package/dist/hooks/useNotificationAdmin.js +18 -17
  57. package/dist/hooks/useNotificationAdmin.js.map +1 -1
  58. package/dist/hooks/useNotificationAnalytics.d.ts +65 -0
  59. package/dist/hooks/useNotificationAnalytics.js +1 -2
  60. package/dist/hooks/useNotificationAnalytics.js.map +1 -1
  61. package/dist/hooks/useNotificationPreferences.d.ts +10 -0
  62. package/dist/hooks/useNotificationPreferences.js +7 -7
  63. package/dist/hooks/useNotificationPreferences.js.map +1 -1
  64. package/dist/hooks/useNotificationTemplates.d.ts +131 -0
  65. package/dist/hooks/useNotificationTemplates.js +1 -2
  66. package/dist/hooks/useNotificationTemplates.js.map +1 -1
  67. package/dist/hooks/useNotificationTopics.d.ts +35 -0
  68. package/dist/hooks/useNotificationTopics.js +22 -22
  69. package/dist/hooks/useNotificationTopics.js.map +1 -1
  70. package/dist/hooks/useNotifications.d.ts +39 -0
  71. package/dist/hooks/useNotifications.js +6 -4
  72. package/dist/hooks/useNotifications.js.map +1 -1
  73. package/dist/hooks/useSendNotification.d.ts +158 -0
  74. package/dist/hooks/useSendNotification.js +12 -10
  75. package/dist/hooks/useSendNotification.js.map +1 -1
  76. package/dist/hooks/useUserSearch.d.ts +26 -0
  77. package/dist/hooks/useUserSearch.js +8 -10
  78. package/dist/hooks/useUserSearch.js.map +1 -1
  79. package/dist/index.d.ts +36 -0
  80. package/dist/index.js +8 -8
  81. package/dist/node_modules/@apollo/client/errors/CombinedGraphQLErrors.js +1 -2
  82. package/dist/node_modules/@apollo/client/errors/CombinedGraphQLErrors.js.map +1 -1
  83. package/dist/node_modules/@apollo/client/errors/utils.js +1 -2
  84. package/dist/node_modules/@apollo/client/errors/utils.js.map +1 -1
  85. package/dist/node_modules/@apollo/client/link/core/ApolloLink.js +7 -8
  86. package/dist/node_modules/@apollo/client/link/core/ApolloLink.js.map +1 -1
  87. package/dist/node_modules/@apollo/client/link/subscriptions/index.js +9 -10
  88. package/dist/node_modules/@apollo/client/link/subscriptions/index.js.map +1 -1
  89. package/dist/node_modules/@apollo/client/link/utils/createOperation.js +5 -6
  90. package/dist/node_modules/@apollo/client/link/utils/createOperation.js.map +1 -1
  91. package/dist/node_modules/@apollo/client/utilities/caching/sizes.js +0 -1
  92. package/dist/node_modules/@apollo/client/utilities/caching/sizes.js.map +1 -1
  93. package/dist/node_modules/@apollo/client/utilities/graphql/print.js +4 -5
  94. package/dist/node_modules/@apollo/client/utilities/graphql/print.js.map +1 -1
  95. package/dist/node_modules/@apollo/client/utilities/internal/caches.js +1 -2
  96. package/dist/node_modules/@apollo/client/utilities/internal/caches.js.map +1 -1
  97. package/dist/node_modules/@apollo/client/utilities/internal/checkDocument.js +1 -2
  98. package/dist/node_modules/@apollo/client/utilities/internal/checkDocument.js.map +1 -1
  99. package/dist/node_modules/@apollo/client/utilities/internal/getMainDefinition.js +2 -3
  100. package/dist/node_modules/@apollo/client/utilities/internal/getMainDefinition.js.map +1 -1
  101. package/dist/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js +1 -2
  102. package/dist/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js.map +1 -1
  103. package/dist/node_modules/@apollo/client/utilities/internal/getOperationDefinition.js +1 -2
  104. package/dist/node_modules/@apollo/client/utilities/internal/getOperationDefinition.js.map +1 -1
  105. package/dist/node_modules/@apollo/client/utilities/internal/getOperationName.js +1 -2
  106. package/dist/node_modules/@apollo/client/utilities/internal/getOperationName.js.map +1 -1
  107. package/dist/node_modules/@apollo/client/utilities/internal/globals/global.js +1 -2
  108. package/dist/node_modules/@apollo/client/utilities/internal/globals/global.js.map +1 -1
  109. package/dist/node_modules/@apollo/client/utilities/internal/globals/maybe.js +1 -2
  110. package/dist/node_modules/@apollo/client/utilities/internal/globals/maybe.js.map +1 -1
  111. package/dist/node_modules/@apollo/client/utilities/internal/isNonNullObject.js +1 -2
  112. package/dist/node_modules/@apollo/client/utilities/internal/isNonNullObject.js.map +1 -1
  113. package/dist/node_modules/@apollo/client/utilities/internal/makeUniqueId.js +1 -2
  114. package/dist/node_modules/@apollo/client/utilities/internal/makeUniqueId.js.map +1 -1
  115. package/dist/node_modules/@apollo/client/utilities/internal/memoize.js +1 -2
  116. package/dist/node_modules/@apollo/client/utilities/internal/memoize.js.map +1 -1
  117. package/dist/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js +1 -2
  118. package/dist/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js.map +1 -1
  119. package/dist/node_modules/@apollo/client/utilities/invariant/index.js +2 -3
  120. package/dist/node_modules/@apollo/client/utilities/invariant/index.js.map +1 -1
  121. package/dist/node_modules/@apollo/client/version.js +2 -3
  122. package/dist/node_modules/@apollo/client/version.js.map +1 -1
  123. package/dist/node_modules/@wry/caches/lib/weak.js +1 -2
  124. package/dist/node_modules/@wry/caches/lib/weak.js.map +1 -1
  125. package/dist/node_modules/@wry/trie/lib/index.js +2 -3
  126. package/dist/node_modules/@wry/trie/lib/index.js.map +1 -1
  127. package/dist/node_modules/graphql-ws/dist/client.js +76 -69
  128. package/dist/node_modules/graphql-ws/dist/client.js.map +1 -1
  129. package/dist/node_modules/graphql-ws/dist/common-CGW11Fyb.js +2 -3
  130. package/dist/node_modules/graphql-ws/dist/common-CGW11Fyb.js.map +1 -1
  131. package/dist/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js +2 -3
  132. package/dist/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js.map +1 -1
  133. package/dist/node_modules/rxjs/dist/esm5/internal/Observable.js +41 -42
  134. package/dist/node_modules/rxjs/dist/esm5/internal/Observable.js.map +1 -1
  135. package/dist/node_modules/rxjs/dist/esm5/internal/Subscriber.js +14 -15
  136. package/dist/node_modules/rxjs/dist/esm5/internal/Subscriber.js.map +1 -1
  137. package/dist/node_modules/rxjs/dist/esm5/internal/Subscription.js +21 -18
  138. package/dist/node_modules/rxjs/dist/esm5/internal/Subscription.js.map +1 -1
  139. package/dist/node_modules/rxjs/dist/esm5/internal/config.js +1 -2
  140. package/dist/node_modules/rxjs/dist/esm5/internal/config.js.map +1 -1
  141. package/dist/node_modules/rxjs/dist/esm5/internal/observable/empty.js +1 -2
  142. package/dist/node_modules/rxjs/dist/esm5/internal/observable/empty.js.map +1 -1
  143. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js +2 -3
  144. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js.map +1 -1
  145. package/dist/node_modules/rxjs/dist/esm5/internal/symbol/observable.js +1 -2
  146. package/dist/node_modules/rxjs/dist/esm5/internal/symbol/observable.js.map +1 -1
  147. package/dist/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js +1 -2
  148. package/dist/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js.map +1 -1
  149. package/dist/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js +1 -2
  150. package/dist/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js.map +1 -1
  151. package/dist/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js +1 -2
  152. package/dist/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js.map +1 -1
  153. package/dist/node_modules/rxjs/dist/esm5/internal/util/errorContext.js +1 -2
  154. package/dist/node_modules/rxjs/dist/esm5/internal/util/errorContext.js.map +1 -1
  155. package/dist/node_modules/rxjs/dist/esm5/internal/util/identity.js +1 -2
  156. package/dist/node_modules/rxjs/dist/esm5/internal/util/identity.js.map +1 -1
  157. package/dist/node_modules/rxjs/dist/esm5/internal/util/isFunction.js +1 -2
  158. package/dist/node_modules/rxjs/dist/esm5/internal/util/isFunction.js.map +1 -1
  159. package/dist/node_modules/rxjs/dist/esm5/internal/util/noop.js +1 -2
  160. package/dist/node_modules/rxjs/dist/esm5/internal/util/noop.js.map +1 -1
  161. package/dist/node_modules/rxjs/dist/esm5/internal/util/pipe.js +1 -2
  162. package/dist/node_modules/rxjs/dist/esm5/internal/util/pipe.js.map +1 -1
  163. package/dist/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js +1 -2
  164. package/dist/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js.map +1 -1
  165. package/dist/node_modules/{rxjs/node_modules/tslib → tslib}/tslib.es6.js +1 -2
  166. package/dist/node_modules/tslib/tslib.es6.js.map +1 -0
  167. package/dist/pages/CreateNotificationPage.d.ts +5 -0
  168. package/dist/pages/CreateNotificationPage.js +18 -19
  169. package/dist/pages/CreateNotificationPage.js.map +1 -1
  170. package/dist/pages/NotificationCenterPage.d.ts +6 -0
  171. package/dist/pages/NotificationCenterPage.js +13 -14
  172. package/dist/pages/NotificationCenterPage.js.map +1 -1
  173. package/dist/pages/NotificationHistoryAdminPage.d.ts +2 -0
  174. package/dist/pages/NotificationHistoryAdminPage.js +7 -8
  175. package/dist/pages/NotificationHistoryAdminPage.js.map +1 -1
  176. package/dist/pages/NotificationHistoryPage.d.ts +2 -0
  177. package/dist/pages/NotificationHistoryPage.js +13 -14
  178. package/dist/pages/NotificationHistoryPage.js.map +1 -1
  179. package/dist/pages/NotificationLandingPage.d.ts +10 -0
  180. package/dist/pages/NotificationLandingPage.js +5 -6
  181. package/dist/pages/NotificationLandingPage.js.map +1 -1
  182. package/dist/pages/NotificationPreferencesPage.d.ts +1 -0
  183. package/dist/pages/NotificationPreferencesPage.js +14 -15
  184. package/dist/pages/NotificationPreferencesPage.js.map +1 -1
  185. package/dist/pages/NotificationTemplatesPage.d.ts +7 -0
  186. package/dist/pages/NotificationTemplatesPage.js +25 -23
  187. package/dist/pages/NotificationTemplatesPage.js.map +1 -1
  188. package/dist/pages/NotificationTopicsPage.d.ts +1 -0
  189. package/dist/pages/NotificationTopicsPage.js +6 -7
  190. package/dist/pages/NotificationTopicsPage.js.map +1 -1
  191. package/dist/pages/TemplateEditorPage.d.ts +12 -0
  192. package/dist/pages/TemplateEditorPage.js +294 -285
  193. package/dist/pages/TemplateEditorPage.js.map +1 -1
  194. package/dist/providers/NotificationProvider.d.ts +11 -0
  195. package/dist/providers/NotificationProvider.js +1 -2
  196. package/dist/providers/NotificationProvider.js.map +1 -1
  197. package/dist/shared/hooks/useTr.d.ts +13 -0
  198. package/dist/shared/hooks/useTr.js +1 -2
  199. package/dist/shared/hooks/useTr.js.map +1 -1
  200. package/dist/store/notificationStore.d.ts +30 -0
  201. package/dist/store/notificationStore.js +1 -2
  202. package/dist/store/notificationStore.js.map +1 -1
  203. package/dist/test/happydom.d.ts +1 -0
  204. package/dist/translations/en.d.ts +468 -0
  205. package/dist/types/index.d.ts +249 -0
  206. package/dist/utils/inAppNavigation.d.ts +37 -0
  207. package/dist/utils/inAppNavigation.js +2 -3
  208. package/dist/utils/inAppNavigation.js.map +1 -1
  209. package/dist/utils/index.d.ts +68 -0
  210. package/dist/utils/index.js +16 -10
  211. package/dist/utils/index.js.map +1 -1
  212. package/dist/utils/nativeBridge.d.ts +2 -0
  213. package/dist/utils/nativeBridge.js +1 -2
  214. package/dist/utils/notificationHistoryExport.d.ts +12 -0
  215. package/dist/utils/notificationHistoryExport.js +1 -2
  216. package/dist/utils/notificationHistoryExport.js.map +1 -1
  217. package/package.json +66 -48
  218. package/dist/node_modules/rxjs/node_modules/tslib/tslib.es6.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Subscription.js","names":[],"sources":["../../../../../../node_modules/rxjs/dist/esm5/internal/Subscription.js"],"sourcesContent":["import { __read, __spreadArray, __values } from \"tslib\";\nimport { isFunction } from './util/isFunction';\nimport { UnsubscriptionError } from './util/UnsubscriptionError';\nimport { arrRemove } from './util/arrRemove';\nvar Subscription = (function () {\n function Subscription(initialTeardown) {\n this.initialTeardown = initialTeardown;\n this.closed = false;\n this._parentage = null;\n this._finalizers = null;\n }\n Subscription.prototype.unsubscribe = function () {\n var e_1, _a, e_2, _b;\n var errors;\n if (!this.closed) {\n this.closed = true;\n var _parentage = this._parentage;\n if (_parentage) {\n this._parentage = null;\n if (Array.isArray(_parentage)) {\n try {\n for (var _parentage_1 = __values(_parentage), _parentage_1_1 = _parentage_1.next(); !_parentage_1_1.done; _parentage_1_1 = _parentage_1.next()) {\n var parent_1 = _parentage_1_1.value;\n parent_1.remove(this);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_parentage_1_1 && !_parentage_1_1.done && (_a = _parentage_1.return)) _a.call(_parentage_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n }\n else {\n _parentage.remove(this);\n }\n }\n var initialFinalizer = this.initialTeardown;\n if (isFunction(initialFinalizer)) {\n try {\n initialFinalizer();\n }\n catch (e) {\n errors = e instanceof UnsubscriptionError ? e.errors : [e];\n }\n }\n var _finalizers = this._finalizers;\n if (_finalizers) {\n this._finalizers = null;\n try {\n for (var _finalizers_1 = __values(_finalizers), _finalizers_1_1 = _finalizers_1.next(); !_finalizers_1_1.done; _finalizers_1_1 = _finalizers_1.next()) {\n var finalizer = _finalizers_1_1.value;\n try {\n execFinalizer(finalizer);\n }\n catch (err) {\n errors = errors !== null && errors !== void 0 ? errors : [];\n if (err instanceof UnsubscriptionError) {\n errors = __spreadArray(__spreadArray([], __read(errors)), __read(err.errors));\n }\n else {\n errors.push(err);\n }\n }\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (_finalizers_1_1 && !_finalizers_1_1.done && (_b = _finalizers_1.return)) _b.call(_finalizers_1);\n }\n finally { if (e_2) throw e_2.error; }\n }\n }\n if (errors) {\n throw new UnsubscriptionError(errors);\n }\n }\n };\n Subscription.prototype.add = function (teardown) {\n var _a;\n if (teardown && teardown !== this) {\n if (this.closed) {\n execFinalizer(teardown);\n }\n else {\n if (teardown instanceof Subscription) {\n if (teardown.closed || teardown._hasParent(this)) {\n return;\n }\n teardown._addParent(this);\n }\n (this._finalizers = (_a = this._finalizers) !== null && _a !== void 0 ? _a : []).push(teardown);\n }\n }\n };\n Subscription.prototype._hasParent = function (parent) {\n var _parentage = this._parentage;\n return _parentage === parent || (Array.isArray(_parentage) && _parentage.includes(parent));\n };\n Subscription.prototype._addParent = function (parent) {\n var _parentage = this._parentage;\n this._parentage = Array.isArray(_parentage) ? (_parentage.push(parent), _parentage) : _parentage ? [_parentage, parent] : parent;\n };\n Subscription.prototype._removeParent = function (parent) {\n var _parentage = this._parentage;\n if (_parentage === parent) {\n this._parentage = null;\n }\n else if (Array.isArray(_parentage)) {\n arrRemove(_parentage, parent);\n }\n };\n Subscription.prototype.remove = function (teardown) {\n var _finalizers = this._finalizers;\n _finalizers && arrRemove(_finalizers, teardown);\n if (teardown instanceof Subscription) {\n teardown._removeParent(this);\n }\n };\n Subscription.EMPTY = (function () {\n var empty = new Subscription();\n empty.closed = true;\n return empty;\n })();\n return Subscription;\n}());\nexport { Subscription };\nexport var EMPTY_SUBSCRIPTION = Subscription.EMPTY;\nexport function isSubscription(value) {\n return (value instanceof Subscription ||\n (value && 'closed' in value && isFunction(value.remove) && isFunction(value.add) && isFunction(value.unsubscribe)));\n}\nfunction execFinalizer(finalizer) {\n if (isFunction(finalizer)) {\n finalizer();\n }\n else {\n finalizer.unsubscribe();\n }\n}\n//# sourceMappingURL=Subscription.js.map"],"x_google_ignoreList":[0],"mappings":"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"}
1
+ {"version":3,"file":"Subscription.js","names":["Subscription","initialTeardown","e_1","_a","e_2","_b","errors","_parentage","_parentage_1","__values","_parentage_1_1","e_1_1","initialFinalizer","isFunction","UnsubscriptionError","_finalizers","_finalizers_1","_finalizers_1_1","finalizer","err","__spreadArray","__read","e_2_1","teardown","parent","arrRemove","empty","isSubscription","value","execFinalizer"],"sources":["../../../../../../node_modules/rxjs/dist/esm5/internal/Subscription.js"],"sourcesContent":["import { __read, __spreadArray, __values } from \"tslib\";\nimport { isFunction } from './util/isFunction';\nimport { UnsubscriptionError } from './util/UnsubscriptionError';\nimport { arrRemove } from './util/arrRemove';\nvar Subscription = (function () {\n function Subscription(initialTeardown) {\n this.initialTeardown = initialTeardown;\n this.closed = false;\n this._parentage = null;\n this._finalizers = null;\n }\n Subscription.prototype.unsubscribe = function () {\n var e_1, _a, e_2, _b;\n var errors;\n if (!this.closed) {\n this.closed = true;\n var _parentage = this._parentage;\n if (_parentage) {\n this._parentage = null;\n if (Array.isArray(_parentage)) {\n try {\n for (var _parentage_1 = __values(_parentage), _parentage_1_1 = _parentage_1.next(); !_parentage_1_1.done; _parentage_1_1 = _parentage_1.next()) {\n var parent_1 = _parentage_1_1.value;\n parent_1.remove(this);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_parentage_1_1 && !_parentage_1_1.done && (_a = _parentage_1.return)) _a.call(_parentage_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n }\n else {\n _parentage.remove(this);\n }\n }\n var initialFinalizer = this.initialTeardown;\n if (isFunction(initialFinalizer)) {\n try {\n initialFinalizer();\n }\n catch (e) {\n errors = e instanceof UnsubscriptionError ? e.errors : [e];\n }\n }\n var _finalizers = this._finalizers;\n if (_finalizers) {\n this._finalizers = null;\n try {\n for (var _finalizers_1 = __values(_finalizers), _finalizers_1_1 = _finalizers_1.next(); !_finalizers_1_1.done; _finalizers_1_1 = _finalizers_1.next()) {\n var finalizer = _finalizers_1_1.value;\n try {\n execFinalizer(finalizer);\n }\n catch (err) {\n errors = errors !== null && errors !== void 0 ? errors : [];\n if (err instanceof UnsubscriptionError) {\n errors = __spreadArray(__spreadArray([], __read(errors)), __read(err.errors));\n }\n else {\n errors.push(err);\n }\n }\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (_finalizers_1_1 && !_finalizers_1_1.done && (_b = _finalizers_1.return)) _b.call(_finalizers_1);\n }\n finally { if (e_2) throw e_2.error; }\n }\n }\n if (errors) {\n throw new UnsubscriptionError(errors);\n }\n }\n };\n Subscription.prototype.add = function (teardown) {\n var _a;\n if (teardown && teardown !== this) {\n if (this.closed) {\n execFinalizer(teardown);\n }\n else {\n if (teardown instanceof Subscription) {\n if (teardown.closed || teardown._hasParent(this)) {\n return;\n }\n teardown._addParent(this);\n }\n (this._finalizers = (_a = this._finalizers) !== null && _a !== void 0 ? _a : []).push(teardown);\n }\n }\n };\n Subscription.prototype._hasParent = function (parent) {\n var _parentage = this._parentage;\n return _parentage === parent || (Array.isArray(_parentage) && _parentage.includes(parent));\n };\n Subscription.prototype._addParent = function (parent) {\n var _parentage = this._parentage;\n this._parentage = Array.isArray(_parentage) ? (_parentage.push(parent), _parentage) : _parentage ? [_parentage, parent] : parent;\n };\n Subscription.prototype._removeParent = function (parent) {\n var _parentage = this._parentage;\n if (_parentage === parent) {\n this._parentage = null;\n }\n else if (Array.isArray(_parentage)) {\n arrRemove(_parentage, parent);\n }\n };\n Subscription.prototype.remove = function (teardown) {\n var _finalizers = this._finalizers;\n _finalizers && arrRemove(_finalizers, teardown);\n if (teardown instanceof Subscription) {\n teardown._removeParent(this);\n }\n };\n Subscription.EMPTY = (function () {\n var empty = new Subscription();\n empty.closed = true;\n return empty;\n })();\n return Subscription;\n}());\nexport { Subscription };\nexport var EMPTY_SUBSCRIPTION = Subscription.EMPTY;\nexport function isSubscription(value) {\n return (value instanceof Subscription ||\n (value && 'closed' in value && isFunction(value.remove) && isFunction(value.add) && isFunction(value.unsubscribe)));\n}\nfunction execFinalizer(finalizer) {\n if (isFunction(finalizer)) {\n finalizer();\n }\n else {\n finalizer.unsubscribe();\n }\n}\n//# sourceMappingURL=Subscription.js.map"],"ignoreList":[0],"mappings":"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"}
@@ -1,4 +1,4 @@
1
- //#region node_modules/rxjs/dist/esm5/internal/config.js
1
+ // node_modules/rxjs/dist/esm5/internal/config.js
2
2
  var e = {
3
3
  onUnhandledError: null,
4
4
  onStoppedNotification: null,
@@ -6,7 +6,6 @@ var e = {
6
6
  useDeprecatedSynchronousErrorHandling: !1,
7
7
  useDeprecatedNextContext: !1
8
8
  };
9
- //#endregion
10
9
  export { e as config };
11
10
 
12
11
  //# sourceMappingURL=config.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"config.js","names":[],"sources":["../../../../../../node_modules/rxjs/dist/esm5/internal/config.js"],"sourcesContent":["export var config = {\n onUnhandledError: null,\n onStoppedNotification: null,\n Promise: undefined,\n useDeprecatedSynchronousErrorHandling: false,\n useDeprecatedNextContext: false,\n};\n//# sourceMappingURL=config.js.map"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAW,IAAS;CAChB,kBAAkB;CAClB,uBAAuB;CACvB,SAAS,KAAA;CACT,uCAAuC;CACvC,0BAA0B;CAC7B"}
1
+ {"version":3,"file":"config.js","names":["config"],"sources":["../../../../../../node_modules/rxjs/dist/esm5/internal/config.js"],"sourcesContent":["export var config = {\n onUnhandledError: null,\n onStoppedNotification: null,\n Promise: undefined,\n useDeprecatedSynchronousErrorHandling: false,\n useDeprecatedNextContext: false,\n};\n//# sourceMappingURL=config.js.map"],"ignoreList":[0],"mappings":";AAAA,IAAWA,IAAS;CAChB,kBAAkB;CAClB,uBAAuB;CACvB,SAAS,KAAA;CACT,uCAAuC;CACvC,0BAA0B;AAC9B"}
@@ -1,9 +1,8 @@
1
1
  import { Observable as e } from "../Observable.js";
2
- //#region node_modules/rxjs/dist/esm5/internal/observable/empty.js
2
+ // node_modules/rxjs/dist/esm5/internal/observable/empty.js
3
3
  var t = new e(function(e) {
4
4
  return e.complete();
5
5
  });
6
- //#endregion
7
6
  export { t as EMPTY };
8
7
 
9
8
  //# sourceMappingURL=empty.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"empty.js","names":[],"sources":["../../../../../../../node_modules/rxjs/dist/esm5/internal/observable/empty.js"],"sourcesContent":["import { Observable } from '../Observable';\nexport var EMPTY = new Observable(function (subscriber) { return subscriber.complete(); });\nexport function empty(scheduler) {\n return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\nfunction emptyScheduled(scheduler) {\n return new Observable(function (subscriber) { return scheduler.schedule(function () { return subscriber.complete(); }); });\n}\n//# sourceMappingURL=empty.js.map"],"x_google_ignoreList":[0],"mappings":";;AACA,IAAW,IAAQ,IAAI,EAAW,SAAU,GAAY;AAAE,QAAO,EAAW,UAAU;EAAI"}
1
+ {"version":3,"file":"empty.js","names":["EMPTY","Observable","subscriber"],"sources":["../../../../../../../node_modules/rxjs/dist/esm5/internal/observable/empty.js"],"sourcesContent":["import { Observable } from '../Observable';\nexport var EMPTY = new Observable(function (subscriber) { return subscriber.complete(); });\nexport function empty(scheduler) {\n return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\nfunction emptyScheduled(scheduler) {\n return new Observable(function (subscriber) { return scheduler.schedule(function () { return subscriber.complete(); }); });\n}\n//# sourceMappingURL=empty.js.map"],"ignoreList":[0],"mappings":";;AACA,IAAWA,IAAQ,IAAIC,EAAW,SAAU,GAAY;CAAE,OAAOC,EAAW,SAAS;AAAG,CAAC"}
@@ -1,5 +1,5 @@
1
- import { __read as e, __spreadArray as t } from "../../../../node_modules/tslib/tslib.es6.js";
2
- //#region node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js
1
+ import { __read as e, __spreadArray as t } from "../../../../../tslib/tslib.es6.js";
2
+ // node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js
3
3
  var n = {
4
4
  setTimeout: function(r, i) {
5
5
  var a = [...arguments].slice(2), o = n.delegate;
@@ -10,7 +10,6 @@ var n = {
10
10
  },
11
11
  delegate: void 0
12
12
  };
13
- //#endregion
14
13
  export { n as timeoutProvider };
15
14
 
16
15
  //# sourceMappingURL=timeoutProvider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"timeoutProvider.js","names":[],"sources":["../../../../../../../node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js"],"sourcesContent":["import { __read, __spreadArray } from \"tslib\";\nexport var timeoutProvider = {\n setTimeout: function (handler, timeout) {\n var args = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n args[_i - 2] = arguments[_i];\n }\n var delegate = timeoutProvider.delegate;\n if (delegate === null || delegate === void 0 ? void 0 : delegate.setTimeout) {\n return delegate.setTimeout.apply(delegate, __spreadArray([handler, timeout], __read(args)));\n }\n return setTimeout.apply(void 0, __spreadArray([handler, timeout], __read(args)));\n },\n clearTimeout: function (handle) {\n var delegate = timeoutProvider.delegate;\n return ((delegate === null || delegate === void 0 ? void 0 : delegate.clearTimeout) || clearTimeout)(handle);\n },\n delegate: undefined,\n};\n//# sourceMappingURL=timeoutProvider.js.map"],"x_google_ignoreList":[0],"mappings":";;AACA,IAAW,IAAkB;CACzB,YAAY,SAAU,GAAS,GAAS;EAE/B,IADD,QAEe,qBAEf,IAAW,EAAgB;AAI/B,SAHI,GAA6D,aACtD,EAAS,WAAW,MAAM,GAAU,EAAc,CAAC,GAAS,EAAQ,EAAE,EAAO,EAAK,CAAC,CAAC,GAExF,WAAW,MAAM,KAAK,GAAG,EAAc,CAAC,GAAS,EAAQ,EAAE,EAAO,EAAK,CAAC,CAAC;;CAEpF,cAAc,SAAU,GAAQ;AAE5B,UADe,EAAgB,UACuC,gBAAiB,cAAc,EAAO;;CAEhH,UAAU,KAAA;CACb"}
1
+ {"version":3,"file":"timeoutProvider.js","names":["timeoutProvider","args","delegate","__spreadArray","handler","timeout","__read","handle"],"sources":["../../../../../../../node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js"],"sourcesContent":["import { __read, __spreadArray } from \"tslib\";\nexport var timeoutProvider = {\n setTimeout: function (handler, timeout) {\n var args = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n args[_i - 2] = arguments[_i];\n }\n var delegate = timeoutProvider.delegate;\n if (delegate === null || delegate === void 0 ? void 0 : delegate.setTimeout) {\n return delegate.setTimeout.apply(delegate, __spreadArray([handler, timeout], __read(args)));\n }\n return setTimeout.apply(void 0, __spreadArray([handler, timeout], __read(args)));\n },\n clearTimeout: function (handle) {\n var delegate = timeoutProvider.delegate;\n return ((delegate === null || delegate === void 0 ? void 0 : delegate.clearTimeout) || clearTimeout)(handle);\n },\n delegate: undefined,\n};\n//# sourceMappingURL=timeoutProvider.js.map"],"ignoreList":[0],"mappings":";;AACA,IAAWA,IAAkB;CACzB,YAAY,SAAU,GAAS,GAAS;EAE/B,IADDC,QAEe,qBAEfC,IAAWF,EAAgB;EAI/B,OAHIE,GAA6D,aACtDA,EAAS,WAAW,MAAMA,GAAUC,EAAc,CAACC,GAASC,CAAO,GAAGC,EAAOL,CAAI,CAAC,CAAC,IAEvF,WAAW,MAAM,KAAK,GAAGE,EAAc,CAACC,GAASC,CAAO,GAAGC,EAAOL,CAAI,CAAC,CAAC;CACnF;CACA,cAAc,SAAU,GAAQ;EAE5B,QADeD,EAAgB,UACuC,gBAAiB,aAAA,CAAcO,CAAM;CAC/G;CACA,UAAU,KAAA;AACd"}
@@ -1,8 +1,7 @@
1
- //#region node_modules/rxjs/dist/esm5/internal/symbol/observable.js
1
+ // node_modules/rxjs/dist/esm5/internal/symbol/observable.js
2
2
  var e = (function() {
3
3
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4
4
  })();
5
- //#endregion
6
5
  export { e as observable };
7
6
 
8
7
  //# sourceMappingURL=observable.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"observable.js","names":[],"sources":["../../../../../../../node_modules/rxjs/dist/esm5/internal/symbol/observable.js"],"sourcesContent":["export var observable = (function () { return (typeof Symbol === 'function' && Symbol.observable) || '@@observable'; })();\n//# sourceMappingURL=observable.js.map"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAW,KAAc,WAAY;AAAE,QAAQ,OAAO,UAAW,cAAc,OAAO,cAAe;IAAoB"}
1
+ {"version":3,"file":"observable.js","names":["observable"],"sources":["../../../../../../../node_modules/rxjs/dist/esm5/internal/symbol/observable.js"],"sourcesContent":["export var observable = (function () { return (typeof Symbol === 'function' && Symbol.observable) || '@@observable'; })();\n//# sourceMappingURL=observable.js.map"],"ignoreList":[0],"mappings":";AAAA,IAAWA,KAAc,WAAY;CAAE,OAAQ,OAAO,UAAW,cAAc,OAAO,cAAe;AAAgB,EAAA,CAAG"}
@@ -1,5 +1,5 @@
1
1
  import { createErrorClass as e } from "./createErrorClass.js";
2
- //#region node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js
2
+ // node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js
3
3
  var t = e(function(e) {
4
4
  return function(t) {
5
5
  e(this), this.message = t ? t.length + " errors occurred during unsubscription:\n" + t.map(function(e, t) {
@@ -7,7 +7,6 @@ var t = e(function(e) {
7
7
  }).join("\n ") : "", this.name = "UnsubscriptionError", this.errors = t;
8
8
  };
9
9
  });
10
- //#endregion
11
10
  export { t as UnsubscriptionError };
12
11
 
13
12
  //# sourceMappingURL=UnsubscriptionError.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"UnsubscriptionError.js","names":[],"sources":["../../../../../../../node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js"],"sourcesContent":["import { createErrorClass } from './createErrorClass';\nexport var UnsubscriptionError = createErrorClass(function (_super) {\n return function UnsubscriptionErrorImpl(errors) {\n _super(this);\n this.message = errors\n ? errors.length + \" errors occurred during unsubscription:\\n\" + errors.map(function (err, i) { return i + 1 + \") \" + err.toString(); }).join('\\n ')\n : '';\n this.name = 'UnsubscriptionError';\n this.errors = errors;\n };\n});\n//# sourceMappingURL=UnsubscriptionError.js.map"],"x_google_ignoreList":[0],"mappings":";;AACA,IAAW,IAAsB,EAAiB,SAAU,GAAQ;AAChE,QAAO,SAAiC,GAAQ;AAM5C,EALA,EAAO,KAAK,EACZ,KAAK,UAAU,IACT,EAAO,SAAS,8CAA8C,EAAO,IAAI,SAAU,GAAK,GAAG;AAAE,UAAO,IAAI,IAAI,OAAO,EAAI,UAAU;IAAI,CAAC,KAAK,OAAO,GAClJ,IACN,KAAK,OAAO,uBACZ,KAAK,SAAS;;EAEpB"}
1
+ {"version":3,"file":"UnsubscriptionError.js","names":["UnsubscriptionError","createErrorClass","_super","errors","i","err"],"sources":["../../../../../../../node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js"],"sourcesContent":["import { createErrorClass } from './createErrorClass';\nexport var UnsubscriptionError = createErrorClass(function (_super) {\n return function UnsubscriptionErrorImpl(errors) {\n _super(this);\n this.message = errors\n ? errors.length + \" errors occurred during unsubscription:\\n\" + errors.map(function (err, i) { return i + 1 + \") \" + err.toString(); }).join('\\n ')\n : '';\n this.name = 'UnsubscriptionError';\n this.errors = errors;\n };\n});\n//# sourceMappingURL=UnsubscriptionError.js.map"],"ignoreList":[0],"mappings":";;AACA,IAAWA,IAAsBC,EAAiB,SAAU,GAAQ;CAChE,OAAO,SAAiC,GAAQ;EAM5C,AALAC,EAAO,IAAI,GACX,KAAK,UAAUC,IACTA,EAAO,SAAS,8CAA8CA,EAAO,IAAI,SAAU,GAAK,GAAG;GAAE,OAAOC,IAAI,IAAI,OAAOC,EAAI,SAAS;EAAG,CAAC,CAAC,CAAC,KAAK,MAAM,IACjJ,IACN,KAAK,OAAO,uBACZ,KAAK,SAASF;CAClB;AACJ,CAAC"}
@@ -1,11 +1,10 @@
1
- //#region node_modules/rxjs/dist/esm5/internal/util/arrRemove.js
1
+ // node_modules/rxjs/dist/esm5/internal/util/arrRemove.js
2
2
  function e(e, t) {
3
3
  if (e) {
4
4
  var n = e.indexOf(t);
5
5
  0 <= n && e.splice(n, 1);
6
6
  }
7
7
  }
8
- //#endregion
9
8
  export { e as arrRemove };
10
9
 
11
10
  //# sourceMappingURL=arrRemove.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"arrRemove.js","names":[],"sources":["../../../../../../../node_modules/rxjs/dist/esm5/internal/util/arrRemove.js"],"sourcesContent":["export function arrRemove(arr, item) {\n if (arr) {\n var index = arr.indexOf(item);\n 0 <= index && arr.splice(index, 1);\n }\n}\n//# sourceMappingURL=arrRemove.js.map"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAgB,EAAU,GAAK,GAAM;AACjC,KAAI,GAAK;EACL,IAAI,IAAQ,EAAI,QAAQ,EAAK;AAC7B,OAAK,KAAS,EAAI,OAAO,GAAO,EAAE"}
1
+ {"version":3,"file":"arrRemove.js","names":["arrRemove","arr","index","item"],"sources":["../../../../../../../node_modules/rxjs/dist/esm5/internal/util/arrRemove.js"],"sourcesContent":["export function arrRemove(arr, item) {\n if (arr) {\n var index = arr.indexOf(item);\n 0 <= index && arr.splice(index, 1);\n }\n}\n//# sourceMappingURL=arrRemove.js.map"],"ignoreList":[0],"mappings":";AAAA,SAAgBA,EAAU,GAAK,GAAM;CACjC,IAAIC,GAAK;EACL,IAAIC,IAAQD,EAAI,QAAQE,CAAI;EAC5B,KAAKD,KAASD,EAAI,OAAOC,GAAO,CAAC;CACrC;AACJ"}
@@ -1,11 +1,10 @@
1
- //#region node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js
1
+ // node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js
2
2
  function e(e) {
3
3
  var t = e(function(e) {
4
4
  Error.call(e), e.stack = (/* @__PURE__ */ Error()).stack;
5
5
  });
6
6
  return t.prototype = Object.create(Error.prototype), t.prototype.constructor = t, t;
7
7
  }
8
- //#endregion
9
8
  export { e as createErrorClass };
10
9
 
11
10
  //# sourceMappingURL=createErrorClass.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"createErrorClass.js","names":[],"sources":["../../../../../../../node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js"],"sourcesContent":["export function createErrorClass(createImpl) {\n var _super = function (instance) {\n Error.call(instance);\n instance.stack = new Error().stack;\n };\n var ctorFunc = createImpl(_super);\n ctorFunc.prototype = Object.create(Error.prototype);\n ctorFunc.prototype.constructor = ctorFunc;\n return ctorFunc;\n}\n//# sourceMappingURL=createErrorClass.js.map"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAgB,EAAiB,GAAY;CAKzC,IAAI,IAAW,EAJF,SAAU,GAAU;AAE7B,EADA,MAAM,KAAK,EAAS,EACpB,EAAS,SAAQ,gBAAI,OAAO,EAAC;GAEA;AAGjC,QAFA,EAAS,YAAY,OAAO,OAAO,MAAM,UAAU,EACnD,EAAS,UAAU,cAAc,GAC1B"}
1
+ {"version":3,"file":"createErrorClass.js","names":["createErrorClass","ctorFunc","createImpl","instance"],"sources":["../../../../../../../node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js"],"sourcesContent":["export function createErrorClass(createImpl) {\n var _super = function (instance) {\n Error.call(instance);\n instance.stack = new Error().stack;\n };\n var ctorFunc = createImpl(_super);\n ctorFunc.prototype = Object.create(Error.prototype);\n ctorFunc.prototype.constructor = ctorFunc;\n return ctorFunc;\n}\n//# sourceMappingURL=createErrorClass.js.map"],"ignoreList":[0],"mappings":";AAAA,SAAgBA,EAAiB,GAAY;CAKzC,IAAIC,IAAWC,EAAW,SAJH,GAAU;EAE7B,AADA,MAAM,KAAKC,CAAQ,GACnB,EAAS,SAAQ,gBAAI,MAAM,EAAA,CAAE;CACjC,CACgC;CAGhC,OAFA,EAAS,YAAY,OAAO,OAAO,MAAM,SAAS,GAClD,EAAS,UAAU,cAAcF,GAC1BA;AACX"}
@@ -1,5 +1,5 @@
1
1
  import { config as e } from "../config.js";
2
- //#region node_modules/rxjs/dist/esm5/internal/util/errorContext.js
2
+ // node_modules/rxjs/dist/esm5/internal/util/errorContext.js
3
3
  var t = null;
4
4
  function n(n) {
5
5
  if (e.useDeprecatedSynchronousErrorHandling) {
@@ -16,7 +16,6 @@ function n(n) {
16
16
  function r(n) {
17
17
  e.useDeprecatedSynchronousErrorHandling && t && (t.errorThrown = !0, t.error = n);
18
18
  }
19
- //#endregion
20
19
  export { r as captureError, n as errorContext };
21
20
 
22
21
  //# sourceMappingURL=errorContext.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"errorContext.js","names":[],"sources":["../../../../../../../node_modules/rxjs/dist/esm5/internal/util/errorContext.js"],"sourcesContent":["import { config } from '../config';\nvar context = null;\nexport function errorContext(cb) {\n if (config.useDeprecatedSynchronousErrorHandling) {\n var isRoot = !context;\n if (isRoot) {\n context = { errorThrown: false, error: null };\n }\n cb();\n if (isRoot) {\n var _a = context, errorThrown = _a.errorThrown, error = _a.error;\n context = null;\n if (errorThrown) {\n throw error;\n }\n }\n }\n else {\n cb();\n }\n}\nexport function captureError(err) {\n if (config.useDeprecatedSynchronousErrorHandling && context) {\n context.errorThrown = true;\n context.error = err;\n }\n}\n//# sourceMappingURL=errorContext.js.map"],"x_google_ignoreList":[0],"mappings":";;AACA,IAAI,IAAU;AACd,SAAgB,EAAa,GAAI;AAC7B,KAAI,EAAO,uCAAuC;EAC9C,IAAI,IAAS,CAAC;AAKd,MAJI,MACA,IAAU;GAAE,aAAa;GAAO,OAAO;GAAM,GAEjD,GAAI,EACA,GAAQ;GACR,IAAI,IAAK,GAAS,IAAc,EAAG,aAAa,IAAQ,EAAG;AAE3D,OADA,IAAU,MACN,EACA,OAAM;;OAKd,IAAI;;AAGZ,SAAgB,EAAa,GAAK;AAC9B,CAAI,EAAO,yCAAyC,MAChD,EAAQ,cAAc,IACtB,EAAQ,QAAQ"}
1
+ {"version":3,"file":"errorContext.js","names":["context","errorContext","config","isRoot","cb","_a","errorThrown","error","captureError","err"],"sources":["../../../../../../../node_modules/rxjs/dist/esm5/internal/util/errorContext.js"],"sourcesContent":["import { config } from '../config';\nvar context = null;\nexport function errorContext(cb) {\n if (config.useDeprecatedSynchronousErrorHandling) {\n var isRoot = !context;\n if (isRoot) {\n context = { errorThrown: false, error: null };\n }\n cb();\n if (isRoot) {\n var _a = context, errorThrown = _a.errorThrown, error = _a.error;\n context = null;\n if (errorThrown) {\n throw error;\n }\n }\n }\n else {\n cb();\n }\n}\nexport function captureError(err) {\n if (config.useDeprecatedSynchronousErrorHandling && context) {\n context.errorThrown = true;\n context.error = err;\n }\n}\n//# sourceMappingURL=errorContext.js.map"],"ignoreList":[0],"mappings":";;AACA,IAAIA,IAAU;AACd,SAAgBC,EAAa,GAAI;CAC7B,IAAIC,EAAO,uCAAuC;EAC9C,IAAIC,IAAS,CAACH;EAKd,IAJIG,MACA,IAAU;GAAE,aAAa;GAAO,OAAO;EAAK,IAEhDC,EAAG,GACCD,GAAQ;GACR,IAAIE,IAAKL,GAASM,IAAcD,EAAG,aAAaE,IAAQF,EAAG;GAE3D,IADA,IAAU,MACNC,GACA,MAAMC;EAEd;CACJ,OAEI,EAAG;AAEX;AACA,SAAgBC,EAAa,GAAK;CAC9B,AAAIN,EAAO,yCAAyCF,MAChD,EAAQ,cAAc,IACtB,EAAQ,QAAQS;AAExB"}
@@ -1,8 +1,7 @@
1
- //#region node_modules/rxjs/dist/esm5/internal/util/identity.js
1
+ // node_modules/rxjs/dist/esm5/internal/util/identity.js
2
2
  function e(e) {
3
3
  return e;
4
4
  }
5
- //#endregion
6
5
  export { e as identity };
7
6
 
8
7
  //# sourceMappingURL=identity.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"identity.js","names":[],"sources":["../../../../../../../node_modules/rxjs/dist/esm5/internal/util/identity.js"],"sourcesContent":["export function identity(x) {\n return x;\n}\n//# sourceMappingURL=identity.js.map"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAgB,EAAS,GAAG;AACxB,QAAO"}
1
+ {"version":3,"file":"identity.js","names":["identity","x"],"sources":["../../../../../../../node_modules/rxjs/dist/esm5/internal/util/identity.js"],"sourcesContent":["export function identity(x) {\n return x;\n}\n//# sourceMappingURL=identity.js.map"],"ignoreList":[0],"mappings":";AAAA,SAAgBA,EAAS,GAAG;CACxB,OAAOC;AACX"}
@@ -1,8 +1,7 @@
1
- //#region node_modules/rxjs/dist/esm5/internal/util/isFunction.js
1
+ // node_modules/rxjs/dist/esm5/internal/util/isFunction.js
2
2
  function e(e) {
3
3
  return typeof e == "function";
4
4
  }
5
- //#endregion
6
5
  export { e as isFunction };
7
6
 
8
7
  //# sourceMappingURL=isFunction.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"isFunction.js","names":[],"sources":["../../../../../../../node_modules/rxjs/dist/esm5/internal/util/isFunction.js"],"sourcesContent":["export function isFunction(value) {\n return typeof value === 'function';\n}\n//# sourceMappingURL=isFunction.js.map"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAgB,EAAW,GAAO;AAC9B,QAAO,OAAO,KAAU"}
1
+ {"version":3,"file":"isFunction.js","names":["isFunction","value"],"sources":["../../../../../../../node_modules/rxjs/dist/esm5/internal/util/isFunction.js"],"sourcesContent":["export function isFunction(value) {\n return typeof value === 'function';\n}\n//# sourceMappingURL=isFunction.js.map"],"ignoreList":[0],"mappings":";AAAA,SAAgBA,EAAW,GAAO;CAC9B,OAAO,OAAOC,KAAU;AAC5B"}
@@ -1,6 +1,5 @@
1
- //#region node_modules/rxjs/dist/esm5/internal/util/noop.js
1
+ // node_modules/rxjs/dist/esm5/internal/util/noop.js
2
2
  function e() {}
3
- //#endregion
4
3
  export { e as noop };
5
4
 
6
5
  //# sourceMappingURL=noop.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"noop.js","names":[],"sources":["../../../../../../../node_modules/rxjs/dist/esm5/internal/util/noop.js"],"sourcesContent":["export function noop() { }\n//# sourceMappingURL=noop.js.map"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAgB,IAAO"}
1
+ {"version":3,"file":"noop.js","names":["noop"],"sources":["../../../../../../../node_modules/rxjs/dist/esm5/internal/util/noop.js"],"sourcesContent":["export function noop() { }\n//# sourceMappingURL=noop.js.map"],"ignoreList":[0],"mappings":";AAAA,SAAgBA,IAAO,CAAE"}
@@ -1,5 +1,5 @@
1
1
  import { identity as e } from "./identity.js";
2
- //#region node_modules/rxjs/dist/esm5/internal/util/pipe.js
2
+ // node_modules/rxjs/dist/esm5/internal/util/pipe.js
3
3
  function t(t) {
4
4
  return t.length === 0 ? e : t.length === 1 ? t[0] : function(e) {
5
5
  return t.reduce(function(e, t) {
@@ -7,7 +7,6 @@ function t(t) {
7
7
  }, e);
8
8
  };
9
9
  }
10
- //#endregion
11
10
  export { t as pipeFromArray };
12
11
 
13
12
  //# sourceMappingURL=pipe.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pipe.js","names":[],"sources":["../../../../../../../node_modules/rxjs/dist/esm5/internal/util/pipe.js"],"sourcesContent":["import { identity } from './identity';\nexport function pipe() {\n var fns = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n fns[_i] = arguments[_i];\n }\n return pipeFromArray(fns);\n}\nexport function pipeFromArray(fns) {\n if (fns.length === 0) {\n return identity;\n }\n if (fns.length === 1) {\n return fns[0];\n }\n return function piped(input) {\n return fns.reduce(function (prev, fn) { return fn(prev); }, input);\n };\n}\n//# sourceMappingURL=pipe.js.map"],"x_google_ignoreList":[0],"mappings":";;AAQA,SAAgB,EAAc,GAAK;AAO/B,QANI,EAAI,WAAW,IACR,IAEP,EAAI,WAAW,IACR,EAAI,KAER,SAAe,GAAO;AACzB,SAAO,EAAI,OAAO,SAAU,GAAM,GAAI;AAAE,UAAO,EAAG,EAAK;KAAK,EAAM"}
1
+ {"version":3,"file":"pipe.js","names":["pipeFromArray","fns","identity","fn","prev","input"],"sources":["../../../../../../../node_modules/rxjs/dist/esm5/internal/util/pipe.js"],"sourcesContent":["import { identity } from './identity';\nexport function pipe() {\n var fns = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n fns[_i] = arguments[_i];\n }\n return pipeFromArray(fns);\n}\nexport function pipeFromArray(fns) {\n if (fns.length === 0) {\n return identity;\n }\n if (fns.length === 1) {\n return fns[0];\n }\n return function piped(input) {\n return fns.reduce(function (prev, fn) { return fn(prev); }, input);\n };\n}\n//# sourceMappingURL=pipe.js.map"],"ignoreList":[0],"mappings":";;AAQA,SAAgBA,EAAc,GAAK;CAO/B,OANIC,EAAI,WAAW,IACRC,IAEPD,EAAI,WAAW,IACRA,EAAI,KAER,SAAe,GAAO;EACzB,OAAOA,EAAI,OAAO,SAAU,GAAM,GAAI;GAAE,OAAOE,EAAGC,CAAI;EAAG,GAAGC,CAAK;CACrE;AACJ"}
@@ -1,6 +1,6 @@
1
1
  import { config as e } from "../config.js";
2
2
  import { timeoutProvider as t } from "../scheduler/timeoutProvider.js";
3
- //#region node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js
3
+ // node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js
4
4
  function n(n) {
5
5
  t.setTimeout(function() {
6
6
  var t = e.onUnhandledError;
@@ -8,7 +8,6 @@ function n(n) {
8
8
  else throw n;
9
9
  });
10
10
  }
11
- //#endregion
12
11
  export { n as reportUnhandledError };
13
12
 
14
13
  //# sourceMappingURL=reportUnhandledError.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"reportUnhandledError.js","names":[],"sources":["../../../../../../../node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js"],"sourcesContent":["import { config } from '../config';\nimport { timeoutProvider } from '../scheduler/timeoutProvider';\nexport function reportUnhandledError(err) {\n timeoutProvider.setTimeout(function () {\n var onUnhandledError = config.onUnhandledError;\n if (onUnhandledError) {\n onUnhandledError(err);\n }\n else {\n throw err;\n }\n });\n}\n//# sourceMappingURL=reportUnhandledError.js.map"],"x_google_ignoreList":[0],"mappings":";;;AAEA,SAAgB,EAAqB,GAAK;AACtC,GAAgB,WAAW,WAAY;EACnC,IAAI,IAAmB,EAAO;AAC9B,MAAI,EACA,GAAiB,EAAI;MAGrB,OAAM;GAEZ"}
1
+ {"version":3,"file":"reportUnhandledError.js","names":["reportUnhandledError","onUnhandledError","config","err"],"sources":["../../../../../../../node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js"],"sourcesContent":["import { config } from '../config';\nimport { timeoutProvider } from '../scheduler/timeoutProvider';\nexport function reportUnhandledError(err) {\n timeoutProvider.setTimeout(function () {\n var onUnhandledError = config.onUnhandledError;\n if (onUnhandledError) {\n onUnhandledError(err);\n }\n else {\n throw err;\n }\n });\n}\n//# sourceMappingURL=reportUnhandledError.js.map"],"ignoreList":[0],"mappings":";;;AAEA,SAAgBA,EAAqB,GAAK;CACtC,EAAgB,WAAW,WAAY;EACnC,IAAIC,IAAmBC,EAAO;EAC9B,IAAID,GACA,EAAiBE,CAAG;OAGpB,MAAMA;CAEd,CAAC;AACL"}
@@ -1,4 +1,4 @@
1
- //#region node_modules/rxjs/node_modules/tslib/tslib.es6.mjs
1
+ // node_modules/tslib/tslib.es6.mjs
2
2
  var e = function(t, n) {
3
3
  return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
4
4
  e.__proto__ = t;
@@ -46,7 +46,6 @@ function i(e, t, n) {
46
46
  if (n || arguments.length === 2) for (var r = 0, i = t.length, a; r < i; r++) (a || !(r in t)) && (a ||= Array.prototype.slice.call(t, 0, r), a[r] = t[r]);
47
47
  return e.concat(a || Array.prototype.slice.call(t));
48
48
  }
49
- //#endregion
50
49
  export { t as __extends, r as __read, i as __spreadArray, n as __values };
51
50
 
52
51
  //# sourceMappingURL=tslib.es6.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tslib.es6.js","names":["extendStatics","b","p","d","__extends","__","__values","s","m","o","i","__read","r","ar","e","n","error","\"return\"","__spreadArray","pack","l","from","to"],"sources":["../../../node_modules/tslib/tslib.es6.mjs"],"sourcesContent":["/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\n\nvar extendStatics = function(d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n }\n return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nexport function __generator(thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++)\n ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n};\n\nvar ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n}\n\nexport function __importDefault(mod) {\n return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n var dispose, inner;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n dispose = value[Symbol.dispose];\n if (async) inner = dispose;\n }\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n function fail(e) {\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n env.hasError = true;\n }\n var r, s = 0;\n function next() {\n while (r = env.stack.pop()) {\n try {\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\n if (r.dispose) {\n var result = r.dispose.call(r.value);\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n else s |= 1;\n }\n catch (e) {\n fail(e);\n }\n }\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\n if (env.hasError) throw env.error;\n }\n return next();\n}\n\nexport function __rewriteRelativeImportExtension(path, preserveJsx, extraExtensions, ignoreCase) {\n if (typeof path === \"string\" && /^\\.\\.?\\//.test(path)) {\n if (extraExtensions) {\n for (var extension in extraExtensions) {\n var suffix = path.slice(-extension.length);\n if (suffix === extension || ignoreCase && suffix.toLowerCase() === extension.toLowerCase()) {\n var output = extraExtensions[extension];\n return output === extension ? path : path.slice(0, -extension.length) + output;\n }\n }\n }\n return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {\n return tsx ? preserveJsx ? \".jsx\" : \".js\" : d && (!ext || !cm) ? m : (d + ext + \".\" + cm.toLowerCase() + \"js\");\n });\n }\n return path;\n}\n\nexport default {\n __extends,\n __assign,\n __rest,\n __decorate,\n __param,\n __esDecorate,\n __runInitializers,\n __propKey,\n __setFunctionName,\n __metadata,\n __awaiter,\n __generator,\n __createBinding,\n __exportStar,\n __values,\n __read,\n __spread,\n __spreadArrays,\n __spreadArray,\n __await,\n __asyncGenerator,\n __asyncDelegator,\n __asyncValues,\n __makeTemplateObject,\n __importStar,\n __importDefault,\n __classPrivateFieldGet,\n __classPrivateFieldSet,\n __classPrivateFieldIn,\n __addDisposableResource,\n __disposeResources,\n __rewriteRelativeImportExtension,\n};\n"],"ignoreList":[0],"mappings":";AAgBA,IAAIA,IAAgB,SAAS,GAAG,GAAG;CAIjC,OAHA,IAAgB,OAAO,kBAClB,EAAE,WAAW,CAAC,EAAE,aAAa,SAAS,SAAU,GAAG,GAAG;EAAE,EAAE,YAAYC;CAAG,KAC1E,SAAU,GAAG,GAAG;EAAE,KAAK,IAAIC,KAAKD,GAAG,AAAI,OAAO,UAAU,eAAe,KAAKA,GAAGC,CAAC,MAAG,EAAEA,KAAKD,EAAEC;CAAI,GAC7FF,EAAcG,GAAGF,CAAC;AAC3B;AAEA,SAAgBG,EAAU,GAAG,GAAG;CAC9B,IAAI,OAAOH,KAAM,cAAcA,MAAM,MACjC,MAAU,UAAU,yBAAyB,OAAOA,CAAC,IAAI,+BAA+B;CAC5F,EAAcE,GAAGF,CAAC;CAClB,SAASI,IAAK;EAAE,KAAK,cAAcF;CAAG;CACtC,EAAE,YAAYF,MAAM,OAAO,OAAO,OAAOA,CAAC,KAAK,EAAG,YAAYA,EAAE,WAAW,IAAII,EAAG;AACpF;AA2IA,SAAgBC,EAAS,GAAG;CAC1B,IAAIC,IAAI,OAAO,UAAW,cAAc,OAAO,UAAUC,IAAID,KAAKE,EAAEF,IAAIG,IAAI;CAC5E,IAAIF,GAAG,OAAOA,EAAE,KAAKC,CAAC;CACtB,IAAIA,KAAK,OAAOA,EAAE,UAAW,UAAU,OAAO,EAC1C,MAAM,WAAY;EAEd,OADIA,KAAKC,KAAKD,EAAE,WAAQ,IAAI,KAAK,IAC1B;GAAE,OAAOA,KAAKA,EAAE;GAAM,MAAM,CAACA;EAAE;CAC1C,EACJ;CACA,MAAU,UAAUF,IAAI,4BAA4B,iCAAiC;AACvF;AAEA,SAAgBI,EAAO,GAAG,GAAG;CAC3B,IAAIH,IAAI,OAAO,UAAW,cAAcC,EAAE,OAAO;CACjD,IAAI,CAACD,GAAG,OAAOC;CACf,IAAIC,IAAIF,EAAE,KAAKC,CAAC,GAAGG,GAAGC,IAAK,CAAC,GAAGC;CAC/B,IAAI;EACA,QAAQC,MAAM,KAAK,KAAK,MAAM,MAAM,EAAE,IAAIL,EAAE,KAAK,EAAA,CAAG,OAAM,EAAG,KAAKE,EAAE,KAAK;CAC7E,SACOI,GAAO;EAAE,IAAI,EAAS,SAAM;CAAG,UAC9B;EACJ,IAAI;GACA,AAAIJ,KAAK,CAACA,EAAE,SAAS,IAAIF,EAAEO,WAAYT,EAAE,KAAKE,CAAC;EACnD,UACQ;GAAE,IAAII,GAAG,MAAMA,EAAE;EAAO;CACpC;CACA,OAAOD;AACT;AAkBA,SAAgBK,EAAc,GAAI,GAAM,GAAM;CAC5C,IAAIC,KAAQ,UAAU,WAAW,GAAQ,KAAA,IAAIT,IAAI,GAAGU,IAAIC,EAAK,QAAQR,GAAIH,IAAIU,GAAG,KAC5E,CAAIP,KAAM,EAAEH,KAAKW,QACb,AAASR,MAAK,MAAM,UAAU,MAAM,KAAKQ,GAAM,GAAGX,CAAC,GACnD,EAAGA,KAAKW,EAAKX;CAGrB,OAAOY,EAAG,OAAOT,KAAM,MAAM,UAAU,MAAM,KAAKQ,CAAI,CAAC;AACzD"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Create/Send Notification Page
3
+ * Allows admins to compose and send notifications to selected recipients
4
+ */
5
+ export declare function CreateNotificationPage(): import('react').JSX.Element;
@@ -1,20 +1,20 @@
1
- import { useNotificationAnalytics as e } from "../hooks/useNotificationAnalytics.js";
2
- import { isPermissionError as t } from "../utils/index.js";
3
- import { useNotificationTopics as n } from "../hooks/useNotificationTopics.js";
4
- import { useTr as r } from "../shared/hooks/useTr.js";
5
- import { nativeImpact as ee, nativeNotify as i } from "../utils/nativeBridge.js";
6
- import { NOTIFICATION_PERMISSIONS as te } from "../constants/permissions.js";
7
- import { useSendNotification as ne } from "../hooks/useSendNotification.js";
8
- import { useNotificationTemplates as re } from "../hooks/useNotificationTemplates.js";
9
- import { useUserSearch as ie } from "../hooks/useUserSearch.js";
10
- import { RecipientSelector as ae } from "../components/RecipientSelector.js";
1
+ import { isPermissionError as e } from "../utils/index.js";
2
+ import { useSendNotification as t } from "../hooks/useSendNotification.js";
3
+ import { useNotificationTemplates as n } from "../hooks/useNotificationTemplates.js";
4
+ import { useUserSearch as r } from "../hooks/useUserSearch.js";
5
+ import { useNotificationTopics as ee } from "../hooks/useNotificationTopics.js";
6
+ import { useNotificationAnalytics as te } from "../hooks/useNotificationAnalytics.js";
7
+ import { RecipientSelector as ne } from "../components/RecipientSelector.js";
8
+ import { NOTIFICATION_PERMISSIONS as re } from "../constants/permissions.js";
9
+ import { useTr as ie } from "../shared/hooks/useTr.js";
10
+ import { nativeImpact as ae, nativeNotify as i } from "../utils/nativeBridge.js";
11
11
  import { useMemo as a, useState as o } from "react";
12
12
  import { useGlobalUi as oe, usePermissions as se } from "@burdenoff/fe-libs/shared/providers/shell";
13
13
  import { AlertCircle as ce, ArrowLeft as le, Bell as ue, CheckCircle2 as s, Eye as de, EyeOff as fe, FileText as pe, ImagePlus as me, Link2 as he, Loader2 as c, Mail as ge, MessageSquare as l, Send as _e, Smartphone as ve, User as u, Users as ye, X as be } from "lucide-react";
14
14
  import { useNavigate as xe } from "react-router";
15
15
  import { Fragment as Se, jsx as d, jsxs as f } from "react/jsx-runtime";
16
16
  import { CTAOverflowMenu as Ce, GlassCard as we, IllustratedEmptyState as Te, NextSteps as Ee, PagePurpose as De } from "@burdenoff/fe-libs/ui";
17
- //#region src/pages/CreateNotificationPage.tsx
17
+ // src/pages/CreateNotificationPage.tsx
18
18
  var Oe = [
19
19
  {
20
20
  value: "EMAIL",
@@ -176,7 +176,7 @@ var Oe = [
176
176
  }
177
177
  ];
178
178
  function Ne() {
179
- let ge = xe(), l = r(), { hasPermission: ve, isLoading: Ne, refreshPermissions: Pe } = se(), { showToast: Fe } = oe(), { sendNotification: Ie, sendBatch: Le, sendWithTemplate: Re, isSending: p, error: ze, lastResult: Be, clearError: Ve, clearResult: He } = ne(), { templates: m, isLoading: Ue } = re(), { trackNotificationSent: We } = e(), { searchUsers: h, fetchAllUsers: Ge, results: g, isLoading: Ke, error: _ } = ie(), { topics: qe } = n({ isActive: !0 }), [v, Je] = o("compose"), [y, Ye] = o("EMAIL"), [b, Xe] = o("MARKETING"), [x, Ze] = o("MEDIUM"), [S, Qe] = o([]), [C, w] = o("manual"), [T, E] = o([]), [D, O] = o(!1), [k, $e] = o(""), [A, et] = o(""), [j, tt] = o(""), [M, nt] = o(""), [N, rt] = o(""), [it, at] = o(!1), [P, ot] = o(""), [st, F] = o([{
179
+ let ge = xe(), l = ie(), { hasPermission: ve, isLoading: Ne, refreshPermissions: Pe } = se(), { showToast: Fe } = oe(), { sendNotification: Ie, sendBatch: Le, sendWithTemplate: Re, isSending: p, error: ze, lastResult: Be, clearError: Ve, clearResult: He } = t(), { templates: m, isLoading: Ue } = n(), { trackNotificationSent: We } = te(), { searchUsers: h, fetchAllUsers: Ge, results: g, isLoading: Ke, error: _ } = r(), { topics: qe } = ee({ isActive: !0 }), [v, Je] = o("compose"), [y, Ye] = o("EMAIL"), [b, Xe] = o("MARKETING"), [x, Ze] = o("MEDIUM"), [S, Qe] = o([]), [C, w] = o("manual"), [T, E] = o([]), [D, O] = o(!1), [k, $e] = o(""), [A, et] = o(""), [j, tt] = o(""), [M, nt] = o(""), [N, rt] = o(""), [it, at] = o(!1), [P, ot] = o(""), [st, F] = o([{
180
180
  url: "",
181
181
  label: "",
182
182
  kind: "image"
@@ -236,7 +236,7 @@ function Ne() {
236
236
  className: "flex h-64 items-center justify-center",
237
237
  children: /* @__PURE__ */ d("div", { className: "h-8 w-8 animate-spin rounded-full border-4 border-primary border-t-transparent" })
238
238
  });
239
- let xt = ve(te.NOTIFICATION_CREATE), St = ve(te.NOTIFICATION_SEND);
239
+ let xt = ve(re.NOTIFICATION_CREATE), St = ve(re.NOTIFICATION_SEND);
240
240
  if (!xt || !St) return /* @__PURE__ */ d("div", {
241
241
  className: "p-8 text-center text-text-secondary",
242
242
  children: l("notifications.noPermissionCreateAndSend", "You don't have permission to create and send notifications.")
@@ -277,7 +277,7 @@ function Ne() {
277
277
  } else if (!H) return q(l("notifications.selectTemplateRequired", "Please select a template")), !1;
278
278
  return !0;
279
279
  }, Dt = async () => {
280
- if (ee("light"), Et()) {
280
+ if (ae("light"), Et()) {
281
281
  Ve(), He(), Y(!1);
282
282
  try {
283
283
  let e = C === "directory" ? await wt() : Tt(), t = e.length + (L ? R.length : 0), n = (e, n) => {
@@ -353,12 +353,12 @@ function Ne() {
353
353
  }
354
354
  }))?.status && (n(1, 0), Y(!0), i("success"));
355
355
  }
356
- } catch (e) {
357
- if (i("error"), t(e)) {
356
+ } catch (t) {
357
+ if (i("error"), e(t)) {
358
358
  Ve(), Fe(l("notifications.permissionDeniedOnSend", "You don't have permission to send that notification. Refreshing access…"), "warning"), Pe().catch((e) => console.warn("[permissions] refresh failed after send denial:", e));
359
359
  return;
360
360
  }
361
- console.error("Failed to send notification:", e);
361
+ console.error("Failed to send notification:", t);
362
362
  }
363
363
  }
364
364
  }, Ot = () => {
@@ -655,7 +655,7 @@ function Ne() {
655
655
  children: l("notifications.userDirectory", "User directory")
656
656
  })]
657
657
  }),
658
- C === "manual" || !bt ? /* @__PURE__ */ d(ae, {
658
+ C === "manual" || !bt ? /* @__PURE__ */ d(ne, {
659
659
  recipients: S,
660
660
  onChange: Qe,
661
661
  channel: y,
@@ -1413,7 +1413,6 @@ function Ne() {
1413
1413
  ]
1414
1414
  });
1415
1415
  }
1416
- //#endregion
1417
1416
  export { Ne as CreateNotificationPage };
1418
1417
 
1419
1418
  //# sourceMappingURL=CreateNotificationPage.js.map