@vue-mini/core 1.2.8 → 1.2.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * vue-mini v1.2.8
2
+ * vue-mini v1.2.10
3
3
  * https://github.com/vue-mini/vue-mini
4
4
  * (c) 2019-present Yang Mingshan
5
5
  * @license MIT
@@ -7,7 +7,7 @@
7
7
  'use strict';
8
8
 
9
9
  /**
10
- * @vue/shared v3.5.25
10
+ * @vue/shared v3.5.32
11
11
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
12
12
  * @license MIT
13
13
  **/
@@ -65,7 +65,7 @@ const def = (obj, key, value, writable = false) => {
65
65
  };
66
66
 
67
67
  /**
68
- * @vue/reactivity v3.5.25
68
+ * @vue/reactivity v3.5.32
69
69
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
70
70
  * @license MIT
71
71
  **/
@@ -76,6 +76,7 @@ function warn(msg, ...args) {
76
76
 
77
77
  let activeEffectScope;
78
78
  class EffectScope {
79
+ // TODO isolatedDeclarations "__v_skip"
79
80
  constructor(detached = false) {
80
81
  this.detached = detached;
81
82
  /**
@@ -95,6 +96,7 @@ class EffectScope {
95
96
  */
96
97
  this.cleanups = [];
97
98
  this._isPaused = false;
99
+ this.__v_skip = true;
98
100
  this.parent = activeEffectScope;
99
101
  if (!detached && activeEffectScope) {
100
102
  this.index = (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(
@@ -671,13 +673,13 @@ function addSub(link) {
671
673
  }
672
674
  }
673
675
  const targetMap = /* @__PURE__ */ new WeakMap();
674
- const ITERATE_KEY = Symbol(
676
+ const ITERATE_KEY = /* @__PURE__ */ Symbol(
675
677
  "Object iterate"
676
678
  );
677
- const MAP_KEY_ITERATE_KEY = Symbol(
679
+ const MAP_KEY_ITERATE_KEY = /* @__PURE__ */ Symbol(
678
680
  "Map keys iterate"
679
681
  );
680
- const ARRAY_ITERATE_KEY = Symbol(
682
+ const ARRAY_ITERATE_KEY = /* @__PURE__ */ Symbol(
681
683
  "Array iterate"
682
684
  );
683
685
  function track(target, type, key) {
@@ -945,10 +947,17 @@ function apply(self, method, fn, thisArg, wrappedRetFn, args) {
945
947
  }
946
948
  function reduce(self, method, fn, args) {
947
949
  const arr = shallowReadArray(self);
950
+ const needsWrap = arr !== self && !isShallow(self);
948
951
  let wrappedFn = fn;
952
+ let wrapInitialAccumulator = false;
949
953
  if (arr !== self) {
950
- if (!isShallow(self)) {
954
+ if (needsWrap) {
955
+ wrapInitialAccumulator = args.length === 0;
951
956
  wrappedFn = function(acc, item, index) {
957
+ if (wrapInitialAccumulator) {
958
+ wrapInitialAccumulator = false;
959
+ acc = toWrapped(self, acc);
960
+ }
952
961
  return fn.call(this, acc, toWrapped(self, item), index, self);
953
962
  };
954
963
  } else if (fn.length > 3) {
@@ -957,7 +966,8 @@ function reduce(self, method, fn, args) {
957
966
  };
958
967
  }
959
968
  }
960
- return arr[method](wrappedFn, ...args);
969
+ const result = arr[method](wrappedFn, ...args);
970
+ return wrapInitialAccumulator ? toWrapped(self, result) : result;
961
971
  }
962
972
  function searchProxy(self, method, args) {
963
973
  const arr = toRaw(self);
@@ -1160,20 +1170,20 @@ function createIterableMethod(method, isReadonly2, isShallow2) {
1160
1170
  "iterate",
1161
1171
  isKeyOnly ? MAP_KEY_ITERATE_KEY : ITERATE_KEY
1162
1172
  );
1163
- return {
1164
- // iterator protocol
1165
- next() {
1166
- const { value, done } = innerIterator.next();
1167
- return done ? { value, done } : {
1168
- value: isPair ? [wrap(value[0]), wrap(value[1])] : wrap(value),
1169
- done
1170
- };
1171
- },
1172
- // iterable protocol
1173
- [Symbol.iterator]() {
1174
- return this;
1173
+ return extend$1(
1174
+ // inheriting all iterator properties
1175
+ Object.create(innerIterator),
1176
+ {
1177
+ // iterator protocol
1178
+ next() {
1179
+ const { value, done } = innerIterator.next();
1180
+ return done ? { value, done } : {
1181
+ value: isPair ? [wrap(value[0]), wrap(value[1])] : wrap(value),
1182
+ done
1183
+ };
1184
+ }
1175
1185
  }
1176
- };
1186
+ );
1177
1187
  };
1178
1188
  }
1179
1189
  function createReadonlyMethod(type) {
@@ -1247,15 +1257,14 @@ function createInstrumentations(readonly, shallow) {
1247
1257
  clear: createReadonlyMethod("clear")
1248
1258
  } : {
1249
1259
  add(value) {
1250
- if (!shallow && !isShallow(value) && !isReadonly(value)) {
1251
- value = toRaw(value);
1252
- }
1253
1260
  const target = toRaw(this);
1254
1261
  const proto = getProto(target);
1255
- const hadKey = proto.has.call(target, value);
1262
+ const rawValue = toRaw(value);
1263
+ const valueToAdd = !shallow && !isShallow(value) && !isReadonly(value) ? rawValue : value;
1264
+ const hadKey = proto.has.call(target, valueToAdd) || hasChanged(value, valueToAdd) && proto.has.call(target, value) || hasChanged(rawValue, valueToAdd) && proto.has.call(target, rawValue);
1256
1265
  if (!hadKey) {
1257
- target.add(value);
1258
- trigger(target, "add", value, value);
1266
+ target.add(valueToAdd);
1267
+ trigger(target, "add", valueToAdd, valueToAdd);
1259
1268
  }
1260
1269
  return this;
1261
1270
  },
@@ -1387,8 +1396,9 @@ function targetTypeMap(rawType) {
1387
1396
  function getTargetType(value) {
1388
1397
  return value["__v_skip"] || !Object.isExtensible(value) ? 0 /* INVALID */ : targetTypeMap(toRawType(value));
1389
1398
  }
1399
+ // @__NO_SIDE_EFFECTS__
1390
1400
  function reactive(target) {
1391
- if (isReadonly(target)) {
1401
+ if (/* @__PURE__ */ isReadonly(target)) {
1392
1402
  return target;
1393
1403
  }
1394
1404
  return createReactiveObject(
@@ -1399,6 +1409,7 @@ function reactive(target) {
1399
1409
  reactiveMap
1400
1410
  );
1401
1411
  }
1412
+ // @__NO_SIDE_EFFECTS__
1402
1413
  function shallowReactive(target) {
1403
1414
  return createReactiveObject(
1404
1415
  target,
@@ -1408,6 +1419,7 @@ function shallowReactive(target) {
1408
1419
  shallowReactiveMap
1409
1420
  );
1410
1421
  }
1422
+ // @__NO_SIDE_EFFECTS__
1411
1423
  function readonly(target) {
1412
1424
  return createReactiveObject(
1413
1425
  target,
@@ -1417,6 +1429,7 @@ function readonly(target) {
1417
1429
  readonlyMap
1418
1430
  );
1419
1431
  }
1432
+ // @__NO_SIDE_EFFECTS__
1420
1433
  function shallowReadonly(target) {
1421
1434
  return createReactiveObject(
1422
1435
  target,
@@ -1455,24 +1468,29 @@ function createReactiveObject(target, isReadonly2, baseHandlers, collectionHandl
1455
1468
  proxyMap.set(target, proxy);
1456
1469
  return proxy;
1457
1470
  }
1471
+ // @__NO_SIDE_EFFECTS__
1458
1472
  function isReactive(value) {
1459
- if (isReadonly(value)) {
1460
- return isReactive(value["__v_raw"]);
1473
+ if (/* @__PURE__ */ isReadonly(value)) {
1474
+ return /* @__PURE__ */ isReactive(value["__v_raw"]);
1461
1475
  }
1462
1476
  return !!(value && value["__v_isReactive"]);
1463
1477
  }
1478
+ // @__NO_SIDE_EFFECTS__
1464
1479
  function isReadonly(value) {
1465
1480
  return !!(value && value["__v_isReadonly"]);
1466
1481
  }
1482
+ // @__NO_SIDE_EFFECTS__
1467
1483
  function isShallow(value) {
1468
1484
  return !!(value && value["__v_isShallow"]);
1469
1485
  }
1486
+ // @__NO_SIDE_EFFECTS__
1470
1487
  function isProxy(value) {
1471
1488
  return value ? !!value["__v_raw"] : false;
1472
1489
  }
1490
+ // @__NO_SIDE_EFFECTS__
1473
1491
  function toRaw(observed) {
1474
1492
  const raw = observed && observed["__v_raw"];
1475
- return raw ? toRaw(raw) : observed;
1493
+ return raw ? /* @__PURE__ */ toRaw(raw) : observed;
1476
1494
  }
1477
1495
  function markRaw(value) {
1478
1496
  if (!hasOwn(value, "__v_skip") && Object.isExtensible(value)) {
@@ -1480,20 +1498,23 @@ function markRaw(value) {
1480
1498
  }
1481
1499
  return value;
1482
1500
  }
1483
- const toReactive = (value) => isObject$1(value) ? reactive(value) : value;
1484
- const toReadonly = (value) => isObject$1(value) ? readonly(value) : value;
1501
+ const toReactive = (value) => isObject$1(value) ? /* @__PURE__ */ reactive(value) : value;
1502
+ const toReadonly = (value) => isObject$1(value) ? /* @__PURE__ */ readonly(value) : value;
1485
1503
 
1504
+ // @__NO_SIDE_EFFECTS__
1486
1505
  function isRef(r) {
1487
1506
  return r ? r["__v_isRef"] === true : false;
1488
1507
  }
1508
+ // @__NO_SIDE_EFFECTS__
1489
1509
  function ref(value) {
1490
1510
  return createRef(value, false);
1491
1511
  }
1512
+ // @__NO_SIDE_EFFECTS__
1492
1513
  function shallowRef(value) {
1493
1514
  return createRef(value, true);
1494
1515
  }
1495
1516
  function createRef(rawValue, shallow) {
1496
- if (isRef(rawValue)) {
1517
+ if (/* @__PURE__ */ isRef(rawValue)) {
1497
1518
  return rawValue;
1498
1519
  }
1499
1520
  return new RefImpl(rawValue, shallow);
@@ -1549,7 +1570,7 @@ function triggerRef(ref2) {
1549
1570
  }
1550
1571
  }
1551
1572
  function unref(ref2) {
1552
- return isRef(ref2) ? ref2.value : ref2;
1573
+ return /* @__PURE__ */ isRef(ref2) ? ref2.value : ref2;
1553
1574
  }
1554
1575
  function toValue(source) {
1555
1576
  return isFunction$1(source) ? source() : unref(source);
@@ -1558,7 +1579,7 @@ const shallowUnwrapHandlers = {
1558
1579
  get: (target, key, receiver) => key === "__v_raw" ? target : unref(Reflect.get(target, key, receiver)),
1559
1580
  set: (target, key, value, receiver) => {
1560
1581
  const oldValue = target[key];
1561
- if (isRef(oldValue) && !isRef(value)) {
1582
+ if (/* @__PURE__ */ isRef(oldValue) && !/* @__PURE__ */ isRef(value)) {
1562
1583
  oldValue.value = value;
1563
1584
  return true;
1564
1585
  } else {
@@ -1588,6 +1609,7 @@ class CustomRefImpl {
1588
1609
  function customRef(factory) {
1589
1610
  return new CustomRefImpl(factory);
1590
1611
  }
1612
+ // @__NO_SIDE_EFFECTS__
1591
1613
  function toRefs(object) {
1592
1614
  if (!isProxy(object)) {
1593
1615
  warn(`toRefs() expects a reactive object but received a plain one.`);
@@ -1599,16 +1621,16 @@ function toRefs(object) {
1599
1621
  return ret;
1600
1622
  }
1601
1623
  class ObjectRefImpl {
1602
- constructor(_object, _key, _defaultValue) {
1624
+ constructor(_object, key, _defaultValue) {
1603
1625
  this._object = _object;
1604
- this._key = _key;
1605
1626
  this._defaultValue = _defaultValue;
1606
1627
  this["__v_isRef"] = true;
1607
1628
  this._value = void 0;
1629
+ this._key = isSymbol(key) ? key : String(key);
1608
1630
  this._raw = toRaw(_object);
1609
1631
  let shallow = true;
1610
1632
  let obj = _object;
1611
- if (!isArray$1(_object) || !isIntegerKey(String(_key))) {
1633
+ if (!isArray$1(_object) || isSymbol(this._key) || !isIntegerKey(this._key)) {
1612
1634
  do {
1613
1635
  shallow = !isProxy(obj) || isShallow(obj);
1614
1636
  } while (shallow && (obj = obj["__v_raw"]));
@@ -1623,9 +1645,9 @@ class ObjectRefImpl {
1623
1645
  return this._value = val === void 0 ? this._defaultValue : val;
1624
1646
  }
1625
1647
  set value(newVal) {
1626
- if (this._shallow && isRef(this._raw[this._key])) {
1648
+ if (this._shallow && /* @__PURE__ */ isRef(this._raw[this._key])) {
1627
1649
  const nestedRef = this._object[this._key];
1628
- if (isRef(nestedRef)) {
1650
+ if (/* @__PURE__ */ isRef(nestedRef)) {
1629
1651
  nestedRef.value = newVal;
1630
1652
  return;
1631
1653
  }
@@ -1647,15 +1669,16 @@ class GetterRefImpl {
1647
1669
  return this._value = this._getter();
1648
1670
  }
1649
1671
  }
1672
+ // @__NO_SIDE_EFFECTS__
1650
1673
  function toRef(source, key, defaultValue) {
1651
- if (isRef(source)) {
1674
+ if (/* @__PURE__ */ isRef(source)) {
1652
1675
  return source;
1653
1676
  } else if (isFunction$1(source)) {
1654
1677
  return new GetterRefImpl(source);
1655
1678
  } else if (isObject$1(source) && arguments.length > 1) {
1656
1679
  return propertyToRef(source, key, defaultValue);
1657
1680
  } else {
1658
- return ref(source);
1681
+ return /* @__PURE__ */ ref(source);
1659
1682
  }
1660
1683
  }
1661
1684
  function propertyToRef(source, key, defaultValue) {
@@ -1736,6 +1759,7 @@ class ComputedRefImpl {
1736
1759
  }
1737
1760
  }
1738
1761
  }
1762
+ // @__NO_SIDE_EFFECTS__
1739
1763
  function computed(getterOrOptions, debugOptions, isSSR = false) {
1740
1764
  let getter;
1741
1765
  let setter;
@@ -2054,14 +2078,15 @@ function flushPostFlushCbs() {
2054
2078
  }
2055
2079
  }
2056
2080
  function flushJobs() {
2081
+ /* istanbul ignore next -- @preserve */
2057
2082
  const seen = new Map() ;
2058
2083
  // Conditional usage of checkRecursiveUpdate must be determined out of
2059
2084
  // try ... catch block since Rollup by default de-optimizes treeshaking
2060
2085
  // inside try-catch. This can leave all warning code unshaked. Although
2061
2086
  // they would get eventually shaken by a minifier like terser, some minifiers
2062
2087
  // would fail to do that (e.g. https://github.com/evanw/esbuild/issues/1610)
2063
- const check = (job) => checkRecursiveUpdates(seen, job)
2064
- ;
2088
+ /* istanbul ignore next -- @preserve */
2089
+ const check = (job) => checkRecursiveUpdates(seen, job) ;
2065
2090
  try {
2066
2091
  for (flushIndex = 0; flushIndex < queue.length; flushIndex++) {
2067
2092
  const job = queue[flushIndex];
@@ -2571,8 +2596,9 @@ function defineComponent(optionsOrSetup, config) {
2571
2596
  setInitialRenderingCache: this.setInitialRenderingCache.bind(this),
2572
2597
  getAppBar: this.getAppBar && this.getAppBar.bind(this),
2573
2598
  };
2574
- const bindings = setup(shallowReadonly(this.__props__)
2575
- , context);
2599
+ const bindings = setup(
2600
+ /* istanbul ignore next -- @preserve */
2601
+ shallowReadonly(this.__props__) , context);
2576
2602
  if (bindings !== undefined) {
2577
2603
  let data;
2578
2604
  Object.keys(bindings).forEach((key) => {
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * vue-mini v1.2.8
2
+ * vue-mini v1.2.10
3
3
  * https://github.com/vue-mini/vue-mini
4
4
  * (c) 2019-present Yang Mingshan
5
5
  * @license MIT
6
6
  */
7
- "use strict";function t(t){const e=Object.create(null);for(const s of t.split(","))e[s]=1;return t=>t in e}const e={},s=()=>{},n=Object.assign,i=Object.prototype.hasOwnProperty,o=(t,e)=>i.call(t,e),r=Array.isArray,c=t=>"[object Map]"===u(t),a=t=>"function"==typeof t,h=t=>"symbol"==typeof t,l=t=>null!==t&&"object"==typeof t,_=Object.prototype.toString,u=t=>_.call(t),f=t=>"string"==typeof t&&"NaN"!==t&&"-"!==t[0]&&""+parseInt(t,10)===t,p=(t,e)=>!Object.is(t,e);let d,E;class v{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=d,!t&&d&&(this.index=(d.scopes||(d.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let t,e;if(this._isPaused=!0,this.scopes)for(t=0,e=this.scopes.length;t<e;t++)this.scopes[t].pause();for(t=0,e=this.effects.length;t<e;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){let t,e;if(this._isPaused=!1,this.scopes)for(t=0,e=this.scopes.length;t<e;t++)this.scopes[t].resume();for(t=0,e=this.effects.length;t<e;t++)this.effects[t].resume()}}run(t){if(this._active){const e=d;try{return d=this,t()}finally{d=e}}}on(){1===++this._on&&(this.prevScope=d,d=this)}off(){this._on>0&&0===--this._on&&(d=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){let e,s;for(this._active=!1,e=0,s=this.effects.length;e<s;e++)this.effects[e].stop();for(this.effects.length=0,e=0,s=this.cleanups.length;e<s;e++)this.cleanups[e]();if(this.cleanups.length=0,this.scopes){for(e=0,s=this.scopes.length;e<s;e++)this.scopes[e].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const t=this.parent.scopes.pop();t&&t!==this&&(this.parent.scopes[this.index]=t,t.index=this.index)}this.parent=void 0}}}function O(){return d}const g=new WeakSet;class S{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,d&&d.active&&d.effects.push(this)}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,g.has(this)&&(g.delete(this),this.trigger()))}notify(){2&this.flags&&!(32&this.flags)||8&this.flags||T(this)}run(){if(!(1&this.flags))return this.fn();this.flags|=2,U(this),y(this);const t=E,e=P;E=this,P=!0;try{return this.fn()}finally{D(this),E=t,P=e,this.flags&=-3}}stop(){if(1&this.flags){for(let t=this.deps;t;t=t.nextDep)I(t);this.deps=this.depsTail=void 0,U(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?g.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){x(this)&&this.run()}get dirty(){return x(this)}}let A,N,R=0;function T(t,e=!1){if(t.flags|=8,e)return t.next=N,void(N=t);t.next=A,A=t}function b(){R++}function m(){if(--R>0)return;if(N){let t=N;for(N=void 0;t;){const e=t.next;t.next=void 0,t.flags&=-9,t=e}}let t;for(;A;){let e=A;for(A=void 0;e;){const s=e.next;if(e.next=void 0,e.flags&=-9,1&e.flags)try{e.trigger()}catch(e){t||(t=e)}e=s}}if(t)throw t}function y(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function D(t){let e,s=t.depsTail,n=s;for(;n;){const t=n.prevDep;-1===n.version?(n===s&&(s=t),I(n),L(n)):e=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=t}t.deps=e,t.depsTail=s}function x(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(w(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function w(t){if(4&t.flags&&!(16&t.flags))return;if(t.flags&=-17,t.globalVersion===M)return;if(t.globalVersion=M,!t.isSSR&&128&t.flags&&(!t.deps&&!t._dirty||!x(t)))return;t.flags|=2;const e=t.dep,s=E,n=P;E=t,P=!0;try{y(t);const s=t.fn(t._value);(0===e.version||p(s,t._value))&&(t.flags|=128,t._value=s,e.version++)}catch(t){throw e.version++,t}finally{E=s,P=n,D(t),t.flags&=-3}}function I(t,e=!1){const{dep:s,prevSub:n,nextSub:i}=t;if(n&&(n.nextSub=i,t.prevSub=void 0),i&&(i.prevSub=n,t.nextSub=void 0),s.subs===t&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let t=s.computed.deps;t;t=t.nextDep)I(t,!0)}e||--s.sc||!s.map||s.map.delete(s.key)}function L(t){const{prevDep:e,nextDep:s}=t;e&&(e.nextDep=s,t.prevDep=void 0),s&&(s.prevDep=e,t.nextDep=void 0)}let P=!0;const H=[];function C(){H.push(P),P=!1}function k(){const t=H.pop();P=void 0===t||t}function U(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const t=E;E=void 0;try{e()}finally{E=t}}}let M=0;class j{constructor(t,e){this.sub=t,this.dep=e,this.version=e.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class W{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!E||!P||E===this.computed)return;let e=this.activeLink;if(void 0===e||e.sub!==E)e=this.activeLink=new j(E,this),E.deps?(e.prevDep=E.depsTail,E.depsTail.nextDep=e,E.depsTail=e):E.deps=E.depsTail=e,V(e);else if(-1===e.version&&(e.version=this.version,e.nextDep)){const t=e.nextDep;t.prevDep=e.prevDep,e.prevDep&&(e.prevDep.nextDep=t),e.prevDep=E.depsTail,e.nextDep=void 0,E.depsTail.nextDep=e,E.depsTail=e,E.deps===e&&(E.deps=t)}return e}trigger(t){this.version++,M++,this.notify(t)}notify(t){b();try{0;for(let t=this.subs;t;t=t.prevSub)t.sub.notify()&&t.sub.dep.notify()}finally{m()}}}function V(t){if(t.dep.sc++,4&t.sub.flags){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let t=e.deps;t;t=t.nextDep)V(t)}const s=t.dep.subs;s!==t&&(t.prevSub=s,s&&(s.nextSub=t)),t.dep.subs=t}}const G=new WeakMap,F=Symbol(""),B=Symbol(""),Q=Symbol("");function Y(t,e,s){if(P&&E){let e=G.get(t);e||G.set(t,e=new Map);let n=e.get(s);n||(e.set(s,n=new W),n.map=e,n.key=s),n.track()}}function X(t,e,s,n,i,o){const a=G.get(t);if(!a)return void M++;const l=t=>{t&&t.trigger()};if(b(),"clear"===e)a.forEach(l);else{const i=r(t),o=i&&f(s);if(i&&"length"===s){const t=Number(n);a.forEach((e,s)=>{("length"===s||s===Q||!h(s)&&s>=t)&&l(e)})}else switch((void 0!==s||a.has(void 0))&&l(a.get(s)),o&&l(a.get(Q)),e){case"add":i?o&&l(a.get("length")):(l(a.get(F)),c(t)&&l(a.get(B)));break;case"delete":i||(l(a.get(F)),c(t)&&l(a.get(B)));break;case"set":c(t)&&l(a.get(F))}}m()}function Z(t){const e=kt(t);return e===t?e:(Y(e,0,Q),Ht(t)?e:e.map(Ut))}function z(t){return Y(t=kt(t),0,Q),t}function J(t,e){return Pt(t)?Lt(t)?Mt(Ut(e)):Mt(e):Ut(e)}const K={__proto__:null,[Symbol.iterator](){return $(this,Symbol.iterator,t=>J(this,t))},concat(...t){return Z(this).concat(...t.map(t=>r(t)?Z(t):t))},entries(){return $(this,"entries",t=>(t[1]=J(this,t[1]),t))},every(t,e){return tt(this,"every",t,e,void 0,arguments)},filter(t,e){return tt(this,"filter",t,e,t=>t.map(t=>J(this,t)),arguments)},find(t,e){return tt(this,"find",t,e,t=>J(this,t),arguments)},findIndex(t,e){return tt(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return tt(this,"findLast",t,e,t=>J(this,t),arguments)},findLastIndex(t,e){return tt(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return tt(this,"forEach",t,e,void 0,arguments)},includes(...t){return st(this,"includes",t)},indexOf(...t){return st(this,"indexOf",t)},join(t){return Z(this).join(t)},lastIndexOf(...t){return st(this,"lastIndexOf",t)},map(t,e){return tt(this,"map",t,e,void 0,arguments)},pop(){return nt(this,"pop")},push(...t){return nt(this,"push",t)},reduce(t,...e){return et(this,"reduce",t,e)},reduceRight(t,...e){return et(this,"reduceRight",t,e)},shift(){return nt(this,"shift")},some(t,e){return tt(this,"some",t,e,void 0,arguments)},splice(...t){return nt(this,"splice",t)},toReversed(){return Z(this).toReversed()},toSorted(t){return Z(this).toSorted(t)},toSpliced(...t){return Z(this).toSpliced(...t)},unshift(...t){return nt(this,"unshift",t)},values(){return $(this,"values",t=>J(this,t))}};function $(t,e,s){const n=z(t),i=n[e]();return n===t||Ht(t)||(i._next=i.next,i.next=()=>{const t=i._next();return t.done||(t.value=s(t.value)),t}),i}const q=Array.prototype;function tt(t,e,s,n,i,o){const r=z(t),c=r!==t&&!Ht(t),a=r[e];if(a!==q[e]){const e=a.apply(t,o);return c?Ut(e):e}let h=s;r!==t&&(c?h=function(e,n){return s.call(this,J(t,e),n,t)}:s.length>2&&(h=function(e,n){return s.call(this,e,n,t)}));const l=a.call(r,h,n);return c&&i?i(l):l}function et(t,e,s,n){const i=z(t);let o=s;return i!==t&&(Ht(t)?s.length>3&&(o=function(e,n,i){return s.call(this,e,n,i,t)}):o=function(e,n,i){return s.call(this,e,J(t,n),i,t)}),i[e](o,...n)}function st(t,e,s){const n=kt(t);Y(n,0,Q);const i=n[e](...s);return-1!==i&&!1!==i||!Ct(s[0])?i:(s[0]=kt(s[0]),n[e](...s))}function nt(t,e,s=[]){C(),b();const n=kt(t)[e].apply(t,s);return m(),k(),n}const it=t("__proto__,__v_isRef,__isVue"),ot=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>"arguments"!==t&&"caller"!==t).map(t=>Symbol[t]).filter(h));function rt(t){h(t)||(t=String(t));const e=kt(this);return Y(e,0,t),e.hasOwnProperty(t)}class ct{constructor(t=!1,e=!1){this._isReadonly=t,this._isShallow=e}get(t,e,s){if("__v_skip"===e)return t.__v_skip;const n=this._isReadonly,i=this._isShallow;if("__v_isReactive"===e)return!n;if("__v_isReadonly"===e)return n;if("__v_isShallow"===e)return i;if("__v_raw"===e)return s===(n?i?mt:bt:i?Tt:Rt).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=r(t);if(!n){let t;if(o&&(t=K[e]))return t;if("hasOwnProperty"===e)return rt}const c=Reflect.get(t,e,jt(t)?t:s);if(h(e)?ot.has(e):it(e))return c;if(n||Y(t,0,e),i)return c;if(jt(c)){const t=o&&f(e)?c:c.value;return n&&l(t)?wt(t):t}return l(c)?n?wt(c):Dt(c):c}}class at extends ct{constructor(t=!1){super(!1,t)}set(t,e,s,n){let i=t[e];const c=r(t)&&f(e);if(!this._isShallow){const t=Pt(i);if(Ht(s)||Pt(s)||(i=kt(i),s=kt(s)),!c&&jt(i)&&!jt(s))return t||(i.value=s),!0}const a=c?Number(e)<t.length:o(t,e),h=Reflect.set(t,e,s,jt(t)?t:n);return t===kt(n)&&(a?p(s,i)&&X(t,"set",e,s):X(t,"add",e,s)),h}deleteProperty(t,e){const s=o(t,e),n=Reflect.deleteProperty(t,e);return n&&s&&X(t,"delete",e,void 0),n}has(t,e){const s=Reflect.has(t,e);return h(e)&&ot.has(e)||Y(t,0,e),s}ownKeys(t){return Y(t,0,r(t)?"length":F),Reflect.ownKeys(t)}}class ht extends ct{constructor(t=!1){super(!0,t)}set(t,e){return!0}deleteProperty(t,e){return!0}}const lt=new at,_t=new ht,ut=new at(!0),ft=new ht(!0),pt=t=>t,dt=t=>Reflect.getPrototypeOf(t);function Et(t){return function(...e){return"delete"!==t&&("clear"===t?void 0:this)}}function vt(t,e){const s={get(s){const n=this.__v_raw,i=kt(n),o=kt(s);t||(p(s,o)&&Y(i,0,s),Y(i,0,o));const{has:r}=dt(i),c=e?pt:t?Mt:Ut;return r.call(i,s)?c(n.get(s)):r.call(i,o)?c(n.get(o)):void(n!==i&&n.get(s))},get size(){const e=this.__v_raw;return!t&&Y(kt(e),0,F),e.size},has(e){const s=this.__v_raw,n=kt(s),i=kt(e);return t||(p(e,i)&&Y(n,0,e),Y(n,0,i)),e===i?s.has(e):s.has(e)||s.has(i)},forEach(s,n){const i=this,o=i.__v_raw,r=kt(o),c=e?pt:t?Mt:Ut;return!t&&Y(r,0,F),o.forEach((t,e)=>s.call(n,c(t),c(e),i))}};n(s,t?{add:Et("add"),set:Et("set"),delete:Et("delete"),clear:Et("clear")}:{add(t){e||Ht(t)||Pt(t)||(t=kt(t));const s=kt(this);return dt(s).has.call(s,t)||(s.add(t),X(s,"add",t,t)),this},set(t,s){e||Ht(s)||Pt(s)||(s=kt(s));const n=kt(this),{has:i,get:o}=dt(n);let r=i.call(n,t);r||(t=kt(t),r=i.call(n,t));const c=o.call(n,t);return n.set(t,s),r?p(s,c)&&X(n,"set",t,s):X(n,"add",t,s),this},delete(t){const e=kt(this),{has:s,get:n}=dt(e);let i=s.call(e,t);i||(t=kt(t),i=s.call(e,t)),n&&n.call(e,t);const o=e.delete(t);return i&&X(e,"delete",t,void 0),o},clear(){const t=kt(this),e=0!==t.size,s=t.clear();return e&&X(t,"clear",void 0,void 0),s}});return["keys","values","entries",Symbol.iterator].forEach(n=>{s[n]=function(t,e,s){return function(...n){const i=this.__v_raw,o=kt(i),r=c(o),a="entries"===t||t===Symbol.iterator&&r,h="keys"===t&&r,l=i[t](...n),_=s?pt:e?Mt:Ut;return!e&&Y(o,0,h?B:F),{next(){const{value:t,done:e}=l.next();return e?{value:t,done:e}:{value:a?[_(t[0]),_(t[1])]:_(t),done:e}},[Symbol.iterator](){return this}}}}(n,t,e)}),s}function Ot(t,e){const s=vt(t,e);return(e,n,i)=>"__v_isReactive"===n?!t:"__v_isReadonly"===n?t:"__v_raw"===n?e:Reflect.get(o(s,n)&&n in e?s:e,n,i)}const gt={get:Ot(!1,!1)},St={get:Ot(!1,!0)},At={get:Ot(!0,!1)},Nt={get:Ot(!0,!0)},Rt=new WeakMap,Tt=new WeakMap,bt=new WeakMap,mt=new WeakMap;function yt(t){return t.__v_skip||!Object.isExtensible(t)?0:function(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((t=>u(t).slice(8,-1))(t))}function Dt(t){return Pt(t)?t:It(t,!1,lt,gt,Rt)}function xt(t){return It(t,!1,ut,St,Tt)}function wt(t){return It(t,!0,_t,At,bt)}function It(t,e,s,n,i){if(!l(t))return t;if(t.__v_raw&&(!e||!t.__v_isReactive))return t;const o=yt(t);if(0===o)return t;const r=i.get(t);if(r)return r;const c=new Proxy(t,2===o?n:s);return i.set(t,c),c}function Lt(t){return Pt(t)?Lt(t.__v_raw):!(!t||!t.__v_isReactive)}function Pt(t){return!(!t||!t.__v_isReadonly)}function Ht(t){return!(!t||!t.__v_isShallow)}function Ct(t){return!!t&&!!t.__v_raw}function kt(t){const e=t&&t.__v_raw;return e?kt(e):t}const Ut=t=>l(t)?Dt(t):t,Mt=t=>l(t)?wt(t):t;function jt(t){return!!t&&!0===t.__v_isRef}function Wt(t){return Vt(t,!1)}function Vt(t,e){return jt(t)?t:new Gt(t,e)}class Gt{constructor(t,e){this.dep=new W,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=e?t:kt(t),this._value=e?t:Ut(t),this.__v_isShallow=e}get value(){return this.dep.track(),this._value}set value(t){const e=this._rawValue,s=this.__v_isShallow||Ht(t)||Pt(t);t=s?t:kt(t),p(t,e)&&(this._rawValue=t,this._value=s?t:Ut(t),this.dep.trigger())}}function Ft(t){return jt(t)?t.value:t}const Bt={get:(t,e,s)=>"__v_raw"===e?t:Ft(Reflect.get(t,e,s)),set:(t,e,s,n)=>{const i=t[e];return jt(i)&&!jt(s)?(i.value=s,!0):Reflect.set(t,e,s,n)}};class Qt{constructor(t){this.__v_isRef=!0,this._value=void 0;const e=this.dep=new W,{get:s,set:n}=t(e.track.bind(e),e.trigger.bind(e));this._get=s,this._set=n}get value(){return this._value=this._get()}set value(t){this._set(t)}}class Yt{constructor(t,e,s){this._object=t,this._key=e,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0,this._raw=kt(t);let n=!0,i=t;if(!r(t)||!f(String(e)))do{n=!Ct(i)||Ht(i)}while(n&&(i=i.__v_raw));this._shallow=n}get value(){let t=this._object[this._key];return this._shallow&&(t=Ft(t)),this._value=void 0===t?this._defaultValue:t}set value(t){if(this._shallow&&jt(this._raw[this._key])){const e=this._object[this._key];if(jt(e))return void(e.value=t)}this._object[this._key]=t}get dep(){return function(t,e){const s=G.get(t);return s&&s.get(e)}(this._raw,this._key)}}class Xt{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Zt(t,e,s){return new Yt(t,e,s)}class zt{constructor(t,e,s){this.fn=t,this.setter=e,this._value=void 0,this.dep=new W(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=M-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!e,this.isSSR=s}notify(){if(this.flags|=16,!(8&this.flags)&&E!==this)return T(this,!0),!0}get value(){const t=this.dep.track();return w(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}const Jt={},Kt=new WeakMap;let $t;function qt(t,e=!1,s=$t){if(s){let e=Kt.get(s);e||Kt.set(s,e=[]),e.push(t)}}function te(t,e=1/0,s){if(e<=0||!l(t)||t.__v_skip)return t;if(((s=s||new Map).get(t)||0)>=e)return t;if(s.set(t,e),e--,jt(t))te(t.value,e,s);else if(r(t))for(let n=0;n<t.length;n++)te(t[n],e,s);else if("[object Set]"===u(t)||c(t))t.forEach(t=>{te(t,e,s)});else if((t=>"[object Object]"===u(t))(t)){for(const n in t)te(t[n],e,s);for(const n of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,n)&&te(t[n],e,s)}return t}const ee={},se=Array.isArray,ne=Object.assign;function ie(t,e){const s={};return Object.keys(t).forEach(n=>{e.includes(n)||(s[n]=t[n])}),s}function oe(t){return Object.prototype.toString.call(t).slice(8,-1)}function re(t){return"function"==typeof t}function ce(t){return`__${t}__`}var ae;!function(t){t[t.QUEUED=1]="QUEUED",t[t.ALLOW_RECURSE=4]="ALLOW_RECURSE"}(ae||(ae={}));const he=[];let le=-1;const _e=[];let ue=null,fe=0;const pe=Promise.resolve();let de=null;function Ee(t){t.flags&ae.QUEUED||(he.push(t),t.flags|=ae.QUEUED,de||(de=pe.then(Oe)))}function ve(){if(_e.length>0){for(ue=[...new Set(_e)],_e.length=0,fe=0;fe<ue.length;fe++){const t=ue[fe];t.flags&ae.ALLOW_RECURSE&&(t.flags&=~ae.QUEUED),t(),t.flags&=~ae.QUEUED}ue=null,fe=0}}function Oe(){try{for(le=0;le<he.length;le++){const t=he[le];0,t.flags&ae.ALLOW_RECURSE&&(t.flags&=~ae.QUEUED),t(),t.flags&ae.ALLOW_RECURSE||(t.flags&=~ae.QUEUED)}}finally{for(;le<he.length;le++){he[le].flags&=~ae.QUEUED}le=-1,he.length=0,de=null}}function ge(t,e,s){return Se(t,e,s)}function Se(t,n,i=ee){const{flush:o}=i,c=ne({},i);"post"===o?c.scheduler=t=>{!function(t){t.flags&ae.QUEUED||(_e.push(t),t.flags|=ae.QUEUED)}(t)}:"sync"!==o&&(c.scheduler=(t,e)=>{e?t():Ee(t)}),c.augmentJob=t=>{n&&(t.flags|=ae.ALLOW_RECURSE)};const h=function(t,n,i=e){const{immediate:o,deep:c,once:h,scheduler:l,augmentJob:_,call:u}=i,f=t=>c?t:Ht(t)||!1===c||0===c?te(t,1):te(t);let d,E,v,g,A=!1,N=!1;if(jt(t)?(E=()=>t.value,A=Ht(t)):Lt(t)?(E=()=>f(t),A=!0):r(t)?(N=!0,A=t.some(t=>Lt(t)||Ht(t)),E=()=>t.map(t=>jt(t)?t.value:Lt(t)?f(t):a(t)?u?u(t,2):t():void 0)):E=a(t)?n?u?()=>u(t,2):t:()=>{if(v){C();try{v()}finally{k()}}const e=$t;$t=d;try{return u?u(t,3,[g]):t(g)}finally{$t=e}}:s,n&&c){const t=E,e=!0===c?1/0:c;E=()=>te(t(),e)}const R=O(),T=()=>{d.stop(),R&&R.active&&((t,e)=>{const s=t.indexOf(e);s>-1&&t.splice(s,1)})(R.effects,d)};if(h&&n){const t=n;n=(...e)=>{t(...e),T()}}let b=N?new Array(t.length).fill(Jt):Jt;const m=t=>{if(1&d.flags&&(d.dirty||t))if(n){const t=d.run();if(c||A||(N?t.some((t,e)=>p(t,b[e])):p(t,b))){v&&v();const e=$t;$t=d;try{const e=[t,b===Jt?void 0:N&&b[0]===Jt?[]:b,g];b=t,u?u(n,3,e):n(...e)}finally{$t=e}}}else d.run()};return _&&_(m),d=new S(E),d.scheduler=l?()=>l(m,!1):m,g=t=>qt(t,!1,d),v=d.onStop=()=>{const t=Kt.get(d);if(t){if(u)u(t,4);else for(const e of t)e();Kt.delete(d)}},n?o?m(!0):b=d.run():l?l(m.bind(null,!0),!0):d.run(),T.pause=d.pause.bind(d),T.resume=d.resume.bind(d),T.stop=T,T}(t,n,c);return h}const Ae=Object.create(null);let Ne=null,Re=null,Te=null;function be(){return Re||Te}var me,ye,De;function xe(t,e){const s=t[e];return function(...t){const n=this[ce(e)];n&&n.forEach(e=>e(...t)),void 0!==s&&s.call(this,...t)}}function we(t){if(function(t){const e=new Set(["undefined","boolean","number","string"]);return null===t||e.has(typeof t)}(t)||re(t))return t;if(jt(t))return we(t.value);if(Ct(t))return we(kt(t));if(se(t))return t.map(t=>we(t));if(function(t){return"Object"===oe(t)}(t)){const e={};return Object.keys(t).forEach(s=>{e[s]=we(t[s])}),e}throw new TypeError(`${oe(t)} value is not supported`)}function Ie(t,e){var s;null!==(s=e)&&"object"==typeof s&&ge(jt(e)?e:()=>e,()=>{this.setData({[t]:we(e)},ve)},{deep:!0})}function Le(t,e){const s=t[e];return function(...t){const n=this[ce(e)];n&&n.forEach(e=>e(...t)),void 0!==s&&s.call(this,...t)}}!function(t){t.ON_LAUNCH="onLaunch",t.ON_SHOW="onShow",t.ON_HIDE="onHide",t.ON_ERROR="onError",t.ON_PAGE_NOT_FOUND="onPageNotFound",t.ON_UNHANDLED_REJECTION="onUnhandledRejection",t.ON_THEME_CHANGE="onThemeChange"}(me||(me={})),function(t){t.ON_LOAD="onLoad",t.ON_SHOW="onShow",t.ON_READY="onReady",t.ON_HIDE="onHide",t.ON_UNLOAD="onUnload",t.ON_ROUTE_DONE="onRouteDone",t.ON_PULL_DOWN_REFRESH="onPullDownRefresh",t.ON_REACH_BOTTOM="onReachBottom",t.ON_PAGE_SCROLL="onPageScroll",t.ON_SHARE_APP_MESSAGE="onShareAppMessage",t.ON_SHARE_TIMELINE="onShareTimeline",t.ON_ADD_TO_FAVORITES="onAddToFavorites",t.ON_RESIZE="onResize",t.ON_TAB_ITEM_TAP="onTabItemTap",t.ON_SAVE_EXIT_STATE="onSaveExitState"}(ye||(ye={})),function(t){t.ATTACHED="attached",t.READY="ready",t.MOVED="moved",t.DETACHED="detached",t.ERROR="error"}(De||(De={}));const Pe={[ye.ON_SHOW]:"show",[ye.ON_HIDE]:"hide",[ye.ON_RESIZE]:"resize",[ye.ON_ROUTE_DONE]:"routeDone",[De.READY]:ye.ON_READY};function He(t,e){return Ue(e,t.lifetimes[e]||t[e])}function Ce(t,e){return Ue(e,t.methods[e])}function ke(t,e){return Ue(e,t.pageLifetimes[Pe[e]])}function Ue(t,e){const s=ce(t);return function(...t){const n=this[s];n&&n.forEach(e=>e(...t)),void 0!==e&&e.call(this,...t)}}const Me=ss(me.ON_SHOW),je=ss(me.ON_HIDE),We=ss(me.ON_ERROR),Ve=ss(me.ON_PAGE_NOT_FOUND),Ge=ss(me.ON_UNHANDLED_REJECTION),Fe=ss(me.ON_THEME_CHANGE),Be=ns(ye.ON_SHOW),Qe=ns(ye.ON_HIDE),Ye=ns(ye.ON_UNLOAD),Xe=ns(ye.ON_ROUTE_DONE),Ze=ns(ye.ON_PULL_DOWN_REFRESH),ze=ns(ye.ON_REACH_BOTTOM),Je=ns(ye.ON_RESIZE),Ke=ns(ye.ON_TAB_ITEM_TAP),$e=is(ye.ON_LOAD),qe=is(De.MOVED),ts=is(De.DETACHED),es=is(De.ERROR);function ss(t){return e=>{Ne&&os(Ne,t,e)}}function ns(t){return e=>{const s=be();s&&os(s,t,e)}}function is(t){return e=>{Te&&os(Te,t,e)}}function os(t,e,s){const n=ce(e);void 0===t[n]&&(t[n]=[]),t[n].push(s)}exports.EffectScope=v,exports.ReactiveEffect=S,exports.TrackOpTypes={GET:"get",HAS:"has",ITERATE:"iterate"},exports.TriggerOpTypes={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},exports.computed=function(t,e,s=!1){let n,i;return a(t)?n=t:(n=t.get,i=t.set),new zt(n,i,s)},exports.createApp=function(t){let e,s;if(re(t))e=t,s={};else{if(void 0===t.setup)return void App(t);e=t.setup,s=ie(t,["setup"])}const n=s[me.ON_LAUNCH];s[me.ON_LAUNCH]=function(t){Ne=this;const s=e(t);void 0!==s&&Object.keys(s).forEach(t=>{this[t]=s[t]}),Ne=null,void 0!==n&&n.call(this,t)},s[me.ON_SHOW]=xe(s,me.ON_SHOW),s[me.ON_HIDE]=xe(s,me.ON_HIDE),s[me.ON_ERROR]=xe(s,me.ON_ERROR),s[me.ON_PAGE_NOT_FOUND]=xe(s,me.ON_PAGE_NOT_FOUND),s[me.ON_UNHANDLED_REJECTION]=xe(s,me.ON_UNHANDLED_REJECTION),s[me.ON_THEME_CHANGE]=xe(s,me.ON_THEME_CHANGE),App(s)},exports.customRef=function(t){return new Qt(t)},exports.defineComponent=function(t,e){let s,n;e=ne({listenPageScroll:!1,canShareToOthers:!1,canShareToTimeline:!1},e);let i=null;if(re(t))s=t,n={};else{if(void 0===t.setup)return Component(t);s=t.setup,n=ie(t,["setup"]),n.properties&&(i=Object.keys(n.properties))}void 0===n.lifetimes&&(n.lifetimes={});const o=n.lifetimes[De.ATTACHED]||n[De.ATTACHED];n.lifetimes[De.ATTACHED]=function(){var t;this.__scope__=new v,Te=t=this,t.__scope__.on();const e={};i&&i.forEach(t=>{e[t]=this.data[t]}),this.__props__=xt(e);const n={is:this.is,id:this.id,dataset:this.dataset,exitState:this.exitState,router:this.router,pageRouter:this.pageRouter,renderer:this.renderer,triggerEvent:this.triggerEvent.bind(this),createSelectorQuery:this.createSelectorQuery.bind(this),createIntersectionObserver:this.createIntersectionObserver.bind(this),createMediaQueryObserver:this.createMediaQueryObserver.bind(this),selectComponent:this.selectComponent.bind(this),selectAllComponents:this.selectAllComponents.bind(this),selectOwnerComponent:this.selectOwnerComponent.bind(this),getRelationNodes:this.getRelationNodes.bind(this),getTabBar:this.getTabBar.bind(this),getPageId:this.getPageId.bind(this),animate:this.animate.bind(this),clearAnimation:this.clearAnimation.bind(this),getOpenerEventChannel:this.getOpenerEventChannel.bind(this),applyAnimatedStyle:this.applyAnimatedStyle.bind(this),clearAnimatedStyle:this.clearAnimatedStyle.bind(this),setUpdatePerformanceListener:this.setUpdatePerformanceListener.bind(this),getPassiveEvent:this.getPassiveEvent.bind(this),setPassiveEvent:this.setPassiveEvent.bind(this),setInitialRenderingCache:this.setInitialRenderingCache.bind(this),getAppBar:this.getAppBar&&this.getAppBar.bind(this)},r=s(this.__props__,n);if(void 0!==r){let t;Object.keys(r).forEach(e=>{const s=r[e];re(s)?this[e]=s:(t=t||{},t[e]=we(s),Ie.call(this,e,s))}),void 0!==t&&this.setData(t,ve)}Te&&Te.__scope__.off(),Te=null,void 0!==o&&o.call(this)};const r=He(n,De.DETACHED);return n.lifetimes[De.DETACHED]=function(){r.call(this),this.__scope__.stop()},n.lifetimes[De.READY]=Ue(Pe[De.READY],n.lifetimes[De.READY]||n[De.READY]),n.lifetimes[De.MOVED]=He(n,De.MOVED),n.lifetimes[De.ERROR]=He(n,De.ERROR),void 0===n.methods&&(n.methods={}),(n.methods[ye.ON_PAGE_SCROLL]||e.listenPageScroll)&&(n.methods[ye.ON_PAGE_SCROLL]=Ce(n,ye.ON_PAGE_SCROLL),n.methods.__listenPageScroll__=()=>!0),void 0===n.methods[ye.ON_SHARE_APP_MESSAGE]&&e.canShareToOthers&&(n.methods[ye.ON_SHARE_APP_MESSAGE]=function(t){const e=this[ce(ye.ON_SHARE_APP_MESSAGE)];return e?e(t):{}},n.methods.__isInjectedShareToOthersHook__=()=>!0),void 0===n.methods[ye.ON_SHARE_TIMELINE]&&e.canShareToTimeline&&(n.methods[ye.ON_SHARE_TIMELINE]=function(){const t=this[ce(ye.ON_SHARE_TIMELINE)];return t?t():{}},n.methods.__isInjectedShareToTimelineHook__=()=>!0),void 0===n.methods[ye.ON_ADD_TO_FAVORITES]&&(n.methods[ye.ON_ADD_TO_FAVORITES]=function(t){const e=this[ce(ye.ON_ADD_TO_FAVORITES)];return e?e(t):{}},n.methods.__isInjectedFavoritesHook__=()=>!0),void 0===n.methods[ye.ON_SAVE_EXIT_STATE]&&(n.methods[ye.ON_SAVE_EXIT_STATE]=function(){const t=this[ce(ye.ON_SAVE_EXIT_STATE)];return t?t():{data:void 0}},n.methods.__isInjectedExitStateHook__=()=>!0),n.methods[ye.ON_LOAD]=Ce(n,ye.ON_LOAD),n.methods[ye.ON_PULL_DOWN_REFRESH]=Ce(n,ye.ON_PULL_DOWN_REFRESH),n.methods[ye.ON_REACH_BOTTOM]=Ce(n,ye.ON_REACH_BOTTOM),n.methods[ye.ON_TAB_ITEM_TAP]=Ce(n,ye.ON_TAB_ITEM_TAP),void 0===n.pageLifetimes&&(n.pageLifetimes={}),n.pageLifetimes[Pe[ye.ON_SHOW]]=ke(n,ye.ON_SHOW),n.pageLifetimes[Pe[ye.ON_HIDE]]=ke(n,ye.ON_HIDE),n.pageLifetimes[Pe[ye.ON_RESIZE]]=ke(n,ye.ON_RESIZE),n.pageLifetimes[Pe[ye.ON_ROUTE_DONE]]=ke(n,ye.ON_ROUTE_DONE),i&&(void 0===n.observers&&(n.observers={}),i.forEach(t=>{const e=n.observers[t];n.observers[t]=function(s){this.__props__&&(this.__props__[t]=s),void 0!==e&&e.call(this,s)}})),Component(n)},exports.definePage=function(t,e){let s,n;if(e=ne({listenPageScroll:!1,canShareToOthers:!1,canShareToTimeline:!1},e),re(t))s=t,n={};else{if(void 0===t.setup)return void Page(t);s=t.setup,n=ie(t,["setup"])}const i=n[ye.ON_LOAD];n[ye.ON_LOAD]=function(t){var e;this.__scope__=new v,Re=e=this,e.__scope__.on();const n={is:this.is,route:this.route,options:this.options,exitState:this.exitState,router:this.router,pageRouter:this.pageRouter,renderer:this.renderer,createSelectorQuery:this.createSelectorQuery.bind(this),createIntersectionObserver:this.createIntersectionObserver.bind(this),createMediaQueryObserver:this.createMediaQueryObserver.bind(this),selectComponent:this.selectComponent.bind(this),selectAllComponents:this.selectAllComponents.bind(this),getTabBar:this.getTabBar.bind(this),getPageId:this.getPageId.bind(this),animate:this.animate.bind(this),clearAnimation:this.clearAnimation.bind(this),getOpenerEventChannel:this.getOpenerEventChannel.bind(this),applyAnimatedStyle:this.applyAnimatedStyle.bind(this),clearAnimatedStyle:this.clearAnimatedStyle.bind(this),setUpdatePerformanceListener:this.setUpdatePerformanceListener.bind(this),getPassiveEvent:this.getPassiveEvent.bind(this),setPassiveEvent:this.setPassiveEvent.bind(this),setInitialRenderingCache:this.setInitialRenderingCache.bind(this),getAppBar:this.getAppBar&&this.getAppBar.bind(this)},o=s(t,n);if(void 0!==o){let t;Object.keys(o).forEach(e=>{const s=o[e];re(s)?this[e]=s:(t=t||{},t[e]=we(s),Ie.call(this,e,s))}),void 0!==t&&this.setData(t,ve)}Re&&Re.__scope__.off(),Re=null,void 0!==i&&i.call(this,t)};const o=Le(n,ye.ON_UNLOAD);n[ye.ON_UNLOAD]=function(){o.call(this),this.__scope__.stop()},(n[ye.ON_PAGE_SCROLL]||e.listenPageScroll)&&(n[ye.ON_PAGE_SCROLL]=Le(n,ye.ON_PAGE_SCROLL),n.__listenPageScroll__=()=>!0),void 0===n[ye.ON_SHARE_APP_MESSAGE]&&e.canShareToOthers&&(n[ye.ON_SHARE_APP_MESSAGE]=function(t){const e=this[ce(ye.ON_SHARE_APP_MESSAGE)];return e?e(t):{}},n.__isInjectedShareToOthersHook__=()=>!0),void 0===n[ye.ON_SHARE_TIMELINE]&&e.canShareToTimeline&&(n[ye.ON_SHARE_TIMELINE]=function(){const t=this[ce(ye.ON_SHARE_TIMELINE)];return t?t():{}},n.__isInjectedShareToTimelineHook__=()=>!0),void 0===n[ye.ON_ADD_TO_FAVORITES]&&(n[ye.ON_ADD_TO_FAVORITES]=function(t){const e=this[ce(ye.ON_ADD_TO_FAVORITES)];return e?e(t):{}},n.__isInjectedFavoritesHook__=()=>!0),void 0===n[ye.ON_SAVE_EXIT_STATE]&&(n[ye.ON_SAVE_EXIT_STATE]=function(){const t=this[ce(ye.ON_SAVE_EXIT_STATE)];return t?t():{data:void 0}},n.__isInjectedExitStateHook__=()=>!0),n[ye.ON_SHOW]=Le(n,ye.ON_SHOW),n[ye.ON_READY]=Le(n,ye.ON_READY),n[ye.ON_HIDE]=Le(n,ye.ON_HIDE),n[ye.ON_ROUTE_DONE]=Le(n,ye.ON_ROUTE_DONE),n[ye.ON_PULL_DOWN_REFRESH]=Le(n,ye.ON_PULL_DOWN_REFRESH),n[ye.ON_REACH_BOTTOM]=Le(n,ye.ON_REACH_BOTTOM),n[ye.ON_RESIZE]=Le(n,ye.ON_RESIZE),n[ye.ON_TAB_ITEM_TAP]=Le(n,ye.ON_TAB_ITEM_TAP),Page(n)},exports.effect=function(t,e){t.effect instanceof S&&(t=t.effect.fn);const s=new S(t);e&&n(s,e);try{s.run()}catch(t){throw s.stop(),t}const i=s.run.bind(s);return i.effect=s,i},exports.effectScope=function(t){return new v(t)},exports.getCurrentScope=O,exports.getCurrentWatcher=function(){return $t},exports.inject=function(t,e,s=!1){return t in Ae?Ae[t]:arguments.length>1?s&&re(e)?e():e:void 0},exports.isProxy=Ct,exports.isReactive=Lt,exports.isReadonly=Pt,exports.isRef=jt,exports.isShallow=Ht,exports.markRaw=function(t){return!o(t,"__v_skip")&&Object.isExtensible(t)&&((t,e,s,n=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:n,value:s})})(t,"__v_skip",!0),t},exports.nextTick=function(t){const e=de||pe;return t?e.then(t):e},exports.onAddToFavorites=t=>{const e=be();if(e&&e.__isInjectedFavoritesHook__){const s=ce(ye.ON_ADD_TO_FAVORITES);void 0===e[s]&&(e[s]=t)}},exports.onAppError=We,exports.onAppHide=je,exports.onAppShow=Me,exports.onDetach=ts,exports.onError=es,exports.onHide=Qe,exports.onLoad=$e,exports.onMove=qe,exports.onPageNotFound=Ve,exports.onPageScroll=t=>{const e=be();e&&e.__listenPageScroll__&&os(e,ye.ON_PAGE_SCROLL,t)},exports.onPullDownRefresh=Ze,exports.onReachBottom=ze,exports.onReady=t=>{const e=be();e&&os(e,ye.ON_READY,t)},exports.onResize=Je,exports.onRouteDone=Xe,exports.onSaveExitState=t=>{const e=be();if(e&&e.__isInjectedExitStateHook__){const s=ce(ye.ON_SAVE_EXIT_STATE);void 0===e[s]&&(e[s]=t)}},exports.onScopeDispose=function(t,e=!1){d&&d.cleanups.push(t)},exports.onShareAppMessage=t=>{const e=be();if(e&&e[ye.ON_SHARE_APP_MESSAGE]&&e.__isInjectedShareToOthersHook__){const s=ce(ye.ON_SHARE_APP_MESSAGE);void 0===e[s]&&(e[s]=t)}},exports.onShareTimeline=t=>{const e=be();if(e&&e[ye.ON_SHARE_TIMELINE]&&e.__isInjectedShareToTimelineHook__){const s=ce(ye.ON_SHARE_TIMELINE);void 0===e[s]&&(e[s]=t)}},exports.onShow=Be,exports.onTabItemTap=Ke,exports.onThemeChange=Fe,exports.onUnhandledRejection=Ge,exports.onUnload=Ye,exports.onWatcherCleanup=qt,exports.provide=function(t,e){Ae[t]=e},exports.proxyRefs=function(t){return Lt(t)?t:new Proxy(t,Bt)},exports.reactive=Dt,exports.readonly=wt,exports.ref=Wt,exports.shallowReactive=xt,exports.shallowReadonly=function(t){return It(t,!0,ft,Nt,mt)},exports.shallowRef=function(t){return Vt(t,!0)},exports.stop=function(t){t.effect.stop()},exports.toRaw=kt,exports.toRef=function(t,e,s){return jt(t)?t:a(t)?new Xt(t):l(t)&&arguments.length>1?Zt(t,e,s):Wt(t)},exports.toRefs=function(t){const e=r(t)?new Array(t.length):{};for(const s in t)e[s]=Zt(t,s);return e},exports.toValue=function(t){return a(t)?t():Ft(t)},exports.triggerRef=function(t){t.dep&&t.dep.trigger()},exports.unref=Ft,exports.watch=ge,exports.watchEffect=function(t,e){return Se(t,null,e)},exports.watchPostEffect=function(t,e){return Se(t,null,{flush:"post"})},exports.watchSyncEffect=function(t,e){return Se(t,null,{flush:"sync"})};
7
+ "use strict";function t(t){const e=Object.create(null);for(const s of t.split(","))e[s]=1;return t=>t in e}const e={},s=()=>{},n=Object.assign,i=Object.prototype.hasOwnProperty,o=(t,e)=>i.call(t,e),r=Array.isArray,c=t=>"[object Map]"===u(t),a=t=>"function"==typeof t,h=t=>"symbol"==typeof t,l=t=>null!==t&&"object"==typeof t,_=Object.prototype.toString,u=t=>_.call(t),f=t=>"string"==typeof t&&"NaN"!==t&&"-"!==t[0]&&""+parseInt(t,10)===t,p=(t,e)=>!Object.is(t,e);let d,E;class v{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=d,!t&&d&&(this.index=(d.scopes||(d.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let t,e;if(this._isPaused=!0,this.scopes)for(t=0,e=this.scopes.length;t<e;t++)this.scopes[t].pause();for(t=0,e=this.effects.length;t<e;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){let t,e;if(this._isPaused=!1,this.scopes)for(t=0,e=this.scopes.length;t<e;t++)this.scopes[t].resume();for(t=0,e=this.effects.length;t<e;t++)this.effects[t].resume()}}run(t){if(this._active){const e=d;try{return d=this,t()}finally{d=e}}}on(){1===++this._on&&(this.prevScope=d,d=this)}off(){this._on>0&&0===--this._on&&(d=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){let e,s;for(this._active=!1,e=0,s=this.effects.length;e<s;e++)this.effects[e].stop();for(this.effects.length=0,e=0,s=this.cleanups.length;e<s;e++)this.cleanups[e]();if(this.cleanups.length=0,this.scopes){for(e=0,s=this.scopes.length;e<s;e++)this.scopes[e].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const t=this.parent.scopes.pop();t&&t!==this&&(this.parent.scopes[this.index]=t,t.index=this.index)}this.parent=void 0}}}function O(){return d}const g=new WeakSet;class S{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,d&&d.active&&d.effects.push(this)}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,g.has(this)&&(g.delete(this),this.trigger()))}notify(){2&this.flags&&!(32&this.flags)||8&this.flags||T(this)}run(){if(!(1&this.flags))return this.fn();this.flags|=2,U(this),y(this);const t=E,e=P;E=this,P=!0;try{return this.fn()}finally{D(this),E=t,P=e,this.flags&=-3}}stop(){if(1&this.flags){for(let t=this.deps;t;t=t.nextDep)I(t);this.deps=this.depsTail=void 0,U(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?g.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){x(this)&&this.run()}get dirty(){return x(this)}}let A,N,R=0;function T(t,e=!1){if(t.flags|=8,e)return t.next=N,void(N=t);t.next=A,A=t}function b(){R++}function m(){if(--R>0)return;if(N){let t=N;for(N=void 0;t;){const e=t.next;t.next=void 0,t.flags&=-9,t=e}}let t;for(;A;){let e=A;for(A=void 0;e;){const s=e.next;if(e.next=void 0,e.flags&=-9,1&e.flags)try{e.trigger()}catch(e){t||(t=e)}e=s}}if(t)throw t}function y(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function D(t){let e,s=t.depsTail,n=s;for(;n;){const t=n.prevDep;-1===n.version?(n===s&&(s=t),I(n),L(n)):e=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=t}t.deps=e,t.depsTail=s}function x(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(w(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function w(t){if(4&t.flags&&!(16&t.flags))return;if(t.flags&=-17,t.globalVersion===M)return;if(t.globalVersion=M,!t.isSSR&&128&t.flags&&(!t.deps&&!t._dirty||!x(t)))return;t.flags|=2;const e=t.dep,s=E,n=P;E=t,P=!0;try{y(t);const s=t.fn(t._value);(0===e.version||p(s,t._value))&&(t.flags|=128,t._value=s,e.version++)}catch(t){throw e.version++,t}finally{E=s,P=n,D(t),t.flags&=-3}}function I(t,e=!1){const{dep:s,prevSub:n,nextSub:i}=t;if(n&&(n.nextSub=i,t.prevSub=void 0),i&&(i.prevSub=n,t.nextSub=void 0),s.subs===t&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let t=s.computed.deps;t;t=t.nextDep)I(t,!0)}e||--s.sc||!s.map||s.map.delete(s.key)}function L(t){const{prevDep:e,nextDep:s}=t;e&&(e.nextDep=s,t.prevDep=void 0),s&&(s.prevDep=e,t.nextDep=void 0)}let P=!0;const H=[];function k(){H.push(P),P=!1}function C(){const t=H.pop();P=void 0===t||t}function U(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const t=E;E=void 0;try{e()}finally{E=t}}}let M=0;class j{constructor(t,e){this.sub=t,this.dep=e,this.version=e.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class W{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!E||!P||E===this.computed)return;let e=this.activeLink;if(void 0===e||e.sub!==E)e=this.activeLink=new j(E,this),E.deps?(e.prevDep=E.depsTail,E.depsTail.nextDep=e,E.depsTail=e):E.deps=E.depsTail=e,V(e);else if(-1===e.version&&(e.version=this.version,e.nextDep)){const t=e.nextDep;t.prevDep=e.prevDep,e.prevDep&&(e.prevDep.nextDep=t),e.prevDep=E.depsTail,e.nextDep=void 0,E.depsTail.nextDep=e,E.depsTail=e,E.deps===e&&(E.deps=t)}return e}trigger(t){this.version++,M++,this.notify(t)}notify(t){b();try{0;for(let t=this.subs;t;t=t.prevSub)t.sub.notify()&&t.sub.dep.notify()}finally{m()}}}function V(t){if(t.dep.sc++,4&t.sub.flags){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let t=e.deps;t;t=t.nextDep)V(t)}const s=t.dep.subs;s!==t&&(t.prevSub=s,s&&(s.nextSub=t)),t.dep.subs=t}}const G=new WeakMap,F=Symbol(""),B=Symbol(""),Q=Symbol("");function Y(t,e,s){if(P&&E){let e=G.get(t);e||G.set(t,e=new Map);let n=e.get(s);n||(e.set(s,n=new W),n.map=e,n.key=s),n.track()}}function X(t,e,s,n,i,o){const a=G.get(t);if(!a)return void M++;const l=t=>{t&&t.trigger()};if(b(),"clear"===e)a.forEach(l);else{const i=r(t),o=i&&f(s);if(i&&"length"===s){const t=Number(n);a.forEach((e,s)=>{("length"===s||s===Q||!h(s)&&s>=t)&&l(e)})}else switch((void 0!==s||a.has(void 0))&&l(a.get(s)),o&&l(a.get(Q)),e){case"add":i?o&&l(a.get("length")):(l(a.get(F)),c(t)&&l(a.get(B)));break;case"delete":i||(l(a.get(F)),c(t)&&l(a.get(B)));break;case"set":c(t)&&l(a.get(F))}}m()}function Z(t){const e=Ct(t);return e===t?e:(Y(e,0,Q),Ht(t)?e:e.map(Ut))}function z(t){return Y(t=Ct(t),0,Q),t}function J(t,e){return Pt(t)?Lt(t)?Mt(Ut(e)):Mt(e):Ut(e)}const K={__proto__:null,[Symbol.iterator](){return $(this,Symbol.iterator,t=>J(this,t))},concat(...t){return Z(this).concat(...t.map(t=>r(t)?Z(t):t))},entries(){return $(this,"entries",t=>(t[1]=J(this,t[1]),t))},every(t,e){return tt(this,"every",t,e,void 0,arguments)},filter(t,e){return tt(this,"filter",t,e,t=>t.map(t=>J(this,t)),arguments)},find(t,e){return tt(this,"find",t,e,t=>J(this,t),arguments)},findIndex(t,e){return tt(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return tt(this,"findLast",t,e,t=>J(this,t),arguments)},findLastIndex(t,e){return tt(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return tt(this,"forEach",t,e,void 0,arguments)},includes(...t){return st(this,"includes",t)},indexOf(...t){return st(this,"indexOf",t)},join(t){return Z(this).join(t)},lastIndexOf(...t){return st(this,"lastIndexOf",t)},map(t,e){return tt(this,"map",t,e,void 0,arguments)},pop(){return nt(this,"pop")},push(...t){return nt(this,"push",t)},reduce(t,...e){return et(this,"reduce",t,e)},reduceRight(t,...e){return et(this,"reduceRight",t,e)},shift(){return nt(this,"shift")},some(t,e){return tt(this,"some",t,e,void 0,arguments)},splice(...t){return nt(this,"splice",t)},toReversed(){return Z(this).toReversed()},toSorted(t){return Z(this).toSorted(t)},toSpliced(...t){return Z(this).toSpliced(...t)},unshift(...t){return nt(this,"unshift",t)},values(){return $(this,"values",t=>J(this,t))}};function $(t,e,s){const n=z(t),i=n[e]();return n===t||Ht(t)||(i._next=i.next,i.next=()=>{const t=i._next();return t.done||(t.value=s(t.value)),t}),i}const q=Array.prototype;function tt(t,e,s,n,i,o){const r=z(t),c=r!==t&&!Ht(t),a=r[e];if(a!==q[e]){const e=a.apply(t,o);return c?Ut(e):e}let h=s;r!==t&&(c?h=function(e,n){return s.call(this,J(t,e),n,t)}:s.length>2&&(h=function(e,n){return s.call(this,e,n,t)}));const l=a.call(r,h,n);return c&&i?i(l):l}function et(t,e,s,n){const i=z(t),o=i!==t&&!Ht(t);let r=s,c=!1;i!==t&&(o?(c=0===n.length,r=function(e,n,i){return c&&(c=!1,e=J(t,e)),s.call(this,e,J(t,n),i,t)}):s.length>3&&(r=function(e,n,i){return s.call(this,e,n,i,t)}));const a=i[e](r,...n);return c?J(t,a):a}function st(t,e,s){const n=Ct(t);Y(n,0,Q);const i=n[e](...s);return-1!==i&&!1!==i||!kt(s[0])?i:(s[0]=Ct(s[0]),n[e](...s))}function nt(t,e,s=[]){k(),b();const n=Ct(t)[e].apply(t,s);return m(),C(),n}const it=t("__proto__,__v_isRef,__isVue"),ot=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>"arguments"!==t&&"caller"!==t).map(t=>Symbol[t]).filter(h));function rt(t){h(t)||(t=String(t));const e=Ct(this);return Y(e,0,t),e.hasOwnProperty(t)}class ct{constructor(t=!1,e=!1){this._isReadonly=t,this._isShallow=e}get(t,e,s){if("__v_skip"===e)return t.__v_skip;const n=this._isReadonly,i=this._isShallow;if("__v_isReactive"===e)return!n;if("__v_isReadonly"===e)return n;if("__v_isShallow"===e)return i;if("__v_raw"===e)return s===(n?i?mt:bt:i?Tt:Rt).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=r(t);if(!n){let t;if(o&&(t=K[e]))return t;if("hasOwnProperty"===e)return rt}const c=Reflect.get(t,e,jt(t)?t:s);if(h(e)?ot.has(e):it(e))return c;if(n||Y(t,0,e),i)return c;if(jt(c)){const t=o&&f(e)?c:c.value;return n&&l(t)?wt(t):t}return l(c)?n?wt(c):Dt(c):c}}class at extends ct{constructor(t=!1){super(!1,t)}set(t,e,s,n){let i=t[e];const c=r(t)&&f(e);if(!this._isShallow){const t=Pt(i);if(Ht(s)||Pt(s)||(i=Ct(i),s=Ct(s)),!c&&jt(i)&&!jt(s))return t||(i.value=s),!0}const a=c?Number(e)<t.length:o(t,e),h=Reflect.set(t,e,s,jt(t)?t:n);return t===Ct(n)&&(a?p(s,i)&&X(t,"set",e,s):X(t,"add",e,s)),h}deleteProperty(t,e){const s=o(t,e),n=Reflect.deleteProperty(t,e);return n&&s&&X(t,"delete",e,void 0),n}has(t,e){const s=Reflect.has(t,e);return h(e)&&ot.has(e)||Y(t,0,e),s}ownKeys(t){return Y(t,0,r(t)?"length":F),Reflect.ownKeys(t)}}class ht extends ct{constructor(t=!1){super(!0,t)}set(t,e){return!0}deleteProperty(t,e){return!0}}const lt=new at,_t=new ht,ut=new at(!0),ft=new ht(!0),pt=t=>t,dt=t=>Reflect.getPrototypeOf(t);function Et(t){return function(...e){return"delete"!==t&&("clear"===t?void 0:this)}}function vt(t,e){const s={get(s){const n=this.__v_raw,i=Ct(n),o=Ct(s);t||(p(s,o)&&Y(i,0,s),Y(i,0,o));const{has:r}=dt(i),c=e?pt:t?Mt:Ut;return r.call(i,s)?c(n.get(s)):r.call(i,o)?c(n.get(o)):void(n!==i&&n.get(s))},get size(){const e=this.__v_raw;return!t&&Y(Ct(e),0,F),e.size},has(e){const s=this.__v_raw,n=Ct(s),i=Ct(e);return t||(p(e,i)&&Y(n,0,e),Y(n,0,i)),e===i?s.has(e):s.has(e)||s.has(i)},forEach(s,n){const i=this,o=i.__v_raw,r=Ct(o),c=e?pt:t?Mt:Ut;return!t&&Y(r,0,F),o.forEach((t,e)=>s.call(n,c(t),c(e),i))}};n(s,t?{add:Et("add"),set:Et("set"),delete:Et("delete"),clear:Et("clear")}:{add(t){const s=Ct(this),n=dt(s),i=Ct(t),o=e||Ht(t)||Pt(t)?t:i;return n.has.call(s,o)||p(t,o)&&n.has.call(s,t)||p(i,o)&&n.has.call(s,i)||(s.add(o),X(s,"add",o,o)),this},set(t,s){e||Ht(s)||Pt(s)||(s=Ct(s));const n=Ct(this),{has:i,get:o}=dt(n);let r=i.call(n,t);r||(t=Ct(t),r=i.call(n,t));const c=o.call(n,t);return n.set(t,s),r?p(s,c)&&X(n,"set",t,s):X(n,"add",t,s),this},delete(t){const e=Ct(this),{has:s,get:n}=dt(e);let i=s.call(e,t);i||(t=Ct(t),i=s.call(e,t)),n&&n.call(e,t);const o=e.delete(t);return i&&X(e,"delete",t,void 0),o},clear(){const t=Ct(this),e=0!==t.size,s=t.clear();return e&&X(t,"clear",void 0,void 0),s}});return["keys","values","entries",Symbol.iterator].forEach(i=>{s[i]=function(t,e,s){return function(...i){const o=this.__v_raw,r=Ct(o),a=c(r),h="entries"===t||t===Symbol.iterator&&a,l="keys"===t&&a,_=o[t](...i),u=s?pt:e?Mt:Ut;return!e&&Y(r,0,l?B:F),n(Object.create(_),{next(){const{value:t,done:e}=_.next();return e?{value:t,done:e}:{value:h?[u(t[0]),u(t[1])]:u(t),done:e}}})}}(i,t,e)}),s}function Ot(t,e){const s=vt(t,e);return(e,n,i)=>"__v_isReactive"===n?!t:"__v_isReadonly"===n?t:"__v_raw"===n?e:Reflect.get(o(s,n)&&n in e?s:e,n,i)}const gt={get:Ot(!1,!1)},St={get:Ot(!1,!0)},At={get:Ot(!0,!1)},Nt={get:Ot(!0,!0)},Rt=new WeakMap,Tt=new WeakMap,bt=new WeakMap,mt=new WeakMap;function yt(t){return t.__v_skip||!Object.isExtensible(t)?0:function(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((t=>u(t).slice(8,-1))(t))}function Dt(t){return Pt(t)?t:It(t,!1,lt,gt,Rt)}function xt(t){return It(t,!1,ut,St,Tt)}function wt(t){return It(t,!0,_t,At,bt)}function It(t,e,s,n,i){if(!l(t))return t;if(t.__v_raw&&(!e||!t.__v_isReactive))return t;const o=yt(t);if(0===o)return t;const r=i.get(t);if(r)return r;const c=new Proxy(t,2===o?n:s);return i.set(t,c),c}function Lt(t){return Pt(t)?Lt(t.__v_raw):!(!t||!t.__v_isReactive)}function Pt(t){return!(!t||!t.__v_isReadonly)}function Ht(t){return!(!t||!t.__v_isShallow)}function kt(t){return!!t&&!!t.__v_raw}function Ct(t){const e=t&&t.__v_raw;return e?Ct(e):t}const Ut=t=>l(t)?Dt(t):t,Mt=t=>l(t)?wt(t):t;function jt(t){return!!t&&!0===t.__v_isRef}function Wt(t){return Vt(t,!1)}function Vt(t,e){return jt(t)?t:new Gt(t,e)}class Gt{constructor(t,e){this.dep=new W,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=e?t:Ct(t),this._value=e?t:Ut(t),this.__v_isShallow=e}get value(){return this.dep.track(),this._value}set value(t){const e=this._rawValue,s=this.__v_isShallow||Ht(t)||Pt(t);t=s?t:Ct(t),p(t,e)&&(this._rawValue=t,this._value=s?t:Ut(t),this.dep.trigger())}}function Ft(t){return jt(t)?t.value:t}const Bt={get:(t,e,s)=>"__v_raw"===e?t:Ft(Reflect.get(t,e,s)),set:(t,e,s,n)=>{const i=t[e];return jt(i)&&!jt(s)?(i.value=s,!0):Reflect.set(t,e,s,n)}};class Qt{constructor(t){this.__v_isRef=!0,this._value=void 0;const e=this.dep=new W,{get:s,set:n}=t(e.track.bind(e),e.trigger.bind(e));this._get=s,this._set=n}get value(){return this._value=this._get()}set value(t){this._set(t)}}class Yt{constructor(t,e,s){this._object=t,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0,this._key=h(e)?e:String(e),this._raw=Ct(t);let n=!0,i=t;if(!r(t)||h(this._key)||!f(this._key))do{n=!kt(i)||Ht(i)}while(n&&(i=i.__v_raw));this._shallow=n}get value(){let t=this._object[this._key];return this._shallow&&(t=Ft(t)),this._value=void 0===t?this._defaultValue:t}set value(t){if(this._shallow&&jt(this._raw[this._key])){const e=this._object[this._key];if(jt(e))return void(e.value=t)}this._object[this._key]=t}get dep(){return function(t,e){const s=G.get(t);return s&&s.get(e)}(this._raw,this._key)}}class Xt{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Zt(t,e,s){return new Yt(t,e,s)}class zt{constructor(t,e,s){this.fn=t,this.setter=e,this._value=void 0,this.dep=new W(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=M-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!e,this.isSSR=s}notify(){if(this.flags|=16,!(8&this.flags)&&E!==this)return T(this,!0),!0}get value(){const t=this.dep.track();return w(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}const Jt={},Kt=new WeakMap;let $t;function qt(t,e=!1,s=$t){if(s){let e=Kt.get(s);e||Kt.set(s,e=[]),e.push(t)}}function te(t,e=1/0,s){if(e<=0||!l(t)||t.__v_skip)return t;if(((s=s||new Map).get(t)||0)>=e)return t;if(s.set(t,e),e--,jt(t))te(t.value,e,s);else if(r(t))for(let n=0;n<t.length;n++)te(t[n],e,s);else if("[object Set]"===u(t)||c(t))t.forEach(t=>{te(t,e,s)});else if((t=>"[object Object]"===u(t))(t)){for(const n in t)te(t[n],e,s);for(const n of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,n)&&te(t[n],e,s)}return t}const ee={},se=Array.isArray,ne=Object.assign;function ie(t,e){const s={};return Object.keys(t).forEach(n=>{e.includes(n)||(s[n]=t[n])}),s}function oe(t){return Object.prototype.toString.call(t).slice(8,-1)}function re(t){return"function"==typeof t}function ce(t){return`__${t}__`}var ae;!function(t){t[t.QUEUED=1]="QUEUED",t[t.ALLOW_RECURSE=4]="ALLOW_RECURSE"}(ae||(ae={}));const he=[];let le=-1;const _e=[];let ue=null,fe=0;const pe=Promise.resolve();let de=null;function Ee(t){t.flags&ae.QUEUED||(he.push(t),t.flags|=ae.QUEUED,de||(de=pe.then(Oe)))}function ve(){if(_e.length>0){for(ue=[...new Set(_e)],_e.length=0,fe=0;fe<ue.length;fe++){const t=ue[fe];t.flags&ae.ALLOW_RECURSE&&(t.flags&=~ae.QUEUED),t(),t.flags&=~ae.QUEUED}ue=null,fe=0}}function Oe(){try{for(le=0;le<he.length;le++){const t=he[le];0,t.flags&ae.ALLOW_RECURSE&&(t.flags&=~ae.QUEUED),t(),t.flags&ae.ALLOW_RECURSE||(t.flags&=~ae.QUEUED)}}finally{for(;le<he.length;le++){he[le].flags&=~ae.QUEUED}le=-1,he.length=0,de=null}}function ge(t,e,s){return Se(t,e,s)}function Se(t,n,i=ee){const{flush:o}=i,c=ne({},i);"post"===o?c.scheduler=t=>{!function(t){t.flags&ae.QUEUED||(_e.push(t),t.flags|=ae.QUEUED)}(t)}:"sync"!==o&&(c.scheduler=(t,e)=>{e?t():Ee(t)}),c.augmentJob=t=>{n&&(t.flags|=ae.ALLOW_RECURSE)};const h=function(t,n,i=e){const{immediate:o,deep:c,once:h,scheduler:l,augmentJob:_,call:u}=i,f=t=>c?t:Ht(t)||!1===c||0===c?te(t,1):te(t);let d,E,v,g,A=!1,N=!1;if(jt(t)?(E=()=>t.value,A=Ht(t)):Lt(t)?(E=()=>f(t),A=!0):r(t)?(N=!0,A=t.some(t=>Lt(t)||Ht(t)),E=()=>t.map(t=>jt(t)?t.value:Lt(t)?f(t):a(t)?u?u(t,2):t():void 0)):E=a(t)?n?u?()=>u(t,2):t:()=>{if(v){k();try{v()}finally{C()}}const e=$t;$t=d;try{return u?u(t,3,[g]):t(g)}finally{$t=e}}:s,n&&c){const t=E,e=!0===c?1/0:c;E=()=>te(t(),e)}const R=O(),T=()=>{d.stop(),R&&R.active&&((t,e)=>{const s=t.indexOf(e);s>-1&&t.splice(s,1)})(R.effects,d)};if(h&&n){const t=n;n=(...e)=>{t(...e),T()}}let b=N?new Array(t.length).fill(Jt):Jt;const m=t=>{if(1&d.flags&&(d.dirty||t))if(n){const t=d.run();if(c||A||(N?t.some((t,e)=>p(t,b[e])):p(t,b))){v&&v();const e=$t;$t=d;try{const e=[t,b===Jt?void 0:N&&b[0]===Jt?[]:b,g];b=t,u?u(n,3,e):n(...e)}finally{$t=e}}}else d.run()};return _&&_(m),d=new S(E),d.scheduler=l?()=>l(m,!1):m,g=t=>qt(t,!1,d),v=d.onStop=()=>{const t=Kt.get(d);if(t){if(u)u(t,4);else for(const e of t)e();Kt.delete(d)}},n?o?m(!0):b=d.run():l?l(m.bind(null,!0),!0):d.run(),T.pause=d.pause.bind(d),T.resume=d.resume.bind(d),T.stop=T,T}(t,n,c);return h}const Ae=Object.create(null);let Ne=null,Re=null,Te=null;function be(){return Re||Te}var me,ye,De;function xe(t,e){const s=t[e];return function(...t){const n=this[ce(e)];n&&n.forEach(e=>e(...t)),void 0!==s&&s.call(this,...t)}}function we(t){if(function(t){const e=new Set(["undefined","boolean","number","string"]);return null===t||e.has(typeof t)}(t)||re(t))return t;if(jt(t))return we(t.value);if(kt(t))return we(Ct(t));if(se(t))return t.map(t=>we(t));if(function(t){return"Object"===oe(t)}(t)){const e={};return Object.keys(t).forEach(s=>{e[s]=we(t[s])}),e}throw new TypeError(`${oe(t)} value is not supported`)}function Ie(t,e){var s;null!==(s=e)&&"object"==typeof s&&ge(jt(e)?e:()=>e,()=>{this.setData({[t]:we(e)},ve)},{deep:!0})}function Le(t,e){const s=t[e];return function(...t){const n=this[ce(e)];n&&n.forEach(e=>e(...t)),void 0!==s&&s.call(this,...t)}}!function(t){t.ON_LAUNCH="onLaunch",t.ON_SHOW="onShow",t.ON_HIDE="onHide",t.ON_ERROR="onError",t.ON_PAGE_NOT_FOUND="onPageNotFound",t.ON_UNHANDLED_REJECTION="onUnhandledRejection",t.ON_THEME_CHANGE="onThemeChange"}(me||(me={})),function(t){t.ON_LOAD="onLoad",t.ON_SHOW="onShow",t.ON_READY="onReady",t.ON_HIDE="onHide",t.ON_UNLOAD="onUnload",t.ON_ROUTE_DONE="onRouteDone",t.ON_PULL_DOWN_REFRESH="onPullDownRefresh",t.ON_REACH_BOTTOM="onReachBottom",t.ON_PAGE_SCROLL="onPageScroll",t.ON_SHARE_APP_MESSAGE="onShareAppMessage",t.ON_SHARE_TIMELINE="onShareTimeline",t.ON_ADD_TO_FAVORITES="onAddToFavorites",t.ON_RESIZE="onResize",t.ON_TAB_ITEM_TAP="onTabItemTap",t.ON_SAVE_EXIT_STATE="onSaveExitState"}(ye||(ye={})),function(t){t.ATTACHED="attached",t.READY="ready",t.MOVED="moved",t.DETACHED="detached",t.ERROR="error"}(De||(De={}));const Pe={[ye.ON_SHOW]:"show",[ye.ON_HIDE]:"hide",[ye.ON_RESIZE]:"resize",[ye.ON_ROUTE_DONE]:"routeDone",[De.READY]:ye.ON_READY};function He(t,e){return Ue(e,t.lifetimes[e]||t[e])}function ke(t,e){return Ue(e,t.methods[e])}function Ce(t,e){return Ue(e,t.pageLifetimes[Pe[e]])}function Ue(t,e){const s=ce(t);return function(...t){const n=this[s];n&&n.forEach(e=>e(...t)),void 0!==e&&e.call(this,...t)}}const Me=ss(me.ON_SHOW),je=ss(me.ON_HIDE),We=ss(me.ON_ERROR),Ve=ss(me.ON_PAGE_NOT_FOUND),Ge=ss(me.ON_UNHANDLED_REJECTION),Fe=ss(me.ON_THEME_CHANGE),Be=ns(ye.ON_SHOW),Qe=ns(ye.ON_HIDE),Ye=ns(ye.ON_UNLOAD),Xe=ns(ye.ON_ROUTE_DONE),Ze=ns(ye.ON_PULL_DOWN_REFRESH),ze=ns(ye.ON_REACH_BOTTOM),Je=ns(ye.ON_RESIZE),Ke=ns(ye.ON_TAB_ITEM_TAP),$e=is(ye.ON_LOAD),qe=is(De.MOVED),ts=is(De.DETACHED),es=is(De.ERROR);function ss(t){return e=>{Ne&&os(Ne,t,e)}}function ns(t){return e=>{const s=be();s&&os(s,t,e)}}function is(t){return e=>{Te&&os(Te,t,e)}}function os(t,e,s){const n=ce(e);void 0===t[n]&&(t[n]=[]),t[n].push(s)}exports.EffectScope=v,exports.ReactiveEffect=S,exports.TrackOpTypes={GET:"get",HAS:"has",ITERATE:"iterate"},exports.TriggerOpTypes={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},exports.computed=function(t,e,s=!1){let n,i;return a(t)?n=t:(n=t.get,i=t.set),new zt(n,i,s)},exports.createApp=function(t){let e,s;if(re(t))e=t,s={};else{if(void 0===t.setup)return void App(t);e=t.setup,s=ie(t,["setup"])}const n=s[me.ON_LAUNCH];s[me.ON_LAUNCH]=function(t){Ne=this;const s=e(t);void 0!==s&&Object.keys(s).forEach(t=>{this[t]=s[t]}),Ne=null,void 0!==n&&n.call(this,t)},s[me.ON_SHOW]=xe(s,me.ON_SHOW),s[me.ON_HIDE]=xe(s,me.ON_HIDE),s[me.ON_ERROR]=xe(s,me.ON_ERROR),s[me.ON_PAGE_NOT_FOUND]=xe(s,me.ON_PAGE_NOT_FOUND),s[me.ON_UNHANDLED_REJECTION]=xe(s,me.ON_UNHANDLED_REJECTION),s[me.ON_THEME_CHANGE]=xe(s,me.ON_THEME_CHANGE),App(s)},exports.customRef=function(t){return new Qt(t)},exports.defineComponent=function(t,e){let s,n;e=ne({listenPageScroll:!1,canShareToOthers:!1,canShareToTimeline:!1},e);let i=null;if(re(t))s=t,n={};else{if(void 0===t.setup)return Component(t);s=t.setup,n=ie(t,["setup"]),n.properties&&(i=Object.keys(n.properties))}void 0===n.lifetimes&&(n.lifetimes={});const o=n.lifetimes[De.ATTACHED]||n[De.ATTACHED];n.lifetimes[De.ATTACHED]=function(){var t;this.__scope__=new v,Te=t=this,t.__scope__.on();const e={};i&&i.forEach(t=>{e[t]=this.data[t]}),this.__props__=xt(e);const n={is:this.is,id:this.id,dataset:this.dataset,exitState:this.exitState,router:this.router,pageRouter:this.pageRouter,renderer:this.renderer,triggerEvent:this.triggerEvent.bind(this),createSelectorQuery:this.createSelectorQuery.bind(this),createIntersectionObserver:this.createIntersectionObserver.bind(this),createMediaQueryObserver:this.createMediaQueryObserver.bind(this),selectComponent:this.selectComponent.bind(this),selectAllComponents:this.selectAllComponents.bind(this),selectOwnerComponent:this.selectOwnerComponent.bind(this),getRelationNodes:this.getRelationNodes.bind(this),getTabBar:this.getTabBar.bind(this),getPageId:this.getPageId.bind(this),animate:this.animate.bind(this),clearAnimation:this.clearAnimation.bind(this),getOpenerEventChannel:this.getOpenerEventChannel.bind(this),applyAnimatedStyle:this.applyAnimatedStyle.bind(this),clearAnimatedStyle:this.clearAnimatedStyle.bind(this),setUpdatePerformanceListener:this.setUpdatePerformanceListener.bind(this),getPassiveEvent:this.getPassiveEvent.bind(this),setPassiveEvent:this.setPassiveEvent.bind(this),setInitialRenderingCache:this.setInitialRenderingCache.bind(this),getAppBar:this.getAppBar&&this.getAppBar.bind(this)},r=s(this.__props__,n);if(void 0!==r){let t;Object.keys(r).forEach(e=>{const s=r[e];re(s)?this[e]=s:(t=t||{},t[e]=we(s),Ie.call(this,e,s))}),void 0!==t&&this.setData(t,ve)}Te&&Te.__scope__.off(),Te=null,void 0!==o&&o.call(this)};const r=He(n,De.DETACHED);return n.lifetimes[De.DETACHED]=function(){r.call(this),this.__scope__.stop()},n.lifetimes[De.READY]=Ue(Pe[De.READY],n.lifetimes[De.READY]||n[De.READY]),n.lifetimes[De.MOVED]=He(n,De.MOVED),n.lifetimes[De.ERROR]=He(n,De.ERROR),void 0===n.methods&&(n.methods={}),(n.methods[ye.ON_PAGE_SCROLL]||e.listenPageScroll)&&(n.methods[ye.ON_PAGE_SCROLL]=ke(n,ye.ON_PAGE_SCROLL),n.methods.__listenPageScroll__=()=>!0),void 0===n.methods[ye.ON_SHARE_APP_MESSAGE]&&e.canShareToOthers&&(n.methods[ye.ON_SHARE_APP_MESSAGE]=function(t){const e=this[ce(ye.ON_SHARE_APP_MESSAGE)];return e?e(t):{}},n.methods.__isInjectedShareToOthersHook__=()=>!0),void 0===n.methods[ye.ON_SHARE_TIMELINE]&&e.canShareToTimeline&&(n.methods[ye.ON_SHARE_TIMELINE]=function(){const t=this[ce(ye.ON_SHARE_TIMELINE)];return t?t():{}},n.methods.__isInjectedShareToTimelineHook__=()=>!0),void 0===n.methods[ye.ON_ADD_TO_FAVORITES]&&(n.methods[ye.ON_ADD_TO_FAVORITES]=function(t){const e=this[ce(ye.ON_ADD_TO_FAVORITES)];return e?e(t):{}},n.methods.__isInjectedFavoritesHook__=()=>!0),void 0===n.methods[ye.ON_SAVE_EXIT_STATE]&&(n.methods[ye.ON_SAVE_EXIT_STATE]=function(){const t=this[ce(ye.ON_SAVE_EXIT_STATE)];return t?t():{data:void 0}},n.methods.__isInjectedExitStateHook__=()=>!0),n.methods[ye.ON_LOAD]=ke(n,ye.ON_LOAD),n.methods[ye.ON_PULL_DOWN_REFRESH]=ke(n,ye.ON_PULL_DOWN_REFRESH),n.methods[ye.ON_REACH_BOTTOM]=ke(n,ye.ON_REACH_BOTTOM),n.methods[ye.ON_TAB_ITEM_TAP]=ke(n,ye.ON_TAB_ITEM_TAP),void 0===n.pageLifetimes&&(n.pageLifetimes={}),n.pageLifetimes[Pe[ye.ON_SHOW]]=Ce(n,ye.ON_SHOW),n.pageLifetimes[Pe[ye.ON_HIDE]]=Ce(n,ye.ON_HIDE),n.pageLifetimes[Pe[ye.ON_RESIZE]]=Ce(n,ye.ON_RESIZE),n.pageLifetimes[Pe[ye.ON_ROUTE_DONE]]=Ce(n,ye.ON_ROUTE_DONE),i&&(void 0===n.observers&&(n.observers={}),i.forEach(t=>{const e=n.observers[t];n.observers[t]=function(s){this.__props__&&(this.__props__[t]=s),void 0!==e&&e.call(this,s)}})),Component(n)},exports.definePage=function(t,e){let s,n;if(e=ne({listenPageScroll:!1,canShareToOthers:!1,canShareToTimeline:!1},e),re(t))s=t,n={};else{if(void 0===t.setup)return void Page(t);s=t.setup,n=ie(t,["setup"])}const i=n[ye.ON_LOAD];n[ye.ON_LOAD]=function(t){var e;this.__scope__=new v,Re=e=this,e.__scope__.on();const n={is:this.is,route:this.route,options:this.options,exitState:this.exitState,router:this.router,pageRouter:this.pageRouter,renderer:this.renderer,createSelectorQuery:this.createSelectorQuery.bind(this),createIntersectionObserver:this.createIntersectionObserver.bind(this),createMediaQueryObserver:this.createMediaQueryObserver.bind(this),selectComponent:this.selectComponent.bind(this),selectAllComponents:this.selectAllComponents.bind(this),getTabBar:this.getTabBar.bind(this),getPageId:this.getPageId.bind(this),animate:this.animate.bind(this),clearAnimation:this.clearAnimation.bind(this),getOpenerEventChannel:this.getOpenerEventChannel.bind(this),applyAnimatedStyle:this.applyAnimatedStyle.bind(this),clearAnimatedStyle:this.clearAnimatedStyle.bind(this),setUpdatePerformanceListener:this.setUpdatePerformanceListener.bind(this),getPassiveEvent:this.getPassiveEvent.bind(this),setPassiveEvent:this.setPassiveEvent.bind(this),setInitialRenderingCache:this.setInitialRenderingCache.bind(this),getAppBar:this.getAppBar&&this.getAppBar.bind(this)},o=s(t,n);if(void 0!==o){let t;Object.keys(o).forEach(e=>{const s=o[e];re(s)?this[e]=s:(t=t||{},t[e]=we(s),Ie.call(this,e,s))}),void 0!==t&&this.setData(t,ve)}Re&&Re.__scope__.off(),Re=null,void 0!==i&&i.call(this,t)};const o=Le(n,ye.ON_UNLOAD);n[ye.ON_UNLOAD]=function(){o.call(this),this.__scope__.stop()},(n[ye.ON_PAGE_SCROLL]||e.listenPageScroll)&&(n[ye.ON_PAGE_SCROLL]=Le(n,ye.ON_PAGE_SCROLL),n.__listenPageScroll__=()=>!0),void 0===n[ye.ON_SHARE_APP_MESSAGE]&&e.canShareToOthers&&(n[ye.ON_SHARE_APP_MESSAGE]=function(t){const e=this[ce(ye.ON_SHARE_APP_MESSAGE)];return e?e(t):{}},n.__isInjectedShareToOthersHook__=()=>!0),void 0===n[ye.ON_SHARE_TIMELINE]&&e.canShareToTimeline&&(n[ye.ON_SHARE_TIMELINE]=function(){const t=this[ce(ye.ON_SHARE_TIMELINE)];return t?t():{}},n.__isInjectedShareToTimelineHook__=()=>!0),void 0===n[ye.ON_ADD_TO_FAVORITES]&&(n[ye.ON_ADD_TO_FAVORITES]=function(t){const e=this[ce(ye.ON_ADD_TO_FAVORITES)];return e?e(t):{}},n.__isInjectedFavoritesHook__=()=>!0),void 0===n[ye.ON_SAVE_EXIT_STATE]&&(n[ye.ON_SAVE_EXIT_STATE]=function(){const t=this[ce(ye.ON_SAVE_EXIT_STATE)];return t?t():{data:void 0}},n.__isInjectedExitStateHook__=()=>!0),n[ye.ON_SHOW]=Le(n,ye.ON_SHOW),n[ye.ON_READY]=Le(n,ye.ON_READY),n[ye.ON_HIDE]=Le(n,ye.ON_HIDE),n[ye.ON_ROUTE_DONE]=Le(n,ye.ON_ROUTE_DONE),n[ye.ON_PULL_DOWN_REFRESH]=Le(n,ye.ON_PULL_DOWN_REFRESH),n[ye.ON_REACH_BOTTOM]=Le(n,ye.ON_REACH_BOTTOM),n[ye.ON_RESIZE]=Le(n,ye.ON_RESIZE),n[ye.ON_TAB_ITEM_TAP]=Le(n,ye.ON_TAB_ITEM_TAP),Page(n)},exports.effect=function(t,e){t.effect instanceof S&&(t=t.effect.fn);const s=new S(t);e&&n(s,e);try{s.run()}catch(t){throw s.stop(),t}const i=s.run.bind(s);return i.effect=s,i},exports.effectScope=function(t){return new v(t)},exports.getCurrentScope=O,exports.getCurrentWatcher=function(){return $t},exports.inject=function(t,e,s=!1){return t in Ae?Ae[t]:arguments.length>1?s&&re(e)?e():e:void 0},exports.isProxy=kt,exports.isReactive=Lt,exports.isReadonly=Pt,exports.isRef=jt,exports.isShallow=Ht,exports.markRaw=function(t){return!o(t,"__v_skip")&&Object.isExtensible(t)&&((t,e,s,n=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:n,value:s})})(t,"__v_skip",!0),t},exports.nextTick=function(t){const e=de||pe;return t?e.then(t):e},exports.onAddToFavorites=t=>{const e=be();if(e&&e.__isInjectedFavoritesHook__){const s=ce(ye.ON_ADD_TO_FAVORITES);void 0===e[s]&&(e[s]=t)}},exports.onAppError=We,exports.onAppHide=je,exports.onAppShow=Me,exports.onDetach=ts,exports.onError=es,exports.onHide=Qe,exports.onLoad=$e,exports.onMove=qe,exports.onPageNotFound=Ve,exports.onPageScroll=t=>{const e=be();e&&e.__listenPageScroll__&&os(e,ye.ON_PAGE_SCROLL,t)},exports.onPullDownRefresh=Ze,exports.onReachBottom=ze,exports.onReady=t=>{const e=be();e&&os(e,ye.ON_READY,t)},exports.onResize=Je,exports.onRouteDone=Xe,exports.onSaveExitState=t=>{const e=be();if(e&&e.__isInjectedExitStateHook__){const s=ce(ye.ON_SAVE_EXIT_STATE);void 0===e[s]&&(e[s]=t)}},exports.onScopeDispose=function(t,e=!1){d&&d.cleanups.push(t)},exports.onShareAppMessage=t=>{const e=be();if(e&&e[ye.ON_SHARE_APP_MESSAGE]&&e.__isInjectedShareToOthersHook__){const s=ce(ye.ON_SHARE_APP_MESSAGE);void 0===e[s]&&(e[s]=t)}},exports.onShareTimeline=t=>{const e=be();if(e&&e[ye.ON_SHARE_TIMELINE]&&e.__isInjectedShareToTimelineHook__){const s=ce(ye.ON_SHARE_TIMELINE);void 0===e[s]&&(e[s]=t)}},exports.onShow=Be,exports.onTabItemTap=Ke,exports.onThemeChange=Fe,exports.onUnhandledRejection=Ge,exports.onUnload=Ye,exports.onWatcherCleanup=qt,exports.provide=function(t,e){Ae[t]=e},exports.proxyRefs=function(t){return Lt(t)?t:new Proxy(t,Bt)},exports.reactive=Dt,exports.readonly=wt,exports.ref=Wt,exports.shallowReactive=xt,exports.shallowReadonly=function(t){return It(t,!0,ft,Nt,mt)},exports.shallowRef=function(t){return Vt(t,!0)},exports.stop=function(t){t.effect.stop()},exports.toRaw=Ct,exports.toRef=function(t,e,s){return jt(t)?t:a(t)?new Xt(t):l(t)&&arguments.length>1?Zt(t,e,s):Wt(t)},exports.toRefs=function(t){const e=r(t)?new Array(t.length):{};for(const s in t)e[s]=Zt(t,s);return e},exports.toValue=function(t){return a(t)?t():Ft(t)},exports.triggerRef=function(t){t.dep&&t.dep.trigger()},exports.unref=Ft,exports.watch=ge,exports.watchEffect=function(t,e){return Se(t,null,e)},exports.watchPostEffect=function(t,e){return Se(t,null,{flush:"post"})},exports.watchSyncEffect=function(t,e){return Se(t,null,{flush:"sync"})};
@@ -1,5 +1,5 @@
1
1
  /// <reference types="miniprogram-api-typings" />
2
- import { WatchSource, WatchCallback, DebuggerOptions, WatchHandle, ReactiveMarker, WatchEffect } from '@vue/reactivity';
2
+ import { WatchSource, DebuggerOptions, WatchCallback, WatchHandle, ReactiveMarker, WatchEffect } from '@vue/reactivity';
3
3
  export { ComputedGetter, ComputedRef, ComputedSetter, CustomRefFactory, DebuggerEvent, DebuggerEventExtraInfo, DebuggerOptions, DeepReadonly, EffectScheduler, EffectScope, MaybeRef, MaybeRefOrGetter, Raw, Reactive, ReactiveEffect, ReactiveEffectOptions, ReactiveEffectRunner, ReactiveFlags, Ref, ShallowReactive, ShallowRef, ShallowUnwrapRef, ToRef, ToRefs, TrackOpTypes, TriggerOpTypes, UnwrapNestedRefs, UnwrapRef, WatchCallback, WatchEffect, WatchHandle, WatchSource, WatchStopHandle, WritableComputedOptions, WritableComputedRef, computed, customRef, effect, effectScope, getCurrentScope, getCurrentWatcher, isProxy, isReactive, isReadonly, isRef, isShallow, markRaw, onScopeDispose, onWatcherCleanup, proxyRefs, reactive, readonly, ref, shallowReactive, shallowReadonly, shallowRef, stop, toRaw, toRef, toRefs, toValue, triggerRef, unref } from '@vue/reactivity';
4
4
 
5
5
  type MaybeUndefined<T, I> = I extends true ? T | undefined : T;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * vue-mini v1.2.8
2
+ * vue-mini v1.2.10
3
3
  * https://github.com/vue-mini/vue-mini
4
4
  * (c) 2019-present Yang Mingshan
5
5
  * @license MIT
@@ -93,15 +93,15 @@ function flushPostFlushCbs() {
93
93
  }
94
94
  }
95
95
  function flushJobs() {
96
- const seen = (process.env.NODE_ENV !== 'production') ? new Map() : /* istanbul ignore next -- @preserve */ undefined;
96
+ /* istanbul ignore next -- @preserve */
97
+ const seen = (process.env.NODE_ENV !== 'production') ? new Map() : undefined;
97
98
  // Conditional usage of checkRecursiveUpdate must be determined out of
98
99
  // try ... catch block since Rollup by default de-optimizes treeshaking
99
100
  // inside try-catch. This can leave all warning code unshaked. Although
100
101
  // they would get eventually shaken by a minifier like terser, some minifiers
101
102
  // would fail to do that (e.g. https://github.com/evanw/esbuild/issues/1610)
102
- const check = (process.env.NODE_ENV !== 'production') ?
103
- (job) => checkRecursiveUpdates(seen, job)
104
- : /* istanbul ignore next -- @preserve */ NOOP;
103
+ /* istanbul ignore next -- @preserve */
104
+ const check = (process.env.NODE_ENV !== 'production') ? (job) => checkRecursiveUpdates(seen, job) : NOOP;
105
105
  try {
106
106
  for (flushIndex = 0; flushIndex < queue.length; flushIndex++) {
107
107
  const job = queue[flushIndex];
@@ -613,9 +613,9 @@ function defineComponent(optionsOrSetup, config) {
613
613
  setInitialRenderingCache: this.setInitialRenderingCache.bind(this),
614
614
  getAppBar: this.getAppBar && this.getAppBar.bind(this),
615
615
  };
616
- const bindings = setup((process.env.NODE_ENV !== 'production') ?
617
- shallowReadonly(this.__props__)
618
- : /* istanbul ignore next -- @preserve */ this.__props__, context);
616
+ const bindings = setup(
617
+ /* istanbul ignore next -- @preserve */
618
+ (process.env.NODE_ENV !== 'production') ? shallowReadonly(this.__props__) : this.__props__, context);
619
619
  if (bindings !== undefined) {
620
620
  let data;
621
621
  Object.keys(bindings).forEach((key) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue-mini/core",
3
- "version": "1.2.8",
3
+ "version": "1.2.10",
4
4
  "description": "基于 Vue 3 的小程序框架。简单,强大,高性能。 ",
5
5
  "main": "dist/vue-mini.cjs.js",
6
6
  "module": "dist/vue-mini.esm-bundler.js",
@@ -32,7 +32,7 @@
32
32
  "小程序"
33
33
  ],
34
34
  "dependencies": {
35
- "@vue/reactivity": "3.5.25",
35
+ "@vue/reactivity": "3.5.32",
36
36
  "miniprogram-api-typings": "~4.0.8"
37
37
  }
38
38
  }