var/cache/dev/twig/86/8647b6f4ee21adb4def9a9ab134ca21f.php line 220

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @Global/layouts/popup.html.twig */
  14. class __TwigTemplate_deb5e94f6297ff89de5746a201d41b3e extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source = $this->getSourceContext();
  22.         $this->parent = false;
  23.         $this->blocks = [
  24.         ];
  25.         $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doDisplay(array $context, array $blocks = [])
  29.     {
  30.         $macros = $this->macros;
  31.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  32.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Global/layouts/popup.html.twig"));
  33.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  34.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Global/layouts/popup.html.twig"));
  35.         // line 1
  36.         $context["CDN_URL"] = $this->extensions['GlobalBundle\Twig\Extension\NavigationExtension']->getCDNurl();
  37.         // line 2
  38.         echo "<div class=\"modal book-a-demo fade\" id=\"bookAdemo\">
  39.         <div class=\"modal-dialog modal-lg\">
  40.             <div class=\"modal-content\">
  41.                     <button type=\"button\" id=\"close-btn\" class=\"close\" data-dismiss=\"modal\">&times;</button>
  42.                 <!-- Modal body -->
  43.                 <div class=\"modal-body\" id=\"bookAdemo_normal\">
  44.                    ";
  45.         // line 10
  46.         echo "                    <h2>Book A Demo</h2>
  47.                     <p>Book A Demo Description</p>
  48.                     <div class=\"book-demo-form form-commom-design\">
  49.                         <form name=\"frmBookDemo\" id=\"frmBookDemo\" class=\"application-form\" method=\"POST\" >
  50.                         <div class=\"row no-gutters\">
  51.                             <div class=\"col-md-6\">
  52.                                 <div class=\"form-group\">
  53.                                     <label for=\"firstName\" class=\"d-none\">First Name</label>
  54.                                     <input type=\"text\" class=\"form-control\" name=\"firstName\" id=\"firstName\" placeholder=\"First Name\">
  55.                                 </div>
  56.                             </div>
  57.                             <div class=\"col-md-6\">
  58.                                 <div class=\"form-group\">
  59.                                     <label for=\"lastName\" class=\"d-none\">Last Name</label>
  60.                                     <input type=\"text\" class=\"form-control\" name=\"lastName\" id=\"lastName\" placeholder=\"Last Name\">
  61.                                 </div>
  62.                             </div>
  63.                             <div class=\"col-md-6\">
  64.                                 <div class=\"form-group\">
  65.                                     <label for=\"jobRole\" class=\"d-none\">Job Role</label>
  66.                                     <select class=\"form-control select-job-role\" id=\"jobRole\" name=\"jobRole\">
  67.                                         <option value=\"\">Job Role</option>
  68.                                         <option>Owner/CEO</option>
  69.                                         <option>Management</option>
  70.                                         <option>Buyer</option>
  71.                                         <option>Designer</option>
  72.                                         <option>Developer</option>
  73.                                         <option>Marketing</option>
  74.                                         <option>Sales</option>
  75.                                     </select>
  76.                                 </div>
  77.                             </div>
  78.                             <div class=\"col-md-6\">
  79.                                 <div class=\"form-group\">
  80.                                     <label for=\"companyType\" class=\"d-none\">Type Of Company</label>
  81.                                     <select class=\"form-control type-of-company\" id=\"companyType\" name=\"companyType\">
  82.                                         <option value=\"\">Type Of Company</option>
  83.                                         <option>DIY/Garden Centre</option>
  84.                                         <option>MAss Merchant/Warehouse</option>
  85.                                         <option>Supermarket</option>
  86.                                         <option>Department Store</option>
  87.                                         <option>Commercial Interior</option>
  88.                                         <option>Homeware/Interior Designer</option>
  89.                                         <option>HoReCa</option>
  90.                                         <option>Individual</option>
  91.                                         <option>Other</option>
  92.                                     </select>
  93.                                 </div>
  94.                             </div>
  95.                             <div class=\"col-md-6\">
  96.                                 <div class=\"form-group\">
  97.                                     <label for=\"companySize\" class=\"d-none\">Company Size</label>
  98.                                     <select class=\"form-control company-size\" id=\"companySize\" name=\"companySize\">
  99.                                         <option value=\"\">Company Size</option>
  100.                                         <option>1-10</option>
  101.                                         <option>11-100</option>
  102.                                         <option>101-250</option>
  103.                                         <option>251-500</option>
  104.                                         <option>501-1000</option>
  105.                                         <option>1001+</option>                                        
  106.                                     </select>
  107.                                 </div>
  108.                             </div>
  109.                             <div class=\"col-md-6\">
  110.                                 <div class=\"form-group\">
  111.                                     <label for=\"companyName\" class=\"d-none\">Company Name</label>
  112.                                     <input type=\"text\" class=\"form-control\" id=\"companyName\" name=\"companyName\" placeholder=\"Company Name\">
  113.                                 </div>
  114.                             </div>
  115.                             <div class=\"col-md-6\">
  116.                                 <div class=\"form-group\">
  117.                                     <label for=\"email\" class=\"d-none\">Email</label>
  118.                                     <input type=\"text\" class=\"form-control\" id=\"email\" name=\"email\" placeholder=\"Email\">
  119.                                 </div>
  120.                             </div>
  121.                             <div class=\"col-md-6\">
  122.                                 <div class=\"form-group\">
  123.                                     <button type=\"submit\" name=\"submit_bookdemo\" class=\"btn btn-send\">";
  124.         // line 92
  125.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "landing_bookademo_btnsend");
  126.         echo "</button>
  127.                                 </div>
  128.                             </div>
  129.                         </div>
  130.                         </form>
  131. \t\t\t\t\t\t<div class=\"col-md-12\" id=\"bookAdemo_error\" style=\"display:none\">Error!!</div>
  132.                     </div>
  133.                 </div>
  134. \t\t\t\t<div class=\"modal-body\" id=\"bookAdemo_success\" style=\"display:none\">
  135.                     <h2>THANKS!</h2>
  136.                     <p>Once we’ve reviewed your company we’ll be in touch.</p>
  137.                     <div class=\"book-demo-form form-commom-design border-0\">
  138.                         <form>
  139.                         <div class=\"row no-gutters\">
  140.                             <div class=\"col-md-12\">
  141.                                 <div class=\"thanks-icon\">
  142.                                     <img src=\"";
  143.         // line 110
  144.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(($this->sandbox->ensureToStringAllowed((isset($context["CDN_URL"]) || array_key_exists("CDN_URL", $context) ? $context["CDN_URL"] : (function () { throw new RuntimeError('Variable "CDN_URL" does not exist.', 110, $this->source); })()), 110, $this->source) . "/assets/images/book-de,mo-thanks-icon.svg")), "html", null, true);
  145.         echo "\" alt=\"Thanks Icon\">
  146.                                 </div>
  147.                                 </div>
  148.                         </div>
  149.                         </form>
  150.                     </div>
  151.                 </div>
  152.             </div>
  153.         </div>
  154.     </div>
  155.    <!-- Sign UP Modal -->
  156.   <div class=\"modal fade signup-modal\" id=\"signup\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"signupmodalTitle\" aria-hidden=\"true\">
  157. \t<div class=\"modal-dialog modal-dialog-centered\" role=\"document\">
  158. \t  <div class=\"modal-content\">
  159. \t\t<div class=\"modal-header\">
  160. \t\t  <h5 class=\"modal-title\" id=\"exampleModalLongTitle\">Let's Get You</h5>
  161. \t\t  <h2><em>Signed Up!</em></h2>
  162. \t\t  <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
  163. \t\t\t<span aria-hidden=\"true\">&times;</span>
  164. \t\t  </button>
  165. \t\t</div>
  166. \t\t<div class=\"modal-body\">
  167. \t\t\t<form name=\"frmSignup\" id=\"frmSignup\" class=\"application-form\" method=\"POST\">
  168. \t\t\t\t<div class=\"form-row\">
  169. \t\t\t\t  <div class=\"col-md-12\">
  170. \t\t\t\t\t<input type=\"text\" name=\"firstName\" id=\"signupFirstName\" class=\"form-control\" placeholder=\"First name *\">
  171. \t\t\t\t  </div>
  172. \t\t\t\t  <div class=\"col-md-12\">
  173. \t\t\t\t\t<input type=\"text\" name=\"lastName\" id=\"signupLastName\" class=\"form-control\" placeholder=\"Last name \">
  174. \t\t\t\t  </div>
  175. \t\t\t\t  <div class=\"col-md-12\">
  176. \t\t\t\t\t<input type=\"text\" class=\"form-control\" name=\"companyName\" id=\"signupCompanyName\" placeholder=\"Company name *\">
  177. \t\t\t\t  </div>
  178.                 <div class=\"col-md-3 col-4\">
  179.                     <label for=\"exampleFormControlInput1\" class=\"d-none\">Contact Number</label>
  180.                     <input class=\"form-control contactNumberCode\" id=\"jquery-intl-phone\" name=\"contactNumberCode\" type=\"tel\">
  181.                 </div>
  182.           <div class=\"col-md-9 col-8\">
  183.               <input type=\"number\" class=\"form-control\" name=\"contactNumber\" id=\"signupContactNumber\" placeholder=\"Contact Number\" maxlength=\"15\" oninput=\"javascript: if (this.value.length > this.maxLength) this.value = this.value.slice(0, this.maxLength);\">
  184.           </div>         
  185. \t\t\t\t  <div class=\"col-md-12\">
  186. \t\t\t\t\t<input type=\"email\" class=\"form-control\" name=\"email\" id=\"signupEmail\" placeholder=\"Business Email *\">
  187. \t\t\t\t  </div>
  188.           ";
  189.         // line 154
  190.         if (array_key_exists("countries", $context)) {
  191.             // line 155
  192.             echo "              <div class=\"col-md-12 country-dropdown-select2-div\">
  193.                 <select class=\"form-control country-dropdown-select2\" name=\"countryName\" id=\"signupCountry\">
  194.                     <option value=\"\">Select Country *</option>
  195.                     ";
  196.             // line 158
  197.             $context['_parent'] = $context;
  198.             $context['_seq'] = twig_ensure_traversable((isset($context["countries"]) || array_key_exists("countries", $context) ? $context["countries"] : (function () { throw new RuntimeError('Variable "countries" does not exist.', 158, $this->source); })()));
  199.             foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
  200.                 echo " 
  201.                       ";
  202.                 // line 159
  203.                 $context["getValueStr"] = $this->extensions['GlobalBundle\Twig\Extension\NavigationExtension']->fromIdToValueStr("countryFilter", $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["option"], "id", [], "any", false, false, true, 159), 159, $this->source));
  204.                 echo " 
  205.                       <option value=\"";
  206.                 // line 160
  207.                 echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, true, 160), 160, $this->source), "html", null, true);
  208.                 echo "\">";
  209.                 echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed((isset($context["getValueStr"]) || array_key_exists("getValueStr", $context) ? $context["getValueStr"] : (function () { throw new RuntimeError('Variable "getValueStr" does not exist.', 160, $this->source); })()), 160, $this->source), "html", null, true);
  210.                 echo "</option>
  211.                     ";
  212.             }
  213.             $_parent = $context['_parent'];
  214.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
  215.             $context = array_intersect_key($context, $_parent) + $_parent;
  216.             // line 162
  217.             echo "                </select>
  218.               </div>
  219.           ";
  220.         }
  221.         // line 165
  222.         echo "          <div class=\"col-md-12\">
  223.             <input type=\"text\" class=\"form-control\" name=\"website\" id=\"signupWebsite\" placeholder=\"Website\">
  224.           </div>
  225. \t\t\t\t  <div class=\"col-md-9 who-im\">
  226. \t\t\t\t\t  <label for=\"select\">I'm A:</label>
  227. \t\t\t\t  </div>
  228. \t\t\t\t  <div class=\"col-md-3 slect-user\">
  229.               <select class=\"form-control\" name=\"customerType\" id=\"customerType\">
  230.                   <option value=\"R\">Buyer</option>
  231.                   <option value=\"M\">Supplier</option>
  232.                   <option value=\"R\">Designer</option>
  233.               </select>
  234. \t\t\t\t\t<!--<div class=\"radio-tile-group\">
  235. \t\t\t\t\t\t<div class=\"input-container\">
  236. \t\t\t\t\t\t\t<input class=\"radio-button\" value=\"R\" name=\"customerType\" type=\"radio\" name=\"radio\" />
  237. \t\t\t\t\t\t\t<div class=\"radio-tile\">
  238. \t\t\t\t\t\t\t\t<p class=\"radio-tile-label\">
  239. \t\t\t\t\t\t\t\t\tBuyer
  240. \t\t\t\t\t\t\t\t</p>
  241. \t\t\t\t\t\t\t\t<div class=\"icon walk-icon\">
  242. \t\t\t\t\t\t\t\t\t<i class=\"icofont-check-alt\"></i>
  243. \t\t\t\t\t\t\t\t</div>
  244. \t\t\t\t\t\t\t</div>
  245. \t\t\t\t\t\t</div>
  246. \t\t\t\t\t\t<div class=\"input-container\">
  247. \t\t\t\t\t\t\t<input class=\"radio-button\" value=\"M\" name=\"customerType\" type=\"radio\" name=\"radio\" />
  248. \t\t\t\t\t\t\t<div class=\"radio-tile\">
  249. \t\t\t\t\t\t\t\t<p class=\"radio-tile-label\">
  250. \t\t\t\t\t\t\t\t\tSupplier
  251. \t\t\t\t\t\t\t\t</p>
  252. \t\t\t\t\t\t\t\t<div class=\"icon bike-icon\">
  253. \t\t\t\t\t\t\t\t\t<i class=\"icofont-check-alt\"></i>
  254. \t\t\t\t\t\t\t\t</div>
  255. \t\t\t\t\t\t\t</div>
  256. \t\t\t\t\t\t</div>
  257. \t\t\t\t\t\t<div class=\"input-container\">
  258. \t\t\t\t\t\t\t<input class=\"radio-button\" value=\"D\" name=\"customerType\" type=\"radio\" name=\"radio\" />
  259. \t\t\t\t\t\t\t<div class=\"radio-tile\">
  260. \t\t\t\t\t\t\t\t<p class=\"radio-tile-label\">
  261. \t\t\t\t\t\t\t\t\tDesigner
  262. \t\t\t\t\t\t\t\t</p>
  263. \t\t\t\t\t\t\t\t<div class=\"icon car-icon\">
  264. \t\t\t\t\t\t\t\t\t<i class=\"icofont-check-alt\"></i>
  265. \t\t\t\t\t\t\t\t</div>
  266. \t\t\t\t\t\t\t</div>
  267. \t\t\t\t\t\t</div>
  268. \t\t\t\t\t</div>-->
  269. \t\t\t\t  </div>
  270. \t\t\t\t  <div class=\"col-md-12\">
  271. \t\t\t\t\t<input type=\"password\" class=\"form-control\" name=\"password\" id=\"password\" placeholder=\"Password *\">
  272. \t\t\t\t  </div>
  273. \t\t\t\t  <div class=\"col-md-12\">
  274. \t\t\t\t\t<input type=\"password\" class=\"form-control\"  name=\"ConfirmPassword\" id=\"signupConfirmPassword\" placeholder=\"Confirm Password *\">
  275. \t\t\t\t  </div>
  276. \t\t\t\t  <div class=\"col-md-12 custom-control custom-checkbox my-1 mr-sm-2 check-text\">
  277. \t\t\t\t\t<input type=\"checkbox\" class=\"custom-control-input\" id=\"customControlInline\">
  278. \t\t\t\t\t<label class=\"custom-control-label\" for=\"customControlInline\">I confirm that I use my Nu Find account exclusively for business purposes and that I am authorized to act on behalf of a company.</label>
  279. \t\t\t\t  </div>
  280. \t\t\t\t  <div class=\"col-md-12 custom-control custom-checkbox my-1 mr-sm-2 check-text\">
  281. \t\t\t\t\t<input type=\"checkbox\" name=\"signupAgree\" id=\"signupAgree\" class=\"custom-control-input\">
  282.           ";
  283.         // line 226
  284.         $context["currentSite"] = $this->extensions['WebsiteBundle\Twig\Extension\WebsiteDocument']->getCurrentSite();
  285.         // line 227
  286.         echo "\t\t\t\t\t<label class=\"custom-control-label\" for=\"signupAgree\">I have read the 
  287.             ";
  288.         // line 228
  289.         if (((isset($context["currentSite"]) || array_key_exists("currentSite", $context) ? $context["currentSite"] : (function () { throw new RuntimeError('Variable "currentSite" does not exist.', 228, $this->source); })()) == "3SWebsite")) {
  290.             // line 229
  291.             echo "              <a href=\"#\">Privacy Policy</a> 
  292.             ";
  293.         } else {
  294.             // line 231
  295.             echo "              <a href=\"https://d2fzew76uxzkhe.cloudfront.net/assets/NuFind Website/Legal/Privacy Policy.pdf\" target=\"_blank\">Privacy Policy</a> 
  296.             ";
  297.         }
  298.         // line 233
  299.         echo "            and agree to it.
  300.           </label>
  301.           </div>
  302. \t\t\t\t  ";
  303.         // line 239
  304.         echo "\t\t\t\t  ";
  305.         $context["recaptchaSiteKey"] = $this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("RECAPTCHA_SITE_KEY");
  306.         // line 240
  307.         echo "\t\t\t\t  ";
  308.         if ((isset($context["recaptchaSiteKey"]) || array_key_exists("recaptchaSiteKey", $context) ? $context["recaptchaSiteKey"] : (function () { throw new RuntimeError('Variable "recaptchaSiteKey" does not exist.', 240, $this->source); })())) {
  309.             // line 241
  310.             echo "\t\t\t\t\t<div class=\"col-md-12 recaptcha-wrapper\">
  311. \t\t\t\t\t  <div class=\"g-recaptcha\" data-sitekey=\"";
  312.             // line 242
  313.             echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed((isset($context["recaptchaSiteKey"]) || array_key_exists("recaptchaSiteKey", $context) ? $context["recaptchaSiteKey"] : (function () { throw new RuntimeError('Variable "recaptchaSiteKey" does not exist.', 242, $this->source); })()), 242, $this->source), "html", null, true);
  314.             echo "\"></div>
  315. \t\t\t\t\t  <span class=\"error-msg\" id=\"signupRecaptcha-error\" style=\"display:none;\"></span>
  316. \t\t\t\t\t</div>
  317. \t\t\t\t\t<script src=\"https://www.google.com/recaptcha/api.js\" async defer></script>
  318. \t\t\t\t  ";
  319.         }
  320.         // line 247
  321.         echo "
  322. \t\t\t\t  <div class=\"col-md-12 signup-btn\">
  323. \t\t\t\t\t<button type=\"submit\" class=\"btn btn-secondary disabled\" id=\"signupDone\">Sign Up</button>
  324. \t\t\t\t  </div>
  325.           ";
  326.         // line 251
  327.         if ((!twig_in_filter("/edit/companies/grid", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 251, $this->source); })()), "request", [], "any", false, false, true, 251), "pathinfo", [], "any", false, false, true, 251)) && !twig_in_filter("/edit/customers/grid", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 251, $this->source); })()), "request", [], "any", false, false, true, 251), "pathinfo", [], "any", false, false, true, 251)))) {
  328.             // line 252
  329.             echo "            <div class=\"col-md-12 bottom-txt\">
  330.                 <p>Already have an Account?</p>
  331.             </div>
  332.             <div class=\"col-md-12 login-btn\">
  333.                 <button type=\"button\" data-toggle=\"modal\" data-target=\"#login\" data-dismiss=\"modal\" class=\"btn btn-primary login\">Log In</button>
  334.             </div>
  335.         ";
  336.         }
  337.         // line 259
  338.         echo "          
  339. \t\t\t\t  
  340. \t\t\t\t 
  341. \t\t\t\t</div>
  342. \t\t\t</form>
  343. \t\t</div>
  344. \t\t
  345.       <div class=\"modal-body\" id=\"signup_success\" style=\"display:none;\">
  346.         <h2 style='color:#d19688;'>WOOHOO! You’re Signed Up!</h2>
  347.         <div class=\"pop-form-wrapper\">
  348.                 <div class=\"success-msg\">
  349.                         <h3>We’ve just sent you an email confirmation. <br>Please double check your junk mail and mark us as<br> ‘not junk’ so that we can message.<br>One of our On-boarders will be in touch soon.<br><br><b>We can’t wait to show you around!</b></h3>
  350.                         <div class=\"row thanks-btn bottom-btn-row\">
  351.                             <div class=\"form-group btn-wrapper col-md-12\">
  352.                                 <button class=\"btn btn-send\" id=\"close-btn-signup-form\" data-dismiss=\"modal\">Close</button>
  353.                             </div>
  354.                         </div>
  355.                 </div>
  356.         </div>
  357.   </div>
  358. \t  </div>
  359. \t</div>
  360.   </div>
  361.     
  362.     
  363.     <!-- Thank you modal -->
  364.     ";
  365.         // line 301
  366.         echo "    ";
  367.         
  368.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  369.         
  370.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  371.     }
  372.     /**
  373.      * @codeCoverageIgnore
  374.      */
  375.     public function getTemplateName()
  376.     {
  377.         return "@Global/layouts/popup.html.twig";
  378.     }
  379.     /**
  380.      * @codeCoverageIgnore
  381.      */
  382.     public function isTraitable()
  383.     {
  384.         return false;
  385.     }
  386.     /**
  387.      * @codeCoverageIgnore
  388.      */
  389.     public function getDebugInfo()
  390.     {
  391.         return array (  384 => 301,  356 => 259,  347 => 252,  345 => 251,  339 => 247,  331 => 242,  328 => 241,  325 => 240,  322 => 239,  317 => 233,  313 => 231,  309 => 229,  307 => 228,  304 => 227,  302 => 226,  239 => 165,  234 => 162,  224 => 160,  220 => 159,  214 => 158,  209 => 155,  207 => 154,  160 => 110,  139 => 92,  55 => 10,  47 => 2,  45 => 1,);
  392.     }
  393.     public function getSourceContext()
  394.     {
  395.         return new Source("{% set CDN_URL = app_CDN_url() %}
  396. <div class=\"modal book-a-demo fade\" id=\"bookAdemo\">
  397.         <div class=\"modal-dialog modal-lg\">
  398.             <div class=\"modal-content\">
  399.                     <button type=\"button\" id=\"close-btn\" class=\"close\" data-dismiss=\"modal\">&times;</button>
  400.                 <!-- Modal body -->
  401.                 <div class=\"modal-body\" id=\"bookAdemo_normal\">
  402.                    {# <h2>{{ pimcore_input(\"landing_bookademo_title\") }}</h2>
  403.                     <p>{{ pimcore_input(\"landing_bookademo_desc\") }}</p> #}
  404.                     <h2>Book A Demo</h2>
  405.                     <p>Book A Demo Description</p>
  406.                     <div class=\"book-demo-form form-commom-design\">
  407.                         <form name=\"frmBookDemo\" id=\"frmBookDemo\" class=\"application-form\" method=\"POST\" >
  408.                         <div class=\"row no-gutters\">
  409.                             <div class=\"col-md-6\">
  410.                                 <div class=\"form-group\">
  411.                                     <label for=\"firstName\" class=\"d-none\">First Name</label>
  412.                                     <input type=\"text\" class=\"form-control\" name=\"firstName\" id=\"firstName\" placeholder=\"First Name\">
  413.                                 </div>
  414.                             </div>
  415.                             <div class=\"col-md-6\">
  416.                                 <div class=\"form-group\">
  417.                                     <label for=\"lastName\" class=\"d-none\">Last Name</label>
  418.                                     <input type=\"text\" class=\"form-control\" name=\"lastName\" id=\"lastName\" placeholder=\"Last Name\">
  419.                                 </div>
  420.                             </div>
  421.                             <div class=\"col-md-6\">
  422.                                 <div class=\"form-group\">
  423.                                     <label for=\"jobRole\" class=\"d-none\">Job Role</label>
  424.                                     <select class=\"form-control select-job-role\" id=\"jobRole\" name=\"jobRole\">
  425.                                         <option value=\"\">Job Role</option>
  426.                                         <option>Owner/CEO</option>
  427.                                         <option>Management</option>
  428.                                         <option>Buyer</option>
  429.                                         <option>Designer</option>
  430.                                         <option>Developer</option>
  431.                                         <option>Marketing</option>
  432.                                         <option>Sales</option>
  433.                                     </select>
  434.                                 </div>
  435.                             </div>
  436.                             <div class=\"col-md-6\">
  437.                                 <div class=\"form-group\">
  438.                                     <label for=\"companyType\" class=\"d-none\">Type Of Company</label>
  439.                                     <select class=\"form-control type-of-company\" id=\"companyType\" name=\"companyType\">
  440.                                         <option value=\"\">Type Of Company</option>
  441.                                         <option>DIY/Garden Centre</option>
  442.                                         <option>MAss Merchant/Warehouse</option>
  443.                                         <option>Supermarket</option>
  444.                                         <option>Department Store</option>
  445.                                         <option>Commercial Interior</option>
  446.                                         <option>Homeware/Interior Designer</option>
  447.                                         <option>HoReCa</option>
  448.                                         <option>Individual</option>
  449.                                         <option>Other</option>
  450.                                     </select>
  451.                                 </div>
  452.                             </div>
  453.                             <div class=\"col-md-6\">
  454.                                 <div class=\"form-group\">
  455.                                     <label for=\"companySize\" class=\"d-none\">Company Size</label>
  456.                                     <select class=\"form-control company-size\" id=\"companySize\" name=\"companySize\">
  457.                                         <option value=\"\">Company Size</option>
  458.                                         <option>1-10</option>
  459.                                         <option>11-100</option>
  460.                                         <option>101-250</option>
  461.                                         <option>251-500</option>
  462.                                         <option>501-1000</option>
  463.                                         <option>1001+</option>                                        
  464.                                     </select>
  465.                                 </div>
  466.                             </div>
  467.                             <div class=\"col-md-6\">
  468.                                 <div class=\"form-group\">
  469.                                     <label for=\"companyName\" class=\"d-none\">Company Name</label>
  470.                                     <input type=\"text\" class=\"form-control\" id=\"companyName\" name=\"companyName\" placeholder=\"Company Name\">
  471.                                 </div>
  472.                             </div>
  473.                             <div class=\"col-md-6\">
  474.                                 <div class=\"form-group\">
  475.                                     <label for=\"email\" class=\"d-none\">Email</label>
  476.                                     <input type=\"text\" class=\"form-control\" id=\"email\" name=\"email\" placeholder=\"Email\">
  477.                                 </div>
  478.                             </div>
  479.                             <div class=\"col-md-6\">
  480.                                 <div class=\"form-group\">
  481.                                     <button type=\"submit\" name=\"submit_bookdemo\" class=\"btn btn-send\">{{ pimcore_input(\"landing_bookademo_btnsend\") }}</button>
  482.                                 </div>
  483.                             </div>
  484.                         </div>
  485.                         </form>
  486. \t\t\t\t\t\t<div class=\"col-md-12\" id=\"bookAdemo_error\" style=\"display:none\">Error!!</div>
  487.                     </div>
  488.                 </div>
  489. \t\t\t\t<div class=\"modal-body\" id=\"bookAdemo_success\" style=\"display:none\">
  490.                     <h2>THANKS!</h2>
  491.                     <p>Once we’ve reviewed your company we’ll be in touch.</p>
  492.                     <div class=\"book-demo-form form-commom-design border-0\">
  493.                         <form>
  494.                         <div class=\"row no-gutters\">
  495.                             <div class=\"col-md-12\">
  496.                                 <div class=\"thanks-icon\">
  497.                                     <img src=\"{{asset(CDN_URL~'/assets/images/book-de,mo-thanks-icon.svg')}}\" alt=\"Thanks Icon\">
  498.                                 </div>
  499.                                 </div>
  500.                         </div>
  501.                         </form>
  502.                     </div>
  503.                 </div>
  504.             </div>
  505.         </div>
  506.     </div>
  507.    <!-- Sign UP Modal -->
  508.   <div class=\"modal fade signup-modal\" id=\"signup\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"signupmodalTitle\" aria-hidden=\"true\">
  509. \t<div class=\"modal-dialog modal-dialog-centered\" role=\"document\">
  510. \t  <div class=\"modal-content\">
  511. \t\t<div class=\"modal-header\">
  512. \t\t  <h5 class=\"modal-title\" id=\"exampleModalLongTitle\">Let's Get You</h5>
  513. \t\t  <h2><em>Signed Up!</em></h2>
  514. \t\t  <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
  515. \t\t\t<span aria-hidden=\"true\">&times;</span>
  516. \t\t  </button>
  517. \t\t</div>
  518. \t\t<div class=\"modal-body\">
  519. \t\t\t<form name=\"frmSignup\" id=\"frmSignup\" class=\"application-form\" method=\"POST\">
  520. \t\t\t\t<div class=\"form-row\">
  521. \t\t\t\t  <div class=\"col-md-12\">
  522. \t\t\t\t\t<input type=\"text\" name=\"firstName\" id=\"signupFirstName\" class=\"form-control\" placeholder=\"First name *\">
  523. \t\t\t\t  </div>
  524. \t\t\t\t  <div class=\"col-md-12\">
  525. \t\t\t\t\t<input type=\"text\" name=\"lastName\" id=\"signupLastName\" class=\"form-control\" placeholder=\"Last name \">
  526. \t\t\t\t  </div>
  527. \t\t\t\t  <div class=\"col-md-12\">
  528. \t\t\t\t\t<input type=\"text\" class=\"form-control\" name=\"companyName\" id=\"signupCompanyName\" placeholder=\"Company name *\">
  529. \t\t\t\t  </div>
  530.                 <div class=\"col-md-3 col-4\">
  531.                     <label for=\"exampleFormControlInput1\" class=\"d-none\">Contact Number</label>
  532.                     <input class=\"form-control contactNumberCode\" id=\"jquery-intl-phone\" name=\"contactNumberCode\" type=\"tel\">
  533.                 </div>
  534.           <div class=\"col-md-9 col-8\">
  535.               <input type=\"number\" class=\"form-control\" name=\"contactNumber\" id=\"signupContactNumber\" placeholder=\"Contact Number\" maxlength=\"15\" oninput=\"javascript: if (this.value.length > this.maxLength) this.value = this.value.slice(0, this.maxLength);\">
  536.           </div>         
  537. \t\t\t\t  <div class=\"col-md-12\">
  538. \t\t\t\t\t<input type=\"email\" class=\"form-control\" name=\"email\" id=\"signupEmail\" placeholder=\"Business Email *\">
  539. \t\t\t\t  </div>
  540.           {% if countries is defined %}
  541.               <div class=\"col-md-12 country-dropdown-select2-div\">
  542.                 <select class=\"form-control country-dropdown-select2\" name=\"countryName\" id=\"signupCountry\">
  543.                     <option value=\"\">Select Country *</option>
  544.                     {% for option in countries %} 
  545.                       {% set getValueStr = app_general_filter_value_string('countryFilter', option.id)  %} 
  546.                       <option value=\"{{option.name}}\">{{getValueStr}}</option>
  547.                     {% endfor %}
  548.                 </select>
  549.               </div>
  550.           {% endif %}
  551.           <div class=\"col-md-12\">
  552.             <input type=\"text\" class=\"form-control\" name=\"website\" id=\"signupWebsite\" placeholder=\"Website\">
  553.           </div>
  554. \t\t\t\t  <div class=\"col-md-9 who-im\">
  555. \t\t\t\t\t  <label for=\"select\">I'm A:</label>
  556. \t\t\t\t  </div>
  557. \t\t\t\t  <div class=\"col-md-3 slect-user\">
  558.               <select class=\"form-control\" name=\"customerType\" id=\"customerType\">
  559.                   <option value=\"R\">Buyer</option>
  560.                   <option value=\"M\">Supplier</option>
  561.                   <option value=\"R\">Designer</option>
  562.               </select>
  563. \t\t\t\t\t<!--<div class=\"radio-tile-group\">
  564. \t\t\t\t\t\t<div class=\"input-container\">
  565. \t\t\t\t\t\t\t<input class=\"radio-button\" value=\"R\" name=\"customerType\" type=\"radio\" name=\"radio\" />
  566. \t\t\t\t\t\t\t<div class=\"radio-tile\">
  567. \t\t\t\t\t\t\t\t<p class=\"radio-tile-label\">
  568. \t\t\t\t\t\t\t\t\tBuyer
  569. \t\t\t\t\t\t\t\t</p>
  570. \t\t\t\t\t\t\t\t<div class=\"icon walk-icon\">
  571. \t\t\t\t\t\t\t\t\t<i class=\"icofont-check-alt\"></i>
  572. \t\t\t\t\t\t\t\t</div>
  573. \t\t\t\t\t\t\t</div>
  574. \t\t\t\t\t\t</div>
  575. \t\t\t\t\t\t<div class=\"input-container\">
  576. \t\t\t\t\t\t\t<input class=\"radio-button\" value=\"M\" name=\"customerType\" type=\"radio\" name=\"radio\" />
  577. \t\t\t\t\t\t\t<div class=\"radio-tile\">
  578. \t\t\t\t\t\t\t\t<p class=\"radio-tile-label\">
  579. \t\t\t\t\t\t\t\t\tSupplier
  580. \t\t\t\t\t\t\t\t</p>
  581. \t\t\t\t\t\t\t\t<div class=\"icon bike-icon\">
  582. \t\t\t\t\t\t\t\t\t<i class=\"icofont-check-alt\"></i>
  583. \t\t\t\t\t\t\t\t</div>
  584. \t\t\t\t\t\t\t</div>
  585. \t\t\t\t\t\t</div>
  586. \t\t\t\t\t\t<div class=\"input-container\">
  587. \t\t\t\t\t\t\t<input class=\"radio-button\" value=\"D\" name=\"customerType\" type=\"radio\" name=\"radio\" />
  588. \t\t\t\t\t\t\t<div class=\"radio-tile\">
  589. \t\t\t\t\t\t\t\t<p class=\"radio-tile-label\">
  590. \t\t\t\t\t\t\t\t\tDesigner
  591. \t\t\t\t\t\t\t\t</p>
  592. \t\t\t\t\t\t\t\t<div class=\"icon car-icon\">
  593. \t\t\t\t\t\t\t\t\t<i class=\"icofont-check-alt\"></i>
  594. \t\t\t\t\t\t\t\t</div>
  595. \t\t\t\t\t\t\t</div>
  596. \t\t\t\t\t\t</div>
  597. \t\t\t\t\t</div>-->
  598. \t\t\t\t  </div>
  599. \t\t\t\t  <div class=\"col-md-12\">
  600. \t\t\t\t\t<input type=\"password\" class=\"form-control\" name=\"password\" id=\"password\" placeholder=\"Password *\">
  601. \t\t\t\t  </div>
  602. \t\t\t\t  <div class=\"col-md-12\">
  603. \t\t\t\t\t<input type=\"password\" class=\"form-control\"  name=\"ConfirmPassword\" id=\"signupConfirmPassword\" placeholder=\"Confirm Password *\">
  604. \t\t\t\t  </div>
  605. \t\t\t\t  <div class=\"col-md-12 custom-control custom-checkbox my-1 mr-sm-2 check-text\">
  606. \t\t\t\t\t<input type=\"checkbox\" class=\"custom-control-input\" id=\"customControlInline\">
  607. \t\t\t\t\t<label class=\"custom-control-label\" for=\"customControlInline\">I confirm that I use my Nu Find account exclusively for business purposes and that I am authorized to act on behalf of a company.</label>
  608. \t\t\t\t  </div>
  609. \t\t\t\t  <div class=\"col-md-12 custom-control custom-checkbox my-1 mr-sm-2 check-text\">
  610. \t\t\t\t\t<input type=\"checkbox\" name=\"signupAgree\" id=\"signupAgree\" class=\"custom-control-input\">
  611.           {% set currentSite = app_current_site() %}
  612. \t\t\t\t\t<label class=\"custom-control-label\" for=\"signupAgree\">I have read the 
  613.             {% if currentSite == '3SWebsite' %}
  614.               <a href=\"#\">Privacy Policy</a> 
  615.             {% else %}
  616.               <a href=\"https://d2fzew76uxzkhe.cloudfront.net/assets/NuFind Website/Legal/Privacy Policy.pdf\" target=\"_blank\">Privacy Policy</a> 
  617.             {% endif %}
  618.             and agree to it.
  619.           </label>
  620.           </div>
  621. \t\t\t\t  {# reCAPTCHA v2. Site key comes from the RECAPTCHA_SITE_KEY website
  622. \t\t\t\t     setting; nothing renders until it is filled in. Verified server
  623. \t\t\t\t     side in GeneralHelper::verifyRecaptcha(). #}
  624. \t\t\t\t  {% set recaptchaSiteKey = pimcore_website_config('RECAPTCHA_SITE_KEY') %}
  625. \t\t\t\t  {% if recaptchaSiteKey %}
  626. \t\t\t\t\t<div class=\"col-md-12 recaptcha-wrapper\">
  627. \t\t\t\t\t  <div class=\"g-recaptcha\" data-sitekey=\"{{ recaptchaSiteKey }}\"></div>
  628. \t\t\t\t\t  <span class=\"error-msg\" id=\"signupRecaptcha-error\" style=\"display:none;\"></span>
  629. \t\t\t\t\t</div>
  630. \t\t\t\t\t<script src=\"https://www.google.com/recaptcha/api.js\" async defer></script>
  631. \t\t\t\t  {% endif %}
  632. \t\t\t\t  <div class=\"col-md-12 signup-btn\">
  633. \t\t\t\t\t<button type=\"submit\" class=\"btn btn-secondary disabled\" id=\"signupDone\">Sign Up</button>
  634. \t\t\t\t  </div>
  635.           {% if '/edit/companies/grid' not in app.request.pathinfo and '/edit/customers/grid' not in app.request.pathinfo %}
  636.             <div class=\"col-md-12 bottom-txt\">
  637.                 <p>Already have an Account?</p>
  638.             </div>
  639.             <div class=\"col-md-12 login-btn\">
  640.                 <button type=\"button\" data-toggle=\"modal\" data-target=\"#login\" data-dismiss=\"modal\" class=\"btn btn-primary login\">Log In</button>
  641.             </div>
  642.         {% endif %}
  643.           
  644. \t\t\t\t  
  645. \t\t\t\t 
  646. \t\t\t\t</div>
  647. \t\t\t</form>
  648. \t\t</div>
  649. \t\t
  650.       <div class=\"modal-body\" id=\"signup_success\" style=\"display:none;\">
  651.         <h2 style='color:#d19688;'>WOOHOO! You’re Signed Up!</h2>
  652.         <div class=\"pop-form-wrapper\">
  653.                 <div class=\"success-msg\">
  654.                         <h3>We’ve just sent you an email confirmation. <br>Please double check your junk mail and mark us as<br> ‘not junk’ so that we can message.<br>One of our On-boarders will be in touch soon.<br><br><b>We can’t wait to show you around!</b></h3>
  655.                         <div class=\"row thanks-btn bottom-btn-row\">
  656.                             <div class=\"form-group btn-wrapper col-md-12\">
  657.                                 <button class=\"btn btn-send\" id=\"close-btn-signup-form\" data-dismiss=\"modal\">Close</button>
  658.                             </div>
  659.                         </div>
  660.                 </div>
  661.         </div>
  662.   </div>
  663. \t  </div>
  664. \t</div>
  665.   </div>
  666.     
  667.     
  668.     <!-- Thank you modal -->
  669.     {# <div class=\"modal dark-pop fade\" id=\"signup_success\">
  670.             <div class=\"modal-dialog modal-lg\">
  671.                     <div class=\"modal-content\">
  672.                                     <button type=\"button\" class=\"close\" data-dismiss=\"modal\">&times;</button>
  673.                             <!-- Modal body -->
  674.                             <div class=\"modal-body\">
  675.                                     <h2>WOOHOO! You’re Signed Up!</h2>
  676.                                     <div class=\"pop-form-wrapper\">
  677.                                             <div class=\"success-msg\">
  678.                                                     <h3>We’ve just sent you an email confirmation. <br>Please double check your junk mail and mark us as<br> ‘not junk’ so that we can message.<br>One of our On-boarders will be in touch soon.<br><br><b>We can’t wait to show you around!</b></h3>
  679.                                             </div>
  680.                                     </div>
  681.                             </div>
  682.                     </div>
  683.             </div>
  684.     </div> #}
  685.     ", "@Global/layouts/popup.html.twig", "/var/www/pimcore/src/GlobalBundle/Resources/views/layouts/popup.html.twig");
  686.     }
  687.     
  688.     public function checkSecurity()
  689.     {
  690.         static $tags = array("set" => 1, "if" => 154, "for" => 158);
  691.         static $filters = array("escape" => 110);
  692.         static $functions = array("app_CDN_url" => 1, "pimcore_input" => 92, "asset" => 110, "app_general_filter_value_string" => 159, "app_current_site" => 226, "pimcore_website_config" => 239);
  693.         try {
  694.             $this->sandbox->checkSecurity(
  695.                 ['set', 'if', 'for'],
  696.                 ['escape'],
  697.                 ['app_CDN_url', 'pimcore_input', 'asset', 'app_general_filter_value_string', 'app_current_site', 'pimcore_website_config']
  698.             );
  699.         } catch (SecurityError $e) {
  700.             $e->setSourceContext($this->source);
  701.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  702.                 $e->setTemplateLine($tags[$e->getTagName()]);
  703.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  704.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  705.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  706.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  707.             }
  708.             throw $e;
  709.         }
  710.     }
  711. }