<?php

class __Mustache_be89d65f7802035a6ec4e2ff207df2e8 extends Mustache_Template
{
    private $lambdaHelper;

    public function renderInternal(Mustache_Context $context, $indent = '')
    {
        $this->lambdaHelper = new Mustache_LambdaHelper($this->mustache, $context);
        $buffer = '';

        $buffer .= $indent . '<div class="mfp">
';
        $buffer .= $indent . '    <section class="mfp-hero">
';
        $buffer .= $indent . '        <div>
';
        $buffer .= $indent . '            <span>';
        $value = $context->find('str');
        $buffer .= $this->sectionF8cff26139d4a8b99537d85feebf5b0f($context, $indent, $value);
        $buffer .= '</span>
';
        $buffer .= $indent . '            <h2>';
        $value = $context->find('str');
        $buffer .= $this->sectionF97c85cdf0f8c759c8f50011dff0d930($context, $indent, $value);
        $buffer .= '</h2>
';
        $buffer .= $indent . '        </div>
';
        $buffer .= $indent . '    </section>
';
        $buffer .= $indent . '
';
        $value = $context->find('hasrows');
        $buffer .= $this->section192cb5a8a628356c7d94e4b9412c7470($context, $indent, $value);
        $buffer .= $indent . '
';
        $value = $context->find('hasrows');
        if (empty($value)) {
            
            $buffer .= $indent . '        <section class="mfp-empty">
';
            $buffer .= $indent . '            <strong>';
            $value = $context->find('str');
            $buffer .= $this->sectionF43c63a175f9d8695f960c66eba74393($context, $indent, $value);
            $buffer .= '</strong>
';
            $buffer .= $indent . '        </section>
';
        }
        $buffer .= $indent . '</div>
';

        return $buffer;
    }

    private function sectionF8cff26139d4a8b99537d85feebf5b0f(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = 'teacherarea, local_miflora_portfolio';
            $result = (string) call_user_func($value, $source, $this->lambdaHelper);
            $buffer .= $result;
        } elseif (!empty($value)) {
            $values = $this->isIterable($value) ? $value : array($value);
            foreach ($values as $value) {
                $context->push($value);
                
                $buffer .= 'teacherarea, local_miflora_portfolio';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function sectionF97c85cdf0f8c759c8f50011dff0d930(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = 'reviewqueue, local_miflora_portfolio';
            $result = (string) call_user_func($value, $source, $this->lambdaHelper);
            $buffer .= $result;
        } elseif (!empty($value)) {
            $values = $this->isIterable($value) ? $value : array($value);
            foreach ($values as $value) {
                $context->push($value);
                
                $buffer .= 'reviewqueue, local_miflora_portfolio';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function section3291a9e82ff93695ea87a6857be00b19(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = '
                <a href="{{url}}">
                    <strong>{{title}}</strong>
                    <span>{{owner}} · {{date}}</span>
                </a>
            ';
            $result = (string) call_user_func($value, $source, $this->lambdaHelper);
            $buffer .= $result;
        } elseif (!empty($value)) {
            $values = $this->isIterable($value) ? $value : array($value);
            foreach ($values as $value) {
                $context->push($value);
                
                $buffer .= $indent . '                <a href="';
                $value = $this->resolveValue($context->find('url'), $context);
                $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
                $buffer .= '">
';
                $buffer .= $indent . '                    <strong>';
                $value = $this->resolveValue($context->find('title'), $context);
                $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
                $buffer .= '</strong>
';
                $buffer .= $indent . '                    <span>';
                $value = $this->resolveValue($context->find('owner'), $context);
                $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
                $buffer .= ' · ';
                $value = $this->resolveValue($context->find('date'), $context);
                $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
                $buffer .= '</span>
';
                $buffer .= $indent . '                </a>
';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function section192cb5a8a628356c7d94e4b9412c7470(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = '
        <div class="mfp-reviewlist">
            {{#rows}}
                <a href="{{url}}">
                    <strong>{{title}}</strong>
                    <span>{{owner}} · {{date}}</span>
                </a>
            {{/rows}}
        </div>
    ';
            $result = (string) call_user_func($value, $source, $this->lambdaHelper);
            $buffer .= $result;
        } elseif (!empty($value)) {
            $values = $this->isIterable($value) ? $value : array($value);
            foreach ($values as $value) {
                $context->push($value);
                
                $buffer .= $indent . '        <div class="mfp-reviewlist">
';
                $value = $context->find('rows');
                $buffer .= $this->section3291a9e82ff93695ea87a6857be00b19($context, $indent, $value);
                $buffer .= $indent . '        </div>
';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function sectionF43c63a175f9d8695f960c66eba74393(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = 'noreviewitems, local_miflora_portfolio';
            $result = (string) call_user_func($value, $source, $this->lambdaHelper);
            $buffer .= $result;
        } elseif (!empty($value)) {
            $values = $this->isIterable($value) ? $value : array($value);
            foreach ($values as $value) {
                $context->push($value);
                
                $buffer .= 'noreviewitems, local_miflora_portfolio';
                $context->pop();
            }
        }
    
        return $buffer;
    }

}
