<?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;

/* components/scroll-to-top.twig */
class __TwigTemplate_9f148c052ebaaec7010949667d9eb0d1 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->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 1
        yield "<div class=\"fixed bottom-0 left-0 right-0 pointer-events-none\" x-data=\"{ visible: false }\"
    x-init=\"visible = window.scrollY > 10\" x-show=\"visible\" x-transition.opacity
>
    <div class=\"container flex justify-end mx-auto px-4 py-10 xl:max-w-screen-xl\">
        <button title=\"";
        // line 5
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('translate')->getCallable()("scroll_to_top"), "html", null, true);
        yield "\" class=\"flex justify-center items-center w-12 h-12 right-0 rounded-full shadow-lg bg-sky-600 text-white cursor-pointer pointer-events-auto transition hover:bg-sky-700 dark:bg-violet-700 dark:hover:bg-violet-800 hover:scale-110\"
            @click=\"window.scrollTo({ top: 0, left: 0, behavior: 'smooth' });\" @scroll.window=\"visible = window.scrollY > 10\"
        >
            <i class=\"fas fa-arrow-up fa-lg\"></i>
        </button>
    </div>
</div>
";
        yield from [];
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName(): string
    {
        return "components/scroll-to-top.twig";
    }

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  48 => 5,  42 => 1,);
    }

    public function getSourceContext(): Source
    {
        return new Source("", "components/scroll-to-top.twig", "/home3/uptimevi/public_html/app/views/components/scroll-to-top.twig");
    }
}
