autotel-subscribers 22.0.0 → 22.0.2

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.

Potentially problematic release.


This version of autotel-subscribers might be problematic. Click here for more details.

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.7/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/module.node.mjs"() {
44
+ "../../node_modules/.pnpm/posthog-node@5.24.11/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.17.0/node_modules/@posthog/core/dist/featureFlagUtils.mjs
48
+ // ../../node_modules/.pnpm/@posthog+core@1.20.1/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.17.0/node_modules/@posthog/core/dist/featureFlagUtils.mjs"() {
65
+ "../../node_modules/.pnpm/@posthog+core@1.20.1/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.17.0/node_modules/@posthog/core/dist/vendor/uuidv7.mjs
123
+ // ../../node_modules/.pnpm/@posthog+core@1.20.1/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.17.0/node_modules/@posthog/core/dist/vendor/uuidv7.mjs"() {
126
+ "../../node_modules/.pnpm/@posthog+core@1.20.1/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.17.0/node_modules/@posthog/core/dist/utils/bot-detection.mjs
287
+ // ../../node_modules/.pnpm/@posthog+core@1.20.1/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.17.0/node_modules/@posthog/core/dist/utils/bot-detection.mjs"() {
290
+ "../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/utils/bot-detection.mjs"() {
291
291
  DEFAULT_BLOCKED_UA_STRS = [
292
292
  "amazonbot",
293
293
  "amazonproductbot",
@@ -378,10 +378,10 @@ var init_bot_detection = __esm({
378
378
  }
379
379
  });
380
380
 
381
- // ../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/types.mjs
381
+ // ../../node_modules/.pnpm/@posthog+core@1.20.1/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.17.0/node_modules/@posthog/core/dist/types.mjs"() {
384
+ "../../node_modules/.pnpm/@posthog+core@1.20.1/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";
@@ -424,13 +424,13 @@ var init_types = __esm({
424
424
  }
425
425
  });
426
426
 
