@questpie/admin 3.2.3 → 3.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/dist/client/blocks/block-renderer.d.mts +2 -2
  2. package/dist/client/components/admin-link.d.mts +2 -2
  3. package/dist/client/components/blocks/block-library-sidebar.mjs +126 -113
  4. package/dist/client/components/fields/json-field.mjs +114 -118
  5. package/dist/client/components/fields/rich-text-editor/bubble-menu.mjs +38 -40
  6. package/dist/client/components/fields/rich-text-editor/image-popover.mjs +6 -17
  7. package/dist/client/components/fields/rich-text-editor/index.mjs +71 -87
  8. package/dist/client/components/history-sidebar.mjs +25 -10
  9. package/dist/client/components/media/media-picker-dialog.mjs +237 -254
  10. package/dist/client/components/preview/live-preview-mode.mjs +230 -203
  11. package/dist/client/components/primitives/asset-preview.mjs +1 -1
  12. package/dist/client/contexts/focus-context.d.mts +4 -0
  13. package/dist/client/contexts/focus-context.mjs +106 -86
  14. package/dist/client/preview/block-scope-context.d.mts +2 -2
  15. package/dist/client/preview/diff.mjs +110 -0
  16. package/dist/client/preview/preview-banner.d.mts +2 -2
  17. package/dist/client/preview/preview-field.d.mts +4 -4
  18. package/dist/client/preview/preview-field.mjs +125 -187
  19. package/dist/client/preview/use-collection-preview.mjs +49 -21
  20. package/dist/client/views/auth/accept-invite-form.d.mts +2 -2
  21. package/dist/client/views/auth/auth-layout.d.mts +3 -3
  22. package/dist/client/views/auth/forgot-password-form.d.mts +2 -2
  23. package/dist/client/views/auth/login-form.d.mts +2 -2
  24. package/dist/client/views/auth/reset-password-form.d.mts +2 -2
  25. package/dist/client/views/auth/setup-form.d.mts +2 -2
  26. package/dist/client/views/collection/bulk-action-toolbar.mjs +135 -156
  27. package/dist/client/views/collection/field-renderer.mjs +162 -51
  28. package/dist/client/views/collection/form-view.mjs +43 -81
  29. package/dist/client/views/collection/table-view.mjs +12 -10
  30. package/dist/client/views/common/global-search.mjs +199 -182
  31. package/dist/client/views/globals/global-form-view.mjs +625 -621
  32. package/dist/client/views/layout/admin-router.mjs +84 -100
  33. package/dist/client/views/pages/accept-invite-page.d.mts +2 -2
  34. package/dist/client/views/pages/dashboard-page.d.mts +2 -2
  35. package/dist/client/views/pages/forgot-password-page.d.mts +2 -2
  36. package/dist/client/views/pages/invite-page.d.mts +2 -2
  37. package/dist/client/views/pages/reset-password-page.d.mts +2 -2
  38. package/dist/client/views/pages/setup-page.d.mts +2 -2
  39. package/dist/server/modules/admin/collections/account.d.mts +50 -50
  40. package/dist/server/modules/admin/collections/admin-locks.d.mts +54 -54
  41. package/dist/server/modules/admin/collections/admin-preferences.d.mts +39 -39
  42. package/dist/server/modules/admin/collections/admin-saved-views.d.mts +47 -47
  43. package/dist/server/modules/admin/collections/apikey.d.mts +68 -68
  44. package/dist/server/modules/admin/collections/assets.d.mts +39 -39
  45. package/dist/server/modules/admin/collections/session.d.mts +42 -42
  46. package/dist/server/modules/admin/collections/user.d.mts +63 -63
  47. package/dist/server/modules/admin/collections/verification.d.mts +32 -32
  48. package/dist/server/modules/admin/index.d.mts +1 -1
  49. package/dist/server/modules/admin/routes/admin-config.d.mts +2 -2
  50. package/dist/server/modules/admin/routes/execute-action.d.mts +9 -9
  51. package/dist/server/modules/admin/routes/locales.d.mts +2 -2
  52. package/dist/server/modules/admin/routes/preview.d.mts +11 -11
  53. package/dist/server/modules/admin/routes/reactive.d.mts +9 -9
  54. package/dist/server/modules/admin/routes/setup.d.mts +7 -7
  55. package/dist/server/modules/admin/routes/translations.d.mts +4 -4
  56. package/dist/server/modules/admin/routes/widget-data.d.mts +5 -5
  57. package/dist/server/modules/admin-preferences/collections/saved-views.d.mts +41 -41
  58. package/dist/server/modules/audit/.generated/module.d.mts +6 -6
  59. package/dist/server/modules/audit/collections/audit-log.d.mts +78 -78
  60. package/dist/server/modules/audit/jobs/audit-cleanup.d.mts +2 -2
  61. package/package.json +3 -3
