UNPKG

repoweaver

Version:

A GitHub App that skillfully weaves multiple templates together to create and update repositories with intelligent merge strategies

1 lines 3.59 kB
{"ast":null,"code":"'use strict';\n\nimport AnimatedInterpolation from \"./AnimatedInterpolation\";\nimport AnimatedWithChildren from \"./AnimatedWithChildren\";\nclass AnimatedModulo extends AnimatedWithChildren {\n constructor(a, modulus) {\n super();\n this._a = a;\n this._modulus = modulus;\n }\n __makeNative(platformConfig) {\n this._a.__makeNative(platformConfig);\n super.__makeNative(platformConfig);\n }\n __getValue() {\n return (this._a.__getValue() % this._modulus + this._modulus) % this._modulus;\n }\n interpolate(config) {\n return new AnimatedInterpolation(this, config);\n }\n __attach() {\n this._a.__addChild(this);\n }\n __detach() {\n this._a.__removeChild(this);\n super.__detach();\n }\n __getNativeConfig() {\n return {\n type: 'modulus',\n input: this._a.__getNativeTag(),\n modulus: this._modulus\n };\n }\n}\nexport default AnimatedModulo;","map":{"version":3,"names":["AnimatedInterpolation","AnimatedWithChildren","AnimatedModulo","constructor","a","modulus","_a","_modulus","__makeNative","platformConfig","__getValue","interpolate","config","__attach","__addChild","__detach","__removeChild","__getNativeConfig","type","input","__getNativeTag"],"sources":["/Users/pmouli/Documents/GitHub.nosync/boots-strapper/mobile/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\n'use strict';\n\nimport AnimatedInterpolation from './AnimatedInterpolation';\nimport AnimatedWithChildren from './AnimatedWithChildren';\nclass AnimatedModulo extends AnimatedWithChildren {\n constructor(a, modulus) {\n super();\n this._a = a;\n this._modulus = modulus;\n }\n __makeNative(platformConfig) {\n this._a.__makeNative(platformConfig);\n super.__makeNative(platformConfig);\n }\n __getValue() {\n return (this._a.__getValue() % this._modulus + this._modulus) % this._modulus;\n }\n interpolate(config) {\n return new AnimatedInterpolation(this, config);\n }\n __attach() {\n this._a.__addChild(this);\n }\n __detach() {\n this._a.__removeChild(this);\n super.__detach();\n }\n __getNativeConfig() {\n return {\n type: 'modulus',\n input: this._a.__getNativeTag(),\n modulus: this._modulus\n };\n }\n}\nexport default AnimatedModulo;"],"mappings":"AAUA,YAAY;;AAEZ,OAAOA,qBAAqB;AAC5B,OAAOC,oBAAoB;AAC3B,MAAMC,cAAc,SAASD,oBAAoB,CAAC;EAChDE,WAAWA,CAACC,CAAC,EAAEC,OAAO,EAAE;IACtB,KAAK,CAAC,CAAC;IACP,IAAI,CAACC,EAAE,GAAGF,CAAC;IACX,IAAI,CAACG,QAAQ,GAAGF,OAAO;EACzB;EACAG,YAAYA,CAACC,cAAc,EAAE;IAC3B,IAAI,CAACH,EAAE,CAACE,YAAY,CAACC,cAAc,CAAC;IACpC,KAAK,CAACD,YAAY,CAACC,cAAc,CAAC;EACpC;EACAC,UAAUA,CAAA,EAAG;IACX,OAAO,CAAC,IAAI,CAACJ,EAAE,CAACI,UAAU,CAAC,CAAC,GAAG,IAAI,CAACH,QAAQ,GAAG,IAAI,CAACA,QAAQ,IAAI,IAAI,CAACA,QAAQ;EAC/E;EACAI,WAAWA,CAACC,MAAM,EAAE;IAClB,OAAO,IAAIZ,qBAAqB,CAAC,IAAI,EAAEY,MAAM,CAAC;EAChD;EACAC,QAAQA,CAAA,EAAG;IACT,IAAI,CAACP,EAAE,CAACQ,UAAU,CAAC,IAAI,CAAC;EAC1B;EACAC,QAAQA,CAAA,EAAG;IACT,IAAI,CAACT,EAAE,CAACU,aAAa,CAAC,IAAI,CAAC;IAC3B,KAAK,CAACD,QAAQ,CAAC,CAAC;EAClB;EACAE,iBAAiBA,CAAA,EAAG;IAClB,OAAO;MACLC,IAAI,EAAE,SAAS;MACfC,KAAK,EAAE,IAAI,CAACb,EAAE,CAACc,cAAc,CAAC,CAAC;MAC/Bf,OAAO,EAAE,IAAI,CAACE;IAChB,CAAC;EACH;AACF;AACA,eAAeL,cAAc","ignoreList":[]},"metadata":{"hasCjsExports":false},"sourceType":"module","externalDependencies":[]}