他本是伴郎,无奈整顿了菏泽执法……
金融街1号狙击手
Weixin IDgh_4b999c6473e8
About Feature本公众号紧跟金融和法律八卦,紧跟时事问题,既做评论也追八卦。
2024-02-02 21:54**Posted on 北京
近日,一篇《要求查房人员出示警察证后,我被背铐至派出所》的文章引发关注。
据悉,被铐走的是一名毕业于西南政法大学的实习律师辩护人小柴 ,他因为让查房人员出示警察证件被用手铐强制带走。据其文章讲述,查房的原因是酒店存在登记不规范的问题,而他被戴手铐很莫名其妙。
2月2日,大河报·豫视频记者致电山东省菏泽市公安局宣传处,工作人员称不太了解,无法对外发声。
知情人士表示,实际发生地为山东省菏泽市,涉事派出所系牡丹区公安分局牡丹南路派出所。该分局分管副局长被记大过,派出所所长、带班所长被停职处理,当日值班民警停职检查,涉事的所有协警被开除处理。
当涉事警察、协警想到那一晚被他们嘲弄的卑微小子,究竟会是何种感想。
读书玩媒体确实有点用……
以下为详细过程:
预览时标签不可点
People who liked this content also liked
⻓沙美⼥局⻓与小狼狗不雅聊天记录实录
⻓沙美⼥局⻓与小狼狗不雅聊天记录实录
金融街1号狙击手
不喜欢
不看的原因
OK
- 内容质量低
- 不看此公众号
“公募一哥”王亚伟被曝已失联多日!
“公募一哥”王亚伟被曝已失联多日!
金融街1号狙击手
不喜欢
不看的原因
OK
- 内容质量低
- 不看此公众号
无人问津处什么时候来临
无人问津处什么时候来临
金融街1号狙击手
不喜欢
不看的原因
OK
- 内容质量低
- 不看此公众号
Cancel
Comment
My Comments
Show My Comments
留言被精选后将公开
0条留言
全部留言
已无更多数据
After being approved, comments along with IP regions are visible to everyone.
Close
Comment
Submit更多
Comment
Scan to Follow
继续滑动看下一个
他本是伴郎,无奈整顿了菏泽执法……
轻触阅读原文
金融街1号狙击手
Like
Share
Wow
向上滑动看下一个
当前内容可能存在未经审核的第三方商业营销信息,请确认是否继续访问。
Scan with Weixin to
use this Mini Program
var totalCount = 0,
finishCount = 0;
function _addVConsole(uri, cb) {
totalCount++;
var node = document.createElement('SCRIPT');
node.type = 'text/javascript';
node.src = uri;
node.setAttribute('nonce', '1030422481');
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
) {
_addVConsole('https://mp.weixin.qq.com/mmbizappmsg/zh_CN/htmledition/js/scripts/vconsole-3.14.6.js', function () {
var vConsole = new window.VConsole();
});
}
})();var INLINE_SCRIPT = (function () {
'use strict';
var __setTitle = function __setTitle(showTitle, dom) {
var title = showTitle;
if (showTitle.indexOf('——') > -1) {
var replaceHtml = '——';
showTitle = showTitle.replace(/——/g, replaceHtml);
}
if (dom) {
dom.innerHTML = dom.innerHTML.replace(title, showTitle);
}
};
if (!window.second_open) {
var title = '他本是伴郎,无奈整顿了菏泽执法……';
__setTitle(title, document.getElementById('activity-name'));
window.__setTitle = __setTitle;
}
return __setTitle;
})();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 = '1706966087';
var oriCreateTime = '1706882095';
var createTime = '2024-02-02 21:54';
__setPubTime(svrDate, oriCreateTime, createTime, document.getElementById('publish_time'));
window.__setPubTime = __setPubTime;
}
return __setPubTime;
})();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 = "" || "" || "2247486313";
var biz = "" || "Mzg3Mjc2MjM0OA==";
var sessionid = "" || "svr_b476f87bf0a";
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_4b999c6473e8";
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 + "//mp.weixin.qq.com/mp/readtemplate?t=pages/video_player_tmpl&auto=0&vid=" + vid);
} else {
a.setAttribute("data-src", location.protocol + "//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 + "//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 = "";
}
}
}
}
})();
})();(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: '',
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-sticker',
genId: function genId(opt) {
return opt.node.getAttribute('data-md5') || '';
},
calW: function calW() {
return 120;
},
calH: function calH() {
return 120;
},
replaceContentCssText: '',
appendContentCssText: 'diplay:block;',
outerContainerLeft: '<div style="display: flex; justify-content: center;">',
outerContainerRight: '</div>'
}, {
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 = ["`", "`", "'", "'", """, '"', " ", " ", ">", ">", "<", "<", "¥", "¥", "&", "&"];
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 || '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 "break";
}
if (window.second_open && videos[vi].getAttribute('sec_open_place_holder')) {
return "continue";
}
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 "continue";
}
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 = '';
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://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) {}
});
};
for (var vi = 0, viLen = videos.length; vi < viLen; vi++) {
var _ret = _loop();
if (_ret === "break") break;
if (_ret === "continue") 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 = "//mp.weixin.qq.com/mp/jsmonitor?idkey=330742_20_".concat(hasWidthHeightCount, "&r=").concat(Math.random()));
noWidthHeightCount && (new Image().src = "//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 = "//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_4b999c6473e8";
var isCartoonCopyright = '0';
var is_care_mode = '';
var createTimestamp = '1706882095';
var picturePageInfoList = "[{'cdn_url':'http://mmbiz.qpic.cn/sz_mmbiz_jpg/72ibYDJe2kCde43LW4XGLK9sSQsHvVD7FjP0kKjJaXicpClhFG9Pozmczticru3SJ2msEWwNMZcP7fORxrs3gcOiaQ/0?wx_fmt=jpeg','width':'0','height':'0'},{'cdn_url':'http://mmbiz.qpic.cn/sz_mmbiz_jpg/72ibYDJe2kCde43LW4XGLK9sSQsHvVD7FzI3gP8oRgUdjWB1K8LXwicUBSetOOQicbf0ic2WRugiaGwzbViag7mEKgicw/0?wx_fmt=jpeg','width':'0','height':'0'},]";
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);
})();(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-sticker',
genId: function genId(opt) {
return opt.node.getAttribute('data-md5') || '';
},
calW: function calW() {
return 120;
},
calH: function calH() {
return 120;
},
replaceContentCssText: '',
appendContentCssText: 'diplay:block;',
outerContainerLeft: '<div style="display: flex; justify-content: center;">',
outerContainerRight: '</div>'
}, {
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();
})();function htmlDecode(str) {
return str
.replace(/'/g, ''')
.replace(/<br\s*(/)?\s*>/g, '\n')
.replace(/ /g, ' ')
.replace(/</g, '<')
.replace(/>/g, '>')
.replace(/"/g, '"')
.replace(/&/g, '&')
.replace(/ /g, ' ');
}
var use_h5webtransfer = "0" * 1;
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 = "" || "Mzg3Mjc2MjM0OA==";
var voiceid = "";
var create_time = "1706882095" * 1;
var source = "";
var ascene = "";
var subscene = "";
var sessionid = "" || "svr_b476f87bf0a";
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("金融街1号狙击手");
var appmsg_type = "9";
var ct = "1706882095";
var user_name = "gh_4b999c6473e8";
var fakeid = "";
var version = "";
var is_limit_user = "0";
var cps_article_data = "";
var round_head_img = "http://mmbiz.qpic.cn/mmbiz_png/72ibYDJe2kCeajd8lkjf4f4a0BuyDLe7C25nwadHQs2LXgEsrzliaibPDia5rS4AicjCfepHhB0QC4KH55rmOQUmLPA/0?wx_fmt=png";
var hd_head_img = "http://wx.qlogo.cn/mmhead/Q3auHgzwzM7k9q55M4ufIVBErVibE8JsNbQD1INzbicewvMicxqxPb9NQ/0" || "";
var ori_head_img_url = "http://wx.qlogo.cn/mmhead/Q3auHgzwzM7k9q55M4ufIVBErVibE8JsNbQD1INzbicewvMicxqxPb9NQ/132";
var msg_title = '他本是伴郎,无奈整顿了菏泽执法……'.html(false);
var msg_desc = htmlDecode("");
var msg_cdn_url = "https://mmbiz.qpic.cn/sz_mmbiz_jpg/72ibYDJe2kCde43LW4XGLK9sSQsHvVD7FBIZU23iaHIsKj3TdEIsbqvOSbM0F8pKXsBHkKuj0OxVhL8Pe8AcletQ/0?wx_fmt=jpeg";
var cdn_url_1_1 = "https://mmbiz.qpic.cn/sz_mmbiz_jpg/72ibYDJe2kCde43LW4XGLK9sSQsHvVD7FiaVd20kdhbIDLopYzQp738hws5mhnJ9KWeubTvhELdKUZ5FHnCrhcnA/0?wx_fmt=jpeg";
var cdn_url_235_1 = "https://mmbiz.qpic.cn/sz_mmbiz_jpg/72ibYDJe2kCde43LW4XGLK9sSQsHvVD7FBIZU23iaHIsKj3TdEIsbqvOSbM0F8pKXsBHkKuj0OxVhL8Pe8AcletQ/0?wx_fmt=jpeg";
var msg_link = "http://mp.weixin.qq.com/s?__biz=Mzg3Mjc2MjM0OA==&mid=2247486313&idx=1&sn=2323843c5bdf42f9b8b578d91b2bd459&chksm=ceeb15eaf99c9cfcd506e1f97f3940dffefc3d103aab27ae31e6c4b59e65558ed67bebf6705b#rd";
var user_uin = "" * 1;
var msg_source_url = '';
var img_format = 'jpeg';
var srcid = '';
var req_id = '0321Ak5ndUnd7vIuMgzfV8Pl';
var networkType;
var appmsgid = "2247486313" || '' || '';
var comment_id = "0" || "0" * 1;
var mp_comment_id = "3275212239947382784" || "3275212239947382784" * 1;
var comment_enabled = "" * 1;
var open_fansmsg = "1" * 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: "http://wx.qlogo.cn/mmhead/Q3auHgzwzM7k9q55M4ufIVBErVibE8JsNbQD1INzbicewvMicxqxPb9NQ/0" || (window.location.protocol + "//" + window.location.host + "//res.wx.qq.com/mmbizappmsg/en_US/htmledition/js/images/pic/pic_rumor_link6bb831.jpg"),
has_red_packet_cover: "0" * 1 || 0,
minishopCardData: ""
};
var _empty_v = "//res.wx.qq.com/mmbizappmsg/en_US/htmledition/js/audios/empty6bb831.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 = "//res.wx.qq.com/mmbizappmsg/en_US/htmledition/js/images/icon/emotion/icon_emotion_switch6bb831.svg";
var icon_emotion_switch_active = "//res.wx.qq.com/mmbizappmsg/en_US/htmledition/js/images/icon/emotion/icon_emotion_switch_active6bb831.svg";
var icon_emotion_switch_primary = "//res.wx.qq.com/mmbizappmsg/en_US/htmledition/js/images/icon/emotion/icon_emotion_switch_primary6bb831.svg";
var icon_emotion_switch_active_primary = "//res.wx.qq.com/mmbizappmsg/en_US/htmledition/js/images/icon/emotion/icon_emotion_switch_active_primary6bb831.svg";
var icon_loading_white = "//res.wx.qq.com/mmbizappmsg/en_US/htmledition/js/images/icon/common/icon_loading_white6bb831.gif";
var icon_audio_unread = "//res.wx.qq.com/mmbizappmsg/en_US/htmledition/js/images/icon/audio/icon_audio_unread6bb831.png";
var icon_qqmusic_default = "//res.wx.qq.com/mmbizappmsg/en_US/htmledition/js/images/icon/audio/icon_qqmusic_default6bb831.png";
var icon_qqmusic_source = "//res.wx.qq.com/mmbizappmsg/en_US/htmledition/js/images/icon/audio/icon_qqmusic_source6bb831.svg";
var icon_kugou_source = "//res.wx.qq.com/mmbizappmsg/en_US/htmledition/js/images/icon/audio/icon_kugou_source6bb831.png";
var topic_default_img = '//res.wx.qq.com/mmbizappmsg/en_US/htmledition/js/images/pic/pic_book_thumb6bb831.png';
var comment_edit_icon = '//res.wx.qq.com/mmbizappmsg/en_US/htmledition/js/images/icon/common/icon_edit6bb831.png';
var comment_loading_img = '//res.wx.qq.com/mmbizappmsg/en_US/htmledition/js/images/icon/common/icon_loading_white6bb831.gif';
var comment_c2c_not_support_img = '//res.wx.qq.com/mmbizappmsg/en_US/htmledition/js/images/pic/pic_discuss_more6bb831.png';
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 = [
{
fakeid: 'Mzg5ODk3ODExOQ==',
nickname: '中环2炮手',
alias: '',
round_head_img: 'http://mmbiz.qpic.cn/mmbiz_png/KLST0HEkhe8XfnIprL5IhnAve4F3vOV7TRvS53jCTS6hFGLGiazqx7YRUtbdtZEy7CvPcRtojmIyXtOSib8758ng/0?wx_fmt=png',
signature: '聚焦法律、时政、八卦',
original_num: '2' * 1,
is_biz_ban: '0' * 1,
biz_account_status: '0' * 1,
username: 'gh_29d10d46f4e0'
}
, {
fakeid: 'MzkyNzM5NjQxNw==',
nickname: '终南山2号观察手',
alias: '',
round_head_img: 'http://mmbiz.qpic.cn/mmbiz_png/ejxh8KjZBINBUW79XKr4JpqXekYj3jz0RRWVl4V06xVfWhR2emLT2VWR8iboVb23ibDnjD20CGRxdT0bbiaRInOkA/0?wx_fmt=png',
signature: '关注历史、八卦、法律、金融等消息',
original_num: '9' * 1,
is_biz_ban: '0' * 1,
biz_account_status: '0' * 1,
username: 'gh_600f0c5db255'
}
];
var ban_scene = "0" * 1;
var ban_jump_link = {
};
var svr_time = "1706966087" * 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 = '0' * 1;
var hasRelatedArticleInfo = '0' * 1 || 0;
var relatedArticleFlag = '' * 1 || 0;
var canUseAutoTypeSetting;
canUseAutoTypeSetting = '0' * 1 || 0;
var styleType = '10000';
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 = "金融街1号狙击手";
var is_new_msg = true;
var is_wash = '' * 1;
var topbarEnable = false;
var enterid = "1706966087" * 1 || "" * 1 || parseInt(Date.now() / 1000);
var reloadid = '' * 1 || parseInt(Date.now() / 1000);
var reloadseq = '' * 1 || 1;
var miniprogram_appid = "";
var defaultAvatarUrl = '//res.wx.qq.com/mmbizappmsg/en_US/htmledition/js/images/icon/common/icon_avatar_default6bb831.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 previewPercen
登录后可查看完整内容,参与讨论!
立即登录