@vue/compat 3.3.10 → 3.3.12

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.
package/dist/vue.cjs.js CHANGED
@@ -270,7 +270,7 @@ const isKnownHtmlAttr = /* @__PURE__ */ makeMap(
270
270
  `accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap`
271
271
  );
272
272
  const isKnownSvgAttr = /* @__PURE__ */ makeMap(
273
- `xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan`
273
+ `xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan`
274
274
  );
275
275
 
276
276
  const escapeRE = /["'&<>]/;
@@ -373,20 +373,29 @@ const replacer = (_key, val) => {
373
373
  return replacer(_key, val.value);
374
374
  } else if (isMap(val)) {
375
375
  return {
376
- [`Map(${val.size})`]: [...val.entries()].reduce((entries, [key, val2]) => {
377
- entries[`${key} =>`] = val2;
378
- return entries;
379
- }, {})
376
+ [`Map(${val.size})`]: [...val.entries()].reduce(
377
+ (entries, [key, val2], i) => {
378
+ entries[stringifySymbol(key, i) + " =>"] = val2;
379
+ return entries;
380
+ },
381
+ {}
382
+ )
380
383
  };
381
384
  } else if (isSet(val)) {
382
385
  return {
383
- [`Set(${val.size})`]: [...val.values()]
386
+ [`Set(${val.size})`]: [...val.values()].map((v) => stringifySymbol(v))
384
387
  };
388
+ } else if (isSymbol(val)) {
389
+ return stringifySymbol(val);
385
390
  } else if (isObject(val) && !isArray(val) && !isPlainObject(val)) {
386
391
  return String(val);
387
392
  }
388
393
  return val;
389
394
  };
395
+ const stringifySymbol = (v, i = "") => {
396
+ var _a;
397
+ return isSymbol(v) ? `Symbol(${(_a = v.description) != null ? _a : i})` : v;
398
+ };
390
399
 
