Files
2026-11-16 01:39:59 +07:00

12 lines
14 KiB
PHP

try{;(function(){var aC=window._vwo_code;if(aC){window._vwo_j_e=window._vwo_j_e||0;if(window._vwo_j_e==1){window._vwo_mt="dupCode";clearTimeout(window._vwo_settings_timer);if(window.VWO&&window.VWO._&&window.VWO._.bIE){window._vwo_code.finish()}return}if(window._vwo_j_e==-1){window._vwo_j_e=1}}window._vwo_mt="live"; var localPreviewObject = {}; var previewKey = "_vis_preview_280223"; var wL = window.location; try {localPreviewObject[previewKey] = window.localStorage.getItem(previewKey); JSON.parse(localPreviewObject[previewKey])} catch (e) {localPreviewObject[previewKey] = ""}; try{window._vwo_tm="";var getMode=function(e){var n;if(window.name.indexOf(e)>-1){n=window.name}else{n = wL.search.match("_vwo_m=([^&]*)");n=n&&n[1]}return n&&JSON.parse(decodeURIComponent(n))};var ccMode = getMode("_vwo_cc");if(window.name.indexOf("_vis_heatmap")>-1||window.name.indexOf("_vis_editor")>-1||ccMode||window.name.indexOf("_vis_preview")>-1){try{ if (window.name && JSON.parse(window.name)) { window._vwo_mt = window.name} else if(ccMode) {window._vwo_mt = decodeURIComponent(wL.search.match("_vwo_m=([^&]*)")[1]);} }catch(e){if(window._vwo_tm)window._vwo_mt=window._vwo_tm}}else if(window._vwo_tm.length){window._vwo_mt=window._vwo_tm}else if(location.href.indexOf("_vis_opt_preview_combination")!==-1&&location.href.indexOf("_vis_test_id")!==-1){window._vwo_mt="sharedPreview"}else if (localPreviewObject[previewKey]) {window._vwo_mt = JSON.stringify(localPreviewObject);} if(window._vwo_mt!=="live"){if(!getMode("_vwo_cc")){_vwo_code.load('https://dev.visualwebsiteoptimizer.com/j.php?mode=' + encodeURIComponent(window._vwo_mt) + '&a=280223&f=1&u=' + encodeURIComponent(window._vis_opt_url||document.URL));}else{(function(){window._vwo_code&&window._vwo_code.finish();_vwo_ccc={u:"/j.php?a=280223&u=https%3A%2F%2Fwww.thairath.co.th%2Fcontent%2F532471&f=1&vn=1.4"};var s=document.createElement("script");s.src="https://app.vwo.com/visitor-behavior-analysis/dist/codechecker/cc.min.js?r="+Math.random();document.head.appendChild(s)})()}}}catch(e){var b=new Image;b.src="https://dev.visualwebsiteoptimizer.com/e.gif?s=mode_det&e="+encodeURIComponent(e&&e.stack&&e.stack.substring(0,1e3));aC&&window._vwo_code.finish()}})();if(window._vwo_mt==='live'){;window.VWO = window.VWO || []; window.VWO.push(['modifyClickPauseTime', { time: 0 }]);_vwo_code.sT=_vwo_code.finished();(function(c,a,e,d,b,z,g){function f(a,b,d){e.cookie=a+"="+b+"; expires="+new Date(864e5*d+ +new Date).toGMTString()+"; domain="+g+"; path=/"}-1==e.cookie.indexOf("_vis_opt_out")&&-1==d.location.href.indexOf("vwo_opt_out=1")&&(a=e.cookie.replace(/(?:(?:^|.*;\s*)_vwo_uuid_v2\s*=\s*([^;]*).*$)|^.*$/,"$1")||a,a=a.split("|"),b=new Image,c=d.location.hostname.replace(/^www\./,"")||c,g = window._vis_opt_domain || c || d.location.hostname.replace(/^www\./, ""),b.src="https://dev.visualwebsiteoptimizer.com/v.gif?cd="+(window._vis_opt_cookieDays||0)+"&a=280223&d="+encodeURIComponent(c)+"&u="+a[0]+"&h="+a[1]+"&t="+z,d.vwo_iehack_queue=[b],f("_vwo_uuid_v2",a.join("|"),366))})("thairath.co.th","DB91D9397F65F151246479BC0AEE10059|8db34490f919051f7b09166f03679ec0",document,window,0,_vwo_code.sT);var _vwo_acc_id=280223;
clearTimeout(_vwo_settings_timer);_vwo_exp_ids=[],_vwo_exp={};window.VWO=window.VWO||[];
window.VWO.data={"url":{},"pc":{"t":1.36,"a":1.36},"noSS":false,"mrp":20,"rp":60,"ts":1702628872};window.VWO.featureInfo={"dtd":"1000","dt":"OFF","dtdfd":"","uct":"","eavr":"0","cInstJS":"","hC":3,"mrp":20,"spa":"0","it":""};_vwo_exp_ids.push('30');_vwo_exp['30']={"pc_traffic":100,"goals":{"1":{"excludeUrl":"","urlRegex":"^.*$","type":"ENGAGEMENT"}},"sections":{"1":{"path":"","variations":{"1":""}}},"name":"Heatmap","segment_code":"true","ep":1580897615000,"clickmap":0,"isEventMigrated":true,"urlRegex":"^.*$","exclude_url":"","multiple_domains":0,"manual":false,"main":true,"ss":null,"version":2,"comb_n":{"1":"website"},"status":"RUNNING","combs":{"1":1},"ibe":0,"globalCode":[],"type":"ANALYZE_HEATMAP"};window._vwo_pa=window._vwo_pa || {};_vwo_exp_ids.push('31');_vwo_exp['31']={"pc_traffic":100,"goals":{"1":{"excludeUrl":"","urlRegex":"^.*$","type":"ENGAGEMENT"}},"sections":{"1":{"path":"","variations":{"1":""}}},"name":"Recording","comb_n":{"1":"website"},"segment_code":"true","ep":1581671567000,"bl":"","isEventMigrated":true,"aK":1,"wl":"","combs":{"1":1},"exclude_url":"","multiple_domains":0,"manual":false,"main":true,"ss":null,"version":2,"ibe":0,"status":"RUNNING","clickmap":0,"type":"ANALYZE_RECORDING","globalCode":[],"urlRegex":"^.*$"};_vwo_exp_ids.push('176');_vwo_exp['176']={"forms":["#Register > div > div.css-yvpce3.e18gpnny0 > div.css-1iju6v3.ee21rrp78 > form"],"pc_traffic":100,"goals":{"1":{"excludeUrl":"","urlRegex":"^.*$","type":"ENGAGEMENT"}},"sections":{"1":{"path":"","variations":{"1":""}}},"name":"Register Form","segment_code":"true","ep":1675829495000,"clickmap":0,"isEventMigrated":true,"urlRegex":"^https\\:\\\/\\\/thairath\\.co\\.th.*$","exclude_url":"","multiple_domains":0,"manual":false,"comb_n":{"1":"website"},"ss":null,"version":2,"status":"RUNNING","combs":{"1":1},"ibe":0,"globalCode":[],"type":"ANALYZE_FORM"};_vwo_exp_ids.push('240');_vwo_exp['240']={"pc_traffic":100,"goals":{"80":{"url":"#__next > main > div > header > div > div.header-hamburger-icon.css-1fmlc8i.e1jpzq382","pUrl":"^.*https\\:\\\/\\\/thairath\\.co\\.th.*$","type":"CLICK_ELEMENT","pExcludeUrl":""}},"sections":{"1":{"path":"","variations":[]}},"name":"Click Hamburger menu","segment_code":"(_vwo_s().f_e(_vwo_s().de(), 'ipod') || _vwo_s().f_e(_vwo_s().de(), 'iphone') || _vwo_s().f_e(_vwo_s().de(), 'winphone') || _vwo_s().f_e(_vwo_s().de(), 'android') || _vwo_s().f_e(_vwo_s().de(), 'googletv') || _vwo_s().f_e(_vwo_s().de(), 'symbian') || _vwo_s().f_e(_vwo_s().de(), 'blackberry')) && (_vwo_s().f_d_con(_vwo_s().ua(), 'tablet'))","ep":1686889214000,"clickmap":0,"isEventMigrated":true,"urlRegex":"^.*https\\:\\\/\\\/thairath\\.co\\.th.*$","combs":{"1":1},"exclude_url":"","multiple_domains":0,"ibe":0,"comb_n":{"1":"Website"},"ss":{"csa":0},"version":1,"isSpaRevertFeatureEnabled":false,"status":"RUNNING","segment_code_v2":"(_vwo_s().f_e(_vwo_s().dt(), 'mobile'))","type":"TRACK","globalCode":[],"manual":false};_vwo_exp_ids.push('241');_vwo_exp['241']={"pc_traffic":100,"goals":{"81":{"url":"#__next > main > div > nav > div > div:nth-child(3) > div > ul > li:nth-child(3) > div","pUrl":"^.*https\\:\\\/\\\/thairath\\.co\\.th.*$","type":"CLICK_ELEMENT","pExcludeUrl":""}},"sections":{"1":{"path":"","variations":[]}},"name":"Step 2 Click on Variety","segment_code":"(_vwo_s().f_e(_vwo_s().de(), 'ipod') || _vwo_s().f_e(_vwo_s().de(), 'iphone') || _vwo_s().f_e(_vwo_s().de(), 'winphone') || _vwo_s().f_e(_vwo_s().de(), 'android') || _vwo_s().f_e(_vwo_s().de(), 'googletv') || _vwo_s().f_e(_vwo_s().de(), 'symbian') || _vwo_s().f_e(_vwo_s().de(), 'blackberry')) && (_vwo_s().f_d_con(_vwo_s().ua(), 'tablet'))","ep":1686889401000,"clickmap":0,"isEventMigrated":true,"urlRegex":"^.*https\\:\\\/\\\/thairath\\.co\\.th.*$","combs":{"1":1},"exclude_url":"","multiple_domains":0,"ibe":0,"comb_n":{"1":"Website"},"ss":{"csa":0},"version":1,"isSpaRevertFeatureEnabled":false,"status":"RUNNING","segment_code_v2":"(_vwo_s().f_e(_vwo_s().dt(), 'mobile'))","type":"TRACK","globalCode":[],"manual":false};_vwo_exp_ids.push('244');_vwo_exp['244']={"pc_traffic":100,"goals":{"83":{"excludeUrl":"","urlRegex":"^https\\:\\\/\\\/thairath\\.co\\.th.*$","pExcludeUrl":"","pUrl":"","type":"CUSTOM_GOAL"}},"sections":{"1":{"path":"","variations":[]}},"name":"OKR - track users","segment_code":"(_vwo_s().f_e(_vwo_s().jv('VWO._.pageId'),'4'))","ep":1687147798000,"clickmap":0,"isEventMigrated":true,"urlRegex":"^https\\:\\\/\\\/thairath\\.co\\.th.*$","exclude_url":"","multiple_domains":0,"ibe":0,"comb_n":{"1":"Website"},"ss":{"csa":0},"version":1,"combs":{"1":1},"status":"RUNNING","isSpaRevertFeatureEnabled":false,"type":"TRACK","globalCode":[],"manual":false};var vwoCode = window._vwo_code; if(vwoCode.filterConfig && vwoCode.filterConfig.filterTime==='balanced'){ vwoCode.removeLoaderAndOverlay && vwoCode.removeLoaderAndOverlay() };var _vwo_style=document.getElementById('_vis_opt_path_hides'),_vwo_css = window._vwo_el_style || ((vwoCode.hide_element_style ? vwoCode.hide_element_style() : '{opacity:0 !important;filter:alpha(opacity=0) !important;background:none !important;}') + ':root {--vwo-el-opacity:0 !important;--vwo-el-filter:alpha(opacity=0) !important;--vwo-el-bg:none !important;}');
if(_vwo_style){_vwo_style.parentNode.removeChild(_vwo_style);window.VWO.dNR = true;}var commonWrapper=function(argument){if(!argument){argument={valuesGetter:function(){return{}},valuesSetter:function(){},verifyData:function(){return{}}}}var pollInterval=100;var timeout=5e3;return function(){var accountIntegrationSettings={};var _interval=null;function waitForAnalyticsVariables(){try{accountIntegrationSettings=argument.valuesGetter()}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)}};
var pushBasedCommonWrapper=function(argument){if(!argument){argument={integrationName:"",getExperimentList:function(){},accountSettings:function(){},pushData:function(){}}}return function(){window.VWO=window.VWO||[];window.VWO.push(["onVariationApplied",function(data){if(!data)return;var expId=data[1],variationId=data[2],repeated=data[0],singleCall=0,debug=0;var experimentList=argument.getExperimentList();if(typeof argument.accountSettings==="function"){var accountSettings=argument.accountSettings();if(accountSettings){singleCall=accountSettings["singleCall"];debug=accountSettings["debug"]}}if(singleCall&&repeated==="vS"){return}if(expId&&variationId&&["VISUAL_AB","VISUAL","SPLIT_URL"].indexOf(_vwo_exp[expId].type)>-1){if(experimentList.indexOf(+expId)!==-1){var pollInterval=100;var currentTime=0;var timeout=5e3;var interval=setInterval((function(){currentTime=currentTime||performance.now();var toClearInterval=argument.pushData(expId,variationId);if(debug&&toClearInterval){try{var vwo_account_id=window._vwo_acc_id;var vwo_uuid=VWO._&&VWO._.cookies&&VWO._.cookies.get("_vwo_uuid");var format=argument["integrationName"];if(window.VWO._.customError){window.VWO._.customError({msg:"integration debug",url:encodeURIComponent(window.location.href),lineno:"",colno:"",source:JSON.stringify({f:format,a:vwo_account_id,url:encodeURIComponent(window.location.href),exp:expId,v:variationId,vwo_uuid:vwo_uuid})})}}catch(e){var vwo_error=""}}if(toClearInterval||performance.now()-currentTime>=timeout){clearInterval(interval)}}),pollInterval||100)}}}])}};
(function(){var VWOOmniTemp={};window.VWOOmni=window.VWOOmni||{};for(var key in VWOOmniTemp)Object.prototype.hasOwnProperty.call(VWOOmniTemp,key)&&(window.VWOOmni[key]=VWOOmniTemp[key]);;})();(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){}}])})();window.VWO.data.vi = window.VWO.data.vi || {"de":"Other","dt":"desktop","br":"Edge","os":"Windows"};
window.VWO.push(['enableSPA']);
VWO.load_co=function(a){var b=document.createElement('script');b.src=a;b.crossOrigin='anonymous';b.fetchPriority='high';b.type='text/javascript';b.innerText;b.onerror=function(){_vwo_code && _vwo_code.finish();};document.getElementsByTagName('head')[0].appendChild(b);}
var _vwo_cookieDomain = 'thairath.co.th', _vwo_uuid = 'DB91D9397F65F151246479BC0AEE10059';window.VWO=window.VWO||[];VWO._=VWO._||{};var _vis_opt_file =_vwo_code.use_existing_jquery && typeof _vwo_code.use_existing_jquery() !== 'undefined' ? _vwo_code.use_existing_jquery() ? '7.0/vanj-ae1ed1724401fee636640bec4c79bb0f.js' : '7.0/va-ae1ed1724401fee636640bec4c79bb0f.js' : '7.0/va-ae1ed1724401fee636640bec4c79bb0f.js',_vwo_library_timer = setTimeout(function () {var vwoCode = _vwo_code; 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')?'https://dev.visualwebsiteoptimizer.com/'+_vis_opt_file:_vis_opt_lib;VWO.load_co(_vis_opt_lib);VWO.load_co(window.VWO.trackLibPath || 'https://dev.visualwebsiteoptimizer.com/7.0/track-ae1ed1724401fee636640bec4c79bb0f.js');_vwo_opa_cb = 'bc05711be78e68f96783bf21978ae49a';VWO.load_co(window.VWO.opaLibPath || 'https://dev.visualwebsiteoptimizer.com/analysis/4.0/opa-bc05711be78e68f96783bf21978ae49a.js');_vwo_worker_cb='70faafffa0475802f5ee03ca5ff74179';window._vwo_pa = window._vwo_pa || {};window._vwo_pa.sId = 'EA4A1C27879FD905';window.VWO.data.as = "r3.visualwebsiteoptimizer.com";;window.VWO = window.VWO||[];window.VWO._=window.VWO._||{};VWO._.ac=VWO._.ac||{}; VWO._.ac.it=0;VWO._.ac.uct=0;;window.VWO = window.VWO||[];window.VWO._=window.VWO._||{};VWO._.ac=VWO._.ac||{};VWO._.ac.cURCF=true;;window.VWO = window.VWO||[];window.VWO._=window.VWO._||{};VWO._.ac=VWO._.ac||{};VWO._.ac.cASSC=true;;window.VWO = window.VWO||[];window.VWO._=window.VWO._||{};VWO._.ac=VWO._.ac||{};VWO._.ac.hFCVJ=true;;window.VWO = window.VWO||[];window.VWO._=window.VWO._||{};VWO._.ac=VWO._.ac||{};VWO._.ac.dNHEL=true;;window.VWO=window.VWO||[];window.VWO._=window.VWO._||{};VWO._.ac=VWO._.ac||{};;
window.VWO = window.VWO || [];
window.VWO.data = window.VWO.data || {};
VWO.data.content={"fns":{"list":{"args":{"1":{}},"vn":1}}};;window._vwo_clicks = window._vwo_clicks || 3;;window.VWO = window.VWO||[];window.VWO._=window.VWO._||{};VWO._.ac=VWO._.ac||{};VWO._.ac.dNdOfst=1000;;window.VWO.data.SCC='{"cache":0}';}}catch(e){_vwo_code.finish(); _vwo_code.removeLoaderAndOverlay && _vwo_code.removeLoaderAndOverlay(); var vwo_e=new Image;vwo_e.src="https://dev.visualwebsiteoptimizer.com/e.gif?a=280223&s=j.php&e="+encodeURIComponent(e && e.message && e.message.substring(0,1000))+"&url"+encodeURIComponent(window.location.href)}