@qonto/embed-sdk 0.64.3 → 0.66.0

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 (474) hide show
  1. package/dist/_virtual/Observable.js +1 -0
  2. package/dist/_virtual/index2.js +1 -1
  3. package/dist/_virtual/index3.js +1 -0
  4. package/dist/auth-links/auth-links.d.ts +7 -7
  5. package/dist/auth-links/auth-links.d.ts.map +1 -1
  6. package/dist/auth-links/client/auth-links.client.d.ts +5 -6
  7. package/dist/auth-links/client/auth-links.client.d.ts.map +1 -1
  8. package/dist/auth-links/index.d.ts +6 -4
  9. package/dist/auth-links/index.d.ts.map +1 -1
  10. package/dist/beneficiaries/beneficiaries.d.ts +10 -10
  11. package/dist/beneficiaries/beneficiaries.d.ts.map +1 -1
  12. package/dist/beneficiaries/client/beneficiaries.client.d.ts +11 -13
  13. package/dist/beneficiaries/client/beneficiaries.client.d.ts.map +1 -1
  14. package/dist/beneficiaries/index.d.ts +1 -1
  15. package/dist/cards/client/cards.client.d.ts +11 -11
  16. package/dist/cards/client/cards.client.d.ts.map +1 -1
  17. package/dist/cards/index.d.ts +6 -3
  18. package/dist/cards/index.d.ts.map +1 -1
  19. package/dist/index.umd.js +4 -4
  20. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/attribution/helpers.js +1 -0
  21. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/attribution/web-attribution.js +1 -0
  22. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/browser-client-factory.js +1 -0
  23. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/browser-client.js +1 -0
  24. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/config/joined-config.js +1 -0
  25. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/config.js +1 -0
  26. package/dist/node_modules/.pnpm/{@amplitude_analytics-browser@2.35.3 → @amplitude_analytics-browser@2.37.2}/node_modules/@amplitude/analytics-browser/lib/esm/cookie-migration/index.js +1 -1
  27. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/default-tracking.js +1 -0
  28. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/index.js +1 -0
  29. package/dist/node_modules/.pnpm/{@amplitude_analytics-browser@2.35.3 → @amplitude_analytics-browser@2.37.2}/node_modules/@amplitude/analytics-browser/lib/esm/plugins/context.js +1 -1
  30. package/dist/node_modules/.pnpm/{@amplitude_analytics-browser@2.35.3 → @amplitude_analytics-browser@2.37.2}/node_modules/@amplitude/analytics-browser/lib/esm/plugins/file-download-tracking.js +1 -1
  31. package/dist/node_modules/.pnpm/{@amplitude_analytics-browser@2.35.3 → @amplitude_analytics-browser@2.37.2}/node_modules/@amplitude/analytics-browser/lib/esm/plugins/form-interaction-tracking.js +1 -1
  32. package/dist/node_modules/.pnpm/{@amplitude_analytics-browser@2.35.3 → @amplitude_analytics-browser@2.37.2}/node_modules/@amplitude/analytics-browser/lib/esm/plugins/network-connectivity-checker.js +1 -1
  33. package/dist/node_modules/.pnpm/{@amplitude_analytics-browser@2.35.3 → @amplitude_analytics-browser@2.37.2}/node_modules/@amplitude/analytics-browser/lib/esm/storage/local-storage.js +1 -1
  34. package/dist/node_modules/.pnpm/{@amplitude_analytics-browser@2.35.3 → @amplitude_analytics-browser@2.37.2}/node_modules/@amplitude/analytics-browser/lib/esm/storage/session-storage.js +1 -1
  35. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/transports/fetch.js +1 -0
  36. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/transports/send-beacon.js +1 -0
  37. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/transports/xhr.js +1 -0
  38. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/types.js +1 -0
  39. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/version.js +1 -0
  40. package/dist/{server/node_modules/.pnpm/@amplitude_analytics-core@2.40.1 → node_modules/.pnpm/@amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/messenger/constants.js +1 -1
  41. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/plugins/destination.js +1 -0
  42. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/remote-config/remote-config.js +1 -0
  43. package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/revenue.js +1 -1
  44. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/storage/cookie.js +1 -0
  45. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/transports/base.js +1 -0
  46. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/transports/gzip.js +1 -0
  47. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/types/config/browser-config.js +1 -0
  48. package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/types/element-interactions.js +1 -1
  49. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/utils/observable.js +1 -0
  50. package/dist/node_modules/.pnpm/{@amplitude_plugin-autocapture-browser@1.22.2 → @amplitude_plugin-autocapture-browser@1.24.2}/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-action-click.js +1 -1
  51. package/dist/{server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.22.2 → node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2}/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-dead-click.js +1 -1
  52. package/dist/node_modules/.pnpm/{@amplitude_plugin-autocapture-browser@1.22.2 → @amplitude_plugin-autocapture-browser@1.24.2}/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-error-click.js +1 -1
  53. package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-exposure.js +1 -0
  54. package/dist/{server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.22.2 → node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2}/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-rage-click.js +1 -1
  55. package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-scroll.js +1 -0
  56. package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-thrashed-cursor.js +1 -0
  57. package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-viewport-content-updated.js +1 -0
  58. package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture-plugin.js +1 -0
  59. package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/constants.js +1 -0
  60. package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/data-extractor.js +1 -0
  61. package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/frustration-plugin.js +1 -0
  62. package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/helpers.js +1 -0
  63. package/dist/{server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.22.2 → node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2}/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/hierarchy.js +1 -1
  64. package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/libs/element-path.js +1 -0
  65. package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/observables.js +1 -0
  66. package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/version.js +1 -0
  67. package/dist/node_modules/.pnpm/@amplitude_plugin-custom-enrichment-browser@0.1.1/node_modules/@amplitude/plugin-custom-enrichment-browser/lib/esm/custom-enrichment.js +1 -0
  68. package/dist/node_modules/.pnpm/@amplitude_plugin-network-capture-browser@1.9.10/node_modules/@amplitude/plugin-network-capture-browser/lib/esm/network-capture-plugin.js +1 -0
  69. package/dist/{server/node_modules/.pnpm/@amplitude_plugin-network-capture-browser@1.8.2 → node_modules/.pnpm/@amplitude_plugin-network-capture-browser@1.9.10}/node_modules/@amplitude/plugin-network-capture-browser/lib/esm/track-network-event.js +1 -1
  70. package/dist/node_modules/.pnpm/@amplitude_plugin-page-url-enrichment-browser@0.7.2/node_modules/@amplitude/plugin-page-url-enrichment-browser/lib/esm/page-url-enrichment.js +1 -0
  71. package/dist/node_modules/.pnpm/@amplitude_plugin-page-view-tracking-browser@2.9.3/node_modules/@amplitude/plugin-page-view-tracking-browser/lib/esm/page-view-tracking.js +1 -0
  72. package/dist/node_modules/.pnpm/{@amplitude_plugin-web-vitals-browser@1.1.13 → @amplitude_plugin-web-vitals-browser@1.1.25}/node_modules/@amplitude/plugin-web-vitals-browser/lib/esm/web-vitals-plugin.js +1 -1
  73. package/dist/node_modules/.pnpm/{@sentry-internal_browser-utils@10.39.0 → @sentry-internal_browser-utils@10.45.0}/node_modules/@sentry-internal/browser-utils/build/esm/getNativeImplementation.js +1 -1
  74. package/dist/node_modules/.pnpm/{@sentry-internal_browser-utils@10.39.0 → @sentry-internal_browser-utils@10.45.0}/node_modules/@sentry-internal/browser-utils/build/esm/instrument/dom.js +1 -1
  75. package/dist/node_modules/.pnpm/{@sentry-internal_browser-utils@10.39.0 → @sentry-internal_browser-utils@10.45.0}/node_modules/@sentry-internal/browser-utils/build/esm/instrument/history.js +1 -1
  76. package/dist/node_modules/.pnpm/{@sentry-internal_browser-utils@10.39.0 → @sentry-internal_browser-utils@10.45.0}/node_modules/@sentry-internal/browser-utils/build/esm/instrument/xhr.js +1 -1
  77. package/dist/node_modules/.pnpm/{@sentry-internal_browser-utils@10.39.0 → @sentry-internal_browser-utils@10.45.0}/node_modules/@sentry-internal/browser-utils/build/esm/types.js +1 -1
  78. package/dist/node_modules/.pnpm/{@sentry_browser@10.39.0 → @sentry_browser@10.45.0}/node_modules/@sentry/browser/build/npm/esm/prod/client.js +1 -1
  79. package/dist/node_modules/.pnpm/{@sentry_browser@10.39.0 → @sentry_browser@10.45.0}/node_modules/@sentry/browser/build/npm/esm/prod/eventbuilder.js +1 -1
  80. package/dist/node_modules/.pnpm/{@sentry_browser@10.39.0 → @sentry_browser@10.45.0}/node_modules/@sentry/browser/build/npm/esm/prod/helpers.js +1 -1
  81. package/dist/node_modules/.pnpm/{@sentry_browser@10.39.0 → @sentry_browser@10.45.0}/node_modules/@sentry/browser/build/npm/esm/prod/integrations/breadcrumbs.js +1 -1
  82. package/dist/node_modules/.pnpm/{@sentry_browser@10.39.0 → @sentry_browser@10.45.0}/node_modules/@sentry/browser/build/npm/esm/prod/integrations/browserapierrors.js +1 -1
  83. package/dist/node_modules/.pnpm/@sentry_browser@10.45.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/browsersession.js +1 -0
  84. package/dist/node_modules/.pnpm/{@sentry_browser@10.39.0 → @sentry_browser@10.45.0}/node_modules/@sentry/browser/build/npm/esm/prod/integrations/culturecontext.js +1 -1
  85. package/dist/node_modules/.pnpm/{@sentry_browser@10.39.0 → @sentry_browser@10.45.0}/node_modules/@sentry/browser/build/npm/esm/prod/integrations/globalhandlers.js +1 -1
  86. package/dist/node_modules/.pnpm/{@sentry_browser@10.39.0 → @sentry_browser@10.45.0}/node_modules/@sentry/browser/build/npm/esm/prod/integrations/httpcontext.js +1 -1
  87. package/dist/node_modules/.pnpm/{@sentry_browser@10.39.0 → @sentry_browser@10.45.0}/node_modules/@sentry/browser/build/npm/esm/prod/integrations/linkederrors.js +1 -1
  88. package/dist/node_modules/.pnpm/{@sentry_browser@10.39.0 → @sentry_browser@10.45.0}/node_modules/@sentry/browser/build/npm/esm/prod/sdk.js +1 -1
  89. package/dist/node_modules/.pnpm/@sentry_browser@10.45.0/node_modules/@sentry/browser/build/npm/esm/prod/stack-parsers.js +1 -0
  90. package/dist/node_modules/.pnpm/{@sentry_browser@10.39.0 → @sentry_browser@10.45.0}/node_modules/@sentry/browser/build/npm/esm/prod/transports/fetch.js +1 -1
  91. package/dist/node_modules/.pnpm/{@sentry_browser@10.39.0 → @sentry_browser@10.45.0}/node_modules/@sentry/browser/build/npm/esm/prod/utils/detectBrowserExtension.js +1 -1
  92. package/dist/node_modules/.pnpm/@sentry_core@10.45.0/node_modules/@sentry/core/build/esm/client.js +1 -0
  93. package/dist/node_modules/.pnpm/@sentry_core@10.45.0/node_modules/@sentry/core/build/esm/exports.js +1 -0
  94. package/dist/node_modules/.pnpm/@sentry_core@10.45.0/node_modules/@sentry/core/build/esm/integrations/eventFilters.js +1 -0
  95. package/dist/node_modules/.pnpm/@sentry_core@10.45.0/node_modules/@sentry/core/build/esm/utils/baggage.js +1 -0
  96. package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/browser.js +1 -1
  97. package/dist/node_modules/.pnpm/@sentry_core@10.45.0/node_modules/@sentry/core/build/esm/utils/envelope.js +1 -0
  98. package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/misc.js +1 -1
  99. package/dist/node_modules/.pnpm/@sentry_core@10.45.0/node_modules/@sentry/core/build/esm/utils/object.js +1 -0
  100. package/dist/node_modules/.pnpm/@sentry_core@10.45.0/node_modules/@sentry/core/build/esm/utils/version.js +1 -0
  101. package/dist/node_modules/.pnpm/safe-json-stringify@1.2.0/node_modules/safe-json-stringify/index.js +1 -1
  102. package/dist/node_modules/.pnpm/zen-observable@0.10.0/node_modules/zen-observable/index.js +1 -0
  103. package/dist/node_modules/.pnpm/zen-observable@0.10.0/node_modules/zen-observable/lib/Observable.js +1 -0
  104. package/dist/organizations/client/organizations.client.d.ts +4 -24
  105. package/dist/organizations/client/organizations.client.d.ts.map +1 -1
  106. package/dist/organizations/index.d.ts +1 -7
  107. package/dist/organizations/index.d.ts.map +1 -1
  108. package/dist/organizations/index.server.d.ts +1 -1
  109. package/dist/organizations/index.server.d.ts.map +1 -1
  110. package/dist/payment-links/client/payment-links.client.d.ts +4 -40
  111. package/dist/payment-links/client/payment-links.client.d.ts.map +1 -1
  112. package/dist/payment-links/index.d.ts +1 -1
  113. package/dist/sca/sca.d.ts.map +1 -1
  114. package/dist/server/_virtual/Observable.js +1 -0
  115. package/dist/server/_virtual/index2.js +1 -1
  116. package/dist/server/_virtual/index3.js +1 -0
  117. package/dist/server/auth-links/auth-links.d.ts +7 -7
  118. package/dist/server/auth-links/auth-links.d.ts.map +1 -1
  119. package/dist/server/auth-links/client/auth-links.client.d.ts +5 -6
  120. package/dist/server/auth-links/client/auth-links.client.d.ts.map +1 -1
  121. package/dist/server/auth-links/index.d.ts +6 -4
  122. package/dist/server/auth-links/index.d.ts.map +1 -1
  123. package/dist/server/beneficiaries/beneficiaries.d.ts +10 -10
  124. package/dist/server/beneficiaries/beneficiaries.d.ts.map +1 -1
  125. package/dist/server/beneficiaries/client/beneficiaries.client.d.ts +11 -13
  126. package/dist/server/beneficiaries/client/beneficiaries.client.d.ts.map +1 -1
  127. package/dist/server/beneficiaries/index.d.ts +1 -1
  128. package/dist/server/cards/client/cards.client.d.ts +11 -11
  129. package/dist/server/cards/client/cards.client.d.ts.map +1 -1
  130. package/dist/server/cards/index.d.ts +6 -3
  131. package/dist/server/cards/index.d.ts.map +1 -1
  132. package/dist/server/index.server.umd.js +1 -1
  133. package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/attribution/helpers.js +1 -0
  134. package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/attribution/web-attribution.js +1 -0
  135. package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/browser-client-factory.js +1 -0
  136. package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/browser-client.js +1 -0
  137. package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/config/joined-config.js +1 -0
  138. package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/config.js +1 -0
  139. package/dist/server/node_modules/.pnpm/{@amplitude_analytics-browser@2.35.3 → @amplitude_analytics-browser@2.37.2}/node_modules/@amplitude/analytics-browser/lib/esm/cookie-migration/index.js +1 -1
  140. package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/default-tracking.js +1 -0
  141. package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/index.js +1 -0
  142. package/dist/server/node_modules/.pnpm/{@amplitude_analytics-browser@2.35.3 → @amplitude_analytics-browser@2.37.2}/node_modules/@amplitude/analytics-browser/lib/esm/plugins/context.js +1 -1
  143. package/dist/server/node_modules/.pnpm/{@amplitude_analytics-browser@2.35.3 → @amplitude_analytics-browser@2.37.2}/node_modules/@amplitude/analytics-browser/lib/esm/plugins/file-download-tracking.js +1 -1
  144. package/dist/server/node_modules/.pnpm/{@amplitude_analytics-browser@2.35.3 → @amplitude_analytics-browser@2.37.2}/node_modules/@amplitude/analytics-browser/lib/esm/plugins/form-interaction-tracking.js +1 -1
  145. package/dist/server/node_modules/.pnpm/{@amplitude_analytics-browser@2.35.3 → @amplitude_analytics-browser@2.37.2}/node_modules/@amplitude/analytics-browser/lib/esm/plugins/network-connectivity-checker.js +1 -1
  146. package/dist/server/node_modules/.pnpm/{@amplitude_analytics-browser@2.35.3 → @amplitude_analytics-browser@2.37.2}/node_modules/@amplitude/analytics-browser/lib/esm/storage/local-storage.js +1 -1
  147. package/dist/server/node_modules/.pnpm/{@amplitude_analytics-browser@2.35.3 → @amplitude_analytics-browser@2.37.2}/node_modules/@amplitude/analytics-browser/lib/esm/storage/session-storage.js +1 -1
  148. package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/transports/fetch.js +1 -0
  149. package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/transports/send-beacon.js +1 -0
  150. package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/transports/xhr.js +1 -0
  151. package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/types.js +1 -0
  152. package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/version.js +1 -0
  153. package/dist/{node_modules/.pnpm/@amplitude_analytics-core@2.40.1 → server/node_modules/.pnpm/@amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/messenger/constants.js +1 -1
  154. package/dist/server/node_modules/.pnpm/@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/plugins/destination.js +1 -0
  155. package/dist/server/node_modules/.pnpm/@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/remote-config/remote-config.js +1 -0
  156. package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/revenue.js +1 -1
  157. package/dist/server/node_modules/.pnpm/@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/storage/cookie.js +1 -0
  158. package/dist/server/node_modules/.pnpm/@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/transports/base.js +1 -0
  159. package/dist/server/node_modules/.pnpm/@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/transports/gzip.js +1 -0
  160. package/dist/server/node_modules/.pnpm/@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/types/config/browser-config.js +1 -0
  161. package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/types/element-interactions.js +1 -1
  162. package/dist/server/node_modules/.pnpm/@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/utils/observable.js +1 -0
  163. package/dist/server/node_modules/.pnpm/{@amplitude_plugin-autocapture-browser@1.22.2 → @amplitude_plugin-autocapture-browser@1.24.2}/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-action-click.js +1 -1
  164. package/dist/{node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.22.2 → server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2}/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-dead-click.js +1 -1
  165. package/dist/server/node_modules/.pnpm/{@amplitude_plugin-autocapture-browser@1.22.2 → @amplitude_plugin-autocapture-browser@1.24.2}/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-error-click.js +1 -1
  166. package/dist/server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-exposure.js +1 -0
  167. package/dist/{node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.22.2 → server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2}/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-rage-click.js +1 -1
  168. package/dist/server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-scroll.js +1 -0
  169. package/dist/server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-thrashed-cursor.js +1 -0
  170. package/dist/server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-viewport-content-updated.js +1 -0
  171. package/dist/server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture-plugin.js +1 -0
  172. package/dist/server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/constants.js +1 -0
  173. package/dist/server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/data-extractor.js +1 -0
  174. package/dist/server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/frustration-plugin.js +1 -0
  175. package/dist/server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/helpers.js +1 -0
  176. package/dist/{node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.22.2 → server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2}/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/hierarchy.js +1 -1
  177. package/dist/server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/libs/element-path.js +1 -0
  178. package/dist/server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/observables.js +1 -0
  179. package/dist/server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/version.js +1 -0
  180. package/dist/server/node_modules/.pnpm/@amplitude_plugin-custom-enrichment-browser@0.1.1/node_modules/@amplitude/plugin-custom-enrichment-browser/lib/esm/custom-enrichment.js +1 -0
  181. package/dist/server/node_modules/.pnpm/@amplitude_plugin-network-capture-browser@1.9.10/node_modules/@amplitude/plugin-network-capture-browser/lib/esm/network-capture-plugin.js +1 -0
  182. package/dist/{node_modules/.pnpm/@amplitude_plugin-network-capture-browser@1.8.2 → server/node_modules/.pnpm/@amplitude_plugin-network-capture-browser@1.9.10}/node_modules/@amplitude/plugin-network-capture-browser/lib/esm/track-network-event.js +1 -1
  183. package/dist/server/node_modules/.pnpm/@amplitude_plugin-page-url-enrichment-browser@0.7.2/node_modules/@amplitude/plugin-page-url-enrichment-browser/lib/esm/page-url-enrichment.js +1 -0
  184. package/dist/server/node_modules/.pnpm/@amplitude_plugin-page-view-tracking-browser@2.9.3/node_modules/@amplitude/plugin-page-view-tracking-browser/lib/esm/page-view-tracking.js +1 -0
  185. package/dist/server/node_modules/.pnpm/{@amplitude_plugin-web-vitals-browser@1.1.13 → @amplitude_plugin-web-vitals-browser@1.1.25}/node_modules/@amplitude/plugin-web-vitals-browser/lib/esm/web-vitals-plugin.js +1 -1
  186. package/dist/server/node_modules/.pnpm/safe-json-stringify@1.2.0/node_modules/safe-json-stringify/index.js +1 -1
  187. package/dist/server/node_modules/.pnpm/zen-observable@0.10.0/node_modules/zen-observable/index.js +1 -0
  188. package/dist/server/node_modules/.pnpm/zen-observable@0.10.0/node_modules/zen-observable/lib/Observable.js +1 -0
  189. package/dist/server/organizations/client/organizations.client.d.ts +4 -24
  190. package/dist/server/organizations/client/organizations.client.d.ts.map +1 -1
  191. package/dist/server/organizations/index.d.ts +1 -7
  192. package/dist/server/organizations/index.d.ts.map +1 -1
  193. package/dist/server/organizations/index.server.d.ts +1 -1
  194. package/dist/server/organizations/index.server.d.ts.map +1 -1
  195. package/dist/server/payment-links/client/payment-links.client.d.ts +4 -40
  196. package/dist/server/payment-links/client/payment-links.client.d.ts.map +1 -1
  197. package/dist/server/payment-links/index.d.ts +1 -1
  198. package/dist/server/sca/sca.d.ts.map +1 -1
  199. package/dist/server/src/auth-links/auth-links.js +1 -1
  200. package/dist/server/src/beneficiaries/beneficiaries.js +1 -1
  201. package/dist/server/src/common/analytics/amplitude-manager.js +1 -1
  202. package/dist/server/transactions/client/transactions.client.d.ts +1 -2
  203. package/dist/server/transactions/client/transactions.client.d.ts.map +1 -1
  204. package/dist/src/auth-links/client/auth-links.client.js +1 -1
  205. package/dist/src/beneficiaries/beneficiaries.js +1 -1
  206. package/dist/src/beneficiaries/client/beneficiaries.client.js +1 -1
  207. package/dist/src/cards/client/cards.client.js +1 -1
  208. package/dist/src/common/analytics/amplitude-manager.js +1 -1
  209. package/dist/src/common/sentry/sentry-manager.js +1 -1
  210. package/dist/src/organizations/client/organizations.client.js +1 -1
  211. package/dist/src/payment-links/client/payment-links.client.js +1 -1
  212. package/dist/src/sca/sca.js +1 -1
  213. package/dist/src/transactions/client/transactions.client.js +1 -1
  214. package/dist/transactions/client/transactions.client.d.ts +1 -2
  215. package/dist/transactions/client/transactions.client.d.ts.map +1 -1
  216. package/package.json +5 -5
  217. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/attribution/helpers.js +0 -1
  218. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/attribution/web-attribution.js +0 -1
  219. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/browser-client-factory.js +0 -1
  220. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/browser-client.js +0 -1
  221. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/config/joined-config.js +0 -1
  222. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/config.js +0 -1
  223. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/default-tracking.js +0 -1
  224. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/index.js +0 -1
  225. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/transports/send-beacon.js +0 -1
  226. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/transports/xhr.js +0 -1
  227. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/types.js +0 -1
  228. package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/version.js +0 -1
  229. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/plugins/destination.js +0 -1
  230. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/remote-config/remote-config.js +0 -1
  231. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/storage/cookie.js +0 -1
  232. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/transports/base.js +0 -1
  233. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/transports/fetch.js +0 -1
  234. package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/utils/observable.js +0 -1
  235. package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.22.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-thrashed-cursor.js +0 -1
  236. package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.22.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture-plugin.js +0 -1
  237. package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.22.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/constants.js +0 -1
  238. package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.22.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/data-extractor.js +0 -1
  239. package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.22.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/frustration-plugin.js +0 -1
  240. package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.22.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/helpers.js +0 -1
  241. package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.22.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/observables.js +0 -1
  242. package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.22.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/version.js +0 -1
  243. package/dist/node_modules/.pnpm/@amplitude_plugin-network-capture-browser@1.8.2/node_modules/@amplitude/plugin-network-capture-browser/lib/esm/network-capture-plugin.js +0 -1
  244. package/dist/node_modules/.pnpm/@amplitude_plugin-page-url-enrichment-browser@0.6.2/node_modules/@amplitude/plugin-page-url-enrichment-browser/lib/esm/page-url-enrichment.js +0 -1
  245. package/dist/node_modules/.pnpm/@amplitude_plugin-page-view-tracking-browser@2.7.2/node_modules/@amplitude/plugin-page-view-tracking-browser/lib/esm/page-view-tracking.js +0 -1
  246. package/dist/node_modules/.pnpm/@sentry_browser@10.39.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/browsersession.js +0 -1
  247. package/dist/node_modules/.pnpm/@sentry_browser@10.39.0/node_modules/@sentry/browser/build/npm/esm/prod/stack-parsers.js +0 -1
  248. package/dist/node_modules/.pnpm/@sentry_core@10.39.0/node_modules/@sentry/core/build/esm/client.js +0 -1
  249. package/dist/node_modules/.pnpm/@sentry_core@10.39.0/node_modules/@sentry/core/build/esm/exports.js +0 -1
  250. package/dist/node_modules/.pnpm/@sentry_core@10.39.0/node_modules/@sentry/core/build/esm/integrations/eventFilters.js +0 -1
  251. package/dist/node_modules/.pnpm/@sentry_core@10.39.0/node_modules/@sentry/core/build/esm/utils/baggage.js +0 -1
  252. package/dist/node_modules/.pnpm/@sentry_core@10.39.0/node_modules/@sentry/core/build/esm/utils/envelope.js +0 -1
  253. package/dist/node_modules/.pnpm/@sentry_core@10.39.0/node_modules/@sentry/core/build/esm/utils/object.js +0 -1
  254. package/dist/node_modules/.pnpm/@sentry_core@10.39.0/node_modules/@sentry/core/build/esm/utils/version.js +0 -1
  255. package/dist/node_modules/.pnpm/zen-observable-ts@1.1.0/node_modules/zen-observable-ts/module.js +0 -1
  256. package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/attribution/helpers.js +0 -1
  257. package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/attribution/web-attribution.js +0 -1
  258. package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/browser-client-factory.js +0 -1
  259. package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/browser-client.js +0 -1
  260. package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/config/joined-config.js +0 -1
  261. package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/config.js +0 -1
  262. package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/default-tracking.js +0 -1
  263. package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/index.js +0 -1
  264. package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/transports/send-beacon.js +0 -1
  265. package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/transports/xhr.js +0 -1
  266. package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/types.js +0 -1
  267. package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/version.js +0 -1
  268. package/dist/server/node_modules/.pnpm/@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/plugins/destination.js +0 -1
  269. package/dist/server/node_modules/.pnpm/@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/remote-config/remote-config.js +0 -1
  270. package/dist/server/node_modules/.pnpm/@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/storage/cookie.js +0 -1
  271. package/dist/server/node_modules/.pnpm/@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/transports/base.js +0 -1
  272. package/dist/server/node_modules/.pnpm/@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/transports/fetch.js +0 -1
  273. package/dist/server/node_modules/.pnpm/@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/utils/observable.js +0 -1
  274. package/dist/server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.22.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-thrashed-cursor.js +0 -1
  275. package/dist/server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.22.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture-plugin.js +0 -1
  276. package/dist/server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.22.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/constants.js +0 -1
  277. package/dist/server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.22.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/data-extractor.js +0 -1
  278. package/dist/server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.22.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/frustration-plugin.js +0 -1
  279. package/dist/server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.22.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/helpers.js +0 -1
  280. package/dist/server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.22.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/observables.js +0 -1
  281. package/dist/server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.22.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/version.js +0 -1
  282. package/dist/server/node_modules/.pnpm/@amplitude_plugin-network-capture-browser@1.8.2/node_modules/@amplitude/plugin-network-capture-browser/lib/esm/network-capture-plugin.js +0 -1
  283. package/dist/server/node_modules/.pnpm/@amplitude_plugin-page-url-enrichment-browser@0.6.2/node_modules/@amplitude/plugin-page-url-enrichment-browser/lib/esm/page-url-enrichment.js +0 -1
  284. package/dist/server/node_modules/.pnpm/@amplitude_plugin-page-view-tracking-browser@2.7.2/node_modules/@amplitude/plugin-page-view-tracking-browser/lib/esm/page-view-tracking.js +0 -1
  285. package/dist/server/node_modules/.pnpm/zen-observable-ts@1.1.0/node_modules/zen-observable-ts/module.js +0 -1
  286. /package/dist/node_modules/.pnpm/{@amplitude_analytics-browser@2.35.3 → @amplitude_analytics-browser@2.37.2}/node_modules/@amplitude/analytics-browser/lib/esm/constants.js +0 -0
  287. /package/dist/node_modules/.pnpm/{@amplitude_analytics-browser@2.35.3 → @amplitude_analytics-browser@2.37.2}/node_modules/@amplitude/analytics-browser/lib/esm/det-notification.js +0 -0
  288. /package/dist/node_modules/.pnpm/{@amplitude_analytics-browser@2.35.3 → @amplitude_analytics-browser@2.37.2}/node_modules/@amplitude/analytics-browser/lib/esm/lib-prefix.js +0 -0
  289. /package/dist/node_modules/.pnpm/{@amplitude_analytics-browser@2.35.3 → @amplitude_analytics-browser@2.37.2}/node_modules/@amplitude/analytics-browser/lib/esm/utils/snippet-helper.js +0 -0
  290. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/analytics-connector.js +0 -0
  291. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/campaign/campaign-parser.js +0 -0
  292. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/config.js +0 -0
  293. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/cookie-name.js +0 -0
  294. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/core-client.js +0 -0
  295. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/diagnostics/diagnostics-client.js +0 -0
  296. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/diagnostics/diagnostics-storage.js +0 -0
  297. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/diagnostics/uncaught-sdk-errors.js +0 -0
  298. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/global-scope.js +0 -0
  299. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/identify.js +0 -0
  300. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/language.js +0 -0
  301. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/logger.js +0 -0
  302. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/messenger/background-capture.js +0 -0
  303. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/messenger/base-window-messenger.js +0 -0
  304. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/messenger/utils.js +0 -0
  305. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/network-request-event.js +0 -0
  306. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/observers/console.js +0 -0
  307. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/observers/network.js +0 -0
  308. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/plugins/helpers.js +0 -0
  309. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/plugins/identity.js +0 -0
  310. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/query-params.js +0 -0
  311. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/remote-config/remote-config-localstorage.js +0 -0
  312. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/session.js +0 -0
  313. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/storage/browser-storage.js +0 -0
  314. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/storage/helpers.js +0 -0
  315. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/storage/memory.js +0 -0
  316. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/timeline.js +0 -0
  317. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/types/constants.js +0 -0
  318. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/types/event/event.js +0 -0
  319. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/types/frustration-interactions.js +0 -0
  320. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/types/loglevel.js +0 -0
  321. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/types/messages.js +0 -0
  322. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/types/offline.js +0 -0
  323. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/types/server-zone.js +0 -0
  324. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/types/status.js +0 -0
  325. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/chunk.js +0 -0
  326. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/debug.js +0 -0
  327. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/event-builder.js +0 -0
  328. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/json-query.js +0 -0
  329. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/result-builder.js +0 -0
  330. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/return-wrapper.js +0 -0
  331. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/safe-stringify.js +0 -0
  332. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/sampling.js +0 -0
  333. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/status-code.js +0 -0
  334. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/url-utils.js +0 -0
  335. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/uuid.js +0 -0
  336. /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/valid-properties.js +0 -0
  337. /package/dist/node_modules/.pnpm/{@amplitude_plugin-autocapture-browser@1.22.2 → @amplitude_plugin-autocapture-browser@1.24.2}/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-change.js +0 -0
  338. /package/dist/node_modules/.pnpm/{@amplitude_plugin-autocapture-browser@1.22.2 → @amplitude_plugin-autocapture-browser@1.24.2}/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-click.js +0 -0
  339. /package/dist/node_modules/.pnpm/{@amplitude_plugin-autocapture-browser@1.22.2 → @amplitude_plugin-autocapture-browser@1.24.2}/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/libs/messenger.js +0 -0
  340. /package/dist/node_modules/.pnpm/{@amplitude_plugin-autocapture-browser@1.22.2 → @amplitude_plugin-autocapture-browser@1.24.2}/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/pageActions/actions.js +0 -0
  341. /package/dist/node_modules/.pnpm/{@amplitude_plugin-autocapture-browser@1.22.2 → @amplitude_plugin-autocapture-browser@1.24.2}/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/pageActions/matchEventToFilter.js +0 -0
  342. /package/dist/node_modules/.pnpm/{@amplitude_plugin-autocapture-browser@1.22.2 → @amplitude_plugin-autocapture-browser@1.24.2}/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/pageActions/triggers.js +0 -0
  343. /package/dist/node_modules/.pnpm/{@amplitude_plugin-network-capture-browser@1.8.2 → @amplitude_plugin-network-capture-browser@1.9.10}/node_modules/@amplitude/plugin-network-capture-browser/lib/esm/constants.js +0 -0
  344. /package/dist/node_modules/.pnpm/{@amplitude_plugin-page-view-tracking-browser@2.7.2 → @amplitude_plugin-page-view-tracking-browser@2.9.3}/node_modules/@amplitude/plugin-page-view-tracking-browser/lib/esm/utils.js +0 -0
  345. /package/dist/node_modules/.pnpm/{@amplitude_plugin-web-vitals-browser@1.1.13 → @amplitude_plugin-web-vitals-browser@1.1.25}/node_modules/@amplitude/plugin-web-vitals-browser/lib/esm/constants.js +0 -0
  346. /package/dist/node_modules/.pnpm/{@sentry-internal_browser-utils@10.39.0 → @sentry-internal_browser-utils@10.45.0}/node_modules/@sentry-internal/browser-utils/build/esm/debug-build.js +0 -0
  347. /package/dist/node_modules/.pnpm/{@sentry_browser@10.39.0 → @sentry_browser@10.45.0}/node_modules/@sentry/browser/build/npm/esm/prod/debug-build.js +0 -0
  348. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/api.js +0 -0
  349. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/asyncContext/index.js +0 -0
  350. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/asyncContext/stackStrategy.js +0 -0
  351. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/breadcrumbs.js +0 -0
  352. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/carrier.js +0 -0
  353. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/constants.js +0 -0
  354. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/currentScopes.js +0 -0
  355. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/debug-build.js +0 -0
  356. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/defaultScopes.js +0 -0
  357. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/envelope.js +0 -0
  358. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/eventProcessors.js +0 -0
  359. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/instrument/console.js +0 -0
  360. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/instrument/fetch.js +0 -0
  361. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/instrument/globalError.js +0 -0
  362. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/instrument/globalUnhandledRejection.js +0 -0
  363. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/instrument/handlers.js +0 -0
  364. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/integration.js +0 -0
  365. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/integrations/conversationId.js +0 -0
  366. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/integrations/dedupe.js +0 -0
  367. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/integrations/functiontostring.js +0 -0
  368. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/logs/envelope.js +0 -0
  369. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/logs/internal.js +0 -0
  370. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/metrics/envelope.js +0 -0
  371. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/metrics/internal.js +0 -0
  372. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/scope.js +0 -0
  373. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/sdk.js +0 -0
  374. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/semanticAttributes.js +0 -0
  375. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/session.js +0 -0
  376. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/tracing/dynamicSamplingContext.js +0 -0
  377. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/tracing/spanstatus.js +0 -0
  378. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/tracing/utils.js +0 -0
  379. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/transports/base.js +0 -0
  380. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/aggregate-errors.js +0 -0
  381. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/breadcrumb-log-level.js +0 -0
  382. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/clientreport.js +0 -0
  383. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/debug-ids.js +0 -0
  384. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/debug-logger.js +0 -0
  385. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/dsn.js +0 -0
  386. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/env.js +0 -0
  387. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/eventUtils.js +0 -0
  388. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/eventbuilder.js +0 -0
  389. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/hasSpansEnabled.js +0 -0
  390. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/ipAddress.js +0 -0
  391. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/is.js +0 -0
  392. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/merge.js +0 -0
  393. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/normalize.js +0 -0
  394. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/parseSampleRate.js +0 -0
  395. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/prepareEvent.js +0 -0
  396. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/promisebuffer.js +0 -0
  397. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/propagationContext.js +0 -0
  398. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/randomSafeContext.js +0 -0
  399. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/ratelimit.js +0 -0
  400. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/scopeData.js +0 -0
  401. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/sdkMetadata.js +0 -0
  402. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/severity.js +0 -0
  403. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/should-ignore-span.js +0 -0
  404. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/spanOnScope.js +0 -0
  405. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/spanUtils.js +0 -0
  406. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/stacktrace.js +0 -0
  407. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/string.js +0 -0
  408. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/supports.js +0 -0
  409. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/syncpromise.js +0 -0
  410. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/time.js +0 -0
  411. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/timer.js +0 -0
  412. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/transactionEvent.js +0 -0
  413. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/url.js +0 -0
  414. /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/worldwide.js +0 -0
  415. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-browser@2.35.3 → @amplitude_analytics-browser@2.37.2}/node_modules/@amplitude/analytics-browser/lib/esm/constants.js +0 -0
  416. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-browser@2.35.3 → @amplitude_analytics-browser@2.37.2}/node_modules/@amplitude/analytics-browser/lib/esm/det-notification.js +0 -0
  417. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-browser@2.35.3 → @amplitude_analytics-browser@2.37.2}/node_modules/@amplitude/analytics-browser/lib/esm/lib-prefix.js +0 -0
  418. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-browser@2.35.3 → @amplitude_analytics-browser@2.37.2}/node_modules/@amplitude/analytics-browser/lib/esm/utils/snippet-helper.js +0 -0
  419. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/analytics-connector.js +0 -0
  420. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/campaign/campaign-parser.js +0 -0
  421. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/config.js +0 -0
  422. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/cookie-name.js +0 -0
  423. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/core-client.js +0 -0
  424. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/diagnostics/diagnostics-client.js +0 -0
  425. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/diagnostics/diagnostics-storage.js +0 -0
  426. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/diagnostics/uncaught-sdk-errors.js +0 -0
  427. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/global-scope.js +0 -0
  428. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/identify.js +0 -0
  429. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/language.js +0 -0
  430. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/logger.js +0 -0
  431. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/messenger/background-capture.js +0 -0
  432. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/messenger/base-window-messenger.js +0 -0
  433. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/messenger/utils.js +0 -0
  434. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/network-request-event.js +0 -0
  435. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/observers/console.js +0 -0
  436. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/observers/network.js +0 -0
  437. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/plugins/helpers.js +0 -0
  438. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/plugins/identity.js +0 -0
  439. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/query-params.js +0 -0
  440. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/remote-config/remote-config-localstorage.js +0 -0
  441. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/session.js +0 -0
  442. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/storage/browser-storage.js +0 -0
  443. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/storage/helpers.js +0 -0
  444. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/storage/memory.js +0 -0
  445. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/timeline.js +0 -0
  446. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/types/constants.js +0 -0
  447. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/types/event/event.js +0 -0
  448. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/types/frustration-interactions.js +0 -0
  449. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/types/loglevel.js +0 -0
  450. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/types/messages.js +0 -0
  451. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/types/offline.js +0 -0
  452. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/types/server-zone.js +0 -0
  453. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/types/status.js +0 -0
  454. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/chunk.js +0 -0
  455. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/debug.js +0 -0
  456. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/event-builder.js +0 -0
  457. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/json-query.js +0 -0
  458. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/result-builder.js +0 -0
  459. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/return-wrapper.js +0 -0
  460. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/safe-stringify.js +0 -0
  461. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/sampling.js +0 -0
  462. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/status-code.js +0 -0
  463. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/url-utils.js +0 -0
  464. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/uuid.js +0 -0
  465. /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/valid-properties.js +0 -0
  466. /package/dist/server/node_modules/.pnpm/{@amplitude_plugin-autocapture-browser@1.22.2 → @amplitude_plugin-autocapture-browser@1.24.2}/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-change.js +0 -0
  467. /package/dist/server/node_modules/.pnpm/{@amplitude_plugin-autocapture-browser@1.22.2 → @amplitude_plugin-autocapture-browser@1.24.2}/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-click.js +0 -0
  468. /package/dist/server/node_modules/.pnpm/{@amplitude_plugin-autocapture-browser@1.22.2 → @amplitude_plugin-autocapture-browser@1.24.2}/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/libs/messenger.js +0 -0
  469. /package/dist/server/node_modules/.pnpm/{@amplitude_plugin-autocapture-browser@1.22.2 → @amplitude_plugin-autocapture-browser@1.24.2}/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/pageActions/actions.js +0 -0
  470. /package/dist/server/node_modules/.pnpm/{@amplitude_plugin-autocapture-browser@1.22.2 → @amplitude_plugin-autocapture-browser@1.24.2}/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/pageActions/matchEventToFilter.js +0 -0
  471. /package/dist/server/node_modules/.pnpm/{@amplitude_plugin-autocapture-browser@1.22.2 → @amplitude_plugin-autocapture-browser@1.24.2}/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/pageActions/triggers.js +0 -0
  472. /package/dist/server/node_modules/.pnpm/{@amplitude_plugin-network-capture-browser@1.8.2 → @amplitude_plugin-network-capture-browser@1.9.10}/node_modules/@amplitude/plugin-network-capture-browser/lib/esm/constants.js +0 -0
  473. /package/dist/server/node_modules/.pnpm/{@amplitude_plugin-page-view-tracking-browser@2.7.2 → @amplitude_plugin-page-view-tracking-browser@2.9.3}/node_modules/@amplitude/plugin-page-view-tracking-browser/lib/esm/utils.js +0 -0
  474. /package/dist/server/node_modules/.pnpm/{@amplitude_plugin-web-vitals-browser@1.1.13 → @amplitude_plugin-web-vitals-browser@1.1.25}/node_modules/@amplitude/plugin-web-vitals-browser/lib/esm/constants.js +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qonto/embed-sdk",
