{"dependencies":[{"name":"../PlatformChecker.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":3,"column":0,"index":15},"end":{"line":3,"column":55,"index":70}}],"key":"iJ0YgfbcPgrclB5t1J5j2jedwxA=","exportNames":["*"],"imports":1}},{"name":"./useAnimatedStyle.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":4,"column":0,"index":71},"end":{"line":4,"column":57,"index":128}}],"key":"yHan7VuoBXv02ZWGFJiF2AL1XQw=","exportNames":["*"],"imports":1}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n  'use strict';\n\n  Object.defineProperty(exports, '__esModule', {\n    value: true\n  });\n  Object.defineProperty(exports, \"useAnimatedProps\", {\n    enumerable: true,\n    get: function () {\n      return useAnimatedProps;\n    }\n  });\n  var _PlatformCheckerJs = require(_dependencyMap[0], \"../PlatformChecker.js\");\n  var _useAnimatedStyleJs = require(_dependencyMap[1], \"./useAnimatedStyle.js\");\n  // TODO: we should make sure that when useAP is used we are not assigning styles\n\n  function useAnimatedPropsJS(updater, deps, adapters) {\n    return (0, _useAnimatedStyleJs.useAnimatedStyle)(updater, deps, adapters, true);\n  }\n  const useAnimatedPropsNative = _useAnimatedStyleJs.useAnimatedStyle;\n\n  /**\n   * Lets you create an animated props object which can be animated using shared\n   * values.\n   *\n   * @param updater - A function returning an object with properties you want to\n   *   animate.\n   * @param dependencies - An optional array of dependencies. Only relevant when\n   *   using Reanimated without the Babel plugin on the Web.\n   * @param adapters - An optional function or array of functions allowing to\n   *   adopt prop naming between JS and the native side.\n   * @returns An animated props object which has to be passed to `animatedProps`\n   *   property of an Animated component that you want to animate.\n   * @see https://docs.swmansion.com/react-native-reanimated/docs/core/useAnimatedProps\n   */\n  const useAnimatedProps = (0, _PlatformCheckerJs.shouldBeUseWeb)() ? useAnimatedPropsJS : useAnimatedPropsNative;\n});","lineCount":37,"map":[[2,2,1,0],[2,14,1,12],[4,2,1,13,"Object"],[4,8,1,13],[4,9,1,13,"defineProperty"],[4,23,1,13],[4,24,1,13,"exports"],[4,31,1,13],[5,4,1,13,"value"],[5,9,1,13],[6,2,1,13],[7,2,27,0,"Object"],[7,8,27,0],[7,9,27,0,"defineProperty"],[7,23,27,0],[7,24,27,0,"exports"],[7,31,27,0],[8,4,27,0,"enumerable"],[8,14,27,0],[9,4,27,0,"get"],[9,7,27,0],[9,18,27,0,"get"],[9,19,27,0],[10,6,27,0],[10,13,27,0,"useAnimatedProps"],[10,29,27,0],[11,4,27,0],[12,2,27,0],[13,2,3,0],[13,6,3,0,"_PlatformCheckerJs"],[13,24,3,0],[13,27,3,0,"require"],[13,34,3,0],[13,35,3,0,"_dependencyMap"],[13,49,3,0],[14,2,4,0],[14,6,4,0,"_useAnimatedStyleJs"],[14,25,4,0],[14,28,4,0,"require"],[14,35,4,0],[14,36,4,0,"_dependencyMap"],[14,50,4,0],[15,2,6,0],[17,2,8,0],[17,11,8,9,"useAnimatedPropsJS"],[17,29,8,27,"useAnimatedPropsJS"],[17,30,8,28,"updater"],[17,37,8,35],[17,39,8,37,"deps"],[17,43,8,41],[17,45,8,43,"adapters"],[17,53,8,51],[17,55,8,53],[18,4,9,2],[18,11,9,9],[18,15,9,9,"useAnimatedStyle"],[18,34,9,25],[18,35,9,25,"useAnimatedStyle"],[18,51,9,25],[18,53,9,26,"updater"],[18,60,9,33],[18,62,9,35,"deps"],[18,66,9,39],[18,68,9,41,"adapters"],[18,76,9,49],[18,78,9,51],[18,82,9,55],[18,83,9,56],[19,2,10,0],[20,2,11,0],[20,8,11,6,"useAnimatedPropsNative"],[20,30,11,28],[20,33,11,31,"useAnimatedStyle"],[20,52,11,47],[20,53,11,47,"useAnimatedStyle"],[20,69,11,47],[22,2,13,0],[23,0,14,0],[24,0,15,0],[25,0,16,0],[26,0,17,0],[27,0,18,0],[28,0,19,0],[29,0,20,0],[30,0,21,0],[31,0,22,0],[32,0,23,0],[33,0,24,0],[34,0,25,0],[35,0,26,0],[36,2,27,7],[36,8,27,13,"useAnimatedProps"],[36,24,27,29],[36,27,27,32],[36,31,27,32,"shouldBeUseWeb"],[36,49,27,46],[36,50,27,46,"shouldBeUseWeb"],[36,64,27,46],[36,66,27,47],[36,67,27,48],[36,70,27,51,"useAnimatedPropsJS"],[36,88,27,69],[36,91,27,72,"useAnimatedPropsNative"],[36,113,27,94],[37,0,27,95],[37,3]],"functionMap":{"names":["<global>","useAnimatedPropsJS"],"mappings":"AAA;ACO;CDE"},"hasCjsExports":false},"type":"js/module"}]}