{"version":3,"sources":["node_modules/proxy-compare/dist/index.modern.js","node_modules/valtio/esm/vanilla.mjs"],"sourcesContent":["const e = Symbol(),\n t = Symbol(),\n r = \"a\",\n n = \"w\";\nlet o = (e, t) => new Proxy(e, t);\nconst s = Object.getPrototypeOf,\n c = new WeakMap(),\n l = e => e && (c.has(e) ? c.get(e) : s(e) === Object.prototype || s(e) === Array.prototype),\n f = e => \"object\" == typeof e && null !== e,\n i = e => {\n if (Array.isArray(e)) return Array.from(e);\n const t = Object.getOwnPropertyDescriptors(e);\n return Object.values(t).forEach(e => {\n e.configurable = !0;\n }), Object.create(s(e), t);\n },\n u = e => e[t] || e,\n a = (s, c, f, p) => {\n if (!l(s)) return s;\n let g = p && p.get(s);\n if (!g) {\n const e = u(s);\n g = (e => Object.values(Object.getOwnPropertyDescriptors(e)).some(e => !e.configurable && !e.writable))(e) ? [e, i(e)] : [e], null == p || p.set(s, g);\n }\n const [y, h] = g;\n let w = f && f.get(y);\n return w && w[1].f === !!h || (w = ((o, s) => {\n const c = {\n f: s\n };\n let l = !1;\n const f = (e, t) => {\n if (!l) {\n let s = c[r].get(o);\n if (s || (s = {}, c[r].set(o, s)), e === n) s[n] = !0;else {\n let r = s[e];\n r || (r = new Set(), s[e] = r), r.add(t);\n }\n }\n },\n i = {\n get: (e, n) => n === t ? o : (f(\"k\", n), a(Reflect.get(e, n), c[r], c.c, c.t)),\n has: (t, n) => n === e ? (l = !0, c[r].delete(o), !0) : (f(\"h\", n), Reflect.has(t, n)),\n getOwnPropertyDescriptor: (e, t) => (f(\"o\", t), Reflect.getOwnPropertyDescriptor(e, t)),\n ownKeys: e => (f(n), Reflect.ownKeys(e))\n };\n return s && (i.set = i.deleteProperty = () => !1), [i, c];\n })(y, !!h), w[1].p = o(h || y, w[0]), f && f.set(y, w)), w[1][r] = c, w[1].c = f, w[1].t = p, w[1].p;\n },\n p = (e, t, r, o) => {\n if (Object.is(e, t)) return !1;\n if (!f(e) || !f(t)) return !0;\n const s = r.get(u(e));\n if (!s) return !0;\n if (o) {\n const r = o.get(e);\n if (r && r.n === t) return r.g;\n o.set(e, {\n n: t,\n g: !1\n });\n }\n let c = null;\n try {\n for (const r of s.h || []) if (c = Reflect.has(e, r) !== Reflect.has(t, r), c) return c;\n if (!0 === s[n]) {\n if (c = ((e, t) => {\n const r = Reflect.ownKeys(e),\n n = Reflect.ownKeys(t);\n return r.length !== n.length || r.some((e, t) => e !== n[t]);\n })(e, t), c) return c;\n } else for (const r of s.o || []) if (c = !!Reflect.getOwnPropertyDescriptor(e, r) != !!Reflect.getOwnPropertyDescriptor(t, r), c) return c;\n for (const n of s.k || []) if (c = p(e[n], t[n], r, o), c) return c;\n return null === c && (c = !0), c;\n } finally {\n o && o.set(e, {\n n: t,\n g: c\n });\n }\n },\n g = t => !!l(t) && e in t,\n y = e => l(e) && e[t] || null,\n h = (e, t = !0) => {\n c.set(e, t);\n },\n w = (e, t, r) => {\n const o = [],\n s = new WeakSet(),\n c = (e, l) => {\n if (s.has(e)) return;\n f(e) && s.add(e);\n const i = f(e) && t.get(u(e));\n if (i) {\n var a, p;\n if (null == (a = i.h) || a.forEach(e => {\n const t = `:has(${String(e)})`;\n o.push(l ? [...l, t] : [t]);\n }), !0 === i[n]) {\n const e = \":ownKeys\";\n o.push(l ? [...l, e] : [e]);\n } else {\n var g;\n null == (g = i.o) || g.forEach(e => {\n const t = `:hasOwn(${String(e)})`;\n o.push(l ? [...l, t] : [t]);\n });\n }\n null == (p = i.k) || p.forEach(t => {\n r && !(\"value\" in (Object.getOwnPropertyDescriptor(e, t) || {})) || c(e[t], l ? [...l, t] : [t]);\n });\n } else l && o.push(l);\n };\n return c(e), o;\n },\n O = e => {\n o = e;\n };\nexport { w as affectedToPathList, a as createProxy, y as getUntracked, p as isChanged, h as markToTrack, O as replaceNewProxy, g as trackMemo };\n","import { markToTrack, getUntracked } from 'proxy-compare';\nconst isObject = x => typeof x === \"object\" && x !== null;\nconst proxyStateMap = /* @__PURE__ */new WeakMap();\nconst refSet = /* @__PURE__ */new WeakSet();\nconst buildProxyFunction = (objectIs = Object.is, newProxy = (target, handler) => new Proxy(target, handler), canProxy = x => isObject(x) && !refSet.has(x) && (Array.isArray(x) || !(Symbol.iterator in x)) && !(x instanceof WeakMap) && !(x instanceof WeakSet) && !(x instanceof Error) && !(x instanceof Number) && !(x instanceof Date) && !(x instanceof String) && !(x instanceof RegExp) && !(x instanceof ArrayBuffer), defaultHandlePromise = promise => {\n switch (promise.status) {\n case \"fulfilled\":\n return promise.value;\n case \"rejected\":\n throw promise.reason;\n default:\n throw promise;\n }\n}, snapCache = /* @__PURE__ */new WeakMap(), createSnapshot = (target, version, handlePromise = defaultHandlePromise) => {\n const cache = snapCache.get(target);\n if ((cache == null ? void 0 : cache[0]) === version) {\n return cache[1];\n }\n const snap = Array.isArray(target) ? [] : Object.create(Object.getPrototypeOf(target));\n markToTrack(snap, true);\n snapCache.set(target, [version, snap]);\n Reflect.ownKeys(target).forEach(key => {\n if (Object.getOwnPropertyDescriptor(snap, key)) {\n return;\n }\n const value = Reflect.get(target, key);\n const desc = {\n value,\n enumerable: true,\n // This is intentional to avoid copying with proxy-compare.\n // It's still non-writable, so it avoids assigning a value.\n configurable: true\n };\n if (refSet.has(value)) {\n markToTrack(value, false);\n } else if (value instanceof Promise) {\n delete desc.value;\n desc.get = () => handlePromise(value);\n } else if (proxyStateMap.has(value)) {\n const [target2, ensureVersion] = proxyStateMap.get(value);\n desc.value = createSnapshot(target2, ensureVersion(), handlePromise);\n }\n Object.defineProperty(snap, key, desc);\n });\n return Object.preventExtensions(snap);\n}, proxyCache = /* @__PURE__ */new WeakMap(), versionHolder = [1, 1], proxyFunction = initialObject => {\n if (!isObject(initialObject)) {\n throw new Error(\"object required\");\n }\n const found = proxyCache.get(initialObject);\n if (found) {\n return found;\n }\n let version = versionHolder[0];\n const listeners = /* @__PURE__ */new Set();\n const notifyUpdate = (op, nextVersion = ++versionHolder[0]) => {\n if (version !== nextVersion) {\n version = nextVersion;\n listeners.forEach(listener => listener(op, nextVersion));\n }\n };\n let checkVersion = versionHolder[1];\n const ensureVersion = (nextCheckVersion = ++versionHolder[1]) => {\n if (checkVersion !== nextCheckVersion && !listeners.size) {\n checkVersion = nextCheckVersion;\n propProxyStates.forEach(([propProxyState]) => {\n const propVersion = propProxyState[1](nextCheckVersion);\n if (propVersion > version) {\n version = propVersion;\n }\n });\n }\n return version;\n };\n const createPropListener = prop => (op, nextVersion) => {\n const newOp = [...op];\n newOp[1] = [prop, ...newOp[1]];\n notifyUpdate(newOp, nextVersion);\n };\n const propProxyStates = /* @__PURE__ */new Map();\n const addPropListener = (prop, propProxyState) => {\n if ((import.meta.env ? import.meta.env.MODE : void 0) !== \"production\" && propProxyStates.has(prop)) {\n throw new Error(\"prop listener already exists\");\n }\n if (listeners.size) {\n const remove = propProxyState[3](createPropListener(prop));\n propProxyStates.set(prop, [propProxyState, remove]);\n } else {\n propProxyStates.set(prop, [propProxyState]);\n }\n };\n const removePropListener = prop => {\n var _a;\n const entry = propProxyStates.get(prop);\n if (entry) {\n propProxyStates.delete(prop);\n (_a = entry[1]) == null ? void 0 : _a.call(entry);\n }\n };\n const addListener = listener => {\n listeners.add(listener);\n if (listeners.size === 1) {\n propProxyStates.forEach(([propProxyState, prevRemove], prop) => {\n if ((import.meta.env ? import.meta.env.MODE : void 0) !== \"production\" && prevRemove) {\n throw new Error(\"remove already exists\");\n }\n const remove = propProxyState[3](createPropListener(prop));\n propProxyStates.set(prop, [propProxyState, remove]);\n });\n }\n const removeListener = () => {\n listeners.delete(listener);\n if (listeners.size === 0) {\n propProxyStates.forEach(([propProxyState, remove], prop) => {\n if (remove) {\n remove();\n propProxyStates.set(prop, [propProxyState]);\n }\n });\n }\n };\n return removeListener;\n };\n const baseObject = Array.isArray(initialObject) ? [] : Object.create(Object.getPrototypeOf(initialObject));\n const handler = {\n deleteProperty(target, prop) {\n const prevValue = Reflect.get(target, prop);\n removePropListener(prop);\n const deleted = Reflect.deleteProperty(target, prop);\n if (deleted) {\n notifyUpdate([\"delete\", [prop], prevValue]);\n }\n return deleted;\n },\n set(target, prop, value, receiver) {\n const hasPrevValue = Reflect.has(target, prop);\n const prevValue = Reflect.get(target, prop, receiver);\n if (hasPrevValue && (objectIs(prevValue, value) || proxyCache.has(value) && objectIs(prevValue, proxyCache.get(value)))) {\n return true;\n }\n removePropListener(prop);\n if (isObject(value)) {\n value = getUntracked(value) || value;\n }\n let nextValue = value;\n if (value instanceof Promise) {\n value.then(v => {\n value.status = \"fulfilled\";\n value.value = v;\n notifyUpdate([\"resolve\", [prop], v]);\n }).catch(e => {\n value.status = \"rejected\";\n value.reason = e;\n notifyUpdate([\"reject\", [prop], e]);\n });\n } else {\n if (!proxyStateMap.has(value) && canProxy(value)) {\n nextValue = proxyFunction(value);\n }\n const childProxyState = !refSet.has(nextValue) && proxyStateMap.get(nextValue);\n if (childProxyState) {\n addPropListener(prop, childProxyState);\n }\n }\n Reflect.set(target, prop, nextValue, receiver);\n notifyUpdate([\"set\", [prop], value, prevValue]);\n return true;\n }\n };\n const proxyObject = newProxy(baseObject, handler);\n proxyCache.set(initialObject, proxyObject);\n const proxyState = [baseObject, ensureVersion, createSnapshot, addListener];\n proxyStateMap.set(proxyObject, proxyState);\n Reflect.ownKeys(initialObject).forEach(key => {\n const desc = Object.getOwnPropertyDescriptor(initialObject, key);\n if (\"value\" in desc) {\n proxyObject[key] = initialObject[key];\n delete desc.value;\n delete desc.writable;\n }\n Object.defineProperty(baseObject, key, desc);\n });\n return proxyObject;\n}) => [\n// public functions\nproxyFunction,\n// shared state\nproxyStateMap, refSet,\n// internal things\nobjectIs, newProxy, canProxy, defaultHandlePromise, snapCache, createSnapshot, proxyCache, versionHolder];\nconst [defaultProxyFunction] = buildProxyFunction();\nfunction proxy(initialObject = {}) {\n return defaultProxyFunction(initialObject);\n}\nfunction getVersion(proxyObject) {\n const proxyState = proxyStateMap.get(proxyObject);\n return proxyState == null ? void 0 : proxyState[1]();\n}\nfunction subscribe(proxyObject, callback, notifyInSync) {\n const proxyState = proxyStateMap.get(proxyObject);\n if ((import.meta.env ? import.meta.env.MODE : void 0) !== \"production\" && !proxyState) {\n console.warn(\"Please use proxy object\");\n }\n let promise;\n const ops = [];\n const addListener = proxyState[3];\n let isListenerActive = false;\n const listener = op => {\n ops.push(op);\n if (notifyInSync) {\n callback(ops.splice(0));\n return;\n }\n if (!promise) {\n promise = Promise.resolve().then(() => {\n promise = void 0;\n if (isListenerActive) {\n callback(ops.splice(0));\n }\n });\n }\n };\n const removeListener = addListener(listener);\n isListenerActive = true;\n return () => {\n isListenerActive = false;\n removeListener();\n };\n}\nfunction snapshot(proxyObject, handlePromise) {\n const proxyState = proxyStateMap.get(proxyObject);\n if ((import.meta.env ? import.meta.env.MODE : void 0) !== \"production\" && !proxyState) {\n console.warn(\"Please use proxy object\");\n }\n const [target, ensureVersion, createSnapshot] = proxyState;\n return createSnapshot(target, ensureVersion(), handlePromise);\n}\nfunction ref(obj) {\n refSet.add(obj);\n return obj;\n}\nconst unstable_buildProxyFunction = buildProxyFunction;\nexport { getVersion, proxy, ref, snapshot, subscribe, unstable_buildProxyFunction };"],"mappings":"AAAA,IAAMA,EAAI,OAAO,EACfC,EAAI,OAAO,EAIb,IAAMC,EAAI,OAAO,eACfC,EAAI,IAAI,QACRC,EAAIC,GAAKA,IAAMF,EAAE,IAAIE,CAAC,EAAIF,EAAE,IAAIE,CAAC,EAAIH,EAAEG,CAAC,IAAM,OAAO,WAAaH,EAAEG,CAAC,IAAM,MAAM,WAFnF,IA6EEC,EAAIC,GAAKC,EAAED,CAAC,GAAKA,EAAEE,CAAC,GAAK,KACzBC,EAAI,CAACH,EAAGE,EAAI,KAAO,CACjBE,EAAE,IAAIJ,EAAGE,CAAC,CACZ,ECpFF,IAAMG,EAAWC,GAAK,OAAOA,GAAM,UAAYA,IAAM,KAC/CC,EAA+B,IAAI,QACnCC,EAAwB,IAAI,QAC5BC,EAAqB,CAACC,EAAW,OAAO,GAAIC,EAAW,CA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C,EAAO,IAAID,CAAG,EACPA,CACT","names":["e","t","s","c","l","e","y","e","l","t","h","c","isObject","x","proxyStateMap","refSet","buildProxyFunction","objectIs","newProxy","target","handler","canProxy","defaultHandlePromise","promise","snapCache","createSnapshot","version","handlePromise","cache","snap","h","key","value","desc","target2","ensureVersion","proxyCache","versionHolder","proxyFunction","initialObject","found","listeners","notifyUpdate","op","nextVersion","listener","checkVersion","nextCheckVersion","propProxyStates","propProxyState","propVersion","createPropListener","prop","newOp","addPropListener","remove","removePropListener","_a","entry","addListener","prevRemove","baseObject","proxyObject","prevValue","deleted","receiver","hasPrevValue","y","nextValue","v","e","childProxyState","proxyState","defaultProxyFunction","proxy","subscribe","proxyObject","callback","notifyInSync","proxyState","proxyStateMap","promise","ops","addListener","isListenerActive","removeListener","op","snapshot","handlePromise","target","ensureVersion","createSnapshot","ref","obj","refSet"],"x_google_ignoreList":[0,1]}