var $gXNCa$reactjsxruntime = require("react/jsx-runtime");
var $gXNCa$reactnative = require("react-native");
var $gXNCa$twrnc = require("twrnc");
var $gXNCa$reactnativegesturehandler = require("react-native-gesture-handler");
var $gXNCa$reactnativemarkdowndisplay = require("react-native-markdown-display");

function $parcel$export(e, n, v, s) {
  Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
}
function $parcel$interopDefault(a) {
  return a && a.__esModule ? a.default : a;
}
var $parcel$global =
typeof globalThis !== 'undefined'
  ? globalThis
  : typeof self !== 'undefined'
  ? self
  : typeof window !== 'undefined'
  ? window
  : typeof global !== 'undefined'
  ? global
  : {};
var $parcel$modules = {};
var $parcel$inits = {};

var parcelRequire = $parcel$global["parcelRequire7c31"];
if (parcelRequire == null) {
  parcelRequire = function(id) {
    if (id in $parcel$modules) {
      return $parcel$modules[id].exports;
    }
    if (id in $parcel$inits) {
      var init = $parcel$inits[id];
      delete $parcel$inits[id];
      var module = {id: id, exports: {}};
      $parcel$modules[id] = module;
      init.call(module.exports, module, module.exports);
      return module.exports;
    }
    var err = new Error("Cannot find module '" + id + "'");
    err.code = 'MODULE_NOT_FOUND';
    throw err;
  };

  parcelRequire.register = function register(id, init) {
    $parcel$inits[id] = init;
  };

  $parcel$global["parcelRequire7c31"] = parcelRequire;
}
parcelRequire.register("dUOHl", function(module, exports) {
module.exports = {
    content: [
        "./app/**/*.{js,jsx,ts,tsx}"
    ],
    // darkMode: "media",
    theme: {
        extend: {
            spacing: {
                1: "4px",
                2: "8px",
                3: "12px",
                4: "16px",
                5: "24px",
                6: "28px",
                7: "36px",
                8: "40px"
            },
            colors: {
                transparent: "transparent",
                black: "#000",
                white: "#fff",
                progressiveRed: "#f50537",
                signalRedLight: "#eb0d3f",
                signalRedDark: "#fd2c4e",
                signalGreenLight: "#0da20d",
                signalGreenDark: "#0da20d",
                signalYellowLight: "#ffaa00",
                signalYellowDark: "#ffaa00",
                grey: {
                    100: "#000000",
                    90: "#1a1a1a",
                    80: "#333333",
                    70: "#4c4c4c",
                    60: "#666666",
                    50: "#808080",
                    40: "#999999",
                    30: "#b3b3b3",
                    20: "#cccccc",
                    15: "#d9d9d9",
                    10: "#e5e5e5",
                    5: "f2f2f2",
                    0: "#ffffff"
                }
            },
            borderRadius: {
                none: "0",
                sm: ".0",
                DEFAULT: "0",
                lg: "0",
                full: "0"
            },
            container: {
                center: true
            }
        },
        plugins: []
    }
};

});


$parcel$export(module.exports, "Button", () => $6bc3634f98b6d507$export$2e2bcd8739ae039);
$parcel$export(module.exports, "Card", () => $bdd5b77d74bc7522$export$2e2bcd8739ae039);
$parcel$export(module.exports, "Carussel", () => $3e9e82d38756bcb8$export$2e2bcd8739ae039);
$parcel$export(module.exports, "Image", () => $e331b729e2e12531$export$2e2bcd8739ae039);
$parcel$export(module.exports, "Markdown", () => $63e7184cc3ddf783$export$2e2bcd8739ae039);
$parcel$export(module.exports, "Spacer", () => $c53828c20229d259$export$2e2bcd8739ae039);





// create the customized version...
const $160f79e78f711e28$var$tw = (0, $gXNCa$twrnc.create)((parcelRequire("dUOHl")));
var $160f79e78f711e28$export$2e2bcd8739ae039 = $160f79e78f711e28$var$tw;


const $6bc3634f98b6d507$var$ButtonAudi = ({ size: size , variant: variant , title: title , disabled: disabled , fullwidth: fullwidth  })=>{
    (0, $gXNCa$twrnc.useDeviceContext)((0, $160f79e78f711e28$export$2e2bcd8739ae039));
    let styleFullWidth = fullwidth ? " w-full" : " ";
    let styleFontsize = size === "medium" ? " text-base" : " text-xs";
    let styleFontcolor = variant === "primary" ? "text-white dark:text-black" : "text-black dark:text-white";
    let styleWidth = size === "medium" ? " min-w-144px" : " min-w-108px";
    let styleBackground = variant === "primary" ? " bg-black dark:bg-white" : " bg-white dark:bg-black";
    let styleBordercolor = disabled ? " border-grey-30 dark:border-grey-60" : " border-black dark:border-white";
    //disabled change
    if (disabled) {
        styleBackground = variant === "primary" ? " bg-grey-30 dark:bg-grey-60" : " bg-white dark:bg-black";
        styleFontcolor = variant === "primary" ? "text-white dark:text-black" : "text-grey-30 dark:text-grey-60";
    }
    let stylePressable = "px-32px py-16px rounded-none border" + styleBordercolor + styleWidth + styleBackground + styleFullWidth;
    let styleText = variant === "primary" ? styleFontcolor + styleFontsize : styleFontcolor + styleFontsize;
    return /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)((0, $gXNCa$reactnative.TouchableOpacity), {
        disabled: disabled,
        style: (0, $160f79e78f711e28$export$2e2bcd8739ae039).style(stylePressable + " flex self-start"),
        children: /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)((0, $gXNCa$reactnative.Text), {
            style: (0, $160f79e78f711e28$export$2e2bcd8739ae039).style(styleText + " self-start"),
            children: title
        })
    });
};
var $6bc3634f98b6d507$export$2e2bcd8739ae039 = $6bc3634f98b6d507$var$ButtonAudi;