3
- "version": "0.64.3",
3
+ "version": "0.66.0",
4
4
  "description": "Library to embed Qonto features in your application",
5
5
  "type": "module",
6
6
  "exports": {
@@ -121,9 +121,9 @@
121
121
  "last 6 opera major version"
122
122
  ],
123
123
  "dependencies": {
124
- "@amplitude/analytics-browser": "^2.35.3",
124
+ "@amplitude/analytics-browser": "^2.37.2",
125
125
  "@lit/localize": "^0.12.2",
126
- "@sentry/browser": "^10.39.0",
126
+ "@sentry/browser": "^10.45.0",
127
127
  "lit": "^3.3.2",
128
128
  "lottie-web": "^5.13.0",
129
129
  "uuid": "^13.0.0"
@@ -144,7 +144,7 @@
144
144
  "@storybook/addon-a11y": "^10.2.19",
145
145
  "@storybook/addon-docs": "^10.1.11",
146
146
  "@storybook/addon-vitest": "^10.2.19",
147
- "@storybook/web-components-vite": "^10.2.19",
147
+ "@storybook/web-components-vite": "^10.3.3",
148
148
  "@types/jsdom": "^27.0.0",
149
149
  "@types/node": "^25.5.0",
150
150
  "@vitest/browser": "3.1.1",
@@ -154,7 +154,7 @@
154
154
  "dotenv": "^17.3.1",
155
155
  "eslint": "^9.39.2",
156
156
  "eslint-plugin-import": "^2.32.0",
157
- "eslint-plugin-storybook": "^10.2.19",
157
+ "eslint-plugin-storybook": "^10.3.3",
158
158
  "eslint-plugin-tsdoc": "^0.5.2",
159
159
  "globals": "^17.3.0",
160
160
  "husky": "^9.1.7",
@@ -1 +0,0 @@
1
- import{__rest as e,__assign as r,__read as i}from"../../../../../../../@rollup_plugin-typescript@12.3.0_rollup@4.57.1_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js";import{BASE_CAMPAIGN as n}from"../../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/types/constants.js";import{Identify as t}from"../../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/identify.js";import{createIdentifyEvent as s}from"../../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/utils/event-builder.js";var a=function(e){var r=e.split(".");return r.length<=2?e:r.slice(r.length-2,r.length).join(".")},o=function(r,i,n,t,s){void 0===s&&(s=!0),r.referrer;var o=r.referring_domain,c=e(r,["referrer","referring_domain"]),l=i||{};l.referrer;var d=l.referring_domain,m=e(l,["referrer","referring_domain"]);if(u(n.excludeReferrers,r.referring_domain))return t.debug("This is not a new campaign because ".concat(r.referring_domain," is in the exclude referrer list.")),!1;if(!s&&function(e){return Object.values(e).every((function(e){return!e}))}(r)&&i)return t.debug("This is not a new campaign because this is a direct traffic in the same session."),!1;var f=JSON.stringify(c)!==JSON.stringify(m),p=a(o||"")!==a(d||""),g=!i||f||p;return g?t.debug("This is a new campaign. An $identify event will be sent."):t.debug("This is not a new campaign because it's the same as the previous one."),g},u=function(e,r){return void 0===e&&(e=[]),void 0===r&&(r=""),e.some((function(e){return e instanceof RegExp?e.test(r):e===r}))},c=function(e,a){var o=r(r({},n),e),u=Object.entries(o).reduce((function(e,r){var n,t=i(r,2),s=t[0],o=t[1];return e.setOnce("initial_".concat(s),null!==(n=null!=o?o:a.initialEmptyValue)&&void 0!==n?n:"EMPTY"),o?e.set(s,o):e.unset(s)}),new t);return s(u)},l=function(e){var r=e;return r?(r.startsWith(".")&&(r=r.substring(1)),[new RegExp("".concat(r.replace(".","\\."),"$"))]):[]};export{c as createCampaignEvent,l as getDefaultExcludedReferrers,u as isExcludedReferrer,o as isNewCampaign};
@@ -1 +0,0 @@
1
- import{__assign as t,__awaiter as e,__generator as i,__read as s}from"../../../../../../../@rollup_plugin-typescript@12.3.0_rollup@4.57.1_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js";import{getDefaultExcludedReferrers as o,isNewCampaign as a,createCampaignEvent as r}from"./helpers.js";import{getStorageKey as n}from"../../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/storage/helpers.js";import{BASE_CAMPAIGN as p}from"../../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/types/constants.js";import{isNewSession as l}from"../../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/session.js";import{CampaignParser as u}from"../../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/campaign/campaign-parser.js";var m=function(){function m(e,i){var s;this.shouldTrackNewCampaign=!1,this.options=t({initialEmptyValue:"EMPTY",resetSessionOnNewCampaign:!1,excludeReferrers:o(null===(s=i.cookieOptions)||void 0===s?void 0:s.domain),optOut:i.optOut},e),this.storage=i.cookieStorage,this.storageKey=n(i.apiKey,"MKTG"),this.webExpStorageKey=n(i.apiKey,"MKTG_ORIGINAL"),this.currentCampaign=p,this.sessionTimeout=i.sessionTimeout,this.lastEventTime=i.lastEventTime,this.logger=i.loggerProvider,i.loggerProvider.log("Installing web attribution tracking.")}return m.prototype.init=function(){return e(this,void 0,void 0,(function(){var t,e;return i(this,(function(i){switch(i.label){case 0:return this.options.optOut?[2]:[4,this.fetchCampaign()];case 1:return e=s.apply(void 0,[i.sent(),2]),this.currentCampaign=e[0],this.previousCampaign=e[1],t=!this.lastEventTime||l(this.sessionTimeout,this.lastEventTime),a(this.currentCampaign,this.previousCampaign,this.options,this.logger,t)?(this.shouldTrackNewCampaign=!0,[4,this.storage.set(this.storageKey,this.currentCampaign)]):[3,3];case 2:i.sent(),i.label=3;case 3:return[2]}}))}))},m.prototype.fetchCampaign=function(){return e(this,void 0,void 0,(function(){var t;return i(this,(function(e){switch(e.label){case 0:return[4,this.storage.get(this.webExpStorageKey)];case 1:return(t=e.sent())?[4,this.storage.remove(this.webExpStorageKey)]:[3,3];case 2:e.sent(),e.label=3;case 3:return[4,Promise.all([t||(new u).parse(),this.storage.get(this.storageKey)])];case 4:return[2,e.sent()]}}))}))},m.prototype.generateCampaignEvent=function(t){this.shouldTrackNewCampaign=!1;var e=r(this.currentCampaign,this.options);return t&&(e.event_id=t),e},m.prototype.shouldSetSessionIdOnNewCampaign=function(){return this.shouldTrackNewCampaign&&!!this.options.resetSessionOnNewCampaign},m}();export{m as WebAttribution};
@@ -1 +0,0 @@
1
- import{AmplitudeBrowser as e}from"./browser-client.js";import{debugWrapper as i,getClientStates as n,getClientLogConfig as t}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/utils/debug.js";var d=function(){var d=new e;return{init:i(d.init.bind(d),"init",t(d),n(d,["config"])),add:i(d.add.bind(d),"add",t(d),n(d,["config.apiKey","timeline.plugins"])),remove:i(d.remove.bind(d),"remove",t(d),n(d,["config.apiKey","timeline.plugins"])),track:i(d.track.bind(d),"track",t(d),n(d,["config.apiKey","timeline.queue.length"])),logEvent:i(d.logEvent.bind(d),"logEvent",t(d),n(d,["config.apiKey","timeline.queue.length"])),identify:i(d.identify.bind(d),"identify",t(d),n(d,["config.apiKey","timeline.queue.length"])),groupIdentify:i(d.groupIdentify.bind(d),"groupIdentify",t(d),n(d,["config.apiKey","timeline.queue.length"])),setGroup:i(d.setGroup.bind(d),"setGroup",t(d),n(d,["config.apiKey","timeline.queue.length"])),revenue:i(d.revenue.bind(d),"revenue",t(d),n(d,["config.apiKey","timeline.queue.length"])),flush:i(d.flush.bind(d),"flush",t(d),n(d,["config.apiKey","timeline.queue.length"])),getUserId:i(d.getUserId.bind(d),"getUserId",t(d),n(d,["config","config.userId"])),setUserId:i(d.setUserId.bind(d),"setUserId",t(d),n(d,["config","config.userId"])),getDeviceId:i(d.getDeviceId.bind(d),"getDeviceId",t(d),n(d,["config","config.deviceId"])),setDeviceId:i(d.setDeviceId.bind(d),"setDeviceId",t(d),n(d,["config","config.deviceId"])),reset:i(d.reset.bind(d),"reset",t(d),n(d,["config","config.userId","config.deviceId"])),getSessionId:i(d.getSessionId.bind(d),"getSessionId",t(d),n(d,["config"])),setSessionId:i(d.setSessionId.bind(d),"setSessionId",t(d),n(d,["config"])),extendSession:i(d.extendSession.bind(d),"extendSession",t(d),n(d,["config"])),setOptOut:i(d.setOptOut.bind(d),"setOptOut",t(d),n(d,["config"])),setTransport:i(d.setTransport.bind(d),"setTransport",t(d),n(d,["config"])),getIdentity:i(d.getIdentity.bind(d),"getIdentity",t(d),n(d,["config"])),setIdentity:i(d.setIdentity.bind(d),"setIdentity",t(d),n(d,["config","config.userId","config.deviceId"])),getOptOut:i(d.getOptOut.bind(d),"getOptOut",t(d),n(d,["config"])),_setDiagnosticsSampleRate:i(d._setDiagnosticsSampleRate.bind(d),"_setDiagnosticsSampleRate",t(d),n(d,["config"]))}},s=d();export{d as createInstance,s as default};
@@ -1 +0,0 @@
1
- import{__extends as i,__assign as e,__awaiter as t,__values as s,__read as n,__generator as o,__rest as r}from"../../../../../../@rollup_plugin-typescript@12.3.0_rollup@4.57.1_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js";import{isSessionTrackingEnabled as a,isPageUrlEnrichmentEnabled as d,isWebVitalsEnabled as c,isNetworkTrackingEnabled as u,getNetworkTrackingConfig as l,isFrustrationInteractionsEnabled as p,getFrustrationInteractionsConfig as g,isElementInteractionsEnabled as m,getElementInteractionsConfig as f,getPageViewTrackingConfig as h,isPageViewTrackingEnabled as v,isFormInteractionTrackingEnabled as b,isFileDownloadTrackingEnabled as y,isAttributionTrackingEnabled as I,getAttributionTrackingConfig as _}from"./default-tracking.js";import{isInstanceProxy as w,convertProxyObjectToRealObject as j}from"./utils/snippet-helper.js";import{Context as S}from"./plugins/context.js";import{createTransport as k,useBrowserConfig as P,shouldFetchRemoteConfig as T}from"./config.js";import{formInteractionTracking as D}from"./plugins/form-interaction-tracking.js";import{fileDownloadTracking as A}from"./plugins/file-download-tracking.js";import{DEFAULT_SESSION_END_EVENT as O,DEFAULT_SESSION_START_EVENT as C,DEFAULT_SERVER_ZONE as N}from"./constants.js";import{detNotify as E}from"./det-notification.js";import{networkConnectivityCheckerPlugin as q}from"./plugins/network-connectivity-checker.js";import{updateBrowserConfigWithRemoteConfig as R}from"./config/joined-config.js";import{WebAttribution as U}from"./attribution/web-attribution.js";import{LIBPREFIX as K}from"./lib-prefix.js";import{VERSION as x}from"./version.js";import{returnWrapper as z}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/utils/return-wrapper.js";import{setConnectorUserId as B,setConnectorDeviceId as F,getAnalyticsConnector as L}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/analytics-connector.js";import{UUID as J}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/utils/uuid.js";import{Identify as Q}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/identify.js";import{createIdentifyEvent as Z}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/utils/event-builder.js";import{safeJsonStringify as G}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/utils/safe-stringify.js";import{AmplitudeCore as H}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/core-client.js";import{pageUrlEnrichmentPlugin as M}from"../../../../../../@amplitude_plugin-page-url-enrichment-browser@0.6.2/node_modules/@amplitude/plugin-page-url-enrichment-browser/lib/esm/page-url-enrichment.js";import{webVitalsPlugin as V}from"../../../../../../@amplitude_plugin-web-vitals-browser@1.1.13/node_modules/@amplitude/plugin-web-vitals-browser/lib/esm/web-vitals-plugin.js";import{networkCapturePlugin as W}from"../../../../../../@amplitude_plugin-network-capture-browser@1.8.2/node_modules/@amplitude/plugin-network-capture-browser/lib/esm/network-capture-plugin.js";import{frustrationPlugin as X}from"../../../../../../@amplitude_plugin-autocapture-browser@1.22.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/frustration-plugin.js";import{autocapturePlugin as Y}from"../../../../../../@amplitude_plugin-autocapture-browser@1.22.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture-plugin.js";import{pageViewTrackingPlugin as $}from"../../../../../../@amplitude_plugin-page-view-tracking-browser@2.7.2/node_modules/@amplitude/plugin-page-view-tracking-browser/lib/esm/page-view-tracking.js";import{IdentityEventSender as ii}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/plugins/identity.js";import{Destination as ei}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/plugins/destination.js";import{getQueryParams as ti}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/query-params.js";import{OfflineDisabled as si}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/types/offline.js";import{DiagnosticsClient as ni}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/diagnostics/diagnostics-client.js";import{Logger as oi}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/logger.js";import{RemoteConfigClient as ri}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/remote-config/remote-config.js";import{Revenue as ai}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/revenue.js";import{isNewSession as di}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/session.js";var ci=function(H){function ci(){var i=null!==H&&H.apply(this,arguments)||this;return i._diagnosticsSampleRate=0,i}return i(ci,H),ci.prototype.init=function(i,t,s){var n,o;return void 0===i&&(i=""),arguments.length>2?(n=t,o=s):"string"==typeof t?(n=t,o=void 0):(n=null==t?void 0:t.userId,o=t),z(this._init(e(e({},o),{userId:n,apiKey:i})))},ci.prototype._init=function(i){var e,s,n,a,w,j,k;return t(this,void 0,void 0,(function(){var O,C,z,B,F,J,Q,Z,G,ai,di,ci,ui,li,pi,gi=this;return o(this,(function(mi){switch(mi.label){case 0:return this.initializing?[2]:(this.initializing=!0,O=T(i),C=null!==(e=i.loggerProvider)&&void 0!==e?e:new oi,z=null!==(s=i.serverZone)&&void 0!==s?s:N,F=this._diagnosticsSampleRate,J=null===(n=i.enableDiagnostics)||void 0===n||n,O?(B=new ri(i.apiKey,C,z,null===(a=i.remoteConfig)||void 0===a?void 0:a.serverUrl),[4,new Promise((function(i){null==B||B.subscribe("configs.diagnostics.browserSDK","all",(function(e,t,s){if(C.debug("Diagnostics remote configuration received:",JSON.stringify({remoteConfig:e,source:t,lastFetch:s},null,2)),e){var n=e.sampleRate;"number"!=typeof n||isNaN(n)||(F=n);var o=e.enabled;"boolean"==typeof o&&(J=o)}i()}))}))]):[3,2]);case 1:mi.sent(),mi.label=2;case 2:return(Q=new ni(i.apiKey,C,z,{enabled:J,sampleRate:F})).setTag("library","".concat(K,"/").concat(x)),"undefined"!=typeof navigator&&Q.setTag("user_agent",navigator.userAgent),[4,P(i.apiKey,i,this,Q,{loggerProvider:C,serverZone:z,enableDiagnostics:J,diagnosticsSampleRate:F})];case 3:return Z=mi.sent(),O&&B?[4,new Promise((function(i){null==B||B.subscribe("configs.analyticsSDK.browserSDK","all",(function(e,t,s){Z.loggerProvider.debug("Remote configuration received:",JSON.stringify({remoteConfig:e,source:t,lastFetch:s},null,2)),e&&R(e,Z),i()}))}))]:[3,5];case 4:mi.sent(),mi.label=5;case 5:return[4,H.prototype._init.call(this,Z)];case 6:return mi.sent(),this.logBrowserOptions(Z),this.config.remoteConfigClient=B,I(this.config.defaultTracking)?(this.config.optOut&&this.timeline.addOptOutListener((function(i){return t(gi,void 0,void 0,(function(){var e;return o(this,(function(t){switch(t.label){case 0:return i?[3,2]:(e=_(this.config),this.webAttribution=new U(e,this.config),[4,this.webAttribution.init()]);case 1:t.sent(),t.label=2;case 2:return[2]}}))}))})),G=_(this.config),this.webAttribution=new U(G,this.config),[4,this.webAttribution.init()]):[3,8];case 7:mi.sent(),mi.label=8;case 8:return ai=ti(),di=ai.ampTimestamp?Number(ai.ampTimestamp):void 0,ci=!di||Date.now()<di,ui=ci&&!Number.isNaN(Number(ai.ampSessionId))?Number(ai.ampSessionId):void 0,-1!==(li=this.config.deferredSessionId)||this.config.optOut||(li=Date.now()),this.setSessionId(null!==(k=null!==(j=null!==(w=i.sessionId)&&void 0!==w?w:ui)&&void 0!==j?j:li)&&void 0!==k?k:this.config.sessionId),this.config.optOut&&this.timeline.addOptOutListener((function(i){return t(gi,void 0,void 0,(function(){return o(this,(function(e){return!i&&this.config.deferredSessionId&&(-1===this.config.deferredSessionId?this.setSessionId(void 0):this.setSessionId(this.config.deferredSessionId)),[2]}))}))})),(pi=L(i.instanceName)).identityStore.setIdentity({userId:this.config.userId,deviceId:this.config.deviceId}),this.config.offline===si?[3,10]:[4,this.add(q()).promise];case 9:mi.sent(),mi.label=10;case 10:return[4,this.add(new ei({diagnosticsClient:Q})).promise];case 11:return mi.sent(),[4,this.add(new S).promise];case 12:return mi.sent(),[4,this.add(new ii).promise];case 13:return mi.sent(),E(this.config),y(this.config.defaultTracking)?(this.config.loggerProvider.debug("Adding file download tracking plugin"),[4,this.add(A()).promise]):[3,15];case 14:mi.sent(),mi.label=15;case 15:return b(this.config.defaultTracking)?(this.config.loggerProvider.debug("Adding form interaction plugin"),[4,this.add(D()).promise]):[3,17];case 16:mi.sent(),mi.label=17;case 17:return v(this.config.defaultTracking)?this.config.optOut?[3,19]:(this.config.loggerProvider.debug("Adding page view tracking plugin"),[4,this.add($(h(this.config))).promise]):[3,20];case 18:return mi.sent(),[3,20];case 19:this.timeline.addOptOutListener((function(i){return t(gi,void 0,void 0,(function(){return o(this,(function(e){switch(e.label){case 0:return i?[2]:(this.config.loggerProvider.debug("Adding page view tracking plugin"),[4,this.add($(h(this.config))).promise]);case 1:return e.sent(),[2]}}))}))})),mi.label=20;case 20:return m(this.config.autocapture)?(this.config.loggerProvider.debug("Adding user interactions plugin (autocapture plugin)"),[4,this.add(Y(f(this.config),{diagnosticsClient:Q})).promise]):[3,22];case 21:mi.sent(),mi.label=22;case 22:return p(this.config.autocapture)?(this.config.loggerProvider.debug("Adding frustration interactions plugin"),[4,this.add(X(g(this.config))).promise]):[3,24];case 23:mi.sent(),mi.label=24;case 24:return u(this.config.autocapture)?(this.config.loggerProvider.debug("Adding network tracking plugin"),[4,this.add(W(l(this.config))).promise]):[3,26];case 25:mi.sent(),mi.label=26;case 26:return c(this.config.autocapture)?(this.config.loggerProvider.debug("Adding web vitals plugin"),[4,this.add(V()).promise]):[3,28];case 27:mi.sent(),mi.label=28;case 28:return d(this.config.autocapture)?(this.config.loggerProvider.debug("Adding referrer page url plugin"),[4,this.add(M()).promise]):[3,30];case 29:mi.sent(),mi.label=30;case 30:return this.initializing=!1,[4,this.runQueuedFunctions("dispatchQ")];case 31:return mi.sent(),pi.eventBridge.setEventReceiver((function(i){var e=i.eventProperties||{},t=e.time,s=r(e,["time"]),n="number"==typeof t?{time:t}:void 0;gi.track(i.eventType,s,n)})),[2]}}))}))},ci.prototype.getUserId=function(){var i;return null===(i=this.config)||void 0===i?void 0:i.userId},ci.prototype.setUserId=function(i){this.config?(this.config.loggerProvider.debug("function setUserId: ",i),i===this.config.userId&&void 0!==i||(this.config.userId=i,this.timeline.onIdentityChanged({userId:i}),B(i,this.config.instanceName))):this.q.push(this.setUserId.bind(this,i))},ci.prototype.getDeviceId=function(){var i;return null===(i=this.config)||void 0===i?void 0:i.deviceId},ci.prototype.setDeviceId=function(i){this.config?(this.config.loggerProvider.debug("function setDeviceId: ",i),i!==this.config.deviceId&&(this.config.deviceId=i,this.timeline.onIdentityChanged({deviceId:i}),F(i,this.config.instanceName))):this.q.push(this.setDeviceId.bind(this,i))},ci.prototype.reset=function(){this.setDeviceId(J()),this.setUserId(void 0),this.timeline.onReset()},ci.prototype.getIdentity=function(){var i,e;return{deviceId:null===(i=this.config)||void 0===i?void 0:i.deviceId,userId:null===(e=this.config)||void 0===e?void 0:e.userId,userProperties:this.userProperties}},ci.prototype.setIdentity=function(i){var e,t,o;if("userId"in i&&this.setUserId(i.userId),"deviceId"in i&&i.deviceId&&this.setDeviceId(i.deviceId),"userProperties"in i){this.userProperties=i.userProperties;var r=new Q,a=null!==(o=i.userProperties)&&void 0!==o?o:{};try{for(var d=s(Object.entries(a)),c=d.next();!c.done;c=d.next()){var u=n(c.value,2),l=u[0],p=u[1];r.set(l,p)}}catch(i){e={error:i}}finally{try{c&&!c.done&&(t=d.return)&&t.call(d)}finally{if(e)throw e.error}}this.identify(r)}},ci.prototype.getOptOut=function(){var i;return null===(i=this.config)||void 0===i?void 0:i.optOut},ci.prototype.getSessionId=function(){var i;return null===(i=this.config)||void 0===i?void 0:i.sessionId},ci.prototype.setSessionId=function(i){var e,t=[];if(!this.config)return this.q.push(this.setSessionId.bind(this,i)),z(Promise.resolve());if(this.config.optOut)return this.config.deferredSessionId=null!=i?i:-1,z(Promise.resolve());if(void 0===i&&(i=Date.now()),i===this.config.sessionId)return z(Promise.resolve());this.config.loggerProvider.debug("function setSessionId: ",i);var s=this.getSessionId();s!==i&&this.timeline.onSessionIdChanged(i);var n=this.config.lastEventTime,o=null!==(e=this.config.lastEventId)&&void 0!==e?e:-1;this.config.sessionId=i,this.config.lastEventTime=void 0,this.config.pageCounter=0,a(this.config.defaultTracking)&&(s&&n&&t.push(this.track(O,void 0,{device_id:this.previousSessionDeviceId,event_id:++o,session_id:s,time:n+1,user_id:this.previousSessionUserId}).promise),this.config.lastEventTime=this.config.sessionId);var r=this.trackCampaignEventIfNeeded(++o,t);return this.config.identify&&t.push(this.track(Z(this.config.identify)).promise),a(this.config.defaultTracking)&&t.push(this.track(C,void 0,{event_id:r?++o:o,session_id:this.config.sessionId,time:this.config.lastEventTime}).promise),this.previousSessionDeviceId=this.config.deviceId,this.previousSessionUserId=this.config.userId,z(Promise.all(t))},ci.prototype.extendSession=function(){this.config?this.config.lastEventTime=Date.now():this.q.push(this.extendSession.bind(this))},ci.prototype.setTransport=function(i){this.config?this.config.transportProvider=k(i):this.q.push(this.setTransport.bind(this,i))},ci.prototype.identify=function(i,e){if(w(i)){var t=i._q;i._q=[],i=j(new Q,t)}return(null==e?void 0:e.user_id)&&this.setUserId(e.user_id),(null==e?void 0:e.device_id)&&this.setDeviceId(e.device_id),H.prototype.identify.call(this,i,e)},ci.prototype.groupIdentify=function(i,e,t,s){if(w(t)){var n=t._q;t._q=[],t=j(new Q,n)}return H.prototype.groupIdentify.call(this,i,e,t,s)},ci.prototype.revenue=function(i,e){if(w(i)){var t=i._q;i._q=[],i=j(new ai,t)}return H.prototype.revenue.call(this,i,e)},ci.prototype.trackCampaignEventIfNeeded=function(i,e){if(!this.webAttribution||!this.webAttribution.shouldTrackNewCampaign)return!1;var t=this.webAttribution.generateCampaignEvent(i);return e?e.push(this.track(t).promise):this.track(t),this.config.loggerProvider.log("Tracking attribution."),!0},ci.prototype.process=function(i){return t(this,void 0,void 0,(function(){var e,t,s;return o(this,(function(n){return e=Date.now(),t=di(this.config.sessionTimeout,this.config.lastEventTime),s=this.webAttribution&&this.webAttribution.shouldSetSessionIdOnNewCampaign(),i.event_type===C||i.event_type===O||i.session_id&&i.session_id!==this.getSessionId()||(t||s?(this.setSessionId(e),s&&this.config.loggerProvider.log("Created a new session for new campaign.")):t||this.trackCampaignEventIfNeeded()),[2,H.prototype.process.call(this,i)]}))}))},ci.prototype.logBrowserOptions=function(i){try{var t=e(e({},i),{apiKey:i.apiKey.substring(0,10)+"********"});this.config.loggerProvider.debug("Initialized Amplitude with BrowserConfig:",G(t))}catch(i){this.config.loggerProvider.error("Error logging browser config",i)}},ci.prototype._setDiagnosticsSampleRate=function(i){i>1||i<0||this.config||(this._diagnosticsSampleRate=i)},ci}(H);export{ci as AmplitudeBrowser};
@@ -1 +0,0 @@
1
- import{__assign as e,__values as t,__spreadArray as r,__read as a}from"../../../../../../../@rollup_plugin-typescript@12.3.0_rollup@4.57.1_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js";import{SAFE_HEADERS as o}from"../../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/types/constants.js";function l(e){var n,u,i,c,p,d,s,f,v,g,y;if("object"==typeof e&&null!==e&&!Array.isArray(e)){var k=Object.keys(e);try{for(var w=t(k),b=w.next();!b.done;b=w.next()){var m=b.value;try{var h=e[m];"boolean"==typeof(null==h?void 0:h.enabled)&&(h.enabled?(delete h.enabled,0===Object.keys(h).length&&(e[m]=!0)):e[m]=!1),l(h)}catch(e){}}}catch(e){n={error:e}}finally{try{b&&!b.done&&(u=w.return)&&u.call(w)}finally{if(n)throw n.error}}try{if(null===(v=null===(f=null===(s=e.autocapture)||void 0===s?void 0:s.networkTracking)||void 0===f?void 0:f.captureRules)||void 0===v?void 0:v.length)try{for(var x=t(e.autocapture.networkTracking.captureRules),I=x.next();!I.done;I=x.next()){var R=I.value;try{for(var j=(p=void 0,t(["responseHeaders","requestHeaders"])),A=j.next();!A.done;A=j.next()){var T=A.value,C=null!==(g=R[T])&&void 0!==g?g:{},_=C.captureSafeHeaders,U=C.allowlist;(_||U)&&(void 0===U||Array.isArray(U)?R[T]=r(r([],a(_?o:[]),!1),a(null!=U?U:[]),!1):delete R[T])}}catch(e){p={error:e}}finally{try{A&&!A.done&&(d=j.return)&&d.call(j)}finally{if(p)throw p.error}}}}catch(e){i={error:e}}finally{try{I&&!I.done&&(c=x.return)&&c.call(x)}finally{if(i)throw i.error}}}catch(e){}var O=null===(y=e.autocapture)||void 0===y?void 0:y.frustrationInteractions;O&&(O.rageClick&&(O.rageClicks=O.rageClick,delete O.rageClick),O.deadClick&&(O.deadClicks=O.deadClick,delete O.deadClick))}}function n(e,r,a){var o,l,n=[];try{for(var u=t(null!=r?r:[]),i=u.next();!i.done;i=u.next()){var c=i.value;try{n.push(new RegExp(c))}catch(e){a.loggerProvider.warn("Invalid regex pattern: ".concat(c),e)}}}catch(e){o={error:e}}finally{try{i&&!i.done&&(l=u.return)&&l.call(u)}finally{if(o)throw o.error}}return e.concat(n)}function u(r,a){var o,u,i,c,p,d,s;if(r){l(r);try{a.loggerProvider.debug("Update browser config with remote configuration:",JSON.stringify(r));var f=r;if(f&&"autocapture"in f){if("boolean"==typeof f.autocapture&&(a.autocapture=f.autocapture),"object"==typeof f.autocapture&&null!==f.autocapture){var v=e({},f.autocapture);if(void 0===a.autocapture&&(a.autocapture=f.autocapture),"object"==typeof f.autocapture.elementInteractions&&null!==f.autocapture.elementInteractions&&(null===(i=f.autocapture.elementInteractions.pageUrlAllowlistRegex)||void 0===i?void 0:i.length)){v.elementInteractions=e({},f.autocapture.elementInteractions);var g=v.elementInteractions,y=null!==(c=g.pageUrlAllowlist)&&void 0!==c?c:[],k=f.autocapture.elementInteractions.pageUrlAllowlistRegex;g.pageUrlAllowlist=n(y,k,a),delete g.pageUrlAllowlistRegex}if("object"==typeof f.autocapture.networkTracking&&null!==f.autocapture.networkTracking&&(null===(p=f.autocapture.networkTracking.captureRules)||void 0===p?void 0:p.length)){v.networkTracking=e({},f.autocapture.networkTracking);var w=null!==(d=v.networkTracking.captureRules)&&void 0!==d?d:[];try{for(var b=t(w),m=b.next();!m.done;m=b.next()){var h=m.value;h.urls=n(null!==(s=h.urls)&&void 0!==s?s:[],h.urlsRegex,a),delete h.urlsRegex}}catch(e){o={error:e}}finally{try{m&&!m.done&&(u=b.return)&&u.call(b)}finally{if(o)throw o.error}}}"boolean"==typeof a.autocapture&&(a.autocapture=e({attribution:a.autocapture,fileDownloads:a.autocapture,formInteractions:a.autocapture,pageViews:a.autocapture,sessions:a.autocapture,elementInteractions:a.autocapture,webVitals:a.autocapture,frustrationInteractions:a.autocapture},v)),"object"==typeof a.autocapture&&(a.autocapture=e(e({},a.autocapture),v))}a.defaultTracking=a.autocapture}a.loggerProvider.debug("Browser config after remote config update:",JSON.stringify(a))}catch(e){a.loggerProvider.error("Failed to apply remote configuration because of error: ",e)}}}export{l as translateRemoteConfigToLocal,u as updateBrowserConfigWithRemoteConfig};
@@ -1 +0,0 @@
1
- import{__extends as e,__awaiter as t,__generator as o,__assign as i}from"../../../../../../@rollup_plugin-typescript@12.3.0_rollup@4.57.1_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js";import{LocalStorage as n}from"./storage/local-storage.js";import{SessionStorage as r}from"./storage/session-storage.js";import{XHRTransport as s}from"./transports/xhr.js";import{SendBeaconTransport as a}from"./transports/send-beacon.js";import{parseLegacyCookies as d}from"./cookie-migration/index.js";import{DEFAULT_IDENTITY_STORAGE as l,DEFAULT_SERVER_ZONE as u}from"./constants.js";import{VERSION as c}from"./version.js";import{FetchTransport as p}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/transports/fetch.js";import{Logger as v}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/logger.js";import{LogLevel as g}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/types/loglevel.js";import{CookieStorage as m,decodeCookieValue as f,isDomainEqual as h}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/storage/cookie.js";import{getCookieName as b}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/cookie-name.js";import{Config as _}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/config.js";import{MemoryStorage as I}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/storage/memory.js";import{getQueryParams as y}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/query-params.js";import{UUID as S}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/utils/uuid.js";var O=function(t){function o(e,o,i,r,s,a,d,p,m,f,h,b,_,y,S,O,k,j,E,P,w,T,L,R,D,x,M,A,N,K,U,Z,z,B,F,Q,V,q,J,W,G){void 0===i&&(i=new I),void 0===r&&(r={domain:"",expiration:365,sameSite:"Lax",secure:!1,upgrade:!0}),void 0===p&&(p=1e3),void 0===m&&(m=5),void 0===f&&(f=30),void 0===h&&(h=l),void 0===O&&(O=new v),void 0===k&&(k=g.Warn),void 0===E&&(E=!1),void 0===P&&(P=!1),void 0===L&&(L=""),void 0===R&&(R=u),void 0===M&&(M=18e5),void 0===A&&(A=new n({loggerProvider:O})),void 0===N&&(N={ipAddress:!0,language:!0,platform:!0}),void 0===K&&(K="fetch"),void 0===U&&(U=!1),void 0===Z&&(Z=!0),void 0===q&&(q=!0),void 0===J&&(J=0);var H,X=this;(X=t.call(this,{apiKey:e,storageProvider:A,transportProvider:C(K)})||this).apiKey=e,X.appVersion=o,X.cookieOptions=r,X.defaultTracking=s,X.autocapture=a,X.flushIntervalMillis=p,X.flushMaxRetries=m,X.flushQueueSize=f,X.identityStorage=h,X.ingestionMetadata=b,X.instanceName=_,X.loggerProvider=O,X.logLevel=k,X.minIdLength=j,X.offline=E,X.partnerId=w,X.plan=T,X.serverUrl=L,X.serverZone=R,X.sessionTimeout=M,X.storageProvider=A,X.trackingOptions=N,X.transport=K,X.useBatch=U,X.fetchRemoteConfig=Z,X.networkTrackingOptions=Q,X.identify=V,X.enableDiagnostics=q,X.diagnosticsSampleRate=J,X.diagnosticsClient=W,X.remoteConfig=G,X.version=c,X._optOut=!1,X._cookieStorage=i,X.deviceId=d,X.lastEventId=y,X.lastEventTime=S,X.optOut=P,X.deferredSessionId=x,X.sessionId=D,X.pageCounter=B,X.userId=z,X.debugLogsEnabled=F,X.loggerProvider.enable(F?g.Debug:X.logLevel),X.networkTrackingOptions=Q,X.identify=V,X.enableDiagnostics=q,X.diagnosticsSampleRate=J,X.diagnosticsClient=W;var Y=null!==(H=null==G?void 0:G.fetchRemoteConfig)&&void 0!==H?H:Z;return X.remoteConfig=X.remoteConfig||{},X.remoteConfig.fetchRemoteConfig=Y,X.fetchRemoteConfig=Y,X}return e(o,t),Object.defineProperty(o.prototype,"cookieStorage",{get:function(){return this._cookieStorage},set:function(e){this._cookieStorage!==e&&(this._cookieStorage=e,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"deviceId",{get:function(){return this._deviceId},set:function(e){this._deviceId!==e&&(this._deviceId=e,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"userId",{get:function(){return this._userId},set:function(e){this._userId!==e&&(this._userId=e,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"sessionId",{get:function(){return this._sessionId},set:function(e){this._sessionId!==e&&(this._sessionId=e,void 0!==e&&void 0!==this._deferredSessionId&&(this._deferredSessionId=void 0),this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"deferredSessionId",{get:function(){return this._deferredSessionId},set:function(e){this._deferredSessionId!==e&&e!==this.sessionId&&(this._deferredSessionId=e,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"optOut",{get:function(){return this._optOut},set:function(e){this._optOut!==e&&(this._optOut=e,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"lastEventTime",{get:function(){return this._lastEventTime},set:function(e){this._lastEventTime!==e&&(this._lastEventTime=e,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"lastEventId",{get:function(){return this._lastEventId},set:function(e){this._lastEventId!==e&&(this._lastEventId=e,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"pageCounter",{get:function(){return this._pageCounter},set:function(e){this._pageCounter!==e&&(this._pageCounter=e,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"debugLogsEnabled",{set:function(e){this._debugLogsEnabled!==e&&(this._debugLogsEnabled=e,this.updateStorage())},enumerable:!1,configurable:!0}),o.prototype.updateStorage=function(){var e={deviceId:this._deviceId,userId:this._userId,sessionId:this._sessionId,deferredSessionId:this._deferredSessionId,optOut:this._optOut,lastEventTime:this._lastEventTime,lastEventId:this._lastEventId,pageCounter:this._pageCounter,debugLogsEnabled:this._debugLogsEnabled,cookieDomain:void 0};this.cookieStorage instanceof m&&(e.cookieDomain=this.cookieStorage.options.domain),this.cookieStorage.set(b(this.apiKey),e)},o}(_),k=function(e,n,r,s,a){return void 0===n&&(n={}),t(void 0,void 0,void 0,(function(){var t,u,c,p,v,g,m,_,k,E,C,w,T,L,R,D,x,M,A,N,K,U,Z,z,B,F,Q,V,q,J,W,G,H,X,Y,$,ee,te,oe,ie,ne,re,se,ae,de,le,ue,ce,pe,ve,ge;return o(this,(function(o){switch(o.label){case 0:return t=n.identityStorage||l,Z={},t===l?[3,1]:(c="",[3,5]);case 1:return null===(B=null===(z=n.cookieOptions)||void 0===z?void 0:z.domain)||void 0===B?[3,2]:(p=B,[3,4]);case 2:return[4,P()];case 3:p=o.sent(),o.label=4;case 4:c=p,o.label=5;case 5:return u=i.apply(void 0,[(Z.domain=c,Z.expiration=365,Z.sameSite="Lax",Z.secure=!1,Z.upgrade=!0,Z),n.cookieOptions]),v={duplicateResolverFn:function(e){var t=f(e);if(!t)return!1;var o=JSON.parse(t);return h(o.cookieDomain,u.domain)},diagnosticsClient:s},g=j(n.identityStorage,u,v),[4,d(e,g,null===(Q=null===(F=n.cookieOptions)||void 0===F?void 0:F.upgrade)||void 0===Q||Q)];case 6:return m=o.sent(),[4,g.get(b(e))];case 7:return _=o.sent(),k=y(),E=k.ampTimestamp?Number(k.ampTimestamp):void 0,C=!E||Date.now()<E,w=null!==(G=null!==(W=null!==(J=null!==(V=n.deviceId)&&void 0!==V?V:C?null!==(q=k.ampDeviceId)&&void 0!==q?q:k.deviceId:void 0)&&void 0!==J?J:null==_?void 0:_.deviceId)&&void 0!==W?W:m.deviceId)&&void 0!==G?G:S(),T=null!==(H=null==_?void 0:_.lastEventId)&&void 0!==H?H:m.lastEventId,L=null!==(X=null==_?void 0:_.lastEventTime)&&void 0!==X?X:m.lastEventTime,R=null!==($=null!==(Y=n.optOut)&&void 0!==Y?Y:null==_?void 0:_.optOut)&&void 0!==$?$:m.optOut,D=null!==(ee=null==_?void 0:_.sessionId)&&void 0!==ee?ee:m.sessionId,x=null==_?void 0:_.deferredSessionId,M=null!==(oe=null!==(te=n.userId)&&void 0!==te?te:null==_?void 0:_.userId)&&void 0!==oe?oe:m.userId,r.previousSessionDeviceId=null!==(ie=null==_?void 0:_.deviceId)&&void 0!==ie?ie:m.deviceId,r.previousSessionUserId=null!==(ne=null==_?void 0:_.userId)&&void 0!==ne?ne:m.userId,A={ipAddress:null===(se=null===(re=n.trackingOptions)||void 0===re?void 0:re.ipAddress)||void 0===se||se,language:null===(de=null===(ae=n.trackingOptions)||void 0===ae?void 0:ae.language)||void 0===de||de,platform:null===(ue=null===(le=n.trackingOptions)||void 0===le?void 0:le.platform)||void 0===ue||ue},N=null==_?void 0:_.pageCounter,K=null==_?void 0:_.debugLogsEnabled,void 0!==n.autocapture&&(n.defaultTracking=n.autocapture),[4,(U=new O(e,n.appVersion,g,u,n.defaultTracking,n.autocapture,w,n.flushIntervalMillis,n.flushMaxRetries,n.flushQueueSize,t,n.ingestionMetadata,n.instanceName,T,L,null!==(ce=null==a?void 0:a.loggerProvider)&&void 0!==ce?ce:n.loggerProvider,n.logLevel,n.minIdLength,n.offline,R,n.partnerId,n.plan,n.serverUrl,null!==(pe=null==a?void 0:a.serverZone)&&void 0!==pe?pe:n.serverZone,D,x,n.sessionTimeout,n.storageProvider,A,n.transport,n.useBatch,n.fetchRemoteConfig,M,N,K,n.networkTrackingOptions,n.identify,null!==(ve=null==a?void 0:a.enableDiagnostics)&&void 0!==ve?ve:n.enableDiagnostics,null!==(ge=null==a?void 0:a.diagnosticsSampleRate)&&void 0!==ge?ge:r._diagnosticsSampleRate,s,n.remoteConfig)).storageProvider.isEnabled()];case 8:return o.sent()||(U.loggerProvider.warn("Storage provider ".concat(U.storageProvider.constructor.name," is not enabled. Falling back to MemoryStorage.")),U.storageProvider=new I),[2,U]}}))}))},j=function(e,t,o){switch(void 0===e&&(e=l),void 0===t&&(t={}),e){case"localStorage":return new n;case"sessionStorage":return new r;case"none":return new I;default:return new m(i(i({},t),{expirationDays:t.expiration}),o)}},E=function(e){var t,o;return void 0===e&&(e={}),!0===(null===(t=e.remoteConfig)||void 0===t?void 0:t.fetchRemoteConfig)||!1!==(null===(o=e.remoteConfig)||void 0===o?void 0:o.fetchRemoteConfig)&&!1!==e.fetchRemoteConfig},C=function(e){var t="object"==typeof e?e.type:e,o="object"==typeof e?e.headers:void 0;return"xhr"===t?new s(o):"beacon"===t?new a:new p(o)},P=function(e){return t(void 0,void 0,void 0,(function(){var e,t,i,n,r,s,a,d;return o(this,(function(o){switch(o.label){case 0:return[4,(new m).isEnabled()];case 1:if(!o.sent()||"undefined"==typeof location||!location.hostname)return[2,""];for(e=location.hostname,t=e.split("."),i=[],n=S(),r="AMP_TLDTEST_".concat(n.substring(0,8)),s=t.length-2;s>=0;--s)i.push(t.slice(s).join("."));s=0,o.label=2;case 2:return s<i.length?(a=i[s],[4,(d=new m({domain:"."+a,expirationDays:.003})).set(r,1)]):[3,7];case 3:return o.sent(),[4,d.get(r)];case 4:return o.sent()?[4,d.remove(r)]:[3,6];case 5:return o.sent(),[2,"."+a];case 6:return s++,[3,2];case 7:return[2,""]}}))}))};export{O as BrowserConfig,j as createCookieStorage,C as createTransport,P as getTopLevelDomain,E as shouldFetchRemoteConfig,k as useBrowserConfig};
@@ -1 +0,0 @@
1
- import{__assign as t}from"../../../../../../@rollup_plugin-typescript@12.3.0_rollup@4.57.1_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js";var e=function(t,e){return"boolean"==typeof t?t:!1!==(null==t?void 0:t[e])},n=function(t){return e(t,"attribution")},o=function(t){return e(t,"fileDownloads")},r=function(t){return e(t,"formInteractions")},a=function(t){return e(t,"pageViews")},i=function(t){return e(t,"sessions")},u=function(t){return e(t,"pageUrlEnrichment")},c=function(t){return"boolean"==typeof t?t:"object"==typeof t&&(!0===t.networkTracking||"object"==typeof t.networkTracking)},f=function(t){return"boolean"==typeof t?t:"object"==typeof t&&(!0===t.elementInteractions||"object"==typeof t.elementInteractions)},s=function(t){return"boolean"==typeof t?t:"object"==typeof t&&!0===t.webVitals},p=function(t){return"boolean"==typeof t?t:"object"==typeof t&&(!0===t.frustrationInteractions||"object"==typeof t.frustrationInteractions)},l=function(t){if(f(t.autocapture)&&"object"==typeof t.autocapture&&"object"==typeof t.autocapture.elementInteractions)return t.autocapture.elementInteractions},g=function(t){if(p(t.autocapture)&&"object"==typeof t.autocapture&&"object"==typeof t.autocapture.frustrationInteractions)return t.autocapture.frustrationInteractions},d=function(e){var n;if(c(e.autocapture)){var o=void 0;return"object"==typeof e.autocapture&&"object"==typeof e.autocapture.networkTracking?o=e.autocapture.networkTracking:e.networkTrackingOptions&&(o=e.networkTrackingOptions),t(t({},o),{captureRules:null===(n=null==o?void 0:o.captureRules)||void 0===n?void 0:n.map((function(n){var o,r,a;if((null===(o=n.urls)||void 0===o?void 0:o.length)&&(null===(r=n.hosts)||void 0===r?void 0:r.length)){var i=JSON.stringify(n.hosts),u=JSON.stringify(n.urls);return null===(a=e.loggerProvider)||void 0===a||a.warn("Found network capture rule with both urls='".concat(u,"' and hosts='").concat(i,"' set. ")+"Definition of urls takes precedence over hosts, so ignoring hosts."),t(t({},n),{hosts:void 0})}return n}))})}},k=function(t){var e,n=function(){return!1},o=void 0,r=t.pageCounter;return a(t.defaultTracking)&&(n=void 0,e=void 0,t.defaultTracking&&"object"==typeof t.defaultTracking&&t.defaultTracking.pageViews&&"object"==typeof t.defaultTracking.pageViews&&("trackOn"in t.defaultTracking.pageViews&&(n=t.defaultTracking.pageViews.trackOn),"trackHistoryChanges"in t.defaultTracking.pageViews&&(o=t.defaultTracking.pageViews.trackHistoryChanges),"eventType"in t.defaultTracking.pageViews&&t.defaultTracking.pageViews.eventType&&(e=t.defaultTracking.pageViews.eventType))),{trackOn:n,trackHistoryChanges:o,eventType:e,pageCounter:r}},y=function(e){return n(e.defaultTracking)&&e.defaultTracking&&"object"==typeof e.defaultTracking&&e.defaultTracking.attribution&&"object"==typeof e.defaultTracking.attribution?t({},e.defaultTracking.attribution):{}},b=function(t){if(r(t.defaultTracking)&&t.defaultTracking&&"object"==typeof t.defaultTracking&&"object"==typeof t.defaultTracking.formInteractions)return t.defaultTracking.formInteractions};export{y as getAttributionTrackingConfig,l as getElementInteractionsConfig,b as getFormInteractionsConfig,g as getFrustrationInteractionsConfig,d as getNetworkTrackingConfig,k as getPageViewTrackingConfig,n as isAttributionTrackingEnabled,f as isElementInteractionsEnabled,o as isFileDownloadTrackingEnabled,r as isFormInteractionTrackingEnabled,p as isFrustrationInteractionsEnabled,c as isNetworkTrackingEnabled,u as isPageUrlEnrichmentEnabled,a as isPageViewTrackingEnabled,i as isSessionTrackingEnabled,s as isWebVitalsEnabled};
@@ -1 +0,0 @@
1
- import e from"./browser-client-factory.js";export{createInstance}from"./browser-client-factory.js";export{AmplitudeBrowser}from"./browser-client.js";export{runQueuedFunctions}from"./utils/snippet-helper.js";import*as t from"./types.js";export{t as Types};export{Identify}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/identify.js";export{Revenue}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/revenue.js";var s=e.add,r=e.extendSession,o=e.flush,i=e.getDeviceId,n=e.getIdentity,a=e.getOptOut,d=e.getSessionId,p=e.getUserId,l=e.groupIdentify,c=e.identify,m=e.init,u=e.logEvent,f=e.remove,y=e.reset,I=e.revenue,g=e.setDeviceId,v=e.setGroup,x=e.setIdentity,j=e.setOptOut,b=e.setSessionId,_=e.setTransport,w=e.setUserId,O=e.track,S=e._setDiagnosticsSampleRate;export{S as _setDiagnosticsSampleRate,s as add,r as extendSession,o as flush,i as getDeviceId,n as getIdentity,a as getOptOut,d as getSessionId,p as getUserId,l as groupIdentify,c as identify,m as init,u as logEvent,f as remove,y as reset,I as revenue,g as setDeviceId,v as setGroup,x as setIdentity,j as setOptOut,b as setSessionId,_ as setTransport,w as setUserId,O as track};
@@ -1 +0,0 @@
1
- import{__extends as e,__awaiter as t,__generator as n}from"../../../../../../../@rollup_plugin-typescript@12.3.0_rollup@4.57.1_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js";import{BaseTransport as o}from"../../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/transports/base.js";import{getGlobalScope as r}from"../../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/global-scope.js";var i=function(o){function i(){return null!==o&&o.apply(this,arguments)||this}return e(i,o),i.prototype.send=function(e,o){return t(this,void 0,void 0,(function(){var t=this;return n(this,(function(n){return[2,new Promise((function(n,i){var s=r();if(!(null==s?void 0:s.navigator.sendBeacon))throw new Error("SendBeaconTransport is not supported");try{var l=JSON.stringify(o);return n(s.navigator.sendBeacon(e,JSON.stringify(o))?t.buildResponse({code:200,events_ingested:o.events.length,payload_size_bytes:l.length,server_upload_time:Date.now()}):t.buildResponse({code:500}))}catch(e){i(e)}}))]}))}))},i}(o);export{i as SendBeaconTransport};
@@ -1 +0,0 @@
1
- import{__extends as e,__awaiter as t,__generator as r,__assign as n,__values as o,__read as s}from"../../../../../../../@rollup_plugin-typescript@12.3.0_rollup@4.57.1_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js";import{BaseTransport as i}from"../../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/transports/base.js";var a=function(i){function a(e){void 0===e&&(e={});var t=i.call(this)||this;return t.state={done:4},t.customHeaders=e,t}return e(a,i),a.prototype.send=function(e,i){return t(this,void 0,void 0,(function(){var t=this;return r(this,(function(r){return[2,new Promise((function(r,a){var u,p;"undefined"==typeof XMLHttpRequest&&a(new Error("XHRTransport is not supported."));var c=new XMLHttpRequest;c.open("POST",e,!0),c.onreadystatechange=function(){if(c.readyState===t.state.done){var e=c.responseText;try{r(t.buildResponse(JSON.parse(e)))}catch(e){r(t.buildResponse({code:c.status}))}}};var l=n({"Content-Type":"application/json",Accept:"*/*"},t.customHeaders);try{for(var d=o(Object.entries(l)),f=d.next();!f.done;f=d.next()){var y=s(f.value,2),v=y[0],m=y[1];c.setRequestHeader(v,m)}}catch(e){u={error:e}}finally{try{f&&!f.done&&(p=d.return)&&p.call(d)}finally{if(u)throw u.error}}c.send(JSON.stringify(i))}))]}))}))},a}(i);export{a as XHRTransport};
@@ -1 +0,0 @@
1
- export{DEFAULT_ACTION_CLICK_ALLOWLIST,DEFAULT_CSS_SELECTOR_ALLOWLIST,DEFAULT_DATA_ATTRIBUTE_PREFIX}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/types/element-interactions.js";export{IdentifyOperation,SpecialEventType}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/types/event/event.js";export{LogLevel}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/types/loglevel.js";export{OfflineDisabled}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/types/offline.js";export{RevenueProperty}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/revenue.js";export{ServerZone}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/types/server-zone.js";
@@ -1 +0,0 @@
1
- import{__awaiter as e,__generator as t,__rest as s,__spreadArray as i,__read as n}from"../../../../../../../@rollup_plugin-typescript@12.3.0_rollup@4.57.1_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js";import{Status as o}from"../types/status.js";import{MAX_RETRIES_EXCEEDED_MESSAGE as r,UNEXPECTED_ERROR_MESSAGE as u,MISSING_API_KEY_MESSAGE as l,SUCCESS_MESSAGE as a,INVALID_API_KEY as c}from"../types/messages.js";import{STORAGE_PREFIX as h}from"../types/constants.js";import{chunk as d}from"../utils/chunk.js";import{buildResult as f}from"../utils/result-builder.js";import{createServerConfig as v,RequestMetadata as p}from"../config.js";import{UUID as g}from"../utils/uuid.js";import{isSuccessStatusCode as m}from"../utils/status-code.js";import{getStacktrace as y}from"../utils/debug.js";function b(e){var t="";try{"body"in e&&(t=JSON.stringify(e.body,null,2))}catch(e){}return t}var R=function(){function R(e){this.name="amplitude",this.type="destination",this.retryTimeout=1e3,this.throttleTimeout=3e4,this.storageKey="",this.scheduleId=null,this.scheduledTimeout=0,this.flushId=null,this.queue=[],this.diagnosticsClient=null==e?void 0:e.diagnosticsClient}return R.prototype.setup=function(s){var i;return e(this,void 0,void 0,(function(){var e,n=this;return t(this,(function(t){switch(t.label){case 0:return this.config=s,this.storageKey="".concat(h,"_").concat(this.config.apiKey.substring(0,10)),[4,null===(i=this.config.storageProvider)||void 0===i?void 0:i.get(this.storageKey)];case 1:return(e=t.sent())&&e.length>0&&Promise.all(e.map((function(e){return n.execute(e)}))).catch(),[2,Promise.resolve(void 0)]}}))}))},R.prototype.execute=function(e){var t=this;return e.insert_id||(e.insert_id=g()),new Promise((function(s){var i={event:e,attempts:0,callback:function(e){return s(e)},timeout:0};t.queue.push(i),t.schedule(t.config.flushIntervalMillis),t.saveEvents()}))},R.prototype.removeEventsExceedFlushMaxRetries=function(e){var t=this;return e.filter((function(e){return e.attempts+=1,e.attempts<t.config.flushMaxRetries||(t.fulfillRequest([e],500,r),!1)}))},R.prototype.scheduleEvents=function(e){var t=this;e.forEach((function(e){t.schedule(0===e.timeout?t.config.flushIntervalMillis:e.timeout)}))},R.prototype.schedule=function(e){var t=this;if(!this.config.offline)return null===this.scheduleId||this.scheduleId&&e>this.scheduledTimeout?(this.scheduleId&&clearTimeout(this.scheduleId),this.scheduledTimeout=e,void(this.scheduleId=setTimeout((function(){t.queue=t.queue.map((function(e){return e.timeout=0,e})),t.flush(!0)}),e))):void 0},R.prototype.resetSchedule=function(){this.scheduleId=null,this.scheduledTimeout=0},R.prototype.flush=function(s){return void 0===s&&(s=!1),e(this,void 0,void 0,(function(){var i,n,o=this;return t(this,(function(r){switch(r.label){case 0:return this.config.offline?(this.resetSchedule(),this.config.loggerProvider.debug("Skipping flush while offline."),[2]):this.flushId?(this.resetSchedule(),this.config.loggerProvider.debug("Skipping flush because previous flush has not resolved."),[2]):(this.flushId=this.scheduleId,this.resetSchedule(),i=[],n=[],this.queue.forEach((function(e){return 0===e.timeout?i.push(e):n.push(e)})),[4,d(i,this.config.flushQueueSize).reduce((function(i,n){return e(o,void 0,void 0,(function(){return t(this,(function(e){switch(e.label){case 0:return[4,i];case 1:return e.sent(),[4,this.send(n,s)];case 2:return[2,e.sent()]}}))}))}),Promise.resolve())]);case 1:return r.sent(),this.flushId=null,this.scheduleEvents(this.queue),[2]}}))}))},R.prototype.send=function(i,n){var r;return void 0===n&&(n=!0),e(this,void 0,void 0,(function(){var e,a,c,h,d;return t(this,(function(t){switch(t.label){case 0:if(!this.config.apiKey)return[2,this.fulfillRequest(i,400,l)];e={api_key:this.config.apiKey,events:i.map((function(e){var t=e.event;return t.extra,s(t,["extra"])})),options:{min_id_length:this.config.minIdLength},client_upload_time:(new Date).toISOString(),request_metadata:this.config.requestMetadata},this.config.requestMetadata=new p,t.label=1;case 1:return t.trys.push([1,3,,4]),a=v(this.config.serverUrl,this.config.serverZone,this.config.useBatch).serverUrl,[4,this.config.transportProvider.send(a,e)];case 2:return null===(c=t.sent())?(this.fulfillRequest(i,0,u),[2]):n?(this.handleResponse(c,i),[3,4]):("body"in c?this.fulfillRequest(i,c.statusCode,"".concat(c.status,": ").concat(b(c))):this.fulfillRequest(i,c.statusCode,c.status),[2]);case 3:return h=t.sent(),d=(f=h)instanceof Error?f.message:String(f),this.config.loggerProvider.error(d),null===(r=this.diagnosticsClient)||void 0===r||r.recordEvent("analytics.events.unsuccessful.from.catch.error",{events:i.map((function(e){return e.event.event_type})),message:d,stack_trace:y()}),this.handleResponse({status:o.Failed,statusCode:0},i),[3,4];case 4:return[2]}var f}))}))},R.prototype.handleResponse=function(e,t){var s;m(e.statusCode)||null===(s=this.diagnosticsClient)||void 0===s||s.recordEvent("analytics.events.unsuccessful",{events:t.map((function(e){return e.event.event_type})),code:e.statusCode,status:e.status,body:b(e),stack_trace:y()});var i=e.status;switch(i){case o.Success:this.handleSuccessResponse(e,t);break;case o.Invalid:this.handleInvalidResponse(e,t);break;case o.PayloadTooLarge:this.handlePayloadTooLargeResponse(e,t);break;case o.RateLimit:this.handleRateLimitResponse(e,t);break;default:this.config.loggerProvider.warn("{code: 0, error: \"Status '".concat(i,"' provided for ").concat(t.length,' events"}')),this.handleOtherResponse(t)}},R.prototype.handleSuccessResponse=function(e,t){this.fulfillRequest(t,e.statusCode,a)},R.prototype.handleInvalidResponse=function(e,t){var s=this;if(e.body.missingField||e.body.error.startsWith(c))this.fulfillRequest(t,e.statusCode,e.body.error);else{var o=i(i(i(i([],n(Object.values(e.body.eventsWithInvalidFields)),!1),n(Object.values(e.body.eventsWithMissingFields)),!1),n(Object.values(e.body.eventsWithInvalidIdLengths)),!1),n(e.body.silencedEvents),!1).flat(),r=new Set(o),u=t.filter((function(t,i){if(!r.has(i))return!0;s.fulfillRequest([t],e.statusCode,e.body.error)}));u.length>0&&this.config.loggerProvider.warn(b(e));var l=this.removeEventsExceedFlushMaxRetries(u);this.scheduleEvents(l)}},R.prototype.handlePayloadTooLargeResponse=function(e,t){if(1!==t.length){this.config.loggerProvider.warn(b(e)),this.config.flushQueueSize/=2;var s=this.removeEventsExceedFlushMaxRetries(t);this.scheduleEvents(s)}else this.fulfillRequest(t,e.statusCode,e.body.error)},R.prototype.handleRateLimitResponse=function(e,t){var s=this,i=Object.keys(e.body.exceededDailyQuotaUsers),n=Object.keys(e.body.exceededDailyQuotaDevices),o=e.body.throttledEvents,r=new Set(i),u=new Set(n),l=new Set(o),a=t.filter((function(t,i){if(!(t.event.user_id&&r.has(t.event.user_id)||t.event.device_id&&u.has(t.event.device_id)))return l.has(i)&&(t.timeout=s.throttleTimeout),!0;s.fulfillRequest([t],e.statusCode,e.body.error)}));a.length>0&&this.config.loggerProvider.warn(b(e));var c=this.removeEventsExceedFlushMaxRetries(a);this.scheduleEvents(c)},R.prototype.handleOtherResponse=function(e){var t=this,s=e.map((function(e){return e.timeout=e.attempts*t.retryTimeout,e})),i=this.removeEventsExceedFlushMaxRetries(s);this.scheduleEvents(i)},R.prototype.fulfillRequest=function(e,t,s){var i,n,o;m(t)?null===(o=this.diagnosticsClient)||void 0===o||o.increment("analytics.events.sent",e.length):(null===(i=this.diagnosticsClient)||void 0===i||i.increment("analytics.events.dropped",e.length),null===(n=this.diagnosticsClient)||void 0===n||n.recordEvent("analytics.events.dropped",{events:e.map((function(e){return e.event.event_type})),code:t,message:s,stack_trace:y()})),this.removeEvents(e),e.forEach((function(e){return e.callback(f(e.event,t,s))}))},R.prototype.saveEvents=function(){if(this.config.storageProvider){var e=this.queue.map((function(e){return e.event}));this.config.storageProvider.set(this.storageKey,e)}},R.prototype.removeEvents=function(e){this.queue=this.queue.filter((function(t){return!e.some((function(e){return e.event.insert_id===t.event.insert_id}))})),this.saveEvents()},R}();export{R as Destination,b as getResponseBodyString};
@@ -1 +0,0 @@
1
- import{__awaiter as e,__generator as t}from"../../../../../../../@rollup_plugin-typescript@12.3.0_rollup@4.57.1_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js";import{RemoteConfigLocalStorage as r}from"./remote-config-localstorage.js";import{UUID as o}from"../utils/uuid.js";var i="https://sr-client-cfg.amplitude.com/config",n="https://sr-client-cfg.eu.amplitude.com/config",c=3,s=function(){function c(e,t,o,c){void 0===o&&(o="US"),this.callbackInfos=[],this.lastSuccessfulFetch=null,this.fetchPromise=null,this.apiKey=e,this.serverUrl=c||("US"===o?i:n),this.logger=t,this.storage=new r(e,t)}return c.prototype.subscribe=function(e,t,r){var i=o(),n={id:i,key:e,deliveryMode:t,callback:r};return this.callbackInfos.push(n),"all"===t?this.subscribeAll(n):this.subscribeWaitForRemote(n,t.timeout),i},c.prototype.unsubscribe=function(e){var t=this.callbackInfos.findIndex((function(t){return t.id===e}));return-1===t?(this.logger.debug("Remote config client unsubscribe failed because callback with id ".concat(e," doesn't exist.")),!1):(this.callbackInfos.splice(t,1),this.logger.debug("Remote config client unsubscribe succeeded removing callback with id ".concat(e,".")),!0)},c.prototype.updateConfigs=function(){return e(this,void 0,void 0,(function(){var e,r=this;return t(this,(function(t){switch(t.label){case 0:return this.lastSuccessfulFetch&&Date.now()-this.lastSuccessfulFetch<3e5?(this.logger.debug("Remote config client skipping updateConfigs: Too recent"),[2]):[4,this.getOrCreateFetchPromise()];case 1:return e=t.sent(),this.storage.setConfig(e),this.callbackInfos.forEach((function(t){r.sendCallback(t,e,"remote")})),[2]}}))}))},c.prototype.getOrCreateFetchPromise=function(){var e=this;return this.fetchPromise||(this.fetchPromise=this.fetch().then((function(t){return null!==t.remoteConfig&&(e.lastSuccessfulFetch=Date.now()),t})).finally((function(){e.fetchPromise=null}))),this.fetchPromise},c.prototype.subscribeAll=function(r){return e(this,void 0,void 0,(function(){var e,o,i,n=this;return t(this,(function(t){switch(t.label){case 0:return e=this.getOrCreateFetchPromise().then((function(e){n.logger.debug("Remote config client subscription all mode fetched from remote: ".concat(JSON.stringify(e))),n.sendCallback(r,e,"remote"),n.storage.setConfig(e)})),o=this.storage.fetchConfig().then((function(e){return e})),[4,Promise.race([e,o])];case 1:return void 0!==(i=t.sent())&&(this.logger.debug("Remote config client subscription all mode fetched from cache: ".concat(JSON.stringify(i))),null!==i.remoteConfig?this.sendCallback(r,i,"cache"):this.logger.debug("Remote config client skips sending callback because cache is empty (first time user).")),[4,e];case 2:return t.sent(),[2]}}))}))},c.prototype.subscribeWaitForRemote=function(r,o){return e(this,void 0,void 0,(function(){var e,i;return t(this,(function(t){switch(t.label){case 0:e=new Promise((function(e,t){setTimeout((function(){t("Timeout exceeded")}),o)})),t.label=1;case 1:return t.trys.push([1,3,,5]),[4,Promise.race([this.getOrCreateFetchPromise(),e])];case 2:return i=t.sent(),this.logger.debug("Remote config client subscription wait for remote mode returns from remote."),this.sendCallback(r,i,"remote"),this.storage.setConfig(i),[3,5];case 3:return t.sent(),this.logger.debug("Remote config client subscription wait for remote mode exceeded timeout. Try to fetch from cache."),[4,this.storage.fetchConfig()];case 4:return null!==(i=t.sent()).remoteConfig?(this.logger.debug("Remote config client subscription wait for remote mode returns a cached copy."),this.sendCallback(r,i,"cache")):(this.logger.debug("Remote config client subscription wait for remote mode failed to fetch cache."),this.sendCallback(r,i,"remote")),[3,5];case 5:return[2]}}))}))},c.prototype.sendCallback=function(e,t,r){var o;e.lastCallback=new Date,o=e.key?e.key.split(".").reduce((function(e,t){return null===e?e:t in e?e[t]:null}),t.remoteConfig):t.remoteConfig,e.callback(o,r,t.lastFetch)},c.prototype.fetch=function(r,o){return void 0===r&&(r=3),void 0===o&&(o=1e3),e(this,void 0,void 0,(function(){var e,i,n,c,s,a,l=this;return t(this,(function(u){switch(u.label){case 0:e=o/r,i={remoteConfig:null,lastFetch:new Date},n=function(i){var n,s,a,u,f;return t(this,(function(t){switch(t.label){case 0:n=new AbortController,s=setTimeout((function(){return n.abort()}),o),t.label=1;case 1:return t.trys.push([1,7,8,9]),[4,fetch(c.getUrlParams(),{method:"GET",headers:{Accept:"*/*"},signal:n.signal})];case 2:return(a=t.sent()).ok?[3,4]:[4,a.text()];case 3:return u=t.sent(),c.logger.debug("Remote config client fetch with retry time ".concat(r," failed with ").concat(a.status,": ").concat(u)),[3,6];case 4:return[4,a.json()];case 5:return[2,{value:{remoteConfig:t.sent(),lastFetch:new Date}}];case 6:return[3,9];case 7:return(f=t.sent())instanceof Error&&"AbortError"===f.name?c.logger.debug("Remote config client fetch with retry time ".concat(r," timed out after ").concat(o,"ms")):c.logger.debug("Remote config client fetch with retry time ".concat(r," is rejected because: "),f),[3,9];case 8:return clearTimeout(s),[7];case 9:return i<r-1?[4,new Promise((function(t){return setTimeout(t,l.getJitterDelay(e))}))]:[3,11];case 10:t.sent(),t.label=11;case 11:return[2]}}))},c=this,s=0,u.label=1;case 1:return s<r?[5,n(s)]:[3,4];case 2:if("object"==typeof(a=u.sent()))return[2,a.value];u.label=3;case 3:return s++,[3,1];case 4:return[2,i]}}))}))},c.prototype.getJitterDelay=function(e){return Math.floor(Math.random()*e)},c.prototype.getUrlParams=function(){var e=encodeURIComponent(this.apiKey),t=new URLSearchParams;return t.append("config_group",c.CONFIG_GROUP),"".concat(this.serverUrl,"/").concat(e,"?").concat(t.toString())},c.CONFIG_GROUP="browser",c}();export{c as DEFAULT_MAX_RETRIES,n as EU_SERVER_URL,s as RemoteConfigClient,i as US_SERVER_URL};
@@ -1 +0,0 @@
1
- import{__assign as t,__awaiter as e,__generator as o,__values as n}from"../../../../../../../@rollup_plugin-typescript@12.3.0_rollup@4.57.1_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js";import{getGlobalScope as r}from"../global-scope.js";import{UUID as i}from"../utils/uuid.js";var c=function(){function c(e,o){void 0===o&&(o={}),this.options=t({},e),this.config=o}return c.prototype.isEnabled=function(){return e(this,void 0,void 0,(function(){var e,n,s,u;return o(this,(function(o){switch(o.label){case 0:if(!r())return[2,!1];e=String(Date.now()),n=t(t({},this.options),{expirationDays:.003}),s=new c(n),u="AMP_TEST_".concat(i().substring(0,8)),o.label=1;case 1:return o.trys.push([1,4,5,7]),[4,s.set(u,e)];case 2:return o.sent(),[4,s.get(u)];case 3:return[2,o.sent()===e];case 4:return o.sent(),[2,!1];case 5:return[4,s.remove(u)];case 6:return o.sent(),[7];case 7:return[2]}}))}))},c.prototype.get=function(t){return e(this,void 0,void 0,(function(){var e,n;return o(this,(function(o){switch(o.label){case 0:return[4,this.getRaw(t)];case 1:if(!(e=o.sent()))return[2,void 0];try{return void 0===(n=s(e))?(console.error("Amplitude Logger [Error]: Failed to decode cookie value for key: ".concat(t,", value: ").concat(e)),[2,void 0]):[2,JSON.parse(n)]}catch(o){return console.error("Amplitude Logger [Error]: Failed to parse cookie value for key: ".concat(t,", value: ").concat(e)),[2,void 0]}return[2]}}))}))},c.prototype.getRaw=function(t){var i,c,s,a;return e(this,void 0,void 0,(function(){var e,l,d,p,f,v,h,g,m,y,b,k,S=this;return o(this,(function(o){switch(o.label){case 0:e=r(),l=e,o.label=1;case 1:return o.trys.push([1,4,,5]),(d=null==l?void 0:l.cookieStore)?[4,d.getAll(t)]:[3,3];case 2:if(p=o.sent()){p.length>1&&(null===(i=this.config.diagnosticsClient)||void 0===i||i.recordEvent("cookies.duplicate",{cookies:p.map((function(t){return t.domain}))}),null===(c=this.config.diagnosticsClient)||void 0===c||c.increment("cookies.duplicate.occurrence.cookieStore"));try{for(f=n(p),v=f.next();!v.done;v=f.next())if(h=v.value,u(h.domain,this.options.domain))return[2,h.value]}catch(t){b={error:t}}finally{try{v&&!v.done&&(k=f.return)&&k.call(f)}finally{if(b)throw b.error}}}o.label=3;case 3:return[3,5];case 4:return o.sent(),[3,5];case 5:return g=(null!==(a=null===(s=null==e?void 0:e.document)||void 0===s?void 0:s.cookie.split("; "))&&void 0!==a?a:[]).filter((function(e){return 0===e.indexOf(t+"=")})),m=void 0,"function"==typeof(y=this.config.duplicateResolverFn)&&g.length>1&&(m=g.find((function(e){var o;try{var n=y(e.substring(t.length+1));return n||null===(o=S.config.diagnosticsClient)||void 0===o||o.increment("cookies.duplicate.occurrence.document.cookie"),n}catch(t){return!1}}))),m||(m=g[0]),m?[2,m.substring(t.length+1)]:[2,void 0]}}))}))},c.prototype.set=function(t,n){var i;return e(this,void 0,void 0,(function(){var e,c,s,u,a,l,d;return o(this,(function(o){try{e=null!==(i=this.options.expirationDays)&&void 0!==i?i:0,s=void 0,(c=null!==n?e:-1)&&((u=new Date).setTime(u.getTime()+24*c*60*60*1e3),s=u),a="".concat(t,"=").concat(btoa(encodeURIComponent(JSON.stringify(n)))),s&&(a+="; expires=".concat(s.toUTCString())),a+="; path=/",this.options.domain&&(a+="; domain=".concat(this.options.domain)),this.options.secure&&(a+="; Secure"),this.options.sameSite&&(a+="; SameSite=".concat(this.options.sameSite)),(l=r())&&(l.document.cookie=a)}catch(e){d=e instanceof Error?e.message:String(e),console.error("Amplitude Logger [Error]: Failed to set cookie for key: ".concat(t,". Error: ").concat(d))}return[2]}))}))},c.prototype.remove=function(t){return e(this,void 0,void 0,(function(){return o(this,(function(e){switch(e.label){case 0:return[4,this.set(t,null)];case 1:return e.sent(),[2]}}))}))},c.prototype.reset=function(){return e(this,void 0,void 0,(function(){return o(this,(function(t){return[2]}))}))},c}(),s=function(t){var e;return null!==(e=function(t){try{return decodeURIComponent(atob(t))}catch(t){return}}(t))&&void 0!==e?e:function(t){try{return decodeURIComponent(atob(decodeURIComponent(t)))}catch(t){return}}(t)},u=function(t,e){if(!t||!e)return!1;var o=t.startsWith(".")?t.substring(1):t,n=e.startsWith(".")?e.substring(1):e;return o.toLowerCase()===n.toLowerCase()};export{c as CookieStorage,s as decodeCookieValue,u as isDomainEqual};
@@ -1 +0,0 @@
1
- import{Status as e}from"../types/status.js";import{isSuccessStatusCode as t}from"../utils/status-code.js";var s=function(){function s(){}return s.prototype.send=function(e,t){return Promise.resolve(null)},s.prototype.buildResponse=function(t){var s,d,i,l,o,n,r,u,v,a,c,_,h,y,p,m,f,g,b,D,x,T;if("object"!=typeof t)return null;var I=t.code||0,w=this.buildStatus(I);switch(w){case e.Success:return{status:w,statusCode:I,body:{eventsIngested:null!==(s=t.events_ingested)&&void 0!==s?s:0,payloadSizeBytes:null!==(d=t.payload_size_bytes)&&void 0!==d?d:0,serverUploadTime:null!==(i=t.server_upload_time)&&void 0!==i?i:0}};case e.Invalid:return{status:w,statusCode:I,body:{error:null!==(l=t.error)&&void 0!==l?l:"",missingField:null!==(o=t.missing_field)&&void 0!==o?o:"",eventsWithInvalidFields:null!==(n=t.events_with_invalid_fields)&&void 0!==n?n:{},eventsWithMissingFields:null!==(r=t.events_with_missing_fields)&&void 0!==r?r:{},eventsWithInvalidIdLengths:null!==(u=t.events_with_invalid_id_lengths)&&void 0!==u?u:{},epsThreshold:null!==(v=t.eps_threshold)&&void 0!==v?v:0,exceededDailyQuotaDevices:null!==(a=t.exceeded_daily_quota_devices)&&void 0!==a?a:{},silencedDevices:null!==(c=t.silenced_devices)&&void 0!==c?c:[],silencedEvents:null!==(_=t.silenced_events)&&void 0!==_?_:[],throttledDevices:null!==(h=t.throttled_devices)&&void 0!==h?h:{},throttledEvents:null!==(y=t.throttled_events)&&void 0!==y?y:[]}};case e.PayloadTooLarge:return{status:w,statusCode:I,body:{error:null!==(p=t.error)&&void 0!==p?p:""}};case e.RateLimit:return{status:w,statusCode:I,body:{error:null!==(m=t.error)&&void 0!==m?m:"",epsThreshold:null!==(f=t.eps_threshold)&&void 0!==f?f:0,throttledDevices:null!==(g=t.throttled_devices)&&void 0!==g?g:{},throttledUsers:null!==(b=t.throttled_users)&&void 0!==b?b:{},exceededDailyQuotaDevices:null!==(D=t.exceeded_daily_quota_devices)&&void 0!==D?D:{},exceededDailyQuotaUsers:null!==(x=t.exceeded_daily_quota_users)&&void 0!==x?x:{},throttledEvents:null!==(T=t.throttled_events)&&void 0!==T?T:[]}};case e.Timeout:default:return{status:w,statusCode:I}}},s.prototype.buildStatus=function(s){return t(s)?e.Success:429===s?e.RateLimit:413===s?e.PayloadTooLarge:408===s?e.Timeout:s>=400&&s<500?e.Invalid:s>=500?e.Failed:e.Unknown},s}();export{s as BaseTransport};
@@ -1 +0,0 @@
1
- import{__extends as t,__awaiter as e,__generator as r,__assign as s}from"../../../../../../../@rollup_plugin-typescript@12.3.0_rollup@4.57.1_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js";import{BaseTransport as n}from"./base.js";var o=function(n){function o(t){void 0===t&&(t={});var e=n.call(this)||this;return e.customHeaders=t,e}return t(o,n),o.prototype.send=function(t,n){return e(this,void 0,void 0,(function(){var e,o,i;return r(this,(function(r){switch(r.label){case 0:if("undefined"==typeof fetch)throw new Error("FetchTransport is not supported");return e={headers:s({"Content-Type":"application/json",Accept:"*/*"},this.customHeaders),body:JSON.stringify(n),method:"POST"},[4,fetch(t,e)];case 1:return[4,(o=r.sent()).text()];case 2:i=r.sent();try{return[2,this.buildResponse(JSON.parse(i))]}catch(t){return[2,this.buildResponse({code:o.status})]}return[2]}}))}))},o}(n);export{o as FetchTransport};
@@ -1 +0,0 @@
1
- import{__values as r}from"../../../../../../../@rollup_plugin-typescript@12.3.0_rollup@4.57.1_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js";import{Observable as n}from"../../../../../../../zen-observable-ts@1.1.0/node_modules/zen-observable-ts/module.js";function e(r,e){return new n((function(n){r.subscribe({next:function(r){e(r).then((function(r){return n.next(r)})).catch((function(r){return n.error(r)}))},error:function(r){n.error(r)},complete:function(){n.complete()}})}))}function t(e,t){return new n((function(n){var o=!1,l=new Set,u=function(){var n,e;o=!0;try{for(var t=r(l),u=t.next();!u.done;u=t.next()){var c=u.value;try{c.unsubscribe()}catch(r){}}}catch(r){n={error:r}}finally{try{u&&!u.done&&(e=t.return)&&e.call(t)}finally{if(n)throw n.error}}l.clear()},c=function(r){var e=r.subscribe({next:function(r){o||n.next(r)},error:function(r){o||(o=!0,n.error(r),u())},complete:function(){l.delete(e),o||0!==l.size||(n.complete(),u(),o=!0)}});l.add(e)};return c(e),c(t),u}))}function o(e){var t=new Set,o=null;function l(){null==o||o.unsubscribe(),o=null,t.clear()}return new n((function(n){return t.add(n),null===o&&(o=e.subscribe({next:function(n){var e,o,l;try{for(var u=r(t),c=u.next();!c.done;c=u.next()){var i=c.value;null===(l=i.next)||void 0===l||l.call(i,n)}}catch(r){e={error:r}}finally{try{c&&!c.done&&(o=u.return)&&o.call(u)}finally{if(e)throw e.error}}},error:function(n){var e,o,u;try{for(var c=r(t),i=c.next();!i.done;i=c.next()){var a=i.value;null===(u=a.error)||void 0===u||u.call(a,n)}}catch(r){e={error:r}}finally{try{i&&!i.done&&(o=c.return)&&o.call(c)}finally{if(e)throw e.error}}l()},complete:function(){var n,e,o;try{for(var u=r(t),c=u.next();!c.done;c=u.next()){var i=c.value;null===(o=i.complete)||void 0===o||o.call(i)}}catch(r){n={error:r}}finally{try{c&&!c.done&&(e=u.return)&&e.call(u)}finally{if(n)throw n.error}}l()}})),function(){t.delete(n),0===t.size&&o&&(o.unsubscribe(),o=null)}}))}export{n as Observable,e as asyncMap,t as merge,o as multicast};
@@ -1 +0,0 @@
1
- import{AMPLITUDE_THRASHED_CURSOR_EVENT as e}from"../constants.js";import{isUrlAllowed as n}from"../helpers.js";import{Observable as r}from"../../../../../../../zen-observable-ts@1.1.0/node_modules/zen-observable-ts/module.js";var t,s;!function(e){e.INCREASING="increasing",e.DECREASING="decreasing"}(t||(t={})),function(e){e.X="x",e.Y="y"}(s||(s={}));var o=function(e){var n=e.allWindowObservables.mouseMoveObservable;return new r((function(e){var r=null,o=null,i=null;return n.subscribe((function(n){var l={x:n.clientX,y:n.clientY};null!==r?(l.x>r.x?(o===t.DECREASING&&e.next(s.X),o=t.INCREASING):l.x<r.x&&(o===t.INCREASING&&e.next(s.X),o=t.DECREASING),l.y>r.y?(i===t.DECREASING&&e.next(s.Y),i=t.INCREASING):l.y<r.y&&(i===t.INCREASING&&e.next(s.Y),i=t.DECREASING),r=l):r=l}))}))};function i(e){var n=e.changes,r=e.changesThreshold,t=e.thresholdMs;return!(n.length<r)&&n[n.length-1]-n[0]<t}function l(e){e.changes=[],e.startTime=void 0}function a(e){for(var n=e.changes,r=e.thresholdMs,t=0,s=n[n.length-1];t<n.length;t++){if(s-n[t]<r)break}0!==t&&(e.startTime=n[t],e.changes.splice(0,t))}var u=function(e){var n=e.mouseDirectionChangeObservable,t=e.directionChanges,o=void 0===t?10:t,u=e.thresholdMs,c=void 0===u?2e3:u;return new r((function(e){var r={changes:[],changesThreshold:o,thresholdMs:c},t={changes:[],changesThreshold:o,thresholdMs:c},u=void 0,h=null;function v(){void 0!==u&&(e.next(u),u=void 0,null!==h&&clearTimeout(h),l(r),l(t))}return n.subscribe((function(e){null!==h&&clearTimeout(h),function(e){var n=+Date.now();e.startTime=e.startTime||n;var r=e.changes,t=e.changesThreshold;r.push(n),r.length>t&&r.shift()}(e===s.X?r:t);var n=function(e,n){var r=void 0;if(i(e)&&(r=e.startTime),i(n)){var t=n.startTime;t&&(!r||t<r)&&(r=t)}return r}(r,t);return n?(u=u||n,h=setTimeout((function(){v(),h=null}),c)):v(),a(r),a(t),function(){null!==h&&(clearTimeout(h),h=null)}}))}))},c=function(r){var t=r.amplitude,s=r.options,i=r.allObservables,l=r.directionChanges,a=void 0===l?10:l,c=r.thresholdMs,h=void 0===c?2e3:c,v=o({allWindowObservables:i});return u({mouseDirectionChangeObservable:v,directionChanges:a,thresholdMs:h}).subscribe((function(r){n(s)&&t.track(e,void 0,{time:r})}))};export{o as createMouseDirectionChangeObservable,u as createThrashedCursorObservable,c as trackThrashedCursor};
@@ -1 +0,0 @@
1
- import{__awaiter as e,__generator as t,__values as o,__spreadArray as n,__read as r,__assign as i}from"../../../../../../@rollup_plugin-typescript@12.3.0_rollup@4.57.1_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js";import{VERSION as l}from"./version.js";import{PLUGIN_NAME as a}from"./constants.js";import{createShouldTrackEvent as s}from"./helpers.js";import{enableVisualTagging as c}from"./libs/messenger.js";import{trackClicks as u}from"./autocapture/track-click.js";import{trackChange as d}from"./autocapture/track-change.js";import{trackActionClick as v}from"./autocapture/track-action-click.js";import{createClickObservable as p,createMutationObservable as m}from"./observables.js";import{groupLabeledEventIdsByEventType as b,createLabeledEventToTriggerMap as g,createTriggerEvaluator as f}from"./pageActions/triggers.js";import{DataExtractor as w}from"./data-extractor.js";import{DEFAULT_CSS_SELECTOR_ALLOWLIST as h,DEFAULT_ACTION_CLICK_ALLOWLIST as y,DEFAULT_DATA_ATTRIBUTE_PREFIX as A}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/types/element-interactions.js";import{getOrCreateWindowMessenger as E}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/messenger/base-window-messenger.js";import{enableBackgroundCapture as O}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/messenger/background-capture.js";import{multicast as j}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/utils/observable.js";import{Observable as k}from"../../../../../../zen-observable-ts@1.1.0/node_modules/zen-observable-ts/module.js";import{getGlobalScope as _}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/global-scope.js";import{AMPLITUDE_ORIGINS_MAP as C}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/messenger/constants.js";var x;!function(e){e.ClickObservable="clickObservable",e.ChangeObservable="changeObservable",e.NavigateObservable="navigateObservable",e.MutationObservable="mutationObservable",e.BrowserErrorObservable="browserErrorObservable",e.SelectionObservable="selectionObservable",e.MouseMoveObservable="mouseMoveObservable"}(x||(x={}));var P=function(P,S){var T,M,L,R,z,N,U,Z;void 0===P&&(P={}),null==S||S.diagnosticsClient.setTag("plugin.autocapture.version",l);var B=P.dataAttributePrefix,D=void 0===B?A:B,I=P.visualTaggingOptions,K=void 0===I?{enabled:!0}:I;P.cssSelectorAllowlist=null!==(T=P.cssSelectorAllowlist)&&void 0!==T?T:h,P.actionClickAllowlist=null!==(M=P.actionClickAllowlist)&&void 0!==M?M:y,P.debounceTime=null!==(L=P.debounceTime)&&void 0!==L?L:0,P.pageUrlExcludelist=null===(R=P.pageUrlExcludelist)||void 0===R?void 0:R.reduce((function(e,t){if("string"==typeof t&&e.push(t),t instanceof RegExp&&e.push(t),"object"==typeof t&&null!==t&&"pattern"in t)try{e.push(new RegExp(t.pattern))}catch(o){return console.warn("Invalid regex pattern: ".concat(t.pattern),o),e}return e}),[]);var q=a,F=[],G=new w(P,S),H=b(Object.values(null!==(N=null===(z=P.pageActions)||void 0===z?void 0:z.labeledEvents)&&void 0!==N?N:{})),J=g(null!==(Z=null===(U=P.pageActions)||void 0===U?void 0:U.triggers)&&void 0!==Z?Z:[]),Q=f(H,J,G,P);return{name:q,type:"enrichment",setup:function(o,l){return e(void 0,void 0,void 0,(function(){var e,a,f,w,h,y,A,S,T,M;return t(this,(function(t){return"undefined"==typeof document||(o.fetchRemoteConfig&&(o.remoteConfigClient?o.remoteConfigClient.subscribe("configs.analyticsSDK.pageActions","all",(function(e){!function(e){var t,o;e&&(P.pageActions=i(i({},P.pageActions),e),H=b(Object.values(null!==(t=P.pageActions.labeledEvents)&&void 0!==t?t:{})),J=g(null!==(o=P.pageActions.triggers)&&void 0!==o?o:[]),Q.update(H,J,P))}(e)})):o.loggerProvider.debug("Remote config client is not provided, skipping remote config fetch")),e=s(P,P.cssSelectorAllowlist),a=s(P,P.actionClickAllowlist),f=function(){var e,t,o=j(p().map((function(e){return G.addAdditionalEventProperties(e,"click",P.cssSelectorAllowlist,D)}))),n=j(new k((function(e){var t,o=function(t){var o=G.addAdditionalEventProperties(t,"change",P.cssSelectorAllowlist,D);e.next(o)};return null===(t=_())||void 0===t||t.document.addEventListener("change",o,{capture:!0}),function(){var e;return null===(e=_())||void 0===e?void 0:e.document.removeEventListener("change",o)}})));window.navigation&&(t=j(new k((function(e){var t=function(t){var o=G.addAdditionalEventProperties(t,"navigate",P.cssSelectorAllowlist,D);e.next(o)};return window.navigation.addEventListener("navigate",t),function(){window.navigation.removeEventListener("navigate",t)}}))));var r=j(m().map((function(e){return G.addAdditionalEventProperties(e,"mutation",P.cssSelectorAllowlist,D)})));return(e={})[x.ChangeObservable]=n,e[x.ClickObservable]=o,e[x.MutationObservable]=r,e[x.NavigateObservable]=t,e}(),w=u({allObservables:f,amplitude:l,shouldTrackEvent:e,evaluateTriggers:Q.evaluate.bind(Q)}),F.push(w),h=d({allObservables:f,getEventProperties:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return G.getEventProperties.apply(G,n(n([],r(e),!1),[D],!1))},amplitude:l,shouldTrackEvent:e,evaluateTriggers:Q.evaluate.bind(Q)}),F.push(h),y=v({allObservables:f,options:P,getEventProperties:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return G.getEventProperties.apply(G,n(n([],r(e),!1),[D],!1))},amplitude:l,shouldTrackEvent:e,shouldTrackActionClick:a}),y&&F.push(y),null===(M=null==o?void 0:o.loggerProvider)||void 0===M||M.log("".concat(q," has been successfully added.")),window.opener&&K.enabled&&(A=P.cssSelectorAllowlist,S=P.actionClickAllowlist,T=E(),c(T,{dataExtractor:G,isElementSelectable:s(P,n(n([],r(A),!1),r(S),!1)),cssSelectorAllowlist:A,actionClickAllowlist:S}),O(T),T.setup(i({logger:null==o?void 0:o.loggerProvider},(null==o?void 0:o.serverZone)&&{endpoint:C[o.serverZone]})))),[2]}))}))},execute:function(o){return e(void 0,void 0,void 0,(function(){return t(this,(function(e){return[2,o]}))}))},teardown:function(){return e(void 0,void 0,void 0,(function(){var e,n,r,i;return t(this,(function(t){try{for(e=o(F),n=e.next();!n.done;n=e.next())n.value.unsubscribe()}catch(e){r={error:e}}finally{try{n&&!n.done&&(i=e.return)&&i.call(e)}finally{if(r)throw r.error}}return[2]}))}))}}};export{x as ObservablesEnum,P as autocapturePlugin};
@@ -1 +0,0 @@
1
- var e="@amplitude/plugin-autocapture-browser",t="@amplitude/plugin-frustration-browser",l="[Amplitude] Element Clicked",i="[Amplitude] Dead Click",m="[Amplitude] Rage Click",p="[Amplitude] Error Click",u="[Amplitude] Element Changed",a="[Amplitude] Thrashed Cursor",d="[Amplitude] Element ID",r="[Amplitude] Element Class",n="[Amplitude] Element Tag",A="[Amplitude] Element Text",s="[Amplitude] Element Hierarchy",g="[Amplitude] Element Href",o="[Amplitude] Element Position Left",E="[Amplitude] Element Position Top",h="[Amplitude] Element Aria Label",c="[Amplitude] Element Attributes",b="[Amplitude] Element Parent Label",C="[Amplitude] Page URL",k="[Amplitude] Page Title",P="[Amplitude] Viewport Height",T="[Amplitude] Viewport Width",w="https://cdn.amplitude.com/libs/visual-tagging-selector-1.0.0-alpha.js.gz",L="amp-visual-tagging-selector-highlight",f="data-amp-mask-attributes",v=25,H=128;export{u as AMPLITUDE_ELEMENT_CHANGED_EVENT,l as AMPLITUDE_ELEMENT_CLICKED_EVENT,i as AMPLITUDE_ELEMENT_DEAD_CLICKED_EVENT,p as AMPLITUDE_ELEMENT_ERROR_CLICKED_EVENT,m as AMPLITUDE_ELEMENT_RAGE_CLICKED_EVENT,h as AMPLITUDE_EVENT_PROP_ELEMENT_ARIA_LABEL,c as AMPLITUDE_EVENT_PROP_ELEMENT_ATTRIBUTES,r as AMPLITUDE_EVENT_PROP_ELEMENT_CLASS,s as AMPLITUDE_EVENT_PROP_ELEMENT_HIERARCHY,g as AMPLITUDE_EVENT_PROP_ELEMENT_HREF,d as AMPLITUDE_EVENT_PROP_ELEMENT_ID,b as AMPLITUDE_EVENT_PROP_ELEMENT_PARENT_LABEL,o as AMPLITUDE_EVENT_PROP_ELEMENT_POSITION_LEFT,E as AMPLITUDE_EVENT_PROP_ELEMENT_POSITION_TOP,n as AMPLITUDE_EVENT_PROP_ELEMENT_TAG,A as AMPLITUDE_EVENT_PROP_ELEMENT_TEXT,k as AMPLITUDE_EVENT_PROP_PAGE_TITLE,C as AMPLITUDE_EVENT_PROP_PAGE_URL,P as AMPLITUDE_EVENT_PROP_VIEWPORT_HEIGHT,T as AMPLITUDE_EVENT_PROP_VIEWPORT_WIDTH,a as AMPLITUDE_THRASHED_CURSOR_EVENT,L as AMPLITUDE_VISUAL_TAGGING_HIGHLIGHT_CLASS,w as AMPLITUDE_VISUAL_TAGGING_SELECTOR_SCRIPT_URL,f as DATA_AMP_MASK_ATTRIBUTES,t as FRUSTRATION_PLUGIN_NAME,H as MAX_ATTRIBUTE_LENGTH,v as MAX_MASK_TEXT_PATTERNS,e as PLUGIN_NAME};
@@ -1 +0,0 @@
1
- import{__spreadArray as t,__read as e,__values as r}from"../../../../../../@rollup_plugin-typescript@12.3.0_rollup@4.57.1_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js";import{DATA_AMP_MASK_ATTRIBUTES as n,AMPLITUDE_EVENT_PROP_ELEMENT_HIERARCHY as i,AMPLITUDE_EVENT_PROP_ELEMENT_TAG as a,AMPLITUDE_EVENT_PROP_ELEMENT_TEXT as o,AMPLITUDE_EVENT_PROP_ELEMENT_POSITION_LEFT as l,AMPLITUDE_EVENT_PROP_ELEMENT_POSITION_TOP as s,AMPLITUDE_EVENT_PROP_ELEMENT_ATTRIBUTES as c,AMPLITUDE_EVENT_PROP_ELEMENT_PARENT_LABEL as u,AMPLITUDE_EVENT_PROP_PAGE_URL as d,AMPLITUDE_EVENT_PROP_PAGE_TITLE as p,AMPLITUDE_EVENT_PROP_VIEWPORT_HEIGHT as v,AMPLITUDE_EVENT_PROP_VIEWPORT_WIDTH as f,AMPLITUDE_EVENT_PROP_ELEMENT_ID as g,AMPLITUDE_EVENT_PROP_ELEMENT_CLASS as h,AMPLITUDE_EVENT_PROP_ELEMENT_ARIA_LABEL as m,MAX_ATTRIBUTE_LENGTH as y,AMPLITUDE_EVENT_PROP_ELEMENT_HREF as T,MAX_MASK_TEXT_PATTERNS as x}from"./constants.js";import{parseAttributesToMask as b,extractPrefixedAttributes as E,removeEmptyProperties as w,isElementBasedEvent as S,isElementPointerCursor as A,getClosestElement as k}from"./helpers.js";import{getAncestors as M,getElementProperties as _}from"./hierarchy.js";import{getDataSource as P}from"./pageActions/actions.js";import{replaceSensitiveString as N,getPageTitle as j,TEXT_MASK_ATTRIBUTE as C,MASKED_TEXT_VALUE as D}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/plugins/helpers.js";import{getDecodeURI as L}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/utils/url-utils.js";var H=function(H,R){var W,q,B,O=this;this.replaceSensitiveString=function(t){return N(t,O.additionalMaskTextPatterns)},this.getHierarchy=function(i){var a,o,l,s,c,u=performance.now();if(!i)return[];for(var d=M(i),p=new Map,v=d.length-1;v>=0;v--){var f=d[v];if(f){var g=b(f.getAttribute(n)),h=v===d.length-1?[]:null!==(l=p.get(d[v+1]))&&void 0!==l?l:new Set,m=new Set(t(t([],e(h),!1),e(g),!1));p.set(f,m)}}c=d.map((function(t){var e;return _(t,null!==(e=p.get(t))&&void 0!==e?e:new Set)}));var y=function(t){(null==t?void 0:t.attrs)&&Object.entries(t.attrs).forEach((function(r){var n=e(r,2),i=n[0],a=n[1];t.attrs&&(t.attrs[i]=O.replaceSensitiveString(a))}))};try{for(var T=r(c),x=T.next();!x.done;x=T.next())y(x.value)}catch(t){a={error:t}}finally{try{x&&!x.done&&(o=T.return)&&o.call(T)}finally{if(a)throw a.error}}var E=performance.now();return null===(s=O.diagnosticsClient)||void 0===s||s.recordHistogram("autocapturePlugin.getHierarchy",E-u),c},this.getNearestLabel=function(t){var e,r=t.parentElement;if(!r)return"";try{e=r.querySelector(":scope>span,h1,h2,h3,h4,h5,h6")}catch(t){e=null}return e?O.getText(e):O.getNearestLabel(r)},this.getEventProperties=function(t,e,r){var n,x,b,S,A=null===(b=null===(x=null==e?void 0:e.tagName)||void 0===x?void 0:x.toLowerCase)||void 0===b?void 0:b.call(x),k="function"==typeof e.getBoundingClientRect?e.getBoundingClientRect():{left:null,top:null},M=O.getHierarchy(e),_=null===(S=M[0])||void 0===S?void 0:S.attrs,P=O.getNearestLabel(e),N=E(null!=_?_:{},r),C=((n={})[i]=M,n[a]=A,n[o]=O.getText(e),n[l]=null==k.left?null:Math.round(k.left),n[s]=null==k.top?null:Math.round(k.top),n[c]=N,n[u]=P,n[d]=L(window.location.href.split("?")[0]),n[p]=j(O.replaceSensitiveString),n[v]=window.innerHeight,n[f]=window.innerWidth,n);if(C[g]=e.getAttribute("id")||"",C[h]=e.getAttribute("class"),C[m]=null==_?void 0:_["aria-label"],"a"===A&&"click"===t&&e instanceof HTMLAnchorElement){var D=e.href.substring(0,y);C[T]=O.replaceSensitiveString(D)}return w(C)},this.addTypeAndTimestamp=function(t,e){return{event:t,timestamp:Date.now(),type:e}},this.addAdditionalEventProperties=function(t,e,r,n,i){void 0===i&&(i=!1);var a=O.addTypeAndTimestamp(t,e);if(S(a)&&null!==a.event.target){if(i&&A(a.event.target,a.type))return a.closestTrackedAncestor=a.event.target,a.targetElementProperties=O.getEventProperties(a.type,a.closestTrackedAncestor,n),a;var o=k(a.event.target,r);return o&&(a.closestTrackedAncestor=o,a.targetElementProperties=O.getEventProperties(a.type,o,n)),a}return a},this.extractDataFromDataSource=function(t,e){if("DOM_ELEMENT"===t.sourceType){var r=P(t,e);if(!r)return;return"TEXT"===t.elementExtractType?O.getText(r):"ATTRIBUTE"===t.elementExtractType&&t.attribute?r.getAttribute(t.attribute):void 0}},this.getTextWithMaskedDescendants=function(t){var e,n,i="[".concat(C,"], [contenteditable]");if(!t.querySelector(i))return t.innerText;var a="",o=Array.from(t.childNodes);try{for(var l=r(o),s=l.next();!s.done;s=l.next()){var c=s.value;c.nodeType!==Node.TEXT_NODE?c instanceof Element&&(c.hasAttribute(C)||c.hasAttribute("contenteditable")?a+=D:a+=O.getTextWithMaskedDescendants(c)):a+=c.textContent||""}}catch(t){e={error:t}}finally{try{s&&!s.done&&(n=l.return)&&n.call(l)}finally{if(e)throw e.error}}return a},this.getText=function(t){if(null!==t.closest("[".concat(C,"]")))return D;var e="";return e=t.querySelector("[".concat(C,"], [contenteditable]"))?O.getTextWithMaskedDescendants(t):t.innerText||"",O.replaceSensitiveString(e.substring(0,255)).replace(/\s+/g," ").trim()},this.getEventTagProps=function(t){var e,r,n;if(!t)return{};var i=null===(n=null===(r=null==t?void 0:t.tagName)||void 0===r?void 0:r.toLowerCase)||void 0===n?void 0:n.call(r),l=((e={})[a]=i,e[o]=O.getText(t),e[d]=window.location.href.split("?")[0],e);return w(l)},this.diagnosticsClient=null==R?void 0:R.diagnosticsClient;var X=null!==(B=H.maskTextRegex)&&void 0!==B?B:[],F=[];try{for(var I=r(X),U=I.next();!U.done;U=I.next()){var z=U.value;if(F.length>=x)break;if(z instanceof RegExp)F.push(z);else if("pattern"in z&&"string"==typeof z.pattern)try{F.push(new RegExp(z.pattern,"i"))}catch(t){}}}catch(t){W={error:t}}finally{try{U&&!U.done&&(q=I.return)&&q.call(I)}finally{if(W)throw W.error}}this.additionalMaskTextPatterns=F};export{H as DataExtractor};
@@ -1 +0,0 @@
1
- import{__spreadArray as e,__read as r,__awaiter as t,__generator as o,__values as n,__assign as i}from"../../../../../../@rollup_plugin-typescript@12.3.0_rollup@4.57.1_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js";import{FRUSTRATION_PLUGIN_NAME as a}from"./constants.js";import{createShouldTrackEvent as s}from"./helpers.js";import{trackDeadClick as l}from"./autocapture/track-dead-click.js";import{trackRageClicks as c}from"./autocapture/track-rage-click.js";import{ObservablesEnum as u}from"./autocapture-plugin.js";import{createClickObservable as d,createErrorObservable as m,createMutationObservable as v,createMouseMoveObservable as p}from"./observables.js";import{DataExtractor as f}from"./data-extractor.js";import{trackErrorClicks as h}from"./autocapture/track-error-click.js";import{trackThrashedCursor as b}from"./autocapture/track-thrashed-cursor.js";import{DEFAULT_DATA_ATTRIBUTE_PREFIX as g}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/types/element-interactions.js";import{DEFAULT_RAGE_CLICK_ALLOWLIST as w,DEFAULT_DEAD_CLICK_ALLOWLIST as C,DEFAULT_ERROR_CLICK_ALLOWLIST as k}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/types/frustration-interactions.js";import{multicast as y}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/utils/observable.js";import{Observable as j}from"../../../../../../zen-observable-ts@1.1.0/node_modules/zen-observable-ts/module.js";function E(e,r,t,o){if(!o)return[];var n=e[r];return"object"==typeof n&&null!==n&&"cssSelectorAllowlist"in n&&Array.isArray(n.cssSelectorAllowlist)?n.cssSelectorAllowlist:t}var A=4e3,_=function(_){var x;void 0===_&&(_={});var O=a,P=[],T=!1!==_.errorClicks;_.errorClicks||(T=!1);var S=!1!==_.deadClicks&&null!==_.deadClicks,L=!1!==_.rageClicks&&null!==_.rageClicks,M=!1!==_.thrashedCursor&&null!==_.thrashedCursor;_.thrashedCursor||(M=!1);var N=E(_,"rageClicks",w,L),z=E(_,"deadClicks",C,S),R=E(_,"errorClicks",k,T),B=null!==(x=_.dataAttributePrefix)&&void 0!==x?x:g,D=new f(_),I=e([],r(new Set(e(e(e([],r(N),!1),r(z),!1),r(R),!1))),!1);return{name:O,type:"enrichment",setup:function(e,r){return t(void 0,void 0,void 0,(function(){var t,n,a,f,g,w,C,k,E,x,U;return o(this,(function(o){return"undefined"==typeof document||(t=function(){var e,r,t=y(d("pointerdown").map((function(e){return D.addAdditionalEventProperties(e,"click",I,B,!0)}))),o=y(m().map((function(e){return D.addTypeAndTimestamp(e,"error")}))),n=y(v().map((function(e){return D.addAdditionalEventProperties(e,"mutation",I,B)})));if(window.navigation){var a=new j((function(e){var r=function(r){e.next(i(i({},r),{type:"navigate"}))};return window.navigation.addEventListener("navigate",r),function(){window.navigation.removeEventListener("navigate",r)}}));r=y(a.map((function(e){return D.addAdditionalEventProperties(e,"navigate",I,B)})))}var s=y(new j((function(e){var r=function(){var r=document.activeElement;if(r&&("TEXTAREA"===r.tagName||"INPUT"===r.tagName)){try{if(r.selectionStart===r.selectionEnd)return}catch(e){return}return e.next()}var t=window.getSelection();if(t&&!t.isCollapsed)return e.next()};return window.document.addEventListener("selectionchange",r),function(){window.document.removeEventListener("selectionchange",r)}}))),l=y(p());return(e={})[u.ClickObservable]=t,e[u.MutationObservable]=n,e[u.NavigateObservable]=r,e[u.BrowserErrorObservable]=o,e[u.SelectionObservable]=s,e[u.MouseMoveObservable]=l,e}(),L&&(n=s(_,N),a=c({allObservables:t,amplitude:r,shouldTrackRageClick:n}),P.push(a)),S&&(f=s(_,z),g=l({amplitude:r,allObservables:t,getEventProperties:function(e,r){return D.getEventProperties(e,r,B)},shouldTrackDeadClick:f}),P.push(g)),T&&(w=s(_,R),C=h({amplitude:r,allObservables:t,shouldTrackErrorClick:w}),P.push(C)),M&&(k=void 0,E=void 0,"object"==typeof _.thrashedCursor&&(k=_.thrashedCursor.directionChanges,E=_.thrashedCursor.threshold,k&&k<5&&(e.loggerProvider.warn("'thrashedCursor.directionChanges' of ".concat(k," is below the minimum of ").concat(5,", setting to ").concat(5)),k=5),E&&E>A&&(e.loggerProvider.warn("'thrashedCursor.threshold' of ".concat(E," is above the maximum of ").concat(A,", setting to ").concat(A)),E=A)),x=b({amplitude:r,options:_,allObservables:t,directionChanges:k,thresholdMs:E}),P.push(x)),null===(U=null==e?void 0:e.loggerProvider)||void 0===U||U.log("".concat(O," has been successfully added."))),[2]}))}))},execute:function(e){return t(void 0,void 0,void 0,(function(){return o(this,(function(r){return[2,e]}))}))},teardown:function(){return t(void 0,void 0,void 0,(function(){var e,r,t,i;return o(this,(function(o){try{for(e=n(P),r=e.next();!r.done;r=e.next())r.value.unsubscribe()}catch(e){t={error:e}}finally{try{r&&!r.done&&(i=e.return)&&i.call(e)}finally{if(t)throw t.error}}return[2]}))}))}}};export{_ as frustrationPlugin};
@@ -1 +0,0 @@
1
- import{__read as t}from"../../../../../../@rollup_plugin-typescript@12.3.0_rollup@4.57.1_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js";import{isUrlMatchAllowlist as e}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/utils/url-utils.js";var n,r=["input","select","textarea"],i=function(t,e){var n,r=null===(n=null===window||void 0===window?void 0:window.getComputedStyle)||void 0===n?void 0:n.call(window,t);return"pointer"===(null==r?void 0:r.getPropertyValue("cursor"))&&"click"===e},l=function(t){var n=t.pageUrlAllowlist,r=t.pageUrlExcludelist;return!(r&&r.length>0&&e(window.location.href,r))&&!!e(window.location.href,n)},o=function(t,e,n){return void 0===n&&(n=!1),function(r,o){var u,c,a=t.shouldTrackEventResolver,s=null===(c=null===(u=null==o?void 0:o.tagName)||void 0===u?void 0:u.toLowerCase)||void 0===c?void 0:c.call(u);if(!s)return!1;if(a)return a(r,o);if(!l(t))return!1;var d=String(null==o?void 0:o.getAttribute("type"))||"";if("string"==typeof d)switch(d.toLowerCase()){case"hidden":case"password":return!1}var v=i(o,r);if(n&&v)return!0;if(e){var f=e.some((function(t){var e;return!!(null===(e=null==o?void 0:o.matches)||void 0===e?void 0:e.call(o,t))}));if(!f)return!1}switch(s){case"input":case"select":case"textarea":return"change"===r||"click"===r;default:return!!v||"click"===r}}},u=function(t){var e,n,i,l=null===(n=null===(e=null==t?void 0:t.tagName)||void 0===e?void 0:e.toLowerCase)||void 0===n?void 0:n.call(e),o=t instanceof HTMLElement&&"true"===(null===(i=t.getAttribute("contenteditable"))||void 0===i?void 0:i.toLowerCase());return!r.includes(l)&&!o},c=function(t){return t?t.split(",").map((function(t){return t.trim()})).filter((function(t){return t.length>0&&"id"!==t&&"class"!==t})):[]},a=function(e,n){return Object.entries(e).reduce((function(e,r){var i=t(r,2),l=i[0],o=i[1];if(l.startsWith(n)){var u=l.replace(n,"");u&&(e[u]=o||"")}return e}),{})},s=function(t){return null==t||"object"==typeof t&&0===Object.keys(t).length||"string"==typeof t&&0===t.trim().length},d=function(t){return Object.keys(t).reduce((function(e,n){var r=t[n];return s(r)||(e[n]=r),e}),{})},v=function(t,e){return t?e.some((function(e){var n;return null===(n=null==t?void 0:t.matches)||void 0===n?void 0:n.call(t,e)}))?t:v(null==t?void 0:t.parentElement,e):null},f=function(t){return!(null===t.event.target||!t.closestTrackedAncestor)};function p(t){return"click"===t.type||"change"===t.type}!function(t){t[t.LEFT_OR_TOUCH_CONTACT=0]="LEFT_OR_TOUCH_CONTACT",t[t.MIDDLE=1]="MIDDLE",t[t.RIGHT=2]="RIGHT"}(n||(n={}));export{n as MouseButton,o as createShouldTrackEvent,a as extractPrefixedAttributes,f as filterOutNonTrackableEvents,v as getClosestElement,p as isElementBasedEvent,i as isElementPointerCursor,s as isEmpty,u as isNonSensitiveElement,l as isUrlAllowed,c as parseAttributesToMask,d as removeEmptyProperties};
@@ -1 +0,0 @@
1
- import{__assign as e}from"../../../../../../@rollup_plugin-typescript@12.3.0_rollup@4.57.1_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js";import{Observable as n}from"../../../../../../zen-observable-ts@1.1.0/node_modules/zen-observable-ts/module.js";import{merge as r}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/utils/observable.js";import{getGlobalScope as t}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/global-scope.js";import{consoleObserver as o}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/observers/console.js";var i=t(),s=function(){return new n((function(e){var n=new MutationObserver((function(n){e.next(n)}));return document.body&&n.observe(document.body,{childList:!0,attributes:!0,characterData:!0,subtree:!0}),function(){return n.disconnect()}}))},a=function(e){return void 0===e&&(e="click"),new n((function(n){var r=function(e){n.next(e)};return i.document.addEventListener(e,r,{capture:!0}),function(){i.document.removeEventListener(e,r,{capture:!0})}}))},c=function(){var t=r(new n((function(n){var r=function(r){if(r instanceof ErrorEvent){var t={kind:"error"};r.error instanceof Error||r.error instanceof DOMException?t=e(e({},t),{message:r.error.message,stack:r.error.stack,filename:r.filename,lineNumber:r.lineno,columnNumber:r.colno}):"string"==typeof r.error&&(t.message=r.error),n.next(t)}};return i.addEventListener("error",r),function(){i.removeEventListener("error",r)}})),new n((function(e){var n=function(n){var r={kind:"unhandledrejection"};n.reason instanceof Error||n.reason instanceof DOMException?(r.message=n.reason.message,r.stack=n.reason.stack):"string"==typeof n.reason&&(r.message=n.reason),e.next(r)};return i.addEventListener("unhandledrejection",n),function(){i.removeEventListener("unhandledrejection",n)}})));return r(t,new n((function(e){var n=function(n){for(var r=[],t=1;t<arguments.length;t++)r[t-1]=arguments[t];var o=void 0;Array.isArray(r[0])&&"string"==typeof r[0][0]&&(o=r[0][0]),e.next({kind:"console",message:o})};return o.addListener("error",n),function(){o.removeListener(n)}})))},u=function(){return new n((function(e){var n=function(n){e.next(n)},r={capture:!0};return i.document.addEventListener("mousemove",n,r),function(){i.document.removeEventListener("mousemove",n,r)}}))};export{a as createClickObservable,c as createErrorObservable,u as createMouseMoveObservable,s as createMutationObservable};
@@ -1 +0,0 @@
1
- import{__awaiter as e,__generator as n}from"../../../../../../@rollup_plugin-typescript@12.3.0_rollup@4.57.1_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js";import{PLUGIN_NAME as r}from"./constants.js";import{trackNetworkEvents as t}from"./track-network-event.js";import{Observable as o}from"../../../../../../zen-observable-ts@1.1.0/node_modules/zen-observable-ts/module.js";import{NetworkEventCallback as i,networkObserver as u}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/observers/network.js";var s,c;!function(e){e.NetworkObservable="networkObservable"}(s||(s={}));var l=function(l){void 0===l&&(l={});var a,d=r,v=function(){var e,n=new o((function(e){var n=new i((function(n){var r=function(e,n){return{event:e,timestamp:Date.now(),type:n}}(n,"network");e.next(r)}));return u.subscribe(n,a),function(){u.unsubscribe(n)}}));return(e={})[s.NetworkObservable]=n,e};return{name:d,type:"enrichment",setup:function(r,o){return e(void 0,void 0,void 0,(function(){var e;return n(this,(function(n){return"undefined"==typeof document||(e=v(),a=null==r?void 0:r.loggerProvider,c=t({allObservables:e,networkTrackingOptions:l,amplitude:o,loggerProvider:a}),null==a||a.log("".concat(d," has been successfully added."))),[2]}))}))},execute:function(r){return e(void 0,void 0,void 0,(function(){return n(this,(function(e){return[2,r]}))}))},teardown:function(){return e(void 0,void 0,void 0,(function(){return n(this,(function(e){return c.unsubscribe(),[2]}))}))}}};export{s as ObservablesEnum,l as networkCapturePlugin};
@@ -1 +0,0 @@
1
- import{__awaiter as e,__generator as t,__assign as n,__read as i}from"../../../../../../@rollup_plugin-typescript@12.3.0_rollup@4.57.1_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js";import{getPageTitle as r,replaceSensitiveString as o}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/plugins/helpers.js";import{getDecodeURI as a}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/utils/url-utils.js";import{BrowserStorage as l}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/storage/browser-storage.js";import{getGlobalScope as s}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/global-scope.js";import{SpecialEventType as u}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/types/event/event.js";var c,p="AMP_CURRENT_PAGE",d="AMP_PREVIOUS_PAGE",m="AMP_URL_INFO";!function(e){e.Direct="direct",e.Internal="internal",e.External="external"}(c||(c={}));var v=new Set([u.IDENTIFY,u.GROUP_IDENTIFY,u.REVENUE]),f=function(u){var f={}.internalDomains,g=void 0===f?[]:f,_=s(),h=void 0,P=!1,b=void 0,A=!1,E=!1,w=function(e){var t="undefined"!=typeof location&&location.hostname||"",n=e?function(e){var t;try{var n=a(e,b);t=new URL(n).hostname}catch(e){null==b||b.error("Could not parse URL: ",e)}return t}(e):void 0;if(!n)return c.Direct;var i=g.some((function(e){return-1!==t.indexOf(e)})),r=g.some((function(e){return-1!==n.indexOf(e)}));return t===n||r&&i?c.Internal:c.External},L=function(){e(void 0,void 0,void 0,(function(){var e,n,i,r,o;return t(this,(function(t){switch(t.label){case 0:return h&&P?[4,h.get(m)]:[3,3];case 1:return e=t.sent(),n=a("undefined"!=typeof location&&location.href||""),i=(null==e?void 0:e[p])||"",r=void 0,r=n===i?(null==e?void 0:e[d])||"":i||document.referrer||"",[4,h.set(m,(o={},o[p]=n,o[d]=r,o))];case 2:t.sent(),t.label=3;case 3:return[2]}}))}))},R={name:"@amplitude/plugin-page-url-enrichment-browser",type:"enrichment",setup:function(n,r){return e(void 0,void 0,void 0,(function(){return t(this,(function(e){switch(e.label){case 0:return(b=n.loggerProvider).log("Installing @amplitude/plugin-page-url-enrichment-browser"),E=!0,_?[4,(h=new l(_.sessionStorage)).isEnabled()]:[3,2];case 1:P=e.sent(),_.addEventListener("popstate",L),A||(_.history.pushState=new Proxy(_.history.pushState,{apply:function(e,t,n){var r=i(n,3),o=r[0],a=r[1],l=r[2];e.apply(t,[o,a,l]),E&&L()}}),_.history.replaceState=new Proxy(_.history.replaceState,{apply:function(e,t,n){var r=i(n,3),o=r[0],a=r[1],l=r[2];e.apply(t,[o,a,l]),E&&L()}}),A=!0),e.label=2;case 2:return[2]}}))}))},execute:function(i){return e(void 0,void 0,void 0,(function(){var e,l,s,u,c;return t(this,(function(t){switch(t.label){case 0:return e=a("undefined"!=typeof location&&location.href||""),h&&P?[4,h.get(m)]:[3,5];case 1:return(null==(l=t.sent())?void 0:l[p])?[3,3]:[4,h.set(m,(c={},c[p]=e,c[d]=document.referrer||"",c))];case 2:t.sent(),t.label=3;case 3:return[4,h.get(m)];case 4:if(s=t.sent(),u="",s&&(u=s[d]||""),v.has(i.event_type))return[2,i];i.event_properties=n(n({},i.event_properties||{}),{"[Amplitude] Page Domain":y(i,"[Amplitude] Page Domain","undefined"!=typeof location&&location.hostname||""),"[Amplitude] Page Location":y(i,"[Amplitude] Page Location",e),"[Amplitude] Page Path":y(i,"[Amplitude] Page Path","undefined"!=typeof location&&a(location.pathname)||""),"[Amplitude] Page Title":y(i,"[Amplitude] Page Title",r(o)),"[Amplitude] Page URL":y(i,"[Amplitude] Page URL",e.split("?")[0]),"[Amplitude] Previous Page Location":u,"[Amplitude] Previous Page Type":w(u)}),t.label=5;case 5:return[2,i]}}))}))},teardown:function(){return e(void 0,void 0,void 0,(function(){return t(this,(function(e){switch(e.label){case 0:return _&&(_.removeEventListener("popstate",L),E=!1),h&&P?[4,h.set(m,{})]:[3,2];case 1:e.sent(),e.label=2;case 2:return[2]}}))}))}};return R};function y(e,t,n){return e.event_properties||(e.event_properties={}),void 0===e.event_properties[t]?n:e.event_properties[t]}export{p as CURRENT_PAGE_STORAGE_KEY,v as EXCLUDED_DEFAULT_EVENT_TYPES,d as PREVIOUS_PAGE_STORAGE_KEY,m as URL_INFO_STORAGE_KEY,f as pageUrlEnrichmentPlugin};
@@ -1 +0,0 @@
1
- import{__awaiter as e,__generator as t,__assign as n,__read as i,__spreadArray as r}from"../../../../../../@rollup_plugin-typescript@12.3.0_rollup@4.57.1_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js";import{omitUndefined as o}from"./utils.js";import{getGlobalScope as a}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/global-scope.js";import{IdentifyOperation as u}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/types/event/event.js";import{BASE_CAMPAIGN as l}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/types/constants.js";import{getPageTitle as p,replaceSensitiveString as s}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/plugins/helpers.js";import{CampaignParser as c}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/campaign/campaign-parser.js";var d="[Amplitude] Page Viewed",v=function(r){var o;void 0===r&&(r={});var u,l=a(),c=void 0,v=!1,g=r.trackOn,h=r.trackHistoryChanges,_=r.eventType,b=void 0===_?d:_,w=function(e){var t=e;try{t=decodeURI(e)}catch(e){null==c||c.error("Malformed URI sequence: ",e)}return t},k=function(){return e(void 0,void 0,void 0,(function(){var e,i,r;return t(this,(function(t){switch(t.label){case 0:return e=w("undefined"!=typeof location&&location.href||""),r={event_type:b},i=[{}],[4,m()];case 1:return[2,(r.event_properties=n.apply(void 0,[n.apply(void 0,i.concat([t.sent()])),{"[Amplitude] Page Domain":"undefined"!=typeof location&&location.hostname||"","[Amplitude] Page Location":e,"[Amplitude] Page Path":"undefined"!=typeof location&&w(location.pathname)||"","[Amplitude] Page Title":p(s),"[Amplitude] Page URL":e.split("?")[0]}]),r)]}}))}))},j=function(){return void 0===g||"function"==typeof g&&g()},P="undefined"!=typeof location?location.href:null,A=function(){return e(void 0,void 0,void 0,(function(){var e,n,i,r;return t(this,(function(t){switch(t.label){case 0:return e=location.href,n=y(h,e,P||"")&&j(),P=e,n?(null==c||c.log("Tracking page view event"),null!=o?[3,1]:[3,3]):[3,4];case 1:return r=(i=o).track,[4,k()];case 2:r.apply(i,[t.sent()]),t.label=3;case 3:t.label=4;case 4:return[2]}}))}))},C=function(){A()},L={name:"@amplitude/plugin-page-view-tracking-browser",type:"enrichment",setup:function(n,r){return e(void 0,void 0,void 0,(function(){var e,a;return t(this,(function(t){switch(t.label){case 0:return o=r,u=n,(c=n.loggerProvider).log("Installing @amplitude/plugin-page-view-tracking-browser"),v=!0,l&&(l.addEventListener("popstate",C),l.history.pushState=new Proxy(l.history.pushState,{apply:function(e,t,n){var r=i(n,3),o=r[0],a=r[1],u=r[2];e.apply(t,[o,a,u]),v&&A()}})),j()?(c.log("Tracking page view event"),a=(e=o).track,[4,k()]):[3,2];case 1:a.apply(e,[t.sent()]),t.label=2;case 2:return[2]}}))}))},execute:function(i){return e(void 0,void 0,void 0,(function(){var e;return t(this,(function(t){switch(t.label){case 0:return"attribution"===g&&f(i)?(null==c||c.log("Enriching campaign event to page view event with campaign parameters"),[4,k()]):[3,2];case 1:e=t.sent(),i.event_type=e.event_type,i.event_properties=n(n({},i.event_properties),e.event_properties),t.label=2;case 2:return u&&i.event_type===b&&(u.pageCounter=u.pageCounter?u.pageCounter+1:1,i.event_properties=n(n({},i.event_properties),{"[Amplitude] Page Counter":u.pageCounter})),[2,i]}}))}))},teardown:function(){return e(void 0,void 0,void 0,(function(){return t(this,(function(e){return l&&(l.removeEventListener("popstate",C),v=!1),[2]}))}))}};return L},m=function(){return e(void 0,void 0,void 0,(function(){var e;return t(this,(function(t){switch(t.label){case 0:return e=o,[4,(new c).parse()];case 1:return[2,e.apply(void 0,[t.sent()])]}}))}))},f=function(e){if("$identify"===e.event_type&&e.user_properties){var t=e.user_properties,n=t[u.SET]||{},o=t[u.UNSET]||{},a=r(r([],i(Object.keys(n)),!1),i(Object.keys(o)),!1);return Object.keys(l).every((function(e){return a.includes(e)}))}return!1},y=function(e,t,n){if("pathOnly"===e){if(""==n)return!0;var i=new URL(t),r=new URL(n);return i.origin+i.pathname!==r.origin+r.pathname}return t!==n};export{d as defaultPageViewEvent,v as pageViewTrackingPlugin,y as shouldTrackHistoryPageView};
@@ -1 +0,0 @@
1
- import{DEBUG_BUILD as e}from"../debug-build.js";import{WINDOW as r}from"../helpers.js";import{defineIntegration as o}from"../../../../../../../../../@sentry_core@10.39.0/node_modules/@sentry/core/build/esm/integration.js";import{debug as s}from"../../../../../../../../../@sentry_core@10.39.0/node_modules/@sentry/core/build/esm/utils/debug-logger.js";import{startSession as n,captureSession as t}from"../../../../../../../../../@sentry_core@10.39.0/node_modules/@sentry/core/build/esm/exports.js";import{addHistoryInstrumentationHandler as i}from"../../../../../../../../../@sentry-internal_browser-utils@10.39.0/node_modules/@sentry-internal/browser-utils/build/esm/instrument/history.js";const m=o(((o={})=>{const m=o.lifecycle??"route";return{name:"BrowserSession",setupOnce(){void 0!==r.document?(n({ignoreDuration:!0}),t(),"route"===m&&i((({from:e,to:r})=>{void 0!==e&&e!==r&&(n({ignoreDuration:!0}),t())}))):e&&s.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.")}}}));export{m as browserSessionIntegration};
@@ -1 +0,0 @@
1
- import{createStackParser as e,UNKNOWN_FUNCTION as n}from"../../../../../../../../@sentry_core@10.39.0/node_modules/@sentry/core/build/esm/utils/stacktrace.js";function i(e,i,t,o){const s={filename:e,function:"<anonymous>"===i?n:i,in_app:!0};return void 0!==t&&(s.lineno=t),void 0!==o&&(s.colno=o),s}const t=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,o=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,s=/\((\S*)(?::(\d+))(?::(\d+))\)/,a=/at (.+?) ?\(data:(.+?),/,d=[30,e=>{const d=e.match(a);if(d)return{filename:`<data:${d[2]}>`,function:d[1]};const c=t.exec(e);if(c){const[,e,t,o]=c;return i(e,n,+t,+o)}const r=o.exec(e);if(r){if(r[2]&&0===r[2].indexOf("eval")){const e=s.exec(r[2]);e&&(r[2]=e[1],r[3]=e[2],r[4]=e[3])}const[e,t]=x(r[1]||n,r[2]);return i(t,e,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}}],c=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,r=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,f=[50,e=>{const t=c.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const e=r.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],o=t[1]||n;return[o,e]=x(o,e),i(e,o,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],l=[d,f],u=e(...l),x=(e,i)=>{const t=-1!==e.indexOf("safari-extension"),o=-1!==e.indexOf("safari-web-extension");return t||o?[-1!==e.indexOf("@")?e.split("@")[0]:n,t?`safari-extension:${i}`:`safari-web-extension:${i}`]:[e,i]};export{d as chromeStackLineParser,l as defaultStackLineParsers,u as defaultStackParser,f as geckoStackLineParser};
@@ -1 +0,0 @@
1
- import{getEnvelopeEndpointWithUrlEncodedAuth as t}from"./api.js";import{DEFAULT_ENVIRONMENT as e}from"./constants.js";import{getTraceContextFromScope as s,getCurrentScope as n,getIsolationScope as r}from"./currentScopes.js";import{DEBUG_BUILD as o}from"./debug-build.js";import{createEventEnvelope as i,createSessionEnvelope as a}from"./envelope.js";import{setupIntegration as p,afterSetupIntegrations as c,setupIntegrations as u}from"./integration.js";import{_INTERNAL_flushLogsBuffer as l}from"./logs/internal.js";import{_INTERNAL_flushMetricsBuffer as h}from"./metrics/internal.js";import{updateSession as d}from"./session.js";import{getDynamicSamplingContextFromScope as m}from"./tracing/dynamicSamplingContext.js";import{DEFAULT_TRANSPORT_BUFFER_SIZE as f}from"./transports/base.js";import{createClientReportEnvelope as _}from"./utils/clientreport.js";import{debug as g}from"./utils/debug-logger.js";import{makeDsn as v,dsnToString as E}from"./utils/dsn.js";import{addItemToEnvelope as b,createAttachmentEnvelopeItem as S}from"./utils/envelope.js";import{getPossibleEventMessages as y}from"./utils/eventUtils.js";import{isParameterizedString as j,isPrimitive as w,isThenable as P,isPlainObject as D}from"./utils/is.js";import{merge as k}from"./utils/merge.js";import{uuid4 as x,checkOrSetAlreadyCaught as M}from"./utils/misc.js";import{parseSampleRate as O}from"./utils/parseSampleRate.js";import{prepareEvent as $}from"./utils/prepareEvent.js";import{makePromiseBuffer as C,SENTRY_BUFFER_FULL_ERROR as N}from"./utils/promisebuffer.js";import{safeMathRandom as I}from"./utils/randomSafeContext.js";import{shouldIgnoreSpan as L,reparentChildSpans as F}from"./utils/should-ignore-span.js";import{showSpanDropWarning as T}from"./utils/spanUtils.js";import{rejectedSyncPromise as B}from"./utils/syncpromise.js";import{safeUnref as R}from"./utils/timer.js";import{convertTransactionEventToSpanJson as A,convertSpanJsonToTransactionEvent as q}from"./utils/transactionEvent.js";const U="Not capturing exception because it's already been captured.",z="Discarded session because of missing or non-string release",W=Symbol.for("SentryInternalError"),G=Symbol.for("SentryDoNotSendEventError");function H(t){return{message:t,[W]:!0}}function J(t){return{message:t,[G]:!0}}function K(t){return!!t&&"object"==typeof t&&W in t}function Q(t){return!!t&&"object"==typeof t&&G in t}function V(t,e,s,n,r){let o,i=0,a=!1;t.on(s,(()=>{i=0,clearTimeout(o),a=!1})),t.on(e,(e=>{i+=n(e),i>=8e5?r(t):a||(a=!0,o=R(setTimeout((()=>{r(t)}),5e3)))})),t.on("flush",(()=>{r(t)}))}class X{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=C(e.transportOptions?.bufferSize??f),e.dsn?this._dsn=v(e.dsn):o&&g.warn("No DSN provided, client will not send events."),this._dsn){const s=t(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:s})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs,this._options.enableLogs&&V(this,"afterCaptureLog","flushLogs",st,l);(this._options.enableMetrics??this._options._experiments?.enableMetrics??!0)&&V(this,"afterCaptureMetric","flushMetrics",et,h)}captureException(t,e,s){const n=x();if(M(t))return o&&g.log(U),n;const r={event_id:n,...e};return this._process((()=>this.eventFromException(t,r).then((t=>this._captureEvent(t,r,s))).then((t=>t))),"error"),r.event_id}captureMessage(t,e,s,n){const r={event_id:x(),...s},o=j(t)?t:String(t),i=w(t),a=i?this.eventFromMessage(o,e,r):this.eventFromException(t,r);return this._process((()=>a.then((t=>this._captureEvent(t,r,n)))),i?"unknown":"error"),r.event_id}captureEvent(t,e,s){const n=x();if(e?.originalException&&M(e.originalException))return o&&g.log(U),n;const r={event_id:n,...e},i=t.sdkProcessingMetadata||{},a=i.capturedSpanScope,p=i.capturedSpanIsolationScope,c=Y(t.type);return this._process((()=>this._captureEvent(t,r,a||s,p)),c),r.event_id}captureSession(t){this.sendSession(t),d(t,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(t){const e=this._transport;if(!e)return!0;this.emit("flush");const s=await this._isClientDoneProcessing(t),n=await e.flush(t);return s&&n}async close(t){const e=await this.flush(t);return this.getOptions().enabled=!1,this.emit("close"),e}getEventProcessors(){return this._eventProcessors}addEventProcessor(t){this._eventProcessors.push(t)}init(){(this._isEnabled()||this._options.integrations.some((({name:t})=>t.startsWith("Spotlight"))))&&this._setupIntegrations()}getIntegrationByName(t){return this._integrations[t]}addIntegration(t){const e=this._integrations[t.name];p(this,t,this._integrations),e||c(this,[t])}sendEvent(t,e={}){this.emit("beforeSendEvent",t,e);let s=i(t,this._dsn,this._options._metadata,this._options.tunnel);for(const t of e.attachments||[])s=b(s,S(t));this.sendEnvelope(s).then((e=>this.emit("afterSendEvent",t,e)))}sendSession(t){const{release:s,environment:n=e}=this._options;if("aggregates"in t){const e=t.attrs||{};if(!e.release&&!s)return void(o&&g.warn(z));e.release=e.release||s,e.environment=e.environment||n,t.attrs=e}else{if(!t.release&&!s)return void(o&&g.warn(z));t.release=t.release||s,t.environment=t.environment||n}this.emit("beforeSendSession",t);const r=a(t,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(r)}recordDroppedEvent(t,e,s=1){if(this._options.sendClientReports){const n=`${t}:${e}`;o&&g.log(`Recording outcome: "${n}"${s>1?` (${s} times)`:""}`),this._outcomes[n]=(this._outcomes[n]||0)+s}}on(t,e){const s=this._hooks[t]=this._hooks[t]||new Set,n=(...t)=>e(...t);return s.add(n),()=>{s.delete(n)}}emit(t,...e){const s=this._hooks[t];s&&s.forEach((t=>t(...e)))}async sendEnvelope(t){if(this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport)try{return await this._transport.send(t)}catch(t){return o&&g.error("Error while sending envelope:",t),{}}return o&&g.error("Transport disabled"),{}}_setupIntegrations(){const{integrations:t}=this._options;this._integrations=u(this,t),c(this,t)}_updateSessionFromEvent(t,e){let s="fatal"===e.level,n=!1;const r=e.exception?.values;if(r){n=!0,s=!1;for(const t of r)if(!1===t.mechanism?.handled){s=!0;break}}const o="ok"===t.status;(o&&0===t.errors||o&&s)&&(d(t,{...s&&{status:"crashed"},errors:t.errors||Number(n||s)}),this.captureSession(t))}async _isClientDoneProcessing(t){let e=0;for(;!t||e<t;){if(await new Promise((t=>setTimeout(t,1))),!this._numProcessing)return!0;e++}return!1}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(t,e,n,r){const o=this.getOptions(),i=Object.keys(this._integrations);return!e.integrations&&i?.length&&(e.integrations=i),this.emit("preprocessEvent",t,e),t.type||r.setLastEventId(t.event_id||e.event_id),$(o,t,e,n,this,r).then((t=>{if(null===t)return t;this.emit("postprocessEvent",t,e),t.contexts={trace:s(n),...t.contexts};const r=m(this,n);return t.sdkProcessingMetadata={dynamicSamplingContext:r,...t.sdkProcessingMetadata},t}))}_captureEvent(t,e={},s=n(),i=r()){return o&&Z(t)&&g.log(`Captured error event \`${y(t)[0]||"<unknown>"}\``),this._processEvent(t,e,s,i).then((t=>t.event_id),(t=>{o&&(Q(t)?g.log(t.message):K(t)?g.warn(t.message):g.warn(t))}))}_processEvent(t,e,s,n){const r=this.getOptions(),{sampleRate:o}=r,i=tt(t),a=Z(t),p=`before send for type \`${t.type||"error"}\``,c=void 0===o?void 0:O(o);if(a&&"number"==typeof c&&I()>c)return this.recordDroppedEvent("sample_rate","error"),B(J(`Discarding event because it's not included in the random sample (sampling rate = ${o})`));const u=Y(t.type);return this._prepareEvent(t,e,s,n).then((t=>{if(null===t)throw this.recordDroppedEvent("event_processor",u),J("An event processor returned `null`, will not send event.");if(e.data&&!0===e.data.__sentry__)return t;const s=function(t,e,s,n){const{beforeSend:r,beforeSendTransaction:o,beforeSendSpan:i,ignoreSpans:a}=e;let p=s;if(Z(p)&&r)return r(p,n);if(tt(p)){if(i||a){const e=A(p);if(a?.length&&L(e,a))return null;if(i){const t=i(e);t?p=k(s,q(t)):T()}if(p.spans){const e=[],s=p.spans;for(const t of s)if(a?.length&&L(t,a))F(s,t);else if(i){const s=i(t);s?e.push(s):(T(),e.push(t))}else e.push(t);const n=p.spans.length-e.length;n&&t.recordDroppedEvent("before_send","span",n),p.spans=e}}if(o){if(p.spans){const t=p.spans.length;p.sdkProcessingMetadata={...s.sdkProcessingMetadata,spanCountBeforeProcessing:t}}return o(p,n)}}return p}(this,r,t,e);return function(t,e){const s=`${e} must return \`null\` or a valid event.`;if(P(t))return t.then((t=>{if(!D(t)&&null!==t)throw H(s);return t}),(t=>{throw H(`${e} rejected with ${t}`)}));if(!D(t)&&null!==t)throw H(s);return t}(s,p)})).then((r=>{if(null===r){if(this.recordDroppedEvent("before_send",u),i){const e=1+(t.spans||[]).length;this.recordDroppedEvent("before_send","span",e)}throw J(`${p} returned \`null\`, will not send event.`)}const o=s.getSession()||n.getSession();if(a&&o&&this._updateSessionFromEvent(o,r),i){const t=(r.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(r.spans?r.spans.length:0);t>0&&this.recordDroppedEvent("before_send","span",t)}const c=r.transaction_info;if(i&&c&&r.transaction!==t.transaction){const t="custom";r.transaction_info={...c,source:t}}return this.sendEvent(r,e),r})).then(null,(t=>{if(Q(t)||K(t))throw t;throw this.captureException(t,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:t}),H(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${t}`)}))}_process(t,e){this._numProcessing++,this._promiseBuffer.add(t).then((t=>(this._numProcessing--,t)),(t=>(this._numProcessing--,t===N&&this.recordDroppedEvent("queue_overflow",e),t)))}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.entries(t).map((([t,e])=>{const[s,n]=t.split(":");return{reason:s,category:n,quantity:e}}))}_flushOutcomes(){o&&g.log("Flushing outcomes...");const t=this._clearOutcomes();if(0===t.length)return void(o&&g.log("No outcomes to send"));if(!this._dsn)return void(o&&g.log("No dsn provided, will not send outcomes"));o&&g.log("Sending outcomes:",t);const e=_(t,this._options.tunnel&&E(this._dsn));this.sendEnvelope(e)}}function Y(t){return"replay_event"===t?"replay":t||"error"}function Z(t){return void 0===t.type}function tt(t){return"transaction"===t.type}function et(t){let e=0;return t.name&&(e+=2*t.name.length),e+=8,e+nt(t.attributes)}function st(t){let e=0;return t.message&&(e+=2*t.message.length),e+nt(t.attributes)}function nt(t){if(!t)return 0;let e=0;return Object.values(t).forEach((t=>{Array.isArray(t)?e+=t.length*rt(t[0]):w(t)?e+=rt(t):e+=100})),e}function rt(t){return"string"==typeof t?2*t.length:"number"==typeof t?8:"boolean"==typeof t?4:0}export{X as Client};
@@ -1 +0,0 @@
1
- import{getCurrentScope as t,getIsolationScope as e,getClient as s}from"./currentScopes.js";import{makeSession as n,updateSession as o,closeSession as r}from"./session.js";import{parseEventHintOrCaptureContext as i}from"./utils/prepareEvent.js";import{GLOBAL_OBJ as u}from"./utils/worldwide.js";function c(e,s){return t().captureException(e,i())}function p(e,s){const n="string"==typeof s?s:void 0,o="string"!=typeof s?{captureContext:s}:void 0;return t().captureMessage(e,n,o)}function f(e,s){return t().captureEvent(e,s)}function g(s){const r=e(),i=t(),{userAgent:c}=u.navigator||{},p=n({user:i.getUser()||r.getUser(),...c&&{userAgent:c},...s}),f=r.getSession();return"ok"===f?.status&&o(f,{status:"exited"}),a(),r.setSession(p),p}function a(){const s=e(),n=t().getSession()||s.getSession();n&&r(n),m(),s.setSession()}function m(){const t=e(),n=s(),o=t.getSession();o&&n&&n.captureSession(o)}function S(t=!1){t?a():m()}export{f as captureEvent,c as captureException,p as captureMessage,S as captureSession,a as endSession,g as startSession};
@@ -1 +0,0 @@
1
- import{DEBUG_BUILD as e}from"../debug-build.js";import{defineIntegration as n}from"../integration.js";import{debug as r}from"../utils/debug-logger.js";import{getPossibleEventMessages as t}from"../utils/eventUtils.js";import{getEventDescription as o}from"../utils/misc.js";import{stringMatchesSomePattern as i}from"../utils/string.js";const a=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,'can\'t redefine non-configurable property "solana"',"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/,/^Java exception was raised during method invocation$/],s=n(((n={})=>{let a;return{name:"EventFilters",setup(e){const r=e.getOptions();a=u(n,r)},processEvent(s,l,d){if(!a){const e=d.getOptions();a=u(n,e)}return function(n,a){if(n.type){if("transaction"===n.type&&function(e,n){if(!n?.length)return!1;const r=e.transaction;return!!r&&i(r,n)}(n,a.ignoreTransactions))return e&&r.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${o(n)}`),!0}else{if(function(e,n){if(!n?.length)return!1;return t(e).some((e=>i(e,n)))}(n,a.ignoreErrors))return e&&r.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${o(n)}`),!0;if(function(e){if(!e.exception?.values?.length)return!1;return!e.message&&!e.exception.values.some((e=>e.stacktrace||e.type&&"Error"!==e.type||e.value))}(n))return e&&r.warn(`Event dropped due to not having an error message, error type or stacktrace.\nEvent: ${o(n)}`),!0;if(function(e,n){if(!n?.length)return!1;const r=c(e);return!!r&&i(r,n)}(n,a.denyUrls))return e&&r.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${o(n)}.\nUrl: ${c(n)}`),!0;if(!function(e,n){if(!n?.length)return!0;const r=c(e);return!r||i(r,n)}(n,a.allowUrls))return e&&r.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${o(n)}.\nUrl: ${c(n)}`),!0}return!1}(s,a)?null:s}}})),l=n(((e={})=>({...s(e),name:"InboundFilters"})));function u(e={},n={}){return{allowUrls:[...e.allowUrls||[],...n.allowUrls||[]],denyUrls:[...e.denyUrls||[],...n.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...n.ignoreErrors||[],...e.disableErrorDefaults?[]:a],ignoreTransactions:[...e.ignoreTransactions||[],...n.ignoreTransactions||[]]}}function c(n){try{const e=[...n.exception?.values??[]].reverse().find((e=>void 0===e.mechanism?.parent_id&&e.stacktrace?.frames?.length)),r=e?.stacktrace?.frames;return r?function(e=[]){for(let n=e.length-1;n>=0;n--){const r=e[n];if(r&&"<anonymous>"!==r.filename&&"[native code]"!==r.filename)return r.filename||null}return null}(r):null}catch{return e&&r.error(`Cannot extract url for event ${o(n)}`),null}}export{s as eventFiltersIntegration,l as inboundFiltersIntegration};
@@ -1 +0,0 @@
1
- import{isString as r}from"./is.js";const e="sentry-",t=/^sentry-/;function n(r){const e=c(r);if(!e)return;const n=Object.entries(e).reduce(((r,[e,n])=>{if(e.match(t)){r[e.slice(7)]=n}return r}),{});return Object.keys(n).length>0?n:void 0}function c(e){if(e&&(r(e)||Array.isArray(e)))return Array.isArray(e)?e.reduce(((r,e)=>{const t=i(e);return Object.entries(t).forEach((([e,t])=>{r[e]=t})),r}),{}):i(e)}function i(r){return r.split(",").map((r=>{const e=r.indexOf("=");if(-1===e)return[];return[r.slice(0,e),r.slice(e+1)].map((r=>{try{return decodeURIComponent(r.trim())}catch{return}}))})).reduce(((r,[e,t])=>(e&&t&&(r[e]=t),r)),{})}export{e as SENTRY_BAGGAGE_KEY_PREFIX,t as SENTRY_BAGGAGE_KEY_PREFIX_REGEX,n as baggageHeaderToDynamicSamplingContext,c as parseBaggageHeader};
@@ -1 +0,0 @@
1
- import{getSentryCarrier as t}from"../carrier.js";import{dsnToString as n}from"./dsn.js";import{normalize as e}from"./normalize.js";import{GLOBAL_OBJ as r}from"./worldwide.js";function o(t,n=[]){return[t,n]}function i(t,n){const[e,r]=t;return[e,[...r,n]]}function s(t,n){const e=t[1];for(const t of e){if(n(t,t[0].type))return!0}return!1}function c(t,n){return s(t,((t,e)=>n.includes(e)))}function a(n){const e=t(r);return e.encodePolyfill?e.encodePolyfill(n):(new TextEncoder).encode(n)}function f(t){const[n,r]=t;let o=JSON.stringify(n);function i(t){"string"==typeof o?o="string"==typeof t?o+t:[a(o),t]:o.push("string"==typeof t?a(t):t)}for(const t of r){const[n,r]=t;if(i(`\n${JSON.stringify(n)}\n`),"string"==typeof r||r instanceof Uint8Array)i(r);else{let t;try{t=JSON.stringify(r)}catch{t=JSON.stringify(e(r))}i(t)}}return"string"==typeof o?o:function(t){const n=t.reduce(((t,n)=>t+n.length),0),e=new Uint8Array(n);let r=0;for(const n of t)e.set(n,r),r+=n.length;return e}(o)}function l(t){const n="string"==typeof t.data?a(t.data):t.data;return[{type:"attachment",length:n.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType},n]}const u={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",raw_security:"security",log:"log_item",metric:"metric",trace_metric:"metric"};function p(t){return u[t]}function y(t){if(!t?.sdk)return;const{name:n,version:e}=t.sdk;return{name:n,version:e}}function m(t,e,r,o){const i=t.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:t.event_id,sent_at:(new Date).toISOString(),...e&&{sdk:e},...!!r&&o&&{dsn:n(o)},...i&&{trace:i}}}export{i as addItemToEnvelope,l as createAttachmentEnvelopeItem,o as createEnvelope,m as createEventEnvelopeHeaders,c as envelopeContainsItemType,p as envelopeItemTypeToDataCategory,s as forEachEnvelopeItem,y as getSdkMetadataForEnvelopeHeader,f as serializeEnvelope};
@@ -1 +0,0 @@
1
- import{DEBUG_BUILD as t}from"../debug-build.js";import{htmlTreeAsString as e}from"./browser.js";import{debug as r}from"./debug-logger.js";import{isError as o,isEvent as n,isInstanceOf as c,isElement as i}from"./is.js";function u(e,o,n){if(!(o in e))return;const c=e[o];if("function"!=typeof c)return;const i=n(c);"function"==typeof i&&s(i,c);try{e[o]=i}catch{t&&r.log(`Failed to replace method "${o}" in object`,e)}}function a(e,o,n){try{Object.defineProperty(e,o,{value:n,writable:!0,configurable:!0})}catch{t&&r.log(`Failed to add non-enumerable property "${o}" to object`,e)}}function s(t,e){try{const r=e.prototype||{};t.prototype=e.prototype=r,a(t,"__sentry_original__",e)}catch{}}function f(t){return t.__sentry_original__}function p(t){if(o(t))return{message:t.message,name:t.name,stack:t.stack,...l(t)};if(n(t)){const e={type:t.type,target:y(t.target),currentTarget:y(t.currentTarget),...l(t)};return"undefined"!=typeof CustomEvent&&c(t,CustomEvent)&&(e.detail=t.detail),e}return t}function y(t){try{return i(t)?e(t):Object.prototype.toString.call(t)}catch{return"<unknown>"}}function l(t){if("object"==typeof t&&null!==t){const e={};for(const r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}return{}}function g(t){const e=Object.keys(p(t));return e.sort(),e[0]?e.join(", "):"[object has no keys]"}export{a as addNonEnumerableProperty,p as convertToPlainObject,g as extractExceptionKeysForMessage,u as fill,f as getOriginalFunction,s as markFunctionWrapped};
@@ -1 +0,0 @@
1
- const o="10.39.0";export{o as SDK_VERSION};
@@ -1 +0,0 @@
1
- function t(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(t,e)}(t))||e){n&&(t=n);var o=0;return function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function r(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}function e(t,r){for(var e=0;e<r.length;e++){var n=r[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function n(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}var o=function(){return"function"==typeof Symbol},i=function(t){return o()&&Boolean(Symbol[t])},u=function(t){return i(t)?Symbol[t]:"@@"+t};o()&&!i("observable")&&(Symbol.observable=Symbol("observable"));var c=u("iterator"),f=u("observable"),s=u("species");function a(t,r){var e=t[r];if(null!=e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e}}function l(t){var r=t.constructor;return void 0!==r&&null===(r=r[s])&&(r=void 0),void 0!==r?r:g}function b(t){return t instanceof g}function p(t){p.log?p.log(t):setTimeout((function(){throw t}))}function h(t){Promise.resolve().then((function(){try{t()}catch(t){p(t)}}))}function v(t){var r=t._cleanup;if(void 0!==r&&(t._cleanup=void 0,r))try{if("function"==typeof r)r();else{var e=a(r,"unsubscribe");e&&e.call(r)}}catch(t){p(t)}}function y(t){t._observer=void 0,t._queue=void 0,t._state="closed"}function d(t,r,e){t._state="running";var n=t._observer;try{var o=a(n,r);switch(r){case"next":o&&o.call(n,e);break;case"error":if(y(t),!o)throw e;o.call(n,e);break;case"complete":y(t),o&&o.call(n)}}catch(t){p(t)}"closed"===t._state?v(t):"running"===t._state&&(t._state="ready")}function m(t,r,e){if("closed"!==t._state){if("buffering"!==t._state)return"ready"!==t._state?(t._state="buffering",t._queue=[{type:r,value:e}],void h((function(){return function(t){var r=t._queue;if(r){t._queue=void 0,t._state="ready";for(var e=0;e<r.length&&(d(t,r[e].type,r[e].value),"closed"!==t._state);++e);}}(t)}))):void d(t,r,e);t._queue.push({type:r,value:e})}}var w=function(){function t(t,r){this._cleanup=void 0,this._observer=t,this._queue=void 0,this._state="initializing";var e=new _(this);try{this._cleanup=r.call(void 0,e)}catch(t){e.error(t)}"initializing"===this._state&&(this._state="ready")}return t.prototype.unsubscribe=function(){"closed"!==this._state&&(y(this),v(this))},n(t,[{key:"closed",get:function(){return"closed"===this._state}}]),t}(),_=function(){function t(t){this._subscription=t}var r=t.prototype;return r.next=function(t){m(this._subscription,"next",t)},r.error=function(t){m(this._subscription,"error",t)},r.complete=function(){m(this._subscription,"complete")},n(t,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),t}(),g=function(){function r(t){if(!(this instanceof r))throw new TypeError("Observable cannot be called as a function");if("function"!=typeof t)throw new TypeError("Observable initializer must be a function");this._subscriber=t}var e=r.prototype;return e.subscribe=function(t){return"object"==typeof t&&null!==t||(t={next:t,error:arguments[1],complete:arguments[2]}),new w(t,this._subscriber)},e.forEach=function(t){var r=this;return new Promise((function(e,n){if("function"==typeof t)var o=r.subscribe({next:function(r){try{t(r,i)}catch(t){n(t),o.unsubscribe()}},error:n,complete:e});else n(new TypeError(t+" is not a function"));function i(){o.unsubscribe(),e()}}))},e.map=function(t){var r=this;if("function"!=typeof t)throw new TypeError(t+" is not a function");return new(l(this))((function(e){return r.subscribe({next:function(r){try{r=t(r)}catch(t){return e.error(t)}e.next(r)},error:function(t){e.error(t)},complete:function(){e.complete()}})}))},e.filter=function(t){var r=this;if("function"!=typeof t)throw new TypeError(t+" is not a function");return new(l(this))((function(e){return r.subscribe({next:function(r){try{if(!t(r))return}catch(t){return e.error(t)}e.next(r)},error:function(t){e.error(t)},complete:function(){e.complete()}})}))},e.reduce=function(t){var r=this;if("function"!=typeof t)throw new TypeError(t+" is not a function");var e=l(this),n=arguments.length>1,o=!1,i=arguments[1];return new e((function(e){return r.subscribe({next:function(r){var u=!o;if(o=!0,!u||n)try{i=t(i,r)}catch(t){return e.error(t)}else i=r},error:function(t){e.error(t)},complete:function(){if(!o&&!n)return e.error(new TypeError("Cannot reduce an empty sequence"));e.next(i),e.complete()}})}))},e.concat=function(){for(var t=this,r=arguments.length,e=new Array(r),n=0;n<r;n++)e[n]=arguments[n];var o=l(this);return new o((function(r){var n,i=0;return function t(u){n=u.subscribe({next:function(t){r.next(t)},error:function(t){r.error(t)},complete:function(){i===e.length?(n=void 0,r.complete()):t(o.from(e[i++]))}})}(t),function(){n&&(n.unsubscribe(),n=void 0)}}))},e.flatMap=function(t){var r=this;if("function"!=typeof t)throw new TypeError(t+" is not a function");var e=l(this);return new e((function(n){var o=[],i=r.subscribe({next:function(r){if(t)try{r=t(r)}catch(t){return n.error(t)}var i=e.from(r).subscribe({next:function(t){n.next(t)},error:function(t){n.error(t)},complete:function(){var t=o.indexOf(i);t>=0&&o.splice(t,1),u()}});o.push(i)},error:function(t){n.error(t)},complete:function(){u()}});function u(){i.closed&&0===o.length&&n.complete()}return function(){o.forEach((function(t){return t.unsubscribe()})),i.unsubscribe()}}))},e[f]=function(){return this},r.from=function(e){var n="function"==typeof this?this:r;if(null==e)throw new TypeError(e+" is not an object");var o=a(e,f);if(o){var u=o.call(e);if(Object(u)!==u)throw new TypeError(u+" is not an object");return b(u)&&u.constructor===n?u:new n((function(t){return u.subscribe(t)}))}if(i("iterator")&&(o=a(e,c)))return new n((function(r){h((function(){if(!r.closed){for(var n,i=t(o.call(e));!(n=i()).done;){var u=n.value;if(r.next(u),r.closed)return}r.complete()}}))}));if(Array.isArray(e))return new n((function(t){h((function(){if(!t.closed){for(var r=0;r<e.length;++r)if(t.next(e[r]),t.closed)return;t.complete()}}))}));throw new TypeError(e+" is not observable")},r.of=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return new("function"==typeof this?this:r)((function(t){h((function(){if(!t.closed){for(var r=0;r<e.length;++r)if(t.next(e[r]),t.closed)return;t.complete()}}))}))},n(r,null,[{key:s,get:function(){return this}}]),r}();o()&&Object.defineProperty(g,Symbol("extensions"),{value:{symbol:f,hostReportError:p},configurable:!0});export{g as Observable};
@@ -1 +0,0 @@
1
- import{__rest as e,__assign as r,__read as i}from"../../../../../../../@rollup_plugin-typescript@12.3.0_rollup@4.57.1_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js";import{BASE_CAMPAIGN as n}from"../../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/types/constants.js";import{Identify as t}from"../../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/identify.js";import{createIdentifyEvent as s}from"../../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/utils/event-builder.js";var a=function(e){var r=e.split(".");return r.length<=2?e:r.slice(r.length-2,r.length).join(".")},o=function(r,i,n,t,s){void 0===s&&(s=!0),r.referrer;var o=r.referring_domain,c=e(r,["referrer","referring_domain"]),l=i||{};l.referrer;var d=l.referring_domain,m=e(l,["referrer","referring_domain"]);if(u(n.excludeReferrers,r.referring_domain))return t.debug("This is not a new campaign because ".concat(r.referring_domain," is in the exclude referrer list.")),!1;if(!s&&function(e){return Object.values(e).every((function(e){return!e}))}(r)&&i)return t.debug("This is not a new campaign because this is a direct traffic in the same session."),!1;var f=JSON.stringify(c)!==JSON.stringify(m),p=a(o||"")!==a(d||""),g=!i||f||p;return g?t.debug("This is a new campaign. An $identify event will be sent."):t.debug("This is not a new campaign because it's the same as the previous one."),g},u=function(e,r){return void 0===e&&(e=[]),void 0===r&&(r=""),e.some((function(e){return e instanceof RegExp?e.test(r):e===r}))},c=function(e,a){var o=r(r({},n),e),u=Object.entries(o).reduce((function(e,r){var n,t=i(r,2),s=t[0],o=t[1];return e.setOnce("initial_".concat(s),null!==(n=null!=o?o:a.initialEmptyValue)&&void 0!==n?n:"EMPTY"),o?e.set(s,o):e.unset(s)}),new t);return s(u)},l=function(e){var r=e;return r?(r.startsWith(".")&&(r=r.substring(1)),[new RegExp("".concat(r.replace(".","\\."),"$"))]):[]};export{c as createCampaignEvent,l as getDefaultExcludedReferrers,u as isExcludedReferrer,o as isNewCampaign};
@@ -1 +0,0 @@
1
- import{__assign as t,__awaiter as e,__generator as i,__read as s}from"../../../../../../../@rollup_plugin-typescript@12.3.0_rollup@4.57.1_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js";import{getDefaultExcludedReferrers as o,isNewCampaign as a,createCampaignEvent as r}from"./helpers.js";import{getStorageKey as n}from"../../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/storage/helpers.js";import{BASE_CAMPAIGN as p}from"../../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/types/constants.js";import{isNewSession as l}from"../../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/session.js";import{CampaignParser as u}from"../../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/campaign/campaign-parser.js";var m=function(){function m(e,i){var s;this.shouldTrackNewCampaign=!1,this.options=t({initialEmptyValue:"EMPTY",resetSessionOnNewCampaign:!1,excludeReferrers:o(null===(s=i.cookieOptions)||void 0===s?void 0:s.domain),optOut:i.optOut},e),this.storage=i.cookieStorage,this.storageKey=n(i.apiKey,"MKTG"),this.webExpStorageKey=n(i.apiKey,"MKTG_ORIGINAL"),this.currentCampaign=p,this.sessionTimeout=i.sessionTimeout,this.lastEventTime=i.lastEventTime,this.logger=i.loggerProvider,i.loggerProvider.log("Installing web attribution tracking.")}return m.prototype.init=function(){return e(this,void 0,void 0,(function(){var t,e;return i(this,(function(i){switch(i.label){case 0:return this.options.optOut?[2]:[4,this.fetchCampaign()];case 1:return e=s.apply(void 0,[i.sent(),2]),this.currentCampaign=e[0],this.previousCampaign=e[1],t=!this.lastEventTime||l(this.sessionTimeout,this.lastEventTime),a(this.currentCampaign,this.previousCampaign,this.options,this.logger,t)?(this.shouldTrackNewCampaign=!0,[4,this.storage.set(this.storageKey,this.currentCampaign)]):[3,3];case 2:i.sent(),i.label=3;case 3:return[2]}}))}))},m.prototype.fetchCampaign=function(){return e(this,void 0,void 0,(function(){var t;return i(this,(function(e){switch(e.label){case 0:return[4,this.storage.get(this.webExpStorageKey)];case 1:return(t=e.sent())?[4,this.storage.remove(this.webExpStorageKey)]:[3,3];case 2:e.sent(),e.label=3;case 3:return[4,Promise.all([t||(new u).parse(),this.storage.get(this.storageKey)])];case 4:return[2,e.sent()]}}))}))},m.prototype.generateCampaignEvent=function(t){this.shouldTrackNewCampaign=!1;var e=r(this.currentCampaign,this.options);return t&&(e.event_id=t),e},m.prototype.shouldSetSessionIdOnNewCampaign=function(){return this.shouldTrackNewCampaign&&!!this.options.resetSessionOnNewCampaign},m}();export{m as WebAttribution};
@@ -1 +0,0 @@
1
- import{AmplitudeBrowser as e}from"./browser-client.js";import{debugWrapper as i,getClientStates as n,getClientLogConfig as t}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/utils/debug.js";var d=function(){var d=new e;return{init:i(d.init.bind(d),"init",t(d),n(d,["config"])),add:i(d.add.bind(d),"add",t(d),n(d,["config.apiKey","timeline.plugins"])),remove:i(d.remove.bind(d),"remove",t(d),n(d,["config.apiKey","timeline.plugins"])),track:i(d.track.bind(d),"track",t(d),n(d,["config.apiKey","timeline.queue.length"])),logEvent:i(d.logEvent.bind(d),"logEvent",t(d),n(d,["config.apiKey","timeline.queue.length"])),identify:i(d.identify.bind(d),"identify",t(d),n(d,["config.apiKey","timeline.queue.length"])),groupIdentify:i(d.groupIdentify.bind(d),"groupIdentify",t(d),n(d,["config.apiKey","timeline.queue.length"])),setGroup:i(d.setGroup.bind(d),"setGroup",t(d),n(d,["config.apiKey","timeline.queue.length"])),revenue:i(d.revenue.bind(d),"revenue",t(d),n(d,["config.apiKey","timeline.queue.length"])),flush:i(d.flush.bind(d),"flush",t(d),n(d,["config.apiKey","timeline.queue.length"])),getUserId:i(d.getUserId.bind(d),"getUserId",t(d),n(d,["config","config.userId"])),setUserId:i(d.setUserId.bind(d),"setUserId",t(d),n(d,["config","config.userId"])),getDeviceId:i(d.getDeviceId.bind(d),"getDeviceId",t(d),n(d,["config","config.deviceId"])),setDeviceId:i(d.setDeviceId.bind(d),"setDeviceId",t(d),n(d,["config","config.deviceId"])),reset:i(d.reset.bind(d),"reset",t(d),n(d,["config","config.userId","config.deviceId"])),getSessionId:i(d.getSessionId.bind(d),"getSessionId",t(d),n(d,["config"])),setSessionId:i(d.setSessionId.bind(d),"setSessionId",t(d),n(d,["config"])),extendSession:i(d.extendSession.bind(d),"extendSession",t(d),n(d,["config"])),setOptOut:i(d.setOptOut.bind(d),"setOptOut",t(d),n(d,["config"])),setTransport:i(d.setTransport.bind(d),"setTransport",t(d),n(d,["config"])),getIdentity:i(d.getIdentity.bind(d),"getIdentity",t(d),n(d,["config"])),setIdentity:i(d.setIdentity.bind(d),"setIdentity",t(d),n(d,["config","config.userId","config.deviceId"])),getOptOut:i(d.getOptOut.bind(d),"getOptOut",t(d),n(d,["config"])),_setDiagnosticsSampleRate:i(d._setDiagnosticsSampleRate.bind(d),"_setDiagnosticsSampleRate",t(d),n(d,["config"]))}},s=d();export{d as createInstance,s as default};