ghost 5.23.0 → 5.24.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 (118) hide show
  1. package/components/{tryghost-adapter-manager-5.23.0.tgz → tryghost-adapter-manager-5.24.0.tgz} +0 -0
  2. package/components/{tryghost-api-framework-5.23.0.tgz → tryghost-api-framework-5.24.0.tgz} +0 -0
  3. package/components/{tryghost-api-version-compatibility-service-5.23.0.tgz → tryghost-api-version-compatibility-service-5.24.0.tgz} +0 -0
  4. package/components/tryghost-audience-feedback-5.24.0.tgz +0 -0
  5. package/components/{tryghost-bootstrap-socket-5.23.0.tgz → tryghost-bootstrap-socket-5.24.0.tgz} +0 -0
  6. package/components/{tryghost-constants-5.23.0.tgz → tryghost-constants-5.24.0.tgz} +0 -0
  7. package/components/{tryghost-custom-theme-settings-service-5.23.0.tgz → tryghost-custom-theme-settings-service-5.24.0.tgz} +0 -0
  8. package/components/{tryghost-data-generator-5.23.0.tgz → tryghost-data-generator-5.24.0.tgz} +0 -0
  9. package/components/tryghost-domain-events-5.24.0.tgz +0 -0
  10. package/components/{tryghost-email-analytics-provider-mailgun-5.23.0.tgz → tryghost-email-analytics-provider-mailgun-5.24.0.tgz} +0 -0
  11. package/components/tryghost-email-analytics-service-5.24.0.tgz +0 -0
  12. package/components/tryghost-email-content-generator-5.24.0.tgz +0 -0
  13. package/components/tryghost-email-events-5.24.0.tgz +0 -0
  14. package/components/tryghost-email-service-5.24.0.tgz +0 -0
  15. package/components/{tryghost-email-suppression-list-5.23.0.tgz → tryghost-email-suppression-list-5.24.0.tgz} +0 -0
  16. package/components/tryghost-express-dynamic-redirects-5.24.0.tgz +0 -0
  17. package/components/tryghost-extract-api-key-5.24.0.tgz +0 -0
  18. package/components/{tryghost-html-to-plaintext-5.23.0.tgz → tryghost-html-to-plaintext-5.24.0.tgz} +0 -0
  19. package/components/{tryghost-job-manager-5.23.0.tgz → tryghost-job-manager-5.24.0.tgz} +0 -0
  20. package/components/tryghost-link-redirects-5.24.0.tgz +0 -0
  21. package/components/tryghost-link-replacer-5.24.0.tgz +0 -0
  22. package/components/tryghost-link-tracking-5.24.0.tgz +0 -0
  23. package/components/{tryghost-magic-link-5.23.0.tgz → tryghost-magic-link-5.24.0.tgz} +0 -0
  24. package/components/tryghost-mailgun-client-5.24.0.tgz +0 -0
  25. package/components/{tryghost-member-attribution-5.23.0.tgz → tryghost-member-attribution-5.24.0.tgz} +0 -0
  26. package/components/tryghost-member-events-5.24.0.tgz +0 -0
  27. package/components/tryghost-members-api-5.24.0.tgz +0 -0
  28. package/components/{tryghost-members-csv-5.23.0.tgz → tryghost-members-csv-5.24.0.tgz} +0 -0
  29. package/components/tryghost-members-events-service-5.24.0.tgz +0 -0
  30. package/components/tryghost-members-importer-5.24.0.tgz +0 -0
  31. package/components/{tryghost-members-offers-5.23.0.tgz → tryghost-members-offers-5.24.0.tgz} +0 -0
  32. package/components/{tryghost-members-payments-5.23.0.tgz → tryghost-members-payments-5.24.0.tgz} +0 -0
  33. package/components/{tryghost-members-ssr-5.23.0.tgz → tryghost-members-ssr-5.24.0.tgz} +0 -0
  34. package/components/{tryghost-members-stripe-service-5.23.0.tgz → tryghost-members-stripe-service-5.24.0.tgz} +0 -0
  35. package/components/tryghost-minifier-5.24.0.tgz +0 -0
  36. package/components/tryghost-mw-api-version-mismatch-5.24.0.tgz +0 -0
  37. package/components/tryghost-mw-cache-control-5.24.0.tgz +0 -0
  38. package/components/tryghost-mw-error-handler-5.24.0.tgz +0 -0
  39. package/components/tryghost-mw-session-from-token-5.24.0.tgz +0 -0
  40. package/components/tryghost-mw-update-user-last-seen-5.24.0.tgz +0 -0
  41. package/components/tryghost-mw-vhost-5.24.0.tgz +0 -0
  42. package/components/tryghost-oembed-service-5.24.0.tgz +0 -0
  43. package/components/tryghost-package-json-5.24.0.tgz +0 -0
  44. package/components/tryghost-referrers-5.24.0.tgz +0 -0
  45. package/components/{tryghost-security-5.23.0.tgz → tryghost-security-5.24.0.tgz} +0 -0
  46. package/components/{tryghost-session-service-5.23.0.tgz → tryghost-session-service-5.24.0.tgz} +0 -0
  47. package/components/tryghost-settings-path-manager-5.24.0.tgz +0 -0
  48. package/components/tryghost-staff-service-5.24.0.tgz +0 -0
  49. package/components/{tryghost-stats-service-5.23.0.tgz → tryghost-stats-service-5.24.0.tgz} +0 -0
  50. package/components/{tryghost-tiers-5.23.0.tgz → tryghost-tiers-5.24.0.tgz} +0 -0
  51. package/components/{tryghost-update-check-service-5.23.0.tgz → tryghost-update-check-service-5.24.0.tgz} +0 -0
  52. package/components/tryghost-verification-trigger-5.24.0.tgz +0 -0
  53. package/components/tryghost-version-notifications-data-service-5.24.0.tgz +0 -0
  54. package/core/boot.js +2 -0
  55. package/core/built/admin/assets/{chunk.143.3dccaccd501e94a38af6.js → chunk.143.dd395a3e804fef2c3b21.js} +14 -14
  56. package/core/built/admin/assets/{chunk.178.f3466350ec3bacc7baa6.js → chunk.178.ec67ba4dc75bcec75c6f.js} +4 -4
  57. package/core/built/admin/assets/chunk.507.71dd4bfc4ccb354cc629.js +267 -0
  58. package/core/built/admin/assets/{chunk.613.695f31829550fb00d43c.js → chunk.613.6bbcc18224567657fc2e.js} +3089 -3074
  59. package/core/built/admin/assets/{chunk.613.695f31829550fb00d43c.js.LICENSE.txt → chunk.613.6bbcc18224567657fc2e.js.LICENSE.txt} +0 -0
  60. package/core/built/admin/assets/{ghost-64c5f32d4052347eed1ae73909b526ef.js → ghost-34bc21923675def87aa2516f72ca15d7.js} +99 -98
  61. package/core/built/admin/assets/{ghost-dark-681daaaef962911f5bcfdd51d7b4efdd.css → ghost-dark-a2076b08f23a9e6340072bc7b06ec9e7.css} +1 -1
  62. package/core/built/admin/assets/{ghost-bbf3150c788d19852f14fc518b8ebb93.css → ghost-f428683b68c0eea9042acc7c021641e0.css} +1 -1
  63. package/core/built/admin/assets/{vendor-45c4a02c5360deeb66a0438a8bc7c18e.js → vendor-04415b2b8a59aa9567dfa5d819ada71c.js} +315 -307
  64. package/core/built/admin/index.html +6 -6
  65. package/core/cli/record-test.js +47 -0
  66. package/core/frontend/apps/amp/lib/helpers/amp_content.js +5 -1
  67. package/core/server/api/endpoints/email-previews.js +10 -2
  68. package/core/server/api/endpoints/emails.js +20 -14
  69. package/core/server/data/importer/email-template.js +2 -2
  70. package/core/server/data/importer/import-manager.js +2 -1
  71. package/core/server/data/migrations/versions/5.24/2022-11-21-09-32-add-source-columns-to-emails-table.js +17 -0
  72. package/core/server/data/migrations/versions/5.24/2022-11-21-15-03-populate-source-column-with-html-for-emails.js +19 -0
  73. package/core/server/data/migrations/versions/5.24/2022-11-21-15-57-add-error-columns-for-email-batches.js +22 -0
  74. package/core/server/data/schema/schema.js +11 -0
  75. package/core/server/models/email.js +2 -1
  76. package/core/server/services/email-service/index.js +3 -0
  77. package/core/server/services/email-service/wrapper.js +64 -0
  78. package/core/server/services/email-suppression-list/service.js +11 -5
  79. package/core/server/services/mega/mega.js +16 -2
  80. package/core/server/services/members/middleware.js +18 -2
  81. package/core/server/services/members/service.js +1 -1
  82. package/core/server/services/members/utils.js +7 -0
  83. package/core/server/services/posts/posts-service.js +19 -6
  84. package/core/server/web/members/app.js +12 -9
  85. package/core/shared/sentry.js +25 -3
  86. package/ghost.js +1 -0
  87. package/package.json +108 -105
  88. package/playwright.config.js +19 -8
  89. package/yarn.lock +237 -277
  90. package/components/tryghost-audience-feedback-5.23.0.tgz +0 -0
  91. package/components/tryghost-domain-events-5.23.0.tgz +0 -0
  92. package/components/tryghost-email-analytics-service-5.23.0.tgz +0 -0
  93. package/components/tryghost-email-content-generator-5.23.0.tgz +0 -0
  94. package/components/tryghost-express-dynamic-redirects-5.23.0.tgz +0 -0
  95. package/components/tryghost-extract-api-key-5.23.0.tgz +0 -0
  96. package/components/tryghost-link-redirects-5.23.0.tgz +0 -0
  97. package/components/tryghost-link-replacer-5.23.0.tgz +0 -0
  98. package/components/tryghost-link-tracking-5.23.0.tgz +0 -0
  99. package/components/tryghost-mailgun-client-5.23.0.tgz +0 -0
  100. package/components/tryghost-member-events-5.23.0.tgz +0 -0
  101. package/components/tryghost-members-api-5.23.0.tgz +0 -0
  102. package/components/tryghost-members-events-service-5.23.0.tgz +0 -0
  103. package/components/tryghost-members-importer-5.23.0.tgz +0 -0
  104. package/components/tryghost-minifier-5.23.0.tgz +0 -0
  105. package/components/tryghost-mw-api-version-mismatch-5.23.0.tgz +0 -0
  106. package/components/tryghost-mw-cache-control-5.23.0.tgz +0 -0
  107. package/components/tryghost-mw-error-handler-5.23.0.tgz +0 -0
  108. package/components/tryghost-mw-session-from-token-5.23.0.tgz +0 -0
  109. package/components/tryghost-mw-update-user-last-seen-5.23.0.tgz +0 -0
  110. package/components/tryghost-mw-vhost-5.23.0.tgz +0 -0
  111. package/components/tryghost-oembed-service-5.23.0.tgz +0 -0
  112. package/components/tryghost-package-json-5.23.0.tgz +0 -0
  113. package/components/tryghost-referrers-5.23.0.tgz +0 -0
  114. package/components/tryghost-settings-path-manager-5.23.0.tgz +0 -0
  115. package/components/tryghost-staff-service-5.23.0.tgz +0 -0
  116. package/components/tryghost-verification-trigger-5.23.0.tgz +0 -0
  117. package/components/tryghost-version-notifications-data-service-5.23.0.tgz +0 -0
  118. package/core/built/admin/assets/chunk.174.3a133d51d9b45097c101.js +0 -245
