1"use strict";(self.webpackChunktanzfaktur_frontend=self.webpackChunktanzfaktur_frontend||[]).push([[5259,2088,740,2429,6404,6535,4154],{58916:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){eval('/* harmony import */ var _emotion_styled_base__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(90644);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(96540);\n/* harmony import */ var react_scroll_parallax__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(74716);\n/* harmony import */ var _styles_shared_styles__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(67067);\n/* harmony import */ var _styles_styles_events_course_news__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(78371);\n/* harmony import */ var _components_Image_Image__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(66636);\n/* harmony import */ var _hooks_useScreenSize__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(5393);\n/* harmony import */ var _emotion_react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(17437);\nfunction _EMOTION_STRINGIFIED_CSS_ERROR__(){return"You have tried to stringify object returned from `css` function. It isn\'t supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";}/* eslint-disable react/jsx-no-useless-fragment */function ParallaxImage({imageContent}){const screenSize=(0,_hooks_useScreenSize__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .A)();return (0,_emotion_react__WEBPACK_IMPORTED_MODULE_7__/* .jsx */ .Y)(react__WEBPACK_IMPORTED_MODULE_1__.Fragment,null,screenSize.screenWidth>=1024?(0,_emotion_react__WEBPACK_IMPORTED_MODULE_7__/* .jsx */ .Y)(ParallaxContainer,null,(0,_emotion_react__WEBPACK_IMPORTED_MODULE_7__/* .jsx */ .Y)(react_scroll_parallax__WEBPACK_IMPORTED_MODULE_2__/* .Parallax */ .kQ,{speed:-50},(0,_emotion_react__WEBPACK_IMPORTED_MODULE_7__/* .jsx */ .Y)(_styles_shared_styles__WEBPACK_IMPORTED_MODULE_3__/* .ImageWrapper */ .xW,null,(0,_emotion_react__WEBPACK_IMPORTED_MODULE_7__/* .jsx */ .Y)(_styles_styles_events_course_news__WEBPACK_IMPORTED_MODULE_4__/* .IntroImage */ .Cz,null,(0,_emotion_react__WEBPACK_IMPORTED_MODULE_7__/* .jsx */ .Y)(_components_Image_Image__WEBPACK_IMPORTED_MODULE_5__/* .Image */ ._,{imageContent:imageContent}))))):(0,_emotion_react__WEBPACK_IMPORTED_MODULE_7__/* .jsx */ .Y)(_styles_shared_styles__WEBPACK_IMPORTED_MODULE_3__/* .ImageWrapper */ .xW,null,(0,_emotion_react__WEBPACK_IMPORTED_MODULE_7__/* .jsx */ .Y)(_styles_styles_events_course_news__WEBPACK_IMPORTED_MODULE_4__/* .IntroImage */ .Cz,null,(0,_emotion_react__WEBPACK_IMPORTED_MODULE_7__/* .jsx */ .Y)(_components_Image_Image__WEBPACK_IMPORTED_MODULE_5__/* .Image */ ._,{imageContent:imageContent}))));}/* harmony default export */ __webpack_exports__.A = (ParallaxImage);const ParallaxContainer=/*#__PURE__*/(0,_emotion_styled_base__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)("div", true?{target:"e6n1u5b0"}:0)( true?{name:"1g805zp",styles:"@media (min-width: 1023px){.parallax-container{height:100%;overflow:hidden;position:relative;}.parallax-image{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;transform:translateZ(0);backface-visibility:hidden;}}"}:0);\n\n//# sourceURL=webpack://tanzfaktur-frontend/./src/components/ParallaxImage/ParallaxImage.tsx?')},60073:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){eval("/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Y: function() { return /* binding */ slugify; }\n/* harmony export */ });\nconst slugify=text=>text.toString().toLowerCase().replace(/\\s+/g,'-')// Replaces spaces with hyphens\n.replace(/[^\\w-]+/g,'')// Removes special characters\n.replace(/--+/g,'-')// Removes double hyphens\n.replace(/^-+/,'')// Removes hyphens from the beginning of the text\n.replace(/-+$/,'');// Removes hyphens from the end of the text\n\n//# sourceURL=webpack://tanzfaktur-frontend/./src/hooks/slugifyPath.ts?")},91798:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "default": function() { return /* binding */ AllNews; }\n/* harmony export */ });\n/* harmony import */ var _emotion_styled_base__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(90644);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(96540);\n/* harmony import */ var gatsby__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(64810);\n/* harmony import */ var _styles_shared_styles__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(67067);\n/* harmony import */ var _layouts__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(63026);\n/* harmony import */ var _styles_colors__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(88061);\n/* harmony import */ var _components_Image_Image__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(66636);\n/* harmony import */ var react_i18next__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(32389);\n/* harmony import */ var _hooks_slugifyPath__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(60073);\n/* harmony import */ var _hooks_useCurrentLanguage__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(86553);\n/* harmony import */ var _components_ParallaxImage_ParallaxImage__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(58916);\n/* harmony import */ var _hooks_useScreenSize__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(5393);\n/* harmony import */ var _emotion_react__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(17437);\n\nfunction _EMOTION_STRINGIFIED_CSS_ERROR__() {\n return "You have tried to stringify object returned from `css` function. It isn\'t supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction AllNews(props) {\n const allNews = props.data.allStrapiNews.edges;\n const {\n i18n,\n t\n } = (0,react_i18next__WEBPACK_IMPORTED_MODULE_7__/* .useTranslation */ .Bd)();\n const currentPrefix = (0,_hooks_useCurrentLanguage__WEBPACK_IMPORTED_MODULE_8__/* .useCurrentLanguage */ .f)();\n const {\n isDesktopView\n } = (0,_hooks_useScreenSize__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .A)();\n (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() =>
1 {\n void i18n.changeLanguage(props.pageContext.lang);\n }, [i18n, props.pageContext.lang]);\n (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => {\n allNews.sort((a, b) => {\n const createdAt_A = new Date(a.node.createdAt);\n const createdAt_B = new Date(b.node.createdAt);\n return createdAt_B.getTime() - createdAt_A.getTime();\n });\n }, [allNews]);\n return (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__/* .jsx */ .Y)("div", {\n css: [_styles_shared_styles__WEBPACK_IMPORTED_MODULE_3__/* .background */ .Tp, true ? "" : 0, true ? "" : 0]\n }, (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__/* .jsx */ .Y)(_layouts__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A, null, (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__/* .jsx */ .Y)("main", {\n id: "site-main",\n css: [_styles_shared_styles__WEBPACK_IMPORTED_MODULE_3__/* .SiteMain */ .rg, true ? "" : 0, true ? "" : 0]\n }, (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__/* .jsx */ .Y)(_components_ParallaxImage_ParallaxImage__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .A, {\n imageContent: props.data.strapiNewsMainPagePhoto.main_image.internal.content\n }), (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__/* .jsx */ .Y)("div", {\n css: [_styles_shared_styles__WEBPACK_IMPORTED_MODULE_3__/* .inner */ .vW, true ? "" : 0, true ? "" : 0]\n }, (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__/* .jsx */ .Y)(_styles_shared_styles__WEBPACK_IMPORTED_MODULE_3__/* .ContainerInfoContent */ .rd, null, (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__/* .jsx */ .Y)(_styles_shared_styles__WEBPACK_IMPORTED_MODULE_3__/* .InfoWrapper */ .Q7, null, (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__/* .jsx */ .Y)(_styles_shared_styles__WEBPACK_IMPORTED_MODULE_3__/* .WrapperInfoContent */ .fB, {\n css: Additional\n }, (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__/* .jsx */ .Y)(_styles_shared_styles__WEBPACK_IMPORTED_MODULE_3__/* .SingleSiteTitle */ .MP, null, t(\'Alle Nachrichten\').toUpperCase()), (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__/* .jsx */ .Y)(Container, null, allNews.map(news => {\n const {\n strapi_id,\n title,\n teaser_text,\n english_teaser_text,\n intro_image: {\n internal: {\n content: gatsbyImageData\n }\n }\n } = news.node;\n return (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__/* .jsx */ .Y)(ContainerNews, {\n key: strapi_id\n }, (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__/* .jsx */ .Y)(gatsby__WEBPACK_IMPORTED_MODULE_2__.Link, {\n to: strapi_id === 32 ? `/${currentPrefix}${currentPrefix ? \'/\' : \'\'}trial` : `/${currentPrefix}${currentPrefix ? \'/\' : \'\'}news/${(0,_hooks_slugifyPath__WEBPACK_IMPORTED_MODULE_12__/* .slugify */ .Y)(title)}/${strapi_id}`,\n style: {\n color: _styles_colors__WEBPACK_IMPORTED_MODULE_5__/* .colors */ .T.darkblue\n }\n }, (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__/* .jsx */ .Y)("div", {\n css: [Images, true ? "" : 0, true ? "" : 0]\n }, (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__/* .jsx */ .Y)(_components_Image_Image__WEBPACK_IMPORTED_MODULE_6__/* .Image */ ._, {\n imageContent: gatsbyImageData\n }))), (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__/* .jsx */ .Y)(WrapperInfoNews, null, (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__/* .jsx */ .Y)(gatsby__WEBPACK_IMPORTED_MODULE_2__.Link, {\n to: strapi_id === 32 ? `/${currentPrefix}${currentPrefix ? \'/\' : \'\'}trial` : `/${currentPrefix}${currentPrefix ? \'/\' : \'\'}news/${(0,_hooks_slugifyPath__WEBPACK_IMPORTED_MODULE_12__/* .slugify */ .Y)(title)}/${strapi_id}`,\n style: {\n color: _styles_colors__WEBPACK_IMPORTED_MODULE_5__/* .colors */ .T.darkblue\n }\n }, (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__/* .jsx */ .Y)(Title, null, title)), (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__/* .jsx */ .Y)(TeaserText, null, props.pageContext.lang === \'de\' ? teaser_text : english_teaser_text, (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__/* .jsx */ .Y)(_styles_shared_styles__WEBPACK_IMPORTED_MODULE_3__/* .ActionButton */ .rA, {\n fontMobile: !isDesktopView,\n css: isDesktopView ? {\n marginTop: \'23px\'\n } : {\n marginTop: \'20px\'\n },\n width: isDesktopView ? \'150px\' : \'100%\',\n height: isDesktopView ? \'35px\' : \'50px\',\n background: _styles_colors__WEBPACK_IMPORTED_MODULE_5__/* .colors */ .T.yellow,\n border: "none",\n onClick: async () => (0,gatsby__WEBPACK_IMPORTED_MODULE_2__.navigate)(strapi_id === 32 ? `/${currentPrefix}${currentPrefix ? \'/\' : \'\'}trial` : `/${currentPrefix}${currentPrefix ? \'/\' : \'\'}news/${(0,_hooks_slugifyPath__WEBPACK_IMPORTED_MODULE_12__/* .slugify */ .Y)(title)}/${strapi_id}`)\n }, t(\'MEHR ERFAHREN\')))));\n })))))))));\n}\nconst allNewsQuery = "4284326772";\nconst Container = /*#__PURE__*/(0,_emotion_styled_base__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)("div", true ? {\n target: "e10aza7e4"\n} : 0)( true ? {\n name: "1zut3m",\n styles: "@media (max-width: 768px){display:flex;flex-wrap:wrap;justify-content:space-between;gap:20px;}"\n} : 0);\nconst ContainerNews = /*#__PURE__*/(0,_emotion_styled_base__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)("div", true ? {\n target: "e10aza7e3"\n} : 0)("display:flex;gap:25px;margin-bottom:50px;font-weight:400;color:", _styles_colors__WEBPACK_IMPORTED_MODULE_5__/* .colors */ .T.darkblue, ";@media (max-width: 768px){flex-direction:column;gap:20px;}@media (max-width: 500px){margin-bottom:20px;}" + ( true ? "" : 0));\nconst WrapperInfoNews = /*#__PURE__*/(0,_emotion_styled_base__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)("div", true ? {\n target: "e10aza7e2"\n} : 0)( true ? {\n name: "6og82r",\n styles: "margin-left:0px"\n} : 0);\nconst Title = /*#__PURE__*/(0,_emotion_styled_base__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)("p", true ? {\n target: "e10aza7e1"\n} : 0)("margin:0;padding:0;color:", _styles_colors__WEBPACK_IMPORTED_MODULE_5__/* .colors */ .T.darkblue, ";", _styles_shared_styles__WEBPACK_IMPORTED_MODULE_3__/* .Black26 */ .gn, ";margin-bottom:10px;@media (max-width: 500px){", _styles_shared_styles__WEBPACK_IMPORTED_MODULE_3__/* .OutfitBold20Mobile */ .dU, ";}" + ( true ? "" : 0));\nconst TeaserText = /*#__PURE__*/(0,_emotion_styled_base__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)("div", true ? {\n target: "e10aza7e0"\n} : 0)(_styles_shared_styles__WEBPACK_IMPORTED_MODULE_3__/* .BoldMedium */ .Hb, ";max-width:480px;height:auto;overflow:hidden;text-overflow:wrap;@media (max-width: 768px){width:100%;}@media (max-width: 500px){", _styles_shared_styles__WEBPACK_IMPORTED_MODULE_3__/* .OutfitRegular20Mobile */ .SB, " width:100%;}" + ( true ? "" : 0));\nconst Images = true ? {\n name: "8t9kh9",\n styles: "min-width:240px;max-width:240px;height:175px;object-fit:cover;@media (max-width: 768px){width:100%;max-width:100%;height:300px;}"\n} : 0;\nconst Additional = true ? {\n name: "1lrz6yy",\n styles: "@media (max-width: 500px){display:flex;flex-direction:column;}"\n} : 0;\n\n//# sourceURL=webpack://tanzfaktur-frontend/./src/templates/allNews.tsx?')}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.