");vwo_$('head').append(_vwo_sel);return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("HEAD")}}, R_1036207_4_1_2_0:{ fn:function(log,nonce=''){return (function(x) { if(!vwo_$.fn.vwoRevertHtml){ return; }; var ctx=vwo_$(x),el; /*vwo_debug log("Revert","content",""); vwo_debug*/; el=vwo_$('[vwo-element-id="1741223376580"]'); el.revertContentOp().remove();})("HEAD")}}, C_1036207_4_1_2_1:{ fn:function(log,nonce=''){return (function(x) { try{ var _vwo_sel = vwo_$("`); !vwo_$("head").find('#1741223376609').length && vwo_$('head').append(_vwo_sel);}catch(e) {VWO._.vAEH(e);} try{}catch(e) {VWO._.vAEH(e);} try{if(document.documentElement.classList.contains("vwo_p_s_532c28d5412dd75bf975fb951c740a30")){const t=document.querySelector(".text-img"),e=document.querySelector(".vwo-modal__close-button");t.addEventListener("click",t=>{t.target.closest(".vwo-notification-bar__close-button")||(dataLayer.push({event:"vwo-click-push-ga4",vwo_exp_variant_string:"vwo-4"}),e.click())})}}catch(e) {VWO._.vAEH(e);} return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("head")}}, C_1036207_4_1_2_2:{ fn:function(log,nonce=''){return (function(x) { try{ var _vwo_sel = vwo_$("`); !vwo_$("head").find('#1741223376611').length && vwo_$('head').append(_vwo_sel);}catch(e) {VWO._.vAEH(e);} try{}catch(e) {VWO._.vAEH(e);} try{if(document.documentElement.classList.contains("vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675")){const t=document.querySelector(".text-img"),e=document.querySelector(".vwo-modal__close-button");t.addEventListener("click",t=>{t.target.closest(".vwo-notification-bar__close-button")||(dataLayer.push({event:"vwo-click-push-ga4",vwo_exp_variant_string:"vwo-4"}),e.click())})}}catch(e) {VWO._.vAEH(e);} return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("head")}}, C_1036207_4_1_2_3:{ fn:function(log,nonce=''){return (function(x) {var ctx=vwo_$(x),el; /*vwo_debug log("addElement","BODY"); vwo_debug*/el=vwo_$("html.vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675 BODY"),el.each((function(t,e){var el=vwo_$(e);!el.find('[vwo-op-1741223375915=""]').length&&el.performOp(1741223375915).vwoElement({position:"append",layout:"modal-banner-image",id:1740124405114,widgetId:"modal",html:function(obj){obj||(obj={});var __t,__p="";with(obj)__p+='
';return __p}({subsidiary:(()=>{const t=document.URL;return t.includes("Jeddah")?"mynaghi":t.includes("Riyadh")?"wallan":"almajdouie"})()}),sks:{d:0},sw:null,rec:null,hw:null,opId:1741223375915,js:{"p_dsl":{"cnds":[{"id":1000,"event":"trigger.11881849","filters":[]}],"dslv":2}}})})),el=vwo_$("html.vwo_p_s_532c28d5412dd75bf975fb951c740a30 BODY"),el.each((function(t,e){var el=vwo_$(e);!el.find('[vwo-op-1741223375919=""]').length&&el.performOp(1741223375919).vwoElement({position:"append",layout:"modal-banner-image",id:1740125979045,widgetId:"modal",html:function(obj){obj||(obj={});var __t,__p="";with(obj)__p+='
';return __p}({subsidiary:(()=>{const t=document.URL;return t.includes("Jeddah")?"mynaghi":t.includes("Riyadh")?"wallan":"almajdouie"})()}),sks:{d:0},sw:null,rec:null,hw:null,opId:1741223375919,js:{"p_dsl":{"cnds":[{"id":1000,"event":"trigger.11881846","filters":[]}],"dslv":2}}})}));})("body")}}, R_1036207_4_1_2_3:{ fn:function(log,nonce=''){return (function(x) { if(!vwo_$.fn.vwoRevertHtml){ return; }; var el,ctx=vwo_$(x); /*vwo_debug log("Revert","addElement","BODY"); vwo_debug*/(el=vwo_$('[vwo-widget-id="1740125979045"]')).remove(),(el=vwo_$('[vwo-widget-id="1740124405114"]')).remove();})("body")}}, C_1036207_4_1_2_4:{ fn:function(log,nonce=''){return (function(x) {})(".vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675 .vwo-banner-link font:last-child")}}, R_1036207_4_1_2_4:{ fn:function(log,nonce=''){return (function(x) { if(!vwo_$.fn.vwoRevertHtml){ return; }; })(".vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675 .vwo-banner-link font:last-child")}}, GL_1036207_4_pre:{ fn:function(VWO_CURRENT_CAMPAIGN, VWO_CURRENT_VARIATION,nonce = ""){try{!function(){try{var e=function(e){return Object.keys(e).find((function(e){return e.startsWith("__reactInternalInstance$")||e.startsWith("__reactFiber$")}))},n=function(e,n){if(e&&n)return e[n]},t=function(e,n,t){var i=(i=e.nodeName)&&i.toLowerCase();n.stateNode=e,n.child=null,n.tag=e.nodeType===Node.ELEMENT_NODE?5:6,n.type&&(n.type=n.elementType="vwo-"+i),n.alternate&&(n.alternate.stateNode=e),e[t]=n},i=function(e,n){var t=Date.now();!function i(){var l=Object.keys(n).find((function(e){return e.startsWith("__reactProps$")}))||"",r=Date.now();if(l&&n[l])switch(e.name){case"href":n[l].href=e.value;break;case"onClick":n[l].onClick&&delete n[l].onClick;break;case"onChange":n[l].onChange&&n[l].onChange({target:n})}l||3e3/gm,""),n.__vwoExpInnerHTML=i)}));var l,r=e(this[0]);return r&&i&&((l=document.createElement("div")).innerHTML=i),void 0===i?this[0]&&this[0].innerHTML:this.each((function(e,o){var a=!1,c=(r&&l&&(a=1===o.childNodes.length&&1===l.childNodes.length),n(a?o.firstChild:o,r));o.innerHTML=i,c&&o&&t(a?o.firstChild:o,c,r)}))},vwo_$.fn.vwoReplaceWith=function(){if(this.length){var e=this[0].outerHTML;if(e)return vwo_$(this).replaceWith(e)}return this},vwo_$.fn.vwoAttr&&!window.originalVwoAttrBeforeReact&&(window.originalVwoAttrBeforeReact=vwo_$.fn.vwoAttr),vwo_$.fn.vwoAttr=function(){var e;return this.length&&1===arguments.length&&arguments[0].href&&(e=arguments[0].href,this.each((function(n,t){i({name:"onClick"},t),i({name:"href",value:e},t)}))),originalVwoAttrBeforeReact.apply(this,[].slice.call(arguments))}}catch(e){console.info(e)}}(),function(){try{var e=function(e,n){if(e&&n)return e[n]};window.originalBeforeReact||(window.originalBeforeReact=vwo_$.fn.before),vwo_$.fn.before=function(n){try{if(!this.length)return this;var t=!1,i=("object"==typeof n&&(t=!0),r=this[0],Object.keys(r).find((function(e){return e.startsWith("__reactInternalInstance$")||e.startsWith("__reactFiber$")})));if(i){if(!n)return this;var l=n[0]||n;if(!l)return this;this.each((function(n,r){var o,a,c=e(r,i);document.createElement("div"),c&&t&&(c=(null==(c=e(r,i))?void 0:c.return)!==e(r.parentNode,i)||!(null!=(c=e(r.parentNode,i))&&c.stateNode),o=(null==(o=e(l,i))?void 0:o.return)!==e(l.parentNode,i)||!(null!=(o=e(l.parentNode,i))&&o.stateNode),(a=r)&&Object.keys(a).some((function(e){return e.startsWith("__reactInternalInstance$")}))&&(c||o)||(l.previousElementSibling&&null!=(a=e(l.previousElementSibling,i))&&a.sibling&&(e(l.previousElementSibling,i).sibling=e(l.nextElementSibling,i)),(null==(c=l.parentNode)?void 0:c.firstChild)===l&&l.nextElementSibling&&null!=(o=e(l.parentNode,i))&&o.child&&(e(l.parentNode,i).child=e(l.nextElementSibling,i)),r.previousElementSibling&&null!=(a=e(r.previousElementSibling,i))&&a.sibling&&(e(r.previousElementSibling,i).sibling=e(l,i)),l&&null!=(c=e(l,i))&&c.sibling&&(e(l,i).sibling=e(r,i)),l&&null!=(o=e(l,i))&&o.return&&(e(l,i).return=e(r.parentNode,i)),r.parentNode.firstChild===r&&null!=(a=e(r.parentNode,i))&&a.child&&(e(r.parentNode,i).child=e(l,i)),l.previousElementSibling&&null!=(o=null==(c=e(l.previousElementSibling,i))?void 0:c.alternate)&&o.sibling&&(e(l.previousElementSibling,i).alternate.sibling=null==(a=e(l.nextElementSibling,i))?void 0:a.alternate),(null==(c=l.parentNode)?void 0:c.firstChild)===l&&l.nextElementSibling&&null!=(a=null==(o=e(l.parentNode,i))?void 0:o.alternate)&&a.child&&(e(l.parentNode,i).alternate.child=null==(c=e(l.nextElementSibling,i))?void 0:c.alternate),r.previousElementSibling&&null!=(a=null==(o=e(r.previousElementSibling,i))?void 0:o.alternate)&&a.sibling&&(e(r.previousElementSibling,i).alternate.sibling=null==(c=e(l,i))?void 0:c.alternate),l&&null!=(a=null==(o=e(l,i))?void 0:o.alternate)&&a.sibling&&(e(l,i).alternate.sibling=null==(c=e(r,i))?void 0:c.alternate),l&&null!=(a=null==(o=e(l,i))?void 0:o.alternate)&&a.return&&(e(l,i).alternate.return=null==(c=e(r.parentNode,i))?void 0:c.alternate),r.parentNode.firstChild===r&&null!=(a=null==(o=e(r.parentNode,i))?void 0:o.alternate)&&a.child&&(e(r.parentNode,i).alternate.child=null==(c=e(l,i))?void 0:c.alternate)))}))}}catch(e){}var r;return originalBeforeReact.apply(this,[].slice.call(arguments))}}catch(e){console.info(e)}}();; var _vwoCurrentPageUrl = window.location.href; var matchRegex = VWO._.matchRegex;vwo_$('[vwo-widget-id]').remove();vwo_$('html').get(0).classList.forEach((cl)=>{var mpClass=cl.match(/(?:\s|^)(vwo_p_s_[0-9a-f]{32})(?:\s|$)/);mpClass && (['vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675','vwo_p_s_532c28d5412dd75bf975fb951c740a30'].indexOf(mpClass[1])!=-1) && vwo_$('html').removeClass(mpClass[1]);});if(VWO._.allSettings.dataStore.plugins.UA.dt === 'desktop'){vwo_$('html').addClass('vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675')} else if(VWO._.allSettings.dataStore.plugins.UA.dt === 'mobile'){vwo_$('html').addClass('vwo_p_s_532c28d5412dd75bf975fb951c740a30')} }catch(e){}}}, GL_1036207_4_post:{ fn:function(VWO_CURRENT_CAMPAIGN, VWO_CURRENT_VARIATION,nonce = ""){}}, ct4_be3357ab1ca0d9a47c52a3621420bd64:{ fn:function(executeTrigger, vwo_$) { (function() { vwo_$(document).ready(function () { function getCookieValue(key) { return document.cookie.split('; ').some(cookie => cookie.startsWith(`${key}=`)); } const url4 = window.location.href; const locations4 = ["Jeddah", "Riyadh", "Dammam"]; const matchedLocation4 = locations4.find(location => url4.includes(location) && url4.includes("hyundairamadan.com") ); if (matchedLocation4) { const cookieKey = `vwo4_${matchedLocation4}`; const flag4 = !getCookieValue(cookieKey); if (flag4) { function trigger4() { if (typeof dataLayer !== "undefined" && dataLayer.length > 0) { const formStartFlag4 = dataLayer.some(event => event.event === "gtm.click" && event["gtm.element"]?.["form"] ); if (!formStartFlag4) { executeTrigger(); console.log(`15초 내에 Form Start 하지 않았으므로 실행 (Location: ${matchedLocation4})`); } else { console.log("조건 충족하지 않아 실행되지 않음"); console.log(`Form Start 감지 여부: ${formStartFlag4}`); } } } setTimeout(trigger4, 15000); } } }); })() }}, ct_1e25cd49b68dd65eccda8dcc660f0058:{ fn:function(executeTrigger, vwo_$) { (function(){setTimeout((function(){var t=document.querySelector("[vwo-widget-id='1741067761199']");t&&function(){var t=window._vwo_handleMutations||function(t,n){n()};this.querySelector(".vwo-modal__close-button").onclick=function(){t(this.parentNode,function(){this.parentNode&&this.parentNode.removeChild(this),this.dispatchEvent(new Event("close_button_clicked"))}.bind(this))}.bind(this)}.bind(t)()})),setTimeout((function(){document.dispatchEvent(new Event('vwo_widget_added_1741067761199'))}))})() }}, C_1036207_7_1_2_0:{ fn:function(log,nonce=''){return (function(x) {;var _vwo_sel=vwo_$("");vwo_$('head').append(_vwo_sel);return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("HEAD")}}, R_1036207_7_1_2_0:{ fn:function(log,nonce=''){return (function(x) { if(!vwo_$.fn.vwoRevertHtml){ return; }; var ctx=vwo_$(x),el; /*vwo_debug log("Revert","content",""); vwo_debug*/; el=vwo_$('[vwo-element-id="1741067906337"]'); el.revertContentOp().remove();})("HEAD")}}, C_1036207_7_1_2_1:{ fn:function(log,nonce=''){return (function(x) {var el,ctx=vwo_$(x); /*vwo_debug log("addElement","BODY"); vwo_debug*/(el=vwo_$("html.vwo_p_s_532c28d5412dd75bf975fb951c740a30 BODY")).each((function(t,o){var i=vwo_$(o);!i.find('[vwo-op-1741067905400=""]').length&&i.performOp(1741067905400).vwoElement({position:"append",layout:"modal-banner-image",id:1741067761199,widgetId:"modal",html:'
',sks:{d:0},sw:null,rec:null,hw:null,opId:1741067905400,js:{"p_dsl":{"cnds":[{"id":1000,"event":"trigger.11881885","filters":[]}],"dslv":2}}})})),(el=vwo_$("html.vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675 BODY")).each((function(t,o){var i=vwo_$(o);!i.find('[vwo-op-1741067905403=""]').length&&i.performOp(1741067905403).vwoElement({position:"append",layout:"modal-banner-image",id:1740115839831,widgetId:"modal",html:'
',sks:{d:0},sw:null,rec:null,hw:null,opId:1741067905403,js:{"p_dsl":{"cnds":[{"id":1000,"event":"trigger.11881876","filters":[]}],"dslv":2}}})}));})("body")}}, R_1036207_7_1_2_1:{ fn:function(log,nonce=''){return (function(x) { if(!vwo_$.fn.vwoRevertHtml){ return; }; var el,ctx=vwo_$(x); /*vwo_debug log("Revert","addElement","BODY"); vwo_debug*/(el=vwo_$('[vwo-widget-id="1740115839831"]')).remove(),(el=vwo_$('[vwo-widget-id="1741067761199"]')).remove();})("body")}}, C_1036207_7_1_2_2:{ fn:function(log,nonce=''){return (function(x) {})("@keyframes slideUp,0%,100%,.vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675 .vwo-modal,.vwo_p_s_532c28d5412dd75bf975fb951c740a30 .vwo-modal")}}, R_1036207_7_1_2_2:{ fn:function(log,nonce=''){return (function(x) { if(!vwo_$.fn.vwoRevertHtml){ return; }; })("@keyframes slideUp,0%,100%,.vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675 .vwo-modal,.vwo_p_s_532c28d5412dd75bf975fb951c740a30 .vwo-modal")}}, GL_1036207_7_pre:{ fn:function(VWO_CURRENT_CAMPAIGN, VWO_CURRENT_VARIATION,nonce = ""){try{; var _vwoCurrentPageUrl = window.location.href; var matchRegex = VWO._.matchRegex;vwo_$('[vwo-widget-id]').remove();vwo_$('html').get(0).classList.forEach((cl)=>{var mpClass=cl.match(/(?:\s|^)(vwo_p_s_[0-9a-f]{32})(?:\s|$)/);mpClass && (['vwo_p_s_532c28d5412dd75bf975fb951c740a30','vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675'].indexOf(mpClass[1])!=-1) && vwo_$('html').removeClass(mpClass[1]);});if(VWO._.allSettings.dataStore.plugins.UA.dt === 'mobile'){vwo_$('html').addClass('vwo_p_s_532c28d5412dd75bf975fb951c740a30')} else if(VWO._.allSettings.dataStore.plugins.UA.dt === 'desktop'){vwo_$('html').addClass('vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675')} }catch(e){}}}, GL_1036207_7_post:{ fn:function(VWO_CURRENT_CAMPAIGN, VWO_CURRENT_VARIATION,nonce = ""){}}, ct7_0d5edbcad171ff2525c6e750ceab4451:{ fn:function(executeTrigger, vwo_$) { (function() { vwo_$(document).ready(function () { function getCookieValue(key) { return document.cookie.split('; ').some(cookie => cookie.startsWith(`${key}=`)); } const url7 = document.URL; const locations7 = ["wallan", "mynaghi", "almajdouie"]; const step7 = document.querySelector("#srqoBookStep2"); const stepActiveFlag7 = step7 && window.getComputedStyle(step7).display !== "none"; const matchedLocation7 = locations7.find(location => url7.includes(location) && url7.includes("/build-a-car/request-a-quote") && url7.includes("#srqoBookStep2") ); if (matchedLocation7 && stepActiveFlag7) { const cookieKey = `vwo7_${matchedLocation7}`; const flag7 = !getCookieValue(cookieKey); if (flag7) { function trigger7() { if (typeof dataLayer !== "undefined" && dataLayer.length > 0) { const formStartFlag7 = dataLayer.some(event => event.event === "gtm.click" && event["gtm.element"]["form"] ); if (formStartFlag7) { executeTrigger(); console.log("7초 내에 Form Start 했으므로 실행"); } else { console.log("조건 충족하지 않아 실행되지 않음"); console.log(`Form Start 감지 여부: ${formStartFlag7}`); } } } setTimeout(trigger7, 7000); } } }); })() }}, C_1036207_21_1_2_1:{ fn:function(log,nonce=''){return (function(x) { try{ var _vwo_sel = vwo_$("`); !vwo_$("head").find('#1741332935700').length && vwo_$('head').append(_vwo_sel);}catch(e) {VWO._.vAEH(e);} try{}catch(e) {VWO._.vAEH(e);} try{if(document.documentElement.classList.contains("vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675")){vwo_$(".vwo-notification-bar").vwoCss({"background-color":"#00AAD2 !important"}),vwo_$(".vwo-notification-bar__wrapper").vwoCss({"background-color":"#00AAD2 !important",left:"0px !important",right:"0 !important"});const o=o=>{o.style.scrollMarginTop="100px",o.scrollIntoView({behavior:"smooth",block:"start"})},t=()=>{dataLayer.push({event:"vwo-click-push-ga4",vwo_exp_variant_string:"vwo-21"})},e=()=>{const e=document.querySelector(".banner_container"),n=document.querySelector(".vwo-notification-bar__close-button"),c=document.querySelector("#form-section");return!!(e&&c&&n)&&(e.addEventListener("click",e=>{e.target.closest(".vwo-notification-bar__close-button")||(o(c),t(),n.click())}),!0)};let n=0;const c=10,r=setInterval(()=>{(e()||n>=c)&&clearInterval(r),n++},500)}}catch(e) {VWO._.vAEH(e);} return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("head")}}, R_1036207_21_1_2_1:{ fn:function(log,nonce=''){return (function(x) { try{ var ctx=vwo_$(x),el; /*vwo_debug log("Revert","content",""); vwo_debug*/; el=vwo_$('[vwo-element-id="1741332935700"]'); el.revertContentOp().remove(); } catch(e) {VWO._.vAEH(e);} try{ var el,ctx=vwo_$(x); /*vwo_debug log("Revert","addElement","body"); vwo_debug*/(el=vwo_$('[vwo-element-id="1741332935702"]')).remove(); } catch(e) {VWO._.vAEH(e);} return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("head")}}, C_1036207_21_1_2_2:{ fn:function(log,nonce=''){return (function(x) { try{ var _vwo_sel = vwo_$("`); !vwo_$("head").find('#1741332935707').length && vwo_$('head').append(_vwo_sel);}catch(e) {VWO._.vAEH(e);} try{}catch(e) {VWO._.vAEH(e);} try{if(document.documentElement.classList.contains("vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675")){function getUTMParameter(o){const e=new URLSearchParams(window.location.search).get(o);return e?e.toLowerCase():null}function getIndexNumber(o){return{accent:1,azera:4,creta:6,elantra:2,kona:8,palisade:12,santafe:13,sonata:3,stargazer:10,tucson:9,venue:5,tsac:9,ksve:2,pa:4}[o]??null}function anchoringToTarget(o){const e=document.querySelector(o);e?(e.style.scrollMarginTop="150px",e.scrollIntoView({behavior:"smooth",block:"start"})):console.warn("Target element not found, skipping scroll.")}function clickNextButton(o,e,n){let t=0,c=e.style.transform;const i=()=>{t{e.style.transform!==c?(c=e.style.transform,t++,console.log("Slide changed. Click count: "+t),i()):(console.warn("Slide did not change. Retrying..."),setTimeout(i,200))},400)):(console.log("All clicks completed. Scrolling to target."),setTimeout(()=>anchoringToTarget("#root > main > section.pp-section.no-top.pp-section-car"),300))};i()}!function(){const o=getUTMParameter("utm_campaign"),e=getUTMParameter("utm_content");if(o&&e){if(o.includes("ramadan")&&!e.includes("vid")){console.log("DDM Target");const o=getIndexNumber(e);if(null===o)return void console.warn("Invalid vehicle model, skipping navigation.");const n=document.querySelector("#root > main > section.pp-section.no-top.pp-section-car > div.showroom > div > div.swiper-wrapper"),t=document.querySelector("#root > main > section.pp-section.no-top.pp-section-car > div.showroom > div > div.swiper-button-next");n&&t?clickNextButton(o,n,t):console.warn("Banner or Next button not found, skipping navigation.")}}else console.log("UTM parameters are missing, skipping navigation.")}()}}catch(e) {VWO._.vAEH(e);} return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("head")}}, C_1036207_21_1_2_3:{ fn:function(log,nonce=''){return (function(x) { try{ var _vwo_sel = vwo_$("`); !vwo_$("head").find('#1741332935710').length && vwo_$('head').append(_vwo_sel);}catch(e) {VWO._.vAEH(e);} try{}catch(e) {VWO._.vAEH(e);} try{if(document.documentElement.classList.contains("vwo_p_s_532c28d5412dd75bf975fb951c740a30")){vwo_$(".banner").vwoCss({"font-family":"HyundaiRegular !important","font-size":"15px !important","font-weight":"500 !important"});const t=t=>{t.style.scrollMarginTop="100px",t.scrollIntoView({behavior:"smooth",block:"start"})},o=()=>{dataLayer.push({event:"vwo-click-push-ga4",vwo_exp_variant_string:"vwo-21"})},e=()=>{const e=document.querySelector(".banner_container"),n=document.querySelector(".vwo-notification-bar__close-button"),c=document.querySelector("#form-section");return!!(e&&c&&n)&&(e.addEventListener("click",e=>{e.target.closest(".vwo-notification-bar__close-button")||(t(c),o(),n.click())}),!0)};let n=0;const c=10,r=setInterval(()=>{(e()||n>=c)&&clearInterval(r),n++},500)}}catch(e) {VWO._.vAEH(e);} return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("head")}}, R_1036207_21_1_2_3:{ fn:function(log,nonce=''){return (function(x) { try{ var ctx=vwo_$(x),el; /*vwo_debug log("Revert","content",""); vwo_debug*/; el=vwo_$('[vwo-element-id="1741332935710"]'); el.revertContentOp().remove(); } catch(e) {VWO._.vAEH(e);} try{ var el,ctx=vwo_$(x); /*vwo_debug log("Revert","addElement","body"); vwo_debug*/(el=vwo_$('[vwo-element-id="1741332935712"]')).remove(); } catch(e) {VWO._.vAEH(e);} return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("head")}}, C_1036207_21_1_2_4:{ fn:function(log,nonce=''){return (function(x) { try{ var _vwo_sel = vwo_$("`); !vwo_$("head").find('#1741332935718').length && vwo_$('head').append(_vwo_sel);}catch(e) {VWO._.vAEH(e);} try{}catch(e) {VWO._.vAEH(e);} try{if(document.documentElement.classList.contains("vwo_p_s_532c28d5412dd75bf975fb951c740a30")){function getUTMParameter(o){const e=new URLSearchParams(window.location.search).get(o);return e?e.toLowerCase():null}function getIndexNumber(o){return{accent:1,azera:4,creta:6,elantra:2,kona:8,palisade:12,santafe:13,sonata:3,stargazer:10,tucson:9,venue:5,tsac:9,ksve:2,pa:4}[o]??null}function anchoringToTarget(o){const e=document.querySelector(o);e?(e.style.scrollMarginTop="150px",e.scrollIntoView({behavior:"smooth",block:"start"})):console.warn("Target element not found, skipping scroll.")}function clickNextButton(o,e,n){let t=0,c=e.style.transform;const i=()=>{t{e.style.transform!==c?(c=e.style.transform,t++,console.log("Slide changed. Click count: "+t),i()):(console.warn("Slide did not change. Retrying..."),setTimeout(i,200))},400)):(console.log("All clicks completed. Scrolling to target."),setTimeout(()=>anchoringToTarget("#root > main > section.pp-section.no-top.pp-section-car"),300))};i()}!function(){const o=getUTMParameter("utm_campaign"),e=getUTMParameter("utm_content");if(o&&e){if(o.includes("ramadan")&&!e.includes("vid")){console.log("DDM Target");const o=getIndexNumber(e);if(null===o)return void console.warn("Invalid vehicle model, skipping navigation.");const n=document.querySelector("#root > main > section.pp-section.no-top.pp-section-car > div.showroom > div > div.swiper-wrapper"),t=document.querySelector("#root > main > section.pp-section.no-top.pp-section-car > div.showroom > div > div.swiper-button-next");n&&t?clickNextButton(o,n,t):console.warn("Banner or Next button not found, skipping navigation.")}}else console.log("UTM parameters are missing, skipping navigation.")}()}}catch(e) {VWO._.vAEH(e);} return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("head")}}, C_1036207_21_1_2_5:{ fn:function(log,nonce=''){return (function(x) {var el,ctx=vwo_$(x); /*vwo_debug log("addElement",".pp-section-hero"); vwo_debug*/(el=vwo_$("html.vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675 .pp-section-hero")).each((function(t,o){var n=vwo_$(o);!n.parent().find('[vwo-op-1741332934597=""]').length&&n.vwoElement({position:"after",html:'

أكمل النموذج أدناه وابحث عن أفضل سعر مع عرض رمضان الخاص

'})})),(el=vwo_$("html.vwo_p_s_532c28d5412dd75bf975fb951c740a30 #form-section > div:nth-of-type(1)")).each((function(t,o){var n=vwo_$(o);!n.parent().find('[vwo-op-1741332934604=""]').length&&n.vwoElement({position:"before",html:'

أكمل النموذج أدناه وابحث عن أفضل سعر مع عرض رمضان الخاص

'})}));})(".pp-section-hero,#form-section > div:nth-of-type(1)")}}, R_1036207_21_1_2_5:{ fn:function(log,nonce=''){return (function(x) { if(!vwo_$.fn.vwoRevertHtml){ return; }; var el,ctx=vwo_$(x); /*vwo_debug log("Revert","addElement","#form-section > div:nth-of-type(1)"); vwo_debug*/(el=vwo_$('[vwo-element-id="1741332205625"]')).remove(),(el=vwo_$('[vwo-element-id="1741330146554"]')).remove();})(".pp-section-hero,#form-section > div:nth-of-type(1)")}}, C_1036207_21_1_2_6:{ fn:function(log,nonce=''){return (function(x) {var el,ctx=vwo_$(x); /*vwo_debug log("addElement","BODY"); vwo_debug*/(el=vwo_$("html.vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675 BODY")).each((function(t,o){var i=vwo_$(o);!i.find('[vwo-op-1741332934598=""]').length&&i.performOp(1741332934598).vwoElement({position:"append",layout:"notification-bar",id:1741330278748,widgetId:"notificationBar",html:'
',sks:{d:0},sw:null,rec:null,hw:null,opId:1741332934598,js:{"p_dsl":{"cnds":[{"id":1000,"event":"trigger.11995735","filters":[]}],"dslv":2}}})})),(el=vwo_$("html.vwo_p_s_532c28d5412dd75bf975fb951c740a30 BODY")).each((function(t,o){var i=vwo_$(o);!i.find('[vwo-op-1741332934605=""]').length&&i.performOp(1741332934605).vwoElement({position:"append",layout:"notification-bar",id:1741332205625,widgetId:"notificationBar",html:'
',sks:{d:0},sw:{"p_dsl":"1"},rec:null,hw:null,opId:1741332934605,js:{"p_dsl":{"cnds":[{"id":1000,"event":"trigger.11995738","filters":[]}],"dslv":2}}})}));})("body")}}, R_1036207_21_1_2_6:{ fn:function(log,nonce=''){return (function(x) { if(!vwo_$.fn.vwoRevertHtml){ return; }; var el,ctx=vwo_$(x); /*vwo_debug log("Revert","addElement","BODY"); vwo_debug*/(el=vwo_$('[vwo-widget-id="1741332205625"]')).remove(),(el=vwo_$('[vwo-widget-id="1741330278748"]')).remove();})("body")}}, C_1036207_21_1_2_7:{ fn:function(log,nonce=''){return (function(x) {var el,ctx=vwo_$(x); /*vwo_debug log("editElement",".banner_list"); vwo_debug*/(el=vwo_$("html.vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675 .banner_list")).vwoCss({height:"60px !important",width:"100% !important"});})(".banner_list")}}, R_1036207_21_1_2_7:{ fn:function(log,nonce=''){return (function(x) { if(!vwo_$.fn.vwoRevertHtml){ return; }; var el,ctx=vwo_$(x); /*vwo_debug log("Revert","editElement",".banner_list"); vwo_debug*/(el=vwo_$("html.vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675 .banner_list")).vwoRevertCss();})(".banner_list")}}, GL_1036207_21_pre:{ fn:function(VWO_CURRENT_CAMPAIGN, VWO_CURRENT_VARIATION,nonce = ""){try{!function(){try{var e=function(e){return Object.keys(e).find((function(e){return e.startsWith("__reactInternalInstance$")||e.startsWith("__reactFiber$")}))},n=function(e,n){if(e&&n)return e[n]},t=function(e,n,t){var i=(i=e.nodeName)&&i.toLowerCase();n.stateNode=e,n.child=null,n.tag=e.nodeType===Node.ELEMENT_NODE?5:6,n.type&&(n.type=n.elementType="vwo-"+i),n.alternate&&(n.alternate.stateNode=e),e[t]=n},i=function(e,n){var t=Date.now();!function i(){var l=Object.keys(n).find((function(e){return e.startsWith("__reactProps$")}))||"",r=Date.now();if(l&&n[l])switch(e.name){case"href":n[l].href=e.value;break;case"onClick":n[l].onClick&&delete n[l].onClick;break;case"onChange":n[l].onChange&&n[l].onChange({target:n})}l||3e3/gm,""),n.__vwoExpInnerHTML=i)}));var l,r=e(this[0]);return r&&i&&((l=document.createElement("div")).innerHTML=i),void 0===i?this[0]&&this[0].innerHTML:this.each((function(e,o){var a=!1,c=(r&&l&&(a=1===o.childNodes.length&&1===l.childNodes.length),n(a?o.firstChild:o,r));o.innerHTML=i,c&&o&&t(a?o.firstChild:o,c,r)}))},vwo_$.fn.vwoReplaceWith=function(){if(this.length){var e=this[0].outerHTML;if(e)return vwo_$(this).replaceWith(e)}return this},vwo_$.fn.vwoAttr&&!window.originalVwoAttrBeforeReact&&(window.originalVwoAttrBeforeReact=vwo_$.fn.vwoAttr),vwo_$.fn.vwoAttr=function(){var e;return this.length&&1===arguments.length&&arguments[0].href&&(e=arguments[0].href,this.each((function(n,t){i({name:"onClick"},t),i({name:"href",value:e},t)}))),originalVwoAttrBeforeReact.apply(this,[].slice.call(arguments))}}catch(e){console.info(e)}}(),function(){try{var e=function(e,n){if(e&&n)return e[n]};window.originalBeforeReact||(window.originalBeforeReact=vwo_$.fn.before),vwo_$.fn.before=function(n){try{if(!this.length)return this;var t=!1,i=("object"==typeof n&&(t=!0),r=this[0],Object.keys(r).find((function(e){return e.startsWith("__reactInternalInstance$")||e.startsWith("__reactFiber$")})));if(i){if(!n)return this;var l=n[0]||n;if(!l)return this;this.each((function(n,r){var o,a,c=e(r,i);document.createElement("div"),c&&t&&(c=(null==(c=e(r,i))?void 0:c.return)!==e(r.parentNode,i)||!(null!=(c=e(r.parentNode,i))&&c.stateNode),o=(null==(o=e(l,i))?void 0:o.return)!==e(l.parentNode,i)||!(null!=(o=e(l.parentNode,i))&&o.stateNode),(a=r)&&Object.keys(a).some((function(e){return e.startsWith("__reactInternalInstance$")}))&&(c||o)||(l.previousElementSibling&&null!=(a=e(l.previousElementSibling,i))&&a.sibling&&(e(l.previousElementSibling,i).sibling=e(l.nextElementSibling,i)),(null==(c=l.parentNode)?void 0:c.firstChild)===l&&l.nextElementSibling&&null!=(o=e(l.parentNode,i))&&o.child&&(e(l.parentNode,i).child=e(l.nextElementSibling,i)),r.previousElementSibling&&null!=(a=e(r.previousElementSibling,i))&&a.sibling&&(e(r.previousElementSibling,i).sibling=e(l,i)),l&&null!=(c=e(l,i))&&c.sibling&&(e(l,i).sibling=e(r,i)),l&&null!=(o=e(l,i))&&o.return&&(e(l,i).return=e(r.parentNode,i)),r.parentNode.firstChild===r&&null!=(a=e(r.parentNode,i))&&a.child&&(e(r.parentNode,i).child=e(l,i)),l.previousElementSibling&&null!=(o=null==(c=e(l.previousElementSibling,i))?void 0:c.alternate)&&o.sibling&&(e(l.previousElementSibling,i).alternate.sibling=null==(a=e(l.nextElementSibling,i))?void 0:a.alternate),(null==(c=l.parentNode)?void 0:c.firstChild)===l&&l.nextElementSibling&&null!=(a=null==(o=e(l.parentNode,i))?void 0:o.alternate)&&a.child&&(e(l.parentNode,i).alternate.child=null==(c=e(l.nextElementSibling,i))?void 0:c.alternate),r.previousElementSibling&&null!=(a=null==(o=e(r.previousElementSibling,i))?void 0:o.alternate)&&a.sibling&&(e(r.previousElementSibling,i).alternate.sibling=null==(c=e(l,i))?void 0:c.alternate),l&&null!=(a=null==(o=e(l,i))?void 0:o.alternate)&&a.sibling&&(e(l,i).alternate.sibling=null==(c=e(r,i))?void 0:c.alternate),l&&null!=(a=null==(o=e(l,i))?void 0:o.alternate)&&a.return&&(e(l,i).alternate.return=null==(c=e(r.parentNode,i))?void 0:c.alternate),r.parentNode.firstChild===r&&null!=(a=null==(o=e(r.parentNode,i))?void 0:o.alternate)&&a.child&&(e(r.parentNode,i).alternate.child=null==(c=e(l,i))?void 0:c.alternate)))}))}}catch(e){}var r;return originalBeforeReact.apply(this,[].slice.call(arguments))}}catch(e){console.info(e)}}();; var _vwoCurrentPageUrl = window.location.href; var matchRegex = VWO._.matchRegex;vwo_$('[vwo-widget-id]').remove();vwo_$('html').get(0).classList.forEach((cl)=>{var mpClass=cl.match(/(?:\s|^)(vwo_p_s_[0-9a-f]{32})(?:\s|$)/);mpClass && (['vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675','vwo_p_s_532c28d5412dd75bf975fb951c740a30'].indexOf(mpClass[1])!=-1) && vwo_$('html').removeClass(mpClass[1]);});if(VWO._.allSettings.dataStore.plugins.UA.dt === 'desktop'){vwo_$('html').addClass('vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675')} else if(VWO._.allSettings.dataStore.plugins.UA.dt === 'mobile'){vwo_$('html').addClass('vwo_p_s_532c28d5412dd75bf975fb951c740a30')} }catch(e){}}}, GL_1036207_21_post:{ fn:function(VWO_CURRENT_CAMPAIGN, VWO_CURRENT_VARIATION,nonce = ""){}}, C_1036207_6_1_2_1:{ fn:function(log,nonce=''){return (function(x) {var el,ctx=vwo_$(x); /*vwo_debug log("addElement","BODY"); vwo_debug*/(el=vwo_$("html.vwo_p_s_532c28d5412dd75bf975fb951c740a30 BODY")).each((function(t,o){var i=vwo_$(o);!i.find('[vwo-op-1741067628193=""]').length&&i.performOp(1741067628193).vwoElement({position:"append",layout:"modal-banner-image",id:1741067271319,widgetId:"modal",html:'
',sks:{d:0},sw:null,rec:null,hw:null,opId:1741067628193,js:{"p_dsl":{"cnds":[{"id":1000,"event":"trigger.11881873","filters":[]}],"dslv":2}}})})),(el=vwo_$("html.vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675 BODY")).each((function(t,o){var i=vwo_$(o);!i.find('[vwo-op-1741067628197=""]').length&&i.performOp(1741067628197).vwoElement({position:"append",layout:"modal-banner-image",id:1740115839831,widgetId:"modal",html:'
',sks:{d:0},sw:null,rec:null,hw:null,opId:1741067628197,js:{"p_dsl":{"cnds":[{"id":1000,"event":"trigger.11881876","filters":[]}],"dslv":2}}})}));})("body")}}, R_1036207_6_1_2_0:{ fn:function(log,nonce=''){return (function(x) { if(!vwo_$.fn.vwoRevertHtml){ return; }; var ctx=vwo_$(x),el; /*vwo_debug log("Revert","content",""); vwo_debug*/; el=vwo_$('[vwo-element-id="1741067633357"]'); el.revertContentOp().remove();})("HEAD")}}, GL_1036207_25_post:{ fn:function(VWO_CURRENT_CAMPAIGN, VWO_CURRENT_VARIATION,nonce = ""){}}, GL_1036207_25_pre:{ fn:function(VWO_CURRENT_CAMPAIGN, VWO_CURRENT_VARIATION,nonce = ""){try{!function(){try{var e=function(e){return Object.keys(e).find((function(e){return e.startsWith("__reactInternalInstance$")||e.startsWith("__reactFiber$")}))},n=function(e,n){if(e&&n)return e[n]},t=function(e,n,t){var i=(i=e.nodeName)&&i.toLowerCase();n.stateNode=e,n.child=null,n.tag=e.nodeType===Node.ELEMENT_NODE?5:6,n.type&&(n.type=n.elementType="vwo-"+i),n.alternate&&(n.alternate.stateNode=e),e[t]=n},i=function(e,n){var t=Date.now();!function i(){var l=Object.keys(n).find((function(e){return e.startsWith("__reactProps$")}))||"",r=Date.now();if(l&&n[l])switch(e.name){case"href":n[l].href=e.value;break;case"onClick":n[l].onClick&&delete n[l].onClick;break;case"onChange":n[l].onChange&&n[l].onChange({target:n})}l||3e3/gm,""),n.__vwoExpInnerHTML=i)}));var l,r=e(this[0]);return r&&i&&((l=document.createElement("div")).innerHTML=i),void 0===i?this[0]&&this[0].innerHTML:this.each((function(e,o){var a=!1,c=(r&&l&&(a=1===o.childNodes.length&&1===l.childNodes.length),n(a?o.firstChild:o,r));o.innerHTML=i,c&&o&&t(a?o.firstChild:o,c,r)}))},vwo_$.fn.vwoReplaceWith=function(){if(this.length){var e=this[0].outerHTML;if(e)return vwo_$(this).replaceWith(e)}return this},vwo_$.fn.vwoAttr&&!window.originalVwoAttrBeforeReact&&(window.originalVwoAttrBeforeReact=vwo_$.fn.vwoAttr),vwo_$.fn.vwoAttr=function(){var e;return this.length&&1===arguments.length&&arguments[0].href&&(e=arguments[0].href,this.each((function(n,t){i({name:"onClick"},t),i({name:"href",value:e},t)}))),originalVwoAttrBeforeReact.apply(this,[].slice.call(arguments))}}catch(e){console.info(e)}}(),function(){try{var e=function(e,n){if(e&&n)return e[n]};window.originalBeforeReact||(window.originalBeforeReact=vwo_$.fn.before),vwo_$.fn.before=function(n){try{if(!this.length)return this;var t=!1,i=("object"==typeof n&&(t=!0),r=this[0],Object.keys(r).find((function(e){return e.startsWith("__reactInternalInstance$")||e.startsWith("__reactFiber$")})));if(i){if(!n)return this;var l=n[0]||n;if(!l)return this;this.each((function(n,r){var o,a,c=e(r,i);document.createElement("div"),c&&t&&(c=(null==(c=e(r,i))?void 0:c.return)!==e(r.parentNode,i)||!(null!=(c=e(r.parentNode,i))&&c.stateNode),o=(null==(o=e(l,i))?void 0:o.return)!==e(l.parentNode,i)||!(null!=(o=e(l.parentNode,i))&&o.stateNode),(a=r)&&Object.keys(a).some((function(e){return e.startsWith("__reactInternalInstance$")}))&&(c||o)||(l.previousElementSibling&&null!=(a=e(l.previousElementSibling,i))&&a.sibling&&(e(l.previousElementSibling,i).sibling=e(l.nextElementSibling,i)),(null==(c=l.parentNode)?void 0:c.firstChild)===l&&l.nextElementSibling&&null!=(o=e(l.parentNode,i))&&o.child&&(e(l.parentNode,i).child=e(l.nextElementSibling,i)),r.previousElementSibling&&null!=(a=e(r.previousElementSibling,i))&&a.sibling&&(e(r.previousElementSibling,i).sibling=e(l,i)),l&&null!=(c=e(l,i))&&c.sibling&&(e(l,i).sibling=e(r,i)),l&&null!=(o=e(l,i))&&o.return&&(e(l,i).return=e(r.parentNode,i)),r.parentNode.firstChild===r&&null!=(a=e(r.parentNode,i))&&a.child&&(e(r.parentNode,i).child=e(l,i)),l.previousElementSibling&&null!=(o=null==(c=e(l.previousElementSibling,i))?void 0:c.alternate)&&o.sibling&&(e(l.previousElementSibling,i).alternate.sibling=null==(a=e(l.nextElementSibling,i))?void 0:a.alternate),(null==(c=l.parentNode)?void 0:c.firstChild)===l&&l.nextElementSibling&&null!=(a=null==(o=e(l.parentNode,i))?void 0:o.alternate)&&a.child&&(e(l.parentNode,i).alternate.child=null==(c=e(l.nextElementSibling,i))?void 0:c.alternate),r.previousElementSibling&&null!=(a=null==(o=e(r.previousElementSibling,i))?void 0:o.alternate)&&a.sibling&&(e(r.previousElementSibling,i).alternate.sibling=null==(c=e(l,i))?void 0:c.alternate),l&&null!=(a=null==(o=e(l,i))?void 0:o.alternate)&&a.sibling&&(e(l,i).alternate.sibling=null==(c=e(r,i))?void 0:c.alternate),l&&null!=(a=null==(o=e(l,i))?void 0:o.alternate)&&a.return&&(e(l,i).alternate.return=null==(c=e(r.parentNode,i))?void 0:c.alternate),r.parentNode.firstChild===r&&null!=(a=null==(o=e(r.parentNode,i))?void 0:o.alternate)&&a.child&&(e(r.parentNode,i).alternate.child=null==(c=e(l,i))?void 0:c.alternate)))}))}}catch(e){}var r;return originalBeforeReact.apply(this,[].slice.call(arguments))}}catch(e){console.info(e)}}();; var _vwoCurrentPageUrl = window.location.href; var matchRegex = VWO._.matchRegex;vwo_$('[vwo-widget-id]').remove();vwo_$('html').get(0).classList.forEach((cl)=>{var mpClass=cl.match(/(?:\s|^)(vwo_p_s_[0-9a-f]{32})(?:\s|$)/);mpClass && (['vwo_p_s_532c28d5412dd75bf975fb951c740a30','vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675'].indexOf(mpClass[1])!=-1) && vwo_$('html').removeClass(mpClass[1]);});if(VWO._.allSettings.dataStore.plugins.UA.dt === 'mobile'){vwo_$('html').addClass('vwo_p_s_532c28d5412dd75bf975fb951c740a30')} else if(VWO._.allSettings.dataStore.plugins.UA.dt === 'desktop'){vwo_$('html').addClass('vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675')} }catch(e){}}}, R_1036207_25_1_2_7:{ fn:function(log,nonce=''){return (function(x) { if(!vwo_$.fn.vwoRevertHtml){ return; }; var el,ctx=vwo_$(x); /*vwo_debug log("Revert","editElement",".banner_list"); vwo_debug*/(el=vwo_$("html.vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675 .banner_list")).vwoRevertCss();})(".banner_list")}}, C_1036207_25_1_2_7:{ fn:function(log,nonce=''){return (function(x) {var el,ctx=vwo_$(x); /*vwo_debug log("editElement",".banner_list"); vwo_debug*/(el=vwo_$("html.vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675 .banner_list")).vwoCss({height:"60px !important",width:"100% !important"});})(".banner_list")}}, R_1036207_25_1_2_6:{ fn:function(log,nonce=''){return (function(x) { if(!vwo_$.fn.vwoRevertHtml){ return; }; var el,ctx=vwo_$(x); /*vwo_debug log("Revert","addElement",".pp-section-hero"); vwo_debug*/(el=vwo_$('[vwo-element-id="1741330146554"]')).remove(),(el=vwo_$('[vwo-element-id="1741332205625"]')).remove();})("#form-section > div:nth-of-type(1),.pp-section-hero")}}, ct_fad976c24e1ee80a4934abd7d64df694:{ fn:function(executeTrigger, vwo_$) { (function(){setTimeout((function(){var t=document.querySelector("[vwo-widget-id='1741067271319']");t&&function(){var t=window._vwo_handleMutations||function(t,n){n()};this.querySelector(".vwo-modal__close-button").onclick=function(){t(this.parentNode,function(){this.parentNode&&this.parentNode.removeChild(this),this.dispatchEvent(new Event("close_button_clicked"))}.bind(this))}.bind(this)}.bind(t)()})),setTimeout((function(){document.dispatchEvent(new Event('vwo_widget_added_1741067271319'))}))})() }}, ct_29bbf301198313da0962d118f815a49f:{ fn:function(executeTrigger, vwo_$) { (function(){setTimeout((function(){var t=document.querySelector("[vwo-widget-id='1740115839831']");t&&function(){var t=window._vwo_handleMutations||function(t,n){n()};this.querySelector(".vwo-modal__close-button").onclick=function(){t(this.parentNode,function(){this.parentNode&&this.parentNode.removeChild(this),this.dispatchEvent(new Event("close_button_clicked"))}.bind(this))}.bind(this)}.bind(t)()})),setTimeout((function(){document.dispatchEvent(new Event('vwo_widget_added_1740115839831'))}))})() }}, C_1036207_6_1_2_0:{ fn:function(log,nonce=''){return (function(x) {;var _vwo_sel=vwo_$("");vwo_$('head').append(_vwo_sel);return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("HEAD")}}, C_1036207_21_1_2_0:{ fn:function(log,nonce=''){return (function(x) {try{; /*vwo_debug log("content","head"); vwo_debug*/ document.documentElement.classList.contains("vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675")&&(document.cookie="vwo21=true; path=/;"),document.documentElement.classList.contains("vwo_p_s_532c28d5412dd75bf975fb951c740a30")&&(document.cookie="vwo21=true; path=/;");}catch(e){}})("HEAD")}}, R_1036207_21_1_2_0:{ fn:function(log,nonce=''){return (function(x) { if(!vwo_$.fn.vwoRevertHtml){ return; }; var ctx=vwo_$(x),el; /*vwo_debug log("Revert","content",""); vwo_debug*/; el=vwo_$('[vwo-element-id="1741332935640"]'); el.revertContentOp().remove();})("HEAD")}}, R_1036207_6_1_2_1:{ fn:function(log,nonce=''){return (function(x) { if(!vwo_$.fn.vwoRevertHtml){ return; }; var el,ctx=vwo_$(x); /*vwo_debug log("Revert","addElement","BODY"); vwo_debug*/(el=vwo_$('[vwo-widget-id="1740115839831"]')).remove(),(el=vwo_$('[vwo-widget-id="1741067271319"]')).remove();})("body")}}, C_1036207_6_1_2_2:{ fn:function(log,nonce=''){return (function(x) {})("@keyframes slideUp,0%,100%,.vwo_p_s_532c28d5412dd75bf975fb951c740a30 .vwo-modal,.vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675 .vwo-modal")}}, R_1036207_6_1_2_2:{ fn:function(log,nonce=''){return (function(x) { if(!vwo_$.fn.vwoRevertHtml){ return; }; })("@keyframes slideUp,0%,100%,.vwo_p_s_532c28d5412dd75bf975fb951c740a30 .vwo-modal,.vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675 .vwo-modal")}}, C_1036207_25_1_2_0:{ fn:function(log,nonce=''){return (function(x) {try{; /*vwo_debug log("content","head"); vwo_debug*/ document.documentElement.classList.contains("vwo_p_s_532c28d5412dd75bf975fb951c740a30")&&(document.cookie="vwo25=true; path=/;"),document.documentElement.classList.contains("vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675")&&(document.cookie="vwo25=true; path=/;");}catch(e){}})("HEAD")}}, R_1036207_25_1_2_0:{ fn:function(log,nonce=''){return (function(x) { if(!vwo_$.fn.vwoRevertHtml){ return; }; var ctx=vwo_$(x),el; /*vwo_debug log("Revert","content",""); vwo_debug*/; el=vwo_$('[vwo-element-id="1741333887769"]'); el.revertContentOp().remove();})("HEAD")}}, C_1036207_25_1_2_1:{ fn:function(log,nonce=''){return (function(x) { try{ var _vwo_sel = vwo_$("`); !vwo_$("head").find('#1741333888672').length && vwo_$('head').append(_vwo_sel);}catch(e) {VWO._.vAEH(e);} try{}catch(e) {VWO._.vAEH(e);} try{if(document.documentElement.classList.contains("vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675")){vwo_$(".vwo-notification-bar").vwoCss({"background-color":"#00AAD2 !important"}),vwo_$(".vwo-notification-bar__wrapper").vwoCss({"background-color":"#00AAD2 !important",left:"0px !important",right:"0 !important"});const o=o=>{o.style.scrollMarginTop="100px",o.scrollIntoView({behavior:"smooth",block:"start"})},t=()=>{dataLayer.push({event:"vwo-click-push-ga4",vwo_exp_variant_string:"vwo-25"})},e=()=>{const e=document.querySelector(".banner_container"),n=document.querySelector(".vwo-notification-bar__close-button"),c=document.querySelector("#form-section");return!!(e&&c&&n)&&(e.addEventListener("click",e=>{e.target.closest(".vwo-notification-bar__close-button")||(o(c),t(),n.click())}),!0)};let n=0;const c=10,r=setInterval(()=>{(e()||n>=c)&&clearInterval(r),n++},500)}}catch(e) {VWO._.vAEH(e);} return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("head")}}, R_1036207_25_1_2_1:{ fn:function(log,nonce=''){return (function(x) { try{ var ctx=vwo_$(x),el; /*vwo_debug log("Revert","content",""); vwo_debug*/; el=vwo_$('[vwo-element-id="1741333888672"]'); el.revertContentOp().remove(); } catch(e) {VWO._.vAEH(e);} try{ var el,ctx=vwo_$(x); /*vwo_debug log("Revert","addElement","body"); vwo_debug*/(el=vwo_$('[vwo-element-id="1741333888674"]')).remove(); } catch(e) {VWO._.vAEH(e);} return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("head")}}, C_1036207_25_1_2_2:{ fn:function(log,nonce=''){return (function(x) { try{ var _vwo_sel = vwo_$("`); !vwo_$("head").find('#1741333888682').length && vwo_$('head').append(_vwo_sel);}catch(e) {VWO._.vAEH(e);} try{}catch(e) {VWO._.vAEH(e);} try{if(document.documentElement.classList.contains("vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675")){function getUTMParameter(o){const e=new URLSearchParams(window.location.search).get(o);return e?e.toLowerCase():null}function getIndexNumber(o){return{accent:0,creta:3,elantra:2,palisade:5,sonata:4,venue:1,csa:0,epv:2}[o]??null}function anchoringToTarget(o){const e=document.querySelector(o);e?(e.style.scrollMarginTop="150px",e.scrollIntoView({behavior:"smooth",block:"start"})):console.warn("Target element not found, skipping scroll.")}function clickNextButton(o,e,n){let t=0,c=e.style.transform;const i=()=>{t{e.style.transform!==c?(c=e.style.transform,t++,console.log("Slide changed. Click count: "+t),i()):(console.warn("Slide did not change. Retrying..."),setTimeout(i,200))},400)):(console.log("All clicks completed. Scrolling to target."),setTimeout(()=>anchoringToTarget("#root > main > section.pp-section.no-top.pp-section-car"),300))};i()}!function(){const o=getUTMParameter("utm_campaign"),e=getUTMParameter("utm_content");if(o&&e){if(o.includes("ramadan")&&!e.includes("vid")){console.log("DDM Target");const o=getIndexNumber(e);if(null===o)return void console.warn("Invalid vehicle model, skipping navigation.");const n=document.querySelector("#root > main > section.pp-section.no-top.pp-section-car > div.showroom > div > div.swiper-wrapper"),t=document.querySelector("#root > main > section.pp-section.no-top.pp-section-car > div.showroom > div > div.swiper-button-next");n&&t?clickNextButton(o,n,t):console.warn("Banner or Next button not found, skipping navigation.")}}else console.log("UTM parameters are missing, skipping navigation.")}()}}catch(e) {VWO._.vAEH(e);} return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("head")}}, C_1036207_25_1_2_3:{ fn:function(log,nonce=''){return (function(x) { try{ var _vwo_sel = vwo_$("`); !vwo_$("head").find('#1741333888687').length && vwo_$('head').append(_vwo_sel);}catch(e) {VWO._.vAEH(e);} try{}catch(e) {VWO._.vAEH(e);} try{if(document.documentElement.classList.contains("vwo_p_s_532c28d5412dd75bf975fb951c740a30")){vwo_$(".banner").vwoCss({"font-family":"HyundaiRegular !important","font-size":"15px !important","font-weight":"500 !important"});const t=t=>{t.style.scrollMarginTop="100px",t.scrollIntoView({behavior:"smooth",block:"start"})},o=()=>{dataLayer.push({event:"vwo-click-push-ga4",vwo_exp_variant_string:"vwo-25"})},e=()=>{const e=document.querySelector(".banner_container"),n=document.querySelector(".vwo-notification-bar__close-button"),c=document.querySelector("#form-section");return!!(e&&c&&n)&&(e.addEventListener("click",e=>{e.target.closest(".vwo-notification-bar__close-button")||(t(c),o(),n.click())}),!0)};let n=0;const c=10,r=setInterval(()=>{(e()||n>=c)&&clearInterval(r),n++},500)}}catch(e) {VWO._.vAEH(e);} return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("head")}}, R_1036207_25_1_2_3:{ fn:function(log,nonce=''){return (function(x) { try{ var ctx=vwo_$(x),el; /*vwo_debug log("Revert","content",""); vwo_debug*/; el=vwo_$('[vwo-element-id="1741333888687"]'); el.revertContentOp().remove(); } catch(e) {VWO._.vAEH(e);} try{ var el,ctx=vwo_$(x); /*vwo_debug log("Revert","addElement","body"); vwo_debug*/(el=vwo_$('[vwo-element-id="1741333888689"]')).remove(); } catch(e) {VWO._.vAEH(e);} return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("head")}}, C_1036207_25_1_2_4:{ fn:function(log,nonce=''){return (function(x) { try{ var _vwo_sel = vwo_$("`); !vwo_$("head").find('#1741333888701').length && vwo_$('head').append(_vwo_sel);}catch(e) {VWO._.vAEH(e);} try{}catch(e) {VWO._.vAEH(e);} try{if(document.documentElement.classList.contains("vwo_p_s_532c28d5412dd75bf975fb951c740a30")){function getUTMParameter(o){const e=new URLSearchParams(window.location.search).get(o);return e?e.toLowerCase():null}function getIndexNumber(o){return{accent:0,creta:3,elantra:2,palisade:5,sonata:4,venue:1,csa:0,epv:2}[o]??null}function anchoringToTarget(o){const e=document.querySelector(o);e?(e.style.scrollMarginTop="150px",e.scrollIntoView({behavior:"smooth",block:"start"})):console.warn("Target element not found, skipping scroll.")}function clickNextButton(o,e,n){let t=0,c=e.style.transform;const i=()=>{t{e.style.transform!==c?(c=e.style.transform,t++,console.log("Slide changed. Click count: "+t),i()):(console.warn("Slide did not change. Retrying..."),setTimeout(i,200))},400)):(console.log("All clicks completed. Scrolling to target."),setTimeout(()=>anchoringToTarget("#root > main > section.pp-section.no-top.pp-section-car"),300))};i()}!function(){const o=getUTMParameter("utm_campaign"),e=getUTMParameter("utm_content");if(o&&e){if(o.includes("ramadan")&&!e.includes("vid")){console.log("DDM Target");const o=getIndexNumber(e);if(null===o)return void console.warn("Invalid vehicle model, skipping navigation.");const n=document.querySelector("#root > main > section.pp-section.no-top.pp-section-car > div.showroom > div > div.swiper-wrapper"),t=document.querySelector("#root > main > section.pp-section.no-top.pp-section-car > div.showroom > div > div.swiper-button-next");n&&t?clickNextButton(o,n,t):console.warn("Banner or Next button not found, skipping navigation.")}}else console.log("UTM parameters are missing, skipping navigation.")}()}}catch(e) {VWO._.vAEH(e);} return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("head")}}, C_1036207_25_1_2_5:{ fn:function(log,nonce=''){return (function(x) {var el,ctx=vwo_$(x); /*vwo_debug log("addElement","BODY"); vwo_debug*/(el=vwo_$("html.vwo_p_s_532c28d5412dd75bf975fb951c740a30 BODY")).each((function(t,o){var i=vwo_$(o);!i.find('[vwo-op-1741333886771=""]').length&&i.performOp(1741333886771).vwoElement({position:"append",layout:"notification-bar",id:1741332205625,widgetId:"notificationBar",html:'
',sks:{d:0},sw:{"p_dsl":"1"},rec:null,hw:null,opId:1741333886771,js:{"p_dsl":{"cnds":[{"id":1000,"event":"trigger.11995738","filters":[]}],"dslv":2}}})})),(el=vwo_$("html.vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675 BODY")).each((function(t,o){var i=vwo_$(o);!i.find('[vwo-op-1741333886775=""]').length&&i.performOp(1741333886775).vwoElement({position:"append",layout:"notification-bar",id:1741330278748,widgetId:"notificationBar",html:'
',sks:{d:0},sw:null,rec:null,hw:null,opId:1741333886775,js:{"p_dsl":{"cnds":[{"id":1000,"event":"trigger.11995735","filters":[]}],"dslv":2}}})}));})("body")}}, R_1036207_25_1_2_5:{ fn:function(log,nonce=''){return (function(x) { if(!vwo_$.fn.vwoRevertHtml){ return; }; var el,ctx=vwo_$(x); /*vwo_debug log("Revert","addElement","BODY"); vwo_debug*/(el=vwo_$('[vwo-widget-id="1741330278748"]')).remove(),(el=vwo_$('[vwo-widget-id="1741332205625"]')).remove();})("body")}}, C_1036207_25_1_2_6:{ fn:function(log,nonce=''){return (function(x) {var el,ctx=vwo_$(x); /*vwo_debug log("addElement","#form-section > div:nth-of-type(1)"); vwo_debug*/(el=vwo_$("html.vwo_p_s_532c28d5412dd75bf975fb951c740a30 #form-section > div:nth-of-type(1)")).each((function(t,o){var n=vwo_$(o);!n.parent().find('[vwo-op-1741333886770=""]').length&&n.vwoElement({position:"before",html:'

أكمل النموذج أدناه وابحث عن أفضل سعر مع عرض رمضان الخاص

'})})),(el=vwo_$("html.vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675 .pp-section-hero")).each((function(t,o){var n=vwo_$(o);!n.parent().find('[vwo-op-1741333886774=""]').length&&n.vwoElement({position:"after",html:'

أكمل النموذج أدناه وابحث عن أفضل سعر مع عرض رمضان الخاص

'})}));})("#form-section > div:nth-of-type(1),.pp-section-hero")}}, C_1036207_5_1_2_2:{ fn:function(log,nonce=''){return (function(x) { try{ var _vwo_sel = vwo_$("`); !vwo_$("head").find('#1741223899696').length && vwo_$('head').append(_vwo_sel);}catch(e) {VWO._.vAEH(e);} try{}catch(e) {VWO._.vAEH(e);} try{if(document.documentElement.classList.contains("vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675")){const t=document.querySelector(".vwo-notification-bar__button"),o=document.querySelector(".vwo-notification-bar__close-button");t.addEventListener("click",(function(){const t=document.URL;["Jeddah","Riyadh","Dammam"].forEach(o=>{t.includes(o)&&(document.cookie=`vwo5_${o}=true; path=/;`)}),dataLayer.push({event:"vwo-click-push-ga4",vwo_exp_variant_string:"vwo-5"}),o.click()}))}}catch(e) {VWO._.vAEH(e);} return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("head")}}, C_1036207_5_1_2_3:{ fn:function(log,nonce=''){return (function(x) {var ctx=vwo_$(x),el; /*vwo_debug log("addElement","BODY"); vwo_debug*/el=vwo_$("html.vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675 BODY"),el.each((function(t,e){var el=vwo_$(e);!el.find('[vwo-op-1741223898189=""]').length&&el.performOp(1741223898189).vwoElement({position:"append",layout:"notification-bar",id:1740102841003,widgetId:"notificationBar",html:function(obj){obj||(obj={});var __t,__p="";with(obj)__p+='
';return __p}({domain:(()=>{const t=document.URL;return t.includes("wallan")?"https://www.hyundai.com/wallan/ar/build-a-car/request-a-test-drive":t.includes("mynaghi")?"https://www.hyundai.com/mynaghi/ar/build-a-car/request-a-test-drive":"https://www.hyundai.com/almajdouie/ar/build-a-car/request-a-test-drive"})()}),sks:{d:0},sw:null,rec:null,hw:null,opId:1741223898189,js:{"p_dsl":{"cnds":[{"id":1000,"event":"trigger.11881861","filters":[]}],"dslv":2}}})})),el=vwo_$("html.vwo_p_s_532c28d5412dd75bf975fb951c740a30 BODY"),el.each((function(t,e){var el=vwo_$(e);!el.find('[vwo-op-1741223898192=""]').length&&el.performOp(1741223898192).vwoElement({position:"append",layout:"notification-bar",id:1740361277102,widgetId:"notificationBar",html:function(obj){obj||(obj={});var __t,__p="";with(obj)__p+='
';return __p}({domain:(()=>{const t=document.URL;return t.includes("wallan")?"https://www.hyundai.com/wallan/ar/build-a-car/request-a-test-drive":t.includes("mynaghi")?"https://www.hyundai.com/mynaghi/ar/build-a-car/request-a-test-drive":"https://www.hyundai.com/almajdouie/ar/build-a-car/request-a-test-drive"})()}),sks:{d:0},sw:null,rec:null,hw:null,opId:1741223898192,js:{"p_dsl":{"cnds":[{"id":1000,"event":"trigger.11881864","filters":[]}],"dslv":2}}})}));})("body")}}, R_1036207_5_1_2_3:{ fn:function(log,nonce=''){return (function(x) { if(!vwo_$.fn.vwoRevertHtml){ return; }; var el,ctx=vwo_$(x); /*vwo_debug log("Revert","addElement","BODY"); vwo_debug*/(el=vwo_$('[vwo-widget-id="1740361277102"]')).remove(),(el=vwo_$('[vwo-widget-id="1740102841003"]')).remove();})("body")}}, GL_1036207_5_pre:{ fn:function(VWO_CURRENT_CAMPAIGN, VWO_CURRENT_VARIATION,nonce = ""){try{; var _vwoCurrentPageUrl = window.location.href; var matchRegex = VWO._.matchRegex;vwo_$('[vwo-widget-id]').remove();vwo_$('html').get(0).classList.forEach((cl)=>{var mpClass=cl.match(/(?:\s|^)(vwo_p_s_[0-9a-f]{32})(?:\s|$)/);mpClass && (['vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675','vwo_p_s_532c28d5412dd75bf975fb951c740a30'].indexOf(mpClass[1])!=-1) && vwo_$('html').removeClass(mpClass[1]);});if(VWO._.allSettings.dataStore.plugins.UA.dt === 'desktop'){vwo_$('html').addClass('vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675')} else if(VWO._.allSettings.dataStore.plugins.UA.dt === 'mobile'){vwo_$('html').addClass('vwo_p_s_532c28d5412dd75bf975fb951c740a30')} }catch(e){}}}, GL_1036207_5_post:{ fn:function(VWO_CURRENT_CAMPAIGN, VWO_CURRENT_VARIATION,nonce = ""){}}, ct5_afc54637cc751a54505a9b699ac1945b:{ fn:function(executeTrigger, vwo_$) { (function() { vwo_$(document).ready(function () { function getCookieValue(key) { return document.cookie.split('; ').some(cookie => cookie.startsWith(`${key}=`)); } const url5 = document.URL; const locations5 = ["wallan", "mynaghi", "almajdouie"]; locations5.forEach(location => { const cookieKey = `vwo5_${location}`; if (url5.includes(location) && !getCookieValue(cookieKey)) { executeTrigger(); } }); }); })() }}, ct_6fff3c9fd71cfb29c8613c36dd478134:{ fn:function(executeTrigger, vwo_$, config) { (function() { if (!config || typeof config !== "object") { return; } if (window.vwo_$(config.sel).length > 0) { return executeTrigger(); } window.VWO._.phoenixMT.once("vwo_mutObs." + config.triggerName, () => { if (window.vwo_$(config.sel).length > 0) { executeTrigger(); } }); })() } }, ct_bbf48cda7a0555282fa4906aeacad82c:{ fn:function(executeTrigger, vwo_$, config) { (function() { if (!config || typeof config !== "object") { return; } if (window.vwo_$(config.sel).length > 0) { return executeTrigger(); } window.VWO._.phoenixMT.once("vwo_mutObs." + config.triggerName, () => { if (window.vwo_$(config.sel).length > 0) { executeTrigger(); } }); })() } }, ct_d0f4437976277dd5d7fec03f54171d6d:{ fn:function(executeTrigger, vwo_$) { (function(){setTimeout((function(){var t=document.querySelector("[vwo-widget-id='1741330278748']");t&&function(){var t=window._vwo_handleMutations||function(t,e){e()},e=this,n="1741330278748",o=this.querySelector(".vwo-notification-bar").offsetHeight+"px",i="vwo-notification-bar-margin-"+n,c="vwo-margin-"+n;this.querySelector(".vwo-notification-bar__close-button").onclick=function(){t(this.parentNode,function(){this.parentNode&&this.parentNode.removeChild(this),d(),document.body.classList.remove(i),this.dispatchEvent(new Event("close_button_clicked"))}.bind(this))}.bind(this);var d=function(){var t=document.getElementById(c);t.parentNode.removeChild(t)};t(e,function(){var n=this,a=function(t){var e="."+i+" { margin-bottom: "+t+" !important}";document.getElementById(c)&&d();var n=document.createElement("style");n.type="text/css",n.id=c,n.appendChild(document.createTextNode(e)),document.head.appendChild(n)};a(o),document.body.classList.add(i),new ResizeObserver((function(){t(e,function(){a(this.querySelector(".vwo-notification-bar").offsetHeight+"px")}.bind(n))})).observe(document.querySelector(".vwo-notification-bar"))}.bind(this))}.bind(t)()})),setTimeout((function(){document.dispatchEvent(new Event('vwo_widget_added_1741330278748'))}))})() }}, ct_4a61676a78ec08e8a85ca4d251029ef0:{ fn:function(executeTrigger, vwo_$) { (function(){setTimeout((function(){var t=document.querySelector("[vwo-widget-id='1741332205625']");t&&function(){var t=window._vwo_handleMutations||function(t,i){i()},i=(this.querySelector(".vwo-notification-bar").offsetHeight,"vwo-notification-bar-margin-1741332205625");this.querySelector(".vwo-notification-bar__close-button").onclick=function(){t(this.parentNode,function(){this.parentNode&&this.parentNode.removeChild(this),this.dispatchEvent(new Event("close_button_clicked"))}.bind(this))}.bind(this),t(this,function(){document.body.classList.remove(i)}.bind(this))}.bind(t)()})),setTimeout((function(){document.dispatchEvent(new Event('vwo_widget_added_1741332205625'))}))})() }}, C_1036207_22_1_2_0:{ fn:function(log,nonce=''){return (function(x) {try{; /*vwo_debug log("content","head"); vwo_debug*/ document.documentElement.classList.contains("vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675")&&(document.cookie="vwo22=true; path=/;"),document.documentElement.classList.contains("vwo_p_s_532c28d5412dd75bf975fb951c740a30")&&(document.cookie="vwo22=true; path=/;");}catch(e){}})("HEAD")}}, R_1036207_22_1_2_0:{ fn:function(log,nonce=''){return (function(x) { if(!vwo_$.fn.vwoRevertHtml){ return; }; var ctx=vwo_$(x),el; /*vwo_debug log("Revert","content",""); vwo_debug*/; el=vwo_$('[vwo-element-id="1741335917773"]'); el.revertContentOp().remove();})("HEAD")}}, C_1036207_22_1_2_1:{ fn:function(log,nonce=''){return (function(x) { try{ var _vwo_sel = vwo_$("`); !vwo_$("head").find('#1741335918505').length && vwo_$('head').append(_vwo_sel);}catch(e) {VWO._.vAEH(e);} try{}catch(e) {VWO._.vAEH(e);} try{if(document.documentElement.classList.contains("vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675")){vwo_$(".vwo-notification-bar").vwoCss({"background-color":"#00AAD2 !important"}),vwo_$(".vwo-notification-bar__wrapper").vwoCss({"background-color":"#00AAD2 !important",left:"0px !important",right:"0 !important"});const o=o=>{o.style.scrollMarginTop="100px",o.scrollIntoView({behavior:"smooth",block:"start"})},t=()=>{dataLayer.push({event:"vwo-click-push-ga4",vwo_exp_variant_string:"vwo-22"})},e=()=>{const e=document.querySelector(".banner_container"),n=document.querySelector(".vwo-notification-bar__close-button"),c=document.querySelector("#form-section");return!!(e&&c&&n)&&(e.addEventListener("click",e=>{e.target.closest(".vwo-notification-bar__close-button")||(o(c),t(),n.click())}),!0)};let n=0;const c=10,r=setInterval(()=>{(e()||n>=c)&&clearInterval(r),n++},500)}}catch(e) {VWO._.vAEH(e);} return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("head")}}, R_1036207_22_1_2_1:{ fn:function(log,nonce=''){return (function(x) { try{ var ctx=vwo_$(x),el; /*vwo_debug log("Revert","content",""); vwo_debug*/; el=vwo_$('[vwo-element-id="1741335918505"]'); el.revertContentOp().remove(); } catch(e) {VWO._.vAEH(e);} try{ var el,ctx=vwo_$(x); /*vwo_debug log("Revert","addElement","body"); vwo_debug*/(el=vwo_$('[vwo-element-id="1741335918507"]')).remove(); } catch(e) {VWO._.vAEH(e);} return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("head")}}, C_1036207_22_1_2_2:{ fn:function(log,nonce=''){return (function(x) { try{ var _vwo_sel = vwo_$("`); !vwo_$("head").find('#1741335918516').length && vwo_$('head').append(_vwo_sel);}catch(e) {VWO._.vAEH(e);} try{}catch(e) {VWO._.vAEH(e);} try{if(document.documentElement.classList.contains("vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675")){function getUTMParameter(o){const e=new URLSearchParams(window.location.search).get(o);return e?e.toLowerCase():null}function getIndexNumber(o){return{accent:0,elantra:1,creta:2,venue:3,grandi10:4,tucson:5,azera:6,kona:7,palisade:8,stargazer:9,santafe:10,sonata:11,avg:3,etc:2,spa:10}[o]??null}function anchoringToTarget(o){const e=document.querySelector(o);e?(e.style.scrollMarginTop="150px",e.scrollIntoView({behavior:"smooth",block:"start"})):console.warn("Target element not found, skipping scroll.")}function clickNextButton(o,e,n){let t=0,c=e.style.transform;const i=()=>{t{e.style.transform!==c?(c=e.style.transform,t++,console.log("Slide changed. Click count: "+t),i()):(console.warn("Slide did not change. Retrying..."),setTimeout(i,200))},400)):(console.log("All clicks completed. Scrolling to target."),setTimeout(()=>anchoringToTarget("#root > main > section.pp-section.no-top.pp-section-car"),300))};i()}!function(){const o=getUTMParameter("utm_campaign"),e=getUTMParameter("utm_content");if(o&&e){if(o.includes("ramadan")&&!e.includes("vid")){console.log("DDM Target");const o=getIndexNumber(e);if(null===o)return void console.warn("Invalid vehicle model, skipping navigation.");const n=document.querySelector("#root > main > section.pp-section.no-top.pp-section-car > div.showroom > div > div.swiper-wrapper"),t=document.querySelector("#root > main > section.pp-section.no-top.pp-section-car > div.showroom > div > div.swiper-button-next");n&&t?clickNextButton(o,n,t):console.warn("Banner or Next button not found, skipping navigation.")}}else console.log("UTM parameters are missing, skipping navigation.")}()}}catch(e) {VWO._.vAEH(e);} return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("head")}}, C_1036207_22_1_2_3:{ fn:function(log,nonce=''){return (function(x) { try{ var _vwo_sel = vwo_$("`); !vwo_$("head").find('#1741335918521').length && vwo_$('head').append(_vwo_sel);}catch(e) {VWO._.vAEH(e);} try{}catch(e) {VWO._.vAEH(e);} try{if(document.documentElement.classList.contains("vwo_p_s_532c28d5412dd75bf975fb951c740a30")){vwo_$(".banner").vwoCss({"font-family":"HyundaiRegular !important","font-size":"15px !important","font-weight":"500 !important"});const t=t=>{t.style.scrollMarginTop="100px",t.scrollIntoView({behavior:"smooth",block:"start"})},o=()=>{dataLayer.push({event:"vwo-click-push-ga4",vwo_exp_variant_string:"vwo-22"})},e=()=>{const e=document.querySelector(".banner_container"),n=document.querySelector(".vwo-notification-bar__close-button"),c=document.querySelector("#form-section");return!!(e&&c&&n)&&(e.addEventListener("click",e=>{e.target.closest(".vwo-notification-bar__close-button")||(t(c),o(),n.click())}),!0)};let n=0;const c=10,r=setInterval(()=>{(e()||n>=c)&&clearInterval(r),n++},500)}}catch(e) {VWO._.vAEH(e);} return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("head")}}, R_1036207_22_1_2_3:{ fn:function(log,nonce=''){return (function(x) { try{ var ctx=vwo_$(x),el; /*vwo_debug log("Revert","content",""); vwo_debug*/; el=vwo_$('[vwo-element-id="1741335918521"]'); el.revertContentOp().remove(); } catch(e) {VWO._.vAEH(e);} try{ var el,ctx=vwo_$(x); /*vwo_debug log("Revert","addElement","body"); vwo_debug*/(el=vwo_$('[vwo-element-id="1741335918523"]')).remove(); } catch(e) {VWO._.vAEH(e);} return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("head")}}, C_1036207_22_1_2_4:{ fn:function(log,nonce=''){return (function(x) { try{ var _vwo_sel = vwo_$("`); !vwo_$("head").find('#1741335918531').length && vwo_$('head').append(_vwo_sel);}catch(e) {VWO._.vAEH(e);} try{}catch(e) {VWO._.vAEH(e);} try{if(document.documentElement.classList.contains("vwo_p_s_532c28d5412dd75bf975fb951c740a30")){function getUTMParameter(o){const n=new URLSearchParams(window.location.search).get(o);return n?n.toLowerCase():null}function getIndexNumber(o){return{accent:0,elantra:1,creta:2,venue:3,grandi10:4,tucson:5,azera:6,kona:7,palisade:8,stargazer:9,santafe:10,sonata:11,avg:3,etc:2,spa:10}[o]??null}function anchoringToTarget(o){const n=document.querySelector(o);n?(n.style.scrollMarginTop="150px",n.scrollIntoView({behavior:"smooth",block:"start"})):console.warn("Target element not found, skipping scroll.")}function clickNextButton(o,n,e){let t=0,c=n.style.transform;const i=()=>{t{n.style.transform!==c?(c=n.style.transform,t++,console.log("Slide changed. Click count: "+t),i()):(console.warn("Slide did not change. Retrying..."),setTimeout(i,200))},400)):(console.log("All clicks completed. Scrolling to target."),setTimeout(()=>anchoringToTarget("#root > main > section.pp-section.no-top.pp-section-car"),300))};i()}!function(){const o=getUTMParameter("utm_campaign"),n=getUTMParameter("utm_content");if(o&&n){if(o.includes("ramadan")&&!n.includes("vid")){console.log("DDM Target");const o=getIndexNumber(n);if(null===o)return void console.warn("Invalid vehicle model, skipping navigation.");const e=document.querySelector("#root > main > section.pp-section.no-top.pp-section-car > div.showroom > div > div.swiper-wrapper"),t=document.querySelector("#root > main > section.pp-section.no-top.pp-section-car > div.showroom > div > div.swiper-button-next");e&&t?clickNextButton(o,e,t):console.warn("Banner or Next button not found, skipping navigation.")}}else console.log("UTM parameters are missing, skipping navigation.")}()}}catch(e) {VWO._.vAEH(e);} return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("head")}}, C_1036207_22_1_2_5:{ fn:function(log,nonce=''){return (function(x) {var el,ctx=vwo_$(x); /*vwo_debug log("addElement",".pp-section-hero"); vwo_debug*/(el=vwo_$("html.vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675 .pp-section-hero")).each((function(t,o){var n=vwo_$(o);!n.parent().find('[vwo-op-1741335916609=""]').length&&n.vwoElement({position:"after",html:'

أكمل النموذج أدناه وابحث عن أفضل سعر مع عرض رمضان الخاص

'})})),(el=vwo_$("html.vwo_p_s_532c28d5412dd75bf975fb951c740a30 #form-section > div:nth-of-type(1)")).each((function(t,o){var n=vwo_$(o);!n.parent().find('[vwo-op-1741335916614=""]').length&&n.vwoElement({position:"before",html:'

أكمل النموذج أدناه وابحث عن أفضل سعر مع عرض رمضان الخاص

'})}));})(".pp-section-hero,#form-section > div:nth-of-type(1)")}}, R_1036207_22_1_2_5:{ fn:function(log,nonce=''){return (function(x) { if(!vwo_$.fn.vwoRevertHtml){ return; }; var el,ctx=vwo_$(x); /*vwo_debug log("Revert","addElement","#form-section > div:nth-of-type(1)"); vwo_debug*/(el=vwo_$('[vwo-element-id="1741332205625"]')).remove(),(el=vwo_$('[vwo-element-id="1741330146554"]')).remove();})(".pp-section-hero,#form-section > div:nth-of-type(1)")}}, C_1036207_22_1_2_6:{ fn:function(log,nonce=''){return (function(x) {var el,ctx=vwo_$(x); /*vwo_debug log("addElement","BODY"); vwo_debug*/(el=vwo_$("html.vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675 BODY")).each((function(t,o){var i=vwo_$(o);!i.find('[vwo-op-1741335916610=""]').length&&i.performOp(1741335916610).vwoElement({position:"append",layout:"notification-bar",id:1741330278748,widgetId:"notificationBar",html:'
',sks:{d:0},sw:null,rec:null,hw:null,opId:1741335916610,js:{"p_dsl":{"cnds":[{"id":1000,"event":"trigger.11995735","filters":[]}],"dslv":2}}})})),(el=vwo_$("html.vwo_p_s_532c28d5412dd75bf975fb951c740a30 BODY")).each((function(t,o){var i=vwo_$(o);!i.find('[vwo-op-1741335916615=""]').length&&i.performOp(1741335916615).vwoElement({position:"append",layout:"notification-bar",id:1741332205625,widgetId:"notificationBar",html:'
',sks:{d:0},sw:{"p_dsl":"1"},rec:null,hw:null,opId:1741335916615,js:{"p_dsl":{"cnds":[{"id":1000,"event":"trigger.11995738","filters":[]}],"dslv":2}}})}));})("body")}}, R_1036207_22_1_2_6:{ fn:function(log,nonce=''){return (function(x) { if(!vwo_$.fn.vwoRevertHtml){ return; }; var el,ctx=vwo_$(x); /*vwo_debug log("Revert","addElement","BODY"); vwo_debug*/(el=vwo_$('[vwo-widget-id="1741332205625"]')).remove(),(el=vwo_$('[vwo-widget-id="1741330278748"]')).remove();})("body")}}, C_1036207_22_1_2_7:{ fn:function(log,nonce=''){return (function(x) {var el,ctx=vwo_$(x); /*vwo_debug log("editElement",".banner_list"); vwo_debug*/(el=vwo_$("html.vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675 .banner_list")).vwoCss({height:"60px !important",width:"100% !important"});})(".banner_list")}}, R_1036207_22_1_2_7:{ fn:function(log,nonce=''){return (function(x) { if(!vwo_$.fn.vwoRevertHtml){ return; }; var el,ctx=vwo_$(x); /*vwo_debug log("Revert","editElement",".banner_list"); vwo_debug*/(el=vwo_$("html.vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675 .banner_list")).vwoRevertCss();})(".banner_list")}}, GL_1036207_6_pre:{ fn:function(VWO_CURRENT_CAMPAIGN, VWO_CURRENT_VARIATION,nonce = ""){try{; var _vwoCurrentPageUrl = window.location.href; var matchRegex = VWO._.matchRegex;vwo_$('[vwo-widget-id]').remove();vwo_$('html').get(0).classList.forEach((cl)=>{var mpClass=cl.match(/(?:\s|^)(vwo_p_s_[0-9a-f]{32})(?:\s|$)/);mpClass && (['vwo_p_s_532c28d5412dd75bf975fb951c740a30','vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675'].indexOf(mpClass[1])!=-1) && vwo_$('html').removeClass(mpClass[1]);});if(VWO._.allSettings.dataStore.plugins.UA.dt === 'mobile'){vwo_$('html').addClass('vwo_p_s_532c28d5412dd75bf975fb951c740a30')} else if(VWO._.allSettings.dataStore.plugins.UA.dt === 'desktop'){vwo_$('html').addClass('vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675')} }catch(e){}}}, GL_1036207_6_post:{ fn:function(VWO_CURRENT_CAMPAIGN, VWO_CURRENT_VARIATION,nonce = ""){}}, ct6_61f10e00ec7b7d79fb66e60c992aad4d:{ fn:function(executeTrigger, vwo_$) { (function() { vwo_$(document).ready(function () { function getCookieValue(key) { return document.cookie.split('; ').some(cookie => cookie.startsWith(`${key}=`)); } const url6 = document.URL; const locations6 = ["wallan", "mynaghi", "almajdouie"]; const step6 = document.querySelector("#srtdBookStep2"); const stepActiveFlag6 = step6 && window.getComputedStyle(step6).display !== "none"; const matchedLocation6 = locations6.find(location => url6.includes(location) && url6.includes("/build-a-car/request-a-test-drive") && url6.includes("#srtdBookStep2") ); if (matchedLocation6 && stepActiveFlag6) { const cookieKey = `vwo6_${matchedLocation6}`; const flag6 = !getCookieValue(cookieKey); if (flag6) { function trigger6() { if (typeof dataLayer !== "undefined" && dataLayer.length > 0) { const formStartFlag6 = dataLayer.some(event => event.event === "gtm.click" && event["gtm.element"]["form"] ); if (formStartFlag6) { executeTrigger(); console.log("10초 내에 Form Start 했으므로 실행"); } else { console.log("조건 충족하지 않아 실행되지 않음"); console.log(`Form Start 감지 여부: ${formStartFlag6}`); } } } setTimeout(trigger6, 10000); } } }); })() }}, GL_1036207_22_post:{ fn:function(VWO_CURRENT_CAMPAIGN, VWO_CURRENT_VARIATION,nonce = ""){}}, GL_1036207_22_pre:{ fn:function(VWO_CURRENT_CAMPAIGN, VWO_CURRENT_VARIATION,nonce = ""){try{!function(){try{var e=function(e){return Object.keys(e).find((function(e){return e.startsWith("__reactInternalInstance$")||e.startsWith("__reactFiber$")}))},n=function(e,n){if(e&&n)return e[n]},t=function(e,n,t){var i=(i=e.nodeName)&&i.toLowerCase();n.stateNode=e,n.child=null,n.tag=e.nodeType===Node.ELEMENT_NODE?5:6,n.type&&(n.type=n.elementType="vwo-"+i),n.alternate&&(n.alternate.stateNode=e),e[t]=n},i=function(e,n){var t=Date.now();!function i(){var l=Object.keys(n).find((function(e){return e.startsWith("__reactProps$")}))||"",r=Date.now();if(l&&n[l])switch(e.name){case"href":n[l].href=e.value;break;case"onClick":n[l].onClick&&delete n[l].onClick;break;case"onChange":n[l].onChange&&n[l].onChange({target:n})}l||3e3/gm,""),n.__vwoExpInnerHTML=i)}));var l,r=e(this[0]);return r&&i&&((l=document.createElement("div")).innerHTML=i),void 0===i?this[0]&&this[0].innerHTML:this.each((function(e,o){var a=!1,c=(r&&l&&(a=1===o.childNodes.length&&1===l.childNodes.length),n(a?o.firstChild:o,r));o.innerHTML=i,c&&o&&t(a?o.firstChild:o,c,r)}))},vwo_$.fn.vwoReplaceWith=function(){if(this.length){var e=this[0].outerHTML;if(e)return vwo_$(this).replaceWith(e)}return this},vwo_$.fn.vwoAttr&&!window.originalVwoAttrBeforeReact&&(window.originalVwoAttrBeforeReact=vwo_$.fn.vwoAttr),vwo_$.fn.vwoAttr=function(){var e;return this.length&&1===arguments.length&&arguments[0].href&&(e=arguments[0].href,this.each((function(n,t){i({name:"onClick"},t),i({name:"href",value:e},t)}))),originalVwoAttrBeforeReact.apply(this,[].slice.call(arguments))}}catch(e){console.info(e)}}(),function(){try{var e=function(e,n){if(e&&n)return e[n]};window.originalBeforeReact||(window.originalBeforeReact=vwo_$.fn.before),vwo_$.fn.before=function(n){try{if(!this.length)return this;var t=!1,i=("object"==typeof n&&(t=!0),r=this[0],Object.keys(r).find((function(e){return e.startsWith("__reactInternalInstance$")||e.startsWith("__reactFiber$")})));if(i){if(!n)return this;var l=n[0]||n;if(!l)return this;this.each((function(n,r){var o,a,c=e(r,i);document.createElement("div"),c&&t&&(c=(null==(c=e(r,i))?void 0:c.return)!==e(r.parentNode,i)||!(null!=(c=e(r.parentNode,i))&&c.stateNode),o=(null==(o=e(l,i))?void 0:o.return)!==e(l.parentNode,i)||!(null!=(o=e(l.parentNode,i))&&o.stateNode),(a=r)&&Object.keys(a).some((function(e){return e.startsWith("__reactInternalInstance$")}))&&(c||o)||(l.previousElementSibling&&null!=(a=e(l.previousElementSibling,i))&&a.sibling&&(e(l.previousElementSibling,i).sibling=e(l.nextElementSibling,i)),(null==(c=l.parentNode)?void 0:c.firstChild)===l&&l.nextElementSibling&&null!=(o=e(l.parentNode,i))&&o.child&&(e(l.parentNode,i).child=e(l.nextElementSibling,i)),r.previousElementSibling&&null!=(a=e(r.previousElementSibling,i))&&a.sibling&&(e(r.previousElementSibling,i).sibling=e(l,i)),l&&null!=(c=e(l,i))&&c.sibling&&(e(l,i).sibling=e(r,i)),l&&null!=(o=e(l,i))&&o.return&&(e(l,i).return=e(r.parentNode,i)),r.parentNode.firstChild===r&&null!=(a=e(r.parentNode,i))&&a.child&&(e(r.parentNode,i).child=e(l,i)),l.previousElementSibling&&null!=(o=null==(c=e(l.previousElementSibling,i))?void 0:c.alternate)&&o.sibling&&(e(l.previousElementSibling,i).alternate.sibling=null==(a=e(l.nextElementSibling,i))?void 0:a.alternate),(null==(c=l.parentNode)?void 0:c.firstChild)===l&&l.nextElementSibling&&null!=(a=null==(o=e(l.parentNode,i))?void 0:o.alternate)&&a.child&&(e(l.parentNode,i).alternate.child=null==(c=e(l.nextElementSibling,i))?void 0:c.alternate),r.previousElementSibling&&null!=(a=null==(o=e(r.previousElementSibling,i))?void 0:o.alternate)&&a.sibling&&(e(r.previousElementSibling,i).alternate.sibling=null==(c=e(l,i))?void 0:c.alternate),l&&null!=(a=null==(o=e(l,i))?void 0:o.alternate)&&a.sibling&&(e(l,i).alternate.sibling=null==(c=e(r,i))?void 0:c.alternate),l&&null!=(a=null==(o=e(l,i))?void 0:o.alternate)&&a.return&&(e(l,i).alternate.return=null==(c=e(r.parentNode,i))?void 0:c.alternate),r.parentNode.firstChild===r&&null!=(a=null==(o=e(r.parentNode,i))?void 0:o.alternate)&&a.child&&(e(r.parentNode,i).alternate.child=null==(c=e(l,i))?void 0:c.alternate)))}))}}catch(e){}var r;return originalBeforeReact.apply(this,[].slice.call(arguments))}}catch(e){console.info(e)}}();; var _vwoCurrentPageUrl = window.location.href; var matchRegex = VWO._.matchRegex;vwo_$('[vwo-widget-id]').remove();vwo_$('html').get(0).classList.forEach((cl)=>{var mpClass=cl.match(/(?:\s|^)(vwo_p_s_[0-9a-f]{32})(?:\s|$)/);mpClass && (['vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675','vwo_p_s_532c28d5412dd75bf975fb951c740a30'].indexOf(mpClass[1])!=-1) && vwo_$('html').removeClass(mpClass[1]);});if(VWO._.allSettings.dataStore.plugins.UA.dt === 'desktop'){vwo_$('html').addClass('vwo_p_s_b2c79ad7dcf03ba266dc0885e1266675')} else if(VWO._.allSettings.dataStore.plugins.UA.dt === 'mobile'){vwo_$('html').addClass('vwo_p_s_532c28d5412dd75bf975fb951c740a30')} }catch(e){}}}, C_1036207_5_1_2_1:{ fn:function(log,nonce=''){return (function(x) { try{ var _vwo_sel = vwo_$("`); !vwo_$("head").find('#1741223899693').length && vwo_$('head').append(_vwo_sel);}catch(e) {VWO._.vAEH(e);} try{}catch(e) {VWO._.vAEH(e);} try{if(document.documentElement.classList.contains("vwo_p_s_532c28d5412dd75bf975fb951c740a30")){const t=document.querySelector(".vwo-notification-bar__button"),o=document.querySelector(".vwo-notification-bar__close-button");t.addEventListener("click",(function(){const t=document.URL;["Jeddah","Riyadh","Dammam"].forEach(o=>{t.includes(o)&&(document.cookie=`vwo5_${o}=true; path=/;`)}),dataLayer.push({event:"vwo-click-push-ga4",vwo_exp_variant_string:"vwo-5"}),o.click()}))}}catch(e) {VWO._.vAEH(e);} return vwo_$('head')[0] && vwo_$('head')[0].lastChild;})("head")}}, R_1036207_5_1_2_0:{ fn:function(log,nonce=''){return (function(x) { if(!vwo_$.fn.vwoRevertHtml){ return; }; var ctx=vwo_$(x),el; /*vwo_debug log("Revert","content",""); vwo_debug*/; el=vwo_$('[vwo-element-id="1741223898896"]'); el.revertContentOp().remove();})("HEAD")}}, C_1036207_5_1_2_0:{ fn:function(log,nonce=''){return (function(x) {;})("HEAD")}}, ct_812181f7ecc25fcb5868f8b68f17aa4f:{ fn:function(executeTrigger, vwo_$) { (function(){setTimeout((function(){var t=document.querySelector("[vwo-widget-id='1740361277102']");t&&function(){var t=window._vwo_handleMutations||function(t,e){e()},e=this,n="1740361277102",o=this.querySelector(".vwo-notification-bar").offsetHeight+"px",i="vwo-notification-bar-margin-"+n,c="vwo-margin-"+n;this.querySelector(".vwo-notification-bar__close-button").onclick=function(){t(this.parentNode,function(){this.parentNode&&this.parentNode.removeChild(this),d(),document.body.classList.remove(i),this.dispatchEvent(new Event("close_button_clicked"))}.bind(this))}.bind(this);var d=function(){var t=document.getElementById(c);t.parentNode.removeChild(t)};t(e,function(){var n=this,a=function(t){var e="."+i+" { margin-bottom: "+t+" !important}";document.getElementById(c)&&d();var n=document.createElement("style");n.type="text/css",n.id=c,n.appendChild(document.createTextNode(e)),document.head.appendChild(n)};a(o),document.body.classList.add(i),new ResizeObserver((function(){t(e,function(){a(this.querySelector(".vwo-notification-bar").offsetHeight+"px")}.bind(n))})).observe(document.querySelector(".vwo-notification-bar"))}.bind(this))}.bind(t)()})),setTimeout((function(){document.dispatchEvent(new Event('vwo_widget_added_1740361277102'))}))})() }}, ct_f0d6b623a1ff725a4a45c5480333bd4e:{ fn:function(executeTrigger, vwo_$) { (function(){setTimeout((function(){var t=document.querySelector("[vwo-widget-id='1740102841003']");t&&function(){var t=window._vwo_handleMutations||function(t,e){e()},e=this,n="1740102841003",o=this.querySelector(".vwo-notification-bar").offsetHeight+"px",i="vwo-notification-bar-margin-"+n,c="vwo-margin-"+n;this.querySelector(".vwo-notification-bar__close-button").onclick=function(){t(this.parentNode,function(){this.parentNode&&this.parentNode.removeChild(this),d(),document.body.classList.remove(i),this.dispatchEvent(new Event("close_button_clicked"))}.bind(this))}.bind(this);var d=function(){var t=document.getElementById(c);t.parentNode.removeChild(t)};t(e,function(){var n=this,a=function(t){var e="."+i+" { margin-top: "+t+" !important}";document.getElementById(c)&&d();var n=document.createElement("style");n.type="text/css",n.id=c,n.appendChild(document.createTextNode(e)),document.head.appendChild(n)};a(o),document.body.classList.add(i),new ResizeObserver((function(){t(e,function(){a(this.querySelector(".vwo-notification-bar").offsetHeight+"px")}.bind(n))})).observe(document.querySelector(".vwo-notification-bar"))}.bind(this))}.bind(t)()})),setTimeout((function(){document.dispatchEvent(new Event('vwo_widget_added_1740102841003'))}))})() }}, ct_61150eef3e7188ca32539321d031d631:{ fn:function(executeTrigger, vwo_$, config) { (function() { if (!config || typeof config !== "object") { return; } if (window.vwo_$(config.sel).length > 0) { return executeTrigger(); } window.VWO._.phoenixMT.once("vwo_mutObs." + config.triggerName, () => { if (window.vwo_$(config.sel).length > 0) { executeTrigger(); } }); })() } }},rules:[{"tags":[{"priority":4,"id":"runCampaign","data":"campaigns.4"}],"triggers":["11881852"]},{"tags":[{"priority":4,"id":"runCampaign","data":"campaigns.25"}],"triggers":["11995759"]},{"tags":[{"priority":4,"id":"runCampaign","data":"campaigns.22"}],"triggers":["11995750"]},{"tags":[{"priority":4,"id":"runCampaign","data":"campaigns.6"}],"triggers":["11881879"]},{"tags":[{"priority":4,"id":"runCampaign","data":"campaigns.21"}],"triggers":["11995741"]},{"tags":[{"priority":4,"id":"runCampaign","data":"campaigns.5"}],"triggers":["11881867"]},{"tags":[{"metricId":1266757,"id":"metric","data":{"type":"m","campaigns":[{"g":1,"c":22}]}},{"metricId":1266757,"id":"metric","data":{"type":"m","campaigns":[{"g":1,"c":5}]}},{"metricId":1266757,"id":"metric","data":{"type":"m","campaigns":[{"g":1,"c":6}]}},{"metricId":1266757,"id":"metric","data":{"type":"m","campaigns":[{"g":1,"c":7}]}},{"metricId":1266757,"id":"metric","data":{"type":"m","campaigns":[{"g":1,"c":25}]}},{"metricId":1266757,"id":"metric","data":{"type":"m","campaigns":[{"g":1,"c":4}]}},{"metricId":1266757,"id":"metric","data":{"type":"m","campaigns":[{"g":1,"c":21}]}}],"triggers":["11748724"]},{"tags":[{"priority":4,"id":"runCampaign","data":"campaigns.7"}],"triggers":["11881888"]},{"tags":[{"id":"urlChange"}],"triggers":["75"]},{"tags":[{"priority":3,"id":"prePostMutation"},{"priority":2,"id":"groupCampaigns"}],"triggers":["8"]},{"tags":[{"priority":2,"id":"visibilityService"}],"triggers":["9"]},{"tags":[{"id":"runTestCampaign"}],"triggers":["2"]},{"tags":[{"id":"checkEnvironment"}],"triggers":["5"]}],pages:{"ec":[{"2036680":{"inc":["o",["url","urlReg","(?i).*"]]}},{"2036680":{"inc":["o",["url","urlReg","(?i).*"]]}},{"2036680":{"inc":["o",["url","urlReg","(?i).*"]]}}]},pagesEval:{"ec":[2036680,2036680,2036680]},stags:{}}})(); ;;var commonWrapper=function(argument){if(!argument){argument={valuesGetter:function(){return{}},valuesSetter:function(){},verifyData:function(){return{}}}}const getVisitorUuid=function(){if(window._vwo_acc_id>=1037725){return window.VWO&&window.VWO.get("visitor.id")}else{return window.VWO._&&window.VWO._.cookies&&window.VWO._.cookies.get("_vwo_uuid")}};var pollInterval=100;var timeout=6e4;return function(){var accountIntegrationSettings={};var _interval=null;function waitForAnalyticsVariables(){try{accountIntegrationSettings=argument.valuesGetter();accountIntegrationSettings.visitorUuid=getVisitorUuid()}catch(error){accountIntegrationSettings=undefined}if(accountIntegrationSettings&&argument.verifyData(accountIntegrationSettings)){argument.valuesSetter(accountIntegrationSettings);return 1}return 0}var currentTime=0;_interval=setInterval((function(){currentTime=currentTime||performance.now();var result=waitForAnalyticsVariables();if(result||performance.now()-currentTime>=timeout){clearInterval(_interval)}}),pollInterval)}}; commonWrapper({valuesGetter:function(){return {"ga4s":0}},valuesSetter:function(data){var singleCall=data["ga4s"]||0;if(singleCall){window.sessionStorage.setItem("vwo-ga4-singlecall",true)}var ga4_device_id="";if(typeof window.VWO._.cookies!=="undefined"){ga4_device_id=window.VWO._.cookies.get("_ga")||""}if(ga4_device_id){window.vwo_ga4_uuid=ga4_device_id.split(".").slice(-2).join(".")}},verifyData:function(data){if(typeof window.VWO._.cookies!=="undefined"){return window.VWO._.cookies.get("_ga")||""}else{return false}}})(); var pushBasedCommonWrapper=function(argument){var firedCamp={};if(!argument){argument={integrationName:"",getExperimentList:function(){},accountSettings:function(){},pushData:function(){}}}return function(){window.VWO=window.VWO||[];const getVisitorUuid=function(){if(window._vwo_acc_id>=1037725){return window.VWO&&window.VWO.get("visitor.id")}else{return window.VWO._&&window.VWO._.cookies&&window.VWO._.cookies.get("_vwo_uuid")}};var sendDebugLogsOld=function(expId,variationId,errorType,user_type,data){try{var errorPayload={f:argument["integrationName"]||"",a:window._vwo_acc_id,url:window.location.href,exp:expId,v:variationId,vwo_uuid:getVisitorUuid(),user_type:user_type};if(errorType=="initIntegrationCallback"){errorPayload["log_type"]="initIntegrationCallback";errorPayload["data"]=JSON.stringify(data||"")}else if(errorType=="timeout"){errorPayload["timeout"]=true}if(window.VWO._.customError){window.VWO._.customError({msg:"integration debug",url:window.location.href,lineno:"",colno:"",source:JSON.stringify(errorPayload)})}}catch(e){window.VWO._.customError&&window.VWO._.customError({msg:"integration debug failed",url:"",lineno:"",colno:"",source:""})}};var sendDebugLogs=function(expId,variationId,errorType,user_type){var eventName="vwo_debugLogs";var eventPayload={};try{eventPayload={intName:argument["integrationName"]||"",varId:variationId,expId:expId,type:errorType,vwo_uuid:getVisitorUuid(),user_type:user_type};if(window.VWO._.event){window.VWO._.event(eventName,eventPayload,{enableLogs:1})}}catch(e){eventPayload={msg:"integration event log failed",url:window.location.href};window.VWO._.event&&window.VWO._.event(eventName,eventPayload)}};const callbackFn=function(data){if(!data)return;var expId=data[1],variationId=data[2],repeated=data[0],singleCall=0,debug=0;var experimentList=argument.getExperimentList();var integrationName=argument["integrationName"]||"vwo";if(typeof argument.accountSettings==="function"){var accountSettings=argument.accountSettings();if(accountSettings){singleCall=accountSettings["singleCall"];debug=accountSettings["debug"]}}if(debug){sendDebugLogs(expId,variationId,"intCallTriggered",repeated)}if(singleCall&&(repeated==="vS"||repeated==="vSS")||firedCamp[expId]){return}window.expList=window.expList||{};var expList=window.expList[integrationName]=window.expList[integrationName]||[];if(expId&&variationId&&["VISUAL_AB","VISUAL","SPLIT_URL"].indexOf(_vwo_exp[expId].type)>-1){if(experimentList.indexOf(+expId)!==-1){firedCamp[expId]=variationId;var visitorUuid=getVisitorUuid();var pollInterval=100;var currentTime=0;var timeout=6e4;var user_type=_vwo_exp[expId].exec?"vwo-retry":"vwo-new";var interval=setInterval((function(){if(expList.indexOf(expId)!==-1){clearInterval(interval);return}currentTime=currentTime||performance.now();var toClearInterval=argument.pushData(expId,variationId,visitorUuid);if(debug&&toClearInterval){sendDebugLogsOld(expId,variationId,"",user_type);sendDebugLogs(expId,variationId,"intDataPushed",user_type)}var isTimeout=performance.now()-currentTime>=timeout;if(isTimeout&&debug){sendDebugLogsOld(expId,variationId,"timeout",user_type);sendDebugLogs(expId,variationId,"intTimeout",user_type)}if(toClearInterval||isTimeout){clearInterval(interval)}if(toClearInterval){window.expList[integrationName].push(expId)}}),pollInterval||100)}}};window.VWO.push(["onVariationApplied",callbackFn]);window.VWO.push(["onVariationShownSent",callbackFn])}}; var surveyDataCommonWrapper=function(argument){if(!argument){argument={getCampaignList:function(){return[]},surveyStatusChange:function(){},answerSubmitted:function(){}}}return function(){window.VWO=window.VWO||[];function getValuesFromAnswers(answers){var values=[];for(var i=0;i=timeout;if(toClearInterval||isTimeout){clearInterval(interval)}}),pollInterval)}}window.VWO.push(["onSurveyShown",function(data){commonSurveyCallback(data,argument.surveyStatusChange,"surveyShown")}]);window.VWO.push(["onSurveyCompleted",function(data){commonSurveyCallback(data,argument.surveyStatusChange,"surveyCompleted")}]);window.VWO.push(["onSurveyAnswerSubmitted",function(data){commonSurveyCallback(data,argument.answerSubmitted,"surveySubmitted")}])}}; (function(){var VWOOmniTemp={};window.VWOOmni=window.VWOOmni||{};for(var key in VWOOmniTemp)Object.prototype.hasOwnProperty.call(VWOOmniTemp,key)&&(window.VWOOmni[key]=VWOOmniTemp[key]);window._vwoIntegrationsLoaded=1;pushBasedCommonWrapper({integrationName:"GA4",getExperimentList:function(){return [21,22,25,4,5,6,7]},accountSettings:function(){var accountIntegrationSettings={"dataVariable":"dataLayer","manualSetup":true,"setupVia":"gtm"};if(accountIntegrationSettings["debugType"]=="ga4"&&accountIntegrationSettings["debug"]){accountIntegrationSettings["debug"]=1}else{accountIntegrationSettings["debug"]=0}return accountIntegrationSettings},pushData:function(expId,variationId){var accountIntegrationSettings={"dataVariable":"dataLayer","manualSetup":true,"setupVia":"gtm"};var ga4Setup=accountIntegrationSettings["setupVia"]||"gtag";if(typeof window.gtag!=="undefined"&&ga4Setup=="gtag"){window.gtag("event","VWO",{vwo_campaign_name:window._vwo_exp[expId].name+":"+expId,vwo_variation_name:window._vwo_exp[expId].comb_n[variationId]+":"+variationId});window.gtag("event","experience_impression",{exp_variant_string:"VWO-"+expId+"-"+variationId});return true}return false}})();pushBasedCommonWrapper({integrationName:"GA4-GTM",getExperimentList:function(){return [21,22,25,4,5,6,7]},accountSettings:function(){var accountIntegrationSettings={"dataVariable":"dataLayer","manualSetup":true,"setupVia":"gtm"};if(accountIntegrationSettings["debugType"]=="gtm"&&accountIntegrationSettings["debug"]){accountIntegrationSettings["debug"]=1}else{accountIntegrationSettings["debug"]=0}return accountIntegrationSettings},pushData:function(expId,variationId){var accountIntegrationSettings={"dataVariable":"dataLayer","manualSetup":true,"setupVia":"gtm"};var ga4Setup=accountIntegrationSettings["setupVia"]||"gtm";var dataVariable=accountIntegrationSettings["dataVariable"]||"dataLayer";if(typeof window[dataVariable]!=="undefined"&&ga4Setup=="gtm"){window[dataVariable].push({event:"vwo-data-push-ga4",vwo_exp_variant_string:"VWO-"+expId+"-"+variationId});return true}return false}})(); ;})();(function(){window.VWO=window.VWO||[];var pollInterval=100;var _vis_data={};var intervalObj={};var analyticsTimerObj={};var experimentListObj={};window.VWO.push(["onVariationApplied",function(data){if(!data){return}var expId=data[1],variationId=data[2];if(expId&&variationId&&["VISUAL_AB","VISUAL","SPLIT_URL"].indexOf(window._vwo_exp[expId].type)>-1){}}])})();; ;var vD=VWO.data||{};VWO.data={content:{"fns":{"list":{"args":{"1":{}},"vn":1}}},as:"r4.visualwebsiteoptimizer.com",dacdnUrl:"https://dev.visualwebsiteoptimizer.com",accountJSInfo:{"rp":30,"noSS":false,"pc":{"a":0,"t":0},"ts":1743220861}};for(var k in vD){VWO.data[k]=vD[k]};;var gcpfb=function(a,loadFunc,status,err,success){function vwoErr() {_vwo_err({message:"Google_Cdn failing for " + a + ". Trying Fallback..",code:"cloudcdnerr",status:status});} if(a.indexOf("/cdn/")!==-1){loadFunc(a.replace("cdn/",""),err,success); vwoErr(); return true;} else if(a.indexOf("/dcdn/")!==-1&&a.indexOf("evad.js") !== -1){loadFunc(a.replace("dcdn/",""),err,success); vwoErr(); return true;}};window.VWO=window.VWO || [];window.VWO._= window.VWO._ || {};window.VWO._.gcpfb=gcpfb;;var d={cookie:document.cookie,URL:document.URL,referrer:document.referrer};var w={VWO:{_:{}},location:{href:window.location.href,search:window.location.search},_vwoCc:window._vwoCc};;window._vwo_cdn="https://dev.visualwebsiteoptimizer.com/cdn/";window._vwo_apm_debug_cdn="https://dev.visualwebsiteoptimizer.com/cdn/";window.VWO._.useCdn=true;window.vwo_eT="br";window._VWO=window._VWO||{};window._VWO.fSeg={};window._VWO.dcdnUrl="/dcdn/settings.js";window.VWO.sTs=1743172493;window._VWO._vis_nc_lib=window._vwo_cdn+"edrv/nc-027330777ece73059cc92c6141e45cb3br.js";var loadWorker=function(url){_vwo_code.load(url, { dSC: true, onloadCb: function(xhr,a){window._vwo_wt_l=true;if(xhr.status===200 ||xhr.status===304){var code="var window="+JSON.stringify(w)+",document="+JSON.stringify(d)+";window.document=document;"+xhr.responseText;var blob=new Blob([code||"throw new Error('code not found!');"],{type:"application/javascript"}),url=URL.createObjectURL(blob);window.mainThread={webWorker:new Worker(url)};window.vwoChannelFW=new MessageChannel();window.vwoChannelToW=new MessageChannel();window.mainThread.webWorker.postMessage({vwoChannelToW:vwoChannelToW.port1,vwoChannelFW:vwoChannelFW.port2},[vwoChannelToW.port1, vwoChannelFW.port2]);if(!window._vwo_mt_f)return window._vwo_wt_f=true;_vwo_code.addScript({text:window._vwo_mt_f});delete window._vwo_mt_f}else{if(gcpfb(a,loadWorker,xhr.status)){return;}_vwo_code.finish("&e=loading_failure:"+a)}}, onerrorCb: function(a){if(gcpfb(a,loadWorker)){return;}window._vwo_wt_l=true;_vwo_code.finish("&e=loading_failure:"+a);}})};loadWorker("https://dev.visualwebsiteoptimizer.com/cdn/edrv/worker-1135852b6bc11a94eb64017a8d120ad8br.js");;var _vis_opt_file;var _vis_opt_lib;if(window.VWO._.allSettings.dataStore.previewExtraSettings!=undefined&&window.VWO._.allSettings.dataStore.previewExtraSettings.isSurveyPreviewMode){var surveyHash=window.VWO._.allSettings.dataStore.plugins.LIBINFO.SURVEY_DEBUG_EVENTS.HASH;var param1="evad.js?va=";var param2="&d=debugger_new";var param3="&sp=1&a=1036207&sh="+surveyHash;_vis_opt_file=vwoCode.use_existing_jquery&&typeof vwoCode.use_existing_jquery()!=="undefined"?vwoCode.use_existing_jquery()?param1+"vanj"+param2:param1+"va_gq"+param2:param1+"edrv/va_gq-3adf809ea7b0629d1cfde6b0f4969635br.js"+param2;_vis_opt_file=_vis_opt_file+param3;_vis_opt_lib="https://dev.visualwebsiteoptimizer.com/dcdn/"+_vis_opt_file}else if(window.VWO._.allSettings.dataStore.mode!=undefined&&window.VWO._.allSettings.dataStore.mode=="PREVIEW"){ var path1 = 'edrv/pd_'; var path2 = window.VWO._.allSettings.dataStore.plugins.LIBINFO.EVAD.HASH + ".js"; ;_vis_opt_file=vwoCode.use_existing_jquery&&typeof vwoCode.use_existing_jquery()!=="undefined"?vwoCode.use_existing_jquery()?path1+"vanj"+path2:path1+"va_gq"+path2:path1+"edrv/va_gq-3adf809ea7b0629d1cfde6b0f4969635br.js"+path2;_vis_opt_lib="https://dev.visualwebsiteoptimizer.com/cdn/"+_vis_opt_file}else{_vis_opt_file=vwoCode.use_existing_jquery&&typeof vwoCode.use_existing_jquery()!=="undefined"?vwoCode.use_existing_jquery()?"edrv/vanj-7340efabe014aa7ac36a54293558de41br.js":"edrv/va_gq-3adf809ea7b0629d1cfde6b0f4969635br.js":"edrv/va_gq-3adf809ea7b0629d1cfde6b0f4969635br.js"}window._vwo_library_timer=setTimeout((function(){vwoCode.removeLoaderAndOverlay&&vwoCode.removeLoaderAndOverlay();vwoCode.finish()}),vwoCode.library_tolerance&&typeof vwoCode.library_tolerance()!=="undefined"?vwoCode.library_tolerance():2500),_vis_opt_lib=typeof _vis_opt_lib=="undefined"?window._vwo_cdn+_vis_opt_file:_vis_opt_lib;var loadLib=function(url){_vwo_code.load(url, { dSC: true, onloadCb:function(xhr,a){window._vwo_mt_l=true;if(xhr.status===200 || xhr.status===304){if(!window._vwo_wt_f)return window._vwo_mt_f=xhr.responseText;_vwo_code.addScript({text:xhr.responseText});delete window._vwo_wt_f;}else{if(gcpfb(a,loadLib,xhr.status)){return;}_vwo_code.finish("&e=loading_failure:"+a);}}, onerrorCb: function(a){if(gcpfb(a,loadLib)){return;}window._vwo_mt_l=true;_vwo_code.finish("&e=loading_failure:"+a);}})};loadLib(_vis_opt_lib);VWO.load_co=function(u,opts){return window._vwo_code.load(u,opts);};;;}}catch(e){_vwo_code.finish();_vwo_code.removeLoaderAndOverlay&&_vwo_code.removeLoaderAndOverlay();_vwo_err(e);window.VWO.caE=1}})();
بحث
يرجى إدخال النص للبحث

أكثر من مجرد شريك دائم في مجال السيارات

  • hyundai

    بالإضافة إلى تطوير منتجات تخدم المستقبل، فإن جهودنا المستمرة لتحسين تجربة عملائنا في المبيعات والخدمات ستعزز الإعجاب بشركة هيونداي للسيارات كعلامة تجارية.