@harbour-enterprises/superdoc 1.0.0-next.9 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/dist/chunks/{PdfViewer-C7Wo4VVN.es.js → PdfViewer-C51KNTCu.es.js} +2 -2
  2. package/dist/chunks/{PdfViewer-QwjK1Tx6.cjs → PdfViewer-Dk7wI3bm.cjs} +2 -2
  3. package/dist/chunks/{eventemitter3-DQmQUge-.cjs → eventemitter3-DIclNhoR.cjs} +1 -1
  4. package/dist/chunks/{eventemitter3-44XulWQe.es.js → eventemitter3-D_2kqkfV.es.js} +1 -1
  5. package/dist/chunks/{index-DI2R4qz8.cjs → index-Cf7hdzkm.cjs} +20 -15
  6. package/dist/chunks/{index-DNIymDRK-CzsYNHvC.cjs → index-DDZ1ZT8N-DzepXBTN.cjs} +1 -1
  7. package/dist/chunks/{index-DNIymDRK-BMrUTNeb.es.js → index-DDZ1ZT8N-MJzqg0qg.es.js} +1 -1
  8. package/dist/chunks/{index-CfSkb15j.es.js → index-rtbawgUA.es.js} +20 -15
  9. package/dist/chunks/{jszip-VP334ufO.es.js → jszip-B690S4j-.es.js} +1 -1
  10. package/dist/chunks/{jszip-BdEez1WM.cjs → jszip-qHp7FC78.cjs} +1 -1
  11. package/dist/chunks/{super-editor.es-BI8ByUNm.cjs → super-editor.es-BijxiFs9.cjs} +1671 -353
  12. package/dist/chunks/{super-editor.es-B42HV1fg.es.js → super-editor.es-DFXddrgb.es.js} +1671 -353
  13. package/dist/chunks/{vue-BuPTonTJ.es.js → vue-CLFbn_1r.es.js} +209 -185
  14. package/dist/chunks/{vue-jWLMl8Ts.cjs → vue-gvuFr0vx.cjs} +209 -185
  15. package/dist/chunks/xml-js-BXUvL-Mz.es.js +2 -0
  16. package/dist/chunks/xml-js-CCH4ckfW.cjs +3 -0
  17. package/dist/super-editor/ai-writer.es.js +2 -2
  18. package/dist/super-editor/chunks/{converter-a3CAItrf.js → converter-VYPiNbpo.js} +1 -1
  19. package/dist/super-editor/chunks/{docx-zipper-BsmzO0LG.js → docx-zipper-D8Tzq3RX.js} +1 -1
  20. package/dist/super-editor/chunks/{editor-qn0f9LDg.js → editor-mgoEnsBi.js} +1635 -288
  21. package/dist/super-editor/chunks/{index-DNIymDRK.js → index-DDZ1ZT8N.js} +1 -1
  22. package/dist/super-editor/chunks/{toolbar-DW8hTxsF.js → toolbar-DULgxvjl.js} +2 -2
  23. package/dist/super-editor/converter.es.js +1 -1
  24. package/dist/super-editor/docx-zipper.es.js +2 -2
  25. package/dist/super-editor/editor.es.js +3 -3
  26. package/dist/super-editor/file-zipper.es.js +1 -1
  27. package/dist/super-editor/super-editor.es.js +6 -6
  28. package/dist/super-editor/toolbar.es.js +2 -2
  29. package/dist/super-editor.cjs +2 -2
  30. package/dist/super-editor.es.js +2 -2
  31. package/dist/superdoc.cjs +2 -2
  32. package/dist/superdoc.es.js +2 -2
  33. package/dist/superdoc.umd.js +1913 -572
  34. package/dist/superdoc.umd.js.map +1 -1
  35. package/package.json +1 -1
  36. package/dist/chunks/xml-js-Dz51sEbr.cjs +0 -3
  37. package/dist/chunks/xml-js-LkEmUa9-.es.js +0 -2
