{"ast":null,"code":"'use strict';\n\nfunction _inheritsLoose(subClass, superClass) {\n  subClass.prototype = Object.create(superClass.prototype);\n  subClass.prototype.constructor = subClass;\n\n  _setPrototypeOf(subClass, superClass);\n}\n\nfunction _setPrototypeOf(o, p) {\n  _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n    o.__proto__ = p;\n    return o;\n  };\n\n  return _setPrototypeOf(o, p);\n}\n\nimport AnimatedInterpolation from \"./AnimatedInterpolation\";\nimport AnimatedNode from \"./AnimatedNode\";\nimport AnimatedWithChildren from \"./AnimatedWithChildren\";\n\nvar AnimatedModulo = function (_AnimatedWithChildren) {\n  _inheritsLoose(AnimatedModulo, _AnimatedWithChildren);\n\n  function AnimatedModulo(a, modulus) {\n    var _this;\n\n    _this = _AnimatedWithChildren.call(this) || this;\n    _this._a = a;\n    _this._modulus = modulus;\n    return _this;\n  }\n\n  var _proto = AnimatedModulo.prototype;\n\n  _proto.__makeNative = function __makeNative() {\n    this._a.__makeNative();\n\n    _AnimatedWithChildren.prototype.__makeNative.call(this);\n  };\n\n  _proto.__getValue = function __getValue() {\n    return (this._a.__getValue() % this._modulus + this._modulus) % this._modulus;\n  };\n\n  _proto.interpolate = function interpolate(config) {\n    return new AnimatedInterpolation(this, config);\n  };\n\n  _proto.__attach = function __attach() {\n    this._a.__addChild(this);\n  };\n\n  _proto.__detach = function __detach() {\n    this._a.__removeChild(this);\n\n    _AnimatedWithChildren.prototype.__detach.call(this);\n  };\n\n  _proto.__getNativeConfig = function __getNativeConfig() {\n    return {\n      type: 'modulus',\n      input: this._a.__getNativeTag(),\n      modulus: this._modulus\n    };\n  };\n\n  return AnimatedModulo;\n}(AnimatedWithChildren);\n\nexport default AnimatedModulo;","map":{"version":3,"sources":["/Users/rohitsingh/Documents/projects/new-nativebase-setup/NativeBase/example/node_modules/react-native-web/dist/vendor/react-native/Animated/nodes/AnimatedModulo.js"],"names":["_inheritsLoose","subClass","superClass","prototype","Object","create","constructor","_setPrototypeOf","o","p","setPrototypeOf","__proto__","AnimatedInterpolation","AnimatedNode","AnimatedWithChildren","AnimatedModulo","_AnimatedWithChildren","a","modulus","_this","call","_a","_modulus","_proto","__makeNative","__getValue","interpolate","config","__attach","__addChild","__detach","__removeChild","__getNativeConfig","type","input","__getNativeTag"],"mappings":"AASA;;AAEA,SAASA,cAAT,CAAwBC,QAAxB,EAAkCC,UAAlC,EAA8C;AAAED,EAAAA,QAAQ,CAACE,SAAT,GAAqBC,MAAM,CAACC,MAAP,CAAcH,UAAU,CAACC,SAAzB,CAArB;AAA0DF,EAAAA,QAAQ,CAACE,SAAT,CAAmBG,WAAnB,GAAiCL,QAAjC;;AAA2CM,EAAAA,eAAe,CAACN,QAAD,EAAWC,UAAX,CAAf;AAAwC;;AAE7L,SAASK,eAAT,CAAyBC,CAAzB,EAA4BC,CAA5B,EAA+B;AAAEF,EAAAA,eAAe,GAAGH,MAAM,CAACM,cAAP,IAAyB,SAASH,eAAT,CAAyBC,CAAzB,EAA4BC,CAA5B,EAA+B;AAAED,IAAAA,CAAC,CAACG,SAAF,GAAcF,CAAd;AAAiB,WAAOD,CAAP;AAAW,GAAxG;;AAA0G,SAAOD,eAAe,CAACC,CAAD,EAAIC,CAAJ,CAAtB;AAA+B;;AAE1K,OAAOG,qBAAP;AACA,OAAOC,YAAP;AACA,OAAOC,oBAAP;;AAEA,IAAIC,cAAc,GAAgB,UAAUC,qBAAV,EAAiC;AACjEhB,EAAAA,cAAc,CAACe,cAAD,EAAiBC,qBAAjB,CAAd;;AAEA,WAASD,cAAT,CAAwBE,CAAxB,EAA2BC,OAA3B,EAAoC;AAClC,QAAIC,KAAJ;;AAEAA,IAAAA,KAAK,GAAGH,qBAAqB,CAACI,IAAtB,CAA2B,IAA3B,KAAoC,IAA5C;AACAD,IAAAA,KAAK,CAACE,EAAN,GAAWJ,CAAX;AACAE,IAAAA,KAAK,CAACG,QAAN,GAAiBJ,OAAjB;AACA,WAAOC,KAAP;AACD;;AAED,MAAII,M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is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\n'use strict';\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nimport AnimatedInterpolation from './AnimatedInterpolation';\nimport AnimatedNode from './AnimatedNode';\nimport AnimatedWithChildren from './AnimatedWithChildren';\n\nvar AnimatedModulo = /*#__PURE__*/function (_AnimatedWithChildren) {\n  _inheritsLoose(AnimatedModulo, _AnimatedWithChildren);\n\n  function AnimatedModulo(a, modulus) {\n    var _this;\n\n    _this = _AnimatedWithChildren.call(this) || this;\n    _this._a = a;\n    _this._modulus = modulus;\n    return _this;\n  }\n\n  var _proto = AnimatedModulo.prototype;\n\n  _proto.__makeNative = function __makeNative() {\n    this._a.__makeNative();\n\n    _AnimatedWithChildren.prototype.__makeNative.call(this);\n  };\n\n  _proto.__getValue = function __getValue() {\n    return (this._a.__getValue() % this._modulus + this._modulus) % this._modulus;\n  };\n\n  _proto.interpolate = function interpolate(config) {\n    return new AnimatedInterpolation(this, config);\n  };\n\n  _proto.__attach = function __attach() {\n    this._a.__addChild(this);\n  };\n\n  _proto.__detach = function __detach() {\n    this._a.__removeChild(this);\n\n    _AnimatedWithChildren.prototype.__detach.call(this);\n  };\n\n  _proto.__getNativeConfig = function __getNativeConfig() {\n    return {\n      type: 'modulus',\n      input: this._a.__getNativeTag(),\n      modulus: this._modulus\n    };\n  };\n\n  return AnimatedModulo;\n}(AnimatedWithChildren);\n\nexport default AnimatedModulo;"]},"metadata":{},"sourceType":"module"}