var/cache/dev/twig/58/586cca8c96078f5a57443707976f38f1.php line 63

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. /* pages/sim/cobranding.html.twig */
  16. class __TwigTemplate_6d70c3541120c1639deeb455a1bab857 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->blocks = [
  28. 'content' => [$this, 'block_content'],
  29. 'body_end_scripts_requirements' => [$this, 'block_body_end_scripts_requirements'],
  30. ];
  31. }
  32. protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  33. {
  34. // line 1
  35. return "layouts/common/default.html.twig";
  36. }
  37. protected function doDisplay(array $context, array $blocks = []): iterable
  38. {
  39. $macros = $this->macros;
  40. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/sim/cobranding.html.twig"));
  42. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  43. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/sim/cobranding.html.twig"));
  44. // line 2
  45. $macros["forms"] = $this->macros["forms"] = $this->load("forms/forms.html.twig", 2)->unwrap();
  46. // line 3
  47. $this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 3, $this->source); })()), ["includes/common/form-theme.html.twig"], true);
  48. // line 5
  49. $context["pageAttributes"] = ((array_key_exists("pageAttributes", $context)) ? ((isset($context["pageAttributes"]) || array_key_exists("pageAttributes", $context) ? $context["pageAttributes"] : (function () { throw new RuntimeError('Variable "pageAttributes" does not exist.', 5, $this->source); })())) : (["group" => "sim", "section" => "sim"]));
  50. // line 6
  51. $context["page_title"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("widget.title");
  52. // line 1
  53. $this->parent = $this->load("layouts/common/default.html.twig", 1);
  54. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  55. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  56. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  57. }
  58. // line 8
  59. /**
  60. * @return iterable<null|scalar|\Stringable>
  61. */
  62. public function block_content(array $context, array $blocks = []): iterable
  63. {
  64. $macros = $this->macros;
  65. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  66. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  67. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  68. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  69. // line 9
  70. yield " <h1>";
  71. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("doc.page.title"), "html", null, true);
  72. yield "</h1>
  73. <div class=\"is-row\">
  74. <div class=\"is-col-xs-12\">
  75. <p>
  76. ";
  77. // line 13
  78. yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("doc.intro");
  79. yield "
  80. </p>
  81. <p>
  82. ";
  83. // line 16
  84. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("doc.style.text"), "html", null, true);
  85. yield "
  86. </p>
  87. <h3>";
  88. // line 18
  89. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("doc.style.download"), "html", null, true);
  90. yield "</h3>
  91. <ul>
  92. <li>
  93. <a href=\"";
  94. // line 21
  95. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("/css/" . (isset($context["network_id"]) || array_key_exists("network_id", $context) ? $context["network_id"] : (function () { throw new RuntimeError('Variable "network_id" does not exist.', 21, $this->source); })())) . "/custom-journey.css")), "html", null, true);
  96. yield "\" target=\"_blank\" >";
  97. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("doc.style.journeyLink"), "html", null, true);
  98. yield "</a>
  99. </li>
  100. <li>
  101. <a href=\"";
  102. // line 24
  103. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("/css/" . (isset($context["network_id"]) || array_key_exists("network_id", $context) ? $context["network_id"] : (function () { throw new RuntimeError('Variable "network_id" does not exist.', 24, $this->source); })())) . "/custom-schedule.css")), "html", null, true);
  104. yield " \" target=\"_blank\" >";
  105. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("doc.style.scheduleLink"), "html", null, true);
  106. yield "</a>
  107. </li>
  108. <li>
  109. <a href=\"";
  110. // line 27
  111. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("/css/" . (isset($context["network_id"]) || array_key_exists("network_id", $context) ? $context["network_id"] : (function () { throw new RuntimeError('Variable "network_id" does not exist.', 27, $this->source); })())) . "/custom-trafic.css")), "html", null, true);
  112. yield "\" target=\"_blank\" >";
  113. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("doc.style.trafficLink"), "html", null, true);
  114. yield "</a>
  115. </li>
  116. </ul>
  117. </div>
  118. </div>
  119. <h2>";
  120. // line 32
  121. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("widget.title"), "html", null, true);
  122. yield "</h2>
  123. ";
  124. // line 34
  125. $context['_parent'] = $context;
  126. $context['_seq'] = CoreExtension::ensureTraversable(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.', 34, $this->source); })()), "session", [], "any", false, false, false, 34), "flashbag", [], "any", false, false, false, 34), "all", [], "any", false, false, false, 34));
  127. foreach ($context['_seq'] as $context["type"] => $context["message"]) {
  128. // line 35
  129. yield " <p class=\"is-Alert is-Alert_";
  130. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::capitalize($this->env->getCharset(), $context["type"]), "html", null, true);
  131. yield " is-Alert_Dismissible\" role=\"alert\">
  132. <button type=\"button\" class=\"is-Close\" data-dismiss=\"alert\" aria-label=\"";
  133. // line 36
  134. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("close"), "html", null, true);
  135. yield "\"><span aria-hidden=\"true\">&times;</span></button>
  136. <span class=\"is-Alert-Title\">
  137. <i class=\"is-Icon is-Icon-sim-";
  138. // line 38
  139. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["type"], "html", null, true);
  140. yield "\" aria-hidden=\"true\"></i>
  141. ";
  142. // line 39
  143. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(("forms." . $context["type"])), "html", null, true);
  144. yield "
  145. </span>
  146. ";
  147. // line 41
  148. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["message"], 0, [], "array", false, false, false, 41), "html", null, true);
  149. yield "
  150. </p>
  151. ";
  152. }
  153. $_parent = $context['_parent'];
  154. unset($context['_seq'], $context['type'], $context['message'], $context['_parent']);
  155. $context = array_intersect_key($context, $_parent) + $_parent;
  156. // line 44
  157. yield " ";
  158. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 44, $this->source); })()), 'form_start', ["attr" => ["class" => "is-CobrandingForm"]]);
  159. yield "
  160. <div class=\"is-row\">
  161. <div class=\"is-col-xs-12 is-col-sm-6\">
  162. <div class=\"is-Field is-LabelledInput\">
  163. ";
  164. // line 48
  165. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 48, $this->source); })()), "name", [], "any", false, false, false, 48), 'widget', ["attr" => ["class" => "is-LabelledInput-Input"]]);
  166. yield "
  167. ";
  168. // line 49
  169. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 49, $this->source); })()), "name", [], "any", false, false, false, 49), 'label', ["label_attr" => ["class" => "is-LabelledInput-Label"]]);
  170. yield "
  171. <span class=\"help-block\">";
  172. // line 50
  173. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("doc.help.name"), "html", null, true);
  174. yield "</span>
  175. </div>
  176. </div>
  177. <div class=\"is-col-xs-12 is-col-sm-6\">
  178. <div class=\"is-Field is-LabelledInput\">
  179. ";
  180. // line 55
  181. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 55, $this->source); })()), "email", [], "any", false, false, false, 55), 'widget', ["attr" => ["class" => "is-LabelledInput-Input"]]);
  182. yield "
  183. ";
  184. // line 56
  185. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 56, $this->source); })()), "email", [], "any", false, false, false, 56), 'label', ["label_attr" => ["class" => "is-LabelledInput-Label"]]);
  186. yield "
  187. <span class=\"help-block\">";
  188. // line 57
  189. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("doc.help.email"), "html", null, true);
  190. yield "</span>
  191. </div>
  192. </div>
  193. </div>
  194. <div class=\"is-row\">
  195. <div class=\"is-col-xs-12 is-col-sm-7\">
  196. <div class=\"is-Field\">
  197. ";
  198. // line 64
  199. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 64, $this->source); })()), "widgetType", [], "any", false, false, false, 64), 'label', ["label_attr" => ["class" => "is-Label is-Label_Display_Block"]]);
  200. yield "
  201. ";
  202. // line 65
  203. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 65, $this->source); })()), "widgetType", [], "any", false, false, false, 65), 'widget', ["attr" => ["class" => "is-Combobox", "is-button-additionnal-class" => "is-Combobox-Button_Large"]]);
  204. yield "
  205. ";
  206. // line 66
  207. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("doc.help.widget_type"), "html", null, true);
  208. yield "
  209. </div>
  210. </div>
  211. </div>
  212. <div class=\"is-Panel is-Panel_Illustrated widgetType-Description is-hide ITINERAIRE_INTEGRE\"><i class=\"is-Icon is-Icon-com-info\" aria-hidden=\"true\"></i>";
  213. // line 70
  214. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("doc.help.widgets.ITINERAIRE_INTEGRE"), "html", null, true);
  215. yield "<br><a href=\"";
  216. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("widget.page.index", ["product" => "place-journey"]);
  217. yield "\" target=\"_blank\">";
  218. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("widget.see_an_example"), "html", null, true);
  219. yield "</a></div>
  220. <div class=\"is-Panel is-Panel_Illustrated widgetType-Description is-hide ITINERAIRE_REDIRECTION_SIM\"><i class=\"is-Icon is-Icon-com-info\" aria-hidden=\"true\"></i>";
  221. // line 71
  222. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("doc.help.widgets.ITINERAIRE_REDIRECTION_SIM"), "html", null, true);
  223. yield "<br><a href=\"";
  224. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("widget.page.index", ["product" => "place", "redirection" => "true", "internal" => "false"]), "html", null, true);
  225. yield "\" target=\"_blank\">";
  226. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("widget.see_an_example"), "html", null, true);
  227. yield "</a></div>
  228. <div class=\"is-Panel is-Panel_Illustrated widgetType-Description is-hide ITINERAIRE_REDIRECTION_SITE_SITE\"><i class=\"is-Icon is-Icon-com-info\" aria-hidden=\"true\"></i>";
  229. // line 72
  230. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("doc.help.widgets.ITINERAIRE_REDIRECTION_SITE_SITE"), "html", null, true);
  231. yield "<br><a href=\"";
  232. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("widget.page.index", ["product" => "place", "redirection" => "true", "internal" => "true", "partner" => "true", "target" => ((((isset($context["baseUrl"]) || array_key_exists("baseUrl", $context) ? $context["baseUrl"] : (function () { throw new RuntimeError('Variable "baseUrl" does not exist.', 72, $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.', 72, $this->source); })()), "request", [], "any", false, false, false, 72), "locale", [], "any", false, false, false, 72)) . "/widget")]), "html", null, true);
  233. yield "\" target=\"_blank\">";
  234. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("widget.see_an_example"), "html", null, true);
  235. yield "</a></div>
  236. <div class=\"is-Panel is-Panel_Illustrated widgetType-Description is-hide ITINERAIRE_REDIRECTION_PAGE_PAGE\"><i class=\"is-Icon is-Icon-com-info\" aria-hidden=\"true\"></i>";
  237. // line 73
  238. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("doc.help.widgets.ITINERAIRE_REDIRECTION_PAGE_PAGE"), "html", null, true);
  239. yield "<br><a href=\"";
  240. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("widget.page.index", ["product" => "place", "redirection" => "true", "internal" => "true", "target" => "fr/widget"]), "html", null, true);
  241. yield "\" target=\"_blank\">";
  242. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("widget.see_an_example"), "html", null, true);
  243. yield "</a></div>
  244. <div class=\"is-Panel is-Panel_Illustrated widgetType-Description is-hide HORAIRE_INTEGRE\"><i class=\"is-Icon is-Icon-com-info\" aria-hidden=\"true\"></i>";
  245. // line 74
  246. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("doc.help.widgets.HORAIRE_INTEGRE"), "html", null, true);
  247. yield "<br><a href=\"";
  248. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("widget.page.index", ["product" => "schedule-map"]);
  249. yield "\" target=\"_blank\">";
  250. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("widget.see_an_example"), "html", null, true);
  251. yield "</a></div>
  252. <div class=\"is-Panel is-Panel_Illustrated widgetType-Description is-hide HORAIRE_REDIRECTION_SIM\"><i class=\"is-Icon is-Icon-com-info\" aria-hidden=\"true\"></i>";
  253. // line 75
  254. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("doc.help.widgets.HORAIRE_REDIRECTION_SIM"), "html", null, true);
  255. yield "<br><a href=\"";
  256. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("widget.page.index", ["product" => "schedule", "redirection" => "true", "internal" => "false"]), "html", null, true);
  257. yield "\" target=\"_blank\">";
  258. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("widget.see_an_example"), "html", null, true);
  259. yield "</a></div>
  260. <div class=\"is-Panel is-Panel_Illustrated widgetType-Description is-hide HORAIRE_REDIRECTION_SITE_SITE\"><i class=\"is-Icon is-Icon-com-info\" aria-hidden=\"true\"></i>";
  261. // line 76
  262. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("doc.help.widgets.HORAIRE_REDIRECTION_SITE_SITE"), "html", null, true);
  263. yield "<br><a href=\"";
  264. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("widget.page.index", ["product" => "schedule", "redirection" => "true", "internal" => "true", "partner" => "true", "target" => ((((isset($context["baseUrl"]) || array_key_exists("baseUrl", $context) ? $context["baseUrl"] : (function () { throw new RuntimeError('Variable "baseUrl" does not exist.', 76, $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.', 76, $this->source); })()), "request", [], "any", false, false, false, 76), "locale", [], "any", false, false, false, 76)) . "/widget")]), "html", null, true);
  265. yield "\" target=\"_blank\">";
  266. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("widget.see_an_example"), "html", null, true);
  267. yield "</a></div>
  268. <div class=\"is-Panel is-Panel_Illustrated widgetType-Description is-hide HORAIRE_REDIRECTION_PAGE_PAGE\"><i class=\"is-Icon is-Icon-com-info\" aria-hidden=\"true\"></i>";
  269. // line 77
  270. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("doc.help.widgets.HORAIRE_REDIRECTION_PAGE_PAGE"), "html", null, true);
  271. yield "<br><a href=\"";
  272. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("widget.page.index", ["product" => "schedule", "redirection" => "true", "internal" => "true", "target" => "fr/widget"]), "html", null, true);
  273. yield "\" target=\"_blank\">";
  274. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("widget.see_an_example"), "html", null, true);
  275. yield "</a></div>
  276. <div class=\"is-Panel is-Panel_Illustrated widgetType-Description is-hide TRAFIC_INTEGRE\"><i class=\"is-Icon is-Icon-com-info\" aria-hidden=\"true\"></i>";
  277. // line 78
  278. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("doc.help.widgets.TRAFIC_INTEGRE"), "html", null, true);
  279. yield "<br><a href=\"";
  280. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("widget.page.index", ["product" => "traffic"]);
  281. yield "\" target=\"_blank\">";
  282. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("widget.see_an_example"), "html", null, true);
  283. yield "</a></div>
  284. <div class=\"is-Panel is-Panel_Illustrated widgetType-Description is-hide FULL\"><i class=\"is-Icon is-Icon-com-info\" aria-hidden=\"true\"></i>";
  285. // line 79
  286. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("doc.help.widgets.FULL"), "html", null, true);
  287. yield "<br><a href=\"";
  288. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("widget.page.index", ["product" => "full"]);
  289. yield "\" target=\"_blank\">";
  290. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("widget.see_an_example"), "html", null, true);
  291. yield "</a></div>
  292. <div class=\"is-Panel is-Panel_Illustrated widgetType-Description is-hide FULL_EXCEPT_TRAFFIC\"><i class=\"is-Icon is-Icon-com-info\" aria-hidden=\"true\"></i>";
  293. // line 80
  294. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("doc.help.widgets.FULL_EXCEPT_TRAFFIC"), "html", null, true);
  295. yield "<br><a href=\"";
  296. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("widget.page.index", ["product" => "full", "except" => "traffic"]), "html", null, true);
  297. yield "\" target=\"_blank\">";
  298. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("widget.see_an_example"), "html", null, true);
  299. yield "</a></div>
  300. <div class=\"is-Panel is-Panel_Illustrated widgetType-Description is-hide FULL_EXCEPT_TRAFFIC_REDIRECTION_SIM\"><i class=\"is-Icon is-Icon-com-info\" aria-hidden=\"true\"></i>";
  301. // line 81
  302. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("doc.help.widgets.FULL_EXCEPT_TRAFFIC_REDIRECTION_SIM"), "html", null, true);
  303. yield "<br><a href=\"";
  304. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("widget.page.index", ["product" => "full", "except" => "traffic", "redirection" => "true", "internal" => "false"]), "html", null, true);
  305. yield "\" target=\"_blank\">";
  306. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("widget.see_an_example"), "html", null, true);
  307. yield "</a></div>
  308. <div class=\"is-row is-mb-10 is-Widget-Subnetworks-Block is-hide\">
  309. <div class=\"is-col-xs-12 is-col-sm-12\">
  310. <div class=\"is-Field\">
  311. ";
  312. // line 86
  313. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 86, $this->source); })()), "subNetworks", [], "any", false, false, false, 86), 'label', ["label_attr" => ["class" => "is-Label is-Label_Display_Block"]]);
  314. yield "
  315. ";
  316. // line 87
  317. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 87, $this->source); })()), "subNetworks", [], "any", false, false, false, 87), 'widget', ["attr" => ["class" => "is-Widget-SubNetworks"]]);
  318. yield "
  319. </div>
  320. </div>
  321. </div>
  322. <div class=\"is-Field is-LabelledInput\">
  323. <label for=\"widget_form_domain\" class=\"is-Label is-Label_Display_Block\">
  324. ";
  325. // line 94
  326. yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("form.domain");
  327. yield "
  328. <span class=\"is-LabelledInput-Label_Required\">*</span>
  329. </label>
  330. ";
  331. // line 97
  332. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 97, $this->source); })()), "domain", [], "any", false, false, false, 97), 'widget', ["attr" => ["class" => "is-Textarea"]]);
  333. yield "
  334. </div>
  335. <div class=\"is-Field\">
  336. ";
  337. // line 100
  338. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 100, $this->source); })()), "prefilled", [], "any", false, false, false, 100), 'label', ["label_attr" => ["class" => "is-Label is-Label_Display_Block"]]);
  339. yield "
  340. ";
  341. // line 101
  342. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 101, $this->source); })()), "prefilled", [], "any", false, false, false, 101), 'widget', ["attr" => ["class" => "is-Combobox", "is-button-additionnal-class" => "is-Combobox-Button_Large", "is-use-full-width" => "false"]]);
  343. yield "
  344. </div>
  345. <div class=\"is-LabelInInput is-First is-hide DEPARTURE\" id=\"is-Journey-Departure-LabelInInput\">
  346. <div class=\"is-LabelInInput-LabelWrapper\">
  347. <label class=\"is-LabelInInput-Label ";
  348. // line 105
  349. yield (((($tmp = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 105, $this->source); })()), "start", [], "any", false, false, false, 105), "vars", [], "any", false, false, false, 105), "required", [], "any", false, false, false, 105)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("required") : (""));
  350. yield "\" for=\"is-Journey-Departure\">
  351. ";
  352. // line 106
  353. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 106, $this->source); })()), "start", [], "any", false, false, false, 106), "vars", [], "any", false, false, false, 106), "label", [], "any", false, false, false, 106)), "html", null, true);
  354. yield "
  355. </label>
  356. </div>
  357. <div class=\"is-LabelInInput-InputWrapper\">
  358. ";
  359. // line 110
  360. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 110, $this->source); })()), "start", [], "any", false, false, false, 110), 'widget', ["id" => "is-Journey-Departure", "attr" => ["class" => "is-LabelInInput-Input is-Resettable-Input", "autocomplete" => "off", "aria-autocomplete" => "list", "aria-owns" => "is-Journey-Departure-Suggestions"]]);
  361. yield "
  362. ";
  363. // line 111
  364. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 111, $this->source); })()), "startId", [], "any", false, false, false, 111), 'row', ["id" => "is-Departure-Place-Id"]);
  365. yield "
  366. </div>
  367. </div>
  368. <div class=\"is-LabelInInput is-Last is-hide ARRIVAL\" id=\"is-Journey-Arrival-LabelInInput\">
  369. <div class=\"is-LabelInInput-LabelWrapper\">
  370. <label class=\"is-LabelInInput-Label ";
  371. // line 116
  372. yield (((($tmp = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 116, $this->source); })()), "end", [], "any", false, false, false, 116), "vars", [], "any", false, false, false, 116), "required", [], "any", false, false, false, 116)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("required") : (""));
  373. yield "\" for=\"is-Journey-Arrival\">
  374. ";
  375. // line 117
  376. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 117, $this->source); })()), "end", [], "any", false, false, false, 117), "vars", [], "any", false, false, false, 117), "label", [], "any", false, false, false, 117)), "html", null, true);
  377. yield "
  378. </label>
  379. </div>
  380. <div class=\"is-LabelInInput-InputWrapper\">
  381. ";
  382. // line 121
  383. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 121, $this->source); })()), "end", [], "any", false, false, false, 121), 'widget', ["id" => "is-Journey-Arrival", "attr" => ["class" => "is-LabelInInput-Input is-Resettable-Input", "autocomplete" => "off", "aria-autocomplete" => "list", "aria-owns" => "is-Journey-Arrival-Suggestions"]]);
  384. yield "
  385. ";
  386. // line 122
  387. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 122, $this->source); })()), "endId", [], "any", false, false, false, 122), 'row', ["id" => "is-Arrival-Place-Id"]);
  388. yield "
  389. </div>
  390. </div>
  391. <h3>";
  392. // line 126
  393. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("widget.center_and_zoom_level"), "html", null, true);
  394. yield "</h3>
  395. ";
  396. // line 127
  397. yield $macros["forms"]->getTemplateForMacro("macro_input", $context, 127, $this->getSourceContext())->macro_input(...[CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 127, $this->source); })()), "customizeMap", [], "any", false, false, false, 127)]);
  398. yield "
  399. <div class=\"is-MapCustomization\" id=\"is-MapCustomization\"";
  400. // line 129
  401. yield (((($tmp = !CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 129, $this->source); })()), "customizeMap", [], "any", false, false, false, 129), "vars", [], "any", false, false, false, 129), "checked", [], "any", false, false, false, 129)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("style=\"display: none;\"") : (""));
  402. yield ">
  403. <div class=\"is-FieldGroup is-row is-row-no-gutters\">
  404. <div class=\"is-col-xs-6 is-col-sm-3 is-col-md-2 is-Field is-LabelledInput\">
  405. ";
  406. // line 132
  407. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 132, $this->source); })()), "latitude", [], "any", false, false, false, 132), 'widget', ["attr" => ["class" => "is-LabelledInput-Input is-MapCustomization-MapParam"]]);
  408. yield "
  409. ";
  410. // line 133
  411. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 133, $this->source); })()), "latitude", [], "any", false, false, false, 133), 'label', ["label_attr" => ["class" => "is-LabelledInput-Label"]]);
  412. yield "
  413. </div>
  414. <div class=\"is-col-xs-6 is-col-sm-3 is-col-md-2 is-Field is-LabelledInput\">
  415. ";
  416. // line 136
  417. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 136, $this->source); })()), "longitude", [], "any", false, false, false, 136), 'widget', ["attr" => ["class" => "is-LabelledInput-Input is-MapCustomization-MapParam"]]);
  418. yield "
  419. ";
  420. // line 137
  421. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 137, $this->source); })()), "longitude", [], "any", false, false, false, 137), 'label', ["label_attr" => ["class" => "is-LabelledInput-Label"]]);
  422. yield "
  423. </div>
  424. <div class=\"is-col-xs-4 is-col-sm-2 is-col-lg-1 is-Field is-LabelledInput\">
  425. ";
  426. // line 140
  427. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 140, $this->source); })()), "zoom", [], "any", false, false, false, 140), 'widget', ["attr" => ["class" => "is-LabelledInput-Input is-MapCustomization-MapParam"]]);
  428. yield "
  429. ";
  430. // line 141
  431. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 141, $this->source); })()), "zoom", [], "any", false, false, false, 141), 'label', ["label_attr" => ["class" => "is-LabelledInput-Label"], "value" => 7]);
  432. yield "
  433. </div>
  434. <div class=\"is-col-xs-8 is-col-sm-4 is-col-lg-7\">
  435. <a class=\"is-Button is-Button_Transparent is-MapCustomization-ResetPositionButton\"><i class=\"is-Icon is-Icon-sim-refresh\" aria-hidden=\"true\"></i><span class=\"is-Button-C1\">Réinitialiser la position</span></a>
  436. </div>
  437. </div>
  438. <div class=\"is-MapCustomization-MapWrapper\">
  439. <div class=\"is-MapCustomization-Map\" id=\"is-MapCustomization-Map\"></div>
  440. <i class=\"is-Icon is-Icon-sim-plus_Bordered is-MapCustomization-MapCenter\" aria-hidden=\"true\"><i class=\"is-path1\"></i><i class=\"is-path2\"></i></i>
  441. </div>
  442. </div>
  443. <div class=\"is-row is-Field\">
  444. <div class=\"is-col-xs-12 is-col-sm-7 is-col-md-8 is-col-lg-9\">
  445. <div id=\"is-contact-recaptcha\" class=\"g-recaptcha is-ReCaptcha_Align_Left\" data-sitekey=\"";
  446. // line 154
  447. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["captcha_public_key"]) || array_key_exists("captcha_public_key", $context) ? $context["captcha_public_key"] : (function () { throw new RuntimeError('Variable "captcha_public_key" does not exist.', 154, $this->source); })()), "html", null, true);
  448. yield "\"></div>
  449. </div>
  450. </div>
  451. <p class=\"is-CobrandingForm-ButtonArea\">
  452. <span class=\"is-CobrandingForm-ButtonAreaDescription\">";
  453. // line 158
  454. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("forms.submit_btn_cobranding"), "html", null, true);
  455. yield "</span>
  456. <button id=\"submit-Cobranding\" type=\"submit\" class=\"is-Button is-Button_Primary is-fz-l\">";
  457. // line 159
  458. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("validate"), "html", null, true);
  459. yield "</button>
  460. </p>
  461. ";
  462. // line 162
  463. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 162, $this->source); })()), 'form_end');
  464. yield "
  465. ";
  466. // line 164
  467. if ((array_key_exists("formSubmitted", $context) && ((isset($context["formSubmitted"]) || array_key_exists("formSubmitted", $context) ? $context["formSubmitted"] : (function () { throw new RuntimeError('Variable "formSubmitted" does not exist.', 164, $this->source); })()) == true))) {
  468. // line 165
  469. yield " <div class=\"is-row\">
  470. <div class=\"is-col-xs-12\">
  471. <div class=\"is-Alert is-Alert_Success\" role=\"alert\">
  472. <p>";
  473. // line 168
  474. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("forms.after_submit_cobranding"), "html", null, true);
  475. yield "</p>
  476. </div>
  477. </div>
  478. </div>
  479. ";
  480. }
  481. // line 173
  482. yield "
  483. ";
  484. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  485. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  486. yield from [];
  487. }
  488. // line 175
  489. /**
  490. * @return iterable<null|scalar|\Stringable>
  491. */
  492. public function block_body_end_scripts_requirements(array $context, array $blocks = []): iterable
  493. {
  494. $macros = $this->macros;
  495. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  496. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_end_scripts_requirements"));
  497. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  498. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_end_scripts_requirements"));
  499. // line 176
  500. yield " <script src=\"https://www.google.com/recaptcha/api.js\"></script>
  501. ";
  502. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  503. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  504. yield from [];
  505. }
  506. /**
  507. * @codeCoverageIgnore
  508. */
  509. public function getTemplateName(): string
  510. {
  511. return "pages/sim/cobranding.html.twig";
  512. }
  513. /**
  514. * @codeCoverageIgnore
  515. */
  516. public function isTraitable(): bool
  517. {
  518. return false;
  519. }
  520. /**
  521. * @codeCoverageIgnore
  522. */
  523. public function getDebugInfo(): array
  524. {
  525. return array ( 530 => 176, 517 => 175, 505 => 173, 497 => 168, 492 => 165, 490 => 164, 485 => 162, 479 => 159, 475 => 158, 468 => 154, 452 => 141, 448 => 140, 442 => 137, 438 => 136, 432 => 133, 428 => 132, 422 => 129, 417 => 127, 413 => 126, 406 => 122, 402 => 121, 395 => 117, 391 => 116, 383 => 111, 379 => 110, 372 => 106, 368 => 105, 361 => 101, 357 => 100, 351 => 97, 345 => 94, 335 => 87, 331 => 86, 319 => 81, 311 => 80, 303 => 79, 295 => 78, 287 => 77, 279 => 76, 271 => 75, 263 => 74, 255 => 73, 247 => 72, 239 => 71, 231 => 70, 224 => 66, 220 => 65, 216 => 64, 206 => 57, 202 => 56, 198 => 55, 190 => 50, 186 => 49, 182 => 48, 174 => 44, 165 => 41, 160 => 39, 156 => 38, 151 => 36, 146 => 35, 142 => 34, 137 => 32, 127 => 27, 119 => 24, 111 => 21, 105 => 18, 100 => 16, 94 => 13, 86 => 9, 73 => 8, 62 => 1, 60 => 6, 58 => 5, 56 => 3, 54 => 2, 41 => 1,);
  526. }
  527. public function getSourceContext(): Source
  528. {
  529. return new Source("{% extends 'layouts/common/default.html.twig' %}
  530. {% import 'forms/forms.html.twig' as forms %}
  531. {% form_theme form 'includes/common/form-theme.html.twig' %}
  532. {% set pageAttributes = pageAttributes is defined ? pageAttributes : { group: 'sim', section: 'sim' } %}
  533. {% set page_title = 'widget.title'|trans %}
  534. {% block content %}
  535. <h1>{{ 'doc.page.title' | trans }}</h1>
  536. <div class=\"is-row\">
  537. <div class=\"is-col-xs-12\">
  538. <p>
  539. {{ 'doc.intro' | trans | raw }}
  540. </p>
  541. <p>
  542. {{ 'doc.style.text' | trans }}
  543. </p>
  544. <h3>{{ 'doc.style.download' | trans }}</h3>
  545. <ul>
  546. <li>
  547. <a href=\"{{ asset('/css/'~ network_id ~'/custom-journey.css') }}\" target=\"_blank\" >{{ 'doc.style.journeyLink' | trans }}</a>
  548. </li>
  549. <li>
  550. <a href=\"{{ asset('/css/'~ network_id ~'/custom-schedule.css') }} \" target=\"_blank\" >{{ 'doc.style.scheduleLink' | trans }}</a>
  551. </li>
  552. <li>
  553. <a href=\"{{ asset('/css/'~ network_id ~'/custom-trafic.css') }}\" target=\"_blank\" >{{ 'doc.style.trafficLink' | trans }}</a>
  554. </li>
  555. </ul>
  556. </div>
  557. </div>
  558. <h2>{{ 'widget.title' | trans}}</h2>
  559. {% for type, message in app.session.flashbag.all %}
  560. <p class=\"is-Alert is-Alert_{{ type|capitalize }} is-Alert_Dismissible\" role=\"alert\">
  561. <button type=\"button\" class=\"is-Close\" data-dismiss=\"alert\" aria-label=\"{{ 'close' | trans }}\"><span aria-hidden=\"true\">&times;</span></button>
  562. <span class=\"is-Alert-Title\">
  563. <i class=\"is-Icon is-Icon-sim-{{ type }}\" aria-hidden=\"true\"></i>
  564. {{ ('forms.'~type)|trans }}
  565. </span>
  566. {{ message[0] }}
  567. </p>
  568. {% endfor %}
  569. {{ form_start(form, { 'attr' : { 'class' : 'is-CobrandingForm' }}) }}
  570. <div class=\"is-row\">
  571. <div class=\"is-col-xs-12 is-col-sm-6\">
  572. <div class=\"is-Field is-LabelledInput\">
  573. {{ form_widget(form.name, {'attr': {'class':'is-LabelledInput-Input'}}) }}
  574. {{ form_label(form.name, null, {'label_attr': {'class':'is-LabelledInput-Label'}}) }}
  575. <span class=\"help-block\">{{ 'doc.help.name' | trans }}</span>
  576. </div>
  577. </div>
  578. <div class=\"is-col-xs-12 is-col-sm-6\">
  579. <div class=\"is-Field is-LabelledInput\">
  580. {{ form_widget(form.email, {'attr': {'class':'is-LabelledInput-Input'}}) }}
  581. {{ form_label(form.email, null, {'label_attr': {'class':'is-LabelledInput-Label'}}) }}
  582. <span class=\"help-block\">{{ 'doc.help.email' | trans }}</span>
  583. </div>
  584. </div>
  585. </div>
  586. <div class=\"is-row\">
  587. <div class=\"is-col-xs-12 is-col-sm-7\">
  588. <div class=\"is-Field\">
  589. {{ form_label(form.widgetType, null, {'label_attr': {'class':'is-Label is-Label_Display_Block'}}) }}
  590. {{ form_widget(form.widgetType, {'attr': {'class' : 'is-Combobox', 'is-button-additionnal-class' : 'is-Combobox-Button_Large'}}) }}
  591. {{ 'doc.help.widget_type' | trans }}
  592. </div>
  593. </div>
  594. </div>
  595. <div class=\"is-Panel is-Panel_Illustrated widgetType-Description is-hide ITINERAIRE_INTEGRE\"><i class=\"is-Icon is-Icon-com-info\" aria-hidden=\"true\"></i>{{ 'doc.help.widgets.ITINERAIRE_INTEGRE' | trans }}<br><a href=\"{{ path('widget.page.index', { 'product' : 'place-journey' }) }}\" target=\"_blank\">{{ 'widget.see_an_example'|trans }}</a></div>
  596. <div class=\"is-Panel is-Panel_Illustrated widgetType-Description is-hide ITINERAIRE_REDIRECTION_SIM\"><i class=\"is-Icon is-Icon-com-info\" aria-hidden=\"true\"></i>{{ 'doc.help.widgets.ITINERAIRE_REDIRECTION_SIM' | trans }}<br><a href=\"{{ path('widget.page.index', { 'product' : 'place', 'redirection' : 'true', 'internal' : 'false' }) }}\" target=\"_blank\">{{ 'widget.see_an_example'|trans }}</a></div>
  597. <div class=\"is-Panel is-Panel_Illustrated widgetType-Description is-hide ITINERAIRE_REDIRECTION_SITE_SITE\"><i class=\"is-Icon is-Icon-com-info\" aria-hidden=\"true\"></i>{{ 'doc.help.widgets.ITINERAIRE_REDIRECTION_SITE_SITE' | trans }}<br><a href=\"{{ path('widget.page.index', { 'product' : 'place', 'redirection' : 'true', 'internal' : 'true', 'partner' : 'true', 'target' : baseUrl ~ '/' ~ app.request.locale ~ '/widget' }) }}\" target=\"_blank\">{{ 'widget.see_an_example'|trans }}</a></div>
  598. <div class=\"is-Panel is-Panel_Illustrated widgetType-Description is-hide ITINERAIRE_REDIRECTION_PAGE_PAGE\"><i class=\"is-Icon is-Icon-com-info\" aria-hidden=\"true\"></i>{{ 'doc.help.widgets.ITINERAIRE_REDIRECTION_PAGE_PAGE' | trans }}<br><a href=\"{{ path('widget.page.index', { 'product' : 'place', 'redirection' : 'true', 'internal' : 'true', 'target' : 'fr/widget' }) }}\" target=\"_blank\">{{ 'widget.see_an_example'|trans }}</a></div>
  599. <div class=\"is-Panel is-Panel_Illustrated widgetType-Description is-hide HORAIRE_INTEGRE\"><i class=\"is-Icon is-Icon-com-info\" aria-hidden=\"true\"></i>{{ 'doc.help.widgets.HORAIRE_INTEGRE' | trans }}<br><a href=\"{{ path('widget.page.index', { 'product' : 'schedule-map' }) }}\" target=\"_blank\">{{ 'widget.see_an_example'|trans }}</a></div>
  600. <div class=\"is-Panel is-Panel_Illustrated widgetType-Description is-hide HORAIRE_REDIRECTION_SIM\"><i class=\"is-Icon is-Icon-com-info\" aria-hidden=\"true\"></i>{{ 'doc.help.widgets.HORAIRE_REDIRECTION_SIM' | trans }}<br><a href=\"{{ path('widget.page.index', { 'product' : 'schedule', 'redirection' : 'true', 'internal' : 'false' }) }}\" target=\"_blank\">{{ 'widget.see_an_example'|trans }}</a></div>
  601. <div class=\"is-Panel is-Panel_Illustrated widgetType-Description is-hide HORAIRE_REDIRECTION_SITE_SITE\"><i class=\"is-Icon is-Icon-com-info\" aria-hidden=\"true\"></i>{{ 'doc.help.widgets.HORAIRE_REDIRECTION_SITE_SITE' | trans }}<br><a href=\"{{ path('widget.page.index', { 'product' : 'schedule', 'redirection' : 'true', 'internal' : 'true', 'partner' : 'true', 'target' : baseUrl ~ '/' ~ app.request.locale ~ '/widget' }) }}\" target=\"_blank\">{{ 'widget.see_an_example'|trans }}</a></div>
  602. <div class=\"is-Panel is-Panel_Illustrated widgetType-Description is-hide HORAIRE_REDIRECTION_PAGE_PAGE\"><i class=\"is-Icon is-Icon-com-info\" aria-hidden=\"true\"></i>{{ 'doc.help.widgets.HORAIRE_REDIRECTION_PAGE_PAGE' | trans }}<br><a href=\"{{ path('widget.page.index', { 'product' : 'schedule', 'redirection' : 'true', 'internal' : 'true', 'target' : 'fr/widget' }) }}\" target=\"_blank\">{{ 'widget.see_an_example'|trans }}</a></div>
  603. <div class=\"is-Panel is-Panel_Illustrated widgetType-Description is-hide TRAFIC_INTEGRE\"><i class=\"is-Icon is-Icon-com-info\" aria-hidden=\"true\"></i>{{ 'doc.help.widgets.TRAFIC_INTEGRE' | trans }}<br><a href=\"{{ path('widget.page.index', { 'product' : 'traffic' }) }}\" target=\"_blank\">{{ 'widget.see_an_example'|trans }}</a></div>
  604. <div class=\"is-Panel is-Panel_Illustrated widgetType-Description is-hide FULL\"><i class=\"is-Icon is-Icon-com-info\" aria-hidden=\"true\"></i>{{ 'doc.help.widgets.FULL' | trans }}<br><a href=\"{{ path('widget.page.index', { 'product' : 'full' }) }}\" target=\"_blank\">{{ 'widget.see_an_example'|trans }}</a></div>
  605. <div class=\"is-Panel is-Panel_Illustrated widgetType-Description is-hide FULL_EXCEPT_TRAFFIC\"><i class=\"is-Icon is-Icon-com-info\" aria-hidden=\"true\"></i>{{ 'doc.help.widgets.FULL_EXCEPT_TRAFFIC' | trans }}<br><a href=\"{{ path('widget.page.index', { 'product' : 'full', 'except': 'traffic' }) }}\" target=\"_blank\">{{ 'widget.see_an_example'|trans }}</a></div>
  606. <div class=\"is-Panel is-Panel_Illustrated widgetType-Description is-hide FULL_EXCEPT_TRAFFIC_REDIRECTION_SIM\"><i class=\"is-Icon is-Icon-com-info\" aria-hidden=\"true\"></i>{{ 'doc.help.widgets.FULL_EXCEPT_TRAFFIC_REDIRECTION_SIM' | trans }}<br><a href=\"{{ path('widget.page.index', { 'product' : 'full', 'except': 'traffic', 'redirection' : 'true', 'internal' : 'false' }) }}\" target=\"_blank\">{{ 'widget.see_an_example'|trans }}</a></div>
  607. <div class=\"is-row is-mb-10 is-Widget-Subnetworks-Block is-hide\">
  608. <div class=\"is-col-xs-12 is-col-sm-12\">
  609. <div class=\"is-Field\">
  610. {{ form_label(form.subNetworks, null, {'label_attr': {'class':'is-Label is-Label_Display_Block'}}) }}
  611. {{ form_widget(form.subNetworks, {'attr': {'class':'is-Widget-SubNetworks'}}) }}
  612. </div>
  613. </div>
  614. </div>
  615. <div class=\"is-Field is-LabelledInput\">
  616. <label for=\"widget_form_domain\" class=\"is-Label is-Label_Display_Block\">
  617. {{ \"form.domain\"|trans|raw }}
  618. <span class=\"is-LabelledInput-Label_Required\">*</span>
  619. </label>
  620. {{ form_widget(form.domain, {'attr': {'class':'is-Textarea'}}) }}
  621. </div>
  622. <div class=\"is-Field\">
  623. {{ form_label(form.prefilled, null, {'label_attr': {'class':'is-Label is-Label_Display_Block'}}) }}
  624. {{ form_widget(form.prefilled, {'attr': {'class' : 'is-Combobox', 'is-button-additionnal-class' : 'is-Combobox-Button_Large', 'is-use-full-width' : 'false'}}) }}
  625. </div>
  626. <div class=\"is-LabelInInput is-First is-hide DEPARTURE\" id=\"is-Journey-Departure-LabelInInput\">
  627. <div class=\"is-LabelInInput-LabelWrapper\">
  628. <label class=\"is-LabelInInput-Label {{ form.start.vars.required ? 'required' }}\" for=\"is-Journey-Departure\">
  629. {{ form.start.vars.label | trans }}
  630. </label>
  631. </div>
  632. <div class=\"is-LabelInInput-InputWrapper\">
  633. {{ form_widget(form.start, {'id': 'is-Journey-Departure', 'attr': {'class':'is-LabelInInput-Input is-Resettable-Input', 'autocomplete':'off', 'aria-autocomplete':'list', 'aria-owns':'is-Journey-Departure-Suggestions'}}) }}
  634. {{ form_row(form.startId, {'id':'is-Departure-Place-Id'}) }}
  635. </div>
  636. </div>
  637. <div class=\"is-LabelInInput is-Last is-hide ARRIVAL\" id=\"is-Journey-Arrival-LabelInInput\">
  638. <div class=\"is-LabelInInput-LabelWrapper\">
  639. <label class=\"is-LabelInInput-Label {{ form.end.vars.required ? 'required' }}\" for=\"is-Journey-Arrival\">
  640. {{ form.end.vars.label | trans }}
  641. </label>
  642. </div>
  643. <div class=\"is-LabelInInput-InputWrapper\">
  644. {{ form_widget(form.end, {'id': 'is-Journey-Arrival', 'attr': {'class':'is-LabelInInput-Input is-Resettable-Input', 'autocomplete':'off', 'aria-autocomplete':'list', 'aria-owns':'is-Journey-Arrival-Suggestions'}}) }}
  645. {{ form_row(form.endId, {'id':'is-Arrival-Place-Id'}) }}
  646. </div>
  647. </div>
  648. <h3>{{ 'widget.center_and_zoom_level'|trans }}</h3>
  649. {{ forms.input(form.customizeMap) }}
  650. <div class=\"is-MapCustomization\" id=\"is-MapCustomization\"{{ not form.customizeMap.vars.checked ? 'style=\"display: none;\"' : '' }}>
  651. <div class=\"is-FieldGroup is-row is-row-no-gutters\">
  652. <div class=\"is-col-xs-6 is-col-sm-3 is-col-md-2 is-Field is-LabelledInput\">
  653. {{ form_widget(form.latitude, {'attr': {'class':'is-LabelledInput-Input is-MapCustomization-MapParam'}}) }}
  654. {{ form_label(form.latitude, null, {'label_attr': {'class':'is-LabelledInput-Label'}}) }}
  655. </div>
  656. <div class=\"is-col-xs-6 is-col-sm-3 is-col-md-2 is-Field is-LabelledInput\">
  657. {{ form_widget(form.longitude, {'attr': {'class':'is-LabelledInput-Input is-MapCustomization-MapParam'}}) }}
  658. {{ form_label(form.longitude, null, {'label_attr': {'class':'is-LabelledInput-Label'}}) }}
  659. </div>
  660. <div class=\"is-col-xs-4 is-col-sm-2 is-col-lg-1 is-Field is-LabelledInput\">
  661. {{ form_widget(form.zoom, {'attr': {'class':'is-LabelledInput-Input is-MapCustomization-MapParam'}}) }}
  662. {{ form_label(form.zoom, null, {'label_attr': {'class':'is-LabelledInput-Label'}, 'value' : 7}) }}
  663. </div>
  664. <div class=\"is-col-xs-8 is-col-sm-4 is-col-lg-7\">
  665. <a class=\"is-Button is-Button_Transparent is-MapCustomization-ResetPositionButton\"><i class=\"is-Icon is-Icon-sim-refresh\" aria-hidden=\"true\"></i><span class=\"is-Button-C1\">Réinitialiser la position</span></a>
  666. </div>
  667. </div>
  668. <div class=\"is-MapCustomization-MapWrapper\">
  669. <div class=\"is-MapCustomization-Map\" id=\"is-MapCustomization-Map\"></div>
  670. <i class=\"is-Icon is-Icon-sim-plus_Bordered is-MapCustomization-MapCenter\" aria-hidden=\"true\"><i class=\"is-path1\"></i><i class=\"is-path2\"></i></i>
  671. </div>
  672. </div>
  673. <div class=\"is-row is-Field\">
  674. <div class=\"is-col-xs-12 is-col-sm-7 is-col-md-8 is-col-lg-9\">
  675. <div id=\"is-contact-recaptcha\" class=\"g-recaptcha is-ReCaptcha_Align_Left\" data-sitekey=\"{{ captcha_public_key }}\"></div>
  676. </div>
  677. </div>
  678. <p class=\"is-CobrandingForm-ButtonArea\">
  679. <span class=\"is-CobrandingForm-ButtonAreaDescription\">{{ 'forms.submit_btn_cobranding'|trans }}</span>
  680. <button id=\"submit-Cobranding\" type=\"submit\" class=\"is-Button is-Button_Primary is-fz-l\">{{ 'validate'|trans }}</button>
  681. </p>
  682. {{ form_end(form) }}
  683. {% if formSubmitted is defined and formSubmitted == true %}
  684. <div class=\"is-row\">
  685. <div class=\"is-col-xs-12\">
  686. <div class=\"is-Alert is-Alert_Success\" role=\"alert\">
  687. <p>{{ 'forms.after_submit_cobranding'|trans }}</p>
  688. </div>
  689. </div>
  690. </div>
  691. {% endif %}
  692. {% endblock %}
  693. {% block body_end_scripts_requirements %}
  694. <script src=\"https://www.google.com/recaptcha/api.js\"></script>
  695. {% endblock %}
  696. ", "pages/sim/cobranding.html.twig", "/var/www/html/templates/pages/sim/cobranding.html.twig");
  697. }
  698. }