const $bdd5b77d74bc7522$var$CardAudi = ({ headline: headline , subheadline: subheadline , url: url  })=>{
    (0, $gXNCa$twrnc.useDeviceContext)((0, $160f79e78f711e28$export$2e2bcd8739ae039));
    return /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsxs)((0, $gXNCa$reactnativegesturehandler.TouchableOpacity), {
        style: (0, $160f79e78f711e28$export$2e2bcd8739ae039).style("bg-black dark:bg-white rounded-none w-80 h-100 flex flex-col"),
        onPress: ()=>{
            console.log("pressed");
        },
        children: [
            /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)((0, $gXNCa$reactnative.Image), {
                source: {
                    uri: url || "https://sleepymeerk.at/wp-content/uploads/2018/02/ich_sw2.jpg"
                },
                style: (0, $160f79e78f711e28$export$2e2bcd8739ae039).style("w-full min-h-250px flex-auto")
            }),
            /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsxs)((0, $gXNCa$reactnativegesturehandler.TouchableOpacity), {
                style: (0, $160f79e78f711e28$export$2e2bcd8739ae039).style("mb-10px px-20px py-20px bg-black dark:bg-white"),
                onPress: ()=>{
                    console.log("pressed2");
                },
                children: [
                    /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)((0, $gXNCa$reactnative.Text), {
                        style: (0, $160f79e78f711e28$export$2e2bcd8739ae039).style("text-white dark:text-black text-base font-bold"),
                        children: headline
                    }),
                    /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)((0, $gXNCa$reactnative.Text), {
                        style: (0, $160f79e78f711e28$export$2e2bcd8739ae039).style("text-white dark:text-black text-sm"),
                        children: subheadline
                    })
                ]
            })
        ]
    });
};
var $bdd5b77d74bc7522$export$2e2bcd8739ae039 = $bdd5b77d74bc7522$var$CardAudi;






const $3e9e82d38756bcb8$var$CarusselAudi = ({ children: children  })=>{
    (0, $gXNCa$twrnc.useDeviceContext)((0, $160f79e78f711e28$export$2e2bcd8739ae039));
    return /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)((0, $gXNCa$reactnative.ScrollView), {
        horizontal: true,
        style: (0, $160f79e78f711e28$export$2e2bcd8739ae039).style("my-20px h-100"),
        children: children.map((child, index)=>{
            return /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)((0, $gXNCa$reactnative.View), {
                style: (0, $160f79e78f711e28$export$2e2bcd8739ae039).style("mx-10px"),
                children: child
            }, "car-index-" + index);
        })
    });
};
var $3e9e82d38756bcb8$export$2e2bcd8739ae039 = $3e9e82d38756bcb8$var$CarusselAudi;






const $e331b729e2e12531$var$ImageAudi = ({ url: url  })=>{
    (0, $gXNCa$twrnc.useDeviceContext)((0, $160f79e78f711e28$export$2e2bcd8739ae039));
    return /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)((0, $gXNCa$reactnative.Image), {
        style: (0, $160f79e78f711e28$export$2e2bcd8739ae039).style(" w-full h-250px"),
        source: {
            uri: url
        }
    });
};
var $e331b729e2e12531$export$2e2bcd8739ae039 = $e331b729e2e12531$var$ImageAudi;







const $63e7184cc3ddf783$var$MarkdownAudi = ({ copy: copy  })=>{
    (0, $gXNCa$twrnc.useDeviceContext)((0, $160f79e78f711e28$export$2e2bcd8739ae039));
    //https://github.com/jonasmerlin/react-native-markdown-display/
    const styles = (0, $gXNCa$reactnative.StyleSheet).create({
        heading1: (0, $160f79e78f711e28$export$2e2bcd8739ae039).style("text-black dark:text-white"),
        heading2: (0, $160f79e78f711e28$export$2e2bcd8739ae039).style("text-black dark:text-white"),
        heading3: (0, $160f79e78f711e28$export$2e2bcd8739ae039).style("text-black dark:text-white"),
        heading4: (0, $160f79e78f711e28$export$2e2bcd8739ae039).style("text-black dark:text-white"),
        heading5: (0, $160f79e78f711e28$export$2e2bcd8739ae039).style("text-black dark:text-white"),
        heading6: (0, $160f79e78f711e28$export$2e2bcd8739ae039).style("text-black dark:text-white")
    });
    return /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)((0, ($parcel$interopDefault($gXNCa$reactnativemarkdowndisplay))), {
        style: styles,
        children: copy
    });
};
var $63e7184cc3ddf783$export$2e2bcd8739ae039 = $63e7184cc3ddf783$var$MarkdownAudi;






const $c53828c20229d259$var$SpacerAudi = ({ space: space  })=>{
    (0, $gXNCa$twrnc.useDeviceContext)((0, $160f79e78f711e28$export$2e2bcd8739ae039));
    return /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)((0, $gXNCa$reactnative.View), {
        style: (0, $160f79e78f711e28$export$2e2bcd8739ae039).style("mb-" + space + "px")
    });
};
var $c53828c20229d259$export$2e2bcd8739ae039 = $c53828c20229d259$var$SpacerAudi;




//# sourceMappingURL=appdevelopmentkitlib.js.map
