pcm-agents 0.6.11 → 0.6.13

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 (292) hide show
  1. package/dist/cjs/error-event-J_ZWIqWF.js +33 -0
  2. package/dist/cjs/error-event-J_ZWIqWF.js.map +1 -0
  3. package/dist/cjs/{index-CvEfNyEj.js → index-CRlt8Nv6.js} +53 -3
  4. package/dist/cjs/index-CRlt8Nv6.js.map +1 -0
  5. package/dist/cjs/index-WNdOTXnX.js +11068 -0
  6. package/dist/cjs/index-WNdOTXnX.js.map +1 -0
  7. package/dist/cjs/index.cjs.js +2 -2
  8. package/dist/cjs/loader.cjs.js +3 -5
  9. package/dist/cjs/loader.cjs.js.map +1 -1
  10. package/dist/cjs/message.service-DGUsA-FY.js +135 -0
  11. package/dist/cjs/message.service-DGUsA-FY.js.map +1 -0
  12. package/dist/cjs/{pcm-1zhanshi-mnms-modal_17.cjs.entry.js → pcm-1zhanshi-mnms-modal_21.cjs.entry.js} +3276 -216
  13. package/dist/cjs/pcm-1zhanshi-mnms-modal_21.cjs.entry.js.map +1 -0
  14. package/dist/cjs/pcm-agents.cjs.js +4 -6
  15. package/dist/cjs/pcm-agents.cjs.js.map +1 -1
  16. package/dist/cjs/pcm-message.cjs.entry.js +3 -3
  17. package/dist/cjs/pcm-message.cjs.entry.js.map +1 -1
  18. package/dist/cjs/pcm-message.entry.cjs.js.map +1 -1
  19. package/dist/cjs/pcm-mnms-video-modal.cjs.entry.js +8 -8
  20. package/dist/cjs/pcm-mnms-video-modal.cjs.entry.js.map +1 -1
  21. package/dist/cjs/pcm-mnms-video-modal.entry.cjs.js.map +1 -1
  22. package/dist/cjs/pcm-mnms-zp-modal.cjs.entry.js +29 -86
  23. package/dist/cjs/pcm-mnms-zp-modal.cjs.entry.js.map +1 -1
  24. package/dist/cjs/pcm-mnms-zp-modal.entry.cjs.js.map +1 -1
  25. package/dist/cjs/{sentry-reporter-BWFtw_aT.js → sentry-reporter-tpI4WdkE.js} +12 -40
  26. package/dist/cjs/sentry-reporter-tpI4WdkE.js.map +1 -0
  27. package/dist/collection/collection-manifest.json +5 -1
  28. package/dist/collection/components/pcm-1zhanshi-mnms-modal/pcm-1zhanshi-mnms-modal.js.map +1 -1
  29. package/dist/collection/components/pcm-app-chat-modal/pcm-app-chat-modal.css +986 -986
  30. package/dist/collection/components/pcm-app-chat-modal/pcm-app-chat-modal.js +7 -9
  31. package/dist/collection/components/pcm-app-chat-modal/pcm-app-chat-modal.js.map +1 -1
  32. package/dist/collection/components/pcm-button/pcm-button.css +199 -199
  33. package/dist/collection/components/pcm-button/pcm-button.js +6 -6
  34. package/dist/collection/components/pcm-button/pcm-button.js.map +1 -1
  35. package/dist/collection/components/pcm-card/pcm-card.css +259 -259
  36. package/dist/collection/components/pcm-card/pcm-card.js +1 -1
  37. package/dist/collection/components/pcm-card/pcm-card.js.map +1 -1
  38. package/dist/collection/components/pcm-chat-message/pcm-chat-message.css +554 -554
  39. package/dist/collection/components/pcm-chat-message/pcm-chat-message.js +3 -3
  40. package/dist/collection/components/pcm-chat-message/pcm-chat-message.js.map +1 -1
  41. package/dist/collection/components/pcm-drawer/pcm-drawer.css +102 -102
  42. package/dist/collection/components/pcm-drawer/pcm-drawer.js +1 -1
  43. package/dist/collection/components/pcm-drawer/pcm-drawer.js.map +1 -1
  44. package/dist/collection/components/pcm-hr-chat-modal/pcm-hr-chat-modal.css +854 -854
  45. package/dist/collection/components/pcm-hr-chat-modal/pcm-hr-chat-modal.js +5 -7
  46. package/dist/collection/components/pcm-hr-chat-modal/pcm-hr-chat-modal.js.map +1 -1
  47. package/dist/collection/components/pcm-htws-modal/pcm-htws-modal.css +95 -95
  48. package/dist/collection/components/pcm-htws-modal/pcm-htws-modal.js +1 -1
  49. package/dist/collection/components/pcm-htws-modal/pcm-htws-modal.js.map +1 -1
  50. package/dist/collection/components/pcm-hyzj-modal/pcm-hyzj-modal.js +2 -2
  51. package/dist/collection/components/pcm-hyzj-modal/pcm-hyzj-modal.js.map +1 -1
  52. package/dist/collection/components/pcm-jd-modal/pcm-jd-modal.css +312 -312
  53. package/dist/collection/components/pcm-jd-modal/pcm-jd-modal.js +1 -1
  54. package/dist/collection/components/pcm-jd-modal/pcm-jd-modal.js.map +1 -1
  55. package/dist/collection/components/pcm-jlpp-modal/pcm-jlpp-modal.js +2 -2
  56. package/dist/collection/components/pcm-jlpp-modal/pcm-jlpp-modal.js.map +1 -1
  57. package/dist/collection/components/pcm-message/pcm-message.css +64 -64
  58. package/dist/collection/components/pcm-message/pcm-message.js +2 -2
  59. package/dist/collection/components/pcm-message/pcm-message.js.map +1 -1
  60. package/dist/collection/components/pcm-mnct-modal/pcm-mnct-modal.css +1 -1
  61. package/dist/collection/components/pcm-mnct-modal/pcm-mnct-modal.js +2 -2
  62. package/dist/collection/components/pcm-mnct-modal/pcm-mnct-modal.js.map +1 -1
  63. package/dist/collection/components/pcm-mnms-modal/pcm-mnms-modal.js +67 -84
  64. package/dist/collection/components/pcm-mnms-modal/pcm-mnms-modal.js.map +1 -1
  65. package/dist/collection/components/pcm-mnms-video-modal/pcm-mnms-video-modal.js +2 -2
  66. package/dist/collection/components/pcm-mnms-video-modal/pcm-mnms-video-modal.js.map +1 -1
  67. package/dist/collection/components/pcm-mnms-zp-modal/pcm-mnms-zp-modal.js +67 -84
  68. package/dist/collection/components/pcm-mnms-zp-modal/pcm-mnms-zp-modal.js.map +1 -1
  69. package/dist/collection/components/pcm-mobile-input-btn/pcm-mobile-input-btn.css +140 -0
  70. package/dist/collection/components/pcm-mobile-input-btn/pcm-mobile-input-btn.js +307 -0
  71. package/dist/collection/components/pcm-mobile-input-btn/pcm-mobile-input-btn.js.map +1 -0
  72. package/dist/collection/components/pcm-mobile-input-btn/uploadNumberSDK.js +25 -0
  73. package/dist/collection/components/pcm-mobile-input-btn/uploadNumberSDK.js.map +1 -0
  74. package/dist/collection/components/pcm-mobile-upload-btn/pcm-mobile-upload-btn.css +127 -0
  75. package/dist/collection/components/pcm-mobile-upload-btn/pcm-mobile-upload-btn.js +350 -0
  76. package/dist/collection/components/pcm-mobile-upload-btn/pcm-mobile-upload-btn.js.map +1 -0
  77. package/dist/collection/components/pcm-mobile-upload-btn/uploadNumberSDK.js +25 -0
  78. package/dist/collection/components/pcm-mobile-upload-btn/uploadNumberSDK.js.map +1 -0
  79. package/dist/collection/components/pcm-msbg-modal/pcm-msbg-modal.js +2 -2
  80. package/dist/collection/components/pcm-msbg-modal/pcm-msbg-modal.js.map +1 -1
  81. package/dist/collection/components/pcm-qgqjl-modal/pcm-qgqjl-modal.css +1 -1
  82. package/dist/collection/components/pcm-qgqjl-modal/pcm-qgqjl-modal.js +2 -2
  83. package/dist/collection/components/pcm-qgqjl-modal/pcm-qgqjl-modal.js.map +1 -1
  84. package/dist/collection/components/pcm-time-count-down/pcm-time-count-down.css +0 -0
  85. package/dist/collection/components/pcm-time-count-down/pcm-time-count-down.js +106 -0
  86. package/dist/collection/components/pcm-time-count-down/pcm-time-count-down.js.map +1 -0
  87. package/dist/collection/components/pcm-upload/pcm-upload.css +0 -0
  88. package/dist/collection/components/pcm-upload/pcm-upload.js +408 -0
  89. package/dist/collection/components/pcm-upload/pcm-upload.js.map +1 -0
  90. package/dist/collection/components/pcm-zsk-chat-modal/pcm-zsk-chat-modal.css +969 -969
  91. package/dist/collection/components/pcm-zsk-chat-modal/pcm-zsk-chat-modal.js +3 -5
  92. package/dist/collection/components/pcm-zsk-chat-modal/pcm-zsk-chat-modal.js.map +1 -1
  93. package/dist/collection/components/pcm-zygh-modal/pcm-zygh-modal.css +68 -68
  94. package/dist/collection/components/pcm-zygh-modal/pcm-zygh-modal.js +4 -4
  95. package/dist/collection/components/pcm-zygh-modal/pcm-zygh-modal.js.map +1 -1
  96. package/dist/collection/global/global.css +401 -398
  97. package/dist/collection/global/markdown.css +1233 -1233
  98. package/dist/collection/global/message.js.map +1 -1
  99. package/dist/collection/index.js.map +1 -1
  100. package/dist/collection/interfaces/chat.js.map +1 -1
  101. package/dist/collection/interfaces/events.js.map +1 -1
  102. package/dist/collection/services/message.service.js.map +1 -1
  103. package/dist/collection/utils/env.js +3 -0
  104. package/dist/collection/utils/env.js.map +1 -1
  105. package/dist/collection/utils/error-event.js.map +1 -1
  106. package/dist/collection/utils/init.js.map +1 -1
  107. package/dist/collection/utils/sentry-reporter.js.map +1 -1
  108. package/dist/collection/utils/utils.js +48 -24
  109. package/dist/collection/utils/utils.js.map +1 -1
  110. package/dist/components/index.js +3 -5482
  111. package/dist/components/index.js.map +1 -1
  112. package/dist/components/{p-AYWZDCn8.js → p-B0WOTw9J.js} +51 -4
  113. package/dist/components/p-B0WOTw9J.js.map +1 -0
  114. package/dist/components/{p-DUQ46MUh.js → p-BGXbWUJg.js} +3 -3
  115. package/dist/components/{p-DUQ46MUh.js.map → p-BGXbWUJg.js.map} +1 -1
  116. package/dist/{esm/sentry-reporter-BFBS363a.js → components/p-BW3r6Lrf.js} +5 -32
  117. package/dist/components/p-BW3r6Lrf.js.map +1 -0
  118. package/dist/{esm/app-globals-Chti62re.js → components/p-BdiUKin5.js} +9619 -4296
  119. package/dist/components/p-BdiUKin5.js.map +1 -0
  120. package/dist/components/{p-FjtoYPVY.js → p-BywzltXy.js} +10 -9
  121. package/dist/components/p-BywzltXy.js.map +1 -0
  122. package/dist/components/p-C2OsjtRx.js +208 -0
  123. package/dist/components/p-C2OsjtRx.js.map +1 -0
  124. package/dist/components/{p-D2Z8casl.js → p-CuIvbaWY.js} +5 -5
  125. package/dist/components/p-CuIvbaWY.js.map +1 -0
  126. package/dist/components/p-D0ZMoyH8.js +251 -0
  127. package/dist/components/p-D0ZMoyH8.js.map +1 -0
  128. package/dist/components/{p-CjbFHLT7.js → p-De3VHEUn.js} +7 -71
  129. package/dist/components/p-De3VHEUn.js.map +1 -0
  130. package/dist/components/p-Dv8qvK0w.js +2646 -0
  131. package/dist/components/p-Dv8qvK0w.js.map +1 -0
  132. package/dist/components/p-RD3mwuBX.js +226 -0
  133. package/dist/components/p-RD3mwuBX.js.map +1 -0
  134. package/dist/components/p-njngFX_n.js +80 -0
  135. package/dist/components/p-njngFX_n.js.map +1 -0
  136. package/dist/components/pcm-1zhanshi-mnms-modal.js +7 -7
  137. package/dist/components/pcm-1zhanshi-mnms-modal.js.map +1 -1
  138. package/dist/components/pcm-app-chat-modal.js +1 -1
  139. package/dist/components/pcm-button.js +2 -2
  140. package/dist/components/pcm-button.js.map +1 -1
  141. package/dist/components/pcm-card.js +3 -3
  142. package/dist/components/pcm-card.js.map +1 -1
  143. package/dist/components/pcm-chat-message.js +1 -1
  144. package/dist/components/pcm-drawer.js +1 -1
  145. package/dist/components/pcm-hr-chat-modal.js +5 -4
  146. package/dist/components/pcm-hr-chat-modal.js.map +1 -1
  147. package/dist/components/pcm-htws-modal.js +8 -7
  148. package/dist/components/pcm-htws-modal.js.map +1 -1
  149. package/dist/components/pcm-hyzj-modal.js +8 -7
  150. package/dist/components/pcm-hyzj-modal.js.map +1 -1
  151. package/dist/components/pcm-jd-modal.js +8 -7
  152. package/dist/components/pcm-jd-modal.js.map +1 -1
  153. package/dist/components/pcm-jlpp-modal.js +8 -7
  154. package/dist/components/pcm-jlpp-modal.js.map +1 -1
  155. package/dist/components/pcm-message.js +3 -3
  156. package/dist/components/pcm-message.js.map +1 -1
  157. package/dist/components/pcm-mnct-modal.js +8 -7
  158. package/dist/components/pcm-mnct-modal.js.map +1 -1
  159. package/dist/components/pcm-mnms-modal.js +60 -90
  160. package/dist/components/pcm-mnms-modal.js.map +1 -1
  161. package/dist/components/pcm-mnms-video-modal.js +8 -7
  162. package/dist/components/pcm-mnms-video-modal.js.map +1 -1
  163. package/dist/components/pcm-mnms-zp-modal.js +60 -90
  164. package/dist/components/pcm-mnms-zp-modal.js.map +1 -1
  165. package/dist/components/pcm-mobile-input-btn.d.ts +11 -0
  166. package/dist/components/pcm-mobile-input-btn.js +9 -0
  167. package/dist/components/pcm-mobile-input-btn.js.map +1 -0
  168. package/dist/components/pcm-mobile-upload-btn.d.ts +11 -0
  169. package/dist/components/pcm-mobile-upload-btn.js +9 -0
  170. package/dist/components/pcm-mobile-upload-btn.js.map +1 -0
  171. package/dist/components/pcm-msbg-modal.js +8 -7
  172. package/dist/components/pcm-msbg-modal.js.map +1 -1
  173. package/dist/components/pcm-qgqjl-modal.js +8 -7
  174. package/dist/components/pcm-qgqjl-modal.js.map +1 -1
  175. package/dist/components/pcm-time-count-down.d.ts +11 -0
  176. package/dist/components/pcm-time-count-down.js +9 -0
  177. package/dist/components/pcm-time-count-down.js.map +1 -0
  178. package/dist/components/pcm-upload.d.ts +11 -0
  179. package/dist/components/pcm-upload.js +9 -0
  180. package/dist/components/pcm-upload.js.map +1 -0
  181. package/dist/components/pcm-zsk-chat-modal.js +4 -4
  182. package/dist/components/pcm-zsk-chat-modal.js.map +1 -1
  183. package/dist/components/pcm-zygh-modal.js +8 -7
  184. package/dist/components/pcm-zygh-modal.js.map +1 -1
  185. package/dist/esm/error-event-C0FYX2-Z.js +31 -0
  186. package/dist/esm/error-event-C0FYX2-Z.js.map +1 -0
  187. package/dist/esm/{index-GyOE8SlD.js → index-BnNqOUZf.js} +51 -4
  188. package/dist/esm/index-BnNqOUZf.js.map +1 -0
  189. package/dist/esm/index-BuVfV0zo.js +11035 -0
  190. package/dist/esm/index-BuVfV0zo.js.map +1 -0
  191. package/dist/esm/index.js +2 -2
  192. package/dist/esm/loader.js +3 -5
  193. package/dist/esm/loader.js.map +1 -1
  194. package/dist/esm/message.service-DXVhHj6-.js +133 -0
  195. package/dist/esm/message.service-DXVhHj6-.js.map +1 -0
  196. package/dist/esm/{pcm-1zhanshi-mnms-modal_17.entry.js → pcm-1zhanshi-mnms-modal_21.entry.js} +3225 -169
  197. package/dist/esm/pcm-1zhanshi-mnms-modal_21.entry.js.map +1 -0
  198. package/dist/esm/pcm-agents.js +4 -6
  199. package/dist/esm/pcm-agents.js.map +1 -1
  200. package/dist/esm/pcm-message.entry.js +3 -3
  201. package/dist/esm/pcm-message.entry.js.map +1 -1
  202. package/dist/esm/pcm-mnms-video-modal.entry.js +5 -5
  203. package/dist/esm/pcm-mnms-video-modal.entry.js.map +1 -1
  204. package/dist/esm/pcm-mnms-zp-modal.entry.js +28 -85
  205. package/dist/esm/pcm-mnms-zp-modal.entry.js.map +1 -1
  206. package/dist/esm/sentry-reporter-CYzy4_8O.js +70 -0
  207. package/dist/esm/sentry-reporter-CYzy4_8O.js.map +1 -0
  208. package/dist/pcm-agents/index.esm.js +1 -1
  209. package/dist/pcm-agents/loader.esm.js.map +1 -1
  210. package/dist/pcm-agents/p-18a06873.entry.js +2 -0
  211. package/dist/pcm-agents/p-18a06873.entry.js.map +1 -0
  212. package/dist/pcm-agents/p-47e2e1d0.entry.js +2 -0
  213. package/dist/pcm-agents/p-47e2e1d0.entry.js.map +1 -0
  214. package/dist/pcm-agents/{p-3608c0c6.entry.js → p-7a582f00.entry.js} +2 -2
  215. package/dist/pcm-agents/p-7a582f00.entry.js.map +1 -0
  216. package/dist/pcm-agents/p-BhFnI70g.js +2 -0
  217. package/dist/pcm-agents/p-BhFnI70g.js.map +1 -0
  218. package/dist/pcm-agents/p-BuVfV0zo.js +3 -0
  219. package/dist/pcm-agents/p-BuVfV0zo.js.map +1 -0
  220. package/dist/pcm-agents/p-C0FYX2-Z.js +2 -0
  221. package/dist/pcm-agents/p-C0FYX2-Z.js.map +1 -0
  222. package/dist/pcm-agents/p-DXVhHj6-.js +2 -0
  223. package/dist/pcm-agents/p-DXVhHj6-.js.map +1 -0
  224. package/dist/pcm-agents/p-DkeaAFic.js +2 -0
  225. package/dist/pcm-agents/p-DkeaAFic.js.map +1 -0
  226. package/dist/pcm-agents/p-f5f96853.entry.js +245 -0
  227. package/dist/pcm-agents/p-f5f96853.entry.js.map +1 -0
  228. package/dist/pcm-agents/pcm-agents.esm.js +1 -1
  229. package/dist/pcm-agents/pcm-agents.esm.js.map +1 -1
  230. package/dist/pcm-agents/pcm-message.entry.esm.js.map +1 -1
  231. package/dist/pcm-agents/pcm-mnms-video-modal.entry.esm.js.map +1 -1
  232. package/dist/pcm-agents/pcm-mnms-zp-modal.entry.esm.js.map +1 -1
  233. package/dist/store/auth.store.js.map +1 -1
  234. package/dist/store/config.store.js.map +1 -1
  235. package/dist/types/components/pcm-mnms-modal/pcm-mnms-modal.d.ts +9 -4
  236. package/dist/types/components/pcm-mnms-zp-modal/pcm-mnms-zp-modal.d.ts +9 -4
  237. package/dist/types/components/pcm-mobile-input-btn/pcm-mobile-input-btn.d.ts +36 -0
  238. package/dist/types/components/pcm-mobile-input-btn/uploadNumberSDK.d.ts +9 -0
  239. package/dist/types/components/pcm-mobile-upload-btn/pcm-mobile-upload-btn.d.ts +44 -0
  240. package/dist/types/components/pcm-mobile-upload-btn/uploadNumberSDK.d.ts +9 -0
  241. package/dist/types/components/pcm-time-count-down/pcm-time-count-down.d.ts +15 -0
  242. package/dist/types/components/pcm-upload/pcm-upload.d.ts +54 -0
  243. package/dist/types/components/pcm-upload/type.d.ts +4 -0
  244. package/dist/types/components.d.ts +798 -30
  245. package/dist/types/stencil-public-runtime.d.ts +1 -1
  246. package/dist/types/utils/env.d.ts +2 -0
  247. package/dist/types/utils/utils.d.ts +30 -12
  248. package/package.json +70 -69
  249. package/dist/cjs/app-globals-BIO4q6tX.js +0 -5487
  250. package/dist/cjs/app-globals-BIO4q6tX.js.map +0 -1
  251. package/dist/cjs/exports-Dc-pQh4A.js +0 -4087
  252. package/dist/cjs/exports-Dc-pQh4A.js.map +0 -1
  253. package/dist/cjs/index-C_qhED9Z.js +0 -1538
  254. package/dist/cjs/index-C_qhED9Z.js.map +0 -1
  255. package/dist/cjs/index-CvEfNyEj.js.map +0 -1
  256. package/dist/cjs/pcm-1zhanshi-mnms-modal_17.cjs.entry.js.map +0 -1
  257. package/dist/cjs/sentry-reporter-BWFtw_aT.js.map +0 -1
  258. package/dist/components/p-75J0r72D.js +0 -4017
  259. package/dist/components/p-75J0r72D.js.map +0 -1
  260. package/dist/components/p-AYWZDCn8.js.map +0 -1
  261. package/dist/components/p-CR7WLzmM.js +0 -1303
  262. package/dist/components/p-CR7WLzmM.js.map +0 -1
  263. package/dist/components/p-CjbFHLT7.js.map +0 -1
  264. package/dist/components/p-D2Z8casl.js.map +0 -1
  265. package/dist/components/p-FjtoYPVY.js.map +0 -1
  266. package/dist/esm/app-globals-Chti62re.js.map +0 -1
  267. package/dist/esm/exports-Bs-zO1WZ.js +0 -4017
  268. package/dist/esm/exports-Bs-zO1WZ.js.map +0 -1
  269. package/dist/esm/index-Bq0K-WqZ.js +0 -1528
  270. package/dist/esm/index-Bq0K-WqZ.js.map +0 -1
  271. package/dist/esm/index-GyOE8SlD.js.map +0 -1
  272. package/dist/esm/pcm-1zhanshi-mnms-modal_17.entry.js.map +0 -1
  273. package/dist/esm/sentry-reporter-BFBS363a.js.map +0 -1
  274. package/dist/pcm-agents/p-2Gpw8rvH.js +0 -2
  275. package/dist/pcm-agents/p-2Gpw8rvH.js.map +0 -1
  276. package/dist/pcm-agents/p-3608c0c6.entry.js.map +0 -1
  277. package/dist/pcm-agents/p-60d7a0b0.entry.js +0 -2
  278. package/dist/pcm-agents/p-60d7a0b0.entry.js.map +0 -1
  279. package/dist/pcm-agents/p-9e6efc2d.entry.js +0 -2
  280. package/dist/pcm-agents/p-9e6efc2d.entry.js.map +0 -1
  281. package/dist/pcm-agents/p-BUV0S8Cc.js +0 -2
  282. package/dist/pcm-agents/p-BUV0S8Cc.js.map +0 -1
  283. package/dist/pcm-agents/p-Bq0K-WqZ.js +0 -3
  284. package/dist/pcm-agents/p-Bq0K-WqZ.js.map +0 -1
  285. package/dist/pcm-agents/p-Bs-zO1WZ.js +0 -2
  286. package/dist/pcm-agents/p-Bs-zO1WZ.js.map +0 -1
  287. package/dist/pcm-agents/p-CeRTfvY9.js +0 -2
  288. package/dist/pcm-agents/p-CeRTfvY9.js.map +0 -1
  289. package/dist/pcm-agents/p-e6c87a78.entry.js +0 -2
  290. package/dist/pcm-agents/p-e6c87a78.entry.js.map +0 -1
  291. /package/dist/types/{code/agents-sdk → Users/debugksir/Documents/pcm/sdk}/packages/pcm-agents/.stencil/store/auth.store.d.ts +0 -0
  292. /package/dist/types/{code/agents-sdk → Users/debugksir/Documents/pcm/sdk}/packages/pcm-agents/.stencil/store/config.store.d.ts +0 -0
