var/cache/dev/twig/7a/7a26f5723ace0d3999cc7fccd2fd2806dd4a1d4fa567c77d1251005c90acfdd5.php line 250

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* @PimcoreCore/Areabrick/wrapper.html.twig */
  16. class __TwigTemplate_c511785355e40d999be4263ec8e53bc36bc3ba867af022637bfae71740a5b0ac extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->parent false;
  28.         $this->blocks = [
  29.             'areabrickWrapper' => [$this'block_areabrickWrapper'],
  30.             'areabrickOpenTag' => [$this'block_areabrickOpenTag'],
  31.             'areabrickFrontend' => [$this'block_areabrickFrontend'],
  32.             'areabrickCloseTag' => [$this'block_areabrickCloseTag'],
  33.         ];
  34.         $this->sandbox $this->extensions[SandboxExtension::class];
  35.         $this->checkSecurity();
  36.     }
  37.     protected function doDisplay(array $context, array $blocks = []): iterable
  38.     {
  39.         $macros $this->macros;
  40.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@PimcoreCore/Areabrick/wrapper.html.twig"));
  42.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  43.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@PimcoreCore/Areabrick/wrapper.html.twig"));
  44.         // line 4
  45.         yield "
  46. ";
  47.         // line 6
  48.         yield "
  49. ";
  50.         // line 10
  51.         yield "
  52. ";
  53.         // line 11
  54.         if (((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'11$this->source); })()) && (isset($context["isAreaBlock"]) || array_key_exists("isAreaBlock"$context) ? $context["isAreaBlock"] : (function () { throw new RuntimeError('Variable "isAreaBlock" does not exist.'11$this->source); })()))) {
  55.             // line 12
  56.             yield "    <div class=\"pimcore_area_entry pimcore_block_entry\" ";
  57.             yield $this->sandbox->ensureToStringAllowed((isset($context["editmodeOuterAttributes"]) || array_key_exists("editmodeOuterAttributes"$context) ? $context["editmodeOuterAttributes"] : (function () { throw new RuntimeError('Variable "editmodeOuterAttributes" does not exist.'12$this->source); })()), 12$this->source);
  58.             yield " ";
  59.             yield $this->sandbox->ensureToStringAllowed((isset($context["editmodeGenericAttributes"]) || array_key_exists("editmodeGenericAttributes"$context) ? $context["editmodeGenericAttributes"] : (function () { throw new RuntimeError('Variable "editmodeGenericAttributes" does not exist.'12$this->source); })()), 12$this->source);
  60.             yield ">
  61.         <div class=\"pimcore_area_buttons\" ";
  62.             // line 13
  63.             yield $this->sandbox->ensureToStringAllowed((isset($context["editmodeGenericAttributes"]) || array_key_exists("editmodeGenericAttributes"$context) ? $context["editmodeGenericAttributes"] : (function () { throw new RuntimeError('Variable "editmodeGenericAttributes" does not exist.'13$this->source); })()), 13$this->source);
  64.             yield ">
  65.             <div class=\"pimcore_area_buttons_inner\">
  66.                 <div class=\"pimcore_block_plus_up\" ";
  67.             // line 15
  68.             yield $this->sandbox->ensureToStringAllowed((isset($context["editmodeGenericAttributes"]) || array_key_exists("editmodeGenericAttributes"$context) ? $context["editmodeGenericAttributes"] : (function () { throw new RuntimeError('Variable "editmodeGenericAttributes" does not exist.'15$this->source); })()), 15$this->source);
  69.             yield "></div>
  70.                 <div class=\"pimcore_block_plus\" ";
  71.             // line 16
  72.             yield $this->sandbox->ensureToStringAllowed((isset($context["editmodeGenericAttributes"]) || array_key_exists("editmodeGenericAttributes"$context) ? $context["editmodeGenericAttributes"] : (function () { throw new RuntimeError('Variable "editmodeGenericAttributes" does not exist.'16$this->source); })()), 16$this->source);
  73.             yield "></div>
  74.                 <div class=\"pimcore_block_minus\" ";
  75.             // line 17
  76.             yield $this->sandbox->ensureToStringAllowed((isset($context["editmodeGenericAttributes"]) || array_key_exists("editmodeGenericAttributes"$context) ? $context["editmodeGenericAttributes"] : (function () { throw new RuntimeError('Variable "editmodeGenericAttributes" does not exist.'17$this->source); })()), 17$this->source);
  77.             yield "></div>
  78.                 <div class=\"pimcore_block_up\" ";
  79.             // line 18
  80.             yield $this->sandbox->ensureToStringAllowed((isset($context["editmodeGenericAttributes"]) || array_key_exists("editmodeGenericAttributes"$context) ? $context["editmodeGenericAttributes"] : (function () { throw new RuntimeError('Variable "editmodeGenericAttributes" does not exist.'18$this->source); })()), 18$this->source);
  81.             yield "></div>
  82.                 <div class=\"pimcore_block_down\" ";
  83.             // line 19
  84.             yield $this->sandbox->ensureToStringAllowed((isset($context["editmodeGenericAttributes"]) || array_key_exists("editmodeGenericAttributes"$context) ? $context["editmodeGenericAttributes"] : (function () { throw new RuntimeError('Variable "editmodeGenericAttributes" does not exist.'19$this->source); })()), 19$this->source);
  85.             yield "></div>
  86.                 <div class=\"pimcore_block_type\" ";
  87.             // line 21
  88.             yield $this->sandbox->ensureToStringAllowed((isset($context["editmodeGenericAttributes"]) || array_key_exists("editmodeGenericAttributes"$context) ? $context["editmodeGenericAttributes"] : (function () { throw new RuntimeError('Variable "editmodeGenericAttributes" does not exist.'21$this->source); })()), 21$this->source);
  89.             yield "></div>
  90.                 <div class=\"pimcore_block_options\" ";
  91.             // line 22
  92.             yield $this->sandbox->ensureToStringAllowed((isset($context["editmodeGenericAttributes"]) || array_key_exists("editmodeGenericAttributes"$context) ? $context["editmodeGenericAttributes"] : (function () { throw new RuntimeError('Variable "editmodeGenericAttributes" does not exist.'22$this->source); })()), 22$this->source);
  93.             yield "></div>
  94.                 <div class=\"pimcore_block_visibility\" ";
  95.             // line 23
  96.             yield $this->sandbox->ensureToStringAllowed((isset($context["editmodeGenericAttributes"]) || array_key_exists("editmodeGenericAttributes"$context) ? $context["editmodeGenericAttributes"] : (function () { throw new RuntimeError('Variable "editmodeGenericAttributes" does not exist.'23$this->source); })()), 23$this->source);
  97.             yield "></div>
  98.                 ";
  99.             // line 25
  100.             if ((isset($context["editableDialog"]) || array_key_exists("editableDialog"$context) ? $context["editableDialog"] : (function () { throw new RuntimeError('Variable "editableDialog" does not exist.'25$this->source); })())) {
  101.                 // line 26
  102.                 yield "                    <div class=\"pimcore_block_dialog\" ";
  103.                 yield $this->sandbox->ensureToStringAllowed((isset($context["editmodeGenericAttributes"]) || array_key_exists("editmodeGenericAttributes"$context) ? $context["editmodeGenericAttributes"] : (function () { throw new RuntimeError('Variable "editmodeGenericAttributes" does not exist.'26$this->source); })()), 26$this->source);
  104.                 yield " ";
  105.                 yield $this->sandbox->ensureToStringAllowed((isset($context["editableDialogAttributes"]) || array_key_exists("editableDialogAttributes"$context) ? $context["editableDialogAttributes"] : (function () { throw new RuntimeError('Variable "editableDialogAttributes" does not exist.'26$this->source); })()), 26$this->source);
  106.                 yield "></div>
  107.                 ";
  108.             }
  109.             // line 28
  110.             yield "
  111.                 <div class=\"pimcore_block_label\" ";
  112.             // line 29
  113.             yield $this->sandbox->ensureToStringAllowed((isset($context["editmodeGenericAttributes"]) || array_key_exists("editmodeGenericAttributes"$context) ? $context["editmodeGenericAttributes"] : (function () { throw new RuntimeError('Variable "editmodeGenericAttributes" does not exist.'29$this->source); })()), 29$this->source);
  114.             yield "></div>
  115.                 <div class=\"pimcore_block_clear\" ";
  116.             // line 30
  117.             yield $this->sandbox->ensureToStringAllowed((isset($context["editmodeGenericAttributes"]) || array_key_exists("editmodeGenericAttributes"$context) ? $context["editmodeGenericAttributes"] : (function () { throw new RuntimeError('Variable "editmodeGenericAttributes" does not exist.'30$this->source); })()), 30$this->source);
  118.             yield "></div>
  119.             </div>
  120.         </div>
  121.         ";
  122.             // line 33
  123.             if ((isset($context["editableDialog"]) || array_key_exists("editableDialog"$context) ? $context["editableDialog"] : (function () { throw new RuntimeError('Variable "editableDialog" does not exist.'33$this->source); })())) {
  124.                 // line 34
  125.                 yield "            <template id=\"dialogBoxConfig-";
  126.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env$this->source, (isset($context["editableDialog"]) || array_key_exists("editableDialog"$context) ? $context["editableDialog"] : (function () { throw new RuntimeError('Variable "editableDialog" does not exist.'34$this->source); })()), "id", [], "any"falsefalsetrue34), 34$this->source), "html"nulltrue);
  127.                 yield "\">";
  128.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(json_encode($this->sandbox->ensureToStringAllowed((isset($context["editableDialog"]) || array_key_exists("editableDialog"$context) ? $context["editableDialog"] : (function () { throw new RuntimeError('Variable "editableDialog" does not exist.'34$this->source); })()), 34$this->source)), "html"nulltrue);
  129.                 yield "</template>
  130.             ";
  131.                 // line 35
  132.                 yield $this->sandbox->ensureToStringAllowed((isset($context["dialogHtml"]) || array_key_exists("dialogHtml"$context) ? $context["dialogHtml"] : (function () { throw new RuntimeError('Variable "dialogHtml" does not exist.'35$this->source); })()), 35$this->source);
  133.                 yield "
  134.         ";
  135.             }
  136.         }
  137.         // line 38
  138.         yield "
  139.         ";
  140.         // line 39
  141.         yield from $this->unwrap()->yieldBlock('areabrickWrapper'$context$blocks);
  142.         // line 52
  143.         yield "
  144. ";
  145.         // line 53
  146.         if (((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'53$this->source); })()) && (isset($context["isAreaBlock"]) || array_key_exists("isAreaBlock"$context) ? $context["isAreaBlock"] : (function () { throw new RuntimeError('Variable "isAreaBlock" does not exist.'53$this->source); })()))) {
  147.             // line 54
  148.             yield "    </div>
  149. ";
  150.         }
  151.         
  152.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  153.         
  154.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  155.         yield from [];
  156.     }
  157.     // line 39
  158.     /**
  159.      * @return iterable<null|scalar|\Stringable>
  160.      */
  161.     public function block_areabrickWrapper(array $context, array $blocks = []): iterable
  162.     {
  163.         $macros $this->macros;
  164.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  165.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""areabrickWrapper"));
  166.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  167.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""areabrickWrapper"));
  168.         // line 40
  169.         yield "            ";
  170.         yield from $this->unwrap()->yieldBlock('areabrickOpenTag'$context$blocks);
  171.         // line 43
  172.         yield "
  173.                 ";
  174.         // line 44
  175.         yield from $this->unwrap()->yieldBlock('areabrickFrontend'$context$blocks);
  176.         // line 47
  177.         yield "
  178.             ";
  179.         // line 48
  180.         yield from $this->unwrap()->yieldBlock('areabrickCloseTag'$context$blocks);
  181.         // line 51
  182.         yield "        ";
  183.         
  184.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  185.         
  186.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  187.         yield from [];
  188.     }
  189.     // line 40
  190.     /**
  191.      * @return iterable<null|scalar|\Stringable>
  192.      */
  193.     public function block_areabrickOpenTag(array $context, array $blocks = []): iterable
  194.     {
  195.         $macros $this->macros;
  196.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  197.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""areabrickOpenTag"));
  198.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  199.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""areabrickOpenTag"));
  200.         // line 41
  201.         yield "                ";
  202.         yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env$this->source, (isset($context["brick"]) || array_key_exists("brick"$context) ? $context["brick"] : (function () { throw new RuntimeError('Variable "brick" does not exist.'41$this->source); })()), "htmlTagOpen", [(isset($context["info"]) || array_key_exists("info"$context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.'41$this->source); })())], "method"falsefalsetrue41), 41$this->source);
  203.         yield "
  204.             ";
  205.         
  206.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  207.         
  208.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  209.         yield from [];
  210.     }
  211.     // line 44
  212.     /**
  213.      * @return iterable<null|scalar|\Stringable>
  214.      */
  215.     public function block_areabrickFrontend(array $context, array $blocks = []): iterable
  216.     {
  217.         $macros $this->macros;
  218.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  219.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""areabrickFrontend"));
  220.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  221.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""areabrickFrontend"));
  222.         // line 45
  223.         yield "                    ";
  224.         yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env$this->source, (isset($context["templating"]) || array_key_exists("templating"$context) ? $context["templating"] : (function () { throw new RuntimeError('Variable "templating" does not exist.'45$this->source); })()), "render", [(isset($context["viewTemplate"]) || array_key_exists("viewTemplate"$context) ? $context["viewTemplate"] : (function () { throw new RuntimeError('Variable "viewTemplate" does not exist.'45$this->source); })()), (isset($context["viewParameters"]) || array_key_exists("viewParameters"$context) ? $context["viewParameters"] : (function () { throw new RuntimeError('Variable "viewParameters" does not exist.'45$this->source); })())], "method"falsefalsetrue45), 45$this->source);
  225.         yield "
  226.                 ";
  227.         
  228.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  229.         
  230.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  231.         yield from [];
  232.     }
  233.     // line 48
  234.     /**
  235.      * @return iterable<null|scalar|\Stringable>
  236.      */
  237.     public function block_areabrickCloseTag(array $context, array $blocks = []): iterable
  238.     {
  239.         $macros $this->macros;
  240.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  241.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""areabrickCloseTag"));
  242.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  243.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""areabrickCloseTag"));
  244.         // line 49
  245.         yield "                ";
  246.         yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env$this->source, (isset($context["brick"]) || array_key_exists("brick"$context) ? $context["brick"] : (function () { throw new RuntimeError('Variable "brick" does not exist.'49$this->source); })()), "htmlTagClose", [(isset($context["info"]) || array_key_exists("info"$context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.'49$this->source); })())], "method"falsefalsetrue49), 49$this->source);
  247.         yield "
  248.             ";
  249.         
  250.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  251.         
  252.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  253.         yield from [];
  254.     }
  255.     /**
  256.      * @codeCoverageIgnore
  257.      */
  258.     public function getTemplateName(): string
  259.     {
  260.         return "@PimcoreCore/Areabrick/wrapper.html.twig";
  261.     }
  262.     /**
  263.      * @codeCoverageIgnore
  264.      */
  265.     public function isTraitable(): bool
  266.     {
  267.         return false;
  268.     }
  269.     /**
  270.      * @codeCoverageIgnore
  271.      */
  272.     public function getDebugInfo(): array
  273.     {
  274.         return array (  276 => 49,  263 => 48,  249 => 45,  236 => 44,  222 => 41,  209 => 40,  198 => 51,  196 => 48,  193 => 47,  191 => 44,  188 => 43,  185 => 40,  172 => 39,  159 => 54,  157 => 53,  154 => 52,  152 => 39,  149 => 38,  143 => 35,  136 => 34,  134 => 33,  128 => 30,  124 => 29,  121 => 28,  113 => 26,  111 => 25,  106 => 23,  102 => 22,  98 => 21,  93 => 19,  89 => 18,  85 => 17,  81 => 16,  77 => 15,  72 => 13,  65 => 12,  63 => 11,  60 => 10,  57 => 6,  54 => 4,);
  275.     }
  276.     public function getSourceContext(): Source
  277.     {
  278.         return new Source("{# @var brick \\Pimcore\\Extension\\Document\\Areabrick\\AreabrickInterface #}
  279. {# @var info \\Pimcore\\Model\\Document\\Editable\\Area\\Info #}
  280. {# @var templating \\Symfony\\Component\\Templating\\EngineInterface #}
  281. {# @var editmode bool #}
  282. {# @var viewTemplate string #}
  283. {# @var viewParameters array #}
  284. {# @var editableDialog \\Pimcore\\Extension\\Document\\Areabrick\\EditableDialogBoxConfiguration #}
  285. {% if editmode and isAreaBlock %}
  286.     <div class=\"pimcore_area_entry pimcore_block_entry\" {{ editmodeOuterAttributes|raw }} {{ editmodeGenericAttributes|raw }}>
  287.         <div class=\"pimcore_area_buttons\" {{ editmodeGenericAttributes|raw }}>
  288.             <div class=\"pimcore_area_buttons_inner\">
  289.                 <div class=\"pimcore_block_plus_up\" {{ editmodeGenericAttributes|raw }}></div>
  290.                 <div class=\"pimcore_block_plus\" {{ editmodeGenericAttributes|raw }}></div>
  291.                 <div class=\"pimcore_block_minus\" {{ editmodeGenericAttributes|raw }}></div>
  292.                 <div class=\"pimcore_block_up\" {{ editmodeGenericAttributes|raw }}></div>
  293.                 <div class=\"pimcore_block_down\" {{ editmodeGenericAttributes|raw }}></div>
  294.                 <div class=\"pimcore_block_type\" {{ editmodeGenericAttributes|raw }}></div>
  295.                 <div class=\"pimcore_block_options\" {{ editmodeGenericAttributes|raw }}></div>
  296.                 <div class=\"pimcore_block_visibility\" {{ editmodeGenericAttributes|raw }}></div>
  297.                 {% if editableDialog %}
  298.                     <div class=\"pimcore_block_dialog\" {{ editmodeGenericAttributes|raw }} {{ editableDialogAttributes|raw }}></div>
  299.                 {% endif %}
  300.                 <div class=\"pimcore_block_label\" {{ editmodeGenericAttributes|raw }}></div>
  301.                 <div class=\"pimcore_block_clear\" {{ editmodeGenericAttributes|raw }}></div>
  302.             </div>
  303.         </div>
  304.         {% if editableDialog %}
  305.             <template id=\"dialogBoxConfig-{{ editableDialog.id }}\">{{ editableDialog|json_encode() }}</template>
  306.             {{ dialogHtml|raw }}
  307.         {% endif %}
  308. {% endif %}
  309.         {% block areabrickWrapper %}
  310.             {% block areabrickOpenTag %}
  311.                 {{ brick.htmlTagOpen(info) | raw }}
  312.             {% endblock %}
  313.                 {% block areabrickFrontend %}
  314.                     {{ templating.render(viewTemplate, viewParameters) | raw }}
  315.                 {% endblock %}
  316.             {% block areabrickCloseTag %}
  317.                 {{ brick.htmlTagClose(info) | raw }}
  318.             {% endblock %}
  319.         {% endblock %}
  320. {% if editmode and isAreaBlock %}
  321.     </div>
  322. {% endif %}
  323. ""@PimcoreCore/Areabrick/wrapper.html.twig""/home/forge/testing.coolworld.ptchr.dev/vendor/pimcore/pimcore/bundles/CoreBundle/Resources/views/Areabrick/wrapper.html.twig");
  324.     }
  325.     
  326.     public function checkSecurity()
  327.     {
  328.         static $tags = ["if" => 11"block" => 39];
  329.         static $filters = ["raw" => 12"escape" => 34"json_encode" => 34];
  330.         static $functions = [];
  331.         try {
  332.             $this->sandbox->checkSecurity(
  333.                 ['if''block'],
  334.                 ['raw''escape''json_encode'],
  335.                 [],
  336.                 $this->source
  337.             );
  338.         } catch (SecurityError $e) {
  339.             $e->setSourceContext($this->source);
  340.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  341.                 $e->setTemplateLine($tags[$e->getTagName()]);
  342.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  343.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  344.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  345.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  346.             }
  347.             throw $e;
  348.         }
  349.     }
  350. }