You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
125 KiB

5 years ago
var QCLogin=function(t){function e(n){if(i[n])return i[n].exports;var o=i[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var i={};return e.m=t,e.c=i,e.p="//<%=CSS_DOMAIN%>/qcloud/main/scripts/",e(0)}({0:function(t,e,i){"use strict";t.exports=i("YIfu")},"+dHT":function(t,e,i){"use strict";var n=i("WPtr"),o=n.get("language")||"zh";"zh"!=o&&(o="en");var s="https://ssl.captcha.qq.com/TCaptcha.js",r=function(t){if(window.TencentCaptcha)return t();var e=document.createElement("script"),i=!1,n=function(e){var n=setInterval(function(){if(window.TencentCaptcha){if(clearInterval(n),i)return;i=!0,t(e)}},50)};e.addEventListener?e.addEventListener("load",function(){n()},!1):e.attachEvent&&e.attachEvent("onreadystatechange",function(){4!=e.readyState&&"complete"!=e.readyState&&"loaded"!=e.readyState||n()}),e.src=s,document.head.appendChild(e),setTimeout(function(){i||(i=!0,n({ret:9999}))},8e3)};t.exports={getAppid:function(){return location.host.indexOf("qcloud.com")>-1?"en"==o?"2067090065":"2042382584":location.host.indexOf("cloud.tencent.com")>-1?"en"==o?"2009899766":"2006043797":void 0},verify:function(t){var e=$.Deferred(),i=this.getAppid(),n={};"zh"!=o&&""!=o&&(n={needFeedBack:!1,forceLang:"en"});var s=function(t){if(t&&0==t.ret){var n={ticket:t.ticket,captchaAppId:i,randstr:t.randstr};e.resolve(n)}else e.reject(t)},a=function(){t?(n.type="embed",new TencentCaptcha(t,i,s,n).show()):new TencentCaptcha(i,s,n).show()};return window.TencentCaptcha?a(e):r(function(t){t?e.resolve(t):a(e)}),e.promise()}}},WPtr:function(t,e,i){var n,o;"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(s){n=s,o="function"==typeof n?n.call(e,i,e,t):n,!(void 0!==o&&(t.exports=o))}(function(){function t(){for(var t=0,e={};t<arguments.length;t++){var i=arguments[t];for(var n in i)e[n]=i[n]}return e}function e(i){function n(e,o,s){var r;if("undefined"!=typeof document){if(arguments.length>1){if(s=t({path:"/"},n.defaults,s),"number"==typeof s.expires){var a=new Date;a.setMilliseconds(a.getMilliseconds()+864e5*s.expires),s.expires=a}try{r=JSON.stringify(o),/^[\{\[]/.test(r)&&(o=r)}catch(t){}return o=i.write?i.write(o,e):encodeURIComponent(String(o)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=encodeURIComponent(String(e)),e=e.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent),e=e.replace(/[\(\)]/g,escape),document.cookie=[e,"=",o,s.expires&&"; expires="+s.expires.toUTCString(),s.path&&"; path="+s.path,s.domain&&"; domain="+s.domain,s.secure?"; secure":""].join("")}e||(r={});for(var c=document.cookie?document.cookie.split("; "):[],h=/(%[0-9A-Z]{2})+/g,l=0;l<c.length;l++){var u=c[l].split("="),d=u.slice(1).join("=");'"'===d.charAt(0)&&(d=d.slice(1,-1));try{var p=u[0].replace(h,decodeURIComponent);if(d=i.read?i.read(d,p):i(d,p)||d.replace(h,decodeURIComponent),this.json)try{d=JSON.parse(d)}catch(t){}if(e===p){r=d;break}e||(r[p]=d)}catch(t){}}return r}}return n.set=n,n.get=function(t){return n(t)},n.getJSON=function(){return n.apply({json:!0},[].slice.call(arguments))},n.defaults={},n.remove=function(e,i){n(e,"",t(i,{expires:-1}))},n.withConverter=e,n}return e(function(){})})},"4G7m":function(t,e,i){"use strict";var n=i("M34W"),o=n.getRealHostname(),s=n.getQcmainHostname(),r=i("3but").getCDNDomain(),a={encrypt:!0,encryptPublicKey:"-----BEGIN PUBLIC KEY-----\t\t\t\t\t\t\tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDmRjZFlLX9akll+2dCdtN5ehDx\t\t\t\t\t\t\tPvmWes3kchShI1FafeorF+LWm5oK2YJFTpzA9WO2Xod1Q1FUrt82bjfYRHDfoerJ\t\t\t\t\t\t\t6rjMtjgXnDAYsk6nbhefibbQzYzxNA62yc6TbpUvRi+SosLfGQifqwtu/6OBMoka\t\t\t\t\t\t\tgLvbujKFpAfb9cfGewIDAQAB\t\t\t\t\t\t\t-----END PUBLIC KEY-----",hide_close_icon:1,enable_qq:1,enable_qcloud:1,hide_register:0,login_css:"https://"+r+"/open_proj/proj_qcloud_v2/gateway/login-regist/login/pc/css/login-20199031724.css?t=20190910",qcloud_login_url:"https://"+o+"/login/ajax/",qcloud_post_proxy:"https://"
o.length=(t>>3)+1,e.nextBytes(o),s>0?o[0]&=(1<<s)-1:o[0]=0,this.fromString(o,256)}}function et(){var t=this.t,e=new Array;e[0]=this.s;var i,n=this.DB-t*this.DB%8,o=0;if(t-- >0)for(n<this.DB&&(i=this[t]>>n)!=(this.s&this.DM)>>n&&(e[o++]=i|this.s<<this.DB-n);t>=0;)n<8?(i=(this[t]&(1<<n)-1)<<8-n,i|=this[--t]>>(n+=this.DB-8)):(i=this[t]>>(n-=8)&255,n<=0&&(n+=this.DB,--t)),0!=(128&i)&&(i|=-256),0==o&&(128&this.s)!=(128&i)&&++o,(o>0||i!=this.s)&&(e[o++]=i);return e}function it(t){return 0==this.compareTo(t)}function nt(t){return this.compareTo(t)<0?this:t}function ot(t){return this.compareTo(t)>0?this:t}function st(t,e,i){var n,o,s=Math.min(t.t,this.t);for(n=0;n<s;++n)i[n]=e(this[n],t[n]);if(t.t<this.t){for(o=t.s&this.DM,n=s;n<this.t;++n)i[n]=e(this[n],o);i.t=this.t}else{for(o=this.s&this.DM,n=s;n<t.t;++n)i[n]=e(o,t[n]);i.t=t.t}i.s=e(this.s,t.s),i.clamp()}function rt(t,e){return t&e}function at(t){var e=n();return this.bitwiseTo(t,rt,e),e}function ct(t,e){return t|e}function ht(t){var e=n();return this.bitwiseTo(t,ct,e),e}function lt(t,e){return t^e}function ut(t){var e=n();return this.bitwiseTo(t,lt,e),e}function dt(t,e){return t&~e}function pt(t){var e=n();return this.bitwiseTo(t,dt,e),e}function ft(){for(var t=n(),e=0;e<this.t;++e)t[e]=this.DM&~this[e];return t.t=this.t,t.s=~this.s,t}function gt(t){var e=n();return t<0?this.rShiftTo(-t,e):this.lShiftTo(t,e),e}function mt(t){var e=n();return t<0?this.lShiftTo(-t,e):this.rShiftTo(t,e),e}function vt(t){if(0==t)return-1;var e=0;return 0==(65535&t)&&(t>>=16,e+=16),0==(255&t)&&(t>>=8,e+=8),0==(15&t)&&(t>>=4,e+=4),0==(3&t)&&(t>>=2,e+=2),0==(1&t)&&++e,e}function wt(){for(var t=0;t<this.t;++t)if(0!=this[t])return t*this.DB+vt(this[t]);return this.s<0?this.t*this.DB:-1}function bt(t){for(var e=0;0!=t;)t&=t-1,++e;return e}function yt(){for(var t=0,e=this.s&this.DM,i=0;i<this.t;++i)t+=bt(this[i]^e);return t}function xt(t){var e=Math.floor(t/this.DB);return e>=this.t?0!=this.s:0!=(this[e]&1<<t%this.DB)}function Tt(t,e){var n=i.ONE.shiftLeft(t);return this.bitwiseTo(n,e,n),n}function St(t){return this.changeBit(t,ct)}function _t(t){return this.changeBit(t,dt)}function Et(t){return this.changeBit(t,lt)}function Rt(t,e){for(var i=0,n=0,o=Math.min(t.t,this.t);i<o;)n+=this[i]+t[i],e[i++]=n&this.DM,n>>=this.DB;if(t.t<this.t){for(n+=t.s;i<this.t;)n+=this[i],e[i++]=n&this.DM,n>>=this.DB;n+=this.s}else{for(n+=this.s;i<t.t;)n+=t[i],e[i++]=n&this.DM,n>>=this.DB;n+=t.s}e.s=n<0?-1:0,n>0?e[i++]=n:n<-1&&(e[i++]=this.DV+n),e.t=i,e.clamp()}function kt(t){var e=n();return this.addTo(t,e),e}function Lt(t){var e=n();return this.subTo(t,e),e}function Ct(t){var e=n();return this.multiplyTo(t,e),e}function Dt(){var t=n();return this.squareTo(t),t}function Jt(t){var e=n();return this.divRemTo(t,e,null),e}function It(t){var e=n();return this.divRemTo(t,null,e),e}function At(t){var e=n(),i=n();return this.divRemTo(t,e,i),new Array(e,i)}function Ut(t){this[this.t]=this.am(0,t-1,this,0,0,this.t),++this.t,this.clamp()}function Bt(t,e){if(0!=t){for(;this.t<=e;)this[this.t++]=0;for(this[e]+=t;this[e]>=this.DV;)this[e]-=this.DV,++e>=this.t&&(this[this.t++]=0),++this[e]}}function Ot(){}function Mt(t){return t}function qt(t,e,i){t.multiplyTo(e,i)}function Pt(t,e){t.squareTo(e)}function $t(t){return this.exp(t,new Ot)}function Nt(t,e,i){var n=Math.min(this.t+t.t,e);for(i.s=0,i.t=n;n>0;)i[--n]=0;var o;for(o=i.t-this.t;n<o;++n)i[n+this.t]=this.am(0,t[n],i,n,0,this.t);for(o=Math.min(t.t,e);n<o;++n)this.am(0,t[n],i,n,0,e-n);i.clamp()}function Kt(t,e,i){--e;var n=i.t=this.t+t.t-e;for(i.s=0;--n>=0;)i[n]=0;for(n=Math.max(e-this.t,0);n<t.t;++n)i[this.t+n-e]=this.am(e-n,t[n],i,0,0,this.t+n-e);i.clamp(),i.drShiftTo(1,i)}function Vt(t){this.r2=n(),this.q3=n(),i.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t),this.m=t}function jt(t){if(t.s<0||t.t>2*this.m.t)return t.mod(this.m);if(t.compareTo(this.m)<0)return t;var e=n();return t.copyTo(e),this.reduce(e),e}function Qt(t){return t}function Wt(t){for(t.drShiftTo(this.m.t-1,this.r2),t.t>this.m.t+1&&(t.t=this.m.t+1,t.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),t
* @fileOverview
* @name asn1-1.0.js
* @author Kenji Urushima kenji.urushima@gmail.com
* @version 1.0.2 (2013-May-30)
* @since 2.1
* @license <a href="http://kjur.github.io/jsrsasign/license/">MIT License</a>
*/
"undefined"!=typeof KJUR&&window.KJUR||(window.KJUR={}),"undefined"!=typeof KJUR.asn1&&KJUR.asn1||(KJUR.asn1={}),KJUR.asn1.ASN1Util=new function(){this.integerToByteHex=function(t){var e=t.toString(16);return e.length%2==1&&(e="0"+e),e},this.bigIntToMinTwosComplementsHex=function(t){var e=t.toString(16);if("-"!=e.substr(0,1))e.length%2==1?e="0"+e:e.match(/^[0-7]/)||(e="00"+e);else{var n=e.substr(1),o=n.length;o%2==1?o+=1:e.match(/^[0-7]/)||(o+=2);for(var s="",r=0;r<o;r++)s+="f";var a=new i(s,16),c=a.xor(t).add(i.ONE);e=c.toString(16).replace(/^-/,"")}return e},this.getPEMStringFromHex=function(t,e){var i=CryptoJS.enc.Hex.parse(t),n=CryptoJS.enc.Base64.stringify(i),o=n.replace(/(.{64})/g,"$1\r\n");return o=o.replace(/\r\n$/,""),"-----BEGIN "+e+"-----\r\n"+o+"\r\n-----END "+e+"-----\r\n"}},KJUR.asn1.ASN1Object=function(){var t="";this.getLengthHexFromValue=function(){if("undefined"==typeof this.hV||null==this.hV)throw"this.hV is null or undefined.";if(this.hV.length%2==1)throw"value hex must be even length: n="+t.length+",v="+this.hV;var e=this.hV.length/2,i=e.toString(16);if(i.length%2==1&&(i="0"+i),e<128)return i;var n=i.length/2;if(n>15)throw"ASN.1 length too long to represent by 8x: n = "+e.toString(16);var o=128+n;return o.toString(16)+i},this.getEncodedHex=function(){return(null==this.hTLV||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""}},KJUR.asn1.DERAbstractString=function(t){KJUR.asn1.DERAbstractString.superclass.constructor.call(this);this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=stohex(this.s)},this.setStringHex=function(t){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=t},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof t&&("undefined"!=typeof t.str?this.setString(t.str):"undefined"!=typeof t.hex&&this.setStringHex(t.hex))},Ke.extend(KJUR.asn1.DERAbstractString,KJUR.asn1.ASN1Object),KJUR.asn1.DERAbstractTime=function(t){KJUR.asn1.DERAbstractTime.superclass.constructor.call(this);this.localDateToUTC=function(t){utc=t.getTime()+6e4*t.getTimezoneOffset();var e=new Date(utc);return e},this.formatDate=function(t,e){var i=this.zeroPadding,n=this.localDateToUTC(t),o=String(n.getFullYear());"utc"==e&&(o=o.substr(2,2));var s=i(String(n.getMonth()+1),2),r=i(String(n.getDate()),2),a=i(String(n.getHours()),2),c=i(String(n.getMinutes()),2),h=i(String(n.getSeconds()),2);return o+s+r+a+c+h+"Z"},this.zeroPadding=function(t,e){return t.length>=e?t:new Array(e-t.length+1).join("0")+t},this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=stohex(this.s)},this.setByDateValue=function(t,e,i,n,o,s){var r=new Date(Date.UTC(t,e-1,i,n,o,s,0));this.setByDate(r)},this.getFreshValueHex=function(){return this.hV}},Ke.extend(KJUR.asn1.DERAbstractTime,KJUR.asn1.ASN1Object),KJUR.asn1.DERAbstractStructured=function(t){KJUR.asn1.DERAbstractString.superclass.constructor.call(this);this.setByASN1ObjectArray=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array=t},this.appendASN1Object=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array.push(t)},this.asn1Array=new Array,"undefined"!=typeof t&&"undefined"!=typeof t.array&&(this.asn1Array=t.array)},Ke.extend(KJUR.asn1.DERAbstractStructured,KJUR.asn1.ASN1Object),KJUR.asn1.DERBoolean=function(){KJUR.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"},Ke.extend(KJUR.asn1.DERBoolean,KJUR.asn1.ASN1Object),KJUR.asn1.DERInteger=function(t){KJUR.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=KJUR.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)},this.setByInteger=function(t){var e=new i(String(t),10);this.setByBigInteger(e)},this.setValueHex=function(t){this.hV=t},this.getFreshValueHex=function(){retur
i.switchLoginType(i._currentLoginType)),setTimeout(function(){i.doCheckLogin()},3e3))},bindEvents:function(){var t=this;t.switchLoginType(t._currentLoginType),t.$loginbox.find(".J-loginBtn").off().on("click",function(){t.sendLoginRequest()}),t.$loginbox.find(".J-changeVCode").off().on("click",function(){t._setVCodeImgUrl()}),t.$loginbox.find(".J-loginForm input").off().on("blur",function(){a.hideInputErrorTip(this),a.hidePromptTip(this)}).on("keypress",function(t){a.hideInputErrorTip(this),$(this).hasClass("J-password")&&a.capslock(t)&&a.showPromptTip(this,"\u952e\u76d8\u5927\u5199\u9501\u5b9a\u5df2\u6253\u5f00\uff0c\u8bf7\u6ce8\u610f")}),t.$loginbox.on("keyup",".J-password",function(t){20==(t.which||t.keyCode)&&a.hidePromptTip()}),t.$loginbox.find(".J-password, .J-vcodeInput").off("keydown").on("keydown",function(e){10!=e.which&&13!=e.which||t.sendLoginRequest()}),t.$loginbox.find(".J-closeLoginBox").off().on("click",function(){t.hideLoginBox()}),t.$loginbox.find(".J-link").off().on("click",function(){var e=$(this);return"wxBreak"==e.attr("data-action")?d.isSupportWxOauth()?t._redirect($(this).attr("href")):d.showWxNotSupportGuide():t._redirect($(this).attr("href")),!1}),t.$loginbox.find(".J-btnSwitchLoginType").off().on("click",function(e){e.preventDefault();var i=$(this).data("type");t.switchLoginType(i)}),t.$loginbox.on("click",".J-loginTab",function(){var e=$(this),i=e.data("type");e.addClass("actived").siblings().removeClass("actived"),"wx"===i?(t.$loginbox.find(".J-wxModContaner").show(),t.$loginbox.find(".J-weworkModContaner").hide()):(t.$loginbox.find(".J-wxModContaner").hide(),t.$loginbox.find(".J-weworkModContaner").show()),t.switchLoginType(i)}),"wework"===this._currentLoginType&&$('.J-loginTab[data-type="wework"]').trigger("click"),!t.opts.hide_close_icon&&t.$loginmask&&t.$loginmask.off().on("click",function(){t.hideLoginBox()}),a.isMobile()||t.opts.hideMailSuggest||new c({input:t.$loginbox.find(".J-username"),suggest:t.$loginbox.find(".J-mailSuggest")}),t.$loginbox.on("click",".J-switchChineseLogin",function(){n.remove("intl",{domain:h.getCookieDomain(),path:"/"}),t.logout(),t._redirect("https://cloud.tencent.com/login?s_url="+encodeURIComponent(t.opts.s_url))}),t.$loginbox.on("click",".J-switchIntlLogin",function(){t.logout(),t._redirect("https://intl.cloud.tencent.com/login?s_url="+encodeURIComponent(t.opts.s_url))}),t.$loginbox.on("click",".J-switchQQLogin",function(){a.saveLoginTypeInLocal("qq"),t.redirectToQQConnect()}),t.$loginbox.find(".J-loginContinue").off().on("click",function(){t.stopCheckLogin=!0,t.$loginbox.find(".J-otherMod").show(),t.switchLoginType(t._currentLoginType)}),t.$loginbox.find(".J-loginedInfo .J-btn").off().on("click",function(){t._redirect(t.opts.s_url)}),t.$loginbox.find(".J-subAccountLogin").off().on("click",function(){t.logout();var e=t.opts.subaccount_url+"?s_url="+encodeURIComponent(t.opts.s_url);t._redirect(e)}),t.$loginbox.on("click",".J-forgetPsw",function(){t._redirect(t.opts.forgetpwd_url)}),t.$loginbox.on("click",".J-forgetAccount",function(){t._redirect(t.opts.forget_account_url)}),t.$loginbox.on("click",".J-reloadWX",function(){t.$loginbox.find("#wxFrame").attr("src",t._getWXQrcodeUrl()).show()}),t.$loginbox.on("click",".J-reloadWework",function(){t.$loginbox.find("#weworkFrame").attr("src",t._getWeworkLoginUrl()).show()}),t.$loginbox.on("click",".J-backToMainMod a",function(){t._leaveEmailMod();var e=t.$loginbox.find(".J-loginTab.actived").data("type")||"wx";t.switchLoginType(e)}),$(".J-openToWXLink").off().on("click",function(){window.open(t._getWXLoginUrl())}),t.doCheckLogin()},sendLoginRequest:function(t){var e=this,i=a.checkLoginForm();i&&(i.action="login",e.opts.isThirdParty||(i.areaType=e.opts.isIntl?2:1),t&&(i=$.extend(i,t)),e.$loginbox.find(".J-loginBtn").hide().next("a").show(),l==location.host&&location.protocol.indexOf("https")!=-1?$.ajax({url:this.opts.qcloud_login_url,data:JSON.stringify(i||{}),method:"POST",type:"POST",timeout:2e4,contentType:"application/json; charset=UTF-8"}).always(function(t){e.loginReturnHandle(t)}):a.proxyPost({url:this.opts.qcl
* UAParser.js v0.7.19
* Lightweight JavaScript-based User-Agent string parser
* https://github.com/faisalman/ua-parser-js
*
* Copyright © 2012-2016 Faisal Salman <fyzlman@gmail.com>
* Dual licensed under GPLv2 or MIT
*/
!function(s,r){var a="0.7.19",c="",h="?",l="function",u="undefined",d="object",p="string",f="major",g="model",m="name",v="type",w="vendor",b="version",y="architecture",x="console",T="mobile",S="tablet",_="smarttv",E="wearable",R="embedded",k={extend:function(t,e){var i={};for(var n in t)e[n]&&e[n].length%2===0?i[n]=e[n].concat(t[n]):i[n]=t[n];return i},has:function(t,e){return"string"==typeof t&&e.toLowerCase().indexOf(t.toLowerCase())!==-1},lowerize:function(t){return t.toLowerCase()},major:function(t){return("undefined"==typeof t?"undefined":o(t))===p?t.replace(/[^\d\.]/g,"").split(".")[0]:r},trim:function(t){return t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},L={rgx:function(t,e){for(var i,n,s,a,c,h,u=0;u<e.length&&!c;){var p=e[u],f=e[u+1];for(i=n=0;i<p.length&&!c;)if(c=p[i++].exec(t))for(s=0;s<f.length;s++)h=c[++n],a=f[s],("undefined"==typeof a?"undefined":o(a))===d&&a.length>0?2==a.length?o(a[1])==l?this[a[0]]=a[1].call(this,h):this[a[0]]=a[1]:3==a.length?o(a[1])!==l||a[1].exec&&a[1].test?this[a[0]]=h?h.replace(a[1],a[2]):r:this[a[0]]=h?a[1].call(this,h,a[2]):r:4==a.length&&(this[a[0]]=h?a[3].call(this,h.replace(a[1],a[2])):r):this[a]=h?h:r;u+=2}},str:function(t,e){for(var i in e)if(o(e[i])===d&&e[i].length>0){for(var n=0;n<e[i].length;n++)if(k.has(e[i][n],t))return i===h?r:i}else if(k.has(e[i],t))return i===h?r:i;return t}},C={browser:{oldsafari:{version:{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}}},device:{amazon:{model:{"Fire Phone":["SD","KF"]}},sprint:{model:{"Evo Shift 4G":"7373KT"},vendor:{HTC:"APA",Sprint:"Sprint"}}},os:{windows:{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2000:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"}}}},D={browser:[[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]+).+version\/([\w\.-]+)/i,/(opera).+version\/([\w\.]+)/i,/(opera)[\/\s]+([\w\.]+)/i],[m,b],[/(opios)[\/\s]+([\w\.]+)/i],[[m,"Opera Mini"],b],[/\s(opr)\/([\w\.]+)/i],[[m,"Opera"],b],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]*)/i,/(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?([\w\.]*)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(rekonq)\/([\w\.]*)/i,/(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon)\/([\w\.-]+)/i],[m,b],[/(konqueror)\/([\w\.]+)/i],[[m,"Konqueror"],b],[/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i],[[m,"IE"],b],[/(edge|edgios|edga)\/((\d+)?[\w\.]+)/i],[[m,"Edge"],b],[/(yabrowser)\/([\w\.]+)/i],[[m,"Yandex"],b],[/(puffin)\/([\w\.]+)/i],[[m,"Puffin"],b],[/(focus)\/([\w\.]+)/i],[[m,"Firefox Focus"],b],[/(opt)\/([\w\.]+)/i],[[m,"Opera Touch"],b],[/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[[m,"UCBrowser"],b],[/(comodo_dragon)\/([\w\.]+)/i],[[m,/_/g," "],b],[/(micromessenger)\/([\w\.]+)/i],[[m,"WeChat"],b],[/(brave)\/([\w\.]+)/i],[[m,"Brave"],b],[/(qqbrowserlite)\/([\w\.]+)/i],[m,b],[/(QQ)\/([\d\.]+)/i],[m,b],[/m?(qqbrowser)[\/\s]?([\w\.]+)/i],[m,b],[/(BIDUBrowser)[\/\s]?([\w\.]+)/i],[m,b],[/(2345Explorer)[\/\s]?([\w\.]+)/i],[m,b],[/(MetaSr)[\/\s]?([\w\.]+)/i],[m],[/(LBBROWSER)/i],[m],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[b,[m,"MIUI Browser"]],[/;fbav\/([\w\.]+);/i],[b,[m,"Facebook"]],[/safari\s(line)\/([\w\.]+)/i,/android.+(line)\/([\w\.]+)\/iab/i],[m,b],[/headlesschrome(?:\/([\w\.]+)|\s)/i],[b,[m,"Chrome Headless"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[m,/(.+)/,"$1 WebView"],b],[/((?:oculus|samsung)browser)\/([\w\.]+)/i],[[m,/(.+(?:g|us))(.+)/,"$1 $2"],b],[/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i],[b,[m,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],[m,b],[/(dolfin)\/([\w\.]+)/i],[[m,"Dolphin"],b],[/((?:android.+)crmo|crios)\/([\w\.]+)/i],[[m,"Chrome"],b],[/(coast)\/([\w\.]+)/i],[[m,"Opera Coast"],b],[/fxios\/([\w\.-]+)/i],[b,[m,"Firefox"]],[/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i],[b,[m,"Mobile Safari"]],[/version\/([\w\.]+).+?(mobile\s?safari|safari)/i],[b,m],[/webkit.+?(gsa)\/([\w\.]+).+