repoweaver
Version:
A GitHub App that skillfully weaves multiple templates together to create and update repositories with intelligent merge strategies
1 lines • 4.31 kB
JSON
{"ast":null,"code":"'use strict';\n\nimport AnimatedInterpolation from \"./AnimatedInterpolation\";\nimport AnimatedValue from \"./AnimatedValue\";\nimport AnimatedWithChildren from \"./AnimatedWithChildren\";\nclass AnimatedSubtraction extends AnimatedWithChildren {\n constructor(a, b) {\n super();\n this._a = typeof a === 'number' ? new AnimatedValue(a) : a;\n this._b = typeof b === 'number' ? new AnimatedValue(b) : b;\n }\n __makeNative(platformConfig) {\n this._a.__makeNative(platformConfig);\n this._b.__makeNative(platformConfig);\n super.__makeNative(platformConfig);\n }\n __getValue() {\n return this._a.__getValue() - this._b.__getValue();\n }\n interpolate(config) {\n return new AnimatedInterpolation(this, config);\n }\n __attach() {\n this._a.__addChild(this);\n this._b.__addChild(this);\n }\n __detach() {\n this._a.__removeChild(this);\n this._b.__removeChild(this);\n super.__detach();\n }\n __getNativeConfig() {\n return {\n type: 'subtraction',\n input: [this._a.__getNativeTag(), this._b.__getNativeTag()]\n };\n }\n}\nexport default AnimatedSubtraction;","map":{"version":3,"names":["AnimatedInterpolation","AnimatedValue","AnimatedWithChildren","AnimatedSubtraction","constructor","a","b","_a","_b","__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/AnimatedSubtraction.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 AnimatedValue from './AnimatedValue';\nimport AnimatedWithChildren from './AnimatedWithChildren';\nclass AnimatedSubtraction extends AnimatedWithChildren {\n constructor(a, b) {\n super();\n this._a = typeof a === 'number' ? new AnimatedValue(a) : a;\n this._b = typeof b === 'number' ? new AnimatedValue(b) : b;\n }\n __makeNative(platformConfig) {\n this._a.__makeNative(platformConfig);\n this._b.__makeNative(platformConfig);\n super.__makeNative(platformConfig);\n }\n __getValue() {\n return this._a.__getValue() - this._b.__getValue();\n }\n interpolate(config) {\n return new AnimatedInterpolation(this, config);\n }\n __attach() {\n this._a.__addChild(this);\n this._b.__addChild(this);\n }\n __detach() {\n this._a.__removeChild(this);\n this._b.__removeChild(this);\n super.__detach();\n }\n __getNativeConfig() {\n return {\n type: 'subtraction',\n input: [this._a.__getNativeTag(), this._b.__getNativeTag()]\n };\n }\n}\nexport default AnimatedSubtraction;"],"mappings":"AAUA,YAAY;;AAEZ,OAAOA,qBAAqB;AAC5B,OAAOC,aAAa;AACpB,OAAOC,oBAAoB;AAC3B,MAAMC,mBAAmB,SAASD,oBAAoB,CAAC;EACrDE,WAAWA,CAACC,CAAC,EAAEC,CAAC,EAAE;IAChB,KAAK,CAAC,CAAC;IACP,IAAI,CAACC,EAAE,GAAG,OAAOF,CAAC,KAAK,QAAQ,GAAG,IAAIJ,aAAa,CAACI,CAAC,CAAC,GAAGA,CAAC;IAC1D,IAAI,CAACG,EAAE,GAAG,OAAOF,CAAC,KAAK,QAAQ,GAAG,IAAIL,aAAa,CAACK,CAAC,CAAC,GAAGA,CAAC;EAC5D;EACAG,YAAYA,CAACC,cAAc,EAAE;IAC3B,IAAI,CAACH,EAAE,CAACE,YAAY,CAACC,cAAc,CAAC;IACpC,IAAI,CAACF,EAAE,CAACC,YAAY,CAACC,cAAc,CAAC;IACpC,KAAK,CAACD,YAAY,CAACC,cAAc,CAAC;EACpC;EACAC,UAAUA,CAAA,EAAG;IACX,OAAO,IAAI,CAACJ,EAAE,CAACI,UAAU,CAAC,CAAC,GAAG,IAAI,CAACH,EAAE,CAACG,UAAU,CAAC,CAAC;EACpD;EACAC,WAAWA,CAACC,MAAM,EAAE;IAClB,OAAO,IAAIb,qBAAqB,CAAC,IAAI,EAAEa,MAAM,CAAC;EAChD;EACAC,QAAQA,CAAA,EAAG;IACT,IAAI,CAACP,EAAE,CAACQ,UAAU,CAAC,IAAI,CAAC;IACxB,IAAI,CAACP,EAAE,CAACO,UAAU,CAAC,IAAI,CAAC;EAC1B;EACAC,QAAQA,CAAA,EAAG;IACT,IAAI,CAACT,EAAE,CAACU,aAAa,CAAC,IAAI,CAAC;IAC3B,IAAI,CAACT,EAAE,CAACS,aAAa,CAAC,IAAI,CAAC;IAC3B,KAAK,CAACD,QAAQ,CAAC,CAAC;EAClB;EACAE,iBAAiBA,CAAA,EAAG;IAClB,OAAO;MACLC,IAAI,EAAE,aAAa;MACnBC,KAAK,EAAE,CAAC,IAAI,CAACb,EAAE,CAACc,cAAc,CAAC,CAAC,EAAE,IAAI,CAACb,EAAE,CAACa,cAAc,CAAC,CAAC;IAC5D,CAAC;EACH;AACF;AACA,eAAelB,mBAAmB","ignoreList":[]},"metadata":{"hasCjsExports":false},"sourceType":"module","externalDependencies":[]}