OEmbed data
Endpoint |
|
All data collected |
|
Meta data
All data collected |
Array
(
[viewport] => Array
(
[0] => width=device-width, initial-scale=1, shrink-to-fit=no
)
[ahrefs-site-verification] => Array
(
[0] => 35aaa83bbedb6a7b3b8cf5f04b9eacd94cc98525c78b0f224a9018c7f1439ad7
)
[csrf-token] => Array
(
[0] => ImZjZjMwMmMxZTZkMjYzNzczZmMyMTMyNDE0OWI3YmNjYTVkNGYwNjAi.ZCZ2dw.M9DjmEejTvmrmC9vwxsCi9mD3wo
)
[twitter:card] => Array
(
[0] => summary_large_image
)
[twitter:site] => Array
(
[0] => @publisher_handle
)
[twitter:title] => Array
(
[0] => | mitosbet
)
[twitter:description] => Array
(
[0] => MITOSBET | SITUS MITOSBET | LIVECHAT MITOSBET | AGEN MITOSBET | BANDAR MITOSBET | DAFTAR MITOSBET | MITOSBET DEPOSIT PULSA
)
[twitter:creator] => Array
(
[0] => mitosbet
)
[twitter:image] => Array
(
[0] => http://lynk.idhttps://s3.us-west-1.wasabisys.com/lynk.id/profile/03-02-2023/1675434708529_8715528
)
[og:title] => Array
(
[0] => | mitosbet
)
[og:description] => Array
(
[0] => MITOSBET | SITUS MITOSBET | LIVECHAT MITOSBET | AGEN MITOSBET | BANDAR MITOSBET | DAFTAR MITOSBET | MITOSBET DEPOSIT PULSA
)
[og:image] => Array
(
[0] => https://s3.us-west-1.wasabisys.com/lynk.id/profile/03-02-2023/1675434708529_8715528
)
[og:type] => Array
(
[0] => website
)
[og:updated_time] => Array
(
[0] => 1680242295000
)
[profile:username] => Array
(
[0] => mitosbet
)
)
|
Linked data
HTML content
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8" />
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<title> | mitosbet</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="ahrefs-site-verification" content="35aaa83bbedb6a7b3b8cf5f04b9eacd94cc98525c78b0f224a9018c7f1439ad7">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="csrf-token" property="text" content="ImZjZjMwMmMxZTZkMjYzNzczZmMyMTMyNDE0OWI3YmNjYTVkNGYwNjAi.ZCZ2dw.M9DjmEejTvmrmC9vwxsCi9mD3wo" />
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@publisher_handle">
<meta name="twitter:title" content=" | mitosbet">
<meta name="twitter:description" content="MITOSBET | SITUS MITOSBET | LIVECHAT MITOSBET | AGEN MITOSBET | BANDAR MITOSBET | DAFTAR MITOSBET | MITOSBET DEPOSIT PULSA">
<meta name="twitter:creator" content="mitosbet">
<meta name="twitter:image" content="http://lynk.idhttps://s3.us-west-1.wasabisys.com/lynk.id/profile/03-02-2023/1675434708529_8715528">
<meta property="og:title" content=" | mitosbet" />
<meta property="og:description" content="MITOSBET | SITUS MITOSBET | LIVECHAT MITOSBET | AGEN MITOSBET | BANDAR MITOSBET | DAFTAR MITOSBET | MITOSBET DEPOSIT PULSA" />
<meta property="og:image" itemprop="image" content="https://s3.us-west-1.wasabisys.com/lynk.id/profile/03-02-2023/1675434708529_8715528" />
<meta property="og:type" content="website" />
<meta property="og:updated_time" content="1680242295000" />
<meta property="profile:username" content="mitosbet" />
<link rel="shortcut icon" href="/static/assets/imgs/favico.png" type="image/x-icon" />
<link rel="icon" href="/static/assets/imgs/favico.png" type="image/x-icon" />
<script type='module' src="/static/js/fn.js?t=1680242295000"></script>
<link rel="prefetch stylesheet" as="font" href="https://fonts.googleapis.com/css2?family=Lato:wght@100;400;700;900&display=swap">
<link rel="prefetch stylesheet" as="font" href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;1,100&display=swap">
<link rel="prefetch stylesheet" as="font" href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;400;500;700&display=swap">
<link rel="prefetch stylesheet" as="font" href="https://fonts.googleapis.com/css2?family=Poppins:wght@100;400;500;600;700&display=swap">
<link rel="prefetch stylesheet" as="font" href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600&display=swap">
<link rel="prefetch stylesheet" as="font" href="https://fonts.googleapis.com/css2?family=Raleway:wght@100;400;500;700&display=swap">
<link rel="prefetch stylesheet" as="font" href="https://fonts.googleapis.com/css2?family=Bellefair&display=swap">
<link rel="preload stylesheet" as="style" href="/static/css/custom.css?v=1680242295251" />
<link rel="preload stylesheet" as="style" href="/static/css/atomic.css?v=1680242295251" />
<link as="style" rel="prefetch stylesheet" href="/static/css/glide.core.min.css" />
<link as="style" rel="prefetch stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/cropperjs/1.5.12/cropper.min.css" />
<link as="style" rel="prefetch stylesheet" href="/static/css/toast/toastme.css" />
<link href="/static/custom_style.css/mitosbet" rel="stylesheet" />
<style>
</style>
<link rel="stylesheet" href="/static/assets/plugins/shake/csshake.min.css">
<style>
.TiktokVideo {
width: 300px;
height: 615px;
margin-bottom: 10px;
}
.content-read-video {
margin-bottom: 10px;
}
.shake-slow.shake-constant {
animation-duration: 12s;
}
.TiktokVideoWrapper {
width: 420px;
height: 530px;
overflow: hidden;
margin: 0px auto 15px;
}
.class .cwot:after, .class .cwt:after, .class .cst:after {
display: none;
}
.ss-icons {
width: 26px;
height: 26px;
margin: .5em;
}
.ss-icons use {
fill: ;
}
</style>
</head>
<script>
function noescape() {
if (document.readyState == 'loading') {
document.addEventListener("keydown", function(event) {
if(event.keyCode === 27){
event.preventDefault();
}
});
}
}
</script>
<script type='module' src="/static/js/sp.min.js?t=1680242295000"></script>
<body id="user_template">
<div class="cityV rp theme-bg white Pos(r) price-c2 wp W(100%) W(100%) Mx(a) Pos(r) Mih(100vh) custombg-img Px(16px) Ovx(h)
card-box-reset
">
<div class="Maw(504px) Mx(a) Pos(r)">
<div id="modal-2" class="modal Pos(r)">
<div class="cm" data-micromodal-close>
<div tabindex="0" class="O(n) W(100%) Maw(320px) Bgc(#ffffff) Px(20px) Py(30px) Bdrs(8px) Bxsh($c1) Mx(15px) ">
<div class="D(f) Ai(c) Jc(sb)">
<h5 class="Fz(21px) title-elipse"></h5>
<a href="#" onclick="sp.cart.delItem(event);" class="Ta(end)" style="width: 20%;"><img src="/static/assets/imgs/feather-ico/trash.svg" alt=""></a>
</div>
<form id="Form1">
<div data-parent class="D(f) Ai(c) Jc(c) Mt(32px)">
<div data-counter-sub="" title="Subtract" onclick="add(false, this)" class="Cur(p) subtract-amount"></div>
<input data-counter="" oninput="changeInput(this)" type="number" value="1" min="1" class="hide-stepup Ta(c) Ff($l) Bd(n) bxsh Fw(700) Px(8px)" style="width: 100px;height: 40px;">
<input data-counter-input="" type="hidden" name="quantity" value="1">
<div title="Add" onclick="add(true, this)" class="Cur(p) add-amount"></div>
</div>
<div class="D(f) Ai(c) Mt(32px)">
<a data-micromodal-close href="#" class="Ta(c) Fz(14px)" style="width: 50%;">Cancel</a>
<button type="submit" class="Cur(p) Trs($c1) Scale(1.03):h Bgc($c3) Bd(n) C(#ffffff) Py(11px) Bdrs(4px)" style="width: 50%;" onclick="sp.cart.updateQty(event);">Update</button>
</div>
</form>
</div>
</div>
</div>
<div id="modal-1" class="modal Pos(r) micromodal-slide">
<div class="sm" data-micromodal-close>
<div tabindex="0" class="O(n) Mt(a) W(100%) Maw(420px) Bgc(#ffffff) Px(16px) cart-details Pb(16px)" style="overflow: hidden;height: max-content;">
<div class="rect"></div>
<div class="D(f) Ai(c) Mt(16px)">
<img class="Mend(9px)" src="/static/assets/imgs/feather-ico/shopping-cart-black.svg" alt="">
<h5 class="Fz(21px)" id="cqty">Cart (0)</h5>
</div>
<div class="Mt(16px) custom-scrollbar" style="height: 40vh;overflow-y: scroll;">
</div>
<a href="/checkout/shipping?token=.eJwFwUEOgCAMBMC_cG8C220BfwMUE88e1b8786T7inSkoh2rDwhRq3DDZaA1mXmwZ-PaYa9rRBkIarZ-6lQSvq1IVaeYka5ASd8PwnMVgA.ZCZ2dw.4cKpBI2S0zfj7b3aRLP6KDiPePc" class="Trs($c1) Ta(c) C(#ffffff) Fw(700) Cur(p) Scale(1.03):h Py(15px) Py(8px)--sm D(b) W(100%) Bdrs(7px) O(n) Bd(n) Bg($c1) Fz(14px) Mt(16px)">Buy Now</a>
<button onclick="closeModalEdit(this, event)" class="Trs($c1) C($green) Fw(700) Cur(p) Scale(1.03):h Py(15px) Py(8px)--sm D(b) W(100%) Bdrs(7px) O(n) Bgc(#ffffff) Bd($c2) Fz(14px) Mt(16px)">Continue Shopping</button>
</div>
</div>
</div>
<div id="modal-7" class="modal Pos(r)">
<div class="cm" data-micromodal-close>
<div tabindex="10" class="O(n) W(100%) Maw(320px) Bgc(#ffffff) Px(20px) Py(30px) Bdrs(8px) Bxsh($c1) Mx(15px) ">
<div class="D(f) Ai(c) Jc(sb)">
<h5 class="Fz(21px) title-elipse">Promo Code</h5>
</div>
<form id="Form1">
<div class="D(f) Ai(c) Jc(c) Mt(32px)">
<input data-voucher="" autocomplete="off" id="voucher_code" type="text" placeholder="input promo code" name="voucher_code" class="Ta(c) Ff($l) Bd($c1) bxsh Fw(700) Px(8px)" style="width: 100%;height: 40px;">
</div>
<label class="D(f) Ai(c) Jc(c) Mt(18px)" id="vcr_msg"></label>
<div class="D(f) Ai(c) Mt(18px)">
<a data-micromodal-close href="#" onclick="fn_cancel_btn();" class="Ta(c) Fz(14px)" style="width: 50%;">Cancel</a>
<button type="button" onclick="sp.api.voucherAddQueue();" class="Cur(p) Trs($c1) Scale(1.03):h Bgc($c3) Bd(n) C(#ffffff) Py(11px) Bdrs(4px)" style="width: 50%;">Apply</button>
</div>
</form>
</div>
</div>
</div>
<div class=" Pos(r) Pend(24px) Bdrs(4px)" style="background-color: #474747;margin-left: -16px;margin-right: -16px;">
<div class="Ta(c) Py(15px) custom-scrollbar-none Mx(a) Px(80px)" style="width: 92%;scroll-behavior: smooth;">
<span class="Fz(18px) Fw(700) C(#ffffff)">
Home
</span>
<div class="D(f) Ai(c) gap-1 bga Pos(a)">
<button type="button" data-si class="Bg(n) Bd(n) Cur(p)"><img src="/static/assets/imgs/icon-white/search-white.svg" alt="search-white"></button>
</div>
</div>
<div data-sc class="Pend(24px) Py(8px) glass-bg sic D(f) Ai(c) Bdrs(4px)" style="z-index: 1000;">
<div class="D(f) Ai(c) Jc(sb) gap-1 Py(12px) custom-scrollbar-none Mx(a)" style="width: 92%;scroll-behavior: smooth;">
<button data-si type="button" class="Bd(n) Bg(n) Cur(p)"><img src="/static/assets/imgs/icon-black/chevron-left-black.svg" alt="chevron-left-black"></button>
<div class="Pos(r) W(100%)">
<search-component class="D(b)" baseurl="/mitosbet/search?w="></search-component>
</div>
</div>
</div>
</div>
<div id="modalMenu" class="modal Pos(r)">
<div class="cm cm-custom" style="display:block; background-color: rgba(64, 64, 64, 0.8);backdrop-filter: blur(6.3px);
">
<div class="W(100%) Mx(a) H(100%) D(f) Jc(sb) Fld(c) P(16px) gap-1" style="max-width: 502px;">
<div class="D(f) Ai(c) Jc(sb) gap-1">
<div class="D(f) Ai(c) gap-1">
<button id="closeMenu" type="button" class="Bg(n) Bd(n) Cur(p)"><img src="/static/assets/imgs/icon-white/close-white.svg" alt="close-white"></button>
<span class="Fz(18px) Fw(700) C(#ffffff)">MENU</span>
</div>
<div class="D(f) Ai(c) gap-1">
<button type="button" data-si class="Bg(n) Bd(n) Cur(p)"><img src="/static/assets/imgs/icon-white/search-white.svg" alt="search-white"></button>
</div>
</div>
<nav>
<ul class="Ta(c) List(n) C(#ffffff)">
<a href="/mitosbet/" class="nhl nhl__active ">
Home
</a>
</ul>
</nav>
<div class="Ta(c) Py(16px) C(#ffffff)">
</div>
</div>
</div>
</div>
<div class="Ov(h)" style="margin-left: -16px;margin-right: -16px;">
<img id="bannerCon" style="border-bottom-left-radius: 24px;border-bottom-right-radius: 24px;" class="W(100%)" src="">
</div>
<header class="Pt(30px) Pb(24px)">
<div class="D(f) Jc(c) Fld(c) Ai(c)">
<img class="W(90px) H(90px) Bdrs(100%)" src="https://s3.us-west-1.wasabisys.com/lynk.id/profile/03-02-2023/1675434708529_8715528" alt="lynk.id - @mitosbet">
<span class="Fz(15px) Fw(700) C(#000000) Mt(10px)" style="color: !important;">@mitosbet</span>
<p class="Maw(504px) Mt(10px) Fz(15px) C(#000000) Ta(c) Px(16px)" style="word-wrap: break-word;line-height: 1.5rem;color: ;font-family: ;">
MITOSBET | SITUS MITOSBET | LIVECHAT MITOSBET | AGEN MITOSBET | BANDAR MITOSBET | DAFTAR MITOSBET | MITOSBET DEPOSIT PULSA
</p>
</div>
</header>
<main class="Pos(r) Z(0)">
<div class="row">
<form class="D(n)">
<input id="csrf_token" type="hidden" name="_csrf_token" value="ImZjZjMwMmMxZTZkMjYzNzczZmMyMTMyNDE0OWI3YmNjYTVkNGYwNjAi.ZCZ2dw.M9DjmEejTvmrmC9vwxsCi9mD3wo">
<input type="hidden" name="store" id="fk_store_id" value="63dd1a2d43059f3b34426e51-7364-554463221">
</form>
<a data-col href="https://mitosbet888.biz/" style="display:block;" target="_blank" rel="noopener noreferrer nofollow" onclick='incrementPageLinkViews("63dd1b1d093e3c2580d86ea7-4948-554468944")'>
<div class="cwot cbg Mih(63px) Py(18px) Ta(c) D(f) Jc(c) Ai(c) Scale(1.03):h Trs($c1) Mb(16px)
outline-solid
" style="background: white;color: black !important;border-color: #459a86;">
<p class="Fz(15px) filter-0" style="font-family: ;">
MITOSBET
</p>
</div>
</a>
<a data-col href="https://whatsform.com/mitosbet" style="display:block;" target="_blank" rel="noopener noreferrer nofollow" onclick='incrementPageLinkViews("63dd1b29a4f924c354e9f40c-1372-554469263")'>
<div class="cwot cbg Mih(63px) Py(18px) Ta(c) D(f) Jc(c) Ai(c) Scale(1.03):h Trs($c1) Mb(16px)
outline-solid
" style="background: white;color: black !important;border-color: #459a86;">
<p class="Fz(15px) filter-0" style="font-family: ;">
DAFTAR MITOSBET
</p>
</div>
</a>
<a data-col href="https://secure.livechatinc.com/licence/9619650/v2/open_chat.cgi" style="display:block;" target="_blank" rel="noopener noreferrer nofollow" onclick='incrementPageLinkViews("63dd1b3ca4f924c354e9f423-5887-554469715")'>
<div class="cwot cbg Mih(63px) Py(18px) Ta(c) D(f) Jc(c) Ai(c) Scale(1.03):h Trs($c1) Mb(16px)
outline-solid
" style="background: white;color: black !important;border-color: #459a86;">
<p class="Fz(15px) filter-0" style="font-family: ;">
LIVECHAT MITOSBET
</p>
</div>
</a>
</div>
</main>
<div class="H(93px)"></div>
<footer class="Ta(c) sf">
<div class="D(f) Ai(c) Jc(c) ">
<span class="Fz(12px) Mend(6px) Fw(700)">made with</span>
<a href="/">
<img class="W(55px)" src="/static/assets/imgs/Group%2016837.png" alt="">
</a>
</div>
</footer>
<footer style="background-color: #404040;margin-left: -16px;margin-right: -16px;">
</footer>
</div>
</div>
<script defer src="https://static.cloudflareinsights.com/beacon.min.js/vb26e4fa9e5134444860be286fd8771851679335129114" integrity="sha512-M3hN/6cva/SjwrOtyXeUa5IuCT0sedyfT+jK/OV+s+D0RnzrTfwjwJHhd+wYfMm9HJSrZ1IKksOdddLuN6KOzw==" data-cf-beacon='{"rayId":"7b065c075b37368b","version":"2023.3.0","b":1,"token":"ad502c1d6bbd448e8dd6faf83b76bd4d","si":100}' crossorigin="anonymous"></script>
</body>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/feather-icons/4.28.0/feather.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/js/bootstrap.bundle.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/perfect-scrollbar/1.5.2/perfect-scrollbar.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.13/js/select2.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.19.3/jquery.validate.min.js" type="text/javascript"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/micromodal/0.4.10/micromodal.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/cropperjs/1.5.12/cropper.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.blockUI/2.70/jquery.blockUI.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui-touch-punch/0.2.3/jquery.ui.touch-punch.min.js" type="text/javascript"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/paginationjs/2.1.5/pagination.min.js"></script>
<script src="https://momentjs.com/downloads/moment.js"></script>
<script src="https://momentjs.com/downloads/moment-timezone-with-data.js"></script>
<script src="/static/lib/toast/toastme.js"></script>
<script src="/static/assets/plugins/toast/toast.min.js"></script>
<script src="/static/lib/js/script.js"></script>
<script type="text/javascript">
fn_menu_dropdown = function()
{
// toggle settings modal
let isClose = true;
dataSettingMenu = document.querySelector('[data-setting-menu]')
dataSettingMenu&&dataSettingMenu.addEventListener('click', (e) => {
document.querySelector('[data-drp]').classList.toggle('Rotate(180deg)');
if (isClose) {
isClose = false;
MicroModal.show('modal-3');
document.body.style.overflowY = 'hidden';
}else {
isClose = true;
MicroModal.close('modal-3');
document.body.style.overflowY = 'scroll';
}
});
}
fn_menu_dropdown();
</script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-JCJXJFJXTK"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-JCJXJFJXTK');
</script>
<script>
const userPackage = {"end_date": "Fri, 31 Mar 2023 12:58:15 GMT", "level": 0, "package_details": [{"package_id": "60861650e534fe6ce1129c7a-3036-58", "product_code": "MAX-LIMIT-UPLOAD", "product_data": 1, "product_description": "Max 1gb size per file", "product_name": "MAX LIMIT UPLOAD"}], "package_id": "60861650e534fe6ce1129c7a-3036-58", "package_name": "Free package", "start_date": "Fri, 31 Mar 2023 12:58:15 GMT", "status": "FREE"};
const tab_active = "";
$('script').each(function (e) {
if ($(this).attr('src') != undefined && $(this).attr('src').lastIndexOf('jquery') == -1) {
var old_src = $(this).attr('src');
var that = $(this);
$(this).attr('src', '');
setTimeout(function () {
that.attr('src', old_src + '?' + new Date().getTime());
}, 250);
}
});
if (tab_active) {
document.getElementById(tab_active)&&document.getElementById(tab_active).classList.remove("Bdb($c3):h","C(#2ab57d):h");
document.getElementById(tab_active)&&document.getElementById(tab_active).classList.add("Bdb($c3)","C(#2ab57d)");
}
MicroModal.init();
</script>
<script>
MicroModal.init({
onClose: (modal, param) => {
// MicroModal.show('modal-1');
}
});
let tif;
function showModalEdit(t, e) {
tif = e.target.id;
MicroModal.close('modal-1');
MicroModal.show('modal-2');
}
function showModalvApply(t, e) {
MicroModal.close('modal-1');
MicroModal.show('modal-7');
}
function closeModalEdit(t, e) {
MicroModal.close('modal-1');
}
function showCart() {
MicroModal.close('modal-2');
MicroModal.show('modal-1');
}
</script>
<script type='module'>sp.addToCart.token = ".eJwFwUEOgCAMBMC_cG8C220BfwMUE88e1b8786T7inSkoh2rDwhRq3DDZaA1mXmwZ-PaYa9rRBkIarZ-6lQSvq1IVaeYka5ASd8PwnMVgA.ZCZ2dw.4cKpBI2S0zfj7b3aRLP6KDiPePc";</script>
<script async src="https://www.tiktok.com/embed.js"></script>
<script src="/static/assets/js/toggle-details.js" defer></script>
<script type="module" src="/static/assets/js/module/Profile.js"></script>
<script>
const counterInput = document.querySelector('[data-counter-input]');
const counterEl = document.querySelector('[data-counter]');
const subtractEl = document.querySelector('[data-counter-sub]');
counterEl ? counterEl.textContent = counterInput.value : '';
function add(add, el) {
let convertToNumber = parseInt(counterInput.value);
const x = false;
const max = +'12';
if (add && convertToNumber >= max && !x) {
alert("You've Reached the Max Quantity Limit");
}else{
add ? convertToNumber += 1 : convertToNumber -= 1;
if (convertToNumber<=0){
convertToNumber = 1;
counterInput.value = 1;
counterEl.value = 1;
} else {
convertToNumber <= 1 ? subtractEl.classList.add('Op(0.5)') : subtractEl.classList.remove('Op(0.5)');
counterInput.value = convertToNumber;
counterEl.value = counterInput.value;
};
};
};
function changeInput(e) {
e.value = !!e.value && Math.abs(e.value) >= 1 ? Math.abs(e.value) : null;
counterInput.value = e.value;
counterEl.value = e.value;
};
$('[data-counter]').focusout((e)=>{
if (e.target.value<= 0) {
e.target.value = 1;
counterInput.value = 1;
counterEl.value = counterInput.value;
}
});
ajaxServerCallPost(e => {}, "POST", "/v1/analytics/visitor-counter", { pkey: $("#fk_store_id").val(), info: visitorinfo }, true)
function thousandSeparator(data) {
const nf = new Intl.NumberFormat();
const spanEl = document.querySelectorAll(`[${data}]`);
spanEl.forEach(el => {
let formated = nf.format(el.textContent);
isNaN(parseInt(formated)) ? spanEl.textContent : el.textContent = formated;
});
};
thousandSeparator('data-price');
function ajaxServerCallPost(callback_func, method, url, data, bool){
let csrf_token = $("#csrf_token").val() ;
_g_jqxhr = $.ajax({
url : url,
method : method,
data : JSON.stringify(data),
dataType : "json",
contentType: "application/json; charset=utf-8",
dataType: 'json',
beforeSend: function(xhr, settings) {
if (!/^(GET|HEAD|OPTIONS|TRACE)$/i.test(settings.type) && !this.crossDomain) {
xhr.setRequestHeader("X-CSRFToken", csrf_token);
}
},
success: function(response,request){
callback_func(response);
},
error: function(response){
callback_func(response);
}
});
}
function incrementPageViews(pkey) {
let csrf_token = $("#csrf_token").val();
ajaxServerCallPost(
function(response) {
},
"POST",
"/v1/analytics/page-views/increment",
{ pkey: pkey },
true
);
}
function incrementPageLinkViews(pkey) {
let csrf_token = $("#csrf_token").val();
ajaxServerCallPost(
function(response) {
},
"POST",
"/v1/analytics/page-link-views/increment",
{ pkey: pkey },
true
);
}
function resetContactForm() {
document.getElementById('csrf_token').value = ""
document.getElementById('fullname').value = ""
document.getElementById('contact').value = ""
document.getElementById('custom_field').value = ""
document.getElementById('fk_block_id').value = ""
}
function validateEmail() {
var contact = document.getElementById('contact').value
const regx = new RegExp('^([a-zA-Z0-9\._]+)@([a-zA-Z0-9])+.([a-z]+)(.[a-z]+)?$');
if(regx.test(contact)){
return true
}
else{
alert("Sorry invalid Email Format")
document.getElementById('contact').value = ""
return false
}
}
// FOR EMAIL_SMS - SAVE CONTACT / SUBSCRIBE
function saveContact() {
const csrf_token = document.getElementById('csrf_token').value
const contact = document.getElementById('contact').value
const fk_block_id = document.getElementById('fk_block_id').value
// CAN BE EMPTY
const fullnameEle = document.getElementById("fullname");
if(fullnameEle){
var fullname = fullnameEle.value;
}
else{
var fullname = ""
}
const customFieldEle = document.getElementById("custom_field");
if(customFieldEle){
var custom_field = customFieldEle.value;
}
else{
var custom_field = ""
}
// CHECK CONTACT TYPE IF EMAIL OR SMS
// IF EMAIL GO TO THE VALIDATION
var contactType = document.getElementById('contact').type
var isValidated = true
if(contactType == "email"){
var isValidated = validateEmail();
}
if(isValidated == true){
ajaxServerCallPost(
function(response) {
},
"POST",
"/contact/add",
{
csrf_token : csrf_token,
fullname : fullname,
contact : contact,
custom_field : custom_field,
fk_block_id : fk_block_id
},
true
);
MicroModal.show('modalContact');
}
}
function reloadPage() {
location.reload();
}
</script>
</html>