<!-- <head>
    <link rel="stylesheet" href="https://site-assets.fontawesome.com/releases/v6.5.1/css/all.css">
    <link rel="stylesheet" href="https://site-assets.fontawesome.com/releases/v6.5.1/css/sharp-thin.css">
    <link rel="stylesheet" href="https://site-assets.fontawesome.com/releases/v6.5.1/css/sharp-solid.css">
    <link rel="stylesheet" href="https://site-assets.fontawesome.com/releases/v6.5.1/css/sharp-regular.css">
    <link rel="stylesheet" href="https://site-assets.fontawesome.com/releases/v6.5.1/css/sharp-light.css">
    <link rel="stylesheet" href="./index_files/index-96409872.css">
    <link rel="stylesheet" href="../index_files/index-96409872.css">
    <link rel="stylesheet" href="../assets/css/index-3cf8aaa6.css"> 
</head>
<style>
    .block-click {
        pointer-events: none;  
    }

    .tabbar__container-item[data-v-76c247f8]:nth-of-type(3) svg {
    position: absolute;
    bottom: 0.8rem !important;
    width: 0.86667rem !important;
    height: 0.86667rem !important;
    z-index: 3;
}
</style>

  <div data-v-76c247f8="" class="tabbar__container"
    style="--7688837a: &#39;Roboto&#39;, &#39;Inter&#39;, sans-serif;">
    <div data-v-76c247f8="" class="tabbar__container-item" onclick="window.location='/home'">
      <svg data-v-76c247f8="" xmlns="http://www.w3.org/2000/svg" width="56" height="56" viewBox="0 0 56 56"
        fill="none" class="">
        <g clip-path="url(#clip0_226_251)">
          <path fill-rule="evenodd" clip-rule="evenodd"
            d="M52.3509 27.9323L29.2711 5.07261C28.5724 4.37977 27.4394 4.37847 26.74 5.07065L26.7387 5.07261L3.65824 27.931C2.98428 28.5985 2.60466 29.5042 2.604 
            30.4484C2.60596 32.411 4.21107 34.0005 6.19061 34.0018H8.6227V50.3141C8.62075 51.2941 9.42168 52.0898 10.4108 52.0911C10.4121 52.0911 10.4141 52.0911 10.416 
            52.0911H24.4186V39.65H30.6945V52.0911H45.5925C46.5816 52.0924 47.3838 51.2993 47.3858 50.3186C47.3858 50.3173 47.3858 50.3154 47.3858 50.3141V34.0018H49.8172C51.8 
            33.9966 53.4032 32.3987 53.3973 30.4334C53.3947 29.4951 53.0183 28.5959 52.3496 27.931L52.3509 27.9323Z"
            fill="#A4EBF3"></path>
        </g>
        <defs>
          <lineargradient id="paint0_linear_226_251" x1="2.604" y1="52.0931" x2="2.604" y2="4.55225"
            gradientUnits="userSpaceOnUse">
            <stop stop-color="#374992"></stop>
            <stop offset="1" stop-color="#4675d2"></stop>
          </lineargradient>
          <lineargradient id="paint0_linear_226_233" x1="6.5116" y1="52.7442" x2="6.5116" y2="3.90698"
            gradientUnits="userSpaceOnUse">
            <stop stop-color="#61a9ff"></stop>
            <stop offset="1" stop-color="#59b0ea"></stop>
          </lineargradient>
          <clippath id="clip0_226_251">
            <rect width="56" height="56" fill="white"></rect>
          </clippath>
        </defs>
      </svg>
      <span data-v-76c247f8="" onclick="window.location='/home'">Home</span>
    </div>
    <div data-v-76c247f8="" class="tabbar__container-item" onclick="window.location='/activity'">
      <svg data-v-76c247f8="" xmlns="http://www.w3.org/2000/svg" width="56" height="56" viewBox="0 0 56 56"
        fill="none" class="">
        <g clip-path="url(#clip0_226_254)">
          <path fill-rule="evenodd" clip-rule="evenodd"
            d="M44.182 30.186C41.748 35.6375 36.5016 39.6076 30.2276 40.2914V48.3554H36.3668C37.5955 48.3554 38.6009 49.3412 38.6009 50.5472C38.6009 51.7538 37.5955 
            52.7396 36.3668 52.7396H19.6234C18.396 52.7396 17.3906 51.7538 17.3906 50.5472C17.3906 49.3412 18.396 48.3554 19.6234 48.3554H25.7619V40.223C19.7836 39.3569 
            14.8048 35.4838 12.4515 30.2133C7.01041 30.1039 2.60074 25.719 2.60074 20.3475C2.60074 15.4697 6.25572 11.3862 11.0001 10.6192V7.05601C11.0001 5.30242 
            12.4515 3.90503 14.2103 3.90503H42.3966C44.182 3.90503 45.6035 5.33042 45.6035 7.05601V10.7559C50.0412 11.7698 53.3908 15.6885 53.3908 20.3475C53.3908 
            25.5002 49.3158 29.7751 44.182 30.186ZM11.0001 23.6913V15.1135C8.73925 15.7985 7.06576 17.8809 7.06576 20.3475C7.06576 22.8695 8.79655 25.006 11.1401 
            25.6096C11.0561 24.9786 11.0001 24.3483 11.0001 23.6913ZM35.7827 17.7989L31.317 17.1959L29.3336 13.0584C28.5815 11.6057 27.4647 11.6057 26.8513 13.0584L24.8692 
            17.0865L20.4048 17.6895C18.8987 17.9363 18.5353 19.0322 19.6514 20.1288L22.8884 23.4165L22.1337 28.0488C21.8843 29.611 22.749 30.2407 24.1171 29.5009L28.1068 
            27.3085L32.0971 29.6377C33.4646 30.3774 34.3299 29.7751 34.0793 28.1856L33.3259 23.5532L36.5628 20.2655C37.6795 19.1696 37.3168 18.073 35.7827 17.7989ZM45.6035 
            15.3603V23.7186C45.6035 24.2936 45.5488 24.8419 45.4941 25.4175C47.5017 24.5951 48.9251 22.6221 48.9251 20.3749C48.9251 18.1277 47.5577 16.2094 45.6035 15.3603Z"
            fill="#A4EBF3"></path>
        </g>
        <defs>
          <lineargradient id="paint0_linear_226_254" x1="2.60074" y1="52.7442" x2="2.60074" y2="3.90503"
            gradientUnits="userSpaceOnUse">
            <stop stop-color="#374992"></stop>
            <stop offset="1" stop-color="#4675d2"></stop>
          </lineargradient>
          <lineargradient id="paint0_linear_226_233" x1="6.5116" y1="52.7442" x2="6.5116" y2="3.90698"
            gradientUnits="userSpaceOnUse">
            <stop stop-color="#61a9ff"></stop>
            <stop offset="1" stop-color="#59b0ea"></stop>
          </lineargradient>
          <clippath id="clip0_226_254">
            <rect width="56" height="56" fill="white"></rect>
          </clippath>
        </defs>
      </svg>
      <span data-v-76c247f8="" onclick="window.location='/activity'">Activity</span>
    </div>
    
    <div data-v-76c247f8="" class="tabbar__container-item" onclick="window.location='/promotion'">
      <div data-v-c4b9aaee="" class="promotionBg"></div>
      <svg data-v-c4b9aaee="" xmlns="http://www.w3.org/2000/svg" width="57" height="49" fill="none" viewBox="0 0 57 49" class="">
        <path fill="#fff" fill-rule="evenodd" d="M8.939 1.501A4 4 0 0 1 12.062 0h32.155a4 4 0 0 1 3.124 1.501l7.738 9.673c.427.533.749 1.12.968 1.735H.233a5.99 
        5.99 0 0 1 .967-1.735zM0 16.091h56.28a5.985 5.985 0 0 1-1.277 2.673l-23.79 28.549a4 4 0 0 1-6.146 0l-23.79-28.55A5.984 5.984 0 0 1 0 16.092m20.556 
        5.936 7.195 10.102a.5.5 0 0 0 .816-.002l7.118-10.093a2.44 2.44 0 0 1 4.435 1.406v.2h-.223c-.326 0-.782.248-1.304.93-.506.663-6.466 8.724-9.651 
        13.035a.975.975 0 0 1-1.563.007L17.32 24.26s-.394-.62-1.06-.62h-.14v-.195a2.445 2.445 0 0 1 4.436-1.418" clip-rule="evenodd">
        </path>
      </svg>
      <span data-v-76c247f8="" onclick="window.location='/promotion'">Promotion</span>
    </div>
    <div data-v-76c247f8="" class="tabbar__container-item" onclick="window.location='/wallet'">
      <svg data-v-76c247f8="" xmlns="http://www.w3.org/2000/svg" width="56" height="56" viewBox="0 0 56 56"
        fill="none" class="wallet">
        <g clip-path="url(#clip0_226_268)">
          <path fill-rule="evenodd" clip-rule="evenodd"
            d="M49.4884 48.8372H13.6744C11.3784 48.8372 9.48486 47.1383 9.16775 44.9302H46.2326C48.3905 44.9302 50.1396 43.1812 50.1396 41.0233V14.3777C52.3476 14.6942 54.0465 16.5877 54.0465 
            18.8837V44.2791C54.0465 46.7965 52.0058 48.8372 49.4884 48.8372ZM42.3256 41.6744H7.16281C4.64542 41.6744 2.60468 39.6337 2.60468 37.1163V12.3721C2.60468 9.85471 4.64542 7.81396 
            7.16281 7.81396H42.3256C44.843 7.81396 46.8837 9.85471 46.8837 12.3721V37.1163C46.8837 39.6337 44.843 41.6744 42.3256 41.6744ZM10.8158 32.5621H35.1439C37.3116 32.5621 39.0691 
            31.8113 39.0691 29.7054C39.0691 29.4436 38.853 29.234 38.5866 29.234H18.3837C17.6791 29.234 17.1087 28.6798 17.1087 27.9955V25.6734C17.1087 25.5184 16.9804 25.3921 16.8209 
            25.3941C15.3134 25.409 14.7267 26.3487 13.0793 28.5502L10.4186 32.1766C10.4186 32.3888 10.5977 32.5621 10.8158 32.5621ZM38.6719 16.9257H14.3445C12.1761 16.9257 10.4193 17.6771 
            10.4193 19.783C10.4193 20.0448 10.6348 20.2544 10.9018 20.2544H31.1048C31.8087 20.2544 32.3797 20.8086 32.3797 21.4923V23.8143C32.3797 23.97 32.5074 24.0956 32.6676 24.0943C34.175 
            24.0794 34.7617 23.1397 36.4091 20.9382L39.0698 17.3118C39.0698 17.0995 38.8907 16.9257 38.6719 16.9257Z"
            fill="#A4EBF3"></path>
        </g>
        <defs>
          <lineargradient id="paint0_linear_226_268" x1="2.60468" y1="48.8372" x2="2.60468" y2="7.81396"
            gradientUnits="userSpaceOnUse">
            <stop stop-color="#374992"></stop>
            <stop offset="1" stop-color="#4675d2"></stop>
          </lineargradient>
          <lineargradient id="paint0_linear_226_233" x1="6.5116" y1="52.7442" x2="6.5116" y2="3.90698"
            gradientUnits="userSpaceOnUse">
            <stop stop-color="#61a9ff"></stop>
            <stop offset="1" stop-color="#59b0ea"></stop>
          </lineargradient>
          <clippath id="clip0_226_268">
            <rect width="56" height="56" fill="white"></rect>
          </clippath>
        </defs>
      </svg>
      <span data-v-76c247f8="" onclick="window.location='/wallet'">Wallet</span>
    </div>
    <div data-v-76c247f8="" class="tabbar__container-item" onclick="window.location='/mian'">
      <svg data-v-76c247f8="" xmlns="http://www.w3.org/2000/svg" width="56" height="56" viewBox="0 0 56 56"
        fill="none" class="">
        <g clip-path="url(#clip0_226_262)">
          <path fill-rule="evenodd" clip-rule="evenodd"
            d="M23.0837 30.8723C13.9446 30.8723 6.5116 38.149 6.5116 47.1012V48.0656C6.5116 52.7442 13.8261 52.7442 23.0837 52.7442H32.9162C41.8098 52.7442 49.4883 
            52.7442 49.4883 48.0656V47.1012C49.4883 38.1536 42.0547 30.8723 32.9162 30.8723H23.0811H23.0837ZM27.507 29.6318C34.7447 29.6318 40.6312 23.8638 40.6312 
            16.7707C40.6312 9.67694 34.7447 3.90698 27.5096 3.90698C20.2713 3.90698 14.3822 9.67694 14.3822 16.7707C14.3822 23.8619 20.2713 29.6318 27.5096 29.6318H27.507Z"
            fill="#A4EBF3"></path>
        </g>
        <defs>
          <lineargradient id="paint0_linear_226_262" x1="6.5116" y1="52.7442" x2="6.5116" y2="3.90698"
            gradientUnits="userSpaceOnUse">
            <stop stop-color="#374992"></stop>
            <stop offset="1" stop-color="#4675d2"></stop>
          </lineargradient>
          <lineargradient id="paint0_linear_226_233" x1="6.5116" y1="52.7442" x2="6.5116" y2="3.90698"
            gradientUnits="userSpaceOnUse">
            <stop stop-color="#61a9ff"></stop>
            <stop offset="1" stop-color="#59b0ea"></stop>
          </lineargradient>
          <clippath id="clip0_226_262">
            <rect width="56" height="56" fill="white"></rect>
          </clippath>
        </defs>
      </svg>
      <span data-v-76c247f8="" onclick="window.location='/mian'">Account</span>
    </div>
  </div>
