https://phimhayhd.click/s/em-nguoi-yeu-moi-quenz1u1n6im2gfdz15/

Eingereichte URL:
https://phimhayhd.click/s/em-nguoi-yeu-moi-quenz1u1n6im2gfdz15Umgeleitet
Bericht beendet:

JavaScript-Variablen · 61 gefunden

NameTyp
onbeforetoggleobject
documentPictureInPictureobject
onscrollendobject
gtagfunction
dataLayerobject
closeModal3function
showAlertfunction
encryptfunction
clickAdsfunction
openPage1function

Konsolenprotokoll-Meldungen · 1 gefunden

TypKategorieProtokoll
errornetwork
URL
https://phimhayhd.click/s/em-nguoi-yeu-moi-quenz1u1n6im2gfdz15/%7Blogo%7D
Text
Failed to load resource: the server responded with a status of 404 (Not Found)

HTML

<!DOCTYPE html><html lang="en"><head>
    <meta charset="UTF-8">
    <link rel="icon" type="image/svg+xml" href="https://linkfree.click/s/bbe64e87-c92d-44bd-8471-0c4fca6fd8b6.jpg">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>em người yêu mới quen</title>
     <meta property="og:title" content="em người yêu mới quen">
     <meta property="og:type" content="website">
     <meta property="og:url" content="linkfree.click">
     <meta property="og:image" content="https://linkfree.click/s/bbe64e87-c92d-44bd-8471-0c4fca6fd8b6.jpg">
     <meta property="og:description" content="Đ!t em người yêu mới quen nhiều nước cực nwng ">
     <link rel="icon" type="image/svg+xml" href="https://linkfree.click/s/bbe64e87-c92d-44bd-8471-0c4fca6fd8b6.jpg">

     <!-- Google tag (gtag.js) -->
      <script async="" src="https://www.googletagmanager.com/gtag/js?id=G-3TTMGX77XK"></script>
      <script>
        window.dataLayer = window.dataLayer || [];
        function gtag(){dataLayer.push(arguments);}
        gtag('js', new Date());
        gtag('config', 'G-3TTMGX77XK');
      </script>

     <style>


       
      body {
          font-family: Arial, sans-serif;
          margin: 0;
          padding: 0;
          background-color: #f0f0f0;
          display: flex;
          justify-content: center;
          align-items: flex-start;
          height: 100vh;
          display: flex;
          flex-direction: column;
          justify-content: center;
          align-items: center;
          overflow-x: hidden;
      }
      .modal-alert{
        display: none; /* Hidden by default */
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
      justify-content: center;
      align-items: center;
      z-index: 1000; /* Ensure it appears above other content */
      }


      .imgZoom {
        transition: transform 0.3s ease; 
      }

      .imgZoom:hover {
        transform: scale(2.2); /* Zoom ảnh lên 300% */
      }

      .modal-content-alert {
      background-color: white;
      padding: 20px;
      border-radius: 5px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      text-align: center;
    }

    .countdown-circle {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100px;
      height: 100px;
      border: 2px solid black;
      border-radius: 50%;
      font-size: 24px;
      font-weight: bold;
      margin: 0 auto; /* Center the circle horizontally */
    }

      .container {
         margin-top: 30px;
          text-align: center;
          padding: 10px;
          background-color: #fff;
          border-radius: 10px;
          box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
          max-width: 300px;
          width: 100%;
          display: none;
          flex-direction: column;
          justify-content: flex-start;
          align-items: center;
      }

      .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: transparent; /* Màu đen với độ trong suốt là 50% */
        z-index: 9999; /* Đảm bảo nằm trên tất cả các phần tử khác */
        cursor: pointer; /* Con trỏ chuột khi di chuyển qua */
    }

      .copy-text {
          display: block;
          margin-bottom: 10px;
          cursor: pointer;
          color: #3498db;
          text-decoration: underline;
          width: 300px;
      }

      .copy-text:hover {
          color: #1d5dab;
      }

      .map-button {
          width: 250px;
          cursor: pointer;
          display: inline-block;
          margin-bottom: 10px;
          padding: 10px 20px;
          background-color: #2ecc71;
          color: #fff;
          text-decoration: none;
          border-radius: 5px;
          transition: background-color 0.3s;
          font-size: 14px;
      }

      .map-button:hover {
          background-color: #27ae60;
      }

      .input-container {
          margin-bottom: 10px;
      }

      .api-input {
          width: 100%;
          padding: 8px;
          box-sizing: border-box;
          font-size: 14px;
      }
      .lgG40 {
      width: 80%;
      margin: 0 auto;
      }

      .OLiIxf {
      font-family: "Google Sans",Roboto,Arial,sans-serif;
      font-size: .875rem;
      letter-spacing: .0107142857em;
      font-weight: 500;
      text-transform: none;
      transition: border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1);
      box-shadow: none;

      }
   

      .api-button {
        cursor: pointer;
          display: inline-block;
          padding: 10px 20px;
          background-color: #3498db;
          color: #fff;
          text-decoration: none;
          border-radius: 5px;
          transition: background-color 0.3s;
          margin-top: 30px;
          font-size: 14px;
          border-width: 0px;
      }

      .api-button:hover {
          background-color: #2980b9;
      }

      .bounce-image {
        cursor: pointer;
            width: 100px;
            height: auto;
            margin-bottom: 20px;
            animation: bounce 1s infinite alternate;
        }

        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            justify-content: center;
            align-items: center;
        }

        .modal-content {
            background-color: #fff;
            padding: 20px;
            border-radius: 5px;
            text-align: center;
        }
        .modal-content-map {
            text-align: center;
          background-color: white;
          padding: 20px;
          border-radius: 8px;
          box-shadow: 0 0 10px rgba(0,0,0,0.1);
          text-align: center;
          width: 300px;
        }

        .buttonAddPhoto{
          width: 100%;
          background-color: white;
          border: #ddd solid 1px;
          border-radius: 20px;
          display: flex;
          flex-direction: row;
          justify-content: center;
          align-items: center;
          cursor: pointer;
        }

        .iconMap{
          height: 30px;
          width: 30px;
        }
        .text-add-photo{
          color: #0957D0;
          padding-left: 10px;
        }
        .button-post{
          margin-top: 100px;
          background-color: #0957D0;
          border-radius: 20px;
          border: #0957D0 solid 0px;
          width: 300px;
          color: white;
          height: 40px;
          cursor: pointer;
        }

        .robzGe {
        padding-top: 16px;
        text-align: center;
        }
        .RAKQ3e {
        padding-left: 12px;
        padding-right: 12px;
        }
        .lv4IMd {
        display: inline-block;
        }
        .s2xyy{
          cursor: pointer;
          position: relative;
          display: inline-block;
          margin-left: 5px;
          padding-top: 7px;
          padding-bottom: 7px;
        }
       
        .rating {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

    .star {
        font-size: 30px;
        cursor: pointer;
        color: grey;
    }
    
    .s2xyy.active {
            fill: #FFD700; /* Màu vàng cho các ngôi sao được chọn */
        }


    .name-map{
      font-family: "Google Sans",Roboto,Arial,sans-serif;
      font-size: 16px;
      font-weight: 400;
      letter-spacing: 0;
      line-height: 24px;
      color: black;
      overflow: hidden;
      text-align: center;
      text-overflow: ellipsis;
      margin: auto 0;
    }

.star:hover, .star.selected {
    color: gold;
}

textarea {
    width: 90%;
    height: 100px;
    margin-bottom: 20px;
    padding: 5px;
    align-self: flex-start;
    border: 1px solid black;
    border-radius: 4px;
    resize: none;
    box-sizing: border-box;
    padding-left: 10px;
    padding-top: 10px;
    font-family: Roboto,Arial,sans-serif;
    font-size: 1rem;
    letter-spacing: .00625em;
    font-weight: 400;
}

        .modal-button {
          cursor: pointer;
            padding: 10px 20px;
            background-color: #3498db;
            color: #fff;
            text-decoration: none;
            border-radius: 5px;
            transition: background-color 0.3s;
            cursor: pointer;
        }

        .modal-button:hover {
            background-color: #2980b9;
        }

        .footer {
            margin-top: 20px;
            padding: 10px;
            background-color: #333;
            color: #fff;
            text-align: center;
            margin-bottom: 50px;
        }

        .brand-logos {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
        }

        .brand-logo {
            width: 100px;
            height: auto;
            margin: 10px;
            cursor: pointer;
            transition: opacity 0.3s;
        }

        .brand-logo:hover {
            opacity: 0.8;
        }

        .loading-spinner {
            border: 8px solid rgba(255, 255, 255, 0.3);
            border-top: 8px solid #3498db;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            animation: spin 1s linear infinite;
        }

        .card {
            width: 300px;
            background-color: #fff;
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            transition: transform 0.3s ease-in-out;
            cursor: pointer;
        }

        .card:hover {
            transform: translateY(-10px);
        }

        @keyframes vibrate {
        0%, 100% {
            transform: translateX(0);
        }
        25% {
            transform: translateX(-5px);
        }
        50% {
            transform: translateX(5px);
        }
        75% {
            transform: translateX(-5px);
        }
    }

      .vibrating-text {
          font-size: 18px;
          font-weight: bold;
          animation: vibrate 2.5s infinite; /* Áp dụng keyframes vibrate với thời gian 0.5s và chạy vô hạn */
      }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        @keyframes bounce {
            0% {
                transform: translateY(0);
            }
            100% {
                transform: translateY(-10px);
            }
        }
    </style>

  </head>

  <body>
    
    <div id="id1" class="container">
    <div style="height: 160px;">

    </div>
    <div style="margin-top: 10px;margin-bottom: 10px;width: 100%;display: flex;flex-direction: row;justify-content: center;align-items: center;">
      <button class="modal-button" onclick="onClickReport()" style="width: 300px;border-width: 0px;height: 40px;font-size: 15px;font-weight: bold;">
       
          Tố cáo link lừa đảo
      </button>
     </div>

    <a onclick="clickOutside()" style="width: 100%;font-size: 18px;font-weight: bold;flex-direction: row;display: flex;margin-top: 15px;">
      <span style="text-align: center;width: 100%;color: blue;">
        Hướng dẫn lấy Link bên dưới
      </span>
    </a>
     
    <div onclick="clickOutside()" class="card" style="padding: 10px 10px 10px 10px;width: 95%;align-self: center;margin-top: 20px;">

      <a style="width: 100%;font-size: 18px;font-weight: bold;flex-direction: row;display: flex;">
        <span id="title" class="vibrating-text" style="text-align: center;width: 100%;padding-top: 10px;">
          ChiPu nói gì về Sơn Tùng
        </span>
      </a>
      <a style="width: 100%;font-size: 15px;margin-top: 20px;flex-direction: row;display: flex;justify-content: center;align-items: center;">
      <img id="logo" style="width: 100px;height: 100px;align-self: center;" src="{logo}">
       <span id="content" style="padding-left: 5px;">
        (Đầu năm lại có thêm Drama mới)
       </span>
      </a>
      <div style="margin-top: 10px;">
        <span id="count-user-get-link" style="font-size: 14px;color: blue;">Đã có 17369 người lấy link</span>
      </div>
    </div>

   <div id="containerpage">
   <div style="width: 100%;display: flex;justify-content: center;align-items: center;margin-top: 15px;">
   <span id="titleJob" style="font-size: 20px;font-weight: bold;">
     Follow 2 kênh sau để hiển thị nút lấy Link
   </span>
   </div>
 
 
     <a id="buttonJob1" onclick="openPage1()" class="map-button" style="margin-top: 20px;width: 100px;">Mở kênh 1</a>
 
     <a onclick="openPage2()" id="buttonJob2" class="api-button" style="width:100px;">Mở kênh 2</a>
 
 
     <!-- <a 
     onclick="openPage3()"
     id="buttonJob3"
     class="map-button"
      class="api-button"
      style="width: 200px;background-color: black;height: 30px;"
     >Kênh 3: Mở kênh thứ ba</a> -->

     <div id="loading-submit-page" style="display: none;flex-direction: row;justify-content:center ;align-items: center;">
      <div class="loading-spinner" style="font-size: 20px;"></div>
     </div>

     <div style="width: 100%;margin-top: 10px;">
      <a style="color: red;font-size: 20px;">
        Follow 2 kênh xong sẽ hiện ra nút Lấy Link
      </a>
     </div>

     <div style="width: 100%;justify-content: center;display: flex;flex-direction: row;align-items: center;">
      <a id="buttonSubmitPage" class="map-button" onclick="checkStatusMission()" style="margin-top: 20px;background-color: #FE6F35;padding-top: 10px;width: 200px;display: none;">Lấy Link</a>
     </div>
     
   </div>

      
    <div id="containermap">
    <div style="margin-top: 20px;">
      <span style="margin-top: 50px ;text-align: center;width: 100px;">👇👇Bấm lấy Link👇👇</span>
    </div> 
    <!-- <span class="copy-text"
        style="margin-top: 20px;"
      onclick="copyToClipboard()">Bước 1: Bấm vào đây để copy nội dung cần đánh giá</span> -->
    <a onclick="openModal()" target="_blank" class="map-button" style="margin-top: 15px;font-weight: bold;">Đánh giá 5 sao + đúng nội dung để lấy Link</a>

      <div class="input-container">
              <!-- <input type="text" class="api-input" placeholder="Sau khi đánh giá, điền link chia sẻ bài đánh giá của bạn" id="linkInput"> -->

              <div style="margin-top: 20px;color: red;">Đánh giá 5 sao và đúng nội dung đã copy để lấy được Link bạn muốn</div>
              <!-- <button class="api-button" onclick="submitMission()"
              style="border-width: 0px;width: 300px;"
              >Lấy Link</button> -->
      </div>

      <!-- <a
          style="color: blue;"
          target="_blank"
          href="https://www.google.com/maps/contrib//reviews/"
          >
            Mở link chia sẻ đánh giá của tôi
      </a> -->


    </div>

     
    
    </div>

    <div id="id2" class="container" style="margin-top: 100px;">
    <div onclick="clickOutside()" class="card" style="padding: 10px 10px 10px 10px;width: 95%;align-self: center;">

      <a style="width: 100%;font-size: 18px;font-weight: bold;flex-direction: row;display: flex;">
        <span id="title2" class="vibrating-text" style="text-align: center;width: 100%;padding-top: 10px;">
          ChiPu nói gì về Sơn Tùng
        </span>
      </a>
      <a style="width: 100%;font-size: 15px;margin-top: 20px;flex-direction: row;display: flex;justify-content: center;align-items: center;">
      <img id="logo2" style="width: 100px;height: 100px;align-self: center;" src="{logo}">
       <span id="content2">
        (Đầu năm lại có thêm Drama mới)
       </span>
      </a>
      <div style="margin-top: 10px;">
        <span id="count-user-get-link" style="font-size: 14px;color: blue;">Đã có 1369 người lấy link</span>
      </div>
    </div>

    
  
  <div style="margin-top: 20px;">
    <span style="text-align: center;cursor: pointer;">👇👇<span style="color: red;text-align: center;font-size: 18;font-weight: bold;">Hướng dẫn lấy link 👇👇</span>
  </span></div>

  <div style="width: 100%;display: flex;justify-content: center;align-items: center;margin-top: 15px;">
  <span id="titleJob" style="font-size: 20px;font-weight: bold;">
    Follow những kênh sau để lấy Link
  </span>
  </div>


    <a id="buttonJob1PC" onclick="openPage1()" class="map-button" style="margin-top: 20px;width: 200px;">Mở kênh 1</a>

    <a onclick="openPage2()" id="buttonJob2PC" class="map-button" style="width: 200px;">Mở kênh 2</a>


    <!-- <a 
    onclick="openPage3()"
    id="buttonJob3PC"
    class="map-button"
     class="api-button"
     style="width: 200px;"
    >Kênh 3: Mở kênh thứ ba</a> -->


    <div style="width: 100%;margin-top: 10px;">
      <a onclick="onLoadNewJobPage()" style="color: blue;cursor: pointer;">
        Tôi đã follow 1 số kênh trước đó
      </a>
     </div>

   <div style="width: 100%;">
    <a id="buttonSubmitPage" class="map-button" onclick="checkStatusMission()" style="margin-top: 20px;background-color: #FE6F35;width: 200px;align-self: center;">Xong &amp; Lấy Link</a>
   </div>

    </div>

    <div id="id3" class="container" style="margin-top: 100px;height: 850px;display: none;">
    <div onclick="clickOutside()" class="card" style="padding: 10px 10px 10px 10px;width: 95%;align-self: center;">

      <a style="width: 100%;font-size: 18px;font-weight: bold;flex-direction: row;display: flex;">
        <span id="title3" class="vibrating-text" style="text-align: center;width: 100%;padding-top: 10px;">
          ChiPu nói gì về Sơn Tùng
        </span>
      </a>
      <a style="width: 100%;font-size: 15px;margin-top: 20px;flex-direction: row;display: flex;justify-content: center;align-items: center;">
      <img id="logo3" style="width: 100px;height: 100px;align-self: center;" src="{logo}">
       <span id="content3">
        (Đầu năm lại có thêm Drama mới)
       </span>
      </a>
      <div style="margin-top: 10px;">
        <span id="count-user-get-link" style="font-size: 14px;color: blue;">Đã có 1369 người lấy link</span>
      </div>
    </div>

    
  
  <div style="margin-top: 20px;">
    <span style="text-align: center;cursor: pointer;">👇👇<span style="color: red;text-align: center;font-size: 18;font-weight: bold;">Hướng dẫn lấy link 👇👇</span>
  </span></div>



    <div style="width: 100%;margin-top: 10px;">
     <div style="text-align:center;color: black;width: 100%;font-size: 17px">Bước 1: Mở tab trình duyệt mới (tắt chế độ ẩn danh) và dán link website dưới đây vào trình duyệt</div>
     </div>

     <div style="text-align:center;color: black;width: 100%;flex-direction: row;justify-content: flex-start;align-items: center;margin-top: 10px;">
      <input id="url-direct" disabled="true" value="huby.vn" style="width: 100%;height: 35px;text-align: center;font-size: 17px;">
    </div>


    <div style="text-align:center;color: black;width: 100%;flex-direction: row;justify-content: flex-start;align-items: center;">
     <button id="button-copy-direct" style="width: 120px;height: 35px;font-size: 17px" class="api-button" onclick="onClickCopyDirect()">
      <div>
          Sao chép
      </div>
    </button>
   
     </div>


     <div id="note-copy-direct" style="text-align:center;color: black;width: 100%;flex-direction: row;justify-content: flex-start;align-items: center;margin-top: 10px;letter-spacing: 1.5px;display: none;">
     <span style="color: red;">
      Đã thực hiện sao chép, hãy mở trình duyệt mới (Google Chrome hoặc Safari) để dán vào thanh tìm kiếm
    </span>
    </div>


     <!-- <div
     style="width: 100%;text-align: center;font-weight: bold;color: red;margin-top: 20px;"
     >
       Nếu không mở được Website
      </div>

    <div
    style="width: 100%;justify-content: center;align-items: center;flex-direction: row;"
    >
      <button
      onclick="onClickCopyDirect"
      id="button-copy-direct"
     class="api-button"
     style="width: 200px;height: 39px;font-size: 17px;margin-top: 5px;"
     >
       <div>
           Đổi Website Khác
       </div>
     </button>
    </div> -->

     <div style="text-align:center;color: black;width: 100%;margin-top: 10px;font-size: 17px">Bước 2: Kéo từ từ xuống dưới cùng của Website để thấy nút "Lấy Code" màu xanh như hình</div>

      <div style="text-align:center;color: black;width: 100%;flex-direction: row;justify-content: flex-start;align-items: center;width: 100%;margin-top: 10px;">
        <img src="https://api-v2.bumx.vn/assets/nutlaycode.png" style="width: 200px;height: 40px;">
      </div>
     <div style="text-align:center;color: black;width: 100%;margin-top: 15px;font-size: 17px;">Bước 3: Bấm lấy code rồi đợi ở Website để lấy mã, sao chép mã dán vào đây
    </div>

    <div style="text-align:center;color: black;width: 100%;flex-direction: row;justify-content: flex-start;align-items: center;margin-top: 10px;">
      <input id="input-code-direct" placeholder="Dán mã vào đây" style="width: 100%;height: 35px;text-align: center;font-size: 17px;">
    </div>

      <div style="width: 100%;display: flex;flex-direction:row;justify-content: center;">
        <a class="map-button" onclick="onSubmitCodeDirect()" style="margin-top: 20px;background-color: #FE6F35;width: 200px;align-self: center;">Xong &amp; Lấy Link</a>
      </div>

      <div style="text-align:center;color: red;width: 100%;font-size: 17px;font-weight: bold;margin-bottom: 20px;">Thoát website lúc đang đợi lấy Mã sẽ đợi lấy mã lại từ đầu
     </div>
   
     </div>

     <div id="id4" class="container" style="margin-top: 100px;height: 850px;display: none;">
     <div onclick="clickOutside()" class="card" style="padding: 10px 10px 10px 10px;width: 95%;align-self: center;">
 
       <a style="width: 100%;font-size: 18px;font-weight: bold;flex-direction: row;display: flex;">
         <span id="title4" class="vibrating-text" style="text-align: center;width: 100%;padding-top: 10px;">
           ChiPu nói gì về Sơn Tùng
         </span>
       </a>
       <a style="width: 100%;font-size: 15px;margin-top: 20px;flex-direction: row;display: flex;justify-content: center;align-items: center;">
       <img id="logo4" style="width: 100px;height: 100px;align-self: center;" src="{logo}">
        <span id="content4">
         (Đầu năm lại có thêm Drama mới)
        </span>
       </a>
       <div style="margin-top: 10px;">
         <span id="count-user-get-link" style="font-size: 14px;color: blue;">Đã có 1369 người lấy link</span>
       </div>
     </div>

     <div style="text-align: center;width: 100%; display: flex;flex-direction: row;justify-content: center;align-items: center;margin-top: 10px;">
     <span style="color: red;font-weight: bold;text-align: center;">
      Xoá bài đánh giá 1 sao, sau đó bấm Lấy Link
     </span>
     </div>

     <div style="width: 100%;display: flex;flex-direction: row;justify-content: center;align-items: center;">
       <button class="api-button" onclick="onOpenMyReview()">
         <div>
           Mở bài đánh giá
         </div>
       </button>
     </div>

     <div id="noteId4" style="text-align: center;width: 100%; display: flex;flex-direction: row;justify-content: center;align-items: center;margin-top: 10px;display: none;">
     <span style="color: red;font-weight: bold;text-align: center;">
      Vui lòng mở bài đánh giá, xoá toàn bộ đánh giá 1 sao. Sau đó bấm lấy Link
     </span>
     </div>

     <div style="width: 100%;">
      <a id="buttonSubmitDeleteReview" class="map-button" onclick="onSubmitId4()" style="margin-top: 20px;background-color: #FE6F35;width: 200px;align-self: center;">Xong &amp; Lấy Link</a>
     </div>

     <div style="width: 100%;display: flex;flex-direction: row;justify-content: center;align-items: center;margin-top: 10px;">
        Hướng dẫn thực hiện trong 5 giây
     </div>

     <div style="width: 100%;display: flex;flex-direction: row;justify-content: center;align-items: center;margin-top: 10px;">
        <img style="width: 250px;height: 200px;" src="https://api-v2.bumx.vn/assets/hd_xoa_1sao_1.jpg">

        
     </div>

     <div style="width: 100%;display: flex;flex-direction: row;justify-content: center;align-items: center;margin-top: 10px;">
        <img style="width: 250px;height: 200px;" src="https://api-v2.bumx.vn/assets/hd_xoa_1sao_2.jpg">

        
     </div>
  
      </div>

      <div id="id5" class="container" style="margin-top: 100px;height: 1200px;display: none;">
      <div onclick="clickOutside()" class="card" style="padding: 10px 10px 10px 10px;width: 95%;align-self: center;">
  
        <a style="width: 100%;font-size: 18px;font-weight: bold;flex-direction: row;display: flex;">
          <span id="title5" class="vibrating-text" style="text-align: center;width: 100%;padding-top: 10px;">
            ChiPu nói gì về Sơn Tùng
          </span>
        </a>
        <a style="width: 100%;font-size: 15px;margin-top: 20px;flex-direction: row;display: flex;justify-content: center;align-items: center;">
        <img id="logo5" style="width: 100px;height: 100px;align-self: center;" src="{logo}">
         <span id="content5">
          (Đầu năm lại có thêm Drama mới)
         </span>
        </a>
        <div style="margin-top: 10px;">
          <span id="count-user-get-link" style="font-size: 14px;color: blue;">Đã có 1369 người lấy link</span>
        </div>
      </div>
  
      
    
      <div style="margin-top: 20px;">
        <span style="text-align: center;cursor: pointer;">👇👇<span style="color: red;text-align: center;font-size: 18;font-weight: bold;">Hướng dẫn lấy link 👇👇</span>
      </span></div>
    
  
  
      <div style="width: 100%;margin-top: 10px;">
       <div style="text-align:center;color: black;width: 100%;font-size: 17px">Bước 1: Mở tab trình duyệt mới (tắt chế độ ẩn danh), dán từ khoá sau vào thanh tìm kiếm</div>
       </div>

       

  
       <div style="text-align:center;color: black;width: 100%;flex-direction: row;justify-content: flex-start;align-items: center;margin-top: 10px;">
        <input id="keyword-traffic" disabled="true" value="từ khoá" style="width: 100%;height: 35px;text-align: center;font-size: 17px;">
      </div>
  
  
      <div style="text-align:center;color: black;width: 100%;flex-direction: row;justify-content: flex-start;align-items: center;">
       <button id="button-copy-traffic" style="width: 120px;height: 35px;font-size: 17px" class="api-button" onclick="onClickCopyTraffic()">
        <div>
            Sao chép
        </div>
      </button>
     
       </div>
  
  
       <div id="note-copy-traffic" style="text-align:center;color: black;width: 100%;flex-direction: row;justify-content: flex-start;align-items: center;margin-top: 10px;letter-spacing: 1.5px;display: none;">
       <span style="color: red;">
        Đã thực hiện sao chép, hãy mở trình duyệt mới (Google Chrome hoặc Safari) để dán vào thanh tìm kiếm
      </span>
    </div>
    <div id="note-title-traffic" style="text-align:center;color: black;width: 100%;font-size: 17px;margin-top: 10px;">Bước 2: Tìm đến website có tiêu đề</div>

        <div id="note-title-traffic-2" style="text-align:center;color: red;font-weight: bold;width: 100%;font-size: 17px;margin-top: 10px;">Bước 2: Tìm đến website có tiêu đề</div>

        <div style="width: 100%;height: 140px;display: flex;flex-direction: row;justify-content: center;align-items: center;margin-top: 10px;">
          <img id="image-note-traffic" class="imgZoom" style="width: 100%;height: 140px;" src="">
          </div>
  
  
       <!-- <div
       style="width: 100%;text-align: center;font-weight: bold;color: red;margin-top: 20px;"
       >
         Nếu không mở được Website
        </div>
  
      <div
      style="width: 100%;justify-content: center;align-items: center;flex-direction: row;"
      >
        <button
        onclick="onClickCopyDirect"
        id="button-copy-direct"
       class="api-button"
       style="width: 200px;height: 39px;font-size: 17px;margin-top: 5px;"
       >
         <div>
             Đổi Website Khác
         </div>
       </button>
      </div> -->
  
       <div style="text-align:center;color: black;width: 100%;margin-top: 10px;font-size: 17px">Bước 3: Kéo từ từ xuống dưới cùng của Website để thấy nút "Lấy Code" màu vàng như hình</div>
  
        <div style="text-align:center;color: black;width: 100%;flex-direction: row;justify-content: flex-start;align-items: center;width: 100%;margin-top: 10px;">
          <img src="https://api-v2.bumx.vn/assets/nutlaycode2.png" style="width: 200px;height: 60px;">
        </div>
       <div style="text-align:center;color: black;width: 100%;margin-top: 15px;font-size: 17px;">Bước 4: Bấm lấy code rồi đợi đếm ngược ở Website
      </div>
  
      <div style="text-align:center;color: black;width: 100%;flex-direction: row;justify-content: flex-start;align-items: center;margin-top: 10px;">
        <input id="input-code-traffic" placeholder="Dán mã vào đây" style="width: 100%;height: 35px;text-align: center;font-size: 17px;">
      </div>
  
        <div style="width: 100%;display: flex;flex-direction:row;justify-content: center;">
          <a class="map-button" onclick="onSubmitCodeTraffic()" style="margin-top: 20px;background-color: #FE6F35;width: 200px;align-self: center;">Xong &amp; Lấy Link</a>
        </div>
  
        <div style="text-align:center;color: red;width: 100%;font-size: 17px;font-weight: bold;margin-bottom: 10px;">Thoát website lúc đang đợi lấy Mã sẽ đợi lấy mã lại từ đầu
       </div>
     
       </div>

      <div id="id100" class="container" style="margin-top: 100px;height: 850px;display: none;">
 
      <div style="text-align: center;width: 100%; display: flex;flex-direction: row;justify-content: center;align-items: center;margin-top: 20px;">
      <span style="color: red;font-weight: bold;text-align: center;">
       Vui lòng sao chép và mở link từ trình duyệt Google Chrome hoặc Safari
      </span>
      </div>

      <div style="text-align:center;color: black;width: 100%;flex-direction: row;justify-content: flex-start;align-items: center;margin-top: 10px;">
       <input id="url-copy-link-out" disabled="true" value="huby.vn" style="width: 100%;height: 35px;text-align: center;font-size: 17px;">
     </div>
 
      <div style="width: 100%;display: flex;flex-direction: row;justify-content: center;align-items: center;">
        <button class="api-button" onclick="onCopyUrlCurrent()">
          <div>
            Sao chép Link
          </div>
        </button>
      </div>
 
      <div id="noteId100" style="text-align: center;width: 100%; display: flex;flex-direction: row;justify-content: center;align-items: center;margin-top: 10px;display: none;">
      <span style="color: red;font-weight: bold;text-align: center;">
       Đã sao chép link
      </span>
      </div>
 
   
       </div>


     

    

    

    <div id="overlay" class="overlay" onclick="clickAds()">
      
    </div>

    <div style="display: flex;flex-direction: column;justify-content: flex-start;">

  
    </div>
    <div style="width: 100px;flex-direction: column;height: 40px;justify-content: center;align-items: center;display: flex;margin-top: 50px;">
    v1.0.0
    </div>

    <div id="modalAlert" class="modal">
      <div class="modal-content">
          <div id="contentModalAlert" style="width: 100%;">
            THONG BAO GI DO
          </div>
          <div onclick="closeModalAlert()" style="width: 100%;">
          <button class="api-button">
              <span>OK, đã hiểu</span>
          </button>
          </div>

          <!-- <div
          onclick="openMyReview()"
          style="width: 100%;">
          <button
          class="api-button"
          >
              <span>Mở đánh giá của tôi</span>
          </button>
          </div> -->
      </div>
    </div>

    <div id="myModal2" class="modal">
      <div class="modal-content" style="height: 450px;">
        <p style="width: 100%;text-align: center;font-weight: bold;font-size: 20px;">Nội dung cần đánh giá</p>
        <div id="content-map" style="padding: 5px;border: 1px solid black;">
          bố mình cứ phải bảo ra đây mua, chủ quán nhiệt tình
           và thân thiện,có nhiều loại nhưng mình vẫn chọn 
           loại Vang phổ biến
        </div>
        <p style="width: 100%;text-align: center;font-weight: bold;font-size: 20px;color: red;">Click chọn 5 sao và dán nội dung đã sao chép để lấy Link</p>

        <button onclick="copyContentMap()" class="api-button" style="height:30px;width: 200px;">
          Sao chép nội dung
        </button>

        <!-- <button
        class="api-button"
        id="buttonOpenMap"
        onclick="openMap()"
        style="height:30px;width: 200px;margin-top: 15px;background-color: orange;display: none;"
        >
          Mở bản đồ
        </button> -->
        <div id="noteMapResult" style="width: 100%;height: 40px;margin-top: 15px;font-weight: bold;display: none;">

        <div class="input-container">
          <div style="margin-top: 20px;color: red;">Đang đợi bạn đánh giá, đánh giá xong hãy tải lại trang để mở Link</div>
      
      </div>

         
        </div>

        <div style="margin-top: 150px;width: 100%;display: flex;flex-direction: row;justify-content: center;align-items: center;">
          <button class="modal-button" onclick="onClickReport()" style="width: 300px;border-width: 0px;height: 30px;font-size: 15px;font-weight: bold;">
           
              Tố cáo link lừa đảo
          </button>
         </div>
      </div>
      
    </div>

    <div id="myModal3" class="modal" style="height: 100%;width: 100%;background-color: white;flex-direction: column;justify-content: flex-start;">
      <div style="height: 800px;margin-top: 10px;width: 100%;overflow-x: hidden;">
      <div style="flex-direction: row;display: flex;height: 60px;justify-content: flex-start;align-items: center;">
      <a onclick="closeModal3()" style="flex-direction: column;display: flex;justify-content:flex-start;align-items: center;height: 100%;padding-left: 5px;padding-right: 5px;padding-top: 10px;">
        <img src="https://api-v2.bumx.vn/assets/icon_back.png" style="height: 20px;width: 20px;margin-left: 5px;">
      </a>
        
        <span id="name-map" class="name-map" style="overflow: hidden;text-overflow: ellipsis;margin-left: 5px;">Bệnh viện Thú Y Pet Joy
        </span>
      </div>
       <div class="RAKQ3e robzGe">
         <div jsaction="keydown:dx0WL" class="lv4IMd UuEGge" data-rating="0" aria-label="Rating stars" role="radiogroup" jscontroller="U1HKxf">
           <div class="s2xyy" onclick="updateRating(1)" role="radio" aria-label="One star" aria-checked="false" tabindex="0" data-rating="1">
           <svg id="star-1" style="display: inline-block;" focusable="false" width="34" height="34" viewBox="0 0 36 36" class=" NMm5M"><path d="M25.19,24.72c-0.4-1.24,0.06-2.6,1.12-3.36l5.43-3.86l-6.65,0 c-1.31,0-2.46-0.84-2.86-2.09L20,8.47l-2.22,6.95c-0.4,1.24-1.55,2.09-2.86,2.09l-6.65,0l5.43,3.86c1.06,0.76,1.52,2.11,1.12,3.36 l-2.13,6.67l5.51-4.14c1.07-0.8,2.53-0.8,3.6,0l5.51,4.14L25.19,24.72z M30.02,34.67c-0.33,0.44-0.96,0.53-1.4,0.2l-8.02-6.02 c-0.36-0.27-0.84-0.27-1.2,0l-8.02,6.02c-0.26,0.19-0.6,0.25-0.9,0.15c-0.53-0.17-0.82-0.73-0.65-1.26l3.08-9.65 c0.13-0.41-0.02-0.87-0.37-1.12l-7.98-5.68c-0.26-0.19-0.42-0.49-0.42-0.82c0-0.55,0.45-1,1-1l9.78,0c0.44,0,0.82-0.28,0.95-0.7 l3.18-9.93c0.1-0.31,0.34-0.55,0.65-0.65c0.53-0.17,1.09,0.12,1.26,0.65l3.18,9.93c0.13,0.41,0.52,0.7,0.95,0.7l9.79,0 c0.32,0,0.63,0.16,0.82,0.42C36,16.37,35.9,17,35.45,17.32L27.46,23c-0.35,0.25-0.51,0.7-0.37,1.12l3.08,9.65 C30.27,34.07,30.22,34.41,30.02,34.67z" fill="#80868b"></path></svg>
              <svg id="star-1-active" style="display: none;" focusable="false" width="34" height="34" viewBox="0 0 36 36" class=" NMm5M">
              <path d="M30.1738537,33.7654006 L27.0921483,24.1156159 C26.959813,23.7012327 27.1105413,23.2488331 27.4649676,22.9966268 L35.4477621,17.3161477 C35.8977477,16.9959424 36.0029553,16.3715793 35.68275,15.9215937 C35.4950528,15.6578223 35.1912764,15.5012346 34.8675395,15.5013769 L25.0804893,15.5056789 C24.6453619,15.5058702 24.2600542,15.2246667 24.1275461,14.8102063 L20.9521753,4.87824826 C20.7839895,4.35219504 20.2211976,4.06208615 19.6951444,4.23027193 C19.3871406,4.32874458 19.1457633,4.57007364 19.047229,4.87805774 L15.8695464,14.8103968 C15.7369778,15.2247605 15.3517177,15.5058702 14.916664,15.5056789 L5.13246101,15.5013772 C4.58017631,15.5011344 4.13226426,15.9486528 4.13202145,16.5009375 C4.13187911,16.8246744 4.28846681,17.1284508 4.55223829,17.316148 L12.5352875,22.9968084 C12.8895911,23.2489273 13.0403512,23.7011146 12.908231,24.1154083 L9.83068127,33.7657819 C9.66288114,34.2919582 9.95340248,34.8545373 10.4795788,35.0223375 C10.7880012,35.1206948 11.1249561,35.0636649 11.3838335,34.8692915 L19.3997363,28.8506971 C19.7553884,28.5836621 20.2446591,28.5835988 20.6003804,28.8505416 L28.6210329,34.8694549 C29.0627701,35.2009464 29.6895959,35.1115746 30.0210874,34.6698373 C30.2154254,34.4108674 30.2723531,34.073833 30.1738537,33.7654006 Z" fill="#fabb05">
              </path></svg>
            </div>
            <div onclick="updateRating(2)" class="s2xyy" role="radio" aria-label="Two stars" aria-checked="false" tabindex="0" jsaction="click:uOnRTe; keydown:g6LwHf" data-rating="2">
              <svg id="star-2" focusable="false" width="34" height="34" viewBox="0 0 36 36" class=" NMm5M">
                <path d="M25.19,24.72c-0.4-1.24,0.06-2.6,1.12-3.36l5.43-3.86l-6.65,0 c-1.31,0-2.46-0.84-2.86-2.09L20,8.47l-2.22,6.95c-0.4,1.24-1.55,2.09-2.86,2.09l-6.65,0l5.43,3.86c1.06,0.76,1.52,2.11,1.12,3.36 l-2.13,6.67l5.51-4.14c1.07-0.8,2.53-0.8,3.6,0l5.51,4.14L25.19,24.72z M30.02,34.67c-0.33,0.44-0.96,0.53-1.4,0.2l-8.02-6.02 c-0.36-0.27-0.84-0.27-1.2,0l-8.02,6.02c-0.26,0.19-0.6,0.25-0.9,0.15c-0.53-0.17-0.82-0.73-0.65-1.26l3.08-9.65 c0.13-0.41-0.02-0.87-0.37-1.12l-7.98-5.68c-0.26-0.19-0.42-0.49-0.42-0.82c0-0.55,0.45-1,1-1l9.78,0c0.44,0,0.82-0.28,0.95-0.7 l3.18-9.93c0.1-0.31,0.34-0.55,0.65-0.65c0.53-0.17,1.09,0.12,1.26,0.65l3.18,9.93c0.13,0.41,0.52,0.7,0.95,0.7l9.79,0 c0.32,0,0.63,0.16,0.82,0.42C36,16.37,35.9,17,35.45,17.32L27.46,23c-0.35,0.25-0.51,0.7-0.37,1.12l3.08,9.65 C30.27,34.07,30.22,34.41,30.02,34.67z" fill="#80868b">
                </path>
              </svg>

              <svg id="star-2-active" style="display: none;" focusable="false" width="34" height="34" viewBox="0 0 36 36" class=" NMm5M"><path d="M30.1738537,33.7654006 L27.0921483,24.1156159 C26.959813,23.7012327 27.1105413,23.2488331 27.4649676,22.9966268 L35.4477621,17.3161477 C35.8977477,16.9959424 36.0029553,16.3715793 35.68275,15.9215937 C35.4950528,15.6578223 35.1912764,15.5012346 34.8675395,15.5013769 L25.0804893,15.5056789 C24.6453619,15.5058702 24.2600542,15.2246667 24.1275461,14.8102063 L20.9521753,4.87824826 C20.7839895,4.35219504 20.2211976,4.06208615 19.6951444,4.23027193 C19.3871406,4.32874458 19.1457633,4.57007364 19.047229,4.87805774 L15.8695464,14.8103968 C15.7369778,15.2247605 15.3517177,15.5058702 14.916664,15.5056789 L5.13246101,15.5013772 C4.58017631,15.5011344 4.13226426,15.9486528 4.13202145,16.5009375 C4.13187911,16.8246744 4.28846681,17.1284508 4.55223829,17.316148 L12.5352875,22.9968084 C12.8895911,23.2489273 13.0403512,23.7011146 12.908231,24.1154083 L9.83068127,33.7657819 C9.66288114,34.2919582 9.95340248,34.8545373 10.4795788,35.0223375 C10.7880012,35.1206948 11.1249561,35.0636649 11.3838335,34.8692915 L19.3997363,28.8506971 C19.7553884,28.5836621 20.2446591,28.5835988 20.6003804,28.8505416 L28.6210329,34.8694549 C29.0627701,35.2009464 29.6895959,35.1115746 30.0210874,34.6698373 C30.2154254,34.4108674 30.2723531,34.073833 30.1738537,33.7654006 Z" fill="#fabb05">
              </path></svg>


            </div>
            
            <div onclick="updateRating(3)" class="s2xyy" role="radio" aria-label="Three stars" aria-checked="false" tabindex="0" jsaction="click:uOnRTe; keydown:g6LwHf" data-rating="3">
                  <svg id="star-3" focusable="false" width="34" height="34" viewBox="0 0 36 36" class=" NMm5M">
                    <path d="M25.19,24.72c-0.4-1.24,0.06-2.6,1.12-3.36l5.43-3.86l-6.65,0 c-1.31,0-2.46-0.84-2.86-2.09L20,8.47l-2.22,6.95c-0.4,1.24-1.55,2.09-2.86,2.09l-6.65,0l5.43,3.86c1.06,0.76,1.52,2.11,1.12,3.36 l-2.13,6.67l5.51-4.14c1.07-0.8,2.53-0.8,3.6,0l5.51,4.14L25.19,24.72z M30.02,34.67c-0.33,0.44-0.96,0.53-1.4,0.2l-8.02-6.02 c-0.36-0.27-0.84-0.27-1.2,0l-8.02,6.02c-0.26,0.19-0.6,0.25-0.9,0.15c-0.53-0.17-0.82-0.73-0.65-1.26l3.08-9.65 c0.13-0.41-0.02-0.87-0.37-1.12l-7.98-5.68c-0.26-0.19-0.42-0.49-0.42-0.82c0-0.55,0.45-1,1-1l9.78,0c0.44,0,0.82-0.28,0.95-0.7 l3.18-9.93c0.1-0.31,0.34-0.55,0.65-0.65c0.53-0.17,1.09,0.12,1.26,0.65l3.18,9.93c0.13,0.41,0.52,0.7,0.95,0.7l9.79,0 c0.32,0,0.63,0.16,0.82,0.42C36,16.37,35.9,17,35.45,17.32L27.46,23c-0.35,0.25-0.51,0.7-0.37,1.12l3.08,9.65 C30.27,34.07,30.22,34.41,30.02,34.67z" fill="#80868b">
                    </path>
                  </svg>

                  <svg id="star-3-active" style="display: none;" focusable="false" width="34" height="34" viewBox="0 0 36 36" class=" NMm5M"><path d="M30.1738537,33.7654006 L27.0921483,24.1156159 C26.959813,23.7012327 27.1105413,23.2488331 27.4649676,22.9966268 L35.4477621,17.3161477 C35.8977477,16.9959424 36.0029553,16.3715793 35.68275,15.9215937 C35.4950528,15.6578223 35.1912764,15.5012346 34.8675395,15.5013769 L25.0804893,15.5056789 C24.6453619,15.5058702 24.2600542,15.2246667 24.1275461,14.8102063 L20.9521753,4.87824826 C20.7839895,4.35219504 20.2211976,4.06208615 19.6951444,4.23027193 C19.3871406,4.32874458 19.1457633,4.57007364 19.047229,4.87805774 L15.8695464,14.8103968 C15.7369778,15.2247605 15.3517177,15.5058702 14.916664,15.5056789 L5.13246101,15.5013772 C4.58017631,15.5011344 4.13226426,15.9486528 4.13202145,16.5009375 C4.13187911,16.8246744 4.28846681,17.1284508 4.55223829,17.316148 L12.5352875,22.9968084 C12.8895911,23.2489273 13.0403512,23.7011146 12.908231,24.1154083 L9.83068127,33.7657819 C9.66288114,34.2919582 9.95340248,34.8545373 10.4795788,35.0223375 C10.7880012,35.1206948 11.1249561,35.0636649 11.3838335,34.8692915 L19.3997363,28.8506971 C19.7553884,28.5836621 20.2446591,28.5835988 20.6003804,28.8505416 L28.6210329,34.8694549 C29.0627701,35.2009464 29.6895959,35.1115746 30.0210874,34.6698373 C30.2154254,34.4108674 30.2723531,34.073833 30.1738537,33.7654006 Z" fill="#fabb05">
                  </path></svg>
                </div>

                <div onclick="updateRating(4)" class="s2xyy" role="radio" aria-label="Four stars" aria-checked="false" tabindex="0" jsaction="click:uOnRTe; keydown:g6LwHf" data-rating="4">
                      <svg id="star-4" focusable="false" width="34" height="34" viewBox="0 0 36 36" class=" NMm5M"><path d="M25.19,24.72c-0.4-1.24,0.06-2.6,1.12-3.36l5.43-3.86l-6.65,0 c-1.31,0-2.46-0.84-2.86-2.09L20,8.47l-2.22,6.95c-0.4,1.24-1.55,2.09-2.86,2.09l-6.65,0l5.43,3.86c1.06,0.76,1.52,2.11,1.12,3.36 l-2.13,6.67l5.51-4.14c1.07-0.8,2.53-0.8,3.6,0l5.51,4.14L25.19,24.72z M30.02,34.67c-0.33,0.44-0.96,0.53-1.4,0.2l-8.02-6.02 c-0.36-0.27-0.84-0.27-1.2,0l-8.02,6.02c-0.26,0.19-0.6,0.25-0.9,0.15c-0.53-0.17-0.82-0.73-0.65-1.26l3.08-9.65 c0.13-0.41-0.02-0.87-0.37-1.12l-7.98-5.68c-0.26-0.19-0.42-0.49-0.42-0.82c0-0.55,0.45-1,1-1l9.78,0c0.44,0,0.82-0.28,0.95-0.7 l3.18-9.93c0.1-0.31,0.34-0.55,0.65-0.65c0.53-0.17,1.09,0.12,1.26,0.65l3.18,9.93c0.13,0.41,0.52,0.7,0.95,0.7l9.79,0 c0.32,0,0.63,0.16,0.82,0.42C36,16.37,35.9,17,35.45,17.32L27.46,23c-0.35,0.25-0.51,0.7-0.37,1.12l3.08,9.65 C30.27,34.07,30.22,34.41,30.02,34.67z" fill="#80868b">
                      </path>
                    </svg>

                    <svg id="star-4-active" style="display: none;" focusable="false" width="34" height="34" viewBox="0 0 36 36" class=" NMm5M"><path d="M30.1738537,33.7654006 L27.0921483,24.1156159 C26.959813,23.7012327 27.1105413,23.2488331 27.4649676,22.9966268 L35.4477621,17.3161477 C35.8977477,16.9959424 36.0029553,16.3715793 35.68275,15.9215937 C35.4950528,15.6578223 35.1912764,15.5012346 34.8675395,15.5013769 L25.0804893,15.5056789 C24.6453619,15.5058702 24.2600542,15.2246667 24.1275461,14.8102063 L20.9521753,4.87824826 C20.7839895,4.35219504 20.2211976,4.06208615 19.6951444,4.23027193 C19.3871406,4.32874458 19.1457633,4.57007364 19.047229,4.87805774 L15.8695464,14.8103968 C15.7369778,15.2247605 15.3517177,15.5058702 14.916664,15.5056789 L5.13246101,15.5013772 C4.58017631,15.5011344 4.13226426,15.9486528 4.13202145,16.5009375 C4.13187911,16.8246744 4.28846681,17.1284508 4.55223829,17.316148 L12.5352875,22.9968084 C12.8895911,23.2489273 13.0403512,23.7011146 12.908231,24.1154083 L9.83068127,33.7657819 C9.66288114,34.2919582 9.95340248,34.8545373 10.4795788,35.0223375 C10.7880012,35.1206948 11.1249561,35.0636649 11.3838335,34.8692915 L19.3997363,28.8506971 C19.7553884,28.5836621 20.2446591,28.5835988 20.6003804,28.8505416 L28.6210329,34.8694549 C29.0627701,35.2009464 29.6895959,35.1115746 30.0210874,34.6698373 C30.2154254,34.4108674 30.2723531,34.073833 30.1738537,33.7654006 Z" fill="#fabb05">
                    </path></svg>
                </div>
                
                <div onclick="updateRating(5)" class="s2xyy" role="radio" aria-label="Five stars" aria-checked="false" tabindex="0" jsaction="click:uOnRTe; keydown:g6LwHf" data-rating="5">
                  <svg id="star-5" focusable="false" width="34" height="34" viewBox="0 0 36 36" class=" NMm5M">
                  <path d="M25.19,24.72c-0.4-1.24,0.06-2.6,1.12-3.36l5.43-3.86l-6.65,0 c-1.31,0-2.46-0.84-2.86-2.09L20,8.47l-2.22,6.95c-0.4,1.24-1.55,2.09-2.86,2.09l-6.65,0l5.43,3.86c1.06,0.76,1.52,2.11,1.12,3.36 l-2.13,6.67l5.51-4.14c1.07-0.8,2.53-0.8,3.6,0l5.51,4.14L25.19,24.72z M30.02,34.67c-0.33,0.44-0.96,0.53-1.4,0.2l-8.02-6.02 c-0.36-0.27-0.84-0.27-1.2,0l-8.02,6.02c-0.26,0.19-0.6,0.25-0.9,0.15c-0.53-0.17-0.82-0.73-0.65-1.26l3.08-9.65 c0.13-0.41-0.02-0.87-0.37-1.12l-7.98-5.68c-0.26-0.19-0.42-0.49-0.42-0.82c0-0.55,0.45-1,1-1l9.78,0c0.44,0,0.82-0.28,0.95-0.7 l3.18-9.93c0.1-0.31,0.34-0.55,0.65-0.65c0.53-0.17,1.09,0.12,1.26,0.65l3.18,9.93c0.13,0.41,0.52,0.7,0.95,0.7l9.79,0 c0.32,0,0.63,0.16,0.82,0.42C36,16.37,35.9,17,35.45,17.32L27.46,23c-0.35,0.25-0.51,0.7-0.37,1.12l3.08,9.65 C30.27,34.07,30.22,34.41,30.02,34.67z" fill="#80868b">
                  </path>
                </svg>

                <svg id="star-5-active" style="display: none;" focusable="false" width="34" height="34" viewBox="0 0 36 36" class=" NMm5M"><path d="M30.1738537,33.7654006 L27.0921483,24.1156159 C26.959813,23.7012327 27.1105413,23.2488331 27.4649676,22.9966268 L35.4477621,17.3161477 C35.8977477,16.9959424 36.0029553,16.3715793 35.68275,15.9215937 C35.4950528,15.6578223 35.1912764,15.5012346 34.8675395,15.5013769 L25.0804893,15.5056789 C24.6453619,15.5058702 24.2600542,15.2246667 24.1275461,14.8102063 L20.9521753,4.87824826 C20.7839895,4.35219504 20.2211976,4.06208615 19.6951444,4.23027193 C19.3871406,4.32874458 19.1457633,4.57007364 19.047229,4.87805774 L15.8695464,14.8103968 C15.7369778,15.2247605 15.3517177,15.5058702 14.916664,15.5056789 L5.13246101,15.5013772 C4.58017631,15.5011344 4.13226426,15.9486528 4.13202145,16.5009375 C4.13187911,16.8246744 4.28846681,17.1284508 4.55223829,17.316148 L12.5352875,22.9968084 C12.8895911,23.2489273 13.0403512,23.7011146 12.908231,24.1154083 L9.83068127,33.7657819 C9.66288114,34.2919582 9.95340248,34.8545373 10.4795788,35.0223375 C10.7880012,35.1206948 11.1249561,35.0636649 11.3838335,34.8692915 L19.3997363,28.8506971 C19.7553884,28.5836621 20.2446591,28.5835988 20.6003804,28.8505416 L28.6210329,34.8694549 C29.0627701,35.2009464 29.6895959,35.1115746 30.0210874,34.6698373 C30.2154254,34.4108674 30.2723531,34.073833 30.1738537,33.7654006 Z" fill="#fabb05">
                </path></svg>
              </div>

            </div>
      </div>

      <div class="RAKQ3e robzGe" style="display: flex;flex-direction: row;justify-content: space-around;">
        <div style="display: flex;flex-direction: row;justify-items: flex-start;align-items: center;width: 130px;">
          Đồ ăn
        </div>
        <div jsaction="keydown:dx0WL" class="lv4IMd UuEGge" data-rating="0" aria-label="Rating stars" role="radiogroup" jscontroller="U1HKxf" style="padding-right: 0px;width: 240px;">
          <div class="s2xyy" onclick="updateRatingRow1(1)" role="radio" aria-label="One star" aria-checked="false" tabindex="0" data-rating="1">
          <svg id="star-1-row1" style="display: inline-block;" focusable="false" width="34" height="34" viewBox="0 0 36 36" class=" NMm5M"><path d="M25.19,24.72c-0.4-1.24,0.06-2.6,1.12-3.36l5.43-3.86l-6.65,0 c-1.31,0-2.46-0.84-2.86-2.09L20,8.47l-2.22,6.95c-0.4,1.24-1.55,2.09-2.86,2.09l-6.65,0l5.43,3.86c1.06,0.76,1.52,2.11,1.12,3.36 l-2.13,6.67l5.51-4.14c1.07-0.8,2.53-0.8,3.6,0l5.51,4.14L25.19,24.72z M30.02,34.67c-0.33,0.44-0.96,0.53-1.4,0.2l-8.02-6.02 c-0.36-0.27-0.84-0.27-1.2,0l-8.02,6.02c-0.26,0.19-0.6,0.25-0.9,0.15c-0.53-0.17-0.82-0.73-0.65-1.26l3.08-9.65 c0.13-0.41-0.02-0.87-0.37-1.12l-7.98-5.68c-0.26-0.19-0.42-0.49-0.42-0.82c0-0.55,0.45-1,1-1l9.78,0c0.44,0,0.82-0.28,0.95-0.7 l3.18-9.93c0.1-0.31,0.34-0.55,0.65-0.65c0.53-0.17,1.09,0.12,1.26,0.65l3.18,9.93c0.13,0.41,0.52,0.7,0.95,0.7l9.79,0 c0.32,0,0.63,0.16,0.82,0.42C36,16.37,35.9,17,35.45,17.32L27.46,23c-0.35,0.25-0.51,0.7-0.37,1.12l3.08,9.65 C30.27,34.07,30.22,34.41,30.02,34.67z" fill="#80868b"></path></svg>
             <svg id="star-1-row1-active" style="display: none;" focusable="false" width="34" height="34" viewBox="0 0 36 36" class=" NMm5M">
             <path d="M30.1738537,33.7654006 L27.0921483,24.1156159 C26.959813,23.7012327 27.1105413,23.2488331 27.4649676,22.9966268 L35.4477621,17.3161477 C35.8977477,16.9959424 36.0029553,16.3715793 35.68275,15.9215937 C35.4950528,15.6578223 35.1912764,15.5012346 34.8675395,15.5013769 L25.0804893,15.5056789 C24.6453619,15.5058702 24.2600542,15.2246667 24.1275461,14.8102063 L20.9521753,4.87824826 C20.7839895,4.35219504 20.2211976,4.06208615 19.6951444,4.23027193 C19.3871406,4.32874458 19.1457633,4.57007364 19.047229,4.87805774 L15.8695464,14.8103968 C15.7369778,15.2247605 15.3517177,15.5058702 14.916664,15.5056789 L5.13246101,15.5013772 C4.58017631,15.5011344 4.13226426,15.9486528 4.13202145,16.5009375 C4.13187911,16.8246744 4.28846681,17.1284508 4.55223829,17.316148 L12.5352875,22.9968084 C12.8895911,23.2489273 13.0403512,23.7011146 12.908231,24.1154083 L9.83068127,33.7657819 C9.66288114,34.2919582 9.95340248,34.8545373 10.4795788,35.0223375 C10.7880012,35.1206948 11.1249561,35.0636649 11.3838335,34.8692915 L19.3997363,28.8506971 C19.7553884,28.5836621 20.2446591,28.5835988 20.6003804,28.8505416 L28.6210329,34.8694549 C29.0627701,35.2009464 29.6895959,35.1115746 30.0210874,34.6698373 C30.2154254,34.4108674 30.2723531,34.073833 30.1738537,33.7654006 Z" fill="#fabb05">
             </path></svg>
           </div>
           <div onclick="updateRatingRow1(2)" class="s2xyy" role="radio" aria-label="Two stars" aria-checked="false" tabindex="0" jsaction="click:uOnRTe; keydown:g6LwHf" data-rating="2">
             <svg id="star-2-row1" focusable="false" width="34" height="34" viewBox="0 0 36 36" class=" NMm5M">
               <path d="M25.19,24.72c-0.4-1.24,0.06-2.6,1.12-3.36l5.43-3.86l-6.65,0 c-1.31,0-2.46-0.84-2.86-2.09L20,8.47l-2.22,6.95c-0.4,1.24-1.55,2.09-2.86,2.09l-6.65,0l5.43,3.86c1.06,0.76,1.52,2.11,1.12,3.36 l-2.13,6.67l5.51-4.14c1.07-0.8,2.53-0.8,3.6,0l5.51,4.14L25.19,24.72z M30.02,34.67c-0.33,0.44-0.96,0.53-1.4,0.2l-8.02-6.02 c-0.36-0.27-0.84-0.27-1.2,0l-8.02,6.02c-0.26,0.19-0.6,0.25-0.9,0.15c-0.53-0.17-0.82-0.73-0.65-1.26l3.08-9.65 c0.13-0.41-0.02-0.87-0.37-1.12l-7.98-5.68c-0.26-0.19-0.42-0.49-0.42-0.82c0-0.55,0.45-1,1-1l9.78,0c0.44,0,0.82-0.28,0.95-0.7 l3.18-9.93c0.1-0.31,0.34-0.55,0.65-0.65c0.53-0.17,1.09,0.12,1.26,0.65l3.18,9.93c0.13,0.41,0.52,0.7,0.95,0.7l9.79,0 c0.32,0,0.63,0.16,0.82,0.42C36,16.37,35.9,17,35.45,17.32L27.46,23c-0.35,0.25-0.51,0.7-0.37,1.12l3.08,9.65 C30.27,34.07,30.22,34.41,30.02,34.67z" fill="#80868b">
               </path>
             </svg>

             <svg id="star-2-row1-active" style="display: none;" focusable="false" width="34" height="34" viewBox="0 0 36 36" class=" NMm5M"><path d="M30.1738537,33.7654006 L27.0921483,24.1156159 C26.959813,23.7012327 27.1105413,23.2488331 27.4649676,22.9966268 L35.4477621,17.3161477 C35.8977477,16.9959424 36.0029553,16.3715793 35.68275,15.9215937 C35.4950528,15.6578223 35.1912764,15.5012346 34.8675395,15.5013769 L25.0804893,15.5056789 C24.6453619,15.5058702 24.2600542,15.2246667 24.1275461,14.8102063 L20.9521753,4.87824826 C20.7839895,4.35219504 20.2211976,4.06208615 19.6951444,4.23027193 C19.3871406,4.32874458 19.1457633,4.57007364 19.047229,4.87805774 L15.8695464,14.8103968 C15.7369778,15.2247605 15.3517177,15.5058702 14.916664,15.5056789 L5.13246101,15.5013772 C4.58017631,15.5011344 4.13226426,15.9486528 4.13202145,16.5009375 C4.13187911,16.8246744 4.28846681,17.1284508 4.55223829,17.316148 L12.5352875,22.9968084 C12.8895911,23.2489273 13.0403512,23.7011146 12.908231,24.1154083 L9.83068127,33.7657819 C9.66288114,34.2919582 9.95340248,34.8545373 10.4795788,35.0223375 C10.7880012,35.1206948 11.1249561,35.0636649 11.3838335,34.8692915 L19.3997363,28.8506971 C19.7553884,28.5836621 20.2446591,28.5835988 20.6003804,28.8505416 L28.6210329,34.8694549 C29.0627701,35.2009464 29.6895959,35.1115746 30.0210874,34.6698373 C30.2154254,34.4108674 30.2723531,34.073833 30.1738537,33.7654006 Z" fill="#fabb05">
             </path></svg>


           </div>
           
           <div onclick="updateRatingRow1(3)" class="s2xyy" role="radio" aria-label="Three stars" aria-checked="false" tabindex="0" jsaction="click:uOnRTe; keydown:g6LwHf" data-rating="3">
                 <svg id="star-3-row1" focusable="false" width="34" height="34" viewBox="0 0 36 36" class=" NMm5M">
                   <path d="M25.19,24.72c-0.4-1.24,0.06-2.6,1.12-3.36l5.43-3.86l-6.65,0 c-1.31,0-2.46-0.84-2.86-2.09L20,8.47l-2.22,6.95c-0.4,1.24-1.55,2.09-2.86,2.09l-6.65,0l5.43,3.86c1.06,0.76,1.52,2.11,1.12,3.36 l-2.13,6.67l5.51-4.14c1.07-0.8,2.53-0.8,3.6,0l5.51,4.14L25.19,24.72z M30.02,34.67c-0.33,0.44-0.96,0.53-1.4,0.2l-8.02-6.02 c-0.36-0.27-0.84-0.27-1.2,0l-8.02,6.02c-0.26,0.19-0.6,0.25-0.9,0.15c-0.53-0.17-0.82-0.73-0.65-1.26l3.08-9.65 c0.13-0.41-0.02-0.87-0.37-1.12l-7.98-5.68c-0.26-0.19-0.42-0.49-0.42-0.82c0-0.55,0.45-1,1-1l9.78,0c0.44,0,0.82-0.28,0.95-0.7 l3.18-9.93c0.1-0.31,0.34-0.55,0.65-0.65c0.53-0.17,1.09,0.12,1.26,0.65l3.18,9.93c0.13,0.41,0.52,0.7,0.95,0.7l9.79,0 c0.32,0,0.63,0.16,0.82,0.42C36,16.37,35.9,17,35.45,17.32L27.46,23c-0.35,0.25-0.51,0.7-0.37,1.12l3.08,9.65 C30.27,34.07,30.22,34.41,30.02,34.67z" fill="#80868b">
                   </path>
                 </svg>

                 <svg id="star-3-row1-active" style="display: none;" focusable="false" width="34" height="34" viewBox="0 0 36 36" class=" NMm5M"><path d="M30.1738537,33.7654006 L27.0921483,24.1156159 C26.959813,23.7012327 27.1105413,23.2488331 27.4649676,22.9966268 L35.4477621,17.3161477 C35.8977477,16.9959424 36.0029553,16.3715793 35.68275,15.9215937 C35.4950528,15.6578223 35.1912764,15.5012346 34.8675395,15.5013769 L25.0804893,15.5056789 C24.6453619,15.5058702 24.2600542,15.2246667 24.1275461,14.8102063 L20.9521753,4.87824826 C20.7839895,4.35219504 20.2211976,4.06208615 19.6951444,4.23027193 C19.3871406,4.32874458 19.1457633,4.57007364 19.047229,4.87805774 L15.8695464,14.8103968 C15.7369778,15.2247605 15.3517177,15.5058702 14.916664,15.5056789 L5.13246101,15.5013772 C4.58017631,15.5011344 4.13226426,15.9486528 4.13202145,16.5009375 C4.13187911,16.8246744 4.28846681,17.1284508 4.55223829,17.316148 L12.5352875,22.9968084 C12.8895911,23.2489273 13.0403512,23.7011146 12.908231,24.1154083 L9.83068127,33.7657819 C9.66288114,34.2919582 9.95340248,34.8545373 10.4795788,35.0223375 C10.7880012,35.1206948 11.1249561,35.0636649 11.3838335,34.8692915 L19.3997363,28.8506971 C19.7553884,28.5836621 20.2446591,28.5835988 20.6003804,28.8505416 L28.6210329,34.8694549 C29.0627701,35.2009464 29.6895959,35.1115746 30.0210874,34.6698373 C30.2154254,34.4108674 30.2723531,34.073833 30.1738537,33.7654006 Z" fill="#fabb05">
                 </path></svg>
               </div>

               <div onclick="updateRatingRow1(4)" class="s2xyy" role="radio" aria-label="Four stars" aria-checked="false" tabindex="0" jsaction="click:uOnRTe; keydown:g6LwHf" data-rating="4">
                     <svg id="star-4-row1" focusable="false" width="34" height="34" viewBox="0 0 36 36" class=" NMm5M"><path d="M25.19,24.72c-0.4-1.24,0.06-2.6,1.12-3.36l5.43-3.86l-6.65,0 c-1.31,0-2.46-0.84-2.86-2.09L20,8.47l-2.22,6.95c-0.4,1.24-1.55,2.09-2.86,2.09l-6.65,0l5.43,3.86c1.06,0.76,1.52,2.11,1.12,3.36 l-2.13,6.67l5.51-4.14c1.07-0.8,2.53-0.8,3.6,0l5.51,4.14L25.19,24.72z M30.02,34.67c-0.33,0.44-0.96,0.53-1.4,0.2l-8.02-6.02 c-0.36-0.27-0.84-0.27-1.2,0l-8.02,6.02c-0.26,0.19-0.6,0.25-0.9,0.15c-0.53-0.17-0.82-0.73-0.65-1.26l3.08-9.65 c0.13-0.41-0.02-0.87-0.37-1.12l-7.98-5.68c-0.26-0.19-0.42-0.49-0.42-0.82c0-0.55,0.45-1,1-1l9.78,0c0.44,0,0.82-0.28,0.95-0.7 l3.18-9.93c0.1-0.31,0.34-0.55,0.65-0.65c0.53-0.17,1.09,0.12,1.26,0.65l3.18,9.93c0.13,0.41,0.52,0.7,0.95,0.7l9.79,0 c0.32,0,0.63,0.16,0.82,0.42C36,16.37,35.9,17,35.45,17.32L27.46,23c-0.35,0.25-0.51,0.7-0.37,1.12l3.08,9.65 C30.27,34.07,30.22,34.41,30.02,34.67z" fill="#80868b">
                     </path>
                   </svg>

                   <svg id="star-4-row1-active" style="display: none;" focusable="false" width="34" height="34" viewBox="0 0 36 36" class=" NMm5M"><path d="M30.1738537,33.7654006 L27.0921483,24.1156159 C26.959813,23.7012327 27.1105413,23.2488331 27.4649676,22.9966268 L35.4477621,17.3161477 C35.8977477,16.9959424 36.0029553,16.3715793 35.68275,15.9215937 C35.4950528,15.6578223 35.1912764,15.5012346 34.8675395,15.5013769 L25.0804893,15.5056789 C24.6453619,15.5058702 24.2600542,15.2246667 24.1275461,14.8102063 L20.9521753,4.87824826 C20.7839895,4.35219504 20.2211976,4.06208615 19.6951444,4.23027193 C19.3871406,4.32874458 19.1457633,4.57007364 19.047229,4.87805774 L15.8695464,14.8103968 C15.7369778,15.2247605 15.3517177,15.5058702 14.916664,15.5056789 L5.13246101,15.5013772 C4.58017631,15.5011344 4.13226426,15.9486528 4.13202145,16.5009375 C4.13187911,16.8246744 4.28846681,17.1284508 4.55223829,17.316148 L12.5352875,22.9968084 C12.8895911,23.2489273 13.0403512,23.7011146 12.908231,24.1154083 L9.83068127,33.7657819 C9.66288114,34.2919582 9.95340248,34.8545373 10.4795788,35.0223375 C10.7880012,35.1206948 11.1249561,35.0636649 11.3838335,34.8692915 L19.3997363,28.8506971 C19.7553884,28.5836621 20.2446591,28.5835988 20.6003804,28.8505416 L28.6210329,34.8694549 C29.0627701,35.2009464 29.6895959,35.1115746 30.0210874,34.6698373 C30.2154254,34.4108674 30.2723531,34.073833 30.1738537,33.7654006 Z" fill="#fabb05">
                   </path></svg>
               </div>
               
               <div onclick="updateRatingRow1(5)" class="s2xyy" role="radio" aria-label="Five stars" aria-checked="false" tabindex="0" jsaction="click:uOnRTe; keydown:g6LwHf" data-rating="5">
                 <svg id="star-5-row1" focusable="false" width="34" height="34" viewBox="0 0 36 36" class=" NMm5M">
                 <path d="M25.19,24.72c-0.4-1.24,0.06-2.6,1.12-3.36l5.43-3.86l-6.65,0 c-1.31,0-2.46-0.84-2.86-2.09L20,8.47l-2.22,6.95c-0.4,1.24-1.55,2.09-2.86,2.09l-6.65,0l5.43,3.86c1.06,0.76,1.52,2.11,1.12,3.36 l-2.13,6.67l5.51-4.14c1.07-0.8,2.53-0.8,3.6,0l5.51,4.14L25.19,24.72z M30.02,34.67c-0.33,0.44-0.96,0.53-1.4,0.2l-8.02-6.02 c-0.36-0.27-0.84-0.27-1.2,0l-8.02,6.02c-0.26,0.19-0.6,0.25-0.9,0.15c-0.53-0.17-0.82-0.73-0.65-1.26l3.08-9.65 c0.13-0.41-0.02-0.87-0.37-1.12l-7.98-5.68c-0.26-0.19-0.42-0.49-0.42-0.82c0-0.55,0.45-1,1-1l9.78,0c0.44,0,0.82-0.28,0.95-0.7 l3.18-9.93c0.1-0.31,0.34-0.55,0.65-0.65c0.53-0.17,1.09,0.12,1.26,0.65l3.18,9.93c0.13,0.41,0.52,0.7,0.95,0.7l9.79,0 c0.32,0,0.63,0.16,0.82,0.42C36,16.37,35.9,17,35.45,17.32L27.46,23c-0.35,0.25-0.51,0.7-0.37,1.12l3.08,9.65 C30.27,34.07,30.22,34.41,30.02,34.67z" fill="#80868b">
                 </path>
               </svg>

               <svg id="star-5-row1-active" style="display: none;" focusable="false" width="34" height="34" viewBox="0 0 36 36" class=" NMm5M"><path d="M30.1738537,33.7654006 L27.0921483,24.1156159 C26.959813,23.7012327 27.1105413,23.2488331 27.4649676,22.9966268 L35.4477621,17.3161477 C35.8977477,16.9959424 36.0029553,16.3715793 35.68275,15.9215937 C35.4950528,15.6578223 35.1912764,15.5012346 34.8675395,15.5013769 L25.0804893,15.5056789 C24.6453619,15.5058702 24.2600542,15.2246667 24.1275461,14.8102063 L20.9521753,4.87824826 C20.7839895,4.35219504 20.2211976,4.06208615 19.6951444,4.23027193 C19.3871406,4.32874458 19.1457633,4.57007364 19.047229,4.87805774 L15.8695464,14.8103968 C15.7369778,15.2247605 15.3517177,15.5058702 14.916664,15.5056789 L5.13246101,15.5013772 C4.58017631,15.5011344 4.13226426,15.9486528 4.13202145,16.5009375 C4.13187911,16.8246744 4.28846681,17.1284508 4.55223829,17.316148 L12.5352875,22.9968084 C12.8895911,23.2489273 13.0403512,23.7011146 12.908231,24.1154083 L9.83068127,33.7657819 C9.66288114,34.2919582 9.95340248,34.8545373 10.4795788,35.0223375 C10.7880012,35.1206948 11.1249561,35.0636649 11.3838335,34.8692915 L19.3997363,28.8506971 C19.7553884,28.5836621 20.2446591,28.5835988 20.6003804,28.8505416 L28.6210329,34.8694549 C29.0627701,35.2009464 29.6895959,35.1115746 30.0210874,34.6698373 C30.2154254,34.4108674 30.2723531,34.073833 30.1738537,33.7654006 Z" fill="#fabb05">
               </path></svg>
             </div>

         </div>
     </div>

     <div class="RAKQ3e robzGe" style="display: flex;flex-direction: row;justify-content: space-around;">
       <div style="display: flex;flex-direction: row;justify-items: flex-start;align-items: center;width: 130px;">
         Dịch vụ
       </div>
       <div jsaction="keydown:dx0WL" class="lv4IMd UuEGge" data-rating="0" aria-label="Rating stars" role="radiogroup" jscontroller="U1HKxf" style="padding-right: 0px;width: 240px;">
         <div class="s2xyy" onclick="updateRatingRow2(1)" role="radio" aria-label="One star" aria-checked="false" tabindex="0" data-rating="1">
         <svg id="star-1-row2" style="display: inline-block;" focusable="false" width="34" height="34" viewBox="0 0 36 36" class=" NMm5M"><path d="M25.19,24.72c-0.4-1.24,0.06-2.6,1.12-3.36l5.43-3.86l-6.65,0 c-1.31,0-2.46-0.84-2.86-2.09L20,8.47l-2.22,6.95c-0.4,1.24-1.55,2.09-2.86,2.09l-6.65,0l5.43,3.86c1.06,0.76,1.52,2.11,1.12,3.36 l-2.13,6.67l5.51-4.14c1.07-0.8,2.53-0.8,3.6,0l5.51,4.14L25.19,24.72z M30.02,34.67c-0.33,0.44-0.96,0.53-1.4,0.2l-8.02-6.02 c-0.36-0.27-0.84-0.27-1.2,0l-8.02,6.02c-0.26,0.19-0.6,0.25-0.9,0.15c-0.53-0.17-0.82-0.73-0.65-1.26l3.08-9.65 c0.13-0.41-0.02-0.87-0.37-1.12l-7.98-5.68c-0.26-0.19-0.42-0.49-0.42-0.82c0-0.55,0.45-1,1-1l9.78,0c0.44,0,0.82-0.28,0.95-0.7 l3.18-9.93c0.1-0.31,0.34-0.55,0.65-0.65c0.53-0.17,1.09,0.12,1.26,0.65l3.18,9.93c0.13,0.41,0.52,0.7,0.95,0.7l9.79,0 c0.32,0,0.63,0.16,0.82,0.42C36,16.37,35.9,17,35.45,17.32L27.46,23c-0.35,0.25-0.51,0.7-0.37,1.12l3.08,9.65 C30.27,34.07,30.22,34.41,30.02,34.67z" fill="#80868b"></path></svg>
            <svg id="star-1-row2-active" style="display: none;" focusable="false" width="34" height="34" viewBox="0 0 36 36" class=" NMm5M">
            <path d="M30.1738537,33.7654006 L27.0921483,24.1156159 C26.959813,23.7012327 27.1105413,23.2488331 27.4649676,22.9966268 L35.4477621,17.3161477 C35.8977477,16.9959424 36.0029553,16.3715793 35.68275,15.9215937 C35.4950528,15.6578223 35.1912764,15.5012346 34.8675395,15.5013769 L25.0804893,15.5056789 C24.6453619,15.5058702 24.2600542,15.2246667 24.1275461,14.8102063 L20.9521753,4.87824826 C20.7839895,4.35219504 20.2211976,4.06208615 19.6951444,4.23027193 C19.3871406,4.32874458 19.1457633,4.57007364 19.047229,4.87805774 L15.8695464,14.8103968 C15.7369778,15.2247605 15.3517177,15.5058702 14.916664,15.5056789 L5.13246101,15.5013772 C4.58017631,15.5011344 4.13226426,15.9486528 4.13202145,16.5009375 C4.13187911,16.8246744 4.28846681,17.1284508 4.55223829,17.316148 L12.5352875,22.9968084 C12.8895911,23.2489273 13.0403512,23.7011146 12.908231,24.1154083 L9.83068127,33.7657819 C9.66288114,34.2919582 9.95340248,34.8545373 10.4795788,35.0223375 C10.7880012,35.1206948 11.1249561,35.0636649 11.3838335,34.8692915 L19.3997363,28.8506971 C19.7553884,28.5836621 20.2446591,28.5835988 20.6003804,28.8505416 L28.6210329,34.8694549 C29.0627701,35.2009464 29.6895959,35.1115746 30.0210874,34.6698373 C30.2154254,34.4108674 30.2723531,34.073833 30.1738537,33.7654006 Z" fill="#fabb05">
            </path></svg>
          </div>
          <div onclick="updateRatingRow2(2)" class="s2xyy" role="radio" aria-label="Two stars" aria-checked="false" tabindex="0" jsaction="click:uOnRTe; keydown:g6LwHf" data-rating="2">
            <svg id="star-2-row2" focusable="false" width="34" height="34" viewBox="0 0 36 36" class=" NMm5M">
              <path d="M25.19,24.72c-0.4-1.24,0.06-2.6,1.12-3.36l5.43-3.86l-6.65,0 c-1.31,0-2.46-0.84-2.86-2.09L20,8.47l-2.22,6.95c-0.4,1.24-1.55,2.09-2.86,2.09l-6.65,0l5.43,3.86c1.06,0.76,1.52,2.11,1.12,3.36 l-2.13,6.67l5.51-4.14c1.07-0.8,2.53-0.8,3.6,0l5.51,4.14L25.19,24.72z M30.02,34.67c-0.33,0.44-0.96,0.53-1.4,0.2l-8.02-6.02 c-0.36-0.27-0.84-0.27-1.2,0l-8.02,6.02c-0.26,0.19-0.6,0.25-0.9,0.15c-0.53-0.17-0.82-0.73-0.65-1.26l3.08-9.65 c0.13-0.41-0.02-0.87-0.37-1.12l-7.98-5.68c-0.26-0.19-0.42-0.49-0.42-0.82c0-0.55,0.45-1,1-1l9.78,0c0.44,0,0.82-0.28,0.95-0.7 l3.18-9.93c0.1-0.31,0.34-0.55,0.65-0.65c0.53-0.17,1.09,0.12,1.26,0.65l3.18,9.93c0.13,0.41,0.52,0.7,0.95,0.7l9.79,0 c0.32,0,0.63,0.16,0.82,0.42C36,16.37,35.9,17,35.45,17.32L27.46,23c-0.35,0.25-0.51,0.7-0.37,1.12l3.08,9.65 C30.27,34.07,30.22,34.41,30.02,34.67z" fill="#80868b">
              </path>
            </svg>

            <svg id="star-2-row2-active" style="display: none;" focusable="false" width="34" height="34" viewBox="0 0 36 36" class=" NMm5M"><path d="M30.1738537,33.7654006 L27.0921483,24.1156159 C26.959813,23.7012327 27.1105413,23.2488331 27.4649676,22.9966268 L35.4477621,17.3161477 C35.8977477,16.9959424 36.0029553,16.3715793 35.68275,15.9215937 C35.4950528,15.6578223 35.1912764,15.5012346 34.8675395,15.5013769 L25.0804893,15.5056789 C24.6453619,15.5058702 24.2600542,15.2246667 24.1275461,14.8102063 L20.9521753,4.87824826 C20.7839895,4.35219504 20.2211976,4.06208615 19.6951444,4.23027193 C19.3871406,4.32874458 19.1457633,4.57007364 19.047229,4.87805774 L15.8695464,14.8103968 C15.7369778,15.2247605 15.3517177,15.5058702 14.916664,15.5056789 L5.13246101,15.5013772 C4.58017631,15.5011344 4.13226426,15.9486528 4.13202145,16.5009375 C4.13187911,16.8246744 4.28846681,17.1284508 4.55223829,17.316148 L12.5352875,22.9968084 C12.8895911,23.2489273 13.0403512,23.7011146 12.908231,24.1154083 L9.83068127,33.7657819 C9.66288114,34.2919582 9.95340248,34.8545373 10.4795788,35.0223375 C10.7880012,35.1206948 11.1249561,35.0636649 11.3838335,34.8692915 L19.3997363,28.8506971 C19.7553884,28.5836621 20.2446591,28.5835988 20.6003804,28.8505416 L28.6210329,34.8694549 C29.0627701,35.2009464 29.6895959,35.1115746 30.0210874,34.6698373 C30.2154254,34.4108674 30.2723531,34.073833 30.1738537,33.7654006 Z" fill="#fabb05">
            </path></svg>


          </div>
          
          <div onclick="updateRatingRow2(3)" class="s2xyy" role="radio" aria-label="Three stars" aria-checked="false" tabindex="0" jsaction="click:uOnRTe; keydown:g6LwHf" data-rating="3">
                <svg id="star-3-row2" focusable="false" width="34" height="34" viewBox="0 0 36 36" class=" NMm5M">
                  <path d="M25.19,24.72c-0.4-1.24,0.06-2.6,1.12-3.36l5.43-3.86l-6.65,0 c-1.31,0-2.46-0.84-2.86-2.09L20,8.47l-2.22,6.95c-0.4,1.24-1.55,2.09-2.86,2.09l-6.65,0l5.43,3.86c1.06,0.76,1.52,2.11,1.12,3.36 l-2.13,6.67l5.51-4.14c1.07-0.8,2.53-0.8,3.6,0l5.51,4.14L25.19,24.72z M30.02,34.67c-0.33,0.44-0.96,0.53-1.4,0.2l-8.02-6.02 c-0.36-0.27-0.84-0.27-1.2,0l-8.02,6.02c-0.26,0.19-0.6,0.25-0.9,0.15c-0.53-0.17-0.82-0.73-0.65-1.26l3.08-9.65 c0.13-0.41-0.02-0.87-0.37-1.12l-7.98-5.68c-0.26-0.19-0.42-0.49-0.42-0.82c0-0.55,0.45-1,1-1l9.78,0c0.44,0,0.82-0.28,0.95-0.7 l3.18-9.93c0.1-0.31,0.34-0.55,0.65-0.65c0.53-0.17,1.09,0.12,1.26,0.65l3.18,9.93c0.13,0.41,0.52,0.7,0.95,0.7l9.79,0 c0.32,0,0.63,0.16,0.82,0.42C36,16.37,35.9,17,35.45,17.32L27.46,23c-0.35,0.25-0.51,0.7-0.37,1.12l3.08,9.65 C30.27,34.07,30.22,34.41,30.02,34.67z" fill="#80868b">
                  </path>
                </svg>

                <svg id="star-3-row2-active" style="display: none;" focusable="false" width="34" height="34" viewBox="0 0 36 36" class=" NMm5M"><path d="M30.1738537,33.7654006 L27.0921483,24.1156159 C26.959813,23.7012327 27.1105413,23.2488331 27.4649676,22.9966268 L35.4477621,17.3161477 C35.8977477,16.9959424 36.0029553,16.3715793 35.68275,15.9215937 C35.4950528,15.6578223 35.1912764,15.5012346 34.8675395,15.5013769 L25.0804893,15.5056789 C24.6453619,15.5058702 24.2600542,15.2246667 24.1275461,14.8102063 L20.9521753,4.87824826 C20.7839895,4.35219504 20.2211976,4.06208615 19.6951444,4.23027193 C19.3871406,4.32874458 19.1457633,4.57007364 19.047229,4.87805774 L15.8695464,14.8103968 C15.7369778,15.2247605 15.3517177,15.5058702 14.916664,15.5056789 L5.13246101,15.5013772 C4.58017631,15.5011344 4.13226426,15.9486528 4.13202145,16.5009375 C4.13187911,16.8246744 4.28846681,17.1284508 4.55223829,17.316148 L12.5352875,22.9968084 C12.8895911,23.2489273 13.0403512,23.7011146 12.908231,24.1154083 L9.83068127,33.7657819 C9.66288114,34.2919582 9.95340248,34.8545373 10.4795788,35.0223375 C10.7880012,35.1206948 11.1249561,35.0636649 11.3838335,34.8692915 L19.3997363,28.8506971 C19.7553884,28.5836621 20.2446591,28.5835988 20.6003804,28.8505416 L28.6210329,34.8694549 C29.0627701,35.2009464 29.6895959,35.1115746 30.0210874,34.6698373 C30.2154254,34.4108674 30.2723531,34.073833 30.1738537,33.7654006 Z" fill="#fabb05">
                </path></svg>
              </div>

              <div onclick="updateRatingRow2(4)" class="s2xyy" role="radio" aria-label="Four stars" aria-checked="false" tabindex="0" jsaction="click:uOnRTe; keydown:g6LwHf" data-rating="4">
                    <svg id="star-4-row2" focusable="false" width="34" height="34" viewBox="0 0 36 36" class=" NMm5M"><path d="M25.19,24.72c-0.4-1.24,0.06-2.6,1.12-3.36l5.43-3.86l-6.65,0 c-1.31,0-2.46-0.84-2.86-2.09L20,8.47l-2.22,6.95c-0.4,1.24-1.55,2.09-2.86,2.09l-6.65,0l5.43,3.86c1.06,0.76,1.52,2.11,1.12,3.36 l-2.13,6.67l5.51-4.14c1.07-0.8,2.53-0.8,3.6,0l5.51,4.14L25.19,24.72z M30.02,34.67c-0.33,0.44-0.96,0.53-1.4,0.2l-8.02-6.02 c-0.36-0.27-0.84-0.27-1.2,0l-8.02,6.02c-0.26,0.19-0.6,0.25-0.9,0.15c-0.53-0.17-0.82-0.73-0.65-1.26l3.08-9.65 c0.13-0.41-0.02-0.87-0.37-1.12l-7.98-5.68c-0.26-0.19-0.42-0.49-0.42-0.82c0-0.55,0.45-1,1-1l9.78,0c0.44,0,0.82-0.28,0.95-0.7 l3.18-9.93c0.1-0.31,0.34-0.55,0.65-0.65c0.53-0.17,1.09,0.12,1.26,0.65l3.18,9.93c0.13,0.41,0.52,0.7,0.95,0.7l9.79,0 c0.32,0,0.63,0.16,0.82,0.42C36,16.37,35.9,17,35.45,17.32L27.46,23c-0.35,0.25-0.51,0.7-0.37,1.12l3.08,9.65 C30.27,34.07,30.22,34.41,30.02,34.67z" fill="#80868b">
                    </path>
                  </svg>

                  <svg id="star-4-row2-active" style="display: none;" focusable="false" width="34" height="34" viewBox="0 0 36 36" class=" NMm5M"><path d="M30.1738537,33.7654006 L27.0921483,24.1156159 C26.959813,23.7012327 27.1105413,23.2488331 27.4649676,22.9966268 L35.4477621,17.3161477 C35.8977477,16.9959424 36.0029553,16.3715793 35.68275,15.9215937 C35.4950528,15.6578223 35.1912764,15.5012346 34.8675395,15.5013769 L25.0804893,15.5056789 C24.6453619,15.5058702 24.2600542,15.2246667 24.1275461,14.8102063 L20.9521753,4.87824826 C20.7839895,4.35219504 20.2211976,4.06208615 19.6951444,4.23027193 C19.3871406,4.32874458 19.1457633,4.57007364 19.047229,4.87805774 L15.8695464,14.8103968 C15.7369778,15.2247605 15.3517177,15.5058702 14.916664,15.5056789 L5.13246101,15.5013772 C4.58017631,15.5011344 4.13226426,15.9486528 4.13202145,16.5009375 C4.13187911,16.8246744 4.28846681,17.1284508 4.55223829,17.316148 L12.5352875,22.9968084 C12.8895911,23.2489273 13.0403512,23.7011146 12.908231,24.1154083 L9.83068127,33.7657819 C9.66288114,34.2919582 9.95340248,34.8545373 10.4795788,35.0223375 C10.7880012,35.1206948 11.1249561,35.0636649 11.3838335,34.8692915 L19.3997363,28.8506971 C19.7553884,28.5836621 20.2446591,28.5835988 20.6003804,28.8505416 L28.6210329,34.8694549 C29.0627701,35.2009464 29.6895959,35.1115746 30.0210874,34.6698373 C30.2154254,34.4108674 30.2723531,34.073833 30.1738537,33.7654006 Z" fill="#fabb05">
                  </path></svg>
              </div>
              
              <div onclick="updateRatingRow2(5)" class="s2xyy" role="radio" aria-label="Five stars" aria-checked="false" tabindex="0" jsaction="click:uOnRTe; keydown:g6LwHf" data-rating="5">
                <svg id="star-5-row2" focusable="false" width="34" height="34" viewBox="0 0 36 36" class=" NMm5M">
                <path d="M25.19,24.72c-0.4-1.24,0.06-2.6,1.12-3.36l5.43-3.86l-6.65,0 c-1.31,0-2.46-0.84-2.86-2.09L20,8.47l-2.22,6.95c-0.4,1.24-1.55,2.09-2.86,2.09l-6.65,0l5.43,3.86c1.06,0.76,1.52,2.11,1.12,3.36 l-2.13,6.67l5.51-4.14c1.07-0.8,2.53-0.8,3.6,0l5.51,4.14L25.19,24.72z M30.02,34.67c-0.33,0.44-0.96,0.53-1.4,0.2l-8.02-6.02 c-0.36-0.27-0.84-0.27-1.2,0l-8.02,6.02c-0.26,0.19-0.6,0.25-0.9,0.15c-0.53-0.17-0.82-0.73-0.65-1.26l3.08-9.65 c0.13-0.41-0.02-0.87-0.37-1.12l-7.98-5.68c-0.26-0.19-0.42-0.49-0.42-0.82c0-0.55,0.45-1,1-1l9.78,0c0.44,0,0.82-0.28,0.95-0.7 l3.18-9.93c0.1-0.31,0.34-0.55,0.65-0.65c0.53-0.17,1.09,0.12,1.26,0.65l3.18,9.93c0.13,0.41,0.52,0.7,0.95,0.7l9.79,0 c0.32,0,0.63,0.16,0.82,0.42C36,16.37,35.9,17,35.45,17.32L27.46,23c-0.35,0.25-0.51,0.7-0.37,1.12l3.08,9.65 C30.27,34.07,30.22,34.41,30.02,34.67z" fill="#80868b">
                </path>
              </svg>

              <svg id="star-5-row2-active" style="display: none;" focusable="false" width="34" height="34" viewBox="0 0 36 36" class=" NMm5M"><path d="M30.1738537,33.7654006 L27.0921483,24.1156159 C26.959813,23.7012327 27.1105413,23.2488331 27.4649676,22.9966268 L35.4477621,17.3161477 C35.8977477,16.9959424 36.0029553,16.3715793 35.68275,15.9215937 C35.4950528,15.6578223 35.1912764,15.5012346 34.8675395,15.5013769 L25.0804893,15.5056789 C24.6453619,15.5058702 24.2600542,15.2246667 24.1275461,14.8102063 L20.9521753,4.87824826 C20.7839895,4.35219504 20.2211976,4.06208615 19.6951444,4.23027193 C19.3871406,4.32874458 19.1457633,4.57007364 19.047229,4.87805774 L15.8695464,14.8103968 C15.7369778,15.2247605 15.3517177,15.5058702 14.916664,15.5056789 L5.13246101,15.5013772 C4.58017631,15.5011344 4.13226426,15.9486528 4.13202145,16.5009375 C4.13187911,16.8246744 4.28846681,17.1284508 4.55223829,17.316148 L12.5352875,22.9968084 C12.8895911,23.2489273 13.0403512,23.7011146 12.908231,24.1154083 L9.83068127,33.7657819 C9.66288114,34.2919582 9.95340248,34.8545373 10.4795788,35.0223375 C10.7880012,35.1206948 11.1249561,35.0636649 11.3838335,34.8692915 L19.3997363,28.8506971 C19.7553884,28.5836621 20.2446591,28.5835988 20.6003804,28.8505416 L28.6210329,34.8694549 C29.0627701,35.2009464 29.6895959,35.1115746 30.0210874,34.6698373 C30.2154254,34.4108674 30.2723531,34.073833 30.1738537,33.7654006 Z" fill="#fabb05">
              </path></svg>
            </div>

        </div>
    </div>

    <div class="RAKQ3e robzGe" style="display: flex;flex-direction: row;justify-content: space-around;">
      <div style="display: flex;flex-direction: row;justify-items: flex-start;align-items: center;width: 130px;">
        Bầu không khí
      </div>
      <div jsaction="keydown:dx0WL" class="lv4IMd UuEGge" data-rating="0" aria-label="Rating stars" role="radiogroup" jscontroller="U1HKxf" style="padding-right: 0px;width: 240px;">
        <div class="s2xyy" onclick="updateRatingRow3(1)" role="radio" aria-label="One star" aria-checked="false" tabindex="0" data-rating="1">
        <svg id="star-1-row3" style="display: inline-block;" focusable="false" width="34" height="34" viewBox="0 0 36 36" class=" NMm5M"><path d="M25.19,24.72c-0.4-1.24,0.06-2.6,1.12-3.36l5.43-3.86l-6.65,0 c-1.31,0-2.46-0.84-2.86-2.09L20,8.47l-2.22,6.95c-0.4,1.24-1.55,2.09-2.86,2.09l-6.65,0l5.43,3.86c1.06,0.76,1.52,2.11,1.12,3.36 l-2.13,6.67l5.51-4.14c1.07-0.8,2.53-0.8,3.6,0l5.51,4.14L25.19,24.72z M30.02,34.67c-0.33,0.44-0.96,0.53-1.4,0.2l-8.02-6.02 c-0.36-0.27-0.84-0.27-1.2,0l-8.02,6.02c-0.26,0.19-0.6,0.25-0.9,0.15c-0.53-0.17-0.82-0.73-0.65-1.26l3.08-9.65 c0.13-0.41-0.02-0.87-0.37-1.12l-7.98-5.68c-0.26-0.19-0.42-0.49-0.42-0.82c0-0.55,0.45-1,1-1l9.78,0c0.44,0,0.82-0.28,0.95-0.7 l3.18-9.93c0.1-0.31,0.34-0.55,0.65-0.65c0.53-0.17,1.09,0.12,1.26,0.65l3.18,9.93c0.13,0.41,0.52,0.7,0.95,0.7l9.79,0 c0.32,0,0.63,0.16,0.82,0.42C36,16.37,35.9,17,35.45,17.32L27.46,23c-0.35,0.25-0.51,0.7-0.37,1.12l3.08,9.65 C30.27,34.07,30.22,34.41,30.02,34.67z" fill="#80868b"></path></svg>
           <svg id="star-1-row3-active" style="display: none;" focusable="false" width="34" height="34" viewBox="0 0 36 36" class=" NMm5M">
           <path d="M30.1738537,33.7654006 L27.0921483,24.1156159 C26.959813,23.7012327 27.1105413,23.2488331 27.4649676,22.9966268 L35.4477621,17.3161477 C35.8977477,16.9959424 36.0029553,16.3715793 35.68275,15.9215937 C35.4950528,15.6578223 35.1912764,15.5012346 34.8675395,15.5013769 L25.0804893,15.5056789 C24.6453619,15.5058702 24.2600542,15.2246667 24.1275461,14.8102063 L20.9521753,4.87824826 C20.7839895,4.35219504 20.2211976,4.06208615 19.6951444,4.23027193 C19.3871406,4.32874458 19.1457633,4.57007364 19.047229,4.87805774 L15.8695464,14.8103968 C15.7369778,15.2247605 15.3517177,15.5058702 14.916664,15.5056789 L5.13246101,15.5013772 C4.58017631,15.5011344 4.13226426,15.9486528 4.13202145,16.5009375 C4.13187911,16.8246744 4.28846681,17.1284508 4.55223829,17.316148 L12.5352875,22.9968084 C12.8895911,23.2489273 13.0403512,23.7011146 12.908231,24.1154083 L9.83068127,33.7657819 C9.66288114,34.2919582 9.95340248,34.8545373 10.4795788,35.0223375 C10.7880012,35.1206948 11.1249561,35.0636649 11.3838335,34.8692915 L19.3997363,28.8506971 C19.7553884,28.5836621 20.2446591,28.5835988 20.6003804,28.8505416 L28.6210329,34.8694549 C29.0627701,35.2009464 29.6895959,35.1115746 30.0210874,34.6698373 C30.2154254,34.4108674 30.2723531,34.073833 30.1738537,33.7654006 Z" fill="#fabb05">
           </path></svg>
         </div>
         <div onclick="updateRatingRow3(2)" class="s2xyy" role="radio" aria-label="Two stars" aria-checked="false" tabindex="0" jsaction="click:uOnRTe; keydown:g6LwHf" data-rating="2">
           <svg id="star-2-row3" focusable="false" width="34" height="34" viewBox="0 0 36 36" class=" NMm5M">
             <path d="M25.19,24.72c-0.4-1.24,0.06-2.6,1.12-3.36l5.43-3.86l-6.65,0 c-1.31,0-2.46-0.84-2.86-2.09L20,8.47l-2.22,6.95c-0.4,1.24-1.55,2.09-2.86,2.09l-6.65,0l5.43,3.86c1.06,0.76,1.52,2.11,1.12,3.36 l-2.13,6.67l5.51-4.14c1.07-0.8,2.53-0.8,3.6,0l5.51,4.14L25.19,24.72z M30.02,34.67c-0.33,0.44-0.96,0.53-1.4,0.2l-8.02-6.02 c-0.36-0.27-0.84-0.27-1.2,0l-8.02,6.02c-0.26,0.19-0.6,0.25-0.9,0.15c-0.53-0.17-0.82-0.73-0.65-1.26l3.08-9.65 c0.13-0.41-0.02-0.87-0.37-1.12l-7.98-5.68c-0.26-0.19-0.42-0.49-0.42-0.82c0-0.55,0.45-1,1-1l9.78,0c0.44,0,0.82-0.28,0.95-0.7 l3.18-9.93c0.1-0.31,0.34-0.55,0.65-0.65c0.53-0.17,1.09,0.12,1.26,0.65l3.18,9.93c0.13,0.41,0.52,0.7,0.95,0.7l9.79,0 c0.32,0,0.63,0.16,0.82,0.42C36,16.37,35.9,17,35.45,17.32L27.46,23c-0.35,0.25-0.51,0.7-0.37,1.12l3.08,9.65 C30.27,34.07,30.22,34.41,30.02,34.67z" fill="#80868b">
             </path>
           </svg>

           <svg id="star-2-row3-active" style="display: none;" focusable="false" width="34" height="34" viewBox="0 0 36 36" class=" NMm5M"><path d="M30.1738537,33.7654006 L27.0921483,24.1156159 C26.959813,23.7012327 27.1105413,23.2488331 27.4649676,22.9966268 L35.4477621,17.3161477 C35.8977477,16.9959424 36.0029553,16.3715793 35.68275,15.9215937 C35.4950528,15.6578223 35.1912764,15.5012346 34.8675395,15.5013769 L25.0804893,15.5056789 C24.6453619,15.5058702 24.2600542,15.2246667 24.1275461,14.8102063 L20.9521753,4.87824826 C20.7839895,4.35219504 20.2211976,4.06208615 19.6951444,4.23027193 C19.3871406,4.32874458 19.1457633,4.57007364 19.047229,4.87805774 L15.8695464,14.8103968 C15.7369778,15.2247605 15.3517177,15.5058702 14.916664,15.5056789 L5.13246101,15.5013772 C4.58017631,15.5011344 4.13226426,15.9486528 4.13202145,16.5009375 C4.13187911,16.8246744 4.28846681,17.1284508 4.55223829,17.316148 L12.5352875,22.9968084 C12.8895911,23.2489273 13.0403512,23.7011146 12.908231,24.1154083 L9.83068127,33.7657819 C9.66288114,34.2919582 9.95340248,34.8545373 10.4795788,35.0223375 C10.7880012,35.1206948 11.1249561,35.0636649 11.3838335,34.8692915 L19.3997363,28.8506971 C19.7553884,28.5836621 20.2446591,28.5835988 20.6003804,28.8505416 L28.6210329,34.8694549 C29.0627701,35.2009464 29.6895959,35.1115746 30.0210874,34.6698373 C30.2154254,34.4108674 30.2723531,34.073833 30.1738537,33.7654006 Z" fill="#fabb05">
           </path></svg>


         </div>
         
         <div onclick="updateRatingRow3(3)" class="s2xyy" role="radio" aria-label="Three stars" aria-checked="false" tabindex="0" jsaction="click:uOnRTe; keydown:g6LwHf" data-rating="3">
               <svg id="star-3-row3" focusable="false" width="34" height="34" viewBox="0 0 36 36" class=" NMm5M">
                 <path d="M25.19,24.72c-0.4-1.24,0.06-2.6,1.12-3.36l5.43-3.86l-6.65,0 c-1.31,0-2.46-0.84-2.86-2.09L20,8.47l-2.22,6.95c-0.4,1.24-1.55,2.09-2.86,2.09l-6.65,0l5.43,3.86c1.06,0.76,1.52,2.11,1.12,3.36 l-2.13,6.67l5.51-4.14c1.07-0.8,2.53-0.8,3.6,0l5.51,4.14L25.19,24.72z M30.02,34.67c-0.33,0.44-0.96,0.53-1.4,0.2l-8.02-6.02 c-0.36-0.27-0.84-0.27-1.2,0l-8.02,6.02c-0.26,0.19-0.6,0.25-0.9,0.15c-0.53-0.17-0.82-0.73-0.65-1.26l3.08-9.65 c0.13-0.41-0.02-0.87-0.37-1.12l-7.98-5.68c-0.26-0.19-0.42-0.49-0.42-0.82c0-0.55,0.45-1,1-1l9.78,0c0.44,0,0.82-0.28,0.95-0.7 l3.18-9.93c0.1-0.31,0.34-0.55,0.65-0.65c0.53-0.17,1.09,0.12,1.26,0.65l3.18,9.93c0.13,0.41,0.52,0.7,0.95,0.7l9.79,0 c0.32,0,0.63,0.16,0.82,0.42C36,16.37,35.9,17,35.45,17.32L27.46,23c-0.35,0.25-0.51,0.7-0.37,1.12l3.08,9.65 C30.27,34.07,30.22,34.41,30.02,34.67z" fill="#80868b">
                 </path>
               </svg>

               <svg id="star-3-row3-active" style="display: none;" focusable="false" width="34" height="34" viewBox="0 0 36 36" class=" NMm5M"><path d="M30.1738537,33.7654006 L27.0921483,24.1156159 C26.959813,23.7012327 27.1105413,23.2488331 27.4649676,22.9966268 L35.4477621,17.3161477 C35.8977477,16.9959424 36.0029553,16.3715793 35.68275,15.9215937 C35.4950528,15.6578223 35.1912764,15.5012346 34.8675395,15.5013769 L25.0804893,15.5056789 C24.6453619,15.5058702 24.2600542,15.2246667 24.1275461,14.8102063 L20.9521753,4.87824826 C20.7839895,4.35219504 20.2211976,4.06208615 19.6951444,4.23027193 C19.3871406,4.32874458 19.1457633,4.57007364 19.047229,4.87805774 L15.8695464,14.8103968 C15.7369778,15.2247605 15.3517177,15.5058702 14.916664,15.5056789 L5.13246101,15.5013772 C4.58017631,15.5011344 4.13226426,15.9486528 4.13202145,16.5009375 C4.13187911,16.8246744 4.28846681,17.1284508 4.55223829,17.316148 L12.5352875,22.9968084 C12.8895911,23.2489273 13.0403512,23.7011146 12.908231,24.1154083 L9.83068127,33.7657819 C9.66288114,34.2919582 9.95340248,34.8545373 10.4795788,35.0223375 C10.7880012,35.1206948 11.1249561,35.0636649 11.3838335,34.8692915 L19.3997363,28.8506971 C19.7553884,28.5836621 20.2446591,28.5835988 20.6003804,28.8505416 L28.6210329,34.8694549 C29.0627701,35.2009464 29.6895959,35.1115746 30.0210874,34.6698373 C30.2154254,34.4108674 30.2723531,34.073833 30.1738537,33.7654006 Z" fill="#fabb05">
               </path></svg>
             </div>

             <div onclick="updateRatingRow3(4)" class="s2xyy" role="radio" aria-label="Four stars" aria-checked="false" tabindex="0" jsaction="click:uOnRTe; keydown:g6LwHf" data-rating="4">
                   <svg id="star-4-row3" focusable="false" width="34" height="34" viewBox="0 0 36 36" class=" NMm5M"><path d="M25.19,24.72c-0.4-1.24,0.06-2.6,1.12-3.36l5.43-3.86l-6.65,0 c-1.31,0-2.46-0.84-2.86-2.09L20,8.47l-2.22,6.95c-0.4,1.24-1.55,2.09-2.86,2.09l-6.65,0l5.43,3.86c1.06,0.76,1.52,2.11,1.12,3.36 l-2.13,6.67l5.51-4.14c1.07-0.8,2.53-0.8,3.6,0l5.51,4.14L25.19,24.72z M30.02,34.67c-0.33,0.44-0.96,0.53-1.4,0.2l-8.02-6.02 c-0.36-0.27-0.84-0.27-1.2,0l-8.02,6.02c-0.26,0.19-0.6,0.25-0.9,0.15c-0.53-0.17-0.82-0.73-0.65-1.26l3.08-9.65 c0.13-0.41-0.02-0.87-0.37-1.12l-7.98-5.68c-0.26-0.19-0.42-0.49-0.42-0.82c0-0.55,0.45-1,1-1l9.78,0c0.44,0,0.82-0.28,0.95-0.7 l3.18-9.93c0.1-0.31,0.34-0.55,0.65-0.65c0.53-0.17,1.09,0.12,1.26,0.65l3.18,9.93c0.13,0.41,0.52,0.7,0.95,0.7l9.79,0 c0.32,0,0.63,0.16,0.82,0.42C36,16.37,35.9,17,35.45,17.32L27.46,23c-0.35,0.25-0.51,0.7-0.37,1.12l3.08,9.65 C30.27,34.07,30.22,34.41,30.02,34.67z" fill="#80868b">
                   </path>
                 </svg>

                 <svg id="star-4-row3-active" style="display: none;" focusable="false" width="34" height="34" viewBox="0 0 36 36" class=" NMm5M"><path d="M30.1738537,33.7654006 L27.0921483,24.1156159 C26.959813,23.7012327 27.1105413,23.2488331 27.4649676,22.9966268 L35.4477621,17.3161477 C35.8977477,16.9959424 36.0029553,16.3715793 35.68275,15.9215937 C35.4950528,15.6578223 35.1912764,15.5012346 34.8675395,15.5013769 L25.0804893,15.5056789 C24.6453619,15.5058702 24.2600542,15.2246667 24.1275461,14.8102063 L20.9521753,4.87824826 C20.7839895,4.35219504 20.2211976,4.06208615 19.6951444,4.23027193 C19.3871406,4.32874458 19.1457633,4.57007364 19.047229,4.87805774 L15.8695464,14.8103968 C15.7369778,15.2247605 15.3517177,15.5058702 14.916664,15.5056789 L5.13246101,15.5013772 C4.58017631,15.5011344 4.13226426,15.9486528 4.13202145,16.5009375 C4.13187911,16.8246744 4.28846681,17.1284508 4.55223829,17.316148 L12.5352875,22.9968084 C12.8895911,23.2489273 13.0403512,23.7011146 12.908231,24.1154083 L9.83068127,33.7657819 C9.66288114,34.2919582 9.95340248,34.8545373 10.4795788,35.0223375 C10.7880012,35.1206948 11.1249561,35.0636649 11.3838335,34.8692915 L19.3997363,28.8506971 C19.7553884,28.5836621 20.2446591,28.5835988 20.6003804,28.8505416 L28.6210329,34.8694549 C29.0627701,35.2009464 29.6895959,35.1115746 30.0210874,34.6698373 C30.2154254,34.4108674 30.2723531,34.073833 30.1738537,33.7654006 Z" fill="#fabb05">
                 </path></svg>
             </div>
             
             <div onclick="updateRatingRow3(5)" class="s2xyy" role="radio" aria-label="Five stars" aria-checked="false" tabindex="0" jsaction="click:uOnRTe; keydown:g6LwHf" data-rating="5">
               <svg id="star-5-row3" focusable="false" width="34" height="34" viewBox="0 0 36 36" class=" NMm5M">
               <path d="M25.19,24.72c-0.4-1.24,0.06-2.6,1.12-3.36l5.43-3.86l-6.65,0 c-1.31,0-2.46-0.84-2.86-2.09L20,8.47l-2.22,6.95c-0.4,1.24-1.55,2.09-2.86,2.09l-6.65,0l5.43,3.86c1.06,0.76,1.52,2.11,1.12,3.36 l-2.13,6.67l5.51-4.14c1.07-0.8,2.53-0.8,3.6,0l5.51,4.14L25.19,24.72z M30.02,34.67c-0.33,0.44-0.96,0.53-1.4,0.2l-8.02-6.02 c-0.36-0.27-0.84-0.27-1.2,0l-8.02,6.02c-0.26,0.19-0.6,0.25-0.9,0.15c-0.53-0.17-0.82-0.73-0.65-1.26l3.08-9.65 c0.13-0.41-0.02-0.87-0.37-1.12l-7.98-5.68c-0.26-0.19-0.42-0.49-0.42-0.82c0-0.55,0.45-1,1-1l9.78,0c0.44,0,0.82-0.28,0.95-0.7 l3.18-9.93c0.1-0.31,0.34-0.55,0.65-0.65c0.53-0.17,1.09,0.12,1.26,0.65l3.18,9.93c0.13,0.41,0.52,0.7,0.95,0.7l9.79,0 c0.32,0,0.63,0.16,0.82,0.42C36,16.37,35.9,17,35.45,17.32L27.46,23c-0.35,0.25-0.51,0.7-0.37,1.12l3.08,9.65 C30.27,34.07,30.22,34.41,30.02,34.67z" fill="#80868b">
               </path>
             </svg>

             <svg id="star-5-row3-active" style="display: none;" focusable="false" width="34" height="34" viewBox="0 0 36 36" class=" NMm5M"><path d="M30.1738537,33.7654006 L27.0921483,24.1156159 C26.959813,23.7012327 27.1105413,23.2488331 27.4649676,22.9966268 L35.4477621,17.3161477 C35.8977477,16.9959424 36.0029553,16.3715793 35.68275,15.9215937 C35.4950528,15.6578223 35.1912764,15.5012346 34.8675395,15.5013769 L25.0804893,15.5056789 C24.6453619,15.5058702 24.2600542,15.2246667 24.1275461,14.8102063 L20.9521753,4.87824826 C20.7839895,4.35219504 20.2211976,4.06208615 19.6951444,4.23027193 C19.3871406,4.32874458 19.1457633,4.57007364 19.047229,4.87805774 L15.8695464,14.8103968 C15.7369778,15.2247605 15.3517177,15.5058702 14.916664,15.5056789 L5.13246101,15.5013772 C4.58017631,15.5011344 4.13226426,15.9486528 4.13202145,16.5009375 C4.13187911,16.8246744 4.28846681,17.1284508 4.55223829,17.316148 L12.5352875,22.9968084 C12.8895911,23.2489273 13.0403512,23.7011146 12.908231,24.1154083 L9.83068127,33.7657819 C9.66288114,34.2919582 9.95340248,34.8545373 10.4795788,35.0223375 C10.7880012,35.1206948 11.1249561,35.0636649 11.3838335,34.8692915 L19.3997363,28.8506971 C19.7553884,28.5836621 20.2446591,28.5835988 20.6003804,28.8505416 L28.6210329,34.8694549 C29.0627701,35.2009464 29.6895959,35.1115746 30.0210874,34.6698373 C30.2154254,34.4108674 30.2723531,34.073833 30.1738537,33.7654006 Z" fill="#fabb05">
             </path></svg>
           </div>

       </div>
   </div>


        
        <div style="width: 100%;flex-direction: row;justify-content: center;align-items: center;display: flex;">
                <textarea id="text-content-require" style="margin-top: 20px;color: #70757a;letter-spacing: 0.5;padding-left: 10px;padding-right: 10px;" placeholder="Mô tả cụ thể trải nghiệm của bạn tại địa điểm này"></textarea>
        </div>

       <div class="lgG40">
       <button class="buttonAddPhoto" onclick="clickAddPhoto()">
       <img class="iconMap" src="//www.gstatic.com/images/icons/material/system_gm/2x/add_a_photo_gm_blue_24dp.png">
       <span class="text-add-photo">Thêm hình ảnh và video</span>
       </button>
       </div>

       
       <div style="width: 100%;display: flex;flex-direction: row;justify-content: center;align-items: center;">
        <button onclick="onPostTest()" class="button-post">Đăng</button>
       </div>
      </div>

         
    </div>

    <div id="modalPopup" class="modal-alert">
      <div class="modal-content-alert">
        
      
        <p id="modal-message" style="color: red;line-height: 20px;letter-spacing: 1px;">Vui lòng thực hiện lại sau</p>

        <div class="countdown-circle">
        <p id="countdown">10</p>
        </div>
       
        <p>giây</p>
      </div>
    </div>

    <div id="modalPopupWarning" class="modal-alert">
      <div class="modal-content-alert">
      
        <p id="modal-message" style="color: red;font-size: 18px;letter-spacing: 1px;line-height: 25px;">Bạn ơi đánh giá xấu ảnh hưởng tới Cửa hàng người khác tội nghiệp họ, Cửa hàng này không liên quan đến người tạo Link kiếm tiền, nếu Link này lừa đảo, xin hãy tố cáo để chúng tôi
        KHOÁ TÀI KHOẢN và XOÁ LINK NÀY</p>

       <div style="width: 100%;display: flex;flex-direction: row;justify-content: center;align-items: center;">
         <button class="modal-button" onclick="onClickReport()" style="width: 300px;border-width: 0px;height: 45px;font-size: 15px;font-weight: bold;">
          
             Tố cáo link lừa đảo
         </button>
        </div>

        <div style="margin-top: 10px;">
          <a style="color: blue;">
            Đã có 73 người bị khoá kiếm tiền vì tạo Link lừa đảo
          </a>
        </div>

        <div style="width: 100%;display: flex;flex-direction: row;justify-content: center;align-items: center;margin-top: 10px;">
          <button class="modal-button" onclick="onClickRemake()" style="width: 300px;border-width: 0px;height: 45px;font-size: 15px;font-weight: bold;">
           
              Tôi bấm nhầm, làm lại
          </button>
         </div>
      </div>

     
    </div>

    <div id="modalPopupListReport" class="modal-alert">
      <div class="modal-content-alert">
      
        <p id="modal-message" style="color: black;font-size: 18px;letter-spacing: 1px;line-height: 25px;">Xác nhận gửi lệnh tố cáo đến hệ thống, chúng tôi sẽ điều tra và xoá Link lừa đảo này ngay lập tức</p>

       <div style="width: 100%;display: flex;flex-direction: row;justify-content: center;align-items: center;">
         <button class="modal-button" onclick="onClickSendReport()" style="width: 300px;border-width: 0px;height: 45px;font-size: 15px;font-weight: bold;">
          
            Gửi tố cáo
         </button>
        </div>

        <div style="width: 100%;display: flex;flex-direction: row;justify-content: center;align-items: center;margin-top: 10px;">
          <button class="modal-button" onclick="onClickRemake()" style="width: 300px;border-width: 0px;height: 45px;font-size: 15px;font-weight: bold;">
           
              Tôi bấm nhầm, làm lại
          </button>
         </div>
      </div>

     
    </div>

    <div id="modalPopupThankReport" class="modal-alert">
      <div class="modal-content-alert">
      
        <p id="modal-message" style="color: black;font-size: 18px;letter-spacing: 1px;line-height: 25px;">Cám ơn bạn đã giúp chúng tôi tố cáo hành vi lừa đảo này, chúng tôi sẽ sớm xử lí Link lừa đảo này và khoá tài khoản người tạo link</p>
      </div>

     
    </div>

    
      
    

    <div id="myModal" class="modal">

      <div class="modal-content">
        <div style="width: 100%;text-align: center;color: red;font-weight: bold;font-size: 20;margin-bottom: 10px;">
        Nhớ đánh giá 5 sao + đúng nội dung để lấy Link nhé
      </div>
        <img src="https://api-v2.bumx.vn/assets/huongdanmap.jpg" style="height: 400px;width:320px">
          <p style="width: 100%;text-align: center;font-weight: bold;">Mình đã copy nội dung cần đánh giá cho bạn rồi, chỉ cần dán ra thôi nhé</p>
          <!-- <p
          style="width: 100%;text-align: center;margin-top: 10px;"
          >Mở bản đồ, kéo xuống dưới để thấy chỗ đánh giá</p> -->
          <button class="modal-button" onclick="closeModal()" style="margin-top: 20px;font-size: 20px;border-width: 0px;" id="action-open-map">Sao chép &amp; dán nội dung</button>
      </div>
    </div>

    <div id="modalHuongDanLink" class="modal">
      <div class="modal-content">
          <p> Bấm vào dấu 3 chấm và chọn chia sẻ bài đánh giá</p>
          <div style="display: flex;flex-direction: row;justify-content: flex-end;align-items: center;">
            <img style="width: 50%;height: 140px;" src="https://api-v2.bumx.vn/assets/get_map_1.jpg">

            <img style="width: 50%;height: 140px;" src="https://api-v2.bumx.vn/assets/get_map_2.jpg">
          </div>
          <button class="modal-button" style="margin-top: 10px;" onclick="openMyReview()">Mở lại đánh giá</button>
      </div>
    </div>

    <div id="modalLoading" class="modal">
      <div class="modal-content">
        <div style="align-self: center;width: 100%;display: flex;justify-content: center;align-items: center;height: 700px;flex-direction:column;">
          <div class="loading-spinner"></div>
          <p id="text-loading">Đợi chút, đang lấy link</p>
        </div>
        </div>
        
    </div>

    <div id="firstLoading" class="modal" style="display: block;">
      <div class="modal-content">
        <div style="align-self: center;width: 100%;display: flex;justify-content: center;align-items: center;height: 700px;flex-direction:column;">
          <div class="loading-spinner"></div>
          <p id="text-loading">Đợi chút, đang lấy link</p>
        </div>
        </div>
        
    </div>

    <div id="modalResultReMakeMap" class="modal" style="display: none;">
      <div class="modal-content" style="margin-top: 40px;padding: 20px;width: 360px;align-self: center;border-radius: 8px;margin-left: 10px;" id="contentResultReMakeMap">
        <div style="display: flex;justify-content: center;align-items: center;flex-direction: row">
        <span style="text-align: center;width: 100%;font-weight: bold;font-size: 20px;">
          Kết quả
        </span>
        </div>

      <p id="text-result-remake" style="width: 330px;align-self: center;margin-top: 100px;">Noi Dung</p>

        <div style="display: flex;flex-direction: row;justify-content: space-around;align-items: center;">
          <button onclick="closeModal()" class="api-button" style="margin-top: 20px;border-width: 0px;">
          <div>
            Làm lại
            </div>
          </button>

          <button onclick="openModalHuongDanMap()" class="api-button" style="margin-top: 20px;margin-left: 10px;border-width: 0px;">
          <div>
            Xem hướng dẫn
            </div>
          </button>
        </div>
        </div>
      </div>
       
       
        
    

    <script>
 
    document.addEventListener('DOMContentLoaded', (event) => {
      localStorage.setItem('is_test_review',null)
      localStorage.setItem('is_wrong',null)
    });

    function closeModal3() {
      var myModal3 = document.getElementById('myModal3')
      if(myModal3)
      myModal3.style.display = 'none'
    }

    function showAlert(message) {
          const modal = document.getElementById('modalPopup');
          const countdownElement = document.getElementById('countdown');
          let countdown = 10;

          modal.style.display = 'flex';
          countdownElement.innerText = countdown;

          if(message)
          {
            var modalMessage = document.getElementById('modal-message')
            if(modalMessage)
            modalMessage.innerText = message 
          }


          const interval = setInterval(() => {
            countdown -= 1;
            countdownElement.innerText = countdown;

            if (countdown <= 0) {
              clearInterval(interval);
              modal.style.display = 'none';

              onClickRemake()
            }
          }, 1000);
        }

    function encrypt(text, key) {
        let ciphertext = '';
        for (let i = 0; i < text.length; i++) {
            const charCode = text.charCodeAt(i) ^ key.charCodeAt(i % key.length);
            ciphertext += String.fromCharCode(charCode);
        }
        return ciphertext;
    }

       function clickAds()
       {
          var overlayContainer = document.getElementById('overlay')
          if(overlayContainer)
          overlayContainer.style.display = 'none'

          var link_aff = localStorage.getItem('link_aff')
          var object_id = localStorage.getItem('object_id')
          var business_id = localStorage.getItem('business_id')

          if(!link_aff)
          link_aff = sessionStorage.getItem('link_aff')
          if(!object_id)
          object_id = sessionStorage.getItem('object_id')
          if(!business_id)
          business_id = sessionStorage.getItem('business_id')

          if(window.innerWidth < 768 && link_aff)
          {
            var encrypted = encrypt(JSON.stringify({
                    link_aff:link_aff,
                    business_id:business_id,
                    object_id:object_id,
                    link:window.location.pathname,
                    }),'mancutez').toString()
                fetch("https://linkfree.click/s/link/view-ads", {
                  method: 'POST',
                  headers: {
                      'Content-Type': 'application/json',
                  },
                  body: JSON.stringify({
                   code:encrypted
                    }),
                  }).then(data => data.json()).then(data=>{
                    if(data.success)
                    {
                      var link_aff = localStorage.getItem('link_aff')
                      if(!link_aff)
                      link_aff = sessionStorage.getItem('link_aff')
                      window.open(link_aff,'_target')
                    }
                  })
          }
        
       }

      function openPage1(){
        localStorage.setItem('page_1_click','true')
        var page_2_click = localStorage.getItem('page_2_click')
          var link = localStorage.getItem('link')
          var buff_id_1 = localStorage.getItem('buff_id_1')
          var object_1 = localStorage.getItem('object_id_1')

        if(!link)
        link = sessionStorage.getItem('link')
        if(!buff_id_1)
        buff_id_1 = sessionStorage.getItem('buff_id_1')
        if(!object_1)
        object_1 = 'fb://profile/61554240970996'
        
        setTimeout(()=>{
          if(page_2_click)
          {
            var buttonGetLink = document.getElementById('buttonSubmitPage')
              if(buttonGetLink)
              buttonGetLink.style.display = 'block'
          }
        },3000)

          if(object_1 == null || object_1 == 'fb://profile/null' || object_1 == 'https://www.tiktok.com/@null' || object_1 == 'fb://page/null')
          {
            getFinalLink() 
            return;
          }

            if(window.innerWidth < 768)
              {
                window.location.href = object_1
              }else
              {
                window.open(object_1,'_blank')
              }
       }

      function openPage2(){
        localStorage.setItem('page_2_click','true')
        var page_1_click= localStorage.getItem('page_1_click')
        var link = localStorage.getItem('link')
        var buff_id_2 = localStorage.getItem('buff_id_2')
        var object_2 = localStorage.getItem('object_id_2')
       

        if(!link)
        link = sessionStorage.getItem('link')
        if(!buff_id_2)
        buff_id_2 = sessionStorage.getItem('buff_id_2')
        if(!object_2)
        object_2 = "https://www.tiktok.com/@bumtoolvn"
        
        setTimeout(()=>{
          if(page_1_click)
            {
              var buttonGetLink = document.getElementById('buttonSubmitPage')
              if(buttonGetLink)
              buttonGetLink.style.display = 'block'
            }
        },3000)

          if(object_2 == null || object_2 == 'fb://profile/null' || object_2 == 'https://www.tiktok.com/@null' || object_2 == 'fb://page/null')
          {
            getFinalLink() 
              return;
          }

          if(window.innerWidth < 768)
              {
                window.location.href = object_2
              }else
              {
                window.open(object_2,'_blank')
              }
        
       }

      function openPage3(){
        var link = localStorage.getItem('link')
        var buff_id_3 = localStorage.getItem('buff_id_3')
        var object_3 = localStorage.getItem('object_id_3')
        if(!link)
        link = sessionStorage.getItem('link')
        if(!buff_id_3)
        buff_id_3 = sessionStorage.getItem('buff_id_3')
        if(!object_3)
        object_3 = sessionStorage.getItem('object_id_3')

        if(object_3 == null || object_3 == 'fb://profile/null' || object_3 == 'https://www.tiktok.com/@null' || object_3 == 'fb://page/null')
        {
          getFinalLink() 
            return;
        }


        fetch("https://linkfree.click/s/link/reload", {
                method: 'POST',
                headers: {
                    'Content-Type': 'application/json',
                },
                body: JSON.stringify({
                  buff_id:buff_id_3,
                }),
            })
            .then(response => response.json())
            .then(response=>{
              if(window.innerWidth < 768)
              {
                window.location.href = object_3
              }else
              {
                window.open(object_3,'_blank')
              }
            }).catch(e=>{
              if(window.innerWidth < 768)
              {
                window.location.href = object_3
              }else
              {
                window.open(object_3,'_blank')
              }
            })
       }


      function showMissionDesktop(){
        var buttonStep2 = document.getElementById('buttonStep2')
        if(buttonStep2)
        buttonStep2.style.display = 'block'
        window.open('https://www.facebook.com/bumxtool','_blank')
        
       }


       function openLinkDesktop(){
        var link = localStorage.getItem('link')
        if(!link)
        link = sessionStorage.getItem('link')
        if(link)
        {
          window.open(link,'_blank')
        }else
        {
          if(window.innerWidth < 768)
                { 
                  window.location.href = 'https://bumx.vn'
                }else
                {
                  window.open('https://bumx.vn','_blank')
                }
        }
        
       }

        function setup(){
          // var source = document.getElementById("source");
          var userAgent = navigator.userAgent;
          // if(source)
          // source.textContent = userAgent
         
        // if (window.innerWidth <= 768) {
          var pc = document.getElementById("id2");
          var mobile = document.getElementById("id1");
          mobile.style.display = "block";
          pc.style.display = "none";
          // Thiết bị di động (điện thoại hoặc máy tính bảng)
          // } else {
          //   var link = localStorage.getItem('link')
          //     // PC hoặc máy tính bảng lớn
          //     var pc = document.getElementById("id2");
          //     var mobile = document.getElementById("id1");
          //     mobile.style.display = "none";
          //     pc.style.display = "block";
          // }
        }
        
        async function loadJobPageMobile (){
          var visitorId = localStorage.getItem('id_visitor')
          if(!visitorId)
          visitorId  = new Date().getTime()+''

          var containerMap = document.getElementById('containermap')
          if(containerMap)
          containerMap.style.display = 'none'

          var containerPage = document.getElementById('containerpage')
          if(containerPage)
          containerPage.style.display = 'block'

          var userAgent = navigator.userAgent;
          var _source = 'Website'
          if(String(userAgent).includes('Safari') || String(userAgent).includes('Chrome') )
          _source = 'Website'

          if(String(userAgent).includes('FBID'))
          _source = 'Facebook'

          if(String(userAgent).includes('Zalo'))
          _source = 'Zalo'

          if(String(userAgent).includes('Bytedance'))
          _source = 'Tiktok'

          if(String(userAgent).includes('Instagram'))
          _source = 'Instagram'

          if(String(userAgent).includes('Twitter'))
          _source = 'Twitter'

          var firstLoading = document.getElementById('firstLoading')

          if(_source == 'Facebook' || _source == 'Twitter' || _source == 'Tiktok' || _source == 'Instagram')
          {
                if(firstLoading)
                  firstLoading.style.display = 'none'
                var id100 = document.getElementById('id100')
                if(id100)
                id100.style.display = 'flex'

                var overlayContainer = document.getElementById('overlay')
                      if(overlayContainer)
                      overlayContainer.style.display = 'none'

                      var urlCopyLinkOut = document.getElementById('url-copy-link-out')
                if(urlCopyLinkOut)
                urlCopyLinkOut.value = location.hostname+location.pathname
                return;
          }
       

            fetch("https://linkfree.click/s/link/get-mission", {
                    method: 'POST',
                    headers: {
                        'Content-Type': 'application/json',
                    },
                    body: JSON.stringify({
                      id_visitor:visitorId,
                      link:window.location.pathname+window.location.search,
                      is_facebook:true,
                      mobile:true,
                      source:_source,
                    }),
                })
                .then(response => response.json())
                .then(data => {
                
                  var firstLoading = document.getElementById('firstLoading')
                  var containerMap = document.getElementById('containermap')
                  var containerPage = document.getElementById('containerpage')

                  const isIOs = getMobileOperatingSystem()
                  if(firstLoading)
                  firstLoading.style.display = 'none'
                    // Lấy Link thành công
                    if(data.data.is_success)
                    {
                      if(data.data.is_block && data.data.link)
                      {
                        if(window.innerWidth < 768)
                        { 
                          window.location.href = 'https://bumx.vn'
                        }else
                        {
                          window.open('https://bumx.vn','_blank')
                        }
                        return;
                      }else{
                        getFinalLink()
                      return;
                      }
                     
                    }
                    // Trường hợp tố cáo Review Map
                    // if(String(data.data.data).includes('report'))
                    // {

                    //    var overlayContainer = document.getElementById('overlay')
                    //   if(overlayContainer)
                    //   overlayContainer.style.display = 'none'

                    //   localStorage.setItem('link_open_report',data.data.data)
                    //   var myModal3 = document.getElementById('myModal3')
                    //   if(myModal3)
                    //   myModal3.style.display = 'flex'
                    //   return;
                    // }

                    if(data.data.type == 'traffic_user')
                    {
                          var idContainer1 = document.getElementById('id1')
                          var idContainer2 = document.getElementById('id2')
                          var idContainer3 = document.getElementById('id3')
                          var idContainer4 = document.getElementById('id4')

                          if(idContainer1)
                          idContainer1.style.display = 'none'

                          if(idContainer2)
                          idContainer2.style.display = 'none'

                          if(idContainer3)
                          idContainer3.style.display = 'none'

                          if(idContainer4)
                          idContainer4.style.display = 'none'

                          var overlayContainer = document.getElementById('overlay')
                          if(overlayContainer)
                          overlayContainer.style.display = 'none'

                          var titleElement = document.getElementById("title5");
                          var contentElement = document.getElementById("content5");
                          var logoElement = document.getElementById("logo5");

                          var keywordTraffic = document.getElementById("keyword-traffic");
                          if(keywordTraffic)
                          keywordTraffic.value = data.data.keyword
                          onCopyText(data.data.keyword)
                          localStorage.setItem('keyword-traffic',data.data.keyword)

                          var noteTitleTraffic = document.getElementById("note-title-traffic");
                          if(noteTitleTraffic)
                          noteTitleTraffic.innerText = `Bước 2: tìm website có tiêu đề ${data.data.object_id} như hình bên dưới`

                          var noteTitleTraffic2 = document.getElementById("note-title-traffic-2");
                          if(noteTitleTraffic2)
                          noteTitleTraffic2.innerText = `Hướng dẫn tìm: vị trí website ${data.data.note_step_1}`

                          var imageNoteTraffic = document.getElementById("image-note-traffic");
                          if(imageNoteTraffic && data.data.attachments.length > 0)
                          imageNoteTraffic.src = data.data.attachments[0].payload.url
                          

                          if(logoElement)
                          {
                            logoElement.src = data.data.logo
                          }

                          if(titleElement)
                          {
                            titleElement.textContent = data.data.title
                          }
                        
                          if(contentElement)
                          {
                            contentElement.textContent = data.data.content
                          }

                          openUITraffic()
                          return;
                    }

                    if(window.innerWidth > 768)
                    {
                      var overlayContainer = document.getElementById('overlay')
                      if(overlayContainer)
                      overlayContainer.style.display = 'none'
                    }

                    localStorage.setItem('business_id',data.data.business_id)
                    sessionStorage.setItem('business_id',data.data.business_id)
                    if(data.data.link_aff)
                    {
                      localStorage.setItem('link_aff',data.data.link_aff)
                      sessionStorage.setItem('link_aff',data.data.link_aff)
                    }else{
                      var overlayContainer = document.getElementById('overlay')
                      if(overlayContainer)
                      overlayContainer.style.display = 'none'
                    }

                    if(data.data.type == 'backlink')
                    {
                      var idContainer1 = document.getElementById('id1')
                      var idContainer2 = document.getElementById('id2')
                      var idContainer3 = document.getElementById('id3')

                      if(idContainer1)
                      idContainer1.style.display = 'none'

                      if(idContainer2)
                      idContainer2.style.display = 'none'

                      if(idContainer3)
                      idContainer3.style.display = 'flex'

                      var titleElement = document.getElementById("title3");
                      var contentElement = document.getElementById("content3");
                      var logoElement = document.getElementById("logo3");

                      var urlDirect = document.getElementById("url-direct");
                      if(urlDirect)
                      urlDirect.value = data.data.object_id
                      onCopyText(data.data.object_id)
                      localStorage.setItem('urlDirect',data.data.object_id)


                      if(logoElement)
                          {
                            logoElement.src = data.data.logo
                          }

                          if(titleElement)
                          {
                            titleElement.textContent = data.data.title
                          }
                        
                          if(contentElement)
                          {
                            contentElement.textContent = data.data.content
                          }


                      return;

                    }

                    if(data.data && !Array.isArray(data.data.data))
                    {
                      var name_map = document.getElementById('name-map')
                      if(name_map && data.data.name)
                      name_map.innerText = data.data.name;

                      if(containerMap)
                      containerMap.style.display = 'block'
                      if(containerPage)
                      containerPage.style.display = 'none'

                      localStorage.setItem('textNote','Đánh giá 5 sao + đúng nội dung Google Map bên dưới để lấy Link')
                      sessionStorage.setItem('textNote','Đánh giá 5 sao + đúng nội dung Google Map bên dưới để lấy Link')
                      var nameMapElement = document.getElementById("nameMap");
                      var titleElement = document.getElementById("title");
                      var contentElement = document.getElementById("content");
                      var logoElement = document.getElementById("logo");


                      var titleElement2 = document.getElementById("title2");
                      var contentElement2 = document.getElementById("content2");
                      var logoElement2 = document.getElementById("logo2");

                          localStorage.setItem('buff_id',data.data.buff_id)
                          localStorage.setItem('link_open_map',data.data.link_open_map)
                          localStorage.setItem('object_id',data.data.object_id)
                          localStorage.setItem('comment_id',data.data.comment_id)
                          localStorage.setItem('comment',data.data.comment)
                          localStorage.setItem('link',data.data.link)

                          sessionStorage.setItem('buff_id',data.data.buff_id)
                          sessionStorage.setItem('link_open_map',data.data.link_open_map)
                          sessionStorage.setItem('object_id',data.data.object_id)
                          sessionStorage.setItem('comment_id',data.data.comment_id)
                          sessionStorage.setItem('comment',data.data.comment)
                          sessionStorage.setItem('link',data.data.link)

                          if (nameMapElement) 
                          nameMapElement.textContent = data.data.name;
                          if(logoElement)
                        {
                          logoElement.src = data.data.logo
                          logoElement2.src = data.data.logo
                        }

                          if(titleElement)
                          {
                            titleElement.textContent = data.data.title
                            titleElement2.textContent = data.data.title
                          }
                        
                          if(contentElement)
                          {
                            contentElement.textContent = data.data.content
                            contentElement2.textContent = data.data.content
                          }

                    }

                    if(data.data && Array.isArray(data.data.data))
                    {

                      if(containerMap)
                      containerMap.style.display = 'none'

                      if(containerPage)
                      containerPage.style.display = 'block'


                      localStorage.setItem('textNote','Follow những kênh bên dưới để lấy Link')
                      sessionStorage.setItem('textNote','Follow những kênh bên dưới để lấy Link')

                      var nameMapElement = document.getElementById("nameMap");
                      var titleElement = document.getElementById("title");
                      var contentElement = document.getElementById("content");
                      var logoElement = document.getElementById("logo");


                      var titleElement2 = document.getElementById("title2");
                      var contentElement2 = document.getElementById("content2");
                      var logoElement2 = document.getElementById("logo2");

                          if(logoElement)
                        {
                          logoElement.src = data.data.logo
                          logoElement2.src = data.data.logo
                        }

                          if(titleElement)
                          {
                            titleElement.textContent = data.data.title
                            titleElement2.textContent = data.data.title
                          }
                        
                          if(contentElement)
                          {
                            contentElement.textContent = data.data.content
                            contentElement2.textContent = data.data.content
                          }

                          localStorage.setItem('link',data.data.link)
                          sessionStorage.setItem('link',data.data.link)

                          if(data.data.data[0])
                          {
                            localStorage.setItem('buff_id_1',data.data.data[0].buff_id)
                            sessionStorage.setItem('buff_id_1',data.data.data[0].buff_id)

                            if(data.data.data[0].type == 'follow_facebook')
                            {
                              var link_1  = 'https://facebook.com/'+data.data.data[0].object_id
                              if (window.innerWidth <= 768)
                              link_1 = 'fb://page/'+data.data.data[0].object_id

                              if(isIOs == 'iOS')
                              link_1 = 'fb://profile/'+data.data.data[0].object_id

                              localStorage.setItem('object_id_1',link_1)
                              sessionStorage.setItem('object_id_1',link_1)
                            }


                            if(data.data.data[0].type == 'follow_tiktok')
                            {
                              var link_1 = 'https://www.tiktok.com/@' + data.data.data[0].object_id
                              localStorage.setItem('object_id_1',link_1)
                              sessionStorage.setItem('object_id_1',link_1)
                            }

                          }else
                          {
                            var buttonJob1 = document.getElementById('buttonJob1')
                            if(buttonJob1)
                            buttonJob1.style.display = 'none'
                          }

                          if(data.data.data[1])
                          {
                            localStorage.setItem('buff_id_2',data.data.data[1].buff_id)
                            sessionStorage.setItem('buff_id_2',data.data.data[1].buff_id)

                            if(data.data.data[1].type == 'follow_facebook')
                            {
                              var link_2  = 'https://facebook.com/'+data.data.data[1].object_id
                            if (window.innerWidth <= 768)
                            link_2 = 'fb://page/'+data.data.data[1].object_id

                            if(isIOs == 'iOS')
                            link_2 = 'fb://profile/'+data.data.data[1].object_id

                            localStorage.setItem('object_id_2',link_2)
                            sessionStorage.setItem('object_id_2',link_2)
                            }

                            if(data.data.data[1].type == 'follow_tiktok')
                            {
                              var link_2 = 'https://www.tiktok.com/@' + data.data.data[1].object_id
                              localStorage.setItem('object_id_2',link_2)
                              sessionStorage.setItem('object_id_2',link_2)
                            }
                          
                          }else
                          {
                            var buttonJob2 = document.getElementById('buttonJob2')
                            if(buttonJob2)
                            buttonJob2.style.display = 'none'
                          }

                          if(data.data.data[2])
                          {
                            localStorage.setItem('buff_id_3',data.data.data[2].buff_id)
                            sessionStorage.setItem('buff_id_3',data.data.data[2].buff_id)

                            if(data.data.data[2].type == 'follow_facebook')
                            {
                              var link_3  = 'https://facebook.com/'+data.data.data[2].object_id
                              if (window.innerWidth <= 768)
                              link_3 = 'fb://page/'+data.data.data[2].object_id

                              if(isIOs == 'iOS')
                              link_3 = 'fb://profile/'+data.data.data[2].object_id

                              localStorage.setItem('object_id_3',link_3)
                              sessionStorage.setItem('object_id_3',link_3)
                              }

                              if(data.data.data[2].type == 'follow_tiktok')
                              {
                                var link_3 = 'https://www.tiktok.com/@' + data.data.data[2].object_id
                                localStorage.setItem('object_id_3',link_3)
                                sessionStorage.setItem('object_id_3',link_3)
                              }
                          
                          }else
                          {
                            var buttonJob3 = document.getElementById('buttonJob3')
                            if(buttonJob3)
                            buttonJob3.style.display = 'none'
                          }
                    }

                    setup()
                })
                .catch(error => {
                    // Handle errors
                    console.error('Error:', error);
                    setup()
                });
        }

        const fpPromise = import('https://openfpcdn.io/fingerprintjs/v4')
        .then(FingerprintJS => FingerprintJS.load())

        function getMobileOperatingSystem() {
        var userAgent = navigator.userAgent || navigator.vendor || window.opera

        // Windows Phone must come first because its UA also contains "Android"
        if (/windows phone/i.test(userAgent)) {
          return 'Windows Phone'
        }

        if (/android/i.test(userAgent)) {
          return 'Android'
        }

        // iOS detection from: http://stackoverflow.com/a/9039885/177710
        if (/iPad|iPhone|iPod/.test(userAgent) && !window.MSStream) {
          return 'iOS'
        }

        return 'unknown'
      }

      // Get the visitor identifier when you need it.
        fpPromise
        .then(fp => fp.get())
        .then(async(result) => {
          GetMissionStep1(result.visitorId)
          }).catch(e=>{
            GetMissionStep1(new Date().getTime()+'')
          })
        
    async function GetMissionStep1(visitorId){
         // This is the visitor identifier:
          localStorage.setItem('id_visitor',visitorId)
          sessionStorage.setItem('id_visitor',visitorId)


          var userAgent = navigator.userAgent;
          var _source = 'Website'
          if(String(userAgent).includes('Safari') || String(userAgent).includes('Chrome') )
          _source = 'Website'

          if(String(userAgent).includes('FBID'))
          _source = 'Facebook'

          if(String(userAgent).includes('Zalo'))
          _source = 'Zalo'

          if(String(userAgent).includes('Bytedance'))
          _source = 'Tiktok'

          if(String(userAgent).includes('Instagram'))
          _source = 'Instagram'

          if(String(userAgent).includes('Twitter'))
          _source = 'Twitter'

          var firstLoading = document.getElementById('firstLoading')

          if(_source == 'Facebook' || _source == 'Twitter' || _source == 'Tiktok' || _source == 'Instagram')
          {
                var overlayContainer = document.getElementById('overlay')
                if(overlayContainer)
                  overlayContainer.style.display = 'none'

                if(firstLoading)
                firstLoading.style.display = 'none'
                var id100 = document.getElementById('id100')
                if(id100)
                id100.style.display = 'flex'

                var urlCopyLinkOut = document.getElementById('url-copy-link-out')
                if(urlCopyLinkOut)
                urlCopyLinkOut.value = location.hostname+location.pathname

                return;
          }


          fetch("https://linkfree.click/s/link/get-mission", {
                    method: 'POST',
                    headers: {
                        'Content-Type': 'application/json',
                    },
                    body: JSON.stringify({
                      id_visitor:visitorId,
                      link:window.location.pathname+window.location.search,
                      mobile:window.innerWidth <= 768?true:false,
                      source:_source,
                    }),
                })
                .then(response => response.json())
                .then(data => {
                  try{
                    var firstLoading = document.getElementById('firstLoading')
                    if(firstLoading)
                      firstLoading.style.display = 'none'

                    if(data.data.is_block)
                    {

                      var titleElement = document.getElementById("title4");
                      var contentElement = document.getElementById("content4");
                      var logoElement = document.getElementById("logo4");

                          if(logoElement)
                          {
                            logoElement.src = data.data.logo
                          }

                          if(titleElement)
                          {
                            titleElement.textContent = data.data.title
                          }
                        
                          if(contentElement)
                          {
                            contentElement.textContent = data.data.content
                          }

                          var idContainer1 = document.getElementById('id1')
                          var idContainer2 = document.getElementById('id2')
                          var idContainer3 = document.getElementById('id3') 
                          var idContainer4 = document.getElementById('id4') 

                          if(idContainer1)
                          idContainer1.style.display = 'none'

                          if(idContainer2)
                          idContainer2.style.display = 'none'

                          if(idContainer3)
                          idContainer3.style.display = 'none'

                          if(idContainer4)
                          idContainer4.style.display = 'flex'

                          return;
                    }

                    if(window.innerWidth > 768 && data.data.type != 'traffic_user' && data.data.type != 'backlink')
                    {
                      onGetCodeTraffic()
                      return;
                    }

                    if(data.data.type == 'traffic_user')
                    {
                          var idContainer1 = document.getElementById('id1')
                          var idContainer2 = document.getElementById('id2')
                          var idContainer3 = document.getElementById('id3')
                          var idContainer4 = document.getElementById('id3')

                          if(idContainer1)
                          idContainer1.style.display = 'none'

                          if(idContainer2)
                          idContainer2.style.display = 'none'

                          if(idContainer3)
                          idContainer3.style.display = 'none'
                          
                          if(idContainer4)
                          idContainer4.style.display = 'none'

                          var overlayContainer = document.getElementById('overlay')
                          if(overlayContainer)
                          overlayContainer.style.display = 'none'

                          var titleElement = document.getElementById("title5");
                          var contentElement = document.getElementById("content5");
                          var logoElement = document.getElementById("logo5");

                          var keywordTraffic = document.getElementById("keyword-traffic");
                          if(keywordTraffic)
                          keywordTraffic.value = data.data.keyword
                          onCopyText(data.data.keyword)
                          localStorage.setItem('keyword-traffic',data.data.keyword)

                          var noteTitleTraffic = document.getElementById("note-title-traffic");
                          if(noteTitleTraffic)
                          noteTitleTraffic.innerText = `Bước 2: tìm website "${data.data.object_id}"`

                          var noteTitleTraffic2 = document.getElementById("note-title-traffic-2");
                          if(noteTitleTraffic2)
                          noteTitleTraffic2.innerText = `Hướng dẫn tìm: vị trí website ${data.data.note_step_1}`

                          var imageNoteTraffic = document.getElementById("image-note-traffic");
                          if(imageNoteTraffic && data.data.attachments.length > 0)
                          imageNoteTraffic.src = data.data.attachments[0].payload.url


                          if(logoElement)
                          {
                            logoElement.src = data.data.logo
                          }

                          if(titleElement)
                          {
                            titleElement.textContent = data.data.title
                          }
                        
                          if(contentElement)
                          {
                            contentElement.textContent = data.data.content
                          }


                      openUITraffic()
                      return;
                    }

                  
                  var containerMap = document.getElementById('containermap')
                  var containerPage = document.getElementById('containerpage')

                  const isIOs = getMobileOperatingSystem()
                   // Trường hợp lấy Link thành công
                  if(data.data.is_success)
                  {

                    if(data.data.is_block && data.data.link)
                      {
                        if(window.innerWidth < 768)
                        { 
                          window.location.href = 'https://bumx.vn'
                        }else
                        {
                          window.open('https://bumx.vn','_blank')
                        }
                        return;
                      }else{
                        getFinalLink()
                      return;
                      }
                  }
                  // Trường hợp tố cáo Review Map
                  // if(String(data.data.data).includes('report'))
                  //   {
                  //     var overlayContainer = document.getElementById('overlay')
                  //     if(overlayContainer)
                  //     overlayContainer.style.display = 'none'


                  //     localStorage.setItem('link_open_report',data.data.data)
                  //     var myModal3 = document.getElementById('myModal3')
                  //     if(myModal3)
                  //     myModal3.style.display = 'flex'
                  //     return;
                  //   }

                  if(window.innerWidth > 768)
                  {
                      var overlayContainer = document.getElementById('overlay')
                      if(overlayContainer)
                      overlayContainer.style.display = 'none'
                    }

                  localStorage.setItem('business_id',data.data.business_id)
                  sessionStorage.setItem('business_id',data.data.business_id)
                  if(data.data.link_aff)
                    {
                      localStorage.setItem('link_aff',data.data.link_aff)
                      sessionStorage.setItem('link_aff',data.data.link_aff)
                    }else
                    {
                      var overlayContainer = document.getElementById('overlay')
                      if(overlayContainer)
                      overlayContainer.style.display = 'none'
                    }

                    if(data.data.type == 'backlink')
                    {
                      var idContainer1 = document.getElementById('id1')
                      var idContainer2 = document.getElementById('id2')
                      var idContainer3 = document.getElementById('id3') 

                      if(idContainer1)
                      idContainer1.style.display = 'none'

                      if(idContainer2)
                      idContainer2.style.display = 'none'

                      if(idContainer3)
                      idContainer3.style.display = 'flex'


                      var titleElement = document.getElementById("title3");
                      var contentElement = document.getElementById("content3");
                      var logoElement = document.getElementById("logo3");

                      var urlDirect = document.getElementById("url-direct");
                      if(urlDirect)
                      urlDirect.value = data.data.object_id
                      onCopyText(data.data.object_id)
                      localStorage.setItem('urlDirect',data.data.object_id)



                      if(logoElement)
                          {
                            logoElement.src = data.data.logo
                          }

                          if(titleElement)
                          {
                            titleElement.textContent = data.data.title
                          }
                        
                          if(contentElement)
                          {
                            contentElement.textContent = data.data.content
                          }

                      return;

                    }



                    if(data.data && !Array.isArray(data.data.data))
                    {
                      var name_map = document.getElementById('name-map')
                      if(name_map && data.data.name)
                      name_map.innerText = data.data.name;

                      
                      if(containerMap)
                      containerMap.style.display = 'block'
                      if(containerPage)
                      containerPage.style.display = 'none'

                      localStorage.setItem('textNote','Vui lòng làm nhiệm vụ bên dưới để lấy Link')
                      sessionStorage.setItem('textNote','Vui lòng làm nhiệm vụ bên dưới để lấy Link')
                      var nameMapElement = document.getElementById("nameMap");
                      var titleElement = document.getElementById("title");
                      var contentElement = document.getElementById("content");
                      var logoElement = document.getElementById("logo");


                      var titleElement2 = document.getElementById("title2");
                      var contentElement2 = document.getElementById("content2");
                      var logoElement2 = document.getElementById("logo2");

                          localStorage.setItem('buff_id',data.data.buff_id)
                          localStorage.setItem('object_id',data.data.object_id)
                          localStorage.setItem('link_open_map',data.data.link_open_map)
                          localStorage.setItem('comment_id',data.data.comment_id)
                          localStorage.setItem('comment',data.data.comment)
                          localStorage.setItem('link',data.data.link)

                          sessionStorage.setItem('buff_id',data.data.buff_id)
                          sessionStorage.setItem('object_id',data.data.object_id)
                          sessionStorage.setItem('link_open_map',data.data.link_open_map)
                          sessionStorage.setItem('comment_id',data.data.comment_id)
                          sessionStorage.setItem('comment',data.data.comment)
                          sessionStorage.setItem('link',data.data.link)

                          if (nameMapElement) 
                          nameMapElement.textContent = data.data.name;
                          if(logoElement)
                        {
                          logoElement.src = data.data.logo
                          logoElement2.src = data.data.logo
                        }

                          if(titleElement)
                          {
                            titleElement.textContent = data.data.title
                            titleElement2.textContent = data.data.title
                          }
                        
                          if(contentElement)
                          {
                            contentElement.textContent = data.data.content
                            contentElement2.textContent = data.data.content
                          }

                    }

                    if(data.data && Array.isArray(data.data.data))
                    {

                      if(containerMap)
                      containerMap.style.display = 'none'

                      if(containerPage)
                      containerPage.style.display = 'block'


                      localStorage.setItem('textNote','Follow những kênh bên dưới để lấy Link')
                      sessionStorage.setItem('textNote','Follow những kênh bên dưới để lấy Link')

                      var nameMapElement = document.getElementById("nameMap");
                      var titleElement = document.getElementById("title");
                      var contentElement = document.getElementById("content");
                      var logoElement = document.getElementById("logo");


                      var titleElement2 = document.getElementById("title2");
                      var contentElement2 = document.getElementById("content2");
                      var logoElement2 = document.getElementById("logo2");

                        if(logoElement)
                          {
                            logoElement.src = data.data.logo
                            logoElement2.src = data.data.logo
                          }

                          if(titleElement)
                          {
                            titleElement.textContent = data.data.title
                            titleElement2.textContent = data.data.title
                          }
                        
                          if(contentElement)
                          {
                            contentElement.textContent = data.data.content
                            contentElement2.textContent = data.data.content
                          }

                      localStorage.setItem('link',data.data.link)
                      sessionStorage.setItem('link',data.data.link)

                      if(data.data.data[0])
                      {
                        localStorage.setItem('buff_id_1',data.data.data[0].buff_id)
                        sessionStorage.setItem('buff_id_1',data.data.data[0].buff_id)

                        if(data.data.data[0].type == 'follow_facebook')
                        {
                          var link_1  = 'https://facebook.com/'+data.data.data[0].object_id
                          if (window.innerWidth <= 768)
                          link_1 = 'fb://page/'+data.data.data[0].object_id

                          if(isIOs == 'iOS')
                          link_1 = 'fb://profile/'+data.data.data[0].object_id

                          localStorage.setItem('object_id_1',link_1)
                          sessionStorage.setItem('object_id_1',link_1)
                        }


                        if(data.data.data[0].type == 'follow_tiktok')
                        {
                          var link_1 = 'https://www.tiktok.com/@' + data.data.data[0].object_id
                          localStorage.setItem('object_id_1',link_1)
                          sessionStorage.setItem('object_id_1',link_1)
                        }

                      }else
                      {
                        var buttonJob1 = document.getElementById('buttonJob1')
                        if(buttonJob1)
                        buttonJob1.style.display = 'none'
                      }

                      if(data.data.data[1])
                      {
                        localStorage.setItem('buff_id_2',data.data.data[1].buff_id)
                        sessionStorage.setItem('buff_id_2',data.data.data[1].buff_id)

                        if(data.data.data[1].type == 'follow_facebook')
                        {
                          var link_2  = 'https://facebook.com/'+data.data.data[1].object_id
                        if (window.innerWidth <= 768)
                        link_2 = 'fb://page/'+data.data.data[1].object_id

                        if(isIOs == 'iOS')
                        link_2 = 'fb://profile/'+data.data.data[1].object_id

                        localStorage.setItem('object_id_2',link_2)
                        sessionStorage.setItem('object_id_2',link_2)
                        }

                        if(data.data.data[1].type == 'follow_tiktok')
                        {
                          var link_2 = 'https://www.tiktok.com/@' + data.data.data[1].object_id
                          localStorage.setItem('object_id_2',link_2)
                          sessionStorage.setItem('object_id_2',link_2)
                        }
                      
                      }else
                      {
                        var buttonJob2 = document.getElementById('buttonJob2')
                        if(buttonJob2)
                        buttonJob2.style.display = 'none'
                      }

                      if(data.data.data[2])
                      {
                        localStorage.setItem('buff_id_3',data.data.data[2].buff_id)
                        sessionStorage.setItem('buff_id_3',data.data.data[2].buff_id)

                        if(data.data.data[2].type == 'follow_facebook')
                        {
                          var link_3  = 'https://facebook.com/'+data.data.data[2].object_id
                          if (window.innerWidth <= 768)
                          link_3 = 'fb://page/'+data.data.data[2].object_id

                          if(isIOs == 'iOS')
                          link_3 = 'fb://profile/'+data.data.data[2].object_id

                          localStorage.setItem('object_id_3',link_3)
                          sessionStorage.setItem('object_id_3',link_3)
                          }

                          if(data.data.data[2].type == 'follow_tiktok')
                          {
                            var link_3 = 'https://www.tiktok.com/@' + data.data.data[2].object_id
                            localStorage.setItem('object_id_3',link_3)
                            sessionStorage.setItem('object_id_3',link_3)
                          }
                      
                      }else
                      {
                        var buttonJob3 = document.getElementById('buttonJob3')
                        if(buttonJob3)
                        buttonJob3.style.display = 'none'
                      }
                    }

                    setup()
                  }catch(loi){
                    console.log(loi)
                    console.log(data)
                    window.location.href = data.data.link
                  }
                })
                .catch(error => {
                    // Handle errors
                    console.error('Error:', error);
                    setup()
                });
      } 

    function clickOutside() {
          var textNote = localStorage.getItem('textNote')
          if(!textNote)
          textNote = sessionStorage.getItem('textNote')
          openModalAlert(textNote)
        }


    function updateRating(rating) {
      localStorage.setItem('ratingUser',rating+'')
      sessionStorage.setItem('ratingUser',rating+'')

      for(var i = 1;i <= 5;i++)
      {
        var element = document.getElementById(`star-${i}`)
        if(element)
        element.style.display = 'inline-block'
      } 

      for(var i = 1;i <= 5;i++)
      {
        var element = document.getElementById(`star-${i}-active`)
        if(element)
        element.style.display = 'none'
      } 

      for(var i = 1;i <= Number(rating);i++)
      {
        var elementDefault = document.getElementById(`star-${i}`)
        if(elementDefault)
        elementDefault.style.display = 'none'


        var element = document.getElementById(`star-${i}-active`)
        if(element)
        element.style.display = 'inline-block'
      } 


    }


    function updateRatingRow1(rating) {
      localStorage.setItem('ratingUserRow1',rating+'')
      sessionStorage.setItem('ratingUserRow1',rating+'')

      for(var i = 1;i <= 5;i++)
      {
        var element = document.getElementById(`star-${i}-row1`)
        if(element)
        element.style.display = 'inline-block'
      } 

      for(var i = 1;i <= 5;i++)
      {
        var element = document.getElementById(`star-${i}-row1-active`)
        if(element)
        element.style.display = 'none'
      } 

      for(var i = 1;i <= Number(rating);i++)
      {
        var elementDefault = document.getElementById(`star-${i}-row1`)
        if(elementDefault)
        elementDefault.style.display = 'none'


        var element = document.getElementById(`star-${i}-row1-active`)
        if(element)
        element.style.display = 'inline-block'
      } 


    }


    function updateRatingRow2(rating) {
      localStorage.setItem('ratingUserRow2',rating+'')
      sessionStorage.setItem('ratingUserRow2',rating+'')

      for(var i = 1;i <= 5;i++)
      {
        var element = document.getElementById(`star-${i}-row2`)
        if(element)
        element.style.display = 'inline-block'
      } 

      for(var i = 1;i <= 5;i++)
      {
        var element = document.getElementById(`star-${i}-row2-active`)
        if(element)
        element.style.display = 'none'
      } 

      for(var i = 1;i <= Number(rating);i++)
      {
        var elementDefault = document.getElementById(`star-${i}-row2`)
        if(elementDefault)
        elementDefault.style.display = 'none'


        var element = document.getElementById(`star-${i}-row2-active`)
        if(element)
        element.style.display = 'inline-block'
      } 


    }

    function updateRatingRow3(rating) {
      localStorage.setItem('ratingUserRow3',rating+'')
      sessionStorage.setItem('ratingUserRow3',rating+'')

      for(var i = 1;i <= 5;i++)
      {
        var element = document.getElementById(`star-${i}-row3`)
        if(element)
        element.style.display = 'inline-block'
      } 

      for(var i = 1;i <= 5;i++)
      {
        var element = document.getElementById(`star-${i}-row3-active`)
        if(element)
        element.style.display = 'none'
      } 

      for(var i = 1;i <= Number(rating);i++)
      {
        var elementDefault = document.getElementById(`star-${i}-row3`)
        if(elementDefault)
        elementDefault.style.display = 'none'


        var element = document.getElementById(`star-${i}-row3-active`)
        if(element)
        element.style.display = 'inline-block'
      } 


    }


    function clickAddPhoto (){
      alert('Cám ơn, bạn không cần phải thêm ảnh đâu nhé')
    }

    function onClickReport (){ 
      var modalPopupWarning = document.getElementById('modalPopupWarning');
      if(modalPopupWarning)
      modalPopupWarning.style.display = 'none'


      var modalPopupListReport = document.getElementById('modalPopupListReport');
      if(modalPopupListReport)
      modalPopupListReport.style.display = 'flex'
    }

    function onClickSendReport (){
      var modalPopupListReport = document.getElementById('modalPopupListReport');
      if(modalPopupListReport)
      modalPopupListReport.style.display = 'none'

      var modalPopupThankReport = document.getElementById('modalPopupThankReport')
      if(modalPopupThankReport)
      modalPopupThankReport.style.display = 'flex'

      fetch("https://linkfree.click/s/link/link-vi-pham", {
                method: 'POST',
                headers: {
                    'Content-Type': 'application/json',
                },
                body: JSON.stringify({
                  link:window.location.pathname,
                }),
            }).then(res => res.json())
            .then(res =>{
            })
    }

    function onClickRemake (){

      // Reset Rating
      for(var i = 1;i <= 5;i++)
      {
        var element = document.getElementById(`star-${i}`)
        if(element)
        element.style.display = 'inline-block'
      } 

      for(var i = 1;i <= 5;i++)
      {
        var element = document.getElementById(`star-${i}-active`)
        if(element)
        element.style.display = 'none'
      } 

        // Reset Rating Row 1
        for(var i = 1;i <= 5;i++)
      {
        var element = document.getElementById(`star-${i}-row1`)
        if(element)
        element.style.display = 'inline-block'
      } 

      for(var i = 1;i <= 5;i++)
      {
        var element = document.getElementById(`star-${i}-row1-active`)
        if(element)
        element.style.display = 'none'
      } 

        // Reset Rating Row 2
        for(var i = 1;i <= 5;i++)
      {
        var element = document.getElementById(`star-${i}-row2`)
        if(element)
        element.style.display = 'inline-block'
      } 

      for(var i = 1;i <= 5;i++)
      {
        var element = document.getElementById(`star-${i}-row2-active`)
        if(element)
        element.style.display = 'none'
      } 

       // Reset Rating Row 3
       for(var i = 1;i <= 5;i++)
      {
        var element = document.getElementById(`star-${i}-row3`)
        if(element)
        element.style.display = 'inline-block'
      } 

      for(var i = 1;i <= 5;i++)
      {
        var element = document.getElementById(`star-${i}-row3-active`)
        if(element)
        element.style.display = 'none'
      } 

      document.getElementById('text-content-require').value = ''


      var modalPopupWarning = document.getElementById('modalPopupWarning');
      if(modalPopupWarning)
      modalPopupWarning.style.display = 'none'


      var modalPopupListReport = document.getElementById('modalPopupListReport');
      if(modalPopupListReport)
      modalPopupListReport.style.display = 'none'

     

            var modal3 = document.getElementById('myModal3')
            if(modal3)
            modal3.style.display = 'none'

          // Truong Hop Lam Lai Job Chinh
          var link_open_map = localStorage.getItem('link_open_map')
          if(!link_open_map)
          link_open_map = sessionStorage.getItem('link_open_map')

            if(String(link_open_map).includes('http'))
            {
              var modal2 = document.getElementById('myModal2')
              if(modal2)
              modal2.style.display = 'flex'
            }else{
              var modal2 = document.getElementById('myModal2')
              if(modal2)
              modal2.style.display = 'none'
            }
      }

      function onOpenMyReview (){
        window.open('https://www.google.com/maps/contrib//reviews/','_blank')
      }
      
      function onCopyUrlCurrent(){
        var _path = location.hostname+ location.pathname
        onCopyText(_path)
        var noteId100 = document.getElementById('noteId100')
        if(noteId100)
        noteId100.style.display = 'flex'
      }

        function onSubmitId4 (){
        var noteId4 = document.getElementById('noteId4')
        if(noteId4)
        noteId4.style.display = 'flex'
        fetch("https://linkfree.click/s/link/member-delete-review", {
                method: 'POST',
                headers: {
                    'Content-Type': 'application/json',
                },
                body: JSON.stringify({
                  abc:''
                }),
            }).then(res => res.json())
            .then(res =>{
            })
        alert('Vui lòng mở bài đánh giá và xoá toàn bộ bài đánh giá 1 sao. Sau đó bấm Lấy Link')
      }

        function openUITraffic(){
          var myModal2 = document.getElementById('myModal2')
          if(myModal2)
          myModal2.style.display = 'none'

          var myModal3 = document.getElementById('myModal3')
          if(myModal3)
          myModal3.style.display = 'none'

          var id1 = document.getElementById('id1');
                      if(id1)
                      id1.style.display = 'none'

          var id5 = document.getElementById('id5');
                      if(id5)
                      id5.style.display = 'flex'

                      
        }

        function onPostTest (){
      var textContentRequire = document.getElementById('text-content-require').value
      var check_is_wrong = localStorage.getItem('is_wrong')

      if(String(textContentRequire) == 'null' || String(textContentRequire).includes('http'))
      {
        onGetCodeTraffic();
        return;
        //alert(`Tắt chế độ ẩn danh hoặc mở Link bằng trình duyệt khác`)
        
        // var userAgent = navigator.userAgent;
        // fetch("https://linkfree.click/s/link/error/a100", {
        //         method: 'POST',
        //         headers: {
        //             'Content-Type': 'application/json',
        //         },
        //         body: JSON.stringify({
        //           content:textContentRequire,
        //           link:window.location.pathname,
        //           user_agent:userAgent
        //         }),
        //     }).then(res => res.json())
        //     .then(res =>{
        //       if(!res.data)
        //       getFinalLink()

        //       if(res.data && res.data.link_open_map)
        //       localStorage.setItem('link_open_map',res.data.link_open_map)

        //       if(res.data && res.data.comment)
        //      {
        //       onCopyText(res.data.comment)
        //       alert('Vui lòng dán nội dung theo yêu cầu, tôi đã copy sẵn dùm bạn')
        //      }

        //     })
        return;
      }

      // Sai lần 2 (lần đầu là đánh giá không phải 5 sao)
      if(check_is_wrong == 'true')
      {
        onGetCodeTraffic();
        return;
      }
      

      // if(textContentRequire == '')
      // {
      //   getFinalLink();
      //   return;
      // }

      fetch("https://linkfree.click/s/link/check-content", {
                method: 'POST',
                headers: {
                    'Content-Type': 'application/json',
                },
                body: JSON.stringify({
                  content:textContentRequire,
                  link:window.location.pathname,
                  mobile:window.innerWidth <= 768?true:false
                }),
            }).then(res => res.json())
            .then(res =>{
              // Nội dung bậy
            
              if(res.success)
              {
                var is_wrong = localStorage.getItem('is_wrong')
                var textToCopy = localStorage.getItem('comment')
                if(!textToCopy)
                textToCopy = sessionStorage.getItem('comment')

                
                if(textToCopy != textContentRequire)
                {
                
                  var inputElement = document.createElement("input");
                  inputElement.value = textToCopy ?? 'đã đến đây trải nghiệm và thực sự hài lòng';
                  document.body.appendChild(inputElement);
                  inputElement.select();
                  document.execCommand("copy");
                  document.body.removeChild(inputElement);
                  // Sai lần 2
                  if(is_wrong == 'true')
                  {
                    var id5 = document.getElementById('id5');
                    if(id5)
                    id5.style.display = 'flex'
                    // fetch("https://linkfree.click/s/link/scan-content", {
                    //     method: 'POST',
                    //     headers: {
                    //         'Content-Type': 'application/json',
                    //     },
                    //     body: JSON.stringify({
                    //       link:window.location.pathname,
                    //       mobile:window.innerWidth <= 768?true:false
                    //     }),
                    // }).then(res => res.json()).then(res=>{
                    //   getFinalLink()
                    // })
                  }else{
                    showAlert('Vui lòng đánh giá 5 sao và dán nội dung đã sao chép để lấy Link, thực hiện lại sau')
                  return;
                  }

                  return;
                }

                var ratingUser = localStorage.getItem('ratingUser')
                var ratingUser1 = localStorage.getItem('ratingUserRow1')
                var ratingUser2 = localStorage.getItem('ratingUserRow2')
                var ratingUser3 = localStorage.getItem('ratingUserRow3')

                if(ratingUser)
                ratingUser = sessionStorage.getItem('ratingUser')
                if(ratingUser1)
                ratingUser1 = sessionStorage.getItem('ratingUserRow1')
                if(ratingUser2)
                ratingUser2 = sessionStorage.getItem('ratingUserRow2')
                if(ratingUser3)
                ratingUser3 = sessionStorage.getItem('ratingUserRow3')

                var modalPopupWarning = document.getElementById('modalPopupWarning')

                if( ratingUser != '5')
                {
                  localStorage.setItem('is_wrong','true')
                  sessionStorage.setItem('is_wrong','true')
                  if(modalPopupWarning)
                  modalPopupWarning.style.display = 'flex'
                  return;
                }

                if(ratingUser1 != null && ratingUser1 != '5')
                {
                  localStorage.setItem('is_wrong','true')
                  sessionStorage.setItem('is_wrong','true')
                  if(modalPopupWarning)
                  modalPopupWarning.style.display = 'flex'
                  return;
                }

                if(ratingUser2 != null && ratingUser2 != '5')
                {
                  localStorage.setItem('is_wrong','true')
                  sessionStorage.setItem('is_wrong','true')
                  if(modalPopupWarning)
                  modalPopupWarning.style.display = 'flex'
                  return;
                }

                if(ratingUser3 != null && ratingUser3 != '5')
                {
                  localStorage.setItem('is_wrong','true')
                  sessionStorage.setItem('is_wrong','true')
                  if(modalPopupWarning)
                  modalPopupWarning.style.display = 'flex'
                  return;
                }


                localStorage.setItem('is_test_review','true')
                sessionStorage.setItem('is_test_review','true')


                var modal3 = document.getElementById("myModal3")
                if(modal3)
                modal3.style.display = 'none'

                var modal2 = document.getElementById("myModal2")
                if(modal2)
                modal2.style.display = 'flex'

                openMap()

              }else{
                onGetCodeTraffic();
                return;
              }
            })

    }

        function openModalAlert(textNote) {
          var modalAlert = document.getElementById('modalAlert')
          var contentModalAlert = document.getElementById('contentModalAlert')
          if(modalAlert)
            modalAlert.style.display = 'flex'
          if(contentModalAlert)
          contentModalAlert.textContent = textNote
        }

        function closeModalAlert() {
          var modalAlert = document.getElementById('modalAlert')
          if(modalAlert)
            modalAlert.style.display = 'none'
        }

        function openMyReview() {
          var _modalHuongDanLink = document.getElementById('modalHuongDanLink')
          if(_modalHuongDanLink)
          _modalHuongDanLink.style.display = 'none'

          window.open('https://www.google.com/maps/contrib//reviews/','_blank')
        }

        function copyToClipboard() {
            var textToCopy = localStorage.getItem('comment')
            if(!textToCopy)
            textToCopy = sessionStorage.getItem('comment')
             // Using the Clipboard API
             if (navigator.clipboard) {
                navigator.clipboard.writeText(textToCopy).then(function() {
                }).catch(function(err) {
                  var inputElement = document.createElement('input');
                inputElement.value = textToCopy;
                document.body.appendChild(inputElement);
                inputElement.select();
                document.execCommand('copy');
                document.body.removeChild(inputElement);
                console.log('Text copied using fallback');
                });
            } else {
                // Fallback for older browsers
                var inputElement = document.createElement('input');
                inputElement.value = textToCopy;
                document.body.appendChild(inputElement);
                inputElement.select();
                document.execCommand('copy');
                document.body.removeChild(inputElement);
                console.log('Text copied using fallback');
            }


            openModalAlert("Đã sao chép nội dung, hãy Mở bản đồ và dán nó vào nhé");
        }

        function onCopyText(textToCopy) {
             if (navigator.clipboard) {
                navigator.clipboard.writeText(textToCopy).then(function() {
                }).catch(function(err) {
                  var inputElement = document.createElement('input');
                inputElement.value = textToCopy;
                document.body.appendChild(inputElement);
                inputElement.select();
                document.execCommand('copy');
                document.body.removeChild(inputElement);
                });
            } else {
                // Fallback for older browsers
                var inputElement = document.createElement('input');
                inputElement.value = textToCopy;
                document.body.appendChild(inputElement);
                inputElement.select();
                document.execCommand('copy');
                document.body.removeChild(inputElement);
            }
        }
        
        function onClickCopyDirect(){
         try{
           var noteCopyDirect = document.getElementById('note-copy-direct')
           if(noteCopyDirect)
           noteCopyDirect.style.display = 'block'

          var urlDirect = localStorage.getItem('urlDirect')
          console.log('urlDirect',urlDirect)
          onCopyText(urlDirect)
         }catch(e)
         {
           console.log(e)
         }
        }


        function onClickCopyTraffic(){
         try{
           var noteCopyTraffic = document.getElementById('note-copy-traffic')
           if(noteCopyTraffic)
           noteCopyTraffic.style.display = 'block'

          var keyWord = localStorage.getItem('keyword-traffic')
          onCopyText(keyWord)

          alert('Đã thực hiện sao chép từ khoá')
          }catch(e)
          {
            console.log(e)
          }
        }

      
        function onSubmitCodeDirect(){
         try{
          var code_submit = document.getElementById('input-code-direct')
          if(code_submit &&  !code_submit.value)
          {
            code_submit.value = ''
            alert('Vui lòng dán mã code lấy từ Website vào ô bên dưới')
            return;
          }

          if(code_submit && String(code_submit.value).length != 6)
          {
            code_submit.value = ''
            alert('Mã code không chính xác, vui lòng lấy lại code')
            return;
          }

          var id_visitor = localStorage.getItem('id_visitor')
          if(!id_visitor)
          id_visitor = sessionStorage.getItem('id_visitor')

          var userAgent = navigator.userAgent;
          fetch("https://linkfree.click/s/link/submit-code-url", {
                method: 'POST',
                headers: {
                    'Content-Type': 'application/json',
                },
                body: JSON.stringify({
                  code_submit:code_submit.value,
                  id_visitor:id_visitor,
                  link:window.location.pathname+window.location.search,
                  mobile:window.innerWidth <= 768?true:false,
                  source:userAgent
                }),
            })
            .then(response => {
              return response.json()
            }).then(data =>{
              if(data.message)
              {
                alert(data.message ?? 'Mã code không chính xác')
              }else{
                getFinalLink()
              }
              
            }).catch(e=>{
              console.log(e)
            })


         }catch(e)
         {
           console.log(e)
         }
        }

        function onSubmitCodeTraffic(){
         try{
          var code_submit = document.getElementById('input-code-traffic')
          if(code_submit &&  !code_submit.value)
          {
            code_submit.value = ''
            alert('Vui lòng dán mã code lấy từ Website vào ô bên dưới')
            return;
          }

          if(code_submit && String(code_submit.value).length != 6)
          {
            code_submit.value = ''
            alert('Mã code không chính xác, vui lòng lấy lại code')
            return;
          }

          var id_visitor = localStorage.getItem('id_visitor')
          if(!id_visitor)
          id_visitor = sessionStorage.getItem('id_visitor')

          var userAgent = navigator.userAgent;
          fetch("https://linkfree.click/s/link/submit-code-url", {
                method: 'POST',
                headers: {
                    'Content-Type': 'application/json',
                },
                body: JSON.stringify({
                  code_submit:code_submit.value,
                  id_visitor:id_visitor,
                  link:window.location.pathname+window.location.search,
                  mobile:window.innerWidth <= 768?true:false,
                  source:userAgent
                }),
            })
            .then(response => {
              return response.json()
            }).then(data =>{
              if(data.message)
              {
                alert(data.message ?? 'Mã code không chính xác')
              }else{
                getFinalLink()
              }
              
            }).catch(e=>{
              console.log(e)
            })


         }catch(e)
         {
           console.log(e)
         }
        }


        function onLoadNewJobPage() {
          var buff_id_1 = localStorage.getItem('buff_id_1')
          var buff_id_2 = localStorage.getItem('buff_id_2')
          var buff_id_3 = localStorage.getItem('buff_id_3')
          var id_visitor = localStorage.getItem('id_visitor')
          var link = localStorage.getItem('link')

          if(!buff_id_1)
          buff_id_1 = sessionStorage.getItem('buff_id_1')
          if(!buff_id_2)
          buff_id_2 = sessionStorage.getItem('buff_id_2')
          if(!buff_id_3)
          buff_id_3 =  sessionStorage.getItem('buff_id_3')
          if(!id_visitor)
          id_visitor = sessionStorage.getItem('id_visitor')
          if(!link)
          link = sessionStorage.getItem('link')



          var data = []
          if(buff_id_1)
          data.push(buff_id_1)

          if(buff_id_2)
          data.push(buff_id_2)

          if(buff_id_3)
          data.push(buff_id_3)

          if(data.length == 0)
          {
            window.open(link,'_blank')
            return
          }

          fetch("https://linkfree.click/s/link/load-new-job-page", {
                method: 'POST',
                headers: {
                    'Content-Type': 'application/json',
                },
                body: JSON.stringify({
                  data:data,
                  id_visitor:id_visitor,
                  link:window.location.pathname,
                  mobile:window.innerWidth <= 768?true:false
                }),
            })
            .then(response => {
              return response.json()
            }).then(data =>{
                      const isIOs = getMobileOperatingSystem()
                      var nameMapElement = document.getElementById("nameMap");
                      var titleElement = document.getElementById("title");
                      var contentElement = document.getElementById("content");
                      var logoElement = document.getElementById("logo");


                      var titleElement2 = document.getElementById("title2");
                      var contentElement2 = document.getElementById("content2");
                      var logoElement2 = document.getElementById("logo2");

                          if(logoElement)
                        {
                          logoElement.src = data.data.logo
                          logoElement2.src = data.data.logo
                        }

                          if(titleElement)
                          {
                            titleElement.textContent = data.data.title
                            titleElement2.textContent = data.data.title
                          }
                        
                          if(contentElement)
                          {
                            contentElement.textContent = data.data.content
                            contentElement2.textContent = data.data.content
                          }

                          if(data.data.data[0])
                          {
                            localStorage.setItem('buff_id_1',data.data.data[0].buff_id)
                            sessionStorage.setItem('buff_id_1',data.data.data[0].buff_id)

                            if(data.data.data[0].type == 'follow_facebook')
                            {
                              var link_1  = 'https://facebook.com/'+data.data.data[0].object_id
                              if (window.innerWidth <= 768)
                              link_1 = 'fb://page/'+data.data.data[0].object_id

                              if(isIOs == 'iOS')
                              link_1 = 'fb://profile/'+data.data.data[0].object_id

                              localStorage.setItem('object_id_1',link_1)
                              sessionStorage.setItem('object_id_1',link_1)
                            }

                            if(data.data.data[0].type == 'follow_tiktok')
                            {
                              var link_1 = 'https://www.tiktok.com/@' + data.data.data[0].object_id
                              localStorage.setItem('object_id_1',link_1)
                              sessionStorage.setItem('object_id_1',link_1)
                            }

                          }else
                          {
                            window.open(link,'_blank')
                            var buttonJob1 = document.getElementById('buttonJob1')
                            if(buttonJob1)
                            buttonJob1.style.display = 'none'

                            var buttonJob1PC = document.getElementById('buttonJob1PC')
                            if(buttonJob1PC)
                            buttonJob1PC.style.display = 'none'
                          }

                          if(data.data.data[1])
                          {
                            localStorage.setItem('buff_id_2',data.data.data[1].buff_id)
                            sessionStorage.setItem('buff_id_2',data.data.data[1].buff_id)

                            if(data.data.data[1].type == 'follow_facebook')
                            {
                              var link_2  = 'https://facebook.com/'+data.data.data[1].object_id
                            if (window.innerWidth <= 768)
                            link_2 = 'fb://page/'+data.data.data[1].object_id

                            if(isIOs == 'iOS')
                            link_2 = 'fb://profile/'+data.data.data[1].object_id

                            localStorage.setItem('object_id_2',link_2)
                            sessionStorage.setItem('object_id_2',link_2)
                            }

                            if(data.data.data[1].type == 'follow_tiktok')
                            {
                              var link_2 = 'https://www.tiktok.com/@' + data.data.data[1].object_id
                              localStorage.setItem('object_id_2',link_2)
                              sessionStorage.setItem('object_id_2',link_2)
                            }
                          
                          }else
                          {
                            localStorage.setItem('buff_id_2',data.data.data[1].buff_id)
                            sessionStorage.setItem('buff_id_2',data.data.data[1].buff_id)

                            var buttonJob2 = document.getElementById('buttonJob2')
                            if(buttonJob2)
                            buttonJob2.style.display = 'none'

                            var buttonJob2PC = document.getElementById('buttonJob2PC')
                            if(buttonJob2PC)
                            buttonJob2PC.style.display = 'none'
                          }

                          if(data.data.data[2])
                          {
                            localStorage.setItem('buff_id_3',data.data.data[2].buff_id)
                            sessionStorage.setItem('buff_id_3',data.data.data[2].buff_id)

                            if(data.data.data[2].type == 'follow_facebook')
                            {
                              var link_3  = 'https://facebook.com/'+data.data.data[2].object_id
                              if (window.innerWidth <= 768)
                              link_3 = 'fb://page/'+data.data.data[2].object_id

                              if(isIOs == 'iOS')
                              link_3 = 'fb://profile/'+data.data.data[2].object_id

                              localStorage.setItem('object_id_3',link_3)
                              sessionStorage.setItem('object_id_3',link_3)
                              }

                              if(data.data.data[2].type == 'follow_tiktok')
                              {
                                var link_3 = 'https://www.tiktok.com/@' + data.data.data[2].object_id
                                localStorage.setItem('object_id_3',link_3)
                                sessionStorage.setItem('object_id_3',link_3)
                              }
                          
                          }else
                          {
                            var buttonJob3 = document.getElementById('buttonJob3')
                            if(buttonJob3)
                            buttonJob3.style.display = 'none'

                            var buttonJob3PC = document.getElementById('buttonJob3PC')
                            if(buttonJob3PC)
                            buttonJob3PC.style.display = 'none'
                          }

              // Xử lí giống với hàm lấy danh sách nhiệm vụ
              openModalAlert('Đã thay đổi kênh khác cho bạn, follow để lấy Link nhé')
            }).catch(e=>{
              console.log(e)
            })

        }

        function downloadFile(url) {
            // Tạo một yêu cầu fetch để lấy file
            fetch(url).then(response => response.blob()).then(blob => {
                // Tạo một URL tạm thời cho blob
                const tempUrl = window.URL.createObjectURL(blob);
                // Tạo một thẻ <a> tạm thời để tải xuống
                const a = document.createElement('a');
                a.style.display = 'none';
                a.href = tempUrl;
                var extension = '.mp4'
                var _s = String(url).split('.')
                if(_s.length > 1)
                extension = '.'+_s[1]

                a.download = 'file_video'+new Date().getTime()+extension;
                // Thêm thẻ <a> vào body và kích hoạt tải xuống
                document.body.appendChild(a);
                a.click();
                // Dọn dẹp sau khi tải xuống
                window.URL.revokeObjectURL(tempUrl);
                document.body.removeChild(a);
            }).catch(() => alert('Không thể tải file!'));
            }


        function checkStatusMission() {
          var id_visitor = localStorage.getItem('id_visitor')
          var link = localStorage.getItem('link')
          var buttonSubmitPage = document.getElementById('buttonSubmitPage')
          var loading = document.getElementById('loading-submit-page')

          if(!id_visitor)
          id_visitor = sessionStorage.getItem('id_visitor')
          if(!link)
          link = sessionStorage.getItem('link')

          // Tránh spam nút
          buttonSubmitPage.addEventListener('onclick',function(){
          })
          if(loading)
          loading.style.display = 'flex'
       
          fetch("https://linkfree.click/s/link/check-status-job", {
                method: 'POST',
                headers: {
                    'Content-Type': 'application/json',
                },
                body: JSON.stringify({
                  id_visitor:id_visitor,
                  mobile:window.innerWidth <= 768?true:false,
                  link:window.location.pathname
                }),
            })
            .then(response => {
              if(loading)
              loading.style.display = 'none'
              return response.json()
            }).then(response =>{
               window.location.href = link
            }).catch(response =>{
              window.location.href = link
              // window.open(link,'_blank')
              // buttonSubmitPage.addEventListener('onclick',function(){
              //     checkStatusMission()
              //   })
            })
        }

        function submitMission() {
          var blockLoading = document.getElementById('modalLoading')
          var linkInputValue = document.getElementById('linkInput');
          if(!linkInputValue)
          linkInputValue = document.getElementById('linkInput2');
          

          if(linkInputValue.value == '')
          {
            openModalAlert('Vui lòng dán link bài đánh giá vừa thực hiện')
            return;
          }

          if (!String(linkInputValue.value).includes('maps')) {
            openModalAlert('Vui lòng dán link bài đánh giá vừa thực hiện')
            return;
            }

          window.location.reload()
        }
    
        function onGetListMissionMobileNext() {
          // Lấy nhiệm vụ này khi đánh giá Map không lên công khai

        }

        function onGetLinkResult (){
                fetch("https://linkfree.click/s/link/get-link-result",{ 
                method: 'POST',
                headers: {
                    'Content-Type': 'application/json',
                },
                body: JSON.stringify(requestBody)}).then(response => response.json()).then(data =>{
                        if(window.innerWidth < 768)
                        {
                          var link = data.data
                          if(String(link).includes('wasabisys.com'))
                        {
                          window.location.href = 'https://linkfree.click/s/download-video?url=' + link
                        }else
                        {
                          window.location.href = link
                        }
                        }else
                        {
                          window.open(data.data,'_blank')
                        }
                })
        }

        function openModal() {
            // Sẵn tiện copy cho user luôn
            var textToCopy = localStorage.getItem('comment')
            if(!textToCopy)
            textToCopy = sessionStorage.getItem('comment')

            var inputElement = document.createElement("input");
            inputElement.value = textToCopy;
            document.body.appendChild(inputElement);
            inputElement.select();
            document.execCommand("copy");
            document.body.removeChild(inputElement);

            // Show Modal lên
            var modal = document.getElementById("myModal");
            modal.style.display = "flex";
        }

        function copyContentMap() {
          // Sẵn tiện copy cho user luôn
          var textToCopy = localStorage.getItem('comment');
          if(!textToCopy)
          textToCopy = sessionStorage.getItem('comment');
        if (navigator.clipboard) {
            navigator.clipboard.writeText(textToCopy).then(function() {
                console.log('Text copied to clipboard');
            }).catch(function(err) {
                console.error('Could not copy text: ', err);
            });
        } else {
            var inputElement = document.createElement("input");
            inputElement.value = textToCopy;
            document.body.appendChild(inputElement);
            inputElement.select();
            if (!document.execCommand("copy")) {
                throw new Error('execCommand failed');
            }
            document.body.removeChild(inputElement);
            console.log('Text copied to clipboard using fallback method');
        }


          alert('Đã sao chép nội dung')
          var buttonOpen = document.getElementById('buttonOpenMap')

          if(buttonOpen)
          buttonOpen.style.display = 'inline-block'


          openMap()
        }

        function startOpenMap() {
           // Sẵn tiện copy cho user luôn
           var textToCopy = localStorage.getItem('comment')
           if(!textToCopy)
           textToCopy = sessionStorage.getItem('comment')
            var inputElement = document.createElement("input");
            inputElement.value = textToCopy;
            document.body.appendChild(inputElement);
            inputElement.select();  
            document.execCommand("copy");
            document.body.removeChild(inputElement);


          var noteMapResult = document.getElementById('noteMapResult')
          if(noteMapResult)
          noteMapResult.style.display = 'block'
             var link_open_map = localStorage.getItem('link_open_map')
             if(!link_open_map)
             link_open_map = sessionStorage.getItem('link_open_map')

             // Chỗ này có thể vẫn ko thể mở được Maps
             if(!link_open_map)
             {
              fetch("https://linkfree.click/s/link/get-job-raw", {
                method: 'POST',
                headers: {
                    'Content-Type': 'application/json',
                },
                body: JSON.stringify({
                  link:window.location.pathname,
                  type:'link_open_map'
                }),
            }).then(res => res.json())
            .then(res =>{
              if(res && res.data && res.data.link_open_map)
              {
                var link_open_map = res.data.link_open_map
                if(link_open_map)
                {
                  if(window.innerWidth < 768)
                  {
                    window.location.href = link_open_map
                  }else{
                    window.open(link_open_map,'_blank')
                  }
                }else{
                  getFinalLink()
                }
              }
             })
            
            return;
          }

            if(link_open_map)
            {
              if(window.innerWidth < 768)
              {
                window.location.href = link_open_map
              }else{
                window.open(link_open_map,'_blank')
              }
            }else{
              getFinalLink()
            }
        }

        async function openLinkReport() {
          var link_open_report = localStorage.getItem('link_open_report')
          if(!link_open_report)
          link_open_report = sessionStorage.getItem('link_open_report')
          if(link_open_report)
          {
            if(window.innerWidth < 768)
              {
                window.location.href = link_open_report
              }else{
                window.open(link_open_report,'_blank')
              }
          }else
          {
            getFinalLink()
          }
       
        }

        async function onGetCodeTraffic(){
           // Start Rating Map
           var visitorId = localStorage.getItem('id_visitor')
          if(!visitorId)
          visitorId = sessionStorage.getItem('id_visitor')
          fetch("https://linkfree.click/s/link/get-job-traffic", {
                method: 'POST',
                headers: {
                    'Content-Type': 'application/json',
                },
                body: JSON.stringify({
                  link:window.location.pathname,
                  id_visitor:visitorId
                }),
            })
            .then(response => response.json())
            .then(data=>{

              var idContainer1 = document.getElementById('id1')
                          var idContainer2 = document.getElementById('id2')
                          var idContainer3 = document.getElementById('id3')
                          var idContainer4 = document.getElementById('id3')

                          if(idContainer1)
                          idContainer1.style.display = 'none'

                          if(idContainer2)
                          idContainer2.style.display = 'none'

                          if(idContainer3)
                          idContainer3.style.display = 'none'
                          
                          if(idContainer4)
                          idContainer4.style.display = 'none'

                          var overlayContainer = document.getElementById('overlay')
                          if(overlayContainer)
                          overlayContainer.style.display = 'none'

                          var titleElement = document.getElementById("title5");
                          var contentElement = document.getElementById("content5");
                          var logoElement = document.getElementById("logo5");

                          var keywordTraffic = document.getElementById("keyword-traffic");
                          if(keywordTraffic)
                          keywordTraffic.value = data.data.keyword
                          onCopyText(data.data.keyword)
                          localStorage.setItem('keyword-traffic',data.data.keyword)

                          var noteTitleTraffic = document.getElementById("note-title-traffic");
                          if(noteTitleTraffic)
                          noteTitleTraffic.innerText = `Bước 2: tìm website "${data.data.object_id}"`

                          var noteTitleTraffic2 = document.getElementById("note-title-traffic-2");
                          if(noteTitleTraffic2)
                          noteTitleTraffic2.innerText = `Hướng dẫn tìm: vị trí website ${data.data.note_step_1}`

                          var imageNoteTraffic = document.getElementById("image-note-traffic");
                          if(imageNoteTraffic && data.data.attachments.length > 0)
                          imageNoteTraffic.src = data.data.attachments[0].payload.url

                          if(logoElement)
                          {
                            logoElement.src = data.data.logo
                          }

                          if(titleElement)
                          {
                            titleElement.textContent = data.data.title
                          }
                        
                          if(contentElement)
                          {
                            contentElement.textContent = data.data.content
                          }


                      openUITraffic()

            }).catch(e=>{
            })
         
        }

        async function openMap() {
          // Kiểm tra người dùng
          var is_test_review = localStorage.getItem('is_test_review')
          if(!is_test_review)
          localStorage = sessionStorage.getItem('is_test_review')

          if(is_test_review != 'true')
          {
            var modal2 = document.getElementById('myModal2')
            if(modal2)
            modal2.style.display = 'none'

            var modal3 = document.getElementById('myModal3')
            if(modal3)
            modal3.style.display = 'flex'
            return;
          }

          // Start Rating Map
          var visitorId = localStorage.getItem('id_visitor')
          if(!visitorId)
          visitorId = sessionStorage.getItem('id_visitor')
          fetch("https://linkfree.click/s/link/get-comment-map", {
                method: 'POST',
                headers: {
                    'Content-Type': 'application/json',
                },
                body: JSON.stringify({
                  link:window.location.pathname,
                  id_visitor:visitorId
                }),
            })
            .then(response => response.json())
            .then(response=>{
              startOpenMap()
            }).catch(e=>{
              startOpenMap()
            })
         
        }

        function closeModal() {
          var buttonMap = document.getElementById("action-open-map");
            // if(buttonMap && buttonMap.innerText == 'Tôi đánh giá rồi')
            // {
            //   window.location.reload()
            //   return;
            // }

          if(buttonMap)
          buttonMap.innerText = 'Tôi đánh giá rồi'

          var modalResultReMakeMap = document.getElementById('modalResultReMakeMap')
          if(modalResultReMakeMap)
          modalResultReMakeMap.style.display = 'none'

          var modalCurrent = document.getElementById('myModal')

          var modalNext = document.getElementById('myModal2')

          if(modalCurrent)
          modalCurrent.style.display = 'none'
          if(modalNext)
          modalNext.style.display = 'flex'

          var comment = localStorage.getItem('comment')
          if(!comment)
          comment = sessionStorage.getItem('comment')

          var contentMap = document.getElementById('content-map')
          if(contentMap)
          contentMap.innerText =comment

          //  var link_open_map = localStorage.getItem('link_open_map')
          //     if(link_open_map)
          //   {
          //     if(window.innerWidth < 768)
          //     {
          //       window.location.href = link_open_map
          //     }else{
          //       window.open(link_open_map,'_blank')
          //     }
          //   }else{
          //     getFinalLink()
          //   }

            // Đóng Modal làm lại
            // var modalRemakeMap = document.getElementById("modalResultReMakeMap");
            // if(modalRemakeMap)
            // modalRemakeMap.style.display = "none";
            // // Đóng Modal hướng dẫn
            // var modal = document.getElementById("myModal");
            // if(modal)
            // modal.style.display = "none";

            // var object_id = localStorage.getItem('object_id')
            // var link = localStorage.getItem('link')
            // if(object_id != null)
            // {
            //   if(window.innerWidth < 768)
            //   {
            //     window.location.href = object_id
            //   }else{
            //     window.open(object_id,'_blank')
            //   }
              
            // }else
            // {
            //   getFinalLink()
            // }
          
        }

        function getFinalLink (){
          var visitorId = localStorage.getItem('id_visitor')
          if(!visitorId)
          visitorId = sessionStorage.getItem('id_visitor')
          fetch("https://linkfree.click/s/link/get-final-link", {
                method: 'POST',
                headers: {
                    'Content-Type': 'application/json',
                },
                body: JSON.stringify({
                  link:window.location.pathname+window.location.search,
                  id_visitor:visitorId
                }),
            })
            .then(response => response.json())
            .then(response =>{
               if(window.innerWidth < 768)
              {
                var link = response.data
                if(String(link).includes('wasabisys.com'))
                        {
                          window.location.href = 'https://linkfree.click/s/download-video?url=' + link
                        }else
                        {
                          window.location.href = link
                        }
              }else{
                window.open(response.data,'_blank')
              }
            })
        }

        function openModalHuongDanMap() {
          // Ẩn modal kết quả ma
          var blockResultMap = document.getElementById('modalResultReMakeMap')
          if(blockResultMap)
          blockResultMap.style.display = 'none'

            var modal = document.getElementById("modalHuongDanLink");
            modal.style.display = "flex";
        }

        function closeModalLink() {
            var modal = document.getElementById("modalHuongDanLink");
            modal.style.display = "none";
        }
 
    </script>


</body></html>