{"version":3,"sources":["node_modules\\animated\\lib\\AnimatedMultiplication.js"],"names":["_createClass","defineProperties","target","props","i","length","descriptor","enumerable","configurable","writable","Object","defineProperty","key","Constructor","protoProps","staticProps","prototype","_classCallCheck","instance","TypeError","_possibleConstructorReturn","self","call","ReferenceError","_inherits","subClass","superClass","create","constructor","value","setPrototypeOf","__proto__","AnimatedWithChildren","require","Animated","AnimatedValue","AnimatedInterpolation","Interpolation","AnimatedMultiplication","_AnimatedWithChildren","a","b","_this","getPrototypeOf","_a","_b","_listeners","__getValue","addListener","callback","_this2","_aListener","_bListener","id","guid","removeListener","interpolate","config","__attach","__addChild","__detach","__removeChild","module","exports"],"mappings":";;;;;;;;;;AAUA,aAAa,GAAIA,cAAa,UAAU,CAAC,QAASC,iBAAT,CAA0BC,MAA1B,CAAiCC,KAAjC,CAAuC,CAAC,IAAI,GAAIC,GAAE,CAAV,CAAYA,EAAED,MAAME,MAApB,CAA2BD,GAA3B,CAA+B,CAAC,GAAIE,YAAWH,MAAMC,CAAN,CAAf,CAAwBE,WAAWC,UAAX,CAAsBD,WAAWC,UAAX,EAAuB,KAA7C,CAAmDD,WAAWE,YAAX,CAAwB,IAAxB,CAA6B,GAAG,SAAUF,WAAb,CAAwBA,WAAWG,QAAX,CAAoB,IAApB,CAAyBC,OAAOC,cAAP,CAAsBT,MAAtB,CAA6BI,WAAWM,GAAxC,CAA4CN,UAA5C,EAAyD,CAAC,OAAO,UAASO,WAAT,CAAqBC,UAArB,CAAgCC,WAAhC,CAA4C,CAAC,GAAGD,UAAH,CAAcb,iBAAiBY,YAAYG,SAA7B,CAAuCF,UAAvC,EAAmD,GAAGC,WAAH,CAAed,iBAAiBY,WAAjB,CAA6BE,WAA7B,EAA0C,MAAOF,YAAP,CAAoB,CAAlM,CAAoM,CAA1e,EAAjB,CAA8f,QAASI,gBAAT,CAAyBC,QAAzB,CAAkCL,WAAlC,CAA8C,CAAC,GAAG,EAAEK,mBAAoBL,YAAtB,CAAH,CAAsC,CAA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AAiC;AACjCI,OAAOJ,UAAP,CAAkBlC,GAAlB,EAAuB,CAACiB,MAAMqB,OAAOH,UAAP,EAAP,CAAvB;AACC;AACA,CAJe,CAAhB;AAKC;AACD,GAAIM,IAAGC,MAAP;AACA,KAAKR,UAAL,CAAgBO,EAAhB,EAAoBJ,QAApB;AACA,MAAOI,GAAP;AACC,CApBE,CAJkC,CAwBlC,CAACzC,IAAI,gBAAL,CAAsBiB,MAAM,QAAS0B,eAAT;;AAE/BF,EAF+B,CAE5B;AACH,MAAO,MAAKP,UAAL,CAAgBO,EAAhB,CAAP;AACC,CAJE,CAxBkC,CA4BlC,CAACzC,IAAI,aAAL,CAAmBiB,MAAM,QAAS2B,YAAT;;AAE5BC,MAF4B,CAErB;AACP,MAAO,IAAIrB,sBAAJ,CAA0B,IAA1B,CAA+BC,cAAcV,MAAd,CAAqB8B,MAArB,CAA/B,CAAP;AACC,CAJE,CA5BkC,CAgClC,CAAC7C,IAAI,UAAL,CAAgBiB,MAAM,QAAS6B,SAAT;;AAEzB;AACA,KAAKd,EAAL,CAAQe,UAAR,CAAmB,IAAnB;AACA,KAAKd,EAAL,CAAQc,UAAR,CAAmB,IAAnB;AACC,CALE,CAhCkC,CAqClC,CAAC/C,IAAI,UAAL,CAAgBiB,MAAM,QAAS+B,SAAT;;AAEzB;AACA,KAAKhB,EAAL,CAAQiB,aAAR,CAAsB,IAAtB;AACA,KAAKhB,EAAL,CAAQgB,aAAR,CAAsB,IAAtB;AACC,CALE,CArCkC,CAApC,EA0CI,MAAOvB,uBAAP,CAA+B,CAtDb,CAsDcN,oBAtDd,CAJsB;;;AA6D7C8B,OAAOC,OAAP,CAAezB,sBAAf","file":"AnimatedMultiplication.js","sourceRoot":"d:/Work/Office/react-native-on-web/cli/tmpl/project","sourcesContent":["\n\n\n\n\n\n\n\n\n\n'use strict';var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if(\"value\"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError(\"Cannot call a class as a function\");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");}return call&&(typeof call===\"object\"||typeof call===\"function\")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!==\"function\"&&superClass!==null){throw new TypeError(\"Super expression must either be null or a function, not \"+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}\n\nvar AnimatedWithChildren=require('./AnimatedWithChildren');\nvar Animated=require('./Animated');\nvar AnimatedValue=require('./AnimatedValue');\nvar AnimatedInterpolation=require('./AnimatedInterpolation');\nvar Interpolation=require('./Interpolation');var\n\n\n\nAnimatedMultiplication=function(_AnimatedWithChildren){_inherits(AnimatedMultiplication,_AnimatedWithChildren);\n\n\n\n\n\n\nfunction AnimatedMultiplication(a,b){_classCallCheck(this,AnimatedMultiplication);var _this=_possibleConstructorReturn(this,(AnimatedMultiplication.__proto__||Object.getPrototypeOf(AnimatedMultiplication)).call(this));\n\n_this._a=typeof a==='number'?new AnimatedValue(a):a;\n_this._b=typeof b==='number'?new AnimatedValue(b):b;\n_this._listeners={};return _this;\n}_createClass(AnimatedMultiplication,[{key:'__getValue',value:function __getValue()\n\n{\nreturn this._a.__getValue()*this._b.__getValue();\n}},{key:'addListener',value:function addListener(\n\ncallback){var _this2=this;\nif(!this._aListener&&this._a.addListener){\nthis._aListener=this._a.addListener(function(){\nfor(var key in _this2._listeners){\n_this2._listeners[key]({value:_this2.__getValue()});\n}\n});\n}\nif(!this._bListener&&this._b.addListener){\nthis._bListener=this._b.addListener(function(){\nfor(var key in _this2._listeners){\n_this2._listeners[key]({value:_this2.__getValue()});\n}\n});\n}\nvar id=guid();\nthis._listeners[id]=callback;\nreturn id;\n}},{key:'removeListener',value:function removeListener(\n\nid){\ndelete this._listeners[id];\n}},{key:'interpolate',value:function interpolate(\n\nconfig){\nreturn new AnimatedInterpolation(this,Interpolation.create(config));\n}},{key:'__attach',value:function __attach()\n\n{\nthis._a.__addChild(this);\nthis._b.__addChild(this);\n}},{key:'__detach',value:function __detach()\n\n{\nthis._a.__removeChild(this);\nthis._b.__removeChild(this);\n}}]);return AnimatedMultiplication;}(AnimatedWithChildren);\n\n\nmodule.exports=AnimatedMultiplication;"]}