</div>
<script>
    let url = window.location.pathname;
    let check = document.querySelector(`.van-tabbar-item[data-url='${url}']`);
    document.querySelector('#nav_checkUrl').setAttribute('data-url', url);
    if (check) check.classList.add('block-click');
    let pathname = document.querySelector('#nav_checkUrl').getAttribute('data-url');
    let select = 0;
    switch (pathname) {
        case '/home':
            select = 0;
            break;
        case '/checkIn':
            select = 1;
            break;
        case '/promotion':
            select = 2;
            break;
        case '/wallet':
            select = 3;
            break;
        case '/mian':
            select = 4;
            break;
        default:
            break;
    }

    let arr = [
        { id: 1, src: '/images/home.png' },
        { id: 2, src: '/images/checkIn.png' },
        { id: 3, src: '/images/invite.webp' },
        { id: 4, src: '/images/wallet2.png' },
        { id: 5, src: '/images/me2.png' },
    ];
</script> -->

<div data-v-6ab3f23e="" class="tabbar__container" style="background: linear-gradient(180deg, rgb(91 82 199), rgb(20 37 144));">
  <div onclick="location.href = '/home'" data-v-6ab3f23e="" class="tabbar__container-item home_tab_btn">
    <img src="https://www.jaya9.app/static/svg/mobileBottomNavigation/toolbar-icon-home.svg" style="height: 25px; width: 25px;"><span data-v-6ab3f23e="">Home</span>
  </div>
  <div onclick="location.href = '/activity'" data-v-6ab3f23e="" class="tabbar__container-item activity_tab_btn">
    <img src="https://www.jaya9.app/static/svg/mobileBottomNavigation/toolbar-icon-promotion.svg" style="height: 25px; width: 25px;"><span data-v-6ab3f23e="">Activity</span>
  </div>
  <div onclick="location.href = '/promotion'" data-v-6ab3f23e="" class="tabbar__container-item">
    <svg data-v-6ab3f23e="" class="svg-icon icon-promotion">
      <use xlink:href="#icon-promotion"></use>
    </svg>
    <div data-v-6ab3f23e="" class="promotionBg"></div>
    <span data-v-6ab3f23e="">Promotion</span>
  </div>
  <div onclick="location.href = '/wallet'" data-v-6ab3f23e="" class="tabbar__container-item wallet_tab_btn">
    <img src="https://www.jaya9.app/static/svg/mobileBottomNavigation/toolbar-icon-deposit.svg" style="height: 25px; width: 25px;"><span data-v-6ab3f23e="">Wallet</span>
  </div>
  <div onclick="location.href = '/mian'" data-v-6ab3f23e="" class="tabbar__container-item account_tab_btn">
    <img src="https://www.jaya9.app/static/svg/mobileBottomNavigation/toolbar-icon-mine.svg" style="height: 25px; width: 25px;"><span data-v-6ab3f23e="">Account</span>
  </div>
