<?php

class __Mustache_e6fd535adc8d8991564a1235e0a5f114 extends Mustache_Template
{
    private $lambdaHelper;

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

        $buffer .= $indent . '<section class="mfp-detail mfp-preview">
';
        $buffer .= $indent . '    <div class="mfp-detail__heading">
';
        $buffer .= $indent . '        <div>
';
        $buffer .= $indent . '            <span class="mfp-status">';
        $value = $this->resolveValue($context->find('status'), $context);
        $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
        $buffer .= '</span>
';
        $buffer .= $indent . '            <h2>';
        $value = $this->resolveValue($context->find('title'), $context);
        $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
        $buffer .= '</h2>
';
        $buffer .= $indent . '            <p class="mfp-detail__meta">';
        $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 .= '</p>
';
        $buffer .= $indent . '        </div>
';
        $buffer .= $indent . '    </div>
';
        $buffer .= $indent . '
';
        $buffer .= $indent . '    <div class="mfp-detail__text mfp-prose">';
        $value = $this->resolveValue($context->find('description'), $context);
        $buffer .= ($value === null ? '' : $value);
        $buffer .= '</div>
';
        $buffer .= $indent . '
';
        $value = $context->find('hasimages');
        $buffer .= $this->section3103af6a09536dff50757e7cbd1e8291($context, $indent, $value);
        $buffer .= $indent . '
';
        $value = $context->find('haspdfs');
        $buffer .= $this->section3244f5d2d6e50e7ed3a4e46ba78c45ca($context, $indent, $value);
        $buffer .= $indent . '
';
        $value = $context->find('hasvideo');
        $buffer .= $this->sectionAb16d7229fcde8e6c5f8d70579218c50($context, $indent, $value);
        $buffer .= $indent . '
';
        $value = $context->find('hasreflection');
        $buffer .= $this->section872fa8ac839d177efa16b599914dfdf8($context, $indent, $value);
        $buffer .= $indent . '
';
        $value = $context->find('hasfeedback');
        $buffer .= $this->section03b465373985a637ff8a8771b0071097($context, $indent, $value);
        $buffer .= $indent . '</section>
';