@@ -162,7 +162,7 @@ process.umask = function() {
162
162
  var browserExports = browser.exports;
163
163
  const process$1 = /* @__PURE__ */ getDefaultExportFromCjs(browserExports);
164
164
  /**
165
- * @vue/shared v3.5.25
165
+ * @vue/shared v3.5.26
166
166
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
167
167
  * @license MIT
168
168
  **/
@@ -927,13 +927,13 @@ function addSub(link) {
927
927
  }
928
928
  }
929
929
  const targetMap = /* @__PURE__ */ new WeakMap();
930
- const ITERATE_KEY = Symbol(
930
+ const ITERATE_KEY = /* @__PURE__ */ Symbol(
931
931
  !!(process$1.env.NODE_ENV !== "production") ? "Object iterate" : ""
932
932
  );
933
- const MAP_KEY_ITERATE_KEY = Symbol(
933
+ const MAP_KEY_ITERATE_KEY = /* @__PURE__ */ Symbol(
934
934
  !!(process$1.env.NODE_ENV !== "production") ? "Map keys iterate" : ""
935
935
  );
936
- const ARRAY_ITERATE_KEY = Symbol(
936
+ const ARRAY_ITERATE_KEY = /* @__PURE__ */ Symbol(
937
937
  !!(process$1.env.NODE_ENV !== "production") ? "Array iterate" : ""
938
938
  );
939
939
  function track(target, type, key) {
@@ -2877,7 +2877,163 @@ function invokeDirectiveHook(vnode, prevVNode, instance, name) {
2877
2877
  }
2878
2878
  }
2879
2879
  }
2880
- const TeleportEndKey = Symbol("_vte");
2880
+ function provide(key, value) {
2881
+ if (!!(process$1.env.NODE_ENV !== "production")) {
2882
+ if (!currentInstance || currentInstance.isMounted) {
2883
+ warn$1(`provide() can only be used inside setup().`);
2884
+ }
2885
+ }
2886
+ if (currentInstance) {
2887
+ let provides = currentInstance.provides;
2888
+ const parentProvides = currentInstance.parent && currentInstance.parent.provides;
2889
+ if (parentProvides === provides) {
2890
+ provides = currentInstance.provides = Object.create(parentProvides);
2891
+ }
2892
+ provides[key] = value;
2893
+ }
2894
+ }
2895
+ function inject(key, defaultValue, treatDefaultAsFactory = false) {
2896
+ const instance = getCurrentInstance();
2897
+ if (instance || currentApp) {
2898
+ let provides = currentApp ? currentApp._context.provides : instance ? instance.parent == null || instance.ce ? instance.vnode.appContext && instance.vnode.appContext.provides : instance.parent.provides : void 0;
2899
+ if (provides && key in provides) {
2900
+ return provides[key];
2901
+ } else if (arguments.length > 1) {
2902
+ return treatDefaultAsFactory && isFunction(defaultValue) ? defaultValue.call(instance && instance.proxy) : defaultValue;
2903
+ } else if (!!(process$1.env.NODE_ENV !== "production")) {
2904
+ warn$1(`injection "${String(key)}" not found.`);
2905
+ }
2906
+ } else if (!!(process$1.env.NODE_ENV !== "production")) {
2907
+ warn$1(`inject() can only be used inside setup() or functional components.`);
2908
+ }
2909
+ }
2910
+ function hasInjectionContext() {
2911
+ return !!(getCurrentInstance() || currentApp);
2912
+ }
2913
+ const ssrContextKey = /* @__PURE__ */ Symbol.for("v-scx");
2914
+ const useSSRContext = () => {
2915
+ {
2916
+ const ctx = inject(ssrContextKey);
2917
+ if (!ctx) {
2918
+ !!(process$1.env.NODE_ENV !== "production") && warn$1(
2919
+ `Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build.`
2920
+ );
2921
+ }
2922
+ return ctx;
2923
+ }
2924
+ };
2925
+ function watchEffect(effect2, options) {
2926
+ return doWatch(effect2, null, options);
2927
+ }
2928
+ function watch(source, cb, options) {
2929
+ if (!!(process$1.env.NODE_ENV !== "production") && !isFunction(cb)) {
2930
+ warn$1(
2931
+ `\`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.`
2932
+ );
2933
+ }
2934
+ return doWatch(source, cb, options);
2935
+ }
2936
+ function doWatch(source, cb, options = EMPTY_OBJ) {
2937
+ const { immediate, deep, flush, once } = options;
2938
+ if (!!(process$1.env.NODE_ENV !== "production") && !cb) {
2939
+ if (immediate !== void 0) {
2940
+ warn$1(
2941
+ `watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.`
2942
+ );
2943
+ }
2944
+ if (deep !== void 0) {
2945
+ warn$1(
2946
+ `watch() "deep" option is only respected when using the watch(source, callback, options?) signature.`
2947
+ );
2948
+ }
2949
+ if (once !== void 0) {
2950
+ warn$1(
2951
+ `watch() "once" option is only respected when using the watch(source, callback, options?) signature.`
2952
+ );
2953
+ }
2954
+ }
2955
+ const baseWatchOptions = extend({}, options);
2956
+ if (!!(process$1.env.NODE_ENV !== "production")) baseWatchOptions.onWarn = warn$1;
2957
+ const runsImmediately = cb && immediate || !cb && flush !== "post";
2958
+ let ssrCleanup;
2959
+ if (isInSSRComponentSetup) {
2960
+ if (flush === "sync") {
2961
+ const ctx = useSSRContext();
2962
+ ssrCleanup = ctx.__watcherHandles || (ctx.__watcherHandles = []);
2963
+ } else if (!runsImmediately) {
2964
+ const watchStopHandle = () => {
2965
+ };
2966
+ watchStopHandle.stop = NOOP;
2967
+ watchStopHandle.resume = NOOP;
2968
+ watchStopHandle.pause = NOOP;
2969
+ return watchStopHandle;
2970
+ }
2971
+ }
2972
+ const instance = currentInstance;
2973
+ baseWatchOptions.call = (fn, type, args) => callWithAsyncErrorHandling(fn, instance, type, args);
2974
+ let isPre = false;
2975
+ if (flush === "post") {
2976
+ baseWatchOptions.scheduler = (job) => {
2977
+ queuePostRenderEffect(job, instance && instance.suspense);
2978
+ };
2979
+ } else if (flush !== "sync") {
2980
+ isPre = true;
2981
+ baseWatchOptions.scheduler = (job, isFirstRun) => {
2982
+ if (isFirstRun) {
2983
+ job();
2984
+ } else {
2985
+ queueJob(job);
2986
+ }
2987
+ };
2988
+ }
2989
+ baseWatchOptions.augmentJob = (job) => {
2990
+ if (cb) {
2991
+ job.flags |= 4;
2992
+ }
2993
+ if (isPre) {
2994
+ job.flags |= 2;
2995
+ if (instance) {
2996
+ job.id = instance.uid;
2997
+ job.i = instance;
2998
+ }
2999
+ }
3000
+ };
3001
+ const watchHandle = watch$1(source, cb, baseWatchOptions);
3002
+ if (isInSSRComponentSetup) {
3003
+ if (ssrCleanup) {
3004
+ ssrCleanup.push(watchHandle);
3005
+ } else if (runsImmediately) {
3006
+ watchHandle();
3007
+ }
3008
+ }
3009
+ return watchHandle;
3010
+ }
3011
+ function instanceWatch(source, value, options) {
3012
+ const publicThis = this.proxy;
3013
+ const getter = isString(source) ? source.includes(".") ? createPathGetter(publicThis, source) : () => publicThis[source] : source.bind(publicThis, publicThis);
3014
+ let cb;
3015
+ if (isFunction(value)) {
3016
+ cb = value;
3017
+ } else {
3018
+ cb = value.handler;
3019
+ options = value;
3020
+ }
3021
+ const reset = setCurrentInstance(this);
3022
+ const res = doWatch(getter, cb.bind(publicThis), options);
3023
+ reset();
3024
+ return res;
3025
+ }
3026
+ function createPathGetter(ctx, path) {
3027
+ const segments = path.split(".");
3028
+ return () => {
3029
+ let cur = ctx;
3030
+ for (let i = 0; i < segments.length && cur; i++) {
3031
+ cur = cur[segments[i]];
3032
+ }
3033
+ return cur;
3034
+ };
3035
+ }
3036
+ const TeleportEndKey = /* @__PURE__ */ Symbol("_vte");
2881
3037
  const isTeleport = (type) => type.__isTeleport;
2882
3038
  const isTeleportDisabled = (props) => props && (props.disabled || props.disabled === "");
2883
3039
  const isTeleportDeferred = (props) => props && (props.defer || props.defer === "");
@@ -3236,8 +3392,8 @@ function prepareAnchor(target, vnode, createText, insert) {
3236
3392
  }
3237
3393
  return targetAnchor;
3238
3394
  }
3239
- const leaveCbKey = Symbol("_leaveCb");
3240
- const enterCbKey$1 = Symbol("_enterCb");
3395
+ const leaveCbKey = /* @__PURE__ */ Symbol("_leaveCb");
3396
+ const enterCbKey$1 = /* @__PURE__ */ Symbol("_enterCb");
3241
3397
  function useTransitionState() {
3242
3398
  const state = {
3243
3399
  isMounted: false,
@@ -4023,7 +4179,7 @@ function onErrorCaptured(hook, target = currentInstance) {
4023
4179
  }
4024
4180
  const COMPONENTS = "components";
4025
4181
  const DIRECTIVES = "directives";
4026
- const NULL_DYNAMIC_COMPONENT = Symbol.for("v-ndc");
4182
+ const NULL_DYNAMIC_COMPONENT = /* @__PURE__ */ Symbol.for("v-ndc");
4027
4183
  function resolveDynamicComponent(component) {
4028
4184
  if (isString(component)) {
4029
4185
  return resolveAsset(COMPONENTS, component, false) || component;
@@ -5016,162 +5172,6 @@ If you want to remount the same app, move your app creation logic into a factory
5016
5172
  };
5017
5173
  }
5018
5174
  let currentApp = null;
5019
- function provide(key, value) {
5020
- if (!!(process$1.env.NODE_ENV !== "production")) {
5021
- if (!currentInstance || currentInstance.isMounted) {
5022
- warn$1(`provide() can only be used inside setup().`);
5023
- }
5024
- }
5025
- if (currentInstance) {
5026
- let provides = currentInstance.provides;
5027
- const parentProvides = currentInstance.parent && currentInstance.parent.provides;
5028
- if (parentProvides === provides) {
5029
- provides = currentInstance.provides = Object.create(parentProvides);
5030
- }
5031
- provides[key] = value;
5032
- }
5033
- }
5034
- function inject(key, defaultValue, treatDefaultAsFactory = false) {
5035
- const instance = getCurrentInstance();
5036
- if (instance || currentApp) {
5037
- let provides = currentApp ? currentApp._context.provides : instance ? instance.parent == null || instance.ce ? instance.vnode.appContext && instance.vnode.appContext.provides : instance.parent.provides : void 0;
5038
- if (provides && key in provides) {
5039
- return provides[key];
5040
- } else if (arguments.length > 1) {
5041
- return treatDefaultAsFactory && isFunction(defaultValue) ? defaultValue.call(instance && instance.proxy) : defaultValue;
5042
- } else if (!!(process$1.env.NODE_ENV !== "production")) {
5043
- warn$1(`injection "${String(key)}" not found.`);
5044
- }
5045
- } else if (!!(process$1.env.NODE_ENV !== "production")) {
5046
- warn$1(`inject() can only be used inside setup() or functional components.`);
5047
- }
5048
- }
5049
- function hasInjectionContext() {
5050
- return !!(getCurrentInstance() || currentApp);
5051
- }
5052
- const ssrContextKey = Symbol.for("v-scx");
5053
- const useSSRContext = () => {
5054
- {
5055
- const ctx = inject(ssrContextKey);
5056
- if (!ctx) {
5057
- !!(process$1.env.NODE_ENV !== "production") && warn$1(
5058
- `Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build.`
5059
- );
5060
- }
5061
- return ctx;
5062
- }
5063
- };
5064
- function watchEffect(effect2, options) {
5065
- return doWatch(effect2, null, options);
5066
- }
5067
- function watch(source, cb, options) {
5068
- if (!!(process$1.env.NODE_ENV !== "production") && !isFunction(cb)) {
5069
- warn$1(
5070
- `\`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.`
5071
- );
5072
- }
5073
- return doWatch(source, cb, options);
5074
- }
5075
- function doWatch(source, cb, options = EMPTY_OBJ) {
5076
- const { immediate, deep, flush, once } = options;
5077
- if (!!(process$1.env.NODE_ENV !== "production") && !cb) {
5078
- if (immediate !== void 0) {
5079
- warn$1(
5080
- `watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.`
5081
- );
5082
- }
5083
- if (deep !== void 0) {
5084
- warn$1(
5085
- `watch() "deep" option is only respected when using the watch(source, callback, options?) signature.`
5086
- );
5087
- }
5088
- if (once !== void 0) {
5089
- warn$1(
5090
- `watch() "once" option is only respected when using the watch(source, callback, options?) signature.`
5091
- );
5092
- }
5093
- }
5094
- const baseWatchOptions = extend({}, options);
5095
- if (!!(process$1.env.NODE_ENV !== "production")) baseWatchOptions.onWarn = warn$1;
5096
- const runsImmediately = cb && immediate || !cb && flush !== "post";
5097
- let ssrCleanup;
5098
- if (isInSSRComponentSetup) {
5099
- if (flush === "sync") {
5100
- const ctx = useSSRContext();
5101
- ssrCleanup = ctx.__watcherHandles || (ctx.__watcherHandles = []);
5102
- } else if (!runsImmediately) {
5103
- const watchStopHandle = () => {
5104
- };
5105
- watchStopHandle.stop = NOOP;
5106
- watchStopHandle.resume = NOOP;
5107
- watchStopHandle.pause = NOOP;
5108
- return watchStopHandle;
5109
- }
5110
- }
5111
- const instance = currentInstance;
5112
- baseWatchOptions.call = (fn, type, args) => callWithAsyncErrorHandling(fn, instance, type, args);
5113
- let isPre = false;
5114
- if (flush === "post") {
5115
- baseWatchOptions.scheduler = (job) => {
5116
- queuePostRenderEffect(job, instance && instance.suspense);
5117
- };
5118
- } else if (flush !== "sync") {
5119
- isPre = true;
5120
- baseWatchOptions.scheduler = (job, isFirstRun) => {
5121
- if (isFirstRun) {
5122
- job();
5123
- } else {
5124
- queueJob(job);
5125
- }
5126
- };
5127
- }
5128
- baseWatchOptions.augmentJob = (job) => {
5129
- if (cb) {
5130
- job.flags |= 4;
5131
- }
5132
- if (isPre) {
5133
- job.flags |= 2;
5134
- if (instance) {
5135
- job.id = instance.uid;
5136
- job.i = instance;
5137
- }
5138
- }
5139
- };
5140
- const watchHandle = watch$1(source, cb, baseWatchOptions);
5141
- if (isInSSRComponentSetup) {
5142
- if (ssrCleanup) {
5143
- ssrCleanup.push(watchHandle);
5144
- } else if (runsImmediately) {
5145
- watchHandle();
5146
- }
5147
- }
5148
- return watchHandle;
5149
- }
5150
- function instanceWatch(source, value, options) {
5151
- const publicThis = this.proxy;
5152
- const getter = isString(source) ? source.includes(".") ? createPathGetter(publicThis, source) : () => publicThis[source] : source.bind(publicThis, publicThis);
5153
- let cb;
5154
- if (isFunction(value)) {
5155
- cb = value;
5156
- } else {
5157
- cb = value.handler;
5158
- options = value;
5159
- }
5160
- const reset = setCurrentInstance(this);
5161
- const res = doWatch(getter, cb.bind(publicThis), options);
5162
- reset();
5163
- return res;
5164
- }
5165
- function createPathGetter(ctx, path) {
5166
- const segments = path.split(".");
5167
- return () => {
5168
- let cur = ctx;
5169
- for (let i = 0; i < segments.length && cur; i++) {
5170
- cur = cur[segments[i]];
5171
- }
5172
- return cur;
5173
- };
5174
- }
5175
5175
  const getModelModifiers = (props, modelName) => {
5176
5176
  return modelName === "modelValue" || modelName === "model-value" ? props.modelModifiers : props[`${modelName}Modifiers`] || props[`${camelize(modelName)}Modifiers`] || props[`${hyphenate(modelName)}Modifiers`];
5177
5177
  };
@@ -6307,7 +6307,15 @@ function baseCreateRenderer(options, createHydrationFns) {
6307
6307
  } else {
6308
6308
  const el = n2.el = n1.el;
6309
6309
  if (n2.children !== n1.children) {
6310
- hostSetText(el, n2.children);
6310
+ if (!!(process$1.env.NODE_ENV !== "production") && isHmrUpdating && n2.patchFlag === -1 && "__elIndex" in n1) {
6311
+ const childNodes = container.childNodes;
6312
+ const newChild = hostCreateText(n2.children);
6313
+ const oldChild = childNodes[n2.__elIndex = n1.__elIndex];
6314
+ hostInsert(newChild, container, oldChild);
6315
+ hostRemove(oldChild);
6316
+ } else {
6317
+ hostSetText(el, n2.children);
6318
+ }
6311
6319
  }
6312
6320
  }
6313
6321
  };
@@ -6691,7 +6699,7 @@ function baseCreateRenderer(options, createHydrationFns) {
6691
6699
  } else {
6692
6700
  if (patchFlag > 0 && patchFlag & 64 && dynamicChildren && // #2715 the previous fragment could've been a BAILed one as a result
6693
6701
  // of renderSlot() with no valid children
6694
- n1.dynamicChildren) {
6702
+ n1.dynamicChildren && n1.dynamicChildren.length === dynamicChildren.length) {
6695
6703
  patchBlockChildren(
6696
6704
  n1.dynamicChildren,
6697
6705
  dynamicChildren,
@@ -7261,8 +7269,8 @@ function baseCreateRenderer(options, createHydrationFns) {
7261
7269
  const nextChild = c2[nextIndex];
7262
7270
  const anchorVNode = c2[nextIndex + 1];
7263
7271
  const anchor = nextIndex + 1 < l2 ? (
7264
- // #13559, fallback to el placeholder for unresolved async component
7265
- anchorVNode.el || anchorVNode.placeholder
7272
+ // #13559, #14173 fallback to el placeholder for unresolved async component
7273
+ anchorVNode.el || resolveAsyncComponentPlaceholder(anchorVNode)
7266
7274
  ) : parentAnchor;
7267
7275
  if (newIndexToOldIndexMap[i] === 0) {
7268
7276
  patch(
@@ -7518,9 +7526,11 @@ function baseCreateRenderer(options, createHydrationFns) {
7518
7526
  };
7519
7527
  let isFlushing = false;
7520
7528
  const render = (vnode, container, namespace) => {
7529
+ let instance;
7521
7530
  if (vnode == null) {
7522
7531
  if (container._vnode) {
7523
7532
  unmount(container._vnode, null, null, true);
7533
+ instance = container._vnode.component;
7524
7534
  }
7525
7535
  } else {
7526
7536
  patch(
@@ -7536,7 +7546,7 @@ function baseCreateRenderer(options, createHydrationFns) {
7536
7546
  container._vnode = vnode;
7537
7547
  if (!isFlushing) {
7538
7548
  isFlushing = true;
7539
- flushPreFlushCbs();
7549
+ flushPreFlushCbs(instance);
7540
7550
  flushPostFlushCbs();
7541
7551
  isFlushing = false;
7542
7552
  }
@@ -7590,9 +7600,13 @@ function traverseStaticChildren(n1, n2, shallow = false) {
7590
7600
  if (!shallow && c2.patchFlag !== -2)
7591
7601
  traverseStaticChildren(c1, c2);
7592
7602
  }
7593
- if (c2.type === Text && // avoid cached text nodes retaining detached dom nodes
7594
- c2.patchFlag !== -1) {
7595
- c2.el = c1.el;
7603
+ if (c2.type === Text) {
7604
+ if (c2.patchFlag !== -1) {
7605
+ c2.el = c1.el;
7606
+ } else {
7607
+ c2.__elIndex = i + // take fragment start anchor into account
7608
+ (n1.type === Fragment ? 1 : 0);
7609
+ }
7596
7610
  }
7597
7611
  if (c2.type === Comment && !c2.el) {
7598
7612
  c2.el = c1.el;
@@ -7659,6 +7673,16 @@ function invalidateMount(hooks) {
7659
7673
  hooks[i].flags |= 8;
7660
7674
  }
7661
7675
  }
7676
+ function resolveAsyncComponentPlaceholder(anchorVnode) {
7677
+ if (anchorVnode.placeholder) {
7678
+ return anchorVnode.placeholder;
7679
+ }
7680
+ const instance = anchorVnode.component;
7681
+ if (instance) {
7682
+ return resolveAsyncComponentPlaceholder(instance.subTree);
7683
+ }
7684
+ return null;
7685
+ }
7662
7686
  const isSuspense = (type) => type.__isSuspense;
7663
7687
  function queueEffectWithSuspense(fn, suspense) {
7664
7688
  if (suspense && suspense.pendingBranch) {
@@ -7671,10 +7695,10 @@ function queueEffectWithSuspense(fn, suspense) {
7671
7695
  queuePostFlushCb(fn);
7672
7696
  }
7673
7697
  }
7674
- const Fragment = Symbol.for("v-fgt");
7675
- const Text = Symbol.for("v-txt");
7676
- const Comment = Symbol.for("v-cmt");
7677
- const Static = Symbol.for("v-stc");
7698
+ const Fragment = /* @__PURE__ */ Symbol.for("v-fgt");
7699
+ const Text = /* @__PURE__ */ Symbol.for("v-txt");
7700
+ const Comment = /* @__PURE__ */ Symbol.for("v-cmt");
7701
+ const Static = /* @__PURE__ */ Symbol.for("v-stc");
7678
7702
  const blockStack = [];
7679
7703
  let currentBlock = null;
7680
7704
  function openBlock(disableTracking = false) {
@@ -8655,7 +8679,7 @@ function initCustomFormatter() {
8655
8679
  window.devtoolsFormatters = [formatter];
8656
8680
  }
8657
8681
  }
8658
- const version = "3.5.25";
8682
+ const version = "3.5.26";
8659
8683
  const warn = !!(process$1.env.NODE_ENV !== "production") ? warn$1 : NOOP;
8660
8684
  !!(process$1.env.NODE_ENV !== "production") || true ? devtools$1 : void 0;
8661
8685
  !!(process$1.env.NODE_ENV !== "production") || true ? setDevtoolsHook$1 : NOOP;
@@ -8741,7 +8765,7 @@ const nodeOps = {
8741
8765
  };
8742
8766
  const TRANSITION = "transition";
8743
8767
  const ANIMATION = "animation";
8744
- const vtcKey = Symbol("_vtc");
8768
+ const vtcKey = /* @__PURE__ */ Symbol("_vtc");
8745
8769
  const DOMTransitionPropsValidators = {
8746
8770
  name: String,
8747
8771
  type: String,
@@ -9032,8 +9056,8 @@ function patchClass(el, value, isSVG) {
9032
9056
  el.className = value;
9033
9057
  }
9034
9058
  }
9035
- const vShowOriginalDisplay = Symbol("_vod");
9036
- const vShowHidden = Symbol("_vsh");
9059
+ const vShowOriginalDisplay = /* @__PURE__ */ Symbol("_vod");
9060
+ const vShowHidden = /* @__PURE__ */ Symbol("_vsh");
9037
9061
  const vShow = {
9038
9062
  // used for prop mismatch check during hydration
9039
9063
  name: "show",
@@ -9074,7 +9098,7 @@ function setDisplay(el, value) {
9074
9098
  el.style.display = value ? el[vShowOriginalDisplay] : "none";
9075
9099
  el[vShowHidden] = !value;
9076
9100
  }
9077
- const CSS_VAR_TEXT = Symbol(!!(process$1.env.NODE_ENV !== "production") ? "CSS_VAR_TEXT" : "");
9101
+ const CSS_VAR_TEXT = /* @__PURE__ */ Symbol(!!(process$1.env.NODE_ENV !== "production") ? "CSS_VAR_TEXT" : "");
9078
9102
  function useCssVars(getter) {
9079
9103
  const instance = getCurrentInstance();
9080
9104
  if (!instance) {
@@ -9320,7 +9344,7 @@ function addEventListener(el, event, handler, options) {
9320
9344
  function removeEventListener(el, event, handler, options) {
9321
9345
  el.removeEventListener(event, handler, options);
9322
9346
  }
9323
- const veiKey = Symbol("_vei");
9347
+ const veiKey = /* @__PURE__ */ Symbol("_vei");
9324
9348
  function patchEvent(el, rawName, prevValue, nextValue, instance = null) {
9325
9349
  const invokers = el[veiKey] || (el[veiKey] = {});
9326
9350
  const existingInvoker = invokers[rawName];
@@ -9468,8 +9492,8 @@ function shouldSetAsProp(el, key, value, isSVG) {
9468
9492
  }
9469
9493
  const positionMap = /* @__PURE__ */ new WeakMap();
9470
9494
  const newPositionMap = /* @__PURE__ */ new WeakMap();
9471
- const moveCbKey = Symbol("_moveCb");
9472
- const enterCbKey = Symbol("_enterCb");
9495
+ const moveCbKey = /* @__PURE__ */ Symbol("_moveCb");
9496
+ const enterCbKey = /* @__PURE__ */ Symbol("_enterCb");
9473
9497
  const decorate = (t) => {
9474
9498
  delete t.props.mode;
9475
9499
  return t;
@@ -9621,7 +9645,7 @@ function onCompositionEnd(e) {
9621
9645
  target.dispatchEvent(new Event("input"));
9622
9646
  }
9623
9647
  }
9624
- const assignKey = Symbol("_assign");
9648
+ const assignKey = /* @__PURE__ */ Symbol("_assign");
9625
9649
  function castValue(value, trim, number) {
9626
9650
  if (trim) value = value.trim();
9627
9651
  if (number) value = looseToNumber(value);