<?php

/* @websiteWidgets/iframe/templates/default.twig.html */
class __TwigTemplate_115b619ae264b42249e80cc93dc3d29d0f1e88088f34dd8aa622de03a509cfb2 extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        // line 1
        echo "<div data-widget-id=\"";
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["currentWidget"]) ? $context["currentWidget"] : null), "getWidgetId", [], "method"), "html", null, true);
        echo "\" class=\"moto-widget moto-widget-iframe moto-preset-default ";
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["currentWidget"]) ? $context["currentWidget"] : null), "getSpacing", [0 => "classes"], "method"), "html", null, true);
        echo " ";
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["currentWidget"]) ? $context["currentWidget"] : null), "getVisibleOn", [0 => "classes"], "method"), "html", null, true);
        echo " ";
        if ($this->getAttribute($this->getAttribute((isset($context["currentWidget"]) ? $context["currentWidget"] : null), "properties", []), "animation", [])) {
            echo " wow ";
            echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute((isset($context["currentWidget"]) ? $context["currentWidget"] : null), "properties", []), "animation", []), "html", null, true);
        }
        echo "\" data-widget=\"iframe\" data-preset=\"default\" data-animation=\"";
        echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute((isset($context["currentWidget"]) ? $context["currentWidget"] : null), "properties", []), "animation", []), "html", null, true);
        echo "\" data-spacing=\"";
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["currentWidget"]) ? $context["currentWidget"] : null), "getSpacing", [0 => "short"], "method"), "html", null, true);
        echo "\">
    ";
        // line 2
        if ((isset($context["isPreview"]) ? $context["isPreview"] : null)) {
            echo "<div class=\"moto-widget-cover\"></div>";
        }
        // line 3
        echo "    ";
        if ($this->getAttribute($this->getAttribute((isset($context["currentWidget"]) ? $context["currentWidget"] : null), "properties", []), "url", [])) {
            // line 4
            echo "        <iframe class=\"moto-widget-iframe-frame\" width=\"100%\" height=\"";
            echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute((isset($context["currentWidget"]) ? $context["currentWidget"] : null), "properties", []), "height", []), "html", null, true);
            echo "\" frameborder=\"0\" src=\"";
            echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute((isset($context["currentWidget"]) ? $context["currentWidget"] : null), "properties", []), "url", []), "html", null, true);
            echo "\"></iframe>
    ";
        } else {
            // line 6
            echo "        <div class=\"moto-widget-empty\"></div>
    ";
        }
        // line 8
        echo "</div>";
    }

    public function getTemplateName()
    {
        return "@websiteWidgets/iframe/templates/default.twig.html";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  56 => 8,  52 => 6,  44 => 4,  41 => 3,  37 => 2,  19 => 1,);
    }

    /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
    public function getSource()
    {
        @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);

        return $this->getSourceContext()->getCode();
    }

    public function getSourceContext()
    {
        return new Twig_Source("", "@websiteWidgets/iframe/templates/default.twig.html", "/data05/c3111787/public_html/brcc.me.uk/mt-includes/widgets/iframe/templates/default.twig.html");
    }
}
