diff --git a/docs/.vitepress/cache/deps/_metadata.json b/docs/.vitepress/cache/deps/_metadata.json index 6c8e15c..8380453 100644 --- a/docs/.vitepress/cache/deps/_metadata.json +++ b/docs/.vitepress/cache/deps/_metadata.json @@ -1,11 +1,17 @@ { - "hash": "53d21de9", - "browserHash": "1cd092dd", + "hash": "db7fdf40", + "browserHash": "e6b12db3", "optimized": { "vue": { - "src": "../../../../node_modules/vue/dist/vue.runtime.esm-bundler.js", + "src": "../../../../node_modules/vue/dist/vue.runtime.esm-browser.js", "file": "vue.js", - "fileHash": "66afa6fa", + "fileHash": "27c062e3", + "needsInterop": false + }, + "vitepress > @vue/devtools-api": { + "src": "../../../../node_modules/@vue/devtools-api/lib/esm/index.js", + "file": "vitepress___@vue_devtools-api.js", + "fileHash": "9a83625f", "needsInterop": false } }, diff --git a/docs/.vitepress/cache/deps/vitepress___@vue_devtools-api.js b/docs/.vitepress/cache/deps/vitepress___@vue_devtools-api.js new file mode 100644 index 0000000..72ba638 --- /dev/null +++ b/docs/.vitepress/cache/deps/vitepress___@vue_devtools-api.js @@ -0,0 +1,162 @@ +// node_modules/@vue/devtools-api/lib/esm/env.js +function getDevtoolsGlobalHook() { + return getTarget().__VUE_DEVTOOLS_GLOBAL_HOOK__; +} +function getTarget() { + return typeof navigator !== "undefined" && typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : {}; +} +var isProxyAvailable = typeof Proxy === "function"; + +// node_modules/@vue/devtools-api/lib/esm/const.js +var HOOK_SETUP = "devtools-plugin:setup"; +var HOOK_PLUGIN_SETTINGS_SET = "plugin:settings:set"; + +// node_modules/@vue/devtools-api/lib/esm/time.js +var supported; +var perf; +function isPerformanceSupported() { + var _a; + if (supported !== void 0) { + return supported; + } + if (typeof window !== "undefined" && window.performance) { + supported = true; + perf = window.performance; + } else if (typeof global !== "undefined" && ((_a = global.perf_hooks) === null || _a === void 0 ? void 0 : _a.performance)) { + supported = true; + perf = global.perf_hooks.performance; + } else { + supported = false; + } + return supported; +} +function now() { + return isPerformanceSupported() ? perf.now() : Date.now(); +} + +// node_modules/@vue/devtools-api/lib/esm/proxy.js +var ApiProxy = class { + constructor(plugin, hook) { + this.target = null; + this.targetQueue = []; + this.onQueue = []; + this.plugin = plugin; + this.hook = hook; + const defaultSettings = {}; + if (plugin.settings) { + for (const id in plugin.settings) { + const item = plugin.settings[id]; + defaultSettings[id] = item.defaultValue; + } + } + const localSettingsSaveId = `__vue-devtools-plugin-settings__${plugin.id}`; + let currentSettings = Object.assign({}, defaultSettings); + try { + const raw = localStorage.getItem(localSettingsSaveId); + const data = JSON.parse(raw); + Object.assign(currentSettings, data); + } catch (e) { + } + this.fallbacks = { + getSettings() { + return currentSettings; + }, + setSettings(value) { + try { + localStorage.setItem(localSettingsSaveId, JSON.stringify(value)); + } catch (e) { + } + currentSettings = value; + }, + now() { + return now(); + } + }; + if (hook) { + hook.on(HOOK_PLUGIN_SETTINGS_SET, (pluginId, value) => { + if (pluginId === this.plugin.id) { + this.fallbacks.setSettings(value); + } + }); + } + this.proxiedOn = new Proxy({}, { + get: (_target, prop) => { + if (this.target) { + return this.target.on[prop]; + } else { + return (...args) => { + this.onQueue.push({ + method: prop, + args + }); + }; + } + } + }); + this.proxiedTarget = new Proxy({}, { + get: (_target, prop) => { + if (this.target) { + return this.target[prop]; + } else if (prop === "on") { + return this.proxiedOn; + } else if (Object.keys(this.fallbacks).includes(prop)) { + return (...args) => { + this.targetQueue.push({ + method: prop, + args, + resolve: () => { + } + }); + return this.fallbacks[prop](...args); + }; + } else { + return (...args) => { + return new Promise((resolve) => { + this.targetQueue.push({ + method: prop, + args, + resolve + }); + }); + }; + } + } + }); + } + async setRealTarget(target) { + this.target = target; + for (const item of this.onQueue) { + this.target.on[item.method](...item.args); + } + for (const item of this.targetQueue) { + item.resolve(await this.target[item.method](...item.args)); + } + } +}; + +// node_modules/@vue/devtools-api/lib/esm/index.js +function setupDevtoolsPlugin(pluginDescriptor, setupFn) { + const descriptor = pluginDescriptor; + const target = getTarget(); + const hook = getDevtoolsGlobalHook(); + const enableProxy = isProxyAvailable && descriptor.enableEarlyProxy; + if (hook && (target.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !enableProxy)) { + hook.emit(HOOK_SETUP, pluginDescriptor, setupFn); + } else { + const proxy = enableProxy ? new ApiProxy(descriptor, hook) : null; + const list = target.__VUE_DEVTOOLS_PLUGINS__ = target.__VUE_DEVTOOLS_PLUGINS__ || []; + list.push({ + pluginDescriptor: descriptor, + setupFn, + proxy + }); + if (proxy) + setupFn(proxy.proxiedTarget); + } +} +export { + isPerformanceSupported, + now, + setupDevtoolsPlugin +}; +//# sourceMappingURL=vitepress___@vue_devtools-api.js.map diff --git a/docs/.vitepress/cache/deps/vitepress___@vue_devtools-api.js.map b/docs/.vitepress/cache/deps/vitepress___@vue_devtools-api.js.map new file mode 100644 index 0000000..7e0a995 --- /dev/null +++ b/docs/.vitepress/cache/deps/vitepress___@vue_devtools-api.js.map @@ -0,0 +1,7 @@ +{ + "version": 3, + "sources": ["../../../../node_modules/@vue/devtools-api/lib/esm/env.js", "../../../../node_modules/@vue/devtools-api/lib/esm/const.js", "../../../../node_modules/@vue/devtools-api/lib/esm/time.js", "../../../../node_modules/@vue/devtools-api/lib/esm/proxy.js", "../../../../node_modules/@vue/devtools-api/lib/esm/index.js"], + "sourcesContent": ["export function getDevtoolsGlobalHook() {\n return getTarget().__VUE_DEVTOOLS_GLOBAL_HOOK__;\n}\nexport function getTarget() {\n // @ts-ignore\n return (typeof navigator !== 'undefined' && typeof window !== 'undefined')\n ? window\n : typeof global !== 'undefined'\n ? global\n : {};\n}\nexport const isProxyAvailable = typeof Proxy === 'function';\n", "export const HOOK_SETUP = 'devtools-plugin:setup';\nexport const HOOK_PLUGIN_SETTINGS_SET = 'plugin:settings:set';\n", "let supported;\nlet perf;\nexport function isPerformanceSupported() {\n var _a;\n if (supported !== undefined) {\n return supported;\n }\n if (typeof window !== 'undefined' && window.performance) {\n supported = true;\n perf = window.performance;\n }\n else if (typeof global !== 'undefined' && ((_a = global.perf_hooks) === null || _a === void 0 ? void 0 : _a.performance)) {\n supported = true;\n perf = global.perf_hooks.performance;\n }\n else {\n supported = false;\n }\n return supported;\n}\nexport function now() {\n return isPerformanceSupported() ? perf.now() : Date.now();\n}\n", "import { HOOK_PLUGIN_SETTINGS_SET } from './const.js';\nimport { now } from './time.js';\nexport class ApiProxy {\n constructor(plugin, hook) {\n this.target = null;\n this.targetQueue = [];\n this.onQueue = [];\n this.plugin = plugin;\n this.hook = hook;\n const defaultSettings = {};\n if (plugin.settings) {\n for (const id in plugin.settings) {\n const item = plugin.settings[id];\n defaultSettings[id] = item.defaultValue;\n }\n }\n const localSettingsSaveId = `__vue-devtools-plugin-settings__${plugin.id}`;\n let currentSettings = Object.assign({}, defaultSettings);\n try {\n const raw = localStorage.getItem(localSettingsSaveId);\n const data = JSON.parse(raw);\n Object.assign(currentSettings, data);\n }\n catch (e) {\n // noop\n }\n this.fallbacks = {\n getSettings() {\n return currentSettings;\n },\n setSettings(value) {\n try {\n localStorage.setItem(localSettingsSaveId, JSON.stringify(value));\n }\n catch (e) {\n // noop\n }\n currentSettings = value;\n },\n now() {\n return now();\n },\n };\n if (hook) {\n hook.on(HOOK_PLUGIN_SETTINGS_SET, (pluginId, value) => {\n if (pluginId === this.plugin.id) {\n this.fallbacks.setSettings(value);\n }\n });\n }\n this.proxiedOn = new Proxy({}, {\n get: (_target, prop) => {\n if (this.target) {\n return this.target.on[prop];\n }\n else {\n return (...args) => {\n this.onQueue.push({\n method: prop,\n args,\n });\n };\n }\n },\n });\n this.proxiedTarget = new Proxy({}, {\n get: (_target, prop) => {\n if (this.target) {\n return this.target[prop];\n }\n else if (prop === 'on') {\n return this.proxiedOn;\n }\n else if (Object.keys(this.fallbacks).includes(prop)) {\n return (...args) => {\n this.targetQueue.push({\n method: prop,\n args,\n resolve: () => { },\n });\n return this.fallbacks[prop](...args);\n };\n }\n else {\n return (...args) => {\n return new Promise(resolve => {\n this.targetQueue.push({\n method: prop,\n args,\n resolve,\n });\n });\n };\n }\n },\n });\n }\n async setRealTarget(target) {\n this.target = target;\n for (const item of this.onQueue) {\n this.target.on[item.method](...item.args);\n }\n for (const item of this.targetQueue) {\n item.resolve(await this.target[item.method](...item.args));\n }\n }\n}\n", "import { getTarget, getDevtoolsGlobalHook, isProxyAvailable } from './env.js';\nimport { HOOK_SETUP } from './const.js';\nimport { ApiProxy } from './proxy.js';\nexport * from './api/index.js';\nexport * from './plugin.js';\nexport * from './time.js';\nexport function setupDevtoolsPlugin(pluginDescriptor, setupFn) {\n const descriptor = pluginDescriptor;\n const target = getTarget();\n const hook = getDevtoolsGlobalHook();\n const enableProxy = isProxyAvailable && descriptor.enableEarlyProxy;\n if (hook && (target.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !enableProxy)) {\n hook.emit(HOOK_SETUP, pluginDescriptor, setupFn);\n }\n else {\n const proxy = enableProxy ? new ApiProxy(descriptor, hook) : null;\n const list = target.__VUE_DEVTOOLS_PLUGINS__ = target.__VUE_DEVTOOLS_PLUGINS__ || [];\n list.push({\n pluginDescriptor: descriptor,\n setupFn,\n proxy,\n });\n if (proxy)\n setupFn(proxy.proxiedTarget);\n }\n}\n"], + "mappings": "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", + "names": [] +} diff --git a/docs/.vitepress/cache/deps/vue.js b/docs/.vitepress/cache/deps/vue.js index cc22c9f..eaa8f55 100644 --- a/docs/.vitepress/cache/deps/vue.js +++ b/docs/.vitepress/cache/deps/vue.js @@ -1,4 +1,4 @@ -// node_modules/@vue/shared/dist/shared.esm-bundler.js +// node_modules/vue/dist/vue.runtime.esm-browser.js function makeMap(str, expectsLowerCase) { const map2 = /* @__PURE__ */ Object.create(null); const list = str.split(","); @@ -7,8 +7,8 @@ function makeMap(str, expectsLowerCase) { } return expectsLowerCase ? (val) => !!map2[val.toLowerCase()] : (val) => !!map2[val]; } -var EMPTY_OBJ = true ? Object.freeze({}) : {}; -var EMPTY_ARR = true ? Object.freeze([]) : []; +var EMPTY_OBJ = Object.freeze({}); +var EMPTY_ARR = Object.freeze([]); var NOOP = () => { }; var NO = () => false; @@ -22,8 +22,8 @@ var remove = (arr, el) => { arr.splice(i, 1); } }; -var hasOwnProperty = Object.prototype.hasOwnProperty; -var hasOwn = (val, key) => hasOwnProperty.call(val, key); +var hasOwnProperty$1 = Object.prototype.hasOwnProperty; +var hasOwn = (val, key) => hasOwnProperty$1.call(val, key); var isArray = Array.isArray; var isMap = (val) => toTypeString(val) === "[object Map]"; var isSet = (val) => toTypeString(val) === "[object Set]"; @@ -164,24 +164,13 @@ function normalizeProps(props) { } var HTML_TAGS = "html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot"; var SVG_TAGS = "svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"; -var VOID_TAGS = "area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"; var isHTMLTag = makeMap(HTML_TAGS); var isSVGTag = makeMap(SVG_TAGS); -var isVoidTag = makeMap(VOID_TAGS); var specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`; var isSpecialBooleanAttr = makeMap(specialBooleanAttrs); -var isBooleanAttr = makeMap( - specialBooleanAttrs + `,async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected` -); function includeBooleanAttr(value) { return !!value || value === ""; } -var isKnownHtmlAttr = makeMap( - `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` -); -var isKnownSvgAttr = makeMap( - `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` -); function looseCompareArrays(a, b) { if (a.length !== b.length) return false; @@ -255,9 +244,7 @@ var replacer = (_key, val) => { } return val; }; - -// node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js -function warn(msg, ...args) { +function warn$1(msg, ...args) { console.warn(`[Vue warn] ${msg}`, ...args); } var activeEffectScope; @@ -286,8 +273,8 @@ var EffectScope = class { } finally { activeEffectScope = currentEffectScope; } - } else if (true) { - warn(`cannot run an inactive effect scope.`); + } else { + warn$1(`cannot run an inactive effect scope.`); } } /** @@ -344,8 +331,8 @@ function getCurrentScope() { function onScopeDispose(fn) { if (activeEffectScope) { activeEffectScope.cleanups.push(fn); - } else if (true) { - warn( + } else { + warn$1( `onScopeDispose() is called when there is no active effect scope to be associated with.` ); } @@ -387,8 +374,8 @@ var effectTrackDepth = 0; var trackOpBit = 1; var maxMarkerBits = 30; var activeEffect; -var ITERATE_KEY = Symbol(true ? "iterate" : ""); -var MAP_KEY_ITERATE_KEY = Symbol(true ? "Map key iterate" : ""); +var ITERATE_KEY = Symbol("iterate"); +var MAP_KEY_ITERATE_KEY = Symbol("Map key iterate"); var ReactiveEffect = class { constructor(fn, scheduler = null, scope) { this.fn = fn; @@ -495,7 +482,7 @@ function track(target, type, key) { if (!dep) { depsMap.set(key, dep = createDep()); } - const eventInfo = true ? { effect: activeEffect, target, type, key } : void 0; + const eventInfo = { effect: activeEffect, target, type, key }; trackEffects(dep, eventInfo); } } @@ -569,13 +556,11 @@ function trigger(target, type, key, newValue, oldValue, oldTarget) { break; } } - const eventInfo = true ? { target, type, key, newValue, oldValue, oldTarget } : void 0; + const eventInfo = { target, type, key, newValue, oldValue, oldTarget }; if (deps.length === 1) { if (deps[0]) { - if (true) { + { triggerEffects(deps[0], eventInfo); - } else { - triggerEffects(deps[0]); } } } else { @@ -585,10 +570,8 @@ function trigger(target, type, key, newValue, oldValue, oldTarget) { effects.push(...dep); } } - if (true) { + { triggerEffects(createDep(effects), eventInfo); - } else { - triggerEffects(createDep(effects)); } } } @@ -656,7 +639,7 @@ function createArrayInstrumentations() { }); return instrumentations; } -function hasOwnProperty2(key) { +function hasOwnProperty(key) { const obj = toRaw(this); track(obj, "has", key); return obj.hasOwnProperty(key); @@ -678,7 +661,7 @@ function createGetter(isReadonly2 = false, shallow = false) { return Reflect.get(arrayInstrumentations, key, receiver); } if (key === "hasOwnProperty") { - return hasOwnProperty2; + return hasOwnProperty; } } const res = Reflect.get(target, key, receiver); @@ -760,8 +743,8 @@ var mutableHandlers = { var readonlyHandlers = { get: readonlyGet, set(target, key) { - if (true) { - warn( + { + warn$1( `Set operation on key "${String(key)}" failed: target is readonly.`, target ); @@ -769,8 +752,8 @@ var readonlyHandlers = { return true; }, deleteProperty(target, key) { - if (true) { - warn( + { + warn$1( `Delete operation on key "${String(key)}" failed: target is readonly.`, target ); @@ -795,7 +778,7 @@ var shallowReadonlyHandlers = extend( ); var toShallow = (value) => value; var getProto = (v) => Reflect.getPrototypeOf(v); -function get(target, key, isReadonly2 = false, isShallow3 = false) { +function get(target, key, isReadonly2 = false, isShallow2 = false) { target = target["__v_raw"]; const rawTarget = toRaw(target); const rawKey = toRaw(key); @@ -806,7 +789,7 @@ function get(target, key, isReadonly2 = false, isShallow3 = false) { track(rawTarget, "get", rawKey); } const { has: has2 } = getProto(rawTarget); - const wrap = isShallow3 ? toShallow : isReadonly2 ? toReadonly : toReactive; + const wrap = isShallow2 ? toShallow : isReadonly2 ? toReadonly : toReactive; if (has2.call(rawTarget, key)) { return wrap(target.get(key)); } else if (has2.call(rawTarget, rawKey)) { @@ -851,7 +834,7 @@ function set(key, value) { if (!hadKey) { key = toRaw(key); hadKey = has2.call(target, key); - } else if (true) { + } else { checkIdentityKeys(target, has2, key); } const oldValue = get2.call(target, key); @@ -870,7 +853,7 @@ function deleteEntry(key) { if (!hadKey) { key = toRaw(key); hadKey = has2.call(target, key); - } else if (true) { + } else { checkIdentityKeys(target, has2, key); } const oldValue = get2 ? get2.call(target, key) : void 0; @@ -883,26 +866,26 @@ function deleteEntry(key) { function clear() { const target = toRaw(this); const hadItems = target.size !== 0; - const oldTarget = true ? isMap(target) ? new Map(target) : new Set(target) : void 0; + const oldTarget = isMap(target) ? new Map(target) : new Set(target); const result = target.clear(); if (hadItems) { trigger(target, "clear", void 0, void 0, oldTarget); } return result; } -function createForEach(isReadonly2, isShallow3) { +function createForEach(isReadonly2, isShallow2) { return function forEach(callback, thisArg) { const observed = this; const target = observed["__v_raw"]; const rawTarget = toRaw(target); - const wrap = isShallow3 ? toShallow : isReadonly2 ? toReadonly : toReactive; + const wrap = isShallow2 ? toShallow : isReadonly2 ? toReadonly : toReactive; !isReadonly2 && track(rawTarget, "iterate", ITERATE_KEY); return target.forEach((value, key) => { return callback.call(thisArg, wrap(value), wrap(key), observed); }); }; } -function createIterableMethod(method, isReadonly2, isShallow3) { +function createIterableMethod(method, isReadonly2, isShallow2) { return function(...args) { const target = this["__v_raw"]; const rawTarget = toRaw(target); @@ -910,7 +893,7 @@ function createIterableMethod(method, isReadonly2, isShallow3) { const isPair = method === "entries" || method === Symbol.iterator && targetIsMap; const isKeyOnly = method === "keys" && targetIsMap; const innerIterator = target[method](...args); - const wrap = isShallow3 ? toShallow : isReadonly2 ? toReadonly : toReactive; + const wrap = isShallow2 ? toShallow : isReadonly2 ? toReadonly : toReactive; !isReadonly2 && track( rawTarget, "iterate", @@ -934,7 +917,7 @@ function createIterableMethod(method, isReadonly2, isShallow3) { } function createReadonlyMethod(type) { return function(...args) { - if (true) { + { const key = args[0] ? `on key "${args[0]}" ` : ``; console.warn( `${capitalize(type)} operation ${key}failed: target is readonly.`, @@ -1141,7 +1124,7 @@ function shallowReadonly(target) { } function createReactiveObject(target, isReadonly2, baseHandlers, collectionHandlers, proxyMap) { if (!isObject(target)) { - if (true) { + { console.warn(`value cannot be made reactive: ${String(target)}`); } return target; @@ -1192,14 +1175,12 @@ var toReadonly = (value) => isObject(value) ? readonly(value) : value; function trackRefValue(ref2) { if (shouldTrack && activeEffect) { ref2 = toRaw(ref2); - if (true) { + { trackEffects(ref2.dep || (ref2.dep = createDep()), { target: ref2, type: "get", key: "value" }); - } else { - trackEffects(ref2.dep || (ref2.dep = createDep())); } } } @@ -1207,15 +1188,13 @@ function triggerRefValue(ref2, newVal) { ref2 = toRaw(ref2); const dep = ref2.dep; if (dep) { - if (true) { + { triggerEffects(dep, { target: ref2, type: "set", key: "value", newValue: newVal }); - } else { - triggerEffects(dep); } } } @@ -1257,7 +1236,7 @@ var RefImpl = class { } }; function triggerRef(ref2) { - triggerRefValue(ref2, true ? ref2.value : void 0); + triggerRefValue(ref2, ref2.value); } function unref(ref2) { return isRef(ref2) ? ref2.value : ref2; @@ -1388,15 +1367,15 @@ var ComputedRefImpl = class { this._setter(newValue); } }; -function computed(getterOrOptions, debugOptions, isSSR = false) { +function computed$1(getterOrOptions, debugOptions, isSSR = false) { let getter; let setter; const onlyGetter = isFunction(getterOrOptions); if (onlyGetter) { getter = getterOrOptions; - setter = true ? () => { + setter = () => { console.warn("Write operation failed: computed value is readonly"); - } : NOOP; + }; } else { getter = getterOrOptions.get; setter = getterOrOptions.set; @@ -1408,9 +1387,6 @@ function computed(getterOrOptions, debugOptions, isSSR = false) { } return cRef; } -var tick = Promise.resolve(); - -// node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js var stack = []; function pushWarningContext(vnode) { stack.push(vnode); @@ -1418,9 +1394,7 @@ function pushWarningContext(vnode) { function popWarningContext() { stack.pop(); } -function warn2(msg, ...args) { - if (false) - return; +function warn(msg, ...args) { pauseTracking(); const instance = stack.length ? stack[stack.length - 1].component : null; const appWarnHandler = instance && instance.appContext.config.warnHandler; @@ -1518,14 +1492,12 @@ function formatProp(key, value, raw) { } } function assertNumber(val, type) { - if (false) - return; if (val === void 0) { return; } else if (typeof val !== "number") { - warn2(`${type} is not a valid number - got ${JSON.stringify(val)}.`); + warn(`${type} is not a valid number - got ${JSON.stringify(val)}.`); } else if (isNaN(val)) { - warn2(`${type} is NaN - the duration expression might be incorrect.`); + warn(`${type} is NaN - the duration expression might be incorrect.`); } } var ErrorTypeStrings = { @@ -1589,7 +1561,7 @@ function handleError(err, instance, type, throwInDev = true) { if (instance) { let cur = instance.parent; const exposedInstance = instance.proxy; - const errorInfo = true ? ErrorTypeStrings[type] : type; + const errorInfo = ErrorTypeStrings[type]; while (cur) { const errorCapturedHooks = cur.ec; if (errorCapturedHooks) { @@ -1615,12 +1587,12 @@ function handleError(err, instance, type, throwInDev = true) { logError(err, type, contextVNode, throwInDev); } function logError(err, type, contextVNode, throwInDev = true) { - if (true) { + { const info = ErrorTypeStrings[type]; if (contextVNode) { pushWarningContext(contextVNode); } - warn2(`Unhandled error${info ? ` during execution of ${info}` : ``}`); + warn(`Unhandled error${info ? ` during execution of ${info}` : ``}`); if (contextVNode) { popWarningContext(); } @@ -1629,8 +1601,6 @@ function logError(err, type, contextVNode, throwInDev = true) { } else { console.error(err); } - } else { - console.error(err); } } var isFlushing = false; @@ -1696,7 +1666,7 @@ function queuePostFlushCb(cb) { queueFlush(); } function flushPreFlushCbs(seen, i = isFlushing ? flushIndex + 1 : 0) { - if (true) { + { seen = seen || /* @__PURE__ */ new Map(); } for (; i < queue.length; i++) { @@ -1720,7 +1690,7 @@ function flushPostFlushCbs(seen) { return; } activePostFlushCbs = deduped; - if (true) { + { seen = seen || /* @__PURE__ */ new Map(); } activePostFlushCbs.sort((a, b) => getId(a) - getId(b)); @@ -1748,11 +1718,11 @@ var comparator = (a, b) => { function flushJobs(seen) { isFlushPending = false; isFlushing = true; - if (true) { + { seen = seen || /* @__PURE__ */ new Map(); } queue.sort(comparator); - const check = true ? (job) => checkRecursiveUpdates(seen, job) : NOOP; + const check = (job) => checkRecursiveUpdates(seen, job); try { for (flushIndex = 0; flushIndex < queue.length; flushIndex++) { const job = queue[flushIndex]; @@ -1782,7 +1752,7 @@ function checkRecursiveUpdates(seen, fn) { if (count > RECURSION_LIMIT) { const instance = fn.ownerInstance; const componentName = instance && getComponentName(instance.type); - warn2( + warn( `Maximum recursive updates exceeded${componentName ? ` in component <${componentName}>` : ``}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.` ); return true; @@ -1793,7 +1763,7 @@ function checkRecursiveUpdates(seen, fn) { } var isHmrUpdating = false; var hmrDirtyComponents = /* @__PURE__ */ new Set(); -if (true) { +{ getGlobalThis().__VUE_HMR_RUNTIME__ = { createRecord: tryWrap(createRecord), rerender: tryWrap(rerender), @@ -2012,7 +1982,7 @@ function emit(instance, event, ...rawArgs) { if (instance.isUnmounted) return; const props = instance.vnode.props || EMPTY_OBJ; - if (true) { + { const { emitsOptions, propsOptions: [propsOptions] @@ -2020,7 +1990,7 @@ function emit(instance, event, ...rawArgs) { if (emitsOptions) { if (!(event in emitsOptions) && true) { if (!propsOptions || !(toHandlerKey(event) in propsOptions)) { - warn2( + warn( `Component emitted event "${event}" but it is neither declared in the emits option nor as an "${toHandlerKey(event)}" prop.` ); } @@ -2029,7 +1999,7 @@ function emit(instance, event, ...rawArgs) { if (isFunction(validator)) { const isValid = validator(...rawArgs); if (!isValid) { - warn2( + warn( `Invalid event arguments: event validation failed for event "${event}".` ); } @@ -2050,13 +2020,13 @@ function emit(instance, event, ...rawArgs) { args = rawArgs.map(looseToNumber); } } - if (true) { + { devtoolsComponentEmit(instance, event, args); } - if (true) { + { const lowerCaseEvent = event.toLowerCase(); if (lowerCaseEvent !== event && props[toHandlerKey(lowerCaseEvent)]) { - warn2( + warn( `Event "${lowerCaseEvent}" is emitted in component ${formatComponentName( instance, instance.type @@ -2103,7 +2073,7 @@ function normalizeEmitsOptions(comp, appContext, asMixin = false) { const raw = comp.emits; let normalized = {}; let hasExtends = false; - if (__VUE_OPTIONS_API__ && !isFunction(comp)) { + if (!isFunction(comp)) { const extendEmits = (raw2) => { const normalizedFromExtend = normalizeEmitsOptions(raw2, appContext, true); if (normalizedFromExtend) { @@ -2179,7 +2149,7 @@ function withCtx(fn, ctx = currentRenderingInstance, isNonScopedSlot) { setBlockTracking(1); } } - if (true) { + { devtoolsComponentUpdated(ctx); } return res; @@ -2214,7 +2184,7 @@ function renderComponentRoot(instance) { let result; let fallthroughAttrs; const prev = setCurrentRenderingInstance(instance); - if (true) { + { accessedAttrs = false; } try { @@ -2293,12 +2263,12 @@ function renderComponentRoot(instance) { } } if (extraAttrs.length) { - warn2( + warn( `Extraneous non-props attributes (${extraAttrs.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.` ); } if (eventAttrs.length) { - warn2( + warn( `Extraneous non-emits event listeners (${eventAttrs.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.` ); } @@ -2307,7 +2277,7 @@ function renderComponentRoot(instance) { } if (vnode.dirs) { if (!isElementRoot(root)) { - warn2( + warn( `Runtime directive used on component with non-element root node. The directives will not function as intended.` ); } @@ -2316,7 +2286,7 @@ function renderComponentRoot(instance) { } if (vnode.transition) { if (!isElementRoot(root)) { - warn2( + warn( `Component inside renders non-element root node that cannot be animated.` ); } @@ -2727,7 +2697,7 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe } } const timeout = vnode.props ? toNumber(vnode.props.timeout) : void 0; - if (true) { + { assertNumber(timeout, `Suspense timeout`); } const suspense = { @@ -2748,7 +2718,7 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe isUnmounted: false, effects: [], resolve(resume = false, sync = false) { - if (true) { + { if (!resume && !suspense.pendingBranch) { throw new Error( `suspense.resolve() is called without a pending branch.` @@ -2879,7 +2849,7 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe } instance.asyncResolved = true; const { vnode: vnode2 } = instance; - if (true) { + { pushWarningContext(vnode2); } handleSetupResult(instance, asyncSetupResult, false); @@ -2905,7 +2875,7 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe remove2(placeholder); } updateHOCHostEl(instance, vnode2.el); - if (true) { + { popWarningContext(); } if (isInPendingSuspense && --suspense.deps === 0) { @@ -2989,7 +2959,7 @@ function normalizeSuspenseSlot(s) { if (isArray(s)) { const singleChild = filterSingleRoot(s); if (!singleChild) { - warn2(` slots expect a single root node.`); + warn(` slots expect a single root node.`); } s = singleChild; } @@ -3030,20 +3000,20 @@ function watchPostEffect(effect2, options) { return doWatch( effect2, null, - true ? extend({}, options, { flush: "post" }) : { flush: "post" } + extend({}, options, { flush: "post" }) ); } function watchSyncEffect(effect2, options) { return doWatch( effect2, null, - true ? extend({}, options, { flush: "sync" }) : { flush: "sync" } + extend({}, options, { flush: "sync" }) ); } var INITIAL_WATCHER_VALUE = {}; function watch(source, cb, options) { if (!isFunction(cb)) { - warn2( + warn( `\`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.` ); } @@ -3053,18 +3023,18 @@ function doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = EM var _a; if (!cb) { if (immediate !== void 0) { - warn2( + warn( `watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.` ); } if (deep !== void 0) { - warn2( + warn( `watch() "deep" option is only respected when using the watch(source, callback, options?) signature.` ); } } const warnInvalidSource = (s) => { - warn2( + warn( `Invalid watch source: `, s, `A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.` @@ -3127,25 +3097,6 @@ function doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = EM callWithErrorHandling(fn, instance, 4); }; }; - let ssrCleanup; - if (isInSSRComponentSetup) { - onCleanup = NOOP; - if (!cb) { - getter(); - } else if (immediate) { - callWithAsyncErrorHandling(cb, instance, 3, [ - getter(), - isMultiSource ? [] : void 0, - onCleanup - ]); - } - if (flush === "sync") { - const ctx = useSSRContext(); - ssrCleanup = ctx.__watcherHandles || (ctx.__watcherHandles = []); - } else { - return NOOP; - } - } let oldValue = isMultiSource ? new Array(source.length).fill(INITIAL_WATCHER_VALUE) : INITIAL_WATCHER_VALUE; const job = () => { if (!effect2.active) { @@ -3184,7 +3135,7 @@ function doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = EM scheduler = () => queueJob(job); } const effect2 = new ReactiveEffect(getter, scheduler); - if (true) { + { effect2.onTrack = onTrack; effect2.onTrigger = onTrigger; } @@ -3208,8 +3159,6 @@ function doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = EM remove(instance.scope.effects, effect2); } }; - if (ssrCleanup) - ssrCleanup.push(unwatch); return unwatch; } function instanceWatch(source, value, options) { @@ -3270,13 +3219,13 @@ function traverse(value, seen) { } function validateDirectiveName(name) { if (isBuiltInDirective(name)) { - warn2("Do not use built-in directive ids as custom directive id: " + name); + warn("Do not use built-in directive ids as custom directive id: " + name); } } function withDirectives(vnode, directives) { const internalInstance = currentRenderingInstance; if (internalInstance === null) { - warn2(`withDirectives can only be used inside render functions.`); + warn(`withDirectives can only be used inside render functions.`); return vnode; } const instance = getExposeProxy(internalInstance) || internalInstance.proxy; @@ -3380,22 +3329,20 @@ var BaseTransitionImpl = { for (const c of children) { if (c.type !== Comment) { if (hasFound) { - warn2( + warn( " can only be used on a single element or component. Use for lists." ); break; } child = c; hasFound = true; - if (false) - break; } } } const rawProps = toRaw(props); const { mode } = rawProps; if (mode && mode !== "in-out" && mode !== "out-in" && mode !== "default") { - warn2(`invalid mode: ${mode}`); + warn(`invalid mode: ${mode}`); } if (state.isLeaving) { return emptyPlaceholder(child); @@ -3491,7 +3438,7 @@ function resolveTransitionHooks(vnode, props, state, instance) { } = props; const key = String(vnode.key); const leavingVNodesCache = getLeavingNodesForType(state, vnode); - const callHook3 = (hook, args) => { + const callHook2 = (hook, args) => { hook && callWithAsyncErrorHandling( hook, instance, @@ -3501,7 +3448,7 @@ function resolveTransitionHooks(vnode, props, state, instance) { }; const callAsyncHook = (hook, args) => { const done = args[1]; - callHook3(hook, args); + callHook2(hook, args); if (isArray(hook)) { if (hook.every((hook2) => hook2.length <= 1)) done(); @@ -3531,7 +3478,7 @@ function resolveTransitionHooks(vnode, props, state, instance) { if (leavingVNode && isSameVNodeType(vnode, leavingVNode) && leavingVNode.el._leaveCb) { leavingVNode.el._leaveCb(); } - callHook3(hook, [el]); + callHook2(hook, [el]); }, enter(el) { let hook = onEnter; @@ -3552,9 +3499,9 @@ function resolveTransitionHooks(vnode, props, state, instance) { return; called = true; if (cancelled) { - callHook3(cancelHook, [el]); + callHook2(cancelHook, [el]); } else { - callHook3(afterHook, [el]); + callHook2(afterHook, [el]); } if (hooks.delayedLeave) { hooks.delayedLeave(); @@ -3578,7 +3525,7 @@ function resolveTransitionHooks(vnode, props, state, instance) { if (state.isUnmounting) { return remove2(); } - callHook3(onBeforeLeave, [el]); + callHook2(onBeforeLeave, [el]); let called = false; const done = el._leaveCb = (cancelled) => { if (called) @@ -3586,9 +3533,9 @@ function resolveTransitionHooks(vnode, props, state, instance) { called = true; remove2(); if (cancelled) { - callHook3(onLeaveCancelled, [el]); + callHook2(onLeaveCancelled, [el]); } else { - callHook3(onAfterLeave, [el]); + callHook2(onAfterLeave, [el]); } el._leaveCb = void 0; if (leavingVNodesCache[key2] === vnode) { @@ -3699,7 +3646,7 @@ function defineAsyncComponent(source) { return pendingRequest; } if (!comp) { - warn2( + warn( `Async component loader resolved to undefined. If you are using retry(), make sure to return its return value.` ); } @@ -3734,7 +3681,7 @@ function defineAsyncComponent(source) { /* do not throw in dev if user provided error component */ ); }; - if (suspensible && instance.suspense || isInSSRComponentSetup) { + if (suspensible && instance.suspense || false) { return load().then((comp) => { return () => createInnerComp(comp, instance); }).catch((err) => { @@ -3809,16 +3756,10 @@ var KeepAliveImpl = { setup(props, { slots }) { const instance = getCurrentInstance(); const sharedContext = instance.ctx; - if (!sharedContext.renderer) { - return () => { - const children = slots.default && slots.default(); - return children && children.length === 1 ? children[0] : children; - }; - } const cache = /* @__PURE__ */ new Map(); const keys = /* @__PURE__ */ new Set(); let current = null; - if (true) { + { instance.__v_cache = cache; } const parentSuspense = instance.suspense; @@ -3855,7 +3796,7 @@ var KeepAliveImpl = { invokeVNodeHook(vnodeHook, instance2.parent, vnode); } }, parentSuspense); - if (true) { + { devtoolsComponentAdded(instance2); } }; @@ -3872,7 +3813,7 @@ var KeepAliveImpl = { } instance2.isDeactivated = true; }, parentSuspense); - if (true) { + { devtoolsComponentAdded(instance2); } }; @@ -3936,8 +3877,8 @@ var KeepAliveImpl = { const children = slots.default(); const rawVNode = children[0]; if (children.length > 1) { - if (true) { - warn2(`KeepAlive should contain exactly one component child.`); + { + warn(`KeepAlive should contain exactly one component child.`); } current = null; return children; @@ -4063,9 +4004,9 @@ function injectHook(type, hook, target = currentInstance, prepend = false) { hooks.push(wrappedHook); } return wrappedHook; - } else if (true) { + } else { const apiName = toHandlerKey(ErrorTypeStrings[type].replace(/ hook$/, "")); - warn2( + warn( `${apiName} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.` ); } @@ -4132,11 +4073,11 @@ function resolveAsset(type, name, warnMissing = true, maybeSelfReference = false if (warnMissing && !res) { const extra = type === COMPONENTS ? ` If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.` : ``; - warn2(`Failed to resolve ${type.slice(0, -1)}: ${name}${extra}`); + warn(`Failed to resolve ${type.slice(0, -1)}: ${name}${extra}`); } return res; - } else if (true) { - warn2( + } else { + warn( `resolve${capitalize(type.slice(0, -1))} can only be used in render() or setup().` ); } @@ -4154,7 +4095,7 @@ function renderList(source, renderItem, cache, index) { } } else if (typeof source === "number") { if (!Number.isInteger(source)) { - warn2(`The v-for range expect an integer value but got ${source}.`); + warn(`The v-for range expect an integer value but got ${source}.`); } ret = new Array(source); for (let i = 0; i < source; i++) { @@ -4208,7 +4149,7 @@ function renderSlot(slots, name, props = {}, fallback, noSlotted) { } let slot = slots[name]; if (slot && slot.length > 1) { - warn2( + warn( `SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template.` ); slot = () => []; @@ -4250,7 +4191,7 @@ function ensureValidVNode(vnodes) { function toHandlers(obj, preserveCaseIfNecessary) { const ret = {}; if (!isObject(obj)) { - warn2(`v-on with no argument expects an object value.`); + warn(`v-on with no argument expects an object value.`); return ret; } for (const key in obj) { @@ -4272,17 +4213,17 @@ var publicPropertiesMap = ( $: (i) => i, $el: (i) => i.vnode.el, $data: (i) => i.data, - $props: (i) => true ? shallowReadonly(i.props) : i.props, - $attrs: (i) => true ? shallowReadonly(i.attrs) : i.attrs, - $slots: (i) => true ? shallowReadonly(i.slots) : i.slots, - $refs: (i) => true ? shallowReadonly(i.refs) : i.refs, + $props: (i) => shallowReadonly(i.props), + $attrs: (i) => shallowReadonly(i.attrs), + $slots: (i) => shallowReadonly(i.slots), + $refs: (i) => shallowReadonly(i.refs), $parent: (i) => getPublicInstance(i.parent), $root: (i) => getPublicInstance(i.root), $emit: (i) => i.emit, - $options: (i) => __VUE_OPTIONS_API__ ? resolveMergedOptions(i) : i.type, + $options: (i) => resolveMergedOptions(i), $forceUpdate: (i) => i.f || (i.f = () => queueJob(i.update)), $nextTick: (i) => i.n || (i.n = nextTick.bind(i.proxy)), - $watch: (i) => __VUE_OPTIONS_API__ ? instanceWatch.bind(i) : NOOP + $watch: (i) => instanceWatch.bind(i) }) ); var isReservedPrefix = (key) => key === "_" || key === "$"; @@ -4323,7 +4264,7 @@ var PublicInstanceProxyHandlers = { } else if (ctx !== EMPTY_OBJ && hasOwn(ctx, key)) { accessCache[key] = 4; return ctx[key]; - } else if (!__VUE_OPTIONS_API__ || shouldCacheAccess) { + } else if (shouldCacheAccess) { accessCache[key] = 0; } } @@ -4356,13 +4297,13 @@ var PublicInstanceProxyHandlers = { // to infinite warning loop key.indexOf("__v") !== 0)) { if (data !== EMPTY_OBJ && isReservedPrefix(key[0]) && hasOwn(data, key)) { - warn2( + warn( `Property ${JSON.stringify( key )} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.` ); } else if (instance === currentRenderingInstance) { - warn2( + warn( `Property ${JSON.stringify(key)} was accessed during render but is not defined on instance.` ); } @@ -4374,17 +4315,17 @@ var PublicInstanceProxyHandlers = { setupState[key] = value; return true; } else if (setupState.__isScriptSetup && hasOwn(setupState, key)) { - warn2(`Cannot mutate