ghost 5.18.0 → 5.19.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/components/tryghost-adapter-manager-5.19.1.tgz +0 -0
- package/components/tryghost-api-framework-5.19.1.tgz +0 -0
- package/components/tryghost-api-version-compatibility-service-5.19.1.tgz +0 -0
- package/components/tryghost-audience-feedback-5.19.1.tgz +0 -0
- package/components/tryghost-bootstrap-socket-5.19.1.tgz +0 -0
- package/components/tryghost-constants-5.19.1.tgz +0 -0
- package/components/tryghost-custom-theme-settings-service-5.19.1.tgz +0 -0
- package/components/tryghost-domain-events-5.19.1.tgz +0 -0
- package/components/tryghost-email-analytics-provider-mailgun-5.19.1.tgz +0 -0
- package/components/tryghost-email-analytics-service-5.19.1.tgz +0 -0
- package/components/tryghost-email-content-generator-5.19.1.tgz +0 -0
- package/components/tryghost-express-dynamic-redirects-5.19.1.tgz +0 -0
- package/components/tryghost-extract-api-key-5.19.1.tgz +0 -0
- package/components/tryghost-html-to-plaintext-5.19.1.tgz +0 -0
- package/components/{tryghost-job-manager-5.18.0.tgz → tryghost-job-manager-5.19.1.tgz} +0 -0
- package/components/tryghost-link-redirects-5.19.1.tgz +0 -0
- package/components/tryghost-link-replacer-5.19.1.tgz +0 -0
- package/components/tryghost-link-tracking-5.19.1.tgz +0 -0
- package/components/{tryghost-magic-link-5.18.0.tgz → tryghost-magic-link-5.19.1.tgz} +0 -0
- package/components/tryghost-mailgun-client-5.19.1.tgz +0 -0
- package/components/tryghost-member-analytics-service-5.19.1.tgz +0 -0
- package/components/tryghost-member-attribution-5.19.1.tgz +0 -0
- package/components/tryghost-member-events-5.19.1.tgz +0 -0
- package/components/tryghost-members-analytics-ingress-5.19.1.tgz +0 -0
- package/components/tryghost-members-api-5.19.1.tgz +0 -0
- package/components/tryghost-members-csv-5.19.1.tgz +0 -0
- package/components/tryghost-members-events-service-5.19.1.tgz +0 -0
- package/components/tryghost-members-importer-5.19.1.tgz +0 -0
- package/components/tryghost-members-offers-5.19.1.tgz +0 -0
- package/components/tryghost-members-payments-5.19.1.tgz +0 -0
- package/components/tryghost-members-ssr-5.19.1.tgz +0 -0
- package/components/tryghost-members-stripe-service-5.19.1.tgz +0 -0
- package/components/tryghost-minifier-5.19.1.tgz +0 -0
- package/components/tryghost-mw-api-version-mismatch-5.19.1.tgz +0 -0
- package/components/tryghost-mw-cache-control-5.19.1.tgz +0 -0
- package/components/{tryghost-mw-error-handler-5.18.0.tgz → tryghost-mw-error-handler-5.19.1.tgz} +0 -0
- package/components/tryghost-mw-session-from-token-5.19.1.tgz +0 -0
- package/components/tryghost-mw-update-user-last-seen-5.19.1.tgz +0 -0
- package/components/tryghost-mw-vhost-5.19.1.tgz +0 -0
- package/components/tryghost-oembed-service-5.19.1.tgz +0 -0
- package/components/tryghost-package-json-5.19.1.tgz +0 -0
- package/components/{tryghost-referrers-5.18.0.tgz → tryghost-referrers-5.19.1.tgz} +0 -0
- package/components/tryghost-security-5.19.1.tgz +0 -0
- package/components/tryghost-session-service-5.19.1.tgz +0 -0
- package/components/tryghost-settings-path-manager-5.19.1.tgz +0 -0
- package/components/tryghost-staff-service-5.19.1.tgz +0 -0
- package/components/tryghost-stats-service-5.19.1.tgz +0 -0
- package/components/tryghost-update-check-service-5.19.1.tgz +0 -0
- package/components/tryghost-verification-trigger-5.19.1.tgz +0 -0
- package/components/tryghost-version-notifications-data-service-5.19.1.tgz +0 -0
- package/core/boot.js +3 -1
- package/core/built/admin/assets/{chunk.143.6d23a3157dae7a9c899d.js → chunk.143.af6972210ca7d2bfdcff.js} +6 -6
- package/core/built/admin/assets/{chunk.174.e997dfffceeaa0ce4636.js → chunk.174.3a133d51d9b45097c101.js} +31 -31
- package/core/built/admin/assets/{chunk.178.52a9ca26217a593eda67.js → chunk.178.6f68a314b66338b41c62.js} +4 -4
- package/core/built/admin/assets/{chunk.427.4483d5bbdaf2a65888ac.js → chunk.613.f1d519ad47e7f9024263.js} +40 -47
- package/core/built/admin/assets/{chunk.427.4483d5bbdaf2a65888ac.js.LICENSE.txt → chunk.613.f1d519ad47e7f9024263.js.LICENSE.txt} +0 -0
- package/core/built/admin/assets/{ghost-7e6e9479705e7e772bb5ea3b6476cd52.js → ghost-5ce6f5a730c83c91fc258b12c537ea35.js} +555 -559
- package/core/built/admin/assets/{ghost-ff0bee94743aa886ce35305a5b46fac3.css → ghost-982146a4ada3a5af1981d1919ae01d08.css} +1 -1
- package/core/built/admin/assets/{ghost-dark-a41f7645a406e0df78b7152f3f805e66.css → ghost-dark-41929e4857de411a23597a9de49a4e4f.css} +1 -1
- package/core/built/admin/assets/{vendor-4da5d2584fbe1442e25e4271a5513f1c.js → vendor-5c7d7063620bec13668c4370145cd4b4.js} +41 -34
- package/core/built/admin/index.html +6 -6
- package/core/frontend/helpers/t.js +12 -0
- package/core/frontend/helpers/tpl/content-cta.hbs +1 -1
- package/core/frontend/public/robots.txt +1 -0
- package/core/frontend/services/sitemap/handler.js +1 -1
- package/core/frontend/services/sitemap/index-generator.js +1 -3
- package/core/frontend/src/comment-counts/js/comment-counts.js +8 -0
- package/core/server/api/endpoints/feedback-members.js +23 -0
- package/core/server/api/endpoints/index.js +5 -1
- package/core/server/api/endpoints/utils/serializers/input/posts.js +6 -1
- package/core/server/api/endpoints/utils/serializers/output/mappers/posts.js +8 -0
- package/core/server/data/exporter/table-lists.js +3 -1
- package/core/server/data/importer/handlers/json.js +21 -23
- package/core/server/data/importer/importers/data/base.js +1 -1
- package/core/server/data/migrations/versions/4.0/05-add-members-subscribe-events-table.js +1 -1
- package/core/server/data/migrations/versions/4.0/06-populate-members-subscribe-events-table.js +1 -1
- package/core/server/data/migrations/versions/4.0/11-add-members-paid-subscription-events-table.js +1 -1
- package/core/server/data/migrations/versions/4.0/13-add-members-payment-events-table.js +1 -1
- package/core/server/data/migrations/versions/4.0/17-populate-members-status-events-table.js +1 -1
- package/core/server/data/migrations/versions/4.0/22-solve-orphaned-webhooks.js +1 -1
- package/core/server/data/migrations/versions/4.0/25-populate-members-paid-subscription-events-table.js +1 -1
- package/core/server/data/migrations/versions/4.11/02-add-email-verification-required-setting.js +1 -1
- package/core/server/data/migrations/versions/4.12/01-add-email-only-column-to-posts-meta-table.js +1 -1
- package/core/server/data/migrations/versions/4.3/03-add-default-product.js +1 -1
- package/core/server/data/migrations/versions/4.3/04-attach-members-to-product.js +1 -1
- package/core/server/data/migrations/versions/4.3/06-add-stripe-prices-table.js +2 -2
- package/core/server/data/migrations/versions/4.3/08-migrate-members-signup-setting.js +1 -1
- package/core/server/data/migrations/versions/4.33/2022-01-14-11-51-add-default-free-tier.js +1 -1
- package/core/server/data/migrations/versions/4.42/2022-03-21-17-17-add.js +2 -2
- package/core/server/data/migrations/versions/4.43/2022-03-28-19-26-recreate-newsletter-table.js +5 -5
- package/core/server/data/migrations/versions/4.46/2022-04-13-13-00-add-default-newsletter.js +1 -1
- package/core/server/data/migrations/versions/4.46/2022-04-20-08-39-map-subscribers-to-default-newsletter.js +1 -1
- package/core/server/data/migrations/versions/4.7/03-add-labs-setting.js +1 -1
- package/core/server/data/migrations/versions/4.8/03-add-default-product-portal-products.js +1 -1
- package/core/server/data/migrations/versions/4.8/04-migrate-show-newsletter-header-setting.js +1 -1
- package/core/server/data/migrations/versions/5.0/2022-05-06-13-22-add-frontend-integration.js +1 -1
- package/core/server/data/migrations/versions/5.17/2022-09-29-12-39-add-track-clicks-column-to-emails.js +2 -2
- package/core/server/data/migrations/versions/5.19/2022-09-02-20-25-add-columns-to-products-table.js +19 -0
- package/core/server/data/migrations/versions/5.19/2022-09-02-20-52-backfill-new-product-columns.js +37 -0
- package/core/server/data/migrations/versions/5.19/2022-10-10-06-58-add-subscriptions-table.js +19 -0
- package/core/server/data/migrations/versions/5.19/2022-10-10-10-05-add-members-feedback-table.js +10 -0
- package/core/server/data/migrations/versions/5.19/2022-10-11-10-38-add-feedback-enabled-column-to-newsletters.js +7 -0
- package/core/server/data/schema/commands.js +3 -3
- package/core/server/data/schema/fixtures/fixtures.json +4 -1
- package/core/server/data/schema/schema.js +90 -24
- package/core/server/data/schema/validator.js +1 -1
- package/core/server/models/base/bookshelf.js +3 -4
- package/core/server/models/base/plugins/data-manipulation.js +1 -1
- package/core/server/models/base/plugins/events.js +1 -1
- package/core/server/models/base/utils.js +1 -1
- package/core/server/models/member-feedback.js +22 -0
- package/core/server/models/newsletter.js +3 -2
- package/core/server/models/post.js +24 -0
- package/core/server/models/settings.js +1 -1
- package/core/server/models/user.js +1 -1
- package/core/server/services/audience-feedback/FeedbackRepository.js +67 -0
- package/core/server/services/audience-feedback/index.js +33 -0
- package/core/server/services/bulk-email/bulk-email-processor.js +7 -1
- package/core/server/services/mail/GhostMailer.js +17 -1
- package/core/server/services/mega/feedback-buttons.js +69 -0
- package/core/server/services/mega/mega.js +1 -1
- package/core/server/services/mega/post-email-serializer.js +24 -4
- package/core/server/services/mega/template.js +3 -0
- package/core/server/services/members/middleware.js +40 -0
- package/core/server/services/notifications/notifications.js +1 -1
- package/core/server/services/settings/settings-service.js +1 -1
- package/core/server/services/themes/storage.js +1 -1
- package/core/server/web/members/app.js +12 -0
- package/core/shared/labs.js +4 -2
- package/package.json +111 -111
- package/yarn.lock +585 -498
- package/components/tryghost-adapter-manager-5.18.0.tgz +0 -0
- package/components/tryghost-api-framework-5.18.0.tgz +0 -0
- package/components/tryghost-api-version-compatibility-service-5.18.0.tgz +0 -0
- package/components/tryghost-bootstrap-socket-5.18.0.tgz +0 -0
- package/components/tryghost-constants-5.18.0.tgz +0 -0
- package/components/tryghost-custom-theme-settings-service-5.18.0.tgz +0 -0
- package/components/tryghost-domain-events-5.18.0.tgz +0 -0
- package/components/tryghost-email-analytics-provider-mailgun-5.18.0.tgz +0 -0
- package/components/tryghost-email-analytics-service-5.18.0.tgz +0 -0
- package/components/tryghost-email-content-generator-5.18.0.tgz +0 -0
- package/components/tryghost-express-dynamic-redirects-5.18.0.tgz +0 -0
- package/components/tryghost-extract-api-key-5.18.0.tgz +0 -0
- package/components/tryghost-html-to-plaintext-5.18.0.tgz +0 -0
- package/components/tryghost-link-redirects-5.18.0.tgz +0 -0
- package/components/tryghost-link-replacer-5.18.0.tgz +0 -0
- package/components/tryghost-link-tracking-5.18.0.tgz +0 -0
- package/components/tryghost-mailgun-client-5.18.0.tgz +0 -0
- package/components/tryghost-member-analytics-service-5.18.0.tgz +0 -0
- package/components/tryghost-member-attribution-5.18.0.tgz +0 -0
- package/components/tryghost-member-events-5.18.0.tgz +0 -0
- package/components/tryghost-members-analytics-ingress-5.18.0.tgz +0 -0
- package/components/tryghost-members-api-5.18.0.tgz +0 -0
- package/components/tryghost-members-csv-5.18.0.tgz +0 -0
- package/components/tryghost-members-events-service-5.18.0.tgz +0 -0
- package/components/tryghost-members-importer-5.18.0.tgz +0 -0
- package/components/tryghost-members-offers-5.18.0.tgz +0 -0
- package/components/tryghost-members-payments-5.18.0.tgz +0 -0
- package/components/tryghost-members-ssr-5.18.0.tgz +0 -0
- package/components/tryghost-members-stripe-service-5.18.0.tgz +0 -0
- package/components/tryghost-minifier-5.18.0.tgz +0 -0
- package/components/tryghost-mw-api-version-mismatch-5.18.0.tgz +0 -0
- package/components/tryghost-mw-cache-control-5.18.0.tgz +0 -0
- package/components/tryghost-mw-session-from-token-5.18.0.tgz +0 -0
- package/components/tryghost-mw-update-user-last-seen-5.18.0.tgz +0 -0
- package/components/tryghost-mw-vhost-5.18.0.tgz +0 -0
- package/components/tryghost-oembed-service-5.18.0.tgz +0 -0
- package/components/tryghost-package-json-5.18.0.tgz +0 -0
- package/components/tryghost-security-5.18.0.tgz +0 -0
- package/components/tryghost-session-service-5.18.0.tgz +0 -0
- package/components/tryghost-settings-path-manager-5.18.0.tgz +0 -0
- package/components/tryghost-staff-service-5.18.0.tgz +0 -0
- package/components/tryghost-stats-service-5.18.0.tgz +0 -0
- package/components/tryghost-update-check-service-5.18.0.tgz +0 -0
- package/components/tryghost-verification-trigger-5.18.0.tgz +0 -0
- package/components/tryghost-version-notifications-data-service-5.18.0.tgz +0 -0
package/README.md
CHANGED
|
@@ -80,7 +80,7 @@ Check out our [official documentation](https://ghost.org/docs/) for more informa
|
|
|
80
80
|
|
|
81
81
|
### Contributors & advanced developers
|
|
82
82
|
|
|
83
|
-
For anyone wishing to contribute to Ghost or to hack/customize core files we recommend following our full development setup guides: [Contributor guide](https://ghost.org/docs/contributing/) • [Developer setup](https://ghost.org/docs/install/source/)
|
|
83
|
+
For anyone wishing to contribute to Ghost or to hack/customize core files we recommend following our full development setup guides: [Contributor guide](https://ghost.org/docs/contributing/) • [Developer setup](https://ghost.org/docs/install/source/)
|
|
84
84
|
|
|
85
85
|
|
|
86
86
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/components/{tryghost-mw-error-handler-5.18.0.tgz → tryghost-mw-error-handler-5.19.1.tgz}
RENAMED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/core/boot.js
CHANGED
|
@@ -288,6 +288,7 @@ async function initServices({config}) {
|
|
|
288
288
|
const memberAttribution = require('./server/services/member-attribution');
|
|
289
289
|
const membersEvents = require('./server/services/members-events');
|
|
290
290
|
const linkTracking = require('./server/services/link-tracking');
|
|
291
|
+
const audienceFeedback = require('./server/services/audience-feedback');
|
|
291
292
|
|
|
292
293
|
const urlUtils = require('./shared/url-utils');
|
|
293
294
|
|
|
@@ -315,7 +316,8 @@ async function initServices({config}) {
|
|
|
315
316
|
apiUrl: urlUtils.urlFor('api', {type: 'admin'}, true)
|
|
316
317
|
}),
|
|
317
318
|
comments.init(),
|
|
318
|
-
linkTracking.init()
|
|
319
|
+
linkTracking.init(),
|
|
320
|
+
audienceFeedback.init()
|
|
319
321
|
]);
|
|
320
322
|
debug('End: Services');
|
|
321
323
|
|
|
@@ -9,8 +9,8 @@ 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},
|
|
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(
|
|
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},96601:(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))})))},37974: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
|
|
@@ -22,7 +22,7 @@ var m=n()
|
|
|
22
22
|
void 0!==m&&(r=m)}}return r}s=s||0
|
|
23
23
|
for(var l=e.length;l>0&&e[l-1][2]>s;l--)e[l]=e[l-1]
|
|
24
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+".
|
|
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)
|
|
26
26
|
else{var u,a
|
|
27
27
|
if(void 0!==s)for(var m=document.getElementsByTagName("script"),l=0;l<m.length;l++){var c=m[l]
|
|
28
28
|
if(c.getAttribute("src")==e||c.getAttribute("data-webpack")==t+s){u=c
|
|
@@ -42,8 +42,8 @@ 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
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
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,[
|
|
46
|
-
var i=o.O(void 0,[
|
|
45
|
+
t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),o.O(void 0,[613],(()=>o(o.s=37974)))
|
|
46
|
+
var i=o.O(void 0,[613],(()=>o(o.s=96601)))
|
|
47
47
|
i=o.O(i),__ember_auto_import__=i})()
|
|
48
48
|
|
|
49
|
-
//# sourceMappingURL=chunk.143.
|
|
49
|
+
//# sourceMappingURL=chunk.143.af6972210ca7d2bfdcff.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";(globalThis.webpackChunk_ember_auto_import_=globalThis.webpackChunk_ember_auto_import_||[]).push([[174],{38285:(t,e,n)=>{n.d(e,{ro:()=>g,lb:()=>m})
|
|
2
|
-
var i=n(
|
|
2
|
+
var i=n(8651),a=n(88521),s=n(16140),r=n(30180),o=n(8142),c=n(48206)
|
|
3
3
|
function _(){var t=(0,c.x1)()
|
|
4
4
|
if(t){var e="internal_error";("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log(`[Tracing] Transaction: ${e} -> Global error occured`),t.setStatus(e)}}var d=n(27448),p=n(21535)
|
|
5
5
|
function l(){var t=this.getScope()
|
|
@@ -10,25 +10,25 @@ let i
|
|
|
10
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,s.i2)(r)||"number"!=typeof r&&"boolean"!=typeof r?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.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__)&&a.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__)&&a.kg.log(`[Tracing] starting ${t.op} transaction - ${t.name}`),t):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.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__)&&a.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__)&&a.kg.warn("[Tracing] Discarding transaction because of invalid sample rate."),t.sampled=!1,t)
|
|
11
11
|
var r}function h(t,e){var n=this.getClient(),i=n&&n.getOptions()||{}
|
|
12
12
|
let a=new p.Y(t,this)
|
|
13
|
-
return a=u(a,i,{parentSampled:t.parentSampled,transactionContext:t,...e}),a.sampled&&a.initSpanRecorder(i._experiments&&i._experiments.maxSpans),a}function m(t,e,n,i,a,s){var
|
|
14
|
-
let
|
|
15
|
-
return
|
|
13
|
+
return a=u(a,i,{parentSampled:t.parentSampled,transactionContext:t,...e}),a.sampled&&a.initSpanRecorder(i._experiments&&i._experiments.maxSpans),a}function m(t,e,n,i,a,s,r){var o=t.getClient(),c=o&&o.getOptions()||{}
|
|
14
|
+
let _=new d.io(e,t,n,i,r,a)
|
|
15
|
+
return _=u(_,c,{parentSampled:e.parentSampled,transactionContext:e,...s}),_.sampled&&_.initSpanRecorder(c._experiments&&c._experiments.maxSpans),_}function g(){var e;(e=(0,i.cu)()).__SENTRY__&&(e.__SENTRY__.extensions=e.__SENTRY__.extensions||{},e.__SENTRY__.extensions.startTransaction||(e.__SENTRY__.extensions.startTransaction=h),e.__SENTRY__.extensions.traceHeaders||(e.__SENTRY__.extensions.traceHeaders=l)),(0,r.KV)()&&function(){var e=(0,i.cu)()
|
|
16
16
|
if(e.__SENTRY__){var 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)},a=Object.keys(n).filter((t=>!!(0,r.$y)(t))).map((t=>{try{return n[t]()}catch(t){return}})).filter((t=>t))
|
|
17
|
-
a.length>0&&(e.__SENTRY__.integrations=[...e.__SENTRY__.integrations||[],...a])}}(),(0,o.o)("error",_),(0,o.o)("unhandledrejection",_)}t=n.hmd(t)},27448:(t,e,n)=>{n.d(e,{io:()=>
|
|
18
|
-
var i=n(88468),a=n(88521),s=n(20484),r=n(21535),o=1e3,c=3e4
|
|
19
|
-
class
|
|
20
|
-
super(t,e),this._idleHub=e,this._idleTimeout=n,this._finalTimeout=i,this.
|
|
17
|
+
a.length>0&&(e.__SENTRY__.integrations=[...e.__SENTRY__.integrations||[],...a])}}(),(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})
|
|
18
|
+
var i=n(88468),a=n(88521),s=n(20484),r=n(21535),o=1e3,c=3e4,_=5e3
|
|
19
|
+
class d extends s.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,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:_,r=arguments.length>5&&void 0!==arguments[5]&&arguments[5]
|
|
20
|
+
super(t,e),this._idleHub=e,this._idleTimeout=n,this._finalTimeout=i,this._heartbeatInterval=s,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__)&&a.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)()
|
|
21
21
|
if(this._finished=!0,this.activities={},this.spanRecorder){for(var e of(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log("[Tracing] finishing IdleTransaction",new Date(1e3*t).toISOString(),this.op),this._beforeFinishCallbacks))e(this,t)
|
|
22
22
|
this.spanRecorder.spans=this.spanRecorder.spans.filter((e=>{if(e.spanId===this.spanId)return!0
|
|
23
23
|
e.endTimestamp||(e.endTimestamp=t,e.setStatus("cancelled"),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(e,void 0,2)))
|
|
24
24
|
var n=e.startTimestamp<t
|
|
25
25
|
return n||("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.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__)&&a.kg.log("[Tracing] flushing IdleTransaction")}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log("[Tracing] No active IdleTransaction")
|
|
26
|
-
return this._onScope&&
|
|
26
|
+
return this._onScope&&l(this._idleHub),super.finish(t)}registerBeforeFinishCallback(t){this._beforeFinishCallbacks.push(t)}initSpanRecorder(t){this.spanRecorder||(this.spanRecorder=new d((t=>{this._finished||this._pushActivity(t)}),(t=>{this._finished||this._popActivity(t)}),this.spanId,t),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.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__)&&a.kg.log(`[Tracing] pushActivity: ${t}`),this.activities[t]=!0,("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log("[Tracing] new activities count",Object.keys(this.activities).length)}_popActivity(t){if(this.activities[t]&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log(`[Tracing] popActivity ${t}`),delete this.activities[t],("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log("[Tracing] new activities count",Object.keys(this.activities).length)),0===Object.keys(this.activities).length){var e=(0,i._I)()+this._idleTimeout/1e3
|
|
27
27
|
this._startIdleTimeout(e)}}_beat(){if(!this._finished){var t=Object.keys(this.activities).join("")
|
|
28
|
-
t===this._prevHeartbeatString?this._heartbeatCounter+=1:this._heartbeatCounter=1,this._prevHeartbeatString=t,this._heartbeatCounter>=3?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.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__)&&a.kg.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`),setTimeout((()=>{this._beat()}),
|
|
29
|
-
e&&e.getTransaction()&&e.setSpan(void 0)}},43174:(t,e,n)=>{n.r(e),n.d(e,{BROWSER_TRACING_INTEGRATION_ID:()=>st,BrowserTracing:()=>ot,IdleTransaction:()=>k.io,Integrations:()=>i,Span:()=>dt.Dr,SpanStatus:()=>_t,TRACEPARENT_REGEXP:()=>
|
|
28
|
+
t===this._prevHeartbeatString?this._heartbeatCounter+=1:this._heartbeatCounter=1,this._prevHeartbeatString=t,this._heartbeatCounter>=3?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.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__)&&a.kg.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`),setTimeout((()=>{this._beat()}),this._heartbeatInterval)}}function l(t){var e=t.getScope()
|
|
29
|
+
e&&e.getTransaction()&&e.setSpan(void 0)}},43174:(t,e,n)=>{n.r(e),n.d(e,{BROWSER_TRACING_INTEGRATION_ID:()=>st,BrowserTracing:()=>ot,IdleTransaction:()=>k.io,Integrations:()=>i,Span:()=>dt.Dr,SpanStatus:()=>_t,TRACEPARENT_REGEXP:()=>N.K,Transaction:()=>pt.Y,addExtensionMethods:()=>a.ro,defaultRequestInstrumentationOptions:()=>nt,extractTraceparentData:()=>N.q,getActiveTransaction:()=>Y.x1,hasTracingEnabled:()=>Y.zu,instrumentOutgoingRequests:()=>it,spanStatusfromHttpCode:()=>dt.Zd,startIdleTransaction:()=>a.lb,stripUrlQueryAndFragment:()=>o.rt})
|
|
30
30
|
var i={}
|
|
31
|
-
n.r(i),n.d(i,{Apollo:()=>
|
|
31
|
+
n.r(i),n.d(i,{Apollo:()=>b,BrowserTracing:()=>ot,Express:()=>d,GraphQL:()=>R,Mongo:()=>S,Mysql:()=>T,Postgres:()=>f,Prisma:()=>y})
|
|
32
32
|
var a=n(38285),s=n(2796),r=n(88521),o=n(72702),c=n(14205),_=n(16140)
|
|
33
33
|
class d{static __initStatic(){this.id="Express"}__init(){this.name=d.id}constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
|
|
34
34
|
d.prototype.__init.call(this),this._router=t.router||t.app,this._methods=(Array.isArray(t.methods)?t.methods:[]).concat("use")}setupOnce(){this._router?(function(t){(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).forEach((e=>u(t,e)))}(this._router,this._methods),function(t){var e="settings"in t
|
|
@@ -92,13 +92,13 @@ for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c]
|
|
|
92
92
|
var d=t.call(this,...o)
|
|
93
93
|
return(0,_.J8)(d)?d.then((t=>((0,s.x)([a,"optionalAccess",t=>t.finish,"call",t=>t()]),(0,s.x)([n,"optionalAccess",t=>t.setSpan,"call",t=>t(i)]),t))):((0,s.x)([a,"optionalAccess",t=>t.finish,"call",t=>t()]),(0,s.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.")}}R.__initStatic()
|
|
94
94
|
var D=n(7209)
|
|
95
|
-
class
|
|
95
|
+
class b{constructor(){b.prototype.__init.call(this)}static __initStatic(){this.id="Apollo"}__init(){this.name=b.id}setupOnce(t,e){var n=(0,m.$y)("apollo-server-core")
|
|
96
96
|
n?(0,g.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)
|
|
97
97
|
var n=(0,D.lE)(this.config.resolvers)
|
|
98
98
|
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,g.hl)(t[e],n,(function(t){return function(){for(var a=i().getScope(),r=(0,s.x)([a,"optionalAccess",t=>t.getSpan,"call",t=>t()]),o=(0,s.x)([r,"optionalAccess",t=>t.startChild,"call",t=>t({description:`${e}.${n}`,op:"graphql.resolve"})]),c=arguments.length,d=new Array(c),p=0;p<c;p++)d[p]=arguments[p]
|
|
99
99
|
var l=t.call(this,...d)
|
|
100
|
-
return(0,_.J8)(l)?l.then((t=>((0,s.x)([o,"optionalAccess",t=>t.finish,"call",t=>t()]),t))):((0,s.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.")}}
|
|
101
|
-
var
|
|
100
|
+
return(0,_.J8)(l)?l.then((t=>((0,s.x)([o,"optionalAccess",t=>t.finish,"call",t=>t()]),t))):((0,s.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.")}}b.__initStatic()
|
|
101
|
+
var N=n(75492),x=n(22850),B=n(66627),G=n(68256),k=n(27448),Y=n(48206),U=(0,B.R)(),A=n(4549),I=n(88468),C=(t,e,n)=>{let i
|
|
102
102
|
return a=>{e.value>=0&&(a||n)&&(e.delta=e.value-(i||0),(e.delta||void 0===i)&&(i=e.value,t(e)))}},O=(t,e)=>({name:t,value:(0,A.h)(e,(()=>-1)),delta:0,entries:[],id:`v2-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`}),w=(t,e)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(t)){if("first-input"===t&&!("PerformanceEventTiming"in self))return
|
|
103
103
|
var n=new PerformanceObserver((t=>t.getEntries().map(e)))
|
|
104
104
|
return n.observe({type:t,buffered:!0}),n}}catch(t){}},$=(t,e)=>{var n=i=>{"pagehide"!==i.type&&"hidden"!==(0,B.R)().document.visibilityState||(t(i),e&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))}
|
|
@@ -140,17 +140,17 @@ t.fetchData.__span=s.spanId,n[s.spanId]=s
|
|
|
140
140
|
var r=t.args[0]
|
|
141
141
|
t.args[1]=t.args[1]||{}
|
|
142
142
|
var o=t.args[1]
|
|
143
|
-
o.headers=function(t,e,n,i){var a=(0,
|
|
144
|
-
if(r){if("undefined"!=typeof Headers&&(0,_.V9)(r,Headers))return(o=new Headers(r)).append("sentry-trace",s),a&&o.append(
|
|
143
|
+
o.headers=function(t,e,n,i){var a=(0,x.IQ)(e),s=n.toTraceparent(),r="undefined"!=typeof Request&&(0,_.V9)(t,Request)?t.headers:i.headers
|
|
144
|
+
if(r){if("undefined"!=typeof Headers&&(0,_.V9)(r,Headers))return(o=new Headers(r)).append("sentry-trace",s),a&&o.append(x.bU,a),o
|
|
145
145
|
if(Array.isArray(r)){var o=[...r,["sentry-trace",s]]
|
|
146
|
-
return a&&o.push([
|
|
146
|
+
return a&&o.push([x.bU,a]),o}var c="baggage"in r?r.baggage:void 0,d=[]
|
|
147
147
|
return Array.isArray(c)?d.push(...c):c&&d.push(c),a&&d.push(a),{...r,"sentry-trace":s,baggage:d.length>0?d.join(","):void 0}}return{"sentry-trace":s,baggage:a}}(r,a.getDynamicSamplingContext(),s,o),a.metadata.propagations+=1}}}(t,o,c)})),n&&(0,et.o)("xhr",(t=>{!function(t,e,n){if(!(!(0,Y.zu)()||t.xhr&&t.xhr.__sentry_own_request__)&&t.xhr&&t.xhr.__sentry_xhr__&&e(t.xhr.__sentry_xhr__.url)){var i=t.xhr.__sentry_xhr__
|
|
148
148
|
if(t.endTimestamp){var a=t.xhr.__sentry_xhr_span_id__
|
|
149
149
|
if(!a)return;(r=n[a])&&(r.setHttpStatus(i.status_code),r.finish(),delete n[a])}else{var s=(0,Y.x1)()
|
|
150
150
|
if(s){var r=s.startChild({data:{...i.data,type:"xhr",method:i.method,url:i.url},description:`${i.method} ${i.url}`,op:"http.client"})
|
|
151
151
|
if(t.xhr.__sentry_xhr_span_id__=r.spanId,n[t.xhr.__sentry_xhr_span_id__]=r,t.xhr.setRequestHeader)try{t.xhr.setRequestHeader("sentry-trace",r.toTraceparent())
|
|
152
|
-
var o=s.getDynamicSamplingContext(),c=(0,
|
|
153
|
-
c&&t.xhr.setRequestHeader(
|
|
152
|
+
var o=s.getDynamicSamplingContext(),c=(0,x.IQ)(o)
|
|
153
|
+
c&&t.xhr.setRequestHeader(x.bU,c),s.metadata.propagations+=1}catch(t){}}}}}(t,o,c)}))}var at=(0,B.R)(),st="BrowserTracing",rt={idleTimeout:k.nT,finalTimeout:k.mg,heartbeatInterval:k.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]
|
|
154
154
|
if(!at||!at.location)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn("Could not initialize routing instrumentation due to invalid location"))
|
|
155
155
|
let i,a=at.location.href
|
|
156
156
|
e&&(i=t({name:at.location.pathname,op:"pageload",metadata:{source:"url"}})),n&&(0,et.o)("history",(e=>{let{to:n,from:s}=e
|
|
@@ -167,13 +167,13 @@ e.startChild({description:"Main UI thread blocked",op:"ui.long-task",startTimest
|
|
|
167
167
|
const{routingInstrumentation:n,startTransactionOnLocationChange:i,startTransactionOnPageLoad:a,markBackgroundTransactions:s,traceFetch:o,traceXHR:c,tracingOrigins:_,shouldCreateSpanForRequest:d}=this.options
|
|
168
168
|
n((t=>this._createRouteTransaction(t)),a,i),s&&(U&&U.document?U.document.addEventListener("visibilitychange",(()=>{var t=(0,Y.x1)()
|
|
169
169
|
U.document.hidden&&t&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log(`[Tracing] Transaction: cancelled -> since tab moved to the background, op: ${t.op}`),t.status||t.setStatus("cancelled"),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")),it({traceFetch:o,traceXHR:c,tracingOrigins:_,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.`))
|
|
170
|
-
const{beforeNavigate:e,idleTimeout:n,finalTimeout:i}=this.options
|
|
171
|
-
var
|
|
172
|
-
|
|
173
|
-
var
|
|
174
|
-
const{location:
|
|
175
|
-
var
|
|
176
|
-
return
|
|
170
|
+
const{beforeNavigate:e,idleTimeout:n,finalTimeout:i,heartbeatInterval:s}=this.options
|
|
171
|
+
var o="pageload"===t.op,c=o?ct("sentry-trace"):null,_=o?ct("baggage"):null,d=c?(0,N.q)(c):void 0,p=_?(0,x.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
|
|
172
|
+
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`)
|
|
173
|
+
var m=this._getCurrentHub()
|
|
174
|
+
const{location:g}=(0,B.R)()
|
|
175
|
+
var f=(0,a.lb)(m,h,n,i,!0,{location:g},s)
|
|
176
|
+
return f.registerBeforeFinishCallback((t=>{(function(t){var e=F()
|
|
177
177
|
if(!e||!z.performance.getEntries||!I.Z1)return;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("[Tracing] Adding & adjusting spans using Performance API")
|
|
178
178
|
var n=(0,Y.XL)(I.Z1),i=e.getEntries()
|
|
179
179
|
let a,s
|
|
@@ -193,7 +193,7 @@ H(t,{description:n,endTimestamp:o+a,op:e.initiatorType?`resource.${e.initiatorTy
|
|
|
193
193
|
if(e){var n=e.connection
|
|
194
194
|
n&&(n.effectiveType&&t.setTag("effectiveConnectionType",n.effectiveType),n.type&&t.setTag("connectionType",n.type),P(n.rtt)&&(W["connection.rtt"]={value:n.rtt,unit:"millisecond"})),P(e.deviceMemory)&&t.setTag("deviceMemory",`${e.deviceMemory} GB`),P(e.hardwareConcurrency)&&t.setTag("hardwareConcurrency",String(e.hardwareConcurrency))}}(t),"pageload"===t.op){"number"==typeof a&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("[Measurements] Adding TTFB"),W.ttfb={value:1e3*(a-t.startTimestamp),unit:"millisecond"},"number"==typeof s&&s<=a&&(W["ttfb.requestTime"]={value:1e3*(a-s),unit:"millisecond"})),["fcp","fp","lcp"].forEach((e=>{if(W[e]&&!(n>=t.startTimestamp)){var i=W[e].value,a=n+(0,Y.XL)(i),s=Math.abs(1e3*(a-t.startTimestamp)),o=s-i;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log(`[Measurements] Normalized ${e} from ${i} to ${s} (${o})`),W[e].value=s}}))
|
|
195
195
|
var o=W["mark.fid"]
|
|
196
|
-
o&&W.fid&&(H(t,{description:"first input delay",endTimestamp:o.value+(0,Y.XL)(W.fid.value),op:"ui.action",startTimestamp:o.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){j&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("[Measurements] Adding LCP Data"),j.element&&t.setTag("lcp.element",(0,G.Rt)(j.element)),j.id&&t.setTag("lcp.id",j.id),j.url&&t.setTag("lcp.url",j.url.trim().slice(0,200)),t.setTag("lcp.size",j.size)),X&&X.sources&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("[Measurements] Adding CLS Data"),X.sources.forEach(((e,n)=>t.setTag(`cls.source.${n+1}`,(0,G.Rt)(e.node)))))}(t)}j=void 0,X=void 0,W={}})(t),t.setTag("sentry_reportAllChanges",Boolean(this.options._metricOptions&&this.options._metricOptions._reportAllChanges))})),
|
|
196
|
+
o&&W.fid&&(H(t,{description:"first input delay",endTimestamp:o.value+(0,Y.XL)(W.fid.value),op:"ui.action",startTimestamp:o.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){j&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("[Measurements] Adding LCP Data"),j.element&&t.setTag("lcp.element",(0,G.Rt)(j.element)),j.id&&t.setTag("lcp.id",j.id),j.url&&t.setTag("lcp.url",j.url.trim().slice(0,200)),t.setTag("lcp.size",j.size)),X&&X.sources&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("[Measurements] Adding CLS Data"),X.sources.forEach(((e,n)=>t.setTag(`cls.source.${n+1}`,(0,G.Rt)(e.node)))))}(t)}j=void 0,X=void 0,W={}})(t),t.setTag("sentry_reportAllChanges",Boolean(this.options._metricOptions&&this.options._metricOptions._reportAllChanges))})),f}}function ct(t){var e=(0,G.qT)(`meta[name=${t}]`)
|
|
197
197
|
return e?e.getAttribute("content"):null}var _t,dt=n(20484)
|
|
198
198
|
!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"}(_t||(_t={}))
|
|
199
199
|
var pt=n(21535);("undefined"==typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&(0,a.ro)()},20484:(t,e,n)=>{n.d(e,{Dr:()=>_,Zd:()=>d,gB:()=>c})
|
|
@@ -217,7 +217,7 @@ default:return"invalid_argument"}if(t>=500&&t<600)switch(t){case 501:return"unim
|
|
|
217
217
|
case 503:return"unavailable"
|
|
218
218
|
case 504:return"deadline_exceeded"
|
|
219
219
|
default:return"internal_error"}return"unknown_error"}},21535:(t,e,n)=>{n.d(e,{Y:()=>_})
|
|
220
|
-
var i=n(4549),a=n(
|
|
220
|
+
var i=n(4549),a=n(8651),s=n(88468),r=n(88521),o=n(15834),c=n(20484)
|
|
221
221
|
class _ extends c.Dr{__init(){this._measurements={}}__init2(){this._frozenDynamicSamplingContext=void 0}constructor(t,e){super(t),_.prototype.__init.call(this),_.prototype.__init2.call(this),this._hub=e||(0,a.Gd)(),this._name=t.name||"",this.metadata={source:"custom",...t.metadata,spanMetadata:{},changes:[],propagations:0},this._trimEnd=t.trimEnd,this.transaction=this
|
|
222
222
|
var n=this.metadata.dynamicSamplingContext
|
|
223
223
|
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"
|
|
@@ -237,9 +237,9 @@ var r=this.metadata.sampleRate,c=void 0!==r?r.toString():void 0,_=t.getScope()
|
|
|
237
237
|
const{segment:d}=_&&_.getUser()||{}
|
|
238
238
|
var p=this.metadata.source,l=p&&"url"!==p?this.name:void 0
|
|
239
239
|
return(0,o.Jr)({environment:n,release:i,transaction:l,user_segment:d,public_key:s,trace_id:this.traceId,sample_rate:c})}}},48206:(t,e,n)=>{n.d(e,{XL:()=>r,x1:()=>s,zu:()=>a})
|
|
240
|
-
var i=n(
|
|
240
|
+
var i=n(8651)
|
|
241
241
|
function a(t){var e=(0,i.Gd)().getClient(),n=t||e&&e.getOptions()
|
|
242
242
|
return!!n&&("tracesSampleRate"in n||"tracesSampler"in n)}function s(t){var e=(t||(0,i.Gd)()).getScope()
|
|
243
243
|
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})}}])
|
|
244
244
|
|
|
245
|
-
//# sourceMappingURL=chunk.174.
|
|
245
|
+
//# sourceMappingURL=chunk.174.3a133d51d9b45097c101.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
var __ember_auto_import__;(()=>{var r={
|
|
1
|
+
var __ember_auto_import__;(()=>{var r={37974:function(r,e){window._eai_r=require,window._eai_d=define},40555: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(
|
|
8
|
-
var _=t(
|
|
7
|
+
return r[_].call(i.exports,i,i.exports,t),i.exports}t(37974)
|
|
8
|
+
var _=t(40555)
|
|
9
9
|
__ember_auto_import__=_})()
|
|
10
10
|
|
|
11
|
-
//# sourceMappingURL=chunk.178.
|
|
11
|
+
//# sourceMappingURL=chunk.178.6f68a314b66338b41c62.map
|