package/core/boot.js CHANGED
@@ -291,6 +291,7 @@ async function initServices({config}) {
291
291
  const linkTracking = require('./server/services/link-tracking');
292
292
  const audienceFeedback = require('./server/services/audience-feedback');
293
293
  const emailSuppressionList = require('./server/services/email-suppression-list');
294
+ const emailService = require('./server/services/email-service');
294
295
 
295
296
  const urlUtils = require('./shared/url-utils');
296
297
 
@@ -311,6 +312,7 @@ async function initServices({config}) {
311
312
  permissions.init(),
312
313
  xmlrpc.listen(),
313
314
  slack.listen(),
315
+ emailService.init(),
314
316
  mega.listen(),
315
317
  webhooks.listen(),
316
318
  appService.init(),
@@ -9,23 +9,23 @@ return Array.isArray(e.tiers)&&(s=e.tiers.map((e=>e.name)).join(",")),{id:e.id,e
9
9
  return s.unparse(t,{columns:r})}},96616:(e,r,t)=>{var n={"./af":21516,"./af.js":21516,"./ar":14874,"./ar-dz":83760,"./ar-dz.js":83760,"./ar-kw":73410,"./ar-kw.js":73410,"./ar-ly":27521,"./ar-ly.js":27521,"./ar-ma":54215,"./ar-ma.js":54215,"./ar-sa":67839,"./ar-sa.js":67839,"./ar-tn":15676,"./ar-tn.js":15676,"./ar.js":14874,"./az":90189,"./az.js":90189,"./be":97510,"./be.js":97510,"./bg":49715,"./bg.js":49715,"./bm":53263,"./bm.js":53263,"./bn":86751,"./bn.js":86751,"./bo":22257,"./bo.js":22257,"./br":66699,"./br.js":66699,"./bs":46338,"./bs.js":46338,"./ca":75498,"./ca.js":75498,"./cs":36471,"./cs.js":36471,"./cv":12500,"./cv.js":12500,"./cy":621,"./cy.js":621,"./da":82493,"./da.js":82493,"./de":56272,"./de-at":70500,"./de-at.js":70500,"./de-ch":71393,"./de-ch.js":71393,"./de.js":56272,"./dv":90967,"./dv.js":90967,"./el":85716,"./el.js":85716,"./en-SG":72902,"./en-SG.js":72902,"./en-au":32645,"./en-au.js":32645,"./en-ca":10280,"./en-ca.js":10280,"./en-gb":31961,"./en-gb.js":31961,"./en-ie":19065,"./en-ie.js":19065,"./en-il":5628,"./en-il.js":5628,"./en-nz":81286,"./en-nz.js":81286,"./eo":37600,"./eo.js":37600,"./es":62109,"./es-do":94611,"./es-do.js":94611,"./es-us":86896,"./es-us.js":86896,"./es.js":62109,"./et":2962,"./et.js":2962,"./eu":30384,"./eu.js":30384,"./fa":35676,"./fa.js":35676,"./fi":18080,"./fi.js":18080,"./fo":99493,"./fo.js":99493,"./fr":59714,"./fr-ca":29035,"./fr-ca.js":29035,"./fr-ch":47594,"./fr-ch.js":47594,"./fr.js":59714,"./fy":10798,"./fy.js":10798,"./ga":62396,"./ga.js":62396,"./gd":95213,"./gd.js":95213,"./gl":85410,"./gl.js":85410,"./gom-latn":88448,"./gom-latn.js":88448,"./gu":97920,"./gu.js":97920,"./he":21797,"./he.js":21797,"./hi":35546,"./hi.js":35546,"./hr":17034,"./hr.js":17034,"./hu":80081,"./hu.js":80081,"./hy-am":2143,"./hy-am.js":2143,"./id":84909,"./id.js":84909,"./is":8002,"./is.js":8002,"./it":59658,"./it-ch":19126,"./it-ch.js":19126,"./it.js":59658,"./ja":47e3,"./ja.js":47e3,"./jv":97205,"./jv.js":97205,"./ka":31706,"./ka.js":31706,"./kk":34894,"./kk.js":34894,"./km":34679,"./km.js":34679,"./kn":89203,"./kn.js":89203,"./ko":87538,"./ko.js":87538,"./ku":62808,"./ku.js":62808,"./ky":95378,"./ky.js":95378,"./lb":12396,"./lb.js":12396,"./lo":90732,"./lo.js":90732,"./lt":59313,"./lt.js":59313,"./lv":8909,"./lv.js":8909,"./me":75539,"./me.js":75539,"./mi":7384,"./mi.js":7384,"./mk":75114,"./mk.js":75114,"./ml":12586,"./ml.js":12586,"./mn":66423,"./mn.js":66423,"./mr":27128,"./mr.js":27128,"./ms":45547,"./ms-my":38106,"./ms-my.js":38106,"./ms.js":45547,"./mt":20114,"./mt.js":20114,"./my":11573,"./my.js":11573,"./nb":49022,"./nb.js":49022,"./ne":88212,"./ne.js":88212,"./nl":47862,"./nl-be":19116,"./nl-be.js":19116,"./nl.js":47862,"./nn":34010,"./nn.js":34010,"./pa-in":80815,"./pa-in.js":80815,"./pl":18099,"./pl.js":18099,"./pt":14527,"./pt-br":81180,"./pt-br.js":81180,"./pt.js":14527,"./ro":74683,"./ro.js":74683,"./ru":41760,"./ru.js":41760,"./sd":79717,"./sd.js":79717,"./se":84167,"./se.js":84167,"./si":72568,"./si.js":72568,"./sk":13702,"./sk.js":13702,"./sl":49968,"./sl.js":49968,"./sq":77303,"./sq.js":77303,"./sr":4993,"./sr-cyrl":98961,"./sr-cyrl.js":98961,"./sr.js":4993,"./ss":6870,"./ss.js":6870,"./sv":92034,"./sv.js":92034,"./sw":51481,"./sw.js":51481,"./ta":208,"./ta.js":208,"./te":36006,"./te.js":36006,"./tet":68816,"./tet.js":68816,"./tg":77378,"./tg.js":77378,"./th":69125,"./th.js":69125,"./tl-ph":43406,"./tl-ph.js":43406,"./tlh":53361,"./tlh.js":53361,"./tr":84119,"./tr.js":84119,"./tzl":47778,"./tzl.js":47778,"./tzm":12617,"./tzm-latn":97187,"./tzm-latn.js":97187,"./tzm.js":12617,"./ug-cn":10438,"./ug-cn.js":10438,"./uk":38128,"./uk.js":38128,"./ur":15367,"./ur.js":15367,"./uz":51582,"./uz-latn":70009,"./uz-latn.js":70009,"./uz.js":51582,"./vi":49036,"./vi.js":49036,"./x-pseudo":11950,"./x-pseudo.js":11950,"./yo":48249,"./yo.js":48249,"./zh-cn":39512,"./zh-cn.js":39512,"./zh-hk":74792,"./zh-hk.js":74792,"./zh-tw":23931,"./zh-tw.js":23931}
10
10
  function s(e){var r=o(e)
11
11
  return t(r)}function o(e){if(!t.o(n,e)){var r=new Error("Cannot find module '"+e+"'")
12
- throw r.code="MODULE_NOT_FOUND",r}return n[e]}s.keys=function(){return Object.keys(n)},s.resolve=o,e.exports=s,s.id=96616},99269:(e,r,t)=>{var n,s
13
- e.exports=(n=_eai_d,s=_eai_r,window.emberAutoImportDynamic=function(e){return 1===arguments.length?s("_eai_dyn_"+e):s("_eai_dynt_"+e)(Array.prototype.slice.call(arguments,1))},window.emberAutoImportSync=function(e){return s("_eai_sync_"+e)(Array.prototype.slice.call(arguments,1))},n("@joeattardi/emoji-button",[],(function(){return t(28936)})),n("@sentry/browser",[],(function(){return t(85568)})),n("@sentry/utils",[],(function(){return t(59517)})),n("@tryghost/color-utils",[],(function(){return t(82485)})),n("@tryghost/helpers",[],(function(){return t(74752)})),n("@tryghost/kg-clean-basic-html",[],(function(){return t(89096)})),n("@tryghost/kg-parser-plugins",[],(function(){return t(3199)})),n("@tryghost/kg-parser-plugins/lib/cards/softReturn",[],(function(){return t(74557)})),n("@tryghost/limit-service",[],(function(){return t(12336)})),n("@tryghost/members-csv/lib/unparse",[],(function(){return t(91883)})),n("@tryghost/nql-lang",[],(function(){return t(75420)})),n("@tryghost/string",[],(function(){return t(57348)})),n("@tryghost/timezone-data",[],(function(){return t(28961)})),n("element-resize-detector",[],(function(){return t(87381)})),n("ember-css-transitions/modifiers/css-transition.js",[],(function(){return t(56112)})),n("ember-keyboard",[],(function(){return t(86771)})),n("ember-keyboard/helpers/if-key.js",[],(function(){return t(43481)})),n("ember-keyboard/helpers/on-key.js",[],(function(){return t(66415)})),n("ember-keyboard/modifiers/on-key.js",[],(function(){return t(4146)})),n("ember-keyboard/services/keyboard.js",[],(function(){return t(35466)})),n("ember-moment/helpers/-base.js",[],(function(){return t(76465)})),n("ember-moment/helpers/is-after.js",[],(function(){return t(876)})),n("ember-moment/helpers/is-before.js",[],(function(){return t(13971)})),n("ember-moment/helpers/is-between.js",[],(function(){return t(2063)})),n("ember-moment/helpers/is-same-or-after.js",[],(function(){return t(12915)})),n("ember-moment/helpers/is-same-or-before.js",[],(function(){return t(46102)})),n("ember-moment/helpers/is-same.js",[],(function(){return t(71465)})),n("ember-moment/helpers/moment-add.js",[],(function(){return t(64462)})),n("ember-moment/helpers/moment-calendar.js",[],(function(){return t(69021)})),n("ember-moment/helpers/moment-diff.js",[],(function(){return t(95198)})),n("ember-moment/helpers/moment-duration.js",[],(function(){return t(17216)})),n("ember-moment/helpers/moment-format.js",[],(function(){return t(99152)})),n("ember-moment/helpers/moment-from-now.js",[],(function(){return t(16396)})),n("ember-moment/helpers/moment-from.js",[],(function(){return t(48478)})),n("ember-moment/helpers/moment-subtract.js",[],(function(){return t(4647)})),n("ember-moment/helpers/moment-to-date.js",[],(function(){return t(18351)})),n("ember-moment/helpers/moment-to-now.js",[],(function(){return t(94612)})),n("ember-moment/helpers/moment-to.js",[],(function(){return t(91857)})),n("ember-moment/helpers/moment.js",[],(function(){return t(26852)})),n("ember-moment/helpers/now.js",[],(function(){return t(67842)})),n("ember-moment/helpers/unix.js",[],(function(){return t(29700)})),n("ember-moment/helpers/utc.js",[],(function(){return t(71755)})),n("ember-moment/services/moment.js",[],(function(){return t(27475)})),n("fast-deep-equal",[],(function(){return t(64710)})),n("focus-trap",[],(function(){return t(10755)})),n("intersection-observer-admin",[],(function(){return t(77577)})),n("markdown-it",[],(function(){return t(77647)})),n("markdown-it-footnote",[],(function(){return t(41297)})),n("markdown-it-lazy-headers",[],(function(){return t(72553)})),n("markdown-it-mark",[],(function(){return t(76519)})),n("markdown-it-sub",[],(function(){return t(8830)})),n("markdown-it-sup",[],(function(){return t(55977)})),n("moment-timezone",[],(function(){return t(19127)})),n("papaparse",[],(function(){return t(99112)})),n("raf-pool",[],(function(){return t(42586)})),n("react",[],(function(){return t(36058)})),n("react-dom",[],(function(){return t(18971)})),n("react-dom/client",[],(function(){return t(79793)})),n("tooltip.js",[],(function(){return t(15028)})),n("validator",[],(function(){return t(2228)})),void n("_eai_dyn_@sentry/tracing",[],(function(){return t.e(174).then(t.bind(t,43174))})))},24861:function(e,r){window._eai_r=require,window._eai_d=define},25831:e=>{"use strict"
12
+ throw r.code="MODULE_NOT_FOUND",r}return n[e]}s.keys=function(){return Object.keys(n)},s.resolve=o,e.exports=s,s.id=96616},35047:(e,r,t)=>{var n,s
13
+ e.exports=(n=_eai_d,s=_eai_r,window.emberAutoImportDynamic=function(e){return 1===arguments.length?s("_eai_dyn_"+e):s("_eai_dynt_"+e)(Array.prototype.slice.call(arguments,1))},window.emberAutoImportSync=function(e){return s("_eai_sync_"+e)(Array.prototype.slice.call(arguments,1))},n("@joeattardi/emoji-button",[],(function(){return t(28936)})),n("@sentry/browser",[],(function(){return t(85568)})),n("@sentry/utils",[],(function(){return t(59517)})),n("@tryghost/color-utils",[],(function(){return t(82485)})),n("@tryghost/helpers",[],(function(){return t(74752)})),n("@tryghost/kg-clean-basic-html",[],(function(){return t(89096)})),n("@tryghost/kg-parser-plugins",[],(function(){return t(3199)})),n("@tryghost/kg-parser-plugins/lib/cards/softReturn",[],(function(){return t(74557)})),n("@tryghost/limit-service",[],(function(){return t(12336)})),n("@tryghost/members-csv/lib/unparse",[],(function(){return t(91883)})),n("@tryghost/nql-lang",[],(function(){return t(75420)})),n("@tryghost/string",[],(function(){return t(57348)})),n("@tryghost/timezone-data",[],(function(){return t(28961)})),n("element-resize-detector",[],(function(){return t(87381)})),n("ember-css-transitions/modifiers/css-transition.js",[],(function(){return t(56112)})),n("ember-keyboard",[],(function(){return t(86771)})),n("ember-keyboard/helpers/if-key.js",[],(function(){return t(43481)})),n("ember-keyboard/helpers/on-key.js",[],(function(){return t(66415)})),n("ember-keyboard/modifiers/on-key.js",[],(function(){return t(4146)})),n("ember-keyboard/services/keyboard.js",[],(function(){return t(35466)})),n("ember-moment/helpers/-base.js",[],(function(){return t(76465)})),n("ember-moment/helpers/is-after.js",[],(function(){return t(876)})),n("ember-moment/helpers/is-before.js",[],(function(){return t(13971)})),n("ember-moment/helpers/is-between.js",[],(function(){return t(2063)})),n("ember-moment/helpers/is-same-or-after.js",[],(function(){return t(12915)})),n("ember-moment/helpers/is-same-or-before.js",[],(function(){return t(46102)})),n("ember-moment/helpers/is-same.js",[],(function(){return t(71465)})),n("ember-moment/helpers/moment-add.js",[],(function(){return t(64462)})),n("ember-moment/helpers/moment-calendar.js",[],(function(){return t(69021)})),n("ember-moment/helpers/moment-diff.js",[],(function(){return t(95198)})),n("ember-moment/helpers/moment-duration.js",[],(function(){return t(17216)})),n("ember-moment/helpers/moment-format.js",[],(function(){return t(99152)})),n("ember-moment/helpers/moment-from-now.js",[],(function(){return t(16396)})),n("ember-moment/helpers/moment-from.js",[],(function(){return t(48478)})),n("ember-moment/helpers/moment-subtract.js",[],(function(){return t(4647)})),n("ember-moment/helpers/moment-to-date.js",[],(function(){return t(18351)})),n("ember-moment/helpers/moment-to-now.js",[],(function(){return t(94612)})),n("ember-moment/helpers/moment-to.js",[],(function(){return t(91857)})),n("ember-moment/helpers/moment.js",[],(function(){return t(26852)})),n("ember-moment/helpers/now.js",[],(function(){return t(67842)})),n("ember-moment/helpers/unix.js",[],(function(){return t(29700)})),n("ember-moment/helpers/utc.js",[],(function(){return t(71755)})),n("ember-moment/services/moment.js",[],(function(){return t(27475)})),n("fast-deep-equal",[],(function(){return t(64710)})),n("focus-trap",[],(function(){return t(10755)})),n("intersection-observer-admin",[],(function(){return t(77577)})),n("markdown-it",[],(function(){return t(77647)})),n("markdown-it-footnote",[],(function(){return t(41297)})),n("markdown-it-lazy-headers",[],(function(){return t(72553)})),n("markdown-it-mark",[],(function(){return t(76519)})),n("markdown-it-sub",[],(function(){return t(8830)})),n("markdown-it-sup",[],(function(){return t(55977)})),n("moment-timezone",[],(function(){return t(19127)})),n("papaparse",[],(function(){return t(99112)})),n("raf-pool",[],(function(){return t(42586)})),n("react",[],(function(){return t(36058)})),n("react-dom",[],(function(){return t(18971)})),n("react-dom/client",[],(function(){return t(79793)})),n("tooltip.js",[],(function(){return t(15028)})),n("validator",[],(function(){return t(2228)})),void n("_eai_dyn_@sentry/tracing",[],(function(){return t.e(507).then(t.bind(t,42507))})))},45215:function(e,r){window._eai_r=require,window._eai_d=define},25831:e=>{"use strict"
14
14
  e.exports=require("ember-modifier")},11975:()=>{}},s={}
