CINXE.COM

<!DOCTYPE html> <html class=" "> <head><script type="text/javascript" src="/_static/js/bundle-playback.js?v=HxkREWBo" charset="utf-8"></script> <script type="text/javascript" src="/_static/js/wombat.js?v=txqj7nKC" charset="utf-8"></script> <script>window.RufflePlayer=window.RufflePlayer||{};window.RufflePlayer.config={"autoplay":"on","unmuteOverlay":"hidden"};</script> <script type="text/javascript" src="/_static/js/ruffle/ruffle.js"></script> <script type="text/javascript"> __wm.init("https://web.archive.org/web"); __wm.wombat("https://mp.weixin.qq.com/s?__biz=MzUxMjQ1NTYyMA==&amp;mid=2247526784&amp;idx=1&amp;sn=5a2679e4e5ed264710bcdf8b883ebbca&amp;chksm=f9660f2bce11863dd6fc131fd0e3ead63ea9bb536db60283b9962e017dfa878d45f4fc4e8e5c&amp;mpshare=1&amp;scene=23&amp;srcid=0513peYjGlnxWnOZiEz4pcbc&amp;sharer_shareinfo=e38553e9869fb684ce6edfeafb27a08d&amp;sharer_shareinfo_first=e38553e9869fb684ce6edfeafb27a08d","20240514130121","https://web.archive.org/","web","/_static/", "1715691681"); </script> <link rel="stylesheet" type="text/css" href="/_static/css/banner-styles.css?v=S1zqJCYt" /> <link rel="stylesheet" type="text/css" href="/_static/css/iconochive.css?v=3PDvdIFv" /> <!-- End Wayback Rewrite JS Include --> <meta name="wechat-enable-text-zoom-em" content="true"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="color-scheme" content="light dark"> <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0,viewport-fit=cover"> <link rel="shortcut icon" type="image/x-icon" href="//web.archive.org/web/20240514130121im_/https://res.wx.qq.com/a/wx_fed/assets/res/NTI4MWU5.ico" reportloaderror> <link rel="mask-icon" href="//web.archive.org/web/20240514130121im_/https://res.wx.qq.com/a/wx_fed/assets/res/MjliNWVm.svg" color="#4C4C4C" reportloaderror> <link rel="apple-touch-icon-precomposed" href="//web.archive.org/web/20240514130121im_/https://res.wx.qq.com/a/wx_fed/assets/res/OTE0YTAw.png" reportloaderror> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="black"> <meta name="format-detection" content="telephone=no"> <meta name="referrer" content="origin-when-cross-origin"> <meta name="referrer" content="strict-origin-when-cross-origin"> <script nonce="1496042457" reportloaderror>try{document.getElementsByTagName('html').item(0).style.webkitTextSizeAdjust=JSON.parse(window.__wxWebEnv.getEnv()).fontScale+'%'}catch(e){}</script> <script type="text/javascript" nonce="1496042457" reportloaderror> window.logs = { pagetime: {} }; window.logs.pagetime['html_begin'] = (+new Date()); window.LANG = "zh_CN"; </script> <script type="text/javascript" nonce="1496042457" reportloaderror> var WX_BJ_REPORT = window.WX_BJ_REPORT || {}; (function(_) { if (_.BadJs) { return; } var BADJS_WIN_ERR = 'BadjsWindowError'; var extend = function(source, destination) { for (var property in destination) { source[property] = destination[property] } return source } _.BadJs = { uin: 0, mid: "", view: "wap", _cache: {}, _info: {}, _hookCallback: null, ignorePath: true, throw: function(e, extData) { this.onError(e, extData); throw e; }, onError: function(e, extData) { try { if (e.BADJS_EXCUTED == true) { return; } e.BADJS_EXCUTED = true; var data = errToData(e); data.uin = this.uin; data.mid = this.mid; data.view = this.view; data.cmdb_module = 'mmbizwap'; if (!!extData) { data = extend(data, extData); } if (data.cid) { data.key = "[" + data.cid + "]:" + data.key; } if (data._info) { if (Object.prototype.toString.call(data._info) == "[object Object]") { data.msg += " || info:" + JSON.stringify(data._info); } else if (Object.prototype.toString.call(data._info) == "[object String]") { data.msg += " || info:" + data._info; } else { data.msg += " || info:" + data._info; } } if (typeof this._hookCallback == "function") { if (this._hookCallback(data) === false) { return } } this._send(data); return _.BadJs; } catch (e) { console.error(e); } }, winErr: function(event) { if (event.error && event.error.BADJS_EXCUTED) { return; } if (event.type === 'unhandledrejection') { _.BadJs.onError(createError(event.type, typeof event.reason === 'object' ? JSON.stringify(event.reason) : event.reason, "", "", "", event.reason)); }else{ _.BadJs.onError(createError(BADJS_WIN_ERR, event.message, event.filename, event.lineno, event.colno, event.error)); } }, init: function(uin, mid, view) { this.uin = uin || this.uin; this.mid = mid || this.mid; this.view = view || this.view; return _.BadJs; }, hook: function(fn) { this._hookCallback = fn; return _.BadJs; }, _send: function(data) { if (!data.mid) { if (typeof window.PAGE_MID !== 'undefined' && window.PAGE_MID) { data.mid = window.PAGE_MID; } else { return; } } if (!data.uin) { data.uin = window.user_uin || 0; } var flag = [data.mid, data.name, data.key].join("|"); if (this._cache && this._cache[flag]) { return } else { this._cache && (this._cache[flag] = true); this._xhr(data); } return _.BadJs; }, _xhr: function(data) { var xmlobj; if (window.ActiveXObject) { try { xmlobj = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { xmlobj = new ActiveXObject("Microsoft.XMLHTTP"); } catch (E) { xmlobj = false; } } } else if (window.XMLHttpRequest) { xmlobj = new XMLHttpRequest(); } var param = ""; for (var key in data) { if (key && data[key]) { param += [key, "=", encodeURIComponent(data[key]), "&"].join(""); } } if (xmlobj && typeof xmlobj.open == "function") { xmlobj.open("POST", "https://web.archive.org/web/20240514130121/https://badjs.weixinbridge.com/report", true); xmlobj.setRequestHeader("Content-Type", "application/x-www-form-urlencoded; charset=UTF-8"); xmlobj.onreadystatechange = function(status) {}; xmlobj.send(param.slice(0, -1)); } else { var img = new Image(); img.src = "https://web.archive.org/web/20240514130121/https://badjs.weixinbridge.com/report?" + param; } }, report: function(name, key, data) { this.onError(createError(name, key), data); return this; }, mark: function(info) { this._info = extend(this._info, info); }, nocache: function() { this._cache = false; return _.BadJs; } } function createError(name, msg, url, line, col, error) { return { name: name || "", message: msg || "", file: url || "", line: line || "", col: col || "", stack: (error && error.stack) || "", } } function errToData(e) { var _stack = parseStack(e); return { name: e.name, key: e.message, msg: e.message, stack: _stack.info, file: _stack.file, line: _stack.line, col: _stack.col, client_version: "", _info: e._info } } function parseStack(e) { e._info = e._info || ""; var stack = e.stack || ""; var _stack = { info: stack, file: e.file || "", line: e.line || "", col: e.col || "", }; if (_stack.file == "") { var stackArr = stack.split(/\bat\b/); if (stackArr && stackArr[1]) { var match = /(https?:\/\/[^\n]+)\:(\d+)\:(\d+)/.exec(stackArr[1]); if (match) { if (match[1] && match[1] != _stack.file) { _stack.file && (e._info += " [file: " + _stack.file + " ]"); _stack.file = match[1]; } if (match[2] && match[2] != _stack.line) { _stack.line && (e._info += " [line: " + _stack.line + " ]"); _stack.line = match[2]; } if (match[3] && match[3] != _stack.col) { _stack.col && (e._info += " [col: " + _stack.col + " ]"); _stack.col = match[3]; } } } } if (_stack && _stack.file && _stack.file.length > 0) { _stack.info = _stack.info.replace(new RegExp(_stack.file.split("?")[0], "gi"), "__FILE__") } if (_.BadJs.ignorePath) { _stack.info = _stack.info.replace(/http(s)?\:[^:\n]*\//ig, "").replace(/\n/gi, ""); } return _stack; } window.addEventListener && window.addEventListener('error', _.BadJs.winErr); window.addEventListener && window.addEventListener('unhandledrejection', _.BadJs.winErr); return _.BadJs; })(WX_BJ_REPORT); window.WX_BJ_REPORT = WX_BJ_REPORT; function __moonf__() { if (window.__moonhasinit) return; window.__moonhasinit = true; window.__moonclientlog = []; if (typeof JSON != "object") { window.JSON = { stringify: function() { return ""; }, parse: function() { return {}; } }; } var moon_init = function() { (function() { var inWx = (/MicroMessenger/i).test(navigator.userAgent); var inMp = (/MPAPP/i).test(navigator.userAgent); var _idkey = 121261; var _startKey; var _limit; var _badjsId; var _reportOpt; var _extInfo; var MOON_AJAX_NETWORK_OFFSET = 4; window.__initCatch = function(opt) { _idkey = opt.idkey; _startKey = opt.startKey || 0; _limit = opt.limit; _badjsId = opt.badjsId; _reportOpt = opt.reportOpt || ""; _extInfo = opt.extInfo || {}; _extInfo.rate = _extInfo.rate || 0.5; } window.__moon_report = function(array, rate_opt) { var isAcrossOrigin = false; var href = ''; try { href = top.location.href; } catch (e) { isAcrossOrigin = true; } var rate = 0.5; if (!!_extInfo && !!_extInfo.rate) { rate = _extInfo.rate; } if (!!rate_opt && (typeof rate_opt == 'number')) { rate = rate_opt; } if ( (!(/mp\.weixin\.qq\.com/).test(location.href) && !(/payapp\.weixin\.qq\.com/).test(location.href)) || Math.random() > rate || !(inWx || inMp) || (top != window && !isAcrossOrigin && !(/mp\.weixin\.qq\.com/).test(href)) ) { } if (isObject(array)) array = [array]; if (!isArray(array) || _idkey == '') return; var data = ""; var log = []; var key = []; var val = []; var idkey = []; if (typeof _limit != "number") { _limit = Infinity; } for (var i = 0; i < array.length; i++) { var item = array[i] || {}; if (item.offset > _limit) continue; if (typeof item.offset != "number") continue; if (item.offset == MOON_AJAX_NETWORK_OFFSET && !!_extInfo && !!_extInfo.network_rate && Math.random() >= _extInfo.network_rate) { continue; } var k = _limit == Infinity ? _startKey : (_startKey + item.offset); log[i] = (("[moon]" + _idkey + "_" + k + ";") + item.log + ";" + getErrorMessage(item.e || {})) || ""; key[i] = k; val[i] = 1; } for (var j = 0; j < key.length; j++) { idkey[j] = _idkey + "_" + key[j] + "_" + val[j]; data = data + "&log" + j + "=" + log[j]; } if (idkey.length > 0) { sendReport("POST", location.protocol + '//web.archive.org/web/20240514130121/https://mp.weixin.qq.com/mp/jsmonitor?', "idkey=" + idkey.join(";") + "&r=" + Math.random() + "&lc=" + log.length + data); var rate = 1; if (_extInfo && _extInfo.badjs_rate) { rate = _extInfo.badjs_rate; } if (Math.random() < rate) { data = data.replace(/uin\:(.)*\|biz\:(.)*\|mid\:(.)*\|idx\:(.)*\|sn\:(.)*\|/, ''); if(!!_badjsId){ var _img = new Image(); var _src = 'https://web.archive.org/web/20240514130121/https://badjs.weixinbridge.com/badjs?id=' + _badjsId + '&level=4&from=' + encodeURIComponent(location.host) + '&msg=' + encodeURIComponent(data); _img.src = _src.slice(0, 1024); } if (typeof WX_BJ_REPORT != "undefined" && WX_BJ_REPORT.BadJs) { for (var i = 0; i < array.length; i++) { var item = array[i] || {}; if (item.e) { WX_BJ_REPORT.BadJs.onError(item.e,{_info:item.log}); } else { var name = /[^:;]*/.exec(item.log)[0]; WX_BJ_REPORT.BadJs.report(name, item.log, { mid: "mmbizwap:Monitor" }); } } } } else { for (var i = 0; i < array.length; i++) { var item = array[i] || {}; if (item.e) { item.e.BADJS_EXCUTED = true; } } } } } function isArray(obj) { return Object.prototype.toString.call(obj) === '[object Array]'; } function isObject(obj) { return Object.prototype.toString.call(obj) === '[object Object]'; } function getErrorMessage(e) { var stack = e.stack + ' ' + e.toString() || ""; try { if (!window.testenv_reshost) { stack = stack.replace(/http(s)?:\/\/res\.wx\.qq\.com/g, ""); } else { var host = 'http(s)?://' + window.testenv_reshost; var reg = new RegExp(host, 'g'); stack = stack.replace(reg, ""); } var reg = /\/([^.]+)\/js\/(\S+?)\.js(\,|:)?/g; while (reg.test(stack)) { stack = stack.replace(reg, function(a, b, c, d, e, f) { return c + d }); } } catch (e) { stack = e.stack ? e.stack : "" } var ret = []; for (o in _reportOpt) { if (_reportOpt.hasOwnProperty(o)) { ret.push(o + ":" + _reportOpt[o]); } } ret.push("STK:" + stack.replace(/\n/g, "")); return ret.join("|"); } function sendReport(type, url, data) { if (!/^mp\.weixin\.qq\.com$/.test(location.hostname)) { var tmp = []; data = data.replace(location.href, (location.origin || "") + (location.pathname || "")).replace("#wechat_redirect", "").replace("#rd", "").split("&"); for (var i = 0, il = data.length; i < il; i++) { var a = data[i].split("="); if (!!a[0] && !!a[1]) { tmp.push(a[0] + "=" + encodeURIComponent(a[1])); } } var _img = new window.Image(); _img.src = (url + tmp.join("&")).substr(0, 1024); return; } var xmlobj; if (window.ActiveXObject) { try { xmlobj = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { xmlobj = new ActiveXObject("Microsoft.XMLHTTP"); } catch (E) { xmlobj = false; } } } else if (window.XMLHttpRequest) { xmlobj = new XMLHttpRequest(); } if (!xmlobj) return; xmlobj.open(type, url, true); xmlobj.setRequestHeader("cache-control", "no-cache"); xmlobj.setRequestHeader("Content-Type", "application/x-www-form-urlencoded; charset=UTF-8"); xmlobj.setRequestHeader("X-Requested-With", "XMLHttpRequest"); xmlobj.send(data); } })(); }; moon_init(); (!!window.__moon_initcallback) && (window.__moon_initcallback()); } __moonf__(); if (!!window.addEventListener){ window.addEventListener("load",function(){ var MOON_SCRIPT_ERROR_KEY_OFFSET = 1; var ns = document.querySelectorAll("[reportloaderror]"); for(var ni=0,nl=ns.length;ni<nl;ni++) ns[ni].onerror=function(ev){ window.__moon_report([{ offset: MOON_SCRIPT_ERROR_KEY_OFFSET, log: "load_script_error:" + ev.target.src, e: new Error('LoadResError') }], 1); window.WX_BJ_REPORT.BadJs.report("load_script_error", ev.target.src, { mid: "mmbizwap:Monitor" }); }; }); } </script> <meta name="description" content=""/> <meta name="author" content=""/> <meta property="og:title" content="上海电气泰雷兹ATO+技术助力南京地铁机场线升级进入智能驾驶新时代"/> <meta property="og:url" content="https://web.archive.org/web/20240514130121/http://mp.weixin.qq.com/s?__biz=MzUxMjQ1NTYyMA==&amp;mid=2247526784&amp;idx=1&amp;sn=5a2679e4e5ed264710bcdf8b883ebbca&amp;chksm=f9660f2bce11863dd6fc131fd0e3ead63ea9bb536db60283b9962e017dfa878d45f4fc4e8e5c#rd"/> <meta property="og:image" content="https://web.archive.org/web/20240514130121im_/https://mmbiz.qpic.cn/mmbiz_jpg/ia1lPbzbhW7GMQvxicUGN5wqWQCLFKXegzeAvINaL7jnpmSYy0aVm4rKiakOmKJ5FOo4ggHicJrPMSOkCQcBwmmmuQ/0?wx_fmt=jpeg"/> <meta property="og:description" content=""/> <meta property="og:site_name" content="微信公众平台"/> <meta property="og:type" content="article"/> <meta property="og:article:author" content=""/> <meta property="twitter:card" content="summary"/> <meta property="twitter:image" content="https://mmbiz.qpic.cn/mmbiz_jpg/ia1lPbzbhW7GMQvxicUGN5wqWQCLFKXegzeAvINaL7jnpmSYy0aVm4rKiakOmKJ5FOo4ggHicJrPMSOkCQcBwmmmuQ/0?wx_fmt=jpeg"/> <meta property="twitter:title" content="上海电气泰雷兹ATO+技术助力南京地铁机场线升级进入智能驾驶新时代"/> <meta property="twitter:creator" content=""/> <meta property="twitter:site" content="微信公众平台"/> <meta property="twitter:description" content=""/> <title></title> <script nonce="1496042457" reportloaderror> (() => { const ua = navigator.userAgent; const noMobile = !(/(iPhone|iPad|iPod|iOS)/i.test(ua) || /Windows\sPhone/i.test(ua) || /(Android)/i.test(ua)); setTimeout(() => { noMobile && document.title === '' && (document.title = '微信公众平台'); }, 1000); })(); </script> <script h5only type="text/javascript" nonce="1496042457" reportloaderror>(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["weEmoji"]=t():e["weEmoji"]=t()})("undefined"!==typeof self?self:this,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({"00ee":function(e,t,n){var r=n("b622"),o=r("toStringTag"),i={};i[o]="z",e.exports="[object z]"===String(i)},"0366":function(e,t,n){var r=n("1c0b");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},"057f":function(e,t,n){var r=n("fc6a"),o=n("241c").f,i={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(e){try{return o(e)}catch(t){return s.slice()}};e.exports.f=function(e){return s&&"[object Window]"==i.call(e)?a(e):o(r(e))}},"06cf":function(e,t,n){var r=n("83ab"),o=n("d1e7"),i=n("5c6c"),s=n("fc6a"),a=n("c04e"),c=n("5135"),u=n("0cfb"),p=Object.getOwnPropertyDescriptor;t.f=r?p:function(e,t){if(e=s(e),t=a(t,!0),u)try{return p(e,t)}catch(n){}if(c(e,t))return i(!o.f.call(e,t),e[t])}},"07ac":function(e,t,n){var r=n("23e7"),o=n("6f53").values;r({target:"Object",stat:!0},{values:function(e){return o(e)}})},"0cb2":function(e,t,n){var r=n("7b0b"),o=Math.floor,i="".replace,s=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,a=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,c,u,p){var f=n+e.length,l=c.length,h=a;return void 0!==u&&(u=r(u),h=s),i.call(p,h,(function(r,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,n);case"'":return t.slice(f);case"<":s=u[i.slice(1,-1)];break;default:var a=+i;if(0===a)return r;if(a>l){var p=o(a/10);return 0===p?r:p<=l?void 0===c[p-1]?i.charAt(1):c[p-1]+i.charAt(1):r}s=c[a-1]}return void 0===s?"":s}))}},"0cfb":function(e,t,n){var r=n("83ab"),o=n("d039"),i=n("cc12");e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},"13d5":function(e,t,n){"use strict";var r=n("23e7"),o=n("d58f").left,i=n("a640"),s=n("2d00"),a=n("605d"),c=i("reduce"),u=!a&&s>79&&s<83;r({target:"Array",proto:!0,forced:!c||u},{reduce:function(e){return o(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(e,t,n){var r=n("c6b6"),o=n("9263");e.exports=function(e,t){var n=e.exec;if("function"===typeof n){var i=n.call(e,t);if("object"!==typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},"159b":function(e,t,n){var r=n("da84"),o=n("fdbc"),i=n("17c2"),s=n("9112");for(var a in o){var c=r[a],u=c&&c.prototype;if(u&&u.forEach!==i)try{s(u,"forEach",i)}catch(p){u.forEach=i}}},"17c2":function(e,t,n){"use strict";var r=n("b727").forEach,o=n("a640"),i=o("forEach");e.exports=i?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},"1be4":function(e,t,n){var r=n("d066");e.exports=r("document","documentElement")},"1c0b":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},"1c7e":function(e,t,n){var r=n("b622"),o=r("iterator"),i=!1;try{var s=0,a={next:function(){return{done:!!s++}},return:function(){i=!0}};a[o]=function(){return this},Array.from(a,(function(){throw 2}))}catch(c){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var r={};r[o]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(c){}return n}},"1d80":function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},"1dde":function(e,t,n){var r=n("d039"),o=n("b622"),i=n("2d00"),s=o("species");e.exports=function(e){return i>=51||!r((function(){var t=[],n=t.constructor={};return n[s]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},"23cb":function(e,t,n){var r=n("a691"),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},"23e7":function(e,t,n){var r=n("da84"),o=n("06cf").f,i=n("9112"),s=n("6eeb"),a=n("ce4e"),c=n("e893"),u=n("94ca");e.exports=function(e,t){var n,p,f,l,h,d,y=e.target,m=e.global,g=e.stat;if(p=m?r:g?r[y]||a(y,{}):(r[y]||{}).prototype,p)for(f in t){if(h=t[f],e.noTargetGet?(d=o(p,f),l=d&&d.value):l=p[f],n=u(m?f:y+(g?".":"#")+f,e.forced),!n&&void 0!==l){if(typeof h===typeof l)continue;c(h,l)}(e.sham||l&&l.sham)&&i(h,"sham",!0),s(p,f,h,e)}}},"241c":function(e,t,n){var r=n("ca84"),o=n("7839"),i=o.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},"25f0":function(e,t,n){"use strict";var r=n("6eeb"),o=n("825a"),i=n("d039"),s=n("ad6d"),a="toString",c=RegExp.prototype,u=c[a],p=i((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),f=u.name!=a;(p||f)&&r(RegExp.prototype,a,(function(){var e=o(this),t=String(e.source),n=e.flags,r=String(void 0===n&&e instanceof RegExp&&!("flags"in c)?s.call(e):n);return"/"+t+"/"+r}),{unsafe:!0})},2626:function(e,t,n){"use strict";var r=n("d066"),o=n("9bf2"),i=n("b622"),s=n("83ab"),a=i("species");e.exports=function(e){var t=r(e),n=o.f;s&&t&&!t[a]&&n(t,a,{configurable:!0,get:function(){return this}})}},"2a62":function(e,t,n){var r=n("825a");e.exports=function(e){var t=e["return"];if(void 0!==t)return r(t.call(e)).value}},"2ca0":function(e,t,n){"use strict";var r=n("23e7"),o=n("06cf").f,i=n("50c4"),s=n("5a34"),a=n("1d80"),c=n("ab13"),u=n("c430"),p="".startsWith,f=Math.min,l=c("startsWith"),h=!u&&!l&&!!function(){var e=o(String.prototype,"startsWith");return e&&!e.writable}();r({target:"String",proto:!0,forced:!h&&!l},{startsWith:function(e){var t=String(a(this));s(e);var n=i(f(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return p?p.call(t,r,n):t.slice(n,n+r.length)===r}})},"2d00":function(e,t,n){var r,o,i=n("da84"),s=n("342f"),a=i.process,c=a&&a.versions,u=c&&c.v8;u?(r=u.split("."),o=r[0]+r[1]):s&&(r=s.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=s.match(/Chrome\/(\d+)/),r&&(o=r[1]))),e.exports=o&&+o},"342f":function(e,t,n){var r=n("d066");e.exports=r("navigator","userAgent")||""},"35a1":function(e,t,n){var r=n("f5df"),o=n("3f8c"),i=n("b622"),s=i("iterator");e.exports=function(e){if(void 0!=e)return e[s]||e["@@iterator"]||o[r(e)]}},"37e8":function(e,t,n){var r=n("83ab"),o=n("9bf2"),i=n("825a"),s=n("df75");e.exports=r?Object.defineProperties:function(e,t){i(e);var n,r=s(t),a=r.length,c=0;while(a>c)o.f(e,n=r[c++],t[n]);return e}},"3bbe":function(e,t,n){var r=n("861d");e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},"3ca3":function(e,t,n){"use strict";var r=n("6547").charAt,o=n("69f3"),i=n("7dd0"),s="String Iterator",a=o.set,c=o.getterFor(s);i(String,"String",(function(e){a(this,{type:s,string:String(e),index:0})}),(function(){var e,t=c(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=r(n,o),t.index+=e.length,{value:e,done:!1})}))},"3f8c":function(e,t){e.exports={}},"428f":function(e,t,n){var r=n("da84");e.exports=r},"44ad":function(e,t,n){var r=n("d039"),o=n("c6b6"),i="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},"44d2":function(e,t,n){var r=n("b622"),o=n("7c73"),i=n("9bf2"),s=r("unscopables"),a=Array.prototype;void 0==a[s]&&i.f(a,s,{configurable:!0,value:o(null)}),e.exports=function(e){a[s][e]=!0}},"44e7":function(e,t,n){var r=n("861d"),o=n("c6b6"),i=n("b622"),s=i("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[s])?!!t:"RegExp"==o(e))}},4930:function(e,t,n){var r=n("605d"),o=n("2d00"),i=n("d039");e.exports=!!Object.getOwnPropertySymbols&&!i((function(){return!Symbol.sham&&(r?38===o:o>37&&o<41)}))},"498a":function(e,t,n){"use strict";var r=n("23e7"),o=n("58a8").trim,i=n("c8d2");r({target:"String",proto:!0,forced:i("trim")},{trim:function(){return o(this)}})},"4d63":function(e,t,n){var r=n("83ab"),o=n("da84"),i=n("94ca"),s=n("7156"),a=n("9bf2").f,c=n("241c").f,u=n("44e7"),p=n("ad6d"),f=n("9f7f"),l=n("6eeb"),h=n("d039"),d=n("69f3").set,y=n("2626"),m=n("b622"),g=m("match"),x=o.RegExp,w=x.prototype,_=/a/g,v=/a/g,b=new x(_)!==_,E=f.UNSUPPORTED_Y,j=r&&i("RegExp",!b||E||h((function(){return v[g]=!1,x(_)!=_||x(v)==v||"/a/i"!=x(_,"i")})));if(j){var k=function(e,t){var n,r=this instanceof k,o=u(e),i=void 0===t;if(!r&&o&&e.constructor===k&&i)return e;b?o&&!i&&(e=e.source):e instanceof k&&(i&&(t=p.call(e)),e=e.source),E&&(n=!!t&&t.indexOf("y")>-1,n&&(t=t.replace(/y/g,"")));var a=s(b?new x(e,t):x(e,t),r?this:w,k);return E&&n&&d(a,{sticky:n}),a},S=function(e){e in k||a(k,e,{configurable:!0,get:function(){return x[e]},set:function(t){x[e]=t}})},O=c(x),P=0;while(O.length>P)S(O[P++]);w.constructor=k,k.prototype=w,l(o,"RegExp",k)}y("RegExp")},"4d64":function(e,t,n){var r=n("fc6a"),o=n("50c4"),i=n("23cb"),s=function(e){return function(t,n,s){var a,c=r(t),u=o(c.length),p=i(s,u);if(e&&n!=n){while(u>p)if(a=c[p++],a!=a)return!0}else for(;u>p;p++)if((e||p in c)&&c[p]===n)return e||p||0;return!e&&-1}};e.exports={includes:s(!0),indexOf:s(!1)}},"4de4":function(e,t,n){"use strict";var r=n("23e7"),o=n("b727").filter,i=n("1dde"),s=i("filter");r({target:"Array",proto:!0,forced:!s},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(e,t,n){"use strict";var r=n("0366"),o=n("7b0b"),i=n("9bdd"),s=n("e95a"),a=n("50c4"),c=n("8418"),u=n("35a1");e.exports=function(e){var t,n,p,f,l,h,d=o(e),y="function"==typeof this?this:Array,m=arguments.length,g=m>1?arguments[1]:void 0,x=void 0!==g,w=u(d),_=0;if(x&&(g=r(g,m>2?arguments[2]:void 0,2)),void 0==w||y==Array&&s(w))for(t=a(d.length),n=new y(t);t>_;_++)h=x?g(d[_],_):d[_],c(n,_,h);else for(f=w.call(d),l=f.next,n=new y;!(p=l.call(f)).done;_++)h=x?i(f,g,[p.value,_],!0):p.value,c(n,_,h);return n.length=_,n}},"50c4":function(e,t,n){var r=n("a691"),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},5135:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},5319:function(e,t,n){"use strict";var r=n("d784"),o=n("825a"),i=n("50c4"),s=n("a691"),a=n("1d80"),c=n("8aa5"),u=n("0cb2"),p=n("14c3"),f=Math.max,l=Math.min,h=function(e){return void 0===e?e:String(e)};r("replace",2,(function(e,t,n,r){var d=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,y=r.REPLACE_KEEPS_$0,m=d?"$":"$0";return[function(n,r){var o=a(this),i=void 0==n?void 0:n[e];return void 0!==i?i.call(n,o,r):t.call(String(o),n,r)},function(e,r){if(!d&&y||"string"===typeof r&&-1===r.indexOf(m)){var a=n(t,e,this,r);if(a.done)return a.value}var g=o(e),x=String(this),w="function"===typeof r;w||(r=String(r));var _=g.global;if(_){var v=g.unicode;g.lastIndex=0}var b=[];while(1){var E=p(g,x);if(null===E)break;if(b.push(E),!_)break;var j=String(E[0]);""===j&&(g.lastIndex=c(x,i(g.lastIndex),v))}for(var k="",S=0,O=0;O<b.length;O++){E=b[O];for(var P=String(E[0]),T=f(l(s(E.index),x.length),0),q=[],D=1;D<E.length;D++)q.push(h(E[D]));var A=E.groups;if(w){var R=[P].concat(q,T,x);void 0!==A&&R.push(A);var C=String(r.apply(void 0,R))}else C=u(P,x,T,q,A,r);T>=S&&(k+=x.slice(S,T)+C,S=T+P.length)}return k+x.slice(S)}]}))},5692:function(e,t,n){var r=n("c430"),o=n("c6cd");(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.9.1",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},"56ef":function(e,t,n){var r=n("d066"),o=n("241c"),i=n("7418"),s=n("825a");e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(s(e)),n=i.f;return n?t.concat(n(e)):t}},5899:function(e,t){e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},"58a8":function(e,t,n){var r=n("1d80"),o=n("5899"),i="["+o+"]",s=RegExp("^"+i+i+"*"),a=RegExp(i+i+"*$"),c=function(e){return function(t){var n=String(r(t));return 1&e&&(n=n.replace(s,"")),2&e&&(n=n.replace(a,"")),n}};e.exports={start:c(1),end:c(2),trim:c(3)}},"5a34":function(e,t,n){var r=n("44e7");e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},"5c6c":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"5e96":function(e){e.exports=JSON.parse('{"a":"https://web.archive.org/web/20240514130121/https://res.wx.qq.com/mpres/zh_CN/htmledition/comm_htmledition/images/pic/common/pic_blank.gif"}')},"605d":function(e,t,n){var r=n("c6b6"),o=n("da84");e.exports="process"==r(o.process)},"60da":function(e,t,n){"use strict";var r=n("83ab"),o=n("d039"),i=n("df75"),s=n("7418"),a=n("d1e7"),c=n("7b0b"),u=n("44ad"),p=Object.assign,f=Object.defineProperty;e.exports=!p||o((function(){if(r&&1!==p({b:1},p(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach((function(e){t[e]=e})),7!=p({},e)[n]||i(p({},t)).join("")!=o}))?function(e,t){var n=c(e),o=arguments.length,p=1,f=s.f,l=a.f;while(o>p){var h,d=u(arguments[p++]),y=f?i(d).concat(f(d)):i(d),m=y.length,g=0;while(m>g)h=y[g++],r&&!l.call(d,h)||(n[h]=d[h])}return n}:p},6547:function(e,t,n){var r=n("a691"),o=n("1d80"),i=function(e){return function(t,n){var i,s,a=String(o(t)),c=r(n),u=a.length;return c<0||c>=u?e?"":void 0:(i=a.charCodeAt(c),i<55296||i>56319||c+1===u||(s=a.charCodeAt(c+1))<56320||s>57343?e?a.charAt(c):i:e?a.slice(c,c+2):s-56320+(i-55296<<10)+65536)}};e.exports={codeAt:i(!1),charAt:i(!0)}},"65f0":function(e,t,n){var r=n("861d"),o=n("e8b5"),i=n("b622"),s=i("species");e.exports=function(e,t){var n;return o(e)&&(n=e.constructor,"function"!=typeof n||n!==Array&&!o(n.prototype)?r(n)&&(n=n[s],null===n&&(n=void 0)):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},"69f3":function(e,t,n){var r,o,i,s=n("7f9a"),a=n("da84"),c=n("861d"),u=n("9112"),p=n("5135"),f=n("c6cd"),l=n("f772"),h=n("d012"),d=a.WeakMap,y=function(e){return i(e)?o(e):r(e,{})},m=function(e){return function(t){var n;if(!c(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}};if(s){var g=f.state||(f.state=new d),x=g.get,w=g.has,_=g.set;r=function(e,t){return t.facade=e,_.call(g,e,t),t},o=function(e){return x.call(g,e)||{}},i=function(e){return w.call(g,e)}}else{var v=l("state");h[v]=!0,r=function(e,t){return t.facade=e,u(e,v,t),t},o=function(e){return p(e,v)?e[v]:{}},i=function(e){return p(e,v)}}e.exports={set:r,get:o,has:i,enforce:y,getterFor:m}},"6eeb":function(e,t,n){var r=n("da84"),o=n("9112"),i=n("5135"),s=n("ce4e"),a=n("8925"),c=n("69f3"),u=c.get,p=c.enforce,f=String(String).split("String");(e.exports=function(e,t,n,a){var c,u=!!a&&!!a.unsafe,l=!!a&&!!a.enumerable,h=!!a&&!!a.noTargetGet;"function"==typeof n&&("string"!=typeof t||i(n,"name")||o(n,"name",t),c=p(n),c.source||(c.source=f.join("string"==typeof t?t:""))),e!==r?(u?!h&&e[t]&&(l=!0):delete e[t],l?e[t]=n:o(e,t,n)):l?e[t]=n:s(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||a(this)}))},"6f53":function(e,t,n){var r=n("83ab"),o=n("df75"),i=n("fc6a"),s=n("d1e7").f,a=function(e){return function(t){var n,a=i(t),c=o(a),u=c.length,p=0,f=[];while(u>p)n=c[p++],r&&!s.call(a,n)||f.push(e?[n,a[n]]:a[n]);return f}};e.exports={entries:a(!0),values:a(!1)}},7156:function(e,t,n){var r=n("861d"),o=n("d2bb");e.exports=function(e,t,n){var i,s;return o&&"function"==typeof(i=t.constructor)&&i!==n&&r(s=i.prototype)&&s!==n.prototype&&o(e,s),e}},7418:function(e,t){t.f=Object.getOwnPropertySymbols},"746f":function(e,t,n){var r=n("428f"),o=n("5135"),i=n("e538"),s=n("9bf2").f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});o(t,e)||s(t,e,{value:i.f(e)})}},7839:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(e,t,n){var r=n("1d80");e.exports=function(e){return Object(r(e))}},"7c73":function(e,t,n){var r,o=n("825a"),i=n("37e8"),s=n("7839"),a=n("d012"),c=n("1be4"),u=n("cc12"),p=n("f772"),f=">",l="<",h="prototype",d="script",y=p("IE_PROTO"),m=function(){},g=function(e){return l+d+f+e+l+"/"+d+f},x=function(e){e.write(g("")),e.close();var t=e.parentWindow.Object;return e=null,t},w=function(){var e,t=u("iframe"),n="java"+d+":";return t.style.display="none",c.appendChild(t),t.src=String(n),e=t.contentWindow.document,e.open(),e.write(g("document.F=Object")),e.close(),e.F},_=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(t){}_=r?x(r):w();var e=s.length;while(e--)delete _[h][s[e]];return _()};a[y]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(m[h]=o(e),n=new m,m[h]=null,n[y]=e):n=_(),void 0===t?n:i(n,t)}},"7db0":function(e,t,n){"use strict";var r=n("23e7"),o=n("b727").find,i=n("44d2"),s="find",a=!0;s in[]&&Array(1)[s]((function(){a=!1})),r({target:"Array",proto:!0,forced:a},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(s)},"7dd0":function(e,t,n){"use strict";var r=n("23e7"),o=n("9ed3"),i=n("e163"),s=n("d2bb"),a=n("d44e"),c=n("9112"),u=n("6eeb"),p=n("b622"),f=n("c430"),l=n("3f8c"),h=n("ae93"),d=h.IteratorPrototype,y=h.BUGGY_SAFARI_ITERATORS,m=p("iterator"),g="keys",x="values",w="entries",_=function(){return this};e.exports=function(e,t,n,p,h,v,b){o(n,t,p);var E,j,k,S=function(e){if(e===h&&D)return D;if(!y&&e in T)return T[e];switch(e){case g:return function(){return new n(this,e)};case x:return function(){return new n(this,e)};case w:return function(){return new n(this,e)}}return function(){return new n(this)}},O=t+" Iterator",P=!1,T=e.prototype,q=T[m]||T["@@iterator"]||h&&T[h],D=!y&&q||S(h),A="Array"==t&&T.entries||q;if(A&&(E=i(A.call(new e)),d!==Object.prototype&&E.next&&(f||i(E)===d||(s?s(E,d):"function"!=typeof E[m]&&c(E,m,_)),a(E,O,!0,!0),f&&(l[O]=_))),h==x&&q&&q.name!==x&&(P=!0,D=function(){return q.call(this)}),f&&!b||T[m]===D||c(T,m,D),l[t]=D,h)if(j={values:S(x),keys:v?D:S(g),entries:S(w)},b)for(k in j)(y||P||!(k in T))&&u(T,k,j[k]);else r({target:t,proto:!0,forced:y||P},j);return j}},"7f9a":function(e,t,n){var r=n("da84"),o=n("8925"),i=r.WeakMap;e.exports="function"===typeof i&&/native code/.test(o(i))},"825a":function(e,t,n){var r=n("861d");e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},"83ab":function(e,t,n){var r=n("d039");e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(e,t,n){"use strict";var r=n("c04e"),o=n("9bf2"),i=n("5c6c");e.exports=function(e,t,n){var s=r(t);s in e?o.f(e,s,i(0,n)):e[s]=n}},"861d":function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},8875:function(e,t,n){var r,o,i;(function(n,s){o=[],r=s,i="function"===typeof r?r.apply(t,o):r,void 0===i||(e.exports=i)})("undefined"!==typeof self&&self,(function(){function e(){var t=Object.getOwnPropertyDescriptor(document,"currentScript");if(!t&&"currentScript"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==e&&document.currentScript)return document.currentScript;try{throw new Error}catch(h){var n,r,o,i=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,s=/@([^@]*):(\d+):(\d+)\s*$/gi,a=i.exec(h.stack)||s.exec(h.stack),c=a&&a[1]||!1,u=a&&a[2]||!1,p=document.location.href.replace(document.location.hash,""),f=document.getElementsByTagName("script");c===p&&(n=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(u-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),o=n.replace(r,"$1").trim());for(var l=0;l<f.length;l++){if("interactive"===f[l].readyState)return f[l];if(f[l].src===c)return f[l];if(c===p&&f[l].innerHTML&&f[l].innerHTML.trim()===o)return f[l]}return null}}return e}))},8925:function(e,t,n){var r=n("c6cd"),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return o.call(e)}),e.exports=r.inspectSource},"8aa5":function(e,t,n){"use strict";var r=n("6547").charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},"8c94":function(e){e.exports=JSON.parse('[{"key":"/::)","old":"/微笑","cn":"[微笑]","tw":"[微笑]","en":"[Smile]","th":"[ยิ้ม]","path":"./assets/Expression/Expression_1@2x.png","style":"we-emoji__Smile"},{"key":"/::~","old":"/撇嘴","cn":"[撇嘴]","tw":"[撇嘴]","en":"[Grimace]","th":"[หน้าบูด]","path":"./assets/Expression/Expression_2@2x.png","style":"we-emoji__Grimace"},{"key":"/::B","old":"/色","cn":"[色]","tw":"[色]","en":"[Drool]","th":"[น้ำลายไหล]","path":"./assets/Expression/Expression_3@2x.png","style":"we-emoji__Drool"},{"key":"/::|","old":"/发呆","cn":"[发呆]","tw":"[發呆]","en":"[Scowl]","th":"[หน้าบึ้ง]","path":"./assets/Expression/Expression_4@2x.png","style":"we-emoji__Scowl"},{"key":"/:8-)","old":"/得意","cn":"[得意]","tw":"[得意]","en":"[CoolGuy]","th":"[สบาย]","path":"./assets/Expression/Expression_5@2x.png","style":"we-emoji__CoolGuy"},{"key":"/::<","old":"/流泪","cn":"[流泪]","tw":"[流淚]","en":"[Sob]","th":"[ร้องไห้โฮ]","path":"./assets/Expression/Expression_6@2x.png","style":"we-emoji__Sob"},{"key":"/::$","old":"/害羞","cn":"[害羞]","tw":"[害羞]","en":"[Shy]","th":"[อาย]","path":"./assets/Expression/Expression_7@2x.png","style":"we-emoji__Shy"},{"key":"/::X","old":"/闭嘴","cn":"[闭嘴]","tw":"[閉嘴]","en":"[Silent]","th":"[ห้ามพูด]","path":"./assets/Expression/Expression_8@2x.png","style":"we-emoji__Silent"},{"key":"/::Z","old":"/睡","cn":"[睡]","tw":"[睡]","en":"[Sleep]","th":"[หลับ]","path":"./assets/Expression/Expression_9@2x.png","style":"we-emoji__Sleep"},{"key":"/::\'(","old":"/大哭","cn":"[大哭]","tw":"[大哭]","en":"[Cry]","th":"[ร้องไห้]","path":"./assets/Expression/Expression_10@2x.png","style":"we-emoji__Cry"},{"key":"/::-|","old":"/尴尬","cn":"[尴尬]","tw":"[尷尬]","en":"[Awkward]","th":"[ลำบากใจ]","path":"./assets/Expression/Expression_11@2x.png","style":"we-emoji__Awkward"},{"key":"/::@","old":"/发怒","cn":"[发怒]","tw":"[發怒]","en":"[Angry]","th":"[โกรธสุด]","path":"./assets/Expression/Expression_12@2x.png","style":"we-emoji__Angry"},{"key":"/::P","old":"/调皮","qq":"[吐舌]","cn":"[调皮]","tw":"[調皮]","en":"[Tongue]","th":"[ขยิบตา]","emoji":"😝","path":"./assets/Expression/Expression_13@2x.png","style":"we-emoji__Tongue"},{"key":"/::D","old":"/呲牙","cn":"[呲牙]","tw":"[呲牙]","en":"[Grin]","th":"[ยิ้มกว้าง]","path":"./assets/Expression/Expression_14@2x.png","style":"we-emoji__Grin"},{"key":"/::O","old":"/惊讶","cn":"[惊讶]","tw":"[驚訝]","en":"[Surprise]","th":"[ประหลาดใจ]","path":"./assets/Expression/Expression_15@2x.png","style":"we-emoji__Surprise"},{"key":"/::(","old":"/难过","cn":"[难过]","tw":"[難過]","en":"[Frown]","th":"[เสียใจ]","path":"./assets/Expression/Expression_16@2x.png","style":"we-emoji__Frown"},{"key":"/::+","old":"/酷","cn":"[酷]","tw":"[酷]","en":"[Ruthless]","th":"[เจ๋ง]","path":"./assets/Expression/Expression_17@2x.png","style":"we-emoji__Ruthless"},{"key":"/:--b","old":"/冷汗","cn":"[囧]","tw":"[囧]","en":"[Blush]","th":"[Blush]","path":"./assets/Expression/Expression_18@2x.png","style":"we-emoji__Blush"},{"key":"/::Q","old":"/抓狂","cn":"[抓狂]","tw":"[抓狂]","en":"[Scream]","th":"[กรีดร้อง]","path":"./assets/Expression/Expression_19@2x.png","style":"we-emoji__Scream"},{"key":"/::T","old":"/吐","cn":"[吐]","tw":"[吐]","en":"[Puke]","th":"[อาเจียน]","path":"./assets/Expression/Expression_20@2x.png","style":"we-emoji__Puke"},{"key":"/:,@P","old":"/偷笑","cn":"[偷笑]","tw":"[偷笑]","en":"[Chuckle]","th":"[หัวเราะหึๆ]","path":"./assets/Expression/Expression_21@2x.png","style":"we-emoji__Chuckle"},{"key":"/:,@-D","old":"/可爱","cn":"[愉快]","tw":"[愉快]","en":"[Joyful]","th":"[พอใจ]","path":"./assets/Expression/Expression_22@2x.png","style":"we-emoji__Joyful"},{"key":"/::d","old":"/白眼","cn":"[白眼]","tw":"[白眼]","en":"[Slight]","th":"[สงสัย]","path":"./assets/Expression/Expression_23@2x.png","style":"we-emoji__Slight"},{"key":"/:,@o","old":"/傲慢","cn":"[傲慢]","tw":"[傲慢]","en":"[Smug]","th":"[หยิ่ง]","path":"./assets/Expression/Expression_24@2x.png","style":"we-emoji__Smug"},{"key":"/::g","old":"/饥饿","cn":"[饥饿]","tw":"[饑餓]","en":"[Hungry]","th":"[หิว]","path":"./assets/Expression/Expression_25@2x.png","style":"we-emoji__Hungry"},{"key":"/:|-)","old":"/困","cn":"[困]","tw":"[累]","en":"[Drowsy]","th":"[ง่วงนอน]","path":"./assets/Expression/Expression_26@2x.png","style":"we-emoji__Drowsy"},{"key":"/::!","old":"/惊恐","cn":"[惊恐]","tw":"[驚恐]","en":"[Panic]","th":"[ตกใจกลัว]","path":"./assets/Expression/Expression_27@2x.png","style":"we-emoji__Panic"},{"key":"/::L","old":"/流汗","cn":"[流汗]","tw":"[流汗]","en":"[Sweat]","th":"[เหงื่อตก]","path":"./assets/Expression/Expression_28@2x.png","style":"we-emoji__Sweat"},{"key":"/::>","old":"/憨笑","cn":"[憨笑]","tw":"[大笑]","en":"[Laugh]","th":"[หัวเราะ]","path":"./assets/Expression/Expression_29@2x.png","style":"we-emoji__Laugh"},{"key":"/::,@","old":"/大兵","cn":"[悠闲]","tw":"[悠閑]","en":"[Commando]","th":"[ทหาร]","path":"./assets/Expression/Expression_30@2x.png","style":"we-emoji__Commando"},{"key":"/:,@f","old":"/奋斗","cn":"[奋斗]","tw":"[奮鬥]","en":"[Determined]","th":"[มุ่งมั่น]","path":"./assets/Expression/Expression_31@2x.png","style":"we-emoji__Determined"},{"key":"/::-S","old":"/咒骂","cn":"[咒骂]","tw":"[咒罵]","en":"[Scold]","th":"[ด่าว่าา]","path":"./assets/Expression/Expression_32@2x.png","style":"we-emoji__Scold"},{"key":"/:?","old":"/疑问","cn":"[疑问]","tw":"[疑問]","en":"[Shocked]","th":"[สับสน]","path":"./assets/Expression/Expression_33@2x.png","style":"we-emoji__Shocked"},{"key":"/:,@x","old":"/嘘","cn":"[嘘]","tw":"[噓]","en":"[Shhh]","th":"[จุ๊ๆ]","path":"./assets/Expression/Expression_34@2x.png","style":"we-emoji__Shhh"},{"key":"/:,@@","old":"/晕","cn":"[晕]","tw":"[暈]","en":"[Dizzy]","th":"[เวียนหัว]","path":"./assets/Expression/Expression_35@2x.png","style":"we-emoji__Dizzy"},{"key":"/::8","old":"/折磨","cn":"[疯了]","tw":"[瘋了]","en":"[Tormented]","th":"[ท้อแท้]","path":"./assets/Expression/Expression_36@2x.png","style":"we-emoji__Tormented"},{"key":"/:,@!","old":"/衰","cn":"[衰]","tw":"[衰]","en":"[Toasted]","th":"[ชั่วร้าย]","path":"./assets/Expression/Expression_37@2x.png","style":"we-emoji__Toasted"},{"key":"/:!!!","old":"/骷髅","cn":"[骷髅]","tw":"[骷髏頭]","en":"[Skull]","th":"[หัวกะโหลก]","path":"./assets/Expression/Expression_38@2x.png","style":"we-emoji__Skull"},{"key":"/:xx","old":"/敲打","cn":"[敲打]","tw":"[敲打]","en":"[Hammer]","th":"[ค้อนทุบ]","path":"./assets/Expression/Expression_39@2x.png","style":"we-emoji__Hammer"},{"key":"/:bye","old":"/再见","cn":"[再见]","tw":"[再見]","en":"[Wave]","th":"[บายๆ]","path":"./assets/Expression/Expression_40@2x.png","style":"we-emoji__Wave"},{"key":"/:wipe","old":"/擦汗","cn":"[擦汗]","tw":"[擦汗]","en":"[Speechless]","th":"[เช็ดเหงื่อ]","path":"./assets/Expression/Expression_41@2x.png","style":"we-emoji__Speechless"},{"key":"/:dig","old":"/抠鼻","cn":"[抠鼻]","tw":"[摳鼻]","en":"[NosePick]","th":"[แคะจมูก]","path":"./assets/Expression/Expression_42@2x.png","style":"we-emoji__NosePick"},{"key":"/:handclap","old":"/鼓掌","cn":"[鼓掌]","tw":"[鼓掌]","en":"[Clap]","th":"[ตบมือ]","path":"./assets/Expression/Expression_43@2x.png","style":"we-emoji__Clap"},{"key":"/:&-(","old":"/糗大了","cn":"[糗大了]","tw":"[羞辱]","en":"[Shame]","th":"[อับอาย]","path":"./assets/Expression/Expression_44@2x.png","style":"we-emoji__Shame"},{"key":"/:B-)","old":"/坏笑","cn":"[坏笑]","tw":"[壞笑]","en":"[Trick]","th":"[กลโกง]","path":"./assets/Expression/Expression_45@2x.png","style":"we-emoji__Trick"},{"key":"/:<@","old":"/左哼哼","cn":"[左哼哼]","tw":"[左哼哼]","en":"[Bah!L]","th":"[เชิดซ้าย]","path":"./assets/Expression/Expression_46@2x.png","style":"we-emoji__BahL"},{"key":"/:@>","old":"/右哼哼","cn":"[右哼哼]","tw":"[右哼哼]","en":"[Bah!R]","th":"[เชิดขวา]","path":"./assets/Expression/Expression_47@2x.png","style":"we-emoji__BahR"},{"key":"/::-O","old":"/哈欠","cn":"[哈欠]","tw":"[哈欠]","en":"[Yawn]","th":"[หาว]","path":"./assets/Expression/Expression_48@2x.png","style":"we-emoji__Yawn"},{"key":"/:>-|","old":"/鄙视","cn":"[鄙视]","tw":"[鄙視]","en":"[Pooh-pooh]","th":"[ดูถูก]","path":"./assets/Expression/Expression_49@2x.png","style":"we-emoji__Pooh-pooh"},{"key":"/:P-(","old":"/委屈","cn":"[委屈]","tw":"[委屈]","en":"[Shrunken]","th":"[ข้องใจ]","path":"./assets/Expression/Expression_50@2x.png","style":"we-emoji__Shrunken"},{"key":"/::\'|","old":"/快哭了","cn":"[快哭了]","tw":"[快哭了]","en":"[TearingUp]","th":"[เกือบร้องไห้]","path":"./assets/Expression/Expression_51@2x.png","style":"we-emoji__TearingUp"},{"key":"/:X-)","old":"/阴险","cn":"[阴险]","tw":"[陰險]","en":"[Sly]","th":"[ขี้โกง]","path":"./assets/Expression/Expression_52@2x.png","style":"we-emoji__Sly"},{"key":"/::*","old":"/亲亲","cn":"[亲亲]","tw":"[親親]","en":"[Kiss]","th":"[จุ๊บ]","path":"./assets/Expression/Expression_53@2x.png","style":"we-emoji__Kiss"},{"key":"/:@x","old":"/吓","cn":"[吓]","tw":"[嚇]","en":"[Wrath]","th":"[ห๊า]","path":"./assets/Expression/Expression_54@2x.png","style":"we-emoji__Wrath"},{"key":"/:8*","old":"/可怜","cn":"[可怜]","tw":"[可憐]","en":"[Whimper]","th":"[น่าสงสาร]","path":"./assets/Expression/Expression_55@2x.png","style":"we-emoji__Whimper"},{"key":"/:pd","old":"/菜刀","cn":"[菜刀]","tw":"[菜刀]","en":"[Cleaver]","th":"[มีด]","path":"./assets/Expression/Expression_56@2x.png","style":"we-emoji__Cleaver"},{"key":"/:<W>","old":"/西瓜","cn":"[西瓜]","tw":"[西瓜]","en":"[Watermelon]","th":"[แตงโม]","path":"./assets/Expression/Expression_57@2x.png","style":"we-emoji__Watermelon"},{"key":"/:beer","old":"/啤酒","cn":"[啤酒]","tw":"[啤酒]","en":"[Beer]","th":"[เบียร์]","path":"./assets/Expression/Expression_58@2x.png","style":"we-emoji__Beer"},{"key":"/:basketb","old":"/篮球","cn":"[篮球]","tw":"[籃球]","en":"[Basketball]","th":"[บาสเกตบอล]","path":"./assets/Expression/Expression_59@2x.png","style":"we-emoji__Basketball"},{"key":"/:oo","old":"/乒乓","cn":"[乒乓]","tw":"[乒乓]","en":"[PingPong]","th":"[ปิงปอง]","path":"./assets/Expression/Expression_60@2x.png","style":"we-emoji__PingPong"},{"key":"/:coffee","old":"/咖啡","cn":"[咖啡]","tw":"[咖啡]","en":"[Coffee]","th":"[กาแฟ]","path":"./assets/Expression/Expression_61@2x.png","style":"we-emoji__Coffee"},{"key":"/:eat","old":"/饭","cn":"[饭]","tw":"[飯]","en":"[Rice]","th":"[ข้าว]","path":"./assets/Expression/Expression_62@2x.png","style":"we-emoji__Rice"},{"key":"/:pig","old":"/猪头","cn":"[猪头]","tw":"[豬頭]","en":"[Pig]","th":"[หมู]","path":"./assets/Expression/Expression_63@2x.png","style":"we-emoji__Pig"},{"key":"/:rose","old":"/玫瑰","cn":"[玫瑰]","tw":"[玫瑰]","en":"[Rose]","th":"[กุหลาบ]","path":"./assets/Expression/Expression_64@2x.png","style":"we-emoji__Rose"},{"key":"/:fade","old":"/凋谢","cn":"[凋谢]","tw":"[枯萎]","en":"[Wilt]","th":"[ร่วงโรย]","path":"./assets/Expression/Expression_65@2x.png","style":"we-emoji__Wilt"},{"key":"/:showlove","old":"/示爱","cn":"[嘴唇]","tw":"[嘴唇]","en":"[Lips]","th":"[ริมฝีปาก]","path":"./assets/Expression/Expression_66@2x.png","style":"we-emoji__Lips"},{"key":"/:heart","old":"/爱心","cn":"[爱心]","tw":"[愛心]","en":"[Heart]","th":"[หัวใจ]","path":"./assets/Expression/Expression_67@2x.png","style":"we-emoji__Heart"},{"key":"/:break","old":"/心碎","cn":"[心碎]","tw":"[心碎]","en":"[BrokenHeart]","th":"[ใจสลาย]","path":"./assets/Expression/Expression_68@2x.png","style":"we-emoji__BrokenHeart"},{"key":"/:cake","old":"/蛋糕","cn":"[蛋糕]","tw":"[蛋糕]","en":"[Cake]","th":"[เค้ก]","path":"./assets/Expression/Expression_69@2x.png","style":"we-emoji__Cake"},{"key":"/:li","old":"/闪电","cn":"[闪电]","tw":"[閃電]","en":"[Lightning]","th":"[ฟ้าผ่า]","path":"./assets/Expression/Expression_70@2x.png","style":"we-emoji__Lightning"},{"key":"/:bome","old":"/炸弹","cn":"[炸弹]","tw":"[炸彈]","en":"[Bomb]","th":"[ระเบิด]","path":"./assets/Expression/Expression_71@2x.png","style":"we-emoji__Bomb"},{"key":"/:kn","old":"/刀","cn":"[刀]","tw":"[刀]","en":"[Dagger]","th":"[ดาบ]","path":"./assets/Expression/Expression_72@2x.png","style":"we-emoji__Dagger"},{"key":"/:footb","old":"/足球","cn":"[足球]","tw":"[足球]","en":"[Soccer]","th":"[ฟุตบอล]","path":"./assets/Expression/Expression_73@2x.png","style":"we-emoji__Soccer"},{"key":"/:ladybug","old":"/瓢虫","cn":"[瓢虫]","tw":"[甲蟲]","en":"[Ladybug]","th":"[เต่าทอง]","path":"./assets/Expression/Expression_74@2x.png","style":"we-emoji__Ladybug"},{"key":"/:shit","old":"/便便","cn":"[便便]","tw":"[便便]","en":"[Poop]","th":"[อุจจาระ]","path":"./assets/Expression/Expression_75@2x.png","style":"we-emoji__Poop"},{"key":"/:moon","old":"/月亮","cn":"[月亮]","tw":"[月亮]","en":"[Moon]","th":"[พระจันทร์]","path":"./assets/Expression/Expression_76@2x.png","style":"we-emoji__Moon"},{"key":"/:sun","old":"/太阳","cn":"[太阳]","tw":"[太陽]","en":"[Sun]","th":"[พระอาทิตย์]","path":"./assets/Expression/Expression_77@2x.png","style":"we-emoji__Sun"},{"key":"/:gift","old":"/礼物","cn":"[礼物]","tw":"[禮物]","en":"[礼物]","th":"[Gift]","emoji":"🎁","path":"./assets/Expression/Expression_78@2x.png","style":"we-emoji__Gift"},{"key":"/:hug","old":"/拥抱","cn":"[拥抱]","tw":"[擁抱]","en":"[Hug]","th":"[กอด]","path":"./assets/Expression/Expression_79@2x.png","style":"we-emoji__Hug"},{"key":"/:strong","old":"/强","cn":"[强]","tw":"[強]","en":"[ThumbsUp]","th":"[ยอดเยี่ยม]","path":"./assets/Expression/Expression_80@2x.png","style":"we-emoji__ThumbsUp"},{"key":"/:weak","old":"/弱","cn":"[弱]","tw":"[弱]","en":"[ThumbsDown]","th":"[ยอดแย่]","path":"./assets/Expression/Expression_81@2x.png","style":"we-emoji__ThumbsDown"},{"key":"/:share","old":"/握手","cn":"[握手]","tw":"[握手]","en":"[Shake]","th":"[จับมือ]","path":"./assets/Expression/Expression_82@2x.png","style":"we-emoji__Shake"},{"key":"/:v","old":"/胜利","cn":"[胜利]","tw":"[勝利]","en":"[Peace]","th":"[สู้ตาย]","path":"./assets/Expression/Expression_83@2x.png","style":"we-emoji__Peace"},{"key":"/:@)","old":"/抱拳","cn":"[抱拳]","tw":"[抱拳]","en":"[Fight]","th":"[คารวะ]","path":"./assets/Expression/Expression_84@2x.png","style":"we-emoji__Fight"},{"key":"/:jj","old":"/勾引","cn":"[勾引]","tw":"[勾引]","en":"[Beckon]","th":"[เข้ามา]","path":"./assets/Expression/Expression_85@2x.png","style":"we-emoji__Beckon"},{"key":"/:@@","old":"/拳头","cn":"[拳头]","tw":"[拳頭]","en":"[Fist]","th":"[กำหมัด]","path":"./assets/Expression/Expression_86@2x.png","style":"we-emoji__Fist"},{"key":"/:bad","old":"/差劲","cn":"[差劲]","tw":"[差勁]","en":"[Pinky]","th":"[ดีกัน]","path":"./assets/Expression/Expression_87@2x.png","style":"we-emoji__Pinky"},{"key":"/:lvu","old":"/爱你","cn":"[爱你]","tw":"[愛你]","en":"[RockOn]","th":"[ฉันรักคุณ]","path":"./assets/Expression/Expression_88@2x.png","style":"we-emoji__RockOn"},{"key":"/:no","old":"/NO","cn":"[NO]","tw":"[NO]","en":"[Nuh-uh]","th":"[ไม่]","path":"./assets/Expression/Expression_89@2x.png","style":"we-emoji__Nuh-uh"},{"key":"/:ok","old":"/OK","cn":"[OK]","tw":"[OK]","en":"[OK]","th":"[ตกลง]","path":"./assets/Expression/Expression_90@2x.png","style":"we-emoji__OK"},{"key":"/:love","old":"/爱情","cn":"[爱情]","tw":"[愛情]","en":"[InLove]","th":"[รักกัน]","path":"./assets/Expression/Expression_91@2x.png","style":"we-emoji__InLove"},{"key":"/:<L>","old":"/飞吻","cn":"[飞吻]","tw":"[飛吻]","en":"[Blowkiss]","th":"[มีรัก]","path":"./assets/Expression/Expression_92@2x.png","style":"we-emoji__Blowkiss"},{"key":"/:jump","old":"/跳跳","cn":"[跳跳]","tw":"[跳跳]","en":"[Waddle]","th":"[กระโดด]","path":"./assets/Expression/Expression_93@2x.png","style":"we-emoji__Waddle"},{"key":"/:shake","old":"/发抖","cn":"[发抖]","tw":"[發抖]","en":"[Tremble]","th":"[เขย่า]","path":"./assets/Expression/Expression_94@2x.png","style":"we-emoji__Tremble"},{"key":"/:<O>","old":"/怄火","cn":"[怄火]","tw":"[噴火]","en":"[Aaagh!]","th":"[อ้ากส์!]","path":"./assets/Expression/Expression_95@2x.png","style":"we-emoji__Aaagh"},{"key":"/:circle","old":"/转圈","cn":"[转圈]","tw":"[轉圈]","en":"[Twirl]","th":"[หมุนตัว]","path":"./assets/Expression/Expression_96@2x.png","style":"we-emoji__Twirl"},{"key":"/:kotow","old":"/磕头","cn":"[磕头]","tw":"[磕頭]","en":"[Kotow]","th":"[คำนับ]","path":"./assets/Expression/Expression_97@2x.png","style":"we-emoji__Kotow"},{"key":"/:turn","old":"/回头","cn":"[回头]","tw":"[回頭]","en":"[Dramatic]","th":"[เหลียวหลัง]","path":"./assets/Expression/Expression_98@2x.png","style":"we-emoji__Dramatic"},{"key":"/:skip","old":"/跳绳","cn":"[跳绳]","tw":"[跳繩]","en":"[JumpRope]","th":"[กระโดด]","path":"./assets/Expression/Expression_99@2x.png","style":"we-emoji__JumpRope"},{"key":"/:oY","old":"/挥手","cn":"[投降]","tw":"[投降]","en":"[Surrender]","th":"[ยอมแพ้]","path":"./assets/Expression/Expression_100@2x.png","style":"we-emoji__Surrender"},{"key":"/:#-0","old":"/激动","cn":"[激动]","tw":"[激動]","en":"[Hooray]","th":"[ไชโย]","path":"./assets/Expression/Expression_101@2x.png","style":"we-emoji__Hooray"},{"key":"/:hiphot","old":"/街舞","cn":"[乱舞]","tw":"[亂舞]","en":"[Meditate]","th":"[เย้เย้]","path":"./assets/Expression/Expression_102@2x.png","style":"we-emoji__Meditate"},{"key":"/:kiss","old":"/献吻","cn":"[献吻]","tw":"[獻吻]","en":"[Smooch]","th":"[จูบ]","path":"./assets/Expression/Expression_103@2x.png","style":"we-emoji__Smooch"},{"key":"/:<&","old":"/左太极","cn":"[左太极]","tw":"[左太極]","en":"[TaiChi L]","th":"[หญิงต่อสู้]","path":"./assets/Expression/Expression_104@2x.png","style":"we-emoji__TaiChiL"},{"key":"/:&\\"","old":"/右太极","cn":"[右太极]","tw":"[右太極]","en":"[TaiChi R]","th":"[ชายต่อสู้]","path":"./assets/Expression/Expression_105@2x.png","style":"we-emoji__TaiChiR"},{"key":"[Smirk]","cn":"[奸笑]","qq":"[奸笑]","en":"[Smirk]","tw":"[奸笑]","th":"[Smirk]","path":"./assets/newemoji/2_02.png","style":"we-emoji__Smirk"},{"key":"[Hey]","cn":"[嘿哈]","qq":"[嘿哈]","en":"[Hey]","tw":"[吼嘿]","th":"[Hey]","path":"./assets/newemoji/2_04.png","style":"we-emoji__Hey"},{"key":"[Facepalm]","cn":"[捂脸]","qq":"[捂脸]","en":"[Facepalm]","tw":"[掩面]","th":"[Facepalm]","path":"./assets/newemoji/2_05.png","style":"we-emoji__Facepalm"},{"key":"[Smart]","cn":"[机智]","qq":"[机智]","en":"[Smart]","tw":"[機智]","th":"[Smart]","path":"./assets/newemoji/2_06.png","style":"we-emoji__Smart"},{"key":"[Tea]","cn":"[茶]","qq":"[茶]","en":"[Tea]","tw":"[茶]","th":"[Tea]","path":"./assets/newemoji/2_07.png","style":"we-emoji__Tea"},{"key":"[Packet]","cn":"[红包]","qq":"[红包]","en":"[Packet]","tw":"[Packet]","th":"[Packet]","path":"./assets/newemoji/2_09.png","style":"we-emoji__Packet"},{"key":"[Candle]","cn":"[蜡烛]","qq":"[蜡烛]","en":"[Candle]","tw":"[蠟燭]","th":"[Candle]","path":"./assets/newemoji/2_10.png","style":"we-emoji__Candle"},{"key":"[Yeah!]","cn":"[耶]","qq":"[耶]","en":"[Yeah!]","tw":"[歐耶]","th":"[Yeah!]","path":"./assets/newemoji/2_11.png","style":"we-emoji__Yeah"},{"key":"[Concerned]","cn":"[皱眉]","qq":"[皱眉]","en":"[Concerned]","tw":"[皺眉]","th":"[Concerned]","path":"./assets/newemoji/2_12.png","style":"we-emoji__Concerned"},{"key":"[Salute]","cn":"[抱拳]","qq":"[抱拳]","en":"[Salute]","tw":"[抱拳]","th":"[Salute]","path":"./assets/newemoji/smiley_83b.png","style":"we-emoji__Salute"},{"key":"[Chick]","cn":"[鸡]","qq":"[鸡]","en":"[Chick]","tw":"[小雞]","th":"[Chick]","path":"./assets/newemoji/2_14.png","style":"we-emoji__Chick"},{"key":"[Blessing]","cn":"[福]","qq":"[福]","en":"[Blessing]","tw":"[福]","th":"[Blessing]","path":"./assets/newemoji/2_15.png","style":"we-emoji__Blessing"},{"key":"[Bye]","cn":"[再见]","qq":"[再见]","en":"[Bye]","tw":"[再見]","th":"[Bye]","path":"./assets/newemoji/smiley_39b.png","style":"we-emoji__Bye"},{"key":"[Rich]","cn":"[發]","qq":"[發]","en":"[Rich]","tw":"[發]","th":"[Rich]","path":"./assets/newemoji/2_16.png","style":"we-emoji__Rich"},{"key":"[Pup]","cn":"[小狗]","qq":"[小狗]","en":"[Pup]","tw":"[小狗]","th":"[Pup]","path":"./assets/newemoji/2_17.png","style":"we-emoji__Pup"},{"key":"[Onlooker]","cn":"[吃瓜]","qq":"[吃瓜]","en":"[Onlooker]","tw":"[吃西瓜]","th":"[Onlooker]","path":"./assets/newemoji/Watermelon.png","style":"we-emoji__Onlooker"},{"key":"[GoForIt]","cn":"[加油]","qq":"[加油]","en":"[GoForIt]","tw":"[加油]","th":"[GoForIt]","path":"./assets/newemoji/Addoil.png","style":"we-emoji__GoForIt"},{"key":"[Sweats]","cn":"[汗]","qq":"[汗]","en":"[Sweats]","tw":"[汗]","th":"[Sweats]","path":"./assets/newemoji/Sweat.png","style":"we-emoji__Sweats"},{"key":"[OMG]","cn":"[天啊]","qq":"[天啊]","en":"[OMG]","tw":"[天啊]","th":"[OMG]","path":"./assets/newemoji/Shocked.png","style":"we-emoji__OMG"},{"key":"[Emm]","cn":"[Emm]","qq":"[Emm]","en":"[Emm]","tw":"[一言難盡]","th":"[Emm]","path":"./assets/newemoji/Cold.png","style":"we-emoji__Emm"},{"key":"[Respect]","cn":"[社会社会]","qq":"[社会社会]","en":"[Respect]","tw":"[失敬失敬]","th":"[Respect]","path":"./assets/newemoji/Social.png","style":"we-emoji__Respect"},{"key":"[Doge]","cn":"[旺柴]","qq":"[旺柴]","en":"[Doge]","tw":"[旺柴]","th":"[Doge]","path":"./assets/newemoji/Yellowdog.png","style":"we-emoji__Doge"},{"key":"[NoProb]","cn":"[好的]","qq":"[好的]","en":"[NoProb]","tw":"[好的]","th":"[NoProb]","path":"./assets/newemoji/NoProb.png","style":"we-emoji__NoProb"},{"key":"[MyBad]","cn":"[打脸]","qq":"[打脸]","en":"[MyBad]","tw":"[打臉]","th":"[MyBad]","path":"./assets/newemoji/Slap.png","style":"we-emoji__MyBad"},{"key":"[Wow]","cn":"[哇]","qq":"[哇]","en":"[Wow]","tw":"[哇]","th":"[Wow]","path":"./assets/newemoji/Wow.png","style":"we-emoji__Wow"},{"key":"[KeepFighting]","cn":"[加油加油]","qq":"[加油加油]","en":"[KeepFighting]","tw":"[加油!]","th":"[KeepFighting]","path":"./assets/newemoji/KeepFighting.png","style":"we-emoji__KeepFighting"},{"key":"[Boring]","cn":"[翻白眼]","qq":"[翻白眼]","en":"[Boring]","tw":"[翻白眼]","th":"[Boring]","path":"./assets/newemoji/Boring.png","style":"we-emoji__Boring"},{"key":"[666]","cn":"[666]","qq":"[666]","en":"[Awesome]","tw":"[666]","th":"[Awesome]","path":"./assets/newemoji/666.png","style":"we-emoji__Awesome"},{"key":"[LetMeSee]","cn":"[让我看看]","qq":"[让我看看]","en":"[LetMeSee]","tw":"[讓我看看]","th":"[LetMeSee]","path":"./assets/newemoji/LetMeSee.png","style":"we-emoji__LetMeSee"},{"key":"[Sigh]","cn":"[叹气]","qq":"[叹气]","en":"[Sigh]","tw":"[嘆息]","th":"[Sigh]","path":"./assets/newemoji/Sigh.png","style":"we-emoji__Sigh"},{"key":"[Hurt]","cn":"[苦涩]","qq":"[苦涩]","en":"[Hurt]","tw":"[難受]","th":"[Hurt]","path":"./assets/newemoji/Hurt.png","style":"we-emoji__Hurt"},{"key":"[Broken]","cn":"[裂开]","qq":"[裂开]","en":"[Broken]","tw":"[崩潰]","th":"[Broken]","path":"./assets/newemoji/Broken.png","style":"we-emoji__Broken"},{"key":"[Flushed]","cn":"[脸红]","qq":"[脸红]","en":"[Flushed]","tw":"[臉紅]","th":"[Flushed]","emoji":"😳","path":"./assets/newemoji/Flushed.png","style":"we-emoji__Flushed"},{"key":"[Happy]","cn":"[笑脸]","qq":"[笑脸]","en":"[Happy]","tw":"[笑臉]","th":"[Happy]","emoji":"😄","path":"./assets/newemoji/Happy.png","style":"we-emoji__Happy"},{"key":"[Lol]","cn":"[破涕为笑]","qq":"[破涕为笑]","en":"[Lol]","tw":"[破涕為笑]","th":"[Lol]","emoji":"😂","path":"./assets/newemoji/Lol.png","style":"we-emoji__Lol"},{"key":"[Fireworks]","cn":"[烟花]","qq":"[烟花]","en":"[Fireworks]","tw":"[煙花]","th":"[Fireworks]","path":"./assets/newemoji/Fireworks.png","style":"we-emoji__Fireworks"},{"key":"[Firecracker]","cn":"[爆竹]","qq":"[爆竹]","en":"[Firecracker]","tw":"[爆竹]","th":"[Firecracker]","path":"./assets/newemoji/Firecracker.png","style":"we-emoji__Firecracker"},{"key":"[Party]","cn":"[庆祝]","qq":"[庆祝]","en":"[Party]","tw":"[慶祝]","th":"[Party]","emoji":"🎉","path":"./assets/newemoji/Party.png","style":"we-emoji__Party"},{"key":"[Terror]","cn":"[恐惧]","qq":"[恐惧]","en":"[Terror]","tw":"[恐懼]","th":"[Terror]","emoji":"😱","path":"./assets/newemoji/Terror.png","style":"we-emoji__Terror"},{"key":"[Duh]","cn":"[无语]","qq":"[无语]","en":"[Duh]","tw":"[無語]","th":"[Duh]","emoji":"😒","path":"./assets/newemoji/Duh.png","style":"we-emoji__Duh"},{"key":"[LetDown]","cn":"[失望]","qq":"[失望]","en":"[Let Down]","tw":"[失望]","th":"[Let Down]","emoji":"😔","path":"./assets/newemoji/LetDown.png","style":"we-emoji__LetDown"},{"key":"[Sick]","cn":"[生病]","qq":"[生病]","en":"[Sick]","tw":"[生病]","th":"[Sick]","emoji":"😷","path":"./assets/newemoji/Sick.png","style":"we-emoji__Sick"},{"key":"[Worship]","cn":"[合十]","qq":"[合十]","en":"[Worship]","tw":"[合十]","th":"[Worship]","emoji":"🙏","path":"./assets/newemoji/Worship.png","style":"we-emoji__Worship"}]')},"90e3":function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},9112:function(e,t,n){var r=n("83ab"),o=n("9bf2"),i=n("5c6c");e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},9263:function(e,t,n){"use strict";var r=n("ad6d"),o=n("9f7f"),i=RegExp.prototype.exec,s=String.prototype.replace,a=i,c=function(){var e=/a/,t=/b*/g;return i.call(e,"a"),i.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),u=o.UNSUPPORTED_Y||o.BROKEN_CARET,p=void 0!==/()??/.exec("")[1],f=c||p||u;f&&(a=function(e){var t,n,o,a,f=this,l=u&&f.sticky,h=r.call(f),d=f.source,y=0,m=e;return l&&(h=h.replace("y",""),-1===h.indexOf("g")&&(h+="g"),m=String(e).slice(f.lastIndex),f.lastIndex>0&&(!f.multiline||f.multiline&&"\n"!==e[f.lastIndex-1])&&(d="(?: "+d+")",m=" "+m,y++),n=new RegExp("^(?:"+d+")",h)),p&&(n=new RegExp("^"+d+"$(?!\\s)",h)),c&&(t=f.lastIndex),o=i.call(l?n:f,m),l?o?(o.input=o.input.slice(y),o[0]=o[0].slice(y),o.index=f.lastIndex,f.lastIndex+=o[0].length):f.lastIndex=0:c&&o&&(f.lastIndex=f.global?o.index+o[0].length:t),p&&o&&o.length>1&&s.call(o[0],n,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(o[a]=void 0)})),o}),e.exports=a},"94ca":function(e,t,n){var r=n("d039"),o=/#|\.prototype\./,i=function(e,t){var n=a[s(e)];return n==u||n!=c&&("function"==typeof t?r(t):!!t)},s=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},a=i.data={},c=i.NATIVE="N",u=i.POLYFILL="P";e.exports=i},9523:function(e,t){function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}e.exports=n,e.exports["default"]=e.exports,e.exports.__esModule=!0},"99af":function(e,t,n){"use strict";var r=n("23e7"),o=n("d039"),i=n("e8b5"),s=n("861d"),a=n("7b0b"),c=n("50c4"),u=n("8418"),p=n("65f0"),f=n("1dde"),l=n("b622"),h=n("2d00"),d=l("isConcatSpreadable"),y=9007199254740991,m="Maximum allowed index exceeded",g=h>=51||!o((function(){var e=[];return e[d]=!1,e.concat()[0]!==e})),x=f("concat"),w=function(e){if(!s(e))return!1;var t=e[d];return void 0!==t?!!t:i(e)},_=!g||!x;r({target:"Array",proto:!0,forced:_},{concat:function(e){var t,n,r,o,i,s=a(this),f=p(s,0),l=0;for(t=-1,r=arguments.length;t<r;t++)if(i=-1===t?s:arguments[t],w(i)){if(o=c(i.length),l+o>y)throw TypeError(m);for(n=0;n<o;n++,l++)n in i&&u(f,l,i[n])}else{if(l>=y)throw TypeError(m);u(f,l++,i)}return f.length=l,f}})},"9bdd":function(e,t,n){var r=n("825a"),o=n("2a62");e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(s){throw o(e),s}}},"9bf2":function(e,t,n){var r=n("83ab"),o=n("0cfb"),i=n("825a"),s=n("c04e"),a=Object.defineProperty;t.f=r?a:function(e,t,n){if(i(e),t=s(t,!0),i(n),o)try{return a(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},"9ed3":function(e,t,n){"use strict";var r=n("ae93").IteratorPrototype,o=n("7c73"),i=n("5c6c"),s=n("d44e"),a=n("3f8c"),c=function(){return this};e.exports=function(e,t,n){var u=t+" Iterator";return e.prototype=o(r,{next:i(1,n)}),s(e,u,!1,!0),a[u]=c,e}},"9f7f":function(e,t,n){"use strict";var r=n("d039");function o(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=r((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=r((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},a15b:function(e,t,n){"use strict";var r=n("23e7"),o=n("44ad"),i=n("fc6a"),s=n("a640"),a=[].join,c=o!=Object,u=s("join",",");r({target:"Array",proto:!0,forced:c||!u},{join:function(e){return a.call(i(this),void 0===e?",":e)}})},a4d3:function(e,t,n){"use strict";var r=n("23e7"),o=n("da84"),i=n("d066"),s=n("c430"),a=n("83ab"),c=n("4930"),u=n("fdbf"),p=n("d039"),f=n("5135"),l=n("e8b5"),h=n("861d"),d=n("825a"),y=n("7b0b"),m=n("fc6a"),g=n("c04e"),x=n("5c6c"),w=n("7c73"),_=n("df75"),v=n("241c"),b=n("057f"),E=n("7418"),j=n("06cf"),k=n("9bf2"),S=n("d1e7"),O=n("9112"),P=n("6eeb"),T=n("5692"),q=n("f772"),D=n("d012"),A=n("90e3"),R=n("b622"),C=n("e538"),L=n("746f"),I=n("d44e"),M=n("69f3"),N=n("b727").forEach,F=q("hidden"),B="Symbol",$="prototype",W=R("toPrimitive"),H=M.set,G=M.getterFor(B),U=Object[$],K=o.Symbol,Y=i("JSON","stringify"),V=j.f,J=k.f,X=b.f,z=S.f,Q=T("symbols"),Z=T("op-symbols"),ee=T("string-to-symbol-registry"),te=T("symbol-to-string-registry"),ne=T("wks"),re=o.QObject,oe=!re||!re[$]||!re[$].findChild,ie=a&&p((function(){return 7!=w(J({},"a",{get:function(){return J(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=V(U,t);r&&delete U[t],J(e,t,n),r&&e!==U&&J(U,t,r)}:J,se=function(e,t){var n=Q[e]=w(K[$]);return H(n,{type:B,tag:e,description:t}),a||(n.description=t),n},ae=u?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof K},ce=function(e,t,n){e===U&&ce(Z,t,n),d(e);var r=g(t,!0);return d(n),f(Q,r)?(n.enumerable?(f(e,F)&&e[F][r]&&(e[F][r]=!1),n=w(n,{enumerable:x(0,!1)})):(f(e,F)||J(e,F,x(1,{})),e[F][r]=!0),ie(e,r,n)):J(e,r,n)},ue=function(e,t){d(e);var n=m(t),r=_(n).concat(de(n));return N(r,(function(t){a&&!fe.call(n,t)||ce(e,t,n[t])})),e},pe=function(e,t){return void 0===t?w(e):ue(w(e),t)},fe=function(e){var t=g(e,!0),n=z.call(this,t);return!(this===U&&f(Q,t)&&!f(Z,t))&&(!(n||!f(this,t)||!f(Q,t)||f(this,F)&&this[F][t])||n)},le=function(e,t){var n=m(e),r=g(t,!0);if(n!==U||!f(Q,r)||f(Z,r)){var o=V(n,r);return!o||!f(Q,r)||f(n,F)&&n[F][r]||(o.enumerable=!0),o}},he=function(e){var t=X(m(e)),n=[];return N(t,(function(e){f(Q,e)||f(D,e)||n.push(e)})),n},de=function(e){var t=e===U,n=X(t?Z:m(e)),r=[];return N(n,(function(e){!f(Q,e)||t&&!f(U,e)||r.push(Q[e])})),r};if(c||(K=function(){if(this instanceof K)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=A(e),n=function(e){this===U&&n.call(Z,e),f(this,F)&&f(this[F],t)&&(this[F][t]=!1),ie(this,t,x(1,e))};return a&&oe&&ie(U,t,{configurable:!0,set:n}),se(t,e)},P(K[$],"toString",(function(){return G(this).tag})),P(K,"withoutSetter",(function(e){return se(A(e),e)})),S.f=fe,k.f=ce,j.f=le,v.f=b.f=he,E.f=de,C.f=function(e){return se(R(e),e)},a&&(J(K[$],"description",{configurable:!0,get:function(){return G(this).description}}),s||P(U,"propertyIsEnumerable",fe,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:K}),N(_(ne),(function(e){L(e)})),r({target:B,stat:!0,forced:!c},{for:function(e){var t=String(e);if(f(ee,t))return ee[t];var n=K(t);return ee[t]=n,te[n]=t,n},keyFor:function(e){if(!ae(e))throw TypeError(e+" is not a symbol");if(f(te,e))return te[e]},useSetter:function(){oe=!0},useSimple:function(){oe=!1}}),r({target:"Object",stat:!0,forced:!c,sham:!a},{create:pe,defineProperty:ce,defineProperties:ue,getOwnPropertyDescriptor:le}),r({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:he,getOwnPropertySymbols:de}),r({target:"Object",stat:!0,forced:p((function(){E.f(1)}))},{getOwnPropertySymbols:function(e){return E.f(y(e))}}),Y){var ye=!c||p((function(){var e=K();return"[null]"!=Y([e])||"{}"!=Y({a:e})||"{}"!=Y(Object(e))}));r({target:"JSON",stat:!0,forced:ye},{stringify:function(e,t,n){var r,o=[e],i=1;while(arguments.length>i)o.push(arguments[i++]);if(r=t,(h(t)||void 0!==e)&&!ae(e))return l(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!ae(t))return t}),o[1]=t,Y.apply(null,o)}})}K[$][W]||O(K[$],W,K[$].valueOf),I(K,B),D[F]=!0},a630:function(e,t,n){var r=n("23e7"),o=n("4df4"),i=n("1c7e"),s=!i((function(e){Array.from(e)}));r({target:"Array",stat:!0,forced:s},{from:o})},a640:function(e,t,n){"use strict";var r=n("d039");e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},a691:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},a9e3:function(e,t,n){"use strict";var r=n("83ab"),o=n("da84"),i=n("94ca"),s=n("6eeb"),a=n("5135"),c=n("c6b6"),u=n("7156"),p=n("c04e"),f=n("d039"),l=n("7c73"),h=n("241c").f,d=n("06cf").f,y=n("9bf2").f,m=n("58a8").trim,g="Number",x=o[g],w=x.prototype,_=c(l(w))==g,v=function(e){var t,n,r,o,i,s,a,c,u=p(e,!1);if("string"==typeof u&&u.length>2)if(u=m(u),t=u.charCodeAt(0),43===t||45===t){if(n=u.charCodeAt(2),88===n||120===n)return NaN}else if(48===t){switch(u.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+u}for(i=u.slice(2),s=i.length,a=0;a<s;a++)if(c=i.charCodeAt(a),c<48||c>o)return NaN;return parseInt(i,r)}return+u};if(i(g,!x(" 0o1")||!x("0b1")||x("+0x1"))){for(var b,E=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof E&&(_?f((function(){w.valueOf.call(n)})):c(n)!=g)?u(new x(v(t)),n,E):v(t)},j=r?h(x):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),k=0;j.length>k;k++)a(x,b=j[k])&&!a(E,b)&&y(E,b,d(x,b));E.prototype=w,w.constructor=E,s(o,g,E)}},ab13:function(e,t,n){var r=n("b622"),o=r("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[o]=!1,"/./"[e](t)}catch(r){}}return!1}},ac1f:function(e,t,n){"use strict";var r=n("23e7"),o=n("9263");r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},ad6d:function(e,t,n){"use strict";var r=n("825a");e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},ae93:function(e,t,n){"use strict";var r,o,i,s=n("d039"),a=n("e163"),c=n("9112"),u=n("5135"),p=n("b622"),f=n("c430"),l=p("iterator"),h=!1,d=function(){return this};[].keys&&(i=[].keys(),"next"in i?(o=a(a(i)),o!==Object.prototype&&(r=o)):h=!0);var y=void 0==r||s((function(){var e={};return r[l].call(e)!==e}));y&&(r={}),f&&!y||u(r,l)||c(r,l,d),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},b041:function(e,t,n){"use strict";var r=n("00ee"),o=n("f5df");e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},b0c0:function(e,t,n){var r=n("83ab"),o=n("9bf2").f,i=Function.prototype,s=i.toString,a=/^\s*function ([^ (]*)/,c="name";r&&!(c in i)&&o(i,c,{configurable:!0,get:function(){try{return s.call(this).match(a)[1]}catch(e){return""}}})},b622:function(e,t,n){var r=n("da84"),o=n("5692"),i=n("5135"),s=n("90e3"),a=n("4930"),c=n("fdbf"),u=o("wks"),p=r.Symbol,f=c?p:p&&p.withoutSetter||s;e.exports=function(e){return i(u,e)&&(a||"string"==typeof u[e])||(a&&i(p,e)?u[e]=p[e]:u[e]=f("Symbol."+e)),u[e]}},b64b:function(e,t,n){var r=n("23e7"),o=n("7b0b"),i=n("df75"),s=n("d039"),a=s((function(){i(1)}));r({target:"Object",stat:!0,forced:a},{keys:function(e){return i(o(e))}})},b727:function(e,t,n){var r=n("0366"),o=n("44ad"),i=n("7b0b"),s=n("50c4"),a=n("65f0"),c=[].push,u=function(e){var t=1==e,n=2==e,u=3==e,p=4==e,f=6==e,l=7==e,h=5==e||f;return function(d,y,m,g){for(var x,w,_=i(d),v=o(_),b=r(y,m,3),E=s(v.length),j=0,k=g||a,S=t?k(d,E):n||l?k(d,0):void 0;E>j;j++)if((h||j in v)&&(x=v[j],w=b(x,j,_),e))if(t)S[j]=w;else if(w)switch(e){case 3:return!0;case 5:return x;case 6:return j;case 2:c.call(S,x)}else switch(e){case 4:return!1;case 7:c.call(S,x)}return f?-1:u||p?p:S}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterOut:u(7)}},c04e:function(e,t,n){var r=n("861d");e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},c1fd:function(e){e.exports=JSON.parse('["/::)","/::~","/::B","/::|","/:8-)","/::<","/::$","/::X","/::Z","/::\'(","/::-|","/::@","/::P","/::D","/::O","/::(","[Blush]","/::Q","/::T","/:,@P","/:,@-D","/::d","/:,@o","/:|-)","/::!","/::>","/::,@","/::-S","/:?","/:,@x","/:,@@","/:,@!","/:!!!","/:xx","[Bye]","/:wipe","/:dig","/:handclap","/:B-)","/:@>","/:>-|","/:P-(","/::\'|","/:X-)","/::*","/:8*","[Happy]","[Sick]","[Flushed]","[Lol]","[Terror]","[LetDown]","[Duh]","[Hey]","[Facepalm]","[Smirk]","[Smart]","[Concerned]","[Yeah!]","[Onlooker]","[GoForIt]","[Sweats]","[OMG]","[Emm]","[Respect]","[Doge]","[NoProb]","[MyBad]","[Wow]","[Boring]","[666]","[LetMeSee]","[Sigh]","[Hurt]","[Broken]","/:showlove","/:heart","/:break","/:hug","/:strong","/:weak","/:share","/:v","[Salute]","/:jj","/:@@","/:ok","[Worship]","/:beer","/:coffee","/:cake","/:rose","/:fade","/:pd","/:bome","/:shit","/:moon","/:sun","[Party]","[Gift]","[Packet]","[Rich]","[Blessing]","[Fireworks]","[Firecracker]","/:pig","/:jump","/:shake","/:circle"]')},c430:function(e,t){e.exports=!1},c6b6:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},c6cd:function(e,t,n){var r=n("da84"),o=n("ce4e"),i="__core-js_shared__",s=r[i]||o(i,{});e.exports=s},c8ba:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},c8d2:function(e,t,n){var r=n("d039"),o=n("5899"),i="​…᠎";e.exports=function(e){return r((function(){return!!o[e]()||i[e]()!=i||o[e].name!==e}))}},ca84:function(e,t,n){var r=n("5135"),o=n("fc6a"),i=n("4d64").indexOf,s=n("d012");e.exports=function(e,t){var n,a=o(e),c=0,u=[];for(n in a)!r(s,n)&&r(a,n)&&u.push(n);while(t.length>c)r(a,n=t[c++])&&(~i(u,n)||u.push(n));return u}},cc12:function(e,t,n){var r=n("da84"),o=n("861d"),i=r.document,s=o(i)&&o(i.createElement);e.exports=function(e){return s?i.createElement(e):{}}},cca6:function(e,t,n){var r=n("23e7"),o=n("60da");r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},ce4e:function(e,t,n){var r=n("da84"),o=n("9112");e.exports=function(e,t){try{o(r,e,t)}catch(n){r[e]=t}return t}},d012:function(e,t){e.exports={}},d039:function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},d066:function(e,t,n){var r=n("428f"),o=n("da84"),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},d1e7:function(e,t,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:r},d28b:function(e,t,n){var r=n("746f");r("iterator")},d2bb:function(e,t,n){var r=n("825a"),o=n("3bbe");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,e.call(n,[]),t=n instanceof Array}catch(i){}return function(n,i){return r(n),o(i),t?e.call(n,i):n.__proto__=i,n}}():void 0)},d3b7:function(e,t,n){var r=n("00ee"),o=n("6eeb"),i=n("b041");r||o(Object.prototype,"toString",i,{unsafe:!0})},d44e:function(e,t,n){var r=n("9bf2").f,o=n("5135"),i=n("b622"),s=i("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,s)&&r(e,s,{configurable:!0,value:t})}},d58f:function(e,t,n){var r=n("1c0b"),o=n("7b0b"),i=n("44ad"),s=n("50c4"),a=function(e){return function(t,n,a,c){r(n);var u=o(t),p=i(u),f=s(u.length),l=e?f-1:0,h=e?-1:1;if(a<2)while(1){if(l in p){c=p[l],l+=h;break}if(l+=h,e?l<0:f<=l)throw TypeError("Reduce of empty array with no initial value")}for(;e?l>=0:f>l;l+=h)l in p&&(c=n(c,p[l],l,u));return c}};e.exports={left:a(!1),right:a(!0)}},d784:function(e,t,n){"use strict";n("ac1f");var r=n("6eeb"),o=n("d039"),i=n("b622"),s=n("9263"),a=n("9112"),c=i("species"),u=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),p=function(){return"$0"==="a".replace(/./,"$0")}(),f=i("replace"),l=function(){return!!/./[f]&&""===/./[f]("a","$0")}(),h=!o((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,f){var d=i(e),y=!o((function(){var t={};return t[d]=function(){return 7},7!=""[e](t)})),m=y&&!o((function(){var t=!1,n=/a/;return"split"===e&&(n={},n.constructor={},n.constructor[c]=function(){return n},n.flags="",n[d]=/./[d]),n.exec=function(){return t=!0,null},n[d](""),!t}));if(!y||!m||"replace"===e&&(!u||!p||l)||"split"===e&&!h){var g=/./[d],x=n(d,""[e],(function(e,t,n,r,o){return t.exec===s?y&&!o?{done:!0,value:g.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:p,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:l}),w=x[0],_=x[1];r(String.prototype,e,w),r(RegExp.prototype,d,2==t?function(e,t){return _.call(e,this,t)}:function(e){return _.call(e,this)})}f&&a(RegExp.prototype[d],"sham",!0)}},d81d:function(e,t,n){"use strict";var r=n("23e7"),o=n("b727").map,i=n("1dde"),s=i("map");r({target:"Array",proto:!0,forced:!s},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},da84:function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,n("c8ba"))},dbb4:function(e,t,n){var r=n("23e7"),o=n("83ab"),i=n("56ef"),s=n("fc6a"),a=n("06cf"),c=n("8418");r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){var t,n,r=s(e),o=a.f,u=i(r),p={},f=0;while(u.length>f)n=o(r,t=u[f++]),void 0!==n&&c(p,t,n);return p}})},ddb0:function(e,t,n){var r=n("da84"),o=n("fdbc"),i=n("e260"),s=n("9112"),a=n("b622"),c=a("iterator"),u=a("toStringTag"),p=i.values;for(var f in o){var l=r[f],h=l&&l.prototype;if(h){if(h[c]!==p)try{s(h,c,p)}catch(y){h[c]=p}if(h[u]||s(h,u,f),o[f])for(var d in i)if(h[d]!==i[d])try{s(h,d,i[d])}catch(y){h[d]=i[d]}}}},ded3:function(e,t,n){n("b64b"),n("a4d3"),n("4de4"),n("e439"),n("159b"),n("dbb4");var r=n("9523");function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}e.exports=i,e.exports["default"]=e.exports,e.exports.__esModule=!0},df75:function(e,t,n){var r=n("ca84"),o=n("7839");e.exports=Object.keys||function(e){return r(e,o)}},e01a:function(e,t,n){"use strict";var r=n("23e7"),o=n("83ab"),i=n("da84"),s=n("5135"),a=n("861d"),c=n("9bf2").f,u=n("e893"),p=i.Symbol;if(o&&"function"==typeof p&&(!("description"in p.prototype)||void 0!==p().description)){var f={},l=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof l?new p(e):void 0===e?p():p(e);return""===e&&(f[t]=!0),t};u(l,p);var h=l.prototype=p.prototype;h.constructor=l;var d=h.toString,y="Symbol(test)"==String(p("test")),m=/^Symbol\((.*)\)[^)]+$/;c(h,"description",{configurable:!0,get:function(){var e=a(this)?this.valueOf():this,t=d.call(e);if(s(f,e))return"";var n=y?t.slice(7,-1):t.replace(m,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:l})}},e163:function(e,t,n){var r=n("5135"),o=n("7b0b"),i=n("f772"),s=n("e177"),a=i("IE_PROTO"),c=Object.prototype;e.exports=s?Object.getPrototypeOf:function(e){return e=o(e),r(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?c:null}},e177:function(e,t,n){var r=n("d039");e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},e260:function(e,t,n){"use strict";var r=n("fc6a"),o=n("44d2"),i=n("3f8c"),s=n("69f3"),a=n("7dd0"),c="Array Iterator",u=s.set,p=s.getterFor(c);e.exports=a(Array,"Array",(function(e,t){u(this,{type:c,target:r(e),index:0,kind:t})}),(function(){var e=p(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},e439:function(e,t,n){var r=n("23e7"),o=n("d039"),i=n("fc6a"),s=n("06cf").f,a=n("83ab"),c=o((function(){s(1)})),u=!a||c;r({target:"Object",stat:!0,forced:u,sham:!a},{getOwnPropertyDescriptor:function(e,t){return s(i(e),t)}})},e538:function(e,t,n){var r=n("b622");t.f=r},e893:function(e,t,n){var r=n("5135"),o=n("56ef"),i=n("06cf"),s=n("9bf2");e.exports=function(e,t){for(var n=o(t),a=s.f,c=i.f,u=0;u<n.length;u++){var p=n[u];r(e,p)||a(e,p,c(t,p))}}},e8b5:function(e,t,n){var r=n("c6b6");e.exports=Array.isArray||function(e){return"Array"==r(e)}},e95a:function(e,t,n){var r=n("b622"),o=n("3f8c"),i=r("iterator"),s=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||s[i]===e)}},f5df:function(e,t,n){var r=n("00ee"),o=n("c6b6"),i=n("b622"),s=i("toStringTag"),a="Arguments"==o(function(){return arguments}()),c=function(e,t){try{return e[t]}catch(n){}};e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=c(t=Object(e),s))?n:a?o(t):"Object"==(r=o(t))&&"function"==typeof t.callee?"Arguments":r}},f601:function(e,t,n){var r=n("ded3").default;n("d81d"),n("13d5");var o=n("8c94"),i=n("c1fd"),s=["key","old","cn","qq","en","tw","th","emoji"],a=o.map((function(e){return r({},e)})),c=a.reduce((function(e,t,n){var o=r({},e);return s.forEach((function(e){t[e]&&!o[t[e]]&&(o[t[e]]={index:n})})),o}),{}),u=i.map((function(e){return a[c[e].index]}));t.EmojiData=a,t.EmojiPanelData=u,t.EmojiDataMap=c,e.exports={EmojiData:a,EmojiPanelData:u,EmojiDataMap:c}},f772:function(e,t,n){var r=n("5692"),o=n("90e3"),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},f84d:function(e,t,n){},fb15:function(e,t,n){"use strict";if(n.r(t),n.d(t,"Icon",(function(){return x})),n.d(t,"Parser",(function(){return L})),n.d(t,"install",(function(){return G})),n.d(t,"decode",(function(){return R})),n.d(t,"split",(function(){return A})),n.d(t,"EmojiData",(function(){return f["EmojiData"]})),n.d(t,"EmojiDataMap",(function(){return f["EmojiDataMap"]})),n.d(t,"EmojiPanelData",(function(){return f["EmojiPanelData"]})),n.d(t,"Panel",(function(){return W})),"undefined"!==typeof window){var r=window.document.currentScript,o=n("8875");r=o(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:o});var i=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(n.p=i[1])}n("b64b"),n("a4d3"),n("4de4"),n("e439"),n("159b"),n("dbb4");function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}n("07ac"),n("b0c0");var u=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("img",{staticClass:"we-emoji",class:e.className,attrs:{src:e.picBlank,alt:e.alt}})},p=[],f=(n("5319"),n("ac1f"),n("498a"),n("7db0"),n("f601")),l=n("5e96"),h={name:"EmojiIcon",props:{name:{type:String},text:{type:String}},data:function(){return{picBlank:l["a"]}},beforeCreate:function(){var e=this.$options.propsData,t=e.name,n=e.text;t||n||console.error("emoji-icon error: Prop name or text required. Props receive:",JSON.stringify(this.$options.propsData))},computed:{emojiObj:function(){var e=this.text,t=this.name;if(e&&f["EmojiDataMap"][e]&&f["EmojiData"][f["EmojiDataMap"][e].index])return f["EmojiData"][f["EmojiDataMap"][e].index];if(t){var n=t.toLowerCase(),r=function(e){return e&&e.toLowerCase().replace(/\W+/g," ").trim().replace(/\s/g,"-")},o=f["EmojiData"].find((function(e){return r(e.en)===n}));if(o)return o}return(t||e)&&console.error("emoji-icon error: Illegal prop name or text. Props receive:",JSON.stringify(this.$options.propsData)),{}},className:function(){return this.emojiObj.style},alt:function(){return this.text}}},d=h;function y(e,t,n,r,o,i,s,a){var c,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),s?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},u._ssrRegister=c):o&&(c=a?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var p=u.render;u.render=function(e,t){return c.call(t),p(e,t)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:e,options:u}}var m=y(d,u,p,!1,null,null,null),g=m.exports;g.install=function(e){e.component(g.name,g)};var x=g;function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _(e){if(Array.isArray(e))return w(e)}n("e01a"),n("d3b7"),n("d28b"),n("3ca3"),n("e260"),n("ddb0"),n("a630");function v(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}n("fb6a");function b(e,t){if(e){if("string"===typeof e)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?w(e,t):void 0}}function E(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function j(e){return _(e)||v(e)||b(e)||E()}n("d81d"),n("13d5"),n("99af"),n("4d63"),n("25f0"),n("a15b"),n("cca6"),n("2ca0");var k=function(e){var t=e.className,n=e.text,r=e.src;return'<img src="'.concat(l["a"],'" class="we-emoji ').concat(t,'" alt="').concat(n,'" data-src="').concat(r,'">')};function S(e){return!(!f["EmojiDataMap"][e]||!f["EmojiData"][f["EmojiDataMap"][e].index])}function O(e,t,n){var r,o=new RegExp(t,"g");while(r=o.exec(e))for(var i=r,s=i[0],a=i.index,c=n.length;c<=s.length;++c){var u=s.slice(0,c);if(S(u))return{0:u,index:a}}return null}function P(e){var t,n=new RegExp(/\[[^[\]]+\]/,"g");while(t=n.exec(e))if(S(t[0]))return t;return null}function T(e){var t=/(\ud83c[\udf00-\udfff])|(\ud83d[\udc00-\ude4f\ude80-\udeff])|[\u2600-\u2B55]/;return P(e)||O(e,/\/([\u4e00-\u9fa5\w]{1,4})/,"/")||O(e,/\/(:[^/]{1,8})/,"/:")||O(e,t,"")}function q(e){return e}function D(e){if(!e)return[];var t=T(e);if(t){var n=t[0],r=t.index,o=e.slice(0,r),i=e.slice(r+n.length),s=S(n)?{text:n,data:f["EmojiData"][f["EmojiDataMap"][n].index]}:n,a=[].concat(j(D(o)),[s],j(D(i)));return a.some((function(e){return e.text}))?a:[a.join("")]}return[e]}var A=function(e,t){var n=q(e,t);return D(n).map((function(e){if("string"===typeof e)return e;var t=Object.assign({},e.data),n=e.data.path;return t.url="".concat("https://web.archive.org/web/20240514130121/https://res.wx.qq.com/t/wx_fed/we-emoji/res/v1.3.13/").concat(n.startsWith("./")?n.slice(2):n),delete t.path,c(c({},e),{},{data:t})}))},R=function(e,t){return e?A(e,t).map((function(e){return e.text?k({text:e.text,className:e.data.style,src:e.data.url}):e})).join(""):e},C={name:"EmojiParser",props:{tag:{type:String,default:"span"}},methods:{replace:function(e){var t=this,n=this.$createElement;return e&&e.length?e.map((function(e){var r=e.text;if(!r){var o=function(e){return e&&e.reduce((function(e,t){return Array.isArray(t)?[].concat(j(e),j(t)):[].concat(j(e),[t])}),[])};return c(c({},e),{},{children:o(t.replace(e.children))})}return A(r).map((function(e){return e.text?n(x,{attrs:{text:e.text}}):t._v(e)}))})):e}},render:function(e){return e(this.tag,this.replace(this.$slots.default))},install:function(e){e.component(C.name,C)}},L=C,I=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"emotion_panel"},[n("ul",{staticClass:"emotions",attrs:{slot:"content"},slot:"content"},e._l(e.edata,(function(t,r){return n("li",{key:t.key,staticClass:"emotions_item",on:{click:function(t){return e.select(r)}}},[n("emoji-icon",{attrs:{text:t.cn}})],1)})),0)])},M=[],N=(n("a9e3"),{name:"EmojiPanel",props:{emojiPanelWidth:{type:Number,default:300},emojiPanelHeight:{type:Number,default:300}},data:function(){return{edata:f["EmojiPanelData"]}},methods:{select:function(e){this.$emit("select",this.edata[e])}}}),F=N,B=y(F,I,M,!1,null,null,null),$=B.exports;$.install=function(e){e.component($.name,$)};var W=$,H=(n("f84d"),{Icon:x,Parser:L,Panel:W}),G=function e(t){e.installed||(e.installed=!0,Object.values(H).forEach((function(e){t.component(e.name,e)})))},U=c(c({},H),{},{install:G,decode:R,split:A,EmojiData:f["EmojiData"],EmojiDataMap:f["EmojiDataMap"],EmojiPanelData:f["EmojiPanelData"]});"undefined"!==typeof window&&window.Vue&&G(window.Vue);var K=U;t["default"]=K},fb6a:function(e,t,n){"use strict";var r=n("23e7"),o=n("861d"),i=n("e8b5"),s=n("23cb"),a=n("50c4"),c=n("fc6a"),u=n("8418"),p=n("b622"),f=n("1dde"),l=f("slice"),h=p("species"),d=[].slice,y=Math.max;r({target:"Array",proto:!0,forced:!l},{slice:function(e,t){var n,r,p,f=c(this),l=a(f.length),m=s(e,l),g=s(void 0===t?l:t,l);if(i(f)&&(n=f.constructor,"function"!=typeof n||n!==Array&&!i(n.prototype)?o(n)&&(n=n[h],null===n&&(n=void 0)):n=void 0,n===Array||void 0===n))return d.call(f,m,g);for(r=new(void 0===n?Array:n)(y(g-m,0)),p=0;m<g;m++,p++)m in f&&u(r,p,f[m]);return r.length=p,r}})},fc6a:function(e,t,n){var r=n("44ad"),o=n("1d80");e.exports=function(e){return r(o(e))}},fdbc:function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(e,t,n){var r=n("4930");e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}})["default"]}));</script><script h5only type="text/javascript" nonce="1496042457" reportloaderror>!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Darkmode",[],t):"object"==typeof exports?exports.Darkmode=t():e.Darkmode=t()}(window,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(n,a,function(t){return e[t]}.bind(null,a));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=9)}([function(e,t,r){"use strict";var n=r(3),a=r(6),o=[].slice,i=["keyword","gray","hex"],l={};Object.keys(a).forEach((function(e){l[o.call(a[e].labels).sort().join("")]=e}));var s={};function u(e,t){if(!(this instanceof u))return new u(e,t);if(t&&t in i&&(t=null),t&&!(t in a))throw new Error("Unknown model: "+t);var r,c;if(null==e)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof u)this.model=e.model,this.color=e.color.slice(),this.valpha=e.valpha;else if("string"==typeof e){var h=n.get(e);if(null===h)throw new Error("Unable to parse color from string: "+e);this.model=h.model,c=a[this.model].channels,this.color=h.value.slice(0,c),this.valpha="number"==typeof h.value[c]?h.value[c]:1}else if(e.length){this.model=t||"rgb",c=a[this.model].channels;var f=o.call(e,0,c);this.color=d(f,c),this.valpha="number"==typeof e[c]?e[c]:1}else if("number"==typeof e)e&=16777215,this.model="rgb",this.color=[e>>16&255,e>>8&255,255&e],this.valpha=1;else{this.valpha=1;var g=Object.keys(e);"alpha"in e&&(g.splice(g.indexOf("alpha"),1),this.valpha="number"==typeof e.alpha?e.alpha:0);var b=g.sort().join("");if(!(b in l))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=l[b];var p=a[this.model].labels,y=[];for(r=0;r<p.length;r++)y.push(e[p[r]]);this.color=d(y)}if(s[this.model])for(c=a[this.model].channels,r=0;r<c;r++){var m=s[this.model][r];m&&(this.color[r]=m(this.color[r]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}function c(e,t,r){return(e=Array.isArray(e)?e:[e]).forEach((function(e){(s[e]||(s[e]=[]))[t]=r})),e=e[0],function(n){var a;return arguments.length?(r&&(n=r(n)),(a=this[e]()).color[t]=n,a):(a=this[e]().color[t],r&&(a=r(a)),a)}}function h(e){return function(t){return Math.max(0,Math.min(e,t))}}function f(e){return Array.isArray(e)?e:[e]}function d(e,t){for(var r=0;r<t;r++)"number"!=typeof e[r]&&(e[r]=0);return e}u.prototype={toString:function(){return this.string()},toJSON:function(){return this[this.model]()},string:function(e){var t=this.model in n.to?this:this.rgb(),r=1===(t=t.round("number"==typeof e?e:1)).valpha?t.color:t.color.concat(this.valpha);return n.to[t.model](r)},percentString:function(e){var t=this.rgb().round("number"==typeof e?e:1),r=1===t.valpha?t.color:t.color.concat(this.valpha);return n.to.rgb.percent(r)},array:function(){return 1===this.valpha?this.color.slice():this.color.concat(this.valpha)},object:function(){for(var e={},t=a[this.model].channels,r=a[this.model].labels,n=0;n<t;n++)e[r[n]]=this.color[n];return 1!==this.valpha&&(e.alpha=this.valpha),e},unitArray:function(){var e=this.rgb().color;return e[0]/=255,e[1]/=255,e[2]/=255,1!==this.valpha&&e.push(this.valpha),e},unitObject:function(){var e=this.rgb().object();return e.r/=255,e.g/=255,e.b/=255,1!==this.valpha&&(e.alpha=this.valpha),e},round:function(e){return e=Math.max(e||0,0),new u(this.color.map(function(e){return function(t){return function(e,t){return Number(e.toFixed(t))}(t,e)}}(e)).concat(this.valpha),this.model)},alpha:function(e){return arguments.length?new u(this.color.concat(Math.max(0,Math.min(1,e))),this.model):this.valpha},red:c("rgb",0,h(255)),green:c("rgb",1,h(255)),blue:c("rgb",2,h(255)),hue:c(["hsl","hsv","hsl","hwb","hcg"],0,(function(e){return(e%360+360)%360})),saturationl:c("hsl",1,h(100)),lightness:c("hsl",2,h(100)),saturationv:c("hsv",1,h(100)),value:c("hsv",2,h(100)),chroma:c("hcg",1,h(100)),gray:c("hcg",2,h(100)),white:c("hwb",1,h(100)),wblack:c("hwb",2,h(100)),cyan:c("cmyk",0,h(100)),magenta:c("cmyk",1,h(100)),yellow:c("cmyk",2,h(100)),black:c("cmyk",3,h(100)),x:c("xyz",0,h(100)),y:c("xyz",1,h(100)),z:c("xyz",2,h(100)),l:c("lab",0,h(100)),a:c("lab",1),b:c("lab",2),keyword:function(e){return arguments.length?new u(e):a[this.model].keyword(this.color)},hex:function(e){return arguments.length?new u(e):n.to.hex(this.rgb().round().color)},rgbNumber:function(){var e=this.rgb().color;return(255&e[0])<<16|(255&e[1])<<8|255&e[2]},luminosity:function(){for(var e=this.rgb().color,t=[],r=0;r<e.length;r++){var n=e[r]/255;t[r]=n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast:function(e){var t=this.luminosity(),r=e.luminosity();return t>r?(t+.05)/(r+.05):(r+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},isDark:function(){var e=this.rgb().color;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},isLight:function(){return!this.isDark()},negate:function(){for(var e=this.rgb(),t=0;t<3;t++)e.color[t]=255-e.color[t];return e},lighten:function(e){var t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken:function(e){var t=this.hsl();return t.color[2]-=t.color[2]*e,t},saturate:function(e){var t=this.hsl();return t.color[1]+=t.color[1]*e,t},desaturate:function(e){var t=this.hsl();return t.color[1]-=t.color[1]*e,t},whiten:function(e){var t=this.hwb();return t.color[1]+=t.color[1]*e,t},blacken:function(e){var t=this.hwb();return t.color[2]+=t.color[2]*e,t},grayscale:function(){var e=this.rgb().color,t=.3*e[0]+.59*e[1]+.11*e[2];return u.rgb(t,t,t)},fade:function(e){return this.alpha(this.valpha-this.valpha*e)},opaquer:function(e){return this.alpha(this.valpha+this.valpha*e)},rotate:function(e){var t=this.hsl(),r=t.color[0];return r=(r=(r+e)%360)<0?360+r:r,t.color[0]=r,t},mix:function(e,t){if(!e||!e.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e);var r=e.rgb(),n=this.rgb(),a=void 0===t?.5:t,o=2*a-1,i=r.alpha()-n.alpha(),l=((o*i==-1?o:(o+i)/(1+o*i))+1)/2,s=1-l;return u.rgb(l*r.red()+s*n.red(),l*r.green()+s*n.green(),l*r.blue()+s*n.blue(),r.alpha()*a+n.alpha()*(1-a))}},Object.keys(a).forEach((function(e){if(-1===i.indexOf(e)){var t=a[e].channels;u.prototype[e]=function(){if(this.model===e)return new u(this);if(arguments.length)return new u(arguments,e);var r="number"==typeof arguments[t]?t:this.valpha;return new u(f(a[this.model][e].raw(this.color)).concat(r),e)},u[e]=function(r){return"number"==typeof r&&(r=d(o.call(arguments),t)),new u(r,e)}}})),e.exports=u},function(e,t,r){"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},function(e,t,r){var n=r(7),a={};for(var o in n)n.hasOwnProperty(o)&&(a[n[o]]=o);var i=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var l in i)if(i.hasOwnProperty(l)){if(!("channels"in i[l]))throw new Error("missing channels property: "+l);if(!("labels"in i[l]))throw new Error("missing channel labels property: "+l);if(i[l].labels.length!==i[l].channels)throw new Error("channel and label counts mismatch: "+l);var s=i[l].channels,u=i[l].labels;delete i[l].channels,delete i[l].labels,Object.defineProperty(i[l],"channels",{value:s}),Object.defineProperty(i[l],"labels",{value:u})}i.rgb.hsl=function(e){var t,r,n=e[0]/255,a=e[1]/255,o=e[2]/255,i=Math.min(n,a,o),l=Math.max(n,a,o),s=l-i;return l===i?t=0:n===l?t=(a-o)/s:a===l?t=2+(o-n)/s:o===l&&(t=4+(n-a)/s),(t=Math.min(60*t,360))<0&&(t+=360),r=(i+l)/2,[t,100*(l===i?0:r<=.5?s/(l+i):s/(2-l-i)),100*r]},i.rgb.hsv=function(e){var t,r,n,a,o,i=e[0]/255,l=e[1]/255,s=e[2]/255,u=Math.max(i,l,s),c=u-Math.min(i,l,s),h=function(e){return(u-e)/6/c+.5};return 0===c?a=o=0:(o=c/u,t=h(i),r=h(l),n=h(s),i===u?a=n-r:l===u?a=1/3+t-n:s===u&&(a=2/3+r-t),a<0?a+=1:a>1&&(a-=1)),[360*a,100*o,100*u]},i.rgb.hwb=function(e){var t=e[0],r=e[1],n=e[2];return[i.rgb.hsl(e)[0],100*(1/255*Math.min(t,Math.min(r,n))),100*(n=1-1/255*Math.max(t,Math.max(r,n)))]},i.rgb.cmyk=function(e){var t,r=e[0]/255,n=e[1]/255,a=e[2]/255;return[100*((1-r-(t=Math.min(1-r,1-n,1-a)))/(1-t)||0),100*((1-n-t)/(1-t)||0),100*((1-a-t)/(1-t)||0),100*t]},i.rgb.keyword=function(e){var t=a[e];if(t)return t;var r,o,i,l=1/0;for(var s in n)if(n.hasOwnProperty(s)){var u=n[s],c=(o=e,i=u,Math.pow(o[0]-i[0],2)+Math.pow(o[1]-i[1],2)+Math.pow(o[2]-i[2],2));c<l&&(l=c,r=s)}return r},i.keyword.rgb=function(e){return n[e]},i.rgb.xyz=function(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)+.1805*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)),100*(.2126*t+.7152*r+.0722*n),100*(.0193*t+.1192*r+.9505*n)]},i.rgb.lab=function(e){var t=i.rgb.xyz(e),r=t[0],n=t[1],a=t[2];return n/=100,a/=108.883,r=(r/=95.047)>.008856?Math.pow(r,1/3):7.787*r+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(r-n),200*(n-(a=a>.008856?Math.pow(a,1/3):7.787*a+16/116))]},i.hsl.rgb=function(e){var t,r,n,a,o,i=e[0]/360,l=e[1]/100,s=e[2]/100;if(0===l)return[o=255*s,o,o];t=2*s-(r=s<.5?s*(1+l):s+l-s*l),a=[0,0,0];for(var u=0;u<3;u++)(n=i+1/3*-(u-1))<0&&n++,n>1&&n--,o=6*n<1?t+6*(r-t)*n:2*n<1?r:3*n<2?t+(r-t)*(2/3-n)*6:t,a[u]=255*o;return a},i.hsl.hsv=function(e){var t=e[0],r=e[1]/100,n=e[2]/100,a=r,o=Math.max(n,.01);return r*=(n*=2)<=1?n:2-n,a*=o<=1?o:2-o,[t,100*(0===n?2*a/(o+a):2*r/(n+r)),100*((n+r)/2)]},i.hsv.rgb=function(e){var t=e[0]/60,r=e[1]/100,n=e[2]/100,a=Math.floor(t)%6,o=t-Math.floor(t),i=255*n*(1-r),l=255*n*(1-r*o),s=255*n*(1-r*(1-o));switch(n*=255,a){case 0:return[n,s,i];case 1:return[l,n,i];case 2:return[i,n,s];case 3:return[i,l,n];case 4:return[s,i,n];case 5:return[n,i,l]}},i.hsv.hsl=function(e){var t,r,n,a=e[0],o=e[1]/100,i=e[2]/100,l=Math.max(i,.01);return n=(2-o)*i,r=o*l,[a,100*(r=(r/=(t=(2-o)*l)<=1?t:2-t)||0),100*(n/=2)]},i.hwb.rgb=function(e){var t,r,n,a,o,i,l,s=e[0]/360,u=e[1]/100,c=e[2]/100,h=u+c;switch(h>1&&(u/=h,c/=h),n=6*s-(t=Math.floor(6*s)),0!=(1&t)&&(n=1-n),a=u+n*((r=1-c)-u),t){default:case 6:case 0:o=r,i=a,l=u;break;case 1:o=a,i=r,l=u;break;case 2:o=u,i=r,l=a;break;case 3:o=u,i=a,l=r;break;case 4:o=a,i=u,l=r;break;case 5:o=r,i=u,l=a}return[255*o,255*i,255*l]},i.cmyk.rgb=function(e){var t=e[0]/100,r=e[1]/100,n=e[2]/100,a=e[3]/100;return[255*(1-Math.min(1,t*(1-a)+a)),255*(1-Math.min(1,r*(1-a)+a)),255*(1-Math.min(1,n*(1-a)+a))]},i.xyz.rgb=function(e){var t,r,n,a=e[0]/100,o=e[1]/100,i=e[2]/100;return r=-.9689*a+1.8758*o+.0415*i,n=.0557*a+-.204*o+1.057*i,t=(t=3.2406*a+-1.5372*o+-.4986*i)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,[255*(t=Math.min(Math.max(0,t),1)),255*(r=Math.min(Math.max(0,r),1)),255*(n=Math.min(Math.max(0,n),1))]},i.xyz.lab=function(e){var t=e[0],r=e[1],n=e[2];return r/=100,n/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(t-r),200*(r-(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116))]},i.lab.xyz=function(e){var t,r,n,a=e[0];t=e[1]/500+(r=(a+16)/116),n=r-e[2]/200;var o=Math.pow(r,3),i=Math.pow(t,3),l=Math.pow(n,3);return r=o>.008856?o:(r-16/116)/7.787,t=i>.008856?i:(t-16/116)/7.787,n=l>.008856?l:(n-16/116)/7.787,[t*=95.047,r*=100,n*=108.883]},i.lab.lch=function(e){var t,r=e[0],n=e[1],a=e[2];return(t=360*Math.atan2(a,n)/2/Math.PI)<0&&(t+=360),[r,Math.sqrt(n*n+a*a),t]},i.lch.lab=function(e){var t,r=e[0],n=e[1];return t=e[2]/360*2*Math.PI,[r,n*Math.cos(t),n*Math.sin(t)]},i.rgb.ansi16=function(e){var t=e[0],r=e[1],n=e[2],a=1 in arguments?arguments[1]:i.rgb.hsv(e)[2];if(0===(a=Math.round(a/50)))return 30;var o=30+(Math.round(n/255)<<2|Math.round(r/255)<<1|Math.round(t/255));return 2===a&&(o+=60),o},i.hsv.ansi16=function(e){return i.rgb.ansi16(i.hsv.rgb(e),e[2])},i.rgb.ansi256=function(e){var t=e[0],r=e[1],n=e[2];return t===r&&r===n?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)},i.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var r=.5*(1+~~(e>50));return[(1&t)*r*255,(t>>1&1)*r*255,(t>>2&1)*r*255]},i.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var r;return e-=16,[Math.floor(e/36)/5*255,Math.floor((r=e%36)/6)/5*255,r%6/5*255]},i.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},i.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var r=t[0];3===t[0].length&&(r=r.split("").map((function(e){return e+e})).join(""));var n=parseInt(r,16);return[n>>16&255,n>>8&255,255&n]},i.rgb.hcg=function(e){var t,r=e[0]/255,n=e[1]/255,a=e[2]/255,o=Math.max(Math.max(r,n),a),i=Math.min(Math.min(r,n),a),l=o-i;return t=l<=0?0:o===r?(n-a)/l%6:o===n?2+(a-r)/l:4+(r-n)/l+4,t/=6,[360*(t%=1),100*l,100*(l<1?i/(1-l):0)]},i.hsl.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=1,a=0;return(n=r<.5?2*t*r:2*t*(1-r))<1&&(a=(r-.5*n)/(1-n)),[e[0],100*n,100*a]},i.hsv.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=t*r,a=0;return n<1&&(a=(r-n)/(1-n)),[e[0],100*n,100*a]},i.hcg.rgb=function(e){var t=e[0]/360,r=e[1]/100,n=e[2]/100;if(0===r)return[255*n,255*n,255*n];var a,o=[0,0,0],i=t%1*6,l=i%1,s=1-l;switch(Math.floor(i)){case 0:o[0]=1,o[1]=l,o[2]=0;break;case 1:o[0]=s,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=l;break;case 3:o[0]=0,o[1]=s,o[2]=1;break;case 4:o[0]=l,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=s}return a=(1-r)*n,[255*(r*o[0]+a),255*(r*o[1]+a),255*(r*o[2]+a)]},i.hcg.hsv=function(e){var t=e[1]/100,r=t+e[2]/100*(1-t),n=0;return r>0&&(n=t/r),[e[0],100*n,100*r]},i.hcg.hsl=function(e){var t=e[1]/100,r=e[2]/100*(1-t)+.5*t,n=0;return r>0&&r<.5?n=t/(2*r):r>=.5&&r<1&&(n=t/(2*(1-r))),[e[0],100*n,100*r]},i.hcg.hwb=function(e){var t=e[1]/100,r=t+e[2]/100*(1-t);return[e[0],100*(r-t),100*(1-r)]},i.hwb.hcg=function(e){var t=e[1]/100,r=1-e[2]/100,n=r-t,a=0;return n<1&&(a=(r-n)/(1-n)),[e[0],100*n,100*a]},i.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},i.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},i.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},i.gray.hsl=i.gray.hsv=function(e){return[0,0,e[0]]},i.gray.hwb=function(e){return[0,100,e[0]]},i.gray.cmyk=function(e){return[0,0,0,e[0]]},i.gray.lab=function(e){return[e[0],0,0]},i.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r},i.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},function(e,t,r){var n=r(1),a=r(4),o=Object.hasOwnProperty,i={};for(var l in n)o.call(n,l)&&(i[n[l]]=l);var s=e.exports={to:{},get:{}};function u(e,t,r){return Math.min(Math.max(t,e),r)}function c(e){var t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}s.get=function(e){var t,r;switch(e.substring(0,3).toLowerCase()){case"hsl":t=s.get.hsl(e),r="hsl";break;case"hwb":t=s.get.hwb(e),r="hwb";break;default:t=s.get.rgb(e),r="rgb"}return t?{model:r,value:t}:null},s.get.rgb=function(e){if(!e)return null;var t,r,a,i=[0,0,0,1];if(t=e.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(a=t[2],t=t[1],r=0;r<3;r++){var l=2*r;i[r]=parseInt(t.slice(l,l+2),16)}a&&(i[3]=parseInt(a,16)/255)}else if(t=e.match(/^#([a-f0-9]{3,4})$/i)){for(a=(t=t[1])[3],r=0;r<3;r++)i[r]=parseInt(t[r]+t[r],16);a&&(i[3]=parseInt(a+a,16)/255)}else if(t=e.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(r=0;r<3;r++)i[r]=parseInt(t[r+1],0);t[4]&&(t[5]?i[3]=.01*parseFloat(t[4]):i[3]=parseFloat(t[4]))}else{if(!(t=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)))return(t=e.match(/^(\w+)$/))?"transparent"===t[1]?[0,0,0,0]:o.call(n,t[1])?((i=n[t[1]])[3]=1,i):null:null;for(r=0;r<3;r++)i[r]=Math.round(2.55*parseFloat(t[r+1]));t[4]&&(t[5]?i[3]=.01*parseFloat(t[4]):i[3]=parseFloat(t[4]))}for(r=0;r<3;r++)i[r]=u(i[r],0,255);return i[3]=u(i[3],0,1),i},s.get.hsl=function(e){if(!e)return null;var t=e.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var r=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,u(parseFloat(t[2]),0,100),u(parseFloat(t[3]),0,100),u(isNaN(r)?1:r,0,1)]}return null},s.get.hwb=function(e){if(!e)return null;var t=e.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var r=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,u(parseFloat(t[2]),0,100),u(parseFloat(t[3]),0,100),u(isNaN(r)?1:r,0,1)]}return null},s.to.hex=function(){var e=a(arguments);return"#"+c(e[0])+c(e[1])+c(e[2])+(e[3]<1?c(Math.round(255*e[3])):"")},s.to.rgb=function(){var e=a(arguments);return e.length<4||1===e[3]?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"},s.to.rgb.percent=function(){var e=a(arguments),t=Math.round(e[0]/255*100),r=Math.round(e[1]/255*100),n=Math.round(e[2]/255*100);return e.length<4||1===e[3]?"rgb("+t+"%, "+r+"%, "+n+"%)":"rgba("+t+"%, "+r+"%, "+n+"%, "+e[3]+")"},s.to.hsl=function(){var e=a(arguments);return e.length<4||1===e[3]?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"},s.to.hwb=function(){var e=a(arguments),t="";return e.length>=4&&1!==e[3]&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"},s.to.keyword=function(e){return i[e.slice(0,3)]}},function(e,t,r){"use strict";var n=r(5),a=Array.prototype.concat,o=Array.prototype.slice,i=e.exports=function(e){for(var t=[],r=0,i=e.length;r<i;r++){var l=e[r];n(l)?t=a.call(t,o.call(l)):t.push(l)}return t};i.wrap=function(e){return function(){return e(i(arguments))}}},function(e,t){e.exports=function(e){return!(!e||"string"==typeof e)&&(e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&"String"!==e.constructor.name))}},function(e,t,r){var n=r(2),a=r(8),o={};Object.keys(n).forEach((function(e){o[e]={},Object.defineProperty(o[e],"channels",{value:n[e].channels}),Object.defineProperty(o[e],"labels",{value:n[e].labels});var t=a(e);Object.keys(t).forEach((function(r){var n=t[r];o[e][r]=function(e){var t=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var r=e(t);if("object"==typeof r)for(var n=r.length,a=0;a<n;a++)r[a]=Math.round(r[a]);return r};return"conversion"in e&&(t.conversion=e.conversion),t}(n),o[e][r].raw=function(e){var t=function(t){return null==t?t:(arguments.length>1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(n)}))})),e.exports=o},function(e,t,r){"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},function(e,t,r){var n=r(2);function a(e){var t=function(){for(var e={},t=Object.keys(n),r=t.length,a=0;a<r;a++)e[t[a]]={distance:-1,parent:null};return e}(),r=[e];for(t[e].distance=0;r.length;)for(var a=r.pop(),o=Object.keys(n[a]),i=o.length,l=0;l<i;l++){var s=o[l],u=t[s];-1===u.distance&&(u.distance=t[a].distance+1,u.parent=a,r.unshift(s))}return t}function o(e,t){return function(r){return t(e(r))}}function i(e,t){for(var r=[t[e].parent,e],a=n[t[e].parent][e],i=t[e].parent;t[i].parent;)r.unshift(t[i].parent),a=o(n[t[i].parent][i],a),i=t[i].parent;return a.conversion=r,a}e.exports=function(e){for(var t=a(e),r={},n=Object.keys(t),o=n.length,l=0;l<o;l++){var s=n[l];null!==t[s].parent&&(r[s]=i(s,t))}return r}},function(e,t,r){"use strict";r.r(t),r.d(t,"run",(function(){return ke})),r.d(t,"init",(function(){return we})),r.d(t,"convertBg",(function(){return xe})),r.d(t,"extend",(function(){return Me})),r.d(t,"updateStyle",(function(){return _e})),r.d(t,"getContrast",(function(){return Ce}));var n="(prefers-color-scheme: dark)",a=new RegExp("".concat("js_darkmode__","\\d+")),o="data_color_scheme_dark",i="".concat(1*new Date).concat(Math.round(10*Math.random())),l="data-darkmode-color-".concat(i),s="data-darkmode-bgcolor-".concat(i),u="data-darkmode-original-color-".concat(i),c="data-darkmode-original-bgcolor-".concat(i),h="data-darkmode-bgimage-".concat(i),f=window.getInnerHeight&&window.getInnerHeight()||window.innerHeight||document.documentElement.clientHeight,d=["TABLE","TR","TD","TH"],g=/ !important$/,b=/<\$#_SEMICOLON_#\$>/g,p={hasInit:!1,begin:null,showFirstPage:null,error:null,mode:"",whitelist:{tagName:["MPCPS","IFRAME"]},needJudgeFirstPage:!0,delayBgJudge:!1,container:null,cssSelectorsPrefix:"",defaultLightTextColor:"#191919",defaultLightBgColor:"#fff",defaultDarkTextColor:"#a3a3a3",defaultDarkBgColor:"#191919",set:function(e,t,r){var n=t[r];switch(e){case"boolean":"boolean"==typeof n&&(this[r]=n);break;case"string":"string"==typeof n&&""!==n&&(this[r]=n);break;case"function":"function"==typeof n&&(this[r]=n);break;case"dom":n instanceof HTMLElement&&(this[r]=n)}}};function y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function k(e,t,r){return t&&v(e.prototype,t),r&&v(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}var w=[],x=[],M=function(){function e(){m(this,e)}return k(e,[{key:"loopTimes",get:function(){return he.loopTimes}},{key:"isDarkmode",get:function(){return pe.isDarkmode}},{key:"addCss",value:function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];(r?w:x).push(ge.genCss(e,t.map((function(e){var t=e.key,r=e.value;return ge.genCssKV(t,r)})).join("")))}}]),e}(),_=function(){function e(){m(this,e),y(this,"_plugins",[]),y(this,"length",0),y(this,"loopTimes",0),y(this,"firstPageStyle",""),y(this,"otherPageStyle",""),y(this,"firstPageStyleNoMQ",""),y(this,"otherPageStyleNoMQ","")}return k(e,[{key:"extend",value:function(e){this._plugins.push(new(e(M))),this.length++}},{key:"emit",value:function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];this._plugins.forEach((function(t){"function"==typeof t[e]&&t[e].apply(t,r)}))}},{key:"addCss",value:function(e){e?(this.firstPageStyle+=w.join(""),this.firstPageStyleNoMQ+=x.join("")):(this.otherPageStyle+=w.join(""),this.otherPageStyleNoMQ+=x.join(""))}},{key:"resetCss",value:function(){w=[],x=[]}}]),e}();function C(e){return(C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function j(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function S(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var P=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),S(this,"_queue",[]),S(this,"_idx",0),this._prefix=t}var t,r,n;return t=e,(r=[{key:"push",value:function(e){var t="".concat(this._prefix).concat(this._idx++);e.classList.add(t),this._queue.push({el:e,className:t,updated:!p.delayBgJudge})}},{key:"forEach",value:function(e){var t=[];for(this._queue.forEach((function(r,n){r.updated&&(t.unshift(n),C(e)&&e(r.el))}));t.length;)this._queue.splice(t.shift(),1)}},{key:"update",value:function(e){this._queue.forEach((function(t){t.updated||Array.prototype.some.call(e,(function(e){return!(1!==e.nodeType||!e.classList.contains(t.className)||(t.el=e,t.updated=!0,0))}))}))}}])&&j(t.prototype,r),n&&j(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function O(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function B(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var A=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),B(this,"_stack",[]),B(this,"_idx",0),this._prefix=t,this.classNameReg=new RegExp("".concat(this._prefix,"\\d+"))}var t,r,n;return t=e,(r=[{key:"push",value:function(e,t){var r="".concat(this._prefix).concat(this._idx++);e.classList.add(r),this._stack.unshift({el:e,className:r,cssKV:t,updated:!p.delayBgJudge})}},{key:"contains",value:function(e,t){var r=e.getBoundingClientRect(),n=[];for(this._stack.forEach((function(e,t){if(e.updated){e.rect||(e.rect=e.el.getBoundingClientRect());var a=e.rect;r.top>=a.bottom||r.bottom<=a.top||r.left>=a.right||r.right<=a.left||n.unshift(t)}}));n.length;){var a=this._stack.splice(n.shift(),1)[0];"function"==typeof t&&t(a)}}},{key:"update",value:function(e){this._stack.forEach((function(t){t.updated||Array.prototype.some.call(e,(function(e){return!(1!==e.nodeType||!e.classList.contains(t.className)||(t.el=e,t.updated=!0,0))}))}))}}])&&O(t.prototype,r),n&&O(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function N(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,a,o=[],i=!0,l=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);i=!0);}catch(e){l=!0,a=e}finally{try{i||null==r.return||r.return()}finally{if(l)throw a}}return o}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return E(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return E(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function T(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function F(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var D=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),F(this,"_firstPageStyle",""),F(this,"_otherPageStyle",""),F(this,"isFinish",!1)}var t,r,a;return t=e,(r=[{key:"genCssKV",value:function(e,t){return"".concat(e,": ").concat(t," !important;")}},{key:"genCss",value:function(e,t){return"".concat("dark"===p.mode?"html.".concat(o," "):"").concat(p.cssSelectorsPrefix&&"".concat(p.cssSelectorsPrefix," "),".").concat(e,"{").concat(t,"}")}},{key:"addCss",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this[t?"_firstPageStyle":"_otherPageStyle"]+=e,he.addCss(t)}},{key:"writeStyle",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];!e&&pe.isDarkmode&&(this.isFinish=!0);var t=(pe.isDarkmode?[{target:this,key:["_firstPageStyle","_otherPageStyle"],needMediaQuery:!0}]:[]).concat([{target:he,key:["firstPageStyle","otherPageStyle"],needMediaQuery:!0},{target:he,key:["firstPageStyleNoMQ","otherPageStyleNoMQ"],needMediaQuery:!1}]).map((function(t){var r=t.target,a=N(t.key,2),o=a[0],i=a[1],l=t.needMediaQuery,s="";e?s=o:(r[i]=r[o]+r[i],r[o]="",s=i);var u=r[s];return u?(r[s]="","dark"!==p.mode&&l?"@media ".concat(n," {").concat(u,"}"):u):""})).join("");t&&document.head.insertAdjacentHTML("beforeend",'<style type="text/css">'.concat(t,"</style>"))}}])&&T(t.prototype,r),a&&T(t,a),Object.defineProperty(t,"prototype",{writable:!1}),e}();function L(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function I(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function q(e){return function(e){if(Array.isArray(e))return $(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return $(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return $(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function V(e){var t;return(t=[e]).concat.apply(t,q(e.querySelectorAll("*")))}var z={"ue-table-interlace-color-single":"#fcfcfc","ue-table-interlace-color-double":"#f7faff"};var K=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),I(this,"_nodes",[]),I(this,"_firstPageNodes",[]),I(this,"_delayNodes",[]),I(this,"showFirstPage",!1)}var t,r,n;return t=e,(r=[{key:"length",get:function(){return this._nodes.length}},{key:"set",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this._nodes=e}},{key:"get",value:function(){var e=[];return this._nodes.length?(e=this._nodes,pe.isDarkmode&&(this._nodes=[])):this._delayNodes.length?(e=this._delayNodes,this._delayNodes=[]):p.container&&(e=p.container.querySelectorAll("*")),e}},{key:"delay",value:function(){var e=this;Array.prototype.forEach.call(this._nodes,(function(t){return e._delayNodes.push(t)})),this._nodes=[]}},{key:"hasDelay",value:function(){return this._delayNodes.length>0}},{key:"addFirstPageNode",value:function(e){this._firstPageNodes.push(e)}},{key:"showFirstPageNodes",value:function(){this._firstPageNodes.forEach((function(e){return!e.style.visibility&&(e.style.visibility="visible")})),this.showFirstPage=!0}},{key:"emptyFirstPageNodes",value:function(){this._firstPageNodes=[]}}])&&L(t.prototype,r),n&&L(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),J=r(0),R=r.n(J),U=r(1),H=r.n(U);function Q(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,a,o=[],i=!0,l=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);i=!0);}catch(e){l=!0,a=e}finally{try{i||null==r.return||r.return()}finally{if(l)throw a}}return o}(e,t)||W(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function G(e){return function(e){if(Array.isArray(e))return X(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||W(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function W(e,t){if(e){if("string"==typeof e)return X(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?X(e,t):void 0}}function X(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Y(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Z(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}H.a.windowtext=[0,0,0],H.a.transparent=[255,255,255,0];var ee=new RegExp(Object.keys(H.a).map((function(e){return"\\b".concat(e,"\\b")})).join("|"),"ig"),te=/\brgba?\([^)]+\)/i,re=/\brgba?\([^)]+\)/gi,ne=function(e){return e.replace(g,"")},ae=function(e,t){return ne(e).replace(ee,(function(e){if(!t&&"transparent"===e)return e;var r=H.a[e.toLowerCase()];return"".concat(r.length>3?"rgba":"rgb","(").concat(r.toString(),")")}))},oe=function(e){if(!e||e.length<1)return"";if(1===e.length)return e[0];for(var t=e.shift(),r=e.shift();r;){var n=R()(r);t=R()(t).mix(n,n.alpha()),r=e.shift()}return t},ie=function(e){var t=ae(e);return te.test(t)?t:""},le=function(e){return(299*e[0]+587*e[1]+114*e[2])/1e3},se=function(e,t){var r=e/le(t),n=Math.min(255,t[0]*r),a=Math.min(255,t[1]*r),o=Math.min(255,t[2]*r);return 0===a||255===n||255===o?a=(1e3*e-299*n-114*o)/587:0===n?n=(1e3*e-587*a-114*o)/299:0!==o&&255!==a||(o=(1e3*e-299*n-587*a)/114),R.a.rgb(n,a,o)},ue=function(e){var t=e.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}));return.2126*t[0]+.7152*t[1]+.0722*t[2]},ce=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Z(this,"_idx",0),Z(this,"_defaultDarkTextColorRgb",R()(p.defaultDarkTextColor).rgb().array()),Z(this,"_defaultDarkBgColorRgb",R()(p.defaultDarkBgColor).rgb().array()),Z(this,"_defaultDarkBgColorHSL",R()(p.defaultDarkBgColor).hsl().array()),Z(this,"_defaultDarkTextColorBrightness",le(this._defaultDarkTextColorRgb)),Z(this,"_defaultDarkBgColorBrightness",le(this._defaultDarkBgColorRgb)),Z(this,"_defaultDarkBgColorHslBrightness",this._defaultDarkBgColorHSL[2]),Z(this,"_maxLimitOffsetBrightness",this._defaultDarkTextColorBrightness-this._defaultDarkBgColorBrightness),Z(this,"isDarkmode",!1)}var t,r,n;return t=e,(r=[{key:"_adjustTextBrightness",value:function(e,t){var r=t.rgb().array(),n=t.alpha(),a=le(r)*n+this._defaultDarkBgColorBrightness*(1-n),o=e.rgb().array(),i=e.hsl().array(),l=e.alpha(),s=le(o),u=Math.abs(a-s);if(s>=250)return e;if(u>this._maxLimitOffsetBrightness&&a<=this._defaultDarkBgColorBrightness+2)return se(this._maxLimitOffsetBrightness+a,o).alpha(l);if(u>=65)return e;if(a>=100){if(i[2]>50){i[2]=90-i[2];var c=R.a.hsl.apply(R.a,G(i)).alpha(l);return this._adjustTextBrightness(c,t)}return se(Math.min(this._maxLimitOffsetBrightness,a-65),o).alpha(l)}if(i[2]<=40){i[2]=90-i[2];var h=R.a.hsl.apply(R.a,G(i)).alpha(l);return this._adjustTextBrightness(h,t)}return se(Math.min(this._maxLimitOffsetBrightness,a+65),o).alpha(l)}},{key:"_adjustBackgroundBrightness",value:function(e){var t=e.rgb().array(),r=e.hsl().array(),n=e.alpha(),a=le(t),o=e;return 0===r[1]&&r[2]>40||a>250?o=R.a.hsl(0,0,Math.min(100,100+this._defaultDarkBgColorHslBrightness-r[2])):a>190?o=se(190,t).alpha(n):r[2]<22&&(r[2]=22,o=R.a.hsl.apply(R.a,G(r))),o.alpha(n).rgb()}},{key:"_adjustBrightness",value:function(e,t,r,n){var a,o=e.alpha(),i="";if(r.isBgColor){if(t[h]&&o>=.05&&delete t[h],a=this._adjustBackgroundBrightness(e),!r.hasInlineColor){var l=t[u]||p.defaultLightTextColor,c=this._adjustBrightness(R()(l),t,{isTextColor:!0,parentElementBgColorStr:a||e},n);c.newColor?i+=ge.genCssKV("color",c.newColor):i+=ge.genCssKV("color",l)}}else if(r.isTextColor||r.isBorderColor){var f=r.parentElementBgColorStr||r.isTextColor&&t[s]||p.defaultDarkBgColor,d=R()(f);t[h]||(a=this._adjustTextBrightness(e,d),he.emit("afterConvertTextColor".concat(n?"ByUpdateStyle":""),t,{fontColor:a,bgColor:d}))}else r.isTextShadow&&(t[h]||(a=this._adjustBackgroundBrightness(e)));return{newColor:a&&e.toString()!==a.toString()&&a.alpha(o).rgb(),extStyle:i}}},{key:"_try",value:function(e){try{return e()}catch(e){console.log("An error occurred when running the dark mode conversion algorithm\n",e),"function"==typeof p.error&&p.error(e)}}},{key:"convert",value:function(e,t,r){var n=this;he.resetCss(),he.emit("beforeConvertNode".concat(r?"ByUpdateStyle":""),e);var o,i,f="",y="";if(this.isDarkmode||r){var m=e.nodeName;if(p.whitelist.tagName.indexOf(m)>-1)return"";var v=e.style;t||(t=(v.cssText&&v.cssText.replace(/("[^;]*);([^;]*")|('[^;]*);([^;]*')/g,"$1$3".concat("<$#_SEMICOLON_#$>","$2$4")).split(";")||[]).map((function(e){var t=e.indexOf(":");return[e.slice(0,t).toLowerCase(),e.slice(t+1).replace(b,";")].map((function(e){return(e||"").replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}))})));var k,w,x=!1,M=!1,_=!1;t=t.filter((function(e){var t=Q(e,2),r=t[0],n=t[1];return"color"===r?x=!0:/background/i.test(r)&&(M=!0,"background-position"===r?k=n:"background-size"===r&&(w=n)),(/background/i.test(r)||/^(-webkit-)?border-image/.test(r))&&/url\([^)]*\)/i.test(n)&&(_=!0),["-webkit-border-image","border-image","color","background-color","background-image","background","border","border-top","border-right","border-bottom","border-left","border-color","border-top-color","border-right-color","border-bottom-color","border-left-color","-webkit-text-fill-color","-webkit-text-stroke","-webkit-text-stroke-color","text-shadow"].indexOf(r)>-1})).sort((function(e,t){var r=Q(e,1)[0],n=Q(t,1)[0];return"color"===r||"background-image"===r&&"background-color"===n||0===n.indexOf("-webkit-text")?1:-1})),d.indexOf(m)>-1&&!M&&this._try((function(){var r=function(e){var t=null;return Array.prototype.some.call(e.classList,(function(e){return!!z[e]&&(t=z[e],!0)})),t}(e);r||(r=e.getAttribute("bgcolor")),r&&(t.unshift(["background-color",R()(r).toString()]),M=!0)})),"FONT"!==m||x||this._try((function(){var r=e.getAttribute("color");r&&(t.push(["color",R()(r).toString()]),x=!0)}));var C="",j="",S=0;t.some((function(e,t){var r=Q(e,2),a=r[0],o=r[1];return n._try((function(){if(0!==a.indexOf("-webkit-text"))return S=t,!0;switch(a){case"-webkit-text-fill-color":C=ie(o);break;case"-webkit-text-stroke":var e=o.split(" ");2===e.length&&(j=ie(e[1]));break;case"-webkit-text-stroke-color":j=ie(o)}return!1}))})),C&&(x?t[t.length-1]=["-webkit-text-fill-color",C]:(t.push(["-webkit-text-fill-color",C]),x=!0)),S&&(t.splice(0,S),j&&t.unshift(["-webkit-text-stroke-color",j]));var P="",O="";if(r&&e.className&&"string"==typeof e.className){var B=e.className.match(a);B&&(P=B[0]),(B=e.className.match(de.classNameReg))&&(O=B[0])}var A="";t.forEach((function(t){var a=Q(t,2),o=a[0],i=a[1];return n._try((function(){var t,a=i,f=!1,d=/^background/.test(o),b="text-shadow"===o,m=["-webkit-text-stroke-color","color","-webkit-text-fill-color"].indexOf(o),C=/^border/.test(o),j=/gradient/.test(i),S=[],P="";if(i=ae(i,j),te.test(i)){if(j){for(var B=re.exec(i);B;)S.push(B[0]),B=re.exec(i);t=oe(S)}var N=0;i=i.replace(re,(function(a){j&&(a=t,f=!0);var o=R()(a);if(o.alpha()>=.05){var i=n._adjustBrightness(o,e,{isBgColor:d,isTextShadow:b,isTextColor:m>-1,isBorderColor:C,hasInlineColor:x},r),g=!_&&i.newColor;if(P+=i.extStyle,d||m>0){var y=g?g.toString():a;0===N&&V(e).forEach((function(e){d?(e[s]=y,e[c]=(e[c]||p.defaultLightBgColor).split("|").concat(a).join("|")):(e[l]=y,e[u]=a),d&&R()(y).alpha()>=.05&&e[h]&&delete e[h]}))}return g&&(f=!0),N++,g||a}return a})).replace(/\s?!\s?important/gi,"")}if(P&&(A+=P),!(e instanceof SVGElement)){var E=/^background/.test(o),T=/^(-webkit-)?border-image/.test(o);if((E||T)&&/url\([^)]*\)/i.test(i)){f=!0;var F=oe((e[c]||p.defaultLightBgColor).split("|"));if(i=i.replace(/^(.*?)url\(([^)]*)\)(.*)$/i,(function(t){var r=t,n="",a="",i="";return e[h]||V(e).forEach((function(e){e[h]=!0})),E?(i=ge.genCssKV(o,"".concat(r,",linear-gradient(").concat(F,", ").concat(F,")")),k&&(n="top left,".concat(k),A+=ge.genCssKV("background-position","".concat(n)),i+=ge.genCssKV("background-position","".concat(n,",top left"))),w&&(a="100%,".concat(w),A+=ge.genCssKV("background-size","".concat(a)),i+=ge.genCssKV("background-size","".concat(a,",100%"))),O?y+=ge.genCss(O,i):de.push(e,i)):M||(i=ge.genCssKV("background-image","linear-gradient(".concat(F,", ").concat(F,")")),O?y+=ge.genCss(O,i):de.push(e,i)),r})),!x){var D=e[u]||p.defaultLightTextColor;A+=ge.genCssKV("color",D),V(e).forEach((function(e){e[l]=D}))}}}f&&(!r&&g.test(a)&&(v[o]=ne(a)),j?O?y+=ge.genCss(O,ge.genCssKV(o,i)):de.push(e,ge.genCssKV(o,i)):A+=ge.genCssKV(o,i))}))})),A&&(e.setAttribute("data-style",v.cssText),P||(P="".concat("js_darkmode__").concat(this._idx++),e.classList.add(P)),f+=A?ge.genCss(P,A):""),f+=y,!r&&(o=e,i="",Array.prototype.forEach.call(o.childNodes,(function(e){3===e.nodeType&&(i+=e.nodeValue.replace(/\s/g,""))})),i.length>0)&&(p.delayBgJudge?fe.push(e):de.contains(e,(function(e){f+=ge.genCss(e.className,e.cssKV)})))}return he.emit("afterConvertNode".concat(r?"ByUpdateStyle":""),e),f}},{key:"getContrast",value:function(e,t){return r=R()(e).rgb().array(),n=R()(t).rgb().array(),a=ue(r),o=ue(n),a<o?(o+.05)/(a+.05):(a+.05)/(o+.05);var r,n,a,o}}])&&Y(t.prototype,r),n&&Y(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),he=new _,fe=new P("".concat("js_darkmode__","text__")),de=new A("".concat("js_darkmode__","bg__")),ge=new D,be=new K,pe=new ce,ye=new RegExp("".concat("js_darkmode__","[^ ]+"),"g"),me=null,ve=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{type:"dom"};if(t.force&&(ge.isFinish=!1),!ge.isFinish)try{pe.isDarkmode=p.mode?"dark"===p.mode:e.matches,"dom"===t.type?(pe.isDarkmode&&"function"==typeof p.begin&&p.begin(be.hasDelay()),Array.prototype.forEach.call(be.get(),(function(e){if(pe.isDarkmode&&e.className&&"string"==typeof e.className&&(e.className=e.className.replace(ye,"")),pe.isDarkmode||he.length)if(p.needJudgeFirstPage){var t=e.getBoundingClientRect(),r=t.top,n=t.bottom;r<=0&&n<=0?ge.addCss(pe.convert(e)):r>0&&r<f||n>0&&n<f?(be.addFirstPageNode(e),ge.addCss(pe.convert(e),!0)):(p.needJudgeFirstPage=!1,ge.writeStyle(!0),be.showFirstPageNodes(),"function"==typeof p.showFirstPage&&p.showFirstPage(),ge.addCss(pe.convert(e)))}else ge.addCss(pe.convert(e))})),he.loopTimes++):"bg"===t.type&&pe.isDarkmode&&fe.forEach((function(e){return de.contains(e,(function(e){ge.addCss(ge.genCss(e.className,e.cssKV))}))})),(p.needJudgeFirstPage||!p.needJudgeFirstPage&&!be.showFirstPage)&&"function"==typeof p.showFirstPage&&p.showFirstPage(),ge.writeStyle(),be.emptyFirstPageNodes(),pe.isDarkmode||(p.needJudgeFirstPage=!1,p.delayBgJudge=!1,null===p.container&&"dom"===t.type&&be.length&&be.delay())}catch(e){console.log("An error occurred when running the dark mode conversion algorithm\n",e),"function"==typeof p.error&&p.error(e)}};function ke(e,t){we(t),be.set(e),ve(me,{force:!0,type:"dom"})}function we(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!p.hasInit){p.hasInit=!0;var t=p.whitelist.tagName;e.whitelist&&e.whitelist.tagName instanceof Array&&e.whitelist.tagName.forEach((function(e){e=e.toUpperCase(),-1===t.indexOf(e)&&t.push(e)})),["dark","light"].indexOf(e.mode)>-1&&(p.set("string",e,"mode"),"dark"===e.mode&&document.getElementsByTagName("html")[0].classList.add(o)),p.set("function",e,"begin"),p.set("function",e,"showFirstPage"),p.set("function",e,"error"),p.set("boolean",e,"needJudgeFirstPage"),p.set("boolean",e,"delayBgJudge"),p.set("dom",e,"container"),p.set("string",e,"cssSelectorsPrefix"),p.set("string",e,"defaultLightTextColor"),p.set("string",e,"defaultLightBgColor"),p.set("string",e,"defaultDarkTextColor"),p.set("string",e,"defaultDarkBgColor"),!p.mode&&null===me&&window.matchMedia&&(me=window.matchMedia(n)).addListener(ve)}}function xe(e){be.set(e),null!==p.container&&(de.update(e),fe.update(e)),ve(me,{force:!0,type:"bg"})}function Me(e){e.forEach((function(e){return he.extend(e)}))}function _e(e,t){ge.isFinish&&(ge.addCss(pe.convert(e,t?Object.keys(t).map((function(e){return[e,t[e]]})):void 0,!0),!1),ge.writeStyle())}function Ce(e,t){return pe.getContrast(e,t)}}])}));</script> <script type="text/javascript" nonce="1496042457" reportloaderror>(function () { 'use strict'; var MutationObserver = window.WebKitMutationObserver || window.MutationObserver || window.MozMutationObserver; var isHttp = location.href.indexOf('http://') === 0; var isDangerSrc = function isDangerSrc(src) { if (src) { var host = src.match(/http(?:s)?:\/\/([^\/]+?)(\/|$)/); if (host && !/qq\.com(\:8080)?$/.test(host[1]) && !/weishi\.com$/.test(host[1])) { return true; } } return false; }; if (location.href.indexOf('safe=0') === -1 && isHttp && typeof MutationObserver === 'function' && location.host === 'mp.weixin.qq.com') { window.__observer_data = { count: 0, exec_time: 0, list: [] }; window.__observer = new MutationObserver(function (mutations) { window.__observer_data.count++; var begin = new Date(), deleteNodes = []; mutations.forEach(function (mutation) { var nodes = mutation.addedNodes; for (var i = 0; i < nodes.length; i++) { var node = nodes[i]; if (node.tagName === 'SCRIPT') { var scriptSrc = node.src; if (isDangerSrc(scriptSrc)) { window.__observer_data.list.push(scriptSrc); deleteNodes.push(node); } if (!scriptSrc && window.__nonce_str && node.getAttribute('nonce') != window.__nonce_str) { window.__observer_data.list.push('inlinescript_without_nonce'); deleteNodes.push(node); } } } }); for (var i = 0; i < deleteNodes.length; i++) { var node = deleteNodes[i]; node.parentNode && node.parentNode.removeChild(node); } window.__observer_data.exec_time += new Date() - begin; }); window.__observer.observe(document, { subtree: true, childList: true }); } function init() { if (location.href.indexOf('safe=0') === -1 && Math.random() < 0.01 && isHttp && HTMLScriptElement.prototype.__lookupSetter__ && typeof Object.defineProperty !== 'undefined') { window.__danger_src = { xmlhttprequest: [], script_src: [], script_setAttribute: [] }; var t = '$' + Math.random(); var s = 'Setter__'; HTMLScriptElement.prototype.__old_method_script_src = HTMLScriptElement.prototype['__lookup' + s]('src'); HTMLScriptElement.prototype['__define' + s]('src', function (url) { if (url && isDangerSrc(url)) { window.__danger_src.script_src.push(url); } this.__old_method_script_src(url); }); var nativeSetAttribute = '__setAttribute' + t; Object.defineProperty(Element.prototype, nativeSetAttribute, { value: Element.prototype.setAttribute, enumerable: false }); Element.prototype.setAttribute = function (name, url) { if (this.tagName === 'SCRIPT' && name === 'src' && isDangerSrc(url)) { window.__danger_src.script_setAttribute.push(url); } this[nativeSetAttribute](name, url); }; } } init(); })();</script><script type="text/javascript" nonce="1496042457" reportloaderror>var __INLINE_SCRIPT__ = (function () { 'use strict'; function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } function _createForOfIteratorHelper$1(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray$1(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } function _unsupportedIterableToArray$1(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray$1(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$1(o, minLen); } function _arrayLikeToArray$1(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } var ua = navigator.userAgent; var is_ios = /(iPhone|iPad|iPod|iOS)/i.test(ua); var is_wp = /Windows\sPhone/i.test(ua); var is_android = /(Android)/i.test(ua); var is_wechat = /MicroMessenger\/([\d\.]+)/i.test(ua); var is_mac = /mac\sos/i.test(ua) && !is_ios; var is_windows = /windows\snt/i.test(ua) && !is_wp; var is_mpapp = /MPAPP\/([\d\.]+)/i.test(ua); var is_ipad = /iPad/i.test(ua); var is_windows_wechat = /WindowsWechat/i.test(ua); var is_mac_wechat = /MacWechat/i.test(ua) || /wechat.*mac os/i.test(ua); var is_prefetch = is_wechat && window.WeixinPrefecherJSBridge; var is_donut_app = /SAAASDK/i.test(ua); var is_in_miniProgram = is_android && /miniprogram/.test(ua.toLowerCase()) || window.__wxjs_environment == 'miniprogram'; var is_wx_work = /wxwork/i.test(ua); function getUrlParams() { var vars = location.search.substring(1).split('&'); var params = {}; var _iterator = _createForOfIteratorHelper$1(vars), _step; try { for (_iterator.s(); !(_step = _iterator.n()).done;) { var ele = _step.value; var pair = ele.split('='); var key = decodeURIComponent(pair[0]); if (typeof params[key] === 'undefined') { params[key] = decodeURIComponent(pair[1]); } } } catch (err) { _iterator.e(err); } finally { _iterator.f(); } return params; } function get() { var reg = /MicroMessenger\/([\d\.]+)/i; var ret = ua.match(reg); if (ret && ret[1]) { return ret[1]; } return false; } function getMac() { var reg = /MacWechat\/([\d\.]+)/i; var ret = ua.match(reg); if (ret && ret[1]) { return ret[1]; } return false; } function getMacOS() { var reg = /Mac OS X ([\d_]+)/i; var ret = ua.match(reg); if (ret && ret[1]) { return ret[1].replace(/_/g, '.'); } return false; } function getWindows() { var reg = /WindowsWechat\(0x(.+?)\)/i; var ret = ua.match(reg); if (ret && ret[1]) { return ret[1]; } return false; } function getWxWork() { var reg = /wxwork\/([\d\.]+)/i; var ret = ua.match(reg); if (ret && ret[1]) { return ret[1]; } return false; } function getMpApp() { var appVersion = [2, 4, 5]; var match = navigator.userAgent.match(/MPAPP\/(\d+(\.\d+)*)/); if (match) { appVersion = match[1].split('.').map(function (v) { return Number(v); }); } return appVersion.join('.'); } function getVersionNumber(hexStr) { return Number(Number('0x' + hexStr).toString(10)); } function getWindowsVersionFormat() { var versionInfo = navigator.userAgent.match(/WindowsWechat\(0x(\w+?)\)/); if (versionInfo && versionInfo.length === 2) { var version = versionInfo[1]; var mainVersion = getVersionNumber(version.slice(1, 2)); var subVersion = getVersionNumber(version.slice(2, 4)); var subVersion2 = getVersionNumber(version.slice(4, 6)); return [mainVersion, subVersion, subVersion2].join('.'); } return false; } function getInner() { var reg = /MicroMessenger\/[\d\.]+\(0x(.+?)\)/i; var ret = ua.match(reg); if (ret && ret[1] && ret[1] != null) { return ret[1]; } if (!ret && /MicroMessenger\/[\d\.]+/i.test(ua)) { var urlParams = getUrlParams(); if (urlParams.version) { return urlParams.version; } } return false; } var opfunc = { 'cp-1': function cp1(a, b) { return a < b; }, cp0: function cp0(a, b) { return a === b; }, cp1: function cp1(a, b) { return a > b; } }; function cpVersion(ver, op, canEq, type) { var mmver = false; switch (type) { case 'mac': mmver = getMac(); break; case 'windows': mmver = getWindowsVersionFormat(); break; case 'wxwork': mmver = getWxWork(); break; case 'mpapp': mmver = getMpApp(); break; default: mmver = get(); break; } if (!mmver) { return; } var mmversion = mmver.split('.'); var version = ver.split('.'); if (!/\d+/g.test(mmversion[mmversion.length - 1])) { mmversion.pop(); } for (var i = 0, len = Math.max(mmversion.length, version.length); i < len; ++i) { var mmv = mmversion[i] || ''; var v = version[i] || ''; var mmvn = parseInt(mmv, 10) || 0; var vn = parseInt(v, 10) || 0; var eq = opfunc.cp0(mmvn, vn); if (eq) { continue; } var cp = opfunc["cp".concat(op)]; return cp(mmvn, vn); } return canEq || op === 0; } function eqVersion(version) { return cpVersion(version, 0); } function gtVersion(version, canEq) { return cpVersion(version, 1, canEq); } function ltVersion(version, canEq) { return cpVersion(version, -1, canEq); } function getPlatform() { if (is_ios) { return 'ios'; } else if (is_android) { return 'android'; } else if (is_mac) { return 'mac_os'; } else if (is_windows) { return 'windows'; } return 'unknown'; } var is_google_play = false; var inner_ver_for_google_play_check = getInner(); if (is_android && inner_ver_for_google_play_check) { var v = '0x' + inner_ver_for_google_play_check.substr(-2); if (parseInt(v) >= 64 && parseInt(v) <= 79) { is_google_play = true; } } var mmversion = { get: get, getMac: getMac, getMacOS: getMacOS, getWindows: getWindows, getInner: getInner, getWxWork: getWxWork, getMpApp: getMpApp, cpVersion: cpVersion, eqVersion: eqVersion, gtVersion: gtVersion, ltVersion: ltVersion, getPlatform: getPlatform, getVersionNumber: getVersionNumber, isWp: is_wp, isIOS: is_ios, isAndroid: is_android, isInMiniProgram: is_in_miniProgram, isWechat: is_wechat, isMac: is_mac, isWindows: is_windows, isMacWechat: is_mac_wechat, isWindowsWechat: is_windows_wechat, isWxWork: is_wx_work, isOnlyWechat: is_wechat && !is_wx_work, isMpapp: is_mpapp, isNewMpApp: is_mpapp && cpVersion('3.0.0', 1, true, 'mpapp'), isIPad: is_ipad, isGooglePlay: is_google_play, isPrefetch: is_prefetch, isDonutAPP: is_donut_app }; var initJsBridge = false; var JSAPIEventCallbackMap$1 = {}; function connectWebViewJavascriptBridge(callback) { if (window.WebViewMPapp || window.WebViewJavascriptBridge) { return callback(window.WebViewMPapp || window.WebViewJavascriptBridge); } if (window.WVJBCallbacks) { return window.WVJBCallbacks.push(callback); } window.WVJBCallbacks = [callback]; if (!initJsBridge) { initJsBridge = true; var WVJBIframe = document.createElement('iframe'); WVJBIframe.style.display = 'none'; WVJBIframe.src = 'https://__bridge_loaded__'; document.body.appendChild(WVJBIframe); setTimeout(function () { initJsBridge = false; document.body.removeChild(WVJBIframe); }, 0); } return false; } function invoke$1(jsapiName, opt, callback) { connectWebViewJavascriptBridge(function (bridge) { try { if (typeof opt === 'function') { callback = opt; } if (_typeof(opt) !== 'object' && typeof opt !== 'string') { opt = {}; } bridge.callHandler(jsapiName, opt, function (res) { try { var ret = _typeof(res) === 'object' ? res : JSON.parse(res); var errMsg = ret.err_msg || ret.errMsg; console.info("[mpapp jsapi] invoke->".concat(jsapiName, " ").concat(opt.action || '', " ").concat(errMsg)); typeof callback === 'function' && callback(ret); } catch (e) { window.WX_BJ_REPORT.BadJs.report('invoke', "callback ".concat(jsapiName, " error:"), { mid: 'mmbizwebapp:js_brridge', _info: e }); console.error("[mpapp jsapi] ".concat(jsapiName, " ").concat(opt.action || ''), e, res); } }); } catch (e) { window.WX_BJ_REPORT.BadJs.report('invoke', 'callback error:', { mid: 'mmbizwebapp:js_brridge', _info: e }); console.error('[mpapp jsapi]', e); } }); } function on$1(eventName, callback) { connectWebViewJavascriptBridge(function (bridge) { if (!JSAPIEventCallbackMap$1[eventName]) { JSAPIEventCallbackMap$1[eventName] = []; } JSAPIEventCallbackMap$1[eventName].push(callback); if (JSAPIEventCallbackMap$1[eventName].length > 1) { return false; } try { bridge.registerHandler(eventName, function () { for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { args[_key] = arguments[_key]; } try { var data = typeof args[0] === 'string' ? JSON.parse(args[0]) : args[0]; console.info('[mpapp jsapi] event->' + eventName + ' ' + data.err_msg); if (JSAPIEventCallbackMap1[eventName].length) { var result; for (var i = 0; i < JSAPIEventCallbackMap$1[eventName].length; i++) { result = JSAPIEventCallbackMap$1[eventName][i].apply(window, [data].concat(args.slice(1))); } return result; } } catch (e) { window.WX_BJ_REPORT.BadJs.report('on', "callback ".concat(eventName, " error:"), { mid: 'mmbizwebapp:js_brridge', _info: e }); console.error('[mpapp jsapi] ' + eventName, e, args[0]); } }); } catch (e) { window.WX_BJ_REPORT.BadJs.report('on', 'callback error:', { mid: 'mmbizwebapp:js_brridge', _info: e }); console.error('[mpapp jsapi]', e); } }); } function remove$1(eventName, callback) { connectWebViewJavascriptBridge(function () { if (!JSAPIEventCallbackMap$1[eventName]) { return false; } var result = false; for (var i = JSAPIEventCallbackMap$1[eventName].length - 1; i >= 0; i--) { if (JSAPIEventCallbackMap$1[eventName][i] === callback) { JSAPIEventCallbackMap$1[eventName].splice(i, 1); result = true; } } return result; }); } var doc = {}; var isAcrossOrigin = false; var __moon_report = window.__moon_report || function () {}; var MOON_JSAPI_KEY_OFFSET = 8; try { doc = top.window.document; } catch (e) { isAcrossOrigin = true; } var JSAPIEventCallbackMap = {}; function ready(onBridgeReady) { var bridgeReady = function bridgeReady() { try { if (onBridgeReady) { window.onBridgeReadyTime = window.onBridgeReadyTime || Date.now(); onBridgeReady(); } } catch (e) { __moon_report([{ offset: MOON_JSAPI_KEY_OFFSET, log: 'ready', e: e }]); throw e; } window.jsapiReadyTime = Date.now(); }; if (!isAcrossOrigin && (typeof top.window.WeixinJSBridge === 'undefined' || !top.window.WeixinJSBridge.invoke)) { if (doc.addEventListener) { doc.addEventListener('WeixinJSBridgeReady', bridgeReady, false); } else if (doc.attachEvent) { doc.attachEvent('WeixinJSBridgeReady', bridgeReady); doc.attachEvent('onWeixinJSBridgeReady', bridgeReady); } } else { bridgeReady(); } } function invoke(methodName, args, callback) { ready(function () { if (isAcrossOrigin) return false; if (_typeof(top.window.WeixinJSBridge) !== 'object') { alert('请在微信中打开此链接'); return false; } top.window.WeixinJSBridge.invoke(methodName, args, function () { try { for (var _len = arguments.length, rets = new Array(_len), _key = 0; _key < _len; _key++) { rets[_key] = arguments[_key]; } var ret = rets[0]; var errMsg = ret && ret.err_msg ? ', err_msg-> ' + ret.err_msg : ''; console.info('[system]', '[jsapi] invoke->' + methodName + errMsg); if (callback) { callback.apply(window, rets); } } catch (e) { __moon_report([{ offset: MOON_JSAPI_KEY_OFFSET, log: 'invoke;methodName:' + methodName, e: e }]); throw e; } }); }); } function call(methodName) { ready(function () { if (isAcrossOrigin) return false; if (_typeof(top.window.WeixinJSBridge) !== 'object') { return false; } try { top.window.WeixinJSBridge.call(methodName); } catch (e) { __moon_report([{ offset: MOON_JSAPI_KEY_OFFSET, log: 'call;methodName:' + methodName, e: e }]); throw e; } }); } function on(eventName, callback) { ready(function () { if (isAcrossOrigin) return false; if (_typeof(top.window.WeixinJSBridge) !== 'object' || !top.window.WeixinJSBridge.on) { return false; } if (!JSAPIEventCallbackMap[eventName]) { JSAPIEventCallbackMap[eventName] = []; } JSAPIEventCallbackMap[eventName].push(callback); if (JSAPIEventCallbackMap[eventName].length > 1) { return false; } top.window.WeixinJSBridge.on(eventName, function () { try { for (var _len2 = arguments.length, rets = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) { rets[_key2] = arguments[_key2]; } var ret = rets[0]; var errMsg = ret && ret.err_msg ? ', err_msg-> ' + ret.err_msg : ''; console.info('[system]', '[jsapi] event->' + eventName + errMsg); if (JSAPIEventCallbackMap[eventName] && JSAPIEventCallbackMap[eventName].length) { var result; for (var i = 0; i < JSAPIEventCallbackMap[eventName].length; i++) { result = JSAPIEventCallbackMap[eventName][i].apply(window, rets); } return result; } } catch (e) { __moon_report([{ offset: MOON_JSAPI_KEY_OFFSET, log: 'on;eventName:' + eventName, e: e }]); throw e; } }); }); } function remove(eventName, callback) { ready(function () { if (!JSAPIEventCallbackMap[eventName]) { return false; } var result = false; for (var i = JSAPIEventCallbackMap[eventName].length - 1; i >= 0; i--) { if (JSAPIEventCallbackMap[eventName][i] === callback) { JSAPIEventCallbackMap[eventName].splice(i, 1); result = true; } } return result; }); } var JSAPI = mmversion.isNewMpApp ? { ready: connectWebViewJavascriptBridge, invoke: invoke$1, call: invoke$1, on: on$1, remove: remove$1 } : { ready: ready, invoke: invoke, call: call, on: on, remove: remove }; function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } function reportFCP(renderTime, fastLoad) { setTimeout(function () { var searchParams = new URLSearchParams(window.location.search); var search_click_id = searchParams.get('search_click_id'); if (!search_click_id) return; var searchId = search_click_id ? search_click_id.split('-')[0] : ''; var clickTime = search_click_id ? search_click_id.split('-')[1] : renderTime; var logData = { actionType: 35, scene: 0, sessionId: '', subSessionId: '', searchId: searchId, offset: 0, isHomePage: 0, requestId: '', timeStampsInMs: 0, netType: '', isSuccess: 0, query: '', tabId: '', bizType: 0, h5Version: 0, isPreload: 0, isHttp: 0, url: '', userAgent: '', isPrefetch: 0, isRealShow: 1, extInfo: encodeURIComponent(JSON.stringify({ render_time: renderTime, cost_time: renderTime - clickTime, search_click_id: search_click_id, fast_load: fastLoad })) }; JSAPI.invoke('kvReport', { id: 14904, value: Object.values(logData).join(',') }, function (res) { console.log("111111 kv report res", res, logData); }); }, 1000); } if (!window.__second_open__) { var observer = new PerformanceObserver(function (entryList) { var _iterator = _createForOfIteratorHelper(entryList.getEntries()), _step; try { for (_iterator.s(); !(_step = _iterator.n()).done;) { var entry = _step.value; if (entry.name === 'first-contentful-paint') { reportFCP(Date.now(), false); } } } catch (err) { _iterator.e(err); } finally { _iterator.f(); } }); observer.observe({ entryTypes: ['paint'] }); } return reportFCP; })();</script> <script type="module" nonce="1496042457" reportloaderror>import.meta.url;import("_").catch(()=>1);async function* g(){};window.__vite_is_modern_browser=true;</script> <script type="module" nonce="1496042457" reportloaderror>!function(){if(window.__vite_is_modern_browser)return;console.warn("vite: loading legacy chunks, syntax error above and the same error below should be ignored");var e=document.getElementById("vite-legacy-polyfill"),n=document.createElement("script");n.src=e.src,n.onload=function(){System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))},document.body.appendChild(n)}();</script> <script type="module" crossorigin src="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/appmsg.lw6bqnv0ca07162e.js" nonce="1496042457" reportloaderror></script> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/modulepreload-polyfill.lw6bqnv04abee2a4.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/vue.runtime.esm.lw6bqnv07cbeb265.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/core.lw6bqnv08391f9c8.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/jsmonitor_report.lw6bqnv0836e3c7e.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/comm_report.lw6bqnv06d231964.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/event.lw6bqnv0fe442013.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/storage.lw6bqnv0595374ad.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/comm_utils.lw6bqnv0f90cf299.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/i18n.lw6bqnv02e3f9c7c.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/page_utils.lw6bqnv0451e0acb.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/base64.lw6bqnv018dbe4cd.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/_plugin-vue2_normalizer.lw6bqnv0fc2fb13f.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/class.lw6bqnv032861355.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/wxgspeedsdk.lw6bqnv0180611fe.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/page_utils.lw6bqnv0b0ee4a84.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/page_cls_ctrl.lw6bqnv0bbe1df6f.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/pay_report_utils.lw6bqnv08ee3ad42.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/appmsgext.lw6bqnv03992b084.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/localstorage.lw6bqnv0e13e24a6.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/tmpl.lw6bqnv0b6faf396.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/index.lw6bqnv04f5e3045.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/advance.lw6bqnv0e909803a.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/body_first_observer.lw6bqnv055cb6e3e.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/get_page_read_pos.lw6bqnv03ddfbcc0.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/rec_report_key.lw6bqnv0d131fb8a.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/render_utils.lw6bqnv0b90791d3.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/underline_action.lw6bqnv0a28d95a6.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/topbar.lw6bqnv04990cc08.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/wxwork_hidden.lw6bqnv0eef14f5a.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/ext_loading.lw6bqnv0200e8194.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/loadscript.lw6bqnv02014a786.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/voice_component.lw6bqnv071493548.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/outer_link.lw6bqnv0ddb9117d.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/dom.lw6bqnv0fcc5c389.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/vote.lw6bqnv01bd25039.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/index.lw6bqnv04c3adc19.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/set_article_read.lw6bqnv06b0203e2.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/moment.lw6bqnv007db360f.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/img_onload_handler.lw6bqnv0ce139fc0.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/like_and_share.lw6bqnv0f5738b4b.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/controller.lw6bqnv02bfb64c5.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/see_more.lw6bqnv08d881c1f.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/interaction.lw6bqnv081562121.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/background_color.lw6bqnv00b415396.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/article_bottom_bar.lw6bqnv0daf6509b.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/pre_loading.lw6bqnv07ebc22b1.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/get_word_cnt.lw6bqnv01a70c97b.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/bind_element.lw6bqnv0826c2aed.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/bind_element.lw6bqnv03814db76.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/set_custom_ele.lw6bqnv032d35259.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/modal.lw6bqnv0d01ea73f.js" reportloaderror> <link rel="modulepreload" crossorigin href="//web.archive.org/web/20240514130121jm_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/intersection-observer.lw6bqnv0e16580c9.js" reportloaderror> <link rel="stylesheet" href="//web.archive.org/web/20240514130121cs_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/index.lw6bqnv07992cef9.css" reportloaderror> <link rel="stylesheet" href="//web.archive.org/web/20240514130121cs_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/wxwork_hidden.lw6bqnv0649ec4c3.css" reportloaderror> <link rel="stylesheet" href="//web.archive.org/web/20240514130121cs_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/like_and_share.lw6bqnv0e3b0c442.css" reportloaderror> <link rel="stylesheet" href="//web.archive.org/web/20240514130121cs_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/controller.lw6bqnv07f351e8c.css" reportloaderror> <link rel="stylesheet" href="//web.archive.org/web/20240514130121cs_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/interaction.lw6bqnv03ab748dd.css" reportloaderror> <link rel="stylesheet" href="//web.archive.org/web/20240514130121cs_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/article_bottom_bar.lw6bqnv088987ef0.css" reportloaderror> <link rel="stylesheet" href="//web.archive.org/web/20240514130121cs_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/qqmail_tpl_vite_entry.lw6bqnv0375661d4.css" reportloaderror> <link rel="stylesheet" href="//web.archive.org/web/20240514130121cs_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/tencent_portfolio_light.lw6bqnv065a28869.css" reportloaderror> <style> .cooldown_tips { margin: 30px auto; margin-top: 0; display: flex; align-items: center; padding: 10px; font-size: 14px; background-color: #f6f7f9; border-radius: 6px; } .cooldown_tips_icon { display: block; width: 18px; height: 18px; margin-right: 8px; } </style> </head> <body id="activity-detail" class="zh_CN wx_wap_page wx_wap_desktop_fontsize_2 mm_appmsg comment_feature discuss_tab appmsg_skin_default appmsg_style_default "> <script type="text/javascript" nonce="1496042457" reportloaderror> var biz = "" || "MzUxMjQ1NTYyMA=="; var sn = "" || "5a2679e4e5ed264710bcdf8b883ebbca" || ""; var mid = "" || "2247526784" || ""; var idx = "" || "1" || ""; window.__allowLoadResFromMp = true; </script> <script type="text/javascript" nonce="1496042457" reportloaderror> try { if (typeof globalThis === 'undefined') { var globalThis = typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : global; } } catch (error) { console.log(error) } </script> <script nonce="1496042457" reportloaderror> var page_begintime = (+new Date()); var is_rumor = ""; var norumor = ""; if (!!(is_rumor * 1) && !(norumor*1) && !!biz && !!mid) { if (!document.referrer || document.referrer.indexOf("mp.weixin.qq.com/mp/rumor") == -1){ location.href = "https://web.archive.org/web/20240514130121/http://mp.weixin.qq.com/mp/rumor?action=info&__biz=" + biz + "&mid=" + mid + "&idx=" + idx + "&sn=" + sn + "#wechat_redirect"; } } </script> <link rel="dns-prefetch" href="//web.archive.org/web/20240514130121/https://res.wx.qq.com/" reportloaderror> <link rel="dns-prefetch" href="//web.archive.org/web/20240514130121/https://mmbiz.qpic.cn/" reportloaderror> <link rel="dns-prefetch" href="//web.archive.org/web/20240514130121/https://mpcdn.qpic.cn/" reportloaderror> <link rel="dns-prefetch" href="//web.archive.org/web/20240514130121/https://mpcdn.weixin.qq.com/" reportloaderror> <link rel="dns-prefetch" href="//web.archive.org/web/20240514130121/https://file.daihuo.qq.com/" reportloaderror> <link rel="dns-prefetch" href="//web.archive.org/web/20240514130121/https://wxa.wxs.qq.com/" reportloaderror> <link rel="shortcut icon" type="image/x-icon" href="//web.archive.org/web/20240514130121im_/https://res.wx.qq.com/a/wx_fed/assets/res/NTI4MWU5.ico" reportloaderror> <link rel="mask-icon" href="//web.archive.org/web/20240514130121im_/https://res.wx.qq.com/a/wx_fed/assets/res/MjliNWVm.svg" color="#4C4C4C" reportloaderror> <link rel="apple-touch-icon-precomposed" href="//web.archive.org/web/20240514130121im_/https://res.wx.qq.com/a/wx_fed/assets/res/OTE0YTAw.png" reportloaderror> <script type="text/javascript" nonce="1496042457" reportloaderror> String.prototype.html = function (encode) { var replace = ["&#39;", "'", "&quot;", '"', "&nbsp;", " ", "&gt;", ">", "&lt;", "<", "&yen;", "¥", "&amp;", "&"]; var replaceReverse = ["&", "&amp;", "¥", "&yen;", "<", "&lt;", ">", "&gt;", " ", "&nbsp;", '"', "&quot;", "'", "&#39;"]; var target; if (encode) { target = replaceReverse; } else { target = replace; } for (var i = 0, str = this; i < target.length; i += 2) { str = str.replace(new RegExp(target[i], 'g'), target[i + 1]); } return str; }; window.isInWeixinApp = function () { return /MicroMessenger/.test(navigator.userAgent); }; window.getQueryFromURL = function (url) { url = url || 'https://web.archive.org/web/20240514130121/http://qq.com/s?a=b#rd'; var tmp = url.split('?'), query = (tmp[1] || "").split('#')[0].split('&'), params = {}; for (var i = 0; i < query.length; i++) { var arg = query[i].split('='); params[arg[0]] = arg[1]; } if (params['pass_ticket']) { params['pass_ticket'] = encodeURIComponent(params['pass_ticket'].html(false).html(false).replace(/\s/g, "+")); } return params; }; (function () { var params = getQueryFromURL(location.href); window.uin = params['uin'] || "" || ''; window.key = params['key'] || "" || ''; window.wxtoken = params['wxtoken'] || ''; window.pass_ticket = params['pass_ticket'] || ''; window.appmsg_token = "" || ""; var ua = navigator.userAgent; if (ua.match(/Mac\sOS\sX\s(\d+[\.|_]\d+)/) || ua.match(/Windows(\s+\w+)?\s+?(\d+\.\d+)/) || ua.match(/Linux\s/)) { document.body.classList.add('pages_skin_pc'); } if (/MPAPP\/([\d\.]+)/i.test(ua)) { document.body.classList.add('pages_skin_mpapp'); } if (params['uninteractive']) { document.body.classList.add('pages_skin_browser_underline'); } })(); </script> <script type="text/javascript" nonce="1496042457" reportloaderror> window.__ajaxTransferConfig = { 'mp/advertisement_report': 'mmbizwap_cgi_appmsgad', 'mp/getappmsgad': 'mmbizwap_cgi_appmsgad', 'mp/ad_video_report': 'mmbizwap_cgi_appmsgad', 'mp/ad_monitor': 'mmbizwap_cgi_appmsgad', 'mp/ad_report': 'mmbizwap_cgi_appmsgad', 'mp/ad_biz_info': 'mmbizwap_cgi_appmsgad', 'mp/ad_complaint': 'mmbizwap_cgi_appmsgad', 'mp/ad': 'mmbizwap_cgi_appmsgad', 'mp/ad_app_info': 'mmbizwap_cgi_appmsgad', 'mp/wapcommreport': 'mmbizwap_cgi_misc', 'mp/underline': 'mmbizwap_cgi_misc', 'mp/appmsgreport': 'mmbizwap_cgi_misc', 'mp/relatedarticle': 'mmbizwap_cgi_misc', 'mp/getainfo': 'mmbizwap_cgi_misc', 'mp/profile_ext': 'mmbizwap_cgi_misc', 'mp/homepage': 'mmbizwap_cgi_misc', 'mp/waerrpage': 'mmbizwap_cgi_misc', 'mp/getverifyinfo': 'mmbizwap_cgi_misc', 'mp/getprofilebizrecommend': 'mmbizwap_cgi_misc', 'mp/infringement': 'mmbizwap_cgi_misc', 'mp/getprofiletransferpage': 'mmbizwap_cgi_misc', 'mp/wacomplain': 'mmbizwap_cgi_misc', 'mp/appmsg_comment': 'mmbizwap_cgi_appmsgext', 'mp/getappmsgext': 'mmbizwap_cgi_appmsgext', 'mp/videoplayer': 'mmbizwap_cgi_appmsgext', 'mp/appmsg_video_snap': 'mmbizwap_cgi_appmsgext', 'mp/immersive_player': 'mmbizwap_cgi_appmsgext', 'mp/appmsg_weapp': 'mmbizwap_cgi_appmsgext', 'mp/appmsg_like': 'mmbizwap_cgi_appmsgext', 'mp/newappmsgvote': 'mmbizwap_cgi_appmsgext', 'mp/reward': 'mmbizwap_cgi_appmsgext', 'mp/authorreward': 'mmbizwap_cgi_appmsgext', 'mp/qqmusic': 'mmbizwap_cgi_appmsgext', 'mp/video': 'mmbizwap_cgi_appmsgext', 'mp/qna': 'mmbizwap_cgi_appmsgext', 'mp/searchwordbaike': 'mmbizwap_cgi_appmsgext'}; </script> <script type="text/javascript" nonce="1496042457" reportloaderror>window.PAGE_MID="mmbizwap:appmsg/newindex.html"</script> <script type="text/javascript" nonce="1496042457" reportloaderror> var write_sceen_time = (+new Date()); var preview = "" * 1 || 0; var can_use_wecoin = '1' * 1; var wecoin_tips = '0' * 1; var wecoin_amount = '0' * 1; var preview_percent = '0' * 1; </script> <div id="js_article" style="position:relative;" class="rich_media"> <div id="js_top_ad_area" class="top_banner"></div> <div id="js_base_container" class="rich_media_inner"> <div class="wx_row_immersive_stream_wrap" id="js_row_immersive_stream_wrap"> <div id="js_row_immersive_cover_img"> <img src="https://web.archive.org/web/20240514130121im_/https://mmbiz.qpic.cn/mmbiz_jpg/ia1lPbzbhW7GMQvxicUGN5wqWQCLFKXegzeAvINaL7jnpmSYy0aVm4rKiakOmKJ5FOo4ggHicJrPMSOkCQcBwmmmuQ/0?wx_fmt=jpeg" alt="cover_image" class="wx_follow_avatar_pic"/> </div> <div id="js_row_immersive_stream_mask" class="wx_row_immersive_stream_mask"></div> </div> <div id="page-content" class="rich_media_area_primary" style=""> <div class="rich_media_area_primary_inner"> <div id="img-content" class="rich_media_wrp"> <h1 class="rich_media_title " id="activity-name"> 上海电气泰雷兹ATO+技术助力南京地铁机场线升级进入智能驾驶新时代 </h1> <div id="meta_content" class="rich_media_meta_list"> <span class="rich_media_meta rich_media_meta_nickname" id="profileBt"> <a href="javascript:void(0);" class="wx_tap_link js_wx_tap_highlight weui-wa-hotarea" id="js_name"> 上海电气泰雷兹 </a> <div id="js_profile_qrcode" aria-hidden="true" class="profile_container" style="display:none;"> <div class="profile_inner"> <strong class="profile_nickname">上海电气泰雷兹</strong> <img class="profile_avatar" id="js_profile_qrcode_img" src="/web/20240514130121im_/https://mp.weixin.qq.com/s?__biz=MzUxMjQ1NTYyMA==&amp;mid=2247526784&amp;idx=1&amp;sn=5a2679e4e5ed264710bcdf8b883ebbca&amp;chksm=f9660f2bce11863dd6fc131fd0e3ead63ea9bb536db60283b9962e017dfa878d45f4fc4e8e5c&amp;mpshare=1&amp;scene=23&amp;srcid=0513peYjGlnxWnOZiEz4pcbc&amp;sharer_shareinfo=e38553e9869fb684ce6edfeafb27a08d&amp;sharer_shareinfo_first=e38553e9869fb684ce6edfeafb27a08d" alt=""> <p class="profile_meta"> <label class="profile_meta_label">微信号</label> <span class="profile_meta_value">gh_d481555e4148</span> </p> <p class="profile_meta"> <label class="profile_meta_label">功能介绍</label> <span class="profile_meta_value">上海电气泰雷兹</span> </p> </div> <span class="profile_arrow_wrp" id="js_profile_arrow_wrp"> <i class="profile_arrow arrow_out"></i> <i class="profile_arrow arrow_in"></i> </span> </div> </span> <span id="meta_content_hide_info"> <em id="publish_time" class="rich_media_meta rich_media_meta_text"></em> <em id="js_ip_wording_wrp" class="rich_media_meta rich_media_meta_text" role="option" aria-labelledby="js_a11y_op_ip_wording js_ip_wording" style="display: none;"><span id="js_a11y_op_ip_wording" aria-hidden="true"></span><span aria-hidden="true" id="js_ip_wording"></span></em> </span> </div> <div class="rich_media_content js_underline_content autoTypeSetting24psection " id="js_content" style="visibility: hidden;"><p style="text-align: center;" data-mpa-powered-by="yiban.io"><img class="rich_pages wxw-img" data-galleryid="" data-imgfileid="100003347" data-ratio="0.260596546310832" data-type="gif" data-w="637" style="height: auto !important;" data-src="https://web.archive.org/web/20240514130121/https://mmbiz.qpic.cn/mmbiz_gif/ia1lPbzbhW7GQoMFeazn3j6SiaQSen79asibEwNIhmUjF7lbAEumomum0n88AQUZYL2B6tbGlbexf6mEyZ0muFL0g/640?wx_fmt=gif"/></p><p style="text-align: center;"><img class="rich_pages wxw-img" data-galleryid="" data-imgfileid="100043131" data-ratio="0.6666666666666666" data-s="300,640" data-type="jpeg" data-w="1080" style="height: auto !important;" data-src="https://web.archive.org/web/20240514130121/https://mmbiz.qpic.cn/mmbiz_jpg/ia1lPbzbhW7GMQvxicUGN5wqWQCLFKXegziayJKMlnPAaxMcNWozf0mibopWt2qLPMofSiasvicBMGbdY3NDqG9s6zcw/640?wx_fmt=jpeg&amp;from=appmsg"/></p><section style="margin-right: 0cm;margin-left: 0cm;line-height: 1.75em;"><span style="font-size: 16px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;color: rgb(0, 122, 170);"><strong style="mso-bidi-font-weight:normal;">5月10日,上海电气泰雷兹首个以ATO+技术改造方案实施落地的改造线项目——南京地铁机场线正式开启载客运营。</strong></span><span style="font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;font-size: 16px;">该项目是全国首个ATO+技术改造应用项目,该技术的成功应用标志着南京地铁机场线升级进入智能驾驶新时代。</span><span style="font-size: 12pt;font-family: 宋体;"><o:p></o:p></span></section><p style="text-align: center;"><img class="rich_pages wxw-img" data-galleryid="" data-imgfileid="100043134" data-ratio="0.562962962962963" data-s="300,640" data-type="jpeg" data-w="1080" style="height: auto !important;" data-src="https://web.archive.org/web/20240514130121/https://mmbiz.qpic.cn/mmbiz_jpg/ia1lPbzbhW7GMQvxicUGN5wqWQCLFKXegzUPBOEibgLTmWZD5VPKzAZ1RUtpE7PMI9fSNV8Tfib9t7t3AsibYqmDImg/640?wx_fmt=jpeg&amp;from=appmsg"/></p><section style="margin-right: 0cm;margin-left: 0cm;line-height: 1.75em;"><span style="font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;font-size: 16px;"></span></section><section style="margin-right: 0cm;margin-left: 0cm;line-height: 1.75em;"><span style="font-size: 16px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;color: rgb(0, 122, 170);"><strong style="mso-bidi-font-weight:normal;">ATO+技术方案是在保留既有的驾驶模式基础上,增加ATO+驾驶模式,运营时选用ATO+驾驶模式在正线运行,正常运行时可实现与全自动运行基本相同的运营场景。</strong></span><span style="font-size: 16px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;"><strong style="mso-bidi-font-weight:normal;"><span style="font-size: 16px;color: rgb(0, 122, 170);"></span></strong><span style="font-size: 16px;">ATO+技术通过对信号、车辆、站台门系统的升级改造,新增8个自动化运营场景,可实现列车自动到站启停、车门和站台门自动开关门、列车自动折返、站台门自动防夹探测等功能。</span></span><span style="font-size: 12pt;font-family: 宋体;"><o:p></o:p></span></section><p style="text-align: center;"><img class="rich_pages wxw-img" data-cropselx1="0" data-cropselx2="578" data-cropsely1="0" data-cropsely2="325" data-galleryid="" data-imgfileid="100043134" data-ratio="0.75" data-s="300,640" data-type="jpeg" data-w="1080" style="width: 578px;height: auto !important;" data-src="https://web.archive.org/web/20240514130121/https://mmbiz.qpic.cn/mmbiz_jpg/ia1lPbzbhW7Ek4DhCmQfVC4bUKzCk2Ylex1TIhrqdlTibBTsFsaRHyQ2vZ29wr4vbpdR9c3OS0aA5d9ndeUbkp4Q/640?wx_fmt=jpeg&amp;from=appmsg"/></p><section style="margin-right: 0cm;margin-left: 0cm;line-height: 1.75em;"><span style="font-size: 16px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;"><span style="font-size: 16px;"></span></span></section><section style="margin-right: 0cm;margin-left: 0cm;line-height: 1.75em;"><span style="font-size: 16px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;">使用ATO+驾驶模式运营时,司机主要起到行车监督作用,避免人为误操作引发的安全风险,<span style="font-size: 16px;color: rgb(0, 122, 170);"><strong style="mso-bidi-font-weight:normal;">可实现列车安全智能运行</strong></span>;同时ATO+取消了司机关门和确认发车操作,每个站站停可节约10秒左右司机操作和确认时间,<span style="font-size: 16px;color: rgb(0, 122, 170);"><strong style="mso-bidi-font-weight:normal;">提升了列车平均旅行速度和运营准点率</strong></span>。相比较全自动运行线路建设和改造,ATO+改造仅涉及信号系统、车辆接口电路和站台门系统,较少投入即可实现正常运行时基本与全自动运行相同的运营场景,<span style="font-size: 16px;color: rgb(0, 122, 170);"><strong style="mso-bidi-font-weight:normal;">投资收益率高</strong></span>。基于GOA2制式的线路实施ATO+技术改造,改造投资低,涉及专业少,易于实施,<span style="font-size: 16px;color: rgb(0, 122, 170);"><strong style="mso-bidi-font-weight:normal;">可以在不影响运营的前提下实现无感改造</strong></span><strong style="mso-bidi-font-weight:normal;">。</strong></span><span style="font-size: 12pt;font-family: 宋体;"><o:p></o:p></span></section><section style="margin-right: 0cm;margin-left: 0cm;line-height: 1.75em;"><span style="font-size: 12pt;font-family: 宋体;"><span style="font-size: 12pt;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;">在国家相关部委及中国城市轨道交通协会的指导下,目前中国城市轨道交通行业正在向智慧化、绿色化转型,并探索一条中国城市轨道交通行业高质量可持续发展之路。南京机场线ATO+技术改造方案正是在这样的政策引导下,南京地铁业主联合上海电气泰雷兹针对早期建设的线路进行的智慧化升级改造。在全行业都面临财务可持续发展的背景下,ATO+技术改造方案是一个既经济又面向运营需求的智慧化技术升级改造方案,为全行业早期建设线路在财务约束的条件下进行智慧化升级提供了有益的借鉴。</span><o:p></o:p></span></section><section style="margin-right: 0cm;margin-left: 0cm;line-height: 1.75em;"><span style="font-size: 12pt;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;">南京地铁正在全力推动智慧城轨的加速落地,探索一条适合南京都市圈的智慧发展示范之路。ATO+技术未来还将应用于南京地铁6号线, 上海电气泰雷兹将一如既往助力南京地铁智慧城轨建设,为南京市民带来乐享出行的轨交出行体验。</span></section><p style="text-align: center;"><img class="rich_pages wxw-img" data-galleryid="" data-imgfileid="100001153" data-ratio="0.37222222222222223" data-s="300,640" data-type="jpeg" data-w="900" style="height: auto !important;" data-src="https://web.archive.org/web/20240514130121/https://mmbiz.qpic.cn/mmbiz_jpg/ia1lPbzbhW7EDe8ULYXkwBQWYJ0YO5SzYmHOJcFg8iaPOnIHgYy74mVbS3ickLHlwI9Q4CIlYibehQKwiaVQecuj7LQ/640?wx_fmt=jpeg"/></p><p style="display: none;"><mp-style-type data-value="3"></mp-style-type></p></div> <script type="text/javascript" nonce="1496042457" reportloaderror> var first_sceen__time = (+new Date()); if ("" == 1 && document.getElementById('js_content')) { document.getElementById('js_content').addEventListener("selectstart",function(e){ e.preventDefault(); }); } </script> </div> <div id="js_tags_preview_toast" class="article-tag__error-tips" style="display: none;">预览时标签不可点</div> <div id="content_bottom_area" class="rich_media_tool_area"></div> </div> </div> <div class="rich_media_area_primary sougou" id="sg_tj" style="display:none"></div> <div class="rich_media_area_extra"> <div class="rich_media_area_extra_inner"> <div id="page_bottom_area"></div> </div> </div> <div id="js_pc_qr_code" class="qr_code_pc_outer" style="display:none;"> <div class="qr_code_pc_inner"> <div class="qr_code_pc"> <img id="js_pc_qr_code_img" class="qr_code_pc_img"> <p>微信扫一扫<br>关注该公众号</p> </div> </div> </div> </div> <div class="wx_stream_article_slide_tip" id="wx_stream_article_slide_tip"> <div class="wx_stream_article_slide_tip_wrp"> <span class="wx_stream_article_slide_tip_arrow"></span> <span class="wx_stream_article_slide_tip_text">继续滑动看下一个</span> </div> </div> </div> <div class="wx_network_msg_wrp" id="js_network_msg_wrp"></div> <div class="wx_expand_article " id="wx_expand_article"> <div class="wx_expand_article_gradient_background" id="wx_expand_background"></div> <div class="wx_expand_article_bottom_area" id="wx_expand_bottom"> <div class="wx_expand_article_button_wrap" id="wx_expand_article_placeholder"> <button class="wx_expand_article_button" id="wx_expand_article_button">轻触阅读原文</button> </div> <div id="js_stream_bottom_bar" class="stream_bottom_bar_wrp"> <div id="js_stream_bottom_bar_placeholder" class="bottom_bar_placeholder"> <div class="wx_follow_context wx_follow_primary wx_follow_smart wx_follow_top wx_follow_bottom"> <div class="function_mod js_function_mod wx_tap_cell"> <div class="function_mod_inner js_function_mod_inner"> <div class="function_bd"> <div class="wx_follow_media weui-flex weui-flex_align-center"> <div class="wx_follow_hd"> <span class="wx_follow_avatar"> <img src="https://web.archive.org/web/20240514130121im_/http://mmbiz.qpic.cn/mmbiz_png/ia1lPbzbhW7FYga8OL6icPM3fLlnBNhKXaTJia2zdxibnWNK7b9XcScxgmRrmsC5k7zibQqyeHTyxf8EKu7GYHHD2EA/0?wx_fmt=png" alt="" class="wx_follow_avatar_pic"/> </span> </div> <div class="wx_follow_bd weui-flex__item"> <div class="wx_follow_info"> <div role="link" tabindex="0" aria-labelledby="js_wx_follow_nickname" aria-describedby="js_wx_follow_tips" class="wx_follow_nickname js_wx_tap_highlight wx_tap_link"> 上海电气泰雷兹 </div> </div> </div> </div> </div> </div> </div> </div> <div class="interaction_bar__wrap" style="opacity: 1;"> <div class="interaction_bar" style="-webkit-text-size-adjust: 100%;"> </div> </div> </div> <div id="stream_article_bottom_area"></div> </div> </div> <div id="wx_expand_slidetip" class="wx_expand_article_slide_tip"> <div class="wx_stream_article_slide_tip"> <div class="wx_stream_article_slide_tip_wrp"> <span class="wx_stream_article_slide_tip_arrow"></span> <span class="wx_stream_article_slide_tip_text">向上滑动看下一个</span> </div> </div> </div> </div> <div class="wx_network_msg_wrp" id="js_network_msg_wrp"></div> <script type="text/html" id="js_network_msg_load" nonce="1496042457" reportloaderror> <div class="weui-loadmore weui-loadmore_default wx_network_msg"> <span class="weui-primary-loading"> <i class="weui-primary-loading__dot"></i> </span> </div> </script> <script type="text/html" id="js_network_msg_load_err" nonce="1496042457" reportloaderror> <div class="wx_network_msg">因网络连接问题,剩余内容暂无法加载。</div> </script> <div id="js_ad_control"></div> <div class="comment_primary_emotion_panel_wrp" id="js_emotion_panel_pc" style="display: none"> <div class="comment_primary_emotion_panel"> <ul class="comment_primary_emotion_list_pc" id="js_emotion_list_pc"> </ul> </div> </div> <div class="weui-dialog__wrp" id="js_alert_panel" style="display:none;"> <div class="weui-mask"></div> <div class="weui-dialog"> <div class="weui-dialog__bd" id="js_alert_content"></div> <div class="weui-dialog__ft"> <a href="javascript:;" class="weui-dialog__btn weui-dialog__btn_default" id="js_alert_confirm">知道了</a> </div> </div> </div> <script type="text/javascript" nonce="1496042457" reportloaderror> window.img_popup = 1; </script> <style>.weui-dialog_link{-webkit-transform:translateY(-75%);transform:translateY(-75%)}</style> <div id="js_pc_weapp_code" class="weui-desktop-popover weui-desktop-popover_pos-up-center weui-desktop-popover_img-text weapp_code_popover" style="display: none;"> <div class="weui-desktop-popover__inner"> <div class="weui-desktop-popover__desc"> <img id="js_pc_weapp_code_img"> 微信扫一扫<br>使用小程序<span id="js_pc_weapp_code_des"></span> </div> </div> </div> <div id="js_minipro_dialog" role="dialog" aria-modal="true" tabindex="0" aria-labelledby="js_minipro_dialog_head" style="display:none;"> <div class="weui-mask"></div> <div class="weui-dialog weui-dialog_link"> <div class="weui-dialog__hd"> <strong class="weui-dialog__title" id="js_minipro_dialog_head" tabindex="0"></strong> </div> <div class="weui-dialog__bd" id="js_minipro_dialog_body"></div> <div class="weui-dialog__ft"> <a role="button" id="js_minipro_dialog_cancel" href="javascript:void(0);" class="weui-dialog__btn weui-dialog__btn_default">取消</a> <a role="button" id="js_minipro_dialog_ok" href="javascript:void(0);" class="weui-dialog__btn weui-dialog__btn_primary">允许</a> </div> </div> </div> <div id="js_link_dialog" role="dialog" aria-modal="true" tabindex="0" aria-labelledby="js_link_dialog_body" style="display:none;"> <div class="weui-mask"></div> <div class="weui-dialog weui-dialog_link"> <div class="weui-dialog__hd"> <strong class="weui-dialog__title" id="js_link_dialog_head" tabindex="0"></strong> </div> <div class="weui-dialog__bd" id="js_link_dialog_body" tabindex="0"></div> <div class="weui-dialog__ft"> <a role="button" id="js_link_dialog_cancel" href="javascript:void(0);" class="weui-dialog__btn weui-dialog__btn_default">取消</a> <a role="button" id="js_link_dialog_ok" href="javascript:void(0);" class="weui-dialog__btn weui-dialog__btn_primary">允许</a> </div> </div> </div> <script type="text/javascript" nonce="1496042457" reportloaderror> window.logs.pagetime.page_begin = Date.now(); try { var adIframeUrl = localStorage.getItem('__WXLS_ad_iframe_url'); if (window === top) { if (adIframeUrl) { if (navigator.userAgent.indexOf('iPhone') > -1) { var img = new Image(); img.src = adIframeUrl; } else { var link = document.createElement('link'); link.rel = 'prefetch'; link.href = adIframeUrl; document.getElementsByTagName('head')[0].appendChild(link); } } } } catch (err) { } </script> <span aria-hidden="true" class="weui-a11y_ref" style="display:none" id="js_a11y_colon">:</span> <span aria-hidden="true" class="weui-a11y_ref" style="display:none" id="js_a11y_comma">,</span> <span aria-hidden="true" class="weui-a11y_ref" style="display:none" id="js_a11y_period">。</span> <span aria-hidden="true" class="weui-a11y_ref" style="display:none" id="js_a11y_space">&nbsp;</span> <span aria-hidden="true" class="weui-a11y_ref" style="display:none" id="js_a11y_type_video">视频</span> <span aria-hidden="true" class="weui-a11y_ref" style="display:none" id="js_a11y_type_weapp">小程序</span> <span aria-hidden="true" class="weui-a11y_ref" style="display:none" id="js_a11y_zan_btn_txt">赞</span> <span aria-hidden="true" class="weui-a11y_ref" style="display:none" id="js_a11y_zan_btn_tips">,轻点两下取消赞</span> <span aria-hidden="true" class="weui-a11y_ref" style="display:none" id="js_a11y_like_btn_txt">在看</span> <span aria-hidden="true" class="weui-a11y_ref" style="display:none" id="js_a11y_like_btn_tips">,轻点两下取消在看</span> <span aria-hidden="true" class="weui-a11y_ref" style="display:none" id="js_a11y_share_btn_txt">分享</span> <span aria-hidden="true" class="weui-a11y_ref" style="display:none" id="js_a11y_comment_btn_txt">留言</span> <script type="text/javascript" nonce="1496042457" reportloaderror> (function () { var totalCount = 0, finishCount = 0; function _addScript(uri, cb) { totalCount++; var node = document.createElement('SCRIPT'); node.type = 'text/javascript'; node.src = uri; node.setAttribute('nonce', '1496042457'); if (cb) { node.onload = cb; } document.getElementsByTagName('head')[0].appendChild(node); } if ((document.cookie && document.cookie.indexOf('vconsole_open=1') > -1) || location.href.indexOf('vconsole=1') > -1) { _addScript('https://web.archive.org/web/20240514130121/https://mp.weixin.qq.com/mmbizappmsg/zh_CN/htmledition/js/scripts/vconsole-3.14.6.js', function () { window.vConsole = new window.VConsole(); }); } if (document.cookie && document.cookie.indexOf('__xweb_remote_debug_device_token__') > -1) { _addScript('https://web.archive.org/web/20240514130121/https://mp.weixin.qq.com/mmbizappmsg/zh_CN/htmledition/js/scripts/mprdev-0.2.5.js', function () { _addScript('https://web.archive.org/web/20240514130121/https://mp.weixin.qq.com/mmbizappmsg/zh_CN/htmledition/js/scripts/xwebrd-0.0.2.js'); }); } })(); </script> <script type="text/javascript" nonce="1496042457" reportloaderror>(function () { 'use strict'; function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); } function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); } var containers = [document.getElementById('page-content')]; var bgPlaceholder = 'url("data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgYGBgAAAABQABh6FO1AAAAABJRU5ErkJggg==")'; var isCareMode = window.a_value_which_never_exists || '' * 1 || 0; var isCartoonCopyright = window.a_value_which_never_exists || '0' * 1 || 0; if (!window.__second_open__ && !isCareMode && !isCartoonCopyright) { containers.forEach(function (dom) { var containsBackground = dom.querySelectorAll('[style*="background-image"]'); _toConsumableArray(containsBackground).forEach(function (node) { if (node && node.style && typeof node.getAttribute === 'function' && !node.getAttribute('data-lazy-bgimg') && !window.__lazyload_detected) { var bgImg = node.style.backgroundImage; var bgImgUrl = bgImg && bgImg.match(/url\(['"]?(.*?)['"]?\)/); if (bgImgUrl && bgImgUrl[1]) { node.style.backgroundImage = bgImg.replace(/url\(['"]?.*?['"]?\)/, bgPlaceholder); node.setAttribute('data-lazy-bgimg', bgImgUrl[1]); node.classList.add('wx_imgbc_placeholder'); } } }); }); } })();</script><script type="text/javascript" nonce="1496042457" reportloaderror>var __INLINE_SCRIPT__ = (function () { 'use strict'; var __setTitle = function __setTitle(showTitle, dom) { var title = showTitle; if (showTitle.indexOf('——') > -1) { var replaceHtml = '<span style="letter-spacing:normal">——</span>'; showTitle = showTitle.replace(/——/g, replaceHtml); } if (dom) { dom.innerHTML = dom.innerHTML.replace(title, showTitle); } }; if (!window.__second_open__) { var title = '上海电气泰雷兹ATO+技术助力南京地铁机场线升级进入智能驾驶新时代'; __setTitle(title, document.getElementById('activity-name')); window.__setTitle = __setTitle; } return __setTitle; })();</script><script type="text/javascript" nonce="1496042457" reportloaderror>var __INLINE_SCRIPT__ = (function () { 'use strict'; var __setPubTime = function __setPubTime(svrTime, oriCreateTime, createTime, dom) { var oriTimestamp = oriCreateTime * 1; var dateObj = new Date(oriTimestamp * 1000); var padStart = function padStart(v) { return "0".concat(v).slice(-2); }; var year = dateObj.getFullYear(); var month = padStart(dateObj.getMonth() + 1); var date = padStart(dateObj.getDate()); var hour = padStart(dateObj.getHours()); var minute = padStart(dateObj.getMinutes()); var showDate = year + '-' + month + '-' + date + ' ' + hour + ':' + minute; if (dom) { dom.innerText = showDate; } }; if (!window.__second_open__) { var svrDate = '1715691682'; var oriCreateTime = '1715477529'; var createTime = '2024-05-12 09:32'; __setPubTime(svrDate, oriCreateTime, createTime, document.getElementById('publish_time')); window.__setPubTime = __setPubTime; } return __setPubTime; })();</script><script type="text/javascript" nonce="1496042457" reportloaderror>(function () { 'use strict'; var Device = {}; function detect(ua) { var MQQBrowser = ua.match(/MQQBrowser\/(\d+\.\d+)/i); var MQQClient = ua.match(/QQ\/(\d+\.(\d+)\.(\d+)\.(\d+))/i) || ua.match(/V1_AND_SQ_([\d\.]+)/); var WeChat = ua.match(/MicroMessenger\/((\d+)\.(\d+))\.(\d+)/) || ua.match(/MicroMessenger\/((\d+)\.(\d+))/); var MacOS = ua.match(/Mac\sOS\sX\s(\d+[\.|_]\d+)/); var WinOS = ua.match(/Windows(\s+\w+)?\s+?(\d+\.\d+)/); var Linux = ua.match(/Linux\s/); var MiuiBrowser = ua.match(/MiuiBrowser\/(\d+\.\d+)/i); var M1 = ua.match(/MI-ONE/); var MIPAD = ua.match(/MI PAD/); var UC = ua.match(/UCBrowser\/(\d+\.\d+(\.\d+\.\d+)?)/) || ua.match(/\sUC\s/); var IEMobile = ua.match(/IEMobile(\/|\s+)(\d+\.\d+)/) || ua.match(/WPDesktop/); var ipod = ua.match(/(ipod).*\s([\d_]+)/i); var ipad = ua.match(/(ipad).*\s([\d_]+)/i); var iphone = ua.match(/(iphone)\sos\s([\d_]+)/i); var Chrome = ua.match(/Chrome\/(\d+\.\d+)/); var AndriodBrowser = ua.match(/Mozilla.*Linux.*Android.*AppleWebKit.*Mobile Safari/); var android = ua.match(/(android)\s([\d\.]+)/i); Device.browser = Device.browser || {}, Device.os = Device.os || {}; if (window.ActiveXObject) { var vie = 6; (window.XMLHttpRequest || ua.indexOf('MSIE 7.0') > -1) && (vie = 7); (window.XDomainRequest || ua.indexOf('Trident/4.0') > -1) && (vie = 8); ua.indexOf('Trident/5.0') > -1 && (vie = 9); ua.indexOf('Trident/6.0') > -1 && (vie = 10); Device.browser.ie = true, Device.browser.version = vie; } else if (ua.indexOf('Trident/7.0') > -1) { Device.browser.ie = true, Device.browser.version = 11; } if (android) { Device.os.android = true; Device.os.version = android[2]; } if (ipod) { Device.os.ios = Device.os.ipod = true; Device.os.version = ipod[2].replace(/_/g, '.'); } if (ipad) { Device.os.ios = Device.os.ipad = true; Device.os.version = ipad[2].replace(/_/g, '.'); } if (iphone) { Device.os.iphone = Device.os.ios = true; Device.os.version = iphone[2].replace(/_/g, '.'); } if (WinOS) Device.os.windows = true, Device.os.version = WinOS[2]; if (MacOS) Device.os.Mac = true, Device.os.version = MacOS[1]; if (Linux) Device.os.Linux = true; if (ua.indexOf('lepad_hls') > 0) Device.os.LePad = true; if (MIPAD) Device.os.MIPAD = true; if (MQQBrowser) Device.browser.MQQ = true, Device.browser.version = MQQBrowser[1]; if (MQQClient) Device.browser.MQQClient = true, Device.browser.version = MQQClient[1]; if (WeChat) Device.browser.WeChat = true, Device.browser.mmversion = Device.browser.version = WeChat[1]; if (MiuiBrowser) Device.browser.MIUI = true, Device.browser.version = MiuiBrowser[1]; if (UC) Device.browser.UC = true, Device.browser.version = UC[1] || NaN; if (IEMobile) Device.browser.IEMobile = true, Device.browser.version = IEMobile[2]; if (AndriodBrowser) { Device.browser.AndriodBrowser = true; } if (M1) { Device.browser.M1 = true; } if (Chrome) { Device.browser.Chrome = true, Device.browser.version = Chrome[1]; } if (Device.os.windows) { if (typeof navigator.platform !== "undefined" && navigator.platform.toLowerCase() == "win64") { Device.os.win64 = true; } else { Device.os.win64 = false; } } if (Device.os.Mac || Device.os.windows || Device.os.Linux) { Device.os.pc = true; } var osType = { iPad7: 'iPad; CPU OS 7', LePad: 'lepad_hls', XiaoMi: 'MI-ONE', SonyDTV: "SonyDTV", SamSung: 'SAMSUNG', HTC: 'HTC', VIVO: 'vivo' }; for (var os in osType) { Device.os[os] = ua.indexOf(osType[os]) !== -1; } Device.os.phone = Device.os.phone || /windows phone/i.test(ua); Device.os.getNumVersion = function () { return parseFloat(Device.os.version); }; Device.os.hasTouch = 'ontouchstart' in window; if (Device.os.hasTouch && Device.os.ios && Device.os.getNumVersion() < 6) { Device.os.hasTouch = false; } if (Device.browser.WeChat && Device.browser.version < 5.0) { Device.os.hasTouch = false; } Device.browser.getNumVersion = function () { return parseFloat(Device.browser.version); }; Device.browser.isFFCanOcx = function () { return !!Device.browser.firefox && Device.browser.getNumVersion() >= 3.0; }; Device.browser.isCanOcx = function () { return !!Device.os.windows && (!!Device.browser.ie || Device.browser.isFFCanOcx() || !!Device.browser.webkit); }; Device.browser.isNotIESupport = function () { return !!Device.os.windows && (!!Device.browser.webkit || Device.browser.isFFCanOcx()); }; Device.userAgent = {}; Device.userAgent.browserVersion = Device.browser.version; Device.userAgent.osVersion = Device.os.version; Device.os.unifiedPC = ua.match(/UnifiedPC/); delete Device.userAgent.version; } detect(window.navigator.userAgent); function canSupportH5Video() { var ua = window.navigator.userAgent, m = null; if (!!Device.os.android) { if (Device.browser.MQQ && Device.browser.getNumVersion() >= 4.2) { return true; } if (ua.indexOf('MI2') != -1) { return true; } if (Device.os.version >= '4' && (m = ua.match(/MicroMessenger\/((\d+)\.(\d+))\.(\d+)/))) { if (parseFloat(m[1]) >= 4.2) { return true; } } if (Device.os.version >= '4.1') { return true; } } return false; } function canSupportVideoMp4() { var video = document.createElement('video'); if (typeof video.canPlayType === 'function') { if (video.canPlayType('video/mp4; codecs="mp4v.20.8"') === 'probably') { return true; } if (video.canPlayType('video/mp4; codecs="avc1.42E01E"') === 'probably' || video.canPlayType('video/mp4; codecs="avc1.42E01E, mp4a.40.2"') === 'probably') { return true; } } return false; } function canSupportAutoPlay() { if (Device.os.ios && Device.os.getNumVersion() < 10) { return false; } return true; } function isLockdownMode() { if (!Device.os.ios || Device.os.getNumVersion() < 16) { return false; } if (typeof WebAssembly === 'undefined' && typeof OfflineAudioContext === 'undefined' && typeof WebGLRenderingContext === 'undefined') { return true; } return false; } Device.canSupportVideo = canSupportVideoMp4 || canSupportH5Video; Device.canSupportVideoMp4 = canSupportVideoMp4; Device.canSupportH5Video = canSupportH5Video; Device.canSupportAutoPlay = canSupportAutoPlay; Device.isLockdownMode = isLockdownMode; function hasClass(obj, cls) { if (obj.classList) { return obj.classList.contains(cls); } else { return obj.className.match(new RegExp('(\\s|^)' + cls + '(\\s|$)')); } } function addClass(obj, cls) { if (obj.classList) { obj.classList.add(cls); } else if (!hasClass(obj, cls)) obj.className += " " + cls; } function removeClass(obj, cls) { if (obj.classList) { obj.classList.remove(cls); } else if (hasClass(obj, cls)) { var reg = new RegExp('(\\s|^)' + cls + '(\\s|$)'); obj.className = obj.className.replace(reg, ' '); } } function toggleClass(obj, cls) { if (hasClass(obj, cls)) { removeClass(obj, cls); } else { addClass(obj, cls); } } var Class = { hasClass: hasClass, addClass: addClass, removeClass: removeClass, toggleClass: toggleClass }; function isVersionGreaterThan(version1, version2) { var v1 = version1.split('.').map(Number); var v2 = version2.split('.').map(Number); for (var i = 0; i < v1.length || i < v2.length; i++) { var part1 = v1[i] || 0; var part2 = v2[i] || 0; if (part1 > part2) { return true; } else if (part1 < part2) { return false; } } return false; } if (Device.os.ios && (isVersionGreaterThan(Device.os.version, '17.4.1') || Device.os.version === '17.4.1')) { Class.addClass(document.getElementById('js_content'), 'js_fix_ios'); } })();</script> <script type="text/javascript" nonce="1496042457" reportloaderror> if (!window.console) window.console = { log: function() {} }; if (typeof getComputedStyle == 'undefined') { if (document.body.currentStyle) { window.getComputedStyle = function(el) { return el.currentStyle; } } else { window.getComputedStyle = {}; } } (function(){ window.__zoom = 1; var ua = navigator.userAgent.toLowerCase(); var re = new RegExp("msie ([0-9]+[\.0-9]*)"); var version; if (re.exec(ua) != null) { version = parseInt(RegExp.$1); } var isIE = false; if (typeof version != 'undefined' && version >= 6 && version <= 9) { isIE = true; } var isAccessibilityKey = 'isMpUserAccessibility'; var isAccessMode = window.localStorage.getItem(isAccessibilityKey); var isCarton = isIE || '0' === '1' || '' === '1' || isAccessMode === '1'; var bodyWidth = '' * 1; if (bodyWidth) { var styles = getComputedStyle(document.getElementById('page-content')); bodyWidth - parseFloat(styles.paddingLeft) - parseFloat(styles.paddingRight); } var getMaxWith = function () { var container = document.getElementById('img-content'); var max_width = container.offsetWidth; !max_width && bodyWidth && (max_width = bodyWidth); var container_padding = 0; var container_style = getComputedStyle(container); container_padding = parseFloat(container_style.paddingLeft) + parseFloat(container_style.paddingRight); max_width -= container_padding; if (!max_width) { max_width = window.innerWidth - 30; } return max_width; }; var getParentWidth = function (dom) { var parent_width = 0; var parent = dom.parentNode; var outerWidth = 0; while (true) { if (!parent || parent.nodeType != 1) break; var parent_style = getComputedStyle(parent); if (!parent_style) break; parent_width = parent.clientWidth - parseFloat(parent_style.paddingLeft) - parseFloat(parent_style.paddingRight) - outerWidth; if (parent_width > 16) break; outerWidth += parseFloat(parent_style.paddingLeft) + parseFloat(parent_style.paddingRight) + parseFloat(parent_style.marginLeft) + parseFloat(parent_style.marginRight) + parseFloat(parent_style.borderLeftWidth) + parseFloat(parent_style.borderRightWidth); parent = parent.parentNode; } return parent_width; } var getOuterW = function (dom) { var style = getComputedStyle(dom), w = 0; if (!!style) { w = parseFloat(style.paddingLeft) + parseFloat(style.paddingRight) + parseFloat(style.borderLeftWidth) + parseFloat(style.borderRightWidth); } return w; }; var getOuterH = function (dom) { var style = getComputedStyle(dom), h = 0; if (!!style) { h = parseFloat(style.paddingTop) + parseFloat(style.paddingBottom) + parseFloat(style.borderTopWidth) + parseFloat(style.borderBottomWidth); } return h; }; var insertAfter = function (dom, afterDom) { var _p = afterDom.parentNode; if (!_p) { return; } if (_p.lastChild === afterDom) { _p.appendChild(dom); } else { _p.insertBefore(dom, afterDom.nextSibling); } }; var getQuery = function (name, url) { var u = arguments[1] || window.location.search, reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"), r = u.substr(u.indexOf("\?") + 1).match(reg); return r != null ? r[2] : ""; }; function setImgSize(item, widthNum, widthUnit, ratio, breakParentWidth) { setTimeout(function () { var img_padding_border = getOuterW(item) || 0; var img_padding_border_top_bottom = getOuterH(item) || 0; if (widthNum > getParentWidth(item) && !breakParentWidth) { widthNum = getParentWidth(item); } var height = (widthNum - img_padding_border) * ratio + img_padding_border_top_bottom; if (isCarton) { var url = item.getAttribute('data-src'); item.src = url; item.style.height = 'auto'; } else { widthNum !== 'auto' && (item.style.cssText += ";width: " + widthNum + widthUnit + " !important;"); widthNum !== 'auto' && (item.style.cssText += ";height: " + height + widthUnit + " !important;"); } }, 10); } window.__videoDefaultRatio = 16 / 9;//默认值是16/9 window.__getVideoWh = function (dom) { var max_width = getMaxWith(), width = max_width, ratio_ = dom.getAttribute('data-ratio') * 1,//mark16/9 arr = [4 / 3, 16 / 9], ret = arr[0], abs = Math.abs(ret - ratio_); if (!ratio_) { if (dom.getAttribute("data-mpvid")) { ratio_ = 16 / 9; } else { ratio_ = 4 / 3; } } else { for (var j = 1, jl = arr.length; j < jl; j++) { var _abs = Math.abs(arr[j] - ratio_); if (_abs < abs) { abs = _abs; ret = arr[j]; } } ratio_ = ret; } var parent_width = getParentWidth(dom) || max_width, width = width > parent_width ? parent_width : width, outerW = getOuterW(dom) || 0, outerH = getOuterH(dom) || 0, videoW = width - outerW, videoH = videoW / ratio_, speedDotH = 12, height = videoH + outerH + speedDotH; return { w: Math.ceil(width), h: Math.ceil(height), vh: videoH, vw: videoW, ratio: ratio_, sdh: speedDotH }; }; (function () { var iframe = document.getElementsByTagName('iframe'); for (var i = 0, il = iframe.length; i < il; i++) { if (window.__second_open__ && iframe[i].getAttribute('__sec_open_place_holder__')) { continue; } var a = iframe[i]; var src_ = a.getAttribute('src') || a.getAttribute('data-src') || ""; var vid = getQuery("vid", src_) || a.getAttribute('data-mpvid'); if (!vid) { continue; } vid = vid.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");//清除前后空格 a.removeAttribute('src'); a.style.display = "none"; var obj = window.__getVideoWh(a), videoPlaceHolderSpan = document.createElement('span'); videoPlaceHolderSpan.className = "js_img_placeholder wx_widget_placeholder"; videoPlaceHolderSpan.setAttribute("data-vid", vid); videoPlaceHolderSpan.innerHTML = '<span class="weui-primary-loading"><span class="weui-primary-loading__dot"></span></span>'; videoPlaceHolderSpan.style.cssText = "width: " + obj.w + "px !important;"; insertAfter(videoPlaceHolderSpan, a); function ajax(obj) { var url = obj.url; var xhr = new XMLHttpRequest(); var data = null; if (typeof obj.data == "object") { var d = obj.data; data = []; for (var k in d) { if (d.hasOwnProperty(k)) { data.push(k + "=" + encodeURIComponent(d[k])); } } data = data.join("&"); } else { data = typeof obj.data == 'string' ? obj.data : null; } xhr.open('POST', url, true); xhr.onreadystatechange = function () { if (xhr.readyState == 4) { if (xhr.status >= 200 && xhr.status < 400) { obj.success && obj.success(xhr.responseText); } else { obj.error && obj.error(xhr); } obj.complete && obj.complete(); obj.complete = null; } }; xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded; charset=UTF-8"); xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest"); xhr.send(data); } var mid = "2247526784" || "" || ""; var biz = "MzUxMjQ1NTYyMA==" || ""; var sessionid = "" || "svr_193001f4bed"; var idx = "1" || ""; (function sendReq(parentNode, copyIframe, index, vid) { ajax({ url: '/mp/videoplayer?vid=' + vid + '&mid=' + mid + '&idx=' + idx + '&__biz=' + biz + '&sessionid=' + sessionid + '&f=json', type: "GET", dataType: 'json', success: function (json) { var ret = JSON.parse(json || '{}'); var ori = ret.ori_status; var hit_biz_headimg = ret.hit_biz_headimg + '/64'; var hit_nickname = ret.hit_nickname; var hit_username = ret.hit_username; var sourceBiz = ret.source_encode_biz; var selfUserName = "gh_d481555e4148"; if (ori === 2 && selfUserName !== hit_username) { var videoBar = document.createElement('div'); var videoBarHtml = '<div class="wx-edui-video_source_link js_wx_tap_highlight wx_tap_card" id="' + (hit_username + index) + '" data-hit-username="' + hit_username + '" data-hit-biz="' + sourceBiz + '">'; videoBarHtml += '<div class="wx-edui-video_source_word">以下视频来源于</div>'; videoBarHtml += '<div class="wx-edui-video_account_info">'; videoBarHtml += '<div class="wx-edui-video_account_avatar" id="' + (hit_biz_headimg + index) + '" data-src="' + hit_biz_headimg + '"></div>'; videoBarHtml += '<div class="wx-edui-video_account_name">' + hit_nickname + '</div>'; videoBarHtml += '<i class="wx-edui-video_account_arrow"></i>'; videoBarHtml += '</div>'; videoBarHtml += '<div class="wx-edui-video_source_link__layer_mask"></div>'; videoBarHtml += '</div>'; videoBar.innerHTML = videoBarHtml; var spanContainer = document.getElementById('js_mp_video_container_' + index); if (spanContainer) { spanContainer.parentNode.insertBefore(videoBar, spanContainer); } else if (parentNode.contains && parentNode.contains(copyIframe)) { parentNode.insertBefore(videoBar, copyIframe); } else { parentNode.insertBefore(videoBar, parentNode.firstElementChild); } var avatorEle = document.getElementById(hit_biz_headimg + index); var avatorSrc = avatorEle.dataset.src; console.log('avatorSrc' + avatorSrc); if (ret.hit_biz_headimg) { avatorEle.style.backgroundImage = 'url(' + avatorSrc + ')'; } } }, error: function (xhr) { } }); })(a.parentNode, a, i, vid); a.style.cssText += ";width: " + obj.w + "px !important;"; a.setAttribute("width", obj.w); if (window.__zoom != 1) { a.style.display = "block"; videoPlaceHolderSpan.style.display = "none"; a.setAttribute("_ratio", obj.ratio); a.setAttribute("_vid", vid); } else { videoPlaceHolderSpan.style.cssText += "height: " + (obj.h - obj.sdh) + "px !important;margin-bottom: " + obj.sdh + "px !important;"; a.style.cssText += "height: " + obj.h + "px !important;"; a.setAttribute("height", obj.h); } a.setAttribute("data-vh", obj.vh); a.setAttribute("data-vw", obj.vw); if (a.getAttribute("data-mpvid")) { a.setAttribute("data-src", location.protocol + "//web.archive.org/web/20240514130121/https://mp.weixin.qq.com/mp/readtemplate?t=pages/video_player_tmpl&auto=0&vid=" + vid); } else { a.setAttribute("data-src", location.protocol + "//web.archive.org/web/20240514130121/https://v.qq.com/iframe/player.html?vid=" + vid + "&width=" + obj.vw + "&height=" + obj.vh + "&auto=0"); } } })(); (function () { if (window.__zoom != 1) { if (!window.__second_open__) { document.getElementById('page-content').style.zoom = window.__zoom; var a = document.getElementById('activity-name'); var b = document.getElementById('meta_content'); if (!!a) { a.style.zoom = 1 / window.__zoom; } if (!!b) { b.style.zoom = 1 / window.__zoom; } } var images = document.getElementsByTagName('img'); for (var i = 0, il = images.length; i < il; i++) { if (window.__second_open__ && images[i].getAttribute('__sec_open_place_holder__')) { continue; } images[i].style.zoom = 1 / window.__zoom; } var iframe = document.getElementsByTagName('iframe'); for (var i = 0, il = iframe.length; i < il; i++) { if (window.__second_open__ && iframe[i].getAttribute('__sec_open_place_holder__')) { continue; } var a = iframe[i]; a.style.zoom = 1 / window.__zoom; var src_ = a.getAttribute('data-src') || ""; if (!/^http(s)*\:\/\/v\.qq\.com\/iframe\/(preview|player)\.html\?/.test(src_) && !/^http(s)*\:\/\/mp\.weixin\.qq\.com\/mp\/readtemplate\?t=pages\/video_player_tmpl/.test(src_) ) { continue; } var ratio = a.getAttribute("_ratio"); var vid = a.getAttribute("_vid"); a.removeAttribute("_ratio"); a.removeAttribute("_vid"); var vw = a.offsetWidth - (getOuterW(a) || 0); var vh = vw / ratio; var h = vh + (getOuterH(a) || 0) a.style.cssText += "height: " + h + "px !important;" a.setAttribute("height", h); if (/^http(s)*\:\/\/v\.qq\.com\/iframe\/(preview|player)\.html\?/.test(src_)) { a.setAttribute("data-src", location.protocol + "//web.archive.org/web/20240514130121/https://v.qq.com/iframe/player.html?vid=" + vid + "&width=" + vw + "&height=" + vh + "&auto=0"); } a.style.display = "none"; var parent = a.parentNode; if (!parent) { continue; } for (var j = 0, jl = parent.children.length; j < jl; j++) { var child = parent.children[j]; if (child.className.indexOf("js_img_placeholder") >= 0 && child.getAttribute("data-vid") == vid) { child.style.cssText += "height: " + h + "px !important;"; child.style.display = ""; } } } } })(); })(); var anchor_tree_msg = ''; </script> <script type="text/javascript" nonce="1496042457" reportloaderror>(function () { 'use strict'; var _Speed = {}; var _userDefine; var _imgurl = 'https://web.archive.org/web/20240514130121/https://badjs.weixinbridge.com/frontend/reportspeed?'; function saveSpeeds$1(obj) { if (!obj.pid || !obj.speeds) { return -1; } if (!Array.isArray(obj.speeds)) { obj.speeds = [obj.speeds]; } if (obj.user_define) { _userDefine = obj.user_define; } var pid_uin_rid = _conbinUPRid(obj); for (var i = 0; i < obj.speeds.length; i++) { var os = obj.speeds[i]; os.time = Math.floor(+os.time); if (os.sid > 20 && os.time >= 0) _setSidTime(pid_uin_rid, os.sid, os.time); } } function send$1() { _doFunc(function () { setTimeout(function () { for (var item in _Speed) { _get({ pid_uin_rid: item, speeds: _Speed[item], user_define: _userDefine }, _imgurl); } _Speed = {}; }, 100); }); } function setFirstViewTime(obj) { _doFunc(function () { if (!obj.pid || !obj.time) return -1; var pid_uin_rid = _conbinUPRid(obj); _setSidTime(pid_uin_rid, 9, obj.time); }); } function setBasicTime$1(obj) { _doFunc(function () { var pid_uin_rid = _conbinUPRid(obj); if (!_Speed[pid_uin_rid]) _Speed[pid_uin_rid] = []; var performance = window.performance || window.msPerformance || window.webkitPerformance || {}; if (!!performance && !!performance.timing) { var timing = performance.timing || {}; _setSidTime(pid_uin_rid, 1, timing.domainLookupEnd - timing.domainLookupStart); _setSidTime(pid_uin_rid, 2, location.protocol == "https:" && timing.secureConnectionStart != 0 ? timing.connectEnd - timing.secureConnectionStart : 0); _setSidTime(pid_uin_rid, 3, timing.connectEnd - timing.connectStart); _setSidTime(pid_uin_rid, 4, timing.responseStart - timing.requestStart); _setSidTime(pid_uin_rid, 5, timing.responseEnd - timing.responseStart); _setSidTime(pid_uin_rid, 6, timing.domContentLoadedEventStart - timing.domLoading); _setSidTime(pid_uin_rid, 7, timing.domComplete == 0 ? 0 : timing.domComplete - timing.domLoading); _setSidTime(pid_uin_rid, 8, timing.loadEventEnd == 0 ? 0 : timing.loadEventEnd - timing.loadEventStart); (function (_Speed) { setTimeout(function () { if (timing.loadEventEnd) { _setSidTime(pid_uin_rid, 7, timing.domComplete == 0 ? 0 : timing.domComplete - timing.domLoading); _setSidTime(pid_uin_rid, 8, timing.loadEventEnd == 0 ? 0 : timing.loadEventEnd - timing.loadEventStart); } }, 0); })(); if (!_Speed[pid_uin_rid][9]) _setSidTime(pid_uin_rid, 9, timing.domContentLoadedEventStart - timing.navigationStart); _setSidTime(pid_uin_rid, 10, timing.redirectEnd - timing.redirectStart); _setSidTime(pid_uin_rid, 11, timing.domainLookupStart - timing.fetchStart); _setSidTime(pid_uin_rid, 12, timing.domLoading - timing.responseStart); } }); } function _setSidTime(pid_uin_rid, sid, time) { _Speed[pid_uin_rid] = _Speed[pid_uin_rid] || []; _Speed[pid_uin_rid][sid] = _Speed[pid_uin_rid][sid] || []; if (time < 0) return; if (sid < 21) _Speed[pid_uin_rid][sid][0] = time;else _Speed[pid_uin_rid][sid].push(time); } function _conbinUPRid(obj) { if (!obj || !obj.pid) { console && console.error('Must provide a pid'); return ''; } return obj.pid + '_' + (obj.uin || 0) + '_' + (obj.rid || 0); } function _get(obj, url) { var apur = obj.pid_uin_rid.split('_'); var spur = ''; if (apur.length == 3) { spur = 'pid=' + apur[0] + '&uin=' + apur[1] + '&rid=' + apur[2]; } else { console && console.error('pid,uin,rid, invalid args'); return; } if (obj.user_define) { spur += '&user_define=' + obj.user_define; } var url1 = url + spur + '&speeds='; var url2 = ''; var urlarr = []; for (var i = 1; i < obj.speeds.length; i++) { if (obj.speeds[i]) { for (var j = 0; j < obj.speeds[i].length; j++) { var s = i + '_' + obj.speeds[i][j]; if (url1.length + url2.length + s.length < 1024) { url2 = url2 + s + ';'; } else { if (url2.length) urlarr.push(url1 + url2.substring(0, url2.length - 1)); url2 = s + ';'; } } if (i == obj.speeds.length - 1) { urlarr.push(url1 + url2.substring(0, url2.length - 1)); } } } for (var _i = 0; _i < urlarr.length; _i++) { new Image().src = urlarr[_i]; } } var cblist = []; function _doFunc(fnc) { if (document.readyState == "complete") { fnc(); } else { cblist.push(fnc); } } window.addEventListener('load', onLoad, false); function onLoad() { for (var i = 0; i < cblist.length; i++) { cblist[i](); } cblist = []; } var wxgsdk = { saveSpeeds: saveSpeeds$1, send: send$1, setFirstViewTime: setFirstViewTime, setBasicTime: setBasicTime$1 }; var reportLogs = []; var reportExtraLogs = []; var sendUrl = '/mp/jsmonitor?#wechat_redirect'; var monitor = {}; monitor._reportOptions = { idkey: {} }; function ObjWithoutProperty(source, exclude) { if (source === null) return {}; var target = {}; var sourceKeys = Object.keys(source); for (var i = 0; i < sourceKeys.length; i++) { var key = sourceKeys[i]; if (exclude.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } function formatDataToString(data) { var reportData = []; for (var key in data) { if (Object.prototype.hasOwnProperty.call(data, key)) { reportData.push(key + '=' + encodeURIComponent(data[key])); } } return reportData.join('&'); } monitor.getReportData = function (opt) { opt = opt || {}; var idkey = monitor._reportOptions.idkey || {}; var key = null; var reportData = {}; var nextKey; try { for (key in idkey) { if (Object.prototype.hasOwnProperty.call(idkey, key) && idkey[key]) { reportLogs.push(key + '_' + idkey[key]); } } } catch (e) { return false; } if (reportLogs.length === 0) { return false; } if (reportExtraLogs.length) { reportData.lc = reportExtraLogs.length; reportExtraLogs.forEach(function (extraLog, index) { reportData["log".concat(index)] = extraLog; }); } try { var reportOptions = monitor._reportOptions; if (reportOptions !== null && reportOptions !== undefined) { for (nextKey in reportOptions) { if (Object.prototype.hasOwnProperty.call(reportOptions, nextKey)) { reportData[nextKey] = reportOptions[nextKey]; } } } } catch (e) { reportData = {}; } reportData.idkey = reportLogs.join(';'); reportData.t = Math.random(); if (opt.remove !== false) { reportLogs = []; reportExtraLogs = []; monitor._reportOptions = { idkey: {} }; } return reportData; }; monitor.setLogs = function (opt) { var id = opt.id; var key = opt.key; var value = opt.value; var extraLog = opt.log; var others = ObjWithoutProperty(opt, ['id', 'key', 'value', 'log']); var idkey = monitor._reportOptions.idkey || {}; var param = id + '_' + key; if (idkey[param]) { idkey[param] += value; } else { idkey[param] = value; } monitor._reportOptions.idkey = idkey; if (extraLog) { reportExtraLogs.push(extraLog); } try { if (others !== null && others !== undefined) { for (var otherKey in others) { if (Object.prototype.hasOwnProperty.call(others, otherKey)) { monitor._reportOptions[otherKey] = others[otherKey]; } } } } catch (e) { console.log(e); } return monitor; }; monitor.setAvg = function (id, key, value) { var idkey = monitor._reportOptions.idkey || {}; var param1 = id + '_' + key; var param2 = id + '_' + (key - 1); if (idkey[param1]) { idkey[param1] += value; } else { idkey[param1] = value; } if (idkey[param2]) { idkey[param2] += 1; } else { idkey[param2] = 1; } monitor._reportOptions.idkey = idkey; return monitor; }; monitor.setSum = function (id, key) { var value = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1; var idkey = monitor._reportOptions.idkey; var param = id + '_' + key; if (idkey[param]) { idkey[param] += value; } else { idkey[param] = value; } monitor._reportOptions.idkey = idkey; return monitor; }; monitor.send = function (async, ajax, origin) { if (async !== false) { async = true; } var data = monitor.getReportData(); origin = origin || ''; if (!data) { return; } if (!!ajax && ajax instanceof Function) { ajax({ url: origin + sendUrl, type: 'POST', mayAbort: true, data: data, async: async, timeout: 2000 }); } else { new Image().src = origin + '/mp/jsmonitor?' + formatDataToString(data) + '#wechat_redirect'; } }; if (typeof window !== 'undefined' && window.__monitor) { monitor = window.__monitor; } else { typeof window !== 'undefined' && (window.__monitor = monitor); } var monitor$1 = monitor; function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } var logList = []; var log = function log(msg) { logList.push(msg); }; var printLog = function printLog() { for (var i = 0, len = logList.length; i < len; ++i) { console.log("[RespType]".concat(logList[i])); } }; var isArray = function isArray(val) { return Object.prototype.toString.call(val) === '[object Array]'; }; var getValueType = function getValueType(value) { if (isArray(value)) { return 'array'; } return _typeof(value); }; var parseRtDesc = function parseRtDesc(rtDesc, k) { var type = 'mix'; var isRequired = false; var key = k; if (k) { var requireKeyWord = '_R'; var pos = k.indexOf(requireKeyWord); var len = k.length - requireKeyWord.length; isRequired = pos !== -1 && pos === len; key = isRequired ? k.substring(0, len) : k; } if (typeof rtDesc === 'string') { type = rtDesc; } else if (isArray(rtDesc)) { type = 'array'; } else if (_typeof(rtDesc) === 'object') { type = 'object'; } return { key: key, type: type, isRequired: isRequired }; }; var checkForArrayRtDesc = function checkForArrayRtDesc(arr, rtDescs) { if (!isArray(arr)) { return false; } for (var i = 0, len = arr.length; i < len; ++i) { var value = arr[i]; var rtDesc = void 0; var j = 0; var flag = rtDescs.length === 0; while (rtDesc = rtDescs[j++]) { if (checkForRtDesc(value, rtDesc)) { flag = true; break; } } if (!flag) { return false; } } return true; }; var checkForStringRtDesc = function checkForStringRtDesc(value, rtDesc) { var valueType = getValueType(value); var desc = parseRtDesc(rtDesc); var ret = desc.type === valueType; if (!ret) { log("miss match type : ".concat(valueType, " !== ").concat(desc.type)); } return ret; }; var checkForObjectRtDesc = function checkForObjectRtDesc(json, rtDesc) { if (_typeof(json) !== 'object' || isArray(json)) { log('must be object'); return false; } var rootJson = json; var nowCheckValue = json; for (var k in rtDesc) { if (rtDesc.hasOwnProperty(k)) { var nowCheckDesc = rtDesc[k]; var desc = parseRtDesc(nowCheckDesc, k); var key = desc.key; nowCheckValue = rootJson[key]; var valueType = getValueType(nowCheckValue); if (desc.isRequired && nowCheckValue === undefined) { log("is required @key=".concat(key)); return false; } if (nowCheckValue !== undefined) { if (valueType !== desc.type && desc.type !== 'mix') { log("miss match type : ".concat(valueType, " !== ").concat(desc.type, " @key=").concat(key)); return false; } if ((valueType === 'array' || valueType === 'object') && desc.type !== 'mix') { if (!checkForRtDesc(nowCheckValue, nowCheckDesc)) { return false; } } } } } return true; }; var checkForRtDesc = function checkForRtDesc(json, rtDesc) { if (isArray(rtDesc)) { return checkForArrayRtDesc(json, rtDesc); } if (_typeof(rtDesc) === 'object') { return checkForObjectRtDesc(json, rtDesc); } if (typeof rtDesc === 'string') { return checkForStringRtDesc(json, rtDesc); } return false; }; var _check = function check(json, rtDescs) { if (typeof json === 'string') { try { json = eval("(".concat(json, ")")); } catch (e) { log('parse json error'); return false; } } if (_typeof(json) !== 'object') { log('must be object'); return false; } if (!isArray(rtDescs)) { rtDescs = [rtDescs]; } var rtDesc; var i = 0; while (rtDesc = rtDescs[i++]) { if (checkForRtDesc(json, rtDesc)) { return true; } } return false; }; var RespTypes = { check: function check(json, rtDesc) { logList = []; try { var ret = _check(json, rtDesc); if (!ret) { printLog(); } return ret; } catch (e) { logList.push("[rtException]".concat(e.toString())); printLog(); return false; } }, getMsg: function getMsg() { return logList.join(';'); } }; function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray$1(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } function _unsupportedIterableToArray$1(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray$1(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$1(o, minLen); } function _arrayLikeToArray$1(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } var ua = navigator.userAgent; var is_ios = /(iPhone|iPad|iPod|iOS)/i.test(ua); var is_wp = /Windows\sPhone/i.test(ua); var is_android = /(Android)/i.test(ua); var is_wechat = /MicroMessenger\/([\d\.]+)/i.test(ua); var is_mac = /mac\sos/i.test(ua) && !is_ios; var is_windows = /windows\snt/i.test(ua) && !is_wp; var is_mpapp = /MPAPP\/([\d\.]+)/i.test(ua); var is_ipad = /iPad/i.test(ua); var is_windows_wechat = /WindowsWechat/i.test(ua); var is_mac_wechat = /MacWechat/i.test(ua) || /wechat.*mac os/i.test(ua); var is_prefetch = is_wechat && window.WeixinPrefecherJSBridge; var is_donut_app = /SAAASDK/i.test(ua); var is_in_miniProgram = is_android && /miniprogram/.test(ua.toLowerCase()) || window.__wxjs_environment == 'miniprogram'; var is_wx_work = /wxwork/i.test(ua); function getUrlParams() { var vars = location.search.substring(1).split('&'); var params = {}; var _iterator = _createForOfIteratorHelper(vars), _step; try { for (_iterator.s(); !(_step = _iterator.n()).done;) { var ele = _step.value; var pair = ele.split('='); var key = decodeURIComponent(pair[0]); if (typeof params[key] === 'undefined') { params[key] = decodeURIComponent(pair[1]); } } } catch (err) { _iterator.e(err); } finally { _iterator.f(); } return params; } function get() { var reg = /MicroMessenger\/([\d\.]+)/i; var ret = ua.match(reg); if (ret && ret[1]) { return ret[1]; } return false; } function getMac() { var reg = /MacWechat\/([\d\.]+)/i; var ret = ua.match(reg); if (ret && ret[1]) { return ret[1]; } return false; } function getMacOS() { var reg = /Mac OS X ([\d_]+)/i; var ret = ua.match(reg); if (ret && ret[1]) { return ret[1].replace(/_/g, '.'); } return false; } function getWindows() { var reg = /WindowsWechat\(0x(.+?)\)/i; var ret = ua.match(reg); if (ret && ret[1]) { return ret[1]; } return false; } function getWxWork() { var reg = /wxwork\/([\d\.]+)/i; var ret = ua.match(reg); if (ret && ret[1]) { return ret[1]; } return false; } function getMpApp() { var appVersion = [2, 4, 5]; var match = navigator.userAgent.match(/MPAPP\/(\d+(\.\d+)*)/); if (match) { appVersion = match[1].split('.').map(function (v) { return Number(v); }); } return appVersion.join('.'); } function getVersionNumber(hexStr) { return Number(Number('0x' + hexStr).toString(10)); } function getWindowsVersionFormat() { var versionInfo = navigator.userAgent.match(/WindowsWechat\(0x(\w+?)\)/); if (versionInfo && versionInfo.length === 2) { var version = versionInfo[1]; var mainVersion = getVersionNumber(version.slice(1, 2)); var subVersion = getVersionNumber(version.slice(2, 4)); var subVersion2 = getVersionNumber(version.slice(4, 6)); return [mainVersion, subVersion, subVersion2].join('.'); } return false; } function getInner() { var reg = /MicroMessenger\/[\d\.]+\(0x(.+?)\)/i; var ret = ua.match(reg); if (ret && ret[1] && ret[1] != null) { return ret[1]; } if (!ret && /MicroMessenger\/[\d\.]+/i.test(ua)) { var urlParams = getUrlParams(); if (urlParams.version) { return urlParams.version; } } return false; } var opfunc = { 'cp-1': function cp1(a, b) { return a < b; }, cp0: function cp0(a, b) { return a === b; }, cp1: function cp1(a, b) { return a > b; } }; function cpVersion(ver, op, canEq, type) { var mmver = false; switch (type) { case 'mac': mmver = getMac(); break; case 'windows': mmver = getWindowsVersionFormat(); break; case 'wxwork': mmver = getWxWork(); break; case 'mpapp': mmver = getMpApp(); break; default: mmver = get(); break; } if (!mmver) { return; } var mmversion = mmver.split('.'); var version = ver.split('.'); if (!/\d+/g.test(mmversion[mmversion.length - 1])) { mmversion.pop(); } for (var i = 0, len = Math.max(mmversion.length, version.length); i < len; ++i) { var mmv = mmversion[i] || ''; var v = version[i] || ''; var mmvn = parseInt(mmv, 10) || 0; var vn = parseInt(v, 10) || 0; var eq = opfunc.cp0(mmvn, vn); if (eq) { continue; } var cp = opfunc["cp".concat(op)]; return cp(mmvn, vn); } return canEq || op === 0; } function eqVersion(version) { return cpVersion(version, 0); } function gtVersion(version, canEq) { return cpVersion(version, 1, canEq); } function ltVersion(version, canEq) { return cpVersion(version, -1, canEq); } function getPlatform() { if (is_ios) { return 'ios'; } else if (is_android) { return 'android'; } else if (is_mac) { return 'mac_os'; } else if (is_windows) { return 'windows'; } return 'unknown'; } var is_google_play = false; var inner_ver_for_google_play_check = getInner(); if (is_android && inner_ver_for_google_play_check) { var v = '0x' + inner_ver_for_google_play_check.substr(-2); if (parseInt(v) >= 64 && parseInt(v) <= 79) { is_google_play = true; } } var mmversion = { get: get, getMac: getMac, getMacOS: getMacOS, getWindows: getWindows, getInner: getInner, getWxWork: getWxWork, getMpApp: getMpApp, cpVersion: cpVersion, eqVersion: eqVersion, gtVersion: gtVersion, ltVersion: ltVersion, getPlatform: getPlatform, getVersionNumber: getVersionNumber, isWp: is_wp, isIOS: is_ios, isAndroid: is_android, isInMiniProgram: is_in_miniProgram, isWechat: is_wechat, isMac: is_mac, isWindows: is_windows, isMacWechat: is_mac_wechat, isWindowsWechat: is_windows_wechat, isWxWork: is_wx_work, isOnlyWechat: is_wechat && !is_wx_work, isMpapp: is_mpapp, isNewMpApp: is_mpapp && cpVersion('3.0.0', 1, true, 'mpapp'), isIPad: is_ipad, isGooglePlay: is_google_play, isPrefetch: is_prefetch, isDonutAPP: is_donut_app }; var Device = {}; function detect(ua) { var MQQBrowser = ua.match(/MQQBrowser\/(\d+\.\d+)/i); var MQQClient = ua.match(/QQ\/(\d+\.(\d+)\.(\d+)\.(\d+))/i) || ua.match(/V1_AND_SQ_([\d\.]+)/); var WeChat = ua.match(/MicroMessenger\/((\d+)\.(\d+))\.(\d+)/) || ua.match(/MicroMessenger\/((\d+)\.(\d+))/); var MacOS = ua.match(/Mac\sOS\sX\s(\d+[\.|_]\d+)/); var WinOS = ua.match(/Windows(\s+\w+)?\s+?(\d+\.\d+)/); var Linux = ua.match(/Linux\s/); var MiuiBrowser = ua.match(/MiuiBrowser\/(\d+\.\d+)/i); var M1 = ua.match(/MI-ONE/); var MIPAD = ua.match(/MI PAD/); var UC = ua.match(/UCBrowser\/(\d+\.\d+(\.\d+\.\d+)?)/) || ua.match(/\sUC\s/); var IEMobile = ua.match(/IEMobile(\/|\s+)(\d+\.\d+)/) || ua.match(/WPDesktop/); var ipod = ua.match(/(ipod).*\s([\d_]+)/i); var ipad = ua.match(/(ipad).*\s([\d_]+)/i); var iphone = ua.match(/(iphone)\sos\s([\d_]+)/i); var Chrome = ua.match(/Chrome\/(\d+\.\d+)/); var AndriodBrowser = ua.match(/Mozilla.*Linux.*Android.*AppleWebKit.*Mobile Safari/); var android = ua.match(/(android)\s([\d\.]+)/i); Device.browser = Device.browser || {}, Device.os = Device.os || {}; if (window.ActiveXObject) { var vie = 6; (window.XMLHttpRequest || ua.indexOf('MSIE 7.0') > -1) && (vie = 7); (window.XDomainRequest || ua.indexOf('Trident/4.0') > -1) && (vie = 8); ua.indexOf('Trident/5.0') > -1 && (vie = 9); ua.indexOf('Trident/6.0') > -1 && (vie = 10); Device.browser.ie = true, Device.browser.version = vie; } else if (ua.indexOf('Trident/7.0') > -1) { Device.browser.ie = true, Device.browser.version = 11; } if (android) { Device.os.android = true; Device.os.version = android[2]; } if (ipod) { Device.os.ios = Device.os.ipod = true; Device.os.version = ipod[2].replace(/_/g, '.'); } if (ipad) { Device.os.ios = Device.os.ipad = true; Device.os.version = ipad[2].replace(/_/g, '.'); } if (iphone) { Device.os.iphone = Device.os.ios = true; Device.os.version = iphone[2].replace(/_/g, '.'); } if (WinOS) Device.os.windows = true, Device.os.version = WinOS[2]; if (MacOS) Device.os.Mac = true, Device.os.version = MacOS[1]; if (Linux) Device.os.Linux = true; if (ua.indexOf('lepad_hls') > 0) Device.os.LePad = true; if (MIPAD) Device.os.MIPAD = true; if (MQQBrowser) Device.browser.MQQ = true, Device.browser.version = MQQBrowser[1]; if (MQQClient) Device.browser.MQQClient = true, Device.browser.version = MQQClient[1]; if (WeChat) Device.browser.WeChat = true, Device.browser.mmversion = Device.browser.version = WeChat[1]; if (MiuiBrowser) Device.browser.MIUI = true, Device.browser.version = MiuiBrowser[1]; if (UC) Device.browser.UC = true, Device.browser.version = UC[1] || NaN; if (IEMobile) Device.browser.IEMobile = true, Device.browser.version = IEMobile[2]; if (AndriodBrowser) { Device.browser.AndriodBrowser = true; } if (M1) { Device.browser.M1 = true; } if (Chrome) { Device.browser.Chrome = true, Device.browser.version = Chrome[1]; } if (Device.os.windows) { if (typeof navigator.platform !== "undefined" && navigator.platform.toLowerCase() == "win64") { Device.os.win64 = true; } else { Device.os.win64 = false; } } if (Device.os.Mac || Device.os.windows || Device.os.Linux) { Device.os.pc = true; } var osType = { iPad7: 'iPad; CPU OS 7', LePad: 'lepad_hls', XiaoMi: 'MI-ONE', SonyDTV: "SonyDTV", SamSung: 'SAMSUNG', HTC: 'HTC', VIVO: 'vivo' }; for (var os in osType) { Device.os[os] = ua.indexOf(osType[os]) !== -1; } Device.os.phone = Device.os.phone || /windows phone/i.test(ua); Device.os.getNumVersion = function () { return parseFloat(Device.os.version); }; Device.os.hasTouch = 'ontouchstart' in window; if (Device.os.hasTouch && Device.os.ios && Device.os.getNumVersion() < 6) { Device.os.hasTouch = false; } if (Device.browser.WeChat && Device.browser.version < 5.0) { Device.os.hasTouch = false; } Device.browser.getNumVersion = function () { return parseFloat(Device.browser.version); }; Device.browser.isFFCanOcx = function () { return !!Device.browser.firefox && Device.browser.getNumVersion() >= 3.0; }; Device.browser.isCanOcx = function () { return !!Device.os.windows && (!!Device.browser.ie || Device.browser.isFFCanOcx() || !!Device.browser.webkit); }; Device.browser.isNotIESupport = function () { return !!Device.os.windows && (!!Device.browser.webkit || Device.browser.isFFCanOcx()); }; Device.userAgent = {}; Device.userAgent.browserVersion = Device.browser.version; Device.userAgent.osVersion = Device.os.version; Device.os.unifiedPC = ua.match(/UnifiedPC/); delete Device.userAgent.version; } detect(window.navigator.userAgent); function canSupportH5Video() { var ua = window.navigator.userAgent, m = null; if (!!Device.os.android) { if (Device.browser.MQQ && Device.browser.getNumVersion() >= 4.2) { return true; } if (ua.indexOf('MI2') != -1) { return true; } if (Device.os.version >= '4' && (m = ua.match(/MicroMessenger\/((\d+)\.(\d+))\.(\d+)/))) { if (parseFloat(m[1]) >= 4.2) { return true; } } if (Device.os.version >= '4.1') { return true; } } return false; } function canSupportVideoMp4() { var video = document.createElement('video'); if (typeof video.canPlayType === 'function') { if (video.canPlayType('video/mp4; codecs="mp4v.20.8"') === 'probably') { return true; } if (video.canPlayType('video/mp4; codecs="avc1.42E01E"') === 'probably' || video.canPlayType('video/mp4; codecs="avc1.42E01E, mp4a.40.2"') === 'probably') { return true; } } return false; } function canSupportAutoPlay() { if (Device.os.ios && Device.os.getNumVersion() < 10) { return false; } return true; } function isLockdownMode() { if (!Device.os.ios || Device.os.getNumVersion() < 16) { return false; } if (typeof WebAssembly === 'undefined' && typeof OfflineAudioContext === 'undefined' && typeof WebGLRenderingContext === 'undefined') { return true; } return false; } Device.canSupportVideo = canSupportVideoMp4 || canSupportH5Video; Device.canSupportVideoMp4 = canSupportVideoMp4; Device.canSupportH5Video = canSupportH5Video; Device.canSupportAutoPlay = canSupportAutoPlay; Device.isLockdownMode = isLockdownMode; var initJsBridge = false; var JSAPIEventCallbackMap$1 = {}; function connectWebViewJavascriptBridge(callback) { if (window.WebViewMPapp || window.WebViewJavascriptBridge) { return callback(window.WebViewMPapp || window.WebViewJavascriptBridge); } if (window.WVJBCallbacks) { return window.WVJBCallbacks.push(callback); } window.WVJBCallbacks = [callback]; if (!initJsBridge) { initJsBridge = true; var WVJBIframe = document.createElement('iframe'); WVJBIframe.style.display = 'none'; WVJBIframe.src = 'https://__bridge_loaded__'; document.body.appendChild(WVJBIframe); setTimeout(function () { initJsBridge = false; document.body.removeChild(WVJBIframe); }, 0); } return false; } function invoke$1(jsapiName, opt, callback) { connectWebViewJavascriptBridge(function (bridge) { try { if (typeof opt === 'function') { callback = opt; } if (_typeof(opt) !== 'object' && typeof opt !== 'string') { opt = {}; } bridge.callHandler(jsapiName, opt, function (res) { try { var ret = _typeof(res) === 'object' ? res : JSON.parse(res); var errMsg = ret.err_msg || ret.errMsg; console.info("[mpapp jsapi] invoke->".concat(jsapiName, " ").concat(opt.action || '', " ").concat(errMsg)); typeof callback === 'function' && callback(ret); } catch (e) { window.WX_BJ_REPORT.BadJs.report('invoke', "callback ".concat(jsapiName, " error:"), { mid: 'mmbizwebapp:js_brridge', _info: e }); console.error("[mpapp jsapi] ".concat(jsapiName, " ").concat(opt.action || ''), e, res); } }); } catch (e) { window.WX_BJ_REPORT.BadJs.report('invoke', 'callback error:', { mid: 'mmbizwebapp:js_brridge', _info: e }); console.error('[mpapp jsapi]', e); } }); } function on$1(eventName, callback) { connectWebViewJavascriptBridge(function (bridge) { if (!JSAPIEventCallbackMap$1[eventName]) { JSAPIEventCallbackMap$1[eventName] = []; } JSAPIEventCallbackMap$1[eventName].push(callback); if (JSAPIEventCallbackMap$1[eventName].length > 1) { return false; } try { bridge.registerHandler(eventName, function () { for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { args[_key] = arguments[_key]; } try { var data = typeof args[0] === 'string' ? JSON.parse(args[0]) : args[0]; console.info('[mpapp jsapi] event->' + eventName + ' ' + data.err_msg); if (JSAPIEventCallbackMap1[eventName].length) { var result; for (var i = 0; i < JSAPIEventCallbackMap$1[eventName].length; i++) { result = JSAPIEventCallbackMap$1[eventName][i].apply(window, [data].concat(args.slice(1))); } return result; } } catch (e) { window.WX_BJ_REPORT.BadJs.report('on', "callback ".concat(eventName, " error:"), { mid: 'mmbizwebapp:js_brridge', _info: e }); console.error('[mpapp jsapi] ' + eventName, e, args[0]); } }); } catch (e) { window.WX_BJ_REPORT.BadJs.report('on', 'callback error:', { mid: 'mmbizwebapp:js_brridge', _info: e }); console.error('[mpapp jsapi]', e); } }); } function remove$1(eventName, callback) { connectWebViewJavascriptBridge(function () { if (!JSAPIEventCallbackMap$1[eventName]) { return false; } var result = false; for (var i = JSAPIEventCallbackMap$1[eventName].length - 1; i >= 0; i--) { if (JSAPIEventCallbackMap$1[eventName][i] === callback) { JSAPIEventCallbackMap$1[eventName].splice(i, 1); result = true; } } return result; }); } var doc$1 = {}; var isAcrossOrigin$1 = false; var __moon_report$1 = window.__moon_report || function () {}; var MOON_JSAPI_KEY_OFFSET = 8; try { doc$1 = top.window.document; } catch (e) { isAcrossOrigin$1 = true; } var JSAPIEventCallbackMap = {}; function ready(onBridgeReady) { var bridgeReady = function bridgeReady() { try { if (onBridgeReady) { window.onBridgeReadyTime = window.onBridgeReadyTime || Date.now(); onBridgeReady(); } } catch (e) { __moon_report$1([{ offset: MOON_JSAPI_KEY_OFFSET, log: 'ready', e: e }]); throw e; } window.jsapiReadyTime = Date.now(); }; if (!isAcrossOrigin$1 && (typeof top.window.WeixinJSBridge === 'undefined' || !top.window.WeixinJSBridge.invoke)) { if (doc$1.addEventListener) { doc$1.addEventListener('WeixinJSBridgeReady', bridgeReady, false); } else if (doc$1.attachEvent) { doc$1.attachEvent('WeixinJSBridgeReady', bridgeReady); doc$1.attachEvent('onWeixinJSBridgeReady', bridgeReady); } } else { bridgeReady(); } } function invoke(methodName, args, callback) { ready(function () { if (isAcrossOrigin$1) return false; if (_typeof(top.window.WeixinJSBridge) !== 'object') { alert('请在微信中打开此链接'); return false; } top.window.WeixinJSBridge.invoke(methodName, args, function () { try { for (var _len = arguments.length, rets = new Array(_len), _key = 0; _key < _len; _key++) { rets[_key] = arguments[_key]; } var ret = rets[0]; var errMsg = ret && ret.err_msg ? ', err_msg-> ' + ret.err_msg : ''; console.info('[system]', '[jsapi] invoke->' + methodName + errMsg); if (callback) { callback.apply(window, rets); } } catch (e) { __moon_report$1([{ offset: MOON_JSAPI_KEY_OFFSET, log: 'invoke;methodName:' + methodName, e: e }]); throw e; } }); }); } function call(methodName) { ready(function () { if (isAcrossOrigin$1) return false; if (_typeof(top.window.WeixinJSBridge) !== 'object') { return false; } try { top.window.WeixinJSBridge.call(methodName); } catch (e) { __moon_report$1([{ offset: MOON_JSAPI_KEY_OFFSET, log: 'call;methodName:' + methodName, e: e }]); throw e; } }); } function on(eventName, callback) { ready(function () { if (isAcrossOrigin$1) return false; if (_typeof(top.window.WeixinJSBridge) !== 'object' || !top.window.WeixinJSBridge.on) { return false; } if (!JSAPIEventCallbackMap[eventName]) { JSAPIEventCallbackMap[eventName] = []; } JSAPIEventCallbackMap[eventName].push(callback); if (JSAPIEventCallbackMap[eventName].length > 1) { return false; } top.window.WeixinJSBridge.on(eventName, function () { try { for (var _len2 = arguments.length, rets = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) { rets[_key2] = arguments[_key2]; } var ret = rets[0]; var errMsg = ret && ret.err_msg ? ', err_msg-> ' + ret.err_msg : ''; console.info('[system]', '[jsapi] event->' + eventName + errMsg); if (JSAPIEventCallbackMap[eventName] && JSAPIEventCallbackMap[eventName].length) { var result; for (var i = 0; i < JSAPIEventCallbackMap[eventName].length; i++) { result = JSAPIEventCallbackMap[eventName][i].apply(window, rets); } return result; } } catch (e) { __moon_report$1([{ offset: MOON_JSAPI_KEY_OFFSET, log: 'on;eventName:' + eventName, e: e }]); throw e; } }); }); } function remove(eventName, callback) { ready(function () { if (!JSAPIEventCallbackMap[eventName]) { return false; } var result = false; for (var i = JSAPIEventCallbackMap[eventName].length - 1; i >= 0; i--) { if (JSAPIEventCallbackMap[eventName][i] === callback) { JSAPIEventCallbackMap[eventName].splice(i, 1); result = true; } } return result; }); } var JSAPI = mmversion.isNewMpApp ? { ready: connectWebViewJavascriptBridge, invoke: invoke$1, call: invoke$1, on: on$1, remove: remove$1 } : { ready: ready, invoke: invoke, call: call, on: on, remove: remove }; function parseUrl(url) { var len = url.length; var ques_pos = url.indexOf('?'); var hash_pos = url.indexOf('#'); hash_pos = hash_pos == -1 ? len : hash_pos; ques_pos = ques_pos == -1 ? hash_pos : ques_pos; var host = url.substring(0, ques_pos); var query_str = url.substring(ques_pos + 1, hash_pos); var hash = url.substring(hash_pos + 1); return { host: host, query_str: query_str, hash: hash }; } function join(url, args, noEncode) { var ret = parseUrl(url); var query_str = ret.query_str; var args_arr = []; if (_typeof(args) === 'object') { for (var key in args) { if (args.hasOwnProperty(key)) { args_arr.push(key + '=' + (noEncode ? args[key] : encodeURIComponent(args[key]))); } } } else { args_arr.push(noEncode ? args : encodeURIComponent(args)); } if (args_arr.length > 0) { query_str += (query_str !== "" ? "&" : "") + args_arr.join("&"); } return ret.host + (query_str !== "" ? "?" + query_str : "") + (ret.hash !== "" ? "#" + ret.hash : ""); } function addParam(url, param, value, forceReplace) { url = url || location.href; var firstAndPos = url.indexOf("&"); var len = url.length; var reverseUrl = url.replace(/^[\w\d]+:[/\\]+/g, "").split("").reverse(); if (!Array.prototype.indexOf) { Array.prototype.indexOf = function (searchElement, fromIndex) { var k; if (this == null) { throw new TypeError('"this" is null or not defined'); } var O = Object(this); var len = O.length >>> 0; if (len === 0) { return -1; } var n = fromIndex || 0; if (Math.abs(n) === Infinity) { n = 0; } if (n >= len) { return -1; } k = Math.max(n >= 0 ? n : len - Math.abs(n), 0); while (k < len) { if (k in O && O[k] === searchElement) { return k; } k++; } return -1; }; } var lastSlashPos = len - 1 - reverseUrl.indexOf("/"); if (firstAndPos !== -1 && url.indexOf("?") == -1 && firstAndPos > lastSlashPos) { url = url.replace("&", "?"); } var reg = new RegExp("([\\?&]" + param + "=)[^&#]*"); if (!url.match(reg)) { var _pos = url.indexOf("?"); if (_pos == -1) { return url + "?" + param + "=" + value; } else { if (_pos == url.length - 1) { return url + param + "=" + value; } return url + "&" + param + "=" + value; } } if (forceReplace === true) { return url.replace(reg, "$1" + value); } return url; } function removeParam(url, param) { var _URL = new URL(url), protocol = _URL.protocol, host = _URL.host, pathname = _URL.pathname, search = _URL.search, hash = _URL.hash; var queryParams = new URLSearchParams(search); queryParams["delete"](param); var newSearch = queryParams.toString(); var newUrl = new URL("".concat(protocol, "//").concat(host).concat(pathname).concat(newSearch ? "?".concat(decodeURIComponent(newSearch)) : "").concat(hash)); return newUrl.toString(); } function getQuery(name, url) { var u = url || window.location.search; var reg = new RegExp("(^|&)".concat(name, "=([^&]*)(&|$)")); var r = u.substring(u.indexOf('?') + 1).match(reg); return r !== null ? r[2] : ''; } function encodeBase64(value) { try { return window.btoa(value); } catch (e) { return ''; } } function decodeBase64(value) { try { return window.atob(value); } catch (e) { return ''; } } function joinUrl(url) { var obj = {}; if (typeof window.uin !== 'undefined') { obj.uin = window.uin; } if (typeof window.key !== 'undefined') { obj.key = window.key; } if (typeof window.pass_ticket !== 'undefined') { obj.pass_ticket = window.pass_ticket; } if (typeof window.wxtoken !== 'undefined') { obj.wxtoken = window.wxtoken; } if (typeof window.devicetype !== 'undefined') { obj.devicetype = window.devicetype; } if (typeof window.clientversion !== 'undefined') { obj.clientversion = window.clientversion; } if (window.biz) { obj['__biz'] = window.biz; } if (getQuery('enterid')) { obj.enterid = getQuery('enterid'); } if (typeof window.appmsg_token !== 'undefined') { obj.appmsg_token = window.appmsg_token; } else if (url.indexOf('advertisement_report') > -1) { new Image().src = location.protocol + '//web.archive.org/web/20240514130121/https://mp.weixin.qq.com/mp/jsmonitor?idkey=68064_13_1&r=' + Math.random(); } obj.x5 = navigator.userAgent.indexOf('TBS/') !== -1 ? '1' : '0'; obj.f = 'json'; return join(url, obj); } var Url = { parseUrl: parseUrl, join: join, addParam: addParam, getQuery: getQuery, encodeBase64: encodeBase64, decodeBase64: decodeBase64, joinUrl: joinUrl, removeParam: removeParam }; function _log(level, msg) { if (level === 'log') { level = 'info'; msg = '[WechatFe]' + msg; } else { var prefix = '__wap__' + (window.__second_open__ ? ' (sec)' : ''); msg = prefix + ' ' + msg + ' location:[' + location.href + ']'; } msg += new Error().stack; if (mmversion.isMpapp) { invoke$1('WNNativeCallbackLog', msg); } else if (mmversion.isWechat) { if (mmversion.isAndroid) { console.warn('[system]', '[MicroMsg.JsApiLog][' + level + '] jslog : ' + msg); } else if (mmversion.isIOS) { JSAPI.invoke('writeLog', { level: level, msg: msg }); } else { JSAPI.invoke('log', { level: level, msg: msg }); } } } var Log = { info: function info() { for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { args[_key] = arguments[_key]; } _log('info', args.join(' ')); }, warn: function warn() { for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) { args[_key2] = arguments[_key2]; } _log('warn', args.join(' ')); }, error: function error() { for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) { args[_key3] = arguments[_key3]; } _log('error', args.join(' ')); }, debug: function debug() { for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) { args[_key4] = arguments[_key4]; } _log('debug', args.join(' ')); }, log: function log() { for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) { args[_key5] = arguments[_key5]; } _log('info', args.join(' ')); } }; var html = function html(_str, encode) { if (!_str) return ''; var replace = ['&#96;', '`', '&#39;', '\'', '&quot;', '"', '&nbsp;', ' ', '&gt;', '>', '&lt;', '<', '&yen;', '¥', '&amp;', '&', '&#60;', '<', '&#62;', '>']; var replaceReverse = ['&', '&amp;', '¥', '&yen;', '<', '&lt;', '>', '&gt;', ' ', '&nbsp;', '"', '&quot;', '\'', '&#39;', '`', '&#96;']; var str = _str; var target; if (encode) { target = replaceReverse; } else { target = replace; } for (var i = 0; i < target.length; i += 2) { str = str.replace(new RegExp(target[i], 'g'), target[i + 1]); } return str; }; var htmlLite = function htmlLite(_str, encode) { if (!_str) return ''; var replace = ['&#96;', '`', '&#39;', '\'', '&quot;', '"', '&gt;', '>', '&lt;', '<', '&amp;', '&']; var replaceReverse = ['&', '&amp;', '<', '&lt;', '>', '&gt;', '"', '&quot;', '\'', '&#39;', '`', '&#96;']; var str = _str; var target; if (encode) { target = replaceReverse; } else { target = replace; } for (var i = 0; i < target.length; i += 2) { str = str.replace(new RegExp(target[i], 'g'), target[i + 1]); } return str; }; var htmlEncode = function htmlEncode(str) { return html(str, true); }; var htmlDecode = function htmlDecode(str) { return html(str, false); }; var htmlEncodeLite = function htmlEncodeLite(str) { return htmlLite(str, true); }; var htmlDecodeLite = function htmlDecodeLite(str) { return htmlLite(str, false); }; String.prototype.html = function (encode) { return html(this.toString(), encode); }; String.prototype.htmlEncode = function () { return htmlEncode(this.toString()); }; String.prototype.htmlDecode = function () { return htmlDecode(this.toString()); }; String.prototype.htmlLite = function (encode) { return htmlLite(this.toString(), encode); }; String.prototype.htmlEncodeLite = function () { return htmlEncodeLite(this.toString()); }; String.prototype.htmlDecodeLite = function () { return htmlDecodeLite(this.toString()); }; var _a; var METHOD_ENUM = { GET: 0, POST: 1 }; var __moon_report = window.__moon_report || function () {}; var MOON_AJAX_SUCCESS_OFFSET = 3; var MOON_AJAX_NETWORK_OFFSET = 4; var MOON_AJAX_ERROR_OFFSET = 5; var MOON_AJAX_TIMEOUT_OFFSET = 6; var MOON_AJAX_COMPLETE_OFFSET = 7; var LENGTH_LIMIT = 4096; var doc; var isAcrossOrigin = false; try { doc = (_a = window.top) === null || _a === void 0 ? void 0 : _a.window.document; } catch (e) { isAcrossOrigin = true; } function networkStartLog(item) { var _a, _b, _c; console.log('[system]', "< [request ".concat(item.requestType, "]"), item.method, item); if ((_a = window.vConsole) === null || _a === void 0 ? void 0 : _a.network) { try { return (_c = (_b = window.vConsole.network).add) === null || _c === void 0 ? void 0 : _c.call(_b, Object.assign({}, item, { startTime: Date.now(), endTime: Date.now(), status: 0, readyState: 2, response: '' })); } catch (err) {} } return Object.assign({}, item, { id: '__system_log__' }); } function networkEndLog(item) { var _a, _b, _c; console.log('[system]', "> [response ".concat(item.requestType, "]"), item.response, item); if (((_a = window.vConsole) === null || _a === void 0 ? void 0 : _a.network) && item.id !== '__system_log__') { try { return (_c = (_b = window.vConsole.network).update) === null || _c === void 0 ? void 0 : _c.call(_b, item.id, Object.assign({}, item, { readyState: 4 })); } catch (err) {} } } function reqType(obj, path) { return obj.url.indexOf(path) > -1 && obj.url.indexOf('action=') === -1 && (!obj.data || !obj.data.action); } function reportRtError(type, id, key, content) { var log = ''; var prefix = type === 'rt' ? 'rtCheckError' : 'Ajax Length Limit'; if (content === null || content === void 0 ? void 0 : content.length) { var loglen = 1000, len = content.length, lc = Math.ceil(len / loglen); log = ['&lc=' + lc]; for (var i = 0; i < lc; ++i) { log.push('&log' + i + '=' + '[' + prefix + '][' + i + ']' + encodeURIComponent(content.substring(i * loglen, i * loglen + loglen))); } log = log.join(''); } var data = 'idkey=' + id + '_' + key + '_1' + log + '&r=' + Math.random(); var xmlobj = new XMLHttpRequest(); xmlobj.open('POST', location.protocol + '//web.archive.org/web/20240514130121/https://mp.weixin.qq.com/mp/jsmonitor?', true); xmlobj.setRequestHeader('cache-control', 'no-cache'); xmlobj.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8'); xmlobj.setRequestHeader('X-Requested-With', 'XMLHttpRequest'); xmlobj.send(data); if (type === 'ajaxLen') { monitor$1.setLogs({ id: id, key: key, value: 1, log: log }); } } function reportRt(id, key, content) { reportRtError('rt', id, key, content); } function reportAjaxLength(id, key, content) { reportRtError('ajaxLen', id, key, content); } function setCurrentMpInfo(ifShow) { var supportNewTopBar = mmversion.isIOS && mmversion.gtVersion('7.0.10', true) || mmversion.isAndroid && mmversion.gtVersion('7.0.12', true); var supportLiveStatus = mmversion.isIOS && mmversion.gtVersion('8.0.46', true) || mmversion.isAndroid && mmversion.gtVersion('8.0.46', true); JSAPI.invoke('currentMpInfo', { userName: window.user_name, brandName: !!supportNewTopBar && window.nickname === '' ? '未命名公众号' : window.title, title: window.msg_title || '', brandIcon: window.hd_head_img.replace(/\/0$/, '/132'), itemShowType: window.item_show_type, isPaySubscribe: window.isPaySubscribe, topBarStyle: supportNewTopBar ? 1 : 0, topBarShowed: ifShow, disableShowFinderLiveTopBar: !ifShow && supportLiveStatus ? 1 : 0 }, function () {}); } function findAjaxScopeByConfig(url, config) { var pathname = new URL(url, location.href).pathname || ''; var scope = config[pathname.slice(1)]; if (scope) { Log.log('ajax transfer config: ', JSON.stringify(config)); return scope; } } function getAjaxScope(ajaxUrl) { if (mmversion.isWechat && !mmversion.isInMiniProgram && !mmversion.isWxWork && !mmversion.isMpapp && !isAcrossOrigin && window.__ajaxTransferConfig && _typeof(window.__ajaxTransferConfig) === 'object' && ( mmversion.isIOS && mmversion.getInner() >= '1800282f' || mmversion.isAndroid && mmversion.getInner() >= '28002234')) { try { return findAjaxScopeByConfig(ajaxUrl, window.__ajaxTransferConfig); } catch (err) { } } } function Ajax(obj) { if (obj.usePb) { obj.type = 'POST'; obj.data = { data: JSON.stringify(obj.data) }; } var ajaxScope = getAjaxScope(obj.url); var type = (obj.type || 'GET').toUpperCase(); var timer; var url; if (obj.notJoinUrl) { url = obj.url; } else { url = Url.joinUrl(obj.url); } if (obj.f === 'html') { url = url.replace('&f=json', ''); } var data = null; if (_typeof(obj.data) === 'object') { var d = obj.data; var ds = []; for (var k in d) { if (d.hasOwnProperty(k)) { ds.push(k + '=' + encodeURIComponent(d[k])); } } data = ds.join('&'); } else { data = typeof obj.data === 'string' ? obj.data : null; } var beginTs; var beforeReq = function beforeReq() { if (reqType(obj, '/mp/getappmsgext')) { window.startGetAppmsgExtTime = Date.now(); Log.log('start get appmsgext, url: ', obj.url); } if (reqType(obj, '/mp/getappmsgad')) { window.startGetAppmsgAdTime = Date.now(); Log.log('start get appmsgad, url: ', obj.url); } beginTs = Date.now(); }; var beforeResp = function beforeResp(xhr) { if (reqType(obj, '/mp/getappmsgext')) { window.receiveGetAppmsgExt = xhr.status + '|' + Date.now(); Log.log('receive appmsgext response, status: ' + xhr.status); } if (reqType(obj, '/mp/getappmsgad')) { window.receiveGetAppmsgAd = xhr.status + '|' + Date.now(); Log.log('receive appmsgad response, status: ' + xhr.status); } if (Math.random() < 0.01 && window.WX_BJ_REPORT && window.WX_BJ_REPORT.BadJs) { try { var key = ajaxScope ? 'transfer' : 'xhr'; var interval = 250; var time = Date.now() - beginTs; var range = Math.floor(time / interval) * interval; var pathname = new URL(obj.url, location.href).pathname || ''; window.WX_BJ_REPORT.BadJs.report("".concat(key, "_perf:").concat(pathname), JSON.stringify({ status: xhr.status, time: "[".concat(range, "-").concat(range + interval, ")") }), { mid: 'mmbizwap:ajaxtransfer', view: 'wap_business' }); } catch (err) {} } }; var handleRespSucc = function handleRespSucc(xhr) { var _a; try { var responseText = xhr.responseText; var resp = responseText; if (obj.dataType === 'json') { try { resp = eval('(' + resp + ')'); var rtId = obj.rtId; var rtKey = obj.rtKey || 0; var rtDesc = obj.rtDesc; if (rtId && rtDesc && RespTypes && !RespTypes.check(resp, rtDesc)) { reportRt(+rtId, +rtKey, RespTypes.getMsg() + '[detail]' + responseText + ';' + obj.url); } if (resp && resp.base_resp && ((_a = resp.base_resp) === null || _a === void 0 ? void 0 : _a.ret) !== 0 && typeof window.WX_BJ_REPORT !== 'undefined' && window.WX_BJ_REPORT.BadJs && Math.random() < 0.001) { var reportUrl = url; if (url.indexOf('?') !== -1) { reportUrl = url.substring(0, url.indexOf('?')); if (Url.getQuery('action', url)) { reportUrl = reportUrl + '?action=' + Url.getQuery('action', url); } } if (!((reportUrl === '/mp/getappmsgext' || reportUrl === '/mp/getappmsgad') && typeof resp.base_resp.ret === 'undefined')) { window.WX_BJ_REPORT.BadJs.report(reportUrl, 'ret=' + resp.base_resp.ret, { mid: window.PAGE_MID, view: 'wap_retcode' }); } } } catch (e) { obj.error && obj.error(xhr, { type: 1, error: e, status: xhr.status }); return; } } obj.success && obj.success(resp); } catch (e) { __moon_report({ offset: MOON_AJAX_SUCCESS_OFFSET, e: e }); throw e; } }; var handleRespErr = function handleRespErr(xhr, error) { try { obj.error && obj.error(xhr, { type: 2, error: error, status: xhr.status }); } catch (e) { __moon_report({ offset: MOON_AJAX_ERROR_OFFSET, e: e }); throw e; } }; var handleRespComplete = function handleRespComplete() { clearTimeout(timer); try { obj.complete && obj.complete(); } catch (e) { __moon_report({ offset: MOON_AJAX_COMPLETE_OFFSET, e: e }); throw e; } obj.complete = null; }; var handleReqTimeout = function handleReqTimeout(xhr) { if (typeof obj.timeout !== 'undefined') { timer = setTimeout(function () { xhr.abort(); try { obj.complete && obj.complete(); } catch (e) { __moon_report({ offset: MOON_AJAX_COMPLETE_OFFSET, e: e }); throw e; } obj.complete = null; __moon_report({ offset: MOON_AJAX_TIMEOUT_OFFSET, log: 'ajax_timeout_error: ' + url, e: '' }); }, obj.timeout); } }; if (ajaxScope) { var header = { 'User-Agent': navigator.userAgent, 'Cookie': (window.__test_env__ ? 'uniproxy_route=1; ' : '') + document.cookie, 'Referer': location.href }; if (obj.contentType) { header['Content-Type'] = obj.contentType; } else if (type === 'POST') { header['Content-Type'] = 'application/x-www-form-urlencoded; charset=UTF-8'; } if (!obj.noXRequestedWidthHeader) { header['X-Requested-With'] = 'XMLHttpRequest'; } var params = { reqUrl: new URL(url, location.href).href, reqBody: data, scope: ajaxScope, method: METHOD_ENUM[type] || 0, header: header }; var reqLogItem = networkStartLog({ method: type, url: url, postData: obj.data || {}, requestHeader: header, requestType: 'transfer' }); var isTimeout = false; handleReqTimeout({ abort: function abort() { isTimeout = true; reqLogItem.endTime = Date.now(); reqLogItem.response = 'timeout'; networkEndLog(reqLogItem); } }); JSAPI.invoke('webTransfer', params, function (res) { if (isTimeout) return; var status = res && res.errCode * 1 === 0 && typeof res.result === 'string' && res.result ? 200 : 400; if (status >= 200 && status < 400) { obj.received && obj.received(null); beforeResp({ status: status }); handleRespSucc({ status: status, responseText: res.result }); reqLogItem.status = status; reqLogItem.endTime = Date.now(); reqLogItem.response = res.result; handleRespComplete(); networkEndLog(reqLogItem); } else { var retryXhr = new XMLHttpRequest(); retryXhr.open(type, url); retryXhr.onreadystatechange = function () { if (isTimeout) return; if (retryXhr.readyState === 3) { obj.received && obj.received(retryXhr); } if (retryXhr.readyState === 4) { beforeResp(retryXhr); var retryStatus = retryXhr.status; if (retryStatus >= 200 && retryStatus < 400) { handleRespSucc(retryXhr); } else { handleRespErr(retryXhr, res); window.WX_BJ_REPORT && window.WX_BJ_REPORT.BadJs && window.WX_BJ_REPORT.BadJs.report('req_failure', JSON.stringify({ retryXhrStatus: retryStatus, transferRes: res }), { mid: 'mmbizwap:ajaxtransfer', view: 'wap_business' }); } reqLogItem.status = retryStatus; reqLogItem.endTime = Date.now(); reqLogItem.response = res; handleRespComplete(); networkEndLog(reqLogItem); } }; retryXhr.send(data); } }); beforeReq(); return; } var xhr = new XMLHttpRequest(); var mayAbort = !!obj.mayAbort; var async = typeof obj.async === 'undefined' ? true : obj.async; var _onreadystatechange = xhr.onreadystatechange; xhr.open(type, url, async); xhr.onreadystatechange = function () { if (typeof _onreadystatechange === 'function') { _onreadystatechange.apply(xhr); } if (xhr.readyState === 3) { obj.received && obj.received(xhr); } if (xhr.readyState === 4) { beforeResp(xhr); xhr.onreadystatechange = null; var status = xhr.status; if (status >= 200 && status < 400) { handleRespSucc(xhr); } else { handleRespErr(xhr, 'status error'); if (!!status || !mayAbort) { var __ajaxtest = window.__ajaxtest || '0'; __moon_report({ offset: MOON_AJAX_NETWORK_OFFSET, log: 'ajax_network_error[' + status + '][' + __ajaxtest + ']: ' + url + ';host:' + location.host, e: '' }); } } handleRespComplete(); } }; if (obj.contentType) { xhr.setRequestHeader('Content-Type', obj.contentType); } else if (type === 'POST') { xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8'); } if (!obj.noXRequestedWidthHeader) { xhr.setRequestHeader('X-Requested-With', 'XMLHttpRequest'); } handleReqTimeout(xhr); try { xhr.send(data); try { if (url && url.length > LENGTH_LIMIT) { reportAjaxLength(27613, 17, 'ajax get limit[length: ' + url.length + ']' + url.substring(0, 1024)); } if (data && data.length > LENGTH_LIMIT) { reportAjaxLength(27613, 18, 'ajax post limit[length: ' + data.length + ']' + data.substring(0, 1024)); } } catch (e) { } } catch (e) { obj.error && obj.error(xhr, { type: 3, error: e, status: 0 }); } beforeReq(); return xhr; } function AjaxWx(obj) { obj.url += obj.url.indexOf('?') === -1 ? '?fasttmplajax=1' : '&fasttmplajax=1'; if (getAjaxScope(obj.url)) { Ajax(obj); return; } if (obj.usePb) { obj.type = 'POST'; obj.data = { data: JSON.stringify(obj.data) }; } if (!/^(http:\/\/|https:\/\/|\/\/)/.test(obj.url)) { obj.url = 'https://web.archive.org/web/20240514130121/https://mp.weixin.qq.com/' + obj.url.replace(/^\//, ''); } else if (/^\/\//.test(obj.url)) { obj.url = 'https:' + obj.url; } if (obj.f !== 'html' && (obj.url.indexOf('?f=json') === -1 || obj.url.indexOf('&f=json') === -1)) { obj.url += '&f=json'; } if (!obj.notJoinUrl && obj.f !== 'html') { obj.url = Url.joinUrl(obj.url); } var data = null; if (_typeof(obj.data) === 'object') { var d = obj.data; var ds = []; for (var k in d) { if (d.hasOwnProperty(k)) { ds.push(k + '=' + encodeURIComponent(d[k])); } } data = ds.join('&'); } else { data = typeof obj.data === 'string' ? obj.data : null; } var header = { Cookie: document.cookie, referer: location.href }; var reqLogItem = networkStartLog({ method: obj.type || 'GET', url: obj.url, postData: obj.data || {}, requestHeader: header, requestType: 'jsapi' }); var retryTime = 1; var jsapiRequest = function jsapiRequest(obj, data) { return JSAPI.invoke('request', { url: obj.url, method: obj.type, data: data, header: header }, function (res) { var _a; if (res.err_msg.indexOf(':ok') > -1) { if (reqType(obj, '/mp/getappmsgext')) { window.receiveGetAppmsgExt = res.statusCode + '|' + Date.now(); } if (reqType(obj, '/mp/getappmsgad')) { window.receiveGetAppmsgAd = res.statusCode + '|' + Date.now(); } if (retryTime === 1) { obj.received && obj.received(null); } var resData = {}; if (res.data) { try { if (obj.dataType === 'json') { resData = JSON.parse(res.data); } else { resData = res.data; } if (resData && resData.base_resp && ((_a = resData.base_resp) === null || _a === void 0 ? void 0 : _a.ret) !== 0 && typeof window.WX_BJ_REPORT !== 'undefined' && window.WX_BJ_REPORT.BadJs && Math.random() < 0.001) { var reportUrl = obj.url; if (obj.url.indexOf('?') !== -1) { reportUrl = obj.url.substring(0, obj.url.indexOf('?')); if (Url.getQuery('action', obj.url)) { reportUrl = reportUrl + '?action=' + Url.getQuery('action', obj.url); } } if (!((reportUrl === '/mp/getappmsgext' || reportUrl === '/mp/getappmsgad') && typeof resData.base_resp.ret === 'undefined')) { window.WX_BJ_REPORT.BadJs.report(reportUrl, 'ret=' + resData.base_resp.ret, { mid: window.PAGE_MID, view: 'wap_retcode' }); } } } catch (e) { console.error(e); obj.error && obj.error(null, { type: 1, error: e, status: res.statusCode }); obj.complete && obj.complete(); reqLogItem.endTime = Date.now(); reqLogItem.response = res; networkEndLog(reqLogItem); return; } } var tmpResData = {}; try { tmpResData = JSON.parse(res.data); } catch (e) {} if (tmpResData && tmpResData.base_resp && tmpResData.base_resp.ret === -3 && retryTime < 2 && (mmversion.isIOS || mmversion.isAndroid && mmversion.getInner() > '27000600')) { var _retryTime = retryTime++; JSAPI.invoke('updatePageAuth', {}, function (res) { console.log('[skeleton] updatePageAuth', res); monitor$1.setSum(112287, 3, 1); if (res && res.err_msg && res.err_msg.indexOf(':ok') > -1) { window.top.pass_ticket = encodeURIComponent(Url.getQuery('pass_ticket', res.fullUrl).html(false).replace(/\s/g, '+')); if (obj.pass_ticket) { obj.pass_ticket = window.top.pass_ticket; } console.warn('[skeleton] updatePageAuth resetTopbar'); var supportNewTopBar = mmversion.isIOS && mmversion.gtVersion('7.0.10', true); var showBottomBar = window.show_version === 2 && !Device.os.pc && !mmversion.isNewMpApp && document.querySelector('#article_bottom_bar_area'); if (window.top.item_show_type === '0' && supportNewTopBar) { var _top = document.documentElement.scrollTop || window.pageYOffset || document.body.scrollTop || 0; setCurrentMpInfo(_top > 40 && !showBottomBar); } try { obj.url = Url.addParam(obj.url, 'retry', _retryTime, true); } catch (err) { console.error(err); } jsapiRequest(obj, data); monitor$1.setSum(112287, 4, 1); } else { obj.success && obj.success(resData); obj.complete && obj.complete(); if (mmversion.isIOS) { monitor$1.setSum(112287, 35, 1); } else { monitor$1.setSum(112287, 36, 1); } reqLogItem.status = 200; reqLogItem.endTime = Date.now(); reqLogItem.response = resData; networkEndLog(reqLogItem); } }); } else { obj.success && obj.success(resData); obj.complete && obj.complete(); reqLogItem.status = 200; reqLogItem.endTime = Date.now(); reqLogItem.response = resData; networkEndLog(reqLogItem); } } else if (res.err_msg.indexOf('no permission') > -1 || !mmversion.isOnlyWechat) { Ajax(obj); if (res.err_msg.indexOf('no permission') > -1) { console.warn('[JSAPI Request] No permission'); monitor$1.setSum(112287, 31, 1); } reqLogItem.status = 302; reqLogItem.endTime = Date.now(); reqLogItem.response = res; networkEndLog(reqLogItem); } else { obj.error && obj.error(null, { type: 3, error: res, status: 0 }); obj.complete && obj.complete(); monitor$1.setSum(112287, 32, 1); var sample = 0.001; if (Math.random() < sample) { var msg = 'request: ' + JSON.stringify(obj.type) + ' ' + JSON.stringify(obj.url) + ' ;;;; cookie: ' + JSON.stringify(document.cookie) + ' ;;;; data: ' + JSON.stringify(data) + ' ;;;; resp: ' + JSON.stringify(res); if (window.WX_BJ_REPORT && window.WX_BJ_REPORT.BadJs) { window.WX_BJ_REPORT.BadJs.report('ajax_wx_request_error', msg, { mid: 'mmbizwap:Monitor' }); } } reqLogItem.status = 400; reqLogItem.endTime = Date.now(); reqLogItem.response = res; networkEndLog(reqLogItem); } }); }; if (reqType(obj, '/mp/getappmsgext')) { window.startGetAppmsgExtTime = Date.now(); } if (reqType(obj, '/mp/getappmsgad')) { window.startGetAppmsgAdTime = Date.now(); } return jsapiRequest(obj, data); } function AjaxMpapp(obj) { var urlMatch = obj.url.match(/^http(s?):\/\/([^\/]+)/); if (!mmversion.isNewMpApp || urlMatch && urlMatch[2] && urlMatch[2] !== 'mp.weixin.qq.com' ) { Ajax(obj); return; } var body = ''; if (_typeof(obj.data) === 'object') { var d = obj.data; var ds = []; for (var k in d) { if (d.hasOwnProperty(k)) { ds.push(k + '=' + encodeURIComponent(d[k])); } } body = ds.join('&'); } else { body = typeof obj.data === 'string' ? obj.data : ''; } var url = new URL(obj.url, location.href).href; if (obj.type === 'GET' && _typeof(obj.data) === 'object') { url = Url.join(url, obj.data); } if (obj.f !== 'html' && (url.indexOf('?f=json') === -1 || url.indexOf('&f=json') === -1)) { url += '&f=json'; } if (!obj.notJoinUrl && obj.f !== 'html') { url = Url.joinUrl(url); } var rawHeader = { Cookie: document.cookie, referer: location.href }; var reqLogItem = networkStartLog({ method: obj.type || 'GET', url: url, postData: obj.data || {}, requestHeader: rawHeader, requestType: 'waproute' }); var requestOptions = { url: url, body: body, header: Object.keys(rawHeader).map(function (key) { return { key: key, value: rawHeader[key] }; }), method: obj.type || 'GET', timeout: obj.timeout || 5000 }; JSAPI.invoke('wapRoute', requestOptions, function (res) { if (res.code === 0) { try { if (obj.dataType === 'json') { var data = JSON.parse(res.content); typeof obj.success === 'function' && obj.success(data); reqLogItem.response = data; } else { typeof obj.success === 'function' && obj.success(res.content); reqLogItem.response = res.content; } reqLogItem.status = 200; reqLogItem.endTime = Date.now(); } catch (e) { typeof obj.error === 'function' && obj.error(null, { type: 1, error: e, status: 0 }); reqLogItem.endTime = Date.now(); reqLogItem.response = res; } } else { typeof obj.error === 'function' && obj.error(null, { type: 3, error: res, status: 0 }); reqLogItem.status = 400; reqLogItem.endTime = Date.now(); reqLogItem.response = res; var msg = 'request: ' + JSON.stringify(requestOptions.method) + ' ' + JSON.stringify(requestOptions.url) + ' ;;;; cookie: ' + JSON.stringify(document.cookie) + ' ;;;; data: ' + body + ' ;;;; resp: ' + JSON.stringify(res) + ' ;;;; timegap: ' + (reqLogItem.endTime - reqLogItem.startTime); if (window.WX_BJ_REPORT && window.WX_BJ_REPORT.BadJs) { window.WX_BJ_REPORT.BadJs.report('ajax_mpapp_request_error', msg, { mid: 'mmbizwap:Monitor' }); } } typeof obj.complete === 'function' && obj.complete(); networkEndLog(reqLogItem); }); } var ajax = function ajax(obj) { if (mmversion.isNewMpApp) { return AjaxMpapp(obj); } else if (!mmversion.isWxWork && (window.__second_open__ || !isAcrossOrigin && top.window.__second_open__) && window.__is_page_auth_return__) { return AjaxWx(obj); } else { return Ajax(obj); } }; var timer = null; var jsmonitorReport = {}; window.__monitor_unload_has_done__ = false; jsmonitorReport.setSum = function (id, key, value) { monitor$1.setSum(id, key, value); return jsmonitorReport; }; jsmonitorReport.setAvg = function (id, key, value) { monitor$1.setAvg(id, key, value); return jsmonitorReport; }; jsmonitorReport.setLogs = function (opt) { monitor$1.setLogs(opt); return jsmonitorReport; }; jsmonitorReport.send = function (async) { if (async !== false) { async = true; } monitor$1.send(async, ajax); return jsmonitorReport; }; function reportInterval(fn, delay) { timer = window.setTimeout(function () { fn(); reportInterval(fn, delay); }, delay); } reportInterval(function () { jsmonitorReport.send(); }, 1 * 1000); window.addEventListener('unload', function () { if (window.__monitor_report_has_done__) return; window.__ajaxtest = '2'; if (timer) { window.clearTimeout(timer); timer = null; } jsmonitorReport.send(false); window.__monitor_unload_has_done__ = true; }, false); if (window.__jsmonitorReport) { jsmonitorReport = window.__jsmonitorReport; } else { window.__jsmonitorReport = jsmonitorReport; } var jsmonitorReport$1 = jsmonitorReport; function saveSpeeds(opt) { var sample = 0.001; if (typeof opt.sample == 'number') { sample = opt.sample; } var rand = Math.random(); if (rand < sample) { wxgsdk.saveSpeeds(opt); } } function setBasicTime(opt) { var sample = opt.sample || 0.001; var rand = Math.random(); if (rand < sample) { wxgsdk.setBasicTime(opt); } } function send() { wxgsdk.send(); } function jsmonitor(opt) { opt = opt || []; if (!Array.isArray(opt)) { var item = opt; opt = []; opt.push(item); } for (var i = 0; i < opt.length; i++) { var _item = opt[i]; var id = _item.id; var key = _item.key; var value = _item.value || 1; if (id !== undefined && key !== undefined) { jsmonitorReport$1.setSum(id, key, value); } } } var wxgspeedsdk = { saveSpeeds: saveSpeeds, setBasicTime: setBasicTime, send: send, jsmonitor: jsmonitor }; function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); } function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } } function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); } function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); } var uuid = function uuid() { return ((1 + Math.random()) * 0x10000 | 0).toString(16).substring(1); }; var WRAP_TAG = 'span'; var IMG_TAG = 'IMG'; var NODE_TYPE = { text: 1, img: 2 }; var blockEleTagName = ['P', 'DIV', 'SECTION', 'LI', 'H1', 'H2', 'H3', 'H4', 'H5', 'H6', 'TABLE', 'PRE', 'BLOCKQUOTE']; var exceptEleClassName = ['js_product_container', 'js_blockquote_wrap']; var ignoreTagName = ['IFRAME', 'VIDEO', 'MPVOICE', 'MPGONGYI', 'QQMUSIC', 'MPSHOP', 'MP-WEAPP', 'MP-MINIPROGRAM', 'MPPRODUCT', 'MPCPS']; var ignoreEleId = ['js_mpvideo']; var ignoreEleClassName = ['js_product_container']; var TEMP_NODES = {}; var childNodesHasEle = function childNodesHasEle(element) { var tagNameList = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : blockEleTagName; if (!element || element.nodeType !== 1) { return false; } for (var i = 0; i < element.children.length; i++) { if (tagNameList.indexOf(element.children[i].tagName) !== -1) { return true; } } return false; }; function eleHasAttr(ele) { var attr = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'className'; var AttrList = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : exceptEleClassName; for (var i = 0; i < AttrList.length; i++) { if (ele[attr] && typeof ele[attr] === 'string' && ele[attr].indexOf(AttrList[i]) > -1) { return true; } } return false; } var removeChildMedia = function removeChildMedia(element) { var parentNode = element.parentNode; element.parentNode.removeChild(element); if (parentNode.children && parentNode.children.length) { return false; } return true; }; var getParaList = function getParaList(element, _ref) { var _ref$getNestedStructu = _ref.getNestedStructure, getNestedStructure = _refgetNestedStructu, _ref$removeIgoreEle = _ref.removeIgoreEle, removeIgoreEle = _refremoveIgoreEle; var paraList = function getParaListWithIndex(ele, getNested) { var childNodes = ele.children; if (!childNodes) return []; if (!childNodes.length) { return childNodes; } var child; var paragraphList = []; for (var i = 0; i < childNodes.length; i++) { child = childNodes[i]; if (eleHasAttr(child, 'id', ignoreEleId) || eleHasAttr(child, 'className', ignoreEleClassName)) { if (removeIgoreEle) { child.parentNode.removeChild(child); i -= 1; } continue; } if (childNodesHasEle(child, ignoreTagName)) { if (removeIgoreEle) { removeChildMedia(child); i -= 1; } continue; } if (childNodesHasEle(child, blockEleTagName) && !eleHasAttr(child)) { paragraphList = paragraphList.concat(getParaListWithIndex(child, getNested)); if (getNested) { if (!child.getAttribute('data-index')) { paragraphList.push(child); } } } else { if (!child.getAttribute('data-index')) { paragraphList.push(child); } } } return paragraphList; }(element, getNestedStructure); return [].slice.call(paraList); }; getParaList.paragraphStartIdx = 1000000; var getSplitTextNode = function getSplitTextNode($textNode, startOffset, endOffset, paraIndex) { try { $textNode.splitText(startOffset); } catch (err) { if (typeof WX_BJ_REPORT !== 'undefined' && WX_BJ_REPORT.BadJs) { WX_BJ_REPORT.BadJs.report('ArticleMask:Error', 'splitText Error', { mid: 'mmbizwap:articlemask_Monitor', view: 'wap_business', _info: { type: 'getSplitTextNode textnode', startOffset: startOffset, endOffset: endOffset } }); } } var selectedNode = $textNode.nextSibling; try { selectedNode.splitText(endOffset - startOffset); } catch (e) { if (typeof WX_BJ_REPORT !== 'undefined' && WX_BJ_REPORT.BadJs) { WX_BJ_REPORT.BadJs.report('ArticleMask:Error', 'splitText Error', { mid: 'mmbizwap:articlemask_Monitor', view: 'wap_business', _info: { type: 'getSplitTextNode nextSibling', startOffset: startOffset, endOffset: endOffset } }); } } return [{ $node: selectedNode, type: NODE_TYPE.text, idx: paraIndex }]; }; var getBlockNode = function getBlockNode($node) { if (blockEleTagName.indexOf($node.tagName) !== -1 && typeof $node.dataset.index !== 'undefined') { return $node; } return getBlockNode($node.parentNode); }; var getPureBlockNode = function getPureBlockNode($node) { if (!$node) return $node; if (blockEleTagName.indexOf($node.tagName) !== -1) { return $node; } return getPureBlockNode($node.parentNode); }; var getNodesByDFS = function getNodesByDFS(range) { var start = range.start, end = range.end, container; var node, startOffset = start.offset; var node, endOffset = end.offset; var queue = []; var result = []; var withinSelectRange = false; var achiveSelectRangeEnd = false; var paraIndex = 0; queue.push($container); while (queue.length > 0) { var item = queue.pop(); var nodeType = item.nodeType, tagName = item.tagName; if (item.dataset && item.dataset.index) { paraIndex = +item.dataset.index; } if (withinSelectRange && !achiveSelectRangeEnd) { if (nodeType === 3) { result.push({ $node: item, type: NODE_TYPE.text, idx: paraIndex }); } if (tagName === IMG_TAG) { result.push({ $node: item, type: NODE_TYPE.img, idx: paraIndex }); } } if (item === $startNode) { if (nodeType === 3) { try { item.splitText(startOffset); } catch (e) { WX_BJ_REPORT.BadJs.report('ArticleMask:Error', 'splitText Error', { mid: 'mmbizwap:articlemask_Monitor', view: 'wap_business', _info: { type: 'getNodes startNode', startOffset: startOffset, endOffset: endOffset } }); } var $startTextNode = item.nextSibling; result.push({ startTextNode, type: NODE_TYPE.text, idx: paraIndex }); } else if (tagName === IMG_TAG) { result.push({ $node: item, type: NODE_TYPE.img, idx: paraIndex }); } else { result.push({ $node: item, type: NODE_TYPE.text, idx: paraIndex }); } withinSelectRange = true; } if (item === $endNode || achiveSelectRangeEnd) { if (!achiveSelectRangeEnd) { achiveSelectRangeEnd = true; } if (item === $endNode) result.pop(); if (nodeType === 3) { try { item.splitText(endOffset); } catch (e) { if (typeof WX_BJ_REPORT !== 'undefined' && WX_BJ_REPORT.BadJs) { WX_BJ_REPORT.BadJs.report('ArticleMask:Error', 'splitText Error', { mid: 'mmbizwap:articlemask_Monitor', view: 'wap_business', _info: { type: 'getSplitTextNode endNode', startOffset: startOffset, endOffset: endOffset } }); } } result.push({ $node: item, type: NODE_TYPE.text, idx: paraIndex }); break; } else if (tagName === IMG_TAG) { result.push({ $node: item, type: NODE_TYPE.img, idx: paraIndex }); break; } else { var _children = item.childNodes; for (var i = _children.length - 1; i >= 0; i--) { queue.push(_children[i]); } } } var children = item.childNodes; for (var _i = children.length - 1; _i >= 0; _i--) { queue.push(children[_i]); } } return result; }; var getSelectedNodes = function getSelectedNodes(range) { var start = range.start, end = range.end; var node, startOffset = start.offset; var node, endOffset = end.offset; if (endNode && $startNode instanceof Text) { return getSplitTextNode($startNode, startOffset, endOffset, start.paraIndex); } return getNodesByDFS(range); }; var checkTextNode = function checkTextNode($node) { return $node && (node.innerText); }; var connectSiblingText = function connectSiblingText(prev, next, target) { var $delete = target === prev ? next : prev; if (!checkTextNode(prev) || !checkTextNode(next)) { return $delete; } var text = (prev.nodeValue || prev.innerText) + (next.nodeValue || next.innerText); target.nodeValue = text; target.parentNode.removeChild($delete); return target; }; var getTextNodeByOffset = function getTextNodeByOffset($parentNode, offset) { var queue = []; var curOffset = 0; var startOffset = 0; var $curNode; queue.push($parentNode); while (queue.length > 0) { $curNode = queue.pop(); if ($curNode.nodeType === 3) { startOffset = offset - curOffset; curOffset += $curNode.textContent.length; if (curOffset >= offset) { break; } } var children = $curNode.childNodes; for (var i = children.length - 1; i >= 0; i--) { queue.push(children[i]); } } return { parentNode, curNode, offset: startOffset }; }; function getBlockOffset(_ref2) { var blockNode, node; if ($blockNode === null) { return null; } var queue = []; var offset = 0; queue.push($blockNode); while (queue.length > 0) { var item = queue.pop(); if (item.nodeType === 3 && item.nodeValue !== $node.nodeValue) { offset += item.textContent.length; } else if (item.nodeType === 1) { offset += 1; if (item === $node) break; } else if (item.nodeValue === $node.nodeValue) { offset += item.textContent.length; break; } var children = item.childNodes; for (var i = children.length - 1; i >= 0; i--) { queue.push(children[i]); } } return offset; } var getDomMeta = function getDomMeta(selection) { selection.$node; var parentNode; var parentIndex = Number($parentNode.dataset.index); var offset = getBlockOffset($parentNode); return { parentIndex: parentIndex, fromParentoffset: offset }; }; function nodeToSelection($node) { var $blockNode = getBlockNode($node); var paraIndex = +$blockNode.dataset.index; var offset = 0; var item = { blockNode, node, paraIndex: paraIndex, offset: offset }; var id = uuid(); return { start: item, end: item, id: id }; } var getSelection = function getSelection() { var selection = window.getSelection(); if (selection.anchorNode === null) { return null; } var selectionRange = selection.getRangeAt(0); if (!selectionRange || !selection.toString()) { return null; } var startContainer = selectionRange.startContainer, endContainer = selectionRange.endContainer, commonAncestorContainer = selectionRange.commonAncestorContainer, startOffset = selectionRange.startOffset, endOffset = selectionRange.endOffset; var $startBlockNode = getBlockNode(startContainer); var $endBlockNode = getBlockNode(endContainer); var startIndex = startBlockNode.dataset.index; var endIndex = endBlockNode.dataset.index; var start = { startBlockNode, $node: startContainer, offset: startOffset, paraIndex: Number(startIndex) }; var end = { endBlockNode, $node: endContainer, offset: endOffset, paraIndex: Number(endIndex) }; var $container = typeof commonAncestorContainer === 'string' ? commonAncestorContainer.parentNode : commonAncestorContainer; var id = uuid(); return { start: start, end: end, container, id: id }; }; var transferTextToElement = function transferTextToElement($node, id) { if (!$node) return null; if ($node.nodeType === 3) { var $wrap = document.createElement(WRAP_TAG); $wrap.setAttribute('data-splitid', id); $wrap.appendChild($node.cloneNode(false)); if ($node.parentNode) { $node.parentNode.replaceChild(node); } return $wrap; } return $node; }; var serialize = function serialize(selectionRange) { var start = selectionRange.start, end = selectionRange.end, id = selectionRange.id; var startParaOffset = getBlockOffset(start); var endParaOffset = start.node ? end.offset - start.offset + startParaOffset : getBlockOffset(end); var meta = { id: id, start: { para_offset: startParaOffset, para_index: start.paraIndex }, end: { para_offset: endParaOffset, para_index: end.paraIndex } }; return meta; }; var mapMetaToLocal = function mapMetaToLocal(paraList) { return function (meta) { var paraOffset = meta.para_offset, paraIndex = meta.para_index; var $blockNode = paraList[paraIndex]; var queue = []; var curOffset = 0; var offset = 0; var $curNode; queue.push($blockNode); while (queue.length > 0) { $curNode = queue.pop(); if ($curNode.nodeType === 3) { offset = paraOffset - curOffset; curOffset += $curNode.textContent.length; if (curOffset >= paraOffset) { break; } } if ($curNode.nodeType === 1) { offset = paraOffset - curOffset; curOffset += 1; if (curOffset >= paraOffset) { break; } } var children = $curNode.childNodes; for (var i = children.length - 1; i >= 0; i--) { queue.push(children[i]); } } return { blockNode, curNode, offset: offset, paraIndex: paraIndex }; }; }; var deSerialize = function deSerialize(meta, paraList, $container) { var desparaList = mapMetaToLocal(paraList); return { start: desparaList(meta.start), end: desparaList(meta.end), id: meta.id, container }; }; function getTextNode($node) { if (node.nodeType === 3) { return $node; } return $node.childNodes[0]; } var resetRange = function resetRange(selectionRange) { window.getSelection().removeAllRanges(); var selection = window.getSelection(); var range = document.createRange(); var $startnode = getTextNode(TEMP_NODES.start); var $endnode = getTextNode(TEMP_NODES.end); range.setStart($startnode, selectionRange.start.offset); range.setEnd($endnode, selectionRange.end.offset); selection.addRange(range); }; var getNodeIndex = function getNodeIndex(node) { var queue = []; var index = 0; queue.push($block); while (queue.length > 0) { var $item = queue.pop(); if (node) break; index++; var children = $item.children; for (var i = 0; i < children.length; i++) { queue.push(children[i]); } } return index; }; var getNodeByIndex = function getNodeByIndex($block, index) { var queue = []; var cursor = 0; var $result = null; queue.push($block); while (queue.length > 0) { var $item = queue.pop(); if (cursor === index) { item; break; } cursor++; var children = $item.children; for (var i = 0; i < children.length; i++) { queue.push(children[i]); } } return $result; }; var hasClass = function hasClass(cls, className) { if (cls && typeof cls === 'string' && cls.indexOf(className) !== -1) { return true; } return false; }; var inWhiteList = function inWhiteList(classAttr) { var classWhiteList = 'rich_pages,blockquote_info,blockquote_biz,blockquote_other,blockquote_article,js_jump_icon,h5_image_link,js_banner_container,js_list_container,js_cover,js_tx_video_container,js_product_err_container,js_product_loop_content,js_product_container,img_loading,list-paddingleft-1,list-paddingleft-2,list-paddingleft-3,selectTdClass,noBorderTable,ue-table-interlace-color-single,ue-table-interlace-color-double,__bg_gif,weapp_image_link,js_img_loading,wx_video_context,db,wx_video_thumb_primary,wx_video_play_btn,wx_video_mask,qqmusic_area,tc,tips_global,unsupport_tips,qqmusic_wrp,appmsg_card_context,appmsg_card_active,wx_tap_card,js_wx_tap_highlight,wx_tap_link,qqmusic_bd,play_area,icon_qqmusic_switch,pic_qqmusic_default,qqmusic_thumb,access_area,qqmusic_songname,qqmusic_singername,qqmusic_source,js_audio_frame,share_audio_context,flex_context,pages_reset,share_audio_switch,icon_share_audio_switch,share_audio_info,flex_bd,share_audio_title,share_audio_tips,share_audio_progress_wrp,share_audio_progress,share_audio_progress_inner,share_audio_progress_buffer,share_audio_progress_loading,share_audio_progress_loading_inner,share_audio_progress_handle,share_audio_desc,share_audio_length_current,share_audio_length_total,video_iframe,vote_iframe,js_editor_vote_card,res_iframe,card_iframe,js_editor_card,weapp_display_element,js_weapp_display_element,weapp_card,app_context,weapp_card_bd,weapp_card_profile,radius_avatar,weapp_card_avatar,weapp_card_nickname,weapp_card_info,weapp_card_title,weapp_card_thumb_wrp,weapp_card_ft,weapp_card_logo,js_pay_btn,pay,pay__mask,wx_video_loading,js_redpacketcover,js_uneditable,js_uneditablemouseover,js_editor_qqmusic,js_img_placeholder,js_editor_audio,ct_geography_loc_tip,js_poi_entry,js_mention_entry'.split(','); var qaClassPrefix = 'qa__'; var classWhiteListReg = [new RegExp('^weui'), new RegExp('^appmsg'), new RegExp('^audio'), new RegExp('^music'), new RegExp('^cps_inner'), new RegExp('^bizsvr_'), new RegExp('^code-snippet'), new RegExp('^' + qaClassPrefix), new RegExp('^wx-edui-'), new RegExp('^wx_'), new RegExp('^wx-'), new RegExp('^custom_select_card_') ]; if (!classAttr) return null; var classList = classAttr.split(/\s+/); var newClassList = []; for (var i = 0, len = classList.length; i < len; ++i) { var className = classList[i]; if (className && classWhiteList.indexOf(className) !== -1) { newClassList.push(className); } else { for (var j = 0, jl = classWhiteListReg.length; j < jl; j++) { if (classWhiteListReg[j].test(className)) { newClassList.push(className); break; } } } } var str = newClassList.join('.'); return str && '.' + str; }; var getNodeSelector = function getNodeSelector(node) { var selector = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ''; var root = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : document.body; if (!node || node === root) return selector; var id = node.getAttribute('id'); var className = node.getAttribute('class'); var tagName = node.tagName.toLowerCase(); var currentSelector = null; if (id && !hasClass(className, 'articlepart-selector-area_choice-button_wrap')) return selector ? "#".concat(id, ">").concat(selector) : "#".concat(id); var whiteClassName = inWhiteList(className); if (whiteClassName) { currentSelector = whiteClassName; } else if (hasClass(className, 'js_choice-img')) { currentSelector = '.js_choice-img'; } else if (hasClass(className, 'articlepart-selector-area_choice')) { currentSelector = node.dataset.splitid ? '' : tagName; } else { currentSelector = tagName; } return getNodeSelector(node.parentNode, [currentSelector, selector].filter(function (item) { return !!item; }).join('>'), root); }; var getNodeSelectorWrap = function getNodeSelectorWrap(node, root) { var selector = getNodeSelector(node, '', root); var collect = []; try { collect = root.querySelectorAll(selector); } catch (error) { console.log('get node selector wrap err', error); } var len = collect.length; var index = null; for (var i = 0; i < len; i++) { if (node === collect[i]) { index = i; break; } } if (index === null) { if (typeof WX_BJ_REPORT !== 'undefined' && WX_BJ_REPORT.BadJs) { WX_BJ_REPORT.BadJs.report('ArticleMask:Error', 'selector:node not find', { mid: 'mmbizwap:articlemask_Monitor', view: 'wap_business', _info: { selector: selector } }); } } var newSelector = (selector || '').replace('>.js_choice-img>', '>') + "|".concat(len, " ").concat(index || 0); return newSelector; }; var serializeToC = function serializeToC(nodes) { return nodes.map(function (item) { var node, type = item.type, idx = item.idx; var index = 0; var data = null; var meta = ''; var blockItem = getBlockNode($node); if (type === NODE_TYPE.text) { var nodeIndex = getNodeIndex(blockItem, $node.parentNode); if (node.data) { index = nodeIndex; data = $node.data; meta = node.previousSibling.data; } } else if (type === NODE_TYPE.img) { var imgs = blockItem.getElementsByTagName('img'); data = $node.src; index = Array.prototype.slice.call(imgs).slice(0).indexOf($node); } return { data: data, index: index, idx: idx, type: type, meta: meta }; }).filter(function (item) { return item.index > -1 && !!item.data; }); }; var serializeToC2 = function serializeToC2(nodes, $container) { var root = $container || document.getElementById('js_content'); return nodes.map(function (item) { var node, type = item.type, idx = item.idx; var selector = null; var data = null; var meta = ''; if (type === NODE_TYPE.text) { if (node.data) { selector = getNodeSelectorWrap($node.parentNode, root); data = $node.data; meta = node.previousSibling.data; } } else if (type === NODE_TYPE.img) { selector = getNodeSelectorWrap($node, root); data = $node.src; } return { data: data, idx: idx, type: type, meta: meta, selector: selector }; }).filter(function (item) { return !!item.selector && !!item.data; }); }; function setProperty(el, name, value, priority) { if (!!el.style.setProperty) { priority = priority || null; el.style.setProperty(name, value, priority); } else if (typeof el.style.cssText !== 'undefined') { priority = priority ? '!' + priority : ''; el.style.cssText += ';' + name + ':' + value + priority + ';'; } } function hasImgNode($el) { if (!$el) return false; var nodeType = $el.nodeType, tagName = $el.tagName; if (nodeType === 3) { return false; } if (tagName === IMG_TAG) { return true; } return false; } function getContent(tree) { return tree.reduce(function (acc, cur, idx) { if (idx === 0) { if (cur.type === NODE_TYPE.text) { acc.text.push(cur.data); } else if (cur.type === NODE_TYPE.img) { acc.pic.push(cur.data); } return acc; } if (cur.type === NODE_TYPE.text) { if (tree[idx - 1].type === NODE_TYPE.text) { var text = acc.text.pop(); text += cur.data; acc.text.push(text); } else { acc.text.push(cur.data); } return acc; } if (cur.type === NODE_TYPE.img) { acc.pic.push(cur.data); } return acc; }, { audio: [], pic: [], video: [], text: [] }); } function saveNode($node, key) { TEMP_NODES[key] = $node; } function serializeNode(wrap) { var range = nodeToSelection($node); var anchorTree = serializeToC2([{ node, type: NODE_TYPE.img, idx: range.start.paraIndex }], $wrap); var anchorMeta = serialize(range); var anchorBrief = getContent(anchorTree); return { meta: { anchorTree: anchorTree, anchorMeta: anchorMeta, anchorBrief: anchorBrief }, range: range }; } function findChildIndex(parent, offset) { var childNodes = parent.childNodes; var realOffset = offset; var $node = null; var i = 0; for (i = 0; i < childNodes.length; i++) { $node = childNodes[i]; if ($node.nodeType === 3) { var len = $node.length; if (len > realOffset) { break; } else { realOffset -= len; } } } return { node, cursor: realOffset }; } var qs = function qs(selector, el) { return (el || document).querySelector(selector); }; var qsAll = function qsAll(selector, el) { return (el || document).querySelectorAll(selector); }; var dom = { getDomMeta: getDomMeta, getContent: getContent, getParaList: getParaList, getBlockNode: getBlockNode, getSelectedNodes: getSelectedNodes, connectSiblingText: connectSiblingText, getTextNodeByOffset: getTextNodeByOffset, getBlockOffset: getBlockOffset, getSelection: getSelection, transferTextToElement: transferTextToElement, serialize: serialize, deSerialize: deSerialize, resetRange: resetRange, serializeToC: serializeToC, setProperty: setProperty, hasImgNode: hasImgNode, nodeToSelection: nodeToSelection, saveNode: saveNode, serializeNode: serializeNode, getNodeByIndex: getNodeByIndex, findChildIndex: findChildIndex, serializeToC2: serializeToC2, blockEleTagName: blockEleTagName, getPureBlockNode: getPureBlockNode, qs: qs, qsAll: qsAll, hasClass: hasClass }; function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; } function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } var paraList = []; var totalHit = 0; var STATUS = { auditing: 1, ban: 2 }; function keyby(arr, key) { return arr.reduce(function (acc, item) { if (typeof item[key] === 'undefined') return acc; if (!acc[item[key]]) acc[item[key]] = []; acc[item[key]].push(item); return acc; }, {}); } function getBannerWord(anchor) { return '以下内容存在争议 <a style="color: var(--weui-LINK);" target="_blank" href="https://web.archive.org/web/20240514130121/https://mp.weixin.qq.com/s/_2kC-fXw7UjneZSrsC9CVQ">了解更多</a>'; } function addBanner(node, text) { var paraNode = _typeof(node) === 'object' ? node : paraList[node]; if (paraNode.dataset.hasBanner) return; var divNode = document.createElement('div'); divNode.dataset.hasBanner = 1; divNode.style = 'background-color: var(--weui-BG-1);font-size: 14px;color: var(--weui-FG-2);text-align: left;margin-top: 20px;margin-bottom: 4px;padding: 4px 8px 6px 8px;border-radius:4px;'; var iconNode = document.createElement('span'); iconNode.style = 'color: var(--weui-FG-0);padding: 2px;display: inline-block;vertical-align: middle; width: 20px;height: 20px;margin-right: 4px; background-size: cover;background-position: center center;-webkit-mask: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'20\' height=\'20\' viewBox=\'0 0 20 20\'%3E %3Cpath fill-opacity=\'.3\' fill-rule=\'evenodd\' d=\'M10 1.667a8.333 8.333 0 1 1 0 16.666 8.333 8.333 0 0 1 0-16.666zm-.004 11.115a.732.732 0 0 0-.746.735c0 .416.33.735.746.735a.73.73 0 0 0 .752-.735.73.73 0 0 0-.752-.735zm.638-7.669h-1.27l.091 6.33h1.088l.091-6.33z\'/%3E%3C/svg%3E") no-repeat 50% 50%;mask: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'20\' height=\'20\' viewBox=\'0 0 20 20\'%3E %3Cpath fill-opacity=\'.3\' fill-rule=\'evenodd\' d=\'M10 1.667a8.333 8.333 0 1 1 0 16.666 8.333 8.333 0 0 1 0-16.666zm-.004 11.115a.732.732 0 0 0-.746.735c0 .416.33.735.746.735a.73.73 0 0 0 .752-.735.73.73 0 0 0-.752-.735zm.638-7.669h-1.27l.091 6.33h1.088l.091-6.33z\'/%3E%3C/svg%3E") no-repeat 50% 50%;background-color: currentColor;'; var textNode = document.createElement('span'); textNode.style = 'display: inline-block;line-height: 14px;vertical-align: middle;'; textNode.innerHTML = text; divNode.appendChild(iconNode); divNode.appendChild(textNode); paraNode.parentNode.insertBefore(divNode, paraNode, null); paraNode.dataset.hasBanner = 1; } function maskText(data, domNode, cursor) { var len = data.length; var maskMat = _toConsumableArray(Array(len)).map(function () { return '〇'; }).join(''); var childNodes = domNode.childNodes; var newCursor = cursor; for (var i = 0; i < childNodes.length; i++) { var node = childNodes[i]; if (node.nodeType === 3) { if (newCursor > node.data.length) { newCursor -= node.data.length; } else { node.data = node.data.slice(0, newCursor).concat(maskMat).concat(node.data.slice(newCursor + len)); } } else if (node.nodeText === 1) { newCursor -= node.innerText && node.innerText.length || 0; } } } function disputeText(data, domNode, cursor) { var len = data.length; var _dom$findChildIndex = dom.findChildIndex(domNode, cursor), textNode = _domnode, realOffset = _dom$findChildIndex.realOffset; try { textNode.splitText(realOffset); } catch (e) { if (typeof WX_BJ_REPORT !== 'undefined' && WX_BJ_REPORT.BadJs) { WX_BJ_REPORT.BadJs.report('ArticleMask:Error', 'splitText Error', { mid: 'mmbizwap:articlemask_Monitor', view: 'wap_business', _info: { type: 'disputeText textNode', data: data, cursor: cursor } }); } } var repalcedNode = textNode.nextSibling; try { repalcedNode.splitText(len); } catch (e) { if (typeof WX_BJ_REPORT !== 'undefined' && WX_BJ_REPORT.BadJs) { WX_BJ_REPORT.BadJs.report('ArticleMask:Error', 'splitText Error', { mid: 'mmbizwap:articlemask_Monitor', view: 'wap_business', _info: { type: 'disputeText nextSibling', data: data, cursor: cursor } }); } } var spanNode = document.createElement('span'); spanNode.style = 'background-color: rgba(0,0,0,0.10);'; spanNode.appendChild(repalcedNode.cloneNode(true)); repalcedNode.parentNode.replaceChild(spanNode, repalcedNode); } function disputeImage(data, domNode) { var spanNode = document.createElement('span'); spanNode.style = 'position:relative;display: inline-block;'; var iconNode = document.createElement('span'); iconNode.style = "\n position: absolute;\n top: 4px;\n left: 4px;\n display: inline-block;\n vertical-align: middle;\n width: 24px;\n height: 24px;\n background-size: cover;\n background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E %3Cpath fill='%23FFF' fill-rule='evenodd' d='M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm-.004 13.339a.878.878 0 0 0-.896.882c0 .499.396.882.896.882.512 0 .902-.383.902-.882 0-.5-.39-.882-.902-.882zm.765-9.203h-1.524l.11 7.596h1.305l.11-7.596z'/%3E%3C/svg%3E\");\n "; var parent = domNode.parentNode; spanNode.appendChild(domNode.cloneNode(false)); parent.replaceChild(spanNode, domNode); spanNode.appendChild(iconNode); } function maskImage(data, domNode) { domNode.style.filter = 'blur(10px)'; domNode.style['-webkit-filter'] = 'blur(10px)'; } function hitMaskText(anchor, domNode) { var data = anchor.data, meta = anchor.meta, index = anchor.index, idx = anchor.idx; var wholeText = domNode.data; var prefixText = (meta || '') + data; if (wholeText.indexOf(prefixText) === -1) { return { hit: false }; } var itemNode = dom.getNodeByIndex(paraList[idx], index); if (itemNode) { totalHit++; } else { if (typeof WX_BJ_REPORT !== 'undefined' && WX_BJ_REPORT.BadJs) { WX_BJ_REPORT.BadJs.report('ArticleMask:Error', 'text node cannot find', { mid: 'mmbizwap:articlemask_Monitor', view: 'wap_business', _info: { anchor: anchor, wholeText: wholeText } }); } } var cursor = itemNode && itemNode.innerText.indexOf(prefixText) + (meta || '').length; return { hit: !!itemNode, $hitDom: itemNode, cursor: cursor }; } function hitMaskImage(anchor, domNode) { var index = anchor.index, idx = anchor.idx, data = anchor.data; var para = paraList[idx]; var allImgNode = para.querySelectorAll('img'); var hitItenNode = allImgNode[index]; var src = hitItenNode && (hitItenNode.getAttribute('data-src') || hitItenNode.getAttribute('src')); if (src === data) { totalHit++; return { hit: true, $hitDom: domNode, cursor: 0 }; } return { hit: false }; } function createMask(anchor, domNode) { return function (hitFn, maskFn, next) { var _hitFn = hitFn(anchor, domNode), hit = _hitFn.hit, hitDom, cursor = _hitFn.cursor; if (hit) { maskFn(anchor.data, $hitDom, cursor); next(); } }; } function maskAnchors(anchors, paraNode) { var queue = []; var cloneAnchors = _toConsumableArray(anchors); queue.push(paraNode); var anchor = null; var next = function next() { anchor = cloneAnchors.shift(); }; next(); while (queue.length > 0 && cloneAnchors.length >= 0 && anchor) { var itemNode = queue.pop(); if (!itemNode) continue; if (!anchor) continue; var nodeType = itemNode.nodeType, tagName = itemNode.tagName; var createMaskFn = createMask(anchor, itemNode); if (nodeType === 3) { if (anchor.type === NODE_TYPE.text) { createMaskFn(hitMaskText, anchor.status === STATUS.ban ? maskText : disputeText, next); } continue; } if (nodeType === 1 && tagName === IMG_TAG) { if (anchor.type === NODE_TYPE.img) { createMaskFn(hitMaskImage, anchor.status === STATUS.ban ? maskImage : disputeImage, next); } continue; } var children = itemNode.childNodes; for (var i = children.length - 1; i >= 0; i--) { queue.push(children[i]); } } } function parseSelector(selectorStr) { if (!selectorStr) return {}; var _selectorStr$split = selectorStr.split('|'), _selectorStr$split2 = _slicedToArray(_selectorStr$split, 2), selector = _selectorStr$split2[0], other = _selectorStr$split2[1]; var _other$split = other.split(' '), _other$split2 = _slicedToArray(_other$split, 2), total = _other$split2[0], index = _other$split2[1]; return { selector: selector.replace(/&gt;/g, '>'), total: total * 1, index: index * 1 }; } function hitNode(node, anchor) { if (!node) return null; var type = anchor.type, data = anchor.data, meta = anchor.meta; if (type === NODE_TYPE.text) { var nodeText = node.innerText || node.innerHTML || ''; var prefixText = ((meta || '') + data).replace(/&amp;/g, '&'); if (nodeText.indexOf(prefixText) !== -1) { var cursor = nodeText.indexOf(prefixText) + (meta || '').length; return { cursor: cursor, node: node }; } } if (type === NODE_TYPE.img) { var src = node && (node.getAttribute('data-src') || node.getAttribute('src')); if (src === data.replace(/&amp;/g, '&')) { return { cursor: 0, node: node }; } } return null; } function maskNode(anchor, domNode, cursor) { var type = anchor.type, data = anchor.data, status = anchor.status; if (status !== STATUS.ban) return; if (type === NODE_TYPE.text) maskText(data, domNode, cursor); if (type === NODE_TYPE.img) maskImage(data, domNode); } function initOld(wrapNode, anchors) { paraList = dom.getParaList(wrapNode, { getNestedStructure: true, removeIgoreEle: false }); var formatAnchor = keyby(anchors, 'idx'); if (!paraList) return; (paraList || []).forEach(function (para, index) { var paraAnchors = formatAnchor[index]; if (paraAnchors && paraAnchors.length > 0) { addBanner(index, getBannerWord(paraAnchors[0])); maskAnchors(paraAnchors, para); } }); if (anchors && anchors.length !== totalHit) { if (typeof WX_BJ_REPORT !== 'undefined' && WX_BJ_REPORT.BadJs) { WX_BJ_REPORT.BadJs.report('ArticleMask:Error', 'totalHit', { mid: 'mmbizwap:articlemask_Monitor', view: 'wap_business', _info: { totalHit: totalHit, anchors: anchors } }); } } } function addChildBanner(node, anchor) { var blockNode = dom.getPureBlockNode(node); if (!blockNode) return; addBanner(blockNode, getBannerWord()); } function maskAnchors2(wrapNode, anchors) { var missNodes = []; var countList = []; var maskNodeList = []; var cacheSelector = {}; anchors.forEach(function (anchor, i) { var _parseSelector = parseSelector(anchor.selector), selector = _parseSelector.selector, index = _parseSelector.index, total = _parseSelector.total; var nodes = cacheSelector[selector] || []; if (nodes.length === 0) { try { nodes = wrapNode.querySelectorAll(selector); cacheSelector[selector] = nodes; } catch (e) { if (typeof WX_BJ_REPORT !== 'undefined' && WX_BJ_REPORT.BadJs) { WX_BJ_REPORT.BadJs.report('ArticleMask:Error', 'splitText Error', { mid: 'mmbizwap:articlemask_Monitor', view: 'wap_business', _info: { anchor: anchor } }); } } } var cursorLeft = index; var cursorRight = index; var queue = []; var node = null; var cursor = 0; var count = 0; queue.push(nodes[index]); while (queue.length) { var current = queue.pop(); var hitData = hitNode(current, anchor); count++; if (hitData && hitData.node) { node = hitData.node; cursor = hitData.cursor; break; } if (cursorLeft - 1 >= 0 && nodes[cursorLeft - 1]) { queue.push(nodes[cursorLeft - 1]); cursorLeft -= 1; } if (cursorRight + 1 < nodes.length && nodes[cursorRight + 1]) { queue.push(nodes[cursorRight + 1]); cursorRight += 1; } } if (node) { maskNodeList.push({ anchor: anchor, node: node, cursor: cursor }); addChildBanner(node); } else if (selector && selector.lastIndexOf('>') !== -1) { missNodes.push(_objectSpread(_objectSpread({}, anchor), {}, { selector: selector && selector.slice(0, selector.lastIndexOf('>')) + "|".concat(total, " ").concat(index) })); } countList[i] = count; }); maskNodeList.forEach(function (item) { maskNode(item.anchor, item.node, item.cursor); }); if (missNodes.length) { maskAnchors2(wrapNode, missNodes); if (typeof WX_BJ_REPORT !== 'undefined' && WX_BJ_REPORT.BadJs) { WX_BJ_REPORT.BadJs.report('ArticleMask:Error', 'missNodes', { mid: 'mmbizwap:articlemask_Monitor', view: 'wap_business', _info: { missNodes: missNodes } }); } } if (typeof WX_BJ_REPORT !== 'undefined' && WX_BJ_REPORT.BadJs) { WX_BJ_REPORT.BadJs.report('ArticleMask:Info', 'querycount', { mid: 'mmbizwap:articlemask_Monitor', view: 'wap_business', _info: { countList: countList } }); } } function init2(wrapNode, anchors) { maskAnchors2(wrapNode, anchors); } function init(wrapNode, anchors) { var oldAnchors = []; var newAnchors = []; anchors.forEach(function (anchor) { if (anchor.selector) { newAnchors.push(anchor); } else { oldAnchors.push(anchor); } }); init2(wrapNode, newAnchors); if (oldAnchors.length > 0) { initOld(wrapNode, oldAnchors); } } var complainPainter = { init: init }; try { if (anchor_tree_msg) { var start = Date.now(); var $wrap = document.getElementById('js_content'); var anchors = anchor_tree_msg ? JSON.parse(anchor_tree_msg).anchor_tree : []; var protocol = window.location.protocol; complainPainter.init($wrap, anchors); wxgspeedsdk.saveSpeeds({ sample: 1, uin: uin, pid: protocol == 'https:' ? 462 : 417, speeds: { sid: 38, time: Date.now() - start } }); wxgspeedsdk.send(); } } catch (error) { if (typeof WX_BJ_REPORT !== 'undefined' && WX_BJ_REPORT.BadJs) { WX_BJ_REPORT.BadJs.onError(error, { anchor_tree_msg: anchor_tree_msg }); } } })();</script><script type="text/javascript" nonce="1496042457" reportloaderror>(function () { 'use strict'; function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } window.__page_cls_ctrl__canRenderSilently = '__page_cls_ctrl__canRenderSilently' in window ? window.__page_cls_ctrl__canRenderSilently : true; window.__page_cls_ctrl__forceRenderSilentlyList = '__page_cls_ctrl__forceRenderSilentlyList' in window ? window.__page_cls_ctrl__forceRenderSilentlyList : []; window.__page_cls_ctrl__compRenderInfo = '__page_cls_ctrl__compRenderInfo' in window ? window.__page_cls_ctrl__compRenderInfo : {}; var g = { defaultContentTpl: '<span class="js_img_placeholder wx_widget_placeholder" style="width:#width# !important;height:#height#px !important;text-indent: 0"><span class="weui-primary-loading"><span class="weui-primary-loading__dot"></span></span>', config: [{ querySelector: 'redpacketcover', genId: function genId() { var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; return decodeURIComponent(opt.node.getAttribute('data-coveruri') || ''); }, calW: function calW() { var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; return opt.parentWidth * 0.7854; }, calH: function calH() { var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; return this.calW({ parentWidth: opt.parentWidth }) / 0.73346 + 27 + 37; }, replaceContentCssText: '', outerContainerLeft: '', outerContainerRight: '' }, { querySelector: 'mppoi', genId: function genId() { var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; return opt.node.getAttribute('data-id') || ''; }, calW: function calW() { var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; return opt.parentWidth * 1; }, calH: function calH() { return 219; }, replaceContentCssText: '', appendContentCssText: 'diplay:block;', outerContainerLeft: '', outerContainerRight: '' }, { querySelector: 'mpsearch', genId: function genId() { return decodeURIComponent('mp-common-search'); }, calW: function calW() { var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; return opt.parentWidth * 1; }, calH: function calH() { return 100; }, replaceContentCssText: '', appendContentCssText: 'diplay:block;', outerContainerLeft: '', outerContainerRight: '' }, { querySelector: 'mpvideosnap', genId: function genId() { var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; var type = opt.node.getAttribute('data-type') || 'video'; if (type === 'live') { return decodeURIComponent(opt.node.getAttribute('data-noticeid') || ''); } return decodeURIComponent(opt.node.getAttribute('data-id') || ''); }, calW: function calW() { var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; var type = opt.node.getAttribute('data-type') || 'video'; var width = opt.node.getAttribute('data-width') || ''; var height = opt.node.getAttribute('data-height') || ''; if (type === 'live' || type === 'topic') { return opt.parentWidth; } var ratio = 1; ratio = width / height; var computedHeight = 0; var computedWidth = 0; var isHorizontal = false; if (ratio === 1 || ratio === 3 / 4) ; else if (ratio === 4 / 3 || ratio === 16 / 9) { isHorizontal = true; } else if (ratio < 3 / 4) { ratio = 3 / 4; } else if (ratio > 1 && ratio < 4 / 3) { ratio = 1; } else if (ratio > 4 / 3) { isHorizontal = true; } else if (typeof ratio === 'number' && !Object.is(ratio, NaN)) ; else { ratio = 1; } opt.node.setAttribute('data-ratio', ratio); opt.node.setAttribute('data-isHorizontal', isHorizontal); if (isHorizontal === true) { computedWidth = opt.parentWidth; } else { if (window.innerWidth < 1024) { computedWidth = window.innerWidth * 0.65; } else { computedWidth = opt.parentWidth * 0.65; } } computedHeight = computedWidth / ratio; computedHeight = Math.round(computedHeight); computedWidth = Math.round(computedWidth); opt.node.setAttribute('data-computedWidth', computedWidth); opt.node.setAttribute('data-computedHeight', computedHeight); return computedWidth; }, calH: function calH() { var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; var desc = opt.node.getAttribute('data-desc') || ''; var type = opt.node.getAttribute('data-type') || 'video'; var computedHeight = opt.node.getAttribute('data-computedHeight') || ''; switch (type) { case 'live': return desc ? 152 : 116; case 'topic': return 201; case 'image': case 'video': return parseFloat(computedHeight); } }, getBorderRadius: function getBorderRadius() { var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; var type = opt.node.getAttribute('data-type') || 'video'; if (type === 'video') { return 4; } return 8; }, replaceContentCssText: '', appendContentCssText: 'display:flex;margin:0px auto;', outerContainerLeft: '', outerContainerRight: '' }, { querySelector: 'mp-wxaproduct', genId: function genId() { var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; return decodeURIComponent(opt.node.getAttribute('data-wxaproduct-productid') || ''); }, calW: function calW() { var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; return opt.parentWidth * 1 || '100%'; }, calH: function calH() { var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; var cardtype = opt.node.getAttribute('data-wxaproduct-cardtype') || ''; return cardtype === 'mini' ? 124 : 466; }, replaceContentCssText: '', outerContainerLeft: '', outerContainerRight: '' }, { querySelector: 'mpprofile', genId: function genId(opt) { return opt.node.getAttribute('data-id') || ''; }, calW: function calW() { var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; return opt.parentWidth * 1; }, calH: function calH() { return 143; }, replaceContentCssText: '', appendContentCssText: 'diplay:block;', outerContainerLeft: '', outerContainerRight: '' }, { querySelector: 'mp-common-product', genId: function genId(opt) { return opt.node.getAttribute('data-windowproduct') || ''; }, calW: function calW() { var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; return opt.parentWidth * 1 || '100%'; }, calH: function calH(opt) { var customstyle = opt.node.getAttribute('data-customstyle') || '{}'; if (customstyle) { try { var _JSON$parse = JSON.parse(customstyle), display = _JSON$parse.display, height = _JSON$parse.height; if (display !== 'none') { var customHeight = height.split('px')[0]; var ratio = opt.parentWidth / 350.0 || 1; customHeight = Math.round(customHeight * ratio); return customHeight; } return 0; } catch (err) { console.error(err); } } return 0; }, replaceContentCssText: '', appendContentCssText: 'diplay:block;', outerContainerLeft: '<div style="display: flex; margin: 0 auto 24px;">', outerContainerRight: '</div>' } ] }; function preloadingInit() { var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; if (typeof document.querySelectorAll !== 'function') { return; } var g = { maxWith: document.getElementById('img-content').getBoundingClientRect().width, idAttr: 'data-preloadingid' }; for (var i = 0, il = opt.config.length; i < il; i++) { var a = opt.config[i]; var list = document.querySelectorAll(a.querySelector); for (var j = 0, jl = list.length; j < jl; j++) { var node = list[j]; var parentWidth = node.parentNode.getBoundingClientRect().width; parentWidth = Math.min(parentWidth, g.maxWith); if (node.getAttribute('has-insert-preloading')) { continue; } var nodeW = a.calW({ parentWidth: parentWidth, node: node }); var nodeH = a.calH({ parentWidth: parentWidth, node: node }); var nodeId = a.genId({ index: j, node: node }); var nodeBorderRadius = typeof a.getBorderRadius === 'function' ? a.getBorderRadius({ index: j, node: node }) : 8; if (typeof nodeW === 'number') { nodeW += 'px'; } var imgHtml = opt.defaultContentTpl.replace(/#height#/g, nodeH).replace(/#width#/g, nodeW).replace(/#borderRadius#/g, nodeBorderRadius); var tmpNode = document.createElement('div'); tmpNode.innerHTML = imgHtml; if (a.replaceContentCssText) { var replaceContentCssText = a.replaceContentCssText.replace(/#height#/g, nodeH).replace(/#width#/g, nodeW); tmpNode.firstChild.style.cssText = replaceContentCssText; } else if (a.appendContentCssText) { tmpNode.firstChild.style.cssText += a.appendContentCssText; } var html = (a.outerContainerLeft || '') + tmpNode.innerHTML + (a.outerContainerRight || ''); tmpNode.innerHTML = html; tmpNode.firstChild.setAttribute(g.idAttr, nodeId); node.parentNode.insertBefore(tmpNode.firstChild, node.nextSibling); node.setAttribute('has-insert-preloading', '1'); } } } function init() { preloadingInit(g); } function decode(str) { var replace = ["&#96;", "`", "&#39;", "'", "&quot;", '"', "&nbsp;", " ", "&gt;", ">", "&lt;", "<", "&yen;", "¥", "&amp;", "&"]; for (var i = 0; i < replace.length; i += 2) { str = str.replace(new RegExp(replace[i], 'g'), replace[i + 1]); } return str; } function getQuery(url) { url = url || 'https://web.archive.org/web/20240514130121/http://qq.com/s?a=b#rd'; var tmp = url.split('?'), query = (tmp[1] || '').split('#')[0].split('&'), params = {}; for (var i = 0; i < query.length; i++) { var eqIndex = query[i].indexOf('='); if (eqIndex > -1) { var arg = query[i].substring(0, eqIndex); params[arg] = query[i].substring(eqIndex + 1); } } if (params['pass_ticket']) { params['pass_ticket'] = encodeURIComponent(decode(params['pass_ticket']).replace(/\s/g, '+')); } return params; } function insertAfter(dom, afterDom) { var _p = afterDom.parentNode; if (!_p) { return; } if (_p.lastChild === afterDom) { _p.appendChild(dom); } else { _p.insertBefore(dom, afterDom.nextSibling); } } if (typeof getComputedStyle === 'undefined') { if (document.body.currentStyle) { window.getComputedStyle = function (el) { return el.currentStyle; }; } else { window.getComputedStyle = {}; } } function getMaxWith() { var container = document.getElementById('img-content'); var max_width = container.offsetWidth; var container_padding = 0; var container_style = getComputedStyle(container); container_padding = parseFloat(container_style.paddingLeft) + parseFloat(container_style.paddingRight); max_width -= container_padding; if (!max_width) { max_width = window.innerWidth - 32; } return max_width; } function getParentWidth(dom) { var parent_width = 0; var parent = dom.parentNode; var outerWidth = 0; while (true) { if (!parent || parent.nodeType !== 1) break; var parent_style = getComputedStyle(parent); if (!parent_style) break; parent_width = parent.clientWidth - parseFloat(parent_style.paddingLeft) - parseFloat(parent_style.paddingRight) - outerWidth; if (parent_width > 16) break; outerWidth += parseFloat(parent_style.paddingLeft) + parseFloat(parent_style.paddingRight) + parseFloat(parent_style.marginLeft) + parseFloat(parent_style.marginRight) + parseFloat(parent_style.borderLeftWidth) + parseFloat(parent_style.borderRightWidth); parent = parent.parentNode; } if (parent_width < 0) { return 0; } return parent_width; } function getOuterW(dom) { var style = getComputedStyle(dom), w = 0; if (!!style) { w = parseFloat(style.paddingLeft) + parseFloat(style.paddingRight) + parseFloat(style.borderLeftWidth) + parseFloat(style.borderRightWidth); } return w; } function getOuterH(dom) { var style = getComputedStyle(dom), h = 0; if (!!style) { h = parseFloat(style.paddingTop) + parseFloat(style.paddingBottom) + parseFloat(style.borderTopWidth) + parseFloat(style.borderBottomWidth); } return h; } function getVideoWh(dom) { var max_width = getMaxWith(), width = max_width, ratio_ = dom.getAttribute('data-ratio') * 1 || 4 / 3, arr = [4 / 3, 16 / 9], ret = arr[0], abs = Math.abs(ret - ratio_); for (var j = 1, jl = arr.length; j < jl; j++) { var _abs = Math.abs(arr[j] - ratio_); if (_abs < abs) { abs = _abs; ret = arr[j]; } } ratio_ = ret; var parent_width = getParentWidth(dom) || max_width, rwidth = width > parent_width ? parent_width : width, outerW = getOuterW(dom) || 0, outerH = getOuterH(dom) || 0, videoW = rwidth - outerW, videoH = videoW / ratio_, speedDotH = 12, rheight = videoH + outerH + speedDotH; return { w: Math.ceil(rwidth), h: Math.ceil(rheight), vh: videoH, vw: videoW, ratio: ratio_, sdh: speedDotH }; } function setImgSize(item, widthNum, widthUnit, ratio, breakParentWidth) { var imgPaddingBorder = getOuterW(item) || 0; var imgPaddingBorderTopBottom = getOuterH(item) || 0; if (widthNum > getParentWidth(item) && !breakParentWidth) { widthNum = getParentWidth(item); } var heightNum = (widthNum - imgPaddingBorder) * ratio + imgPaddingBorderTopBottom; widthNum !== 'auto' && (item.style.cssText += ";width: ".concat(widthNum).concat(widthUnit, " !important;")); widthNum !== 'auto' && (item.style.cssText += ";height: ".concat(heightNum).concat(widthUnit, " !important;")); } var isAccessibilityKey = 'isMpUserAccessibility'; var imgPlaceholderClass = 'js_img_placeholder'; var isAccessMode = window.localStorage.getItem(isAccessibilityKey); var imgSizeData; var validArr = ',' + [0.875, 1, 1.125, 1.25, 1.375].join(',') + ','; var match = window.location.href.match(/winzoom=(\d+(?:\.\d+)?)/); if (match && match[1]) { var winzoom = parseFloat(match[1]); if (validArr.indexOf(',' + winzoom + ',') >= 0) ; } function getImgSrcMainInfo(src) { var pathName = new URL(src).pathname; var lastIndex = pathName.lastIndexOf('/'); return lastIndex > 0 ? pathName.slice(0, lastIndex) : pathName; } function ajax(obj) { var url = obj.url; var xhr = new XMLHttpRequest(); var data = null; if (_typeof(obj.data) === 'object') { var d = obj.data; data = []; for (var k in d) { if (d.hasOwnProperty(k)) { data.push(k + '=' + encodeURIComponent(d[k])); } } data = data.join('&'); } else { data = typeof obj.data === 'string' ? obj.data : null; } xhr.open('POST', url, true); xhr.onreadystatechange = function () { if (xhr.readyState === 4) { if (xhr.status >= 200 && xhr.status < 400) { obj.success && obj.success(xhr.responseText); } else { obj.error && obj.error(xhr); } obj.complete && obj.complete(); obj.complete = null; } }; xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8'); xhr.setRequestHeader('X-Requested-With', 'XMLHttpRequest'); xhr.send(data); } function setSize(images, videos, data) { var noWidth = !document.body.clientWidth || !document.getElementById('img-content') || !document.getElementById('img-content').offsetWidth; var _loop = function _loop() { if (noWidth) { return 0; } if (window.__second_open__ && videos[vi].getAttribute('__sec_open_place_holder__')) { return 1; } var a = videos[vi]; var src_ = a.getAttribute('src') || a.getAttribute('data-src') || ''; var vid = getQuery(src_).vid || a.getAttribute('data-mpvid'); if (!vid) { return 1; } vid = vid.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, ''); a.removeAttribute('src'); a.style.display = 'none'; var obj = getVideoWh(a); var videoPlaceHolderSpan = document.createElement('span'); videoPlaceHolderSpan.className = "".concat(imgPlaceholderClass, " wx_widget_placeholder"); videoPlaceHolderSpan.setAttribute('data-vid', vid); videoPlaceHolderSpan.innerHTML = '<span class="weui-primary-loading"><span class="weui-primary-loading__dot"></span></span>'; videoPlaceHolderSpan.style.cssText = "width: " + obj.w + "px !important;"; insertAfter(videoPlaceHolderSpan, a); a.style.cssText += ';width: ' + obj.w + 'px !important;'; a.setAttribute('width', obj.w); { videoPlaceHolderSpan.style.cssText += 'height: ' + (obj.h - obj.sdh) + 'px !important;margin-bottom: ' + obj.sdh + 'px !important;'; a.style.cssText += 'height: ' + obj.h + 'px !important;'; a.setAttribute('height', obj.h); } a.setAttribute('data-vh', obj.vh); a.setAttribute('data-vw', obj.vw); a.setAttribute('data-src', 'https://web.archive.org/web/20240514130121/https://v.qq.com/iframe/player.html?vid=' + vid + '&width=' + obj.vw + '&height=' + obj.vh + '&auto=0'); a.setAttribute('__sec_open_place_holder__', true); a.parentNode; var index = vi; var mid = window.dataaaa.mid; var biz = window.dataaaa.bizuin; var idx = window.dataaaa.idx; ajax({ url: "/mp/videoplayer?vid=".concat(vid, "&mid=").concat(mid, "&idx=").concat(idx, "&__biz=").concat(biz, "&f=json"), type: 'GET', dataType: 'json', success: function success() { var json = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; var ret = JSON.parse(json); var ori = ret.ori_status; var hitBizHeadimg = ret.hit_biz_headimg + '/64'; var hitNickname = ret.hit_nickname; var hitUsername = ret.hit_username; if (ori === 2 && hitUsername !== data.user_name) { var videoBar = document.createElement('div'); videoBar.innerHTML = "<div class=\"wx-edui-video_source_link\" id=\"".concat(hitUsername + index, "\" data-hit-username=\"").concat(hitUsername, "\">") + '<div class="video_source_word">以下视频来源于</div>' + '<div class="wx-edui-video_account_info">' + "<div class=\"wx-edui-video_account_avatar\" id=\"".concat(vid + index, "\" data-src=\"").concat(hitBizHeadimg, "\"></div>") + "<div class=\"wx-edui-video_account_name\">".concat(hitNickname, "</div>") + '<i class="wx-edui-video_account_arrow"></i>' + '</div>' + '</div>' + '<div class="wx-edui-video_source_link__layer_mask"></div>'; document.querySelectorAll('.video_iframe').forEach(function (item) { if (item.getAttribute('data-mpvid') === vid && item.getAttribute('data-hasSource') !== '1') { item.setAttribute('data-hasSource', 1); item.parentNode.insertBefore(videoBar, item); } }); var avatorEle = document.getElementById(vid + index); var avatorSrc = avatorEle.dataset.src; console.log('avatorSrc' + avatorSrc); if (ret.hit_biz_headimg) { avatorEle.style.backgroundImage = "url(".concat(avatorSrc, ")"); } } }, error: function error(xhr) {} }); }, _ret; for (var vi = 0, viLen = videos.length; vi < viLen; vi++) { _ret = _loop(); if (_ret === 0) break; if (_ret === 1) continue; } var isCarton = data.copyright_info.is_cartoon_copyright * 1 || data.user_info.is_care_mode * 1 || isAccessMode === '1'; var max_width = getMaxWith(); if (!imgSizeData) { imgSizeData = {}; data.picture_page_info_list = data.picture_page_info_list || []; var noWidthHeightCount = 0; var hasWidthHeightCount = 0; data.picture_page_info_list.forEach(function (imgData) { try { var width = Number(imgData.width); var height = Number(imgData.height); if (width && height) { imgSizeData[getImgSrcMainInfo(imgData.cdn_url)] = { ratio: height / width, width: width }; hasWidthHeightCount++; } else { noWidthHeightCount++; } } catch (err) { console.error(err); } }); if (Math.random() < 0.01 && Number(data.create_timestamp) > 1682352000) { hasWidthHeightCount && (new Image().src = "//web.archive.org/web/20240514130121/https://mp.weixin.qq.com/mp/jsmonitor?idkey=330742_20_".concat(hasWidthHeightCount, "&r=").concat(Math.random())); noWidthHeightCount && (new Image().src = "//web.archive.org/web/20240514130121/https://mp.weixin.qq.com/mp/jsmonitor?idkey=330742_21_".concat(noWidthHeightCount, "&r=").concat(Math.random())); if (!data.picture_page_info_list.length) { setTimeout(function () { noWidthHeightCount = document.querySelectorAll('#js_content img').length; noWidthHeightCount && (new Image().src = "//web.archive.org/web/20240514130121/https://mp.weixin.qq.com/mp/jsmonitor?idkey=330742_21_".concat(noWidthHeightCount, "&r=").concat(Math.random())); }, 300); } } } for (var im = 0, imLen = images.length; im < imLen; im++) { if (window.__second_open__ && images[im].getAttribute('__sec_open_place_holder__')) { continue; } var img = images[im]; var imgDataSrc = img.getAttribute('data-src'); var realSrc = img.getAttribute('src'); if (!imgDataSrc || realSrc) continue; var imgStyle = img.getAttribute('style'); img.setAttribute('data-original-style', imgStyle); var width_ = img.dataset.w; var imgRatio = 1 * img.dataset.ratio; img.setAttribute('data-index', im); var width_num = 0; var width_unit = 'px'; try { var imgSizeFromBackend = imgSizeData[getImgSrcMainInfo(imgDataSrc)]; if (imgSizeFromBackend) { if (imgSizeFromBackend.ratio) { imgRatio = imgSizeFromBackend.ratio; img.setAttribute('data-ratio', imgSizeFromBackend.ratio); } if (imgSizeFromBackend.width) { width_ = imgSizeFromBackend.width; img.setAttribute('data-w', imgSizeFromBackend.width); } } } catch (err) { console.error(err); } if (imgRatio && imgRatio > 0) { if (!isCarton) { img.src = "data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg width='1px' height='1px' viewBox='0 0 1 1' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Ctitle%3E%3C/title%3E%3Cg stroke='none' stroke-width='1' fill='none' fill-rule='evenodd' fill-opacity='0'%3E%3Cg transform='translate(-249.000000, -126.000000)' fill='%23FFFFFF'%3E%3Crect x='249' y='126' width='1' height='1'%3E%3C/rect%3E%3C/g%3E%3C/g%3E%3C/svg%3E"; if (noWidth) { var fallbackWidth = img.style.width || img.getAttribute('width') || width_; var fallbackMaxWidth = 360; fallbackWidth = parseFloat(fallbackWidth, 10) > fallbackMaxWidth ? fallbackMaxWidth : fallbackWidth; if (fallbackWidth === 'inherit') { fallbackWidth = fallbackMaxWidth; } if (fallbackWidth) { img.setAttribute('_width', !isNaN(fallbackWidth * 1) ? fallbackWidth + 'px' : fallbackWidth); } if (typeof fallbackWidth === 'string' && fallbackWidth.indexOf('%') !== -1) { fallbackWidth = parseFloat(fallbackWidth.replace('%', ''), 10) / 100 * fallbackMaxWidth; } if (fallbackWidth === 'auto') { fallbackWidth = width_; if (width_ === 'auto' || !width_) { fallbackWidth = fallbackMaxWidth; } else { fallbackWidth = width_; } } var fallbackRes = /^(\d+(?:\.\d+)?)([a-zA-Z%]+)?$/.exec(init_width); var fallbackLastWidth = fallbackRes && fallbackRes.length >= 2 ? fallbackRes[1] : 0; var fallbackUnit = fallbackRes && fallbackRes.length >= 3 && fallbackRes[2] ? fallbackRes[2] : 'px'; setImgSize(img, fallbackLastWidth, fallbackUnit, imgRatio, true); img.classList.add(imgPlaceholderClass, "wx_img_placeholder"); continue; } img.classList.add(imgPlaceholderClass, "wx_img_placeholder"); } var parent_width = getParentWidth(img) || max_width; var init_width = img.style.width || img.getAttribute('width') || width_ || parent_width; init_width = parseFloat(init_width, 10) > max_width ? max_width : init_width; if (init_width === 'inherit') { init_width = parent_width; } if (init_width) { img.setAttribute('_width', !isNaN(init_width * 1) ? init_width + 'px' : init_width); } if (typeof init_width === 'string' && init_width.indexOf('%') !== -1) { init_width = parseFloat(init_width.replace('%', ''), 10) / 100 * parent_width; } if (init_width === 'auto') { init_width = width_; if (width_ === 'auto' || !width_) { init_width = parent_width; } else { init_width = width_; } } var res = /^(\d+(?:\.\d+)?)([a-zA-Z%]+)?$/.exec(init_width); width_num = res && res.length >= 2 ? res[1] : 0; width_unit = res && res.length >= 3 && res[2] ? res[2] : 'px'; var imgWidth = width_num; if (isCarton) { img.src = imgDataSrc; img.style.height = 'auto'; } else { setImgSize(img, imgWidth, width_unit, imgRatio, true); setImgSize(img, imgWidth, width_unit, imgRatio, false); } } if (!data.is_h5_render) { img.setAttribute('__sec_open_place_holder__', true); } } init(); } var ua = navigator.userAgent; /mac\sos/i.test(ua) && !/(iPhone|iPad|iPod|iOS)/i.test(ua) || /windows\snt/i.test(ua); var images = document.getElementsByTagName('img'); var videos = []; var user_name = "gh_d481555e4148"; var isCartoonCopyright = '0'; var is_care_mode = ''; var createTimestamp = '1715477529'; var picturePageInfoList = "[{'cdn_url':'https://web.archive.org/web/20240514130121/https://mmbiz.qpic.cn/mmbiz_gif/ia1lPbzbhW7GQoMFeazn3j6SiaQSen79asibEwNIhmUjF7lbAEumomum0n88AQUZYL2B6tbGlbexf6mEyZ0muFL0g/640?wx_fmt=gif','width':'637','height':'166'},{'cdn_url':'https://web.archive.org/web/20240514130121/https://mmbiz.qpic.cn/mmbiz_jpg/ia1lPbzbhW7GMQvxicUGN5wqWQCLFKXegziayJKMlnPAaxMcNWozf0mibopWt2qLPMofSiasvicBMGbdY3NDqG9s6zcw/640?wx_fmt=jpeg\x26amp;amp;from=appmsg','width':'1080','height':'720'},{'cdn_url':'https://web.archive.org/web/20240514130121/https://mmbiz.qpic.cn/mmbiz_jpg/ia1lPbzbhW7GMQvxicUGN5wqWQCLFKXegzUPBOEibgLTmWZD5VPKzAZ1RUtpE7PMI9fSNV8Tfib9t7t3AsibYqmDImg/640?wx_fmt=jpeg\x26amp;amp;from=appmsg','width':'1080','height':'608'},{'cdn_url':'https://web.archive.org/web/20240514130121/https://mmbiz.qpic.cn/mmbiz_jpg/ia1lPbzbhW7Ek4DhCmQfVC4bUKzCk2Ylex1TIhrqdlTibBTsFsaRHyQ2vZ29wr4vbpdR9c3OS0aA5d9ndeUbkp4Q/640?wx_fmt=jpeg\x26amp;amp;from=appmsg','width':'1080','height':'810'},{'cdn_url':'https://web.archive.org/web/20240514130121/https://mmbiz.qpic.cn/mmbiz_jpg/ia1lPbzbhW7EDe8ULYXkwBQWYJ0YO5SzYmHOJcFg8iaPOnIHgYy74mVbS3ickLHlwI9Q4CIlYibehQKwiaVQecuj7LQ/640?wx_fmt=jpeg','width':'900','height':'335'},]"; picturePageInfoList = picturePageInfoList.includes(',]') ? picturePageInfoList.replace(',]', ']') : picturePageInfoList; try { picturePageInfoList = JSON.parse(picturePageInfoList.replace(/'/g, '"')); } catch (err) { picturePageInfoList = []; console.error(err); } var data = { is_h5_render: true, user_name: user_name, copyright_info: { is_cartoon_copyright: isCartoonCopyright }, picture_page_info_list: picturePageInfoList, create_timestamp: createTimestamp, user_info: { is_care_mode: is_care_mode } }; setSize(images, videos, data); })();</script><script type="text/javascript" nonce="1496042457" reportloaderror>(function () { 'use strict'; window.__page_cls_ctrl__canRenderSilently = '__page_cls_ctrl__canRenderSilently' in window ? window.__page_cls_ctrl__canRenderSilently : true; window.__page_cls_ctrl__forceRenderSilentlyList = '__page_cls_ctrl__forceRenderSilentlyList' in window ? window.__page_cls_ctrl__forceRenderSilentlyList : []; window.__page_cls_ctrl__compRenderInfo = '__page_cls_ctrl__compRenderInfo' in window ? window.__page_cls_ctrl__compRenderInfo : {}; var g = { defaultContentTpl: '<span class="js_img_placeholder wx_widget_placeholder" style="width:#width# !important;height:#height#px !important;text-indent: 0"><span class="weui-primary-loading"><span class="weui-primary-loading__dot"></span></span>', config: [{ querySelector: 'redpacketcover', genId: function genId() { var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; return decodeURIComponent(opt.node.getAttribute('data-coveruri') || ''); }, calW: function calW() { var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; return opt.parentWidth * 0.7854; }, calH: function calH() { var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; return this.calW({ parentWidth: opt.parentWidth }) / 0.73346 + 27 + 37; }, replaceContentCssText: '', outerContainerLeft: '', outerContainerRight: '' }, { querySelector: 'mppoi', genId: function genId() { var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; return opt.node.getAttribute('data-id') || ''; }, calW: function calW() { var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; return opt.parentWidth * 1; }, calH: function calH() { return 219; }, replaceContentCssText: '', appendContentCssText: 'diplay:block;', outerContainerLeft: '', outerContainerRight: '' }, { querySelector: 'mpsearch', genId: function genId() { return decodeURIComponent('mp-common-search'); }, calW: function calW() { var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; return opt.parentWidth * 1; }, calH: function calH() { return 100; }, replaceContentCssText: '', appendContentCssText: 'diplay:block;', outerContainerLeft: '', outerContainerRight: '' }, { querySelector: 'mpvideosnap', genId: function genId() { var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; var type = opt.node.getAttribute('data-type') || 'video'; if (type === 'live') { return decodeURIComponent(opt.node.getAttribute('data-noticeid') || ''); } return decodeURIComponent(opt.node.getAttribute('data-id') || ''); }, calW: function calW() { var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; var type = opt.node.getAttribute('data-type') || 'video'; var width = opt.node.getAttribute('data-width') || ''; var height = opt.node.getAttribute('data-height') || ''; if (type === 'live' || type === 'topic') { return opt.parentWidth; } var ratio = 1; ratio = width / height; var computedHeight = 0; var computedWidth = 0; var isHorizontal = false; if (ratio === 1 || ratio === 3 / 4) ; else if (ratio === 4 / 3 || ratio === 16 / 9) { isHorizontal = true; } else if (ratio < 3 / 4) { ratio = 3 / 4; } else if (ratio > 1 && ratio < 4 / 3) { ratio = 1; } else if (ratio > 4 / 3) { isHorizontal = true; } else if (typeof ratio === 'number' && !Object.is(ratio, NaN)) ; else { ratio = 1; } opt.node.setAttribute('data-ratio', ratio); opt.node.setAttribute('data-isHorizontal', isHorizontal); if (isHorizontal === true) { computedWidth = opt.parentWidth; } else { if (window.innerWidth < 1024) { computedWidth = window.innerWidth * 0.65; } else { computedWidth = opt.parentWidth * 0.65; } } computedHeight = computedWidth / ratio; computedHeight = Math.round(computedHeight); computedWidth = Math.round(computedWidth); opt.node.setAttribute('data-computedWidth', computedWidth); opt.node.setAttribute('data-computedHeight', computedHeight); return computedWidth; }, calH: function calH() { var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; var desc = opt.node.getAttribute('data-desc') || ''; var type = opt.node.getAttribute('data-type') || 'video'; var computedHeight = opt.node.getAttribute('data-computedHeight') || ''; switch (type) { case 'live': return desc ? 152 : 116; case 'topic': return 201; case 'image': case 'video': return parseFloat(computedHeight); } }, getBorderRadius: function getBorderRadius() { var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; var type = opt.node.getAttribute('data-type') || 'video'; if (type === 'video') { return 4; } return 8; }, replaceContentCssText: '', appendContentCssText: 'display:flex;margin:0px auto;', outerContainerLeft: '', outerContainerRight: '' }, { querySelector: 'mp-wxaproduct', genId: function genId() { var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; return decodeURIComponent(opt.node.getAttribute('data-wxaproduct-productid') || ''); }, calW: function calW() { var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; return opt.parentWidth * 1 || '100%'; }, calH: function calH() { var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; var cardtype = opt.node.getAttribute('data-wxaproduct-cardtype') || ''; return cardtype === 'mini' ? 124 : 466; }, replaceContentCssText: '', outerContainerLeft: '', outerContainerRight: '' }, { querySelector: 'mpprofile', genId: function genId(opt) { return opt.node.getAttribute('data-id') || ''; }, calW: function calW() { var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; return opt.parentWidth * 1; }, calH: function calH() { return 143; }, replaceContentCssText: '', appendContentCssText: 'diplay:block;', outerContainerLeft: '', outerContainerRight: '' }, { querySelector: 'mp-common-product', genId: function genId(opt) { return opt.node.getAttribute('data-windowproduct') || ''; }, calW: function calW() { var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; return opt.parentWidth * 1 || '100%'; }, calH: function calH(opt) { var customstyle = opt.node.getAttribute('data-customstyle') || '{}'; if (customstyle) { try { var _JSON$parse = JSON.parse(customstyle), display = _JSON$parse.display, height = _JSON$parse.height; if (display !== 'none') { var customHeight = height.split('px')[0]; var ratio = opt.parentWidth / 350.0 || 1; customHeight = Math.round(customHeight * ratio); return customHeight; } return 0; } catch (err) { console.error(err); } } return 0; }, replaceContentCssText: '', appendContentCssText: 'diplay:block;', outerContainerLeft: '<div style="display: flex; margin: 0 auto 24px;">', outerContainerRight: '</div>' } ] }; function preloadingInit() { var opt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; if (typeof document.querySelectorAll !== 'function') { return; } var g = { maxWith: document.getElementById('img-content').getBoundingClientRect().width, idAttr: 'data-preloadingid' }; for (var i = 0, il = opt.config.length; i < il; i++) { var a = opt.config[i]; var list = document.querySelectorAll(a.querySelector); for (var j = 0, jl = list.length; j < jl; j++) { var node = list[j]; var parentWidth = node.parentNode.getBoundingClientRect().width; parentWidth = Math.min(parentWidth, g.maxWith); if (node.getAttribute('has-insert-preloading')) { continue; } var nodeW = a.calW({ parentWidth: parentWidth, node: node }); var nodeH = a.calH({ parentWidth: parentWidth, node: node }); var nodeId = a.genId({ index: j, node: node }); var nodeBorderRadius = typeof a.getBorderRadius === 'function' ? a.getBorderRadius({ index: j, node: node }) : 8; if (typeof nodeW === 'number') { nodeW += 'px'; } var imgHtml = opt.defaultContentTpl.replace(/#height#/g, nodeH).replace(/#width#/g, nodeW).replace(/#borderRadius#/g, nodeBorderRadius); var tmpNode = document.createElement('div'); tmpNode.innerHTML = imgHtml; if (a.replaceContentCssText) { var replaceContentCssText = a.replaceContentCssText.replace(/#height#/g, nodeH).replace(/#width#/g, nodeW); tmpNode.firstChild.style.cssText = replaceContentCssText; } else if (a.appendContentCssText) { tmpNode.firstChild.style.cssText += a.appendContentCssText; } var html = (a.outerContainerLeft || '') + tmpNode.innerHTML + (a.outerContainerRight || ''); tmpNode.innerHTML = html; tmpNode.firstChild.setAttribute(g.idAttr, nodeId); node.parentNode.insertBefore(tmpNode.firstChild, node.nextSibling); node.setAttribute('has-insert-preloading', '1'); } } } function init() { preloadingInit(g); } init(); })();</script> <script type="text/javascript" nonce="1496042457" reportloaderror> function htmlDecode(str) { return str .replace(/&#39;/g, '\'') .replace(/<br\s*(\/)?\s*>/g, '\n') .replace(/&nbsp;/g, ' ') .replace(/&lt;/g, '<') .replace(/&gt;/g, '>') .replace(/&quot;/g, '"') .replace(/&amp;/g, '&') .replace(/&nbsp;/g, ' '); } var uin = ''; var key = ''; var pass_ticket = ''; var new_appmsg = 1; var item_show_type = "0"; var real_item_show_type = "0"; var can_see_complaint = "0"; var tid = ""; var aid = ""; var clientversion = ""; var appuin = "MzUxMjQ1NTYyMA==" || ""; var voiceid = ""; var create_time = "1715477529" * 1; var source = "23"; var ascene = ""; var subscene = ""; var sessionid = "" || "svr_193001f4bed"; var abtest_cookie = ""; var finder_biz_enter_id = "" * 1; var scene = 75; var itemidx = ""; var appmsg_token = "" || ""; var _copyright_stat = "0"; var _ori_article_type = ""; var is_follow = ""; var nickname = htmlDecode("上海电气泰雷兹"); var appmsg_type = "9"; var ct = "1715477529"; var user_name = "gh_d481555e4148"; var fakeid = ""; var version = ""; var is_limit_user = "0"; var cps_article_data = ""; var round_head_img = "https://web.archive.org/web/20240514130121/http://mmbiz.qpic.cn/mmbiz_png/ia1lPbzbhW7FYga8OL6icPM3fLlnBNhKXaTJia2zdxibnWNK7b9XcScxgmRrmsC5k7zibQqyeHTyxf8EKu7GYHHD2EA/0?wx_fmt=png"; var hd_head_img = "https://web.archive.org/web/20240514130121/http://wx.qlogo.cn/mmhead/Q3auHgzwzM5QaTTjUFE5bicLQCwComJ79v4Fu87JFYhadhIvvicEbF5A/0" || ""; var ori_head_img_url = "https://web.archive.org/web/20240514130121/http://wx.qlogo.cn/mmhead/Q3auHgzwzM5QaTTjUFE5bicLQCwComJ79v4Fu87JFYhadhIvvicEbF5A/132"; var msg_title = '上海电气泰雷兹ATO+技术助力南京地铁机场线升级进入智能驾驶新时代'.html(false); var msg_desc = htmlDecode(""); var msg_cdn_url = "https://web.archive.org/web/20240514130121/https://mmbiz.qpic.cn/mmbiz_jpg/ia1lPbzbhW7GMQvxicUGN5wqWQCLFKXegzeAvINaL7jnpmSYy0aVm4rKiakOmKJ5FOo4ggHicJrPMSOkCQcBwmmmuQ/0?wx_fmt=jpeg"; var cdn_url_1_1 = "https://web.archive.org/web/20240514130121/https://mmbiz.qpic.cn/mmbiz_jpg/ia1lPbzbhW7GMQvxicUGN5wqWQCLFKXegz6ARTPGibYyrD8uwAW0qVWZLg4Lcw7G5iaGoDGFmbeAH4Cp2kGfOjibsJQ/0?wx_fmt=jpeg"; var cdn_url_235_1 = "https://web.archive.org/web/20240514130121/https://mmbiz.qpic.cn/mmbiz_jpg/ia1lPbzbhW7GMQvxicUGN5wqWQCLFKXegzeAvINaL7jnpmSYy0aVm4rKiakOmKJ5FOo4ggHicJrPMSOkCQcBwmmmuQ/0?wx_fmt=jpeg"; var msg_link = "https://web.archive.org/web/20240514130121/http://mp.weixin.qq.com/s?__biz=MzUxMjQ1NTYyMA==&amp;mid=2247526784&amp;idx=1&amp;sn=5a2679e4e5ed264710bcdf8b883ebbca&amp;chksm=f9660f2bce11863dd6fc131fd0e3ead63ea9bb536db60283b9962e017dfa878d45f4fc4e8e5c#rd"; var user_uin = "" * 1; var msg_source_url = ''; var img_format = 'jpeg'; var srcid = '0513peYjGlnxWnOZiEz4pcbc'; var req_id = '1421gfU9nhbWV7mepOCOXGNn'; var networkType; var appmsgid = "" || '' || '2247526784'; var comment_id = "3454181298367987719" || "3454181298367987719" * 1; var mp_comment_id = "3275211099482570752" || "3275211099482570752" * 1; var comment_enabled = "" * 1; var open_fansmsg = "0" * 1; var is_https_res = ("" * 1) && (location.protocol == "https:"); var msg_daily_idx = "1" || ""; var profileReportInfo = "" || ""; var devicetype = ""; var source_encode_biz = ""; var source_username = ""; var reprint_ticket = ""; var source_mid = ""; var source_idx = ""; var source_biz = ""; var author = ""; var author_id = ""; var author_cancel = "" * 1 || 0; var reward_wording = ""; var optimizing_flag = "0" * 1; var show_comment = ""; var __appmsgCgiData = { wxa_product: "" * 1, wxa_cps: "" * 1, show_msg_voice: "0" * 1, can_use_page: "" * 1, is_wxg_stuff_uin: "0" * 1, card_pos: "", copyright_stat: "0", source_biz: "", hd_head_img: "https://web.archive.org/web/20240514130121/http://wx.qlogo.cn/mmhead/Q3auHgzwzM5QaTTjUFE5bicLQCwComJ79v4Fu87JFYhadhIvvicEbF5A/0" || (window.location.protocol + "//" + window.location.host + "//web.archive.org/web/20240514130121/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/images/pic/pic_rumor_link6df640.jpg"), has_red_packet_cover: "0" * 1 || 0, minishopCardData: "" }; var _empty_v = "//web.archive.org/web/20240514130121/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/audios/empty6df640.mp3"; var publicTagInfo = [ ]; var appmsg_album_info = (function () { var curAlbumId = ''; for (var i = 0; i < publicTagInfo.length; i++) { if (curAlbumId) { if (curAlbumId === publicTagInfo[i].id) { return publicTagInfo[i]; } } else { if (publicTagInfo[i].continousReadOn) { return publicTagInfo[i]; } } } return {}; })(); var copyright_stat = "0" * 1; var hideSource = "" * 1; var pay_fee = "" * 1; var pay_timestamp = ""; var need_pay = "" * 1; var is_pay_subscribe = "0" * 1; var need_report_cost = "0" * 1; var use_tx_video_player = "0" * 1; var appmsg_fe_filter = "contenteditable"; var friend_read_source = "" || ""; var friend_read_version = "" || ""; var friend_read_class_id = "" || ""; var is_only_read = "1" * 1; var read_num = "" * 1; var like_num = "" * 1; var liked = "" == 'true' ? true : false; var is_temp_url = "" ? 1 : 0; var tempkey = ""; var send_time = ""; var icon_emotion_switch = "//web.archive.org/web/20240514130121/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/images/icon/emotion/icon_emotion_switch6df640.svg"; var icon_emotion_switch_active = "//web.archive.org/web/20240514130121/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/images/icon/emotion/icon_emotion_switch_active6df640.svg"; var icon_emotion_switch_primary = "//web.archive.org/web/20240514130121/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/images/icon/emotion/icon_emotion_switch_primary6df640.svg"; var icon_emotion_switch_active_primary = "//web.archive.org/web/20240514130121/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/images/icon/emotion/icon_emotion_switch_active_primary6df640.svg"; var icon_loading_white = "//web.archive.org/web/20240514130121/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/images/icon/common/icon_loading_white6df640.gif"; var icon_audio_unread = "//web.archive.org/web/20240514130121/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/images/icon/audio/icon_audio_unread6df640.png"; var icon_qqmusic_default = "//web.archive.org/web/20240514130121/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/images/icon/audio/icon_qqmusic_default6df640.png"; var icon_qqmusic_source = "//web.archive.org/web/20240514130121/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/images/icon/audio/icon_qqmusic_source6df640.svg"; var icon_kugou_source = "//web.archive.org/web/20240514130121/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/images/icon/audio/icon_kugou_source6df640.png"; var topic_default_img = '//web.archive.org/web/20240514130121/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/images/pic/pic_book_thumb6df640.png'; var comment_edit_icon = '//web.archive.org/web/20240514130121/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/images/icon/common/icon_edit6df640.png'; var comment_loading_img = '//web.archive.org/web/20240514130121/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/images/icon/common/icon_loading_white6df640.gif'; var comment_c2c_not_support_img = '//web.archive.org/web/20240514130121/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/images/pic/pic_discuss_more6df640.png'; var use_line = '' * 1; var can_feedback = '' * 1; var frontend_exp_list = [ ]; var tts_is_ban = '' * 1 || 0; var tts_is_show = '' * 1 || 0; var tts_heard_person_cnt = '' * 1 || 0; var voice_in_appmsg = { }; var voiceList = {}; voiceList={"voice_in_appmsg":[]} var reprint_style = '' * 1; var reprint_type = '' * 1; var wxa_img_alert = "" != 'false'; var weapp_sn_arr_json = "" || ""; var videoPageInfos = [ ]; window.__videoPageInfos = videoPageInfos; var video_snap_json = "" || ""; var mp_profile = [ ]; var ban_scene = "0" * 1; var ban_jump_link = { }; var svr_time = "1715691682" * 1; var is_transfer_msg = "" * 1 || 0; var malicious_title_reason_id = "0" * 1; var malicious_content_type = "0" * 1; var modify_time = "" * 1; var modify_detail = []; var isprofileblock = "0"; var jumpInfo = [ ]; window.service_type = '1' * 1; var hasRelatedArticleInfo = '0' * 1 || 0; var relatedArticleFlag = '' * 1 || 0; var canUseAutoTypeSetting; canUseAutoTypeSetting = '3' * 1 || 0; var styleType = '3'; var originTypeSetting = ''; var originStyleType = ''; var reprintEditable = ''; var currentSvrStyleType, originSvrStyleType; if (!isNaN(parseInt(styleType)) && parseInt(styleType) > 0) { currentSvrStyleType = parseInt(styleType); } else if (!isNaN(parseInt(canUseAutoTypeSetting))) { currentSvrStyleType = parseInt(canUseAutoTypeSetting); } else { currentSvrStyleType = 0; } if (!isNaN(parseInt(originStyleType)) && parseInt(originStyleType) > 0) { originSvrStyleType = parseInt(originStyleType); } else if (!isNaN(parseInt(originTypeSetting))) { originSvrStyleType = parseInt(originTypeSetting); } else { originSvrStyleType = 0; } if (reprint_type > 0 && originSvrStyleType !== currentSvrStyleType && parseInt(reprintEditable) === 0) { var dc = document.getElementById('js_content').classList; dc.remove('autoTypeSetting'); dc.remove('autoTypeSetting24'); dc.remove('autoTypeSetting24psection'); var finalSetting = parseInt(originSvrStyleType); if (finalSetting === 1) { dc.add('autoTypeSetting'); } else if (finalSetting === 2) { dc.add('autoTypeSetting24'); } else if (finalSetting === 3) { dc.add('autoTypeSetting24psection'); } } window.wxtoken = "777"; window.is_login = '' * 1; window.__moon_initcallback = function () { if (!!window.__initCatch) { window.__initCatch({ idkey: 27611 + 2, startKey: 0, limit: 128, badjsId: 43, reportOpt: { uin: uin, biz: biz, mid: mid, idx: idx, sn: sn }, extInfo: { network_rate: 0.01, badjs_rate: 0.1 } }); } } var title = "上海电气泰雷兹"; var is_new_msg = true; var is_wash = '' * 1; var topbarEnable = false; var enterid = "1715691682" * 1 || "1715691682" * 1 || "" * 1 || parseInt(Date.now() / 1000); var reloadid = '' * 1 || parseInt(Date.now() / 1000); var reloadseq = '' * 1 || 1; var miniprogram_appid = ""; var defaultAvatarUrl = '//web.archive.org/web/20240514130121/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/images/icon/common/icon_avatar_default6df640.svg'; document.addEventListener('DOMContentLoaded', function () { window.domCompleteTime = Date.now(); }); var hasRecommendMsg = 0; ; var isPayTopic = '' * 1; var payTopicPrice = '' * 1; var isRemovedFromPayTopic = '' * 1; var isPaySubscribe = '0' * 1; var isPaid = '0' * 1; var isRefund = '' * 1; var payShowIAPPrice = 1; var payProductId = '' || ''; var previewPercent = '0' || ''; var payGiftsCount = '0' * 1 || 0; var payDesc = htmlDecode(''); var payFreeGift = '' * 1 || 0; var is_finished_preview = 0; var jump2pay = '' * 1; var isFans; var can_reward = '0' * 1 || 0; var is_need_reward = (isPaySubscribe && !isPaid) ? 0 : "0" * 1; var is_teenager = '' * 1 || 0; var is_care_mode = '' * 1 || 0; var zhuge_user_limit = '' * 1 || 0; var colorScheme = ''; var iapPriceInfo = { }; var productPayPackage = { iap_price_info: iapPriceInfo }; var isCartoonCopyright = '0' * 1; var show_msg_voice = '' * 1; var qnaCardData = ''; var exptype = '' || ''; var expsessionid = '' || ''; var goContentId = ''; var goReplyId = ''; var show_related_article = '' * 1; var wwdistype = ''; window.cgiData = { appImg: '//web.archive.org/web/20240514130121/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/images/pic/pic_tencent_video6df640.png', } window.ip_wording = { countryName: '中国', countryId: '156', provinceName: '上海', provinceId: '', cityName: '', cityId: '' }; window.show_ip_wording = '1' * 1; window.source_appid = 'wx5c5c9caa3e89ba6f'; window.is_over_sea = '' * 1; window.showAdMark = "0" * 1; window.claim_source = { claim_source_type: '', claim_source: '', }; window.hideAdMarkOnCps = ("" || "0" * 1) ? 1 : 0; window.show_version = '' * 1; window.bar_version = '' * 1; window.bar_data = '' * 1; window.appmsg_bar_data = { show_like: window.bar_data === 1 ? '' * 1 : '' * 1, like_count: window.bar_data === 1 ? '' * 1 : '' * 1, show_share: window.bar_data === 1 ? '' * 1 : '' * 1, share_count: window.bar_data === 1 ? '' * 1 : '' * 1, show_old_like: window.bar_data === 1 ? '' * 1 : '' * 1, old_like_count: window.bar_data === 1 ? '' * 1 : '' * 1, comment_enabled: window.bar_data === 1 ? '' * 1 : '' * 1, comment_count: window.bar_data === 1 ? '' * 1 : '' * 1, }; window.show_comment_bar = '' * 1; window.search_keywords = [ { keyword: htmlDecode("投资收益率"), s1s_stat_info: htmlDecode('%7B%22bizuin%22%3A3512455620%2C%22msgid%22%3A2247526784%2C%22msgidx%22%3A1%2C%22docid%22%3A%22195443445761802790%22%2C%22keywordItem%22%3A%7B%22keyword%22%3A%22%E6%8A%95%E8%B5%84%E6%94%B6%E7%9B%8A%E7%8E%87%22%2C%22section_idx%22%3A8%2C%22begin_idx%22%3A188%2C%22end_idx%22%3A192%2C%22type%22%3A4%2C%22baike_docid%22%3A%229682365561680784777%22%7D%2C%22category%22%3A%22%E6%B1%BD%E8%BD%A6_%E6%B1%BD%E8%BD%A6%E7%A7%91%E6%8A%80%3A0.883691%22%2C%22reqId%22%3A7371646992469321877%2C%22S1SPageType%22%3A1%7D'), s1s_context_info: htmlDecode('%7B%22mixerCommonContext%22%3A%22%7B%5C%22mixerrank_list%5C%22%3A%5B%7B%5C%22client_type%5C%22%3A2%2C%5C%22sub_type%5C%22%3A0%2C%5C%22rank_pos%5C%22%3A20%2C%5C%22docid%5C%22%3A%5C%22195443445761802790%5C%22%7D%2C%7B%5C%22client_type%5C%22%3A16777728%2C%5C%22sub_type%5C%22%3A0%2C%5C%22rank_pos%5C%22%3A0%7D%5D%2C%5C%22scene%5C%22%3A132%2C%5C%22comm_recall_info%5C%22%3A%7B%5C%22doc_list%5C%22%3A%5B%7B%5C%22docid%5C%22%3A%5C%229682365561680784777%5C%22%2C%5C%22business_type%5C%22%3A16777728%2C%5C%22client_type%5C%22%3A16777728%7D%5D%7D%7D%22%2C%22keyword%22%3A%22%E6%8A%95%E8%B5%84%E6%94%B6%E7%9B%8A%E7%8E%87%22%2C%22isNeedUpdateGPTInfo%22%3Afalse%2C%22S1SPageType%22%3A1%2C%22search_id%22%3A%227371646992469321877%22%2C%22doc_info%22%3A%7B%22triple%22%3A%7B%22bizuin%22%3A3512455620%2C%22msgid%22%3A2247526784%2C%22msgidx%22%3A1%7D%2C%22docid%22%3A195443445761802790%7D%2C%22idx_range%22%3A%7B%22section_idx%22%3A8%2C%22begin_idx%22%3A188%2C%22end_idx%22%3A192%7D%2C%22expt_value%22%3A24%7D'), s1s_jsapi_paras: htmlDecode('{&quot;query&quot;:&quot;投资收益率&quot;,&quot;scene&quot;:139,&quot;hiddenSearchHeader&quot;:0,&quot;webviewHeightRatio&quot;:0.699999988}'), s1s_jsapi_name: 'openWXSearchHalfPage', idx_range_list: [ { begin_idx: '188', end_idx: '192', section_idx: '8', } ], } ]; window.s1s_keywords_exp_info = 'CMSj74oNEICT2q8IGAEiEjE5NTQ0MzQ0NTc2MTgwMjc5MA=='; var need_baike_preload = true; ; var show_adv_keyword = false; window.ad_keywords = [ ]; window.mmlisten_playlist_info_buffer = ''; window.key_text = ''; </script> <script type="text/javascript" nonce="1496042457" reportloaderror>var __INLINE_SCRIPT__ = (function () { 'use strict'; function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } var ua = navigator.userAgent; var is_ios = /(iPhone|iPad|iPod|iOS)/i.test(ua); var is_wp = /Windows\sPhone/i.test(ua); var is_android = /(Android)/i.test(ua); var is_wechat = /MicroMessenger\/([\d\.]+)/i.test(ua); var is_mac = /mac\sos/i.test(ua) && !is_ios; var is_windows = /windows\snt/i.test(ua) && !is_wp; var is_mpapp = /MPAPP\/([\d\.]+)/i.test(ua); var is_ipad = /iPad/i.test(ua); var is_windows_wechat = /WindowsWechat/i.test(ua); var is_mac_wechat = /MacWechat/i.test(ua) || /wechat.*mac os/i.test(ua); var is_prefetch = is_wechat && window.WeixinPrefecherJSBridge; var is_donut_app = /SAAASDK/i.test(ua); var is_in_miniProgram = is_android && /miniprogram/.test(ua.toLowerCase()) || window.__wxjs_environment == 'miniprogram'; var is_wx_work = /wxwork/i.test(ua); function getUrlParams() { var vars = location.search.substring(1).split('&'); var params = {}; var _iterator = _createForOfIteratorHelper(vars), _step; try { for (_iterator.s(); !(_step = _iterator.n()).done;) { var ele = _step.value; var pair = ele.split('='); var key = decodeURIComponent(pair[0]); if (typeof params[key] === 'undefined') { params[key] = decodeURIComponent(pair[1]); } } } catch (err) { _iterator.e(err); } finally { _iterator.f(); } return params; } function get() { var reg = /MicroMessenger\/([\d\.]+)/i; var ret = ua.match(reg); if (ret && ret[1]) { return ret[1]; } return false; } function getMac() { var reg = /MacWechat\/([\d\.]+)/i; var ret = ua.match(reg); if (ret && ret[1]) { return ret[1]; } return false; } function getMacOS() { var reg = /Mac OS X ([\d_]+)/i; var ret = ua.match(reg); if (ret && ret[1]) { return ret[1].replace(/_/g, '.'); } return false; } function getWindows() { var reg = /WindowsWechat\(0x(.+?)\)/i; var ret = ua.match(reg); if (ret && ret[1]) { return ret[1]; } return false; } function getWxWork() { var reg = /wxwork\/([\d\.]+)/i; var ret = ua.match(reg); if (ret && ret[1]) { return ret[1]; } return false; } function getMpApp() { var appVersion = [2, 4, 5]; var match = navigator.userAgent.match(/MPAPP\/(\d+(\.\d+)*)/); if (match) { appVersion = match[1].split('.').map(function (v) { return Number(v); }); } return appVersion.join('.'); } function getVersionNumber(hexStr) { return Number(Number('0x' + hexStr).toString(10)); } function getWindowsVersionFormat() { var versionInfo = navigator.userAgent.match(/WindowsWechat\(0x(\w+?)\)/); if (versionInfo && versionInfo.length === 2) { var version = versionInfo[1]; var mainVersion = getVersionNumber(version.slice(1, 2)); var subVersion = getVersionNumber(version.slice(2, 4)); var subVersion2 = getVersionNumber(version.slice(4, 6)); return [mainVersion, subVersion, subVersion2].join('.'); } return false; } function getInner() { var reg = /MicroMessenger\/[\d\.]+\(0x(.+?)\)/i; var ret = ua.match(reg); if (ret && ret[1] && ret[1] != null) { return ret[1]; } if (!ret && /MicroMessenger\/[\d\.]+/i.test(ua)) { var urlParams = getUrlParams(); if (urlParams.version) { return urlParams.version; } } return false; } var opfunc = { 'cp-1': function cp1(a, b) { return a < b; }, cp0: function cp0(a, b) { return a === b; }, cp1: function cp1(a, b) { return a > b; } }; function cpVersion(ver, op, canEq, type) { var mmver = false; switch (type) { case 'mac': mmver = getMac(); break; case 'windows': mmver = getWindowsVersionFormat(); break; case 'wxwork': mmver = getWxWork(); break; case 'mpapp': mmver = getMpApp(); break; default: mmver = get(); break; } if (!mmver) { return; } var mmversion = mmver.split('.'); var version = ver.split('.'); if (!/\d+/g.test(mmversion[mmversion.length - 1])) { mmversion.pop(); } for (var i = 0, len = Math.max(mmversion.length, version.length); i < len; ++i) { var mmv = mmversion[i] || ''; var v = version[i] || ''; var mmvn = parseInt(mmv, 10) || 0; var vn = parseInt(v, 10) || 0; var eq = opfunc.cp0(mmvn, vn); if (eq) { continue; } var cp = opfunc["cp".concat(op)]; return cp(mmvn, vn); } return canEq || op === 0; } function eqVersion(version) { return cpVersion(version, 0); } function gtVersion(version, canEq) { return cpVersion(version, 1, canEq); } function ltVersion(version, canEq) { return cpVersion(version, -1, canEq); } function getPlatform() { if (is_ios) { return 'ios'; } else if (is_android) { return 'android'; } else if (is_mac) { return 'mac_os'; } else if (is_windows) { return 'windows'; } return 'unknown'; } var is_google_play = false; var inner_ver_for_google_play_check = getInner(); if (is_android && inner_ver_for_google_play_check) { var v = '0x' + inner_ver_for_google_play_check.substr(-2); if (parseInt(v) >= 64 && parseInt(v) <= 79) { is_google_play = true; } } ({ get: get, getMac: getMac, getMacOS: getMacOS, getWindows: getWindows, getInner: getInner, getWxWork: getWxWork, getMpApp: getMpApp, cpVersion: cpVersion, eqVersion: eqVersion, gtVersion: gtVersion, ltVersion: ltVersion, getPlatform: getPlatform, getVersionNumber: getVersionNumber, isWp: is_wp, isIOS: is_ios, isAndroid: is_android, isInMiniProgram: is_in_miniProgram, isWechat: is_wechat, isMac: is_mac, isWindows: is_windows, isMacWechat: is_mac_wechat, isWindowsWechat: is_windows_wechat, isWxWork: is_wx_work, isOnlyWechat: is_wechat && !is_wx_work, isMpapp: is_mpapp, isNewMpApp: is_mpapp && cpVersion('3.0.0', 1, true, 'mpapp'), isIPad: is_ipad, isGooglePlay: is_google_play, isPrefetch: is_prefetch, isDonutAPP: is_donut_app }); var doc = {}; try { doc = top.window.document; } catch (e) { } var setImmersiveMode = function setImmersiveMode(itemShowType) { var envStr = window.__wxWebEnv && typeof window.__wxWebEnv.getEnv === 'function' && window.__wxWebEnv.getEnv(); if (!envStr) return; var envObj = {}; if (!envStr) return; try { envObj = JSON.parse(envStr); } catch (err) { console.info(err); } var immersiveListMode = envObj.immersiveListMode || 0; window.__immersiveListMode = Number(immersiveListMode) === 1 ? 1 : 0; window.__test_immersive_list = 0; if (window.__test_immersive_list) { window.__immersiveListMode = 1; } var wxExpandArticleEle = document.getElementById('wx_expand_article'); document.getElementById('js_article'); var bottomLoadingTip = document.getElementById('js_network_msg_wrp'); if (!itemShowType && itemShowType !== 0) { itemShowType = window.item_show_type; } itemShowType = Number(itemShowType); if (window.__immersiveListMode) { try { var immersiveSafeBottom = localStorage.getItem('__immersivefeed_safe_bottom__'); if (immersiveSafeBottom) { document.documentElement.style.setProperty('--immersive-safe-bottom', immersiveSafeBottom); } } catch (error) { console.log(error); } if (wxExpandArticleEle) { wxExpandArticleEle.style.display = 'block'; } if (bottomLoadingTip) { bottomLoadingTip.style.display = 'none'; } if (itemShowType === 10 || itemShowType === 7) { document.body.classList.add('ellapse_short_content'); } else { document.body.classList.add('ellapse_stream_article'); } if (itemShowType === 0) { document.body.classList.add('article_extensive_background'); } else { document.body.classList.add('media_content_extensive_background'); } var interactionPlaceholderEle = document.getElementById('js_interaction_placeholder'); if (interactionPlaceholderEle) { interactionPlaceholderEle.style.display = 'block'; } } }; if (!window.__second_open__) { setImmersiveMode(); } return setImmersiveMode; })();</script><script type="text/javascript" nonce="1496042457" reportloaderror>var __INLINE_SCRIPT__ = (function () { 'use strict'; function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } var ua = navigator.userAgent; var is_ios = /(iPhone|iPad|iPod|iOS)/i.test(ua); var is_wp = /Windows\sPhone/i.test(ua); var is_android = /(Android)/i.test(ua); var is_wechat = /MicroMessenger\/([\d\.]+)/i.test(ua); var is_mac = /mac\sos/i.test(ua) && !is_ios; var is_windows = /windows\snt/i.test(ua) && !is_wp; var is_mpapp = /MPAPP\/([\d\.]+)/i.test(ua); var is_ipad = /iPad/i.test(ua); var is_windows_wechat = /WindowsWechat/i.test(ua); var is_mac_wechat = /MacWechat/i.test(ua) || /wechat.*mac os/i.test(ua); var is_prefetch = is_wechat && window.WeixinPrefecherJSBridge; var is_donut_app = /SAAASDK/i.test(ua); var is_in_miniProgram = is_android && /miniprogram/.test(ua.toLowerCase()) || window.__wxjs_environment == 'miniprogram'; var is_wx_work = /wxwork/i.test(ua); function getUrlParams() { var vars = location.search.substring(1).split('&'); var params = {}; var _iterator = _createForOfIteratorHelper(vars), _step; try { for (_iterator.s(); !(_step = _iterator.n()).done;) { var ele = _step.value; var pair = ele.split('='); var key = decodeURIComponent(pair[0]); if (typeof params[key] === 'undefined') { params[key] = decodeURIComponent(pair[1]); } } } catch (err) { _iterator.e(err); } finally { _iterator.f(); } return params; } function get() { var reg = /MicroMessenger\/([\d\.]+)/i; var ret = ua.match(reg); if (ret && ret[1]) { return ret[1]; } return false; } function getMac() { var reg = /MacWechat\/([\d\.]+)/i; var ret = ua.match(reg); if (ret && ret[1]) { return ret[1]; } return false; } function getMacOS() { var reg = /Mac OS X ([\d_]+)/i; var ret = ua.match(reg); if (ret && ret[1]) { return ret[1].replace(/_/g, '.'); } return false; } function getWindows() { var reg = /WindowsWechat\(0x(.+?)\)/i; var ret = ua.match(reg); if (ret && ret[1]) { return ret[1]; } return false; } function getWxWork() { var reg = /wxwork\/([\d\.]+)/i; var ret = ua.match(reg); if (ret && ret[1]) { return ret[1]; } return false; } function getMpApp() { var appVersion = [2, 4, 5]; var match = navigator.userAgent.match(/MPAPP\/(\d+(\.\d+)*)/); if (match) { appVersion = match[1].split('.').map(function (v) { return Number(v); }); } return appVersion.join('.'); } function getVersionNumber(hexStr) { return Number(Number('0x' + hexStr).toString(10)); } function getWindowsVersionFormat() { var versionInfo = navigator.userAgent.match(/WindowsWechat\(0x(\w+?)\)/); if (versionInfo && versionInfo.length === 2) { var version = versionInfo[1]; var mainVersion = getVersionNumber(version.slice(1, 2)); var subVersion = getVersionNumber(version.slice(2, 4)); var subVersion2 = getVersionNumber(version.slice(4, 6)); return [mainVersion, subVersion, subVersion2].join('.'); } return false; } function getInner() { var reg = /MicroMessenger\/[\d\.]+\(0x(.+?)\)/i; var ret = ua.match(reg); if (ret && ret[1] && ret[1] != null) { return ret[1]; } if (!ret && /MicroMessenger\/[\d\.]+/i.test(ua)) { var urlParams = getUrlParams(); if (urlParams.version) { return urlParams.version; } } return false; } var opfunc = { 'cp-1': function cp1(a, b) { return a < b; }, cp0: function cp0(a, b) { return a === b; }, cp1: function cp1(a, b) { return a > b; } }; function cpVersion(ver, op, canEq, type) { var mmver = false; switch (type) { case 'mac': mmver = getMac(); break; case 'windows': mmver = getWindowsVersionFormat(); break; case 'wxwork': mmver = getWxWork(); break; case 'mpapp': mmver = getMpApp(); break; default: mmver = get(); break; } if (!mmver) { return; } var mmversion = mmver.split('.'); var version = ver.split('.'); if (!/\d+/g.test(mmversion[mmversion.length - 1])) { mmversion.pop(); } for (var i = 0, len = Math.max(mmversion.length, version.length); i < len; ++i) { var mmv = mmversion[i] || ''; var v = version[i] || ''; var mmvn = parseInt(mmv, 10) || 0; var vn = parseInt(v, 10) || 0; var eq = opfunc.cp0(mmvn, vn); if (eq) { continue; } var cp = opfunc["cp".concat(op)]; return cp(mmvn, vn); } return canEq || op === 0; } function eqVersion(version) { return cpVersion(version, 0); } function gtVersion(version, canEq) { return cpVersion(version, 1, canEq); } function ltVersion(version, canEq) { return cpVersion(version, -1, canEq); } function getPlatform() { if (is_ios) { return 'ios'; } else if (is_android) { return 'android'; } else if (is_mac) { return 'mac_os'; } else if (is_windows) { return 'windows'; } return 'unknown'; } var is_google_play = false; var inner_ver_for_google_play_check = getInner(); if (is_android && inner_ver_for_google_play_check) { var v = '0x' + inner_ver_for_google_play_check.substr(-2); if (parseInt(v) >= 64 && parseInt(v) <= 79) { is_google_play = true; } } var mmversion = { get: get, getMac: getMac, getMacOS: getMacOS, getWindows: getWindows, getInner: getInner, getWxWork: getWxWork, getMpApp: getMpApp, cpVersion: cpVersion, eqVersion: eqVersion, gtVersion: gtVersion, ltVersion: ltVersion, getPlatform: getPlatform, getVersionNumber: getVersionNumber, isWp: is_wp, isIOS: is_ios, isAndroid: is_android, isInMiniProgram: is_in_miniProgram, isWechat: is_wechat, isMac: is_mac, isWindows: is_windows, isMacWechat: is_mac_wechat, isWindowsWechat: is_windows_wechat, isWxWork: is_wx_work, isOnlyWechat: is_wechat && !is_wx_work, isMpapp: is_mpapp, isNewMpApp: is_mpapp && cpVersion('3.0.0', 1, true, 'mpapp'), isIPad: is_ipad, isGooglePlay: is_google_play, isPrefetch: is_prefetch, isDonutAPP: is_donut_app }; var initJsBridge = false; var JSAPIEventCallbackMap$1 = {}; function connectWebViewJavascriptBridge(callback) { if (window.WebViewMPapp || window.WebViewJavascriptBridge) { return callback(window.WebViewMPapp || window.WebViewJavascriptBridge); } if (window.WVJBCallbacks) { return window.WVJBCallbacks.push(callback); } window.WVJBCallbacks = [callback]; if (!initJsBridge) { initJsBridge = true; var WVJBIframe = document.createElement('iframe'); WVJBIframe.style.display = 'none'; WVJBIframe.src = 'https://__bridge_loaded__'; document.body.appendChild(WVJBIframe); setTimeout(function () { initJsBridge = false; document.body.removeChild(WVJBIframe); }, 0); } return false; } function invoke$1(jsapiName, opt, callback) { connectWebViewJavascriptBridge(function (bridge) { try { if (typeof opt === 'function') { callback = opt; } if (_typeof(opt) !== 'object' && typeof opt !== 'string') { opt = {}; } bridge.callHandler(jsapiName, opt, function (res) { try { var ret = _typeof(res) === 'object' ? res : JSON.parse(res); var errMsg = ret.err_msg || ret.errMsg; console.info("[mpapp jsapi] invoke->".concat(jsapiName, " ").concat(opt.action || '', " ").concat(errMsg)); typeof callback === 'function' && callback(ret); } catch (e) { window.WX_BJ_REPORT.BadJs.report('invoke', "callback ".concat(jsapiName, " error:"), { mid: 'mmbizwebapp:js_brridge', _info: e }); console.error("[mpapp jsapi] ".concat(jsapiName, " ").concat(opt.action || ''), e, res); } }); } catch (e) { window.WX_BJ_REPORT.BadJs.report('invoke', 'callback error:', { mid: 'mmbizwebapp:js_brridge', _info: e }); console.error('[mpapp jsapi]', e); } }); } function on$1(eventName, callback) { connectWebViewJavascriptBridge(function (bridge) { if (!JSAPIEventCallbackMap$1[eventName]) { JSAPIEventCallbackMap$1[eventName] = []; } JSAPIEventCallbackMap$1[eventName].push(callback); if (JSAPIEventCallbackMap$1[eventName].length > 1) { return false; } try { bridge.registerHandler(eventName, function () { for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { args[_key] = arguments[_key]; } try { var data = typeof args[0] === 'string' ? JSON.parse(args[0]) : args[0]; console.info('[mpapp jsapi] event->' + eventName + ' ' + data.err_msg); if (JSAPIEventCallbackMap1[eventName].length) { var result; for (var i = 0; i < JSAPIEventCallbackMap$1[eventName].length; i++) { result = JSAPIEventCallbackMap$1[eventName][i].apply(window, [data].concat(args.slice(1))); } return result; } } catch (e) { window.WX_BJ_REPORT.BadJs.report('on', "callback ".concat(eventName, " error:"), { mid: 'mmbizwebapp:js_brridge', _info: e }); console.error('[mpapp jsapi] ' + eventName, e, args[0]); } }); } catch (e) { window.WX_BJ_REPORT.BadJs.report('on', 'callback error:', { mid: 'mmbizwebapp:js_brridge', _info: e }); console.error('[mpapp jsapi]', e); } }); } function remove$1(eventName, callback) { connectWebViewJavascriptBridge(function () { if (!JSAPIEventCallbackMap$1[eventName]) { return false; } var result = false; for (var i = JSAPIEventCallbackMap$1[eventName].length - 1; i >= 0; i--) { if (JSAPIEventCallbackMap$1[eventName][i] === callback) { JSAPIEventCallbackMap$1[eventName].splice(i, 1); result = true; } } return result; }); } var doc = {}; var isAcrossOrigin = false; var __moon_report = window.__moon_report || function () {}; var MOON_JSAPI_KEY_OFFSET = 8; try { doc = top.window.document; } catch (e) { isAcrossOrigin = true; } var JSAPIEventCallbackMap = {}; function ready(onBridgeReady) { var bridgeReady = function bridgeReady() { try { if (onBridgeReady) { window.onBridgeReadyTime = window.onBridgeReadyTime || Date.now(); onBridgeReady(); } } catch (e) { __moon_report([{ offset: MOON_JSAPI_KEY_OFFSET, log: 'ready', e: e }]); throw e; } window.jsapiReadyTime = Date.now(); }; if (!isAcrossOrigin && (typeof top.window.WeixinJSBridge === 'undefined' || !top.window.WeixinJSBridge.invoke)) { if (doc.addEventListener) { doc.addEventListener('WeixinJSBridgeReady', bridgeReady, false); } else if (doc.attachEvent) { doc.attachEvent('WeixinJSBridgeReady', bridgeReady); doc.attachEvent('onWeixinJSBridgeReady', bridgeReady); } } else { bridgeReady(); } } function invoke(methodName, args, callback) { ready(function () { if (isAcrossOrigin) return false; if (_typeof(top.window.WeixinJSBridge) !== 'object') { alert('请在微信中打开此链接'); return false; } top.window.WeixinJSBridge.invoke(methodName, args, function () { try { for (var _len = arguments.length, rets = new Array(_len), _key = 0; _key < _len; _key++) { rets[_key] = arguments[_key]; } var ret = rets[0]; var errMsg = ret && ret.err_msg ? ', err_msg-> ' + ret.err_msg : ''; console.info('[system]', '[jsapi] invoke->' + methodName + errMsg); if (callback) { callback.apply(window, rets); } } catch (e) { __moon_report([{ offset: MOON_JSAPI_KEY_OFFSET, log: 'invoke;methodName:' + methodName, e: e }]); throw e; } }); }); } function call(methodName) { ready(function () { if (isAcrossOrigin) return false; if (_typeof(top.window.WeixinJSBridge) !== 'object') { return false; } try { top.window.WeixinJSBridge.call(methodName); } catch (e) { __moon_report([{ offset: MOON_JSAPI_KEY_OFFSET, log: 'call;methodName:' + methodName, e: e }]); throw e; } }); } function on(eventName, callback) { ready(function () { if (isAcrossOrigin) return false; if (_typeof(top.window.WeixinJSBridge) !== 'object' || !top.window.WeixinJSBridge.on) { return false; } if (!JSAPIEventCallbackMap[eventName]) { JSAPIEventCallbackMap[eventName] = []; } JSAPIEventCallbackMap[eventName].push(callback); if (JSAPIEventCallbackMap[eventName].length > 1) { return false; } top.window.WeixinJSBridge.on(eventName, function () { try { for (var _len2 = arguments.length, rets = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) { rets[_key2] = arguments[_key2]; } var ret = rets[0]; var errMsg = ret && ret.err_msg ? ', err_msg-> ' + ret.err_msg : ''; console.info('[system]', '[jsapi] event->' + eventName + errMsg); if (JSAPIEventCallbackMap[eventName] && JSAPIEventCallbackMap[eventName].length) { var result; for (var i = 0; i < JSAPIEventCallbackMap[eventName].length; i++) { result = JSAPIEventCallbackMap[eventName][i].apply(window, rets); } return result; } } catch (e) { __moon_report([{ offset: MOON_JSAPI_KEY_OFFSET, log: 'on;eventName:' + eventName, e: e }]); throw e; } }); }); } function remove(eventName, callback) { ready(function () { if (!JSAPIEventCallbackMap[eventName]) { return false; } var result = false; for (var i = JSAPIEventCallbackMap[eventName].length - 1; i >= 0; i--) { if (JSAPIEventCallbackMap[eventName][i] === callback) { JSAPIEventCallbackMap[eventName].splice(i, 1); result = true; } } return result; }); } var JSAPI = mmversion.isNewMpApp ? { ready: connectWebViewJavascriptBridge, invoke: invoke$1, call: invoke$1, on: on$1, remove: remove$1 } : { ready: ready, invoke: invoke, call: call, on: on, remove: remove }; function initBodyStyle() { window.scrollTo({ top: 0, behavior: 'smooth' }); setTimeout(function () { document.body.scrollTop = document.documentElement.scrollTop = 0; document.body.style.overflow = 'hidden'; }, 100); } var setRowImmersiveMode = function setRowImmersiveMode(itemShowType) { var envStr = window.__wxWebEnv && typeof window.__wxWebEnv.getEnv === 'function' && window.__wxWebEnv.getEnv(); if (!envStr) return; var envObj = {}; try { envObj = JSON.parse(envStr); } catch (err) { console.info(err); } var immersiveListMode = envObj.immersiveListMode || 0; window.__immersiveListMode = Number(immersiveListMode) === 1 ? 1 : 0; window.__rowImmersiveStream = Number(immersiveListMode) === 2 ? 1 : 0; console.log("iiiiiiimmersiveListMode", immersiveListMode, window.__immersiveListMode, window.__rowImmersiveStream); window.__test_row_immersive_list = 0; if (window.__test_row_immersive_list) { window.__rowImmersiveStream = 1; } if (window.__rowImmersiveStream) { initBodyStyle(); var rowImmersiveStreamWrap = document.getElementById('js_row_immersive_stream_wrap'); if (rowImmersiveStreamWrap) { rowImmersiveStreamWrap.style.display = 'block'; } var bottomBar = document.getElementById('js_article_bottom_bar'); if (bottomBar) { bottomBar.classList.add('row_immersive_bottom_bar'); } var immersiveStreamMask = document.getElementById('js_row_immersive_stream_mask'); var enterBigWebview = function enterBigWebview() { immersiveStreamMask.style.display = 'none'; document.body.style.overflow = 'auto'; if (bottomBar) { bottomBar.classList.add('row_immersive_bigview_bottom_bar'); } }; var exitBigWebview = function exitBigWebview() { initBodyStyle(); immersiveStreamMask.style.display = 'block'; if (bottomBar) { bottomBar.classList.remove('row_immersive_bigview_bottom_bar'); } }; immersiveStreamMask.addEventListener('click', function (e) { e.preventDefault(); e.stopPropagation(); JSAPI.invoke('handleImmersiveStream', { action: 'enterFullArticle', params: { enterTime: Date.now() } }, function (res) { console.log("[immersive] handleImmersiveStream:", res); if (res && res.err_msg && res.err_msg.includes('ok')) { enterBigWebview(); } if (__test_row_immersive_list) { setTimeout(function () { console.log("xxxxx ok"); enterBigWebview(); }, 2000); } }); }); JSAPI.on('immersiveStreamExposeArticle', function (res) { console.log("[immersive] immersiveStreamExposeArticle", res); }); JSAPI.on('immersiveStreamExitFullArticle', function (res) { console.log("[immersive] immersiveStreamExitFullArticle", res); exitBigWebview(); }); JSAPI.on('immersiveStreamEnterFullArticle', function (res) { console.log("[immersive] immersiveStreamEnterFullArticle", res); enterBigWebview(); }); JSAPI.on('immersiveStreamSlideOutArticle', function (res) { console.log("[immersive] immersiveStreamSlideOutArticle", res); exitBigWebview(); }); } }; if (!window.__second_open__) { setRowImmersiveMode(); } return setRowImmersiveMode; })();</script><script type="text/javascript" nonce="1496042457" reportloaderror>var __INLINE_SCRIPT__ = (function () { 'use strict'; var getIpWoridng = function getIpWoridng(ipConfig) { var ipWording = ''; if (parseInt(ipConfig.countryId, 10) === 156) { ipWording = ipConfig.provinceName; } else if (ipConfig.countryId) { ipWording = ipConfig.countryName; } return ipWording; }; var __setIpWording = function __setIpWording(ipConfig, userInfo) { var ipWrp = document.getElementById('js_ip_wording_wrp'); var ipWording = document.getElementById('js_ip_wording'); if (ipConfig) { window.ip_wording = { countryName: ipConfig.country_name, countryId: ipConfig.country_id, provinceName: ipConfig.province_name }; } if (userInfo && userInfo.isoversea) { window.is_over_sea = parseInt(userInfo.isoversea, 10); } if (window.ip_wording && ipWrp && ipWording && window.is_over_sea !== 1) { var ipWordingDisplay = getIpWoridng(window.ip_wording); if (ipWordingDisplay !== '') { ipWording.innerHTML = ipWordingDisplay; ipWrp.style.display = 'inline-block'; } } }; if (!window.__second_open__) { __setIpWording(); window.__setIpWording = __setIpWording; } return __setIpWording; })();</script><script type="text/javascript" nonce="1496042457" reportloaderror>var __INLINE_SCRIPT__ = (function () { 'use strict'; var dealLikeReadShow_en = function dealLikeReadShow_en(realNum) { if (typeof LANG === 'undefined' || !LANG) { return parseInt(realNum) === 0 ? '' : realNum; } if (LANG == 'en') { var showHTML = ''; if (parseInt(realNum) > 100000) { showHTML = 100 + 'k+'; } else if (parseInt(realNum) > 10000 && parseInt(realNum) <= 100000) { var num = '' + parseInt(realNum) / 1000; var dotIndex = num.indexOf('.'); if (dotIndex === -1) { showHTML = num + 'k'; } else { showHTML = num.substring(0, dotIndex) + '.' + num.charAt(dotIndex + 1) + 'k'; } } else if (parseInt(realNum) === 0) { showHTML = ''; } else { showHTML = realNum; } return showHTML; } return ''; }; var i18n = { dealLikeReadShow_en: dealLikeReadShow_en }; function getWordCount (dom) { if (!dom) return 0; var textContet = dom.textContent || ''; var fillCharReg = new RegExp("\u200B", 'g'); var bookmarkFillCharReg = new RegExp("\u200D", 'g'); return textContet.replace(fillCharReg, '') .replace(bookmarkFillCharReg, '') .replace(/(\b|^)\w+(\b|$)/g, '#') .replace(/\s/g, '') .length; } function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } var ua = navigator.userAgent; var is_ios = /(iPhone|iPad|iPod|iOS)/i.test(ua); var is_wp = /Windows\sPhone/i.test(ua); var is_android = /(Android)/i.test(ua); var is_wechat = /MicroMessenger\/([\d\.]+)/i.test(ua); var is_mac = /mac\sos/i.test(ua) && !is_ios; var is_windows = /windows\snt/i.test(ua) && !is_wp; var is_mpapp = /MPAPP\/([\d\.]+)/i.test(ua); var is_ipad = /iPad/i.test(ua); var is_windows_wechat = /WindowsWechat/i.test(ua); var is_mac_wechat = /MacWechat/i.test(ua) || /wechat.*mac os/i.test(ua); var is_prefetch = is_wechat && window.WeixinPrefecherJSBridge; var is_donut_app = /SAAASDK/i.test(ua); var is_in_miniProgram = is_android && /miniprogram/.test(ua.toLowerCase()) || window.__wxjs_environment == 'miniprogram'; var is_wx_work = /wxwork/i.test(ua); function getUrlParams() { var vars = location.search.substring(1).split('&'); var params = {}; var _iterator = _createForOfIteratorHelper(vars), _step; try { for (_iterator.s(); !(_step = _iterator.n()).done;) { var ele = _step.value; var pair = ele.split('='); var key = decodeURIComponent(pair[0]); if (typeof params[key] === 'undefined') { params[key] = decodeURIComponent(pair[1]); } } } catch (err) { _iterator.e(err); } finally { _iterator.f(); } return params; } function get() { var reg = /MicroMessenger\/([\d\.]+)/i; var ret = ua.match(reg); if (ret && ret[1]) { return ret[1]; } return false; } function getMac() { var reg = /MacWechat\/([\d\.]+)/i; var ret = ua.match(reg); if (ret && ret[1]) { return ret[1]; } return false; } function getMacOS() { var reg = /Mac OS X ([\d_]+)/i; var ret = ua.match(reg); if (ret && ret[1]) { return ret[1].replace(/_/g, '.'); } return false; } function getWindows() { var reg = /WindowsWechat\(0x(.+?)\)/i; var ret = ua.match(reg); if (ret && ret[1]) { return ret[1]; } return false; } function getWxWork() { var reg = /wxwork\/([\d\.]+)/i; var ret = ua.match(reg); if (ret && ret[1]) { return ret[1]; } return false; } function getMpApp() { var appVersion = [2, 4, 5]; var match = navigator.userAgent.match(/MPAPP\/(\d+(\.\d+)*)/); if (match) { appVersion = match[1].split('.').map(function (v) { return Number(v); }); } return appVersion.join('.'); } function getVersionNumber(hexStr) { return Number(Number('0x' + hexStr).toString(10)); } function getWindowsVersionFormat() { var versionInfo = navigator.userAgent.match(/WindowsWechat\(0x(\w+?)\)/); if (versionInfo && versionInfo.length === 2) { var version = versionInfo[1]; var mainVersion = getVersionNumber(version.slice(1, 2)); var subVersion = getVersionNumber(version.slice(2, 4)); var subVersion2 = getVersionNumber(version.slice(4, 6)); return [mainVersion, subVersion, subVersion2].join('.'); } return false; } function getInner$1() { var reg = /MicroMessenger\/[\d\.]+\(0x(.+?)\)/i; var ret = ua.match(reg); if (ret && ret[1] && ret[1] != null) { return ret[1]; } if (!ret && /MicroMessenger\/[\d\.]+/i.test(ua)) { var urlParams = getUrlParams(); if (urlParams.version) { return urlParams.version; } } return false; } var opfunc = { 'cp-1': function cp1(a, b) { return a < b; }, cp0: function cp0(a, b) { return a === b; }, cp1: function cp1(a, b) { return a > b; } }; function cpVersion(ver, op, canEq, type) { var mmver = false; switch (type) { case 'mac': mmver = getMac(); break; case 'windows': mmver = getWindowsVersionFormat(); break; case 'wxwork': mmver = getWxWork(); break; case 'mpapp': mmver = getMpApp(); break; default: mmver = get(); break; } if (!mmver) { return; } var mmversion = mmver.split('.'); var version = ver.split('.'); if (!/\d+/g.test(mmversion[mmversion.length - 1])) { mmversion.pop(); } for (var i = 0, len = Math.max(mmversion.length, version.length); i < len; ++i) { var mmv = mmversion[i] || ''; var v = version[i] || ''; var mmvn = parseInt(mmv, 10) || 0; var vn = parseInt(v, 10) || 0; var eq = opfunc.cp0(mmvn, vn); if (eq) { continue; } var cp = opfunc["cp".concat(op)]; return cp(mmvn, vn); } return canEq || op === 0; } function eqVersion(version) { return cpVersion(version, 0); } function gtVersion(version, canEq) { return cpVersion(version, 1, canEq); } function ltVersion(version, canEq) { return cpVersion(version, -1, canEq); } function getPlatform() { if (is_ios) { return 'ios'; } else if (is_android) { return 'android'; } else if (is_mac) { return 'mac_os'; } else if (is_windows) { return 'windows'; } return 'unknown'; } var is_google_play = false; var inner_ver_for_google_play_check = getInner$1(); if (is_android && inner_ver_for_google_play_check) { var v = '0x' + inner_ver_for_google_play_check.substr(-2); if (parseInt(v) >= 64 && parseInt(v) <= 79) { is_google_play = true; } } var mmVersion = { get: get, getMac: getMac, getMacOS: getMacOS, getWindows: getWindows, getInner: getInner$1, getWxWork: getWxWork, getMpApp: getMpApp, cpVersion: cpVersion, eqVersion: eqVersion, gtVersion: gtVersion, ltVersion: ltVersion, getPlatform: getPlatform, getVersionNumber: getVersionNumber, isWp: is_wp, isIOS: is_ios, isAndroid: is_android, isInMiniProgram: is_in_miniProgram, isWechat: is_wechat, isMac: is_mac, isWindows: is_windows, isMacWechat: is_mac_wechat, isWindowsWechat: is_windows_wechat, isWxWork: is_wx_work, isOnlyWechat: is_wechat && !is_wx_work, isMpapp: is_mpapp, isNewMpApp: is_mpapp && cpVersion('3.0.0', 1, true, 'mpapp'), isIPad: is_ipad, isGooglePlay: is_google_play, isPrefetch: is_prefetch, isDonutAPP: is_donut_app }; var isIOS = mmVersion.isIOS, getInner = mmVersion.getInner, isAndroid = mmVersion.isAndroid; var formatReadNum = function formatReadNum(value) { if (window.LANG === 'en') { return i18n.dealLikeReadShow_en(value); } var result = ''; if (parseInt(value, 10) > 100000) { result = '10万+'; } else if (parseInt(value, 10) > 10000 && parseInt(value, 10) <= 100000) { var num = '' + parseInt(value, 10) / 10000; var dotIndex = num.indexOf('.'); if (dotIndex === -1) { result = num + '万'; } else { result = num.substr(0, dotIndex) + '.' + num.charAt(dotIndex + 1) + '万'; } } else if (parseInt(value, 10) === 0) { result = ''; } else { result = value || ''; } return result; }; var __setTingHeard = function __setTingHeard(container, dom, cnt, isTempUrl) { var articleWordCnt = getWordCount(container || document.querySelector('#js_content')); window.article_word_cnt = articleWordCnt; if (!dom || articleWordCnt <= 300 || isTempUrl) return; if (isIOS && getInner() >= '18002622' || isAndroid && getInner() >= '2800253A') { if (cnt > 100000) dom.innerText = "".concat(formatReadNum(cnt), "听过");else if (cnt > 0) dom.innerText = "".concat(formatReadNum(cnt), "人听过");else { dom.innerText = "听全文"; } dom.style.removeProperty('display'); } }; if (!window.__second_open__) { var tempkey = window.tempkey || ''; var tingHeardDom = document.querySelector('#js_ting_heard'); var tingIsShow = window.tts_is_show || ''; var tingHeardCnt = window.tts_heard_person_cnt || ''; console.log('tingIsShow, tingHeardCnt', tingIsShow, tingHeardCnt); !!(tingIsShow * 1) && __setTingHeard(document.querySelector('#js_content'), tingHeardDom, tingHeardCnt * 1, !!tempkey); window.__setTingHeard = __setTingHeard; } return __setTingHeard; })();</script><script type="text/javascript" nonce="1496042457" reportloaderror>var __INLINE_SCRIPT__ = (function () { 'use strict'; function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); } function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } } function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; } var prefix = '__WXLS__'; var localStorage$1 = window.localStorage || { getItem: function getItem() {}, setItem: function setItem() {}, removeItem: function removeItem() {}, key: function key() {}, clear: function clear() { var _a, _b; (_b = (_a = window.localStorage) === null || _a === void 0 ? void 0 : _a.clear) === null || _b === void 0 ? void 0 : _b.call(_a); }, length: 0 }; var evictionPolicies = { noeviction: function noeviction(data) { return data; }, 'allkeys-random': function allkeysRandom(data, size) { var keys = Object.keys(data); var memCnt = 0; while (memCnt < size) { var len = keys.length; var randomKeyIdx = Math.floor(Math.random() * len); var randomKey = keys[randomKeyIdx]; memCnt += JSON.stringify(data[randomKey]).length; delete data[randomKey]; keys = Object.keys(data); } return data; }, 'volatile-ttl': function volatileTtl(data, size) { var keys = Object.keys(data); keys = keys.sort(function (key1, key2) { var d1 = data[key1], d2 = data[key2]; if (d1.exp < d2.exp) return -1; if (d1.exp > d2.exp) return 1; return 0; }); var memCnt = 0; for (var i = 0; i < keys.length; i++) { if (memCnt >= size) break; var key = keys[i]; memCnt += JSON.stringify(data[key]).length; delete data[key]; } return data; }, 'clear-all': function clearAll() { localStorage$1.clear(); return {}; } }; function formatLogMsg(str) { return "[WXLS] ".concat(str); } var LS = function () { function LS(func, evictionPolicy, logger) { _classCallCheck(this, LS); this.logger = function () {}; if (!func) throw 'require function name.'; this.evictionPolicy = 'noeviction'; this.key = func; if (typeof logger === 'function') { this.logger = function (str, type) { return logger(formatLogMsg(str), type); }; } if (evictionPolicy && Object.keys(evictionPolicies).indexOf(evictionPolicy) !== -1) { this.evictionPolicy = evictionPolicy; } this.init(); } _createClass(LS, [{ key: "init", value: function init() { var _a, _b; this.check(); if (Math.random() * 1000 < 1) { (_a = this.logger) === null || _a === void 0 ? void 0 : _a.call(this, "LSlen: ".concat(((_b = window === null || window === void 0 ? void 0 : window.localStorage) === null || _b === void 0 ? void 0 : _b.length) || localStorage$1.length), 'report'); } } }, { key: "getData", value: function getData() { var data = LS.getItem(this.key) || '{}'; try { data = JSON.parse(data); } catch (e) { this.logger("getData error: ".concat(e), 'error'); localStorage$1.removeItem(prefix + this.key); data = {}; } return data; } }, { key: "check", value: function check(isReturn) { var data = this.getData(); var temp = {}; var now = +new Date(); var key, val; for (key in data) { val = data[key]; if (+val.exp > now) { temp[key] = val; } } this.logger("check info: isReturn:".concat(isReturn, " data:").concat(JSON.stringify(temp)), 'info'); if (isReturn) return temp; LS.setItem(this.key, JSON.stringify(temp), this.logger); } }, { key: "set", value: function set(key, val, exp) { var _a, _b; var data = this.check(true); data[key] = { val: val, exp: exp || +new Date() }; try { if (localStorage$1.getItem(prefix + this.key)) localStorage$1.removeItem(prefix + this.key); localStorage$1.setItem(prefix + this.key, JSON.stringify(data)); this.logger("first set success: LSlen:".concat((_a = window === null || window === void 0 ? void 0 : window.localStorage) === null || _a === void 0 ? void 0 : _a.length, " key:").concat(prefix + this.key, " data:").concat(JSON.stringify(data)), 'success'); } catch (e) { this.logger("first set error: LSlen:".concat((_b = window === null || window === void 0 ? void 0 : window.localStorage) === null || _b === void 0 ? void 0 : _b.length, " error:").concat(e, " key:").concat(prefix + this.key, " data:").concat(JSON.stringify(data), " k:").concat(key, " v:").concat(val, " exp:").concat(exp), 'error'); localStorage$1.clear(); LS.setItem(this.key, JSON.stringify(_defineProperty({}, key, { val: val, exp: exp || +new Date() })), this.logger); } } }, { key: "get", value: function get(key) { var data = this.getData(); data = data[key]; return data ? data.val || null : null; } }, { key: "remove", value: function remove(key) { var data = this.getData(); if (data[key]) delete data[key]; LS.setItem(this.key, JSON.stringify(data), this.logger); } }], [{ key: "getItem", value: function getItem(key) { key = prefix + key; return localStorage$1.getItem(key); } }, { key: "setItem", value: function setItem(key, val, logger) { var _a, _b; key = prefix + key; var n = 3; while (n--) { try { if (localStorage$1.getItem(key)) localStorage$1.removeItem(key); localStorage$1.setItem(key, val); typeof logger === 'function' && logger("setItem success: LSlen:".concat((_a = window === null || window === void 0 ? void 0 : window.localStorage) === null || _a === void 0 ? void 0 : _a.length, " key:").concat(key, " val:").concat(val), 'success'); break; } catch (e) { typeof logger === 'function' && logger("setItem error: LSlen:".concat((_b = window === null || window === void 0 ? void 0 : window.localStorage) === null || _b === void 0 ? void 0 : _b.length, " error:").concat(e, " key:").concat(key, " val:").concat(val), 'error'); LS.clear(); } } } }, { key: "clear", value: function clear() { var i, k; for (i = localStorage$1.length - 1; i >= 0; i--) { k = localStorage$1.key(i); if (k.indexOf(prefix) == 0) { localStorage$1.removeItem(k); } } } }, { key: "getSupportEvicationPolicy", value: function getSupportEvicationPolicy() { return Object.keys(evictionPolicies); } }]); return LS; }(); var key = 'stream_last_read_pos'; new LS(key); var interactionStatusLS = new LS('bottom_interaction_status'); function getInteractionStatus(opt) { var biz = opt.biz || window.biz; var sn = opt.sn || window.sn; var mid = opt.mid || window.mid; var idx = opt.idx || window.idx; var interactionStatusKey = [biz, sn, mid, idx].join('_'); var interactionStatusInfo = interactionStatusLS.get(interactionStatusKey); if (Object.prototype.toString.call(interactionStatusInfo) !== '[object Object]') { interactionStatusInfo = {}; } return interactionStatusInfo; } var __setBarData = function __setBarData(appmsgBarData, cgiData) { if (!appmsgBarData) { return; } function formatReadNum(value) { var unit = '万'; if (window.LANG === 'en') { unit = 'k'; } var result = ''; if (parseInt(value, 10) > 100000) { result = 10 + unit + '+'; } else if (parseInt(value, 10) > 10000 && parseInt(value, 10) <= 100000) { var num = '' + parseInt(value, 10) / 10000; var dotIndex = num.indexOf('.'); if (dotIndex === -1) { result = num + unit; } else { result = num.substr(0, dotIndex) + '.' + num.charAt(dotIndex + 1) + unit; } } else if (parseInt(value, 10) === 0) { result = ''; } else { result = value || ''; } return result; } try { var bottomBarSafeBottomKey = '__bottom_bar_safe_bottom__'; var bottomBarSafeBottom = localStorage.getItem(bottomBarSafeBottomKey); if (bottomBarSafeBottom) { document.documentElement.style.setProperty('--immersive-safe-bottom', bottomBarSafeBottom); } var barOldlikeBtn = document.getElementById('js_bar_oldlike_btn'); var barShareBtn = document.getElementById('js_bar_share_btn'); var barLikeBtn = document.getElementById('js_bar_like_btn'); var barCommentBtn = document.getElementById('js_bar_comment_btn'); var interactionStatus = getInteractionStatus({ biz: cgiData.biz, mid: cgiData.mid, sn: cgiData.sn, idx: cgiData.idx }); if (interactionStatus.is_my_old_like) { var oldLikeEl = barOldlikeBtn.parentElement; oldLikeEl.classList.add('praised'); } if (interactionStatus.is_my_like) { var likeEl = barLikeBtn.parentElement; likeEl.classList.add('like_btn_liked'); } var old_like_count = interactionStatus.old_like_count * 1 ? Math.max(interactionStatus.old_like_count * 1, appmsgBarData.old_like_count) : appmsgBarData.old_like_count || 0; var share_count = appmsgBarData.share_count || 0; var like_count = interactionStatus.like_count * 1 ? Math.max(interactionStatus.like_count * 1, appmsgBarData.like_count) : appmsgBarData.like_count || 0; var comment_count = appmsgBarData.comment_count || 0; if (old_like_count && barOldlikeBtn) { barOldlikeBtn.innerText = formatReadNum(old_like_count); } if (share_count && barShareBtn) { barShareBtn.innerText = formatReadNum(share_count); } if (like_count && barLikeBtn) { barLikeBtn.innerText = formatReadNum(like_count); } if (comment_count && barCommentBtn) { barCommentBtn.innerText = formatReadNum(comment_count); } } catch (error) { console.log(error); } }; if (!window.__second_open__) { var tmpBarData = '' * 1; var tmpAppmsgBarData = { show_like: tmpBarData === 1 ? '' * 1 : '' * 1, like_count: tmpBarData === 1 ? '' * 1 : '' * 1, show_share: tmpBarData === 1 ? '' * 1 : '' * 1, share_count: tmpBarData === 1 ? '' * 1 : '' * 1, show_old_like: tmpBarData === 1 ? '' * 1 : '' * 1, old_like_count: tmpBarData === 1 ? '' * 1 : '' * 1, comment_enabled: tmpBarData === 1 ? '' * 1 : '' * 1, comment_count: tmpBarData === 1 ? '' * 1 : '' * 1 }; var cgiData = { idx: '1' , biz: 'MzUxMjQ1NTYyMA==' , mid: '2247526784' , sn: '5a2679e4e5ed264710bcdf8b883ebbca' }; __setBarData(tmpAppmsgBarData, cgiData); window.__setBarData = __setBarData; } return __setBarData; })();</script><script type="text/javascript" nonce="1496042457" reportloaderror>(function () { 'use strict'; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); } function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } } function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; } function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); } function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); } var classWhiteList = ['rich_pages', 'blockquote_info', 'blockquote_biz', 'blockquote_other', 'blockquote_article', 'h5_image_link', 'img_loading', 'list-paddingleft-1', 'list-paddingleft-2', 'list-paddingleft-3', 'selectTdClass', 'noBorderTable', 'ue-table-interlace-color-single', 'ue-table-interlace-color-double', '__bg_gif', 'weapp_text_link', 'weapp_image_link', 'qqmusic_area', 'tc', 'tips_global', 'unsupport_tips', 'qqmusic_wrp', 'appmsg_card_context', 'appmsg_card_active', 'qqmusic_bd', 'play_area', 'icon_qqmusic_switch', 'pic_qqmusic_default', 'qqmusic_thumb', 'access_area', 'qqmusic_songname', 'qqmusic_singername', 'qqmusic_source', 'share_audio_context', 'flex_context', 'pages_reset', 'share_audio_switch', 'icon_share_audio_switch', 'share_audio_info', 'flex_bd', 'share_audio_title', 'share_audio_tips', 'share_audio_progress_wrp', 'share_audio_progress', 'share_audio_progress_inner', 'share_audio_progress_buffer', 'share_audio_progress_loading', 'share_audio_progress_loading_inner', 'share_audio_progress_handle', 'share_audio_desc', 'share_audio_length_current', 'share_audio_length_total', 'video_iframe', 'vote_iframe', 'res_iframe', 'card_iframe', 'weapp_display_element', 'weapp_card', 'app_context', 'weapp_card_bd', 'weapp_card_profile', 'radius_avatar', 'weapp_card_avatar', 'weapp_card_nickname', 'weapp_card_info', 'weapp_card_title', 'weapp_card_thumb_wrp', 'weapp_card_ft', 'weapp_card_logo', 'pay', 'pay__mask', 'ct_geography_loc_tip', 'subsc_context', 'subsc_btn', 'reset_btn', 'icon_subsc', 'weui-primary-loading', 'weui-primary-loading__dot', 'wxw-img', 'mp-caret', 'appmsg_poi_iframe', 'cpc_iframe', 'channels_iframe_wrp', 'channels_iframe', 'videosnap_video_iframe', 'videosnap_live_iframe', 'videosnap_image_iframe', 'channels_live_iframe', 'minishop_iframe_wrp', 'minishop_iframe', 'mp_profile_iframe', 'mp_profile_iframe_wrp', 'mp_search_iframe_wrp', 'appmsg_search_iframe_wrp', 'appmsg_search_iframe', 'vote_area', 'vote_iframe', 'mp_vote_iframe_wrp', 'mp_vote_iframe', 'qqmusic_iframe', 'blockquote_iframe', 'blockquote_tips_iframe', 'video_iframe', 'shopcard_iframe', 'topic_iframe', 'weapp_app_iframe', 'img_fail_iframe', 'mp_miniprogram_iframe', 'appmsg_cpslink_iframe', 'js_editor_mpcpslink', 'mp-cpslink-iframe-wrp', 'mp_common_sticker_iframe', 'mp_common_sticker_iframe_wrp', 'mp_common_product_iframe', 'mp_common_product_iframe_wrp', 'new_cps_iframe', 'redpackage_iframe', 'mp_redpacket_iframe_wrp']; var classWhiteListReg = [new RegExp('^editor__content__'), new RegExp('^wxw'), new RegExp('^js_'), new RegExp('^cps_inner'), new RegExp('^bizsvr_'), new RegExp('^code-snippet'), new RegExp('^wx_'), new RegExp('^wx-'), new RegExp('^icon_emoji_'), new RegExp('^custom_select_card') ]; var contentStyle = { classWhiteList: classWhiteList, classWhiteListReg: classWhiteListReg }; function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); } function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } function DomFilter (cgiOptData) { return function (Plugin) { var isMMVersionSetted = false; var contentDom = document.getElementById('js_content'); var classWhiteList = contentStyle.classWhiteList, classWhiteListReg = contentStyle.classWhiteListReg; var removeClassByWhiteList = function removeClassByWhiteList(node) { var classAttr = node.getAttribute('class'); if (classAttr) { var classList = classAttr.split(/\s+/); var newClassList = []; for (var i = 0, len = classList.length; i < len; ++i) { var className = classList[i]; if (className && classWhiteList.indexOf(className) != -1) { newClassList.push(className); } else { for (var j = 0, jl = classWhiteListReg.length; j < jl; j++) { if (classWhiteListReg[j].test(className)) { newClassList.push(className); break; } } } } node.setAttribute('class', newClassList.join(' ')); } }; var langBlackList = ['zh-cn', 'en-us']; var removeLangByBlackList = function removeLangByBlackList(node) { var langAttr = node.getAttribute('lang'); if (langAttr) { var lang = langAttr.toLowerCase(); for (var i = 0; i < langBlackList.length; i++) { if (lang === langBlackList[i]) { node.removeAttribute('lang'); return; } } } }; var isAccessMode = window.localStorage.getItem('isMpUserAccessibility'); var isCarton = (cgiOptData === null || cgiOptData === void 0 ? void 0 : cgiOptData.copyright_info.is_cartoon_copyright) || (cgiOptData === null || cgiOptData === void 0 ? void 0 : cgiOptData.user_info.is_care_mode) || isAccessMode === '1'; var bgPlaceholder = 'url("data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgYGBgAAAABQABh6FO1AAAAABJRU5ErkJggg==")'; var lazyloadBackgroundImage = function lazyloadBackgroundImage(node) { if (window.__second_open__ && !isCarton && node && node.style && typeof node.getAttribute === 'function' && !node.getAttribute('data-lazy-bgimg')) { var bgImg = node.style.backgroundImage; var bgImgUrl = bgImg && bgImg.match(/url\(['"]?(.*?)['"]?\)/); if (bgImgUrl && bgImgUrl[1]) { node.style.backgroundImage = bgImg.replace(/url\(['"]?.*?['"]?\)/, bgPlaceholder); node.setAttribute('data-lazy-bgimg', bgImgUrl[1]); node.classList.add('wx_imgbc_placeholder'); } } }; return function (_Plugin) { _inherits(_class, _Plugin); function _class() { _classCallCheck(this, _class); return _callSuper(this, _class, arguments); } _createClass(_class, [{ key: "beforeConvertNode", value: function beforeConvertNode(el) { if (el && el.tagName) { var tagName = el.tagName.toLowerCase(); if (tagName !== 'iframe') { removeClassByWhiteList(el); removeLangByBlackList(el); lazyloadBackgroundImage(el); } else { if (el.getAttribute('class') === 'video_ad_iframe') { el.setAttribute('class', ''); } } } } }, { key: "afterConvertNode", value: function afterConvertNode(el) { if (!isMMVersionSetted) { var ua = navigator.userAgent; /(iPhone|iPad|iPod|iOS|mac\sos)/i.test(ua) ? contentDom.classList.add('fix_apple_default_style') : null; isMMVersionSetted = true; } if (el.style && el.style.webkitTextSizeAdjust !== '' && el.style.webkitTextSizeAdjust !== 'none') { el.style.webkitTextSizeAdjust = 'inherit'; } if (el.tagName === 'animate' && el.getAttribute('attributeName') === 'height') { var repeatCountVal = el.getAttribute('repeatCount'); if (repeatCountVal === 'indefinite' || repeatCountVal > '10') { if (el.getAttribute('begin') !== 'click' && el.getAttribute('end') !== 'click') { el.setAttribute('repeatCount', 'undefined'); el.setAttribute('attributeName', 'undefined'); new Image().src = 'https://web.archive.org/web/20240514130121/https://mp.weixin.qq.com/mp/jsmonitor?idkey=306525_1_1'; } } } if (el.tagName === 'OL') { if ((el.parentNode === document.getElementById('js_content') || el.parentNode.getAttribute('id') === 'js_secopen_content') && el.getAttribute('style') && el.getAttribute('style').indexOf('padding-left') < 0) { if (el.childNodes.length >= 10 && el.childNodes.length < 100) { el.classList.add('extra-list-padding-level1'); el.style.paddingLeft = '2.2em'; } else if (el.childNodes.length > 100) { el.classList.add('extra-list-padding-level2'); el.style.paddingLeft = '3.2em'; } } } if (el.tagName === 'MP-STYLE-TYPE') { var styleType = parseInt(el.getAttribute('data-value'), 10); if (styleType === 3) { if (el.parentNode && el.parentNode.previousSibling) { var realLastP = el.parentNode.previousSibling; if ((realLastP.tagName === 'P' || realLastP.tagName === 'SECTION') && realLastP.style && !realLastP.style.marginBottom) { realLastP.style.marginBottom = '0'; } } } } } }]); return _class; }(Plugin); }; } if (!window.__second_open__ && window.Darkmode) { var cost = 0; window.Darkmode.extend([DomFilter()]); window.Darkmode.run(document.querySelectorAll('#js_content *'), { mode: '', defaultDarkBgColor: '', error: function error() { new Image().src = 'https://web.archive.org/web/20240514130121/https://mp.weixin.qq.com/mp/jsmonitor?idkey=125617_0_1'; }, begin: function begin(isSwitch) { new Image().src = 'https://web.archive.org/web/20240514130121/https://mp.weixin.qq.com/mp/jsmonitor?idkey=125617_2_1'; isSwitch && (new Image().src = 'https://web.archive.org/web/20240514130121/https://mp.weixin.qq.com/mp/jsmonitor?idkey=125617_4_1'); cost = new Date() * 1; }, showFirstPage: function showFirstPage() { cost = new Date() * 1 - cost; var isTop = (document.documentElement.scrollTop || window.pageYOffset || document.body.scrollTop) === 0; if (cost <= 10) { new Image().src = 'https://web.archive.org/web/20240514130121/https://mp.weixin.qq.com/mp/jsmonitor?idkey=125617_6_1'; isTop && (new Image().src = 'https://web.archive.org/web/20240514130121/https://mp.weixin.qq.com/mp/jsmonitor?idkey=125617_13_1'); } else if (cost > 10 && cost <= 20) { new Image().src = 'https://web.archive.org/web/20240514130121/https://mp.weixin.qq.com/mp/jsmonitor?idkey=125617_7_1'; isTop && (new Image().src = 'https://web.archive.org/web/20240514130121/https://mp.weixin.qq.com/mp/jsmonitor?idkey=125617_14_1'); } else if (cost > 20 && cost <= 30) { new Image().src = 'https://web.archive.org/web/20240514130121/https://mp.weixin.qq.com/mp/jsmonitor?idkey=125617_8_1'; isTop && (new Image().src = 'https://web.archive.org/web/20240514130121/https://mp.weixin.qq.com/mp/jsmonitor?idkey=125617_15_1'); } else if (cost > 30 && cost <= 40) { new Image().src = 'https://web.archive.org/web/20240514130121/https://mp.weixin.qq.com/mp/jsmonitor?idkey=125617_9_1'; isTop && (new Image().src = 'https://web.archive.org/web/20240514130121/https://mp.weixin.qq.com/mp/jsmonitor?idkey=125617_16_1'); } else if (cost > 40 && cost <= 50) { new Image().src = 'https://web.archive.org/web/20240514130121/https://mp.weixin.qq.com/mp/jsmonitor?idkey=125617_10_1'; isTop && (new Image().src = 'https://web.archive.org/web/20240514130121/https://mp.weixin.qq.com/mp/jsmonitor?idkey=125617_17_1'); } else if (cost > 50 && cost <= 60) { new Image().src = 'https://web.archive.org/web/20240514130121/https://mp.weixin.qq.com/mp/jsmonitor?idkey=125617_11_1'; isTop && (new Image().src = 'https://web.archive.org/web/20240514130121/https://mp.weixin.qq.com/mp/jsmonitor?idkey=125617_18_1'); } else { new Image().src = 'https://web.archive.org/web/20240514130121/https://mp.weixin.qq.com/mp/jsmonitor?idkey=125617_12_1'; isTop && (new Image().src = 'https://web.archive.org/web/20240514130121/https://mp.weixin.qq.com/mp/jsmonitor?idkey=125617_19_1'); } } }); document.getElementById('js_content').style.visibility = 'visible'; } })();</script><script type="text/javascript" nonce="1496042457" reportloaderror>var __INLINE_SCRIPT__ = (function (exports) { 'use strict'; function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); } function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } function _arrayLikeToArray$1(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray$1(arr); } function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } function _unsupportedIterableToArray$1(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray$1(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$1(o, minLen); } function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray$1(arr) || _nonIterableSpread(); } function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; } function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } function updateProfileAttr(profiles, infos) { if (!profiles || !Array.isArray(profiles) || !infos || !Array.isArray(infos)) { return; } var _iterator = _createForOfIteratorHelper(profiles), _step; try { for (_iterator.s(); !(_step = _iterator.n()).done;) { var profile = _step.value; var profileId = profile.getAttribute('data-id'); var profileInfo = findBizCardInfo(infos, profileId); if (profileInfo) { var is_biz_ban = profileInfo.is_biz_ban, original_num = profileInfo.original_num, biz_account_status = profileInfo.biz_account_status; profile.setAttribute('data-origin_num', original_num * 1); profile.setAttribute('data-is_biz_ban', is_biz_ban * 1); profile.setAttribute('data-isban', is_biz_ban * 1); profile.setAttribute('data-biz_account_status', biz_account_status * 1); } } } catch (err) { _iterator.e(err); } finally { _iterator.f(); } } function findBizCardInfo(infos, id) { return infos.find(function (info) { return info.fakeid === id; }); } function dealWithProfileData(data) { var _data$biz_card; if (!window.__second_open__) { return data; } var profileData = (data === null || data === void 0 ? void 0 : (_data$biz_card = data.biz_card) === null || _databiz_card.list) || []; profileData.map(function (item) { return item['original_num'] = item['orignal_num']; }); return profileData; } function updateCustomElementAttrs(dom, data) { if (!dom || !data) return; var profiles = dom.querySelectorAll('mp-common-profile'); updateProfileAttr(Array.from(profiles), dealWithProfileData(data)); } function preprocessMpAudios(dom, data) { var voiceList = window.__second_open__ ? data === null || data === void 0 ? void 0 : data.voice_in_appmsg_list_json : data.voiceList; if (typeof voiceList === 'string') { try { voiceList = JSON.parse(voiceList); } catch (e) { return; } } if (!dom || !voiceList) return; var albumlist = []; if (voiceList.voice_in_appmsg && voiceList.voice_in_appmsg.length > 0) { albumlist = voiceList.voice_in_appmsg; } var mpvoices = _toConsumableArray(dom.querySelectorAll('mpvoice')); mpvoices.forEach(function (mpvoice) { var mpaudio = document.createElement('mp-common-mpaudio'); var attrs = mpvoice.getAttributeNames().reduce(function (acc, name) { if (name === 'data-trans_state' || name === 'err_tips') return acc; return _objectSpread(_objectSpread({}, acc), {}, _defineProperty({}, name, mpvoice.getAttribute(name))); }, {}); for (var key in attrs) { mpaudio.setAttribute(key, attrs[key]); } mpaudio.setAttribute('data-trans_state', 1); mpvoice.parentNode.replaceChild(mpaudio, mpvoice); }); var mpaudios = _toConsumableArray(dom.querySelectorAll('mp-common-mpaudio')); mpaudios.forEach(function (mpaudio) { mpaudio.style.opacity = 0; mpaudio.setAttribute('author', data.nick_name || ''); var album = albumlist.find(function (a) { var voice_encode_fileid = mpaudio.getAttribute('voice_encode_fileid'); try { voice_encode_fileid = decodeURIComponent(voice_encode_fileid); } catch (e) {} return a.voice_id === voice_encode_fileid && a.appmsgalbuminfo; }); if (album) { mpaudio.setAttribute('data-topic_id', album.appmsgalbuminfo.album_id || 0); mpaudio.setAttribute('data-topic_name', album.appmsgalbuminfo.title || ''); mpaudio.setAttribute('data-topic_link', album.appmsgalbuminfo.link.html(false).replace('#wechat_redirect', '') + '#wechat_redirect'); mpaudio.setAttribute('data-topic_num', album.appmsgalbuminfo.tag_content_num || 0); } }); var claudios = _toConsumableArray(dom.querySelectorAll('mp-common-claudio')); claudios.forEach(function (claudio) { claudio.style.opacity = 0; }); } function handleTagReplacement(ele, newTagName) { var newTag = document.createElement(newTagName); var _iterator2 = _createForOfIteratorHelper(ele.attributes), _step2; try { for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) { var attr = _step2.value; newTag.setAttribute(attr.name, attr.value); } } catch (err) { _iterator2.e(err); } finally { _iterator2.f(); } newTag.innerHTML = ele.innerHTML; ele.parentNode.replaceChild(newTag, ele); return newTag; } function preprocessMpMusic(root) { var qqmusicEles = _toConsumableArray(root.querySelectorAll('qqmusic')); qqmusicEles.forEach(function (ele) { return handleTagReplacement(ele, 'mp-common-qqmusic'); }); } if (!window.__second_open__) { updateCustomElementAttrs(window.document, window.mp_profile); preprocessMpAudios(window.document, { voiceList: window.voiceList, nick_name: window.nickname }); preprocessMpMusic(window.document); } exports.preprocessMpAudios = preprocessMpAudios; exports.preprocessMpMusic = preprocessMpMusic; exports.updateCustomElementAttrs = updateCustomElementAttrs; exports.updateProfileAttr = updateProfileAttr; Object.defineProperty(exports, '__esModule', { value: true }); return exports; })({});</script><script type="text/javascript" nonce="1496042457" reportloaderror>var __INLINE_SCRIPT__ = (function (exports) { 'use strict'; function setProfileName() { var ua = window.navigator.userAgent; if (/wxwork/i.test(ua)) { var profileName = document.getElementById('js_name'); var authorName = document.getElementById('js_author_name'); var accountNames = document.getElementsByClassName('account_nickname_inner'); if (profileName) { profileName.classList.add('tips_global_primary'); } if (authorName) { authorName.classList.add('tips_global_primary'); } if (accountNames && accountNames.length) { accountNames[0].classList.add('tips_global_primary'); } } } if (!window.__second_open__) { setProfileName(); } exports.setProfileName = setProfileName; Object.defineProperty(exports, '__esModule', { value: true }); return exports; })({});</script><script type="text/javascript" nonce="1496042457" reportloaderror>var __INLINE_SCRIPT__ = (function () { 'use strict'; var Device = {}; function detect(ua) { var MQQBrowser = ua.match(/MQQBrowser\/(\d+\.\d+)/i); var MQQClient = ua.match(/QQ\/(\d+\.(\d+)\.(\d+)\.(\d+))/i) || ua.match(/V1_AND_SQ_([\d\.]+)/); var WeChat = ua.match(/MicroMessenger\/((\d+)\.(\d+))\.(\d+)/) || ua.match(/MicroMessenger\/((\d+)\.(\d+))/); var MacOS = ua.match(/Mac\sOS\sX\s(\d+[\.|_]\d+)/); var WinOS = ua.match(/Windows(\s+\w+)?\s+?(\d+\.\d+)/); var Linux = ua.match(/Linux\s/); var MiuiBrowser = ua.match(/MiuiBrowser\/(\d+\.\d+)/i); var M1 = ua.match(/MI-ONE/); var MIPAD = ua.match(/MI PAD/); var UC = ua.match(/UCBrowser\/(\d+\.\d+(\.\d+\.\d+)?)/) || ua.match(/\sUC\s/); var IEMobile = ua.match(/IEMobile(\/|\s+)(\d+\.\d+)/) || ua.match(/WPDesktop/); var ipod = ua.match(/(ipod).*\s([\d_]+)/i); var ipad = ua.match(/(ipad).*\s([\d_]+)/i); var iphone = ua.match(/(iphone)\sos\s([\d_]+)/i); var Chrome = ua.match(/Chrome\/(\d+\.\d+)/); var AndriodBrowser = ua.match(/Mozilla.*Linux.*Android.*AppleWebKit.*Mobile Safari/); var android = ua.match(/(android)\s([\d\.]+)/i); Device.browser = Device.browser || {}, Device.os = Device.os || {}; if (window.ActiveXObject) { var vie = 6; (window.XMLHttpRequest || ua.indexOf('MSIE 7.0') > -1) && (vie = 7); (window.XDomainRequest || ua.indexOf('Trident/4.0') > -1) && (vie = 8); ua.indexOf('Trident/5.0') > -1 && (vie = 9); ua.indexOf('Trident/6.0') > -1 && (vie = 10); Device.browser.ie = true, Device.browser.version = vie; } else if (ua.indexOf('Trident/7.0') > -1) { Device.browser.ie = true, Device.browser.version = 11; } if (android) { Device.os.android = true; Device.os.version = android[2]; } if (ipod) { Device.os.ios = Device.os.ipod = true; Device.os.version = ipod[2].replace(/_/g, '.'); } if (ipad) { Device.os.ios = Device.os.ipad = true; Device.os.version = ipad[2].replace(/_/g, '.'); } if (iphone) { Device.os.iphone = Device.os.ios = true; Device.os.version = iphone[2].replace(/_/g, '.'); } if (WinOS) Device.os.windows = true, Device.os.version = WinOS[2]; if (MacOS) Device.os.Mac = true, Device.os.version = MacOS[1]; if (Linux) Device.os.Linux = true; if (ua.indexOf('lepad_hls') > 0) Device.os.LePad = true; if (MIPAD) Device.os.MIPAD = true; if (MQQBrowser) Device.browser.MQQ = true, Device.browser.version = MQQBrowser[1]; if (MQQClient) Device.browser.MQQClient = true, Device.browser.version = MQQClient[1]; if (WeChat) Device.browser.WeChat = true, Device.browser.mmversion = Device.browser.version = WeChat[1]; if (MiuiBrowser) Device.browser.MIUI = true, Device.browser.version = MiuiBrowser[1]; if (UC) Device.browser.UC = true, Device.browser.version = UC[1] || NaN; if (IEMobile) Device.browser.IEMobile = true, Device.browser.version = IEMobile[2]; if (AndriodBrowser) { Device.browser.AndriodBrowser = true; } if (M1) { Device.browser.M1 = true; } if (Chrome) { Device.browser.Chrome = true, Device.browser.version = Chrome[1]; } if (Device.os.windows) { if (typeof navigator.platform !== "undefined" && navigator.platform.toLowerCase() == "win64") { Device.os.win64 = true; } else { Device.os.win64 = false; } } if (Device.os.Mac || Device.os.windows || Device.os.Linux) { Device.os.pc = true; } var osType = { iPad7: 'iPad; CPU OS 7', LePad: 'lepad_hls', XiaoMi: 'MI-ONE', SonyDTV: "SonyDTV", SamSung: 'SAMSUNG', HTC: 'HTC', VIVO: 'vivo' }; for (var os in osType) { Device.os[os] = ua.indexOf(osType[os]) !== -1; } Device.os.phone = Device.os.phone || /windows phone/i.test(ua); Device.os.getNumVersion = function () { return parseFloat(Device.os.version); }; Device.os.hasTouch = 'ontouchstart' in window; if (Device.os.hasTouch && Device.os.ios && Device.os.getNumVersion() < 6) { Device.os.hasTouch = false; } if (Device.browser.WeChat && Device.browser.version < 5.0) { Device.os.hasTouch = false; } Device.browser.getNumVersion = function () { return parseFloat(Device.browser.version); }; Device.browser.isFFCanOcx = function () { return !!Device.browser.firefox && Device.browser.getNumVersion() >= 3.0; }; Device.browser.isCanOcx = function () { return !!Device.os.windows && (!!Device.browser.ie || Device.browser.isFFCanOcx() || !!Device.browser.webkit); }; Device.browser.isNotIESupport = function () { return !!Device.os.windows && (!!Device.browser.webkit || Device.browser.isFFCanOcx()); }; Device.userAgent = {}; Device.userAgent.browserVersion = Device.browser.version; Device.userAgent.osVersion = Device.os.version; Device.os.unifiedPC = ua.match(/UnifiedPC/); delete Device.userAgent.version; } detect(window.navigator.userAgent); function canSupportH5Video() { var ua = window.navigator.userAgent, m = null; if (!!Device.os.android) { if (Device.browser.MQQ && Device.browser.getNumVersion() >= 4.2) { return true; } if (ua.indexOf('MI2') != -1) { return true; } if (Device.os.version >= '4' && (m = ua.match(/MicroMessenger\/((\d+)\.(\d+))\.(\d+)/))) { if (parseFloat(m[1]) >= 4.2) { return true; } } if (Device.os.version >= '4.1') { return true; } } return false; } function canSupportVideoMp4() { var video = document.createElement('video'); if (typeof video.canPlayType === 'function') { if (video.canPlayType('video/mp4; codecs="mp4v.20.8"') === 'probably') { return true; } if (video.canPlayType('video/mp4; codecs="avc1.42E01E"') === 'probably' || video.canPlayType('video/mp4; codecs="avc1.42E01E, mp4a.40.2"') === 'probably') { return true; } } return false; } function canSupportAutoPlay() { if (Device.os.ios && Device.os.getNumVersion() < 10) { return false; } return true; } function isLockdownMode() { if (!Device.os.ios || Device.os.getNumVersion() < 16) { return false; } if (typeof WebAssembly === 'undefined' && typeof OfflineAudioContext === 'undefined' && typeof WebGLRenderingContext === 'undefined') { return true; } return false; } Device.canSupportVideo = canSupportVideoMp4 || canSupportH5Video; Device.canSupportVideoMp4 = canSupportVideoMp4; Device.canSupportH5Video = canSupportH5Video; Device.canSupportAutoPlay = canSupportAutoPlay; Device.isLockdownMode = isLockdownMode; var __setFeedback = function __setFeedback() { var richMediaMetaAll = document.querySelectorAll('.rich_media_meta'); var richMediaMetaList = document.querySelector('.rich_media_meta_list'); var richMediaMeta = Array.prototype.filter.call(richMediaMetaAll, function (element) { var style = window.getComputedStyle(element); return style.display !== 'none' && style.visibility !== 'hidden' && style.opacity !== '0'; }); if (richMediaMeta.length >= 2) { var gap = richMediaMetaList.clientWidth - (richMediaMeta[richMediaMeta.length - 2].offsetLeft + richMediaMeta[richMediaMeta.length - 2].offsetWidth) - richMediaMeta[richMediaMeta.length - 1].offsetWidth; if (gap < 16) { var breakElement = document.createElement('div'); breakElement.style.display = 'block'; richMediaMeta[richMediaMeta.length - 2].parentNode.insertBefore(breakElement, richMediaMeta[richMediaMeta.length - 2]); } } }; if (!window.__second_open__) { window.can_feedback && !Device.os.pc && __setFeedback(); } return __setFeedback; })();</script> <script type="text/javascript" nonce="1496042457" reportloaderror> (function(_g){ _g.appmsg_like_type = "2" * 1 ? "2" * 1 : 1; _g.clientversion = ""; _g.passparam = ""; if(!_g.msg_link) { _g.msg_link = "https://web.archive.org/web/20240514130121/http://mp.weixin.qq.com/s?__biz=MzUxMjQ1NTYyMA==&amp;mid=2247526784&amp;idx=1&amp;sn=5a2679e4e5ed264710bcdf8b883ebbca&amp;chksm=f9660f2bce11863dd6fc131fd0e3ead63ea9bb536db60283b9962e017dfa878d45f4fc4e8e5c#rd"; } _g.appmsg_type = "9"; _g.devicetype = ""; _g.kanyikan_video_educate_pic = "//web.archive.org/web/20240514130121/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/images/pic/pic_like_comment_primary6df640.png"; _g.kanyikan_educate_pic = "//web.archive.org/web/20240514130121/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/images/pic/pic_like_comment6df640.png"; })(window); </script> <script type="text/javascript" nonce="1496042457" reportloaderror> (function() { var ua = navigator.userAgent; if (ua.indexOf("MicroMessenger") != -1 && ua.indexOf("Android") != -1){ var script = document.createElement('script'); var head = document.getElementsByTagName('head')[0]; script.type = 'text/javascript'; script.src = "https://web.archive.org/web/20240514130121/https://midas.gtimg.cn/h5sdk/js/api/h5sdk.js"; head.appendChild(script); } })(); </script> <script type="text/javascript" nonce="1496042457" reportloaderror> var real_show_page_time = +new Date(); if (!!window.addEventListener){ window.addEventListener("load", function(){ window.onload_endtime = +new Date(); }); } </script> <script nomodule nonce="1496042457" reportloaderror>new Image().src='https://web.archive.org/web/20240514130121/https://mp.weixin.qq.com/mp/jsmonitor?idkey=66881_111_1&t='+Math.random();</script> <script nomodule nonce="1496042457" reportloaderror>!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",(function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()}),!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script> <script nomodule crossorigin id="vite-legacy-polyfill" src="//web.archive.org/web/20240514130121js_/https://res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/polyfills-legacy.lw6bqnv0cadd38f0.js" nonce="1496042457" reportloaderror></script> <script nomodule crossorigin id="vite-legacy-entry" data-src="//res.wx.qq.com/mmbizappmsg/zh_CN/htmledition/js/assets/appmsg-legacy.lw6bqnv077952b9e.js" nonce="1496042457" reportloaderror>System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script> </body> </html> <!-- FILE ARCHIVED ON 13:01:21 May 14, 2024 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 14:27:14 Nov 25, 2024. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). --> <!-- playback timings (ms): captures_list: 1.438 exclusion.robots: 0.062 exclusion.robots.policy: 0.038 esindex: 0.015 cdx.remote: 20.639 LoadShardBlock: 289.597 (3) PetaboxLoader3.datanode: 108.495 (4) PetaboxLoader3.resolve: 159.076 (2) load_resource: 194.516 -->