<?php
class Content_action_homeNewsEvents_24041bb62511f5fc extends \TYPO3Fluid\Fluid\Core\Compiler\AbstractCompiledTemplate {
    public function getLayoutName(\TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) {
        return (string)'Content';
    }
    public function hasLayout() {
        return true;
    }
    public function addCompiledNamespaces(\TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) {
        $renderingContext->getViewHelperResolver()->addNamespaces(array (
  'core' => 
  array (
    0 => 'TYPO3\\CMS\\Core\\ViewHelpers',
  ),
  'f' => 
  array (
    0 => 'TYPO3Fluid\\Fluid\\ViewHelpers',
    1 => 'TYPO3\\CMS\\Fluid\\ViewHelpers',
    2 => 'TYPO3\\Fluid\\ViewHelpers',
  ),
  'formvh' => 
  array (
    0 => 'TYPO3\\CMS\\Form\\ViewHelpers',
  ),
  'v' => 
  array (
    0 => 'FluidTYPO3\\Vhs\\ViewHelpers',
  ),
  'flux' => 
  array (
    0 => 'FluidTYPO3\\Flux\\ViewHelpers',
  ),
  'um' => 
  array (
    0 => 'Uhura\\Grossmarkt\\ViewHelpers',
  ),
  'wgacore' => 
  array (
    0 => 'Wga\\Core\\ViewHelpers',
  ),
));
    }
    /**
 * section Configuration
 */
public function section_ebfdecd3ae0e32ed(\TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) {
    $output0 = '';

$output0 .= '
        ';
// Rendering ViewHelper FluidTYPO3\Flux\ViewHelpers\FormViewHelper
$renderChildrenClosure2 = function() use ($renderingContext) {
$output4 = '';

$output4 .= '
            ';
// Rendering ViewHelper FluidTYPO3\Flux\ViewHelpers\Field\InputViewHelper
$renderChildrenClosure6 = function() use ($renderingContext) {
return NULL;
};

$array7 = [
'0' => 'true',
];

$expression8 = function($context) {return TRUE;};

$arguments5 = [
'default' => NULL,
'native' => false,
'position' => NULL,
'exclude' => false,
'transform' => NULL,
'enabled' => true,
'requestUpdate' => false,
'displayCond' => NULL,
'inherit' => true,
'inheritEmpty' => true,
'clear' => false,
'variables' => [],
'extensionName' => NULL,
'config' => [],
'eval' => 'trim',
'size' => 32,
'maxCharacters' => NULL,
'minimum' => NULL,
'maximum' => NULL,
'placeholder' => NULL,
'name' => 'title',
'label' => 'Block title',
'required' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean(
    $expression8(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array7)),
    $renderingContext
),
];

$output4 .= FluidTYPO3\Flux\ViewHelpers\Field\InputViewHelper::renderStatic($arguments5, $renderChildrenClosure6, $renderingContext);

$output4 .= '
            ';
// Rendering ViewHelper FluidTYPO3\Flux\ViewHelpers\Field\InputViewHelper
$renderChildrenClosure10 = function() use ($renderingContext) {
return NULL;
};

$arguments9 = [
'native' => false,
'position' => NULL,
'required' => false,
'exclude' => false,
'transform' => NULL,
'enabled' => true,
'requestUpdate' => false,
'displayCond' => NULL,
'inherit' => true,
'inheritEmpty' => true,
'clear' => false,
'variables' => [],
'extensionName' => NULL,
'config' => [],
'eval' => 'trim',
'size' => 32,
'maxCharacters' => NULL,
'minimum' => NULL,
'maximum' => NULL,
'placeholder' => NULL,
'name' => 'limit',
'label' => 'Limit',
'default' => 10,
];

$output4 .= FluidTYPO3\Flux\ViewHelpers\Field\InputViewHelper::renderStatic($arguments9, $renderChildrenClosure10, $renderingContext);

$output4 .= '
            ';
// Rendering ViewHelper FluidTYPO3\Flux\ViewHelpers\Field\InputViewHelper
$renderChildrenClosure12 = function() use ($renderingContext) {
return NULL;
};

$array13 = [
'type' => 'group',
'internal_type' => 'db',
'allowed' => 'pages',
'maxitems' => 1,
'size' => 3,
'minitems' => 1,
];

$arguments11 = [
'default' => NULL,
'native' => false,
'position' => NULL,
'required' => false,
'exclude' => false,
'transform' => NULL,
'enabled' => true,
'requestUpdate' => false,
'displayCond' => NULL,
'inherit' => true,
'inheritEmpty' => true,
'clear' => false,
'variables' => [],
'extensionName' => NULL,
'eval' => 'trim',
'size' => 32,
'maxCharacters' => NULL,
'minimum' => NULL,
'maximum' => NULL,
'placeholder' => NULL,
'name' => 'startingpoint',
'label' => 'Directory containing News and Events items',
'config' => $array13,
];

$output4 .= FluidTYPO3\Flux\ViewHelpers\Field\InputViewHelper::renderStatic($arguments11, $renderChildrenClosure12, $renderingContext);

$output4 .= '
            ';
// Rendering ViewHelper FluidTYPO3\Flux\ViewHelpers\Field\InputViewHelper
$renderChildrenClosure15 = function() use ($renderingContext) {
return NULL;
};

$array16 = [
'type' => 'group',
'internal_type' => 'db',
'allowed' => 'pages',
'maxitems' => 1,
'size' => 3,
'minitems' => 1,
];

$arguments14 = [
'default' => NULL,
'native' => false,
'position' => NULL,
'required' => false,
'exclude' => false,
'transform' => NULL,
'enabled' => true,
'requestUpdate' => false,
'displayCond' => NULL,
'inherit' => true,
'inheritEmpty' => true,
'clear' => false,
'variables' => [],
'extensionName' => NULL,
'eval' => 'trim',
'size' => 32,
'maxCharacters' => NULL,
'minimum' => NULL,
'maximum' => NULL,
'placeholder' => NULL,
'name' => 'detailPid',
'label' => 'Detail view page',
'config' => $array16,
];

$output4 .= FluidTYPO3\Flux\ViewHelpers\Field\InputViewHelper::renderStatic($arguments14, $renderChildrenClosure15, $renderingContext);

$output4 .= '
        ';
return $output4;
};

$array3 = [
'group' => 'home',
];

$arguments1 = [
'description' => NULL,
'enabled' => true,
'variables' => [],
'localLanguageFileRelativePath' => '/Resources/Private/Language/locallang.xlf',
'extensionName' => NULL,
'id' => 'homenewsevents',
'options' => $array3,
'label' => 'LLL:EXT:grossmarkt/Resources/Private/Language/locallang_db.xlf:fce.homenewsevents',
];

$output0 .= call_user_func_array( function ($var) { return (is_string($var) || (is_object($var) && method_exists($var, '__toString')) ? htmlspecialchars((string) $var, ENT_QUOTES) : $var); }, [FluidTYPO3\Flux\ViewHelpers\FormViewHelper::renderStatic($arguments1, $renderChildrenClosure2, $renderingContext)]);

$output0 .= '
    ';