</div>

<script>
  const TAB_LINK_MAP = {
    HOME: "/home",
    Activity: "/activity",
    wallet: "/wallet",
    Account: "/mian",
  };

  const initTabLinkHandler = () => {
    document.querySelector(".tabbar__container-item").classList.remove("active");
    switch (window.location.pathname) {
      case TAB_LINK_MAP.HOME:
        document.querySelector(".home_tab_btn").classList.add("active");
        break;
      case TAB_LINK_MAP.Activity:
        document.querySelector(".activity_tab_btn").classList.add("active");
        break;
      case TAB_LINK_MAP.wallet:
        document.querySelector(".wallet_tab_btn").classList.add("active");
        break;
      case TAB_LINK_MAP.Account:
        document.querySelector(".account_tab_btn").classList.add("active");
        break;
      default:
        document.querySelector(".tabbar__container-item").classList.remove("active");
        break;
    }
  };

  initTabLinkHandler();
</script>

<style>
  .tabbar__container[data-v-48aa04ea] {
    position: fixed;
    bottom: 0;
    left: 50%;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: end;
    -webkit-align-items: flex-end;
    align-items: flex-end;
    width: 10rem;
    -webkit-transform: translateX(-50%);
    transform: translate(-50%);
    height: 1.73333rem;
    padding-block: 0 0.13333rem;
    font-size: 0.29333rem;
    background: url(/assets/png/tabBarBg-0d05851f.png) no-repeat center center/cover;
    z-index: 100;
  }

  .tabbar__container-item[data-v-48aa04ea] {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
    gap: 0.11707rem;
    color: #1717177a;
  }

  .tabbar__container-item .tab_icon[data-v-48aa04ea] {
    width: 0.66667rem;
    height: 0.66667rem;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .tabbar__container-item[data-v-48aa04ea]:nth-of-type(3) {
    position: relative;
  }

  .tabbar__container-item[data-v-48aa04ea]:nth-of-type(3) svg {
    position: relative;
    top: -0.4rem;
    width: 0.7504rem;
    height: 0.65rem;
    z-index: 3;
  }

  .tabbar__container-item:nth-of-type(3) .tab_icon[data-v-48aa04ea] {
    position: absolute;
    bottom: 60%;
    left: 50%;
    width: 0.69333rem;
    -webkit-transform: translate(-50%, -92%);
    transform: translate(-50%, -92%);
    height: 0.69333rem;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 33;
  }

  .tabbar__container-item:nth-of-type(3) .promotionBg[data-v-48aa04ea] {
    position: absolute;
    left: 50%;
    bottom: 0.53333rem;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%);
    background: #fff;
    width: 1.46667rem;
    height: 1.46667rem;
    border-radius: 50%;
    box-shadow: 0 -0.08rem 0.16rem #d0d0ed80;
    z-index: 2;
  }

  .tabbar__container-item:nth-of-type(3) .promotionBg[data-v-48aa04ea]:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1.36rem;
    height: 1.36rem;
    border-radius: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background: -webkit-linear-gradient(top, #f2d5b2 0%, #22275b 100%);
    background: linear-gradient(180deg, #f2d5b2 0%, #22275b 100%);
  }

  .tabbar__container-item svg[data-v-48aa04ea] {
    display: block;
    width: 0.5776rem;
    height: 0.59387rem;
  }

  .tabbar__container-item.active[data-v-48aa04ea] {
    color: #171717;
  }

  .tabbar__container-item[data-v-48aa04ea] .tab_icon {
    filter: grayscale(1) saturate(50);
  }

  .tabbar__container-item.active[data-v-48aa04ea] .tab_icon {
    filter: grayscale(0);
  }

  @media screen and (max-width: 500px) {
    .tabbar__container[data-v-48aa04ea] {
      width: 100%;
      left: 0;
      -webkit-transform: translateX(0);
      transform: translate(0);
    }

    html:lang(ar) .tabbar__container[data-v-48aa04ea] {
      left: unset;
      right: 0;
    }
  }
</style>