{"ast":null,"code":"import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/objectWithoutPropertiesLoose\";\nconst _excluded = [\"color\", \"indeterminate\", \"progress\", \"visible\", \"theme\", \"animatedValue\", \"style\", \"fillStyle\", \"testID\"];\nfunction _extends() {\n  return _extends = Object.assign ? Object.assign.bind() : function (n) {\n    for (var e = 1; e < arguments.length; e++) {\n      var t = arguments[e];\n      for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);\n    }\n    return n;\n  }, _extends.apply(null, arguments);\n}\nimport * as React from 'react';\nimport Animated from \"react-native-web/dist/exports/Animated\";\nimport I18nManager from \"react-native-web/dist/exports/I18nManager\";\nimport Platform from \"react-native-web/dist/exports/Platform\";\nimport StyleSheet from \"react-native-web/dist/exports/StyleSheet\";\nimport View from \"react-native-web/dist/exports/View\";\nimport setColor from 'color';\nimport { useInternalTheme } from \"../core/theming\";\nconst INDETERMINATE_DURATION = 2000;\nconst INDETERMINATE_MAX_WIDTH = 0.6;\nconst {\n  isRTL\n} = I18nManager;\nconst ProgressBar = _ref => {\n  let {\n      color,\n      indeterminate,\n      progress = 0,\n      visible = true,\n      theme: themeOverrides,\n      animatedValue,\n      style,\n      fillStyle,\n      testID = 'progress-bar'\n    } = _ref,\n    rest = _objectWithoutPropertiesLoose(_ref, _excluded);\n  var _theme$colors;\n  const isWeb = Platform.OS === 'web';\n  const theme = useInternalTheme(themeOverrides);\n  const {\n    current: timer\n  } = React.useRef(new Animated.Value(0));\n  const {\n    current: fade\n  } = React.useRef(new Animated.Value(0));\n  const passedAnimatedValue = React.useRef(animatedValue);\n  const [width, setWidth] = React.useState(0);\n  const [prevWidth, setPrevWidth] = React.useState(0);\n  const indeterminateAnimation = React.useRef(null);\n  const {\n    scale\n  } = theme.animation;\n  React.useEffect(() => {\n    passedAnimatedValue.current = animatedValue;\n  });\n  const startAnimation = React.useCallback(() => {\n    Animated.timing(fade, {\n      duration: 200 * scale,\n      toValue: 1,\n      useNativeDriver: true,\n      isInteraction: false\n    }).start();\n    const externalAnimation = typeof passedAnimatedValue.current !== 'undefined' && passedAnimatedValue.current >= 0;\n    if (externalAnimation) {\n      return;\n    }\n    if (indeterminate) {\n      if (!indeterminateAnimation.current) {\n        indeterminateAnimation.current = Animated.timing(timer, {\n          duration: INDETERMINATE_DURATION,\n          toValue: 1,\n          useNativeDriver: !isWeb,\n          isInteraction: false\n        });\n      }\n      timer.setValue(0);\n      Animated.loop(indeterminateAnimation.current).start();\n    } else {\n      Animated.timing(timer, {\n        duration: 200 * scale,\n        toValue: progress ? progress : 0,\n        useNativeDriver: true,\n        isInteraction: false\n      }).start();\n    }\n  }, [fade, scale, indeterminate, timer, progress, isWeb]);\n  const stopAnimation = React.useCallback(() => {\n    if (indeterminateAnimation.current) {\n      indeterminateAnimation.current.stop();\n    }\n    Animated.timing(fade, {\n      duration: 200 * scale,\n      toValue: 0,\n      useNativeDriver: true,\n      isInteraction: false\n    }).start();\n  }, [fade, scale]);\n  React.useEffect(() => {\n    if (visible) startAnimation();else stopAnimation();\n  }, [visible, startAnimation, stopAnimation]);\n  React.useEffect(() => {\n    if (animatedValue && animatedValue >= 0) {\n      timer.setValue(animatedValue);\n    }\n  }, [animatedValue, timer]);\n  React.useEffect(() => {\n    if (visible && prevWidth === 0) {\n      startAnimation();\n    }\n  }, [prevWidth, startAnimation, visible]);\n  const onLayout = event => {\n    setPrevWidth(width);\n    setWidth(event.nativeEvent.layout.width);\n  };\n  const tintColor = color || ((_theme$colors = theme.colors) === null || _theme$colors === void 0 ? void 0 : _theme$colors.primary);\n  const trackTintColor = theme.isV3 ? theme.colors.surfaceVariant : setColor(tintColor).alpha(0.38).rgb().string();\n  return React.createElement(View, _extends({\n    onLayout: onLayout\n  }, rest, {\n    accessible: true,\n    accessibilityRole: \"progressbar\",\n    accessibilityState: {\n      busy: visible\n    },\n    accessibilityValue: indeterminate ? {} : {\n      min: 0,\n      max: 100,\n      now: Math.round(progress * 100)\n    },\n    style: isWeb && styles.webContainer,\n    testID: testID\n  }), React.createElement(Animated.View, {\n    style: [styles.container, {\n      backgroundColor: trackTintColor,\n      opacity: fade\n    }, style]\n  }, width ? React.createElement(Animated.View, {\n    testID: `${testID}-fill`,\n    style: [styles.progressBar, {\n      width,\n      backgroundColor: tintColor,\n      transform: [{\n        translateX: timer.interpolate(indeterminate ? {\n          inputRange: [0, 0.5, 1],\n          outputRange: [(isRTL ? 1 : -1) * 0.5 * width, (isRTL ? 1 : -1) * 0.5 * INDETERMINATE_MAX_WIDTH * width, (isRTL ? -1 : 1) * 0.7 * width]\n        } : {\n          inputRange: [0, 1],\n          outputRange: [(isRTL ? 1 : -1) * 0.5 * width, 0]\n        })\n      }, {\n        scaleX: timer.interpolate(indeterminate ? {\n          inputRange: [0, 0.5, 1],\n          outputRange: [0.0001, INDETERMINATE_MAX_WIDTH, 0.0001]\n        } : {\n          inputRange: [0, 1],\n          outputRange: [0.0001, 1]\n        })\n      }]\n    }, fillStyle]\n  }) : null));\n};\nconst styles = StyleSheet.create({\n  container: {\n    height: 4,\n    overflow: 'hidden'\n  },\n  webContainer: {\n    width: '100%',\n    height: '100%'\n  },\n  progressBar: {\n    flex: 1\n  }\n});\nexport default ProgressBar;","map":{"version":3,"names":["React","Animated","I18nManager","Platform","StyleSheet","View","setColor","useInternalTheme","INDETERMINATE_DURATION","INDETERMINATE_MAX_WIDTH","isRTL","ProgressBar","_ref","color","indeterminate","progress","visible","theme","themeOverrides","animatedValue","style","fillStyle","testID","rest","_objectWithoutPropertiesLoose","_excluded","_theme$colors","isWeb","OS","current","timer","useRef","Value","fade","passedAnimatedValue","width","setWidth","useState","prevWidth","setPrevWidth","indeterminateAnimation","scale","animation","useEffect","startAnimation","useCallback","timing","duration","toValue","useNativeDriver","isInteraction","start","externalAnimation","setValue","loop","stopAnimation","stop","onLayout","event","nativeEvent","layout","tintColor","colors","primary","trackTintColor","isV3","surfaceVariant","alpha","rgb","string","createElement","_extends","accessible","accessibilityRole","accessibilityState","busy","accessibilityValue","min","max","now","Math","round","styles","webContainer","container","backgroundColor","opacity","progressBar","transform","translateX","interpolate","inputRange","outputRange","scaleX","create","height","overflow","flex"],"sources":["/Users/pmouli/Documents/GitHub.nosync/boots-strapper/mobile/node_modules/react-native-paper/src/components/ProgressBar.tsx"],"sourcesContent":["import * as React from 'react';\nimport {\n  Animated,\n  I18nManager,\n  LayoutChangeEvent,\n  Platform,\n  StyleProp,\n  StyleSheet,\n  View,\n  ViewStyle,\n} from 'react-native';\n\nimport setColor from 'color';\n\nimport { useInternalTheme } from '../core/theming';\nimport type { ThemeProp } from '../types';\n\nexport type Props = React.ComponentPropsWithRef<typeof View> & {\n  /**\n   * Animated value (between 0 and 1). This tells the progress bar to rely on this value to animate it.\n   * Note: It should not be used in parallel with the `progress` prop.\n   */\n  animatedValue?: number;\n  /**\n   * Progress value (between 0 and 1).\n   * Note: It should not be used in parallel with the `animatedValue` prop.\n   */\n  progress?: number;\n  /**\n   * Color of the progress bar. The background color will be calculated based on this but you can change it by passing `backgroundColor` to `style` prop.\n   */\n  color?: string;\n  /**\n   * If the progress bar will show indeterminate progress.\n   */\n  indeterminate?: boolean;\n  /**\n   * Whether to show the ProgressBar (true, the default) or hide it (false).\n   */\n  visible?: boolean;\n  /**\n   * Style of filled part of the ProgresBar.\n   */\n  fillStyle?: Animated.WithAnimatedValue<StyleProp<ViewStyle>>;\n  style?: StyleProp<ViewStyle>;\n  /**\n   * @optional\n   */\n  theme?: ThemeProp;\n  /**\n   * testID to be used on tests.\n   */\n  testID?: string;\n};\n\nconst INDETERMINATE_DURATION = 2000;\nconst INDETERMINATE_MAX_WIDTH = 0.6;\nconst { isRTL } = I18nManager;\n\n/**\n * Progress bar is an indicator used to present progress of some activity in the app.\n *\n * ## Usage\n * ```js\n * import * as React from 'react';\n * import { ProgressBar, MD3Colors } from 'react-native-paper';\n *\n * const MyComponent = () => (\n *   <ProgressBar progress={0.5} color={MD3Colors.error50} />\n * );\n *\n * export default MyComponent;\n * ```\n */\nconst ProgressBar = ({\n  color,\n  indeterminate,\n  progress = 0,\n  visible = true,\n  theme: themeOverrides,\n  animatedValue,\n  style,\n  fillStyle,\n  testID = 'progress-bar',\n  ...rest\n}: Props) => {\n  const isWeb = Platform.OS === 'web';\n  const theme = useInternalTheme(themeOverrides);\n  const { current: timer } = React.useRef<Animated.Value>(\n    new Animated.Value(0)\n  );\n  const { current: fade } = React.useRef<Animated.Value>(new Animated.Value(0));\n  const passedAnimatedValue =\n    React.useRef<Props['animatedValue']>(animatedValue);\n  const [width, setWidth] = React.useState<number>(0);\n  const [prevWidth, setPrevWidth] = React.useState<number>(0);\n\n  const indeterminateAnimation =\n    React.useRef<Animated.CompositeAnimation | null>(null);\n\n  const { scale } = theme.animation;\n\n  React.useEffect(() => {\n    passedAnimatedValue.current = animatedValue;\n  });\n\n  const startAnimation = React.useCallback(() => {\n    // Show progress bar\n    Animated.timing(fade, {\n      duration: 200 * scale,\n      toValue: 1,\n      useNativeDriver: true,\n      isInteraction: false,\n    }).start();\n\n    /**\n     * We shouldn't add @param animatedValue to the\n     * deps array, to avoid the unnecessary loop.\n     * We can only check if the prop is passed initially,\n     * and we do early return.\n     */\n    const externalAnimation =\n      typeof passedAnimatedValue.current !== 'undefined' &&\n      passedAnimatedValue.current >= 0;\n\n    if (externalAnimation) {\n      return;\n    }\n\n    // Animate progress bar\n    if (indeterminate) {\n      if (!indeterminateAnimation.current) {\n        indeterminateAnimation.current = Animated.timing(timer, {\n          duration: INDETERMINATE_DURATION,\n          toValue: 1,\n          // Animated.loop does not work if useNativeDriver is true on web\n          useNativeDriver: !isWeb,\n          isInteraction: false,\n        });\n      }\n\n      // Reset timer to the beginning\n      timer.setValue(0);\n\n      Animated.loop(indeterminateAnimation.current).start();\n    } else {\n      Animated.timing(timer, {\n        duration: 200 * scale,\n        toValue: progress ? progress : 0,\n        useNativeDriver: true,\n        isInteraction: false,\n      }).start();\n    }\n  }, [fade, scale, indeterminate, timer, progress, isWeb]);\n\n  const stopAnimation = React.useCallback(() => {\n    // Stop indeterminate animation\n    if (indeterminateAnimation.current) {\n      indeterminateAnimation.current.stop();\n    }\n\n    Animated.timing(fade, {\n      duration: 200 * scale,\n      toValue: 0,\n      useNativeDriver: true,\n      isInteraction: false,\n    }).start();\n  }, [fade, scale]);\n\n  React.useEffect(() => {\n    if (visible) startAnimation();\n    else stopAnimation();\n  }, [visible, startAnimation, stopAnimation]);\n\n  React.useEffect(() => {\n    if (animatedValue && animatedValue >= 0) {\n      timer.setValue(animatedValue);\n    }\n  }, [animatedValue, timer]);\n\n  React.useEffect(() => {\n    // Start animation the very first time when previously the width was unclear\n    if (visible && prevWidth === 0) {\n      startAnimation();\n    }\n  }, [prevWidth, startAnimation, visible]);\n\n  const onLayout = (event: LayoutChangeEvent) => {\n    setPrevWidth(width);\n    setWidth(event.nativeEvent.layout.width);\n  };\n\n  const tintColor = color || theme.colors?.primary;\n  const trackTintColor = theme.isV3\n    ? theme.colors.surfaceVariant\n    : setColor(tintColor).alpha(0.38).rgb().string();\n\n  return (\n    <View\n      onLayout={onLayout}\n      {...rest}\n      accessible\n      accessibilityRole=\"progressbar\"\n      accessibilityState={{ busy: visible }}\n      accessibilityValue={\n        indeterminate\n          ? {}\n          : { min: 0, max: 100, now: Math.round(progress * 100) }\n      }\n      style={isWeb && styles.webContainer}\n      testID={testID}\n    >\n      <Animated.View\n        style={[\n          styles.container,\n          { backgroundColor: trackTintColor, opacity: fade },\n          style,\n        ]}\n      >\n        {width ? (\n          <Animated.View\n            testID={`${testID}-fill`}\n            style={[\n              styles.progressBar,\n              {\n                width,\n                backgroundColor: tintColor,\n                transform: [\n                  {\n                    translateX: timer.interpolate(\n                      indeterminate\n                        ? {\n                            inputRange: [0, 0.5, 1],\n                            outputRange: [\n                              (isRTL ? 1 : -1) * 0.5 * width,\n                              (isRTL ? 1 : -1) *\n                                0.5 *\n                                INDETERMINATE_MAX_WIDTH *\n                                width,\n                              (isRTL ? -1 : 1) * 0.7 * width,\n                            ],\n                          }\n                        : {\n                            inputRange: [0, 1],\n                            outputRange: [(isRTL ? 1 : -1) * 0.5 * width, 0],\n                          }\n                    ),\n                  },\n                  {\n                    // Workaround for workaround for https://github.com/facebook/react-native/issues/6278\n                    scaleX: timer.interpolate(\n                      indeterminate\n                        ? {\n                            inputRange: [0, 0.5, 1],\n                            outputRange: [\n                              0.0001,\n                              INDETERMINATE_MAX_WIDTH,\n                              0.0001,\n                            ],\n                          }\n                        : {\n                            inputRange: [0, 1],\n                            outputRange: [0.0001, 1],\n                          }\n                    ),\n                  },\n                ],\n              },\n              fillStyle,\n            ]}\n          />\n        ) : null}\n      </Animated.View>\n    </View>\n  );\n};\n\nconst styles = StyleSheet.create({\n  container: {\n    height: 4,\n    overflow: 'hidden',\n  },\n  webContainer: {\n    width: '100%',\n    height: '100%',\n  },\n  progressBar: {\n    flex: 1,\n  },\n});\n\nexport default ProgressBar;\n"],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAAA,OAAAC,QAAA;AAAA,OAAAC,WAAA;AAAA,OAAAC,QAAA;AAAA,OAAAC,UAAA;AAAA,OAAAC,IAAA;AAY9B,OAAOC,QAAQ,MAAM,OAAO;AAE5B,SAASC,gBAAgB;AAyCzB,MAAMC,sBAAsB,GAAG,IAAI;AACnC,MAAMC,uBAAuB,GAAG,GAAG;AACnC,MAAM;EAAEC;AAAM,CAAC,GAAGR,WAAW;AAiB7B,MAAMS,WAAW,GAAGC,IAAA,IAWP;EAAA,IAXQ;MACnBC,KAAK;MACLC,aAAa;MACbC,QAAQ,GAAG,CAAC;MACZC,OAAO,GAAG,IAAI;MACdC,KAAK,EAAEC,cAAc;MACrBC,aAAa;MACbC,KAAK;MACLC,SAAS;MACTC,MAAM,GAAG;IAEJ,CAAC,GAAAV,IAAA;IADHW,IAAA,GAAAC,6BAAA,CAAAZ,IAAA,EAAAa,SAAA;EACQ,IAAAC,aAAA;EACX,MAAMC,KAAK,GAAGxB,QAAQ,CAACyB,EAAE,KAAK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CACN;MACF,CAAC,EACD;QAEE0D,MAAM,EAAE/D,KAAK,CAAC4D,WAAW,CACvB5E,aAAa,GACT;UACE6E,UAAU,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,CAAC;UACvBC,WAAW,EAAE,CACX,MAAM,EACNnF,uBAAuB,EACvB,MAAM;QAEV,CAAC,GACD;UACEkF,UAAU,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;UAClBC,WAAW,EAAE,CAAC,MAAM,EAAE,CAAC;QACzB,CACN;MACF,CAAC;IAEL,CAAC,EACDvE,SAAS;EACT,CACH,CAAC,GACA,IACS,CACX,CAAC;AAEX,CAAC;AAED,MAAM6D,MAAM,GAAG9E,UAAU,CAAC0F,MAAM,CAAC;EAC/BV,SAAS,EAAE;IACTW,MAAM,EAAE,CAAC;IACTC,QAAQ,EAAE;EACZ,CAAC;EACDb,YAAY,EAAE;IACZhD,KAAK,EAAE,MAAM;IACb4D,MAAM,EAAE;EACV,CAAC;EACDR,WAAW,EAAE;IACXU,IAAI,EAAE;EACR;AACF,CAAC,CAAC;AAEF,eAAetF,WAAW","ignoreList":[]},"metadata":{"hasCjsExports":false},"sourceType":"module","externalDependencies":[]}