15
15
  function o(e){var r=s[e]
16
16
  if(void 0!==r)return r.exports
17
17
  var t=s[e]={id:e,loaded:!1,exports:{}}
18
18
  return n[e].call(t.exports,t,t.exports,o),t.loaded=!0,t.exports}o.m=n,o.c=s,e=[],o.O=(r,t,n,s)=>{if(!t){var i=1/0
19
- for(l=0;l<e.length;l++){for(var[t,n,s]=e[l],u=!0,a=0;a<t.length;a++)(!1&s||i>=s)&&Object.keys(o.O).every((e=>o.O[e](t[a])))?t.splice(a--,1):(u=!1,s<i&&(i=s))
20
- if(u){e.splice(l--,1)
19
+ for(c=0;c<e.length;c++){for(var[t,n,s]=e[c],u=!0,a=0;a<t.length;a++)(!1&s||i>=s)&&Object.keys(o.O).every((e=>o.O[e](t[a])))?t.splice(a--,1):(u=!1,s<i&&(i=s))
20
+ if(u){e.splice(c--,1)
21
21
  var m=n()
22
22
  void 0!==m&&(r=m)}}return r}s=s||0
23
- for(var l=e.length;l>0&&e[l-1][2]>s;l--)e[l]=e[l-1]
24
- e[l]=[t,n,s]},o.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e
25
- return o.d(r,{a:r}),r},o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((r,t)=>(o.f[t](e,r),r)),[])),o.u=e=>"chunk."+e+".3a133d51d9b45097c101.js",o.miniCssF=e=>{},o.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),r={},t="__ember_auto_import__:",o.l=(e,n,s,i)=>{if(r[e])r[e].push(n)
23
+ for(var c=e.length;c>0&&e[c-1][2]>s;c--)e[c]=e[c-1]
24
+ e[c]=[t,n,s]},o.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e
25
+ return o.d(r,{a:r}),r},o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((r,t)=>(o.f[t](e,r),r)),[])),o.u=e=>"chunk."+e+".71dd4bfc4ccb354cc629.js",o.miniCssF=e=>{},o.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),r={},t="__ember_auto_import__:",o.l=(e,n,s,i)=>{if(r[e])r[e].push(n)
26
26
  else{var u,a
27
- if(void 0!==s)for(var m=document.getElementsByTagName("script"),l=0;l<m.length;l++){var c=m[l]
28
- if(c.getAttribute("src")==e||c.getAttribute("data-webpack")==t+s){u=c
27
+ if(void 0!==s)for(var m=document.getElementsByTagName("script"),c=0;c<m.length;c++){var l=m[c]
28
+ if(l.getAttribute("src")==e||l.getAttribute("data-webpack")==t+s){u=l
29
29
  break}}u||(a=!0,(u=document.createElement("script")).charset="utf-8",u.timeout=120,o.nc&&u.setAttribute("nonce",o.nc),u.setAttribute("data-webpack",t+s),u.src=e),r[e]=[n]
30
30
  var j=(t,n)=>{u.onerror=u.onload=null,clearTimeout(d)
31
31
  var s=r[e]
@@ -40,10 +40,10 @@ o.l(i,(t=>{if(o.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var s=t&&("load"===t.ty
40
40
  u.message="Loading chunk "+r+" failed.\n("+s+": "+i+")",u.name="ChunkLoadError",u.type=s,u.request=i,n[1](u)}}),"chunk-"+r,r)}},o.O.j=r=>0===e[r]
41
41
  var r=(r,t)=>{var n,s,[i,u,a]=t,m=0
42
42
  if(i.some((r=>0!==e[r]))){for(n in u)o.o(u,n)&&(o.m[n]=u[n])
43
- if(a)var l=a(o)}for(r&&r(t);m<i.length;m++)s=i[m],o.o(e,s)&&e[s]&&e[s][0](),e[s]=0
44
- return o.O(l)},t=globalThis.webpackChunk_ember_auto_import_=globalThis.webpackChunk_ember_auto_import_||[]
45
- t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),o.O(void 0,[613],(()=>o(o.s=24861)))
46
- var i=o.O(void 0,[613],(()=>o(o.s=99269)))
43
+ if(a)var c=a(o)}for(r&&r(t);m<i.length;m++)s=i[m],o.o(e,s)&&e[s]&&e[s][0](),e[s]=0
44
+ return o.O(c)},t=globalThis.webpackChunk_ember_auto_import_=globalThis.webpackChunk_ember_auto_import_||[]
45
+ t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),o.O(void 0,[613],(()=>o(o.s=45215)))
46
+ var i=o.O(void 0,[613],(()=>o(o.s=35047)))
47
47
  i=o.O(i),__ember_auto_import__=i})()
