@vue/compat 3.3.2 → 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;
@@ -121,7 +121,7 @@ function normalizeStyle(value) {
121
121
  }
122
122
  const listDelimiterRE = /;(?![^(]*\))/g;
123
123
  const propertyDelimiterRE = /:([^]+)/;
124
- const styleCommentRE = new RegExp("\\/\\*.*?\\*\\/", "gs");
124
+ const styleCommentRE = /\/\*[^]*?\*\//g;
125
125
  function parseStringStyle(cssText) {
126
126
  const ret = {};
127
127
  cssText.replace(styleCommentRE, "").split(listDelimiterRE).forEach((item) => {
@@ -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)) {
@@ -3640,7 +3640,7 @@ function doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = EM
3640
3640
  }
3641
3641
  } else {
3642
3642
  getter = NOOP;
3643
- process.env.NODE_ENV !== "production" && warnInvalidSource(source);
3643
+ !!(process.env.NODE_ENV !== "production") && warnInvalidSource(source);
3644
3644
  }
3645
3645
  if (cb && !deep) {
3646
3646
  const baseGetter = getter;
@@ -3719,7 +3719,7 @@ function doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = EM
3719
3719
  scheduler = () => queueJob(job);
3720
3720
  }
3721
3721
  const effect = new ReactiveEffect(getter, scheduler);
