PageSourceSearch

https://giaothongso.com.vn/wp-content/cache/min/1/wp-content/plugi…/gts-login-api.js?ver=1789524562

js giaothongso.com.vn collected 2026-09-24 10:59:01 UTC 79,669 bytes, 58 lines download raw bytes

1var checkShow=!1;function balance_show_hide(){let isbalance=localStorage.getItem('balance');let x=document.getElementById("balance");let show_eye=document.getElementById("show_eye_bl");let hide_eye=document.getElementById("hide_eye_bl");hide_eye.classList.remove("d-none");let texts=x.textContent;let drop=document.getElementById("logout");let dropdown=document.getElementById("dropdown-content");let box_balance=document.getElementById("box_balance");let box_sms=document.getElementById("box_sms");let box_payment=document.getElementById("box_payment");let box_info=document.getElementById("box_info");drop.style.display='block';dropdown.style.display='block';box_sms.style.display='inline-flex';box_balance.style.display='block';box_info.style.display='inline-flex';if(texts.includes("*")){if(isbalance){x.textContent=isbalance+" VNĐ"}else{x.textContent="0 VNĐ"}
2show_eye.style.display="none";hide_eye.style.display="block"}else{show_eye.style.display="block";hide_eye.style.display="none";x.textContent="**** VNĐ"}
3checkShow=!0}
4function balance_hide(){let isbalance=localStorage.getItem('balance');let x=document.getElementById("balance");let show_eye=document.getElementById("show_eye_bl");let hide_eye=document.getElementById("hide_eye_bl");hide_eye.classList.remove("d-none");show_eye.style.display="block";hide_eye.style.display="none";x.textContent="**** VNĐ"}
5function balance_show(){let isbalance=localStorage.getItem('balance');let x=document.getElementById("balance");let show_eye=document.getElementById("show_eye_bl");let hide_eye=document.getElementById("hide_eye_bl");if(isbalance){x.textContent=(isbalance?isbalance:"0")+" VNĐ"}else{x.textContent="0 VNĐ"}
6show_eye.style.display="none";hide_eye.style.display="block"}
7var trigger=document.querySelector(".header-button-2");var closeButton=document.querySelector(".close-button");function validateString(input){var pattern=/^[0-9]{2}[a-zA-z][0-9]{5}([0-9]{1}|[TXV]{1})$/;return pattern.test(input)}
8function validateVietnamesePhoneNumber(phoneNumber){const pattern=/^(0[1-9][0-9]{8,9}|84[1-9][0-9]{8,9})$/;return pattern.test(phoneNumber)}
9function logoutI(){var modal_loading=document.getElementById("modal-loading");modal_loading.classList.add("show-modal");localStorage.removeItem("codeUser");localStorage.removeItem("authT");localStorage.removeItem("preferred_username");localStorage.removeItem("typelogin");localStorage.removeItem("cusId");localStorage.removeItem("contractId");localStorage.removeItem("plateNumber");localStorage.removeItem("isSMS");localStorage.removeItem("isPayment");localStorage.removeItem("balance");window.location.href="/"}
10function format1(n,currency){return currency+n.toFixed(0).replace(/./g,function(c,i,a){return i>0&&c!=="."&&(a.length-i)%3===0?","+c:c})}(function($){$(document).ready(function(){$('input[name="pointPassCard"]').change(function(){if($('#pointPassCard2').prop('checked')){$('#nameContainer').addClass('hidden');$('#businessNameContainer').removeClass('hidden')}else{$('#nameContainer').removeClass('hidden');$('#businessNameContainer').addClass('hidden')}});var userAgent=navigator.userAgent;if(userAgent.includes("SFive")){$(".flex-col.hide-for-medium.flex-center").css({"position":"absolute","right":"15px","top":"-18px"});$(".hide-for-medium.flex-left.flex-grow").css({"position":"absolute","right":"220px"})}
11$('.example-select').select2();var name_userc=localStorage.getItem('codeUser');var isSMS=localStorage.getItem('isSMS');var isbalance=localStorage.getItem('balance');var isPayment=localStorage.getItem('isPayment');var checkHed=!1;$('li.nav-icon').click(function(){console.log("aaa");let isSMS=localStorage.getItem('isSMS');let isbalance=localStorage.getItem('balance');let isPayment=localStorage.getItem('isPayment');if(name_userc){let header_2=document.getElementsByClassName("header-button-2");if(header_2.length>0&&!checkHed){header_2[0].innerHTML='<div class="dropdown has-dropdown">'+'<span>Xin chào, '+name_userc+'</span><i class="icon-angle-down"></i>'+'<div class="dropdown-content" id="dropdown-content">'+'<a href="#" id="box_balance" class="box-mg"><div>Số dư tài khoản</div><div class="box-hover" style="position: relative;"><svg xmlns="http://www.w3.org/2000/svg" style="margin-bottom:-7px;" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M18.6103 5.25844C17.4787 3.31875 15.93 2.25 14.25 2.25H9.75C8.07 2.25 6.52125 3.31875 5.38969 5.25844C4.33219 7.07062 3.75 9.46875 3.75 12C3.75 14.5312 4.33219 16.9294 5.38969 18.7416C6.52125 20.6812 8.07 21.75 9.75 21.75H14.25C15.93 21.75 17.4787 20.6812 18.6103 18.7416C19.6678 16.9294 20.25 14.5312 20.25 12C20.25 9.46875 19.6678 7.07062 18.6103 5.25844ZM18.7303 11.25H15.7303C15.6717 9.71096 15.3653 8.19145 14.8228 6.75H17.6906C18.2644 8.00437 18.6431 9.5625 18.7303 11.25ZM16.7991 5.25H14.1056C13.7924 4.70655 13.4146 4.2029 12.9806 3.75H14.25C15.1875 3.75 16.0688 4.3125 16.7991 5.25ZM14.25 20.25H12.9834C13.4174 19.7971 13.7952 19.2935 14.1084 18.75H16.8019C16.0688 19.6875 15.1875 20.25 14.25 20.25ZM17.6906 17.25H14.8237C15.3662 15.8085 15.6727 14.289 15.7313 12.75H18.7313C18.6431 14.4375 18.2644 15.9956 17.6906 17.25Z" fill="#FB6D3D"/><path d="M9.46023 16.6023V7.875H10.0193V16.6023H9.46023ZM11.2091 10.5818C11.1727 10.2591 11.0227 10.0091 10.7591 9.83182C10.4955 9.65227 10.1636 9.5625 9.76364 9.5625C9.47727 9.5625 9.22955 9.60796 9.02045 9.69886C8.81136 9.7875 8.64886 9.91023 8.53295 10.067C8.41932 10.2216 8.3625 10.3977 8.3625 10.5955C8.3625 10.7614 8.40114 10.9045 8.47841 11.025C8.55795 11.1455 8.66136 11.2466 8.78864 11.3284C8.91818 11.408 9.05682 11.475 9.20455 11.5295C9.35227 11.5818 9.49432 11.625 9.63068 11.6591L10.3125 11.8364C10.5352 11.8909 10.7636 11.9648 10.9977 12.058C11.2318 12.1511 11.4489 12.2739 11.6489 12.4261C11.8489 12.5784 12.0102 12.767 12.133 12.992C12.258 13.217 12.3205 13.4864 12.3205 13.8C12.3205 14.1955 12.2182 14.5466 12.0136 14.8534C11.8114 15.1602 11.517 15.4023 11.1307 15.5795C10.7466 15.7568 10.2818 15.8455 9.73636 15.8455C9.21364 15.845
115 8.76136 15.7625 8.37955 15.5966C7.99773 15.4307 7.69886 15.1955 7.48295 14.8909C7.26705 14.5841 7.14773 14.2205 7.125 13.8H8.18182C8.20227 14.0523 8.28409 14.2625 8.42727 14.4307C8.57273 14.5966 8.75795 14.7205 8.98295 14.8023C9.21023 14.8818 9.45909 14.9216 9.72955 14.9216C10.0273 14.9216 10.292 14.875 10.5239 14.7818C10.758 14.6864 10.942 14.5545 11.0761 14.3864C11.2102 14.2159 11.2773 14.017 11.2773 13.7898C11.2773 13.583 11.2182 13.4136 11.1 13.2818C10.9841 13.15 10.8261 13.0409 10.6261 12.9545C10.4284 12.8682 10.2045 12.792 9.95455 12.7261L9.12955 12.5011C8.57045 12.3489 8.12727 12.125 7.8 11.8295C7.475 11.5341 7.3125 11.1432 7.3125 10.6568C7.3125 10.2545 7.42159 9.90341 7.63977 9.60341C7.85795 9.30341 8.15341 9.07045 8.52614 8.90455C8.89886 8.73636 9.31932 8.65227 9.7875 8.65227C10.2602 8.65227 10.6773 8.73523 11.0386 8.90114C11.4023 9.06705 11.6886 9.29546 11.8977 9.58636C12.1068 9.875 12.2159 10.2068 12.225 10.5818H11.2091Z" fill="white"/></svg><span id="balance" class="cnt-drop"></span><span class="" onclick="balance_show_hide();" style="position: absolute; top:30%;right:20px"><i class="fas fa-eye" id="show_eye_bl" style="font-size: 20px;"></i><i class="fas fa-eye-slash d-none" id="hide_eye_bl" style="font-size: 20px;"></i></span></div></a><div class="line-bottom"></div>'+'<a href="#" id="box_sms" class="box-hover box-mg"><div><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" style="margin-bottom:-7px;" viewBox="0 0 24 24" fill="none"><path d="M21.75 19.5C21.75 19.6989 21.671 19.8897 21.5303 20.0303C21.3897 20.171 21.1989 20.25 21 20.25H3C2.80109 20.25 2.61032 20.171 2.46967 20.0303C2.32902 19.8897 2.25 19.6989 2.25 19.5V4.5C2.25 4.30109 2.32902 4.11032 2.46967 3.96967C2.61032 3.82902 2.80109 3.75 3 3.75C3.19891 3.75 3.38968 3.82902 3.53033 3.96967C3.67098 4.11032 3.75 4.30109 3.75 4.5V14.6897L8.46937 9.96937C8.53903 9.89964 8.62175 9.84432 8.71279 9.80658C8.80384 9.76884 8.90144 9.74941 9 9.74941C9.09856 9.74941 9.19616 9.76884 9.28721 9.80658C9.37825 9.84432 9.46097 9.89964 9.53063 9.96937L12 12.4397L16.9397 7.5H15C14.8011 7.5 14.6103 7.42098 14.4697 7.28033C14.329 7.13968 14.25 6.94891 14.25 6.75C14.25 6.55109 14.329 6.36032 14.4697 6.21967C14.6103 6.07902 14.8011 6 15 6H18.75C18.9489 6 19.1397 6.07902 19.2803 6.21967C19.421 6.36032 19.5 6.55109 19.5 6.75V10.5C19.5 10.6989 19.421 10.8897 19.2803 11.0303C19.1397 11.171 18.9489 11.25 18.75 11.25C18.5511 11.25 18.3603 11.171 18.2197 11.0303C18.079 10.8897 18 10.6989 18 10.5V8.56031L12.5306 14.0306C12.461 14.1004 12.3783 14.1557 12.2872 14.1934C12.1962 14.2312 12.0986 14.2506 12 14.2506C11.9014 14.2506 11.8038 14.2312 11.7128 14.1934C11.6217 14.1557 11.539 14.1004 11.4694 14.0306L9 11.5603L3.75 16.8103V18.75H21C21.1989 18.75 21.3897 18.829 21.5303 18.9697C21.671 19.1103 21.75 19.3011 21.75 19.5Z" fill="#F36F56"/></svg> Biến động số dư</div> <span id="isSMS" class="cnt-drop text-right"></span></a><div class="line-bottom"></div>'+'<a href="#" id="box_payment" class="box-hover box-mg"><div id="text-lk"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" style="margin-bottom:-7px;" viewBox="0 0 24 24" fill="none"><path d="M15.7499 5.25001C15.7499 5.0511 15.8289 4.86033 15.9696 4.71968C16.1102 4.57903 16.301 4.50001 16.4999 4.50001H17.9999V3.00001C17.9999 2.8011 18.0789 2.61033 18.2196 2.46968C18.3602 2.32903 18.551 2.25001 18.7499 2.25001C18.9488 2.25001 19.1396 2.32903 19.2802 2.46968C19.4209 2.61033 19.4999 2.8011 19.4999 3.00001V4.50001H20.9999C21.1988 4.50001 21.3896 4.57903 21.5302 4.71968C21.6709 4.86033 21.7499 5.0511 21.7499 5.25001C21.7499 5.44892 21.6709 5.63969 21.5302 5.78034C21.3896 5.92099 21.1988 6.00001 20.9999 6.00001H19.4999V7.50001C19.4999 7.69892 19.4209 7.88969 19.2802 8.03034C19.1396 8.17099 18.9488 8.25001 18.7499 8.25001C18.551 8.25001 18.3602 8.17099 18.2196 8.03034C18.0789 7.88969 17.9999 7.69892 17.9999 7.50001V6.00001H16.4999C16.301 6.00001 16.1102 5.92099 15.9696 5.78034C15.8289 5.63969 15.7499 5.44892 15.7499 5.25001ZM21.6149 10.3763C21.9575 12.413 21.644 14.506 20.7196 16.353C19.7952 18.2 18.3077 19.7054 16.472 20.6518C14.6362 21.5983 12.5471 21.9369 10.5064 21.6187C8.46568 21.3005 6.57887 20.342 5.11842 18.8815C3.65796 17.421 2.69943 15.5342 2.38122 13.4935C2.06302 11.4528 2.40159 9.36371 3.34808 7.52795C4.29456 5.69218 5.79996 4.20471 7.64693 3.2803C9.49391 2.35589 11.5869 2.04237 13.6237 2.38501C13.8183 2.41944 13.9916 2.52935 14.1056 2.69083C14.2197 2.85232 14.2654 3.05231 14.2328 3.24731C14.2001 3.4423 14.0918 3.61653 13.9314 3.73209C13.771 3.84766 13.5714 3.8952 13.3762 3.86439C12.1932 3.66538 10.981 3.72655 9.82404 4.04364C8.66708 4.36073 7.59312 4.92613 6.67689 5.70048C5.76066 6.47483 5.02418 7.43954 4.51869 8.52746C4.0132 9.61538 3.75085 10.8004 3.7499 12C3.74813 14.0196 4.49039 15.969 5.8349 17.4759C6.67137 16.2638 7.84754 15.3261 9.21553 14.7806C8.4807 14.2019 7.94449 13.4085 7.68147 12.5109C7.41845 11.6132 7.44169 10.6559 7.74795 9.77209C8.05422 8.88826 8.62829 8.12184 9.39034 7.57941C10.1524 7.03697 11.0645 6.74549 11.9999 6.74549C12.9353 6.74549 13.8474 7.03697 14.6095 7.57941C15.3715 8.12184 15.9456 8.88826 16.2519 9.77209C16.5581 10.6559 16.5814 11.6132 16.3183 12.5109C16.0553 13.4085 15.5191 14.2019 14.7843 14.7806C16.1523 15.3261 17.3284 16.2638 18.1649 17.4759C19.5094 15.969 20.2517 14.0196 20.2499 12C20.2499 11.5389 20.2117 11.0786 20.1355 10.6238C20.1183 10.5262 20.1205 10.4262 20.1421 10.3295C20.1638 10.2328 20.2043 10.1414 20.2615 10.0604C20.3186 9.97951 20.3913 9.910
1172 20.4752 9.85802C20.5591 9.80533 20.6526 9.76978 20.7503 9.75343C20.848 9.73709 20.948 9.74026 21.0445 9.76278C21.141 9.78529 21.2321 9.8267 21.3124 9.88461C21.3928 9.94252 21.461 10.0158 21.5129 10.1002C21.5648 10.1846 21.5995 10.2784 21.6149 10.3763ZM11.9999 14.25C12.5932 14.25 13.1733 14.0741 13.6666 13.7444C14.16 13.4148 14.5445 12.9462 14.7715 12.3981C14.9986 11.8499 15.058 11.2467 14.9423 10.6647C14.8265 10.0828 14.5408 9.54825 14.1212 9.12869C13.7017 8.70913 13.1671 8.42341 12.5852 8.30765C12.0032 8.1919 11.4 8.25131 10.8519 8.47837C10.3037 8.70543 9.83514 9.08995 9.50549 9.5833C9.17585 10.0766 8.9999 10.6567 8.9999 11.25C8.9999 12.0457 9.31597 12.8087 9.87858 13.3713C10.4412 13.9339 11.2043 14.25 11.9999 14.25ZM11.9999 20.25C13.8312 20.2519 15.6105 19.6414 17.0549 18.5156C16.5123 17.6671 15.7649 16.9688 14.8815 16.4851C13.9981 16.0014 13.0071 15.7478 11.9999 15.7478C10.9927 15.7478 10.0018 16.0014 9.11833 16.4851C8.23491 16.9688 7.48747 17.6671 6.9449 18.5156C8.38931 19.6414 10.1686 20.2519 11.9999 20.25Z" fill="#F36F56"/></svg> Liên kết tài khoản</div> <span id="isVietel" class="cnt-drop text-right"></span></a><div id="line_box_payment" class="line-bottom"></div>'+'<a href="/epass-thong-tin-ca-nhan" id="box_info" class="box-hover box-mg"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" style="margin-bottom:-7px;" viewBox="0 0 20 20" fill="none"><path d="M10 0.25C8.07164 0.25 6.18657 0.821828 4.58319 1.89317C2.97982 2.96451 1.73013 4.48726 0.992179 6.26884C0.254225 8.05042 0.061142 10.0108 0.437348 11.9021C0.813554 13.7934 1.74215 15.5307 3.10571 16.8943C4.46928 18.2579 6.20656 19.1865 8.09787 19.5627C9.98919 19.9389 11.9496 19.7458 13.7312 19.0078C15.5127 18.2699 17.0355 17.0202 18.1068 15.4168C19.1782 13.8134 19.75 11.9284 19.75 10C19.7473 7.41498 18.7192 4.93661 16.8913 3.10872C15.0634 1.28084 12.585 0.25273 10 0.25ZM4.945 16.5156C5.48757 15.6671 6.23501 14.9688 7.11843 14.4851C8.00185 14.0013 8.99283 13.7478 10 13.7478C11.0072 13.7478 11.9982 14.0013 12.8816 14.4851C13.765 14.9688 14.5124 15.6671 15.055 16.5156C13.6097 17.6397 11.831 18.2499 10 18.2499C8.16905 18.2499 6.39032 17.6397 4.945 16.5156ZM7 9.25C7 8.65666 7.17595 8.07664 7.5056 7.58329C7.83524 7.08994 8.30378 6.70542 8.85195 6.47836C9.40013 6.2513 10.0033 6.19189 10.5853 6.30764C11.1672 6.4234 11.7018 6.70912 12.1213 7.12868C12.5409 7.54824 12.8266 8.08279 12.9424 8.66473C13.0581 9.24667 12.9987 9.84987 12.7716 10.3981C12.5446 10.9462 12.1601 11.4148 11.6667 11.7444C11.1734 12.0741 10.5933 12.25 10 12.25C9.20436 12.25 8.44129 11.9339 7.87868 11.3713C7.31607 10.8087 7 10.0456 7 9.25ZM16.165 15.4759C15.3285 14.2638 14.1524 13.3261 12.7844 12.7806C13.5192 12.2019 14.0554 11.4085 14.3184 10.5108C14.5815 9.6132 14.5582 8.6559 14.252 7.77207C13.9457 6.88825 13.3716 6.12183 12.6096 5.5794C11.8475 5.03696 10.9354 4.74548 10 4.74548C9.06462 4.74548 8.15248 5.03696 7.39044 5.5794C6.62839 6.12183 6.05432 6.88825 5.74805 7.77207C5.44179 8.6559 5.41855 9.6132 5.68157 10.5108C5.94459 11.4085 6.4808 12.2019 7.21563 12.7806C5.84765 13.3261 4.67147 14.2638 3.835 15.4759C2.77804 14.2873 2.0872 12.8185 1.84567 11.2464C1.60415 9.67427 1.82224 8.06584 2.47368 6.61478C3.12512 5.16372 4.18213 3.93192 5.51745 3.06769C6.85276 2.20346 8.40943 1.74367 10 1.74367C11.5906 1.74367 13.1473 2.20346 14.4826 3.06769C15.8179 3.93192 16.8749 5.16372 17.5263 6.61478C18.1778 8.06584 18.3959 9.67427 18.1543 11.2464C17.9128 12.8185 17.222 14.2873 16.165 15.4759Z" fill="#F36F56"/></svg> <span style="margin-left: 5px;"> Thông tin Khách hàng</span></a><div class="line-bottom"></div>'+'<a href="#" id="logout" onclick="logoutI()" class="box-hover box-mg"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" style="margin-bottom:-7px;" viewBox="0 0 24 24" fill="none"><path d="M10.5 20.25C10.5 20.4489 10.421 20.6397 10.2803 20.7803C10.1397 20.921 9.94891 21 9.75 21H4.5C4.10218 21 3.72064 20.842 3.43934 20.5607C3.15804 20.2794 3 19.8978 3 19.5V4.5C3 4.10218 3.15804 3.72064 3.43934 3.43934C3.72064 3.15804 4.10218 3 4.5 3H9.75C9.94891 3 10.1397 3.07902 10.2803 3.21967C10.421 3.36032 10.5 3.55109 10.5 3.75C10.5 3.94891 10.421 4.13968 10.2803 4.28033C10.1397 4.42098 9.94891 4.5 9.75 4.5H4.5V19.5H9.75C9.94891 19.5 10.1397 19.579 10.2803 19.7197C10.421 19.8603 10.5 20.0511 10.5 20.25ZM20.7806 11.4694L17.0306 7.71937C16.8899 7.57864 16.699 7.49958 16.5 7.49958C16.301 7.49958 16.1101 7.57864 15.9694 7.71937C15.8286 7.86011 15.7496 8.05098 15.7496 8.25C15.7496 8.44902 15.8286 8.63989 15.9694 8.78063L18.4397 11.25H9.75C9.55109 11.25 9.36032 11.329 9.21967 11.4697C9.07902 11.6103 9 11.8011 9 12C9 12.1989 9.07902 12.3897 9.21967 12.5303C9.36032 12.671 9.55109 12.75 9.75 12.75H18.4397L15.9694 15.2194C15.8286 15.3601 15.7496 15.551 15.7496 15.75C15.7496 15.949 15.8286 16.1399 15.9694 16.2806C16.1101 16.4214 16.301 16.5004 16.5 16.5004C16.
11699 16.5004 16.8899 16.4214 17.0306 16.2806L20.7806 12.5306C20.8504 12.461 20.9057 12.3783 20.9434 12.2872C20.9812 12.1962 21.0006 12.0986 21.0006 12C21.0006 11.9014 20.9812 11.8038 20.9434 11.7128C20.9057 11.6217 20.8504 11.539 20.7806 11.4694Z" fill="#F36F56"/></svg> Thoát</a>'+'</div>'+'</div>';checkHed=!0;balance_show()}
12let drop=document.getElementById("logout");let dropdown=document.getElementById("dropdown-content");let box_balance=document.getElementById("box_balance");let box_sms=document.getElementById("box_sms");let box_payment=document.getElementById("box_payment");let box_info=document.getElementById("box_info");if(isSMS){let textSMS=document.getElementById("isSMS");textSMS.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" style="margin-bottom: -7px;" viewBox="0 0 18 18" fill="none"><path d="M13.2806 6.21937C13.3504 6.28903 13.4057 6.37175 13.4434 6.46279C13.4812 6.55384 13.5006 6.65144 13.5006 6.75C13.5006 6.84856 13.4812 6.94616 13.4434 7.03721C13.4057 7.12825 13.3504 7.21097 13.2806 7.28063L8.03063 12.5306C7.96097 12.6004 7.87825 12.6557 7.78721 12.6934C7.69616 12.7312 7.59856 12.7506 7.5 12.7506C7.40144 12.7506 7.30384 12.7312 7.21279 12.6934C7.12175 12.6557 7.03903 12.6004 6.96937 12.5306L4.71937 10.2806C4.57864 10.1399 4.49958 9.94902 4.49958 9.75C4.49958 9.55098 4.57864 9.36011 4.71937 9.21937C4.86011 9.07864 5.05098 8.99958 5.25 8.99958C5.44902 8.99958 5.63989 9.07864 5.78063 9.21937L7.5 10.9397L12.2194 6.21937C12.289 6.14964 12.3717 6.09432 12.4628 6.05658C12.5538 6.01884 12.6514 5.99941 12.75 5.99941C12.8486 5.99941 12.9462 6.01884 13.0372 6.05658C13.1283 6.09432 13.211 6.14964 13.2806 6.21937ZM18 1.5V16.5C18 16.8978 17.842 17.2794 17.5607 17.5607C17.2794 17.842 16.8978 18 16.5 18H1.5C1.10218 18 0.720644 17.842 0.43934 17.5607C0.158035 17.2794 0 16.8978 0 16.5V1.5C0 1.10218 0.158035 0.720644 0.43934 0.43934C0.720644 0.158035 1.10218 0 1.5 0H16.5C16.8978 0 17.2794 0.158035 17.5607 0.43934C17.842 0.720644 18 1.10218 18 1.5ZM16.5 16.5V1.5H1.5V16.5H16.5Z" fill="#F36F56"/></svg>'+' <span style="margin-left: 5px;">SMS</span>'}else{let textSMS=document.getElementById("isSMS");textSMS.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" style="margin-bottom: -7px;" viewBox="0 0 24 24" fill="none"><path d="M21 4.5V19.5C21 19.8978 20.842 20.2794 20.5607 20.5607C20.2794 20.842 19.8978 21 19.5 21H4.5C4.10218 21 3.72064 20.842 3.43934 20.5607C3.15804 20.2794 3 19.8978 3 19.5V4.5C3 4.10218 3.15804 3.72064 3.43934 3.43934C3.72064 3.15804 4.10218 3 4.5 3H19.5C19.8978 3 20.2794 3.15804 20.5607 3.43934C20.842 3.72064 21 4.10218 21 4.5ZM19.5 19.5V4.5H4.5V19.5H19.5Z" fill="#F36F56"/></svg>'+' <span style="margin-left: 5px;">SMS</span>'}
13if(isPayment){let textPayment=document.getElementById("isVietel");textPayment.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" style="margin-bottom: -7px;" viewBox="0 0 18 18" fill="none"><path d="M13.2806 6.21937C13.3504 6.28903 13.4057 6.37175 13.4434 6.46279C13.4812 6.55384 13.5006 6.65144 13.5006 6.75C13.5006 6.84856 13.4812 6.94616 13.4434 7.03721C13.4057 7.12825 13.3504 7.21097 13.2806 7.28063L8.03063 12.5306C7.96097 12.6004 7.87825 12.6557 7.78721 12.6934C7.69616 12.7312 7.59856 12.7506 7.5 12.7506C7.40144 12.7506 7.30384 12.7312 7.21279 12.6934C7.12175 12.6557 7.03903 12.6004 6.96937 12.5306L4.71937 10.2806C4.57864 10.1399 4.49958 9.94902 4.49958 9.75C4.49958 9.55098 4.57864 9.36011 4.71937 9.21937C4.86011 9.07864 5.05098 8.99958 5.25 8.99958C5.44902 8.99958 5.63989 9.07864 5.78063 9.21937L7.5 10.9397L12.2194 6.21937C12.289 6.14964 12.3717 6.09432 12.4628 6.05658C12.5538 6.01884 12.6514 5.99941 12.75 5.99941C12.8486 5.99941 12.9462 6.01884 13.0372 6.05658C13.1283 6.09432 13.211 6.14964 13.2806 6.21937ZM18 1.5V16.5C18 16.8978 17.842 17.2794 17.5607 17.5607C17.2794 17.842 16.8978 18 16.5 18H1.5C1.10218 18 0.720644 17.842 0.43934 17.5607C0.158035 17.2794 0 16.8978 0 16.5V1.5C0 1.10218 0.158035 0.720644 0.43934 0.43934C0.720644 0.158035 1.10218 0 1.5 0H16.5C16.8978 0 17.2794 0.158035 17.5607 0.43934C17.842 0.720644 18 1.10218 18 1.5ZM16.5 16.5V1.5H1.5V16.5H16.5Z" fill="#F36F56"/></svg>'+' <span style="margin-left: 5px;">Viettel Money</span>'}else{let textPayment=document.getElementById("isVietel");textPayment.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" style="margin-bottom: -7px;" viewBox="0 0 24 24" fill="none"><path d="M21 4.5V19.5C21 19.8978 20.842 20.2794 20.5607 20.5607C20.2794 20.842 19.8978 21 19.5 21H4.5C4.10218 21 3.72064 20.842 3.43934 20.5607C3.15804 20.2794 3 19.8978 3 19.5V4.5C3 4.10218 3.15804 3.72064 3.43934 3.43934C3.72064 3.15804 4.10218 3 4.5 3H19.5C19.8978 3 20.2794 3.15804 20.5607 3.43934C20.842 3.72064 21 4.10218 21 4.5ZM19.5 19.5V4.5H4.5V19.5H19.5Z" fill="#F36F56"/></svg>'+' <span style="margin-left: 5px;">Viettel Money</span>'}
14if(drop.style.display==='block'&&!checkShow){drop.style.display='none';dropdown.style.display='none';box_balance.style.display='none';box_sms.style.display='none';box_info.style.display='none';box_payment.style.display='none'}else{drop.style.display='block';dropdown.style.display='block';box_info.style.display='inline-flex';box_sms.style.display='inline-flex';box_balance.style.display='block';box_payment.style.display='inline-flex'}
15checkShow=!1}})
16$('.header-button-2').click(function(){window.location.href="https://customer.epass-vdtc.com.vn/#/login";let isSMS=localStorage.getItem('isSMS');let isbalance=localStorage.getItem('balance');let isPayment=localStorage.getItem('isPayment');if(name_userc){let header_2=document.getElementsByClassName("header-button-2");if(header_2.length>0&&!checkHed){header_2[0].innerHTML='<div class="dropdown has-dropdown">'+'<span>Xin chào, '+name_userc+'</span><i class="icon-angle-down"></i>'+'<div class="dropdown-content" id="dropdown-content">'+'<a href="#" id="box_balance" class="box-mg"><div>Số dư tài khoản</div><div class="box-hover" style="position: relative;"><svg xmlns="http://www.w3.org/2000/svg" style="margin-bottom:-7px;" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M18.6103 5.25844C17.4787 3.31875 15.93 2.25 14.25 2.25H9.75C8.07 2.25 6.52125 3.31875 5.38969 5.25844C4.33219 7.07062 3.75 9.46875 3.75 12C3.75 14.5312 4.33219 16.9294 5.38969 18.7416C6.52125 20.6812 8.07 21.75 9.75 21.75H14.25C15.93 21.75 17.4787 20.6812 18.6103 18.7416C19.6678 16.9294 20.25 14.5312 20.25 12C20.25 9.46875 19.6678 7.07062 18.6103 5.25844ZM18.7303 11.25H15.7303C15.6717 9.71096 15.3653 8.19145 14.8228 6.75H17.6906C18.2644 8.00437 18.6431 9.5625 18.7303 11.25ZM16.7991 5.25H14.1056C13.7924 4.70655 13.4146 4.2029 12.9806 3.75H14.25C15.1875 3.75 16.0688 4.3125 16.7991 5.25ZM14.25 20.25H12.9834C13.4174 19.7971 13.7952 19.2935 14.1084 18.75H16.8019C16.0688 19.6875 15.1875 20.25 14.25 20.25ZM17.6906 17.25H14.8237C15.3662 15.8085 15.6727 14.289 15.7313 12.75H18.7313C18.6431 14.4375 18.2644 15.9956 17.6906 17.25Z" fill="#FB6D3D"/><path d="M9.46023 16.6023V7.875H10.0193V16.6023H9.46023ZM11.2091 10.5818C11.1727 10.2591 11.0227 10.0091 10.7591 9.83182C10.4955 9.65227 10.1636 9.5625 9.76364 9.5625C9.47727 9.5625 9.22955 9.60796 9.02045 9.69886C8.81136 9.7875 8.64886 9.91023 8.53295 10.067C8.41932 10.2216 8.3625 10.3977 8.3625 10.5955C8.3625 10.7614 8.40114 10.9045 8.47841 11.025C8.55795 11.1455 8.66136 11.2466 8.78864 11.3284C8.91818 11.408 9.05682 11.475 9.20455 11.5295C9.35227 11.5818 9.49432 11.625 9.63068 11.6591L10.3125 11.8364C10.5352 11.8909 10.7636 11.9648 10.9977 12.058C11.2318 12.1511 11.4489 12.2739 11.6489 12.4261C11.8489 12.5784 12.0102 12.767 12.133 12.992C12.258 13.217 12.3205 13.4864 12.3205 13.8C12.3205 14.1955 12.2182 14.5466 12.0136 14.8534C11.8114 15.1602 11.517 15.4023 11.1307 15.5795C10.7466 15.7568 10.2818 15.8455 9.73636 15.8455C9.21364 15.845
165 8.76136 15.7625 8.37955 15.5966C7.99773 15.4307 7.69886 15.1955 7.48295 14.8909C7.26705 14.5841 7.14773 14.2205 7.125 13.8H8.18182C8.20227 14.0523 8.28409 14.2625 8.42727 14.4307C8.57273 14.5966 8.75795 14.7205 8.98295 14.8023C9.21023 14.8818 9.45909 14.9216 9.72955 14.9216C10.0273 14.9216 10.292 14.875 10.5239 14.7818C10.758 14.6864 10.942 14.5545 11.0761 14.3864C11.2102 14.2159 11.2773 14.017 11.2773 13.7898C11.2773 13.583 11.2182 13.4136 11.1 13.2818C10.9841 13.15 10.8261 13.0409 10.6261 12.9545C10.4284 12.8682 10.2045 12.792 9.95455 12.7261L9.12955 12.5011C8.57045 12.3489 8.12727 12.125 7.8 11.8295C7.475 11.5341 7.3125 11.1432 7.3125 10.6568C7.3125 10.2545 7.42159 9.90341 7.63977 9.60341C7.85795 9.30341 8.15341 9.07045 8.52614 8.90455C8.89886 8.73636 9.31932 8.65227 9.7875 8.65227C10.2602 8.65227 10.6773 8.73523 11.0386 8.90114C11.4023 9.06705 11.6886 9.29546 11.8977 9.58636C12.1068 9.875 12.2159 10.2068 12.225 10.5818H11.2091Z" fill="white"/></svg><span id="balance" class="cnt-drop"></span><span class="" onclick="balance_show_hide();" style="position: absolute; top:30%;right:20px"><i class="fas fa-eye" id="show_eye_bl" style="font-size: 20px;"></i><i class="fas fa-eye-slash d-none" id="hide_eye_bl" style="font-size: 20px;"></i></span></div></a><div class="line-bottom"></div>'+'<a href="#" id="box_sms" class="box-hover box-mg"><div><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" style="margin-bottom:-7px;" viewBox="0 0 24 24" fill="none"><path d="M21.75 19.5C21.75 19.6989 21.671 19.8897 21.5303 20.0303C21.3897 20.171 21.1989 20.25 21 20.25H3C2.80109 20.25 2.61032 20.171 2.46967 20.0303C2.32902 19.8897 2.25 19.6989 2.25 19.5V4.5C2.25 4.30109 2.32902 4.11032 2.46967 3.96967C2.61032 3.82902 2.80109 3.75 3 3.75C3.19891 3.75 3.38968 3.82902 3.53033 3.96967C3.67098 4.11032 3.75 4.30109 3.75 4.5V14.6897L8.46937 9.96937C8.53903 9.89964 8.62175 9.84432 8.71279 9.80658C8.80384 9.76884 8.90144 9.74941 9 9.74941C9.09856 9.74941 9.19616 9.76884 9.28721 9.80658C9.37825 9.84432 9.46097 9.89964 9.53063 9.96937L12 12.4397L16.9397 7.5H15C14.8011 7.5 14.6103 7.42098 14.4697 7.28033C14.329 7.13968 14.25 6.94891 14.25 6.75C14.25 6.55109 14.329 6.36032 14.4697 6.21967C14.6103 6.07902 14.8011 6 15 6H18.75C18.9489 6 19.1397 6.07902 19.2803 6.21967C19.421 6.36032 19.5 6.55109 19.5 6.75V10.5C19.5 10.6989 19.421 10.8897 19.2803 11.0303C19.1397 11.171 18.9489 11.25 18.75 11.25C18.5511 11.25 18.3603 11.171 18.2197 11.0303C18.079 10.8897 18 10.6989 18 10.5V8.56031L12.5306 14.0306C12.461 14.1004 12.3783 14.1557 12.2872 14.1934C12.1962 14.2312 12.0986 14.2506 12 14.2506C11.9014 14.2506 11.8038 14.2312 11.7128 14.1934C11.6217 14.1557 11.539 14.1004 11.4694 14.0306L9 11.5603L3.75 16.8103V18.75H21C21.1989 18.75 21.3897 18.829 21.5303 18.9697C21.671 19.1103 21.75 19.3011 21.75 19.5Z" fill="#F36F56"/></svg> Biến động số dư</div> <span id="isSMS" class="cnt-drop text-right"></span></a><div class="line-bottom"></div>'+'<a href="#" id="box_payment" class="box-hover box-mg"><div id="text-lk"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" style="margin-bottom:-7px;" viewBox="0 0 24 24" fill="none"><path d="M15.7499 5.25001C15.7499 5.0511 15.8289 4.86033 15.9696 4.71968C16.1102 4.57903 16.301 4.50001 16.4999 4.50001H17.9999V3.00001C17.9999 2.8011 18.0789 2.61033 18.2196 2.46968C18.3602 2.32903 18.551 2.25001 18.7499 2.25001C18.9488 2.25001 19.1396 2.32903 19.2802 2.46968C19.4209 2.61033 19.4999 2.8011 19.4999 3.00001V4.50001H20.9999C21.1988 4.50001 21.3896 4.57903 21.5302 4.71968C21.6709 4.86033 21.7499 5.0511 21.7499 5.25001C21.7499 5.44892 21.6709 5.63969 21.5302 5.78034C21.3896 5.92099 21.1988 6.00001 20.9999 6.00001H19.4999V7.50001C19.4999 7.69892 19.4209 7.88969 19.2802 8.03034C19.1396 8.17099 18.9488 8.25001 18.7499 8.25001C18.551 8.25001 18.3602 8.17099 18.2196 8.03034C18.0789 7.88969 17.9999 7.69892 17.9999 7.50001V6.00001H16.4999C16.301 6.00001 16.1102 5.92099 15.9696 5.78034C15.8289 5.63969 15.7499 5.44892 15.7499 5.25001ZM21.6149 10.3763C21.9575 12.413 21.644 14.506 20.7196 16.353C19.7952 18.2 18.3077 19.7054 16.472 20.6518C14.6362 21.5983 12.5471 21.9369 10.5064 21.6187C8.46568 21.3005 6.57887 20.342 5.11842 18.8815C3.65796 17.421 2.69943 15.5342 2.38122 13.4935C2.06302 11.4528 2.40159 9.36371 3.34808 7.52795C4.29456 5.69218 5.79996 4.20471 7.64693 3.2803C9.49391 2.35589 11.5869 2.04237 13.6237 2.38501C13.8183 2.41944 13.9916 2.52935 14.1056 2.69083C14.2197 2.85232 14.2654 3.05231 14.2328 3.24731C14.2001 3.4423 14.0918 3.61653 13.9314 3.73209C13.771 3.84766 13.5714 3.8952 13.3762 3.86439C12.1932 3.66538 10.981 3.72655 9.82404 4.04364C8.66708 4.36073 7.59312 4.92613 6.67689 5.70048C5.76066 6.47483 5.02418 7.43954 4.51869 8.52746C4.0132 9.61538 3.75085 10.8004 3.7499 12C3.74813 14.0196 4.49039 15.969 5.8349 17.4759C6.67137 16.2638 7.84754 15.3261 9.21553 14.7806C8.4807 14.2019 7.94449 13.4085 7.68147 12.5109C7.41845 11.6132 7.44169 10.6559 7.74795 9.77209C8.05422 8.88826 8.62829 8.12184 9.39034 7.57941C10.1524 7.03697 11.0645 6.74549 11.9999 6.74549C12.9353 6.74549 13.8474 7.03697 14.6095 7.57941C15.3715 8.12184 15.9456 8.88826 16.2519 9.77209C16.5581 10.6559 16.5814 11.6132 16.3183 12.5109C16.0553 13.4085 15.5191 14.2019 14.7843 14.7806C16.1523 15.3261 17.3284 16.2638 18.1649 17.4759C19.5094 15.969 20.2517 14.0196 20.2499 12C20.2499 11.5389 20.2117 11.0786 20.1355 10.6238C20.1183 10.5262 20.1205 10.4262 20.1421 10.3295C20.1638 10.2328 20.2043 10.1414 20.2615 10.0604C20.3186 9.97951 20.3913 9.910
1672 20.4752 9.85802C20.5591 9.80533 20.6526 9.76978 20.7503 9.75343C20.848 9.73709 20.948 9.74026 21.0445 9.76278C21.141 9.78529 21.2321 9.8267 21.3124 9.88461C21.3928 9.94252 21.461 10.0158 21.5129 10.1002C21.5648 10.1846 21.5995 10.2784 21.6149 10.3763ZM11.9999 14.25C12.5932 14.25 13.1733 14.0741 13.6666 13.7444C14.16 13.4148 14.5445 12.9462 14.7715 12.3981C14.9986 11.8499 15.058 11.2467 14.9423 10.6647C14.8265 10.0828 14.5408 9.54825 14.1212 9.12869C13.7017 8.70913 13.1671 8.42341 12.5852 8.30765C12.0032 8.1919 11.4 8.25131 10.8519 8.47837C10.3037 8.70543 9.83514 9.08995 9.50549 9.5833C9.17585 10.0766 8.9999 10.6567 8.9999 11.25C8.9999 12.0457 9.31597 12.8087 9.87858 13.3713C10.4412 13.9339 11.2043 14.25 11.9999 14.25ZM11.9999 20.25C13.8312 20.2519 15.6105 19.6414 17.0549 18.5156C16.5123 17.6671 15.7649 16.9688 14.8815 16.4851C13.9981 16.0014 13.0071 15.7478 11.9999 15.7478C10.9927 15.7478 10.0018 16.0014 9.11833 16.4851C8.23491 16.9688 7.48747 17.6671 6.9449 18.5156C8.38931 19.6414 10.1686 20.2519 11.9999 20.25Z" fill="#F36F56"/></svg> Liên kết tài khoản</div> <span id="isVietel" class="cnt-drop text-right"></span></a><div id="line_box_payment" class="line-bottom"></div>'+'<a href="/epass-thong-tin-ca-nhan" id="box_info" class="box-hover box-mg"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" style="margin-bottom:-7px;" viewBox="0 0 20 20" fill="none"><path d="M10 0.25C8.07164 0.25 6.18657 0.821828 4.58319 1.89317C2.97982 2.96451 1.73013 4.48726 0.992179 6.26884C0.254225 8.05042 0.061142 10.0108 0.437348 11.9021C0.813554 13.7934 1.74215 15.5307 3.10571 16.8943C4.46928 18.2579 6.20656 19.1865 8.09787 19.5627C9.98919 19.9389 11.9496 19.7458 13.7312 19.0078C15.5127 18.2699 17.0355 17.0202 18.1068 15.4168C19.1782 13.8134 19.75 11.9284 19.75 10C19.7473 7.41498 18.7192 4.93661 16.8913 3.10872C15.0634 1.28084 12.585 0.25273 10 0.25ZM4.945 16.5156C5.48757 15.6671 6.23501 14.9688 7.11843 14.4851C8.00185 14.0013 8.99283 13.7478 10 13.7478C11.0072 13.7478 11.9982 14.0013 12.8816 14.4851C13.765 14.9688 14.5124 15.6671 15.055 16.5156C13.6097 17.6397 11.831 18.2499 10 18.2499C8.16905 18.2499 6.39032 17.6397 4.945 16.5156ZM7 9.25C7 8.65666 7.17595 8.07664 7.5056 7.58329C7.83524 7.08994 8.30378 6.70542 8.85195 6.47836C9.40013 6.2513 10.0033 6.19189 10.5853 6.30764C11.1672 6.4234 11.7018 6.70912 12.1213 7.12868C12.5409 7.54824 12.8266 8.08279 12.9424 8.66473C13.0581 9.24667 12.9987 9.84987 12.7716 10.3981C12.5446 10.9462 12.1601 11.4148 11.6667 11.7444C11.1734 12.0741 10.5933 12.25 10 12.25C9.20436 12.25 8.44129 11.9339 7.87868 11.3713C7.31607 10.8087 7 10.0456 7 9.25ZM16.165 15.4759C15.3285 14.2638 14.1524 13.3261 12.7844 12.7806C13.5192 12.2019 14.0554 11.4085 14.3184 10.5108C14.5815 9.6132 14.5582 8.6559 14.252 7.77207C13.9457 6.88825 13.3716 6.12183 12.6096 5.5794C11.8475 5.03696 10.9354 4.74548 10 4.74548C9.06462 4.74548 8.15248 5.03696 7.39044 5.5794C6.62839 6.12183 6.05432 6.88825 5.74805 7.77207C5.44179 8.6559 5.41855 9.6132 5.68157 10.5108C5.94459 11.4085 6.4808 12.2019 7.21563 12.7806C5.84765 13.3261 4.67147 14.2638 3.835 15.4759C2.77804 14.2873 2.0872 12.8185 1.84567 11.2464C1.60415 9.67427 1.82224 8.06584 2.47368 6.61478C3.12512 5.16372 4.18213 3.93192 5.51745 3.06769C6.85276 2.20346 8.40943 1.74367 10 1.74367C11.5906 1.74367 13.1473 2.20346 14.4826 3.06769C15.8179 3.93192 16.8749 5.16372 17.5263 6.61478C18.1778 8.06584 18.3959 9.67427 18.1543 11.2464C17.9128 12.8185 17.222 14.2873 16.165 15.4759Z" fill="#F36F56"/></svg> <span style="margin-left: 5px;"> Thông tin Khách hàng</span></a><div class="line-bottom"></div>'+'<a href="#" id="logout" onclick="logoutI()" class="box-hover box-mg"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" style="margin-bottom:-7px;" viewBox="0 0 24 24" fill="none"><path d="M10.5 20.25C10.5 20.4489 10.421 20.6397 10.2803 20.7803C10.1397 20.921 9.94891 21 9.75 21H4.5C4.10218 21 3.72064 20.842 3.43934 20.5607C3.15804 20.2794 3 19.8978 3 19.5V4.5C3 4.10218 3.15804 3.72064 3.43934 3.43934C3.72064 3.15804 4.10218 3 4.5 3H9.75C9.94891 3 10.1397 3.07902 10.2803 3.21967C10.421 3.36032 10.5 3.55109 10.5 3.75C10.5 3.94891 10.421 4.13968 10.2803 4.28033C10.1397 4.42098 9.94891 4.5 9.75 4.5H4.5V19.5H9.75C9.94891 19.5 10.1397 19.579 10.2803 19.7197C10.421 19.8603 10.5 20.0511 10.5 20.25ZM20.7806 11.4694L17.0306 7.71937C16.8899 7.57864 16.699 7.49958 16.5 7.49958C16.301 7.49958 16.1101 7.57864 15.9694 7.71937C15.8286 7.86011 15.7496 8.05098 15.7496 8.25C15.7496 8.44902 15.8286 8.63989 15.9694 8.78063L18.4397 11.25H9.75C9.55109 11.25 9.36032 11.329 9.21967 11.4697C9.07902 11.6103 9 11.8011 9 12C9 12.1989 9.07902 12.3897 9.21967 12.5303C9.36032 12.671 9.55109 12.75 9.75 12.75H18.4397L15.9694 15.2194C15.8286 15.3601 15.7496 15.551 15.7496 15.75C15.7496 15.949 15.8286 16.1399 15.9694 16.2806C16.1101 16.4214 16.301 16.5004 16.5 16.5004C16.
16699 16.5004 16.8899 16.4214 17.0306 16.2806L20.7806 12.5306C20.8504 12.461 20.9057 12.3783 20.9434 12.2872C20.9812 12.1962 21.0006 12.0986 21.0006 12C21.0006 11.9014 20.9812 11.8038 20.9434 11.7128C20.9057 11.6217 20.8504 11.539 20.7806 11.4694Z" fill="#F36F56"/></svg> Thoát</a>'+'</div>'+'</div>';checkHed=!0;balance_show()}
17let drop=document.getElementById("logout");let dropdown=document.getElementById("dropdown-content");let box_balance=document.getElementById("box_balance");let box_sms=document.getElementById("box_sms");let box_payment=document.getElementById("box_payment");let box_info=document.getElementById("box_info");if(isSMS){let textSMS=document.getElementById("isSMS");textSMS.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" style="margin-bottom: -7px;" viewBox="0 0 18 18" fill="none"><path d="M13.2806 6.21937C13.3504 6.28903 13.4057 6.37175 13.4434 6.46279C13.4812 6.55384 13.5006 6.65144 13.5006 6.75C13.5006 6.84856 13.4812 6.94616 13.4434 7.03721C13.4057 7.12825 13.3504 7.21097 13.2806 7.28063L8.03063 12.5306C7.96097 12.6004 7.87825 12.6557 7.78721 12.6934C7.69616 12.7312 7.59856 12.7506 7.5 12.7506C7.40144 12.7506 7.30384 12.7312 7.21279 12.6934C7.12175 12.6557 7.03903 12.6004 6.96937 12.5306L4.71937 10.2806C4.57864 10.1399 4.49958 9.94902 4.49958 9.75C4.49958 9.55098 4.57864 9.36011 4.71937 9.21937C4.86011 9.07864 5.05098 8.99958 5.25 8.99958C5.44902 8.99958 5.63989 9.07864 5.78063 9.21937L7.5 10.9397L12.2194 6.21937C12.289 6.14964 12.3717 6.09432 12.4628 6.05658C12.5538 6.01884 12.6514 5.99941 12.75 5.99941C12.8486 5.99941 12.9462 6.01884 13.0372 6.05658C13.1283 6.09432 13.211 6.14964 13.2806 6.21937ZM18 1.5V16.5C18 16.8978 17.842 17.2794 17.5607 17.5607C17.2794 17.842 16.8978 18 16.5 18H1.5C1.10218 18 0.720644 17.842 0.43934 17.5607C0.158035 17.2794 0 16.8978 0 16.5V1.5C0 1.10218 0.158035 0.720644 0.43934 0.43934C0.720644 0.158035 1.10218 0 1.5 0H16.5C16.8978 0 17.2794 0.158035 17.5607 0.43934C17.842 0.720644 18 1.10218 18 1.5ZM16.5 16.5V1.5H1.5V16.5H16.5Z" fill="#F36F56"/></svg>'+' <span style="margin-left: 5px;">SMS</span>'}else{let textSMS=document.getElementById("isSMS");textSMS.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" style="margin-bottom: -7px;" viewBox="0 0 24 24" fill="none"><path d="M21 4.5V19.5C21 19.8978 20.842 20.2794 20.5607 20.5607C20.2794 20.842 19.8978 21 19.5 21H4.5C4.10218 21 3.72064 20.842 3.43934 20.5607C3.15804 20.2794 3 19.8978 3 19.5V4.5C3 4.10218 3.15804 3.72064 3.43934 3.43934C3.72064 3.15804 4.10218 3 4.5 3H19.5C19.8978 3 20.2794 3.15804 20.5607 3.43934C20.842 3.72064 21 4.10218 21 4.5ZM19.5 19.5V4.5H4.5V19.5H19.5Z" fill="#F36F56"/></svg>'+' <span style="margin-left: 5px;">SMS</span>'}
18if(isPayment){let textPayment=document.getElementById("isVietel");textPayment.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" style="margin-bottom: -7px;" viewBox="0 0 18 18" fill="none"><path d="M13.2806 6.21937C13.3504 6.28903 13.4057 6.37175 13.4434 6.46279C13.4812 6.55384 13.5006 6.65144 13.5006 6.75C13.5006 6.84856 13.4812 6.94616 13.4434 7.03721C13.4057 7.12825 13.3504 7.21097 13.2806 7.28063L8.03063 12.5306C7.96097 12.6004 7.87825 12.6557 7.78721 12.6934C7.69616 12.7312 7.59856 12.7506 7.5 12.7506C7.40144 12.7506 7.30384 12.7312 7.21279 12.6934C7.12175 12.6557 7.03903 12.6004 6.96937 12.5306L4.71937 10.2806C4.57864 10.1399 4.49958 9.94902 4.49958 9.75C4.49958 9.55098 4.57864 9.36011 4.71937 9.21937C4.86011 9.07864 5.05098 8.99958 5.25 8.99958C5.44902 8.99958 5.63989 9.07864 5.78063 9.21937L7.5 10.9397L12.2194 6.21937C12.289 6.14964 12.3717 6.09432 12.4628 6.05658C12.5538 6.01884 12.6514 5.99941 12.75 5.99941C12.8486 5.99941 12.9462 6.01884 13.0372 6.05658C13.1283 6.09432 13.211 6.14964 13.2806 6.21937ZM18 1.5V16.5C18 16.8978 17.842 17.2794 17.5607 17.5607C17.2794 17.842 16.8978 18 16.5 18H1.5C1.10218 18 0.720644 17.842 0.43934 17.5607C0.158035 17.2794 0 16.8978 0 16.5V1.5C0 1.10218 0.158035 0.720644 0.43934 0.43934C0.720644 0.158035 1.10218 0 1.5 0H16.5C16.8978 0 17.2794 0.158035 17.5607 0.43934C17.842 0.720644 18 1.10218 18 1.5ZM16.5 16.5V1.5H1.5V16.5H16.5Z" fill="#F36F56"/></svg>'+' <span style="margin-left: 5px;">Viettel Money</span>'}else{let textPayment=document.getElementById("isVietel");textPayment.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" style="margin-bottom: -7px;" viewBox="0 0 24 24" fill="none"><path d="M21 4.5V19.5C21 19.8978 20.842 20.2794 20.5607 20.5607C20.2794 20.842 19.8978 21 19.5 21H4.5C4.10218 21 3.72064 20.842 3.43934 20.5607C3.15804 20.2794 3 19.8978 3 19.5V4.5C3 4.10218 3.15804 3.72064 3.43934 3.43934C3.72064 3.15804 4.10218 3 4.5 3H19.5C19.8978 3 20.2794 3.15804 20.5607 3.43934C20.842 3.72064 21 4.10218 21 4.5ZM19.5 19.5V4.5H4.5V19.5H19.5Z" fill="#F36F56"/></svg>'+' <span style="margin-left: 5px;">Viettel Money</span>'}
19if(drop.style.display==='block'&&!checkShow){drop.style.display='none';dropdown.style.display='none';box_balance.style.display='none';box_sms.style.display='none';box_info.style.display='none';box_payment.style.display='none'}else{drop.style.display='block';dropdown.style.display='block';box_info.style.display='inline-flex';box_sms.style.display='inline-flex';box_balance.style.display='block';box_payment.style.display='inline-flex'}
20checkShow=!1}else{let login_form=document.getElementById("form-login");login_form.classList.add("show-modal");$(".mfp-close").trigger("click")}})
21setTimeout(()=>{if(name_userc){let authT=localStorage.getItem("authT");let header_2=document.getElementsByClassName("header-button-2");if(header_2.length>0){header_2[0].innerHTML='<div class="dropdown has-dropdown">'+'<span>Xin chào, '+name_userc+'</span><i class="icon-angle-down"></i>'+'<div class="dropdown-content" id="dropdown-content">'+'<a href="#" id="box_balance" class="box-mg"><div>Số dư tài khoản</div><div class="box-hover" style="position: relative;"><svg xmlns="http://www.w3.org/2000/svg" style="margin-bottom:-7px;" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M18.6103 5.25844C17.4787 3.31875 15.93 2.25 14.25 2.25H9.75C8.07 2.25 6.52125 3.31875 5.38969 5.25844C4.33219 7.07062 3.75 9.46875 3.75 12C3.75 14.5312 4.33219 16.9294 5.38969 18.7416C6.52125 20.6812 8.07 21.75 9.75 21.75H14.25C15.93 21.75 17.4787 20.6812 18.6103 18.7416C19.6678 16.9294 20.25 14.5312 20.25 12C20.25 9.46875 19.6678 7.07062 18.6103 5.25844ZM18.7303 11.25H15.7303C15.6717 9.71096 15.3653 8.19145 14.8228 6.75H17.6906C18.2644 8.00437 18.6431 9.5625 18.7303 11.25ZM16.7991 5.25H14.1056C13.7924 4.70655 13.4146 4.2029 12.9806 3.75H14.25C15.1875 3.75 16.0688 4.3125 16.7991 5.25ZM14.25 20.25H12.9834C13.4174 19.7971 13.7952 19.2935 14.1084 18.75H16.8019C16.0688 19.6875 15.1875 20.25 14.25 20.25ZM17.6906 17.25H14.8237C15.3662 15.8085 15.6727 14.289 15.7313 12.75H18.7313C18.6431 14.4375 18.2644 15.9956 17.6906 17.25Z" fill="#FB6D3D"/><path d="M9.46023 16.6023V7.875H10.0193V16.6023H9.46023ZM11.2091 10.5818C11.1727 10.2591 11.0227 10.0091 10.7591 9.83182C10.4955 9.65227 10.1636 9.5625 9.76364 9.5625C9.47727 9.5625 9.22955 9.60796 9.02045 9.69886C8.81136 9.7875 8.64886 9.91023 8.53295 10.067C8.41932 10.2216 8.3625 10.3977 8.3625 10.5955C8.3625 10.7614 8.40114 10.9045 8.47841 11.025C8.55795 11.1455 8.66136 11.2466 8.78864 11.3284C8.91818 11.408 9.05682 11.475 9.20455 11.5295C9.35227 11.5818 9.49432 11.625 9.63068 11.6591L10.3125 11.8364C10.5352 11.8909 10.7636 11.9648 10.9977 12.058C11.2318 12.1511 11.4489 12.2739 11.6489 12.4261C11.8489 12.5784 12.0102 12.767 12.133 12.992C12.258 13.217 12.3205 13.4864 12.3205 13.8C12.3205 14.1955 12.2182 14.5466 12.0136 14.8534C11.8114 15.1602 11.517 15.4023 11.1307 15.5795C10.7466 15.7568 10.2818 15.8455 9.73636 15.8455C9.21364 15.845
215 8.76136 15.7625 8.37955 15.5966C7.99773 15.4307 7.69886 15.1955 7.48295 14.8909C7.26705 14.5841 7.14773 14.2205 7.125 13.8H8.18182C8.20227 14.0523 8.28409 14.2625 8.42727 14.4307C8.57273 14.5966 8.75795 14.7205 8.98295 14.8023C9.21023 14.8818 9.45909 14.9216 9.72955 14.9216C10.0273 14.9216 10.292 14.875 10.5239 14.7818C10.758 14.6864 10.942 14.5545 11.0761 14.3864C11.2102 14.2159 11.2773 14.017 11.2773 13.7898C11.2773 13.583 11.2182 13.4136 11.1 13.2818C10.9841 13.15 10.8261 13.0409 10.6261 12.9545C10.4284 12.8682 10.2045 12.792 9.95455 12.7261L9.12955 12.5011C8.57045 12.3489 8.12727 12.125 7.8 11.8295C7.475 11.5341 7.3125 11.1432 7.3125 10.6568C7.3125 10.2545 7.42159 9.90341 7.63977 9.60341C7.85795 9.30341 8.15341 9.07045 8.52614 8.90455C8.89886 8.73636 9.31932 8.65227 9.7875 8.65227C10.2602 8.65227 10.6773 8.73523 11.0386 8.90114C11.4023 9.06705 11.6886 9.29546 11.8977 9.58636C12.1068 9.875 12.2159 10.2068 12.225 10.5818H11.2091Z" fill="white"/></svg><span id="balance" class="cnt-drop"></span><span class="" onclick="balance_show_hide();" style="position: absolute; top:30%;right:20px"><i class="fas fa-eye" id="show_eye_bl" style="font-size: 20px;"></i><i class="fas fa-eye-slash d-none" id="hide_eye_bl" style="font-size: 20px;"></i></span></div></a><div class="line-bottom"></div>'+'<a href="#" id="box_sms" class="box-hover box-mg"><div><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" style="margin-bottom:-7px;" viewBox="0 0 24 24" fill="none"><path d="M21.75 19.5C21.75 19.6989 21.671 19.8897 21.5303 20.0303C21.3897 20.171 21.1989 20.25 21 20.25H3C2.80109 20.25 2.61032 20.171 2.46967 20.0303C2.32902 19.8897 2.25 19.6989 2.25 19.5V4.5C2.25 4.30109 2.32902 4.11032 2.46967 3.96967C2.61032 3.82902 2.80109 3.75 3 3.75C3.19891 3.75 3.38968 3.82902 3.53033 3.96967C3.67098 4.11032 3.75 4.30109 3.75 4.5V14.6897L8.46937 9.96937C8.53903 9.89964 8.62175 9.84432 8.71279 9.80658C8.80384 9.76884 8.90144 9.74941 9 9.74941C9.09856 9.74941 9.19616 9.76884 9.28721 9.80658C9.37825 9.84432 9.46097 9.89964 9.53063 9.96937L12 12.4397L16.9397 7.5H15C14.8011 7.5 14.6103 7.42098 14.4697 7.28033C14.329 7.13968 14.25 6.94891 14.25 6.75C14.25 6.55109 14.329 6.36032 14.4697 6.21967C14.6103 6.07902 14.8011 6 15 6H18.75C18.9489 6 19.1397 6.07902 19.2803 6.21967C19.421 6.36032 19.5 6.55109 19.5 6.75V10.5C19.5 10.6989 19.421 10.8897 19.2803 11.0303C19.1397 11.171 18.9489 11.25 18.75 11.25C18.5511 11.25 18.3603 11.171 18.2197 11.0303C18.079 10.8897 18 10.6989 18 10.5V8.56031L12.5306 14.0306C12.461 14.1004 12.3783 14.1557 12.2872 14.1934C12.1962 14.2312 12.0986 14.2506 12 14.2506C11.9014 14.2506 11.8038 14.2312 11.7128 14.1934C11.6217 14.1557 11.539 14.1004 11.4694 14.0306L9 11.5603L3.75 16.8103V18.75H21C21.1989 18.75 21.3897 18.829 21.5303 18.9697C21.671 19.1103 21.75 19.3011 21.75 19.5Z" fill="#F36F56"/></svg> Biến động số dư</div> <span id="isSMS" class="cnt-drop text-right"></span></a><div class="line-bottom"></div>'+'<a href="#" id="box_payment" class="box-hover box-mg"><div id="text-lk"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" style="margin-bottom:-7px;" viewBox="0 0 24 24" fill="none"><path d="M15.7499 5.25001C15.7499 5.0511 15.8289 4.86033 15.9696 4.71968C16.1102 4.57903 16.301 4.50001 16.4999 4.50001H17.9999V3.00001C17.9999 2.8011 18.0789 2.61033 18.2196 2.46968C18.3602 2.32903 18.551 2.25001 18.7499 2.25001C18.9488 2.25001 19.1396 2.32903 19.2802 2.46968C19.4209 2.61033 19.4999 2.8011 19.4999 3.00001V4.50001H20.9999C21.1988 4.50001 21.3896 4.57903 21.5302 4.71968C21.6709 4.86033 21.7499 5.0511 21.7499 5.25001C21.7499 5.44892 21.6709 5.63969 21.5302 5.78034C21.3896 5.92099 21.1988 6.00001 20.9999 6.00001H19.4999V7.50001C19.4999 7.69892 19.4209 7.88969 19.2802 8.03034C19.1396 8.17099 18.9488 8.25001 18.7499 8.25001C18.551 8.25001 18.3602 8.17099 18.2196 8.03034C18.0789 7.88969 17.9999 7.69892 17.9999 7.50001V6.00001H16.4999C16.301 6.00001 16.1102 5.92099 15.9696 5.78034C15.8289 5.63969 15.7499 5.44892 15.7499 5.25001ZM21.6149 10.3763C21.9575 12.413 21.644 14.506 20.7196 16.353C19.7952 18.2 18.3077 19.7054 16.472 20.6518C14.6362 21.5983 12.5471 21.9369 10.5064 21.6187C8.46568 21.3005 6.57887 20.342 5.11842 18.8815C3.65796 17.421 2.69943 15.5342 2.38122 13.4935C2.06302 11.4528 2.40159 9.36371 3.34808 7.52795C4.29456 5.69218 5.79996 4.20471 7.64693 3.2803C9.49391 2.35589 11.5869 2.04237 13.6237 2.38501C13.8183 2.41944 13.9916 2.52935 14.1056 2.69083C14.2197 2.85232 14.2654 3.05231 14.2328 3.24731C14.2001 3.4423 14.0918 3.61653 13.9314 3.73209C13.771 3.84766 13.5714 3.8952 13.3762 3.86439C12.1932 3.66538 10.981 3.72655 9.82404 4.04364C8.66708 4.36073 7.59312 4.92613 6.67689 5.70048C5.76066 6.47483 5.02418 7.43954 4.51869 8.52746C4.0132 9.61538 3.75085 10.8004 3.7499 12C3.74813 14.0196 4.49039 15.969 5.8349 17.4759C6.67137 16.2638 7.84754 15.3261 9.21553 14.7806C8.4807 14.2019 7.94449 13.4085 7.68147 12.5109C7.41845 11.6132 7.44169 10.6559 7.74795 9.77209C8.05422 8.88826 8.62829 8.12184 9.39034 7.57941C10.1524 7.03697 11.0645 6.74549 11.9999 6.74549C12.9353 6.74549 13.8474 7.03697 14.6095 7.57941C15.3715 8.12184 15.9456 8.88826 16.2519 9.77209C16.5581 10.6559 16.5814 11.6132 16.3183 12.5109C16.0553 13.4085 15.5191 14.2019 14.7843 14.7806C16.1523 15.3261 17.3284 16.2638 18.1649 17.4759C19.5094 15.969 20.2517 14.0196 20.2499 12C20.2499 11.5389 20.2117 11.0786 20.1355 10.6238C20.1183 10.5262 20.1205 10.4262 20.1421 10.3295C20.1638 10.2328 20.2043 10.1414 20.2615 10.0604C20.3186 9.97951 20.3913 9.910
2172 20.4752 9.85802C20.5591 9.80533 20.6526 9.76978 20.7503 9.75343C20.848 9.73709 20.948 9.74026 21.0445 9.76278C21.141 9.78529 21.2321 9.8267 21.3124 9.88461C21.3928 9.94252 21.461 10.0158 21.5129 10.1002C21.5648 10.1846 21.5995 10.2784 21.6149 10.3763ZM11.9999 14.25C12.5932 14.25 13.1733 14.0741 13.6666 13.7444C14.16 13.4148 14.5445 12.9462 14.7715 12.3981C14.9986 11.8499 15.058 11.2467 14.9423 10.6647C14.8265 10.0828 14.5408 9.54825 14.1212 9.12869C13.7017 8.70913 13.1671 8.42341 12.5852 8.30765C12.0032 8.1919 11.4 8.25131 10.8519 8.47837C10.3037 8.70543 9.83514 9.08995 9.50549 9.5833C9.17585 10.0766 8.9999 10.6567 8.9999 11.25C8.9999 12.0457 9.31597 12.8087 9.87858 13.3713C10.4412 13.9339 11.2043 14.25 11.9999 14.25ZM11.9999 20.25C13.8312 20.2519 15.6105 19.6414 17.0549 18.5156C16.5123 17.6671 15.7649 16.9688 14.8815 16.4851C13.9981 16.0014 13.0071 15.7478 11.9999 15.7478C10.9927 15.7478 10.0018 16.0014 9.11833 16.4851C8.23491 16.9688 7.48747 17.6671 6.9449 18.5156C8.38931 19.6414 10.1686 20.2519 11.9999 20.25Z" fill="#F36F56"/></svg> Liên kết tài khoản</div> <span id="isVietel" class="cnt-drop text-right"></span></a><div class="line-bottom"  id="line_box_payment"></div>'+'<a href="/epass-thong-tin-ca-nhan" id="box_info" class="box-hover box-mg"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" style="margin-bottom:-7px;" viewBox="0 0 20 20" fill="none"><path d="M10 0.25C8.07164 0.25 6.18657 0.821828 4.58319 1.89317C2.97982 2.96451 1.73013 4.48726 0.992179 6.26884C0.254225 8.05042 0.061142 10.0108 0.437348 11.9021C0.813554 13.7934 1.74215 15.5307 3.10571 16.8943C4.46928 18.2579 6.20656 19.1865 8.09787 19.5627C9.98919 19.9389 11.9496 19.7458 13.7312 19.0078C15.5127 18.2699 17.0355 17.0202 18.1068 15.4168C19.1782 13.8134 19.75 11.9284 19.75 10C19.7473 7.41498 18.7192 4.93661 16.8913 3.10872C15.0634 1.28084 12.585 0.25273 10 0.25ZM4.945 16.5156C5.48757 15.6671 6.23501 14.9688 7.11843 14.4851C8.00185 14.0013 8.99283 13.7478 10 13.7478C11.0072 13.7478 11.9982 14.0013 12.8816 14.4851C13.765 14.9688 14.5124 15.6671 15.055 16.5156C13.6097 17.6397 11.831 18.2499 10 18.2499C8.16905 18.2499 6.39032 17.6397 4.945 16.5156ZM7 9.25C7 8.65666 7.17595 8.07664 7.5056 7.58329C7.83524 7.08994 8.30378 6.70542 8.85195 6.47836C9.40013 6.2513 10.0033 6.19189 10.5853 6.30764C11.1672 6.4234 11.7018 6.70912 12.1213 7.12868C12.5409 7.54824 12.8266 8.08279 12.9424 8.66473C13.0581 9.24667 12.9987 9.84987 12.7716 10.3981C12.5446 10.9462 12.1601 11.4148 11.6667 11.7444C11.1734 12.0741 10.5933 12.25 10 12.25C9.20436 12.25 8.44129 11.9339 7.87868 11.3713C7.31607 10.8087 7 10.0456 7 9.25ZM16.165 15.4759C15.3285 14.2638 14.1524 13.3261 12.7844 12.7806C13.5192 12.2019 14.0554 11.4085 14.3184 10.5108C14.5815 9.6132 14.5582 8.6559 14.252 7.77207C13.9457 6.88825 13.3716 6.12183 12.6096 5.5794C11.8475 5.03696 10.9354 4.74548 10 4.74548C9.06462 4.74548 8.15248 5.03696 7.39044 5.5794C6.62839 6.12183 6.05432 6.88825 5.74805 7.77207C5.44179 8.6559 5.41855 9.6132 5.68157 10.5108C5.94459 11.4085 6.4808 12.2019 7.21563 12.7806C5.84765 13.3261 4.67147 14.2638 3.835 15.4759C2.77804 14.2873 2.0872 12.8185 1.84567 11.2464C1.60415 9.67427 1.82224 8.06584 2.47368 6.61478C3.12512 5.16372 4.18213 3.93192 5.51745 3.06769C6.85276 2.20346 8.40943 1.74367 10 1.74367C11.5906 1.74367 13.1473 2.20346 14.4826 3.06769C15.8179 3.93192 16.8749 5.16372 17.5263 6.61478C18.1778 8.06584 18.3959 9.67427 18.1543 11.2464C17.9128 12.8185 17.222 14.2873 16.165 15.4759Z" fill="#F36F56"/></svg> <span style="margin-left: 5px;"> Thông tin Khách hàng</span></a><div class="line-bottom"></div>'+'<a href="#" id="logout" onclick="logoutI()" class="box-hover box-mg"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" style="margin-bottom:-7px;" viewBox="0 0 24 24" fill="none"><path d="M10.5 20.25C10.5 20.4489 10.421 20.6397 10.2803 20.7803C10.1397 20.921 9.94891 21 9.75 21H4.5C4.10218 21 3.72064 20.842 3.43934 20.5607C3.15804 20.2794 3 19.8978 3 19.5V4.5C3 4.10218 3.15804 3.72064 3.43934 3.43934C3.72064 3.15804 4.10218 3 4.5 3H9.75C9.94891 3 10.1397 3.07902 10.2803 3.21967C10.421 3.36032 10.5 3.55109 10.5 3.75C10.5 3.94891 10.421 4.13968 10.2803 4.28033C10.1397 4.42098 9.94891 4.5 9.75 4.5H4.5V19.5H9.75C9.94891 19.5 10.1397 19.579 10.2803 19.7197C10.421 19.8603 10.5 20.0511 10.5 20.25ZM20.7806 11.4694L17.0306 7.71937C16.8899 7.57864 16.699 7.49958 16.5 7.49958C16.301 7.49958 16.1101 7.57864 15.9694 7.71937C15.8286 7.86011 15.7496 8.05098 15.7496 8.25C15.7496 8.44902 15.8286 8.63989 15.9694 8.78063L18.4397 11.25H9.75C9.55109 11.25 9.36032 11.329 9.21967 11.4697C9.07902 11.6103 9 11.8011 9 12C9 12.1989 9.07902 12.3897 9.21967 12.5303C9.36032 12.671 9.55109 12.75 9.75 12.75H18.4397L15.9694 15.2194C15.8286 15.3601 15.7496 15.551 15.7496 15.75C15.7496 15.949 15.8286 16.1399 15.9694 16.2806C16.1101 16.4214 16.301 16.5004 16.5 16.5004C16.
21699 16.5004 16.8899 16.4214 17.0306 16.2806L20.7806 12.5306C20.8504 12.461 20.9057 12.3783 20.9434 12.2872C20.9812 12.1962 21.0006 12.0986 21.0006 12C21.0006 11.9014 20.9812 11.8038 20.9434 11.7128C20.9057 11.6217 20.8504 11.539 20.7806 11.4694Z" fill="#F36F56"/></svg> Thoát</a>'+'</div>'+'</div>'}
22let custId=localStorage.getItem('custId');let contractId=localStorage.getItem('contractId');if(contractId&&custId){if(!isbalance){$.ajax({type:"post",dataType:"json",url:WP_API.contract_url,data:{authT:authT,custId:custId,contractId:contractId,},context:this,beforeSend:function(){},success:function(responses){if(responses.code==200&&responses.data){let balance=format1(responses.data.balance,'');console.log(responses);localStorage.setItem("balance",balance);let textBalance=document.getElementById("balance");textBalance.textContent=balance+" VNĐ";isbalance=balance}else{if(responses.code==401||responses.message=="Hết phiên đăng nhập"||responses.message=="Chưa đăng nhập"){logoutI()}
23let textBalance=document.getElementById("balance");textBalance.textContent="0 VNĐ"}},error:function(jqXHR,textStatus,errorThrown){console.log('The following error occured: '+textStatus,errorThrown)}})}
24if(!isSMS){$.ajax({type:"post",dataType:"json",url:WP_API.sms_url,data:{authT:authT,},context:this,beforeSend:function(){},success:function(response){if(response.code==200&&response.data){localStorage.setItem("isSMS",!0);isSMS=!0;let textSMS=document.getElementById("isSMS");textSMS.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" style="margin-bottom: -7px;" viewBox="0 0 18 18" fill="none"><path d="M13.2806 6.21937C13.3504 6.28903 13.4057 6.37175 13.4434 6.46279C13.4812 6.55384 13.5006 6.65144 13.5006 6.75C13.5006 6.84856 13.4812 6.94616 13.4434 7.03721C13.4057 7.12825 13.3504 7.21097 13.2806 7.28063L8.03063 12.5306C7.96097 12.6004 7.87825 12.6557 7.78721 12.6934C7.69616 12.7312 7.59856 12.7506 7.5 12.7506C7.40144 12.7506 7.30384 12.7312 7.21279 12.6934C7.12175 12.6557 7.03903 12.6004 6.96937 12.5306L4.71937 10.2806C4.57864 10.1399 4.49958 9.94902 4.49958 9.75C4.49958 9.55098 4.57864 9.36011 4.71937 9.21937C4.86011 9.07864 5.05098 8.99958 5.25 8.99958C5.44902 8.99958 5.63989 9.07864 5.78063 9.21937L7.5 10.9397L12.2194 6.21937C12.289 6.14964 12.3717 6.09432 12.4628 6.05658C12.5538 6.01884 12.6514 5.99941 12.75 5.99941C12.8486 5.99941 12.9462 6.01884 13.0372 6.05658C13.1283 6.09432 13.211 6.14964 13.2806 6.21937ZM18 1.5V16.5C18 16.8978 17.842 17.2794 17.5607 17.5607C17.2794 17.842 16.8978 18 16.5 18H1.5C1.10218 18 0.720644 17.842 0.43934 17.5607C0.158035 17.2794 0 16.8978 0 16.5V1.5C0 1.10218 0.158035 0.720644 0.43934 0.43934C0.720644 0.158035 1.10218 0 1.5 0H16.5C16.8978 0 17.2794 0.158035 17.5607 0.43934C17.842 0.720644 18 1.10218 18 1.5ZM16.5 16.5V1.5H1.5V16.5H16.5Z" fill="#F36F56"/></svg>'+' <span style="margin-left: 5px;">SMS</span>'}else{if(response.code==401||response.message=="Hết phiên đăng nhập"){logoutI()
25location.reload()}else{if(name_userc){localStorage.setItem("isSMS",!1)}
26let textSMS=document.getElementById("isSMS");textSMS.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" style="margin-bottom: -7px;" viewBox="0 0 24 24" fill="none"><path d="M21 4.5V19.5C21 19.8978 20.842 20.2794 20.5607 20.5607C20.2794 20.842 19.8978 21 19.5 21H4.5C4.10218 21 3.72064 20.842 3.43934 20.5607C3.15804 20.2794 3 19.8978 3 19.5V4.5C3 4.10218 3.15804 3.72064 3.43934 3.43934C3.72064 3.15804 4.10218 3 4.5 3H19.5C19.8978 3 20.2794 3.15804 20.5607 3.43934C20.842 3.72064 21 4.10218 21 4.5ZM19.5 19.5V4.5H4.5V19.5H19.5Z" fill="#F36F56"/></svg>'+' <span style="margin-left: 5px;">SMS</span>'}}},error:function(jqXHR,textStatus,errorThrown){console.log('The following error occured: '+textStatus,errorThrown)}})}
27if(!isPayment&&contractId){$.ajax({type:"post",dataType:"json",url:WP_API.payment_url,data:{authT:authT,contractId:contractId,},context:this,beforeSend:function(){},success:function(responses){if(responses.code==200&&responses.data){console.log(responses);localStorage.setItem("isPayment",!0);isPayment=!0;let textPayment=document.getElementById("isVietel");textPayment.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" style="margin-bottom: -7px;" viewBox="0 0 18 18" fill="none"><path d="M13.2806 6.21937C13.3504 6.28903 13.4057 6.37175 13.4434 6.46279C13.4812 6.55384 13.5006 6.65144 13.5006 6.75C13.5006 6.84856 13.4812 6.94616 13.4434 7.03721C13.4057 7.12825 13.3504 7.21097 13.2806 7.28063L8.03063 12.5306C7.96097 12.6004 7.87825 12.6557 7.78721 12.6934C7.69616 12.7312 7.59856 12.7506 7.5 12.7506C7.40144 12.7506 7.30384 12.7312 7.21279 12.6934C7.12175 12.6557 7.03903 12.6004 6.96937 12.5306L4.71937 10.2806C4.57864 10.1399 4.49958 9.94902 4.49958 9.75C4.49958 9.55098 4.57864 9.36011 4.71937 9.21937C4.86011 9.07864 5.05098 8.99958 5.25 8.99958C5.44902 8.99958 5.63989 9.07864 5.78063 9.21937L7.5 10.9397L12.2194 6.21937C12.289 6.14964 12.3717 6.09432 12.4628 6.05658C12.5538 6.01884 12.6514 5.99941 12.75 5.99941C12.8486 5.99941 12.9462 6.01884 13.0372 6.05658C13.1283 6.09432 13.211 6.14964 13.2806 6.21937ZM18 1.5V16.5C18 16.8978 17.842 17.2794 17.5607 17.5607C17.2794 17.842 16.8978 18 16.5 18H1.5C1.10218 18 0.720644 17.842 0.43934 17.5607C0.158035 17.2794 0 16.8978 0 16.5V1.5C0 1.10218 0.158035 0.720644 0.43934 0.43934C0.720644 0.158035 1.10218 0 1.5 0H16.5C16.8978 0 17.2794 0.158035 17.5607 0.43934C17.842 0.720644 18 1.10218 18 1.5ZM16.5 16.5V1.5H1.5V16.5H16.5Z" fill="#F36F56"/></svg>'+' <span style="margin-left: 5px;">Viettel Money</span>';linePayment.style.display="block"}else{if(responses.code==401||responses.message=="Hết phiên đăng nhập"||responses.message=="Chưa đăng nhập"){logoutI()}
28let textPayment=document.getElementById("isVietel");textPayment.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" style="margin-bottom: -7px;" viewBox="0 0 24 24" fill="none"><path d="M21 4.5V19.5C21 19.8978 20.842 20.2794 20.5607 20.5607C20.2794 20.842 19.8978 21 19.5 21H4.5C4.10218 21 3.72064 20.842 3.43934 20.5607C3.15804 20.2794 3 19.8978 3 19.5V4.5C3 4.10218 3.15804 3.72064 3.43934 3.43934C3.72064 3.15804 4.10218 3 4.5 3H19.5C19.8978 3 20.2794 3.15804 20.5607 3.43934C20.842 3.72064 21 4.10218 21 4.5ZM19.5 19.5V4.5H4.5V19.5H19.5Z" fill="#F36F56"/></svg>'+' <span style="margin-left: 5px;">Viettel Money</span>'}},error:function(jqXHR,textStatus,errorThrown){console.log('The following error occured: '+textStatus,errorThrown)}})}}else{$.ajax({type:"post",dataType:"json",url:WP_API.vehicles_url,data:{authT:authT,},context:this,beforeSend:function(){},success:function(response){if(response.code==200&&response.data){console.log(response);localStorage.setItem("custId",response.custId);localStorage.setItem("contractId",response.contractId);localStorage.setItem("plateNumber",response.plateNumber);custId=response.custId;contractId=response.contractId;if(!isbalance){$.ajax({type:"post",dataType:"json",url:WP_API.contract_url,data:{authT:authT,custId:custId,contractId:contractId,},context:this,beforeSend:function(){},success:function(responses){if(responses.code==200&&responses.data){let balance=format1(responses.data.balance,'');localStorage.setItem("balance",balance)}else{if(responses.code==401||responses.message=="Hết phiên đăng nhập"||responses.message=="Chưa đăng nhập"){logoutI()}}
29balance_show()},error:function(jqXHR,textStatus,errorThrown){console.log('The following error occured: '+textStatus,errorThrown)}})}
30if(!isSMS){$.ajax({type:"post",dataType:"json",url:WP_API.sms_url,data:{authT:authT,},context:this,beforeSend:function(){},success:function(response){if(response.code==200&&response.data){localStorage.setItem("isSMS",!0);isSMS=!0;let textSMS=document.getElementById("isSMS");textSMS.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" style="margin-bottom: -7px;" viewBox="0 0 18 18" fill="none"><path d="M13.2806 6.21937C13.3504 6.28903 13.4057 6.37175 13.4434 6.46279C13.4812 6.55384 13.5006 6.65144 13.5006 6.75C13.5006 6.84856 13.4812 6.94616 13.4434 7.03721C13.4057 7.12825 13.3504 7.21097 13.2806 7.28063L8.03063 12.5306C7.96097 12.6004 7.87825 12.6557 7.78721 12.6934C7.69616 12.7312 7.59856 12.7506 7.5 12.7506C7.40144 12.7506 7.30384 12.7312 7.21279 12.6934C7.12175 12.6557 7.03903 12.6004 6.96937 12.5306L4.71937 10.2806C4.57864 10.1399 4.49958 9.94902 4.49958 9.75C4.49958 9.55098 4.57864 9.36011 4.71937 9.21937C4.86011 9.07864 5.05098 8.99958 5.25 8.99958C5.44902 8.99958 5.63989 9.07864 5.78063 9.21937L7.5 10.9397L12.2194 6.21937C12.289 6.14964 12.3717 6.09432 12.4628 6.05658C12.5538 6.01884 12.6514 5.99941 12.75 5.99941C12.8486 5.99941 12.9462 6.01884 13.0372 6.05658C13.1283 6.09432 13.211 6.14964 13.2806 6.21937ZM18 1.5V16.5C18 16.8978 17.842 17.2794 17.5607 17.5607C17.2794 17.842 16.8978 18 16.5 18H1.5C1.10218 18 0.720644 17.842 0.43934 17.5607C0.158035 17.2794 0 16.8978 0 16.5V1.5C0 1.10218 0.158035 0.720644 0.43934 0.43934C0.720644 0.158035 1.10218 0 1.5 0H16.5C16.8978 0 17.2794 0.158035 17.5607 0.43934C17.842 0.720644 18 1.10218 18 1.5ZM16.5 16.5V1.5H1.5V16.5H16.5Z" fill="#F36F56"/></svg>'+' <span style="margin-left: 5px;">SMS</span>'}else{if(response.code==401||response.message=="Hết phiên đăng nhập"){logoutI()
31location.reload()}else{if(name_userc){localStorage.setItem("isSMS",!1)}
32let textSMS=document.getElementById("isSMS");textSMS.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" style="margin-bottom: -7px;" viewBox="0 0 18 18" fill="none"><path d="M13.2806 6.21937C13.3504 6.28903 13.4057 6.37175 13.4434 6.46279C13.4812 6.55384 13.5006 6.65144 13.5006 6.75C13.5006 6.84856 13.4812 6.94616 13.4434 7.03721C13.4057 7.12825 13.3504 7.21097 13.2806 7.28063L8.03063 12.5306C7.96097 12.6004 7.87825 12.6557 7.78721 12.6934C7.69616 12.7312 7.59856 12.7506 7.5 12.7506C7.40144 12.7506 7.30384 12.7312 7.21279 12.6934C7.12175 12.6557 7.03903 12.6004 6.96937 12.5306L4.71937 10.2806C4.57864 10.1399 4.49958 9.94902 4.49958 9.75C4.49958 9.55098 4.57864 9.36011 4.71937 9.21937C4.86011 9.07864 5.05098 8.99958 5.25 8.99958C5.44902 8.99958 5.63989 9.07864 5.78063 9.21937L7.5 10.9397L12.2194 6.21937C12.289 6.14964 12.3717 6.09432 12.4628 6.05658C12.5538 6.01884 12.6514 5.99941 12.75 5.99941C12.8486 5.99941 12.9462 6.01884 13.0372 6.05658C13.1283 6.09432 13.211 6.14964 13.2806 6.21937ZM18 1.5V16.5C18 16.8978 17.842 17.2794 17.5607 17.5607C17.2794 17.842 16.8978 18 16.5 18H1.5C1.10218 18 0.720644 17.842 0.43934 17.5607C0.158035 17.2794 0 16.8978 0 16.5V1.5C0 1.10218 0.158035 0.720644 0.43934 0.43934C0.720644 0.158035 1.10218 0 1.5 0H16.5C16.8978 0 17.2794 0.158035 17.5607 0.43934C17.842 0.720644 18 1.10218 18 1.5ZM16.5 16.5V1.5H1.5V16.5H16.5Z" fill="#F36F56"/></svg>'+' <span style="margin-left: 5px;">SMS</span>'}}},error:function(jqXHR,textStatus,errorThrown){console.log('The following error occured: '+textStatus,errorThrown)}})}
33if(!isPayment&&contractId){$.ajax({type:"post",dataType:"json",url:WP_API.payment_url,data:{authT:authT,contractId:contractId,},context:this,beforeSend:function(){},success:function(responses){if(responses.code==200&&responses.data){console.log(responses);localStorage.setItem("isPayment",!0);isPayment=!0;let textPayment=document.getElementById("isVietel");textPayment.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" style="margin-bottom: -7px;" viewBox="0 0 18 18" fill="none"><path d="M13.2806 6.21937C13.3504 6.28903 13.4057 6.37175 13.4434 6.46279C13.4812 6.55384 13.5006 6.65144 13.5006 6.75C13.5006 6.84856 13.4812 6.94616 13.4434 7.03721C13.4057 7.12825 13.3504 7.21097 13.2806 7.28063L8.03063 12.5306C7.96097 12.6004 7.87825 12.6557 7.78721 12.6934C7.69616 12.7312 7.59856 12.7506 7.5 12.7506C7.40144 12.7506 7.30384 12.7312 7.21279 12.6934C7.12175 12.6557 7.03903 12.6004 6.96937 12.5306L4.71937 10.2806C4.57864 10.1399 4.49958 9.94902 4.49958 9.75C4.49958 9.55098 4.57864 9.36011 4.71937 9.21937C4.86011 9.07864 5.05098 8.99958 5.25 8.99958C5.44902 8.99958 5.63989 9.07864 5.78063 9.21937L7.5 10.9397L12.2194 6.21937C12.289 6.14964 12.3717 6.09432 12.4628 6.05658C12.5538 6.01884 12.6514 5.99941 12.75 5.99941C12.8486 5.99941 12.9462 6.01884 13.0372 6.05658C13.1283 6.09432 13.211 6.14964 13.2806 6.21937ZM18 1.5V16.5C18 16.8978 17.842 17.2794 17.5607 17.5607C17.2794 17.842 16.8978 18 16.5 18H1.5C1.10218 18 0.720644 17.842 0.43934 17.5607C0.158035 17.2794 0 16.8978 0 16.5V1.5C0 1.10218 0.158035 0.720644 0.43934 0.43934C0.720644 0.158035 1.10218 0 1.5 0H16.5C16.8978 0 17.2794 0.158035 17.5607 0.43934C17.842 0.720644 18 1.10218 18 1.5ZM16.5 16.5V1.5H1.5V16.5H16.5Z" fill="#F36F56"/></svg>'+' <span style="margin-left: 5px;">Viettel Money</span>'}else{if(responses.code==401||responses.message=="Hết phiên đăng nhập"||responses.message=="Chưa đăng nhập"){logoutI()}
34let textPayment=document.getElementById("isVietel");textPayment.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" style="margin-bottom: -7px;" viewBox="0 0 24 24" fill="none"><path d="M21 4.5V19.5C21 19.8978 20.842 20.2794 20.5607 20.5607C20.2794 20.842 19.8978 21 19.5 21H4.5C4.10218 21 3.72064 20.842 3.43934 20.5607C3.15804 20.2794 3 19.8978 3 19.5V4.5C3 4.10218 3.15804 3.72064 3.43934 3.43934C3.72064 3.15804 4.10218 3 4.5 3H19.5C19.8978 3 20.2794 3.15804 20.5607 3.43934C20.842 3.72064 21 4.10218 21 4.5ZM19.5 19.5V4.5H4.5V19.5H19.5Z" fill="#F36F56"/></svg>'+' <span style="margin-left: 5px;">Viettel Money</span>'}},error:function(jqXHR,textStatus,errorThrown){console.log('The following error occured: '+textStatus,errorThrown)}})}}else{if(response.code==401||response.message=="Hết phiên đăng nhập"||response.message=="Chưa đăng nhập"){logoutI()}}},error:function(jqXHR,textStatus,errorThrown){console.log('The following error occured: '+textStatus,errorThrown)}})}
35let typelogins=localStorage.getItem('typelogin');let plateNumber=localStorage.getItem("plateNumber");if(typelogins=="mahd"&&plateNumber){let code_bsx=document.getElementById("code_bsx");code_bsx.textContent=plateNumber??"";let title_code_user=document.getElementById("text_bsx");title_code_user.style.display="block"}}},"500");$('#logout').click(function(){console.log('The following error logout: ');var modal_loading=document.getElementById("modal-loading");modal_loading.classList.add("show-modal");logoutI()})
36$('.recharge').click(function(){if(name_userc){var preferred_username=localStorage.getItem('preferred_username');var payment=document.getElementById("payment-qr");payment.classList.add("show-modal");console.log("name_userc",name_userc)
37let code_user=document.getElementById("code_user");code_user.textContent=preferred_username??"";var typelogin=localStorage.getItem('typelogin');
37if(typelogin!="mahd"){let code_bsx=document.getElementById("code_bsx");code_bsx.textContent=name_userc??"";let title_code_user=document.getElementById("text_bsx");title_code_user.style.display="block"}
38$("#qr-img").attr("src","https://img.vietqr.io/image/MBBank-EPASS"+preferred_username+"-compact.png")}else{let login_form=document.getElementById("form-login");login_form.classList.add("show-modal")}})
39$('.close-button2').click(function(){let modal2=document.querySelector(".modal2");modal2.classList.toggle("show-modal")})
40$('.close-button').click(function(){let modal22=document.getElementById("form-login");modal22.classList.remove("show-modal")})
41$('.close-button3').click(function(){let change_model_card=document.getElementById("change-card");change_model_card.classList.remove("show-modal")})
42$('.close-button4').click(function(){let noti=document.getElementById("noti");noti.classList.remove("show-modal")})
43$('.change-card').click(function(){if(name_userc){let change_card=document.getElementById("change-card");change_card.classList.add("show-modal");$.ajax({type:"get",dataType:"json",url:'https://backend.epass-vdtc.com.vn/crm2/api/v1/vtt/provinces',context:this,beforeSend:function(){},success:function(response){$.each(response.data,function(i,item){$('#provinces').append($('<option>',{value:item.areaCode,text:item.name}))})},error:function(jqXHR,textStatus,errorThrown){console.log('The following error occured: '+textStatus,errorThrown)}})}else{let login_form=document.getElementById("form-login");login_form.classList.add("show-modal")}})
44$("#provinces").on("change",function(){$("#wards").empty();$('#wards').append($('<option>',{value:"",text:"--Chọn--"}));let pr_code=document.getElementById("provinces");let district_code=document.getElementById("district");let url="https://backend.epass-vdtc.com.vn/crm2/api/v1/vtt/wards?province="+pr_code.value;$.ajax({type:"get",dataType:"json",url:url,context:this,beforeSend:function(){},success:function(response){$.each(response.data,function(i,item){$('#wards').append($('<option>',{value:item.areaCode,text:item.name}))})},error:function(jqXHR,textStatus,errorThrown){console.log('The following error occured: '+textStatus,errorThrown)}})})
45$('#res-change-card').click(function(){document.getElementById("res-change-card").disabled=!0;let bks=document.getElementById("bks");let cusname=document.getElementById("cusname");let phone=document.getElementById("phonedk");let areaCode=document.getElementById("wards");let street=document.getElementById("address");let err=document.getElementById("err_mess_change");let authT=localStorage.getItem("authT");let email=document.getElementById("email-res");err.textContent="";err.style.display='none';let loadingicon=document.getElementById("icon-loading-change");loadingicon.style.display='inline-block';if(street.value==""||bks.value==""||cusname.value==""||phone.value==""||areaCode.value==""){err.textContent="Vui lòng nhập đầy đủ thông tin đăng nhập";err.style.display='block';document.getElementById("res-change-card").disabled=!1;loadingicon.style.display='none'}else if(!validateString(bks.value)){err.textContent="Biển số xe nhập không chính xác";err.style.display='block';document.getElementById("res-change-card").disabled=!1;loadingicon.style.display='none';document.getElementById("err_mess_change").scrollIntoView()}else if(!validateVietnamesePhoneNumber(phone.value)){err.textContent="Số điện thoại không chính xác";err.style.display='block';document.getElementById("res-change-card").disabled=!1;loadingicon.style.display='none';document.getElementById("err_mess_change").scrollIntoView()}else{$.ajax({type:"post",dataType:"json",url:WP_API.change_card_url,data:{bks:bks.value,cusname:cusname.value,phone:phone.value,areaCode:areaCode.value,street:street.value,email:email.value,authT:authT},context:this,beforeSend:function(){},success:function(response){loadingicon.style.display='none';if(response.code==200&&response.data){let element=document.getElementById("change-card");element.classList.remove("show-modal");let noti=document.getElementById("noti");noti.classList.add("show-modal");let noti_mess=document.getElementById("noti-mess");noti_mess.textContent="Đăng ký đổi thẻ thành công!"}else{if(response.code==401||response.message=="Hết phiên đăng nhập"||response.message=="Chưa đăng nhập"){localStorage.removeItem("codeUser");localStorage.removeItem("authT");location.reload()}
46err.textContent=response.message;err.style.display='block';document.getElementById("res-change-card").disabled=!1}},error:function(jqXHR,textStatus,errorThrown){console.log('The following error occured: '+textStatus,errorThrown)}})}});
46$('.paste-card').click(function(){let paste_card=document.getElementById("paste-card");paste_card.classList.add("show-modal");$.ajax({type:"get",dataType:"json",url:'https://backend.epass-vdtc.com.vn/crm2/api/v1/vtt/provinces',context:this,beforeSend:function(){},success:function(response){$.each(response.data,function(i,item){$('#provinces2').append($('<option>',{value:item.areaCode,text:item.name}))})},error:function(jqXHR,textStatus,errorThrown){console.log('The following error occured: '+textStatus,errorThrown)}})})
47$("#provinces2").on("change",function(){$("#wards2").empty();$('#wards2').append($('<option>',{value:"",text:"--Chọn--"}));let pr_code=document.getElementById("provinces2");let district_code=document.getElementById("district2");let url="https://backend.epass-vdtc.com.vn/crm2/api/v1/vtt/wards?province="+pr_code.value;$.ajax({type:"get",dataType:"json",url:url,context:this,beforeSend:function(){},success:function(response){$.each(response.data,function(i,item){$('#wards2').append($('<option>',{value:item.areaCode,text:item.name}))})},error:function(jqXHR,textStatus,errorThrown){console.log('The following error occured: '+textStatus,errorThrown)}})})
48$('.close-button5').click(function(){let paste_model_card=document.getElementById("paste-card");paste_model_card.classList.remove("show-modal")})
49$('#paste-change-card').click(function(){document.getElementById("paste-change-card").disabled=!0;let bks=document.getElementById("bks2");let cusname_dn=document.getElementById("cusnamepas-dn");let cusname_cn=document.getElementById("cusnamepas-cn");let phone=document.getElementById("phonepas");let areaCode=document.getElementById("wards2");let street=document.getElementById("address2");let email=document.getElementById("email-paste");let err=document.getElementById("err_mess_paste");let cusname="";if(cusname_cn.value===""){cusname=cusname_dn.value}else{cusname=cusname_cn.value}
50err.textContent="";err.style.display='none';let loadingicon=document.getElementById("icon-loading-paste");loadingicon.style.display='inline-block';if(street.value==""||bks.value==""||cusname==""||phone.value==""||areaCode.value==""){err.textContent="Vui lòng nhập đầy đủ thông tin đăng nhập";err.style.display='block';document.getElementById("paste-change-card").disabled=!1;loadingicon.style.display='none'}else if(!validateString(bks.value)){err.textContent="Biển số xe nhập không chính xác";err.style.display='block';document.getElementById("paste-change-card").disabled=!1;loadingicon.style.display='none';document.getElementById("err_mess_paste").scrollIntoView()}else if(!validateVietnamesePhoneNumber(phone.value)){err.textContent="Số điện thoại không chính xác";err.style.display='block';document.getElementById("paste-change-card").disabled=!1;loadingicon.style.display='none';document.getElementById("err_mess_change").scrollIntoView()}else{$.ajax({type:"post",dataType:"json",url:WP_API.paste_card_url,data:{plateNumber:bks.value,regisCustName:cusname,phone:phone.value,areaCode:areaCode.value,street:street.value,email:email.value,},context:this,beforeSend:function(){},success:function(response){loadingicon.style.display='none';if(response.code==200&&response.data){let element=document.getElementById("paste-card");element.classList.remove("show-modal");let noti=document.getElementById("noti");noti.classList.add("show-modal");let noti_mess=document.getElementById("noti-mess");noti_mess.textContent="Đăng ký dán thẻ thành công!"}else{if(response.code==401||response.message=="Hết phiên đăng nhập"){localStorage.removeItem("codeUser");localStorage.removeItem("authT");location.reload()}
51err.textContent=response.message;err.style.display='block';document.getElementById("paste-change-card").disabled=!1}},error:function(jqXHR,textStatus,errorThrown){console.log('The following error occured: '+textStatus,errorThrown)}})}});$('.close-button6').click(function(){let biendong=document.getElementById("biendong");biendong.classList.remove("show-modal")})
52$('.close-button7').click(function(){let biendongt=document.getElementById("biendong-confirm");biendongt.classList.remove("show-modal")})
53$('#btn-biendong-cancel').click(function(){let biendongt=document.getElementById("biendong-confirm");biendongt.classList.remove("show-modal")})
54$('.btn-biendong').click(function(){let authT=localStorage.getItem("authT");let popupx=document.getElementById("pum-16552");
54if(popupx){popupx.style.display='none'}
55if(authT){let modal_loading=document.getElementById("modal-loading");let ct=document.getElementById("content-loading");ct.textContent="Loading";modal_loading.classList.add("show-modal");$.ajax({type:"post",dataType:"json",url:WP_API.sms_url,data:{authT:authT,},context:this,beforeSend:function(){},success:function(response){modal_loading.classList.remove("show-modal");if(response.code==200&&response.data){let noti=document.getElementById("noti");noti.classList.add("show-modal");let noti_mess=document.getElementById("noti-mess");noti_mess.textContent="Quý khách đã đăng ký sms thông báo biến động số dư"}else{if(response.code==401||response.message=="Hết phiên đăng nhập"){localStorage.removeItem("codeUser");localStorage.removeItem("authT");location.reload()}else{if(name_userc){let biendong=document.getElementById("biendong");biendong.classList.add("show-modal")}else{let login_form=document.getElementById("form-login");login_form.classList.add("show-modal")}}}},error:function(jqXHR,textStatus,errorThrown){console.log('The following error occured: '+textStatus,errorThrown)}})}else{let login_form=document.getElementById("form-login");login_form.classList.add("show-modal")}})
56$('#btn-biendong').click(function(){let biendong=document.getElementById("biendong");biendong.classList.remove("show-modal");let biendongs=document.getElementById("biendong-confirm");biendongs.classList.add("show-modal")})
57$('#btn-biendong-confirm').click(function(){document.getElementById("btn-biendong-confirm").disabled=!0;document.getElementById("btn-biendong-cancel").disabled=!0;var checkedAuto=document.getElementById("autopay").checked;let authT=localStorage.getItem("authT");let err=document.getElementById("err_mess_confirm");err.textContent="";err.style.display='none';let loadingicon=document.getElementById("icon-loading-biendong");loadingicon.style.display='inline-block';$.ajax({type:"post",dataType:"json",url:WP_API.bien_dong_confirm_url,data:{nextMonth:checkedAuto,authT:authT,},context:this,beforeSend:function(){},success:function(response){loadingicon.style.display='none';document.getElementById("btn-biendong-cancel").disabled=!1;if(response.code==200&&response.data){let element=document.getElementById("biendong-confirm");element.classList.remove("show-modal");let noti=document.getElementById("noti");noti.classList.add("show-modal");let noti_mess=document.getElementById("noti-mess");noti_mess.textContent="Đăng ký gói cước thành công!";document.getElementById("btn-biendong-confirm").disabled=!1}else{if(response.code==401||response.message=="Hết phiên đăng nhập"){localStorage.removeItem("codeUser");localStorage.removeItem("authT");location.reload()}
58err.textContent=response.message;err.style.display='block';document.getElementById("btn-biendong-confirm").disabled=!1}},error:function(jqXHR,textStatus,errorThrown){console.log('The following error occured: '+textStatus,errorThrown)}})})})})(jQuery)

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.