391
400
  function warn$1(msg, ...args) {
392
401
  console.warn(`[Vue warn] ${msg}`, ...args);
@@ -810,8 +819,13 @@ class BaseReactiveHandler {
810
819
  return isReadonly2;
811
820
  } else if (key === "__v_isShallow") {
812
821
  return shallow;
813
- } else if (key === "__v_raw" && receiver === (isReadonly2 ? shallow ? shallowReadonlyMap : readonlyMap : shallow ? shallowReactiveMap : reactiveMap).get(target)) {
814
- return target;
822
+ } else if (key === "__v_raw") {
823
+ if (receiver === (isReadonly2 ? shallow ? shallowReadonlyMap : readonlyMap : shallow ? shallowReactiveMap : reactiveMap).get(target) || // receiver is not the reactive proxy, but has the same prototype
824
+ // this means the reciever is a user proxy of the reactive proxy
825
+ Object.getPrototypeOf(target) === Object.getPrototypeOf(receiver)) {
826
+ return target;
827
+ }
828
+ return;
815
829
  }
816
830
  const targetIsArray = isArray(target);
817
831
  if (!isReadonly2) {
@@ -847,17 +861,19 @@ class MutableReactiveHandler extends BaseReactiveHandler {
847
861
  }
848
862
  set(target, key, value, receiver) {
849
863
  let oldValue = target[key];
850
- if (isReadonly(oldValue) && isRef(oldValue) && !isRef(value)) {
851
- return false;
852
- }
853
864
  if (!this._shallow) {
865
+ const isOldValueReadonly = isReadonly(oldValue);
854
866
  if (!isShallow(value) && !isReadonly(value)) {
855
867
  oldValue = toRaw(oldValue);
856
868
  value = toRaw(value);
857
869
  }
858
870
  if (!isArray(target) && isRef(oldValue) && !isRef(value)) {
859
- oldValue.value = value;
860
- return true;
871
+ if (isOldValueReadonly) {
872
+ return false;
873
+ } else {
874
+ oldValue.value = value;
875
+ return true;
876
+ }
861
877
  }
862
878
  }
863
879
  const hadKey = isArray(target) && isIntegerKey(key) ? Number(key) < target.length : hasOwn(target, key);
@@ -1822,13 +1838,16 @@ function queuePostFlushCb(cb) {
1822
1838
  }
1823
1839
  queueFlush();
1824
1840
  }
1825
- function flushPreFlushCbs(seen, i = isFlushing ? flushIndex + 1 : 0) {
1841
+ function flushPreFlushCbs(instance, seen, i = isFlushing ? flushIndex + 1 : 0) {
1826
1842
  {
1827
1843
  seen = seen || /* @__PURE__ */ new Map();
1828
1844
  }
1829
1845
  for (; i < queue.length; i++) {
1830
1846
  const cb = queue[i];
1831
1847
  if (cb && cb.pre) {
1848
+ if (instance && cb.id !== instance.uid) {
1849
+ continue;
1850
+ }
1832
1851
  if (checkRecursiveUpdates(seen, cb)) {
1833
1852
  continue;
1834
1853
  }
@@ -3411,7 +3430,7 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
3411
3430
  timeout: typeof timeout === "number" ? timeout : -1,
3412
3431
  activeBranch: null,
3413
3432
  pendingBranch: null,
3414
- isInFallback: true,
3433
+ isInFallback: !isHydrating,
3415
3434
  isHydrating,
3416
3435
  isUnmounted: false,
3417
3436
  effects: [],
@@ -3497,6 +3516,7 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
3497
3516
  }
3498
3517
  const { vnode: vnode2, activeBranch, parentComponent: parentComponent2, container: container2, isSVG: isSVG2 } = suspense;
3499
3518
  triggerEvent(vnode2, "onFallback");
3519
+ const anchor2 = next(activeBranch);
3500
3520
  const mountFallback = () => {
3501
3521
  if (!suspense.isInFallback) {
3502
3522
  return;
@@ -3505,7 +3525,7 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
3505
3525
  null,
3506
3526
  fallbackVNode,
3507
3527
  container2,
3508
- next(activeBranch),
3528
+ anchor2,
3509
3529
  parentComponent2,
3510
3530
  null,
3511
3531
  // fallback tree will not have suspense context
@@ -6373,7 +6393,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
6373
6393
  return vm;
6374
6394
  }
6375
6395
  }
6376
- Vue.version = `2.6.14-compat:${"3.3.10"}`;
6396
+ Vue.version = `2.6.14-compat:${"3.3.12"}`;
6377
6397
  Vue.config = singletonApp.config;
6378
6398
  Vue.use = (p, ...options) => {
6379
6399
  if (p && isFunction(p.install)) {
@@ -7855,6 +7875,16 @@ function createHydrationFunctions(rendererInternals) {
7855
7875
  if (dirs) {
7856
7876
  invokeDirectiveHook(vnode, null, parentComponent, "created");
7857
7877
  }
7878
+ let needCallTransitionHooks = false;
7879
+ if (isTemplateNode(el)) {
7880
+ needCallTransitionHooks = needTransition(parentSuspense, transition) && parentComponent && parentComponent.vnode.props && parentComponent.vnode.props.appear;
7881
+ const content = el.content.firstChild;
7882
+ if (needCallTransitionHooks) {
7883
+ transition.beforeEnter(content);
7884
+ }
7885
+ replaceNode(content, el, parentComponent);
7886
+ vnode.el = el = content;
7887
+ }
7858
7888
  if (props) {
7859
7889
  if (forcePatch || !optimized || patchFlag & (16 | 32)) {
7860
7890
  for (const key in props) {
@@ -7887,16 +7917,6 @@ function createHydrationFunctions(rendererInternals) {
7887
7917
  if (vnodeHooks = props && props.onVnodeBeforeMount) {
7888
7918
  invokeVNodeHook(vnodeHooks, parentComponent, vnode);
7889
7919
  }
7890
- let needCallTransitionHooks = false;
7891
- if (isTemplateNode(el)) {
7892
- needCallTransitionHooks = needTransition(parentSuspense, transition) && parentComponent && parentComponent.vnode.props && parentComponent.vnode.props.appear;
7893
- const content = el.content.firstChild;
7894
- if (needCallTransitionHooks) {
7895
- transition.beforeEnter(content);
7896
- }
7897
- replaceNode(content, el, parentComponent);
7898
- vnode.el = el = content;
7899
- }
7900
7920
  if (dirs) {
7901
7921
  invokeDirectiveHook(vnode, null, parentComponent, "beforeMount");
7902
7922
  }
@@ -9011,7 +9031,7 @@ function baseCreateRenderer(options, createHydrationFns) {
9011
9031
  updateProps(instance, nextVNode.props, prevProps, optimized);
9012
9032
  updateSlots(instance, nextVNode.children, optimized);
9013
9033
  pauseTracking();
9014
- flushPreFlushCbs();
9034
+ flushPreFlushCbs(instance);
9015
9035
  resetTracking();
9016
9036
  };
9017
9037
  const patchChildren = (n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized = false) => {
@@ -10978,7 +10998,7 @@ function isMemoSame(cached, memo) {
10978
10998
  return true;
10979
10999
  }
10980
11000
 
10981
- const version = "3.3.10";
11001
+ const version = "3.3.12";
10982
11002
  const _ssrUtils = {
10983
11003
  createComponentInstance,
10984
11004
  setupComponent,
@@ -11432,6 +11452,11 @@ function initVShowForSSR() {
11432
11452
  };
11433
11453
  }
11434
11454
 
11455
+ const CSS_VAR_TEXT = Symbol("CSS_VAR_TEXT" );
11456
+ function useCssVars(getter) {
11457
+ return;
11458
+ }
11459
+
11435
11460
  function patchStyle(el, prev, next) {
11436
11461
  const style = el.style;
11437
11462
  const isCssString = isString(next);
@@ -11450,6 +11475,10 @@ function patchStyle(el, prev, next) {
11450
11475
  const currentDisplay = style.display;
11451
11476
  if (isCssString) {
11452
11477
  if (prev !== next) {
11478
+ const cssVarText = style[CSS_VAR_TEXT];
11479
+ if (cssVarText) {
11480
+ next += ";" + cssVarText;
11481
+ }
11453
11482
  style.cssText = next;
11454
11483
  }
11455
11484
  } else if (prev) {
@@ -11746,7 +11775,9 @@ function shouldSetAsProp(el, key, value, isSVG) {
11746
11775
  }
11747
11776
  if (key === "width" || key === "height") {
11748
11777
  const tag = el.tagName;
11749
- return !(tag === "IMG" || tag === "VIDEO" || tag === "CANVAS" || tag === "SOURCE");
11778
+ if (tag === "IMG" || tag === "VIDEO" || tag === "CANVAS" || tag === "SOURCE") {
11779
+ return false;
11780
+ }
11750
11781
  }
11751
11782
  if (isNativeOn(key) && isString(value)) {
11752
11783
  return false;
@@ -11997,10 +12028,6 @@ function useCssModule(name = "$style") {
11997
12028
  }
11998
12029
  }
11999
12030
 
12000
- function useCssVars(getter) {
12001
- return;
12002
- }
12003
-
12004
12031
  const positionMap = /* @__PURE__ */ new WeakMap();
12005
12032
  const newPositionMap = /* @__PURE__ */ new WeakMap();
12006
12033
  const moveCbKey = Symbol("_moveCb");
@@ -207,7 +207,7 @@ const isKnownHtmlAttr = /* @__PURE__ */ makeMap(
207
207
  `accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap`
208
208
  );
209
209
  const isKnownSvgAttr = /* @__PURE__ */ makeMap(
210
- `xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan`
210
+ `xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan`
211
211
  );
212
212
 
213
213
  const escapeRE = /["'&<>]/;
@@ -310,20 +310,29 @@ const replacer = (_key, val) => {
310
310
  return replacer(_key, val.value);
311
311
  } else if (isMap(val)) {
312
312
  return {
313
- [`Map(${val.size})`]: [...val.entries()].reduce((entries, [key, val2]) => {
314
- entries[`${key} =>`] = val2;
315
- return entries;
316
- }, {})
313
+ [`Map(${val.size})`]: [...val.entries()].reduce(
314
+ (entries, [key, val2], i) => {
315
+ entries[stringifySymbol(key, i) + " =>"] = val2;
316
+ return entries;
317
+ },
318
+ {}
319
+ )
317
320
  };
318
321
  } else if (isSet(val)) {
319
322
  return {
320
- [`Set(${val.size})`]: [...val.values()]
323
+ [`Set(${val.size})`]: [...val.values()].map((v) => stringifySymbol(v))
321
324
  };
325
+ } else if (isSymbol(val)) {
326
+ return stringifySymbol(val);
322
327
  } else if (isObject(val) && !isArray(val) && !isPlainObject(val)) {
323
328
  return String(val);
324
329
  }
325
330
  return val;
326
331
  };
332
+ const stringifySymbol = (v, i = "") => {
333
+ var _a;
334
+ return isSymbol(v) ? `Symbol(${(_a = v.description) != null ? _a : i})` : v;
335
+ };
327
336
 
328
337
  let activeEffectScope;
329
338
  class EffectScope {
@@ -722,8 +731,13 @@ class BaseReactiveHandler {
722
731
  return isReadonly2;
723
732
  } else if (key === "__v_isShallow") {
724
733
  return shallow;
725
- } else if (key === "__v_raw" && receiver === (isReadonly2 ? shallow ? shallowReadonlyMap : readonlyMap : shallow ? shallowReactiveMap : reactiveMap).get(target)) {
726
- return target;
734
+ } else if (key === "__v_raw") {
735
+ if (receiver === (isReadonly2 ? shallow ? shallowReadonlyMap : readonlyMap : shallow ? shallowReactiveMap : reactiveMap).get(target) || // receiver is not the reactive proxy, but has the same prototype
736
+ // this means the reciever is a user proxy of the reactive proxy
737
+ Object.getPrototypeOf(target) === Object.getPrototypeOf(receiver)) {
738
+ return target;
739
+ }
740
+ return;
727
741
  }
728
742
  const targetIsArray = isArray(target);
729
743
  if (!isReadonly2) {
@@ -759,17 +773,19 @@ class MutableReactiveHandler extends BaseReactiveHandler {
759
773
  }
760
774
  set(target, key, value, receiver) {
761
775
  let oldValue = target[key];
762
- if (isReadonly(oldValue) && isRef(oldValue) && !isRef(value)) {
763
- return false;
764
- }
765
776
  if (!this._shallow) {
777
+ const isOldValueReadonly = isReadonly(oldValue);
766
778
  if (!isShallow(value) && !isReadonly(value)) {
767
779
  oldValue = toRaw(oldValue);
768
780
  value = toRaw(value);
769
781
  }
770
782
  if (!isArray(target) && isRef(oldValue) && !isRef(value)) {
771
- oldValue.value = value;
772
- return true;
783
+ if (isOldValueReadonly) {
784
+ return false;
785
+ } else {
786
+ oldValue.value = value;
787
+ return true;
788
+ }
773
789
  }
774
790
  }
775
791
  const hadKey = isArray(target) && isIntegerKey(key) ? Number(key) < target.length : hasOwn(target, key);
@@ -1529,10 +1545,13 @@ function queuePostFlushCb(cb) {
1529
1545
  }
1530
1546
  queueFlush();
1531
1547
  }
1532
- function flushPreFlushCbs(seen, i = isFlushing ? flushIndex + 1 : 0) {
1548
+ function flushPreFlushCbs(instance, seen, i = isFlushing ? flushIndex + 1 : 0) {
1533
1549
  for (; i < queue.length; i++) {
1534
1550
  const cb = queue[i];
1535
1551
  if (cb && cb.pre) {
1552
+ if (instance && cb.id !== instance.uid) {
1553
+ continue;
1554
+ }
1536
1555
  queue.splice(i, 1);
1537
1556
  i--;
1538
1557
  cb();
@@ -2486,7 +2505,7 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
2486
2505
  timeout: typeof timeout === "number" ? timeout : -1,
2487
2506
  activeBranch: null,
2488
2507
  pendingBranch: null,
2489
- isInFallback: true,
2508
+ isInFallback: !isHydrating,
2490
2509
  isHydrating,
2491
2510
  isUnmounted: false,
2492
2511
  effects: [],
@@ -2560,6 +2579,7 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
2560
2579
  }
2561
2580
  const { vnode: vnode2, activeBranch, parentComponent: parentComponent2, container: container2, isSVG: isSVG2 } = suspense;
2562
2581
  triggerEvent(vnode2, "onFallback");
2582
+ const anchor2 = next(activeBranch);
2563
2583
  const mountFallback = () => {
2564
2584
  if (!suspense.isInFallback) {
2565
2585
  return;
@@ -2568,7 +2588,7 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
2568
2588
  null,
2569
2589
  fallbackVNode,
2570
2590
  container2,
2571
- next(activeBranch),
2591
+ anchor2,
2572
2592
  parentComponent2,
2573
2593
  null,
2574
2594
  // fallback tree will not have suspense context
@@ -5091,7 +5111,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
5091
5111
  return vm;
5092
5112
  }
5093
5113
  }
5094
- Vue.version = `2.6.14-compat:${"3.3.10"}`;
5114
+ Vue.version = `2.6.14-compat:${"3.3.12"}`;
5095
5115
  Vue.config = singletonApp.config;
5096
5116
  Vue.use = (p, ...options) => {
5097
5117
  if (p && isFunction(p.install)) {
@@ -6277,6 +6297,16 @@ function createHydrationFunctions(rendererInternals) {
6277
6297
  if (dirs) {
6278
6298
  invokeDirectiveHook(vnode, null, parentComponent, "created");
6279
6299
  }
6300
+ let needCallTransitionHooks = false;
6301
+ if (isTemplateNode(el)) {
6302
+ needCallTransitionHooks = needTransition(parentSuspense, transition) && parentComponent && parentComponent.vnode.props && parentComponent.vnode.props.appear;
6303
+ const content = el.content.firstChild;
6304
+ if (needCallTransitionHooks) {
6305
+ transition.beforeEnter(content);
6306
+ }
6307
+ replaceNode(content, el, parentComponent);
6308
+ vnode.el = el = content;
6309
+ }
6280
6310
  if (props) {
6281
6311
  if (forcePatch || !optimized || patchFlag & (16 | 32)) {
6282
6312
  for (const key in props) {
@@ -6309,16 +6339,6 @@ function createHydrationFunctions(rendererInternals) {
6309
6339
  if (vnodeHooks = props && props.onVnodeBeforeMount) {
6310
6340
  invokeVNodeHook(vnodeHooks, parentComponent, vnode);
6311
6341
  }
6312
- let needCallTransitionHooks = false;
6313
- if (isTemplateNode(el)) {
6314
- needCallTransitionHooks = needTransition(parentSuspense, transition) && parentComponent && parentComponent.vnode.props && parentComponent.vnode.props.appear;
6315
- const content = el.content.firstChild;
6316
- if (needCallTransitionHooks) {
6317
- transition.beforeEnter(content);
6318
- }
6319
- replaceNode(content, el, parentComponent);
6320
- vnode.el = el = content;
6321
- }
6322
6342
  if (dirs) {
6323
6343
  invokeDirectiveHook(vnode, null, parentComponent, "beforeMount");
6324
6344
  }
@@ -7249,7 +7269,7 @@ function baseCreateRenderer(options, createHydrationFns) {
7249
7269
  updateProps(instance, nextVNode.props, prevProps, optimized);
7250
7270
  updateSlots(instance, nextVNode.children, optimized);
7251
7271
  pauseTracking();
7252
- flushPreFlushCbs();
7272
+ flushPreFlushCbs(instance);
7253
7273
  resetTracking();
7254
7274
  };
7255
7275
  const patchChildren = (n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized = false) => {
@@ -8820,7 +8840,7 @@ function isMemoSame(cached, memo) {
8820
8840
  return true;
8821
8841
  }
8822
8842
 
8823
- const version = "3.3.10";
8843
+ const version = "3.3.12";
8824
8844
  const _ssrUtils = {
8825
8845
  createComponentInstance,
8826
8846
  setupComponent,
@@ -9271,6 +9291,11 @@ function initVShowForSSR() {
9271
9291
  };
9272
9292
  }
9273
9293
 
9294
+ const CSS_VAR_TEXT = Symbol("");
9295
+ function useCssVars(getter) {
9296
+ return;
9297
+ }
9298
+
9274
9299
  function patchStyle(el, prev, next) {
9275
9300
  const style = el.style;
9276
9301
  const isCssString = isString(next);
@@ -9289,6 +9314,10 @@ function patchStyle(el, prev, next) {
9289
9314
  const currentDisplay = style.display;
9290
9315
  if (isCssString) {
9291
9316
  if (prev !== next) {
9317
+ const cssVarText = style[CSS_VAR_TEXT];
9318
+ if (cssVarText) {
9319
+ next += ";" + cssVarText;
9320
+ }
9292
9321
  style.cssText = next;
9293
9322
  }
9294
9323
  } else if (prev) {
@@ -9566,7 +9595,9 @@ function shouldSetAsProp(el, key, value, isSVG) {
9566
9595
  }
9567
9596
  if (key === "width" || key === "height") {
9568
9597
  const tag = el.tagName;
9569
- return !(tag === "IMG" || tag === "VIDEO" || tag === "CANVAS" || tag === "SOURCE");
9598
+ if (tag === "IMG" || tag === "VIDEO" || tag === "CANVAS" || tag === "SOURCE") {
9599
+ return false;
9600
+ }
9570
9601
  }
9571
9602
  if (isNativeOn(key) && isString(value)) {
9572
9603
  return false;
@@ -9795,10 +9826,6 @@ function useCssModule(name = "$style") {
9795
9826
  }
9796
9827
  }
9797
9828
 
9798
- function useCssVars(getter) {
9799
- return;
9800
- }
9801
-
9802
9829
  const positionMap = /* @__PURE__ */ new WeakMap();
9803
9830
  const newPositionMap = /* @__PURE__ */ new WeakMap();
9804
9831
  const moveCbKey = Symbol("_moveCb");