var/cache/dev/twig/6b/6b04b9df14410bbb4ceba6fdc0603778.php line 424

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. /* base.html.twig */
  16. class __TwigTemplate_4debd47f7217290c9b22430052d34d5c 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. 'meta' => [$this, 'block_meta'],
  30. 'seoKeywords' => [$this, 'block_seoKeywords'],
  31. 'seoDescription' => [$this, 'block_seoDescription'],
  32. 'seoCreated' => [$this, 'block_seoCreated'],
  33. 'title' => [$this, 'block_title'],
  34. 'stylesheets' => [$this, 'block_stylesheets'],
  35. 'body_class' => [$this, 'block_body_class'],
  36. 'translations' => [$this, 'block_translations'],
  37. 'slider' => [$this, 'block_slider'],
  38. 'body' => [$this, 'block_body'],
  39. 'content' => [$this, 'block_content'],
  40. 'javascripts' => [$this, 'block_javascripts'],
  41. ];
  42. }
  43. protected function doDisplay(array $context, array $blocks = []): iterable
  44. {
  45. $macros = $this->macros;
  46. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  47. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
  48. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  49. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
  50. // line 1
  51. yield "<!DOCTYPE html>
  52. <html lang=\"";
  53. // line 2
  54. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, 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.', 2, $this->source); })()), "request", [], "any", false, false, false, 2), "locale", [], "any", false, false, false, 2), "html", null, true);
  55. yield "\" class=\"";
  56. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::replace(CoreExtension::getAttribute($this->env, $this->source, 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.', 2, $this->source); })()), "request", [], "any", false, false, false, 2), "host", [], "any", false, false, false, 2), ["." => "_"]), "html", null, true);
  57. yield " app-color-";
  58. yield $this->extensions['App\Service\App\PublicTwig']->appColorFunction();
  59. yield "\">
  60. <head>
  61. <meta charset=\"UTF-8\" />
  62. <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  63. <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"/>
  64. ";
  65. // line 9
  66. if ((($tmp = (isset($context["no_index"]) || array_key_exists("no_index", $context) ? $context["no_index"] : (function () { throw new RuntimeError('Variable "no_index" does not exist.', 9, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  67. // line 10
  68. yield " <meta name=\"robots\" content=\"noindex,nofollow\"/>
  69. ";
  70. }
  71. // line 12
  72. yield "
  73. ";
  74. // line 13
  75. yield from $this->unwrap()->yieldBlock('meta', $context, $blocks);
  76. // line 16
  77. yield " <meta http-equiv=\"Content-Style-Type\" content=\"text/css\" />
  78. <meta http-equiv=\"Content-Script-Type\" content=\"text/javascript\"/>
  79. ";
  80. // line 18
  81. if ((($tmp = !Twig\Extension\CoreExtension::testEmpty( $this->unwrap()->renderBlock("seoKeywords", $context, $blocks))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  82. // line 19
  83. yield "<meta name=\"keywords\" content=\"";
  84. yield from $this->unwrap()->yieldBlock('seoKeywords', $context, $blocks);
  85. yield "\"/>";
  86. }
  87. // line 21
  88. yield " ";
  89. if ((($tmp = !Twig\Extension\CoreExtension::testEmpty( $this->unwrap()->renderBlock("seoDescription", $context, $blocks))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  90. // line 22
  91. yield "<meta name=\"description\" content=\"";
  92. yield from $this->unwrap()->yieldBlock('seoDescription', $context, $blocks);
  93. yield "\"/>";
  94. }
  95. // line 24
  96. yield " ";
  97. if ((($tmp = !Twig\Extension\CoreExtension::testEmpty( $this->unwrap()->renderBlock("seoCreated", $context, $blocks))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  98. // line 25
  99. yield "<meta name=\"date\" content=\"";
  100. yield from $this->unwrap()->yieldBlock('seoCreated', $context, $blocks);
  101. yield "\"/>";
  102. }
  103. // line 27
  104. yield " <meta name=\"author\" content=\"";
  105. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["app_name"]) || array_key_exists("app_name", $context) ? $context["app_name"] : (function () { throw new RuntimeError('Variable "app_name" does not exist.', 27, $this->source); })()), "html", null, true);
  106. yield "\"/>
  107. <meta name=\"copyright\" content=\"copyright by ";
  108. // line 28
  109. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["app_name"]) || array_key_exists("app_name", $context) ? $context["app_name"] : (function () { throw new RuntimeError('Variable "app_name" does not exist.', 28, $this->source); })()), "html", null, true);
  110. yield "\"/>
  111. <!-- SCRIPTS -->
  112. <title>";
  113. // line 31
  114. yield from $this->unwrap()->yieldBlock('title', $context, $blocks);
  115. yield " | ";
  116. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["app_name"]) || array_key_exists("app_name", $context) ? $context["app_name"] : (function () { throw new RuntimeError('Variable "app_name" does not exist.', 31, $this->source); })()), "html", null, true);
  117. yield "</title>
  118. <!-- LINK -->
  119. <link rel=\"shortcut icon\" type=\"image/x-icon\" href=\"";
  120. // line 33
  121. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/static/favicon.ico"), "html", null, true);
  122. yield "\"/>
  123. <link rel=\"shortcut icon\" type=\"image/png\" href=\"";
  124. // line 34
  125. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/static/favicon.png"), "html", null, true);
  126. yield "\"/>
  127. <link rel=\"apple-touch-icon\" type=\"image/png\" href=\"";
  128. // line 35
  129. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/static/favicon.png"), "html", null, true);
  130. yield "\"><!-- iPhone -->
  131. <link rel=\"apple-touch-icon\" sizes=\"57x57\" href=\"";
  132. // line 36
  133. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/static/apple-touch-icon-57x57.png"), "html", null, true);
  134. yield "\" />
  135. <link rel=\"apple-touch-icon\" sizes=\"72x72\" href=\"";
  136. // line 37
  137. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/static/apple-touch-icon-72x72.png"), "html", null, true);
  138. yield "\" />
  139. <link rel=\"apple-touch-icon\" sizes=\"76x76\" href=\"";
  140. // line 38
  141. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/static/apple-touch-icon-76x76.png"), "html", null, true);
  142. yield "\" />
  143. <link rel=\"apple-touch-icon\" sizes=\"114x114\" href=\"";
  144. // line 39
  145. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/static/apple-touch-icon-114x114.png"), "html", null, true);
  146. yield "\" />
  147. <link rel=\"apple-touch-icon\" sizes=\"120x120\" href=\"";
  148. // line 40
  149. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/static/apple-touch-icon-120x120.png"), "html", null, true);
  150. yield "\" />
  151. <link rel=\"apple-touch-icon\" sizes=\"144x144\" href=\"";
  152. // line 41
  153. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/static/apple-touch-icon-144x144.png"), "html", null, true);
  154. yield "\" />
  155. <link rel=\"apple-touch-icon\" sizes=\"152x152\" href=\"";
  156. // line 42
  157. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/static/apple-touch-icon-152x152.png"), "html", null, true);
  158. yield "\" />
  159. <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"";
  160. // line 43
  161. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/static/apple-touch-icon-180x180.png"), "html", null, true);
  162. yield "\" />
  163. ";
  164. // line 46
  165. yield " ";
  166. yield from $this->unwrap()->yieldBlock('stylesheets', $context, $blocks);
  167. // line 49
  168. yield "
  169. <!-- GOOGLE -->
  170. ";
  171. // line 53
  172. yield " <script src=\"https://maps.googleapis.com/maps/api/js?key=AIzaSyCxYi_Sk25cIlLkMEQlM7I-jAqWYTDQj64&loading=async\"></script>
  173. <!-- Global site tag (gtag.js) - Google Analytics -->
  174. <script async src=\"https://www.googletagmanager.com/gtag/js?id=UA-151104863-1\"></script>
  175. <script>window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'UA-151104863-1');</script>
  176. </head>
  177. <body class=\"";
  178. // line 59
  179. yield from $this->unwrap()->yieldBlock('body_class', $context, $blocks);
  180. yield "\">
  181. ";
  182. // line 60
  183. $context["allMessages"] = 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.', 60, $this->source); })()), "flashes", [], "method", false, false, false, 60);
  184. // line 61
  185. yield "
  186. ";
  187. // line 62
  188. if ((($tmp = !Twig\Extension\CoreExtension::testEmpty((isset($context["allMessages"]) || array_key_exists("allMessages", $context) ? $context["allMessages"] : (function () { throw new RuntimeError('Variable "allMessages" does not exist.', 62, $this->source); })()))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  189. // line 63
  190. yield " <div aria-live=\"polite\" aria-atomic=\"true\">
  191. <!-- Position it -->
  192. <div>
  193. ";
  194. // line 66
  195. $context['_parent'] = $context;
  196. $context['_seq'] = CoreExtension::ensureTraversable((isset($context["allMessages"]) || array_key_exists("allMessages", $context) ? $context["allMessages"] : (function () { throw new RuntimeError('Variable "allMessages" does not exist.', 66, $this->source); })()));
  197. foreach ($context['_seq'] as $context["type"] => $context["messages"]) {
  198. // line 67
  199. yield " ";
  200. $context['_parent'] = $context;
  201. $context['_seq'] = CoreExtension::ensureTraversable($context["messages"]);
  202. foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
  203. // line 68
  204. yield " <div class=\"toast\" role=\"alert\" aria-live=\"assertive\" aria-atomic=\"true\" data-delay=\"10000\">
  205. <div class=\"alert alert-";
  206. // line 69
  207. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["type"], "html", null, true);
  208. yield " mb-0\" role=\"alert\" aria-live=\"assertive\" aria-atomic=\"true\">
  209. <button type=\"button\" class=\"ml-2 mb-1 close\" data-dismiss=\"toast\" aria-label=\"Close\">
  210. <span aria-hidden=\"true\">&times;</span>
  211. </button>
  212. ";
  213. // line 73
  214. yield $context["message"];
  215. yield "
  216. </div>
  217. </div>
  218. ";
  219. }
  220. $_parent = $context['_parent'];
  221. unset($context['_seq'], $context['_key'], $context['message'], $context['_parent']);
  222. $context = array_intersect_key($context, $_parent) + $_parent;
  223. // line 77
  224. yield " ";
  225. }
  226. $_parent = $context['_parent'];
  227. unset($context['_seq'], $context['type'], $context['messages'], $context['_parent']);
  228. $context = array_intersect_key($context, $_parent) + $_parent;
  229. // line 78
  230. yield " </div>
  231. </div>
  232. ";
  233. }
  234. // line 81
  235. yield "
  236. <div class=\"card cookie-card\" style=\"position:fixed; bottom:0; left:0; width: 100vw; z-index: 9999; max-height: 100vh; max-width: 100vw; overflow: auto\">
  237. <div class=\"card-body\">
  238. <h5 class=\"card-title\">Cookies</h5>
  239. <p class=\"card-text\">
  240. ";
  241. // line 86
  242. yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("cookie.text", [":link" => $this->extensions['App\Service\App\PublicTwig']->pathFunction("mdl_public_page_show", ["_locale" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 87
  243. (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 87, $this->source); })()), "request", [], "any", false, false, false, 87), "locale", [], "any", false, false, false, 87), "slug" => "privacy-policy"])]);
  244. // line 88
  245. yield "
  246. </p>
  247. <a href=\"#\" class=\"btn btn-primary cookie-btn\">";
  248. // line 90
  249. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("cookie.action"), "html", null, true);
  250. yield "</a>
  251. </div>
  252. </div>
  253. <script>function checkGDPRCookie(){var e=document.cookie.split(\"; \").find(e=>e.startsWith(\"gdpr\"));void 0!==e&&\"true\"===(e=e.split(\"=\")[1])&&(document.querySelector(\".cookie-card\").style.display=\"none\")}document.querySelector(\".cookie-btn\").addEventListener(\"click\",function(){document.cookie=\"gdpr=true; ;max-age=31536000; path=/; SameSite\",checkGDPRCookie()}),checkGDPRCookie();</script>
  254. ";
  255. // line 95
  256. yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\ECommerce\\App\\InvoiceController::unPaidAction"));
  257. yield "
  258. <!-- header -->
  259. ";
  260. // line 99
  261. $context["isUser"] = $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER");
  262. // line 100
  263. yield " <div class=\"container-fluid\">
  264. ";
  265. // line 102
  266. yield " <div class=\"container font-medium\" id=\"header-login\">
  267. <div class=\"row top-row nowrap\">
  268. <div class=\"top-left\">
  269. <div class=\"header-contact map-pin\">
  270. <img src=\"";
  271. // line 106
  272. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/static/map-pin.svg"), "html", null, true);
  273. yield "\" alt=\"Map Pin Icon\">
  274. <span class=\"font-medium\">";
  275. // line 107
  276. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["company_address"]) || array_key_exists("company_address", $context) ? $context["company_address"] : (function () { throw new RuntimeError('Variable "company_address" does not exist.', 107, $this->source); })()), "html", null, true);
  277. yield "</span>
  278. </div>
  279. <div class=\"header-contact header-phone\">
  280. <img src=\"";
  281. // line 110
  282. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/static/phone.svg"), "html", null, true);
  283. yield "\" alt=\"Phone Icon\">
  284. <a class=\"font-medium phone-link\" href=\"tel:";
  285. // line 111
  286. yield $this->extensions['App\Service\App\DashboardTwig']->regexReplace((isset($context["company_phone"]) || array_key_exists("company_phone", $context) ? $context["company_phone"] : (function () { throw new RuntimeError('Variable "company_phone" does not exist.', 111, $this->source); })()), "/,.*/", "");
  287. yield "\">
  288. ";
  289. // line 112
  290. yield $this->extensions['App\Service\App\DashboardTwig']->regexReplace((isset($context["company_phone"]) || array_key_exists("company_phone", $context) ? $context["company_phone"] : (function () { throw new RuntimeError('Variable "company_phone" does not exist.', 112, $this->source); })()), "/,.*/", "");
  291. yield "
  292. </a>
  293. </div>
  294. <div class=\"header-contact header-email\">
  295. <img src=\"";
  296. // line 116
  297. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/static/mail.svg"), "html", null, true);
  298. yield "\" alt=\"Envelope Icon\">
  299. <span class=\"font-medium\">";
  300. // line 117
  301. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["company_email"]) || array_key_exists("company_email", $context) ? $context["company_email"] : (function () { throw new RuntimeError('Variable "company_email" does not exist.', 117, $this->source); })()), "html", null, true);
  302. yield "</span>
  303. </div>
  304. </div>
  305. <div class=\"top-right\">
  306. <div class=\"language-picker\">
  307. <div class=\"btn-group float-right\">
  308. ";
  309. // line 123
  310. if ( $this->unwrap()->hasBlock("translations", $context, $blocks)) {
  311. // line 124
  312. yield " ";
  313. yield from $this->unwrap()->yieldBlock('translations', $context, $blocks);
  314. // line 125
  315. yield " ";
  316. } else {
  317. // line 126
  318. yield " ";
  319. yield $this->extensions['App\Service\App\PublicTwig']->defaultLanguagePickerFunction();
  320. yield "
  321. ";
  322. }
  323. // line 128
  324. yield " </div>
  325. </div>
  326. <div class=\"help\">
  327. <a class=\"text-decoration-none\" href=\"";
  328. // line 131
  329. yield $this->extensions['App\Service\App\PublicTwig']->pathFunction("mdl_app_product_filter", ["_locale" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 134
  330. (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 134, $this->source); })()), "request", [], "any", false, false, false, 134), "locale", [], "any", false, false, false, 134), "title" => "S 30X47X7", "help" => 1, "on_complete" => $this->extensions['App\Service\App\PublicTwig']->pathFunction("mdl_app_product_index", ["_locale" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 139
  331. (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 139, $this->source); })()), "request", [], "any", false, false, false, 139), "locale", [], "any", false, false, false, 139)], "true")]);
  332. // line 143
  333. yield "\">";
  334. yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("nav.help");
  335. yield "</a>
  336. </div>
  337. ";
  338. // line 145
  339. if (((isset($context["isUser"]) || array_key_exists("isUser", $context) ? $context["isUser"] : (function () { throw new RuntimeError('Variable "isUser" does not exist.', 145, $this->source); })()) == false)) {
  340. // line 146
  341. yield " <div class=\"header-login-btn margin-header\">
  342. <a class=\"text-decoration-none btn btn-dark align-content-center font-medium\" id=\"login-btn\" href=\"";
  343. // line 147
  344. yield $this->extensions['App\Service\App\PublicTwig']->pathFunction("login", ["_locale" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 150
  345. (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 150, $this->source); })()), "request", [], "any", false, false, false, 150), "locale", [], "any", false, false, false, 150)]);
  346. // line 152
  347. yield "\"><span>";
  348. yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("nav.login");
  349. yield "</span><img src=\"";
  350. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/static/arrow-button.svg"), "html", null, true);
  351. yield "\" alt=\"Arrow Button Icon\"></a>
  352. </div>
  353. ";
  354. } else {
  355. // line 155
  356. yield " <div class=\"header-login-btn margin-header\">
  357. <img src=\"";
  358. // line 156
  359. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/static/user.svg"), "html", null, true);
  360. yield "\" class=\"wh-42\" alt=\"User Profile Icon\" />
  361. </div>
  362. ";
  363. }
  364. // line 159
  365. yield " </div>
  366. </div>
  367. </div>
  368. </div>
  369. <div class=\"container-fluid\">
  370. <div class=\"container\" id=\"header-login\">
  371. <div class=\"row bottom-row\">
  372. <div class=\"header-logo\">
  373. <a href=\"";
  374. // line 167
  375. yield $this->extensions['App\Service\App\PublicTwig']->pathFunction("mdl_public_page_index", ["_locale" => CoreExtension::getAttribute($this->env, $this->source, 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.', 167, $this->source); })()), "request", [], "any", false, false, false, 167), "locale", [], "any", false, false, false, 167)]);
  376. yield "\">
  377. <img src=\"";
  378. // line 168
  379. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['App\Service\App\PublicTwig']->logoFunction()), "html", null, true);
  380. yield "\" class=\"img-fluid\" alt=\"";
  381. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["app_name"]) || array_key_exists("app_name", $context) ? $context["app_name"] : (function () { throw new RuntimeError('Variable "app_name" does not exist.', 168, $this->source); })()), "html", null, true);
  382. yield "\"/>
  383. </a>
  384. </div>
  385. <div class=\"input-group\" id=\"search-bar\">
  386. ";
  387. // line 172
  388. yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\ECommerce\\App\\ProductController::filterAction"));
  389. yield "
  390. </div>
  391. ";
  392. // line 174
  393. yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\ECommerce\\App\\CountdownController::countdown"));
  394. yield "
  395. ";
  396. // line 176
  397. if ((($tmp = $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("CART_CREATE")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  398. // line 177
  399. yield " ";
  400. yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\ECommerce\\App\\CartController::smallWidgetAction"));
  401. yield "
  402. ";
  403. } else {
  404. // line 179
  405. yield " ";
  406. yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\ECommerce\\App\\IndividualOrderController::smallWidgetAction"));
  407. yield "
  408. ";
  409. }
  410. // line 181
  411. yield " <nav class=\"navbar navbar-expand-lg navbar-light sm-screen-navbar\">
  412. <button class=\"navbar-toggler\" type=\"button\" data-toggle=\"collapse\" data-target=\"#navbar\" aria-controls=\"navbar\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">
  413. <span class=\"navbar-toggler-icon\"></span>
  414. </button>
  415. ";
  416. // line 185
  417. $context["currentRoute"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, 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.', 185, $this->source); })()), "request", [], "any", false, false, false, 185), "attributes", [], "any", false, false, false, 185), "get", ["_route"], "method", false, false, false, 185);
  418. // line 186
  419. yield " ";
  420. $context["shopRoute"] = "mdl_app_product_index";
  421. // line 187
  422. yield " <div class=\"collapse navbar-collapse text\" id=\"navbar\">
  423. <div class=\"mobile-menu\">
  424. <div class=\"language-picker\">
  425. <div class=\"btn-group float-left\">
  426. ";
  427. // line 192
  428. if ( $this->unwrap()->hasBlock("translations", $context, $blocks)) {
  429. // line 193
  430. yield " ";
  431. yield $this->extensions['App\Service\App\PublicTwig']->defaultLanguagePickerFunction();
  432. yield "
  433. ";
  434. } else {
  435. // line 195
  436. yield " ";
  437. yield $this->extensions['App\Service\App\PublicTwig']->defaultLanguagePickerFunction();
  438. yield "
  439. ";
  440. }
  441. // line 197
  442. yield " </div>
  443. </div>
  444. <div class=\"float-right\">
  445. ";
  446. // line 202
  447. if (((isset($context["isUser"]) || array_key_exists("isUser", $context) ? $context["isUser"] : (function () { throw new RuntimeError('Variable "isUser" does not exist.', 202, $this->source); })()) == false)) {
  448. // line 203
  449. yield " <div class=\"header-login-btn margin-header\">
  450. <a class=\"text-decoration-none btn btn-dark align-content-center font-medium\" id=\"login-btn\" href=\"";
  451. // line 204
  452. yield $this->extensions['App\Service\App\PublicTwig']->pathFunction("login", ["_locale" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 207
  453. (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 207, $this->source); })()), "request", [], "any", false, false, false, 207), "locale", [], "any", false, false, false, 207)]);
  454. // line 209
  455. yield "\"><span>";
  456. yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("nav.login");
  457. yield "</span><img src=\"";
  458. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/static/arrow-button.svg"), "html", null, true);
  459. yield "\" alt=\"Arrow Button Icon\"></a>
  460. </div>
  461. ";
  462. } else {
  463. // line 212
  464. yield " <div class=\"header-login-btn margin-header\">
  465. <img src=\"";
  466. // line 213
  467. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/static/user.svg"), "html", null, true);
  468. yield "\" class=\"wh-42\" alt=\"User Profile Icon\" />
  469. </div>
  470. ";
  471. }
  472. // line 216
  473. yield " </div>
  474. </div>
  475. <div class=\"mobile-widgets\">
  476. <div class=\"widgets\">
  477. ";
  478. // line 220
  479. yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\ECommerce\\App\\CountdownController::countdown"));
  480. yield "
  481. ";
  482. // line 222
  483. if ((($tmp = $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("CART_CREATE")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  484. // line 223
  485. yield " ";
  486. yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\ECommerce\\App\\CartController::smallWidgetAction"));
  487. yield "
  488. ";
  489. } else {
  490. // line 225
  491. yield " ";
  492. yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\ECommerce\\App\\IndividualOrderController::smallWidgetAction"));
  493. yield "
  494. ";
  495. }
  496. // line 227
  497. yield " </div>
  498. <div class=\"input-group\" id=\"search-bar\">
  499. ";
  500. // line 229
  501. yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\ECommerce\\App\\ProductController::filterAction"));
  502. yield "
  503. </div>
  504. </div>
  505. ";
  506. // line 232
  507. yield $this->extensions['App\Service\App\PublicTwig']->menuFunction("main_menu");
  508. yield "
  509. </div>
  510. </nav>
  511. </div>
  512. </div>
  513. </div>
  514. <!-- / header -->
  515. <!-- nav -->
  516. <div class=\"container-fluid\">
  517. <div class=\"container\">
  518. <div class=\"row\">
  519. <div class=\"col\">
  520. <nav class=\"navbar navbar-expand-lg navbar-light lg-screen-navbar\">
  521. <button class=\"navbar-toggler\" type=\"button\" data-toggle=\"collapse\" data-target=\"#navbar\" aria-controls=\"navbar\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">
  522. <span class=\"navbar-toggler-icon\"></span>
  523. </button>
  524. ";
  525. // line 250
  526. $context["currentRoute"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, 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.', 250, $this->source); })()), "request", [], "any", false, false, false, 250), "attributes", [], "any", false, false, false, 250), "get", ["_route"], "method", false, false, false, 250);
  527. // line 251
  528. yield " ";
  529. $context["shopRoute"] = "mdl_app_product_index";
  530. // line 252
  531. yield " <div class=\"collapse navbar-collapse text\" id=\"navbar\">
  532. ";
  533. // line 253
  534. yield $this->extensions['App\Service\App\PublicTwig']->menuFunction("main_menu");
  535. yield "
  536. ";
  537. // line 254
  538. if (((isset($context["currentRoute"]) || array_key_exists("currentRoute", $context) ? $context["currentRoute"] : (function () { throw new RuntimeError('Variable "currentRoute" does not exist.', 254, $this->source); })()) == (isset($context["shopRoute"]) || array_key_exists("shopRoute", $context) ? $context["shopRoute"] : (function () { throw new RuntimeError('Variable "shopRoute" does not exist.', 254, $this->source); })()))) {
  539. // line 255
  540. yield " <ul class=\"navbar-nav ml-auto mr-5 link-help\">
  541. <li class=\"nav-item\">
  542. <a href=\"";
  543. // line 257
  544. yield $this->extensions['App\Service\App\PublicTwig']->pathFunction("mdl_app_product_filter", ["_locale" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 260
  545. (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 260, $this->source); })()), "request", [], "any", false, false, false, 260), "locale", [], "any", false, false, false, 260), "title" => "S 30X47X7", "help" => 1, "on_complete" => $this->extensions['App\Service\App\PublicTwig']->pathFunction("mdl_app_product_index", ["_locale" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 265
  546. (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 265, $this->source); })()), "request", [], "any", false, false, false, 265), "locale", [], "any", false, false, false, 265)], "true")]);
  547. // line 269
  548. yield "\" class=\"nav-link\">";
  549. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("nav.help"), "html", null, true);
  550. yield "</a>
  551. </li>
  552. </ul>
  553. ";
  554. }
  555. // line 273
  556. yield " </div>
  557. </nav>
  558. </div>
  559. </div>
  560. </div>
  561. </div>
  562. <!-- / nav -->
  563. ";
  564. // line 281
  565. if ((($tmp = (isset($context["isUser"]) || array_key_exists("isUser", $context) ? $context["isUser"] : (function () { throw new RuntimeError('Variable "isUser" does not exist.', 281, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  566. // line 282
  567. yield " <div class=\"container-fluid\">
  568. <div class=\"container\">
  569. <div class=\"content\">
  570. <div class=\"row\">
  571. ";
  572. // line 286
  573. yield $this->extensions['App\Service\App\PublicTwig']->menuFunction("user_menu");
  574. yield "
  575. </div>
  576. </div>
  577. </div>
  578. </div>
  579. ";
  580. }
  581. // line 292
  582. yield "
  583. ";
  584. // line 293
  585. yield from $this->unwrap()->yieldBlock('slider', $context, $blocks);
  586. // line 294
  587. yield "
  588. <!-- body1 -->
  589. ";
  590. // line 297
  591. yield from $this->unwrap()->yieldBlock('body', $context, $blocks);
  592. // line 300
  593. yield " <!-- / body2 -->
  594. <!-- footer -->
  595. <div class=\"container-fluid\" id=\"page-footer\">
  596. <div class=\"container\">
  597. <div class=\"row\">
  598. <div class=\"newsletter\">
  599. <span>";
  600. // line 307
  601. yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("newsletter.subscribe");
  602. yield "</span>
  603. </div>
  604. <div class=\"footer-mail\">
  605. <form action=\"";
  606. // line 310
  607. yield $this->extensions['App\Service\App\PublicTwig']->pathFunction("mdl_newsletter_new");
  608. yield "\" method=\"post\" class=\"input-group\">
  609. <input type=\"text\" class=\"form-control bg-white p-lg-3 mr-sm-2 font-medium\" placeholder=\"Email\" aria-label=\"Email\">
  610. <button type=\"submit\" class=\"btn btn-dark font-medium\" id=\"login-btn\">
  611. <span>";
  612. // line 313
  613. yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("newsletter.apply");
  614. yield "</span><img src=\"";
  615. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/static/arrow-button.svg"), "html", null, true);
  616. yield "\" class=\"mw-17 mh-11\" alt=\"Arrow Button Icon\">
  617. </button>
  618. </form>
  619. </div>
  620. </div>
  621. <div class=\"row\">
  622. <div class=\"optima-group\">
  623. <img src=\"";
  624. // line 320
  625. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['App\Service\App\PublicTwig']->groupFunction()), "html", null, true);
  626. yield "\" alt=\"optima-group\">
  627. <div>
  628. <span class=\"optima-group-bolded\">By Optima Group</span>
  629. <div class=\"optima-group-text\">
  630. <span>Ready to get things moving</span>
  631. </div>
  632. </div>
  633. <div class=\"social-media input-group\">
  634. <a href=\"https://www.linkedin.com/showcase/optima-srbija/\" class=\"linkedin\"></a>
  635. <a href=\"https://www.instagram.com/optima.rs/\" class=\"instagram\"></a>
  636. <a href=\"https://www.facebook.com/people/Optimars/61571058540257/\" class=\"facebook\"></a>
  637. <a href=\"https://www.youtube.com/channel/UCb-qzB-4PGf1EhZtnaageew\" class=\"youtube\"></a>
  638. </div>
  639. </div>
  640. <div class=\"footer-menu\">
  641. <div class=\"simple-menu\">
  642. ";
  643. // line 336
  644. yield $this->extensions['App\Service\App\PublicTwig']->menuFunction("footer_left");
  645. yield "
  646. ";
  647. // line 337
  648. yield $this->extensions['App\Service\App\PublicTwig']->menuFunction("footer_right");
  649. yield "
  650. ";
  651. // line 338
  652. yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\ECommerce\\App\\WorkingHoursController::workingHoursWidgetAction"));
  653. yield "
  654. </div>
  655. </div>
  656. </div>
  657. <div class=\"row\">
  658. <p class=\"text-color-grey\">";
  659. // line 343
  660. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate("now", "Y"), "html", null, true);
  661. yield " ";
  662. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("rights-reserved"), "html", null, true);
  663. yield "</p>
  664. <div>
  665. <a href=\"";
  666. // line 345
  667. yield $this->extensions['App\Service\App\PublicTwig']->pathFunction("public_privacy_policy");
  668. yield "\" class=\"text-color-grey\">";
  669. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("policy.privacy"), "html", null, true);
  670. yield "</a>
  671. <a href=\"";
  672. // line 346
  673. yield $this->extensions['App\Service\App\PublicTwig']->pathFunction("public_terms_of_use");
  674. yield "\" class=\"text-color-grey\">";
  675. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("policy.use"), "html", null, true);
  676. yield "</a>
  677. <a href=\"";
  678. // line 347
  679. yield $this->extensions['App\Service\App\PublicTwig']->pathFunction("public_cookie_policy");
  680. yield "\" class=\"text-color-grey\">";
  681. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("policy.cookies"), "html", null, true);
  682. yield "</a>
  683. </div>
  684. </div>
  685. </div>
  686. </div>
  687. <!-- / footer -->
  688. <a href=\"#\" class=\"scrollup\">Scroll</a>
  689. <!-- SCRIPTS -->
  690. ";
  691. // line 357
  692. yield " ";
  693. yield from $this->unwrap()->yieldBlock('javascripts', $context, $blocks);
  694. // line 365
  695. yield " </body>
  696. </html>
  697. ";
  698. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  699. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  700. yield from [];
  701. }
  702. // line 13
  703. /**
  704. * @return iterable<null|scalar|\Stringable>
  705. */
  706. public function block_meta(array $context, array $blocks = []): iterable
  707. {
  708. $macros = $this->macros;
  709. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  710. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
  711. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  712. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
  713. // line 14
  714. yield " ";
  715. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  716. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  717. yield from [];
  718. }
  719. // line 19
  720. /**
  721. * @return iterable<null|scalar|\Stringable>
  722. */
  723. public function block_seoKeywords(array $context, array $blocks = []): iterable
  724. {
  725. $macros = $this->macros;
  726. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  727. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "seoKeywords"));
  728. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  729. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "seoKeywords"));
  730. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  731. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  732. yield from [];
  733. }
  734. // line 22
  735. /**
  736. * @return iterable<null|scalar|\Stringable>
  737. */
  738. public function block_seoDescription(array $context, array $blocks = []): iterable
  739. {
  740. $macros = $this->macros;
  741. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  742. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "seoDescription"));
  743. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  744. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "seoDescription"));
  745. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  746. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  747. yield from [];
  748. }
  749. // line 25
  750. /**
  751. * @return iterable<null|scalar|\Stringable>
  752. */
  753. public function block_seoCreated(array $context, array $blocks = []): iterable
  754. {
  755. $macros = $this->macros;
  756. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  757. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "seoCreated"));
  758. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  759. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "seoCreated"));
  760. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  761. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  762. yield from [];
  763. }
  764. // line 31
  765. /**
  766. * @return iterable<null|scalar|\Stringable>
  767. */
  768. public function block_title(array $context, array $blocks = []): iterable
  769. {
  770. $macros = $this->macros;
  771. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  772. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  773. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  774. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  775. yield "Welcome";
  776. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  777. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  778. yield from [];
  779. }
  780. // line 46
  781. /**
  782. * @return iterable<null|scalar|\Stringable>
  783. */
  784. public function block_stylesheets(array $context, array $blocks = []): iterable
  785. {
  786. $macros = $this->macros;
  787. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  788. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
  789. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  790. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
  791. // line 47
  792. yield " ";
  793. yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags($this->extensions['App\Service\App\PublicTwig']->appColorFunction("app/app-"));
  794. yield "
  795. ";
  796. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  797. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  798. yield from [];
  799. }
  800. // line 59
  801. /**
  802. * @return iterable<null|scalar|\Stringable>
  803. */
  804. public function block_body_class(array $context, array $blocks = []): iterable
  805. {
  806. $macros = $this->macros;
  807. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  808. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_class"));
  809. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  810. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_class"));
  811. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  812. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  813. yield from [];
  814. }
  815. // line 124
  816. /**
  817. * @return iterable<null|scalar|\Stringable>
  818. */
  819. public function block_translations(array $context, array $blocks = []): iterable
  820. {
  821. $macros = $this->macros;
  822. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  823. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "translations"));
  824. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  825. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "translations"));
  826. yield $this->extensions['App\Service\App\PublicTwig']->defaultLanguagePickerFunction();
  827. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  828. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  829. yield from [];
  830. }
  831. // line 293
  832. /**
  833. * @return iterable<null|scalar|\Stringable>
  834. */
  835. public function block_slider(array $context, array $blocks = []): iterable
  836. {
  837. $macros = $this->macros;
  838. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  839. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "slider"));
  840. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  841. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "slider"));
  842. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  843. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  844. yield from [];
  845. }
  846. // line 297
  847. /**
  848. * @return iterable<null|scalar|\Stringable>
  849. */
  850. public function block_body(array $context, array $blocks = []): iterable
  851. {
  852. $macros = $this->macros;
  853. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  854. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  855. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  856. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  857. // line 298
  858. yield " ";
  859. yield from $this->unwrap()->yieldBlock('content', $context, $blocks);
  860. // line 299
  861. yield " ";
  862. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  863. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  864. yield from [];
  865. }
  866. // line 298
  867. /**
  868. * @return iterable<null|scalar|\Stringable>
  869. */
  870. public function block_content(array $context, array $blocks = []): iterable
  871. {
  872. $macros = $this->macros;
  873. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  874. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  875. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  876. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  877. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  878. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  879. yield from [];
  880. }
  881. // line 357
  882. /**
  883. * @return iterable<null|scalar|\Stringable>
  884. */
  885. public function block_javascripts(array $context, array $blocks = []): iterable
  886. {
  887. $macros = $this->macros;
  888. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  889. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  890. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  891. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  892. // line 358
  893. yield " ";
  894. yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags($this->extensions['App\Service\App\PublicTwig']->appColorFunction("app/app-"));
  895. yield "
  896. <!-- Renders app.js & a webpack runtime.js file
  897. <script src=\"/build/runtime.js\" defer></script>
  898. <script src=\"/build/app.js\" defer></script>
  899. See note below about the \"defer\" attribute -->
  900. ";
  901. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  902. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  903. yield from [];
  904. }
  905. /**
  906. * @codeCoverageIgnore
  907. */
  908. public function getTemplateName(): string
  909. {
  910. return "base.html.twig";
  911. }
  912. /**
  913. * @codeCoverageIgnore
  914. */
  915. public function isTraitable(): bool
  916. {
  917. return false;
  918. }
  919. /**
  920. * @codeCoverageIgnore
  921. */
  922. public function getDebugInfo(): array
  923. {
  924. return array ( 1005 => 358, 992 => 357, 970 => 298, 959 => 299, 956 => 298, 943 => 297, 921 => 293, 898 => 124, 876 => 59, 862 => 47, 849 => 46, 826 => 31, 804 => 25, 782 => 22, 760 => 19, 749 => 14, 736 => 13, 723 => 365, 720 => 357, 706 => 347, 700 => 346, 694 => 345, 687 => 343, 679 => 338, 675 => 337, 671 => 336, 652 => 320, 640 => 313, 634 => 310, 628 => 307, 619 => 300, 617 => 297, 612 => 294, 610 => 293, 607 => 292, 598 => 286, 592 => 282, 590 => 281, 580 => 273, 572 => 269, 570 => 265, 569 => 260, 568 => 257, 564 => 255, 562 => 254, 558 => 253, 555 => 252, 552 => 251, 550 => 250, 529 => 232, 523 => 229, 519 => 227, 513 => 225, 507 => 223, 505 => 222, 500 => 220, 494 => 216, 488 => 213, 485 => 212, 476 => 209, 474 => 207, 473 => 204, 470 => 203, 468 => 202, 461 => 197, 455 => 195, 449 => 193, 447 => 192, 440 => 187, 437 => 186, 435 => 185, 429 => 181, 423 => 179, 417 => 177, 415 => 176, 410 => 174, 405 => 172, 396 => 168, 392 => 167, 382 => 159, 376 => 156, 373 => 155, 364 => 152, 362 => 150, 361 => 147, 358 => 146, 356 => 145, 350 => 143, 348 => 139, 347 => 134, 346 => 131, 341 => 128, 335 => 126, 332 => 125, 329 => 124, 327 => 123, 318 => 117, 314 => 116, 307 => 112, 303 => 111, 299 => 110, 293 => 107, 289 => 106, 283 => 102, 280 => 100, 278 => 99, 271 => 95, 263 => 90, 259 => 88, 257 => 87, 256 => 86, 249 => 81, 244 => 78, 238 => 77, 228 => 73, 221 => 69, 218 => 68, 213 => 67, 209 => 66, 204 => 63, 202 => 62, 199 => 61, 197 => 60, 193 => 59, 185 => 53, 181 => 49, 178 => 46, 173 => 43, 169 => 42, 165 => 41, 161 => 40, 157 => 39, 153 => 38, 149 => 37, 145 => 36, 141 => 35, 137 => 34, 133 => 33, 126 => 31, 120 => 28, 115 => 27, 110 => 25, 107 => 24, 102 => 22, 99 => 21, 94 => 19, 92 => 18, 88 => 16, 86 => 13, 83 => 12, 79 => 10, 77 => 9, 63 => 2, 60 => 1,);
  925. }
  926. public function getSourceContext(): Source
  927. {
  928. return new Source("<!DOCTYPE html>
  929. <html lang=\"{{ app.request.locale }}\" class=\"{{ app.request.host|replace({'.': '_'}) }} app-color-{{ app_color() }}\">
  930. <head>
  931. <meta charset=\"UTF-8\" />
  932. <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  933. <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"/>
  934. {% if no_index %}
  935. <meta name=\"robots\" content=\"noindex,nofollow\"/>
  936. {% endif %}
  937. {% block meta %}
  938. {% endblock %}
  939. {# <meta content=\"width=1280\" name=\"viewport\">#}
  940. <meta http-equiv=\"Content-Style-Type\" content=\"text/css\" />
  941. <meta http-equiv=\"Content-Script-Type\" content=\"text/javascript\"/>
  942. {% if block('seoKeywords') is not empty -%}
  943. <meta name=\"keywords\" content=\"{% block seoKeywords %}{% endblock %}\"/>
  944. {%- endif %}
  945. {% if block('seoDescription') is not empty -%}
  946. <meta name=\"description\" content=\"{% block seoDescription %}{% endblock %}\"/>
  947. {%- endif %}
  948. {% if block('seoCreated') is not empty -%}
  949. <meta name=\"date\" content=\"{% block seoCreated %}{% endblock %}\"/>
  950. {%- endif %}
  951. <meta name=\"author\" content=\"{{ app_name }}\"/>
  952. <meta name=\"copyright\" content=\"copyright by {{ app_name }}\"/>
  953. <!-- SCRIPTS -->
  954. <title>{% block title %}Welcome{% endblock %} | {{ app_name }}</title>
  955. <!-- LINK -->
  956. <link rel=\"shortcut icon\" type=\"image/x-icon\" href=\"{{ asset('assets/static/favicon.ico') }}\"/>
  957. <link rel=\"shortcut icon\" type=\"image/png\" href=\"{{ asset('assets/static/favicon.png') }}\"/>
  958. <link rel=\"apple-touch-icon\" type=\"image/png\" href=\"{{ asset('assets/static/favicon.png') }}\"><!-- iPhone -->
  959. <link rel=\"apple-touch-icon\" sizes=\"57x57\" href=\"{{ asset('assets/static/apple-touch-icon-57x57.png') }}\" />
  960. <link rel=\"apple-touch-icon\" sizes=\"72x72\" href=\"{{ asset('assets/static/apple-touch-icon-72x72.png') }}\" />
  961. <link rel=\"apple-touch-icon\" sizes=\"76x76\" href=\"{{ asset('assets/static/apple-touch-icon-76x76.png') }}\" />
  962. <link rel=\"apple-touch-icon\" sizes=\"114x114\" href=\"{{ asset('assets/static/apple-touch-icon-114x114.png') }}\" />
  963. <link rel=\"apple-touch-icon\" sizes=\"120x120\" href=\"{{ asset('assets/static/apple-touch-icon-120x120.png') }}\" />
  964. <link rel=\"apple-touch-icon\" sizes=\"144x144\" href=\"{{ asset('assets/static/apple-touch-icon-144x144.png') }}\" />
  965. <link rel=\"apple-touch-icon\" sizes=\"152x152\" href=\"{{ asset('assets/static/apple-touch-icon-152x152.png') }}\" />
  966. <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"{{ asset('assets/static/apple-touch-icon-180x180.png') }}\" />
  967. {# <link rel=\"stylesheet\" href=\"{{ asset(style()) }}\">#}
  968. {% block stylesheets %}
  969. {{ encore_entry_link_tags(app_color('app/app-')) }}
  970. {% endblock %}
  971. <!-- GOOGLE -->
  972. {# <script type=\"application/javascript\" src=\"{{ asset('assets/runtime.js') }}\"></script>#}
  973. {# <script type=\"application/javascript\" src=\"{{ asset('assets/vendor.js') }}\"></script>#}
  974. <script src=\"https://maps.googleapis.com/maps/api/js?key=AIzaSyCxYi_Sk25cIlLkMEQlM7I-jAqWYTDQj64&loading=async\"></script>
  975. <!-- Global site tag (gtag.js) - Google Analytics -->
  976. <script async src=\"https://www.googletagmanager.com/gtag/js?id=UA-151104863-1\"></script>
  977. <script>window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'UA-151104863-1');</script>
  978. </head>
  979. <body class=\"{% block body_class %}{% endblock %}\">
  980. {% set allMessages = app.flashes() %}
  981. {% if allMessages is not empty %}
  982. <div aria-live=\"polite\" aria-atomic=\"true\">
  983. <!-- Position it -->
  984. <div>
  985. {% for type,messages in allMessages %}
  986. {% for message in messages %}
  987. <div class=\"toast\" role=\"alert\" aria-live=\"assertive\" aria-atomic=\"true\" data-delay=\"10000\">
  988. <div class=\"alert alert-{{ type }} mb-0\" role=\"alert\" aria-live=\"assertive\" aria-atomic=\"true\">
  989. <button type=\"button\" class=\"ml-2 mb-1 close\" data-dismiss=\"toast\" aria-label=\"Close\">
  990. <span aria-hidden=\"true\">&times;</span>
  991. </button>
  992. {{ message|raw }}
  993. </div>
  994. </div>
  995. {% endfor %}
  996. {% endfor %}
  997. </div>
  998. </div>
  999. {% endif %}
  1000. <div class=\"card cookie-card\" style=\"position:fixed; bottom:0; left:0; width: 100vw; z-index: 9999; max-height: 100vh; max-width: 100vw; overflow: auto\">
  1001. <div class=\"card-body\">
  1002. <h5 class=\"card-title\">Cookies</h5>
  1003. <p class=\"card-text\">
  1004. {{ 'cookie.text'|trans({
  1005. ':link': path('mdl_public_page_show', { '_locale': app.request.locale, 'slug': 'privacy-policy' })
  1006. })|raw }}
  1007. </p>
  1008. <a href=\"#\" class=\"btn btn-primary cookie-btn\">{{ 'cookie.action'|trans }}</a>
  1009. </div>
  1010. </div>
  1011. <script>function checkGDPRCookie(){var e=document.cookie.split(\"; \").find(e=>e.startsWith(\"gdpr\"));void 0!==e&&\"true\"===(e=e.split(\"=\")[1])&&(document.querySelector(\".cookie-card\").style.display=\"none\")}document.querySelector(\".cookie-btn\").addEventListener(\"click\",function(){document.cookie=\"gdpr=true; ;max-age=31536000; path=/; SameSite\",checkGDPRCookie()}),checkGDPRCookie();</script>
  1012. {{ render(controller('App\\\\Controller\\\\ECommerce\\\\App\\\\InvoiceController::unPaidAction'))|raw }}
  1013. <!-- header -->
  1014. {% set isUser = is_granted('ROLE_USER') %}
  1015. <div class=\"container-fluid\">
  1016. {#{% if isUser %}#}
  1017. <div class=\"container font-medium\" id=\"header-login\">
  1018. <div class=\"row top-row nowrap\">
  1019. <div class=\"top-left\">
  1020. <div class=\"header-contact map-pin\">
  1021. <img src=\"{{ asset('assets/static/map-pin.svg') }}\" alt=\"Map Pin Icon\">
  1022. <span class=\"font-medium\">{{ company_address }}</span>
  1023. </div>
  1024. <div class=\"header-contact header-phone\">
  1025. <img src=\"{{ asset('assets/static/phone.svg') }}\" alt=\"Phone Icon\">
  1026. <a class=\"font-medium phone-link\" href=\"tel:{{ company_phone|regex_replace('/,.*/', '') }}\">
  1027. {{ company_phone|regex_replace('/,.*/', '') }}
  1028. </a>
  1029. </div>
  1030. <div class=\"header-contact header-email\">
  1031. <img src=\"{{ asset('assets/static/mail.svg') }}\" alt=\"Envelope Icon\">
  1032. <span class=\"font-medium\">{{ company_email }}</span>
  1033. </div>
  1034. </div>
  1035. <div class=\"top-right\">
  1036. <div class=\"language-picker\">
  1037. <div class=\"btn-group float-right\">
  1038. {% if block('translations') is defined %}
  1039. {% block translations %}{{ defaultLanguagePicker() }}{% endblock %}
  1040. {% else %}
  1041. {{ defaultLanguagePicker() }}
  1042. {% endif %}
  1043. </div>
  1044. </div>
  1045. <div class=\"help\">
  1046. <a class=\"text-decoration-none\" href=\"{{ path(
  1047. 'mdl_app_product_filter',
  1048. {
  1049. '_locale': app.request.locale,
  1050. 'title': 'S 30X47X7',
  1051. 'help': 1,
  1052. 'on_complete': path(
  1053. 'mdl_app_product_index',
  1054. {'_locale': app.request.locale},
  1055. 'true'
  1056. )
  1057. })
  1058. }}\">{{ 'nav.help'|trans|raw}}</a>
  1059. </div>
  1060. {% if isUser == false %}
  1061. <div class=\"header-login-btn margin-header\">
  1062. <a class=\"text-decoration-none btn btn-dark align-content-center font-medium\" id=\"login-btn\" href=\"{{ path(
  1063. 'login',
  1064. {
  1065. '_locale': app.request.locale,
  1066. })
  1067. }}\"><span>{{ 'nav.login'|trans|raw }}</span><img src=\"{{ asset('assets/static/arrow-button.svg') }}\" alt=\"Arrow Button Icon\"></a>
  1068. </div>
  1069. {% else %}
  1070. <div class=\"header-login-btn margin-header\">
  1071. <img src=\"{{ asset('assets/static/user.svg') }}\" class=\"wh-42\" alt=\"User Profile Icon\" />
  1072. </div>
  1073. {% endif %}
  1074. </div>
  1075. </div>
  1076. </div>
  1077. </div>
  1078. <div class=\"container-fluid\">
  1079. <div class=\"container\" id=\"header-login\">
  1080. <div class=\"row bottom-row\">
  1081. <div class=\"header-logo\">
  1082. <a href=\"{{ path('mdl_public_page_index', {'_locale': app.request.locale}) }}\">
  1083. <img src=\"{{ asset(logo()) }}\" class=\"img-fluid\" alt=\"{{ app_name }}\"/>
  1084. </a>
  1085. </div>
  1086. <div class=\"input-group\" id=\"search-bar\">
  1087. {{ render(controller('App\\\\Controller\\\\ECommerce\\\\App\\\\ProductController::filterAction')) }}
  1088. </div>
  1089. {{ render(controller('App\\\\Controller\\\\ECommerce\\\\App\\\\CountdownController::countdown')) }}
  1090. {% if is_granted('CART_CREATE') %}
  1091. {{ render(controller('App\\\\Controller\\\\ECommerce\\\\App\\\\CartController::smallWidgetAction')) }}
  1092. {% else %}
  1093. {{ render(controller('App\\\\Controller\\\\ECommerce\\\\App\\\\IndividualOrderController::smallWidgetAction')) }}
  1094. {% endif %}
  1095. <nav class=\"navbar navbar-expand-lg navbar-light sm-screen-navbar\">
  1096. <button class=\"navbar-toggler\" type=\"button\" data-toggle=\"collapse\" data-target=\"#navbar\" aria-controls=\"navbar\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">
  1097. <span class=\"navbar-toggler-icon\"></span>
  1098. </button>
  1099. {% set currentRoute = app.request.attributes.get('_route') %}
  1100. {% set shopRoute = 'mdl_app_product_index' %}
  1101. <div class=\"collapse navbar-collapse text\" id=\"navbar\">
  1102. <div class=\"mobile-menu\">
  1103. <div class=\"language-picker\">
  1104. <div class=\"btn-group float-left\">
  1105. {% if block('translations') is defined %}
  1106. {{ defaultLanguagePicker() }}
  1107. {% else %}
  1108. {{ defaultLanguagePicker() }}
  1109. {% endif %}
  1110. </div>
  1111. </div>
  1112. <div class=\"float-right\">
  1113. {% if isUser == false %}
  1114. <div class=\"header-login-btn margin-header\">
  1115. <a class=\"text-decoration-none btn btn-dark align-content-center font-medium\" id=\"login-btn\" href=\"{{ path(
  1116. 'login',
  1117. {
  1118. '_locale': app.request.locale,
  1119. })
  1120. }}\"><span>{{ 'nav.login'|trans|raw }}</span><img src=\"{{ asset('assets/static/arrow-button.svg') }}\" alt=\"Arrow Button Icon\"></a>
  1121. </div>
  1122. {% else %}
  1123. <div class=\"header-login-btn margin-header\">
  1124. <img src=\"{{ asset('assets/static/user.svg') }}\" class=\"wh-42\" alt=\"User Profile Icon\" />
  1125. </div>
  1126. {% endif %}
  1127. </div>
  1128. </div>
  1129. <div class=\"mobile-widgets\">
  1130. <div class=\"widgets\">
  1131. {{ render(controller('App\\\\Controller\\\\ECommerce\\\\App\\\\CountdownController::countdown')) }}
  1132. {% if is_granted('CART_CREATE') %}
  1133. {{ render(controller('App\\\\Controller\\\\ECommerce\\\\App\\\\CartController::smallWidgetAction')) }}
  1134. {% else %}
  1135. {{ render(controller('App\\\\Controller\\\\ECommerce\\\\App\\\\IndividualOrderController::smallWidgetAction')) }}
  1136. {% endif %}
  1137. </div>
  1138. <div class=\"input-group\" id=\"search-bar\">
  1139. {{ render(controller('App\\\\Controller\\\\ECommerce\\\\App\\\\ProductController::filterAction')) }}
  1140. </div>
  1141. </div>
  1142. {{ menu('main_menu') }}
  1143. </div>
  1144. </nav>
  1145. </div>
  1146. </div>
  1147. </div>
  1148. <!-- / header -->
  1149. <!-- nav -->
  1150. <div class=\"container-fluid\">
  1151. <div class=\"container\">
  1152. <div class=\"row\">
  1153. <div class=\"col\">
  1154. <nav class=\"navbar navbar-expand-lg navbar-light lg-screen-navbar\">
  1155. <button class=\"navbar-toggler\" type=\"button\" data-toggle=\"collapse\" data-target=\"#navbar\" aria-controls=\"navbar\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">
  1156. <span class=\"navbar-toggler-icon\"></span>
  1157. </button>
  1158. {% set currentRoute = app.request.attributes.get('_route') %}
  1159. {% set shopRoute = 'mdl_app_product_index' %}
  1160. <div class=\"collapse navbar-collapse text\" id=\"navbar\">
  1161. {{ menu('main_menu') }}
  1162. {% if currentRoute == shopRoute %}
  1163. <ul class=\"navbar-nav ml-auto mr-5 link-help\">
  1164. <li class=\"nav-item\">
  1165. <a href=\"{{ path(
  1166. 'mdl_app_product_filter',
  1167. {
  1168. '_locale': app.request.locale,
  1169. 'title': 'S 30X47X7',
  1170. 'help': 1,
  1171. 'on_complete': path(
  1172. 'mdl_app_product_index',
  1173. {'_locale': app.request.locale},
  1174. 'true'
  1175. )
  1176. })
  1177. }}\" class=\"nav-link\">{{ 'nav.help'|trans }}</a>
  1178. </li>
  1179. </ul>
  1180. {% endif %}
  1181. </div>
  1182. </nav>
  1183. </div>
  1184. </div>
  1185. </div>
  1186. </div>
  1187. <!-- / nav -->
  1188. {% if isUser %}
  1189. <div class=\"container-fluid\">
  1190. <div class=\"container\">
  1191. <div class=\"content\">
  1192. <div class=\"row\">
  1193. {{ menu('user_menu') }}
  1194. </div>
  1195. </div>
  1196. </div>
  1197. </div>
  1198. {% endif %}
  1199. {% block slider %}{% endblock %}
  1200. <!-- body1 -->
  1201. {% block body %}
  1202. {% block content %}{% endblock %}
  1203. {% endblock %}
  1204. <!-- / body2 -->
  1205. <!-- footer -->
  1206. <div class=\"container-fluid\" id=\"page-footer\">
  1207. <div class=\"container\">
  1208. <div class=\"row\">
  1209. <div class=\"newsletter\">
  1210. <span>{{ 'newsletter.subscribe'|trans|raw }}</span>
  1211. </div>
  1212. <div class=\"footer-mail\">
  1213. <form action=\"{{ path('mdl_newsletter_new') }}\" method=\"post\" class=\"input-group\">
  1214. <input type=\"text\" class=\"form-control bg-white p-lg-3 mr-sm-2 font-medium\" placeholder=\"Email\" aria-label=\"Email\">
  1215. <button type=\"submit\" class=\"btn btn-dark font-medium\" id=\"login-btn\">
  1216. <span>{{ 'newsletter.apply'|trans|raw }}</span><img src=\"{{ asset('assets/static/arrow-button.svg') }}\" class=\"mw-17 mh-11\" alt=\"Arrow Button Icon\">
  1217. </button>
  1218. </form>
  1219. </div>
  1220. </div>
  1221. <div class=\"row\">
  1222. <div class=\"optima-group\">
  1223. <img src=\"{{ asset(group()) }}\" alt=\"optima-group\">
  1224. <div>
  1225. <span class=\"optima-group-bolded\">By Optima Group</span>
  1226. <div class=\"optima-group-text\">
  1227. <span>Ready to get things moving</span>
  1228. </div>
  1229. </div>
  1230. <div class=\"social-media input-group\">
  1231. <a href=\"https://www.linkedin.com/showcase/optima-srbija/\" class=\"linkedin\"></a>
  1232. <a href=\"https://www.instagram.com/optima.rs/\" class=\"instagram\"></a>
  1233. <a href=\"https://www.facebook.com/people/Optimars/61571058540257/\" class=\"facebook\"></a>
  1234. <a href=\"https://www.youtube.com/channel/UCb-qzB-4PGf1EhZtnaageew\" class=\"youtube\"></a>
  1235. </div>
  1236. </div>
  1237. <div class=\"footer-menu\">
  1238. <div class=\"simple-menu\">
  1239. {{ menu('footer_left') }}
  1240. {{ menu('footer_right') }}
  1241. {{ render(controller('App\\\\Controller\\\\ECommerce\\\\App\\\\WorkingHoursController::workingHoursWidgetAction'))|raw }}
  1242. </div>
  1243. </div>
  1244. </div>
  1245. <div class=\"row\">
  1246. <p class=\"text-color-grey\">{{ 'now'|date('Y') }} {{ 'rights-reserved'|trans }}</p>
  1247. <div>
  1248. <a href=\"{{ path('public_privacy_policy') }}\" class=\"text-color-grey\">{{ 'policy.privacy'|trans }}</a>
  1249. <a href=\"{{ path('public_terms_of_use') }}\" class=\"text-color-grey\">{{ 'policy.use'|trans }}</a>
  1250. <a href=\"{{ path('public_cookie_policy') }}\" class=\"text-color-grey\">{{ 'policy.cookies'|trans }}</a>
  1251. </div>
  1252. </div>
  1253. </div>
  1254. </div>
  1255. <!-- / footer -->
  1256. <a href=\"#\" class=\"scrollup\">Scroll</a>
  1257. <!-- SCRIPTS -->
  1258. {#<script type=\"application/javascript\" src=\"{{ asset('assets/app/app.js') }}\"></script>#}
  1259. {% block javascripts %}
  1260. {{ encore_entry_script_tags(app_color('app/app-')) }}
  1261. <!-- Renders app.js & a webpack runtime.js file
  1262. <script src=\"/build/runtime.js\" defer></script>
  1263. <script src=\"/build/app.js\" defer></script>
  1264. See note below about the \"defer\" attribute -->
  1265. {% endblock %}
  1266. </body>
  1267. </html>
  1268. ", "base.html.twig", "/var/www/rs.optima/templates/base.html.twig");
  1269. }
  1270. }