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M,EAAY,EAAM,KACxB,GAAyB,iBAAd,EACP,OAEc,WAAd,EACA,KAAK,WA/IQ,EAiJM,YAAd,IACL,KAAK,WAhJU,EAiJf,IAAI,KA/IgB,uBA+Ic,KAAK,mBAE3C,MAAM,EAAW,KAAK,mBAAmB,GACrC,WAAW,IACX,EAAS,EAAM,KAEvB,EAuBJ,OAAO,QAAU,OAAO,SAAW,CAAC,EACpC,OAAO,QAAQ,IAAM,OAAO,QAAQ,KAAO,CAAC,EAE5C,OAAO,UAAY,UACnB,SAAS,OAAO,QAAS,EACzB,SAAS,OAAO,gBAAiB,EACjC,OAAO,iBAEE","file":"/npm/@hippy/vue@3.3.2/dist/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.19.2.\n * Original file: /npm/@hippy/vue@3.3.2/dist/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","/*!\n * @hippy/vue v3.3.2\n * (Using Vue v2.6.14)\n * Build at: Fri Nov 08 2024 20:45:13 GMT+0800 (中国标准时间)\n *\n * Tencent is pleased to support the open source community by making\n * Hippy available.\n *\n * Copyright (C) 2017-2024 THL A29 Limited, a Tencent company.\n * All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/*  */\n\nconst emptyObject = Object.freeze({});\n\n// These helpers produce better VM code in JS engines due to their\n// explicitness and function inlining.\nfunction isUndef(v) {\n  return v === undefined || v === null;\n}\nfunction isDef(v) {\n  return v !== undefined && v !== null;\n}\nfunction isTrue(v) {\n  return v === true;\n}\nfunction isFalse(v) {\n  return v === false;\n}\n\n/**\n * Check if value is primitive.\n */\nfunction isPrimitive(value) {\n  return typeof value === 'string' || typeof value === 'number' ||\n  // $flow-disable-line\n  typeof value === 'symbol' || typeof value === 'boolean';\n}\n\n/**\n * Quick object check - this is primarily used to tell\n * Objects from primitive values when we know the value\n * is a JSON-compliant type.\n */\nfunction isObject(obj) {\n  return obj !== null && typeof obj === 'object';\n}\n\n/**\n * Get the raw type string of a value, e.g., [object Object].\n */\nconst _toString = Object.prototype.toString;\nfunction toRawType(value) {\n  return _toString.call(value).slice(8, -1);\n}\n\n/**\n * Strict object type check. Only returns true\n * for plain JavaScript objects.\n */\nfunction isPlainObject(obj) {\n  return _toString.call(obj) === '[object Object]';\n}\nfunction isRegExp(v) {\n  return _toString.call(v) === '[object RegExp]';\n}\n\n/**\n * Check if val is a valid array index.\n */\nfunction isValidArrayIndex(val) {\n  const n = parseFloat(String(val));\n  return n >= 0 && Math.floor(n) === n && isFinite(val);\n}\nfunction isPromise(val) {\n  return isDef(val) && typeof val.then === 'function' && typeof val.catch === 'function';\n}\n\n/**\n * Convert a value to a string that is actually rendered.\n */\nfunction toString(val) {\n  return val == null ? '' : Array.isArray(val) || isPlainObject(val) && val.toString === _toString ? JSON.stringify(val, null, 2) : String(val);\n}\n\n/**\n * Convert an input value to a number for persistence.\n * If the conversion fails, return original string.\n */\nfunction toNumber(val) {\n  const n = parseFloat(val);\n  return isNaN(n) ? val : n;\n}\n\n/**\n * Make a map and return a function for checking if a key\n * is in that map.\n */\nfunction makeMap(str, expectsLowerCase) {\n  const map = Object.create(null);\n  const list = str.split(',');\n  for (let i = 0; i < list.length; i++) {\n    map[list[i]] = true;\n  }\n  return expectsLowerCase ? val => map[val.toLowerCase()] : val => map[val];\n}\n\n/**\n * Check if a tag is a built-in tag.\n */\nconst isBuiltInTag = makeMap('slot,component', true);\n\n/**\n * Check if an attribute is a reserved attribute.\n */\nconst isReservedAttribute = makeMap('key,ref,slot,slot-scope,is');\n\n/**\n * Remove an item from an array.\n */\nfunction remove$2(arr, item) {\n  if (arr.length) {\n    const index = arr.indexOf(item);\n    if (index > -1) {\n      return arr.splice(index, 1);\n    }\n  }\n}\n\n/**\n * Check whether an object has the property.\n */\nconst hasOwnProperty = Object.prototype.hasOwnProperty;\nfunction hasOwn(obj, key) {\n  return hasOwnProperty.call(obj, key);\n}\n\n/**\n * Create a cached version of a pure function.\n */\nfunction cached(fn) {\n  const cache = Object.create(null);\n  return function cachedFn(str) {\n    const hit = cache[str];\n    return hit || (cache[str] = fn(str));\n  };\n}\n\n/**\n * Camelize a hyphen-delimited string.\n */\nconst camelizeRE = /-(\\w)/g;\nconst camelize = cached(str => {\n  return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : '');\n});\n\n/**\n * Capitalize a string.\n */\nconst capitalize = cached(str => {\n  return str.charAt(0).toUpperCase() + str.slice(1);\n});\n\n/**\n * Hyphenate a camelCase string.\n */\nconst hyphenateRE = /\\B([A-Z])/g;\nconst hyphenate = cached(str => {\n  return str.replace(hyphenateRE, '-$1').toLowerCase();\n});\n\n/**\n * Simple bind polyfill for environments that do not support it,\n * e.g., PhantomJS 1.x. Technically, we don't need this anymore\n * since native bind is now performant enough in most browsers.\n * But removing it would mean breaking code that was able to run in\n * PhantomJS 1.x, so this must be kept for backward compatibility.\n */\n\n/* istanbul ignore next */\nfunction polyfillBind(fn, ctx) {\n  function boundFn(a) {\n    const l = arguments.length;\n    return l ? l > 1 ? fn.apply(ctx, arguments) : fn.call(ctx, a) : fn.call(ctx);\n  }\n  boundFn._length = fn.length;\n  return boundFn;\n}\nfunction nativeBind(fn, ctx) {\n  return fn.bind(ctx);\n}\nconst bind$1 = Function.prototype.bind ? nativeBind : polyfillBind;\n\n/**\n * Convert an Array-like object to a real Array.\n */\nfunction toArray(list, start) {\n  start = start || 0;\n  let i = list.length - start;\n  const ret = new Array(i);\n  while (i--) {\n    ret[i] = list[i + start];\n  }\n  return ret;\n}\n\n/**\n * Mix properties into target object.\n */\nfunction extend(to, _from) {\n  for (const key in _from) {\n    to[key] = _from[key];\n  }\n  return to;\n}\n\n/**\n * Merge an Array of Objects into a single Object.\n */\nfunction toObject$1(arr) {\n  const res = {};\n  for (let i = 0; i < arr.length; i++) {\n    if (arr[i]) {\n      extend(res, arr[i]);\n    }\n  }\n  return res;\n}\n\n/* eslint-disable no-unused-vars */\n\n/**\n * Perform no operation.\n * Stubbing args to make Flow happy without leaving useless transpiled code\n * with ...rest (https://flow.org/blog/2017/05/07/Strict-Function-Call-Arity/).\n */\nfunction noop(a, b, c) {}\n\n/**\n * Always return false.\n */\nconst no = (a, b, c) => false;\n\n/* eslint-enable no-unused-vars */\n\n/**\n * Return the same value.\n */\nconst identity = _ => _;\n\n/**\n * Generate a string containing static keys from compiler modules.\n */\nfunction genStaticKeys$1(modules) {\n  return modules.reduce((keys, m) => {\n    return keys.concat(m.staticKeys || []);\n  }, []).join(',');\n}\n\n/**\n * Check if two values are loosely equal - that is,\n * if they are plain objects, do they have the same shape?\n */\nfunction looseEqual(a, b) {\n  if (a === b) return true;\n  const isObjectA = isObject(a);\n  const isObjectB = isObject(b);\n  if (isObjectA && isObjectB) {\n    try {\n      const isArrayA = Array.isArray(a);\n      const isArrayB = Array.isArray(b);\n      if (isArrayA && isArrayB) {\n        return a.length === b.length && a.every((e, i) => {\n          return looseEqual(e, b[i]);\n        });\n      } else if (a instanceof Date && b instanceof Date) {\n        return a.getTime() === b.getTime();\n      } else if (!isArrayA && !isArrayB) {\n        const keysA = Object.keys(a);\n        const keysB = Object.keys(b);\n        return keysA.length === keysB.length && keysA.every(key => {\n          return looseEqual(a[key], b[key]);\n        });\n      } else {\n        /* istanbul ignore next */\n        return false;\n      }\n    } catch (e) {\n      /* istanbul ignore next */\n      return false;\n    }\n  } else if (!isObjectA && !isObjectB) {\n    return String(a) === String(b);\n  } else {\n    return false;\n  }\n}\n\n/**\n * Return the first index at which a loosely equal value can be\n * found in the array (if value is a plain object, the array must\n * contain an object of the same shape), or -1 if it is not present.\n */\nfunction looseIndexOf(arr, val) {\n  for (let i = 0; i < arr.length; i++) {\n    if (looseEqual(arr[i], val)) return i;\n  }\n  return -1;\n}\n\n/**\n * Ensure a function is called only once.\n */\nfunction once(fn) {\n  let called = false;\n  return function () {\n    if (!called) {\n      called = true;\n      fn.apply(this, arguments);\n    }\n  };\n}\n\nconst SSR_ATTR = 'data-server-rendered';\nconst ASSET_TYPES = ['component', 'directive', 'filter'];\nconst LIFECYCLE_HOOKS = ['beforeCreate', 'created', 'beforeMount', 'mounted', 'beforeUpdate', 'updated', 'beforeDestroy', 'destroyed', 'activated', 'deactivated', 'errorCaptured', 'serverPrefetch'];\n\n/*  */\nvar config = {\n  /**\n   * Option merge strategies (used in core/util/options)\n   */\n  // $flow-disable-line\n  optionMergeStrategies: Object.create(null),\n  /**\n   * Whether to suppress warnings.\n   */\n  silent: false,\n  /**\n   * Show production mode tip message on boot?\n   */\n  productionTip: process.env.NODE_ENV !== 'production',\n  /**\n   * Whether to enable devtools\n   */\n  devtools: process.env.NODE_ENV !== 'production',\n  /**\n   * Whether to record perf\n   */\n  performance: false,\n  /**\n   * Error handler for watcher errors\n   */\n  errorHandler: null,\n  /**\n   * Warn handler for watcher warns\n   */\n  warnHandler: null,\n  /**\n   * Ignore certain custom elements\n   */\n  ignoredElements: [],\n  /**\n   * Custom user key aliases for v-on\n   */\n  // $flow-disable-line\n  keyCodes: Object.create(null),\n  /**\n   * Check if a tag is reserved so that it cannot be registered as a\n   * component. This is platform-dependent and may be overwritten.\n   */\n  isReservedTag: no,\n  /**\n   * Check if an attribute is reserved so that it cannot be used as a component\n   * prop. This is platform-dependent and may be overwritten.\n   */\n  isReservedAttr: no,\n  /**\n   * Check if a tag is an unknown element.\n   * Platform-dependent.\n   */\n  isUnknownElement: no,\n  /**\n   * Get the namespace of an element\n   */\n  getTagNamespace: noop,\n  /**\n   * Parse the real tag name for the specific platform.\n   */\n  parsePlatformTagName: identity,\n  /**\n   * Check if an attribute must be bound using property, e.g. value\n   * Platform-dependent.\n   */\n  mustUseProp: no,\n  /**\n   * Perform updates asynchronously. Intended to be used by Vue Test Utils\n   * This will significantly reduce performance if set to false.\n   */\n  async: true,\n  /**\n   * Exposed for legacy reasons\n   */\n  _lifecycleHooks: LIFECYCLE_HOOKS\n};\n\n/*  */\n\n/**\n * unicode letters used for parsing html tags, component names and property paths.\n * using https://www.w3.org/TR/html53/semantics-scripting.html#potentialcustomelementname\n * skipping \\u10000-\\uEFFFF due to it freezing up PhantomJS\n */\nconst unicodeRegExp = /a-zA-Z\\u00B7\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u203F-\\u2040\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD/;\n\n/**\n * Check if a string starts with $ or _\n */\nfunction isReserved(str) {\n  const c = (str + '').charCodeAt(0);\n  return c === 0x24 || c === 0x5F;\n}\n\n/**\n * Define a property.\n */\nfunction def(obj, key, val, enumerable) {\n  Object.defineProperty(obj, key, {\n    value: val,\n    enumerable: !!enumerable,\n    writable: true,\n    configurable: true\n  });\n}\n\n/**\n * Parse simple path.\n */\nconst bailRE = new RegExp(`[^${unicodeRegExp.source}.$_\\\\d]`);\nfunction parsePath(path) {\n  if (bailRE.test(path)) {\n    return;\n  }\n  const segments = path.split('.');\n  return function (obj) {\n    for (let i = 0; i < segments.length; i++) {\n      if (!obj) return;\n      obj = obj[segments[i]];\n    }\n    return obj;\n  };\n}\n\n/*  */\n\n// can we use __proto__?\nconst hasProto = ('__proto__' in {});\n\n// Browser environment sniffing\nconst inBrowser = typeof window !== 'undefined';\nconst inWeex = typeof WXEnvironment !== 'undefined' && !!WXEnvironment.platform;\nconst weexPlatform = inWeex && WXEnvironment.platform.toLowerCase();\nconst UA = inBrowser && window.navigator.userAgent.toLowerCase();\nconst isIE = UA && /msie|trident/.test(UA);\nUA && UA.indexOf('msie 9.0') > 0;\nconst isEdge = UA && UA.indexOf('edge/') > 0;\nUA && UA.indexOf('android') > 0 || weexPlatform === 'android';\nconst isIOS = UA && /iphone|ipad|ipod|ios/.test(UA) || weexPlatform === 'ios';\nUA && /chrome\\/\\d+/.test(UA) && !isEdge;\nUA && /phantomjs/.test(UA);\nUA && UA.match(/firefox\\/(\\d+)/);\n\n// Firefox has a \"watch\" function on Object.prototype...\nconst nativeWatch = {}.watch;\nlet supportsPassive = false;\nif (inBrowser) {\n  try {\n    const opts = {};\n    Object.defineProperty(opts, 'passive', {\n      get() {\n        /* istanbul ignore next */\n        supportsPassive = true;\n      }\n    }); // https://github.com/facebook/flow/issues/285\n    window.addEventListener('test-passive', null, opts);\n  } catch (e) {}\n}\n\n// this needs to be lazy-evaled because vue may be required before\n// vue-server-renderer can set VUE_ENV\nlet _isServer = false;\nconst isServerRendering = () => {\n  return _isServer;\n};\n\n// detect devtools\nconst devtools = global.__VUE_DEVTOOLS_GLOBAL_HOOK__;\n\n/* istanbul ignore next */\nfunction isNative(Ctor) {\n  return typeof Ctor === 'function' && /native code/.test(Ctor.toString());\n}\nconst hasSymbol = typeof Symbol !== 'undefined' && isNative(Symbol) && typeof Reflect !== 'undefined' && isNative(Reflect.ownKeys);\nlet _Set;\n/* istanbul ignore if */ // $flow-disable-line\nif (typeof Set !== 'undefined' && isNative(Set)) {\n  // use native Set when available.\n  _Set = Set;\n} else {\n  // a non-standard Set polyfill that only works with primitive keys.\n  _Set = class Set {\n    constructor() {\n      this.set = Object.create(null);\n    }\n    has(key) {\n      return this.set[key] === true;\n    }\n    add(key) {\n      this.set[key] = true;\n    }\n    clear() {\n      this.set = Object.create(null);\n    }\n  };\n}\n\n/*  */\nlet warn$3 = noop;\nlet tip = noop;\nlet generateComponentTrace = noop; // work around flow check\nlet formatComponentName = noop;\nif (process.env.NODE_ENV !== 'production') {\n  const hasConsole = typeof console !== 'undefined';\n  const classifyRE = /(?:^|[-_])(\\w)/g;\n  const classify = str => str.replace(classifyRE, c => c.toUpperCase()).replace(/[-_]/g, '');\n  warn$3 = (msg, vm) => {\n    const trace = vm ? generateComponentTrace(vm) : '';\n    if (config.warnHandler) {\n      config.warnHandler.call(null, msg, vm, trace);\n    } else if (hasConsole && !config.silent) {\n      console.error(`[Vue warn]: ${msg}${trace}`);\n    }\n  };\n  tip = (msg, vm) => {\n    if (hasConsole && !config.silent) {\n      console.warn(`[Vue tip]: ${msg}` + (vm ? generateComponentTrace(vm) : ''));\n    }\n  };\n  formatComponentName = (vm, includeFile) => {\n    if (vm.$root === vm) {\n      return '<Root>';\n    }\n    const options = typeof vm === 'function' && vm.cid != null ? vm.options : vm._isVue ? vm.$options || vm.constructor.options : vm;\n    let name = options.name || options._componentTag;\n    const file = options.__file;\n    if (!name && file) {\n      const match = file.match(/([^/\\\\]+)\\.vue$/);\n      name = match && match[1];\n    }\n    return (name ? `<${classify(name)}>` : `<Anonymous>`) + (file && includeFile !== false ? ` at ${file}` : '');\n  };\n  const repeat = (str, n) => {\n    let res = '';\n    while (n) {\n      if (n % 2 === 1) res += str;\n      if (n > 1) str += str;\n      n >>= 1;\n    }\n    return res;\n  };\n  generateComponentTrace = vm => {\n    if (vm._isVue && vm.$parent) {\n      const tree = [];\n      let currentRecursiveSequence = 0;\n      while (vm) {\n        if (tree.length > 0) {\n          const last = tree[tree.length - 1];\n          if (last.constructor === vm.constructor) {\n            currentRecursiveSequence++;\n            vm = vm.$parent;\n            continue;\n          } else if (currentRecursiveSequence > 0) {\n            tree[tree.length - 1] = [last, currentRecursiveSequence];\n            currentRecursiveSequence = 0;\n          }\n        }\n        tree.push(vm);\n        vm = vm.$parent;\n      }\n      return '\\n\\nfound in\\n\\n' + tree.map((vm, i) => `${i === 0 ? '---> ' : repeat(' ', 5 + i * 2)}${Array.isArray(vm) ? `${formatComponentName(vm[0])}... (${vm[1]} recursive calls)` : formatComponentName(vm)}`).join('\\n');\n    } else {\n      return `\\n\\n(found in ${formatComponentName(vm)})`;\n    }\n  };\n}\n\n/*  */\nlet uid$2 = 0;\n\n/**\n * A dep is an observable that can have multiple\n * directives subscribing to it.\n */\nclass Dep {\n  constructor() {\n    this.id = uid$2++;\n    this.subs = [];\n  }\n  addSub(sub) {\n    this.subs.push(sub);\n  }\n  removeSub(sub) {\n    remove$2(this.subs, sub);\n  }\n  depend() {\n    if (Dep.target) {\n      Dep.target.addDep(this);\n    }\n  }\n  notify() {\n    // stabilize the subscriber list first\n    const subs = this.subs.slice();\n    if (process.env.NODE_ENV !== 'production' && !config.async) {\n      // subs aren't sorted in scheduler if not running async\n      // we need to sort them now to make sure they fire in correct\n      // order\n      subs.sort((a, b) => a.id - b.id);\n    }\n    for (let i = 0, l = subs.length; i < l; i++) {\n      subs[i].update();\n    }\n  }\n}\n\n// The current target watcher being evaluated.\n// This is globally unique because only one watcher\n// can be evaluated at a time.\nDep.target = null;\nconst targetStack = [];\nfunction pushTarget(target) {\n  targetStack.push(target);\n  Dep.target = target;\n}\nfunction popTarget() {\n  targetStack.pop();\n  Dep.target = targetStack[targetStack.length - 1];\n}\n\n/*  */\n\nclass VNode {\n  // rendered in this component's scope\n\n  // component instance\n  // component placeholder node\n\n  // strictly internal\n  // contains raw HTML? (server only)\n  // hoisted static node\n  // necessary for enter transition check\n  // empty comment placeholder?\n  // is a cloned node?\n  // is a v-once node?\n  // async component factory function\n\n  // real context vm for functional nodes\n  // for SSR caching\n  // used to store functional render context for devtools\n  // functional scope id support\n\n  constructor(tag, data, children, text, elm, context, componentOptions, asyncFactory) {\n    this.tag = tag;\n    this.data = data;\n    this.children = children;\n    this.text = text;\n    this.elm = elm;\n    this.ns = undefined;\n    this.context = context;\n    this.fnContext = undefined;\n    this.fnOptions = undefined;\n    this.fnScopeId = undefined;\n    this.key = data && data.key;\n    this.componentOptions = componentOptions;\n    this.componentInstance = undefined;\n    this.parent = undefined;\n    this.raw = false;\n    this.isStatic = false;\n    this.isRootInsert = true;\n    this.isComment = false;\n    this.isCloned = false;\n    this.isOnce = false;\n    this.asyncFactory = asyncFactory;\n    this.asyncMeta = undefined;\n    this.isAsyncPlaceholder = false;\n  }\n\n  // DEPRECATED: alias for componentInstance for backwards compat.\n  /* istanbul ignore next */\n  get child() {\n    return this.componentInstance;\n  }\n}\nconst createEmptyVNode = (text = '') => {\n  const node = new VNode();\n  node.text = text;\n  node.isComment = true;\n  return node;\n};\nfunction createTextVNode(val) {\n  return new VNode(undefined, undefined, undefined, String(val));\n}\n\n// optimized shallow clone\n// used for static nodes and slot nodes because they may be reused across\n// multiple renders, cloning them avoids errors when DOM manipulations rely\n// on their elm reference.\nfunction cloneVNode(vnode) {\n  const cloned = new VNode(vnode.tag, vnode.data,\n  // #7975\n  // clone children array to avoid mutating original in case of cloning\n  // a child.\n  vnode.children && vnode.children.slice(), vnode.text, vnode.elm, vnode.context, vnode.componentOptions, vnode.asyncFactory);\n  cloned.ns = vnode.ns;\n  cloned.isStatic = vnode.isStatic;\n  cloned.key = vnode.key;\n  cloned.isComment = vnode.isComment;\n  cloned.fnContext = vnode.fnContext;\n  cloned.fnOptions = vnode.fnOptions;\n  cloned.fnScopeId = vnode.fnScopeId;\n  cloned.asyncMeta = vnode.asyncMeta;\n  cloned.isCloned = true;\n  return cloned;\n}\n\n/*\n * not type checking this file because flow doesn't play well with\n * dynamically accessing methods on Array prototype\n */\nconst arrayProto = Array.prototype;\nconst arrayMethods = Object.create(arrayProto);\nconst methodsToPatch = ['push', 'pop', 'shift', 'unshift', 'splice', 'sort', 'reverse'];\n\n/**\n * Intercept mutating methods and emit events\n */\nmethodsToPatch.forEach(function (method) {\n  // cache original method\n  const original = arrayProto[method];\n  def(arrayMethods, method, function mutator(...args) {\n    const result = original.apply(this, args);\n    const ob = this.__ob__;\n    let inserted;\n    switch (method) {\n      case 'push':\n      case 'unshift':\n        inserted = args;\n        break;\n      case 'splice':\n        inserted = args.slice(2);\n        break;\n    }\n    if (inserted) ob.observeArray(inserted);\n    // notify change\n    ob.dep.notify();\n    return result;\n  });\n});\n\n/*  */\nconst arrayKeys = Object.getOwnPropertyNames(arrayMethods);\n\n/**\n * In some cases we may want to disable observation inside a component's\n * update computation.\n */\nlet shouldObserve = true;\nfunction toggleObserving(value) {\n  shouldObserve = value;\n}\n\n/**\n * Observer class that is attached to each observed\n * object. Once attached, the observer converts the target\n * object's property keys into getter/setters that\n * collect dependencies and dispatch updates.\n */\nclass Observer {\n  // number of vms that have this object as root $data\n\n  constructor(value) {\n    this.value = value;\n    this.dep = new Dep();\n    this.vmCount = 0;\n    def(value, '__ob__', this);\n    if (Array.isArray(value)) {\n      if (hasProto) {\n        protoAugment(value, arrayMethods);\n      } else {\n        copyAugment(value, arrayMethods, arrayKeys);\n      }\n      this.observeArray(value);\n    } else {\n      this.walk(value);\n    }\n  }\n\n  /**\n   * Walk through all properties and convert them into\n   * getter/setters. This method should only be called when\n   * value type is Object.\n   */\n  walk(obj) {\n    const keys = Object.keys(obj);\n    for (let i = 0; i < keys.length; i++) {\n      defineReactive(obj, keys[i]);\n    }\n  }\n\n  /**\n   * Observe a list of Array items.\n   */\n  observeArray(items) {\n    for (let i = 0, l = items.length; i < l; i++) {\n      observe(items[i]);\n    }\n  }\n}\n\n// helpers\n\n/**\n * Augment a target Object or Array by intercepting\n * the prototype chain using __proto__\n */\nfunction protoAugment(target, src) {\n  /* eslint-disable no-proto */\n  target.__proto__ = src;\n  /* eslint-enable no-proto */\n}\n\n/**\n * Augment a target Object or Array by defining\n * hidden properties.\n */\n/* istanbul ignore next */\nfunction copyAugment(target, src, keys) {\n  for (let i = 0, l = keys.length; i < l; i++) {\n    const key = keys[i];\n    def(target, key, src[key]);\n  }\n}\n\n/**\n * Attempt to create an observer instance for a value,\n * returns the new observer if successfully observed,\n * or the existing observer if the value already has one.\n */\nfunction observe(value, asRootData) {\n  if (!isObject(value) || value instanceof VNode) {\n    return;\n  }\n  let ob;\n  if (hasOwn(value, '__ob__') && value.__ob__ instanceof Observer) {\n    ob = value.__ob__;\n  } else if (shouldObserve && !isServerRendering() && (Array.isArray(value) || isPlainObject(value)) && Object.isExtensible(value) && !value._isVue) {\n    ob = new Observer(value);\n  }\n  if (asRootData && ob) {\n    ob.vmCount++;\n  }\n  return ob;\n}\n\n/**\n * Define a reactive property on an Object.\n */\nfunction defineReactive(obj, key, val, customSetter, shallow) {\n  const dep = new Dep();\n  const property = Object.getOwnPropertyDescriptor(obj, key);\n  if (property && property.configurable === false) {\n    return;\n  }\n\n  // cater for pre-defined getter/setters\n  const getter = property && property.get;\n  const setter = property && property.set;\n  if ((!getter || setter) && arguments.length === 2) {\n    val = obj[key];\n  }\n  let childOb = !shallow && observe(val);\n  Object.defineProperty(obj, key, {\n    enumerable: true,\n    configurable: true,\n    get: function reactiveGetter() {\n      const value = getter ? getter.call(obj) : val;\n      if (Dep.target) {\n        dep.depend();\n        if (childOb) {\n          childOb.dep.depend();\n          if (Array.isArray(value)) {\n            dependArray(value);\n          }\n        }\n      }\n      return value;\n    },\n    set: function reactiveSetter(newVal) {\n      const value = getter ? getter.call(obj) : val;\n      /* eslint-disable no-self-compare */\n      if (newVal === value || newVal !== newVal && value !== value) {\n        return;\n      }\n      /* eslint-enable no-self-compare */\n      if (process.env.NODE_ENV !== 'production' && customSetter) {\n        customSetter();\n      }\n      // #7981: for accessor properties without setter\n      if (getter && !setter) return;\n      if (setter) {\n        setter.call(obj, newVal);\n      } else {\n        val = newVal;\n      }\n      childOb = !shallow && observe(newVal);\n      dep.notify();\n    }\n  });\n}\n\n/**\n * Set a property on an object. Adds the new property and\n * triggers change notification if the property doesn't\n * already exist.\n */\nfunction set(target, key, val) {\n  if (process.env.NODE_ENV !== 'production' && (isUndef(target) || isPrimitive(target))) {\n    warn$3(`Cannot set reactive property on undefined, null, or primitive value: ${target}`);\n  }\n  if (Array.isArray(target) && isValidArrayIndex(key)) {\n    target.length = Math.max(target.length, key);\n    target.splice(key, 1, val);\n    return val;\n  }\n  if (key in target && !(key in Object.prototype)) {\n    target[key] = val;\n    return val;\n  }\n  const ob = target.__ob__;\n  if (target._isVue || ob && ob.vmCount) {\n    process.env.NODE_ENV !== 'production' && warn$3('Avoid adding reactive properties to a Vue instance or its root $data ' + 'at runtime - declare it upfront in the data option.');\n    return val;\n  }\n  if (!ob) {\n    target[key] = val;\n    return val;\n  }\n  defineReactive(ob.value, key, val);\n  ob.dep.notify();\n  return val;\n}\n\n/**\n * Delete a property and trigger change if necessary.\n */\nfunction del(target, key) {\n  if (process.env.NODE_ENV !== 'production' && (isUndef(target) || isPrimitive(target))) {\n    warn$3(`Cannot delete reactive property on undefined, null, or primitive value: ${target}`);\n  }\n  if (Array.isArray(target) && isValidArrayIndex(key)) {\n    target.splice(key, 1);\n    return;\n  }\n  const ob = target.__ob__;\n  if (target._isVue || ob && ob.vmCount) {\n    process.env.NODE_ENV !== 'production' && warn$3('Avoid deleting properties on a Vue instance or its root $data ' + '- just set it to null.');\n    return;\n  }\n  if (!hasOwn(target, key)) {\n    return;\n  }\n  delete target[key];\n  if (!ob) {\n    return;\n  }\n  ob.dep.notify();\n}\n\n/**\n * Collect dependencies on array elements when the array is touched, since\n * we cannot intercept array element access like property getters.\n */\nfunction dependArray(value) {\n  for (let e, i = 0, l = value.length; i < l; i++) {\n    e = value[i];\n    e && e.__ob__ && e.__ob__.dep.depend();\n    if (Array.isArray(e)) {\n      dependArray(e);\n    }\n  }\n}\n\n/*  */\n\n/**\n * Option overwriting strategies are functions that handle\n * how to merge a parent option value and a child option\n * value into the final value.\n */\nconst strats = config.optionMergeStrategies;\n\n/**\n * Options with restrictions\n */\nif (process.env.NODE_ENV !== 'production') {\n  strats.el = strats.propsData = function (parent, child, vm, key) {\n    if (!vm) {\n      warn$3(`option \"${key}\" can only be used during instance ` + 'creation with the `new` keyword.');\n    }\n    return defaultStrat(parent, child);\n  };\n}\n\n/**\n * Helper that recursively merges two data objects together.\n */\nfunction mergeData(to, from) {\n  if (!from) return to;\n  let key, toVal, fromVal;\n  const keys = hasSymbol ? Reflect.ownKeys(from) : Object.keys(from);\n  for (let i = 0; i < keys.length; i++) {\n    key = keys[i];\n    // in case the object is already observed...\n    if (key === '__ob__') continue;\n    toVal = to[key];\n    fromVal = from[key];\n    if (!hasOwn(to, key)) {\n      set(to, key, fromVal);\n    } else if (toVal !== fromVal && isPlainObject(toVal) && isPlainObject(fromVal)) {\n      mergeData(toVal, fromVal);\n    }\n  }\n  return to;\n}\n\n/**\n * Data\n */\nfunction mergeDataOrFn(parentVal, childVal, vm) {\n  if (!vm) {\n    // in a Vue.extend merge, both should be functions\n    if (!childVal) {\n      return parentVal;\n    }\n    if (!parentVal) {\n      return childVal;\n    }\n    // when parentVal & childVal are both present,\n    // we need to return a function that returns the\n    // merged result of both functions... no need to\n    // check if parentVal is a function here because\n    // it has to be a function to pass previous merges.\n    return function mergedDataFn() {\n      return mergeData(typeof childVal === 'function' ? childVal.call(this, this) : childVal, typeof parentVal === 'function' ? parentVal.call(this, this) : parentVal);\n    };\n  } else {\n    return function mergedInstanceDataFn() {\n      // instance merge\n      const instanceData = typeof childVal === 'function' ? childVal.call(vm, vm) : childVal;\n      const defaultData = typeof parentVal === 'function' ? parentVal.call(vm, vm) : parentVal;\n      if (instanceData) {\n        return mergeData(instanceData, defaultData);\n      } else {\n        return defaultData;\n      }\n    };\n  }\n}\nstrats.data = function (parentVal, childVal, vm) {\n  if (!vm) {\n    if (childVal && typeof childVal !== 'function') {\n      process.env.NODE_ENV !== 'production' && warn$3('The \"data\" option should be a function ' + 'that returns a per-instance value in component ' + 'definitions.', vm);\n      return parentVal;\n    }\n    return mergeDataOrFn(parentVal, childVal);\n  }\n  return mergeDataOrFn(parentVal, childVal, vm);\n};\n\n/**\n * Hooks and props are merged as arrays.\n */\nfunction mergeHook$1(parentVal, childVal) {\n  const res = childVal ? parentVal ? parentVal.concat(childVal) : Array.isArray(childVal) ? childVal : [childVal] : parentVal;\n  return res ? dedupeHooks(res) : res;\n}\nfunction dedupeHooks(hooks) {\n  const res = [];\n  for (let i = 0; i < hooks.length; i++) {\n    if (res.indexOf(hooks[i]) === -1) {\n      res.push(hooks[i]);\n    }\n  }\n  return res;\n}\nLIFECYCLE_HOOKS.forEach(hook => {\n  strats[hook] = mergeHook$1;\n});\n\n/**\n * Assets\n *\n * When a vm is present (instance creation), we need to do\n * a three-way merge between constructor options, instance\n * options and parent options.\n */\nfunction mergeAssets(parentVal, childVal, vm, key) {\n  const res = Object.create(parentVal || null);\n  if (childVal) {\n    process.env.NODE_ENV !== 'production' && assertObjectType(key, childVal, vm);\n    return extend(res, childVal);\n  } else {\n    return res;\n  }\n}\nASSET_TYPES.forEach(function (type) {\n  strats[type + 's'] = mergeAssets;\n});\n\n/**\n * Watchers.\n *\n * Watchers hashes should not overwrite one\n * another, so we merge them as arrays.\n */\nstrats.watch = function (parentVal, childVal, vm, key) {\n  // work around Firefox's Object.prototype.watch...\n  if (parentVal === nativeWatch) parentVal = undefined;\n  if (childVal === nativeWatch) childVal = undefined;\n  /* istanbul ignore if */\n  if (!childVal) return Object.create(parentVal || null);\n  if (process.env.NODE_ENV !== 'production') {\n    assertObjectType(key, childVal, vm);\n  }\n  if (!parentVal) return childVal;\n  const ret = {};\n  extend(ret, parentVal);\n  for (const key in childVal) {\n    let parent = ret[key];\n    const child = childVal[key];\n    if (parent && !Array.isArray(parent)) {\n      parent = [parent];\n    }\n    ret[key] = parent ? parent.concat(child) : Array.isArray(child) ? child : [child];\n  }\n  return ret;\n};\n\n/**\n * Other object hashes.\n */\nstrats.props = strats.methods = strats.inject = strats.computed = function (parentVal, childVal, vm, key) {\n  if (childVal && process.env.NODE_ENV !== 'production') {\n    assertObjectType(key, childVal, vm);\n  }\n  if (!parentVal) return childVal;\n  const ret = Object.create(null);\n  extend(ret, parentVal);\n  if (childVal) extend(ret, childVal);\n  return ret;\n};\nstrats.provide = mergeDataOrFn;\n\n/**\n * Default strategy.\n */\nconst defaultStrat = function (parentVal, childVal) {\n  return childVal === undefined ? parentVal : childVal;\n};\n\n/**\n * Validate component names\n */\nfunction checkComponents(options) {\n  for (const key in options.components) {\n    validateComponentName(key);\n  }\n}\nfunction validateComponentName(name) {\n  if (!new RegExp(`^[a-zA-Z][\\\\-\\\\.0-9_${unicodeRegExp.source}]*$`).test(name)) {\n    warn$3('Invalid component name: \"' + name + '\". Component names ' + 'should conform to valid custom element name in html5 specification.');\n  }\n  if (isBuiltInTag(name) || config.isReservedTag(name)) {\n    warn$3('Do not use built-in or reserved HTML elements as component ' + 'id: ' + name);\n  }\n}\n\n/**\n * Ensure all props option syntax are normalized into the\n * Object-based format.\n */\nfunction normalizeProps(options, vm) {\n  const props = options.props;\n  if (!props) return;\n  const res = {};\n  let i, val, name;\n  if (Array.isArray(props)) {\n    i = props.length;\n    while (i--) {\n      val = props[i];\n      if (typeof val === 'string') {\n        name = camelize(val);\n        res[name] = {\n          type: null\n        };\n      } else if (process.env.NODE_ENV !== 'production') {\n        warn$3('props must be strings when using array syntax.');\n      }\n    }\n  } else if (isPlainObject(props)) {\n    for (const key in props) {\n      val = props[key];\n      name = camelize(key);\n      res[name] = isPlainObject(val) ? val : {\n        type: val\n      };\n    }\n  } else if (process.env.NODE_ENV !== 'production') {\n    warn$3(`Invalid value for option \"props\": expected an Array or an Object, ` + `but got ${toRawType(props)}.`, vm);\n  }\n  options.props = res;\n}\n\n/**\n * Normalize all injections into Object-based format\n */\nfunction normalizeInject(options, vm) {\n  const inject = options.inject;\n  if (!inject) return;\n  const normalized = options.inject = {};\n  if (Array.isArray(inject)) {\n    for (let i = 0; i < inject.length; i++) {\n      normalized[inject[i]] = {\n        from: inject[i]\n      };\n    }\n  } else if (isPlainObject(inject)) {\n    for (const key in inject) {\n      const val = inject[key];\n      normalized[key] = isPlainObject(val) ? extend({\n        from: key\n      }, val) : {\n        from: val\n      };\n    }\n  } else if (process.env.NODE_ENV !== 'production') {\n    warn$3(`Invalid value for option \"inject\": expected an Array or an Object, ` + `but got ${toRawType(inject)}.`, vm);\n  }\n}\n\n/**\n * Normalize raw function directives into object format.\n */\nfunction normalizeDirectives$1(options) {\n  const dirs = options.directives;\n  if (dirs) {\n    for (const key in dirs) {\n      const def = dirs[key];\n      if (typeof def === 'function') {\n        dirs[key] = {\n          bind: def,\n          update: def\n        };\n      }\n    }\n  }\n}\nfunction assertObjectType(name, value, vm) {\n  if (!isPlainObject(value)) {\n    warn$3(`Invalid value for option \"${name}\": expected an Object, ` + `but got ${toRawType(value)}.`, vm);\n  }\n}\n\n/**\n * Merge two option objects into a new one.\n * Core utility used in both instantiation and inheritance.\n */\nfunction mergeOptions(parent, child, vm) {\n  if (process.env.NODE_ENV !== 'production') {\n    checkComponents(child);\n  }\n  if (typeof child === 'function') {\n    child = child.options;\n  }\n  normalizeProps(child, vm);\n  normalizeInject(child, vm);\n  normalizeDirectives$1(child);\n\n  // Apply extends and mixins on the child options,\n  // but only if it is a raw options object that isn't\n  // the result of another mergeOptions call.\n  // Only merged options has the _base property.\n  if (!child._base) {\n    if (child.extends) {\n      parent = mergeOptions(parent, child.extends, vm);\n    }\n    if (child.mixins) {\n      for (let i = 0, l = child.mixins.length; i < l; i++) {\n        parent = mergeOptions(parent, child.mixins[i], vm);\n      }\n    }\n  }\n  const options = {};\n  let key;\n  for (key in parent) {\n    mergeField(key);\n  }\n  for (key in child) {\n    if (!hasOwn(parent, key)) {\n      mergeField(key);\n    }\n  }\n  function mergeField(key) {\n    const strat = strats[key] || defaultStrat;\n    options[key] = strat(parent[key], child[key], vm, key);\n  }\n  return options;\n}\n\n/**\n * Resolve an asset.\n * This function is used because child instances need access\n * to assets defined in its ancestor chain.\n */\nfunction resolveAsset(options, type, id, warnMissing) {\n  /* istanbul ignore if */\n  if (typeof id !== 'string') {\n    return;\n  }\n  const assets = options[type];\n  // check local registration variations first\n  if (hasOwn(assets, id)) return assets[id];\n  const camelizedId = camelize(id);\n  if (hasOwn(assets, camelizedId)) return assets[camelizedId];\n  const PascalCaseId = capitalize(camelizedId);\n  if (hasOwn(assets, PascalCaseId)) return assets[PascalCaseId];\n  // fallback to prototype chain\n  const res = assets[id] || assets[camelizedId] || assets[PascalCaseId];\n  if (process.env.NODE_ENV !== 'production' && warnMissing && !res) {\n    warn$3('Failed to resolve ' + type.slice(0, -1) + ': ' + id, options);\n  }\n  return res;\n}\n\n/*  */\nfunction validateProp(key, propOptions, propsData, vm) {\n  const prop = propOptions[key];\n  const absent = !hasOwn(propsData, key);\n  let value = propsData[key];\n  // boolean casting\n  const booleanIndex = getTypeIndex(Boolean, prop.type);\n  if (booleanIndex > -1) {\n    if (absent && !hasOwn(prop, 'default')) {\n      value = false;\n    } else if (value === '' || value === hyphenate(key)) {\n      // only cast empty string / same name to boolean if\n      // boolean has higher priority\n      const stringIndex = getTypeIndex(String, prop.type);\n      if (stringIndex < 0 || booleanIndex < stringIndex) {\n        value = true;\n      }\n    }\n  }\n  // check default value\n  if (value === undefined) {\n    value = getPropDefaultValue(vm, prop, key);\n    // since the default value is a fresh copy,\n    // make sure to observe it.\n    const prevShouldObserve = shouldObserve;\n    toggleObserving(true);\n    observe(value);\n    toggleObserving(prevShouldObserve);\n  }\n  if (process.env.NODE_ENV !== 'production' &&\n  // skip validation for weex recycle-list child component props\n  !(false  )) {\n    assertProp(prop, key, value, vm, absent);\n  }\n  return value;\n}\n\n/**\n * Get the default value of a prop.\n */\nfunction getPropDefaultValue(vm, prop, key) {\n  // no default, return undefined\n  if (!hasOwn(prop, 'default')) {\n    return undefined;\n  }\n  const def = prop.default;\n  // warn against non-factory defaults for Object & Array\n  if (process.env.NODE_ENV !== 'production' && isObject(def)) {\n    warn$3('Invalid default value for prop \"' + key + '\": ' + 'Props with type Object/Array must use a factory function ' + 'to return the default value.', vm);\n  }\n  // the raw prop value was also undefined from previous render,\n  // return previous default value to avoid unnecessary watcher trigger\n  if (vm && vm.$options.propsData && vm.$options.propsData[key] === undefined && vm._props[key] !== undefined) {\n    return vm._props[key];\n  }\n  // call factory function for non-Function types\n  // a value is Function if its prototype is function even across different execution context\n  return typeof def === 'function' && getType(prop.type) !== 'Function' ? def.call(vm) : def;\n}\n\n/**\n * Assert whether a prop is valid.\n */\nfunction assertProp(prop, name, value, vm, absent) {\n  if (prop.required && absent) {\n    warn$3('Missing required prop: \"' + name + '\"', vm);\n    return;\n  }\n  if (value == null && !prop.required) {\n    return;\n  }\n  let type = prop.type;\n  let valid = !type || type === true;\n  const expectedTypes = [];\n  if (type) {\n    if (!Array.isArray(type)) {\n      type = [type];\n    }\n    for (let i = 0; i < type.length && !valid; i++) {\n      const assertedType = assertType(value, type[i], vm);\n      expectedTypes.push(assertedType.expectedType || '');\n      valid = assertedType.valid;\n    }\n  }\n  const haveExpectedTypes = expectedTypes.some(t => t);\n  if (!valid && haveExpectedTypes) {\n    warn$3(getInvalidTypeMessage(name, value, expectedTypes), vm);\n    return;\n  }\n  const validator = prop.validator;\n  if (validator) {\n    if (!validator(value)) {\n      warn$3('Invalid prop: custom validator check failed for prop \"' + name + '\".', vm);\n    }\n  }\n}\nconst simpleCheckRE = /^(String|Number|Boolean|Function|Symbol|BigInt)$/;\nfunction assertType(value, type, vm) {\n  let valid;\n  const expectedType = getType(type);\n  if (simpleCheckRE.test(expectedType)) {\n    const t = typeof value;\n    valid = t === expectedType.toLowerCase();\n    // for primitive wrapper objects\n    if (!valid && t === 'object') {\n      valid = value instanceof type;\n    }\n  } else if (expectedType === 'Object') {\n    valid = isPlainObject(value);\n  } else if (expectedType === 'Array') {\n    valid = Array.isArray(value);\n  } else {\n    try {\n      valid = value instanceof type;\n    } catch (e) {\n      warn$3('Invalid prop type: \"' + String(type) + '\" is not a constructor', vm);\n      valid = false;\n    }\n  }\n  return {\n    valid,\n    expectedType\n  };\n}\nconst functionTypeCheckRE = /^\\s*function (\\w+)/;\n\n/**\n * Use function string name to check built-in types,\n * because a simple equality check will fail when running\n * across different vms / iframes.\n */\nfunction getType(fn) {\n  const match = fn && fn.toString().match(functionTypeCheckRE);\n  return match ? match[1] : '';\n}\nfunction isSameType(a, b) {\n  return getType(a) === getType(b);\n}\nfunction getTypeIndex(type, expectedTypes) {\n  if (!Array.isArray(expectedTypes)) {\n    return isSameType(expectedTypes, type) ? 0 : -1;\n  }\n  for (let i = 0, len = expectedTypes.length; i < len; i++) {\n    if (isSameType(expectedTypes[i], type)) {\n      return i;\n    }\n  }\n  return -1;\n}\nfunction getInvalidTypeMessage(name, value, expectedTypes) {\n  let message = `Invalid prop: type check failed for prop \"${name}\".` + ` Expected ${expectedTypes.map(capitalize).join(', ')}`;\n  const expectedType = expectedTypes[0];\n  const receivedType = toRawType(value);\n  // check if we need to specify expected value\n  if (expectedTypes.length === 1 && isExplicable(expectedType) && isExplicable(typeof value) && !isBoolean(expectedType, receivedType)) {\n    message += ` with value ${styleValue(value, expectedType)}`;\n  }\n  message += `, got ${receivedType} `;\n  // check if we need to specify received value\n  if (isExplicable(receivedType)) {\n    message += `with value ${styleValue(value, receivedType)}.`;\n  }\n  return message;\n}\nfunction styleValue(value, type) {\n  if (type === 'String') {\n    return `\"${value}\"`;\n  } else if (type === 'Number') {\n    return `${Number(value)}`;\n  } else {\n    return `${value}`;\n  }\n}\nconst EXPLICABLE_TYPES = ['string', 'number', 'boolean'];\nfunction isExplicable(value) {\n  return EXPLICABLE_TYPES.some(elem => value.toLowerCase() === elem);\n}\nfunction isBoolean(...args) {\n  return args.some(elem => elem.toLowerCase() === 'boolean');\n}\n\n/*  */\nfunction handleError(err, vm, info) {\n  // Deactivate deps tracking while processing error handler to avoid possible infinite rendering.\n  // See: https://github.com/vuejs/vuex/issues/1505\n  pushTarget();\n  try {\n    if (vm) {\n      let cur = vm;\n      while (cur = cur.$parent) {\n        const hooks = cur.$options.errorCaptured;\n        if (hooks) {\n          for (let i = 0; i < hooks.length; i++) {\n            try {\n              const capture = hooks[i].call(cur, err, vm, info) === false;\n              if (capture) return;\n            } catch (e) {\n              globalHandleError(e, cur, 'errorCaptured hook');\n            }\n          }\n        }\n      }\n    }\n    globalHandleError(err, vm, info);\n  } finally {\n    popTarget();\n  }\n}\nfunction invokeWithErrorHandling(handler, context, args, vm, info) {\n  let res;\n  try {\n    res = args ? handler.apply(context, args) : handler.call(context);\n    if (res && !res._isVue && isPromise(res) && !res._handled) {\n      res.catch(e => handleError(e, vm, info + ` (Promise/async)`));\n      // issue #9511\n      // avoid catch triggering multiple times when nested calls\n      res._handled = true;\n    }\n  } catch (e) {\n    handleError(e, vm, info);\n  }\n  return res;\n}\nfunction globalHandleError(err, vm, info) {\n  if (config.errorHandler) {\n    try {\n      return config.errorHandler.call(null, err, vm, info);\n    } catch (e) {\n      // if the user intentionally throws the original error in the handler,\n      // do not log it twice\n      if (e !== err) {\n        logError(e, null, 'config.errorHandler');\n      }\n    }\n  }\n  logError(err, vm, info);\n}\nfunction logError(err, vm, info) {\n  if (process.env.NODE_ENV !== 'production') {\n    warn$3(`Error in ${info}: \"${err.toString()}\"`, vm);\n  }\n  /* istanbul ignore else */\n  if ((inBrowser || inWeex) && typeof console !== 'undefined') {\n    console.error(err);\n  } else {\n    throw err;\n  }\n}\n\n/*  */\nconst callbacks = [];\nlet pending = false;\nfunction flushCallbacks() {\n  pending = false;\n  const copies = callbacks.slice(0);\n  callbacks.length = 0;\n  for (let i = 0; i < copies.length; i++) {\n    copies[i]();\n  }\n}\n\n// Here we have async deferring wrappers using microtasks.\n// In 2.5 we used (macro) tasks (in combination with microtasks).\n// However, it has subtle problems when state is changed right before repaint\n// (e.g. #6813, out-in transitions).\n// Also, using (macro) tasks in event handler would cause some weird behaviors\n// that cannot be circumvented (e.g. #7109, #7153, #7546, #7834, #8109).\n// So we now use microtasks everywhere, again.\n// A major drawback of this tradeoff is that there are some scenarios\n// where microtasks have too high a priority and fire in between supposedly\n// sequential events (e.g. #4521, #6690, which have workarounds)\n// or even between bubbling of the same event (#6566).\nlet timerFunc;\n\n// The nextTick behavior leverages the microtask queue, which can be accessed\n// via either native Promise.then or MutationObserver.\n// MutationObserver has wider support, however it is seriously bugged in\n// UIWebView in iOS >= 9.3.3 when triggered in touch event handlers. It\n// completely stops working after triggering a few times... so, if native\n// Promise is available, we will use it:\n/* istanbul ignore next, $flow-disable-line */\nif (typeof Promise !== 'undefined' && isNative(Promise)) {\n  const p = Promise.resolve();\n  timerFunc = () => {\n    p.then(flushCallbacks);\n    // In problematic UIWebViews, Promise.then doesn't completely break, but\n    // it can get stuck in a weird state where callbacks are pushed into the\n    // microtask queue but the queue isn't being flushed, until the browser\n    // needs to do some other work, e.g. handle a timer. Therefore we can\n    // \"force\" the microtask queue to be flushed by adding an empty timer.\n    if (isIOS) setTimeout(noop);\n  };\n} else if (!isIE && typeof MutationObserver !== 'undefined' && (isNative(MutationObserver) ||\n// PhantomJS and iOS 7.x\nMutationObserver.toString() === '[object MutationObserverConstructor]')) {\n  // Use MutationObserver where native Promise is not available,\n  // e.g. PhantomJS, iOS7, Android 4.4\n  // (#6466 MutationObserver is unreliable in IE11)\n  let counter = 1;\n  const observer = new MutationObserver(flushCallbacks);\n  const textNode = document.createTextNode(String(counter));\n  observer.observe(textNode, {\n    characterData: true\n  });\n  timerFunc = () => {\n    counter = (counter + 1) % 2;\n    textNode.data = String(counter);\n  };\n} else if (typeof setImmediate !== 'undefined' && isNative(setImmediate)) {\n  // Fallback to setImmediate.\n  // Technically it leverages the (macro) task queue,\n  // but it is still a better choice than setTimeout.\n  timerFunc = () => {\n    setImmediate(flushCallbacks);\n  };\n} else {\n  // Fallback to setTimeout.\n  timerFunc = () => {\n    setTimeout(flushCallbacks, 0);\n  };\n}\nfunction nextTick(cb, ctx) {\n  let _resolve;\n  callbacks.push(() => {\n    if (cb) {\n      try {\n        cb.call(ctx);\n      } catch (e) {\n        handleError(e, ctx, 'nextTick');\n      }\n    } else if (_resolve) {\n      _resolve(ctx);\n    }\n  });\n  if (!pending) {\n    pending = true;\n    timerFunc();\n  }\n  // $flow-disable-line\n  if (!cb && typeof Promise !== 'undefined') {\n    return new Promise(resolve => {\n      _resolve = resolve;\n    });\n  }\n}\n\n/* not type checking this file because flow doesn't play well with Proxy */\nlet initProxy;\nif (process.env.NODE_ENV !== 'production') {\n  const allowedGlobals = makeMap('Infinity,undefined,NaN,isFinite,isNaN,' + 'parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,' + 'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,' + 'require' // for Webpack/Browserify\n  );\n\n  const warnNonPresent = (target, key) => {\n    warn$3(`Property or method \"${key}\" is not defined on the instance but ` + 'referenced during render. Make sure that this property is reactive, ' + 'either in the data option, or for class-based components, by ' + 'initializing the property. ' + 'See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.', target);\n  };\n  const warnReservedPrefix = (target, key) => {\n    warn$3(`Property \"${key}\" must be accessed with \"$data.${key}\" because ` + 'properties starting with \"$\" or \"_\" are not proxied in the Vue instance to ' + 'prevent conflicts with Vue internals. ' + 'See: https://vuejs.org/v2/api/#data', target);\n  };\n  const hasProxy = typeof Proxy !== 'undefined' && isNative(Proxy);\n  if (hasProxy) {\n    const isBuiltInModifier = makeMap('stop,prevent,self,ctrl,shift,alt,meta,exact');\n    config.keyCodes = new Proxy(config.keyCodes, {\n      set(target, key, value) {\n        if (isBuiltInModifier(key)) {\n          warn$3(`Avoid overwriting built-in modifier in config.keyCodes: .${key}`);\n          return false;\n        } else {\n          target[key] = value;\n          return true;\n        }\n      }\n    });\n  }\n  const hasHandler = {\n    has(target, key) {\n      const has = (key in target);\n      const isAllowed = allowedGlobals(key) || typeof key === 'string' && key.charAt(0) === '_' && !(key in target.$data);\n      if (!has && !isAllowed) {\n        if (key in target.$data) warnReservedPrefix(target, key);else warnNonPresent(target, key);\n      }\n      return has || !isAllowed;\n    }\n  };\n  const getHandler = {\n    get(target, key) {\n      if (typeof key === 'string' && !(key in target)) {\n        if (key in target.$data) warnReservedPrefix(target, key);else warnNonPresent(target, key);\n      }\n      return target[key];\n    }\n  };\n  initProxy = function initProxy(vm) {\n    if (hasProxy) {\n      // determine which proxy handler to use\n      const options = vm.$options;\n      const handlers = options.render && options.render._withStripped ? getHandler : hasHandler;\n      vm._renderProxy = new Proxy(vm, handlers);\n    } else {\n      vm._renderProxy = vm;\n    }\n  };\n}\n\n/*  */\nconst seenObjects = new _Set();\n\n/**\n * Recursively traverse an object to evoke all converted\n * getters, so that every nested property inside the object\n * is collected as a \"deep\" dependency.\n */\nfunction traverse(val) {\n  _traverse(val, seenObjects);\n  seenObjects.clear();\n}\nfunction _traverse(val, seen) {\n  let i, keys;\n  const isA = Array.isArray(val);\n  if (!isA && !isObject(val) || Object.isFrozen(val) || val instanceof VNode) {\n    return;\n  }\n  if (val.__ob__) {\n    const depId = val.__ob__.dep.id;\n    if (seen.has(depId)) {\n      return;\n    }\n    seen.add(depId);\n  }\n  if (isA) {\n    i = val.length;\n    while (i--) _traverse(val[i], seen);\n  } else {\n    keys = Object.keys(val);\n    i = keys.length;\n    while (i--) _traverse(val[keys[i]], seen);\n  }\n}\n\nlet mark;\nlet measure;\nif (process.env.NODE_ENV !== 'production') {\n  const perf = inBrowser && window.performance;\n  /* istanbul ignore if */\n  if (perf && perf.mark && perf.measure && perf.clearMarks && perf.clearMeasures) {\n    mark = tag => perf.mark(tag);\n    measure = (name, startTag, endTag) => {\n      perf.measure(name, startTag, endTag);\n      perf.clearMarks(startTag);\n      perf.clearMarks(endTag);\n      // perf.clearMeasures(name)\n    };\n  }\n}\n\n/*  */\nconst normalizeEvent = cached(name => {\n  const passive = name.charAt(0) === '&';\n  name = passive ? name.slice(1) : name;\n  const once = name.charAt(0) === '~'; // Prefixed last, checked first\n  name = once ? name.slice(1) : name;\n  const capture = name.charAt(0) === '!';\n  name = capture ? name.slice(1) : name;\n  return {\n    name,\n    once,\n    capture,\n    passive\n  };\n});\nfunction createFnInvoker(fns, vm) {\n  function invoker() {\n    const fns = invoker.fns;\n    if (Array.isArray(fns)) {\n      const cloned = fns.slice();\n      for (let i = 0; i < cloned.length; i++) {\n        invokeWithErrorHandling(cloned[i], null, arguments, vm, `v-on handler`);\n      }\n    } else {\n      // return handler return value for single handlers\n      return invokeWithErrorHandling(fns, null, arguments, vm, `v-on handler`);\n    }\n  }\n  invoker.fns = fns;\n  return invoker;\n}\nfunction updateListeners(on, oldOn, add, remove, createOnceHandler, vm) {\n  let name, cur, old, event;\n  for (name in on) {\n    cur = on[name];\n    old = oldOn[name];\n    event = normalizeEvent(name);\n    if (isUndef(cur)) {\n      process.env.NODE_ENV !== 'production' && warn$3(`Invalid handler for event \"${event.name}\": got ` + String(cur), vm);\n    } else if (isUndef(old)) {\n      if (isUndef(cur.fns)) {\n        cur = on[name] = createFnInvoker(cur, vm);\n      }\n      if (isTrue(event.once)) {\n        cur = on[name] = createOnceHandler(event.name, cur, event.capture);\n      }\n      add(event.name, cur, event.capture, event.passive, event.params);\n    } else if (cur !== old) {\n      old.fns = cur;\n      on[name] = old;\n    }\n  }\n  for (name in oldOn) {\n    if (isUndef(on[name])) {\n      event = normalizeEvent(name);\n      remove(event.name, oldOn[name], event.capture);\n    }\n  }\n}\n\n/*  */\nfunction mergeVNodeHook(def, hookKey, hook) {\n  if (def instanceof VNode) {\n    def = def.data.hook || (def.data.hook = {});\n  }\n  let invoker;\n  const oldHook = def[hookKey];\n  function wrappedHook() {\n    hook.apply(this, arguments);\n    // important: remove merged hook to ensure it's called only once\n    // and prevent memory leak\n    remove$2(invoker.fns, wrappedHook);\n  }\n  if (isUndef(oldHook)) {\n    // no existing hook\n    invoker = createFnInvoker([wrappedHook]);\n  } else {\n    /* istanbul ignore if */\n    if (isDef(oldHook.fns) && isTrue(oldHook.merged)) {\n      // already a merged invoker\n      invoker = oldHook;\n      invoker.fns.push(wrappedHook);\n    } else {\n      // existing plain hook\n      invoker = createFnInvoker([oldHook, wrappedHook]);\n    }\n  }\n  invoker.merged = true;\n  def[hookKey] = invoker;\n}\n\n/*  */\nfunction extractPropsFromVNodeData(data, Ctor, tag) {\n  // we are only extracting raw values here.\n  // validation and default values are handled in the child\n  // component itself.\n  const propOptions = Ctor.options.props;\n  if (isUndef(propOptions)) {\n    return;\n  }\n  const res = {};\n  const {\n    attrs,\n    props\n  } = data;\n  if (isDef(attrs) || isDef(props)) {\n    for (const key in propOptions) {\n      const altKey = hyphenate(key);\n      if (process.env.NODE_ENV !== 'production') {\n        const keyInLowerCase = key.toLowerCase();\n        if (key !== keyInLowerCase && attrs && hasOwn(attrs, keyInLowerCase)) {\n          tip(`Prop \"${keyInLowerCase}\" is passed to component ` + `${formatComponentName(tag || Ctor)}, but the declared prop name is` + ` \"${key}\". ` + `Note that HTML attributes are case-insensitive and camelCased ` + `props need to use their kebab-case equivalents when using in-DOM ` + `templates. You should probably use \"${altKey}\" instead of \"${key}\".`);\n        }\n      }\n      checkProp(res, props, key, altKey, true) || checkProp(res, attrs, key, altKey, false);\n    }\n  }\n  return res;\n}\nfunction checkProp(res, hash, key, altKey, preserve) {\n  if (isDef(hash)) {\n    if (hasOwn(hash, key)) {\n      res[key] = hash[key];\n      if (!preserve) {\n        delete hash[key];\n      }\n      return true;\n    } else if (hasOwn(hash, altKey)) {\n      res[key] = hash[altKey];\n      if (!preserve) {\n        delete hash[altKey];\n      }\n      return true;\n    }\n  }\n  return false;\n}\n\n/*  */\n\n// The template compiler attempts to minimize the need for normalization by\n// statically analyzing the template at compile time.\n//\n// For plain HTML markup, normalization can be completely skipped because the\n// generated render function is guaranteed to return Array<VNode>. There are\n// two cases where extra normalization is needed:\n\n// 1. When the children contains components - because a functional component\n// may return an Array instead of a single root. In this case, just a simple\n// normalization is needed - if any child is an Array, we flatten the whole\n// thing with Array.prototype.concat. It is guaranteed to be only 1-level deep\n// because functional components already normalize their own children.\nfunction simpleNormalizeChildren(children) {\n  for (let i = 0; i < children.length; i++) {\n    if (Array.isArray(children[i])) {\n      return Array.prototype.concat.apply([], children);\n    }\n  }\n  return children;\n}\n\n// 2. When the children contains constructs that always generated nested Arrays,\n// e.g. <template>, <slot>, v-for, or when the children is provided by user\n// with hand-written render functions / JSX. In such cases a full normalization\n// is needed to cater to all possible types of children values.\nfunction normalizeChildren(children) {\n  return isPrimitive(children) ? [createTextVNode(children)] : Array.isArray(children) ? normalizeArrayChildren(children) : undefined;\n}\nfunction isTextNode(node) {\n  return isDef(node) && isDef(node.text) && isFalse(node.isComment);\n}\nfunction normalizeArrayChildren(children, nestedIndex) {\n  const res = [];\n  let i, c, lastIndex, last;\n  for (i = 0; i < children.length; i++) {\n    c = children[i];\n    if (isUndef(c) || typeof c === 'boolean') continue;\n    lastIndex = res.length - 1;\n    last = res[lastIndex];\n    //  nested\n    if (Array.isArray(c)) {\n      if (c.length > 0) {\n        c = normalizeArrayChildren(c, `${nestedIndex || ''}_${i}`);\n        // merge adjacent text nodes\n        if (isTextNode(c[0]) && isTextNode(last)) {\n          res[lastIndex] = createTextVNode(last.text + c[0].text);\n          c.shift();\n        }\n        res.push.apply(res, c);\n      }\n    } else if (isPrimitive(c)) {\n      if (isTextNode(last)) {\n        // merge adjacent text nodes\n        // this is necessary for SSR hydration because text nodes are\n        // essentially merged when rendered to HTML strings\n        res[lastIndex] = createTextVNode(last.text + c);\n      } else if (c !== '') {\n        // convert primitive to vnode\n        res.push(createTextVNode(c));\n      }\n    } else {\n      if (isTextNode(c) && isTextNode(last)) {\n        // merge adjacent text nodes\n        res[lastIndex] = createTextVNode(last.text + c.text);\n      } else {\n        // default key for nested array children (likely generated by v-for)\n        if (isTrue(children._isVList) && isDef(c.tag) && isUndef(c.key) && isDef(nestedIndex)) {\n          c.key = `__vlist${nestedIndex}_${i}__`;\n        }\n        res.push(c);\n      }\n    }\n  }\n  return res;\n}\n\n/*  */\nfunction initProvide(vm) {\n  const provide = vm.$options.provide;\n  if (provide) {\n    vm._provided = typeof provide === 'function' ? provide.call(vm) : provide;\n  }\n}\nfunction initInjections(vm) {\n  const result = resolveInject(vm.$options.inject, vm);\n  if (result) {\n    toggleObserving(false);\n    Object.keys(result).forEach(key => {\n      /* istanbul ignore else */\n      if (process.env.NODE_ENV !== 'production') {\n        defineReactive(vm, key, result[key], () => {\n          warn$3(`Avoid mutating an injected value directly since the changes will be ` + `overwritten whenever the provided component re-renders. ` + `injection being mutated: \"${key}\"`, vm);\n        });\n      } else {\n        defineReactive(vm, key, result[key]);\n      }\n    });\n    toggleObserving(true);\n  }\n}\nfunction resolveInject(inject, vm) {\n  if (inject) {\n    // inject is :any because flow is not smart enough to figure out cached\n    const result = Object.create(null);\n    const keys = hasSymbol ? Reflect.ownKeys(inject) : Object.keys(inject);\n    for (let i = 0; i < keys.length; i++) {\n      const key = keys[i];\n      // #6574 in case the inject object is observed...\n      if (key === '__ob__') continue;\n      const provideKey = inject[key].from;\n      let source = vm;\n      while (source) {\n        if (source._provided && hasOwn(source._provided, provideKey)) {\n          result[key] = source._provided[provideKey];\n          break;\n        }\n        source = source.$parent;\n      }\n      if (!source) {\n        if ('default' in inject[key]) {\n          const provideDefault = inject[key].default;\n          result[key] = typeof provideDefault === 'function' ? provideDefault.call(vm) : provideDefault;\n        } else if (process.env.NODE_ENV !== 'production') {\n          warn$3(`Injection \"${key}\" not found`, vm);\n        }\n      }\n    }\n    return result;\n  }\n}\n\n/*  */\n\n/**\n * Runtime helper for resolving raw children VNodes into a slot object.\n */\nfunction resolveSlots(children, context) {\n  if (!children || !children.length) {\n    return {};\n  }\n  const slots = {};\n  for (let i = 0, l = children.length; i < l; i++) {\n    const child = children[i];\n    const data = child.data;\n    // remove slot attribute if the node is resolved as a Vue slot node\n    if (data && data.attrs && data.attrs.slot) {\n      delete data.attrs.slot;\n    }\n    // named slots should only be respected if the vnode was rendered in the\n    // same context.\n    if ((child.context === context || child.fnContext === context) && data && data.slot != null) {\n      const name = data.slot;\n      const slot = slots[name] || (slots[name] = []);\n      if (child.tag === 'template') {\n        slot.push.apply(slot, child.children || []);\n      } else {\n        slot.push(child);\n      }\n    } else {\n      (slots.default || (slots.default = [])).push(child);\n    }\n  }\n  // ignore slots that contains only whitespace\n  for (const name in slots) {\n    if (slots[name].every(isWhitespace)) {\n      delete slots[name];\n    }\n  }\n  return slots;\n}\nfunction isWhitespace(node) {\n  return node.isComment && !node.asyncFactory || node.text === ' ';\n}\n\n/*  */\n\nfunction isAsyncPlaceholder(node) {\n  return node.isComment && node.asyncFactory;\n}\n\n/*  */\nfunction normalizeScopedSlots(slots, normalSlots, prevSlots) {\n  let res;\n  const hasNormalSlots = Object.keys(normalSlots).length > 0;\n  const isStable = slots ? !!slots.$stable : !hasNormalSlots;\n  const key = slots && slots.$key;\n  if (!slots) {\n    res = {};\n  } else if (slots._normalized) {\n    // fast path 1: child component re-render only, parent did not change\n    return slots._normalized;\n  } else if (isStable && prevSlots && prevSlots !== emptyObject && key === prevSlots.$key && !hasNormalSlots && !prevSlots.$hasNormal) {\n    // fast path 2: stable scoped slots w/ no normal slots to proxy,\n    // only need to normalize once\n    return prevSlots;\n  } else {\n    res = {};\n    for (const key in slots) {\n      if (slots[key] && key[0] !== '$') {\n        res[key] = normalizeScopedSlot(normalSlots, key, slots[key]);\n      }\n    }\n  }\n  // expose normal slots on scopedSlots\n  for (const key in normalSlots) {\n    if (!(key in res)) {\n      res[key] = proxyNormalSlot(normalSlots, key);\n    }\n  }\n  // avoriaz seems to mock a non-extensible $scopedSlots object\n  // and when that is passed down this would cause an error\n  if (slots && Object.isExtensible(slots)) {\n    slots._normalized = res;\n  }\n  def(res, '$stable', isStable);\n  def(res, '$key', key);\n  def(res, '$hasNormal', hasNormalSlots);\n  return res;\n}\nfunction normalizeScopedSlot(normalSlots, key, fn) {\n  const normalized = function () {\n    let res = arguments.length ? fn.apply(null, arguments) : fn({});\n    res = res && typeof res === 'object' && !Array.isArray(res) ? [res] // single vnode\n    : normalizeChildren(res);\n    let vnode = res && res[0];\n    return res && (!vnode || res.length === 1 && vnode.isComment && !isAsyncPlaceholder(vnode) // #9658, #10391\n    ) ? undefined : res;\n  };\n  // this is a slot using the new v-slot syntax without scope. although it is\n  // compiled as a scoped slot, render fn users would expect it to be present\n  // on this.$slots because the usage is semantically a normal slot.\n  if (fn.proxy) {\n    Object.defineProperty(normalSlots, key, {\n      get: normalized,\n      enumerable: true,\n      configurable: true\n    });\n  }\n  return normalized;\n}\nfunction proxyNormalSlot(slots, key) {\n  return () => slots[key];\n}\n\n/*  */\n\n/**\n * Runtime helper for rendering v-for lists.\n */\nfunction renderList(val, render) {\n  let ret, i, l, keys, key;\n  if (Array.isArray(val) || typeof val === 'string') {\n    ret = new Array(val.length);\n    for (i = 0, l = val.length; i < l; i++) {\n      ret[i] = render(val[i], i);\n    }\n  } else if (typeof val === 'number') {\n    ret = new Array(val);\n    for (i = 0; i < val; i++) {\n      ret[i] = render(i + 1, i);\n    }\n  } else if (isObject(val)) {\n    if (hasSymbol && val[Symbol.iterator]) {\n      ret = [];\n      const iterator = val[Symbol.iterator]();\n      let result = iterator.next();\n      while (!result.done) {\n        ret.push(render(result.value, ret.length));\n        result = iterator.next();\n      }\n    } else {\n      keys = Object.keys(val);\n      ret = new Array(keys.length);\n      for (i = 0, l = keys.length; i < l; i++) {\n        key = keys[i];\n        ret[i] = render(val[key], key, i);\n      }\n    }\n  }\n  if (!isDef(ret)) {\n    ret = [];\n  }\n  ret._isVList = true;\n  return ret;\n}\n\n/*  */\n\n/**\n * Runtime helper for rendering <slot>\n */\nfunction renderSlot(name, fallbackRender, props, bindObject) {\n  const scopedSlotFn = this.$scopedSlots[name];\n  let nodes;\n  if (scopedSlotFn) {\n    // scoped slot\n    props = props || {};\n    if (bindObject) {\n      if (process.env.NODE_ENV !== 'production' && !isObject(bindObject)) {\n        warn$3('slot v-bind without argument expects an Object', this);\n      }\n      props = extend(extend({}, bindObject), props);\n    }\n    nodes = scopedSlotFn(props) || (typeof fallbackRender === 'function' ? fallbackRender() : fallbackRender);\n  } else {\n    nodes = this.$slots[name] || (typeof fallbackRender === 'function' ? fallbackRender() : fallbackRender);\n  }\n  const target = props && props.slot;\n  if (target) {\n    return this.$createElement('template', {\n      slot: target\n    }, nodes);\n  } else {\n    return nodes;\n  }\n}\n\n/*  */\n\n/**\n * Runtime helper for resolving filters\n */\nfunction resolveFilter(id) {\n  return resolveAsset(this.$options, 'filters', id, true) || identity;\n}\n\n/*  */\nfunction isKeyNotMatch(expect, actual) {\n  if (Array.isArray(expect)) {\n    return expect.indexOf(actual) === -1;\n  } else {\n    return expect !== actual;\n  }\n}\n\n/**\n * Runtime helper for checking keyCodes from config.\n * exposed as Vue.prototype._k\n * passing in eventKeyName as last argument separately for backwards compat\n */\nfunction checkKeyCodes(eventKeyCode, key, builtInKeyCode, eventKeyName, builtInKeyName) {\n  const mappedKeyCode = config.keyCodes[key] || builtInKeyCode;\n  if (builtInKeyName && eventKeyName && !config.keyCodes[key]) {\n    return isKeyNotMatch(builtInKeyName, eventKeyName);\n  } else if (mappedKeyCode) {\n    return isKeyNotMatch(mappedKeyCode, eventKeyCode);\n  } else if (eventKeyName) {\n    return hyphenate(eventKeyName) !== key;\n  }\n  return eventKeyCode === undefined;\n}\n\n/*  */\n\n/**\n * Runtime helper for merging v-bind=\"object\" into a VNode's data.\n */\nfunction bindObjectProps(data, tag, value, asProp, isSync) {\n  if (value) {\n    if (!isObject(value)) {\n      process.env.NODE_ENV !== 'production' && warn$3('v-bind without argument expects an Object or Array value', this);\n    } else {\n      if (Array.isArray(value)) {\n        value = toObject$1(value);\n      }\n      let hash;\n      for (const key in value) {\n        if (key === 'class' || key === 'style' || isReservedAttribute(key)) {\n          hash = data;\n        } else {\n          const type = data.attrs && data.attrs.type;\n          hash = asProp || config.mustUseProp(tag, type, key) ? data.domProps || (data.domProps = {}) : data.attrs || (data.attrs = {});\n        }\n        const camelizedKey = camelize(key);\n        const hyphenatedKey = hyphenate(key);\n        if (!(camelizedKey in hash) && !(hyphenatedKey in hash)) {\n          hash[key] = value[key];\n          if (isSync) {\n            const on = data.on || (data.on = {});\n            on[`update:${key}`] = function ($event) {\n              value[key] = $event;\n            };\n          }\n        }\n      }\n    }\n  }\n  return data;\n}\n\n/*  */\n\n/**\n * Runtime helper for rendering static trees.\n */\nfunction renderStatic(index, isInFor) {\n  const cached = this._staticTrees || (this._staticTrees = []);\n  let tree = cached[index];\n  // if has already-rendered static tree and not inside v-for,\n  // we can reuse the same tree.\n  if (tree && !isInFor) {\n    return tree;\n  }\n  // otherwise, render a fresh tree.\n  tree = cached[index] = this.$options.staticRenderFns[index].call(this._renderProxy, null, this // for render fns generated for functional component templates\n  );\n\n  markStatic$1(tree, `__static__${index}`, false);\n  return tree;\n}\n\n/**\n * Runtime helper for v-once.\n * Effectively it means marking the node as static with a unique key.\n */\nfunction markOnce(tree, index, key) {\n  markStatic$1(tree, `__once__${index}${key ? `_${key}` : ``}`, true);\n  return tree;\n}\nfunction markStatic$1(tree, key, isOnce) {\n  if (Array.isArray(tree)) {\n    for (let i = 0; i < tree.length; i++) {\n      if (tree[i] && typeof tree[i] !== 'string') {\n        markStaticNode(tree[i], `${key}_${i}`, isOnce);\n      }\n    }\n  } else {\n    markStaticNode(tree, key, isOnce);\n  }\n}\nfunction markStaticNode(node, key, isOnce) {\n  node.isStatic = true;\n  node.key = key;\n  node.isOnce = isOnce;\n}\n\n/*  */\nfunction bindObjectListeners(data, value) {\n  if (value) {\n    if (!isPlainObject(value)) {\n      process.env.NODE_ENV !== 'production' && warn$3('v-on without argument expects an Object value', this);\n    } else {\n      const on = data.on = data.on ? extend({}, data.on) : {};\n      for (const key in value) {\n        const existing = on[key];\n        const ours = value[key];\n        on[key] = existing ? [].concat(existing, ours) : ours;\n      }\n    }\n  }\n  return data;\n}\n\n/*  */\n\nfunction resolveScopedSlots(fns,\n// see flow/vnode\nres,\n// the following are added in 2.6\nhasDynamicKeys, contentHashKey) {\n  res = res || {\n    $stable: !hasDynamicKeys\n  };\n  for (let i = 0; i < fns.length; i++) {\n    const slot = fns[i];\n    if (Array.isArray(slot)) {\n      resolveScopedSlots(slot, res, hasDynamicKeys);\n    } else if (slot) {\n      // marker for reverse proxying v-slot without scope on this.$slots\n      if (slot.proxy) {\n        slot.fn.proxy = true;\n      }\n      res[slot.key] = slot.fn;\n    }\n  }\n  if (contentHashKey) {\n    res.$key = contentHashKey;\n  }\n  return res;\n}\n\n/*  */\nfunction bindDynamicKeys(baseObj, values) {\n  for (let i = 0; i < values.length; i += 2) {\n    const key = values[i];\n    if (typeof key === 'string' && key) {\n      baseObj[values[i]] = values[i + 1];\n    } else if (process.env.NODE_ENV !== 'production' && key !== '' && key !== null) {\n      // null is a special value for explicitly removing a binding\n      warn$3(`Invalid value for dynamic directive argument (expected string or null): ${key}`, this);\n    }\n  }\n  return baseObj;\n}\n\n// helper to dynamically append modifier runtime markers to event names.\n// ensure only append when value is already string, otherwise it will be cast\n// to string and cause the type check to miss.\nfunction prependModifier(value, symbol) {\n  return typeof value === 'string' ? symbol + value : value;\n}\n\n/*  */\nfunction installRenderHelpers(target) {\n  target._o = markOnce;\n  target._n = toNumber;\n  target._s = toString;\n  target._l = renderList;\n  target._t = renderSlot;\n  target._q = looseEqual;\n  target._i = looseIndexOf;\n  target._m = renderStatic;\n  target._f = resolveFilter;\n  target._k = checkKeyCodes;\n  target._b = bindObjectProps;\n  target._v = createTextVNode;\n  target._e = createEmptyVNode;\n  target._u = resolveScopedSlots;\n  target._g = bindObjectListeners;\n  target._d = bindDynamicKeys;\n  target._p = prependModifier;\n}\n\n/*  */\nfunction FunctionalRenderContext(data, props, children, parent, Ctor) {\n  const options = Ctor.options;\n  // ensure the createElement function in functional components\n  // gets a unique context - this is necessary for correct named slot check\n  let contextVm;\n  if (hasOwn(parent, '_uid')) {\n    contextVm = Object.create(parent);\n    // $flow-disable-line\n    contextVm._original = parent;\n  } else {\n    // the context vm passed in is a functional context as well.\n    // in this case we want to make sure we are able to get a hold to the\n    // real context instance.\n    contextVm = parent;\n    // $flow-disable-line\n    parent = parent._original;\n  }\n  const isCompiled = isTrue(options._compiled);\n  const needNormalization = !isCompiled;\n  this.data = data;\n  this.props = props;\n  this.children = children;\n  this.parent = parent;\n  this.listeners = data.on || emptyObject;\n  this.injections = resolveInject(options.inject, parent);\n  this.slots = () => {\n    if (!this.$slots) {\n      normalizeScopedSlots(data.scopedSlots, this.$slots = resolveSlots(children, parent));\n    }\n    return this.$slots;\n  };\n  Object.defineProperty(this, 'scopedSlots', {\n    enumerable: true,\n    get() {\n      return normalizeScopedSlots(data.scopedSlots, this.slots());\n    }\n  });\n\n  // support for compiled functional template\n  if (isCompiled) {\n    // exposing $options for renderStatic()\n    this.$options = options;\n    // pre-resolve slots for renderSlot()\n    this.$slots = this.slots();\n    this.$scopedSlots = normalizeScopedSlots(data.scopedSlots, this.$slots);\n  }\n  if (options._scopeId) {\n    this._c = (a, b, c, d) => {\n      const vnode = createElement$1(contextVm, a, b, c, d, needNormalization);\n      if (vnode && !Array.isArray(vnode)) {\n        vnode.fnScopeId = options._scopeId;\n        vnode.fnContext = parent;\n      }\n      return vnode;\n    };\n  } else {\n    this._c = (a, b, c, d) => createElement$1(contextVm, a, b, c, d, needNormalization);\n  }\n}\ninstallRenderHelpers(FunctionalRenderContext.prototype);\nfunction createFunctionalComponent(Ctor, propsData, data, contextVm, children) {\n  const options = Ctor.options;\n  const props = {};\n  const propOptions = options.props;\n  if (isDef(propOptions)) {\n    for (const key in propOptions) {\n      props[key] = validateProp(key, propOptions, propsData || emptyObject);\n    }\n  } else {\n    if (isDef(data.attrs)) mergeProps(props, data.attrs);\n    if (isDef(data.props)) mergeProps(props, data.props);\n  }\n  const renderContext = new FunctionalRenderContext(data, props, children, contextVm, Ctor);\n  const vnode = options.render.call(null, renderContext._c, renderContext);\n  if (vnode instanceof VNode) {\n    return cloneAndMarkFunctionalResult(vnode, data, renderContext.parent, options, renderContext);\n  } else if (Array.isArray(vnode)) {\n    const vnodes = normalizeChildren(vnode) || [];\n    const res = new Array(vnodes.length);\n    for (let i = 0; i < vnodes.length; i++) {\n      res[i] = cloneAndMarkFunctionalResult(vnodes[i], data, renderContext.parent, options, renderContext);\n    }\n    return res;\n  }\n}\nfunction cloneAndMarkFunctionalResult(vnode, data, contextVm, options, renderContext) {\n  // #7817 clone node before setting fnContext, otherwise if the node is reused\n  // (e.g. it was from a cached normal slot) the fnContext causes named slots\n  // that should not be matched to match.\n  const clone = cloneVNode(vnode);\n  clone.fnContext = contextVm;\n  clone.fnOptions = options;\n  if (process.env.NODE_ENV !== 'production') {\n    (clone.devtoolsMeta = clone.devtoolsMeta || {}).renderContext = renderContext;\n  }\n  if (data.slot) {\n    (clone.data || (clone.data = {})).slot = data.slot;\n  }\n  return clone;\n}\nfunction mergeProps(to, from) {\n  for (const key in from) {\n    to[camelize(key)] = from[key];\n  }\n}\n\n/*  */\n\n// inline hooks to be invoked on component VNodes during patch\nconst componentVNodeHooks = {\n  init(vnode, hydrating) {\n    if (vnode.componentInstance && !vnode.componentInstance._isDestroyed && vnode.data.keepAlive) {\n      // kept-alive components, treat as a patch\n      const mountedNode = vnode; // work around flow\n      componentVNodeHooks.prepatch(mountedNode, mountedNode);\n    } else {\n      const child = vnode.componentInstance = createComponentInstanceForVnode(vnode, activeInstance);\n      child.$mount(hydrating ? vnode.elm : undefined, hydrating);\n    }\n  },\n  prepatch(oldVnode, vnode) {\n    const options = vnode.componentOptions;\n    const child = vnode.componentInstance = oldVnode.componentInstance;\n    updateChildComponent(child, options.propsData,\n    // updated props\n    options.listeners,\n    // updated listeners\n    vnode,\n    // new parent vnode\n    options.children // new children\n    );\n  },\n\n  insert(vnode) {\n    const {\n      context,\n      componentInstance\n    } = vnode;\n    if (!componentInstance._isMounted) {\n      componentInstance._isMounted = true;\n      callHook$1(componentInstance, 'mounted');\n    }\n    if (vnode.data.keepAlive) {\n      if (context._isMounted) {\n        // vue-router#1212\n        // During updates, a kept-alive component's child components may\n        // change, so directly walking the tree here may call activated hooks\n        // on incorrect children. Instead we push them into a queue which will\n        // be processed after the whole patch process ended.\n        queueActivatedComponent(componentInstance);\n      } else {\n        activateChildComponent(componentInstance, true /* direct */);\n      }\n    }\n  },\n\n  destroy(vnode) {\n    const {\n      componentInstance\n    } = vnode;\n    if (!componentInstance._isDestroyed) {\n      if (!vnode.data.keepAlive) {\n        componentInstance.$destroy();\n      } else {\n        deactivateChildComponent(componentInstance, true /* direct */);\n      }\n    }\n  }\n};\n\nconst hooksToMerge = Object.keys(componentVNodeHooks);\nfunction createComponent(Ctor, data, context, children, tag) {\n  if (isUndef(Ctor)) {\n    return;\n  }\n  const baseCtor = context.$options._base;\n\n  // plain options object: turn it into a constructor\n  if (isObject(Ctor)) {\n    Ctor = baseCtor.extend(Ctor);\n  }\n\n  // if at this stage it's not a constructor or an async component factory,\n  // reject.\n  if (typeof Ctor !== 'function') {\n    if (process.env.NODE_ENV !== 'production') {\n      warn$3(`Invalid Component definition: ${String(Ctor)}`, context);\n    }\n    return;\n  }\n\n  // async component\n  let asyncFactory;\n  if (isUndef(Ctor.cid)) {\n    asyncFactory = Ctor;\n    Ctor = resolveAsyncComponent(asyncFactory, baseCtor);\n    if (Ctor === undefined) {\n      // return a placeholder node for async component, which is rendered\n      // as a comment node but preserves all the raw information for the node.\n      // the information will be used for async server-rendering and hydration.\n      return createAsyncPlaceholder(asyncFactory, data, context, children, tag);\n    }\n  }\n  data = data || {};\n\n  // resolve constructor options in case global mixins are applied after\n  // component constructor creation\n  resolveConstructorOptions(Ctor);\n\n  // transform component v-model data into props & events\n  if (isDef(data.model)) {\n    transformModel(Ctor.options, data);\n  }\n\n  // extract props\n  const propsData = extractPropsFromVNodeData(data, Ctor, tag);\n\n  // functional component\n  if (isTrue(Ctor.options.functional)) {\n    return createFunctionalComponent(Ctor, propsData, data, context, children);\n  }\n\n  // extract listeners, since these needs to be treated as\n  // child component listeners instead of DOM listeners\n  const listeners = data.on;\n  // replace with listeners with .native modifier\n  // so it gets processed during parent component patch.\n  data.on = data.nativeOn;\n  if (isTrue(Ctor.options.abstract)) {\n    // abstract components do not keep anything\n    // other than props & listeners & slot\n\n    // work around flow\n    const slot = data.slot;\n    data = {};\n    if (slot) {\n      data.slot = slot;\n    }\n  }\n\n  // install component management hooks onto the placeholder node\n  installComponentHooks(data);\n\n  // return a placeholder vnode\n  const name = Ctor.options.name || tag;\n  const vnode = new VNode(`vue-component-${Ctor.cid}${name ? `-${name}` : ''}`, data, undefined, undefined, undefined, context, {\n    Ctor,\n    propsData,\n    listeners,\n    tag,\n    children\n  }, asyncFactory);\n  return vnode;\n}\nfunction createComponentInstanceForVnode(\n// we know it's MountedComponentVNode but flow doesn't\nvnode,\n// activeInstance in lifecycle state\nparent) {\n  const options = {\n    _isComponent: true,\n    _parentVnode: vnode,\n    parent\n  };\n  // check inline-template render functions\n  const inlineTemplate = vnode.data.inlineTemplate;\n  if (isDef(inlineTemplate)) {\n    options.render = inlineTemplate.render;\n    options.staticRenderFns = inlineTemplate.staticRenderFns;\n  }\n  return new vnode.componentOptions.Ctor(options);\n}\nfunction installComponentHooks(data) {\n  const hooks = data.hook || (data.hook = {});\n  for (let i = 0; i < hooksToMerge.length; i++) {\n    const key = hooksToMerge[i];\n    const existing = hooks[key];\n    const toMerge = componentVNodeHooks[key];\n    if (existing !== toMerge && !(existing && existing._merged)) {\n      hooks[key] = existing ? mergeHook(toMerge, existing) : toMerge;\n    }\n  }\n}\nfunction mergeHook(f1, f2) {\n  const merged = (a, b) => {\n    // flow complains about extra args which is why we use any\n    f1(a, b);\n    f2(a, b);\n  };\n  merged._merged = true;\n  return merged;\n}\n\n// transform component v-model info (value and callback) into\n// prop and event handler respectively.\nfunction transformModel(options, data) {\n  const prop = options.model && options.model.prop || 'value';\n  const event = options.model && options.model.event || 'input';\n  (data.attrs || (data.attrs = {}))[prop] = data.model.value;\n  const on = data.on || (data.on = {});\n  const existing = on[event];\n  const callback = data.model.callback;\n  if (isDef(existing)) {\n    if (Array.isArray(existing) ? existing.indexOf(callback) === -1 : existing !== callback) {\n      on[event] = [callback].concat(existing);\n    }\n  } else {\n    on[event] = callback;\n  }\n}\n\n/*  */\nconst SIMPLE_NORMALIZE = 1;\nconst ALWAYS_NORMALIZE = 2;\n\n// wrapper function for providing a more flexible interface\n// without getting yelled at by flow\nfunction createElement$1(context, tag, data, children, normalizationType, alwaysNormalize) {\n  if (Array.isArray(data) || isPrimitive(data)) {\n    normalizationType = children;\n    children = data;\n    data = undefined;\n  }\n  if (isTrue(alwaysNormalize)) {\n    normalizationType = ALWAYS_NORMALIZE;\n  }\n  return _createElement(context, tag, data, children, normalizationType);\n}\nfunction _createElement(context, tag, data, children, normalizationType) {\n  if (isDef(data) && isDef(data.__ob__)) {\n    process.env.NODE_ENV !== 'production' && warn$3(`Avoid using observed data object as vnode data: ${JSON.stringify(data)}\\n` + 'Always create fresh vnode data objects in each render!', context);\n    return createEmptyVNode();\n  }\n  // object syntax in v-bind\n  if (isDef(data) && isDef(data.is)) {\n    tag = data.is;\n  }\n  if (!tag) {\n    // in case of component :is set to falsy value\n    return createEmptyVNode();\n  }\n  // warn against non-primitive key\n  if (process.env.NODE_ENV !== 'production' && isDef(data) && isDef(data.key) && !isPrimitive(data.key)) {\n    {\n      warn$3('Avoid using non-primitive value as key, ' + 'use string/number value instead.', context);\n    }\n  }\n  // support single function children as default scoped slot\n  if (Array.isArray(children) && typeof children[0] === 'function') {\n    data = data || {};\n    data.scopedSlots = {\n      default: children[0]\n    };\n    children.length = 0;\n  }\n  if (normalizationType === ALWAYS_NORMALIZE) {\n    children = normalizeChildren(children);\n  } else if (normalizationType === SIMPLE_NORMALIZE) {\n    children = simpleNormalizeChildren(children);\n  }\n  let vnode, ns;\n  if (typeof tag === 'string') {\n    let Ctor;\n    ns = context.$vnode && context.$vnode.ns || config.getTagNamespace(tag);\n    if (config.isReservedTag(tag)) {\n      // platform built-in elements\n      if (process.env.NODE_ENV !== 'production' && isDef(data) && isDef(data.nativeOn) && data.tag !== 'component') {\n        warn$3(`The .native modifier for v-on is only valid on components but it was used on <${tag}>.`, context);\n      }\n      vnode = new VNode(config.parsePlatformTagName(tag), data, children, undefined, undefined, context);\n    } else if ((!data || !data.pre) && isDef(Ctor = resolveAsset(context.$options, 'components', tag))) {\n      // component\n      vnode = createComponent(Ctor, data, context, children, tag);\n    } else {\n      // unknown or unlisted namespaced elements\n      // check at runtime because it may get assigned a namespace when its\n      // parent normalizes children\n      vnode = new VNode(tag, data, children, undefined, undefined, context);\n    }\n  } else {\n    // direct component options / constructor\n    vnode = createComponent(tag, data, context, children);\n  }\n  if (Array.isArray(vnode)) {\n    return vnode;\n  } else if (isDef(vnode)) {\n    if (isDef(ns)) applyNS(vnode, ns);\n    if (isDef(data)) registerDeepBindings(data);\n    return vnode;\n  } else {\n    return createEmptyVNode();\n  }\n}\nfunction applyNS(vnode, ns, force) {\n  vnode.ns = ns;\n  if (vnode.tag === 'foreignObject') {\n    // use default namespace inside foreignObject\n    ns = undefined;\n    force = true;\n  }\n  if (isDef(vnode.children)) {\n    for (let i = 0, l = vnode.children.length; i < l; i++) {\n      const child = vnode.children[i];\n      if (isDef(child.tag) && (isUndef(child.ns) || isTrue(force) && child.tag !== 'svg')) {\n        applyNS(child, ns, force);\n      }\n    }\n  }\n}\n\n// ref #5318\n// necessary to ensure parent re-render when deep bindings like :style and\n// :class are used on slot nodes\nfunction registerDeepBindings(data) {\n  if (isObject(data.style)) {\n    traverse(data.style);\n  }\n  if (isObject(data.class)) {\n    traverse(data.class);\n  }\n}\n\n/*  */\nfunction initRender(vm) {\n  vm._vnode = null; // the root of the child tree\n  vm._staticTrees = null; // v-once cached trees\n  const options = vm.$options;\n  const parentVnode = vm.$vnode = options._parentVnode; // the placeholder node in parent tree\n  const renderContext = parentVnode && parentVnode.context;\n  vm.$slots = resolveSlots(options._renderChildren, renderContext);\n  vm.$scopedSlots = emptyObject;\n  // bind the createElement fn to this instance\n  // so that we get proper render context inside it.\n  // args order: tag, data, children, normalizationType, alwaysNormalize\n  // internal version is used by render functions compiled from templates\n  vm._c = (a, b, c, d) => createElement$1(vm, a, b, c, d, false);\n  // normalization is always applied for the public version, used in\n  // user-written render functions.\n  vm.$createElement = (a, b, c, d) => createElement$1(vm, a, b, c, d, true);\n\n  // $attrs & $listeners are exposed for easier HOC creation.\n  // they need to be reactive so that HOCs using them are always updated\n  const parentData = parentVnode && parentVnode.data;\n\n  /* istanbul ignore else */\n  if (process.env.NODE_ENV !== 'production') {\n    defineReactive(vm, '$attrs', parentData && parentData.attrs || emptyObject, () => {\n      !isUpdatingChildComponent && warn$3(`$attrs is readonly.`, vm);\n    }, true);\n    defineReactive(vm, '$listeners', options._parentListeners || emptyObject, () => {\n      !isUpdatingChildComponent && warn$3(`$listeners is readonly.`, vm);\n    }, true);\n  } else {\n    defineReactive(vm, '$attrs', parentData && parentData.attrs || emptyObject, null, true);\n    defineReactive(vm, '$listeners', options._parentListeners || emptyObject, null, true);\n  }\n}\nlet currentRenderingInstance = null;\nfunction renderMixin(Vue) {\n  // install runtime convenience helpers\n  installRenderHelpers(Vue.prototype);\n  Vue.prototype.$nextTick = function (fn) {\n    return nextTick(fn, this);\n  };\n  Vue.prototype._render = function () {\n    const vm = this;\n    const {\n      render,\n      _parentVnode\n    } = vm.$options;\n    if (_parentVnode) {\n      vm.$scopedSlots = normalizeScopedSlots(_parentVnode.data.scopedSlots, vm.$slots, vm.$scopedSlots);\n    }\n\n    // set parent vnode. this allows render functions to have access\n    // to the data on the placeholder node.\n    vm.$vnode = _parentVnode;\n    // render self\n    let vnode;\n    try {\n      // There's no need to maintain a stack because all render fns are called\n      // separately from one another. Nested component's render fns are called\n      // when parent component is patched.\n      currentRenderingInstance = vm;\n      vnode = render.call(vm._renderProxy, vm.$createElement);\n    } catch (e) {\n      handleError(e, vm, `render`);\n      // return error render result,\n      // or previous vnode to prevent render error causing blank component\n      /* istanbul ignore else */\n      if (process.env.NODE_ENV !== 'production' && vm.$options.renderError) {\n        try {\n          vnode = vm.$options.renderError.call(vm._renderProxy, vm.$createElement, e);\n        } catch (e) {\n          handleError(e, vm, `renderError`);\n          vnode = vm._vnode;\n        }\n      } else {\n        vnode = vm._vnode;\n      }\n    } finally {\n      currentRenderingInstance = null;\n    }\n    // if the returned array contains only a single node, allow it\n    if (Array.isArray(vnode) && vnode.length === 1) {\n      vnode = vnode[0];\n    }\n    // return empty vnode in case the render function errored out\n    if (!(vnode instanceof VNode)) {\n      if (process.env.NODE_ENV !== 'production' && Array.isArray(vnode)) {\n        warn$3('Multiple root nodes returned from render function. Render function ' + 'should return a single root node.', vm);\n      }\n      vnode = createEmptyVNode();\n    }\n    // set parent\n    vnode.parent = _parentVnode;\n    return vnode;\n  };\n}\n\n/*  */\nfunction ensureCtor(comp, base) {\n  if (comp.__esModule || hasSymbol && comp[Symbol.toStringTag] === 'Module') {\n    comp = comp.default;\n  }\n  return isObject(comp) ? base.extend(comp) : comp;\n}\nfunction createAsyncPlaceholder(factory, data, context, children, tag) {\n  const node = createEmptyVNode();\n  node.asyncFactory = factory;\n  node.asyncMeta = {\n    data,\n    context,\n    children,\n    tag\n  };\n  return node;\n}\nfunction resolveAsyncComponent(factory, baseCtor) {\n  if (isTrue(factory.error) && isDef(factory.errorComp)) {\n    return factory.errorComp;\n  }\n  if (isDef(factory.resolved)) {\n    return factory.resolved;\n  }\n  const owner = currentRenderingInstance;\n  if (owner && isDef(factory.owners) && factory.owners.indexOf(owner) === -1) {\n    // already pending\n    factory.owners.push(owner);\n  }\n  if (isTrue(factory.loading) && isDef(factory.loadingComp)) {\n    return factory.loadingComp;\n  }\n  if (owner && !isDef(factory.owners)) {\n    const owners = factory.owners = [owner];\n    let sync = true;\n    let timerLoading = null;\n    let timerTimeout = null;\n    owner.$on('hook:destroyed', () => remove$2(owners, owner));\n    const forceRender = renderCompleted => {\n      for (let i = 0, l = owners.length; i < l; i++) {\n        owners[i].$forceUpdate();\n      }\n      if (renderCompleted) {\n        owners.length = 0;\n        if (timerLoading !== null) {\n          clearTimeout(timerLoading);\n          timerLoading = null;\n        }\n        if (timerTimeout !== null) {\n          clearTimeout(timerTimeout);\n          timerTimeout = null;\n        }\n      }\n    };\n    const resolve = once(res => {\n      // cache resolved\n      factory.resolved = ensureCtor(res, baseCtor);\n      // invoke callbacks only if this is not a synchronous resolve\n      // (async resolves are shimmed as synchronous during SSR)\n      if (!sync) {\n        forceRender(true);\n      } else {\n        owners.length = 0;\n      }\n    });\n    const reject = once(reason => {\n      process.env.NODE_ENV !== 'production' && warn$3(`Failed to resolve async component: ${String(factory)}` + (reason ? `\\nReason: ${reason}` : ''));\n      if (isDef(factory.errorComp)) {\n        factory.error = true;\n        forceRender(true);\n      }\n    });\n    const res = factory(resolve, reject);\n    if (isObject(res)) {\n      if (isPromise(res)) {\n        // () => Promise\n        if (isUndef(factory.resolved)) {\n          res.then(resolve, reject);\n        }\n      } else if (isPromise(res.component)) {\n        res.component.then(resolve, reject);\n        if (isDef(res.error)) {\n          factory.errorComp = ensureCtor(res.error, baseCtor);\n        }\n        if (isDef(res.loading)) {\n          factory.loadingComp = ensureCtor(res.loading, baseCtor);\n          if (res.delay === 0) {\n            factory.loading = true;\n          } else {\n            timerLoading = setTimeout(() => {\n              timerLoading = null;\n              if (isUndef(factory.resolved) && isUndef(factory.error)) {\n                factory.loading = true;\n                forceRender(false);\n              }\n            }, res.delay || 200);\n          }\n        }\n        if (isDef(res.timeout)) {\n          timerTimeout = setTimeout(() => {\n            timerTimeout = null;\n            if (isUndef(factory.resolved)) {\n              reject(process.env.NODE_ENV !== 'production' ? `timeout (${res.timeout}ms)` : null);\n            }\n          }, res.timeout);\n        }\n      }\n    }\n    sync = false;\n    // return in case resolved synchronously\n    return factory.loading ? factory.loadingComp : factory.resolved;\n  }\n}\n\n/*  */\nfunction getFirstComponentChild(children) {\n  if (Array.isArray(children)) {\n    for (let i = 0; i < children.length; i++) {\n      const c = children[i];\n      if (isDef(c) && (isDef(c.componentOptions) || isAsyncPlaceholder(c))) {\n        return c;\n      }\n    }\n  }\n}\n\n/*  */\nfunction initEvents(vm) {\n  vm._events = Object.create(null);\n  vm._hasHookEvent = false;\n  // init parent attached events\n  const listeners = vm.$options._parentListeners;\n  if (listeners) {\n    updateComponentListeners(vm, listeners);\n  }\n}\nlet target$1;\nfunction add$1(event, fn) {\n  target$1.$on(event, fn);\n}\nfunction remove$1(event, fn) {\n  target$1.$off(event, fn);\n}\nfunction createOnceHandler$1(event, fn) {\n  const _target = target$1;\n  return function onceHandler() {\n    const res = fn.apply(null, arguments);\n    if (res !== null) {\n      _target.$off(event, onceHandler);\n    }\n  };\n}\nfunction updateComponentListeners(vm, listeners, oldListeners) {\n  target$1 = vm;\n  updateListeners(listeners, oldListeners || {}, add$1, remove$1, createOnceHandler$1, vm);\n  target$1 = undefined;\n}\nfunction eventsMixin(Vue) {\n  const hookRE = /^hook:/;\n  Vue.prototype.$on = function (event, fn) {\n    const vm = this;\n    if (Array.isArray(event)) {\n      for (let i = 0, l = event.length; i < l; i++) {\n        vm.$on(event[i], fn);\n      }\n    } else {\n      (vm._events[event] || (vm._events[event] = [])).push(fn);\n      // optimize hook:event cost by using a boolean flag marked at registration\n      // instead of a hash lookup\n      if (hookRE.test(event)) {\n        vm._hasHookEvent = true;\n      }\n    }\n    return vm;\n  };\n  Vue.prototype.$once = function (event, fn) {\n    const vm = this;\n    function on() {\n      vm.$off(event, on);\n      fn.apply(vm, arguments);\n    }\n    on.fn = fn;\n    vm.$on(event, on);\n    return vm;\n  };\n  Vue.prototype.$off = function (event, fn) {\n    const vm = this;\n    // all\n    if (!arguments.length) {\n      vm._events = Object.create(null);\n      return vm;\n    }\n    // array of events\n    if (Array.isArray(event)) {\n      for (let i = 0, l = event.length; i < l; i++) {\n        vm.$off(event[i], fn);\n      }\n      return vm;\n    }\n    // specific event\n    const cbs = vm._events[event];\n    if (!cbs) {\n      return vm;\n    }\n    if (!fn) {\n      vm._events[event] = null;\n      return vm;\n    }\n    // specific handler\n    let cb;\n    let i = cbs.length;\n    while (i--) {\n      cb = cbs[i];\n      if (cb === fn || cb.fn === fn) {\n        cbs.splice(i, 1);\n        break;\n      }\n    }\n    return vm;\n  };\n  Vue.prototype.$emit = function (event) {\n    const vm = this;\n    if (process.env.NODE_ENV !== 'production') {\n      const lowerCaseEvent = event.toLowerCase();\n      if (lowerCaseEvent !== event && vm._events[lowerCaseEvent]) {\n        tip(`Event \"${lowerCaseEvent}\" is emitted in component ` + `${formatComponentName(vm)} but the handler is registered for \"${event}\". ` + `Note that HTML attributes are case-insensitive and you cannot use ` + `v-on to listen to camelCase events when using in-DOM templates. ` + `You should probably use \"${hyphenate(event)}\" instead of \"${event}\".`);\n      }\n    }\n    let cbs = vm._events[event];\n    if (cbs) {\n      cbs = cbs.length > 1 ? toArray(cbs) : cbs;\n      const args = toArray(arguments, 1);\n      const info = `event handler for \"${event}\"`;\n      for (let i = 0, l = cbs.length; i < l; i++) {\n        invokeWithErrorHandling(cbs[i], vm, args, vm, info);\n      }\n    }\n    return vm;\n  };\n}\n\n/*  */\nlet activeInstance = null;\nlet isUpdatingChildComponent = false;\nfunction setActiveInstance(vm) {\n  const prevActiveInstance = activeInstance;\n  activeInstance = vm;\n  return () => {\n    activeInstance = prevActiveInstance;\n  };\n}\nfunction initLifecycle(vm) {\n  const options = vm.$options;\n\n  // locate first non-abstract parent\n  let parent = options.parent;\n  if (parent && !options.abstract) {\n    while (parent.$options.abstract && parent.$parent) {\n      parent = parent.$parent;\n    }\n    parent.$children.push(vm);\n  }\n  vm.$parent = parent;\n  vm.$root = parent ? parent.$root : vm;\n  vm.$children = [];\n  vm.$refs = {};\n  vm._watcher = null;\n  vm._inactive = null;\n  vm._directInactive = false;\n  vm._isMounted = false;\n  vm._isDestroyed = false;\n  vm._isBeingDestroyed = false;\n}\nfunction lifecycleMixin(Vue) {\n  Vue.prototype._update = function (vnode, hydrating) {\n    const vm = this;\n    const prevEl = vm.$el;\n    const prevVnode = vm._vnode;\n    const restoreActiveInstance = setActiveInstance(vm);\n    vm._vnode = vnode;\n    // Vue.prototype.__patch__ is injected in entry points\n    // based on the rendering backend used.\n    if (!prevVnode) {\n      // initial render\n      vm.$el = vm.__patch__(vm.$el, vnode, hydrating, false /* removeOnly */);\n    } else {\n      // updates\n      vm.$el = vm.__patch__(prevVnode, vnode);\n    }\n    restoreActiveInstance();\n    // update __vue__ reference\n    if (prevEl) {\n      prevEl.__vue__ = null;\n    }\n    if (vm.$el) {\n      vm.$el.__vue__ = vm;\n    }\n    // if parent is an HOC, update its $el as well\n    if (vm.$vnode && vm.$parent && vm.$vnode === vm.$parent._vnode) {\n      vm.$parent.$el = vm.$el;\n    }\n    // updated hook is called by the scheduler to ensure that children are\n    // updated in a parent's updated hook.\n  };\n\n  Vue.prototype.$forceUpdate = function () {\n    const vm = this;\n    if (vm._watcher) {\n      vm._watcher.update();\n    }\n  };\n  Vue.prototype.$destroy = function () {\n    const vm = this;\n    if (vm._isBeingDestroyed) {\n      return;\n    }\n    callHook$1(vm, 'beforeDestroy');\n    vm._isBeingDestroyed = true;\n    // remove self from parent\n    const parent = vm.$parent;\n    if (parent && !parent._isBeingDestroyed && !vm.$options.abstract) {\n      remove$2(parent.$children, vm);\n    }\n    // teardown watchers\n    if (vm._watcher) {\n      vm._watcher.teardown();\n    }\n    let i = vm._watchers.length;\n    while (i--) {\n      vm._watchers[i].teardown();\n    }\n    // remove reference from data ob\n    // frozen object may not have observer.\n    if (vm._data.__ob__) {\n      vm._data.__ob__.vmCount--;\n    }\n    // call the last hook...\n    vm._isDestroyed = true;\n    // invoke destroy hooks on current rendered tree\n    vm.__patch__(vm._vnode, null);\n    // fire destroyed hook\n    callHook$1(vm, 'destroyed');\n    // turn off all instance listeners.\n    vm.$off();\n    // remove __vue__ reference\n    if (vm.$el) {\n      vm.$el.__vue__ = null;\n    }\n    // release circular reference (#6759)\n    if (vm.$vnode) {\n      vm.$vnode.parent = null;\n    }\n  };\n}\nfunction mountComponent(vm, el, hydrating) {\n  vm.$el = el;\n  if (!vm.$options.render) {\n    vm.$options.render = createEmptyVNode;\n    if (process.env.NODE_ENV !== 'production') {\n      /* istanbul ignore if */\n      if (vm.$options.template && vm.$options.template.charAt(0) !== '#' || vm.$options.el || el) {\n        warn$3('You are using the runtime-only build of Vue where the template ' + 'compiler is not available. Either pre-compile the templates into ' + 'render functions, or use the compiler-included build.', vm);\n      } else {\n        warn$3('Failed to mount component: template or render function not defined.', vm);\n      }\n    }\n  }\n  callHook$1(vm, 'beforeMount');\n  let updateComponent;\n  /* istanbul ignore if */\n  if (process.env.NODE_ENV !== 'production' && config.performance && mark) {\n    updateComponent = () => {\n      const name = vm._name;\n      const id = vm._uid;\n      const startTag = `vue-perf-start:${id}`;\n      const endTag = `vue-perf-end:${id}`;\n      mark(startTag);\n      const vnode = vm._render();\n      mark(endTag);\n      measure(`vue ${name} render`, startTag, endTag);\n      mark(startTag);\n      vm._update(vnode, hydrating);\n      mark(endTag);\n      measure(`vue ${name} patch`, startTag, endTag);\n    };\n  } else {\n    updateComponent = () => {\n      vm._update(vm._render(), hydrating);\n    };\n  }\n\n  // we set this to vm._watcher inside the watcher's constructor\n  // since the watcher's initial patch may call $forceUpdate (e.g. inside child\n  // component's mounted hook), which relies on vm._watcher being already defined\n  new Watcher(vm, updateComponent, noop, {\n    before() {\n      if (vm._isMounted && !vm._isDestroyed) {\n        callHook$1(vm, 'beforeUpdate');\n      }\n    }\n  }, true /* isRenderWatcher */);\n  hydrating = false;\n\n  // manually mounted instance, call mounted on self\n  // mounted is called for render-created child components in its inserted hook\n  if (vm.$vnode == null) {\n    vm._isMounted = true;\n    callHook$1(vm, 'mounted');\n  }\n  return vm;\n}\nfunction updateChildComponent(vm, propsData, listeners, parentVnode, renderChildren) {\n  if (process.env.NODE_ENV !== 'production') {\n    isUpdatingChildComponent = true;\n  }\n\n  // determine whether component has slot children\n  // we need to do this before overwriting $options._renderChildren.\n\n  // check if there are dynamic scopedSlots (hand-written or compiled but with\n  // dynamic slot names). Static scoped slots compiled from template has the\n  // \"$stable\" marker.\n  const newScopedSlots = parentVnode.data.scopedSlots;\n  const oldScopedSlots = vm.$scopedSlots;\n  const hasDynamicScopedSlot = !!(newScopedSlots && !newScopedSlots.$stable || oldScopedSlots !== emptyObject && !oldScopedSlots.$stable || newScopedSlots && vm.$scopedSlots.$key !== newScopedSlots.$key || !newScopedSlots && vm.$scopedSlots.$key);\n\n  // Any static slot children from the parent may have changed during parent's\n  // update. Dynamic scoped slots may also have changed. In such cases, a forced\n  // update is necessary to ensure correctness.\n  const needsForceUpdate = !!(renderChildren ||\n  // has new static slots\n  vm.$options._renderChildren ||\n  // has old static slots\n  hasDynamicScopedSlot);\n  vm.$options._parentVnode = parentVnode;\n  vm.$vnode = parentVnode; // update vm's placeholder node without re-render\n\n  if (vm._vnode) {\n    // update child tree's parent\n    vm._vnode.parent = parentVnode;\n  }\n  vm.$options._renderChildren = renderChildren;\n\n  // update $attrs and $listeners hash\n  // these are also reactive so they may trigger child update if the child\n  // used them during render\n  vm.$attrs = parentVnode.data.attrs || emptyObject;\n  vm.$listeners = listeners || emptyObject;\n\n  // update props\n  if (propsData && vm.$options.props) {\n    toggleObserving(false);\n    const props = vm._props;\n    const propKeys = vm.$options._propKeys || [];\n    for (let i = 0; i < propKeys.length; i++) {\n      const key = propKeys[i];\n      const propOptions = vm.$options.props; // wtf flow?\n      props[key] = validateProp(key, propOptions, propsData, vm);\n    }\n    toggleObserving(true);\n    // keep a copy of raw propsData\n    vm.$options.propsData = propsData;\n  }\n\n  // update listeners\n  listeners = listeners || emptyObject;\n  const oldListeners = vm.$options._parentListeners;\n  vm.$options._parentListeners = listeners;\n  updateComponentListeners(vm, listeners, oldListeners);\n\n  // resolve slots + force update if has children\n  if (needsForceUpdate) {\n    vm.$slots = resolveSlots(renderChildren, parentVnode.context);\n    vm.$forceUpdate();\n  }\n  if (process.env.NODE_ENV !== 'production') {\n    isUpdatingChildComponent = false;\n  }\n}\nfunction isInInactiveTree(vm) {\n  while (vm && (vm = vm.$parent)) {\n    if (vm._inactive) return true;\n  }\n  return false;\n}\nfunction activateChildComponent(vm, direct) {\n  if (direct) {\n    vm._directInactive = false;\n    if (isInInactiveTree(vm)) {\n      return;\n    }\n  } else if (vm._directInactive) {\n    return;\n  }\n  if (vm._inactive || vm._inactive === null) {\n    vm._inactive = false;\n    for (let i = 0; i < vm.$children.length; i++) {\n      activateChildComponent(vm.$children[i]);\n    }\n    callHook$1(vm, 'activated');\n  }\n}\nfunction deactivateChildComponent(vm, direct) {\n  if (direct) {\n    vm._directInactive = true;\n    if (isInInactiveTree(vm)) {\n      return;\n    }\n  }\n  if (!vm._inactive) {\n    vm._inactive = true;\n    for (let i = 0; i < vm.$children.length; i++) {\n      deactivateChildComponent(vm.$children[i]);\n    }\n    callHook$1(vm, 'deactivated');\n  }\n}\nfunction callHook$1(vm, hook) {\n  // #7573 disable dep collection when invoking lifecycle hooks\n  pushTarget();\n  const handlers = vm.$options[hook];\n  const info = `${hook} hook`;\n  if (handlers) {\n    for (let i = 0, j = handlers.length; i < j; i++) {\n      invokeWithErrorHandling(handlers[i], vm, null, vm, info);\n    }\n  }\n  if (vm._hasHookEvent) {\n    vm.$emit('hook:' + hook);\n  }\n  popTarget();\n}\n\n/*  */\nconst MAX_UPDATE_COUNT = 100;\nconst queue = [];\nconst activatedChildren = [];\nlet has = {};\nlet circular = {};\nlet waiting = false;\nlet flushing = false;\nlet index$1 = 0;\n\n/**\n * Reset the scheduler's state.\n */\nfunction resetSchedulerState() {\n  index$1 = queue.length = activatedChildren.length = 0;\n  has = {};\n  if (process.env.NODE_ENV !== 'production') {\n    circular = {};\n  }\n  waiting = flushing = false;\n}\n\n// Async edge case fix requires storing an event listener's attach timestamp.\nlet getNow = Date.now;\n\n// Determine what event timestamp the browser is using. Annoyingly, the\n// timestamp can either be hi-res (relative to page load) or low-res\n// (relative to UNIX epoch), so in order to compare time we have to use the\n// same timestamp type when saving the flush timestamp.\n// All IE versions use low-res event timestamps, and have problematic clock\n// implementations (#9632)\nif (inBrowser && !isIE) {\n  const performance = window.performance;\n  if (performance && typeof performance.now === 'function' && getNow() > document.createEvent('Event').timeStamp) {\n    // if the event timestamp, although evaluated AFTER the Date.now(), is\n    // smaller than it, it means the event is using a hi-res timestamp,\n    // and we need to use the hi-res version for event listener timestamps as\n    // well.\n    getNow = () => performance.now();\n  }\n}\n\n/**\n * Flush both queues and run the watchers.\n */\nfunction flushSchedulerQueue() {\n  getNow();\n  flushing = true;\n  let watcher, id;\n\n  // Sort queue before flush.\n  // This ensures that:\n  // 1. Components are updated from parent to child. (because parent is always\n  //    created before the child)\n  // 2. A component's user watchers are run before its render watcher (because\n  //    user watchers are created before the render watcher)\n  // 3. If a component is destroyed during a parent component's watcher run,\n  //    its watchers can be skipped.\n  queue.sort((a, b) => a.id - b.id);\n\n  // do not cache length because more watchers might be pushed\n  // as we run existing watchers\n  for (index$1 = 0; index$1 < queue.length; index$1++) {\n    watcher = queue[index$1];\n    if (watcher.before) {\n      watcher.before();\n    }\n    id = watcher.id;\n    has[id] = null;\n    watcher.run();\n    // in dev build, check and stop circular updates.\n    if (process.env.NODE_ENV !== 'production' && has[id] != null) {\n      circular[id] = (circular[id] || 0) + 1;\n      if (circular[id] > MAX_UPDATE_COUNT) {\n        warn$3('You may have an infinite update loop ' + (watcher.user ? `in watcher with expression \"${watcher.expression}\"` : `in a component render function.`), watcher.vm);\n        break;\n      }\n    }\n  }\n\n  // keep copies of post queues before resetting state\n  const activatedQueue = activatedChildren.slice();\n  const updatedQueue = queue.slice();\n  resetSchedulerState();\n\n  // call component updated and activated hooks\n  callActivatedHooks(activatedQueue);\n  callUpdatedHooks(updatedQueue);\n\n  // devtool hook\n  /* istanbul ignore if */\n  if (devtools && config.devtools) {\n    devtools.emit('flush');\n  }\n}\nfunction callUpdatedHooks(queue) {\n  let i = queue.length;\n  while (i--) {\n    const watcher = queue[i];\n    const vm = watcher.vm;\n    if (vm._watcher === watcher && vm._isMounted && !vm._isDestroyed) {\n      callHook$1(vm, 'updated');\n    }\n  }\n}\n\n/**\n * Queue a kept-alive component that was activated during patch.\n * The queue will be processed after the entire tree has been patched.\n */\nfunction queueActivatedComponent(vm) {\n  // setting _inactive to false here so that a render function can\n  // rely on checking whether it's in an inactive tree (e.g. router-view)\n  vm._inactive = false;\n  activatedChildren.push(vm);\n}\nfunction callActivatedHooks(queue) {\n  for (let i = 0; i < queue.length; i++) {\n    queue[i]._inactive = true;\n    activateChildComponent(queue[i], true /* true */);\n  }\n}\n\n/**\n * Push a watcher into the watcher queue.\n * Jobs with duplicate IDs will be skipped unless it's\n * pushed when the queue is being flushed.\n */\nfunction queueWatcher(watcher) {\n  const id = watcher.id;\n  if (has[id] == null) {\n    has[id] = true;\n    if (!flushing) {\n      queue.push(watcher);\n    } else {\n      // if already flushing, splice the watcher based on its id\n      // if already past its id, it will be run next immediately.\n      let i = queue.length - 1;\n      while (i > index$1 && queue[i].id > watcher.id) {\n        i--;\n      }\n      queue.splice(i + 1, 0, watcher);\n    }\n    // queue the flush\n    if (!waiting) {\n      waiting = true;\n      if (process.env.NODE_ENV !== 'production' && !config.async) {\n        flushSchedulerQueue();\n        return;\n      }\n      nextTick(flushSchedulerQueue);\n    }\n  }\n}\n\n/*  */\nlet uid$1 = 0;\n\n/**\n * A watcher parses an expression, collects dependencies,\n * and fires callback when the expression value changes.\n * This is used for both the $watch() api and directives.\n */\nclass Watcher {\n  constructor(vm, expOrFn, cb, options, isRenderWatcher) {\n    this.vm = vm;\n    if (isRenderWatcher) {\n      vm._watcher = this;\n    }\n    vm._watchers.push(this);\n    // options\n    if (options) {\n      this.deep = !!options.deep;\n      this.user = !!options.user;\n      this.lazy = !!options.lazy;\n      this.sync = !!options.sync;\n      this.before = options.before;\n    } else {\n      this.deep = this.user = this.lazy = this.sync = false;\n    }\n    this.cb = cb;\n    this.id = ++uid$1; // uid for batching\n    this.active = true;\n    this.dirty = this.lazy; // for lazy watchers\n    this.deps = [];\n    this.newDeps = [];\n    this.depIds = new _Set();\n    this.newDepIds = new _Set();\n    this.expression = process.env.NODE_ENV !== 'production' ? expOrFn.toString() : '';\n    // parse expression for getter\n    if (typeof expOrFn === 'function') {\n      this.getter = expOrFn;\n    } else {\n      this.getter = parsePath(expOrFn);\n      if (!this.getter) {\n        this.getter = noop;\n        process.env.NODE_ENV !== 'production' && warn$3(`Failed watching path: \"${expOrFn}\" ` + 'Watcher only accepts simple dot-delimited paths. ' + 'For full control, use a function instead.', vm);\n      }\n    }\n    this.value = this.lazy ? undefined : this.get();\n  }\n\n  /**\n   * Evaluate the getter, and re-collect dependencies.\n   */\n  get() {\n    pushTarget(this);\n    let value;\n    const vm = this.vm;\n    try {\n      value = this.getter.call(vm, vm);\n    } catch (e) {\n      if (this.user) {\n        handleError(e, vm, `getter for watcher \"${this.expression}\"`);\n      } else {\n        throw e;\n      }\n    } finally {\n      // \"touch\" every property so they are all tracked as\n      // dependencies for deep watching\n      if (this.deep) {\n        traverse(value);\n      }\n      popTarget();\n      this.cleanupDeps();\n    }\n    return value;\n  }\n\n  /**\n   * Add a dependency to this directive.\n   */\n  addDep(dep) {\n    const id = dep.id;\n    if (!this.newDepIds.has(id)) {\n      this.newDepIds.add(id);\n      this.newDeps.push(dep);\n      if (!this.depIds.has(id)) {\n        dep.addSub(this);\n      }\n    }\n  }\n\n  /**\n   * Clean up for dependency collection.\n   */\n  cleanupDeps() {\n    let i = this.deps.length;\n    while (i--) {\n      const dep = this.deps[i];\n      if (!this.newDepIds.has(dep.id)) {\n        dep.removeSub(this);\n      }\n    }\n    let tmp = this.depIds;\n    this.depIds = this.newDepIds;\n    this.newDepIds = tmp;\n    this.newDepIds.clear();\n    tmp = this.deps;\n    this.deps = this.newDeps;\n    this.newDeps = tmp;\n    this.newDeps.length = 0;\n  }\n\n  /**\n   * Subscriber interface.\n   * Will be called when a dependency changes.\n   */\n  update() {\n    /* istanbul ignore else */\n    if (this.lazy) {\n      this.dirty = true;\n    } else if (this.sync) {\n      this.run();\n    } else {\n      queueWatcher(this);\n    }\n  }\n\n  /**\n   * Scheduler job interface.\n   * Will be called by the scheduler.\n   */\n  run() {\n    if (this.active) {\n      const value = this.get();\n      if (value !== this.value ||\n      // Deep watchers and watchers on Object/Arrays should fire even\n      // when the value is the same, because the value may\n      // have mutated.\n      isObject(value) || this.deep) {\n        // set new value\n        const oldValue = this.value;\n        this.value = value;\n        if (this.user) {\n          const info = `callback for watcher \"${this.expression}\"`;\n          invokeWithErrorHandling(this.cb, this.vm, [value, oldValue], this.vm, info);\n        } else {\n          this.cb.call(this.vm, value, oldValue);\n        }\n      }\n    }\n  }\n\n  /**\n   * Evaluate the value of the watcher.\n   * This only gets called for lazy watchers.\n   */\n  evaluate() {\n    this.value = this.get();\n    this.dirty = false;\n  }\n\n  /**\n   * Depend on all deps collected by this watcher.\n   */\n  depend() {\n    let i = this.deps.length;\n    while (i--) {\n      this.deps[i].depend();\n    }\n  }\n\n  /**\n   * Remove self from all dependencies' subscriber list.\n   */\n  teardown() {\n    if (this.active) {\n      // remove self from vm's watcher list\n      // this is a somewhat expensive operation so we skip it\n      // if the vm is being destroyed.\n      if (!this.vm._isBeingDestroyed) {\n        remove$2(this.vm._watchers, this);\n      }\n      let i = this.deps.length;\n      while (i--) {\n        this.deps[i].removeSub(this);\n      }\n      this.active = false;\n    }\n  }\n}\n\n/*  */\nconst sharedPropertyDefinition = {\n  enumerable: true,\n  configurable: true,\n  get: noop,\n  set: noop\n};\nfunction proxy(target, sourceKey, key) {\n  sharedPropertyDefinition.get = function proxyGetter() {\n    return this[sourceKey][key];\n  };\n  sharedPropertyDefinition.set = function proxySetter(val) {\n    this[sourceKey][key] = val;\n  };\n  Object.defineProperty(target, key, sharedPropertyDefinition);\n}\nfunction initState(vm) {\n  vm._watchers = [];\n  const opts = vm.$options;\n  if (opts.props) initProps$2(vm, opts.props);\n  if (opts.methods) initMethods(vm, opts.methods);\n  if (opts.data) {\n    initData(vm);\n  } else {\n    observe(vm._data = {}, true /* asRootData */);\n  }\n\n  if (opts.computed) initComputed$2(vm, opts.computed);\n  if (opts.watch && opts.watch !== nativeWatch) {\n    initWatch(vm, opts.watch);\n  }\n}\nfunction initProps$2(vm, propsOptions) {\n  const propsData = vm.$options.propsData || {};\n  const props = vm._props = {};\n  // cache prop keys so that future props updates can iterate using Array\n  // instead of dynamic object key enumeration.\n  const keys = vm.$options._propKeys = [];\n  const isRoot = !vm.$parent;\n  // root instance props should be converted\n  if (!isRoot) {\n    toggleObserving(false);\n  }\n  for (const key in propsOptions) {\n    keys.push(key);\n    const value = validateProp(key, propsOptions, propsData, vm);\n    /* istanbul ignore else */\n    if (process.env.NODE_ENV !== 'production') {\n      const hyphenatedKey = hyphenate(key);\n      if (isReservedAttribute(hyphenatedKey) || config.isReservedAttr(hyphenatedKey)) {\n        warn$3(`\"${hyphenatedKey}\" is a reserved attribute and cannot be used as component prop.`, vm);\n      }\n      defineReactive(props, key, value, () => {\n        if (!isRoot && !isUpdatingChildComponent) {\n          warn$3(`Avoid mutating a prop directly since the value will be ` + `overwritten whenever the parent component re-renders. ` + `Instead, use a data or computed property based on the prop's ` + `value. Prop being mutated: \"${key}\"`, vm);\n        }\n      });\n    } else {\n      defineReactive(props, key, value);\n    }\n    // static props are already proxied on the component's prototype\n    // during Vue.extend(). We only need to proxy props defined at\n    // instantiation here.\n    if (!(key in vm)) {\n      proxy(vm, `_props`, key);\n    }\n  }\n  toggleObserving(true);\n}\nfunction initData(vm) {\n  let data = vm.$options.data;\n  data = vm._data = typeof data === 'function' ? getData(data, vm) : data || {};\n  if (!isPlainObject(data)) {\n    data = {};\n    process.env.NODE_ENV !== 'production' && warn$3('data functions should return an object:\\n' + 'https://vuejs.org/v2/guide/components.html#data-Must-Be-a-Function', vm);\n  }\n  // proxy data on instance\n  const keys = Object.keys(data);\n  const props = vm.$options.props;\n  const methods = vm.$options.methods;\n  let i = keys.length;\n  while (i--) {\n    const key = keys[i];\n    if (process.env.NODE_ENV !== 'production') {\n      if (methods && hasOwn(methods, key)) {\n        warn$3(`Method \"${key}\" has already been defined as a data property.`, vm);\n      }\n    }\n    if (props && hasOwn(props, key)) {\n      process.env.NODE_ENV !== 'production' && warn$3(`The data property \"${key}\" is already declared as a prop. ` + `Use prop default value instead.`, vm);\n    } else if (!isReserved(key)) {\n      proxy(vm, `_data`, key);\n    }\n  }\n  // observe data\n  observe(data, true /* asRootData */);\n}\n\nfunction getData(data, vm) {\n  // #7573 disable dep collection when invoking data getters\n  pushTarget();\n  try {\n    return data.call(vm, vm);\n  } catch (e) {\n    handleError(e, vm, `data()`);\n    return {};\n  } finally {\n    popTarget();\n  }\n}\nconst computedWatcherOptions = {\n  lazy: true\n};\nfunction initComputed$2(vm, computed) {\n  // $flow-disable-line\n  const watchers = vm._computedWatchers = Object.create(null);\n  for (const key in computed) {\n    const userDef = computed[key];\n    const getter = typeof userDef === 'function' ? userDef : userDef.get;\n    if (process.env.NODE_ENV !== 'production' && getter == null) {\n      warn$3(`Getter is missing for computed property \"${key}\".`, vm);\n    }\n    {\n      // create internal watcher for the computed property.\n      watchers[key] = new Watcher(vm, getter || noop, noop, computedWatcherOptions);\n    }\n\n    // component-defined computed properties are already defined on the\n    // component prototype. We only need to define computed properties defined\n    // at instantiation here.\n    if (!(key in vm)) {\n      defineComputed(vm, key, userDef);\n    } else if (process.env.NODE_ENV !== 'production') {\n      if (key in vm.$data) {\n        warn$3(`The computed property \"${key}\" is already defined in data.`, vm);\n      } else if (vm.$options.props && key in vm.$options.props) {\n        warn$3(`The computed property \"${key}\" is already defined as a prop.`, vm);\n      } else if (vm.$options.methods && key in vm.$options.methods) {\n        warn$3(`The computed property \"${key}\" is already defined as a method.`, vm);\n      }\n    }\n  }\n}\nfunction defineComputed(target, key, userDef) {\n  if (typeof userDef === 'function') {\n    sharedPropertyDefinition.get = createComputedGetter(key) ;\n    sharedPropertyDefinition.set = noop;\n  } else {\n    sharedPropertyDefinition.get = userDef.get ? userDef.cache !== false ? createComputedGetter(key) : createGetterInvoker(userDef.get) : noop;\n    sharedPropertyDefinition.set = userDef.set || noop;\n  }\n  if (process.env.NODE_ENV !== 'production' && sharedPropertyDefinition.set === noop) {\n    sharedPropertyDefinition.set = function () {\n      warn$3(`Computed property \"${key}\" was assigned to but it has no setter.`, this);\n    };\n  }\n  Object.defineProperty(target, key, sharedPropertyDefinition);\n}\nfunction createComputedGetter(key) {\n  return function computedGetter() {\n    const watcher = this._computedWatchers && this._computedWatchers[key];\n    if (watcher) {\n      if (watcher.dirty) {\n        watcher.evaluate();\n      }\n      if (Dep.target) {\n        watcher.depend();\n      }\n      return watcher.value;\n    }\n  };\n}\nfunction createGetterInvoker(fn) {\n  return function computedGetter() {\n    return fn.call(this, this);\n  };\n}\nfunction initMethods(vm, methods) {\n  const props = vm.$options.props;\n  for (const key in methods) {\n    if (process.env.NODE_ENV !== 'production') {\n      if (typeof methods[key] !== 'function') {\n        warn$3(`Method \"${key}\" has type \"${typeof methods[key]}\" in the component definition. ` + `Did you reference the function correctly?`, vm);\n      }\n      if (props && hasOwn(props, key)) {\n        warn$3(`Method \"${key}\" has already been defined as a prop.`, vm);\n      }\n      if (key in vm && isReserved(key)) {\n        warn$3(`Method \"${key}\" conflicts with an existing Vue instance method. ` + `Avoid defining component methods that start with _ or $.`);\n      }\n    }\n    vm[key] = typeof methods[key] !== 'function' ? noop : bind$1(methods[key], vm);\n  }\n}\nfunction initWatch(vm, watch) {\n  for (const key in watch) {\n    const handler = watch[key];\n    if (Array.isArray(handler)) {\n      for (let i = 0; i < handler.length; i++) {\n        createWatcher(vm, key, handler[i]);\n      }\n    } else {\n      createWatcher(vm, key, handler);\n    }\n  }\n}\nfunction createWatcher(vm, expOrFn, handler, options) {\n  if (isPlainObject(handler)) {\n    options = handler;\n    handler = handler.handler;\n  }\n  if (typeof handler === 'string') {\n    handler = vm[handler];\n  }\n  return vm.$watch(expOrFn, handler, options);\n}\nfunction stateMixin(Vue) {\n  // flow somehow has problems with directly declared definition object\n  // when using Object.defineProperty, so we have to procedurally build up\n  // the object here.\n  const dataDef = {};\n  dataDef.get = function () {\n    return this._data;\n  };\n  const propsDef = {};\n  propsDef.get = function () {\n    return this._props;\n  };\n  if (process.env.NODE_ENV !== 'production') {\n    dataDef.set = function () {\n      warn$3('Avoid replacing instance root $data. ' + 'Use nested data properties instead.', this);\n    };\n    propsDef.set = function () {\n      warn$3(`$props is readonly.`, this);\n    };\n  }\n  Object.defineProperty(Vue.prototype, '$data', dataDef);\n  Object.defineProperty(Vue.prototype, '$props', propsDef);\n  Vue.prototype.$set = set;\n  Vue.prototype.$delete = del;\n  Vue.prototype.$watch = function (expOrFn, cb, options) {\n    const vm = this;\n    if (isPlainObject(cb)) {\n      return createWatcher(vm, expOrFn, cb, options);\n    }\n    options = options || {};\n    options.user = true;\n    const watcher = new Watcher(vm, expOrFn, cb, options);\n    if (options.immediate) {\n      const info = `callback for immediate watcher \"${watcher.expression}\"`;\n      pushTarget();\n      invokeWithErrorHandling(cb, vm, [watcher.value], vm, info);\n      popTarget();\n    }\n    return function unwatchFn() {\n      watcher.teardown();\n    };\n  };\n}\n\n/*  */\nlet uid = 0;\nfunction initMixin$1(Vue) {\n  Vue.prototype._init = function (options) {\n    const vm = this;\n    // a uid\n    vm._uid = uid++;\n    let startTag, endTag;\n    /* istanbul ignore if */\n    if (process.env.NODE_ENV !== 'production' && config.performance && mark) {\n      startTag = `vue-perf-start:${vm._uid}`;\n      endTag = `vue-perf-end:${vm._uid}`;\n      mark(startTag);\n    }\n\n    // a flag to avoid this being observed\n    vm._isVue = true;\n    // merge options\n    if (options && options._isComponent) {\n      // optimize internal component instantiation\n      // since dynamic options merging is pretty slow, and none of the\n      // internal component options needs special treatment.\n      initInternalComponent(vm, options);\n    } else {\n      vm.$options = mergeOptions(resolveConstructorOptions(vm.constructor), options || {}, vm);\n    }\n    /* istanbul ignore else */\n    if (process.env.NODE_ENV !== 'production') {\n      initProxy(vm);\n    } else {\n      vm._renderProxy = vm;\n    }\n    // expose real self\n    vm._self = vm;\n    initLifecycle(vm);\n    initEvents(vm);\n    initRender(vm);\n    callHook$1(vm, 'beforeCreate');\n    initInjections(vm); // resolve injections before data/props\n    initState(vm);\n    initProvide(vm); // resolve provide after data/props\n    callHook$1(vm, 'created');\n\n    /* istanbul ignore if */\n    if (process.env.NODE_ENV !== 'production' && config.performance && mark) {\n      vm._name = formatComponentName(vm, false);\n      mark(endTag);\n      measure(`vue ${vm._name} init`, startTag, endTag);\n    }\n    if (vm.$options.el) {\n      vm.$mount(vm.$options.el);\n    }\n  };\n}\nfunction initInternalComponent(vm, options) {\n  const opts = vm.$options = Object.create(vm.constructor.options);\n  // doing this because it's faster than dynamic enumeration.\n  const parentVnode = options._parentVnode;\n  opts.parent = options.parent;\n  opts._parentVnode = parentVnode;\n  const vnodeComponentOptions = parentVnode.componentOptions;\n  opts.propsData = vnodeComponentOptions.propsData;\n  opts._parentListeners = vnodeComponentOptions.listeners;\n  opts._renderChildren = vnodeComponentOptions.children;\n  opts._componentTag = vnodeComponentOptions.tag;\n  if (options.render) {\n    opts.render = options.render;\n    opts.staticRenderFns = options.staticRenderFns;\n  }\n}\nfunction resolveConstructorOptions(Ctor) {\n  let options = Ctor.options;\n  if (Ctor.super) {\n    const superOptions = resolveConstructorOptions(Ctor.super);\n    const cachedSuperOptions = Ctor.superOptions;\n    if (superOptions !== cachedSuperOptions) {\n      // super option changed,\n      // need to resolve new options.\n      Ctor.superOptions = superOptions;\n      // check if there are any late-modified/attached options (#4976)\n      const modifiedOptions = resolveModifiedOptions(Ctor);\n      // update base extend options\n      if (modifiedOptions) {\n        extend(Ctor.extendOptions, modifiedOptions);\n      }\n      options = Ctor.options = mergeOptions(superOptions, Ctor.extendOptions);\n      if (options.name) {\n        options.components[options.name] = Ctor;\n      }\n    }\n  }\n  return options;\n}\nfunction resolveModifiedOptions(Ctor) {\n  let modified;\n  const latest = Ctor.options;\n  const sealed = Ctor.sealedOptions;\n  for (const key in latest) {\n    if (latest[key] !== sealed[key]) {\n      if (!modified) modified = {};\n      modified[key] = latest[key];\n    }\n  }\n  return modified;\n}\n\nfunction Vue(options) {\n  if (process.env.NODE_ENV !== 'production' && !(this instanceof Vue)) {\n    warn$3('Vue is a constructor and should be called with the `new` keyword');\n  }\n  this._init(options);\n}\ninitMixin$1(Vue);\nstateMixin(Vue);\neventsMixin(Vue);\nlifecycleMixin(Vue);\nrenderMixin(Vue);\n\n/*  */\nfunction initUse(Vue) {\n  Vue.use = function (plugin) {\n    const installedPlugins = this._installedPlugins || (this._installedPlugins = []);\n    if (installedPlugins.indexOf(plugin) > -1) {\n      return this;\n    }\n\n    // additional parameters\n    const args = toArray(arguments, 1);\n    args.unshift(this);\n    if (typeof plugin.install === 'function') {\n      plugin.install.apply(plugin, args);\n    } else if (typeof plugin === 'function') {\n      plugin.apply(null, args);\n    }\n    installedPlugins.push(plugin);\n    return this;\n  };\n}\n\n/*  */\nfunction initMixin(Vue) {\n  Vue.mixin = function (mixin) {\n    this.options = mergeOptions(this.options, mixin);\n    return this;\n  };\n}\n\n/*  */\nfunction initExtend(Vue) {\n  /**\n   * Each instance constructor, including Vue, has a unique\n   * cid. This enables us to create wrapped \"child\n   * constructors\" for prototypal inheritance and cache them.\n   */\n  Vue.cid = 0;\n  let cid = 1;\n\n  /**\n   * Class inheritance\n   */\n  Vue.extend = function (extendOptions) {\n    extendOptions = extendOptions || {};\n    const Super = this;\n    const SuperId = Super.cid;\n    const cachedCtors = extendOptions._Ctor || (extendOptions._Ctor = {});\n    if (cachedCtors[SuperId]) {\n      return cachedCtors[SuperId];\n    }\n    const name = extendOptions.name || Super.options.name;\n    if (process.env.NODE_ENV !== 'production' && name) {\n      validateComponentName(name);\n    }\n    const Sub = function VueComponent(options) {\n      this._init(options);\n    };\n    Sub.prototype = Object.create(Super.prototype);\n    Sub.prototype.constructor = Sub;\n    Sub.cid = cid++;\n    Sub.options = mergeOptions(Super.options, extendOptions);\n    Sub['super'] = Super;\n\n    // For props and computed properties, we define the proxy getters on\n    // the Vue instances at extension time, on the extended prototype. This\n    // avoids Object.defineProperty calls for each instance created.\n    if (Sub.options.props) {\n      initProps$1(Sub);\n    }\n    if (Sub.options.computed) {\n      initComputed$1(Sub);\n    }\n\n    // allow further extension/mixin/plugin usage\n    Sub.extend = Super.extend;\n    Sub.mixin = Super.mixin;\n    Sub.use = Super.use;\n\n    // create asset registers, so extended classes\n    // can have their private assets too.\n    ASSET_TYPES.forEach(function (type) {\n      Sub[type] = Super[type];\n    });\n    // enable recursive self-lookup\n    if (name) {\n      Sub.options.components[name] = Sub;\n    }\n\n    // keep a reference to the super options at extension time.\n    // later at instantiation we can check if Super's options have\n    // been updated.\n    Sub.superOptions = Super.options;\n    Sub.extendOptions = extendOptions;\n    Sub.sealedOptions = extend({}, Sub.options);\n\n    // cache constructor\n    cachedCtors[SuperId] = Sub;\n    return Sub;\n  };\n}\nfunction initProps$1(Comp) {\n  const props = Comp.options.props;\n  for (const key in props) {\n    proxy(Comp.prototype, `_props`, key);\n  }\n}\nfunction initComputed$1(Comp) {\n  const computed = Comp.options.computed;\n  for (const key in computed) {\n    defineComputed(Comp.prototype, key, computed[key]);\n  }\n}\n\n/*  */\nfunction initAssetRegisters(Vue) {\n  /**\n   * Create asset registration methods.\n   */\n  ASSET_TYPES.forEach(type => {\n    Vue[type] = function (id, definition) {\n      if (!definition) {\n        return this.options[type + 's'][id];\n      } else {\n        /* istanbul ignore if */\n        if (process.env.NODE_ENV !== 'production' && type === 'component') {\n          validateComponentName(id);\n        }\n        if (type === 'component' && isPlainObject(definition)) {\n          definition.name = definition.name || id;\n          definition = this.options._base.extend(definition);\n        }\n        if (type === 'directive' && typeof definition === 'function') {\n          definition = {\n            bind: definition,\n            update: definition\n          };\n        }\n        this.options[type + 's'][id] = definition;\n        return definition;\n      }\n    };\n  });\n}\n\n/*  */\nfunction getComponentName(opts) {\n  return opts && (opts.Ctor.options.name || opts.tag);\n}\nfunction matches(pattern, name) {\n  if (Array.isArray(pattern)) {\n    return pattern.indexOf(name) > -1;\n  } else if (typeof pattern === 'string') {\n    return pattern.split(',').indexOf(name) > -1;\n  } else if (isRegExp(pattern)) {\n    return pattern.test(name);\n  }\n  /* istanbul ignore next */\n  return false;\n}\nfunction pruneCache(keepAliveInstance, filter) {\n  const {\n    cache,\n    keys,\n    _vnode\n  } = keepAliveInstance;\n  for (const key in cache) {\n    const entry = cache[key];\n    if (entry) {\n      const name = entry.name;\n      if (name && !filter(name)) {\n        pruneCacheEntry(cache, key, keys, _vnode);\n      }\n    }\n  }\n}\nfunction pruneCacheEntry(cache, key, keys, current) {\n  const entry = cache[key];\n  if (entry && (!current || entry.tag !== current.tag)) {\n    entry.componentInstance.$destroy();\n  }\n  cache[key] = null;\n  remove$2(keys, key);\n}\nconst patternTypes = [String, RegExp, Array];\nvar KeepAlive = {\n  name: 'keep-alive',\n  abstract: true,\n  props: {\n    include: patternTypes,\n    exclude: patternTypes,\n    max: [String, Number]\n  },\n  methods: {\n    cacheVNode() {\n      const {\n        cache,\n        keys,\n        vnodeToCache,\n        keyToCache\n      } = this;\n      if (vnodeToCache) {\n        const {\n          tag,\n          componentInstance,\n          componentOptions\n        } = vnodeToCache;\n        cache[keyToCache] = {\n          name: getComponentName(componentOptions),\n          tag,\n          componentInstance\n        };\n        keys.push(keyToCache);\n        // prune oldest entry\n        if (this.max && keys.length > parseInt(this.max)) {\n          pruneCacheEntry(cache, keys[0], keys, this._vnode);\n        }\n        this.vnodeToCache = null;\n      }\n    }\n  },\n  created() {\n    this.cache = Object.create(null);\n    this.keys = [];\n  },\n  destroyed() {\n    for (const key in this.cache) {\n      pruneCacheEntry(this.cache, key, this.keys);\n    }\n  },\n  mounted() {\n    this.cacheVNode();\n    this.$watch('include', val => {\n      pruneCache(this, name => matches(val, name));\n    });\n    this.$watch('exclude', val => {\n      pruneCache(this, name => !matches(val, name));\n    });\n  },\n  updated() {\n    this.cacheVNode();\n  },\n  render() {\n    const slot = this.$slots.default;\n    const vnode = getFirstComponentChild(slot);\n    const componentOptions = vnode && vnode.componentOptions;\n    if (componentOptions) {\n      // check pattern\n      const name = getComponentName(componentOptions);\n      const {\n        include,\n        exclude\n      } = this;\n      if (\n      // not included\n      include && (!name || !matches(include, name)) ||\n      // excluded\n      exclude && name && matches(exclude, name)) {\n        return vnode;\n      }\n      const {\n        cache,\n        keys\n      } = this;\n      const key = vnode.key == null\n      // same constructor may get registered as different local components\n      // so cid alone is not enough (#3269)\n      ? componentOptions.Ctor.cid + (componentOptions.tag ? `::${componentOptions.tag}` : '') : vnode.key;\n      if (cache[key]) {\n        vnode.componentInstance = cache[key].componentInstance;\n        // make current key freshest\n        remove$2(keys, key);\n        keys.push(key);\n      } else {\n        // delay setting the cache until update\n        this.vnodeToCache = vnode;\n        this.keyToCache = key;\n      }\n      vnode.data.keepAlive = true;\n    }\n    return vnode || slot && slot[0];\n  }\n};\n\nvar builtInComponents = {\n  KeepAlive\n};\n\n/*  */\nfunction initGlobalAPI(Vue) {\n  // config\n  const configDef = {};\n  configDef.get = () => config;\n  if (process.env.NODE_ENV !== 'production') {\n    configDef.set = () => {\n      warn$3('Do not replace the Vue.config object, set individual fields instead.');\n    };\n  }\n  Object.defineProperty(Vue, 'config', configDef);\n\n  // exposed util methods.\n  // NOTE: these are not considered part of the public API - avoid relying on\n  // them unless you are aware of the risk.\n  Vue.util = {\n    warn: warn$3,\n    extend,\n    mergeOptions,\n    defineReactive\n  };\n  Vue.set = set;\n  Vue.delete = del;\n  Vue.nextTick = nextTick;\n\n  // 2.6 explicit observable API\n  Vue.observable = obj => {\n    observe(obj);\n    return obj;\n  };\n  Vue.options = Object.create(null);\n  ASSET_TYPES.forEach(type => {\n    Vue.options[type + 's'] = Object.create(null);\n  });\n\n  // this is used to identify the \"base\" constructor to extend all plain-object\n  // components with in Weex's multi-instance scenarios.\n  Vue.options._base = Vue;\n  extend(Vue.options.components, builtInComponents);\n  initUse(Vue);\n  initMixin(Vue);\n  initExtend(Vue);\n  initAssetRegisters(Vue);\n}\n\ninitGlobalAPI(Vue);\nObject.defineProperty(Vue.prototype, '$isServer', {\n  get: isServerRendering\n});\nObject.defineProperty(Vue.prototype, '$ssrContext', {\n  get() {\n    /* istanbul ignore next */\n    return this.$vnode && this.$vnode.ssrContext;\n  }\n});\n\n// expose FunctionalRenderContext for ssr runtime helper installation\nObject.defineProperty(Vue, 'FunctionalRenderContext', {\n  value: FunctionalRenderContext\n});\nVue.version = '2.6.14';\n\n/*  */\n\n// these are reserved for web because they are directly compiled away\n// during template compilation\nmakeMap('style,class');\n\n// attributes that should be using props for binding\nconst acceptValue = makeMap('input,textarea,option,select,progress');\nconst mustUseProp$1 = (tag, type, attr) => {\n  return attr === 'value' && acceptValue(tag) && type !== 'button' || attr === 'selected' && tag === 'option' || attr === 'checked' && tag === 'input' || attr === 'muted' && tag === 'video';\n};\nmakeMap('contenteditable,draggable,spellcheck');\nmakeMap('events,caret,typing,plaintext-only');\nmakeMap('allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,' + 'default,defaultchecked,defaultmuted,defaultselected,defer,disabled,' + 'enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,' + 'muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,' + 'required,reversed,scoped,seamless,selected,sortable,' + 'truespeed,typemustmatch,visible');\n\n/*  */\nfunction genClassForVnode(vnode) {\n  let data = vnode.data;\n  let parentNode = vnode;\n  let childNode = vnode;\n  while (isDef(childNode.componentInstance)) {\n    childNode = childNode.componentInstance._vnode;\n    if (childNode && childNode.data) {\n      data = mergeClassData(childNode.data, data);\n    }\n  }\n  while (isDef(parentNode = parentNode.parent)) {\n    if (parentNode && parentNode.data) {\n      data = mergeClassData(data, parentNode.data);\n    }\n  }\n  return renderClass(data.staticClass, data.class);\n}\nfunction mergeClassData(child, parent) {\n  return {\n    staticClass: concat(child.staticClass, parent.staticClass),\n    class: isDef(child.class) ? [child.class, parent.class] : parent.class\n  };\n}\nfunction renderClass(staticClass, dynamicClass) {\n  if (isDef(staticClass) || isDef(dynamicClass)) {\n    return concat(staticClass, stringifyClass(dynamicClass));\n  }\n  /* istanbul ignore next */\n  return '';\n}\nfunction concat(a, b) {\n  return a ? b ? a + ' ' + b : a : b || '';\n}\nfunction stringifyClass(value) {\n  if (Array.isArray(value)) {\n    return stringifyArray(value);\n  }\n  if (isObject(value)) {\n    return stringifyObject(value);\n  }\n  if (typeof value === 'string') {\n    return value;\n  }\n  /* istanbul ignore next */\n  return '';\n}\nfunction stringifyArray(value) {\n  let res = '';\n  let stringified;\n  for (let i = 0, l = value.length; i < l; i++) {\n    if (isDef(stringified = stringifyClass(value[i])) && stringified !== '') {\n      if (res) res += ' ';\n      res += stringified;\n    }\n  }\n  return res;\n}\nfunction stringifyObject(value) {\n  let res = '';\n  for (const key in value) {\n    if (value[key]) {\n      if (res) res += ' ';\n      res += key;\n    }\n  }\n  return res;\n}\n\n/*  */\nconst isHTMLTag = makeMap('html,body,base,head,link,meta,style,title,' + 'address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,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,rtc,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,menuitem,summary,' + 'content,element,shadow,template,blockquote,iframe,tfoot');\n\n// this map is intentionally selective, only covering SVG elements that may\n// contain child elements.\nconst isSVG = makeMap('svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,' + 'foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,' + 'polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view', true);\nconst isPreTag = tag => tag === 'pre';\nconst isReservedTag$1 = tag => {\n  return isHTMLTag(tag) || isSVG(tag);\n};\nfunction getTagNamespace(tag) {\n  if (isSVG(tag)) {\n    return 'svg';\n  }\n  // basic support for MathML\n  // note it doesn't support other MathML elements being component roots\n  if (tag === 'math') {\n    return 'math';\n  }\n}\nconst isTextInputType = makeMap('text,number,password,search,email,tel,url');\n\n/*  */\n\nconst validDivisionCharRE = /[\\w).+\\-_$\\]]/;\nfunction parseFilters(exp) {\n  let inSingle = false;\n  let inDouble = false;\n  let inTemplateString = false;\n  let inRegex = false;\n  let curly = 0;\n  let square = 0;\n  let paren = 0;\n  let lastFilterIndex = 0;\n  let c, prev, i, expression, filters;\n  for (i = 0; i < exp.length; i++) {\n    prev = c;\n    c = exp.charCodeAt(i);\n    if (inSingle) {\n      if (c === 0x27 && prev !== 0x5C) inSingle = false;\n    } else if (inDouble) {\n      if (c === 0x22 && prev !== 0x5C) inDouble = false;\n    } else if (inTemplateString) {\n      if (c === 0x60 && prev !== 0x5C) inTemplateString = false;\n    } else if (inRegex) {\n      if (c === 0x2f && prev !== 0x5C) inRegex = false;\n    } else if (c === 0x7C &&\n    // pipe\n    exp.charCodeAt(i + 1) !== 0x7C && exp.charCodeAt(i - 1) !== 0x7C && !curly && !square && !paren) {\n      if (expression === undefined) {\n        // first filter, end of expression\n        lastFilterIndex = i + 1;\n        expression = exp.slice(0, i).trim();\n      } else {\n        pushFilter();\n      }\n    } else {\n      switch (c) {\n        case 0x22:\n          inDouble = true;\n          break;\n        // \"\n        case 0x27:\n          inSingle = true;\n          break;\n        // '\n        case 0x60:\n          inTemplateString = true;\n          break;\n        // `\n        case 0x28:\n          paren++;\n          break;\n        // (\n        case 0x29:\n          paren--;\n          break;\n        // )\n        case 0x5B:\n          square++;\n          break;\n        // [\n        case 0x5D:\n          square--;\n          break;\n        // ]\n        case 0x7B:\n          curly++;\n          break;\n        // {\n        case 0x7D:\n          curly--;\n          break;\n        // }\n      }\n\n      if (c === 0x2f) {\n        // /\n        let j = i - 1;\n        let p;\n        // find first non-whitespace prev char\n        for (; j >= 0; j--) {\n          p = exp.charAt(j);\n          if (p !== ' ') break;\n        }\n        if (!p || !validDivisionCharRE.test(p)) {\n          inRegex = true;\n        }\n      }\n    }\n  }\n  if (expression === undefined) {\n    expression = exp.slice(0, i).trim();\n  } else if (lastFilterIndex !== 0) {\n    pushFilter();\n  }\n  function pushFilter() {\n    (filters || (filters = [])).push(exp.slice(lastFilterIndex, i).trim());\n    lastFilterIndex = i + 1;\n  }\n  if (filters) {\n    for (i = 0; i < filters.length; i++) {\n      expression = wrapFilter(expression, filters[i]);\n    }\n  }\n  return expression;\n}\nfunction wrapFilter(exp, filter) {\n  const i = filter.indexOf('(');\n  if (i < 0) {\n    // _f: resolveFilter\n    return `_f(\"${filter}\")(${exp})`;\n  } else {\n    const name = filter.slice(0, i);\n    const args = filter.slice(i + 1);\n    return `_f(\"${name}\")(${exp}${args !== ')' ? ',' + args : args}`;\n  }\n}\n\n/*  */\nconst defaultTagRE = /\\{\\{((?:.|\\r?\\n)+?)\\}\\}/g;\nconst regexEscapeRE = /[-.*+?^${}()|[\\]\\/\\\\]/g;\nconst buildRegex = cached(delimiters => {\n  const open = delimiters[0].replace(regexEscapeRE, '\\\\$&');\n  const close = delimiters[1].replace(regexEscapeRE, '\\\\$&');\n  return new RegExp(open + '((?:.|\\\\n)+?)' + close, 'g');\n});\nfunction parseText(text, delimiters) {\n  const tagRE = delimiters ? buildRegex(delimiters) : defaultTagRE;\n  if (!tagRE.test(text)) {\n    return;\n  }\n  const tokens = [];\n  const rawTokens = [];\n  let lastIndex = tagRE.lastIndex = 0;\n  let match, index, tokenValue;\n  while (match = tagRE.exec(text)) {\n    index = match.index;\n    // push text token\n    if (index > lastIndex) {\n      rawTokens.push(tokenValue = text.slice(lastIndex, index));\n      tokens.push(JSON.stringify(tokenValue));\n    }\n    // tag token\n    const exp = parseFilters(match[1].trim());\n    tokens.push(`_s(${exp})`);\n    rawTokens.push({\n      '@binding': exp\n    });\n    lastIndex = index + match[0].length;\n  }\n  if (lastIndex < text.length) {\n    rawTokens.push(tokenValue = text.slice(lastIndex));\n    tokens.push(JSON.stringify(tokenValue));\n  }\n  return {\n    expression: tokens.join('+'),\n    tokens: rawTokens\n  };\n}\n\n/*  */\n\n/* eslint-disable no-unused-vars */\nfunction baseWarn(msg, range) {\n  console.error(`[Vue compiler]: ${msg}`);\n}\n/* eslint-enable no-unused-vars */\n\nfunction pluckModuleFunction(modules, key) {\n  return modules ? modules.map(m => m[key]).filter(_ => _) : [];\n}\nfunction addProp(el, name, value, range, dynamic) {\n  (el.props || (el.props = [])).push(rangeSetItem({\n    name,\n    value,\n    dynamic\n  }, range));\n  el.plain = false;\n}\nfunction addAttr(el, name, value, range, dynamic) {\n  const attrs = dynamic ? el.dynamicAttrs || (el.dynamicAttrs = []) : el.attrs || (el.attrs = []);\n  attrs.push(rangeSetItem({\n    name,\n    value,\n    dynamic\n  }, range));\n  el.plain = false;\n}\n\n// add a raw attr (use this in preTransforms)\nfunction addRawAttr(el, name, value, range) {\n  el.attrsMap[name] = value;\n  el.attrsList.push(rangeSetItem({\n    name,\n    value\n  }, range));\n}\nfunction addDirective(el, name, rawName, value, arg, isDynamicArg, modifiers, range) {\n  (el.directives || (el.directives = [])).push(rangeSetItem({\n    name,\n    rawName,\n    value,\n    arg,\n    isDynamicArg,\n    modifiers\n  }, range));\n  el.plain = false;\n}\nfunction prependModifierMarker(symbol, name, dynamic) {\n  return dynamic ? `_p(${name},\"${symbol}\")` : symbol + name; // mark the event as captured\n}\n\nfunction addHandler(el, name, value, modifiers, important, warn, range, dynamic) {\n  modifiers = modifiers || emptyObject;\n  // warn prevent and passive modifier\n  /* istanbul ignore if */\n  if (process.env.NODE_ENV !== 'production' && warn && modifiers.prevent && modifiers.passive) {\n    warn('passive and prevent can\\'t be used together. ' + 'Passive handler can\\'t prevent default event.', range);\n  }\n\n  // normalize click.right and click.middle since they don't actually fire\n  // this is technically browser-specific, but at least for now browsers are\n  // the only target envs that have right/middle clicks.\n  if (modifiers.right) {\n    if (dynamic) {\n      name = `(${name})==='click'?'contextmenu':(${name})`;\n    } else if (name === 'click') {\n      name = 'contextmenu';\n      delete modifiers.right;\n    }\n  } else if (modifiers.middle) {\n    if (dynamic) {\n      name = `(${name})==='click'?'mouseup':(${name})`;\n    } else if (name === 'click') {\n      name = 'mouseup';\n    }\n  }\n\n  // check capture modifier\n  if (modifiers.capture) {\n    delete modifiers.capture;\n    name = prependModifierMarker('!', name, dynamic);\n  }\n  if (modifiers.once) {\n    delete modifiers.once;\n    name = prependModifierMarker('~', name, dynamic);\n  }\n  /* istanbul ignore if */\n  if (modifiers.passive) {\n    delete modifiers.passive;\n    name = prependModifierMarker('&', name, dynamic);\n  }\n  let events;\n  if (modifiers.native) {\n    delete modifiers.native;\n    events = el.nativeEvents || (el.nativeEvents = {});\n  } else {\n    events = el.events || (el.events = {});\n  }\n  const newHandler = rangeSetItem({\n    value: value.trim(),\n    dynamic\n  }, range);\n  if (modifiers !== emptyObject) {\n    newHandler.modifiers = modifiers;\n  }\n  const handlers = events[name];\n  /* istanbul ignore if */\n  if (Array.isArray(handlers)) {\n    important ? handlers.unshift(newHandler) : handlers.push(newHandler);\n  } else if (handlers) {\n    events[name] = important ? [newHandler, handlers] : [handlers, newHandler];\n  } else {\n    events[name] = newHandler;\n  }\n  el.plain = false;\n}\nfunction getRawBindingAttr(el, name) {\n  return el.rawAttrsMap[':' + name] || el.rawAttrsMap['v-bind:' + name] || el.rawAttrsMap[name];\n}\nfunction getBindingAttr(el, name, getStatic) {\n  const dynamicValue = getAndRemoveAttr(el, ':' + name) || getAndRemoveAttr(el, 'v-bind:' + name);\n  if (dynamicValue != null) {\n    return parseFilters(dynamicValue);\n  } else if (getStatic !== false) {\n    const staticValue = getAndRemoveAttr(el, name);\n    if (staticValue != null) {\n      return JSON.stringify(staticValue);\n    }\n  }\n}\n\n// note: this only removes the attr from the Array (attrsList) so that it\n// doesn't get processed by processAttrs.\n// By default it does NOT remove it from the map (attrsMap) because the map is\n// needed during codegen.\nfunction getAndRemoveAttr(el, name, removeFromMap) {\n  let val;\n  if ((val = el.attrsMap[name]) != null) {\n    const list = el.attrsList;\n    for (let i = 0, l = list.length; i < l; i++) {\n      if (list[i].name === name) {\n        list.splice(i, 1);\n        break;\n      }\n    }\n  }\n  if (removeFromMap) {\n    delete el.attrsMap[name];\n  }\n  return val;\n}\nfunction getAndRemoveAttrByRegex(el, name) {\n  const list = el.attrsList;\n  for (let i = 0, l = list.length; i < l; i++) {\n    const attr = list[i];\n    if (name.test(attr.name)) {\n      list.splice(i, 1);\n      return attr;\n    }\n  }\n}\nfunction rangeSetItem(item, range) {\n  if (range) {\n    if (range.start != null) {\n      item.start = range.start;\n    }\n    if (range.end != null) {\n      item.end = range.end;\n    }\n  }\n  return item;\n}\n\n/*  */\nfunction transformNode$1(el, options) {\n  const warn = options.warn || baseWarn;\n  const staticClass = getAndRemoveAttr(el, 'class');\n  if (process.env.NODE_ENV !== 'production' && staticClass) {\n    const res = parseText(staticClass, options.delimiters);\n    if (res) {\n      warn(`class=\"${staticClass}\": ` + 'Interpolation inside attributes has been removed. ' + 'Use v-bind or the colon shorthand instead. For example, ' + 'instead of <div class=\"{{ val }}\">, use <div :class=\"val\">.', el.rawAttrsMap['class']);\n    }\n  }\n  if (staticClass) {\n    el.staticClass = JSON.stringify(staticClass);\n  }\n  const classBinding = getBindingAttr(el, 'class', false /* getStatic */);\n  if (classBinding) {\n    el.classBinding = classBinding;\n  }\n}\nfunction genData$2(el) {\n  let data = '';\n  if (el.staticClass) {\n    data += `staticClass:${el.staticClass},`;\n  }\n  if (el.classBinding) {\n    data += `class:${el.classBinding},`;\n  }\n  return data;\n}\nvar klass = {\n  staticKeys: ['staticClass'],\n  transformNode: transformNode$1,\n  genData: genData$2\n};\n\n/*  */\nconst parseStyleText = cached(function (cssText) {\n  const res = {};\n  const listDelimiter = /;(?![^(]*\\))/g;\n  const propertyDelimiter = /:(.+)/;\n  cssText.split(listDelimiter).forEach(function (item) {\n    if (item) {\n      const tmp = item.split(propertyDelimiter);\n      tmp.length > 1 && (res[tmp[0].trim()] = tmp[1].trim());\n    }\n  });\n  return res;\n});\n\n/*  */\nfunction transformNode(el, options) {\n  const warn = options.warn || baseWarn;\n  const staticStyle = getAndRemoveAttr(el, 'style');\n  if (staticStyle) {\n    /* istanbul ignore if */\n    if (process.env.NODE_ENV !== 'production') {\n      const res = parseText(staticStyle, options.delimiters);\n      if (res) {\n        warn(`style=\"${staticStyle}\": ` + 'Interpolation inside attributes has been removed. ' + 'Use v-bind or the colon shorthand instead. For example, ' + 'instead of <div style=\"{{ val }}\">, use <div :style=\"val\">.', el.rawAttrsMap['style']);\n      }\n    }\n    el.staticStyle = JSON.stringify(parseStyleText(staticStyle));\n  }\n  const styleBinding = getBindingAttr(el, 'style', false /* getStatic */);\n  if (styleBinding) {\n    el.styleBinding = styleBinding;\n  }\n}\nfunction genData$1(el) {\n  let data = '';\n  if (el.staticStyle) {\n    data += `staticStyle:${el.staticStyle},`;\n  }\n  if (el.styleBinding) {\n    data += `style:(${el.styleBinding}),`;\n  }\n  return data;\n}\nvar style$1 = {\n  staticKeys: ['staticStyle'],\n  transformNode,\n  genData: genData$1\n};\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nfunction decode(html) {\r\n    return html;\r\n}\r\nvar he = {\r\n    decode,\r\n};\n\n/*  */\nconst isUnaryTag = makeMap('area,base,br,col,embed,frame,hr,img,input,isindex,keygen,' + 'link,meta,param,source,track,wbr');\n\n// Elements that you can, intentionally, leave open\n// (and which close themselves)\nconst canBeLeftOpenTag = makeMap('colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source');\n\n// HTML5 tags https://html.spec.whatwg.org/multipage/indices.html#elements-3\n// Phrasing Content https://html.spec.whatwg.org/multipage/dom.html#phrasing-content\nconst isNonPhrasingTag = makeMap('address,article,aside,base,blockquote,body,caption,col,colgroup,dd,' + 'details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,' + 'h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,' + 'optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,' + 'title,tr,track');\n\n/**\n * Not type-checking this file because it's mostly vendor code.\n */\n\n// Regular Expressions for parsing tags and attributes\nconst attribute = /^\\s*([^\\s\"'<>\\/=]+)(?:\\s*(=)\\s*(?:\"([^\"]*)\"+|'([^']*)'+|([^\\s\"'=<>`]+)))?/;\nconst dynamicArgAttribute = /^\\s*((?:v-[\\w-]+:|@|:|#)\\[[^=]+?\\][^\\s\"'<>\\/=]*)(?:\\s*(=)\\s*(?:\"([^\"]*)\"+|'([^']*)'+|([^\\s\"'=<>`]+)))?/;\nconst ncname = `[a-zA-Z_][\\\\-\\\\.0-9_a-zA-Z${unicodeRegExp.source}]*`;\nconst qnameCapture = `((?:${ncname}\\\\:)?${ncname})`;\nconst startTagOpen = new RegExp(`^<${qnameCapture}`);\nconst startTagClose = /^\\s*(\\/?)>/;\nconst endTag = new RegExp(`^<\\\\/${qnameCapture}[^>]*>`);\nconst doctype = /^<!DOCTYPE [^>]+>/i;\n// #7298: escape - to avoid being passed as HTML comment when inlined in page\nconst comment = /^<!\\--/;\nconst conditionalComment = /^<!\\[/;\n\n// Special Elements (can contain anything)\nconst isPlainTextElement = makeMap('script,style,textarea', true);\nconst reCache = {};\nconst decodingMap = {\n  '&lt;': '<',\n  '&gt;': '>',\n  '&quot;': '\"',\n  '&amp;': '&',\n  '&#10;': '\\n',\n  '&#9;': '\\t',\n  '&#39;': \"'\"\n};\nconst encodedAttr = /&(?:lt|gt|quot|amp|#39);/g;\nconst encodedAttrWithNewLines = /&(?:lt|gt|quot|amp|#39|#10|#9);/g;\n\n// #5992\nconst isIgnoreNewlineTag = makeMap('pre,textarea', true);\nconst shouldIgnoreFirstNewline = (tag, html) => tag && isIgnoreNewlineTag(tag) && html[0] === '\\n';\nfunction decodeAttr(value, shouldDecodeNewlines) {\n  const re = shouldDecodeNewlines ? encodedAttrWithNewLines : encodedAttr;\n  return value.replace(re, match => decodingMap[match]);\n}\nfunction parseHTML(html, options) {\n  const stack = [];\n  const expectHTML = options.expectHTML;\n  const isUnaryTag = options.isUnaryTag || no;\n  const canBeLeftOpenTag = options.canBeLeftOpenTag || no;\n  let index = 0;\n  let last, lastTag;\n  while (html) {\n    last = html;\n    // Make sure we're not in a plaintext content element like script/style\n    if (!lastTag || !isPlainTextElement(lastTag)) {\n      let textEnd = html.indexOf('<');\n      if (textEnd === 0) {\n        // Comment:\n        if (comment.test(html)) {\n          const commentEnd = html.indexOf('-->');\n          if (commentEnd >= 0) {\n            if (options.shouldKeepComment) {\n              options.comment(html.substring(4, commentEnd), index, index + commentEnd + 3);\n            }\n            advance(commentEnd + 3);\n            continue;\n          }\n        }\n\n        // http://en.wikipedia.org/wiki/Conditional_comment#Downlevel-revealed_conditional_comment\n        if (conditionalComment.test(html)) {\n          const conditionalEnd = html.indexOf(']>');\n          if (conditionalEnd >= 0) {\n            advance(conditionalEnd + 2);\n            continue;\n          }\n        }\n\n        // Doctype:\n        const doctypeMatch = html.match(doctype);\n        if (doctypeMatch) {\n          advance(doctypeMatch[0].length);\n          continue;\n        }\n\n        // End tag:\n        const endTagMatch = html.match(endTag);\n        if (endTagMatch) {\n          const curIndex = index;\n          advance(endTagMatch[0].length);\n          parseEndTag(endTagMatch[1], curIndex, index);\n          continue;\n        }\n\n        // Start tag:\n        const startTagMatch = parseStartTag();\n        if (startTagMatch) {\n          handleStartTag(startTagMatch);\n          if (shouldIgnoreFirstNewline(startTagMatch.tagName, html)) {\n            advance(1);\n          }\n          continue;\n        }\n      }\n      let text, rest, next;\n      if (textEnd >= 0) {\n        rest = html.slice(textEnd);\n        while (!endTag.test(rest) && !startTagOpen.test(rest) && !comment.test(rest) && !conditionalComment.test(rest)) {\n          // < in plain text, be forgiving and treat it as text\n          next = rest.indexOf('<', 1);\n          if (next < 0) break;\n          textEnd += next;\n          rest = html.slice(textEnd);\n        }\n        text = html.substring(0, textEnd);\n      }\n      if (textEnd < 0) {\n        text = html;\n      }\n      if (text) {\n        advance(text.length);\n      }\n      if (options.chars && text) {\n        options.chars(text, index - text.length, index);\n      }\n    } else {\n      let endTagLength = 0;\n      const stackedTag = lastTag.toLowerCase();\n      const reStackedTag = reCache[stackedTag] || (reCache[stackedTag] = new RegExp('([\\\\s\\\\S]*?)(</' + stackedTag + '[^>]*>)', 'i'));\n      const rest = html.replace(reStackedTag, function (all, text, endTag) {\n        endTagLength = endTag.length;\n        if (!isPlainTextElement(stackedTag) && stackedTag !== 'noscript') {\n          text = text.replace(/<!\\--([\\s\\S]*?)-->/g, '$1') // #7298\n          .replace(/<!\\[CDATA\\[([\\s\\S]*?)]]>/g, '$1');\n        }\n        if (shouldIgnoreFirstNewline(stackedTag, text)) {\n          text = text.slice(1);\n        }\n        if (options.chars) {\n          options.chars(text);\n        }\n        return '';\n      });\n      index += html.length - rest.length;\n      html = rest;\n      parseEndTag(stackedTag, index - endTagLength, index);\n    }\n    if (html === last) {\n      options.chars && options.chars(html);\n      if (process.env.NODE_ENV !== 'production' && !stack.length && options.warn) {\n        options.warn(`Mal-formatted tag at end of template: \"${html}\"`, {\n          start: index + html.length\n        });\n      }\n      break;\n    }\n  }\n\n  // Clean up any remaining tags\n  parseEndTag();\n  function advance(n) {\n    index += n;\n    html = html.substring(n);\n  }\n  function parseStartTag() {\n    const start = html.match(startTagOpen);\n    if (start) {\n      const match = {\n        tagName: start[1],\n        attrs: [],\n        start: index\n      };\n      advance(start[0].length);\n      let end, attr;\n      while (!(end = html.match(startTagClose)) && (attr = html.match(dynamicArgAttribute) || html.match(attribute))) {\n        attr.start = index;\n        advance(attr[0].length);\n        attr.end = index;\n        match.attrs.push(attr);\n      }\n      if (end) {\n        match.unarySlash = end[1];\n        advance(end[0].length);\n        match.end = index;\n        return match;\n      }\n    }\n  }\n  function handleStartTag(match) {\n    const tagName = match.tagName;\n    const unarySlash = match.unarySlash;\n    if (expectHTML) {\n      if (lastTag === 'p' && isNonPhrasingTag(tagName)) {\n        parseEndTag(lastTag);\n      }\n      if (canBeLeftOpenTag(tagName) && lastTag === tagName) {\n        parseEndTag(tagName);\n      }\n    }\n    const unary = isUnaryTag(tagName) || !!unarySlash;\n    const l = match.attrs.length;\n    const attrs = new Array(l);\n    for (let i = 0; i < l; i++) {\n      const args = match.attrs[i];\n      const value = args[3] || args[4] || args[5] || '';\n      const shouldDecodeNewlines = tagName === 'a' && args[1] === 'href' ? options.shouldDecodeNewlinesForHref : options.shouldDecodeNewlines;\n      attrs[i] = {\n        name: args[1],\n        value: decodeAttr(value, shouldDecodeNewlines)\n      };\n      if (process.env.NODE_ENV !== 'production' && options.outputSourceRange) {\n        attrs[i].start = args.start + args[0].match(/^\\s*/).length;\n        attrs[i].end = args.end;\n      }\n    }\n    if (!unary) {\n      stack.push({\n        tag: tagName,\n        lowerCasedTag: tagName.toLowerCase(),\n        attrs: attrs,\n        start: match.start,\n        end: match.end\n      });\n      lastTag = tagName;\n    }\n    if (options.start) {\n      options.start(tagName, attrs, unary, match.start, match.end);\n    }\n  }\n  function parseEndTag(tagName, start, end) {\n    let pos, lowerCasedTagName;\n    if (start == null) start = index;\n    if (end == null) end = index;\n\n    // Find the closest opened tag of the same type\n    if (tagName) {\n      lowerCasedTagName = tagName.toLowerCase();\n      for (pos = stack.length - 1; pos >= 0; pos--) {\n        if (stack[pos].lowerCasedTag === lowerCasedTagName) {\n          break;\n        }\n      }\n    } else {\n      // If no tag name is provided, clean shop\n      pos = 0;\n    }\n    if (pos >= 0) {\n      // Close all the open elements, up the stack\n      for (let i = stack.length - 1; i >= pos; i--) {\n        if (process.env.NODE_ENV !== 'production' && (i > pos || !tagName) && options.warn) {\n          options.warn(`tag <${stack[i].tag}> has no matching end tag.`, {\n            start: stack[i].start,\n            end: stack[i].end\n          });\n        }\n        if (options.end) {\n          options.end(stack[i].tag, start, end);\n        }\n      }\n\n      // Remove the open elements from the stack\n      stack.length = pos;\n      lastTag = pos && stack[pos - 1].tag;\n    } else if (lowerCasedTagName === 'br') {\n      if (options.start) {\n        options.start(tagName, [], true, start, end);\n      }\n    } else if (lowerCasedTagName === 'p') {\n      if (options.start) {\n        options.start(tagName, [], false, start, end);\n      }\n      if (options.end) {\n        options.end(tagName, start, end);\n      }\n    }\n  }\n}\n\n/*  */\n\n/**\n * Cross-platform code generation for component v-model\n */\nfunction genComponentModel(el, value, modifiers) {\n  const {\n    number,\n    trim\n  } = modifiers || {};\n  const baseValueExpression = '$$v';\n  let valueExpression = baseValueExpression;\n  if (trim) {\n    valueExpression = `(typeof ${baseValueExpression} === 'string'` + `? ${baseValueExpression}.trim()` + `: ${baseValueExpression})`;\n  }\n  if (number) {\n    valueExpression = `_n(${valueExpression})`;\n  }\n  const assignment = genAssignmentCode(value, valueExpression);\n  el.model = {\n    value: `(${value})`,\n    expression: JSON.stringify(value),\n    callback: `function (${baseValueExpression}) {${assignment}}`\n  };\n}\n\n/**\n * Cross-platform codegen helper for generating v-model value assignment code.\n */\nfunction genAssignmentCode(value, assignment) {\n  const res = parseModel(value);\n  if (res.key === null) {\n    return `${value}=${assignment}`;\n  } else {\n    return `$set(${res.exp}, ${res.key}, ${assignment})`;\n  }\n}\n\n/**\n * Parse a v-model expression into a base path and a final key segment.\n * Handles both dot-path and possible square brackets.\n *\n * Possible cases:\n *\n * - test\n * - test[key]\n * - test[test1[key]]\n * - test[\"a\"][key]\n * - xxx.test[a[a].test1[key]]\n * - test.xxx.a[\"asa\"][test1[key]]\n *\n */\n\nlet len, str, chr, index, expressionPos, expressionEndPos;\nfunction parseModel(val) {\n  // Fix https://github.com/vuejs/vue/pull/7730\n  // allow v-model=\"obj.val \" (trailing whitespace)\n  val = val.trim();\n  len = val.length;\n  if (val.indexOf('[') < 0 || val.lastIndexOf(']') < len - 1) {\n    index = val.lastIndexOf('.');\n    if (index > -1) {\n      return {\n        exp: val.slice(0, index),\n        key: '\"' + val.slice(index + 1) + '\"'\n      };\n    } else {\n      return {\n        exp: val,\n        key: null\n      };\n    }\n  }\n  str = val;\n  index = expressionPos = expressionEndPos = 0;\n  while (!eof()) {\n    chr = next();\n    /* istanbul ignore if */\n    if (isStringStart(chr)) {\n      parseString(chr);\n    } else if (chr === 0x5B) {\n      parseBracket(chr);\n    }\n  }\n  return {\n    exp: val.slice(0, expressionPos),\n    key: val.slice(expressionPos + 1, expressionEndPos)\n  };\n}\nfunction next() {\n  return str.charCodeAt(++index);\n}\nfunction eof() {\n  return index >= len;\n}\nfunction isStringStart(chr) {\n  return chr === 0x22 || chr === 0x27;\n}\nfunction parseBracket(chr) {\n  let inBracket = 1;\n  expressionPos = index;\n  while (!eof()) {\n    chr = next();\n    if (isStringStart(chr)) {\n      parseString(chr);\n      continue;\n    }\n    if (chr === 0x5B) inBracket++;\n    if (chr === 0x5D) inBracket--;\n    if (inBracket === 0) {\n      expressionEndPos = index;\n      break;\n    }\n  }\n}\nfunction parseString(chr) {\n  const stringQuote = chr;\n  while (!eof()) {\n    chr = next();\n    if (chr === stringQuote) {\n      break;\n    }\n  }\n}\n\n/*  */\nconst onRE = /^@|^v-on:/;\nconst dirRE = process.env.VBIND_PROP_SHORTHAND ? /^v-|^@|^:|^\\.|^#/ : /^v-|^@|^:|^#/;\nconst forAliasRE = /([\\s\\S]*?)\\s+(?:in|of)\\s+([\\s\\S]*)/;\nconst forIteratorRE = /,([^,\\}\\]]*)(?:,([^,\\}\\]]*))?$/;\nconst stripParensRE = /^\\(|\\)$/g;\nconst dynamicArgRE = /^\\[.*\\]$/;\nconst argRE = /:(.*)$/;\nconst bindRE = /^:|^\\.|^v-bind:/;\nconst propBindRE = /^\\./;\nconst modifierRE = /\\.[^.\\]]+(?=[^\\]]*$)/g;\nconst slotRE = /^v-slot(:|$)|^#/;\nconst lineBreakRE = /[\\r\\n]/;\nconst whitespaceRE = /[ \\f\\t\\r\\n]+/g;\nconst invalidAttributeRE = /[\\s\"'<>\\/=]/;\nconst decodeHTMLCached = cached(he.decode);\nconst emptySlotScopeToken = `_empty_`;\n\n// configurable state\nlet warn$2;\nlet delimiters;\nlet transforms;\nlet preTransforms;\nlet postTransforms;\nlet platformIsPreTag;\nlet platformMustUseProp;\nlet platformGetTagNamespace;\nlet maybeComponent;\nfunction createASTElement(tag, attrs, parent) {\n  return {\n    type: 1,\n    tag,\n    attrsList: attrs,\n    attrsMap: makeAttrsMap(attrs),\n    rawAttrsMap: {},\n    parent,\n    children: []\n  };\n}\n\n/**\n * Convert HTML string to AST.\n */\nfunction parse(template, options) {\n  warn$2 = options.warn || baseWarn;\n  platformIsPreTag = options.isPreTag || no;\n  platformMustUseProp = options.mustUseProp || no;\n  platformGetTagNamespace = options.getTagNamespace || no;\n  const isReservedTag = options.isReservedTag || no;\n  maybeComponent = el => !!(el.component || el.attrsMap[':is'] || el.attrsMap['v-bind:is'] || !(el.attrsMap.is ? isReservedTag(el.attrsMap.is) : isReservedTag(el.tag)));\n  transforms = pluckModuleFunction(options.modules, 'transformNode');\n  preTransforms = pluckModuleFunction(options.modules, 'preTransformNode');\n  postTransforms = pluckModuleFunction(options.modules, 'postTransformNode');\n  delimiters = options.delimiters;\n  const stack = [];\n  const preserveWhitespace = options.preserveWhitespace !== false;\n  const whitespaceOption = options.whitespace;\n  let root;\n  let currentParent;\n  let inVPre = false;\n  let inPre = false;\n  let warned = false;\n  function warnOnce(msg, range) {\n    if (!warned) {\n      warned = true;\n      warn$2(msg, range);\n    }\n  }\n  function closeElement(element) {\n    trimEndingWhitespace(element);\n    if (!inVPre && !element.processed) {\n      element = processElement(element, options);\n    }\n    // tree management\n    if (!stack.length && element !== root) {\n      // allow root elements with v-if, v-else-if and v-else\n      if (root.if && (element.elseif || element.else)) {\n        if (process.env.NODE_ENV !== 'production') {\n          checkRootConstraints(element);\n        }\n        addIfCondition(root, {\n          exp: element.elseif,\n          block: element\n        });\n      } else if (process.env.NODE_ENV !== 'production') {\n        warnOnce(`Component template should contain exactly one root element. ` + `If you are using v-if on multiple elements, ` + `use v-else-if to chain them instead.`, {\n          start: element.start\n        });\n      }\n    }\n    if (currentParent && !element.forbidden) {\n      if (element.elseif || element.else) {\n        processIfConditions(element, currentParent);\n      } else {\n        if (element.slotScope) {\n          // scoped slot\n          // keep it in the children list so that v-else(-if) conditions can\n          // find it as the prev node.\n          const name = element.slotTarget || '\"default\"';\n          (currentParent.scopedSlots || (currentParent.scopedSlots = {}))[name] = element;\n        }\n        currentParent.children.push(element);\n        element.parent = currentParent;\n      }\n    }\n\n    // final children cleanup\n    // filter out scoped slots\n    element.children = element.children.filter(c => !c.slotScope);\n    // remove trailing whitespace node again\n    trimEndingWhitespace(element);\n\n    // check pre state\n    if (element.pre) {\n      inVPre = false;\n    }\n    if (platformIsPreTag(element.tag)) {\n      inPre = false;\n    }\n    // apply post-transforms\n    for (let i = 0; i < postTransforms.length; i++) {\n      postTransforms[i](element, options);\n    }\n  }\n  function trimEndingWhitespace(el) {\n    // remove trailing whitespace node\n    if (!inPre) {\n      let lastNode;\n      while ((lastNode = el.children[el.children.length - 1]) && lastNode.type === 3 && lastNode.text === ' ') {\n        el.children.pop();\n      }\n    }\n  }\n  function checkRootConstraints(el) {\n    if (el.tag === 'slot' || el.tag === 'template') {\n      warnOnce(`Cannot use <${el.tag}> as component root element because it may ` + 'contain multiple nodes.', {\n        start: el.start\n      });\n    }\n    if (el.attrsMap.hasOwnProperty('v-for')) {\n      warnOnce('Cannot use v-for on stateful component root element because ' + 'it renders multiple elements.', el.rawAttrsMap['v-for']);\n    }\n  }\n  parseHTML(template, {\n    warn: warn$2,\n    expectHTML: options.expectHTML,\n    isUnaryTag: options.isUnaryTag,\n    canBeLeftOpenTag: options.canBeLeftOpenTag,\n    shouldDecodeNewlines: options.shouldDecodeNewlines,\n    shouldDecodeNewlinesForHref: options.shouldDecodeNewlinesForHref,\n    shouldKeepComment: options.comments,\n    outputSourceRange: options.outputSourceRange,\n    start(tag, attrs, unary, start, end) {\n      // check namespace.\n      // inherit parent ns if there is one\n      const ns = currentParent && currentParent.ns || platformGetTagNamespace(tag);\n\n      // handle IE svg bug\n      /* istanbul ignore if */\n      if (isIE && ns === 'svg') {\n        attrs = guardIESVGBug(attrs);\n      }\n      let element = createASTElement(tag, attrs, currentParent);\n      if (ns) {\n        element.ns = ns;\n      }\n      if (process.env.NODE_ENV !== 'production') {\n        if (options.outputSourceRange) {\n          element.start = start;\n          element.end = end;\n          element.rawAttrsMap = element.attrsList.reduce((cumulated, attr) => {\n            cumulated[attr.name] = attr;\n            return cumulated;\n          }, {});\n        }\n        attrs.forEach(attr => {\n          if (invalidAttributeRE.test(attr.name)) {\n            warn$2(`Invalid dynamic argument expression: attribute names cannot contain ` + `spaces, quotes, <, >, / or =.`, {\n              start: attr.start + attr.name.indexOf(`[`),\n              end: attr.start + attr.name.length\n            });\n          }\n        });\n      }\n      if (isForbiddenTag(element) && !isServerRendering()) {\n        element.forbidden = true;\n        process.env.NODE_ENV !== 'production' && warn$2('Templates should only be responsible for mapping the state to the ' + 'UI. Avoid placing tags with side-effects in your templates, such as ' + `<${tag}>` + ', as they will not be parsed.', {\n          start: element.start\n        });\n      }\n\n      // apply pre-transforms\n      for (let i = 0; i < preTransforms.length; i++) {\n        element = preTransforms[i](element, options) || element;\n      }\n      if (!inVPre) {\n        processPre(element);\n        if (element.pre) {\n          inVPre = true;\n        }\n      }\n      if (platformIsPreTag(element.tag)) {\n        inPre = true;\n      }\n      if (inVPre) {\n        processRawAttrs(element);\n      } else if (!element.processed) {\n        // structural directives\n        processFor(element);\n        processIf(element);\n        processOnce(element);\n      }\n      if (!root) {\n        root = element;\n        if (process.env.NODE_ENV !== 'production') {\n          checkRootConstraints(root);\n        }\n      }\n      if (!unary) {\n        currentParent = element;\n        stack.push(element);\n      } else {\n        closeElement(element);\n      }\n    },\n    end(tag, start, end) {\n      const element = stack[stack.length - 1];\n      // pop stack\n      stack.length -= 1;\n      currentParent = stack[stack.length - 1];\n      if (process.env.NODE_ENV !== 'production' && options.outputSourceRange) {\n        element.end = end;\n      }\n      closeElement(element);\n    },\n    chars(text, start, end) {\n      if (!currentParent) {\n        if (process.env.NODE_ENV !== 'production') {\n          if (text === template) {\n            warnOnce('Component template requires a root element, rather than just text.', {\n              start\n            });\n          } else if (text = text.trim()) {\n            warnOnce(`text \"${text}\" outside root element will be ignored.`, {\n              start\n            });\n          }\n        }\n        return;\n      }\n      // IE textarea placeholder bug\n      /* istanbul ignore if */\n      if (isIE && currentParent.tag === 'textarea' && currentParent.attrsMap.placeholder === text) {\n        return;\n      }\n      const children = currentParent.children;\n      if (inPre || text.trim()) {\n        text = isTextTag(currentParent) ? text : decodeHTMLCached(text);\n      } else if (!children.length) {\n        // remove the whitespace-only node right after an opening tag\n        text = '';\n      } else if (whitespaceOption) {\n        if (whitespaceOption === 'condense') {\n          // in condense mode, remove the whitespace node if it contains\n          // line break, otherwise condense to a single space\n          text = lineBreakRE.test(text) ? '' : ' ';\n        } else {\n          text = ' ';\n        }\n      } else {\n        text = preserveWhitespace ? ' ' : '';\n      }\n      if (text) {\n        if (!inPre && whitespaceOption === 'condense') {\n          // condense consecutive whitespaces into single space\n          text = text.replace(whitespaceRE, ' ');\n        }\n        let res;\n        let child;\n        if (!inVPre && text !== ' ' && (res = parseText(text, delimiters))) {\n          child = {\n            type: 2,\n            expression: res.expression,\n            tokens: res.tokens,\n            text\n          };\n        } else if (text !== ' ' || !children.length || children[children.length - 1].text !== ' ') {\n          child = {\n            type: 3,\n            text\n          };\n        }\n        if (child) {\n          if (process.env.NODE_ENV !== 'production' && options.outputSourceRange) {\n            child.start = start;\n            child.end = end;\n          }\n          children.push(child);\n        }\n      }\n    },\n    comment(text, start, end) {\n      // adding anything as a sibling to the root node is forbidden\n      // comments should still be allowed, but ignored\n      if (currentParent) {\n        const child = {\n          type: 3,\n          text,\n          isComment: true\n        };\n        if (process.env.NODE_ENV !== 'production' && options.outputSourceRange) {\n          child.start = start;\n          child.end = end;\n        }\n        currentParent.children.push(child);\n      }\n    }\n  });\n  return root;\n}\nfunction processPre(el) {\n  if (getAndRemoveAttr(el, 'v-pre') != null) {\n    el.pre = true;\n  }\n}\nfunction processRawAttrs(el) {\n  const list = el.attrsList;\n  const len = list.length;\n  if (len) {\n    const attrs = el.attrs = new Array(len);\n    for (let i = 0; i < len; i++) {\n      attrs[i] = {\n        name: list[i].name,\n        value: JSON.stringify(list[i].value)\n      };\n      if (list[i].start != null) {\n        attrs[i].start = list[i].start;\n        attrs[i].end = list[i].end;\n      }\n    }\n  } else if (!el.pre) {\n    // non root node in pre blocks with no attributes\n    el.plain = true;\n  }\n}\nfunction processElement(element, options) {\n  processKey(element);\n\n  // determine whether this is a plain element after\n  // removing structural attributes\n  element.plain = !element.key && !element.scopedSlots && !element.attrsList.length;\n  processRef(element);\n  processSlotContent(element);\n  processSlotOutlet(element);\n  processComponent(element);\n  for (let i = 0; i < transforms.length; i++) {\n    element = transforms[i](element, options) || element;\n  }\n  processAttrs(element);\n  return element;\n}\nfunction processKey(el) {\n  const exp = getBindingAttr(el, 'key');\n  if (exp) {\n    if (process.env.NODE_ENV !== 'production') {\n      if (el.tag === 'template') {\n        warn$2(`<template> cannot be keyed. Place the key on real elements instead.`, getRawBindingAttr(el, 'key'));\n      }\n      if (el.for) {\n        const iterator = el.iterator2 || el.iterator1;\n        const parent = el.parent;\n        if (iterator && iterator === exp && parent && parent.tag === 'transition-group') {\n          warn$2(`Do not use v-for index as key on <transition-group> children, ` + `this is the same as not using keys.`, getRawBindingAttr(el, 'key'), true /* tip */);\n        }\n      }\n    }\n\n    el.key = exp;\n  }\n}\nfunction processRef(el) {\n  const ref = getBindingAttr(el, 'ref');\n  if (ref) {\n    el.ref = ref;\n    el.refInFor = checkInFor(el);\n  }\n}\nfunction processFor(el) {\n  let exp;\n  if (exp = getAndRemoveAttr(el, 'v-for')) {\n    const res = parseFor(exp);\n    if (res) {\n      extend(el, res);\n    } else if (process.env.NODE_ENV !== 'production') {\n      warn$2(`Invalid v-for expression: ${exp}`, el.rawAttrsMap['v-for']);\n    }\n  }\n}\nfunction parseFor(exp) {\n  const inMatch = exp.match(forAliasRE);\n  if (!inMatch) return;\n  const res = {};\n  res.for = inMatch[2].trim();\n  const alias = inMatch[1].trim().replace(stripParensRE, '');\n  const iteratorMatch = alias.match(forIteratorRE);\n  if (iteratorMatch) {\n    res.alias = alias.replace(forIteratorRE, '').trim();\n    res.iterator1 = iteratorMatch[1].trim();\n    if (iteratorMatch[2]) {\n      res.iterator2 = iteratorMatch[2].trim();\n    }\n  } else {\n    res.alias = alias;\n  }\n  return res;\n}\nfunction processIf(el) {\n  const exp = getAndRemoveAttr(el, 'v-if');\n  if (exp) {\n    el.if = exp;\n    addIfCondition(el, {\n      exp: exp,\n      block: el\n    });\n  } else {\n    if (getAndRemoveAttr(el, 'v-else') != null) {\n      el.else = true;\n    }\n    const elseif = getAndRemoveAttr(el, 'v-else-if');\n    if (elseif) {\n      el.elseif = elseif;\n    }\n  }\n}\nfunction processIfConditions(el, parent) {\n  const prev = findPrevElement(parent.children);\n  if (prev && prev.if) {\n    addIfCondition(prev, {\n      exp: el.elseif,\n      block: el\n    });\n  } else if (process.env.NODE_ENV !== 'production') {\n    warn$2(`v-${el.elseif ? 'else-if=\"' + el.elseif + '\"' : 'else'} ` + `used on element <${el.tag}> without corresponding v-if.`, el.rawAttrsMap[el.elseif ? 'v-else-if' : 'v-else']);\n  }\n}\nfunction findPrevElement(children) {\n  let i = children.length;\n  while (i--) {\n    if (children[i].type === 1) {\n      return children[i];\n    } else {\n      if (process.env.NODE_ENV !== 'production' && children[i].text !== ' ') {\n        warn$2(`text \"${children[i].text.trim()}\" between v-if and v-else(-if) ` + `will be ignored.`, children[i]);\n      }\n      children.pop();\n    }\n  }\n}\nfunction addIfCondition(el, condition) {\n  if (!el.ifConditions) {\n    el.ifConditions = [];\n  }\n  el.ifConditions.push(condition);\n}\nfunction processOnce(el) {\n  const once = getAndRemoveAttr(el, 'v-once');\n  if (once != null) {\n    el.once = true;\n  }\n}\n\n// handle content being passed to a component as slot,\n// e.g. <template slot=\"xxx\">, <div slot-scope=\"xxx\">\nfunction processSlotContent(el) {\n  let slotScope;\n  if (el.tag === 'template') {\n    slotScope = getAndRemoveAttr(el, 'scope');\n    /* istanbul ignore if */\n    if (process.env.NODE_ENV !== 'production' && slotScope) {\n      warn$2(`the \"scope\" attribute for scoped slots have been deprecated and ` + `replaced by \"slot-scope\" since 2.5. The new \"slot-scope\" attribute ` + `can also be used on plain elements in addition to <template> to ` + `denote scoped slots.`, el.rawAttrsMap['scope'], true);\n    }\n    el.slotScope = slotScope || getAndRemoveAttr(el, 'slot-scope');\n  } else if (slotScope = getAndRemoveAttr(el, 'slot-scope')) {\n    /* istanbul ignore if */\n    if (process.env.NODE_ENV !== 'production' && el.attrsMap['v-for']) {\n      warn$2(`Ambiguous combined usage of slot-scope and v-for on <${el.tag}> ` + `(v-for takes higher priority). Use a wrapper <template> for the ` + `scoped slot to make it clearer.`, el.rawAttrsMap['slot-scope'], true);\n    }\n    el.slotScope = slotScope;\n  }\n\n  // slot=\"xxx\"\n  const slotTarget = getBindingAttr(el, 'slot');\n  if (slotTarget) {\n    el.slotTarget = slotTarget === '\"\"' ? '\"default\"' : slotTarget;\n    el.slotTargetDynamic = !!(el.attrsMap[':slot'] || el.attrsMap['v-bind:slot']);\n    // preserve slot as an attribute for native shadow DOM compat\n    // only for non-scoped slots.\n    if (el.tag !== 'template' && !el.slotScope) {\n      addAttr(el, 'slot', slotTarget, getRawBindingAttr(el, 'slot'));\n    }\n  }\n\n  // 2.6 v-slot syntax\n  if (process.env.NEW_SLOT_SYNTAX) {\n    if (el.tag === 'template') {\n      // v-slot on <template>\n      const slotBinding = getAndRemoveAttrByRegex(el, slotRE);\n      if (slotBinding) {\n        if (process.env.NODE_ENV !== 'production') {\n          if (el.slotTarget || el.slotScope) {\n            warn$2(`Unexpected mixed usage of different slot syntaxes.`, el);\n          }\n          if (el.parent && !maybeComponent(el.parent)) {\n            warn$2(`<template v-slot> can only appear at the root level inside ` + `the receiving component`, el);\n          }\n        }\n        const {\n          name,\n          dynamic\n        } = getSlotName(slotBinding);\n        el.slotTarget = name;\n        el.slotTargetDynamic = dynamic;\n        el.slotScope = slotBinding.value || emptySlotScopeToken; // force it into a scoped slot for perf\n      }\n    } else {\n      // v-slot on component, denotes default slot\n      const slotBinding = getAndRemoveAttrByRegex(el, slotRE);\n      if (slotBinding) {\n        if (process.env.NODE_ENV !== 'production') {\n          if (!maybeComponent(el)) {\n            warn$2(`v-slot can only be used on components or <template>.`, slotBinding);\n          }\n          if (el.slotScope || el.slotTarget) {\n            warn$2(`Unexpected mixed usage of different slot syntaxes.`, el);\n          }\n          if (el.scopedSlots) {\n            warn$2(`To avoid scope ambiguity, the default slot should also use ` + `<template> syntax when there are other named slots.`, slotBinding);\n          }\n        }\n        // add the component's children to its default slot\n        const slots = el.scopedSlots || (el.scopedSlots = {});\n        const {\n          name,\n          dynamic\n        } = getSlotName(slotBinding);\n        const slotContainer = slots[name] = createASTElement('template', [], el);\n        slotContainer.slotTarget = name;\n        slotContainer.slotTargetDynamic = dynamic;\n        slotContainer.children = el.children.filter(c => {\n          if (!c.slotScope) {\n            c.parent = slotContainer;\n            return true;\n          }\n        });\n        slotContainer.slotScope = slotBinding.value || emptySlotScopeToken;\n        // remove children as they are returned from scopedSlots now\n        el.children = [];\n        // mark el non-plain so data gets generated\n        el.plain = false;\n      }\n    }\n  }\n}\nfunction getSlotName(binding) {\n  let name = binding.name.replace(slotRE, '');\n  if (!name) {\n    if (binding.name[0] !== '#') {\n      name = 'default';\n    } else if (process.env.NODE_ENV !== 'production') {\n      warn$2(`v-slot shorthand syntax requires a slot name.`, binding);\n    }\n  }\n  return dynamicArgRE.test(name)\n  // dynamic [name]\n  ? {\n    name: name.slice(1, -1),\n    dynamic: true\n  }\n  // static name\n  : {\n    name: `\"${name}\"`,\n    dynamic: false\n  };\n}\n\n// handle <slot/> outlets\nfunction processSlotOutlet(el) {\n  if (el.tag === 'slot') {\n    el.slotName = getBindingAttr(el, 'name');\n    if (process.env.NODE_ENV !== 'production' && el.key) {\n      warn$2(`\\`key\\` does not work on <slot> because slots are abstract outlets ` + `and can possibly expand into multiple elements. ` + `Use the key on a wrapping element instead.`, getRawBindingAttr(el, 'key'));\n    }\n  }\n}\nfunction processComponent(el) {\n  let binding;\n  if (binding = getBindingAttr(el, 'is')) {\n    el.component = binding;\n  }\n  if (getAndRemoveAttr(el, 'inline-template') != null) {\n    el.inlineTemplate = true;\n  }\n}\nfunction processAttrs(el) {\n  const list = el.attrsList;\n  let i, l, name, rawName, value, modifiers, syncGen, isDynamic;\n  for (i = 0, l = list.length; i < l; i++) {\n    name = rawName = list[i].name;\n    value = list[i].value;\n    if (dirRE.test(name)) {\n      // mark element as dynamic\n      el.hasBindings = true;\n      // modifiers\n      modifiers = parseModifiers(name.replace(dirRE, ''));\n      // support .foo shorthand syntax for the .prop modifier\n      if (process.env.VBIND_PROP_SHORTHAND && propBindRE.test(name)) {\n        (modifiers || (modifiers = {})).prop = true;\n        name = `.` + name.slice(1).replace(modifierRE, '');\n      } else if (modifiers) {\n        name = name.replace(modifierRE, '');\n      }\n      if (bindRE.test(name)) {\n        // v-bind\n        name = name.replace(bindRE, '');\n        value = parseFilters(value);\n        isDynamic = dynamicArgRE.test(name);\n        if (isDynamic) {\n          name = name.slice(1, -1);\n        }\n        if (process.env.NODE_ENV !== 'production' && value.trim().length === 0) {\n          warn$2(`The value for a v-bind expression cannot be empty. Found in \"v-bind:${name}\"`);\n        }\n        if (modifiers) {\n          if (modifiers.prop && !isDynamic) {\n            name = camelize(name);\n            if (name === 'innerHtml') name = 'innerHTML';\n          }\n          if (modifiers.camel && !isDynamic) {\n            name = camelize(name);\n          }\n          if (modifiers.sync) {\n            syncGen = genAssignmentCode(value, `$event`);\n            if (!isDynamic) {\n              addHandler(el, `update:${camelize(name)}`, syncGen, null, false, warn$2, list[i]);\n              if (hyphenate(name) !== camelize(name)) {\n                addHandler(el, `update:${hyphenate(name)}`, syncGen, null, false, warn$2, list[i]);\n              }\n            } else {\n              // handler w/ dynamic event name\n              addHandler(el, `\"update:\"+(${name})`, syncGen, null, false, warn$2, list[i], true // dynamic\n              );\n            }\n          }\n        }\n\n        if (modifiers && modifiers.prop || !el.component && platformMustUseProp(el.tag, el.attrsMap.type, name)) {\n          addProp(el, name, value, list[i], isDynamic);\n        } else {\n          addAttr(el, name, value, list[i], isDynamic);\n        }\n      } else if (onRE.test(name)) {\n        // v-on\n        name = name.replace(onRE, '');\n        isDynamic = dynamicArgRE.test(name);\n        if (isDynamic) {\n          name = name.slice(1, -1);\n        }\n        addHandler(el, name, value, modifiers, false, warn$2, list[i], isDynamic);\n      } else {\n        // normal directives\n        name = name.replace(dirRE, '');\n        // parse arg\n        const argMatch = name.match(argRE);\n        let arg = argMatch && argMatch[1];\n        isDynamic = false;\n        if (arg) {\n          name = name.slice(0, -(arg.length + 1));\n          if (dynamicArgRE.test(arg)) {\n            arg = arg.slice(1, -1);\n            isDynamic = true;\n          }\n        }\n        addDirective(el, name, rawName, value, arg, isDynamic, modifiers, list[i]);\n        if (process.env.NODE_ENV !== 'production' && name === 'model') {\n          checkForAliasModel(el, value);\n        }\n      }\n    } else {\n      // literal attribute\n      if (process.env.NODE_ENV !== 'production') {\n        const res = parseText(value, delimiters);\n        if (res) {\n          warn$2(`${name}=\"${value}\": ` + 'Interpolation inside attributes has been removed. ' + 'Use v-bind or the colon shorthand instead. For example, ' + 'instead of <div id=\"{{ val }}\">, use <div :id=\"val\">.', list[i]);\n        }\n      }\n      addAttr(el, name, JSON.stringify(value), list[i]);\n      // #6887 firefox doesn't update muted state if set via attribute\n      // even immediately after element creation\n      if (!el.component && name === 'muted' && platformMustUseProp(el.tag, el.attrsMap.type, name)) {\n        addProp(el, name, 'true', list[i]);\n      }\n    }\n  }\n}\nfunction checkInFor(el) {\n  let parent = el;\n  while (parent) {\n    if (parent.for !== undefined) {\n      return true;\n    }\n    parent = parent.parent;\n  }\n  return false;\n}\nfunction parseModifiers(name) {\n  const match = name.match(modifierRE);\n  if (match) {\n    const ret = {};\n    match.forEach(m => {\n      ret[m.slice(1)] = true;\n    });\n    return ret;\n  }\n}\nfunction makeAttrsMap(attrs) {\n  const map = {};\n  for (let i = 0, l = attrs.length; i < l; i++) {\n    if (process.env.NODE_ENV !== 'production' && map[attrs[i].name] && !isIE && !isEdge) {\n      warn$2('duplicate attribute: ' + attrs[i].name, attrs[i]);\n    }\n    map[attrs[i].name] = attrs[i].value;\n  }\n  return map;\n}\n\n// for script (e.g. type=\"x/template\") or style, do not decode content\nfunction isTextTag(el) {\n  return el.tag === 'script' || el.tag === 'style';\n}\nfunction isForbiddenTag(el) {\n  return el.tag === 'style' || el.tag === 'script' && (!el.attrsMap.type || el.attrsMap.type === 'text/javascript');\n}\nconst ieNSBug = /^xmlns:NS\\d+/;\nconst ieNSPrefix = /^NS\\d+:/;\n\n/* istanbul ignore next */\nfunction guardIESVGBug(attrs) {\n  const res = [];\n  for (let i = 0; i < attrs.length; i++) {\n    const attr = attrs[i];\n    if (!ieNSBug.test(attr.name)) {\n      attr.name = attr.name.replace(ieNSPrefix, '');\n      res.push(attr);\n    }\n  }\n  return res;\n}\nfunction checkForAliasModel(el, value) {\n  let _el = el;\n  while (_el) {\n    if (_el.for && _el.alias === value) {\n      warn$2(`<${el.tag} v-model=\"${value}\">: ` + `You are binding v-model directly to a v-for iteration alias. ` + `This will not be able to modify the v-for source array because ` + `writing to the alias is like modifying a function local variable. ` + `Consider using an array of objects and use v-model on an object property instead.`, el.rawAttrsMap['v-model']);\n    }\n    _el = _el.parent;\n  }\n}\n\n/*  */\nfunction preTransformNode(el, options) {\n  if (el.tag === 'input') {\n    const map = el.attrsMap;\n    if (!map['v-model']) {\n      return;\n    }\n    let typeBinding;\n    if (map[':type'] || map['v-bind:type']) {\n      typeBinding = getBindingAttr(el, 'type');\n    }\n    if (!map.type && !typeBinding && map['v-bind']) {\n      typeBinding = `(${map['v-bind']}).type`;\n    }\n    if (typeBinding) {\n      const ifCondition = getAndRemoveAttr(el, 'v-if', true);\n      const ifConditionExtra = ifCondition ? `&&(${ifCondition})` : ``;\n      const hasElse = getAndRemoveAttr(el, 'v-else', true) != null;\n      const elseIfCondition = getAndRemoveAttr(el, 'v-else-if', true);\n      // 1. checkbox\n      const branch0 = cloneASTElement(el);\n      // process for on the main node\n      processFor(branch0);\n      addRawAttr(branch0, 'type', 'checkbox');\n      processElement(branch0, options);\n      branch0.processed = true; // prevent it from double-processed\n      branch0.if = `(${typeBinding})==='checkbox'` + ifConditionExtra;\n      addIfCondition(branch0, {\n        exp: branch0.if,\n        block: branch0\n      });\n      // 2. add radio else-if condition\n      const branch1 = cloneASTElement(el);\n      getAndRemoveAttr(branch1, 'v-for', true);\n      addRawAttr(branch1, 'type', 'radio');\n      processElement(branch1, options);\n      addIfCondition(branch0, {\n        exp: `(${typeBinding})==='radio'` + ifConditionExtra,\n        block: branch1\n      });\n      // 3. other\n      const branch2 = cloneASTElement(el);\n      getAndRemoveAttr(branch2, 'v-for', true);\n      addRawAttr(branch2, ':type', typeBinding);\n      processElement(branch2, options);\n      addIfCondition(branch0, {\n        exp: ifCondition,\n        block: branch2\n      });\n      if (hasElse) {\n        branch0.else = true;\n      } else if (elseIfCondition) {\n        branch0.elseif = elseIfCondition;\n      }\n      return branch0;\n    }\n  }\n}\nfunction cloneASTElement(el) {\n  return createASTElement(el.tag, el.attrsList.slice(), el.parent);\n}\nvar model$2 = {\n  preTransformNode\n};\n\nvar modules$1 = [klass, style$1, model$2];\n\n/*  */\nlet warn$1;\n\n// in some cases, the event used has to be determined at runtime\n// so we used some reserved tokens during compile.\nconst RANGE_TOKEN = '__r';\nfunction model$1(el, dir, _warn) {\n  warn$1 = _warn;\n  const value = dir.value;\n  const modifiers = dir.modifiers;\n  const tag = el.tag;\n  const type = el.attrsMap.type;\n  if (process.env.NODE_ENV !== 'production') {\n    // inputs with type=\"file\" are read only and setting the input's\n    // value will throw an error.\n    if (tag === 'input' && type === 'file') {\n      warn$1(`<${el.tag} v-model=\"${value}\" type=\"file\">:\\n` + `File inputs are read only. Use a v-on:change listener instead.`, el.rawAttrsMap['v-model']);\n    }\n  }\n  if (el.component) {\n    genComponentModel(el, value, modifiers);\n    // component v-model doesn't need extra runtime\n    return false;\n  } else if (tag === 'select') {\n    genSelect(el, value, modifiers);\n  } else if (tag === 'input' && type === 'checkbox') {\n    genCheckboxModel(el, value, modifiers);\n  } else if (tag === 'input' && type === 'radio') {\n    genRadioModel(el, value, modifiers);\n  } else if (tag === 'input' || tag === 'textarea') {\n    genDefaultModel(el, value, modifiers);\n  } else if (!config.isReservedTag(tag)) {\n    genComponentModel(el, value, modifiers);\n    // component v-model doesn't need extra runtime\n    return false;\n  } else if (process.env.NODE_ENV !== 'production') {\n    warn$1(`<${el.tag} v-model=\"${value}\">: ` + `v-model is not supported on this element type. ` + 'If you are working with contenteditable, it\\'s recommended to ' + 'wrap a library dedicated for that purpose inside a custom component.', el.rawAttrsMap['v-model']);\n  }\n\n  // ensure runtime directive metadata\n  return true;\n}\nfunction genCheckboxModel(el, value, modifiers) {\n  const number = modifiers && modifiers.number;\n  const valueBinding = getBindingAttr(el, 'value') || 'null';\n  const trueValueBinding = getBindingAttr(el, 'true-value') || 'true';\n  const falseValueBinding = getBindingAttr(el, 'false-value') || 'false';\n  addProp(el, 'checked', `Array.isArray(${value})` + `?_i(${value},${valueBinding})>-1` + (trueValueBinding === 'true' ? `:(${value})` : `:_q(${value},${trueValueBinding})`));\n  addHandler(el, 'change', `var $$a=${value},` + '$$el=$event.target,' + `$$c=$$el.checked?(${trueValueBinding}):(${falseValueBinding});` + 'if(Array.isArray($$a)){' + `var $$v=${number ? '_n(' + valueBinding + ')' : valueBinding},` + '$$i=_i($$a,$$v);' + `if($$el.checked){$$i<0&&(${genAssignmentCode(value, '$$a.concat([$$v])')})}` + `else{$$i>-1&&(${genAssignmentCode(value, '$$a.slice(0,$$i).concat($$a.slice($$i+1))')})}` + `}else{${genAssignmentCode(value, '$$c')}}`, null, true);\n}\nfunction genRadioModel(el, value, modifiers) {\n  const number = modifiers && modifiers.number;\n  let valueBinding = getBindingAttr(el, 'value') || 'null';\n  valueBinding = number ? `_n(${valueBinding})` : valueBinding;\n  addProp(el, 'checked', `_q(${value},${valueBinding})`);\n  addHandler(el, 'change', genAssignmentCode(value, valueBinding), null, true);\n}\nfunction genSelect(el, value, modifiers) {\n  const number = modifiers && modifiers.number;\n  const selectedVal = `Array.prototype.filter` + `.call($event.target.options,function(o){return o.selected})` + `.map(function(o){var val = \"_value\" in o ? o._value : o.value;` + `return ${number ? '_n(val)' : 'val'}})`;\n  const assignment = '$event.target.multiple ? $$selectedVal : $$selectedVal[0]';\n  let code = `var $$selectedVal = ${selectedVal};`;\n  code = `${code} ${genAssignmentCode(value, assignment)}`;\n  addHandler(el, 'change', code, null, true);\n}\nfunction genDefaultModel(el, value, modifiers) {\n  const type = el.attrsMap.type;\n\n  // warn if v-bind:value conflicts with v-model\n  // except for inputs with v-bind:type\n  if (process.env.NODE_ENV !== 'production') {\n    const value = el.attrsMap['v-bind:value'] || el.attrsMap[':value'];\n    const typeBinding = el.attrsMap['v-bind:type'] || el.attrsMap[':type'];\n    if (value && !typeBinding) {\n      const binding = el.attrsMap['v-bind:value'] ? 'v-bind:value' : ':value';\n      warn$1(`${binding}=\"${value}\" conflicts with v-model on the same element ` + 'because the latter already expands to a value binding internally', el.rawAttrsMap[binding]);\n    }\n  }\n  const {\n    lazy,\n    number,\n    trim\n  } = modifiers || {};\n  const needCompositionGuard = !lazy && type !== 'range';\n  const event = lazy ? 'change' : type === 'range' ? RANGE_TOKEN : 'input';\n  let valueExpression = '$event.target.value';\n  if (trim) {\n    valueExpression = `$event.target.value.trim()`;\n  }\n  if (number) {\n    valueExpression = `_n(${valueExpression})`;\n  }\n  let code = genAssignmentCode(value, valueExpression);\n  if (needCompositionGuard) {\n    code = `if($event.target.composing)return;${code}`;\n  }\n  addProp(el, 'value', `(${value})`);\n  addHandler(el, event, code, null, true);\n  if (trim || number) {\n    addHandler(el, 'blur', '$forceUpdate()');\n  }\n}\n\n/*  */\nfunction text(el, dir) {\n  if (dir.value) {\n    addProp(el, 'textContent', `_s(${dir.value})`, dir);\n  }\n}\n\n/*  */\nfunction html(el, dir) {\n  if (dir.value) {\n    addProp(el, 'innerHTML', `_s(${dir.value})`, dir);\n  }\n}\n\nvar directives$1 = {\n  model: model$1,\n  text,\n  html\n};\n\n/*  */\nconst baseOptions = {\n  expectHTML: true,\n  modules: modules$1,\n  directives: directives$1,\n  isPreTag,\n  isUnaryTag,\n  mustUseProp: mustUseProp$1,\n  canBeLeftOpenTag,\n  isReservedTag: isReservedTag$1,\n  getTagNamespace,\n  staticKeys: genStaticKeys$1(modules$1)\n};\n\n/*  */\nlet isStaticKey;\nlet isPlatformReservedTag;\nconst genStaticKeysCached = cached(genStaticKeys);\n\n/**\n * Goal of the optimizer: walk the generated template AST tree\n * and detect sub-trees that are purely static, i.e. parts of\n * the DOM that never needs to change.\n *\n * Once we detect these sub-trees, we can:\n *\n * 1. Hoist them into constants, so that we no longer need to\n *    create fresh nodes for them on each re-render;\n * 2. Completely skip them in the patching process.\n */\nfunction optimize(root, options) {\n  if (!root) return;\n  isStaticKey = genStaticKeysCached(options.staticKeys || '');\n  isPlatformReservedTag = options.isReservedTag || no;\n  // first pass: mark all non-static nodes.\n  markStatic(root);\n  // second pass: mark static roots.\n  markStaticRoots(root, false);\n}\nfunction genStaticKeys(keys) {\n  return makeMap('type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap' + (keys ? ',' + keys : ''));\n}\nfunction markStatic(node) {\n  node.static = isStatic(node);\n  if (node.type === 1) {\n    // do not make component slot content static. this avoids\n    // 1. components not able to mutate slot nodes\n    // 2. static slot content fails for hot-reloading\n    if (!isPlatformReservedTag(node.tag) && node.tag !== 'slot' && node.attrsMap['inline-template'] == null) {\n      return;\n    }\n    for (let i = 0, l = node.children.length; i < l; i++) {\n      const child = node.children[i];\n      markStatic(child);\n      if (!child.static) {\n        node.static = false;\n      }\n    }\n    if (node.ifConditions) {\n      for (let i = 1, l = node.ifConditions.length; i < l; i++) {\n        const block = node.ifConditions[i].block;\n        markStatic(block);\n        if (!block.static) {\n          node.static = false;\n        }\n      }\n    }\n  }\n}\nfunction markStaticRoots(node, isInFor) {\n  if (node.type === 1) {\n    if (node.static || node.once) {\n      node.staticInFor = isInFor;\n    }\n    // For a node to qualify as a static root, it should have children that\n    // are not just static text. Otherwise the cost of hoisting out will\n    // outweigh the benefits and it's better off to just always render it fresh.\n    if (node.static && node.children.length && !(node.children.length === 1 && node.children[0].type === 3)) {\n      node.staticRoot = true;\n      return;\n    } else {\n      node.staticRoot = false;\n    }\n    if (node.children) {\n      for (let i = 0, l = node.children.length; i < l; i++) {\n        markStaticRoots(node.children[i], isInFor || !!node.for);\n      }\n    }\n    if (node.ifConditions) {\n      for (let i = 1, l = node.ifConditions.length; i < l; i++) {\n        markStaticRoots(node.ifConditions[i].block, isInFor);\n      }\n    }\n  }\n}\nfunction isStatic(node) {\n  if (node.type === 2) {\n    // expression\n    return false;\n  }\n  if (node.type === 3) {\n    // text\n    return true;\n  }\n  return !!(node.pre || !node.hasBindings &&\n  // no dynamic bindings\n  !node.if && !node.for &&\n  // not v-if or v-for or v-else\n  !isBuiltInTag(node.tag) &&\n  // not a built-in\n  isPlatformReservedTag(node.tag) &&\n  // not a component\n  !isDirectChildOfTemplateFor(node) && Object.keys(node).every(isStaticKey));\n}\nfunction isDirectChildOfTemplateFor(node) {\n  while (node.parent) {\n    node = node.parent;\n    if (node.tag !== 'template') {\n      return false;\n    }\n    if (node.for) {\n      return true;\n    }\n  }\n  return false;\n}\n\n/*  */\n\nconst fnExpRE = /^([\\w$_]+|\\([^)]*?\\))\\s*=>|^function(?:\\s+[\\w$]+)?\\s*\\(/;\nconst fnInvokeRE = /\\([^)]*?\\);*$/;\nconst simplePathRE = /^[A-Za-z_$][\\w$]*(?:\\.[A-Za-z_$][\\w$]*|\\['[^']*?']|\\[\"[^\"]*?\"]|\\[\\d+]|\\[[A-Za-z_$][\\w$]*])*$/;\n\n// KeyboardEvent.keyCode aliases\nconst keyCodes = {\n  esc: 27,\n  tab: 9,\n  enter: 13,\n  space: 32,\n  up: 38,\n  left: 37,\n  right: 39,\n  down: 40,\n  'delete': [8, 46]\n};\n\n// KeyboardEvent.key aliases\nconst keyNames = {\n  // #7880: IE11 and Edge use `Esc` for Escape key name.\n  esc: ['Esc', 'Escape'],\n  tab: 'Tab',\n  enter: 'Enter',\n  // #9112: IE11 uses `Spacebar` for Space key name.\n  space: [' ', 'Spacebar'],\n  // #7806: IE11 uses key names without `Arrow` prefix for arrow keys.\n  up: ['Up', 'ArrowUp'],\n  left: ['Left', 'ArrowLeft'],\n  right: ['Right', 'ArrowRight'],\n  down: ['Down', 'ArrowDown'],\n  // #9112: IE11 uses `Del` for Delete key name.\n  'delete': ['Backspace', 'Delete', 'Del']\n};\n\n// #4868: modifiers that prevent the execution of the listener\n// need to explicitly return null so that we can determine whether to remove\n// the listener for .once\nconst genGuard = condition => `if(${condition})return null;`;\nconst modifierCode = {\n  stop: '$event.stopPropagation();',\n  prevent: '$event.preventDefault();',\n  self: genGuard(`$event.target !== $event.currentTarget`),\n  ctrl: genGuard(`!$event.ctrlKey`),\n  shift: genGuard(`!$event.shiftKey`),\n  alt: genGuard(`!$event.altKey`),\n  meta: genGuard(`!$event.metaKey`),\n  left: genGuard(`'button' in $event && $event.button !== 0`),\n  middle: genGuard(`'button' in $event && $event.button !== 1`),\n  right: genGuard(`'button' in $event && $event.button !== 2`)\n};\nfunction genHandlers(events, isNative) {\n  const prefix = isNative ? 'nativeOn:' : 'on:';\n  let staticHandlers = ``;\n  let dynamicHandlers = ``;\n  for (const name in events) {\n    const handlerCode = genHandler(events[name]);\n    if (events[name] && events[name].dynamic) {\n      dynamicHandlers += `${name},${handlerCode},`;\n    } else {\n      staticHandlers += `\"${name}\":${handlerCode},`;\n    }\n  }\n  staticHandlers = `{${staticHandlers.slice(0, -1)}}`;\n  if (dynamicHandlers) {\n    return prefix + `_d(${staticHandlers},[${dynamicHandlers.slice(0, -1)}])`;\n  } else {\n    return prefix + staticHandlers;\n  }\n}\nfunction genHandler(handler) {\n  if (!handler) {\n    return 'function(){}';\n  }\n  if (Array.isArray(handler)) {\n    return `[${handler.map(handler => genHandler(handler)).join(',')}]`;\n  }\n  const isMethodPath = simplePathRE.test(handler.value);\n  const isFunctionExpression = fnExpRE.test(handler.value);\n  const isFunctionInvocation = simplePathRE.test(handler.value.replace(fnInvokeRE, ''));\n  if (!handler.modifiers) {\n    if (isMethodPath || isFunctionExpression) {\n      return handler.value;\n    }\n    return `function($event){${isFunctionInvocation ? `return ${handler.value}` : handler.value}}`; // inline statement\n  } else {\n    let code = '';\n    let genModifierCode = '';\n    const keys = [];\n    for (const key in handler.modifiers) {\n      if (modifierCode[key]) {\n        genModifierCode += modifierCode[key];\n        // left/right\n        if (keyCodes[key]) {\n          keys.push(key);\n        }\n      } else if (key === 'exact') {\n        const modifiers = handler.modifiers;\n        genModifierCode += genGuard(['ctrl', 'shift', 'alt', 'meta'].filter(keyModifier => !modifiers[keyModifier]).map(keyModifier => `$event.${keyModifier}Key`).join('||'));\n      } else {\n        keys.push(key);\n      }\n    }\n    if (keys.length) {\n      code += genKeyFilter(keys);\n    }\n    // Make sure modifiers like prevent and stop get executed after key filtering\n    if (genModifierCode) {\n      code += genModifierCode;\n    }\n    const handlerCode = isMethodPath ? `return ${handler.value}.apply(null, arguments)` : isFunctionExpression ? `return (${handler.value}).apply(null, arguments)` : isFunctionInvocation ? `return ${handler.value}` : handler.value;\n    return `function($event){${code}${handlerCode}}`;\n  }\n}\nfunction genKeyFilter(keys) {\n  return (\n    // make sure the key filters only apply to KeyboardEvents\n    // #9441: can't use 'keyCode' in $event because Chrome autofill fires fake\n    // key events that do not have keyCode property...\n    `if(!$event.type.indexOf('key')&&` + `${keys.map(genFilterCode).join('&&')})return null;`\n  );\n}\nfunction genFilterCode(key) {\n  const keyVal = parseInt(key, 10);\n  if (keyVal) {\n    return `$event.keyCode!==${keyVal}`;\n  }\n  const keyCode = keyCodes[key];\n  const keyName = keyNames[key];\n  return `_k($event.keyCode,` + `${JSON.stringify(key)},` + `${JSON.stringify(keyCode)},` + `$event.key,` + `${JSON.stringify(keyName)}` + `)`;\n}\n\n/*  */\nfunction on$1(el, dir) {\n  if (process.env.NODE_ENV !== 'production' && dir.modifiers) {\n    warn$3(`v-on without argument does not support modifiers.`);\n  }\n  el.wrapListeners = code => `_g(${code},${dir.value})`;\n}\n\n/*  */\n\nfunction bind(el, dir) {\n  el.wrapData = code => {\n    return `_b(${code},'${el.tag}',${dir.value},${dir.modifiers && dir.modifiers.prop ? 'true' : 'false'}${dir.modifiers && dir.modifiers.sync ? ',true' : ''})`;\n  };\n}\n\n/*  */\nvar baseDirectives = {\n  on: on$1,\n  bind,\n  cloak: noop\n};\n\n/*  */\nclass CodegenState {\n  constructor(options) {\n    this.options = options;\n    this.warn = options.warn || baseWarn;\n    this.transforms = pluckModuleFunction(options.modules, 'transformCode');\n    this.dataGenFns = pluckModuleFunction(options.modules, 'genData');\n    this.directives = extend(extend({}, baseDirectives), options.directives);\n    const isReservedTag = options.isReservedTag || no;\n    this.maybeComponent = el => !!el.component || !isReservedTag(el.tag);\n    this.onceId = 0;\n    this.staticRenderFns = [];\n    this.pre = false;\n  }\n}\nfunction generate(ast, options) {\n  const state = new CodegenState(options);\n  // fix #11483, Root level <script> tags should not be rendered.\n  const code = ast ? ast.tag === 'script' ? 'null' : genElement(ast, state) : '_c(\"div\")';\n  return {\n    render: `with(this){return ${code}}`,\n    staticRenderFns: state.staticRenderFns\n  };\n}\nfunction genElement(el, state) {\n  if (el.parent) {\n    el.pre = el.pre || el.parent.pre;\n  }\n  if (el.staticRoot && !el.staticProcessed) {\n    return genStatic(el, state);\n  } else if (el.once && !el.onceProcessed) {\n    return genOnce(el, state);\n  } else if (el.for && !el.forProcessed) {\n    return genFor(el, state);\n  } else if (el.if && !el.ifProcessed) {\n    return genIf(el, state);\n  } else if (el.tag === 'template' && !el.slotTarget && !state.pre) {\n    return genChildren(el, state) || 'void 0';\n  } else if (el.tag === 'slot') {\n    return genSlot(el, state);\n  } else {\n    // component or element\n    let code;\n    if (el.component) {\n      code = genComponent(el.component, el, state);\n    } else {\n      let data;\n      if (!el.plain || el.pre && state.maybeComponent(el)) {\n        data = genData(el, state);\n      }\n      const children = el.inlineTemplate ? null : genChildren(el, state, true);\n      code = `_c('${el.tag}'${data ? `,${data}` : '' // data\n      }${children ? `,${children}` : '' // children\n      })`;\n    }\n    // module transforms\n    for (let i = 0; i < state.transforms.length; i++) {\n      code = state.transforms[i](el, code);\n    }\n    return code;\n  }\n}\n\n// hoist static sub-trees out\nfunction genStatic(el, state) {\n  el.staticProcessed = true;\n  // Some elements (templates) need to behave differently inside of a v-pre\n  // node.  All pre nodes are static roots, so we can use this as a location to\n  // wrap a state change and reset it upon exiting the pre node.\n  const originalPreState = state.pre;\n  if (el.pre) {\n    state.pre = el.pre;\n  }\n  state.staticRenderFns.push(`with(this){return ${genElement(el, state)}}`);\n  state.pre = originalPreState;\n  return `_m(${state.staticRenderFns.length - 1}${el.staticInFor ? ',true' : ''})`;\n}\n\n// v-once\nfunction genOnce(el, state) {\n  el.onceProcessed = true;\n  if (el.if && !el.ifProcessed) {\n    return genIf(el, state);\n  } else if (el.staticInFor) {\n    let key = '';\n    let parent = el.parent;\n    while (parent) {\n      if (parent.for) {\n        key = parent.key;\n        break;\n      }\n      parent = parent.parent;\n    }\n    if (!key) {\n      process.env.NODE_ENV !== 'production' && state.warn(`v-once can only be used inside v-for that is keyed. `, el.rawAttrsMap['v-once']);\n      return genElement(el, state);\n    }\n    return `_o(${genElement(el, state)},${state.onceId++},${key})`;\n  } else {\n    return genStatic(el, state);\n  }\n}\nfunction genIf(el, state, altGen, altEmpty) {\n  el.ifProcessed = true; // avoid recursion\n  return genIfConditions(el.ifConditions.slice(), state, altGen, altEmpty);\n}\nfunction genIfConditions(conditions, state, altGen, altEmpty) {\n  if (!conditions.length) {\n    return altEmpty || '_e()';\n  }\n  const condition = conditions.shift();\n  if (condition.exp) {\n    return `(${condition.exp})?${genTernaryExp(condition.block)}:${genIfConditions(conditions, state, altGen, altEmpty)}`;\n  } else {\n    return `${genTernaryExp(condition.block)}`;\n  }\n\n  // v-if with v-once should generate code like (a)?_m(0):_m(1)\n  function genTernaryExp(el) {\n    return altGen ? altGen(el, state) : el.once ? genOnce(el, state) : genElement(el, state);\n  }\n}\nfunction genFor(el, state, altGen, altHelper) {\n  const exp = el.for;\n  const alias = el.alias;\n  const iterator1 = el.iterator1 ? `,${el.iterator1}` : '';\n  const iterator2 = el.iterator2 ? `,${el.iterator2}` : '';\n  if (process.env.NODE_ENV !== 'production' && state.maybeComponent(el) && el.tag !== 'slot' && el.tag !== 'template' && !el.key) {\n    state.warn(`<${el.tag} v-for=\"${alias} in ${exp}\">: component lists rendered with ` + `v-for should have explicit keys. ` + `See https://vuejs.org/guide/list.html#key for more info.`, el.rawAttrsMap['v-for'], true /* tip */);\n  }\n\n  el.forProcessed = true; // avoid recursion\n  return `${altHelper || '_l'}((${exp}),` + `function(${alias}${iterator1}${iterator2}){` + `return ${(altGen || genElement)(el, state)}` + '})';\n}\nfunction genData(el, state) {\n  let data = '{';\n\n  // directives first.\n  // directives may mutate the el's other properties before they are generated.\n  const dirs = genDirectives(el, state);\n  if (dirs) data += dirs + ',';\n\n  // key\n  if (el.key) {\n    data += `key:${el.key},`;\n  }\n  // ref\n  if (el.ref) {\n    data += `ref:${el.ref},`;\n  }\n  if (el.refInFor) {\n    data += `refInFor:true,`;\n  }\n  // pre\n  if (el.pre) {\n    data += `pre:true,`;\n  }\n  // record original tag name for components using \"is\" attribute\n  if (el.component) {\n    data += `tag:\"${el.tag}\",`;\n  }\n  // module data generation functions\n  for (let i = 0; i < state.dataGenFns.length; i++) {\n    data += state.dataGenFns[i](el);\n  }\n  // attributes\n  if (el.attrs) {\n    data += `attrs:${genProps(el.attrs)},`;\n  }\n  // DOM props\n  if (el.props) {\n    data += `domProps:${genProps(el.props)},`;\n  }\n  // event handlers\n  if (el.events) {\n    data += `${genHandlers(el.events, false)},`;\n  }\n  if (el.nativeEvents) {\n    data += `${genHandlers(el.nativeEvents, true)},`;\n  }\n  // slot target\n  // only for non-scoped slots\n  if (el.slotTarget && !el.slotScope) {\n    data += `slot:${el.slotTarget},`;\n  }\n  // scoped slots\n  if (el.scopedSlots) {\n    data += `${genScopedSlots(el, el.scopedSlots, state)},`;\n  }\n  // component v-model\n  if (el.model) {\n    data += `model:{value:${el.model.value},callback:${el.model.callback},expression:${el.model.expression}},`;\n  }\n  // inline-template\n  if (el.inlineTemplate) {\n    const inlineTemplate = genInlineTemplate(el, state);\n    if (inlineTemplate) {\n      data += `${inlineTemplate},`;\n    }\n  }\n  data = data.replace(/,$/, '') + '}';\n  // v-bind dynamic argument wrap\n  // v-bind with dynamic arguments must be applied using the same v-bind object\n  // merge helper so that class/style/mustUseProp attrs are handled correctly.\n  if (el.dynamicAttrs) {\n    data = `_b(${data},\"${el.tag}\",${genProps(el.dynamicAttrs)})`;\n  }\n  // v-bind data wrap\n  if (el.wrapData) {\n    data = el.wrapData(data);\n  }\n  // v-on data wrap\n  if (el.wrapListeners) {\n    data = el.wrapListeners(data);\n  }\n  return data;\n}\nfunction genDirectives(el, state) {\n  const dirs = el.directives;\n  if (!dirs) return;\n  let res = 'directives:[';\n  let hasRuntime = false;\n  let i, l, dir, needRuntime;\n  for (i = 0, l = dirs.length; i < l; i++) {\n    dir = dirs[i];\n    needRuntime = true;\n    const gen = state.directives[dir.name];\n    if (gen) {\n      // compile-time directive that manipulates AST.\n      // returns true if it also needs a runtime counterpart.\n      needRuntime = !!gen(el, dir, state.warn);\n    }\n    if (needRuntime) {\n      hasRuntime = true;\n      res += `{name:\"${dir.name}\",rawName:\"${dir.rawName}\"${dir.value ? `,value:(${dir.value}),expression:${JSON.stringify(dir.value)}` : ''}${dir.arg ? `,arg:${dir.isDynamicArg ? dir.arg : `\"${dir.arg}\"`}` : ''}${dir.modifiers ? `,modifiers:${JSON.stringify(dir.modifiers)}` : ''}},`;\n    }\n  }\n  if (hasRuntime) {\n    return res.slice(0, -1) + ']';\n  }\n}\nfunction genInlineTemplate(el, state) {\n  const ast = el.children[0];\n  if (process.env.NODE_ENV !== 'production' && (el.children.length !== 1 || ast.type !== 1)) {\n    state.warn('Inline-template components must have exactly one child element.', {\n      start: el.start\n    });\n  }\n  if (ast && ast.type === 1) {\n    const inlineRenderFns = generate(ast, state.options);\n    return `inlineTemplate:{render:function(){${inlineRenderFns.render}},staticRenderFns:[${inlineRenderFns.staticRenderFns.map(code => `function(){${code}}`).join(',')}]}`;\n  }\n}\nfunction genScopedSlots(el, slots, state) {\n  // by default scoped slots are considered \"stable\", this allows child\n  // components with only scoped slots to skip forced updates from parent.\n  // but in some cases we have to bail-out of this optimization\n  // for example if the slot contains dynamic names, has v-if or v-for on them...\n  let needsForceUpdate = el.for || Object.keys(slots).some(key => {\n    const slot = slots[key];\n    return slot.slotTargetDynamic || slot.if || slot.for || containsSlotChild(slot) // is passing down slot from parent which may be dynamic\n    ;\n  });\n\n  // #9534: if a component with scoped slots is inside a conditional branch,\n  // it's possible for the same component to be reused but with different\n  // compiled slot content. To avoid that, we generate a unique key based on\n  // the generated code of all the slot contents.\n  let needsKey = !!el.if;\n\n  // OR when it is inside another scoped slot or v-for (the reactivity may be\n  // disconnected due to the intermediate scope variable)\n  // #9438, #9506\n  // TODO: this can be further optimized by properly analyzing in-scope bindings\n  // and skip force updating ones that do not actually use scope variables.\n  if (!needsForceUpdate) {\n    let parent = el.parent;\n    while (parent) {\n      if (parent.slotScope && parent.slotScope !== emptySlotScopeToken || parent.for) {\n        needsForceUpdate = true;\n        break;\n      }\n      if (parent.if) {\n        needsKey = true;\n      }\n      parent = parent.parent;\n    }\n  }\n  const generatedSlots = Object.keys(slots).map(key => genScopedSlot(slots[key], state)).join(',');\n  return `scopedSlots:_u([${generatedSlots}]${needsForceUpdate ? `,null,true` : ``}${!needsForceUpdate && needsKey ? `,null,false,${hash(generatedSlots)}` : ``})`;\n}\nfunction hash(str) {\n  let hash = 5381;\n  let i = str.length;\n  while (i) {\n    hash = hash * 33 ^ str.charCodeAt(--i);\n  }\n  return hash >>> 0;\n}\nfunction containsSlotChild(el) {\n  if (el.type === 1) {\n    if (el.tag === 'slot') {\n      return true;\n    }\n    return el.children.some(containsSlotChild);\n  }\n  return false;\n}\nfunction genScopedSlot(el, state) {\n  const isLegacySyntax = el.attrsMap['slot-scope'];\n  if (el.if && !el.ifProcessed && !isLegacySyntax) {\n    return genIf(el, state, genScopedSlot, `null`);\n  }\n  if (el.for && !el.forProcessed) {\n    return genFor(el, state, genScopedSlot);\n  }\n  const slotScope = el.slotScope === emptySlotScopeToken ? `` : String(el.slotScope);\n  const fn = `function(${slotScope}){` + `return ${el.tag === 'template' ? el.if && isLegacySyntax ? `(${el.if})?${genChildren(el, state) || 'undefined'}:undefined` : genChildren(el, state) || 'undefined' : genElement(el, state)}}`;\n  // reverse proxy v-slot without scope on this.$slots\n  const reverseProxy = slotScope ? `` : `,proxy:true`;\n  return `{key:${el.slotTarget || `\"default\"`},fn:${fn}${reverseProxy}}`;\n}\nfunction genChildren(el, state, checkSkip, altGenElement, altGenNode) {\n  const children = el.children;\n  if (children.length) {\n    const el = children[0];\n    // optimize single v-for\n    if (children.length === 1 && el.for && el.tag !== 'template' && el.tag !== 'slot') {\n      const normalizationType = checkSkip ? state.maybeComponent(el) ? `,1` : `,0` : ``;\n      return `${(altGenElement || genElement)(el, state)}${normalizationType}`;\n    }\n    const normalizationType = checkSkip ? getNormalizationType(children, state.maybeComponent) : 0;\n    const gen = altGenNode || genNode;\n    return `[${children.map(c => gen(c, state)).join(',')}]${normalizationType ? `,${normalizationType}` : ''}`;\n  }\n}\n\n// determine the normalization needed for the children array.\n// 0: no normalization needed\n// 1: simple normalization needed (possible 1-level deep nested array)\n// 2: full normalization needed\nfunction getNormalizationType(children, maybeComponent) {\n  let res = 0;\n  for (let i = 0; i < children.length; i++) {\n    const el = children[i];\n    if (el.type !== 1) {\n      continue;\n    }\n    if (needsNormalization(el) || el.ifConditions && el.ifConditions.some(c => needsNormalization(c.block))) {\n      res = 2;\n      break;\n    }\n    if (maybeComponent(el) || el.ifConditions && el.ifConditions.some(c => maybeComponent(c.block))) {\n      res = 1;\n    }\n  }\n  return res;\n}\nfunction needsNormalization(el) {\n  return el.for !== undefined || el.tag === 'template' || el.tag === 'slot';\n}\nfunction genNode(node, state) {\n  if (node.type === 1) {\n    return genElement(node, state);\n  } else if (node.type === 3 && node.isComment) {\n    return genComment(node);\n  } else {\n    return genText(node);\n  }\n}\nfunction genText(text) {\n  return `_v(${text.type === 2 ? text.expression // no need for () because already wrapped in _s()\n  : transformSpecialNewlines(JSON.stringify(text.text))})`;\n}\nfunction genComment(comment) {\n  return `_e(${JSON.stringify(comment.text)})`;\n}\nfunction genSlot(el, state) {\n  const slotName = el.slotName || '\"default\"';\n  const children = genChildren(el, state);\n  let res = `_t(${slotName}${children ? `,function(){return ${children}}` : ''}`;\n  const attrs = el.attrs || el.dynamicAttrs ? genProps((el.attrs || []).concat(el.dynamicAttrs || []).map(attr => ({\n    // slot props are camelized\n    name: camelize(attr.name),\n    value: attr.value,\n    dynamic: attr.dynamic\n  }))) : null;\n  const bind = el.attrsMap['v-bind'];\n  if ((attrs || bind) && !children) {\n    res += `,null`;\n  }\n  if (attrs) {\n    res += `,${attrs}`;\n  }\n  if (bind) {\n    res += `${attrs ? '' : ',null'},${bind}`;\n  }\n  return res + ')';\n}\n\n// componentName is el.component, take it as argument to shun flow's pessimistic refinement\nfunction genComponent(componentName, el, state) {\n  const children = el.inlineTemplate ? null : genChildren(el, state, true);\n  return `_c(${componentName},${genData(el, state)}${children ? `,${children}` : ''})`;\n}\nfunction genProps(props) {\n  let staticProps = ``;\n  let dynamicProps = ``;\n  for (let i = 0; i < props.length; i++) {\n    const prop = props[i];\n    const value = transformSpecialNewlines(prop.value);\n    if (prop.dynamic) {\n      dynamicProps += `${prop.name},${value},`;\n    } else {\n      staticProps += `\"${prop.name}\":${value},`;\n    }\n  }\n  staticProps = `{${staticProps.slice(0, -1)}}`;\n  if (dynamicProps) {\n    return `_d(${staticProps},[${dynamicProps.slice(0, -1)}])`;\n  } else {\n    return staticProps;\n  }\n}\n\n// #3895, #4268\nfunction transformSpecialNewlines(text) {\n  return text.replace(/\\u2028/g, '\\\\u2028').replace(/\\u2029/g, '\\\\u2029');\n}\n\n/*  */\n\n// these keywords should not appear inside expressions, but operators like\n// typeof, instanceof and in are allowed\nconst prohibitedKeywordRE = new RegExp('\\\\b' + ('do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,' + 'super,throw,while,yield,delete,export,import,return,switch,default,' + 'extends,finally,continue,debugger,function,arguments').split(',').join('\\\\b|\\\\b') + '\\\\b');\n\n// these unary operators should not be used as property/method names\nconst unaryOperatorsRE = new RegExp('\\\\b' + 'delete,typeof,void'.split(',').join('\\\\s*\\\\([^\\\\)]*\\\\)|\\\\b') + '\\\\s*\\\\([^\\\\)]*\\\\)');\n\n// strip strings in expressions\nconst stripStringRE = /'(?:[^'\\\\]|\\\\.)*'|\"(?:[^\"\\\\]|\\\\.)*\"|`(?:[^`\\\\]|\\\\.)*\\$\\{|\\}(?:[^`\\\\]|\\\\.)*`|`(?:[^`\\\\]|\\\\.)*`/g;\n\n// detect problematic expressions in a template\nfunction detectErrors(ast, warn) {\n  if (ast) {\n    checkNode(ast, warn);\n  }\n}\nfunction checkNode(node, warn) {\n  if (node.type === 1) {\n    for (const name in node.attrsMap) {\n      if (dirRE.test(name)) {\n        const value = node.attrsMap[name];\n        if (value) {\n          const range = node.rawAttrsMap[name];\n          if (name === 'v-for') {\n            checkFor(node, `v-for=\"${value}\"`, warn, range);\n          } else if (name === 'v-slot' || name[0] === '#') {\n            checkFunctionParameterExpression(value, `${name}=\"${value}\"`, warn, range);\n          } else if (onRE.test(name)) {\n            checkEvent(value, `${name}=\"${value}\"`, warn, range);\n          } else {\n            checkExpression(value, `${name}=\"${value}\"`, warn, range);\n          }\n        }\n      }\n    }\n    if (node.children) {\n      for (let i = 0; i < node.children.length; i++) {\n        checkNode(node.children[i], warn);\n      }\n    }\n  } else if (node.type === 2) {\n    checkExpression(node.expression, node.text, warn, node);\n  }\n}\nfunction checkEvent(exp, text, warn, range) {\n  const stripped = exp.replace(stripStringRE, '');\n  const keywordMatch = stripped.match(unaryOperatorsRE);\n  if (keywordMatch && stripped.charAt(keywordMatch.index - 1) !== '$') {\n    warn(`avoid using JavaScript unary operator as property name: ` + `\"${keywordMatch[0]}\" in expression ${text.trim()}`, range);\n  }\n  checkExpression(exp, text, warn, range);\n}\nfunction checkFor(node, text, warn, range) {\n  checkExpression(node.for || '', text, warn, range);\n  checkIdentifier(node.alias, 'v-for alias', text, warn, range);\n  checkIdentifier(node.iterator1, 'v-for iterator', text, warn, range);\n  checkIdentifier(node.iterator2, 'v-for iterator', text, warn, range);\n}\nfunction checkIdentifier(ident, type, text, warn, range) {\n  if (typeof ident === 'string') {\n    try {\n      new Function(`var ${ident}=_`);\n    } catch (e) {\n      warn(`invalid ${type} \"${ident}\" in expression: ${text.trim()}`, range);\n    }\n  }\n}\nfunction checkExpression(exp, text, warn, range) {\n  try {\n    new Function(`return ${exp}`);\n  } catch (e) {\n    const keywordMatch = exp.replace(stripStringRE, '').match(prohibitedKeywordRE);\n    if (keywordMatch) {\n      warn(`avoid using JavaScript keyword as property name: ` + `\"${keywordMatch[0]}\"\\n  Raw expression: ${text.trim()}`, range);\n    } else {\n      warn(`invalid expression: ${e.message} in\\n\\n` + `    ${exp}\\n\\n` + `  Raw expression: ${text.trim()}\\n`, range);\n    }\n  }\n}\nfunction checkFunctionParameterExpression(exp, text, warn, range) {\n  try {\n    new Function(exp, '');\n  } catch (e) {\n    warn(`invalid function parameter expression: ${e.message} in\\n\\n` + `    ${exp}\\n\\n` + `  Raw expression: ${text.trim()}\\n`, range);\n  }\n}\n\n/*  */\n\nconst range = 2;\nfunction generateCodeFrame(source, start = 0, end = source.length) {\n  const lines = source.split(/\\r?\\n/);\n  let count = 0;\n  const res = [];\n  for (let i = 0; i < lines.length; i++) {\n    count += lines[i].length + 1;\n    if (count >= start) {\n      for (let j = i - range; j <= i + range || end > count; j++) {\n        if (j < 0 || j >= lines.length) continue;\n        res.push(`${j + 1}${repeat(` `, 3 - String(j + 1).length)}|  ${lines[j]}`);\n        const lineLength = lines[j].length;\n        if (j === i) {\n          // push underline\n          const pad = start - (count - lineLength) + 1;\n          const length = end > count ? lineLength - pad : end - start;\n          res.push(`   |  ` + repeat(` `, pad) + repeat(`^`, length));\n        } else if (j > i) {\n          if (end > count) {\n            const length = Math.min(end - count, lineLength);\n            res.push(`   |  ` + repeat(`^`, length));\n          }\n          count += lineLength + 1;\n        }\n      }\n      break;\n    }\n  }\n  return res.join('\\n');\n}\nfunction repeat(str, n) {\n  let result = '';\n  if (n > 0) {\n    while (true) {\n      // eslint-disable-line\n      if (n & 1) result += str;\n      n >>>= 1;\n      if (n <= 0) break;\n      str += str;\n    }\n  }\n  return result;\n}\n\n/*  */\nfunction createFunction(code, errors) {\n  try {\n    return new Function(code);\n  } catch (err) {\n    errors.push({\n      err,\n      code\n    });\n    return noop;\n  }\n}\nfunction createCompileToFunctionFn(compile) {\n  const cache = Object.create(null);\n  return function compileToFunctions(template, options, vm) {\n    options = extend({}, options);\n    const warn = options.warn || warn$3;\n    delete options.warn;\n\n    /* istanbul ignore if */\n    if (process.env.NODE_ENV !== 'production') {\n      // detect possible CSP restriction\n      try {\n        new Function('return 1');\n      } catch (e) {\n        if (e.toString().match(/unsafe-eval|CSP/)) {\n          warn('It seems you are using the standalone build of Vue.js in an ' + 'environment with Content Security Policy that prohibits unsafe-eval. ' + 'The template compiler cannot work in this environment. Consider ' + 'relaxing the policy to allow unsafe-eval or pre-compiling your ' + 'templates into render functions.');\n        }\n      }\n    }\n\n    // check cache\n    const key = options.delimiters ? String(options.delimiters) + template : template;\n    if (cache[key]) {\n      return cache[key];\n    }\n\n    // compile\n    const compiled = compile(template, options);\n\n    // check compilation errors/tips\n    if (process.env.NODE_ENV !== 'production') {\n      if (compiled.errors && compiled.errors.length) {\n        if (options.outputSourceRange) {\n          compiled.errors.forEach(e => {\n            warn(`Error compiling template:\\n\\n${e.msg}\\n\\n` + generateCodeFrame(template, e.start, e.end), vm);\n          });\n        } else {\n          warn(`Error compiling template:\\n\\n${template}\\n\\n` + compiled.errors.map(e => `- ${e}`).join('\\n') + '\\n', vm);\n        }\n      }\n      if (compiled.tips && compiled.tips.length) {\n        if (options.outputSourceRange) {\n          compiled.tips.forEach(e => tip(e.msg, vm));\n        } else {\n          compiled.tips.forEach(msg => tip(msg, vm));\n        }\n      }\n    }\n\n    // turn code into functions\n    const res = {};\n    const fnGenErrors = [];\n    res.render = createFunction(compiled.render, fnGenErrors);\n    res.staticRenderFns = compiled.staticRenderFns.map(code => {\n      return createFunction(code, fnGenErrors);\n    });\n\n    // check function generation errors.\n    // this should only happen if there is a bug in the compiler itself.\n    // mostly for codegen development use\n    /* istanbul ignore if */\n    if (process.env.NODE_ENV !== 'production') {\n      if ((!compiled.errors || !compiled.errors.length) && fnGenErrors.length) {\n        warn(`Failed to generate render function:\\n\\n` + fnGenErrors.map(({\n          err,\n          code\n        }) => `${err.toString()} in\\n\\n${code}\\n`).join('\\n'), vm);\n      }\n    }\n    return cache[key] = res;\n  };\n}\n\n/*  */\nfunction createCompilerCreator(baseCompile) {\n  return function createCompiler(baseOptions) {\n    function compile(template, options) {\n      const finalOptions = Object.create(baseOptions);\n      const errors = [];\n      const tips = [];\n      let warn = (msg, range, tip) => {\n        (tip ? tips : errors).push(msg);\n      };\n      if (options) {\n        if (process.env.NODE_ENV !== 'production' && options.outputSourceRange) {\n          // $flow-disable-line\n          const leadingSpaceLength = template.match(/^\\s*/)[0].length;\n          warn = (msg, range, tip) => {\n            const data = {\n              msg\n            };\n            if (range) {\n              if (range.start != null) {\n                data.start = range.start + leadingSpaceLength;\n              }\n              if (range.end != null) {\n                data.end = range.end + leadingSpaceLength;\n              }\n            }\n            (tip ? tips : errors).push(data);\n          };\n        }\n        // merge custom modules\n        if (options.modules) {\n          finalOptions.modules = (baseOptions.modules || []).concat(options.modules);\n        }\n        // merge custom directives\n        if (options.directives) {\n          finalOptions.directives = extend(Object.create(baseOptions.directives || null), options.directives);\n        }\n        // copy other options\n        for (const key in options) {\n          if (key !== 'modules' && key !== 'directives') {\n            finalOptions[key] = options[key];\n          }\n        }\n      }\n      finalOptions.warn = warn;\n      const compiled = baseCompile(template.trim(), finalOptions);\n      if (process.env.NODE_ENV !== 'production') {\n        detectErrors(compiled.ast, warn);\n      }\n      compiled.errors = errors;\n      compiled.tips = tips;\n      return compiled;\n    }\n    return {\n      compile,\n      compileToFunctions: createCompileToFunctionFn(compile)\n    };\n  };\n}\n\n/*  */\n\n// `createCompilerCreator` allows creating compilers that use alternative\n// parser/optimizer/codegen, e.g the SSR optimizing compiler.\n// Here we just export a default compiler using the default parts.\nconst createCompiler = createCompilerCreator(function baseCompile(template, options) {\n  const ast = parse(template.trim(), options);\n  if (options.optimize !== false) {\n    optimize(ast, options);\n  }\n  const code = generate(ast, options);\n  return {\n    ast,\n    render: code.render,\n    staticRenderFns: code.staticRenderFns\n  };\n});\n\n/*  */\nconst {\n  compile,\n  compileToFunctions\n} = createCompiler(baseOptions);\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n/**\r\n * hippy-vue-css-loader will translate the CSS texts to be AST\r\n * and attached at global[GLOBAL_STYLE_NAME].\r\n * when use HMR, the outdated chunk style will be attached at\r\n * global[GLOBAL_DISPOSE_STYLE_NAME].\r\n */\r\nconst GLOBAL_STYLE_NAME = '__HIPPY_VUE_STYLES__';\r\nconst GLOBAL_DISPOSE_STYLE_NAME = '__HIPPY_VUE_DISPOSE_STYLES__';\r\n/**\r\n * Hippy debug address\r\n */\r\nconst HIPPY_DEBUG_ADDRESS = `http://127.0.0.1:${process.env.PORT}/`;\r\n/**\r\n * Hippy static resources protocol\r\n */\r\nconst HIPPY_STATIC_PROTOCOL = 'hpfile://';\r\n/**\r\n * First time init rootViewId always be 3\r\n */\r\nconst ROOT_VIEW_ID$1 = 3;\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nconst HIPPY_VUE_VERSION = \"3.3.2\";\r\nlet _App;\r\nlet _Vue;\r\n/**\r\n * Style pre-process hook\r\n *\r\n * Use for hack the style processing, update the property\r\n * or value manually.\r\n *\r\n * @param {Object} decl - Style declaration.\r\n * @param {string} decl.property - Style property name.\r\n * @param {string|number} decl.value - Style property value.\r\n * @returns {Object} decl - Processed declaration, original declaration by default.\r\n */\r\nlet _beforeLoadStyle = (decl) => decl;\r\nlet _beforeRenderToNative = () => { };\r\nfunction setVue(Vue) {\r\n    _Vue = Vue;\r\n}\r\nfunction setApp(app) {\r\n    _App = app;\r\n}\r\nfunction getApp() {\r\n    return _App;\r\n}\r\nfunction setBeforeLoadStyle(beforeLoadStyle) {\r\n    _beforeLoadStyle = beforeLoadStyle;\r\n}\r\nfunction getBeforeLoadStyle() {\r\n    return _beforeLoadStyle;\r\n}\r\nfunction setBeforeRenderToNative(beforeRenderToNative) {\r\n    _beforeRenderToNative = beforeRenderToNative;\r\n}\r\nfunction getBeforeRenderToNative() {\r\n    return _beforeRenderToNative;\r\n}\r\nconst infoTrace = once(() => {\r\n    console.log('Hippy-Vue has \"Vue.config.silent\" to control trace log output, to see output logs if set it to false.');\r\n});\r\nfunction isDev() {\r\n    return process.env.NODE_ENV !== 'production';\r\n}\r\nfunction isTraceEnabled() {\r\n    return !(!isDev()\r\n        || (process === null || process === void 0 ? void 0 : process.release)\r\n        || (_Vue === null || _Vue === void 0 ? void 0 : _Vue.config.silent));\r\n}\r\nfunction trace(...context) {\r\n    if (isTraceEnabled()) {\r\n        console.log(...context);\r\n    }\r\n    else if (_Vue === null || _Vue === void 0 ? void 0 : _Vue.config.silent) {\r\n        infoTrace();\r\n    }\r\n}\r\nfunction warn(...context) {\r\n    if (!isDev()) {\r\n        return null;\r\n    }\r\n    return console.warn(...context);\r\n}\r\nfunction capitalizeFirstLetter(str) {\r\n    return str.charAt(0).toUpperCase() + str.slice(1);\r\n}\r\n/**\r\n * Convert string to number as possible\r\n */\r\nconst numberRegEx = new RegExp('^(?=.+)[+-]?\\\\d*\\\\.?\\\\d*([Ee][+-]?\\\\d+)?$');\r\nfunction tryConvertNumber(str) {\r\n    if (typeof str === 'number') {\r\n        return str;\r\n    }\r\n    if (typeof str === 'string' && numberRegEx.test(str)) {\r\n        try {\r\n            return parseFloat(str);\r\n        }\r\n        catch (err) {\r\n            // pass\r\n        }\r\n    }\r\n    return str;\r\n}\r\nfunction unicodeToChar(text) {\r\n    return text.replace(/\\\\u[\\dA-F]{4}|\\\\x[\\dA-F]{2}/gi, (match) => String.fromCharCode(parseInt(match.replace(/\\\\u|\\\\x/g, ''), 16)));\r\n}\r\n/**\r\n * Better function checking\r\n */\r\nfunction isFunction(func) {\r\n    return Object.prototype.toString.call(func) === '[object Function]';\r\n}\r\n/**\r\n * Compare two sets\r\n */\r\nfunction setsAreEqual(as, bs) {\r\n    if (as.size !== bs.size)\r\n        return false;\r\n    const values = as.values();\r\n    let a = values.next().value;\r\n    while (a) {\r\n        if (!bs.has(a)) {\r\n            return false;\r\n        }\r\n        a = values.next().value;\r\n    }\r\n    return true;\r\n}\r\n/**\r\n * endsWith polyfill for iOS 8 compatibility\r\n *\r\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/endsWith#Polyfill\r\n *\r\n * @param {string} str - The characters with specified string.\r\n * @param {string} search - The characters to be searched for at the end of str.\r\n * @param {number} length - If provided, it is used as the length of str. Defaults to str.length.\r\n * @return {boolean}\r\n */\r\nfunction endsWith(str, search, length) {\r\n    if (str.endsWith) {\r\n        return str.endsWith(search, length);\r\n    }\r\n    let strLen = length;\r\n    if (strLen === undefined || strLen > str.length) {\r\n        strLen = str.length;\r\n    }\r\n    return str.slice(strLen - search.length, strLen) === search;\r\n}\r\n/**\r\n * convert local image path to native specific schema\r\n * @param {string} originalUrl\r\n * @returns {string}\r\n */\r\nfunction convertImageLocalPath(originalUrl) {\r\n    let url = originalUrl;\r\n    if (/^assets/.test(url)) {\r\n        if (isDev()) {\r\n            url = `${HIPPY_DEBUG_ADDRESS}${url}`;\r\n        }\r\n        else {\r\n            url = `${HIPPY_STATIC_PROTOCOL}./${url}`;\r\n        }\r\n    }\r\n    return url;\r\n}\r\nfunction deepCopy(data, hash = new WeakMap()) {\r\n    if (typeof data !== 'object' || data === null) {\r\n        throw new TypeError('deepCopy data is object');\r\n    }\r\n    // is it data existed in WeakMap\r\n    if (hash.has(data)) {\r\n        return hash.get(data);\r\n    }\r\n    const newData = {};\r\n    const dataKeys = Object.keys(data);\r\n    dataKeys.forEach((value) => {\r\n        const currentDataValue = data[value];\r\n        if (typeof currentDataValue !== 'object' || currentDataValue === null) {\r\n            newData[value] = currentDataValue;\r\n        }\r\n        else if (Array.isArray(currentDataValue)) {\r\n            newData[value] = [...currentDataValue];\r\n        }\r\n        else if (currentDataValue instanceof Set) {\r\n            // @ts-ignore\r\n            newData[value] = new Set([...currentDataValue]);\r\n        }\r\n        else if (currentDataValue instanceof Map) {\r\n            // @ts-ignore\r\n            newData[value] = new Map([...currentDataValue]);\r\n        }\r\n        else {\r\n            hash.set(data, data);\r\n            newData[value] = deepCopy(currentDataValue, hash);\r\n        }\r\n    });\r\n    return newData;\r\n}\r\nfunction isNullOrUndefined(value) {\r\n    return typeof value === 'undefined' || value === null;\r\n}\r\nfunction isStyleNotEmpty(style) {\r\n    if (typeof style === 'string') {\r\n        return style.trim() !== '';\r\n    }\r\n    return style !== null && style !== undefined;\r\n}\r\nfunction whitespaceFilter(str) {\r\n    if (typeof str !== 'string')\r\n        return str;\r\n    // Adjusts template whitespace handling behavior.\r\n    // \"trimWhitespace\": default behavior is true.\r\n    // It will trim leading / ending whitespace including all special unicode such as \\xA0(&nbsp;).\r\n    if (!_Vue || typeof _Vue.config.trimWhitespace === 'undefined' || _Vue.config.trimWhitespace) {\r\n        return str.trim().replace(/(&nbsp;|Â)/g, ' ');\r\n    }\r\n    return str.replace(/(&nbsp;|Â)/g, ' ');\r\n}\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n/**\r\n * All components implemented by Native.\r\n */\r\nconst View = Symbol.for('View');\r\nconst Image = Symbol.for('Image');\r\nconst ListView = Symbol.for('ListView');\r\nconst ListViewItem = Symbol.for('ListViewItem');\r\nconst Text = Symbol.for('Text');\r\nconst TextInput = Symbol.for('TextInput');\r\nconst WebView = Symbol.for('WebView');\r\nconst VideoPlayer = Symbol.for('VideoPlayer');\r\nconst NATIVE_COMPONENT_NAME_MAP = {\r\n    [View]: 'View',\r\n    [Image]: 'Image',\r\n    [ListView]: 'ListView',\r\n    [ListViewItem]: 'ListViewItem',\r\n    [Text]: 'Text',\r\n    [TextInput]: 'TextInput',\r\n    [WebView]: 'WebView',\r\n    [VideoPlayer]: 'VideoPlayer',\r\n};\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nfunction mapEvent(...args) {\r\n    const map = {};\r\n    if (Array.isArray(args[0])) {\r\n        args[0].forEach(([vueEventName, nativeEventName]) => {\r\n            map[map[vueEventName] = nativeEventName] = vueEventName;\r\n        });\r\n    }\r\n    else {\r\n        const [vueEventName, nativeEventName] = args;\r\n        map[map[vueEventName] = nativeEventName] = vueEventName;\r\n    }\r\n    return map;\r\n}\r\nconst INPUT_VALUE_MAP = {\r\n    number: 'numeric',\r\n    text: 'default',\r\n    search: 'web-search',\r\n};\r\nconst accessibilityAttrMaps = {\r\n    role: 'accessibilityRole',\r\n    'aria-label': 'accessibilityLabel',\r\n    'aria-disabled': {\r\n        jointKey: 'accessibilityState',\r\n        name: 'disabled',\r\n    },\r\n    'aria-selected': {\r\n        jointKey: 'accessibilityState',\r\n        name: 'selected',\r\n    },\r\n    'aria-checked': {\r\n        jointKey: 'accessibilityState',\r\n        name: 'checked',\r\n    },\r\n    'aria-busy': {\r\n        jointKey: 'accessibilityState',\r\n        name: 'busy',\r\n    },\r\n    'aria-expanded': {\r\n        jointKey: 'accessibilityState',\r\n        name: 'expanded',\r\n    },\r\n    'aria-valuemin': {\r\n        jointKey: 'accessibilityValue',\r\n        name: 'min',\r\n    },\r\n    'aria-valuemax': {\r\n        jointKey: 'accessibilityValue',\r\n        name: 'max',\r\n    },\r\n    'aria-valuenow': {\r\n        jointKey: 'accessibilityValue',\r\n        name: 'now',\r\n    },\r\n    'aria-valuetext': {\r\n        jointKey: 'accessibilityValue',\r\n        name: 'text',\r\n    },\r\n};\r\n// View area\r\nconst div = {\r\n    symbol: View,\r\n    component: {\r\n        name: NATIVE_COMPONENT_NAME_MAP[View],\r\n        eventNamesMap: mapEvent([\r\n            ['touchStart', 'onTouchDown'],\r\n            ['touchstart', 'onTouchDown'],\r\n            ['touchmove', 'onTouchMove'],\r\n            ['touchend', 'onTouchEnd'],\r\n            ['touchcancel', 'onTouchCancel'],\r\n        ]),\r\n        attributeMaps: {\r\n            ...accessibilityAttrMaps,\r\n        },\r\n        processEventData(event, nativeEventName, nativeEventParams) {\r\n            var _a, _b;\r\n            switch (nativeEventName) {\r\n                case 'onScroll':\r\n                case 'onScrollBeginDrag':\r\n                case 'onScrollEndDrag':\r\n                case 'onMomentumScrollBegin':\r\n                case 'onMomentumScrollEnd':\r\n                    event.offsetX = (_a = nativeEventParams.contentOffset) === null || _a === void 0 ? void 0 : _a.x;\r\n                    event.offsetY = (_b = nativeEventParams.contentOffset) === null || _b === void 0 ? void 0 : _b.y;\r\n                    break;\r\n                case 'onTouchDown':\r\n                case 'onTouchMove':\r\n                case 'onTouchEnd':\r\n                case 'onTouchCancel':\r\n                    event.touches = {\r\n                        0: {\r\n                            clientX: nativeEventParams.page_x,\r\n                            clientY: nativeEventParams.page_y,\r\n                        },\r\n                        length: 1,\r\n                    };\r\n                    break;\r\n                case 'onFocus':\r\n                    event.isFocused = nativeEventName.focus;\r\n                    break;\r\n            }\r\n            return event;\r\n        },\r\n    },\r\n};\r\nconst button = {\r\n    symbol: View,\r\n    component: {\r\n        ...div.component,\r\n        name: NATIVE_COMPONENT_NAME_MAP[View],\r\n        defaultNativeStyle: {},\r\n    },\r\n};\r\nconst form = {\r\n    symbol: View,\r\n    component: {\r\n        name: NATIVE_COMPONENT_NAME_MAP[View],\r\n    },\r\n};\r\n// Image area\r\nconst img = {\r\n    symbol: Image,\r\n    component: {\r\n        ...div.component,\r\n        name: NATIVE_COMPONENT_NAME_MAP[Image],\r\n        defaultNativeStyle: {\r\n            backgroundColor: 0,\r\n        },\r\n        attributeMaps: {\r\n            placeholder: {\r\n                name: 'defaultSource',\r\n                propsValue(value) {\r\n                    const url = convertImageLocalPath(value);\r\n                    if (url\r\n                        && url.indexOf(HIPPY_DEBUG_ADDRESS) < 0\r\n                        && ['https://', 'http://'].some(schema => url.indexOf(schema) === 0)) {\r\n                        warn(`img placeholder ${url} recommend to use base64 image or local path image`);\r\n                    }\r\n                    return url;\r\n                },\r\n            },\r\n            /**\r\n             * For Android, will use src property\r\n             * For iOS, will convert to use source property\r\n             */\r\n            src(value) {\r\n                return convertImageLocalPath(value);\r\n            },\r\n            ...accessibilityAttrMaps,\r\n        },\r\n        processEventData(event, nativeEventName, nativeEventParams) {\r\n            switch (nativeEventName) {\r\n                case 'onTouchDown':\r\n                case 'onTouchMove':\r\n                case 'onTouchEnd':\r\n                case 'onTouchCancel':\r\n                    event.touches = {\r\n                        0: {\r\n                            clientX: nativeEventParams.page_x,\r\n                            clientY: nativeEventParams.page_y,\r\n                        },\r\n                        length: 1,\r\n                    };\r\n                    break;\r\n                case 'onFocus':\r\n                    event.isFocused = nativeEventName.focus;\r\n                    break;\r\n                case 'onLoad': {\r\n                    const { width, height, url } = nativeEventParams;\r\n                    event.width = width;\r\n                    event.height = height;\r\n                    event.url = url;\r\n                    break;\r\n                }\r\n            }\r\n            return event;\r\n        },\r\n    },\r\n};\r\n// ListView area\r\nconst ul = {\r\n    symbol: ListView,\r\n    component: {\r\n        name: NATIVE_COMPONENT_NAME_MAP[ListView],\r\n        defaultNativeStyle: {\r\n            flex: 1, // Necessary by iOS\r\n        },\r\n        attributeMaps: {\r\n            ...accessibilityAttrMaps,\r\n        },\r\n        eventNamesMap: mapEvent('listReady', 'initialListReady'),\r\n        processEventData(event, nativeEventName, nativeEventParams) {\r\n            var _a, _b;\r\n            switch (nativeEventName) {\r\n                case 'onScroll':\r\n                case 'onScrollBeginDrag':\r\n                case 'onScrollEndDrag':\r\n                case 'onMomentumScrollBegin':\r\n                case 'onMomentumScrollEnd':\r\n                    event.offsetX = (_a = nativeEventParams.contentOffset) === null || _a === void 0 ? void 0 : _a.x;\r\n                    event.offsetY = (_b = nativeEventParams.contentOffset) === null || _b === void 0 ? void 0 : _b.y;\r\n                    break;\r\n                case 'onDelete':\r\n                    event.index = nativeEventParams.index;\r\n                    break;\r\n            }\r\n            return event;\r\n        },\r\n    },\r\n};\r\nconst li = {\r\n    symbol: ListViewItem,\r\n    component: {\r\n        name: NATIVE_COMPONENT_NAME_MAP[ListViewItem],\r\n        attributeMaps: {\r\n            ...accessibilityAttrMaps,\r\n        },\r\n        eventNamesMap: mapEvent([\r\n            ['disappear', 'onDisappear'],\r\n        ]),\r\n    },\r\n};\r\n// Text area\r\nconst span = {\r\n    symbol: View,\r\n    component: {\r\n        ...div.component,\r\n        name: NATIVE_COMPONENT_NAME_MAP[Text],\r\n        defaultNativeProps: {\r\n            text: '',\r\n        },\r\n        defaultNativeStyle: {\r\n            color: 4278190080, // Black color(#000), necessary for Android\r\n        },\r\n    },\r\n};\r\nconst label = span;\r\nconst p = span;\r\nconst a = {\r\n    component: {\r\n        ...span.component,\r\n        defaultNativeStyle: {\r\n            color: 4278190318, // Blue color(rgb(0, 0, 238), necessary for android\r\n        },\r\n        attributeMaps: {\r\n            href: {\r\n                name: 'href',\r\n                propsValue(value) {\r\n                    if (['//', 'http://', 'https://'].filter(url => value.indexOf(url) === 0).length) {\r\n                        warn(`href attribute can't apply effect in native with url: ${value}`);\r\n                        return '';\r\n                    }\r\n                    return value;\r\n                },\r\n            },\r\n        },\r\n    },\r\n};\r\n// TextInput area\r\nconst input = {\r\n    symbol: TextInput,\r\n    component: {\r\n        name: NATIVE_COMPONENT_NAME_MAP[TextInput],\r\n        attributeMaps: {\r\n            type: {\r\n                name: 'keyboardType',\r\n                propsValue(value) {\r\n                    const newValue = INPUT_VALUE_MAP[value];\r\n                    if (!newValue) {\r\n                        return value;\r\n                    }\r\n                    return newValue;\r\n                },\r\n            },\r\n            disabled: {\r\n                name: 'editable',\r\n                propsValue(value) {\r\n                    return !value;\r\n                },\r\n            },\r\n            value: 'defaultValue',\r\n            maxlength: 'maxLength',\r\n            ...accessibilityAttrMaps,\r\n        },\r\n        nativeProps: {\r\n            numberOfLines: 1,\r\n            multiline: false,\r\n        },\r\n        defaultNativeProps: {\r\n            underlineColorAndroid: 0, // Remove the android underline\r\n        },\r\n        defaultNativeStyle: {\r\n            padding: 0,\r\n            color: 4278190080, // Black color(#000), necessary for Android\r\n        },\r\n        eventNamesMap: mapEvent([\r\n            ['change', 'onChangeText'],\r\n            ['select', 'onSelectionChange'],\r\n        ]),\r\n        processEventData(event, nativeEventName, nativeEventParams) {\r\n            switch (nativeEventName) {\r\n                case 'onChangeText':\r\n                case 'onEndEditing':\r\n                    event.value = nativeEventParams.text;\r\n                    break;\r\n                case 'onSelectionChange':\r\n                    // The event in web not response meaningful things.\r\n                    // But in hippy we can response the selection start & end position.\r\n                    event.start = nativeEventParams.selection.start;\r\n                    event.end = nativeEventParams.selection.end;\r\n                    break;\r\n                case 'onKeyboardWillShow':\r\n                    event.keyboardHeight = nativeEventParams.keyboardHeight;\r\n                    break;\r\n                case 'onContentSizeChange':\r\n                    event.width = nativeEventParams.contentSize.width;\r\n                    event.height = nativeEventParams.contentSize.height;\r\n                    break;\r\n            }\r\n            return event;\r\n        },\r\n    },\r\n};\r\nconst textarea = {\r\n    symbol: TextInput,\r\n    component: {\r\n        name: NATIVE_COMPONENT_NAME_MAP[TextInput],\r\n        defaultNativeProps: {\r\n            ...input.component.defaultNativeProps,\r\n            numberOfLines: 5,\r\n        },\r\n        attributeMaps: {\r\n            ...input.component.attributeMaps,\r\n            rows: 'numberOfLines',\r\n        },\r\n        nativeProps: {\r\n            multiline: true,\r\n        },\r\n        defaultNativeStyle: input.component.defaultNativeStyle,\r\n        eventNamesMap: input.component.eventNamesMap,\r\n        processEventData: input.component.processEventData,\r\n    },\r\n};\r\n// Iframe area\r\nconst iframe = {\r\n    symbol: WebView,\r\n    component: {\r\n        name: NATIVE_COMPONENT_NAME_MAP[WebView],\r\n        defaultNativeProps: {\r\n            method: 'get',\r\n            userAgent: '',\r\n        },\r\n        attributeMaps: {\r\n            src: {\r\n                name: 'source',\r\n                propsValue(value) {\r\n                    return {\r\n                        uri: value,\r\n                    };\r\n                },\r\n            },\r\n        },\r\n        processEventData(event, nativeEventName, nativeEventParams) {\r\n            switch (nativeEventName) {\r\n                case 'onLoad':\r\n                case 'onLoadStart':\r\n                    event.url = nativeEventParams.url;\r\n                    break;\r\n                case 'onLoadEnd':\r\n                    event.url = nativeEventParams.url;\r\n                    event.success = nativeEventParams.success;\r\n                    event.error = nativeEventParams.error;\r\n                    break;\r\n            }\r\n            return event;\r\n        },\r\n    },\r\n};\n\nvar BUILT_IN_ELEMENTS = /*#__PURE__*/Object.freeze({\n  __proto__: null,\n  button: button,\n  div: div,\n  form: form,\n  img: img,\n  input: input,\n  label: label,\n  li: li,\n  p: p,\n  span: span,\n  a: a,\n  textarea: textarea,\n  ul: ul,\n  iframe: iframe\n});\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nconst isReservedTag = makeMap('template,script,style,element,content,slot,'\r\n    + 'button,div,form,img,input,label,li,p,span,textarea,ul', true);\r\nconst elementMap = new Map();\r\nconst defaultViewMeta = {\r\n    skipAddToDom: false,\r\n    isUnaryTag: false,\r\n    tagNamespace: '',\r\n    canBeLeftOpenTag: false,\r\n    mustUseProp: false,\r\n    model: null,\r\n    component: null,\r\n};\r\nfunction getDefaultComponent(elementName, meta, normalizedName) {\r\n    return {\r\n        name: elementName,\r\n        functional: true,\r\n        model: meta.model,\r\n        render(h, { data, children, }) {\r\n            return h(normalizedName, data, children);\r\n        },\r\n    };\r\n}\r\nfunction normalizeElementName(elementName) {\r\n    return elementName.toLowerCase();\r\n}\r\nfunction registerElement(elementName, oldMeta) {\r\n    if (!elementName) {\r\n        throw new Error('RegisterElement cannot set empty name');\r\n    }\r\n    const normalizedName = normalizeElementName(elementName);\r\n    const meta = { ...defaultViewMeta, ...oldMeta };\r\n    if (elementMap.has(normalizedName)) {\r\n        throw new Error(`Element for ${elementName} already registered.`);\r\n    }\r\n    meta.component = {\r\n        ...getDefaultComponent(elementName, meta, normalizedName),\r\n        ...meta.component,\r\n    };\r\n    if (meta.component.name && meta.component.name === capitalizeFirstLetter(camelize(elementName))) {\r\n        warn(`Cannot registerElement with kebab-case name ${elementName}, which converted to camelCase is the same with component.name ${meta.component.name}, please make them different`);\r\n    }\r\n    const entry = {\r\n        meta,\r\n    };\r\n    elementMap.set(normalizedName, entry);\r\n    return entry;\r\n}\r\nfunction getElementMap() {\r\n    return elementMap;\r\n}\r\nfunction getViewMeta(elementName) {\r\n    const normalizedName = normalizeElementName(elementName);\r\n    let viewMeta = defaultViewMeta;\r\n    const entry = elementMap.get(normalizedName);\r\n    if (entry === null || entry === void 0 ? void 0 : entry.meta) {\r\n        viewMeta = entry.meta;\r\n    }\r\n    return viewMeta;\r\n}\r\nfunction isKnownView(elementName) {\r\n    return elementMap.has(normalizeElementName(elementName));\r\n}\r\nfunction mustUseProp(el, type, attr) {\r\n    const viewMeta = getViewMeta(el);\r\n    if (!viewMeta.mustUseProp) {\r\n        return false;\r\n    }\r\n    return viewMeta.mustUseProp(type, attr);\r\n}\r\nfunction isUnknownElement(el) {\r\n    return !isKnownView(el);\r\n}\r\n// Register components\r\nfunction registerBuiltinElements() {\r\n    Object.keys(BUILT_IN_ELEMENTS).forEach((tagName) => {\r\n        const meta = BUILT_IN_ELEMENTS[tagName];\r\n        registerElement(tagName, meta);\r\n    });\r\n}\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nclass Event {\r\n    constructor(eventName) {\r\n        this.value = '';\r\n        // the object that triggered the event, the original target\r\n        this.target = null;\r\n        // the current object that triggered the event, which is changing as the event bubbles up\r\n        this.currentTarget = null;\r\n        this.originalTarget = null;\r\n        // whether the event can bubble, the default is true\r\n        this.bubbles = true;\r\n        // whether the default behavior of the event can be canceled, the default is true\r\n        this.cancelable = true;\r\n        // indicates which stage of event stream processing, useless for now\r\n        this.eventPhase = 0;\r\n        // whether the event has been canceled\r\n        this.isCanceled = false;\r\n        this.type = eventName;\r\n        this.bubbles = true;\r\n        this.cancelable = true;\r\n        this.eventPhase = 0;\r\n        this.originalTarget = null;\r\n        this.currentTarget = null;\r\n        this.target = null;\r\n        // Private properties\r\n        this.isCanceled = false;\r\n    }\r\n    get canceled() {\r\n        return this.isCanceled;\r\n    }\r\n    stopPropagation() {\r\n        this.bubbles = false;\r\n    }\r\n    preventDefault() {\r\n        if (!this.cancelable) {\r\n            return;\r\n        }\r\n        this.isCanceled = true;\r\n    }\r\n    /**\r\n     * Old compatible.\r\n     */\r\n    initEvent(eventName, bubbles = true, cancelable = true) {\r\n        this.type = eventName;\r\n        if (bubbles === false) {\r\n            this.bubbles = false;\r\n        }\r\n        if (cancelable === false) {\r\n            this.cancelable = false;\r\n        }\r\n        return this;\r\n    }\r\n}\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nclass EventEmitter {\r\n    constructor(element) {\r\n        this.element = element;\r\n        this.observers = {};\r\n    }\r\n    getEventListeners() {\r\n        return this.observers;\r\n    }\r\n    addEventListener(eventNames, callback, options) {\r\n        if (typeof eventNames !== 'string') {\r\n            throw new TypeError('Events name(s) must be string.');\r\n        }\r\n        if (callback && !isFunction(callback)) {\r\n            throw new TypeError('callback must be function.');\r\n        }\r\n        const events = eventNames.split(',');\r\n        for (let i = 0, l = events.length; i < l; i += 1) {\r\n            const eventName = events[i].trim();\r\n            if (isDev()) {\r\n                if (['touchStart', 'touchMove', 'touchEnd', 'touchCancel'].indexOf(eventName) !== -1) {\r\n                    warn(`@${eventName} is deprecated because it's not compatible with browser standard, please use @${eventName.toLowerCase()} to instead as so on.`);\r\n                }\r\n            }\r\n            const list = this.getEventList(eventName, true);\r\n            list.push({\r\n                callback,\r\n                options,\r\n            });\r\n        }\r\n        return this.observers;\r\n    }\r\n    removeEventListener(eventNames, callback, options) {\r\n        if (typeof eventNames !== 'string') {\r\n            throw new TypeError('Events name(s) must be string.');\r\n        }\r\n        if (callback && !isFunction(callback)) {\r\n            throw new TypeError('callback must be function.');\r\n        }\r\n        const events = eventNames.split(',');\r\n        for (let i = 0, l = events.length; i < l; i += 1) {\r\n            const eventName = events[i].trim();\r\n            if (callback) {\r\n                const list = this.getEventList(eventName, false);\r\n                if (list) {\r\n                    const index = this.indexOfListener(list, callback, options);\r\n                    if (index >= 0) {\r\n                        list.splice(index, 1);\r\n                    }\r\n                    if (list.length === 0) {\r\n                        this.observers[eventName] = undefined;\r\n                    }\r\n                }\r\n            }\r\n            else {\r\n                this.observers[eventName] = undefined;\r\n            }\r\n        }\r\n        return this.observers;\r\n    }\r\n    emit(eventInstance) {\r\n        var _a, _b;\r\n        const { type: eventName } = eventInstance;\r\n        const observers = this.observers[eventName];\r\n        if (!observers) {\r\n            return;\r\n        }\r\n        for (let i = observers.length - 1; i >= 0; i -= 1) {\r\n            const entry = observers[i];\r\n            if ((_a = entry.options) === null || _a === void 0 ? void 0 : _a.once) {\r\n                observers.splice(i, 1);\r\n            }\r\n            if ((_b = entry.options) === null || _b === void 0 ? void 0 : _b.thisArg) {\r\n                entry.callback.apply(entry.options.thisArg, [eventInstance]);\r\n            }\r\n            else {\r\n                entry.callback(eventInstance);\r\n            }\r\n        }\r\n    }\r\n    getEventList(eventName, createIfNeeded) {\r\n        let list = this.observers[eventName];\r\n        if (!list && createIfNeeded) {\r\n            list = [];\r\n            this.observers[eventName] = list;\r\n        }\r\n        return list;\r\n    }\r\n    indexOfListener(list, callback, options) {\r\n        return list.findIndex((entry) => {\r\n            if (options) {\r\n                return entry.callback === callback && looseEqual(entry.options, options);\r\n            }\r\n            return entry.callback === callback;\r\n        });\r\n    }\r\n}\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n/* eslint-disable no-param-reassign */\r\nconst nodeCache = new Map();\r\n/**\r\n * preCacheNode - cache ViewNode\r\n * @param {ViewNode} targetNode\r\n * @param {number} nodeId\r\n */\r\nfunction preCacheNode(targetNode, nodeId) {\r\n    nodeCache.set(nodeId, targetNode);\r\n}\r\n/**\r\n * unCacheNode - delete ViewNode from cache\r\n * @param {number} nodeId\r\n */\r\nfunction unCacheNode(nodeId) {\r\n    nodeCache.delete(nodeId);\r\n}\r\n/**\r\n * getNodeById - get ViewNode by nodeId\r\n * @param {number} nodeId\r\n */\r\nfunction getNodeById(nodeId) {\r\n    return nodeCache.get(nodeId) || null;\r\n}\r\n/**\r\n * unCacheViewNodeOnIdle - recursively delete ViewNode cache on idle\r\n * @param {ViewNode|number} node\r\n */\r\nfunction unCacheNodeOnIdle(node) {\r\n    requestIdleCallback((deadline) => {\r\n        // if idle time exists or callback invoked when timeout\r\n        if (deadline.timeRemaining() > 0 || deadline.didTimeout) {\r\n            recursivelyUnCacheNode(node);\r\n        }\r\n    }, { timeout: 50 }); // 50ms to avoid blocking user operation\r\n}\r\n/**\r\n * recursivelyUnCacheNode - delete ViewNode cache recursively\r\n * @param {ViewNode|number} node\r\n */\r\nfunction recursivelyUnCacheNode(node) {\r\n    var _a;\r\n    unCacheNode(node.nodeId);\r\n    (_a = node.childNodes) === null || _a === void 0 ? void 0 : _a.forEach((node) => recursivelyUnCacheNode(node));\r\n}\r\n/**\r\n * requestIdleCallback polyfill\r\n * @param {Function} cb\r\n * @param {{timeout: number}} [options]\r\n */\r\nfunction requestIdleCallback(callback, options) {\r\n    if (!global.requestIdleCallback) {\r\n        return setTimeout(() => {\r\n            callback({\r\n                didTimeout: false,\r\n                timeRemaining() {\r\n                    return Infinity;\r\n                },\r\n            });\r\n        }, 1);\r\n    }\r\n    return global.requestIdleCallback(callback, options);\r\n}\r\n/**\r\n * isStyleMatched - judge whether selector matching\r\n * @param matchedSelector\r\n * @param targetNode\r\n * @returns {boolean|*}\r\n */\r\nfunction isStyleMatched(matchedSelector, targetNode) {\r\n    if (!targetNode || !matchedSelector)\r\n        return false;\r\n    return matchedSelector.match(targetNode);\r\n}\r\n/**\r\n * findNotToSkipNode - find out a node that need sent to native\r\n * @param nodes\r\n * @param startIndex\r\n * @returns {*}\r\n */\r\nfunction findNotToSkipNode(nodes = [], startIndex = 0) {\r\n    let targetNode = nodes[startIndex];\r\n    for (let i = startIndex; i < nodes.length; i++) {\r\n        const node = nodes[i];\r\n        if (node && node.meta && !node.meta.skipAddToDom) {\r\n            targetNode = node;\r\n            break;\r\n        }\r\n    }\r\n    return targetNode;\r\n}\r\nconst RelativeToRefType = {\r\n    BEFORE: -1,\r\n    AFTER: 1,\r\n};\r\nfunction isHippyTextNode(targetNode) {\r\n    var _a;\r\n    return ((_a = targetNode.meta) === null || _a === void 0 ? void 0 : _a.component) && targetNode.meta.component.name === 'Text';\r\n}\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2023 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nconst EventHandlerType = {\r\n    ADD: 0,\r\n    REMOVE: 1,\r\n};\r\nconst NativeEventMap = {\r\n    onClick: 'click',\r\n    onLongClick: 'longclick',\r\n    onPressIn: 'pressin',\r\n    onPressOut: 'pressout',\r\n    onTouchDown: 'touchstart',\r\n    onTouchStart: 'touchstart',\r\n    onTouchEnd: 'touchend',\r\n    onTouchMove: 'touchmove',\r\n    onTouchCancel: 'touchcancel',\r\n};\r\nconst DOMEventPhase = {\r\n    NONE: 0,\r\n    CAPTURING_PHASE: 1,\r\n    AT_TARGET: 2,\r\n    BUBBLING_PHASE: 3,\r\n};\r\nfunction isNativeGesture(name) {\r\n    return !!NativeEventMap[name];\r\n}\r\nfunction translateToNativeEventName(name) {\r\n    return name.replace(/^(on)?/g, '').toLocaleLowerCase();\r\n}\r\n// event method constant\r\nconst EventMethod = {\r\n    ADD: 'addEventListener',\r\n    REMOVE: 'removeEventListener',\r\n};\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n/**\r\n * layout event\r\n */\r\nclass LayoutEvent extends Event {\r\n}\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nconst LOG_TYPE$3 = ['%c[event]%c', 'color: green', 'color: auto'];\r\nfunction isTouchEvent(eventName) {\r\n    return ['onTouchDown', 'onTouchMove', 'onTouchEnd', 'onTouchCancel'].indexOf(eventName) >= 0;\r\n}\r\n/**\r\n * convert events\r\n */\r\nfunction convertEvent(eventName, targetEvent, params) {\r\n    if (isTouchEvent(eventName)) {\r\n        Object.assign(targetEvent, {\r\n            touches: {\r\n                0: {\r\n                    clientX: params.page_x,\r\n                    clientY: params.page_y,\r\n                },\r\n                length: 1,\r\n            },\r\n        });\r\n    }\r\n    return targetEvent;\r\n}\r\nconst EventDispatcher = {\r\n    /**\r\n     * Redirect native events to Vue directly.\r\n     */\r\n    receiveNativeEvent(nativeEvent) {\r\n        trace(...LOG_TYPE$3, 'receiveNativeEvent', nativeEvent);\r\n        if (!nativeEvent || !Array.isArray(nativeEvent) || nativeEvent.length < 2) {\r\n            return;\r\n        }\r\n        const [eventName, eventParams] = nativeEvent;\r\n        const app = getApp();\r\n        if (app) {\r\n            app.$emit(eventName, eventParams);\r\n        }\r\n    },\r\n    /**\r\n     * Receive native interactive events.\r\n     */\r\n    receiveComponentEvent(nativeEvent, domEvent) {\r\n        trace(...LOG_TYPE$3, 'receiveComponentEvent', nativeEvent);\r\n        if (!nativeEvent || !domEvent) {\r\n            warn(...LOG_TYPE$3, 'receiveComponentEvent', 'nativeEvent or domEvent not exist');\r\n            return;\r\n        }\r\n        const { id, currentId, nativeName, originalName, params = {}, eventPhase } = nativeEvent;\r\n        const currentTargetNode = getNodeById(currentId);\r\n        const targetNode = getNodeById(id);\r\n        if (!currentTargetNode || !targetNode) {\r\n            warn(...LOG_TYPE$3, 'receiveComponentEvent', 'currentTargetNode or targetNode not exist');\r\n            return;\r\n        }\r\n        try {\r\n            if ([DOMEventPhase.AT_TARGET, DOMEventPhase.BUBBLING_PHASE].indexOf(eventPhase) > -1) {\r\n                const targetEvent = new LayoutEvent(originalName);\r\n                Object.assign(targetEvent, { eventPhase, nativeParams: params || {} });\r\n                if (nativeName === 'onLayout') {\r\n                    const { layout: { x, y, height, width } } = params;\r\n                    targetEvent.top = y;\r\n                    targetEvent.left = x;\r\n                    targetEvent.bottom = y + height;\r\n                    targetEvent.right = x + width;\r\n                    targetEvent.width = width;\r\n                    targetEvent.height = height;\r\n                }\r\n                else {\r\n                    const { processEventData } = currentTargetNode._meta.component;\r\n                    if (processEventData) {\r\n                        processEventData(targetEvent, nativeName, params);\r\n                    }\r\n                }\r\n                currentTargetNode.dispatchEvent(convertEvent(nativeName, targetEvent, params), targetNode, domEvent);\r\n            }\r\n        }\r\n        catch (err) {\r\n            console.error('receiveComponentEvent error', err);\r\n        }\r\n    },\r\n};\r\nif (global.__GLOBAL__) {\r\n    global.__GLOBAL__.jsModuleList.EventDispatcher = EventDispatcher;\r\n}\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nconst names = {\r\n    transparent: 0x00000000,\r\n    aliceblue: 0xf0f8ffff,\r\n    antiquewhite: 0xfaebd7ff,\r\n    aqua: 0x00ffffff,\r\n    aquamarine: 0x7fffd4ff,\r\n    azure: 0xf0ffffff,\r\n    beige: 0xf5f5dcff,\r\n    bisque: 0xffe4c4ff,\r\n    black: 0x000000ff,\r\n    blanchedalmond: 0xffebcdff,\r\n    blue: 0x0000ffff,\r\n    blueviolet: 0x8a2be2ff,\r\n    brown: 0xa52a2aff,\r\n    burlywood: 0xdeb887ff,\r\n    burntsienna: 0xea7e5dff,\r\n    cadetblue: 0x5f9ea0ff,\r\n    chartreuse: 0x7fff00ff,\r\n    chocolate: 0xd2691eff,\r\n    coral: 0xff7f50ff,\r\n    cornflowerblue: 0x6495edff,\r\n    cornsilk: 0xfff8dcff,\r\n    crimson: 0xdc143cff,\r\n    cyan: 0x00ffffff,\r\n    darkblue: 0x00008bff,\r\n    darkcyan: 0x008b8bff,\r\n    darkgoldenrod: 0xb8860bff,\r\n    darkgray: 0xa9a9a9ff,\r\n    darkgreen: 0x006400ff,\r\n    darkgrey: 0xa9a9a9ff,\r\n    darkkhaki: 0xbdb76bff,\r\n    darkmagenta: 0x8b008bff,\r\n    darkolivegreen: 0x556b2fff,\r\n    darkorange: 0xff8c00ff,\r\n    darkorchid: 0x9932ccff,\r\n    darkred: 0x8b0000ff,\r\n    darksalmon: 0xe9967aff,\r\n    darkseagreen: 0x8fbc8fff,\r\n    darkslateblue: 0x483d8bff,\r\n    darkslategray: 0x2f4f4fff,\r\n    darkslategrey: 0x2f4f4fff,\r\n    darkturquoise: 0x00ced1ff,\r\n    darkviolet: 0x9400d3ff,\r\n    deeppink: 0xff1493ff,\r\n    deepskyblue: 0x00bfffff,\r\n    dimgray: 0x696969ff,\r\n    dimgrey: 0x696969ff,\r\n    dodgerblue: 0x1e90ffff,\r\n    firebrick: 0xb22222ff,\r\n    floralwhite: 0xfffaf0ff,\r\n    forestgreen: 0x228b22ff,\r\n    fuchsia: 0xff00ffff,\r\n    gainsboro: 0xdcdcdcff,\r\n    ghostwhite: 0xf8f8ffff,\r\n    gold: 0xffd700ff,\r\n    goldenrod: 0xdaa520ff,\r\n    gray: 0x808080ff,\r\n    green: 0x008000ff,\r\n    greenyellow: 0xadff2fff,\r\n    grey: 0x808080ff,\r\n    honeydew: 0xf0fff0ff,\r\n    hotpink: 0xff69b4ff,\r\n    indianred: 0xcd5c5cff,\r\n    indigo: 0x4b0082ff,\r\n    ivory: 0xfffff0ff,\r\n    khaki: 0xf0e68cff,\r\n    lavender: 0xe6e6faff,\r\n    lavenderblush: 0xfff0f5ff,\r\n    lawngreen: 0x7cfc00ff,\r\n    lemonchiffon: 0xfffacdff,\r\n    lightblue: 0xadd8e6ff,\r\n    lightcoral: 0xf08080ff,\r\n    lightcyan: 0xe0ffffff,\r\n    lightgoldenrodyellow: 0xfafad2ff,\r\n    lightgray: 0xd3d3d3ff,\r\n    lightgreen: 0x90ee90ff,\r\n    lightgrey: 0xd3d3d3ff,\r\n    lightpink: 0xffb6c1ff,\r\n    lightsalmon: 0xffa07aff,\r\n    lightseagreen: 0x20b2aaff,\r\n    lightskyblue: 0x87cefaff,\r\n    lightslategray: 0x778899ff,\r\n    lightslategrey: 0x778899ff,\r\n    lightsteelblue: 0xb0c4deff,\r\n    lightyellow: 0xffffe0ff,\r\n    lime: 0x00ff00ff,\r\n    limegreen: 0x32cd32ff,\r\n    linen: 0xfaf0e6ff,\r\n    magenta: 0xff00ffff,\r\n    maroon: 0x800000ff,\r\n    mediumaquamarine: 0x66cdaaff,\r\n    mediumblue: 0x0000cdff,\r\n    mediumorchid: 0xba55d3ff,\r\n    mediumpurple: 0x9370dbff,\r\n    mediumseagreen: 0x3cb371ff,\r\n    mediumslateblue: 0x7b68eeff,\r\n    mediumspringgreen: 0x00fa9aff,\r\n    mediumturquoise: 0x48d1ccff,\r\n    mediumvioletred: 0xc71585ff,\r\n    midnightblue: 0x191970ff,\r\n    mintcream: 0xf5fffaff,\r\n    mistyrose: 0xffe4e1ff,\r\n    moccasin: 0xffe4b5ff,\r\n    navajowhite: 0xffdeadff,\r\n    navy: 0x000080ff,\r\n    oldlace: 0xfdf5e6ff,\r\n    olive: 0x808000ff,\r\n    olivedrab: 0x6b8e23ff,\r\n    orange: 0xffa500ff,\r\n    orangered: 0xff4500ff,\r\n    orchid: 0xda70d6ff,\r\n    palegoldenrod: 0xeee8aaff,\r\n    palegreen: 0x98fb98ff,\r\n    paleturquoise: 0xafeeeeff,\r\n    palevioletred: 0xdb7093ff,\r\n    papayawhip: 0xffefd5ff,\r\n    peachpuff: 0xffdab9ff,\r\n    peru: 0xcd853fff,\r\n    pink: 0xffc0cbff,\r\n    plum: 0xdda0ddff,\r\n    powderblue: 0xb0e0e6ff,\r\n    purple: 0x800080ff,\r\n    rebeccapurple: 0x663399ff,\r\n    red: 0xff0000ff,\r\n    rosybrown: 0xbc8f8fff,\r\n    royalblue: 0x4169e1ff,\r\n    saddlebrown: 0x8b4513ff,\r\n    salmon: 0xfa8072ff,\r\n    sandybrown: 0xf4a460ff,\r\n    seagreen: 0x2e8b57ff,\r\n    seashell: 0xfff5eeff,\r\n    sienna: 0xa0522dff,\r\n    silver: 0xc0c0c0ff,\r\n    skyblue: 0x87ceebff,\r\n    slateblue: 0x6a5acdff,\r\n    slategray: 0x708090ff,\r\n    slategrey: 0x708090ff,\r\n    snow: 0xfffafaff,\r\n    springgreen: 0x00ff7fff,\r\n    steelblue: 0x4682b4ff,\r\n    tan: 0xd2b48cff,\r\n    teal: 0x008080ff,\r\n    thistle: 0xd8bfd8ff,\r\n    tomato: 0xff6347ff,\r\n    turquoise: 0x40e0d0ff,\r\n    violet: 0xee82eeff,\r\n    wheat: 0xf5deb3ff,\r\n    white: 0xffffffff,\r\n    whitesmoke: 0xf5f5f5ff,\r\n    yellow: 0xffff00ff,\r\n    yellowgreen: 0x9acd32ff,\r\n};\r\nconst call = (...args) => `\\\\(\\\\s*(${args.join(')\\\\s*,\\\\s*(')})\\\\s*\\\\)`;\r\nconst NUMBER = '[-+]?\\\\d*\\\\.?\\\\d+';\r\nconst PERCENTAGE = `${NUMBER}%`;\r\nconst matchers = {\r\n    rgb: new RegExp(`rgb${call(NUMBER, NUMBER, NUMBER)}`),\r\n    rgba: new RegExp(`rgba${call(NUMBER, NUMBER, NUMBER, NUMBER)}`),\r\n    hsl: new RegExp(`hsl${call(NUMBER, PERCENTAGE, PERCENTAGE)}`),\r\n    hsla: new RegExp(`hsla${call(NUMBER, PERCENTAGE, PERCENTAGE, NUMBER)}`),\r\n    hex3: /^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,\r\n    hex4: /^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,\r\n    hex6: /^#([0-9a-fA-F]{6})$/,\r\n    hex8: /^#([0-9a-fA-F]{8})$/,\r\n};\r\nconst parse255 = (str) => {\r\n    const int = parseInt(str, 10);\r\n    if (int < 0) {\r\n        return 0;\r\n    }\r\n    if (int > 255) {\r\n        return 255;\r\n    }\r\n    return int;\r\n};\r\nconst parse1 = (str) => {\r\n    const num = parseFloat(str);\r\n    if (num < 0) {\r\n        return 0;\r\n    }\r\n    if (num > 1) {\r\n        return 255;\r\n    }\r\n    return Math.round(num * 255);\r\n};\r\nconst hue2rgb = (p, q, tx) => {\r\n    let t = tx;\r\n    if (t < 0) {\r\n        t += 1;\r\n    }\r\n    if (t > 1) {\r\n        t -= 1;\r\n    }\r\n    if (t < 1 / 6) {\r\n        return p + (q - p) * 6 * t;\r\n    }\r\n    if (t < 1 / 2) {\r\n        return q;\r\n    }\r\n    if (t < 2 / 3) {\r\n        return p + (q - p) * (2 / 3 - t) * 6;\r\n    }\r\n    return p;\r\n};\r\nconst hslToRgb = (h, s, l) => {\r\n    const q = l < 0.5 ? l * (1 + s) : l + s - l * s;\r\n    const p = 2 * l - q;\r\n    const r = hue2rgb(p, q, h + 1 / 3);\r\n    const g = hue2rgb(p, q, h);\r\n    const b = hue2rgb(p, q, h - 1 / 3);\r\n    return ((Math.round(r * 255) << 24)\r\n        | (Math.round(g * 255) << 16)\r\n        | (Math.round(b * 255) << 8));\r\n};\r\nconst parse360 = (str) => {\r\n    const int = parseFloat(str);\r\n    return (((int % 360) + 360) % 360) / 360;\r\n};\r\nconst parsePercentage = (str) => {\r\n    const int = parseFloat(str);\r\n    if (int < 0) {\r\n        return 0;\r\n    }\r\n    if (int > 100) {\r\n        return 1;\r\n    }\r\n    return int / 100;\r\n};\r\nfunction baseColor(color) {\r\n    let match;\r\n    if (typeof color === 'number') {\r\n        if (color >>> 0 === color && color >= 0 && color <= 0xffffffff) {\r\n            return color;\r\n        }\r\n        return null;\r\n    }\r\n    match = matchers.hex6.exec(color);\r\n    if (Array.isArray(match)) {\r\n        return parseInt(`${match[1]}ff`, 16) >>> 0;\r\n    }\r\n    if (Object.hasOwnProperty.call(names, color)) {\r\n        return names[color];\r\n    }\r\n    match = matchers.rgb.exec(color);\r\n    if (Array.isArray(match)) {\r\n        return ((parse255(match[1]) << 24) // r\r\n            | (parse255(match[2]) << 16) // g\r\n            | (parse255(match[3]) << 8) // b\r\n            | 0x000000ff // a\r\n        ) >>> 0;\r\n    }\r\n    match = matchers.rgba.exec(color);\r\n    if (match) {\r\n        return ((parse255(match[1]) << 24) // r\r\n            | (parse255(match[2]) << 16) // g\r\n            | (parse255(match[3]) << 8) // b\r\n            | parse1(match[4]) // a\r\n        ) >>> 0;\r\n    }\r\n    match = matchers.hex3.exec(color);\r\n    if (match) {\r\n        return parseInt(`${match[1] + match[1] // r\r\n            + match[2] + match[2] // g\r\n            + match[3] + match[3] // b\r\n        }ff`, // a\r\n        16) >>> 0;\r\n    }\r\n    match = matchers.hex8.exec(color);\r\n    if (match) {\r\n        return parseInt(match[1], 16) >>> 0;\r\n    }\r\n    match = matchers.hex4.exec(color);\r\n    if (match) {\r\n        return parseInt(match[1] + match[1] // r\r\n            + match[2] + match[2] // g\r\n            + match[3] + match[3] // b\r\n            + match[4] + match[4], // a\r\n        16) >>> 0;\r\n    }\r\n    match = matchers.hsl.exec(color);\r\n    if (match) {\r\n        return (hslToRgb(parse360(match[1]), // h\r\n        parsePercentage(match[2]), // s\r\n        parsePercentage(match[3]))\r\n            | 0x000000ff // a\r\n        ) >>> 0;\r\n    }\r\n    match = matchers.hsla.exec(color);\r\n    if (match) {\r\n        return (hslToRgb(parse360(match[1]), // h\r\n        parsePercentage(match[2]), // s\r\n        parsePercentage(match[3]))\r\n            | parse1(match[4]) // a\r\n        ) >>> 0;\r\n    }\r\n    return null;\r\n}\r\n/**\r\n * Translate the color to make sure native understood.\r\n */\r\nfunction translateColor(color) {\r\n    if (typeof color === 'string' && color.indexOf('var(') !== -1)\r\n        return color;\r\n    let int32Color = baseColor(color);\r\n    if (int32Color === null) {\r\n        throw new Error(`Bad color value: ${color}`);\r\n    }\r\n    int32Color = (int32Color << 24 | int32Color >>> 8) >>> 0;\r\n    return int32Color;\r\n}\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nconst PROPERTIES_MAP = {\r\n    textDecoration: 'textDecorationLine',\r\n    boxShadowOffset: 'shadowOffset',\r\n    boxShadowOffsetX: 'shadowOffsetX',\r\n    boxShadowOffsetY: 'shadowOffsetY',\r\n    boxShadowOpacity: 'shadowOpacity',\r\n    boxShadowRadius: 'shadowRadius',\r\n    boxShadowSpread: 'shadowSpread',\r\n    boxShadowColor: 'shadowColor',\r\n    caretColor: 'caret-color',\r\n};\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nvar TextDirection;\r\n(function (TextDirection) {\r\n    TextDirection[TextDirection[\"RTL\"] = 1] = \"RTL\";\r\n})(TextDirection || (TextDirection = {}));\r\n/**\r\n * is right to left display\r\n * @returns {boolean}\r\n */\r\nfunction isRTL() {\r\n    const localization = Native.Localization;\r\n    if (localization) {\r\n        return localization.direction === TextDirection.RTL;\r\n    }\r\n    return false;\r\n}\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nconst nodeStyleMap = new Map();\r\n/**\r\n * setCacheNodeStyle - cache node style\r\n * @param {number} nodeId\r\n * @param style\r\n */\r\nfunction setCacheNodeStyle(nodeId, style) {\r\n    nodeStyleMap.set(nodeId, style);\r\n}\r\n/**\r\n * getNodeById - get ViewNode by nodeId\r\n * @param {number} nodeId\r\n */\r\nfunction getCacheNodeStyle(nodeId) {\r\n    return nodeStyleMap.get(nodeId) || {};\r\n}\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n/**\r\n * 选择器基类\r\n */\r\nclass SelectorCore {\r\n    constructor() {\r\n        // style weight\r\n        this.specificity = 0;\r\n    }\r\n    lookupSort(sorter, base) {\r\n        sorter.sortAsUniversal(base || this);\r\n    }\r\n    removeSort(sorter, base) {\r\n        sorter.removeAsUniversal(base || this);\r\n    }\r\n    trackChanges(node, map) {\r\n        if (this.dynamic) {\r\n            // 插入动态属性\r\n            map.addAttribute(node, '');\r\n        }\r\n    }\r\n}\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nclass SimpleSelector extends SelectorCore {\r\n    constructor() {\r\n        super(...arguments);\r\n        // rarity of style\r\n        this.rarity = 0;\r\n    }\r\n    accumulateChanges(node, map) {\r\n        if (!this.dynamic) {\r\n            return this.match(node);\r\n        }\r\n        if (this.mayMatch(node)) {\r\n            this.trackChanges(node, map);\r\n            return true;\r\n        }\r\n        return false;\r\n    }\r\n    /**\r\n     * determine if the node matches\r\n     * @param node - target node\r\n     */\r\n    mayMatch(node) {\r\n        return this.match(node);\r\n    }\r\n    /**\r\n     * prejudgment\r\n     * @param _node - target node\r\n     */\r\n    match(_node) {\r\n        return false;\r\n    }\r\n}\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nfunction wrap(text) {\r\n    return text ? ` ${text} ` : '';\r\n}\r\n/**\r\n * get node attribute or styleScopeId value\r\n * @param node\r\n * @param attribute\r\n * @returns {*}\r\n */\r\nconst getNodeAttrVal = (node, attribute) => {\r\n    const attr = node.attributes[attribute];\r\n    if (typeof attr !== 'undefined') {\r\n        return attr;\r\n    }\r\n    if (Array.isArray(node.styleScopeId) && node.styleScopeId.includes(attribute)) {\r\n        return attribute;\r\n    }\r\n};\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nclass SimpleSelectorSequence extends SimpleSelector {\r\n    constructor(selectors) {\r\n        super();\r\n        this.specificity = selectors.reduce((sum, sel) => sel.specificity + sum, 0);\r\n        this.head = selectors.reduce((prev, curr) => (!prev\r\n            || (prev instanceof SimpleSelector && curr.rarity > prev.rarity)\r\n            ? curr\r\n            : prev), null);\r\n        this.dynamic = selectors.some((sel) => sel.dynamic);\r\n        this.selectors = selectors;\r\n    }\r\n    toString() {\r\n        return `${this.selectors.join('')}${wrap(this.combinator || '')}`;\r\n    }\r\n    match(node) {\r\n        if (!node)\r\n            return false;\r\n        return this.selectors.every((sel) => sel.match(node));\r\n    }\r\n    mayMatch(node) {\r\n        if (!node)\r\n            return false;\r\n        return this.selectors.every((sel) => sel.mayMatch(node));\r\n    }\r\n    trackChanges(node, match) {\r\n        this.selectors.forEach((sel) => sel.trackChanges(node, match));\r\n    }\r\n    lookupSort(sorter, base) {\r\n        if (this.head && this.head instanceof SimpleSelector) {\r\n            this.head.lookupSort(sorter, base || this);\r\n        }\r\n    }\r\n    removeSort(sorter, base) {\r\n        if (this.head && this.head instanceof SimpleSelector) {\r\n            this.head.removeSort(sorter, base || this);\r\n        }\r\n    }\r\n}\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n/* eslint-disable no-param-reassign */\r\n// Check the Regexp is support sticky flag.\r\nconst REGEXP_SUPPORTING_STICKY_FLAG = (() => {\r\n    try {\r\n        return !!new RegExp('foo', 'y');\r\n    }\r\n    catch (err) {\r\n        return false;\r\n    }\r\n})();\r\n// Regexp strings\r\nconst REGEXP_STRINGS = {\r\n    whiteSpaceRegEx: '\\\\s*',\r\n    universalSelectorRegEx: '\\\\*',\r\n    simpleIdentifierSelectorRegEx: '(#|\\\\.|:|\\\\b)([_-\\\\w][_-\\\\w\\\\d]*)',\r\n    attributeSelectorRegEx: '\\\\[\\\\s*([_-\\\\w][_-\\\\w\\\\d]*)\\\\s*(?:(=|\\\\^=|\\\\$=|\\\\*=|\\\\~=|\\\\|=)\\\\s*(?:([_-\\\\w][_-\\\\w\\\\d]*)|\"((?:[^\\\\\\\\\"]|\\\\\\\\(?:\"|n|r|f|\\\\\\\\|0-9a-f))*)\"|\\'((?:[^\\\\\\\\\\']|\\\\\\\\(?:\\'|n|r|f|\\\\\\\\|0-9a-f))*)\\')\\\\s*)?\\\\]',\r\n    combinatorRegEx: '\\\\s*(\\\\+|~|>)?\\\\s*',\r\n};\r\n// RegExp instance cache\r\nconst REGEXPS = {};\r\n// Execute the RegExp\r\nfunction execRegExp(regexpKey, text, start) {\r\n    let flags = '';\r\n    // Check the sticky flag supporting, and cache the RegExp instance.\r\n    if (REGEXP_SUPPORTING_STICKY_FLAG) {\r\n        flags = 'gy';\r\n    }\r\n    if (!REGEXPS[regexpKey]) {\r\n        REGEXPS[regexpKey] = new RegExp(REGEXP_STRINGS[regexpKey], flags);\r\n    }\r\n    const regexp = REGEXPS[regexpKey];\r\n    let result;\r\n    // Fallback to split the text if sticky is not supported.\r\n    if (REGEXP_SUPPORTING_STICKY_FLAG) {\r\n        regexp.lastIndex = start || 0;\r\n        result = regexp.exec(text);\r\n    }\r\n    else {\r\n        text = text.slice(start, text.length);\r\n        result = regexp.exec(text);\r\n        if (!result) {\r\n            return {\r\n                result: null,\r\n                regexp,\r\n            };\r\n        }\r\n        // add start index to prevent infinite loop caused by class name like .aa_bb.aa\r\n        regexp.lastIndex = start || 0 + result[0].length;\r\n    }\r\n    return {\r\n        result,\r\n        regexp,\r\n    };\r\n}\r\nfunction parseUniversalSelector(text, start) {\r\n    const { result, regexp } = execRegExp('universalSelectorRegEx', text, start);\r\n    if (!result) {\r\n        return null;\r\n    }\r\n    const end = regexp.lastIndex;\r\n    return {\r\n        value: {\r\n            type: '*',\r\n        },\r\n        start,\r\n        end,\r\n    };\r\n}\r\nfunction parseSimpleIdentifierSelector(text, start) {\r\n    const { result, regexp } = execRegExp('simpleIdentifierSelectorRegEx', text, start);\r\n    if (!result) {\r\n        return null;\r\n    }\r\n    const end = regexp.lastIndex;\r\n    const type = result[1];\r\n    const identifier = result[2];\r\n    const value = { type, identifier };\r\n    return {\r\n        value,\r\n        start,\r\n        end,\r\n    };\r\n}\r\nfunction parseAttributeSelector(text, start) {\r\n    const { result, regexp } = execRegExp('attributeSelectorRegEx', text, start);\r\n    if (!result) {\r\n        return null;\r\n    }\r\n    const end = regexp.lastIndex;\r\n    const property = result[1];\r\n    if (result[2]) {\r\n        const test = result[2];\r\n        const value = result[3] || result[4] || result[5];\r\n        return {\r\n            value: {\r\n                type: '[]',\r\n                property,\r\n                test,\r\n                value,\r\n            },\r\n            start,\r\n            end,\r\n        };\r\n    }\r\n    return {\r\n        value: {\r\n            type: '[]',\r\n            property,\r\n        },\r\n        start,\r\n        end,\r\n    };\r\n}\r\nfunction parseSimpleSelector(text, start) {\r\n    return parseUniversalSelector(text, start)\r\n        || parseSimpleIdentifierSelector(text, start)\r\n        || parseAttributeSelector(text, start);\r\n}\r\nfunction parseSimpleSelectorSequence(text, start) {\r\n    let simpleSelector = parseSimpleSelector(text, start);\r\n    if (!simpleSelector) {\r\n        return null;\r\n    }\r\n    let { end } = simpleSelector;\r\n    const value = [];\r\n    while (simpleSelector) {\r\n        value.push(simpleSelector.value);\r\n        ({ end } = simpleSelector);\r\n        simpleSelector = parseSimpleSelector(text, end);\r\n    }\r\n    return {\r\n        start,\r\n        end,\r\n        value,\r\n    };\r\n}\r\nfunction parseCombinator(text, start) {\r\n    const { result, regexp } = execRegExp('combinatorRegEx', text, start);\r\n    if (!result) {\r\n        return null;\r\n    }\r\n    let end;\r\n    if (REGEXP_SUPPORTING_STICKY_FLAG) {\r\n        end = regexp.lastIndex;\r\n    }\r\n    else {\r\n        end = start;\r\n    }\r\n    const value = result[1] || ' ';\r\n    return {\r\n        start,\r\n        end,\r\n        value,\r\n    };\r\n}\r\n/**\r\n * parse the selector\r\n * after parsing：\r\n * 1、end is the index of the position where the selector ends\r\n * 2、start is the specified start position\r\n * 3、value is the value of the selector, including type: such as id selector, class selector, etc.\r\n *\r\n * @param text - selector content\r\n * @param start - starting position\r\n */\r\nfunction parseSelector(text, start) {\r\n    let end = start;\r\n    const { result, regexp } = execRegExp('whiteSpaceRegEx', text, start);\r\n    if (result) {\r\n        end = regexp.lastIndex;\r\n    }\r\n    const value = [];\r\n    let combinator;\r\n    let expectSimpleSelector = true;\r\n    let pair = [undefined, undefined];\r\n    let cssText;\r\n    if (REGEXP_SUPPORTING_STICKY_FLAG) {\r\n        cssText = [text];\r\n    }\r\n    else {\r\n        cssText = text.split(' ');\r\n    }\r\n    cssText.forEach((text) => {\r\n        if (!REGEXP_SUPPORTING_STICKY_FLAG) {\r\n            if (text === '') {\r\n                return;\r\n            }\r\n            end = 0;\r\n        }\r\n        do {\r\n            const simpleSelectorSequence = parseSimpleSelectorSequence(text, end);\r\n            if (!simpleSelectorSequence) {\r\n                if (expectSimpleSelector) {\r\n                    return null;\r\n                }\r\n                break;\r\n            }\r\n            ({ end } = simpleSelectorSequence);\r\n            if (combinator) {\r\n                pair[1] = combinator.value;\r\n            }\r\n            pair = [simpleSelectorSequence.value, undefined];\r\n            value.push(pair);\r\n            combinator = parseCombinator(text, end);\r\n            if (combinator) {\r\n                ({ end } = combinator);\r\n            }\r\n            expectSimpleSelector = !!(combinator && combinator.value !== ' ');\r\n        } while (combinator);\r\n    });\r\n    return {\r\n        start,\r\n        end,\r\n        value,\r\n    };\r\n}\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n/**\r\n * Rule Set\r\n */\r\nclass RuleSet {\r\n    constructor(selectors, declarations, hash) {\r\n        selectors.forEach((curSelector) => {\r\n            const selector = curSelector;\r\n            selector.ruleSet = this;\r\n            return null;\r\n        });\r\n        this.hash = hash;\r\n        this.selectors = selectors;\r\n        this.declarations = declarations;\r\n    }\r\n    toString() {\r\n        return `${this.selectors.join(', ')} {${this.declarations.map((d, i) => `${i === 0 ? ' ' : ''}${d.property}: ${d.value}`).join('; ')}}`;\r\n    }\r\n    lookupSort(sorter) {\r\n        this.selectors.forEach((sel) => sel.lookupSort(sorter));\r\n    }\r\n    removeSort(sorter) {\r\n        this.selectors.forEach((sel) => sel.removeSort(sorter));\r\n    }\r\n}\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n/**\r\n * 属性选择器实现\r\n */\r\nclass AttributeSelector extends SimpleSelector {\r\n    constructor(attribute, test = '', value = '') {\r\n        super();\r\n        // attribute of node\r\n        this.attribute = '';\r\n        // property Test Conditions\r\n        this.test = '';\r\n        // value of node\r\n        this.value = '';\r\n        this.specificity = 0x00000100;\r\n        this.rarity = 0;\r\n        this.dynamic = true;\r\n        this.attribute = attribute;\r\n        this.test = test;\r\n        this.value = value;\r\n    }\r\n    match(node) {\r\n        if (!this.test) {\r\n            // HasAttribute\r\n            if (!node || !node.attributes)\r\n                return false;\r\n            return !isNullOrUndefined(getNodeAttrVal(node, this.attribute));\r\n        }\r\n        if (!this.value) {\r\n            return false;\r\n        }\r\n        if (!node || !node.attributes)\r\n            return false;\r\n        // const escapedValue = value.replace(/[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]/g, '\\\\$&');\r\n        const attr = `${getNodeAttrVal(node, this.attribute)}`;\r\n        if (this.test === '=') {\r\n            // Equals\r\n            return attr === this.value;\r\n        }\r\n        if (this.test === '^=') {\r\n            // PrefixMatch\r\n            return attr.startsWith(this.value);\r\n        }\r\n        if (this.test === '$=') {\r\n            // SuffixMatch\r\n            return attr.endsWith(this.value);\r\n        }\r\n        if (this.test === '*=') {\r\n            // SubstringMatch\r\n            return attr.indexOf(this.value) !== -1;\r\n        }\r\n        if (this.test === '~=') {\r\n            // Includes\r\n            const words = attr.split(' ');\r\n            return words && words.indexOf(this.value) !== -1;\r\n        }\r\n        if (this.test === '|=') {\r\n            // DashMatch\r\n            return attr === this.value || attr.startsWith(`${this.value}-`);\r\n        }\r\n        return false;\r\n    }\r\n    toString() {\r\n        return `[${this.attribute}${wrap(this.test)}${(this.test && this.value) || ''}]${wrap(this.combinator || '')}`;\r\n    }\r\n    mayMatch() {\r\n        return true;\r\n    }\r\n    trackChanges(node, map) {\r\n        map.addAttribute(node, this.attribute);\r\n    }\r\n}\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n/**\r\n * 类选择器实现\r\n */\r\nclass ClassSelector extends SimpleSelector {\r\n    constructor(className) {\r\n        super();\r\n        this.specificity = 0x00000100;\r\n        this.rarity = 2;\r\n        this.dynamic = false;\r\n        this.className = className;\r\n    }\r\n    toString() {\r\n        return `.${this.className}${wrap(this.combinator || '')}`;\r\n    }\r\n    match(node) {\r\n        var _a;\r\n        if (!node) {\r\n            return false;\r\n        }\r\n        return !!((_a = node.classList) === null || _a === void 0 ? void 0 : _a.size) && node.classList.has(this.className);\r\n    }\r\n    lookupSort(sorter, base) {\r\n        sorter.sortByClass(this.className, base || this);\r\n    }\r\n    removeSort(sorter, base) {\r\n        sorter.removeByClass(this.className, base || this);\r\n    }\r\n}\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n/**\r\n * id 选择器实现\r\n */\r\nclass IdSelector extends SimpleSelector {\r\n    constructor(id) {\r\n        super();\r\n        this.specificity = 0x00010000;\r\n        this.rarity = 3;\r\n        this.dynamic = false;\r\n        this.id = id;\r\n    }\r\n    toString() {\r\n        return `#${this.id}${wrap(this.combinator || '')}`;\r\n    }\r\n    match(node) {\r\n        if (!node) {\r\n            return false;\r\n        }\r\n        return node.id === this.id;\r\n    }\r\n    lookupSort(sorter, base) {\r\n        sorter.sortById(this.id, base !== null && base !== void 0 ? base : this);\r\n    }\r\n    removeSort(sorter, base) {\r\n        sorter.removeById(this.id, base !== null && base !== void 0 ? base : this);\r\n    }\r\n}\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n/**\r\n * 解析失败的无效选择器\r\n */\r\nclass InvalidSelector extends SimpleSelector {\r\n    constructor(err) {\r\n        super();\r\n        this.specificity = 0x00000000;\r\n        this.rarity = 4;\r\n        this.dynamic = false;\r\n        this.combinator = undefined;\r\n        this.err = err;\r\n    }\r\n    toString() {\r\n        return `<error: ${this.err}>`;\r\n    }\r\n    match() {\r\n        return false;\r\n    }\r\n}\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n/**\r\n * 伪类选择器实现\r\n */\r\nclass PseudoClassSelector extends SimpleSelector {\r\n    constructor(cssPseudoClass) {\r\n        super();\r\n        this.specificity = 0x00000100;\r\n        this.rarity = 0;\r\n        this.dynamic = true;\r\n        this.cssPseudoClass = cssPseudoClass;\r\n    }\r\n    toString() {\r\n        return `:${this.cssPseudoClass}${wrap(this.combinator || '')}`;\r\n    }\r\n    match(node) {\r\n        return !!node;\r\n    }\r\n    mayMatch() {\r\n        return true;\r\n    }\r\n    trackChanges(node, map) {\r\n        map.addPseudoClass(node, this.cssPseudoClass);\r\n    }\r\n}\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nclass ChildGroup {\r\n    constructor(selectors) {\r\n        this.selectors = selectors;\r\n        this.dynamic = selectors.some((sel) => sel.dynamic);\r\n    }\r\n    match(matchNode) {\r\n        let node = matchNode;\r\n        if (!node)\r\n            return undefined;\r\n        const pass = this.selectors.every((sel, i) => {\r\n            if (i !== 0) {\r\n                node = node === null || node === void 0 ? void 0 : node.parentNode;\r\n            }\r\n            return !!node && !!sel.match(node);\r\n        });\r\n        return pass ? node : undefined;\r\n    }\r\n    mayMatch(matchNode) {\r\n        let node = matchNode;\r\n        if (!node)\r\n            return undefined;\r\n        const pass = this.selectors.every((sel, i) => {\r\n            if (i !== 0) {\r\n                node = node === null || node === void 0 ? void 0 : node.parentNode;\r\n            }\r\n            return !!node && !!sel.mayMatch(node);\r\n        });\r\n        return pass ? node : undefined;\r\n    }\r\n    trackChanges(matchNode, map) {\r\n        let node = matchNode;\r\n        this.selectors.forEach((sel, i) => {\r\n            if (i !== 0) {\r\n                node = node === null || node === void 0 ? void 0 : node.parentNode;\r\n            }\r\n            if (!node) {\r\n                return;\r\n            }\r\n            sel.trackChanges(node, map);\r\n        });\r\n    }\r\n}\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nclass SiblingGroup {\r\n    constructor(selectors) {\r\n        this.selectors = selectors;\r\n        this.dynamic = selectors.some((sel) => sel.dynamic);\r\n    }\r\n    match(matchNode) {\r\n        let node = matchNode;\r\n        if (!node)\r\n            return undefined;\r\n        const pass = this.selectors.every((sel, i) => {\r\n            if (i !== 0) {\r\n                node = node === null || node === void 0 ? void 0 : node.nextSibling;\r\n            }\r\n            return !!node && !!sel.match(node);\r\n        });\r\n        return pass ? node : undefined;\r\n    }\r\n    mayMatch(matchNode) {\r\n        let node = matchNode;\r\n        if (!node)\r\n            return undefined;\r\n        const pass = this.selectors.every((sel, i) => {\r\n            if (i !== 0) {\r\n                node = node === null || node === void 0 ? void 0 : node.nextSibling;\r\n            }\r\n            return !!node && !!sel.mayMatch(node);\r\n        });\r\n        return pass ? node : undefined;\r\n    }\r\n    trackChanges(matchNode, map) {\r\n        let node = matchNode;\r\n        this.selectors.forEach((sel, i) => {\r\n            if (i !== 0) {\r\n                node = node === null || node === void 0 ? void 0 : node.nextSibling;\r\n            }\r\n            if (!node) {\r\n                return;\r\n            }\r\n            sel.trackChanges(node, map);\r\n        });\r\n    }\r\n}\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nclass Selector extends SelectorCore {\r\n    constructor(selectors) {\r\n        super();\r\n        const supportedCombinator = [undefined, ' ', '>', '+'];\r\n        let siblingGroup = [];\r\n        let lastGroup = [];\r\n        const groups = [];\r\n        this.selectors = selectors;\r\n        this.selectors.reverse().forEach((sel) => {\r\n            if (supportedCombinator.indexOf(sel.combinator) === -1) {\r\n                throw new Error(`Unsupported combinator \"${sel.combinator}\".`);\r\n            }\r\n            if (sel.combinator === undefined || sel.combinator === ' ') {\r\n                groups.push(lastGroup = [siblingGroup = []]);\r\n            }\r\n            if (sel.combinator === '>') {\r\n                lastGroup.push(siblingGroup = []);\r\n            }\r\n            siblingGroup.push(sel);\r\n        });\r\n        this.groups = groups.map(g => new ChildGroup(g.map(sg => new SiblingGroup(sg))));\r\n        const [firstSelector] = selectors;\r\n        this.last = firstSelector;\r\n        this.specificity = selectors.reduce((sum, sel) => sel.specificity + sum, 0);\r\n        this.dynamic = selectors.some((sel) => sel.dynamic);\r\n    }\r\n    toString() {\r\n        return this.selectors.join('');\r\n    }\r\n    match(matchNode) {\r\n        let node = matchNode;\r\n        return this.groups.every((group, i) => {\r\n            if (i === 0) {\r\n                node = group.match(matchNode);\r\n                return !!node;\r\n            }\r\n            let ancestor = node;\r\n            while (ancestor = ancestor === null || ancestor === void 0 ? void 0 : ancestor.parentNode) {\r\n                if (node = group.match(ancestor)) {\r\n                    return true;\r\n                }\r\n            }\r\n            return false;\r\n        });\r\n    }\r\n    lookupSort(sorter) {\r\n        this.last.lookupSort(sorter, this);\r\n    }\r\n    removeSort(sorter) {\r\n        this.last.removeSort(sorter, this);\r\n    }\r\n    accumulateChanges(matchNode, map) {\r\n        let node = matchNode;\r\n        if (!this.dynamic) {\r\n            return this.match(node);\r\n        }\r\n        const bounds = [];\r\n        const mayMatch = this.groups.every((group, i) => {\r\n            if (i === 0) {\r\n                const nextNode = group.mayMatch(matchNode);\r\n                bounds.push({ left: matchNode, right: matchNode });\r\n                node = nextNode;\r\n                return !!node;\r\n            }\r\n            let ancestor = matchNode;\r\n            while (ancestor = ancestor.parentNode) {\r\n                const nextNode = group.mayMatch(ancestor);\r\n                if (nextNode) {\r\n                    bounds.push({ left: ancestor, right: undefined });\r\n                    node = nextNode;\r\n                    return true;\r\n                }\r\n            }\r\n            return false;\r\n        });\r\n        // Calculating the right bounds for each selectors won't save much\r\n        if (!mayMatch) {\r\n            return false;\r\n        }\r\n        if (!map) {\r\n            return mayMatch;\r\n        }\r\n        for (let i = 0; i < this.groups.length; i += 1) {\r\n            const group = this.groups[i];\r\n            if (!group.dynamic) {\r\n                continue;\r\n            }\r\n            const bound = bounds[i];\r\n            let leftBound = bound.left;\r\n            do {\r\n                if (group.mayMatch(leftBound)) {\r\n                    group.trackChanges(leftBound, map);\r\n                }\r\n            } while ((leftBound !== bound.right) && (leftBound = leftBound.parentNode));\r\n        }\r\n        return mayMatch;\r\n    }\r\n}\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n/**\r\n * 类型选择器实现\r\n */\r\nclass TypeSelector extends SimpleSelector {\r\n    constructor(cssType) {\r\n        super();\r\n        this.specificity = 0x00000001;\r\n        this.rarity = 1;\r\n        this.dynamic = false;\r\n        this.cssType = cssType;\r\n    }\r\n    toString() {\r\n        return `${this.cssType}${wrap(this.combinator || '')}`;\r\n    }\r\n    match(node) {\r\n        if (!node)\r\n            return false;\r\n        return node.tagName === this.cssType;\r\n    }\r\n    lookupSort(sorter, base) {\r\n        sorter.sortByType(this.cssType, base || this);\r\n    }\r\n    removeSort(sorter, base) {\r\n        sorter.removeByType(this.cssType, base || this);\r\n    }\r\n}\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n/**\r\n * 通用选择器实现\r\n */\r\nclass UniversalSelector extends SimpleSelector {\r\n    constructor() {\r\n        super();\r\n        this.specificity = 0x00000000;\r\n        this.rarity = 0;\r\n        this.dynamic = false;\r\n    }\r\n    toString() {\r\n        return `*${wrap(this.combinator || '')}`;\r\n    }\r\n    match() {\r\n        return true;\r\n    }\r\n}\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n// ast 核心解析逻辑处理\r\nfunction isDeclaration(node) {\r\n    return node.type === 'declaration';\r\n}\r\nfunction createDeclaration(beforeLoadStyle) {\r\n    return (decl) => {\r\n        const newDecl = beforeLoadStyle(decl);\r\n        if (isDev()) {\r\n            if (!newDecl) {\r\n                throw new Error('beforeLoadStyle hook must returns the processed style object');\r\n            }\r\n        }\r\n        return newDecl;\r\n    };\r\n}\r\nfunction createSimpleSelectorFromAst(ast) {\r\n    switch (ast.type) {\r\n        case '*': return new UniversalSelector();\r\n        case '#': return new IdSelector(ast.identifier);\r\n        case '': return new TypeSelector(ast.identifier.replace(/-/, '').toLowerCase());\r\n        case '.': return new ClassSelector(ast.identifier);\r\n        case ':': return new PseudoClassSelector(ast.identifier);\r\n        case '[]': return ast.test ? new AttributeSelector(ast.property, ast.test, ast.value) : new AttributeSelector(ast.property);\r\n        default:\r\n            return new InvalidSelector(new Error('createSimpleSelectorFromAst type is null'));\r\n    }\r\n}\r\nfunction createSimpleSelectorSequenceFromAst(ast) {\r\n    if (!ast || ast.length === 0) {\r\n        return new InvalidSelector(new Error('Empty simple selector sequence.'));\r\n    }\r\n    if (ast.length === 1) {\r\n        return createSimpleSelectorFromAst(ast[0]);\r\n    }\r\n    return new SimpleSelectorSequence(ast.map(createSimpleSelectorFromAst));\r\n}\r\nfunction createSelectorFromAst(ast) {\r\n    if (ast.length === 0) {\r\n        return new InvalidSelector(new Error('Empty selector.'));\r\n    }\r\n    if (ast.length === 1) {\r\n        return createSimpleSelectorSequenceFromAst(ast[0][0]);\r\n    }\r\n    const simpleSelectorSequences = [];\r\n    for (let i = 0; i < ast.length; i += 1) {\r\n        const simpleSelectorSequence = createSimpleSelectorSequenceFromAst(ast[i][0]);\r\n        const combinator = ast[i][1];\r\n        if (combinator) {\r\n            simpleSelectorSequence.combinator = combinator;\r\n        }\r\n        simpleSelectorSequences.push(simpleSelectorSequence);\r\n    }\r\n    return new Selector(simpleSelectorSequences);\r\n}\r\nfunction createSelector(text) {\r\n    try {\r\n        const parsedSelector = parseSelector(text);\r\n        if (!parsedSelector) {\r\n            return new InvalidSelector(new Error('Empty selector'));\r\n        }\r\n        // parsedSelector.value is ast, like:\r\n        // [[[{type: '#', identifier: 'root'}, {type: '[]', property: 'data-v-5ef48958'}], undefined]]\r\n        return createSelectorFromAst(parsedSelector.value);\r\n    }\r\n    catch (e) {\r\n        return new InvalidSelector(e);\r\n    }\r\n}\r\nfunction fromAstNodes(astRules = []) {\r\n    const beforeLoadStyle = getBeforeLoadStyle();\r\n    return astRules.map((rule) => {\r\n        const declarations = rule.declarations\r\n            .filter(isDeclaration)\r\n            .map(createDeclaration(beforeLoadStyle));\r\n        const selectors = rule.selectors.map(createSelector);\r\n        return new RuleSet(selectors, declarations, rule.hash);\r\n    });\r\n}\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n/**\r\n * Selector Map\r\n */\r\nclass SelectorsMatch {\r\n    constructor() {\r\n        this.changeMap = new Map();\r\n    }\r\n    addAttribute(node, attribute) {\r\n        const deps = this.properties(node);\r\n        if (!deps.attributes) {\r\n            deps.attributes = new Set();\r\n        }\r\n        deps.attributes.add(attribute);\r\n    }\r\n    addPseudoClass(node, pseudoClass) {\r\n        const deps = this.properties(node);\r\n        if (!deps.pseudoClasses) {\r\n            deps.pseudoClasses = new Set();\r\n        }\r\n        deps.pseudoClasses.add(pseudoClass);\r\n    }\r\n    properties(node) {\r\n        let set = this.changeMap.get(node);\r\n        if (!set) {\r\n            this.changeMap.set(node, set = {});\r\n        }\r\n        return set;\r\n    }\r\n}\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nclass SelectorsMap {\r\n    constructor(ruleSets) {\r\n        this.id = {};\r\n        this.class = {};\r\n        this.type = {};\r\n        this.universal = [];\r\n        this.position = 0;\r\n        this.ruleSets = ruleSets;\r\n        ruleSets.forEach((rule) => rule.lookupSort(this));\r\n    }\r\n    append(appendRules) {\r\n        this.ruleSets = this.ruleSets.concat(appendRules);\r\n        appendRules.forEach((rule) => rule.lookupSort(this));\r\n    }\r\n    delete(hash) {\r\n        const removedRuleSets = [];\r\n        this.ruleSets = this.ruleSets.filter((rule) => {\r\n            if (rule.hash !== hash) {\r\n                return true;\r\n            }\r\n            removedRuleSets.push(rule);\r\n            return false;\r\n        });\r\n        removedRuleSets.forEach(rule => rule.removeSort(this));\r\n    }\r\n    query(node) {\r\n        const { tagName, id, classList } = node;\r\n        const selectorClasses = [\r\n            this.universal,\r\n            this.id[id],\r\n            this.type[tagName],\r\n        ];\r\n        if (classList.size) {\r\n            classList.forEach((c) => selectorClasses.push(this.class[c]));\r\n        }\r\n        const selectors = selectorClasses\r\n            .filter(arr => !!arr)\r\n            .reduce((cur, next) => cur.concat(next || []), []);\r\n        const selectorsMatch = new SelectorsMatch();\r\n        selectorsMatch.selectors = selectors\r\n            .filter((sel) => sel.sel.accumulateChanges(node, selectorsMatch))\r\n            .sort((a, b) => a.sel.specificity - b.sel.specificity || a.pos - b.pos)\r\n            .map((docSel) => docSel.sel);\r\n        return selectorsMatch;\r\n    }\r\n    sortById(id, sel) {\r\n        this.addToMap(this.id, id, sel);\r\n    }\r\n    sortByClass(cssClass, sel) {\r\n        this.addToMap(this.class, cssClass, sel);\r\n    }\r\n    sortByType(cssType, sel) {\r\n        this.addToMap(this.type, cssType, sel);\r\n    }\r\n    removeById(id, sel) {\r\n        this.removeFromMap(this.id, id, sel);\r\n    }\r\n    removeByClass(cssClass, sel) {\r\n        this.removeFromMap(this.class, cssClass, sel);\r\n    }\r\n    removeByType(cssType, sel) {\r\n        this.removeFromMap(this.type, cssType, sel);\r\n    }\r\n    sortAsUniversal(sel) {\r\n        this.universal.push(this.makeDocSelector(sel));\r\n    }\r\n    removeAsUniversal(sel) {\r\n        const index = this.universal.findIndex((item) => { var _a, _b; return ((_a = item.sel.ruleSet) === null || _a === void 0 ? void 0 : _a.hash) === ((_b = sel.ruleSet) === null || _b === void 0 ? void 0 : _b.hash); });\r\n        if (index !== -1) {\r\n            this.universal.splice(index);\r\n        }\r\n    }\r\n    addToMap(attribute, head, sel) {\r\n        const map = attribute;\r\n        this.position += 1;\r\n        const list = map[head];\r\n        if (list) {\r\n            list.push(this.makeDocSelector(sel));\r\n        }\r\n        else {\r\n            map[head] = [this.makeDocSelector(sel)];\r\n        }\r\n    }\r\n    removeFromMap(attribute, head, sel) {\r\n        const map = attribute;\r\n        const list = map[head];\r\n        const index = list.findIndex((item) => { var _a, _b; return ((_a = item.sel.ruleSet) === null || _a === void 0 ? void 0 : _a.hash) === ((_b = sel.ruleSet) === null || _b === void 0 ? void 0 : _b.hash); });\r\n        if (index !== -1) {\r\n            list.splice(index, 1);\r\n        }\r\n    }\r\n    makeDocSelector(sel) {\r\n        this.position += 1;\r\n        return { sel, pos: this.position };\r\n    }\r\n}\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nconst LOG_TYPE$2 = ['%c[native]%c', 'color: red', 'color: auto'];\r\n/**\r\n * UI Operations\r\n */\r\nconst NODE_OPERATION_TYPES = {\r\n    createNode: Symbol('createNode'),\r\n    updateNode: Symbol('updateNode'),\r\n    deleteNode: Symbol('deleteNode'),\r\n    moveNode: Symbol('moveNode'),\r\n    updateEvent: Symbol('updateEvent'),\r\n};\r\nlet batchIdle = true;\r\nlet batchNodes = [];\r\n/**\r\n * Convert an ordered node array into multiple fragments\r\n */\r\nfunction chunkNodes(batchNodes) {\r\n    const result = [];\r\n    for (let i = 0; i < batchNodes.length; i += 1) {\r\n        const chunk = batchNodes[i];\r\n        const { type, nodes, eventNodes, printedNodes } = chunk;\r\n        const lastChunk = result[result.length - 1];\r\n        if (!lastChunk || lastChunk.type !== type) {\r\n            result.push({\r\n                type,\r\n                nodes,\r\n                eventNodes,\r\n                printedNodes,\r\n            });\r\n        }\r\n        else {\r\n            lastChunk.nodes = lastChunk.nodes.concat(nodes);\r\n            lastChunk.eventNodes = lastChunk.eventNodes.concat(eventNodes);\r\n            lastChunk.printedNodes = lastChunk.printedNodes.concat(printedNodes);\r\n        }\r\n    }\r\n    return result;\r\n}\r\nfunction handleEventListeners(eventNodes = [], sceneBuilder) {\r\n    eventNodes.forEach((eventNode) => {\r\n        if (eventNode) {\r\n            const { id, eventList } = eventNode;\r\n            eventList.forEach((eventAttribute) => {\r\n                const { name, type, listener } = eventAttribute;\r\n                let nativeEventName;\r\n                if (isNativeGesture(name)) {\r\n                    nativeEventName = NativeEventMap[name];\r\n                }\r\n                else {\r\n                    nativeEventName = translateToNativeEventName(name);\r\n                }\r\n                if (type === EventHandlerType.REMOVE) {\r\n                    sceneBuilder.removeEventListener(id, nativeEventName, listener);\r\n                }\r\n                if (type === EventHandlerType.ADD) {\r\n                    sceneBuilder.removeEventListener(id, nativeEventName, listener);\r\n                    sceneBuilder.addEventListener(id, nativeEventName, listener);\r\n                }\r\n            });\r\n        }\r\n    });\r\n}\r\n/**\r\n * Initial CSS Map;\r\n */\r\nlet cssMap;\r\n/**\r\n * print nodes operation log\r\n * @param {HippyTypes.PrintedNode[]} printedNodes\r\n * @param {string} nodeType\r\n */\r\nfunction printNodeOperation(printedNodes, nodeType) {\r\n    if (isTraceEnabled()) {\r\n        trace(...LOG_TYPE$2, nodeType, printedNodes);\r\n    }\r\n}\r\nfunction endBatch(app) {\r\n    if (!batchIdle)\r\n        return;\r\n    batchIdle = false;\r\n    if (batchNodes.length === 0) {\r\n        batchIdle = true;\r\n        return;\r\n    }\r\n    const { $nextTick, $options: { rootViewId, }, } = app;\r\n    $nextTick(() => {\r\n        const chunks = chunkNodes(batchNodes);\r\n        const sceneBuilder = new global.Hippy.SceneBuilder(rootViewId);\r\n        chunks.forEach((chunk) => {\r\n            switch (chunk.type) {\r\n                case NODE_OPERATION_TYPES.createNode:\r\n                    printNodeOperation(chunk.printedNodes, 'createNode');\r\n                    sceneBuilder.create(chunk.nodes);\r\n                    handleEventListeners(chunk.eventNodes, sceneBuilder);\r\n                    break;\r\n                case NODE_OPERATION_TYPES.updateNode:\r\n                    printNodeOperation(chunk.printedNodes, 'updateNode');\r\n                    sceneBuilder.update(chunk.nodes);\r\n                    handleEventListeners(chunk.eventNodes, sceneBuilder);\r\n                    break;\r\n                case NODE_OPERATION_TYPES.deleteNode:\r\n                    printNodeOperation(chunk.printedNodes, 'deleteNode');\r\n                    sceneBuilder.delete(chunk.nodes);\r\n                    break;\r\n                case NODE_OPERATION_TYPES.moveNode:\r\n                    printNodeOperation(chunk.printedNodes, 'moveNode');\r\n                    sceneBuilder.move(chunk.nodes);\r\n                    break;\r\n                case NODE_OPERATION_TYPES.updateEvent:\r\n                    handleEventListeners(chunk.eventNodes, sceneBuilder);\r\n                    break;\r\n            }\r\n        });\r\n        sceneBuilder.build();\r\n        batchIdle = true;\r\n        batchNodes = [];\r\n    });\r\n}\r\nfunction getCssMap() {\r\n    /**\r\n     * To support dynamic import, cssMap can be loaded from different js file.\r\n     * cssMap should be 'create/append' if global[GLOBAL_STYLE_NAME] exists;\r\n     */\r\n    if (!cssMap || global[GLOBAL_STYLE_NAME]) {\r\n        /**\r\n         *  Here is a secret startup option: beforeStyleLoadHook.\r\n         *  Usage for process the styles while styles loading.\r\n         */\r\n        const cssRules = fromAstNodes(global[GLOBAL_STYLE_NAME]);\r\n        if (cssMap) {\r\n            cssMap.append(cssRules);\r\n        }\r\n        else {\r\n            cssMap = new SelectorsMap(cssRules);\r\n        }\r\n        global[GLOBAL_STYLE_NAME] = undefined;\r\n    }\r\n    if (global[GLOBAL_DISPOSE_STYLE_NAME]) {\r\n        global[GLOBAL_DISPOSE_STYLE_NAME].forEach((id) => {\r\n            cssMap.delete(id);\r\n        });\r\n        global[GLOBAL_DISPOSE_STYLE_NAME] = undefined;\r\n    }\r\n    return cssMap;\r\n}\r\n/**\r\n * Translate to native props from attributes and meta\r\n */\r\nfunction getNativeProps(node) {\r\n    // Initial the props with empty\r\n    const props = {};\r\n    // Get the default native props from meta\r\n    if (node.meta.component.defaultNativeProps) {\r\n        Object.keys(node.meta.component.defaultNativeProps).forEach((key) => {\r\n            // Skip the defined attribute\r\n            if (node.getAttribute(key) !== undefined) {\r\n                return;\r\n            }\r\n            // Get the default props\r\n            const defaultNativeProps = node.meta.component.defaultNativeProps[key];\r\n            if (isFunction(defaultNativeProps)) {\r\n                props[key] = defaultNativeProps(node);\r\n            }\r\n            else {\r\n                props[key] = defaultNativeProps;\r\n            }\r\n        });\r\n    }\r\n    // Get the processed props from node attributes\r\n    Object.keys(node.attributes).forEach((key) => {\r\n        let value = node.getAttribute(key);\r\n        // No defined map\r\n        if (!node.meta.component.attributeMaps || !node.meta.component.attributeMaps[key]) {\r\n            props[key] = value;\r\n            return;\r\n        }\r\n        // Defined mapped props.\r\n        const map = node.meta.component.attributeMaps[key];\r\n        if (typeof map === 'string') {\r\n            props[map] = value;\r\n            return;\r\n        }\r\n        // Define mapped props is a function.\r\n        if (isFunction(map)) {\r\n            props[key] = map(value);\r\n            return;\r\n        }\r\n        // Defined object map with value\r\n        const { name: propsKey, propsValue, jointKey } = map;\r\n        if (isFunction(propsValue)) {\r\n            value = propsValue(value);\r\n        }\r\n        // if jointKey set, multi attributes will be assigned to the same jointKey object.\r\n        if (jointKey) {\r\n            props[jointKey] = props[jointKey] || {};\r\n            Object.assign(props[jointKey], {\r\n                [propsKey]: value,\r\n            });\r\n        }\r\n        else {\r\n            props[propsKey] = value;\r\n        }\r\n    });\r\n    // Get the force props from meta, it can't be overridden\r\n    if (node.meta.component.nativeProps) {\r\n        Object.assign(props, node.meta.component.nativeProps);\r\n    }\r\n    return props;\r\n}\r\n/**\r\n * parse TextInput component on special condition\r\n * @param targetNode\r\n * @param style\r\n */\r\nfunction parseTextInputComponent(targetNode, style) {\r\n    if (targetNode.meta.component.name === 'TextInput') {\r\n        // Change textAlign to right if display direction is right to left.\r\n        if (isRTL()) {\r\n            if (!style.textAlign) {\r\n                style.textAlign = 'right';\r\n            }\r\n        }\r\n    }\r\n}\r\n/**\r\n * parse view component on special condition\r\n * @param targetNode\r\n * @param nativeNode\r\n * @param style\r\n */\r\nfunction parseViewComponent(targetNode, nativeNode, style) {\r\n    if (targetNode.meta.component.name === 'View') {\r\n        // Change View to ScrollView when meet overflow=scroll style.\r\n        if (style.overflowX === 'scroll' && style.overflowY === 'scroll') {\r\n            warn('overflow-x and overflow-y for View can not work together');\r\n        }\r\n        if (style.overflowY === 'scroll') {\r\n            nativeNode.name = 'ScrollView';\r\n        }\r\n        else if (style.overflowX === 'scroll') {\r\n            nativeNode.name = 'ScrollView';\r\n            // Necessary for horizontal scrolling\r\n            nativeNode.props.horizontal = true;\r\n            // Change flexDirection to row-reverse if display direction is right to left.\r\n            style.flexDirection = isRTL() ? 'row-reverse' : 'row';\r\n        }\r\n        // Change the ScrollView child collapsable attribute\r\n        if (nativeNode.name === 'ScrollView') {\r\n            if (targetNode.childNodes.length !== 1) {\r\n                warn('Only one child node is acceptable for View with overflow');\r\n            }\r\n            if (targetNode.childNodes.length) {\r\n                targetNode.childNodes[0].setStyle('collapsable', false);\r\n            }\r\n        }\r\n        if (style.backgroundImage) {\r\n            style.backgroundImage = convertImageLocalPath(style.backgroundImage);\r\n        }\r\n    }\r\n}\r\n/**\r\n * getElemCss\r\n * @param {ElementNode} element\r\n * @returns {{}}\r\n */\r\nfunction getElemCss(element) {\r\n    const style = Object.create(null);\r\n    try {\r\n        getCssMap().query(element).selectors.forEach((matchedSelector) => {\r\n            if (!isStyleMatched(matchedSelector, element))\r\n                return;\r\n            matchedSelector.ruleSet.declarations.forEach((cssStyle) => {\r\n                style[cssStyle.property] = cssStyle.value;\r\n            });\r\n        });\r\n    }\r\n    catch (err) {\r\n        console.error('getDomCss Error:', err);\r\n    }\r\n    return style;\r\n}\r\n/**\r\n * Get target node attributes, use to chrome devTool tag attribute show while debugging\r\n * @param targetNode\r\n * @returns attributes|{}\r\n */\r\nfunction getTargetNodeAttributes(targetNode) {\r\n    try {\r\n        const targetNodeAttributes = deepCopy(targetNode.attributes);\r\n        const classInfo = Array.from(targetNode.classList || []).join(' ');\r\n        const { id, nodeId } = targetNode;\r\n        const attributes = {\r\n            id,\r\n            hippyNodeId: `${nodeId}`,\r\n            class: classInfo,\r\n            ...targetNodeAttributes,\r\n        };\r\n        delete attributes.text;\r\n        delete attributes.value;\r\n        Object.keys(attributes).forEach((key) => {\r\n            if (key !== 'id' && key !== 'hippyNodeId' && key !== 'class') {\r\n                // value may big int that iOS do not support, should delete\r\n                delete attributes[key];\r\n            }\r\n        });\r\n        return attributes;\r\n    }\r\n    catch (e) {\r\n        warn('getTargetNodeAttributes error:', e);\r\n        return {};\r\n    }\r\n}\r\nfunction processModalView(nativeNode) {\r\n    if (nativeNode.props.__modalFirstChild__) {\r\n        const nodeStyle = nativeNode.props.style;\r\n        Object.keys(nodeStyle).some((styleKey) => {\r\n            if (styleKey === 'position' && nodeStyle[styleKey] === 'absolute') {\r\n                if (isDev()) {\r\n                    console.error(`it cannot set { position: absolute } for the first child node of <dialog /> , please remove it.\nIf you want to make dialog cover fullscreen, please use { flex: 1 } or set height and width to the first child node of <dialog />`);\r\n                }\r\n                ['position', 'left', 'right', 'top', 'bottom'].forEach(positionProp => delete nodeStyle[positionProp]);\r\n                return true;\r\n            }\r\n            return false;\r\n        });\r\n    }\r\n}\r\n/**\r\n * getEventNode - translate event info event node.\r\n * @param targetNode\r\n */\r\nfunction getEventNode(targetNode) {\r\n    let eventNode = undefined;\r\n    const eventsAttributes = targetNode.events;\r\n    if (eventsAttributes) {\r\n        const eventList = [];\r\n        Object.keys(eventsAttributes)\r\n            .forEach((key) => {\r\n            const { name, type, isCapture, listener } = eventsAttributes[key];\r\n            eventList.push({\r\n                name,\r\n                type,\r\n                isCapture,\r\n                listener,\r\n            });\r\n        });\r\n        eventNode = {\r\n            id: targetNode.nodeId,\r\n            eventList,\r\n        };\r\n    }\r\n    return eventNode;\r\n}\r\n/**\r\n * Render Element to native\r\n */\r\nfunction renderToNative(rootViewId, targetNode, refInfo = {}, notUpdateStyle = false) {\r\n    var _a;\r\n    if (targetNode.meta.skipAddToDom) {\r\n        return [];\r\n    }\r\n    if (!targetNode.meta.component) {\r\n        throw new Error(`Specific tag is not supported yet: ${targetNode.tagName}`);\r\n    }\r\n    let style;\r\n    let resultStyle;\r\n    if (notUpdateStyle) {\r\n        // No need to update CSS, use cache directly\r\n        style = getCacheNodeStyle(targetNode.nodeId);\r\n        resultStyle = style;\r\n    }\r\n    else {\r\n        // Recalculate CSS styles style\r\n        style = getElemCss(targetNode);\r\n        // Merge styles style\r\n        style = { ...style, ...targetNode.style };\r\n        // CSS preprocessing\r\n        getBeforeRenderToNative()();\r\n        // style before merge inherit style\r\n        const originStyle = Object.assign({}, style);\r\n        if (targetNode.parentNode) {\r\n            const parentNodeStyle = getCacheNodeStyle(targetNode.parentNode.nodeId);\r\n            const styleAttributes = ['color', 'fontSize', 'fontWeight', 'fontFamily', 'fontStyle', 'textAlign', 'lineHeight'];\r\n            styleAttributes.forEach((attribute) => {\r\n                if (!isStyleNotEmpty(style[attribute]) && isStyleNotEmpty(parentNodeStyle[attribute])) {\r\n                    style[attribute] = parentNodeStyle[attribute];\r\n                }\r\n            });\r\n        }\r\n        // Cache css result\r\n        setCacheNodeStyle(targetNode.nodeId, style);\r\n        // style after merge inherit style\r\n        resultStyle = isHippyTextNode(targetNode) ? style : originStyle;\r\n        // use defaultNativeStyle later to avoid incorrect compute style from inherit node\r\n        // in beforeRenderToNative hook\r\n        if (targetNode.meta.component.defaultNativeStyle) {\r\n            resultStyle = { ...targetNode.meta.component.defaultNativeStyle, ...resultStyle };\r\n        }\r\n    }\r\n    // Translate to native node\r\n    const nativeNode = {\r\n        id: targetNode.nodeId,\r\n        pId: ((_a = targetNode.parentNode) === null || _a === void 0 ? void 0 : _a.nodeId) || rootViewId,\r\n        name: targetNode.meta.component.name,\r\n        props: {\r\n            ...getNativeProps(targetNode),\r\n            style: resultStyle,\r\n        },\r\n        tagName: targetNode.tagName,\r\n    };\r\n    processModalView(nativeNode);\r\n    parseViewComponent(targetNode, nativeNode, resultStyle);\r\n    parseTextInputComponent(targetNode, resultStyle);\r\n    // Convert to real native event\r\n    const eventNode = getEventNode(targetNode);\r\n    let printedNode = undefined;\r\n    // Add nativeNode attributes info for Element debugging\r\n    if (isDev()) {\r\n        // generate printedNode for debugging\r\n        const listenerProp = {};\r\n        if (eventNode && Array.isArray(eventNode.eventList)) {\r\n            eventNode.eventList.forEach((eventListItem) => {\r\n                const { name, listener, type } = eventListItem;\r\n                type === EventHandlerType.ADD && Object.assign(listenerProp, { [name]: listener });\r\n            });\r\n        }\r\n        // Add nativeNode attributes info for debugging\r\n        nativeNode.props.attributes = getTargetNodeAttributes(targetNode);\r\n        Object.assign(printedNode = {}, nativeNode, refInfo);\r\n        printedNode.listeners = listenerProp;\r\n    }\r\n    // convert to translatedNode\r\n    const translatedNode = [nativeNode, refInfo];\r\n    return [translatedNode, eventNode, printedNode];\r\n}\r\n/**\r\n * Render Element with children to native\r\n * @param {number} rootViewId - root view id\r\n * @param {ViewNode} node - target node to be traversed\r\n * @param {Function} [callback] - function called on each traversing process\r\n * @param {Object} refInfo - referenceNode information\r\n * @returns {[]}\r\n */\r\nfunction renderToNativeWithChildren(rootViewId, node, callback, refInfo = {}) {\r\n    const nativeLanguages = [];\r\n    const eventLanguages = [];\r\n    const printedLanguages = [];\r\n    node.traverseChildren((targetNode, refInfo) => {\r\n        const [nativeNode, eventNode, printedNode] = renderToNative(rootViewId, targetNode, refInfo);\r\n        if (nativeNode) {\r\n            nativeLanguages.push(nativeNode);\r\n        }\r\n        if (eventNode) {\r\n            eventLanguages.push(eventNode);\r\n        }\r\n        if (printedNode) {\r\n            printedLanguages.push(printedNode);\r\n        }\r\n        if (typeof callback === 'function') {\r\n            callback(targetNode);\r\n        }\r\n    }, refInfo);\r\n    return [nativeLanguages, eventLanguages, printedLanguages];\r\n}\r\nfunction isLayout(node, rootView) {\r\n    if (node.nodeId === ROOT_VIEW_ID$1) {\r\n        return true;\r\n    }\r\n    // Check the id is specific for rootView.\r\n    if (isDev()) {\r\n        if (!rootView) {\r\n            warn('rootView option is necessary for new HippyVue()');\r\n        }\r\n        if (rootView.charAt(0) !== '#') {\r\n            warn('rootView option must be unique ID selector start with # ');\r\n        }\r\n    }\r\n    return node.id === rootView.slice(1 - rootView.length);\r\n}\r\nfunction insertChild(parentNode, childNode, refInfo = {}) {\r\n    if (!parentNode || !childNode) {\r\n        return;\r\n    }\r\n    if (childNode.meta.skipAddToDom) {\r\n        return;\r\n    }\r\n    const app = getApp();\r\n    if (!app) {\r\n        return;\r\n    }\r\n    const { $options: { rootViewId, rootView } } = app;\r\n    const renderRootNodeCondition = isLayout(parentNode, rootView) && !parentNode.isMounted;\r\n    const renderOtherNodeCondition = parentNode.isMounted && !childNode.isMounted;\r\n    // Render the root node or other nodes\r\n    if (renderRootNodeCondition || renderOtherNodeCondition) {\r\n        // Start real native work.\r\n        const [nativeLanguages, eventLanguages, printedLanguages] = renderToNativeWithChildren(rootViewId, renderRootNodeCondition ? parentNode : childNode, (node) => {\r\n            if (!node.isMounted) {\r\n                node.isMounted = true;\r\n            }\r\n            preCacheNode(node, node.nodeId);\r\n        }, refInfo);\r\n        batchNodes.push({\r\n            type: NODE_OPERATION_TYPES.createNode,\r\n            nodes: nativeLanguages,\r\n            eventNodes: eventLanguages,\r\n            printedNodes: printedLanguages,\r\n        });\r\n        endBatch(app);\r\n    }\r\n}\r\nfunction removeChild$1(parentNode, childNode) {\r\n    if (!childNode || childNode.meta.skipAddToDom) {\r\n        return;\r\n    }\r\n    childNode.isMounted = false;\r\n    const app = getApp();\r\n    const { $options: { rootViewId } } = app;\r\n    const nativeNode = {\r\n        id: childNode.nodeId,\r\n        pId: childNode.parentNode ? childNode.parentNode.nodeId : rootViewId,\r\n    };\r\n    const deleteNodeIds = [\r\n        [\r\n            nativeNode,\r\n            {},\r\n        ],\r\n    ];\r\n    const printedNodes = isDev() ? [nativeNode] : [];\r\n    batchNodes.push({\r\n        printedNodes,\r\n        type: NODE_OPERATION_TYPES.deleteNode,\r\n        nodes: deleteNodeIds,\r\n        eventNodes: [],\r\n    });\r\n    endBatch(app);\r\n}\r\nfunction moveChild(parentNode, childNode, refInfo = {}) {\r\n    if ((parentNode === null || parentNode === void 0 ? void 0 : parentNode.meta) && isFunction(parentNode.meta.removeChild)) {\r\n        parentNode.meta.removeChild(parentNode, childNode);\r\n    }\r\n    if (!childNode || childNode.meta.skipAddToDom) {\r\n        return;\r\n    }\r\n    if (refInfo && refInfo.refId === childNode.nodeId) {\r\n        // ref节点与childNode节点相同, 属于无效操作, 这里先过滤\r\n        return;\r\n    }\r\n    const app = getApp();\r\n    const { $options: { rootViewId } } = app;\r\n    const nativeNode = {\r\n        id: childNode.nodeId,\r\n        pId: childNode.parentNode ? childNode.parentNode.nodeId : rootViewId,\r\n    };\r\n    const moveNodeIds = [\r\n        [\r\n            nativeNode,\r\n            refInfo,\r\n        ],\r\n    ];\r\n    const printedNodes = isDev() ? [{ ...nativeNode, ...refInfo }] : [];\r\n    batchNodes.push({\r\n        printedNodes,\r\n        type: NODE_OPERATION_TYPES.moveNode,\r\n        nodes: moveNodeIds,\r\n        eventNodes: [],\r\n    });\r\n    endBatch(app);\r\n}\r\nfunction updateEvent(parentNode) {\r\n    if (!parentNode.isMounted) {\r\n        return;\r\n    }\r\n    const app = getApp();\r\n    const eventNode = getEventNode(parentNode);\r\n    batchNodes.push({\r\n        type: NODE_OPERATION_TYPES.updateEvent,\r\n        nodes: [],\r\n        eventNodes: [eventNode],\r\n        printedNodes: [],\r\n    });\r\n    endBatch(app);\r\n}\r\nfunction updateChild(parentNode, notUpdateStyle = false) {\r\n    if (!parentNode.isMounted) {\r\n        return;\r\n    }\r\n    const app = getApp();\r\n    const { $options: { rootViewId } } = app;\r\n    const [nativeNode, eventNode, printedNode] = renderToNative(rootViewId, parentNode, {}, notUpdateStyle);\r\n    if (nativeNode) {\r\n        batchNodes.push({\r\n            type: NODE_OPERATION_TYPES.updateNode,\r\n            nodes: nativeNode ? [nativeNode] : [],\r\n            eventNodes: eventNode ? [eventNode] : [],\r\n            printedNodes: isDev() && printedNode ? [printedNode] : [],\r\n        });\r\n        endBatch(app);\r\n    }\r\n}\r\nfunction updateWithChildren(parentNode) {\r\n    if (!parentNode.isMounted) {\r\n        return;\r\n    }\r\n    const app = getApp();\r\n    const { $options: { rootViewId } } = app;\r\n    const [nativeLanguages, eventLanguages, printedLanguages] = renderToNativeWithChildren(rootViewId, parentNode);\r\n    batchNodes.push({\r\n        type: NODE_OPERATION_TYPES.updateNode,\r\n        nodes: nativeLanguages,\r\n        eventNodes: eventLanguages,\r\n        printedNodes: printedLanguages,\r\n    });\r\n    endBatch(app);\r\n}\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nconst backPressSubscriptions = new Set();\r\nlet app$2;\r\nlet hasInitialized = false;\r\n/**\r\n * Android hardware back button event listener.\r\n */\r\nconst realBackAndroid = {\r\n    exitApp() {\r\n        Native.callNative('DeviceEventModule', 'invokeDefaultBackPressHandler');\r\n    },\r\n    /**\r\n     * addBackPressListener\r\n     * @param handler\r\n     * @returns {{remove(): void}}\r\n     */\r\n    addListener(handler) {\r\n        if (!hasInitialized) {\r\n            hasInitialized = true;\r\n            realBackAndroid.initEventListener();\r\n        }\r\n        Native.callNative('DeviceEventModule', 'setListenBackPress', true);\r\n        backPressSubscriptions.add(handler);\r\n        return {\r\n            remove() {\r\n                realBackAndroid.removeListener(handler);\r\n            },\r\n        };\r\n    },\r\n    /**\r\n     * removeBackPressListener\r\n     * @param handler\r\n     */\r\n    removeListener(handler) {\r\n        backPressSubscriptions.delete(handler);\r\n        if (backPressSubscriptions.size === 0) {\r\n            Native.callNative('DeviceEventModule', 'setListenBackPress', false);\r\n        }\r\n    },\r\n    initEventListener() {\r\n        if (!app$2) {\r\n            app$2 = getApp();\r\n        }\r\n        app$2.$on('hardwareBackPress', () => {\r\n            let invokeDefault = true;\r\n            const subscriptions = Array.from(backPressSubscriptions).reverse();\r\n            subscriptions.every((subscription) => {\r\n                if (typeof subscription === 'function' && subscription()) {\r\n                    invokeDefault = false;\r\n                    return false;\r\n                }\r\n                return true;\r\n            });\r\n            if (invokeDefault) {\r\n                realBackAndroid.exitApp();\r\n            }\r\n        });\r\n    },\r\n};\r\n/**\r\n * Fake BackAndroid for iOS\r\n */\r\nconst fakeBackAndroid = {\r\n    exitApp() {\r\n        // noop\r\n    },\r\n    addListener() {\r\n        return {\r\n            remove() {\r\n                // noop\r\n            },\r\n        };\r\n    },\r\n    removeListener() {\r\n        // noop\r\n    },\r\n    initEventListener() {\r\n        // noop\r\n    },\r\n};\r\nconst BackAndroid = (() => {\r\n    if (Hippy.device.platform.OS === 'android') {\r\n        return realBackAndroid;\r\n    }\r\n    return fakeBackAndroid;\r\n})();\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nlet app$1;\r\nconst DEVICE_CONNECTIVITY_EVENT = 'networkStatusDidChange';\r\nconst subscriptions = new Map();\r\nclass NetInfoRevoker {\r\n    constructor(eventName, listener) {\r\n        this.eventName = eventName;\r\n        this.listener = listener;\r\n    }\r\n    remove() {\r\n        if (!this.eventName || !this.listener) {\r\n            return;\r\n        }\r\n        removeEventListener(this.eventName, this.listener);\r\n        this.listener = undefined;\r\n    }\r\n}\r\n/**\r\n * Add a network status event listener\r\n *\r\n * @param {string} eventName - Event name will listen for NetInfo module,\r\n *                             use `change` for listen network change.\r\n * @param {function} listener - Event status event callback\r\n * @returns {object} NetInfoRevoker - The event revoker for destroy the network info event listener.\r\n */\r\nfunction addEventListener(eventName, listener) {\r\n    if (typeof listener !== 'function') {\r\n        warn('NetInfo listener is not a function');\r\n        return;\r\n    }\r\n    let event = eventName;\r\n    if (event === 'change') {\r\n        event = DEVICE_CONNECTIVITY_EVENT;\r\n    }\r\n    if (subscriptions.size === 0) {\r\n        Native.callNative('NetInfo', 'addListener', event);\r\n    }\r\n    if (!app$1) {\r\n        app$1 = getApp();\r\n    }\r\n    app$1.$on(event, listener);\r\n    subscriptions.set(listener, listener);\r\n    return new NetInfoRevoker(event, listener);\r\n}\r\n/**\r\n * Remove network status event listener\r\n *\r\n * @param {string} eventName - Event name will listen for NetInfo module,\r\n *                             use `change` for listen network change.\r\n * @param {NetInfoRevoker} [listener] - The specific event listener will remove.\r\n */\r\nfunction removeEventListener(eventName, listener) {\r\n    if (listener instanceof NetInfoRevoker) {\r\n        listener.remove();\r\n        return;\r\n    }\r\n    let event = eventName;\r\n    if (eventName === 'change') {\r\n        event = DEVICE_CONNECTIVITY_EVENT;\r\n    }\r\n    const handler = subscriptions.get(listener);\r\n    if (!handler) {\r\n        return;\r\n    }\r\n    if (!app$1) {\r\n        app$1 = getApp();\r\n    }\r\n    app$1.$off(event, handler);\r\n    subscriptions.delete(listener);\r\n    if (subscriptions.size < 1) {\r\n        Native.callNative('NetInfo', 'removeListener', event);\r\n    }\r\n}\r\n/**\r\n * Get the current network status\r\n */\r\nfunction fetch() {\r\n    return Native\r\n        .callNativeWithPromise('NetInfo', 'getCurrentConnectivity')\r\n        .then((resp) => resp.network_info);\r\n}\n\nvar NetInfo = /*#__PURE__*/Object.freeze({\n  __proto__: null,\n  addEventListener: addEventListener,\n  removeEventListener: removeEventListener,\n  fetch: fetch,\n  NetInfoRevoker: NetInfoRevoker\n});\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nconst { on, off, emit, bridge: { callNative, callNativeWithPromise, callNativeWithCallbackId, }, device: { platform: { OS: Platform, Localization = {}, }, screen: { scale: PixelRatio, }, }, device: Dimensions, document: UIManagerModule, register: HippyRegister, } = Hippy;\r\nconst CACHE = {};\r\nconst LOG_TYPE$1 = ['%c[native]%c', 'color: red', 'color: auto'];\r\nconst measureInWindowByMethod = function measureInWindowByMethod(el, method) {\r\n    const empty = {\r\n        top: -1,\r\n        left: -1,\r\n        bottom: -1,\r\n        right: -1,\r\n        width: -1,\r\n        height: -1,\r\n    };\r\n    if (!el.isMounted || !el.nodeId) {\r\n        return Promise.resolve(empty);\r\n    }\r\n    const { nodeId } = el;\r\n    trace(...LOG_TYPE$1, 'callUIFunction', { nodeId, funcName: method, params: [] });\r\n    return new Promise(resolve => UIManagerModule.callUIFunction(nodeId, method, [], (pos) => {\r\n        if (!pos || typeof pos !== 'object' || typeof nodeId === 'undefined') {\r\n            return resolve(empty);\r\n        }\r\n        const { x, y, height, width } = pos;\r\n        return resolve({\r\n            top: y,\r\n            left: x,\r\n            width,\r\n            height,\r\n            bottom: y + height,\r\n            right: x + width,\r\n        });\r\n    }));\r\n};\r\n/**\r\n * Native communication module\r\n */\r\nconst Native = {\r\n    /**\r\n     * Class native methods\r\n     */\r\n    callNative,\r\n    /**\r\n     * Call native methods with a promise response.\r\n     */\r\n    callNativeWithPromise,\r\n    /**\r\n     * Call native with callId returns\r\n     */\r\n    callNativeWithCallbackId,\r\n    /**\r\n     * Draw UI with native language.\r\n     */\r\n    UIManagerModule,\r\n    /**\r\n     * console log to native\r\n     */\r\n    ConsoleModule: global.ConsoleModule || global.console,\r\n    /**\r\n     * Global device event listener\r\n     */\r\n    on,\r\n    off,\r\n    emit,\r\n    /**\r\n     * Get the device pixel ratio\r\n     */\r\n    PixelRatio,\r\n    /**\r\n     * Get the running operating system.\r\n     */\r\n    Platform,\r\n    /**\r\n     * Get the localization of country, language and direction\r\n     */\r\n    Localization,\r\n    /**\r\n     * Hippy-Vue version\r\n     */\r\n    version: HIPPY_VUE_VERSION,\r\n    /**\r\n     * Cookie Module\r\n     */\r\n    Cookie: {\r\n        /**\r\n         * Get all cookies by string\r\n         * @param {string} url - Get the cookies by specific url.\r\n         * @return {Promise<string>} - Cookie string, like `name=someone;gender=female`.\r\n         */\r\n        getAll(url) {\r\n            if (!url) {\r\n                throw new TypeError('Vue.Native.Cookie.getAll() must have url argument');\r\n            }\r\n            return callNativeWithPromise.call(this, 'network', 'getCookie', url);\r\n        },\r\n        /**\r\n         * Set cookie key and value\r\n         * @param {string} url - Set the cookie to specific url.\r\n         * @param {string} keyValue - Full of key values, like `name=someone;gender=female`.\r\n         * @param {Date} expireDate - Specific date of expiration.\r\n         */\r\n        set(url, keyValue, expireDate) {\r\n            if (!url) {\r\n                throw new TypeError('Vue.Native.Cookie.getAll() must have url argument');\r\n            }\r\n            if (typeof keyValue !== 'string') {\r\n                throw new TypeError('Vue.Native.Cookie.getAll() only receive string type of keyValue');\r\n            }\r\n            let expireStr = '';\r\n            if (expireDate) {\r\n                if (expireDate instanceof Date) {\r\n                    expireStr = expireDate.toUTCString();\r\n                }\r\n                else {\r\n                    throw new TypeError('Vue.Native.Cookie.getAll() only receive Date type of expires');\r\n                }\r\n            }\r\n            callNative.call(this, 'network', 'setCookie', url, keyValue, expireStr);\r\n        },\r\n    },\r\n    /**\r\n     * Clipboard Module\r\n     */\r\n    Clipboard: {\r\n        getString() {\r\n            return callNativeWithPromise.call(this, 'ClipboardModule', 'getString');\r\n        },\r\n        setString(content) {\r\n            callNative.call(this, 'ClipboardModule', 'setString', content);\r\n        },\r\n    },\r\n    /**\r\n     * Determine the device is iPhone X\r\n     */\r\n    get isIPhoneX() {\r\n        if (!isDef(CACHE.isIPhoneX)) {\r\n            // Assume false in most cases.\r\n            let isIPhoneX = false;\r\n            if (Native.Platform === 'ios') {\r\n                // iOS12 - iPhone11: 48 Phone12/12 pro/12 pro max: 47 other: 44\r\n                isIPhoneX = Native.Dimensions.screen.statusBarHeight !== 20;\r\n            }\r\n            CACHE.isIPhoneX = isIPhoneX;\r\n        }\r\n        return CACHE.isIPhoneX;\r\n    },\r\n    /**\r\n     * Determine the screen is vertical orientation.\r\n     * Should always retrieve from scratch.\r\n     */\r\n    get screenIsVertical() {\r\n        return Native.Dimensions.window.width < Native.Dimensions.window.height;\r\n    },\r\n    /**\r\n     * Get the device information\r\n     */\r\n    get Device() {\r\n        var _a;\r\n        if (!isDef(CACHE.Device)) {\r\n            if (Platform === 'ios') {\r\n                if ((_a = global.__HIPPYNATIVEGLOBAL__) === null || _a === void 0 ? void 0 : _a.Device) {\r\n                    CACHE.Device = global.__HIPPYNATIVEGLOBAL__.Device;\r\n                }\r\n                else {\r\n                    CACHE.Device = 'iPhone';\r\n                }\r\n            }\r\n            else if (Platform === 'android') {\r\n                // TODO: Need android native fill the information\r\n                CACHE.Device = 'Android device';\r\n            }\r\n            else {\r\n                CACHE.Device = 'Unknown device';\r\n            }\r\n        }\r\n        return CACHE.Device;\r\n    },\r\n    /**\r\n     * Get the OS version\r\n     */\r\n    get OSVersion() {\r\n        if (Platform !== 'ios') {\r\n            warn('Vue.Native.OSVersion is available in iOS only');\r\n            return null;\r\n        }\r\n        if (!global.__HIPPYNATIVEGLOBAL__ || !global.__HIPPYNATIVEGLOBAL__.OSVersion) {\r\n            warn('Vue.Native.OSVersion is only available for iOS SDK > 0.2.0');\r\n            return null;\r\n        }\r\n        return global.__HIPPYNATIVEGLOBAL__.OSVersion;\r\n    },\r\n    /**\r\n     * Get the SDK version\r\n     */\r\n    get SDKVersion() {\r\n        if (Platform !== 'ios') {\r\n            warn('Vue.Native.SDKVersion is available in iOS only');\r\n            return null;\r\n        }\r\n        if (!global.__HIPPYNATIVEGLOBAL__ || !global.__HIPPYNATIVEGLOBAL__.OSVersion) {\r\n            warn('Vue.Native.SDKVersion is only available for iOS SDK > 0.2.0');\r\n            return null;\r\n        }\r\n        return global.__HIPPYNATIVEGLOBAL__.SDKVersion;\r\n    },\r\n    /**\r\n     * Get the API version\r\n     */\r\n    get APILevel() {\r\n        if (Platform !== 'android') {\r\n            warn('Vue.Native.APIVersion is available in Android only');\r\n            return null;\r\n        }\r\n        if (!global.__HIPPYNATIVEGLOBAL__ || !global.__HIPPYNATIVEGLOBAL__.Platform.APILevel) {\r\n            warn('Vue.Native.APILevel needs higher Android SDK version to retrieve');\r\n            return null;\r\n        }\r\n        return global.__HIPPYNATIVEGLOBAL__.Platform.APILevel;\r\n    },\r\n    /**\r\n     * Get the screen or view size.\r\n     */\r\n    get Dimensions() {\r\n        const { screen } = Dimensions;\r\n        const { statusBarHeight } = screen;\r\n        return {\r\n            window: Dimensions.window,\r\n            screen: {\r\n                ...screen,\r\n                statusBarHeight,\r\n            },\r\n        };\r\n    },\r\n    /**\r\n     * Get the one pixel size of device\r\n     */\r\n    get OnePixel() {\r\n        if (!isDef(CACHE.OnePixel)) {\r\n            const ratio = Native.PixelRatio;\r\n            let onePixel = Math.round(0.4 * ratio) / ratio;\r\n            if (!onePixel) { // Assume 0 is false\r\n                onePixel = 1 / ratio;\r\n            }\r\n            CACHE.OnePixel = onePixel;\r\n        }\r\n        return CACHE.OnePixel;\r\n    },\r\n    /**\r\n     * Call native UI methods.\r\n     */\r\n    callUIFunction(...args) {\r\n        const [el, funcName, ...options] = args;\r\n        const { nodeId } = el;\r\n        let [params = [], callback] = options;\r\n        if (typeof params === 'function') {\r\n            callback = params;\r\n            params = [];\r\n        }\r\n        trace(...LOG_TYPE$1, 'callUIFunction', { nodeId, funcName, params });\r\n        UIManagerModule.callUIFunction(nodeId, funcName, params, callback);\r\n    },\r\n    /**\r\n     * Measure the component size and position.\r\n     * @deprecated\r\n     */\r\n    measureInWindow(el) {\r\n        return measureInWindowByMethod(el, 'measureInWindow');\r\n    },\r\n    /**\r\n     * Measure the component size and position.\r\n     */\r\n    measureInAppWindow(el) {\r\n        if (Native.Platform === 'android') {\r\n            return measureInWindowByMethod(el, 'measureInWindow');\r\n        }\r\n        return measureInWindowByMethod(el, 'measureInAppWindow');\r\n    },\r\n    getBoundingClientRect(el, options) {\r\n        const { nodeId } = el;\r\n        return new Promise((resolve, reject) => {\r\n            if (!el.isMounted || !nodeId) {\r\n                return reject(new Error(`getBoundingClientRect cannot get nodeId of ${el} or ${el} is not mounted`));\r\n            }\r\n            trace(...LOG_TYPE$1, 'UIManagerModule', { nodeId, funcName: 'getBoundingClientRect', params: options });\r\n            UIManagerModule.callUIFunction(nodeId, 'getBoundingClientRect', [options], (res) => {\r\n                // Android error handler.\r\n                if (!res || res.errMsg) {\r\n                    return reject(new Error((res === null || res === void 0 ? void 0 : res.errMsg) || 'getBoundingClientRect error with no response'));\r\n                }\r\n                const { x, y, width, height } = res;\r\n                let bottom = 0;\r\n                let right = 0;\r\n                if (typeof y === 'number' && typeof height === 'number') {\r\n                    bottom = y + height;\r\n                }\r\n                if (typeof x === 'number' && typeof width === 'number') {\r\n                    right = x + width;\r\n                }\r\n                return resolve({\r\n                    x,\r\n                    y,\r\n                    width,\r\n                    height,\r\n                    bottom,\r\n                    right,\r\n                    left: x,\r\n                    top: y,\r\n                });\r\n            });\r\n        });\r\n    },\r\n    /**\r\n     * parse the color to int32Color which native can understand.\r\n     * @param { String | Number } color\r\n     * @param { {platform: \"ios\" | \"android\"} } options\r\n     * @returns { Number } int32Color\r\n     */\r\n    parseColor(color, options = { platform: Native.Platform }) {\r\n        if (Number.isInteger(color)) {\r\n            return color;\r\n        }\r\n        const cache = CACHE.COLOR_PARSER || (CACHE.COLOR_PARSER = Object.create(null));\r\n        if (!cache[color]) {\r\n            // cache the calculation result\r\n            cache[color] = translateColor(color);\r\n        }\r\n        return cache[color];\r\n    },\r\n    /**\r\n     * Key-Value storage system\r\n     */\r\n    AsyncStorage: global.Hippy.asyncStorage,\r\n    /**\r\n     * Android hardware back button event listener.\r\n     */\r\n    BackAndroid,\r\n    /**\r\n     * operations for img\r\n     */\r\n    ImageLoader: {\r\n        /**\r\n         * Get the image size before rendering.\r\n         *\r\n         * @param {string} url - Get image url.\r\n         */\r\n        getSize(url) {\r\n            return callNativeWithPromise.call(this, 'ImageLoaderModule', 'getSize', url);\r\n        },\r\n        /**\r\n         * Prefetch image, to make rendering faster.\r\n         *\r\n         * @param {string} url - Prefetch image url.\r\n         */\r\n        prefetch(url) {\r\n            callNative.call(this, 'ImageLoaderModule', 'prefetch', url);\r\n        },\r\n    },\r\n    /**\r\n     * Network operations\r\n     */\r\n    NetInfo,\r\n    getElemCss,\r\n};\n\n/* eslint-disable @typescript-eslint/no-this-alias */\r\nconst ROOT_VIEW_ID = 0;\r\nlet currentNodeId = 0;\r\nif (global.__GLOBAL__ && Number.isInteger(global.__GLOBAL__.nodeId)) {\r\n    currentNodeId = global.__GLOBAL__.nodeId;\r\n}\r\nfunction getNodeId() {\r\n    currentNodeId += 1;\r\n    if (currentNodeId % 10 === 0) {\r\n        currentNodeId += 1;\r\n    }\r\n    if (currentNodeId % 10 === ROOT_VIEW_ID) {\r\n        currentNodeId += 1;\r\n    }\r\n    return currentNodeId;\r\n}\r\nclass ViewNode {\r\n    constructor() {\r\n        // Point to root document element.\r\n        this._ownerDocument = null;\r\n        // Component meta information, such as native component will use.\r\n        // Will change to be true after insert into Native dom.\r\n        this._isMounted = false;\r\n        // Virtual DOM node id, will be used in native to identify.\r\n        this.nodeId = getNodeId();\r\n        // Index number in children, will update at traverseChildren method.\r\n        this.index = 0;\r\n        // Relation nodes.\r\n        this.childNodes = [];\r\n    }\r\n    /* istanbul ignore next */\r\n    toString() {\r\n        return this.constructor.name;\r\n    }\r\n    get firstChild() {\r\n        return this.childNodes.length ? this.childNodes[0] : null;\r\n    }\r\n    get lastChild() {\r\n        const len = this.childNodes.length;\r\n        return len ? this.childNodes[len - 1] : null;\r\n    }\r\n    get meta() {\r\n        if (!this._meta) {\r\n            return {};\r\n        }\r\n        return this._meta;\r\n    }\r\n    /* istanbul ignore next */\r\n    get ownerDocument() {\r\n        if (this._ownerDocument) {\r\n            return this._ownerDocument;\r\n        }\r\n        let el = this;\r\n        while (el.constructor.name !== 'DocumentNode') {\r\n            el = el.parentNode;\r\n            if (!el) {\r\n                break;\r\n            }\r\n        }\r\n        this._ownerDocument = el;\r\n        return el;\r\n    }\r\n    get isMounted() {\r\n        return this._isMounted;\r\n    }\r\n    set isMounted(isMounted) {\r\n        this._isMounted = isMounted;\r\n    }\r\n    insertBefore(childNode, referenceNode) {\r\n        if (!childNode) {\r\n            throw new Error('Can\\'t insert child.');\r\n        }\r\n        if (!referenceNode) {\r\n            return this.appendChild(childNode);\r\n        }\r\n        if (referenceNode.parentNode !== this) {\r\n            throw new Error('Can\\'t insert child, because the reference node has a different parent.');\r\n        }\r\n        if (childNode.parentNode && childNode.parentNode !== this) {\r\n            throw new Error('Can\\'t insert child, because it already has a different parent.');\r\n        }\r\n        const index = this.childNodes.indexOf(referenceNode);\r\n        let notToSkipRefNode = referenceNode;\r\n        // if it is text/comment(skipAddToDom) node, it cannot be the reference node\r\n        if (referenceNode.meta.skipAddToDom) {\r\n            notToSkipRefNode = findNotToSkipNode(this.childNodes, index);\r\n        }\r\n        childNode.parentNode = this;\r\n        childNode.nextSibling = referenceNode;\r\n        childNode.prevSibling = this.childNodes[index - 1];\r\n        // update previous node's nextSibling to prevent patch bug\r\n        if (this.childNodes[index - 1]) {\r\n            this.childNodes[index - 1].nextSibling = childNode;\r\n        }\r\n        referenceNode.prevSibling = childNode;\r\n        this.childNodes.splice(index, 0, childNode);\r\n        if (notToSkipRefNode.meta.skipAddToDom) {\r\n            // if childNodes cannot find non-skipAddToDom node as referenceNode,\r\n            // use parentNode append it to the end.\r\n            return insertChild(this, childNode);\r\n        }\r\n        return insertChild(this, childNode, { refId: notToSkipRefNode.nodeId, relativeToRef: RelativeToRefType.BEFORE });\r\n    }\r\n    moveChild(childNode, referenceNode) {\r\n        if (!childNode) {\r\n            throw new Error('Can\\'t move child.');\r\n        }\r\n        if (!referenceNode) {\r\n            return this.appendChild(childNode);\r\n        }\r\n        if (referenceNode.parentNode !== this) {\r\n            throw new Error('Can\\'t move child, because the reference node has a different parent.');\r\n        }\r\n        if (childNode.parentNode && childNode.parentNode !== this) {\r\n            throw new Error('Can\\'t move child, because it already has a different parent.');\r\n        }\r\n        const oldIndex = this.childNodes.indexOf(childNode);\r\n        const referenceIndex = this.childNodes.indexOf(referenceNode);\r\n        let notToSkipRefNode = referenceNode;\r\n        // if it is text/comment(skipAddToDom) node, it cannot be the reference node\r\n        if (referenceNode.meta.skipAddToDom) {\r\n            notToSkipRefNode = findNotToSkipNode(this.childNodes, referenceIndex);\r\n        }\r\n        // return if the moved index is the same as the previous one\r\n        if (referenceIndex === oldIndex) {\r\n            return childNode;\r\n        }\r\n        // set new siblings relations\r\n        childNode.nextSibling = referenceNode;\r\n        childNode.prevSibling = referenceNode.prevSibling;\r\n        referenceNode.prevSibling = childNode;\r\n        if (this.childNodes[referenceIndex - 1]) {\r\n            this.childNodes[referenceIndex - 1].nextSibling = childNode;\r\n        }\r\n        if (this.childNodes[referenceIndex + 1]) {\r\n            this.childNodes[referenceIndex + 1].prevSibling = childNode;\r\n        }\r\n        if (this.childNodes[oldIndex - 1]) {\r\n            this.childNodes[oldIndex - 1].nextSibling = this.childNodes[oldIndex + 1];\r\n        }\r\n        if (this.childNodes[oldIndex + 1]) {\r\n            this.childNodes[oldIndex + 1].prevSibling = this.childNodes[oldIndex - 1];\r\n        }\r\n        this.childNodes.splice(oldIndex, 1);\r\n        const newIndex = this.childNodes.indexOf(referenceNode);\r\n        this.childNodes.splice(newIndex, 0, childNode);\r\n        if (notToSkipRefNode.meta.skipAddToDom) {\r\n            return insertChild(this, childNode);\r\n        }\r\n        return moveChild(this, childNode, { refId: notToSkipRefNode.nodeId, relativeToRef: RelativeToRefType.BEFORE });\r\n    }\r\n    appendChild(childNode) {\r\n        if (!childNode) {\r\n            throw new Error('Can\\'t append child.');\r\n        }\r\n        if (childNode.parentNode && childNode.parentNode !== this) {\r\n            throw new Error('Can\\'t append child, because it already has a different parent.');\r\n        }\r\n        // if childNode is the same as the last child, skip appending\r\n        if (this.lastChild === childNode)\r\n            return;\r\n        // remove childNode if exist\r\n        if (childNode.isMounted) {\r\n            this.removeChild(childNode);\r\n        }\r\n        childNode.parentNode = this;\r\n        if (this.lastChild) {\r\n            childNode.prevSibling = this.lastChild;\r\n            this.lastChild.nextSibling = childNode;\r\n        }\r\n        this.childNodes.push(childNode);\r\n        insertChild(this, childNode);\r\n    }\r\n    removeChild(childNode) {\r\n        if (!childNode) {\r\n            throw new Error('Can\\'t remove child.');\r\n        }\r\n        if (!childNode.parentNode) {\r\n            throw new Error('Can\\'t remove child, because it has no parent.');\r\n        }\r\n        if (childNode.parentNode !== this) {\r\n            throw new Error('Can\\'t remove child, because it has a different parent.');\r\n        }\r\n        if (childNode.meta.skipAddToDom) {\r\n            return;\r\n        }\r\n        if (childNode.prevSibling) {\r\n            childNode.prevSibling.nextSibling = childNode.nextSibling;\r\n        }\r\n        if (childNode.nextSibling) {\r\n            childNode.nextSibling.prevSibling = childNode.prevSibling;\r\n        }\r\n        childNode.prevSibling = undefined;\r\n        childNode.nextSibling = undefined;\r\n        const index = this.childNodes.indexOf(childNode);\r\n        this.childNodes.splice(index, 1);\r\n        removeChild$1(this, childNode);\r\n    }\r\n    /**\r\n     * Find a specific target with condition\r\n     */\r\n    findChild(condition) {\r\n        const yes = condition(this);\r\n        if (yes) {\r\n            return this;\r\n        }\r\n        if (this.childNodes.length) {\r\n            for (let i = 0; i < this.childNodes.length; i += 1) {\r\n                const childNode = this.childNodes[i];\r\n                const targetChild = this.findChild.call(childNode, condition);\r\n                if (targetChild) {\r\n                    return targetChild;\r\n                }\r\n            }\r\n        }\r\n        return null;\r\n    }\r\n    /**\r\n     * Traverse the children and execute callback\r\n     */\r\n    traverseChildren(callback, refInfo) {\r\n        callback(this, refInfo);\r\n        // Find the children\r\n        if (this.childNodes.length) {\r\n            this.childNodes.forEach((childNode) => {\r\n                this.traverseChildren.call(childNode, callback, {});\r\n            });\r\n        }\r\n    }\r\n}\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nclass TextNode extends ViewNode {\r\n    constructor(text) {\r\n        super();\r\n        this.text = text;\r\n        this._meta = {\r\n            symbol: Text,\r\n            skipAddToDom: true,\r\n        };\r\n    }\r\n    setText(text) {\r\n        this.text = text;\r\n        if (typeof this.parentNode.setText === 'function') {\r\n            this.parentNode.setText(text);\r\n        }\r\n    }\r\n}\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n// linear-gradient direction description map\r\nconst LINEAR_GRADIENT_DIRECTION_MAP = {\r\n    totop: '0',\r\n    totopright: 'totopright',\r\n    toright: '90',\r\n    tobottomright: 'tobottomright',\r\n    tobottom: '180',\r\n    tobottomleft: 'tobottomleft',\r\n    toleft: '270',\r\n    totopleft: 'totopleft',\r\n};\r\nconst DEGREE_UNIT = {\r\n    TURN: 'turn',\r\n    RAD: 'rad',\r\n    DEG: 'deg',\r\n};\r\nconst ATTRIBUTE_KEY_MAP = {\r\n    BEFORE_LOAD_STYLE_DISABLED: 'beforeLoadStyleDisabled',\r\n    CLASS: 'class',\r\n    ID: 'id',\r\n    TEXT: 'text',\r\n    VALUE: 'value',\r\n    DEFAULT_VALUE: 'defaultValue',\r\n    PLACEHOLDER: 'placeholder',\r\n    NUMBER_OF_ROWS: 'numberOfRows',\r\n    CARET_COLOR: 'caretColor',\r\n    CARET_DASH_COLOR: 'caret-color',\r\n    BREAK_STRATEGY: 'break-strategy',\r\n    PLACEHOLDER_TEXT_COLOR: 'placeholderTextColor',\r\n    PLACEHOLDER_DASH_TEXT_DASH_COLOR: 'placeholder-text-color',\r\n    UNDERLINE_COLOR_ANDROID: 'underlineColorAndroid',\r\n    UNDERLINE_DASH_COLOR_DASH_ANDROID: 'underline-color-android',\r\n    NATIVE_BACKGROUND_ANDROID: 'nativeBackgroundAndroid',\r\n};\r\nconst offsetMap = {\r\n    textShadowOffsetX: 'width',\r\n    textShadowOffsetY: 'height',\r\n};\r\n/**\r\n * convert string value to string degree\r\n * @param {string} value\r\n * @param {string} unit\r\n */\r\nfunction convertToDegree(value, unit = DEGREE_UNIT.DEG) {\r\n    const convertedNumValue = parseFloat(value);\r\n    let result = value || '';\r\n    const [, decimals] = value.split('.');\r\n    if (decimals && decimals.length > 2) {\r\n        result = convertedNumValue.toFixed(2);\r\n    }\r\n    switch (unit) {\r\n        // turn unit\r\n        case DEGREE_UNIT.TURN:\r\n            result = `${(convertedNumValue * 360).toFixed(2)}`;\r\n            break;\r\n        // radius unit\r\n        case DEGREE_UNIT.RAD:\r\n            result = `${(180 / Math.PI * convertedNumValue).toFixed(2)}`;\r\n            break;\r\n    }\r\n    return result;\r\n}\r\n/**\r\n * parse gradient angle or direction\r\n * @param {string} value\r\n */\r\nfunction getLinearGradientAngle(value) {\r\n    const processedValue = (value || '').replace(/\\s*/g, '').toLowerCase();\r\n    const reg = /^([+-]?(?=(?<digit>\\d+))\\k<digit>\\.?\\d*)+(deg|turn|rad)|(to\\w+)$/g;\r\n    const valueList = reg.exec(processedValue);\r\n    if (!Array.isArray(valueList))\r\n        return;\r\n    // if default direction is to bottom, i.e. 180degree\r\n    let angle = '180';\r\n    const [direction, angleValue, angleUnit] = valueList;\r\n    if (angleValue && angleUnit) { // angle value\r\n        angle = convertToDegree(angleValue, angleUnit);\r\n    }\r\n    else if (direction && typeof LINEAR_GRADIENT_DIRECTION_MAP[direction] !== 'undefined') { // direction description\r\n        angle = LINEAR_GRADIENT_DIRECTION_MAP[direction];\r\n    }\r\n    else {\r\n        warn('linear-gradient direction or angle is invalid, default value [to bottom] would be used');\r\n    }\r\n    return angle;\r\n}\r\n/**\r\n * parse gradient color stop\r\n * @param {string} value\r\n */\r\nfunction getLinearGradientColorStop(value) {\r\n    const processedValue = (value || '').replace(/\\s+/g, ' ').trim();\r\n    const [color, percentage] = processedValue.split(/\\s+(?![^(]*?\\))/);\r\n    const percentageCheckReg = /^([+-]?\\d+\\.?\\d*)%$/g;\r\n    if (color && !percentageCheckReg.exec(color) && !percentage) {\r\n        return {\r\n            color: Native.parseColor(color),\r\n        };\r\n    }\r\n    if (color && percentageCheckReg.exec(percentage)) {\r\n        return {\r\n            // color stop ratio\r\n            ratio: parseFloat(percentage.split('%')[0]) / 100,\r\n            color: Native.parseColor(color),\r\n        };\r\n    }\r\n    warn('linear-gradient color stop is invalid');\r\n}\r\n/**\r\n * parse backgroundImage\r\n * @param {string} property\r\n * @param {string|Object|number|boolean} value\r\n * @returns {(string|{})[]}\r\n */\r\nfunction parseBackgroundImage(property, value, style) {\r\n    // reset the backgroundImage and linear gradient property\r\n    delete style[property];\r\n    removeLinearGradient(property, value, style);\r\n    let processedValue = value;\r\n    let processedProperty = property;\r\n    if (value.indexOf('linear-gradient') === 0) {\r\n        processedProperty = 'linearGradient';\r\n        const valueString = value.substring(value.indexOf('(') + 1, value.lastIndexOf(')'));\r\n        const tokens = valueString.split(/,(?![^(]*?\\))/);\r\n        const colorStopList = [];\r\n        processedValue = {};\r\n        tokens.forEach((value, index) => {\r\n            if (index === 0) {\r\n                // the angle of linear-gradient parameter can be optional\r\n                const angle = getLinearGradientAngle(value);\r\n                if (angle) {\r\n                    processedValue.angle = angle;\r\n                }\r\n                else {\r\n                    // if angle ignored, default direction is to bottom, i.e. 180degree\r\n                    processedValue.angle = '180';\r\n                    const colorObject = getLinearGradientColorStop(value);\r\n                    if (colorObject)\r\n                        colorStopList.push(colorObject);\r\n                }\r\n            }\r\n            else {\r\n                const colorObject = getLinearGradientColorStop(value);\r\n                if (colorObject)\r\n                    colorStopList.push(colorObject);\r\n            }\r\n        });\r\n        processedValue.colorStopList = colorStopList;\r\n    }\r\n    else {\r\n        const regexp = /(?:\\(['\"]?)(.*?)(?:['\"]?\\))/;\r\n        const executed = regexp.exec(value);\r\n        if (executed && executed.length > 1) {\r\n            [, processedValue] = executed;\r\n        }\r\n    }\r\n    return [processedProperty, processedValue];\r\n}\r\n/**\r\n * remove linear gradient\r\n * @param property\r\n * @param value\r\n * @param style\r\n */\r\nfunction removeLinearGradient(property, value, style) {\r\n    if (property === 'backgroundImage' && style.linearGradient) {\r\n        delete style.linearGradient;\r\n    }\r\n}\r\n/**\r\n * parse text shadow offset\r\n * @param property\r\n * @param value\r\n * @param style\r\n * @returns {(*|number)[]}\r\n */\r\nfunction parseTextShadowOffset(property, value = 0, style) {\r\n    style.textShadowOffset = style.textShadowOffset || {};\r\n    Object.assign(style.textShadowOffset, {\r\n        [offsetMap[property]]: value,\r\n    });\r\n    return ['textShadowOffset', style.textShadowOffset];\r\n}\r\n/**\r\n * remove text shadow offset\r\n * @param property\r\n * @param value\r\n * @param style\r\n */\r\nfunction removeTextShadowOffset(property, value, style) {\r\n    if ((property === 'textShadowOffsetX' || property === 'textShadowOffsetY') && style.textShadowOffset) {\r\n        delete style.textShadowOffset[offsetMap[property]];\r\n        if (Object.keys(style.textShadowOffset).length === 0) {\r\n            delete style.textShadowOffset;\r\n        }\r\n    }\r\n}\r\n/**\r\n * remove empty style\r\n * @param property\r\n * @param value\r\n * @param style\r\n */\r\nfunction removeStyle(property, value, style) {\r\n    if (value === undefined) {\r\n        delete style[property];\r\n        removeLinearGradient(property, value, style);\r\n        removeTextShadowOffset(property, value, style);\r\n    }\r\n}\r\nfunction transverseEventNames(eventNames, callback) {\r\n    if (typeof eventNames !== 'string')\r\n        return;\r\n    const events = eventNames.split(',');\r\n    for (let i = 0, l = events.length; i < l; i += 1) {\r\n        const eventName = events[i].trim();\r\n        callback(eventName);\r\n    }\r\n}\r\nfunction createEventListener(nativeName, originalName) {\r\n    return (event) => {\r\n        const { id, currentId, params, eventPhase } = event;\r\n        const dispatcherEvent = {\r\n            id,\r\n            nativeName,\r\n            originalName,\r\n            currentId,\r\n            params,\r\n            eventPhase,\r\n        };\r\n        EventDispatcher.receiveComponentEvent(dispatcherEvent, event);\r\n    };\r\n}\r\nconst inheritProperties = ['color', 'fontSize', 'fontWeight', 'fontFamily', 'fontStyle', 'textAlign', 'lineHeight'];\r\nclass ElementNode extends ViewNode {\r\n    constructor(tagName) {\r\n        super();\r\n        // id\r\n        this.id = '';\r\n        // style scoped id for element\r\n        this.scopeIdList = [];\r\n        // element tag name, such as div, ul, hi-swiper, etc.\r\n        this._tagName = '';\r\n        // Tag name\r\n        this.tagName = tagName;\r\n        // ID attribute in template.\r\n        this.id = '';\r\n        // style attribute in template.\r\n        this.style = {};\r\n        // Vue style scope id list.\r\n        this.scopeIdList = [];\r\n        // Class attribute in template.\r\n        this.classList = new Set(); // Fake DOMTokenLis\r\n        // Other attributes in template.\r\n        this.attributes = {};\r\n        // events map\r\n        this.events = {};\r\n        // Event observer.\r\n        this._emitter = null;\r\n        // Style pre-processor\r\n        this.beforeLoadStyle = getBeforeLoadStyle();\r\n    }\r\n    toString() {\r\n        return `${this.constructor.name}(${this._tagName})`;\r\n    }\r\n    set tagName(name) {\r\n        this._tagName = normalizeElementName(name);\r\n    }\r\n    get tagName() {\r\n        return this._tagName;\r\n    }\r\n    get meta() {\r\n        if (this._meta) {\r\n            return this._meta;\r\n        }\r\n        this._meta = getViewMeta(this._tagName);\r\n        return this._meta;\r\n    }\r\n    get emitter() {\r\n        return this._emitter;\r\n    }\r\n    hasAttribute(key) {\r\n        return !!this.attributes[key];\r\n    }\r\n    getAttribute(key) {\r\n        return this.attributes[key];\r\n    }\r\n    setAttribute(rawKey, rawValue, options = {}) {\r\n        try {\r\n            let key = rawKey;\r\n            let value = rawValue;\r\n            // detect expandable attrs for boolean values\r\n            // See https://vuejs.org/v2/guide/components-props.html#Passing-a-Boolean\r\n            if (typeof (this.attributes[key]) === 'boolean' && value === '') {\r\n                value = true;\r\n            }\r\n            if (key === undefined) {\r\n                !options.notToNative && updateChild(this);\r\n                return;\r\n            }\r\n            switch (key) {\r\n                case ATTRIBUTE_KEY_MAP.CLASS: {\r\n                    const newClassList = new Set(value.split(' ').filter((x) => x.trim()));\r\n                    if (setsAreEqual(this.classList, newClassList)) {\r\n                        return;\r\n                    }\r\n                    this.classList = newClassList;\r\n                    // update current node and child nodes\r\n                    !options.notToNative && updateWithChildren(this);\r\n                    return;\r\n                }\r\n                case ATTRIBUTE_KEY_MAP.ID:\r\n                    if (value === this.id) {\r\n                        return;\r\n                    }\r\n                    this.id = value;\r\n                    // update current node and child nodes\r\n                    !options.notToNative && updateWithChildren(this);\r\n                    return;\r\n                // Convert text related to character for interface.\r\n                case ATTRIBUTE_KEY_MAP.TEXT:\r\n                case ATTRIBUTE_KEY_MAP.VALUE:\r\n                case ATTRIBUTE_KEY_MAP.DEFAULT_VALUE:\r\n                case ATTRIBUTE_KEY_MAP.PLACEHOLDER: {\r\n                    if (typeof value !== 'string') {\r\n                        try {\r\n                            value = value.toString();\r\n                        }\r\n                        catch (err) {\r\n                            warn(`Property ${key} must be string：${err.message}`);\r\n                        }\r\n                    }\r\n                    if (!options || !options.textUpdate) {\r\n                        // white space handler\r\n                        value = whitespaceFilter(value);\r\n                    }\r\n                    value = unicodeToChar(value);\r\n                    break;\r\n                }\r\n                case ATTRIBUTE_KEY_MAP.NUMBER_OF_ROWS:\r\n                    if (Native.Platform !== 'ios') {\r\n                        return;\r\n                    }\r\n                    break;\r\n                case ATTRIBUTE_KEY_MAP.CARET_COLOR:\r\n                case ATTRIBUTE_KEY_MAP.CARET_DASH_COLOR:\r\n                    key = 'caret-color';\r\n                    value = Native.parseColor(value);\r\n                    break;\r\n                case ATTRIBUTE_KEY_MAP.BREAK_STRATEGY:\r\n                    key = 'breakStrategy';\r\n                    break;\r\n                case ATTRIBUTE_KEY_MAP.PLACEHOLDER_TEXT_COLOR:\r\n                case ATTRIBUTE_KEY_MAP.PLACEHOLDER_DASH_TEXT_DASH_COLOR:\r\n                    key = 'placeholderTextColor';\r\n                    value = Native.parseColor(value);\r\n                    break;\r\n                case ATTRIBUTE_KEY_MAP.UNDERLINE_COLOR_ANDROID:\r\n                case ATTRIBUTE_KEY_MAP.UNDERLINE_DASH_COLOR_DASH_ANDROID:\r\n                    key = 'underlineColorAndroid';\r\n                    value = Native.parseColor(value);\r\n                    break;\r\n                case ATTRIBUTE_KEY_MAP.NATIVE_BACKGROUND_ANDROID: {\r\n                    const nativeBackgroundAndroid = value;\r\n                    if (typeof nativeBackgroundAndroid.color !== 'undefined') {\r\n                        nativeBackgroundAndroid.color = Native.parseColor(nativeBackgroundAndroid.color);\r\n                    }\r\n                    key = 'nativeBackgroundAndroid';\r\n                    value = nativeBackgroundAndroid;\r\n                    break;\r\n                }\r\n                default:\r\n            }\r\n            if (this.attributes[key] === value)\r\n                return;\r\n            this.attributes[key] = value;\r\n            if (typeof this.filterAttribute === 'function') {\r\n                this.filterAttribute(this.attributes);\r\n            }\r\n            !options.notToNative && updateChild(this, options.notUpdateStyle);\r\n        }\r\n        catch (err) {\r\n            // Throw error in development mode\r\n            if (isDev()) {\r\n                throw err;\r\n            }\r\n        }\r\n    }\r\n    removeAttribute(key) {\r\n        delete this.attributes[key];\r\n    }\r\n    setStyles(batchStyles) {\r\n        if (!batchStyles || typeof batchStyles !== 'object' || Object.keys(batchStyles).length === 0) {\r\n            return;\r\n        }\r\n        Object.keys(batchStyles).forEach((styleKey) => {\r\n            const styleValue = batchStyles[styleKey];\r\n            this.setStyle(styleKey, styleValue, true);\r\n        });\r\n        const needInherit = inheritProperties.some(prop => Object.prototype.hasOwnProperty.call(batchStyles, prop));\r\n        if (needInherit) {\r\n            updateWithChildren(this);\r\n        }\r\n        else {\r\n            updateChild(this);\r\n        }\r\n    }\r\n    setStyle(rawKey, rawValue, notToNative = false) {\r\n        // Preprocess the style\r\n        let key = rawKey;\r\n        let value = rawValue;\r\n        if (!this.getAttribute(ATTRIBUTE_KEY_MAP.BEFORE_LOAD_STYLE_DISABLED)) {\r\n            ({ value, property: key } = this.beforeLoadStyle({ property: rawKey, value: rawValue }));\r\n        }\r\n        if (rawValue === undefined) {\r\n            removeStyle(key, value, this.style);\r\n            if (!notToNative) {\r\n                updateChild(this);\r\n            }\r\n            return;\r\n        }\r\n        // Process the specific style value\r\n        switch (key) {\r\n            case 'fontWeight':\r\n                if (typeof value !== 'string') {\r\n                    value = value.toString();\r\n                }\r\n                break;\r\n            case 'backgroundImage': {\r\n                [key, value] = parseBackgroundImage(key, value, this.style);\r\n                break;\r\n            }\r\n            case 'textShadowOffsetX':\r\n            case 'textShadowOffsetY': {\r\n                [key, value] = parseTextShadowOffset(key, value, this.style);\r\n                break;\r\n            }\r\n            case 'textShadowOffset': {\r\n                const { x = 0, width = 0, y = 0, height = 0 } = value || {};\r\n                value = { width: x || width, height: y || height };\r\n                break;\r\n            }\r\n            default: {\r\n                // Convert the property to W3C standard.\r\n                if (Object.prototype.hasOwnProperty.call(PROPERTIES_MAP, key)) {\r\n                    key = PROPERTIES_MAP[key];\r\n                }\r\n                // Convert the value\r\n                if (typeof value === 'string') {\r\n                    value = value.trim();\r\n                    // Convert inline color style to int\r\n                    if (key.toLowerCase().indexOf('color') >= 0) {\r\n                        value = Native.parseColor(value);\r\n                        // Convert inline length style, drop the px unit\r\n                    }\r\n                    else if (endsWith(value, 'px')) {\r\n                        value = parseFloat(value.slice(0, value.length - 2));\r\n                    }\r\n                    else {\r\n                        value = tryConvertNumber(value);\r\n                    }\r\n                }\r\n            }\r\n        }\r\n        if (value === undefined || value === null || this.style[key] === value) {\r\n            return;\r\n        }\r\n        this.style[key] = value;\r\n        if (!notToNative) {\r\n            if (inheritProperties.indexOf(key) >= 0) {\r\n                updateWithChildren(this);\r\n            }\r\n            else {\r\n                updateChild(this);\r\n            }\r\n        }\r\n    }\r\n    /**\r\n     * set native style props\r\n     */\r\n    setNativeProps(nativeProps) {\r\n        if (nativeProps) {\r\n            const { style } = nativeProps;\r\n            this.setStyles(style);\r\n        }\r\n    }\r\n    /**\r\n     * repaint element with the latest style map, which maybe loaded from HMR chunk or dynamic chunk\r\n     */\r\n    repaintWithChildren() {\r\n        updateWithChildren(this);\r\n    }\r\n    setStyleScope(styleScopeId) {\r\n        if (typeof styleScopeId !== 'string') {\r\n            styleScopeId = styleScopeId.toString();\r\n        }\r\n        if (styleScopeId && !this.scopeIdList.includes(styleScopeId)) {\r\n            this.scopeIdList.push(styleScopeId);\r\n        }\r\n    }\r\n    get styleScopeId() {\r\n        return this.scopeIdList;\r\n    }\r\n    isTextNode(childNode) {\r\n        return (childNode === null || childNode === void 0 ? void 0 : childNode.meta.symbol) === Text;\r\n    }\r\n    appendChild(childNode) {\r\n        if ((childNode === null || childNode === void 0 ? void 0 : childNode.meta.symbol) === Text && childNode instanceof TextNode) {\r\n            this.setText(childNode.text, { notToNative: true });\r\n        }\r\n        super.appendChild(childNode);\r\n    }\r\n    insertBefore(childNode, referenceNode) {\r\n        if (this.isTextNode(childNode) && childNode instanceof TextNode) {\r\n            this.setText(childNode.text, { notToNative: true });\r\n        }\r\n        super.insertBefore(childNode, referenceNode);\r\n    }\r\n    moveChild(childNode, referenceNode) {\r\n        if (this.isTextNode(childNode) && childNode instanceof TextNode) {\r\n            this.setText(childNode.text, { notToNative: true });\r\n        }\r\n        super.moveChild(childNode, referenceNode);\r\n    }\r\n    removeChild(childNode) {\r\n        if (this.isTextNode(childNode) && childNode instanceof TextNode) {\r\n            this.setText('', { notToNative: true });\r\n        }\r\n        super.removeChild(childNode);\r\n    }\r\n    setText(text, options = {}) {\r\n        // Hacking for textarea, use value props to instance text props\r\n        if (this.tagName === 'textarea') {\r\n            return this.setAttribute('value', text, { notToNative: !!options.notToNative });\r\n        }\r\n        return this.setAttribute('text', text, { notToNative: !!options.notToNative });\r\n    }\r\n    setListenerHandledType(key, type) {\r\n        if (this.events[key]) {\r\n            this.events[key].handledType = type;\r\n        }\r\n    }\r\n    isListenerHandled(key, type) {\r\n        if (this.events[key] && type !== this.events[key].handledType) {\r\n            // if handledType not equals type params, this event needs updated\r\n            // if handledType equals undefined, this event needs created\r\n            return false;\r\n        }\r\n        // if event not existed, marked it has been handled\r\n        return true;\r\n    }\r\n    getNativeEventName(eventName) {\r\n        let nativeEventName = `on${capitalizeFirstLetter(eventName)}`;\r\n        if (this.meta.component) {\r\n            const { eventNamesMap } = this.meta.component;\r\n            if (eventNamesMap === null || eventNamesMap === void 0 ? void 0 : eventNamesMap[eventName]) {\r\n                nativeEventName = eventNamesMap[eventName];\r\n            }\r\n        }\r\n        return nativeEventName;\r\n    }\r\n    addEventListener(eventNames, callback, options) {\r\n        if (!this._emitter) {\r\n            this._emitter = new EventEmitter(this);\r\n        }\r\n        // Added default scrollEventThrottle when scroll event is added.\r\n        if (eventNames === 'scroll' && !(this.getAttribute('scrollEventThrottle') > 0)) {\r\n            const scrollEventThrottle = 200;\r\n            {\r\n                this.attributes.scrollEventThrottle = scrollEventThrottle;\r\n            }\r\n        }\r\n        if (typeof this.polyfillNativeEvents === 'function') {\r\n            ({ eventNames, callback, options } = this.polyfillNativeEvents(EventMethod.ADD, eventNames, callback, options));\r\n        }\r\n        this._emitter.addEventListener(eventNames, callback, options);\r\n        transverseEventNames(eventNames, (eventName) => {\r\n            const nativeEventName = this.getNativeEventName(eventName);\r\n            if (!this.events[nativeEventName]) {\r\n                this.events[nativeEventName] = {\r\n                    name: nativeEventName,\r\n                    type: EventHandlerType.ADD,\r\n                    listener: createEventListener(nativeEventName, eventName),\r\n                    isCapture: false,\r\n                };\r\n            }\r\n            else if (this.events[nativeEventName] && this.events[nativeEventName].type !== EventHandlerType.ADD) {\r\n                this.events[nativeEventName].type = EventHandlerType.ADD;\r\n            }\r\n        });\r\n        updateEvent(this);\r\n    }\r\n    removeEventListener(eventNames, callback, options) {\r\n        if (!this._emitter) {\r\n            return null;\r\n        }\r\n        if (typeof this.polyfillNativeEvents === 'function') {\r\n            ({ eventNames, callback, options } = this.polyfillNativeEvents(EventMethod.REMOVE, eventNames, callback, options));\r\n        }\r\n        const observer = this._emitter.removeEventListener(eventNames, callback, options);\r\n        transverseEventNames(eventNames, (eventName) => {\r\n            const nativeEventName = this.getNativeEventName(eventName);\r\n            if (this.events[nativeEventName]) {\r\n                this.events[nativeEventName].type = EventHandlerType.REMOVE;\r\n            }\r\n        });\r\n        updateEvent(this);\r\n        return observer;\r\n    }\r\n    dispatchEvent(eventInstance, targetNode, domEvent) {\r\n        if (!(eventInstance instanceof Event)) {\r\n            throw new Error('dispatchEvent method only accept Event instance');\r\n        }\r\n        // Current Target always be the event listener.\r\n        eventInstance.currentTarget = this;\r\n        // But target be the first target.\r\n        // Be careful, here's different from Browser,\r\n        // because Hippy can't call back without element _emitter.\r\n        if (!eventInstance.target) {\r\n            eventInstance.target = targetNode || this;\r\n            // IMPORTANT: It's important for vnode diff and directive trigger.\r\n            if (typeof eventInstance.value === 'string' && eventInstance.target) {\r\n                eventInstance.target.value = eventInstance.value;\r\n            }\r\n        }\r\n        if (this._emitter) {\r\n            this._emitter.emit(eventInstance);\r\n        }\r\n        if (!eventInstance.bubbles && domEvent) {\r\n            domEvent.stopPropagation();\r\n        }\r\n    }\r\n    /**\r\n     * getBoundingClientRect\r\n     * @deprecated\r\n     * Get the position and size of element\r\n     * Because it's an async function, need await prefix.\r\n     *\r\n     * And if the element is out of visible area, result will be none.\r\n     */\r\n    getBoundingClientRect() {\r\n        return Native.measureInWindow(this);\r\n    }\r\n    /**\r\n     * Scroll children to specific position.\r\n     */\r\n    scrollToPosition(x = 0, y = 0, rawDuration = 1000) {\r\n        if (typeof x !== 'number' || typeof y !== 'number') {\r\n            return;\r\n        }\r\n        let duration = rawDuration;\r\n        if (duration === false) {\r\n            duration = 0;\r\n        }\r\n        Native.callUIFunction(this, 'scrollToWithOptions', [{ x, y, duration }]);\r\n    }\r\n    /**\r\n     * Native implementation for the Chrome/Firefox Element.scrollTop method\r\n     */\r\n    scrollTo(x, y, duration) {\r\n        let animationDuration = duration;\r\n        if (typeof x === 'object' && x) {\r\n            const { left, top, behavior = 'auto' } = x;\r\n            ({ duration: animationDuration } = x);\r\n            this.scrollToPosition(left, top, behavior === 'none' ? 0 : animationDuration);\r\n        }\r\n        else {\r\n            this.scrollToPosition(x, y, duration);\r\n        }\r\n    }\r\n    /**\r\n     * Set pressed state\r\n     * @param pressed - whether to press\r\n     */\r\n    setPressed(pressed) {\r\n        Native.callUIFunction(this, 'setPressed', [pressed]);\r\n    }\r\n    /**\r\n     * Set hot zone\r\n     *\r\n     * @param x - x coordinate\r\n     * @param y - y coordinate\r\n     */\r\n    setHotspot(x, y) {\r\n        Native.callUIFunction(this, 'setHotspot', [x, y]);\r\n    }\r\n}\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nclass CommentNode extends ElementNode {\r\n    constructor(text) {\r\n        super('comment');\r\n        this.text = text;\r\n        this._meta = {\r\n            symbol: Text,\r\n            skipAddToDom: true,\r\n        };\r\n    }\r\n}\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n/**\r\n * Input and Textarea Element\r\n */\r\nclass InputNode extends ElementNode {\r\n    /**\r\n     * Get text input value\r\n     */\r\n    getValue() {\r\n        return new Promise(resolve => Native.callUIFunction(this, 'getValue', (r) => resolve(r.text)));\r\n    }\r\n    /**\r\n     * Set text input value\r\n     */\r\n    setValue(value) {\r\n        Native.callUIFunction(this, 'setValue', [value]);\r\n    }\r\n    /**\r\n     * Focus\r\n     */\r\n    focus() {\r\n        Native.callUIFunction(this, 'focusTextInput', []);\r\n    }\r\n    /**\r\n     * Blur\r\n     */\r\n    blur() {\r\n        Native.callUIFunction(this, 'blurTextInput', []);\r\n    }\r\n    /**\r\n     * Get text input focus status\r\n     */\r\n    isFocused() {\r\n        return new Promise(resolve => Native.callUIFunction(this, 'isFocused', (r) => resolve(r.value)));\r\n    }\r\n    /**\r\n     * Clear\r\n     */\r\n    clear() {\r\n        Native.callUIFunction(this, 'clear', []);\r\n    }\r\n    /**\r\n     * Show input method selection dialog.\r\n     * @deprecated\r\n     */\r\n    showInputMethod() {\r\n        // noop\r\n    }\r\n    /**\r\n     * hideInputMethod\r\n     * @deprecated\r\n     */\r\n    hideInputMethod() {\r\n        // noop\r\n    }\r\n}\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n/**\r\n * List element\r\n */\r\nclass ListNode extends ElementNode {\r\n    /**\r\n     * Scroll to child node with index\r\n     */\r\n    scrollToIndex(indexLeft = 0, indexTop = 0, needAnimation = true) {\r\n        if (typeof indexLeft !== 'number' || typeof indexTop !== 'number') {\r\n            return;\r\n        }\r\n        Native.callUIFunction(this, 'scrollToIndex', [indexLeft, indexTop, needAnimation]);\r\n    }\r\n    /**\r\n     * Scroll children to specific position.\r\n     */\r\n    scrollToPosition(posX = 0, posY = 0, needAnimation = true) {\r\n        if (typeof posX !== 'number' || typeof posY !== 'number') {\r\n            return;\r\n        }\r\n        Native.callUIFunction(this, 'scrollToContentOffset', [posX, posY, needAnimation]);\r\n    }\r\n}\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nclass DocumentNode extends ViewNode {\r\n    constructor() {\r\n        super();\r\n        this.documentElement = new ElementNode('document');\r\n    }\r\n    static createComment(text) {\r\n        return new CommentNode(text);\r\n    }\r\n    static createElement(tagName) {\r\n        switch (tagName) {\r\n            case 'input':\r\n            case 'textarea':\r\n                return new InputNode(tagName);\r\n            case 'ul':\r\n                return new ListNode(tagName);\r\n            default:\r\n                return new ElementNode(tagName);\r\n        }\r\n    }\r\n    static createElementNS(namespace, tagName) {\r\n        return new ElementNode(`${namespace}:${tagName}`);\r\n    }\r\n    static createTextNode(text) {\r\n        return new TextNode(text);\r\n    }\r\n    static createEvent(eventName) {\r\n        return new Event(eventName);\r\n    }\r\n}\n\n/*  */\nvar ref = {\n  create(_, vnode) {\n    registerRef(vnode);\n  },\n  update(oldVnode, vnode) {\n    if (oldVnode.data.ref !== vnode.data.ref) {\n      registerRef(oldVnode, true);\n      registerRef(vnode);\n    }\n  },\n  destroy(vnode) {\n    registerRef(vnode, true);\n  }\n};\nfunction registerRef(vnode, isRemoval) {\n  const key = vnode.data.ref;\n  if (!isDef(key)) return;\n  const vm = vnode.context;\n  const ref = vnode.componentInstance || vnode.elm;\n  const refs = vm.$refs;\n  if (isRemoval) {\n    if (Array.isArray(refs[key])) {\n      remove$2(refs[key], ref);\n    } else if (refs[key] === ref) {\n      refs[key] = undefined;\n    }\n  } else {\n    if (vnode.data.refInFor) {\n      if (!Array.isArray(refs[key])) {\n        refs[key] = [ref];\n      } else if (refs[key].indexOf(ref) < 0) {\n        // $flow-disable-line\n        refs[key].push(ref);\n      }\n    } else {\n      refs[key] = ref;\n    }\n  }\n}\n\n/**\n * Virtual DOM patching algorithm based on Snabbdom by\n * Simon Friis Vindum (@paldepind)\n * Licensed under the MIT License\n * https://github.com/paldepind/snabbdom/blob/master/LICENSE\n *\n * modified by Evan You (@yyx990803)\n *\n * Not type-checking this because this file is perf-critical and the cost\n * of making flow understand it is not worth it.\n */\nconst emptyNode = new VNode('', {}, []);\nconst hooks = ['create', 'activate', 'update', 'remove', 'destroy'];\nfunction sameVnode(a, b) {\n  return a.key === b.key && a.asyncFactory === b.asyncFactory && (a.tag === b.tag && a.isComment === b.isComment && isDef(a.data) === isDef(b.data) && sameInputType(a, b) || isTrue(a.isAsyncPlaceholder) && isUndef(b.asyncFactory.error));\n}\nfunction sameInputType(a, b) {\n  if (a.tag !== 'input') return true;\n  let i;\n  const typeA = isDef(i = a.data) && isDef(i = i.attrs) && i.type;\n  const typeB = isDef(i = b.data) && isDef(i = i.attrs) && i.type;\n  return typeA === typeB || isTextInputType(typeA) && isTextInputType(typeB);\n}\nfunction createKeyToOldIdx(children, beginIdx, endIdx) {\n  let i, key;\n  const map = {};\n  for (i = beginIdx; i <= endIdx; ++i) {\n    key = children[i].key;\n    if (isDef(key)) map[key] = i;\n  }\n  return map;\n}\nfunction createPatchFunction(backend) {\n  let i, j;\n  const cbs = {};\n  const {\n    modules,\n    nodeOps\n  } = backend;\n  for (i = 0; i < hooks.length; ++i) {\n    cbs[hooks[i]] = [];\n    for (j = 0; j < modules.length; ++j) {\n      if (isDef(modules[j][hooks[i]])) {\n        cbs[hooks[i]].push(modules[j][hooks[i]]);\n      }\n    }\n  }\n  function emptyNodeAt(elm) {\n    return new VNode(nodeOps.tagName(elm).toLowerCase(), {}, [], undefined, elm);\n  }\n  function createRmCb(childElm, listeners) {\n    function remove() {\n      if (--remove.listeners === 0) {\n        removeNode(childElm);\n      }\n    }\n    remove.listeners = listeners;\n    return remove;\n  }\n  function removeNode(el) {\n    const parent = nodeOps.parentNode(el);\n    // element may have already been removed due to v-html / v-text\n    if (isDef(parent)) {\n      nodeOps.removeChild(parent, el);\n    }\n  }\n  function isUnknownElement(vnode, inVPre) {\n    return !inVPre && !vnode.ns && !(config.ignoredElements.length && config.ignoredElements.some(ignore => {\n      return isRegExp(ignore) ? ignore.test(vnode.tag) : ignore === vnode.tag;\n    })) && config.isUnknownElement(vnode.tag);\n  }\n  let creatingElmInVPre = 0;\n  function createElm(vnode, insertedVnodeQueue, parentElm, refElm, nested, ownerArray, index) {\n    if (isDef(vnode.elm) && isDef(ownerArray)) {\n      // This vnode was used in a previous render!\n      // now it's used as a new node, overwriting its elm would cause\n      // potential patch errors down the road when it's used as an insertion\n      // reference node. Instead, we clone the node on-demand before creating\n      // associated DOM element for it.\n      vnode = ownerArray[index] = cloneVNode(vnode);\n    }\n    vnode.isRootInsert = !nested; // for transition enter check\n    if (createComponent(vnode, insertedVnodeQueue, parentElm, refElm)) {\n      return;\n    }\n    const data = vnode.data;\n    const children = vnode.children;\n    const tag = vnode.tag;\n    if (isDef(tag)) {\n      if (process.env.NODE_ENV !== 'production') {\n        if (data && data.pre) {\n          creatingElmInVPre++;\n        }\n        if (isUnknownElement(vnode, creatingElmInVPre)) {\n          warn$3('Unknown custom element: <' + tag + '> - did you ' + 'register the component correctly? For recursive components, ' + 'make sure to provide the \"name\" option.', vnode.context);\n        }\n      }\n      vnode.elm = vnode.ns ? nodeOps.createElementNS(vnode.ns, tag) : nodeOps.createElement(tag, vnode);\n      setScope(vnode);\n\n      /* istanbul ignore if */\n      {\n        createChildren(vnode, children, insertedVnodeQueue);\n        if (isDef(data)) {\n          invokeCreateHooks(vnode, insertedVnodeQueue);\n        }\n        insert(parentElm, vnode.elm, refElm);\n      }\n      if (process.env.NODE_ENV !== 'production' && data && data.pre) {\n        creatingElmInVPre--;\n      }\n    } else if (isTrue(vnode.isComment)) {\n      vnode.elm = nodeOps.createComment(vnode.text);\n      insert(parentElm, vnode.elm, refElm);\n    } else {\n      vnode.elm = nodeOps.createTextNode(vnode.text);\n      insert(parentElm, vnode.elm, refElm);\n    }\n  }\n  function createComponent(vnode, insertedVnodeQueue, parentElm, refElm) {\n    let i = vnode.data;\n    if (isDef(i)) {\n      const isReactivated = isDef(vnode.componentInstance) && i.keepAlive;\n      if (isDef(i = i.hook) && isDef(i = i.init)) {\n        i(vnode, false /* hydrating */);\n      }\n      // after calling the init hook, if the vnode is a child component\n      // it should've created a child instance and mounted it. the child\n      // component also has set the placeholder vnode's elm.\n      // in that case we can just return the element and be done.\n      if (isDef(vnode.componentInstance)) {\n        initComponent(vnode, insertedVnodeQueue);\n        insert(parentElm, vnode.elm, refElm);\n        if (isTrue(isReactivated)) {\n          reactivateComponent(vnode, insertedVnodeQueue, parentElm, refElm);\n        }\n        return true;\n      }\n    }\n  }\n  function initComponent(vnode, insertedVnodeQueue) {\n    if (isDef(vnode.data.pendingInsert)) {\n      insertedVnodeQueue.push.apply(insertedVnodeQueue, vnode.data.pendingInsert);\n      vnode.data.pendingInsert = null;\n    }\n    vnode.elm = vnode.componentInstance.$el;\n    if (isPatchable(vnode)) {\n      invokeCreateHooks(vnode, insertedVnodeQueue);\n      setScope(vnode);\n    } else {\n      // empty component root.\n      // skip all element-related modules except for ref (#3455)\n      registerRef(vnode);\n      // make sure to invoke the insert hook\n      insertedVnodeQueue.push(vnode);\n    }\n  }\n  function reactivateComponent(vnode, insertedVnodeQueue, parentElm, refElm) {\n    let i;\n    // hack for #4339: a reactivated component with inner transition\n    // does not trigger because the inner node's created hooks are not called\n    // again. It's not ideal to involve module-specific logic in here but\n    // there doesn't seem to be a better way to do it.\n    let innerNode = vnode;\n    while (innerNode.componentInstance) {\n      innerNode = innerNode.componentInstance._vnode;\n      if (isDef(i = innerNode.data) && isDef(i = i.transition)) {\n        for (i = 0; i < cbs.activate.length; ++i) {\n          cbs.activate[i](emptyNode, innerNode);\n        }\n        insertedVnodeQueue.push(innerNode);\n        break;\n      }\n    }\n    // unlike a newly created component,\n    // a reactivated keep-alive component doesn't insert itself\n    insert(parentElm, vnode.elm, refElm);\n  }\n  function insert(parent, elm, ref) {\n    if (isDef(parent)) {\n      if (isDef(ref)) {\n        if (nodeOps.parentNode(ref) === parent) {\n          nodeOps.insertBefore(parent, elm, ref);\n        }\n      } else {\n        nodeOps.appendChild(parent, elm);\n      }\n    }\n  }\n  function createChildren(vnode, children, insertedVnodeQueue) {\n    if (Array.isArray(children)) {\n      if (process.env.NODE_ENV !== 'production') {\n        checkDuplicateKeys(children);\n      }\n      for (let i = 0; i < children.length; ++i) {\n        createElm(children[i], insertedVnodeQueue, vnode.elm, null, true, children, i);\n      }\n    } else if (isPrimitive(vnode.text)) {\n      nodeOps.appendChild(vnode.elm, nodeOps.createTextNode(String(vnode.text)));\n    }\n  }\n  function isPatchable(vnode) {\n    while (vnode.componentInstance) {\n      vnode = vnode.componentInstance._vnode;\n    }\n    return isDef(vnode.tag);\n  }\n  function invokeCreateHooks(vnode, insertedVnodeQueue) {\n    for (let i = 0; i < cbs.create.length; ++i) {\n      cbs.create[i](emptyNode, vnode);\n    }\n    i = vnode.data.hook; // Reuse variable\n    if (isDef(i)) {\n      if (isDef(i.create)) i.create(emptyNode, vnode);\n      if (isDef(i.insert)) insertedVnodeQueue.push(vnode);\n    }\n  }\n\n  // set scope id attribute for scoped CSS.\n  // this is implemented as a special case to avoid the overhead\n  // of going through the normal attribute patching process.\n  function setScope(vnode) {\n    let i;\n    if (isDef(i = vnode.fnScopeId)) {\n      nodeOps.setStyleScope(vnode.elm, i);\n    } else {\n      let ancestor = vnode;\n      while (ancestor) {\n        if (isDef(i = ancestor.context) && isDef(i = i.$options._scopeId)) {\n          nodeOps.setStyleScope(vnode.elm, i);\n        }\n        ancestor = ancestor.parent;\n      }\n    }\n    // for slot content they should also get the scopeId from the host instance.\n    if (isDef(i = activeInstance) && i !== vnode.context && i !== vnode.fnContext && isDef(i = i.$options._scopeId)) {\n      nodeOps.setStyleScope(vnode.elm, i);\n    }\n  }\n  function addVnodes(parentElm, refElm, vnodes, startIdx, endIdx, insertedVnodeQueue) {\n    for (; startIdx <= endIdx; ++startIdx) {\n      createElm(vnodes[startIdx], insertedVnodeQueue, parentElm, refElm, false, vnodes, startIdx);\n    }\n  }\n  function invokeDestroyHook(vnode) {\n    let i, j;\n    const data = vnode.data;\n    if (isDef(data)) {\n      if (isDef(i = data.hook) && isDef(i = i.destroy)) i(vnode);\n      for (i = 0; i < cbs.destroy.length; ++i) cbs.destroy[i](vnode);\n    }\n    if (isDef(i = vnode.children)) {\n      for (j = 0; j < vnode.children.length; ++j) {\n        invokeDestroyHook(vnode.children[j]);\n      }\n    }\n  }\n  function removeVnodes(vnodes, startIdx, endIdx) {\n    for (; startIdx <= endIdx; ++startIdx) {\n      const ch = vnodes[startIdx];\n      if (isDef(ch)) {\n        if (isDef(ch.tag)) {\n          removeAndInvokeRemoveHook(ch);\n          invokeDestroyHook(ch);\n        } else {\n          // Text node\n          removeNode(ch.elm);\n        }\n      }\n    }\n  }\n  function removeAndInvokeRemoveHook(vnode, rm) {\n    if (isDef(rm) || isDef(vnode.data)) {\n      let i;\n      const listeners = cbs.remove.length + 1;\n      if (isDef(rm)) {\n        // we have a recursively passed down rm callback\n        // increase the listeners count\n        rm.listeners += listeners;\n      } else {\n        // directly removing\n        rm = createRmCb(vnode.elm, listeners);\n      }\n      // recursively invoke hooks on child component root node\n      if (isDef(i = vnode.componentInstance) && isDef(i = i._vnode) && isDef(i.data)) {\n        removeAndInvokeRemoveHook(i, rm);\n      }\n      for (i = 0; i < cbs.remove.length; ++i) {\n        cbs.remove[i](vnode, rm);\n      }\n      if (isDef(i = vnode.data.hook) && isDef(i = i.remove)) {\n        i(vnode, rm);\n      } else {\n        rm();\n      }\n    } else {\n      removeNode(vnode.elm);\n    }\n  }\n  function updateChildren(parentElm, oldCh, newCh, insertedVnodeQueue, removeOnly) {\n    let oldStartIdx = 0;\n    let newStartIdx = 0;\n    let oldEndIdx = oldCh.length - 1;\n    let oldStartVnode = oldCh[0];\n    let oldEndVnode = oldCh[oldEndIdx];\n    let newEndIdx = newCh.length - 1;\n    let newStartVnode = newCh[0];\n    let newEndVnode = newCh[newEndIdx];\n    let oldKeyToIdx, idxInOld, vnodeToMove, refElm;\n\n    // removeOnly is a special flag used only by <transition-group>\n    // to ensure removed elements stay in correct relative positions\n    // during leaving transitions\n    const canMove = !removeOnly;\n    if (process.env.NODE_ENV !== 'production') {\n      checkDuplicateKeys(newCh);\n    }\n    while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {\n      if (isUndef(oldStartVnode)) {\n        oldStartVnode = oldCh[++oldStartIdx]; // Vnode has been moved left\n      } else if (isUndef(oldEndVnode)) {\n        oldEndVnode = oldCh[--oldEndIdx];\n      } else if (sameVnode(oldStartVnode, newStartVnode)) {\n        patchVnode(oldStartVnode, newStartVnode, insertedVnodeQueue, newCh, newStartIdx);\n        oldStartVnode = oldCh[++oldStartIdx];\n        newStartVnode = newCh[++newStartIdx];\n      } else if (sameVnode(oldEndVnode, newEndVnode)) {\n        patchVnode(oldEndVnode, newEndVnode, insertedVnodeQueue, newCh, newEndIdx);\n        oldEndVnode = oldCh[--oldEndIdx];\n        newEndVnode = newCh[--newEndIdx];\n      } else if (sameVnode(oldStartVnode, newEndVnode)) {\n        // Vnode moved right\n        patchVnode(oldStartVnode, newEndVnode, insertedVnodeQueue, newCh, newEndIdx);\n        canMove && nodeOps.insertBefore(parentElm, oldStartVnode.elm, nodeOps.nextSibling(oldEndVnode.elm));\n        oldStartVnode = oldCh[++oldStartIdx];\n        newEndVnode = newCh[--newEndIdx];\n      } else if (sameVnode(oldEndVnode, newStartVnode)) {\n        // Vnode moved left\n        patchVnode(oldEndVnode, newStartVnode, insertedVnodeQueue, newCh, newStartIdx);\n        canMove && nodeOps.insertBefore(parentElm, oldEndVnode.elm, oldStartVnode.elm);\n        oldEndVnode = oldCh[--oldEndIdx];\n        newStartVnode = newCh[++newStartIdx];\n      } else {\n        if (isUndef(oldKeyToIdx)) oldKeyToIdx = createKeyToOldIdx(oldCh, oldStartIdx, oldEndIdx);\n        idxInOld = isDef(newStartVnode.key) ? oldKeyToIdx[newStartVnode.key] : findIdxInOld(newStartVnode, oldCh, oldStartIdx, oldEndIdx);\n        if (isUndef(idxInOld)) {\n          // New element\n          createElm(newStartVnode, insertedVnodeQueue, parentElm, oldStartVnode.elm, false, newCh, newStartIdx);\n        } else {\n          vnodeToMove = oldCh[idxInOld];\n          if (sameVnode(vnodeToMove, newStartVnode)) {\n            patchVnode(vnodeToMove, newStartVnode, insertedVnodeQueue, newCh, newStartIdx);\n            oldCh[idxInOld] = undefined;\n            canMove && nodeOps.insertBefore(parentElm, vnodeToMove.elm, oldStartVnode.elm);\n          } else {\n            // same key but different element. treat as new element\n            createElm(newStartVnode, insertedVnodeQueue, parentElm, oldStartVnode.elm, false, newCh, newStartIdx);\n          }\n        }\n        newStartVnode = newCh[++newStartIdx];\n      }\n    }\n    if (oldStartIdx > oldEndIdx) {\n      refElm = isUndef(newCh[newEndIdx + 1]) ? null : newCh[newEndIdx + 1].elm;\n      addVnodes(parentElm, refElm, newCh, newStartIdx, newEndIdx, insertedVnodeQueue);\n    } else if (newStartIdx > newEndIdx) {\n      removeVnodes(oldCh, oldStartIdx, oldEndIdx);\n    }\n  }\n  function checkDuplicateKeys(children) {\n    const seenKeys = {};\n    for (let i = 0; i < children.length; i++) {\n      const vnode = children[i];\n      const key = vnode.key;\n      if (isDef(key)) {\n        if (seenKeys[key]) {\n          warn$3(`Duplicate keys detected: '${key}'. This may cause an update error.`, vnode.context);\n        } else {\n          seenKeys[key] = true;\n        }\n      }\n    }\n  }\n  function findIdxInOld(node, oldCh, start, end) {\n    for (let i = start; i < end; i++) {\n      const c = oldCh[i];\n      if (isDef(c) && sameVnode(node, c)) return i;\n    }\n  }\n  function patchVnode(oldVnode, vnode, insertedVnodeQueue, ownerArray, index, removeOnly) {\n    if (oldVnode === vnode) {\n      return;\n    }\n    if (isDef(vnode.elm) && isDef(ownerArray)) {\n      // clone reused vnode\n      vnode = ownerArray[index] = cloneVNode(vnode);\n    }\n    const elm = vnode.elm = oldVnode.elm;\n    if (isTrue(oldVnode.isAsyncPlaceholder)) {\n      if (isDef(vnode.asyncFactory.resolved)) {\n        hydrate(oldVnode.elm, vnode, insertedVnodeQueue);\n      } else {\n        vnode.isAsyncPlaceholder = true;\n      }\n      return;\n    }\n\n    // reuse element for static trees.\n    // note we only do this if the vnode is cloned -\n    // if the new node is not cloned it means the render functions have been\n    // reset by the hot-reload-api and we need to do a proper re-render.\n    if (isTrue(vnode.isStatic) && isTrue(oldVnode.isStatic) && vnode.key === oldVnode.key && (isTrue(vnode.isCloned) || isTrue(vnode.isOnce))) {\n      vnode.componentInstance = oldVnode.componentInstance;\n      return;\n    }\n    let i;\n    const data = vnode.data;\n    if (isDef(data) && isDef(i = data.hook) && isDef(i = i.prepatch)) {\n      i(oldVnode, vnode);\n    }\n    const oldCh = oldVnode.children;\n    const ch = vnode.children;\n    if (isDef(data) && isPatchable(vnode)) {\n      for (i = 0; i < cbs.update.length; ++i) cbs.update[i](oldVnode, vnode);\n      if (isDef(i = data.hook) && isDef(i = i.update)) i(oldVnode, vnode);\n    }\n    if (isUndef(vnode.text)) {\n      if (isDef(oldCh) && isDef(ch)) {\n        if (oldCh !== ch) updateChildren(elm, oldCh, ch, insertedVnodeQueue, removeOnly);\n      } else if (isDef(ch)) {\n        if (process.env.NODE_ENV !== 'production') {\n          checkDuplicateKeys(ch);\n        }\n        if (isDef(oldVnode.text)) nodeOps.setTextContent(elm, '');\n        addVnodes(elm, null, ch, 0, ch.length - 1, insertedVnodeQueue);\n      } else if (isDef(oldCh)) {\n        removeVnodes(oldCh, 0, oldCh.length - 1);\n      } else if (isDef(oldVnode.text)) {\n        nodeOps.setTextContent(elm, '');\n      }\n    } else if (oldVnode.text !== vnode.text) {\n      nodeOps.setTextContent(elm, vnode.text);\n    }\n    if (isDef(data)) {\n      if (isDef(i = data.hook) && isDef(i = i.postpatch)) i(oldVnode, vnode);\n    }\n  }\n  function invokeInsertHook(vnode, queue, initial) {\n    // delay insert hooks for component root nodes, invoke them after the\n    // element is really inserted\n    if (isTrue(initial) && isDef(vnode.parent)) {\n      vnode.parent.data.pendingInsert = queue;\n    } else {\n      for (let i = 0; i < queue.length; ++i) {\n        queue[i].data.hook.insert(queue[i]);\n      }\n    }\n  }\n  let hydrationBailed = false;\n  // list of modules that can skip create hook during hydration because they\n  // are already rendered on the client or has no need for initialization\n  // Note: style is excluded because it relies on initial clone for future\n  // deep updates (#7063).\n  const isRenderedModule = makeMap('attrs,class,staticClass,staticStyle,key');\n\n  // Note: this is a browser-only function so we can assume elms are DOM nodes.\n  function hydrate(elm, vnode, insertedVnodeQueue, inVPre) {\n    let i;\n    const {\n      tag,\n      data,\n      children\n    } = vnode;\n    inVPre = inVPre || data && data.pre;\n    vnode.elm = elm;\n    if (isTrue(vnode.isComment) && isDef(vnode.asyncFactory)) {\n      vnode.isAsyncPlaceholder = true;\n      return true;\n    }\n    // assert node match\n    if (process.env.NODE_ENV !== 'production') {\n      if (!assertNodeMatch(elm, vnode, inVPre)) {\n        return false;\n      }\n    }\n    if (isDef(data)) {\n      if (isDef(i = data.hook) && isDef(i = i.init)) i(vnode, true /* hydrating */);\n      if (isDef(i = vnode.componentInstance)) {\n        // child component. it should have hydrated its own tree.\n        initComponent(vnode, insertedVnodeQueue);\n        return true;\n      }\n    }\n    if (isDef(tag)) {\n      if (isDef(children)) {\n        // empty element, allow client to pick up and populate children\n        if (!elm.hasChildNodes()) {\n          createChildren(vnode, children, insertedVnodeQueue);\n        } else {\n          // v-html and domProps: innerHTML\n          if (isDef(i = data) && isDef(i = i.domProps) && isDef(i = i.innerHTML)) {\n            if (i !== elm.innerHTML) {\n              /* istanbul ignore if */\n              if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined' && !hydrationBailed) {\n                hydrationBailed = true;\n                console.warn('Parent: ', elm);\n                console.warn('server innerHTML: ', i);\n                console.warn('client innerHTML: ', elm.innerHTML);\n              }\n              return false;\n            }\n          } else {\n            // iterate and compare children lists\n            let childrenMatch = true;\n            let childNode = elm.firstChild;\n            for (let i = 0; i < children.length; i++) {\n              if (!childNode || !hydrate(childNode, children[i], insertedVnodeQueue, inVPre)) {\n                childrenMatch = false;\n                break;\n              }\n              childNode = childNode.nextSibling;\n            }\n            // if childNode is not null, it means the actual childNodes list is\n            // longer than the virtual children list.\n            if (!childrenMatch || childNode) {\n              /* istanbul ignore if */\n              if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined' && !hydrationBailed) {\n                hydrationBailed = true;\n                console.warn('Parent: ', elm);\n                console.warn('Mismatching childNodes vs. VNodes: ', elm.childNodes, children);\n              }\n              return false;\n            }\n          }\n        }\n      }\n      if (isDef(data)) {\n        let fullInvoke = false;\n        for (const key in data) {\n          if (!isRenderedModule(key)) {\n            fullInvoke = true;\n            invokeCreateHooks(vnode, insertedVnodeQueue);\n            break;\n          }\n        }\n        if (!fullInvoke && data['class']) {\n          // ensure collecting deps for deep class bindings for future updates\n          traverse(data['class']);\n        }\n      }\n    } else if (elm.data !== vnode.text) {\n      elm.data = vnode.text;\n    }\n    return true;\n  }\n  function assertNodeMatch(node, vnode, inVPre) {\n    if (isDef(vnode.tag)) {\n      return vnode.tag.indexOf('vue-component') === 0 || !isUnknownElement(vnode, inVPre) && vnode.tag.toLowerCase() === (node.tagName && node.tagName.toLowerCase());\n    } else {\n      return node.nodeType === (vnode.isComment ? 8 : 3);\n    }\n  }\n  return function patch(oldVnode, vnode, hydrating, removeOnly) {\n    if (isUndef(vnode)) {\n      if (isDef(oldVnode)) invokeDestroyHook(oldVnode);\n      return;\n    }\n    let isInitialPatch = false;\n    const insertedVnodeQueue = [];\n    if (isUndef(oldVnode)) {\n      // empty mount (likely as component), create new root element\n      isInitialPatch = true;\n      createElm(vnode, insertedVnodeQueue);\n    } else {\n      const isRealElement = isDef(oldVnode.nodeType);\n      if (!isRealElement && sameVnode(oldVnode, vnode)) {\n        // patch existing root node\n        patchVnode(oldVnode, vnode, insertedVnodeQueue, null, null, removeOnly);\n      } else {\n        if (isRealElement) {\n          // mounting to a real element\n          // check if this is server-rendered content and if we can perform\n          // a successful hydration.\n          if (oldVnode.nodeType === 1 && oldVnode.hasAttribute(SSR_ATTR)) {\n            oldVnode.removeAttribute(SSR_ATTR);\n            hydrating = true;\n          }\n          if (isTrue(hydrating)) {\n            if (hydrate(oldVnode, vnode, insertedVnodeQueue)) {\n              invokeInsertHook(vnode, insertedVnodeQueue, true);\n              return oldVnode;\n            } else if (process.env.NODE_ENV !== 'production') {\n              warn$3('The client-side rendered virtual DOM tree is not matching ' + 'server-rendered content. This is likely caused by incorrect ' + 'HTML markup, for example nesting block-level elements inside ' + '<p>, or missing <tbody>. Bailing hydration and performing ' + 'full client-side render.');\n            }\n          }\n          // either not server-rendered, or hydration failed.\n          // create an empty node and replace it\n          oldVnode = emptyNodeAt(oldVnode);\n        }\n\n        // replacing existing element\n        const oldElm = oldVnode.elm;\n        const parentElm = nodeOps.parentNode(oldElm);\n\n        // create new node\n        createElm(vnode, insertedVnodeQueue,\n        // extremely rare edge case: do not insert if old element is in a\n        // leaving transition. Only happens when combining transition +\n        // keep-alive + HOCs. (#4590)\n        oldElm._leaveCb ? null : parentElm, nodeOps.nextSibling(oldElm));\n\n        // update parent placeholder node element, recursively\n        if (isDef(vnode.parent)) {\n          let ancestor = vnode.parent;\n          const patchable = isPatchable(vnode);\n          while (ancestor) {\n            for (let i = 0; i < cbs.destroy.length; ++i) {\n              cbs.destroy[i](ancestor);\n            }\n            ancestor.elm = vnode.elm;\n            if (patchable) {\n              for (let i = 0; i < cbs.create.length; ++i) {\n                cbs.create[i](emptyNode, ancestor);\n              }\n              // #6513\n              // invoke insert hooks that may have been merged by create hooks.\n              // e.g. for directives that uses the \"inserted\" hook.\n              const insert = ancestor.data.hook.insert;\n              if (insert.merged) {\n                // start at index 1 to avoid re-invoking component mounted hook\n                for (let i = 1; i < insert.fns.length; i++) {\n                  insert.fns[i]();\n                }\n              }\n            } else {\n              registerRef(ancestor);\n            }\n            ancestor = ancestor.parent;\n          }\n        }\n\n        // destroy old node\n        if (isDef(parentElm)) {\n          removeVnodes([oldVnode], 0, 0);\n        } else if (isDef(oldVnode.tag)) {\n          invokeDestroyHook(oldVnode);\n        }\n      }\n    }\n    invokeInsertHook(vnode, insertedVnodeQueue, isInitialPatch);\n    return vnode.elm;\n  };\n}\n\n/*  */\nvar directives = {\n  create: updateDirectives,\n  update: updateDirectives,\n  destroy: function unbindDirectives(vnode) {\n    updateDirectives(vnode, emptyNode);\n  }\n};\nfunction updateDirectives(oldVnode, vnode) {\n  if (oldVnode.data.directives || vnode.data.directives) {\n    _update(oldVnode, vnode);\n  }\n}\nfunction _update(oldVnode, vnode) {\n  const isCreate = oldVnode === emptyNode;\n  const isDestroy = vnode === emptyNode;\n  const oldDirs = normalizeDirectives(oldVnode.data.directives, oldVnode.context);\n  const newDirs = normalizeDirectives(vnode.data.directives, vnode.context);\n  const dirsWithInsert = [];\n  const dirsWithPostpatch = [];\n  let key, oldDir, dir;\n  for (key in newDirs) {\n    oldDir = oldDirs[key];\n    dir = newDirs[key];\n    if (!oldDir) {\n      // new directive, bind\n      callHook(dir, 'bind', vnode, oldVnode);\n      if (dir.def && dir.def.inserted) {\n        dirsWithInsert.push(dir);\n      }\n    } else {\n      // existing directive, update\n      dir.oldValue = oldDir.value;\n      dir.oldArg = oldDir.arg;\n      callHook(dir, 'update', vnode, oldVnode);\n      if (dir.def && dir.def.componentUpdated) {\n        dirsWithPostpatch.push(dir);\n      }\n    }\n  }\n  if (dirsWithInsert.length) {\n    const callInsert = () => {\n      for (let i = 0; i < dirsWithInsert.length; i++) {\n        callHook(dirsWithInsert[i], 'inserted', vnode, oldVnode);\n      }\n    };\n    if (isCreate) {\n      mergeVNodeHook(vnode, 'insert', callInsert);\n    } else {\n      callInsert();\n    }\n  }\n  if (dirsWithPostpatch.length) {\n    mergeVNodeHook(vnode, 'postpatch', () => {\n      for (let i = 0; i < dirsWithPostpatch.length; i++) {\n        callHook(dirsWithPostpatch[i], 'componentUpdated', vnode, oldVnode);\n      }\n    });\n  }\n  if (!isCreate) {\n    for (key in oldDirs) {\n      if (!newDirs[key]) {\n        // no longer present, unbind\n        callHook(oldDirs[key], 'unbind', oldVnode, oldVnode, isDestroy);\n      }\n    }\n  }\n}\nconst emptyModifiers = Object.create(null);\nfunction normalizeDirectives(dirs, vm) {\n  const res = Object.create(null);\n  if (!dirs) {\n    // $flow-disable-line\n    return res;\n  }\n  let i, dir;\n  for (i = 0; i < dirs.length; i++) {\n    dir = dirs[i];\n    if (!dir.modifiers) {\n      // $flow-disable-line\n      dir.modifiers = emptyModifiers;\n    }\n    res[getRawDirName(dir)] = dir;\n    dir.def = resolveAsset(vm.$options, 'directives', dir.name, true);\n  }\n  // $flow-disable-line\n  return res;\n}\nfunction getRawDirName(dir) {\n  return dir.rawName || `${dir.name}.${Object.keys(dir.modifiers || {}).join('.')}`;\n}\nfunction callHook(dir, hook, vnode, oldVnode, isDestroy) {\n  const fn = dir.def && dir.def[hook];\n  if (fn) {\n    try {\n      fn(vnode.elm, dir, vnode, oldVnode, isDestroy);\n    } catch (e) {\n      handleError(e, vnode.context, `directive ${dir.name} ${hook} hook`);\n    }\n  }\n}\n\nvar baseModules = [ref, directives];\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nfunction updateAttrs(oldVNode, vNode) {\r\n    if (!oldVNode.data.attrs && !vNode.data.attrs) {\r\n        return;\r\n    }\r\n    const updatePayload = {};\r\n    const { elm } = vNode;\r\n    const oldAttrs = oldVNode.data.attrs || {};\r\n    let attrs = vNode.data.attrs || {};\r\n    // clone observed objects, as the user probably wants to mutate it\r\n    if (attrs.__ob__) {\r\n        attrs = extend({}, attrs);\r\n        vNode.data.attrs = attrs;\r\n    }\r\n    Object.keys(oldAttrs).forEach((key) => {\r\n        const oldPropValue = oldAttrs[key];\r\n        const newPropValue = attrs[key];\r\n        if ((oldPropValue !== null && oldPropValue !== undefined)\r\n            && (newPropValue === null || newPropValue === undefined)) {\r\n            updatePayload[key] = undefined;\r\n        }\r\n    });\r\n    Object.keys(attrs).forEach((key) => {\r\n        const oldPropValue = oldAttrs[key];\r\n        const newPropValue = attrs[key];\r\n        if (oldPropValue !== newPropValue) {\r\n            updatePayload[key] = newPropValue;\r\n        }\r\n    });\r\n    Object.keys(updatePayload).forEach((key) => {\r\n        elm.setAttribute(key, updatePayload[key]);\r\n    });\r\n}\r\nfunction setAttrs(vNode, customElem, options = {}) {\r\n    var _a;\r\n    if (!vNode || !vNode.data) {\r\n        return;\r\n    }\r\n    let { elm } = vNode;\r\n    if (customElem) {\r\n        elm = customElem;\r\n    }\r\n    if (!elm)\r\n        return;\r\n    let attrs = ((_a = vNode.data) === null || _a === void 0 ? void 0 : _a.attrs) || {};\r\n    // clone observed objects, as the user probably wants to mutate it\r\n    if (attrs.__ob__) {\r\n        attrs = extend({}, attrs);\r\n        vNode.data.attrs = attrs;\r\n    }\r\n    Object.keys(attrs).forEach((key) => {\r\n        elm.setAttribute(key, attrs[key], { notToNative: !!options.notToNative });\r\n    });\r\n}\r\nvar attrs = {\r\n    create: updateAttrs,\r\n    update: updateAttrs,\r\n};\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nfunction updateClass(oldVNode, vNode) {\r\n    const { elm, data } = vNode;\r\n    const oldData = oldVNode.data;\r\n    if (!data.staticClass\r\n        && !data.class\r\n        && (!oldData || (!oldData.staticClass && !oldData.class))) {\r\n        return;\r\n    }\r\n    let cls = genClassForVnode(vNode);\r\n    // handle transition classes\r\n    const transitionClass = elm._transitionClasses;\r\n    if (transitionClass) {\r\n        cls = concat(cls, stringifyClass(transitionClass));\r\n    }\r\n    // set the class\r\n    if (cls !== elm._prevClass) {\r\n        elm.setAttribute('class', cls);\r\n        elm._prevClass = cls;\r\n    }\r\n}\r\nfunction setClass(vNode, customElem, options = {}) {\r\n    if (!vNode || !vNode.data) {\r\n        return;\r\n    }\r\n    const { data } = vNode;\r\n    if (!data.staticClass && !data.class) {\r\n        return;\r\n    }\r\n    let { elm } = vNode;\r\n    if (customElem) {\r\n        elm = customElem;\r\n    }\r\n    if (!elm)\r\n        return;\r\n    let cls = genClassForVnode(vNode);\r\n    // handle transition classes\r\n    const transitionClass = elm._transitionClasses;\r\n    if (transitionClass) {\r\n        cls = concat(cls, stringifyClass(transitionClass));\r\n    }\r\n    // set the class\r\n    if (cls !== elm._prevClass) {\r\n        elm.setAttribute('class', cls, { notToNative: !!options.notToNative });\r\n        elm._prevClass = cls;\r\n    }\r\n}\r\nvar class_ = {\r\n    create: updateClass,\r\n    update: updateClass,\r\n};\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nlet target;\r\nfunction remove(event, handler, capture, _target) {\r\n    (_target || target).removeEventListener(event);\r\n}\r\n// eslint-disable-next-line no-unused-vars\r\nfunction add(event, handler, capture, passive, params) {\r\n    if (capture) {\r\n        return;\r\n    }\r\n    target.addEventListener(event, handler);\r\n}\r\nfunction createOnceHandler(event, handler, capture) {\r\n    const _target = target; // save current target element in closure\r\n    return function onceHandler() {\r\n        const res = handler(...arguments);\r\n        if (res !== null) {\r\n            remove(event, onceHandler, capture, _target);\r\n        }\r\n    };\r\n}\r\nfunction updateDOMListeners(oldVNode, vNode) {\r\n    if (!oldVNode.data.on && !vNode.data.on) {\r\n        return;\r\n    }\r\n    const on = vNode.data.on || {};\r\n    const oldOn = oldVNode.data.on || {};\r\n    target = vNode.elm;\r\n    updateListeners(on, oldOn, add, remove, createOnceHandler, vNode.context);\r\n}\r\nvar events = {\r\n    create: updateDOMListeners,\r\n    update: updateDOMListeners,\r\n};\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nconst normalize = cached(camelize);\r\nfunction toObject(arr) {\r\n    const res = {};\r\n    for (let i = 0; i < arr.length; i += 1) {\r\n        if (arr[i]) {\r\n            extend(res, arr[i]);\r\n        }\r\n    }\r\n    return res;\r\n}\r\nfunction isStyleExisted(oldVNode, vNode) {\r\n    if (!oldVNode.data && !vNode.data) {\r\n        return false;\r\n    }\r\n    if (!oldVNode.data.style\r\n        && !vNode.data.style\r\n        && !oldVNode.data.staticStyle\r\n        && !vNode.data.staticStyle) {\r\n        return false;\r\n    }\r\n    return true;\r\n}\r\nfunction mergeStyle(oldStyle, newStyle) {\r\n    const mergedStyle = {};\r\n    Object.keys(oldStyle).forEach((name) => {\r\n        const oldStyleValue = oldStyle[name];\r\n        const newStyleValue = newStyle[name];\r\n        if (!isNullOrUndefined(oldStyleValue) && isNullOrUndefined(newStyleValue)) {\r\n            mergedStyle[normalize(name)] = undefined;\r\n        }\r\n    });\r\n    Object.keys(newStyle).forEach((name) => {\r\n        const oldStyleValue = oldStyle[name];\r\n        const newStyleValue = newStyle[name];\r\n        if (!isNullOrUndefined(newStyleValue) && newStyleValue !== oldStyleValue) {\r\n            mergedStyle[normalize(name)] = newStyleValue;\r\n        }\r\n    });\r\n    return mergedStyle;\r\n}\r\nfunction patchStyle(oldVNode, vNode) {\r\n    if (!vNode.elm || !isStyleExisted(oldVNode, vNode))\r\n        return;\r\n    // get static style, i.e. style defined in the component, style=\"background-color: red\"\r\n    const oldStaticStyle = oldVNode.data.staticStyle || {};\r\n    const newStaticStyle = vNode.data.staticStyle || {};\r\n    const batchedStaticStyle = mergeStyle(oldStaticStyle, newStaticStyle);\r\n    // get dynamic style\r\n    const oldStyle = oldVNode.data.style || {};\r\n    let style = vNode.data.style || {};\r\n    const needClone = style.__ob__;\r\n    // handle array syntax\r\n    if (Array.isArray(style)) {\r\n        style = toObject(style);\r\n        vNode.data.style = style;\r\n    }\r\n    // clone the style for future updates,\r\n    // in case the user mutates the style object in-place.\r\n    if (needClone) {\r\n        style = extend({}, style);\r\n        vNode.data.style = style;\r\n    }\r\n    const batchedStyle = mergeStyle(oldStyle, style);\r\n    // set merged styles\r\n    vNode.elm.setStyles({ ...batchedStaticStyle, ...batchedStyle });\r\n}\r\nfunction setStyle(vNode, customElem, options = {}) {\r\n    if (!vNode || !vNode.data) {\r\n        return;\r\n    }\r\n    let { elm } = vNode;\r\n    if (customElem) {\r\n        elm = customElem;\r\n    }\r\n    if (!elm)\r\n        return;\r\n    const { staticStyle } = vNode.data;\r\n    if (staticStyle) {\r\n        Object.keys(staticStyle).forEach((name) => {\r\n            const value = staticStyle[name];\r\n            if (value) {\r\n                elm.setStyle(normalize(name), value, !!options.notToNative);\r\n            }\r\n        });\r\n    }\r\n    let { style } = vNode.data;\r\n    if (style) {\r\n        const needClone = style.__ob__;\r\n        // handle array syntax\r\n        if (Array.isArray(style)) {\r\n            style = toObject(style);\r\n            vNode.data.style = style;\r\n        }\r\n        // clone the style for future updates,\r\n        // in case the user mutates the style object in-place.\r\n        if (needClone) {\r\n            style = extend({}, style);\r\n            vNode.data.style = style;\r\n        }\r\n        // Then set the new styles.\r\n        Object.keys(style).forEach((name) => {\r\n            elm.setStyle(normalize(name), style[name], !!options.notToNative);\r\n        });\r\n    }\r\n}\r\nvar style = {\r\n    create: patchStyle,\r\n    update: patchStyle,\r\n};\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nvar platformModules = [attrs, class_, events, style];\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nconst namespaceMap = {};\r\nfunction setRootViewAttr(elm, vnode) {\r\n    // If it is root container, Vue would not call createElement, which resulted in attributes missed to set.\r\n    // So set root view attributes explicitly.\r\n    let isRootView = false;\r\n    if (elm.nodeId === ROOT_VIEW_ID$1) {\r\n        isRootView = true;\r\n    }\r\n    if (isRootView) {\r\n        setAttrs(vnode, elm, { notToNative: true });\r\n        setStyle(vnode, elm, { notToNative: true });\r\n        setClass(vnode, elm, { notToNative: true });\r\n    }\r\n}\r\nfunction createElement(name, vnode) {\r\n    const elm = DocumentNode.createElement(name);\r\n    setRootViewAttr(elm, vnode);\r\n    return elm;\r\n}\r\nfunction createElementNS(namespace, name) {\r\n    return DocumentNode.createElementNS(namespace, name);\r\n}\r\nfunction createTextNode(text) {\r\n    return DocumentNode.createTextNode(text);\r\n}\r\nfunction createComment(text) {\r\n    return DocumentNode.createComment(text);\r\n}\r\nfunction insertBefore(pNode, newNode, referenceNode) {\r\n    if (pNode.childNodes.indexOf(newNode) >= 0) {\r\n        // move it if the node has existed\r\n        pNode.moveChild(newNode, referenceNode);\r\n    }\r\n    else {\r\n        pNode.insertBefore(newNode, referenceNode);\r\n    }\r\n}\r\nfunction removeChild(node, child) {\r\n    node.removeChild(child);\r\n    unCacheNodeOnIdle(child);\r\n}\r\nfunction appendChild(node, child) {\r\n    node.appendChild(child);\r\n}\r\nfunction parentNode(node) {\r\n    return node.parentNode;\r\n}\r\nfunction nextSibling(node) {\r\n    return node.nextSibling;\r\n}\r\nfunction tagName(elementNode) {\r\n    return elementNode.tagName;\r\n}\r\nfunction setTextContent(node, text) {\r\n    node.setText(text);\r\n}\r\nfunction setAttribute(node, key, val) {\r\n    node.setAttribute(key, val);\r\n}\r\nfunction setStyleScope(node, styleScopeId) {\r\n    // Just ignore it so far.\r\n    node.setStyleScope(styleScopeId);\r\n}\n\nvar nodeOps = /*#__PURE__*/Object.freeze({\n  __proto__: null,\n  namespaceMap: namespaceMap,\n  createElement: createElement,\n  createElementNS: createElementNS,\n  createTextNode: createTextNode,\n  createComment: createComment,\n  insertBefore: insertBefore,\n  removeChild: removeChild,\n  appendChild: appendChild,\n  parentNode: parentNode,\n  nextSibling: nextSibling,\n  tagName: tagName,\n  setTextContent: setTextContent,\n  setAttribute: setAttribute,\n  setStyleScope: setStyleScope\n});\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nconst modules = platformModules.concat(baseModules);\r\nconst patch = createPatchFunction({\r\n    nodeOps,\r\n    modules,\r\n});\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nfunction drawStatusBar(appOptions = {}) {\r\n    const { iPhone } = appOptions;\r\n    let statusBarOpts = {};\r\n    if (iPhone === null || iPhone === void 0 ? void 0 : iPhone.statusBar) {\r\n        statusBarOpts = iPhone.statusBar;\r\n    }\r\n    if (statusBarOpts.disabled) {\r\n        return null;\r\n    }\r\n    const statusBar = new ElementNode('div');\r\n    const { statusBarHeight } = Native.Dimensions.screen;\r\n    // Initial status bar\r\n    if (Native.screenIsVertical) {\r\n        statusBar.setStyle('height', statusBarHeight);\r\n    }\r\n    else {\r\n        statusBar.setStyle('height', 0);\r\n    }\r\n    // Set safe area background color\r\n    let backgroundColor = 4282431619; // Vue green\r\n    // FIXME: Use Number.isInteger to check backgroundColor type.\r\n    if (typeof statusBarOpts.backgroundColor === 'number') {\r\n        ({ backgroundColor } = statusBarOpts);\r\n    }\r\n    statusBar.setStyle('backgroundColor', backgroundColor);\r\n    // Set safe area background image if defined\r\n    if (typeof statusBarOpts.backgroundImage === 'string') {\r\n        const statusBarImage = new ElementNode('img');\r\n        statusBarImage.setStyle('width', Native.Dimensions.screen.width);\r\n        statusBarImage.setStyle('height', statusBarHeight);\r\n        statusBarImage.setAttribute('src', appOptions.statusBarOpts.backgroundImage);\r\n        statusBar.appendChild(statusBarImage);\r\n    }\r\n    // Listen the screen rotate event\r\n    statusBar.addEventListener('layout', () => {\r\n        if (Native.screenIsVertical) {\r\n            statusBar.setStyle('height', statusBarHeight);\r\n        }\r\n        else {\r\n            statusBar.setStyle('height', 0);\r\n        }\r\n    });\r\n    return statusBar;\r\n}\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nfunction androidUpdate(el, value, oldValue) {\r\n    if (value !== oldValue) {\r\n        el.setAttribute('defaultValue', value, { textUpdate: true });\r\n    }\r\n}\r\nfunction iOSUpdate(el, value) {\r\n    if (value !== el.attributes.defaultValue) {\r\n        el.attributes.defaultValue = value;\r\n        el.setAttribute('text', value, { textUpdate: true });\r\n    }\r\n}\r\n// Set the default update to android.\r\nlet update = androidUpdate;\r\nconst model = {\r\n    inserted(el, binding) {\r\n        // Update the specific platform update function.\r\n        if (Native.Platform === 'ios' && update !== iOSUpdate) {\r\n            update = iOSUpdate;\r\n        }\r\n        if (el.meta.component.name === 'TextInput') {\r\n            el._vModifiers = binding.modifiers;\r\n            // Initial value\r\n            el.attributes.defaultValue = binding.value;\r\n            // Binding event when typing\r\n            if (!binding.modifiers.lazy) {\r\n                el.addEventListener('change', ({ value }) => {\r\n                    const event = new Event('input');\r\n                    event.value = value;\r\n                    el.dispatchEvent(event);\r\n                });\r\n            }\r\n        }\r\n    },\r\n    update(el, { value, oldValue, }) {\r\n        el.value = value;\r\n        update(el, value, oldValue);\r\n    },\r\n};\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n/* eslint-disable no-underscore-dangle */\r\n/* eslint-disable no-param-reassign */\r\nfunction toggle(el, value, vNode, originalDisplay) {\r\n    if (value) {\r\n        vNode.data.show = true;\r\n        el.setStyle('display', originalDisplay);\r\n    }\r\n    else {\r\n        el.setStyle('display', 'none');\r\n    }\r\n}\r\nconst show = {\r\n    bind(el, { value, }, vNode) {\r\n        // Set the display to 'block' when undefined\r\n        if (el.style.display === undefined) {\r\n            el.style.display = 'block';\r\n        }\r\n        const originalDisplay = el.style.display === 'none' ? '' : el.style.display;\r\n        el.__vOriginalDisplay = originalDisplay;\r\n        toggle(el, value, vNode, originalDisplay);\r\n    },\r\n    update(el, { value, oldValue, }, vNode) {\r\n        if (!value === !oldValue) {\r\n            return;\r\n        }\r\n        toggle(el, value, vNode, el.__vOriginalDisplay);\r\n    },\r\n    unbind(el, binding, vNode, oldVNode, isDestroy) {\r\n        if (!isDestroy) {\r\n            el.style.display = el.__vOriginalDisplay;\r\n        }\r\n    },\r\n};\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\n\nvar platformDirectives = /*#__PURE__*/Object.freeze({\n  __proto__: null,\n  model: model,\n  show: show\n});\n\n/* eslint-disable @typescript-eslint/no-this-alias */\r\nconst LOG_TYPE = ['%c[Hippy-Vue \"3.3.2\"]%c', 'color: #4fc08d; font-weight: bold', 'color: auto; font-weight: auto'];\r\n// Install document\r\nconst documentNode = new DocumentNode();\r\nVue.$document = documentNode;\r\nVue.prototype.$document = documentNode;\r\n// Install document and event classes\r\nVue.$Document = DocumentNode;\r\nVue.$Event = Event;\r\n// Install platform specific utils\r\nVue.config.mustUseProp = mustUseProp;\r\nVue.config.isReservedTag = isReservedTag;\r\nVue.config.isUnknownElement = isUnknownElement;\r\nVue.compile = compileToFunctions;\r\nVue.registerElement = registerElement;\r\n// Install platform runtime directives & components\r\nextend(Vue.options.directives, platformDirectives);\r\n// install platform patch function\r\nVue.prototype.__patch__ = patch;\r\n// Override $mount for attend the compiler.\r\nVue.prototype.$mount = function $mount(el, hydrating) {\r\n    const options = this.$options;\r\n    // resolve template/el and convert to render function\r\n    if (!options.render) {\r\n        const { template } = options;\r\n        if (template && typeof template !== 'string') {\r\n            warn$3(`invalid template option: ${template}`, this);\r\n            return this;\r\n        }\r\n        if (template) {\r\n            const { render, staticRenderFns } = compileToFunctions(template, {\r\n                delimiters: options.delimiters,\r\n                comments: options.comments,\r\n            }, this);\r\n            options.render = render;\r\n            options.staticRenderFns = staticRenderFns;\r\n        }\r\n    }\r\n    return mountComponent(this, el, hydrating);\r\n};\r\n/**\r\n * Register the Hippy-Vue app to Native.\r\n *\r\n * @param {function} afterCallback - Callback after register completed.\r\n * @param {function} beforeCallback - Callback before register completed.\r\n */\r\nVue.prototype.$start = function $start(afterCallback, beforeCallback) {\r\n    setApp(this);\r\n    // beforeLoadStyle is a hidden option for pre-process\r\n    // the style declaration globally.\r\n    if (isFunction(this.$options.beforeLoadStyle)) {\r\n        setBeforeLoadStyle(this.$options.beforeLoadStyle);\r\n    }\r\n    // register native components into Vue.\r\n    getElementMap().forEach((entry) => {\r\n        Vue.component(entry.meta.component.name, entry.meta.component);\r\n    });\r\n    // Register the entry point into Hippy\r\n    // The callback will be executed when Native trigger loadInstance\r\n    // or runApplication event.\r\n    HippyRegister.regist(this.$options.appName, (superProps) => {\r\n        const { __instanceId__: rootViewId } = superProps;\r\n        this.$options.$superProps = superProps;\r\n        this.$options.rootViewId = rootViewId;\r\n        trace(...LOG_TYPE, 'Start', this.$options.appName, 'with rootViewId', rootViewId, superProps);\r\n        // Destroy the old instance and set the new one when restart the app\r\n        if (this.$el) {\r\n            this.$destroy();\r\n            const AppConstructor = Vue.extend(this.$options);\r\n            const newApp = new AppConstructor(this.$options);\r\n            setApp(newApp);\r\n        }\r\n        // Call the callback before $mount\r\n        if (isFunction(beforeCallback)) {\r\n            beforeCallback(this, superProps);\r\n        }\r\n        // Draw the app.\r\n        this.$mount();\r\n        // Draw the iPhone status bar background.\r\n        // It should execute after $mount, otherwise this.$el will be undefined.\r\n        if (Native.Platform === 'ios') {\r\n            const statusBar = drawStatusBar(this.$options);\r\n            if (statusBar) {\r\n                if (!this.$el.childNodes.length) {\r\n                    this.$el.appendChild(statusBar);\r\n                }\r\n                else {\r\n                    this.$el.insertBefore(statusBar, this.$el.childNodes[0]);\r\n                }\r\n            }\r\n        }\r\n        // Call the callback after $mount\r\n        if (isFunction(afterCallback)) {\r\n            afterCallback(this, superProps);\r\n        }\r\n    });\r\n};\r\n// Override component and extend of avoid built-in component warning.\r\nlet cid = 1;\r\nfunction initProps(Comp) {\r\n    const { props } = Comp.options;\r\n    Object.keys(props).forEach(key => proxy(Comp.prototype, '_props', key));\r\n}\r\nfunction initComputed(Comp) {\r\n    const { computed } = Comp.options;\r\n    Object.keys(computed).forEach(key => defineComputed(Comp.prototype, key, computed[key]));\r\n}\r\n// Override component for avoid built-in component warning.\r\nVue.component = function component(id, definition) {\r\n    if (!definition) {\r\n        return this.options.components[id];\r\n    }\r\n    if (isPlainObject(definition)) {\r\n        definition.name = definition.name || id;\r\n        definition = this.options._base.extend(definition);\r\n    }\r\n    this.options.components[id] = definition;\r\n    return definition;\r\n};\r\n// Override extend for avoid built-in component warning.\r\nVue.extend = function hippyExtend(extendOptions) {\r\n    extendOptions = extendOptions || {};\r\n    const Super = this;\r\n    const SuperId = Super.cid;\r\n    const cachedCtors = extendOptions._Ctor || (extendOptions._Ctor = {});\r\n    if (cachedCtors[SuperId]) {\r\n        return cachedCtors[SuperId];\r\n    }\r\n    const name = extendOptions.name || Super.options.name;\r\n    const Sub = function VueComponent(options) {\r\n        this._init(options);\r\n    };\r\n    Sub.prototype = Object.create(Super.prototype);\r\n    Sub.prototype.constructor = Sub;\r\n    cid += 1;\r\n    Sub.cid = cid;\r\n    Sub.options = mergeOptions(Super.options, extendOptions);\r\n    Sub.super = Super;\r\n    // For props and computed properties, we define the proxy getters on\r\n    // the Vue instances at extension time, on the extended prototype. This\r\n    // avoids Object.defineProperty calls for each instance created.\r\n    if (Sub.options.props) {\r\n        initProps(Sub);\r\n    }\r\n    if (Sub.options.computed) {\r\n        initComputed(Sub);\r\n    }\r\n    // allow further extension/mixin/plugin usage\r\n    Sub.extend = Super.extend;\r\n    Sub.mixin = Super.mixin;\r\n    Sub.use = Super.use;\r\n    // create asset registers, so extended classes\r\n    // can have their private assets too.\r\n    ASSET_TYPES.forEach((type) => {\r\n        Sub[type] = Super[type];\r\n    });\r\n    // enable recursive self-lookup\r\n    if (name) {\r\n        Sub.options.components[name] = Sub;\r\n    }\r\n    // keep a reference to the super options at extension time.\r\n    // later at instantiation we can check if Super's options have\r\n    // been updated.\r\n    Sub.superOptions = Super.options;\r\n    Sub.extendOptions = extendOptions;\r\n    Sub.sealedOptions = extend({}, Sub.options);\r\n    // cache constructor\r\n    cachedCtors[SuperId] = Sub;\r\n    return Sub;\r\n};\r\n// Binding Native Properties\r\nVue.Native = Native;\r\nVue.getApp = getApp;\r\n// Register the built-in elements\r\nVue.use(registerBuiltinElements);\r\nif (config.devtools && devtools) {\r\n    devtools.emit('init', Vue);\r\n}\r\n/*\r\n * used to validate beforeRenderToNative hook\r\n * when ElementNode or ViewNode have breaking changes, add version number to disable\r\n * beforeRenderToNative hook\r\n */\r\nconst BEFORE_RENDER_TO_NATIVE_HOOK_VERSION = 1;\r\nVue.config._setBeforeRenderToNative = (hook, version) => {\r\n    if (isFunction(hook)) {\r\n        if (BEFORE_RENDER_TO_NATIVE_HOOK_VERSION === version) {\r\n            setBeforeRenderToNative(hook);\r\n        }\r\n        else {\r\n            console.error('_setBeforeRenderToNative API had changed, the hook function will be ignored!');\r\n        }\r\n    }\r\n};\r\n// proxy Vue constructor to add Hippy Vue instance to global.__VUE_ROOT_INSTANCES__\r\nconst VueProxy = new Proxy(Vue, {\r\n    construct(Target, args) {\r\n        const vm = new Target(...args);\r\n        if (isDev()) {\r\n            if (!global.__VUE_ROOT_INSTANCES__) {\r\n                global.__VUE_ROOT_INSTANCES__ = [];\r\n            }\r\n            if ((args === null || args === void 0 ? void 0 : args.length) && args[0].appName) {\r\n                global.__VUE_ROOT_INSTANCES__.push(vm);\r\n            }\r\n        }\r\n        return vm;\r\n    },\r\n});\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nconst READY_STATE_CONNECTING = 0;\r\nconst READY_STATE_OPEN = 1;\r\nconst READY_STATE_CLOSING = 2;\r\nconst READY_STATE_CLOSED = 3;\r\nconst WEB_SOCKET_MODULE_NAME = 'websocket';\r\nconst WEB_SOCKET_NATIVE_EVENT = 'hippyWebsocketEvents';\r\nlet app;\r\n/**\r\n * The WebSocket API is an advanced technology that makes it possible to open a two-way\r\n * interactive communication session between the user's browser and a server. With this API,\r\n * you can send messages to a server and receive event-driven responses without having to\r\n * poll the server for a reply.\r\n */\r\nclass WebSocket {\r\n    /**\r\n     * Returns a newly created WebSocket object.\r\n     *\r\n     * @param {string} url - The URL to which to connect; this should be the URL to which the\r\n     *                       WebSocket server will respond.\r\n     * @param {string | string[]} [protocols] - Either a single protocol string or an array\r\n     *                                          of protocol strings. These strings are used to\r\n     *                                          indicate sub-protocols, so that a single server\r\n     *                                          can implement multiple WebSocket sub-protocols\r\n     *                                          (for example, you might want one server to be able\r\n     *                                          to handle different types of interactions depending\r\n     *                                          on the specified protocol).\r\n     *                                          If you don't specify a protocol string, an empty\r\n     *                                          string is assumed.\r\n     * @param {Object} extrasHeaders - Http headers will append to connection.\r\n     */\r\n    constructor(url, protocols, extrasHeaders) {\r\n        // webSocketId\r\n        this.webSocketId = -1;\r\n        app = getApp();\r\n        this.url = url;\r\n        this.readyState = READY_STATE_CONNECTING;\r\n        this.webSocketCallbacks = {};\r\n        this.onWebSocketEvent = this.onWebSocketEvent.bind(this);\r\n        const headers = {\r\n            ...extrasHeaders,\r\n        };\r\n        app.$on(WEB_SOCKET_NATIVE_EVENT, this.onWebSocketEvent);\r\n        if (!url || typeof url !== 'string') {\r\n            throw new TypeError('Invalid WebSocket url');\r\n        }\r\n        if (Array.isArray(protocols) && protocols.length > 0) {\r\n            headers['Sec-WebSocket-Protocol'] = protocols.join(',');\r\n        }\r\n        else if (typeof protocols === 'string') {\r\n            headers['Sec-WebSocket-Protocol'] = protocols;\r\n        }\r\n        const params = {\r\n            headers,\r\n            url,\r\n        };\r\n        Native.callNativeWithPromise(WEB_SOCKET_MODULE_NAME, 'connect', params).then((resp) => {\r\n            if (!resp || resp.code !== 0 || typeof resp.id !== 'number') {\r\n                warn('Fail to create websocket connection', resp);\r\n                return;\r\n            }\r\n            this.webSocketId = resp.id;\r\n        });\r\n    }\r\n    /**\r\n     * Closes the WebSocket connection or connection attempt, if any.\r\n     * If the connection is already CLOSED, this method does nothing.\r\n     *\r\n     * @param {number} [code] - A numeric value indicating the status code explaining\r\n     *                          why the connection is being closed. If this parameter\r\n     *                          is not specified, a default value of 1005 is assumed.\r\n     *                          See the list of status codes of CloseEvent for permitted values.\r\n     * @param {string} [reason] - A human-readable string explaining why the connection\r\n     *                            is closing. This string must be no longer than 123 bytes\r\n     *                            of UTF-8 text (not characters).\r\n     */\r\n    close(code, reason) {\r\n        if (this.readyState !== READY_STATE_OPEN) {\r\n            return;\r\n        }\r\n        this.readyState = READY_STATE_CLOSING;\r\n        Native.callNative(WEB_SOCKET_MODULE_NAME, 'close', {\r\n            id: this.webSocketId,\r\n            code,\r\n            reason,\r\n        });\r\n    }\r\n    /**\r\n     * Enqueues the specified data to be transmitted to the server over the WebSocket connection.\r\n     *\r\n     * @param {string} data - The data to send to the server. Hippy supports string type only.\r\n     */\r\n    send(data) {\r\n        if (this.readyState !== READY_STATE_OPEN) {\r\n            warn('WebSocket is not connected');\r\n            return;\r\n        }\r\n        if (typeof data !== 'string') {\r\n            throw new TypeError(`Unsupported websocket data type: ${typeof data}`);\r\n        }\r\n        Native.callNative(WEB_SOCKET_MODULE_NAME, 'send', {\r\n            id: this.webSocketId,\r\n            data,\r\n        });\r\n    }\r\n    /**\r\n     * Set an EventHandler that is called when the WebSocket connection's readyState changes to OPEN;\r\n     */\r\n    set onopen(callback) {\r\n        this.webSocketCallbacks.onOpen = callback;\r\n    }\r\n    /**\r\n     * Set an EventHandler that is called when the WebSocket connection's readyState\r\n     * changes to CLOSED.\r\n     */\r\n    set onclose(callback) {\r\n        this.webSocketCallbacks.onClose = callback;\r\n    }\r\n    /**\r\n     * Set an EventHandler that is called when a message is received from the server.\r\n     */\r\n    set onerror(callback) {\r\n        this.webSocketCallbacks.onError = callback;\r\n    }\r\n    /**\r\n     * Set an event handler property is a function which gets called when an error\r\n     * occurs on the WebSocket.\r\n     */\r\n    set onmessage(callback) {\r\n        this.webSocketCallbacks.onMessage = callback;\r\n    }\r\n    /**\r\n     * WebSocket events handler from Native.\r\n     *\r\n     * @param {Object} param - Native response.\r\n     */\r\n    onWebSocketEvent(param) {\r\n        if (typeof param !== 'object' || param.id !== this.webSocketId) {\r\n            return;\r\n        }\r\n        const eventType = param.type;\r\n        if (typeof eventType !== 'string') {\r\n            return;\r\n        }\r\n        if (eventType === 'onOpen') {\r\n            this.readyState = READY_STATE_OPEN;\r\n        }\r\n        else if (eventType === 'onClose') {\r\n            this.readyState = READY_STATE_CLOSED;\r\n            app.$off(WEB_SOCKET_NATIVE_EVENT, this.onWebSocketEvent);\r\n        }\r\n        const callback = this.webSocketCallbacks[eventType];\r\n        if (isFunction(callback)) {\r\n            callback(param.data);\r\n        }\r\n    }\r\n}\n\n/*\r\n * Tencent is pleased to support the open source community by making\r\n * Hippy available.\r\n *\r\n * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company.\r\n * All rights reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n// @ts-ignore\r\nglobal.process = global.process || {};\r\nglobal.process.env = global.process.env || {};\r\n// @ts-ignore\r\nglobal.WebSocket = WebSocket;\r\nVueProxy.config.silent = false;\r\nVueProxy.config.trimWhitespace = true;\r\nsetVue(VueProxy);\n\nexport { VueProxy as default };\n"]}