{"id":67,"date":"2026-09-14T14:01:48","date_gmt":"2026-09-14T12:01:48","guid":{"rendered":"http:\/\/localhost\/imosium\/simulateur\/"},"modified":"2026-09-19T15:21:46","modified_gmt":"2026-09-19T13:21:46","slug":"simulateur","status":"publish","type":"page","link":"https:\/\/imosium.com\/ar\/simulateur\/","title":{"rendered":"\u0645\u062d\u0627\u0643\u064a"},"content":{"rendered":"    <section class=\"section imo-not-sec\" id=\"simulateur-notaire\"><div class=\"container\">\n      <div class=\"section-head imo-not-head\"><div><span class=\"eyebrow\">Simulateur de frais de notaire<\/span><h2>Estimez vos frais de notaire en 30 secondes<\/h2><p>6 cas d\u2019achat \u00b7 r\u00e9sultat imm\u00e9diat.<\/p><\/div><\/div>\n      <div class=\"imo-not-grid\" id=\"imo-not-1\" data-bareme='{&quot;base&quot;:25000,&quot;reste&quot;:0.01,&quot;tva&quot;:0.19,&quot;publication&quot;:0.01,&quot;timbre&quot;:30,&quot;pages_defaut&quot;:10,&quot;pages_min&quot;:1,&quot;pages_max&quot;:50,&quot;prix_min&quot;:100000,&quot;prix_max&quot;:500000000,&quot;hypotheque&quot;:6000,&quot;seuil&quot;:1000000,&quot;cas&quot;:{&quot;promoteur&quot;:{&quot;label&quot;:&quot;Promoteur \\u2014 1\\u00e8re r\\u00e9sidence&quot;,&quot;sub&quot;:&quot;Enregistrement 0% acheteur&quot;,&quot;enreg&quot;:0,&quot;hypo&quot;:0},&quot;ancien&quot;:{&quot;label&quot;:&quot;Bien ancien entre particuliers&quot;,&quot;sub&quot;:&quot;Enregistrement 2,5%&quot;,&quot;enreg&quot;:0.025,&quot;hypo&quot;:0},&quot;terrain&quot;:{&quot;label&quot;:&quot;Terrain&quot;,&quot;sub&quot;:&quot;2,5%&quot;,&quot;enreg&quot;:0.025,&quot;hypo&quot;:0},&quot;commercial&quot;:{&quot;label&quot;:&quot;Local commercial&quot;,&quot;sub&quot;:&quot;2,5%&quot;,&quot;enreg&quot;:0.025,&quot;hypo&quot;:0},&quot;investissement&quot;:{&quot;label&quot;:&quot;Investissement (d\\u00e9j\\u00e0 propri\\u00e9taire)&quot;,&quot;sub&quot;:&quot;2,5%&quot;,&quot;enreg&quot;:0.025,&quot;hypo&quot;:0},&quot;credit&quot;:{&quot;label&quot;:&quot;Achat via cr\\u00e9dit bancaire&quot;,&quot;sub&quot;:&quot;+6 000 DA hypoth\\u00e8que&quot;,&quot;enreg&quot;:0.025,&quot;hypo&quot;:1}}}' data-wa=\"213560066466\" data-nonce=\"8d9628611a\" data-ajax=\"https:\/\/imosium.com\/wp-admin\/admin-ajax.php\">\n        <div class=\"imo-not-left\">\n          <h2 class=\"imo-not-title\">Estimez vos frais de notaire en 30 secondes<\/h2>\n          <p class=\"imo-not-step\">1 \u00b7 Prix du bien (DA)<\/p>\n          <div class=\"imo-not-price\"><input type=\"text\" inputmode=\"numeric\" autocomplete=\"off\" value=\"25 000 000\" aria-label=\"Prix du bien en DA\" data-f=\"prix\"><span>DA<\/span><\/div>\n          <input type=\"range\" class=\"imo-not-range\" min=\"100000\" max=\"500000000\" step=\"50000\" value=\"25000000\" aria-label=\"Curseur prix du bien\" data-f=\"slider\">\n          <p class=\"imo-not-range-scale\">100 000 \u2192 500 000 000 DA<\/p>\n          <p class=\"imo-not-err\" data-e=\"prix\" hidden><\/p>\n          <p class=\"imo-not-step\">2 \u00b7 Votre cas d\u2019achat<\/p>\n          <div class=\"imo-not-cases\" role=\"radiogroup\" aria-label=\"Cas d\u2019achat\">\n                        <label class=\"imo-not-case\"><input type=\"radio\" name=\"imo-not-1-cas\" value=\"promoteur\" checked><span class=\"imo-not-case-t\">Promoteur \u2014 1\u00e8re r\u00e9sidence<\/span><span class=\"imo-not-case-s\">Enregistrement 0% acheteur<\/span><\/label>\n                        <label class=\"imo-not-case\"><input type=\"radio\" name=\"imo-not-1-cas\" value=\"ancien\"><span class=\"imo-not-case-t\">Bien ancien entre particuliers<\/span><span class=\"imo-not-case-s\">Enregistrement 2,5%<\/span><\/label>\n                        <label class=\"imo-not-case\"><input type=\"radio\" name=\"imo-not-1-cas\" value=\"terrain\"><span class=\"imo-not-case-t\">Terrain<\/span><span class=\"imo-not-case-s\">2,5%<\/span><\/label>\n                        <label class=\"imo-not-case\"><input type=\"radio\" name=\"imo-not-1-cas\" value=\"commercial\"><span class=\"imo-not-case-t\">Local commercial<\/span><span class=\"imo-not-case-s\">2,5%<\/span><\/label>\n                        <label class=\"imo-not-case\"><input type=\"radio\" name=\"imo-not-1-cas\" value=\"investissement\"><span class=\"imo-not-case-t\">Investissement (d\u00e9j\u00e0 propri\u00e9taire)<\/span><span class=\"imo-not-case-s\">2,5%<\/span><\/label>\n                        <label class=\"imo-not-case\"><input type=\"radio\" name=\"imo-not-1-cas\" value=\"credit\"><span class=\"imo-not-case-t\">Achat via cr\u00e9dit bancaire<\/span><span class=\"imo-not-case-s\">+6 000 DA hypoth\u00e8que<\/span><\/label>\n                      <\/div>\n          <div class=\"imo-not-pages\"><span>3 \u00b7 Pages de l\u2019acte<\/span><input type=\"number\" min=\"1\" max=\"50\" step=\"1\" value=\"10\" data-f=\"pages\" aria-label=\"Nombre de pages de l\u2019acte\"><\/div>\n          <p class=\"imo-not-pages-hint\">1 \u00e0 50 \u00b7 d\u00e9faut 10<\/p>\n          <p class=\"imo-not-err\" data-e=\"pages\" hidden><\/p>\n        <\/div>\n        <div class=\"imo-not-result\" aria-live=\"polite\">\n          <small>Votre estimation<\/small>\n          <strong data-r=\"total\">\u2014<\/strong>\n          <div class=\"imo-not-lines\">\n            <div><span>Honoraires notaire TTC<\/span><b data-r=\"h\">\u2014<\/b><\/div>\n            <div><span data-r=\"e-label\">Enregistrement<\/span><b data-r=\"e\">\u2014<\/b><\/div>\n            <div><span>Publication fonci\u00e8re<\/span><b data-r=\"p\">\u2014<\/b><\/div>\n            <div data-row=\"hyp\" hidden><span>Frais d\u2019hypoth\u00e8que<\/span><b data-r=\"hyp\">\u2014<\/b><\/div>\n            <div><span data-r=\"t-label\">Timbre<\/span><b data-r=\"t\">\u2014<\/b><\/div>\n          <\/div>\n          <div class=\"imo-not-bar\" aria-hidden=\"true\"><i data-b=\"h\"><\/i><i data-b=\"e\"><\/i><i data-b=\"p\"><\/i><i data-b=\"hyp\"><\/i><i data-b=\"t\"><\/i><\/div>\n          <button type=\"button\" class=\"imo-not-ghost\" data-a=\"pdf\"><i class=\"fa fa-file-pdf\"><\/i> T\u00e9l\u00e9charger votre estimation<\/button>\n          <p class=\"imo-not-note\">Estimation indicative, non contractuelle. Montants en dinars alg\u00e9riens (DA).<\/p>\n          <button type=\"button\" class=\"imo-not-reset\" data-a=\"reset\">Nouvelle simulation<\/button>\n        <\/div>\n      <\/div>\n      <div class=\"imo-not-sticky\"><div><small>Total estim\u00e9<\/small><strong data-r=\"total\">\u2014<\/strong><\/div><button type=\"button\" data-a=\"lead\">Recevoir le d\u00e9tail<\/button><\/div>\n      <div class=\"imo-not-modal\" data-m=\"overlay\" hidden><div class=\"imo-not-dialog\" role=\"dialog\" aria-modal=\"true\" aria-label=\"Recevoir votre estimation\">\n        <button type=\"button\" class=\"imo-not-x\" data-a=\"close\" aria-label=\"Fermer\">\u00d7<\/button>\n        <div data-m=\"form\">\n          <h3>Recevoir votre estimation<\/h3>\n          <p>Le d\u00e9tail poste par poste, avec le contact d\u2019un conseiller.<\/p>\n          <label>Nom et pr\u00e9nom *<input type=\"text\" placeholder=\"Nom et pr\u00e9nom\" data-l=\"nom\" autocomplete=\"name\"><\/label>\n          <p class=\"imo-not-err\" data-e=\"nom\" hidden><\/p>\n          <label>T\u00e9l\u00e9phone *<input type=\"tel\" placeholder=\"05XX XX XX XX\" data-l=\"tel\" autocomplete=\"tel\"><\/label>\n          <p class=\"imo-not-err\" data-e=\"tel\" hidden><\/p>\n          <label>Email *<input type=\"email\" placeholder=\"vous@exemple.com\" data-l=\"email\" autocomplete=\"email\"><\/label>\n          <p class=\"imo-not-err\" data-e=\"email\" hidden><\/p>\n          <label class=\"imo-not-consent\"><input type=\"checkbox\" data-l=\"consent\"> J\u2019accepte d\u2019\u00eatre contact\u00e9(e) par un conseiller IMOSIUM au sujet de mon projet. *<\/label>\n          <p class=\"imo-not-err\" data-e=\"consent\" hidden><\/p>\n          <p class=\"imo-not-status\" data-m=\"status\" hidden><\/p>\n          <button type=\"button\" class=\"imo-not-cta\" data-a=\"sendmail\">Recevoir par email<\/button>\n          <button type=\"button\" class=\"imo-not-ghost\" data-a=\"send\">Continuer sur WhatsApp<\/button>\n          <button type=\"button\" class=\"imo-not-ghost\" data-a=\"close\">Non merci, garder le r\u00e9sultat \u00e0 l\u2019\u00e9cran<\/button>\n        <\/div>\n        <div data-m=\"done\" hidden>\n          <h3>Merci <span data-m=\"name\"><\/span> !<\/h3>\n          <p data-m=\"recap\"><\/p>\n          <p class=\"imo-not-note\">Un conseiller IMOSIUM vous r\u00e9pondra apr\u00e8s votre envoi.<\/p>\n          <a class=\"imo-not-cta\" href=\"https:\/\/imosium.com\/ar\/residences\">Voir un bien correspondant \u00e0 ce budget<\/a>\n          <button type=\"button\" class=\"imo-not-ghost\" data-a=\"reset\">Nouvelle simulation<\/button>\n        <\/div>\n      <\/div><\/div>\n      <div class=\"imo-not-print\" aria-hidden=\"true\"><div class=\"imo-not-print-head\"><img decoding=\"async\" src=\"https:\/\/imosium.com\/wp-content\/themes\/imosium-theme-v14\/assets\/brand\/logo-imo2.png\" alt=\"IMOSIUM PROMOTION\"><div><strong>IMOSIUM PROMOTION<\/strong><span>0560 066 466 \u00b7 39, Coop les Communaux Kouba - Alger<\/span><\/div><\/div><h2>Estimation de frais de notaire<\/h2><p data-p=\"meta\"><\/p><table><tbody data-p=\"rows\"><\/tbody><tfoot><tr><th>Total estim\u00e9<\/th><th data-p=\"total\"><\/th><\/tr><\/tfoot><\/table><p>Estimation indicative, non contractuelle. Montants en dinars alg\u00e9riens (DA).<\/p><\/div>\n      <noscript><div class=\"imo-not-noscript\"><p>Activez JavaScript pour le calcul instantan\u00e9, ou contactez un conseiller : 0560 066 466.<\/p><\/div><\/noscript>\n    <\/div><\/section>\n    <script src=\"https:\/\/cdn.jsdelivr.net\/npm\/jspdf@2.5.1\/dist\/jspdf.umd.min.js\" defer><\/script>\n    <script>(function(){var root=document.getElementById('imo-not-1');if(!root)return;var scope=(root.closest&&root.closest('section'))||root.parentElement||document;var B;try{B=JSON.parse(root.getAttribute('data-bareme'));}catch(e){return;}var wa=root.getAttribute('data-wa')||'';var dl=function(o){try{window.dataLayer=window.dataLayer||[];window.dataLayer.push(o);}catch(e){}};function fmt(n){try{return new Intl.NumberFormat('fr-FR',{maximumFractionDigits:0}).format(Math.round(n))+' DA';}catch(e){return Math.round(n)+' DA';}}function fmtPct(x){return (Math.round(x*100)\/100).toFixed(2)+'%';}function parseNum(s){var v=parseFloat(String(s==null?'':s).replace(\/[\\s\u00a0\u2024.]\/g,'').replace(',', '.'));return isNaN(v)?NaN:v;}function fmtInput(n){try{return new Intl.NumberFormat('fr-FR',{maximumFractionDigits:0}).format(Math.round(n));}catch(e){return String(Math.round(n));}}var $=function(s){return scope.querySelector(s);};var $$=function(s){return Array.prototype.slice.call(scope.querySelectorAll(s));};var casEl=function(){var el=scope.querySelector('input[name=\"imo-not-1-cas\"]:checked');return el?el.value:'promoteur';};var prixIn=$('[data-f=\"prix\"]'),slider=$('[data-f=\"slider\"]'),pagesIn=$('[data-f=\"pages\"]');function fill(){try{var pc=(slider.value-slider.min)\/(slider.max-slider.min)*100;slider.style.setProperty('--p',pc+'%');}catch(e){}}var state={prix:25000000,pages:10,confirmedHigh:false,valid:false,last:null};function err(k,m){var el=scope.querySelector('[data-e=\"'+k+'\"]');if(!el)return;if(m){el.textContent=m;el.hidden=false;}else{el.hidden=true;}}function setValid(v){state.valid=v;$$('[data-a=\"lead\"],[data-a=\"pdf\"]').forEach(function(b){if(v){b.removeAttribute('disabled');}else{b.setAttribute('disabled','disabled');}});}function out(k,t){$$('[data-r=\"'+k+'\"]').forEach(function(el){el.textContent=t;});}function calc(){var cas=casEl(),c=B.cas[cas]||B.cas.promoteur;var prix=state.prix,pages=state.pages;err('prix',null);err('pages',null);if(isNaN(prix)){err('prix','Veuillez indiquer le prix du bien.');setValid(false);out('total','\u2014');out('pct','');return;}if(prix<B.prix_min){err('prix','Le montant saisi semble trop faible. Merci de v\u00e9rifier le prix du bien (en DA).');setValid(false);out('total','\u2014');out('pct','');return;}if(!(pages>=B.pages_min&&pages<=B.pages_max)){err('pages','Le nombre de pages doit \u00eatre compris entre 1 et 50.');setValid(false);return;}var H=Math.round((B.base+B.reste*Math.max(0,prix-(B.seuil||1000000)))*(1+B.tva));var E=Math.round(prix*c.enreg);var P=Math.round(prix*B.publication);var Hyp=c.hypo?B.hypotheque:0;var T=B.timbre*pages;var tot=H+E+P+Hyp+T;state.last={cas:cas,casLabel:c.label,prix:prix,pages:pages,H:H,E:E,P:P,Hyp:Hyp,T:T,tot:tot};setValid(true);out('total',fmt(tot));out('pct','soit '+fmtPct(tot\/prix*100)+' du prix du bien');out('h',fmt(H));out('e',fmt(E));out('p',fmt(P));out('hyp',fmt(Hyp));out('t',fmt(T));var el=scope.querySelector('[data-r=\"e-label\"]');if(el)el.textContent=c.enreg>0?('Enregistrement acheteur ('+fmtPct(c.enreg*100)+')'):'Enregistrement acheteur';var tl=scope.querySelector('[data-r=\"t-label\"]');if(tl)tl.textContent='Timbre ('+pages+'\u00d730 DA)';var hr=scope.querySelector('[data-row=\"hyp\"]');if(hr)hr.hidden=!c.hypo;var segs={h:H,e:E,p:P,hyp:Hyp,t:T};Object.keys(segs).forEach(function(k){var b=scope.querySelector('[data-b=\"'+k+'\"]');if(b)b.style.width=(tot>0?Math.max(1,segs[k]\/tot*100):0)+'%';});fillPrint();}function fillPrint(){var L=state.last;if(!L)return;var pr=scope.querySelector('[data-p=\"rows\"]');var meta=scope.querySelector('[data-p=\"meta\"]');var tt=scope.querySelector('[data-p=\"total\"]');if(meta)meta.textContent=L.casLabel+' \u00b7 Prix : '+fmt(L.prix)+' \u00b7 '+L.pages+' pages \u00b7 '+new Date().toLocaleDateString('fr-FR');if(tt)tt.textContent=fmt(L.tot);if(pr){var rows=[['Honoraires notaire TTC',fmt(L.H)],['Enregistrement',fmt(L.E)],['Publication fonci\u00e8re',fmt(L.P)]];if(L.Hyp)rows.push(['Frais d\u2019hypoth\u00e8que',fmt(L.Hyp)]);rows.push(['Timbre',fmt(L.T)]);pr.innerHTML=rows.map(function(r){return '<tr><td>'+r[0]+'<\/td><td>'+r[1]+'<\/td><\/tr>';}).join('');}}var deb=null;prixIn.addEventListener('input',function(){var digits=prixIn.value.replace(\/[^\\d]\/g,'').slice(0,12);if(digits===''){state.prix=NaN;}else{state.prix=parseInt(digits,10);prixIn.value=fmtInput(state.prix);}state.confirmedHigh=false;try{if(!isNaN(state.prix)){slider.value=Math.min(slider.max,Math.max(slider.min,state.prix));fill();}}catch(e){}clearTimeout(deb);deb=setTimeout(calc,300);});prixIn.addEventListener('blur',function(){if(prixIn.value.trim()===''||isNaN(state.prix)){err('prix','Veuillez indiquer le prix du bien.');setValid(false);}});slider.addEventListener('input',function(){state.prix=parseInt(slider.value,10);prixIn.value=fmtInput(state.prix);state.confirmedHigh=false;fill();calc();});pagesIn.addEventListener('input',function(){var v=parseInt(pagesIn.value,10);state.pages=isNaN(v)?NaN:v;calc();});$$('input[name=\"imo-not-1-cas\"]').forEach(function(r){r.addEventListener('change',calc);});\/* seuil haut: calcul direct sans avertissement *\/$$('[data-a=\"reset\"]').forEach(function(b){b.addEventListener('click',function(){state.prix=25000000;state.pages=10;state.confirmedHigh=false;prixIn.value=fmtInput(25000000);slider.value=25000000;pagesIn.value=10;fill();var pr=scope.querySelector('input[name=\"imo-not-1-cas\"][value=\"promoteur\"]');if(pr)pr.checked=true;closeModal();calc();});});scope.querySelector('[data-a=\"pdf\"]').addEventListener('click',function(){if(!state.valid||!state.last)return;dl({event:'sim_pdf',cas_achat:state.last.cas,total_estime:state.last.tot});try{document.body.classList.add('print-notaire');}catch(e){}try{window._imoOldTitle=document.title;document.title='Estimation frais de notaire \u2014 IMOSIUM PROMOTION';}catch(e){}setTimeout(function(){try{window.print();}catch(e){}},50);});try{window.addEventListener('afterprint',function(){try{document.body.classList.remove('print-notaire');}catch(e){}try{if(window._imoOldTitle)document.title=window._imoOldTitle;}catch(e){}});}catch(e){}var overlay=scope.querySelector('[data-m=\"overlay\"]');function openModal(){if(!state.valid||!state.last)return;var f=scope.querySelector('[data-m=\"form\"]'),d=scope.querySelector('[data-m=\"done\"]');if(f)f.hidden=false;if(d)d.hidden=true;overlay.hidden=false;try{document.body.style.overflow='hidden';}catch(e){}var nom=scope.querySelector('[data-l=\"nom\"]');if(nom)nom.focus();}function closeModal(){overlay.hidden=true;try{document.body.style.overflow='';}catch(e){}}$$('[data-a=\"lead\"]').forEach(function(b){b.addEventListener('click',openModal);});\nfunction pdfTable(doc,rows,y){var M=15,W=210;doc.setFontSize(10.5);rows.forEach(function(r,i){var h=8;if(y+h>282){doc.addPage();y=15;}if(i%2===0){doc.setFillColor(245,241,230);doc.rect(M,y-5.5,W-2*M,h,'F');}doc.setTextColor(90,90,90);doc.setFont('helvetica','normal');doc.text(String(r[0]),M+4,y);doc.setTextColor(25,25,25);doc.setFont('helvetica','bold');doc.text(String(r[1]),W-M-4,y,{align:'right'});y+=h;});return y;}\nfunction buildPdf(){var L=state.last;if(!L||!window.jspdf||!window.jspdf.jsPDF)return null;try{var HTex=B.base+B.reste*Math.max(0,L.prix-(B.seuil||1000000));var HT=Math.round(HTex),TVA=Math.round(HTex*B.tva);var dzd=function(n){return fmt(n).replace(\/ DA$\/,' DZD');};var doc=new window.jspdf.jsPDF({unit:'mm',format:'a4'});var W=210,M=15;doc.setFillColor(16,29,24);doc.rect(0,0,W,50,'F');doc.setTextColor(124,186,69);doc.setFont('helvetica','bold');doc.setFontSize(12);doc.text('IMOSIUM PROMOTION',M,15);doc.setTextColor(255,255,255);doc.setFontSize(23);doc.text('R\u00e9capitulatif estimatif',M,28);doc.setFontSize(10.5);doc.setFont('helvetica','normal');doc.setTextColor(225,225,225);doc.text('Frais de notaire \u2014 Simulateur IMOSIUM',M,36);var y=60;doc.setFontSize(11);doc.setTextColor(40,40,40);var dateStr='';try{dateStr=new Date().toLocaleDateString('fr-FR',{day:'numeric',month:'long',year:'numeric'});}catch(e){dateStr=new Date().toLocaleDateString('fr-FR');}doc.text('G\u00e9n\u00e9r\u00e9 le : '+dateStr,M,y);y+=9;y=pdfTable(doc,[['Projet',L.casLabel],['Situation d\u2019achat',L.casLabel],['Cr\u00e9dit bancaire',L.cas==='credit'?'Oui':'Non'],['Budget global',dzd(L.prix)],['Pages de l\u2019acte',String(L.pages)]],y)+7;doc.setFontSize(15);doc.setFont('helvetica','bold');doc.setTextColor(30,30,30);doc.text('D\u00e9tail des frais de notaire estim\u00e9s',M,y);y+=8;doc.setFont('helvetica','normal');var tlab=L.pages>1?'Timbre ('+L.pages+' pages)':'Timbre (1 page)';y=pdfTable(doc,[['R\u00e9mun\u00e9ration du notaire',dzd(HT)],['Enregistrement \u2014 part acheteur',dzd(L.E)],['Publication \u2014 part acheteur',dzd(L.P)],['TVA sur r\u00e9mun\u00e9ration',dzd(TVA)],['Frais d\u2019hypoth\u00e8que',dzd(L.Hyp)],[tlab,dzd(L.T)]],y)+5;doc.setFillColor(124,186,69);doc.rect(M,y-6.5,W-2*M,12,'F');doc.setTextColor(255,255,255);doc.setFont('helvetica','bold');doc.setFontSize(12);doc.text('Total estim\u00e9 des frais de notaire',M+4,y+2);doc.text(dzd(L.tot),W-M-4,y+2,{align:'right'});y+=14;doc.setFontSize(9);doc.setFont('helvetica','normal');doc.setTextColor(110,110,110);var legal='Cette estimation provient du bar\u00e8me int\u00e9gr\u00e9 au simulateur. Elle est informative, ne constitue pas un devis ni un engagement contractuel et doit \u00eatre confirm\u00e9e par un notaire avant toute d\u00e9cision ou signature.';var sp=doc.splitTextToSize(legal,W-2*M);doc.text(sp,M,y);y+=sp.length*4+6;doc.setDrawColor(124,186,69);doc.setLineWidth(0.8);doc.line(M,y,W-M,y);y+=6;doc.setFontSize(10);doc.setTextColor(40,40,40);doc.setFont('helvetica','bold');doc.text('IMOSIUM PROMOTION \u00b7 T\u00e9l. : 0560 066 466',M,y);y+=5;doc.setFont('helvetica','normal');doc.text('Adresse : 39, Coop les Communaux Kouba - Alger',M,y);return doc.output('datauristring');}catch(e){return null;}}\nvar sendingMail=false;var sendMailBtn=scope.querySelector('[data-a=\"sendmail\"]');if(sendMailBtn){sendMailBtn.addEventListener('click',function(){if(sendingMail)return;err('nom',null);err('tel',null);err('email',null);err('consent',null);var nomEl=scope.querySelector('[data-l=\"nom\"]'),telEl=scope.querySelector('[data-l=\"tel\"]'),emailEl=scope.querySelector('[data-l=\"email\"]'),consEl=scope.querySelector('[data-l=\"consent\"]');var st=scope.querySelector('[data-m=\"status\"]');var say=function(m,ok){if(!st)return;st.textContent=m;st.hidden=false;st.className='imo-not-status '+(ok?'ok':'ko');};if(st)st.hidden=true;var ok=true;var nv=((nomEl&&nomEl.value)||'').trim();if(!\/^[A-Za-z\u00c0-\u00ff][A-Za-z\u00c0-\u00ff\\s'-]{1,60}$\/.test(nv)){err('nom','Veuillez indiquer votre nom et pr\u00e9nom.');ok=false;}var digits=(((telEl&&telEl.value)||'').replace(\/\\D\/g,''));if(digits.indexOf('213')===0&&digits.length===12)digits='0'+digits.slice(3);if(!\/^0[5-7]\\d{8}$\/.test(digits)){err('tel','Veuillez saisir un num\u00e9ro de t\u00e9l\u00e9phone alg\u00e9rien valide (ex : 0555 12 34 56).');ok=false;}var emv=(((emailEl&&emailEl.value)||'').trim());if(!\/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$\/.test(emv)){err('email','Veuillez saisir une adresse email valide.');ok=false;}if(!consEl||!consEl.checked){err('consent','Merci d\u2019accepter d\u2019\u00eatre contact\u00e9(e) pour recevoir votre estimation.');ok=false;}if(!ok||!state.last)return;if(!window.jspdf){say('G\u00e9n\u00e9ration PDF indisponible (connexion requise). Utilisez WhatsApp.',false);return;}var btn=this;sendingMail=true;btn.setAttribute('disabled','disabled');say('Envoi en cours\u2026',true);var L=state.last;var pdfData=buildPdf();if(!pdfData){sendingMail=false;btn.removeAttribute('disabled');say('PDF indisponible pour le moment. Utilisez WhatsApp.',false);return;}var HTex2=B.base+B.reste*Math.max(0,L.prix-(B.seuil||1000000));var pairs=[['Cas',L.casLabel],['Prix du bien',fmt(L.prix)],['Pages',String(L.pages)],['R\u00e9mun\u00e9ration HT',fmt(Math.round(HTex2))],['TVA 19%',fmt(Math.round(HTex2*B.tva))],['Enregistrement',fmt(L.E)],['Publication',fmt(L.P)],['Hypoth\u00e8que',fmt(L.Hyp)],['Timbre',fmt(L.T)],['Total',fmt(L.tot)]];var fd=new FormData();fd.append('action','imosium_send_estimation');fd.append('nonce',root.getAttribute('data-nonce')||'');fd.append('nom',nv);fd.append('tel',digits);fd.append('email',emv);fd.append('consent','1');fd.append('summary',L.casLabel+' \u00b7 '+fmt(L.prix)+' \u00b7 '+L.pages+' pages \u00b7 Total '+fmt(L.tot));fd.append('lines',JSON.stringify(pairs));fd.append('pdf',pdfData);fetch(root.getAttribute('data-ajax')||'\/wp-admin\/admin-ajax.php',{method:'POST',body:fd,credentials:'same-origin'}).then(function(r){return r.json();}).then(function(j){sendingMail=false;btn.removeAttribute('disabled');if(j&&j.success){var f=scope.querySelector('[data-m=\"form\"]'),d=scope.querySelector('[data-m=\"done\"]');if(f)f.hidden=true;if(d){d.hidden=false;var nm=d.querySelector('[data-m=\"name\"]');if(nm)nm.textContent=nv.split(' ')[0];var rc=d.querySelector('[data-m=\"recap\"]');if(rc)rc.textContent='Votre estimation de '+fmt(L.tot)+' a \u00e9t\u00e9 envoy\u00e9e \u00e0 '+emv+'.';}dl({event:'sim_lead_email',cas_achat:L.cas,total_estime:L.tot});}else{var m=(j&&j.data&&j.data.message)||'Envoi impossible. R\u00e9essayez ou utilisez WhatsApp.';say(m,false);}}).catch(function(){sendingMail=false;btn.removeAttribute('disabled');say('Impossible de contacter le serveur. V\u00e9rifiez votre connexion ou utilisez WhatsApp.',false);});});}$$('[data-a=\"close\"]').forEach(function(b){b.addEventListener('click',closeModal);});document.addEventListener('keydown',function(e){if(e.key==='Escape'&&!overlay.hidden)closeModal();});overlay.addEventListener('click',function(e){if(e.target===overlay)closeModal();});var sending=false;scope.querySelector('[data-a=\"send\"]').addEventListener('click',function(){if(sending)return;var ok=true;var nom=scope.querySelector('[data-l=\"nom\"]'),tel=scope.querySelector('[data-l=\"tel\"]'),email=scope.querySelector('[data-l=\"email\"]'),cons=scope.querySelector('[data-l=\"consent\"]');err('nom',null);err('tel',null);err('email',null);err('consent',null);var nv=(nom.value||'').trim();if(!\/^[A-Za-z\u00c0-\u00ff][A-Za-z\u00c0-\u00ff\\s'-]{1,60}$\/.test(nv)){err('nom','Veuillez indiquer votre nom et pr\u00e9nom.');ok=false;}var digits=(tel.value||'').replace(\/\\D\/g,'');if(digits.indexOf('213')===0&&digits.length===12)digits='0'+digits.slice(3);if(!\/^0[5-7]\\d{8}$\/.test(digits)){err('tel','Veuillez saisir un num\u00e9ro de t\u00e9l\u00e9phone alg\u00e9rien valide (ex : 0555 12 34 56).');ok=false;}if(!\/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$\/.test((email.value||'').trim())){err('email','Veuillez saisir une adresse email valide.');ok=false;}if(!cons.checked){err('consent','Merci d\u2019accepter d\u2019\u00eatre contact\u00e9(e) pour recevoir votre estimation.');ok=false;}if(!ok||!state.last)return;sending=true;var btn=this;btn.setAttribute('disabled','disabled');var L=state.last;var msg='Bonjour IMOSIUM PROMOTION, voici mon estimation de frais de notaire : '+L.casLabel+', prix '+fmt(L.prix)+', '+L.pages+' pages = total '+fmt(L.tot)+' (honoraires '+fmt(L.H)+', enregistrement '+fmt(L.E)+', publication '+fmt(L.P)+(L.Hyp?', hypoth\u00e8que '+fmt(L.Hyp):'')+', timbre '+fmt(L.T)+'). '+nv+' \u00b7 '+digits+' \u00b7 '+(email.value||'').trim();setTimeout(function(){if(wa)try{window.open('https:\/\/wa.me\/'+wa+'?text='+encodeURIComponent(msg),'_blank','noopener');}catch(e){}dl({event:'sim_lead',cas_achat:L.cas,prix:L.prix,total_estime:L.tot});var f=scope.querySelector('[data-m=\"form\"]'),d=scope.querySelector('[data-m=\"done\"]');if(f)f.hidden=true;if(d){d.hidden=false;var nm=d.querySelector('[data-m=\"name\"]');if(nm)nm.textContent=nv.split(' ')[0];var rc=d.querySelector('[data-m=\"recap\"]');if(rc)rc.textContent='Votre estimation de '+fmt(L.tot)+' a \u00e9t\u00e9 pr\u00e9par\u00e9e pour envoi WhatsApp.';}sending=false;btn.removeAttribute('disabled');},600);});fill();dl({event:'sim_view'});calc();})();<\/script>\n    \n","protected":false},"excerpt":{"rendered":"","protected":false},"author":0,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-67","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/imosium.com\/ar\/wp-json\/wp\/v2\/pages\/67","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/imosium.com\/ar\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/imosium.com\/ar\/wp-json\/wp\/v2\/types\/page"}],"replies":[{"embeddable":true,"href":"https:\/\/imosium.com\/ar\/wp-json\/wp\/v2\/comments?post=67"}],"version-history":[{"count":3,"href":"https:\/\/imosium.com\/ar\/wp-json\/wp\/v2\/pages\/67\/revisions"}],"predecessor-version":[{"id":80,"href":"https:\/\/imosium.com\/ar\/wp-json\/wp\/v2\/pages\/67\/revisions\/80"}],"wp:attachment":[{"href":"https:\/\/imosium.com\/ar\/wp-json\/wp\/v2\/media?parent=67"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}