1/******* Do not edit this file ******* 2Simple Custom CSS and JS - by Silkypress.com 3Saved: Aug 25 2023 | 18:29:01 */ 4 5 6const submitForm=async e=>{e.preventDefault();const t=e.target.parentElement.querySelector(".loader");t.style.display="block";const i=e.target.querySelector("[name='cgratuit_email_input']");if(!i.value.match(/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/))return t.style.display="none",void alert("Veuillez entrer une adresse mail valide");const s=e.target.querySelector("[type='submit']");s.disabled=!0;const a=e.target.parentElement.querySelector(".submit_msg");try{if(!(await fetch("https://api.convertkit.com/v3/forms/5422013/subscribe",{method:"POST",headers:{"Content-Type":"application/json",charset:"utf-8"},body:JSON.stringify({api_key:"_U3BkhLtDKVSES6ktgAgcQ",email:i.value})})).ok)throw new Error("Une erreur est survenue");a.style.display="block",i.value="",window.location.href="https://www.francaisauthentique.com/merci-cours-gratuit",setTimeout((()=>{a.style.display="none"}),5e3)}catch(e){a.innerHTML="â Une erreur s'est produite â <br>"+(e.message.includes("fetch")?"Vérifier la connexion internet":""),a.style.display="inherit",setTimeout((()=>{a.style.display="none"}),5e3)}s.disabled=!1,t.style.display="none"},pagesToExclude=["blog","podcasts","videos","archives","category","tag", "articles-blog"].map((e=>""+(window.location.origin+"/"+e+"/"))),path=window.location.href.replace(window.location.origin,""),regex=/\/blog\/page\/[0-9]+\/{0,1}|\/podcasts\/page\/[0-9]+\/{0,1}|\/videos\/page\/[0-9]+\/{0,1}|\/archives|\/category|\/tag|\?s\=.*/gim;if(regex.test(path)&&pagesToExclude.push(`${window.location.origin+path}`), 7//! hideBottomForm is a variable defined in a separate script tag inserted on the wanted pages 8"undefined"==typeof hideBottomForm&&!pagesToExclude.includes(window.location.href)){const e=document.querySelector(".post_text_inner");e&&e.lastElementChild.insertAdjacentHTML("afterend",'<div class="cgratuit_bottom_wrapper">\n <div class="cgratuit_header">\n <div class="cgratuit_title">Rejoins ma liste de contacts privés et reçois un cours gratuit</div>\n <img src="https://www.francaisauthentique.com/wp-content/uploads/2022/08/cgfa_img.webp" alt="Cours gratuit" class="cgratuit_img">\n </div>\n <div class="cgratuit_promesse">\n <div class="promesse_title">Ce que tu recevras :</div>\n <ul class="promesse_items">\n <li>Un accès immédiat au cours "7 règles pour parler français sans bloquer"</li>\n <li>Des informations confidentielles</li>\n <li>Des conseils pour enfin progresser en français</li>\n </ul>\n </div>\n <form action="#" class="cgratuit_email_form">\n <input type="email" name="cgratuit_email_input" placeholder="Ton adresse mail" class="cgratuit_email_input">\n <input type="submit" class="cgratuit_submit_btn" value="Confirmer">\n <div class="submit_msg"></div>\n </form>\n <div class="submit_msg"></div>\n <div class="loader" style="display: none"></div>\n</div>')}document.querySelectorAll(".cgratuit_email_form").forEach((e=>e.addEventListener("submit",submitForm)));
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.