It looks like this is a web page, not a feed. I looked for a feed associated with this page, but couldn't find one. Please enter the address of your feed to validate.

Source: https://caribou.travel/expert/emily-shake-to-win

  1. <!DOCTYPE html><!-- Last Published: Fri Jul 26 2024 13:26:52 GMT+0000 (Coordinated Universal Time) --><html data-wf-domain="caribou.travel" data-wf-page="64d1f8d7c8eb554aa7393f25" data-wf-site="64d1f8d7c8eb554aa7393f33" lang="zh-HK" data-wf-collection="64d1f8d7c8eb554aa7393fad" data-wf-item-slug="emily-shake-to-win"><head><meta charset="utf-8"/><title>賞遊世界60國的Emily|Caribou Travel - 你的一對一旅遊預訂助手 - 輕鬆預訂 郵輪假期|精品酒店</title><link rel="alternate" hrefLang="x-default" href="https://caribou.travel/expert/emily-shake-to-win"/><link rel="alternate" hrefLang="zh-HK" href="https://caribou.travel/expert/emily-shake-to-win"/><link rel="alternate" hrefLang="en" href="https://caribou.travel/en/expert/emily-shake-to-win"/><meta content="" name="description"/><meta content="賞遊世界60國的Emily|Caribou Travel - 你的一對一旅遊預訂助手 - 輕鬆預訂 郵輪假期|精品酒店" property="og:title"/><meta content="" property="og:description"/><meta content="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f39/6506b2d0e3a78cfe0d51e41a_emily_profile.png" property="og:image"/><meta content="賞遊世界60國的Emily|Caribou Travel - 你的一對一旅遊預訂助手 - 輕鬆預訂 郵輪假期|精品酒店" property="twitter:title"/><meta content="" property="twitter:description"/><meta content="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f39/6506b2d0e3a78cfe0d51e41a_emily_profile.png" property="twitter:image"/><meta property="og:type" content="website"/><meta content="summary_large_image" name="twitter:card"/><meta content="width=device-width, initial-scale=1" name="viewport"/><link href="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/css/caribou-staging.webflow.79b28807c.min.css" rel="stylesheet" type="text/css"/><link href="https://fonts.googleapis.com" rel="preconnect"/><link href="https://fonts.gstatic.com" rel="preconnect" crossorigin="anonymous"/><script src="https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js" type="text/javascript"></script><script type="text/javascript">WebFont.load({  google: {    families: ["Noto Sans HK:regular,500,700","Poppins:regular,500,600,700","Manrope:regular,500,600,700"]  }});</script><script type="text/javascript">!function(o,c){var n=c.documentElement,t=" w-mod-";n.className+=t+"js",("ontouchstart"in o||o.DocumentTouch&&c instanceof DocumentTouch)&&(n.className+=t+"touch")}(window,document);</script><link href="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/64d1f8d7c8eb554aa7393f7a_Favicon.png" rel="shortcut icon" type="image/x-icon"/><link href="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/64d1f8d7c8eb554aa7393f7b_Webclip.png" rel="apple-touch-icon"/><!-- Google Tag Manager -->
  2. <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  3. new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  4. j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  5. 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  6. })(window,document,'script','dataLayer','GTM-WKGC5B3');</script>
  7. <!-- End Google Tag Manager -->
  8.  
  9. <meta name="agd-partner-manual-verification" />
  10.  
  11.  
  12. <!-- Meta Pixel Code -->
  13. <script>
  14. !function(f,b,e,v,n,t,s)
  15. {if(f.fbq)return;n=f.fbq=function(){n.callMethod?
  16. n.callMethod.apply(n,arguments):n.queue.push(arguments)};
  17. if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
  18. n.queue=[];t=b.createElement(e);t.async=!0;
  19. t.src=v;s=b.getElementsByTagName(e)[0];
  20. s.parentNode.insertBefore(t,s)}(window, document,'script',
  21. 'https://connect.facebook.net/en_US/fbevents.js');
  22. fbq('init', '921638962188869');
  23. fbq('track', 'PageView');
  24. </script>
  25. <noscript><img height="1" width="1" style="display:none"
  26. src="https://www.facebook.com/tr?id=921638962188869&ev=PageView&noscript=1"
  27. /></noscript>
  28. <!-- End Meta Pixel Code -->
  29.  
  30.  
  31. <!-- Custom Google Ad Tracking -->
  32. <script>
  33. function setCookie(name, value, days) {
  34.  var expires = "";
  35.  if (days) {
  36.    var date = new Date();
  37.    date.setTime(date.getTime() + days * 24 * 60 * 60 * 1000); // Set expiry to 30 days
  38.    expires = "; expires=" + date.toUTCString();
  39.  }
  40.  document.cookie =
  41.    name + "=" + encodeURIComponent(value || "") + expires + "; path=/";
  42. }
  43.  
  44. // Utility Functions
  45. function getCookie(name) {
  46.  var nameEQ = name + "=";
  47.  var ca = document.cookie.split(";");
  48.  for (var i = 0; i < ca.length; i++) {
  49.    var c = ca[i];
  50.    while (c.charAt(0) == " ") c = c.substring(1, c.length);
  51.    if (c.indexOf(nameEQ) == 0) {
  52.      var cookieValue = c.substring(nameEQ.length, c.length);
  53.      return decodeURIComponent(cookieValue);
  54.    }
  55.  }
  56.  return null;
  57. }
  58.  
  59. function getClientId() {
  60.  var gaCookie = getCookie("_ga");
  61.  if (gaCookie) {
  62.    var parts = gaCookie.split(".");
  63.    if (parts.length >= 4) {
  64.      return parts[2] + "." + parts[3];
  65.    }
  66.  }
  67.  return "";
  68. }
  69.  
  70. function getSessionId() {
  71.  var gaSessionCookie = getCookie("_ga_F643X6TL3D");
  72.  if (gaSessionCookie) {
  73.    var parts = gaSessionCookie.split(".");
  74.    if (parts.length >= 2) {
  75.      return parts[2];
  76.    }
  77.  }
  78.  return "";
  79. }
  80.  
  81. async function fetchHashId(hashObject) {
  82.  try {
  83.    const response = await fetch(
  84.      "https://caribou-hub-hub-pi.vercel.app/api/hash",
  85.      {
  86.        method: "POST",
  87.        headers: {
  88.          "Content-Type": "application/json",
  89.          "Caribou-Token": "76776d2b7be55bac4de727bec1030657",
  90.        },
  91.        body: JSON.stringify(hashObject),
  92.      }
  93.    );
  94.  
  95.    const data = await response.json();
  96.    if (response.ok && data) {
  97.      var hashID = data.uuid;
  98.      setCookie("caribou_hashID", hashID, 30);
  99.    } else {
  100.      console.error("API error or invalid response");
  101.    }
  102.  } catch (error) {
  103.    console.error("Error: ", error);
  104.  }
  105. }
  106.  
  107. var urlParams = new URLSearchParams(window.location.search);
  108. var keys = [
  109.  "adUID",
  110.  "network",
  111.  "campaignid",
  112.  "adgroupid",
  113.  "device",
  114.  "creative",
  115.  "keyword",
  116.  "gclid",
  117. ];
  118. var hasParams = keys.some((key) => urlParams.has(key));
  119. var adTracking = {}
  120.  
  121. if (hasParams) {
  122.  adTracking = {
  123.    adUID: urlParams.get("adUID") || "(no value)",
  124.    network: urlParams.get("network") || "(no value)",
  125.    campaignid: urlParams.get("campaignid") || "(no value)",
  126.    adgroupid: urlParams.get("adgroupid") || "(no value)",
  127.    device: urlParams.get("device") || "(no value)",
  128.    creative: urlParams.get("creative") || "(no value)",
  129.    keyword: urlParams.get("keyword") || "(no value)",
  130.    gclid: urlParams.get("gclid") || "(no value)",
  131.    timestamp: new Date().toISOString(),
  132.  };
  133.  
  134.  setCookie("adTracking", JSON.stringify(adTracking), 30); // Store in a cookie for 30 days
  135.  
  136. }
  137.  
  138. var hashObject = {
  139.  client_client: getClientId(),
  140.  session_id: getSessionId() || '',
  141. };
  142.  
  143. if (adTracking.gclid){
  144.  hashObject.gclid = adTracking.gclid
  145. }
  146.  
  147.  
  148.  
  149.  
  150. </script>
  151. <!-- End Custom Google Ad Tracking -->
  152.  
  153. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.4/jquery.min.js"></script></head><body class="full-page-body"><div class="div-block-24"><div class="embed-css w-embed"><style>
  154.  
  155. /* Loading Spinner */
  156. .loader {
  157.  display: block;
  158.  position: relative;
  159.  height: 32px;
  160.  width: 140px;
  161.  border: 3px solid #fff;
  162.  border-radius: 20px;
  163.  box-sizing: border-box;
  164.  animation: balancing 2s linear infinite alternate;
  165.  transform-origin: center center;
  166. }
  167.  
  168. .loader:before {
  169.  content: '';
  170.  position: absolute;
  171.  left: 0;
  172.  bottom: 0;
  173.  width: 52px;
  174.  height: 26px;
  175.  border-radius: 20px;
  176.  background: #FF911F;
  177.  animation: ballbns 2s linear infinite alternate;
  178. }
  179.  
  180. @keyframes ballbns {
  181.  0% {
  182.      left: 0;
  183.      transform: translateX(0%);
  184.  }
  185.  
  186.  100% {
  187.      left: 100%;
  188.      transform: translateX(-100%);
  189.  }
  190. }
  191.  
  192. @keyframes balancing {
  193.  0% {
  194.      transform: rotate(-25deg);
  195.  }
  196.  
  197.  50% {
  198.      transform: rotate(0deg);
  199.  }
  200.  
  201.  100% {
  202.      transform: rotate(25deg);
  203.  }
  204. }
  205.  
  206.  
  207.  
  208. </style></div><div class="loading-wrapper"><div class="w-embed"><span class="loader"></span></div><div class="w-embed"><style>
  209. /* Loading Spinner */
  210. .loader {
  211.    display: block;
  212.    position: relative;
  213.    height: 32px;
  214.    width: 140px;
  215.    border: 3px solid #fff;
  216.    border-radius: 20px;
  217.    box-sizing: border-box;
  218.    animation: balancing 2s linear infinite alternate;
  219.    transform-origin: center center;
  220. }
  221.  
  222. .loader:before {
  223.    content: '';
  224.    position: absolute;
  225.    left: 0;
  226.    bottom: 0;
  227.    width: 52px;
  228.    height: 26px;
  229.    border-radius: 20px;
  230.    background: #FF911F;
  231.    animation: ballbns 2s linear infinite alternate;
  232. }
  233.  
  234. @keyframes ballbns {
  235.    0% {
  236.        left: 0;
  237.        transform: translateX(0%);
  238.    }
  239.  
  240.    100% {
  241.        left: 100%;
  242.        transform: translateX(-100%);
  243.    }
  244. }
  245.  
  246. @keyframes balancing {
  247.    0% {
  248.        transform: rotate(-25deg);
  249.    }
  250.  
  251.    50% {
  252.        transform: rotate(0deg);
  253.    }
  254.  
  255.    100% {
  256.        transform: rotate(25deg);
  257.    }
  258. }
  259.  
  260.  
  261. </style></div></div><div class="embed-js-loading-spinner w-embed w-script"><script>
  262.  
  263. // Show the loading wrapper by default
  264. document.querySelector(".loading-wrapper").style.display = "flex"
  265.  
  266. </script></div><div data-animation="default" data-collapse="medium" data-duration="400" data-easing="ease" data-easing2="ease" role="banner" class="plain-navbar w-nav"><div class="plain-navbar-container w-container"><a href="/" class="plain-navbar-brand w-nav-brand"><img src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/653a0cc1720f1634ea7c29e9_Caribou-Logo.svg" loading="lazy" alt="" class="plain-navbar-img"/></a><nav role="navigation" class="plain-nav-menu w-nav-menu"><div data-hover="false" data-delay="0" class="nav-dropdown w-dropdown"><div class="nav-dropdown-toggle w-dropdown-toggle"><div class="nav-dropdown-toggle-text">旅遊產品</div><div class="nav-dropdown-toggle-icon"></div></div><nav class="nav-dropdown-list w-dropdown-list"><div class="nav-menu-collection-wrapper w-dyn-list"><div role="list" class="nav-menu-collection-list w-dyn-items"><div role="listitem" class="nav-menu-collection-item w-dyn-item"><a href="#" class="nav-menu-link w-dropdown-link">所有產品</a><div class="nav-menu-hidden-link">/tour-products</div></div><div role="listitem" class="nav-menu-collection-item w-dyn-item"><a href="#" class="nav-menu-link w-dropdown-link">郵輪假期</a><div class="nav-menu-hidden-link">/tour-products?searchKeyword=郵輪</div></div><div role="listitem" class="nav-menu-collection-item w-dyn-item"><a href="#" class="nav-menu-link w-dropdown-link">精選酒店</a><div class="nav-menu-hidden-link">/tour-products?searchKeyword=酒店</div></div><div role="listitem" class="nav-menu-collection-item w-dyn-item"><a href="#" class="nav-menu-link w-dropdown-link">旅遊套票</a><div class="nav-menu-hidden-link">/tour-products?searchKeyword=旅遊套票</div></div><div role="listitem" class="nav-menu-collection-item w-dyn-item"><a href="#" class="nav-menu-link w-dropdown-link">包車遊</a><div class="nav-menu-hidden-link">/tour-products?searchKeyword=包車遊</div></div></div></div></nav></div><a href="/advisors" class="nav-link w-nav-link">旅遊顧問</a><a href="/about-us" class="nav-link w-nav-link">關於我們</a><a href="#" class="nav-lang-dropdown-icon-wrapper w-inline-block"><div class="nav-lang-dropdown-icon w-embed"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
  267.  <path fill-rule="evenodd" clip-rule="evenodd" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z" stroke="#101820" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
  268.  <path d="M2 12H22" stroke="#101820" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
  269.  <path fill-rule="evenodd" clip-rule="evenodd" d="M12 2C14.5013 4.73835 15.9228 8.29203 16 12C15.9228 15.708 14.5013 19.2616 12 22C9.49872 19.2616 8.07725 15.708 8 12C8.07725 8.29203 9.49872 4.73835 12 2V2Z" stroke="#101820" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
  270. </svg></div><div class="locale-css w-embed"><style>
  271.  
  272. .nav-lang-dropdown-icon-wrapper:hover .nav-lang-dropdown-icon path {
  273. stroke:white;
  274. }
  275.  
  276. </style></div></a><div class="mobile-menu-language-currency-wrapper"><a id="mobile-menu-btn-language" href="#" class="mobile-menu-icon-btn w-inline-block"><img src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/64d1f8d7c8eb554aa7393f42_globe.svg" loading="lazy" alt="" class="mobile-menu-icon-btn-img"/><div class="mobile-menu-icon-btn-text mobile-menu-btn-text-language">繁體中文</div></a><a id="mobile-menu-btn-currency" href="#" class="mobile-menu-icon-btn w-inline-block"><div class="mobile-menu-icon-btn-img-text">$</div><div class="mobile-menu-icon-btn-text mobile-menu-btn-text-currency">HKD</div></a></div></nav><div class="navbar-menu-button plain-navbar-menu-button w-nav-button"><div class="w-icon-nav-menu"></div></div></div></div><section class="section narrow-section"><div class="w-layout-blockcontainer container w-container"><div class="breadcrumb-wrapper"><a href="/advisors" class="breadcrumb-link">旅遊顧問</a><img src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/64d1f8d7c8eb554aa7393f5a_breadcrumb-arrow.svg" loading="lazy" alt="" class="breadcrumb-arrow"/><div class="breadcrumb-text">賞遊世界60國的Emily</div></div><div class="advisor-profile-content-wrapper"><div id="w-node-_84591e5a-9a95-7737-f6f0-0de37668faea-a7393f25" class="advisor-profile-profile-wrapper"><div class="advisor-name-and-img-wrapper"><div style="background-image:url(&quot;https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f39/6506b2d0e3a78cfe0d51e41a_emily_profile.png&quot;)" class="advisor-profile-image advisor-profile-page"></div><div class="advisor-details-wrapper"><div class="advisor-header-wrapper"><div class="advisor-name-badge"><div class="advsior-name-wrapper"><h1 class="advisor-name-heading">賞遊世界60國的Emily</h1></div><div class="advisor-badge-wrapper"><img src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/64d1f8d7c8eb554aa7393f63_privacy-guard-success---filled(24x24)%401x%201.svg" loading="lazy" alt="" class="advisor-badge-icon"/><div class="advisor-badge-name">旅遊顧問</div></div></div></div><div class="advisor-number-wrapper"><div class="advisor-number-item"><div class="advisor-number-data">220</div><div class="advisor-number-description">地點</div></div><div class="advisor-number-item w-condition-invisible"><div class="advisor-number-data w-dyn-bind-empty"></div><div class="advisor-number-description">景點</div></div><div class="advisor-number-item"><div class="advisor-number-data">5</div><div class="advisor-number-description">活動</div></div></div></div></div></div><div id="w-node-e8a12f95-2677-40af-75c7-4d40e704cdbf-a7393f25" class="advisor-profile-details-wrapper"><div class="advisor-details advisor-details-top"><div class="about-advisor-block-wrapper"><div class="about-advisor-block"><div class="about-advisor-header-wrapper"><img src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/65533c51cf5bdf94e35b4c2d_user-square(24x24)%401x%201.svg" loading="lazy" alt="" class="about-advisor-header-image"/><h3 class="about-advisor-header-heading">簡介</h3></div><div class="about-us-description-wrapper"><div class="about-advisor-desc-less-wrapper"><div class="about-advisor-description about-advisor-description-collapsed w-richtext"><p>從六歲到現在,我一直堅持著夢想,用文字和照片記錄著每一次的旅行經歷,讓更多人看見這個世界。我是Emily,一名熱愛探索世界的旅行者,遊歷全球五大洲、60個國家和220座城市,對我而言,旅行不僅在於造訪的地方,更在於離開時帶走了什麼?如果你認為生命是一場充滿好奇心的冒險之旅,那麼我們就一起勇敢踏上這趟旅程。我曾出版電子書《流浪在世界每個角落》,下載量達到20萬次,寫過許多文化旅行專欄,還創立了幫助好奇心旅行者探索世界文化的APP,名為「賞遊地」。我在2009年建立了Facebook粉絲專頁《賞遊世界60國的Emily》,擁有11K粉絲。我喜愛探索各種奇妙的文化,了解當地人的生活,奉行慢旅行的理念,珍惜人生中的每一段歷程中遇上過的人。如果你也擁有巨大無比的好奇心,我們可以成為朋友,也許在旅途中會相遇。我的人生願望是「用一雙腳走遍世界更多值得被發現的地方,用一雙手幫助更多需要幫助的人」</p></div></div><div class="about-us-desc-more-wrapper"><div class="about-advisor-description about-advisor-description-expanded w-richtext"><p>從六歲到現在,我一直堅持著夢想,用文字和照片記錄著每一次的旅行經歷,讓更多人看見這個世界。我是Emily,一名熱愛探索世界的旅行者,遊歷全球五大洲、60個國家和220座城市,對我而言,旅行不僅在於造訪的地方,更在於離開時帶走了什麼?如果你認為生命是一場充滿好奇心的冒險之旅,那麼我們就一起勇敢踏上這趟旅程。我曾出版電子書《流浪在世界每個角落》,下載量達到20萬次,寫過許多文化旅行專欄,還創立了幫助好奇心旅行者探索世界文化的APP,名為「賞遊地」。我在2009年建立了Facebook粉絲專頁《賞遊世界60國的Emily》,擁有11K粉絲。我喜愛探索各種奇妙的文化,了解當地人的生活,奉行慢旅行的理念,珍惜人生中的每一段歷程中遇上過的人。如果你也擁有巨大無比的好奇心,我們可以成為朋友,也許在旅途中會相遇。我的人生願望是「用一雙腳走遍世界更多值得被發現的地方,用一雙手幫助更多需要幫助的人」</p></div></div><a data-w-id="ac727aa1-9765-24a1-6a61-14d19a652bde" href="#" class="btn-display-more w-inline-block"><div class="btn-display-text">顯示更多</div><img src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/64d1f8d7c8eb554aa7393f4f_arrow.svg" loading="lazy" alt="" class="btn-display-arrow"/></a><a data-w-id="86844537-acbb-a1a4-d547-b2cafd974c99" href="#" class="btn-display-less w-inline-block"><div class="btn-display-text">顯示更少</div><img src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/655344f70845ec3d96806d51_up.svg" loading="lazy" alt="" class="btn-display-arrow"/></a><div class="w-embed"><style>
  277.  
  278. .about-advisor-description-collapsed {
  279. display: -webkit-box;
  280.  -webkit-line-clamp: 3;
  281.  -webkit-box-orient: vertical;
  282.  overflow: hidden;
  283.  text-overflow: ellipsis;
  284. }
  285.  
  286. .about-advisor-description-collapsed p {
  287. display: contents;
  288. }
  289.  
  290. .about-advisor-description-collapsed p:after {
  291. content: "\A";
  292.  white-space:pre;
  293. }
  294.  
  295.  
  296. </style></div></div></div><div class="about-advisor-block"><div class="about-advisor-header-wrapper"><img src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/64d1f8d7c8eb554aa7393f66_beach(24x24)%401x%201.svg" loading="lazy" alt="" class="about-advisor-header-image"/><h3 class="about-advisor-header-heading">精通活動</h3></div><div class="advisor-text-list-wrapper"><div class="text-list-collection-list-wrapper w-dyn-list"><div role="list" class="text-list-collection-list w-dyn-items"><div role="listitem" class="text-list-collection-item w-dyn-item"><div>藝術</div></div><div role="listitem" class="text-list-collection-item w-dyn-item"><div>冥想</div></div><div role="listitem" class="text-list-collection-item w-dyn-item"><div>健康</div></div><div role="listitem" class="text-list-collection-item w-dyn-item"><div>行山</div></div><div role="listitem" class="text-list-collection-item w-dyn-item"><div>自然景觀</div></div><div role="listitem" class="text-list-collection-item w-dyn-item"><div>自然公園</div></div><div role="listitem" class="text-list-collection-item w-dyn-item"><div>設計</div></div><div role="listitem" class="text-list-collection-item w-dyn-item"><div>Cafe</div></div></div></div></div></div><div class="about-advisor-block"><div class="about-advisor-header-wrapper"><img src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/64d1f8d7c8eb554aa7393f64_location(24x24)%401x%201.svg" loading="lazy" alt="" class="about-advisor-header-image"/><h3 class="about-advisor-header-heading">精通地點</h3></div><div class="advisor-text-list-wrapper"><div class="text-list-collection-list-wrapper w-dyn-list"><div role="list" class="text-list-collection-list w-dyn-items"><div role="listitem" class="text-list-collection-item w-dyn-item"><div>冰島</div></div><div role="listitem" class="text-list-collection-item w-dyn-item"><div>阿拉斯加</div></div><div role="listitem" class="text-list-collection-item w-dyn-item"><div>荷蘭</div></div><div role="listitem" class="text-list-collection-item w-dyn-item"><div>西班牙</div></div><div role="listitem" class="text-list-collection-item w-dyn-item"><div>中國</div></div></div></div></div></div></div></div><div class="advisor-details w-condition-invisible"><h2 class="advisor-details-heading">旅遊產品</h2><div class="advisor-tour-products-collection-list-wrapper w-dyn-list"><div class="empty-state w-dyn-empty"><div>No items found.</div></div></div></div><div class="advisor-details"><h2 class="advisor-details-heading">旅遊紀錄</h2><div class="advisor-post-collection-list-wrapper w-dyn-list"><div role="list" class="advisor-post-collection-list w-dyn-items"><div role="listitem" class="advisor-post-collection-item w-dyn-item"><a href="/post/ninghai" class="advisor-post-wrapper w-inline-block"><div style="background-image:url(&quot;https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f39/6508709575fe96024913870c_%E5%AF%A7%E6%B5%B7.png&quot;)" class="advisor-post-img"></div><div class="advisor-post-details-wrapper"><div class="advisor-post-title">寧海 - 拋棄世俗的選擇才能收穫由心的快樂</div><div class="advisor-post-location-wrapper"><img alt="" loading="lazy" src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/64d1f8d7c8eb554aa7393f67_location-tag.svg" class="advisor-post-location-icon"/><div class="advisor-post-location">寧海</div></div></div></a></div><div role="listitem" class="advisor-post-collection-item w-dyn-item"><a href="/post/dunhuang" class="advisor-post-wrapper w-inline-block"><div style="background-image:url(&quot;https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f39/65086991e39f484d1e2e2e4a_%E6%95%A6%E7%85%8C.png&quot;)" class="advisor-post-img"></div><div class="advisor-post-details-wrapper"><div class="advisor-post-title">敦煌 - 在營營役役的世界尋找永恆不變的規律 </div><div class="advisor-post-location-wrapper"><img alt="" loading="lazy" src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/64d1f8d7c8eb554aa7393f67_location-tag.svg" class="advisor-post-location-icon"/><div class="advisor-post-location">敦煌</div></div></div></a></div><div role="listitem" class="advisor-post-collection-item w-dyn-item"><a href="/post/czech-prague" class="advisor-post-wrapper w-inline-block"><div style="background-image:url(&quot;https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f39/6508652910ba014cc630f1c4_%E5%B8%83%E6%8B%89%E6%A0%BC.png&quot;)" class="advisor-post-img"></div><div class="advisor-post-details-wrapper"><div class="advisor-post-title">漫遊布拉格 - 有一個地方只有我們知道</div><div class="advisor-post-location-wrapper"><img alt="" loading="lazy" src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/64d1f8d7c8eb554aa7393f67_location-tag.svg" class="advisor-post-location-icon"/><div class="advisor-post-location">布拉格</div></div></div></a></div><div role="listitem" class="advisor-post-collection-item w-dyn-item"><a href="/post/netherland-zaandam" class="advisor-post-wrapper w-inline-block"><div style="background-image:url(&quot;https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f39/65085ecc8e252bf313bad69c_%E8%B4%8A%E4%B8%B9.png&quot;)" class="advisor-post-img"></div><div class="advisor-post-details-wrapper"><div class="advisor-post-title">贊丹 - 從莫奈的25幅油畫裡走出來的童話小鎮</div><div class="advisor-post-location-wrapper"><img alt="" loading="lazy" src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/64d1f8d7c8eb554aa7393f67_location-tag.svg" class="advisor-post-location-icon"/><div class="advisor-post-location">贊丹</div></div></div></a></div><div role="listitem" class="advisor-post-collection-item w-dyn-item"><a href="/post/10-spain-granada" class="advisor-post-wrapper w-inline-block"><div style="background-image:url(&quot;https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f39/6508552888bf8585c25f9178_%E6%A0%BC%E6%8B%89%E7%B4%8D%E9%81%94.png&quot;)" class="advisor-post-img"></div><div class="advisor-post-details-wrapper"><div class="advisor-post-title">10 個打卡地體驗格拉納達</div><div class="advisor-post-location-wrapper"><img alt="" loading="lazy" src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/64d1f8d7c8eb554aa7393f67_location-tag.svg" class="advisor-post-location-icon"/><div class="advisor-post-location">格拉納達</div></div></div></a></div><div role="listitem" class="advisor-post-collection-item w-dyn-item"><a href="/post/6-attractions-amsterdam" class="advisor-post-wrapper w-inline-block"><div style="background-image:url(&quot;https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f39/65084cead7844d4aa106f9d8_%E9%98%BF%E5%A7%86%E6%96%AF%E7%89%B9%E4%B8%B9.png&quot;)" class="advisor-post-img"></div><div class="advisor-post-details-wrapper"><div class="advisor-post-title">6 個必打卡地體驗阿姆斯特丹</div><div class="advisor-post-location-wrapper"><img alt="" loading="lazy" src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/64d1f8d7c8eb554aa7393f67_location-tag.svg" class="advisor-post-location-icon"/><div class="advisor-post-location">阿姆斯特丹</div></div></div></a></div><div role="listitem" class="advisor-post-collection-item w-dyn-item"><a href="/post/8-spots-spain-madrid" class="advisor-post-wrapper w-inline-block"><div style="background-image:url(&quot;https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f39/6506cc255a7b654c49971b77_%E9%A6%AC%E5%BE%B7%E9%87%8C.png&quot;)" class="advisor-post-img"></div><div class="advisor-post-details-wrapper"><div class="advisor-post-title">8 個打卡地感受馬德里不思議</div><div class="advisor-post-location-wrapper"><img alt="" loading="lazy" src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/64d1f8d7c8eb554aa7393f67_location-tag.svg" class="advisor-post-location-icon"/><div class="advisor-post-location">馬德里</div></div></div></a></div><div role="listitem" class="advisor-post-collection-item w-dyn-item"><a href="/post/8-attractions-spain-valencia" class="advisor-post-wrapper w-inline-block"><div style="background-image:url(&quot;https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f39/6506c7c8ef3419468ecfca26_%E7%93%A6%E4%BC%A6%E8%A5%BF%E4%BA%9A.png&quot;)" class="advisor-post-img"></div><div class="advisor-post-details-wrapper"><div class="advisor-post-title">8 個地標玩轉西班牙瓦倫西亞</div><div class="advisor-post-location-wrapper"><img alt="" loading="lazy" src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/64d1f8d7c8eb554aa7393f67_location-tag.svg" class="advisor-post-location-icon"/><div class="advisor-post-location">瓦倫西亞</div></div></div></a></div><div role="listitem" class="advisor-post-collection-item w-dyn-item"><a href="/post/galicia-4" class="advisor-post-wrapper w-inline-block"><div style="background-image:url(&quot;https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f39/6506bd19afba43c69413fa90_14.png&quot;)" class="advisor-post-img"></div><div class="advisor-post-details-wrapper"><div class="advisor-post-title">加利西亞旅程亮點4:  跟著當地人去吃當地菜</div><div class="advisor-post-location-wrapper"><img alt="" loading="lazy" src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/64d1f8d7c8eb554aa7393f67_location-tag.svg" class="advisor-post-location-icon"/><div class="advisor-post-location">加利西亞</div></div></div></a></div><div role="listitem" class="advisor-post-collection-item w-dyn-item"><a href="/post/galicia-3" class="advisor-post-wrapper w-inline-block"><div style="background-image:url(&quot;https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f39/6506bc03303f42e64df354cc_11.png&quot;)" class="advisor-post-img"></div><div class="advisor-post-details-wrapper"><div class="advisor-post-title">旅程亮點3:住12世紀修道院,參加當地葡萄酒盛典</div><div class="advisor-post-location-wrapper"><img alt="" loading="lazy" src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/64d1f8d7c8eb554aa7393f67_location-tag.svg" class="advisor-post-location-icon"/><div class="advisor-post-location">加利西亞</div></div></div></a></div><div role="listitem" class="advisor-post-collection-item w-dyn-item"><a href="/post/galicia-2" class="advisor-post-wrapper w-inline-block"><div style="background-image:url(&quot;https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f39/6506b8c9f68c472192a187ae_8.png&quot;)" class="advisor-post-img"></div><div class="advisor-post-details-wrapper"><div class="advisor-post-title">加利西亞旅程亮點2:  住隱世小屋,認識老闆和老闆的一家人</div><div class="advisor-post-location-wrapper"><img alt="" loading="lazy" src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/64d1f8d7c8eb554aa7393f67_location-tag.svg" class="advisor-post-location-icon"/><div class="advisor-post-location">加利西亞</div></div></div></a></div><div role="listitem" class="advisor-post-collection-item w-dyn-item"><a href="/post/gallicia-1-wine-boat-fjord" class="advisor-post-wrapper w-inline-block"><div style="background-image:url(&quot;https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f39/6506b9a7cf44ceedc71e60c3_5.png&quot;)" class="advisor-post-img"></div><div class="advisor-post-details-wrapper"><div class="advisor-post-title">加利西亞旅程亮點 1:學習當地人懸崖峭壁種植葡萄的文化 - 乘船、品酒、欣賞自然峽灣的風景</div><div class="advisor-post-location-wrapper"><img alt="" loading="lazy" src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/64d1f8d7c8eb554aa7393f67_location-tag.svg" class="advisor-post-location-icon"/><div class="advisor-post-location">加利西亞</div></div></div></a></div><div role="listitem" class="advisor-post-collection-item w-dyn-item"><a href="/post/spain-galicia" class="advisor-post-wrapper w-inline-block"><div style="background-image:url(&quot;https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f39/6506b95ef68c472192a1df0f_1.png&quot;)" class="advisor-post-img"></div><div class="advisor-post-details-wrapper"><div class="advisor-post-title">遠離人煙的世外桃源西班牙- 加利西亞Galicia</div><div class="advisor-post-location-wrapper"><img alt="" loading="lazy" src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/64d1f8d7c8eb554aa7393f67_location-tag.svg" class="advisor-post-location-icon"/><div class="advisor-post-location">加利西亞</div></div></div></a></div></div></div></div></div></div></div></section><section class="section section-footer"><div class="footer-line"></div><div class="footer-wrapper"><div id="footer-item-themePage" class="footer-item"><div class="footer-item-header">主題</div><div class="footer-link-wrapper"><div class="nav-menu-collection-wrapper w-dyn-list"><div role="list" class="nav-menu-collection-list footer-link-collection w-dyn-items"><div role="listitem" class="nav-menu-collection-item w-dyn-item"><a href="/product-theme/resorts-world-one-cruise" class="footer-link">所有主題</a><div class="nav-menu-hidden-link">/product-themes/all</div></div><div role="listitem" class="nav-menu-collection-item w-dyn-item"><a href="/product-theme/resorts-world-one-cruise" class="footer-link">酒店</a><div class="nav-menu-hidden-link">/product-themes/hotels</div></div><div role="listitem" class="nav-menu-collection-item w-dyn-item"><a href="/product-theme/resorts-world-one-cruise" class="footer-link">郵輪</a><div class="nav-menu-hidden-link">/product-themes/cruises</div></div><div role="listitem" class="nav-menu-collection-item w-dyn-item"><a href="/product-theme/resorts-world-one-cruise" class="footer-link">其他</a><div class="nav-menu-hidden-link">/product-themes/others</div></div></div></div></div></div><div class="footer-item"><div class="footer-item-header">旅遊產品</div><div class="footer-link-wrapper"><div class="nav-menu-collection-wrapper w-dyn-list"><div role="list" class="nav-menu-collection-list footer-link-collection w-dyn-items"><div role="listitem" class="nav-menu-collection-item w-dyn-item"><a href="/product-theme/resorts-world-one-cruise" class="footer-link">所有產品</a><div class="nav-menu-hidden-link">/tour-products</div></div><div role="listitem" class="nav-menu-collection-item w-dyn-item"><a href="/product-theme/resorts-world-one-cruise" class="footer-link">郵輪假期</a><div class="nav-menu-hidden-link">/tour-products?searchKeyword=郵輪</div></div><div role="listitem" class="nav-menu-collection-item w-dyn-item"><a href="/product-theme/resorts-world-one-cruise" class="footer-link">精選酒店</a><div class="nav-menu-hidden-link">/tour-products?searchKeyword=酒店</div></div><div role="listitem" class="nav-menu-collection-item w-dyn-item"><a href="/product-theme/resorts-world-one-cruise" class="footer-link">旅遊套票</a><div class="nav-menu-hidden-link">/tour-products?searchKeyword=旅遊套票</div></div><div role="listitem" class="nav-menu-collection-item w-dyn-item"><a href="/product-theme/resorts-world-one-cruise" class="footer-link">包車遊</a><div class="nav-menu-hidden-link">/tour-products?searchKeyword=包車遊</div></div></div></div></div></div><div class="footer-item"><div class="footer-item-header">公司</div><div class="footer-link-wrapper"><a href="/about-us" class="footer-link">關於我們</a><a href="/join-us" class="footer-link">成為旅遊顧問</a><a href="/about-us#contact-us" class="footer-link">聯絡我們</a><a href="/terms-and-conditions" class="footer-link">條款及細則</a><a href="/privacy-policy" class="footer-link">私隱政策</a></div></div></div><div class="footer-bottom-wrapper"><div class="footer-copyright">© Caribou Technology Limited. All Rights Reserved. 旅行代理商牌照: Hip Holiday Ltd #353151</div><div class="footer-bottom-right-wrapper"><div class="footer-language-currency-wrapper"><a id="footer-btn-language" href="#" class="footer-icon-btn w-inline-block"><img src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/64d1f8d7c8eb554aa7393f42_globe.svg" loading="lazy" alt="" class="footer-icon-btn-img"/><div class="footer-icon-btn-text footer-btn-text-language">繁體中文</div></a><a id="footer-btn-currency" href="#" class="footer-icon-btn w-inline-block"><div class="footer-icon-btn-img-text">$</div><div class="footer-icon-btn-text footer-btn-text-currency">HKD</div></a></div><div class="footer-social-wrapper"><a href="https://www.facebook.com/enjoycaribou" target="_blank" class="footer-social-link w-inline-block"><img src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/65e6d3a346de8ad47b23af7d_Facebook.svg" loading="lazy" alt="" class="footer-social-link-img"/></a><a href="https://www.instagram.com/enjoycaribou/" target="_blank" class="footer-social-link w-inline-block"><img src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/65e6d3a30d65b5d2855d4ff7_Instagram.svg" loading="lazy" alt="" class="footer-social-link-img"/></a></div></div></div><div class="embed-utility-function w-embed w-script"><script>
  297.  
  298.  
  299. // Function to get a cookie
  300. function getCookie(name) {
  301.    var nameEQ = name + "=";
  302.    var ca = document.cookie.split(';');
  303.    for(var i=0;i < ca.length;i++) {
  304.        var c = ca[i];
  305.        while (c.charAt(0)==' ') c = c.substring(1,c.length);
  306.        if (c.indexOf(nameEQ) == 0) {
  307.            var cookieValue = c.substring(nameEQ.length, c.length);
  308.            return decodeURIComponent(cookieValue);
  309.        }
  310.    }
  311.    return null;
  312. }
  313.  
  314.  
  315.  
  316. </script></div><div class="language-popup-container"><div id="popup-language-currency" class="language-popup-wrapper"><div class="language-popup"><div class="language-popup-header"><a href="#" class="language-popup-close-btn w-inline-block"></a></div><div data-current="Tab 1" data-easing="ease" data-duration-in="300" data-duration-out="100" class="language-popup-tabs w-tabs"><div class="language-popup-tabs-menu w-tab-menu"><a data-w-tab="Tab 1" class="language-popup-tab-link w-inline-block w-tab-link w--current"><div>語言</div></a><a data-w-tab="Tab 2" class="language-popup-tab-link w-inline-block w-tab-link"><div>貨幣</div></a></div><div class="language-popup-tabs-content w-tab-content"><div data-w-tab="Tab 1" class="language-popup-tab-pane w-tab-pane w--tab-active"><div class="language-popup-tab-pane-wrapper"><div class="language-popup-header-text">選擇語言</div><div class="language-popup-locales-wrapper w-locales-list"><div role="list" class="language-popup-locales-list w-locales-items"><div role="listitem" class="language-popup-locale w-locales-item"><a hreflang="zh-HK" href="/expert/emily-shake-to-win" aria-current="page" class="language-popup-link w--current">繁體中文</a></div><div role="listitem" class="language-popup-locale w-locales-item"><a hreflang="en" href="/en/expert/emily-shake-to-win" class="language-popup-link">English</a></div></div></div></div></div><div data-w-tab="Tab 2" class="language-popup-tab-pane w-tab-pane"><div class="language-popup-tab-pane-wrapper"><div class="language-popup-header-text">選擇貨幣</div><div class="language-popup-currency-wrapper"><div currency="HKD" class="language-popup-link">港幣 HKD - $</div><div currency="SGD" class="language-popup-link">新加坡幣 SGD - $</div><div currency="USD" class="language-popup-link">美元 USD - $</div></div></div></div></div></div></div></div><div id="popup-language" class="language-popup-wrapper"><div class="language-popup"><div class="language-popup-header"><a href="#" class="language-popup-close-btn w-inline-block"></a></div><div class="language-popup-tab-pane-wrapper"><div class="language-popup-header-text">選擇語言</div><div class="language-popup-locales-wrapper w-locales-list"><div role="list" class="language-popup-locales-list w-locales-items"><div role="listitem" class="language-popup-locale w-locales-item"><a hreflang="zh-HK" href="/expert/emily-shake-to-win" aria-current="page" class="language-popup-link w--current">繁體中文</a></div><div role="listitem" class="language-popup-locale w-locales-item"><a hreflang="en" href="/en/expert/emily-shake-to-win" class="language-popup-link">English</a></div></div></div></div></div></div><div id="popup-currency" class="language-popup-wrapper"><div class="language-popup"><div class="language-popup-header"><a href="#" class="language-popup-close-btn w-inline-block"></a></div><div class="language-popup-tab-pane-wrapper"><div class="language-popup-header-text">選擇貨幣</div><div class="language-popup-currency-wrapper"><div currency="HKD" class="language-popup-link">港幣 HKD - $</div><div currency="SGD" class="language-popup-link">新加坡幣 SGD - $</div><div currency="USD" class="language-popup-link">美元 USD - $</div></div></div></div></div><div class="embed-language-currency w-embed w-script"><script>
  317.  
  318. // Function to manage the active class and set cookie
  319. function setActiveCurrency(currencyCode, updateUrl = true ) {
  320.    // Remove active class from all currency elements
  321.    document.querySelectorAll('.language-popup-link').forEach(function(element) {
  322.        element.classList.remove('active');
  323.    });
  324.  
  325.    // Add active class to the selected currency
  326.    document.querySelectorAll(`.language-popup-link[currency="${currencyCode}"]`).forEach(function(element) {
  327.        element.classList.add('active');
  328.    });
  329.  
  330.    // Set the currency in a cookie
  331.    setCookie('caribou_currency',currencyCode, 30); // Expires in 7 days
  332.    
  333.    // Update the footer btn text
  334.    const footerBtnTextCurrency = document.querySelector(".footer-btn-text-currency")
  335.    if (footerBtnTextCurrency) {
  336.        footerBtnTextCurrency.textContent = currencyCode
  337.    }
  338.    
  339.    // Update the mobile menu btn text
  340.    const mobileMenuBtnTextCurrency = document.querySelector(".mobile-menu-btn-text-currency")
  341.    if (mobileMenuBtnTextCurrency) {
  342.        mobileMenuBtnTextCurrency.textContent = currencyCode
  343.    }
  344.  
  345.    // Set the currency parameter in the URL if updateUrl is true
  346.    if (updateUrl) {
  347.        setUrlParameter('curr', currencyCode);
  348.    }
  349. }
  350.  
  351.  
  352. // Function to manage the active language and set cookie
  353. function setActiveLanguage(langCode) {
  354.    // Mapping of hreflang to cookie values
  355.    const langCookieMap = {
  356.        'zh-HK': 'zh-Hant-HK',
  357.        'en': 'en'
  358.    }
  359.  
  360.    // Determine the cookie value using the mapping, default to the langCode if not found
  361.    const cookieValue = langCookieMap[langCode] || langCode
  362.  
  363.    // Set the cookie for 30 days
  364.    setCookie('caribou_language', cookieValue, 30)
  365. }
  366.  
  367.  
  368. // Initialize or set default active currency based on cookie
  369. function initCurrency() {
  370.    const currencyParam = getUrlParameter('curr');
  371.    if (currencyParam) {
  372.        setActiveCurrency(currencyParam);
  373.    } else {
  374.        var savedCurrency = getCookie('caribou_currency');
  375.        if (savedCurrency) {
  376.            setActiveCurrency(savedCurrency, false);
  377.        } else {
  378.            const defaultCurrency = 'HKD'; // Default to HKD if no cookie is found
  379.            setActiveCurrency(defaultCurrency, false);
  380.        }
  381.    }
  382. }
  383.  
  384. // Function to get URL parameters
  385. function getUrlParameter(name) {
  386.    name = name.replace(/[\[\]]/g, '\\$&');
  387.    const urlParams = new URLSearchParams(window.location.search);
  388.    return urlParams.get(name);
  389. }
  390.  
  391. // Function to set URL parameters
  392. function setUrlParameter(param, value) {
  393.    const url = new URL(window.location.href);
  394.    url.searchParams.set(param, value);
  395.    window.history.replaceState(null, '', url.toString());
  396. }
  397.  
  398. // Function to add event listener
  399. function addPopupEventListener() {
  400.    const navToggle = document.querySelector(".nav-lang-dropdown-icon-wrapper")
  401.    const footerBtnLanguage = document.querySelector("#footer-btn-language")
  402.    const footerBtnCurrency = document.querySelector("#footer-btn-currency")
  403.    const mobileMenuBtnLanguage = document.querySelector("#mobile-menu-btn-language")
  404.    const mobileMenuBtnCurrency = document.querySelector("#mobile-menu-btn-currency")
  405.  
  406.    // Show popup for both language and currency when nav toggle has been clicked
  407.    if (navToggle) {
  408.        navToggle.addEventListener("click", function() {
  409.            document.querySelector("#popup-language-currency").style.display = "flex"
  410.        })
  411.    }
  412.    
  413.    // Show popup for language when the footerBtnLanguage has been clicked
  414.    if (footerBtnLanguage) {
  415.        footerBtnLanguage.addEventListener("click", function() {
  416.            document.querySelector("#popup-language").style.display = "flex"
  417.        })
  418.    }
  419.    
  420.    // Show popup for currency when the footerBtnCurrency has been clicked
  421.    if (footerBtnCurrency) {
  422.        footerBtnCurrency.addEventListener("click", function() {
  423.            document.querySelector("#popup-currency").style.display = "flex"
  424.        })
  425.    }
  426.    
  427.    // Show popup for language when the mobileMenuBtnLanguage has been clicked
  428.    if (mobileMenuBtnLanguage) {
  429.        mobileMenuBtnLanguage.addEventListener("click", function() {
  430.            document.querySelector("#popup-language").style.display = "flex"
  431.        })
  432.    }
  433.  
  434.    // Show popup for currency when the mobileMenuBtnCurrency has been clicked
  435.    if (mobileMenuBtnCurrency) {
  436.        mobileMenuBtnCurrency.addEventListener("click", function(){
  437.            document.querySelector("#popup-currency").style.display = "flex"
  438.        })
  439.    }
  440.  
  441. }
  442.  
  443.  
  444. document.addEventListener('DOMContentLoaded', function() {
  445.  
  446.    initCurrency();
  447.    addPopupEventListener()
  448.  
  449.    // Close the popup
  450.    document.querySelectorAll(".language-popup-close-btn").forEach(function(element) {
  451.        element.addEventListener("click", function(){
  452.            // Find the cloest language-popup-wrapper and hide it
  453.            let popupWrapper = this.closest(".language-popup-wrapper")
  454.            if (popupWrapper) {
  455.                popupWrapper.style.display = "none"
  456.            }
  457.        })
  458.    })
  459.  
  460.    // Add click event listeners to all currency elements
  461.    document.querySelectorAll('.language-popup-currency-wrapper .language-popup-link').forEach(function(element) {
  462.        element.addEventListener('click', function() {
  463.            const currentCurrencyCode = getCookie('caribou_currency')
  464.            const targetCurrencyCode = this.getAttribute('currency')
  465.            if (targetCurrencyCode !== currentCurrencyCode) {
  466.                setActiveCurrency(targetCurrencyCode);
  467.  
  468.                // Reload the page to reflect changes
  469.                window.location.reload()
  470.            }
  471.        });
  472.    });
  473.  
  474.    // Add click event listener to all language elements
  475.    document.querySelectorAll(".language-popup-locale .language-popup-link").forEach(function(element) {
  476.        element.addEventListener("click", function() {
  477.            // Get hreflang attribute of the clicked button
  478.            let hreflang = this.getAttribute('hreflang')
  479.            setActiveLanguage(hreflang)
  480.  
  481.        })
  482.    })
  483.    
  484.    // Add click event listeners for the temporary language switcher
  485.    document.querySelectorAll(".nav-locale .nav-menu-link").forEach(function(element) {
  486.        element.addEventListener("click", function() {
  487.            // Get hreflang attribute of the clicked button
  488.            let hreflang = this.getAttribute('hreflang')
  489.            setActiveLanguage(hreflang)
  490.  
  491.        })
  492.    })
  493.  
  494.    // Update footer language text
  495.    // Check for existing 'caribou_language' cookie
  496.    const userLanguage = getCookie('caribou_language')
  497.  
  498.    if (userLanguage) {
  499.        const footerLangMap = {
  500.            "zh-Hant-HK": "繁體中文",
  501.            "en": "English"
  502.        }
  503.  
  504.        const footerLangText = footerLangMap[userLanguage] || '繁體中文'
  505.        const footerBtnTextLang = document.querySelector(".footer-btn-text-language")
  506.        if (footerBtnTextLang) {
  507.            footerBtnTextLang.textContent = footerLangText
  508.        }
  509.        
  510.        const mobileMenuBtnTextLang = document.querySelector(".mobile-menu-btn-text-language")
  511.        if (mobileMenuBtnTextLang) {
  512.            mobileMenuBtnTextLang.textContent = footerLangText
  513.        }
  514.    }
  515.    
  516. });
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523. </script></div></div></section><div class="embed-product-price w-embed w-script"><script>
  524.  
  525. // Function to format number as currency without decimal places
  526. async function formatCurrencyWithConversion(number) {
  527.  const currencyCode = getCookie("caribou_currency"); // Assuming getCookie is a function defined elsewhere
  528.  
  529.  // Mapping of currency codes to their symbols and locale
  530.  const currencyDetails = {
  531.    HKD: { symbol: "HK$", locale: "en-HK" },
  532.    TWD: { symbol: "NT$", locale: "en-TW" },
  533.    SGD: { symbol: "S$", locale: "en-SG" },
  534.    USD: { symbol: "US$", locale: "en-US" },
  535.  };
  536.  
  537.  // Fallback details in case the currency code is not recognized
  538.  const fallbackDetails = { symbol: "$", locale: "en-US" };
  539.  
  540.  // Retrieve the currency details or use fallback
  541.  const { symbol, locale } = currencyDetails[currencyCode] || fallbackDetails;
  542.  
  543.  try {
  544.    // Fetch currency conversion rates from the API
  545.    const response = await fetch(
  546.      "https://advisor.caribou.travel/api/currency-conversion"
  547.    );
  548.    const result = await response.json();
  549.  
  550.    // Get the conversion rate based on the currencyCode
  551.    const conversionRate = result.data[currencyCode.toLowerCase()] || 1; // Default to 1 if no found
  552.  
  553.    // Calculate the converted amount
  554.    const convertedAmount = number * conversionRate;
  555.  
  556.    // Use Intl.NumberFormat to format the converted amount with the correct locale and currency symbol
  557.    const formattedConvertedAmount = new Intl.NumberFormat(locale, {
  558.      minimumFractionDigits: 0,
  559.      maximumFractionDigits: 0,
  560.    }).format(convertedAmount);
  561.  
  562.    // Construct the formatted currency string
  563.    const formattedCurrency = `${symbol}${formattedConvertedAmount}`;
  564.  
  565.    return formattedCurrency;
  566.  } catch (error) {
  567.    console.error("Error fetching currency conversion: ", error);
  568.    // Fallback to formatting without conversion in case of error
  569.    const formattedNumber = new Intl.NumberFormat(locale, {
  570.      minimumFractionDigits: 0,
  571.      maximumFractionDigits: 0,
  572.    }).format(number);
  573.  
  574.    const formattedCurrency = `${symbol}${formattedNumber}`;
  575.    return formattedCurrency;
  576.  }
  577. }
  578.  
  579. async function updateTourProductPrice() {
  580.  // Convert and Format the discounted price
  581.  const tourProductPriceElements = document.querySelectorAll(".tour-product-price")
  582.  
  583.  tourProductPriceElements.forEach(async (element) => {
  584.    const numericValue = parseFloat(element.textContent);
  585.    try {
  586.      const formattedAmount = await formatCurrencyWithConversion(numericValue) + "+";
  587.  
  588.      // Update the value of each "tour-product-price" element
  589.      element.textContent = formattedAmount;  
  590.    } catch (error) {
  591.      console.error('Error formatting currency: ', error)
  592.    }
  593.  });
  594.  
  595.  // Convert and Format the original price
  596.  const tourProductOriginalPriceElements = document.querySelectorAll(".tour-product-original-price")
  597.  
  598.  tourProductOriginalPriceElements.forEach(async (element) => {
  599.    const numericValue = parseFloat(element.textContent)
  600.    try {
  601.      const formattedAmount = await formatCurrencyWithConversion(numericValue) + "+";
  602.  
  603.      // Update the value of each "tour-product-price" element
  604.      element.textContent = formattedAmount;  
  605.    } catch (error) {
  606.      console.error('Error formatting currency: ', error)
  607.    }
  608.  })
  609. }
  610.  
  611.  
  612. </script></div><div class="embed-product-hashtags w-embed w-script"><script>
  613.  
  614. // Function to process each advisor-tour-products-block
  615. function processTourProductsBlocks() {
  616.  // Find all blocks with class 'advisor-tour-products-block'
  617.  const blocks = document.querySelectorAll('.advisor-tour-products-block');
  618.  
  619.  blocks.forEach(block => {
  620.      // Extract the value from 'tour-types-text'
  621.      const tourTypesTextElement = block.querySelector('.tour-types-text');
  622.      if (tourTypesTextElement) {
  623.          const tourTypesText = tourTypesTextElement.textContent.trim();
  624.  
  625.          // Split into a comma-separated list
  626.          const tourTypesList = tourTypesText.split(',').map(text => `#${text.trim()}`);
  627.  
  628.          // Find the 'tour-types-wrapper' element
  629.          const tourTypesWrapper = block.querySelector('.tour-types-wrapper');
  630.          if (tourTypesWrapper) {
  631.              // Clear existing content
  632.              tourTypesWrapper.innerHTML = '';
  633.  
  634.              // Append each item from the list
  635.              tourTypesList.forEach(tourType => {
  636.                  const span = document.createElement('span');
  637.                  span.textContent = tourType;
  638.                  tourTypesWrapper.appendChild(span);
  639.              });
  640.          }
  641.      }
  642.  });
  643. }
  644.  
  645.  
  646.  
  647. </script></div><div class="embed-js w-embed w-script"><script>
  648.  
  649. $(document).ready(async function () {
  650.  try {
  651.    // Hnadle the pricing
  652.    await updateTourProductPrice()
  653.  
  654.    // Handle the hashtags
  655.    processTourProductsBlocks();
  656.  
  657.    document.querySelector(".loading-wrapper").style.display = "none"
  658.  } catch (error){
  659.    console.error('Error:', error);
  660.    document.querySelector(".loading-wrapper").style.display = "none"
  661.  }
  662.  
  663. });
  664.  
  665. </script></div></div><script src="https://d3e54v103j8qbb.cloudfront.net/js/jquery-3.5.1.min.dc5e7f18c8.js?site=64d1f8d7c8eb554aa7393f33" type="text/javascript" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script><script src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/js/webflow.c1c80d7fc.js" type="text/javascript"></script><!-- Google Tag Manager (noscript) -->
  666. <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WKGC5B3"
  667. height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  668. <!-- End Google Tag Manager (noscript) -->
  669.  
  670.  
  671.  
  672. <script>
  673.  
  674. $(document).ready(function() {
  675.    $('.language-switch-chi').click(function(e){
  676.        relativePath = location.href.replace(location.origin,'');
  677.  
  678.        if(relativePath == "/en/home") {
  679.            window.location.href = "/";
  680.        } else if (!relativePath.includes("/en/")){
  681.            return
  682.        } else {
  683.            window.location.href = relativePath.replace("/en/", "/");
  684.        }
  685.  
  686.    })
  687.  
  688.    $('.language-switch-eng').click(function(e){
  689.        relativePath = location.href.replace(location.origin,'');
  690.  
  691.        if(relativePath == "/") {
  692.            window.location.href = "/en/home";
  693.        } else if (relativePath.includes("/en/")){
  694.            return
  695.        } else {
  696.            window.location.href = relativePath.replace("/", "/en/");
  697.        }
  698.    });
  699.  
  700.  
  701. });
  702.  
  703.  
  704. </script>
  705.  
  706.  
  707.  
  708. <!-- Render Nav Menu Dropdown -->
  709. <script>
  710. // Select all list items in the nav-menu-collection-list
  711. const listItems = document.querySelectorAll('.nav-menu-collection-list .nav-menu-collection-item');
  712.  
  713. // Loop through each list item
  714. listItems.forEach(item => {
  715.    // Find the nav-menu-link and nav-menu-hidden-link elements within the current list item
  716.    const navLink = item.querySelector('.nav-menu-link');
  717.    const footerLink = item.querySelector('.footer-link')
  718.    const hiddenLink = item.querySelector('.nav-menu-hidden-link');
  719.  
  720.  
  721.    if (hiddenLink) {
  722.        if (navLink) {
  723.            // Set the href attribute of nav-menu-link to the text content of nav-menu-hidden-link
  724.            navLink.setAttribute('href', hiddenLink.textContent.trim());
  725.        } else if (footerLink) {
  726.            // Set the href attribute of footer-link to the text content of nav-menu-hidden-link
  727.            footerLink.setAttribute('href', hiddenLink.textContent.trim());
  728.        }
  729.  
  730.        // Remove the nav-menu-hidden-link element from the DOM
  731.        hiddenLink.remove();
  732.    }
  733.  
  734. });
  735. </script>
  736. <!-- End Render Nav Menu Dropdown -->
  737.  
  738. <script>
  739. // Hide theme page menu for english
  740.  
  741. const websiteLanguage = window.location.pathname.includes("/en/") || window.location.pathname === "/en" ? "en" : "zh-Hant-HK"
  742. const footerItemThemePage = document.querySelector("#footer-item-themePage")
  743. if (websiteLanguage == "en") {
  744.  if (footerItemThemePage) {
  745.    footerItemThemePage.style.display = "none"
  746.  }
  747. }
  748.  
  749. // main function to fetch and populate the hash id
  750. async function populateHashID() {
  751.  // Check if the 'caribou_hashID' cookie exists. if not, fetch it
  752.  if (!getCookie("caribou_hashID")) {
  753.    await fetchHashId(hashObject);
  754.  }
  755.  
  756.  // Get the current URL
  757.  let currentUrl = window.location.href;
  758.  
  759.  // Perform actions if the URL contains "/tour-products/"
  760.  if (currentUrl.includes("/tour-products/")) {
  761.    document.getElementById('funnel-form-hash_id').value = getCookie('caribou_hashID');
  762.  }
  763.  
  764.  // Perform actions if the URL ends with "/tour-products"
  765.  if (currentUrl.endsWith("/tour-products")) {
  766.    document.getElementById('product-search-hash_id').value = getCookie('caribou_hashID');
  767.  }
  768. }
  769.  
  770. populateHashID()
  771.  
  772. </script>
  773.  
  774. </body></html>
Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda