<?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;
/* base.html.twig */
class __TwigTemplate_4f93da7f47bc35de5cebeda56a719c9d extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'stylesheets' => [$this, 'block_stylesheets'],
'body' => [$this, 'block_body'],
'scripts' => [$this, 'block_scripts'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
// line 1
yield "<!doctype html>
<html lang=\"en\" data-bs-theme=\"auto\">
<head>
<meta charset=\"utf-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
<meta name=\"description\" content=\"\">
<meta name=\"author\" content=\"Jince, Grinesh\">
<title>Noble Native</title>
<link rel=\"icon\" href=\"";
// line 9
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/favicon.png"), "html", null, true);
yield "\">
<link href=\"";
// line 10
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/bootstrap.css"), "html", null, true);
yield "\" rel=\"stylesheet\" type=\"text/css\">
<link href=\"";
// line 11
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/bootstrap-icons.css"), "html", null, true);
yield "\" rel=\"stylesheet\" type=\"text/css\">
<link href=\"";
// line 12
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/noblenative.css"), "html", null, true);
yield "\" rel=\"stylesheet\" type=\"text/css\">
";
// line 13
yield from $this->unwrap()->yieldBlock('stylesheets', $context, $blocks);
// line 14
yield " </head>
<body>
<div class=\"offcanvas offcanvas-start p-4 shadow-lg\" tabindex=\"-1\" id=\"login\" aria-labelledby=\"loginlabel\">
<div class=\"offcanvas-header\">
<h5 class=\"offcanvas-title\" id=\"loginlabel\">Welcome</h5>
<button type=\"button\" class=\"btn-close shadow-none\" data-bs-dismiss=\"offcanvas\" aria-label=\"Close\"></button>
</div>
<div class=\"offcanvas-body\">
<div>
<h1>Step Back into Your World!</h1>
<form method=\"POST\" action=\"";
// line 24
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_email_login");
yield "\" id=\"emailotploginform\">
<div class=\"form-floating mb-3 mt-4\">
<input type=\"email\" class=\"form-control rounded-pill shadow-none border mb-4 px-4\" id=\"loginemail\" name=\"loginemail\" placeholder=\"name@example.com\" required>
<label for=\"loginemail\" class=\"px-4\">Email address</label>
<input type=\"hidden\" id=\"logincsrf\" name=\"logincsrf\" value=\"";
// line 28
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("otplogincsrf"), "html", null, true);
yield "\" />
</div>
<div class=\"form-check\">
<input class=\"form-check-input shadow-none border\" type=\"checkbox\" value=\"\" name=\"loginsubscribe\" id=\"loginsubscribe\" onchange=\"loginsubscribe('";
// line 31
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_email_subscribe");
yield "')\" checked>
<label class=\"form-check-label\" for=\"loginsubscribe\">
Email me with news and offers
</label>
</div>
<button type=\"submit\" class=\"btn bg-secondary text-white px-4 py-3 w-100 rounded-pill mb-4 mt-3\" role=\"button\" aria-controls=\"otp\">Sign In</button>
<div class=\"text-danger\" id=\"otploginerror\"></div>
</form>
<p class=\"text-center\">OR</p>
<div class=\"btn px-4 py-3 w-100 rounded-pill\" >
<div id=\"g_id_onload\"
data-client_id=\"62339956659-gf4p78s73c5p33ajso8fbk9quhk7h4qe.apps.googleusercontent.com\"
data-context=\"signin\"
data-ux_mode=\"popup\"
data-callback=\"onSignIn\"
data-auto_prompt=\"false\">
</div>
<div class=\"g_id_signin\"
data-type=\"standard\"
data-shape=\"rectangular\"
data-theme=\"outline\"
data-text=\"signin_with\"
data-size=\"large\"
data-logo_alignment=\"left\"
data-height=\"50\"
data-width=\"250\">
</div>
</div>
<p>By signing in, you agree to our <a href=\"";
// line 60
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_privacy");
yield "\" class=\"text-decoration-underline\">privacy policy</a> and <a href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_terms");
yield "\" class=\"text-decoration-underline\">terms of services</a></p>
</div>
</div>
</div>
<div class=\"offcanvas offcanvas-start p-4 shadow-lg\" tabindex=\"-1\" id=\"otp\" aria-labelledby=\"otplabel\">
<div class=\"offcanvas-header\">
<h5 class=\"offcanvas-title\" id=\"otplabel\">Welcome</h5>
<button type=\"button\" class=\"btn-close shadow-none\" data-bs-dismiss=\"offcanvas\" aria-label=\"Close\"></button>
</div>
<div class=\"offcanvas-body\">
<div class=\"text-center\">
<h1>Verify your identity</h1>
<h6>Enter the code sent to</h6>
<h5 class=\"fw-bold mb-4\" id=\"loginemailgiven\">username@mailid.com</h5>
<form>
<div id=\"inputs\" class=\"inputs mb-4\">
<input class=\"input\" type=\"text\" name=\"loginotp1\" id=\"loginotp1\" inputmode=\"numeric\" maxlength=\"1\" onchange=\"emailotp('";
// line 77
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_email_otp");
yield "')\" />
<input class=\"input\" type=\"text\" name=\"loginotp2\" id=\"loginotp2\" inputmode=\"numeric\" maxlength=\"1\" onchange=\"emailotp('";
// line 78
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_email_otp");
yield "')\" />
<input class=\"input\" type=\"text\" name=\"loginotp3\" id=\"loginotp3\" inputmode=\"numeric\" maxlength=\"1\" onchange=\"emailotp('";
// line 79
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_email_otp");
yield "')\" />
<input class=\"input\" type=\"text\" name=\"loginotp4\" id=\"loginotp4\" inputmode=\"numeric\" maxlength=\"1\" onchange=\"emailotp('";
// line 80
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_email_otp");
yield "')\" />
</div>
<div class=\"text-danger\" id=\"otperror\"></div>
<button type=\"button\" class=\"shadow-none border-0 bg-transparent text-uppercase fw-semibold text-body mb-2 border-bottom\">Send Another Code</button>
<button type=\"button\" class=\"shadow-none border-0 bg-transparent text-uppercase fw-semibold text-body mb-2 border-bottom\">Try Another Email</button>
</form>
</div>
</div>
</div>
<div class=\"bg-black text-white fixed-top w-100\">
<div class=\"container-fluid px-5\">
<div class=\"col-md-12 py-3 small\">";
// line 91
yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["ecomvariables"]) || array_key_exists("ecomvariables", $context) ? $context["ecomvariables"] : (function () { throw new RuntimeError('Variable "ecomvariables" does not exist.', 91, $this->source); })()), "textcontent", ["free_shipping_banner"], "method", false, false, false, 91);
yield "</div>
</div>
</div>
<nav class=\"navbar navbar-expand-md fixed-top mt-5 bg-light\">
<div class=\"container-fluid px-5\"> <a class=\"navbar-brand\" href=\"";
// line 95
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_index");
yield "\"> <img src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/logo.png"), "html", null, true);
yield "\" alt=\"logo\" title=\"NobleNative\" class=\"main-logo\"> </a>
<button class=\"navbar-toggler border-0 shadow-none\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#navbarCollapse\" aria-controls=\"navbarCollapse\" aria-expanded=\"false\" aria-label=\"Toggle navigation\"> <span class=\"navbar-toggler-icon\"></span> </button>
<div class=\"collapse navbar-collapse\" id=\"navbarCollapse\">
<ul class=\"navbar-nav me-auto mb-2 mb-md-0\">
<li class=\"nav-item\"> <a class=\"nav-link\" href=\"#0\">City</a> </li>
<li class=\"nav-item\"> <a class=\"nav-link\" href=\"#0\">Brands</a> </li>
<li class=\"nav-item\"> <a class=\"nav-link\" href=\"#0\">Products</a> </li>
</ul>
<div class=\"d-flex\">
<ul class=\"mt-0 pt-0 list-inline list-unstyled\">
<li class=\"list-inline-item ms-3\">";
// line 105
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 105, $this->source); })()), "user", [], "any", false, false, false, 105)) {
yield "<a href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_user_account");
yield "\">";
} else {
yield "<a data-bs-toggle=\"offcanvas\" href=\"#login\" role=\"button\" aria-controls=\"login\">";
}
yield "<i data-feather=\"user\" class=\"iconsize\"></i></a></li>
<li class=\"list-inline-item ms-3\"> <a href=\"";
// line 106
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_cart_list");
yield "\" class=\"position-relative\"> <i data-feather=\"shopping-bag\" class=\"iconsize\"></i> <span class=\"position-absolute small bg-secondary text-white rounded-circle cart-count\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["ecomvariables"]) || array_key_exists("ecomvariables", $context) ? $context["ecomvariables"] : (function () { throw new RuntimeError('Variable "ecomvariables" does not exist.', 106, $this->source); })()), "cartdetails", [], "method", false, false, false, 106), "cartcount", [], "any", false, false, false, 106), "html", null, true);
yield "</span> </a> </li>
<li class=\"list-inline-item ms-3\"><a href=\"";
// line 107
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_faq");
yield "\"><i data-feather=\"help-circle\" class=\"iconsize\"></i></a></li>
</ul>
</div>
</div>
</div>
</nav>
<main>
";
// line 114
yield from $this->unwrap()->yieldBlock('body', $context, $blocks);
yield "
<div class=\"container-fluid px-5 text-white bg-dark pt-5 pb-5 mt-5\">
<div class=\"row\">
<div class=\"col-lg-2\">
<ul class=\"list-unstyled mb-4\">
<li class=\"mt-3\"><a href=\"";
// line 119
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_about");
yield "\" class=\"text-white\">About Us</a></li>
<li class=\"mt-2\"><a href=\"";
// line 120
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_contact");
yield "\" class=\"text-white\">Contact Us</a></li>
<li class=\"mt-2\"><a href=\"";
// line 121
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_faq");
yield "\" class=\"text-white\">FAQ's</a></li>
<li class=\"mt-2\"><a href=\"";
// line 122
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_faq");
yield "\" class=\"text-white\">Gift Card</a></li>
</ul>
</div>
<div class=\"col-lg-2\">
<ul class=\"list-unstyled\">
<li class=\"mt-3\"><a href=\"";
// line 127
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_faq");
yield "\" class=\"text-white\">Join N|N</a></li>
<li class=\"mt-2\"><a href=\"";
// line 128
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_faq");
yield "\" class=\"text-white\">Brand Collab</a></li>
<li class=\"mt-2\"><a href=\"";
// line 129
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_faq");
yield "\" class=\"text-white\">Designer Collab</a></li>
</ul>
</div>
<div class=\"col-lg-12\">
<ul class=\"list-unstyled list-inline mb-4\">
<li class=\"list-inline-item\"><a href=\"";
// line 134
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["ecomvariables"]) || array_key_exists("ecomvariables", $context) ? $context["ecomvariables"] : (function () { throw new RuntimeError('Variable "ecomvariables" does not exist.', 134, $this->source); })()), "textcontent", ["site_insta_page"], "method", false, false, false, 134), "html", null, true);
yield "\"><i data-feather=\"instagram\" class=\"iconsize-footer\"></i></a></li>
<li class=\"list-inline-item\"><a href=\"";
// line 135
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["ecomvariables"]) || array_key_exists("ecomvariables", $context) ? $context["ecomvariables"] : (function () { throw new RuntimeError('Variable "ecomvariables" does not exist.', 135, $this->source); })()), "textcontent", ["site_fb_page"], "method", false, false, false, 135), "html", null, true);
yield "\"><i data-feather=\"facebook\" class=\"iconsize-footer\"></i></a></li>
<li class=\"list-inline-item\"><a href=\"";
// line 136
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["ecomvariables"]) || array_key_exists("ecomvariables", $context) ? $context["ecomvariables"] : (function () { throw new RuntimeError('Variable "ecomvariables" does not exist.', 136, $this->source); })()), "textcontent", ["site_yt_page"], "method", false, false, false, 136), "html", null, true);
yield "\"><i data-feather=\"youtube\" class=\"iconsize-footer\"></i></a></li>
</ul>
</div>
<div class=\"col-lg-12\">Copyright ";
// line 139
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate("now", "Y"), "html", null, true);
yield " Noble Native. All rights reserved</div>
</div>
</div>
</main>
<script src=\"https://accounts.google.com/gsi/client\" async defer></script>
<script src=\"";
// line 144
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/jquery-3.6.3.js"), "html", null, true);
yield "\"></script>
<script src=\"";
// line 145
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/bootstrap.bundle.min.js"), "html", null, true);
yield "\" type=\"text/javascript\" ></script>
<script src=\"";
// line 146
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/feather.min.js"), "html", null, true);
yield "\" type=\"text/javascript\" ></script>
<script type=\"text/javascript\" src=\"";
// line 147
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/jquery-validate.js"), "html", null, true);
yield "\"></script>
<script src=\"";
// line 148
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/sajongecom.js"), "html", null, true);
yield "\"></script>
<script src=\"";
// line 149
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/otp.js"), "html", null, true);
yield "\"></script>
<script>
feather.replace();
";
// line 152
if (Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 152, $this->source); })()), "user", [], "any", false, false, false, 152))) {
// line 153
yield " \$(document).ready(function() {
var locationpath = \"\"+window.location+\"\";
var nn_loginreg = locationpath.split(\"#\");
if(nn_loginreg[1] == 'nnlogin' ) {
var offcanvasElement = \$(\"#login\");
var offcanvas = new bootstrap.Offcanvas(offcanvasElement);
offcanvas.toggle();
}
});
function onSignIn(googleUser) {
\$.ajax({
type:\"post\",
url: \"";
// line 166
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_social_login");
yield "\",
data: {'credential':googleUser.credential, loginsubscribe:\$('#loginsubscribe').is(':checked')},
dataType: \"json\",
success: function(res) {
if(res.success == 'Authentication failed') {
alert('Google Authentication failed!!');
}
else {
window.location.reload();
}
},
error: function() {
alert('We are facing some technical issue. Please try again.');
}
});
}
";
}
// line 184
yield " </script>
";
// line 185
yield from $this->unwrap()->yieldBlock('scripts', $context, $blocks);
// line 186
yield " </body>
</html>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
return; yield '';
}
// line 13
public function block_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 114
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 185
public function block_scripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "scripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "scripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "base.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 414 => 185, 395 => 114, 376 => 13, 363 => 186, 361 => 185, 358 => 184, 337 => 166, 322 => 153, 320 => 152, 314 => 149, 310 => 148, 306 => 147, 302 => 146, 298 => 145, 294 => 144, 286 => 139, 280 => 136, 276 => 135, 272 => 134, 264 => 129, 260 => 128, 256 => 127, 248 => 122, 244 => 121, 240 => 120, 236 => 119, 228 => 114, 218 => 107, 212 => 106, 202 => 105, 187 => 95, 180 => 91, 166 => 80, 162 => 79, 158 => 78, 154 => 77, 132 => 60, 100 => 31, 94 => 28, 87 => 24, 75 => 14, 73 => 13, 69 => 12, 65 => 11, 61 => 10, 57 => 9, 47 => 1,);
}
public function getSourceContext()
{
return new Source("<!doctype html>
<html lang=\"en\" data-bs-theme=\"auto\">
<head>
<meta charset=\"utf-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
<meta name=\"description\" content=\"\">
<meta name=\"author\" content=\"Jince, Grinesh\">
<title>Noble Native</title>
<link rel=\"icon\" href=\"{{ asset('img/favicon.png')\t}}\">
<link href=\"{{ asset('css/bootstrap.css')\t}}\" rel=\"stylesheet\" type=\"text/css\">
<link href=\"{{ asset('css/bootstrap-icons.css')\t}}\" rel=\"stylesheet\" type=\"text/css\">
<link href=\"{{ asset('css/noblenative.css')\t}}\" rel=\"stylesheet\" type=\"text/css\">
{% block stylesheets %}{% endblock %}
</head>
<body>
<div class=\"offcanvas offcanvas-start p-4 shadow-lg\" tabindex=\"-1\" id=\"login\" aria-labelledby=\"loginlabel\">
<div class=\"offcanvas-header\">
<h5 class=\"offcanvas-title\" id=\"loginlabel\">Welcome</h5>
<button type=\"button\" class=\"btn-close shadow-none\" data-bs-dismiss=\"offcanvas\" aria-label=\"Close\"></button>
</div>
<div class=\"offcanvas-body\">
<div>
<h1>Step Back into Your World!</h1>
<form method=\"POST\" action=\"{{ path('sajong_ecom_email_login') }}\" id=\"emailotploginform\">
<div class=\"form-floating mb-3 mt-4\">
<input type=\"email\" class=\"form-control rounded-pill shadow-none border mb-4 px-4\" id=\"loginemail\" name=\"loginemail\" placeholder=\"name@example.com\" required>
<label for=\"loginemail\" class=\"px-4\">Email address</label>
<input type=\"hidden\" id=\"logincsrf\" name=\"logincsrf\" value=\"{{ csrf_token('otplogincsrf') }}\" />
</div>
<div class=\"form-check\">
<input class=\"form-check-input shadow-none border\" type=\"checkbox\" value=\"\" name=\"loginsubscribe\" id=\"loginsubscribe\" onchange=\"loginsubscribe('{{ path('sajong_ecom_email_subscribe') }}')\" checked>
<label class=\"form-check-label\" for=\"loginsubscribe\">
Email me with news and offers
</label>
</div>
<button type=\"submit\" class=\"btn bg-secondary text-white px-4 py-3 w-100 rounded-pill mb-4 mt-3\" role=\"button\" aria-controls=\"otp\">Sign In</button>
<div class=\"text-danger\" id=\"otploginerror\"></div>
</form>
<p class=\"text-center\">OR</p>
<div class=\"btn px-4 py-3 w-100 rounded-pill\" >
<div id=\"g_id_onload\"
data-client_id=\"62339956659-gf4p78s73c5p33ajso8fbk9quhk7h4qe.apps.googleusercontent.com\"
data-context=\"signin\"
data-ux_mode=\"popup\"
data-callback=\"onSignIn\"
data-auto_prompt=\"false\">
</div>
<div class=\"g_id_signin\"
data-type=\"standard\"
data-shape=\"rectangular\"
data-theme=\"outline\"
data-text=\"signin_with\"
data-size=\"large\"
data-logo_alignment=\"left\"
data-height=\"50\"
data-width=\"250\">
</div>
</div>
<p>By signing in, you agree to our <a href=\"{{ path('sajong_ecom_privacy') }}\" class=\"text-decoration-underline\">privacy policy</a> and <a href=\"{{ path('sajong_ecom_terms') }}\" class=\"text-decoration-underline\">terms of services</a></p>
</div>
</div>
</div>
<div class=\"offcanvas offcanvas-start p-4 shadow-lg\" tabindex=\"-1\" id=\"otp\" aria-labelledby=\"otplabel\">
<div class=\"offcanvas-header\">
<h5 class=\"offcanvas-title\" id=\"otplabel\">Welcome</h5>
<button type=\"button\" class=\"btn-close shadow-none\" data-bs-dismiss=\"offcanvas\" aria-label=\"Close\"></button>
</div>
<div class=\"offcanvas-body\">
<div class=\"text-center\">
<h1>Verify your identity</h1>
<h6>Enter the code sent to</h6>
<h5 class=\"fw-bold mb-4\" id=\"loginemailgiven\">username@mailid.com</h5>
<form>
<div id=\"inputs\" class=\"inputs mb-4\">
<input class=\"input\" type=\"text\" name=\"loginotp1\" id=\"loginotp1\" inputmode=\"numeric\" maxlength=\"1\" onchange=\"emailotp('{{ path('sajong_ecom_email_otp') }}')\" />
<input class=\"input\" type=\"text\" name=\"loginotp2\" id=\"loginotp2\" inputmode=\"numeric\" maxlength=\"1\" onchange=\"emailotp('{{ path('sajong_ecom_email_otp') }}')\" />
<input class=\"input\" type=\"text\" name=\"loginotp3\" id=\"loginotp3\" inputmode=\"numeric\" maxlength=\"1\" onchange=\"emailotp('{{ path('sajong_ecom_email_otp') }}')\" />
<input class=\"input\" type=\"text\" name=\"loginotp4\" id=\"loginotp4\" inputmode=\"numeric\" maxlength=\"1\" onchange=\"emailotp('{{ path('sajong_ecom_email_otp') }}')\" />
</div>
<div class=\"text-danger\" id=\"otperror\"></div>
<button type=\"button\" class=\"shadow-none border-0 bg-transparent text-uppercase fw-semibold text-body mb-2 border-bottom\">Send Another Code</button>
<button type=\"button\" class=\"shadow-none border-0 bg-transparent text-uppercase fw-semibold text-body mb-2 border-bottom\">Try Another Email</button>
</form>
</div>
</div>
</div>
<div class=\"bg-black text-white fixed-top w-100\">
<div class=\"container-fluid px-5\">
<div class=\"col-md-12 py-3 small\">{{ ecomvariables.textcontent('free_shipping_banner')|raw()\t}}</div>
</div>
</div>
<nav class=\"navbar navbar-expand-md fixed-top mt-5 bg-light\">
<div class=\"container-fluid px-5\"> <a class=\"navbar-brand\" href=\"{{ path('sajong_ecom_index') }}\"> <img src=\"{{ asset('img/logo.png')\t}}\" alt=\"logo\" title=\"NobleNative\" class=\"main-logo\"> </a>
<button class=\"navbar-toggler border-0 shadow-none\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#navbarCollapse\" aria-controls=\"navbarCollapse\" aria-expanded=\"false\" aria-label=\"Toggle navigation\"> <span class=\"navbar-toggler-icon\"></span> </button>
<div class=\"collapse navbar-collapse\" id=\"navbarCollapse\">
<ul class=\"navbar-nav me-auto mb-2 mb-md-0\">
<li class=\"nav-item\"> <a class=\"nav-link\" href=\"#0\">City</a> </li>
<li class=\"nav-item\"> <a class=\"nav-link\" href=\"#0\">Brands</a> </li>
<li class=\"nav-item\"> <a class=\"nav-link\" href=\"#0\">Products</a> </li>
</ul>
<div class=\"d-flex\">
<ul class=\"mt-0 pt-0 list-inline list-unstyled\">
<li class=\"list-inline-item ms-3\">{% if app.user %}<a href=\"{{ path('sajong_ecom_user_account') }}\">{% else %}<a data-bs-toggle=\"offcanvas\" href=\"#login\" role=\"button\" aria-controls=\"login\">{% endif %}<i data-feather=\"user\" class=\"iconsize\"></i></a></li>
<li class=\"list-inline-item ms-3\"> <a href=\"{{ path('sajong_ecom_cart_list') }}\" class=\"position-relative\"> <i data-feather=\"shopping-bag\" class=\"iconsize\"></i> <span class=\"position-absolute small bg-secondary text-white rounded-circle cart-count\">{{ ecomvariables.cartdetails().cartcount }}</span> </a> </li>
<li class=\"list-inline-item ms-3\"><a href=\"{{ path('sajong_ecom_faq') }}\"><i data-feather=\"help-circle\" class=\"iconsize\"></i></a></li>
</ul>
</div>
</div>
</div>
</nav>
<main>
{% block body %}{% endblock %}
<div class=\"container-fluid px-5 text-white bg-dark pt-5 pb-5 mt-5\">
<div class=\"row\">
<div class=\"col-lg-2\">
<ul class=\"list-unstyled mb-4\">
<li class=\"mt-3\"><a href=\"{{ path('sajong_ecom_about') }}\" class=\"text-white\">About Us</a></li>
<li class=\"mt-2\"><a href=\"{{ path('sajong_ecom_contact') }}\" class=\"text-white\">Contact Us</a></li>
<li class=\"mt-2\"><a href=\"{{ path('sajong_ecom_faq') }}\" class=\"text-white\">FAQ's</a></li>
<li class=\"mt-2\"><a href=\"{{ path('sajong_ecom_faq') }}\" class=\"text-white\">Gift Card</a></li>
</ul>
</div>
<div class=\"col-lg-2\">
<ul class=\"list-unstyled\">
<li class=\"mt-3\"><a href=\"{{ path('sajong_ecom_faq') }}\" class=\"text-white\">Join N|N</a></li>
<li class=\"mt-2\"><a href=\"{{ path('sajong_ecom_faq') }}\" class=\"text-white\">Brand Collab</a></li>
<li class=\"mt-2\"><a href=\"{{ path('sajong_ecom_faq') }}\" class=\"text-white\">Designer Collab</a></li>
</ul>
</div>
<div class=\"col-lg-12\">
<ul class=\"list-unstyled list-inline mb-4\">
<li class=\"list-inline-item\"><a href=\"{{ ecomvariables.textcontent('site_insta_page')\t}}\"><i data-feather=\"instagram\" class=\"iconsize-footer\"></i></a></li>
<li class=\"list-inline-item\"><a href=\"{{ ecomvariables.textcontent('site_fb_page')\t}}\"><i data-feather=\"facebook\" class=\"iconsize-footer\"></i></a></li>
<li class=\"list-inline-item\"><a href=\"{{ ecomvariables.textcontent('site_yt_page')\t}}\"><i data-feather=\"youtube\" class=\"iconsize-footer\"></i></a></li>
</ul>
</div>
<div class=\"col-lg-12\">Copyright {{ \"now\"|date(\"Y\") }} Noble Native. All rights reserved</div>
</div>
</div>
</main>
<script src=\"https://accounts.google.com/gsi/client\" async defer></script>
<script src=\"{{ asset('js/jquery-3.6.3.js')\t}}\"></script>
<script src=\"{{ asset('js/bootstrap.bundle.min.js')\t}}\" type=\"text/javascript\" ></script>
<script src=\"{{ asset('js/feather.min.js')\t}}\" type=\"text/javascript\" ></script>
<script type=\"text/javascript\" src=\"{{ asset('js/jquery-validate.js')\t}}\"></script>
<script src=\"{{\tasset('js/sajongecom.js')\t}}\"></script>
<script src=\"{{\tasset('js/otp.js')\t}}\"></script>
<script>
feather.replace();
{% if app.user is empty %}
\$(document).ready(function() {
var locationpath = \"\"+window.location+\"\";
var nn_loginreg = locationpath.split(\"#\");
if(nn_loginreg[1] == 'nnlogin' ) {
var offcanvasElement = \$(\"#login\");
var offcanvas = new bootstrap.Offcanvas(offcanvasElement);
offcanvas.toggle();
}
});
function onSignIn(googleUser) {
\$.ajax({
type:\"post\",
url: \"{{ path('sajong_ecom_social_login') }}\",
data: {'credential':googleUser.credential, loginsubscribe:\$('#loginsubscribe').is(':checked')},
dataType: \"json\",
success: function(res) {
if(res.success == 'Authentication failed') {
alert('Google Authentication failed!!');
}
else {
window.location.reload();
}
},
error: function() {
alert('We are facing some technical issue. Please try again.');
}
});
}
{% endif %}
</script>
{% block scripts %}{% endblock %}
</body>
</html>
", "base.html.twig", "/var/www/commerce8/noble_natives/templates/base.html.twig");
}
}