{"ast":null,"code":"\"use strict\";\n\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nimport { useLocale, useTheme } from '@react-navigation/native';\nimport * as React from 'react';\nimport Animated from \"react-native-web/dist/exports/Animated\";\nimport Image from \"react-native-web/dist/exports/Image\";\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 backIcon from \"../assets/back-icon.png\";\nimport backIconMask from \"../assets/back-icon-mask.png\";\nimport { MaskedView } from \"../MaskedView\";\nimport { HeaderButton } from \"./HeaderButton.js\";\nimport { HeaderIcon, ICON_MARGIN } from \"./HeaderIcon.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nexport function HeaderBackButton(_ref) {\n  var disabled = _ref.disabled,\n    allowFontScaling = _ref.allowFontScaling,\n    backImage = _ref.backImage,\n    label = _ref.label,\n    labelStyle = _ref.labelStyle,\n    _ref$displayMode = _ref.displayMode,\n    displayMode = _ref$displayMode === void 0 ? Platform.OS === 'ios' ? 'default' : 'minimal' : _ref$displayMode,\n    onLabelLayout = _ref.onLabelLayout,\n    onPress = _ref.onPress,\n    pressColor = _ref.pressColor,\n    pressOpacity = _ref.pressOpacity,\n    screenLayout = _ref.screenLayout,\n    tintColor = _ref.tintColor,\n    titleLayout = _ref.titleLayout,\n    _ref$truncatedLabel = _ref.truncatedLabel,\n    truncatedLabel = _ref$truncatedLabel === void 0 ? 'Back' : _ref$truncatedLabel,\n    _ref$accessibilityLab = _ref.accessibilityLabel,\n    accessibilityLabel = _ref$accessibilityLab === void 0 ? label && label !== 'Back' ? `${label}, back` : 'Go back' : _ref$accessibilityLab,\n    testID = _ref.testID,\n    style = _ref.style,\n    href = _ref.href;\n  var _useTheme = useTheme(),\n    colors = _useTheme.colors,\n    fonts = _useTheme.fonts;\n  var _useLocale = useLocale(),\n    direction = _useLocale.direction;\n  var _React$useState = React.useState(null),\n    _React$useState2 = _slicedToArray(_React$useState, 2),\n    labelWidth = _React$useState2[0],\n    setLabelWidth = _React$useState2[1];\n  var _React$useState3 = React.useState(null),\n    _React$useState4 = _slicedToArray(_React$useState3, 2),\n    truncatedLabelWidth = _React$useState4[0],\n    setTruncatedLabelWidth = _React$useState4[1];\n  var renderBackImage = function renderBackImage() {\n    if (backImage) {\n      return backImage({\n        tintColor: tintColor != null ? tintColor : colors.text\n      });\n    } else {\n      return _jsx(HeaderIcon, {\n        source: backIcon,\n        tintColor: tintColor,\n        style: [styles.icon, displayMode !== 'minimal' && styles.iconWithLabel]\n      });\n    }\n  };\n  var renderLabel = function renderLabel() {\n    if (displayMode === 'minimal') {\n      return null;\n    }\n    var availableSpace = titleLayout && screenLayout ? (screenLayout.width - titleLayout.width) / 2 - (ICON_WIDTH + ICON_MARGIN) : null;\n    var potentialLabelText = displayMode === 'default' ? label : truncatedLabel;\n    var finalLabelText = availableSpace && labelWidth && truncatedLabelWidth ? availableSpace > labelWidth ? potentialLabelText : availableSpace > truncatedLabelWidth ? truncatedLabel : null : potentialLabelText;\n    var commonStyle = [fonts.regular, styles.label, labelStyle];\n    var hiddenStyle = [commonStyle, {\n      position: 'absolute',\n      top: 0,\n      left: 0,\n      opacity: 0\n    }];\n    var labelElement = _jsxs(View, {\n      style: styles.labelWrapper,\n      children: [label && displayMode === 'default' ? _jsx(Animated.Text, {\n        style: hiddenStyle,\n        numberOfLines: 1,\n        onLayout: function onLayout(e) {\n          return setLabelWidth(e.nativeEvent.layout.width);\n        },\n        children: label\n      }) : null, truncatedLabel ? _jsx(Animated.Text, {\n        style: hiddenStyle,\n        numberOfLines: 1,\n        onLayout: function onLayout(e) {\n          return setTruncatedLabelWidth(e.nativeEvent.layout.width);\n        },\n        children: truncatedLabel\n      }) : null, finalLabelText ? _jsx(Animated.Text, {\n        accessible: false,\n        onLayout: onLabelLayout,\n        style: [tintColor ? {\n          color: tintColor\n        } : null, commonStyle],\n        numberOfLines: 1,\n        allowFontScaling: !!allowFontScaling,\n        children: finalLabelText\n      }) : null]\n    });\n    if (backImage || Platform.OS !== 'ios') {\n      return labelElement;\n    }\n    return _jsx(MaskedView, {\n      maskElement: _jsxs(View, {\n        style: [styles.iconMaskContainer, screenLayout ? {\n          minWidth: screenLayout.width / 2 - 27\n        } : null],\n        children: [_jsx(Image, {\n          source: backIconMask,\n          resizeMode: \"contain\",\n          style: [styles.iconMask, direction === 'rtl' && styles.flip]\n        }), _jsx(View, {\n          style: styles.iconMaskFillerRect\n        })]\n      }),\n      children: labelElement\n    });\n  };\n  var handlePress = function handlePress() {\n    if (onPress) {\n      requestAnimationFrame(function () {\n        return onPress();\n      });\n    }\n  };\n  return _jsx(HeaderButton, {\n    disabled: disabled,\n    href: href,\n    accessibilityLabel: accessibilityLabel,\n    testID: testID,\n    onPress: handlePress,\n    pressColor: pressColor,\n    pressOpacity: pressOpacity,\n    style: [styles.container, style],\n    children: _jsxs(React.Fragment, {\n      children: [renderBackImage(), renderLabel()]\n    })\n  });\n}\nvar ICON_WIDTH = Platform.OS === 'ios' ? 13 : 24;\nvar ICON_MARGIN_END = Platform.OS === 'ios' ? 22 : 3;\nvar styles = StyleSheet.create({\n  container: _objectSpread({\n    paddingHorizontal: 0,\n    minWidth: StyleSheet.hairlineWidth\n  }, Platform.select({\n    ios: null,\n    default: {\n      marginVertical: 3,\n      marginHorizontal: 11\n    }\n  })),\n  label: {\n    fontSize: 17,\n    letterSpacing: 0.35\n  },\n  labelWrapper: {\n    flexDirection: 'row',\n    alignItems: 'flex-start',\n    marginEnd: ICON_MARGIN\n  },\n  icon: {\n    width: ICON_WIDTH,\n    marginEnd: ICON_MARGIN_END\n  },\n  iconWithLabel: Platform.OS === 'ios' ? {\n    marginEnd: 6\n  } : {},\n  iconMaskContainer: {\n    flex: 1,\n    flexDirection: 'row',\n    justifyContent: 'center'\n  },\n  iconMaskFillerRect: {\n    flex: 1,\n    backgroundColor: '#000'\n  },\n  iconMask: {\n    height: 21,\n    width: 13,\n    marginStart: -14.5,\n    marginVertical: 12,\n    alignSelf: 'center'\n  },\n  flip: {\n    transform: 'scaleX(-1)'\n  }\n});","map":{"version":3,"names":["useLocale","useTheme","React","Animated","Image","Platform","StyleSheet","View","backIcon","backIconMask","MaskedView","HeaderButton","HeaderIcon","ICON_MARGIN","jsx","_jsx","jsxs","_jsxs","HeaderBackButton","_ref","disabled","allowFontScaling","backImage","label","labelStyle","_ref$displayMode","displayMode","OS","onLabelLayout","onPress","pressColor","pressOpacity","screenLayout","tintColor","titleLayout","_ref$truncatedLabel","truncatedLabel","_ref$accessibilityLab","accessibilityLabel","testID","style","href","_useTheme","colors","fonts","_useLocale","direction","_React$useState","useState","_React$useState2","_slicedToArray","labelWidth","setLabelWidth","_React$useState3","_React$useState4","truncatedLabelWidth","setTruncatedLabelWidth","renderBackImage","text","source","styles","icon","iconWithLabel","renderLabel","availableSpace","width","ICON_WIDTH","potentialLabelText","finalLabelText","commonStyle","regular","hiddenStyle","position","top","left","opacity","labelElement","labelWrapper","children","Text","numberOfLines","onLayout","e","nativeEvent","layout","accessible","color","maskElement","iconMaskContainer","minWidth","resizeMode","iconMask","flip","iconMaskFillerRect","handlePress","requestAnimationFrame","container","Fragment","ICON_MARGIN_END","create","_objectSpread","paddingHorizontal","hairlineWidth","select","ios","default","marginVertical","marginHorizontal","fontSize","letterSpacing","flexDirection","alignItems","marginEnd","flex","justifyContent","backgroundColor","height","marginStart","alignSelf","transform"],"sources":["/Users/pmouli/Documents/GitHub.nosync/boots-strapper/mobile/node_modules/@react-navigation/elements/src/Header/HeaderBackButton.tsx"],"sourcesContent":["import { useLocale, useTheme } from '@react-navigation/native';\nimport * as React from 'react';\nimport {\n  Animated,\n  Image,\n  Platform,\n  type StyleProp,\n  StyleSheet,\n  type TextStyle,\n  View,\n} from 'react-native';\n\nimport backIcon from '../assets/back-icon.png';\nimport backIconMask from '../assets/back-icon-mask.png';\nimport { MaskedView } from '../MaskedView';\nimport type { HeaderBackButtonProps } from '../types';\nimport { HeaderButton } from './HeaderButton';\nimport { HeaderIcon, ICON_MARGIN } from './HeaderIcon';\n\nexport function HeaderBackButton({\n  disabled,\n  allowFontScaling,\n  backImage,\n  label,\n  labelStyle,\n  displayMode = Platform.OS === 'ios' ? 'default' : 'minimal',\n  onLabelLayout,\n  onPress,\n  pressColor,\n  pressOpacity,\n  screenLayout,\n  tintColor,\n  titleLayout,\n  truncatedLabel = 'Back',\n  accessibilityLabel = label && label !== 'Back' ? `${label}, back` : 'Go back',\n  testID,\n  style,\n  href,\n}: HeaderBackButtonProps) {\n  const { colors, fonts } = useTheme();\n  const { direction } = useLocale();\n\n  const [labelWidth, setLabelWidth] = React.useState<number | null>(null);\n  const [truncatedLabelWidth, setTruncatedLabelWidth] = React.useState<\n    number | null\n  >(null);\n\n  const renderBackImage = () => {\n    if (backImage) {\n      return backImage({ tintColor: tintColor ?? colors.text });\n    } else {\n      return (\n        <HeaderIcon\n          source={backIcon}\n          tintColor={tintColor}\n          style={[\n            styles.icon,\n            displayMode !== 'minimal' && styles.iconWithLabel,\n          ]}\n        />\n      );\n    }\n  };\n\n  const renderLabel = () => {\n    if (displayMode === 'minimal') {\n      return null;\n    }\n\n    const availableSpace =\n      titleLayout && screenLayout\n        ? (screenLayout.width - titleLayout.width) / 2 -\n          (ICON_WIDTH + ICON_MARGIN)\n        : null;\n\n    const potentialLabelText =\n      displayMode === 'default' ? label : truncatedLabel;\n    const finalLabelText =\n      availableSpace && labelWidth && truncatedLabelWidth\n        ? availableSpace > labelWidth\n          ? potentialLabelText\n          : availableSpace > truncatedLabelWidth\n            ? truncatedLabel\n            : null\n        : potentialLabelText;\n\n    const commonStyle: Animated.WithAnimatedValue<StyleProp<TextStyle>> = [\n      fonts.regular,\n      styles.label,\n      labelStyle,\n    ];\n\n    const hiddenStyle: Animated.WithAnimatedValue<StyleProp<TextStyle>> = [\n      commonStyle,\n      {\n        position: 'absolute',\n        top: 0,\n        left: 0,\n        opacity: 0,\n      },\n    ];\n\n    const labelElement = (\n      <View style={styles.labelWrapper}>\n        {label && displayMode === 'default' ? (\n          <Animated.Text\n            style={hiddenStyle}\n            numberOfLines={1}\n            onLayout={(e) => setLabelWidth(e.nativeEvent.layout.width)}\n          >\n            {label}\n          </Animated.Text>\n        ) : null}\n        {truncatedLabel ? (\n          <Animated.Text\n            style={hiddenStyle}\n            numberOfLines={1}\n            onLayout={(e) => setTruncatedLabelWidth(e.nativeEvent.layout.width)}\n          >\n            {truncatedLabel}\n          </Animated.Text>\n        ) : null}\n        {finalLabelText ? (\n          <Animated.Text\n            accessible={false}\n            onLayout={onLabelLayout}\n            style={[tintColor ? { color: tintColor } : null, commonStyle]}\n            numberOfLines={1}\n            allowFontScaling={!!allowFontScaling}\n          >\n            {finalLabelText}\n          </Animated.Text>\n        ) : null}\n      </View>\n    );\n\n    if (backImage || Platform.OS !== 'ios') {\n      // When a custom backimage is specified, we can't mask the label\n      // Otherwise there might be weird effect due to our mask not being the same as the image\n      return labelElement;\n    }\n\n    return (\n      <MaskedView\n        maskElement={\n          <View\n            style={[\n              styles.iconMaskContainer,\n              // Extend the mask to the center of the screen so that label isn't clipped during animation\n              screenLayout ? { minWidth: screenLayout.width / 2 - 27 } : null,\n            ]}\n          >\n            <Image\n              source={backIconMask}\n              resizeMode=\"contain\"\n              style={[styles.iconMask, direction === 'rtl' && styles.flip]}\n            />\n            <View style={styles.iconMaskFillerRect} />\n          </View>\n        }\n      >\n        {labelElement}\n      </MaskedView>\n    );\n  };\n\n  const handlePress = () => {\n    if (onPress) {\n      requestAnimationFrame(() => onPress());\n    }\n  };\n\n  return (\n    <HeaderButton\n      disabled={disabled}\n      href={href}\n      accessibilityLabel={accessibilityLabel}\n      testID={testID}\n      onPress={handlePress}\n      pressColor={pressColor}\n      pressOpacity={pressOpacity}\n      style={[styles.container, style]}\n    >\n      <React.Fragment>\n        {renderBackImage()}\n        {renderLabel()}\n      </React.Fragment>\n    </HeaderButton>\n  );\n}\n\nconst ICON_WIDTH = Platform.OS === 'ios' ? 13 : 24;\nconst ICON_MARGIN_END = Platform.OS === 'ios' ? 22 : 3;\n\nconst styles = StyleSheet.create({\n  container: {\n    paddingHorizontal: 0,\n    minWidth: StyleSheet.hairlineWidth, // Avoid collapsing when title is long\n    ...Platform.select({\n      ios: null,\n      default: {\n        marginVertical: 3,\n        marginHorizontal: 11,\n      },\n    }),\n  },\n  label: {\n    fontSize: 17,\n    // Title and back label are a bit different width due to title being bold\n    // Adjusting the letterSpacing makes them coincide better\n    letterSpacing: 0.35,\n  },\n  labelWrapper: {\n    // These styles will make sure that the label doesn't fill the available space\n    // Otherwise it messes with the measurement of the label\n    flexDirection: 'row',\n    alignItems: 'flex-start',\n    marginEnd: ICON_MARGIN,\n  },\n  icon: {\n    width: ICON_WIDTH,\n    marginEnd: ICON_MARGIN_END,\n  },\n  iconWithLabel:\n    Platform.OS === 'ios'\n      ? {\n          marginEnd: 6,\n        }\n      : {},\n  iconMaskContainer: {\n    flex: 1,\n    flexDirection: 'row',\n    justifyContent: 'center',\n  },\n  iconMaskFillerRect: {\n    flex: 1,\n    backgroundColor: '#000',\n  },\n  iconMask: {\n    height: 21,\n    width: 13,\n    marginStart: -14.5,\n    marginVertical: 12,\n    alignSelf: 'center',\n  },\n  flip: {\n    transform: 'sca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