<?php

/* core/themes/classy/templates/content-edit/image-widget.html.twig */
class __TwigTemplate_f99d6ca7d0c13edb554d57352e5e8d80bf27ee64d3a2cbd336543550eb870e8b extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = array(
        );
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        $__internal_573a590ce5e1749c3a753a3885a7d551360882ef9d56fa0b7bb7e82a485eb033 = $this->env->getExtension("native_profiler");
        $__internal_573a590ce5e1749c3a753a3885a7d551360882ef9d56fa0b7bb7e82a485eb033->enter($__internal_573a590ce5e1749c3a753a3885a7d551360882ef9d56fa0b7bb7e82a485eb033_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "core/themes/classy/templates/content-edit/image-widget.html.twig"));

        $tags = array("if" => 15);
        $filters = array("without" => 22);
        $functions = array("attach_library" => 13);

        try {
            $this->env->getExtension('sandbox')->checkSecurity(
                array('if'),
                array('without'),
                array('attach_library')
            );
        } catch (Twig_Sandbox_SecurityError $e) {
            $e->setTemplateFile($this->getTemplateName());

            if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
                $e->setTemplateLine($tags[$e->getTagName()]);
            } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
                $e->setTemplateLine($filters[$e->getFilterName()]);
            } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
                $e->setTemplateLine($functions[$e->getFunctionName()]);
            }

            throw $e;
        }

        // line 13
        echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->env->getExtension('drupal_core')->attachLibrary("classy/image-widget"), "html", null, true));
        echo "
<div";
        // line 14
        echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, (isset($context["attributes"]) ? $context["attributes"] : null), "html", null, true));
        echo ">
  ";
        // line 15
        if ($this->getAttribute((isset($context["data"]) ? $context["data"] : null), "preview", array())) {
            // line 16
            echo "    <div class=\"image-preview\">
      ";
            // line 17
            echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute((isset($context["data"]) ? $context["data"] : null), "preview", array()), "html", null, true));
            echo "
    </div>
  ";
        }
        // line 20
        echo "  <div class=\"image-widget-data\">
    ";
        // line 22
        echo "    ";
        echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_without((isset($context["data"]) ? $context["data"] : null), "preview"), "html", null, true));
        echo "
  </div>
</div>
";
        
        $__internal_573a590ce5e1749c3a753a3885a7d551360882ef9d56fa0b7bb7e82a485eb033->leave($__internal_573a590ce5e1749c3a753a3885a7d551360882ef9d56fa0b7bb7e82a485eb033_prof);

    }

    public function getTemplateName()
    {
        return "core/themes/classy/templates/content-edit/image-widget.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  68 => 22,  65 => 20,  59 => 17,  56 => 16,  54 => 15,  50 => 14,  46 => 13,);
    }
}
/* {#*/
/* /***/
/*  * @file*/
/*  * Theme override for an image field widget.*/
/*  **/
/*  * Available variables:*/
/*  * - attributes: HTML attributes for the containing element.*/
/*  * - data: Render elements of the image widget.*/
/*  **/
/*  * @see template_preprocess_image_widget()*/
/*  *//* */
/* #}*/
/* {{ attach_library('classy/image-widget') }}*/
/* <div{{ attributes }}>*/
/*   {% if data.preview %}*/
/*     <div class="image-preview">*/
/*       {{ data.preview }}*/
/*     </div>*/
/*   {% endif %}*/
/*   <div class="image-widget-data">*/
/*     {# Render widget data without the image preview that was output already. #}*/
/*     {{ data|without('preview') }}*/
/*   </div>*/
/* </div>*/
/* */