    return $output0;
}
/**
 * section Preview
 */
public function section_5cb114ce2a3b886b(\TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) {
    return '
    ';
}
/**
 * section Main
 */
public function section_b0000ec1c8d5f383(\TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) {
    $output17 = '';

$output17 .= '
        ';
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper

$array19 = [
'0' => $renderingContext->getVariableProvider()->getByPath('startingpoint'),
'1' => ' && ',
'2' => $renderingContext->getVariableProvider()->getByPath('detailPid'),
];

$expression20 = function($context) {return (TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node0"]) && TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node2"]));};

$arguments18 = [
'then' => NULL,
'else' => NULL,
'condition' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean(
    $expression20(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array19)),
    $renderingContext
),
'__then' => function() use ($renderingContext) {
$output21 = '';

$output21 .= '
            ';
// Rendering ViewHelper FluidTYPO3\Vhs\ViewHelpers\Variable\SetViewHelper
$renderChildrenClosure23 = function() use ($renderingContext) {
// Rendering ViewHelper Uhura\Grossmarkt\ViewHelpers\Resource\GetNewsItemsViewHelper
$renderChildrenClosure25 = function() use ($renderingContext) {
return NULL;
};

$arguments24 = [
'pid' => $renderingContext->getVariableProvider()->getByPath('startingpoint'),
'limit' => $renderingContext->getVariableProvider()->getByPath('limit'),
];
return Uhura\Grossmarkt\ViewHelpers\Resource\GetNewsItemsViewHelper::renderStatic($arguments24, $renderChildrenClosure25, $renderingContext);
};

$arguments22 = [
'value' => NULL,
'name' => 'news',
];
$renderChildrenClosure23 = ($arguments22['value'] !== null) ? function() use ($arguments22) { return $arguments22['value']; } : $renderChildrenClosure23;
$output21 .= call_user_func_array( function ($var) { return (is_string($var) || (is_object($var) && method_exists($var, '__toString')) ? htmlspecialchars((string) $var, ENT_QUOTES) : $var); }, [FluidTYPO3\Vhs\ViewHelpers\Variable\SetViewHelper::renderStatic($arguments22, $renderChildrenClosure23, $renderingContext)]);

$output21 .= '
        ';
return $output21;
},
];

