<?php

class partial_MediaGallery_Simple_89c329d6560a6f5064e5ecc3d765b6fb75aacf4a extends \TYPO3Fluid\Fluid\Core\Compiler\AbstractCompiledTemplate {

public function getLayoutName(\TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) {
$self = $this;
return (string) '';
}
public function hasLayout() {
return FALSE;
}
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',
  ),
  'formvh' => 
  array (
    0 => 'TYPO3\\CMS\\Form\\ViewHelpers',
  ),
  'flux' => 
  array (
    0 => 'FluidTYPO3\\Flux\\ViewHelpers',
  ),
  'sfc' => 
  array (
    0 => 'SFC\\Staticfilecache\\ViewHelpers',
  ),
  'v' => 
  array (
    0 => 'FluidTYPO3\\Vhs\\ViewHelpers',
  ),
  'e' => 
  array (
    0 => 'Medienreaktor\\Energize\\ViewHelpers',
  ),
));
}

/**
 * Main Render function
 */
public function render(\TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) {
$self = $this;
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\ForViewHelper
$renderChildrenClosure1 = function() use ($renderingContext, $self) {
$output3 = '';

$output3 .= '

    <figure class="';
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper
$renderChildrenClosure5 = function() use ($renderingContext, $self) {
return NULL;
};
$arguments4 = array();
$arguments4['then'] = NULL;
$arguments4['else'] = NULL;
$arguments4['condition'] = false;
// Rendering Boolean node
// Rendering Array
$array6 = array();
$array7 = array (
);$array6['0'] = $renderingContext->getVariableProvider()->getByPath('data.header_layout', $array7);
$array6['1'] = ' != 5';

$expression8 = function($context) {return (TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node0"]) != 5);};
$arguments4['condition'] = TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean(
					$expression8(
						TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array6)
					),
					$renderingContext
				);
$arguments4['then'] = 'mb-3 mb-md-5';
$arguments4['else'] = ' ';

$output3 .= TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper::renderStatic($arguments4, $renderChildrenClosure5, $renderingContext);

$output3 .= '
    ">
        ';
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\SwitchViewHelper
$renderChildrenClosure10 = function() use ($renderingContext, $self) {
$output35 = '';

$output35 .= '
            ';
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\CaseViewHelper
$renderChildrenClosure37 = function() use ($renderingContext, $self) {
$output38 = '';

$output38 .= '

                ';
// Rendering ViewHelper TYPO3\CMS\Fluid\ViewHelpers\MediaViewHelper
$renderChildrenClosure40 = function() use ($renderingContext, $self) {
return NULL;
};
$arguments39 = array();
$arguments39['additionalAttributes'] = NULL;
$arguments39['data'] = NULL;
$arguments39['aria'] = NULL;
$arguments39['class'] = NULL;
$arguments39['dir'] = NULL;
$arguments39['id'] = NULL;
$arguments39['lang'] = NULL;
$arguments39['style'] = NULL;
$arguments39['title'] = NULL;
$arguments39['accesskey'] = NULL;
$arguments39['tabindex'] = NULL;
$arguments39['onclick'] = NULL;
$arguments39['alt'] = NULL;
$arguments39['file'] = NULL;
$arguments39['additionalConfig'] = array (
);
$arguments39['width'] = NULL;
$arguments39['height'] = NULL;
$arguments39['cropVariant'] = 'default';
$arguments39['fileExtension'] = NULL;
$arguments39['loading'] = NULL;
$arguments39['class'] = 'audio-embed-item';
$array41 = array (
);$arguments39['file'] = $renderingContext->getVariableProvider()->getByPath('asset', $array41);
$arguments39['width'] = 994;
$array42 = array (
);$arguments39['alt'] = $renderingContext->getVariableProvider()->getByPath('asset.alternative', $array42);
$array43 = array (
);$arguments39['title'] = $renderingContext->getVariableProvider()->getByPath('asset.title', $array43);

$output38 .= TYPO3\CMS\Fluid\ViewHelpers\MediaViewHelper::renderStatic($arguments39, $renderChildrenClosure40, $renderingContext);

$output38 .= '

            ';
return $output38;
};
$arguments36 = array();
$arguments36['value'] = NULL;
$arguments36['value'] = 3;

$output35 .= '';

$output35 .= '
            ';
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\CaseViewHelper
$renderChildrenClosure45 = function() use ($renderingContext, $self) {
$output46 = '';

$output46 .= '

                <div class="embed-responsive embed-responsive-16by9 box-shadow">
                    ';
// Rendering ViewHelper TYPO3\CMS\Fluid\ViewHelpers\MediaViewHelper
$renderChildrenClosure48 = function() use ($renderingContext, $self) {
return NULL;
};
$arguments47 = array();
$arguments47['additionalAttributes'] = NULL;
$arguments47['data'] = NULL;
$arguments47['aria'] = NULL;
$arguments47['class'] = NULL;
$arguments47['dir'] = NULL;
$arguments47['id'] = NULL;
$arguments47['lang'] = NULL;
$arguments47['style'] = NULL;
$arguments47['title'] = NULL;
$arguments47['accesskey'] = NULL;
$arguments47['tabindex'] = NULL;
$arguments47['onclick'] = NULL;
$arguments47['alt'] = NULL;
$arguments47['file'] = NULL;
$arguments47['additionalConfig'] = array (
);
$arguments47['width'] = NULL;
$arguments47['height'] = NULL;
$arguments47['cropVariant'] = 'default';
$arguments47['fileExtension'] = NULL;
$arguments47['loading'] = NULL;
$arguments47['class'] = 'embed-responsive-item';
$array49 = array (
);$arguments47['file'] = $renderingContext->getVariableProvider()->getByPath('asset', $array49);
$arguments47['width'] = 994;
$array50 = array (
);$arguments47['alt'] = $renderingContext->getVariableProvider()->getByPath('asset.alternative', $array50);
$array51 = array (
);$arguments47['title'] = $renderingContext->getVariableProvider()->getByPath('asset.title', $array51);

$output46 .= TYPO3\CMS\Fluid\ViewHelpers\MediaViewHelper::renderStatic($arguments47, $renderChildrenClosure48, $renderingContext);

$output46 .= '
                </div>

            ';
return $output46;
};
$arguments44 = array();
$arguments44['value'] = NULL;
$arguments44['value'] = 4;

$output35 .= '';

$output35 .= '
            ';
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\DefaultCaseViewHelper
$renderChildrenClosure53 = function() use ($renderingContext, $self) {
$output54 = '';

$output54 .= '

                ';
// Rendering ViewHelper TYPO3\CMS\Fluid\ViewHelpers\Link\TypolinkViewHelper
$renderChildrenClosure56 = function() use ($renderingContext, $self) {
$output59 = '';

$output59 .= '
                    ';
// Rendering ViewHelper TYPO3\CMS\Fluid\ViewHelpers\ImageViewHelper
$renderChildrenClosure61 = function() use ($renderingContext, $self) {
return NULL;
};
$arguments60 = array();
$arguments60['additionalAttributes'] = NULL;
$arguments60['data'] = NULL;
$arguments60['aria'] = NULL;
$arguments60['class'] = NULL;
$arguments60['dir'] = NULL;
$arguments60['id'] = NULL;
$arguments60['lang'] = NULL;
$arguments60['style'] = NULL;
$arguments60['title'] = NULL;
$arguments60['accesskey'] = NULL;
$arguments60['tabindex'] = NULL;
$arguments60['onclick'] = NULL;
$arguments60['alt'] = NULL;
$arguments60['ismap'] = NULL;
$arguments60['longdesc'] = NULL;
$arguments60['usemap'] = NULL;
$arguments60['loading'] = NULL;
$arguments60['src'] = '';
$arguments60['treatIdAsReference'] = false;
$arguments60['image'] = NULL;
$arguments60['crop'] = NULL;
$arguments60['cropVariant'] = 'default';
$arguments60['fileExtension'] = NULL;
$arguments60['width'] = NULL;
$arguments60['height'] = NULL;
$arguments60['minWidth'] = NULL;
$arguments60['minHeight'] = NULL;
$arguments60['maxWidth'] = NULL;
$arguments60['maxHeight'] = NULL;
$arguments60['absolute'] = false;
$array62 = array (
);$arguments60['image'] = $renderingContext->getVariableProvider()->getByPath('asset', $array62);
$arguments60['width'] = 994;
$arguments60['class'] = 'img-fluid';
$array63 = array (
);$arguments60['title'] = $renderingContext->getVariableProvider()->getByPath('asset.title', $array63);
$array64 = array (
);$arguments60['alt'] = $renderingContext->getVariableProvider()->getByPath('asset.alternative', $array64);

$output59 .= TYPO3\CMS\Fluid\ViewHelpers\ImageViewHelper::renderStatic($arguments60, $renderChildrenClosure61, $renderingContext);

$output59 .= '
                ';
return $output59;
};
$arguments55 = array();
$arguments55['parameter'] = NULL;
$arguments55['target'] = '';
$arguments55['class'] = '';
$arguments55['title'] = '';
$arguments55['language'] = NULL;
$arguments55['additionalParams'] = '';
$arguments55['additionalAttributes'] = array (
);
$arguments55['useCacheHash'] = NULL;
$arguments55['addQueryString'] = false;
$arguments55['addQueryStringMethod'] = 'GET';
$arguments55['addQueryStringExclude'] = '';
$arguments55['absolute'] = false;
$arguments55['parts-as'] = 'typoLinkParts';
$array57 = array (
);$arguments55['parameter'] = $renderingContext->getVariableProvider()->getByPath('asset.link', $array57);
$array58 = array (
);$arguments55['title'] = $renderingContext->getVariableProvider()->getByPath('asset.title', $array58);

$output54 .= TYPO3\CMS\Fluid\ViewHelpers\Link\TypolinkViewHelper::renderStatic($arguments55, $renderChildrenClosure56, $renderingContext);

$output54 .= '

            ';
return $output54;
};
$arguments52 = array();

$output35 .= '';

$output35 .= '
        ';
return $output35;
};
$arguments9 = array();
$arguments9['expression'] = NULL;
$array34 = array (
);$arguments9['expression'] = $renderingContext->getVariableProvider()->getByPath('asset.type', $array34);

$output3 .= call_user_func_array(function($arguments) use ($renderingContext, $self) {
switch ($arguments['expression']) {
case call_user_func(function() use ($renderingContext, $self) {

return 3;
}): return call_user_func(function() use ($renderingContext, $self) {
$output11 = '';

$output11 .= '

                ';
// Rendering ViewHelper TYPO3\CMS\Fluid\ViewHelpers\MediaViewHelper
$renderChildrenClosure13 = function() use ($renderingContext, $self) {
return NULL;
};
$arguments12 = array();
$arguments12['additionalAttributes'] = NULL;
$arguments12['data'] = NULL;
$arguments12['aria'] = NULL;
$arguments12['class'] = NULL;
$arguments12['dir'] = NULL;
$arguments12['id'] = NULL;
$arguments12['lang'] = NULL;
$arguments12['style'] = NULL;
$arguments12['title'] = NULL;
$arguments12['accesskey'] = NULL;
$arguments12['tabindex'] = NULL;
$arguments12['onclick'] = NULL;
$arguments12['alt'] = NULL;
$arguments12['file'] = NULL;
$arguments12['additionalConfig'] = array (
);
$arguments12['width'] = NULL;
$arguments12['height'] = NULL;
$arguments12['cropVariant'] = 'default';
$arguments12['fileExtension'] = NULL;
$arguments12['loading'] = NULL;
$arguments12['class'] = 'audio-embed-item';
$array14 = array (
);$arguments12['file'] = $renderingContext->getVariableProvider()->getByPath('asset', $array14);
$arguments12['width'] = 994;
$array15 = array (
);$arguments12['alt'] = $renderingContext->getVariableProvider()->getByPath('asset.alternative', $array15);
$array16 = array (
);$arguments12['title'] = $renderingContext->getVariableProvider()->getByPath('asset.title', $array16);

$output11 .= TYPO3\CMS\Fluid\ViewHelpers\MediaViewHelper::renderStatic($arguments12, $renderChildrenClosure13, $renderingContext);

$output11 .= '

            ';
return $output11;
});
case call_user_func(function() use ($renderingContext, $self) {

return 4;
}): return call_user_func(function() use ($renderingContext, $self) {
$output17 = '';

$output17 .= '

                <div class="embed-responsive embed-responsive-16by9 box-shadow">
                    ';
// Rendering ViewHelper TYPO3\CMS\Fluid\ViewHelpers\MediaViewHelper
$renderChildrenClosure19 = function() use ($renderingContext, $self) {
return NULL;
};
$arguments18 = array();
$arguments18['additionalAttributes'] = NULL;
$arguments18['data'] = NULL;
$arguments18['aria'] = NULL;
$arguments18['class'] = NULL;
$arguments18['dir'] = NULL;
$arguments18['id'] = NULL;
$arguments18['lang'] = NULL;
$arguments18['style'] = NULL;
$arguments18['title'] = NULL;
$arguments18['accesskey'] = NULL;
$arguments18['tabindex'] = NULL;
$arguments18['onclick'] = NULL;
$arguments18['alt'] = NULL;
$arguments18['file'] = NULL;
$arguments18['additionalConfig'] = array (
);
$arguments18['width'] = NULL;
$arguments18['height'] = NULL;
$arguments18['cropVariant'] = 'default';
$arguments18['fileExtension'] = NULL;
$arguments18['loading'] = NULL;
$arguments18['class'] = 'embed-responsive-item';
$array20 = array (
);$arguments18['file'] = $renderingContext->getVariableProvider()->getByPath('asset', $array20);
$arguments18['width'] = 994;
$array21 = array (
);$arguments18['alt'] = $renderingContext->getVariableProvider()->getByPath('asset.alternative', $array21);
$array22 = array (
);$arguments18['title'] = $renderingContext->getVariableProvider()->getByPath('asset.title', $array22);

$output17 .= TYPO3\CMS\Fluid\ViewHelpers\MediaViewHelper::renderStatic($arguments18, $renderChildrenClosure19, $renderingContext);

$output17 .= '
                </div>

            ';
return $output17;
});
default: return call_user_func(function() use ($renderingContext, $self) {
$output23 = '';

$output23 .= '

                ';
// Rendering ViewHelper TYPO3\CMS\Fluid\ViewHelpers\Link\TypolinkViewHelper
$renderChildrenClosure25 = function() use ($renderingContext, $self) {
$output28 = '';

$output28 .= '
                    ';
// Rendering ViewHelper TYPO3\CMS\Fluid\ViewHelpers\ImageViewHelper
$renderChildrenClosure30 = function() use ($renderingContext, $self) {
return NULL;
};
$arguments29 = array();
$arguments29['additionalAttributes'] = NULL;
$arguments29['data'] = NULL;
$arguments29['aria'] = NULL;
$arguments29['class'] = NULL;
$arguments29['dir'] = NULL;
$arguments29['id'] = NULL;
$arguments29['lang'] = NULL;
$arguments29['style'] = NULL;
$arguments29['title'] = NULL;
$arguments29['accesskey'] = NULL;
$arguments29['tabindex'] = NULL;
$arguments29['onclick'] = NULL;
$arguments29['alt'] = NULL;
$arguments29['ismap'] = NULL;
$arguments29['longdesc'] = NULL;
$arguments29['usemap'] = NULL;
$arguments29['loading'] = NULL;
$arguments29['src'] = '';
$arguments29['treatIdAsReference'] = false;
$arguments29['image'] = NULL;
$arguments29['crop'] = NULL;
$arguments29['cropVariant'] = 'default';
$arguments29['fileExtension'] = NULL;
$arguments29['width'] = NULL;
$arguments29['height'] = NULL;
$arguments29['minWidth'] = NULL;
$arguments29['minHeight'] = NULL;
$arguments29['maxWidth'] = NULL;
$arguments29['maxHeight'] = NULL;
$arguments29['absolute'] = false;
$array31 = array (
);$arguments29['image'] = $renderingContext->getVariableProvider()->getByPath('asset', $array31);
$arguments29['width'] = 994;
$arguments29['class'] = 'img-fluid';
$array32 = array (
);$arguments29['title'] = $renderingContext->getVariableProvider()->getByPath('asset.title', $array32);
$array33 = array (
);$arguments29['alt'] = $renderingContext->getVariableProvider()->getByPath('asset.alternative', $array33);

$output28 .= TYPO3\CMS\Fluid\ViewHelpers\ImageViewHelper::renderStatic($arguments29, $renderChildrenClosure30, $renderingContext);

$output28 .= '
                ';
return $output28;
};
$arguments24 = array();
$arguments24['parameter'] = NULL;
$arguments24['target'] = '';
$arguments24['class'] = '';
$arguments24['title'] = '';
$arguments24['language'] = NULL;
$arguments24['additionalParams'] = '';
$arguments24['additionalAttributes'] = array (
);
$arguments24['useCacheHash'] = NULL;
$arguments24['addQueryString'] = false;
$arguments24['addQueryStringMethod'] = 'GET';
$arguments24['addQueryStringExclude'] = '';
$arguments24['absolute'] = false;
$arguments24['parts-as'] = 'typoLinkParts';
$array26 = array (
);$arguments24['parameter'] = $renderingContext->getVariableProvider()->getByPath('asset.link', $array26);
$array27 = array (
);$arguments24['title'] = $renderingContext->getVariableProvider()->getByPath('asset.title', $array27);

$output23 .= TYPO3\CMS\Fluid\ViewHelpers\Link\TypolinkViewHelper::renderStatic($arguments24, $renderChildrenClosure25, $renderingContext);

$output23 .= '

            ';
return $output23;
});
}
}, array($arguments9));

$output3 .= '

        ';
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper
$renderChildrenClosure66 = function() use ($renderingContext, $self) {
$output71 = '';

$output71 .= '
            <figcaption class="mt-3">
                ';
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper
$renderChildrenClosure73 = function() use ($renderingContext, $self) {
$output77 = '';

$output77 .= '
                    <p class="h5">';
$array78 = array (
);
$output77 .= 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('asset.title', $array78)]);

$output77 .= '</p>
                ';
return $output77;
};
$arguments72 = array();
$arguments72['then'] = NULL;
$arguments72['else'] = NULL;
$arguments72['condition'] = false;
// Rendering Boolean node
// Rendering Array
$array74 = array();
$array75 = array (
);$array74['0'] = $renderingContext->getVariableProvider()->getByPath('asset.title', $array75);

$expression76 = function($context) {return TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node0"]);};
$arguments72['condition'] = TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean(
					$expression76(
						TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array74)
					),
					$renderingContext
				);
$arguments72['__thenClosure'] = $renderChildrenClosure73;

$output71 .= TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper::renderStatic($arguments72, $renderChildrenClosure73, $renderingContext);

$output71 .= '
                <p class="small">';
// Rendering ViewHelper TYPO3\CMS\Fluid\ViewHelpers\Format\Nl2brViewHelper
$renderChildrenClosure80 = function() use ($renderingContext, $self) {
$array81 = array (
);return 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('asset.description', $array81)]);
};
$arguments79 = array();
$arguments79['value'] = NULL;
$renderChildrenClosure80 = ($arguments79['value'] !== null) ? function() use ($arguments79) { return $arguments79['value']; } : $renderChildrenClosure80;
$output71 .= TYPO3\CMS\Fluid\ViewHelpers\Format\Nl2brViewHelper::renderStatic($arguments79, $renderChildrenClosure80, $renderingContext);

