@vue/compat 3.3.3 → 3.3.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.
@@ -7,8 +7,8 @@ function makeMap(str, expectsLowerCase) {
7
7
  return expectsLowerCase ? (val) => !!map[val.toLowerCase()] : (val) => !!map[val];
8
8
  }
9
9
 
10
- const EMPTY_OBJ = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {};
11
- const EMPTY_ARR = process.env.NODE_ENV !== "production" ? Object.freeze([]) : [];
10
+ const EMPTY_OBJ = !!(process.env.NODE_ENV !== "production") ? Object.freeze({}) : {};
11
+ const EMPTY_ARR = !!(process.env.NODE_ENV !== "production") ? Object.freeze([]) : [];
12
12
  const NOOP = () => {
13
13
  };
14
14
  const NO = () => false;
@@ -290,7 +290,7 @@ class EffectScope {
290
290
  } finally {
291
291
  activeEffectScope = currentEffectScope;
292
292
  }
293
- } else if (process.env.NODE_ENV !== "production") {
293
+ } else if (!!(process.env.NODE_ENV !== "production")) {
294
294
  warn$1(`cannot run an inactive effect scope.`);
295
295
  }
296
296
  }
@@ -348,7 +348,7 @@ function getCurrentScope() {
348
348
  function onScopeDispose(fn) {
349
349
  if (activeEffectScope) {
350
350
  activeEffectScope.cleanups.push(fn);
351
- } else if (process.env.NODE_ENV !== "production") {
351
+ } else if (!!(process.env.NODE_ENV !== "production")) {
352
352
  warn$1(
353
353
  `onScopeDispose() is called when there is no active effect scope to be associated with.`
354
354
  );
@@ -393,8 +393,8 @@ let effectTrackDepth = 0;
393
393
  let trackOpBit = 1;
394
394
  const maxMarkerBits = 30;
395
395
  let activeEffect;
396
- const ITERATE_KEY = Symbol(process.env.NODE_ENV !== "production" ? "iterate" : "");
397
- const MAP_KEY_ITERATE_KEY = Symbol(process.env.NODE_ENV !== "production" ? "Map key iterate" : "");
396
+ const ITERATE_KEY = Symbol(!!(process.env.NODE_ENV !== "production") ? "iterate" : "");
397
+ const MAP_KEY_ITERATE_KEY = Symbol(!!(process.env.NODE_ENV !== "production") ? "Map key iterate" : "");
398
398
  class ReactiveEffect {
399
399
  constructor(fn, scheduler = null, scope) {
400
400
  this.fn = fn;
@@ -501,7 +501,7 @@ function track(target, type, key) {
501
501
  if (!dep) {
502
502
  depsMap.set(key, dep = createDep());
503
503
  }
504
- const eventInfo = process.env.NODE_ENV !== "production" ? { effect: activeEffect, target, type, key } : void 0;
504
+ const eventInfo = !!(process.env.NODE_ENV !== "production") ? { effect: activeEffect, target, type, key } : void 0;
505
505
  trackEffects(dep, eventInfo);
506
506
  }
507
507
  }
@@ -518,7 +518,7 @@ function trackEffects(dep, debuggerEventExtraInfo) {
518
518
  if (shouldTrack2) {
519
519
  dep.add(activeEffect);
520
520
  activeEffect.deps.push(dep);
521
- if (process.env.NODE_ENV !== "production" && activeEffect.onTrack) {
521
+ if (!!(process.env.NODE_ENV !== "production") && activeEffect.onTrack) {
522
522
  activeEffect.onTrack(
523
523
  extend(
524
524
  {
@@ -575,10 +575,10 @@ function trigger(target, type, key, newValue, oldValue, oldTarget) {
575
575
  break;
576
576
  }
577
577
  }
578
- const eventInfo = process.env.NODE_ENV !== "production" ? { target, type, key, newValue, oldValue, oldTarget } : void 0;
578
+ const eventInfo = !!(process.env.NODE_ENV !== "production") ? { target, type, key, newValue, oldValue, oldTarget } : void 0;
579
579
  if (deps.length === 1) {
580
580
  if (deps[0]) {
581
- if (process.env.NODE_ENV !== "production") {
581
+ if (!!(process.env.NODE_ENV !== "production")) {
582
582
  triggerEffects(deps[0], eventInfo);
583
583
  } else {
584
584
  triggerEffects(deps[0]);
@@ -591,7 +591,7 @@ function trigger(target, type, key, newValue, oldValue, oldTarget) {
591
591
  effects.push(...dep);
592
592
  }
593
593
  }
594
- if (process.env.NODE_ENV !== "production") {
594
+ if (!!(process.env.NODE_ENV !== "production")) {
595
595
  triggerEffects(createDep(effects), eventInfo);
596
596
  } else {
597
597
  triggerEffects(createDep(effects));
@@ -613,7 +613,7 @@ function triggerEffects(dep, debuggerEventExtraInfo) {
613
613
  }
614
614
  function triggerEffect(effect2, debuggerEventExtraInfo) {
615
615
  if (effect2 !== activeEffect || effect2.allowRecurse) {
616
- if (process.env.NODE_ENV !== "production" && effect2.onTrigger) {
616
+ if (!!(process.env.NODE_ENV !== "production") && effect2.onTrigger) {
617
617
  effect2.onTrigger(extend({ effect: effect2 }, debuggerEventExtraInfo));
618
618
  }
619
619
  if (effect2.scheduler) {
@@ -767,7 +767,7 @@ const mutableHandlers = {
767
767
  const readonlyHandlers = {
768
768
  get: readonlyGet,
769
769
  set(target, key) {
770
- if (process.env.NODE_ENV !== "production") {
770
+ if (!!(process.env.NODE_ENV !== "production")) {
771
771
  warn$1(
772
772
  `Set operation on key "${String(key)}" failed: target is readonly.`,
773
773
  target
@@ -776,7 +776,7 @@ const readonlyHandlers = {
776
776
  return true;
777
777
  },
778
778
  deleteProperty(target, key) {
779
- if (process.env.NODE_ENV !== "production") {
779
+ if (!!(process.env.NODE_ENV !== "production")) {
780
780
  warn$1(
781
781
  `Delete operation on key "${String(key)}" failed: target is readonly.`,
782
782
  target
@@ -859,7 +859,7 @@ function set(key, value) {
859
859
  if (!hadKey) {
860
860
  key = toRaw(key);
861
861
  hadKey = has2.call(target, key);
862
- } else if (process.env.NODE_ENV !== "production") {
862
+ } else if (!!(process.env.NODE_ENV !== "production")) {
863
863
  checkIdentityKeys(target, has2, key);
864
864
  }
865
865
  const oldValue = get2.call(target, key);
@@ -878,7 +878,7 @@ function deleteEntry(key) {
878
878
  if (!hadKey) {
879
879
  key = toRaw(key);
880
880
  hadKey = has2.call(target, key);
881
- } else if (process.env.NODE_ENV !== "production") {
881
+ } else if (!!(process.env.NODE_ENV !== "production")) {
882
882
  checkIdentityKeys(target, has2, key);
883
883
  }
884
884
  const oldValue = get2 ? get2.call(target, key) : void 0;
@@ -891,7 +891,7 @@ function deleteEntry(key) {
891
891
  function clear() {
892
892
  const target = toRaw(this);
893
893
  const hadItems = target.size !== 0;
894
- const oldTarget = process.env.NODE_ENV !== "production" ? isMap(target) ? new Map(target) : new Set(target) : void 0;
894
+ const oldTarget = !!(process.env.NODE_ENV !== "production") ? isMap(target) ? new Map(target) : new Set(target) : void 0;
895
895
  const result = target.clear();
896
896
  if (hadItems) {
897
897
  trigger(target, "clear", void 0, void 0, oldTarget);
@@ -942,7 +942,7 @@ function createIterableMethod(method, isReadonly, isShallow) {
942
942
  }
943
943
  function createReadonlyMethod(type) {
944
944
  return function(...args) {
945
- if (process.env.NODE_ENV !== "production") {
945
+ if (!!(process.env.NODE_ENV !== "production")) {
946
946
  const key = args[0] ? `on key "${args[0]}" ` : ``;
947
947
  console.warn(
948
948
  `${capitalize(type)} operation ${key}failed: target is readonly.`,
@@ -1150,7 +1150,7 @@ function shallowReadonly(target) {
1150
1150
  }
1151
1151
  function createReactiveObject(target, isReadonly2, baseHandlers, collectionHandlers, proxyMap) {
1152
1152
  if (!isObject(target)) {
1153
- if (process.env.NODE_ENV !== "production") {
1153
+ if (!!(process.env.NODE_ENV !== "production")) {
1154
1154
  console.warn(`value cannot be made reactive: ${String(target)}`);
1155
1155
  }
1156
1156
  return target;
@@ -1202,7 +1202,7 @@ const toReadonly = (value) => isObject(value) ? readonly(value) : value;
1202
1202
  function trackRefValue(ref2) {
1203
1203
  if (shouldTrack && activeEffect) {
1204
1204
  ref2 = toRaw(ref2);
1205
- if (process.env.NODE_ENV !== "production") {
1205
+ if (!!(process.env.NODE_ENV !== "production")) {
1206
1206
  trackEffects(ref2.dep || (ref2.dep = createDep()), {
1207
1207
  target: ref2,
1208
1208
  type: "get",
@@ -1217,7 +1217,7 @@ function triggerRefValue(ref2, newVal) {
1217
1217
  ref2 = toRaw(ref2);
1218
1218
  const dep = ref2.dep;
1219
1219
  if (dep) {
1220
- if (process.env.NODE_ENV !== "production") {
1220
+ if (!!(process.env.NODE_ENV !== "production")) {
1221
1221
  triggerEffects(dep, {
1222
1222
  target: ref2,
1223
1223
  type: "set",
@@ -1267,7 +1267,7 @@ class RefImpl {
1267
1267
  }
1268
1268
  }
1269
1269
  function triggerRef(ref2) {
1270
- triggerRefValue(ref2, process.env.NODE_ENV !== "production" ? ref2.value : void 0);
1270
+ triggerRefValue(ref2, !!(process.env.NODE_ENV !== "production") ? ref2.value : void 0);
1271
1271
  }
1272
1272
  function unref(ref2) {
1273
1273
  return isRef(ref2) ? ref2.value : ref2;
@@ -1312,7 +1312,7 @@ function customRef(factory) {
1312
1312
  return new CustomRefImpl(factory);
1313
1313
  }
1314
1314
  function toRefs(object) {
1315
- if (process.env.NODE_ENV !== "production" && !isProxy(object)) {
1315
+ if (!!(process.env.NODE_ENV !== "production") && !isProxy(object)) {
1316
1316
  console.warn(`toRefs() expects a reactive object but received a plain one.`);
1317
1317
  }
1318
1318
  const ret = isArray(object) ? new Array(object.length) : {};
@@ -1405,7 +1405,7 @@ function computed$1(getterOrOptions, debugOptions, isSSR = false) {
1405
1405
  const onlyGetter = isFunction(getterOrOptions);
1406
1406
  if (onlyGetter) {
1407
1407
  getter = getterOrOptions;
1408
- setter = process.env.NODE_ENV !== "production" ? () => {
1408
+ setter = !!(process.env.NODE_ENV !== "production") ? () => {
1409
1409
  console.warn("Write operation failed: computed value is readonly");
1410
1410
  } : NOOP;
1411
1411
  } else {
@@ -1413,7 +1413,7 @@ function computed$1(getterOrOptions, debugOptions, isSSR = false) {
1413
1413
  setter = getterOrOptions.set;
1414
1414
  }
1415
1415
  const cRef = new ComputedRefImpl(getter, setter, onlyGetter || !setter, isSSR);
1416
- if (process.env.NODE_ENV !== "production" && debugOptions && !isSSR) {
1416
+ if (!!(process.env.NODE_ENV !== "production") && debugOptions && !isSSR) {
1417
1417
  cRef.effect.onTrack = debugOptions.onTrack;
1418
1418
  cRef.effect.onTrigger = debugOptions.onTrigger;
1419
1419
  }
@@ -1428,7 +1428,7 @@ function popWarningContext() {
1428
1428
  stack.pop();
1429
1429
  }
1430
1430
  function warn(msg, ...args) {
1431
- if (!(process.env.NODE_ENV !== "production"))
1431
+ if (!!!(process.env.NODE_ENV !== "production"))
1432
1432
  return;
1433
1433
  pauseTracking();
1434
1434
  const instance = stack.length ? stack[stack.length - 1].component : null;
@@ -1527,7 +1527,7 @@ function formatProp(key, value, raw) {
1527
1527
  }
1528
1528
  }
1529
1529
  function assertNumber(val, type) {
1530
- if (!(process.env.NODE_ENV !== "production"))
1530
+ if (!!!(process.env.NODE_ENV !== "production"))
1531
1531
  return;
1532
1532
  if (val === void 0) {
1533
1533
  return;
@@ -1599,7 +1599,7 @@ function handleError(err, instance, type, throwInDev = true) {
1599
1599
  if (instance) {
1600
1600
  let cur = instance.parent;
1601
1601
  const exposedInstance = instance.proxy;
1602
- const errorInfo = process.env.NODE_ENV !== "production" ? ErrorTypeStrings[type] : type;
1602
+ const errorInfo = !!(process.env.NODE_ENV !== "production") ? ErrorTypeStrings[type] : type;
1603
1603
  while (cur) {
1604
1604
  const errorCapturedHooks = cur.ec;
1605
1605
  if (errorCapturedHooks) {
@@ -1625,7 +1625,7 @@ function handleError(err, instance, type, throwInDev = true) {
1625
1625
  logError(err, type, contextVNode, throwInDev);
1626
1626
  }
1627
1627
  function logError(err, type, contextVNode, throwInDev = true) {
1628
- if (process.env.NODE_ENV !== "production") {
1628
+ if (!!(process.env.NODE_ENV !== "production")) {
1629
1629
  const info = ErrorTypeStrings[type];
1630
1630
  if (contextVNode) {
1631
1631
  pushWarningContext(contextVNode);
@@ -1707,13 +1707,13 @@ function queuePostFlushCb(cb) {
1707
1707
  queueFlush();
1708
1708
  }
1709
1709
  function flushPreFlushCbs(seen, i = isFlushing ? flushIndex + 1 : 0) {
1710
- if (process.env.NODE_ENV !== "production") {
1710
+ if (!!(process.env.NODE_ENV !== "production")) {
1711
1711
  seen = seen || /* @__PURE__ */ new Map();
1712
1712
  }
1713
1713
  for (; i < queue.length; i++) {
1714
1714
  const cb = queue[i];
1715
1715
  if (cb && cb.pre) {
1716
- if (process.env.NODE_ENV !== "production" && checkRecursiveUpdates(seen, cb)) {
1716
+ if (!!(process.env.NODE_ENV !== "production") && checkRecursiveUpdates(seen, cb)) {
1717
1717
  continue;
1718
1718
  }
1719
1719
  queue.splice(i, 1);
@@ -1731,12 +1731,12 @@ function flushPostFlushCbs(seen) {
1731
1731
  return;
1732
1732
  }
1733
1733
  activePostFlushCbs = deduped;
1734
- if (process.env.NODE_ENV !== "production") {
1734
+ if (!!(process.env.NODE_ENV !== "production")) {
1735
1735
  seen = seen || /* @__PURE__ */ new Map();
1736
1736
  }
1737
1737
  activePostFlushCbs.sort((a, b) => getId(a) - getId(b));
1738
1738
  for (postFlushIndex = 0; postFlushIndex < activePostFlushCbs.length; postFlushIndex++) {
1739
- if (process.env.NODE_ENV !== "production" && checkRecursiveUpdates(seen, activePostFlushCbs[postFlushIndex])) {
1739
+ if (!!(process.env.NODE_ENV !== "production") && checkRecursiveUpdates(seen, activePostFlushCbs[postFlushIndex])) {
1740
1740
  continue;
1741
1741
  }
1742
1742
  activePostFlushCbs[postFlushIndex]();
@@ -1759,16 +1759,16 @@ const comparator = (a, b) => {
1759
1759
  function flushJobs(seen) {
1760
1760
  isFlushPending = false;
1761
1761
  isFlushing = true;
1762
- if (process.env.NODE_ENV !== "production") {
1762
+ if (!!(process.env.NODE_ENV !== "production")) {
1763
1763
  seen = seen || /* @__PURE__ */ new Map();
1764
1764
  }
1765
1765
  queue.sort(comparator);
1766
- const check = process.env.NODE_ENV !== "production" ? (job) => checkRecursiveUpdates(seen, job) : NOOP;
1766
+ const check = !!(process.env.NODE_ENV !== "production") ? (job) => checkRecursiveUpdates(seen, job) : NOOP;
1767
1767
  try {
1768
1768
  for (flushIndex = 0; flushIndex < queue.length; flushIndex++) {
1769
1769
  const job = queue[flushIndex];
1770
1770
  if (job && job.active !== false) {
1771
- if (process.env.NODE_ENV !== "production" && check(job)) {
1771
+ if (!!(process.env.NODE_ENV !== "production") && check(job)) {
1772
1772
  continue;
1773
1773
  }
1774
1774
  callWithErrorHandling(job, null, 14);
@@ -1805,7 +1805,7 @@ function checkRecursiveUpdates(seen, fn) {
1805
1805
 
1806
1806
  let isHmrUpdating = false;
1807
1807
  const hmrDirtyComponents = /* @__PURE__ */ new Set();
1808
- if (process.env.NODE_ENV !== "production") {
1808
+ if (!!(process.env.NODE_ENV !== "production")) {
1809
1809
  getGlobalThis().__VUE_HMR_RUNTIME__ = {
1810
1810
  createRecord: tryWrap(createRecord),
1811
1811
  rerender: tryWrap(rerender),
@@ -2218,7 +2218,7 @@ const deprecationData = {
2218
2218
  const instanceWarned = /* @__PURE__ */ Object.create(null);
2219
2219
  const warnCount = /* @__PURE__ */ Object.create(null);
2220
2220
  function warnDeprecation(key, instance, ...args) {
2221
- if (!(process.env.NODE_ENV !== "production")) {
2221
+ if (!!!(process.env.NODE_ENV !== "production")) {
2222
2222
  return;
2223
2223
  }
2224
2224
  instance = instance || getCurrentInstance();
@@ -2256,7 +2256,7 @@ const globalCompatConfig = {
2256
2256
  MODE: 2
2257
2257
  };
2258
2258
  function configureCompat$1(config) {
2259
- if (process.env.NODE_ENV !== "production") {
2259
+ if (!!(process.env.NODE_ENV !== "production")) {
2260
2260
  validateCompatConfig(config);
2261
2261
  }
2262
2262
  extend(globalCompatConfig, config);
@@ -2312,19 +2312,19 @@ function isCompatEnabled(key, instance, enableForBuiltIn = false) {
2312
2312
  function assertCompatEnabled(key, instance, ...args) {
2313
2313
  if (!isCompatEnabled(key, instance)) {
2314
2314
  throw new Error(`${key} compat has been disabled.`);
2315
- } else if (process.env.NODE_ENV !== "production") {
2315
+ } else if (!!(process.env.NODE_ENV !== "production")) {
2316
2316
  warnDeprecation(key, instance, ...args);
2317
2317
  }
2318
2318
  }
2319
2319
  function softAssertCompatEnabled(key, instance, ...args) {
2320
- if (process.env.NODE_ENV !== "production") {
2320
+ if (!!(process.env.NODE_ENV !== "production")) {
2321
2321
  warnDeprecation(key, instance, ...args);
2322
2322
  }
2323
2323
  return isCompatEnabled(key, instance);
2324
2324
  }
2325
2325
  function checkCompatEnabled(key, instance, ...args) {
2326
2326
  const enabled = isCompatEnabled(key, instance);
2327
- if (process.env.NODE_ENV !== "production" && enabled) {
2327
+ if (!!(process.env.NODE_ENV !== "production") && enabled) {
2328
2328
  warnDeprecation(key, instance, ...args);
2329
2329
  }
2330
2330
  return enabled;
@@ -2416,7 +2416,7 @@ function convertLegacyVModelProps(vnode) {
2416
2416
  )) {
2417
2417
  return;
2418
2418
  }
2419
- if (process.env.NODE_ENV !== "production" && !warnedTypes.has(comp)) {
2419
+ if (!!(process.env.NODE_ENV !== "production") && !warnedTypes.has(comp)) {
2420
2420
  pushWarningContext(vnode);
2421
2421
  warnDeprecation("COMPONENT_V_MODEL", { type }, comp);
2422
2422
  popWarningContext();
@@ -2466,7 +2466,7 @@ function emit(instance, event, ...rawArgs) {
2466
2466
  if (instance.isUnmounted)
2467
2467
  return;
2468
2468
  const props = instance.vnode.props || EMPTY_OBJ;
2469
- if (process.env.NODE_ENV !== "production") {
2469
+ if (!!(process.env.NODE_ENV !== "production")) {
2470
2470
  const {
2471
2471
  emitsOptions,
2472
2472
  propsOptions: [propsOptions]
@@ -2504,10 +2504,10 @@ function emit(instance, event, ...rawArgs) {
2504
2504
  args = rawArgs.map(looseToNumber);
2505
2505
  }
2506
2506
  }
2507
- if (process.env.NODE_ENV !== "production" || __VUE_PROD_DEVTOOLS__) {
2507
+ if (!!(process.env.NODE_ENV !== "production") || __VUE_PROD_DEVTOOLS__) {
2508
2508
  devtoolsComponentEmit(instance, event, args);
2509
2509
  }
2510
- if (process.env.NODE_ENV !== "production") {
2510
+ if (!!(process.env.NODE_ENV !== "production")) {
2511
2511
  const lowerCaseEvent = event.toLowerCase();
2512
2512
  if (lowerCaseEvent !== event && props[toHandlerKey(lowerCaseEvent)]) {
2513
2513
  warn(
@@ -2644,7 +2644,7 @@ function withCtx(fn, ctx = currentRenderingInstance, isNonScopedSlot) {
2644
2644
  setBlockTracking(1);
2645
2645
  }
2646
2646
  }
2647
- if (process.env.NODE_ENV !== "production" || __VUE_PROD_DEVTOOLS__) {
2647
+ if (!!(process.env.NODE_ENV !== "production") || __VUE_PROD_DEVTOOLS__) {
2648
2648
  devtoolsComponentUpdated(ctx);
2649
2649
  }
2650
2650
  return res;
@@ -2683,7 +2683,7 @@ function renderComponentRoot(instance) {
2683
2683
  let result;
2684
2684
  let fallthroughAttrs;
2685
2685
  const prev = setCurrentRenderingInstance(instance);
2686
- if (process.env.NODE_ENV !== "production") {
2686
+ if (!!(process.env.NODE_ENV !== "production")) {
2687
2687
  accessedAttrs = false;
2688
2688
  }
2689
2689
  try {
@@ -2703,13 +2703,13 @@ function renderComponentRoot(instance) {
2703
2703
  fallthroughAttrs = attrs;
2704
2704
  } else {
2705
2705
  const render2 = Component;
2706
- if (process.env.NODE_ENV !== "production" && attrs === props) {
2706
+ if (!!(process.env.NODE_ENV !== "production") && attrs === props) {
2707
2707
  markAttrsAccessed();
2708
2708
  }
2709
2709
  result = normalizeVNode(
2710
2710
  render2.length > 1 ? render2(
2711
2711
  props,
2712
- process.env.NODE_ENV !== "production" ? {
2712
+ !!(process.env.NODE_ENV !== "production") ? {
2713
2713
  get attrs() {
2714
2714
  markAttrsAccessed();
2715
2715
  return attrs;
@@ -2732,7 +2732,7 @@ function renderComponentRoot(instance) {
2732
2732
  }
2733
2733
  let root = result;
2734
2734
  let setRoot = void 0;
2735
- if (process.env.NODE_ENV !== "production" && result.patchFlag > 0 && result.patchFlag & 2048) {
2735
+ if (!!(process.env.NODE_ENV !== "production") && result.patchFlag > 0 && result.patchFlag & 2048) {
2736
2736
  [root, setRoot] = getChildRoot(result);
2737
2737
  }
2738
2738
  if (fallthroughAttrs && inheritAttrs !== false) {
@@ -2747,7 +2747,7 @@ function renderComponentRoot(instance) {
2747
2747
  );
2748
2748
  }
2749
2749
  root = cloneVNode(root, fallthroughAttrs);
2750
- } else if (process.env.NODE_ENV !== "production" && !accessedAttrs && root.type !== Comment) {
2750
+ } else if (!!(process.env.NODE_ENV !== "production") && !accessedAttrs && root.type !== Comment) {
2751
2751
  const allAttrs = Object.keys(attrs);
2752
2752
  const eventAttrs = [];
2753
2753
  const extraAttrs = [];
@@ -2777,7 +2777,7 @@ function renderComponentRoot(instance) {
2777
2777
  if (isCompatEnabled("INSTANCE_ATTRS_CLASS_STYLE", instance) && vnode.shapeFlag & 4 && root.shapeFlag & (1 | 6)) {
2778
2778
  const { class: cls, style } = vnode.props || {};
2779
2779
  if (cls || style) {
2780
- if (process.env.NODE_ENV !== "production" && inheritAttrs === false) {
2780
+ if (!!(process.env.NODE_ENV !== "production") && inheritAttrs === false) {
2781
2781
  warnDeprecation(
2782
2782
  "INSTANCE_ATTRS_CLASS_STYLE",
2783
2783
  instance,
@@ -2791,7 +2791,7 @@ function renderComponentRoot(instance) {
2791
2791
  }
2792
2792
  }
2793
2793
  if (vnode.dirs) {
2794
- if (process.env.NODE_ENV !== "production" && !isElementRoot(root)) {
2794
+ if (!!(process.env.NODE_ENV !== "production") && !isElementRoot(root)) {
2795
2795
  warn(
2796
2796
  `Runtime directive used on component with non-element root node. The directives will not function as intended.`
2797
2797
  );
@@ -2800,14 +2800,14 @@ function renderComponentRoot(instance) {
2800
2800
  root.dirs = root.dirs ? root.dirs.concat(vnode.dirs) : vnode.dirs;
2801
2801
  }
2802
2802
  if (vnode.transition) {
2803
- if (process.env.NODE_ENV !== "production" && !isElementRoot(root)) {
2803
+ if (!!(process.env.NODE_ENV !== "production") && !isElementRoot(root)) {
2804
2804
  warn(
2805
2805
  `Component inside <Transition> renders non-element root node that cannot be animated.`
2806
2806
  );
2807
2807
  }
2808
2808
  root.transition = vnode.transition;
2809
2809
  }
2810
- if (process.env.NODE_ENV !== "production" && setRoot) {
2810
+ if (!!(process.env.NODE_ENV !== "production") && setRoot) {
2811
2811
  setRoot(root);
2812
2812
  } else {
2813
2813
  result = root;
@@ -2879,7 +2879,7 @@ function shouldUpdateComponent(prevVNode, nextVNode, optimized) {
2879
2879
  const { props: prevProps, children: prevChildren, component } = prevVNode;
2880
2880
  const { props: nextProps, children: nextChildren, patchFlag } = nextVNode;
2881
2881
  const emits = component.emitsOptions;
2882
- if (process.env.NODE_ENV !== "production" && (prevChildren || nextChildren) && isHmrUpdating) {
2882
+ if (!!(process.env.NODE_ENV !== "production") && (prevChildren || nextChildren) && isHmrUpdating) {
2883
2883
  return true;
2884
2884
  }
2885
2885
  if (nextVNode.dirs || nextVNode.transition) {
@@ -3191,7 +3191,7 @@ function patchSuspense(n1, n2, container, anchor, parentComponent, isSVG, slotSc
3191
3191
  }
3192
3192
  let hasWarned = false;
3193
3193
  function createSuspenseBoundary(vnode, parentSuspense, parentComponent, container, hiddenContainer, anchor, isSVG, slotScopeIds, optimized, rendererInternals, isHydrating = false) {
3194
- if (process.env.NODE_ENV !== "production" && true && !hasWarned) {
3194
+ if (!!(process.env.NODE_ENV !== "production") && true && !hasWarned) {
3195
3195
  hasWarned = true;
3196
3196
  console[console.info ? "info" : "log"](
3197
3197
  `<Suspense> is an experimental feature and its API will likely change.`
@@ -3213,7 +3213,7 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
3213
3213
  }
3214
3214
  }
3215
3215
  const timeout = vnode.props ? toNumber(vnode.props.timeout) : void 0;
3216
- if (process.env.NODE_ENV !== "production") {
3216
+ if (!!(process.env.NODE_ENV !== "production")) {
3217
3217
  assertNumber(timeout, `Suspense timeout`);
3218
3218
  }
3219
3219
  const suspense = {
@@ -3234,7 +3234,7 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
3234
3234
  isUnmounted: false,
3235
3235
  effects: [],
3236
3236
  resolve(resume = false, sync = false) {
3237
- if (process.env.NODE_ENV !== "production") {
3237
+ if (!!(process.env.NODE_ENV !== "production")) {
3238
3238
  if (!resume && !suspense.pendingBranch) {
3239
3239
  throw new Error(
3240
3240
  `suspense.resolve() is called without a pending branch.`
@@ -3365,7 +3365,7 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
3365
3365
  }
3366
3366
  instance.asyncResolved = true;
3367
3367
  const { vnode: vnode2 } = instance;
3368
- if (process.env.NODE_ENV !== "production") {
3368
+ if (!!(process.env.NODE_ENV !== "production")) {
3369
3369
  pushWarningContext(vnode2);
3370
3370
  }
3371
3371
  handleSetupResult(instance, asyncSetupResult, false);
@@ -3391,7 +3391,7 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
3391
3391
  remove(placeholder);
3392
3392
  }
3393
3393
  updateHOCHostEl(instance, vnode2.el);
3394
- if (process.env.NODE_ENV !== "production") {
3394
+ if (!!(process.env.NODE_ENV !== "production")) {
3395
3395
  popWarningContext();
3396
3396
  }
3397
3397
  if (isInPendingSuspense && --suspense.deps === 0) {
@@ -3474,7 +3474,7 @@ function normalizeSuspenseSlot(s) {
3474
3474
  }
3475
3475
  if (isArray(s)) {
3476
3476
  const singleChild = filterSingleRoot(s);
3477
- if (process.env.NODE_ENV !== "production" && !singleChild) {
3477
+ if (!!(process.env.NODE_ENV !== "production") && !singleChild) {
3478
3478
  warn(`<Suspense> slots expect a single root node.`);
3479
3479
  }
3480
3480
  s = singleChild;
@@ -3555,19 +3555,19 @@ function watchPostEffect(effect, options) {
3555
3555
  return doWatch(
3556
3556
  effect,
3557
3557
  null,
3558
- process.env.NODE_ENV !== "production" ? extend({}, options, { flush: "post" }) : { flush: "post" }
3558
+ !!(process.env.NODE_ENV !== "production") ? extend({}, options, { flush: "post" }) : { flush: "post" }
3559
3559
  );
3560
3560
  }
3561
3561
  function watchSyncEffect(effect, options) {
3562
3562
  return doWatch(
3563
3563
  effect,
3564
3564
  null,
3565
- process.env.NODE_ENV !== "production" ? extend({}, options, { flush: "sync" }) : { flush: "sync" }
3565
+ !!(process.env.NODE_ENV !== "production") ? extend({}, options, { flush: "sync" }) : { flush: "sync" }
3566
3566
  );
3567
3567
  }
3568
3568
  const INITIAL_WATCHER_VALUE = {};
3569
3569
  function watch(source, cb, options) {
3570
- if (process.env.NODE_ENV !== "production" && !isFunction(cb)) {
3570
+ if (!!(process.env.NODE_ENV !== "production") && !isFunction(cb)) {
3571
3571
  warn(
3572
3572
  `\`watch(fn, options?)\` signature has been moved to a separate API. Use \`watchEffect(fn, options?)\` instead. \`watch\` now only supports \`watch(source, cb, options?) signature.`
3573
3573
  );
@@ -3576,7 +3576,7 @@ function watch(source, cb, options) {
3576
3576
  }
3577
3577
  function doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = EMPTY_OBJ) {
3578
3578
  var _a;
3579
- if (process.env.NODE_ENV !== "production" && !cb) {
3579
+ if (!!(process.env.NODE_ENV !== "production") && !cb) {
3580
3580
  if (immediate !== void 0) {
3581
3581
  warn(
3582
3582
  `watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.`
@@ -3616,7 +3616,7 @@ function doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = EM
3616
3616
  } else if (isFunction(s)) {
3617
3617
  return callWithErrorHandling(s, instance, 2);
3618
3618
  } else {
3619
- process.env.NODE_ENV !== "production" && warnInvalidSource(s);
3619
+ !!(process.env.NODE_ENV !== "production") && warnInvalidSource(s);
3620
3620
  }
3621
3621
  });
3622
3622
  } else if (isFunction(source)) {
@@ -3639,7 +3639,8 @@ function doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = EM
3639
3639
  };
3640
3640
  }
3641
3641
  } else {
3642
- getter = NOOP(process.env.NODE_ENV !== "production") && warnInvalidSource(source);
3642
+ getter = NOOP;
3643
+ !!(process.env.NODE_ENV !== "production") && warnInvalidSource(source);
3643
3644
  }
3644
3645
  if (cb && !deep) {
3645
3646
  const baseGetter = getter;
@@ -3718,7 +3719,7 @@ function doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = EM
3718
3719
  scheduler = () => queueJob(job);
3719
3720
  }
3720
3721
  const effect = new ReactiveEffect(getter, scheduler);
3721
- if (process.env.NODE_ENV !== "production") {
3722
+ if (!!(process.env.NODE_ENV !== "production")) {
3722
3723
  effect.onTrack = onTrack;
3723
3724
  effect.onTrigger = onTrigger;
3724
3725
  }
@@ -3811,7 +3812,7 @@ function validateDirectiveName(name) {
3811
3812
  function withDirectives(vnode, directives) {
3812
3813
  const internalInstance = currentRenderingInstance;
3813
3814
  if (internalInstance === null) {
3814
- process.env.NODE_ENV !== "production" && warn(`withDirectives can only be used inside render functions.`);
3815
+ !!(process.env.NODE_ENV !== "production") && warn(`withDirectives can only be used inside render functions.`);
3815
3816
  return vnode;
3816
3817
  }
3817
3818
  const instance = getExposeProxy(internalInstance) || internalInstance.proxy;
@@ -3918,7 +3919,7 @@ const BaseTransitionImpl = {
3918
3919
  let hasFound = false;
3919
3920
  for (const c of children) {
3920
3921
  if (c.type !== Comment) {
3921
- if (process.env.NODE_ENV !== "production" && hasFound) {
3922
+ if (!!(process.env.NODE_ENV !== "production") && hasFound) {
3922
3923
  warn(
3923
3924
  "<transition> can only be used on a single element or component. Use <transition-group> for lists."
3924
3925
  );
@@ -3926,14 +3927,14 @@ const BaseTransitionImpl = {
3926
3927
  }
3927
3928
  child = c;
3928
3929
  hasFound = true;
3929
- if (!(process.env.NODE_ENV !== "production"))
3930
+ if (!!!(process.env.NODE_ENV !== "production"))
3930
3931
  break;
3931
3932
  }
3932
3933
  }
3933
3934
  }
3934
3935
  const rawProps = toRaw(props);
3935
3936
  const { mode } = rawProps;
3936
- if (process.env.NODE_ENV !== "production" && mode && mode !== "in-out" && mode !== "out-in" && mode !== "default") {
3937
+ if (!!(process.env.NODE_ENV !== "production") && mode && mode !== "in-out" && mode !== "out-in" && mode !== "default") {
3937
3938
  warn(`invalid <transition> mode: ${mode}`);
3938
3939
  }
3939
3940
  if (state.isLeaving) {
@@ -4242,7 +4243,7 @@ function defineAsyncComponent(source) {
4242
4243
  if (thisRequest !== pendingRequest && pendingRequest) {
4243
4244
  return pendingRequest;
4244
4245
  }
4245
- if (process.env.NODE_ENV !== "production" && !comp) {
4246
+ if (!!(process.env.NODE_ENV !== "production") && !comp) {
4246
4247
  warn(
4247
4248
  `Async component loader resolved to undefined. If you are using retry(), make sure to return its return value.`
4248
4249
  );
@@ -4250,7 +4251,7 @@ function defineAsyncComponent(source) {
4250
4251
  if (comp && (comp.__esModule || comp[Symbol.toStringTag] === "Module")) {
4251
4252
  comp = comp.default;
4252
4253
  }
4253
- if (process.env.NODE_ENV !== "production" && comp && !isObject(comp) && !isFunction(comp)) {
4254
+ if (!!(process.env.NODE_ENV !== "production") && comp && !isObject(comp) && !isFunction(comp)) {
4254
4255
  throw new Error(`Invalid async component load result: ${comp}`);
4255
4256
  }
4256
4257
  resolvedComp = comp;
@@ -4363,7 +4364,7 @@ const KeepAliveImpl = {
4363
4364
  const cache = /* @__PURE__ */ new Map();
4364
4365
  const keys = /* @__PURE__ */ new Set();
4365
4366
  let current = null;
4366
- if (process.env.NODE_ENV !== "production" || __VUE_PROD_DEVTOOLS__) {
4367
+ if (!!(process.env.NODE_ENV !== "production") || __VUE_PROD_DEVTOOLS__) {
4367
4368
  instance.__v_cache = cache;
4368
4369
  }
4369
4370
  const parentSuspense = instance.suspense;
@@ -4400,7 +4401,7 @@ const KeepAliveImpl = {
4400
4401
  invokeVNodeHook(vnodeHook, instance2.parent, vnode);
4401
4402
  }
4402
4403
  }, parentSuspense);
4403
- if (process.env.NODE_ENV !== "production" || __VUE_PROD_DEVTOOLS__) {
4404
+ if (!!(process.env.NODE_ENV !== "production") || __VUE_PROD_DEVTOOLS__) {
4404
4405
  devtoolsComponentAdded(instance2);
4405
4406
  }
4406
4407
  };
@@ -4417,7 +4418,7 @@ const KeepAliveImpl = {
4417
4418
  }
4418
4419
  instance2.isDeactivated = true;
4419
4420
  }, parentSuspense);
4420
- if (process.env.NODE_ENV !== "production" || __VUE_PROD_DEVTOOLS__) {
4421
+ if (!!(process.env.NODE_ENV !== "production") || __VUE_PROD_DEVTOOLS__) {
4421
4422
  devtoolsComponentAdded(instance2);
4422
4423
  }
4423
4424
  };
@@ -4481,7 +4482,7 @@ const KeepAliveImpl = {
4481
4482
  const children = slots.default();
4482
4483
  const rawVNode = children[0];
4483
4484
  if (children.length > 1) {
4484
- if (process.env.NODE_ENV !== "production") {
4485
+ if (!!(process.env.NODE_ENV !== "production")) {
4485
4486
  warn(`KeepAlive should contain exactly one component child.`);
4486
4487
  }
4487
4488
  current = null;
@@ -4612,7 +4613,7 @@ function injectHook(type, hook, target = currentInstance, prepend = false) {
4612
4613
  hooks.push(wrappedHook);
4613
4614
  }
4614
4615
  return wrappedHook;
4615
- } else if (process.env.NODE_ENV !== "production") {
4616
+ } else if (!!(process.env.NODE_ENV !== "production")) {
4616
4617
  const apiName = toHandlerKey(ErrorTypeStrings[type].replace(/ hook$/, ""));
4617
4618
  warn(
4618
4619
  `${apiName} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup().` + (` If you are using async setup(), make sure to register lifecycle hooks before the first await statement.` )
@@ -4718,13 +4719,13 @@ function resolveAsset(type, name, warnMissing = true, maybeSelfReference = false
4718
4719
  if (!res && maybeSelfReference) {
4719
4720
  return Component;
4720
4721
  }
4721
- if (process.env.NODE_ENV !== "production" && warnMissing && !res) {
4722
+ if (!!(process.env.NODE_ENV !== "production") && warnMissing && !res) {
4722
4723
  const extra = type === COMPONENTS ? `
4723
4724
  If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.` : ``;
4724
4725
  warn(`Failed to resolve ${type.slice(0, -1)}: ${name}${extra}`);
4725
4726
  }
4726
4727
  return res;
4727
- } else if (process.env.NODE_ENV !== "production") {
4728
+ } else if (!!(process.env.NODE_ENV !== "production")) {
4728
4729
  warn(
4729
4730
  `resolve${capitalize(type.slice(0, -1))} can only be used in render() or setup().`
4730
4731
  );
@@ -4994,7 +4995,7 @@ function renderList(source, renderItem, cache, index) {
4994
4995
  ret[i] = renderItem(source[i], i, void 0, cached && cached[i]);
4995
4996
  }
4996
4997
  } else if (typeof source === "number") {
4997
- if (process.env.NODE_ENV !== "production" && !Number.isInteger(source)) {
4998
+ if (!!(process.env.NODE_ENV !== "production") && !Number.isInteger(source)) {
4998
4999
  warn(`The v-for range expect an integer value but got ${source}.`);
4999
5000
  }
5000
5001
  ret = new Array(source);
@@ -5050,7 +5051,7 @@ function renderSlot(slots, name, props = {}, fallback, noSlotted) {
5050
5051
  return createVNode("slot", props, fallback && fallback());
5051
5052
  }
5052
5053
  let slot = slots[name];
5053
- if (process.env.NODE_ENV !== "production" && slot && slot.length > 1) {
5054
+ if (!!(process.env.NODE_ENV !== "production") && slot && slot.length > 1) {
5054
5055
  warn(
5055
5056
  `SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template.`
5056
5057
  );
@@ -5093,7 +5094,7 @@ function ensureValidVNode(vnodes) {
5093
5094
 
5094
5095
  function toHandlers(obj, preserveCaseIfNecessary) {
5095
5096
  const ret = {};
5096
- if (process.env.NODE_ENV !== "production" && !isObject(obj)) {
5097
+ if (!!(process.env.NODE_ENV !== "production") && !isObject(obj)) {
5097
5098
  warn(`v-on with no argument expects an object value.`);
5098
5099
  return ret;
5099
5100
  }
@@ -5251,7 +5252,7 @@ function installCompatInstanceProperties(map) {
5251
5252
  if (isCompatEnabled("RENDER_FUNCTION", i) && i.render && i.render._compatWrapped) {
5252
5253
  return new Proxy(i.slots, legacySlotProxyHandlers);
5253
5254
  }
5254
- return process.env.NODE_ENV !== "production" ? shallowReadonly(i.slots) : i.slots;
5255
+ return !!(process.env.NODE_ENV !== "production") ? shallowReadonly(i.slots) : i.slots;
5255
5256
  },
5256
5257
  $scopedSlots: (i) => {
5257
5258
  assertCompatEnabled("INSTANCE_SCOPED_SLOTS", i);
@@ -5326,10 +5327,10 @@ const publicPropertiesMap = (
5326
5327
  $: (i) => i,
5327
5328
  $el: (i) => i.vnode.el,
5328
5329
  $data: (i) => i.data,
5329
- $props: (i) => process.env.NODE_ENV !== "production" ? shallowReadonly(i.props) : i.props,
5330
- $attrs: (i) => process.env.NODE_ENV !== "production" ? shallowReadonly(i.attrs) : i.attrs,
5331
- $slots: (i) => process.env.NODE_ENV !== "production" ? shallowReadonly(i.slots) : i.slots,
5332
- $refs: (i) => process.env.NODE_ENV !== "production" ? shallowReadonly(i.refs) : i.refs,
5330
+ $props: (i) => !!(process.env.NODE_ENV !== "production") ? shallowReadonly(i.props) : i.props,
5331
+ $attrs: (i) => !!(process.env.NODE_ENV !== "production") ? shallowReadonly(i.attrs) : i.attrs,
5332
+ $slots: (i) => !!(process.env.NODE_ENV !== "production") ? shallowReadonly(i.slots) : i.slots,
5333
+ $refs: (i) => !!(process.env.NODE_ENV !== "production") ? shallowReadonly(i.refs) : i.refs,
5333
5334
  $parent: (i) => getPublicInstance(i.parent),
5334
5335
  $root: (i) => getPublicInstance(i.root),
5335
5336
  $emit: (i) => i.emit,
@@ -5347,7 +5348,7 @@ const hasSetupBinding = (state, key) => state !== EMPTY_OBJ && !state.__isScript
5347
5348
  const PublicInstanceProxyHandlers = {
5348
5349
  get({ _: instance }, key) {
5349
5350
  const { ctx, setupState, data, props, accessCache, type, appContext } = instance;
5350
- if (process.env.NODE_ENV !== "production" && key === "__isVue") {
5351
+ if (!!(process.env.NODE_ENV !== "production") && key === "__isVue") {
5351
5352
  return true;
5352
5353
  }
5353
5354
  let normalizedProps;
@@ -5388,8 +5389,9 @@ const PublicInstanceProxyHandlers = {
5388
5389
  let cssModule, globalProperties;
5389
5390
  if (publicGetter) {
5390
5391
  if (key === "$attrs") {
5391
- track(instance, "get", key)(process.env.NODE_ENV !== "production") && markAttrsAccessed();
5392
- } else if (process.env.NODE_ENV !== "production" && key === "$slots") {
5392
+ track(instance, "get", key);
5393
+ !!(process.env.NODE_ENV !== "production") && markAttrsAccessed();
5394
+ } else if (!!(process.env.NODE_ENV !== "production") && key === "$slots") {
5393
5395
  track(instance, "get", key);
5394
5396
  }
5395
5397
  return publicGetter(instance);
@@ -5414,7 +5416,7 @@ const PublicInstanceProxyHandlers = {
5414
5416
  return isFunction(val) ? Object.assign(val.bind(instance.proxy), val) : val;
5415
5417
  }
5416
5418
  }
5417
- } else if (process.env.NODE_ENV !== "production" && currentRenderingInstance && (!isString(key) || // #1091 avoid internal isRef/isVNode checks on component instance leading
5419
+ } else if (!!(process.env.NODE_ENV !== "production") && currentRenderingInstance && (!isString(key) || // #1091 avoid internal isRef/isVNode checks on component instance leading
5418
5420
  // to infinite warning loop
5419
5421
  key.indexOf("__v") !== 0)) {
5420
5422
  if (data !== EMPTY_OBJ && isReservedPrefix(key[0]) && hasOwn(data, key)) {
@@ -5435,23 +5437,23 @@ const PublicInstanceProxyHandlers = {
5435
5437
  if (hasSetupBinding(setupState, key)) {
5436
5438
  setupState[key] = value;
5437
5439
  return true;
5438
- } else if (process.env.NODE_ENV !== "production" && setupState.__isScriptSetup && hasOwn(setupState, key)) {
5440
+ } else if (!!(process.env.NODE_ENV !== "production") && setupState.__isScriptSetup && hasOwn(setupState, key)) {
5439
5441
  warn(`Cannot mutate <script setup> binding "${key}" from Options API.`);
5440
5442
  return false;
5441
5443
  } else if (data !== EMPTY_OBJ && hasOwn(data, key)) {
5442
5444
  data[key] = value;
5443
5445
  return true;
5444
5446
  } else if (hasOwn(instance.props, key)) {
5445
- process.env.NODE_ENV !== "production" && warn(`Attempting to mutate prop "${key}". Props are readonly.`);
5447
+ !!(process.env.NODE_ENV !== "production") && warn(`Attempting to mutate prop "${key}". Props are readonly.`);
5446
5448
  return false;
5447
5449
  }
5448
5450
  if (key[0] === "$" && key.slice(1) in instance) {
5449
- process.env.NODE_ENV !== "production" && warn(
5451
+ !!(process.env.NODE_ENV !== "production") && warn(
5450
5452
  `Attempting to mutate public property "${key}". Properties starting with $ are reserved and readonly.`
5451
5453
  );
5452
5454
  return false;
5453
5455
  } else {
5454
- if (process.env.NODE_ENV !== "production" && key in instance.appContext.config.globalProperties) {
5456
+ if (!!(process.env.NODE_ENV !== "production") && key in instance.appContext.config.globalProperties) {
5455
5457
  Object.defineProperty(ctx, key, {
5456
5458
  enumerable: true,
5457
5459
  configurable: true,
@@ -5478,7 +5480,7 @@ const PublicInstanceProxyHandlers = {
5478
5480
  return Reflect.defineProperty(target, key, descriptor);
5479
5481
  }
5480
5482
  };
5481
- if (process.env.NODE_ENV !== "production" && true) {
5483
+ if (!!(process.env.NODE_ENV !== "production") && true) {
5482
5484
  PublicInstanceProxyHandlers.ownKeys = (target) => {
5483
5485
  warn(
5484
5486
  `Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead.`
@@ -5498,7 +5500,7 @@ const RuntimeCompiledPublicInstanceProxyHandlers = /* @__PURE__ */ extend(
5498
5500
  },
5499
5501
  has(_, key) {
5500
5502
  const has = key[0] !== "_" && !isGloballyWhitelisted(key);
5501
- if (process.env.NODE_ENV !== "production" && !has && PublicInstanceProxyHandlers.has(_, key)) {
5503
+ if (!!(process.env.NODE_ENV !== "production") && !has && PublicInstanceProxyHandlers.has(_, key)) {
5502
5504
  warn(
5503
5505
  `Property ${JSON.stringify(
5504
5506
  key
@@ -5571,7 +5573,7 @@ function deepMergeData(to, from) {
5571
5573
  const toVal = to[key];
5572
5574
  const fromVal = from[key];
5573
5575
  if (key in to && isPlainObject(toVal) && isPlainObject(fromVal)) {
5574
- process.env.NODE_ENV !== "production" && warnDeprecation("OPTIONS_DATA_MERGE", null, key);
5576
+ !!(process.env.NODE_ENV !== "production") && warnDeprecation("OPTIONS_DATA_MERGE", null, key);
5575
5577
  deepMergeData(toVal, fromVal);
5576
5578
  } else {
5577
5579
  to[key] = fromVal;
@@ -5584,40 +5586,40 @@ const warnRuntimeUsage = (method) => warn(
5584
5586
  `${method}() is a compiler-hint helper that is only usable inside <script setup> of a single file component. Its arguments should be compiled away and passing it at runtime has no effect.`
5585
5587
  );
5586
5588
  function defineProps() {
5587
- if (process.env.NODE_ENV !== "production") {
5589
+ if (!!(process.env.NODE_ENV !== "production")) {
5588
5590
  warnRuntimeUsage(`defineProps`);
5589
5591
  }
5590
5592
  return null;
5591
5593
  }
5592
5594
  function defineEmits() {
5593
- if (process.env.NODE_ENV !== "production") {
5595
+ if (!!(process.env.NODE_ENV !== "production")) {
5594
5596
  warnRuntimeUsage(`defineEmits`);
5595
5597
  }
5596
5598
  return null;
5597
5599
  }
5598
5600
  function defineExpose(exposed) {
5599
- if (process.env.NODE_ENV !== "production") {
5601
+ if (!!(process.env.NODE_ENV !== "production")) {
5600
5602
  warnRuntimeUsage(`defineExpose`);
5601
5603
  }
5602
5604
  }
5603
5605
  function defineOptions(options) {
5604
- if (process.env.NODE_ENV !== "production") {
5606
+ if (!!(process.env.NODE_ENV !== "production")) {
5605
5607
  warnRuntimeUsage(`defineOptions`);
5606
5608
  }
5607
5609
  }
5608
5610
  function defineSlots() {
5609
- if (process.env.NODE_ENV !== "production") {
5611
+ if (!!(process.env.NODE_ENV !== "production")) {
5610
5612
  warnRuntimeUsage(`defineSlots`);
5611
5613
  }
5612
5614
  return null;
5613
5615
  }
5614
5616
  function defineModel() {
5615
- if (process.env.NODE_ENV !== "production") {
5617
+ if (!!(process.env.NODE_ENV !== "production")) {
5616
5618
  warnRuntimeUsage("defineModel");
5617
5619
  }
5618
5620
  }
5619
5621
  function withDefaults(props, defaults) {
5620
- if (process.env.NODE_ENV !== "production") {
5622
+ if (!!(process.env.NODE_ENV !== "production")) {
5621
5623
  warnRuntimeUsage(`withDefaults`);
5622
5624
  }
5623
5625
  return null;
@@ -5630,11 +5632,11 @@ function useAttrs() {
5630
5632
  }
5631
5633
  function useModel(props, name, options) {
5632
5634
  const i = getCurrentInstance();
5633
- if (process.env.NODE_ENV !== "production" && !i) {
5635
+ if (!!(process.env.NODE_ENV !== "production") && !i) {
5634
5636
  warn(`useModel() called without active instance.`);
5635
5637
  return ref();
5636
5638
  }
5637
- if (process.env.NODE_ENV !== "production" && !i.propsOptions[0][name]) {
5639
+ if (!!(process.env.NODE_ENV !== "production") && !i.propsOptions[0][name]) {
5638
5640
  warn(`useModel() called with prop "${name}" which is not declared.`);
5639
5641
  return ref();
5640
5642
  }
@@ -5664,7 +5666,7 @@ function useModel(props, name, options) {
5664
5666
  }
5665
5667
  function getContext() {
5666
5668
  const i = getCurrentInstance();
5667
- if (process.env.NODE_ENV !== "production" && !i) {
5669
+ if (!!(process.env.NODE_ENV !== "production") && !i) {
5668
5670
  warn(`useContext() called without active instance.`);
5669
5671
  }
5670
5672
  return i.setupContext || (i.setupContext = createSetupContext(i));
@@ -5689,7 +5691,7 @@ function mergeDefaults(raw, defaults) {
5689
5691
  }
5690
5692
  } else if (opt === null) {
5691
5693
  opt = props[key] = { default: defaults[key] };
5692
- } else if (process.env.NODE_ENV !== "production") {
5694
+ } else if (!!(process.env.NODE_ENV !== "production")) {
5693
5695
  warn(`props default key "${key}" has no corresponding declaration.`);
5694
5696
  }
5695
5697
  if (opt && defaults[`__skip_${key}`]) {
@@ -5719,7 +5721,7 @@ function createPropsRestProxy(props, excludedKeys) {
5719
5721
  }
5720
5722
  function withAsyncContext(getAwaitable) {
5721
5723
  const ctx = getCurrentInstance();
5722
- if (process.env.NODE_ENV !== "production" && !ctx) {
5724
+ if (!!(process.env.NODE_ENV !== "production") && !ctx) {
5723
5725
  warn(
5724
5726
  `withAsyncContext called without active current instance. This is likely a bug.`
5725
5727
  );
@@ -5787,8 +5789,8 @@ function applyOptions(instance) {
5787
5789
  directives,
5788
5790
  filters
5789
5791
  } = options;
5790
- const checkDuplicateProperties = process.env.NODE_ENV !== "production" ? createDuplicateChecker() : null;
5791
- if (process.env.NODE_ENV !== "production") {
5792
+ const checkDuplicateProperties = !!(process.env.NODE_ENV !== "production") ? createDuplicateChecker() : null;
5793
+ if (!!(process.env.NODE_ENV !== "production")) {
5792
5794
  const [propsOptions] = instance.propsOptions;
5793
5795
  if (propsOptions) {
5794
5796
  for (const key in propsOptions) {
@@ -5803,7 +5805,7 @@ function applyOptions(instance) {
5803
5805
  for (const key in methods) {
5804
5806
  const methodHandler = methods[key];
5805
5807
  if (isFunction(methodHandler)) {
5806
- if (process.env.NODE_ENV !== "production") {
5808
+ if (!!(process.env.NODE_ENV !== "production")) {
5807
5809
  Object.defineProperty(ctx, key, {
5808
5810
  value: methodHandler.bind(publicThis),
5809
5811
  configurable: true,
@@ -5813,10 +5815,10 @@ function applyOptions(instance) {
5813
5815
  } else {
5814
5816
  ctx[key] = methodHandler.bind(publicThis);
5815
5817
  }
5816
- if (process.env.NODE_ENV !== "production") {
5818
+ if (!!(process.env.NODE_ENV !== "production")) {
5817
5819
  checkDuplicateProperties("Methods" /* METHODS */, key);
5818
5820
  }
5819
- } else if (process.env.NODE_ENV !== "production") {
5821
+ } else if (!!(process.env.NODE_ENV !== "production")) {
5820
5822
  warn(
5821
5823
  `Method "${key}" has type "${typeof methodHandler}" in the component definition. Did you reference the function correctly?`
5822
5824
  );
@@ -5824,22 +5826,22 @@ function applyOptions(instance) {
5824
5826
  }
5825
5827
  }
5826
5828
  if (dataOptions) {
5827
- if (process.env.NODE_ENV !== "production" && !isFunction(dataOptions)) {
5829
+ if (!!(process.env.NODE_ENV !== "production") && !isFunction(dataOptions)) {
5828
5830
  warn(
5829
5831
  `The data option must be a function. Plain object usage is no longer supported.`
5830
5832
  );
5831
5833
  }
5832
5834
  const data = dataOptions.call(publicThis, publicThis);
5833
- if (process.env.NODE_ENV !== "production" && isPromise(data)) {
5835
+ if (!!(process.env.NODE_ENV !== "production") && isPromise(data)) {
5834
5836
  warn(
5835
5837
  `data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>.`
5836
5838
  );
5837
5839
  }
5838
5840
  if (!isObject(data)) {
5839
- process.env.NODE_ENV !== "production" && warn(`data() should return an object.`);
5841
+ !!(process.env.NODE_ENV !== "production") && warn(`data() should return an object.`);
5840
5842
  } else {
5841
5843
  instance.data = reactive(data);
5842
- if (process.env.NODE_ENV !== "production") {
5844
+ if (!!(process.env.NODE_ENV !== "production")) {
5843
5845
  for (const key in data) {
5844
5846
  checkDuplicateProperties("Data" /* DATA */, key);
5845
5847
  if (!isReservedPrefix(key[0])) {
@@ -5859,10 +5861,10 @@ function applyOptions(instance) {
5859
5861
  for (const key in computedOptions) {
5860
5862
  const opt = computedOptions[key];
5861
5863
  const get = isFunction(opt) ? opt.bind(publicThis, publicThis) : isFunction(opt.get) ? opt.get.bind(publicThis, publicThis) : NOOP;
5862
- if (process.env.NODE_ENV !== "production" && get === NOOP) {
5864
+ if (!!(process.env.NODE_ENV !== "production") && get === NOOP) {
5863
5865
  warn(`Computed property "${key}" has no getter.`);
5864
5866
  }
5865
- const set = !isFunction(opt) && isFunction(opt.set) ? opt.set.bind(publicThis) : process.env.NODE_ENV !== "production" ? () => {
5867
+ const set = !isFunction(opt) && isFunction(opt.set) ? opt.set.bind(publicThis) : !!(process.env.NODE_ENV !== "production") ? () => {
5866
5868
  warn(
5867
5869
  `Write operation failed: computed property "${key}" is readonly.`
5868
5870
  );
@@ -5877,7 +5879,7 @@ function applyOptions(instance) {
5877
5879
  get: () => c.value,
5878
5880
  set: (v) => c.value = v
5879
5881
  });
5880
- if (process.env.NODE_ENV !== "production") {
5882
+ if (!!(process.env.NODE_ENV !== "production")) {
5881
5883
  checkDuplicateProperties("Computed" /* COMPUTED */, key);
5882
5884
  }
5883
5885
  }
@@ -5981,7 +5983,7 @@ function resolveInjections(injectOptions, ctx, checkDuplicateProperties = NOOP)
5981
5983
  } else {
5982
5984
  ctx[key] = injected;
5983
5985
  }
5984
- if (process.env.NODE_ENV !== "production") {
5986
+ if (!!(process.env.NODE_ENV !== "production")) {
5985
5987
  checkDuplicateProperties("Inject" /* INJECT */, key);
5986
5988
  }
5987
5989
  }
@@ -5999,7 +6001,7 @@ function createWatcher(raw, ctx, publicThis, key) {
5999
6001
  const handler = ctx[raw];
6000
6002
  if (isFunction(handler)) {
6001
6003
  watch(getter, handler);
6002
- } else if (process.env.NODE_ENV !== "production") {
6004
+ } else if (!!(process.env.NODE_ENV !== "production")) {
6003
6005
  warn(`Invalid watch handler specified by key "${raw}"`, handler);
6004
6006
  }
6005
6007
  } else if (isFunction(raw)) {
@@ -6011,11 +6013,11 @@ function createWatcher(raw, ctx, publicThis, key) {
6011
6013
  const handler = isFunction(raw.handler) ? raw.handler.bind(publicThis) : ctx[raw.handler];
6012
6014
  if (isFunction(handler)) {
6013
6015
  watch(getter, handler, raw);
6014
- } else if (process.env.NODE_ENV !== "production") {
6016
+ } else if (!!(process.env.NODE_ENV !== "production")) {
6015
6017
  warn(`Invalid watch handler specified by key "${raw.handler}"`, handler);
6016
6018
  }
6017
6019
  }
6018
- } else if (process.env.NODE_ENV !== "production") {
6020
+ } else if (!!(process.env.NODE_ENV !== "production")) {
6019
6021
  warn(`Invalid watch option: "${key}"`, raw);
6020
6022
  }
6021
6023
  }
@@ -6068,7 +6070,7 @@ function mergeOptions(to, from, strats, asMixin = false) {
6068
6070
  }
6069
6071
  for (const key in from) {
6070
6072
  if (asMixin && key === "expose") {
6071
- process.env.NODE_ENV !== "production" && warn(
6073
+ !!(process.env.NODE_ENV !== "production") && warn(
6072
6074
  `"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.`
6073
6075
  );
6074
6076
  } else {
@@ -6236,7 +6238,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
6236
6238
  return vm;
6237
6239
  }
6238
6240
  }
6239
- Vue.version = `2.6.14-compat:${"3.3.3"}`;
6241
+ Vue.version = `2.6.14-compat:${"3.3.4"}`;
6240
6242
  Vue.config = singletonApp.config;
6241
6243
  Vue.use = (p, ...options) => {
6242
6244
  if (p && isFunction(p.install)) {
@@ -6337,7 +6339,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
6337
6339
  }
6338
6340
  };
6339
6341
  const util = {
6340
- warn: process.env.NODE_ENV !== "production" ? warn : NOOP,
6342
+ warn: !!(process.env.NODE_ENV !== "production") ? warn : NOOP,
6341
6343
  extend,
6342
6344
  mergeOptions: (parent, child, vm) => mergeOptions(
6343
6345
  parent,
@@ -6364,7 +6366,7 @@ function installAppCompatProperties(app, context, render) {
6364
6366
  installCompatMount(app, context, render);
6365
6367
  installLegacyAPIs(app);
6366
6368
  applySingletonAppMutations(app);
6367
- if (process.env.NODE_ENV !== "production")
6369
+ if (!!(process.env.NODE_ENV !== "production"))
6368
6370
  installLegacyConfigWarnings(app.config);
6369
6371
  }
6370
6372
  function installFilterMethod(app, context) {
@@ -6374,7 +6376,7 @@ function installFilterMethod(app, context) {
6374
6376
  if (!filter) {
6375
6377
  return context.filters[name];
6376
6378
  }
6377
- if (process.env.NODE_ENV !== "production" && context.filters[name]) {
6379
+ if (!!(process.env.NODE_ENV !== "production") && context.filters[name]) {
6378
6380
  warn(`Filter "${name}" has already been registered.`);
6379
6381
  }
6380
6382
  context.filters[name] = filter;
@@ -6386,7 +6388,7 @@ function installLegacyAPIs(app) {
6386
6388
  // so that app.use() can work with legacy plugins that extend prototypes
6387
6389
  prototype: {
6388
6390
  get() {
6389
- process.env.NODE_ENV !== "production" && warnDeprecation("GLOBAL_PROTOTYPE", null);
6391
+ !!(process.env.NODE_ENV !== "production") && warnDeprecation("GLOBAL_PROTOTYPE", null);
6390
6392
  return app.config.globalProperties;
6391
6393
  }
6392
6394
  },
@@ -6444,7 +6446,7 @@ function applySingletonPrototype(app, Ctor) {
6444
6446
  }
6445
6447
  }
6446
6448
  }
6447
- if (process.env.NODE_ENV !== "production" && hasPrototypeAugmentations) {
6449
+ if (!!(process.env.NODE_ENV !== "production") && hasPrototypeAugmentations) {
6448
6450
  warnDeprecation("GLOBAL_PROTOTYPE", null);
6449
6451
  }
6450
6452
  }
@@ -6466,14 +6468,14 @@ function installCompatMount(app, context, render) {
6466
6468
  vnode.isCompatRoot = true;
6467
6469
  instance.ctx._compat_mount = (selectorOrEl) => {
6468
6470
  if (isMounted) {
6469
- process.env.NODE_ENV !== "production" && warn(`Root instance is already mounted.`);
6471
+ !!(process.env.NODE_ENV !== "production") && warn(`Root instance is already mounted.`);
6470
6472
  return;
6471
6473
  }
6472
6474
  let container;
6473
6475
  if (typeof selectorOrEl === "string") {
6474
6476
  const result = document.querySelector(selectorOrEl);
6475
6477
  if (!result) {
6476
- process.env.NODE_ENV !== "production" && warn(
6478
+ !!(process.env.NODE_ENV !== "production") && warn(
6477
6479
  `Failed to mount root instance: selector "${selectorOrEl}" returned null.`
6478
6480
  );
6479
6481
  return;
@@ -6483,7 +6485,7 @@ function installCompatMount(app, context, render) {
6483
6485
  container = selectorOrEl || document.createElement("div");
6484
6486
  }
6485
6487
  const isSVG = container instanceof SVGElement;
6486
- if (process.env.NODE_ENV !== "production") {
6488
+ if (!!(process.env.NODE_ENV !== "production")) {
6487
6489
  context.reload = () => {
6488
6490
  const cloned = cloneVNode(vnode);
6489
6491
  cloned.component = null;
@@ -6491,7 +6493,7 @@ function installCompatMount(app, context, render) {
6491
6493
  };
6492
6494
  }
6493
6495
  if (hasNoRender && instance.render === emptyRender) {
6494
- if (process.env.NODE_ENV !== "production") {
6496
+ if (!!(process.env.NODE_ENV !== "production")) {
6495
6497
  for (let i = 0; i < container.attributes.length; i++) {
6496
6498
  const attr = container.attributes[i];
6497
6499
  if (attr.name !== "v-cloak" && /^(v-|:|@)/.test(attr.name)) {
@@ -6518,7 +6520,7 @@ function installCompatMount(app, context, render) {
6518
6520
  isMounted = true;
6519
6521
  app._container = container;
6520
6522
  container.__vue_app__ = app;
6521
- if (process.env.NODE_ENV !== "production" || __VUE_PROD_DEVTOOLS__) {
6523
+ if (!!(process.env.NODE_ENV !== "production") || __VUE_PROD_DEVTOOLS__) {
6522
6524
  devtoolsInitApp(app, version);
6523
6525
  }
6524
6526
  return instance.proxy;
@@ -6526,7 +6528,7 @@ function installCompatMount(app, context, render) {
6526
6528
  instance.ctx._compat_destroy = () => {
6527
6529
  if (isMounted) {
6528
6530
  render(null, app._container);
6529
- if (process.env.NODE_ENV !== "production" || __VUE_PROD_DEVTOOLS__) {
6531
+ if (!!(process.env.NODE_ENV !== "production") || __VUE_PROD_DEVTOOLS__) {
6530
6532
  devtoolsUnmountApp(app);
6531
6533
  }
6532
6534
  delete app._container.__vue_app__;
@@ -6634,11 +6636,11 @@ function createAppAPI(render, hydrate) {
6634
6636
  rootComponent = extend({}, rootComponent);
6635
6637
  }
6636
6638
  if (rootProps != null && !isObject(rootProps)) {
6637
- process.env.NODE_ENV !== "production" && warn(`root props passed to app.mount() must be an object.`);
6639
+ !!(process.env.NODE_ENV !== "production") && warn(`root props passed to app.mount() must be an object.`);
6638
6640
  rootProps = null;
6639
6641
  }
6640
6642
  const context = createAppContext();
6641
- if (process.env.NODE_ENV !== "production") {
6643
+ if (!!(process.env.NODE_ENV !== "production")) {
6642
6644
  Object.defineProperty(context.config, "unwrapInjectedRef", {
6643
6645
  get() {
6644
6646
  return true;
@@ -6664,7 +6666,7 @@ function createAppAPI(render, hydrate) {
6664
6666
  return context.config;
6665
6667
  },
6666
6668
  set config(v) {
6667
- if (process.env.NODE_ENV !== "production") {
6669
+ if (!!(process.env.NODE_ENV !== "production")) {
6668
6670
  warn(
6669
6671
  `app.config cannot be replaced. Modify individual options instead.`
6670
6672
  );
@@ -6672,14 +6674,14 @@ function createAppAPI(render, hydrate) {
6672
6674
  },
6673
6675
  use(plugin, ...options) {
6674
6676
  if (installedPlugins.has(plugin)) {
6675
- process.env.NODE_ENV !== "production" && warn(`Plugin has already been applied to target app.`);
6677
+ !!(process.env.NODE_ENV !== "production") && warn(`Plugin has already been applied to target app.`);
6676
6678
  } else if (plugin && isFunction(plugin.install)) {
6677
6679
  installedPlugins.add(plugin);
6678
6680
  plugin.install(app, ...options);
6679
6681
  } else if (isFunction(plugin)) {
6680
6682
  installedPlugins.add(plugin);
6681
6683
  plugin(app, ...options);
6682
- } else if (process.env.NODE_ENV !== "production") {
6684
+ } else if (!!(process.env.NODE_ENV !== "production")) {
6683
6685
  warn(
6684
6686
  `A plugin must either be a function or an object with an "install" function.`
6685
6687
  );
@@ -6690,37 +6692,37 @@ function createAppAPI(render, hydrate) {
6690
6692
  if (__VUE_OPTIONS_API__) {
6691
6693
  if (!context.mixins.includes(mixin)) {
6692
6694
  context.mixins.push(mixin);
6693
- } else if (process.env.NODE_ENV !== "production") {
6695
+ } else if (!!(process.env.NODE_ENV !== "production")) {
6694
6696
  warn(
6695
6697
  "Mixin has already been applied to target app" + (mixin.name ? `: ${mixin.name}` : "")
6696
6698
  );
6697
6699
  }
6698
- } else if (process.env.NODE_ENV !== "production") {
6700
+ } else if (!!(process.env.NODE_ENV !== "production")) {
6699
6701
  warn("Mixins are only available in builds supporting Options API");
6700
6702
  }
6701
6703
  return app;
6702
6704
  },
6703
6705
  component(name, component) {
6704
- if (process.env.NODE_ENV !== "production") {
6706
+ if (!!(process.env.NODE_ENV !== "production")) {
6705
6707
  validateComponentName(name, context.config);
6706
6708
  }
6707
6709
  if (!component) {
6708
6710
  return context.components[name];
6709
6711
  }
6710
- if (process.env.NODE_ENV !== "production" && context.components[name]) {
6712
+ if (!!(process.env.NODE_ENV !== "production") && context.components[name]) {
6711
6713
  warn(`Component "${name}" has already been registered in target app.`);
6712
6714
  }
6713
6715
  context.components[name] = component;
6714
6716
  return app;
6715
6717
  },
6716
6718
  directive(name, directive) {
6717
- if (process.env.NODE_ENV !== "production") {
6719
+ if (!!(process.env.NODE_ENV !== "production")) {
6718
6720
  validateDirectiveName(name);
6719
6721
  }
6720
6722
  if (!directive) {
6721
6723
  return context.directives[name];
6722
6724
  }
6723
- if (process.env.NODE_ENV !== "production" && context.directives[name]) {
6725
+ if (!!(process.env.NODE_ENV !== "production") && context.directives[name]) {
6724
6726
  warn(`Directive "${name}" has already been registered in target app.`);
6725
6727
  }
6726
6728
  context.directives[name] = directive;
@@ -6728,7 +6730,7 @@ function createAppAPI(render, hydrate) {
6728
6730
  },
6729
6731
  mount(rootContainer, isHydrate, isSVG) {
6730
6732
  if (!isMounted) {
6731
- if (process.env.NODE_ENV !== "production" && rootContainer.__vue_app__) {
6733
+ if (!!(process.env.NODE_ENV !== "production") && rootContainer.__vue_app__) {
6732
6734
  warn(
6733
6735
  `There is already an app instance mounted on the host container.
6734
6736
  If you want to mount another app on the same host container, you need to unmount the previous app by calling \`app.unmount()\` first.`
@@ -6739,7 +6741,7 @@ function createAppAPI(render, hydrate) {
6739
6741
  rootProps
6740
6742
  );
6741
6743
  vnode.appContext = context;
6742
- if (process.env.NODE_ENV !== "production") {
6744
+ if (!!(process.env.NODE_ENV !== "production")) {
6743
6745
  context.reload = () => {
6744
6746
  render(cloneVNode(vnode), rootContainer, isSVG);
6745
6747
  };
@@ -6752,12 +6754,12 @@ function createAppAPI(render, hydrate) {
6752
6754
  isMounted = true;
6753
6755
  app._container = rootContainer;
6754
6756
  rootContainer.__vue_app__ = app;
6755
- if (process.env.NODE_ENV !== "production" || __VUE_PROD_DEVTOOLS__) {
6757
+ if (!!(process.env.NODE_ENV !== "production") || __VUE_PROD_DEVTOOLS__) {
6756
6758
  app._instance = vnode.component;
6757
6759
  devtoolsInitApp(app, version);
6758
6760
  }
6759
6761
  return getExposeProxy(vnode.component) || vnode.component.proxy;
6760
- } else if (process.env.NODE_ENV !== "production") {
6762
+ } else if (!!(process.env.NODE_ENV !== "production")) {
6761
6763
  warn(
6762
6764
  `App has already been mounted.
6763
6765
  If you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. \`const createMyApp = () => createApp(App)\``
@@ -6767,17 +6769,17 @@ If you want to remount the same app, move your app creation logic into a factory
6767
6769
  unmount() {
6768
6770
  if (isMounted) {
6769
6771
  render(null, app._container);
6770
- if (process.env.NODE_ENV !== "production" || __VUE_PROD_DEVTOOLS__) {
6772
+ if (!!(process.env.NODE_ENV !== "production") || __VUE_PROD_DEVTOOLS__) {
6771
6773
  app._instance = null;
6772
6774
  devtoolsUnmountApp(app);
6773
6775
  }
6774
6776
  delete app._container.__vue_app__;
6775
- } else if (process.env.NODE_ENV !== "production") {
6777
+ } else if (!!(process.env.NODE_ENV !== "production")) {
6776
6778
  warn(`Cannot unmount an app that is not mounted.`);
6777
6779
  }
6778
6780
  },
6779
6781
  provide(key, value) {
6780
- if (process.env.NODE_ENV !== "production" && key in context.provides) {
6782
+ if (!!(process.env.NODE_ENV !== "production") && key in context.provides) {
6781
6783
  warn(
6782
6784
  `App already provides property with key "${String(key)}". It will be overwritten with the new value.`
6783
6785
  );
@@ -6804,7 +6806,7 @@ let currentApp = null;
6804
6806
 
6805
6807
  function provide(key, value) {
6806
6808
  if (!currentInstance) {
6807
- if (process.env.NODE_ENV !== "production") {
6809
+ if (!!(process.env.NODE_ENV !== "production")) {
6808
6810
  warn(`provide() can only be used inside setup().`);
6809
6811
  }
6810
6812
  } else {
@@ -6824,10 +6826,10 @@ function inject(key, defaultValue, treatDefaultAsFactory = false) {
6824
6826
  return provides[key];
6825
6827
  } else if (arguments.length > 1) {
6826
6828
  return treatDefaultAsFactory && isFunction(defaultValue) ? defaultValue.call(instance && instance.proxy) : defaultValue;
6827
- } else if (process.env.NODE_ENV !== "production") {
6829
+ } else if (!!(process.env.NODE_ENV !== "production")) {
6828
6830
  warn(`injection "${String(key)}" not found.`);
6829
6831
  }
6830
- } else if (process.env.NODE_ENV !== "production") {
6832
+ } else if (!!(process.env.NODE_ENV !== "production")) {
6831
6833
  warn(`inject() can only be used inside setup() or functional components.`);
6832
6834
  }
6833
6835
  }
@@ -6840,7 +6842,7 @@ function createPropsDefaultThis(instance, rawProps, propKey) {
6840
6842
  {},
6841
6843
  {
6842
6844
  get(_, key) {
6843
- process.env.NODE_ENV !== "production" && warnDeprecation("PROPS_DEFAULT_THIS", null, propKey);
6845
+ !!(process.env.NODE_ENV !== "production") && warnDeprecation("PROPS_DEFAULT_THIS", null, propKey);
6844
6846
  if (key === "$options") {
6845
6847
  return resolveMergedOptions(instance);
6846
6848
  }
@@ -6889,7 +6891,7 @@ function initProps(instance, rawProps, isStateful, isSSR = false) {
6889
6891
  props[key] = void 0;
6890
6892
  }
6891
6893
  }
6892
- if (process.env.NODE_ENV !== "production") {
6894
+ if (!!(process.env.NODE_ENV !== "production")) {
6893
6895
  validateProps(rawProps || {}, props, instance);
6894
6896
  }
6895
6897
  if (isStateful) {
@@ -6923,7 +6925,7 @@ function updateProps(instance, rawProps, rawPrevProps, optimized) {
6923
6925
  // always force full diff in dev
6924
6926
  // - #1942 if hmr is enabled with sfc component
6925
6927
  // - vite#872 non-sfc component used by sfc component
6926
- !(process.env.NODE_ENV !== "production" && isInHmrContext(instance)) && (optimized || patchFlag > 0) && !(patchFlag & 16)
6928
+ !(!!(process.env.NODE_ENV !== "production") && isInHmrContext(instance)) && (optimized || patchFlag > 0) && !(patchFlag & 16)
6927
6929
  ) {
6928
6930
  if (patchFlag & 8) {
6929
6931
  const propsToUpdate = instance.vnode.dynamicProps;
@@ -7007,7 +7009,7 @@ function updateProps(instance, rawProps, rawPrevProps, optimized) {
7007
7009
  if (hasAttrsChanged) {
7008
7010
  trigger(instance, "set", "$attrs");
7009
7011
  }
7010
- if (process.env.NODE_ENV !== "production") {
7012
+ if (!!(process.env.NODE_ENV !== "production")) {
7011
7013
  validateProps(rawProps || {}, props, instance);
7012
7014
  }
7013
7015
  }
@@ -7143,7 +7145,7 @@ function normalizePropsOptions(comp, appContext, asMixin = false) {
7143
7145
  }
7144
7146
  if (isArray(raw)) {
7145
7147
  for (let i = 0; i < raw.length; i++) {
7146
- if (process.env.NODE_ENV !== "production" && !isString(raw[i])) {
7148
+ if (!!(process.env.NODE_ENV !== "production") && !isString(raw[i])) {
7147
7149
  warn(`props must be strings when using array syntax.`, raw[i]);
7148
7150
  }
7149
7151
  const normalizedKey = camelize(raw[i]);
@@ -7152,7 +7154,7 @@ function normalizePropsOptions(comp, appContext, asMixin = false) {
7152
7154
  }
7153
7155
  }
7154
7156
  } else if (raw) {
7155
- if (process.env.NODE_ENV !== "production" && !isObject(raw)) {
7157
+ if (!!(process.env.NODE_ENV !== "production") && !isObject(raw)) {
7156
7158
  warn(`invalid props options`, raw);
7157
7159
  }
7158
7160
  for (const key in raw) {
@@ -7181,7 +7183,7 @@ function normalizePropsOptions(comp, appContext, asMixin = false) {
7181
7183
  function validatePropName(key) {
7182
7184
  if (key[0] !== "$") {
7183
7185
  return true;
7184
- } else if (process.env.NODE_ENV !== "production") {
7186
+ } else if (!!(process.env.NODE_ENV !== "production")) {
7185
7187
  warn(`Invalid prop name: "${key}" is a reserved property.`);
7186
7188
  }
7187
7189
  return false;
@@ -7308,7 +7310,7 @@ const normalizeSlot = (key, rawSlot, ctx) => {
7308
7310
  return rawSlot;
7309
7311
  }
7310
7312
  const normalized = withCtx((...args) => {
7311
- if (process.env.NODE_ENV !== "production" && currentInstance) {
7313
+ if (!!(process.env.NODE_ENV !== "production") && currentInstance) {
7312
7314
  warn(
7313
7315
  `Slot "${key}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`
7314
7316
  );
@@ -7327,7 +7329,7 @@ const normalizeObjectSlots = (rawSlots, slots, instance) => {
7327
7329
  if (isFunction(value)) {
7328
7330
  slots[key] = normalizeSlot(key, value, ctx);
7329
7331
  } else if (value != null) {
7330
- if (process.env.NODE_ENV !== "production" && !isCompatEnabled("RENDER_FUNCTION", instance)) {
7332
+ if (!!(process.env.NODE_ENV !== "production") && !isCompatEnabled("RENDER_FUNCTION", instance)) {
7331
7333
  warn(
7332
7334
  `Non-function value encountered for slot "${key}". Prefer function slots for better performance.`
7333
7335
  );
@@ -7338,7 +7340,7 @@ const normalizeObjectSlots = (rawSlots, slots, instance) => {
7338
7340
  }
7339
7341
  };
7340
7342
  const normalizeVNodeSlots = (instance, children) => {
7341
- if (process.env.NODE_ENV !== "production" && !isKeepAlive(instance.vnode) && !isCompatEnabled("RENDER_FUNCTION", instance)) {
7343
+ if (!!(process.env.NODE_ENV !== "production") && !isKeepAlive(instance.vnode) && !isCompatEnabled("RENDER_FUNCTION", instance)) {
7342
7344
  warn(
7343
7345
  `Non-function value encountered for default slot. Prefer function slots for better performance.`
7344
7346
  );
@@ -7374,7 +7376,7 @@ const updateSlots = (instance, children, optimized) => {
7374
7376
  if (vnode.shapeFlag & 32) {
7375
7377
  const type = children._;
7376
7378
  if (type) {
7377
- if (process.env.NODE_ENV !== "production" && isHmrUpdating) {
7379
+ if (!!(process.env.NODE_ENV !== "production") && isHmrUpdating) {
7378
7380
  extend(slots, children);
7379
7381
  trigger(instance, "set", "$slots");
7380
7382
  } else if (optimized && type === 1) {
@@ -7422,7 +7424,7 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
7422
7424
  const refValue = vnode.shapeFlag & 4 ? getExposeProxy(vnode.component) || vnode.component.proxy : vnode.el;
7423
7425
  const value = isUnmount ? null : refValue;
7424
7426
  const { i: owner, r: ref } = rawRef;
7425
- if (process.env.NODE_ENV !== "production" && !owner) {
7427
+ if (!!(process.env.NODE_ENV !== "production") && !owner) {
7426
7428
  warn(
7427
7429
  `Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.`
7428
7430
  );
@@ -7477,7 +7479,7 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
7477
7479
  ref.value = value;
7478
7480
  if (rawRef.k)
7479
7481
  refs[rawRef.k] = value;
7480
- } else if (process.env.NODE_ENV !== "production") {
7482
+ } else if (!!(process.env.NODE_ENV !== "production")) {
7481
7483
  warn("Invalid template ref type:", ref, `(${typeof ref})`);
7482
7484
  }
7483
7485
  };
@@ -7487,7 +7489,7 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
7487
7489
  } else {
7488
7490
  doSet();
7489
7491
  }
7490
- } else if (process.env.NODE_ENV !== "production") {
7492
+ } else if (!!(process.env.NODE_ENV !== "production")) {
7491
7493
  warn("Invalid template ref type:", ref, `(${typeof ref})`);
7492
7494
  }
7493
7495
  }
@@ -7512,7 +7514,7 @@ function createHydrationFunctions(rendererInternals) {
7512
7514
  } = rendererInternals;
7513
7515
  const hydrate = (vnode, container) => {
7514
7516
  if (!container.hasChildNodes()) {
7515
- process.env.NODE_ENV !== "production" && warn(
7517
+ !!(process.env.NODE_ENV !== "production") && warn(
7516
7518
  `Attempting to hydrate existing markup but container is empty. Performing full mount instead.`
7517
7519
  );
7518
7520
  patch(null, vnode, container);
@@ -7557,7 +7559,8 @@ function createHydrationFunctions(rendererInternals) {
7557
7559
  }
7558
7560
  } else {
7559
7561
  if (node.data !== vnode.children) {
7560
- hasMismatch = true(process.env.NODE_ENV !== "production") && warn(
7562
+ hasMismatch = true;
7563
+ !!(process.env.NODE_ENV !== "production") && warn(
7561
7564
  `Hydration text mismatch:
7562
7565
  - Client: ${JSON.stringify(node.data)}
7563
7566
  - Server: ${JSON.stringify(vnode.children)}`
@@ -7677,7 +7680,7 @@ function createHydrationFunctions(rendererInternals) {
7677
7680
  rendererInternals,
7678
7681
  hydrateNode
7679
7682
  );
7680
- } else if (process.env.NODE_ENV !== "production") {
7683
+ } else if (!!(process.env.NODE_ENV !== "production")) {
7681
7684
  warn("Invalid HostVNode type:", type, `(${typeof type})`);
7682
7685
  }
7683
7686
  }
@@ -7690,7 +7693,7 @@ function createHydrationFunctions(rendererInternals) {
7690
7693
  optimized = optimized || !!vnode.dynamicChildren;
7691
7694
  const { type, props, patchFlag, shapeFlag, dirs } = vnode;
7692
7695
  const forcePatchValue = type === "input" && dirs || type === "option";
7693
- if (process.env.NODE_ENV !== "production" || forcePatchValue || patchFlag !== -1) {
7696
+ if (!!(process.env.NODE_ENV !== "production") || forcePatchValue || patchFlag !== -1) {
7694
7697
  if (dirs) {
7695
7698
  invokeDirectiveHook(vnode, null, parentComponent, "created");
7696
7699
  }
@@ -7748,7 +7751,7 @@ function createHydrationFunctions(rendererInternals) {
7748
7751
  let hasWarned = false;
7749
7752
  while (next) {
7750
7753
  hasMismatch = true;
7751
- if (process.env.NODE_ENV !== "production" && !hasWarned) {
7754
+ if (!!(process.env.NODE_ENV !== "production") && !hasWarned) {
7752
7755
  warn(
7753
7756
  `Hydration children mismatch in <${vnode.type}>: server rendered element contains more child nodes than client vdom.`
7754
7757
  );
@@ -7760,7 +7763,8 @@ function createHydrationFunctions(rendererInternals) {
7760
7763
  }
7761
7764
  } else if (shapeFlag & 8) {
7762
7765
  if (el.textContent !== vnode.children) {
7763
- hasMismatch = true(process.env.NODE_ENV !== "production") && warn(
7766
+ hasMismatch = true;
7767
+ !!(process.env.NODE_ENV !== "production") && warn(
7764
7768
  `Hydration text content mismatch in <${vnode.type}>:
7765
7769
  - Client: ${el.textContent}
7766
7770
  - Server: ${vnode.children}`
@@ -7791,7 +7795,7 @@ function createHydrationFunctions(rendererInternals) {
7791
7795
  continue;
7792
7796
  } else {
7793
7797
  hasMismatch = true;
7794
- if (process.env.NODE_ENV !== "production" && !hasWarned) {
7798
+ if (!!(process.env.NODE_ENV !== "production") && !hasWarned) {
7795
7799
  warn(
7796
7800
  `Hydration children mismatch in <${container.tagName.toLowerCase()}>: server rendered element contains fewer child nodes than client vdom.`
7797
7801
  );
@@ -7835,7 +7839,8 @@ function createHydrationFunctions(rendererInternals) {
7835
7839
  }
7836
7840
  };
7837
7841
  const handleMismatch = (node, vnode, parentComponent, parentSuspense, slotScopeIds, isFragment) => {
7838
- hasMismatch = true(process.env.NODE_ENV !== "production") && warn(
7842
+ hasMismatch = true;
7843
+ !!(process.env.NODE_ENV !== "production") && warn(
7839
7844
  `Hydration node mismatch:
7840
7845
  - Client vnode:`,
7841
7846
  vnode.type,
@@ -7898,7 +7903,7 @@ function startMeasure(instance, type) {
7898
7903
  if (instance.appContext.config.performance && isSupported()) {
7899
7904
  perf.mark(`vue-${type}-${instance.uid}`);
7900
7905
  }
7901
- if (process.env.NODE_ENV !== "production" || __VUE_PROD_DEVTOOLS__) {
7906
+ if (!!(process.env.NODE_ENV !== "production") || __VUE_PROD_DEVTOOLS__) {
7902
7907
  devtoolsPerfStart(instance, type, isSupported() ? perf.now() : Date.now());
7903
7908
  }
7904
7909
  }
@@ -7915,7 +7920,7 @@ function endMeasure(instance, type) {
7915
7920
  perf.clearMarks(startTag);
7916
7921
  perf.clearMarks(endTag);
7917
7922
  }
7918
- if (process.env.NODE_ENV !== "production" || __VUE_PROD_DEVTOOLS__) {
7923
+ if (!!(process.env.NODE_ENV !== "production") || __VUE_PROD_DEVTOOLS__) {
7919
7924
  devtoolsPerfEnd(instance, type, isSupported() ? perf.now() : Date.now());
7920
7925
  }
7921
7926
  }
@@ -7935,14 +7940,14 @@ function isSupported() {
7935
7940
  function initFeatureFlags() {
7936
7941
  const needWarn = [];
7937
7942
  if (typeof __VUE_OPTIONS_API__ !== "boolean") {
7938
- process.env.NODE_ENV !== "production" && needWarn.push(`__VUE_OPTIONS_API__`);
7943
+ !!(process.env.NODE_ENV !== "production") && needWarn.push(`__VUE_OPTIONS_API__`);
7939
7944
  getGlobalThis().__VUE_OPTIONS_API__ = true;
7940
7945
  }
7941
7946
  if (typeof __VUE_PROD_DEVTOOLS__ !== "boolean") {
7942
- process.env.NODE_ENV !== "production" && needWarn.push(`__VUE_PROD_DEVTOOLS__`);
7947
+ !!(process.env.NODE_ENV !== "production") && needWarn.push(`__VUE_PROD_DEVTOOLS__`);
7943
7948
  getGlobalThis().__VUE_PROD_DEVTOOLS__ = false;
7944
7949
  }
7945
- if (process.env.NODE_ENV !== "production" && needWarn.length) {
7950
+ if (!!(process.env.NODE_ENV !== "production") && needWarn.length) {
7946
7951
  const multi = needWarn.length > 1;
7947
7952
  console.warn(
7948
7953
  `Feature flag${multi ? `s` : ``} ${needWarn.join(", ")} ${multi ? `are` : `is`} not explicitly defined. You are running the esm-bundler build of Vue, which expects these compile-time feature flags to be globally injected via the bundler config in order to get better tree-shaking in the production bundle.
@@ -7965,7 +7970,7 @@ function baseCreateRenderer(options, createHydrationFns) {
7965
7970
  }
7966
7971
  const target = getGlobalThis();
7967
7972
  target.__VUE__ = true;
7968
- if (process.env.NODE_ENV !== "production" || __VUE_PROD_DEVTOOLS__) {
7973
+ if (!!(process.env.NODE_ENV !== "production") || __VUE_PROD_DEVTOOLS__) {
7969
7974
  setDevtoolsHook(target.__VUE_DEVTOOLS_GLOBAL_HOOK__, target);
7970
7975
  }
7971
7976
  const {
@@ -7982,7 +7987,7 @@ function baseCreateRenderer(options, createHydrationFns) {
7982
7987
  setScopeId: hostSetScopeId = NOOP,
7983
7988
  insertStaticContent: hostInsertStaticContent
7984
7989
  } = options;
7985
- const patch = (n1, n2, container, anchor = null, parentComponent = null, parentSuspense = null, isSVG = false, slotScopeIds = null, optimized = process.env.NODE_ENV !== "production" && isHmrUpdating ? false : !!n2.dynamicChildren) => {
7990
+ const patch = (n1, n2, container, anchor = null, parentComponent = null, parentSuspense = null, isSVG = false, slotScopeIds = null, optimized = !!(process.env.NODE_ENV !== "production") && isHmrUpdating ? false : !!n2.dynamicChildren) => {
7986
7991
  if (n1 === n2) {
7987
7992
  return;
7988
7993
  }
@@ -8006,7 +8011,7 @@ function baseCreateRenderer(options, createHydrationFns) {
8006
8011
  case Static:
8007
8012
  if (n1 == null) {
8008
8013
  mountStaticNode(n2, container, anchor, isSVG);
8009
- } else if (process.env.NODE_ENV !== "production") {
8014
+ } else if (!!(process.env.NODE_ENV !== "production")) {
8010
8015
  patchStaticNode(n1, n2, container, isSVG);
8011
8016
  }
8012
8017
  break;
@@ -8074,7 +8079,7 @@ function baseCreateRenderer(options, createHydrationFns) {
8074
8079
  optimized,
8075
8080
  internals
8076
8081
  );
8077
- } else if (process.env.NODE_ENV !== "production") {
8082
+ } else if (!!(process.env.NODE_ENV !== "production")) {
8078
8083
  warn("Invalid VNode type:", type, `(${typeof type})`);
8079
8084
  }
8080
8085
  }
@@ -8226,7 +8231,7 @@ function baseCreateRenderer(options, createHydrationFns) {
8226
8231
  invokeVNodeHook(vnodeHook, parentComponent, vnode);
8227
8232
  }
8228
8233
  }
8229
- if (process.env.NODE_ENV !== "production" || __VUE_PROD_DEVTOOLS__) {
8234
+ if (!!(process.env.NODE_ENV !== "production") || __VUE_PROD_DEVTOOLS__) {
8230
8235
  Object.defineProperty(el, "__vnode", {
8231
8236
  value: vnode,
8232
8237
  enumerable: false
@@ -8263,7 +8268,7 @@ function baseCreateRenderer(options, createHydrationFns) {
8263
8268
  }
8264
8269
  if (parentComponent) {
8265
8270
  let subTree = parentComponent.subTree;
8266
- if (process.env.NODE_ENV !== "production" && subTree.patchFlag > 0 && subTree.patchFlag & 2048) {
8271
+ if (!!(process.env.NODE_ENV !== "production") && subTree.patchFlag > 0 && subTree.patchFlag & 2048) {
8267
8272
  subTree = filterSingleRoot(subTree.children) || subTree;
8268
8273
  }
8269
8274
  if (vnode === subTree) {
@@ -8309,7 +8314,7 @@ function baseCreateRenderer(options, createHydrationFns) {
8309
8314
  invokeDirectiveHook(n2, n1, parentComponent, "beforeUpdate");
8310
8315
  }
8311
8316
  parentComponent && toggleRecurse(parentComponent, true);
8312
- if (process.env.NODE_ENV !== "production" && isHmrUpdating) {
8317
+ if (!!(process.env.NODE_ENV !== "production") && isHmrUpdating) {
8313
8318
  patchFlag = 0;
8314
8319
  optimized = false;
8315
8320
  dynamicChildren = null;
@@ -8325,7 +8330,7 @@ function baseCreateRenderer(options, createHydrationFns) {
8325
8330
  areChildrenSVG,
8326
8331
  slotScopeIds
8327
8332
  );
8328
- if (process.env.NODE_ENV !== "production") {
8333
+ if (!!(process.env.NODE_ENV !== "production")) {
8329
8334
  traverseStaticChildren(n1, n2);
8330
8335
  }
8331
8336
  } else if (!optimized) {
@@ -8484,7 +8489,7 @@ function baseCreateRenderer(options, createHydrationFns) {
8484
8489
  const fragmentStartAnchor = n2.el = n1 ? n1.el : hostCreateText("");
8485
8490
  const fragmentEndAnchor = n2.anchor = n1 ? n1.anchor : hostCreateText("");
8486
8491
  let { patchFlag, dynamicChildren, slotScopeIds: fragmentSlotScopeIds } = n2;
8487
- if (process.env.NODE_ENV !== "production" && // #5523 dev root fragment may inherit directives
8492
+ if (!!(process.env.NODE_ENV !== "production") && // #5523 dev root fragment may inherit directives
8488
8493
  (isHmrUpdating || patchFlag & 2048)) {
8489
8494
  patchFlag = 0;
8490
8495
  optimized = false;
@@ -8519,7 +8524,7 @@ function baseCreateRenderer(options, createHydrationFns) {
8519
8524
  isSVG,
8520
8525
  slotScopeIds
8521
8526
  );
8522
- if (process.env.NODE_ENV !== "production") {
8527
+ if (!!(process.env.NODE_ENV !== "production")) {
8523
8528
  traverseStaticChildren(n1, n2);
8524
8529
  } else if (
8525
8530
  // #2080 if the stable fragment has a key, it's a <template v-for> that may
@@ -8583,10 +8588,10 @@ function baseCreateRenderer(options, createHydrationFns) {
8583
8588
  parentComponent,
8584
8589
  parentSuspense
8585
8590
  ));
8586
- if (process.env.NODE_ENV !== "production" && instance.type.__hmrId) {
8591
+ if (!!(process.env.NODE_ENV !== "production") && instance.type.__hmrId) {
8587
8592
  registerHMR(instance);
8588
8593
  }
8589
- if (process.env.NODE_ENV !== "production") {
8594
+ if (!!(process.env.NODE_ENV !== "production")) {
8590
8595
  pushWarningContext(initialVNode);
8591
8596
  startMeasure(instance, `mount`);
8592
8597
  }
@@ -8594,11 +8599,11 @@ function baseCreateRenderer(options, createHydrationFns) {
8594
8599
  instance.ctx.renderer = internals;
8595
8600
  }
8596
8601
  if (!compatMountInstance) {
8597
- if (process.env.NODE_ENV !== "production") {
8602
+ if (!!(process.env.NODE_ENV !== "production")) {
8598
8603
  startMeasure(instance, `init`);
8599
8604
  }
8600
8605
  setupComponent(instance);
8601
- if (process.env.NODE_ENV !== "production") {
8606
+ if (!!(process.env.NODE_ENV !== "production")) {
8602
8607
  endMeasure(instance, `init`);
8603
8608
  }
8604
8609
  }
@@ -8619,7 +8624,7 @@ function baseCreateRenderer(options, createHydrationFns) {
8619
8624
  isSVG,
8620
8625
  optimized
8621
8626
  );
8622
- if (process.env.NODE_ENV !== "production") {
8627
+ if (!!(process.env.NODE_ENV !== "production")) {
8623
8628
  popWarningContext();
8624
8629
  endMeasure(instance, `mount`);
8625
8630
  }
@@ -8628,11 +8633,11 @@ function baseCreateRenderer(options, createHydrationFns) {
8628
8633
  const instance = n2.component = n1.component;
8629
8634
  if (shouldUpdateComponent(n1, n2, optimized)) {
8630
8635
  if (instance.asyncDep && !instance.asyncResolved) {
8631
- if (process.env.NODE_ENV !== "production") {
8636
+ if (!!(process.env.NODE_ENV !== "production")) {
8632
8637
  pushWarningContext(n2);
8633
8638
  }
8634
8639
  updateComponentPreRender(instance, n2, optimized);
8635
- if (process.env.NODE_ENV !== "production") {
8640
+ if (!!(process.env.NODE_ENV !== "production")) {
8636
8641
  popWarningContext();
8637
8642
  }
8638
8643
  return;
@@ -8666,14 +8671,14 @@ function baseCreateRenderer(options, createHydrationFns) {
8666
8671
  toggleRecurse(instance, true);
8667
8672
  if (el && hydrateNode) {
8668
8673
  const hydrateSubTree = () => {
8669
- if (process.env.NODE_ENV !== "production") {
8674
+ if (!!(process.env.NODE_ENV !== "production")) {
8670
8675
  startMeasure(instance, `render`);
8671
8676
  }
8672
8677
  instance.subTree = renderComponentRoot(instance);
8673
- if (process.env.NODE_ENV !== "production") {
8678
+ if (!!(process.env.NODE_ENV !== "production")) {
8674
8679
  endMeasure(instance, `render`);
8675
8680
  }
8676
- if (process.env.NODE_ENV !== "production") {
8681
+ if (!!(process.env.NODE_ENV !== "production")) {
8677
8682
  startMeasure(instance, `hydrate`);
8678
8683
  }
8679
8684
  hydrateNode(
@@ -8683,7 +8688,7 @@ function baseCreateRenderer(options, createHydrationFns) {
8683
8688
  parentSuspense,
8684
8689
  null
8685
8690
  );
8686
- if (process.env.NODE_ENV !== "production") {
8691
+ if (!!(process.env.NODE_ENV !== "production")) {
8687
8692
  endMeasure(instance, `hydrate`);
8688
8693
  }
8689
8694
  };
@@ -8699,14 +8704,14 @@ function baseCreateRenderer(options, createHydrationFns) {
8699
8704
  hydrateSubTree();
8700
8705
  }
8701
8706
  } else {
8702
- if (process.env.NODE_ENV !== "production") {
8707
+ if (!!(process.env.NODE_ENV !== "production")) {
8703
8708
  startMeasure(instance, `render`);
8704
8709
  }
8705
8710
  const subTree = instance.subTree = renderComponentRoot(instance);
8706
- if (process.env.NODE_ENV !== "production") {
8711
+ if (!!(process.env.NODE_ENV !== "production")) {
8707
8712
  endMeasure(instance, `render`);
8708
8713
  }
8709
- if (process.env.NODE_ENV !== "production") {
8714
+ if (!!(process.env.NODE_ENV !== "production")) {
8710
8715
  startMeasure(instance, `patch`);
8711
8716
  }
8712
8717
  patch(
@@ -8718,7 +8723,7 @@ function baseCreateRenderer(options, createHydrationFns) {
8718
8723
  parentSuspense,
8719
8724
  isSVG
8720
8725
  );
8721
- if (process.env.NODE_ENV !== "production") {
8726
+ if (!!(process.env.NODE_ENV !== "production")) {
8722
8727
  endMeasure(instance, `patch`);
8723
8728
  }
8724
8729
  initialVNode.el = subTree.el;
@@ -8749,7 +8754,7 @@ function baseCreateRenderer(options, createHydrationFns) {
8749
8754
  }
8750
8755
  }
8751
8756
  instance.isMounted = true;
8752
- if (process.env.NODE_ENV !== "production" || __VUE_PROD_DEVTOOLS__) {
8757
+ if (!!(process.env.NODE_ENV !== "production") || __VUE_PROD_DEVTOOLS__) {
8753
8758
  devtoolsComponentAdded(instance);
8754
8759
  }
8755
8760
  initialVNode = container = anchor = null;
@@ -8757,7 +8762,7 @@ function baseCreateRenderer(options, createHydrationFns) {
8757
8762
  let { next, bu, u, parent, vnode } = instance;
8758
8763
  let originNext = next;
8759
8764
  let vnodeHook;
8760
- if (process.env.NODE_ENV !== "production") {
8765
+ if (!!(process.env.NODE_ENV !== "production")) {
8761
8766
  pushWarningContext(next || instance.vnode);
8762
8767
  }
8763
8768
  toggleRecurse(instance, false);
@@ -8777,16 +8782,16 @@ function baseCreateRenderer(options, createHydrationFns) {
8777
8782
  instance.emit("hook:beforeUpdate");
8778
8783
  }
8779
8784
  toggleRecurse(instance, true);
8780
- if (process.env.NODE_ENV !== "production") {
8785
+ if (!!(process.env.NODE_ENV !== "production")) {
8781
8786
  startMeasure(instance, `render`);
8782
8787
  }
8783
8788
  const nextTree = renderComponentRoot(instance);
8784
- if (process.env.NODE_ENV !== "production") {
8789
+ if (!!(process.env.NODE_ENV !== "production")) {
8785
8790
  endMeasure(instance, `render`);
8786
8791
  }
8787
8792
  const prevTree = instance.subTree;
8788
8793
  instance.subTree = nextTree;
8789
- if (process.env.NODE_ENV !== "production") {
8794
+ if (!!(process.env.NODE_ENV !== "production")) {
8790
8795
  startMeasure(instance, `patch`);
8791
8796
  }
8792
8797
  patch(
@@ -8800,7 +8805,7 @@ function baseCreateRenderer(options, createHydrationFns) {
8800
8805
  parentSuspense,
8801
8806
  isSVG
8802
8807
  );
8803
- if (process.env.NODE_ENV !== "production") {
8808
+ if (!!(process.env.NODE_ENV !== "production")) {
8804
8809
  endMeasure(instance, `patch`);
8805
8810
  }
8806
8811
  next.el = nextTree.el;
@@ -8822,10 +8827,10 @@ function baseCreateRenderer(options, createHydrationFns) {
8822
8827
  parentSuspense
8823
8828
  );
8824
8829
  }
8825
- if (process.env.NODE_ENV !== "production" || __VUE_PROD_DEVTOOLS__) {
8830
+ if (!!(process.env.NODE_ENV !== "production") || __VUE_PROD_DEVTOOLS__) {
8826
8831
  devtoolsComponentUpdated(instance);
8827
8832
  }
8828
- if (process.env.NODE_ENV !== "production") {
8833
+ if (!!(process.env.NODE_ENV !== "production")) {
8829
8834
  popWarningContext();
8830
8835
  }
8831
8836
  }
@@ -8839,7 +8844,7 @@ function baseCreateRenderer(options, createHydrationFns) {
8839
8844
  const update = instance.update = () => effect.run();
8840
8845
  update.id = instance.uid;
8841
8846
  toggleRecurse(instance, true);
8842
- if (process.env.NODE_ENV !== "production") {
8847
+ if (!!(process.env.NODE_ENV !== "production")) {
8843
8848
  effect.onTrack = instance.rtc ? (e) => invokeArrayFns(instance.rtc, e) : void 0;
8844
8849
  effect.onTrigger = instance.rtg ? (e) => invokeArrayFns(instance.rtg, e) : void 0;
8845
8850
  update.ownerInstance = instance;
@@ -9055,7 +9060,7 @@ function baseCreateRenderer(options, createHydrationFns) {
9055
9060
  for (i = s2; i <= e2; i++) {
9056
9061
  const nextChild = c2[i] = optimized ? cloneIfMounted(c2[i]) : normalizeVNode(c2[i]);
9057
9062
  if (nextChild.key != null) {
9058
- if (process.env.NODE_ENV !== "production" && keyToNewIndexMap.has(nextChild.key)) {
9063
+ if (!!(process.env.NODE_ENV !== "production") && keyToNewIndexMap.has(nextChild.key)) {
9059
9064
  warn(
9060
9065
  `Duplicate keys found during update:`,
9061
9066
  JSON.stringify(nextChild.key),
@@ -9261,7 +9266,7 @@ function baseCreateRenderer(options, createHydrationFns) {
9261
9266
  const remove = (vnode) => {
9262
9267
  const { type, el, anchor, transition } = vnode;
9263
9268
  if (type === Fragment) {
9264
- if (process.env.NODE_ENV !== "production" && vnode.patchFlag > 0 && vnode.patchFlag & 2048 && transition && !transition.persisted) {
9269
+ if (!!(process.env.NODE_ENV !== "production") && vnode.patchFlag > 0 && vnode.patchFlag & 2048 && transition && !transition.persisted) {
9265
9270
  vnode.children.forEach((child) => {
9266
9271
  if (child.type === Comment) {
9267
9272
  hostRemove(child.el);
@@ -9306,7 +9311,7 @@ function baseCreateRenderer(options, createHydrationFns) {
9306
9311
  hostRemove(end);
9307
9312
  };
9308
9313
  const unmountComponent = (instance, parentSuspense, doRemove) => {
9309
- if (process.env.NODE_ENV !== "production" && instance.type.__hmrId) {
9314
+ if (!!(process.env.NODE_ENV !== "production") && instance.type.__hmrId) {
9310
9315
  unregisterHMR(instance);
9311
9316
  }
9312
9317
  const { bum, scope, update, subTree, um } = instance;
@@ -9339,7 +9344,7 @@ function baseCreateRenderer(options, createHydrationFns) {
9339
9344
  parentSuspense.resolve();
9340
9345
  }
9341
9346
  }
9342
- if (process.env.NODE_ENV !== "production" || __VUE_PROD_DEVTOOLS__) {
9347
+ if (!!(process.env.NODE_ENV !== "production") || __VUE_PROD_DEVTOOLS__) {
9343
9348
  devtoolsComponentRemoved(instance);
9344
9349
  }
9345
9350
  };
@@ -9415,7 +9420,7 @@ function traverseStaticChildren(n1, n2, shallow = false) {
9415
9420
  if (c2.type === Text) {
9416
9421
  c2.el = c1.el;
9417
9422
  }
9418
- if (process.env.NODE_ENV !== "production" && c2.type === Comment && !c2.el) {
9423
+ if (!!(process.env.NODE_ENV !== "production") && c2.type === Comment && !c2.el) {
9419
9424
  c2.el = c1.el;
9420
9425
  }
9421
9426
  }
@@ -9469,21 +9474,21 @@ const resolveTarget = (props, select) => {
9469
9474
  const targetSelector = props && props.to;
9470
9475
  if (isString(targetSelector)) {
9471
9476
  if (!select) {
9472
- process.env.NODE_ENV !== "production" && warn(
9477
+ !!(process.env.NODE_ENV !== "production") && warn(
9473
9478
  `Current renderer does not support string target for Teleports. (missing querySelector renderer option)`
9474
9479
  );
9475
9480
  return null;
9476
9481
  } else {
9477
9482
  const target = select(targetSelector);
9478
9483
  if (!target) {
9479
- process.env.NODE_ENV !== "production" && warn(
9484
+ !!(process.env.NODE_ENV !== "production") && warn(
9480
9485
  `Failed to locate Teleport target with selector "${targetSelector}". Note the target element must exist before the component is mounted - i.e. the target cannot be rendered by the component itself, and ideally should be outside of the entire Vue component tree.`
9481
9486
  );
9482
9487
  }
9483
9488
  return target;
9484
9489
  }
9485
9490
  } else {
9486
- if (process.env.NODE_ENV !== "production" && !targetSelector && !isTeleportDisabled(props)) {
9491
+ if (!!(process.env.NODE_ENV !== "production") && !targetSelector && !isTeleportDisabled(props)) {
9487
9492
  warn(`Invalid Teleport target: ${targetSelector}`);
9488
9493
  }
9489
9494
  return targetSelector;
@@ -9500,13 +9505,13 @@ const TeleportImpl = {
9500
9505
  } = internals;
9501
9506
  const disabled = isTeleportDisabled(n2.props);
9502
9507
  let { shapeFlag, children, dynamicChildren } = n2;
9503
- if (process.env.NODE_ENV !== "production" && isHmrUpdating) {
9508
+ if (!!(process.env.NODE_ENV !== "production") && isHmrUpdating) {
9504
9509
  optimized = false;
9505
9510
  dynamicChildren = null;
9506
9511
  }
9507
9512
  if (n1 == null) {
9508
- const placeholder = n2.el = process.env.NODE_ENV !== "production" ? createComment("teleport start") : createText("");
9509
- const mainAnchor = n2.anchor = process.env.NODE_ENV !== "production" ? createComment("teleport end") : createText("");
9513
+ const placeholder = n2.el = !!(process.env.NODE_ENV !== "production") ? createComment("teleport start") : createText("");
9514
+ const mainAnchor = n2.anchor = !!(process.env.NODE_ENV !== "production") ? createComment("teleport end") : createText("");
9510
9515
  insert(placeholder, container, anchor);
9511
9516
  insert(mainAnchor, container, anchor);
9512
9517
  const target = n2.target = resolveTarget(n2.props, querySelector);
@@ -9514,7 +9519,7 @@ const TeleportImpl = {
9514
9519
  if (target) {
9515
9520
  insert(targetAnchor, target);
9516
9521
  isSVG = isSVG || isTargetSVG(target);
9517
- } else if (process.env.NODE_ENV !== "production" && !disabled) {
9522
+ } else if (!!(process.env.NODE_ENV !== "production") && !disabled) {
9518
9523
  warn("Invalid Teleport target on mount:", target, `(${typeof target})`);
9519
9524
  }
9520
9525
  const mount = (container2, anchor2) => {
@@ -9593,7 +9598,7 @@ const TeleportImpl = {
9593
9598
  internals,
9594
9599
  0
9595
9600
  );
9596
- } else if (process.env.NODE_ENV !== "production") {
9601
+ } else if (!!(process.env.NODE_ENV !== "production")) {
9597
9602
  warn(
9598
9603
  "Invalid Teleport target on update:",
9599
9604
  target,
@@ -9830,7 +9835,7 @@ function isVNode(value) {
9830
9835
  return value ? value.__v_isVNode === true : false;
9831
9836
  }
9832
9837
  function isSameVNodeType(n1, n2) {
9833
- if (process.env.NODE_ENV !== "production" && n2.shapeFlag & 6 && hmrDirtyComponents.has(n2.type)) {
9838
+ if (!!(process.env.NODE_ENV !== "production") && n2.shapeFlag & 6 && hmrDirtyComponents.has(n2.type)) {
9834
9839
  n1.shapeFlag &= ~256;
9835
9840
  n2.shapeFlag &= ~512;
9836
9841
  return false;
@@ -9895,7 +9900,7 @@ function createBaseVNode(type, props = null, children = null, patchFlag = 0, dyn
9895
9900
  } else if (children) {
9896
9901
  vnode.shapeFlag |= isString(children) ? 8 : 16;
9897
9902
  }
9898
- if (process.env.NODE_ENV !== "production" && vnode.key !== vnode.key) {
9903
+ if (!!(process.env.NODE_ENV !== "production") && vnode.key !== vnode.key) {
9899
9904
  warn(`VNode created with invalid key (NaN). VNode type:`, vnode.type);
9900
9905
  }
9901
9906
  if (isBlockTreeEnabled > 0 && // avoid a block node from tracking itself
@@ -9915,10 +9920,10 @@ function createBaseVNode(type, props = null, children = null, patchFlag = 0, dyn
9915
9920
  }
9916
9921
  return vnode;
9917
9922
  }
9918
- const createVNode = process.env.NODE_ENV !== "production" ? createVNodeWithArgsTransform : _createVNode;
9923
+ const createVNode = !!(process.env.NODE_ENV !== "production") ? createVNodeWithArgsTransform : _createVNode;
9919
9924
  function _createVNode(type, props = null, children = null, patchFlag = 0, dynamicProps = null, isBlockNode = false) {
9920
9925
  if (!type || type === NULL_DYNAMIC_COMPONENT) {
9921
- if (process.env.NODE_ENV !== "production" && !type) {
9926
+ if (!!(process.env.NODE_ENV !== "production") && !type) {
9922
9927
  warn(`Invalid vnode type when creating vnode: ${type}.`);
9923
9928
  }
9924
9929
  type = Comment;
@@ -9963,7 +9968,7 @@ function _createVNode(type, props = null, children = null, patchFlag = 0, dynami
9963
9968
  }
9964
9969
  }
9965
9970
  const shapeFlag = isString(type) ? 1 : isSuspense(type) ? 128 : isTeleport(type) ? 64 : isObject(type) ? 4 : isFunction(type) ? 2 : 0;
9966
- if (process.env.NODE_ENV !== "production" && shapeFlag & 4 && isProxy(type)) {
9971
+ if (!!(process.env.NODE_ENV !== "production") && shapeFlag & 4 && isProxy(type)) {
9967
9972
  type = toRaw(type);
9968
9973
  warn(
9969
9974
  `Vue received a Component which was made a reactive object. This can lead to unnecessary performance overhead, and should be avoided by marking the component with \`markRaw\` or using \`shallowRef\` instead of \`ref\`.`,
@@ -10005,7 +10010,7 @@ function cloneVNode(vnode, extraProps, mergeRef = false) {
10005
10010
  ) : ref,
10006
10011
  scopeId: vnode.scopeId,
10007
10012
  slotScopeIds: vnode.slotScopeIds,
10008
- children: process.env.NODE_ENV !== "production" && patchFlag === -1 && isArray(children) ? children.map(deepCloneVNode) : children,
10013
+ children: !!(process.env.NODE_ENV !== "production") && patchFlag === -1 && isArray(children) ? children.map(deepCloneVNode) : children,
10009
10014
  target: vnode.target,
10010
10015
  targetAnchor: vnode.targetAnchor,
10011
10016
  staticCount: vnode.staticCount,
@@ -10232,7 +10237,7 @@ function createComponentInstance(vnode, parent, suspense) {
10232
10237
  ec: null,
10233
10238
  sp: null
10234
10239
  };
10235
- if (process.env.NODE_ENV !== "production") {
10240
+ if (!!(process.env.NODE_ENV !== "production")) {
10236
10241
  instance.ctx = createDevRenderContext(instance);
10237
10242
  } else {
10238
10243
  instance.ctx = { _: instance };
@@ -10296,7 +10301,7 @@ function setupComponent(instance, isSSR = false) {
10296
10301
  function setupStatefulComponent(instance, isSSR) {
10297
10302
  var _a;
10298
10303
  const Component = instance.type;
10299
- if (process.env.NODE_ENV !== "production") {
10304
+ if (!!(process.env.NODE_ENV !== "production")) {
10300
10305
  if (Component.name) {
10301
10306
  validateComponentName(Component.name, instance.appContext.config);
10302
10307
  }
@@ -10320,7 +10325,7 @@ function setupStatefulComponent(instance, isSSR) {
10320
10325
  }
10321
10326
  instance.accessCache = /* @__PURE__ */ Object.create(null);
10322
10327
  instance.proxy = markRaw(new Proxy(instance.ctx, PublicInstanceProxyHandlers));
10323
- if (process.env.NODE_ENV !== "production") {
10328
+ if (!!(process.env.NODE_ENV !== "production")) {
10324
10329
  exposePropsOnRenderContext(instance);
10325
10330
  }
10326
10331
  const { setup } = Component;
@@ -10332,7 +10337,7 @@ function setupStatefulComponent(instance, isSSR) {
10332
10337
  setup,
10333
10338
  instance,
10334
10339
  0,
10335
- [process.env.NODE_ENV !== "production" ? shallowReadonly(instance.props) : instance.props, setupContext]
10340
+ [!!(process.env.NODE_ENV !== "production") ? shallowReadonly(instance.props) : instance.props, setupContext]
10336
10341
  );
10337
10342
  resetTracking();
10338
10343
  unsetCurrentInstance();
@@ -10346,7 +10351,7 @@ function setupStatefulComponent(instance, isSSR) {
10346
10351
  });
10347
10352
  } else {
10348
10353
  instance.asyncDep = setupResult;
10349
- if (process.env.NODE_ENV !== "production" && !instance.suspense) {
10354
+ if (!!(process.env.NODE_ENV !== "production") && !instance.suspense) {
10350
10355
  const name = (_a = Component.name) != null ? _a : "Anonymous";
10351
10356
  warn(
10352
10357
  `Component <${name}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`
@@ -10368,19 +10373,19 @@ function handleSetupResult(instance, setupResult, isSSR) {
10368
10373
  instance.render = setupResult;
10369
10374
  }
10370
10375
  } else if (isObject(setupResult)) {
10371
- if (process.env.NODE_ENV !== "production" && isVNode(setupResult)) {
10376
+ if (!!(process.env.NODE_ENV !== "production") && isVNode(setupResult)) {
10372
10377
  warn(
10373
10378
  `setup() should not return VNodes directly - return a render function instead.`
10374
10379
  );
10375
10380
  }
10376
- if (process.env.NODE_ENV !== "production" || __VUE_PROD_DEVTOOLS__) {
10381
+ if (!!(process.env.NODE_ENV !== "production") || __VUE_PROD_DEVTOOLS__) {
10377
10382
  instance.devtoolsRawSetupState = setupResult;
10378
10383
  }
10379
10384
  instance.setupState = proxyRefs(setupResult);
10380
- if (process.env.NODE_ENV !== "production") {
10385
+ if (!!(process.env.NODE_ENV !== "production")) {
10381
10386
  exposeSetupStateOnRenderContext(instance);
10382
10387
  }
10383
- } else if (process.env.NODE_ENV !== "production" && setupResult !== void 0) {
10388
+ } else if (!!(process.env.NODE_ENV !== "production") && setupResult !== void 0) {
10384
10389
  warn(
10385
10390
  `setup() should return an object. Received: ${setupResult === null ? "null" : typeof setupResult}`
10386
10391
  );
@@ -10402,7 +10407,7 @@ function finishComponentSetup(instance, isSSR, skipOptions) {
10402
10407
  const Component = instance.type;
10403
10408
  {
10404
10409
  convertLegacyRenderFn(instance);
10405
- if (process.env.NODE_ENV !== "production" && Component.compatConfig) {
10410
+ if (!!(process.env.NODE_ENV !== "production") && Component.compatConfig) {
10406
10411
  validateCompatConfig(Component.compatConfig);
10407
10412
  }
10408
10413
  }
@@ -10410,7 +10415,7 @@ function finishComponentSetup(instance, isSSR, skipOptions) {
10410
10415
  if (!isSSR && compile && !Component.render) {
10411
10416
  const template = instance.vnode.props && instance.vnode.props["inline-template"] || Component.template || resolveMergedOptions(instance).template;
10412
10417
  if (template) {
10413
- if (process.env.NODE_ENV !== "production") {
10418
+ if (!!(process.env.NODE_ENV !== "production")) {
10414
10419
  startMeasure(instance, `compile`);
10415
10420
  }
10416
10421
  const { isCustomElement, compilerOptions } = instance.appContext.config;
@@ -10432,7 +10437,7 @@ function finishComponentSetup(instance, isSSR, skipOptions) {
10432
10437
  }
10433
10438
  }
10434
10439
  Component.render = compile(template, finalCompilerOptions);
10435
- if (process.env.NODE_ENV !== "production") {
10440
+ if (!!(process.env.NODE_ENV !== "production")) {
10436
10441
  endMeasure(instance, `compile`);
10437
10442
  }
10438
10443
  }
@@ -10449,7 +10454,7 @@ function finishComponentSetup(instance, isSSR, skipOptions) {
10449
10454
  resetTracking();
10450
10455
  unsetCurrentInstance();
10451
10456
  }
10452
- if (process.env.NODE_ENV !== "production" && !Component.render && instance.render === NOOP && !isSSR) {
10457
+ if (!!(process.env.NODE_ENV !== "production") && !Component.render && instance.render === NOOP && !isSSR) {
10453
10458
  if (!compile && Component.template) {
10454
10459
  warn(
10455
10460
  `Component provided template option but runtime compilation is not supported in this build of Vue.` + (` Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".` )
@@ -10463,7 +10468,7 @@ function finishComponentSetup(instance, isSSR, skipOptions) {
10463
10468
  function getAttrsProxy(instance) {
10464
10469
  return instance.attrsProxy || (instance.attrsProxy = new Proxy(
10465
10470
  instance.attrs,
10466
- process.env.NODE_ENV !== "production" ? {
10471
+ !!(process.env.NODE_ENV !== "production") ? {
10467
10472
  get(target, key) {
10468
10473
  markAttrsAccessed();
10469
10474
  track(instance, "get", "$attrs");
@@ -10495,7 +10500,7 @@ function getSlotsProxy(instance) {
10495
10500
  }
10496
10501
  function createSetupContext(instance) {
10497
10502
  const expose = (exposed) => {
10498
- if (process.env.NODE_ENV !== "production") {
10503
+ if (!!(process.env.NODE_ENV !== "production")) {
10499
10504
  if (instance.exposed) {
10500
10505
  warn(`expose() should be called only once per setup().`);
10501
10506
  }
@@ -10517,7 +10522,7 @@ function createSetupContext(instance) {
10517
10522
  }
10518
10523
  instance.exposed = exposed || {};
10519
10524
  };
10520
- if (process.env.NODE_ENV !== "production") {
10525
+ if (!!(process.env.NODE_ENV !== "production")) {
10521
10526
  return Object.freeze({
10522
10527
  get attrs() {
10523
10528
  return getAttrsProxy(instance);
@@ -10618,7 +10623,7 @@ const useSSRContext = () => {
10618
10623
  {
10619
10624
  const ctx = inject(ssrContextKey);
10620
10625
  if (!ctx) {
10621
- process.env.NODE_ENV !== "production" && warn(
10626
+ !!(process.env.NODE_ENV !== "production") && warn(
10622
10627
  `Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build.`
10623
10628
  );
10624
10629
  }
@@ -10627,7 +10632,7 @@ const useSSRContext = () => {
10627
10632
  };
10628
10633
 
10629
10634
  function initCustomFormatter() {
10630
- if (!(process.env.NODE_ENV !== "production") || typeof window === "undefined") {
10635
+ if (!!!(process.env.NODE_ENV !== "production") || typeof window === "undefined") {
10631
10636
  return;
10632
10637
  }
10633
10638
  const vueStyle = { style: "color:#3ba776" };
@@ -10827,7 +10832,7 @@ function isMemoSame(cached, memo) {
10827
10832
  return true;
10828
10833
  }
10829
10834
 
10830
- const version = "3.3.3";
10835
+ const version = "3.3.4";
10831
10836
  const _ssrUtils = {
10832
10837
  createComponentInstance,
10833
10838
  setupComponent,
@@ -10964,7 +10969,7 @@ function setStyle(style, name, val) {
10964
10969
  } else {
10965
10970
  if (val == null)
10966
10971
  val = "";
10967
- if (process.env.NODE_ENV !== "production") {
10972
+ if (!!(process.env.NODE_ENV !== "production")) {
10968
10973
  if (semicolonRE.test(val)) {
10969
10974
  warn(
10970
10975
  `Unexpected semicolon at the end of '${name}' style value: '${val}'`
@@ -11094,7 +11099,7 @@ function patchDOMProp(el, key, value, prevChildren, parentComponent, parentSuspe
11094
11099
  )) {
11095
11100
  const type = typeof el[key];
11096
11101
  if (type === "string" || type === "number") {
11097
- process.env.NODE_ENV !== "production" && compatUtils.warnDeprecation(
11102
+ !!(process.env.NODE_ENV !== "production") && compatUtils.warnDeprecation(
11098
11103
  "ATTR_FALSE_VALUE",
11099
11104
  parentComponent,
11100
11105
  key
@@ -11107,7 +11112,7 @@ function patchDOMProp(el, key, value, prevChildren, parentComponent, parentSuspe
11107
11112
  try {
11108
11113
  el[key] = value;
11109
11114
  } catch (e) {
11110
- if (process.env.NODE_ENV !== "production" && !needRemove) {
11115
+ if (!!(process.env.NODE_ENV !== "production") && !needRemove) {
11111
11116
  warn(
11112
11117
  `Failed setting prop "${key}" on <${tag.toLowerCase()}>: value ${value} is invalid.`,
11113
11118
  e
@@ -11274,7 +11279,7 @@ class VueElement extends BaseClass {
11274
11279
  if (this.shadowRoot && hydrate2) {
11275
11280
  hydrate2(this._createVNode(), this.shadowRoot);
11276
11281
  } else {
11277
- if (process.env.NODE_ENV !== "production" && this.shadowRoot) {
11282
+ if (!!(process.env.NODE_ENV !== "production") && this.shadowRoot) {
11278
11283
  warn(
11279
11284
  `Custom element has pre-rendered declarative shadow root but is not defined as hydratable. Use \`defineSSRCustomElement\`.`
11280
11285
  );
@@ -11407,7 +11412,7 @@ class VueElement extends BaseClass {
11407
11412
  vnode.ce = (instance) => {
11408
11413
  this._instance = instance;
11409
11414
  instance.isCE = true;
11410
- if (process.env.NODE_ENV !== "production") {
11415
+ if (!!(process.env.NODE_ENV !== "production")) {
11411
11416
  instance.ceReload = (newStyles) => {
11412
11417
  if (this._styles) {
11413
11418
  this._styles.forEach((s) => this.shadowRoot.removeChild(s));
@@ -11449,7 +11454,7 @@ class VueElement extends BaseClass {
11449
11454
  const s = document.createElement("style");
11450
11455
  s.textContent = css;
11451
11456
  this.shadowRoot.appendChild(s);
11452
- if (process.env.NODE_ENV !== "production") {
11457
+ if (!!(process.env.NODE_ENV !== "production")) {
11453
11458
  (this._styles || (this._styles = [])).push(s);
11454
11459
  }
11455
11460
  });
@@ -11461,17 +11466,17 @@ function useCssModule(name = "$style") {
11461
11466
  {
11462
11467
  const instance = getCurrentInstance();
11463
11468
  if (!instance) {
11464
- process.env.NODE_ENV !== "production" && warn(`useCssModule must be called inside setup()`);
11469
+ !!(process.env.NODE_ENV !== "production") && warn(`useCssModule must be called inside setup()`);
11465
11470
  return EMPTY_OBJ;
11466
11471
  }
11467
11472
  const modules = instance.type.__cssModules;
11468
11473
  if (!modules) {
11469
- process.env.NODE_ENV !== "production" && warn(`Current instance does not have CSS modules injected.`);
11474
+ !!(process.env.NODE_ENV !== "production") && warn(`Current instance does not have CSS modules injected.`);
11470
11475
  return EMPTY_OBJ;
11471
11476
  }
11472
11477
  const mod = modules[name];
11473
11478
  if (!mod) {
11474
- process.env.NODE_ENV !== "production" && warn(`Current instance does not have CSS module named "${name}".`);
11479
+ !!(process.env.NODE_ENV !== "production") && warn(`Current instance does not have CSS module named "${name}".`);
11475
11480
  return EMPTY_OBJ;
11476
11481
  }
11477
11482
  return mod;
@@ -11481,7 +11486,7 @@ function useCssModule(name = "$style") {
11481
11486
  function useCssVars(getter) {
11482
11487
  const instance = getCurrentInstance();
11483
11488
  if (!instance) {
11484
- process.env.NODE_ENV !== "production" && warn(`useCssVars is called without current active component instance.`);
11489
+ !!(process.env.NODE_ENV !== "production") && warn(`useCssVars is called without current active component instance.`);
11485
11490
  return;
11486
11491
  }
11487
11492
  const updateTeleports = instance.ut = (vars = getter(instance.proxy)) => {
@@ -11731,7 +11736,7 @@ function normalizeDuration(duration) {
11731
11736
  }
11732
11737
  function NumberOf(val) {
11733
11738
  const res = toNumber(val);
11734
- if (process.env.NODE_ENV !== "production") {
11739
+ if (!!(process.env.NODE_ENV !== "production")) {
11735
11740
  assertNumber(res, "<transition> explicit duration");
11736
11741
  }
11737
11742
  return res;
@@ -11906,7 +11911,7 @@ const TransitionGroupImpl = {
11906
11911
  child,
11907
11912
  resolveTransitionHooks(child, cssTransitionProps, state, instance)
11908
11913
  );
11909
- } else if (process.env.NODE_ENV !== "production") {
11914
+ } else if (!!(process.env.NODE_ENV !== "production")) {
11910
11915
  warn(`<TransitionGroup> children must be keyed.`);
11911
11916
  }
11912
11917
  }
@@ -12131,7 +12136,7 @@ const vModelSelect = {
12131
12136
  function setSelected(el, value) {
12132
12137
  const isMultiple = el.multiple;
12133
12138
  if (isMultiple && !isArray(value) && !isSet(value)) {
12134
- process.env.NODE_ENV !== "production" && warn(
12139
+ !!(process.env.NODE_ENV !== "production") && warn(
12135
12140
  `<select multiple v-model> expects an Array or Set value for its binding, but got ${Object.prototype.toString.call(value).slice(8, -1)}.`
12136
12141
  );
12137
12142
  return;
@@ -12281,7 +12286,7 @@ const withKeys = (fn, modifiers) => {
12281
12286
  globalKeyCodes = instance.appContext.config.keyCodes;
12282
12287
  }
12283
12288
  }
12284
- if (process.env.NODE_ENV !== "production" && modifiers.some((m) => /^\d+$/.test(m))) {
12289
+ if (!!(process.env.NODE_ENV !== "production") && modifiers.some((m) => /^\d+$/.test(m))) {
12285
12290
  compatUtils.warnDeprecation(
12286
12291
  "V_ON_KEYCODE_MODIFIER",
12287
12292
  instance
@@ -12384,7 +12389,7 @@ const hydrate = (...args) => {
12384
12389
  };
12385
12390
  const createApp = (...args) => {
12386
12391
  const app = ensureRenderer().createApp(...args);
12387
- if (process.env.NODE_ENV !== "production") {
12392
+ if (!!(process.env.NODE_ENV !== "production")) {
12388
12393
  injectNativeTagCheck(app);
12389
12394
  injectCompilerOptionsCheck(app);
12390
12395
  }
@@ -12396,7 +12401,7 @@ const createApp = (...args) => {
12396
12401
  const component = app._component;
12397
12402
  if (!isFunction(component) && !component.render && !component.template) {
12398
12403
  component.template = container.innerHTML;
12399
- if (process.env.NODE_ENV !== "production") {
12404
+ if (!!(process.env.NODE_ENV !== "production")) {
12400
12405
  for (let i = 0; i < container.attributes.length; i++) {
12401
12406
  const attr = container.attributes[i];
12402
12407
  if (attr.name !== "v-cloak" && /^(v-|:|@)/.test(attr.name)) {
@@ -12421,7 +12426,7 @@ const createApp = (...args) => {
12421
12426
  };
12422
12427
  const createSSRApp = (...args) => {
12423
12428
  const app = ensureHydrationRenderer().createApp(...args);
12424
- if (process.env.NODE_ENV !== "production") {
12429
+ if (!!(process.env.NODE_ENV !== "production")) {
12425
12430
  injectNativeTagCheck(app);
12426
12431
  injectCompilerOptionsCheck(app);
12427
12432
  }
@@ -12472,14 +12477,14 @@ function injectCompilerOptionsCheck(app) {
12472
12477
  function normalizeContainer(container) {
12473
12478
  if (isString(container)) {
12474
12479
  const res = document.querySelector(container);
12475
- if (process.env.NODE_ENV !== "production" && !res) {
12480
+ if (!!(process.env.NODE_ENV !== "production") && !res) {
12476
12481
  warn(
12477
12482
  `Failed to mount app: mount target selector "${container}" returned null.`
12478
12483
  );
12479
12484
  }
12480
12485
  return res;
12481
12486
  }
12482
- if (process.env.NODE_ENV !== "production" && window.ShadowRoot && container instanceof window.ShadowRoot && container.mode === "closed") {
12487
+ if (!!(process.env.NODE_ENV !== "production") && window.ShadowRoot && container instanceof window.ShadowRoot && container.mode === "closed") {
12483
12488
  warn(
12484
12489
  `mounting on a ShadowRoot with \`{mode: "closed"}\` may lead to unpredictable bugs`
12485
12490
  );
@@ -12658,7 +12663,7 @@ function initDev() {
12658
12663
  }
12659
12664
  }
12660
12665
 
12661
- if (process.env.NODE_ENV !== "production") {
12666
+ if (!!(process.env.NODE_ENV !== "production")) {
12662
12667
  initDev();
12663
12668
  }
12664
12669
  function wrappedCreateApp(...args) {
@@ -12680,7 +12685,7 @@ function createCompatVue() {
12680
12685
 
12681
12686
  const Vue = createCompatVue();
12682
12687
  Vue.compile = () => {
12683
- if (process.env.NODE_ENV !== "production") {
12688
+ if (!!(process.env.NODE_ENV !== "production")) {
12684
12689
  warn(
12685
12690
  `Runtime compilation is not supported in this build of Vue.` + (` Configure your bundler to alias "vue" to "@vue/compat/dist/vue.esm-bundler.js".` )
12686
12691
  /* should not happen */