        return $buffer;
    }

    private function section4ba4b14612fe0e16bb0686dcd53cafdf(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = '
                <a href="{{url}}" target="_blank" rel="noopener noreferrer">
                    <img src="{{url}}" alt="{{name}}" loading="lazy">
                </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 .= '" target="_blank" rel="noopener noreferrer">
';
                $buffer .= $indent . '                    <img src="';
                $value = $this->resolveValue($context->find('url'), $context);
                $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
                $buffer .= '" alt="';
                $value = $this->resolveValue($context->find('name'), $context);
                $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
                $buffer .= '" loading="lazy">
';
                $buffer .= $indent . '                </a>
';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function section3103af6a09536dff50757e7cbd1e8291(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = '
        <div class="mfp-gallery">
            {{#images}}
                <a href="{{url}}" target="_blank" rel="noopener noreferrer">
                    <img src="{{url}}" alt="{{name}}" loading="lazy">
                </a>
            {{/images}}
        </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-gallery">
';
                $value = $context->find('images');
                $buffer .= $this->section4ba4b14612fe0e16bb0686dcd53cafdf($context, $indent, $value);
                $buffer .= $indent . '        </div>
';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function section630a419f9de0235c5a2dda6c91469144(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = 'pdf, 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 .= 'pdf, local_miflora_portfolio';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function section2e5eec1687fa4a65f238cee024f5bfdc(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = '
                    <div class="mfp-pdf">
                        <iframe
                            src="{{url}}"
                            title="{{name}}"
                            loading="lazy"
                        ></iframe>
                    </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-pdf">
';
                $buffer .= $indent . '                        <iframe
';
                $buffer .= $indent . '                            src="';
                $value = $this->resolveValue($context->find('url'), $context);
                $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
                $buffer .= '"
';
                $buffer .= $indent . '                            title="';
                $value = $this->resolveValue($context->find('name'), $context);
                $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
                $buffer .= '"
';
                $buffer .= $indent . '                            loading="lazy"
';
                $buffer .= $indent . '                        ></iframe>
';
                $buffer .= $indent . '                    </div>
';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function section701e42a569162b8f2971ff2e2690564f(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = 'opennewtab, 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 .= 'opennewtab, local_miflora_portfolio';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function section13cf5db0d79eeab730af60a65cd50617(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = '
                {{#embed}}
                    <div class="mfp-pdf">
                        <iframe
                            src="{{url}}"
                            title="{{name}}"
                            loading="lazy"
                        ></iframe>
                    </div>
                {{/embed}}
                <p>
                    <a
                        class="btn btn-outline-primary"
                        href="{{url}}"
                        target="_blank"
                        rel="noopener noreferrer"
                    >
                        {{#str}}opennewtab, local_miflora_portfolio{{/str}}: {{name}}
                    </a>
                </p>
            ';
            $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);
                
                $value = $context->find('embed');
                $buffer .= $this->section2e5eec1687fa4a65f238cee024f5bfdc($context, $indent, $value);
                $buffer .= $indent . '                <p>
';
                $buffer .= $indent . '                    <a
';
                $buffer .= $indent . '                        class="btn btn-outline-primary"
';
                $buffer .= $indent . '                        href="';
                $value = $this->resolveValue($context->find('url'), $context);
                $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
                $buffer .= '"
';
                $buffer .= $indent . '                        target="_blank"
';
                $buffer .= $indent . '                        rel="noopener noreferrer"
';
                $buffer .= $indent . '                    >
';
                $buffer .= $indent . '                        ';
                $value = $context->find('str');
                $buffer .= $this->section701e42a569162b8f2971ff2e2690564f($context, $indent, $value);
                $buffer .= ': ';
                $value = $this->resolveValue($context->find('name'), $context);
                $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
                $buffer .= '
';
                $buffer .= $indent . '                    </a>
';
                $buffer .= $indent . '                </p>
';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function section3244f5d2d6e50e7ed3a4e46ba78c45ca(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = '
        <div class="mfp-media-section">
            <h3 class="mfp-section-title">{{#str}}pdf, local_miflora_portfolio{{/str}}</h3>
            {{#pdfs}}
                {{#embed}}
                    <div class="mfp-pdf">
                        <iframe
                            src="{{url}}"
                            title="{{name}}"
                            loading="lazy"
                        ></iframe>
                    </div>
                {{/embed}}
                <p>
                    <a
                        class="btn btn-outline-primary"
                        href="{{url}}"
                        target="_blank"
                        rel="noopener noreferrer"
                    >
                        {{#str}}opennewtab, local_miflora_portfolio{{/str}}: {{name}}
                    </a>
                </p>
            {{/pdfs}}
        </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-media-section">
';
                $buffer .= $indent . '            <h3 class="mfp-section-title">';
                $value = $context->find('str');
                $buffer .= $this->section630a419f9de0235c5a2dda6c91469144($context, $indent, $value);
                $buffer .= '</h3>
';
                $value = $context->find('pdfs');
                $buffer .= $this->section13cf5db0d79eeab730af60a65cd50617($context, $indent, $value);
                $buffer .= $indent . '        </div>
';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function section78f676fd2bb458c541f600f8e04bbad5(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = 'videourl, 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 .= 'videourl, local_miflora_portfolio';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function section310a0cc0e218d848f353ddec25c7128b(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = '
                <div class="mfp-video">
                    {{{videohtml}}}
                </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-video">
';
                $buffer .= $indent . '                    ';
                $value = $this->resolveValue($context->find('videohtml'), $context);
                $buffer .= ($value === null ? '' : $value);
                $buffer .= '
';
                $buffer .= $indent . '                </div>
';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function sectionE705fa38807cc0349ccdb289c90bf15e(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = 'openvideo, 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 .= 'openvideo, local_miflora_portfolio';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function sectionFd38dde40b614e750c68acb11cddf62e(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = '
                <a
                    class="btn btn-outline-primary"
                    href="{{videourl}}"
                    target="_blank"
                    rel="noopener noreferrer"
                >
                    {{#str}}openvideo, local_miflora_portfolio{{/str}}
                </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
';
                $buffer .= $indent . '                    class="btn btn-outline-primary"
';
                $buffer .= $indent . '                    href="';
                $value = $this->resolveValue($context->find('videourl'), $context);
                $buffer .= ($value === null ? '' : call_user_func($this->mustache->getEscape(), $value));
                $buffer .= '"
';
                $buffer .= $indent . '                    target="_blank"
';
                $buffer .= $indent . '                    rel="noopener noreferrer"
';
                $buffer .= $indent . '                >
';
                $buffer .= $indent . '                    ';
                $value = $context->find('str');
                $buffer .= $this->sectionE705fa38807cc0349ccdb289c90bf15e($context, $indent, $value);
                $buffer .= '
';
                $buffer .= $indent . '                </a>
';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function sectionAb16d7229fcde8e6c5f8d70579218c50(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = '
        <div class="mfp-media-section">
            <h3 class="mfp-section-title">{{#str}}videourl, local_miflora_portfolio{{/str}}</h3>

            {{#videoembed}}
                <div class="mfp-video">
                    {{{videohtml}}}
                </div>
            {{/videoembed}}

            {{#videoopen}}
                <a
                    class="btn btn-outline-primary"
                    href="{{videourl}}"
                    target="_blank"
                    rel="noopener noreferrer"
                >
                    {{#str}}openvideo, local_miflora_portfolio{{/str}}
                </a>
            {{/videoopen}}
        </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-media-section">
';
                $buffer .= $indent . '            <h3 class="mfp-section-title">';
                $value = $context->find('str');
                $buffer .= $this->section78f676fd2bb458c541f600f8e04bbad5($context, $indent, $value);
                $buffer .= '</h3>
';
                $buffer .= $indent . '
';
                $value = $context->find('videoembed');
                $buffer .= $this->section310a0cc0e218d848f353ddec25c7128b($context, $indent, $value);
                $buffer .= $indent . '
';
                $value = $context->find('videoopen');
                $buffer .= $this->sectionFd38dde40b614e750c68acb11cddf62e($context, $indent, $value);
                $buffer .= $indent . '        </div>
';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function sectionC4369d40a98f3638c3f701f5470bb82d(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = 'reflection, 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 .= 'reflection, local_miflora_portfolio';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function section872fa8ac839d177efa16b599914dfdf8(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = '
        <section class="mfp-note">
            <h3 class="mfp-section-title">{{#str}}reflection, local_miflora_portfolio{{/str}}</h3>
            <div class="mfp-prose">{{{reflection}}}</div>
        </section>
    ';
            $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 . '        <section class="mfp-note">
';
                $buffer .= $indent . '            <h3 class="mfp-section-title">';
                $value = $context->find('str');
                $buffer .= $this->sectionC4369d40a98f3638c3f701f5470bb82d($context, $indent, $value);
                $buffer .= '</h3>
';
                $buffer .= $indent . '            <div class="mfp-prose">';
                $value = $this->resolveValue($context->find('reflection'), $context);
                $buffer .= ($value === null ? '' : $value);
                $buffer .= '</div>
';
                $buffer .= $indent . '        </section>
';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function section8e2ba487f100214b8674f740c910e1e9(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = 'feedback, 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 .= 'feedback, local_miflora_portfolio';
                $context->pop();
            }
        }
    
        return $buffer;
    }

    private function section03b465373985a637ff8a8771b0071097(Mustache_Context $context, $indent, $value)
    {
        $buffer = '';
    
        if (!is_string($value) && is_callable($value)) {
            $source = '
        <section class="mfp-feedback">
            <h3 class="mfp-section-title">{{#str}}feedback, local_miflora_portfolio{{/str}}</h3>
            <div class="mfp-prose">{{{feedback}}}</div>
        </section>
    ';
            $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 . '        <section class="mfp-feedback">
';
                $buffer .= $indent . '            <h3 class="mfp-section-title">';
                $value = $context->find('str');
                $buffer .= $this->section8e2ba487f100214b8674f740c910e1e9($context, $indent, $value);
                $buffer .= '</h3>
';
                $buffer .= $indent . '            <div class="mfp-prose">';
                $value = $this->resolveValue($context->find('feedback'), $context);
                $buffer .= ($value === null ? '' : $value);
                $buffer .= '</div>
';
                $buffer .= $indent . '        </section>
';
                $context->pop();
            }
        }
    
        return $buffer;
    }

}
