import {jsx as $5OpyM$jsx, jsxs as $5OpyM$jsxs} from "react/jsx-runtime";
import {TouchableOpacity as $5OpyM$TouchableOpacity, Text as $5OpyM$Text, Image as $5OpyM$Image, ScrollView as $5OpyM$ScrollView, View as $5OpyM$View, StyleSheet as $5OpyM$StyleSheet} from "react-native";
import {useDeviceContext as $5OpyM$useDeviceContext, create as $5OpyM$create} from "twrnc";
import {TouchableOpacity as $5OpyM$TouchableOpacity1} from "react-native-gesture-handler";
import $5OpyM$reactnativemarkdowndisplay from "react-native-markdown-display";

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("1FjBk", 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: []
    }
};

});






// create the customized version...
const $64722701c2f0306f$var$tw = (0, $5OpyM$create)((parcelRequire("1FjBk")));
var $64722701c2f0306f$export$2e2bcd8739ae039 = $64722701c2f0306f$var$tw;


const $9c88a839cbef2bd0$var$ButtonAudi = ({ size: size , variant: variant , title: title , disabled: disabled , fullwidth: fullwidth  })=>{
    (0, $5OpyM$useDeviceContext)((0, $64722701c2f0306f$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, $5OpyM$jsx)((0, $5OpyM$TouchableOpacity), {
        disabled: disabled,
        style: (0, $64722701c2f0306f$export$2e2bcd8739ae039).style(stylePressable + " flex self-start"),
        children: /*#__PURE__*/ (0, $5OpyM$jsx)((0, $5OpyM$Text), {
            style: (0, $64722701c2f0306f$export$2e2bcd8739ae039).style(styleText + " self-start"),
            children: title
        })
    });
};
var $9c88a839cbef2bd0$export$2e2bcd8739ae039 = $9c88a839cbef2bd0$var$ButtonAudi;







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






const $6138387c57604dbd$var$CarusselAudi = ({ children: children  })=>{
    (0, $5OpyM$useDeviceContext)((0, $64722701c2f0306f$export$2e2bcd8739ae039));
    return /*#__PURE__*/ (0, $5OpyM$jsx)((0, $5OpyM$ScrollView), {
        horizontal: true,
        style: (0, $64722701c2f0306f$export$2e2bcd8739ae039).style("my-20px h-100"),
        children: children.map((child, index)=>{
            return /*#__PURE__*/ (0, $5OpyM$jsx)((0, $5OpyM$View), {
                style: (0, $64722701c2f0306f$export$2e2bcd8739ae039).style("mx-10px"),
                children: child
            }, "car-index-" + index);
        })
    });
};
var $6138387c57604dbd$export$2e2bcd8739ae039 = $6138387c57604dbd$var$CarusselAudi;






const $3e9ece9de07fb778$var$ImageAudi = ({ url: url  })=>{
    (0, $5OpyM$useDeviceContext)((0, $64722701c2f0306f$export$2e2bcd8739ae039));
    return /*#__PURE__*/ (0, $5OpyM$jsx)((0, $5OpyM$Image), {
        style: (0, $64722701c2f0306f$export$2e2bcd8739ae039).style(" w-full h-250px"),
        source: {
            uri: url
        }
    });
};
var $3e9ece9de07fb778$export$2e2bcd8739ae039 = $3e9ece9de07fb778$var$ImageAudi;







const $ece72dfe5bc8564f$var$MarkdownAudi = ({ copy: copy  })=>{
    (0, $5OpyM$useDeviceContext)((0, $64722701c2f0306f$export$2e2bcd8739ae039));
    //https://github.com/jonasmerlin/react-native-markdown-display/
    const styles = (0, $5OpyM$StyleSheet).create({
        heading1: (0, $64722701c2f0306f$export$2e2bcd8739ae039).style("text-black dark:text-white"),
        heading2: (0, $64722701c2f0306f$export$2e2bcd8739ae039).style("text-black dark:text-white"),
        heading3: (0, $64722701c2f0306f$export$2e2bcd8739ae039).style("text-black dark:text-white"),
        heading4: (0, $64722701c2f0306f$export$2e2bcd8739ae039).style("text-black dark:text-white"),
        heading5: (0, $64722701c2f0306f$export$2e2bcd8739ae039).style("text-black dark:text-white"),
        heading6: (0, $64722701c2f0306f$export$2e2bcd8739ae039).style("text-black dark:text-white")
    });
    return /*#__PURE__*/ (0, $5OpyM$jsx)((0, $5OpyM$reactnativemarkdowndisplay), {
        style: styles,
        children: copy
    });
};
var $ece72dfe5bc8564f$export$2e2bcd8739ae039 = $ece72dfe5bc8564f$var$MarkdownAudi;






const $a18900425f5b76cc$var$SpacerAudi = ({ space: space  })=>{
    (0, $5OpyM$useDeviceContext)((0, $64722701c2f0306f$export$2e2bcd8739ae039));
    return /*#__PURE__*/ (0, $5OpyM$jsx)((0, $5OpyM$View), {
        style: (0, $64722701c2f0306f$export$2e2bcd8739ae039).style("mb-" + space + "px")
    });
};
var $a18900425f5b76cc$export$2e2bcd8739ae039 = $a18900425f5b76cc$var$SpacerAudi;


var $ba1608804d77eeea$exports = {};
$ba1608804d77eeea$exports = new URL("AudiType-Bold_4.03.ea294ac4.otf", import.meta.url).toString();


var $c35c96db80db809f$exports = {};
$c35c96db80db809f$exports = new URL("AudiType-BoldItalic_4.03.4ef369d4.otf", import.meta.url).toString();


var $274dfd99c6e1dbbc$exports = {};
$274dfd99c6e1dbbc$exports = new URL("AudiType-ExtendedBold_4.03.fcf30b51.otf", import.meta.url).toString();


var $f7bceb4eaff9bf5b$exports = {};
$f7bceb4eaff9bf5b$exports = new URL("AudiType-ExtendedBoldItalic_4.03.2b575218.otf", import.meta.url).toString();


var $756512104f2bb853$exports = {};
$756512104f2bb853$exports = new URL("AudiType-ExtendedNormal_4.03.73af2976.otf", import.meta.url).toString();


var $d40def8acb931650$exports = {};
$d40def8acb931650$exports = new URL("AudiType-Italic_4.03.a16c236a.otf", import.meta.url).toString();


var $0984b701dffadf68$exports = {};
$0984b701dffadf68$exports = new URL("AudiType-Normal_4.03.b9ae8870.otf", import.meta.url).toString();


var $0f3d56192e801e08$exports = {};
$0f3d56192e801e08$exports = new URL("AudiType-WideBold_4.03.937e1fd9.otf", import.meta.url).toString();


var $3fe9b4c1f194f04b$exports = {};
$3fe9b4c1f194f04b$exports = new URL("AudiType-WideLight_4.03.9c5faabe.otf", import.meta.url).toString();


var $2f8644e6253fc96e$exports = {};
$2f8644e6253fc96e$exports = new URL("AudiType-WideNormal_4.03.cce42b23.otf", import.meta.url).toString();


const $5053a393de936eec$var$fonts = {
    "AudiType-Bold": (0, (/*@__PURE__*/$parcel$interopDefault($ba1608804d77eeea$exports))),
    "AudiType-BoldItalic": (0, (/*@__PURE__*/$parcel$interopDefault($c35c96db80db809f$exports))),
    "AudiType-ExtendedBold": (0, (/*@__PURE__*/$parcel$interopDefault($274dfd99c6e1dbbc$exports))),
    "AudiType-ExtendedBoldItalic": (0, (/*@__PURE__*/$parcel$interopDefault($f7bceb4eaff9bf5b$exports))),
    "AudiType-ExtendedNormal": (0, (/*@__PURE__*/$parcel$interopDefault($756512104f2bb853$exports))),
    "AudiType-Italic": (0, (/*@__PURE__*/$parcel$interopDefault($d40def8acb931650$exports))),
    "AudiType-Normal": (0, (/*@__PURE__*/$parcel$interopDefault($0984b701dffadf68$exports))),
    "AudiType-WideBold": (0, (/*@__PURE__*/$parcel$interopDefault($0f3d56192e801e08$exports))),
    "AudiType-WideLight": (0, (/*@__PURE__*/$parcel$interopDefault($3fe9b4c1f194f04b$exports))),
    "AudiType-WideNormal": (0, (/*@__PURE__*/$parcel$interopDefault($2f8644e6253fc96e$exports)))
};
var $5053a393de936eec$export$2e2bcd8739ae039 = $5053a393de936eec$var$fonts;




export {$9c88a839cbef2bd0$export$2e2bcd8739ae039 as Button, $a84d39f5447517df$export$2e2bcd8739ae039 as Card, $6138387c57604dbd$export$2e2bcd8739ae039 as Carussel, $3e9ece9de07fb778$export$2e2bcd8739ae039 as Image, $ece72dfe5bc8564f$export$2e2bcd8739ae039 as Markdown, $a18900425f5b76cc$export$2e2bcd8739ae039 as Spacer, $5053a393de936eec$export$2e2bcd8739ae039 as Fonts};
//# sourceMappingURL=module.js.map
