<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
use Twig\TemplateWrapper;

/* @SuluPage/Export/Webspace/1.2.xliff.twig */
class __TwigTemplate_22a074b7ac2fdd62195f69f4e21a964f extends Template
{
    private Source $source;
    /**
     * @var array<string, Template>
     */
    private array $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->blocks = [
            'main' => [$this, 'block_main'],
            'page' => [$this, 'block_page'],
            'view' => [$this, 'block_view'],
        ];
    }

    protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
    {
        // line 1
        return "@SuluPage/Export/Webspace/base.export.twig";
    }

    protected function doDisplay(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $this->parent = $this->load("@SuluPage/Export/Webspace/base.export.twig", 1);
        yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
    }

    // line 3
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_main(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 4
        yield "<?xml version=\"1.0\" encoding=\"utf-8\"?>
<xliff xmlns=\"urn:oasis:names:tc:xliff:document:1.2\" version=\"1.2\">
    <!-- WebspaceKey: ";
        // line 6
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["webspaceKey"] ?? null), "html", null, true);
        yield " -->
";
        // line 7
        yield from $this->yieldParentBlock("main", $context, $blocks);
        yield "
</xliff>
";
        yield from [];
    }

    // line 12
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_page(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 13
        yield "    <file source-language=\"";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["document"] ?? null), "locale", [], "any", false, false, false, 13), "html", null, true);
        yield "\" datatype=\"plaintext\" original=\"";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["document"] ?? null), "uuid", [], "any", false, false, false, 13), "html", null, true);
        yield "\">
        <body>";
        // line 15
        yield from $this->yieldParentBlock("page", $context, $blocks);
        // line 16
        yield "</body>
    </file>
";
        yield from [];
    }

    // line 21
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_view(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 22
        $_v0 = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
            // line 23
            yield "    ";
            $context["attributes"] = "";
            // line 24
            yield "    ";
            $context["target"] = "";
            // line 25
            if ((CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "translate", [], "any", true, true, false, 25) &&  !CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "translate", [], "any", false, false, false, 25))) {
                // line 26
                $context["attributes"] = (($context["attributes"] ?? null) . " translate=\"no\"");
                // line 27
                yield "        ";
                $context["target"] = ($context["value"] ?? null);
            }
            // line 29
            if ((($context["type"] ?? null) == "text_editor")) {
                // line 30
                yield "        ";
                $context["attributes"] = (($context["attributes"] ?? null) . " datatype=\"html\"");
                // line 31
                yield "    ";
            }
            // line 32
            yield "    ";
            yield from [];
        })())) ? '' : new Markup($tmp, $this->env->getCharset());
        // line 22
        yield Twig\Extension\CoreExtension::spaceless($_v0);
        // line 33
        yield "    ";
        // line 34
        yield "
            <!-- ";
        // line 35
        yield ($context["name"] ?? null);
        yield ": ";
        yield ($context["type"] ?? null);
        yield " -->
            <trans-unit id=\"";
        // line 36
        yield $this->extensions['Sulu\Bundle\PageBundle\Twig\ExportTwigExtension']->counter();
        yield "\" resname=\"";
        yield ($context["name"] ?? null);
        yield "\"";
        yield ($context["attributes"] ?? null);
        yield ">
                <source>";
        // line 37
        yield $this->extensions['Sulu\Bundle\PageBundle\Twig\ExportTwigExtension']->escapeXmlContent(($context["value"] ?? null));
        yield "</source>
                <target>";
        // line 38
        yield $this->extensions['Sulu\Bundle\PageBundle\Twig\ExportTwigExtension']->escapeXmlContent(($context["target"] ?? null));
        yield "</target>
            </trans-unit>
    ";
        yield from [];
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName(): string
    {
        return "@SuluPage/Export/Webspace/1.2.xliff.twig";
    }

    /**
     * @codeCoverageIgnore
     */
    public function isTraitable(): bool
    {
        return false;
    }

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  159 => 38,  155 => 37,  147 => 36,  141 => 35,  138 => 34,  136 => 33,  134 => 22,  130 => 32,  127 => 31,  124 => 30,  122 => 29,  118 => 27,  116 => 26,  114 => 25,  111 => 24,  108 => 23,  106 => 22,  99 => 21,  92 => 16,  90 => 15,  83 => 13,  76 => 12,  68 => 7,  64 => 6,  60 => 4,  53 => 3,  42 => 1,);
    }

    public function getSourceContext(): Source
    {
        return new Source("", "@SuluPage/Export/Webspace/1.2.xliff.twig", "C:\\xampp\\htdocs\\taiafropressapi\\vendor\\sulu\\sulu\\src\\Sulu\\Bundle\\PageBundle\\Resources\\views\\Export\\Webspace\\1.2.xliff.twig");
    }
}