@@ -168,7 +168,7 @@ const SearchGroup = React.memo(function SearchGroup$1(t0) {
168
168
  return t6;
169
169
  });
170
170
  function GlobalSearch(t0) {
171
- const $ = c(109);
171
+ const $ = c(112);
172
172
  const { isOpen, onClose, navigate, basePath: basePathProp } = t0;
173
173
  const { t } = useTranslation();
174
174
  const resolveText = useResolveText();
@@ -380,8 +380,6 @@ function GlobalSearch(t0) {
380
380
  if ($[41] !== isOpen) {
381
381
  t11 = () => {
382
382
  if (!isOpen) return;
383
- setQuery("");
384
- setSelectedIndex(0);
385
383
  const timer = setTimeout(() => inputRef.current?.focus(), 50);
386
384
  return () => clearTimeout(timer);
387
385
  };
@@ -395,65 +393,84 @@ function GlobalSearch(t0) {
395
393
  }
396
394
  React.useEffect(t11, t12);
397
395
  let t13;
398
- if ($[44] !== navigate || $[45] !== onClose) {
399
- t13 = (item) => {
400
- navigate(item.href);
396
+ if ($[44] === Symbol.for("react.memo_cache_sentinel")) {
397
+ t13 = () => {
398
+ setQuery("");
399
+ setSelectedIndex(0);
400
+ };
401
+ $[44] = t13;
402
+ } else t13 = $[44];
403
+ const resetSearchState = t13;
404
+ let t14;
405
+ if ($[45] !== onClose) {
406
+ t14 = () => {
407
+ resetSearchState();
401
408
  onClose();
402
409
  };
403
- $[44] = navigate;
404
410
  $[45] = onClose;
405
- $[46] = t13;
406
- } else t13 = $[46];
407
- const handleSelect = t13;
408
- let t14;
409
- if ($[47] !== allItems || $[48] !== handleSelect || $[49] !== onClose || $[50] !== selectedIndex || $[51] !== totalCount) {
410
- t14 = (e) => {
411
- bb125: switch (e.key) {
411
+ $[46] = t14;
412
+ } else t14 = $[46];
413
+ const closeSearch = t14;
414
+ let t15;
415
+ if ($[47] !== closeSearch || $[48] !== navigate) {
416
+ t15 = (item) => {
417
+ navigate(item.href);
418
+ closeSearch();
419
+ };
420
+ $[47] = closeSearch;
421
+ $[48] = navigate;
422
+ $[49] = t15;
423
+ } else t15 = $[49];
424
+ const handleSelect = t15;
425
+ let t16;
426
+ if ($[50] !== allItems || $[51] !== closeSearch || $[52] !== handleSelect || $[53] !== selectedIndex || $[54] !== totalCount) {
427
+ t16 = (e) => {
428
+ bb127: switch (e.key) {
412
429
  case "ArrowDown":
413
430
  e.preventDefault();
414
431
  setSelectedIndex((i_3) => totalCount > 0 ? (i_3 + 1) % totalCount : 0);
415
- break bb125;
432
+ break bb127;
416
433
  case "ArrowUp":
417
434
  e.preventDefault();
418
435
  setSelectedIndex((i_2) => totalCount > 0 ? (i_2 - 1 + totalCount) % totalCount : 0);
419
- break bb125;
436
+ break bb127;
420
437
  case "Enter":
421
438
  e.preventDefault();
422
439
  if (allItems[selectedIndex]) handleSelect(allItems[selectedIndex]);
423
- break bb125;
440
+ break bb127;
424
441
  case "Escape":
425
442
  e.preventDefault();
426
- onClose();
443
+ closeSearch();
427
444
  }
428
445
  };
429
- $[47] = allItems;
430
- $[48] = handleSelect;
431
- $[49] = onClose;
432
- $[50] = selectedIndex;
433
- $[51] = totalCount;
434
- $[52] = t14;
435
- } else t14 = $[52];
436
- const handleKeyDown = t14;
437
- let t15;
438
- if ($[53] === Symbol.for("react.memo_cache_sentinel")) {
439
- t15 = (index) => {
446
+ $[50] = allItems;
447
+ $[51] = closeSearch;
448
+ $[52] = handleSelect;
449
+ $[53] = selectedIndex;
450
+ $[54] = totalCount;
451
+ $[55] = t16;
452
+ } else t16 = $[55];
453
+ const handleKeyDown = t16;
454
+ let t17;
455
+ if ($[56] === Symbol.for("react.memo_cache_sentinel")) {
456
+ t17 = (index) => {
440
457
  setSelectedIndex(index);
441
458
  };
442
- $[53] = t15;
443
- } else t15 = $[53];
444
- const handleHover = t15;
459
+ $[56] = t17;
460
+ } else t17 = $[56];
461
+ const handleHover = t17;
445
462
  const hasNavResults = groupedNavItems.collections.length > 0 || groupedNavItems.globals.length > 0 || groupedNavItems.actions.length > 0;
446
463
  const hasRecordResults = recordItems.length > 0;
447
464
  const hasResults = hasNavResults || hasRecordResults;
448
- let t16;
449
- if ($[54] !== onClose) {
450
- t16 = (open) => !open && onClose();
451
- $[54] = onClose;
452
- $[55] = t16;
453
- } else t16 = $[55];
454
- let t17;
455
- if ($[56] === Symbol.for("react.memo_cache_sentinel")) {
456
- t17 = /* @__PURE__ */ jsx(InputGroupAddon, {
465
+ let t18;
466
+ if ($[57] !== closeSearch) {
467
+ t18 = (open) => !open && closeSearch();
468
+ $[57] = closeSearch;
469
+ $[58] = t18;
470
+ } else t18 = $[58];
471
+ let t19;
472
+ if ($[59] === Symbol.for("react.memo_cache_sentinel")) {
473
+ t19 = /* @__PURE__ */ jsx(InputGroupAddon, {
457
474
  align: "inline-start",
458
475
  className: "pl-0",
459
476
  children: /* @__PURE__ */ jsx(Icon, {
@@ -461,81 +478,81 @@ function GlobalSearch(t0) {
461
478
  className: "size-5"
462
479
  })
463
480
  });
464
- $[56] = t17;
465
- } else t17 = $[56];
466
- let t18;
467
- if ($[57] !== t) {
468
- t18 = t("globalSearch.placeholder");
469
- $[57] = t;
470
- $[58] = t18;
471
- } else t18 = $[58];
472
- let t19;
473
- if ($[59] === Symbol.for("react.memo_cache_sentinel")) {
474
- t19 = (e_0) => {
475
- setQuery(e_0.target.value);
476
- setSelectedIndex(0);
477
- };
478
481
  $[59] = t19;
479
482
  } else t19 = $[59];
480
483
  let t20;
481
- if ($[60] !== handleKeyDown || $[61] !== query || $[62] !== t18) {
482
- t20 = /* @__PURE__ */ jsx(InputGroupInput, {
484
+ if ($[60] !== t) {
485
+ t20 = t("globalSearch.placeholder");
486
+ $[60] = t;
487
+ $[61] = t20;
488
+ } else t20 = $[61];
489
+ let t21;
490
+ if ($[62] === Symbol.for("react.memo_cache_sentinel")) {
491
+ t21 = (e_0) => {
492
+ setQuery(e_0.target.value);
493
+ setSelectedIndex(0);
494
+ };
495
+ $[62] = t21;
496
+ } else t21 = $[62];
497
+ let t22;
498
+ if ($[63] !== handleKeyDown || $[64] !== query || $[65] !== t20) {
499
+ t22 = /* @__PURE__ */ jsx(InputGroupInput, {
483
500
  ref: inputRef,
484
501
  className: "h-12 px-0 text-base",
485
- placeholder: t18,
502
+ placeholder: t20,
486
503
  value: query,
487
- onChange: t19,
504
+ onChange: t21,
488
505
  onKeyDown: handleKeyDown
489
506
  });
490
- $[60] = handleKeyDown;
491
- $[61] = query;
492
- $[62] = t18;
493
- $[63] = t20;
494
- } else t20 = $[63];
495
- let t21;
496
- if ($[64] !== isSearching) {
497
- t21 = isSearching && /* @__PURE__ */ jsx(Icon, {
498
- icon: "ph:spinner",
499
- className: "size-4 animate-spin"
500
- });
501
- $[64] = isSearching;
502
- $[65] = t21;
503
- } else t21 = $[65];
504
- let t22;
505
- if ($[66] === Symbol.for("react.memo_cache_sentinel")) {
506
- t22 = /* @__PURE__ */ jsx(Kbd, { children: "ESC" });
507
+ $[63] = handleKeyDown;
508
+ $[64] = query;
509
+ $[65] = t20;
507
510
  $[66] = t22;
508
511
  } else t22 = $[66];
509
512
  let t23;
510
- if ($[67] !== t21) {
511
- t23 = /* @__PURE__ */ jsxs(InputGroupAddon, {
512
- align: "inline-end",
513
- className: "gap-2 pr-0",
514
- children: [t21, t22]
513
+ if ($[67] !== isSearching) {
514
+ t23 = isSearching && /* @__PURE__ */ jsx(Icon, {
515
+ icon: "ph:spinner",
516
+ className: "size-4 animate-spin"
515
517
  });
516
- $[67] = t21;
518
+ $[67] = isSearching;
517
519
  $[68] = t23;
518
520
  } else t23 = $[68];
519
521
  let t24;
520
- if ($[69] !== t20 || $[70] !== t23) {
521
- t24 = /* @__PURE__ */ jsx("div", {
522
+ if ($[69] === Symbol.for("react.memo_cache_sentinel")) {
523
+ t24 = /* @__PURE__ */ jsx(Kbd, { children: "ESC" });
524
+ $[69] = t24;
525
+ } else t24 = $[69];
526
+ let t25;
527
+ if ($[70] !== t23) {
528
+ t25 = /* @__PURE__ */ jsxs(InputGroupAddon, {
529
+ align: "inline-end",
530
+ className: "gap-2 pr-0",
531
+ children: [t23, t24]
532
+ });
533
+ $[70] = t23;
534
+ $[71] = t25;
535
+ } else t25 = $[71];
536
+ let t26;
537
+ if ($[72] !== t22 || $[73] !== t25) {
538
+ t26 = /* @__PURE__ */ jsx("div", {
522
539
  className: "qa-global-search__input-area border-border-subtle bg-popover border-b p-3",
523
540
  children: /* @__PURE__ */ jsxs(InputGroup, {
524
541
  className: "h-12 border-transparent bg-transparent focus-within:border-transparent focus-within:ring-0 hover:border-transparent",
525
542
  children: [
526
- t17,
527
- t20,
528
- t23
543
+ t19,
544
+ t22,
545
+ t25
529
546
  ]
530
547
  })
531
548
  });
532
- $[69] = t20;
533
- $[70] = t23;
534
- $[71] = t24;
535
- } else t24 = $[71];
536
- let t25;
537
- if ($[72] !== actionsStartIndex || $[73] !== globalsStartIndex || $[74] !== groupedNavItems.actions || $[75] !== groupedNavItems.collections || $[76] !== groupedNavItems.globals || $[77] !== handleSelect || $[78] !== hasRecordResults || $[79] !== hasResults || $[80] !== isSearching || $[81] !== query || $[82] !== recordItems || $[83] !== recordsStartIndex || $[84] !== selectedIndex || $[85] !== t) {
538
- t25 = /* @__PURE__ */ jsx("div", {
549
+ $[72] = t22;
550
+ $[73] = t25;
551
+ $[74] = t26;
552
+ } else t26 = $[74];
553
+ let t27;
554
+ if ($[75] !== actionsStartIndex || $[76] !== globalsStartIndex || $[77] !== groupedNavItems.actions || $[78] !== groupedNavItems.collections || $[79] !== groupedNavItems.globals || $[80] !== handleSelect || $[81] !== hasRecordResults || $[82] !== hasResults || $[83] !== isSearching || $[84] !== query || $[85] !== recordItems || $[86] !== recordsStartIndex || $[87] !== selectedIndex || $[88] !== t) {
555
+ t27 = /* @__PURE__ */ jsx("div", {
539
556
  className: "qa-global-search__results max-h-[60vh] overflow-y-auto p-2",
540
557
  children: hasResults ? /* @__PURE__ */ jsxs(Fragment, { children: [
541
558
  /* @__PURE__ */ jsx(SearchGroup, {
@@ -582,120 +599,120 @@ function GlobalSearch(t0) {
582
599
  }) : t("globalSearch.noResults")
583
600
  })
584
601
  });
585
- $[72] = actionsStartIndex;
586
- $[73] = globalsStartIndex;
587
- $[74] = groupedNavItems.actions;
588
- $[75] = groupedNavItems.collections;
589
- $[76] = groupedNavItems.globals;
590
- $[77] = handleSelect;
591
- $[78] = hasRecordResults;
592
- $[79] = hasResults;
593
- $[80] = isSearching;
594
- $[81] = query;
595
- $[82] = recordItems;
596
- $[83] = recordsStartIndex;
597
- $[84] = selectedIndex;
598
- $[85] = t;
599
- $[86] = t25;
600
- } else t25 = $[86];
601
- let t26;
602
- let t27;
603
- if ($[87] === Symbol.for("react.memo_cache_sentinel")) {
604
- t26 = /* @__PURE__ */ jsx(Kbd, {
602
+ $[75] = actionsStartIndex;
603
+ $[76] = globalsStartIndex;
604
+ $[77] = groupedNavItems.actions;
605
+ $[78] = groupedNavItems.collections;
606
+ $[79] = groupedNavItems.globals;
607
+ $[80] = handleSelect;
608
+ $[81] = hasRecordResults;
609
+ $[82] = hasResults;
610
+ $[83] = isSearching;
611
+ $[84] = query;
612
+ $[85] = recordItems;
613
+ $[86] = recordsStartIndex;
614
+ $[87] = selectedIndex;
615
+ $[88] = t;
616
+ $[89] = t27;
617
+ } else t27 = $[89];
618
+ let t28;
619
+ let t29;
620
+ if ($[90] === Symbol.for("react.memo_cache_sentinel")) {
621
+ t28 = /* @__PURE__ */ jsx(Kbd, {
605
622
  className: "px-1 text-[10px]",
606
623
  children: "↑"
607
624
  });
608
- t27 = /* @__PURE__ */ jsx(Kbd, {
625
+ t29 = /* @__PURE__ */ jsx(Kbd, {
609
626
  className: "px-1 text-[10px]",
610
627
  children: "↓"
611
628
  });
612
- $[87] = t26;
613
- $[88] = t27;
629
+ $[90] = t28;
630
+ $[91] = t29;
614
631
  } else {
615
- t26 = $[87];
616
- t27 = $[88];
632
+ t28 = $[90];
633
+ t29 = $[91];
617
634
  }
618
- let t28;
619
- if ($[89] !== t) {
620
- t28 = t("globalSearch.navigate");
621
- $[89] = t;
622
- $[90] = t28;
623
- } else t28 = $[90];
624
- let t29;
625
- if ($[91] !== t28) {
626
- t29 = /* @__PURE__ */ jsxs("span", {
627
- className: "flex items-center gap-1",
628
- children: [
629
- t26,
630
- t27,
631
- /* @__PURE__ */ jsx("span", { children: t28 })
632
- ]
633
- });
634
- $[91] = t28;
635
- $[92] = t29;
636
- } else t29 = $[92];
637
635
  let t30;
638
- if ($[93] === Symbol.for("react.memo_cache_sentinel")) {
639
- t30 = /* @__PURE__ */ jsx(Kbd, {
640
- className: "px-1.5 text-[10px]",
641
- children: "↵"
642
- });
636
+ if ($[92] !== t) {
637
+ t30 = t("globalSearch.navigate");
638
+ $[92] = t;
643
639
  $[93] = t30;
644
640
  } else t30 = $[93];
645
641
  let t31;
646
- if ($[94] !== t) {
647
- t31 = t("globalSearch.select");
648
- $[94] = t;
642
+ if ($[94] !== t30) {
643
+ t31 = /* @__PURE__ */ jsxs("span", {
644
+ className: "flex items-center gap-1",
645
+ children: [
646
+ t28,
647
+ t29,
648
+ /* @__PURE__ */ jsx("span", { children: t30 })
649
+ ]
650
+ });
651
+ $[94] = t30;
649
652
  $[95] = t31;
650
653
  } else t31 = $[95];
651
654
  let t32;
652
- if ($[96] !== t31) {
653
- t32 = /* @__PURE__ */ jsxs("span", {
654
- className: "flex items-center gap-1",
655
- children: [t30, /* @__PURE__ */ jsx("span", { children: t31 })]
655
+ if ($[96] === Symbol.for("react.memo_cache_sentinel")) {
656
+ t32 = /* @__PURE__ */ jsx(Kbd, {
657
+ className: "px-1.5 text-[10px]",
658
+ children: ""
656
659
  });
657
- $[96] = t31;
658
- $[97] = t32;
659
- } else t32 = $[97];
660
+ $[96] = t32;
661
+ } else t32 = $[96];
660
662
  let t33;
661
- if ($[98] !== t29 || $[99] !== t32) {
662
- t33 = /* @__PURE__ */ jsxs("div", {
663
+ if ($[97] !== t) {
664
+ t33 = t("globalSearch.select");
665
+ $[97] = t;
666
+ $[98] = t33;
667
+ } else t33 = $[98];
668
+ let t34;
669
+ if ($[99] !== t33) {
670
+ t34 = /* @__PURE__ */ jsxs("span", {
671
+ className: "flex items-center gap-1",
672
+ children: [t32, /* @__PURE__ */ jsx("span", { children: t33 })]
673
+ });
674
+ $[99] = t33;
675
+ $[100] = t34;
676
+ } else t34 = $[100];
677
+ let t35;
678
+ if ($[101] !== t31 || $[102] !== t34) {
679
+ t35 = /* @__PURE__ */ jsxs("div", {
663
680
  className: "qa-global-search__footer text-muted-foreground flex items-center justify-end gap-4 border-t px-3 py-2 text-xs",
664
- children: [t29, t32]
681
+ children: [t31, t34]
665
682
  });
666
- $[98] = t29;
667
- $[99] = t32;
668
- $[100] = t33;
669
- } else t33 = $[100];
670
- let t34;
671
- if ($[101] !== t24 || $[102] !== t25 || $[103] !== t33) {
672
- t34 = /* @__PURE__ */ jsxs(ResponsiveDialogContent, {
683
+ $[101] = t31;
684
+ $[102] = t34;
685
+ $[103] = t35;
686
+ } else t35 = $[103];
687
+ let t36;
688
+ if ($[104] !== t26 || $[105] !== t27 || $[106] !== t35) {
689
+ t36 = /* @__PURE__ */ jsxs(ResponsiveDialogContent, {
673
690
  className: "qa-global-search gap-0 p-0 sm:max-w-3xl",
674
691
  showCloseButton: false,
675
692
  children: [
676
- t24,
677
- t25,
678
- t33
693
+ t26,
694
+ t27,
695
+ t35
679
696
  ]
680
697
  });
681
- $[101] = t24;
682
- $[102] = t25;
683
- $[103] = t33;
684
- $[104] = t34;
685
- } else t34 = $[104];
686
- let t35;
687
- if ($[105] !== isOpen || $[106] !== t16 || $[107] !== t34) {
688
- t35 = /* @__PURE__ */ jsx(ResponsiveDialog, {
698
+ $[104] = t26;
699
+ $[105] = t27;
700
+ $[106] = t35;
701
+ $[107] = t36;
702
+ } else t36 = $[107];
703
+ let t37;
704
+ if ($[108] !== isOpen || $[109] !== t18 || $[110] !== t36) {
705
+ t37 = /* @__PURE__ */ jsx(ResponsiveDialog, {
689
706
  open: isOpen,
690
- onOpenChange: t16,
691
- children: t34
707
+ onOpenChange: t18,
708
+ children: t36
692
709
  });
693
- $[105] = isOpen;
694
- $[106] = t16;
695
- $[107] = t34;
696
- $[108] = t35;
697
- } else t35 = $[108];
698
- return t35;
710
+ $[108] = isOpen;
711
+ $[109] = t18;
712
+ $[110] = t36;
713
+ $[111] = t37;
714
+ } else t37 = $[111];
715
+ return t37;
699
716
  }
700
717
  function _temp3(i_1) {
701
718
  return i_1.type === "action";