{"ast":null,"code":"\"use strict\";\nexport function forFade({\n  current\n}) {\n  return {\n    sceneStyle: {\n      opacity: current.progress.interpolate({\n        inputRange: [-1, 0, 1],\n        outputRange: [0, 1, 0]\n      })\n    }\n  };\n}\nexport function forShift({\n  current\n}) {\n  return {\n    sceneStyle: {\n      opacity: current.progress.interpolate({\n        inputRange: [-1, 0, 1],\n        outputRange: [0, 1, 0]\n      }),\n      transform: [{\n        translateX: current.progress.interpolate({\n          inputRange: [-1, 0, 1],\n          outputRange: [-50, 0, 50]\n        })\n      }]\n    }\n  };\n}","map":{"version":3,"names":["forFade","current","sceneStyle","opacity","progress","interpolate","inputRange","outputRange","forShift","transform","translateX"],"sources":["/Users/pmouli/Documents/GitHub.nosync/boots-strapper/mobile/node_modules/@react-navigation/bottom-tabs/src/TransitionConfigs/SceneStyleInterpolators.tsx"],"sourcesContent":["import type {\n  BottomTabSceneInterpolatedStyle,\n  BottomTabSceneInterpolationProps,\n} from '../types';\n\n/**\n * Simple cross fade animation\n */\nexport function forFade({\n  current,\n}: BottomTabSceneInterpolationProps): BottomTabSceneInterpolatedStyle {\n  return {\n    sceneStyle: {\n      opacity: current.progress.interpolate({\n        inputRange: [-1, 0, 1],\n        outputRange: [0, 1, 0],\n      }),\n    },\n  };\n}\n\n/**\n * Animation where the screens slightly shift to left/right\n */\nexport function forShift({\n  current,\n}: BottomTabSceneInterpolationProps): BottomTabSceneInterpolatedStyle {\n  return {\n    sceneStyle: {\n      opacity: current.progress.interpolate({\n        inputRange: [-1, 0, 1],\n        outputRange: [0, 1, 0],\n      }),\n      transform: [\n        {\n          translateX: current.progress.interpolate({\n            inputRange: [-1, 0, 1],\n            outputRange: [-50, 0, 50],\n          }),\n        },\n      ],\n    },\n  };\n}\n"],"mappings":";AAQA,OAAO,SAASA,OAAOA,CAAC;EACtBC;AACgC,CAAC,EAAmC;EACpE,OAAO;IACLC,UAAU,EAAE;MACVC,OAAO,EAAEF,OAAO,CAACG,QAAQ,CAACC,WAAW,CAAC;QACpCC,UAAU,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;QACtBC,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC;MACvB,CAAC;IACH;EACF,CAAC;AACH;AAKA,OAAO,SAASC,QAAQA,CAAC;EACvBP;AACgC,CAAC,EAAmC;EACpE,OAAO;IACLC,UAAU,EAAE;MACVC,OAAO,EAAEF,OAAO,CAACG,QAAQ,CAACC,WAAW,CAAC;QACpCC,UAAU,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;QACtBC,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC;MACvB,CAAC,CAAC;MACFE,SAAS,EAAE,CACT;QACEC,UAAU,EAAET,OAAO,CAACG,QAAQ,CAACC,WAAW,CAAC;UACvCC,UAAU,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;UACtBC,WAAW,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,EAAE,EAAE;QAC1B,CAAC;MACH,CAAC;IAEL;EACF,CAAC;AACH","ignoreList":[]},"metadata":{"hasCjsExports":false},"sourceType":"module","externalDependencies":[]}