{"ast":null,"code":"'use strict';\n\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _get from \"@babel/runtime/helpers/get\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\nimport AnimatedInterpolation from \"./AnimatedInterpolation\";\nimport AnimatedNode from \"./AnimatedNode\";\nimport AnimatedWithChildren from \"./AnimatedWithChildren\";\nvar AnimatedModulo = function (_AnimatedWithChildren) {\n _inherits(AnimatedModulo, _AnimatedWithChildren);\n var _super = _createSuper(AnimatedModulo);\n function AnimatedModulo(a, modulus) {\n var _this;\n _classCallCheck(this, AnimatedModulo);\n _this = _super.call(this);\n _this._a = a;\n _this._modulus = modulus;\n return _this;\n }\n _createClass(AnimatedModulo, [{\n key: \"__makeNative\",\n value: function __makeNative() {\n this._a.__makeNative();\n _get(_getPrototypeOf(AnimatedModulo.prototype), \"__makeNative\", this).call(this);\n }\n }, {\n key: \"__getValue\",\n value: function __getValue() {\n return (this._a.__getValue() % this._modulus + this._modulus) % this._modulus;\n }\n }, {\n key: \"interpolate\",\n value: function interpolate(config) {\n return new AnimatedInterpolation(this, config);\n }\n }, {\n key: \"__attach\",\n value: function __attach() {\n this._a.__addChild(this);\n }\n }, {\n key: \"__detach\",\n value: function __detach() {\n this._a.__removeChild(this);\n _get(_getPrototypeOf(AnimatedModulo.prototype), \"__detach\", this).call(this);\n }\n }, {\n key: \"__getNativeConfig\",\n value: function __getNativeConfig() {\n return {\n type: 'modulus',\n input: this._a.__getNativeTag(),\n modulus: this._modulus\n };\n }\n }]);\n return AnimatedModulo;\n}(AnimatedWithChildren);\nexport default AnimatedModulo;","map":{"version":3,"names":["AnimatedInterpolation","AnimatedNode","AnimatedWithChildren","AnimatedModulo","a","modulus","_a","_modulus","__makeNative","__getValue","config","__addChild","__removeChild","type","input","__getNativeTag"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/vendor/react-native/Animated/nodes/AnimatedModulo.js"],"sourcesContent":["/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code 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\nimport AnimatedInterpolation from './AnimatedInterpolation';\nimport AnimatedNode from './AnimatedNode';\nimport AnimatedWithChildren from './AnimatedWithChildren';\n\nclass AnimatedModulo extends AnimatedWithChildren {\n constructor(a, modulus) {\n super();\n this._a = a;\n this._modulus = modulus;\n }\n\n __makeNative() {\n this._a.__makeNative();\n\n super.__makeNative();\n }\n\n __getValue() {\n return (this._a.__getValue() % this._modulus + this._modulus) % this._modulus;\n }\n\n interpolate(config) {\n return new AnimatedInterpolation(this, config);\n }\n\n __attach() {\n this._a.__addChild(this);\n }\n\n __detach() {\n this._a.__removeChild(this);\n\n super.__detach();\n }\n\n __getNativeConfig() {\n return {\n type: 'modulus',\n input: this._a.__getNativeTag(),\n modulus: this._modulus\n };\n }\n\n}\n\nexport default AnimatedModulo;"],"mappings":"AASA,YAAY;;AAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAEb,OAAOA,qBAAqB;AAC5B,OAAOC,YAAY;AACnB,OAAOC,oBAAoB;AAA+B,IAEpDC,cAAc;EAAA;EAAA;EAClB,wBAAYC,CAAC,EAAEC,OAAO,EAAE;IAAA;IAAA;IACtB;IACA,MAAKC,EAAE,GAAGF,CAAC;IACX,MAAKG,QAAQ,GAAGF,OAAO;IAAC;EAC1B;EAAC;IAAA;IAAA,OAED,wBAAe;MACb,IAAI,CAACC,EAAE,CAACE,YAAY,EAAE;MAEtB;IACF;EAAC;IAAA;IAAA,OAED,sBAAa;MACX,OAAO,CAAC,IAAI,CAACF,EAAE,CAACG,UAAU,EAAE,GAAG,IAAI,CAACF,QAAQ,GAAG,IAAI,CAACA,QAAQ,IAAI,IAAI,CAACA,QAAQ;IAC/E;EAAC;IAAA;IAAA,OAED,qBAAYG,MAAM,EAAE;MAClB,OAAO,IAAIV,qBAAqB,CAAC,IAAI,EAAEU,MAAM,CAAC;IAChD;EAAC;IAAA;IAAA,OAED,oBAAW;MACT,IAAI,CAACJ,EAAE,CAACK,UAAU,CAAC,IAAI,CAAC;IAC1B;EAAC;IAAA;IAAA,OAED,oBAAW;MACT,IAAI,CAACL,EAAE,CAACM,aAAa,CAAC,IAAI,CAAC;MAE3B;IACF;EAAC;IAAA;IAAA,OAED,6BAAoB;MAClB,OAAO;QACLC,IAAI,EAAE,SAAS;QACfC,KAAK,EAAE,IAAI,CAACR,EAAE,CAACS,cAAc,EAAE;QAC/BV,OAAO,EAAE,IAAI,CAACE;MAChB,CAAC;IACH;EAAC;EAAA;AAAA,EArC0BL,oBAAoB;AAyCjD,eAAeC,cAAc"},"metadata":{},"sourceType":"module"}