autotel-subscribers 17.0.0 → 18.0.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.
- package/dist/amplitude.cjs +64 -64
- package/dist/amplitude.cjs.map +1 -1
- package/dist/amplitude.js +64 -64
- package/dist/amplitude.js.map +1 -1
- package/dist/factories.cjs +174 -172
- package/dist/factories.cjs.map +1 -1
- package/dist/factories.js +174 -172
- package/dist/factories.js.map +1 -1
- package/dist/index.cjs +174 -172
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +174 -172
- package/dist/index.js.map +1 -1
- package/dist/posthog.cjs +110 -108
- package/dist/posthog.cjs.map +1 -1
- package/dist/posthog.js +110 -108
- package/dist/posthog.js.map +1 -1
- package/package.json +13 -13
package/dist/posthog.js
CHANGED
|
@@ -41,11 +41,11 @@ function normalizeWindowsPath(path) {
|
|
|
41
41
|
return path.replace(/^[A-Z]:/, "").replace(/\\/g, "/");
|
|
42
42
|
}
|
|
43
43
|
var init_module_node = __esm({
|
|
44
|
-
"../../node_modules/.pnpm/posthog-node@5.24.
|
|
44
|
+
"../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/module.node.mjs"() {
|
|
45
45
|
}
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
48
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/featureFlagUtils.mjs
|
|
49
49
|
function getFlagDetailFromFlagAndPayload(key, value, payload) {
|
|
50
50
|
return {
|
|
51
51
|
key,
|
|
@@ -62,7 +62,7 @@ function getFlagDetailFromFlagAndPayload(key, value, payload) {
|
|
|
62
62
|
}
|
|
63
63
|
var normalizeFlagsResponse, getFlagValuesFromFlags, getPayloadsFromFlags, getFeatureFlagValue, parsePayload;
|
|
64
64
|
var init_featureFlagUtils = __esm({
|
|
65
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
65
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/featureFlagUtils.mjs"() {
|
|
66
66
|
normalizeFlagsResponse = (flagsResponse) => {
|
|
67
67
|
if ("flags" in flagsResponse) {
|
|
68
68
|
const featureFlags = getFlagValuesFromFlags(flagsResponse.flags);
|
|
@@ -120,10 +120,10 @@ var init_featureFlagUtils = __esm({
|
|
|
120
120
|
}
|
|
121
121
|
});
|
|
122
122
|
|
|
123
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
123
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/vendor/uuidv7.mjs
|
|
124
124
|
var DIGITS, UUID, V7Generator, getDefaultRandom, defaultGenerator, uuidv7, uuidv7obj;
|
|
125
125
|
var init_uuidv7 = __esm({
|
|
126
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
126
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/vendor/uuidv7.mjs"() {
|
|
127
127
|
DIGITS = "0123456789abcdef";
|
|
128
128
|
UUID = class _UUID {
|
|
129
129
|
constructor(bytes) {
|
|
@@ -284,10 +284,10 @@ var init_uuidv7 = __esm({
|
|
|
284
284
|
}
|
|
285
285
|
});
|
|
286
286
|
|
|
287
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
287
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/utils/bot-detection.mjs
|
|
288
288
|
var DEFAULT_BLOCKED_UA_STRS, isBlockedUA;
|
|
289
289
|
var init_bot_detection = __esm({
|
|
290
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
290
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/utils/bot-detection.mjs"() {
|
|
291
291
|
DEFAULT_BLOCKED_UA_STRS = [
|
|
292
292
|
"amazonbot",
|
|
293
293
|
"amazonproductbot",
|
|
@@ -378,14 +378,16 @@ var init_bot_detection = __esm({
|
|
|
378
378
|
}
|
|
379
379
|
});
|
|
380
380
|
|
|
381
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
381
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/types.mjs
|
|
382
382
|
var types_PostHogPersistedProperty, FeatureFlagError;
|
|
383
383
|
var init_types = __esm({
|
|
384
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
384
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/types.mjs"() {
|
|
385
385
|
types_PostHogPersistedProperty = /* @__PURE__ */ (function(PostHogPersistedProperty) {
|
|
386
386
|
PostHogPersistedProperty["AnonymousId"] = "anonymous_id";
|
|
387
387
|
PostHogPersistedProperty["DistinctId"] = "distinct_id";
|
|
388
388
|
PostHogPersistedProperty["Props"] = "props";
|
|
389
|
+
PostHogPersistedProperty["EnablePersonProcessing"] = "enable_person_processing";
|
|
390
|
+
PostHogPersistedProperty["PersonMode"] = "person_mode";
|
|
389
391
|
PostHogPersistedProperty["FeatureFlagDetails"] = "feature_flag_details";
|
|
390
392
|
PostHogPersistedProperty["FeatureFlags"] = "feature_flags";
|
|
391
393
|
PostHogPersistedProperty["FeatureFlagPayloads"] = "feature_flag_payloads";
|
|
@@ -422,13 +424,13 @@ var init_types = __esm({
|
|
|
422
424
|
}
|
|
423
425
|
});
|
|
424
426
|
|
|
425
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
427
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/utils/string-utils.mjs
|
|
426
428
|
var init_string_utils = __esm({
|
|
427
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
429
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/utils/string-utils.mjs"() {
|
|
428
430
|
}
|
|
429
431
|
});
|
|
430
432
|
|
|
431
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
433
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/utils/type-utils.mjs
|
|
432
434
|
function isPrimitive(value) {
|
|
433
435
|
return null === value || "object" != typeof value;
|
|
434
436
|
}
|
|
@@ -453,7 +455,7 @@ function isInstanceOf(candidate, base) {
|
|
|
453
455
|
}
|
|
454
456
|
var nativeIsArray, ObjProto, type_utils_toString, isArray, isObject, isUndefined, isString, isEmptyString, isNumber, isPlainError;
|
|
455
457
|
var init_type_utils = __esm({
|
|
456
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
458
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/utils/type-utils.mjs"() {
|
|
457
459
|
init_types();
|
|
458
460
|
init_string_utils();
|
|
459
461
|
nativeIsArray = Array.isArray;
|
|
@@ -472,7 +474,7 @@ var init_type_utils = __esm({
|
|
|
472
474
|
}
|
|
473
475
|
});
|
|
474
476
|
|
|
475
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
477
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/utils/number-utils.mjs
|
|
476
478
|
function clampToRange(value, min, max, logger, fallbackValue) {
|
|
477
479
|
if (min > max) {
|
|
478
480
|
logger.warn("min cannot be greater than max.");
|
|
@@ -490,15 +492,15 @@ function clampToRange(value, min, max, logger, fallbackValue) {
|
|
|
490
492
|
return clampToRange(max, min, max, logger);
|
|
491
493
|
}
|
|
492
494
|
var init_number_utils = __esm({
|
|
493
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
495
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/utils/number-utils.mjs"() {
|
|
494
496
|
init_type_utils();
|
|
495
497
|
}
|
|
496
498
|
});
|
|
497
499
|
|
|
498
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
500
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/utils/bucketed-rate-limiter.mjs
|
|
499
501
|
var ONE_DAY_IN_MS, BucketedRateLimiter;
|
|
500
502
|
var init_bucketed_rate_limiter = __esm({
|
|
501
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
503
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/utils/bucketed-rate-limiter.mjs"() {
|
|
502
504
|
init_number_utils();
|
|
503
505
|
ONE_DAY_IN_MS = 864e5;
|
|
504
506
|
BucketedRateLimiter = class {
|
|
@@ -542,10 +544,10 @@ var init_bucketed_rate_limiter = __esm({
|
|
|
542
544
|
}
|
|
543
545
|
});
|
|
544
546
|
|
|
545
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
547
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/utils/promise-queue.mjs
|
|
546
548
|
var PromiseQueue;
|
|
547
549
|
var init_promise_queue = __esm({
|
|
548
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
550
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/utils/promise-queue.mjs"() {
|
|
549
551
|
init_uuidv7();
|
|
550
552
|
PromiseQueue = class {
|
|
551
553
|
add(promise) {
|
|
@@ -576,7 +578,7 @@ var init_promise_queue = __esm({
|
|
|
576
578
|
}
|
|
577
579
|
});
|
|
578
580
|
|
|
579
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
581
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/utils/logger.mjs
|
|
580
582
|
function createConsole(consoleLike = console) {
|
|
581
583
|
const lockedMethods = {
|
|
582
584
|
log: consoleLike.log.bind(consoleLike),
|
|
@@ -591,7 +593,7 @@ function createLogger(prefix, maybeCall = passThrough) {
|
|
|
591
593
|
}
|
|
592
594
|
var _createLogger, passThrough;
|
|
593
595
|
var init_logger = __esm({
|
|
594
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
596
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/utils/logger.mjs"() {
|
|
595
597
|
_createLogger = (prefix, maybeCall, consoleLike) => {
|
|
596
598
|
function _log(level, ...args) {
|
|
597
599
|
maybeCall(() => {
|
|
@@ -620,10 +622,10 @@ var init_logger = __esm({
|
|
|
620
622
|
}
|
|
621
623
|
});
|
|
622
624
|
|
|
623
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
625
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/utils/user-agent-utils.mjs
|
|
624
626
|
var MOBILE, TABLET, GENERIC;
|
|
625
627
|
var init_user_agent_utils = __esm({
|
|
626
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
628
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/utils/user-agent-utils.mjs"() {
|
|
627
629
|
init_string_utils();
|
|
628
630
|
init_type_utils();
|
|
629
631
|
MOBILE = "Mobile";
|
|
@@ -634,7 +636,7 @@ var init_user_agent_utils = __esm({
|
|
|
634
636
|
}
|
|
635
637
|
});
|
|
636
638
|
|
|
637
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
639
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/utils/index.mjs
|
|
638
640
|
function assert(truthyValue, message) {
|
|
639
641
|
if (!truthyValue || "string" != typeof truthyValue || isEmpty(truthyValue)) throw new Error(message);
|
|
640
642
|
}
|
|
@@ -678,7 +680,7 @@ function allSettled(promises) {
|
|
|
678
680
|
}
|
|
679
681
|
var STRING_FORMAT, isError;
|
|
680
682
|
var init_utils = __esm({
|
|
681
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
683
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/utils/index.mjs"() {
|
|
682
684
|
init_bot_detection();
|
|
683
685
|
init_bucketed_rate_limiter();
|
|
684
686
|
init_number_utils();
|
|
@@ -692,10 +694,10 @@ var init_utils = __esm({
|
|
|
692
694
|
}
|
|
693
695
|
});
|
|
694
696
|
|
|
695
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
697
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/eventemitter.mjs
|
|
696
698
|
var SimpleEventEmitter;
|
|
697
699
|
var init_eventemitter = __esm({
|
|
698
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
700
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/eventemitter.mjs"() {
|
|
699
701
|
SimpleEventEmitter = class {
|
|
700
702
|
constructor() {
|
|
701
703
|
this.events = {};
|
|
@@ -716,7 +718,7 @@ var init_eventemitter = __esm({
|
|
|
716
718
|
}
|
|
717
719
|
});
|
|
718
720
|
|
|
719
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
721
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/gzip.mjs
|
|
720
722
|
function isGzipSupported() {
|
|
721
723
|
return "CompressionStream" in globalThis;
|
|
722
724
|
}
|
|
@@ -735,11 +737,11 @@ async function gzipCompress(input, isDebug = true) {
|
|
|
735
737
|
}
|
|
736
738
|
}
|
|
737
739
|
var init_gzip = __esm({
|
|
738
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
740
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/gzip.mjs"() {
|
|
739
741
|
}
|
|
740
742
|
});
|
|
741
743
|
|
|
742
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
744
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/posthog-core-stateless.mjs
|
|
743
745
|
async function logFlushError(err) {
|
|
744
746
|
if (err instanceof PostHogFetchHttpError) {
|
|
745
747
|
let text = "";
|
|
@@ -759,7 +761,7 @@ function isPostHogFetchContentTooLargeError(err) {
|
|
|
759
761
|
}
|
|
760
762
|
var PostHogFetchHttpError, PostHogFetchNetworkError, PostHogCoreStateless;
|
|
761
763
|
var init_posthog_core_stateless = __esm({
|
|
762
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
764
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/posthog-core-stateless.mjs"() {
|
|
763
765
|
init_eventemitter();
|
|
764
766
|
init_featureFlagUtils();
|
|
765
767
|
init_gzip();
|
|
@@ -1412,9 +1414,9 @@ var init_posthog_core_stateless = __esm({
|
|
|
1412
1414
|
}
|
|
1413
1415
|
});
|
|
1414
1416
|
|
|
1415
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
1417
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/posthog-core.mjs
|
|
1416
1418
|
var init_posthog_core = __esm({
|
|
1417
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
1419
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/posthog-core.mjs"() {
|
|
1418
1420
|
init_featureFlagUtils();
|
|
1419
1421
|
init_types();
|
|
1420
1422
|
init_posthog_core_stateless();
|
|
@@ -1423,7 +1425,7 @@ var init_posthog_core = __esm({
|
|
|
1423
1425
|
}
|
|
1424
1426
|
});
|
|
1425
1427
|
|
|
1426
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
1428
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/chunk-ids.mjs
|
|
1427
1429
|
function getFilenameToChunkIdMap(stackParser) {
|
|
1428
1430
|
const chunkIdMap = globalThis._posthogChunkIds;
|
|
1429
1431
|
if (!chunkIdMap) return;
|
|
@@ -1456,14 +1458,14 @@ function getFilenameToChunkIdMap(stackParser) {
|
|
|
1456
1458
|
}
|
|
1457
1459
|
var parsedStackResults, lastKeysCount, cachedFilenameChunkIds;
|
|
1458
1460
|
var init_chunk_ids = __esm({
|
|
1459
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
1461
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/chunk-ids.mjs"() {
|
|
1460
1462
|
}
|
|
1461
1463
|
});
|
|
1462
1464
|
|
|
1463
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
1465
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/error-properties-builder.mjs
|
|
1464
1466
|
var MAX_CAUSE_RECURSION, ErrorPropertiesBuilder;
|
|
1465
1467
|
var init_error_properties_builder = __esm({
|
|
1466
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
1468
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/error-properties-builder.mjs"() {
|
|
1467
1469
|
init_utils();
|
|
1468
1470
|
init_chunk_ids();
|
|
1469
1471
|
MAX_CAUSE_RECURSION = 4;
|
|
@@ -1577,7 +1579,7 @@ var init_error_properties_builder = __esm({
|
|
|
1577
1579
|
}
|
|
1578
1580
|
});
|
|
1579
1581
|
|
|
1580
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
1582
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/parsers/base.mjs
|
|
1581
1583
|
function createFrame(platform, filename, func, lineno, colno) {
|
|
1582
1584
|
const frame = {
|
|
1583
1585
|
platform,
|
|
@@ -1591,16 +1593,16 @@ function createFrame(platform, filename, func, lineno, colno) {
|
|
|
1591
1593
|
}
|
|
1592
1594
|
var UNKNOWN_FUNCTION;
|
|
1593
1595
|
var init_base = __esm({
|
|
1594
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
1596
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/parsers/base.mjs"() {
|
|
1595
1597
|
init_utils();
|
|
1596
1598
|
UNKNOWN_FUNCTION = "?";
|
|
1597
1599
|
}
|
|
1598
1600
|
});
|
|
1599
1601
|
|
|
1600
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
1602
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/parsers/safari.mjs
|
|
1601
1603
|
var extractSafariExtensionDetails;
|
|
1602
1604
|
var init_safari = __esm({
|
|
1603
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
1605
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/parsers/safari.mjs"() {
|
|
1604
1606
|
init_base();
|
|
1605
1607
|
extractSafariExtensionDetails = (func, filename) => {
|
|
1606
1608
|
const isSafariExtension = -1 !== func.indexOf("safari-extension");
|
|
@@ -1616,10 +1618,10 @@ var init_safari = __esm({
|
|
|
1616
1618
|
}
|
|
1617
1619
|
});
|
|
1618
1620
|
|
|
1619
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
1621
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/parsers/chrome.mjs
|
|
1620
1622
|
var chromeRegexNoFnName, chromeRegex, chromeEvalRegex, chromeStackLineParser;
|
|
1621
1623
|
var init_chrome = __esm({
|
|
1622
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
1624
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/parsers/chrome.mjs"() {
|
|
1623
1625
|
init_base();
|
|
1624
1626
|
init_safari();
|
|
1625
1627
|
chromeRegexNoFnName = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i;
|
|
@@ -1649,10 +1651,10 @@ var init_chrome = __esm({
|
|
|
1649
1651
|
}
|
|
1650
1652
|
});
|
|
1651
1653
|
|
|
1652
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
1654
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/parsers/gecko.mjs
|
|
1653
1655
|
var geckoREgex, geckoEvalRegex, geckoStackLineParser;
|
|
1654
1656
|
var init_gecko = __esm({
|
|
1655
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
1657
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/parsers/gecko.mjs"() {
|
|
1656
1658
|
init_base();
|
|
1657
1659
|
init_safari();
|
|
1658
1660
|
geckoREgex = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i;
|
|
@@ -1679,10 +1681,10 @@ var init_gecko = __esm({
|
|
|
1679
1681
|
}
|
|
1680
1682
|
});
|
|
1681
1683
|
|
|
1682
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
1684
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/parsers/winjs.mjs
|
|
1683
1685
|
var winjsRegex, winjsStackLineParser;
|
|
1684
1686
|
var init_winjs = __esm({
|
|
1685
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
1687
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/parsers/winjs.mjs"() {
|
|
1686
1688
|
init_base();
|
|
1687
1689
|
winjsRegex = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i;
|
|
1688
1690
|
winjsStackLineParser = (line, platform) => {
|
|
@@ -1692,10 +1694,10 @@ var init_winjs = __esm({
|
|
|
1692
1694
|
}
|
|
1693
1695
|
});
|
|
1694
1696
|
|
|
1695
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
1697
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/parsers/opera.mjs
|
|
1696
1698
|
var opera10Regex, opera10StackLineParser, opera11Regex, opera11StackLineParser;
|
|
1697
1699
|
var init_opera = __esm({
|
|
1698
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
1700
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/parsers/opera.mjs"() {
|
|
1699
1701
|
init_base();
|
|
1700
1702
|
opera10Regex = / line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i;
|
|
1701
1703
|
opera10StackLineParser = (line, platform) => {
|
|
@@ -1710,7 +1712,7 @@ var init_opera = __esm({
|
|
|
1710
1712
|
}
|
|
1711
1713
|
});
|
|
1712
1714
|
|
|
1713
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
1715
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/parsers/node.mjs
|
|
1714
1716
|
function filenameIsInApp(filename, isNative = false) {
|
|
1715
1717
|
const isInternal = isNative || filename && !filename.startsWith("/") && !filename.match(/^[A-Z]:/) && !filename.startsWith(".") && !filename.match(/^[a-zA-Z]([a-zA-Z0-9.\-+])*:\/\//);
|
|
1716
1718
|
return !isInternal && void 0 !== filename && !filename.includes("node_modules/");
|
|
@@ -1720,7 +1722,7 @@ function _parseIntOrUndefined(input) {
|
|
|
1720
1722
|
}
|
|
1721
1723
|
var FILENAME_MATCH, FULL_MATCH, nodeStackLineParser;
|
|
1722
1724
|
var init_node = __esm({
|
|
1723
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
1725
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/parsers/node.mjs"() {
|
|
1724
1726
|
init_base();
|
|
1725
1727
|
FILENAME_MATCH = /^\s*[-]{4,}$/;
|
|
1726
1728
|
FULL_MATCH = /at (?:async )?(?:(.+?)\s+\()?(?:(.+):(\d+):(\d+)?|([^)]+))\)?/;
|
|
@@ -1781,7 +1783,7 @@ var init_node = __esm({
|
|
|
1781
1783
|
}
|
|
1782
1784
|
});
|
|
1783
1785
|
|
|
1784
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
1786
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/parsers/index.mjs
|
|
1785
1787
|
function reverseAndStripFrames(stack) {
|
|
1786
1788
|
if (!stack.length) return [];
|
|
1787
1789
|
const localStack = Array.from(stack);
|
|
@@ -1822,7 +1824,7 @@ function createStackParser(platform, ...parsers) {
|
|
|
1822
1824
|
}
|
|
1823
1825
|
var WEBPACK_ERROR_REGEXP, STACKTRACE_FRAME_LIMIT;
|
|
1824
1826
|
var init_parsers = __esm({
|
|
1825
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
1827
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/parsers/index.mjs"() {
|
|
1826
1828
|
init_base();
|
|
1827
1829
|
init_chrome();
|
|
1828
1830
|
init_gecko();
|
|
@@ -1834,10 +1836,10 @@ var init_parsers = __esm({
|
|
|
1834
1836
|
}
|
|
1835
1837
|
});
|
|
1836
1838
|
|
|
1837
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
1839
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/coercers/dom-exception-coercer.mjs
|
|
1838
1840
|
var DOMExceptionCoercer;
|
|
1839
1841
|
var init_dom_exception_coercer = __esm({
|
|
1840
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
1842
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/coercers/dom-exception-coercer.mjs"() {
|
|
1841
1843
|
init_utils();
|
|
1842
1844
|
DOMExceptionCoercer = class {
|
|
1843
1845
|
match(err) {
|
|
@@ -1871,10 +1873,10 @@ var init_dom_exception_coercer = __esm({
|
|
|
1871
1873
|
}
|
|
1872
1874
|
});
|
|
1873
1875
|
|
|
1874
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
1876
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/coercers/error-coercer.mjs
|
|
1875
1877
|
var ErrorCoercer;
|
|
1876
1878
|
var init_error_coercer = __esm({
|
|
1877
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
1879
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/coercers/error-coercer.mjs"() {
|
|
1878
1880
|
init_utils();
|
|
1879
1881
|
ErrorCoercer = class {
|
|
1880
1882
|
match(err) {
|
|
@@ -1904,10 +1906,10 @@ var init_error_coercer = __esm({
|
|
|
1904
1906
|
}
|
|
1905
1907
|
});
|
|
1906
1908
|
|
|
1907
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
1909
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/coercers/error-event-coercer.mjs
|
|
1908
1910
|
var ErrorEventCoercer;
|
|
1909
1911
|
var init_error_event_coercer = __esm({
|
|
1910
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
1912
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/coercers/error-event-coercer.mjs"() {
|
|
1911
1913
|
init_utils();
|
|
1912
1914
|
ErrorEventCoercer = class {
|
|
1913
1915
|
constructor() {
|
|
@@ -1929,10 +1931,10 @@ var init_error_event_coercer = __esm({
|
|
|
1929
1931
|
}
|
|
1930
1932
|
});
|
|
1931
1933
|
|
|
1932
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
1934
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/coercers/string-coercer.mjs
|
|
1933
1935
|
var ERROR_TYPES_PATTERN, StringCoercer;
|
|
1934
1936
|
var init_string_coercer = __esm({
|
|
1935
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
1937
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/coercers/string-coercer.mjs"() {
|
|
1936
1938
|
ERROR_TYPES_PATTERN = /^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;
|
|
1937
1939
|
StringCoercer = class {
|
|
1938
1940
|
match(input) {
|
|
@@ -1964,10 +1966,10 @@ var init_string_coercer = __esm({
|
|
|
1964
1966
|
}
|
|
1965
1967
|
});
|
|
1966
1968
|
|
|
1967
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
1969
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/types.mjs
|
|
1968
1970
|
var severityLevels;
|
|
1969
1971
|
var init_types2 = __esm({
|
|
1970
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
1972
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/types.mjs"() {
|
|
1971
1973
|
severityLevels = [
|
|
1972
1974
|
"fatal",
|
|
1973
1975
|
"error",
|
|
@@ -1979,7 +1981,7 @@ var init_types2 = __esm({
|
|
|
1979
1981
|
}
|
|
1980
1982
|
});
|
|
1981
1983
|
|
|
1982
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
1984
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/coercers/utils.mjs
|
|
1983
1985
|
function extractExceptionKeysForMessage(err, maxLength = 40) {
|
|
1984
1986
|
const keys = Object.keys(err);
|
|
1985
1987
|
keys.sort();
|
|
@@ -1994,14 +1996,14 @@ function extractExceptionKeysForMessage(err, maxLength = 40) {
|
|
|
1994
1996
|
return "";
|
|
1995
1997
|
}
|
|
1996
1998
|
var init_utils2 = __esm({
|
|
1997
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
1999
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/coercers/utils.mjs"() {
|
|
1998
2000
|
}
|
|
1999
2001
|
});
|
|
2000
2002
|
|
|
2001
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
2003
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/coercers/object-coercer.mjs
|
|
2002
2004
|
var ObjectCoercer;
|
|
2003
2005
|
var init_object_coercer = __esm({
|
|
2004
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
2006
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/coercers/object-coercer.mjs"() {
|
|
2005
2007
|
init_utils();
|
|
2006
2008
|
init_types2();
|
|
2007
2009
|
init_utils2();
|
|
@@ -2055,10 +2057,10 @@ var init_object_coercer = __esm({
|
|
|
2055
2057
|
}
|
|
2056
2058
|
});
|
|
2057
2059
|
|
|
2058
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
2060
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/coercers/event-coercer.mjs
|
|
2059
2061
|
var EventCoercer;
|
|
2060
2062
|
var init_event_coercer = __esm({
|
|
2061
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
2063
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/coercers/event-coercer.mjs"() {
|
|
2062
2064
|
init_utils();
|
|
2063
2065
|
init_utils2();
|
|
2064
2066
|
EventCoercer = class {
|
|
@@ -2078,10 +2080,10 @@ var init_event_coercer = __esm({
|
|
|
2078
2080
|
}
|
|
2079
2081
|
});
|
|
2080
2082
|
|
|
2081
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
2083
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/coercers/primitive-coercer.mjs
|
|
2082
2084
|
var PrimitiveCoercer;
|
|
2083
2085
|
var init_primitive_coercer = __esm({
|
|
2084
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
2086
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/coercers/primitive-coercer.mjs"() {
|
|
2085
2087
|
init_utils();
|
|
2086
2088
|
PrimitiveCoercer = class {
|
|
2087
2089
|
match(candidate) {
|
|
@@ -2099,10 +2101,10 @@ var init_primitive_coercer = __esm({
|
|
|
2099
2101
|
}
|
|
2100
2102
|
});
|
|
2101
2103
|
|
|
2102
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
2104
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/coercers/promise-rejection-event.mjs
|
|
2103
2105
|
var PromiseRejectionEventCoercer;
|
|
2104
2106
|
var init_promise_rejection_event = __esm({
|
|
2105
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
2107
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/coercers/promise-rejection-event.mjs"() {
|
|
2106
2108
|
init_utils();
|
|
2107
2109
|
PromiseRejectionEventCoercer = class {
|
|
2108
2110
|
match(err) {
|
|
@@ -2131,9 +2133,9 @@ var init_promise_rejection_event = __esm({
|
|
|
2131
2133
|
}
|
|
2132
2134
|
});
|
|
2133
2135
|
|
|
2134
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
2136
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/coercers/index.mjs
|
|
2135
2137
|
var init_coercers = __esm({
|
|
2136
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
2138
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/coercers/index.mjs"() {
|
|
2137
2139
|
init_dom_exception_coercer();
|
|
2138
2140
|
init_error_coercer();
|
|
2139
2141
|
init_error_event_coercer();
|
|
@@ -2145,10 +2147,10 @@ var init_coercers = __esm({
|
|
|
2145
2147
|
}
|
|
2146
2148
|
});
|
|
2147
2149
|
|
|
2148
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
2150
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/utils.mjs
|
|
2149
2151
|
var ReduceableCache;
|
|
2150
2152
|
var init_utils3 = __esm({
|
|
2151
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
2153
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/utils.mjs"() {
|
|
2152
2154
|
ReduceableCache = class {
|
|
2153
2155
|
constructor(_maxSize) {
|
|
2154
2156
|
this._maxSize = _maxSize;
|
|
@@ -2174,7 +2176,7 @@ var init_utils3 = __esm({
|
|
|
2174
2176
|
}
|
|
2175
2177
|
});
|
|
2176
2178
|
|
|
2177
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
2179
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/index.mjs
|
|
2178
2180
|
var error_tracking_exports = {};
|
|
2179
2181
|
__export(error_tracking_exports, {
|
|
2180
2182
|
DOMExceptionCoercer: () => DOMExceptionCoercer,
|
|
@@ -2198,7 +2200,7 @@ __export(error_tracking_exports, {
|
|
|
2198
2200
|
winjsStackLineParser: () => winjsStackLineParser
|
|
2199
2201
|
});
|
|
2200
2202
|
var init_error_tracking = __esm({
|
|
2201
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
2203
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/index.mjs"() {
|
|
2202
2204
|
init_error_properties_builder();
|
|
2203
2205
|
init_parsers();
|
|
2204
2206
|
init_coercers();
|
|
@@ -2206,9 +2208,9 @@ var init_error_tracking = __esm({
|
|
|
2206
2208
|
}
|
|
2207
2209
|
});
|
|
2208
2210
|
|
|
2209
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
2211
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/index.mjs
|
|
2210
2212
|
var init_dist = __esm({
|
|
2211
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
2213
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/index.mjs"() {
|
|
2212
2214
|
init_featureFlagUtils();
|
|
2213
2215
|
init_uuidv7();
|
|
2214
2216
|
init_utils();
|
|
@@ -2399,7 +2401,7 @@ function snipLine(line, colno) {
|
|
|
2399
2401
|
}
|
|
2400
2402
|
var LRU_FILE_CONTENTS_CACHE, LRU_FILE_CONTENTS_FS_READ_FAILED, DEFAULT_LINES_OF_CONTEXT, MAX_CONTEXTLINES_COLNO, MAX_CONTEXTLINES_LINENO;
|
|
2401
2403
|
var init_context_lines_node = __esm({
|
|
2402
|
-
"../../node_modules/.pnpm/posthog-node@5.24.
|
|
2404
|
+
"../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/context-lines.node.mjs"() {
|
|
2403
2405
|
init_dist();
|
|
2404
2406
|
LRU_FILE_CONTENTS_CACHE = new error_tracking_exports.ReduceableCache(25);
|
|
2405
2407
|
LRU_FILE_CONTENTS_FS_READ_FAILED = new error_tracking_exports.ReduceableCache(20);
|
|
@@ -2409,7 +2411,7 @@ var init_context_lines_node = __esm({
|
|
|
2409
2411
|
}
|
|
2410
2412
|
});
|
|
2411
2413
|
|
|
2412
|
-
// ../../node_modules/.pnpm/posthog-node@5.24.
|
|
2414
|
+
// ../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/extensions/error-tracking/autocapture.mjs
|
|
2413
2415
|
function makeUncaughtExceptionHandler(captureFn, onFatalFn) {
|
|
2414
2416
|
let calledFatalError = false;
|
|
2415
2417
|
return Object.assign((error) => {
|
|
@@ -2441,14 +2443,14 @@ function addUnhandledRejectionListener(captureFn) {
|
|
|
2441
2443
|
}));
|
|
2442
2444
|
}
|
|
2443
2445
|
var init_autocapture = __esm({
|
|
2444
|
-
"../../node_modules/.pnpm/posthog-node@5.24.
|
|
2446
|
+
"../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/extensions/error-tracking/autocapture.mjs"() {
|
|
2445
2447
|
}
|
|
2446
2448
|
});
|
|
2447
2449
|
|
|
2448
|
-
// ../../node_modules/.pnpm/posthog-node@5.24.
|
|
2450
|
+
// ../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/extensions/error-tracking/index.mjs
|
|
2449
2451
|
var SHUTDOWN_TIMEOUT, ErrorTracking;
|
|
2450
2452
|
var init_error_tracking2 = __esm({
|
|
2451
|
-
"../../node_modules/.pnpm/posthog-node@5.24.
|
|
2453
|
+
"../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/extensions/error-tracking/index.mjs"() {
|
|
2452
2454
|
init_autocapture();
|
|
2453
2455
|
init_dist();
|
|
2454
2456
|
SHUTDOWN_TIMEOUT = 2e3;
|
|
@@ -2519,18 +2521,18 @@ var init_error_tracking2 = __esm({
|
|
|
2519
2521
|
}
|
|
2520
2522
|
});
|
|
2521
2523
|
|
|
2522
|
-
// ../../node_modules/.pnpm/posthog-node@5.24.
|
|
2524
|
+
// ../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/version.mjs
|
|
2523
2525
|
var version;
|
|
2524
2526
|
var init_version = __esm({
|
|
2525
|
-
"../../node_modules/.pnpm/posthog-node@5.24.
|
|
2526
|
-
version = "5.24.
|
|
2527
|
+
"../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/version.mjs"() {
|
|
2528
|
+
version = "5.24.2";
|
|
2527
2529
|
}
|
|
2528
2530
|
});
|
|
2529
2531
|
|
|
2530
|
-
// ../../node_modules/.pnpm/posthog-node@5.24.
|
|
2532
|
+
// ../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/types.mjs
|
|
2531
2533
|
var FeatureFlagError2;
|
|
2532
2534
|
var init_types3 = __esm({
|
|
2533
|
-
"../../node_modules/.pnpm/posthog-node@5.24.
|
|
2535
|
+
"../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/types.mjs"() {
|
|
2534
2536
|
FeatureFlagError2 = {
|
|
2535
2537
|
ERRORS_WHILE_COMPUTING: "errors_while_computing_flags",
|
|
2536
2538
|
FLAG_MISSING: "flag_missing",
|
|
@@ -2540,7 +2542,7 @@ var init_types3 = __esm({
|
|
|
2540
2542
|
}
|
|
2541
2543
|
});
|
|
2542
2544
|
|
|
2543
|
-
// ../../node_modules/.pnpm/posthog-node@5.24.
|
|
2545
|
+
// ../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/extensions/feature-flags/crypto.mjs
|
|
2544
2546
|
async function hashSHA1(text) {
|
|
2545
2547
|
const subtle = globalThis.crypto?.subtle;
|
|
2546
2548
|
if (!subtle) throw new Error("SubtleCrypto API not available");
|
|
@@ -2549,11 +2551,11 @@ async function hashSHA1(text) {
|
|
|
2549
2551
|
return hashArray.map((byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
2550
2552
|
}
|
|
2551
2553
|
var init_crypto = __esm({
|
|
2552
|
-
"../../node_modules/.pnpm/posthog-node@5.24.
|
|
2554
|
+
"../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/extensions/feature-flags/crypto.mjs"() {
|
|
2553
2555
|
}
|
|
2554
2556
|
});
|
|
2555
2557
|
|
|
2556
|
-
// ../../node_modules/.pnpm/posthog-node@5.24.
|
|
2558
|
+
// ../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/extensions/feature-flags/feature-flags.mjs
|
|
2557
2559
|
async function _hash(key, distinctId, salt = "") {
|
|
2558
2560
|
const hashString = await hashSHA1(`${key}.${distinctId}${salt}`);
|
|
2559
2561
|
return parseInt(hashString.slice(0, 15), 16) / LONG_SCALE;
|
|
@@ -2721,7 +2723,7 @@ function relativeDateParseForFeatureFlagMatching(value) {
|
|
|
2721
2723
|
}
|
|
2722
2724
|
var SIXTY_SECONDS, LONG_SCALE, NULL_VALUES_ALLOWED_OPERATORS, ClientError, InconclusiveMatchError, RequiresServerEvaluation, FeatureFlagsPoller;
|
|
2723
2725
|
var init_feature_flags = __esm({
|
|
2724
|
-
"../../node_modules/.pnpm/posthog-node@5.24.
|
|
2726
|
+
"../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/extensions/feature-flags/feature-flags.mjs"() {
|
|
2725
2727
|
init_dist();
|
|
2726
2728
|
init_crypto();
|
|
2727
2729
|
SIXTY_SECONDS = 6e4;
|
|
@@ -3134,10 +3136,10 @@ var init_feature_flags = __esm({
|
|
|
3134
3136
|
}
|
|
3135
3137
|
});
|
|
3136
3138
|
|
|
3137
|
-
// ../../node_modules/.pnpm/posthog-node@5.24.
|
|
3139
|
+
// ../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/storage-memory.mjs
|
|
3138
3140
|
var PostHogMemoryStorage;
|
|
3139
3141
|
var init_storage_memory = __esm({
|
|
3140
|
-
"../../node_modules/.pnpm/posthog-node@5.24.
|
|
3142
|
+
"../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/storage-memory.mjs"() {
|
|
3141
3143
|
PostHogMemoryStorage = class {
|
|
3142
3144
|
getProperty(key) {
|
|
3143
3145
|
return this._memoryStorage[key];
|
|
@@ -3152,10 +3154,10 @@ var init_storage_memory = __esm({
|
|
|
3152
3154
|
}
|
|
3153
3155
|
});
|
|
3154
3156
|
|
|
3155
|
-
// ../../node_modules/.pnpm/posthog-node@5.24.
|
|
3157
|
+
// ../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/client.mjs
|
|
3156
3158
|
var MINIMUM_POLLING_INTERVAL, THIRTY_SECONDS, MAX_CACHE_SIZE, PostHogBackendClient;
|
|
3157
3159
|
var init_client = __esm({
|
|
3158
|
-
"../../node_modules/.pnpm/posthog-node@5.24.
|
|
3160
|
+
"../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/client.mjs"() {
|
|
3159
3161
|
init_version();
|
|
3160
3162
|
init_dist();
|
|
3161
3163
|
init_types3();
|
|
@@ -3763,7 +3765,7 @@ var init_client = __esm({
|
|
|
3763
3765
|
});
|
|
3764
3766
|
var PostHogContext;
|
|
3765
3767
|
var init_context = __esm({
|
|
3766
|
-
"../../node_modules/.pnpm/posthog-node@5.24.
|
|
3768
|
+
"../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/extensions/context/context.mjs"() {
|
|
3767
3769
|
PostHogContext = class {
|
|
3768
3770
|
constructor() {
|
|
3769
3771
|
this.storage = new AsyncLocalStorage();
|
|
@@ -3791,7 +3793,7 @@ var init_context = __esm({
|
|
|
3791
3793
|
}
|
|
3792
3794
|
});
|
|
3793
3795
|
|
|
3794
|
-
// ../../node_modules/.pnpm/posthog-node@5.24.
|
|
3796
|
+
// ../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/extensions/sentry-integration.mjs
|
|
3795
3797
|
function createEventProcessor(_posthog, { organization, projectId, prefix, severityAllowList = [
|
|
3796
3798
|
"error"
|
|
3797
3799
|
], sendExceptionsToPostHog = true } = {}) {
|
|
@@ -3847,7 +3849,7 @@ function sentryIntegration(_posthog, options) {
|
|
|
3847
3849
|
}
|
|
3848
3850
|
var NAME, PostHogSentryIntegration;
|
|
3849
3851
|
var init_sentry_integration = __esm({
|
|
3850
|
-
"../../node_modules/.pnpm/posthog-node@5.24.
|
|
3852
|
+
"../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/extensions/sentry-integration.mjs"() {
|
|
3851
3853
|
NAME = "posthog-node";
|
|
3852
3854
|
PostHogSentryIntegration = class {
|
|
3853
3855
|
static #_ = this.POSTHOG_ID_TAG = "posthog_distinct_id";
|
|
@@ -3869,7 +3871,7 @@ var init_sentry_integration = __esm({
|
|
|
3869
3871
|
}
|
|
3870
3872
|
});
|
|
3871
3873
|
|
|
3872
|
-
// ../../node_modules/.pnpm/posthog-node@5.24.
|
|
3874
|
+
// ../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/extensions/express.mjs
|
|
3873
3875
|
function setupExpressErrorHandler(_posthog, app) {
|
|
3874
3876
|
app.use(posthogErrorHandler(_posthog));
|
|
3875
3877
|
}
|
|
@@ -3901,14 +3903,14 @@ function posthogErrorHandler(posthog) {
|
|
|
3901
3903
|
};
|
|
3902
3904
|
}
|
|
3903
3905
|
var init_express = __esm({
|
|
3904
|
-
"../../node_modules/.pnpm/posthog-node@5.24.
|
|
3906
|
+
"../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/extensions/express.mjs"() {
|
|
3905
3907
|
init_error_tracking2();
|
|
3906
3908
|
}
|
|
3907
3909
|
});
|
|
3908
3910
|
|
|
3909
|
-
// ../../node_modules/.pnpm/posthog-node@5.24.
|
|
3911
|
+
// ../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/exports.mjs
|
|
3910
3912
|
var init_exports = __esm({
|
|
3911
|
-
"../../node_modules/.pnpm/posthog-node@5.24.
|
|
3913
|
+
"../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/exports.mjs"() {
|
|
3912
3914
|
init_dist();
|
|
3913
3915
|
init_sentry_integration();
|
|
3914
3916
|
init_express();
|
|
@@ -3916,7 +3918,7 @@ var init_exports = __esm({
|
|
|
3916
3918
|
}
|
|
3917
3919
|
});
|
|
3918
3920
|
|
|
3919
|
-
// ../../node_modules/.pnpm/posthog-node@5.24.
|
|
3921
|
+
// ../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/entrypoints/index.node.mjs
|
|
3920
3922
|
var index_node_exports = {};
|
|
3921
3923
|
__export(index_node_exports, {
|
|
3922
3924
|
FeatureFlagError: () => FeatureFlagError,
|
|
@@ -3928,7 +3930,7 @@ __export(index_node_exports, {
|
|
|
3928
3930
|
});
|
|
3929
3931
|
var PostHog;
|
|
3930
3932
|
var init_index_node = __esm({
|
|
3931
|
-
"../../node_modules/.pnpm/posthog-node@5.24.
|
|
3933
|
+
"../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/entrypoints/index.node.mjs"() {
|
|
3932
3934
|
init_module_node();
|
|
3933
3935
|
init_context_lines_node();
|
|
3934
3936
|
init_error_tracking2();
|