48
48
 
49
- //# sourceMappingURL=chunk.143.3dccaccd501e94a38af6.map
49
+ //# sourceMappingURL=chunk.143.dd395a3e804fef2c3b21.map
@@ -1,11 +1,11 @@
1
- var __ember_auto_import__;(()=>{var r={24861:function(r,e){window._eai_r=require,window._eai_d=define},65373:r=>{r.exports=function(){_eai_d
1
+ var __ember_auto_import__;(()=>{var r={45215:function(r,e){window._eai_r=require,window._eai_d=define},64818:r=>{r.exports=function(){_eai_d
2
2
  var r=_eai_r
3
3
  window.emberAutoImportDynamic=function(e){return 1===arguments.length?r("_eai_dyn_"+e):r("_eai_dynt_"+e)(Array.prototype.slice.call(arguments,1))},window.emberAutoImportSync=function(e){return r("_eai_sync_"+e)(Array.prototype.slice.call(arguments,1))}}()}},e={}
4
4
  function t(_){var o=e[_]
5
5
  if(void 0!==o)return o.exports
6
6
  var i=e[_]={exports:{}}
7
- return r[_].call(i.exports,i,i.exports,t),i.exports}t(24861)
8
- var _=t(65373)
7
+ return r[_].call(i.exports,i,i.exports,t),i.exports}t(45215)
8
+ var _=t(64818)
9
9
  __ember_auto_import__=_})()
10
10
 
11
- //# sourceMappingURL=chunk.178.f3466350ec3bacc7baa6.map
11
+ //# sourceMappingURL=chunk.178.ec67ba4dc75bcec75c6f.map
@@ -0,0 +1,267 @@
1
+ "use strict";(globalThis.webpackChunk_ember_auto_import_=globalThis.webpackChunk_ember_auto_import_||[]).push([[507],{38285:(t,e,n)=>{n.d(e,{ro:()=>g,lb:()=>m})
2
+ var i=n(8651),s=n(88521),a=n(16140),r=n(30180),o=n(8142),c=n(48206)
3
+ function _(){const t=(0,c.x1)()
4
+ if(t){const e="internal_error";("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.log(`[Tracing] Transaction: ${e} -> Global error occured`),t.setStatus(e)}}var d=n(27448),p=n(21535)
5
+ function l(){const t=this.getScope()
6
+ if(t){const e=t.getSpan()
7
+ if(e)return{"sentry-trace":e.toTraceparent()}}return{}}function u(t,e,n){if(!(0,c.zu)(e))return t.sampled=!1,t
8
+ if(void 0!==t.sampled)return t.setMetadata({sampleRate:Number(t.sampled)}),t
9
+ let i
10
+ return"function"==typeof e.tracesSampler?(i=e.tracesSampler(n),t.setMetadata({sampleRate:Number(i)})):void 0!==n.parentSampled?i=n.parentSampled:(i=e.tracesSampleRate,t.setMetadata({sampleRate:Number(i)})),r=i,((0,a.i2)(r)||"number"!=typeof r&&"boolean"!=typeof r?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(r)} of type ${JSON.stringify(typeof r)}.`),0):!(r<0||r>1)||(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${r}.`),0))?i?(t.sampled=Math.random()<i,t.sampled?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.log(`[Tracing] starting ${t.op} transaction - ${t.name}`),t):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(i)})`),t)):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.log("[Tracing] Discarding transaction because "+("function"==typeof e.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0")),t.sampled=!1,t):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.warn("[Tracing] Discarding transaction because of invalid sample rate."),t.sampled=!1,t)
11
+ var r}function h(t,e){const n=this.getClient(),i=n&&n.getOptions()||{},a=i.instrumenter||"sentry",r=t.instrumenter||"sentry"
12
+ a!==r&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.error(`A transaction was started with instrumenter=\`${r}\`, but the SDK is configured with the \`${a}\` instrumenter.\nThe transaction will not be sampled. Please use the ${a} instrumentation to start transactions.`),t.sampled=!1)
13
+ let o=new p.Y(t,this)
14
+ return o=u(o,i,{parentSampled:t.parentSampled,transactionContext:t,...e}),o.sampled&&o.initSpanRecorder(i._experiments&&i._experiments.maxSpans),o}function m(t,e,n,i,s,a,r){const o=t.getClient(),c=o&&o.getOptions()||{}
15
+ let _=new d.io(e,t,n,i,r,s)
16
+ return _=u(_,c,{parentSampled:e.parentSampled,transactionContext:e,...a}),_.sampled&&_.initSpanRecorder(c._experiments&&c._experiments.maxSpans),_}function g(){!function(){const t=(0,i.cu)()
17
+ t.__SENTRY__&&(t.__SENTRY__.extensions=t.__SENTRY__.extensions||{},t.__SENTRY__.extensions.startTransaction||(t.__SENTRY__.extensions.startTransaction=h),t.__SENTRY__.extensions.traceHeaders||(t.__SENTRY__.extensions.traceHeaders=l))}(),(0,r.KV)()&&function(){const e=(0,i.cu)()
18
+ if(!e.__SENTRY__)return
19
+ const n={mongodb:()=>new((0,r.l$)(t,"./integrations/node/mongo").Mongo),mongoose:()=>new((0,r.l$)(t,"./integrations/node/mongo").Mongo)({mongoose:!0}),mysql:()=>new((0,r.l$)(t,"./integrations/node/mysql").Mysql),pg:()=>new((0,r.l$)(t,"./integrations/node/postgres").Postgres)},s=Object.keys(n).filter((t=>!!(0,r.$y)(t))).map((t=>{try{return n[t]()}catch(t){return}})).filter((t=>t))
20
+ s.length>0&&(e.__SENTRY__.integrations=[...e.__SENTRY__.integrations||[],...s])}(),(0,o.o)("error",_),(0,o.o)("unhandledrejection",_)}t=n.hmd(t)},27448:(t,e,n)=>{n.d(e,{hd:()=>_,io:()=>p,mg:()=>c,nT:()=>o})
21
+ var i=n(88468),s=n(88521),a=n(20484),r=n(21535)
22
+ const o=1e3,c=3e4,_=5e3
23
+ class d extends a.gB{constructor(t,e,n,i){super(i),this._pushActivity=t,this._popActivity=e,this.transactionSpanId=n}add(t){t.spanId!==this.transactionSpanId&&(t.finish=e=>{t.endTimestamp="number"==typeof e?e:(0,i._I)(),this._popActivity(t.spanId)},void 0===t.endTimestamp&&this._pushActivity(t.spanId)),super.add(t)}}class p extends r.Y{__init(){this.activities={}}__init2(){this._heartbeatCounter=0}__init3(){this._finished=!1}__init4(){this._beforeFinishCallbacks=[]}constructor(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:c,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:_,r=arguments.length>5&&void 0!==arguments[5]&&arguments[5]
24
+ super(t,e),this._idleHub=e,this._idleTimeout=n,this._finalTimeout=i,this._heartbeatInterval=a,this._onScope=r,p.prototype.__init.call(this),p.prototype.__init2.call(this),p.prototype.__init3.call(this),p.prototype.__init4.call(this),r&&(l(e),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.log(`Setting idle transaction on scope. Span ID: ${this.spanId}`),e.configureScope((t=>t.setSpan(this)))),this._startIdleTimeout(),setTimeout((()=>{this._finished||(this.setStatus("deadline_exceeded"),this.finish())}),this._finalTimeout)}finish(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,i._I)()
25
+ if(this._finished=!0,this.activities={},this.spanRecorder){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.log("[Tracing] finishing IdleTransaction",new Date(1e3*t).toISOString(),this.op)
26
+ for(const e of this._beforeFinishCallbacks)e(this,t)
27
+ this.spanRecorder.spans=this.spanRecorder.spans.filter((e=>{if(e.spanId===this.spanId)return!0
28
+ e.endTimestamp||(e.endTimestamp=t,e.setStatus("cancelled"),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(e,void 0,2)))
29
+ const n=e.startTimestamp<t
30
+ return n||("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.log("[Tracing] discarding Span since it happened after Transaction was finished",JSON.stringify(e,void 0,2)),n})),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.log("[Tracing] flushing IdleTransaction")}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.log("[Tracing] No active IdleTransaction")
31
+ return this._onScope&&l(this._idleHub),super.finish(t)}registerBeforeFinishCallback(t){this._beforeFinishCallbacks.push(t)}initSpanRecorder(t){if(!this.spanRecorder){const e=t=>{this._finished||this._pushActivity(t)},n=t=>{this._finished||this._popActivity(t)}
32
+ this.spanRecorder=new d(e,n,this.spanId,t),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.log("Starting heartbeat"),this._pingHeartbeat()}this.spanRecorder.add(this)}_cancelIdleTimeout(){this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0)}_startIdleTimeout(t){this._cancelIdleTimeout(),this._idleTimeoutID=setTimeout((()=>{this._finished||0!==Object.keys(this.activities).length||this.finish(t)}),this._idleTimeout)}_pushActivity(t){this._cancelIdleTimeout(),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.log(`[Tracing] pushActivity: ${t}`),this.activities[t]=!0,("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.log("[Tracing] new activities count",Object.keys(this.activities).length)}_popActivity(t){if(this.activities[t]&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.log(`[Tracing] popActivity ${t}`),delete this.activities[t],("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.log("[Tracing] new activities count",Object.keys(this.activities).length)),0===Object.keys(this.activities).length){const t=(0,i._I)()+this._idleTimeout/1e3
33
+ this._startIdleTimeout(t)}}_beat(){if(this._finished)return
34
+ const t=Object.keys(this.activities).join("")
35
+ t===this._prevHeartbeatString?this._heartbeatCounter+=1:this._heartbeatCounter=1,this._prevHeartbeatString=t,this._heartbeatCounter>=3?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this.finish()):this._pingHeartbeat()}_pingHeartbeat(){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`),setTimeout((()=>{this._beat()}),this._heartbeatInterval)}}function l(t){const e=t.getScope()
36
+ e&&e.getTransaction()&&e.setSpan(void 0)}},42507:(t,e,n)=>{n.r(e),n.d(e,{BROWSER_TRACING_INTEGRATION_ID:()=>rt,BrowserTracing:()=>ct,IdleTransaction:()=>G.io,Integrations:()=>i,Span:()=>pt.Dr,SpanStatus:()=>dt,TRACEPARENT_REGEXP:()=>x.K,Transaction:()=>lt.Y,addExtensionMethods:()=>s.ro,defaultRequestInstrumentationOptions:()=>st,extractTraceparentData:()=>x.q,getActiveTransaction:()=>U.x1,hasTracingEnabled:()=>U.zu,instrumentOutgoingRequests:()=>at,spanStatusfromHttpCode:()=>pt.Zd,startIdleTransaction:()=>s.lb,stripUrlQueryAndFragment:()=>o.rt})
37
+ var i={}
38
+ n.r(i),n.d(i,{Apollo:()=>N,BrowserTracing:()=>ct,Express:()=>p,GraphQL:()=>D,Mongo:()=>v,Mysql:()=>E,Postgres:()=>T,Prisma:()=>R})
39
+ var s=n(38285),a=n(2796),r=n(88521),o=n(72702),c=n(14205),_=n(16140)
40
+ function d(t){const e=(0,a.x)([t,"call",t=>t(),"access",t=>t.getClient,"call",t=>t(),"optionalAccess",t=>t.getOptions,"call",t=>t()])
41
+ return"sentry"!==((0,a.x)([e,"optionalAccess",t=>t.instrumenter])||"sentry")}class p{static __initStatic(){this.id="Express"}__init(){this.name=p.id}constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
42
+ p.prototype.__init.call(this),this._router=t.router||t.app,this._methods=(Array.isArray(t.methods)?t.methods:[]).concat("use")}setupOnce(t,e){this._router?d(e)?("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("Express Integration is skipped because of instrumenter configuration."):(function(t){(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).forEach((e=>h(t,e)))}(this._router,this._methods),function(t){const e="settings"in t
43
+ e&&void 0===t._router&&t.lazyrouter&&t.lazyrouter()
44
+ const n=e?t._router:t
45
+ if(!n)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.debug("Cannot instrument router for URL Parameterization (did not find a valid router)."),void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.debug("Routing instrumentation is currently only supported in Express 4."))
46
+ const i=Object.getPrototypeOf(n),s=i.process_params
47
+ i.process_params=function(t,e,n,i,r){n._reconstructedRoute||(n._reconstructedRoute="")
48
+ const{layerRoutePath:d,isRegex:p,isArray:l,numExtraSegments:u}=function(t){const e=(0,a.x)([t,"access",t=>t.route,"optionalAccess",t=>t.path]),n=(0,_.Kj)(e),i=Array.isArray(e)
49
+ if(!e)return{isRegex:n,isArray:i,numExtraSegments:0}
50
+ const s=i?Math.max(e.reduce(((t,e)=>t+(0,o.$A)(e.toString())),0)-(0,o.$A)(t.path||""),0):0
51
+ return{layerRoutePath:m(i,e),isRegex:n,isArray:i,numExtraSegments:s}}(t);(d||p||l)&&(n._hasParameters=!0)
52
+ const h=(d||t.path||"").split("/").filter((t=>t.length>0&&(p||l||!t.includes("*")))).join("/")
53
+ if(h&&h.length>0&&(n._reconstructedRoute+=`/${h}${p?"/":""}`),(0,o.$A)(n.originalUrl||"")+u===(0,o.$A)(n._reconstructedRoute)){n._hasParameters||n._reconstructedRoute!==n.originalUrl&&(n._reconstructedRoute=n.originalUrl)
54
+ const t=i.__sentry_transaction
55
+ if(t&&"custom"!==t.metadata.source){const e=n._reconstructedRoute||"/"
56
+ t.setName(...(0,c.oA)(n,{path:!0,method:!0,customRoute:e}))}}return s.call(this,t,e,n,i,r)}}(this._router)):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.error("ExpressIntegration is missing an Express instance")}}function l(t,e){const n=t.length
57
+ switch(n){case 2:return function(n,i){const s=i.__sentry_transaction
58
+ if(s){const n=s.startChild({description:t.name,op:`middleware.express.${e}`})
59
+ i.once("finish",(()=>{n.finish()}))}return t.call(this,n,i)}
60
+ case 3:return function(n,i,s){const r=i.__sentry_transaction,o=(0,a.x)([r,"optionalAccess",t=>t.startChild,"call",n=>n({description:t.name,op:`middleware.express.${e}`})])
61
+ t.call(this,n,i,(function(){(0,a.x)([o,"optionalAccess",t=>t.finish,"call",t=>t()])
62
+ for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n]
63
+ s.call(this,...e)}))}
64
+ case 4:return function(n,i,s,r){const o=s.__sentry_transaction,c=(0,a.x)([o,"optionalAccess",t=>t.startChild,"call",n=>n({description:t.name,op:`middleware.express.${e}`})])
65
+ t.call(this,n,i,s,(function(){(0,a.x)([c,"optionalAccess",t=>t.finish,"call",t=>t()])
66
+ for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n]
67
+ r.call(this,...e)}))}
68
+ default:throw new Error(`Express middleware takes 2-4 arguments. Got: ${n}`)}}function u(t,e){return t.map((t=>"function"==typeof t?l(t,e):Array.isArray(t)?t.map((t=>"function"==typeof t?l(t,e):t)):t))}function h(t,e){const n=t[e]
69
+ return t[e]=function(){for(var t=arguments.length,i=new Array(t),s=0;s<t;s++)i[s]=arguments[s]
70
+ return n.call(this,...u(i,e))},t}function m(t,e){return t?e.map((t=>t.toString())).join(","):e&&e.toString()}p.__initStatic()
71
+ var g=n(30180),f=n(15834)
72
+ class T{static __initStatic(){this.id="Postgres"}__init(){this.name=T.id}constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
73
+ T.prototype.__init.call(this),this._usePgNative=!!t.usePgNative}setupOnce(t,e){const n=(0,g.$y)("pg")
74
+ if(!n)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.error("Postgres Integration was unable to require `pg` package."))
75
+ if(d(e))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("Postgres Integration is skipped because of instrumenter configuration."))
76
+ if(this._usePgNative&&!(0,a.x)([n,"access",t=>t.native,"optionalAccess",t=>t.Client]))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.error("Postgres Integration was unable to access 'pg-native' bindings."))
77
+ const{Client:i}=this._usePgNative?n.native:n;(0,f.hl)(i.prototype,"query",(function(t){return function(n,i,s){const r=e().getScope(),o=(0,a.x)([r,"optionalAccess",t=>t.getSpan,"call",t=>t()]),c=(0,a.x)([o,"optionalAccess",t=>t.startChild,"call",t=>t({description:"string"==typeof n?n:n.text,op:"db"})])
78
+ if("function"==typeof s)return t.call(this,n,i,(function(t,e){(0,a.x)([c,"optionalAccess",t=>t.finish,"call",t=>t()]),s(t,e)}))
79
+ if("function"==typeof i)return t.call(this,n,(function(t,e){(0,a.x)([c,"optionalAccess",t=>t.finish,"call",t=>t()]),i(t,e)}))
80
+ const d=void 0!==i?t.call(this,n,i):t.call(this,n)
81
+ return(0,_.J8)(d)?d.then((t=>((0,a.x)([c,"optionalAccess",t=>t.finish,"call",t=>t()]),t))):((0,a.x)([c,"optionalAccess",t=>t.finish,"call",t=>t()]),d)}}))}}T.__initStatic()
82
+ class E{constructor(){E.prototype.__init.call(this)}static __initStatic(){this.id="Mysql"}__init(){this.name=E.id}setupOnce(t,e){const n=(0,g.$y)("mysql/lib/Connection.js")
83
+ n?d(e)?("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("Mysql Integration is skipped because of instrumenter configuration."):(0,f.hl)(n,"createQuery",(function(t){return function(n,i,s){const r=e().getScope(),o=(0,a.x)([r,"optionalAccess",t=>t.getSpan,"call",t=>t()]),c=(0,a.x)([o,"optionalAccess",t=>t.startChild,"call",t=>t({description:"string"==typeof n?n:n.sql,op:"db"})])
84
+ return"function"==typeof s?t.call(this,n,i,(function(t,e,n){(0,a.x)([c,"optionalAccess",t=>t.finish,"call",t=>t()]),s(t,e,n)})):"function"==typeof i?t.call(this,n,(function(t,e,n){(0,a.x)([c,"optionalAccess",t=>t.finish,"call",t=>t()]),i(t,e,n)})):t.call(this,n,i,s)}})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.error("Mysql Integration was unable to require `mysql` package.")}}E.__initStatic()
85
+ const y=["aggregate","bulkWrite","countDocuments","createIndex","createIndexes","deleteMany","deleteOne","distinct","drop","dropIndex","dropIndexes","estimatedDocumentCount","find","findOne","findOneAndDelete","findOneAndReplace","findOneAndUpdate","indexes","indexExists","indexInformation","initializeOrderedBulkOp","insertMany","insertOne","isCapped","mapReduce","options","parallelCollectionScan","rename","replaceOne","stats","updateMany","updateOne"],S={bulkWrite:["operations"],countDocuments:["query"],createIndex:["fieldOrSpec"],createIndexes:["indexSpecs"],deleteMany:["filter"],deleteOne:["filter"],distinct:["key","query"],dropIndex:["indexName"],find:["query"],findOne:["query"],findOneAndDelete:["filter"],findOneAndReplace:["filter","replacement"],findOneAndUpdate:["filter","update"],indexExists:["indexes"],insertMany:["docs"],insertOne:["doc"],mapReduce:["map","reduce"],rename:["newName"],replaceOne:["filter","doc"],updateMany:["filter","update"],updateOne:["filter","update"]}
86
+ class v{static __initStatic(){this.id="Mongo"}__init(){this.name=v.id}constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
87
+ v.prototype.__init.call(this),this._operations=Array.isArray(t.operations)?t.operations:y,this._describeOperations=!("describeOperations"in t)||t.describeOperations,this._useMongoose=!!t.useMongoose}setupOnce(t,e){const n=this._useMongoose?"mongoose":"mongodb",i=(0,g.$y)(n)
88
+ i?d(e)?("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("Mongo Integration is skipped because of instrumenter configuration."):this._instrumentOperations(i.Collection,this._operations,e):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.error(`Mongo Integration was unable to require \`${n}\` package.`)}_instrumentOperations(t,e,n){e.forEach((e=>this._patchOperation(t,e,n)))}_patchOperation(t,e,n){if(!(e in t.prototype))return
89
+ const i=this._getSpanContextFromOperationArguments.bind(this);(0,f.hl)(t.prototype,e,(function(t){return function(){for(var s=arguments.length,r=new Array(s),o=0;o<s;o++)r[o]=arguments[o]
90
+ const c=r[r.length-1],d=n().getScope(),p=(0,a.x)([d,"optionalAccess",t=>t.getSpan,"call",t=>t()])
91
+ if("function"!=typeof c||"mapReduce"===e&&2===r.length){const n=(0,a.x)([p,"optionalAccess",t=>t.startChild,"call",t=>t(i(this,e,r))]),s=t.call(this,...r)
92
+ return(0,_.J8)(s)?s.then((t=>((0,a.x)([n,"optionalAccess",t=>t.finish,"call",t=>t()]),t))):((0,a.x)([n,"optionalAccess",t=>t.finish,"call",t=>t()]),s)}const l=(0,a.x)([p,"optionalAccess",t=>t.startChild,"call",t=>t(i(this,e,r.slice(0,-1)))])
93
+ return t.call(this,...r.slice(0,-1),(function(t,e){(0,a.x)([l,"optionalAccess",t=>t.finish,"call",t=>t()]),c(t,e)}))}}))}_getSpanContextFromOperationArguments(t,e,n){const i={collectionName:t.collectionName,dbName:t.dbName,namespace:t.namespace},s={op:"db",description:e,data:i},a=S[e],r=Array.isArray(this._describeOperations)?this._describeOperations.includes(e):this._describeOperations
94
+ if(!a||!r)return s
95
+ try{if("mapReduce"===e){const[t,e]=n
96
+ i[a[0]]="string"==typeof t?t:t.name||"<anonymous>",i[a[1]]="string"==typeof e?e:e.name||"<anonymous>"}else for(let t=0;t<a.length;t++)i[a[t]]=JSON.stringify(n[t])}catch(t){}return s}}v.__initStatic()
97
+ class R{static __initStatic(){this.id="Prisma"}__init(){this.name=R.id}constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
98
+ var e
99
+ R.prototype.__init.call(this),(e=t.client)&&e.$use?this._client=t.client:("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn(`Unsupported Prisma client provided to PrismaIntegration. Provided client: ${JSON.stringify(t.client)}`)}setupOnce(t,e){this._client?d(e)?("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("Prisma Integration is skipped because of instrumenter configuration."):this._client.$use(((t,n)=>{const i=e().getScope(),s=(0,a.x)([i,"optionalAccess",t=>t.getSpan,"call",t=>t()]),r=t.action,o=t.model,c=(0,a.x)([s,"optionalAccess",t=>t.startChild,"call",t=>t({description:o?`${o} ${r}`:r,op:"db.sql.prisma"})]),d=n(t)
100
+ return(0,_.J8)(d)?d.then((t=>((0,a.x)([c,"optionalAccess",t=>t.finish,"call",t=>t()]),t))):((0,a.x)([c,"optionalAccess",t=>t.finish,"call",t=>t()]),d)})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.error("PrismaIntegration is missing a Prisma Client Instance")}}R.__initStatic()
101
+ class D{constructor(){D.prototype.__init.call(this)}static __initStatic(){this.id="GraphQL"}__init(){this.name=D.id}setupOnce(t,e){const n=(0,g.$y)("graphql/execution/execute.js")
102
+ n?d(e)?("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("GraphQL Integration is skipped because of instrumenter configuration."):(0,f.hl)(n,"execute",(function(t){return function(){const n=e().getScope(),i=(0,a.x)([n,"optionalAccess",t=>t.getSpan,"call",t=>t()]),s=(0,a.x)([i,"optionalAccess",t=>t.startChild,"call",t=>t({description:"execute",op:"graphql.execute"})]);(0,a.x)([n,"optionalAccess",t=>t.setSpan,"call",t=>t(s)])
103
+ for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c]
104
+ const d=t.call(this,...o)
105
+ return(0,_.J8)(d)?d.then((t=>((0,a.x)([s,"optionalAccess",t=>t.finish,"call",t=>t()]),(0,a.x)([n,"optionalAccess",t=>t.setSpan,"call",t=>t(i)]),t))):((0,a.x)([s,"optionalAccess",t=>t.finish,"call",t=>t()]),(0,a.x)([n,"optionalAccess",t=>t.setSpan,"call",t=>t(i)]),d)}})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.error("GraphQL Integration was unable to require graphql/execution package.")}}D.__initStatic()
106
+ var b=n(7209)
107
+ class N{constructor(){N.prototype.__init.call(this)}static __initStatic(){this.id="Apollo"}__init(){this.name=N.id}setupOnce(t,e){const n=(0,g.$y)("apollo-server-core")
108
+ n?d(e)?("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("Apollo Integration is skipped because of instrumenter configuration."):(0,f.hl)(n.ApolloServerBase.prototype,"constructSchema",(function(t){return function(){if(!this.config.resolvers)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&(this.config.schema?r.kg.warn("Apollo integration is not able to trace `ApolloServer` instances constructed via `schema` property."):this.config.modules&&r.kg.warn("Apollo integration is not able to trace `ApolloServer` instances constructed via `modules` property."),r.kg.error("Skipping tracing as no resolvers found on the `ApolloServer` instance.")),t.call(this)
109
+ const n=(0,b.lE)(this.config.resolvers)
110
+ return this.config.resolvers=n.map((t=>(Object.keys(t).forEach((n=>{Object.keys(t[n]).forEach((i=>{"function"==typeof t[n][i]&&function(t,e,n,i){(0,f.hl)(t[e],n,(function(t){return function(){const s=i().getScope(),r=(0,a.x)([s,"optionalAccess",t=>t.getSpan,"call",t=>t()]),o=(0,a.x)([r,"optionalAccess",t=>t.startChild,"call",t=>t({description:`${e}.${n}`,op:"graphql.resolve"})])
111
+ for(var c=arguments.length,d=new Array(c),p=0;p<c;p++)d[p]=arguments[p]
112
+ const l=t.call(this,...d)
113
+ return(0,_.J8)(l)?l.then((t=>((0,a.x)([o,"optionalAccess",t=>t.finish,"call",t=>t()]),t))):((0,a.x)([o,"optionalAccess",t=>t.finish,"call",t=>t()]),l)}}))}(t,n,i,e)}))})),t))),t.call(this)}})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.error("Apollo Integration was unable to require apollo-server-core package.")}}N.__initStatic()
114
+ var x=n(75492),B=n(22850),k=n(68256),G=n(27448),U=n(48206)
115
+ const Y=n(27083).n2
116
+ var A=n(4549),I=n(88468)
117
+ const C=(t,e,n)=>{let i,s
118
+ return a=>{e.value>=0&&(a||n)&&(s=e.value-(i||0),(s||void 0===i)&&(i=e.value,e.delta=s,t(e)))}},O=()=>Y.__WEB_VITALS_POLYFILL__?Y.performance&&(performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]||(()=>{const t=Y.performance.timing,e=Y.performance.navigation.type,n={entryType:"navigation",startTime:0,type:2==e?"back_forward":1===e?"reload":"navigate"}
119
+ for(const i in t)"navigationStart"!==i&&"toJSON"!==i&&(n[i]=Math.max(t[i]-t.navigationStart,0))
120
+ return n})()):Y.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],w=()=>{const t=O()
121
+ return t&&t.activationStart||0},$=(t,e)=>{const n=O()
122
+ let i="navigate"
123
+ return n&&(i=Y.document.prerendering||w()>0?"prerender":n.type.replace(/_/g,"-")),{name:t,value:void 0===e?-1:e,rating:"good",delta:0,entries:[],id:`v3-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:i}},M=(t,e,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(t)){const i=new PerformanceObserver((t=>{e(t.getEntries())}))
124
+ return i.observe(Object.assign({type:t,buffered:!0},n||{})),i}}catch(t){}},L=(t,e)=>{const n=i=>{"pagehide"!==i.type&&"hidden"!==Y.document.visibilityState||(t(i),e&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))}
125
+ addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)}
126
+ let P=-1
127
+ const q=()=>(P<0&&(P="hidden"!==Y.document.visibilityState||Y.document.prerendering?1/0:0,L((t=>{let{timeStamp:e}=t
128
+ P=e}),!0)),{get firstHiddenTime(){return P}}),H={}
129
+ function F(t){return"number"==typeof t&&isFinite(t)}function z(t,e){let{startTimestamp:n,...i}=e
130
+ return n&&t.startTimestamp>n&&(t.startTimestamp=n),t.startChild({startTimestamp:n,...i})}function j(){return Y&&Y.addEventListener&&Y.performance}let X,J,Q=0,W={}
131
+ function Z(){!function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}
132
+ const n=$("CLS",0)
133
+ let i,s=0,a=[]
134
+ const r=t=>{t.forEach((t=>{if(!t.hadRecentInput){const e=a[0],r=a[a.length-1]
135
+ s&&0!==a.length&&t.startTime-r.startTime<1e3&&t.startTime-e.startTime<5e3?(s+=t.value,a.push(t)):(s=t.value,a=[t]),s>n.value&&(n.value=s,n.entries=a,i&&i())}}))},o=M("layout-shift",r)
136
+ o&&(i=C(t,n,e.reportAllChanges),L((()=>{r(o.takeRecords()),i(!0)})))}((t=>{const e=t.entries.pop()
137
+ e&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("[Measurements] Adding CLS"),W.cls={value:t.value,unit:""},J=e)}))}function K(t){!function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}
138
+ const n=q(),i=$("LCP")
139
+ let s
140
+ const a=t=>{const e=t[t.length-1]
141
+ if(e){const t=Math.max(e.startTime-w(),0)
142
+ t<n.firstHiddenTime&&(i.value=t,i.entries=[e],s())}},r=M("largest-contentful-paint",a)
143
+ if(r){s=C(t,i,e.reportAllChanges)
144
+ const n=()=>{H[i.id]||(a(r.takeRecords()),r.disconnect(),H[i.id]=!0,s(!0))};["keydown","click"].forEach((t=>{addEventListener(t,n,{once:!0,capture:!0})})),L(n,!0)}}((t=>{const e=t.entries.pop()
145
+ e&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("[Measurements] Adding LCP"),W.lcp={value:t.value,unit:"millisecond"},X=e)}),{reportAllChanges:t})}function V(){!function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}
146
+ const n=q(),i=$("FID")
147
+ let s
148
+ const a=t=>{t.startTime<n.firstHiddenTime&&(i.value=t.processingStart-t.startTime,i.entries.push(t),s(!0))},r=t=>{t.forEach(a)},o=M("first-input",r)
149
+ s=C(t,i,e.reportAllChanges),o&&L((()=>{r(o.takeRecords()),o.disconnect()}),!0)}((t=>{const e=t.entries.pop()
150
+ if(!e)return
151
+ const n=(0,U.XL)(I.Z1),i=(0,U.XL)(e.startTime);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("[Measurements] Adding FID"),W.fid={value:t.value,unit:"millisecond"},W["mark.fid"]={value:n+i,unit:"second"}}))}function tt(t,e,n,i,s,a){const r=a?e[a]:e[`${n}End`],o=e[`${n}Start`]
152
+ o&&r&&z(t,{op:"browser",description:(0,A.h)(s,(()=>n)),startTimestamp:i+(0,U.XL)(o),endTimestamp:i+(0,U.XL)(r)})}var et=n(8142),nt=n(98902)
153
+ const it=["localhost",/^\//],st={traceFetch:!0,traceXHR:!0,tracingOrigins:it,tracePropagationTargets:it}
154
+ function at(t){const{traceFetch:e,traceXHR:n,tracePropagationTargets:i,tracingOrigins:s,shouldCreateSpanForRequest:a}={traceFetch:st.traceFetch,traceXHR:st.traceXHR,...t},r="function"==typeof a?a:t=>!0,o=t=>function(t,e){return(0,nt.U0)(t,e||it)}(t,i||s),c={}
155
+ e&&(0,et.o)("fetch",(t=>{!function(t,e,n,i){if(!(0,U.zu)()||!t.fetchData||!e(t.fetchData.url))return
156
+ if(t.endTimestamp){const e=t.fetchData.__span
157
+ if(!e)return
158
+ const n=i[e]
159
+ return void(n&&(t.response?n.setHttpStatus(t.response.status):t.error&&n.setStatus("internal_error"),n.finish(),delete i[e]))}const s=(0,U.x1)()
160
+ if(s){const e=s.startChild({data:{...t.fetchData,type:"fetch"},description:`${t.fetchData.method} ${t.fetchData.url}`,op:"http.client"})
161
+ t.fetchData.__span=e.spanId,i[e.spanId]=e
162
+ const a=t.args[0]
163
+ t.args[1]=t.args[1]||{}
164
+ const r=t.args[1]
165
+ n(t.fetchData.url)&&(r.headers=function(t,e,n,i){const s=(0,B.IQ)(e),a=n.toTraceparent(),r="undefined"!=typeof Request&&(0,_.V9)(t,Request)?t.headers:i.headers
166
+ if(r){if("undefined"!=typeof Headers&&(0,_.V9)(r,Headers)){const t=new Headers(r)
167
+ return t.append("sentry-trace",a),s&&t.append(B.bU,s),t}if(Array.isArray(r)){const t=[...r,["sentry-trace",a]]
168
+ return s&&t.push([B.bU,s]),t}{const t="baggage"in r?r.baggage:void 0,e=[]
169
+ return Array.isArray(t)?e.push(...t):t&&e.push(t),s&&e.push(s),{...r,"sentry-trace":a,baggage:e.length>0?e.join(","):void 0}}}return{"sentry-trace":a,baggage:s}}(a,s.getDynamicSamplingContext(),e,r),s.metadata.propagations+=1)}}(t,r,o,c)})),n&&(0,et.o)("xhr",(t=>{!function(t,e,n,i){if(!(0,U.zu)()||t.xhr&&t.xhr.__sentry_own_request__||!(t.xhr&&t.xhr.__sentry_xhr__&&e(t.xhr.__sentry_xhr__.url)))return
170
+ const s=t.xhr.__sentry_xhr__
171
+ if(t.endTimestamp){const e=t.xhr.__sentry_xhr_span_id__
172
+ if(!e)return
173
+ const n=i[e]
174
+ return void(n&&(n.setHttpStatus(s.status_code),n.finish(),delete i[e]))}const a=(0,U.x1)()
175
+ if(a){const e=a.startChild({data:{...s.data,type:"xhr",method:s.method,url:s.url},description:`${s.method} ${s.url}`,op:"http.client"})
176
+ if(t.xhr.__sentry_xhr_span_id__=e.spanId,i[t.xhr.__sentry_xhr_span_id__]=e,t.xhr.setRequestHeader&&n(t.xhr.__sentry_xhr__.url))try{t.xhr.setRequestHeader("sentry-trace",e.toTraceparent())
177
+ const n=a.getDynamicSamplingContext(),i=(0,B.IQ)(n)
178
+ i&&t.xhr.setRequestHeader(B.bU,i),a.metadata.propagations+=1}catch(t){}}}(t,r,o,c)}))}const rt="BrowserTracing",ot={idleTimeout:G.nT,finalTimeout:G.mg,heartbeatInterval:G.hd,markBackgroundTransactions:!0,routingInstrumentation:function(t){let e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2]
179
+ if(!Y||!Y.location)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn("Could not initialize routing instrumentation due to invalid location"))
180
+ let i,s=Y.location.href
181
+ e&&(i=t({name:Y.location.pathname,op:"pageload",metadata:{source:"url"}})),n&&(0,et.o)("history",(e=>{let{to:n,from:a}=e
182
+ void 0===a&&s&&-1!==s.indexOf(n)?s=void 0:a!==n&&(s=void 0,i&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log(`[Tracing] Finishing current transaction with op: ${i.op}`),i.finish()),i=t({name:Y.location.pathname,op:"navigation",metadata:{source:"url"}}))}))},startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,_experiments:{enableLongTask:!0},...st}
183
+ class ct{__init(){this.name=rt}constructor(t){ct.prototype.__init.call(this),this.options={...ot,...t},t&&!t.tracePropagationTargets&&t.tracingOrigins&&(this.options.tracePropagationTargets=t.tracingOrigins)
184
+ const{_metricOptions:e}=this.options
185
+ !function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0]
186
+ const e=j()
187
+ e&&I.Z1&&(e.mark&&Y.performance.mark("sentry-tracing-init"),Z(),K(t),V())}(e&&e._reportAllChanges),(0,a.x)([this,"access",t=>t.options,"access",t=>t._experiments,"optionalAccess",t=>t.enableLongTask])&&M("longtask",(t=>{for(const e of t){const t=(0,U.x1)()
188
+ if(!t)return
189
+ const n=(0,U.XL)(I.Z1+e.startTime),i=(0,U.XL)(e.duration)
190
+ t.startChild({description:"Main UI thread blocked",op:"ui.long-task",startTimestamp:n,endTimestamp:n+i})}}))}setupOnce(t,e){this._getCurrentHub=e
191
+ const{routingInstrumentation:n,startTransactionOnLocationChange:i,startTransactionOnPageLoad:s,markBackgroundTransactions:a,traceFetch:o,traceXHR:c,tracePropagationTargets:_,shouldCreateSpanForRequest:d}=this.options
192
+ n((t=>this._createRouteTransaction(t)),s,i),a&&(Y&&Y.document?Y.document.addEventListener("visibilitychange",(()=>{const t=(0,U.x1)()
193
+ if(Y.document.hidden&&t){const e="cancelled";("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log(`[Tracing] Transaction: ${e} -> since tab moved to the background, op: ${t.op}`),t.status||t.setStatus(e),t.setTag("visibilitychange","document.hidden"),t.finish()}})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn("[Tracing] Could not set up background tab detection due to lack of global document")),at({traceFetch:o,traceXHR:c,tracePropagationTargets:_,shouldCreateSpanForRequest:d})}_createRouteTransaction(t){if(!this._getCurrentHub)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn(`[Tracing] Did not create ${t.op} transaction because _getCurrentHub is invalid.`))
194
+ const{beforeNavigate:e,idleTimeout:n,finalTimeout:i,heartbeatInterval:a}=this.options,o="pageload"===t.op,c=o?_t("sentry-trace"):null,_=o?_t("baggage"):null,d=c?(0,x.q)(c):void 0,p=_?(0,B.EN)(_):void 0,l={...t,...d,metadata:{...t.metadata,dynamicSamplingContext:d&&!p?{}:p},trimEnd:!0},u="function"==typeof e?e(l):l,h=void 0===u?{...l,sampled:!1}:u
195
+ h.metadata=h.name!==l.name?{...h.metadata,source:"custom"}:h.metadata,!1===h.sampled&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log(`[Tracing] Will not send ${h.op} transaction because of beforeNavigate.`),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log(`[Tracing] Starting ${h.op} transaction on scope`)
196
+ const m=this._getCurrentHub(),{location:g}=Y,f=(0,s.lb)(m,h,n,i,!0,{location:g},a)
197
+ return f.registerBeforeFinishCallback((t=>{(function(t){const e=j()
198
+ if(!e||!Y.performance.getEntries||!I.Z1)return;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("[Tracing] Adding & adjusting spans using Performance API")
199
+ const n=(0,U.XL)(I.Z1),i=e.getEntries()
200
+ let s,a
201
+ if(i.slice(Q).forEach((e=>{const i=(0,U.XL)(e.startTime),o=(0,U.XL)(e.duration)
202
+ if(!("navigation"===t.op&&n+i<t.startTimestamp))switch(e.entryType){case"navigation":!function(t,e,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach((i=>{tt(t,e,i,n)})),tt(t,e,"secureConnection",n,"TLS/SSL","connectEnd"),tt(t,e,"fetch",n,"cache","domainLookupStart"),tt(t,e,"domainLookup",n,"DNS"),function(t,e,n){z(t,{op:"browser",description:"request",startTimestamp:n+(0,U.XL)(e.requestStart),endTimestamp:n+(0,U.XL)(e.responseEnd)}),z(t,{op:"browser",description:"response",startTimestamp:n+(0,U.XL)(e.responseStart),endTimestamp:n+(0,U.XL)(e.responseEnd)})}(t,e,n)}(t,e,n),s=n+(0,U.XL)(e.responseStart),a=n+(0,U.XL)(e.requestStart)
203
+ break
204
+ case"mark":case"paint":case"measure":{!function(t,e,n,i,s){const a=s+n,r=a+i
205
+ z(t,{description:e.name,endTimestamp:r,op:e.entryType,startTimestamp:a})}(t,e,i,o,n)
206
+ const s=q(),a=e.startTime<s.firstHiddenTime
207
+ "first-paint"===e.name&&a&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("[Measurements] Adding FP"),W.fp={value:e.startTime,unit:"millisecond"}),"first-contentful-paint"===e.name&&a&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("[Measurements] Adding FCP"),W.fcp={value:e.startTime,unit:"millisecond"})
208
+ break}case"resource":{const s=e.name.replace(Y.location.origin,"")
209
+ !function(t,e,n,i,s,a){if("xmlhttprequest"===e.initiatorType||"fetch"===e.initiatorType)return
210
+ const r={}
211
+ "transferSize"in e&&(r["Transfer Size"]=e.transferSize),"encodedBodySize"in e&&(r["Encoded Body Size"]=e.encodedBodySize),"decodedBodySize"in e&&(r["Decoded Body Size"]=e.decodedBodySize)
212
+ const o=a+i
213
+ z(t,{description:n,endTimestamp:o+s,op:e.initiatorType?`resource.${e.initiatorType}`:"resource.other",startTimestamp:o,data:r})}(t,e,s,i,o,n)
214
+ break}}})),Q=Math.max(i.length-1,0),function(t){const e=Y.navigator
215
+ if(!e)return
216
+ const n=e.connection
217
+ n&&(n.effectiveType&&t.setTag("effectiveConnectionType",n.effectiveType),n.type&&t.setTag("connectionType",n.type),F(n.rtt)&&(W["connection.rtt"]={value:n.rtt,unit:"millisecond"})),F(e.deviceMemory)&&t.setTag("deviceMemory",`${e.deviceMemory} GB`),F(e.hardwareConcurrency)&&t.setTag("hardwareConcurrency",String(e.hardwareConcurrency))}(t),"pageload"===t.op){"number"==typeof s&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("[Measurements] Adding TTFB"),W.ttfb={value:1e3*(s-t.startTimestamp),unit:"millisecond"},"number"==typeof a&&a<=s&&(W["ttfb.requestTime"]={value:1e3*(s-a),unit:"millisecond"})),["fcp","fp","lcp"].forEach((e=>{if(!W[e]||n>=t.startTimestamp)return
218
+ const i=W[e].value,s=n+(0,U.XL)(i),a=Math.abs(1e3*(s-t.startTimestamp)),o=a-i;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log(`[Measurements] Normalized ${e} from ${i} to ${a} (${o})`),W[e].value=a}))
219
+ const e=W["mark.fid"]
220
+ e&&W.fid&&(z(t,{description:"first input delay",endTimestamp:e.value+(0,U.XL)(W.fid.value),op:"ui.action",startTimestamp:e.value}),delete W["mark.fid"]),"fcp"in W||delete W.cls,Object.keys(W).forEach((e=>{t.setMeasurement(e,W[e].value,W[e].unit)})),function(t){X&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("[Measurements] Adding LCP Data"),X.element&&t.setTag("lcp.element",(0,k.Rt)(X.element)),X.id&&t.setTag("lcp.id",X.id),X.url&&t.setTag("lcp.url",X.url.trim().slice(0,200)),t.setTag("lcp.size",X.size)),J&&J.sources&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("[Measurements] Adding CLS Data"),J.sources.forEach(((e,n)=>t.setTag(`cls.source.${n+1}`,(0,k.Rt)(e.node)))))}(t)}X=void 0,J=void 0,W={}})(t),t.setTag("sentry_reportAllChanges",Boolean(this.options._metricOptions&&this.options._metricOptions._reportAllChanges))})),f}}function _t(t){const e=(0,k.qT)(`meta[name=${t}]`)
221
+ return e?e.getAttribute("content"):null}var dt,pt=n(20484)
222
+ !function(t){t.Ok="ok",t.DeadlineExceeded="deadline_exceeded",t.Unauthenticated="unauthenticated",t.PermissionDenied="permission_denied",t.NotFound="not_found",t.ResourceExhausted="resource_exhausted",t.InvalidArgument="invalid_argument",t.Unimplemented="unimplemented",t.Unavailable="unavailable",t.InternalError="internal_error",t.UnknownError="unknown_error",t.Cancelled="cancelled",t.AlreadyExists="already_exists",t.FailedPrecondition="failed_precondition",t.Aborted="aborted",t.OutOfRange="out_of_range",t.DataLoss="data_loss"}(dt||(dt={}))
223
+ var lt=n(21535);("undefined"==typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&(0,s.ro)()},20484:(t,e,n)=>{n.d(e,{Dr:()=>_,Zd:()=>d,gB:()=>c})
224
+ var i=n(4549),s=n(7209),a=n(88468),r=n(88521),o=n(15834)
225
+ class c{__init(){this.spans=[]}constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3
226
+ c.prototype.__init.call(this),this._maxlen=t}add(t){this.spans.length>this._maxlen?t.spanRecorder=void 0:this.spans.push(t)}}class _{__init2(){this.traceId=(0,s.DM)()}__init3(){this.spanId=(0,s.DM)().substring(16)}__init4(){this.startTimestamp=(0,a._I)()}__init5(){this.tags={}}__init6(){this.data={}}__init7(){this.instrumenter="sentry"}constructor(t){if(_.prototype.__init2.call(this),_.prototype.__init3.call(this),_.prototype.__init4.call(this),_.prototype.__init5.call(this),_.prototype.__init6.call(this),_.prototype.__init7.call(this),!t)return this
227
+ t.traceId&&(this.traceId=t.traceId),t.spanId&&(this.spanId=t.spanId),t.parentSpanId&&(this.parentSpanId=t.parentSpanId),"sampled"in t&&(this.sampled=t.sampled),t.op&&(this.op=t.op),t.description&&(this.description=t.description),t.data&&(this.data=t.data),t.tags&&(this.tags=t.tags),t.status&&(this.status=t.status),t.startTimestamp&&(this.startTimestamp=t.startTimestamp),t.endTimestamp&&(this.endTimestamp=t.endTimestamp),t.instrumenter&&(this.instrumenter=t.instrumenter)}startChild(t){const e=new _({...t,parentSpanId:this.spanId,sampled:this.sampled,traceId:this.traceId})
228
+ if(e.spanRecorder=this.spanRecorder,e.spanRecorder&&e.spanRecorder.add(e),e.transaction=this.transaction,("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&e.transaction){const n=`[Tracing] Starting '${t&&t.op||"< unknown op >"}' span on transaction '${e.transaction.name||"< unknown name >"}' (${e.transaction.spanId}).`
229
+ e.transaction.metadata.spanMetadata[e.spanId]={logMessage:n},r.kg.log(n)}return e}setTag(t,e){return this.tags={...this.tags,[t]:e},this}setData(t,e){return this.data={...this.data,[t]:e},this}setStatus(t){return this.status=t,this}setHttpStatus(t){this.setTag("http.status_code",String(t))
230
+ const e=d(t)
231
+ return"unknown_error"!==e&&this.setStatus(e),this}isSuccess(){return"ok"===this.status}finish(t){if(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&this.transaction&&this.transaction.spanId!==this.spanId){const{logMessage:t}=this.transaction.metadata.spanMetadata[this.spanId]
232
+ t&&r.kg.log(t.replace("Starting","Finishing"))}this.endTimestamp="number"==typeof t?t:(0,a._I)()}toTraceparent(){let t=""
233
+ return void 0!==this.sampled&&(t=this.sampled?"-1":"-0"),`${this.traceId}-${this.spanId}${t}`}toContext(){return(0,o.Jr)({data:this.data,description:this.description,endTimestamp:this.endTimestamp,op:this.op,parentSpanId:this.parentSpanId,sampled:this.sampled,spanId:this.spanId,startTimestamp:this.startTimestamp,status:this.status,tags:this.tags,traceId:this.traceId})}updateWithContext(t){return this.data=(0,i.h)(t.data,(()=>({}))),this.description=t.description,this.endTimestamp=t.endTimestamp,this.op=t.op,this.parentSpanId=t.parentSpanId,this.sampled=t.sampled,this.spanId=(0,i.h)(t.spanId,(()=>this.spanId)),this.startTimestamp=(0,i.h)(t.startTimestamp,(()=>this.startTimestamp)),this.status=t.status,this.tags=(0,i.h)(t.tags,(()=>({}))),this.traceId=(0,i.h)(t.traceId,(()=>this.traceId)),this}getTraceContext(){return(0,o.Jr)({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,trace_id:this.traceId})}toJSON(){return(0,o.Jr)({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,start_timestamp:this.startTimestamp,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this.endTimestamp,trace_id:this.traceId})}}function d(t){if(t<400&&t>=100)return"ok"
234
+ if(t>=400&&t<500)switch(t){case 401:return"unauthenticated"
235
+ case 403:return"permission_denied"
236
+ case 404:return"not_found"
237
+ case 409:return"already_exists"
238
+ case 413:return"failed_precondition"
239
+ case 429:return"resource_exhausted"
240
+ default:return"invalid_argument"}if(t>=500&&t<600)switch(t){case 501:return"unimplemented"
241
+ case 503:return"unavailable"
242
+ case 504:return"deadline_exceeded"
243
+ default:return"internal_error"}return"unknown_error"}},21535:(t,e,n)=>{n.d(e,{Y:()=>_})
244
+ var i=n(4549),s=n(8651),a=n(88468),r=n(88521),o=n(15834),c=n(20484)
245
+ class _ extends c.Dr{__init(){this._measurements={}}__init2(){this._contexts={}}__init3(){this._frozenDynamicSamplingContext=void 0}constructor(t,e){super(t),_.prototype.__init.call(this),_.prototype.__init2.call(this),_.prototype.__init3.call(this),this._hub=e||(0,s.Gd)(),this._name=t.name||"",this.metadata={source:"custom",...t.metadata,spanMetadata:{},changes:[],propagations:0},this._trimEnd=t.trimEnd,this.transaction=this
246
+ const n=this.metadata.dynamicSamplingContext
247
+ n&&(this._frozenDynamicSamplingContext={...n})}get name(){return this._name}set name(t){this.setName(t)}setName(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"custom"
248
+ t===this.name&&e===this.metadata.source||this.metadata.changes.push({source:this.metadata.source,timestamp:(0,a.ph)(),propagations:this.metadata.propagations}),this._name=t,this.metadata.source=e}initSpanRecorder(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3
249
+ this.spanRecorder||(this.spanRecorder=new c.gB(t)),this.spanRecorder.add(this)}setContext(t,e){null===e?delete this._contexts[t]:this._contexts[t]=e}setMeasurement(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:""
250
+ this._measurements[t]={value:e,unit:n}}setMetadata(t){this.metadata={...this.metadata,...t}}finish(t){if(void 0!==this.endTimestamp)return
251
+ if(this.name||(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this.name="<unlabeled transaction>"),super.finish(t),!0!==this.sampled){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled.")
252
+ const t=this._hub.getClient()
253
+ return void(t&&t.recordDroppedEvent("sample_rate","transaction"))}const e=this.spanRecorder?this.spanRecorder.spans.filter((t=>t!==this&&t.endTimestamp)):[]
254
+ this._trimEnd&&e.length>0&&(this.endTimestamp=e.reduce(((t,e)=>t.endTimestamp&&e.endTimestamp?t.endTimestamp>e.endTimestamp?t:e:t)).endTimestamp)
255
+ const n=this.metadata,i={contexts:{...this._contexts,trace:this.getTraceContext()},spans:e,start_timestamp:this.startTimestamp,tags:this.tags,timestamp:this.endTimestamp,transaction:this.name,type:"transaction",sdkProcessingMetadata:{...n,dynamicSamplingContext:this.getDynamicSamplingContext()},...n.source&&{transaction_info:{source:n.source,changes:n.changes,propagations:n.propagations}}}
256
+ return Object.keys(this._measurements).length>0&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),i.measurements=this._measurements),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log(`[Tracing] Finishing ${this.op} transaction: ${this.name}.`),this._hub.captureEvent(i)}toContext(){const t=super.toContext()
257
+ return(0,o.Jr)({...t,name:this.name,trimEnd:this._trimEnd})}updateWithContext(t){return super.updateWithContext(t),this.name=(0,i.h)(t.name,(()=>"")),this._trimEnd=t.trimEnd,this}getDynamicSamplingContext(){if(this._frozenDynamicSamplingContext)return this._frozenDynamicSamplingContext
258
+ const t=this._hub||(0,s.Gd)(),e=t&&t.getClient()
259
+ if(!e)return{}
260
+ const{environment:n,release:i}=e.getOptions()||{},{publicKey:a}=e.getDsn()||{},r=this.metadata.sampleRate,c=void 0!==r?r.toString():void 0,_=t.getScope(),{segment:d}=_&&_.getUser()||{},p=this.metadata.source,l=p&&"url"!==p?this.name:void 0
261
+ return(0,o.Jr)({environment:n,release:i,transaction:l,user_segment:d,public_key:a,trace_id:this.traceId,sample_rate:c})}}},48206:(t,e,n)=>{n.d(e,{XL:()=>r,x1:()=>a,zu:()=>s})
262
+ var i=n(8651)
263
+ function s(t){const e=(0,i.Gd)().getClient(),n=t||e&&e.getOptions()
264
+ return!!n&&("tracesSampleRate"in n||"tracesSampler"in n)}function a(t){const e=(t||(0,i.Gd)()).getScope()
265
+ return e&&e.getTransaction()}function r(t){return t/1e3}},4549:(t,e,n)=>{function i(t,e){return null!=t?t:e()}n.d(e,{h:()=>i})}}])
266
+
267
+ //# sourceMappingURL=chunk.507.71dd4bfc4ccb354cc629.map