$output71 .= '</p>
            </figcaption>
        ';
return $output71;
};
$arguments65 = array();
$arguments65['then'] = NULL;
$arguments65['else'] = NULL;
$arguments65['condition'] = false;
// Rendering Boolean node
// Rendering Array
$array67 = array();
$array68 = array (
);$array67['0'] = $renderingContext->getVariableProvider()->getByPath('asset.title', $array68);
$array67['1'] = ' || ';
$array69 = array (
);$array67['2'] = $renderingContext->getVariableProvider()->getByPath('asset.description', $array69);

$expression70 = function($context) {return (TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node0"]) || TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node2"]));};
$arguments65['condition'] = TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean(
					$expression70(
						TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array67)
					),
					$renderingContext
				);
$arguments65['__thenClosure'] = $renderChildrenClosure66;

$output3 .= TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper::renderStatic($arguments65, $renderChildrenClosure66, $renderingContext);

$output3 .= '
    </figure>

';
return $output3;
};
$arguments0 = array();
$arguments0['each'] = NULL;
$arguments0['as'] = NULL;
$arguments0['key'] = NULL;
$arguments0['reverse'] = false;
$arguments0['iteration'] = NULL;
$array2 = array (
);$arguments0['each'] = $renderingContext->getVariableProvider()->getByPath('assets', $array2);
$arguments0['as'] = 'asset';

return TYPO3Fluid\Fluid\ViewHelpers\ForViewHelper::renderStatic($arguments0, $renderChildrenClosure1, $renderingContext);
}


}
#