You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

0 lines
67 KiB

1 month ago
  1. {"ast":null,"code":"/**\n* @vue/shared v3.5.13\n* (c) 2018-present Yuxi (Evan) You and Vue contributors\n* @license MIT\n**/\n/*! #__NO_SIDE_EFFECTS__ */\n// @__NO_SIDE_EFFECTS__\nfunction makeMap(str) {\n const map = /* @__PURE__ */Object.create(null);\n for (const key of str.split(\",\")) map[key] = 1;\n return val => val in map;\n}\nconst EMPTY_OBJ = !!(process.env.NODE_ENV !== \"production\") ? Object.freeze({}) : {};\nconst EMPTY_ARR = !!(process.env.NODE_ENV !== \"production\") ? Object.freeze([]) : [];\nconst NOOP = () => {};\nconst NO = () => false;\nconst isOn = key => key.charCodeAt(0) === 111 && key.charCodeAt(1) === 110 && (\n// uppercase letter\nkey.charCodeAt(2) > 122 || key.charCodeAt(2) < 97);\nconst isModelListener = key => key.startsWith(\"onUpdate:\");\nconst extend = Object.assign;\nconst remove = (arr, el) => {\n const i = arr.indexOf(el);\n if (i > -1) {\n arr.splice(i, 1);\n }\n};\nconst hasOwnProperty = Object.prototype.hasOwnProperty;\nconst hasOwn = (val, key) => hasOwnProperty.call(val, key);\nconst isArray = Array.isArray;\nconst isMap = val => toTypeString(val) === \"[object Map]\";\nconst isSet = val => toTypeString(val) === \"[object Set]\";\nconst isDate = val => toTypeString(val) === \"[object Date]\";\nconst isRegExp = val => toTypeString(val) === \"[object RegExp]\";\nconst isFunction = val => typeof val === \"function\";\nconst isString = val => typeof val === \"string\";\nconst isSymbol = val => typeof val === \"symbol\";\nconst isObject = val => val !== null && typeof val === \"object\";\nconst isPromise = val => {\n return (isObject(val) || isFunction(val)) && isFunction(val.then) && isFunction(val.catch);\n};\nconst objectToString = Object.prototype.toString;\nconst toTypeString = value => objectToString.call(value);\nconst toRawType = value => {\n return toTypeString(value).slice(8, -1);\n};\nconst isPlainObject = val => toTypeString(val) === \"[object Object]\";\nconst isIntegerKey = key => isString(key) && key !== \"NaN\" && key[0] !== \"-\" && \"\" + parseInt(key, 10) === key;\nconst isReservedProp = /* @__PURE__ */makeMap(\n// the leading comma is intentional so empty string \"\" is also included\n\",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted\");\nconst isBuiltInDirective = /* @__PURE__ */makeMap(\"bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo\");\nconst cacheStringFunction = fn => {\n const cache = /* @__PURE__ */Object.create(null);\n return str => {\n const hit = cache[str];\n return hit || (cache[str] = fn(str));\n };\n};\nconst camelizeRE = /-(\\w)/g;\nconst camelize = cacheStringFunction(str => {\n return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : \"\");\n});\nconst hyphenateRE = /\\B([A-Z])/g;\nconst hyphenate = cacheStringFunction(str => str.replace(hyphenateRE, \"-$1\").toLowerCase());\nconst capitalize = cacheStringFunction(str => {\n return str.charAt(0).toUpperCase() + str.slice(1);\n});\nconst toHandlerKey = cacheStringFunction(str => {\n const s = str ? `on${capitalize(str)}` : ``;\n return s;\n});\nconst hasChanged = (value, oldValue) => !Object.is(value, oldValue);\nconst invokeArrayFns = (fns, ...arg) => {\n for (let i = 0; i < fns.length; i++) {\n fns[i](...arg);\n }\n};\nconst def = (obj, key, value, writable = false) => {\n Object.defineProperty(obj, key, {\n configurable: true,\n enumerable: false,\n writable,\n value\n });\n};\nconst looseToNumber = val => {\n const n = parseFloat(val);\n return isNaN(n) ? val : n;\n};\nconst toNumber = val => {\n const n = isString(val) ? Number(val) : NaN;\n return isNaN(n) ? val : n;\n};\nlet _globalThis;\nconst getGlobalThis = () => {\n return _globalThis || (_globalThis = typeof globalThis !== \"undefined\" ? globalThis : typeof self !== \"undefined\" ? self : typeof window !== \"undefined\" ? window : typeof global !== \"undefined\" ? global : {});\n};\nconst identRE = /^[_$a-zA-Z\\xA0-\\uFFFF][_$a-zA-Z0-9\\xA0-\\uFFFF]*$/;\nfunction genProp