shared.cjs.prod.js 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473
  1. 'use strict';
  2. Object.defineProperty(exports, '__esModule', { value: true });
  3. function makeMap(str, expectsLowerCase) {
  4. const map = /* @__PURE__ */ Object.create(null);
  5. const list = str.split(",");
  6. for (let i = 0; i < list.length; i++) {
  7. map[list[i]] = true;
  8. }
  9. return expectsLowerCase ? (val) => !!map[val.toLowerCase()] : (val) => !!map[val];
  10. }
  11. const EMPTY_OBJ = {};
  12. const EMPTY_ARR = [];
  13. const NOOP = () => {
  14. };
  15. const NO = () => false;
  16. const onRE = /^on[^a-z]/;
  17. const isOn = (key) => onRE.test(key);
  18. const isModelListener = (key) => key.startsWith("onUpdate:");
  19. const extend = Object.assign;
  20. const remove = (arr, el) => {
  21. const i = arr.indexOf(el);
  22. if (i > -1) {
  23. arr.splice(i, 1);
  24. }
  25. };
  26. const hasOwnProperty = Object.prototype.hasOwnProperty;
  27. const hasOwn = (val, key) => hasOwnProperty.call(val, key);
  28. const isArray = Array.isArray;
  29. const isMap = (val) => toTypeString(val) === "[object Map]";
  30. const isSet = (val) => toTypeString(val) === "[object Set]";
  31. const isDate = (val) => toTypeString(val) === "[object Date]";
  32. const isRegExp = (val) => toTypeString(val) === "[object RegExp]";
  33. const isFunction = (val) => typeof val === "function";
  34. const isString = (val) => typeof val === "string";
  35. const isSymbol = (val) => typeof val === "symbol";
  36. const isObject = (val) => val !== null && typeof val === "object";
  37. const isPromise = (val) => {
  38. return isObject(val) && isFunction(val.then) && isFunction(val.catch);
  39. };
  40. const objectToString = Object.prototype.toString;
  41. const toTypeString = (value) => objectToString.call(value);
  42. const toRawType = (value) => {
  43. return toTypeString(value).slice(8, -1);
  44. };
  45. const isPlainObject = (val) => toTypeString(val) === "[object Object]";
  46. const isIntegerKey = (key) => isString(key) && key !== "NaN" && key[0] !== "-" && "" + parseInt(key, 10) === key;
  47. const isReservedProp = /* @__PURE__ */ makeMap(
  48. // the leading comma is intentional so empty string "" is also included
  49. ",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
  50. );
  51. const isBuiltInDirective = /* @__PURE__ */ makeMap(
  52. "bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"
  53. );
  54. const cacheStringFunction = (fn) => {
  55. const cache = /* @__PURE__ */ Object.create(null);
  56. return (str) => {
  57. const hit = cache[str];
  58. return hit || (cache[str] = fn(str));
  59. };
  60. };
  61. const camelizeRE = /-(\w)/g;
  62. const camelize = cacheStringFunction((str) => {
  63. return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : "");
  64. });
  65. const hyphenateRE = /\B([A-Z])/g;
  66. const hyphenate = cacheStringFunction(
  67. (str) => str.replace(hyphenateRE, "-$1").toLowerCase()
  68. );
  69. const capitalize = cacheStringFunction(
  70. (str) => str.charAt(0).toUpperCase() + str.slice(1)
  71. );
  72. const toHandlerKey = cacheStringFunction(
  73. (str) => str ? `on${capitalize(str)}` : ``
  74. );
  75. const hasChanged = (value, oldValue) => !Object.is(value, oldValue);
  76. const invokeArrayFns = (fns, arg) => {
  77. for (let i = 0; i < fns.length; i++) {
  78. fns[i](arg);
  79. }
  80. };
  81. const def = (obj, key, value) => {
  82. Object.defineProperty(obj, key, {
  83. configurable: true,
  84. enumerable: false,
  85. value
  86. });
  87. };
  88. const looseToNumber = (val) => {
  89. const n = parseFloat(val);
  90. return isNaN(n) ? val : n;
  91. };
  92. const toNumber = (val) => {
  93. const n = isString(val) ? Number(val) : NaN;
  94. return isNaN(n) ? val : n;
  95. };
  96. let _globalThis;
  97. const getGlobalThis = () => {
  98. return _globalThis || (_globalThis = typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : {});
  99. };
  100. const identRE = /^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;
  101. function genPropsAccessExp(name) {
  102. return identRE.test(name) ? `__props.${name}` : `__props[${JSON.stringify(name)}]`;
  103. }
  104. const PatchFlagNames = {
  105. [1]: `TEXT`,
  106. [2]: `CLASS`,
  107. [4]: `STYLE`,
  108. [8]: `PROPS`,
  109. [16]: `FULL_PROPS`,
  110. [32]: `HYDRATE_EVENTS`,
  111. [64]: `STABLE_FRAGMENT`,
  112. [128]: `KEYED_FRAGMENT`,
  113. [256]: `UNKEYED_FRAGMENT`,
  114. [512]: `NEED_PATCH`,
  115. [1024]: `DYNAMIC_SLOTS`,
  116. [2048]: `DEV_ROOT_FRAGMENT`,
  117. [-1]: `HOISTED`,
  118. [-2]: `BAIL`
  119. };
  120. const slotFlagsText = {
  121. [1]: "STABLE",
  122. [2]: "DYNAMIC",
  123. [3]: "FORWARDED"
  124. };
  125. const GLOBALS_WHITE_LISTED = "Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console";
  126. const isGloballyWhitelisted = /* @__PURE__ */ makeMap(GLOBALS_WHITE_LISTED);
  127. const range = 2;
  128. function generateCodeFrame(source, start = 0, end = source.length) {
  129. let lines = source.split(/(\r?\n)/);
  130. const newlineSequences = lines.filter((_, idx) => idx % 2 === 1);
  131. lines = lines.filter((_, idx) => idx % 2 === 0);
  132. let count = 0;
  133. const res = [];
  134. for (let i = 0; i < lines.length; i++) {
  135. count += lines[i].length + (newlineSequences[i] && newlineSequences[i].length || 0);
  136. if (count >= start) {
  137. for (let j = i - range; j <= i + range || end > count; j++) {
  138. if (j < 0 || j >= lines.length)
  139. continue;
  140. const line = j + 1;
  141. res.push(
  142. `${line}${" ".repeat(Math.max(3 - String(line).length, 0))}| ${lines[j]}`
  143. );
  144. const lineLength = lines[j].length;
  145. const newLineSeqLength = newlineSequences[j] && newlineSequences[j].length || 0;
  146. if (j === i) {
  147. const pad = start - (count - (lineLength + newLineSeqLength));
  148. const length = Math.max(
  149. 1,
  150. end > count ? lineLength - pad : end - start
  151. );
  152. res.push(` | ` + " ".repeat(pad) + "^".repeat(length));
  153. } else if (j > i) {
  154. if (end > count) {
  155. const length = Math.max(Math.min(end - count, lineLength), 1);
  156. res.push(` | ` + "^".repeat(length));
  157. }
  158. count += lineLength + newLineSeqLength;
  159. }
  160. }
  161. break;
  162. }
  163. }
  164. return res.join("\n");
  165. }
  166. function normalizeStyle(value) {
  167. if (isArray(value)) {
  168. const res = {};
  169. for (let i = 0; i < value.length; i++) {
  170. const item = value[i];
  171. const normalized = isString(item) ? parseStringStyle(item) : normalizeStyle(item);
  172. if (normalized) {
  173. for (const key in normalized) {
  174. res[key] = normalized[key];
  175. }
  176. }
  177. }
  178. return res;
  179. } else if (isString(value)) {
  180. return value;
  181. } else if (isObject(value)) {
  182. return value;
  183. }
  184. }
  185. const listDelimiterRE = /;(?![^(]*\))/g;
  186. const propertyDelimiterRE = /:([^]+)/;
  187. const styleCommentRE = /\/\*[^]*?\*\//g;
  188. function parseStringStyle(cssText) {
  189. const ret = {};
  190. cssText.replace(styleCommentRE, "").split(listDelimiterRE).forEach((item) => {
  191. if (item) {
  192. const tmp = item.split(propertyDelimiterRE);
  193. tmp.length > 1 && (ret[tmp[0].trim()] = tmp[1].trim());
  194. }
  195. });
  196. return ret;
  197. }
  198. function stringifyStyle(styles) {
  199. let ret = "";
  200. if (!styles || isString(styles)) {
  201. return ret;
  202. }
  203. for (const key in styles) {
  204. const value = styles[key];
  205. const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key);
  206. if (isString(value) || typeof value === "number") {
  207. ret += `${normalizedKey}:${value};`;
  208. }
  209. }
  210. return ret;
  211. }
  212. function normalizeClass(value) {
  213. let res = "";
  214. if (isString(value)) {
  215. res = value;
  216. } else if (isArray(value)) {
  217. for (let i = 0; i < value.length; i++) {
  218. const normalized = normalizeClass(value[i]);
  219. if (normalized) {
  220. res += normalized + " ";
  221. }
  222. }
  223. } else if (isObject(value)) {
  224. for (const name in value) {
  225. if (value[name]) {
  226. res += name + " ";
  227. }
  228. }
  229. }
  230. return res.trim();
  231. }
  232. function normalizeProps(props) {
  233. if (!props)
  234. return null;
  235. let { class: klass, style } = props;
  236. if (klass && !isString(klass)) {
  237. props.class = normalizeClass(klass);
  238. }
  239. if (style) {
  240. props.style = normalizeStyle(style);
  241. }
  242. return props;
  243. }
  244. const 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";
  245. const 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";
  246. const VOID_TAGS = "area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr";
  247. const isHTMLTag = /* @__PURE__ */ makeMap(HTML_TAGS);
  248. const isSVGTag = /* @__PURE__ */ makeMap(SVG_TAGS);
  249. const isVoidTag = /* @__PURE__ */ makeMap(VOID_TAGS);
  250. const specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`;
  251. const isSpecialBooleanAttr = /* @__PURE__ */ makeMap(specialBooleanAttrs);
  252. const isBooleanAttr = /* @__PURE__ */ makeMap(
  253. specialBooleanAttrs + `,async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected`
  254. );
  255. function includeBooleanAttr(value) {
  256. return !!value || value === "";
  257. }
  258. const unsafeAttrCharRE = /[>/="'\u0009\u000a\u000c\u0020]/;
  259. const attrValidationCache = {};
  260. function isSSRSafeAttrName(name) {
  261. if (attrValidationCache.hasOwnProperty(name)) {
  262. return attrValidationCache[name];
  263. }
  264. const isUnsafe = unsafeAttrCharRE.test(name);
  265. if (isUnsafe) {
  266. console.error(`unsafe attribute name: ${name}`);
  267. }
  268. return attrValidationCache[name] = !isUnsafe;
  269. }
  270. const propsToAttrMap = {
  271. acceptCharset: "accept-charset",
  272. className: "class",
  273. htmlFor: "for",
  274. httpEquiv: "http-equiv"
  275. };
  276. const isKnownHtmlAttr = /* @__PURE__ */ makeMap(
  277. `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`
  278. );
  279. const isKnownSvgAttr = /* @__PURE__ */ makeMap(
  280. `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`
  281. );
  282. const escapeRE = /["'&<>]/;
  283. function escapeHtml(string) {
  284. const str = "" + string;
  285. const match = escapeRE.exec(str);
  286. if (!match) {
  287. return str;
  288. }
  289. let html = "";
  290. let escaped;
  291. let index;
  292. let lastIndex = 0;
  293. for (index = match.index; index < str.length; index++) {
  294. switch (str.charCodeAt(index)) {
  295. case 34:
  296. escaped = "&quot;";
  297. break;
  298. case 38:
  299. escaped = "&amp;";
  300. break;
  301. case 39:
  302. escaped = "&#39;";
  303. break;
  304. case 60:
  305. escaped = "&lt;";
  306. break;
  307. case 62:
  308. escaped = "&gt;";
  309. break;
  310. default:
  311. continue;
  312. }
  313. if (lastIndex !== index) {
  314. html += str.slice(lastIndex, index);
  315. }
  316. lastIndex = index + 1;
  317. html += escaped;
  318. }
  319. return lastIndex !== index ? html + str.slice(lastIndex, index) : html;
  320. }
  321. const commentStripRE = /^-?>|<!--|-->|--!>|<!-$/g;
  322. function escapeHtmlComment(src) {
  323. return src.replace(commentStripRE, "");
  324. }
  325. function looseCompareArrays(a, b) {
  326. if (a.length !== b.length)
  327. return false;
  328. let equal = true;
  329. for (let i = 0; equal && i < a.length; i++) {
  330. equal = looseEqual(a[i], b[i]);
  331. }
  332. return equal;
  333. }
  334. function looseEqual(a, b) {
  335. if (a === b)
  336. return true;
  337. let aValidType = isDate(a);
  338. let bValidType = isDate(b);
  339. if (aValidType || bValidType) {
  340. return aValidType && bValidType ? a.getTime() === b.getTime() : false;
  341. }
  342. aValidType = isSymbol(a);
  343. bValidType = isSymbol(b);
  344. if (aValidType || bValidType) {
  345. return a === b;
  346. }
  347. aValidType = isArray(a);
  348. bValidType = isArray(b);
  349. if (aValidType || bValidType) {
  350. return aValidType && bValidType ? looseCompareArrays(a, b) : false;
  351. }
  352. aValidType = isObject(a);
  353. bValidType = isObject(b);
  354. if (aValidType || bValidType) {
  355. if (!aValidType || !bValidType) {
  356. return false;
  357. }
  358. const aKeysCount = Object.keys(a).length;
  359. const bKeysCount = Object.keys(b).length;
  360. if (aKeysCount !== bKeysCount) {
  361. return false;
  362. }
  363. for (const key in a) {
  364. const aHasKey = a.hasOwnProperty(key);
  365. const bHasKey = b.hasOwnProperty(key);
  366. if (aHasKey && !bHasKey || !aHasKey && bHasKey || !looseEqual(a[key], b[key])) {
  367. return false;
  368. }
  369. }
  370. }
  371. return String(a) === String(b);
  372. }
  373. function looseIndexOf(arr, val) {
  374. return arr.findIndex((item) => looseEqual(item, val));
  375. }
  376. const toDisplayString = (val) => {
  377. return isString(val) ? val : val == null ? "" : isArray(val) || isObject(val) && (val.toString === objectToString || !isFunction(val.toString)) ? JSON.stringify(val, replacer, 2) : String(val);
  378. };
  379. const replacer = (_key, val) => {
  380. if (val && val.__v_isRef) {
  381. return replacer(_key, val.value);
  382. } else if (isMap(val)) {
  383. return {
  384. [`Map(${val.size})`]: [...val.entries()].reduce((entries, [key, val2]) => {
  385. entries[`${key} =>`] = val2;
  386. return entries;
  387. }, {})
  388. };
  389. } else if (isSet(val)) {
  390. return {
  391. [`Set(${val.size})`]: [...val.values()]
  392. };
  393. } else if (isObject(val) && !isArray(val) && !isPlainObject(val)) {
  394. return String(val);
  395. }
  396. return val;
  397. };
  398. exports.EMPTY_ARR = EMPTY_ARR;
  399. exports.EMPTY_OBJ = EMPTY_OBJ;
  400. exports.NO = NO;
  401. exports.NOOP = NOOP;
  402. exports.PatchFlagNames = PatchFlagNames;
  403. exports.camelize = camelize;
  404. exports.capitalize = capitalize;
  405. exports.def = def;
  406. exports.escapeHtml = escapeHtml;
  407. exports.escapeHtmlComment = escapeHtmlComment;
  408. exports.extend = extend;
  409. exports.genPropsAccessExp = genPropsAccessExp;
  410. exports.generateCodeFrame = generateCodeFrame;
  411. exports.getGlobalThis = getGlobalThis;
  412. exports.hasChanged = hasChanged;
  413. exports.hasOwn = hasOwn;
  414. exports.hyphenate = hyphenate;
  415. exports.includeBooleanAttr = includeBooleanAttr;
  416. exports.invokeArrayFns = invokeArrayFns;
  417. exports.isArray = isArray;
  418. exports.isBooleanAttr = isBooleanAttr;
  419. exports.isBuiltInDirective = isBuiltInDirective;
  420. exports.isDate = isDate;
  421. exports.isFunction = isFunction;
  422. exports.isGloballyWhitelisted = isGloballyWhitelisted;
  423. exports.isHTMLTag = isHTMLTag;
  424. exports.isIntegerKey = isIntegerKey;
  425. exports.isKnownHtmlAttr = isKnownHtmlAttr;
  426. exports.isKnownSvgAttr = isKnownSvgAttr;
  427. exports.isMap = isMap;
  428. exports.isModelListener = isModelListener;
  429. exports.isObject = isObject;
  430. exports.isOn = isOn;
  431. exports.isPlainObject = isPlainObject;
  432. exports.isPromise = isPromise;
  433. exports.isRegExp = isRegExp;
  434. exports.isReservedProp = isReservedProp;
  435. exports.isSSRSafeAttrName = isSSRSafeAttrName;
  436. exports.isSVGTag = isSVGTag;
  437. exports.isSet = isSet;
  438. exports.isSpecialBooleanAttr = isSpecialBooleanAttr;
  439. exports.isString = isString;
  440. exports.isSymbol = isSymbol;
  441. exports.isVoidTag = isVoidTag;
  442. exports.looseEqual = looseEqual;
  443. exports.looseIndexOf = looseIndexOf;
  444. exports.looseToNumber = looseToNumber;
  445. exports.makeMap = makeMap;
  446. exports.normalizeClass = normalizeClass;
  447. exports.normalizeProps = normalizeProps;
  448. exports.normalizeStyle = normalizeStyle;
  449. exports.objectToString = objectToString;
  450. exports.parseStringStyle = parseStringStyle;
  451. exports.propsToAttrMap = propsToAttrMap;
  452. exports.remove = remove;
  453. exports.slotFlagsText = slotFlagsText;
  454. exports.stringifyStyle = stringifyStyle;
  455. exports.toDisplayString = toDisplayString;
  456. exports.toHandlerKey = toHandlerKey;
  457. exports.toNumber = toNumber;
  458. exports.toRawType = toRawType;
  459. exports.toTypeString = toTypeString;