var/cache/dev/twig/08/0831a3b8c6883f31c20cc6b4093f03b5.php line 58

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. /* application/whileresume/application/jobs/show_en.html.twig */
  16. class __TwigTemplate_4ba3adcc16cbde8b23780a72aa4561a0 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.             'title' => [$this'block_title'],
  29.             'description' => [$this'block_description'],
  30.             'robots' => [$this'block_robots'],
  31.             'css' => [$this'block_css'],
  32.             'body' => [$this'block_body'],
  33.             'footerjs' => [$this'block_footerjs'],
  34.         ];
  35.     }
  36.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  37.     {
  38.         // line 1
  39.         return "vitrine/lexend/layout.html.twig";
  40.     }
  41.     protected function doDisplay(array $context, array $blocks = []): iterable
  42.     {
  43.         $macros $this->macros;
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""application/whileresume/application/jobs/show_en.html.twig"));
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""application/whileresume/application/jobs/show_en.html.twig"));
  48.         $this->parent $this->load("vitrine/lexend/layout.html.twig"1);
  49.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  50.         
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  52.         
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  54.     }
  55.     // line 3
  56.     /**
  57.      * @return iterable<null|scalar|\Stringable>
  58.      */
  59.     public function block_title(array $context, array $blocks = []): iterable
  60.     {
  61.         $macros $this->macros;
  62.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  63.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  64.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  65.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  66.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["job"]) || array_key_exists("job"$context) ? $context["job"] : (function () { throw new RuntimeError('Variable "job" does not exist.'3$this->source); })()), "shortTitle", [], "any"falsefalsefalse3), "html"nulltrue);
  67.         
  68.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  69.         
  70.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  71.         yield from [];
  72.     }
  73.     // line 4
  74.     /**
  75.      * @return iterable<null|scalar|\Stringable>
  76.      */
  77.     public function block_description(array $context, array $blocks = []): iterable
  78.     {
  79.         $macros $this->macros;
  80.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  81.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""description"));
  82.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  83.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""description"));
  84.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["job"]) || array_key_exists("job"$context) ? $context["job"] : (function () { throw new RuntimeError('Variable "job" does not exist.'4$this->source); })()), "shortDescription", [], "any"falsefalsefalse4), "html"nulltrue);
  85.         
  86.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  87.         
  88.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  89.         yield from [];
  90.     }
  91.     // line 5
  92.     /**
  93.      * @return iterable<null|scalar|\Stringable>
  94.      */
  95.     public function block_robots(array $context, array $blocks = []): iterable
  96.     {
  97.         $macros $this->macros;
  98.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  99.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""robots"));
  100.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  101.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""robots"));
  102.         yield "index,follow";
  103.         
  104.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  105.         
  106.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  107.         yield from [];
  108.     }
  109.     // line 11
  110.     /**
  111.      * @return iterable<null|scalar|\Stringable>
  112.      */
  113.     public function block_css(array $context, array $blocks = []): iterable
  114.     {
  115.         $macros $this->macros;
  116.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  117.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""css"));
  118.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  119.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""css"));
  120.         // line 12
  121.         yield "    <style>
  122.         .wr-search-section{position:relative;z-index:2;width:100%;max-width:720px;margin:0 auto}
  123.         .wr-search-bar{display:flex;align-items:center;background:#fff;border-radius:16px;padding:6px;box-shadow:0 4px 24px rgba(108,58,237,.08),0 1px 3px rgba(0,0,0,.04);border:2px solid transparent;transition:border-color .3s,box-shadow .3s;cursor:pointer}
  124.         .wr-search-bar:hover,.wr-search-bar.active{border-color:rgba(108,58,237,.2);box-shadow:0 8px 32px rgba(108,58,237,.12),0 2px 6px rgba(0,0,0,.04)}
  125.         .wr-search-icon{padding:12px 14px;color:#9CA3AF;display:flex;align-items:center;flex-shrink:0}
  126.         .wr-search-input-wrapper{flex:1;position:relative;height:48px;display:flex;align-items:center;overflow:hidden}
  127.         .wr-search-real-input{width:100%;border:none;outline:none;font-size:16px;color:#1E1B2E;background:transparent;font-family:inherit}
  128.         .wr-search-real-input::placeholder{color:#9CA3AF}
  129.         .wr-search-btn{background:var(--color-primary,#6C3AED);color:#fff;border:none;padding:12px 24px;border-radius:12px;font-size:15px;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:6px;transition:background .2s,transform .15s;flex-shrink:0;font-family:inherit}
  130.         .wr-search-btn:hover{filter:brightness(1.1);transform:scale(1.02)}
  131.         @media(max-width:640px){.wr-search-btn span{display:none}.wr-search-btn{padding:12px 14px}}
  132.         .wr-search-results{position:relative;background:#fff;border-radius:16px;box-shadow:0 12px 48px rgba(0,0,0,.1),0 2px 8px rgba(0,0,0,.04);padding:0;max-height:0;overflow:hidden;transition:max-height .5s ease,padding .5s ease,margin .5s ease,opacity .4s ease;z-index:10;opacity:0;margin-top:0}
  133.         .wr-search-results.visible{max-height:2000px;padding:8px;margin-top:12px;opacity:1}
  134.         .wr-result-item{display:flex;align-items:center;gap:14px;padding:12px 14px;border-radius:12px;cursor:pointer;transition:background .2s,opacity .3s ease,transform .3s ease;opacity:0;transform:translateY(8px);text-decoration:none;color:inherit}
  135.         .wr-result-item.show{opacity:1;transform:translateY(0)}
  136.         .wr-result-item:hover{background:#F5F3FF}
  137.         .wr-result-item+.wr-result-item{border-top:1px solid rgba(0,0,0,.04)}
  138.         .wr-result-logo{width:44px;height:44px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:18px;flex-shrink:0;font-weight:700}
  139.         .wr-result-logo img{width:100%;height:100%;object-fit:cover;border-radius:10px}
  140.         .wr-result-info{flex:1;text-align:left;min-width:0}
  141.         .wr-result-title{font-size:14px;font-weight:600;color:#1E1B2E;margin-bottom:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  142.         .wr-result-meta{display:flex;align-items:center;gap:8px;font-size:12px;color:#9CA3AF;flex-wrap:wrap}
  143.         .wr-result-company{color:#4B5563;font-weight:500}
  144.         .wr-result-badge{display:inline-flex;padding:2px 8px;border-radius:6px;font-size:11px;font-weight:600}
  145.         .wr-badge-new{background:#DCFCE7;color:#16A34A}
  146.         .wr-result-salary{font-size:13px;font-weight:600;color:var(--color-primary,#6C3AED);white-space:nowrap}
  147.         .wr-result-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
  148.         .wr-loading{text-align:center;padding:30px 20px}
  149.         .wr-spinner{display:inline-block;width:28px;height:28px;border:3px solid rgba(108,58,237,.15);border-top-color:var(--color-primary,#6C3AED);border-radius:50%;animation:wrSpin .7s linear infinite}
  150.         @keyframes wrSpin{to{transform:rotate(360deg)}}
  151.         .wr-empty-state{text-align:center;padding:40px 20px}
  152.         .wr-empty-icon{font-size:40px;margin-bottom:12px}
  153.         .wr-empty-title{font-size:16px;font-weight:600;color:#1E1B2E;margin:0 0 6px}
  154.         .wr-empty-text{font-size:14px;color:#9CA3AF;margin:0}
  155.         .wr-load-more{display:flex;justify-content:center;padding:12px 8px 4px}
  156.         .wr-load-more-btn{background:none;border:2px solid var(--color-primary,#6C3AED);color:var(--color-primary,#6C3AED);padding:8px 24px;border-radius:10px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s;font-family:inherit}
  157.         .wr-load-more-btn:hover{background:var(--color-primary,#6C3AED);color:#fff}
  158.         .wr-load-more-btn:disabled{opacity:.5;cursor:not-allowed}
  159.         .wr-results-count{text-align:center;padding:10px;font-size:13px;color:#9CA3AF;border-top:1px solid rgba(0,0,0,.04);margin-top:4px}
  160.         .wr-results-count strong{color:var(--color-primary,#6C3AED)}
  161.         .wr-search-close-wrap{text-align:right;padding:4px 8px 0}
  162.         .wr-search-close-btn{background:none;border:1px solid rgba(0,0,0,.1);color:#9CA3AF;padding:4px 12px;border-radius:8px;font-size:12px;cursor:pointer;transition:all .2s;font-family:inherit}
  163.         .wr-search-close-btn:hover{background:#F5F3FF;color:var(--color-primary,#6C3AED);border-color:rgba(108,58,237,.2)}
  164.         ";
  165.         // line 57
  166.         yield "        .job-tags{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
  167.         .job-tag{display:inline-flex;align-items:center;gap:5px;padding:6px 14px;border-radius:100px;font-size:13px;font-weight:500;background:#fff;border:1px solid rgba(0,0,0,.08);color:#4B5563}
  168.         .job-tag i,.job-tag svg{font-size:13px;color:var(--color-primary,#6C3AED);width:14px;height:14px}
  169.         .job-tag-salary{background:linear-gradient(135deg,#EDE9FE,#F5F3FF);border-color:rgba(108,58,237,.15);color:var(--color-primary,#6C3AED);font-weight:600}
  170.         .job-tag-external{background:#FFFBEB;border-color:rgba(245,158,11,.2);color:#92400E;font-size:12px}
  171.         .job-body-card{background:#fff;border-radius:20px;box-shadow:0 4px 32px rgba(0,0,0,.06),0 1px 4px rgba(0,0,0,.03);border:1px solid rgba(0,0,0,.05);padding:32px;max-width:780px;margin:0 auto}
  172.         @media(max-width:640px){.job-body-card{padding:20px;border-radius:16px}}
  173.         .job-section-title{font-size:15px;font-weight:700;color:var(--color-primary,#6C3AED);text-transform:uppercase;letter-spacing:.06em;margin:0 0 10px;display:flex;align-items:center;gap:8px}
  174.         .job-section-title::before{content:'';display:inline-block;width:4px;height:18px;border-radius:2px;background:var(--color-primary,#6C3AED)}
  175.         .job-section-text{font-size:16px;line-height:1.75;color:#374151;margin:0}
  176.         .job-section-divider{border:none;border-top:1px solid rgba(0,0,0,.06);margin:24px 0}
  177.         .job-cta-bar{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;padding:24px 0 0}
  178.         .job-cta-main{display:inline-flex;align-items:center;gap:8px;padding:14px 32px;border-radius:14px;font-size:16px;font-weight:700;border:none;cursor:pointer;transition:all .2s;text-decoration:none;font-family:inherit}
  179.         .job-cta-main.active{background:var(--color-primary,#6C3AED);color:#fff;box-shadow:0 4px 16px rgba(108,58,237,.25)}
  180.         .job-cta-main.active:hover{filter:brightness(1.1);transform:translateY(-1px);box-shadow:0 6px 24px rgba(108,58,237,.3)}
  181.         .job-cta-main.disabled{background:#E5E7EB;color:#9CA3AF;cursor:default;box-shadow:none;pointer-events:none}
  182.         .job-cta-company{display:inline-flex;align-items:center;gap:6px;padding:14px 24px;border-radius:14px;font-size:15px;font-weight:600;border:2px solid rgba(0,0,0,.08);background:#fff;color:#374151;cursor:pointer;transition:all .2s;text-decoration:none;font-family:inherit}
  183.         .job-cta-company:hover{border-color:rgba(108,58,237,.2);color:var(--color-primary,#6C3AED)}
  184.         .job-locked-overlay{position:relative;margin-top:24px}
  185.         .job-locked-blur{filter:blur(6px);opacity:.4;pointer-events:none;user-select:none}
  186.         .job-locked-cta{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:rgba(255,255,255,.7);backdrop-filter:blur(3px);border-radius:16px;padding:20px}
  187.         .job-locked-title{font-size:18px;font-weight:700;color:#1E1B2E;text-align:center}
  188.         .job-locked-text{font-size:14px;color:#6B7280;text-align:center;max-width:360px}
  189.         .job-locked-btn{display:inline-flex;align-items:center;gap:6px;padding:12px 28px;background:var(--color-primary,#6C3AED);color:#fff;border:none;border-radius:12px;font-size:15px;font-weight:600;cursor:pointer;transition:all .2s;text-decoration:none;font-family:inherit}
  190.         .job-locked-btn:hover{filter:brightness(1.1);transform:translateY(-1px)}
  191.         .job-locked-login{font-size:13px;color:#6B7280}
  192.         .job-locked-login a{color:var(--color-primary,#6C3AED);font-weight:600;text-decoration:none}
  193.         .job-locked-login a:hover{text-decoration:underline}
  194.     </style>
  195. ";
  196.         
  197.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  198.         
  199.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  200.         yield from [];
  201.     }
  202.     // line 88
  203.     /**
  204.      * @return iterable<null|scalar|\Stringable>
  205.      */
  206.     public function block_body(array $context, array $blocks = []): iterable
  207.     {
  208.         $macros $this->macros;
  209.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  210.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  211.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  212.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  213.         // line 89
  214.         yield "
  215.     <div id=\"hero_header\" class=\"hero-header section panel overflow-hidden\">
  216.         <div class=\"position-absolute top-0 start-0 end-0 h-screen dark:bg-gray-300 dark:bg-opacity-15 rounded-bottom-2 lg:rounded-bottom-5\"></div>
  217.         <div class=\"section-outer panel py-8 lg:py-9 xl:py-10\">
  218.             <div class=\"container\">
  219.                 <div class=\"section-inner panel\">
  220.                     <div class=\"d-none xl:d-block\">
  221.                         <div class=\"position-absolute rounded-circle border border-dashed border-primary-300 dark:border-white dark:border-opacity-15 cstack w-56px h-56px d-none lg:d-block\" style=\"top: 5%; left: 5%\" data-anime=\"translateY: [0, 10]; easing: linear; loop: true; direction: alternate; delay: 0;\"><img class=\"p-narrow rounded-circle\" src=\"/uploads/no_avatar.png\" alt=\"Anonymous candidate\"></div>
  222.                         <div class=\"position-absolute rounded-circle border border-dashed border-primary-300 dark:border-white dark:border-opacity-15 cstack w-56px h-56px d-none lg:d-block\" style=\"top: 20%; left: 10%\" data-anime=\"translateY: [0, 15]; easing: linear; loop: true; direction: alternate; delay: 25;\"><img class=\"p-narrow rounded-circle\" src=\"/uploads/no_avatar.png\" alt=\"Anonymous candidate\"></div>
  223.                         <div class=\"position-absolute rounded-circle border border-dashed border-primary-300 dark:border-white dark:border-opacity-15 cstack w-56px h-56px d-none lg:d-block\" style=\"top: 35%; left: 0%\" data-anime=\"translateY: [0, 5]; easing: linear; loop: true; direction: alternate; delay: 25;\"><img class=\"p-narrow rounded-circle\" src=\"/uploads/no_avatar.png\" alt=\"Anonymous candidate\"></div>
  224.                         <div class=\"position-absolute rounded-circle border border-dashed border-primary-300 dark:border-white dark:border-opacity-15 cstack w-56px h-56px d-none lg:d-block\" style=\"top: 5%; right: 5%\" data-anime=\"translateY: [0, 10]; easing: linear; loop: true; direction: alternate; delay: 0;\"><img class=\"p-narrow rounded-circle\" src=\"/uploads/no_avatar.png\" alt=\"Anonymous candidate\"></div>
  225.                         <div class=\"position-absolute rounded-circle border border-dashed border-primary-300 dark:border-white dark:border-opacity-15 cstack w-56px h-56px d-none lg:d-block\" style=\"top: 20%; right: 10%\" data-anime=\"translateY: [0, 15]; easing: linear; loop: true; direction: alternate; delay: 25;\"><img class=\"p-narrow rounded-circle\" src=\"/uploads/no_avatar.png\" alt=\"Anonymous candidate\"></div>
  226.                         <div class=\"position-absolute rounded-circle border border-dashed border-primary-300 dark:border-white dark:border-opacity-15 cstack w-56px h-56px d-none lg:d-block\" style=\"top: 35%; right: 0%\" data-anime=\"translateY: [0, 5]; easing: linear; loop: true; direction: alternate; delay: 25;\"><img class=\"p-narrow rounded-circle\" src=\"/uploads/no_avatar.png\" alt=\"Anonymous candidate\"></div>
  227.                     </div>
  228.                     <div class=\"row child-cols-12 justify-center items-center g-8\">
  229.                         <div class=\"lg:col-12\">
  230.                             <div class=\"panel vstack gap-4 lg:gap-6\">
  231.                                 <div class=\"panel vstack justify-center items-center gap-2 px-2 pt-4 text-center\">
  232.                                     <span class=\"fs-6 fw-bold text-uppercase text-primary\">";
  233.         // line 107
  234.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["job"]) || array_key_exists("job"$context) ? $context["job"] : (function () { throw new RuntimeError('Variable "job" does not exist.'107$this->source); })()), "companyName", [], "any"falsefalsefalse107), "html"nulltrue);
  235.         yield " is hiring</span>
  236.                                     <h1 class=\"h3 md:h2 lg:display-4 m-0\">";
  237.         // line 108
  238.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["job"]) || array_key_exists("job"$context) ? $context["job"] : (function () { throw new RuntimeError('Variable "job" does not exist.'108$this->source); })()), "jobtitle", [], "any"falsefalsefalse108), "html"nulltrue);
  239.         yield "</h1>
  240.                                 </div>
  241.                                 <div class=\"wr-search-section\" id=\"wrSearchSection\">
  242.                                     <div class=\"wr-search-bar\" id=\"wrSearchBar\">
  243.                                         <div class=\"wr-search-icon\">
  244.                                             <svg width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"11\" cy=\"11\" r=\"8\"/><path d=\"M21 21l-4.35-4.35\"/></svg>
  245.                                         </div>
  246.                                         <div class=\"wr-search-input-wrapper\">
  247.                                             <input type=\"text\" id=\"wrSearchInput\" class=\"wr-search-real-input\" placeholder=\"Search for a job, company, or city...\" autocomplete=\"off\">
  248.                                         </div>
  249.                                         <button class=\"wr-search-btn\" id=\"wrSearchBtn\">
  250.                                             <svg width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"11\" cy=\"11\" r=\"8\"/><path d=\"M21 21l-4.35-4.35\"/></svg>
  251.                                             <span>Search</span>
  252.                                         </button>
  253.                                     </div>
  254.                                 </div>
  255.                                 <div class=\"wr-search-results\" id=\"wrSearchResults\">
  256.                                     <div class=\"wr-search-close-wrap\">
  257.                                         <button class=\"wr-search-close-btn\" id=\"wrSearchClose\">✕ Close</button>
  258.                                     </div>
  259.                                     <div id=\"wrJobsList\"></div>
  260.                                     <div id=\"wrLoading\" class=\"wr-loading\" style=\"display:none;\">
  261.                                         <div class=\"wr-spinner\"></div>
  262.                                     </div>
  263.                                     <div id=\"wrEmptyState\" class=\"wr-empty-state\" style=\"display:none;\">
  264.                                         <div class=\"wr-empty-icon\">🔍</div>
  265.                                         <p class=\"wr-empty-title\">No jobs match your search</p>
  266.                                         <p class=\"wr-empty-text\">Try different keywords</p>
  267.                                     </div>
  268.                                     <div id=\"wrLoadMore\" class=\"wr-load-more\" style=\"display:none;\">
  269.                                         <button class=\"wr-load-more-btn\" id=\"wrLoadMoreBtn\">Show more jobs</button>
  270.                                     </div>
  271.                                     <div class=\"wr-results-count\" id=\"wrResultsCount\" style=\"display:none;\">
  272.                                         <strong id=\"wrTotalCount\">0</strong> jobs found
  273.                                     </div>
  274.                                 </div>
  275.                             </div>
  276.                         </div>
  277.                     </div>
  278.                 </div>
  279.             </div>
  280.         </div>
  281.     </div>
  282.     ";
  283.         // line 158
  284.         yield "    <div id=\"job_details\" class=\"job-details section panel pb-6 xl:pb-9\">
  285.         <div class=\"section-outer panel\">
  286.             <div class=\"container max-w-lg\">
  287.                 <div class=\"section-inner panel\">
  288.                     ";
  289.         // line 164
  290.         yield "                    <div class=\"job-tags mb-4\" style=\"margin-top:-10px;\">
  291.                         ";
  292.         // line 165
  293.         if ((($tmp =  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["job"]) || array_key_exists("job"$context) ? $context["job"] : (function () { throw new RuntimeError('Variable "job" does not exist.'165$this->source); })()), "companyName", [], "any"falsefalsefalse165))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  294.             // line 166
  295.             yield "                            <span class=\"job-tag\">
  296.                                 <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><rect x=\"2\" y=\"7\" width=\"20\" height=\"14\" rx=\"2\"/><path d=\"M16 7V5a4 4 0 00-8 0v2\"/></svg>
  297.                                 ";
  298.             // line 168
  299.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["job"]) || array_key_exists("job"$context) ? $context["job"] : (function () { throw new RuntimeError('Variable "job" does not exist.'168$this->source); })()), "companyName", [], "any"falsefalsefalse168), "html"nulltrue);
  300.             yield "
  301.                             </span>
  302.                         ";
  303.         }
  304.         // line 171
  305.         yield "                        ";
  306.         if ((($tmp =  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["job"]) || array_key_exists("job"$context) ? $context["job"] : (function () { throw new RuntimeError('Variable "job" does not exist.'171$this->source); })()), "employmentType", [], "any"falsefalsefalse171))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  307.             // line 172
  308.             yield "                            <span class=\"job-tag\">
  309.                                 <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><circle cx=\"12\" cy=\"12\" r=\"10\"/><path d=\"M12 6v6l4 2\"/></svg>
  310.                                 ";
  311.             // line 174
  312.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["job"]) || array_key_exists("job"$context) ? $context["job"] : (function () { throw new RuntimeError('Variable "job" does not exist.'174$this->source); })()), "employmentType", [], "any"falsefalsefalse174), "html"nulltrue);
  313.             yield "
  314.                             </span>
  315.                         ";
  316.         }
  317.         // line 177
  318.         yield "                        ";
  319.         if ((($tmp =  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["job"]) || array_key_exists("job"$context) ? $context["job"] : (function () { throw new RuntimeError('Variable "job" does not exist.'177$this->source); })()), "city", [], "any"falsefalsefalse177))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  320.             // line 178
  321.             yield "                            <span class=\"job-tag\">
  322.                                 <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><path d=\"M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0118 0z\"/><circle cx=\"12\" cy=\"10\" r=\"3\"/></svg>
  323.                                 ";
  324.             // line 180
  325.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["job"]) || array_key_exists("job"$context) ? $context["job"] : (function () { throw new RuntimeError('Variable "job" does not exist.'180$this->source); })()), "city", [], "any"falsefalsefalse180), "html"nulltrue);
  326.             if ((($tmp =  !(null === CoreExtension::getAttribute($this->env$this->source, (isset($context["job"]) || array_key_exists("job"$context) ? $context["job"] : (function () { throw new RuntimeError('Variable "job" does not exist.'180$this->source); })()), "country", [], "any"falsefalsefalse180))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  327.                 yield ", ";
  328.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["job"]) || array_key_exists("job"$context) ? $context["job"] : (function () { throw new RuntimeError('Variable "job" does not exist.'180$this->source); })()), "country", [], "any"falsefalsefalse180), "html"nulltrue);
  329.             }
  330.             // line 181
  331.             yield "                            </span>
  332.                         ";
  333.         }
  334.         // line 183
  335.         yield "                        ";
  336.         if ((($tmp =  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["job"]) || array_key_exists("job"$context) ? $context["job"] : (function () { throw new RuntimeError('Variable "job" does not exist.'183$this->source); })()), "remoteWork", [], "any"falsefalsefalse183))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  337.             // line 184
  338.             yield "                            <span class=\"job-tag\">
  339.                                 <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><rect x=\"2\" y=\"3\" width=\"20\" height=\"14\" rx=\"2\"/><path d=\"M8 21h8M12 17v4\"/></svg>
  340.                                 ";
  341.             // line 186
  342.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["job"]) || array_key_exists("job"$context) ? $context["job"] : (function () { throw new RuntimeError('Variable "job" does not exist.'186$this->source); })()), "remoteWork", [], "any"falsefalsefalse186), "html"nulltrue);
  343.             yield "
  344.                             </span>
  345.                         ";
  346.         }
  347.         // line 189
  348.         yield "                        ";
  349.         if ((($tmp =  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["job"]) || array_key_exists("job"$context) ? $context["job"] : (function () { throw new RuntimeError('Variable "job" does not exist.'189$this->source); })()), "experienceLevel", [], "any"falsefalsefalse189))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  350.             // line 190
  351.             yield "                            <span class=\"job-tag\">
  352.                                 <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><path d=\"M22 11.08V12a10 10 0 11-5.93-9.14\"/><path d=\"M22 4L12 14.01l-3-3\"/></svg>
  353.                                 +";
  354.             // line 192
  355.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["job"]) || array_key_exists("job"$context) ? $context["job"] : (function () { throw new RuntimeError('Variable "job" does not exist.'192$this->source); })()), "experienceLevel", [], "any"falsefalsefalse192), "html"nulltrue);
  356.             yield " years experience
  357.                             </span>
  358.                         ";
  359.         }
  360.         // line 195
  361.         yield "                        ";
  362.         if ((($tmp =  !(null === CoreExtension::getAttribute($this->env$this->source, (isset($context["job"]) || array_key_exists("job"$context) ? $context["job"] : (function () { throw new RuntimeError('Variable "job" does not exist.'195$this->source); })()), "salaryPeriod", [], "any"falsefalsefalse195))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  363.             // line 196
  364.             yield "                            <span class=\"job-tag job-tag-salary\">
  365.                                 <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><line x1=\"12\" y1=\"1\" x2=\"12\" y2=\"23\"/><path d=\"M17 5H9.5a3.5 3.5 0 000 7h5a3.5 3.5 0 010 7H6\"/></svg>
  366.                                 ";
  367.             // line 198
  368.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["job"]) || array_key_exists("job"$context) ? $context["job"] : (function () { throw new RuntimeError('Variable "job" does not exist.'198$this->source); })()), "salaryMin", [], "any"falsefalsefalse198), "html"nulltrue);
  369.             yield " – ";
  370.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["job"]) || array_key_exists("job"$context) ? $context["job"] : (function () { throw new RuntimeError('Variable "job" does not exist.'198$this->source); })()), "salaryMax", [], "any"falsefalsefalse198), "html"nulltrue);
  371.             yield " ";
  372.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["job"]) || array_key_exists("job"$context) ? $context["job"] : (function () { throw new RuntimeError('Variable "job" does not exist.'198$this->source); })()), "devise", [], "any"falsefalsefalse198), "html"nulltrue);
  373.             yield "/";
  374.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["job"]) || array_key_exists("job"$context) ? $context["job"] : (function () { throw new RuntimeError('Variable "job" does not exist.'198$this->source); })()), "salaryPeriod", [], "any"falsefalsefalse198), "html"nulltrue);
  375.             yield "
  376.                             </span>
  377.                         ";
  378.         }
  379.         // line 201
  380.         yield "                        ";
  381.         if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["job"]) || array_key_exists("job"$context) ? $context["job"] : (function () { throw new RuntimeError('Variable "job" does not exist.'201$this->source); })()), "verification", [], "any"falsefalsefalse201) == 0)) {
  382.             // line 202
  383.             yield "                            <span class=\"job-tag job-tag-external\">
  384.                                 ⚡ Indexed listing — external source
  385.                             </span>
  386.                         ";
  387.         }
  388.         // line 206
  389.         yield "                    </div>
  390.                     ";
  391.         // line 209
  392.         yield "                    <div class=\"job-body-card\">
  393.                         ";
  394.         // line 212
  395.         yield "                        ";
  396.         if ((($tmp =  !(null === CoreExtension::getAttribute($this->env$this->source, (isset($context["job"]) || array_key_exists("job"$context) ? $context["job"] : (function () { throw new RuntimeError('Variable "job" does not exist.'212$this->source); })()), "jobSummary", [], "any"falsefalsefalse212))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  397.             // line 213
  398.             yield "                            <div class=\"job-section-title\">Job overview</div>
  399.                             <p class=\"job-section-text\">";
  400.             // line 214
  401.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["job"]) || array_key_exists("job"$context) ? $context["job"] : (function () { throw new RuntimeError('Variable "job" does not exist.'214$this->source); })()), "jobSummary", [], "any"falsefalsefalse214), "html"nulltrue);
  402.             yield "</p>
  403.                         ";
  404.         }
  405.         // line 216
  406.         yield "
  407.                         ";
  408.         // line 217
  409.         if ((null === 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.'217$this->source); })()), "user", [], "any"falsefalsefalse217))) {
  410.             // line 218
  411.             yield "                            <hr class=\"job-section-divider\">
  412.                             <div class=\"job-section-title\">Responsibilities</div>
  413.                             <p class=\"job-section-text\">Find here the full details of the responsibilities for this role: daily tasks, projects to lead, goals to achieve and scope of work within the team. Everything you need to picture yourself in the role and know exactly what to expect from day one.</p>
  414.                             <hr class=\"job-section-divider\">
  415.                             <div class=\"job-section-title\">Required profile</div>
  416.                             <p class=\"job-section-text\">Access the technical and interpersonal skills expected by the recruiter, the required experience level, valued qualifications and personal qualities sought. Check at a glance whether your profile matches this opportunity before applying.</p>
  417.                             <hr class=\"job-section-divider\">
  418.                             <div class=\"job-section-title\">Benefits</div>
  419.                             <p class=\"job-section-text\">Discover what the company offers its employees: remote work policy, health coverage, bonuses, continuous training, work environment and growth opportunities. All the information you need to compare this offer with your expectations and make the right choice.</p>
  420.                         ";
  421.         }
  422.         // line 231
  423.         yield "
  424.                         ";
  425.         // line 232
  426.         if ((($tmp =  !(null === 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.'232$this->source); })()), "user", [], "any"falsefalsefalse232))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  427.             // line 233
  428.             yield "                            ";
  429.             // line 234
  430.             yield "
  431.                             ";
  432.             // line 235
  433.             if ((($tmp =  !(null === CoreExtension::getAttribute($this->env$this->source, (isset($context["job"]) || array_key_exists("job"$context) ? $context["job"] : (function () { throw new RuntimeError('Variable "job" does not exist.'235$this->source); })()), "keyResponsabilities", [], "any"falsefalsefalse235))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  434.                 // line 236
  435.                 yield "                                <hr class=\"job-section-divider\">
  436.                                 <div class=\"job-section-title\">Responsibilities</div>
  437.                                 <p class=\"job-section-text\">";
  438.                 // line 238
  439.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["job"]) || array_key_exists("job"$context) ? $context["job"] : (function () { throw new RuntimeError('Variable "job" does not exist.'238$this->source); })()), "keyResponsabilities", [], "any"falsefalsefalse238), "html"nulltrue);
  440.                 yield "</p>
  441.                             ";
  442.             }
  443.             // line 240
  444.             yield "
  445.                             ";
  446.             // line 241
  447.             if ((($tmp =  !(null === CoreExtension::getAttribute($this->env$this->source, (isset($context["job"]) || array_key_exists("job"$context) ? $context["job"] : (function () { throw new RuntimeError('Variable "job" does not exist.'241$this->source); })()), "requirements", [], "any"falsefalsefalse241))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  448.                 // line 242
  449.                 yield "                                <hr class=\"job-section-divider\">
  450.                                 <div class=\"job-section-title\">Required profile</div>
  451.                                 <p class=\"job-section-text\">";
  452.                 // line 244
  453.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["job"]) || array_key_exists("job"$context) ? $context["job"] : (function () { throw new RuntimeError('Variable "job" does not exist.'244$this->source); })()), "requirements", [], "any"falsefalsefalse244), "html"nulltrue);
  454.                 yield "</p>
  455.                             ";
  456.             }
  457.             // line 246
  458.             yield "
  459.                             ";
  460.             // line 247
  461.             if ((($tmp =  !(null === CoreExtension::getAttribute($this->env$this->source, (isset($context["job"]) || array_key_exists("job"$context) ? $context["job"] : (function () { throw new RuntimeError('Variable "job" does not exist.'247$this->source); })()), "benefits", [], "any"falsefalsefalse247))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  462.                 // line 248
  463.                 yield "                                <hr class=\"job-section-divider\">
  464.                                 <div class=\"job-section-title\">Benefits</div>
  465.                                 <p class=\"job-section-text\">";
  466.                 // line 250
  467.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["job"]) || array_key_exists("job"$context) ? $context["job"] : (function () { throw new RuntimeError('Variable "job" does not exist.'250$this->source); })()), "benefits", [], "any"falsefalsefalse250), "html"nulltrue);
  468.                 yield "</p>
  469.                             ";
  470.             }
  471.             // line 252
  472.             yield "
  473.                             ";
  474.             // line 254
  475.             yield "                            <div class=\"job-cta-bar\">
  476.                                 ";
  477.             // line 256
  478.             if ((($tmp =  !(null === CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'256$this->source); })()), "user", [], "any"falsefalsefalse256), "candidate", [], "any"falsefalsefalse256))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  479.                 // line 257
  480.                 yield "                                    <a href=\"";
  481.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("cvs_application_job_like", ["slug" => CoreExtension::getAttribute($this->env$this->source, (isset($context["job"]) || array_key_exists("job"$context) ? $context["job"] : (function () { throw new RuntimeError('Variable "job" does not exist.'257$this->source); })()), "slug", [], "any"falsefalsefalse257)]), "html"nulltrue);
  482.                 yield "\" class=\"job-cta-main active\">
  483.                                         <svg width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"currentColor\" stroke=\"none\"><path d=\"M20.84 4.61a5.5 5.5 0 00-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 00-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 000-7.78z\"/></svg>
  484.                                         I'm interested
  485.                                     </a>
  486.                                 ";
  487.             }
  488.             // line 262
  489.             yield "
  490.                                 ";
  491.             // line 263
  492.             if (((CoreExtension::getAttribute($this->env$this->source, (isset($context["job"]) || array_key_exists("job"$context) ? $context["job"] : (function () { throw new RuntimeError('Variable "job" does not exist.'263$this->source); })()), "websearch", [], "any"falsefalsefalse263) == 1) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["job"]) || array_key_exists("job"$context) ? $context["job"] : (function () { throw new RuntimeError('Variable "job" does not exist.'263$this->source); })()), "website", [], "any"falsefalsefalse263)))) {
  493.                 // line 264
  494.                 yield "                                    <a href=\"";
  495.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["job"]) || array_key_exists("job"$context) ? $context["job"] : (function () { throw new RuntimeError('Variable "job" does not exist.'264$this->source); })()), "website", [], "any"falsefalsefalse264), "html"nulltrue);
  496.                 yield "\" target=\"_blank\" class=\"job-cta-main active\">
  497.                                         <svg width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><path d=\"M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6\"/><polyline points=\"15 3 21 3 21 9\"/><line x1=\"10\" y1=\"14\" x2=\"21\" y2=\"3\"/></svg>
  498.                                         Apply
  499.                                     </a>
  500.                                 ";
  501.             }
  502.             // line 269
  503.             yield "
  504.                                 ";
  505.             // line 270
  506.             if ((($tmp =  !(null === CoreExtension::getAttribute($this->env$this->source, (isset($context["job"]) || array_key_exists("job"$context) ? $context["job"] : (function () { throw new RuntimeError('Variable "job" does not exist.'270$this->source); })()), "enterprise", [], "any"falsefalsefalse270))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  507.                 // line 271
  508.                 yield "                                    <a href=\"";
  509.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("cvs_application_company_show", ["slug" => CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["job"]) || array_key_exists("job"$context) ? $context["job"] : (function () { throw new RuntimeError('Variable "job" does not exist.'271$this->source); })()), "enterprise", [], "any"falsefalsefalse271), "slug", [], "any"falsefalsefalse271)]), "html"nulltrue);
  510.                 yield "\" class=\"job-cta-company\">
  511.                                         <svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><rect x=\"2\" y=\"7\" width=\"20\" height=\"14\" rx=\"2\"/><path d=\"M16 7V5a4 4 0 00-8 0v2\"/></svg>
  512.                                         View other listings
  513.                                     </a>
  514.                                 ";
  515.             }
  516.             // line 276
  517.             yield "                            </div>
  518.                         ";
  519.         } else {
  520.             // line 279
  521.             yield "                            ";
  522.             // line 280
  523.             yield "
  524.                             ";
  525.             // line 282
  526.             yield "                            <div class=\"job-locked-overlay\">
  527.                                 <div class=\"job-locked-blur\">
  528.                                     <hr class=\"job-section-divider\">
  529.                                     <div class=\"job-section-title\">Responsibilities</div>
  530.                                     <p class=\"job-section-text\">Discover the main responsibilities of this role, daily tasks and projects you will be working on within the team...</p>
  531.                                     <hr class=\"job-section-divider\">
  532.                                     <div class=\"job-section-title\">Required profile</div>
  533.                                     <p class=\"job-section-text\">Technical and soft skills required, expected experience level, valued qualifications and certifications for this role...</p>
  534.                                     <hr class=\"job-section-divider\">
  535.                                     <div class=\"job-section-title\">Benefits</div>
  536.                                     <p class=\"job-section-text\">Remote work, health insurance, meal vouchers, continuous training, work environment and career growth within the company...</p>
  537.                                 </div>
  538.                                 <div class=\"job-locked-cta\">
  539.                                     <div style=\"font-size:32px;\">🔓</div>
  540.                                     <div class=\"job-locked-title\">Unlock the full listing</div>
  541.                                     <div class=\"job-locked-text\">Create your profile in 2 minutes to access responsibilities, benefits and apply directly</div>
  542.                                     <a href=\"";
  543.             // line 298
  544.             yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_register");
  545.             yield "\" class=\"job-locked-btn\">
  546.                                         Create my profile for free
  547.                                         <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M7 17l9.2-9.2M17 17V7H7\"/></svg>
  548.                                     </a>
  549.                                     <div class=\"job-locked-login\">Already registered? <a href=\"";
  550.             // line 302
  551.             yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
  552.             yield "\">Log in</a></div>
  553.                                 </div>
  554.                             </div>
  555.                         ";
  556.         }
  557.         // line 307
  558.         yield "
  559.                     </div>
  560.                 </div>
  561.             </div>
  562.         </div>
  563.     </div>
  564.     ";
  565.         // line 318
  566.         if ((($tmp =  !(null === (isset($context["othersJobs"]) || array_key_exists("othersJobs"$context) ? $context["othersJobs"] : (function () { throw new RuntimeError('Variable "othersJobs" does not exist.'318$this->source); })()))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  567.             // line 319
  568.             yield "        <div id=\"openings\" class=\"career-openings section panel overflow-hidden pb-6 xl:pb-9\">
  569.             <div class=\"section-outer panel py-6 xl:py-9 bg-secondary dark:bg-gray-800\">
  570.                 <div class=\"container max-w-lg\">
  571.                     <div class=\"section-inner panel\">
  572.                         <div class=\"panel vstack justify-center gap-4 sm:gap-6 xl:gap-8\">
  573.                             <h2 class=\"h4 sm:h2 m-0 text-center\" data-anime=\"onview: -100; translateY: [48, 0]; opacity: [0, 1]; easing: spring(1, 80, 10, 0); duration: 450; delay: 100;\">
  574.                                 Job openings at ";
  575.             // line 326
  576.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::capitalize($this->env->getCharset(), Twig\Extension\CoreExtension::lower($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["job"]) || array_key_exists("job"$context) ? $context["job"] : (function () { throw new RuntimeError('Variable "job" does not exist.'326$this->source); })()), "enterprise", [], "any"falsefalsefalse326), "companyName", [], "any"falsefalsefalse326))), "html"nulltrue);
  577.             yield "
  578.                             </h2>
  579.                             <div class=\"panel\">
  580.                                 <div class=\"panel\">
  581.                                     <div class=\"row child-cols-12 sm:child-cols-6 col-match g-2 sm:g-3 uc-grid\">
  582.                                         ";
  583.             // line 333
  584.             $context['_parent'] = $context;
  585.             $context['_seq'] = CoreExtension::ensureTraversable((isset($context["othersJobs"]) || array_key_exists("othersJobs"$context) ? $context["othersJobs"] : (function () { throw new RuntimeError('Variable "othersJobs" does not exist.'333$this->source); })()));
  586.             foreach ($context['_seq'] as $context["_key"] => $context["oj"]) {
  587.                 // line 334
  588.                 yield "                                            <div class=\"panel\">
  589.                                                 <div class=\"panel vstack justify-end items-end gap-1 p-3 rounded lg:rounded-2 bg-white dark:bg-gray-800\">
  590.                                                     <div class=\"vstack gap-narrow\">
  591.                                                         <h5 class=\"h6 lg:h5 m-0\">";
  592.                 // line 337
  593.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["oj"], "jobTitle", [], "any"falsefalsefalse337), "html"nulltrue);
  594.                 yield "</h5>
  595.                                                         <span class=\"fs-6 text-dark dark:text-white text-opacity-70\">";
  596.                 // line 338
  597.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["oj"], "city", [], "any"falsefalsefalse338), "html"nulltrue);
  598.                 yield "</span>
  599.                                                     </div>
  600.                                                     <a href=\"";
  601.                 // line 340
  602.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("cvs_application_job_show", ["slug" => CoreExtension::getAttribute($this->env$this->source$context["oj"], "slug", [], "any"falsefalsefalse340)]), "html"nulltrue);
  603.                 yield "\" class=\"uc-link fs-7 fw-bold d-inline-flex items-center gap-narrow border-bottom pb-narrow\">
  604.                                                         <span>Apply</span>
  605.                                                         <i class=\"icon icon-narrow unicon-arrow-up-right fw-bold rtl:-rotate-90\"></i>
  606.                                                     </a>
  607.                                                 </div>
  608.                                             </div>
  609.                                         ";
  610.             }
  611.             $_parent $context['_parent'];
  612.             unset($context['_seq'], $context['_key'], $context['oj'], $context['_parent']);
  613.             $context array_intersect_key($context$_parent) + $_parent;
  614.             // line 348
  615.             yield "                                    </div>
  616.                                 </div>
  617.                             </div>
  618.                         </div>
  619.                     </div>
  620.                 </div>
  621.             </div>
  622.         </div>
  623.     ";
  624.         }
  625.         // line 358
  626.         yield "
  627.     ";
  628.         // line 360
  629.         if ((array_key_exists("similarJobs"$context) &&  !Twig\Extension\CoreExtension::testEmpty((isset($context["similarJobs"]) || array_key_exists("similarJobs"$context) ? $context["similarJobs"] : (function () { throw new RuntimeError('Variable "similarJobs" does not exist.'360$this->source); })())))) {
  630.             // line 361
  631.             yield "        <div id=\"similar_jobs\" class=\"similar-jobs section panel overflow-hidden pb-6 xl:pb-9\">
  632.             <div class=\"section-outer panel py-6 xl:py-9\">
  633.                 <div class=\"container max-w-lg\">
  634.                     <div class=\"section-inner panel\">
  635.                         <div class=\"panel vstack justify-center gap-4 sm:gap-6 xl:gap-8\">
  636.                             <div class=\"vstack items-center text-center gap-1\">
  637.                                 <h2 class=\"h4 sm:h2 m-0\">Similar jobs</h2>
  638.                             </div>
  639.                             <div class=\"panel\">
  640.                                 <div class=\"row child-cols-12 sm:child-cols-6 lg:child-cols-4 col-match g-2 sm:g-3\">
  641.                                     ";
  642.             // line 373
  643.             $context['_parent'] = $context;
  644.             $context['_seq'] = CoreExtension::ensureTraversable((isset($context["similarJobs"]) || array_key_exists("similarJobs"$context) ? $context["similarJobs"] : (function () { throw new RuntimeError('Variable "similarJobs" does not exist.'373$this->source); })()));
  645.             foreach ($context['_seq'] as $context["_key"] => $context["sj"]) {
  646.                 // line 374
  647.                 yield "                                        <div class=\"panel\">
  648.                                             <a href=\"";
  649.                 // line 375
  650.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("cvs_application_job_show", ["slug" => CoreExtension::getAttribute($this->env$this->source$context["sj"], "slug", [], "any"falsefalsefalse375)]), "html"nulltrue);
  651.                 yield "\" class=\"panel vstack gap-2 p-3 rounded-2 bg-white dark:bg-gray-800 h-100\" style=\"box-shadow: 0 2px 12px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04); border: 1px solid rgba(0,0,0,0.06); text-decoration: none; color: inherit; transition: box-shadow 0.2s ease, transform 0.2s ease;\" onmouseover=\"this.style.boxShadow='0 8px 32px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.06)'; this.style.transform='translateY(-2px)';\" onmouseout=\"this.style.boxShadow='0 2px 12px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04)'; this.style.transform='translateY(0)';\">
  652.                                                 ";
  653.                 // line 378
  654.                 yield "                                                ";
  655.                 if ((($tmp =  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source$context["sj"], "companyName", [], "any"falsefalsefalse378))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  656.                     // line 379
  657.                     yield "                                                    <div class=\"hstack gap-1 items-center\">
  658.                                                         <div class=\"cstack w-32px h-32px rounded-1 bg-secondary\" style=\"min-width: 32px;\">
  659.                                                             <i class=\"icon-narrow unicon-portfolio text-primary\" style=\"font-size: 14px;\"></i>
  660.                                                         </div>
  661.                                                         <span class=\"fs-7 fw-bold text-dark text-opacity-50\" style=\"overflow: hidden; text-overflow: ellipsis; white-space: nowrap;\">";
  662.                     // line 383
  663.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["sj"], "companyName", [], "any"falsefalsefalse383), "html"nulltrue);
  664.                     yield "</span>
  665.                                                     </div>
  666.                                                 ";
  667.                 }
  668.                 // line 386
  669.                 yield "
  670.                                                 ";
  671.                 // line 388
  672.                 yield "                                                <h5 class=\"h6 lg:h5 m-0\" style=\"line-height: 1.4;\">";
  673.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["sj"], "jobTitle", [], "any"falsefalsefalse388), "html"nulltrue);
  674.                 yield "</h5>
  675.                                                 ";
  676.                 // line 391
  677.                 yield "                                                <div class=\"vstack gap-narrow mt-auto\">
  678.                                                     ";
  679.                 // line 392
  680.                 if ((($tmp =  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source$context["sj"], "city", [], "any"falsefalsefalse392))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  681.                     // line 393
  682.                     yield "                                                        <div class=\"hstack gap-narrow items-center fs-7 text-dark text-opacity-60\">
  683.                                                             <i class=\"icon-narrow unicon-location\" style=\"font-size: 12px;\"></i>
  684.                                                             <span>";
  685.                     // line 395
  686.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["sj"], "city", [], "any"falsefalsefalse395), "html"nulltrue);
  687.                     if ((($tmp =  !(null === CoreExtension::getAttribute($this->env$this->source$context["sj"], "country", [], "any"falsefalsefalse395))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  688.                         yield ", ";
  689.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["sj"], "country", [], "any"falsefalsefalse395), "html"nulltrue);
  690.                     }
  691.                     yield "</span>
  692.                                                         </div>
  693.                                                     ";
  694.                 }
  695.                 // line 398
  696.                 yield "                                                    ";
  697.                 if ((($tmp =  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source$context["sj"], "employmentType", [], "any"falsefalsefalse398))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  698.                     // line 399
  699.                     yield "                                                        <div class=\"hstack gap-narrow items-center fs-7 text-dark text-opacity-60\">
  700.                                                             <i class=\"icon-narrow unicon-portfolio\" style=\"font-size: 12px;\"></i>
  701.                                                             <span>";
  702.                     // line 401
  703.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["sj"], "employmentType", [], "any"falsefalsefalse401), "html"nulltrue);
  704.                     yield "</span>
  705.                                                         </div>
  706.                                                     ";
  707.                 }
  708.                 // line 404
  709.                 yield "                                                    ";
  710.                 if ((($tmp =  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source$context["sj"], "remoteWork", [], "any"falsefalsefalse404))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  711.                     // line 405
  712.                     yield "                                                        <div class=\"hstack gap-narrow items-center fs-7 text-dark text-opacity-60\">
  713.                                                             <i class=\"icon-narrow unicon-laptop\" style=\"font-size: 12px;\"></i>
  714.                                                             <span>";
  715.                     // line 407
  716.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["sj"], "remoteWork", [], "any"falsefalsefalse407), "html"nulltrue);
  717.                     yield "</span>
  718.                                                         </div>
  719.                                                     ";
  720.                 }
  721.                 // line 410
  722.                 yield "                                                </div>
  723.                                                 ";
  724.                 // line 413
  725.                 yield "                                                ";
  726.                 if ((($tmp =  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source$context["sj"], "category", [], "any"falsefalsefalse413))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  727.                     // line 414
  728.                     yield "                                                    <div class=\"hstack gap-narrow flex-wrap mt-1\">
  729.                                                         <span class=\"px-1 py-narrow fs-8 fw-bold rounded bg-secondary text-primary\" style=\"white-space: nowrap;\">";
  730.                     // line 415
  731.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["sj"], "category", [], "any"falsefalsefalse415), "html"nulltrue);
  732.                     yield "</span>
  733.                                                     </div>
  734.                                                 ";
  735.                 }
  736.                 // line 418
  737.                 yield "
  738.                                                 ";
  739.                 // line 420
  740.                 yield "                                                <div class=\"hstack items-center gap-narrow mt-1 fs-7 fw-bold text-primary\">
  741.                                                     <span>View listing</span>
  742.                                                     <i class=\"icon icon-narrow unicon-arrow-up-right fw-bold\" style=\"font-size: 12px;\"></i>
  743.                                                 </div>
  744.                                             </a>
  745.                                         </div>
  746.                                     ";
  747.             }
  748.             $_parent $context['_parent'];
  749.             unset($context['_seq'], $context['_key'], $context['sj'], $context['_parent']);
  750.             $context array_intersect_key($context$_parent) + $_parent;
  751.             // line 428
  752.             yield "                                </div>
  753.                             </div>
  754.                         </div>
  755.                     </div>
  756.                 </div>
  757.             </div>
  758.         </div>
  759.     ";
  760.         }
  761.         // line 437
  762.         yield "
  763. ";
  764.         
  765.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  766.         
  767.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  768.         yield from [];
  769.     }
  770.     // line 442
  771.     /**
  772.      * @return iterable<null|scalar|\Stringable>
  773.      */
  774.     public function block_footerjs(array $context, array $blocks = []): iterable
  775.     {
  776.         $macros $this->macros;
  777.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  778.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footerjs"));
  779.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  780.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footerjs"));
  781.         // line 443
  782.         yield "    <script>
  783.         (function(){
  784.             var JOB_BASE_URL = '/job/';
  785.     var SEARCH_API = '";
  786.         // line 447
  787.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("api_jobs_search");
  788.         yield "';
  789.     var palette = [
  790.         {bg:'#EDE9FE',color:'#7C3AED'},{bg:'#DBEAFE',color:'#2563EB'},
  791.         {bg:'#D1FAE5',color:'#059669'},{bg:'#FEF3C7',color:'#D97706'},
  792.         {bg:'#FCE7F3',color:'#DB2777'},{bg:'#FEE2E2',color:'#DC2626'},
  793.         {bg:'#E0E7FF',color:'#4338CA'},{bg:'#CCFBF1',color:'#0D9488'}
  794.     ];
  795.     function getColor(name){
  796.         var h=0;for(var i=0;i<name.length;i++) h=name.charCodeAt(i)+((h<<5)-h);
  797.         return palette[Math.abs(h)%palette.length];
  798.     }
  799.     var searchInput = document.getElementById('wrSearchInput');
  800.     var searchBtn = document.getElementById('wrSearchBtn');
  801.     var searchResults = document.getElementById('wrSearchResults');
  802.     var searchClose = document.getElementById('wrSearchClose');
  803.     var jobsList = document.getElementById('wrJobsList');
  804.     var loading = document.getElementById('wrLoading');
  805.     var emptyState = document.getElementById('wrEmptyState');
  806.     var loadMoreWrap = document.getElementById('wrLoadMore');
  807.     var loadMoreBtn = document.getElementById('wrLoadMoreBtn');
  808.     var resultsCount = document.getElementById('wrResultsCount');
  809.     var totalCountEl = document.getElementById('wrTotalCount');
  810.     var currentQuery = '';
  811.     var currentOffset = 0;
  812.     var LIMIT = 10;
  813.     var isLoading = false;
  814.     var debounceTimer;
  815.     function renderJob(job){
  816.         var col = getColor(job.companyName);
  817.         var logoHtml;
  818.         if(job.image){
  819.             logoHtml = '<div class=\"wr-result-logo\"><img src=\"'+job.image+'\" alt=\"'+job.companyName+'\"></div>';
  820.         } else {
  821.             logoHtml = '<div class=\"wr-result-logo\" style=\"background:'+col.bg+';color:'+col.color+';\">'+(job.logo || job.companyName.charAt(0).toUpperCase())+'</div>';
  822.         }
  823.         var badgeHtml = '';
  824.         if(job.isNew) badgeHtml = '<span class=\"wr-result-badge wr-badge-new\">Nouveau</span>';
  825.         var salaryHtml = job.salary ? '<span class=\"wr-result-salary\">'+job.salary+'</span>' : '';
  826.         var remoteHtml = '';
  827.         if(job.remoteWork && job.remoteWork !== '' && job.remoteWork !== 'no'){
  828.             var remoteLabel = job.remoteWork === 'full' ? 'Full remote' : (job.remoteWork === 'hybrid' ? 'Hybrid' : job.remoteWork);
  829.             remoteHtml = '<span>·</span><span>'+remoteLabel+'</span>';
  830.         }
  831.         var div = document.createElement('a');
  832.         div.className = 'wr-result-item';
  833.         div.href = JOB_BASE_URL + job.slug;
  834.         div.innerHTML = logoHtml +
  835.             '<div class=\"wr-result-info\">' +
  836.             '<div class=\"wr-result-title\">' + job.jobTitle + '</div>' +
  837.             '<div class=\"wr-result-meta\">' +
  838.             '<span class=\"wr-result-company\">' + job.companyName + '</span>' +
  839.             (job.city ? '<span>·</span><span>' + job.city + '</span>' : '') +
  840.             '<span>·</span><span>' + (job.employmentType || '') + '</span>' +
  841.             remoteHtml +
  842.             badgeHtml +
  843.             '</div>' +
  844.             '</div>' +
  845.             '<div class=\"wr-result-actions\">' + salaryHtml + '</div>';
  846.         return div;
  847.     }
  848.     function fetchJobs(query, offset, append){
  849.         if(isLoading) return;
  850.         if(query.length < 2) return;
  851.         isLoading = true;
  852.         if(!append){
  853.             jobsList.innerHTML = '';
  854.             loadMoreWrap.style.display = 'none';
  855.             resultsCount.style.display = 'none';
  856.         }
  857.         searchResults.classList.add('visible');
  858.         loading.style.display = 'block';
  859.         emptyState.style.display = 'none';
  860.         var url = SEARCH_API + '?q=' + encodeURIComponent(query) + '&offset=' + offset + '&limit=' + LIMIT;
  861.         fetch(url, {credentials:'same-origin'})
  862.             .then(function(r){ return r.json(); })
  863.             .then(function(data){
  864.                 loading.style.display = 'none';
  865.                 isLoading = false;
  866.                 if(data.total === 0){
  867.                     emptyState.style.display = 'block';
  868.                     return;
  869.                 }
  870.                 data.jobs.forEach(function(job, i){
  871.                     var el = renderJob(job);
  872.                     jobsList.appendChild(el);
  873.                     setTimeout(function(){ el.classList.add('show'); }, 50 + i * 60);
  874.                 });
  875.                 totalCountEl.textContent = data.total;
  876.                 resultsCount.style.display = 'block';
  877.                 if(data.hasMore){
  878.                     loadMoreWrap.style.display = 'flex';
  879.                 } else {
  880.                     loadMoreWrap.style.display = 'none';
  881.                 }
  882.                 currentOffset = offset + data.jobs.length;
  883.             })
  884.             .catch(function(err){
  885.                 console.error('Search error:', err);
  886.                 loading.style.display = 'none';
  887.                 isLoading = false;
  888.             });
  889.     }
  890.     searchClose.addEventListener('click', function(){
  891.         searchResults.classList.remove('visible');
  892.         jobsList.innerHTML = '';
  893.         searchInput.value = '';
  894.         loadMoreWrap.style.display = 'none';
  895.         resultsCount.style.display = 'none';
  896.         emptyState.style.display = 'none';
  897.     });
  898.     searchInput.addEventListener('input', function(){
  899.         clearTimeout(debounceTimer);
  900.         var q = searchInput.value.trim();
  901.         if(q.length < 2){
  902.             searchResults.classList.remove('visible');
  903.             jobsList.innerHTML = '';
  904.             return;
  905.         }
  906.         debounceTimer = setTimeout(function(){
  907.             currentQuery = q;
  908.             currentOffset = 0;
  909.             fetchJobs(currentQuery, 0, false);
  910.         }, 350);
  911.     });
  912.     searchBtn.addEventListener('click', function(e){
  913.         e.preventDefault();
  914.         clearTimeout(debounceTimer);
  915.         currentQuery = searchInput.value.trim();
  916.         currentOffset = 0;
  917.         fetchJobs(currentQuery, 0, false);
  918.     });
  919.     searchInput.addEventListener('keydown', function(e){
  920.         if(e.key === 'Enter'){
  921.             e.preventDefault();
  922.             clearTimeout(debounceTimer);
  923.             currentQuery = searchInput.value.trim();
  924.             currentOffset = 0;
  925.             fetchJobs(currentQuery, 0, false);
  926.         }
  927.     });
  928.     loadMoreBtn.addEventListener('click', function(){
  929.         fetchJobs(currentQuery, currentOffset, true);
  930.     });
  931. })();
  932.     </script>
  933. ";
  934.         
  935.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  936.         
  937.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  938.         yield from [];
  939.     }
  940.     /**
  941.      * @codeCoverageIgnore
  942.      */
  943.     public function getTemplateName(): string
  944.     {
  945.         return "application/whileresume/application/jobs/show_en.html.twig";
  946.     }
  947.     /**
  948.      * @codeCoverageIgnore
  949.      */
  950.     public function isTraitable(): bool
  951.     {
  952.         return false;
  953.     }
  954.     /**
  955.      * @codeCoverageIgnore
  956.      */
  957.     public function getDebugInfo(): array
  958.     {
  959.         return array (  861 => 447,  855 => 443,  842 => 442,  828 => 437,  817 => 428,  804 => 420,  801 => 418,  795 => 415,  792 => 414,  789 => 413,  785 => 410,  779 => 407,  775 => 405,  772 => 404,  766 => 401,  762 => 399,  759 => 398,  749 => 395,  745 => 393,  743 => 392,  740 => 391,  734 => 388,  731 => 386,  725 => 383,  719 => 379,  716 => 378,  711 => 375,  708 => 374,  704 => 373,  690 => 361,  688 => 360,  684 => 358,  672 => 348,  658 => 340,  653 => 338,  649 => 337,  644 => 334,  640 => 333,  630 => 326,  621 => 319,  619 => 318,  606 => 307,  598 => 302,  591 => 298,  573 => 282,  570 => 280,  568 => 279,  563 => 276,  554 => 271,  552 => 270,  549 => 269,  540 => 264,  538 => 263,  535 => 262,  526 => 257,  524 => 256,  520 => 254,  517 => 252,  512 => 250,  508 => 248,  506 => 247,  503 => 246,  498 => 244,  494 => 242,  492 => 241,  489 => 240,  484 => 238,  480 => 236,  478 => 235,  475 => 234,  473 => 233,  471 => 232,  468 => 231,  453 => 218,  451 => 217,  448 => 216,  443 => 214,  440 => 213,  437 => 212,  433 => 209,  429 => 206,  423 => 202,  420 => 201,  408 => 198,  404 => 196,  401 => 195,  395 => 192,  391 => 190,  388 => 189,  382 => 186,  378 => 184,  375 => 183,  371 => 181,  365 => 180,  361 => 178,  358 => 177,  352 => 174,  348 => 172,  345 => 171,  339 => 168,  335 => 166,  333 => 165,  330 => 164,  323 => 158,  273 => 108,  269 => 107,  249 => 89,  236 => 88,  196 => 57,  150 => 12,  137 => 11,  114 => 5,  91 => 4,  68 => 3,  45 => 1,);
  960.     }
  961.     public function getSourceContext(): Source
  962.     {
  963.         return new Source("{% extends 'vitrine/lexend/layout.html.twig' %}
  964. {% block title %}{{ job.shortTitle }}{% endblock title %}
  965. {% block description %}{{ job.shortDescription }}{% endblock description %}
  966. {% block robots %}index,follow{% endblock robots %}
  967. {#% block meta_social %}{{ parent() }}{% include \"/vitrine/components/socialmedia.html.twig\" with { 'page':page,'social_type':'website' } %}{% endblock meta_social %}
  968. {% block meta %}{{ parent() }}{% include \"/vitrine/components/author.html.twig\" with {'page':page } %}{% endblock meta %#}
  969. {#% block canonical %}{% include \"/vitrine/lexend/components/languages/canonical_classic.html.twig\" %}{% endblock canonical %#}
  970. {% block css %}
  971.     <style>
  972.         .wr-search-section{position:relative;z-index:2;width:100%;max-width:720px;margin:0 auto}
  973.         .wr-search-bar{display:flex;align-items:center;background:#fff;border-radius:16px;padding:6px;box-shadow:0 4px 24px rgba(108,58,237,.08),0 1px 3px rgba(0,0,0,.04);border:2px solid transparent;transition:border-color .3s,box-shadow .3s;cursor:pointer}
  974.         .wr-search-bar:hover,.wr-search-bar.active{border-color:rgba(108,58,237,.2);box-shadow:0 8px 32px rgba(108,58,237,.12),0 2px 6px rgba(0,0,0,.04)}
  975.         .wr-search-icon{padding:12px 14px;color:#9CA3AF;display:flex;align-items:center;flex-shrink:0}
  976.         .wr-search-input-wrapper{flex:1;position:relative;height:48px;display:flex;align-items:center;overflow:hidden}
  977.         .wr-search-real-input{width:100%;border:none;outline:none;font-size:16px;color:#1E1B2E;background:transparent;font-family:inherit}
  978.         .wr-search-real-input::placeholder{color:#9CA3AF}
  979.         .wr-search-btn{background:var(--color-primary,#6C3AED);color:#fff;border:none;padding:12px 24px;border-radius:12px;font-size:15px;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:6px;transition:background .2s,transform .15s;flex-shrink:0;font-family:inherit}
  980.         .wr-search-btn:hover{filter:brightness(1.1);transform:scale(1.02)}
  981.         @media(max-width:640px){.wr-search-btn span{display:none}.wr-search-btn{padding:12px 14px}}
  982.         .wr-search-results{position:relative;background:#fff;border-radius:16px;box-shadow:0 12px 48px rgba(0,0,0,.1),0 2px 8px rgba(0,0,0,.04);padding:0;max-height:0;overflow:hidden;transition:max-height .5s ease,padding .5s ease,margin .5s ease,opacity .4s ease;z-index:10;opacity:0;margin-top:0}
  983.         .wr-search-results.visible{max-height:2000px;padding:8px;margin-top:12px;opacity:1}
  984.         .wr-result-item{display:flex;align-items:center;gap:14px;padding:12px 14px;border-radius:12px;cursor:pointer;transition:background .2s,opacity .3s ease,transform .3s ease;opacity:0;transform:translateY(8px);text-decoration:none;color:inherit}
  985.         .wr-result-item.show{opacity:1;transform:translateY(0)}
  986.         .wr-result-item:hover{background:#F5F3FF}
  987.         .wr-result-item+.wr-result-item{border-top:1px solid rgba(0,0,0,.04)}
  988.         .wr-result-logo{width:44px;height:44px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:18px;flex-shrink:0;font-weight:700}
  989.         .wr-result-logo img{width:100%;height:100%;object-fit:cover;border-radius:10px}
  990.         .wr-result-info{flex:1;text-align:left;min-width:0}
  991.         .wr-result-title{font-size:14px;font-weight:600;color:#1E1B2E;margin-bottom:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  992.         .wr-result-meta{display:flex;align-items:center;gap:8px;font-size:12px;color:#9CA3AF;flex-wrap:wrap}
  993.         .wr-result-company{color:#4B5563;font-weight:500}
  994.         .wr-result-badge{display:inline-flex;padding:2px 8px;border-radius:6px;font-size:11px;font-weight:600}
  995.         .wr-badge-new{background:#DCFCE7;color:#16A34A}
  996.         .wr-result-salary{font-size:13px;font-weight:600;color:var(--color-primary,#6C3AED);white-space:nowrap}
  997.         .wr-result-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
  998.         .wr-loading{text-align:center;padding:30px 20px}
  999.         .wr-spinner{display:inline-block;width:28px;height:28px;border:3px solid rgba(108,58,237,.15);border-top-color:var(--color-primary,#6C3AED);border-radius:50%;animation:wrSpin .7s linear infinite}
  1000.         @keyframes wrSpin{to{transform:rotate(360deg)}}
  1001.         .wr-empty-state{text-align:center;padding:40px 20px}
  1002.         .wr-empty-icon{font-size:40px;margin-bottom:12px}
  1003.         .wr-empty-title{font-size:16px;font-weight:600;color:#1E1B2E;margin:0 0 6px}
  1004.         .wr-empty-text{font-size:14px;color:#9CA3AF;margin:0}
  1005.         .wr-load-more{display:flex;justify-content:center;padding:12px 8px 4px}
  1006.         .wr-load-more-btn{background:none;border:2px solid var(--color-primary,#6C3AED);color:var(--color-primary,#6C3AED);padding:8px 24px;border-radius:10px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s;font-family:inherit}
  1007.         .wr-load-more-btn:hover{background:var(--color-primary,#6C3AED);color:#fff}
  1008.         .wr-load-more-btn:disabled{opacity:.5;cursor:not-allowed}
  1009.         .wr-results-count{text-align:center;padding:10px;font-size:13px;color:#9CA3AF;border-top:1px solid rgba(0,0,0,.04);margin-top:4px}
  1010.         .wr-results-count strong{color:var(--color-primary,#6C3AED)}
  1011.         .wr-search-close-wrap{text-align:right;padding:4px 8px 0}
  1012.         .wr-search-close-btn{background:none;border:1px solid rgba(0,0,0,.1);color:#9CA3AF;padding:4px 12px;border-radius:8px;font-size:12px;cursor:pointer;transition:all .2s;font-family:inherit}
  1013.         .wr-search-close-btn:hover{background:#F5F3FF;color:var(--color-primary,#6C3AED);border-color:rgba(108,58,237,.2)}
  1014.         {# === Job body redesign === #}
  1015.         .job-tags{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
  1016.         .job-tag{display:inline-flex;align-items:center;gap:5px;padding:6px 14px;border-radius:100px;font-size:13px;font-weight:500;background:#fff;border:1px solid rgba(0,0,0,.08);color:#4B5563}
  1017.         .job-tag i,.job-tag svg{font-size:13px;color:var(--color-primary,#6C3AED);width:14px;height:14px}
  1018.         .job-tag-salary{background:linear-gradient(135deg,#EDE9FE,#F5F3FF);border-color:rgba(108,58,237,.15);color:var(--color-primary,#6C3AED);font-weight:600}
  1019.         .job-tag-external{background:#FFFBEB;border-color:rgba(245,158,11,.2);color:#92400E;font-size:12px}
  1020.         .job-body-card{background:#fff;border-radius:20px;box-shadow:0 4px 32px rgba(0,0,0,.06),0 1px 4px rgba(0,0,0,.03);border:1px solid rgba(0,0,0,.05);padding:32px;max-width:780px;margin:0 auto}
  1021.         @media(max-width:640px){.job-body-card{padding:20px;border-radius:16px}}
  1022.         .job-section-title{font-size:15px;font-weight:700;color:var(--color-primary,#6C3AED);text-transform:uppercase;letter-spacing:.06em;margin:0 0 10px;display:flex;align-items:center;gap:8px}
  1023.         .job-section-title::before{content:'';display:inline-block;width:4px;height:18px;border-radius:2px;background:var(--color-primary,#6C3AED)}
  1024.         .job-section-text{font-size:16px;line-height:1.75;color:#374151;margin:0}
  1025.         .job-section-divider{border:none;border-top:1px solid rgba(0,0,0,.06);margin:24px 0}
  1026.         .job-cta-bar{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;padding:24px 0 0}
  1027.         .job-cta-main{display:inline-flex;align-items:center;gap:8px;padding:14px 32px;border-radius:14px;font-size:16px;font-weight:700;border:none;cursor:pointer;transition:all .2s;text-decoration:none;font-family:inherit}
  1028.         .job-cta-main.active{background:var(--color-primary,#6C3AED);color:#fff;box-shadow:0 4px 16px rgba(108,58,237,.25)}
  1029.         .job-cta-main.active:hover{filter:brightness(1.1);transform:translateY(-1px);box-shadow:0 6px 24px rgba(108,58,237,.3)}
  1030.         .job-cta-main.disabled{background:#E5E7EB;color:#9CA3AF;cursor:default;box-shadow:none;pointer-events:none}
  1031.         .job-cta-company{display:inline-flex;align-items:center;gap:6px;padding:14px 24px;border-radius:14px;font-size:15px;font-weight:600;border:2px solid rgba(0,0,0,.08);background:#fff;color:#374151;cursor:pointer;transition:all .2s;text-decoration:none;font-family:inherit}
  1032.         .job-cta-company:hover{border-color:rgba(108,58,237,.2);color:var(--color-primary,#6C3AED)}
  1033.         .job-locked-overlay{position:relative;margin-top:24px}
  1034.         .job-locked-blur{filter:blur(6px);opacity:.4;pointer-events:none;user-select:none}
  1035.         .job-locked-cta{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:rgba(255,255,255,.7);backdrop-filter:blur(3px);border-radius:16px;padding:20px}
  1036.         .job-locked-title{font-size:18px;font-weight:700;color:#1E1B2E;text-align:center}
  1037.         .job-locked-text{font-size:14px;color:#6B7280;text-align:center;max-width:360px}
  1038.         .job-locked-btn{display:inline-flex;align-items:center;gap:6px;padding:12px 28px;background:var(--color-primary,#6C3AED);color:#fff;border:none;border-radius:12px;font-size:15px;font-weight:600;cursor:pointer;transition:all .2s;text-decoration:none;font-family:inherit}
  1039.         .job-locked-btn:hover{filter:brightness(1.1);transform:translateY(-1px)}
  1040.         .job-locked-login{font-size:13px;color:#6B7280}
  1041.         .job-locked-login a{color:var(--color-primary,#6C3AED);font-weight:600;text-decoration:none}
  1042.         .job-locked-login a:hover{text-decoration:underline}
  1043.     </style>
  1044. {% endblock css %}
  1045. {% block body %}
  1046.     <div id=\"hero_header\" class=\"hero-header section panel overflow-hidden\">
  1047.         <div class=\"position-absolute top-0 start-0 end-0 h-screen dark:bg-gray-300 dark:bg-opacity-15 rounded-bottom-2 lg:rounded-bottom-5\"></div>
  1048.         <div class=\"section-outer panel py-8 lg:py-9 xl:py-10\">
  1049.             <div class=\"container\">
  1050.                 <div class=\"section-inner panel\">
  1051.                     <div class=\"d-none xl:d-block\">
  1052.                         <div class=\"position-absolute rounded-circle border border-dashed border-primary-300 dark:border-white dark:border-opacity-15 cstack w-56px h-56px d-none lg:d-block\" style=\"top: 5%; left: 5%\" data-anime=\"translateY: [0, 10]; easing: linear; loop: true; direction: alternate; delay: 0;\"><img class=\"p-narrow rounded-circle\" src=\"/uploads/no_avatar.png\" alt=\"Anonymous candidate\"></div>
  1053.                         <div class=\"position-absolute rounded-circle border border-dashed border-primary-300 dark:border-white dark:border-opacity-15 cstack w-56px h-56px d-none lg:d-block\" style=\"top: 20%; left: 10%\" data-anime=\"translateY: [0, 15]; easing: linear; loop: true; direction: alternate; delay: 25;\"><img class=\"p-narrow rounded-circle\" src=\"/uploads/no_avatar.png\" alt=\"Anonymous candidate\"></div>
  1054.                         <div class=\"position-absolute rounded-circle border border-dashed border-primary-300 dark:border-white dark:border-opacity-15 cstack w-56px h-56px d-none lg:d-block\" style=\"top: 35%; left: 0%\" data-anime=\"translateY: [0, 5]; easing: linear; loop: true; direction: alternate; delay: 25;\"><img class=\"p-narrow rounded-circle\" src=\"/uploads/no_avatar.png\" alt=\"Anonymous candidate\"></div>
  1055.                         <div class=\"position-absolute rounded-circle border border-dashed border-primary-300 dark:border-white dark:border-opacity-15 cstack w-56px h-56px d-none lg:d-block\" style=\"top: 5%; right: 5%\" data-anime=\"translateY: [0, 10]; easing: linear; loop: true; direction: alternate; delay: 0;\"><img class=\"p-narrow rounded-circle\" src=\"/uploads/no_avatar.png\" alt=\"Anonymous candidate\"></div>
  1056.                         <div class=\"position-absolute rounded-circle border border-dashed border-primary-300 dark:border-white dark:border-opacity-15 cstack w-56px h-56px d-none lg:d-block\" style=\"top: 20%; right: 10%\" data-anime=\"translateY: [0, 15]; easing: linear; loop: true; direction: alternate; delay: 25;\"><img class=\"p-narrow rounded-circle\" src=\"/uploads/no_avatar.png\" alt=\"Anonymous candidate\"></div>
  1057.                         <div class=\"position-absolute rounded-circle border border-dashed border-primary-300 dark:border-white dark:border-opacity-15 cstack w-56px h-56px d-none lg:d-block\" style=\"top: 35%; right: 0%\" data-anime=\"translateY: [0, 5]; easing: linear; loop: true; direction: alternate; delay: 25;\"><img class=\"p-narrow rounded-circle\" src=\"/uploads/no_avatar.png\" alt=\"Anonymous candidate\"></div>
  1058.                     </div>
  1059.                     <div class=\"row child-cols-12 justify-center items-center g-8\">
  1060.                         <div class=\"lg:col-12\">
  1061.                             <div class=\"panel vstack gap-4 lg:gap-6\">
  1062.                                 <div class=\"panel vstack justify-center items-center gap-2 px-2 pt-4 text-center\">
  1063.                                     <span class=\"fs-6 fw-bold text-uppercase text-primary\">{{ job.companyName }} is hiring</span>
  1064.                                     <h1 class=\"h3 md:h2 lg:display-4 m-0\">{{ job.jobtitle }}</h1>
  1065.                                 </div>
  1066.                                 <div class=\"wr-search-section\" id=\"wrSearchSection\">
  1067.                                     <div class=\"wr-search-bar\" id=\"wrSearchBar\">
  1068.                                         <div class=\"wr-search-icon\">
  1069.                                             <svg width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"11\" cy=\"11\" r=\"8\"/><path d=\"M21 21l-4.35-4.35\"/></svg>
  1070.                                         </div>
  1071.                                         <div class=\"wr-search-input-wrapper\">
  1072.                                             <input type=\"text\" id=\"wrSearchInput\" class=\"wr-search-real-input\" placeholder=\"Search for a job, company, or city...\" autocomplete=\"off\">
  1073.                                         </div>
  1074.                                         <button class=\"wr-search-btn\" id=\"wrSearchBtn\">
  1075.                                             <svg width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"11\" cy=\"11\" r=\"8\"/><path d=\"M21 21l-4.35-4.35\"/></svg>
  1076.                                             <span>Search</span>
  1077.                                         </button>
  1078.                                     </div>
  1079.                                 </div>
  1080.                                 <div class=\"wr-search-results\" id=\"wrSearchResults\">
  1081.                                     <div class=\"wr-search-close-wrap\">
  1082.                                         <button class=\"wr-search-close-btn\" id=\"wrSearchClose\">✕ Close</button>
  1083.                                     </div>
  1084.                                     <div id=\"wrJobsList\"></div>
  1085.                                     <div id=\"wrLoading\" class=\"wr-loading\" style=\"display:none;\">
  1086.                                         <div class=\"wr-spinner\"></div>
  1087.                                     </div>
  1088.                                     <div id=\"wrEmptyState\" class=\"wr-empty-state\" style=\"display:none;\">
  1089.                                         <div class=\"wr-empty-icon\">🔍</div>
  1090.                                         <p class=\"wr-empty-title\">No jobs match your search</p>
  1091.                                         <p class=\"wr-empty-text\">Try different keywords</p>
  1092.                                     </div>
  1093.                                     <div id=\"wrLoadMore\" class=\"wr-load-more\" style=\"display:none;\">
  1094.                                         <button class=\"wr-load-more-btn\" id=\"wrLoadMoreBtn\">Show more jobs</button>
  1095.                                     </div>
  1096.                                     <div class=\"wr-results-count\" id=\"wrResultsCount\" style=\"display:none;\">
  1097.                                         <strong id=\"wrTotalCount\">0</strong> jobs found
  1098.                                     </div>
  1099.                                 </div>
  1100.                             </div>
  1101.                         </div>
  1102.                     </div>
  1103.                 </div>
  1104.             </div>
  1105.         </div>
  1106.     </div>
  1107.     {# ═══════════════════════════════════════════════════════════════
  1108.        JOB BODY — full width, no sidebar
  1109.     ═══════════════════════════════════════════════════════════════ #}
  1110.     <div id=\"job_details\" class=\"job-details section panel pb-6 xl:pb-9\">
  1111.         <div class=\"section-outer panel\">
  1112.             <div class=\"container max-w-lg\">
  1113.                 <div class=\"section-inner panel\">
  1114.                     {# ── Metadata tags ── #}
  1115.                     <div class=\"job-tags mb-4\" style=\"margin-top:-10px;\">
  1116.                         {% if job.companyName is not empty %}
  1117.                             <span class=\"job-tag\">
  1118.                                 <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><rect x=\"2\" y=\"7\" width=\"20\" height=\"14\" rx=\"2\"/><path d=\"M16 7V5a4 4 0 00-8 0v2\"/></svg>
  1119.                                 {{ job.companyName }}
  1120.                             </span>
  1121.                         {% endif %}
  1122.                         {% if job.employmentType is not empty %}
  1123.                             <span class=\"job-tag\">
  1124.                                 <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><circle cx=\"12\" cy=\"12\" r=\"10\"/><path d=\"M12 6v6l4 2\"/></svg>
  1125.                                 {{ job.employmentType }}
  1126.                             </span>
  1127.                         {% endif %}
  1128.                         {% if job.city is not empty %}
  1129.                             <span class=\"job-tag\">
  1130.                                 <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><path d=\"M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0118 0z\"/><circle cx=\"12\" cy=\"10\" r=\"3\"/></svg>
  1131.                                 {{ job.city }}{% if job.country is not null %}, {{ job.country }}{% endif %}
  1132.                             </span>
  1133.                         {% endif %}
  1134.                         {% if job.remoteWork is not empty %}
  1135.                             <span class=\"job-tag\">
  1136.                                 <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><rect x=\"2\" y=\"3\" width=\"20\" height=\"14\" rx=\"2\"/><path d=\"M8 21h8M12 17v4\"/></svg>
  1137.                                 {{ job.remoteWork }}
  1138.                             </span>
  1139.                         {% endif %}
  1140.                         {% if job.experienceLevel is not empty %}
  1141.                             <span class=\"job-tag\">
  1142.                                 <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><path d=\"M22 11.08V12a10 10 0 11-5.93-9.14\"/><path d=\"M22 4L12 14.01l-3-3\"/></svg>
  1143.                                 +{{ job.experienceLevel }} years experience
  1144.                             </span>
  1145.                         {% endif %}
  1146.                         {% if job.salaryPeriod is not null %}
  1147.                             <span class=\"job-tag job-tag-salary\">
  1148.                                 <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><line x1=\"12\" y1=\"1\" x2=\"12\" y2=\"23\"/><path d=\"M17 5H9.5a3.5 3.5 0 000 7h5a3.5 3.5 0 010 7H6\"/></svg>
  1149.                                 {{ job.salaryMin }} – {{ job.salaryMax }} {{ job.devise }}/{{ job.salaryPeriod }}
  1150.                             </span>
  1151.                         {% endif %}
  1152.                         {% if job.verification == 0 %}
  1153.                             <span class=\"job-tag job-tag-external\">
  1154.                                 ⚡ Indexed listing — external source
  1155.                             </span>
  1156.                         {% endif %}
  1157.                     </div>
  1158.                     {# ── Main card ── #}
  1159.                     <div class=\"job-body-card\">
  1160.                         {# — Résumé (toujours visible) — #}
  1161.                         {% if job.jobSummary is not null %}
  1162.                             <div class=\"job-section-title\">Job overview</div>
  1163.                             <p class=\"job-section-text\">{{ job.jobSummary }}</p>
  1164.                         {% endif %}
  1165.                         {% if app.user is null %}
  1166.                             <hr class=\"job-section-divider\">
  1167.                             <div class=\"job-section-title\">Responsibilities</div>
  1168.                             <p class=\"job-section-text\">Find here the full details of the responsibilities for this role: daily tasks, projects to lead, goals to achieve and scope of work within the team. Everything you need to picture yourself in the role and know exactly what to expect from day one.</p>
  1169.                             <hr class=\"job-section-divider\">
  1170.                             <div class=\"job-section-title\">Required profile</div>
  1171.                             <p class=\"job-section-text\">Access the technical and interpersonal skills expected by the recruiter, the required experience level, valued qualifications and personal qualities sought. Check at a glance whether your profile matches this opportunity before applying.</p>
  1172.                             <hr class=\"job-section-divider\">
  1173.                             <div class=\"job-section-title\">Benefits</div>
  1174.                             <p class=\"job-section-text\">Discover what the company offers its employees: remote work policy, health coverage, bonuses, continuous training, work environment and growth opportunities. All the information you need to compare this offer with your expectations and make the right choice.</p>
  1175.                         {% endif %}
  1176.                         {% if app.user is not null %}
  1177.                             {# ══════ FULL CONTENT (logged in) ══════ #}
  1178.                             {% if job.keyResponsabilities is not null %}
  1179.                                 <hr class=\"job-section-divider\">
  1180.                                 <div class=\"job-section-title\">Responsibilities</div>
  1181.                                 <p class=\"job-section-text\">{{ job.keyResponsabilities }}</p>
  1182.                             {% endif %}
  1183.                             {% if job.requirements is not null %}
  1184.                                 <hr class=\"job-section-divider\">
  1185.                                 <div class=\"job-section-title\">Required profile</div>
  1186.                                 <p class=\"job-section-text\">{{ job.requirements }}</p>
  1187.                             {% endif %}
  1188.                             {% if job.benefits is not null %}
  1189.                                 <hr class=\"job-section-divider\">
  1190.                                 <div class=\"job-section-title\">Benefits</div>
  1191.                                 <p class=\"job-section-text\">{{ job.benefits }}</p>
  1192.                             {% endif %}
  1193.                             {# — CTA Buttons — #}
  1194.                             <div class=\"job-cta-bar\">
  1195.                                 {% if app.user.candidate is not null %}
  1196.                                     <a href=\"{{ path('cvs_application_job_like', {'slug': job.slug}) }}\" class=\"job-cta-main active\">
  1197.                                         <svg width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"currentColor\" stroke=\"none\"><path d=\"M20.84 4.61a5.5 5.5 0 00-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 00-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 000-7.78z\"/></svg>
  1198.                                         I'm interested
  1199.                                     </a>
  1200.                                 {% endif %}
  1201.                                 {% if job.websearch == 1 and job.website is not empty %}
  1202.                                     <a href=\"{{ job.website }}\" target=\"_blank\" class=\"job-cta-main active\">
  1203.                                         <svg width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><path d=\"M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6\"/><polyline points=\"15 3 21 3 21 9\"/><line x1=\"10\" y1=\"14\" x2=\"21\" y2=\"3\"/></svg>
  1204.                                         Apply
  1205.                                     </a>
  1206.                                 {% endif %}
  1207.                                 {% if job.enterprise is not null %}
  1208.                                     <a href=\"{{ path('cvs_application_company_show', {'slug': job.enterprise.slug}) }}\" class=\"job-cta-company\">
  1209.                                         <svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><rect x=\"2\" y=\"7\" width=\"20\" height=\"14\" rx=\"2\"/><path d=\"M16 7V5a4 4 0 00-8 0v2\"/></svg>
  1210.                                         View other listings
  1211.                                     </a>
  1212.                                 {% endif %}
  1213.                             </div>
  1214.                         {% else %}
  1215.                             {# ══════ LOCKED CONTENT (not logged in) ══════ #}
  1216.                             {# Blurred teaser zone #}
  1217.                             <div class=\"job-locked-overlay\">
  1218.                                 <div class=\"job-locked-blur\">
  1219.                                     <hr class=\"job-section-divider\">
  1220.                                     <div class=\"job-section-title\">Responsibilities</div>
  1221.                                     <p class=\"job-section-text\">Discover the main responsibilities of this role, daily tasks and projects you will be working on within the team...</p>
  1222.                                     <hr class=\"job-section-divider\">
  1223.                                     <div class=\"job-section-title\">Required profile</div>
  1224.                                     <p class=\"job-section-text\">Technical and soft skills required, expected experience level, valued qualifications and certifications for this role...</p>
  1225.                                     <hr class=\"job-section-divider\">
  1226.                                     <div class=\"job-section-title\">Benefits</div>
  1227.                                     <p class=\"job-section-text\">Remote work, health insurance, meal vouchers, continuous training, work environment and career growth within the company...</p>
  1228.                                 </div>
  1229.                                 <div class=\"job-locked-cta\">
  1230.                                     <div style=\"font-size:32px;\">🔓</div>
  1231.                                     <div class=\"job-locked-title\">Unlock the full listing</div>
  1232.                                     <div class=\"job-locked-text\">Create your profile in 2 minutes to access responsibilities, benefits and apply directly</div>
  1233.                                     <a href=\"{{ path('app_register') }}\" class=\"job-locked-btn\">
  1234.                                         Create my profile for free
  1235.                                         <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M7 17l9.2-9.2M17 17V7H7\"/></svg>
  1236.                                     </a>
  1237.                                     <div class=\"job-locked-login\">Already registered? <a href=\"{{ path('app_login') }}\">Log in</a></div>
  1238.                                 </div>
  1239.                             </div>
  1240.                         {% endif %}
  1241.                     </div>
  1242.                 </div>
  1243.             </div>
  1244.         </div>
  1245.     </div>
  1246.     {% if othersJobs is not null %}
  1247.         <div id=\"openings\" class=\"career-openings section panel overflow-hidden pb-6 xl:pb-9\">
  1248.             <div class=\"section-outer panel py-6 xl:py-9 bg-secondary dark:bg-gray-800\">
  1249.                 <div class=\"container max-w-lg\">
  1250.                     <div class=\"section-inner panel\">
  1251.                         <div class=\"panel vstack justify-center gap-4 sm:gap-6 xl:gap-8\">
  1252.                             <h2 class=\"h4 sm:h2 m-0 text-center\" data-anime=\"onview: -100; translateY: [48, 0]; opacity: [0, 1]; easing: spring(1, 80, 10, 0); duration: 450; delay: 100;\">
  1253.                                 Job openings at {{ job.enterprise.companyName|lower|capitalize }}
  1254.                             </h2>
  1255.                             <div class=\"panel\">
  1256.                                 <div class=\"panel\">
  1257.                                     <div class=\"row child-cols-12 sm:child-cols-6 col-match g-2 sm:g-3 uc-grid\">
  1258.                                         {% for oj in othersJobs %}
  1259.                                             <div class=\"panel\">
  1260.                                                 <div class=\"panel vstack justify-end items-end gap-1 p-3 rounded lg:rounded-2 bg-white dark:bg-gray-800\">
  1261.                                                     <div class=\"vstack gap-narrow\">
  1262.                                                         <h5 class=\"h6 lg:h5 m-0\">{{ oj.jobTitle }}</h5>
  1263.                                                         <span class=\"fs-6 text-dark dark:text-white text-opacity-70\">{{ oj.city }}</span>
  1264.                                                     </div>
  1265.                                                     <a href=\"{{ path('cvs_application_job_show', {'slug': oj.slug}) }}\" class=\"uc-link fs-7 fw-bold d-inline-flex items-center gap-narrow border-bottom pb-narrow\">
  1266.                                                         <span>Apply</span>
  1267.                                                         <i class=\"icon icon-narrow unicon-arrow-up-right fw-bold rtl:-rotate-90\"></i>
  1268.                                                     </a>
  1269.                                                 </div>
  1270.                                             </div>
  1271.                                         {% endfor %}
  1272.                                     </div>
  1273.                                 </div>
  1274.                             </div>
  1275.                         </div>
  1276.                     </div>
  1277.                 </div>
  1278.             </div>
  1279.         </div>
  1280.     {% endif %}
  1281.     {% if similarJobs is defined and similarJobs is not empty %}
  1282.         <div id=\"similar_jobs\" class=\"similar-jobs section panel overflow-hidden pb-6 xl:pb-9\">
  1283.             <div class=\"section-outer panel py-6 xl:py-9\">
  1284.                 <div class=\"container max-w-lg\">
  1285.                     <div class=\"section-inner panel\">
  1286.                         <div class=\"panel vstack justify-center gap-4 sm:gap-6 xl:gap-8\">
  1287.                             <div class=\"vstack items-center text-center gap-1\">
  1288.                                 <h2 class=\"h4 sm:h2 m-0\">Similar jobs</h2>
  1289.                             </div>
  1290.                             <div class=\"panel\">
  1291.                                 <div class=\"row child-cols-12 sm:child-cols-6 lg:child-cols-4 col-match g-2 sm:g-3\">
  1292.                                     {% for sj in similarJobs %}
  1293.                                         <div class=\"panel\">
  1294.                                             <a href=\"{{ path('cvs_application_job_show', {'slug': sj.slug}) }}\" class=\"panel vstack gap-2 p-3 rounded-2 bg-white dark:bg-gray-800 h-100\" style=\"box-shadow: 0 2px 12px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04); border: 1px solid rgba(0,0,0,0.06); text-decoration: none; color: inherit; transition: box-shadow 0.2s ease, transform 0.2s ease;\" onmouseover=\"this.style.boxShadow='0 8px 32px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.06)'; this.style.transform='translateY(-2px)';\" onmouseout=\"this.style.boxShadow='0 2px 12px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04)'; this.style.transform='translateY(0)';\">
  1295.                                                 {# Header: company #}
  1296.                                                 {% if sj.companyName is not empty %}
  1297.                                                     <div class=\"hstack gap-1 items-center\">
  1298.                                                         <div class=\"cstack w-32px h-32px rounded-1 bg-secondary\" style=\"min-width: 32px;\">
  1299.                                                             <i class=\"icon-narrow unicon-portfolio text-primary\" style=\"font-size: 14px;\"></i>
  1300.                                                         </div>
  1301.                                                         <span class=\"fs-7 fw-bold text-dark text-opacity-50\" style=\"overflow: hidden; text-overflow: ellipsis; white-space: nowrap;\">{{ sj.companyName }}</span>
  1302.                                                     </div>
  1303.                                                 {% endif %}
  1304.                                                 {# Job title #}
  1305.                                                 <h5 class=\"h6 lg:h5 m-0\" style=\"line-height: 1.4;\">{{ sj.jobTitle }}</h5>
  1306.                                                 {# Key info #}
  1307.                                                 <div class=\"vstack gap-narrow mt-auto\">
  1308.                                                     {% if sj.city is not empty %}
  1309.                                                         <div class=\"hstack gap-narrow items-center fs-7 text-dark text-opacity-60\">
  1310.                                                             <i class=\"icon-narrow unicon-location\" style=\"font-size: 12px;\"></i>
  1311.                                                             <span>{{ sj.city }}{% if sj.country is not null %}, {{ sj.country }}{% endif %}</span>
  1312.                                                         </div>
  1313.                                                     {% endif %}
  1314.                                                     {% if sj.employmentType is not empty %}
  1315.                                                         <div class=\"hstack gap-narrow items-center fs-7 text-dark text-opacity-60\">
  1316.                                                             <i class=\"icon-narrow unicon-portfolio\" style=\"font-size: 12px;\"></i>
  1317.                                                             <span>{{ sj.employmentType }}</span>
  1318.                                                         </div>
  1319.                                                     {% endif %}
  1320.                                                     {% if sj.remoteWork is not empty %}
  1321.                                                         <div class=\"hstack gap-narrow items-center fs-7 text-dark text-opacity-60\">
  1322.                                                             <i class=\"icon-narrow unicon-laptop\" style=\"font-size: 12px;\"></i>
  1323.                                                             <span>{{ sj.remoteWork }}</span>
  1324.                                                         </div>
  1325.                                                     {% endif %}
  1326.                                                 </div>
  1327.                                                 {# Category tags #}
  1328.                                                 {% if sj.category is not empty %}
  1329.                                                     <div class=\"hstack gap-narrow flex-wrap mt-1\">
  1330.                                                         <span class=\"px-1 py-narrow fs-8 fw-bold rounded bg-secondary text-primary\" style=\"white-space: nowrap;\">{{ sj.category }}</span>
  1331.                                                     </div>
  1332.                                                 {% endif %}
  1333.                                                 {# CTA link #}
  1334.                                                 <div class=\"hstack items-center gap-narrow mt-1 fs-7 fw-bold text-primary\">
  1335.                                                     <span>View listing</span>
  1336.                                                     <i class=\"icon icon-narrow unicon-arrow-up-right fw-bold\" style=\"font-size: 12px;\"></i>
  1337.                                                 </div>
  1338.                                             </a>
  1339.                                         </div>
  1340.                                     {% endfor %}
  1341.                                 </div>
  1342.                             </div>
  1343.                         </div>
  1344.                     </div>
  1345.                 </div>
  1346.             </div>
  1347.         </div>
  1348.     {% endif %}
  1349. {% endblock body %}
  1350. {% block footerjs %}
  1351.     <script>
  1352.         (function(){
  1353.             var JOB_BASE_URL = '/job/';
  1354.     var SEARCH_API = '{{ path(\"api_jobs_search\") }}';
  1355.     var palette = [
  1356.         {bg:'#EDE9FE',color:'#7C3AED'},{bg:'#DBEAFE',color:'#2563EB'},
  1357.         {bg:'#D1FAE5',color:'#059669'},{bg:'#FEF3C7',color:'#D97706'},
  1358.         {bg:'#FCE7F3',color:'#DB2777'},{bg:'#FEE2E2',color:'#DC2626'},
  1359.         {bg:'#E0E7FF',color:'#4338CA'},{bg:'#CCFBF1',color:'#0D9488'}
  1360.     ];
  1361.     function getColor(name){
  1362.         var h=0;for(var i=0;i<name.length;i++) h=name.charCodeAt(i)+((h<<5)-h);
  1363.         return palette[Math.abs(h)%palette.length];
  1364.     }
  1365.     var searchInput = document.getElementById('wrSearchInput');
  1366.     var searchBtn = document.getElementById('wrSearchBtn');
  1367.     var searchResults = document.getElementById('wrSearchResults');
  1368.     var searchClose = document.getElementById('wrSearchClose');
  1369.     var jobsList = document.getElementById('wrJobsList');
  1370.     var loading = document.getElementById('wrLoading');
  1371.     var emptyState = document.getElementById('wrEmptyState');
  1372.     var loadMoreWrap = document.getElementById('wrLoadMore');
  1373.     var loadMoreBtn = document.getElementById('wrLoadMoreBtn');
  1374.     var resultsCount = document.getElementById('wrResultsCount');
  1375.     var totalCountEl = document.getElementById('wrTotalCount');
  1376.     var currentQuery = '';
  1377.     var currentOffset = 0;
  1378.     var LIMIT = 10;
  1379.     var isLoading = false;
  1380.     var debounceTimer;
  1381.     function renderJob(job){
  1382.         var col = getColor(job.companyName);
  1383.         var logoHtml;
  1384.         if(job.image){
  1385.             logoHtml = '<div class=\"wr-result-logo\"><img src=\"'+job.image+'\" alt=\"'+job.companyName+'\"></div>';
  1386.         } else {
  1387.             logoHtml = '<div class=\"wr-result-logo\" style=\"background:'+col.bg+';color:'+col.color+';\">'+(job.logo || job.companyName.charAt(0).toUpperCase())+'</div>';
  1388.         }
  1389.         var badgeHtml = '';
  1390.         if(job.isNew) badgeHtml = '<span class=\"wr-result-badge wr-badge-new\">Nouveau</span>';
  1391.         var salaryHtml = job.salary ? '<span class=\"wr-result-salary\">'+job.salary+'</span>' : '';
  1392.         var remoteHtml = '';
  1393.         if(job.remoteWork && job.remoteWork !== '' && job.remoteWork !== 'no'){
  1394.             var remoteLabel = job.remoteWork === 'full' ? 'Full remote' : (job.remoteWork === 'hybrid' ? 'Hybrid' : job.remoteWork);
  1395.             remoteHtml = '<span>·</span><span>'+remoteLabel+'</span>';
  1396.         }
  1397.         var div = document.createElement('a');
  1398.         div.className = 'wr-result-item';
  1399.         div.href = JOB_BASE_URL + job.slug;
  1400.         div.innerHTML = logoHtml +
  1401.             '<div class=\"wr-result-info\">' +
  1402.             '<div class=\"wr-result-title\">' + job.jobTitle + '</div>' +
  1403.             '<div class=\"wr-result-meta\">' +
  1404.             '<span class=\"wr-result-company\">' + job.companyName + '</span>' +
  1405.             (job.city ? '<span>·</span><span>' + job.city + '</span>' : '') +
  1406.             '<span>·</span><span>' + (job.employmentType || '') + '</span>' +
  1407.             remoteHtml +
  1408.             badgeHtml +
  1409.             '</div>' +
  1410.             '</div>' +
  1411.             '<div class=\"wr-result-actions\">' + salaryHtml + '</div>';
  1412.         return div;
  1413.     }
  1414.     function fetchJobs(query, offset, append){
  1415.         if(isLoading) return;
  1416.         if(query.length < 2) return;
  1417.         isLoading = true;
  1418.         if(!append){
  1419.             jobsList.innerHTML = '';
  1420.             loadMoreWrap.style.display = 'none';
  1421.             resultsCount.style.display = 'none';
  1422.         }
  1423.         searchResults.classList.add('visible');
  1424.         loading.style.display = 'block';
  1425.         emptyState.style.display = 'none';
  1426.         var url = SEARCH_API + '?q=' + encodeURIComponent(query) + '&offset=' + offset + '&limit=' + LIMIT;
  1427.         fetch(url, {credentials:'same-origin'})
  1428.             .then(function(r){ return r.json(); })
  1429.             .then(function(data){
  1430.                 loading.style.display = 'none';
  1431.                 isLoading = false;
  1432.                 if(data.total === 0){
  1433.                     emptyState.style.display = 'block';
  1434.                     return;
  1435.                 }
  1436.                 data.jobs.forEach(function(job, i){
  1437.                     var el = renderJob(job);
  1438.                     jobsList.appendChild(el);
  1439.                     setTimeout(function(){ el.classList.add('show'); }, 50 + i * 60);
  1440.                 });
  1441.                 totalCountEl.textContent = data.total;
  1442.                 resultsCount.style.display = 'block';
  1443.                 if(data.hasMore){
  1444.                     loadMoreWrap.style.display = 'flex';
  1445.                 } else {
  1446.                     loadMoreWrap.style.display = 'none';
  1447.                 }
  1448.                 currentOffset = offset + data.jobs.length;
  1449.             })
  1450.             .catch(function(err){
  1451.                 console.error('Search error:', err);
  1452.                 loading.style.display = 'none';
  1453.                 isLoading = false;
  1454.             });
  1455.     }
  1456.     searchClose.addEventListener('click', function(){
  1457.         searchResults.classList.remove('visible');
  1458.         jobsList.innerHTML = '';
  1459.         searchInput.value = '';
  1460.         loadMoreWrap.style.display = 'none';
  1461.         resultsCount.style.display = 'none';
  1462.         emptyState.style.display = 'none';
  1463.     });
  1464.     searchInput.addEventListener('input', function(){
  1465.         clearTimeout(debounceTimer);
  1466.         var q = searchInput.value.trim();
  1467.         if(q.length < 2){
  1468.             searchResults.classList.remove('visible');
  1469.             jobsList.innerHTML = '';
  1470.             return;
  1471.         }
  1472.         debounceTimer = setTimeout(function(){
  1473.             currentQuery = q;
  1474.             currentOffset = 0;
  1475.             fetchJobs(currentQuery, 0, false);
  1476.         }, 350);
  1477.     });
  1478.     searchBtn.addEventListener('click', function(e){
  1479.         e.preventDefault();
  1480.         clearTimeout(debounceTimer);
  1481.         currentQuery = searchInput.value.trim();
  1482.         currentOffset = 0;
  1483.         fetchJobs(currentQuery, 0, false);
  1484.     });
  1485.     searchInput.addEventListener('keydown', function(e){
  1486.         if(e.key === 'Enter'){
  1487.             e.preventDefault();
  1488.             clearTimeout(debounceTimer);
  1489.             currentQuery = searchInput.value.trim();
  1490.             currentOffset = 0;
  1491.             fetchJobs(currentQuery, 0, false);
  1492.         }
  1493.     });
  1494.     loadMoreBtn.addEventListener('click', function(){
  1495.         fetchJobs(currentQuery, currentOffset, true);
  1496.     });
  1497. })();
  1498.     </script>
  1499. {% endblock footerjs %}
  1500. ""application/whileresume/application/jobs/show_en.html.twig""/var/www/vhosts/mirtillostudio.fr/b1.mirtillostudio.fr/version-1/templates/application/whileresume/application/jobs/show_en.html.twig");
  1501.     }
  1502. }