function set (target, key, val) {
  if (Array.isArray(target) && typeof key === 'number') {
    target.length = Math.max(target.length, key);
    target.splice(key, 1, val);
    return val
  }
  if (hasOwn(target, key)) {
    target[key] = val;
    return val
  }
  var ob = (target ).__ob__;
  if (target._isVue || (ob && ob.vmCount)) {
    process.env.NODE_ENV !== 'production' && warn(
      'Avoid adding reactive properties to a Vue instance or its root $data ' +
      'at runtime - declare it upfront in the data option.'
    );
    return val
  }
  if (!ob) {
    target[key] = val;
    return val
  }
  defineReactive$$1(ob.value, key, val);
  ob.dep.notify();
  return val
}
function set (target, key, val) {
  if (Array.isArray(target) && typeof key === 'number') {
    target.length = Math.max(target.length, key);
    target.splice(key, 1, val);
    return val
  }
  if (hasOwn(target, key)) {
    target[key] = val;
    return val
  }
  var ob = (target ).__ob__;
  if (target._isVue || (ob && ob.vmCount)) {
    process.env.NODE_ENV !== 'production' && warn(
      'Avoid adding reactive properties to a Vue instance or its root $data ' +
      'at runtime - declare it upfront in the data option.'
    );
    return val
  }
  if (!ob) {
    target[key] = val;
    return val
  }
  defineReactive$$1(ob.value, key, val);
  ob.dep.notify();
  return val
}
function set ( target , key , val ) { if ( Array . isArray ( target ) && typeof key === 'number' ) { target . length = Math . max ( target . length , key ) ; target . splice ( key , 1 , val ) ; return val } if ( hasOwn ( target , key ) ) { target [ key ] = val ; return val } var ob = ( target ) . __ob__ ; if ( target . _isVue || ( ob && ob . vmCount ) ) { process . env . NODE_ENV !== 'production' && warn ( 'Avoid adding reactive properties to a Vue instance or its root $data ' + 'at runtime - declare it upfront in the data option.' ) ; return val } if ( ! ob ) { target [ key ] = val ; return val } defineReactive$$1 ( ob . value , key , val ) ; ob . dep . notify ( ) ; return val }
Set a property on an object. Adds the new property and
triggers change notification if the property doesn't
already exist.
Set a property on an object . Adds the new property and triggers change notification if the property doesn t already exist .
Set a value to a property in a target object.