@@ -1,2 +0,0 @@
1
- const t=typeof __SENTRY_DEBUG__==="undefined"||__SENTRY_DEBUG__;const n="9.22.0";const e=globalThis;function r(){i(e);return e}function i(t){const e=t.__SENTRY__=t.__SENTRY__||{};e.version=e.version||n;return e[n]=e[n]||{}}function s(t,r,i=e){const s=i.__SENTRY__=i.__SENTRY__||{};const o=s[n]=s[n]||{};return o[t]||(o[t]=r())}const o=Object.prototype.toString;function c(t){switch(o.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return true;default:return E(t,Error)}}function u(t,n){return o.call(t)===`[object ${n}]`}function f(t){return u(t,"ErrorEvent")}function a(t){return u(t,"DOMError")}function l(t){return u(t,"DOMException")}function h(t){return u(t,"String")}function d(t){return typeof t==="object"&&t!==null&&"__sentry_template_string__"in t&&"__sentry_template_values__"in t}function p(t){return t===null||d(t)||typeof t!=="object"&&typeof t!=="function"}function y(t){return u(t,"Object")}function m(t){return typeof Event!=="undefined"&&E(t,Event)}function b(t){return typeof Element!=="undefined"&&E(t,Element)}function g(t){return u(t,"RegExp")}function _(t){return Boolean(t?.then&&typeof t.then==="function")}function S(t){return y(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function E(t,n){try{return t instanceof n}catch(t){return false}}function w(t){return!!(typeof t==="object"&&t!==null&&(t.__isVue||t._isVue))}function v(t){return typeof Request!=="undefined"&&E(t,Request)}const x=e;const j=80;function $(t,n={}){if(!t){return"<unknown>"}try{let e=t;const r=5;const i=[];let s=0;let o=0;const c=" > ";const u=c.length;let f;const a=Array.isArray(n)?n:n.keyAttrs;const l=!Array.isArray(n)&&n.maxStringLength||j;while(e&&s++<r){f=I(e,a);if(f==="html"||s>1&&o+i.length*u+f.length>=l){break}i.push(f);o+=f.length;e=e.parentNode}return i.reverse().join(c)}catch(t){return"<unknown>"}}function I(t,n){const e=t;const r=[];if(!e?.tagName){return""}if(x.HTMLElement){if(e instanceof HTMLElement&&e.dataset){if(e.dataset["sentryComponent"]){return e.dataset["sentryComponent"]}if(e.dataset["sentryElement"]){return e.dataset["sentryElement"]}}}r.push(e.tagName.toLowerCase());const i=n?.length?n.filter((t=>e.getAttribute(t))).map((t=>[t,e.getAttribute(t)])):null;if(i?.length){i.forEach((t=>{r.push(`[${t[0]}="${t[1]}"]`)}))}else{if(e.id){r.push(`#${e.id}`)}const t=e.className;if(t&&h(t)){const n=t.split(/\s+/);for(const t of n){r.push(`.${t}`)}}}const s=["aria-label","type","name","title","alt"];for(const t of s){const n=e.getAttribute(t);if(n){r.push(`[${t}="${n}"]`)}}return r.join("")}function D(){try{return x.document.location.href}catch(t){return""}}function O(t){if(!x.HTMLElement){return null}let n=t;const e=5;for(let t=0;t<e;t++){if(!n){return null}if(n instanceof HTMLElement){if(n.dataset["sentryComponent"]){return n.dataset["sentryComponent"]}if(n.dataset["sentryElement"]){return n.dataset["sentryElement"]}}n=n.parentNode}return null}const k="Sentry Logger ";const C=["debug","info","warn","error","log","assert","trace"];const M={};function N(t){if(!("console"in e)){return t()}const n=e.console;const r={};const i=Object.keys(M);i.forEach((t=>{const e=M[t];r[t]=n[t];n[t]=e}));try{return t()}finally{i.forEach((t=>{n[t]=r[t]}))}}function R(){let n=false;const r={enable:()=>{n=true},disable:()=>{n=false},isEnabled:()=>n};if(t){C.forEach((t=>{r[t]=(...r)=>{if(n){N((()=>{e.console[t](`${k}[${t}]:`,...r)}))}}}))}else{C.forEach((t=>{r[t]=()=>undefined}))}return r}const T=s("logger",R);function A(t,n=0){if(typeof t!=="string"||n===0){return t}return t.length<=n?t:`${t.slice(0,n)}...`}function L(t,n){if(!Array.isArray(t)){return""}const e=[];for(let n=0;n<t.length;n++){const r=t[n];try{if(w(r)){e.push("[VueViewModel]")}else{e.push(String(r))}}catch(t){e.push("[value cannot be serialized]")}}return e.join(n)}function P(t,n,e=false){if(!h(t)){return false}if(g(n)){return n.test(t)}if(h(n)){return e?t===n:t.includes(n)}return false}function B(t,n=[],e=false){return n.some((n=>P(t,n,e)))}function F(n,e,r){if(!(e in n)){return}const i=n[e];if(typeof i!=="function"){return}const s=r(i);if(typeof s==="function"){z(s,i)}try{n[e]=s}catch{t&&T.log(`Failed to replace method "${e}" in object`,n)}}function U(n,e,r){try{Object.defineProperty(n,e,{value:r,writable:true,configurable:true})}catch(r){t&&T.log(`Failed to add non-enumerable property "${e}" to object`,n)}}function z(t,n){try{const e=n.prototype||{};t.prototype=n.prototype=e;U(t,"__sentry_original__",n)}catch(t){}}function G(t){return t.__sentry_original__}function K(t){if(c(t)){return{message:t.message,name:t.name,stack:t.stack,...H(t)}}else if(m(t)){const n={type:t.type,target:V(t.target),currentTarget:V(t.currentTarget),...H(t)};if(typeof CustomEvent!=="undefined"&&E(t,CustomEvent)){n.detail=t.detail}return n}else{return t}}function V(t){try{return b(t)?$(t):Object.prototype.toString.call(t)}catch(t){return"<unknown>"}}function H(t){if(typeof t==="object"&&t!==null){const n={};for(const e in t){if(Object.prototype.hasOwnProperty.call(t,e)){n[e]=t[e]}}return n}else{return{}}}function W(t,n=40){const e=Object.keys(K(t));e.sort();const r=e[0];if(!r){return"[object has no keys]"}if(r.length>=n){return A(r,n)}for(let t=e.length;t>0;t--){const r=e.slice(0,t).join(", ");if(r.length>n){continue}if(t===e.length){return r}return A(r,n)}return""}function Y(){const t=e;return t.crypto||t.msCrypto}function J(t=Y()){let n=()=>Math.random()*16;try{if(t?.randomUUID){return t.randomUUID().replace(/-/g,"")}if(t?.getRandomValues){n=()=>{const n=new Uint8Array(1);t.getRandomValues(n);return n[0]}}}catch(t){}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,(t=>(t^(n()&15)>>t/4).toString(16)))}function q(t){return t.exception?.values?.[0]}function Q(t){const{message:n,event_id:e}=t;if(n){return n}const r=q(t);if(r){if(r.type&&r.value){return`${r.type}: ${r.value}`}return r.type||r.value||e||"<unknown>"}return e||"<unknown>"}function X(t,n,e){const r=t.exception=t.exception||{};const i=r.values=r.values||[];const s=i[0]=i[0]||{};if(!s.value){s.value=n||""}if(!s.type){s.type="Error"}}function Z(t,n){const e=q(t);if(!e){return}const r={type:"generic",handled:true};const i=e.mechanism;e.mechanism={...r,...i,...n};if(n&&"data"in n){const t={...i?.data,...n.data};e.mechanism.data=t}}function tt(t){if(nt(t)){return true}try{U(t,"__sentry_captured__",true)}catch(t){}return false}function nt(t){try{return t.__sentry_captured__}catch{}}const et=1e3;function rt(){return Date.now()/et}function it(){const{performance:t}=e;if(!t?.now){return rt}const n=Date.now()-t.now();const r=t.timeOrigin==undefined?n:t.timeOrigin;return()=>(r+t.now())/et}const st=it();function ot(t){const n=st();const e={sid:J(),init:true,timestamp:n,started:n,duration:0,status:"ok",errors:0,ignoreDuration:false,toJSON:()=>ft(e)};if(t){ct(e,t)}return e}function ct(t,n={}){if(n.user){if(!t.ipAddress&&n.user.ip_address){t.ipAddress=n.user.ip_address}if(!t.did&&!n.did){t.did=n.user.id||n.user.email||n.user.username}}t.timestamp=n.timestamp||st();if(n.abnormal_mechanism){t.abnormal_mechanism=n.abnormal_mechanism}if(n.ignoreDuration){t.ignoreDuration=n.ignoreDuration}if(n.sid){t.sid=n.sid.length===32?n.sid:J()}if(n.init!==undefined){t.init=n.init}if(!t.did&&n.did){t.did=`${n.did}`}if(typeof n.started==="number"){t.started=n.started}if(t.ignoreDuration){t.duration=undefined}else if(typeof n.duration==="number"){t.duration=n.duration}else{const n=t.timestamp-t.started;t.duration=n>=0?n:0}if(n.release){t.release=n.release}if(n.environment){t.environment=n.environment}if(!t.ipAddress&&n.ipAddress){t.ipAddress=n.ipAddress}if(!t.userAgent&&n.userAgent){t.userAgent=n.userAgent}if(typeof n.errors==="number"){t.errors=n.errors}if(n.status){t.status=n.status}}function ut(t,n){let e={};if(t.status==="ok"){e={status:"exited"}}ct(t,e)}function ft(t){return{sid:`${t.sid}`,init:t.init,started:new Date(t.started*1e3).toISOString(),timestamp:new Date(t.timestamp*1e3).toISOString(),status:t.status,errors:t.errors,did:typeof t.did==="number"||typeof t.did==="string"?`${t.did}`:undefined,duration:t.duration,abnormal_mechanism:t.abnormal_mechanism,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}}}function at(t,n,e=2){if(!n||typeof n!=="object"||e<=0){return n}if(t&&Object.keys(n).length===0){return t}const r={...t};for(const t in n){if(Object.prototype.hasOwnProperty.call(n,t)){r[t]=at(r[t],n[t],e-1)}}return r}const lt="_sentrySpan";function ht(t,n){if(n){U(t,lt,n)}else{delete t[lt]}}function dt(t){return t[lt]}function pt(){return J()}function yt(){return J().substring(16)}const mt=100;class bt{constructor(){this._notifyingListeners=false;this._scopeListeners=[];this._eventProcessors=[];this._breadcrumbs=[];this._attachments=[];this._user={};this._tags={};this._extra={};this._contexts={};this._sdkProcessingMetadata={};this._propagationContext={traceId:pt(),sampleRand:Math.random()}}clone(){const t=new bt;t._breadcrumbs=[...this._breadcrumbs];t._tags={...this._tags};t._extra={...this._extra};t._contexts={...this._contexts};if(this._contexts.flags){t._contexts.flags={values:[...this._contexts.flags.values]}}t._user=this._user;t._level=this._level;t._session=this._session;t._transactionName=this._transactionName;t._fingerprint=this._fingerprint;t._eventProcessors=[...this._eventProcessors];t._attachments=[...this._attachments];t._sdkProcessingMetadata={...this._sdkProcessingMetadata};t._propagationContext={...this._propagationContext};t._client=this._client;t._lastEventId=this._lastEventId;ht(t,dt(this));return t}setClient(t){this._client=t}setLastEventId(t){this._lastEventId=t}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){this._eventProcessors.push(t);return this}setUser(t){this._user=t||{email:undefined,id:undefined,ip_address:undefined,username:undefined};if(this._session){ct(this._session,{user:t})}this._notifyScopeListeners();return this}getUser(){return this._user}setTags(t){this._tags={...this._tags,...t};this._notifyScopeListeners();return this}setTag(t,n){this._tags={...this._tags,[t]:n};this._notifyScopeListeners();return this}setExtras(t){this._extra={...this._extra,...t};this._notifyScopeListeners();return this}setExtra(t,n){this._extra={...this._extra,[t]:n};this._notifyScopeListeners();return this}setFingerprint(t){this._fingerprint=t;this._notifyScopeListeners();return this}setLevel(t){this._level=t;this._notifyScopeListeners();return this}setTransactionName(t){this._transactionName=t;this._notifyScopeListeners();return this}setContext(t,n){if(n===null){delete this._contexts[t]}else{this._contexts[t]=n}this._notifyScopeListeners();return this}setSession(t){if(!t){delete this._session}else{this._session=t}this._notifyScopeListeners();return this}getSession(){return this._session}update(t){if(!t){return this}const n=typeof t==="function"?t(this):t;const e=n instanceof bt?n.getScopeData():y(n)?t:undefined;const{tags:r,extra:i,user:s,contexts:o,level:c,fingerprint:u=[],propagationContext:f}=e||{};this._tags={...this._tags,...r};this._extra={...this._extra,...i};this._contexts={...this._contexts,...o};if(s&&Object.keys(s).length){this._user=s}if(c){this._level=c}if(u.length){this._fingerprint=u}if(f){this._propagationContext=f}return this}clear(){this._breadcrumbs=[];this._tags={};this._extra={};this._user={};this._contexts={};this._level=undefined;this._transactionName=undefined;this._fingerprint=undefined;this._session=undefined;ht(this,undefined);this._attachments=[];this.setPropagationContext({traceId:pt(),sampleRand:Math.random()});this._notifyScopeListeners();return this}addBreadcrumb(t,n){const e=typeof n==="number"?n:mt;if(e<=0){return this}const r={timestamp:rt(),...t,message:t.message?A(t.message,2048):t.message};this._breadcrumbs.push(r);if(this._breadcrumbs.length>e){this._breadcrumbs=this._breadcrumbs.slice(-e);this._client?.recordDroppedEvent("buffer_overflow","log_item")}this._notifyScopeListeners();return this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){this._breadcrumbs=[];this._notifyScopeListeners();return this}addAttachment(t){this._attachments.push(t);return this}clearAttachments(){this._attachments=[];return this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:dt(this)}}setSDKProcessingMetadata(t){this._sdkProcessingMetadata=at(this._sdkProcessingMetadata,t,2);return this}setPropagationContext(t){this._propagationContext=t;return this}getPropagationContext(){return this._propagationContext}captureException(t,n){const e=n?.event_id||J();if(!this._client){T.warn("No client configured on scope - will not capture exception!");return e}const r=new Error("Sentry syntheticException");this._client.captureException(t,{originalException:t,syntheticException:r,...n,event_id:e},this);return e}captureMessage(t,n,e){const r=e?.event_id||J();if(!this._client){T.warn("No client configured on scope - will not capture message!");return r}const i=new Error(t);this._client.captureMessage(t,n,{originalException:t,syntheticException:i,...e,event_id:r},this);return r}captureEvent(t,n){const e=n?.event_id||J();if(!this._client){T.warn("No client configured on scope - will not capture event!");return e}this._client.captureEvent(t,{...n,event_id:e},this);return e}_notifyScopeListeners(){if(!this._notifyingListeners){this._notifyingListeners=true;this._scopeListeners.forEach((t=>{t(this)}));this._notifyingListeners=false}}}function gt(){return s("defaultCurrentScope",(()=>new bt))}function _t(){return s("defaultIsolationScope",(()=>new bt))}class St{constructor(t,n){let e;if(!t){e=new bt}else{e=t}let r;if(!n){r=new bt}else{r=n}this._stack=[{scope:e}];this._isolationScope=r}withScope(t){const n=this._pushScope();let e;try{e=t(n)}catch(t){this._popScope();throw t}if(_(e)){return e.then((t=>{this._popScope();return t}),(t=>{this._popScope();throw t}))}this._popScope();return e}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const t=this.getScope().clone();this._stack.push({client:this.getClient(),scope:t});return t}_popScope(){if(this._stack.length<=1)return false;return!!this._stack.pop()}}function Et(){const t=r();const n=i(t);return n.stack=n.stack||new St(gt(),_t())}function wt(t){return Et().withScope(t)}function vt(t,n){const e=Et();return e.withScope((()=>{e.getStackTop().scope=t;return n(t)}))}function xt(t){return Et().withScope((()=>t(Et().getIsolationScope())))}function jt(){return{withIsolationScope:xt,withScope:wt,withSetScope:vt,withSetIsolationScope:(t,n)=>xt(n),getCurrentScope:()=>Et().getScope(),getIsolationScope:()=>Et().getIsolationScope()}}function $t(t){const n=i(t);if(n.acs){return n.acs}return jt()}function It(){const t=r();const n=$t(t);return n.getCurrentScope()}function Dt(){const t=r();const n=$t(t);return n.getIsolationScope()}function Ot(){return s("globalScope",(()=>new bt))}function kt(...t){const n=r();const e=$t(n);if(t.length===2){const[n,r]=t;if(!n){return e.withScope(r)}return e.withSetScope(n,r)}return e.withScope(t[0])}function Ct(){return It().getClient()}function Mt(t){const n=t.getPropagationContext();const{traceId:e,parentSpanId:r,propagationSpanId:i}=n;const s={trace_id:e,span_id:i||yt()};if(r){s.parent_span_id=r}return s}const Nt="sentry.source";const Rt="sentry.sample_rate";const Tt="sentry.previous_trace_sample_rate";const At="sentry.op";const Lt="sentry.origin";const Pt="sentry.profile_id";const Bt="sentry.exclusive_time";const Ft=0;const Ut=1;const zt="_sentryScope";const Gt="_sentryIsolationScope";function Kt(t){return{scope:t[zt],isolationScope:t[Gt]}}const Vt="sentry-";const Ht=/^sentry-/;function Wt(t){const n=Yt(t);if(!n){return undefined}const e=Object.entries(n).reduce(((t,[n,e])=>{if(n.match(Ht)){const r=n.slice(Vt.length);t[r]=e}return t}),{});if(Object.keys(e).length>0){return e}else{return undefined}}function Yt(t){if(!t||!h(t)&&!Array.isArray(t)){return undefined}if(Array.isArray(t)){return t.reduce(((t,n)=>{const e=Jt(n);Object.entries(e).forEach((([n,e])=>{t[n]=e}));return t}),{})}return Jt(t)}function Jt(t){return t.split(",").map((t=>t.split("=").map((t=>{try{return decodeURIComponent(t.trim())}catch{return}})))).reduce(((t,[n,e])=>{if(n&&e){t[n]=e}return t}),{})}const qt=1;let Qt=false;function Xt(t){const{spanId:n,traceId:e,isRemote:r}=t.spanContext();const i=r?n:en(t).parent_span_id;const s=Kt(t).scope;const o=r?s?.getPropagationContext().propagationSpanId||yt():n;return{parent_span_id:i,span_id:o,trace_id:e}}function Zt(t){if(t&&t.length>0){return t.map((({context:{spanId:t,traceId:n,traceFlags:e,...r},attributes:i})=>({span_id:t,trace_id:n,sampled:e===qt,attributes:i,...r})))}else{return undefined}}function tn(t){if(typeof t==="number"){return nn(t)}if(Array.isArray(t)){return t[0]+t[1]/1e9}if(t instanceof Date){return nn(t.getTime())}return st()}function nn(t){const n=t>9999999999;return n?t/1e3:t}function en(t){if(sn(t)){return t.getSpanJSON()}const{spanId:n,traceId:e}=t.spanContext();if(rn(t)){const{attributes:r,startTime:i,name:s,endTime:o,status:c,links:u}=t;const f="parentSpanId"in t?t.parentSpanId:"parentSpanContext"in t?t.parentSpanContext?.spanId:undefined;return{span_id:n,trace_id:e,data:r,description:s,parent_span_id:f,start_timestamp:tn(i),timestamp:tn(o)||undefined,status:cn(c),op:r[At],origin:r[Lt],links:Zt(u)}}return{span_id:n,trace_id:e,start_timestamp:0,data:{}}}function rn(t){const n=t;return!!n.attributes&&!!n.startTime&&!!n.name&&!!n.endTime&&!!n.status}function sn(t){return typeof t.getSpanJSON==="function"}function on(t){const{traceFlags:n}=t.spanContext();return n===qt}function cn(t){if(!t||t.code===Ft){return undefined}if(t.code===Ut){return"ok"}return t.message||"unknown_error"}const un="_sentryRootSpan";function fn(t){return t[un]||t}function an(){if(!Qt){N((()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly.")}));Qt=true}}const ln=50;const hn="?";const dn=/\(error: (.*)\)/;const pn=/captureMessage|captureException/;function yn(...t){const n=t.sort(((t,n)=>t[0]-n[0])).map((t=>t[1]));return(t,e=0,r=0)=>{const i=[];const s=t.split("\n");for(let t=e;t<s.length;t++){const e=s[t];if(e.length>1024){continue}const o=dn.test(e)?e.replace(dn,"$1"):e;if(o.match(/\S*Error: /)){continue}for(const t of n){const n=t(o);if(n){i.push(n);break}}if(i.length>=ln+r){break}}return bn(i.slice(r))}}function mn(t){if(Array.isArray(t)){return yn(...t)}return t}function bn(t){if(!t.length){return[]}const n=Array.from(t);if(/sentryWrapped/.test(gn(n).function||"")){n.pop()}n.reverse();if(pn.test(gn(n).function||"")){n.pop();if(pn.test(gn(n).function||"")){n.pop()}}return n.slice(0,ln).map((t=>({...t,filename:t.filename||gn(n).filename,function:t.function||hn})))}function gn(t){return t[t.length-1]||{}}const _n="<anonymous>";function Sn(t){try{if(!t||typeof t!=="function"){return _n}return t.name||_n}catch(t){return _n}}function En(t){const n=t.exception;if(n){const t=[];try{n.values.forEach((n=>{if(n.stacktrace.frames){t.push(...n.stacktrace.frames)}}));return t}catch(t){return undefined}}return undefined}function wn(t){if(typeof __SENTRY_TRACING__==="boolean"&&!__SENTRY_TRACING__){return false}const n=t||Ct()?.getOptions();return!!n&&(n.tracesSampleRate!=null||!!n.tracesSampler)}const vn="production";const xn=/^o(\d+)\./;const jn=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function $n(t){return t==="http"||t==="https"}function In(t,n=false){const{host:e,path:r,pass:i,port:s,projectId:o,protocol:c,publicKey:u}=t;return`${c}://${u}${n&&i?`:${i}`:""}`+`@${e}${s?`:${s}`:""}/${r?`${r}/`:r}${o}`}function Dn(t){const n=jn.exec(t);if(!n){N((()=>{console.error(`Invalid Sentry Dsn: ${t}`)}));return undefined}const[e,r,i="",s="",o="",c=""]=n.slice(1);let u="";let f=c;const a=f.split("/");if(a.length>1){u=a.slice(0,-1).join("/");f=a.pop()}if(f){const t=f.match(/^\d+/);if(t){f=t[0]}}return On({host:s,pass:i,path:u,projectId:f,port:o,protocol:e,publicKey:r})}function On(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function kn(n){if(!t){return true}const{port:e,projectId:r,protocol:i}=n;const s=["protocol","publicKey","host","projectId"];const o=s.find((t=>{if(!n[t]){T.error(`Invalid Sentry Dsn: ${t} missing`);return true}return false}));if(o){return false}if(!r.match(/^\d+$/)){T.error(`Invalid Sentry Dsn: Invalid projectId ${r}`);return false}if(!$n(i)){T.error(`Invalid Sentry Dsn: Invalid protocol ${i}`);return false}if(e&&isNaN(parseInt(e,10))){T.error(`Invalid Sentry Dsn: Invalid port ${e}`);return false}return true}function Cn(t){const n=t.match(xn);return n?.[1]}function Mn(t){const n=typeof t==="string"?Dn(t):On(t);if(!n||!kn(n)){return undefined}return n}const Nn="_frozenDsc";function Rn(t,n){const e=n.getOptions();const{publicKey:r,host:i}=n.getDsn()||{};let s;if(e.orgId){s=String(e.orgId)}else if(i){s=Cn(i)}const o={environment:e.environment||vn,release:e.release,public_key:r,trace_id:t,org_id:s};n.emit("createDsc",o);return o}function Tn(t,n){const e=n.getPropagationContext();return e.dsc||Rn(e.traceId,t)}function An(t){const n=Ct();if(!n){return{}}const e=fn(t);const r=en(e);const i=r.data;const s=e.spanContext().traceState;const o=s?.get("sentry.sample_rate")??i[Rt]??i[Tt];function c(t){if(typeof o==="number"||typeof o==="string"){t.sample_rate=`${o}`}return t}const u=e[Nn];if(u){return c(u)}const f=s?.get("sentry.dsc");const a=f&&Wt(f);if(a){return c(a)}const l=Rn(t.spanContext().traceId,n);const h=i[Nt];const d=r.description;if(h!=="url"&&d){l.transaction=d}if(wn()){l.sampled=String(on(e));l.sample_rand=s?.get("sentry.sample_rand")??Kt(e).scope?.getPropagationContext().sampleRand.toString()}c(l);n.emit("createDsc",l,e);return l}function Ln(t,n=100,e=+Infinity){try{return Bn("",t,n,e)}catch(t){return{ERROR:`**non-serializable** (${t})`}}}function Pn(t,n=3,e=100*1024){const r=Ln(t,n);if(Gn(r)>e){return Pn(t,n-1,e)}return r}function Bn(t,n,e=+Infinity,r=+Infinity,i=Kn()){const[s,o]=i;if(n==null||["boolean","string"].includes(typeof n)||typeof n==="number"&&Number.isFinite(n)){return n}const c=Fn(t,n);if(!c.startsWith("[object ")){return c}if(n["__sentry_skip_normalization__"]){return n}const u=typeof n["__sentry_override_normalization_depth__"]==="number"?n["__sentry_override_normalization_depth__"]:e;if(u===0){return c.replace("object ","")}if(s(n)){return"[Circular ~]"}const f=n;if(f&&typeof f.toJSON==="function"){try{const t=f.toJSON();return Bn("",t,u-1,r,i)}catch(t){}}const a=Array.isArray(n)?[]:{};let l=0;const h=K(n);for(const t in h){if(!Object.prototype.hasOwnProperty.call(h,t)){continue}if(l>=r){a[t]="[MaxProperties ~]";break}const n=h[t];a[t]=Bn(t,n,u-1,r,i);l++}o(n);return a}function Fn(t,n){try{if(t==="domain"&&n&&typeof n==="object"&&n._events){return"[Domain]"}if(t==="domainEmitter"){return"[DomainEmitter]"}if(typeof global!=="undefined"&&n===global){return"[Global]"}if(typeof window!=="undefined"&&n===window){return"[Window]"}if(typeof document!=="undefined"&&n===document){return"[Document]"}if(w(n)){return"[VueViewModel]"}if(S(n)){return"[SyntheticEvent]"}if(typeof n==="number"&&!Number.isFinite(n)){return`[${n}]`}if(typeof n==="function"){return`[Function: ${Sn(n)}]`}if(typeof n==="symbol"){return`[${String(n)}]`}if(typeof n==="bigint"){return`[BigInt: ${String(n)}]`}const e=Un(n);if(/^HTML(\w*)Element$/.test(e)){return`[HTMLElement: ${e}]`}return`[object ${e}]`}catch(t){return`**non-serializable** (${t})`}}function Un(t){const n=Object.getPrototypeOf(t);return n?.constructor?n.constructor.name:"null prototype"}function zn(t){return~-encodeURI(t).split(/%..|./).length}function Gn(t){return zn(JSON.stringify(t))}function Kn(){const t=new WeakSet;function n(n){if(t.has(n)){return true}t.add(n);return false}function e(n){t.delete(n)}return[n,e]}var Vn;(function(t){const n=0;t[t["PENDING"]=n]="PENDING";const e=1;t[t["RESOLVED"]=e]="RESOLVED";const r=2;t[t["REJECTED"]=r]="REJECTED"})(Vn||(Vn={}));function Hn(t){return new Yn((n=>{n(t)}))}function Wn(t){return new Yn(((n,e)=>{e(t)}))}class Yn{constructor(t){this._state=Vn.PENDING;this._handlers=[];this._runExecutor(t)}then(t,n){return new Yn(((e,r)=>{this._handlers.push([false,n=>{if(!t){e(n)}else{try{e(t(n))}catch(t){r(t)}}},t=>{if(!n){r(t)}else{try{e(n(t))}catch(t){r(t)}}}]);this._executeHandlers()}))}catch(t){return this.then((t=>t),t)}finally(t){return new Yn(((n,e)=>{let r;let i;return this.then((n=>{i=false;r=n;if(t){t()}}),(n=>{i=true;r=n;if(t){t()}})).then((()=>{if(i){e(r);return}n(r)}))}))}_executeHandlers(){if(this._state===Vn.PENDING){return}const t=this._handlers.slice();this._handlers=[];t.forEach((t=>{if(t[0]){return}if(this._state===Vn.RESOLVED){t[1](this._value)}if(this._state===Vn.REJECTED){t[2](this._value)}t[0]=true}))}_runExecutor(t){const n=(t,n)=>{if(this._state!==Vn.PENDING){return}if(_(n)){void n.then(e,r);return}this._state=t;this._value=n;this._executeHandlers()};const e=t=>{n(Vn.RESOLVED,t)};const r=t=>{n(Vn.REJECTED,t)};try{t(e,r)}catch(t){r(t)}}}function Jn(n,e,r,i=0){return new Yn(((s,o)=>{const c=n[i];if(e===null||typeof c!=="function"){s(e)}else{const u=c({...e},r);t&&c.id&&u===null&&T.log(`Event processor "${c.id}" dropped event`);if(_(u)){void u.then((t=>Jn(n,t,r,i+1).then(s))).then(null,o)}else{void Jn(n,u,r,i+1).then(s).then(null,o)}}}))}let qn;let Qn;let Xn;function Zn(t){const n=e._sentryDebugIds;if(!n){return{}}const r=Object.keys(n);if(Xn&&r.length===Qn){return Xn}Qn=r.length;Xn=r.reduce(((e,r)=>{if(!qn){qn={}}const i=qn[r];if(i){e[i[0]]=i[1]}else{const i=t(r);for(let t=i.length-1;t>=0;t--){const s=i[t];const o=s?.filename;const c=n[r];if(o&&c){e[o]=c;qn[r]=[o,c];break}}}return e}),{});return Xn}function te(t,n){const{fingerprint:e,span:r,breadcrumbs:i,sdkProcessingMetadata:s}=n;re(t,n);if(r){oe(t,r)}ce(t,e);ie(t,i);se(t,s)}function ne(t,n){const{extra:e,tags:r,user:i,contexts:s,level:o,sdkProcessingMetadata:c,breadcrumbs:u,fingerprint:f,eventProcessors:a,attachments:l,propagationContext:h,transactionName:d,span:p}=n;ee(t,"extra",e);ee(t,"tags",r);ee(t,"user",i);ee(t,"contexts",s);t.sdkProcessingMetadata=at(t.sdkProcessingMetadata,c,2);if(o){t.level=o}if(d){t.transactionName=d}if(p){t.span=p}if(u.length){t.breadcrumbs=[...t.breadcrumbs,...u]}if(f.length){t.fingerprint=[...t.fingerprint,...f]}if(a.length){t.eventProcessors=[...t.eventProcessors,...a]}if(l.length){t.attachments=[...t.attachments,...l]}t.propagationContext={...t.propagationContext,...h}}function ee(t,n,e){t[n]=at(t[n],e,1)}function re(t,n){const{extra:e,tags:r,user:i,contexts:s,level:o,transactionName:c}=n;if(Object.keys(e).length){t.extra={...e,...t.extra}}if(Object.keys(r).length){t.tags={...r,...t.tags}}if(Object.keys(i).length){t.user={...i,...t.user}}if(Object.keys(s).length){t.contexts={...s,...t.contexts}}if(o){t.level=o}if(c&&t.type!=="transaction"){t.transaction=c}}function ie(t,n){const e=[...t.breadcrumbs||[],...n];t.breadcrumbs=e.length?e:undefined}function se(t,n){t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...n}}function oe(t,n){t.contexts={trace:Xt(n),...t.contexts};t.sdkProcessingMetadata={dynamicSamplingContext:An(n),...t.sdkProcessingMetadata};const e=fn(n);const r=en(e).description;if(r&&!t.transaction&&t.type==="transaction"){t.transaction=r}}function ce(t,n){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[];if(n){t.fingerprint=t.fingerprint.concat(n)}if(!t.fingerprint.length){delete t.fingerprint}}function ue(t,n,e,r,i,s){const{normalizeDepth:o=3,normalizeMaxBreadth:c=1e3}=t;const u={...n,event_id:n.event_id||e.event_id||J(),timestamp:n.timestamp||rt()};const f=e.integrations||t.integrations.map((t=>t.name));fe(u,t);he(u,f);if(i){i.emit("applyFrameMetadata",n)}if(n.type===undefined){ae(u,t.stackParser)}const a=pe(r,e.captureContext);if(e.mechanism){Z(u,e.mechanism)}const l=i?i.getEventProcessors():[];const h=Ot().getScopeData();if(s){const t=s.getScopeData();ne(h,t)}if(a){const t=a.getScopeData();ne(h,t)}const d=[...e.attachments||[],...h.attachments];if(d.length){e.attachments=d}te(u,h);const p=[...l,...h.eventProcessors];const y=Jn(p,u,e);return y.then((t=>{if(t){le(t)}if(typeof o==="number"&&o>0){return de(t,o,c)}return t}))}function fe(t,n){const{environment:e,release:r,dist:i,maxValueLength:s=250}=n;t.environment=t.environment||e||vn;if(!t.release&&r){t.release=r}if(!t.dist&&i){t.dist=i}const o=t.request;if(o?.url){o.url=A(o.url,s)}}function ae(t,n){const e=Zn(n);t.exception?.values?.forEach((t=>{t.stacktrace?.frames?.forEach((t=>{if(t.filename){t.debug_id=e[t.filename]}}))}))}function le(t){const n={};t.exception?.values?.forEach((t=>{t.stacktrace?.frames?.forEach((t=>{if(t.debug_id){if(t.abs_path){n[t.abs_path]=t.debug_id}else if(t.filename){n[t.filename]=t.debug_id}delete t.debug_id}}))}));if(Object.keys(n).length===0){return}t.debug_meta=t.debug_meta||{};t.debug_meta.images=t.debug_meta.images||[];const e=t.debug_meta.images;Object.entries(n).forEach((([t,n])=>{e.push({type:"sourcemap",code_file:t,debug_id:n})}))}function he(t,n){if(n.length>0){t.sdk=t.sdk||{};t.sdk.integrations=[...t.sdk.integrations||[],...n]}}function de(t,n,e){if(!t){return null}const r={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map((t=>({...t,...t.data&&{data:Ln(t.data,n,e)}})))},...t.user&&{user:Ln(t.user,n,e)},...t.contexts&&{contexts:Ln(t.contexts,n,e)},...t.extra&&{extra:Ln(t.extra,n,e)}};if(t.contexts?.trace&&r.contexts){r.contexts.trace=t.contexts.trace;if(t.contexts.trace.data){r.contexts.trace.data=Ln(t.contexts.trace.data,n,e)}}if(t.spans){r.spans=t.spans.map((t=>({...t,...t.data&&{data:Ln(t.data,n,e)}})))}if(t.contexts?.flags&&r.contexts){r.contexts.flags=Ln(t.contexts.flags,3,e)}return r}function pe(t,n){if(!n){return t}const e=t?t.clone():new bt;e.update(n);return e}function ye(t){{return undefined}}function me(t,n){return It().captureException(t,ye())}function be(t,n){const e=undefined;const r={captureContext:n};return It().captureMessage(t,e,r)}function ge(t,n){return It().captureEvent(t,n)}function _e(t,n){Dt().setContext(t,n)}function Se(t){Dt().setUser(t)}function Ee(t){const n=Dt();const r=It();const{userAgent:i}=e.navigator||{};const s=ot({user:r.getUser()||n.getUser(),...i&&{userAgent:i},...t});const o=n.getSession();if(o?.status==="ok"){ct(o,{status:"exited"})}we();n.setSession(s);return s}function we(){const t=Dt();const n=It();const e=n.getSession()||t.getSession();if(e){ut(e)}ve();t.setSession()}function ve(){const t=Dt();const n=Ct();const e=t.getSession();if(e&&n){n.captureSession(e)}}function xe(t=false){if(t){we();return}ve()}export{f as $,an as A,at as B,_ as C,t as D,y as E,N as F,e as G,n as H,Ct as I,G as J,Q as K,B as L,E as M,C as N,F as O,M as P,En as Q,st as R,Bt as S,c as T,U,v as V,D as W,z as X,kt as Y,X as Z,Z as _,_e as a,a as a0,l as a1,m as a2,Pn as a3,W as a4,h as a5,yn as a6,hn as a7,$ as a8,L as a9,O as aa,Ee as ab,xe as ac,ge as ad,mn as ae,be as b,me as c,In as d,i as e,Pt as f,Sn as g,rt as h,tt as i,p as j,ct as k,T as l,Mn as m,Ln as n,vn as o,Yn as p,ue as q,Hn as r,Se as s,Mt as t,J as u,Tn as v,It as w,Dt as x,Wn as y,d as z};
2
- //# sourceMappingURL=p-Bs-zO1WZ.js.map