@picked/analytics 0.0.1-dev.1765398246270 → 0.0.1-dev.1765409277916

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.
@@ -1,9 +1,9 @@
1
- import { trackSelfDescribingEvent as wt, newTracker as Pt, addGlobalContexts as Vt, enableActivityTracking as St, enableActivityTrackingCallback as Yt } from "@snowplow/browser-tracker";
2
- import { ButtonClickTrackingPlugin as Bt, enableButtonClickTracking as Ht } from "@snowplow/browser-plugin-button-click-tracking";
3
- import { PerformanceNavigationTimingPlugin as jt } from "@snowplow/browser-plugin-performance-navigation-timing";
4
- import { ErrorTrackingPlugin as qt, enableErrorTracking as At } from "@snowplow/browser-plugin-error-tracking";
5
- import { WebVitalsPlugin as Ot } from "@snowplow/browser-plugin-web-vitals";
6
- import { supportsDocument as X, supportsWindow as Ft, supportsCookies as Rt } from "@picked/client";
1
+ import { trackSelfDescribingEvent as Pt, newTracker as Vt, addGlobalContexts as St, enableActivityTracking as Yt, enableActivityTrackingCallback as Bt } from "@snowplow/browser-tracker";
2
+ import { ButtonClickTrackingPlugin as Ht, enableButtonClickTracking as qt } from "@snowplow/browser-plugin-button-click-tracking";
3
+ import { PerformanceNavigationTimingPlugin as At } from "@snowplow/browser-plugin-performance-navigation-timing";
4
+ import { ErrorTrackingPlugin as Ot, enableErrorTracking as Ft } from "@snowplow/browser-plugin-error-tracking";
5
+ import { WebVitalsPlugin as Rt } from "@snowplow/browser-plugin-web-vitals";
6
+ import { supportsDocument as X, supportsWindow as jt, supportsCookies as Wt } from "@picked/client";
7
7
  function J(t, e) {
8
8
  return `iglu:dev.pckd/${t}/jsonschema/${e}`;
9
9
  }