3722
- if (process.env.NODE_ENV !== "production") {
3722
+ if (!!(process.env.NODE_ENV !== "production")) {
3723
3723
  effect.onTrack = onTrack;
3724
3724
  effect.onTrigger = onTrigger;
3725
3725
  }
@@ -3812,7 +3812,7 @@ function validateDirectiveName(name) {
3812
3812
  function withDirectives(vnode, directives) {
3813
3813
  const internalInstance = currentRenderingInstance;
3814
3814
  if (internalInstance === null) {
3815
- 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.`);
3816
3816
  return vnode;
3817
3817
  }
3818
3818
  const instance = getExposeProxy(internalInstance) || internalInstance.proxy;
@@ -3919,7 +3919,7 @@ const BaseTransitionImpl = {
3919
3919
  let hasFound = false;
3920
3920
  for (const c of children) {
3921
3921
  if (c.type !== Comment) {
3922
- if (process.env.NODE_ENV !== "production" && hasFound) {
3922
+ if (!!(process.env.NODE_ENV !== "production") && hasFound) {
3923
3923
  warn(
3924
3924
  "<transition> can only be used on a single element or component. Use <transition-group> for lists."
3925
3925
  );
@@ -3927,14 +3927,14 @@ const BaseTransitionImpl = {
3927
3927
  }
3928
3928
  child = c;
3929
3929
  hasFound = true;
3930
- if (!process.env.NODE_ENV !== "production")
3930
+ if (!!!(process.env.NODE_ENV !== "production"))
3931
3931
  break;
3932
3932
  }
3933
3933
  }
3934
3934
  }
3935
3935
  const rawProps = toRaw(props);
3936
3936
  const { mode } = rawProps;
3937
- 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") {
3938
3938
  warn(`invalid <transition> mode: ${mode}`);
3939
3939
  }
3940
3940
  if (state.isLeaving) {
@@ -4243,7 +4243,7 @@ function defineAsyncComponent(source) {
4243
4243
  if (thisRequest !== pendingRequest && pendingRequest) {
4244
4244
  return pendingRequest;
4245
4245
  }
4246
- if (process.env.NODE_ENV !== "production" && !comp) {
4246
+ if (!!(process.env.NODE_ENV !== "production") && !comp) {
4247
4247
  warn(
4248
4248
  `Async component loader resolved to undefined. If you are using retry(), make sure to return its return value.`
4249
4249
  );
@@ -4251,7 +4251,7 @@ function defineAsyncComponent(source) {
4251
4251
  if (comp && (comp.__esModule || comp[Symbol.toStringTag] === "Module")) {
4252
4252
  comp = comp.default;
4253
4253
  }
4254
- if (process.env.NODE_ENV !== "production" && comp && !isObject(comp) && !isFunction(comp)) {
4254
+ if (!!(process.env.NODE_ENV !== "production") && comp && !isObject(comp) && !isFunction(comp)) {
4255
4255
  throw new Error(`Invalid async component load result: ${comp}`);
4256
4256
  }
4257
4257
  resolvedComp = comp;
@@ -4364,7 +4364,7 @@ const KeepAliveImpl = {
4364
4364
  const cache = /* @__PURE__ */ new Map();
4365
4365
  const keys = /* @__PURE__ */ new Set();
4366
4366
  let current = null;
4367
- if (process.env.NODE_ENV !== "production" || __VUE_PROD_DEVTOOLS__) {
4367
+ if (!!(process.env.NODE_ENV !== "production") || __VUE_PROD_DEVTOOLS__) {
4368
4368
  instance.__v_cache = cache;
4369
4369
  }
4370
4370
  const parentSuspense = instance.suspense;
@@ -4401,7 +4401,7 @@ const KeepAliveImpl = {
4401
4401
  invokeVNodeHook(vnodeHook, instance2.parent, vnode);
4402
4402
  }
4403
4403
  }, parentSuspense);
4404
- if (process.env.NODE_ENV !== "production" || __VUE_PROD_DEVTOOLS__) {
4404
+ if (!!(process.env.NODE_ENV !== "production") || __VUE_PROD_DEVTOOLS__) {
4405
4405
  devtoolsComponentAdded(instance2);
4406
4406
  }
4407
4407
  };
@@ -4418,7 +4418,7 @@ const KeepAliveImpl = {
4418
4418
  }
4419
4419
  instance2.isDeactivated = true;
4420
4420
  }, parentSuspense);
4421
- if (process.env.NODE_ENV !== "production" || __VUE_PROD_DEVTOOLS__) {
4421
+ if (!!(process.env.NODE_ENV !== "production") || __VUE_PROD_DEVTOOLS__) {
4422
4422
  devtoolsComponentAdded(instance2);
4423
4423
  }
4424
4424
  };
@@ -4482,7 +4482,7 @@ const KeepAliveImpl = {
4482
4482
  const children = slots.default();
4483
4483
  const rawVNode = children[0];
4484
4484
  if (children.length > 1) {
4485
- if (process.env.NODE_ENV !== "production") {
4485
+ if (!!(process.env.NODE_ENV !== "production")) {
4486
4486
  warn(`KeepAlive should contain exactly one component child.`);
4487
4487
  }
4488
4488
  current = null;
@@ -4613,7 +4613,7 @@ function injectHook(type, hook, target = currentInstance, prepend = false) {
4613
4613
  hooks.push(wrappedHook);
4614
4614
  }
4615
4615
  return wrappedHook;
4616
- } else if (process.env.NODE_ENV !== "production") {
4616
+ } else if (!!(process.env.NODE_ENV !== "production")) {
4617
4617
  const apiName = toHandlerKey(ErrorTypeStrings[type].replace(/ hook$/, ""));
4618
4618
  warn(
4619
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.` )
@@ -4719,13 +4719,13 @@ function resolveAsset(type, name, warnMissing = true, maybeSelfReference = false
4719
4719
  if (!res && maybeSelfReference) {
4720
4720
  return Component;
4721
4721
  }
4722
- if (process.env.NODE_ENV !== "production" && warnMissing && !res) {
4722
+ if (!!(process.env.NODE_ENV !== "production") && warnMissing && !res) {
4723
4723
  const extra = type === COMPONENTS ? `
4724
4724
  If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.` : ``;
4725
4725
  warn(`Failed to resolve ${type.slice(0, -1)}: ${name}${extra}`);
4726
4726
  }
4727
4727
  return res;
4728
- } else if (process.env.NODE_ENV !== "production") {
4728
+ } else if (!!(process.env.NODE_ENV !== "production")) {
4729
4729
  warn(
4730
4730
  `resolve${capitalize(type.slice(0, -1))} can only be used in render() or setup().`
4731
4731
  );
@@ -4995,7 +4995,7 @@ function renderList(source, renderItem, cache, index) {
4995
4995
  ret[i] = renderItem(source[i], i, void 0, cached && cached[i]);
4996
4996
  }
4997
4997
  } else if (typeof source === "number") {
4998
- if (process.env.NODE_ENV !== "production" && !Number.isInteger(source)) {
4998
+ if (!!(process.env.NODE_ENV !== "production") && !Number.isInteger(source)) {
4999
4999
  warn(`The v-for range expect an integer value but got ${source}.`);
5000
5000
  }
5001
5001
  ret = new Array(source);
@@ -5051,7 +5051,7 @@ function renderSlot(slots, name, props = {}, fallback, noSlotted) {
5051
5051
  return createVNode("slot", props, fallback && fallback());
5052
5052
  }
5053
5053
  let slot = slots[name];
5054
- if (process.env.NODE_ENV !== "production" && slot && slot.length > 1) {
5054
+ if (!!(process.env.NODE_ENV !== "production") && slot && slot.length > 1) {
5055
5055
  warn(
5056
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.`
5057
5057
  );
@@ -5094,7 +5094,7 @@ function ensureValidVNode(vnodes) {
5094
5094
 
5095
5095
  function toHandlers(obj, preserveCaseIfNecessary) {
5096
5096
  const ret = {};
5097
- if (process.env.NODE_ENV !== "production" && !isObject(obj)) {
5097
+ if (!!(process.env.NODE_ENV !== "production") && !isObject(obj)) {
5098
5098
  warn(`v-on with no argument expects an object value.`);
5099
5099
  return ret;
5100
5100
  }
@@ -5252,7 +5252,7 @@ function installCompatInstanceProperties(map) {
5252
5252
  if (isCompatEnabled("RENDER_FUNCTION", i) && i.render && i.render._compatWrapped) {
5253
5253
  return new Proxy(i.slots, legacySlotProxyHandlers);
5254
5254
  }
5255
- return process.env.NODE_ENV !== "production" ? shallowReadonly(i.slots) : i.slots;
5255
+ return !!(process.env.NODE_ENV !== "production") ? shallowReadonly(i.slots) : i.slots;
5256
5256
  },
5257
5257
  $scopedSlots: (i) => {
5258
5258
  assertCompatEnabled("INSTANCE_SCOPED_SLOTS", i);
@@ -5327,10 +5327,10 @@ const publicPropertiesMap = (
5327
5327
  $: (i) => i,
5328
5328
  $el: (i) => i.vnode.el,
5329
5329
  $data: (i) => i.data,
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,
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,
5334
5334
  $parent: (i) => getPublicInstance(i.parent),
5335
5335
  $root: (i) => getPublicInstance(i.root),
5336
5336
  $emit: (i) => i.emit,
@@ -5348,7 +5348,7 @@ const hasSetupBinding = (state, key) => state !== EMPTY_OBJ && !state.__isScript
5348
5348
  const PublicInstanceProxyHandlers = {
5349
5349
  get({ _: instance }, key) {
5350
5350
  const { ctx, setupState, data, props, accessCache, type, appContext } = instance;
5351
- if (process.env.NODE_ENV !== "production" && key === "__isVue") {
5351
+ if (!!(process.env.NODE_ENV !== "production") && key === "__isVue") {
5352
5352
  return true;
5353
5353
  }
5354
5354
  let normalizedProps;
@@ -5390,8 +5390,8 @@ const PublicInstanceProxyHandlers = {
5390
5390
  if (publicGetter) {
5391
5391
  if (key === "$attrs") {
5392
5392
  track(instance, "get", key);
5393
- process.env.NODE_ENV !== "production" && markAttrsAccessed();
5394
- } else if (process.env.NODE_ENV !== "production" && key === "$slots") {
5393
+ !!(process.env.NODE_ENV !== "production") && markAttrsAccessed();
5394
+ } else if (!!(process.env.NODE_ENV !== "production") && key === "$slots") {
5395
5395
  track(instance, "get", key);
5396
5396
  }
5397
5397
  return publicGetter(instance);
@@ -5416,7 +5416,7 @@ const PublicInstanceProxyHandlers = {
5416
5416
  return isFunction(val) ? Object.assign(val.bind(instance.proxy), val) : val;
5417
5417
  }
5418
5418
  }
5419
- } 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
5420
5420
  // to infinite warning loop
5421
5421
  key.indexOf("__v") !== 0)) {
5422
5422
  if (data !== EMPTY_OBJ && isReservedPrefix(key[0]) && hasOwn(data, key)) {
@@ -5437,23 +5437,23 @@ const PublicInstanceProxyHandlers = {
5437
5437
  if (hasSetupBinding(setupState, key)) {
5438
5438
  setupState[key] = value;
5439
5439
  return true;
5440
- } 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)) {
5441
5441
  warn(`Cannot mutate <script setup> binding "${key}" from Options API.`);
5442
5442
  return false;
5443
5443
  } else if (data !== EMPTY_OBJ && hasOwn(data, key)) {
5444
5444
  data[key] = value;
5445
5445
  return true;
5446
5446
  } else if (hasOwn(instance.props, key)) {
5447
- 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.`);
5448
5448
  return false;
5449
5449
  }
5450
5450
  if (key[0] === "$" && key.slice(1) in instance) {
5451
- process.env.NODE_ENV !== "production" && warn(
5451
+ !!(process.env.NODE_ENV !== "production") && warn(
5452
5452
  `Attempting to mutate public property "${key}". Properties starting with $ are reserved and readonly.`
5453
5453
  );
5454
5454
  return false;
5455
5455
  } else {
5456
- 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) {
5457
5457
  Object.defineProperty(ctx, key, {
5458
5458
  enumerable: true,
5459
5459
  configurable: true,
@@ -5480,7 +5480,7 @@ const PublicInstanceProxyHandlers = {
5480
5480
  return Reflect.defineProperty(target, key, descriptor);
5481
5481
  }
5482
5482
  };
5483
- if (process.env.NODE_ENV !== "production" && true) {
5483
+ if (!!(process.env.NODE_ENV !== "production") && true) {
5484
5484
  PublicInstanceProxyHandlers.ownKeys = (target) => {
5485
5485
  warn(
5486
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.`
@@ -5500,7 +5500,7 @@ const RuntimeCompiledPublicInstanceProxyHandlers = /* @__PURE__ */ extend(
5500
5500
  },
5501
5501
  has(_, key) {
5502
5502
  const has = key[0] !== "_" && !isGloballyWhitelisted(key);
5503
- if (process.env.NODE_ENV !== "production" && !has && PublicInstanceProxyHandlers.has(_, key)) {
5503
+ if (!!(process.env.NODE_ENV !== "production") && !has && PublicInstanceProxyHandlers.has(_, key)) {
5504
5504
  warn(
5505
5505
  `Property ${JSON.stringify(
5506
5506
  key
@@ -5573,7 +5573,7 @@ function deepMergeData(to, from) {
5573
5573
  const toVal = to[key];
5574
5574
  const fromVal = from[key];
5575
5575
  if (key in to && isPlainObject(toVal) && isPlainObject(fromVal)) {
5576
- process.env.NODE_ENV !== "production" && warnDeprecation("OPTIONS_DATA_MERGE", null, key);
5576
+ !!(process.env.NODE_ENV !== "production") && warnDeprecation("OPTIONS_DATA_MERGE", null, key);
5577
5577
  deepMergeData(toVal, fromVal);
5578
5578
  } else {
5579
5579
  to[key] = fromVal;
@@ -5586,40 +5586,40 @@ const warnRuntimeUsage = (method) => warn(
5586
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.`
5587
5587
  );
5588
5588
  function defineProps() {
5589
- if (process.env.NODE_ENV !== "production") {
5589
+ if (!!(process.env.NODE_ENV !== "production")) {
5590
5590
  warnRuntimeUsage(`defineProps`);
5591
5591
  }
5592
5592
  return null;
5593
5593
  }
5594
5594
  function defineEmits() {
5595
- if (process.env.NODE_ENV !== "production") {
5595
+ if (!!(process.env.NODE_ENV !== "production")) {
5596
5596
  warnRuntimeUsage(`defineEmits`);
5597
5597
  }
5598
5598
  return null;
5599
5599
  }
5600
5600
  function defineExpose(exposed) {
5601
- if (process.env.NODE_ENV !== "production") {
5601
+ if (!!(process.env.NODE_ENV !== "production")) {
5602
5602
  warnRuntimeUsage(`defineExpose`);
5603
5603
  }
5604
5604
  }
5605
5605
  function defineOptions(options) {
5606
- if (process.env.NODE_ENV !== "production") {
5606
+ if (!!(process.env.NODE_ENV !== "production")) {
5607
5607
  warnRuntimeUsage(`defineOptions`);
5608
5608
  }
5609
5609
  }
5610
5610
  function defineSlots() {
5611
- if (process.env.NODE_ENV !== "production") {
5611
+ if (!!(process.env.NODE_ENV !== "production")) {
5612
5612
  warnRuntimeUsage(`defineSlots`);
5613
5613
  }
5614
5614
  return null;
5615
5615
  }
5616
5616
  function defineModel() {
5617
- if (process.env.NODE_ENV !== "production") {
5617
+ if (!!(process.env.NODE_ENV !== "production")) {
5618
5618
  warnRuntimeUsage("defineModel");
5619
5619
  }
5620
5620
  }
5621
5621
  function withDefaults(props, defaults) {
5622
- if (process.env.NODE_ENV !== "production") {
5622
+ if (!!(process.env.NODE_ENV !== "production")) {
5623
5623
  warnRuntimeUsage(`withDefaults`);
5624
5624
  }
5625
5625
  return null;
@@ -5632,11 +5632,11 @@ function useAttrs() {
5632
5632
  }
5633
5633
  function useModel(props, name, options) {
5634
5634
  const i = getCurrentInstance();
5635
- if (process.env.NODE_ENV !== "production" && !i) {
5635
+ if (!!(process.env.NODE_ENV !== "production") && !i) {
5636
5636
  warn(`useModel() called without active instance.`);
5637
5637
  return ref();
5638
5638
  }
5639
- if (process.env.NODE_ENV !== "production" && !i.propsOptions[0][name]) {
5639
+ if (!!(process.env.NODE_ENV !== "production") && !i.propsOptions[0][name]) {
5640
5640
  warn(`useModel() called with prop "${name}" which is not declared.`);
5641
5641
  return ref();
5642
5642
  }
@@ -5666,7 +5666,7 @@ function useModel(props, name, options) {
5666
5666
  }
5667
5667
  function getContext() {
5668
5668
  const i = getCurrentInstance();
5669
- if (process.env.NODE_ENV !== "production" && !i) {
5669
+ if (!!(process.env.NODE_ENV !== "production") && !i) {
5670
5670
  warn(`useContext() called without active instance.`);
5671
5671
  }
5672
5672
  return i.setupContext || (i.setupContext = createSetupContext(i));
@@ -5691,7 +5691,7 @@ function mergeDefaults(raw, defaults) {
5691
5691
  }
5692
5692
  } else if (opt === null) {
5693
5693
  opt = props[key] = { default: defaults[key] };
5694
- } else if (process.env.NODE_ENV !== "production") {
5694
+ } else if (!!(process.env.NODE_ENV !== "production")) {
5695
5695
  warn(`props default key "${key}" has no corresponding declaration.`);
5696
5696
  }
5697
5697
  if (opt && defaults[`__skip_${key}`]) {
@@ -5721,7 +5721,7 @@ function createPropsRestProxy(props, excludedKeys) {
5721
5721
  }
5722
5722
  function withAsyncContext(getAwaitable) {
5723
5723
  const ctx = getCurrentInstance();
5724
- if (process.env.NODE_ENV !== "production" && !ctx) {
5724
+ if (!!(process.env.NODE_ENV !== "production") && !ctx) {
5725
5725
  warn(
5726
5726
  `withAsyncContext called without active current instance. This is likely a bug.`
5727
5727
  );
@@ -5789,8 +5789,8 @@ function applyOptions(instance) {
5789
5789
  directives,
5790
5790
  filters
5791
5791
  } = options;
5792
- const checkDuplicateProperties = process.env.NODE_ENV !== "production" ? createDuplicateChecker() : null;
5793
- if (process.env.NODE_ENV !== "production") {
5792
+ const checkDuplicateProperties = !!(process.env.NODE_ENV !== "production") ? createDuplicateChecker() : null;
5793
+ if (!!(process.env.NODE_ENV !== "production")) {
5794
5794
  const [propsOptions] = instance.propsOptions;
5795
5795
  if (propsOptions) {
5796
5796
  for (const key in propsOptions) {
@@ -5805,7 +5805,7 @@ function applyOptions(instance) {
5805
5805
  for (const key in methods) {
5806
5806
  const methodHandler = methods[key];
5807
5807
  if (isFunction(methodHandler)) {
5808
- if (process.env.NODE_ENV !== "production") {
5808
+ if (!!(process.env.NODE_ENV !== "production")) {
5809
5809
  Object.defineProperty(ctx, key, {
5810
5810
  value: methodHandler.bind(publicThis),
5811
5811
  configurable: true,
@@ -5815,10 +5815,10 @@ function applyOptions(instance) {
5815
5815
  } else {
5816
5816
  ctx[key] = methodHandler.bind(publicThis);
5817
5817
  }
5818
- if (process.env.NODE_ENV !== "production") {
5818
+ if (!!(process.env.NODE_ENV !== "production")) {
5819
5819
  checkDuplicateProperties("Methods" /* METHODS */, key);
5820
5820
  }
5821
- } else if (process.env.NODE_ENV !== "production") {
5821
+ } else if (!!(process.env.NODE_ENV !== "production")) {
5822
5822
  warn(
5823
5823
  `Method "${key}" has type "${typeof methodHandler}" in the component definition. Did you reference the function correctly?`
5824
5824
  );
@@ -5826,22 +5826,22 @@ function applyOptions(instance) {
5826
5826
  }
5827
5827
  }
5828
5828
  if (dataOptions) {
5829
- if (process.env.NODE_ENV !== "production" && !isFunction(dataOptions)) {
5829
+ if (!!(process.env.NODE_ENV !== "production") && !isFunction(dataOptions)) {
5830
5830
  warn(
5831
5831
  `The data option must be a function. Plain object usage is no longer supported.`
5832
5832
  );
5833
5833
  }
5834
5834
  const data = dataOptions.call(publicThis, publicThis);
5835
- if (process.env.NODE_ENV !== "production" && isPromise(data)) {
5835
+ if (!!(process.env.NODE_ENV !== "production") && isPromise(data)) {
5836
5836
  warn(
5837
5837
  `data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>.`
5838
5838
  );
5839
5839
  }
5840
5840
  if (!isObject(data)) {
5841
- process.env.NODE_ENV !== "production" && warn(`data() should return an object.`);
5841
+ !!(process.env.NODE_ENV !== "production") && warn(`data() should return an object.`);
5842
5842
  } else {
5843
5843
  instance.data = reactive(data);
5844
- if (process.env.NODE_ENV !== "production") {
5844
+ if (!!(process.env.NODE_ENV !== "production")) {
5845
5845
  for (const key in data) {
5846
5846
  checkDuplicateProperties("Data" /* DATA */, key);
5847
5847
  if (!isReservedPrefix(key[0])) {
@@ -5861,10 +5861,10 @@ function applyOptions(instance) {
5861
5861
  for (const key in computedOptions) {
5862
5862
  const opt = computedOptions[key];
5863
5863
  const get = isFunction(opt) ? opt.bind(publicThis, publicThis) : isFunction(opt.get) ? opt.get.bind(publicThis, publicThis) : NOOP;
5864
- if (process.env.NODE_ENV !== "production" && get === NOOP) {
5864
+ if (!!(process.env.NODE_ENV !== "production") && get === NOOP) {
5865
5865
  warn(`Computed property "${key}" has no getter.`);
5866
5866
  }
5867
- 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") ? () => {
5868
5868
  warn(
5869
5869
  `Write operation failed: computed property "${key}" is readonly.`
5870
5870
  );
@@ -5879,7 +5879,7 @@ function applyOptions(instance) {
5879
5879
  get: () => c.value,
5880
5880
  set: (v) => c.value = v
5881
5881
  });
5882
- if (process.env.NODE_ENV !== "production") {
5882
+ if (!!(process.env.NODE_ENV !== "production")) {
5883
5883
  checkDuplicateProperties("Computed" /* COMPUTED */, key);
5884
5884
  }
5885
5885
  }
@@ -5983,7 +5983,7 @@ function resolveInjections(injectOptions, ctx, checkDuplicateProperties = NOOP)
5983
5983
  } else {
5984
5984
  ctx[key] = injected;
5985
5985
  }
5986
- if (process.env.NODE_ENV !== "production") {
5986
+ if (!!(process.env.NODE_ENV !== "production")) {
5987
5987
  checkDuplicateProperties("Inject" /* INJECT */, key);
5988
5988
  }
5989
5989
  }
@@ -6001,7 +6001,7 @@ function createWatcher(raw, ctx, publicThis, key) {
6001
6001
  const handler = ctx[raw];
6002
6002
  if (isFunction(handler)) {
6003
6003
  watch(getter, handler);
6004
- } else if (process.env.NODE_ENV !== "production") {
6004
+ } else if (!!(process.env.NODE_ENV !== "production")) {
6005
6005
  warn(`Invalid watch handler specified by key "${raw}"`, handler);
6006
6006
  }
6007
6007
  } else if (isFunction(raw)) {
@@ -6013,11 +6013,11 @@ function createWatcher(raw, ctx, publicThis, key) {
6013
6013
  const handler = isFunction(raw.handler) ? raw.handler.bind(publicThis) : ctx[raw.handler];
6014
6014
  if (isFunction(handler)) {
6015
6015
  watch(getter, handler, raw);
6016
- } else if (process.env.NODE_ENV !== "production") {
6016
+ } else if (!!(process.env.NODE_ENV !== "production")) {
6017
6017
  warn(`Invalid watch handler specified by key "${raw.handler}"`, handler);
6018
6018
  }
6019
6019
  }
6020
- } else if (process.env.NODE_ENV !== "production") {
6020
+ } else if (!!(process.env.NODE_ENV !== "production")) {
6021
6021
  warn(`Invalid watch option: "${key}"`, raw);
6022
6022
  }
6023
6023
  }
@@ -6070,7 +6070,7 @@ function mergeOptions(to, from, strats, asMixin = false) {
6070
6070
  }
6071
6071
  for (const key in from) {
6072
6072
  if (asMixin && key === "expose") {
6073
- process.env.NODE_ENV !== "production" && warn(
6073
+ !!(process.env.NODE_ENV !== "production") && warn(
6074
6074
  `"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.`
6075
6075
  );
6076
6076
  } else {
@@ -6238,7 +6238,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
6238
6238
  return vm;
6239
6239
  }
6240
6240
  }
6241
- Vue.version = `2.6.14-compat:${"3.3.2"}`;
6241
+ Vue.version = `2.6.14-compat:${"3.3.4"}`;
6242
6242
  Vue.config = singletonApp.config;
6243
6243
  Vue.use = (p, ...options) => {
6244
6244
  if (p && isFunction(p.install)) {
@@ -6339,7 +6339,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
6339
6339
  }
6340
6340
  };
6341
6341
  const util = {
6342
- warn: process.env.NODE_ENV !== "production" ? warn : NOOP,
6342
+ warn: !!(process.env.NODE_ENV !== "production") ? warn : NOOP,
6343
6343
  extend,
6344
6344
  mergeOptions: (parent, child, vm) => mergeOptions(
6345
6345
  parent,
@@ -6366,7 +6366,7 @@ function installAppCompatProperties(app, context, render) {
6366
6366
  installCompatMount(app, context, render);
6367
6367
  installLegacyAPIs(app);
6368
6368
  applySingletonAppMutations(app);
6369
- if (process.env.NODE_ENV !== "production")
6369
+ if (!!(process.env.NODE_ENV !== "production"))
6370
6370
  installLegacyConfigWarnings(app.config);
6371
6371
  }
6372
6372
  function installFilterMethod(app, context) {
@@ -6376,7 +6376,7 @@ function installFilterMethod(app, context) {
6376
6376
  if (!filter) {
6377
6377
  return context.filters[name];
6378
6378
  }
6379
- if (process.env.NODE_ENV !== "production" && context.filters[name]) {
6379
+ if (!!(process.env.NODE_ENV !== "production") && context.filters[name]) {
6380
6380
  warn(`Filter "${name}" has already been registered.`);
6381
6381
  }
6382
6382
  context.filters[name] = filter;
@@ -6388,7 +6388,7 @@ function installLegacyAPIs(app) {
6388
6388
  // so that app.use() can work with legacy plugins that extend prototypes
6389
6389
  prototype: {
6390
6390
  get() {
6391
- process.env.NODE_ENV !== "production" && warnDeprecation("GLOBAL_PROTOTYPE", null);
6391
+ !!(process.env.NODE_ENV !== "production") && warnDeprecation("GLOBAL_PROTOTYPE", null);
6392
6392
  return app.config.globalProperties;
6393
6393
  }
6394
6394
  },
@@ -6446,7 +6446,7 @@ function applySingletonPrototype(app, Ctor) {
6446
6446
  }
6447
6447
  }
6448
6448
  }
6449
- if (process.env.NODE_ENV !== "production" && hasPrototypeAugmentations) {
6449
+ if (!!(process.env.NODE_ENV !== "production") && hasPrototypeAugmentations) {
6450
6450
  warnDeprecation("GLOBAL_PROTOTYPE", null);
6451
6451
  }
6452
6452
  }
@@ -6468,14 +6468,14 @@ function installCompatMount(app, context, render) {
6468
6468
  vnode.isCompatRoot = true;
6469
6469
  instance.ctx._compat_mount = (selectorOrEl) => {
6470
6470
  if (isMounted) {
6471
- process.env.NODE_ENV !== "production" && warn(`Root instance is already mounted.`);
6471
+ !!(process.env.NODE_ENV !== "production") && warn(`Root instance is already mounted.`);
6472
6472
  return;
6473
6473
  }
6474
6474
  let container;
6475
6475
  if (typeof selectorOrEl === "string") {
6476
6476
  const result = document.querySelector(selectorOrEl);
6477
6477
  if (!result) {
6478
- process.env.NODE_ENV !== "production" && warn(
6478
+ !!(process.env.NODE_ENV !== "production") && warn(
6479
6479
  `Failed to mount root instance: selector "${selectorOrEl}" returned null.`
6480
6480
  );
6481
6481
  return;
@@ -6485,7 +6485,7 @@ function installCompatMount(app, context, render) {
6485
6485
  container = selectorOrEl || document.createElement("div");
6486
6486
  }
6487
6487
  const isSVG = container instanceof SVGElement;
6488
- if (process.env.NODE_ENV !== "production") {
6488
+ if (!!(process.env.NODE_ENV !== "production")) {
6489
6489
  context.reload = () => {
6490
6490
  const cloned = cloneVNode(vnode);
6491
6491
  cloned.component = null;
@@ -6493,7 +6493,7 @@ function installCompatMount(app, context, render) {
6493
6493
  };
6494
6494
  }
6495
6495
  if (hasNoRender && instance.render === emptyRender) {
6496
- if (process.env.NODE_ENV !== "production") {
6496
+ if (!!(process.env.NODE_ENV !== "production")) {
6497
6497
  for (let i = 0; i < container.attributes.length; i++) {
6498
6498
  const attr = container.attributes[i];
6499
6499
  if (attr.name !== "v-cloak" && /^(v-|:|@)/.test(attr.name)) {
@@ -6520,7 +6520,7 @@ function installCompatMount(app, context, render) {
6520
6520
  isMounted = true;
6521
6521
  app._container = container;
6522
6522
  container.__vue_app__ = app;
6523
- if (process.env.NODE_ENV !== "production" || __VUE_PROD_DEVTOOLS__) {
6523
+ if (!!(process.env.NODE_ENV !== "production") || __VUE_PROD_DEVTOOLS__) {
6524
6524
  devtoolsInitApp(app, version);
6525
6525
  }
6526
6526
  return instance.proxy;
@@ -6528,7 +6528,7 @@ function installCompatMount(app, context, render) {
6528
6528
  instance.ctx._compat_destroy = () => {
6529
6529
  if (isMounted) {
6530
6530
  render(null, app._container);
6531
- if (process.env.NODE_ENV !== "production" || __VUE_PROD_DEVTOOLS__) {
6531
+ if (!!(process.env.NODE_ENV !== "production") || __VUE_PROD_DEVTOOLS__) {
6532
6532
  devtoolsUnmountApp(app);
6533
6533
  }
6534
6534
  delete app._container.__vue_app__;
@@ -6636,11 +6636,11 @@ function createAppAPI(render, hydrate) {
6636
6636
  rootComponent = extend({}, rootComponent);
6637
6637
  }
6638
6638
  if (rootProps != null && !isObject(rootProps)) {
6639
- 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.`);
6640
6640
  rootProps = null;
6641
6641
  }
6642
6642
  const context = createAppContext();
6643
- if (process.env.NODE_ENV !== "production") {
6643
+ if (!!(process.env.NODE_ENV !== "production")) {
6644
6644
  Object.defineProperty(context.config, "unwrapInjectedRef", {
6645
6645
  get() {
6646
6646
  return true;
@@ -6666,7 +6666,7 @@ function createAppAPI(render, hydrate) {
6666
6666
  return context.config;
6667
6667
  },
6668
6668
  set config(v) {
6669
- if (process.env.NODE_ENV !== "production") {
6669
+ if (!!(process.env.NODE_ENV !== "production")) {
6670
6670
  warn(
6671
6671
  `app.config cannot be replaced. Modify individual options instead.`
6672
6672
  );
@@ -6674,14 +6674,14 @@ function createAppAPI(render, hydrate) {
6674
6674
  },
6675
6675
  use(plugin, ...options) {
6676
6676
  if (installedPlugins.has(plugin)) {
6677
- 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.`);
6678
6678
  } else if (plugin && isFunction(plugin.install)) {
6679
6679
  installedPlugins.add(plugin);
6680
6680
  plugin.install(app, ...options);
6681
6681
  } else if (isFunction(plugin)) {
6682
6682
  installedPlugins.add(plugin);
6683
6683
  plugin(app, ...options);
6684
- } else if (process.env.NODE_ENV !== "production") {
6684
+ } else if (!!(process.env.NODE_ENV !== "production")) {
6685
6685
  warn(
6686
6686
  `A plugin must either be a function or an object with an "install" function.`
6687
6687
  );
@@ -6692,37 +6692,37 @@ function createAppAPI(render, hydrate) {
6692
6692
  if (__VUE_OPTIONS_API__) {
6693
6693
  if (!context.mixins.includes(mixin)) {
6694
6694
  context.mixins.push(mixin);
6695
- } else if (process.env.NODE_ENV !== "production") {
6695
+ } else if (!!(process.env.NODE_ENV !== "production")) {
6696
6696
  warn(
6697
6697
  "Mixin has already been applied to target app" + (mixin.name ? `: ${mixin.name}` : "")
6698
6698
  );
6699
6699
  }
6700
- } else if (process.env.NODE_ENV !== "production") {
6700
+ } else if (!!(process.env.NODE_ENV !== "production")) {
6701
6701
  warn("Mixins are only available in builds supporting Options API");
6702
6702
  }
6703
6703
  return app;
6704
6704
  },
6705
6705
  component(name, component) {
6706
- if (process.env.NODE_ENV !== "production") {
6706
+ if (!!(process.env.NODE_ENV !== "production")) {
6707
6707
  validateComponentName(name, context.config);
6708
6708
  }
6709
6709
  if (!component) {
6710
6710
  return context.components[name];
6711
6711
  }
6712
- if (process.env.NODE_ENV !== "production" && context.components[name]) {
6712
+ if (!!(process.env.NODE_ENV !== "production") && context.components[name]) {
6713
6713
  warn(`Component "${name}" has already been registered in target app.`);
6714
6714
  }
6715
6715
  context.components[name] = component;
6716
6716
  return app;
6717
6717
  },
6718
6718
  directive(name, directive) {
6719
- if (process.env.NODE_ENV !== "production") {
6719
+ if (!!(process.env.NODE_ENV !== "production")) {
6720
6720
  validateDirectiveName(name);
6721
6721
  }
6722
6722
  if (!directive) {
6723
6723
  return context.directives[name];
6724
6724
  }
6725
- if (process.env.NODE_ENV !== "production" && context.directives[name]) {
6725
+ if (!!(process.env.NODE_ENV !== "production") && context.directives[name]) {
6726
6726
  warn(`Directive "${name}" has already been registered in target app.`);
6727
6727
  }
6728
6728
  context.directives[name] = directive;
@@ -6730,7 +6730,7 @@ function createAppAPI(render, hydrate) {
6730
6730
  },
6731
6731
  mount(rootContainer, isHydrate, isSVG) {
6732
6732
  if (!isMounted) {
6733
- if (process.env.NODE_ENV !== "production" && rootContainer.__vue_app__) {
6733
+ if (!!(process.env.NODE_ENV !== "production") && rootContainer.__vue_app__) {
6734
6734
  warn(
6735
6735
  `There is already an app instance mounted on the host container.
6736
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.`
@@ -6741,7 +6741,7 @@ function createAppAPI(render, hydrate) {
6741
6741
  rootProps
6742
6742
  );
6743
6743
  vnode.appContext = context;
6744
- if (process.env.NODE_ENV !== "production") {
6744
+ if (!!(process.env.NODE_ENV !== "production")) {
6745
6745
  context.reload = () => {
6746
6746
  render(cloneVNode(vnode), rootContainer, isSVG);
6747
6747
  };
@@ -6754,12 +6754,12 @@ function createAppAPI(render, hydrate) {
6754
6754
  isMounted = true;
6755
6755
  app._container = rootContainer;
6756
6756
  rootContainer.__vue_app__ = app;
6757
- if (process.env.NODE_ENV !== "production" || __VUE_PROD_DEVTOOLS__) {
6757
+ if (!!(process.env.NODE_ENV !== "production") || __VUE_PROD_DEVTOOLS__) {
6758
6758
  app._instance = vnode.component;
6759
6759
  devtoolsInitApp(app, version);
6760
6760
  }
6761
6761
  return getExposeProxy(vnode.component) || vnode.component.proxy;
6762
- } else if (process.env.NODE_ENV !== "production") {
6762
+ } else if (!!(process.env.NODE_ENV !== "production")) {
6763
6763
  warn(
6764
6764
  `App has already been mounted.
6765
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)\``
@@ -6769,17 +6769,17 @@ If you want to remount the same app, move your app creation logic into a factory
6769
6769
  unmount() {
6770
6770
  if (isMounted) {
6771
6771
  render(null, app._container);
6772
- if (process.env.NODE_ENV !== "production" || __VUE_PROD_DEVTOOLS__) {
6772
+ if (!!(process.env.NODE_ENV !== "production") || __VUE_PROD_DEVTOOLS__) {
6773
6773
  app._instance = null;
6774
6774
  devtoolsUnmountApp(app);
6775
6775
  }
6776
6776
  delete app._container.__vue_app__;
6777
- } else if (process.env.NODE_ENV !== "production") {
6777
+ } else if (!!(process.env.NODE_ENV !== "production")) {
6778
6778
  warn(`Cannot unmount an app that is not mounted.`);
6779
6779
  }
6780
6780
  },
6781
6781
  provide(key, value) {
6782
- if (process.env.NODE_ENV !== "production" && key in context.provides) {
6782
+ if (!!(process.env.NODE_ENV !== "production") && key in context.provides) {
6783
6783
  warn(
6784
6784
  `App already provides property with key "${String(key)}". It will be overwritten with the new value.`
6785
6785
  );
@@ -6806,7 +6806,7 @@ let currentApp = null;
6806
6806
 
6807
6807
  function provide(key, value) {
6808
6808
  if (!currentInstance) {
6809
- if (process.env.NODE_ENV !== "production") {
6809
+ if (!!(process.env.NODE_ENV !== "production")) {
6810
6810
  warn(`provide() can only be used inside setup().`);
6811
6811
  }
6812
6812
  } else {
@@ -6826,10 +6826,10 @@ function inject(key, defaultValue, treatDefaultAsFactory = false) {
6826
6826
  return provides[key];
6827
6827
  } else if (arguments.length > 1) {
6828
6828
  return treatDefaultAsFactory && isFunction(defaultValue) ? defaultValue.call(instance && instance.proxy) : defaultValue;
6829
- } else if (process.env.NODE_ENV !== "production") {
6829
+ } else if (!!(process.env.NODE_ENV !== "production")) {
6830
6830
  warn(`injection "${String(key)}" not found.`);
6831
6831
  }
6832
- } else if (process.env.NODE_ENV !== "production") {
6832
+ } else if (!!(process.env.NODE_ENV !== "production")) {
6833
6833
  warn(`inject() can only be used inside setup() or functional components.`);
6834
6834
  }
6835
6835
  }
@@ -6842,7 +6842,7 @@ function createPropsDefaultThis(instance, rawProps, propKey) {
6842
6842
  {},
6843
6843
  {
6844
6844
  get(_, key) {
6845
- process.env.NODE_ENV !== "production" && warnDeprecation("PROPS_DEFAULT_THIS", null, propKey);
6845
+ !!(process.env.NODE_ENV !== "production") && warnDeprecation("PROPS_DEFAULT_THIS", null, propKey);
6846
6846
  if (key === "$options") {
6847
6847
  return resolveMergedOptions(instance);
6848
6848
  }
@@ -6891,7 +6891,7 @@ function initProps(instance, rawProps, isStateful, isSSR = false) {
6891
6891
  props[key] = void 0;
6892
6892
  }
6893
6893
  }
6894
- if (process.env.NODE_ENV !== "production") {
6894
+ if (!!(process.env.NODE_ENV !== "production")) {
6895
6895
  validateProps(rawProps || {}, props, instance);
6896
6896
  }
6897
6897
  if (isStateful) {
@@ -6925,7 +6925,7 @@ function updateProps(instance, rawProps, rawPrevProps, optimized) {
6925
6925
  // always force full diff in dev
6926
6926
  // - #1942 if hmr is enabled with sfc component
6927
6927
  // - vite#872 non-sfc component used by sfc component
6928
- !(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)
6929
6929
  ) {
6930
6930
  if (patchFlag & 8) {
6931
6931
  const propsToUpdate = instance.vnode.dynamicProps;
@@ -7009,7 +7009,7 @@ function updateProps(instance, rawProps, rawPrevProps, optimized) {
7009
7009
  if (hasAttrsChanged) {
7010
7010
  trigger(instance, "set", "$attrs");
7011
7011
  }
7012
- if (process.env.NODE_ENV !== "production") {
7012
+ if (!!(process.env.NODE_ENV !== "production")) {
7013
7013
  validateProps(rawProps || {}, props, instance);
7014
7014
  }
7015
7015
  }
@@ -7145,7 +7145,7 @@ function normalizePropsOptions(comp, appContext, asMixin = false) {
7145
7145
  }
7146
7146
  if (isArray(raw)) {
7147
7147
  for (let i = 0; i < raw.length; i++) {
7148
- if (process.env.NODE_ENV !== "production" && !isString(raw[i])) {
7148
+ if (!!(process.env.NODE_ENV !== "production") && !isString(raw[i])) {
7149
7149
  warn(`props must be strings when using array syntax.`, raw[i]);
7150
7150
  }
7151
7151
  const normalizedKey = camelize(raw[i]);
@@ -7154,7 +7154,7 @@ function normalizePropsOptions(comp, appContext, asMixin = false) {
7154
7154
  }
7155
7155
  }
7156
7156
  } else if (raw) {
7157
- if (process.env.NODE_ENV !== "production" && !isObject(raw)) {
7157
+ if (!!(process.env.NODE_ENV !== "production") && !isObject(raw)) {
7158
7158
  warn(`invalid props options`, raw);
7159
7159
  }
7160
7160
  for (const key in raw) {
@@ -7183,7 +7183,7 @@ function normalizePropsOptions(comp, appContext, asMixin = false) {
7183
7183
  function validatePropName(key) {
7184
7184
  if (key[0] !== "$") {
7185
7185
  return true;
7186
- } else if (process.env.NODE_ENV !== "production") {
7186
+ } else if (!!(process.env.NODE_ENV !== "production")) {
7187
7187
  warn(`Invalid prop name: "${key}" is a reserved property.`);
7188
7188
  }
7189
7189
  return false;
@@ -7310,7 +7310,7 @@ const normalizeSlot = (key, rawSlot, ctx) => {
7310
7310
  return rawSlot;
7311
7311
  }
7312
7312
  const normalized = withCtx((...args) => {
7313
- if (process.env.NODE_ENV !== "production" && currentInstance) {
7313
+ if (!!(process.env.NODE_ENV !== "production") && currentInstance) {
7314
7314
  warn(
7315
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.`
7316
7316
  );
@@ -7329,7 +7329,7 @@ const normalizeObjectSlots = (rawSlots, slots, instance) => {
7329
7329
  if (isFunction(value)) {
7330
7330
  slots[key] = normalizeSlot(key, value, ctx);
7331
7331
  } else if (value != null) {
7332
- if (process.env.NODE_ENV !== "production" && !isCompatEnabled("RENDER_FUNCTION", instance)) {
7332
+ if (!!(process.env.NODE_ENV !== "production") && !isCompatEnabled("RENDER_FUNCTION", instance)) {
7333
7333
  warn(
7334
7334
  `Non-function value encountered for slot "${key}". Prefer function slots for better performance.`
7335
7335
  );
@@ -7340,7 +7340,7 @@ const normalizeObjectSlots = (rawSlots, slots, instance) => {
7340
7340
  }
7341
7341
  };
7342
7342
  const normalizeVNodeSlots = (instance, children) => {
7343
- 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)) {
7344
7344
  warn(
7345
7345
  `Non-function value encountered for default slot. Prefer function slots for better performance.`
7346
7346
  );
@@ -7376,7 +7376,7 @@ const updateSlots = (instance, children, optimized) => {
7376
7376
  if (vnode.shapeFlag & 32) {
7377
7377
  const type = children._;
7378
7378
  if (type) {
7379
- if (process.env.NODE_ENV !== "production" && isHmrUpdating) {
7379
+ if (!!(process.env.NODE_ENV !== "production") && isHmrUpdating) {
7380
7380
  extend(slots, children);
7381
7381
  trigger(instance, "set", "$slots");
7382
7382
  } else if (optimized && type === 1) {
@@ -7424,7 +7424,7 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
7424
7424
  const refValue = vnode.shapeFlag & 4 ? getExposeProxy(vnode.component) || vnode.component.proxy : vnode.el;
7425
7425
  const value = isUnmount ? null : refValue;
7426
7426
  const { i: owner, r: ref } = rawRef;
7427
- if (process.env.NODE_ENV !== "production" && !owner) {
7427
+ if (!!(process.env.NODE_ENV !== "production") && !owner) {
7428
7428
  warn(
7429
7429
  `Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.`
7430
7430
  );
@@ -7479,7 +7479,7 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
7479
7479
  ref.value = value;
7480
7480
  if (rawRef.k)
7481
7481
  refs[rawRef.k] = value;
7482
- } else if (process.env.NODE_ENV !== "production") {
7482
+ } else if (!!(process.env.NODE_ENV !== "production")) {
7483
7483
  warn("Invalid template ref type:", ref, `(${typeof ref})`);
7484
7484
  }
7485
7485
  };
@@ -7489,7 +7489,7 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
7489
7489
  } else {
7490
7490
  doSet();
7491
7491
  }
7492
- } else if (process.env.NODE_ENV !== "production") {
7492
+ } else if (!!(process.env.NODE_ENV !== "production")) {
7493
7493
  warn("Invalid template ref type:", ref, `(${typeof ref})`);
7494
7494
  }
7495
7495
  }
@@ -7514,7 +7514,7 @@ function createHydrationFunctions(rendererInternals) {
7514
7514
  } = rendererInternals;
7515
7515
  const hydrate = (vnode, container) => {
7516
7516
  if (!container.hasChildNodes()) {
7517
- process.env.NODE_ENV !== "production" && warn(
7517
+ !!(process.env.NODE_ENV !== "production") && warn(
7518
7518
  `Attempting to hydrate existing markup but container is empty. Performing full mount instead.`
7519
7519
  );
7520
7520
  patch(null, vnode, container);
@@ -7560,7 +7560,7 @@ function createHydrationFunctions(rendererInternals) {
7560
7560
  } else {
7561
7561
  if (node.data !== vnode.children) {
7562
7562
  hasMismatch = true;
7563
- process.env.NODE_ENV !== "production" && warn(
7563
+ !!(process.env.NODE_ENV !== "production") && warn(
7564
7564
  `Hydration text mismatch:
7565
7565
  - Client: ${JSON.stringify(node.data)}
7566
7566
  - Server: ${JSON.stringify(vnode.children)}`
@@ -7680,7 +7680,7 @@ function createHydrationFunctions(rendererInternals) {
7680
7680
  rendererInternals,
7681
7681
  hydrateNode
7682
7682
  );
7683
- } else if (process.env.NODE_ENV !== "production") {
7683
+ } else if (!!(process.env.NODE_ENV !== "production")) {
7684
7684
  warn("Invalid HostVNode type:", type, `(${typeof type})`);
7685
7685
  }
7686
7686
  }
@@ -7693,7 +7693,7 @@ function createHydrationFunctions(rendererInternals) {
7693
7693
  optimized = optimized || !!vnode.dynamicChildren;
7694
7694
  const { type, props, patchFlag, shapeFlag, dirs } = vnode;
7695
7695
  const forcePatchValue = type === "input" && dirs || type === "option";
7696
- if (process.env.NODE_ENV !== "production" || forcePatchValue || patchFlag !== -1) {
7696
+ if (!!(process.env.NODE_ENV !== "production") || forcePatchValue || patchFlag !== -1) {
7697
7697
  if (dirs) {
7698
7698
  invokeDirectiveHook(vnode, null, parentComponent, "created");
7699
7699
  }
@@ -7751,7 +7751,7 @@ function createHydrationFunctions(rendererInternals) {
7751
7751
  let hasWarned = false;
7752
7752
  while (next) {
7753
7753
  hasMismatch = true;
7754
- if (process.env.NODE_ENV !== "production" && !hasWarned) {
7754
+ if (!!(process.env.NODE_ENV !== "production") && !hasWarned) {
7755
7755
  warn(
7756
7756
  `Hydration children mismatch in <${vnode.type}>: server rendered element contains more child nodes than client vdom.`
7757
7757
  );
@@ -7764,7 +7764,7 @@ function createHydrationFunctions(rendererInternals) {
7764
7764
  } else if (shapeFlag & 8) {
7765
7765
  if (el.textContent !== vnode.children) {
7766
7766
  hasMismatch = true;
7767
- process.env.NODE_ENV !== "production" && warn(
7767
+ !!(process.env.NODE_ENV !== "production") && warn(
7768
7768
  `Hydration text content mismatch in <${vnode.type}>:
7769
7769
  - Client: ${el.textContent}
7770
7770
  - Server: ${vnode.children}`
@@ -7795,7 +7795,7 @@ function createHydrationFunctions(rendererInternals) {
7795
7795
  continue;
7796
7796
  } else {
7797
7797
  hasMismatch = true;
7798
- if (process.env.NODE_ENV !== "production" && !hasWarned) {
7798
+ if (!!(process.env.NODE_ENV !== "production") && !hasWarned) {
7799
7799
  warn(
7800
7800
  `Hydration children mismatch in <${container.tagName.toLowerCase()}>: server rendered element contains fewer child nodes than client vdom.`
7801
7801
  );
@@ -7840,7 +7840,7 @@ function createHydrationFunctions(rendererInternals) {
7840
7840
  };
7841
7841
  const handleMismatch = (node, vnode, parentComponent, parentSuspense, slotScopeIds, isFragment) => {
7842
7842
  hasMismatch = true;
7843
- process.env.NODE_ENV !== "production" && warn(
7843
+ !!(process.env.NODE_ENV !== "production") && warn(
7844
7844
  `Hydration node mismatch:
7845
7845
  - Client vnode:`,
7846
7846
  vnode.type,
@@ -7903,7 +7903,7 @@ function startMeasure(instance, type) {
7903
7903
  if (instance.appContext.config.performance && isSupported()) {
7904
7904
  perf.mark(`vue-${type}-${instance.uid}`);
7905
7905
  }
7906
- if (process.env.NODE_ENV !== "production" || __VUE_PROD_DEVTOOLS__) {
7906
+ if (!!(process.env.NODE_ENV !== "production") || __VUE_PROD_DEVTOOLS__) {
7907
7907
  devtoolsPerfStart(instance, type, isSupported() ? perf.now() : Date.now());
7908
7908
  }
7909
7909
  }
@@ -7920,7 +7920,7 @@ function endMeasure(instance, type) {
7920
7920
  perf.clearMarks(startTag);
7921
7921
  perf.clearMarks(endTag);
7922
7922
  }
7923
- if (process.env.NODE_ENV !== "production" || __VUE_PROD_DEVTOOLS__) {
7923
+ if (!!(process.env.NODE_ENV !== "production") || __VUE_PROD_DEVTOOLS__) {
7924
7924
  devtoolsPerfEnd(instance, type, isSupported() ? perf.now() : Date.now());
7925
7925
  }
7926
7926
  }
@@ -7940,14 +7940,14 @@ function isSupported() {
7940
7940
  function initFeatureFlags() {
7941
7941
  const needWarn = [];
7942
7942
  if (typeof __VUE_OPTIONS_API__ !== "boolean") {
7943
- process.env.NODE_ENV !== "production" && needWarn.push(`__VUE_OPTIONS_API__`);
7943
+ !!(process.env.NODE_ENV !== "production") && needWarn.push(`__VUE_OPTIONS_API__`);
7944
7944
  getGlobalThis().__VUE_OPTIONS_API__ = true;
7945
7945
  }
7946
7946
  if (typeof __VUE_PROD_DEVTOOLS__ !== "boolean") {
7947
- process.env.NODE_ENV !== "production" && needWarn.push(`__VUE_PROD_DEVTOOLS__`);
7947
+ !!(process.env.NODE_ENV !== "production") && needWarn.push(`__VUE_PROD_DEVTOOLS__`);
7948
7948
  getGlobalThis().__VUE_PROD_DEVTOOLS__ = false;
7949
7949
  }
7950
- if (process.env.NODE_ENV !== "production" && needWarn.length) {
7950
+ if (!!(process.env.NODE_ENV !== "production") && needWarn.length) {
7951
7951
  const multi = needWarn.length > 1;
7952
7952
  console.warn(
7953
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.
@@ -7970,7 +7970,7 @@ function baseCreateRenderer(options, createHydrationFns) {
7970
7970
  }
7971
7971
  const target = getGlobalThis();
7972
7972
  target.__VUE__ = true;
7973
- if (process.env.NODE_ENV !== "production" || __VUE_PROD_DEVTOOLS__) {
7973
+ if (!!(process.env.NODE_ENV !== "production") || __VUE_PROD_DEVTOOLS__) {
7974
7974
  setDevtoolsHook(target.__VUE_DEVTOOLS_GLOBAL_HOOK__, target);
7975
7975
  }
7976
7976
  const {
@@ -7987,7 +7987,7 @@ function baseCreateRenderer(options, createHydrationFns) {
7987
7987
  setScopeId: hostSetScopeId = NOOP,
7988
7988
  insertStaticContent: hostInsertStaticContent
7989
7989
  } = options;
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) => {
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) => {
7991
7991
  if (n1 === n2) {
7992
7992
  return;
7993
7993
  }
@@ -8011,7 +8011,7 @@ function baseCreateRenderer(options, createHydrationFns) {
8011
8011
  case Static:
8012
8012
  if (n1 == null) {
8013
8013
  mountStaticNode(n2, container, anchor, isSVG);
8014
- } else if (process.env.NODE_ENV !== "production") {
8014
+ } else if (!!(process.env.NODE_ENV !== "production")) {
8015
8015
  patchStaticNode(n1, n2, container, isSVG);
8016
8016
  }
8017
8017
  break;
@@ -8079,7 +8079,7 @@ function baseCreateRenderer(options, createHydrationFns) {
8079
8079
  optimized,
8080
8080
  internals
8081
8081
  );
8082
- } else if (process.env.NODE_ENV !== "production") {
8082
+ } else if (!!(process.env.NODE_ENV !== "production")) {
8083
8083
  warn("Invalid VNode type:", type, `(${typeof type})`);
8084
8084
  }
8085
8085
  }
@@ -8231,7 +8231,7 @@ function baseCreateRenderer(options, createHydrationFns) {
8231
8231
  invokeVNodeHook(vnodeHook, parentComponent, vnode);
8232
8232
  }
8233
8233
  }
8234
- if (process.env.NODE_ENV !== "production" || __VUE_PROD_DEVTOOLS__) {
8234
+ if (!!(process.env.NODE_ENV !== "production") || __VUE_PROD_DEVTOOLS__) {
8235
8235
  Object.defineProperty(el, "__vnode", {
8236
8236
  value: vnode,
8237
8237
  enumerable: false
@@ -8268,7 +8268,7 @@ function baseCreateRenderer(options, createHydrationFns) {
8268
8268
  }
8269
8269
  if (parentComponent) {
8270
8270
  let subTree = parentComponent.subTree;
8271
- 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) {
8272
8272
  subTree = filterSingleRoot(subTree.children) || subTree;
8273
8273
  }
8274
8274
  if (vnode === subTree) {
@@ -8314,7 +8314,7 @@ function baseCreateRenderer(options, createHydrationFns) {
8314
8314
  invokeDirectiveHook(n2, n1, parentComponent, "beforeUpdate");
8315
8315
  }
8316
8316
  parentComponent && toggleRecurse(parentComponent, true);
8317
- if (process.env.NODE_ENV !== "production" && isHmrUpdating) {
8317
+ if (!!(process.env.NODE_ENV !== "production") && isHmrUpdating) {
8318
8318
  patchFlag = 0;
8319
8319
  optimized = false;
8320
8320
  dynamicChildren = null;
@@ -8330,7 +8330,7 @@ function baseCreateRenderer(options, createHydrationFns) {
8330
8330
  areChildrenSVG,
8331
8331
  slotScopeIds
8332
8332
  );
8333
- if (process.env.NODE_ENV !== "production") {
8333
+ if (!!(process.env.NODE_ENV !== "production")) {
8334
8334
  traverseStaticChildren(n1, n2);
8335
8335
  }
8336
8336
  } else if (!optimized) {
@@ -8489,7 +8489,7 @@ function baseCreateRenderer(options, createHydrationFns) {
8489
8489
  const fragmentStartAnchor = n2.el = n1 ? n1.el : hostCreateText("");
8490
8490
  const fragmentEndAnchor = n2.anchor = n1 ? n1.anchor : hostCreateText("");
8491
8491
  let { patchFlag, dynamicChildren, slotScopeIds: fragmentSlotScopeIds } = n2;
8492
- 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
8493
8493
  (isHmrUpdating || patchFlag & 2048)) {
8494
8494
  patchFlag = 0;
8495
8495
  optimized = false;
@@ -8524,7 +8524,7 @@ function baseCreateRenderer(options, createHydrationFns) {
8524
8524
  isSVG,
8525
8525
  slotScopeIds
8526
8526
  );
8527
- if (process.env.NODE_ENV !== "production") {
8527
+ if (!!(process.env.NODE_ENV !== "production")) {
8528
8528
  traverseStaticChildren(n1, n2);
8529
8529
  } else if (
8530
8530
  // #2080 if the stable fragment has a key, it's a <template v-for> that may
@@ -8588,10 +8588,10 @@ function baseCreateRenderer(options, createHydrationFns) {
8588
8588
  parentComponent,
8589
8589
  parentSuspense
8590
8590
  ));
8591
- if (process.env.NODE_ENV !== "production" && instance.type.__hmrId) {
8591
+ if (!!(process.env.NODE_ENV !== "production") && instance.type.__hmrId) {
8592
8592
  registerHMR(instance);
8593
8593
  }
8594
- if (process.env.NODE_ENV !== "production") {
8594
+ if (!!(process.env.NODE_ENV !== "production")) {
8595
8595
  pushWarningContext(initialVNode);
8596
8596
  startMeasure(instance, `mount`);
8597
8597
  }
@@ -8599,11 +8599,11 @@ function baseCreateRenderer(options, createHydrationFns) {
8599
8599
  instance.ctx.renderer = internals;
8600
8600
  }
8601
8601
  if (!compatMountInstance) {
8602
- if (process.env.NODE_ENV !== "production") {
8602
+ if (!!(process.env.NODE_ENV !== "production")) {
8603
8603
  startMeasure(instance, `init`);
8604
8604
  }
8605
8605
  setupComponent(instance);
8606
- if (process.env.NODE_ENV !== "production") {
8606
+ if (!!(process.env.NODE_ENV !== "production")) {
8607
8607
  endMeasure(instance, `init`);
8608
8608
  }
8609
8609
  }
@@ -8624,7 +8624,7 @@ function baseCreateRenderer(options, createHydrationFns) {
8624
8624
  isSVG,
8625
8625
  optimized
8626
8626
  );
8627
- if (process.env.NODE_ENV !== "production") {
8627
+ if (!!(process.env.NODE_ENV !== "production")) {
8628
8628
  popWarningContext();
8629
8629
  endMeasure(instance, `mount`);
8630
8630
  }
@@ -8633,11 +8633,11 @@ function baseCreateRenderer(options, createHydrationFns) {
8633
8633
  const instance = n2.component = n1.component;
8634
8634
  if (shouldUpdateComponent(n1, n2, optimized)) {
8635
8635
  if (instance.asyncDep && !instance.asyncResolved) {
8636
- if (process.env.NODE_ENV !== "production") {
8636
+ if (!!(process.env.NODE_ENV !== "production")) {
8637
8637
  pushWarningContext(n2);
8638
8638
  }
8639
8639
  updateComponentPreRender(instance, n2, optimized);
8640
- if (process.env.NODE_ENV !== "production") {
8640
+ if (!!(process.env.NODE_ENV !== "production")) {
8641
8641
  popWarningContext();
8642
8642
  }
8643
8643
  return;
@@ -8671,14 +8671,14 @@ function baseCreateRenderer(options, createHydrationFns) {
8671
8671
  toggleRecurse(instance, true);
8672
8672
  if (el && hydrateNode) {
8673
8673
  const hydrateSubTree = () => {
8674
- if (process.env.NODE_ENV !== "production") {
8674
+ if (!!(process.env.NODE_ENV !== "production")) {
8675
8675
  startMeasure(instance, `render`);
8676
8676
  }
8677
8677
  instance.subTree = renderComponentRoot(instance);
8678
- if (process.env.NODE_ENV !== "production") {
8678
+ if (!!(process.env.NODE_ENV !== "production")) {
8679
8679
  endMeasure(instance, `render`);
8680
8680
  }
8681
- if (process.env.NODE_ENV !== "production") {
8681
+ if (!!(process.env.NODE_ENV !== "production")) {
8682
8682
  startMeasure(instance, `hydrate`);
8683
8683
  }
8684
8684
  hydrateNode(
@@ -8688,7 +8688,7 @@ function baseCreateRenderer(options, createHydrationFns) {
8688
8688
  parentSuspense,
8689
8689
  null
8690
8690
  );
8691
- if (process.env.NODE_ENV !== "production") {
8691
+ if (!!(process.env.NODE_ENV !== "production")) {
8692
8692
  endMeasure(instance, `hydrate`);
8693
8693
  }
8694
8694
  };
@@ -8704,14 +8704,14 @@ function baseCreateRenderer(options, createHydrationFns) {
8704
8704
  hydrateSubTree();
8705
8705
  }
8706
8706
  } else {
8707
- if (process.env.NODE_ENV !== "production") {
8707
+ if (!!(process.env.NODE_ENV !== "production")) {
8708
8708
  startMeasure(instance, `render`);
8709
8709
  }
8710
8710
  const subTree = instance.subTree = renderComponentRoot(instance);
8711
- if (process.env.NODE_ENV !== "production") {
8711
+ if (!!(process.env.NODE_ENV !== "production")) {
8712
8712
  endMeasure(instance, `render`);
8713
8713
  }
8714
- if (process.env.NODE_ENV !== "production") {
8714
+ if (!!(process.env.NODE_ENV !== "production")) {
8715
8715
  startMeasure(instance, `patch`);
8716
8716
  }
8717
8717
  patch(
@@ -8723,7 +8723,7 @@ function baseCreateRenderer(options, createHydrationFns) {
8723
8723
  parentSuspense,
8724
8724
  isSVG
8725
8725
  );
8726
- if (process.env.NODE_ENV !== "production") {
8726
+ if (!!(process.env.NODE_ENV !== "production")) {
8727
8727
  endMeasure(instance, `patch`);
8728
8728
  }
8729
8729
  initialVNode.el = subTree.el;
@@ -8754,7 +8754,7 @@ function baseCreateRenderer(options, createHydrationFns) {
8754
8754
  }
8755
8755
  }
8756
8756
  instance.isMounted = true;
8757
- if (process.env.NODE_ENV !== "production" || __VUE_PROD_DEVTOOLS__) {
8757
+ if (!!(process.env.NODE_ENV !== "production") || __VUE_PROD_DEVTOOLS__) {
8758
8758
  devtoolsComponentAdded(instance);
8759
8759
  }
8760
8760
  initialVNode = container = anchor = null;
@@ -8762,7 +8762,7 @@ function baseCreateRenderer(options, createHydrationFns) {
8762
8762
  let { next, bu, u, parent, vnode } = instance;
8763
8763
  let originNext = next;
8764
8764
  let vnodeHook;
8765
- if (process.env.NODE_ENV !== "production") {
8765
+ if (!!(process.env.NODE_ENV !== "production")) {
8766
8766
  pushWarningContext(next || instance.vnode);
8767
8767
  }
8768
8768
  toggleRecurse(instance, false);
@@ -8782,16 +8782,16 @@ function baseCreateRenderer(options, createHydrationFns) {
8782
8782
  instance.emit("hook:beforeUpdate");
8783
8783
  }
8784
8784
  toggleRecurse(instance, true);
8785
- if (process.env.NODE_ENV !== "production") {
8785
+ if (!!(process.env.NODE_ENV !== "production")) {
8786
8786
  startMeasure(instance, `render`);
8787
8787
  }
8788
8788
  const nextTree = renderComponentRoot(instance);
8789
- if (process.env.NODE_ENV !== "production") {
8789
+ if (!!(process.env.NODE_ENV !== "production")) {
8790
8790
  endMeasure(instance, `render`);
8791
8791
  }
8792
8792
  const prevTree = instance.subTree;
8793
8793
  instance.subTree = nextTree;
8794
- if (process.env.NODE_ENV !== "production") {
8794
+ if (!!(process.env.NODE_ENV !== "production")) {
8795
8795
  startMeasure(instance, `patch`);
8796
8796
  }
8797
8797
  patch(
@@ -8805,7 +8805,7 @@ function baseCreateRenderer(options, createHydrationFns) {
8805
8805
  parentSuspense,
8806
8806
  isSVG
8807
8807
  );
8808
- if (process.env.NODE_ENV !== "production") {
8808
+ if (!!(process.env.NODE_ENV !== "production")) {
8809
8809
  endMeasure(instance, `patch`);
8810
8810
  }
8811
8811
  next.el = nextTree.el;
@@ -8827,10 +8827,10 @@ function baseCreateRenderer(options, createHydrationFns) {
8827
8827
  parentSuspense
8828
8828
  );
8829
8829
  }
8830
- if (process.env.NODE_ENV !== "production" || __VUE_PROD_DEVTOOLS__) {
8830
+ if (!!(process.env.NODE_ENV !== "production") || __VUE_PROD_DEVTOOLS__) {
8831
8831
  devtoolsComponentUpdated(instance);
8832
8832
  }
8833
- if (process.env.NODE_ENV !== "production") {
8833
+ if (!!(process.env.NODE_ENV !== "production")) {
8834
8834
  popWarningContext();
8835
8835
  }
8836
8836
  }
@@ -8844,7 +8844,7 @@ function baseCreateRenderer(options, createHydrationFns) {
8844
8844
  const update = instance.update = () => effect.run();
8845
8845
  update.id = instance.uid;
8846
8846
  toggleRecurse(instance, true);
8847
- if (process.env.NODE_ENV !== "production") {
8847
+ if (!!(process.env.NODE_ENV !== "production")) {
8848
8848
  effect.onTrack = instance.rtc ? (e) => invokeArrayFns(instance.rtc, e) : void 0;
8849
8849
  effect.onTrigger = instance.rtg ? (e) => invokeArrayFns(instance.rtg, e) : void 0;
8850
8850
  update.ownerInstance = instance;
@@ -9060,7 +9060,7 @@ function baseCreateRenderer(options, createHydrationFns) {
9060
9060
  for (i = s2; i <= e2; i++) {
9061
9061
  const nextChild = c2[i] = optimized ? cloneIfMounted(c2[i]) : normalizeVNode(c2[i]);
9062
9062
  if (nextChild.key != null) {
9063
- if (process.env.NODE_ENV !== "production" && keyToNewIndexMap.has(nextChild.key)) {
9063
+ if (!!(process.env.NODE_ENV !== "production") && keyToNewIndexMap.has(nextChild.key)) {
9064
9064
  warn(
9065
9065
  `Duplicate keys found during update:`,
9066
9066
  JSON.stringify(nextChild.key),
@@ -9266,7 +9266,7 @@ function baseCreateRenderer(options, createHydrationFns) {
9266
9266
  const remove = (vnode) => {
9267
9267
  const { type, el, anchor, transition } = vnode;
9268
9268
  if (type === Fragment) {
9269
- 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) {
9270
9270
  vnode.children.forEach((child) => {
9271
9271
  if (child.type === Comment) {
9272
9272
  hostRemove(child.el);
@@ -9311,7 +9311,7 @@ function baseCreateRenderer(options, createHydrationFns) {
9311
9311
  hostRemove(end);
9312
9312
  };
9313
9313
  const unmountComponent = (instance, parentSuspense, doRemove) => {
9314
- if (process.env.NODE_ENV !== "production" && instance.type.__hmrId) {
9314
+ if (!!(process.env.NODE_ENV !== "production") && instance.type.__hmrId) {
9315
9315
  unregisterHMR(instance);
9316
9316
  }
9317
9317
  const { bum, scope, update, subTree, um } = instance;
@@ -9344,7 +9344,7 @@ function baseCreateRenderer(options, createHydrationFns) {
9344
9344
  parentSuspense.resolve();
9345
9345
  }
9346
9346
  }
9347
- if (process.env.NODE_ENV !== "production" || __VUE_PROD_DEVTOOLS__) {
9347
+ if (!!(process.env.NODE_ENV !== "production") || __VUE_PROD_DEVTOOLS__) {
9348
9348
  devtoolsComponentRemoved(instance);
9349
9349
  }
9350
9350
  };
@@ -9420,7 +9420,7 @@ function traverseStaticChildren(n1, n2, shallow = false) {
9420
9420
  if (c2.type === Text) {
9421
9421
  c2.el = c1.el;
9422
9422
  }
9423
- if (process.env.NODE_ENV !== "production" && c2.type === Comment && !c2.el) {
9423
+ if (!!(process.env.NODE_ENV !== "production") && c2.type === Comment && !c2.el) {
9424
9424
  c2.el = c1.el;
9425
9425
  }
9426
9426
  }
@@ -9474,21 +9474,21 @@ const resolveTarget = (props, select) => {
9474
9474
  const targetSelector = props && props.to;
9475
9475
  if (isString(targetSelector)) {
9476
9476
  if (!select) {
9477
- process.env.NODE_ENV !== "production" && warn(
9477
+ !!(process.env.NODE_ENV !== "production") && warn(
9478
9478
  `Current renderer does not support string target for Teleports. (missing querySelector renderer option)`
9479
9479
  );
9480
9480
  return null;
9481
9481
  } else {
9482
9482
  const target = select(targetSelector);
9483
9483
  if (!target) {
9484
- process.env.NODE_ENV !== "production" && warn(
9484
+ !!(process.env.NODE_ENV !== "production") && warn(
9485
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.`
9486
9486
  );
9487
9487
  }
9488
9488
  return target;
9489
9489
  }
9490
9490
  } else {
9491
- if (process.env.NODE_ENV !== "production" && !targetSelector && !isTeleportDisabled(props)) {
9491
+ if (!!(process.env.NODE_ENV !== "production") && !targetSelector && !isTeleportDisabled(props)) {
9492
9492
  warn(`Invalid Teleport target: ${targetSelector}`);
9493
9493
  }
9494
9494
  return targetSelector;
@@ -9505,13 +9505,13 @@ const TeleportImpl = {
9505
9505
  } = internals;
9506
9506
  const disabled = isTeleportDisabled(n2.props);
9507
9507
  let { shapeFlag, children, dynamicChildren } = n2;
9508
- if (process.env.NODE_ENV !== "production" && isHmrUpdating) {
9508
+ if (!!(process.env.NODE_ENV !== "production") && isHmrUpdating) {
9509
9509
  optimized = false;
9510
9510
  dynamicChildren = null;
9511
9511
  }
9512
9512
  if (n1 == null) {
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("");
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("");
9515
9515
  insert(placeholder, container, anchor);
9516
9516
  insert(mainAnchor, container, anchor);
9517
9517
  const target = n2.target = resolveTarget(n2.props, querySelector);
@@ -9519,7 +9519,7 @@ const TeleportImpl = {
9519
9519
  if (target) {
9520
9520
  insert(targetAnchor, target);
9521
9521
  isSVG = isSVG || isTargetSVG(target);
9522
- } else if (process.env.NODE_ENV !== "production" && !disabled) {
9522
+ } else if (!!(process.env.NODE_ENV !== "production") && !disabled) {
9523
9523
  warn("Invalid Teleport target on mount:", target, `(${typeof target})`);
9524
9524
  }
9525
9525
  const mount = (container2, anchor2) => {
@@ -9598,7 +9598,7 @@ const TeleportImpl = {
9598
9598
  internals,
9599
9599
  0
9600
9600
  );
9601
- } else if (process.env.NODE_ENV !== "production") {
9601
+ } else if (!!(process.env.NODE_ENV !== "production")) {
9602
9602
  warn(
9603
9603
  "Invalid Teleport target on update:",
9604
9604
  target,
@@ -9835,7 +9835,7 @@ function isVNode(value) {
9835
9835
  return value ? value.__v_isVNode === true : false;
9836
9836
  }
9837
9837
  function isSameVNodeType(n1, n2) {
9838
- 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)) {
9839
9839
  n1.shapeFlag &= ~256;
9840
9840
  n2.shapeFlag &= ~512;
9841
9841
  return false;
@@ -9900,7 +9900,7 @@ function createBaseVNode(type, props = null, children = null, patchFlag = 0, dyn
9900
9900
  } else if (children) {
9901
9901
  vnode.shapeFlag |= isString(children) ? 8 : 16;
9902
9902
  }
9903
- if (process.env.NODE_ENV !== "production" && vnode.key !== vnode.key) {
9903
+ if (!!(process.env.NODE_ENV !== "production") && vnode.key !== vnode.key) {
9904
9904
  warn(`VNode created with invalid key (NaN). VNode type:`, vnode.type);
9905
9905
  }
9906
9906
  if (isBlockTreeEnabled > 0 && // avoid a block node from tracking itself
@@ -9920,10 +9920,10 @@ function createBaseVNode(type, props = null, children = null, patchFlag = 0, dyn
9920
9920
  }
9921
9921
  return vnode;
9922
9922
  }
9923
- const createVNode = process.env.NODE_ENV !== "production" ? createVNodeWithArgsTransform : _createVNode;
9923
+ const createVNode = !!(process.env.NODE_ENV !== "production") ? createVNodeWithArgsTransform : _createVNode;
9924
9924
  function _createVNode(type, props = null, children = null, patchFlag = 0, dynamicProps = null, isBlockNode = false) {
9925
9925
  if (!type || type === NULL_DYNAMIC_COMPONENT) {
9926
- if (process.env.NODE_ENV !== "production" && !type) {
9926
+ if (!!(process.env.NODE_ENV !== "production") && !type) {
9927
9927
  warn(`Invalid vnode type when creating vnode: ${type}.`);
9928
9928
  }
9929
9929
  type = Comment;
@@ -9968,7 +9968,7 @@ function _createVNode(type, props = null, children = null, patchFlag = 0, dynami
9968
9968
  }
9969
9969
  }
9970
9970
  const shapeFlag = isString(type) ? 1 : isSuspense(type) ? 128 : isTeleport(type) ? 64 : isObject(type) ? 4 : isFunction(type) ? 2 : 0;
9971
- if (process.env.NODE_ENV !== "production" && shapeFlag & 4 && isProxy(type)) {
9971
+ if (!!(process.env.NODE_ENV !== "production") && shapeFlag & 4 && isProxy(type)) {
9972
9972
  type = toRaw(type);
9973
9973
  warn(
9974
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\`.`,
@@ -10010,7 +10010,7 @@ function cloneVNode(vnode, extraProps, mergeRef = false) {
10010
10010
  ) : ref,
10011
10011
  scopeId: vnode.scopeId,
10012
10012
  slotScopeIds: vnode.slotScopeIds,
10013
- 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,
10014
10014
  target: vnode.target,
10015
10015
  targetAnchor: vnode.targetAnchor,
10016
10016
  staticCount: vnode.staticCount,
@@ -10237,7 +10237,7 @@ function createComponentInstance(vnode, parent, suspense) {
10237
10237
  ec: null,
10238
10238
  sp: null
10239
10239
  };
10240
- if (process.env.NODE_ENV !== "production") {
10240
+ if (!!(process.env.NODE_ENV !== "production")) {
10241
10241
  instance.ctx = createDevRenderContext(instance);
10242
10242
  } else {
10243
10243
  instance.ctx = { _: instance };
@@ -10301,7 +10301,7 @@ function setupComponent(instance, isSSR = false) {
10301
10301
  function setupStatefulComponent(instance, isSSR) {
10302
10302
  var _a;
10303
10303
  const Component = instance.type;
10304
- if (process.env.NODE_ENV !== "production") {
10304
+ if (!!(process.env.NODE_ENV !== "production")) {
10305
10305
  if (Component.name) {
10306
10306
  validateComponentName(Component.name, instance.appContext.config);
10307
10307
  }
@@ -10325,7 +10325,7 @@ function setupStatefulComponent(instance, isSSR) {
10325
10325
  }
10326
10326
  instance.accessCache = /* @__PURE__ */ Object.create(null);
10327
10327
  instance.proxy = markRaw(new Proxy(instance.ctx, PublicInstanceProxyHandlers));
10328
- if (process.env.NODE_ENV !== "production") {
10328
+ if (!!(process.env.NODE_ENV !== "production")) {
10329
10329
  exposePropsOnRenderContext(instance);
10330
10330
  }
10331
10331
  const { setup } = Component;
@@ -10337,7 +10337,7 @@ function setupStatefulComponent(instance, isSSR) {
10337
10337
  setup,
10338
10338
  instance,
10339
10339
  0,
10340
- [process.env.NODE_ENV !== "production" ? shallowReadonly(instance.props) : instance.props, setupContext]
10340
+ [!!(process.env.NODE_ENV !== "production") ? shallowReadonly(instance.props) : instance.props, setupContext]
10341
10341
  );
10342
10342
  resetTracking();
10343
10343
  unsetCurrentInstance();
@@ -10351,7 +10351,7 @@ function setupStatefulComponent(instance, isSSR) {
10351
10351
  });
10352
10352
  } else {
10353
10353
  instance.asyncDep = setupResult;
10354
- if (process.env.NODE_ENV !== "production" && !instance.suspense) {
10354
+ if (!!(process.env.NODE_ENV !== "production") && !instance.suspense) {
10355
10355
  const name = (_a = Component.name) != null ? _a : "Anonymous";
10356
10356
  warn(
10357
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.`
@@ -10373,19 +10373,19 @@ function handleSetupResult(instance, setupResult, isSSR) {
10373
10373
  instance.render = setupResult;
10374
10374
  }
10375
10375
  } else if (isObject(setupResult)) {
10376
- if (process.env.NODE_ENV !== "production" && isVNode(setupResult)) {
10376
+ if (!!(process.env.NODE_ENV !== "production") && isVNode(setupResult)) {
10377
10377
  warn(
10378
10378
  `setup() should not return VNodes directly - return a render function instead.`
10379
10379
  );
10380
10380
  }
10381
- if (process.env.NODE_ENV !== "production" || __VUE_PROD_DEVTOOLS__) {
10381
+ if (!!(process.env.NODE_ENV !== "production") || __VUE_PROD_DEVTOOLS__) {
10382
10382
  instance.devtoolsRawSetupState = setupResult;
10383
10383
  }
10384
10384
  instance.setupState = proxyRefs(setupResult);
10385
- if (process.env.NODE_ENV !== "production") {
10385
+ if (!!(process.env.NODE_ENV !== "production")) {
10386
10386
  exposeSetupStateOnRenderContext(instance);
10387
10387
  }
10388
- } else if (process.env.NODE_ENV !== "production" && setupResult !== void 0) {
10388
+ } else if (!!(process.env.NODE_ENV !== "production") && setupResult !== void 0) {
10389
10389
  warn(
10390
10390
  `setup() should return an object. Received: ${setupResult === null ? "null" : typeof setupResult}`
10391
10391
  );
@@ -10407,7 +10407,7 @@ function finishComponentSetup(instance, isSSR, skipOptions) {
10407
10407
  const Component = instance.type;
10408
10408
  {
10409
10409
  convertLegacyRenderFn(instance);
10410
- if (process.env.NODE_ENV !== "production" && Component.compatConfig) {
10410
+ if (!!(process.env.NODE_ENV !== "production") && Component.compatConfig) {
10411
10411
  validateCompatConfig(Component.compatConfig);
10412
10412
  }
10413
10413
  }
@@ -10415,7 +10415,7 @@ function finishComponentSetup(instance, isSSR, skipOptions) {
10415
10415
  if (!isSSR && compile && !Component.render) {
10416
10416
  const template = instance.vnode.props && instance.vnode.props["inline-template"] || Component.template || resolveMergedOptions(instance).template;
10417
10417
  if (template) {
10418
- if (process.env.NODE_ENV !== "production") {
10418
+ if (!!(process.env.NODE_ENV !== "production")) {
10419
10419
  startMeasure(instance, `compile`);
10420
10420
  }
10421
10421
  const { isCustomElement, compilerOptions } = instance.appContext.config;
@@ -10437,7 +10437,7 @@ function finishComponentSetup(instance, isSSR, skipOptions) {
10437
10437
  }
10438
10438
  }
10439
10439
  Component.render = compile(template, finalCompilerOptions);
10440
- if (process.env.NODE_ENV !== "production") {
10440
+ if (!!(process.env.NODE_ENV !== "production")) {
10441
10441
  endMeasure(instance, `compile`);
10442
10442
  }
10443
10443
  }
@@ -10454,7 +10454,7 @@ function finishComponentSetup(instance, isSSR, skipOptions) {
10454
10454
  resetTracking();
10455
10455
  unsetCurrentInstance();
10456
10456
  }
10457
- 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) {
10458
10458
  if (!compile && Component.template) {
10459
10459
  warn(
10460
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".` )
@@ -10468,7 +10468,7 @@ function finishComponentSetup(instance, isSSR, skipOptions) {
10468
10468
  function getAttrsProxy(instance) {
10469
10469
  return instance.attrsProxy || (instance.attrsProxy = new Proxy(
10470
10470
  instance.attrs,
10471
- process.env.NODE_ENV !== "production" ? {
10471
+ !!(process.env.NODE_ENV !== "production") ? {
10472
10472
  get(target, key) {
10473
10473
  markAttrsAccessed();
10474
10474
  track(instance, "get", "$attrs");
@@ -10500,7 +10500,7 @@ function getSlotsProxy(instance) {
10500
10500
  }
10501
10501
  function createSetupContext(instance) {
10502
10502
  const expose = (exposed) => {
10503
- if (process.env.NODE_ENV !== "production") {
10503
+ if (!!(process.env.NODE_ENV !== "production")) {
10504
10504
  if (instance.exposed) {
10505
10505
  warn(`expose() should be called only once per setup().`);
10506
10506
  }
@@ -10522,7 +10522,7 @@ function createSetupContext(instance) {
10522
10522
  }
10523
10523
  instance.exposed = exposed || {};
10524
10524
  };
10525
- if (process.env.NODE_ENV !== "production") {
10525
+ if (!!(process.env.NODE_ENV !== "production")) {
10526
10526
  return Object.freeze({
10527
10527
  get attrs() {
10528
10528
  return getAttrsProxy(instance);
@@ -10623,7 +10623,7 @@ const useSSRContext = () => {
10623
10623
  {
10624
10624
  const ctx = inject(ssrContextKey);
10625
10625
  if (!ctx) {
10626
- process.env.NODE_ENV !== "production" && warn(
10626
+ !!(process.env.NODE_ENV !== "production") && warn(
10627
10627
  `Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build.`
10628
10628
  );
10629
10629
  }
@@ -10632,7 +10632,7 @@ const useSSRContext = () => {
10632
10632
  };
10633
10633
 
10634
10634
  function initCustomFormatter() {
10635
- if (!process.env.NODE_ENV !== "production" || typeof window === "undefined") {
10635
+ if (!!!(process.env.NODE_ENV !== "production") || typeof window === "undefined") {
10636
10636
  return;
10637
10637
  }
10638
10638
  const vueStyle = { style: "color:#3ba776" };
@@ -10832,7 +10832,7 @@ function isMemoSame(cached, memo) {
10832
10832
  return true;
10833
10833
  }
10834
10834
 
10835
- const version = "3.3.2";
10835
+ const version = "3.3.4";
10836
10836
  const _ssrUtils = {
10837
10837
  createComponentInstance,
10838
10838
  setupComponent,
@@ -10969,7 +10969,7 @@ function setStyle(style, name, val) {
10969
10969
  } else {
10970
10970
  if (val == null)
10971
10971
  val = "";
10972
- if (process.env.NODE_ENV !== "production") {
10972
+ if (!!(process.env.NODE_ENV !== "production")) {
10973
10973
  if (semicolonRE.test(val)) {
10974
10974
  warn(
10975
10975
  `Unexpected semicolon at the end of '${name}' style value: '${val}'`
@@ -11099,7 +11099,7 @@ function patchDOMProp(el, key, value, prevChildren, parentComponent, parentSuspe
11099
11099
  )) {
11100
11100
  const type = typeof el[key];
11101
11101
  if (type === "string" || type === "number") {
11102
- process.env.NODE_ENV !== "production" && compatUtils.warnDeprecation(
11102
+ !!(process.env.NODE_ENV !== "production") && compatUtils.warnDeprecation(
11103
11103
  "ATTR_FALSE_VALUE",
11104
11104
  parentComponent,
11105
11105
  key
@@ -11112,7 +11112,7 @@ function patchDOMProp(el, key, value, prevChildren, parentComponent, parentSuspe
11112
11112
  try {
11113
11113
  el[key] = value;
11114
11114
  } catch (e) {
11115
- if (process.env.NODE_ENV !== "production" && !needRemove) {
11115
+ if (!!(process.env.NODE_ENV !== "production") && !needRemove) {
11116
11116
  warn(
11117
11117
  `Failed setting prop "${key}" on <${tag.toLowerCase()}>: value ${value} is invalid.`,
11118
11118
  e
@@ -11279,7 +11279,7 @@ class VueElement extends BaseClass {
11279
11279
  if (this.shadowRoot && hydrate2) {
11280
11280
  hydrate2(this._createVNode(), this.shadowRoot);
11281
11281
  } else {
11282
- if (process.env.NODE_ENV !== "production" && this.shadowRoot) {
11282
+ if (!!(process.env.NODE_ENV !== "production") && this.shadowRoot) {
11283
11283
  warn(
11284
11284
  `Custom element has pre-rendered declarative shadow root but is not defined as hydratable. Use \`defineSSRCustomElement\`.`
11285
11285
  );
@@ -11412,7 +11412,7 @@ class VueElement extends BaseClass {
11412
11412
  vnode.ce = (instance) => {
11413
11413
  this._instance = instance;
11414
11414
  instance.isCE = true;
11415
- if (process.env.NODE_ENV !== "production") {
11415
+ if (!!(process.env.NODE_ENV !== "production")) {
11416
11416
  instance.ceReload = (newStyles) => {
11417
11417
  if (this._styles) {
11418
11418
  this._styles.forEach((s) => this.shadowRoot.removeChild(s));
@@ -11454,7 +11454,7 @@ class VueElement extends BaseClass {
11454
11454
  const s = document.createElement("style");
11455
11455
  s.textContent = css;
11456
11456
  this.shadowRoot.appendChild(s);
11457
- if (process.env.NODE_ENV !== "production") {
11457
+ if (!!(process.env.NODE_ENV !== "production")) {
11458
11458
  (this._styles || (this._styles = [])).push(s);
11459
11459
  }
11460
11460
  });
@@ -11466,17 +11466,17 @@ function useCssModule(name = "$style") {
11466
11466
  {
11467
11467
  const instance = getCurrentInstance();
11468
11468
  if (!instance) {
11469
- 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()`);
11470
11470
  return EMPTY_OBJ;
11471
11471
  }
11472
11472
  const modules = instance.type.__cssModules;
11473
11473
  if (!modules) {
11474
- 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.`);
11475
11475
  return EMPTY_OBJ;
11476
11476
  }
11477
11477
  const mod = modules[name];
11478
11478
  if (!mod) {
11479
- 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}".`);
11480
11480
  return EMPTY_OBJ;
11481
11481
  }
11482
11482
  return mod;
@@ -11486,7 +11486,7 @@ function useCssModule(name = "$style") {
11486
11486
  function useCssVars(getter) {
11487
11487
  const instance = getCurrentInstance();
11488
11488
  if (!instance) {
11489
- 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.`);
11490
11490
  return;
11491
11491
  }
11492
11492
  const updateTeleports = instance.ut = (vars = getter(instance.proxy)) => {
@@ -11736,7 +11736,7 @@ function normalizeDuration(duration) {
11736
11736
  }
11737
11737
  function NumberOf(val) {
11738
11738
  const res = toNumber(val);
11739
- if (process.env.NODE_ENV !== "production") {
11739
+ if (!!(process.env.NODE_ENV !== "production")) {
11740
11740
  assertNumber(res, "<transition> explicit duration");
11741
11741
  }
11742
11742
  return res;
@@ -11911,7 +11911,7 @@ const TransitionGroupImpl = {
11911
11911
  child,
11912
11912
  resolveTransitionHooks(child, cssTransitionProps, state, instance)
11913
11913
  );
11914
- } else if (process.env.NODE_ENV !== "production") {
11914
+ } else if (!!(process.env.NODE_ENV !== "production")) {
11915
11915
  warn(`<TransitionGroup> children must be keyed.`);
11916
11916
  }
11917
11917
  }
@@ -12136,7 +12136,7 @@ const vModelSelect = {
12136
12136
  function setSelected(el, value) {
12137
12137
  const isMultiple = el.multiple;
12138
12138
  if (isMultiple && !isArray(value) && !isSet(value)) {
12139
- process.env.NODE_ENV !== "production" && warn(
12139
+ !!(process.env.NODE_ENV !== "production") && warn(
12140
12140
  `<select multiple v-model> expects an Array or Set value for its binding, but got ${Object.prototype.toString.call(value).slice(8, -1)}.`
12141
12141
  );
12142
12142
  return;
@@ -12286,7 +12286,7 @@ const withKeys = (fn, modifiers) => {
12286
12286
  globalKeyCodes = instance.appContext.config.keyCodes;
12287
12287
  }
12288
12288
  }
12289
- 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))) {
12290
12290
  compatUtils.warnDeprecation(
12291
12291
  "V_ON_KEYCODE_MODIFIER",
12292
12292
  instance
@@ -12389,7 +12389,7 @@ const hydrate = (...args) => {
12389
12389
  };
12390
12390
  const createApp = (...args) => {
12391
12391
  const app = ensureRenderer().createApp(...args);
12392
- if (process.env.NODE_ENV !== "production") {
12392
+ if (!!(process.env.NODE_ENV !== "production")) {
12393
12393
  injectNativeTagCheck(app);
12394
12394
  injectCompilerOptionsCheck(app);
12395
12395
  }
@@ -12401,7 +12401,7 @@ const createApp = (...args) => {
12401
12401
  const component = app._component;
12402
12402
  if (!isFunction(component) && !component.render && !component.template) {
12403
12403
  component.template = container.innerHTML;
12404
- if (process.env.NODE_ENV !== "production") {
12404
+ if (!!(process.env.NODE_ENV !== "production")) {
12405
12405
  for (let i = 0; i < container.attributes.length; i++) {
12406
12406
  const attr = container.attributes[i];
12407
12407
  if (attr.name !== "v-cloak" && /^(v-|:|@)/.test(attr.name)) {
@@ -12426,7 +12426,7 @@ const createApp = (...args) => {
12426
12426
  };
12427
12427
  const createSSRApp = (...args) => {
12428
12428
  const app = ensureHydrationRenderer().createApp(...args);
12429
- if (process.env.NODE_ENV !== "production") {
12429
+ if (!!(process.env.NODE_ENV !== "production")) {
12430
12430
  injectNativeTagCheck(app);
12431
12431
  injectCompilerOptionsCheck(app);
12432
12432
  }
@@ -12477,14 +12477,14 @@ function injectCompilerOptionsCheck(app) {
12477
12477
  function normalizeContainer(container) {
12478
12478
  if (isString(container)) {
12479
12479
  const res = document.querySelector(container);
12480
- if (process.env.NODE_ENV !== "production" && !res) {
12480
+ if (!!(process.env.NODE_ENV !== "production") && !res) {
12481
12481
  warn(
12482
12482
  `Failed to mount app: mount target selector "${container}" returned null.`
12483
12483
  );
12484
12484
  }
12485
12485
  return res;
12486
12486
  }
12487
- 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") {
12488
12488
  warn(
12489
12489
  `mounting on a ShadowRoot with \`{mode: "closed"}\` may lead to unpredictable bugs`
12490
12490
  );
@@ -12663,7 +12663,7 @@ function initDev() {
12663
12663
  }
12664
12664
  }
12665
12665
 
12666
- if (process.env.NODE_ENV !== "production") {
12666
+ if (!!(process.env.NODE_ENV !== "production")) {
12667
12667
  initDev();
12668
12668
  }
12669
12669
  function wrappedCreateApp(...args) {
@@ -12685,7 +12685,7 @@ function createCompatVue() {
12685
12685
 
12686
12686
  const Vue = createCompatVue();
12687
12687
  Vue.compile = () => {
12688
- if (process.env.NODE_ENV !== "production") {
12688
+ if (!!(process.env.NODE_ENV !== "production")) {
12689
12689
  warn(
12690
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".` )
12691
12691
  /* should not happen */