var/cache/dev/twig/a5/a5b6b4cca5fd2c2f94c41881c2c837c9.php line 52

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. /* Theme/Produit/Service/Service/aboutstruct.html.twig */
  15. class __TwigTemplate_1fe8404856fb07f04d9faabea8eb6c94 extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->blocks = [
  24.             'meta' => [$this'block_meta'],
  25.             'title' => [$this'block_title'],
  26.             'userblog_body' => [$this'block_userblog_body'],
  27.             'javascripttemplate' => [$this'block_javascripttemplate'],
  28.         ];
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 1
  33.         return "Theme/Users/User/layoutbase.html.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Theme/Produit/Service/Service/aboutstruct.html.twig"));
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Theme/Produit/Service/Service/aboutstruct.html.twig"));
  42.         $this->parent $this->loadTemplate("Theme/Users/User/layoutbase.html.twig""Theme/Produit/Service/Service/aboutstruct.html.twig"1);
  43.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  46.         
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  48.     }
  49.     // line 2
  50.     public function block_meta($context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta"));
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta"));
  57.         // line 3
  58.         yield "\t";
  59.         yield from $this->yieldParentBlock("meta"$context$blocks);
  60.         yield "
  61. \t<meta name=\"keywords\" content=\"";
  62.         // line 4
  63.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["site"]) || array_key_exists("site"$context) ? $context["site"] : (function () { throw new RuntimeError('Variable "site" does not exist.'4$this->source); })()), "html"nulltrue);
  64.         yield ", \"/>
  65. \t<meta name=\"author\" content=\"Noel Kenfack\"/>
  66. \t<meta name=\"description\" content=\"";
  67.         // line 6
  68.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["site"]) || array_key_exists("site"$context) ? $context["site"] : (function () { throw new RuntimeError('Variable "site" does not exist.'6$this->source); })()), "html"nulltrue);
  69.         yield "\" />
  70. ";
  71.         
  72.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  73.         
  74.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  75.         return; yield '';
  76.     }
  77.     // line 9
  78.     public function block_title($context, array $blocks = [])
  79.     {
  80.         $macros $this->macros;
  81.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  82.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  83.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  84.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  85.         // line 10
  86.         yield "\t";
  87.         yield from $this->yieldParentBlock("title"$context$blocks);
  88.         yield " - Détails du service ..
  89. ";
  90.         
  91.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  92.         
  93.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  94.         return; yield '';
  95.     }
  96.     // line 13
  97.     public function block_userblog_body($context, array $blocks = [])
  98.     {
  99.         $macros $this->macros;
  100.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  101.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""userblog_body"));
  102.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  103.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""userblog_body"));
  104.         // line 14
  105.         yield "  <style>
  106.     ";
  107.         // line 52
  108.         yield "\t";
  109.         // line 53
  110.         yield "\t";
  111.         // line 54
  112.         yield "\t";
  113.         // line 58
  114.         yield "
  115.   ";
  116.         // line 60
  117.         yield "  .faq-section {
  118.   max-width: 800px;
  119.  /* margin: 0px auto;*/
  120.   padding: 0 0 20px 10px;
  121.   font-family: \"Segoe UI\", sans-serif;
  122.   box-shadow: 1px 1px 3px 3px rgba(0, 0, 0, 0.13); /* Ombre au survol */
  123.  
  124. }
  125. .faq-container {
  126.   /*overflow-y: auto;*/
  127. }
  128. /* Barre de défilement */
  129. /*.faq-container::-webkit-scrollbar {
  130.   width: 10px;  Largeur de la barre de défilement 
  131. } */
  132. .faq-title {
  133.   /* text-align: center; */
  134.   font-size: 2rem;
  135.   margin-bottom: 20px;
  136. }
  137. .faq-item {
  138.   border-bottom: 1px solid #ddd;
  139.   padding: 10px 0;
  140. }
  141. .faq-question {
  142.   width: 100%;
  143.   background: none;
  144.   border: none;
  145.   outline: none;
  146.   text-align: left;
  147.   font-size: 1.1rem;
  148.   font-weight: 600;
  149.   cursor: pointer;
  150.   display: flex;
  151.   justify-content: space-between;
  152.   align-items: center;
  153.   padding: 10px 0;
  154. }
  155. .faq-question .icon {
  156.   transition: transform 0.3s ease;
  157.   font-weight: bold;
  158.   font-size: 1.2rem;
  159. }
  160. .faq-answer {
  161.   max-height: 0;
  162.   overflow: hidden;
  163.   transition: max-height 0.4s ease, padding 0.3s ease;
  164.   padding: 0 0;
  165. }
  166. .faq-answer p {
  167.   margin: 10px 0;
  168. }
  169. .faq-item.active .faq-answer {
  170.   max-height: 200px; /* enough for content */
  171.   padding: 10px 0;
  172. }
  173. .faq-item.active .faq-question .icon {
  174.   transform: rotate(180deg);
  175.   content: \"–\";
  176. }
  177. ";
  178.         // line 134
  179.         yield "    .section-head.center.wt-small-separator-outer {
  180.         margin-bottom: 50px;
  181.         text-align: left;
  182.     }
  183.     .section-head {
  184.         position: relative;
  185.     }
  186.     .site-text-primary, .wt-small-separator {
  187.         color: #ea130e;
  188.     }
  189.     .wt-small-separator {
  190.         font-family: \"Heebo\", sans-serif;
  191.         text-transform: uppercase;
  192.         letter-spacing: 1px;
  193.         padding-right: 40px;
  194.         font-size: 26px;
  195.         line-height: 26px;
  196.         margin-bottom: 15px;
  197.         position: relative;
  198.         display: inline-block;
  199.         font-weight: 700;
  200.     }
  201.     .section-head.center .wt-small-separator div.sep-leaf-left {
  202.         position: relative;
  203.     }
  204.     .section-head.center .wt-small-separator div.sep-leaf-left:before, .section-head.center .wt-small-separator div.sep-leaf-left:after {
  205.         background-color: #ea130e;
  206.     }
  207.     .section-head.center .wt-small-separator div.sep-leaf-left:before {
  208.         right: -20px;
  209.         width: 10px;
  210.     }
  211.     .section-head.center .wt-small-separator div.sep-leaf-left:before, .section-head.center .wt-small-separator div.sep-leaf-left:after {
  212.         position: absolute;
  213.         content: '';
  214.         height: 22px;
  215.         bottom: 0px;
  216.         top: 0px;
  217.         transform: skew(-20deg);
  218.     }
  219.     .section-head.center .wt-small-separator div.sep-leaf-left:after {
  220.         right: -27px;
  221.         width: 4px;
  222.     }
  223.     .section-head.center.wt-small-separator-outer h2 {
  224.         max-width: 630px;
  225.         margin: 0px auto;
  226.     }
  227. </style>
  228. <!-- CTA Section -->
  229. <section class=\"cta \" style=\"padding: 1rem 0;\">
  230. \t<div class=\"container\">
  231. \t\t<div class=\"section-head center wt-small-separator-outer mt-3 text-center\" style=\"margin-bottom: 0px;\">
  232. \t\t\t<div class=\"wt-small-separator site-text-primary\">
  233. \t\t\t\t<div class=\"sep-leaf-left\"></div>
  234. \t\t\t\t<div>À propos</div>
  235. \t\t\t</div>
  236. \t\t</div>
  237. \t\t<div>Cette section présente notre cabinet comptable, mettant en lumière notre mission, nos valeurs et notre engagement envers nos clients. Avec une équipe d'experts passionnés, nous nous consacrons à fournir des services de qualité, adaptés à chaque situation, pour accompagner nos clients vers le succès financier.</div>
  238. \t</div>
  239. </section>
  240. <!-- more event -->
  241. ";
  242.         // line 202
  243.         yield "  <section class=\"section-sm\">
  244. \t\t<div class=\"content\" style=\"padding-bottom: 5px;\">
  245. \t\t\t<div class=\"wrap\">
  246. \t\t\t\t<div class=\"container\">
  247. \t\t\t\t\t<ol class=\"breadcrumb\">
  248. \t\t\t\t\t\t<li href=\"#\">
  249. \t\t\t\t\t\t\t<a>Home</a>
  250. \t\t\t\t\t\t</li>
  251. \t\t\t\t\t\t<li href=\"#\">
  252. \t\t\t\t\t\t\t<a>A propos</a>
  253. \t\t\t\t\t\t</li>
  254. \t\t\t\t\t</ol>
  255. \t\t\t\t</div>
  256. \t\t\t</div>
  257. \t\t</div>
  258.   </section>
  259.   <section style=\"margin-top: 20px; margin-bottom: 80px;\">
  260.     <div class=\"container\">
  261.       <div class=\"row\">
  262.         <div class=\"col-md-7\">
  263.           <img src=\"";
  264.         // line 223
  265.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("templateSyscofie/images/homme-d-affaires-souriant.jpg"), "html"nulltrue);
  266.         yield "\" alt=\"Image Syscofie Consulting\">
  267.             <div class=\"faq active\">
  268.               <h3 class=\"faq-title\">Mission</h3>
  269.               <p class=\"faq-text\">
  270.                 Notre engagement se concentre sur la fourniture de services de qualité, respectant l’intégrité et la transparence, afin de soutenir les clients dans l'atteinte de leurs objectifs financiers.
  271.               </p>
  272.               <button class=\"faq-toggle\">
  273.                 <i class=\"bi bi-chevron-down\"></i>
  274.                 <i class=\"fas fa-times\"></i>
  275.               </button>
  276.             </div>
  277.             <div class=\"faq active\">
  278.               <h3 class=\"faq-title\">Vision
  279.               </h3>
  280.               <p class=\"faq-text\">
  281.                 Notre aspiration est de devenir un leader dans le secteur, en innovant et en adaptant nos pratiques pour anticiper les besoins des clients et améliorer leur expérience.
  282.               </p>
  283.               <button class=\"faq-toggle\">
  284.                 <i class=\"bi bi-chevron-down\"></i>
  285.                 <i class=\"fas fa-times\"></i>
  286.               </button>
  287.             </div>
  288.             <div class=\"faq active\">
  289.               <h3 class=\"faq-title\">Valeurs
  290.               </h3>
  291.               <p class=\"faq-text\">
  292.                 Nos valeurs sont l'intégrité, la précision, la transparence, le respect des délais et la responsabilité, garantissant des services fiables et un soutien efficace à tous nos clients.
  293.               </p>
  294.               <button class=\"faq-toggle\">
  295.                 <i class=\"bi bi-chevron-down\"></i>
  296.                 <i class=\"fas fa-times\"></i>
  297.               </button>
  298.             </div>
  299.             <div class=\"faq active\">
  300.               <h3 class=\"faq-title\">Reconnaissance
  301.               </h3>
  302.               <p class=\"faq-text\">
  303.                 La reconnaissance en comptabilité valorise les efforts et les contributions, favorisant un environnement de confiance. Elle renforce les relations professionnelles et stimule l'engagement, essentielle pour une collaboration efficace.
  304.               </p>
  305.               <button class=\"faq-toggle\">
  306.                 <i class=\"bi bi-chevron-down\"></i>
  307.                 <i class=\"fas fa-times\"></i>
  308.               </button>
  309.             </div>
  310.           ";
  311.         // line 319
  312.         yield "        </div>
  313.         <div class=\"col-md-5\">
  314.           <div class=\"faq-section p-3\" style=\"box-shadow: none;\">
  315.             <h2 class=\"faq-title\">Questions fréquemments posées</h2>
  316.             <div class=\"faq-container\">
  317.               <div class=\"faq-item\">
  318.                 <button class=\"faq-question\">
  319.                   Comment puis-je suivre mes documents comptables ? <span class=\"icon\">+</span>
  320.                 </button>
  321.                 <div class=\"faq-answer\">
  322.                   <p>Nous mettons en place un système de gestion documentaire sécurisé qui vous permet d'accéder à vos documents en ligne à tout moment.</p>
  323.                 </div>
  324.               </div>
  325.               <div class=\"faq-item\">
  326.                 <button class=\"faq-question\">
  327.                   Proposez-vous des conseils fiscaux ? <span class=\"icon\">+</span>
  328.                 </button>
  329.                 <div class=\"faq-answer\">
  330.                   <p>Oui, nous offrons des services de conseil fiscal pour aider nos clients à optimiser leur situation fiscale et à respecter les obligations légales.</p>
  331.                 </div>
  332.               </div>
  333.               <div class=\"faq-item\">
  334.                 <button class=\"faq-question\">
  335.                   Comment se déroule un audit comptable ? <span class=\"icon\">+</span>
  336.                 </button>
  337.                 <div class=\"faq-answer\">
  338.                   <p>Un audit comptable consiste à examiner les états financiers d'une entreprise pour vérifier leur exactitude et leur conformité aux normes comptables.</p>
  339.                 </div>
  340.               </div>
  341.               <div class=\"faq-item\">
  342.                 <button class=\"faq-question\">
  343.                   Quels services propose Syscofie ? <span class=\"icon\">+</span>
  344.                 </button>
  345.                 <div class=\"faq-answer\">
  346.                   <p>Nous proposons une gamme complète de services, y compris la comptabilité générale, la gestion de la paie, le conseil fiscal, et l'audit</p>
  347.                 </div>
  348.               </div>
  349.               <div class=\"faq-item\">
  350.                 <button class=\"faq-question\">
  351.                   Où êtes-vous situés ? <span class=\"icon\">+</span>
  352.                 </button>
  353.                 <div class=\"faq-answer\">
  354.                   <p>Notre bureau principal est situé à Yaoundé plus précisément à carrefour kameni, et nous offrons également des services à distance.</p>
  355.                 </div>
  356.               </div>
  357.               <div class=\"faq-item\">
  358.                 <button class=\"faq-question\">
  359.                   Comment puis-je vous contacter ? <span class=\"icon\">+</span>
  360.                 </button>
  361.                 <div class=\"faq-answer\">
  362.                   <p>Vous pouvez nous contacter par téléphone, par email, ou via notre formulaire de contact sur notre site web.</p>
  363.                 </div>
  364.               </div>
  365.               <div class=\"faq-item\">
  366.                 <button class=\"faq-question\">
  367.                   Quels sont vos tarifs ? <span class=\"icon\">+</span>
  368.                 </button>
  369.                 <div class=\"faq-answer\">
  370.                   <p>Nos tarifs varient en fonction des services demandés. Nous offrons des devis personnalisés après une consultation initiale.</p>
  371.                 </div>
  372.               </div>
  373.               <div class=\"faq-item\">
  374.                 <button class=\"faq-question\">
  375.                   Proposez-vous des services de comptabilité à distance ? <span class=\"icon\">+</span>
  376.                 </button>
  377.                 <div class=\"faq-answer\">
  378.                   <p>Oui, nous offrons des services de comptabilité à distance, ce qui permet à nos clients de bénéficier de nos services où qu'ils soient.</p>
  379.                 </div>
  380.               </div>
  381.               <div class=\"faq-item\">
  382.                 <button class=\"faq-question\">
  383.                   Quels sont vos horaires d'ouverture ? <span class=\"icon\">+</span>
  384.                 </button>
  385.                 <div class=\"faq-answer\">
  386.                   <p>Nous sommes ouverts du lundi à samedi, de 8h à 18h. Des rendez-vous peuvent être pris en dehors de ces heures sur demande.</p>
  387.                 </div>
  388.               </div>
  389.             </div>
  390.           </div>
  391.         </div>
  392.       </div>
  393.     </div>
  394.   </section>
  395.   ";
  396.         // line 446
  397.         yield "<!-- /more event -->
  398. <script>
  399.   const faqItems = document.querySelectorAll(\".faq-item\");
  400. faqItems.forEach(item => {
  401.   const btn = item.querySelector(\".faq-question\");
  402.   btn.addEventListener(\"click\", () => {
  403.     // close other items
  404.     faqItems.forEach(i => {
  405.       if (i !== item) {
  406.         i.classList.remove(\"active\");
  407.         i.querySelector(\".icon\").textContent = \"+\";
  408.       }
  409.     });
  410.     // toggle current item
  411.     item.classList.toggle(\"active\");
  412.     const icon = item.querySelector(\".icon\");
  413.     icon.textContent = item.classList.contains(\"active\") ? \"–\" : \"+\";
  414.   });
  415. });
  416.   
  417.   /*script section */
  418.   const toggleBtns= document.querySelectorAll('.faq-toggle');
  419.       toggleBtns.forEach(toggleBtn => {
  420.       toggleBtn.addEventListener('click', ()=>{
  421.       toggleBtn.parentNode.classList.toggle('active')
  422.     })
  423.   });
  424. </script>
  425. ";
  426.         
  427.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  428.         
  429.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  430.         return; yield '';
  431.     }
  432.     // line 482
  433.     public function block_javascripttemplate($context, array $blocks = [])
  434.     {
  435.         $macros $this->macros;
  436.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  437.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripttemplate"));
  438.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  439.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripttemplate"));
  440.         // line 483
  441.         yield "
  442. /**
  443.   * Defines the bootstrap tabs handler.
  444.   *
  445.   * @param {string} element
  446.   *  Element.
  447.   */
  448. var tabsActions = function (element) {
  449.   this.element = \$(element);
  450.   this.setup = function () {
  451.     if (this.element.length <= 0) {
  452.       return;
  453.     }
  454.     this.init();
  455.     // Update after resize window.
  456.     var resizeId = null;
  457.     \$(window).resize(function () {
  458.       clearTimeout(resizeId);
  459.       resizeId = setTimeout(() => {this.init()}, 50);
  460.     }.bind(this));
  461.   };
  462.   
  463.   this.init = function () {
  464.     // Add class to overflow items.
  465.     this.actionOverflowItems();
  466.     var tabs_overflow = this.element.find('.overflow-tab');
  467.     // Build overflow action tab element.
  468.     if (tabs_overflow.length > 0) {
  469.       if (!this.element.find('.overflow-tab-action').length) {
  470.         var tab_link = \$('<a>')
  471.           .addClass('nav-link')
  472.           .attr('href', '#')
  473.           .attr('data-toggle', 'dropdown')
  474.           .text('...')
  475.           .on('click', function (e) {
  476.             e.preventDefault();
  477.             \$(this).parents('.nav.nav-tabs').children('.nav-item.overflow-tab').toggle();
  478.           });
  479.         var overflow_tab_action = \$('<li>')
  480.           .addClass('nav-item')
  481.           .addClass('overflow-tab-action')
  482.           .append(tab_link);
  483.         // Add hide to overflow tabs when click on any tab.
  484.         this.element.find('.nav-link').on('click', function (e) {
  485.           \$(this).parents('.nav.nav-tabs').children('.nav-item.overflow-tab').hide();
  486.         });
  487.         this.element.append(overflow_tab_action);
  488.       }
  489.       
  490.       this.openOverflowDropdown();
  491.     }
  492.     else {
  493.       this.element.find('.overflow-tab-action').remove();
  494.     }
  495. };
  496.   this.openOverflowDropdown = function () {
  497.     var overflow_sum_height = 0;
  498.     var overflow_first_top = 41;
  499.     
  500.     this.element.find('.overflow-tab').hide();
  501.     // Calc top position of overflow tabs.
  502.     this.element.find('.overflow-tab').each(function () {
  503.       var overflow_item_height = \$(this).height() - 1;
  504.       if (overflow_sum_height === 0) {
  505.         \$(this).css('top', overflow_first_top + 'px');
  506.         overflow_sum_height += overflow_first_top + overflow_item_height;
  507.       }
  508.       else {
  509.         \$(this).css('top', overflow_sum_height + 'px');
  510.         overflow_sum_height += overflow_item_height;
  511.       }
  512.     });
  513.   };
  514.   this.actionOverflowItems = function () {
  515.     var tabs_limit = this.element.width() - 100;
  516.     var count = 0;
  517.     
  518.     // Calc tans width and add class to any tab that is overflow.
  519.     for (var i = 0; i < this.element.children().length; i += 1) {
  520.       var item = \$(this.element.children()[i]);
  521.       if (item.hasClass('overflow-tab-action')) {
  522.         continue;
  523.       }
  524.       
  525.       count += item.width();
  526.       if (count > tabs_limit) {
  527.         item.addClass('overflow-tab');
  528.       }
  529.       else if (count < tabs_limit) {
  530.         item.removeClass('overflow-tab');
  531.         item.show();
  532.       }
  533.     }
  534.   };
  535. };
  536. var tabsAction = new tabsActions('.layout--tabs .nav-tabs-wrapper .nav-tabs');
  537. tabsAction.setup();
  538. ";
  539.         
  540.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  541.         
  542.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  543.         return; yield '';
  544.     }
  545.     /**
  546.      * @codeCoverageIgnore
  547.      */
  548.     public function getTemplateName()
  549.     {
  550.         return "Theme/Produit/Service/Service/aboutstruct.html.twig";
  551.     }
  552.     /**
  553.      * @codeCoverageIgnore
  554.      */
  555.     public function isTraitable()
  556.     {
  557.         return false;
  558.     }
  559.     /**
  560.      * @codeCoverageIgnore
  561.      */
  562.     public function getDebugInfo()
  563.     {
  564.         return array (  512 => 483,  502 => 482,  457 => 446,  364 => 319,  308 => 223,  285 => 202,  216 => 134,  141 => 60,  138 => 58,  136 => 54,  134 => 53,  132 => 52,  129 => 14,  119 => 13,  105 => 10,  95 => 9,  82 => 6,  77 => 4,  72 => 3,  62 => 2,  39 => 1,);
  565.     }
  566.     public function getSourceContext()
  567.     {
  568.         return new Source("{% extends \"Theme/Users/User/layoutbase.html.twig\" %}
  569. {% block meta %}
  570. \t{{ parent() }}
  571. \t<meta name=\"keywords\" content=\"{{ site }}, \"/>
  572. \t<meta name=\"author\" content=\"Noel Kenfack\"/>
  573. \t<meta name=\"description\" content=\"{{ site }}\" />
  574. {% endblock %}
  575. {% block title %}
  576. \t{{ parent() }} - Détails du service ..
  577. {% endblock %}
  578. {% block userblog_body %}
  579.   <style>
  580.     {# .content{
  581. \t\tbackground-color: #268dcf;
  582. \t}
  583.   .wrap {
  584. \t\tpadding-top: 8px;
  585. \t\tpadding-bottom: 8px;
  586. \t\tbox-shadow: 0 5px 5px #fff;
  587. \t}
  588. \t.breadcrumb {
  589. \t\twidth: 100%;
  590. \t\tmargin: auto;
  591. \t\tdisplay: flex;
  592. \t}
  593. \t.breadcrumb li {
  594. \t\tpadding-right: 0 20px;
  595. \t}
  596. \t.breadcrumb a {
  597. \t\ttext-decoration: none;
  598. \t\tcolor: aliceblue;
  599. \t\tfont-weight: 700;
  600. \t\ttransition: 0.5s;
  601. \t}
  602. \t.breadcrumb li + li {
  603. \t\tpadding-left: 0;
  604. \t}
  605. \t.breadcrumb li + li:before {
  606. \t\tcontent: '>';
  607. \t\tcolor: #3b3b3bff;
  608. \t\tmargin-right: 20px;
  609. \t}
  610. \t.breadcrumb li:last-child a,
  611. \t.breadcrumb a:hover {
  612. \t\tcolor: #e2ebf3;
  613. \t\tborder-radius: 35px;
  614. \t\tbackground-color: #82ccdd;
  615. \t\tpadding: 5px 10px;
  616. \t} #}
  617. \t{# End Breadcrumb #}
  618. \t{# card #}
  619. \t{# :root {
  620.   --swiper-pagination-color: #fff;
  621.   --swiper-pagination-bullet-inactive-color: #fff;
  622.   } #}
  623.   {# CSS FAQ #}
  624.   .faq-section {
  625.   max-width: 800px;
  626.  /* margin: 0px auto;*/
  627.   padding: 0 0 20px 10px;
  628.   font-family: \"Segoe UI\", sans-serif;
  629.   box-shadow: 1px 1px 3px 3px rgba(0, 0, 0, 0.13); /* Ombre au survol */
  630.  
  631. }
  632. .faq-container {
  633.   /*overflow-y: auto;*/
  634. }
  635. /* Barre de défilement */
  636. /*.faq-container::-webkit-scrollbar {
  637.   width: 10px;  Largeur de la barre de défilement 
  638. } */
  639. .faq-title {
  640.   /* text-align: center; */
  641.   font-size: 2rem;
  642.   margin-bottom: 20px;
  643. }
  644. .faq-item {
  645.   border-bottom: 1px solid #ddd;
  646.   padding: 10px 0;
  647. }
  648. .faq-question {
  649.   width: 100%;
  650.   background: none;
  651.   border: none;
  652.   outline: none;
  653.   text-align: left;
  654.   font-size: 1.1rem;
  655.   font-weight: 600;
  656.   cursor: pointer;
  657.   display: flex;
  658.   justify-content: space-between;
  659.   align-items: center;
  660.   padding: 10px 0;
  661. }
  662. .faq-question .icon {
  663.   transition: transform 0.3s ease;
  664.   font-weight: bold;
  665.   font-size: 1.2rem;
  666. }
  667. .faq-answer {
  668.   max-height: 0;
  669.   overflow: hidden;
  670.   transition: max-height 0.4s ease, padding 0.3s ease;
  671.   padding: 0 0;
  672. }
  673. .faq-answer p {
  674.   margin: 10px 0;
  675. }
  676. .faq-item.active .faq-answer {
  677.   max-height: 200px; /* enough for content */
  678.   padding: 10px 0;
  679. }
  680. .faq-item.active .faq-question .icon {
  681.   transform: rotate(180deg);
  682.   content: \"–\";
  683. }
  684. {# css indice sections  #}
  685.     .section-head.center.wt-small-separator-outer {
  686.         margin-bottom: 50px;
  687.         text-align: left;
  688.     }
  689.     .section-head {
  690.         position: relative;
  691.     }
  692.     .site-text-primary, .wt-small-separator {
  693.         color: #ea130e;
  694.     }
  695.     .wt-small-separator {
  696.         font-family: \"Heebo\", sans-serif;
  697.         text-transform: uppercase;
  698.         letter-spacing: 1px;
  699.         padding-right: 40px;
  700.         font-size: 26px;
  701.         line-height: 26px;
  702.         margin-bottom: 15px;
  703.         position: relative;
  704.         display: inline-block;
  705.         font-weight: 700;
  706.     }
  707.     .section-head.center .wt-small-separator div.sep-leaf-left {
  708.         position: relative;
  709.     }
  710.     .section-head.center .wt-small-separator div.sep-leaf-left:before, .section-head.center .wt-small-separator div.sep-leaf-left:after {
  711.         background-color: #ea130e;
  712.     }
  713.     .section-head.center .wt-small-separator div.sep-leaf-left:before {
  714.         right: -20px;
  715.         width: 10px;
  716.     }
  717.     .section-head.center .wt-small-separator div.sep-leaf-left:before, .section-head.center .wt-small-separator div.sep-leaf-left:after {
  718.         position: absolute;
  719.         content: '';
  720.         height: 22px;
  721.         bottom: 0px;
  722.         top: 0px;
  723.         transform: skew(-20deg);
  724.     }
  725.     .section-head.center .wt-small-separator div.sep-leaf-left:after {
  726.         right: -27px;
  727.         width: 4px;
  728.     }
  729.     .section-head.center.wt-small-separator-outer h2 {
  730.         max-width: 630px;
  731.         margin: 0px auto;
  732.     }
  733. </style>
  734. <!-- CTA Section -->
  735. <section class=\"cta \" style=\"padding: 1rem 0;\">
  736. \t<div class=\"container\">
  737. \t\t<div class=\"section-head center wt-small-separator-outer mt-3 text-center\" style=\"margin-bottom: 0px;\">
  738. \t\t\t<div class=\"wt-small-separator site-text-primary\">
  739. \t\t\t\t<div class=\"sep-leaf-left\"></div>
  740. \t\t\t\t<div>À propos</div>
  741. \t\t\t</div>
  742. \t\t</div>
  743. \t\t<div>Cette section présente notre cabinet comptable, mettant en lumière notre mission, nos valeurs et notre engagement envers nos clients. Avec une équipe d'experts passionnés, nous nous consacrons à fournir des services de qualité, adaptés à chaque situation, pour accompagner nos clients vers le succès financier.</div>
  744. \t</div>
  745. </section>
  746. <!-- more event -->
  747. {# <section class=\"section-sm\" style=\"min-height: 800px;\"> #}
  748.   <section class=\"section-sm\">
  749. \t\t<div class=\"content\" style=\"padding-bottom: 5px;\">
  750. \t\t\t<div class=\"wrap\">
  751. \t\t\t\t<div class=\"container\">
  752. \t\t\t\t\t<ol class=\"breadcrumb\">
  753. \t\t\t\t\t\t<li href=\"#\">
  754. \t\t\t\t\t\t\t<a>Home</a>
  755. \t\t\t\t\t\t</li>
  756. \t\t\t\t\t\t<li href=\"#\">
  757. \t\t\t\t\t\t\t<a>A propos</a>
  758. \t\t\t\t\t\t</li>
  759. \t\t\t\t\t</ol>
  760. \t\t\t\t</div>
  761. \t\t\t</div>
  762. \t\t</div>
  763.   </section>
  764.   <section style=\"margin-top: 20px; margin-bottom: 80px;\">
  765.     <div class=\"container\">
  766.       <div class=\"row\">
  767.         <div class=\"col-md-7\">
  768.           <img src=\"{{ asset('templateSyscofie/images/homme-d-affaires-souriant.jpg') }}\" alt=\"Image Syscofie Consulting\">
  769.             <div class=\"faq active\">
  770.               <h3 class=\"faq-title\">Mission</h3>
  771.               <p class=\"faq-text\">
  772.                 Notre engagement se concentre sur la fourniture de services de qualité, respectant l’intégrité et la transparence, afin de soutenir les clients dans l'atteinte de leurs objectifs financiers.
  773.               </p>
  774.               <button class=\"faq-toggle\">
  775.                 <i class=\"bi bi-chevron-down\"></i>
  776.                 <i class=\"fas fa-times\"></i>
  777.               </button>
  778.             </div>
  779.             <div class=\"faq active\">
  780.               <h3 class=\"faq-title\">Vision
  781.               </h3>
  782.               <p class=\"faq-text\">
  783.                 Notre aspiration est de devenir un leader dans le secteur, en innovant et en adaptant nos pratiques pour anticiper les besoins des clients et améliorer leur expérience.
  784.               </p>
  785.               <button class=\"faq-toggle\">
  786.                 <i class=\"bi bi-chevron-down\"></i>
  787.                 <i class=\"fas fa-times\"></i>
  788.               </button>
  789.             </div>
  790.             <div class=\"faq active\">
  791.               <h3 class=\"faq-title\">Valeurs
  792.               </h3>
  793.               <p class=\"faq-text\">
  794.                 Nos valeurs sont l'intégrité, la précision, la transparence, le respect des délais et la responsabilité, garantissant des services fiables et un soutien efficace à tous nos clients.
  795.               </p>
  796.               <button class=\"faq-toggle\">
  797.                 <i class=\"bi bi-chevron-down\"></i>
  798.                 <i class=\"fas fa-times\"></i>
  799.               </button>
  800.             </div>
  801.             <div class=\"faq active\">
  802.               <h3 class=\"faq-title\">Reconnaissance
  803.               </h3>
  804.               <p class=\"faq-text\">
  805.                 La reconnaissance en comptabilité valorise les efforts et les contributions, favorisant un environnement de confiance. Elle renforce les relations professionnelles et stimule l'engagement, essentielle pour une collaboration efficace.
  806.               </p>
  807.               <button class=\"faq-toggle\">
  808.                 <i class=\"bi bi-chevron-down\"></i>
  809.                 <i class=\"fas fa-times\"></i>
  810.               </button>
  811.             </div>
  812.           {#<div style=\"background: #ffffffff; padding-top: 20px;\">
  813. \t\t      \t<div class=\"my-div\">
  814. \t\t      \t\t<section class=\"testing\" style=\"width: 100%;\">
  815. \t\t      \t\t\t<div class=\"description2 to-expand\">
  816. \t\t      \t\t\t\t<h2>Mission</h2>
  817. \t\t      \t\t\t\t<p>Notre engagement se concentre sur la fourniture de services de qualité, respectant l’intégrité et la transparence, afin de soutenir les clients dans l'atteinte de leurs objectifs financiers.</p>
  818. \t\t      \t\t\t</div>
  819. \t\t      \t\t</section>
  820. \t\t      \t</div>
  821. \t\t      </div>
  822.           <div style=\"background: #ffffffff; padding-top: 20px;\">
  823. \t\t      \t<div class=\"my-div\">
  824. \t\t      \t\t<section class=\"testing\" style=\"width: 100%;\">
  825. \t\t      \t\t\t<div class=\"description2 to-expand\">
  826. \t\t      \t\t\t\t<h2>vision</h2>
  827. \t\t      \t\t\t\t<p>Notre aspiration est de devenir un leader dans le secteur, en innovant et en adaptant nos pratiques pour anticiper les besoins des clients et améliorer leur expérience.</p>
  828. \t\t      \t\t\t</div>
  829. \t\t      \t\t</section>
  830. \t\t      \t</div>
  831. \t\t      </div>
  832.           <div style=\"background: #ffffffff; padding-top: 20px;\">
  833. \t\t      \t<div class=\"my-div\">
  834. \t\t      \t\t<section class=\"testing\" style=\"width: 100%;\">
  835. \t\t      \t\t\t<div class=\"description2 to-expand\">
  836. \t\t      \t\t\t\t<h2>Nos valeurs</h2>
  837. \t\t      \t\t\t\t<p>Nos valeurs sont l'intégrité, la précision, la transparence, le respect des délais et la responsabilité, garantissant des services fiables et un soutien efficace à tous nos clients.</p>
  838. \t\t      \t\t\t</div>
  839. \t\t      \t\t</section>
  840. \t\t      \t</div>
  841. \t\t      </div>
  842.           <div style=\"background: #ffffffff; padding-top: 20px; padding-bottom: 60px;\">
  843. \t\t      \t<div class=\"my-div\">
  844. \t\t      \t\t<section class=\"testing\" style=\"width: 100%;\">
  845. \t\t      \t\t\t<div class=\"description2 to-expand\">
  846. \t\t      \t\t\t\t<h2>Reconnaissance</h2>
  847. \t\t      \t\t\t\t<p>La reconnaissance en comptabilité valorise les efforts et les contributions, favorisant un environnement de confiance. Elle renforce les relations professionnelles et stimule l'engagement, essentielle pour une collaboration efficace.</p>
  848. \t\t      \t\t\t</div>
  849. \t\t      \t\t</section>
  850. \t\t      \t</div>
  851. \t\t      </div> #}
  852.         </div>
  853.         <div class=\"col-md-5\">
  854.           <div class=\"faq-section p-3\" style=\"box-shadow: none;\">
  855.             <h2 class=\"faq-title\">Questions fréquemments posées</h2>
  856.             <div class=\"faq-container\">
  857.               <div class=\"faq-item\">
  858.                 <button class=\"faq-question\">
  859.                   Comment puis-je suivre mes documents comptables ? <span class=\"icon\">+</span>
  860.                 </button>
  861.                 <div class=\"faq-answer\">
  862.                   <p>Nous mettons en place un système de gestion documentaire sécurisé qui vous permet d'accéder à vos documents en ligne à tout moment.</p>
  863.                 </div>
  864.               </div>
  865.               <div class=\"faq-item\">
  866.                 <button class=\"faq-question\">
  867.                   Proposez-vous des conseils fiscaux ? <span class=\"icon\">+</span>
  868.                 </button>
  869.                 <div class=\"faq-answer\">
  870.                   <p>Oui, nous offrons des services de conseil fiscal pour aider nos clients à optimiser leur situation fiscale et à respecter les obligations légales.</p>
  871.                 </div>
  872.               </div>
  873.               <div class=\"faq-item\">
  874.                 <button class=\"faq-question\">
  875.                   Comment se déroule un audit comptable ? <span class=\"icon\">+</span>
  876.                 </button>
  877.                 <div class=\"faq-answer\">
  878.                   <p>Un audit comptable consiste à examiner les états financiers d'une entreprise pour vérifier leur exactitude et leur conformité aux normes comptables.</p>
  879.                 </div>
  880.               </div>
  881.               <div class=\"faq-item\">
  882.                 <button class=\"faq-question\">
  883.                   Quels services propose Syscofie ? <span class=\"icon\">+</span>
  884.                 </button>
  885.                 <div class=\"faq-answer\">
  886.                   <p>Nous proposons une gamme complète de services, y compris la comptabilité générale, la gestion de la paie, le conseil fiscal, et l'audit</p>
  887.                 </div>
  888.               </div>
  889.               <div class=\"faq-item\">
  890.                 <button class=\"faq-question\">
  891.                   Où êtes-vous situés ? <span class=\"icon\">+</span>
  892.                 </button>
  893.                 <div class=\"faq-answer\">
  894.                   <p>Notre bureau principal est situé à Yaoundé plus précisément à carrefour kameni, et nous offrons également des services à distance.</p>
  895.                 </div>
  896.               </div>
  897.               <div class=\"faq-item\">
  898.                 <button class=\"faq-question\">
  899.                   Comment puis-je vous contacter ? <span class=\"icon\">+</span>
  900.                 </button>
  901.                 <div class=\"faq-answer\">
  902.                   <p>Vous pouvez nous contacter par téléphone, par email, ou via notre formulaire de contact sur notre site web.</p>
  903.                 </div>
  904.               </div>
  905.               <div class=\"faq-item\">
  906.                 <button class=\"faq-question\">
  907.                   Quels sont vos tarifs ? <span class=\"icon\">+</span>
  908.                 </button>
  909.                 <div class=\"faq-answer\">
  910.                   <p>Nos tarifs varient en fonction des services demandés. Nous offrons des devis personnalisés après une consultation initiale.</p>
  911.                 </div>
  912.               </div>
  913.               <div class=\"faq-item\">
  914.                 <button class=\"faq-question\">
  915.                   Proposez-vous des services de comptabilité à distance ? <span class=\"icon\">+</span>
  916.                 </button>
  917.                 <div class=\"faq-answer\">
  918.                   <p>Oui, nous offrons des services de comptabilité à distance, ce qui permet à nos clients de bénéficier de nos services où qu'ils soient.</p>
  919.                 </div>
  920.               </div>
  921.               <div class=\"faq-item\">
  922.                 <button class=\"faq-question\">
  923.                   Quels sont vos horaires d'ouverture ? <span class=\"icon\">+</span>
  924.                 </button>
  925.                 <div class=\"faq-answer\">
  926.                   <p>Nous sommes ouverts du lundi à samedi, de 8h à 18h. Des rendez-vous peuvent être pris en dehors de ces heures sur demande.</p>
  927.                 </div>
  928.               </div>
  929.             </div>
  930.           </div>
  931.         </div>
  932.       </div>
  933.     </div>
  934.   </section>
  935.   {# <div class=\"container\">
  936.     {% if infoPlatformSection != null %}
  937.     {% set liste_param = infoPlatformSection.getFirstItems() %}
  938.     <div class=\"layout--tabs\">
  939.         <div class=\"nav-tabs-wrapper\">
  940.           <ul class=\"nav nav-tabs\" id=\"tabs-title-region-nav-tabs\" role=\"tablist\">
  941.             {% for param in liste_param %}
  942.             <li class=\"nav-item\">
  943.               <a class=\"nav-link {% if loop.first %}active{% endif %}\" data-toggle=\"tab\" role=\"tab\" href=\"#block-simple-text-{{ param.id }}\" aria-selected=\"false\" aria-controls=\"block-simple-text-1\" id=\"block-simple-text-1-tab\">{{ param.valeur }}</a>
  944.             </li>
  945.             {% endfor %}
  946.           </ul>
  947.         </div>
  948.         <div class=\"card\">
  949.           <div class=\"card-body\">
  950.             <div class=\"tab-content\">
  951.               
  952.               {% for param in liste_param %}
  953.               <div id=\"block-simple-text-{{ param.id }}\" class=\"tab-pane {% if loop.first %}active{% endif %} block block-layout-builder block-inline-blockqfcc-blocktype-simple-text\" role=\"tabpanel\" aria-labelledby=\"block-simple-text-1-tab\">
  954.                 <h3>{{ param.article.title }}</h3>
  955.                 <p>{{ param.article.content }}</p>
  956.               </div>
  957.               {% endfor %}
  958.             </div>
  959.           </div>
  960.         </div>
  961.     </div>
  962.     {% endif %}
  963.    
  964.   </div> #}
  965. {# </section> #}
  966. <!-- /more event -->
  967. <script>
  968.   const faqItems = document.querySelectorAll(\".faq-item\");
  969. faqItems.forEach(item => {
  970.   const btn = item.querySelector(\".faq-question\");
  971.   btn.addEventListener(\"click\", () => {
  972.     // close other items
  973.     faqItems.forEach(i => {
  974.       if (i !== item) {
  975.         i.classList.remove(\"active\");
  976.         i.querySelector(\".icon\").textContent = \"+\";
  977.       }
  978.     });
  979.     // toggle current item
  980.     item.classList.toggle(\"active\");
  981.     const icon = item.querySelector(\".icon\");
  982.     icon.textContent = item.classList.contains(\"active\") ? \"–\" : \"+\";
  983.   });
  984. });
  985.   
  986.   /*script section */
  987.   const toggleBtns= document.querySelectorAll('.faq-toggle');
  988.       toggleBtns.forEach(toggleBtn => {
  989.       toggleBtn.addEventListener('click', ()=>{
  990.       toggleBtn.parentNode.classList.toggle('active')
  991.     })
  992.   });
  993. </script>
  994. {% endblock %}
  995. {% block javascripttemplate %}
  996. /**
  997.   * Defines the bootstrap tabs handler.
  998.   *
  999.   * @param {string} element
  1000.   *  Element.
  1001.   */
  1002. var tabsActions = function (element) {
  1003.   this.element = \$(element);
  1004.   this.setup = function () {
  1005.     if (this.element.length <= 0) {
  1006.       return;
  1007.     }
  1008.     this.init();
  1009.     // Update after resize window.
  1010.     var resizeId = null;
  1011.     \$(window).resize(function () {
  1012.       clearTimeout(resizeId);
  1013.       resizeId = setTimeout(() => {this.init()}, 50);
  1014.     }.bind(this));
  1015.   };
  1016.   
  1017.   this.init = function () {
  1018.     // Add class to overflow items.
  1019.     this.actionOverflowItems();
  1020.     var tabs_overflow = this.element.find('.overflow-tab');
  1021.     // Build overflow action tab element.
  1022.     if (tabs_overflow.length > 0) {
  1023.       if (!this.element.find('.overflow-tab-action').length) {
  1024.         var tab_link = \$('<a>')
  1025.           .addClass('nav-link')
  1026.           .attr('href', '#')
  1027.           .attr('data-toggle', 'dropdown')
  1028.           .text('...')
  1029.           .on('click', function (e) {
  1030.             e.preventDefault();
  1031.             \$(this).parents('.nav.nav-tabs').children('.nav-item.overflow-tab').toggle();
  1032.           });
  1033.         var overflow_tab_action = \$('<li>')
  1034.           .addClass('nav-item')
  1035.           .addClass('overflow-tab-action')
  1036.           .append(tab_link);
  1037.         // Add hide to overflow tabs when click on any tab.
  1038.         this.element.find('.nav-link').on('click', function (e) {
  1039.           \$(this).parents('.nav.nav-tabs').children('.nav-item.overflow-tab').hide();
  1040.         });
  1041.         this.element.append(overflow_tab_action);
  1042.       }
  1043.       
  1044.       this.openOverflowDropdown();
  1045.     }
  1046.     else {
  1047.       this.element.find('.overflow-tab-action').remove();
  1048.     }
  1049. };
  1050.   this.openOverflowDropdown = function () {
  1051.     var overflow_sum_height = 0;
  1052.     var overflow_first_top = 41;
  1053.     
  1054.     this.element.find('.overflow-tab').hide();
  1055.     // Calc top position of overflow tabs.
  1056.     this.element.find('.overflow-tab').each(function () {
  1057.       var overflow_item_height = \$(this).height() - 1;
  1058.       if (overflow_sum_height === 0) {
  1059.         \$(this).css('top', overflow_first_top + 'px');
  1060.         overflow_sum_height += overflow_first_top + overflow_item_height;
  1061.       }
  1062.       else {
  1063.         \$(this).css('top', overflow_sum_height + 'px');
  1064.         overflow_sum_height += overflow_item_height;
  1065.       }
  1066.     });
  1067.   };
  1068.   this.actionOverflowItems = function () {
  1069.     var tabs_limit = this.element.width() - 100;
  1070.     var count = 0;
  1071.     
  1072.     // Calc tans width and add class to any tab that is overflow.
  1073.     for (var i = 0; i < this.element.children().length; i += 1) {
  1074.       var item = \$(this.element.children()[i]);
  1075.       if (item.hasClass('overflow-tab-action')) {
  1076.         continue;
  1077.       }
  1078.       
  1079.       count += item.width();
  1080.       if (count > tabs_limit) {
  1081.         item.addClass('overflow-tab');
  1082.       }
  1083.       else if (count < tabs_limit) {
  1084.         item.removeClass('overflow-tab');
  1085.         item.show();
  1086.       }
  1087.     }
  1088.   };
  1089. };
  1090. var tabsAction = new tabsActions('.layout--tabs .nav-tabs-wrapper .nav-tabs');
  1091. tabsAction.setup();
  1092. {% endblock %}""Theme/Produit/Service/Service/aboutstruct.html.twig""/home/syscofie/public_html/syscofie/templates/Theme/Produit/Service/Service/aboutstruct.html.twig");
  1093.     }
  1094. }