CINXE.COM
Berita Terkini Hari Ini, Kabar Akurat Terpercaya - Kompas.com
<!DOCTYPE html> <html lang="en"> <head> <script> window.dataLayer = window.dataLayer || []; window.dataLayer.push([]);</script> <!-- Google Tag Manager --> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-PT7PC4');</script> <!-- End Google Tag Manager --> <title>Berita Terkini Hari Ini, Kabar Akurat Terpercaya - Kompas.com</title> <link href="//securepubads.g.doubleclick.net" rel="dns-prefetch"> <link href="//asset.kompas.com" rel="dns-prefetch"> <link href="//adsimg.kompas.com" rel="dns-prefetch"> <link href="//tpc.googlesyndication.com" rel="dns-prefetch"> <link href="//cm.g.doubleclick.net" rel="dns-prefetch"> <link href="//apis.kompas.com" rel="dns-prefetch"><meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width"> <meta name="description" content="Kompas.com - Berita Indonesia dan Dunia Terkini Hari Ini, Kabar Harian Terbaru Terpercaya Terlengkap Seputar Politik, Ekonomi, Travel, Teknologi, Otomotif, Bola"> <meta name="keywords" content="Berita Terkini, Berita Hari Ini, Berita Harian, Berita Terbaru, Berita Akurat, Berita Terpercaya, Berita indonesia, Berita Terpopuler, Berita, Info Terkini, Jernih Melihat Dunia, Kompas"> <meta name="googlebot-news" content="index, follow" /> <meta name="googlebot" content="index, follow" /> <meta name="author" content="Kompas Cyber Media"> <meta name="robots" content="index, follow" /> <meta name="language" content="id" /> <meta name="geo.country" content="id" /> <meta http-equiv="content-language" content="In-Id" /> <meta name="geo.placename" content="Indonesia" /> <!-- S:fb meta --> <meta property="og:type" content="article" /> <meta property="og:image" content="https://asset.kompas.com/data/2019/kompascom/banner-jmd-3.jpg" /> <meta property="og:title" content="" /> <meta property="og:description" content="Kompas.com - Berita Indonesia dan Dunia Terkini Hari Ini, Kabar Harian Terbaru Terpercaya Terlengkap Seputar Politik, Ekonomi, Travel, Teknologi, Otomotif, Bola"> <meta property="og:url" content="https://www.kompas.com/" /> <meta property="og:site_name" content="KOMPAS.com" /> <meta property="fb:app_id" content="324557847592228" /> <!-- e:fb meta --> <!-- S:tweeter card --> <meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:site" content="@kompascom" /> <meta name="twitter:creator" content="@kompascom"> <meta name="twitter:title" content="" /> <meta name="twitter:description" content="Kompas.com - Berita Indonesia dan Dunia Terkini Hari Ini, Kabar Harian Terbaru Terpercaya Terlengkap Seputar Politik, Ekonomi, Travel, Teknologi, Otomotif, Bola" /> <meta name="twitter:image" content="https://asset.kompas.com/data/2019/kompascom/banner-jmd-3.jpg" /> <!-- E:tweeter card --> <meta name="content_category" content="" /> <meta name="content_subcategory" content="" /> <meta name="content_location" content="" /> <meta name="content_author_id" content="" /> <meta name="content_author" content="" /> <meta name="content_editor_id" content="" /> <meta name="content_editor" content="" /> <meta name="content_lipsus" content="" /> <meta name="content_lipsus_id" content="" /> <meta name="content_sensi" content="" /> <meta name="content_type" content="" /> <meta name="content_PublishedDate" content="" /> <meta property="article:published_time" content="" /> <meta name="content_source" content="" /> <meta name="content_tag" content="" /> <meta name="content_tags" content="" /> <meta name="content_total_words" content="" /> <meta name="subscription" content="False" /> <meta name="lestari_sdgs" content="" /> <meta name="content_total_pages" content="" /> <meta name="content_current_page" content="" /> <link rel="preload" href="https://securepubads.g.doubleclick.net/tag/js/gpt.js" as="script"> <link rel="canonical" href="https://travel.kompas.com/galeri" /> <link rel="dns-prefetch" href="twitter.com"> <link rel="shortcut icon" href="https://asset.kompas.com/data/2017/wp/images/favicon2017.ico"> <link rel="stylesheet" href="https://asset.kompas.com/data/2024/11/05/kompascom/desktop/css/kcm2017-article.min.css" type="text/css"> <link rel="stylesheet" href="https://asset.kompas.com/data/2024/01/12/15/kompascom/desktop/css/kcm2017-iconpack-article.min.css" type="text/css"> <link rel="stylesheet" href="https://asset.kompas.com/data/2024/10/09/css/kgm-verify.min.css" type="text/css"> <link rel="preload" href="https://fonts.googleapis.com/css?family=Roboto+Condensed:200,300,700|Roboto:300,300i,400,400i,500,700,700i" as="style"> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto+Condensed:200,300,700|Roboto:300,300i,400,400i,500,700,700i"> <link rel="preconnect" href="https://scripts.jixie.media"/> <script src="https://asset.kompas.com/data/2017/wp/js/jquery-1.12.0.min.js"></script> <script src="https://asset.kompas.com/data/2017/wp/js/modernizr.custom.js"></script> <link rel="preconnect" href="https://scripts.jixie.media"/> <script type="text/javascript"> window.jixie_o = { accountid: "9262bf2590d558736cac4fff7978fcb1", partner_cookie: 'kmps_usrid', external_ids: ['tdid','tdid2','jxtoko','ifo'], sha256mail_cookie:'usermail', ad_blocker: true, logbids: true, userprofile: true, sha256ph_cookie:'kmps_uphn', }; </script> <script async src="https://scripts.jixie.media/jxpublisher_3_1.min.js"></script> <script type="text/javascript"> window.jixie_p = window.jixie_p || []; window.jixie_p.push({ action: "viewhome" }); </script> <!-- Start Ad Blocking Recovery Message --> <script async src="https://fundingchoicesmessages.google.com/i/pub-9012468469771973?ers=1" nonce="IOvmxAasolBKwB_qzaJVMg"></script><script nonce="IOvmxAasolBKwB_qzaJVMg">(function() {function signalGooglefcPresent() {if (!window.frames['googlefcPresent']) {if (document.body) {const iframe = document.createElement('iframe'); iframe.style = 'width: 0; height: 0; border: none; z-index: -1000; left: -1000px; top: -1000px;'; iframe.style.display = 'none'; iframe.name = 'googlefcPresent'; document.body.appendChild(iframe);} else {setTimeout(signalGooglefcPresent, 0);}}}signalGooglefcPresent();})();</script> <!-- Endof Ad Blocking Recovery Message --><!-- Start: GPT Async --> <script async src="https://securepubads.g.doubleclick.net/tag/js/gpt.js"></script> <!--jixie prebid tracker start--> <script type="text/javascript"> window.pbjs=window.pbjs||{},pbjs.que=pbjs.que||[],pbjs.que.push(function(){window._jxbidsq=window._jxbidsq||[],pbjs.onEvent("auctionInit",function(n){_jxbidsq.push(["auctionInit",n])}),pbjs.onEvent("auctionEnd",function(n){_jxbidsq.push(["auctionEnd",n])}),pbjs.onEvent("bidWon",function(n){_jxbidsq.push(["bidWon",n])}),pbjs.onEvent("bidTimeout",function(n){_jxbidsq.push(["bidTimeout",n])}),pbjs.onEvent("bidRequested",function(n){_jxbidsq.push(["bidRequested",n])}),pbjs.onEvent("setTargeting",function(n){_jxbidsq.push(["setTargeting",n])}),pbjs.onEvent("bidResponse",function(n){_jxbidsq.push(["bidResponse",n])})}),window.googletag=window.googletag||{cmd:[]},googletag.cmd.push(function(){googletag.pubads().addEventListener("slotRenderEnded",function(n){_jxbidsq.push(["slotRenderEnded",n])}),googletag.pubads().addEventListener("impressionViewable",function(n){_jxbidsq.push(["impressionViewable",n])})}); </script> <!--jixie prebid tracker end--> <script async src="https://adsimg.kompas.com/html5/prebid/kompas/prebid9.16.0r.js"></script> <script type="text/javascript"> function getCookieUid(cname){var name=cname+"=";var decodedCookie=decodeURIComponent(document.cookie);var ca=decodedCookie.split(";");for(var i=0;i<ca.length;i++){var c=ca[i];while(c.charAt(0)==" "){c=c.substring(1);} if(c.indexOf(name)==0){return c.substring(name.length,c.length);}} return"";} var uuid__=getCookieUid("_jxtdid"); window.getUid2AdvertisingToken = async () => { var id; if (typeof window.jxGetUid2 == 'function') { id = await window.jxGetUid2(); } else { id = getCookieUid('__uid2_advertising_token', null); } return id; } var PREBID_TIMEOUT=2e3,FAILSAFE_TIMEOUT=3e3,HB_TIMEOUT=1e3,adUnits=[{code:"div-gpt-ad-Top_1-1",ortb2Imp:{ext:{gpid:"1000008-EIftKYAWdx",data:{pbadslot:"1000008-EIftKYAWdx"}}},mediaTypes:{banner:{sizes:[[728,90],[970,90],[970,250]]}},bids:[{bidder:"kargo",params:{placementId:"_kGDB9vTtyF"}},{bidder:"openx",params:{unit:"540782269",delDomain:"kompascybermedia-d.openx.net"}},{bidder:"ix",params:{siteId:449983,size:[728,90]}},{bidder:"ix",params:{siteId:449983,size:[970,90]}},{bidder:"ix",params:{siteId:449983,size:[970,250]}},{bidder:"smartadserver",params:{networkId:"3727",siteId:"363578",pageId:"1293724",formatId:"96602",domain:"https://prg8.smartadserver.com"}},{bidder:"jixie",params:{unit:"1000008-EIftKYAWdx"}},{bidder:"teads",params:{placementId:165951,pageId:151712}},{bidder:"triplelift",params:{inventoryCode:"kg_kompas_desktop_970x250"}},{bidder:"rubicon",params:{accountId:11834,siteId:434086,zoneId:2484332}},{bidder:"gumgum",params:{zone:"o4idpqq7",slot:986382}},{bidder:"gumgum",params:{zone:"o4idpqq7",slot:986383}},{bidder:"gumgum",params:{zone:"o4idpqq7",slot:986384}},{bidder:"smilewanted",params:{zoneId:"kgmedia.id_hb_display_1"}},{bidder:"oms",params:{publisherId:"20739"}},{bidder:"pstudio",params:{pubid:"9e680c92-bdf1-41b0-a7f7-281d394574df",adtagid:"57e032c6-38f9-40b0-98c5-e31378a7bd88"}}]},{code:"div-gpt-ad-Giant",ortb2Imp:{ext:{gpid:"1000008-eLIsfXaJKT",data:{pbadslot:"1000008-eLIsfXaJKT"}}},mediaTypes:{banner:{sizes:[[300,600],[300,250]]},video:{context:"outstream",playerSize:[300,250],api:[1,2],protocols:[2,3,5,6],minduration:5,maxduration:30,mimes:["video/mp4","application/javascript"],placement:2,linearity:1,delivery:[1,2],plcmt:4}},bids:[{bidder:"kargo",params:{placementId:"_blRlCURcHY"}},{bidder:"openx",params:{unit:"540782269",delDomain:"kompascybermedia-d.openx.net"}},{bidder:"ix",params:{siteId:449983,size:[300,600]}},{bidder:"triplelift",params:{inventoryCode:"kg_kompas_desktop_article_imu_1"}},{bidder:"smartadserver",params:{networkId:"3727",siteId:"363578",pageId:"1293724",formatId:"93799",domain:"https://prg8.smartadserver.com"}},{bidder:"jixie",params:{unit:"1000008-eLIsfXaJKT"}},{bidder:"teads",params:{placementId:165951,pageId:151712}},{bidder:"rubicon",params:{accountId:11834,siteId:434086,zoneId:2484334}},{bidder:"gumgum",params:{zone:"o4idpqq8",slot:986385}},{bidder:"smilewanted",params:{zoneId:"kgmedia.id_hb_display_1"}},{bidder:"oms",params:{publisherId:"20739"}},{bidder:"pstudio",params:{pubid:"9e680c92-bdf1-41b0-a7f7-281d394574df",adtagid:"7b9642cc-1770-402b-a101-9d8996fe7724"}}]},{code:"div-gpt-ad-Right_3",ortb2Imp:{ext:{gpid:"1000008-xcBkzfm9sk",data:{pbadslot:"1000008-xcBkzfm9sk"}}},mediaTypes:{banner:{sizes:[[300,250]]},video:{context:"outstream",playerSize:[300,250],api:[1,2],protocols:[2,3,5,6],minduration:5,maxduration:30,mimes:["video/mp4","application/javascript"],placement:2,linearity:1,delivery:[1,2],plcmt:4}},bids:[{bidder:"kargo",params:{placementId:"_blRlCURcHY"}},{bidder:"openx",params:{unit:"540782269",delDomain:"kompascybermedia-d.openx.net"}},{bidder:"openx",params:{unit:"540782264",delDomain:"kompascybermedia-d.openx.net"}},{bidder:"ix",params:{siteId:449983,size:[300,250]}},{bidder:"triplelift",params:{inventoryCode:"kg_kompas_desktop_article_imu_2"}},{bidder:"smartadserver",params:{networkId:"3727",siteId:"363578",pageId:"1293724",formatId:"93800",domain:"https://prg8.smartadserver.com"}},{bidder:"jixie",params:{unit:"1000008-xcBkzfm9sk"}},{bidder:"teads",params:{placementId:165951,pageId:151712}},{bidder:"rubicon",params:{accountId:11834,siteId:434086,zoneId:2484336}},{bidder:"gumgum",params:{zone:"o4idpqq9",slot:986386}},{bidder:"rubicon",params:{accountId:11834,siteId:434086,zoneId:2484336}},{bidder:"smilewanted",params:{zoneId:"kgmedia.id_hb_display_1"}},{bidder:"oms",params:{publisherId:"20739"}},{bidder:"pstudio",params:{pubid:"9e680c92-bdf1-41b0-a7f7-281d394574df",adtagid:"9d4e1284-fcf4-4b63-bdb6-50f136a98b13"}},{bidder:"ix",params:{siteId:449983,size:[300,250],video:{context:"outstream",playerSize:[300,250],mimes:["video/mp4","video/webm","applications/javascript"],protocols:[2,3,5,6],api:[2,7],playbackmethod:[6],skip:1,w:300,h:250,minduration:5,maxduration:60,delivery:[2],linearity:1}}}]},{code:"div-gpt-ad-Right_4",ortb2Imp:{ext:{gpid:"1000008-O3cqWflq2S",data:{pbadslot:"1000008-O3cqWflq2S"}}},mediaTypes:{banner:{sizes:[[300,250]]},video:{context:"outstream",playerSize:[300,250],api:[1,2],protocols:[2,3,5,6],minduration:5,maxduration:30,mimes:["video/mp4","application/javascript"],placement:2,linearity:1,delivery:[1,2],plcmt:4}},bids:[{bidder:"kargo",params:{placementId:"_blRlCURcHY"}},{bidder:"openx",params:{unit:"540782269",delDomain:"kompascybermedia-d.openx.net"}},{bidder:"ix",params:{siteId:449983,size:[300,250]}},{bidder:"smartadserver",params:{networkId:"3727",siteId:"363578",pageId:"1293724",formatId:"93800",domain:"https://prg8.smartadserver.com"}},{bidder:"jixie",params:{unit:"1000008-O3cqWflq2S"}},{bidder:"teads",params:{placementId:165951,pageId:151712}},{bidder:"triplelift",params:{inventoryCode:"kg_kompas_desktop_article_imu_2"}},{bidder:"rubicon",params:{accountId:11834,siteId:434086,zoneId:2484338}},{bidder:"gumgum",params:{zone:"o4idpqq10",slot:986387}},{bidder:"smilewanted",params:{zoneId:"kgmedia.id_hb_display_1"}},{bidder:"oms",params:{publisherId:"20739"}},{bidder:"pstudio",params:{pubid:"9e680c92-bdf1-41b0-a7f7-281d394574df",adtagid:"07e5c539-9255-46dc-8789-979460152db4"}}]},{code:"div-gpt-ad-Right_5",ortb2Imp:{ext:{gpid:"1000008-olHKAR4nCE",data:{pbadslot:"1000008-olHKAR4nCE"}}},mediaTypes:{banner:{sizes:[[300,250]]},video:{context:"outstream",playerSize:[300,250],api:[1,2],protocols:[2,3,5,6],minduration:5,maxduration:30,mimes:["video/mp4","application/javascript"],placement:2,linearity:1,delivery:[1,2],plcmt:4}},bids:[{bidder:"kargo",params:{placementId:"_blRlCURcHY"}},{bidder:"openx",params:{unit:"540782269",delDomain:"kompascybermedia-d.openx.net"}},{bidder:"ix",params:{siteId:449983,size:[300,250]}},{bidder:"smartadserver",params:{networkId:"3727",siteId:"363578",pageId:"1293724",formatId:"93800",domain:"https://prg8.smartadserver.com"}},{bidder:"jixie",params:{unit:"1000008-olHKAR4nCE"}},{bidder:"teads",params:{placementId:165951,pageId:151712}},{bidder:"triplelift",params:{inventoryCode:"kg_kompas_desktop_article_imu_2"}},{bidder:"rubicon",params:{accountId:11834,siteId:434086,zoneId:2484340}},{bidder:"gumgum",params:{zone:"o4idpqq11",slot:986388}},{bidder:"smilewanted",params:{zoneId:"kgmedia.id_hb_display_1"}},{bidder:"oms",params:{publisherId:"20739"}},{bidder:"pstudio",params:{pubid:"9e680c92-bdf1-41b0-a7f7-281d394574df",adtagid:"92b8aba2-6d19-4dc2-8988-e76f09e0d82c"}}]},{code:"div-gpt-ad-Skin_Left",ortb2Imp:{ext:{gpid:"1000008-z5ebaX9aVC",data:{pbadslot:"1000008-z5ebaX9aVC"}}},mediaTypes:{banner:{sizes:[[100,650],[100,550]]}},bids:[{bidder:"openx",params:{unit:"559086528",delDomain:"kompascybermedia-d.openx.net"}},{bidder:"ix",params:{siteId:980352,size:[100,650]}},{bidder:"ix",params:{siteId:980352,size:[100,550]}},{bidder:"jixie",params:{unit:"1000008-z5ebaX9aVC"}},{bidder:"teads",params:{placementId:165951,pageId:151712}},{bidder:"rubicon",params:{accountId:11834,siteId:478004,zoneId:2838618}},{bidder:"smilewanted",params:{zoneId:"kgmedia.id_hb_display_1"}},{bidder:"oms",params:{publisherId:"20739"}},{bidder:"pstudio",params:{pubid:"9e680c92-bdf1-41b0-a7f7-281d394574df",adtagid:"f6d5bf9d-8c31-404e-afae-acb95645f56d"}}]},{code:"div-gpt-ad-Skin_Right",ortb2Imp:{ext:{gpid:"1000008-jL7PEcvKLc",data:{pbadslot:"1000008-jL7PEcvKLc"}}},mediaTypes:{banner:{sizes:[[100,650],[100,550]]}},bids:[{bidder:"openx",params:{unit:"559086532",delDomain:"kompascybermedia-d.openx.net"}},{bidder:"ix",params:{siteId:980353,size:[100,650]}},{bidder:"ix",params:{siteId:980353,size:[100,550]}},{bidder:"jixie",params:{unit:"1000008-jL7PEcvKLc"}},{bidder:"teads",params:{placementId:165951,pageId:151712}},{bidder:"rubicon",params:{accountId:11834,siteId:478006,zoneId:2838620}},{bidder:"smilewanted",params:{zoneId:"kgmedia.id_hb_display_1"}},{bidder:"oms",params:{publisherId:"20739"}},{bidder:"pstudio",params:{pubid:"9e680c92-bdf1-41b0-a7f7-281d394574df",adtagid:"f608f5e6-f157-4c66-b60e-e4a328ce3ab6"}}]},{code:"div-gpt-ad-Horizontal_Ad",ortb2Imp:{ext:{gpid:"1000008-9gpvwZPpkd",data:{pbadslot:"1000008-9gpvwZPpkd"}}},mediaTypes:{banner:{sizes:[[468,60],[1100,50]]}},bids:[{bidder:"kargo",params:{placementId:"_jkQklh8wPV"}},{bidder:"openx",params:{unit:"559086526",delDomain:"kompascybermedia-d.openx.net"}},{bidder:"ix",params:{siteId:449983,size:[468,60]}},{bidder:"ix",params:{siteId:449983,size:[1100,50]}},{bidder:"jixie",params:{unit:"1000008-9gpvwZPpkd"}},{bidder:"teads",params:{placementId:165951,pageId:151712}},{bidder:"rubicon",params:{accountId:11834,siteId:478002,zoneId:2838616}},{bidder:"gumgum",params:{zone:"o4idpqq15",slot:986390}},{bidder:"smilewanted",params:{zoneId:"kgmedia.id_hb_display_1"}},{bidder:"oms",params:{publisherId:"20739"}},{bidder:"pstudio",params:{pubid:"9e680c92-bdf1-41b0-a7f7-281d394574df",adtagid:"3659dda0-8c94-40f5-9f5f-e12d4526ad38"}}]},{code:"div-gpt-ad-Skyscraper",ortb2Imp:{ext:{gpid:"1000008-gPQXfLjNet",data:{pbadslot:"1000008-gPQXfLjNet"}}},mediaTypes:{banner:{sizes:[[120,600],[160,600]]}},bids:[{bidder:"openx",params:{unit:"540782269",delDomain:"kompascybermedia-d.openx.net"}},{bidder:"ix",params:{siteId:449983,size:[120,600]}},{bidder:"ix",params:{siteId:449983,size:[160,600]}},{bidder:"smartadserver",params:{networkId:"3727",siteId:"363578",pageId:"1293724",formatId:"96680",domain:"https://prg8.smartadserver.com"}},{bidder:"jixie",params:{unit:"1000008-gPQXfLjNet"}},{bidder:"teads",params:{placementId:165951,pageId:151712}},{bidder:"triplelift",params:{inventoryCode:"kg_kompas_desktop_article_imu_2"}},{bidder:"rubicon",params:{accountId:11834,siteId:434086,zoneId:2484342}},{bidder:"gumgum",params:{zone:"o4idpqq12",slot:986389}}, {bidder:"smilewanted",params:{zoneId:"kgmedia.id_hb_display_1"}},{bidder:"oms",params:{publisherId:"20739"}},{bidder:"pstudio",params:{pubid:"9e680c92-bdf1-41b0-a7f7-281d394574df",adtagid:"15b951a5-81cc-4533-ac1d-2888b8ca0b0c"}}]},{code:"div-gpt-ad-Zone_OSM",mediaTypes:{banner:{sizes:[[300,250],[1,1]]},video:{context:"outstream",playerSize:[300,250],api:[1,2],protocols:[2,3,5,6],minduration:5,maxduration:30,mimes:["video/mp4","application/javascript"],placement:2,linearity:1,delivery:[1,2],plcmt:4}},bids:[{bidder:"teads",params:{placementId:165952,pageId:151713}},{bidder:"kargo",params:{placementId:"_blRlCURcHY"}},{bidder:"openx",params:{unit:"540782269",delDomain:"kompascybermedia-d.openx.net"}},{bidder:"ix",params:{siteId:449983,size:[300,250]}},{bidder:"smartadserver",params:{networkId:"3727",siteId:"363578",pageId:"1293724",formatId:"93800",domain:"https://prg8.smartadserver.com"}},{bidder:"jixie",params:{unit:"1000008-O3cqWflq2S"}},{bidder:"teads",params:{placementId:165951,pageId:151712}},{bidder:"triplelift",params:{inventoryCode:"kg_kompas_desktop_article_imu_2"}},{bidder:"rubicon",params:{accountId:11834,siteId:434086,zoneId:2484338}},{bidder:"gumgum",params:{zone:"o4idpqq10",slot:986387}},{bidder:"smilewanted",params:{zoneId:"kgmedia.id_hb_display_1"}},{bidder:"oms",params:{publisherId:"20739"}},{bidder:"pstudio",params:{pubid:"9e680c92-bdf1-41b0-a7f7-281d394574df",adtagid:"07e5c539-9255-46dc-8789-979460152db4"}}]},{code:"gpt_unit_/31800665/KOMPAS.COM/travel/vignette_0",mediaTypes:{banner:{sizes:[[300,250],[320,480],[336,280]]},video:{context:"outstream",playerSize:[[300,250],[320,480],[336,280]],api:[1,2],protocols:[2,3,5,6],minduration:5,maxduration:30,mimes:["video/mp4","application/javascript"],placement:2,linearity:1,delivery:[1,2],plcmt:4}},ortb2Imp:{instl:1},bids:[{bidder:"kargo",params:{placementId:"_blRlCURcHY"}},{bidder:"openx",params:{unit:"540782269",delDomain:"kompascybermedia-d.openx.net"}},{bidder:"ix",params:{siteId:449983,size:[300,600]}},{bidder:"triplelift",params:{inventoryCode:"kg_kompas_desktop_article_imu_1"}},{bidder:"smartadserver",params:{networkId:"3727",siteId:"363578",pageId:"1293724",formatId:"93799",domain:"https://prg8.smartadserver.com"}},{bidder:"jixie",params:{unit:"1000008-eLIsfXaJKT"}},{bidder:"teads",params:{placementId:165951,pageId:151712}},{bidder:"rubicon",params:{accountId:11834,siteId:434086,zoneId:2484334}},{bidder:"gumgum",params:{zone:"o4idpqq8",slot:986385}},{bidder:"smilewanted",params:{zoneId:"kgmedia.id_hb_display_1"}},{bidder:"oms",params:{publisherId:"20739"}},{bidder:"pstudio",params:{pubid:"9e680c92-bdf1-41b0-a7f7-281d394574df",adtagid:"7b9642cc-1770-402b-a101-9d8996fe7724"}}]}],gptadslots=[],googletag=googletag||{};(googletag.cmd=googletag.cmd||[]),googletag.cmd.push(function(){googletag.pubads().disableInitialLoad()});var pbjs=pbjs||{};function initAdserver(){pbjs.initAdserverSet||((pbjs.initAdserverSet=!0),googletag.cmd.push(function(){pbjs.que.push(function(){pbjs.setTargetingForGPTAsync(),googletag.pubads().refresh()})}))}(pbjs.que=pbjs.que||[]),pbjs.que.push(function(){pbjs.mergeConfig({jixie:{genids:[{id:"esha",ck:"usermail"},{id:"psha",ck:"kmps_uphn"},{id:"_jxtoko"},{id:"_jxifo"}]}}),pbjs.setConfig({enableSendAllBids:!0,enableTIDs:!0,priceGranularity:"high",userSync:{userIds:[{name:"uid2"},{name:"unifiedId",value:{tdid:uuid__}}],filterSettings:{iframe:{bidders:'*',filter:'include'},image:{bidders:'*',filter:'include'}}},currency:{adServerCurrency:"USD"},syncsPerBidder:0}),(pbjs.bidderSettings={standard:{storageAllowed:!0}}),pbjs.addAdUnits(adUnits),pbjs.requestBids({bidsBackHandler:initAdserver,timeout:PREBID_TIMEOUT})}),setTimeout(function(){initAdserver()},FAILSAFE_TIMEOUT); </script> <script type="text/javascript"> googletag.cmd.push(function() { gptadslots[1]= googletag.defineSlot('/31800665/KOMPAS.COM/travel', [[728, 90], [970, 90], [970, 250], [360, 100], [360, 150], [384, 100], [393, 100]],'div-gpt-ad-Top_1-1').setTargeting('Pos',['Top_1']).setTargeting('kg_pos', ['top_1']).addService(googletag.pubads());gptadslots[112]= googletag.defineSlot('/31800665/KOMPAS.COM/travel', [[300,600],[300,250],[160,600]],'div-gpt-ad-Giant').setTargeting('Pos',['Giant']).setTargeting('kg_pos', ['giant']).addService(googletag.pubads());gptadslots[31]= googletag.defineSlot('/31800665/KOMPAS.COM/travel', [[300,250],[300,600]],'div-gpt-ad-Right_3').setTargeting('Pos',['Right_3']).setTargeting('kg_pos', ['right_3']).addService(googletag.pubads());gptadslots[41]= googletag.defineSlot('/31800665/KOMPAS.COM/travel', [[300,250],[300,600]],'div-gpt-ad-Right_4').setTargeting('Pos',['Right_4']).setTargeting('kg_pos', ['right_4']).addService(googletag.pubads());gptadslots[9]= googletag.defineSlot('/31800665/KOMPAS.COM/travel', [[468,60],[728,90],[970,90],[1100,50],[1100,150]],'div-gpt-ad-Horizontal_Ad').setTargeting('Pos',['Horizontal_Ad']).setTargeting('kg_pos', ['horizontal_ad']).addService(googletag.pubads());gptadslots[0] = googletag.defineOutOfPageSlot('/31800665/KOMPAS.COM/travel', 'div-gpt-ad-162839915433418391-oop').setTargeting('Pos',['Overlay']).setTargeting('kg_pos', ['overlay']).addService(googletag.pubads());setContextualTargeting(); if(typeof keywordBrandSafety === 'undefined'){ console.log("no article keywords"); }else{ console.log("execute keywords"); setKeywordTargeting(); } function setContextualTargeting() { dfp_keywords = getKeywords(); console.log(dfp_keywords); googletag.pubads().setTargeting('contextual_targeting', dfp_keywords); } function getKeywords(){ var metas = document.getElementsByTagName('meta'); var str = (metas.namedItem("content_tags") || {}).content; if (str!=null){ var keywords = str.toLowerCase().split(",").map(function(item) { return item.trim().replace(/\s\s+/g, ' '); }); return keywords; } return ['']; } // s:new keyword targeting via GAM function setKeywordTargeting() { dfp_keywords = getArticle(); console.log(dfp_keywords); googletag.pubads().setTargeting('keyword_targeting', dfp_keywords); } function getArticle(){ var strKey = keywordBrandSafety; if (strKey!=null){ var keywords = strKey.toLowerCase().split(/[ .]/).map(function(item) { return item.trim().replace(/\W*(&quot;)\W*/g, '').replace(/([^a-zA-Z0-9]$|[()\n\"])/g, ''); }); keywords = keywords.filter((str) => str !== ''); return keywords; } return null; } // e:new keyword targeting via GAM try{ // Retrieving local storage var ls = window.localStorage; var lr = ls.getItem("_jxitr"); if (lr && lr.length > 2){ try{ googletag.pubads().setTargeting('jx_audience_interest', JSON.parse(lr).join().split(',')); }catch {} } var li = ls.getItem("_jxitd"); if (li && li.length > 2){ try{ googletag.pubads().setTargeting('jx_audience_intend', JSON.parse(li).join().split(',')); }catch {} } }catch(e){ //console.log("Localstorage not accessible or any other error: " + e.message); } if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)){ googletag.pubads().setTargeting('kg_inv_type','mweb'); }else{ googletag.pubads().setTargeting('kg_inv_type','desktop'); } googletag.pubads().setTargeting('kg_group_sites','kompas_com'); var rl_adx_val = ''; var rl_adx_sec = new Date().getSeconds(); if(rl_adx_sec==1||rl_adx_sec==2){rl_adx_val='300';} if(rl_adx_sec==3||rl_adx_sec==4){rl_adx_val='600';} if(rl_adx_sec==5||rl_adx_sec==6){rl_adx_val='900';} if(rl_adx_sec==7||rl_adx_sec==8){rl_adx_val='1200';} if(rl_adx_sec==9||rl_adx_sec==10){rl_adx_val='1500';} console.log('rl_adx_val = '+rl_adx_val); if(rl_adx_val!=''){ googletag.pubads().setTargeting('rl_adx',rl_adx_val); }googletag.pubads().setTargeting('page', 'index'); googletag.pubads().enableSingleRequest(); googletag.enableServices(); }); </script> <!-- End: GPT --> <!-- (ads.google.head.rs) --> <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "WebSite", "url": "https://www.kompas.com/", "potentialAction": { "@type": "SearchAction", "target": "https://search.kompas.com/search?q={search_term_string}", "query-input": "required name=search_term_string" } } </script> <script type="application/ld+json"> { "@context" : "http://schema.org", "@type" : "Organization", "url": "https://www.kompas.com", "logo": "https://asset.kompas.com/data/2018/kompascom/images/logo-kompascom-biru.png", "sameAs" : [ "https://www.facebook.com/kompascom", "https://www.twitter.com/kompascom", "https://instagram.com/kompascom", "https://line.me/ti/p/%40kompas.com" ] } </script> <style type="text/css"> /* Avoid empty images to appear as broken */ img:not([src]):not([srcset]) { visibility: hidden; } /* Fix for images to never exceed the width of the container */ img { max-width: 100%; } </style> <script type="text/javascript"> function fb_share(e,o){return u=o,t=e,window.open("http://www.facebook.com/sharer.php?u="+encodeURIComponent(u)+"&t="+encodeURIComponent(t),"sharer","toolbar=0,status=0,width=626,height=436"),!1}function tweet_share(t,x=''){return u=t,window.open("https://twitter.com/intent/tweet?text="+encodeURIComponent(u)+"&url="+encodeURIComponent(x),"sharer","toolbar=0,status=0,width=626,height=436"),!1}function plus_share(t){return u=t,window.open("https://plus.google.com/share?url="+encodeURIComponent(u),"sharer","toolbar=0,status=0,width=626,height=436"),!1}function telegram_share(e,o,x){return u=o,t=e,window.open("https://t.me/share/url?url="+encodeURIComponent(u)+"&text="+encodeURIComponent(t)+x,"sharer","toolbar=0,status=0,width=626,height=436"),!1}function whatsapp_share(e,o){return u=o,t=e,window.open("https://wa.me/?text="+encodeURIComponent(u)+" - "+encodeURIComponent(t),"sharer","toolbar=0,status=0,width=626,height=436"),!1}function whatsapp_share_new(e,o){return u=o,t=e,window.open("https://wa.me/?text="+encodeURIComponent(t)+encodeURIComponent(u),"sharer","toolbar=0,status=0,width=626,height=436"),!1} </script> <meta name="google-site-verification" content="oHnKUtgqOLtZOYp5HWas27GCVmPbsKDE5NHDPrsOJpc" /> <script> document.addEventListener('DOMContentLoaded', function() { var addebug = document.querySelectorAll('.footerCopyright'); for (i = 0; i < addebug.length; ++i) { addebug[i].addEventListener('click', function handleClick() { console.log('Debugged'); googletag.openConsole(); }); } }); </script> <script async src="https://cdn.oval.id/tracker/p/kompas/oval_web_analytics_latest.js"></script> <!-- Meta Pixel Code --> <script> !function(f,b,e,v,n,t,s) {if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)}; if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; n.queue=[];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0]; s.parentNode.insertBefore(t,s)}(window, document,'script', 'https://connect.facebook.net/en_US/fbevents.js'); fbq('init', '423063207362401'); fbq('track', 'PageView'); </script> <noscript><img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=423063207362401&ev=PageView&noscript=1" /></noscript> <!-- End Meta Pixel Code --></head> <body class="theme--travel"> <noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-PT7PC4" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <div class="wrap"> <!-- header--> <div class="header header--sumpah-pemuda clearfix"> <div class="row clearfix header__wrap"> <div class="container clearfix header__row"> <div class="row col-offset-fluid clearfix"> <div class="col-bs10-5 clearfix"> <div class="logo"> <a href="https://www.kompas.com"> <style>.logo img {width:auto;}.logo {width:auto;}</style> <!-- <img src="https://asset.kompas.com/data/2017/wp/images/logo-kompascom-ri77.png" alt="Kompas.com" width="310" height="50" id="anni26-img"> --> <!-- <img src="https://asset.kompas.com/data/2024/07/25/kompascom/hut/desktop/images/logo-kompascom-ri79.png" alt="28 Tahun Kompas.com, Jernih Melihat Dunia" id="anni26-img"> --> <img src="https://asset.kompas.com/data/2024/09/13/kompascom/hut/desktop/logo-kompascom-29-desktop.png" alt="29 Tahun Kompas.com, Jernih Melihat Dunia"> </a> <!-- <a href="https://vik.kompas.com/harapan-jurnalisme-berkelanjutan" class="anni25-link"></a> --> </div> </div> <div class="col-bs10-5 clearfix"> <form class="search search--header col-bs12-8 col-offset-0" action="https://search.kompas.com/search/"> <input class="form__input form__input__header" id="search" type="text" name="q" placeholder="cari tokoh, topik atau peristiwa"> <button type="button" class="form__button__clear" role="button"> <span class="kcm__close__icon"></span> </button> <input class="form__button form__button__header" type="submit" name="submit"> <span class="search--icon"> <svg class="icon icon-search" title="icon-search"> <use xlink:href="#icon-search" /> </svg> </span> </form> <div class="dark-header-item"> <div class="dark-wrapper js-darkWrapper"> <button type="button" class="button-default js-darkSetter" id="menu-darkmode" aria-label="Atur mode" aria-expanded="false" aria-controls="darkmode"> <span class="icon-svg icon-darkmode" aria-hidden="true"></span> </button> <div class="dark-setting"> <ul> <li> <button type="button" role="button" class="button dark-link js-darkToggle" data-dark="system">Otomatis</button> </li> <li> <button type="button" role="button" class="button dark-link js-darkToggle" data-dark="dark">Mode Gelap</button> </li> <li> <button type="button" role="button" class="button dark-link js-darkToggle" data-dark="light">Mode Terang</button> </li> </ul> </div> </div> </div> <div class="loyalty__link" id="loyalty_koin" style="display: none"> <a href="https://play.kompas.com/loyalty"> <span class="icon-svg icon-koin"></span> <span class="loyalty__link__text">Koin</span> <i class="loyalty__link__badge active"></i> </a> </div> <div class="sso__header col-bs12-4"> <ul class="sso__wrap"> <li class="sso__item"> <a class="sso__link sso__link__icon js-sso-user" href="javascript:void(0)"> <i class="sso__icon__login" id="sso__icon__login_top"></i> <i class="sso__badge" style="display: none;"></i> </a> <div class="sso__option -fixed -hide js-sso-user-board"> <ul> <li id="sso__item"><a id="txt_signin" href="https://account.kompas.com/login/a29tcGFz/aHR0cHM6Ly90cmF2ZWwua29tcGFzLmNvbS9nYWxlcmk="><span><i class="sso__icon__login"></i> Login</span></a></li> <li></li> <li> <a href="https://activity.kompas.com/voucher?source=navbar" class="myvalue__btn -new"> <span><div class="myvalue__icon"><img class="lozad" data-src="https://asset.kompas.com/data/2024/myvalue/desktop/images/icon-myvalue.png" alt=""></div> Voucher</span> <div class="myvalue__btn__wrap"> <div class="myvalue__icon"><img class="lozad" data-src="https://asset.kompas.com/data/2024/myvalue/desktop/images/icon-myvalue-gif.gif" alt=""></div> <span>Ada voucher buat kamu</span> </div> </a> </li> <li><a href="https://plus.kompas.com"><span><i class="sso__icon__subscription"></i> Gabung Kompas.com+ <i class="sso__badge__inline"></i></span></a></li> <li></li> <li><a href="https://activity.kompas.com/saved"><span><i class="sso__icon__bookmark"></i> Konten yang disimpan</span></a></li> <li></li> <li><a href="https://activity.kompas.com/liked"><span><i class="sso__icon__liked"></i> Konten yang disukai</span></a></li> <li></li> <li><a href="https://activity.kompas.com/minat"><span><i class="sso__icon__interest"></i> Atur Minat</span></a></li> <li></li> <li id="feedback__item"><a href="https://www.kompas.com/feedback"><span><i class="sso__icon__notif"></i> Berikan Masukanmu <i class="sso__badge__inline" style="display: none;"></i></span></a></li> </ul> </div> </li> </ul> </div> <div class="kid__wrap"> <a target="_blank" href="https://komp.as/darikompascom" class="kid__button">Langganan Kompas.id</a> </div> </div> </div> </div> </div> <!-- nav--> <div class="js-nav-offset"></div> <div class="row clearfix nav"> <!-- (ads.skin.full) --> <div class="container clearfix nav__wrap"> <div class="logo logo--sticky"> <a href="https://www.kompas.com"><img class="lozad" data-src="https://asset.kompas.com/data/2017/wp/images/logo-kompascom-2017.png" alt="www.kompas.com" /></a> </div> <ul class="nav__row clearfix"> <li class="nav__item"> <a href="https://news.kompas.com?source=navbar" class="nav__link nav__link--news">News</a> <ul class="nav__sub nav__sub--news"> <li class="nav__subitem"> <a href="https://nasional.kompas.com" class="nav__sublink">Nasional</a> </li> <li class="nav__subitem"> <a href="https://megapolitan.kompas.com" class="nav__sublink">Megapolitan</a> </li> <li class="nav__subitem"> <a href="https://www.kompas.com/global" class="nav__sublink">Global</a> </li> <li class="nav__subitem"> <a href="https://inside.kompas.com/suratpembaca" class="nav__sublink">Surat Pembaca</a> </li> <li class="nav__subitem"> <a href="https://kilasdaerah.kompas.com" class="nav__sublink nav__sublink--hot">Kilas Daerah</a> </li> <li class="nav__subitem"> <a href="https://kilaskorporasi.kompas.com" class="nav__sublink nav__sublink--hot">Kilas Korporasi</a> </li> <li class="nav__subitem"> <a href="https://kilaskementerian.kompas.com" class="nav__sublink nav__sublink--hot">Kilas Kementerian</a> </li> <li class="nav__subitem"> <a href="https://sorotpolitik.kompas.com" class="nav__sublink nav__sublink--hot">Sorot Politik</a> </li> <li class="nav__subitem"> <a href="https://kilasbadannegara.kompas.com" class="nav__sublink nav__sublink--hot">Kilas Badan Negara</a> </li> <li class="nav__subitem"> <a href="https://kelanaindonesia.kompas.com" class="nav__sublink nav__sublink--hot">Kelana Indonesia</a> </li> <li class="nav__subitem"> <a href="https://www.kompas.com/topik-pilihan/list/7782/kalbe-health-corner" class="nav__sublink nav__sublink--hot">Kalbe Health Corner</a> </li> <li class="nav__subitem"> <a href="https://kilasparlemen.kompas.com" class="nav__sublink nav__sublink--hot">Kilas Parlemen</a> </li> <li class="nav__subitem"> <a href="https://kilasbumn.kompas.com" class="nav__sublink nav__sublink--hot">Kilas BUMN</a> </li> <li class="nav__subitem"> <a href="https://www.kompas.com/cekfakta" class="nav__sublink">Cek Fakta</a> </li> <li class="nav__subitem"> <a href="https://www.kompas.com/konsultasihukum" class="nav__sublink">Konsultasi Hukum</a> </li> <li class="nav__subitem"> <a href="https://news.kompas.com/search" class="nav__sublink">Indeks</a> </li> <li class="nav__subitem"> <a href="https://regional.kompas.com" class="nav__sublink">Regional</a> <ul class="nav__subsub"> <li class="nav__subitem"> <a href="https://surabaya.kompas.com" class="nav__subsublink">Surabaya</a> </li> <li class="nav__subitem"> <a href="https://medan.kompas.com" class="nav__subsublink">Medan</a> </li> <li class="nav__subitem"> <a href="https://makassar.kompas.com" class="nav__subsublink">Makassar</a> </li> <li class="nav__subitem"> <a href="https://yogyakarta.kompas.com" class="nav__subsublink">Yogyakarta</a> </li> <li class="nav__subitem"> <a href="https://bandung.kompas.com" class="nav__subsublink">Bandung</a> </li> <li class="nav__subitem"> <a href="https://denpasar.kompas.com" class="nav__subsublink">Denpasar</a> </li> </ul> </li> <li class="nav__subitem"> <a href="https://www.kompas.com/hype" class="nav__sublink">Hype</a> </li> </ul> </li> <!-- <li class="nav__item"> <a href="https://www.kompas.com/ramadhan?source=navbar" class="nav__link nav__link--new">Ramadhan</a> </li> --> <li class="nav__item"> <a href="https://pemilu.kompas.com?source=navbar" class="nav__link nav__link">Pemilu</a> </li> <li class="nav__item"> <a href="https://ikn.kompas.com?source=navbar" class="nav__link nav__link--new">IKN</a> <ul class="nav__sub nav__sub--ikn"> <li class="nav__subitem"> <a href="https://ikn.kompas.com/news" class="nav__sublink">News</a> </li> <li class="nav__subitem"> <a href="https://ikn.kompas.com/city" class="nav__sublink">City</a> </li> <li class="nav__subitem"> <a href="https://ikn.kompas.com/infrastructure" class="nav__sublink">Infrastructure</a> </li> <li class="nav__subitem"> <a href="https://ikn.kompas.com/community" class="nav__sublink">Community</a> </li> <li class="nav__subitem"> <a href="https://ikn.kompas.com/housings" class="nav__sublink">Housings</a> </li> <li class="nav__subitem"> <a href="https://indeks.kompas.com?site=ikn" class="nav__sublink">Indeks</a> </li> <li class="nav__subitem"> <a href="https://ikn.kompas.com/foresta" class="nav__sublink">Foresta</a> </li> </ul> </li> <li class="nav__item"> <a href="https://tekno.kompas.com?source=navbar" class="nav__link nav__link--tekno">Tekno</a> <ul class="nav__sub nav__sub--tekno"> <li class="nav__subitem"> <a href="https://tekno.kompas.com/apps-os" class="nav__sublink">Apps & OS</a> </li> <li class="nav__subitem"> <a href="https://tekno.kompas.com/gadget" class="nav__sublink">Gadget</a> </li> <li class="nav__subitem"> <a href="https://tekno.kompas.com/internet" class="nav__sublink">Internet</a> </li> <li class="nav__subitem"> <a href="https://tekno.kompas.com/hardware" class="nav__sublink">Hardware</a> </li> <li class="nav__subitem"> <a href="https://tekno.kompas.com/business" class="nav__sublink">Business</a> </li> <li class="nav__subitem"> <a href="https://tekno.kompas.com/game" class="nav__sublink">Game</a> </li> <li class="nav__subitem"> <a href="https://tekno.kompas.com/galeri" class="nav__sublink">Galeri</a> </li> <li class="nav__subitem"> <a href="https://tekno.kompas.com/search" class="nav__sublink">Indeks</a> </li> <li class="nav__subitem"> <a href="https://pubads.g.doubleclick.net/gampad/clk?id=6163907479&iu=/31800665/KOMPAS.COM/tekno" class="nav__sublink nav__sublink--hot">Tech Innovation</a> </li> <li class="nav__subitem"> <a href="https://kilasinternet.kompas.com/" class="nav__sublink nav__sublink--hot">Kilas Internet</a> </li> </ul> </li> <li class="nav__item"> <a href="https://otomotif.kompas.com?source=navbar" class="nav__link nav__link--otomotif">Otomotif</a> <ul class="nav__sub nav__sub--otomotif"> <li class="nav__subitem"> <a href="https://otomotif.kompas.com/motor" class="nav__sublink">Motor</a> </li> <li class="nav__subitem"> <a href="https://otomotif.kompas.com/mobil" class="nav__sublink">Mobil</a> </li> <li class="nav__subitem"> <a href="https://otomotif.kompas.com/sport" class="nav__sublink">Sport</a> </li> <li class="nav__subitem"> <a href="https://otomotif.kompas.com/niaga" class="nav__sublink">Niaga</a> </li> <li class="nav__subitem"> <a href="https://otomotif.kompas.com/komunitas" class="nav__sublink">Komunitas</a> </li> <li class="nav__subitem"> <a href="https://otomotif.kompas.com/otopedia" class="nav__sublink">Otopedia</a> </li> <li class="nav__subitem"> <a href="https://otomotif.kompas.com/merapah" class="nav__sublink nav__sublink--hot">Merapah</a> </li> <li class="nav__subitem"> <a href="https://otomotif.kompas.com/ev-leadership" class="nav__sublink nav__sublink--hot">EV Leadership</a> </li> <li class="nav__subitem"> <a href="https://otomotif.kompas.com/elektrifikasi" class="nav__sublink nav__sublink--hot">Elektrifikasi</a> </li> <li class="nav__subitem"> <a href="https://lipsus.kompas.com/pameranotomotifnasional2024" class="nav__sublink nav__sublink--hot">Pameran</a> </li> </ul> </li> <li class="nav__item"> <a href="https://bola.kompas.com?source=navbar" class="nav__link nav__link--bola">Bola</a> <ul class="nav__sub nav__sub--bola"> <li class="nav__subitem"> <a href="https://bola.kompas.com/timnas-indonesia" class="nav__sublink">Timnas Indonesia</a> </li> <li class="nav__subitem"> <a href="https://bola.kompas.com/liga-indonesia" class="nav__sublink">Liga Indonesia</a> </li> <li class="nav__subitem"> <a href="https://bola.kompas.com/liga-italia" class="nav__sublink">Liga Italia</a> </li> <li class="nav__subitem"> <a href="https://bola.kompas.com/liga-champions" class="nav__sublink">Liga Champions</a> </li> <li class="nav__subitem"> <a href="https://bola.kompas.com/liga-lain" class="nav__sublink">Liga Lain</a> </li> <li class="nav__subitem"> <a href="https://bola.kompas.com/liga-inggris" class="nav__sublink">Liga Inggris</a> </li> <li class="nav__subitem"> <a href="https://bola.kompas.com/liga-spanyol" class="nav__sublink">Liga Spanyol</a> </li> <li class="nav__subitem"> <a href="https://bola.kompas.com/internasional" class="nav__sublink">Internasional</a> </li> <li class="nav__subitem"> <a href="https://bola.kompas.com/bundesliga" class="nav__sublink">Bundesliga</a> </li> <li class="nav__subitem"> <a href="https://www.kompas.com/motogp" class="nav__sublink">Motogp</a> </li> <li class="nav__subitem"> <a href="https://www.kompas.com/badminton" class="nav__sublink">Badminton</a> </li> <li class="nav__subitem"> <a href="https://www.kompas.com/sports" class="nav__sublink">Sports</a> </li> <li class="nav__subitem"> <a href="https://indeks.kompas.com?site=bola" class="nav__sublink">Indeks</a> </li> </ul> </li> <li class="nav__item"> <a href="https://lifestyle.kompas.com?source=navbar" class="nav__link nav__link--lifestyle">Lifestyle</a> <ul class="nav__sub nav__sub--lifestyle"> <li class="nav__subitem"> <a href="https://lifestyle.kompas.com/wellness" class="nav__sublink">Wellness</a> </li> <li class="nav__subitem"> <a href="https://lifestyle.kompas.com/fashion" class="nav__sublink">Fashion</a> </li> <li class="nav__subitem"> <a href="https://lifestyle.kompas.com/relationship" class="nav__sublink">Relationship</a> </li> <li class="nav__subitem"> <a href="https://lifestyle.kompas.com/parenting" class="nav__sublink">Parenting</a> </li> <li class="nav__subitem"> <a href="https://lifestyle.kompas.com/beauty" class="nav__sublink">Beauty & Grooming</a> </li> <li class="nav__subitem"> <a href="https://genbest.kompas.com" class="nav__sublink nav__sublink--hot">Sadar Stunting</a> </li> <li class="nav__subitem"> <a href="https://buku.kompas.com" class="nav__sublink">Buku</a> </li> </ul> </li> <li class="nav__item"> <a href="https://www.kompas.com/tren?source=navbar" class="nav__link nav__link--tren">Tren</a> </li> <li class="nav__item"> <a href="https://lestari.kompas.com?source=navbar" class="nav__link nav__link--lestari">Lestari</a> </li> <li class="nav__item"> <a href="https://health.kompas.com?source=navbar" class="nav__link nav__link--health">Health</a> </li> <li class="nav__item"> <a href="https://money.kompas.com/?source=navbar" class="nav__link nav__link--money">Money</a> <ul class="nav__sub nav__sub--money"> <li class="nav__subitem"> <a href="https://money.kompas.com/ekbis" class="nav__sublink">Ekbis</a> </li> <li class="nav__subitem"> <a href="https://money.kompas.com/keuangan" class="nav__sublink">Keuangan</a> </li> <li class="nav__subitem"> <a href="https://money.kompas.com/syariah" class="nav__sublink">Syariah</a> </li> <li class="nav__subitem"> <a href="https://money.kompas.com/industri" class="nav__sublink">Industri</a> </li> <li class="nav__subitem"> <a href="https://money.kompas.com/energi" class="nav__sublink">Energi</a> </li> <li class="nav__subitem"> <a href="https://money.kompas.com/karier" class="nav__sublink">Karier</a> </li> <li class="nav__subitem"> <a href="https://money.kompas.com/cuan" class="nav__sublink">Cuan</a> </li> <li class="nav__subitem"> <a href="https://money.kompas.com/belanja" class="nav__sublink">Belanja</a> </li> <!-- <li class="nav__subitem"> <a href="https://money.kompas.com/smartpreneur" class="nav__sublink">Smartpreneur</a> </li> --> <!-- <li class="nav__subitem"> <a href="https://kilasbumn.kompas.com/" class="nav__sublink nav__sublink--hot">Kilas BUMN</a> </li> --> <li class="nav__subitem"> <a href="https://kilasbadan.kompas.com/" class="nav__sublink nav__sublink--hot">Kilas Badan</a> </li> <li class="nav__subitem"> <a href="https://kilastransportasi.kompas.com/" class="nav__sublink nav__sublink--hot">Kilas Transportasi</a> </li> <li class="nav__subitem"> <a href="https://kilasfintech.kompas.com/" class="nav__sublink nav__sublink--hot">Kilas Fintech</a> </li> <li class="nav__subitem"> <a href="https://kilasperbankan.kompas.com/" class="nav__sublink nav__sublink--hot">Kilas Perbankan</a> </li> <li class="nav__subitem"> <a href="https://kolom.kompas.com/Tanya.Pajak" class="nav__sublink">Tanya Pajak</a> </li> <li class="nav__subitem"> <a href="https://indeks.kompas.com?site=money" class="nav__sublink">Indeks</a> </li> <li class="nav__subitem"> <a href="https://kilasinvestasi.kompas.com/" class="nav__sublink nav__sublink--hot">Kilas Investasi</a> </li> </ul> </li> <li class="nav__item"> <a href="https://properti.kompas.com/?source=navbar" class="nav__link nav__link--properti">Properti</a> <ul class="nav__sub nav__sub--properti"> <li class="nav__subitem"> <a href="https://www.kompas.com/properti" class="nav__sublink">News</a> </li> <li class="nav__subitem"> <a href="https://properti.kompas.com/hunian" class="nav__sublink">Hunian</a> </li> <li class="nav__subitem"> <a href="https://properti.kompas.com/arsitektur" class="nav__sublink">Arsitektur</a> </li> <li class="nav__subitem"> <a href="https://properti.kompas.com/beranda" class="nav__sublink">Beranda</a> </li> <li class="nav__subitem"> <a href="https://properti.kompas.com/konsultasi" class="nav__sublink">Konsultasi</a> </li> <li class="nav__subitem"> <a href="https://properti.kompas.com/figur" class="nav__sublink">Figur</a> </li> <li class="nav__subitem"> <a href="https://properti.kompas.com/tips" class="nav__sublink">Tips</a> </li> <li class="nav__subitem"> <a href="https://properti.kompas.com/galeri-360" class="nav__sublink">Galeri 360</a> </li> <li class="nav__subitem"> <a href="https://properti.kompas.com/search" class="nav__sublink">Indeks</a> </li> <li class="nav__subitem"> <a href="https://sorot.kompas.com" class="nav__sublink nav__sublink--hot">Sorot Properti</a> </li> </ul> </li> <li class="nav__item"> <a href="https://www.kompas.com/food?source=navbar" class="nav__link nav__link--food">Food</a> <ul class="nav__sub nav__sub--food"> <li class="nav__subitem"> <a href="https://www.kompas.com/food/resep" class="nav__sublink">Resep</a> </li> <li class="nav__subitem"> <a href="https://www.kompas.com/food/tips-kuliner" class="nav__sublink">Tips Kuliner</a> </li> <li class="nav__subitem"> <a href="https://www.kompas.com/food/food-news" class="nav__sublink">Food News</a> </li> <li class="nav__subitem"> <a href="https://www.kompas.com/food/food-story" class="nav__sublink">Food Story</a> </li> <li class="nav__subitem"> <a href="https://www.kompas.com/food/tempat-makan" class="nav__sublink">Tempat Makan</a> </li> <li class="nav__subitem"> <a href="https://www.kompas.com/food/gallery" class="nav__sublink">Galeri</a> </li> <li class="nav__subitem"> <a href="https://kilasfood.kompas.com" class="nav__sublink nav__sublink--hot">Kilas Food</a> </li> <li class="nav__subitem"> <a href="https://www.kompas.com/food/panduan-kuliner-yogyakarta" class="nav__sublink">Panduan Kuliner Yogyakarta</a> </li> </ul> </li> <li class="nav__item"> <a href="https://umkm.kompas.com/?source=navbar" class="nav__link nav__link--umkm">UMKM</a> <ul class="nav__sub nav__sub--umkm"> <li class="nav__subitem"> <a href="https://umkm.kompas.com" class="nav__sublink">Beranda UMKM</a> </li> <li class="nav__subitem"> <a href="https://umkm.kompas.com/training" class="nav__sublink">Training</a> </li> <li class="nav__subitem"> <a href="https://umkm.kompas.com/jagoan-lokal" class="nav__sublink">Jagoan Lokal</a> </li> <li class="nav__subitem"> <a href="https://umkm.kompas.com/program" class="nav__sublink">Program</a> </li> <li class="nav__subitem"> <a href="https://kilasumkm.kompas.com" class="nav__sublink nav__sublink--hot">Kilas UMKM</a> </li> <li class="nav__subitem"> <a href="https://sorotumkm.kompas.com" class="nav__sublink nav__sublink--hot">Sorot UMKM</a> </li> </ul> </li> <li class="nav__item"> <a href="https://edukasi.kompas.com/?source=navbar" class="nav__link nav__link--edukasi">Edukasi</a> <ul class="nav__sub nav__sub--edukasi"> <li class="nav__subitem"> <a href="https://edukasi.kompas.com/sekolah" class="nav__sublink">Sekolah</a> </li> <li class="nav__subitem"> <a href="https://www.kompas.com/edu" class="nav__sublink">Edu News</a> </li> <li class="nav__subitem"> <a href="https://edukasi.kompas.com/perguruan-tinggi" class="nav__sublink">Perguruan Tinggi</a> </li> <li class="nav__subitem"> <a href="https://edukasi.kompas.com/pendidikan-khusus" class="nav__sublink">Pendidikan Khusus</a> </li> <li class="nav__subitem"> <a href="https://edukasi.kompas.com/beasiswa" class="nav__sublink">Beasiswa</a> </li> <li class="nav__subitem"> <a href="https://edukasi.kompas.com/literasi" class="nav__sublink">Literasi</a> </li> <li class="nav__subitem"> <a href="https://www.kompas.com/skola" class="nav__sublink nav__link--new">Skola</a> </li> <li class="nav__subitem"> <a href="https://kilaspendidikan.kompas.com" class="nav__sublink nav__sublink--hot">Kilas Pendidikan</a> </li> </ul> </li> <li class="nav__item"> <a href="https://travel.kompas.com/?source=navbar" class="nav__link nav__link--travel--active">Travel</a> <ul class="nav__sub nav__sub--travel"> <li class="nav__subitem"> <a href="https://travel.kompas.com/travel-news" class="nav__sublink">Travel News</a> </li> <li class="nav__subitem"> <a href="https://travel.kompas.com/travel-ideas" class="nav__sublink">Travel Ideas</a> </li> <li class="nav__subitem"> <a href="https://travel.kompas.com/hotel-story" class="nav__sublink">Hotel Story</a> </li> <li class="nav__subitem"> <a href="https://travel.kompas.com/travelpedia" class="nav__sublink">Travelpedia</a> </li> <li class="nav__subitem"> <a href="https://travel.kompas.com/galeri" class="nav__sublink">Galeri</a> </li> <li class="nav__subitem"> <a href="https://ohayojepang.kompas.com" class="nav__sublink">Ohayo Jepang</a> </li> <li class="nav__subitem"> <a href="https://travel.kompas.com/search" class="nav__sublink">Indeks</a> </li> </ul> </li> <li class="nav__item"> <a href="#" class="nav__link nav__link--lainnya"><span class="icoBase icoInline icoBurger" aria-label="Lainnya" title="Lainnya"></span></a> <ul class="nav__sub nav__sub--lainnya"> <li class="nav__subitem"> <a href="https://video.kompas.com?source=navbar" class="nav__sublink">Video</a> </li> <li class="nav__subitem"> <a href="https://www.kompas.com/parapuan?source=navbar" class="nav__sublink">Parapuan</a> </li> <li class="nav__subitem"> <a href="https://kolom.kompas.com/?source=navbar" class="nav__sublink">Kolom</a> </li> <li class="nav__subitem"> <a href="https://www.kompas.com/sains?source=navbar" class="nav__sublink">Sains</a> </li> <li class="nav__subitem"> <a href="https://jeo.kompas.com/?source=navbar" class="nav__sublink">JEO</a> </li> <li class="nav__subitem"> <a href="https://foto.kompas.com/photo?source=navbar" class="nav__sublink">Foto</a> </li> <li class="nav__subitem"> <a href="https://vik.kompas.com/?source=navbar" class="nav__sublink">VIK</a> </li> <li class="nav__subitem"> <a href="https://www.kompas.com/homey?source=navbar" class="nav__sublink">Homey</a> </li> <li class="nav__subitem"> <a href="https://katanetizen.kompas.com/?source=navbar" class="nav__sublink">Kata Netizen</a> </li> </ul> </li> </ul> <ul id="lestariMenu" class="nav__sub nav__sub--lestari navSub"> <li class="navSub-col --col1"> <div class="navSub-label">KATEGORI PROGRAM</div> <ul class="navSub-inner"> <li><a href="https://lestari.kompas.com/pemerintah">Pemerintah</a></li> <li><a href="https://lestari.kompas.com/swasta">Swasta</a></li> <li><a href="https://lestari.kompas.com/lsm-figur">LSM/Figur</a></li> <li><a href="https://lestari.kompas.com/bumn">BUMN</a></li> </ul> </li> <li class="navSub-col --col2"> <div class="navSub-subcol --subcol"> <div class="navSub-grup"><a href="https://lestari.kompas.com/category/kesehatan">Kesehatan</a></div> <ul class="navSub-inner"> <li><a href="https://lestari.kompas.com/tujuan/kehidupan-sehat-dan-sejahtera">Kehidupan sehat dan sejahtera</a></li> <li><a href="https://lestari.kompas.com/tujuan/air-bersih-dan-sanitasi-layak">Air bersih dan sanitasi layak</a></li> </ul> <div class="navSub-grup"><a href="https://lestari.kompas.com/category/pendidikan">Pendidikan</a></div> <ul class="navSub-inner"> <li><a href="https://lestari.kompas.com/tujuan/pendidikan-berkualitas">Pendidikan Berkualitas</a></li> </ul> <div class="navSub-grup"><a href="https://lestari.kompas.com/category/lingkungan">Lingkungan</a></div> <ul class="navSub-inner"> <li><a href="https://lestari.kompas.com/tujuan/energi-bersih-dan-terjangkau">Energi Bersih dan Terjangkau</a></li> <li><a href="https://lestari.kompas.com/tujuan/penanganan-perubahan-iklim">Penanganan Perubahan Iklim</a></li> <li><a href="https://lestari.kompas.com/tujuan/ekosistem-lautan">Ekosistem Lautan</a></li> <li><a href="https://lestari.kompas.com/tujuan/ekosistem-daratan">Ekosistem Daratan</a></li> </ul> </div> <div class="navSub-subcol --subcol"> <div class="navSub-grup"><a href="https://lestari.kompas.com/category/ekonomi-dan-umkm">Ekonomi dan UMKM</a></div> <ul class="navSub-inner"> <li><a href="https://lestari.kompas.com/tujuan/tanpa-kemiskinan">Tanpa Kemiskinan</a></li> <li><a href="https://lestari.kompas.com/tujuan/tanpa-kelaparan">Tanpa Kelaparan</a></li> <li><a href="https://lestari.kompas.com/tujuan/kesetaraan-gender">Kesetaraan Gender</a></li> <li><a href="https://lestari.kompas.com/tujuan/pekerjaan-layak-dan-pertumbuhan-ekonomi">Pekerjaan Layak dan Pertumbuhan ekonomi</a></li> <li><a href="https://lestari.kompas.com/tujuan/industri-inovasi-dan-infrastruktur">Industri, Inovasi & Infrastruktur</a></li> <li><a href="https://lestari.kompas.com/tujuan/berkurangnya-kesenjangan">Berkurangnya Kesenjangan</a></li> <li><a href="https://lestari.kompas.com/tujuan/kota-dan-pemukiman-yang-berkelanjutan">Kota & Pemukiman yang Berkelanjutan</a></li> <li><a href="https://lestari.kompas.com/tujuan/konsumsi-dan-produksi-yang-bertanggungjawab">Konsumsi & Produksi yang bertanggungjawab</a></li> </ul> </div> </li> <li class="navSub-col --col3"> <div class="navSub-label">PROGRAM LESTARI</div> <ul class="navSub-inner"> <li> <a href="https://lestari.kompas.com/program/cantikpreneurship" class="navLestariProgram"> <img src="https://asset.kompas.com/data/2023/02/2109/kompascom/desktop/images/lestari/logo-jagoan-lokal.png" alt="Cantikpreneurship"> </a> </li> <li> <a href="https://lestari.kompas.com/program/jernihkan-bumi" class="navLestariProgram"> <img src="https://asset.kompas.com/data/2023/02/2109/kompascom/desktop/images/lestari/logo-jernihkan-bumi.png" alt="Jernihkan Bumi"> </a> </li> <li> <a href="https://lestari.kompas.com/program/jernihkan-harapan" class="navLestariProgram"> <img src="https://asset.kompas.com/data/2023/02/2109/kompascom/desktop/images/lestari/logo-jernihkan-harapan.png" alt="Jernihkan Harapan"> </a> </li> <li> <a href="https://lestari.kompas.com/program/festival-ceban" class="navLestariProgram"> <img src="https://asset.kompas.com/data/2023/02/2109/kompascom/desktop/images/lestari/logo-festival-ceban.png" alt="Festival Ceban"> </a> </li> <li> <a href="https://lestari.kompas.com/program/jurnalisme-berkebangsaan" class="navLestariProgram"> <img src="https://asset.kompas.com/data/2023/06/07/kompascom/desktop/lestari/images/logo_gate_jurnalisme.png" alt="Jurnalisme Berkebangsaan"> </a> </li> <li> <a href="https://lestari.kompas.com/program/generasi-bangkit" class="navLestariProgram"> <img src="https://asset.kompas.com/data/2023/06/22/kompascom/mobile/lestari/images/logo-generasibangkit.svg?v=1" alt="Generasi Bangkit"> </a> </li> </ul> <a class="navSub-more" href="https://lestari.kompas.com/program">Lihat semua</a> </li> </ul> </div> <!-- share--> </div> </div> <script src="https://asset.kompas.com/data/2023/11/03/darkmode/js/dark-mode.min.js"></script> <!-- (ads.welcomescreen) --> <!-- (ads.skin) --> <!-- container--> <div class="container clearfix"> <div class="row mt2 col-offset-fluid clearfix"> <div class="col-xs-10"> <div class="kcm kcm__top clearfix"> <div class="kcm__sticky__top"> <div id='div-gpt-ad-Top_1-1'> <script type='text/javascript'> googletag.cmd.push(function() { googletag.display('div-gpt-ad-Top_1-1'); }); </script> </div> <!-- DFP Vignette --> <script> if(document.cookie.indexOf('vignette_cookies=') == -1){ var getVignette = function() { googletag.cmd.push(function() { din = googletag.defineOutOfPageSlot('/31800665/KOMPAS.COM/travel/vignette', googletag.enums.OutOfPageFormat.INTERSTITIAL); if (din !== null) { din.setTargeting('Pos', ['vignette']); din.setTargeting('kg_pos', ['vignette']); din.addService(googletag.pubads()); } googletag.pubads().enableSingleRequest(); googletag.enableServices(); googletag.pubads().refresh([din]); }); }; getVignette(); // setcookie 1 jam var d = new Date() d.setTime(d.getTime() + 1800 * 1000) document.cookie = "vignette_cookies=1;expires=" + d.toUTCString() + ";domain=.kompas.com;path=/";document.cookie = "vignette_cookies_session=1" } </script> <!-- End DFP Vignette --> </div> </div> </div> </div> <div class="gate-kgplus"> <span>Baca berita tanpa iklan. <a href="https://traid.jixie.io/sync/ck?desturl=https%3A%2F%2Fplus.kompas.com%2F%3Fsource%3DKompas.com%26medium%3Dbelowads%26campaign%3DBacaBeritaTanpaIklan&cid=3085&cpid=804">Gabung Kompas.com+</a></span> </div> <div class="row mt2 col-offset-fluid clearfix"> <iframe id="randomIframe" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" style="border: 0px;vertical-align: bottom;height: 200px;width: 100%;"></iframe> </div> <script> // Daftar URL widget var widgetUrls = [ "https://widget.kompas.com/pilkada/v1", "https://widget.kompas.com/jokowi-prabowo/v1?v=2" ]; // Fungsi untuk memilih URL acak dari array widgetUrls function getRandomWidgetUrl() { return widgetUrls[Math.floor(Math.random() * widgetUrls.length)]; } // Menyisipkan URL acak ke dalam atribut src dari iframe document.getElementById("randomIframe").src = getRandomWidgetUrl(); </script> <!-- (ads.focus.update) --> <!-- tagging--> <!-- latest--> <div class="row mt2 col-offset-fluid clearfix"> <div class="col-bs10-7"> <!-- gallery--> <div class="title clearfix"> <h2 class="title__content">Foto</h2> </div> <div class="tekno__grid--foto ga--tekno-gallery article__wrap__grid--flex mt2 col-offset-fluid"> <div class="col-bs9-3"> <div class="article__grid"> <div class="article__asset"><a href="https://travel.kompas.com/galeri/detail/223/Keliling.Singapura.Naik.Vespa.Sespan" title="Keliling Singapura Naik Vespa Sespan"><img src="https://asset.kompas.com/crops/rM96P-wGHFeIlW5aB0UAR1SWvt8=/0x0:0x0/226x151/data/photo/2023/10/10/65253c3ce4261.jpg" alt="Keliling Singapura Naik Vespa Sespan"/></a> </div> <div class="article__box"> <h3 class="article__title"><a class="article__link" href="https://travel.kompas.com/galeri/detail/223/Keliling.Singapura.Naik.Vespa.Sespan" title="Keliling Singapura Naik Vespa Sespan">Keliling Singapura Naik Vespa Sespan</a></h3> <div class="article__media"> <span>8 Foto</span></div> <div class="article__date">16/10/2023, 12:16 WIB</div> </div> </div> </div> <div class="col-bs9-3"> <div class="article__grid"> <div class="article__asset"><a href="https://travel.kompas.com/galeri/detail/222/Nostalgia.Petualangan.Sherina.Lewat.Pameran" title="Nostalgia Petualangan Sherina Lewat Pameran"><img src="https://asset.kompas.com/crops/-HGBbddxtWYRbHad-ovwzZIXxOM=/0x0:0x0/226x151/data/photo/2023/09/27/6513c1ae29eb4.jpg" alt="Nostalgia Petualangan Sherina Lewat Pameran"/></a> </div> <div class="article__box"> <h3 class="article__title"><a class="article__link" href="https://travel.kompas.com/galeri/detail/222/Nostalgia.Petualangan.Sherina.Lewat.Pameran" title="Nostalgia Petualangan Sherina Lewat Pameran">Nostalgia Petualangan Sherina Lewat Pameran</a></h3> <div class="article__media"> <span>9 Foto</span></div> <div class="article__date">27/09/2023, 15:41 WIB</div> </div> </div> </div> <div class="col-bs9-3"> <div class="article__grid"> <div class="article__asset"><a href="https://travel.kompas.com/galeri/detail/221/Pemandangan.Indah.di.Atas.Kapal.KM.Kirana.VII.Rute.Surabaya-Lombok" title="Pemandangan Indah di Atas Kapal KM Kirana VII Rute Surabaya-Lombok"><img src="https://asset.kompas.com/crops/XzCIIAiTRqx6I-VBDFNXXcg8kYQ=/0x0:0x0/226x151/data/photo/2023/09/11/64feaf5ecb2b9.jpg" alt="Pemandangan Indah di Atas Kapal KM Kirana VII Rute Surabaya-Lombok"/></a> </div> <div class="article__box"> <h3 class="article__title"><a class="article__link" href="https://travel.kompas.com/galeri/detail/221/Pemandangan.Indah.di.Atas.Kapal.KM.Kirana.VII.Rute.Surabaya-Lombok" title="Pemandangan Indah di Atas Kapal KM Kirana VII Rute Surabaya-Lombok">Pemandangan Indah di Atas Kapal KM Kirana VII Rute Surabaya-Lombok</a></h3> <div class="article__media"> <span>10 Foto</span></div> <div class="article__date">15/09/2023, 09:35 WIB</div> </div> </div> </div> <div class="col-bs9-3"> <div class="article__grid"> <div class="article__asset"><a href="https://travel.kompas.com/galeri/detail/220/Mengenang.Keindahan.Padang.Sabana.Bromo.Sebelum.Kebakaran" title="Mengenang Keindahan Padang Sabana Bromo Sebelum Kebakaran"><img src="https://asset.kompas.com/crops/wDbEnjP_UGA_maYaLv3cvnE4-as=/0x0:0x0/226x151/data/photo/2023/09/11/64fedfb67998c.jpg" alt="Mengenang Keindahan Padang Sabana Bromo Sebelum Kebakaran"/></a> </div> <div class="article__box"> <h3 class="article__title"><a class="article__link" href="https://travel.kompas.com/galeri/detail/220/Mengenang.Keindahan.Padang.Sabana.Bromo.Sebelum.Kebakaran" title="Mengenang Keindahan Padang Sabana Bromo Sebelum Kebakaran">Mengenang Keindahan Padang Sabana Bromo Sebelum Kebakaran</a></h3> <div class="article__media"> <span>7 Foto</span></div> <div class="article__date">11/09/2023, 16:39 WIB</div> </div> </div> </div> <div class="col-bs9-3"> <div class="article__grid"> <div class="article__asset"><a href="https://travel.kompas.com/galeri/detail/219/Keindahan.Negeri.Khayangan.di.Lereng.Gunung.Merbabu.Jawa.Tengah" title="Keindahan Negeri Khayangan di Lereng Gunung Merbabu, Jawa Tengah"><img src="https://asset.kompas.com/crops/UD7IvW9z2iOAGnSwC0rmGHtC7rI=/0x0:0x0/226x151/data/photo/2023/02/06/63e0b4e11888f.jpg" alt="Keindahan Negeri Khayangan di Lereng Gunung Merbabu, Jawa Tengah"/></a> </div> <div class="article__box"> <h3 class="article__title"><a class="article__link" href="https://travel.kompas.com/galeri/detail/219/Keindahan.Negeri.Khayangan.di.Lereng.Gunung.Merbabu.Jawa.Tengah" title="Keindahan Negeri Khayangan di Lereng Gunung Merbabu, Jawa Tengah">Keindahan Negeri Khayangan di Lereng Gunung Merbabu, Jawa Tengah</a></h3> <div class="article__media"> <span>8 Foto</span></div> <div class="article__date">27/02/2023, 20:09 WIB</div> </div> </div> </div> <div class="col-bs9-3"> <div class="article__grid"> <div class="article__asset"><a href="https://travel.kompas.com/galeri/detail/218/Meriahnya.Lampion.Imlek.di.Pasar.Gede.Kota.Solo.Tahun.2023" title="Meriahnya Lampion Imlek di Pasar Gede, Kota Solo Tahun 2023"><img src="https://asset.kompas.com/crops/Fl93C_0oNt1t_w2Dt5cLGkdQInk=/0x0:0x0/226x151/data/photo/2023/01/12/63bf6af72aabc.jpg" alt="Meriahnya Lampion Imlek di Pasar Gede, Kota Solo Tahun 2023"/></a> </div> <div class="article__box"> <h3 class="article__title"><a class="article__link" href="https://travel.kompas.com/galeri/detail/218/Meriahnya.Lampion.Imlek.di.Pasar.Gede.Kota.Solo.Tahun.2023" title="Meriahnya Lampion Imlek di Pasar Gede, Kota Solo Tahun 2023">Meriahnya Lampion Imlek di Pasar Gede, Kota Solo Tahun 2023</a></h3> <div class="article__media"> <span>10 Foto</span></div> <div class="article__date">14/01/2023, 18:28 WIB</div> </div> </div> </div> <div class="col-bs9-3"> <div class="article__grid"> <div class="article__asset"><a href="https://travel.kompas.com/galeri/detail/216/Gunung.Bismo.Salah.Satu.Atap.Dieng.yang.Menawan" title="Gunung Bismo, Salah Satu Atap Dieng yang Menawan"><img src="https://asset.kompas.com/crops/qle_L1UsTngcJQIcL5ds1FgiVQM=/0x0:0x0/226x151/data/photo/2022/07/30/62e53356296a4.jpg" alt="Gunung Bismo, Salah Satu Atap Dieng yang Menawan"/></a> </div> <div class="article__box"> <h3 class="article__title"><a class="article__link" href="https://travel.kompas.com/galeri/detail/216/Gunung.Bismo.Salah.Satu.Atap.Dieng.yang.Menawan" title="Gunung Bismo, Salah Satu Atap Dieng yang Menawan">Gunung Bismo, Salah Satu Atap Dieng yang Menawan</a></h3> <div class="article__media"> <span>8 Foto</span></div> <div class="article__date">01/08/2022, 16:42 WIB</div> </div> </div> </div> <div class="col-bs9-3"> <div class="article__grid"> <div class="article__asset"><a href="https://travel.kompas.com/galeri/detail/215/Sepotong.Senja.di.Pantai.Ngurbloat.Kei.Kecil" title="Sepotong Senja di Pantai Ngurbloat Kei Kecil"><img src="https://asset.kompas.com/crops/8sbarYNAmWsqS_agvBe-ke-FD1U=/0x0:0x0/226x151/data/photo/2021/11/17/6194bdc38b403.jpg" alt="Sepotong Senja di Pantai Ngurbloat Kei Kecil"/></a> </div> <div class="article__box"> <h3 class="article__title"><a class="article__link" href="https://travel.kompas.com/galeri/detail/215/Sepotong.Senja.di.Pantai.Ngurbloat.Kei.Kecil" title="Sepotong Senja di Pantai Ngurbloat Kei Kecil">Sepotong Senja di Pantai Ngurbloat Kei Kecil</a></h3> <div class="article__media"> <span>10 Foto</span></div> <div class="article__date">17/11/2021, 15:44 WIB</div> </div> </div> </div> <div class="col-bs9-3"> <div class="article__grid"> <div class="article__asset"><a href="https://travel.kompas.com/galeri/detail/214/Bentang.Alam.Raja.Ampat.yang.Rupawan" title="Bentang Alam Raja Ampat yang Rupawan"><img src="https://asset.kompas.com/crops/5bRd5iCcesm1Q6EtZhZ4nKCjD3U=/0x0:0x0/226x151/data/photo/2021/10/31/617e75ffcd09b.jpg" alt="Bentang Alam Raja Ampat yang Rupawan"/></a> </div> <div class="article__box"> <h3 class="article__title"><a class="article__link" href="https://travel.kompas.com/galeri/detail/214/Bentang.Alam.Raja.Ampat.yang.Rupawan" title="Bentang Alam Raja Ampat yang Rupawan">Bentang Alam Raja Ampat yang Rupawan</a></h3> <div class="article__media"> <span>13 Foto</span></div> <div class="article__date">16/11/2021, 20:18 WIB</div> </div> </div> </div> <div class="col-bs9-3"> <div class="article__grid"> <div class="article__asset"><a href="https://travel.kompas.com/galeri/detail/213/Indahnya.Gunung.Telomoyo.yang.Berkalung.Jalan.Aspal" title="Indahnya Gunung Telomoyo yang Berkalung Jalan Aspal"><img src="https://asset.kompas.com/crops/81QIC8VjcF-6nAZ7Llsrcl7PjWA=/0x0:0x0/226x151/data/photo/2021/11/14/6190e044d915e.jpg" alt="Indahnya Gunung Telomoyo yang Berkalung Jalan Aspal"/></a> </div> <div class="article__box"> <h3 class="article__title"><a class="article__link" href="https://travel.kompas.com/galeri/detail/213/Indahnya.Gunung.Telomoyo.yang.Berkalung.Jalan.Aspal" title="Indahnya Gunung Telomoyo yang Berkalung Jalan Aspal">Indahnya Gunung Telomoyo yang Berkalung Jalan Aspal</a></h3> <div class="article__media"> <span>7 Foto</span></div> <div class="article__date">14/11/2021, 17:28 WIB</div> </div> </div> </div> </div> <!-- paging--> <div class="text-center mt2 clearfix"><div class="paging clearfix"><div class="paging__wrap clearfix"><div class="paging__item"><a class="paging__link paging__link--active" href="javascript:void(0)">1</a></div><div class="paging__item"><a class="paging__link" href="https://travel.kompas.com/galeri?page=2" data-ci-pagination-page="2">2</a></div><div class="paging__item"><a class="paging__link" href="https://travel.kompas.com/galeri?page=3" data-ci-pagination-page="3">3</a></div><div class="paging__item"><a class="paging__link paging__link--next" href="https://travel.kompas.com/galeri?page=2" data-ci-pagination-page="2" rel="next">Next</a></div><div class="paging__item"><a class="paging__link paging__link--last" href="https://travel.kompas.com/galeri?page=10" data-ci-pagination-page="10">Last ›</a></div></div></div></div> </div> <div class="col-bs10-3"> <div class="kcm kcm__big clearfix js-giant-wp-top1"> <div class="kcm kcm__track clearfix"> <div class="kcm kcm__sticky clearfix"> <div id='div-gpt-ad-Giant' style="text-align: center;"> <script type='text/javascript'> googletag.cmd.push(function() { googletag.display('div-gpt-ad-Giant'); }); </script> </div> </div> </div></div> <div class="gate-kgplus"> <span>Baca berita tanpa iklan. <a href="https://traid.jixie.io/sync/ck?desturl=https%3A%2F%2Fplus.kompas.com%2F%3Fsource%3DKompas.com%26medium%3Dbelowads%26campaign%3DBacaBeritaTanpaIklan&cid=3085&cpid=804">Gabung Kompas.com+</a></span> </div> <div class="row mt2 clearfix"> <div class="kcm kcm__track clearfix"> <div class="kcm kcm__sticky clearfix"> <!-- s: Rectangle Sticky --> <link rel="stylesheet" type="text/css" href="https://adsimg.kompas.com/html5/assets_ads/rectangle-sticky-read/css/sticky_style.css?v=1"> <div class="sticky__rectangle"> <div id='div-gpt-ad-Right_3'> <script type='text/javascript'> googletag.cmd.push(function() { googletag.display('div-gpt-ad-Right_3'); }); </script> </div> </div> <script type="text/javascript" src="https://adsimg.kompas.com/html5/assets_ads/rectangle-sticky-read/js/jquery-scrolltofixed-min.js"></script> <script type="text/javascript"> $(document).ready(function() { $(window).bind("load", function () { $('.sticky__rectangle').scrollToFixed({ marginTop: 46, limit: $('.sticky__rectangle').offset().top + 0, zIndex: 11, unfixed: function() { if ($('.sticky__rectangle').hasClass("scroll-to-fixed-fixed")) { $('.sticky__rectangle').css('left', ''); $('.sticky__rectangle').css('top', ''); } } }); }); }); </script> <!-- e: Rectangle Sticky --> </div> </div> </div> <div class="gate-kgplus"> <span>Baca berita tanpa iklan. <a href="https://traid.jixie.io/sync/ck?desturl=https%3A%2F%2Fplus.kompas.com%2F%3Fsource%3DKompas.com%26medium%3Dbelowads%26campaign%3DBacaBeritaTanpaIklan&cid=3085&cpid=804">Gabung Kompas.com+</a></span> </div> <div class="row mt2 clearfix"> <div class="kcm kcm__track clearfix"> <div class="kcm kcm__sticky clearfix"> <div id='div-gpt-ad-Right_4'> <script type='text/javascript'> googletag.cmd.push(function() { googletag.display('div-gpt-ad-Right_4'); }); </script> </div> </div> </div> </div> <div class="gate-kgplus"> <span>Baca berita tanpa iklan. <a href="https://traid.jixie.io/sync/ck?desturl=https%3A%2F%2Fplus.kompas.com%2F%3Fsource%3DKompas.com%26medium%3Dbelowads%26campaign%3DBacaBeritaTanpaIklan&cid=3085&cpid=804">Gabung Kompas.com+</a></span> </div> <!-- terpopuler --> <!-- terpopuler--> <div class="most ga--most mt1 clearfix"> <div class="title title--center clearfix"> <h2 class="title__content">Terpopuler</h2> </div> <div class="most__wrap clearfix"> <div class="most__list clearfix"> <div class="most__count">1</div> <a class="most__link" href="https://travel.kompas.com/read/2024/11/24/070700727/10-bandara-terbaik-untuk-tidur-selama-singgah-dan-penundaan"> <h4 class="most__title">10 Bandara Terbaik untuk Tidur Selama Singgah dan Penundaan</h4> <div class="most__read">Dibaca 4.048 kali</div> </a> </div> <div class="most__list clearfix"> <div class="most__count">2</div> <a class="most__link" href="https://travel.kompas.com/read/2024/11/25/090900627/china-perluas-kebijakan-bebas-visa-untuk-9-negara-ada-indonesia-"> <h4 class="most__title">China Perluas Kebijakan Bebas Visa untuk 9 Negara, Ada Indonesia?</h4> <div class="most__read">Dibaca 3.383 kali</div> </a> </div> <div class="most__list clearfix"> <div class="most__count">3</div> <a class="most__link" href="https://travel.kompas.com/read/2024/11/23/111100627/plataran-komodo-indonesia-jadi-resor-paling-romantis-se-asia-dan-afrika"> <h4 class="most__title">Plataran Komodo Indonesia Jadi Resor Paling Romantis se-Asia dan Afrika</h4> <div class="most__read">Dibaca 1.184 kali</div> </a> </div> <div class="most__list clearfix"> <div class="most__count">4</div> <a class="most__link" href="https://travel.kompas.com/read/2024/11/23/150300927/menpar-sebut-bali-bukan-terlalu-padat-tetapi-persebaran-wisatawan-yang-tidak"> <h4 class="most__title">Menpar Sebut Bali Bukan Terlalu Padat, tetapi Persebaran Wisatawan yang Tidak Merata</h4> <div class="most__read">Dibaca 1.054 kali</div> </a> </div> <div class="most__list clearfix"> <div class="most__count">5</div> <a class="most__link" href="https://travel.kompas.com/read/2024/11/24/150300127/pengelola-kebun-binatang-di-kota-batu-keberatan-ppn-12-persen"> <h4 class="most__title">Pengelola Kebun Binatang di Kota Batu Keberatan PPN 12 Persen</h4> <div class="most__read">Dibaca 400 kali</div> </a> </div> <div class="most__list clearfix"> <div class="most__count">6</div> <a class="most__link" href="https://travel.kompas.com/read/2024/11/23/190700527/tarif-masuk-pantai-pasir-padi-pangkalpinang-jadi-rp-4.000-mulai-2025"> <h4 class="most__title">Tarif Masuk Pantai Pasir Padi Pangkalpinang Jadi Rp 4.000 Mulai 2025</h4> <div class="most__read">Dibaca 304 kali</div> </a> </div> <div class="most__list clearfix"> <div class="most__count">7</div> <a class="most__link" href="https://travel.kompas.com/read/2024/11/23/090900127/waktu-terbaik-liburan-ke-korea-selatan-sesuaikan-dengan-musim"> <h4 class="most__title">Waktu Terbaik Liburan ke Korea Selatan, Sesuaikan dengan Musim</h4> <div class="most__read">Dibaca 237 kali</div> </a> </div> <div class="most__list clearfix"> <div class="most__count">8</div> <a class="most__link" href="https://travel.kompas.com/read/2024/11/23/140500127/janti-park-klaten--harga-tiket-jam-buka-dan-lokasi"> <h4 class="most__title">Janti Park Klaten: Harga Tiket, Jam Buka, dan Lokasi</h4> <div class="most__read">Dibaca 209 kali</div> </a> </div> <div class="most__list clearfix"> <div class="most__count">9</div> <a class="most__link" href="https://travel.kompas.com/read/2024/11/23/170500627/promo-pilkada-2024-di-ancol-diskon-tiket-masuk-40-persen"> <h4 class="most__title">Promo Pilkada 2024 di Ancol, Diskon Tiket Masuk 40 Persen</h4> <div class="most__read">Dibaca 197 kali</div> </a> </div> <div class="most__list clearfix"> <div class="most__count">10</div> <a class="most__link" href="https://travel.kompas.com/read/2024/11/24/111100927/7-hal-yang-tidak-boleh-dilewatkan-saat-berlibur-di-korea-selatan"> <h4 class="most__title">7 Hal yang Tidak Boleh Dilewatkan Saat Berlibur di Korea Selatan</h4> <div class="most__read">Dibaca 197 kali</div> </a> </div> </div> </div> <div class="mt2 clearfix"> <div class="kcm kcm__rectangle clearfix"> <span id="wrap_lazy_div-gpt-ad-Right_5" style="margin-top:-200px;position:absolute"></span> <div id='div-gpt-ad-Right_5'> </div> <script type="text/javascript"> var observer_ads_div_gpt_ad_Right_5 = new IntersectionObserver(function(entires){ entires.forEach(function(entry) { if(entry.intersectionRatio > 0){ show_ads_div_gpt_ad_Right_5(entry.target) } }); }, { threshold: 0 }); observer_ads_div_gpt_ad_Right_5.observe(document.getElementById('wrap_lazy_div-gpt-ad-Right_5')); function show_ads_div_gpt_ad_Right_5(element){ console.log('show_ads lazy'); observer_ads_div_gpt_ad_Right_5.unobserve(element); observer_ads_div_gpt_ad_Right_5.disconnect(); googletag.cmd.push(function() { var slot = googletag.defineSlot('/31800665/KOMPAS.COM/travel', [[300,250]],'div-gpt-ad-Right_5').setTargeting('Pos',['Right_5']).setTargeting('kg_pos', ['right_5']).addService(googletag.pubads());googletag.display('div-gpt-ad-Right_5'); googletag.pubads().refresh([slot]);}); } </script> </div> </div> <div class="gate-kgplus"> <span>Baca berita tanpa iklan. <a href="https://traid.jixie.io/sync/ck?desturl=https%3A%2F%2Fplus.kompas.com%2F%3Fsource%3DKompas.com%26medium%3Dbelowads%26campaign%3DBacaBeritaTanpaIklan&cid=3085&cpid=804">Gabung Kompas.com+</a></span> </div> </div> </div> <!-- end container--> <div class="kcm kcm__horizontal clearfix"> <a class="kcm__close js-kcm-horizontal" href="#">Close Ads <span class="kcm__close__icon"></span></a> <div id='div-gpt-ad-Horizontal_Ad'> <script type='text/javascript'> googletag.cmd.push(function() { googletag.display('div-gpt-ad-Horizontal_Ad'); }); </script> </div></div> </div> <!-- foote<script type="text/javascript"> window.AviviD = window.AviviD || {settings:{},status:{}}; AviviD.web_id = "kompas"; AviviD.category_id = "20230131000002"; AviviD.tracking_platform = 'likr'; AviviD.construct=function(a){window.jQuery&&!AviviD.empty(AviviD.uuid)?a():setTimeout(function(){AviviD.construct(a)},50)};AviviD.get_urlparam=function(a){a=new RegExp("(^|&)"+a+"=([^&]*)(&|$)");a=window.location.search.substr(1).match(a);return null!=a?unescape(a[2]):null}; AviviD.empty=function(a){if("number"==typeof a||"boolean"==typeof a)return!1;if("null"===a||"undefined"===a||"undefined"==typeof a||null===a)return!0;if("undefined"!=typeof a.length)return 0==a.length;var c=0,b;for(b in a)a.hasOwnProperty(b)&&c++;return 0==c};AviviD.protocol_firebase_accept=function(){return"http:"==location.protocol?!1:!0}; AviviD.get_top_domain=function(){var a=window.location.hostname;if(/[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}/.test(a))return a;var c=a.split(".").length,b=a.split(".").reverse();return"2">=c?a:"3"==c?"com"===b[1]?a:b[1]+"."+b[0]:"4"==c?"com"===b[0]?b[1]+"."+b[0]:b[2]+"."+b[1]+"."+b[0]:b[2]+"."+b[1]+"."+b[0]}; AviviD.set_cookie=function(a,c,b){var d=AviviD.get_top_domain();b=b||3650;var e=new Date;e.setTime(e.getTime()+864E5*b);AviviD.protocol_firebase_accept()?document.cookie=a+"="+escape(c)+";expires="+e.toGMTString()+";domain="+d+";path=/;secure;":document.cookie=a+"="+escape(c)+";expires="+e.toGMTString()+";domain="+d+";path=/;"};AviviD.get_cookie=function(a){a=document.cookie.match(new RegExp("(^| )"+a+"=([^;]*)(;|$)"));return null!=a?unescape(a[2]):null}; AviviD.delete_cookie=function(a){var c=new Date;c.setTime(c.getTime()-1);var b=AviviD.get_cookie(a);null!=b&&(document.cookie=a+"="+b+";expires="+c.toGMTString())}; AviviD.get_website_info=function(){JSON.stringify(AviviD.ajax_data);jQuery.ajax({type:"GET",url:"https://avivid.likr.tw/settings_file_json/"+AviviD.category_id+".json",xhrFields:{withCredentials:!1},cache:!0,dataType:"json",success:function(a){"_"==a.sender_id&&(a.sender_id="912321621860");AviviD.status.get_website_info="1";AviviD.loadScript("https://avividone.likr.tw/killswitch/killswitch_config.js");"1"==AviviD.status.get_website_info?(AviviD.settings.is_aws=a.is_aws,AviviD.settings.is_crescent= a.is_crescent,AviviD.settings.icon_path=a.icon_path,AviviD.settings.string_ring_icon=a.ring_icon,AviviD.settings.sw_type=a.sw_type,AviviD.settings.channel_id=a.channel_id,AviviD.settings.push_banner_data_title=a.banner_title,AviviD.settings.push_banner_data_content=a.banner_content,AviviD.settings.banner_button_allow=a.banner_button_allow,AviviD.settings.banner_button_deny=a.banner_button_deny,AviviD.settings.push_banner_data_interval=a.banner_interval_mins,AviviD.settings.push_banner_data_position= a.banner_position,AviviD.settings.ring_position_top=a.ring_position_top,AviviD.settings.ring_position_bottom=a.ring_position_bottom,AviviD.settings.ring_position_left=a.ring_position_left,AviviD.settings.ring_position_right=a.ring_position_right,AviviD.settings.show_ring_after_subscribed=a.ring_display,AviviD.settings.show_ring=a.show_ring,AviviD.settings.ring_size_height=a.ring_size_height,AviviD.settings.ring_size_width=a.ring_size_width,AviviD.settings.banner_allow_btn=a.banner_allow_btn,AviviD.settings.banner_cancel_btn= a.banner_cancel_btn,AviviD.settings.ring_before_background_path=a.ring_before_background_path,AviviD.settings.ring_after_background_path=a.ring_after_background_path,AviviD.settings.new_onpage_version=a.new_onpage_version,AviviD.settings.fb_banner_title=a.fb_banner_title,AviviD.settings.fb_banner_content=a.fb_banner_content,AviviD.settings.fb_banner_icon=a.fb_banner_icon,AviviD.settings.add_ecommerce_listener=a.add_ecommerce_listener,AviviD.settings.string_banner_icon=a.banner_icon,AviviD.settings.ring_position_mtop= a.ring_position_mtop,AviviD.settings.ring_position_mbottom=a.ring_position_mbottom,AviviD.settings.ring_position_mleft=a.ring_position_mleft,AviviD.settings.ring_position_mright=a.ring_position_mright,AviviD.settings.show_fb_banner=a.show_fb_banner,AviviD.settings.pc_show_ring=a.pc_show_ring,AviviD.settings.pc_show_banner=a.pc_show_banner,AviviD.settings.mobile_show_ring=a.mobile_show_ring,AviviD.settings.mobile_show_banner=a.mobile_show_banner,AviviD.settings.fp_ak=a.fp_ak,AviviD.settings.fp_ad= a.fp_ad,AviviD.settings.fp_du=a.fp_du,AviviD.settings.fp_pi=a.fp_pi,AviviD.settings.fp_sb=a.fp_sb,AviviD.settings.fp_ai=a.fp_ai,AviviD.settings.fp_mi=a.fp_mi,AviviD.settings.fp_msi=a.fp_msi,AviviD.settings.language=a.language,AviviD.settings.switch_language=a.switch_language,AviviD.settings.ios_enable=a.ios_enable,AviviD.settings.banner_cancel_twice_exp_day=a.banner_click_cancel_twice_interval_days,AviviD.settings.website_type=a.website_type,AviviD.settings.native_enable=a.native_enable,"pixnet"== AviviD.web_id&&0==document.domain.includes("pixnet.net")&&(AviviD.settings.native_enable="0"),AviviD.settings.banner_enable=a.banner_enable,AviviD.settings.onpage_enable=a.onpage_enable,AviviD.settings.compensation_enable=a.compensation_enable,AviviD.settings.onpage_timeout_first=a.onpage_timeout_first,AviviD.settings.onpage_timeout_cycle=a.onpage_timeout_cycle,AviviD.settings.onpage_with_ad=a.onpage_with_ad,AviviD.settings.sub_banner_customer_enable=a.sub_banner_customer_enable,AviviD.settings.ad_banner_enable= a.ad_banner_enable,AviviD.settings.ad_banner_with_ad=a.ad_banner_with_ad,AviviD.settings.ad_banner_position=a.ad_banner_position,AviviD.settings.ad_banner_pic_position=a.ad_banner_pic_position,AviviD.settings.ad_banner_timer=a.ad_banner_timer,AviviD.settings.ad_banner_life_cycle=a.ad_banner_life_cycle,AviviD.settings.before_page_timer=60,AviviD.settings.onpage_position=a.onpage_position,AviviD.settings.onpage_position_vh=a.onpage_position_vh,AviviD.settings.onpage_pc_position=a.onpage_pc_position, AviviD.settings.onpage_pic_position=a.onpage_pic_position,AviviD.settings.track_behavior_enable=a.track_behavior_enable,AviviD.settings.ip_enable=a.ip_enable,AviviD.settings.payment_selector=a.payment_selector,AviviD.settings.payment_selector_m=a.payment_selector_m,AviviD.settings.payment_url=a.payment_url,AviviD.settings.payment_url_m=a.payment_url_m,AviviD.settings.checkout_url=a.checkout_url,AviviD.settings.checkout_url_m=a.checkout_url_m,AviviD.settings.checkout_trigger_class=a.checkout_trigger_class, AviviD.settings.checkout_trigger_class_m=a.checkout_trigger_class_m,AviviD.settings.checkout_data_class=a.checkout_data_class,AviviD.settings.checkout_data_class_m=a.checkout_data_class_m,AviviD.settings.cart_url=a.cart_url,AviviD.settings.cart_url_m=a.cart_url_m,AviviD.settings.cart_data_class=a.cart_data_class,AviviD.settings.cart_data_class_m=a.cart_data_class_m,AviviD.settings.number_url=a.number_url,AviviD.settings.number_url_m=a.number_url_m,AviviD.settings.number_trigger_class=a.number_trigger_class, AviviD.settings.number_trigger_class_m=a.number_trigger_class_m,AviviD.settings.number_data_id=a.number_data_id,AviviD.settings.number_data_id_m=a.number_data_id_m,AviviD.settings.back_page_enable=a.back_page_enable,AviviD.settings.ad_block_enabled=a.ad_block_enabled,AviviD.settings.ad_block_abtest_enabled=a.ad_block_abtest_enabled,AviviD.settings.ad_block_abtest_ratio=a.ad_block_abtest_ratio,AviviD.settings.ad_block_abtest_start_time=a.ad_block_abtest_start_time,AviviD.settings.ad_block_abtest_end_time= a.ad_block_abtest_end_time,AviviD.settings.sliding_enable=a.sliding_enable,AviviD.settings.notify_enable=a.notify_enable,AviviD.settings.before_page_enable=a.before_page_enable,AviviD.settings.push_before_page_enable=a.push_before_page_enable,AviviD.settings.yh_enable=a.yh_enable,AviviD.settings.onpage_divide_article_ad=a.onpage_divide_article_ad,AviviD.settings.geolocation_enable=a.geolocation_enable,AviviD.settings.pwa_enable=a.pwa_enable,AviviD.settings.console_enable=a.console_enable,AviviD.settings.SENDER_ID= a.sender_id,AviviD.settings.banner_native=a.banner_native,AviviD.update_time=(new Date).getTime(),AviviD.status.update_time=AviviD.convert_timestamp_to_time(AviviD.update_time)):AviviD.console("AviviD get_website_info : status => "+a.status+", resText => "+a.resText)},error:function(a,c,b){AviviD.console("jqXHR :",a);AviviD.console("textStatus :",c);AviviD.console("errorThrown :",b)}})};AviviD.construct(AviviD.get_website_info); AviviD.before_page_ready=function(a){if("function"===typeof AviviD.before_page_enable)AviviD.before_page_enable();else{if(100<a)return 0;setTimeout(function(){AviviD.before_page_ready(a+1)},50)}}; AviviD.before_page_select=function(){var a=0,c=0;AviviD.get_urlparam("avivid_preview_exit")&&(AviviD.set_cookie("avivid_exit_mode",AviviD.get_urlparam("avivid_preview_exit")),a="1");AviviD.get_urlparam("avivid_preview_before")&&(c="1");0==a&&(a=null!=AviviD.get_cookie("avivid_exit_mode")?AviviD.get_cookie("avivid_exit_mode"):0);if(AviviD.settings.website_type&&void 0!==AviviD.block_killswitch){if("1"==a||"1"==c)AviviD.settings.before_page_enable="1";var b=[],d=[],e=[];"1"==c?(window.onpopstate=function(m){console.log(document.referrer); document.referrer.split("://")[1]!=document.domain&&setTimeout(function(){window.location.replace("https://www.google.com/")},10)},c=document.URL,history.state||(alert("replacestate"),history.replaceState({state:"sec_state"},"1","https://www.upmedia.mg/news_info.php?Type=71&SerialNo=146920"),alert("pushstate"),history.pushState(null,"2",c))):"1"==a?(AviviD.loadScript("https://subscribe.likr.com.tw/sample/before_page/_test.js"),"3"==AviviD.settings.website_type?b=[AviviD.web_id]:(d=[AviviD.web_id], e=[AviviD.web_id])):"3"==AviviD.settings.website_type&&"1"==AviviD.settings.before_page_enable?(AviviD.loadScript("https://avivid.likr.tw/sample/before_page/"+AviviD.web_id+".js"),b=[AviviD.web_id]):"3"!=AviviD.settings.website_type&&"1"==AviviD.settings.before_page_enable?(AviviD.loadScript("https://avivid.likr.tw/sample/before_page/"+AviviD.web_id+".js"),d=[AviviD.web_id]):"3"!=AviviD.settings.website_type&&"1"==AviviD.settings.push_before_page_enable&&(AviviD.loadScript("https://avivid.likr.tw/sample/before_page/"+ AviviD.web_id+".js"),e=[AviviD.web_id]);c=void 0==document.referrer.split("/")[2]?"":document.referrer.split("/")[2];var f=document.referrer.split("/")[document.referrer.split("/").length-1],g=["firebase-messaging-sw.js"],k=["advividnetwork.com","rhea-cache.advividnetwork.com","medium-lbr.gaii.ai","medium.gaii.ai","ecommerce.gaii.ai","ecommerce-lbr.gaii.ai","husky.gaii.ai","rhea-cache.gaii.ai",document.domain],h="babyhome bnext btnet dailyview edh healthgvm2 managertoday newscts nownews sportz upmedia teepr2 pixnet".split(" "), l=["oneboy","i3fresh"];AviviD.before_page_url="https://ecommerce.gaii.ai/tw";AviviD.before_page_pc_url="https://ecommerce.gaii.ai/tw_pc";AviviD.media_before_page_url="https://medium.gaii.ai/tw";AviviD.media_before_page_pc_url="https://medium.gaii.ai/tw_pc";"1"!=AviviD.int_os_type&&"2"!=AviviD.int_os_type&&!h.includes(AviviD.web_id)&&("3"!=AviviD.settings.website_type||l.includes(AviviD.web_id))&&"1"!=a||k.includes(c)||!(b.includes(AviviD.web_id)||AviviD.get_urlparam("avivid_preview_exit_s")||d.includes(AviviD.web_id))|| "yodee"==AviviD.web_id&&""==c||"1"!=AviviD.block_killswitch.before_page_enable?"dm5com"!=AviviD.web_id&&"1kkkcom"!=AviviD.web_id||!d.includes(AviviD.web_id)||(AviviD.config={open_tab:"0"},AviviD.before_page_ready(0)):(console.log("preview"),d.includes(AviviD.web_id)?g.includes(f)||"web_notification"==AviviD.get_urlparam("utm_medium")||null!=AviviD.get_urlparam("differ_push_day")?AviviD.config={open_tab:"1"}:AviviD.config={open_tab:"0"}:AviviD.load_sliding_config(),AviviD.get_before_page_block()); "1"!=AviviD.int_os_type&&"2"!=AviviD.int_os_type&&!h.includes(AviviD.web_id)&&"1"!=a||!g.includes(f)&&"web_notification"!=AviviD.get_urlparam("utm_medium")&&null==AviviD.get_urlparam("differ_push_day")||!(e.includes(AviviD.web_id)||d.includes(AviviD.web_id)||AviviD.get_urlparam("avivid_preview_exit_s"))||"1"!=AviviD.block_killswitch.before_page_enable||(console.log("preview"),AviviD.config={open_tab:"1"},AviviD.get_before_page_block())}else setTimeout(function(){AviviD.before_page_select()},50)}; AviviD.before_page_select(); AviviD.get_before_page_block=function(){jQuery.ajax({type:"GET",url:"https://avivid.likr.tw/ios_onpage_switch_file/"+AviviD.web_id+".json",xhrFields:{withCredentials:!1},cache:!0,async:!0,dataType:"json",data:{web_id:AviviD.web_id},success:function(a){AviviD.before_page_block=a;AviviD.same_domain=a.same_domain.split(",");AviviD.before_page_block.block_url.forEach(function(c){-1<window.location.href.indexOf(c)&&""!=c&&(AviviD.before_page_block=!1)});AviviD.before_block=0==AviviD.before_page_block? !1:!0;AviviD.check_block_url()},fail:function(a,c,b){reject(!1)}})};AviviD.check_block_url=function(){if(void 0===AviviD.before_block||void 0===AviviD.before_page)setTimeout(function(){AviviD.check_block_url()},50);else{for(var a=void 0==document.referrer.split("/")[2]?"":document.referrer.split("/")[2],c=1,b=0;b<AviviD.same_domain.length;b++)-1!=a.indexOf(AviviD.same_domain[b])&&(c=0);(""==AviviD.same_domain||c)&&AviviD.before_page_block&&AviviD.before_page()}}; AviviD.load_sliding_config=function(){AviviD.fetch_config=function(){return new Promise(function(a,c){jQuery.ajax({type:"GET",url:"https://rhea-cache.advividnetwork.com/api/getSlidingConfig",xhrFields:{withCredentials:!1},cache:!0,dataType:"json",data:{web_id:AviviD.web_id},success:function(b){a(b)},fail:function(b,d,e){c(!1)}})})};AviviD.fetch_config().then(function(a){a=a[0];AviviD.config={web_id:AviviD.web_id,iframe_url:a.iframe_url,href:a.href,href_mobile:a.href_mob,use_meta:a.use_meta,scroll_div:a.scroll_div, pop_bottom:a.pop_bottom,title_exclude:a.title_exclude,model:a.model,website_type:a.website_type,recommend_type:a.recommend_type,z_open:a.z_open,z_close:a.z_close,z_item:a.z_item,item_regex:a.item_regex,allow_regex:a.allow_regex,css_bottom:a.css_bottom,css_bottom_item:a.css_bottom_item,fraction_open:a.fraction_open,open_tab:a.open_tab}})}; var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.arrayIteratorImpl=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}};$jscomp.arrayIterator=function(a){return{next:$jscomp.arrayIteratorImpl(a)}};$jscomp.makeIterator=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];if(b)return b.call(a);if("number"==typeof a.length)return $jscomp.arrayIterator(a);throw Error(String(a)+" is not an iterable or ArrayLike");};$jscomp.ASSUME_ES5=!1; $jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;$jscomp.ISOLATE_POLYFILLS=!1;$jscomp.FORCE_POLYFILL_PROMISE=!1;$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a}; $jscomp.getGlobal=function(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this);$jscomp.IS_SYMBOL_NATIVE="function"===typeof Symbol&&"symbol"===typeof Symbol("x");$jscomp.TRUST_ES6_POLYFILLS=!$jscomp.ISOLATE_POLYFILLS||$jscomp.IS_SYMBOL_NATIVE;$jscomp.polyfills={}; $jscomp.propertyToPolyfillSymbol={};$jscomp.POLYFILL_PREFIX="$jscp$";var $jscomp$lookupPolyfilledValue=function(a,b,c){if(!c||null!=a){c=$jscomp.propertyToPolyfillSymbol[b];if(null==c)return a[b];c=a[c];return void 0!==c?c:a[b]}};$jscomp.polyfill=function(a,b,c,d){b&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(a,b,c,d):$jscomp.polyfillUnisolated(a,b,c,d))}; $jscomp.polyfillUnisolated=function(a,b,c,d){c=$jscomp.global;a=a.split(".");for(d=0;d<a.length-1;d++){var f=a[d];if(!(f in c))return;c=c[f]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&$jscomp.defineProperty(c,a,{configurable:!0,writable:!0,value:b})}; $jscomp.polyfillIsolated=function(a,b,c,d){var f=a.split(".");a=1===f.length;d=f[0];d=!a&&d in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var e=0;e<f.length-1;e++){var g=f[e];if(!(g in d))return;d=d[g]}f=f[f.length-1];c=$jscomp.IS_SYMBOL_NATIVE&&"es6"===c?d[f]:null;b=b(c);null!=b&&(a?$jscomp.defineProperty($jscomp.polyfills,f,{configurable:!0,writable:!0,value:b}):b!==c&&(void 0===$jscomp.propertyToPolyfillSymbol[f]&&(c=1E9*Math.random()>>>0,$jscomp.propertyToPolyfillSymbol[f]=$jscomp.IS_SYMBOL_NATIVE? $jscomp.global.Symbol(f):$jscomp.POLYFILL_PREFIX+c+"$"+f),$jscomp.defineProperty(d,$jscomp.propertyToPolyfillSymbol[f],{configurable:!0,writable:!0,value:b})))};$jscomp.underscoreProtoCanBeSet=function(){var a={a:!0},b={};try{return b.__proto__=a,b.a}catch(c){}return!1}; $jscomp.setPrototypeOf=$jscomp.TRUST_ES6_POLYFILLS&&"function"==typeof Object.setPrototypeOf?Object.setPrototypeOf:$jscomp.underscoreProtoCanBeSet()?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null;$jscomp.generator={};$jscomp.generator.ensureIteratorResultIsObject_=function(a){if(!(a instanceof Object))throw new TypeError("Iterator result "+a+" is not an object");}; $jscomp.generator.Context=function(){this.isRunning_=!1;this.yieldAllIterator_=null;this.yieldResult=void 0;this.nextAddress=1;this.finallyAddress_=this.catchAddress_=0;this.finallyContexts_=this.abruptCompletion_=null};$jscomp.generator.Context.prototype.start_=function(){if(this.isRunning_)throw new TypeError("Generator is already running");this.isRunning_=!0};$jscomp.generator.Context.prototype.stop_=function(){this.isRunning_=!1}; $jscomp.generator.Context.prototype.jumpToErrorHandler_=function(){this.nextAddress=this.catchAddress_||this.finallyAddress_};$jscomp.generator.Context.prototype.next_=function(a){this.yieldResult=a};$jscomp.generator.Context.prototype.throw_=function(a){this.abruptCompletion_={exception:a,isException:!0};this.jumpToErrorHandler_()};$jscomp.generator.Context.prototype["return"]=function(a){this.abruptCompletion_={"return":a};this.nextAddress=this.finallyAddress_}; $jscomp.generator.Context.prototype.jumpThroughFinallyBlocks=function(a){this.abruptCompletion_={jumpTo:a};this.nextAddress=this.finallyAddress_};$jscomp.generator.Context.prototype.yield=function(a,b){this.nextAddress=b;return{value:a}};$jscomp.generator.Context.prototype.yieldAll=function(a,b){var c=$jscomp.makeIterator(a),d=c.next();$jscomp.generator.ensureIteratorResultIsObject_(d);if(d.done)this.yieldResult=d.value,this.nextAddress=b;else return this.yieldAllIterator_=c,this.yield(d.value,b)}; $jscomp.generator.Context.prototype.jumpTo=function(a){this.nextAddress=a};$jscomp.generator.Context.prototype.jumpToEnd=function(){this.nextAddress=0};$jscomp.generator.Context.prototype.setCatchFinallyBlocks=function(a,b){this.catchAddress_=a;void 0!=b&&(this.finallyAddress_=b)};$jscomp.generator.Context.prototype.setFinallyBlock=function(a){this.catchAddress_=0;this.finallyAddress_=a||0};$jscomp.generator.Context.prototype.leaveTryBlock=function(a,b){this.nextAddress=a;this.catchAddress_=b||0}; $jscomp.generator.Context.prototype.enterCatchBlock=function(a){this.catchAddress_=a||0;a=this.abruptCompletion_.exception;this.abruptCompletion_=null;return a};$jscomp.generator.Context.prototype.enterFinallyBlock=function(a,b,c){c?this.finallyContexts_[c]=this.abruptCompletion_:this.finallyContexts_=[this.abruptCompletion_];this.catchAddress_=a||0;this.finallyAddress_=b||0}; $jscomp.generator.Context.prototype.leaveFinallyBlock=function(a,b){var c=this.finallyContexts_.splice(b||0)[0];if(c=this.abruptCompletion_=this.abruptCompletion_||c){if(c.isException)return this.jumpToErrorHandler_();void 0!=c.jumpTo&&this.finallyAddress_<c.jumpTo?(this.nextAddress=c.jumpTo,this.abruptCompletion_=null):this.nextAddress=this.finallyAddress_}else this.nextAddress=a};$jscomp.generator.Context.prototype.forIn=function(a){return new $jscomp.generator.Context.PropertyIterator(a)}; $jscomp.generator.Context.PropertyIterator=function(a){this.object_=a;this.properties_=[];for(var b in a)this.properties_.push(b);this.properties_.reverse()};$jscomp.generator.Context.PropertyIterator.prototype.getNext=function(){for(;0<this.properties_.length;){var a=this.properties_.pop();if(a in this.object_)return a}return null};$jscomp.generator.Engine_=function(a){this.context_=new $jscomp.generator.Context;this.program_=a}; $jscomp.generator.Engine_.prototype.next_=function(a){this.context_.start_();if(this.context_.yieldAllIterator_)return this.yieldAllStep_(this.context_.yieldAllIterator_.next,a,this.context_.next_);this.context_.next_(a);return this.nextStep_()}; $jscomp.generator.Engine_.prototype.return_=function(a){this.context_.start_();var b=this.context_.yieldAllIterator_;if(b)return this.yieldAllStep_("return"in b?b["return"]:function(c){return{value:c,done:!0}},a,this.context_["return"]);this.context_["return"](a);return this.nextStep_()}; $jscomp.generator.Engine_.prototype.throw_=function(a){this.context_.start_();if(this.context_.yieldAllIterator_)return this.yieldAllStep_(this.context_.yieldAllIterator_["throw"],a,this.context_.next_);this.context_.throw_(a);return this.nextStep_()}; $jscomp.generator.Engine_.prototype.yieldAllStep_=function(a,b,c){try{var d=a.call(this.context_.yieldAllIterator_,b);$jscomp.generator.ensureIteratorResultIsObject_(d);if(!d.done)return this.context_.stop_(),d;var f=d.value}catch(e){return this.context_.yieldAllIterator_=null,this.context_.throw_(e),this.nextStep_()}this.context_.yieldAllIterator_=null;c.call(this.context_,f);return this.nextStep_()}; $jscomp.generator.Engine_.prototype.nextStep_=function(){for(;this.context_.nextAddress;)try{var a=this.program_(this.context_);if(a)return this.context_.stop_(),{value:a.value,done:!1}}catch(b){this.context_.yieldResult=void 0,this.context_.throw_(b)}this.context_.stop_();if(this.context_.abruptCompletion_){a=this.context_.abruptCompletion_;this.context_.abruptCompletion_=null;if(a.isException)throw a.exception;return{value:a["return"],done:!0}}return{value:void 0,done:!0}}; $jscomp.generator.Generator_=function(a){this.next=function(b){return a.next_(b)};this["throw"]=function(b){return a.throw_(b)};this["return"]=function(b){return a.return_(b)};this[Symbol.iterator]=function(){return this}};$jscomp.generator.createGenerator=function(a,b){var c=new $jscomp.generator.Generator_(new $jscomp.generator.Engine_(b));$jscomp.setPrototypeOf&&a.prototype&&$jscomp.setPrototypeOf(c,a.prototype);return c}; $jscomp.asyncExecutePromiseGenerator=function(a){function b(d){return a.next(d)}function c(d){return a["throw"](d)}return new Promise(function(d,f){function e(g){g.done?d(g.value):Promise.resolve(g.value).then(b,c).then(e,f)}e(a.next())})};$jscomp.asyncExecutePromiseGeneratorFunction=function(a){return $jscomp.asyncExecutePromiseGenerator(a())};$jscomp.asyncExecutePromiseGeneratorProgram=function(a){return $jscomp.asyncExecutePromiseGenerator(new $jscomp.generator.Generator_(new $jscomp.generator.Engine_(a)))}; (function(a,b,c,d){a.jQuery||(a=b.getElementsByTagName(c)[0]||b.getElementsByTagName("head")[0],b=b.createElement(c),b.type="text/javascript",b.src=d,a.parentNode.insertBefore(b,a))})(window,document,"script","https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"); (function(a,b,c,d){b.getElementById("avivid_css")||(a=b.getElementsByTagName("head")[0],b=b.createElement(c),b.id="avivid_css",b.type="text/css",b.rel="stylesheet",b.href=d,a.appendChild(b),b.addEventListener("load",function(){AviviD.status.avivid_css=1}))})(window,document,"link","https://avivid.likr.tw/avivid_css/avivid_pseudo_native_subscribe/avivid_pseudo_native_subscribe.css"); "undefined"===typeof UAParser&&function(a,b){var c={extend:function(h,m){var n={},t;for(t in h)n[t]=m[t]&&0===m[t].length%2?m[t].concat(h[t]):h[t];return n},has:function(h,m){return"string"===typeof h?-1!==m.toLowerCase().indexOf(h.toLowerCase()):!1},lowerize:function(h){return h.toLowerCase()},major:function(h){return"string"===typeof h?h.replace(/[^\d\.]/g,"").split(".")[0]:b},trim:function(h){return h.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},d=function(h,m){for(var n=0,t,x,y,p,z,u;n< m.length&&!z;){var A=m[n],B=m[n+1];for(t=x=0;t<A.length&&!z;)if(z=A[t++].exec(h))for(y=0;y<B.length;y++)u=z[++x],p=B[y],"object"===typeof p&&0<p.length?2==p.length?this[p[0]]="function"==typeof p[1]?p[1].call(this,u):p[1]:3==p.length?this[p[0]]="function"!==typeof p[1]||p[1].exec&&p[1].test?u?u.replace(p[1],p[2]):b:u?p[1].call(this,u,p[2]):b:4==p.length&&(this[p[0]]=u?p[3].call(this,u.replace(p[1],p[2])):b):this[p]=u?u:b;n+=2}},f=function(h,m){for(var n in m)if("object"===typeof m[n]&&0<m[n].length)for(var t= 0;t<m[n].length;t++){if(c.has(m[n][t],h))return"?"===n?b:n}else if(c.has(m[n],h))return"?"===n?b:n;return h},e={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2E3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},g={browser:[[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]+).+version\/([\w\.-]+)/i,/(opera).+version\/([\w\.]+)/i,/(opera)[\/\s]+([\w\.]+)/i],["name","version"],[/(opios)[\/\s]+([\w\.]+)/i],[["name","Opera Mini"],"version"], [/\s(opr)\/([\w\.]+)/i],[["name","Opera"],"version"],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]+)*/i,/(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?([\w\.]*)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(rekonq)\/([\w\.]+)*/i,/(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser)\/([\w\.-]+)/i],["name","version"],[/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i],[["name","IE"],"version"],[/(edge)\/((\d+)?[\w\.]+)/i],["name", "version"],[/(yabrowser)\/([\w\.]+)/i],[["name","Yandex"],"version"],[/(puffin)\/([\w\.]+)/i],[["name","Puffin"],"version"],[/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[["name","UCBrowser"],"version"],[/(comodo_dragon)\/([\w\.]+)/i],[["name",/_/g," "],"version"],[/(micromessenger)\/([\w\.]+)/i],[["name","WeChat"],"version"],[/(QQ)\/([\d\.]+)/i],["name","version"],[/m?(qqbrowser)[\/\s]?([\w\.]+)/i],["name","version"],[/xiaomi\/miuibrowser\/([\w\.]+)/i],["version",["name","MIUI Browser"]], [/;fbav\/([\w\.]+);/i],["version",["name","Facebook"]],[/(headlesschrome) ([\w\.]+)/i],["version",["name","Chrome Headless"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[["name",/(.+)/,"$1 WebView"],"version"],[/((?:oculus|samsung)browser)\/([\w\.]+)/i],[["name",/(.+(?:g|us))(.+)/,"$1 $2"],"version"],[/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i],["version",["name","Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],["name","version"],[/(dolfin)\/([\w\.]+)/i], [["name","Dolphin"],"version"],[/((?:android.+)crmo|crios)\/([\w\.]+)/i],[["name","Chrome"],"version"],[/(coast)\/([\w\.]+)/i],[["name","Opera Coast"],"version"],[/fxios\/([\w\.-]+)/i],["version",["name","Firefox"]],[/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i],["version",["name","Mobile Safari"]],[/version\/([\w\.]+).+?(mobile\s?safari|safari)/i],["version","name"],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],["name",["version",f,{"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416", "2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(konqueror)\/([\w\.]+)/i,/(webkit|khtml)\/([\w\.]+)/i],["name","version"],[/(navigator|netscape)\/([\w\.-]+)/i],[["name","Netscape"],"version"],[/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix)\/([\w\.-]+)/i,/(mozilla)\/([\w\.]+).+rv:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i, /(gobrowser)\/?([\w\.]+)*/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],["name","version"]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[["architecture","amd64"]],[/(ia32(?=;))/i],[["architecture",c.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[["architecture","ia32"]],[/windows\s(ce|mobile);\sppc;/i],[["architecture","arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[["architecture",/ower/,"",c.lowerize]],[/(sun4\w)[;\)]/i],[["architecture","sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+;))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i], [["architecture",c.lowerize]]],device:[[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i],["model","vendor",["type","tablet"]],[/applecoremedia\/[\w\.]+ \((ipad)/],["model",["vendor","Apple"],["type","tablet"]],[/(apple\s{0,1}tv)/i],[["model","Apple TV"],["vendor","Apple"]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad)/i,/(hp).+(tablet)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i],["vendor","model",["type","tablet"]],[/(kf[A-z]+)\sbuild\/[\w\.]+.*silk\//i], ["model",["vendor","Amazon"],["type","tablet"]],[/(sd|kf)[0349hijorstuw]+\sbuild\/[\w\.]+.*silk\//i],[["model",f,{"Fire Phone":["SD","KF"]}],["vendor","Amazon"],["type","mobile"]],[/\((ip[honed|\s\w*]+);.+(apple)/i],["model","vendor",["type","mobile"]],[/\((ip[honed|\s\w*]+);/i],["model",["vendor","Apple"],["type","mobile"]],[/(blackberry)[\s-]?(\w+)/i,/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]+)*/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i],["vendor", "model",["type","mobile"]],[/\(bb10;\s(\w+)/i],["model",["vendor","BlackBerry"],["type","mobile"]],[/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone)/i],["model",["vendor","Asus"],["type","tablet"]],[/(sony)\s(tablet\s[ps])\sbuild\//i,/(sony)?(?:sgp.+)\sbuild\//i],[["vendor","Sony"],["model","Xperia Tablet"],["type","tablet"]],[/android.+\s([c-g]\d{4}|so[-l]\w+)\sbuild\//i],["model",["vendor","Sony"],["type","mobile"]],[/\s(ouya)\s/i,/(nintendo)\s([wids3u]+)/i],["vendor","model", ["type","console"]],[/android.+;\s(shield)\sbuild/i],["model",["vendor","Nvidia"],["type","console"]],[/(playstation\s[34portablevi]+)/i],["model",["vendor","Sony"],["type","console"]],[/(sprint\s(\w+))/i],[["vendor",f,{HTC:"APA",Sprint:"Sprint"}],["model",f,{"Evo Shift 4G":"7373KT"}],["type","mobile"]],[/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i],["vendor","model",["type","tablet"]],[/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i,/(zte)-(\w+)*/i,/(alcatel|geeksphone|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]+)*/i], ["vendor",["model",/_/g," "],["type","mobile"]],[/(nexus\s9)/i],["model",["vendor","HTC"],["type","tablet"]],[/d\/huawei([\w\s-]+)[;\)]/i,/(nexus\s6p)/i],["model",["vendor","Huawei"],["type","mobile"]],[/(microsoft);\s(lumia[\s\w]+)/i],["vendor","model",["type","mobile"]],[/[\s\(;](xbox(?:\sone)?)[\s\);]/i],["model",["vendor","Microsoft"],["type","console"]],[/(kin\.[onetw]{3})/i],[["model",/\./g," "],["vendor","Microsoft"],["type","mobile"]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?(:?\s4g)?)[\w\s]+build\//i, /mot[\s-]?(\w+)*/i,/(XT\d{3,4}) build\//i,/(nexus\s6)/i],["model",["vendor","Motorola"],["type","mobile"]],[/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],["model",["vendor","Motorola"],["type","tablet"]],[/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[["vendor",c.trim],["model",c.trim],["type","smarttv"]],[/hbbtv.+maple;(\d+)/i],[["model",/^/,"SmartTV"],["vendor","Samsung"],["type","smarttv"]],[/\(dtv[\);].+(aquos)/i],["model",["vendor","Sharp"],["type","smarttv"]],[/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i, /((SM-T\w+))/i],[["vendor","Samsung"],"model",["type","tablet"]],[/smart-tv.+(samsung)/i],["vendor",["type","smarttv"],"model"],[/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i,/(sam[sung]*)[\s-]*(\w+-?[\w-]*)*/i,/sec-((sgh\w+))/i],[["vendor","Samsung"],"model",["type","mobile"]],[/sie-(\w+)*/i],["model",["vendor","Siemens"],["type","mobile"]],[/(maemo|nokia).*(n900|lumia\s\d+)/i,/(nokia)[\s_-]?([\w-]+)*/i],[["vendor","Nokia"],"model",["type","mobile"]],[/android\s3\.[\s\w;-]{10}(a\d{3})/i], ["model",["vendor","Acer"],["type","tablet"]],[/android.+([vl]k\-?\d{3})\s+build/i],["model",["vendor","LG"],["type","tablet"]],[/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i],[["vendor","LG"],"model",["type","tablet"]],[/(lg) netcast\.tv/i],["vendor","model",["type","smarttv"]],[/(nexus\s[45])/i,/lg[e;\s\/-]+(\w+)*/i,/android.+lg(\-?[\d\w]+)\s+build/i],["model",["vendor","LG"],["type","mobile"]],[/android.+(ideatab[a-z0-9\-\s]+)/i],["model",["vendor","Lenovo"],["type","tablet"]],[/linux;.+((jolla));/i], ["vendor","model",["type","mobile"]],[/((pebble))app\/[\d\.]+\s/i],["vendor","model",["type","wearable"]],[/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i],["vendor","model",["type","mobile"]],[/crkey/i],[["model","Chromecast"],["vendor","Google"]],[/android.+;\s(glass)\s\d/i],["model",["vendor","Google"],["type","wearable"]],[/android.+;\s(pixel c)\s/i],["model",["vendor","Google"],["type","tablet"]],[/android.+;\s(pixel xl|pixel)\s/i],["model",["vendor","Google"],["type","mobile"]],[/android.+(\w+)\s+build\/hm\1/i, /android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i,/android.+(mi[\s\-_]*(?:one|one[\s_]plus|note lte)?[\s_]*(?:\d\w)?)\s+build/i],[["model",/_/g," "],["vendor","Xiaomi"],["type","mobile"]],[/android.+;\s(m[1-5]\snote)\sbuild/i],["model",["vendor","Meizu"],["type","tablet"]],[/android.+a000(1)\s+build/i],["model",["vendor","OnePlus"],["type","mobile"]],[/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i],["model",["vendor","RCA"],["type","tablet"]],[/android.+[;\/]\s*(Venue[\d\s]*)\s+build/i],["model",["vendor", "Dell"],["type","tablet"]],[/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i],["model",["vendor","Verizon"],["type","tablet"]],[/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i],[["vendor","Barnes & Noble"],"model",["type","tablet"]],[/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i],["model",["vendor","NuVision"],["type","tablet"]],[/android.+[;\/]\s*(zte)?.+(k\d{2})\s+build/i],[["vendor","ZTE"],"model",["type","tablet"]],[/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i],["model",["vendor","Swiss"], ["type","mobile"]],[/android.+[;\/]\s*(zur\d{3})\s+build/i],["model",["vendor","Swiss"],["type","tablet"]],[/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i],["model",["vendor","Zeki"],["type","tablet"]],[/(android).+[;\/]\s+([YR]\d{2}x?.*)\s+build/i,/android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(.+)\s+build/i],[["vendor","Dragon Touch"],"model",["type","tablet"]],[/android.+[;\/]\s*(NS-?.+)\s+build/i],["model",["vendor","Insignia"],["type","tablet"]],[/android.+[;\/]\s*((NX|Next)-?.+)\s+build/i],["model", ["vendor","NextBook"],["type","tablet"]],[/android.+[;\/]\s*(Xtreme_?)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i],[["vendor","Voice"],"model",["type","mobile"]],[/android.+[;\/]\s*(LVTEL\-?)?(V1[12])\s+build/i],[["vendor","LvTel"],"model",["type","mobile"]],[/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i],["model",["vendor","Envizen"],["type","tablet"]],[/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(.*\b)\s+build/i],["vendor","model",["type","tablet"]],[/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i], ["model",["vendor","MachSpeed"],["type","tablet"]],[/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i],["vendor","model",["type","tablet"]],[/android.+[;\/]\s*TU_(1491)\s+build/i],["model",["vendor","Rotor"],["type","tablet"]],[/android.+(KS(.+))\s+build/i],["model",["vendor","Amazon"],["type","tablet"]],[/android.+(Gigaset)[\s\-]+(Q.+)\s+build/i],["vendor","model",["type","tablet"]],[/\s(tablet|tab)[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[["type",c.lowerize],"vendor","model"],[/(android.+)[;\/].+build/i], ["model",["vendor","Generic"]]],engine:[[/windows.+\sedge\/([\w\.]+)/i],["version",["name","EdgeHTML"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],["name","version"],[/rv:([\w\.]+).*(gecko)/i],["version","name"]],os:[[/microsoft\s(windows)\s(vista|xp)/i],["name","version"],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s]+\w)*/i,/(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i], ["name",["version",f,e]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[["name","Windows"],["version",f,e]],[/\((bb)(10);/i],[["name","BlackBerry"],"version"],[/(blackberry)\w*\/?([\w\.]+)*/i,/(tizen)[\/\s]([\w\.]+)/i,/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|contiki)[\/\s-]?([\w\.]+)*/i,/linux;.+(sailfish);/i],["name","version"],[/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]+)*/i],[["name","Symbian"],"version"],[/\((series40);/i],["name"],[/mozilla.+\(mobile;.+gecko.+firefox/i],[["name", "Firefox OS"],"version"],[/(nintendo|playstation)\s([wids34portablevu]+)/i,/(mint)[\/\s\(]?(\w+)*/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|[open]*suse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]+)*/i,/(hurd|linux)\s?([\w\.]+)*/i,/(gnu)\s?([\w\.]+)*/i],["name","version"],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[["name","Chromium OS"],"version"],[/(sunos)\s?([\w\.]+\d)*/i],[["name","Solaris"],"version"],[/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]+)*/i], ["name","version"],[/(haiku)\s(\w+)/i],["name","version"],[/cfnetwork\/.+darwin/i,/ip[honead]+(?:.*os\s([\w]+)*\slike\smac|;\sopera)/i],[["version",/_/g,"."],["name","iOS"]],[/(mac\sos\sx)\s?([\w\s\.]+\w)*/i,/(macintosh|mac(?=_powerpc)\s)/i],[["name","Mac OS"],["version",/_/g,"."]],[/((?:open)?solaris)[\/\s-]?([\w\.]+)*/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.]*)*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms)/i,/(unix)\s?([\w\.]+)*/i],["name","version"]]},k=function(h,m){this.name=h;this.version= m},r=function(h){this.architecture=h},q=function(h,m,n){this.vendor=h;this.model=m;this.type=n},l=function(h,m){"object"===typeof h&&(m=h,h=b);if(!(this instanceof l))return(new l(h,m)).getResult();var n=h||(a&&a.navigator&&a.navigator.userAgent?a.navigator.userAgent:""),t=m?c.extend(g,m):g,x=new k,y=new r,p=new q,z=new k,u=new k;this.getBrowser=function(){d.call(x,n,t.browser);x.major=c.major(x.version);return x};this.getCPU=function(){d.call(y,n,t.cpu);return y};this.getDevice=function(){d.call(p, n,t.device);return p};this.getEngine=function(){d.call(z,n,t.engine);return z};this.getOS=function(){d.call(u,n,t.os);return u};this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}};this.getUA=function(){return n};this.setUA=function(A){n=A;x=new k;y=new r;p=new q;z=new k;u=new k;return this};return this};l.VERSION="0.7.14";l.BROWSER={NAME:"name",MAJOR:"major",VERSION:"version"};l.CPU={ARCHITECTURE:"architecture"}; l.DEVICE={MODEL:"model",VENDOR:"vendor",TYPE:"type",CONSOLE:"console",MOBILE:"mobile",SMARTTV:"smarttv",TABLET:"tablet",WEARABLE:"wearable",EMBEDDED:"embedded"};l.ENGINE={NAME:"name",VERSION:"version"};l.OS={NAME:"name",VERSION:"version"};"undefined"!==typeof exports?("undefined"!==typeof module&&module.exports&&(exports=module.exports=l),exports.UAParser=l):"function"===typeof define&&define.amd?a.UAParser=l:a&&(a.UAParser=l);var v=a&&(a.jQuery||a.Zepto);if("undefined"!==typeof v){var w=new l;v.ua= w.getResult();v.ua.get=function(){return w.getUA()};v.ua.set=function(h){w.setUA(h);h=w.getResult();for(var m in h)v.ua[m]=h[m]}}}("object"===typeof window?window:this); window.AviviD&&!document.querySelector("#web_push, #avivid_push_banner")&&(AviviD.version="v7.3.2101270001",AviviD.status.debug=window.avivid_debug||0,AviviD.avivid_regid=window.avivid_regid||"_",AviviD.status.avivid_regid=AviviD.avivid_regid,AviviD.avivid_tag=window.avivid_tag||"_",AviviD.status.avivid_tag=AviviD.avivid_tag,AviviD.UAParser=new UAParser,AviviD.UAResult=AviviD.UAParser.getResult(),AviviD.allow_new_onpage_category_id=["20200309000002","20191211000001","20190816000003","20201026000001"], AviviD.same_domain_list=["20170531000006"],AviviD.construct=function(a){window.jQuery&&!AviviD.empty(AviviD.uuid)?a():window.jQuery&&"iOS"==AviviD.detect_browser_type()?a():setTimeout(function(){AviviD.construct(a)},50)},AviviD.main=function(){AviviD.set_is_likr();AviviD.str_os_type=AviviD.detect_os_type();AviviD.int_os_type=AviviD.trans_os_type_to_number(AviviD.str_os_type);AviviD.str_browser_type=AviviD.detect_browser_type();AviviD.int_browser_type=AviviD.trans_browser_type_to_number(AviviD.str_browser_type); AviviD.webuserid=AviviD.get_webuserid();AviviD.client_href=encodeURIComponent(window.location.href);AviviD.ajax_data={web_id:AviviD.web_id,category_id:AviviD.category_id,uuid:AviviD.uuid,webuserid:AviviD.webuserid,os_type:AviviD.int_os_type,browser_type:AviviD.int_browser_type,client_href:window.location.href,version:AviviD.version};AviviD.geolocation={latitude:null,longitude:null,get_interval:1E4};AviviD.get_website_info();AviviD.onpage_flow();AviviD.token_uuid_mapping();if("bogoto"==AviviD.web_id&& ("b0ff7bc7-87ae-4f6c-808e-f7c912900369"==AviviD.uuid||"a2d95264-053f-447e-bfe5-8cf7537ed862"==AviviD.uuid)){var a={web_id:AviviD.web_id,uuid:AviviD.uuid,webuserid:AviviD.webuserid,already_exist:null!=AviviD.get_cookie("AviviD_already_exist")?AviviD.get_cookie("AviviD_already_exist"):0,already_show_sub:null!=AviviD.get_cookie("AviviD_show_sub")?AviviD.get_cookie("AviviD_show_sub"):0,client_href:window.location.href};jQuery.ajax({url:"https://subscribe.likr.com.tw/api/receive_log.php",xhrFields:{withCredentials:!1}, type:"POST",data:a,dataType:"json",success:function(b){AviviD.console(b)},error:function(b,c,d){AviviD.console("xhr :",b);AviviD.console("ajaxOptions :",c);AviviD.console("thrownError :",d);AviviD.console("status code : "+b.status+" , ajaxOptions : "+c)}})}},AviviD.load_aws=function(){if(void 0==AviviD.aws_loaded){var a=document.getElementsByTagName("script")[0]||document.getElementsByTagName("head")[0],b=document.createElement("script");b.type="text/javascript";b.src="https://avivid.likr.tw/sample/aws-sdk-AviviD-min-1.000.3.js"; a.parentNode.insertBefore(b,a);AviviD.aws_loaded=1}},AviviD.onpage_flow=function(){AviviD.settings.native_enable?(AviviD.time_setting(),jQuery(document).ready(function(){AviviD.get_article_title()}),AviviD.waterfall_ready(0),null!=AviviD.get_cookie("AviviD_already_exist")&&AviviD.compensation()):setTimeout(function(){AviviD.onpage_flow()},500)},AviviD.waterfall_ready=function(a){if("function"===typeof AviviD.waterfall_enable)AviviD.waterfall_enable();else{if(100<a)return 0;setTimeout(function(){AviviD.waterfall_ready(a+ 1)},100)}},AviviD.time_setting=function(){AviviD.in_time=(new Date).getTime();AviviD.timestamp=0;AviviD.settings.before_page_timer=5;AviviD.settings.mandatory_before_page_timer=20;AviviD.timeout="NaN"!=parseFloat(AviviD.settings.onpage_timeout_cycle).toString()?1E3*AviviD.settings.onpage_timeout_cycle:5E4;AviviD.timeOut={landing:"NaN"!=parseFloat(AviviD.settings.onpage_timeout_first).toString()?AviviD.settings.onpage_timeout_first:50,browsing:"NaN"!=parseFloat(AviviD.settings.onpage_timeout_cycle).toString()? AviviD.settings.onpage_timeout_cycle:50,ad_banner:"NaN"!=parseFloat(AviviD.settings.ad_banner_timer).toString()?AviviD.settings.ad_banner_timer:10,before_page:"NaN"!=parseFloat(AviviD.settings.before_page_timer).toString()?AviviD.settings.before_page_timer:60,mandatory_before_page:"NaN"!=parseFloat(AviviD.settings.mandatory_before_page_timer).toString()?AviviD.settings.mandatory_before_page_timer:60};AviviD.received=0;AviviD.start_browse=0;AviviD.adaptive_timer=0;-1!=AviviD.allow_new_onpage_category_id.indexOf(AviviD.category_id)&& setInterval(function(){AviviD.adaptive_timer++;AviviD.onpage_debug_mode&&(console.log("\u52d5\u614b\u7e3d\u6642\u9593counting:"+AviviD.adaptive_timer),jQuery("#onpage_seesion_time").text("\u4f7f\u7528\u8005session\u6642\u9593:"+AviviD.adaptive_timer),jQuery("#onpage_received").text("likr_timer \u5012\u6578\u52300\u7684\u6b21\u6578:"+AviviD.likrTimer.timesUp_times))},1E3);AviviD.adaptive_timer_start=0;AviviD.adaptive_timer_end=0;AviviD.adaptive_tap_count=0;AviviD.adaptive_flag=0;AviviD.likrTimer={isScrolling:"", event_arr:[],timesUp_times:0,init:function(){AviviD.likr_timer=parseInt(AviviD.timeOut.landing);AviviD.likr_timer_ad_banner=AviviD.timeOut.ad_banner;AviviD.likr_timer_before_page=AviviD.timeOut.before_page;AviviD.likr_timer_mandatory_before_page=AviviD.timeOut.mandatory_before_page;setTimeout(function(){if(-1!=AviviD.allow_new_onpage_category_id.indexOf(AviviD.category_id)&&1==AviviD.settings.adaptive_push)console.log("AviviD.likrTimer\u521d\u59cb\u5316\u6e96\u5099\u5075\u6e2c\u4f7f\u7528\u8005\u52d5\u4f5c"), jQuery("#onpage_status").text("AviviD.likrTimer\u521d\u59cb\u5316\u6e96\u5099\u5075\u6e2c\u4f7f\u7528\u8005\u52d5\u4f5c"),AviviD.likrTimer.isTouchDevice()?(this.event_arr=["touchend"],jQuery("#is_touch_device").text("\u53ef\u652f\u63f4\u89f8\u78b0\u7684\u88dd\u7f6e\u5c07\u63a1\u7528: touchend")):(this.event_arr=["click","scroll","keydown"],jQuery("#is_touch_device").text("\u4e0d\u652f\u63f4\u89f8\u78b0\u7684\u88dd\u7f6e\u5c07\u63a1\u7528: click,scroll,keydown")),this.event_arr.forEach(function(a){return AviviD.likrTimer.bindAdaptiveEvent(a)}); else jQuery(window).on("keydown mousemove mousedown scroll",function(a){AviviD.likr_timer=AviviD.received%2?parseInt(AviviD.timeOut.browsing):parseInt(AviviD.timeOut.landing);AviviD.likr_timer_ad_banner=AviviD.timeOut.ad_banner;AviviD.likr_timer_before_page=AviviD.timeOut.before_page;AviviD.likr_timer_mandatory_before_page=AviviD.timeOut.mandatory_before_page})},1500)},native_init:function(a,b){b=void 0===b?null:b;jQuery(window).on("keydown mousemove mousedown scroll",function(c){0==AviviD.start_browse&& (AviviD.likrTimer.intervalTrigger(a,b),AviviD.start_browse=1,jQuery(this).unbind(c))})},resetTime:function(){AviviD.likr_timer=AviviD.received%2?parseInt(AviviD.timeOut.browsing):parseInt(AviviD.timeOut.landing);AviviD.likr_timer_ad_banner=AviviD.timeOut.ad_banner;AviviD.likr_timer_before_page=AviviD.timeOut.before_page;AviviD.likr_timer_mandatory_before_page=AviviD.timeOut.mandatory_before_page},intervalTrigger_ad_banner:function(a,b){b=void 0===b?null:b;AviviD.likrTimer.clearTimer_ad_banner();AviviD.intervalTimeoutId_ad_banner= setInterval(function(){AviviD.likr_timer_ad_banner--;0==AviviD.likr_timer_ad_banner&&(a(b),AviviD.likrTimer.clearTimer_ad_banner())},1E3)},intervalTrigger_before_page:function(a,b){b=void 0===b?null:b;AviviD.likrTimer.clearTimer_before_page();AviviD.intervalTimeoutId_before_page=setInterval(function(){AviviD.likr_timer_before_page--;0==AviviD.likr_timer_before_page&&(a(b),AviviD.likrTimer.clearTimer_before_page())},1E3)},intervalTrigger_mandatory_before_page:function(a,b){b=void 0===b?null:b;AviviD.likrTimer.clearTimer_mandatory_before_page(); AviviD.intervalTimeoutId_mandatory_before_page=setInterval(function(){AviviD.likr_timer_mandatory_before_page--;0==AviviD.likr_timer_mandatory_before_page&&(a(b),AviviD.likrTimer.clearTimer_mandatory_before_page())},1E3)},intervalTrigger:function(a,b){b=void 0===b?null:b;AviviD.likrTimer.clearTimer();AviviD.intervalTimeoutId=setInterval(function(){AviviD.likr_timer--;0==AviviD.likr_timer&&(AviviD.likrTimer.timesUp_times++,a(b))},1E3)},clearTimer_ad_banner:function(){"undefined"!=AviviD.intervalTimeoutId_ad_banner&& clearTimeout(AviviD.intervalTimeoutId_ad_banner)},clearTimer_before_page:function(){"undefined"!=AviviD.likr_timer_before_page&&clearTimeout(AviviD.likr_timer_before_page)},clearTimer_mandatory_before_page:function(){"undefined"!=AviviD.likr_timer_mandatory_before_page&&clearTimeout(AviviD.likr_timer_mandatory_before_page)},clearTimer:function(){"undefined"!=AviviD.intervalTimeoutId&&clearTimeout(AviviD.intervalTimeoutId)},adaptiveRange:function(a){return 2>=a?10:4>=a?12:6>=a?14:8>=a?16:30},bindAdaptiveEvent:function(a){"scroll"== a?window.addEventListener(a,function(b){window.clearTimeout(AviviD.likrTimer.isScrolling);AviviD.likrTimer.isScrolling=setTimeout(function(){console.log("\u6ed1\u52d5\u505c\u6b62\u4e86");AviviD.likrTimer.likrTimerAssign()},66)},!1):window.addEventListener(a,AviviD.likrTimer.likrTimerAssign)},likrTimerAssign:function(){AviviD.adaptive_tap_count++;AviviD.likr_timer=AviviD.received%2?parseInt(AviviD.timeOut.browsing):parseInt(AviviD.timeOut.landing);AviviD.likr_timer_ad_banner=AviviD.timeOut.ad_banner; AviviD.likr_timer_before_page=AviviD.timeOut.before_page;AviviD.likr_timer_mandatory_before_page=AviviD.timeOut.mandatory_before_page;1==AviviD.adaptive_tap_count?(AviviD.adaptive_timer_end=AviviD.adaptive_timer,AviviD.adaptive_flag=0):(AviviD.adaptive_timer_start=AviviD.adaptive_timer_end,AviviD.adaptive_timer_end=AviviD.adaptive_timer,AviviD.adaptive_flag=1);1>AviviD.likrTimer.timesUp_times?(AviviD.likr_timer=AviviD.likrTimer.adaptiveRange(AviviD.adaptive_timer_end-AviviD.adaptive_timer_start), 1==AviviD.onpage_debug_mode&&(console.log("\u4f7f\u7528\u8005\u6d3b\u52d5\u4e2d\uff0c\u63a1\u7528\u52d5\u614b\u5f48\u5e55"),jQuery("#onpage_status").text("\u4f7f\u7528\u8005\u958b\u59cb\u6d3b\u52d5\uff0c\u63a1\u7528\u52d5\u614b\u5f48\u5e55"),console.log("\u4f7f\u7528\u8005\u89f8\u78b0\u6642\u9593\u5dee:"+(AviviD.adaptive_timer_end-AviviD.adaptive_timer_start)),jQuery("#user_time_range").text("\u4f7f\u7528\u8005\u89f8\u78b0\u6642\u9593\u5dee:"+(AviviD.adaptive_timer_end-AviviD.adaptive_timer_start)), console.log("onpage\u52d5\u614b\u6642\u9593\u70ba:"+AviviD.likr_timer),jQuery("#onpage_activity_time").text("onpage\u52d5\u614b\u6642\u9593\u70ba:"+AviviD.likr_timer))):(1==AviviD.onpage_debug_mode&&console.log("\u5df2\u8df3\u51fa\u904eonpage\uff0c\u4e0d\u518d\u8df3\u51fa"),AviviD.likr_timer=-1)},isTouchDevice:function(){return"ontouchstart"in window||0<navigator.maxTouchPoints||0<navigator.msMaxTouchPoints},test:{contentNone:function(){if("undefined"==typeof document.getElementsByTagName("h1")[1]){var a= document.createElement("h1");a.innerHTML="\u5ee3\u544a\u9810\u7b97\u5df2\u4f7f\u7528\u5b8c\u7562\uff0c\u6c92\u6709\u5ee3\u544a\u7d20\u6750\u986f\u793a";var b=document.getElementsByTagName("h1")[0];b.parentNode.insertBefore(a,b.nextSibling)}else document.getElementsByTagName("h1")[1].innerHTML="\u5ee3\u544a\u9810\u7b97\u5df2\u4f7f\u7528\u5b8c\u7562\uff0c\u6c92\u6709\u5ee3\u544a\u7d20\u6750\u986f\u793a"},countDown:function(){"undefined"==typeof jQuery("html>h1").html()?jQuery("html").prepend("<h1>\u63a8\u64ad\u5012\u6578: "+ AviviD.likr_timer+"</h1>"):0<=AviviD.likr_timer?document.getElementsByTagName("h1")[0].innerHTML="\u63a8\u64ad\u5012\u6578: "+AviviD.likr_timer:document.getElementsByTagName("h1")[0].innerHTML="\u89f8\u78b0\u87a2\u5e55\u6216</br>\u5c07\u6ed1\u9f20\u79fb\u52d5\u5230\u8996\u7a97\u5167\uff0c</br>\u4f7f\u63a8\u64ad\u958b\u59cb\u91cd\u65b0\u5012\u6578\u3002"},pushSuccess:function(){if("undefined"==typeof document.getElementsByTagName("h1")[1]){var a=document.createElement("h1");a.innerHTML="\u63a8\u64ad"; var b=document.getElementsByTagName("h1")[0];b.parentNode.insertBefore(a,b.nextSibling)}else document.getElementsByTagName("h1")[1].innerHTML="\u63a8\u64ad"}}}},AviviD.get_article_title=function(){AviviD.settings.payment_selector="pixnet"==AviviD.web_id?void 0!=document.body.dataset.articleId?"#article-"+document.body.dataset.articleId+" > h2 > a":"_":AviviD.detect_is_mobile(AviviD.str_os_type)?AviviD.settings.payment_selector_m:AviviD.settings.payment_selector;null!==document.querySelector("meta[property='og:title']")? AviviD.title=document.querySelector("meta[property='og:title']").getAttribute("content"):null!==document.querySelector("title")?AviviD.title=document.querySelector("title").innerHTML:null!==document.querySelector(AviviD.settings.payment_selector)?AviviD.title=document.querySelector(AviviD.settings.payment_selector).innerHTML:AviviD.title="_";return AviviD.title},AviviD.get_urlparam=function(a){a=new RegExp("(^|&)"+a+"=([^&]*)(&|$)");a=window.location.search.substr(1).match(a);return null!=a?unescape(a[2]): null},AviviD.get_uuid=function(){AviviD.status.is_new_user_uuid="0";if(AviviD.get_urlparam("likr_id"))try{var a=window.atob(AviviD.get_urlparam("likr_id"));AviviD.set_cookie("AviviD_uuid",a);AviviD.set_cookie("uuid",a);AviviD.status.is_new_user_uuid="1";AviviD.uuid=a}catch(d){AviviD.set_cookie("AviviD_uuid","")}var b=AviviD.get_cookie("AviviD_uuid");if(AviviD.empty(b)){a=AviviD.detect_browser_type();var c=-1!=document.cookie.indexOf("hasCookiePermission=true");if("iOS"!=a&&"Safari"!=a||c)window.addEventListener("message", function(d){AviviD.uuid_origin=d.origin;if("https://auto-load-balancer.likr.com.tw"===AviviD.uuid_origin){d=null===d.data?AviviD.get_ios_uuid():d.data;AviviD.set_cookie("AviviD_uuid",d);AviviD.status.is_new_user_uuid="1";AviviD.uuid=d;var f=document.createElement("iframe");f.id="AviviD_ad_uuid_iframe";f.src="https://sun.advividnetwork.com/include_code/uuid_iframe.html?uuid="+d;f.style="display:none";document.body&&(document.body.appendChild(f),document.getElementById("AviviD_ad_uuid_iframe").style.display= "none");AviviD.set_cookie("AviviD_refresh_uuid_status",1)}},!1),a=document.createElement("iframe"),a.id="AviviD_likr_uuid_iframe",a.src="https://auto-load-balancer.likr.com.tw/pushEndPoint/uuid_gen/uuid_iframe.php",a.style="display:none",document.body?(document.body.appendChild(a),a=document.getElementById("AviviD_likr_uuid_iframe"),a.style.display="none"):setTimeout(function(){AviviD.get_uuid()},500);else return uuid=AviviD.get_ios_uuid(),AviviD.set_cookie("AviviD_uuid",uuid),AviviD.uuid=uuid}else return!AviviD.empty(AviviD.web_id)&& (a=AviviD.get_cookie("AviviD_refresh_uuid_status"),AviviD.empty(a)||1==a)&&(window.addEventListener("message",function(d){AviviD.uuid_origin=d.origin;if("https://auto-load-balancer.likr.com.tw"===AviviD.uuid_origin){d=null===d.data?AviviD.get_ios_uuid():d.data;AviviD.set_cookie("AviviD_uuid",d);AviviD.status.is_new_user_uuid="1";b=AviviD.uuid=d;var f=document.createElement("iframe");f.id="AviviD_ad_uuid_iframe";f.src="https://sun.advividnetwork.com/include_code/uuid_iframe.html?uuid="+d;f.style="display:none"; document.body&&(document.body.appendChild(f),document.getElementById("AviviD_ad_uuid_iframe").style.display="none");AviviD.set_cookie("AviviD_refresh_uuid_status",2)}},!1),a=document.createElement("iframe"),a.id="AviviD_likr_uuid_iframe",a.src="https://auto-load-balancer.likr.com.tw/pushEndPoint/uuid_gen/uuid_iframe.php",a.style="display:none",document.body?(document.body.appendChild(a),a=document.getElementById("AviviD_likr_uuid_iframe"),a.style.display="none"):setTimeout(function(){AviviD.get_uuid()}, 500)),b},AviviD.get_ios_uuid=function(){var a=function(){var c=Date.now();"undefined"!==typeof performance&&"function"===typeof performance.now&&(c+=performance.now());return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(d){var f=(c+16*Math.random())%16|0;c=Math.floor(c/16);return("x"===d?f:f&3|8).toString(16)})},b="";AviviD.status.is_new_user_ios_uuid="0";null==AviviD.get_cookie("AviviD_ios_uuid")?null==localStorage.getItem("AviviD_ios_uuid")?(b=a(),AviviD.status.is_new_user_ios_uuid= "1"):b=localStorage.getItem("AviviD_ios_uuid"):b=AviviD.get_cookie("AviviD_ios_uuid");AviviD.set_cookie("AviviD_ios_uuid",b);localStorage.setItem("AviviD_ios_uuid",b);return b},AviviD.merge_uuid=function(){if(AviviD.uuid&&AviviD.clientIP){var a=new URL(window.location.href);AviviD.AviviD_main_uuid=a.searchParams.get("AviviD_main_uuid")?a.searchParams.get("AviviD_main_uuid"):a.searchParams.get("avivid_main_uuid");var b=AviviD.get_cookie("AviviD_main_uuid");a=AviviD.empty(AviviD.get_cookie("_fbp"))? "_":AviviD.get_cookie("_fbp");var c=AviviD.empty(AviviD.get_cookie("_gid"))?"_":AviviD.get_cookie("_gid");AviviD.empty(AviviD.AviviD_main_uuid)||(AviviD.empty(b)?AviviD.set_cookie("AviviD_main_uuid",AviviD.AviviD_main_uuid):b!=AviviD.AviviD_main_uuid&&AviviD.set_cookie("AviviD_main_uuid",AviviD.AviviD_main_uuid));AviviD.empty(AviviD.AviviD_main_uuid)||1>=AviviD.AviviD_main_uuid.length||(b=location.href.split("&AviviD_main_uuid"),history.replaceState(history.state,"",b[0]),AviviD.param_dict={AviviD_main_uuid:AviviD.AviviD_main_uuid, web_id:AviviD.web_id,web_uuid:AviviD.uuid,os_name:AviviD.UAResult.os.name,browser_name:AviviD.UAResult.browser.name,os_ver:AviviD.UAResult.os.version,browser_ver:AviviD.UAResult.browser.version,uagent:AviviD.UAResult.ua,addr:AviviD.clientIP,fb_id:a,ga_id:c,language:(navigator.language||navigator.browserLanguage).toLowerCase()},AviviD.process_send_uuid=function(){for(var d=$jscomp.makeIterator(Object.entries(AviviD.param_dict)),f=d.next();!f.done;f=d.next()){var e=$jscomp.makeIterator(f.value);f=e.next().value; e=e.next().value;"string"==typeof e&&(v1=e.replace(/ /g,"-"),AviviD.param_dict[f]=v1.replace(/\//g,"_"))}jQuery.ajax({url:"https://asia-east1-hd-crescent.cloudfunctions.net/get_url_ID?AviviD_main_uuid="+AviviD.param_dict.AviviD_main_uuid+"&web_id="+AviviD.param_dict.web_id+"&web_uuid="+AviviD.param_dict.web_uuid+"&os_name="+AviviD.param_dict.os_name+"&browser_name="+AviviD.param_dict.browser_name+"&os_ver="+AviviD.param_dict.os_ver+"&browser_ver="+AviviD.param_dict.browser_ver+"&ip_addr="+AviviD.param_dict.addr+ "&uagent="+AviviD.param_dict.uagent+"&fb_id="+AviviD.param_dict.fb_id+"&ga_id="+AviviD.param_dict.ga_id+"&language="+AviviD.param_dict.language,xhrFields:{withCredentials:!1},method:"GET",dataType:"json",success:function(g){console.log(g)},error:function(g){console.log(g)}})},AviviD.process_send_uuid())}else setTimeout(function(){AviviD.merge_uuid()},1E3)},AviviD.get_webuserid=function(){var a=AviviD.get_cookie("webuserid");AviviD.status.is_new_user_webuserid="0";a||(a=AviviD.gen_webuserid(),AviviD.set_cookie("webuserid", a),AviviD.status.is_new_user_webuserid="1");return a},AviviD.gen_webuserid=function(){var a=function(){return(65536*(1+Math.random())|0).toString(16).substring(1)};return a()+a()+"-"+a()+"-"+a()+"-"+a()+"-"+a()+a()+a()},AviviD.get_website_info=function(){JSON.stringify(AviviD.ajax_data);var a="https://avivid.likr.tw/settings_file_json/"+AviviD.category_id+".json";jQuery.ajax({type:"GET",url:a,xhrFields:{withCredentials:!1},cache:!0,dataType:"json",success:function(b){"_"==b.sender_id&&(b.sender_id= "912321621860");AviviD.status.get_website_info="1";AviviD.loadScript("https://avividone.likr.tw/killswitch/killswitch_config.js");"1"==AviviD.status.get_website_info?(AviviD.settings.is_aws=b.is_aws,AviviD.settings.is_crescent=b.is_crescent,AviviD.settings.icon_path=b.icon_path,AviviD.settings.string_ring_icon=b.ring_icon,AviviD.settings.sw_type=b.sw_type,AviviD.settings.channel_id=b.channel_id,AviviD.settings.push_banner_data_title=b.banner_title,AviviD.settings.push_banner_data_content=b.banner_content, AviviD.settings.banner_button_allow=b.banner_button_allow,AviviD.settings.banner_button_deny=b.banner_button_deny,AviviD.settings.push_banner_data_interval=b.banner_interval_mins,AviviD.settings.push_banner_data_position=b.banner_position,AviviD.settings.ring_position_top=b.ring_position_top,AviviD.settings.ring_position_bottom=b.ring_position_bottom,AviviD.settings.ring_position_left=b.ring_position_left,AviviD.settings.ring_position_right=b.ring_position_right,AviviD.settings.show_ring_after_subscribed= b.ring_display,AviviD.settings.show_ring=b.show_ring,AviviD.settings.ring_size_height=b.ring_size_height,AviviD.settings.ring_size_width=b.ring_size_width,AviviD.settings.banner_allow_btn=b.banner_allow_btn,AviviD.settings.banner_cancel_btn=b.banner_cancel_btn,AviviD.settings.ring_before_background_path=b.ring_before_background_path,AviviD.settings.ring_after_background_path=b.ring_after_background_path,AviviD.settings.new_onpage_version=b.new_onpage_version,AviviD.settings.fb_banner_title=b.fb_banner_title, AviviD.settings.fb_banner_content=b.fb_banner_content,AviviD.settings.fb_banner_icon=b.fb_banner_icon,AviviD.settings.add_ecommerce_listener=b.add_ecommerce_listener,AviviD.settings.string_banner_icon=b.banner_icon,AviviD.settings.ring_position_mtop=b.ring_position_mtop,AviviD.settings.ring_position_mbottom=b.ring_position_mbottom,AviviD.settings.ring_position_mleft=b.ring_position_mleft,AviviD.settings.ring_position_mright=b.ring_position_mright,AviviD.settings.show_fb_banner=b.show_fb_banner,AviviD.settings.pc_show_ring= b.pc_show_ring,AviviD.settings.pc_show_banner=b.pc_show_banner,AviviD.settings.mobile_show_ring=b.mobile_show_ring,AviviD.settings.mobile_show_banner=b.mobile_show_banner,AviviD.settings.fp_ak=b.fp_ak,AviviD.settings.fp_ad=b.fp_ad,AviviD.settings.fp_du=b.fp_du,AviviD.settings.fp_pi=b.fp_pi,AviviD.settings.fp_sb=b.fp_sb,AviviD.settings.fp_ai=b.fp_ai,AviviD.settings.fp_mi=b.fp_mi,AviviD.settings.fp_msi=b.fp_msi,AviviD.settings.language=b.language,AviviD.settings.switch_language=b.switch_language,AviviD.settings.ios_enable= b.ios_enable,AviviD.settings.banner_cancel_twice_exp_day=b.banner_click_cancel_twice_interval_days,AviviD.settings.website_type=b.website_type,AviviD.settings.native_enable=b.native_enable,"pixnet"==AviviD.web_id&&0==document.domain.includes("pixnet.net")&&(AviviD.settings.native_enable="0"),AviviD.settings.banner_enable=b.banner_enable,AviviD.settings.onpage_enable=b.onpage_enable,AviviD.settings.compensation_enable=b.compensation_enable,AviviD.settings.onpage_timeout_first=b.onpage_timeout_first, AviviD.settings.onpage_timeout_cycle=b.onpage_timeout_cycle,AviviD.settings.onpage_with_ad=b.onpage_with_ad,AviviD.settings.sub_banner_customer_enable=b.sub_banner_customer_enable,AviviD.settings.ad_banner_enable=b.ad_banner_enable,AviviD.settings.ad_banner_with_ad=b.ad_banner_with_ad,AviviD.settings.ad_banner_position=b.ad_banner_position,AviviD.settings.ad_banner_pic_position=b.ad_banner_pic_position,AviviD.settings.ad_banner_timer=b.ad_banner_timer,AviviD.settings.ad_banner_life_cycle=b.ad_banner_life_cycle, AviviD.settings.before_page_timer=5,AviviD.settings.mandatory_before_page_timer=60,AviviD.settings.onpage_position=b.onpage_position,AviviD.settings.onpage_position_vh=b.onpage_position_vh,AviviD.settings.onpage_pc_position=b.onpage_pc_position,AviviD.settings.onpage_pic_position=b.onpage_pic_position,AviviD.settings.track_behavior_enable=b.track_behavior_enable,AviviD.settings.ip_enable=b.ip_enable,AviviD.settings.payment_selector=b.payment_selector,AviviD.settings.payment_selector_m=b.payment_selector_m, AviviD.settings.payment_url=b.payment_url,AviviD.settings.payment_url_m=b.payment_url_m,AviviD.settings.checkout_url=b.checkout_url,AviviD.settings.checkout_url_m=b.checkout_url_m,AviviD.settings.checkout_trigger_class=b.checkout_trigger_class,AviviD.settings.checkout_trigger_class_m=b.checkout_trigger_class_m,AviviD.settings.checkout_data_class=b.checkout_data_class,AviviD.settings.checkout_data_class_m=b.checkout_data_class_m,AviviD.settings.cart_url=b.cart_url,AviviD.settings.cart_url_m=b.cart_url_m, AviviD.settings.cart_data_class=b.cart_data_class,AviviD.settings.cart_data_class_m=b.cart_data_class_m,AviviD.settings.number_url=b.number_url,AviviD.settings.number_url_m=b.number_url_m,AviviD.settings.number_trigger_class=b.number_trigger_class,AviviD.settings.number_trigger_class_m=b.number_trigger_class_m,AviviD.settings.number_data_id=b.number_data_id,AviviD.settings.number_data_id_m=b.number_data_id_m,AviviD.settings.back_page_enable=b.back_page_enable,AviviD.settings.ad_block_enabled=b.ad_block_enabled, AviviD.settings.ad_block_abtest_enabled=b.ad_block_abtest_enabled,AviviD.settings.ad_block_abtest_ratio=b.ad_block_abtest_ratio,AviviD.settings.ad_block_abtest_start_time=b.ad_block_abtest_start_time,AviviD.settings.ad_block_abtest_end_time=b.ad_block_abtest_end_time,AviviD.settings.sliding_enable=b.sliding_enable,AviviD.settings.notify_enable=b.notify_enable,AviviD.settings.before_page_enable=b.before_page_enable,AviviD.settings.push_before_page_enable=b.push_before_page_enable,AviviD.settings.yh_enable= b.yh_enable,AviviD.settings.onpage_divide_article_ad=b.onpage_divide_article_ad,AviviD.settings.live_onsite_enable=b.live_onsite_enable,AviviD.settings.dsp_ad_enable=b.dsp_ad_enable,AviviD.settings.geolocation_enable=b.geolocation_enable,AviviD.settings.pwa_enable=b.pwa_enable,AviviD.settings.console_enable=b.console_enable,AviviD.settings.SENDER_ID=b.sender_id,AviviD.settings.banner_native=b.banner_native,AviviD.settings.self_public_key=b.self_public_key,AviviD.self_push_config={pushKey:AviviD.settings.self_public_key}, AviviD.sw_path="_"!=b.sw_path&&b.sw_path?b.sw_path:"/firebase-messaging-sw.js",AviviD.sw_scope="_"!=b.sw_scope&&b.sw_scope?b.sw_scope:"/firebase-cloud-messaging-push-scope","_"!=AviviD.settings.fp_msi?(AviviD.ns_flag=1,AviviD.settings.fb_config={apiKey:AviviD.settings.fp_ak,authDomain:AviviD.settings.fp_ad,databaseURL:AviviD.settings.fp_du,projectId:AviviD.settings.fp_pi,storageBucket:AviviD.settings.fp_sb,messagingSenderId:AviviD.settings.fp_msi,appId:AviviD.settings.fp_ai,measurementId:AviviD.settings.fp_mi}): AviviD.ns_flag=0,AviviD.update_time=(new Date).getTime(),AviviD.status.update_time=AviviD.convert_timestamp_to_time(AviviD.update_time),AviviD.load_aws(),AviviD.sw_version="1.0.868.210701",AviviD.switch_show_mode()):AviviD.console("AviviD get_website_info : status => "+b.status+", resText => "+b.resText)},error:function(b,c,d){AviviD.console("jqXHR :",b);AviviD.console("textStatus :",c);AviviD.console("errorThrown :",d)}});-1!=AviviD.allow_new_onpage_category_id.indexOf(AviviD.category_id)&&(a="https://avivid.likr.tw/settings_file/"+ AviviD.web_id+".json",jQuery.ajax({type:"GET",url:a,xhrFields:{withCredentials:!1},cache:!1,credentials:"same-origin",dataType:"json",success:function(b){AviviD.settings.adaptive_push=parseInt(b.adaptive_push);AviviD.settings.event_trigger=parseInt(b.event_trigger);AviviD.settings.redirect_action=parseInt(b.redirect_action);jQuery("#adaptive_push>span").text(AviviD.settings.adaptive_push);jQuery("#event_trigger>span").text(AviviD.settings.event_trigger);jQuery("#redirect_action>span").text(AviviD.settings.redirect_action)}, error:function(b,c,d){AviviD.console("jqXHR :",b);AviviD.console("textStatus :",c);AviviD.console("errorThrown :",d)}}))},AviviD.switch_show_mode=function(){AviviD.status.is_push_supported=AviviD.detect_is_push_supported();"0"==AviviD.settings.ios_enable&&"2"==AviviD.int_os_type?AviviD.console("AviviD : iOS is disabled."):AviviD.status.is_push_supported?"1"===AviviD.settings.native_enable?AviviD.webpush_scheme_native():"1"===AviviD.settings.banner_enable&&"5"!=AviviD.int_browser_type&&"6"!=AviviD.int_browser_type&& AviviD.banner_old():AviviD.console("Your Browser is not supported Push Notification")},AviviD.detect_is_push_supported=function(){var a=AviviD.UAResult,b=/(ipod|iphone|ipad)/i.test(a.ua);/(mac os)/i.test(a.os.name);var c=/chrome/i.test(a.browser.name),d=/firefox/i.test(a.browser.name);/safari/i.test(a.browser.name);/(Trident|MSIE)/i.test(a.ua);/line/i.test(a.ua);!/like android/i.test(a.ua)&&/android/i.test(a.ua);/edge/i.test(a.ua);var f=/Samsung/i.test(a.browser.name),e="fcm"===AviviD.settings.sw_type? 50:49;c?a.browser.version.split(".",4)[0]<e&&(c=0):d&&44>a.browser.version.split(".",4)[0]&&(d=0);return c||d||f?b?!1:!0:!1},AviviD.protocol_firebase_accept=function(){return"http:"==location.protocol?!1:!0},AviviD.webpush_scheme_native=function(){AviviD.in_array(AviviD.str_browser_type,["Chrome","Firefox","Samsung Browser"])?(AviviD.debugLog("sw_series_browser:",AviviD.str_browser_type),null!=AviviD.get_cookie("AviviD_already_exist")&&AviviD.get_cookie("AviviD_already_exist"),AviviD.protocol_firebase_accept()? AviviD.loadFirebase():AviviD.requestGeolocation()):"Safari"==AviviD.str_browser_type?"1"!=AviviD.status.subscribe_status?(AviviD.debugLog("apns:",AviviD.str_browser_type),"2"==AviviD.settings.banner_native?"1"!=AviviD.get_cookie("AviviD_already_exist")&&AviviD.safari_banner_subscribe(AviviD.settings.string_banner_icon,AviviD.settings.push_banner_data_title,AviviD.settings.push_banner_data_content,AviviD.settings.banner_allow_btn,AviviD.settings.banner_cancel_btn):"1"==AviviD.settings.is_aws?AviviD.regSafari_aws(): AviviD.regSafari()):(AviviD.debugLog("apns:",AviviD.str_browser_type),AviviD.debugLog("regSafari:","Subscribed"),AviviD.requestGeolocation()):AviviD.debugLog("AviviD: this browser is not supported push notification")},AviviD.banner_sub=function(){if("0"==(null!=AviviD.get_cookie("AviviD_already_exist")?AviviD.get_cookie("AviviD_already_exist"):0)){var a=null!=AviviD.get_cookie("AviviD_show_banner")?AviviD.get_cookie("AviviD_show_banner"):0;"0"==a?AviviD.waterfall_subscribe_module&&AviviD.highest_zindex&& AviviD.subscribe_waterfall?(AviviD.loadScript("https://avivid.likr.tw/api/avivid_waterfall_subscribe_v2.css","AviviD_waterfall_subscribe"),AviviD.loadScript("https://avivid.likr.tw/api/avivid_waterfall_webpush.css","AviviD_waterfall_webpush"),jQuery("html").append(AviviD.waterfall_subscribe_module(1,"AviviD.subscribe_agent_domain")),AviviD.highest_zindex("avivid_waterfall"),AviviD.subscribe_waterfall(screen.width,"avivid_waterfall_subscribe")):setTimeout(function(){AviviD.banner_sub()},500):"1"== a&&("1"==AviviD.settings.is_aws?AviviD.requestPermissionFCM_aws():AviviD.requestPermissionFCM())}else"1"!=(null!=AviviD.get_cookie("AviviD_show_sub")?AviviD.get_cookie("AviviD_show_sub"):0)&&(AviviD.messaging&&AviviD.waterfall_subscribe_module&&AviviD.highest_zindex&&AviviD.subscribe_waterfall?AviviD.messaging.getToken().then(function(b){AviviD.console("token exists")})["catch"](function(b){AviviD.loadScript("https://avivid.likr.tw/api/avivid_waterfall_subscribe_v2.css","AviviD_waterfall_subscribe"); AviviD.loadScript("https://avivid.likr.tw/api/avivid_waterfall_webpush.css","AviviD_waterfall_webpush");jQuery("html").append(AviviD.waterfall_subscribe_module(1,"AviviD.compensation_subscribe"));AviviD.highest_zindex("avivid_waterfall");AviviD.subscribe_waterfall(screen.width,"avivid_waterfall_subscribe")}):setTimeout(function(){AviviD.banner_sub()},500))},AviviD.subscribe_agent_domain=function(a){switch(a){case "accept":AviviD.set_cookie("AviviD_show_banner","1");AviviD.waterfall_disappear("avivid_waterfall_subscribe"); "1"==AviviD.settings.is_aws?AviviD.requestPermissionFCM_aws():AviviD.requestPermissionFCM();break;case "block":AviviD.set_cookie_minutes("AviviD_show_banner","2",60*AviviD.settings.ad_banner_life_cycle),AviviD.waterfall_disappear("avivid_waterfall_subscribe"),AviviD.waterfall_disappear("avivid_waterfall_subscribe_setting")}},AviviD.empty=function(a){if("number"==typeof a||"boolean"==typeof a)return!1;if("null"===a||"undefined"===a||"undefined"==typeof a||null===a)return!0;if("undefined"!=typeof a.length)return 0== a.length;var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return 0==b},AviviD.get_top_domain=function(){var a=window.location.hostname;if(/[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}/.test(a))return a;var b=a.split(".").length,c=a.split(".").reverse();return"2">=b?a:"3"==b?"com"===c[1]?a:c[1]+"."+c[0]:"4"==b?"com"===c[0]?c[1]+"."+c[0]:c[2]+"."+c[1]+"."+c[0]:c[2]+"."+c[1]+"."+c[0]},AviviD.set_cookie=function(a,b,c){var d=AviviD.get_top_domain();c=c||3650;var f=new Date;f.setTime(f.getTime()+864E5* c);AviviD.protocol_firebase_accept()?document.cookie=a+"="+escape(b)+";expires="+f.toGMTString()+";domain="+d+";path=/;secure;":document.cookie=a+"="+escape(b)+";expires="+f.toGMTString()+";domain="+d+";path=/;"},AviviD.set_cookie_minutes=function(a,b,c){var d=AviviD.get_top_domain();c=c||60;var f=new Date;f.setTime(f.getTime()+6E4*c);AviviD.protocol_firebase_accept()?document.cookie=a+"="+escape(b)+";expires="+f.toGMTString()+";domain="+d+";path=/;secure;":document.cookie=a+"="+escape(b)+";expires="+ f.toGMTString()+";domain="+d+";path=/;"},AviviD.set_cookie_days=function(a,b,c){var d=AviviD.get_top_domain();c=c||30;var f=new Date;f.setTime(f.getTime()+864E5*c);AviviD.protocol_firebase_accept()?document.cookie=a+"="+escape(b)+";expires="+f.toGMTString()+";domain="+d+";path=/;secure;":document.cookie=a+"="+escape(b)+";expires="+f.toGMTString()+";domain="+d+";path=/;"},AviviD.get_cookie=function(a){a=document.cookie.match(new RegExp("(^| )"+a+"=([^;]*)(;|$)"));return null!=a?unescape(a[2]):null}, AviviD.delete_cookie=function(a){var b=new Date;b.setTime(b.getTime()-1);var c=AviviD.get_cookie(a);null!=c&&(document.cookie=a+"="+c+";expires="+b.toGMTString())},AviviD.detect_os_type=function(){return AviviD.UAResult.os.name},AviviD.trans_os_type_to_number=function(a){switch(a){case "Android":return"1";case "iOS":return"2";case "Mac OS":return"3";case "Windows":return"4";default:return"9"}},AviviD.trans_browser_type_to_number=function(a){switch(a){case "Chrome":return"1";case "Firefox":return"2"; case "Safari":return"3";case "iOS":return"4";case "IE":return"5";case "Edge":return"6";case "Samsung Browser":return"8";case "LINE":return"10";case "weixin":return"11";case "fbapp":return"12";case "Instagram":return"13";case "Opera":return"14";default:return"9"}},AviviD.detect_browser_type=function(){var a=null!=navigator.userAgent.match(/line/i),b="iOS"==AviviD.UAResult.os.name,c="micromessenger"==navigator.userAgent.toLowerCase().match(/MicroMessenger/i),d=-1<navigator.userAgent.indexOf("FBAV")|| -1<navigator.userAgent.indexOf("FBSV"),f=-1<navigator.userAgent.indexOf("Instagram");isOpera=-1<navigator.userAgent.indexOf("Opera")||-1<navigator.userAgent.indexOf("OPR");return a?"LINE":b?"iOS":c?"weixin":d?"fbapp":f?"Instagram":isOpera?"Opera":AviviD.UAResult.browser.name},AviviD.convert_timestamp_to_time=function(a){var b=function(c,d){return c.length>=d?c:b("0"+c,d)};a=new Date(Number(a));return a.getFullYear().toString()+"/"+b((a.getMonth()+1).toString(),2)+"/"+b(a.getDate().toString(),2)+" "+ b(a.getHours().toString(),2)+":"+b(a.getMinutes().toString(),2)+":"+b(a.getSeconds().toString(),2)},AviviD.detect_is_mobile=function(a){return"Android"==a||"iOS"==a?!0:!1},AviviD.detect_is_numeric=function(a){return!isNaN(parseFloat(a))&&isFinite(a)},AviviD.in_array=function(a,b){for(var c=b.length,d=0;d<c;d++)if(b[d]==a)return!0;return!1},AviviD.console=function(a,b){"1"==AviviD.settings.console_enable&&console.log(a,void 0===b?"":b)},AviviD.loadFirebase=function(){if(["jpnn","brilio","popdaily2"].includes(AviviD.web_id)&& "granted"!=Notification.permission)setTimeout(function(){AviviD.loadFirebase()},1E3);else{var a={"firebase-messaging-sw-v2":"https://avivid.likr.tw/pushEndPoint/js/firebasejs/6.6.2/firebase.js"};Object.keys(a).forEach(function(e){-1<AviviD.sw_path.indexOf(e)&&(sdk_path=a[e])});var b=function(){(function(e,g,k,r){e=g.getElementsByTagName(k)[0]||g.getElementsByTagName("head")[0];var q=g.createElement(k);q.type="text/javascript";q.src=r;e.parentNode.insertBefore(q,e);q.addEventListener("load",function v(){q.removeEventListener("load", v,!1);AviviD.firebaseInit()},!1)})(window,document,"script","https://avivid.likr.tw/pushEndPoint/js/firebasejs/8.6.8/firebase-messaging.js")},c=function(){window.firebase?b():function(e,g,k,r){e=g.getElementsByTagName(k)[0]||g.getElementsByTagName("head")[0];var q=g.createElement(k);q.type="text/javascript";q.src=r;e.parentNode.insertBefore(q,e);q.addEventListener("load",function v(){q.removeEventListener("load",v,!1);b()},!1)}(window,document,"script","https://www.gstatic.com/firebasejs/8.6.8/firebase-app.js")}, d=null!=AviviD.get_cookie("AviviD_sw_version")?AviviD.get_cookie("AviviD_sw_version"):0,f=null!=localStorage.getItem("AviviD_sw_version")?localStorage.getItem("AviviD_sw_version"):0;0==d&&0!=f&&(d=f,AviviD.set_cookie("AviviD_sw_version",f));navigator.serviceWorker&&d!=AviviD.sw_version&&(navigator.serviceWorker.getRegistrations().then(function(e){e=$jscomp.makeIterator(e);for(var g=e.next();!g.done;g=e.next())g=g.value,g.scope.match(/.*\/firebase-cloud-messaging-push-scope$/)&&g.unregister()}),AviviD.set_cookie("AviviD_already_exist", "0",0),AviviD.set_cookie("AviviD_sw_version",AviviD.sw_version),localStorage.setItem("AviviD_sw_version",AviviD.sw_version));navigator.serviceWorker.controller?navigator.serviceWorker.controller.scriptURL.match(/.*\/firebase-messaging-sw.js$/)?"1"==AviviD.settings.pwa_enable?(window.addEventListener("beforeinstallprompt",AviviD.registerPWAEvent),c()):navigator.serviceWorker.getRegistration().then(function(e){e.unregister();AviviD.status.subscribe_status="0";c()}):c():navigator.serviceWorker.getRegistrations().then(function(e){var g= 0,k=null;if("1"!=AviviD.settings.pwa_enable)g=2;else{e=$jscomp.makeIterator(e);for(var r=e.next();!r.done;r=e.next())r=r.value,r.scope.match(/.*\/firebase-cloud-messaging-push-scope$/)?(g|=1,k=r):r.scope.match(/.*\/$/)&&(g|=2)}switch(g){case 0:case 1:k&&k.unregister(),AviviD.status.subscribe_status="0",window.addEventListener("beforeinstallprompt",AviviD.registerPWAEvent)}c()})}},AviviD.registerPWAEvent=function(a){a.prompt();a.userChoice.then(function(b){"accepted"===b.outcome?AviviD.console("User accepted the A2HS prompt"): AviviD.console("User dismissed the A2HS prompt")})},AviviD.firebaseInit=function(){var a={912321621860:{apiKey:"AIzaSyDJCrbDDigIQAPHhBFw-n6hruzQs8YWW-Y",authDomain:"hodomobile-3f63f.firebaseapp.com",databaseURL:"https://hodomobile-3f63f.firebaseio.com",projectId:"hodomobile-3f63f",storageBucket:"hodomobile-3f63f.appspot.com",messagingSenderId:"912321621860",appId:"1:912321621860:web:22bd5d844164cca55b9471"},687255249978:{apiKey:"AIzaSyBn-H1pM--XeDqf4EVPEKD3j1cq1zTpNcA",authDomain:"pixnet-718d4.firebaseapp.com", databaseURL:"https://pixnet-718d4.firebaseio.com",projectId:"pixnet-718d4",storageBucket:"pixnet-718d4.appspot.com",messagingSenderId:"687255249978",appId:"1:687255249978:web:52adaa7c8bc639cc334103"},515520174094:{apiKey:"AIzaSyAxoJhNyCDsRb_PhizhzMSQlHZ3YuhxP3I",authDomain:"ecom-fe1cf.firebaseapp.com",databaseURL:"https://ecom-fe1cf.firebaseio.com",projectId:"ecom-fe1cf",storageBucket:"ecom-fe1cf.appspot.com",messagingSenderId:"515520174094",appId:"1:515520174094:web:bacbbfb5c40c2e1b93845f",measurementId:"G-2Z6033677E"}, 817465926201:{apiKey:"AIzaSyApUOQsjIuLggMxU4yGGPgeDK3BbsTU8Ik",authDomain:"upmedia-55464.firebaseapp.com",databaseURL:"https://upmedia-55464.firebaseio.com",projectId:"upmedia-55464",storageBucket:"upmedia-55464.appspot.com",messagingSenderId:"817465926201",appId:"1:817465926201:web:bedd53aa11464a05a223e8",measurementId:"G-EQE9Y3XS2J"},312322267972:{apiKey:"AIzaSyCO72OgYltHmtCccCIlFfPn-uM3-UjXNvc",authDomain:"vmage-com-tw-api-project-312322267972.firebaseapp.com",databaseURL:"_",projectId:"vmage.com.tw:api-project-312322267972", storageBucket:"undefined",messagingSenderId:"312322267972",appId:"1:312322267972:web:ba348d3b82902a7e061511",measurementId:"G-8G8LV2ERRC"}}[AviviD.settings.SENDER_ID];1==AviviD.ns_flag&&(null!=AviviD.get_cookie("AviviD_tid_rmed")&&AviviD.get_cookie("AviviD_tid_rmed")||AviviD.settings.fp_msi==AviviD.settings.SENDER_ID||(firebase.initializeApp(a,"AviviD_old").messaging().deleteToken(),AviviD.set_cookie("AviviD_tid_rmed","1")),a=AviviD.settings.fb_config,AviviD.sw_scope="/firebase-cloud-messaging-ns-scope"); AviviD.firebaseApp=firebase.initializeApp(a,"AviviD");AviviD.console("AviviD.firebaseApp Init: "+AviviD.firebaseApp.name);AviviD.messaging=AviviD.firebaseApp.messaging();AviviD.count_error=0;"1"!=AviviD.status.subscribe_status?"0"==AviviD.settings.banner_native||"2"==AviviD.settings.banner_native?"1"==AviviD.settings.ad_banner_enable?AviviD.banner_sub():(a=null!=AviviD.get_cookie("AviviD_already_exist")?AviviD.get_cookie("AviviD_already_exist"):0,"1"==AviviD.settings.is_aws?AviviD.requestPermissionFCM_aws(): AviviD.requestPermissionFCM(),0!=a&&(AviviD.console("AviviD token exist"),AviviD.requestGeolocation())):"1"==AviviD.settings.banner_native&&"1"!=AviviD.get_cookie("AviviD_already_exist")&&AviviD.bannerPermission():AviviD.console("AviviD.firebaseApp : Subscribed.");AviviD.messaging.onMessage(function(b){AviviD.console("Message received. ",b);var c=b.data;AviviD.web_id!=c.web_id&&"avivid"!=c.web_id||navigator.serviceWorker.getRegistrations().then(function(d){AviviD.console("getRegistrations :",d);if(d){var f= d[0];AviviD.console("useServiceWorker :",f);AviviD.messaging.getToken().then(function(e){var g,k,r;return $jscomp.asyncExecutePromiseGeneratorProgram(function(q){if(1==q.nextAddress){if(!e)return console.error("getToken: No Instance ID token available. Request permission to generate one."),q["return"]();AviviD.console("currentToken : "+e);return q.yield(AviviD.getNotificationData(e,c),3)}g=q.yieldResult;AviviD.console("pushData : ",g);AviviD.verifyMessage(c)?"1"==AviviD.settings.is_aws?(k={web_id:c.web_id, category_id:c.category_id,token:e,push_id:c.push_id,msg_source:c.msg_source,sw_source:self.location.origin},AviviD_AWS.config.region="ap-southeast-1",AviviD_AWS.config.credentials=new AviviD_AWS.CognitoIdentityCredentials({IdentityPoolId:"ap-southeast-1:f46698d9-24cf-4242-8a3d-8707f45d1cfd"}),AviviD_AWS.config.credentials.get(function(l){if(l)console.error(l);else{l=new AviviD_AWS.Firehose;var v={DeliveryStreamName:"impression",Record:{Data:JSON.stringify(k)}};l.putRecord(v,function(w,h){w?console.error("IMPRESSION_LOG_RECEIVER error:", w):console.log("IMPRESSION_LOG_RECEIVER res:",h)})}})):(k={web_id:c.web_id,category_id:c.category_id,token:e,push_id:c.push_id,msg_source:c.msg_source,sw_source:self.location.origin,sw_version:"onpage"},r=AviviD.createUrlObject("https://load-balancer.likr.com.tw/pushServer/impression_log_receiver.php",k),AviviD.console("IMPRESSION_LOG_RECIEVER urlObject :",r),fetch(r).then(function(l){if(200!==l.status)throw Error("IMPRESSION_LOG_RECIEVER error code: "+l.status);return AviviD.console("IMPRESSION_LOG_RECIEVER res:", l)})["catch"](function(l){return console.error("IMPRESSION_LOG_RECIEVER error:",l)}),AviviD_AWS.config.region="ap-southeast-1",ai="AKIATBR2IINUTKMLTB46",sa="4y+oardIXoXGuWOyTAvPRJFZ4UE4f97pYnmdLTo6",AviviD_AWS.config.credentials=new AviviD_AWS.Credentials(ai,sa,sessionToken=null),AviviD_AWS.config.maxRetries=5,AviviD_AWS.config.credentials.get(function(l){if(l)console.error(l);else{l=new AviviD_AWS.Firehose;var v={DeliveryStreamName:"impression-avivid-firehose",Record:{Data:JSON.stringify(k)}};l.putRecord(v, function(w,h){w?console.error("IMPRESSION_LOG_RECEIVER error:",w):AviviD.console("IMPRESSION_LOG_RECEIVER res:",h)})}})):console.error("Message: Missing Parameters.");return"_"!=g.title?q["return"](f.showNotification(g.title,g.content)):q["return"]()})})["catch"](function(e){console.error("getToken :",e)})}})})},AviviD.requestPermissionFCM_aws=function(){AviviD.messaging.requestPermission().then(function(){AviviD.console("Notification permission granted.");AviviD.messaging.getToken().then(function(a){if(a){var b= localStorage.getItem("avivid_tid"),c=btoa(a);c=c.substr(-(c.length-5));b!=c&&(a={web_id:AviviD.web_id,token:a,category_id:AviviD.category_id,uuid:AviviD.uuid,sw_type:"fcm",user_agent:AviviD.UAResult.ua,client_href:window.location.href,os_type:AviviD.int_os_type,browser_type:AviviD.int_browser_type},AviviD.console("FCM Register send:",a),AviviD.kinesis_subscription_post(a))}else AviviD.console("No Instance ID token available. Request permission to generate one.")})["catch"](function(a){AviviD.console("An error occurred while retrieving token. ", a)})})["catch"](function(a){AviviD.console("Unable to get permission to notify.",a);AviviD.in_array(AviviD.category_id,AviviD.same_domain_list)?AviviD.set_cookie("AviviD_already_exist","1"):AviviD.set_cookie("AviviD_already_exist","1",1)})},AviviD.requestPermissionFCM=function(){AviviD.messaging.requestPermission().then(function(){AviviD.console("Notification permission granted.");AviviD.messaging.getToken().then(function(a){if(a){AviviD.tget=1;var b=localStorage.getItem("avivid_tid"),c=btoa(a),d= c.substr(-(c.length-5));b!=d||AviviD.get_urlparam("avivid_check_mode")?AviviD.token_renew=1:AviviD.token_renew=0;b=AviviD.UAResult;b={web_id:AviviD.web_id,token:a,category_id:AviviD.category_id,avivid_regid:AviviD.avivid_regid,webuserid:AviviD.webuserid,uuid:AviviD.uuid,reg_source:"native",sw_type:"fcm",browser_ver:b.browser.version,os_ver:b.os.version,user_agent:b.ua,client_href:150<window.location.href.length?window.location.origin+"/?":window.location.href,os_type:AviviD.int_os_type,browser_type:AviviD.int_browser_type, avivid_tag:AviviD.avivid_tag,token_renew:AviviD.token_renew};1==AviviD.ns_flag&&AviviD.settings.fp_msi!=AviviD.settings.SENDER_ID&&(b.web_id=AviviD.web_id+"1",b.avivid_tag=AviviD.web_id);AviviD.console("FCM Register send:",b);jQuery.ajax({url:"https://auto-load-balancer.likr.com.tw/pushServer/endPointReg_v2.php",type:"POST",data:b,dataType:"json",xhrFields:{withCredentials:!1},success:function(e){AviviD.console("FCM Register res:",e);e.is_insert_success&&(AviviD.in_array(AviviD.category_id,AviviD.same_domain_list)? AviviD.set_cookie("AviviD_already_exist","1"):AviviD.set_cookie("AviviD_already_exist","1",1),localStorage.setItem("avivid_tid",d),e=e.resText.split("#"),e[1]&&AviviD.set_cookie("sub_to",e[1]))},error:function(e,g,k){AviviD.console("xhr :",e);AviviD.console("ajaxOptions :",g);AviviD.console("thrownError :",k);AviviD.console("status code : "+e.status+" , ajaxOptions : "+g)}});AviviD.get_urlparam("avivid_check_mode")&&jQuery.ajax({url:"https://auto-load-balancer.likr.com.tw/pushServer/check_status.php", type:"POST",data:b,dataType:"json",xhrFields:{withCredentials:!1},success:function(e){AviviD.console("check status",e);alert("\u4f7f\u7528\u8005\uff1a"+AviviD.uuid+"\uff0c\u8a02\u95b1\u72c0\u614b\uff1a\u6709\u6548")},error:function(e,g,k){AviviD.console("xhr :",e);AviviD.console("ajaxOptions :",g);AviviD.console("thrownError :",k);AviviD.console("status code : "+e.status+" , ajaxOptions : "+g)}});if("pixnet"==AviviD.web_id){var f=AviviD.uuid;jQuery.ajax({type:"get",contentType:"application/x-www-form-urlencoded; charset=utf-8", url:"https://avivid-pushnotification.pixnet.net/sync",xhrFields:{withCredentials:!1},data:{token:a,uuid:f},success:function(e,g){var k=e.member_id;AviviD.console("status "+g);jQuery.ajax({type:"get",contentType:"application/x-www-form-urlencoded; charset=utf-8",url:"https://auto-load-balancer.likr.com.tw/api/pixnet_memberid_insert_db.php",data:{web_id:AviviD.web_id,token:a,uuid:f,member_id:k},xhrFields:{withCredentials:!1},complete:function(r,q){AviviD.console("req "+JSON.stringify(r));AviviD.console("status "+ q)}})},error:function(e,g){AviviD.console("req in error "+JSON.stringify(e));AviviD.console("status "+g)}})}}else AviviD.console("No Instance ID token available. Request permission to generate one.")})["catch"](function(a){AviviD.console("An error occurred while retrieving token. ",a);3>AviviD.count_error&&(AviviD.requestPermissionFCM(),AviviD.count_error++)})})["catch"](function(a){AviviD.console("Unable to get permission to notify.",a);AviviD.in_array(AviviD.category_id,AviviD.same_domain_list)? AviviD.set_cookie("AviviD_already_exist","1"):AviviD.set_cookie("AviviD_already_exist","1",1);AviviD.set_cookie_minutes("AviviD_show_sub","1",60*AviviD.settings.ad_banner_life_cycle)})},AviviD.requestGeolocation=function(){if(2==AviviD.int_browser_type){if("1"==AviviD.get_cookie("firefox_already_requested_geolocation")){AviviD.console("Already asked for permission today");return}AviviD.set_cookie("firefox_already_requested_geolocation","1",1)}var a=0;"1"==AviviD.settings.geolocation_enable&&navigator&& navigator.geolocation&&setTimeout(function(){navigator.geolocation.watchPosition(function(b){AviviD.geolocation.latitude=b.coords.latitude;AviviD.geolocation.longitude=b.coords.longitude;0==a&&(jQuery.ajax({url:"https://auto-load-balancer.likr.com.tw/pushServer/location_receive.php",xhrFields:{withCredentials:!1},method:"POST",data:{uuid:AviviD.uuid,latitude:AviviD.geolocation.latitude,longitude:AviviD.geolocation.longitude},success:function(c){AviviD.console(c);console.log("s")},error:function(c, d,f){AviviD.console("xhr :",c);AviviD.console("ajaxOptions :",d);AviviD.console("thrownError :",f);AviviD.console("status code : "+c.status+" , ajaxOptions : "+d)}}),a+=1)})},AviviD.geolocation.get_interval)},AviviD.regSafari_aws=function(){if("safari"in window&&"pushNotification"in window.safari){var a=AviviD.web_id,b=AviviD.UAResult,c="web.tw.com.likr."+a,d={domainName:a},f=function(e){"default"===e.permission?(window.safari.pushNotification.requestPermission("https://www.likr.com.tw/pushosx",c, d,f),AviviD.console("\u8a0a\u606f\u901a\u77e5\u72c0\u614b\uff1a\u9810\u8a2d"),AviviD.console("regSafari: ",e)):"denied"===e.permission?(AviviD.console("\u8a0a\u606f\u901a\u77e5\u72c0\u614b\uff1a\u5c01\u9396"),AviviD.set_cookie("ano_already_exist","1")):"granted"===e.permission&&(AviviD.console("\u8a0a\u606f\u901a\u77e5\u72c0\u614b\uff1a\u5141\u8a31"),AviviD.set_cookie("ano_already_exist","1"),e=e.deviceToken,localStorage.setItem("avivid_safari_token",e),AviviD.console("The user granted, with token: "+ e),e={web_id:AviviD.web_id,token:e,category_id:AviviD.category_id,uuid:e,reg_source:"native",sw_type:"safari",user_agent:b.ua,client_href:window.location.href,os_type:AviviD.int_os_type,browser_type:AviviD.int_browser_type},AviviD.console("regSafari Register send:",e),AviviD.kinesis_subscription_post(e));AviviD.requestGeolocation()};a=window.safari.pushNotification.permission(c);f(a)}},AviviD.regSafari=function(){if("safari"in window&&"pushNotification"in window.safari){var a=AviviD.web_id,b=AviviD.UAResult, c="web.tw.com.likr."+a,d={domainName:a},f=function(e){"default"===e.permission?(window.safari.pushNotification.requestPermission("https://www.likr.com.tw/pushosx",c,d,f),AviviD.console("\u8a0a\u606f\u901a\u77e5\u72c0\u614b\uff1a\u9810\u8a2d"),AviviD.console("regSafari: ",e)):"denied"===e.permission?(AviviD.console("\u8a0a\u606f\u901a\u77e5\u72c0\u614b\uff1a\u5c01\u9396"),AviviD.in_array(AviviD.category_id,AviviD.same_domain_list)?AviviD.set_cookie("AviviD_already_exist","1"):AviviD.set_cookie("AviviD_already_exist", "1",1)):"granted"===e.permission&&(AviviD.console("\u8a0a\u606f\u901a\u77e5\u72c0\u614b\uff1a\u5141\u8a31"),AviviD.in_array(AviviD.category_id,AviviD.same_domain_list)?AviviD.set_cookie("AviviD_already_exist","1"):AviviD.set_cookie("AviviD_already_exist","1",1),e=e.deviceToken,localStorage.setItem("avivid_safari_token",e),AviviD.console("The user granted, with token: "+e),e={web_id:AviviD.web_id,token:e,category_id:AviviD.category_id,avivid_regid:AviviD.avivid_regid,webuserid:AviviD.webuserid,uuid:e, reg_source:"native",sw_type:"safari",browser_ver:b.browser.version,os_ver:b.os.version,user_agent:b.ua,client_href:window.location.href,os_type:AviviD.int_os_type,browser_type:AviviD.int_browser_type,avivid_tag:AviviD.avivid_tag},AviviD.console("regSafari Register send:",e),jQuery.ajax({url:"https://auto-load-balancer.likr.com.tw/pushServer/endPointReg_v2.php",xhrFields:{withCredentials:!1},type:"POST",data:e,success:function(g){AviviD.console("regSafari Register res:",g)},error:function(g,k,r){AviviD.console("xhr :", g);AviviD.console("ajaxOptions :",k);AviviD.console("thrownError :",r);AviviD.console("status code : "+g.status+" , ajaxOptions : "+k)}}));AviviD.requestGeolocation()};a=window.safari.pushNotification.permission(c);f(a)}},AviviD.debugLog=function(a,b){AviviD.status.debug&&AviviD.console(a,b||"")},AviviD.isHasActionButton=function(a){return"object"!==typeof a?0:a.button1_url||a.button2_url?1:0},AviviD.verifyMessage=function(a){return a.web_id&&a.push_id&&a.msg_source?1:0},AviviD.kinesis_subscription_post= function(a){AviviD_AWS.config.region="ap-southeast-1";AviviD_AWS.config.credentials=new AviviD_AWS.CognitoIdentityCredentials({IdentityPoolId:"ap-southeast-1:f46698d9-24cf-4242-8a3d-8707f45d1cfd"});AviviD_AWS.config.credentials.get(function(b){if(b)console.error(b);else{b=new AviviD_AWS.Firehose;var c={DeliveryStreamName:"subscribe",Record:{Data:JSON.stringify(a)}};b.putRecord(c,function(d,f){if(!d){AviviD.in_array(AviviD.category_id,AviviD.same_domain_list)?AviviD.set_cookie("AviviD_already_exist", "1"):AviviD.set_cookie("AviviD_already_exist","1",1);var e=btoa(a.token);localStorage.setItem("avivid_tid",e.substr(-(e.length-5)))}})}})},AviviD.getNotificationData=function(a,b){var c,d,f,e;return $jscomp.asyncExecutePromiseGeneratorProgram(function(g){c={title:"_",content:{body:"\u9ede\u64ca\u89c0\u770b\u66f4\u591a\u8cc7\u8a0a",icon:"https://www.likr.com.tw/pushEndPoint/images/avivid/image/icon.png",requireInteraction:!0,data:{click_url:"https://www.likr.com.tw/",web_id:AviviD.web_id,token:a,push_id:"", msg_source:"error"}}};if(!b.push_id)return console.error("notificationDataError: data.push_id not existed, use defaultData."),g["return"](c);d={};d.title=b.title?b.title:c.title;f={};f.body=b.body?b.body:c.content.body;f.icon=b.icon?b.icon:c.content.icon;f.image=b.image?b.image:"";f.requireInteraction="false"==b.requireInteraction?!1:!0;f.renotify="true"==b.renotify?!0:!1;f.silent="true"==b.silent?!0:!1;f.tag=b.tag?b.tag:"";f.data={web_id:b.web_id?b.web_id:AviviD.web_id,category_id:b.category_id? b.category_id:"",token:a,push_id:b.push_id,click_url:b.click_url?b.click_url:c.content.data.click_url,button1_url:b.button1_url,button2_url:b.button2_url,msg_source:b.msg_source};e=[];b.button1_title&&e.push({action:"button1",title:b.button1_title,icon:b.button1_icon?b.button1_icon:""});b.button2_title&&e.push({action:"button2",title:b.button2_title,icon:b.button2_icon?b.button2_icon:""});0<e.length&&(f.actions=e);f.image||delete f.image;d.content=f;return g["return"](d)})},AviviD.createUrlObject= function(a,b){var c=new URL(a);Object.keys(b).forEach(function(d){return c.searchParams.append(d,b[d])});return c},AviviD.set_is_likr=function(){if(AviviD.get_urlparam("is_likr")){var a=AviviD.get_top_domain();a="is_likr="+AviviD.get_urlparam("is_likr")+";domain="+a+";path=/";document.cookie=a}AviviD.get_urlparam("avivid_check_mode")&&AviviD.set_cookie("AviviD_already_exist","0",0)},AviviD.bannerPermission=function(){AviviD.banner_subscribe(AviviD.settings.string_banner_icon,AviviD.settings.push_banner_data_title, AviviD.settings.push_banner_data_content,AviviD.settings.banner_allow_btn,AviviD.settings.banner_cancel_btn)},AviviD.safari_banner_subscribe=function(a,b,c,d,f){jQuery("head").append('<style type="text/css">.avivid_push_banner{top: 50px;left: 30%;padding: 20px 20px;box-shadow: 0 1px 2px gray;color: #222;position: fixed;z-index: 999999;width: 400px;height: 130px;border:1px #AAAAAA;background-color:#f0f0f0;-webkit-box-sizing:revert;-moz-box-sizing:revert;box-sizing:revert;}</style>');jQuery("head").append('<style type="text/css">.avivid_icon{height: 100px; width:100px;}</style>'); jQuery("head").append('<style type="text/css">.avivid_button_1{position: relative;bottom: -30px;left:200px;width:100px;height:30px;font-family:DFKai-sb;font-size:16px;font-weight:bold;border-radius:10px;background-color:#0066FF;color: white;outline:none;}</style>');jQuery("head").append('<style type="text/css">.avivid_button_2{position: relative;bottom: -30px;left:-10px;width:100px;height:30px;font-family:DFKai-sb;font-size:16px;font-weight:bold;border-radius:10px;background-color:#f0f0f0;color: black;outline:none;}</style>'); jQuery("head").append('<style type="text/css">.avivid_title{position: relative;left:120px;top:-140px;word-break:break-all;width:280px;font-weight:bold;font-family:DFKai-sb;}');jQuery("head").append('<style type="text/css">.avivid_content{position: relative;left:120px;top:-130px;word-break:break-all;width:280px;font-family:DFKai-sb;}');var e=document.createElement("div");e.setAttribute("id","avivid_requestPermission");e.setAttribute("class","avivid_push_banner");e.style.display="block";var g=document.createElement("img"); g.setAttribute("class","avivid_icon");g.setAttribute("src",a);a=document.createElement("input");a.setAttribute("class","avivid_button_1");a.setAttribute("type","button");a.setAttribute("onclick","AviviD.trigger_safari_requestPermission('access')");a.setAttribute("value",d);d=document.createElement("input");d.setAttribute("class","avivid_button_2");d.setAttribute("type","button");d.setAttribute("onclick","AviviD.trigger_safari_requestPermission('denied')");d.setAttribute("value",f);f=document.createElement("p"); f.setAttribute("style","bottom: 0px; font-size: 10px;");f.innerHTML="Powered by likr\u00ae";var k=document.createElement("p");k.setAttribute("class","avivid_title");k.innerHTML=b;b=document.createElement("p");b.setAttribute("class","avivid_content");b.innerHTML=c;AviviD.console(e);AviviD.console(document.body);document.body.appendChild(e);e.appendChild(g);e.appendChild(a);e.appendChild(d);e.appendChild(f);e.appendChild(k);e.appendChild(b)},AviviD.banner_subscribe=function(a,b,c,d,f){jQuery("head").append('<style type="text/css">.avivid_push_banner{top: 0;left: 40%;padding: 20px 20px;;box-shadow: 0 1px 3px gray;color: #222;position: fixed;z-index: 999999;width: 400px;height: 150px;border:1px #AAAAAA solid;background-color:#DDDDDD;}@media(max-width: 480px){.avivid_push_banner{top: 68%;left: 4%;padding: 20px 20px;;box-shadow: 0 1px 3px gray;color: #222;position: fixed;z-index: 999999;width: 290px;height: 130px;border:1px #AAAAAA solid;background-color:#DDDDDD;}}</style>'); jQuery("head").append('<style type="text/css">.avivid_icon{height: 100px; width:100px;} </style>');jQuery("head").append('<style type="text/css">.avivid_button_1{position: relative;bottom: -50px;left:200px;width:100px;background-color:#0066FF;color: white;outline:none;}@media(max-width: 480px){.avivid_button_1{position: relative;bottom: 0px;left:0px;width:110px;background-color:#0066FF;color: white;outline:none;}}</style>');jQuery("head").append('<style type="text/css">.avivid_button_2{position: relative;bottom: -50px;left:-10px;width:100px;background-color:#FFFFFF;color: black;outline:none;}@media(max-width: 480px){.avivid_button_2{position: relative;bottom: -30px;left:-90px;width:70px;background-color:#FFFFFF;color: black;outline:none;}}</style>'); jQuery("head").append('<style type="text/css">.avivid_title{position: relative;left:100px;top:-140px;word-break:break-all;width:280px;}@media (max-width: 480px){.avivid_title{position: relative;left:100px;top:-140px;word-break:break-all;width:200px;}}');jQuery("head").append('<style type="text/css">.avivid_content{position: relative;left:100px;top:-130px;word-break:break-all;width:280px;}@media (max-width: 480px){.avivid_content{position: relative;left:100px;top:-150px;word-break:break-all;width:200px;}}'); var e=document.createElement("div");e.setAttribute("id","avivid_requestPermission");e.setAttribute("class","avivid_push_banner");e.style.display="block";var g=document.createElement("img");g.setAttribute("class","avivid_icon");g.setAttribute("src",a);a=document.createElement("input");a.setAttribute("class","avivid_button_1");a.setAttribute("type","button");a.setAttribute("onclick","AviviD.trigger_requestPermission('access')");a.setAttribute("value",d);d=document.createElement("input");d.setAttribute("class", "avivid_button_2");d.setAttribute("type","button");d.setAttribute("onclick","AviviD.trigger_requestPermission('denied')");d.setAttribute("value",f);f=document.createElement("p");f.setAttribute("style","position:relative; bottom: 0px; font-size: 10px;");f.innerHTML="Powered by likr\u00ae";var k=document.createElement("p");k.setAttribute("class","avivid_title");k.innerHTML=b;b=document.createElement("p");b.setAttribute("class","avivid_content");b.innerHTML=c;AviviD.console(e);AviviD.console(document.body); document.body.appendChild(e);e.appendChild(g);e.appendChild(a);e.appendChild(d);e.appendChild(f);e.appendChild(k);e.appendChild(b)},AviviD.trigger_safari_requestPermission=function(a){"access"==a?(document.getElementById("avivid_requestPermission").style.display="none",0==(null!=AviviD.get_cookie("AviviD_already_exist")?AviviD.get_cookie("AviviD_already_exist"):0)?"1"==AviviD.settings.is_aws?AviviD.regSafari_aws():AviviD.regSafari():AviviD.console("AviviD token exist")):(document.getElementById("avivid_requestPermission").style.display= "none",AviviD.set_cookie("AviviD_already_exist","1",1))},AviviD.trigger_requestPermission=function(a){"access"==a?(document.getElementById("avivid_requestPermission").style.display="none",0==(null!=AviviD.get_cookie("AviviD_already_exist")?AviviD.get_cookie("AviviD_already_exist"):0)?"1"==AviviD.settings.is_aws?AviviD.requestPermissionFCM_aws():AviviD.requestPermissionFCM():AviviD.console("AviviD token exist")):document.getElementById("avivid_requestPermission").style.display="none"},AviviD.page_view= function(){AviviD.page_view_num=parseInt(AviviD.get_cookie("page_view"),10)+1||1;10==AviviD.page_view_num&&(AviviD.page_view_num=0);AviviD.set_cookie_days("page_view",AviviD.page_view_num,1)},AviviD.uuid=AviviD.get_uuid(),AviviD.merge_uuid(),AviviD.loadScript=function(a,b){b=void 0===b?null:b;type=a.split(".").reverse()[0];switch(type){case "js":var c=document.createElement("script");c.type="text/javascript";c.src=a;break;case "css":c=document.createElement("link"),c.rel="stylesheet",c.type="text/css", null!=b&&(c.id=b),c.href=a}document.head.appendChild(c)},AviviD.compensation_subscribe=function(a){switch(a){case "accept":AviviD.set_cookie("AviviD_show_sub","1");AviviD.waterfall_disappear("avivid_waterfall_subscribe");a="magiplanet"==AviviD.web_id?"https://"+AviviD.web_id+".likr.app/pushEndPoint/subscribe/v2/sub.html?web_id="+AviviD.web_id+"&client_href="+AviviD.client_href+"&avivid_regid="+AviviD.avivid_regid+"&category_id="+AviviD.category_id:"https://"+AviviD.web_id+".likr.com.tw/pushEndPoint/subscribe/v2/sub.html?web_id="+ AviviD.web_id+"&client_href="+AviviD.client_href+"&avivid_regid="+AviviD.avivid_regid+"&category_id="+AviviD.category_id;AviviD.debugLog("go_to_subscribe :",a);window.open(a,AviviD.web_id+"_"+AviviD.category_id,"height=130, width=320, left=100, top=50");AviviD.fcm_sec_log("a","0");break;case "block":AviviD.set_cookie("AviviD_show_sub","1",7),AviviD.waterfall_disappear("avivid_waterfall_subscribe"),AviviD.waterfall_disappear("avivid_waterfall_subscribe_setting"),AviviD.fcm_sec_log("b","0")}},AviviD.compensation= function(){var a=null!=AviviD.get_cookie("AviviD_show_sub")?AviviD.get_cookie("AviviD_show_sub"):0;"1"===AviviD.settings.compensation_enable&&"1"===AviviD.settings.native_enable&&"0"===AviviD.settings.banner_native&&"0"===AviviD.settings.ad_banner_enable&&"1"!=a&&(AviviD.messaging&&AviviD.waterfall_subscribe_module&&AviviD.highest_zindex&&AviviD.subscribe_waterfall?AviviD.messaging.getToken().then(function(b){AviviD.console("token exists")})["catch"](function(b){AviviD.loadScript("https://avivid.likr.tw/api/avivid_waterfall_subscribe_v2.css", "AviviD_waterfall_subscribe");AviviD.loadScript("https://avivid.likr.tw/api/avivid_waterfall_webpush.css","AviviD_waterfall_webpush");jQuery("html").append(AviviD.waterfall_subscribe_module(1,"AviviD.compensation_subscribe"));AviviD.highest_zindex("avivid_waterfall");AviviD.subscribe_waterfall(screen.width,"avivid_waterfall_subscribe");jQuery("#avivid_waterfall_subscribe").on("mousemove click",function(c){var d=null!=AviviD.get_cookie("AviviD_already_exist")?AviviD.get_cookie("AviviD_already_exist"): 0;AviviD.fcm_sec_log("0",d);jQuery(this).unbind(c)})}):setTimeout(function(){AviviD.compensation()},500))},AviviD.checktoken=function(){AviviD.firebaseApp||AviviD.loadFirebase();AviviD.messaging?AviviD.messaging.getToken().then(function(a){console.log(a)})["catch"](function(a){console.log(a)}):setTimeout(function(){AviviD.checktoken()},500)},AviviD.fcm_sec_log=function(a,b){jQuery.ajax({url:"https://webpush-api02.likr.com.tw/pushServer/count_fcm_sec.php",xhrFields:{withCredentials:!1},type:"POST", data:{choose:a,web_id:AviviD.web_id,uuid:AviviD.uuid,already_exist:b},error:function(c,d,f){console.log("xhr :",c);console.log("ajaxOptions :",d);console.log("thrownError :",f);console.log("status code : "+c.status+" , ajaxOptions : "+d)}})},AviviD.banner_old=function(){"1"!=(null!=AviviD.get_cookie("AviviD_show_sub")?AviviD.get_cookie("AviviD_show_sub"):0)&&(AviviD.waterfall_subscribe_module&&AviviD.highest_zindex&&AviviD.subscribe_waterfall?(AviviD.loadScript("https://avivid.likr.tw/api/avivid_waterfall_subscribe_v2.css", "AviviD_waterfall_subscribe"),AviviD.loadScript("https://avivid.likr.tw/api/avivid_waterfall_webpush.css","AviviD_waterfall_webpush"),jQuery("html").append(AviviD.waterfall_subscribe_module(1,"AviviD.compensation_subscribe")),AviviD.highest_zindex("avivid_waterfall"),AviviD.subscribe_waterfall(screen.width,"avivid_waterfall_subscribe")):setTimeout(function(){AviviD.banner_old()},500))},AviviD.token_uuid_mapping=function(){null==AviviD.get_cookie("AviviD_token_retake")&&(void 0!=AviviD.messaging?AviviD.messaging.getToken().then(function(a){a? (a={web_id:AviviD.web_id,uuid:AviviD.uuid,token:a,webuserid:AviviD.webuserid},1==AviviD.ns_flag&&AviviD.settings.fp_msi!=AviviD.settings.SENDER_ID&&(a.web_id=AviviD.web_id+"1"),jQuery.ajax({url:"https://auto-load-balancer.likr.com.tw/pushServer/remapping.php",xhrFields:{withCredentials:!1},type:"POST",data:a,success:function(b){AviviD.set_cookie("AviviD_token_retake",1,30)},error:function(b,c,d){AviviD.set_cookie("AviviD_token_retake",0,7)}})):AviviD.set_cookie("AviviD_token_retake",0,7)})["catch"](function(a){AviviD.set_cookie("AviviD_token_retake", 0,7)}):setTimeout(function(){AviviD.token_uuid_mapping()},2E3))},AviviD.construct(AviviD.main));AviviD.DetectIE_Version=function(){var a=window.navigator.userAgent,b=a.indexOf("MSIE ");if(0<b)return parseInt(a.substring(b+5,a.indexOf(".",b)),10);if(0<a.indexOf("Trident/"))return b=a.indexOf("rv:"),parseInt(a.substring(b+3,a.indexOf(".",b)),10);b=a.indexOf("Edge/");return 0<b?parseInt(a.substring(b+5,a.indexOf(".",b)),10):0}; AviviD.waterfall=function(){var a=["20180802000001"],b=[];0<AviviD.DetectIE_Version()&&11>=AviviD.DetectIE_Version()||a.includes(AviviD.category_id)||(AviviD.get_urlparam("avivid_preview_ad")?AviviD.loadScript("https://avivid.likr.tw/api/ios_water_webpush_v21_addemo.js"):AviviD.get_urlparam("avivid_preview_onpage")||!b.includes(AviviD.web_id)?AviviD.loadScript("https://avivid.likr.tw/api/ios_water_webpush_v21.js"):AviviD.loadScript("https://avivid.likr.tw/api/ios_water_webpush_v19.min.js"))};AviviD.waterfall(); AviviD.checkme_start_callback=function(){var a=["damanwoo","punchline","pansci","euyoung"];AviviD.checkme_enable=null==AviviD.get_urlparam("avivid_checkme_enable")?1:AviviD.get_urlparam("avivid_checkme_enable");AviviD.get_urlparam("avivid_checkme_demo")?AviviD.loadScript("https://rhea-cache.advividnetwork.com/checkme/avivid_checkme_demo.js"):(AviviD.get_urlparam("avivid_preview_checkme")||a.includes(AviviD.web_id))&&AviviD.checkme_enable&&AviviD.loadScript("https://rhea-cache.advividnetwork.com/checkme/avivid_checkme.js")}; AviviD.checkme_start_callback();AviviD.notify_start_callback=function(){void 0===AviviD.settings.notify_enable?setTimeout(function(){AviviD.notify_start_callback()},500):(AviviD.notify_enable=null==AviviD.get_urlparam("avivid_notify_enable")?1:AviviD.get_urlparam("avivid_notify_enable"),(AviviD.get_urlparam("avivid_notify_enable")||"1"==AviviD.settings.notify_enable)&&AviviD.notify_enable&&AviviD.loadScript("https://avividone.likr.tw/line_notify/avivid_notify.js"))};AviviD.notify_start_callback(); AviviD.onsite_live=function(){var a=["pixnet"];void 0===AviviD.settings.live_onsite_enable?setTimeout(function(){AviviD.onsite_live()},500):AviviD.get_urlparam("avivid_live_demo")?AviviD.loadScript(" https://avivid.likr.tw/api/live_pixnet.js"):a.includes(AviviD.web_id)&&AviviD.settings.live_onsite_enable&&AviviD.loadScript(" https://avivid.likr.tw/api/live_onsite.js")};AviviD.onsite_live();AviviD.load_exsw_module=0; AviviD.load_exsw=function(){AviviD.load_exsw_module+=1;10>=AviviD.load_exsw_module&&("1"===AviviD.settings.native_enable&&1==AviviD.tget?AviviD.loadScript("https://avivid.likr.tw/api/subexsw_core.js"):(void 0===AviviD.settings.native_enable||void 0===AviviD.tget)&&setTimeout(function(){AviviD.load_exsw()},1E3))};"upmedia"!=AviviD.web_id&&"mirrormedia"!=AviviD.web_id||AviviD.load_exsw();AviviD.load_self_sw_module=0; AviviD.self_sw=function(){AviviD.load_self_sw_module+=1;10>=AviviD.load_self_sw_module&&("1"===AviviD.settings.native_enable?AviviD.loadScript("https://avivid.likr.tw/api/subselfsw_core.js"):void 0===AviviD.settings.native_enable&&setTimeout(function(){AviviD.self_sw()},1E3))};"upmedia"!=AviviD.web_id&&"managertoday"!=AviviD.web_id&&"babyhome"!=AviviD.web_id||AviviD.self_sw(); AviviD.bkad_notice=function(){"1"!=AviviD.get_cookie("AviviD_t_already_received")?AviviD.messaging?AviviD.messaging.getToken().then(function(a){var b=AviviD.UAResult;jQuery.ajax({url:"https://auto-load-balancer.likr.com.tw/pushServer/tkbkad.php",type:"POST",data:{web_id:AviviD.web_id,token:a,category_id:AviviD.category_id,avivid_regid:AviviD.avivid_regid,webuserid:AviviD.webuserid,uuid:AviviD.uuid,browser_ver:b.browser.version,os_ver:b.os.version,user_agent:b.ua,client_href:150<window.location.href.length? window.location.origin+"/?":window.location.href,os_type:AviviD.int_os_type,browser_type:AviviD.int_browser_type,avivid_tag:AviviD.avivid_tag},dataType:"json",xhrFields:{withCredentials:!1},success:function(c){AviviD.console("received");AviviD.set_cookie("AviviD_t_already_received","1",1)},error:function(c,d,f){AviviD.console("xhr :",c);AviviD.console("ajaxOptions :",d);AviviD.console("thrownError :",f);AviviD.console("status code : "+c.status+" , ajaxOptions : "+d)}})})["catch"](function(a){console.log("no subscribe")}): setTimeout(function(){AviviD.checktoken()},500):AviviD.console("user is done today")};AviviD.iframe_postMessage=function(){"add_to_cart"==AviviD.get_urlparam("avivid_event")?parent.postMessage(document.cookie,"https://brownie.likr.app"):"remove"==AviviD.get_urlparam("avivid_event")?parent.postMessage(document.cookie,"https://brownie.likr.app"):"purchase"==AviviD.get_urlparam("avivid_event")&&parent.postMessage(document.cookie,"https://brownie.likr.app")};AviviD.iframe_postMessage(); var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;$jscomp.ISOLATE_POLYFILLS=!1;$jscomp.FORCE_POLYFILL_PROMISE=!1;$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a}; $jscomp.getGlobal=function(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this);$jscomp.IS_SYMBOL_NATIVE="function"===typeof Symbol&&"symbol"===typeof Symbol("x");$jscomp.TRUST_ES6_POLYFILLS=!$jscomp.ISOLATE_POLYFILLS||$jscomp.IS_SYMBOL_NATIVE;$jscomp.polyfills={}; $jscomp.propertyToPolyfillSymbol={};$jscomp.POLYFILL_PREFIX="$jscp$";var $jscomp$lookupPolyfilledValue=function(a,b,c){if(!c||null!=a){c=$jscomp.propertyToPolyfillSymbol[b];if(null==c)return a[b];c=a[c];return void 0!==c?c:a[b]}};$jscomp.polyfill=function(a,b,c,d){b&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(a,b,c,d):$jscomp.polyfillUnisolated(a,b,c,d))}; $jscomp.polyfillUnisolated=function(a,b,c,d){c=$jscomp.global;a=a.split(".");for(d=0;d<a.length-1;d++){var e=a[d];if(!(e in c))return;c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&$jscomp.defineProperty(c,a,{configurable:!0,writable:!0,value:b})}; $jscomp.polyfillIsolated=function(a,b,c,d){var e=a.split(".");a=1===e.length;d=e[0];d=!a&&d in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var q=0;q<e.length-1;q++){var r=e[q];if(!(r in d))return;d=d[r]}e=e[e.length-1];c=$jscomp.IS_SYMBOL_NATIVE&&"es6"===c?d[e]:null;b=b(c);null!=b&&(a?$jscomp.defineProperty($jscomp.polyfills,e,{configurable:!0,writable:!0,value:b}):b!==c&&(void 0===$jscomp.propertyToPolyfillSymbol[e]&&(c=1E9*Math.random()>>>0,$jscomp.propertyToPolyfillSymbol[e]=$jscomp.IS_SYMBOL_NATIVE? $jscomp.global.Symbol(e):$jscomp.POLYFILL_PREFIX+c+"$"+e),$jscomp.defineProperty(d,$jscomp.propertyToPolyfillSymbol[e],{configurable:!0,writable:!0,value:b})))};$jscomp.underscoreProtoCanBeSet=function(){var a={a:!0},b={};try{return b.__proto__=a,b.a}catch(c){}return!1}; $jscomp.setPrototypeOf=$jscomp.TRUST_ES6_POLYFILLS&&"function"==typeof Object.setPrototypeOf?Object.setPrototypeOf:$jscomp.underscoreProtoCanBeSet()?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null;$jscomp.arrayIteratorImpl=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}};$jscomp.arrayIterator=function(a){return{next:$jscomp.arrayIteratorImpl(a)}}; $jscomp.makeIterator=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];if(b)return b.call(a);if("number"==typeof a.length)return $jscomp.arrayIterator(a);throw Error(String(a)+" is not an iterable or ArrayLike");};$jscomp.generator={};$jscomp.generator.ensureIteratorResultIsObject_=function(a){if(!(a instanceof Object))throw new TypeError("Iterator result "+a+" is not an object");}; $jscomp.generator.Context=function(){this.isRunning_=!1;this.yieldAllIterator_=null;this.yieldResult=void 0;this.nextAddress=1;this.finallyAddress_=this.catchAddress_=0;this.finallyContexts_=this.abruptCompletion_=null};$jscomp.generator.Context.prototype.start_=function(){if(this.isRunning_)throw new TypeError("Generator is already running");this.isRunning_=!0};$jscomp.generator.Context.prototype.stop_=function(){this.isRunning_=!1}; $jscomp.generator.Context.prototype.jumpToErrorHandler_=function(){this.nextAddress=this.catchAddress_||this.finallyAddress_};$jscomp.generator.Context.prototype.next_=function(a){this.yieldResult=a};$jscomp.generator.Context.prototype.throw_=function(a){this.abruptCompletion_={exception:a,isException:!0};this.jumpToErrorHandler_()};$jscomp.generator.Context.prototype["return"]=function(a){this.abruptCompletion_={"return":a};this.nextAddress=this.finallyAddress_}; $jscomp.generator.Context.prototype.jumpThroughFinallyBlocks=function(a){this.abruptCompletion_={jumpTo:a};this.nextAddress=this.finallyAddress_};$jscomp.generator.Context.prototype.yield=function(a,b){this.nextAddress=b;return{value:a}};$jscomp.generator.Context.prototype.yieldAll=function(a,b){var c=$jscomp.makeIterator(a),d=c.next();$jscomp.generator.ensureIteratorResultIsObject_(d);if(d.done)this.yieldResult=d.value,this.nextAddress=b;else return this.yieldAllIterator_=c,this.yield(d.value,b)}; $jscomp.generator.Context.prototype.jumpTo=function(a){this.nextAddress=a};$jscomp.generator.Context.prototype.jumpToEnd=function(){this.nextAddress=0};$jscomp.generator.Context.prototype.setCatchFinallyBlocks=function(a,b){this.catchAddress_=a;void 0!=b&&(this.finallyAddress_=b)};$jscomp.generator.Context.prototype.setFinallyBlock=function(a){this.catchAddress_=0;this.finallyAddress_=a||0};$jscomp.generator.Context.prototype.leaveTryBlock=function(a,b){this.nextAddress=a;this.catchAddress_=b||0}; $jscomp.generator.Context.prototype.enterCatchBlock=function(a){this.catchAddress_=a||0;a=this.abruptCompletion_.exception;this.abruptCompletion_=null;return a};$jscomp.generator.Context.prototype.enterFinallyBlock=function(a,b,c){c?this.finallyContexts_[c]=this.abruptCompletion_:this.finallyContexts_=[this.abruptCompletion_];this.catchAddress_=a||0;this.finallyAddress_=b||0}; $jscomp.generator.Context.prototype.leaveFinallyBlock=function(a,b){var c=this.finallyContexts_.splice(b||0)[0];if(c=this.abruptCompletion_=this.abruptCompletion_||c){if(c.isException)return this.jumpToErrorHandler_();void 0!=c.jumpTo&&this.finallyAddress_<c.jumpTo?(this.nextAddress=c.jumpTo,this.abruptCompletion_=null):this.nextAddress=this.finallyAddress_}else this.nextAddress=a};$jscomp.generator.Context.prototype.forIn=function(a){return new $jscomp.generator.Context.PropertyIterator(a)}; $jscomp.generator.Context.PropertyIterator=function(a){this.object_=a;this.properties_=[];for(var b in a)this.properties_.push(b);this.properties_.reverse()};$jscomp.generator.Context.PropertyIterator.prototype.getNext=function(){for(;0<this.properties_.length;){var a=this.properties_.pop();if(a in this.object_)return a}return null};$jscomp.generator.Engine_=function(a){this.context_=new $jscomp.generator.Context;this.program_=a}; $jscomp.generator.Engine_.prototype.next_=function(a){this.context_.start_();if(this.context_.yieldAllIterator_)return this.yieldAllStep_(this.context_.yieldAllIterator_.next,a,this.context_.next_);this.context_.next_(a);return this.nextStep_()}; $jscomp.generator.Engine_.prototype.return_=function(a){this.context_.start_();var b=this.context_.yieldAllIterator_;if(b)return this.yieldAllStep_("return"in b?b["return"]:function(c){return{value:c,done:!0}},a,this.context_["return"]);this.context_["return"](a);return this.nextStep_()}; $jscomp.generator.Engine_.prototype.throw_=function(a){this.context_.start_();if(this.context_.yieldAllIterator_)return this.yieldAllStep_(this.context_.yieldAllIterator_["throw"],a,this.context_.next_);this.context_.throw_(a);return this.nextStep_()}; $jscomp.generator.Engine_.prototype.yieldAllStep_=function(a,b,c){try{var d=a.call(this.context_.yieldAllIterator_,b);$jscomp.generator.ensureIteratorResultIsObject_(d);if(!d.done)return this.context_.stop_(),d;var e=d.value}catch(q){return this.context_.yieldAllIterator_=null,this.context_.throw_(q),this.nextStep_()}this.context_.yieldAllIterator_=null;c.call(this.context_,e);return this.nextStep_()}; $jscomp.generator.Engine_.prototype.nextStep_=function(){for(;this.context_.nextAddress;)try{var a=this.program_(this.context_);if(a)return this.context_.stop_(),{value:a.value,done:!1}}catch(b){this.context_.yieldResult=void 0,this.context_.throw_(b)}this.context_.stop_();if(this.context_.abruptCompletion_){a=this.context_.abruptCompletion_;this.context_.abruptCompletion_=null;if(a.isException)throw a.exception;return{value:a["return"],done:!0}}return{value:void 0,done:!0}}; $jscomp.generator.Generator_=function(a){this.next=function(b){return a.next_(b)};this["throw"]=function(b){return a.throw_(b)};this["return"]=function(b){return a.return_(b)};this[Symbol.iterator]=function(){return this}};$jscomp.generator.createGenerator=function(a,b){var c=new $jscomp.generator.Generator_(new $jscomp.generator.Engine_(b));$jscomp.setPrototypeOf&&a.prototype&&$jscomp.setPrototypeOf(c,a.prototype);return c}; $jscomp.asyncExecutePromiseGenerator=function(a){function b(d){return a.next(d)}function c(d){return a["throw"](d)}return new Promise(function(d,e){function q(r){r.done?d(r.value):Promise.resolve(r.value).then(b,c).then(q,e)}q(a.next())})};$jscomp.asyncExecutePromiseGeneratorFunction=function(a){return $jscomp.asyncExecutePromiseGenerator(a())};$jscomp.asyncExecutePromiseGeneratorProgram=function(a){return $jscomp.asyncExecutePromiseGenerator(new $jscomp.generator.Generator_(new $jscomp.generator.Engine_(a)))}; (function(a,b,c,d){a.jQuery||(a=b.getElementsByTagName(c)[0]||b.getElementsByTagName("head")[0],b=b.createElement(c),b.type="text/javascript",b.src=d,a.parentNode.insertBefore(b,a))})(window,document,"script","https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"); "undefined"===typeof UAParser&&function(a,b){var c={extend:function(g,h){var k={},m;for(m in g)k[m]=h[m]&&0===h[m].length%2?h[m].concat(g[m]):g[m];return k},has:function(g,h){return"string"===typeof g?-1!==h.toLowerCase().indexOf(g.toLowerCase()):!1},lowerize:function(g){return g.toLowerCase()},major:function(g){return"string"===typeof g?g.replace(/[^\d\.]/g,"").split(".")[0]:b},trim:function(g){return g.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},d=function(g,h){for(var k=0,m,v,w,l,x,t;k< h.length&&!x;){var z=h[k],B=h[k+1];for(m=v=0;m<z.length&&!x;)if(x=z[m++].exec(g))for(w=0;w<B.length;w++)t=x[++v],l=B[w],"object"===typeof l&&0<l.length?2==l.length?this[l[0]]="function"==typeof l[1]?l[1].call(this,t):l[1]:3==l.length?this[l[0]]="function"!==typeof l[1]||l[1].exec&&l[1].test?t?t.replace(l[1],l[2]):b:t?l[1].call(this,t,l[2]):b:4==l.length&&(this[l[0]]=t?l[3].call(this,t.replace(l[1],l[2])):b):this[l]=t?t:b;k+=2}},e=function(g,h){for(var k in h)if("object"===typeof h[k]&&0<h[k].length)for(var m= 0;m<h[k].length;m++){if(c.has(h[k][m],g))return"?"===k?b:k}else if(c.has(h[k],g))return"?"===k?b:k;return g},q={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2E3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},r={browser:[[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]+).+version\/([\w\.-]+)/i,/(opera).+version\/([\w\.]+)/i,/(opera)[\/\s]+([\w\.]+)/i],["name","version"],[/(opios)[\/\s]+([\w\.]+)/i],[["name","Opera Mini"],"version"], [/\s(opr)\/([\w\.]+)/i],[["name","Opera"],"version"],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]+)*/i,/(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?([\w\.]*)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(rekonq)\/([\w\.]+)*/i,/(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser)\/([\w\.-]+)/i],["name","version"],[/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i],[["name","IE"],"version"],[/(edge)\/((\d+)?[\w\.]+)/i],["name", "version"],[/(yabrowser)\/([\w\.]+)/i],[["name","Yandex"],"version"],[/(puffin)\/([\w\.]+)/i],[["name","Puffin"],"version"],[/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[["name","UCBrowser"],"version"],[/(comodo_dragon)\/([\w\.]+)/i],[["name",/_/g," "],"version"],[/(micromessenger)\/([\w\.]+)/i],[["name","WeChat"],"version"],[/(QQ)\/([\d\.]+)/i],["name","version"],[/m?(qqbrowser)[\/\s]?([\w\.]+)/i],["name","version"],[/xiaomi\/miuibrowser\/([\w\.]+)/i],["version",["name","MIUI Browser"]], [/;fbav\/([\w\.]+);/i],["version",["name","Facebook"]],[/(headlesschrome) ([\w\.]+)/i],["version",["name","Chrome Headless"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[["name",/(.+)/,"$1 WebView"],"version"],[/((?:oculus|samsung)browser)\/([\w\.]+)/i],[["name",/(.+(?:g|us))(.+)/,"$1 $2"],"version"],[/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i],["version",["name","Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],["name","version"],[/(dolfin)\/([\w\.]+)/i], [["name","Dolphin"],"version"],[/((?:android.+)crmo|crios)\/([\w\.]+)/i],[["name","Chrome"],"version"],[/(coast)\/([\w\.]+)/i],[["name","Opera Coast"],"version"],[/fxios\/([\w\.-]+)/i],["version",["name","Firefox"]],[/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i],["version",["name","Mobile Safari"]],[/version\/([\w\.]+).+?(mobile\s?safari|safari)/i],["version","name"],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],["name",["version",e,{"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416", "2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(konqueror)\/([\w\.]+)/i,/(webkit|khtml)\/([\w\.]+)/i],["name","version"],[/(navigator|netscape)\/([\w\.-]+)/i],[["name","Netscape"],"version"],[/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix)\/([\w\.-]+)/i,/(mozilla)\/([\w\.]+).+rv:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i, /(gobrowser)\/?([\w\.]+)*/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],["name","version"]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[["architecture","amd64"]],[/(ia32(?=;))/i],[["architecture",c.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[["architecture","ia32"]],[/windows\s(ce|mobile);\sppc;/i],[["architecture","arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[["architecture",/ower/,"",c.lowerize]],[/(sun4\w)[;\)]/i],[["architecture","sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+;))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i], [["architecture",c.lowerize]]],device:[[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i],["model","vendor",["type","tablet"]],[/applecoremedia\/[\w\.]+ \((ipad)/],["model",["vendor","Apple"],["type","tablet"]],[/(apple\s{0,1}tv)/i],[["model","Apple TV"],["vendor","Apple"]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad)/i,/(hp).+(tablet)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i],["vendor","model",["type","tablet"]],[/(kf[A-z]+)\sbuild\/[\w\.]+.*silk\//i], ["model",["vendor","Amazon"],["type","tablet"]],[/(sd|kf)[0349hijorstuw]+\sbuild\/[\w\.]+.*silk\//i],[["model",e,{"Fire Phone":["SD","KF"]}],["vendor","Amazon"],["type","mobile"]],[/\((ip[honed|\s\w*]+);.+(apple)/i],["model","vendor",["type","mobile"]],[/\((ip[honed|\s\w*]+);/i],["model",["vendor","Apple"],["type","mobile"]],[/(blackberry)[\s-]?(\w+)/i,/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]+)*/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i],["vendor", "model",["type","mobile"]],[/\(bb10;\s(\w+)/i],["model",["vendor","BlackBerry"],["type","mobile"]],[/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone)/i],["model",["vendor","Asus"],["type","tablet"]],[/(sony)\s(tablet\s[ps])\sbuild\//i,/(sony)?(?:sgp.+)\sbuild\//i],[["vendor","Sony"],["model","Xperia Tablet"],["type","tablet"]],[/android.+\s([c-g]\d{4}|so[-l]\w+)\sbuild\//i],["model",["vendor","Sony"],["type","mobile"]],[/\s(ouya)\s/i,/(nintendo)\s([wids3u]+)/i],["vendor","model", ["type","console"]],[/android.+;\s(shield)\sbuild/i],["model",["vendor","Nvidia"],["type","console"]],[/(playstation\s[34portablevi]+)/i],["model",["vendor","Sony"],["type","console"]],[/(sprint\s(\w+))/i],[["vendor",e,{HTC:"APA",Sprint:"Sprint"}],["model",e,{"Evo Shift 4G":"7373KT"}],["type","mobile"]],[/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i],["vendor","model",["type","tablet"]],[/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i,/(zte)-(\w+)*/i,/(alcatel|geeksphone|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]+)*/i], ["vendor",["model",/_/g," "],["type","mobile"]],[/(nexus\s9)/i],["model",["vendor","HTC"],["type","tablet"]],[/d\/huawei([\w\s-]+)[;\)]/i,/(nexus\s6p)/i],["model",["vendor","Huawei"],["type","mobile"]],[/(microsoft);\s(lumia[\s\w]+)/i],["vendor","model",["type","mobile"]],[/[\s\(;](xbox(?:\sone)?)[\s\);]/i],["model",["vendor","Microsoft"],["type","console"]],[/(kin\.[onetw]{3})/i],[["model",/\./g," "],["vendor","Microsoft"],["type","mobile"]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?(:?\s4g)?)[\w\s]+build\//i, /mot[\s-]?(\w+)*/i,/(XT\d{3,4}) build\//i,/(nexus\s6)/i],["model",["vendor","Motorola"],["type","mobile"]],[/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],["model",["vendor","Motorola"],["type","tablet"]],[/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[["vendor",c.trim],["model",c.trim],["type","smarttv"]],[/hbbtv.+maple;(\d+)/i],[["model",/^/,"SmartTV"],["vendor","Samsung"],["type","smarttv"]],[/\(dtv[\);].+(aquos)/i],["model",["vendor","Sharp"],["type","smarttv"]],[/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i, /((SM-T\w+))/i],[["vendor","Samsung"],"model",["type","tablet"]],[/smart-tv.+(samsung)/i],["vendor",["type","smarttv"],"model"],[/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i,/(sam[sung]*)[\s-]*(\w+-?[\w-]*)*/i,/sec-((sgh\w+))/i],[["vendor","Samsung"],"model",["type","mobile"]],[/sie-(\w+)*/i],["model",["vendor","Siemens"],["type","mobile"]],[/(maemo|nokia).*(n900|lumia\s\d+)/i,/(nokia)[\s_-]?([\w-]+)*/i],[["vendor","Nokia"],"model",["type","mobile"]],[/android\s3\.[\s\w;-]{10}(a\d{3})/i], ["model",["vendor","Acer"],["type","tablet"]],[/android.+([vl]k\-?\d{3})\s+build/i],["model",["vendor","LG"],["type","tablet"]],[/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i],[["vendor","LG"],"model",["type","tablet"]],[/(lg) netcast\.tv/i],["vendor","model",["type","smarttv"]],[/(nexus\s[45])/i,/lg[e;\s\/-]+(\w+)*/i,/android.+lg(\-?[\d\w]+)\s+build/i],["model",["vendor","LG"],["type","mobile"]],[/android.+(ideatab[a-z0-9\-\s]+)/i],["model",["vendor","Lenovo"],["type","tablet"]],[/linux;.+((jolla));/i], ["vendor","model",["type","mobile"]],[/((pebble))app\/[\d\.]+\s/i],["vendor","model",["type","wearable"]],[/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i],["vendor","model",["type","mobile"]],[/crkey/i],[["model","Chromecast"],["vendor","Google"]],[/android.+;\s(glass)\s\d/i],["model",["vendor","Google"],["type","wearable"]],[/android.+;\s(pixel c)\s/i],["model",["vendor","Google"],["type","tablet"]],[/android.+;\s(pixel xl|pixel)\s/i],["model",["vendor","Google"],["type","mobile"]],[/android.+(\w+)\s+build\/hm\1/i, /android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i,/android.+(mi[\s\-_]*(?:one|one[\s_]plus|note lte)?[\s_]*(?:\d\w)?)\s+build/i],[["model",/_/g," "],["vendor","Xiaomi"],["type","mobile"]],[/android.+;\s(m[1-5]\snote)\sbuild/i],["model",["vendor","Meizu"],["type","tablet"]],[/android.+a000(1)\s+build/i],["model",["vendor","OnePlus"],["type","mobile"]],[/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i],["model",["vendor","RCA"],["type","tablet"]],[/android.+[;\/]\s*(Venue[\d\s]*)\s+build/i],["model",["vendor", "Dell"],["type","tablet"]],[/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i],["model",["vendor","Verizon"],["type","tablet"]],[/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i],[["vendor","Barnes & Noble"],"model",["type","tablet"]],[/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i],["model",["vendor","NuVision"],["type","tablet"]],[/android.+[;\/]\s*(zte)?.+(k\d{2})\s+build/i],[["vendor","ZTE"],"model",["type","tablet"]],[/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i],["model",["vendor","Swiss"], ["type","mobile"]],[/android.+[;\/]\s*(zur\d{3})\s+build/i],["model",["vendor","Swiss"],["type","tablet"]],[/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i],["model",["vendor","Zeki"],["type","tablet"]],[/(android).+[;\/]\s+([YR]\d{2}x?.*)\s+build/i,/android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(.+)\s+build/i],[["vendor","Dragon Touch"],"model",["type","tablet"]],[/android.+[;\/]\s*(NS-?.+)\s+build/i],["model",["vendor","Insignia"],["type","tablet"]],[/android.+[;\/]\s*((NX|Next)-?.+)\s+build/i],["model", ["vendor","NextBook"],["type","tablet"]],[/android.+[;\/]\s*(Xtreme_?)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i],[["vendor","Voice"],"model",["type","mobile"]],[/android.+[;\/]\s*(LVTEL\-?)?(V1[12])\s+build/i],[["vendor","LvTel"],"model",["type","mobile"]],[/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i],["model",["vendor","Envizen"],["type","tablet"]],[/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(.*\b)\s+build/i],["vendor","model",["type","tablet"]],[/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i], ["model",["vendor","MachSpeed"],["type","tablet"]],[/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i],["vendor","model",["type","tablet"]],[/android.+[;\/]\s*TU_(1491)\s+build/i],["model",["vendor","Rotor"],["type","tablet"]],[/android.+(KS(.+))\s+build/i],["model",["vendor","Amazon"],["type","tablet"]],[/android.+(Gigaset)[\s\-]+(Q.+)\s+build/i],["vendor","model",["type","tablet"]],[/\s(tablet|tab)[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[["type",c.lowerize],"vendor","model"],[/(android.+)[;\/].+build/i], ["model",["vendor","Generic"]]],engine:[[/windows.+\sedge\/([\w\.]+)/i],["version",["name","EdgeHTML"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],["name","version"],[/rv:([\w\.]+).*(gecko)/i],["version","name"]],os:[[/microsoft\s(windows)\s(vista|xp)/i],["name","version"],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s]+\w)*/i,/(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i], ["name",["version",e,q]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[["name","Windows"],["version",e,q]],[/\((bb)(10);/i],[["name","BlackBerry"],"version"],[/(blackberry)\w*\/?([\w\.]+)*/i,/(tizen)[\/\s]([\w\.]+)/i,/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|contiki)[\/\s-]?([\w\.]+)*/i,/linux;.+(sailfish);/i],["name","version"],[/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]+)*/i],[["name","Symbian"],"version"],[/\((series40);/i],["name"],[/mozilla.+\(mobile;.+gecko.+firefox/i],[["name", "Firefox OS"],"version"],[/(nintendo|playstation)\s([wids34portablevu]+)/i,/(mint)[\/\s\(]?(\w+)*/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|[open]*suse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]+)*/i,/(hurd|linux)\s?([\w\.]+)*/i,/(gnu)\s?([\w\.]+)*/i],["name","version"],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[["name","Chromium OS"],"version"],[/(sunos)\s?([\w\.]+\d)*/i],[["name","Solaris"],"version"],[/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]+)*/i], ["name","version"],[/(haiku)\s(\w+)/i],["name","version"],[/cfnetwork\/.+darwin/i,/ip[honead]+(?:.*os\s([\w]+)*\slike\smac|;\sopera)/i],[["version",/_/g,"."],["name","iOS"]],[/(mac\sos\sx)\s?([\w\s\.]+\w)*/i,/(macintosh|mac(?=_powerpc)\s)/i],[["name","Mac OS"],["version",/_/g,"."]],[/((?:open)?solaris)[\/\s-]?([\w\.]+)*/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.]*)*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms)/i,/(unix)\s?([\w\.]+)*/i],["name","version"]]},f=function(g,h){this.name=g;this.version= h},p=function(g){this.architecture=g},n=function(g,h,k){this.vendor=g;this.model=h;this.type=k},u=function(g,h){"object"===typeof g&&(h=g,g=b);if(!(this instanceof u))return(new u(g,h)).getResult();var k=g||(a&&a.navigator&&a.navigator.userAgent?a.navigator.userAgent:""),m=h?c.extend(r,h):r,v=new f,w=new p,l=new n,x=new f,t=new f;this.getBrowser=function(){d.call(v,k,m.browser);v.major=c.major(v.version);return v};this.getCPU=function(){d.call(w,k,m.cpu);return w};this.getDevice=function(){d.call(l, k,m.device);return l};this.getEngine=function(){d.call(x,k,m.engine);return x};this.getOS=function(){d.call(t,k,m.os);return t};this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}};this.getUA=function(){return k};this.setUA=function(z){k=z;v=new f;w=new p;l=new n;x=new f;t=new f;return this};return this};u.VERSION="0.7.14";u.BROWSER={NAME:"name",MAJOR:"major",VERSION:"version"};u.CPU={ARCHITECTURE:"architecture"}; u.DEVICE={MODEL:"model",VENDOR:"vendor",TYPE:"type",CONSOLE:"console",MOBILE:"mobile",SMARTTV:"smarttv",TABLET:"tablet",WEARABLE:"wearable",EMBEDDED:"embedded"};u.ENGINE={NAME:"name",VERSION:"version"};u.OS={NAME:"name",VERSION:"version"};"undefined"!==typeof exports?("undefined"!==typeof module&&module.exports&&(exports=module.exports=u),exports.UAParser=u):"function"===typeof define&&define.amd?a.UAParser=u:a&&(a.UAParser=u);var y=a&&(a.jQuery||a.Zepto);if("undefined"!==typeof y){var A=new u;y.ua= A.getResult();y.ua.get=function(){return A.getUA()};y.ua.set=function(g){A.setUA(g);g=A.getResult();for(var h in g)y.ua[h]=g[h]}}}("object"===typeof window?window:this);"undefined"===typeof AviviD.UAParser&&(AviviD.UAParser=new UAParser,AviviD.UAResult=AviviD.UAParser.getResult());AviviD.console=function(a,b){"1"==AviviD.settings.console_enable&&console.log(a,void 0===b?"":b)}; "function"!=typeof AviviD.construct&&(AviviD.track_construct=function(a){window.jQuery?a():setTimeout(function(){AviviD.track_construct(a)},500)}); "function"!=typeof AviviD.main&&(AviviD.main=function(){AviviD.str_os_type=AviviD.detect_os_type();AviviD.int_os_type=AviviD.trans_os_type_to_number(AviviD.str_os_type);AviviD.str_browser_type=AviviD.detect_browser_type();AviviD.int_browser_type=AviviD.trans_browser_type_to_number(AviviD.str_browser_type);AviviD.client_href=encodeURIComponent(window.location.href);AviviD.geolocation={latitude:null,longitude:null,get_interval:1E4};AviviD.settings.ip_enable=void 0!=AviviD.settings.ip_enable?AviviD.settings.ip_enable: 1;AviviD.clientIP="_";AviviD.tracking_job()}); AviviD.tracking_job=function(){var a=document.referrer,b=window.location.href;AviviD.allowAwsCategoryid="20201119000006 20201209000002 20201126000001 20201119000004 20201209000001 20201222000001 20170531000006 20170626001000 20210413000002 20201123000001 20200827000002 20200727000001 20200521000001 20190626000001 20190816000013 20181005000001 20180905000003 20180802000001 20180920000003 20210422000001 20200903000001".split(" ");null==AviviD.settings.website_type?setTimeout(function(){1!=AviviD.settings.website_type&& 2!=AviviD.settings.website_type||AviviD.tracking_data_kinesis("landing",a,b,"_",AviviD.clientIP,AviviD.int_os_type,AviviD.int_browser_type)},1E3):(1==AviviD.settings.website_type||2==AviviD.settings.website_type)&&AviviD.tracking_data_kinesis("landing",a,b,"_",AviviD.clientIP,AviviD.int_os_type,AviviD.int_browser_type)}; AviviD.tracking_data_kinesis=function(a,b,c,d,e,q,r){Date.prototype.format=function(f){var p={"M+":this.getUTCMonth()+1,"d+":this.getUTCDate(),"h+":this.getUTCHours(),"m+":this.getUTCMinutes(),"s+":this.getUTCSeconds(),"q+":Math.floor((this.getUTCMonth()+3)/3),S:this.getUTCMilliseconds()};/(y+)/.test(f)&&(f=f.replace(RegExp.$1,(this.getUTCFullYear()+"").substr(4-RegExp.$1.length)));for(var n in p)(new RegExp("("+n+")")).test(f)&&(f=f.replace(RegExp.$1,1==RegExp.$1.length?p[n]:("00"+p[n]).substr((""+ p[n]).length)));return f};null!==AviviD.geolocation.latitude&&null!==AviviD.geolocation.longitude&&(e=AviviD.geolocation.latitude+";"+AviviD.geolocation.longitude);a={web_id:AviviD.web_id,uuid:AviviD.uuid,behavior_type:a,referrer_url:b,current_url:c,click_url:d,user_ip:e,os_type:q,browser_type:r,tracking_platform:AviviD.tracking_platform,title:void 0!=AviviD.title?AviviD.title:"_",datetime:(new Date).format("yyyy-MM-dd hh:mm:ss")};AviviD_tracking_data_aws_put={debug_mode:0,sdkSrc:"https://avivid.likr.tw/sample/aws-sdk-AviviD-min-1.000.3.js", region:"ap-southeast-1",IdentityPoolId:"ap-southeast-1:f46698d9-24cf-4242-8a3d-8707f45d1cfd",dataStreamName:"elephant",kinesis:"",credentialsStatus:!1,errorFlag:!1,errorMsg:"",construct:function(f){if("undefined"===typeof AviviD_AWS){var p=document.createElement("script");p.src=this.sdkSrc;document.head.appendChild(p);p.onload=function(){AviviD_tracking_data_aws_put.main(f)}}else AviviD_tracking_data_aws_put.main(f)},main:function(f){-1!=window.location.href.indexOf("AviviD_debug_mode=1")&&(this.debug_mode= 1);this.credentialsStatus||this.credentials_init();""==this.kinesis&&(this.kinesis=new AviviD_AWS.Kinesis);data_prepared=this.prepare_data(f);1==this.debug_mode&&(AviviD.console("The Data before putting in kinesis datastream:"),AviviD.console(data_prepared));this.kinesit_put_data(data_prepared);this.check_token(f)},credentials_init:function(){AviviD_AWS.config.region=this.region;ai="AKIATBR2IINU2ISIXU72";sa="FDEVKX8o7qNAS15wWQGgjDXeLti2NC8xEuhM/y7d";AviviD_AWS.config.credentials=new AviviD_AWS.Credentials(ai, sa,sessionToken=null);AviviD_AWS.config.maxRetries=5;AviviD_AWS.config.credentials.get(function(f){f?(console.error(f),AviviD_tracking_data_aws_put.errorFlag=!0,AviviD_tracking_data_aws_put.errorMsg=f):(AviviD_tracking_data_aws_put.credentialsStatus=!0,AviviD_tracking_data_aws_put.errorFlag=!1,AviviD_tracking_data_aws_put.errorMsg="")})},kinesit_put_data:function(f){this.kinesis.putRecord(f,function(p,n){p?(AviviD_tracking_data_aws_put.errorFlag=!0,AviviD_tracking_data_aws_put.errorMsg=p):(AviviD_tracking_data_aws_put.errorFlag= !1,AviviD_tracking_data_aws_put.errorMsg="")})},prepare_data:function(f){return{Data:JSON.stringify(f,function(p,n){return"undefined"===typeof n?"_":"uuid"==p?n.match(/^[a-zA-z0-9]{8}-[a-zA-z0-9]{4}-[a-zA-z0-9]{4}-[a-zA-z0-9]{4}-[a-zA-z0-9]{12}$/)?n:"_":n}),PartitionKey:this.uuid_generate(),StreamName:this.dataStreamName}},check_token:function(f){"granted"==Notification.permission&&(data_prepared_token=AviviD_tracking_data_aws_put.prepare_data_token(f),1==AviviD_tracking_data_aws_put.debug_mode&& (AviviD.console("The token Data before putting in kinesis datastream:"),AviviD.console(data_prepared_token)),AviviD_tracking_data_aws_put.kinesit_put_data(data_prepared_token))},prepare_data_token:function(f){return{Data:JSON.stringify(f,function(p,n){return"undefined"===typeof n?"_":"uuid"==p?n.match(/^[a-zA-z0-9]{8}-[a-zA-z0-9]{4}-[a-zA-z0-9]{4}-[a-zA-z0-9]{4}-[a-zA-z0-9]{12}$/)?n:"_":n}),PartitionKey:this.uuid_generate(),StreamName:"token-ip"}},uuid_generate:function(){var f=Date.now();"undefined"!== typeof performance&&"function"===typeof performance.now&&(f+=performance.now());return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(p){var n=(f+16*Math.random())%16|0;f=Math.floor(f/16);return("x"===p?n:n&3|8).toString(16)})}};AviviD_tracking_data_aws_put.construct(a)};"function"!=typeof AviviD.detect_is_mobile&&(AviviD.detect_is_mobile=function(a){return"Android"==a||"iOS"==a?!0:!1});"function"!=typeof AviviD.detect_os_type&&(AviviD.detect_os_type=function(){return AviviD.UAResult.os.name}); "function"!=typeof AviviD.trans_os_type_to_number&&(AviviD.trans_os_type_to_number=function(a){switch(a){case "Android":return"1";case "iOS":return"2";case "Mac OS":return"3";case "Windows":return"4";default:return"9"}});"function"!=typeof AviviD.detect_browser_type&&(AviviD.detect_browser_type=function(){var a=null!=navigator.userAgent.match(/line/i),b="iOS"==AviviD.UAResult.os.name;return a?"LINE":b?"iOS":AviviD.UAResult.browser.name}); "function"!=typeof AviviD.trans_browser_type_to_number&&(AviviD.trans_browser_type_to_number=function(a){switch(a){case "Chrome":return"1";case "Firefox":return"2";case "Safari":return"3";case "iOS":return"4";case "IE":return"5";case "Edge":return"6";case "Samsung Browser":return"8";default:return"9"}}); AviviD.run_tracking_data=function(){jQuery.ajax({url:"https://load-balancer.likr.com.tw/pushServer/get_client_ip_for_ring.php",type:"POST",dataType:"json",success:function(a){AviviD.clientIP=a;AviviD.tracking_job()},error:function(a,b,c){}})};"function"!=typeof AviviD.get_urlparam&&(AviviD.get_urlparam=function(a){a=new RegExp("(^|&)"+a+"=([^&]*)(&|$)");a=window.location.search.substr(1).match(a);return null!=a?unescape(a[2]):null}); "function"!=typeof AviviD.get_cookie&&(AviviD.get_cookie=function(a){a=document.cookie.match(new RegExp("(^| )"+a+"=([^;]*)(;|$)"));return null!=a?unescape(a[2]):null});"function"!=typeof AviviD.empty&&(AviviD.empty=function(a){if("number"==typeof a||"boolean"==typeof a)return!1;if("null"===a||"undefined"===a||"undefined"==typeof a||null===a)return!0;if("undefined"!=typeof a.length)return 0==a.length;var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return 0==b}); "function"!=typeof AviviD.get_uuid&&(AviviD.get_uuid=function(){AviviD.status.is_new_user_uuid="0";if(AviviD.get_urlparam("likr_id"))try{var a=window.atob(AviviD.get_urlparam("likr_id"));AviviD.set_cookie("AviviD_uuid",a);AviviD.set_cookie("uuid",a);AviviD.status.is_new_user_uuid="1";AviviD.uuid=a}catch(d){AviviD.set_cookie("AviviD_uuid","")}var b=AviviD.get_cookie("AviviD_uuid");if(AviviD.empty(b)){a=AviviD.detect_browser_type();var c=-1!=document.cookie.indexOf("hasCookiePermission=true");if("iOS"!= a&&"Safari"!=a||c)window.addEventListener("message",function(d){AviviD.uuid_origin=d.origin;if("https://auto-load-balancer.likr.com.tw"===AviviD.uuid_origin){d=null===d.data?AviviD.get_ios_uuid():d.data;AviviD.set_cookie("AviviD_uuid",d);AviviD.status.is_new_user_uuid="1";AviviD.uuid=d;var e=document.createElement("iframe");e.id="AviviD_ad_uuid_iframe";e.src="https://sun.advividnetwork.com/include_code/uuid_iframe.html?uuid="+d;e.style="display:none";document.body&&(document.body.appendChild(e),document.getElementById("AviviD_ad_uuid_iframe").style.display= "none");AviviD.set_cookie("AviviD_refresh_uuid_status",1)}},!1),a=document.createElement("iframe"),a.id="AviviD_likr_uuid_iframe",a.src="https://auto-load-balancer.likr.com.tw/pushEndPoint/uuid_gen/uuid_iframe.php",a.style="display:none",document.body?(document.body.appendChild(a),a=document.getElementById("AviviD_likr_uuid_iframe"),a.style.display="none"):setTimeout(function(){AviviD.get_uuid()},500);else return a=AviviD.get_ios_uuid(),AviviD.set_cookie("AviviD_uuid_safari",a),AviviD.uuid=a}else return!AviviD.empty(AviviD.web_id)&& (a=AviviD.get_cookie("AviviD_refresh_uuid_status"),AviviD.empty(a)||1==a)&&(window.addEventListener("message",function(d){AviviD.uuid_origin=d.origin;if("https://auto-load-balancer.likr.com.tw"===AviviD.uuid_origin){d=null===d.data?AviviD.get_ios_uuid():d.data;AviviD.set_cookie("AviviD_uuid",d);AviviD.status.is_new_user_uuid="1";b=AviviD.uuid=d;var e=document.createElement("iframe");e.id="AviviD_ad_uuid_iframe";e.src="https://sun.advividnetwork.com/include_code/uuid_iframe.html?uuid="+d;e.style="display:none"; document.body&&(document.body.appendChild(e),document.getElementById("AviviD_ad_uuid_iframe").style.display="none");AviviD.set_cookie("AviviD_refresh_uuid_status",2)}},!1),a=document.createElement("iframe"),a.id="AviviD_likr_uuid_iframe",a.src="https://auto-load-balancer.likr.com.tw/pushEndPoint/uuid_gen/uuid_iframe.php",a.style="display:none",document.body?(document.body.appendChild(a),a=document.getElementById("AviviD_likr_uuid_iframe"),a.style.display="none"):setTimeout(function(){AviviD.get_uuid()}, 500)),b},AviviD.get_ios_uuid=function(){var a=function(){var c=Date.now();"undefined"!==typeof performance&&"function"===typeof performance.now&&(c+=performance.now());return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(d){var e=(c+16*Math.random())%16|0;c=Math.floor(c/16);return("x"===d?e:e&3|8).toString(16)})},b="";AviviD.status.is_new_user_ios_uuid="0";null==AviviD.get_cookie("AviviD_ios_uuid")?null==localStorage.getItem("AviviD_ios_uuid")?(b=a(),AviviD.status.is_new_user_ios_uuid= "1"):b=localStorage.getItem("AviviD_ios_uuid"):b=AviviD.get_cookie("AviviD_ios_uuid");AviviD.set_cookie("AviviD_ios_uuid",b);AviviD.set_cookie("AviviD_uuid",b);localStorage.setItem("AviviD_ios_uuid",b);return b},AviviD.get_webuserid=function(){var a=AviviD.get_cookie("webuserid");AviviD.status.is_new_user_webuserid="0";a||(a=AviviD.gen_webuserid(),AviviD.set_cookie("webuserid",a),AviviD.status.is_new_user_webuserid="1");return a}); "function"!=typeof AviviD.set_cookie&&(AviviD.set_cookie=function(a,b,c){var d=AviviD.get_top_domain();c=c||3650;var e=new Date;e.setTime(e.getTime()+864E5*c);document.cookie=a+"="+escape(b)+";expires="+e.toGMTString()+";domain="+d+";path=/"}); "function"!=typeof AviviD.get_top_domain&&(AviviD.get_top_domain=function(){var a=window.location.host,b=a.split(".").length,c=a.split(".").reverse();return"2">=b?a:"3"==b?"com"===c[1]?a:c[1]+"."+c[0]:"4"==b?"com"===c[0]?c[1]+"."+c[0]:c[2]+"."+c[1]+"."+c[0]:c[2]+"."+c[1]+"."+c[0]});AviviD.continus_run_jquery=function(){window.jQuery?(AviviD.clientIP="_",AviviD.tracking_job()):setTimeout(function(){AviviD.continus_run_jquery()},500)}; "function"==typeof AviviD.track_construct?(AviviD.uuid=AviviD.get_uuid(),AviviD.track_construct(AviviD.main)):(void 0==AviviD.uuid&&(AviviD.uuid=AviviD.get_cookie("AviviD_uuid")),AviviD.geolocation={latitude:null,longitude:null,get_interval:1E4},AviviD.settings.ip_enable=void 0!=AviviD.settings.ip_enable?AviviD.settings.ip_enable:1,AviviD.continus_run_jquery());AviviD.user_enter_time="_";AviviD.total_stay_time=0;AviviD.click_url="_"; AviviD.user_local_storage=null==localStorage.getItem("user_timestamp")?null:JSON.parse(localStorage.getItem("user_timestamp")); AviviD.tracking_data_save=function(a,b,c,d,e,q){var r=[],f=null==localStorage.getItem("user_timestamp")?null:JSON.parse(localStorage.getItem("user_timestamp"));null!==f?(r=f,landing_time=f[0].landing_time,AviviD.total_stay_time=AviviD.time_difference(f[0].landing_time,q)):(landing_time=e,AviviD.total_stay_time=AviviD.time_difference(AviviD.user_enter_time,q));a={web_id:AviviD.web_id,uuid:AviviD.uuid,behavior_type:a,referrer_url:document.referrer,current_url:window.location.href,click_url:void 0!= b?b:"_",user_ip:c,os_type:d,browser_type:AviviD.int_browser_type,tracking_platform:AviviD.tracking_platform,title:void 0!=AviviD.title?AviviD.title:"_",datetime:e,landing_time:landing_time,leave_time:q,stay_time:AviviD.time_difference(e,q),total_stay_time:AviviD.total_stay_time};r.push(a);r=JSON.stringify(r);localStorage.setItem("user_timestamp",r)}; AviviD.time_difference=function(a,b){a=new Date(parseInt(a.split(" ")[0].split("-")[0]),parseInt(a.split(" ")[0].split("-")[1]),parseInt(a.split(" ")[0].split("-")[2]),parseInt(a.split(" ")[1].split(":")[0]),parseInt(a.split(" ")[1].split(":")[1]),parseInt(a.split(" ")[1].split(":")[2]));b=new Date(parseInt(b.split(" ")[0].split("-")[0]),parseInt(b.split(" ")[0].split("-")[1]),parseInt(b.split(" ")[0].split("-")[2]),parseInt(b.split(" ")[1].split(":")[0]),parseInt(b.split(" ")[1].split(":")[1]),parseInt(b.split(" ")[1].split(":")[2])); return Math.ceil((b-a)/1E3)};AviviD.gcs_subscription_post=function(a){null!==a?(send_data=JSON.parse(a),jQuery.ajax({url:"https://asia-east1-gaii-335704.cloudfunctions.net/customer_tracking",data:JSON.stringify(send_data[send_data.length-1]),type:"POST",dataType:"json",contentType:"application/json;charset=utf-8",xhrFields:{withCredentials:!1},success:function(b){AviviD.console(b)},error:function(b){AviviD.console(b.status)}})):window.setTimeout(function(){AviviD.gcs_subscription_post(a)},1E3)}; AviviD.aws_subscription_post=function(a){"undefined"!==typeof AviviD_AWS?null!==a&&(AviviD_AWS.config.region="ap-southeast-1",ai="AKIATBR2IINUW3Y6AWEJ",sa="1Dh6QNoT3l8OFJ+OLZfvnDc5bVleFKom5/jyzLgY",AviviD_AWS.config.credentials=new AviviD_AWS.Credentials(ai,sa,sessionToken=null),AviviD_AWS.config.maxRetries=5,a=JSON.parse(a),AviviD_AWS.config.credentials.get(function(b){if(b)console.error(b);else{b=new AviviD_AWS.Firehose;var c={DeliveryStreamName:"elephant-new",Record:{Data:JSON.stringify(a[a.length- 1])}};b.putRecord(c,function(d,e){d||AviviD.console("success")})}})):window.setTimeout(function(){AviviD.aws_subscription_post(a)},1E3)};AviviD.tracking_data_ip=function(){AviviD.clientIP="_"}; Date.prototype.time_format=function(a){var b={"M+":this.getUTCMonth()+1,"d+":this.getUTCDate(),"h+":this.getUTCHours(),"m+":this.getUTCMinutes(),"s+":this.getUTCSeconds(),"q+":Math.floor((this.getUTCMonth()+3)/3),S:this.getUTCMilliseconds()};/(y+)/.test(a)&&(a=a.replace(RegExp.$1,(this.getUTCFullYear()+"").substr(4-RegExp.$1.length)));for(var c in b)(new RegExp("("+c+")")).test(a)&&(a=a.replace(RegExp.$1,1==RegExp.$1.length?b[c]:("00"+b[c]).substr((""+b[c]).length)));return a}; AviviD.send_user_tracking=function(){AviviD.user_enter_time=(new Date).time_format("yyyy-MM-dd hh:mm:ss");AviviD.tracking_data_ip();var a=(new Date).getTime(),b=(new Date).getDate().toString();null==localStorage.getItem("user_enter_time")||null==localStorage.getItem("user_enter_date")?(localStorage.removeItem("user_timestamp"),window.setTimeout(function(){AviviD.tracking_data_save("landing",AviviD.click_url,AviviD.clientIP,AviviD.int_os_type,AviviD.user_enter_time,(new Date).time_format("yyyy-MM-dd hh:mm:ss"))}, 1E3)):null!==localStorage.getItem("user_enter_time")&&null!==localStorage.getItem("user_enter_date")&&(18E5<a-localStorage.getItem("user_enter_time")||localStorage.getItem("user_enter_date")!==b)&&(localStorage.removeItem("user_timestamp"),window.setTimeout(function(){AviviD.tracking_data_save("landing",AviviD.click_url,AviviD.clientIP,AviviD.int_os_type,AviviD.user_enter_time,(new Date).time_format("yyyy-MM-dd hh:mm:ss"))},1E3));window.setTimeout(function(){AviviD.aws_subscription_post(localStorage.getItem("user_timestamp"))}, 1E3);"94monster"==AviviD.web_id&&window.setTimeout(function(){AviviD.gcs_subscription_post(localStorage.getItem("user_timestamp"))},1E3);localStorage.setItem("user_enter_time",(new Date).getTime());localStorage.setItem("user_enter_date",(new Date).getDate());localStorage.removeItem("timestamp_saved");localStorage.setItem("timestamp_saved",!1);jQuery(document).on("click","a",function(c){AviviD.click_url=jQuery(this).attr("href");void 0!==AviviD.click_url&&AviviD.user_behavior()})}; AviviD.check_jQuery=function(){"function"==typeof jQuery?AviviD.send_user_tracking():setTimeout(function(){AviviD.check_jQuery()},1E3)};AviviD.check_jQuery();window.onbeforeunload=function(a){"false"==localStorage.getItem("timestamp_saved")&&AviviD.user_behavior()}; AviviD.user_behavior=function(){var a=localStorage.getItem("user_timestamp");null==a?window.setTimeout(function(){AviviD.tracking_data_save("landing",AviviD.click_url,AviviD.clientIP,AviviD.int_os_type,AviviD.user_enter_time,(new Date).time_format("yyyy-MM-dd hh:mm:ss"))},1E3):null!==a&&"_"!==AviviD.click_url?1==JSON.parse(a).length&&"_"==JSON.parse(a)[0].click_url?(a=JSON.parse(a)[0].landing_time,localStorage.removeItem("user_timestamp"),AviviD.tracking_data_save("landing",AviviD.click_url,AviviD.clientIP, AviviD.int_os_type,a,(new Date).time_format("yyyy-MM-dd hh:mm:ss"))):AviviD.tracking_data_save("click",AviviD.click_url,AviviD.clientIP,AviviD.int_os_type,AviviD.user_enter_time,(new Date).time_format("yyyy-MM-dd hh:mm:ss")):null!==a&&"_"==AviviD.click_url&&AviviD.tracking_data_save(JSON.parse(a)[JSON.parse(a).length-1].behavior_type,AviviD.click_url,AviviD.clientIP,AviviD.int_os_type,JSON.parse(a)[JSON.parse(a).length-1].landing_time,(new Date).time_format("yyyy-MM-dd hh:mm:ss"));localStorage.setItem("timestamp_saved", !0)};AviviD.sliding_start_callback=function(){void 0===AviviD.settings.sliding_enable||void 0===AviviD.block_killswitch?setTimeout(function(){AviviD.sliding_start_callback()},500):(AviviD.sliding_enable=null==AviviD.get_urlparam("avivid_sliding_enable")?1:AviviD.get_urlparam("avivid_sliding_enable"),(AviviD.get_urlparam("avivid_preview_sliding")||"1"==AviviD.settings.sliding_enable)&&AviviD.sliding_enable&&AviviD.block_killswitch.sliding_enable&&AviviD.loadScript("https://rhea-cache.advividnetwork.com/sliding_recommend/avivid_sliding_recommend.js"))}; AviviD.sliding_start_callback();AviviD.load_recommend_module_counting=0; AviviD.load_recommend_module=function(){AviviD.load_recommend_module_counting+=1;20>=AviviD.load_recommend_module_counting&&("1"===AviviD.settings.ad_block_enabled?AviviD.loadScript("https://rhea-cache.advividnetwork.com/include_js/recommendation_core.js"):void 0===AviviD.settings.ad_block_enabled&&(AviviD.console("AviviD.settings.ad_block_enabled:"+AviviD.settings.ad_block_enabled),setTimeout(function(){AviviD.load_recommend_module()},500)))};AviviD.load_recommend_module(); AviviD.load_block_preview=function(){0<parseInt(AviviD.get_urlparam("AviviD_block_preview"))&&AviviD.loadScript("https://waffle.likr.app/preview/preview_script.js")};AviviD.load_block_preview(); AviviD.detect_member_page=function(){AviviD.shopline_web_id="shopedh lab52 taichi nicelife millerpopcorn blueseeds buybiji funselect crystal168 menwen laegis jdgift ankoutfit loveofrain".split(" ");if(AviviD.shopline_web_id.includes(AviviD.web_id)&&document.URL.includes("sign_in"))jQuery("button[id^='sign-in']").on("click",function(){return $jscomp.asyncExecutePromiseGeneratorProgram(function(a){if(1==a.nextAddress)return acc=jQuery("input[name=mobile_phone_or_email]").val(),encoder=new TextEncoder, acc_data=encoder.encode(acc),a.yield(window.crypto.subtle.digest("SHA-256",acc_data),2);acc_hash_buffer=a.yieldResult;acc_hash_arr=Array.from(new Uint8Array(acc_hash_buffer));acc_hash=acc_hash_arr.map(function(b){return b.toString(16).padStart(2,"0")}).join("");localStorage.setItem("a_sign",acc_hash);a.jumpToEnd()})})};AviviD.detect_member_page(); </script>r--> <!-- modals --> <div id="kcm-modals"> <div class="modals__content"></div> </div> <div id="sso_g_signin"> </div> <!-- footer --> <div class="footerMain clearfix"> <div class="container"> <div class="footerWrap"> <div class="footerCol-column"> <div class="footerLogo"> <a href="https://www.kompas.com"> <img class="lozad" data-src="https://asset.kompas.com/data/2023/11/30/kompascom/desktop/images/logo-kompascom-small.png" alt="www.kompas.com" width="207" height="26"> </a> </div> <div class="footerSosmed"> <ul class="footerSosmed-wrap"> <li> <a href="http://www.facebook.com/kompascom" target="_blank" class="footerSosmed-link" aria-label="Facebook"> <div class="iconSos iconSos-facebook"></div> </a> </li> <li> <a href="http://www.twitter.com/kompascom" target="_blank" class="footerSosmed-link" aria-label="X"> <div class="iconSos iconSos-x"></div> </a> </li> <li> <a href="https://t.me/kompascomupdate" target="_blank" class="footerSosmed-link" aria-label="Telegram"> <div class="iconSos iconSos-telegram"></div> </a> </li> <li> <a href="http://instagram.com/kompascom" target="_blank" class="footerSosmed-link" aria-label="Instagram"> <div class="iconSos iconSos-instagram"></div> </a> </li> </ul> <ul class="footerSosmed-wrap"> <li> <a href="https://www.youtube.com/c/mykompascom" target="_blank" class="footerSosmed-link" aria-label="Youtube"> <div class="iconSos iconSos-youtube"></div> </a> </li> <li> <a href="https://kmp.im/AGFeTy" target="_blank" class="footerSosmed-link" aria-label="Whatsapp"> <div class="iconSos iconSos-whatsapp"></div> </a> </li> <li> <a href="https://line.me/ti/p/@kompas.com" target="_blank" class="footerSosmed-link" aria-label="Line"> <div class="iconSos iconSos-line"></div> </a> </li> <li> <a href="https://www.tiktok.com/@kompascom?lang=en" target="_blank" class="footerSosmed-link" aria-label="Tiktok"> <div class="iconSos iconSos-tiktok"></div> </a> </li> </ul> </div> <div class="footerDownload"> <ul class="footerDownload-wrap"> <li> <a href="https://apps.apple.com/id/app/kompas-com-berita-terpercaya/id535483055" target="_blank"> <div class="footerDownload-store"> <img class="lozad" data-src="https://asset.kompas.com/data/2017/mobile/images/id-badge-appstore.png" alt="apple store"> </div> </a> </li> <li> <a href="https://play.google.com/store/apps/details?id=com.ertanto.kompas.official&hl=en&gl=US" target="_blank"> <div class="footerDownload-store"> <img class="lozad" data-src="https://asset.kompas.com/data/2017/mobile/images/id-badge-playstore.png" alt="google store"> </div> </a> </li> </ul> </div> <div class="footerAchievement"> <div class="footerAchievement-title"> Penghargaan dan sertifikat: </div> <div class="footerAchievement-wrap"> <div class="footerAchievement-item"> <a href="#" class="footerAchievement-link"> <div class="footerAchievement-img"> <img class="lozad" data-src="https://asset.kompas.com/data/2017/wp/images/logo-wowbrands-2019.png" alt="WOW Brand Indonesia 2019" title="WOW Brand Indonesia 2019"> </div> </a> </div> <div class="footerAchievement-item"> <div class="footerAchievement-link"> <a href="https://money.kompas.com/read/2019/08/01/124215826/kompascom-kembali-jadi-pemenang-kategori-media-online-tepercaya" class="footerAchievement-link"> <div class="footerAchievement-img"> <img class="lozad" data-src="https://asset.kompas.com/data/2017/wp/images/logo-superbrands-2019.png" alt="Superbrand Indonesia 2019 - Trusted Online News" title="Superbrands Indonesia 2019"> </div> </a> </div> </div> <div class="footerAchievement-item"> <a href="https://ifcncodeofprinciples.poynter.org/profile/pt-kompas-cyber-media" class="footerAchievement-link" target="_blank"> <div class="footerAchievement-img"> <img class="lozad" data-src="https://asset.kompas.com/data/2024/wp/images/desktop/logo-ifcn.png" alt="International Fact-Checking Network" title="International Fact-Checking Network" loading="lazy"> </div> </a> </div> </div> </div> <div class="footerNewsletter"> <div class="footerNewsletter-title"> Dapatkan informasi dan insight pilihan redaksi Kompas.com </div> <div class="footerNewsletter-cta"> <a href="javascript:void(0)" onclick="nwsLetterSubmit()" class="footerNewsletter-link"> <i class="iconNewsletter"></i> Daftarkan Email </a> </div> </div> </div> <div class="footerCol-nav"> <div class="footerMenu-title">Kanal</div> <div class="footerMenu"> <ul class="footerMenu-wrap"> <li><a href="https://news.kompas.com?source=kompascom&medium=footer" class="footerMenu-link">News</a></li> <li><a href="https://nasional.kompas.com?source=kompascom&medium=footer" class="footerMenu-link">Nasional</a></li> <li><a href="https://www.kompas.com/global?source=kompascom&medium=footer" class="footerMenu-link">Global</a></li> <li><a href="https://megapolitan.kompas.com?source=kompascom&medium=footer" class="footerMenu-link">Megapolitan</a></li> <li><a href="https://regional.kompas.com?source=kompascom&medium=footer" class="footerMenu-link">Regional</a></li> <li><a href="https://pemilu.kompas.com/?source=kompascom&medium=footer" class="footerMenu-link">Pemilu</a></li> <!-- <li><a href="https://www.kompas.com/ramadhan/?source=kompascom&medium=footer" class="footerMenu-link --linknew">Ramadhan</a></li> --> <li><a href="https://ikn.kompas.com/?source=kompascom&medium=footer" class="footerMenu-link --linknew">IKN</a></li> <li><a href="https://bola.kompas.com?source=kompascom&medium=footer" class="footerMenu-link">Bola</a></li> <li><a href="https://tekno.kompas.com?source=kompascom&medium=footer" class="footerMenu-link">Tekno</a></li> <li><a href="https://otomotif.kompas.com?source=kompascom&medium=footer" class="footerMenu-link">Otomotif</a></li> <li><a href="https://entertainment.kompas.com?source=kompascom&medium=footer" class="footerMenu-link">Entertainment</a></li> <li><a href="https://sains.kompas.com?source=kompascom&medium=footer" class="footerMenu-link">Sains</a></li> <li><a href="https://health.kompas.com?source=kompascom&medium=footer" class="footerMenu-link">Health</a></li> <li><a href="https://money.kompas.com?source=kompascom&medium=footer" class="footerMenu-link">Money</a></li> <li><a href="https://www.kompas.com/tren?source=kompascom&medium=footer" class="footerMenu-link">Tren</a></li> <li><a href="https://properti.kompas.com?source=kompascom&medium=footer" class="footerMenu-link">Properti</a></li> <li><a href="https://lifestyle.kompas.com?source=kompascom&medium=footer" class="footerMenu-link">Lifestyle</a></li> <li><a href="https://www.kompas.com/hype?source=kompascom&medium=footer" class="footerMenu-link">Hype</a></li> <li><a href="https://travel.kompas.com?source=kompascom&medium=footer" class="footerMenu-link">Travel</a></li> <li><a href="https://www.kompas.com/homey?source=kompascom&medium=footer" class="footerMenu-link">Homey</a></li> <li><a href="https://www.kompas.com/food?source=kompascom&medium=footer" class="footerMenu-link">Food</a></li> <li><a href="https://umkm.kompas.com?source=kompascom&medium=footer" class="footerMenu-link">UMKM</a></li> <li><a href="https://edukasi.kompas.com?source=kompascom&medium=footer" class="footerMenu-link">Edukasi</a></li> <li><a href="https://www.kompas.com/parapuan?source=kompascom&medium=footer" class="footerMenu-link">Parapuan</a></li> <li><a href="https://foto.kompas.com?source=kompascom&medium=footer" class="footerMenu-link">Foto</a></li> <li><a href="https://video.kompas.com?source=kompascom&medium=footer" class="footerMenu-link">Video</a></li> <li><a href="https://kolom.kompas.com?source=kompascom&medium=footer" class="footerMenu-link">Kolom</a></li> <li><a href="https://vik.kompas.com?source=kompascom&medium=footer" class="footerMenu-link">VIK</a></li> <li><a href="https://jeo.kompas.com?source=kompascom&medium=footer" class="footerMenu-link">JEO</a></li> <li><a href="https://lestari.kompas.com?source=kompascom&medium=footer" class="footerMenu-link">Lestari</a></li> <li><a href="https://ohayojepang.kompas.com?source=kompascom&medium=footer" class="footerMenu-link">Ohayo Jepang</a></li> <li><a href="https://pesonaindonesia.kompas.com?source=kompascom&medium=footer" class="footerMenu-link">Pesona Indonesia</a></li> <li><a href="https://play.kompas.com?source=kompascom&medium=footer" class="footerMenu-link">Play</a></li> <li><a href="https://indeks.kompas.com/terpopuler?source=kompascom&medium=footer" class="footerMenu-link">Artikel Terpopuler</a></li> <li><a href="https://indeks.kompas.com?source=kompascom&medium=footer" class="footerMenu-link">Artikel Terkini</a></li> <li><a href="https://www.kompas.com/topik-pilihan?source=kompascom&medium=footer" class="footerMenu-link">Topik Pilihan</a></li> <li><a href="https://indeks.kompas.com/headline?source=kompascom&medium=footer" class="footerMenu-link">Artikel Headline</a></li> </ul> </div> </div> <div class="footerCol-nav --colNetwork"> <div class="footerMenu-title">Network</div> <div class="footerMenu"> <ul class="footerMenu-wrap"> <li><a href="https://kompas.com?source=kompascom&medium=footer" class="footerMenu-link" target="_blank">Kompas.com</a></li> <li><a href="https://kompas.id?source=kompascom&medium=footer" class="footerMenu-link" target="_blank">Harian KOMPAS</a></li> <li><a href="https://www.kompas.tv?source=kompascom&medium=footer" class="footerMenu-link" target="_blank">KompasTV</a></li> <li><a href="https://www.kompasiana.com?source=kompascom&medium=footer" class="footerMenu-link" target="_blank">Kompasiana</a></li> <li><a href="https://www.kgmedia.id?source=kompascom&medium=footer" class="footerMenu-link" target="_blank">KG Media</a></li> <li><a href="https://www.kgnow.com?source=kompascom&medium=footer" class="footerMenu-link" target="_blank">KGNow!</a></li> <li><a href="https://pasangiklan.com?source=kompascom&medium=footer" class="footerMenu-link" target="_blank">Pasangiklan.com</a></li> <li><a href="https://www.kontan.co.id?source=kompascom&medium=footer" class="footerMenu-link" target="_blank">Kontan</a></li> <li><a href="https://www.sonora.id?source=kompascom&medium=footer" class="footerMenu-link" target="_blank">Sonora</a></li> <li><a href="https://www.grid.id?source=kompascom&medium=footer" class="footerMenu-link" target="_blank">Grid.ID</a></li> <li><a href="https://www.gridoto.com?source=kompascom&medium=footer" class="footerMenu-link" target="_blank">GridOto.com</a></li> <li><a href="https://www.bolasport.com?source=kompascom&medium=footer" class="footerMenu-link" target="_blank">BolaSport.com</a></li> <li><a href="https://parapuan.co/?source=kompascom&medium=footer" class="footerMenu-link" target="_blank">Parapuan</a></li> <li><a href="https://www.tribunnews.com?source=kompascom&medium=footer" class="footerMenu-link" target="_blank">Tribunnews</a></li> <li><a href="https://www.gramedia.com?source=kompascom&medium=footer" class="footerMenu-link" target="_blank">Gramedia.com</a></li> <li><a href="https://ebooks.gramedia.com?source=kompascom&medium=footer" class="footerMenu-link" target="_blank">Gramedia Digital</a></li> </ul> </div> </div> </div> <div class="footerBottom"> <div class="footerBottom-wrap"> <ul class="footerBottom-menu"> <li> <a class="footerMenu-link" href="https://kabarpalmerah.kompas.com/">Kabar Palmerah</a> </li> <li> <a class="footerMenu-link" href="https://inside.kompas.com/about-us">About Us</a> </li> <li> <a class="footerMenu-link" href="http://www.meetkcm.com/">Advertise</a> </li> <li> <a class="footerMenu-link" href="https://inside.kompas.com/term-of-use">Ketentuan Penggunaan</a> </li> <li> <a class="footerMenu-link" href="https://www.kgmedia.id/legal-privacy-id">Kebijakan Data Pribadi</a> </li> <li> <a class="footerMenu-link" href="https://inside.kompas.com/pedoman">Pedoman Media Siber</a> </li> <li> <a class="footerMenu-link" href="https://jobs.kompas.com">Career</a> </li> <li> <a class="footerMenu-link" href="https://inside.kompas.com/about-us#meet">Contact Us</a> </li> </ul> </div> <div class="footerCopyright"> <p>Copyright 2008 - 2024 PT. Kompas Cyber Media (Kompas Gramedia Digital Group). All Rights Reserved.</p> </div> </div> </div> </div> </div> <script type="text/javascript"> function getCookieNwsLetter(name) { var re = new RegExp(name + "=([^;]+)"); var value = re.exec(document.cookie); return (value != null) ? unescape(value[1]) : null; } function nwsLetterSubmit() { var token = getCookieNwsLetter("kmp_uid"); if (token !== null) { window.location.href = "https://www.kompas.com/newsletter/pendaftaran-berhasil"; } else { window.location.href = 'https://account.kompas.com/login/a29tcGFz/aHR0cHM6Ly93d3cua29tcGFzLmNvbS9uZXdzbGV0dGVyL3BlbmRhZnRhcmFuLWJlcmhhc2ls?source=kompas.com&medium=gatenewsletter'; } } </script> <script type="text/javascript" src="https://asset.kompas.com/data/2024/10/24/kompascom/js/sso_g_signin_fedcm.min.js"></script> <!-- <script src="https://asset.kompas.com/data/2017/wp/js/radio-stream.js"></script> --> <script src="https://asset.kompas.com/data/2017/wp/js/slick.min.js"></script> <script src="https://asset.kompas.com/data/2017/wp/js/jquery.sticky-kit.min.js"></script> <script src="https://asset.kompas.com/data/2017/wp/js/jquery.marquee.min.js?v=11"></script> <script src="https://asset.kompas.com/data/2017/wp/js/jquery.lazyload.min.js"></script> <script src="https://asset.kompas.com/data/2024/02/22/kompascom/desktop/css/main.min.js"></script> <script src="https://asset.kompas.com/data/2024/02/27/sso/js/sso_personalisasi.min.js"></script> <script type="text/javascript" src="https://asset.kompas.com/data/2023/sso/js/sdk-cookie-consent-v3.min.js"></script> <script src="https://asset.kompas.com/data/2023/08/30/sso/js/extender.min.js"></script> <script src="https://asset.kompas.com/data/2022/sso/js/ssouser.min.js?v=2"></script> <script src="https://asset.kompas.com/data/2017/wp/js/main-photo-article.min.js?v=6"></script> <script src="https://asset.kompas.com/data/2017/wp/js/photoswipe.min.js"></script> <script src="https://asset.kompas.com/data/2017/wp/js/photoswipe-ui-default.min.js"></script> <script src="https://asset.kompas.com/data/2023/08/31/kompascom/desktop/js/main-article.min.js"></script> <script src="https://asset.kompas.com/data/2017/wp/js/bootstrap-datepicker.min.js"></script> <script src="https://asset.kompas.com/data/2017/wp/js/jquery.magnific-popup.min.js"></script> <script src="https://asset.kompas.com/data/2023/09/20/kompascom/desktop/js/main-comment.min.js"></script> <script> !(function () { var time = new Date().getTime(); $(document.body).bind('mousemove keypress', function(e) { time = new Date().getTime(); }); function refresh() { if (new Date().getTime() - time >= 900000) { // 15 Menit window.location.reload(true); } else { setTimeout(refresh, 10000); } } setTimeout(refresh, 10000); })(); </script> <script async src="https://asset.kompas.com/kgnotif/2024/11/06/kompascom.js"></script> <script> function setCookieUkid(cname, cvalue, exdays) { var d = new Date(); d.setTime(d.getTime() + (exdays*24*60*60*1000)); var expires = "expires="+ d.toUTCString(); document.cookie = cname + "=" + cvalue + ";" + expires + ";domain=.kompas.com;path=/;"; } if(document.cookie.indexOf('ukid=') == -1){ var xhttp = new XMLHttpRequest(); xhttp.onreadystatechange = function() { if (this.readyState == 4 && this.status == 200) { var ukid_cookie = JSON.parse(xhttp.responseText); setCookieUkid('ukid', ukid_cookie.ukid, 365); } }; xhttp.open("GET", "https://apis.kompas.com/api/activity/user", true); xhttp.send(); } </script><script> /*! lozad.js - v1.7.0 - 2018-11-08 * https://github.com/ApoorvSaxena/lozad.js * Copyright (c) 2018 Apoorv Saxena; Licensed MIT */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.lozad=e()}(this,function(){"use strict";var g=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},r="undefined"!=typeof document&&document.documentMode,l={rootMargin:"0px",threshold:0,load:function(t){if("picture"===t.nodeName.toLowerCase()){var e=document.createElement("img");r&&t.getAttribute("data-iesrc")&&(e.src=t.getAttribute("data-iesrc")),t.getAttribute("data-alt")&&(e.alt=t.getAttribute("data-alt")),t.appendChild(e)}t.getAttribute("data-src")&&(t.src=t.getAttribute("data-src")),t.getAttribute("data-srcset")&&t.setAttribute("srcset",t.getAttribute("data-srcset")),t.getAttribute("data-background-image")&&(t.style.backgroundImage="url('"+t.getAttribute("data-background-image")+"')"),t.getAttribute("data-toggle-class")&&t.classList.toggle(t.getAttribute("data-toggle-class"))},loaded:function(){}}; /** * Detect IE browser * @const {boolean} * @private */function f(t){t.setAttribute("data-loaded",!0)}var b=function(t){return"true"===t.getAttribute("data-loaded")};return function(){var r,o,a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:".lozad",t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},e=g({},l,t),n=e.root,i=e.rootMargin,d=e.threshold,u=e.load,c=e.loaded,s=void 0;return window.IntersectionObserver&&(s=new IntersectionObserver((r=u,o=c,function(t,e){t.forEach(function(t){(0<t.intersectionRatio||t.isIntersecting)&&(e.unobserve(t.target),b(t.target)||(r(t.target),f(t.target),o(t.target)))})}),{root:n,rootMargin:i,threshold:d})),{observe:function(){for(var t=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document;return t instanceof Element?[t]:t instanceof NodeList?t:e.querySelectorAll(t)}(a,n),e=0;e<t.length;e++)b(t[e])||(s?s.observe(t[e]):(u(t[e]),f(t[e]),c(t[e])))},triggerLoad:function(t){b(t)||(u(t),f(t),c(t))},observer:s}}}); </script> <script type="text/javascript"> // Initialize library $(document).ready(function(){ lozad('.lozad', { load: function(el) { el.src = el.dataset.src; el.onload = function() { el.classList.add('fade') } } }).observe() }); </script> <script src="https://asset.kompas.com/data/2024/08/26/kgmverify/js/kgmverify.min.js"></script> <script async> const handlePopup = { __kgmverify: ("; "+document.cookie).split("; __kgmverify=").pop().split(";").shift(), consentMode: localStorage.getItem("consentMode"), init: function() { let showKgmVerify = true; const listPopupElement = [ '#kgmModal-cookie', '.popup-kcmplus', 'body.-restricted' ]; for (let i = 0; i < listPopupElement.length; i++) { const popup = document.querySelector(`${listPopupElement[i]}`); if (listPopupElement[i] == '#kgmModal-cookie') { if (!!popup && this.consentMode == null) { showKgmVerify = false; break; } } else if (listPopupElement[i] == '.popup-kcmplus') { if (this.__kgmverify) { this.__kgmverify = JSON.parse(atob(this.__kgmverify)); let show = this.__kgmverify.show; let currentTime = new Date(); if (typeof show !== "undefined") { const showTime = new Date(show); if (showTime.getTime() > currentTime.getTime()) { this.popupKompasPlus(); showKgmVerify = false; break; } }else{ this.popupKompasPlus(); showKgmVerify = false; break; } } } else if (listPopupElement[i] == 'body.-restricted' && !!popup) { showKgmVerify = false; break; } } if (showKgmVerify) { KgmVerifyWidget({publisher: "kompascom"}); } }, popupKompasPlus: function() { const params = new URLSearchParams(window.location.search) // if (params.has('l') && params.get('l') == 'c' && getCookieKcmPlus('kcmplus_cookies') == 1) { // deleteCookieKcmPlus('kcmplus_cookies', '/', '.kompas.com'); // } if (getCookieKcmPlus('kmps_usrid') && getCookieKcmPlus('kcmplus_cookies') == '' && params.has('lgn_method') && params.get('lgn_method') != '') { // showPopupKcmPlus(); const icoClosePopup = document.querySelector('.icoClosePopup'); const kcmplusImg = document.querySelector('.popup-kcmplusImg'); icoClosePopup.addEventListener('click', function(event) { setCookieKcmPlus("kcmplus_cookies", 1, ""); }); kcmplusImg.addEventListener('click', function(event) { setCookieKcmPlus("kcmplus_cookies", 1, ""); }); } } } handlePopup.init() </script> <script async src="https://asset.kompas.com/data/2024/10/23/js/freepremium.js"></script> <script async src="https://asset.kompas.com/data/2024/10/23/js/kompasplus_reminder.js"></script> <script> var el_badge = document.querySelector('.sso__badge') var el_badge_menu = document.querySelector('.sso__badge__inline') function checkSession() { var badge_temp_session = getCookie("_badge_temp_session") var badge_session = getCookie("badge_session") var badge_first_click = getCookie("badge_first_click"); if (badge_temp_session == "" && badge_session == "") { setCookie("_badge_temp_session", 1) setCookie("badge_session", 1, 8760) // console.log("test badge temp 1") } else if (badge_temp_session == "" && badge_session == 1) { setCookie("_badge_temp_session", 1) setCookie("badge_session", 2, 8760) // console.log("test badge temp 2") } else if (badge_temp_session == "" && badge_session == 2 && badge_first_click == 1) { setCookie("_badge_temp_session", 1) setCookie("badge_session", 3, 8760) // console.log("test badge temp 3") } setCookie("_badge_temp_session", 1) } checkSession() function checkCookieBadgeNps() { var badge_session = getCookie("badge_session") var badge_first_click = getCookie("badge_first_click") var click_icon_badge = getCookie("click_icon_badge") var feedback_click = getCookie("feedback_click_badge") // show badge jika sesi berikutnya if (badge_session == 2) { el_badge.style.display = "block" el_badge_menu.style.display = "block" // console.log("test 1") } // jika ada di sesi berikutnya dan telah click badge icon utk pertama kali, maka hide badge icon login if (badge_session == 2 && badge_first_click == 1) { el_badge.style.display = "none" // console.log("test 2") // jika tidak cek, // jika ada di sesi berikutnya dan telah click badge icon utk pertama kali // atau jika di sesi berikutnya dan cookie click icon badge expired // atau jika di sesi berikutnya dan cookie badge feedback success expired } else if ((badge_session == 3 && badge_first_click == 1) || (badge_session == 3 && document.cookie.indexOf("click_icon_badge=") == -1) || (badge_session == 3 && document.cookie.indexOf("badge_feedback_success=") == -1)) { el_badge.style.display = "block" el_badge_menu.style.display = "block" // console.log("test 3") } // hide jika ada cookie click icon badge masih aktif // utk cek cookie 2 jam, 1 hari, 1 minggu dan 4 minggu. if (document.cookie.indexOf("click_icon_badge=") != -1) { el_badge.style.display = "none" // console.log("test 4") } // jika "Berikan masukkanmu" telah dikilk, maka hide // jika tidak cek jika sesi > 1 dan cookie feedback click badge "Berikan masukkanmu" expired, maka show if (document.cookie.indexOf("feedback_click_badge=") != -1) { el_badge_menu.style.display = "none" // console.log("test 5") } else if (badge_session > 1 && document.cookie.indexOf("feedback_click_badge=") == -1) { el_badge_menu.style.display = "block" // console.log("test 6") } // hide jika telah memberi penilaian if (document.cookie.indexOf("badge_feedback_success=") != -1) { el_badge.style.display = "none" el_badge_menu.style.display = "none" // console.log("test 7") } } checkCookieBadgeNps() var sso__icon__login_top = document.getElementById('sso__icon__login_top') sso__icon__login_top.addEventListener('click', function() { var badge_session = getCookie("badge_session") var badge_first_click = getCookie("badge_first_click") var feedback_success = getCookie("badge_feedback_success") var click_icon_badge = getCookie("click_icon_badge") var click_icon_counter_badge = getCookie("click_icon_counter_badge") if (feedback_success == "" || document.cookie.indexOf("badge_feedback_success=") == -1) { // click untuk pertama kali di sesi berikutnya if (badge_session == 2 && badge_first_click == "") { el_badge.style.display = "none" el_badge_menu.style.display = "block" setCookie("badge_first_click", 1, 8760) // console.log("click 1") // click jika sesi berikutnya setelah mengklik icon badge utk pertama kali } else { // jika belum ada cookie click icon badge // dan ada di sesi berikutnya setelah click icon pertama kali // dan counter click icon kosong atau 0 if (badge_session == 3 && click_icon_badge == "" && (click_icon_counter_badge == "" || click_icon_counter_badge == 0)) { setCookie("click_icon_counter_badge", 1, 8760) setCookie("click_icon_badge", 1, 2) el_badge.style.display = "none" el_badge_menu.style.display = "block" // console.log("clicked 1") // Jika cookie badge click icon expired dan counter = 1, maka set 1 hari } else if (document.cookie.indexOf("click_icon_badge=") == -1 && click_icon_counter_badge == 1) { setCookie("click_icon_counter_badge", parseInt(click_icon_counter_badge)+1, 8760) setCookie("click_icon_badge", 2, 24) el_badge.style.display = "none" el_badge_menu.style.display = "block" // console.log("clicked 2") // Jika cookie badge click icon expired dan counter = 2, maka set 1 minggu } else if (document.cookie.indexOf("click_icon_badge=") == -1 && click_icon_counter_badge == 2) { setCookie("click_icon_counter_badge", parseInt(click_icon_counter_badge)+1, 8760) setCookie("click_icon_badge", 3, 168) el_badge.style.display = "none" el_badge_menu.style.display = "block" // console.log("clicked 3") // Jika cookie badge click icon expired dan counter lebih dari 2, maka set 4 minggu } else if (document.cookie.indexOf("click_icon_badge=") == -1 && click_icon_counter_badge > 2) { setCookie("click_icon_counter_badge", 0, 8760) // reset badge counter click icon setCookie("click_icon_badge", 4, 672) el_badge.style.display = "none" el_badge_menu.style.display = "block" // console.log("clicked 4") } // console.log("click 2") } // jika feedback click expired dan counter >= 0, maka show var feedback_click_counter = getCookie("feedback_click_counter_badge") if (badge_session > 1 && document.cookie.indexOf("feedback_click_badge") == -1 && feedback_click_counter >= 0) { el_badge_menu.style.display = 'block' } } }) var feedback__item = document.getElementById('feedback__item') feedback__item.addEventListener("click", function() { var feedback_click = getCookie("feedback_click_badge") var feedback_success = getCookie("badge_feedback_success") var feedback_click_counter = getCookie("feedback_click_counter_badge") if (feedback_success == "" || document.cookie.indexOf("badge_feedback_success=") == -1) { // jika belum ada cookie feedback click counter, maka set 2 jam if (feedback_click_counter == "" || feedback_click_counter == 0) { setCookie("feedback_click_counter_badge", 1, 8760) setCookie("feedback_click_badge", 1, 2) el_badge_menu.style.display = "none" // console.log("feedback clicked 1") // Jika cookie feedback click badge expired dan counter 1, maka set 1 hari } else if (document.cookie.indexOf("feedback_click_badge=") == -1 && feedback_click_counter == 1) { setCookie("feedback_click_counter_badge", parseInt(feedback_click_counter)+1, 8760) setCookie("feedback_click_badge", 2, 24) el_badge_menu.style.display = "none" // console.log("feedback clicked 2") // Jika cookie feedback click badge expired dan counter 2, maka set 1 minggu } else if (document.cookie.indexOf("feedback_click_badge=") == -1 && feedback_click_counter == 2) { setCookie("feedback_click_counter_badge", parseInt(feedback_click_counter)+1, 8760) setCookie("feedback_click_badge", 3, 168) el_badge_menu.style.display = "none" // console.log("feedback clicked 3") // Jika cookie feedback click badge expired dan counter > 2, maka set 4 minggu } else if (document.cookie.indexOf("feedback_click_badge=") == -1 && feedback_click_counter > 2) { setCookie("feedback_click_counter_badge", 0, 8760) setCookie("feedback_click_badge", 4, 672) el_badge_menu.style.display = "none" // console.log("feedback clicked 4") } else { // jika di sesi sebelumnya sudah diklik tapi belum isi feedback el_badge_menu.style.display = "none" // console.log("feedback clicked 5") } } }) function setCookie(name,value,hour) { var expires = ""; if (hour) { var date = new Date(); date.setTime(date.getTime() + (hour*60*60*1000)); expires = "; expires=" + date.toUTCString(); } document.cookie = name + "=" + (value || "") + expires + "; ;domain=.kompas.com;path=/"; } function getCookie(cname) { var name = cname + "="; var decodedCookie = decodeURIComponent(document.cookie); var ca = decodedCookie.split(';'); for(var i = 0; i <ca.length; i++) { var c = ca[i]; while (c.charAt(0) == ' ') { c = c.substring(1); } if (c.indexOf(name) == 0) { return c.substring(name.length, c.length); } } return ""; } // action create cookie badge_feedback_success expired 90 hari var onSubmitNps = document.getElementById("nps-submit") if (onSubmitNps !== null) { onSubmitNps.addEventListener("click", function(e) { // e.preventDefault() setCookie("badge_feedback_success", 1, 2160) }) } </script><script> const showAllBtnJs = document.querySelector('#show_all_news') if (!!showAllBtnJs) { showAllBtnJs.addEventListener('click', function() { const startPage = showAllBtnJs.dataset.startPage const url = new URL(window.location.href); window.location.href = `${url.origin}${url.pathname}?page=all#page${startPage}`; }) } </script> <script> var addebug = document.querySelectorAll('.cpRight'); for (i = 0; i < addebug.length; ++i) { addebug[i].addEventListener('click', function handleClick() { googletag.openConsole(); }); }; </script><script type="text/javascript"> let kmps_usrid = getCookie("kmps_usrid"); let kmp_uid = getCookie("kmp_uid"); let lgn_w = getCookie("lgn_w"); if(kmp_uid && (!localStorage.getItem("sso_gender") || (JSON.parse(localStorage.getItem("sso_gender")).kmps_usrid != kmps_usrid))){ $.ajax({ "url": "https://apis.kompas.com/api/sso_new/user/detail?token="+kmp_uid+"&loginwith="+lgn_w, "method": "GET", "timeout": 0, }).done(function (response) { let gender = '' if(response['user']['gender']=='l'){ gender = 'male' } if(response['user']['gender']=='p'){ gender = 'female' } localStorage.setItem("sso_gender", JSON.stringify({'kmps_usrid':getCookie("kmps_usrid"), 'gender':gender})); }); } </script> <script> var inject_baca_juga = document.getElementsByClassName('inject-baca-juga'); if(inject_baca_juga.length > 0){ var xhr_auto_baca_juga = new XMLHttpRequest(); xhr_auto_baca_juga.open("POST", "https://recommendation.kgdata.dev/rec/kompascom/api/v2/recommendation/item", true); xhr_auto_baca_juga.setRequestHeader("Content-Type", "application/json"); xhr_auto_baca_juga.onreadystatechange = function () { if (xhr_auto_baca_juga.readyState === 4 && xhr_auto_baca_juga.status === 200) { var json_baca_juga = JSON.parse(xhr_auto_baca_juga.responseText); for (var i = 0; i < inject_baca_juga.length; i++) { inject_baca_juga[i].innerHTML = '<p><strong>Baca juga: <a href="'+json_baca_juga.items[i].url.replace('http:/','https:/')+'?source=bacajuga&engine=C" class="inner-link-baca-juga" target="_self">'+json_baca_juga.items[i].title+'</a></strong></p>'; } } }; var data = JSON.stringify({ "pageurl" : "https://travel.kompas.com/galeri", "pagetype" : "baca-juga" }); xhr_auto_baca_juga.send(data); } </script> <!-- (ads.ambient) --> <!-- (ads.outbrain) --> <!-- (ads.pickwords) --> <!-- (ads.avivid) --> </body> </html>