427
- // ../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/utils/string-utils.mjs
427
+ // ../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/utils/string-utils.mjs
428
428
  var init_string_utils = __esm({
429
- "../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/utils/string-utils.mjs"() {
429
+ "../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/utils/string-utils.mjs"() {
430
430
  }
431
431
  });
432
432
 
433
- // ../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/utils/type-utils.mjs
433
+ // ../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/utils/type-utils.mjs
434
434
  function isPrimitive(value) {
435
435
  return null === value || "object" != typeof value;
436
436
  }
@@ -455,7 +455,7 @@ function isInstanceOf(candidate, base) {
455
455
  }
456
456
  var nativeIsArray, ObjProto, type_utils_toString, isArray, isObject, isUndefined, isString, isEmptyString, isNumber, isPlainError;
457
457
  var init_type_utils = __esm({
458
- "../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/utils/type-utils.mjs"() {
458
+ "../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/utils/type-utils.mjs"() {
459
459
  init_types();
460
460
  init_string_utils();
461
461
  nativeIsArray = Array.isArray;
@@ -474,7 +474,7 @@ var init_type_utils = __esm({
474
474
  }
475
475
  });
476
476
 
477
- // ../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/utils/number-utils.mjs
477
+ // ../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/utils/number-utils.mjs
478
478
  function clampToRange(value, min, max, logger, fallbackValue) {
479
479
  if (min > max) {
480
480
  logger.warn("min cannot be greater than max.");
@@ -492,15 +492,15 @@ function clampToRange(value, min, max, logger, fallbackValue) {
492
492
  return clampToRange(max, min, max, logger);
493
493
  }
494
494
  var init_number_utils = __esm({
495
- "../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/utils/number-utils.mjs"() {
495
+ "../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/utils/number-utils.mjs"() {
496
496
  init_type_utils();
497
497
  }
498
498
  });
499
499
 
500
- // ../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/utils/bucketed-rate-limiter.mjs
500
+ // ../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/utils/bucketed-rate-limiter.mjs
501
501
  var ONE_DAY_IN_MS, BucketedRateLimiter;
502
502
  var init_bucketed_rate_limiter = __esm({
503
- "../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/utils/bucketed-rate-limiter.mjs"() {
503
+ "../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/utils/bucketed-rate-limiter.mjs"() {
504
504
  init_number_utils();
505
505
  ONE_DAY_IN_MS = 864e5;
506
506
  BucketedRateLimiter = class {
@@ -544,10 +544,10 @@ var init_bucketed_rate_limiter = __esm({
544
544
  }
545
545
  });
546
546
 
547
- // ../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/utils/promise-queue.mjs
547
+ // ../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/utils/promise-queue.mjs
548
548
  var PromiseQueue;
549
549
  var init_promise_queue = __esm({
550
- "../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/utils/promise-queue.mjs"() {
550
+ "../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/utils/promise-queue.mjs"() {
551
551
  init_uuidv7();
552
552
  PromiseQueue = class {
553
553
  add(promise) {
@@ -578,7 +578,7 @@ var init_promise_queue = __esm({
578
578
  }
579
579
  });
580
580
 
581
- // ../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/utils/logger.mjs
581
+ // ../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/utils/logger.mjs
582
582
  function createConsole(consoleLike = console) {
583
583
  const lockedMethods = {
584
584
  log: consoleLike.log.bind(consoleLike),
@@ -593,7 +593,7 @@ function createLogger(prefix, maybeCall = passThrough) {
593
593
  }
594
594
  var _createLogger, passThrough;
595
595
  var init_logger = __esm({
596
- "../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/utils/logger.mjs"() {
596
+ "../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/utils/logger.mjs"() {
597
597
  _createLogger = (prefix, maybeCall, consoleLike) => {
598
598
  function _log(level, ...args) {
599
599
  maybeCall(() => {
@@ -622,10 +622,10 @@ var init_logger = __esm({
622
622
  }
623
623
  });
624
624
 
625
- // ../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/utils/user-agent-utils.mjs
625
+ // ../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/utils/user-agent-utils.mjs
626
626
  var MOBILE, TABLET, GENERIC;
627
627
  var init_user_agent_utils = __esm({
628
- "../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/utils/user-agent-utils.mjs"() {
628
+ "../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/utils/user-agent-utils.mjs"() {
629
629
  init_string_utils();
630
630
  init_type_utils();
631
631
  MOBILE = "Mobile";
@@ -636,7 +636,7 @@ var init_user_agent_utils = __esm({
636
636
  }
637
637
  });
638
638
 
639
- // ../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/utils/index.mjs
639
+ // ../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/utils/index.mjs
640
640
  function assert(truthyValue, message) {
641
641
  if (!truthyValue || "string" != typeof truthyValue || isEmpty(truthyValue)) throw new Error(message);
642
642
  }
@@ -680,7 +680,7 @@ function allSettled(promises) {
680
680
  }
681
681
  var STRING_FORMAT, isError;
682
682
  var init_utils = __esm({
683
- "../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/utils/index.mjs"() {
683
+ "../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/utils/index.mjs"() {
684
684
  init_bot_detection();
685
685
  init_bucketed_rate_limiter();
686
686
  init_number_utils();
@@ -694,10 +694,10 @@ var init_utils = __esm({
694
694
  }
695
695
  });
696
696
 
697
- // ../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/eventemitter.mjs
697
+ // ../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/eventemitter.mjs
698
698
  var SimpleEventEmitter;
699
699
  var init_eventemitter = __esm({
700
- "../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/eventemitter.mjs"() {
700
+ "../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/eventemitter.mjs"() {
701
701
  SimpleEventEmitter = class {
702
702
  constructor() {
703
703
  this.events = {};
@@ -718,7 +718,7 @@ var init_eventemitter = __esm({
718
718
  }
719
719
  });
720
720
 
721
- // ../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/gzip.mjs
721
+ // ../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/gzip.mjs
722
722
  function isGzipSupported() {
723
723
  return "CompressionStream" in globalThis;
724
724
  }
@@ -737,11 +737,11 @@ async function gzipCompress(input, isDebug = true) {
737
737
  }
738
738
  }
739
739
  var init_gzip = __esm({
740
- "../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/gzip.mjs"() {
740
+ "../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/gzip.mjs"() {
741
741
  }
742
742
  });
743
743
 
744
- // ../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/posthog-core-stateless.mjs
744
+ // ../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/posthog-core-stateless.mjs
745
745
  async function logFlushError(err) {
746
746
  if (err instanceof PostHogFetchHttpError) {
747
747
  let text = "";
@@ -761,7 +761,7 @@ function isPostHogFetchContentTooLargeError(err) {
761
761
  }
762
762
  var PostHogFetchHttpError, PostHogFetchNetworkError, PostHogCoreStateless;
763
763
  var init_posthog_core_stateless = __esm({
764
- "../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/posthog-core-stateless.mjs"() {
764
+ "../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/posthog-core-stateless.mjs"() {
765
765
  init_eventemitter();
766
766
  init_featureFlagUtils();
767
767
  init_gzip();
@@ -1175,6 +1175,8 @@ var init_posthog_core_stateless = __esm({
1175
1175
  processBeforeEnqueue(message) {
1176
1176
  return message;
1177
1177
  }
1178
+ async flushStorage() {
1179
+ }
1178
1180
  enqueue(type, _message, options) {
1179
1181
  this.wrap(() => {
1180
1182
  if (this.optedOut) return void this._events.emit(type, "Library is disabled. Not sending event. To re-enable, call posthog.optIn()");
@@ -1290,11 +1292,12 @@ var init_posthog_core_stateless = __esm({
1290
1292
  while (queue.length > 0 && sentMessages.length < originalQueueLength) {
1291
1293
  const batchItems = queue.slice(0, this.maxBatchSize);
1292
1294
  const batchMessages = batchItems.map((item) => item.message);
1293
- const persistQueueChange = () => {
1295
+ const persistQueueChange = async () => {
1294
1296
  const refreshedQueue = this.getPersistedProperty(types_PostHogPersistedProperty.Queue) || [];
1295
1297
  const newQueue = refreshedQueue.slice(batchItems.length);
1296
1298
  this.setPersistedProperty(types_PostHogPersistedProperty.Queue, newQueue);
1297
1299
  queue = newQueue;
1300
+ await this.flushStorage();
1298
1301
  };
1299
1302
  const data = {
1300
1303
  api_key: this.apiKey,
@@ -1330,11 +1333,11 @@ var init_posthog_core_stateless = __esm({
1330
1333
  this._logger.warn(`Received 413 when sending batch of size ${batchMessages.length}, reducing batch size to ${this.maxBatchSize}`);
1331
1334
  continue;
1332
1335
  }
1333
- if (!(err instanceof PostHogFetchNetworkError)) persistQueueChange();
1336
+ if (!(err instanceof PostHogFetchNetworkError)) await persistQueueChange();
1334
1337
  this._events.emit("error", err);
1335
1338
  throw err;
1336
1339
  }
1337
- persistQueueChange();
1340
+ await persistQueueChange();
1338
1341
  sentMessages.push(...batchMessages);
1339
1342
  }
1340
1343
  this._events.emit("flush", sentMessages);
@@ -1414,9 +1417,9 @@ var init_posthog_core_stateless = __esm({
1414
1417
  }
1415
1418
  });
1416
1419
 
1417
- // ../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/posthog-core.mjs
1420
+ // ../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/posthog-core.mjs
1418
1421
  var init_posthog_core = __esm({
1419
- "../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/posthog-core.mjs"() {
1422
+ "../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/posthog-core.mjs"() {
1420
1423
  init_featureFlagUtils();
1421
1424
  init_types();
1422
1425
  init_posthog_core_stateless();
@@ -1425,7 +1428,7 @@ var init_posthog_core = __esm({
1425
1428
  }
1426
1429
  });
1427
1430
 
1428
- // ../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/chunk-ids.mjs
1431
+ // ../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/chunk-ids.mjs
1429
1432
  function getFilenameToChunkIdMap(stackParser) {
1430
1433
  const chunkIdMap = globalThis._posthogChunkIds;
1431
1434
  if (!chunkIdMap) return;
@@ -1458,14 +1461,14 @@ function getFilenameToChunkIdMap(stackParser) {
1458
1461
  }
1459
1462
  var parsedStackResults, lastKeysCount, cachedFilenameChunkIds;
1460
1463
  var init_chunk_ids = __esm({
1461
- "../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/chunk-ids.mjs"() {
1464
+ "../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/chunk-ids.mjs"() {
1462
1465
  }
1463
1466
  });
1464
1467
 
1465
- // ../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/error-properties-builder.mjs
1468
+ // ../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/error-properties-builder.mjs
1466
1469
  var MAX_CAUSE_RECURSION, ErrorPropertiesBuilder;
1467
1470
  var init_error_properties_builder = __esm({
1468
- "../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/error-properties-builder.mjs"() {
1471
+ "../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/error-properties-builder.mjs"() {
1469
1472
  init_utils();
1470
1473
  init_chunk_ids();
1471
1474
  MAX_CAUSE_RECURSION = 4;
@@ -1483,7 +1486,7 @@ var init_error_properties_builder = __esm({
1483
1486
  };
1484
1487
  const coercingContext = this.buildCoercingContext(mechanism, hint, 0);
1485
1488
  const exceptionWithCause = coercingContext.apply(input);
1486
- const parsingContext = this.buildParsingContext();
1489
+ const parsingContext = this.buildParsingContext(hint);
1487
1490
  const exceptionWithStack = this.parseStacktrace(exceptionWithCause, parsingContext);
1488
1491
  const exceptionList = this.convertToExceptionList(exceptionWithStack, mechanism);
1489
1492
  return {
@@ -1507,7 +1510,7 @@ var init_error_properties_builder = __esm({
1507
1510
  let cause;
1508
1511
  if (null != err.cause) cause = this.parseStacktrace(err.cause, ctx);
1509
1512
  let stack;
1510
- if ("" != err.stack && null != err.stack) stack = this.applyChunkIds(this.stackParser(err.stack, err.synthetic ? 1 : 0), ctx.chunkIdMap);
1513
+ if ("" != err.stack && null != err.stack) stack = this.applyChunkIds(this.stackParser(err.stack, err.synthetic ? ctx.skipFirstLines : 0), ctx.chunkIdMap);
1511
1514
  return {
1512
1515
  ...err,
1513
1516
  cause,
@@ -1552,9 +1555,10 @@ var init_error_properties_builder = __esm({
1552
1555
  }));
1553
1556
  return exceptionList;
1554
1557
  }
1555
- buildParsingContext() {
1558
+ buildParsingContext(hint) {
1556
1559
  const context = {
1557
- chunkIdMap: getFilenameToChunkIdMap(this.stackParser)
1560
+ chunkIdMap: getFilenameToChunkIdMap(this.stackParser),
1561
+ skipFirstLines: hint.skipFirstLines ?? 1
1558
1562
  };
1559
1563
  return context;
1560
1564
  }
@@ -1579,7 +1583,7 @@ var init_error_properties_builder = __esm({
1579
1583
  }
1580
1584
  });
1581
1585
 
1582
- // ../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/parsers/base.mjs
1586
+ // ../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/parsers/base.mjs
1583
1587
  function createFrame(platform, filename, func, lineno, colno) {
1584
1588
  const frame = {
1585
1589
  platform,
@@ -1593,16 +1597,16 @@ function createFrame(platform, filename, func, lineno, colno) {
1593
1597
  }
1594
1598
  var UNKNOWN_FUNCTION;
1595
1599
  var init_base = __esm({
1596
- "../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/parsers/base.mjs"() {
1600
+ "../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/parsers/base.mjs"() {
1597
1601
  init_utils();
1598
1602
  UNKNOWN_FUNCTION = "?";
1599
1603
  }
1600
1604
  });
1601
1605
 
1602
- // ../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/parsers/safari.mjs
1606
+ // ../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/parsers/safari.mjs
1603
1607
  var extractSafariExtensionDetails;
1604
1608
  var init_safari = __esm({
1605
- "../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/parsers/safari.mjs"() {
1609
+ "../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/parsers/safari.mjs"() {
1606
1610
  init_base();
1607
1611
  extractSafariExtensionDetails = (func, filename) => {
1608
1612
  const isSafariExtension = -1 !== func.indexOf("safari-extension");
@@ -1618,10 +1622,10 @@ var init_safari = __esm({
1618
1622
  }
1619
1623
  });
1620
1624
 
1621
- // ../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/parsers/chrome.mjs
1625
+ // ../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/parsers/chrome.mjs
1622
1626
  var chromeRegexNoFnName, chromeRegex, chromeEvalRegex, chromeStackLineParser;
1623
1627
  var init_chrome = __esm({
1624
- "../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/parsers/chrome.mjs"() {
1628
+ "../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/parsers/chrome.mjs"() {
1625
1629
  init_base();
1626
1630
  init_safari();
1627
1631
  chromeRegexNoFnName = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i;
@@ -1651,10 +1655,10 @@ var init_chrome = __esm({
1651
1655
  }
1652
1656
  });
1653
1657
 
1654
- // ../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/parsers/gecko.mjs
1658
+ // ../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/parsers/gecko.mjs
1655
1659
  var geckoREgex, geckoEvalRegex, geckoStackLineParser;
1656
1660
  var init_gecko = __esm({
1657
- "../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/parsers/gecko.mjs"() {
1661
+ "../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/parsers/gecko.mjs"() {
1658
1662
  init_base();
1659
1663
  init_safari();
1660
1664
  geckoREgex = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i;
@@ -1681,10 +1685,10 @@ var init_gecko = __esm({
1681
1685
  }
1682
1686
  });
1683
1687
 
1684
- // ../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/parsers/winjs.mjs
1688
+ // ../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/parsers/winjs.mjs
1685
1689
  var winjsRegex, winjsStackLineParser;
1686
1690
  var init_winjs = __esm({
1687
- "../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/parsers/winjs.mjs"() {
1691
+ "../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/parsers/winjs.mjs"() {
1688
1692
  init_base();
1689
1693
  winjsRegex = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i;
1690
1694
  winjsStackLineParser = (line, platform) => {
@@ -1694,10 +1698,10 @@ var init_winjs = __esm({
1694
1698
  }
1695
1699
  });
1696
1700
 
1697
- // ../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/parsers/opera.mjs
1701
+ // ../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/parsers/opera.mjs
1698
1702
  var opera10Regex, opera10StackLineParser, opera11Regex, opera11StackLineParser;
1699
1703
  var init_opera = __esm({
1700
- "../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/parsers/opera.mjs"() {
1704
+ "../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/parsers/opera.mjs"() {
1701
1705
  init_base();
1702
1706
  opera10Regex = / line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i;
1703
1707
  opera10StackLineParser = (line, platform) => {
@@ -1712,7 +1716,7 @@ var init_opera = __esm({
1712
1716
  }
1713
1717
  });
1714
1718
 
1715
- // ../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/parsers/node.mjs
1719
+ // ../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/parsers/node.mjs
1716
1720
  function filenameIsInApp(filename, isNative = false) {
1717
1721
  const isInternal = isNative || filename && !filename.startsWith("/") && !filename.match(/^[A-Z]:/) && !filename.startsWith(".") && !filename.match(/^[a-zA-Z]([a-zA-Z0-9.\-+])*:\/\//);
1718
1722
  return !isInternal && void 0 !== filename && !filename.includes("node_modules/");
@@ -1722,7 +1726,7 @@ function _parseIntOrUndefined(input) {
1722
1726
  }
1723
1727
  var FILENAME_MATCH, FULL_MATCH, nodeStackLineParser;
1724
1728
  var init_node = __esm({
1725
- "../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/parsers/node.mjs"() {
1729
+ "../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/parsers/node.mjs"() {
1726
1730
  init_base();
1727
1731
  FILENAME_MATCH = /^\s*[-]{4,}$/;
1728
1732
  FULL_MATCH = /at (?:async )?(?:(.+?)\s+\()?(?:(.+):(\d+):(\d+)?|([^)]+))\)?/;
@@ -1783,7 +1787,7 @@ var init_node = __esm({
1783
1787
  }
1784
1788
  });
1785
1789
 
1786
- // ../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/parsers/index.mjs
1790
+ // ../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/parsers/index.mjs
1787
1791
  function reverseAndStripFrames(stack) {
1788
1792
  if (!stack.length) return [];
1789
1793
  const localStack = Array.from(stack);
@@ -1824,7 +1828,7 @@ function createStackParser(platform, ...parsers) {
1824
1828
  }
1825
1829
  var WEBPACK_ERROR_REGEXP, STACKTRACE_FRAME_LIMIT;
1826
1830
  var init_parsers = __esm({
1827
- "../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/parsers/index.mjs"() {
1831
+ "../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/parsers/index.mjs"() {
1828
1832
  init_base();
1829
1833
  init_chrome();
1830
1834
  init_gecko();
@@ -1836,10 +1840,10 @@ var init_parsers = __esm({
1836
1840
  }
1837
1841
  });
1838
1842
 
1839
- // ../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/coercers/dom-exception-coercer.mjs
1843
+ // ../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/coercers/dom-exception-coercer.mjs
1840
1844
  var DOMExceptionCoercer;
1841
1845
  var init_dom_exception_coercer = __esm({
1842
- "../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/coercers/dom-exception-coercer.mjs"() {
1846
+ "../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/coercers/dom-exception-coercer.mjs"() {
1843
1847
  init_utils();
1844
1848
  DOMExceptionCoercer = class {
1845
1849
  match(err) {
@@ -1873,10 +1877,10 @@ var init_dom_exception_coercer = __esm({
1873
1877
  }
1874
1878
  });
1875
1879
 
1876
- // ../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/coercers/error-coercer.mjs
1880
+ // ../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/coercers/error-coercer.mjs
1877
1881
  var ErrorCoercer;
1878
1882
  var init_error_coercer = __esm({
1879
- "../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/coercers/error-coercer.mjs"() {
1883
+ "../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/coercers/error-coercer.mjs"() {
1880
1884
  init_utils();
1881
1885
  ErrorCoercer = class {
1882
1886
  match(err) {
@@ -1906,10 +1910,10 @@ var init_error_coercer = __esm({
1906
1910
  }
1907
1911
  });
1908
1912
 
1909
- // ../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/coercers/error-event-coercer.mjs
1913
+ // ../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/coercers/error-event-coercer.mjs
1910
1914
  var ErrorEventCoercer;
1911
1915
  var init_error_event_coercer = __esm({
1912
- "../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/coercers/error-event-coercer.mjs"() {
1916
+ "../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/coercers/error-event-coercer.mjs"() {
1913
1917
  init_utils();
1914
1918
  ErrorEventCoercer = class {
1915
1919
  constructor() {
@@ -1931,10 +1935,10 @@ var init_error_event_coercer = __esm({
1931
1935
  }
1932
1936
  });
1933
1937
 
1934
- // ../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/coercers/string-coercer.mjs
1938
+ // ../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/coercers/string-coercer.mjs
1935
1939
  var ERROR_TYPES_PATTERN, StringCoercer;
1936
1940
  var init_string_coercer = __esm({
1937
- "../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/coercers/string-coercer.mjs"() {
1941
+ "../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/coercers/string-coercer.mjs"() {
1938
1942
  ERROR_TYPES_PATTERN = /^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;
1939
1943
  StringCoercer = class {
1940
1944
  match(input) {
@@ -1966,10 +1970,10 @@ var init_string_coercer = __esm({
1966
1970
  }
1967
1971
  });
1968
1972
 
1969
- // ../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/types.mjs
1973
+ // ../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/types.mjs
1970
1974
  var severityLevels;
1971
1975
  var init_types2 = __esm({
1972
- "../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/types.mjs"() {
1976
+ "../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/types.mjs"() {
1973
1977
  severityLevels = [
1974
1978
  "fatal",
1975
1979
  "error",
@@ -1981,7 +1985,7 @@ var init_types2 = __esm({
1981
1985
  }
1982
1986
  });
1983
1987
 
1984
- // ../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/coercers/utils.mjs
1988
+ // ../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/coercers/utils.mjs
1985
1989
  function extractExceptionKeysForMessage(err, maxLength = 40) {
1986
1990
  const keys = Object.keys(err);
1987
1991
  keys.sort();
@@ -1996,14 +2000,14 @@ function extractExceptionKeysForMessage(err, maxLength = 40) {
1996
2000
  return "";
1997
2001
  }
1998
2002
  var init_utils2 = __esm({
1999
- "../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/coercers/utils.mjs"() {
2003
+ "../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/coercers/utils.mjs"() {
2000
2004
  }
2001
2005
  });
2002
2006
 
2003
- // ../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/coercers/object-coercer.mjs
2007
+ // ../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/coercers/object-coercer.mjs
2004
2008
  var ObjectCoercer;
2005
2009
  var init_object_coercer = __esm({
2006
- "../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/coercers/object-coercer.mjs"() {
2010
+ "../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/coercers/object-coercer.mjs"() {
2007
2011
  init_utils();
2008
2012
  init_types2();
2009
2013
  init_utils2();
@@ -2057,10 +2061,10 @@ var init_object_coercer = __esm({
2057
2061
  }
2058
2062
  });
2059
2063
 
2060
- // ../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/coercers/event-coercer.mjs
2064
+ // ../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/coercers/event-coercer.mjs
2061
2065
  var EventCoercer;
2062
2066
  var init_event_coercer = __esm({
2063
- "../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/coercers/event-coercer.mjs"() {
2067
+ "../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/coercers/event-coercer.mjs"() {
2064
2068
  init_utils();
2065
2069
  init_utils2();
2066
2070
  EventCoercer = class {
@@ -2080,10 +2084,10 @@ var init_event_coercer = __esm({
2080
2084
  }
2081
2085
  });
2082
2086
 
2083
- // ../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/coercers/primitive-coercer.mjs
2087
+ // ../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/coercers/primitive-coercer.mjs
2084
2088
  var PrimitiveCoercer;
2085
2089
  var init_primitive_coercer = __esm({
2086
- "../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/coercers/primitive-coercer.mjs"() {
2090
+ "../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/coercers/primitive-coercer.mjs"() {
2087
2091
  init_utils();
2088
2092
  PrimitiveCoercer = class {
2089
2093
  match(candidate) {
@@ -2101,10 +2105,10 @@ var init_primitive_coercer = __esm({
2101
2105
  }
2102
2106
  });
2103
2107
 
2104
- // ../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/coercers/promise-rejection-event.mjs
2108
+ // ../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/coercers/promise-rejection-event.mjs
2105
2109
  var PromiseRejectionEventCoercer;
2106
2110
  var init_promise_rejection_event = __esm({
2107
- "../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/coercers/promise-rejection-event.mjs"() {
2111
+ "../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/coercers/promise-rejection-event.mjs"() {
2108
2112
  init_utils();
2109
2113
  PromiseRejectionEventCoercer = class {
2110
2114
  match(err) {
@@ -2133,9 +2137,9 @@ var init_promise_rejection_event = __esm({
2133
2137
  }
2134
2138
  });
2135
2139
 
2136
- // ../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/coercers/index.mjs
2140
+ // ../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/coercers/index.mjs
2137
2141
  var init_coercers = __esm({
2138
- "../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/coercers/index.mjs"() {
2142
+ "../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/coercers/index.mjs"() {
2139
2143
  init_dom_exception_coercer();
2140
2144
  init_error_coercer();
2141
2145
  init_error_event_coercer();
@@ -2147,10 +2151,10 @@ var init_coercers = __esm({
2147
2151
  }
2148
2152
  });
2149
2153
 
2150
- // ../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/utils.mjs
2154
+ // ../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/utils.mjs
2151
2155
  var ReduceableCache;
2152
2156
  var init_utils3 = __esm({
2153
- "../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/utils.mjs"() {
2157
+ "../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/utils.mjs"() {
2154
2158
  ReduceableCache = class {
2155
2159
  constructor(_maxSize) {
2156
2160
  this._maxSize = _maxSize;
@@ -2176,7 +2180,7 @@ var init_utils3 = __esm({
2176
2180
  }
2177
2181
  });
2178
2182
 
2179
- // ../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/index.mjs
2183
+ // ../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/index.mjs
2180
2184
  var error_tracking_exports = {};
2181
2185
  __export(error_tracking_exports, {
2182
2186
  DOMExceptionCoercer: () => DOMExceptionCoercer,
@@ -2200,7 +2204,7 @@ __export(error_tracking_exports, {
2200
2204
  winjsStackLineParser: () => winjsStackLineParser
2201
2205
  });
2202
2206
  var init_error_tracking = __esm({
2203
- "../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/error-tracking/index.mjs"() {
2207
+ "../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/error-tracking/index.mjs"() {
2204
2208
  init_error_properties_builder();
2205
2209
  init_parsers();
2206
2210
  init_coercers();
@@ -2208,9 +2212,9 @@ var init_error_tracking = __esm({
2208
2212
  }
2209
2213
  });
2210
2214
 
2211
- // ../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/index.mjs
2215
+ // ../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/index.mjs
2212
2216
  var init_dist = __esm({
2213
- "../../node_modules/.pnpm/@posthog+core@1.17.0/node_modules/@posthog/core/dist/index.mjs"() {
2217
+ "../../node_modules/.pnpm/@posthog+core@1.20.1/node_modules/@posthog/core/dist/index.mjs"() {
2214
2218
  init_featureFlagUtils();
2215
2219
  init_uuidv7();
2216
2220
  init_utils();
@@ -2401,7 +2405,7 @@ function snipLine(line, colno) {
2401
2405
  }
2402
2406
  var LRU_FILE_CONTENTS_CACHE, LRU_FILE_CONTENTS_FS_READ_FAILED, DEFAULT_LINES_OF_CONTEXT, MAX_CONTEXTLINES_COLNO, MAX_CONTEXTLINES_LINENO;
2403
2407
  var init_context_lines_node = __esm({
2404
- "../../node_modules/.pnpm/posthog-node@5.24.7/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/context-lines.node.mjs"() {
2408
+ "../../node_modules/.pnpm/posthog-node@5.24.11/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/context-lines.node.mjs"() {
2405
2409
  init_dist();
2406
2410
  LRU_FILE_CONTENTS_CACHE = new error_tracking_exports.ReduceableCache(25);
2407
2411
  LRU_FILE_CONTENTS_FS_READ_FAILED = new error_tracking_exports.ReduceableCache(20);
@@ -2411,7 +2415,7 @@ var init_context_lines_node = __esm({
2411
2415
  }
2412
2416
  });
2413
2417
 
2414
- // ../../node_modules/.pnpm/posthog-node@5.24.7/node_modules/posthog-node/dist/extensions/error-tracking/autocapture.mjs
2418
+ // ../../node_modules/.pnpm/posthog-node@5.24.11/node_modules/posthog-node/dist/extensions/error-tracking/autocapture.mjs
2415
2419
  function makeUncaughtExceptionHandler(captureFn, onFatalFn) {
2416
2420
  let calledFatalError = false;
2417
2421
  return Object.assign((error) => {
@@ -2443,14 +2447,14 @@ function addUnhandledRejectionListener(captureFn) {
2443
2447
  }));
2444
2448
  }
2445
2449
  var init_autocapture = __esm({
2446
- "../../node_modules/.pnpm/posthog-node@5.24.7/node_modules/posthog-node/dist/extensions/error-tracking/autocapture.mjs"() {
2450
+ "../../node_modules/.pnpm/posthog-node@5.24.11/node_modules/posthog-node/dist/extensions/error-tracking/autocapture.mjs"() {
2447
2451
  }
2448
2452
  });
2449
2453
 
2450
- // ../../node_modules/.pnpm/posthog-node@5.24.7/node_modules/posthog-node/dist/extensions/error-tracking/index.mjs
2454
+ // ../../node_modules/.pnpm/posthog-node@5.24.11/node_modules/posthog-node/dist/extensions/error-tracking/index.mjs
2451
2455
  var SHUTDOWN_TIMEOUT, ErrorTracking;
2452
2456
  var init_error_tracking2 = __esm({
2453
- "../../node_modules/.pnpm/posthog-node@5.24.7/node_modules/posthog-node/dist/extensions/error-tracking/index.mjs"() {
2457
+ "../../node_modules/.pnpm/posthog-node@5.24.11/node_modules/posthog-node/dist/extensions/error-tracking/index.mjs"() {
2454
2458
  init_autocapture();
2455
2459
  init_dist();
2456
2460
  SHUTDOWN_TIMEOUT = 2e3;
@@ -2521,18 +2525,18 @@ var init_error_tracking2 = __esm({
2521
2525
  }
2522
2526
  });
2523
2527
 
2524
- // ../../node_modules/.pnpm/posthog-node@5.24.7/node_modules/posthog-node/dist/version.mjs
2528
+ // ../../node_modules/.pnpm/posthog-node@5.24.11/node_modules/posthog-node/dist/version.mjs
2525
2529
  var version;
2526
2530
  var init_version = __esm({
2527
- "../../node_modules/.pnpm/posthog-node@5.24.7/node_modules/posthog-node/dist/version.mjs"() {
2528
- version = "5.24.7";
2531
+ "../../node_modules/.pnpm/posthog-node@5.24.11/node_modules/posthog-node/dist/version.mjs"() {
2532
+ version = "5.24.11";
2529
2533
  }
2530
2534
  });
2531
2535
 
2532
- // ../../node_modules/.pnpm/posthog-node@5.24.7/node_modules/posthog-node/dist/types.mjs
2536
+ // ../../node_modules/.pnpm/posthog-node@5.24.11/node_modules/posthog-node/dist/types.mjs
2533
2537
  var FeatureFlagError2;
2534
2538
  var init_types3 = __esm({
2535
- "../../node_modules/.pnpm/posthog-node@5.24.7/node_modules/posthog-node/dist/types.mjs"() {
2539
+ "../../node_modules/.pnpm/posthog-node@5.24.11/node_modules/posthog-node/dist/types.mjs"() {
2536
2540
  FeatureFlagError2 = {
2537
2541
  ERRORS_WHILE_COMPUTING: "errors_while_computing_flags",
2538
2542
  FLAG_MISSING: "flag_missing",
@@ -2542,7 +2546,7 @@ var init_types3 = __esm({
2542
2546
  }
2543
2547
  });
2544
2548
 
2545
- // ../../node_modules/.pnpm/posthog-node@5.24.7/node_modules/posthog-node/dist/extensions/feature-flags/crypto.mjs
2549
+ // ../../node_modules/.pnpm/posthog-node@5.24.11/node_modules/posthog-node/dist/extensions/feature-flags/crypto.mjs
2546
2550
  async function hashSHA1(text) {
2547
2551
  const subtle = globalThis.crypto?.subtle;
2548
2552
  if (!subtle) throw new Error("SubtleCrypto API not available");
@@ -2551,11 +2555,11 @@ async function hashSHA1(text) {
2551
2555
  return hashArray.map((byte) => byte.toString(16).padStart(2, "0")).join("");
2552
2556
  }
2553
2557
  var init_crypto = __esm({
2554
- "../../node_modules/.pnpm/posthog-node@5.24.7/node_modules/posthog-node/dist/extensions/feature-flags/crypto.mjs"() {
2558
+ "../../node_modules/.pnpm/posthog-node@5.24.11/node_modules/posthog-node/dist/extensions/feature-flags/crypto.mjs"() {
2555
2559
  }
2556
2560
  });
2557
2561
 
2558
- // ../../node_modules/.pnpm/posthog-node@5.24.7/node_modules/posthog-node/dist/extensions/feature-flags/feature-flags.mjs
2562
+ // ../../node_modules/.pnpm/posthog-node@5.24.11/node_modules/posthog-node/dist/extensions/feature-flags/feature-flags.mjs
2559
2563
  async function _hash(key, distinctId, salt = "") {
2560
2564
  const hashString = await hashSHA1(`${key}.${distinctId}${salt}`);
2561
2565
  return parseInt(hashString.slice(0, 15), 16) / LONG_SCALE;
@@ -2723,7 +2727,7 @@ function relativeDateParseForFeatureFlagMatching(value) {
2723
2727
  }
2724
2728
  var SIXTY_SECONDS, LONG_SCALE, NULL_VALUES_ALLOWED_OPERATORS, ClientError, InconclusiveMatchError, RequiresServerEvaluation, FeatureFlagsPoller;
2725
2729
  var init_feature_flags = __esm({
2726
- "../../node_modules/.pnpm/posthog-node@5.24.7/node_modules/posthog-node/dist/extensions/feature-flags/feature-flags.mjs"() {
2730
+ "../../node_modules/.pnpm/posthog-node@5.24.11/node_modules/posthog-node/dist/extensions/feature-flags/feature-flags.mjs"() {
2727
2731
  init_dist();
2728
2732
  init_crypto();
2729
2733
  SIXTY_SECONDS = 6e4;
@@ -3136,10 +3140,10 @@ var init_feature_flags = __esm({
3136
3140
  }
3137
3141
  });
3138
3142
 
3139
- // ../../node_modules/.pnpm/posthog-node@5.24.7/node_modules/posthog-node/dist/storage-memory.mjs
3143
+ // ../../node_modules/.pnpm/posthog-node@5.24.11/node_modules/posthog-node/dist/storage-memory.mjs
3140
3144
  var PostHogMemoryStorage;
3141
3145
  var init_storage_memory = __esm({
3142
- "../../node_modules/.pnpm/posthog-node@5.24.7/node_modules/posthog-node/dist/storage-memory.mjs"() {
3146
+ "../../node_modules/.pnpm/posthog-node@5.24.11/node_modules/posthog-node/dist/storage-memory.mjs"() {
3143
3147
  PostHogMemoryStorage = class {
3144
3148
  getProperty(key) {
3145
3149
  return this._memoryStorage[key];
@@ -3154,10 +3158,10 @@ var init_storage_memory = __esm({
3154
3158
  }
3155
3159
  });
3156
3160
 
3157
- // ../../node_modules/.pnpm/posthog-node@5.24.7/node_modules/posthog-node/dist/client.mjs
3161
+ // ../../node_modules/.pnpm/posthog-node@5.24.11/node_modules/posthog-node/dist/client.mjs
3158
3162
  var MINIMUM_POLLING_INTERVAL, THIRTY_SECONDS, MAX_CACHE_SIZE, PostHogBackendClient;
3159
3163
  var init_client = __esm({
3160
- "../../node_modules/.pnpm/posthog-node@5.24.7/node_modules/posthog-node/dist/client.mjs"() {
3164
+ "../../node_modules/.pnpm/posthog-node@5.24.11/node_modules/posthog-node/dist/client.mjs"() {
3161
3165
  init_version();
3162
3166
  init_dist();
3163
3167
  init_types3();
@@ -3765,7 +3769,7 @@ var init_client = __esm({
3765
3769
  });
3766
3770
  var PostHogContext;
3767
3771
  var init_context = __esm({
3768
- "../../node_modules/.pnpm/posthog-node@5.24.7/node_modules/posthog-node/dist/extensions/context/context.mjs"() {
3772
+ "../../node_modules/.pnpm/posthog-node@5.24.11/node_modules/posthog-node/dist/extensions/context/context.mjs"() {
3769
3773
  PostHogContext = class {
3770
3774
  constructor() {
3771
3775
  this.storage = new AsyncLocalStorage();
@@ -3793,7 +3797,7 @@ var init_context = __esm({
3793
3797
  }
3794
3798
  });
3795
3799
 
3796
- // ../../node_modules/.pnpm/posthog-node@5.24.7/node_modules/posthog-node/dist/extensions/sentry-integration.mjs
3800
+ // ../../node_modules/.pnpm/posthog-node@5.24.11/node_modules/posthog-node/dist/extensions/sentry-integration.mjs
3797
3801
  function createEventProcessor(_posthog, { organization, projectId, prefix, severityAllowList = [
3798
3802
  "error"
3799
3803
  ], sendExceptionsToPostHog = true } = {}) {
@@ -3849,7 +3853,7 @@ function sentryIntegration(_posthog, options) {
3849
3853
  }
3850
3854
  var NAME, PostHogSentryIntegration;
3851
3855
  var init_sentry_integration = __esm({
3852
- "../../node_modules/.pnpm/posthog-node@5.24.7/node_modules/posthog-node/dist/extensions/sentry-integration.mjs"() {
3856
+ "../../node_modules/.pnpm/posthog-node@5.24.11/node_modules/posthog-node/dist/extensions/sentry-integration.mjs"() {
3853
3857
  NAME = "posthog-node";
3854
3858
  PostHogSentryIntegration = class {
3855
3859
  static #_ = this.POSTHOG_ID_TAG = "posthog_distinct_id";
@@ -3871,7 +3875,7 @@ var init_sentry_integration = __esm({
3871
3875
  }
3872
3876
  });
3873
3877
 
3874
- // ../../node_modules/.pnpm/posthog-node@5.24.7/node_modules/posthog-node/dist/extensions/express.mjs
3878
+ // ../../node_modules/.pnpm/posthog-node@5.24.11/node_modules/posthog-node/dist/extensions/express.mjs
3875
3879
  function setupExpressErrorHandler(_posthog, app) {
3876
3880
  app.use(posthogErrorHandler(_posthog));
3877
3881
  }
@@ -3903,14 +3907,14 @@ function posthogErrorHandler(posthog) {
3903
3907
  };
3904
3908
  }
3905
3909
  var init_express = __esm({
3906
- "../../node_modules/.pnpm/posthog-node@5.24.7/node_modules/posthog-node/dist/extensions/express.mjs"() {
3910
+ "../../node_modules/.pnpm/posthog-node@5.24.11/node_modules/posthog-node/dist/extensions/express.mjs"() {
3907
3911
  init_error_tracking2();
3908
3912
  }
3909
3913
  });
3910
3914
 
3911
- // ../../node_modules/.pnpm/posthog-node@5.24.7/node_modules/posthog-node/dist/exports.mjs
3915
+ // ../../node_modules/.pnpm/posthog-node@5.24.11/node_modules/posthog-node/dist/exports.mjs
3912
3916
  var init_exports = __esm({
3913
- "../../node_modules/.pnpm/posthog-node@5.24.7/node_modules/posthog-node/dist/exports.mjs"() {
3917
+ "../../node_modules/.pnpm/posthog-node@5.24.11/node_modules/posthog-node/dist/exports.mjs"() {
3914
3918
  init_dist();
3915
3919
  init_sentry_integration();
3916
3920
  init_express();
@@ -3918,7 +3922,7 @@ var init_exports = __esm({
3918
3922
  }
3919
3923
  });
3920
3924
 
3921
- // ../../node_modules/.pnpm/posthog-node@5.24.7/node_modules/posthog-node/dist/entrypoints/index.node.mjs
3925
+ // ../../node_modules/.pnpm/posthog-node@5.24.11/node_modules/posthog-node/dist/entrypoints/index.node.mjs
3922
3926
  var index_node_exports = {};
3923
3927
  __export(index_node_exports, {
3924
3928
  FeatureFlagError: () => FeatureFlagError,
@@ -3930,7 +3934,7 @@ __export(index_node_exports, {
3930
3934
  });
3931
3935
  var PostHog;
3932
3936
  var init_index_node = __esm({
3933
- "../../node_modules/.pnpm/posthog-node@5.24.7/node_modules/posthog-node/dist/entrypoints/index.node.mjs"() {
3937
+ "../../node_modules/.pnpm/posthog-node@5.24.11/node_modules/posthog-node/dist/entrypoints/index.node.mjs"() {
3934
3938
  init_module_node();
3935
3939
  init_context_lines_node();
3936
3940
  init_error_tracking2();