$output17 .= TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper::renderStatic($arguments18, static fn() => '', $renderingContext)
;

$output17 .= '
        ';
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper

$array27 = [
'0' => $renderingContext->getVariableProvider()->getByPath('news'),
];

$expression28 = function($context) {return TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node0"]);};

$arguments26 = [
'then' => NULL,
'else' => NULL,
'condition' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean(
    $expression28(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array27)),
    $renderingContext
),
'__then' => function() use ($renderingContext) {
$output29 = '';

$output29 .= '
            ';
// Rendering ViewHelper FluidTYPO3\Vhs\ViewHelpers\Variable\SetViewHelper
$renderChildrenClosure31 = function() use ($renderingContext) {
return NULL;
};
// Rendering ViewHelper FluidTYPO3\Vhs\ViewHelpers\Variable\TyposcriptViewHelper
$renderChildrenClosure33 = function() use ($renderingContext) {
return NULL;
};

$arguments32 = [
'path' => 'plugin.tx_news',
];
$renderChildrenClosure33 = ($arguments32['path'] !== null) ? function() use ($arguments32) { return $arguments32['path']; } : $renderChildrenClosure33;
$arguments30 = [
'name' => 'news_config',
'value' => FluidTYPO3\Vhs\ViewHelpers\Variable\TyposcriptViewHelper::renderStatic($arguments32, $renderChildrenClosure33, $renderingContext),
];
$renderChildrenClosure31 = ($arguments30['value'] !== null) ? function() use ($arguments30) { return $arguments30['value']; } : $renderChildrenClosure31;
$output29 .= call_user_func_array( function ($var) { return (is_string($var) || (is_object($var) && method_exists($var, '__toString')) ? htmlspecialchars((string) $var, ENT_QUOTES) : $var); }, [FluidTYPO3\Vhs\ViewHelpers\Variable\SetViewHelper::renderStatic($arguments30, $renderChildrenClosure31, $renderingContext)]);

$output29 .= '
            ';
// Rendering ViewHelper FluidTYPO3\Vhs\ViewHelpers\Variable\SetViewHelper
$renderChildrenClosure35 = function() use ($renderingContext) {
return NULL;
};
// Rendering ViewHelper FluidTYPO3\Vhs\ViewHelpers\Iterator\MergeViewHelper
$renderChildrenClosure37 = function() use ($renderingContext) {
return NULL;
};

$array38 = [
'startingpoint' => $renderingContext->getVariableProvider()->getByPath('startingpoint'),
'detailPid' => $renderingContext->getVariableProvider()->getByPath('detailPid'),
];

$arguments36 = [
'useKeys' => false,
'a' => $renderingContext->getVariableProvider()->getByPath('news_config.settings'),
'b' => $array38,
];

$arguments34 = [
'name' => 'settings',
'value' => FluidTYPO3\Vhs\ViewHelpers\Iterator\MergeViewHelper::renderStatic($arguments36, $renderChildrenClosure37, $renderingContext),
];
$renderChildrenClosure35 = ($arguments34['value'] !== null) ? function() use ($arguments34) { return $arguments34['value']; } : $renderChildrenClosure35;
$output29 .= call_user_func_array( function ($var) { return (is_string($var) || (is_object($var) && method_exists($var, '__toString')) ? htmlspecialchars((string) $var, ENT_QUOTES) : $var); }, [FluidTYPO3\Vhs\ViewHelpers\Variable\SetViewHelper::renderStatic($arguments34, $renderChildrenClosure35, $renderingContext)]);

$output29 .= '

            <section class="section">
                <div class="container container--xl">
                    <div class="section__heading">
                        <div class="section__title">
                            <h2 class="title">';

$output29 .= call_user_func_array( function ($var) { return (is_string($var) || (is_object($var) && method_exists($var, '__toString')) ? htmlspecialchars((string) $var, ENT_QUOTES) : $var); }, [$renderingContext->getVariableProvider()->getByPath('title')]);

$output29 .= '</h2>
                        </div>
                    </div>
                    <div class="section__content">
                        <div class="splide news-events-carousel"
                             x-carousel="{&quot;pagination&quot;:true,&quot;type&quot;:&quot;slide&quot;,&quot;focus&quot;:0,&quot;rewind&quot;:false,&quot;omitEnd&quot;:true,&quot;drag&quot;:true,&quot;perPage&quot;:1,&quot;gap&quot;:38,&quot;breakpoints&quot;:{&quot;480&quot;:{&quot;autoWidth&quot;:true},&quot;768&quot;:{&quot;pagination&quot;:false}}}">
                            <div class="splide__track">
                                ';
// Rendering ViewHelper FluidTYPO3\Vhs\ViewHelpers\Render\TemplateViewHelper
$renderChildrenClosure40 = function() use ($renderingContext) {
return NULL;
};

$array41 = [
'news' => $renderingContext->getVariableProvider()->getByPath('news'),
'settings' => $renderingContext->getVariableProvider()->getByPath('settings'),
];

$arguments39 = [
'onError' => NULL,
'graceful' => false,
'format' => NULL,
'file' => 'EXT:grossmarkt/Resources/Private/Partials/Extensions/News/List/HomeNewsEventsListView.html',
'variables' => $array41,
'paths' => $renderingContext->getVariableProvider()->getByPath('news_config.view'),
];

$output29 .= FluidTYPO3\Vhs\ViewHelpers\Render\TemplateViewHelper::renderStatic($arguments39, $renderChildrenClosure40, $renderingContext);

$output29 .= '
                            </div>
                            <div class="splide__arrows">
                                <button class="splide__arrow splide__arrow--prev">
                                    <svg width="35" height="23" viewBox="0 0 35 23" xmlns="http://www.w3.org/2000/svg">
                                        <path d="M2 10C1.17157 10 0.5 10.6716 0.5 11.5C0.5 12.3284 1.17157 13 2 13L2 10ZM34.0607 12.5607C34.6464 11.9749 34.6464 11.0251 34.0607 10.4393L24.5147 0.8934C23.9289 0.307613 22.9792 0.307613 22.3934 0.8934C21.8076 1.47919 21.8076 2.42893 22.3934 3.01472L30.8787 11.5L22.3934 19.9853C21.8076 20.5711 21.8076 21.5208 22.3934 22.1066C22.9792 22.6924 23.9289 22.6924 24.5147 22.1066L34.0607 12.5607ZM2 13L33 13L33 10L2 10L2 13Z"/>
                                    </svg>
                                </button>
                                <button class="splide__arrow splide__arrow--next">
                                    <svg width="35" height="23" viewBox="0 0 35 23" xmlns="http://www.w3.org/2000/svg">
                                        <path d="M2 10C1.17157 10 0.5 10.6716 0.5 11.5C0.5 12.3284 1.17157 13 2 13L2 10ZM34.0607 12.5607C34.6464 11.9749 34.6464 11.0251 34.0607 10.4393L24.5147 0.8934C23.9289 0.307613 22.9792 0.307613 22.3934 0.8934C21.8076 1.47919 21.8076 2.42893 22.3934 3.01472L30.8787 11.5L22.3934 19.9853C21.8076 20.5711 21.8076 21.5208 22.3934 22.1066C22.9792 22.6924 23.9289 22.6924 24.5147 22.1066L34.0607 12.5607ZM2 13L33 13L33 10L2 10L2 13Z"/>
                                    </svg>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
            </section>
        ';
return $output29;
},
];

$output17 .= TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper::renderStatic($arguments26, static fn() => '', $renderingContext)
;

$output17 .= '
    ';

    return $output17;
}
/**
 * Main Render function
 */
public function render(\TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) {
    $output42 = '';

$output42 .= '<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
      xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
      xmlns:flux="http://typo3.org/ns/FluidTYPO3/Flux/ViewHelpers"
      xmlns:v="http://typo3.org/ns/FluidTYPO3/Vhs/ViewHelpers"
      xmlns:um="http://typo3.org/ns/Uhura/Grossmarkt/ViewHelpers"
>
    ';

$output42 .= '';

$output42 .= '
    ';

$output42 .= '';

$output42 .= '

    ';

$output42 .= '';

$output42 .= '

    ';

$output42 .= '';

$output42 .= '
</html>';

    return $output42;
}

}

#