@@ -34,7 +34,7 @@ function n(t, e, s) {
34
34
  function u(t, e) {
35
35
  return (s, i) => {
36
36
  const a = e(s, i);
37
- wt(a);
37
+ Pt(a);
38
38
  };
39
39
  }
40
40
  function _(t, e, s = { passive: !0 }) {
@@ -50,7 +50,7 @@ function _(t, e, s = { passive: !0 }) {
50
50
  a.addEventListener(t, c, s), r.add(t);
51
51
  };
52
52
  }
53
- function Wt(t, e) {
53
+ function It(t, e) {
54
54
  const s = /* @__PURE__ */ new Set();
55
55
  return (i) => {
56
56
  if (s.has(t) || !X())
@@ -65,7 +65,7 @@ function Wt(t, e) {
65
65
  function h(t, e) {
66
66
  const s = /* @__PURE__ */ new Set();
67
67
  return (i) => {
68
- if (s.has(t) || !Ft())
68
+ if (s.has(t) || !jt())
69
69
  return;
70
70
  function a(o) {
71
71
  const r = i();
@@ -85,13 +85,13 @@ function f(t) {
85
85
  }
86
86
  const D = "unknown";
87
87
  function d(t) {
88
- var i, a, o, r;
89
- const e = It(), s = {
88
+ var i, a, o;
89
+ const e = Mt(), s = {
90
90
  id: t.sessionId || null
91
91
  };
92
- return t.isUser !== void 0 && (s.is_user = t.isUser), (i = t.identifiers) != null && i.fingerprintjs_visitor_id && (s.fingerprintjs_visitor_id = t.identifiers.fingerprintjs_visitor_id), e && (s.gaid = e), (a = t.shopifySession) != null && a.clientId && (s.shopify_client_id = t.shopifySession.clientId), (o = t.shopifySession) != null && o.customerId && (s.shopify_customer_id = t.shopifySession.customerId), (r = t.shopifySession) != null && r.checkoutToken && (s.shopify_checkout_token = t.shopifySession.checkoutToken), s;
92
+ return t.isUser !== void 0 && (s.is_user = t.isUser), e && (s.gaid = e), (i = t.shopifySession) != null && i.clientId && (s.shopify_client_id = t.shopifySession.clientId), (a = t.shopifySession) != null && a.customerId && (s.shopify_customer_id = t.shopifySession.customerId), (o = t.shopifySession) != null && o.checkoutToken && (s.shopify_checkout_token = t.shopifySession.checkoutToken), s;
93
93
  }
94
- function R(t) {
94
+ function j(t) {
95
95
  if (t.fields)
96
96
  return {
97
97
  items: t.fields.map(({ id: e, type: s, label: i, options: a }) => ({
@@ -126,7 +126,7 @@ function x(t, e = !1) {
126
126
  title: D
127
127
  };
128
128
  }
129
- function qn(t, e = !1) {
129
+ function On(t, e = !1) {
130
130
  const { productList: s } = t;
131
131
  if (s) {
132
132
  const i = {};
@@ -166,7 +166,7 @@ function qn(t, e = !1) {
166
166
  items: []
167
167
  };
168
168
  }
169
- function An(t, e = !1) {
169
+ function Fn(t, e = !1) {
170
170
  const { order: s } = t;
171
171
  if (s) {
172
172
  const i = {
@@ -213,7 +213,7 @@ function w(t) {
213
213
  title: D
214
214
  });
215
215
  }
216
- function On(t) {
216
+ function Rn(t) {
217
217
  const { modal: e } = t;
218
218
  return e ? {
219
219
  id: e.id,
@@ -238,8 +238,8 @@ function y(t) {
238
238
  if (!isNaN(e))
239
239
  return e;
240
240
  }
241
- function It() {
242
- if (!X() || !Rt())
241
+ function Mt() {
242
+ if (!X() || !Wt())
243
243
  return null;
244
244
  const t = "_ga=", e = document.cookie ? document.cookie.split(";") : [];
245
245
  for (const s of e) {
@@ -251,173 +251,183 @@ function It() {
251
251
  }
252
252
  }
253
253
  }
254
- function Mt(t) {
254
+ function Ut(t) {
255
255
  const e = [];
256
- return t.trackErrors && ($(), e.push(qt())), t.trackVitals && ($(), e.push(Ot())), t.trackPerformance && ($(), e.push(jt())), (t.trackButtonClickAllowList || t.trackButtonClickFilter) && e.push(Bt()), e;
256
+ return t.trackErrors && ($(), e.push(Ot())), t.trackVitals && ($(), e.push(Rt())), t.trackPerformance && ($(), e.push(At())), (t.trackButtonClickAllowList || t.trackButtonClickFilter) && e.push(Ht()), e;
257
257
  }
258
- function Ut(t) {
259
- t.trackActivity && !t.trackActivityCallback && ($(), St({
258
+ function zt(t) {
259
+ t.trackActivity && !t.trackActivityCallback && ($(), Yt({
260
260
  minimumVisitLength: 30,
261
261
  heartbeatDelay: 10
262
- })), t.trackActivity && t.trackActivityCallback && ($(), Yt({
262
+ })), t.trackActivity && t.trackActivityCallback && ($(), Bt({
263
263
  minimumVisitLength: 30,
264
264
  heartbeatDelay: 10,
265
265
  callback: t.trackActivityCallback
266
- })), (t.trackButtonClickAllowList || t.trackButtonClickFilter) && ($(), Ht({
266
+ })), (t.trackButtonClickAllowList || t.trackButtonClickFilter) && ($(), qt({
267
267
  filter: t.trackButtonClickAllowList ? {
268
268
  allowlist: t.trackButtonClickAllowList
269
269
  } : t.trackButtonClickFilter
270
- })), t.trackErrors && ($(), At());
270
+ })), t.trackErrors && ($(), Ft());
271
271
  }
272
- function Fn({
272
+ function jn({
273
273
  organizationId: t,
274
274
  projectId: e,
275
275
  cvlyX: s,
276
- collectorUrl: i = "evnts.pckd.dev",
277
- appId: a = "picked-analytics",
278
- trackVitals: o = !1,
279
- trackPerformance: r = !1,
280
- trackWebPage: c = !0,
281
- trackSessions: m = !0,
282
- trackBrowser: C = !0,
283
- trackActivity: $t = !1,
284
- trackErrors: gt = !1,
285
- trackActivityCallback: Lt,
286
- trackButtonClickAllowList: ht
276
+ deployment: i,
277
+ collectorUrl: a = "evnts.pckd.dev",
278
+ appId: o = "picked-analytics",
279
+ trackVitals: r = !0,
280
+ trackPerformance: c = !0,
281
+ trackWebPage: m = !0,
282
+ trackSessions: C = !0,
283
+ trackBrowser: $t = !0,
284
+ trackActivity: gt = !0,
285
+ trackErrors: Lt = !0,
286
+ trackActivityCallback: ht,
287
+ trackButtonClickAllowList: yt
287
288
  }) {
288
289
  $();
289
290
  const W = {
290
- trackVitals: o,
291
- trackErrors: gt,
292
- trackActivity: $t,
293
- trackPerformance: r,
294
- trackActivityCallback: Lt,
295
- trackButtonClickAllowList: ht
296
- }, yt = {
297
- appId: a,
291
+ trackVitals: r,
292
+ trackErrors: Lt,
293
+ trackActivity: gt,
294
+ trackPerformance: c,
295
+ trackActivityCallback: ht,
296
+ trackButtonClickAllowList: yt
297
+ }, Nt = {
298
+ appId: o,
298
299
  platform: "web",
299
300
  contexts: {
300
- webPage: c,
301
- session: m,
302
- browser: C || !1
301
+ webPage: m,
302
+ session: C,
303
+ browser: $t || !1
303
304
  },
304
- plugins: Mt(W)
305
- }, Nt = Pt(a, i, yt);
306
- return zt({
305
+ plugins: Ut(W)
306
+ }, wt = Vt(o, a, Nt);
307
+ return Gt({
307
308
  organizationId: t,
308
309
  projectId: e,
309
- cvlyX: s
310
- }), Ut(W), Nt;
310
+ cvlyX: s,
311
+ deployment: i
312
+ }), zt(W), wt;
311
313
  }
312
- function zt({ organizationId: t, projectId: e, cvlyX: s }) {
314
+ function Gt({ organizationId: t, projectId: e, cvlyX: s, deployment: i }) {
313
315
  if (!t || !e)
314
316
  throw new Error("bindGlobalContext: Both organizationId and projectId are required");
315
- const i = [];
316
- i.push(
317
+ const a = [];
318
+ a.push(
317
319
  n("app", "1-0-0", {
318
320
  organization_id: t,
319
321
  project_id: e
320
322
  })
321
- ), s && i.push(
323
+ ), i && a.push(
324
+ n("deployment", "1-0-0", {
325
+ git_commit_sha: i.sha,
326
+ deployment_id: i.id,
327
+ env: i.env,
328
+ url: i.host,
329
+ meta: i.meta ?? null
330
+ })
331
+ ), s && a.push(
322
332
  n("cvly_x", "1-0-1", {
323
333
  vercel_deployment_id: s.vercelDeploymentId,
324
334
  vercel_env: s.vercelEnv,
325
335
  vercel_url: s.vercelUrl
326
336
  })
327
- ), Vt(i);
337
+ ), St(a);
328
338
  }
329
339
  const tt = "app_close";
330
- function Gt(t, e) {
340
+ function Kt(t, e) {
331
341
  const s = f(t), i = d(t), a = p(t), o = x(t);
332
342
  return l(
333
343
  tt,
334
344
  [
335
345
  n("feature_list", "2-0-0", s),
336
- n("session", "1-0-4", i),
346
+ n("session", "1-0-3", i),
337
347
  o ? n("step", "1-0-0", o) : void 0,
338
348
  a ? n("experience", "1-0-1", a) : void 0
339
349
  ],
340
350
  e
341
351
  );
342
352
  }
343
- const Rn = u(tt, Gt), et = "app_initialize";
344
- function Kt(t, e) {
353
+ const Wn = u(tt, Kt), et = "app_initialize";
354
+ function Xt(t, e) {
345
355
  const s = f(t), i = d(t), a = p(t), o = x(t);
346
356
  return l(
347
357
  et,
348
358
  [
349
359
  n("feature_list", "2-0-0", s),
350
- n("session", "1-0-4", i),
360
+ n("session", "1-0-3", i),
351
361
  o ? n("step", "1-0-0", o) : void 0,
352
362
  a ? n("experience", "1-0-1", a) : void 0
353
363
  ],
354
364
  e
355
365
  );
356
366
  }
357
- const Wn = u(et, Kt), nt = "app_load";
358
- function Xt(t, e) {
367
+ const In = u(et, Xt), nt = "app_load";
368
+ function Jt(t, e) {
359
369
  const s = f(t), i = d(t), a = p(t), o = x(t);
360
370
  return l(
361
371
  nt,
362
372
  [
363
373
  n("feature_list", "2-0-0", s),
364
- n("session", "1-0-4", i),
374
+ n("session", "1-0-3", i),
365
375
  o ? n("step", "1-0-0", o) : void 0,
366
376
  a ? n("experience", "1-0-1", a) : void 0
367
377
  ],
368
378
  e
369
379
  );
370
380
  }
371
- const In = u(nt, Xt), st = "app_open";
372
- function Jt(t, e) {
381
+ const Mn = u(nt, Jt), st = "app_open";
382
+ function Qt(t, e) {
373
383
  const s = f(t), i = d(t), a = p(t), o = x(t);
374
384
  return l(
375
385
  st,
376
386
  [
377
387
  n("feature_list", "2-0-0", s),
378
- n("session", "1-0-4", i),
388
+ n("session", "1-0-3", i),
379
389
  o ? n("step", "1-0-0", o) : void 0,
380
390
  a ? n("experience", "1-0-1", a) : void 0
381
391
  ],
382
392
  e
383
393
  );
384
394
  }
385
- const Mn = u(st, Jt), ot = "experience_load";
386
- function Qt(t, e) {
395
+ const Un = u(st, Qt), ot = "experience_load";
396
+ function Zt(t, e) {
387
397
  const s = f(t), i = d(t), a = p(t, !0), o = x(t);
388
398
  return l(
389
399
  ot,
390
400
  [
391
401
  n("feature_list", "2-0-0", s),
392
- n("session", "1-0-4", i),
402
+ n("session", "1-0-3", i),
393
403
  n("experience", "1-0-1", a),
394
404
  o ? n("step", "1-0-0", o) : void 0
395
405
  ],
396
406
  e
397
407
  );
398
408
  }
399
- const Un = u(ot, Qt), at = "feature_decide";
400
- function Zt(t, e) {
409
+ const zn = u(ot, Zt), at = "feature_decide";
410
+ function te(t, e) {
401
411
  const s = f(t), i = d(t), a = p(t), o = x(t);
402
412
  return l(
403
413
  at,
404
414
  [
405
415
  n("feature_list", "2-0-0", s),
406
- n("session", "1-0-4", i),
416
+ n("session", "1-0-3", i),
407
417
  o ? n("step", "1-0-0", o) : void 0,
408
418
  a ? n("experience", "1-0-1", a) : void 0
409
419
  ],
410
420
  e
411
421
  );
412
422
  }
413
- const zn = u(at, Zt), it = "field_validation_error";
414
- function te(t, e) {
423
+ const Gn = u(at, te), it = "field_validation_error";
424
+ function ee(t, e) {
415
425
  const s = f(t), i = d(t), a = w(t), o = Z(t, !0), r = p(t), c = x(t);
416
426
  return l(
417
427
  it,
418
428
  [
419
429
  n("feature_list", "2-0-0", s),
420
- n("session", "1-0-4", i),
430
+ n("session", "1-0-3", i),
421
431
  n("exception", "1-0-0", o),
422
432
  n("form", "1-0-0", a),
423
433
  r && n("experience", "1-0-1", r),
@@ -426,14 +436,14 @@ function te(t, e) {
426
436
  e
427
437
  );
428
438
  }
429
- const Gn = u(it, te), rt = "form_submit";
430
- function ee(t, e) {
439
+ const Kn = u(it, ee), rt = "form_submit";
440
+ function ne(t, e) {
431
441
  const s = f(t), i = d(t), a = w(t), o = p(t), r = x(t);
432
442
  return l(
433
443
  rt,
434
444
  [
435
445
  n("feature_list", "2-0-0", s),
436
- n("session", "1-0-4", i),
446
+ n("session", "1-0-3", i),
437
447
  n("form", "1-0-0", a),
438
448
  o && n("experience", "1-0-1", o),
439
449
  r && n("step", "1-0-0", r)
@@ -441,14 +451,14 @@ function ee(t, e) {
441
451
  e
442
452
  );
443
453
  }
444
- const Kn = u(rt, ee), ct = "form_submit_error";
445
- function ne(t, e) {
454
+ const Xn = u(rt, ne), ct = "form_submit_error";
455
+ function se(t, e) {
446
456
  const s = f(t), i = d(t), a = w(t), o = Z(t, !0), r = p(t), c = x(t);
447
457
  return l(
448
458
  ct,
449
459
  [
450
460
  n("feature_list", "2-0-0", s),
451
- n("session", "1-0-4", i),
461
+ n("session", "1-0-3", i),
452
462
  n("form", "1-0-0", a),
453
463
  n("exception", "1-0-0", o),
454
464
  r && n("experience", "1-0-1", r),
@@ -457,14 +467,14 @@ function ne(t, e) {
457
467
  e
458
468
  );
459
469
  }
460
- const Xn = u(ct, ne), lt = "form_submit_success";
461
- function se(t, e) {
470
+ const Jn = u(ct, se), lt = "form_submit_success";
471
+ function oe(t, e) {
462
472
  const s = f(t), i = d(t), a = w(t), o = p(t), r = x(t);
463
473
  return l(
464
474
  lt,
465
475
  [
466
476
  n("feature_list", "2-0-0", s),
467
- n("session", "1-0-4", i),
477
+ n("session", "1-0-3", i),
468
478
  n("form", "1-0-0", a),
469
479
  o && n("experience", "1-0-1", o),
470
480
  r && n("step", "1-0-0", r)
@@ -472,14 +482,14 @@ function se(t, e) {
472
482
  e
473
483
  );
474
484
  }
475
- const Jn = u(lt, se), ut = "step_enter";
476
- function oe(t, e) {
477
- const s = f(t), i = d(t), a = p(t), o = x(t, !0), r = R(t);
485
+ const Qn = u(lt, oe), ut = "step_enter";
486
+ function ae(t, e) {
487
+ const s = f(t), i = d(t), a = p(t), o = x(t, !0), r = j(t);
478
488
  return l(
479
489
  ut,
480
490
  [
481
491
  n("feature_list", "2-0-0", s),
482
- n("session", "1-0-4", i),
492
+ n("session", "1-0-3", i),
483
493
  n("step", "1-0-0", o),
484
494
  r && n("field_list", "1-0-0", r),
485
495
  a && n("experience", "1-0-1", a)
@@ -487,14 +497,14 @@ function oe(t, e) {
487
497
  e
488
498
  );
489
499
  }
490
- const Qn = u(ut, oe), ft = "step_submit";
491
- function ae(t, e) {
492
- const s = f(t), i = d(t), a = p(t), o = x(t, !0), r = Q(t), c = R(t);
500
+ const Zn = u(ut, ae), ft = "step_submit";
501
+ function ie(t, e) {
502
+ const s = f(t), i = d(t), a = p(t), o = x(t, !0), r = Q(t), c = j(t);
493
503
  return l(
494
504
  ft,
495
505
  [
496
506
  n("feature_list", "2-0-0", s),
497
- n("session", "1-0-4", i),
507
+ n("session", "1-0-3", i),
498
508
  n("step", "1-0-0", o),
499
509
  c && n("field_list", "1-0-0", c),
500
510
  r && n("response_list", "1-0-0", r),
@@ -503,14 +513,14 @@ function ae(t, e) {
503
513
  e
504
514
  );
505
515
  }
506
- const Zn = u(ft, ae), dt = "step_submit_success";
507
- function ie(t, e) {
508
- const s = f(t), i = d(t), a = p(t), o = x(t, !0), r = R(t), c = Q(t);
516
+ const ts = u(ft, ie), dt = "step_submit_success";
517
+ function re(t, e) {
518
+ const s = f(t), i = d(t), a = p(t), o = x(t, !0), r = j(t), c = Q(t);
509
519
  return l(
510
520
  dt,
511
521
  [
512
522
  n("feature_list", "2-0-0", s),
513
- n("session", "1-0-4", i),
523
+ n("session", "1-0-3", i),
514
524
  n("step", "1-0-0", o),
515
525
  r && n("field_list", "1-0-0", r),
516
526
  c && n("response_list", "1-0-0", c),
@@ -519,7 +529,7 @@ function ie(t, e) {
519
529
  e
520
530
  );
521
531
  }
522
- const ts = u(dt, ie);
532
+ const es = u(dt, re);
523
533
  function k(t) {
524
534
  return t instanceof Element;
525
535
  }
@@ -596,12 +606,12 @@ function b(t) {
596
606
  }
597
607
  return "placeholder" in t && typeof t.placeholder == "string" ? t.placeholder : null;
598
608
  }
599
- const re = 255;
609
+ const ce = 255;
600
610
  function E(t) {
601
- return t ? t.slice(0, re) : null;
611
+ return t ? t.slice(0, ce) : null;
602
612
  }
603
613
  const S = "rapid_scroll";
604
- function ce(t, e) {
614
+ function le(t, e) {
605
615
  const s = f(t.analyticsContext), i = d(t.analyticsContext), a = p(t.analyticsContext), o = x(t.analyticsContext), r = t.event.target || document.activeElement || t.event.currentTarget;
606
616
  if (!k(r)) {
607
617
  const C = {
@@ -611,7 +621,7 @@ function ce(t, e) {
611
621
  S,
612
622
  [
613
623
  n("feature_list", "2-0-0", s),
614
- n("session", "1-0-4", i),
624
+ n("session", "1-0-3", i),
615
625
  o ? n("step", "1-0-0", o) : void 0,
616
626
  a ? n("experience", "1-0-1", a) : void 0,
617
627
  n("element", "1-0-0", C)
@@ -629,7 +639,7 @@ function ce(t, e) {
629
639
  S,
630
640
  [
631
641
  n("feature_list", "2-0-0", s),
632
- n("session", "1-0-4", i),
642
+ n("session", "1-0-3", i),
633
643
  o ? n("step", "1-0-0", o) : void 0,
634
644
  a ? n("experience", "1-0-1", a) : void 0,
635
645
  n("element", "1-0-0", m)
@@ -637,23 +647,23 @@ function ce(t, e) {
637
647
  e
638
648
  );
639
649
  }
640
- const le = u(S, ce), ue = 100, fe = 100, de = 300;
650
+ const ue = u(S, le), fe = 100, de = 100, xe = 300;
641
651
  let I = 0, M = 0;
642
- const xe = P(
652
+ const pe = P(
643
653
  (t, e) => {
644
- le(t, e);
654
+ ue(t, e);
645
655
  },
646
- de
656
+ xe
647
657
  );
648
- function pe(t, e) {
658
+ function me(t, e) {
649
659
  const s = t.event.target || document.documentElement;
650
660
  if (!(s instanceof HTMLElement))
651
661
  return;
652
662
  const i = s.scrollTop, a = Date.now() - M;
653
- Math.abs(i - I) > ue && a < fe && xe(t.event, e), I = i, M = Date.now();
663
+ Math.abs(i - I) > fe && a < de && pe(t.event, e), I = i, M = Date.now();
654
664
  }
655
- const me = _("scroll", pe, !0), Y = "rapid_click";
656
- function Ee(t, e) {
665
+ const Ee = _("scroll", me, !0), Y = "rapid_click";
666
+ function Ce(t, e) {
657
667
  const s = f(t.analyticsContext), i = d(t.analyticsContext), a = p(t.analyticsContext), o = x(t.analyticsContext), r = t.event.target || document.activeElement || t.event.currentTarget;
658
668
  if (!k(r)) {
659
669
  const C = {
@@ -663,7 +673,7 @@ function Ee(t, e) {
663
673
  Y,
664
674
  [
665
675
  n("feature_list", "2-0-0", s),
666
- n("session", "1-0-4", i),
676
+ n("session", "1-0-3", i),
667
677
  n("element", "1-0-0", C),
668
678
  o ? n("step", "1-0-0", o) : void 0,
669
679
  a ? n("experience", "1-0-1", a) : void 0
@@ -681,7 +691,7 @@ function Ee(t, e) {
681
691
  Y,
682
692
  [
683
693
  n("feature_list", "2-0-0", s),
684
- n("session", "1-0-4", i),
694
+ n("session", "1-0-3", i),
685
695
  n("element", "1-0-0", m),
686
696
  o ? n("step", "1-0-0", o) : void 0,
687
697
  a ? n("experience", "1-0-1", a) : void 0
@@ -689,15 +699,15 @@ function Ee(t, e) {
689
699
  e
690
700
  );
691
701
  }
692
- const Ce = u(Y, Ee);
702
+ const ve = u(Y, Ce);
693
703
  let N = 0, U = 0;
694
- const ve = 3, De = 500;
695
- function _e(t, e) {
704
+ const De = 3, _e = 500;
705
+ function ke(t, e) {
696
706
  const s = (/* @__PURE__ */ new Date()).getTime();
697
- s - U < De ? N++ : N = 1, U = s, N >= ve && (Ce(t, e), N = 0);
707
+ s - U < _e ? N++ : N = 1, U = s, N >= De && (ve(t, e), N = 0);
698
708
  }
699
- const ke = _("click", _e), B = "right_click";
700
- function Te(t, e) {
709
+ const Te = _("click", ke), B = "right_click";
710
+ function be(t, e) {
701
711
  const s = f(t.analyticsContext), i = d(t.analyticsContext), a = p(t.analyticsContext), o = x(t.analyticsContext), r = t.event.target || document.activeElement || t.event.currentTarget;
702
712
  if (!k(r)) {
703
713
  const C = {
@@ -705,7 +715,7 @@ function Te(t, e) {
705
715
  };
706
716
  return l(B, [
707
717
  n("feature_list", "2-0-0", s),
708
- n("session", "1-0-4", i),
718
+ n("session", "1-0-3", i),
709
719
  n("element", "1-0-0", C),
710
720
  o ? n("step", "1-0-0", o) : void 0,
711
721
  a ? n("experience", "1-0-1", a) : void 0
@@ -721,7 +731,7 @@ function Te(t, e) {
721
731
  B,
722
732
  [
723
733
  n("feature_list", "2-0-0", s),
724
- n("session", "1-0-4", i),
734
+ n("session", "1-0-3", i),
725
735
  n("element", "1-0-0", m),
726
736
  o ? n("step", "1-0-0", o) : void 0,
727
737
  a ? n("experience", "1-0-1", a) : void 0
@@ -729,74 +739,74 @@ function Te(t, e) {
729
739
  e
730
740
  );
731
741
  }
732
- const be = u(B, Te);
733
- function $e(t, e) {
734
- be(t, e);
742
+ const $e = u(B, be);
743
+ function ge(t, e) {
744
+ $e(t, e);
735
745
  }
736
- const ge = _("contextmenu", $e), xt = "mouse_shake";
737
- function Le(t, e) {
746
+ const Le = _("contextmenu", ge), xt = "mouse_shake";
747
+ function he(t, e) {
738
748
  const s = f(t.analyticsContext), i = d(t.analyticsContext), a = p(t.analyticsContext), o = x(t.analyticsContext);
739
749
  return l(
740
750
  xt,
741
751
  [
742
752
  n("feature_list", "2-0-0", s),
743
- n("session", "1-0-4", i),
753
+ n("session", "1-0-3", i),
744
754
  o ? n("step", "1-0-0", o) : void 0,
745
755
  a ? n("experience", "1-0-1", a) : void 0
746
756
  ],
747
757
  e
748
758
  );
749
759
  }
750
- const he = u(xt, Le), ye = 5, Ne = 500, we = 500;
760
+ const ye = u(xt, he), Ne = 5, we = 500, Pe = 500;
751
761
  let z = { x: 0 }, g = [], G = 0;
752
- const Pe = P(
762
+ const Ve = P(
753
763
  (t, e) => {
754
- he(t, e);
764
+ ye(t, e);
755
765
  },
756
- Ne
766
+ we
757
767
  );
758
- function Ve(t, e) {
768
+ function Se(t, e) {
759
769
  const s = Date.now(), i = t.event.clientX - z.x, a = Math.sign(i);
760
- s - G > we && (g = []), a !== 0 && (g.length === 0 || g[g.length - 1] !== a) && g.push(a), z = { x: t.event.clientX, y: t.event.clientY }, g.length >= ye && (Pe(t, e), g = []), G = s;
770
+ s - G > Pe && (g = []), a !== 0 && (g.length === 0 || g[g.length - 1] !== a) && g.push(a), z = { x: t.event.clientX, y: t.event.clientY }, g.length >= Ne && (Ve(t, e), g = []), G = s;
761
771
  }
762
- const Se = _("mousemove", Ve), pt = "page_visible";
763
- function Ye(t, e) {
772
+ const Ye = _("mousemove", Se), pt = "page_visible";
773
+ function Be(t, e) {
764
774
  const s = f(t.analyticsContext), i = d(t.analyticsContext), a = p(t.analyticsContext), o = x(t.analyticsContext);
765
775
  return l(
766
776
  pt,
767
777
  [
768
778
  n("feature_list", "2-0-0", s),
769
- n("session", "1-0-4", i),
779
+ n("session", "1-0-3", i),
770
780
  o ? n("step", "1-0-0", o) : void 0,
771
781
  a ? n("experience", "1-0-1", a) : void 0
772
782
  ],
773
783
  e
774
784
  );
775
785
  }
776
- const Be = u(pt, Ye), mt = "page_hidden";
777
- function He(t, e) {
786
+ const He = u(pt, Be), mt = "page_hidden";
787
+ function qe(t, e) {
778
788
  const s = f(t.analyticsContext), i = d(t.analyticsContext), a = p(t.analyticsContext), o = x(t.analyticsContext);
779
789
  return l(
780
790
  mt,
781
791
  [
782
792
  n("feature_list", "2-0-0", s),
783
- n("session", "1-0-4", i),
793
+ n("session", "1-0-3", i),
784
794
  o ? n("step", "1-0-0", o) : void 0,
785
795
  a ? n("experience", "1-0-1", a) : void 0
786
796
  ],
787
797
  e
788
798
  );
789
799
  }
790
- const je = u(mt, He);
791
- function qe(t, e) {
800
+ const Ae = u(mt, qe);
801
+ function Oe(t, e) {
792
802
  if (document.visibilityState === "visible") {
793
- Be(t, e);
803
+ He(t, e);
794
804
  return;
795
805
  }
796
- je(t, e);
806
+ Ae(t, e);
797
807
  }
798
- const Ae = Wt("visibilitychange", qe), H = "backspace";
799
- function Oe(t, e) {
808
+ const Fe = It("visibilitychange", Oe), H = "backspace";
809
+ function Re(t, e) {
800
810
  const s = f(t.analyticsContext), i = d(t.analyticsContext), a = p(t.analyticsContext), o = x(t.analyticsContext), r = t.event.target || document.activeElement || t.event.currentTarget;
801
811
  if (!k(r)) {
802
812
  const C = {
@@ -806,7 +816,7 @@ function Oe(t, e) {
806
816
  H,
807
817
  [
808
818
  n("feature_list", "2-0-0", s),
809
- n("session", "1-0-4", i),
819
+ n("session", "1-0-3", i),
810
820
  n("element", "1-0-0", C),
811
821
  o ? n("step", "1-0-0", o) : void 0,
812
822
  a ? n("experience", "1-0-1", a) : void 0
@@ -824,7 +834,7 @@ function Oe(t, e) {
824
834
  H,
825
835
  [
826
836
  n("feature_list", "2-0-0", s),
827
- n("session", "1-0-4", i),
837
+ n("session", "1-0-3", i),
828
838
  n("element", "1-0-0", m),
829
839
  o ? n("step", "1-0-0", o) : void 0,
830
840
  a ? n("experience", "1-0-1", a) : void 0
@@ -832,73 +842,73 @@ function Oe(t, e) {
832
842
  e
833
843
  );
834
844
  }
835
- const Fe = u(H, Oe);
836
- function Re(t, e) {
837
- t.event.key === "Backspace" && Fe(t, e);
845
+ const je = u(H, Re);
846
+ function We(t, e) {
847
+ t.event.key === "Backspace" && je(t, e);
838
848
  }
839
- const We = _("keydown", Re), Et = "page_hide";
840
- function Ie(t, e) {
849
+ const Ie = _("keydown", We), Et = "page_hide";
850
+ function Me(t, e) {
841
851
  const s = f(t.analyticsContext), i = d(t.analyticsContext), a = p(t.analyticsContext), o = x(t.analyticsContext);
842
852
  return l(
843
853
  Et,
844
854
  [
845
855
  n("feature_list", "2-0-0", s),
846
- n("session", "1-0-4", i),
856
+ n("session", "1-0-3", i),
847
857
  o ? n("step", "1-0-0", o) : void 0,
848
858
  a ? n("experience", "1-0-1", a) : void 0
849
859
  ],
850
860
  e
851
861
  );
852
862
  }
853
- const Me = u(Et, Ie);
854
- function Ue(t, e) {
855
- Me(t, e);
863
+ const Ue = u(Et, Me);
864
+ function ze(t, e) {
865
+ Ue(t, e);
856
866
  }
857
- const ze = h("pagehide", Ue), Ct = "page_show";
858
- function Ge(t, e) {
867
+ const Ge = h("pagehide", ze), Ct = "page_show";
868
+ function Ke(t, e) {
859
869
  const s = f(t.analyticsContext), i = d(t.analyticsContext), a = p(t.analyticsContext), o = x(t.analyticsContext);
860
870
  return l(
861
871
  Ct,
862
872
  [
863
873
  n("feature_list", "2-0-0", s),
864
- n("session", "1-0-4", i),
874
+ n("session", "1-0-3", i),
865
875
  o ? n("step", "1-0-0", o) : void 0,
866
876
  a ? n("experience", "1-0-1", a) : void 0
867
877
  ],
868
878
  e
869
879
  );
870
880
  }
871
- const Ke = u(Ct, Ge);
872
- function Xe(t, e) {
873
- Ke(t, e);
881
+ const Xe = u(Ct, Ke);
882
+ function Je(t, e) {
883
+ Xe(t, e);
874
884
  }
875
- const Je = h("pageshow", Xe), vt = "offline";
876
- function Qe(t, e) {
885
+ const Qe = h("pageshow", Je), vt = "offline";
886
+ function Ze(t, e) {
877
887
  const s = f(t.analyticsContext), i = d(t.analyticsContext), a = p(t.analyticsContext), o = x(t.analyticsContext);
878
888
  return l(
879
889
  vt,
880
890
  [
881
891
  n("feature_list", "2-0-0", s),
882
- n("session", "1-0-4", i),
892
+ n("session", "1-0-3", i),
883
893
  o ? n("step", "1-0-0", o) : void 0,
884
894
  a ? n("experience", "1-0-1", a) : void 0
885
895
  ],
886
896
  e
887
897
  );
888
898
  }
889
- const Ze = u(vt, Qe);
890
- function tn(t, e) {
891
- Ze(t, e);
899
+ const tn = u(vt, Ze);
900
+ function en(t, e) {
901
+ tn(t, e);
892
902
  }
893
- const en = h("offline", tn), j = "scroll";
894
- function nn(t, e) {
903
+ const nn = h("offline", en), q = "scroll";
904
+ function sn(t, e) {
895
905
  const s = f(t.analyticsContext), i = d(t.analyticsContext), a = p(t.analyticsContext), o = x(t.analyticsContext), r = t.event.target || document.activeElement || t.event.currentTarget;
896
906
  if (!k(r))
897
907
  return l(
898
- j,
908
+ q,
899
909
  [
900
910
  n("feature_list", "2-0-0", s),
901
- n("session", "1-0-4", i),
911
+ n("session", "1-0-3", i),
902
912
  o ? n("step", "1-0-0", o) : void 0,
903
913
  a ? n("experience", "1-0-1", a) : void 0
904
914
  ],
@@ -911,10 +921,10 @@ function nn(t, e) {
911
921
  text: E(v(c))
912
922
  };
913
923
  return l(
914
- j,
924
+ q,
915
925
  [
916
926
  n("feature_list", "2-0-0", s),
917
- n("session", "1-0-4", i),
927
+ n("session", "1-0-3", i),
918
928
  o ? n("step", "1-0-0", o) : void 0,
919
929
  a ? n("experience", "1-0-1", a) : void 0,
920
930
  n("element", "1-0-0", m)
@@ -922,81 +932,81 @@ function nn(t, e) {
922
932
  e
923
933
  );
924
934
  }
925
- const sn = u(j, nn), on = P(
935
+ const on = u(q, sn), an = P(
926
936
  (t, e) => {
927
- sn(t, e);
937
+ on(t, e);
928
938
  },
929
939
  500
930
- ), an = _("scroll", on, !0), Dt = "online";
931
- function rn(t, e) {
940
+ ), rn = _("scroll", an, !0), Dt = "online";
941
+ function cn(t, e) {
932
942
  const s = f(t.analyticsContext), i = d(t.analyticsContext), a = p(t.analyticsContext), o = x(t.analyticsContext);
933
943
  return l(
934
944
  Dt,
935
945
  [
936
946
  n("feature_list", "2-0-0", s),
937
- n("session", "1-0-4", i),
947
+ n("session", "1-0-3", i),
938
948
  o ? n("step", "1-0-0", o) : void 0,
939
949
  a ? n("experience", "1-0-1", a) : void 0
940
950
  ],
941
951
  e
942
952
  );
943
953
  }
944
- const cn = u(Dt, rn);
945
- function ln(t, e) {
946
- cn(t, e);
954
+ const ln = u(Dt, cn);
955
+ function un(t, e) {
956
+ ln(t, e);
947
957
  }
948
- const un = h("online", ln), _t = "resize";
949
- function fn(t, e) {
958
+ const fn = h("online", un), _t = "resize";
959
+ function dn(t, e) {
950
960
  const s = f(t.analyticsContext), i = d(t.analyticsContext), a = p(t.analyticsContext), o = x(t.analyticsContext);
951
961
  return l(
952
962
  _t,
953
963
  [
954
964
  n("feature_list", "2-0-0", s),
955
- n("session", "1-0-4", i),
965
+ n("session", "1-0-3", i),
956
966
  o ? n("step", "1-0-0", o) : void 0,
957
967
  a ? n("experience", "1-0-1", a) : void 0
958
968
  ],
959
969
  e
960
970
  );
961
971
  }
962
- const K = u(_t, fn);
972
+ const K = u(_t, dn);
963
973
  let V = 0;
964
- const dn = P(
974
+ const xn = P(
965
975
  (t, e) => {
966
976
  const s = window.innerWidth;
967
977
  s !== V ? (K(t, e), V = s) : "ontouchstart" in window || K(t, e), V = s;
968
978
  },
969
979
  300
970
- ), xn = h("resize", dn), kt = "unload";
971
- function pn(t, e) {
980
+ ), pn = h("resize", xn), kt = "unload";
981
+ function mn(t, e) {
972
982
  const s = f(t.analyticsContext), i = d(t.analyticsContext), a = p(t.analyticsContext), o = x(t.analyticsContext);
973
983
  return l(
974
984
  kt,
975
985
  [
976
986
  n("feature_list", "2-0-0", s),
977
- n("session", "1-0-4", i),
987
+ n("session", "1-0-3", i),
978
988
  o ? n("step", "1-0-0", o) : void 0,
979
989
  a ? n("experience", "1-0-1", a) : void 0
980
990
  ],
981
991
  e
982
992
  );
983
993
  }
984
- const mn = u(kt, pn);
985
- function En(t, e) {
986
- mn(t, e);
994
+ const En = u(kt, mn);
995
+ function Cn(t, e) {
996
+ En(t, e);
987
997
  }
988
- const Cn = h("unload", En), q = "click";
989
- function vn(t, e) {
998
+ const vn = h("unload", Cn), A = "click";
999
+ function Dn(t, e) {
990
1000
  const s = f(t.analyticsContext), i = d(t.analyticsContext), a = p(t.analyticsContext), o = x(t.analyticsContext), r = t.event.target || document.activeElement || t.event.currentTarget;
991
1001
  if (!k(r)) {
992
1002
  const C = {
993
1003
  node_type: "unknown"
994
1004
  };
995
1005
  return l(
996
- q,
1006
+ A,
997
1007
  [
998
1008
  n("feature_list", "2-0-0", s),
999
- n("session", "1-0-4", i),
1009
+ n("session", "1-0-3", i),
1000
1010
  n("element", "1-0-0", C),
1001
1011
  o ? n("step", "1-0-0", o) : void 0,
1002
1012
  a ? n("experience", "1-0-1", a) : void 0
@@ -1011,10 +1021,10 @@ function vn(t, e) {
1011
1021
  text: E(v(c))
1012
1022
  };
1013
1023
  return l(
1014
- q,
1024
+ A,
1015
1025
  [
1016
1026
  n("feature_list", "2-0-0", s),
1017
- n("session", "1-0-4", i),
1027
+ n("session", "1-0-3", i),
1018
1028
  n("element", "1-0-0", m),
1019
1029
  o ? n("step", "1-0-0", o) : void 0,
1020
1030
  a ? n("experience", "1-0-1", a) : void 0
@@ -1022,19 +1032,19 @@ function vn(t, e) {
1022
1032
  e
1023
1033
  );
1024
1034
  }
1025
- const Dn = u(q, vn);
1026
- function _n(t, e) {
1027
- Dn(t, e);
1035
+ const _n = u(A, Dn);
1036
+ function kn(t, e) {
1037
+ _n(t, e);
1028
1038
  }
1029
- const kn = _("click", _n), A = "paste";
1030
- function Tn(t, e) {
1039
+ const Tn = _("click", kn), O = "paste";
1040
+ function bn(t, e) {
1031
1041
  const s = f(t.analyticsContext), i = d(t.analyticsContext), a = p(t.analyticsContext), o = x(t.analyticsContext), r = t.event.target || document.activeElement || t.event.currentTarget;
1032
1042
  if (!k(r))
1033
1043
  return l(
1034
- A,
1044
+ O,
1035
1045
  [
1036
1046
  n("feature_list", "2-0-0", s),
1037
- n("session", "1-0-4", i),
1047
+ n("session", "1-0-3", i),
1038
1048
  o ? n("step", "1-0-0", o) : void 0,
1039
1049
  a ? n("experience", "1-0-1", a) : void 0
1040
1050
  ],
@@ -1047,10 +1057,10 @@ function Tn(t, e) {
1047
1057
  text: E(v(c))
1048
1058
  };
1049
1059
  return l(
1050
- A,
1060
+ O,
1051
1061
  [
1052
1062
  n("feature_list", "2-0-0", s),
1053
- n("session", "1-0-4", i),
1063
+ n("session", "1-0-3", i),
1054
1064
  o ? n("step", "1-0-0", o) : void 0,
1055
1065
  a ? n("experience", "1-0-1", a) : void 0,
1056
1066
  n("element", "1-0-0", m)
@@ -1058,19 +1068,19 @@ function Tn(t, e) {
1058
1068
  e
1059
1069
  );
1060
1070
  }
1061
- const bn = u(A, Tn);
1062
- function $n(t, e) {
1063
- bn(t, e);
1071
+ const $n = u(O, bn);
1072
+ function gn(t, e) {
1073
+ $n(t, e);
1064
1074
  }
1065
- const gn = _("paste", $n), O = "copy";
1066
- function Ln(t, e) {
1075
+ const Ln = _("paste", gn), F = "copy";
1076
+ function hn(t, e) {
1067
1077
  const s = f(t.analyticsContext), i = d(t.analyticsContext), a = p(t.analyticsContext), o = x(t.analyticsContext), r = t.event.target || document.activeElement || t.event.currentTarget;
1068
1078
  if (!k(r))
1069
1079
  return l(
1070
- O,
1080
+ F,
1071
1081
  [
1072
1082
  n("feature_list", "2-0-0", s),
1073
- n("session", "1-0-4", i),
1083
+ n("session", "1-0-3", i),
1074
1084
  o ? n("step", "1-0-0", o) : void 0,
1075
1085
  a ? n("experience", "1-0-1", a) : void 0
1076
1086
  ],
@@ -1083,10 +1093,10 @@ function Ln(t, e) {
1083
1093
  text: E(v(c))
1084
1094
  };
1085
1095
  return l(
1086
- O,
1096
+ F,
1087
1097
  [
1088
1098
  n("feature_list", "2-0-0", s),
1089
- n("session", "1-0-4", i),
1099
+ n("session", "1-0-3", i),
1090
1100
  o ? n("step", "1-0-0", o) : void 0,
1091
1101
  a ? n("experience", "1-0-1", a) : void 0,
1092
1102
  n("element", "1-0-0", m)
@@ -1094,19 +1104,19 @@ function Ln(t, e) {
1094
1104
  e
1095
1105
  );
1096
1106
  }
1097
- const hn = u(O, Ln);
1098
- function yn(t, e) {
1099
- hn(t, e);
1107
+ const yn = u(F, hn);
1108
+ function Nn(t, e) {
1109
+ yn(t, e);
1100
1110
  }
1101
- const Nn = _("copy", yn), F = "drag";
1102
- function wn(t, e) {
1111
+ const wn = _("copy", Nn), R = "drag";
1112
+ function Pn(t, e) {
1103
1113
  const s = f(t.analyticsContext), i = d(t.analyticsContext), a = p(t.analyticsContext), o = x(t.analyticsContext), r = t.event.target || document.activeElement || t.event.currentTarget;
1104
1114
  if (!k(r))
1105
1115
  return l(
1106
- F,
1116
+ R,
1107
1117
  [
1108
1118
  n("feature_list", "2-0-0", s),
1109
- n("session", "1-0-4", i),
1119
+ n("session", "1-0-3", i),
1110
1120
  o ? n("step", "1-0-0", o) : void 0,
1111
1121
  a ? n("experience", "1-0-1", a) : void 0
1112
1122
  ],
@@ -1119,10 +1129,10 @@ function wn(t, e) {
1119
1129
  text: E(v(c))
1120
1130
  };
1121
1131
  return l(
1122
- F,
1132
+ R,
1123
1133
  [
1124
1134
  n("feature_list", "2-0-0", s),
1125
- n("session", "1-0-4", i),
1135
+ n("session", "1-0-3", i),
1126
1136
  o ? n("step", "1-0-0", o) : void 0,
1127
1137
  a ? n("experience", "1-0-1", a) : void 0,
1128
1138
  n("element", "1-0-0", m)
@@ -1130,7 +1140,7 @@ function wn(t, e) {
1130
1140
  e
1131
1141
  );
1132
1142
  }
1133
- const Pn = u(F, wn);
1143
+ const Vn = u(R, Pn);
1134
1144
  function Tt(t, e) {
1135
1145
  const s = t.event.currentTarget;
1136
1146
  if (!s || !(s instanceof HTMLElement))
@@ -1141,43 +1151,43 @@ function Tt(t, e) {
1141
1151
  s.removeEventListener("drag", i), s.addEventListener(
1142
1152
  "dragend",
1143
1153
  () => bt(s, () => t.analyticsContext)
1144
- ), Pn(t, e);
1154
+ ), Vn(t, e);
1145
1155
  }
1146
1156
  const bt = _("drag", Tt);
1147
- function es(t, e) {
1148
- e && (kn(e, t), ke(e, t), ge(e, t), Nn(e, t), gn(e, t), bt(e, t), We(e, t), an(e, t), me(e, t), Se(e, t));
1157
+ function ns(t, e) {
1158
+ e && (Tn(e, t), Te(e, t), Le(e, t), wn(e, t), Ln(e, t), bt(e, t), Ie(e, t), rn(e, t), Ee(e, t), Ye(e, t));
1149
1159
  }
1150
- function ns(t) {
1151
- Ae(t), ze(t), Je(t), en(t), un(t), xn(t), Cn(t);
1160
+ function ss(t) {
1161
+ Fe(t), Ge(t), Qe(t), nn(t), fn(t), pn(t), vn(t);
1152
1162
  }
1153
1163
  export {
1154
- Qn as A,
1155
- Zn as B,
1156
- ts as C,
1164
+ Zn as A,
1165
+ ts as B,
1166
+ es as C,
1157
1167
  d as a,
1158
- qn as b,
1168
+ On as b,
1159
1169
  u as c,
1160
1170
  p as d,
1161
1171
  x as e,
1162
1172
  f,
1163
1173
  l as g,
1164
1174
  n as h,
1165
- An as i,
1166
- On as j,
1175
+ Fn as i,
1176
+ Rn as j,
1167
1177
  Q as k,
1168
- R as l,
1178
+ j as l,
1169
1179
  Z as m,
1170
- Fn as n,
1171
- es as o,
1172
- ns as p,
1173
- Wn as q,
1174
- In as r,
1175
- Mn as s,
1176
- Rn as t,
1177
- Un as u,
1178
- zn as v,
1179
- Gn as w,
1180
- Kn as x,
1181
- Xn as y,
1182
- Jn as z
1180
+ jn as n,
1181
+ ns as o,
1182
+ ss as p,
1183
+ In as q,
1184
+ Mn as r,
1185
+ Un as s,
1186
+ Wn as t,
1187
+ zn as u,
1188
+ Gn as v,
1189
+ Kn as w,
1190
+ Xn as x,
1191
+ Jn as y,
1192
+ Qn as z
1183
1193
  };