网页宽屏

适配了半次元、微信公众号、知乎、掘金、简书、贴吧、百度搜索、搜狗搜索、segmentfault、哔哩哔哩、微博、豆瓣、今日头条、Google、CSDN、crates.io、米游社原神

  1. // ==UserScript==
  2. // @name 网页宽屏
  3. // @version 2.15.16
  4. // @description 适配了半次元、微信公众号、知乎、掘金、简书、贴吧、百度搜索、搜狗搜索、segmentfault、哔哩哔哩、微博、豆瓣、今日头条、Google、CSDN、crates.io、米游社原神
  5. // @author sakura-flutter
  6. // @namespace https://github.com/sakura-flutter/tampermonkey-scripts
  7. // @license GPL-3.0
  8. // @compatible chrome Latest
  9. // @compatible firefox Latest
  10. // @compatible edge Latest
  11. // @run-at document-start
  12. // @noframes
  13. // @match https://bcy.net/item/detail/*
  14. // @match https://mp.weixin.qq.com/s*
  15. // @match https://zhuanlan.zhihu.com/p/*
  16. // @match https://www.zhihu.com/question/*
  17. // @match https://www.zhihu.com/
  18. // @match https://www.zhihu.com/follow
  19. // @match https://www.zhihu.com/hot*
  20. // @match https://www.zhihu.com/topic*
  21. // @match https://juejin.cn/post/*
  22. // @match https://www.jianshu.com/p/*
  23. // @match https://www.baidu.com/s*
  24. // @match https://www.baidu.com/?*
  25. // @match https://www.baidu.com/
  26. // @match https://www.sogou.com/web*
  27. // @match https://tieba.baidu.com/p/*
  28. // @match https://tieba.baidu.com/f?*
  29. // @match https://segmentfault.com/a/*
  30. // @match https://segmentfault.com/q/*
  31. // @match https://www.bilibili.com/read/cv*
  32. // @match https://t.bilibili.com/*
  33. // @match https://space.bilibili.com/*
  34. // @match https://www.weibo.com/*
  35. // @match https://weibo.com/*
  36. // @match https://d.weibo.com/*
  37. // @match https://www.douban.com/gallery/*
  38. // @match https://www.douban.com/note/*
  39. // @match https://movie.douban.com/subject/*
  40. // @match https://movie.douban.com/review/*
  41. // @match https://www.toutiao.com/*
  42. // @match https://crates.io/crates/*
  43. // @match https://bbs.mihoyo.com/*
  44. // @include /^https:\/\/www\.google\..{2,7}search/
  45. // @include /^https:\/\/blog\.csdn\.net\/(\w|-)+\/article\/details\//
  46. // @grant unsafeWindow
  47. // @grant GM_registerMenuCommand
  48. // @grant GM_addStyle
  49. // @grant GM_setValue
  50. // @grant GM_getValue
  51. // @grant GM_deleteValue
  52. // @grant GM_addValueChangeListener
  53. // @grant GM_removeValueChangeListener
  54. // @require https://unpkg.com/vue@3.2.37/dist/vue.runtime.global.prod.js
  55. // @require https://gf.qytechs.cn/scripts/411093-toast/code/Toast.js?version=1081231
  56. // ==/UserScript==
  57.  
  58. /******/ (() => { // webpackBootstrap
  59. /******/ "use strict";
  60. /******/ var __webpack_modules__ = ({
  61.  
  62. /***/ 5482:
  63. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  64.  
  65. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  66. /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
  67. /* harmony export */ });
  68. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8081);
  69. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
  70. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3645);
  71. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
  72. // Imports
  73.  
  74.  
  75. var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
  76. // Module
  77. ___CSS_LOADER_EXPORT___.push([module.id, ".skr-button{border:1px solid;border-radius:2px;box-shadow:var(--skr-button-box-shadow);cursor:pointer;line-height:1.5715;transition:var(--skr-button-transition)}.skr-button:hover{filter:brightness(1.15)}.skr-button:focus:not(:focus-visible){outline:0}.skr-button--primary{background-color:var(--skr-primary-color);border-color:var(--skr-primary-color);color:var(--skr-text-inverse-color)}.skr-button--default{background-color:var(--skr-white-color);border-color:var(--skr-border-color);color:var(--skr-text-primary-color)}.skr-button--default:hover{border-color:currentcolor;color:var(--skr-primary-color);filter:brightness(1)}.skr-button--round{border-radius:50%}.skr-button--shadow{box-shadow:var(--skr-box-shadow-normal)}.skr-button--mini{font-size:12px;padding:2px 7px}.skr-button--small{font-size:12px;padding:4px 8px}.skr-button--normal{font-size:14px;padding:4px 15px}.skr-button--large{font-size:15px;padding:10px 20px}", ""]);
  78. // Exports
  79. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
  80.  
  81.  
  82. /***/ }),
  83.  
  84. /***/ 8443:
  85. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  86.  
  87. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  88. /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
  89. /* harmony export */ });
  90. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8081);
  91. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
  92. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3645);
  93. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
  94. // Imports
  95.  
  96.  
  97. var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
  98. // Module
  99. ___CSS_LOADER_EXPORT___.push([module.id, ".skr-ripple-container{border-radius:inherit !important;bottom:0;contain:strict;left:0;margin:0 !important;overflow:hidden;padding:0 !important;pointer-events:none !important;position:absolute;right:0;top:0}.skr-ripple{animation:skr-ripple forwards cubic-bezier(0.23, 1, 0.32, 1);background:var(--skr-ripple-color);border-radius:100%;contain:layout;margin:0 !important;padding:0 !important;pointer-events:none;position:absolute;transform:scale(0);transition:opacity 2s cubic-bezier(0.23, 1, 0.32, 1)}@keyframes skr-ripple{to{transform:scale(3)}}", ""]);
  100. // Exports
  101. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
  102.  
  103.  
  104. /***/ }),
  105.  
  106. /***/ 9354:
  107. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  108.  
  109. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  110. /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
  111. /* harmony export */ });
  112. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8081);
  113. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
  114. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3645);
  115. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
  116. // Imports
  117.  
  118.  
  119. var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
  120. // Module
  121. ___CSS_LOADER_EXPORT___.push([module.id, ":root{--skr-primary-color: #2878ff;--skr-primary-lighten-color: rgb(24 144 255 / 20%);--skr-white-color: #fff;--skr-transition-duration-fast: 0.1s;--skr-transition-duration-normal: 0.3s;--skr-box-shadow-lighten: 0 1px 6px rgb(0 0 0 / 15%);--skr-box-shadow-normal: 0 1px 6px rgb(0 0 0 / 20%);--skr-border-color: #d9d9d9;--skr-text-primary-color: #303133;--skr-text-regular-color: #666;--skr-text-secondary-color: #909399;--skr-text-inverse-color: var(--skr-white-color);--skr-button-transition: all var(--skr-transition-duration-normal);--skr-button-box-shadow: 0 2px 0 rgb(0 0 0 / 4.5%);--skr-ripple-color: rgb(138 218 255 / 20%)}.inject-widescreen-js{align-items:center;contain:layout;display:flex;flex-direction:column;opacity:.5;position:fixed;right:7vw;top:150px;transition:opacity var(--skr-transition-duration-normal);z-index:99}.inject-widescreen-js label{align-items:center;bottom:0;cursor:pointer;display:flex;font-size:14px;margin:0;padding:0;position:absolute;transform:translateY(-10px);transition:transform var(--skr-transition-duration-normal);z-index:-1}.inject-widescreen-js:hover{opacity:1}.inject-widescreen-js:hover label{transform:translateY(100%)}.inject-widescreen-js button{background-image:none !important}.inject-widescreen-js input{margin:0 2px 0 0}", ""]);
  122. // Exports
  123. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
  124.  
  125.  
  126. /***/ }),
  127.  
  128. /***/ 6534:
  129. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  130.  
  131. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  132. /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
  133. /* harmony export */ });
  134. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8081);
  135. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
  136. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3645);
  137. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
  138. // Imports
  139.  
  140.  
  141. var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
  142. // Module
  143. ___CSS_LOADER_EXPORT___.push([module.id, "@media screen and (min-width: 1320px){:root{--inject-page-width:min(82vw, 1330px)}.inject-widescreen-loose-js{--inject-page-width:82vw}.root-page-container>.mhy-article-page{display:flex;width:var(--inject-page-width)}.root-page-container>.mhy-article-page .mhy-layout__main{flex:1;padding-right:20px}.root-page-container .mhy-article-actions{margin-left:calc(var(--inject-page-width)/2*-1);transform:translate(calc(-100% - 10px))}}", ""]);
  144. // Exports
  145. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
  146.  
  147.  
  148. /***/ }),
  149.  
  150. /***/ 3528:
  151. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  152.  
  153. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  154. /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
  155. /* harmony export */ });
  156. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8081);
  157. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
  158. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3645);
  159. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
  160. // Imports
  161.  
  162.  
  163. var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
  164. // Module
  165. ___CSS_LOADER_EXPORT___.push([module.id, "@media screen and (min-width: 1580px){:root{--inject-page-width:min(75vw, 1440px)}.inject-widescreen-loose-js{--inject-page-width:75vw}.container .row{width:var(--inject-page-width)}.container .row .col-big{flex:.97}.detail-main header{width:auto !important}.container .row .col-big .album{width:100%}}", ""]);
  166. // Exports
  167. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
  168.  
  169.  
  170. /***/ }),
  171.  
  172. /***/ 3880:
  173. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  174.  
  175. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  176. /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
  177. /* harmony export */ });
  178. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8081);
  179. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
  180. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3645);
  181. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
  182. // Imports
  183.  
  184.  
  185. var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
  186. // Module
  187. ___CSS_LOADER_EXPORT___.push([module.id, "html body{height:auto}#csdn-toolbar{position:sticky !important;top:0;z-index:1}#passportbox,.login-mark{display:none !important}", ""]);
  188. // Exports
  189. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
  190.  
  191.  
  192. /***/ }),
  193.  
  194. /***/ 4379:
  195. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  196.  
  197. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  198. /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
  199. /* harmony export */ });
  200. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8081);
  201. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
  202. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3645);
  203. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
  204. // Imports
  205.  
  206.  
  207. var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
  208. // Module
  209. ___CSS_LOADER_EXPORT___.push([module.id, "@media screen and (min-width: 1300px){:root{--inject-page-width:min(82vw, 1400px)}.inject-widescreen-loose-js{--inject-page-width:82vw}body>main>div:first-of-type{width:var(--inject-page-width)}}", ""]);
  210. // Exports
  211. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
  212.  
  213.  
  214. /***/ }),
  215.  
  216. /***/ 8343:
  217. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  218.  
  219. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  220. /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
  221. /* harmony export */ });
  222. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8081);
  223. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
  224. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3645);
  225. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
  226. // Imports
  227.  
  228.  
  229. var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
  230. // Module
  231. ___CSS_LOADER_EXPORT___.push([module.id, "@media screen and (min-width: 1300px){:root{--inject-page-width:min(77.5vw, 1330px)}.inject-widescreen-loose-js{--inject-page-width:77.5vw}.WB_frame{display:flex;width:var(--inject-page-width) !important}.WB_frame #plc_main{display:flex !important;flex:1}.WB_frame_c{flex:1}.tab_box{display:flex}.tab_box::after{content:none}.tab_box .fr_box{flex:1}}", ""]);
  232. // Exports
  233. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
  234.  
  235.  
  236. /***/ }),
  237.  
  238. /***/ 5502:
  239. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  240.  
  241. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  242. /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
  243. /* harmony export */ });
  244. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8081);
  245. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
  246. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3645);
  247. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
  248. // Imports
  249.  
  250.  
  251. var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
  252. // Module
  253. ___CSS_LOADER_EXPORT___.push([module.id, "@media screen and (min-width: 1250px){:root{--inject-page-width:min(85vw, 1280px)}.inject-widescreen-loose-js{--inject-page-width:85vw}#__next>div:last-child{left:calc(50% - var(--inject-page-width)/2 - 80px)}#__next [role=main]{width:var(--inject-page-width)}#__next [role=main]>div:first-child{flex:1}}", ""]);
  254. // Exports
  255. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
  256.  
  257.  
  258. /***/ }),
  259.  
  260. /***/ 5032:
  261. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  262.  
  263. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  264. /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
  265. /* harmony export */ });
  266. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8081);
  267. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
  268. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3645);
  269. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
  270. // Imports
  271.  
  272.  
  273. var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
  274. // Module
  275. ___CSS_LOADER_EXPORT___.push([module.id, "@media screen and (min-width: 1400px){:root{--inject-page-width:min(82vw, 1300px)}.inject-widescreen-loose-js{--inject-page-width:82vw}#juejin .main-container{max-width:var(--inject-page-width) !important}#juejin .main-container .main-area{width:calc(100% - 25rem - 20px)}}", ""]);
  276. // Exports
  277. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
  278.  
  279.  
  280. /***/ }),
  281.  
  282. /***/ 6587:
  283. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  284.  
  285. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  286. /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
  287. /* harmony export */ });
  288. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8081);
  289. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
  290. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3645);
  291. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
  292. // Imports
  293.  
  294.  
  295. var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
  296. // Module
  297. ___CSS_LOADER_EXPORT___.push([module.id, "@media screen and (min-width: 1300px){:root{--inject-page-width:min(82vw, 1318px)}.inject-widescreen-loose-js{--inject-page-width:82vw}#wrapper{width:var(--inject-page-width) !important}#content .article{width:calc(100% - 360px)}#content .article .subject{width:calc(100% - 175px)}#content .article .subject #info{max-width:none;width:calc(100% - 160px)}#content .article #related-pic>ul{width:675px}}", ""]);
  298. // Exports
  299. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
  300.  
  301.  
  302. /***/ }),
  303.  
  304. /***/ 5811:
  305. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  306.  
  307. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  308. /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
  309. /* harmony export */ });
  310. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8081);
  311. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
  312. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3645);
  313. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
  314. // Imports
  315.  
  316.  
  317. var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
  318. // Module
  319. ___CSS_LOADER_EXPORT___.push([module.id, "@media screen and (min-width: 750px){:root{--inject-page-width:min(90vw, 1150px)}.inject-widescreen-loose-js{--inject-page-width:90vw}.rich_media_area_primary_inner{margin-left:auto;margin-right:auto;max-width:var(--inject-page-width) !important}#js_pc_qr_code .qr_code_pc{opacity:.2;position:fixed;right:3vw;top:25vh}#js_pc_qr_code .qr_code_pc:hover{opacity:1}}", ""]);
  320. // Exports
  321. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
  322.  
  323.  
  324. /***/ }),
  325.  
  326. /***/ 3250:
  327. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  328.  
  329. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  330. /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
  331. /* harmony export */ });
  332. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8081);
  333. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
  334. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3645);
  335. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
  336. // Imports
  337.  
  338.  
  339. var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
  340. // Module
  341. ___CSS_LOADER_EXPORT___.push([module.id, "@media screen and (min-width: 1390px){:root{--inject-page-width:min(82vw, 1350px)}.inject-widescreen-loose-js{--inject-page-width:82vw}.container,.container-lg,.container-md,.container-sm,.container-xl{max-width:var(--inject-page-width)}}", ""]);
  342. // Exports
  343. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
  344.  
  345.  
  346. /***/ }),
  347.  
  348. /***/ 158:
  349. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  350.  
  351. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  352. /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
  353. /* harmony export */ });
  354. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8081);
  355. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
  356. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3645);
  357. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
  358. // Imports
  359.  
  360.  
  361. var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
  362. // Module
  363. ___CSS_LOADER_EXPORT___.push([module.id, "@media screen and (min-width: 900px){:root{--inject-page-width:min(75vw, 1039px)}.inject-widescreen-loose-js{--inject-page-width:75vw}#app .content{width:var(--inject-page-width) !important}#app .bili-dyn-content{width:auto !important}}", ""]);
  364. // Exports
  365. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
  366.  
  367.  
  368. /***/ }),
  369.  
  370. /***/ 3338:
  371. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  372.  
  373. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  374. /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
  375. /* harmony export */ });
  376. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8081);
  377. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
  378. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3645);
  379. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
  380. // Imports
  381.  
  382.  
  383. var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
  384. // Module
  385. ___CSS_LOADER_EXPORT___.push([module.id, "@media screen and (min-width: 1380px){:root{--inject-page-width:min(85vw, 1454px)}.inject-widescreen-loose-js{--inject-page-width:85vw}#app .bili-dyn-home--member{width:var(--inject-page-width) !important}#app .bili-dyn-home--member>main{flex:1}#app .bili-dyn-home--member>main .bili-dyn-up-list{width:auto}#app .bili-dyn-home--member .bili-dyn-content,#app .bili-dyn-home--member .bili-dyn-content__orig__major{width:auto !important}}", ""]);
  386. // Exports
  387. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
  388.  
  389.  
  390. /***/ }),
  391.  
  392. /***/ 8191:
  393. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  394.  
  395. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  396. /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
  397. /* harmony export */ });
  398. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8081);
  399. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
  400. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3645);
  401. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
  402. // Imports
  403.  
  404.  
  405. var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
  406. // Module
  407. ___CSS_LOADER_EXPORT___.push([module.id, ".mocha-strawberry{bottom:50px;position:fixed;right:70px;z-index:1}", ""]);
  408. // Exports
  409. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
  410.  
  411.  
  412. /***/ }),
  413.  
  414. /***/ 778:
  415. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  416.  
  417. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  418. /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
  419. /* harmony export */ });
  420. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8081);
  421. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
  422. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3645);
  423. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
  424. // Imports
  425.  
  426.  
  427. var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
  428. // Module
  429. ___CSS_LOADER_EXPORT___.push([module.id, "@media screen and (min-width: 1390px){:root{--inject-page-width:min(80vw, 1250px)}.inject-widescreen-loose-js{--inject-page-width:80vw}.head_main .head_middle,.head_main .head_content{width:var(--inject-page-width) !important}.content,.foot{width:var(--inject-page-width)}.forum_content{background:#fff}#content_wrap{border-right:1px solid #eee;width:calc(100% - 248px)}.threadlist_detail{display:flex}.threadlist_detail .pull_left{flex:auto}.threadlist_detail .pull_left .threadlist_abs{width:97%}.frs_content_footer_pagelet{width:auto !important}.tb_rich_poster_container{margin-left:0 !important}.tbui_aside_float_bar{left:calc(50% + var(--inject-page-width)/2 + 12px) !important;margin-left:0 !important;right:auto}}", ""]);
  430. // Exports
  431. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
  432.  
  433.  
  434. /***/ }),
  435.  
  436. /***/ 2257:
  437. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  438.  
  439. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  440. /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
  441. /* harmony export */ });
  442. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8081);
  443. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
  444. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3645);
  445. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
  446. // Imports
  447.  
  448.  
  449. var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
  450. // Module
  451. ___CSS_LOADER_EXPORT___.push([module.id, "@media screen and (min-width: 1390px){:root{--inject-page-width:min(80vw, 1250px)}.inject-widescreen-loose-js{--inject-page-width:80vw}#container{width:var(--inject-page-width)}#container>.content{width:100%}.nav_wrap,.p_thread,.pb_content,.core_title_wrap_bright,.core_reply_wrapper,.l_post_bright .core_reply_wrapper,.pb_footer{width:100%}.core_title_absolute_bright{width:calc(var(--inject-page-width) - 240px)}.pb_content{background-size:100%;display:flex}.pb_content::after{content:none}.pb_content .replace_div{width:-moz-fit-content !important;width:fit-content !important}.pb_content .replace_div .replace_tip{width:100% !important}.left_section{border-right:2px solid #e4e6eb;flex:1}.l_post_bright{display:flex;width:100% !important}.l_post_bright .d_post_content_main{flex:1;width:0}.l_post_bright .d_post_content_main .core_reply_wrapper .user-hide-post-down,.l_post_bright .d_post_content_main .core_reply_wrapper .user-hide-post-up,.l_post_bright .d_post_content_main .core_reply_wrapper .user-hide-post-action{right:180px !important}.tbui_aside_float_bar{left:calc(50% + var(--inject-page-width)/2 + 12px);margin-left:0;right:auto}}", ""]);
  452. // Exports
  453. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
  454.  
  455.  
  456. /***/ }),
  457.  
  458. /***/ 7028:
  459. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  460.  
  461. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  462. /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
  463. /* harmony export */ });
  464. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8081);
  465. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
  466. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3645);
  467. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
  468. // Imports
  469.  
  470.  
  471. var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
  472. // Module
  473. ___CSS_LOADER_EXPORT___.push([module.id, "@media screen and (min-width: 1150px){:root{--inject-page-width:min(90vw, 1380px)}.inject-widescreen-loose-js{--inject-page-width:90vw}#articleRoot .WB_frame{width:var(--inject-page-width)}#articleRoot #plc_main{max-width:100%;width:auto}#articleRoot .WB_frame_a,#articleRoot .WB_artical{max-width:100%;width:auto}#articleRoot .main_toppic{margin-left:auto;margin-right:auto}#articleRoot .WB_editor_iframe_new{width:auto}.B_artical [node-type=sidebar]>.W_gotop{left:calc(50% + var(--inject-page-width)/2);margin-left:0}}", ""]);
  474. // Exports
  475. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
  476.  
  477.  
  478. /***/ }),
  479.  
  480. /***/ 5258:
  481. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  482.  
  483. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  484. /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
  485. /* harmony export */ });
  486. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8081);
  487. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
  488. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3645);
  489. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
  490. // Imports
  491.  
  492.  
  493. var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
  494. // Module
  495. ___CSS_LOADER_EXPORT___.push([module.id, "@media screen and (min-width: 1340px){:root{--inject-page-width:min(90vw, 1380px)}.inject-widescreen-loose-js{--inject-page-width:90vw}[class*=Frame_content]{--main-width: var(--inject-page-width);width:var(--inject-page-width)}[class*=Frame_content]>div:nth-of-type(2){flex:1}[class*=Frame_main],[class*=Main_full]{flex-grow:1}.woo-box-wrap[class*=picture_inlineNum3]{max-width:409px}.u-col-4.woo-box-wrap{max-width:546px}[class*=content_row] [class*=card-video_videoBox]{max-width:540px}[class*=content_row] [class*=card-article_pic]{max-width:540px}[class*=ProfileHeader_pic]{overflow:hidden}[class*=Index_backTop]{left:calc(50% + var(--inject-page-width)/2 + var(--frame-mod-gap-space));margin-left:0;transform:translateX(0)}}", ""]);
  496. // Exports
  497. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
  498.  
  499.  
  500. /***/ }),
  501.  
  502. /***/ 8184:
  503. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  504.  
  505. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  506. /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
  507. /* harmony export */ });
  508. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8081);
  509. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
  510. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3645);
  511. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
  512. // Imports
  513.  
  514.  
  515. var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
  516. // Module
  517. ___CSS_LOADER_EXPORT___.push([module.id, "@media screen and (min-width: 1450px){:root{--inject-page-width:min(91vw, 91vw)}.inject-widescreen-loose-js{--inject-page-width:91vw}[class*=Frame_content2]{max-width:none;width:var(--inject-page-width)}[class*=Frame_main2]{flex-grow:1;padding-right:20px}}", ""]);
  518. // Exports
  519. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
  520.  
  521.  
  522. /***/ }),
  523.  
  524. /***/ 632:
  525. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  526.  
  527. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  528. /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
  529. /* harmony export */ });
  530. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8081);
  531. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
  532. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3645);
  533. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
  534. // Imports
  535.  
  536.  
  537. var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
  538. // Module
  539. ___CSS_LOADER_EXPORT___.push([module.id, "@media screen and (min-width: 1460px){:root{--inject-page-width:min(75vw, 1300px)}.inject-widescreen-loose-js{--inject-page-width:75vw}#head:not(.s-skin-hasbg){backdrop-filter:blur(10px);background-color:rgba(255,255,255,.8196078431)}}@media screen and (min-width: 1460px)and (max-width: 1920px){.head_wrapper .s_form{margin-left:auto;margin-right:auto;width:-moz-fit-content;width:fit-content}}@media screen and (min-width: 1460px){.s_tab{margin-left:auto;margin-right:auto;padding-left:0 !important;width:-moz-fit-content;width:fit-content}}@media screen and (min-width: 1460px){#container{margin-left:auto !important;margin-right:auto !important;width:var(--inject-page-width) !important}}@media screen and (min-width: 1460px){#content_left{width:calc(var(--inject-page-width) - 450px) !important}#content_left>div:not([tpl*=img_address]){width:100% !important}#content_left .op-bk-polysemy-video__wrap{width:560px !important}#content_left .wenda-abstract-img-wrap-new{height:auto}#content_left .c-group-wrapper .result-op,#content_left .c-group-wrapper .c-group{width:95% !important}#content_left .new-pmd .c-span9{width:75%}}@media screen and (min-width: 1460px)and (min-width: 1680px){#content_left .new-pmd .c-span9{width:81%}}@media screen and (min-width: 1460px){#content_left .new-pmd .c-span12{width:100%}}@media screen and (min-width: 1460px){.page-inner{margin-left:auto;margin-right:auto;padding-left:0 !important;width:var(--inject-page-width)}}@media screen and (min-width: 1460px){.foot-inner{margin-left:auto;margin-right:auto;width:var(--inject-page-width)}}@media screen and (min-width: 1460px){#foot .foot-inner #help{padding-left:0 !important}}", ""]);
  540. // Exports
  541. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
  542.  
  543.  
  544. /***/ }),
  545.  
  546. /***/ 5927:
  547. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  548.  
  549. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  550. /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
  551. /* harmony export */ });
  552. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8081);
  553. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
  554. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3645);
  555. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
  556. // Imports
  557.  
  558.  
  559. var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
  560. // Module
  561. ___CSS_LOADER_EXPORT___.push([module.id, "@media screen and (min-width: 1120px){:root{--inject-page-width:min(83vw, 1160px)}.inject-widescreen-loose-js{--inject-page-width:83vw}#app .article-detail{width:var(--inject-page-width)}#app #article-content .img-box img[data-type=preview]{height:auto !important;max-width:100%;width:auto !important}#app .right-side-bar{margin-left:calc(var(--inject-page-width) + 25px);transition-property:bottom}#app .activty-image .card-image{margin:auto}}", ""]);
  562. // Exports
  563. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
  564.  
  565.  
  566. /***/ }),
  567.  
  568. /***/ 5201:
  569. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  570.  
  571. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  572. /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
  573. /* harmony export */ });
  574. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8081);
  575. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
  576. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3645);
  577. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
  578. // Imports
  579.  
  580.  
  581. var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
  582. // Module
  583. ___CSS_LOADER_EXPORT___.push([module.id, "@media screen and (min-width: 1300px){:root{--inject-page-width:min(82vw, 1318px)}.inject-widescreen-loose-js{--inject-page-width:82vw}#wrapper{width:var(--inject-page-width) !important}#content .grid-16-8 .article{width:calc(100% - 360px) !important}}", ""]);
  584. // Exports
  585. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
  586.  
  587.  
  588. /***/ }),
  589.  
  590. /***/ 2797:
  591. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  592.  
  593. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  594. /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
  595. /* harmony export */ });
  596. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8081);
  597. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
  598. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3645);
  599. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
  600. // Imports
  601.  
  602.  
  603. var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
  604. // Module
  605. ___CSS_LOADER_EXPORT___.push([module.id, "@media screen and (min-width: 1600px){:root{--inject-page-width:min(73vw, 1530px)}.inject-widescreen-loose-js{--inject-page-width:73vw}body #rcnt{grid-template-columns:210px repeat(21, calc(79% / 21)) minmax(0, 1fr);width:var(--inject-page-width)}body #w7tRq{column-gap:1%;grid-template-columns:0 repeat(21, calc(79% / 21))}}", ""]);
  606. // Exports
  607. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
  608.  
  609.  
  610. /***/ }),
  611.  
  612. /***/ 3471:
  613. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  614.  
  615. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  616. /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
  617. /* harmony export */ });
  618. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8081);
  619. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
  620. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3645);
  621. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
  622. // Imports
  623.  
  624.  
  625. var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
  626. // Module
  627. ___CSS_LOADER_EXPORT___.push([module.id, "@media screen and (min-width: 1200px){:root{--inject-page-width:min(80vw, 1340px)}.inject-widescreen-loose-js{--inject-page-width:80vw}.hintBox,#pagebar_container,#s_footer>div,#wrapper,.header .header-box{margin-left:auto;margin-right:auto;padding-left:0;width:var(--inject-page-width) !important}.header .header-box{padding:0 5px 45px;position:relative}.header .header-box .logo{top:-8px}.header,.header.headsearch .header-box{padding-bottom:0}.headsearch{backdrop-filter:blur(10px);background-color:rgba(255,255,255,.8196078431)}#wrapper{display:flex}#main{flex:1;max-width:none;padding-right:74px;width:0}#main .results{width:auto}#main .results>.vrwrap,#main .results>.rb{width:auto !important}.special-wrap,.vrPicBox{box-sizing:border-box;width:550px}#s_footer{padding-left:0}}", ""]);
  628. // Exports
  629. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
  630.  
  631.  
  632. /***/ }),
  633.  
  634. /***/ 5186:
  635. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  636.  
  637. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  638. /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
  639. /* harmony export */ });
  640. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8081);
  641. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
  642. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3645);
  643. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
  644. // Imports
  645.  
  646.  
  647. var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
  648. // Module
  649. ___CSS_LOADER_EXPORT___.push([module.id, "@media screen and (min-width: 1350px){:root{--inject-page-width:min(88vw, 1470px)}.inject-widescreen-loose-js{--inject-page-width:88vw}.article-detail-container,.wtt-detail-container{width:var(--inject-page-width) !important}.article-detail-container>.main,.wtt-detail-container>.main{width:calc(var(--inject-page-width) - 298px - 60px - 96px) !important}.article-detail-container>.main .ttp-comment-block,.wtt-detail-container>.main .ttp-comment-block{width:auto}.article-detail-container .detail-end-feed,.wtt-detail-container .detail-end-feed{margin-left:auto;margin-right:auto;max-width:676px}}", ""]);
  650. // Exports
  651. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
  652.  
  653.  
  654. /***/ }),
  655.  
  656. /***/ 1131:
  657. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  658.  
  659. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  660. /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
  661. /* harmony export */ });
  662. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8081);
  663. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
  664. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3645);
  665. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
  666. // Imports
  667.  
  668.  
  669. var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
  670. // Module
  671. ___CSS_LOADER_EXPORT___.push([module.id, "@media screen and (min-width: 1100px){:root{--inject-page-width:min(91vw, 1360px)}.inject-widescreen-loose-js{--inject-page-width:91vw}.Topstory-container{width:var(--inject-page-width)}.Topstory-mainColumn{flex:1}.GlobalSideBar{flex:initial;width:296px}}", ""]);
  672. // Exports
  673. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
  674.  
  675.  
  676. /***/ }),
  677.  
  678. /***/ 7231:
  679. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  680.  
  681. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  682. /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
  683. /* harmony export */ });
  684. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8081);
  685. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
  686. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3645);
  687. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
  688. // Imports
  689.  
  690.  
  691. var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
  692. // Module
  693. ___CSS_LOADER_EXPORT___.push([module.id, "@media screen and (min-width: 1350px){:root{--inject-page-width:min(75vw, 1300px)}.inject-widescreen-loose-js{--inject-page-width:75vw}.QuestionHeader-content,.QuestionHeader-footer{margin-left:auto;margin-right:auto;padding-left:0 !important;width:var(--inject-page-width) !important}.QuestionHeader-footer-inner{width:auto}.QuestionHeader-footer-main{padding-left:0}.QuestionHeader-main{flex:1;width:0}.Question-main{width:var(--inject-page-width) !important}.Question-main .AnswerItem-authorInfo{max-width:none}.Question-main>.ListShortcut{flex:1;width:0}.Question-main>.ListShortcut>.Question-mainColumn[data-zop-questionanswerlist]{padding-right:10px;width:auto}.Question-main>.Question-mainColumn{flex:1;padding-right:10px}.ztext .content_image,.ztext .origin_image{max-width:694px}}", ""]);
  694. // Exports
  695. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
  696.  
  697.  
  698. /***/ }),
  699.  
  700. /***/ 486:
  701. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  702.  
  703. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  704. /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
  705. /* harmony export */ });
  706. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8081);
  707. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
  708. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3645);
  709. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
  710. // Imports
  711.  
  712.  
  713. var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
  714. // Module
  715. ___CSS_LOADER_EXPORT___.push([module.id, "@media screen and (min-width: 1100px){:root{--inject-page-width:min(91vw, 1295px)}.inject-widescreen-loose-js{--inject-page-width:91vw}.ContentLayout{width:var(--inject-page-width)}.ContentLayout-mainColumn{flex:1}}", ""]);
  716. // Exports
  717. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
  718.  
  719.  
  720. /***/ }),
  721.  
  722. /***/ 9123:
  723. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  724.  
  725. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  726. /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
  727. /* harmony export */ });
  728. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8081);
  729. /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
  730. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3645);
  731. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
  732. // Imports
  733.  
  734.  
  735. var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
  736. // Module
  737. ___CSS_LOADER_EXPORT___.push([module.id, "@media screen and (min-width: 1000px){:root{--inject-page-width:min(75vw, 1120px)}.inject-widescreen-loose-js{--inject-page-width:75vw}.Post-NormalMain .Post-Header,.Post-NormalMain>div,.Post-NormalSub>div{width:var(--inject-page-width)}.Post-NormalMain .Post-Header .AuthorInfo{max-width:none;width:0}.ztext .content_image,.ztext .origin_image{max-width:690px}.Post-SideActions{left:calc(50% - var(--inject-page-width)/2 - 120px)}}", ""]);
  738. // Exports
  739. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
  740.  
  741.  
  742. /***/ }),
  743.  
  744. /***/ 3645:
  745. /***/ ((module) => {
  746.  
  747.  
  748.  
  749. /*
  750. MIT License http://www.opensource.org/licenses/mit-license.php
  751. Author Tobias Koppers @sokra
  752. */
  753. module.exports = function (cssWithMappingToString) {
  754. var list = []; // return the list of modules as css string
  755.  
  756. list.toString = function toString() {
  757. return this.map(function (item) {
  758. var content = "";
  759. var needLayer = typeof item[5] !== "undefined";
  760.  
  761. if (item[4]) {
  762. content += "@supports (".concat(item[4], ") {");
  763. }
  764.  
  765. if (item[2]) {
  766. content += "@media ".concat(item[2], " {");
  767. }
  768.  
  769. if (needLayer) {
  770. content += "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {");
  771. }
  772.  
  773. content += cssWithMappingToString(item);
  774.  
  775. if (needLayer) {
  776. content += "}";
  777. }
  778.  
  779. if (item[2]) {
  780. content += "}";
  781. }
  782.  
  783. if (item[4]) {
  784. content += "}";
  785. }
  786.  
  787. return content;
  788. }).join("");
  789. }; // import a list of modules into the list
  790.  
  791.  
  792. list.i = function i(modules, media, dedupe, supports, layer) {
  793. if (typeof modules === "string") {
  794. modules = [[null, modules, undefined]];
  795. }
  796.  
  797. var alreadyImportedModules = {};
  798.  
  799. if (dedupe) {
  800. for (var k = 0; k < this.length; k++) {
  801. var id = this[k][0];
  802.  
  803. if (id != null) {
  804. alreadyImportedModules[id] = true;
  805. }
  806. }
  807. }
  808.  
  809. for (var _k = 0; _k < modules.length; _k++) {
  810. var item = [].concat(modules[_k]);
  811.  
  812. if (dedupe && alreadyImportedModules[item[0]]) {
  813. continue;
  814. }
  815.  
  816. if (typeof layer !== "undefined") {
  817. if (typeof item[5] === "undefined") {
  818. item[5] = layer;
  819. } else {
  820. item[1] = "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {").concat(item[1], "}");
  821. item[5] = layer;
  822. }
  823. }
  824.  
  825. if (media) {
  826. if (!item[2]) {
  827. item[2] = media;
  828. } else {
  829. item[1] = "@media ".concat(item[2], " {").concat(item[1], "}");
  830. item[2] = media;
  831. }
  832. }
  833.  
  834. if (supports) {
  835. if (!item[4]) {
  836. item[4] = "".concat(supports);
  837. } else {
  838. item[1] = "@supports (".concat(item[4], ") {").concat(item[1], "}");
  839. item[4] = supports;
  840. }
  841. }
  842.  
  843. list.push(item);
  844. }
  845. };
  846.  
  847. return list;
  848. };
  849.  
  850. /***/ }),
  851.  
  852. /***/ 8081:
  853. /***/ ((module) => {
  854.  
  855.  
  856.  
  857. module.exports = function (i) {
  858. return i[1];
  859. };
  860.  
  861. /***/ }),
  862.  
  863. /***/ 3379:
  864. /***/ ((module) => {
  865.  
  866.  
  867.  
  868. var stylesInDOM = [];
  869.  
  870. function getIndexByIdentifier(identifier) {
  871. var result = -1;
  872.  
  873. for (var i = 0; i < stylesInDOM.length; i++) {
  874. if (stylesInDOM[i].identifier === identifier) {
  875. result = i;
  876. break;
  877. }
  878. }
  879.  
  880. return result;
  881. }
  882.  
  883. function modulesToDom(list, options) {
  884. var idCountMap = {};
  885. var identifiers = [];
  886.  
  887. for (var i = 0; i < list.length; i++) {
  888. var item = list[i];
  889. var id = options.base ? item[0] + options.base : item[0];
  890. var count = idCountMap[id] || 0;
  891. var identifier = "".concat(id, " ").concat(count);
  892. idCountMap[id] = count + 1;
  893. var indexByIdentifier = getIndexByIdentifier(identifier);
  894. var obj = {
  895. css: item[1],
  896. media: item[2],
  897. sourceMap: item[3],
  898. supports: item[4],
  899. layer: item[5]
  900. };
  901.  
  902. if (indexByIdentifier !== -1) {
  903. stylesInDOM[indexByIdentifier].references++;
  904. stylesInDOM[indexByIdentifier].updater(obj);
  905. } else {
  906. var updater = addElementStyle(obj, options);
  907. options.byIndex = i;
  908. stylesInDOM.splice(i, 0, {
  909. identifier: identifier,
  910. updater: updater,
  911. references: 1
  912. });
  913. }
  914.  
  915. identifiers.push(identifier);
  916. }
  917.  
  918. return identifiers;
  919. }
  920.  
  921. function addElementStyle(obj, options) {
  922. var api = options.domAPI(options);
  923. api.update(obj);
  924.  
  925. var updater = function updater(newObj) {
  926. if (newObj) {
  927. if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {
  928. return;
  929. }
  930.  
  931. api.update(obj = newObj);
  932. } else {
  933. api.remove();
  934. }
  935. };
  936.  
  937. return updater;
  938. }
  939.  
  940. module.exports = function (list, options) {
  941. options = options || {};
  942. list = list || [];
  943. var lastIdentifiers = modulesToDom(list, options);
  944. return function update(newList) {
  945. newList = newList || [];
  946.  
  947. for (var i = 0; i < lastIdentifiers.length; i++) {
  948. var identifier = lastIdentifiers[i];
  949. var index = getIndexByIdentifier(identifier);
  950. stylesInDOM[index].references--;
  951. }
  952.  
  953. var newLastIdentifiers = modulesToDom(newList, options);
  954.  
  955. for (var _i = 0; _i < lastIdentifiers.length; _i++) {
  956. var _identifier = lastIdentifiers[_i];
  957.  
  958. var _index = getIndexByIdentifier(_identifier);
  959.  
  960. if (stylesInDOM[_index].references === 0) {
  961. stylesInDOM[_index].updater();
  962.  
  963. stylesInDOM.splice(_index, 1);
  964. }
  965. }
  966.  
  967. lastIdentifiers = newLastIdentifiers;
  968. };
  969. };
  970.  
  971. /***/ }),
  972.  
  973. /***/ 569:
  974. /***/ ((module) => {
  975.  
  976.  
  977.  
  978. var memo = {};
  979. /* istanbul ignore next */
  980.  
  981. function getTarget(target) {
  982. if (typeof memo[target] === "undefined") {
  983. var styleTarget = document.querySelector(target); // Special case to return head of iframe instead of iframe itself
  984.  
  985. if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {
  986. try {
  987. // This will throw an exception if access to iframe is blocked
  988. // due to cross-origin restrictions
  989. styleTarget = styleTarget.contentDocument.head;
  990. } catch (e) {
  991. // istanbul ignore next
  992. styleTarget = null;
  993. }
  994. }
  995.  
  996. memo[target] = styleTarget;
  997. }
  998.  
  999. return memo[target];
  1000. }
  1001. /* istanbul ignore next */
  1002.  
  1003.  
  1004. function insertBySelector(insert, style) {
  1005. var target = getTarget(insert);
  1006.  
  1007. if (!target) {
  1008. throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");
  1009. }
  1010.  
  1011. target.appendChild(style);
  1012. }
  1013.  
  1014. module.exports = insertBySelector;
  1015.  
  1016. /***/ }),
  1017.  
  1018. /***/ 9216:
  1019. /***/ ((module) => {
  1020.  
  1021.  
  1022.  
  1023. /* istanbul ignore next */
  1024. function insertStyleElement(options) {
  1025. var element = document.createElement("style");
  1026. options.setAttributes(element, options.attributes);
  1027. options.insert(element, options.options);
  1028. return element;
  1029. }
  1030.  
  1031. module.exports = insertStyleElement;
  1032.  
  1033. /***/ }),
  1034.  
  1035. /***/ 3565:
  1036. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  1037.  
  1038.  
  1039.  
  1040. /* istanbul ignore next */
  1041. function setAttributesWithoutAttributes(styleElement) {
  1042. var nonce = true ? __webpack_require__.nc : 0;
  1043.  
  1044. if (nonce) {
  1045. styleElement.setAttribute("nonce", nonce);
  1046. }
  1047. }
  1048.  
  1049. module.exports = setAttributesWithoutAttributes;
  1050.  
  1051. /***/ }),
  1052.  
  1053. /***/ 7795:
  1054. /***/ ((module) => {
  1055.  
  1056.  
  1057.  
  1058. /* istanbul ignore next */
  1059. function apply(styleElement, options, obj) {
  1060. var css = "";
  1061.  
  1062. if (obj.supports) {
  1063. css += "@supports (".concat(obj.supports, ") {");
  1064. }
  1065.  
  1066. if (obj.media) {
  1067. css += "@media ".concat(obj.media, " {");
  1068. }
  1069.  
  1070. var needLayer = typeof obj.layer !== "undefined";
  1071.  
  1072. if (needLayer) {
  1073. css += "@layer".concat(obj.layer.length > 0 ? " ".concat(obj.layer) : "", " {");
  1074. }
  1075.  
  1076. css += obj.css;
  1077.  
  1078. if (needLayer) {
  1079. css += "}";
  1080. }
  1081.  
  1082. if (obj.media) {
  1083. css += "}";
  1084. }
  1085.  
  1086. if (obj.supports) {
  1087. css += "}";
  1088. }
  1089.  
  1090. var sourceMap = obj.sourceMap;
  1091.  
  1092. if (sourceMap && typeof btoa !== "undefined") {
  1093. css += "\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), " */");
  1094. } // For old IE
  1095.  
  1096. /* istanbul ignore if */
  1097.  
  1098.  
  1099. options.styleTagTransform(css, styleElement, options.options);
  1100. }
  1101.  
  1102. function removeStyleElement(styleElement) {
  1103. // istanbul ignore if
  1104. if (styleElement.parentNode === null) {
  1105. return false;
  1106. }
  1107.  
  1108. styleElement.parentNode.removeChild(styleElement);
  1109. }
  1110. /* istanbul ignore next */
  1111.  
  1112.  
  1113. function domAPI(options) {
  1114. var styleElement = options.insertStyleElement(options);
  1115. return {
  1116. update: function update(obj) {
  1117. apply(styleElement, options, obj);
  1118. },
  1119. remove: function remove() {
  1120. removeStyleElement(styleElement);
  1121. }
  1122. };
  1123. }
  1124.  
  1125. module.exports = domAPI;
  1126.  
  1127. /***/ }),
  1128.  
  1129. /***/ 4589:
  1130. /***/ ((module) => {
  1131.  
  1132.  
  1133.  
  1134. /* istanbul ignore next */
  1135. function styleTagTransform(css, styleElement) {
  1136. if (styleElement.styleSheet) {
  1137. styleElement.styleSheet.cssText = css;
  1138. } else {
  1139. while (styleElement.firstChild) {
  1140. styleElement.removeChild(styleElement.firstChild);
  1141. }
  1142.  
  1143. styleElement.appendChild(document.createTextNode(css));
  1144. }
  1145. }
  1146.  
  1147. module.exports = styleTagTransform;
  1148.  
  1149. /***/ })
  1150.  
  1151. /******/ });
  1152. /************************************************************************/
  1153. /******/ // The module cache
  1154. /******/ var __webpack_module_cache__ = {};
  1155. /******/
  1156. /******/ // The require function
  1157. /******/ function __webpack_require__(moduleId) {
  1158. /******/ // Check if module is in cache
  1159. /******/ var cachedModule = __webpack_module_cache__[moduleId];
  1160. /******/ if (cachedModule !== undefined) {
  1161. /******/ return cachedModule.exports;
  1162. /******/ }
  1163. /******/ // Create a new module (and put it into the cache)
  1164. /******/ var module = __webpack_module_cache__[moduleId] = {
  1165. /******/ id: moduleId,
  1166. /******/ // no module.loaded needed
  1167. /******/ exports: {}
  1168. /******/ };
  1169. /******/
  1170. /******/ // Execute the module function
  1171. /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
  1172. /******/
  1173. /******/ // Return the exports of the module
  1174. /******/ return module.exports;
  1175. /******/ }
  1176. /******/
  1177. /************************************************************************/
  1178. /******/ /* webpack/runtime/compat get default export */
  1179. /******/ (() => {
  1180. /******/ // getDefaultExport function for compatibility with non-harmony modules
  1181. /******/ __webpack_require__.n = (module) => {
  1182. /******/ var getter = module && module.__esModule ?
  1183. /******/ () => (module['default']) :
  1184. /******/ () => (module);
  1185. /******/ __webpack_require__.d(getter, { a: getter });
  1186. /******/ return getter;
  1187. /******/ };
  1188. /******/ })();
  1189. /******/
  1190. /******/ /* webpack/runtime/define property getters */
  1191. /******/ (() => {
  1192. /******/ // define getter functions for harmony exports
  1193. /******/ __webpack_require__.d = (exports, definition) => {
  1194. /******/ for(var key in definition) {
  1195. /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
  1196. /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
  1197. /******/ }
  1198. /******/ }
  1199. /******/ };
  1200. /******/ })();
  1201. /******/
  1202. /******/ /* webpack/runtime/hasOwnProperty shorthand */
  1203. /******/ (() => {
  1204. /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
  1205. /******/ })();
  1206. /******/
  1207. /******/ /* webpack/runtime/make namespace object */
  1208. /******/ (() => {
  1209. /******/ // define __esModule on exports
  1210. /******/ __webpack_require__.r = (exports) => {
  1211. /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
  1212. /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
  1213. /******/ }
  1214. /******/ Object.defineProperty(exports, '__esModule', { value: true });
  1215. /******/ };
  1216. /******/ })();
  1217. /******/
  1218. /******/ /* webpack/runtime/nonce */
  1219. /******/ (() => {
  1220. /******/ __webpack_require__.nc = undefined;
  1221. /******/ })();
  1222. /******/
  1223. /************************************************************************/
  1224. var __webpack_exports__ = {};
  1225. // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
  1226. (() => {
  1227.  
  1228. // NAMESPACE OBJECT: ./src/utils/ready-state.ts
  1229. var ready_state_namespaceObject = {};
  1230. __webpack_require__.r(ready_state_namespaceObject);
  1231. __webpack_require__.d(ready_state_namespaceObject, {
  1232. "DOMContentLoaded": () => (DOMContentLoaded),
  1233. "complete": () => (complete),
  1234. "interactive": () => (interactive),
  1235. "load": () => (load),
  1236. "loading": () => (loading)
  1237. });
  1238.  
  1239. ;// CONCATENATED MODULE: ./src/utils/compatibility.ts
  1240. /**
  1241. * 兼容性检查,只是用来拦截低版本用户
  1242. * @return 是否通过
  1243. */
  1244. function checker({
  1245. firefox = 75,
  1246. edge = 80,
  1247. chrome = 80,
  1248. safari = 14,
  1249. notify = true
  1250. } = {}) {
  1251. const {
  1252. userAgent
  1253. } = window.navigator;
  1254. const firefoxVersion = userAgent.match(/Firefox\/(\d+)/)?.[1];
  1255. const edgeVersion = userAgent.match(/Edg\/(\d+)/)?.[1];
  1256. const chromeVersion = userAgent.match(/Chrome\/(\d+)/)?.[1];
  1257. const safariVersion = userAgent.match(/Version\/(\d+).*Safari/)?.[1]; // 不保证兼容
  1258.  
  1259. let pass = false;
  1260.  
  1261. if (firefoxVersion && Number(firefoxVersion) >= firefox || edgeVersion && Number(edgeVersion) >= edge || chromeVersion && Number(chromeVersion) >= chrome || safariVersion && Number(safariVersion) >= safari) {
  1262. pass = true;
  1263. }
  1264.  
  1265. if (!pass) {
  1266. const {
  1267. Toast
  1268. } = window;
  1269. notify && Toast && Toast.error(`哎呀!遇到错误:不支持的浏览器版本(需要Chrome${chrome}或Firefox${firefox}以上~),请更新浏览器版本 o(╥﹏╥)o`, 0);
  1270. }
  1271.  
  1272. return pass;
  1273. }
  1274. ;// CONCATENATED MODULE: ./src/utils/log.ts
  1275. const isDebug = "production" !== 'production';
  1276.  
  1277. function warn(...args) {
  1278. isDebug && warn.force(...args);
  1279. }
  1280.  
  1281. warn.force = function (...args) {
  1282. console.warn('%c warn ', 'background: #ffa500; padding: 1px; color: #fff;', ...args);
  1283. };
  1284.  
  1285. function error(...args) {
  1286. isDebug && error.force(...args);
  1287. }
  1288.  
  1289. error.force = function (...args) {
  1290. console.error('%c error ', 'background: red; padding: 1px; color: #fff;', ...args);
  1291. };
  1292.  
  1293. function table(...args) {
  1294. isDebug && console.table(...args);
  1295. }
  1296.  
  1297.  
  1298. ;// CONCATENATED MODULE: ./src/utils/ready-state.ts
  1299. /**
  1300. * readyState 因为脚本加载时机不一定监听到所有变化
  1301. * 所以 pool 中的状态区分先后顺序
  1302. * 靠后定义的会自动将靠前定义的但没有监听到的执行一次,但实际上不再是原来的状态
  1303. */
  1304.  
  1305. const pool = new Map([['loading', []], ['interactive', []], ['DOMContentLoaded', []], // 扩展状态
  1306. ['complete', []], ['load', []] // 扩展状态,不一定可以监听到
  1307. ]);
  1308. let currentState = document.readyState;
  1309.  
  1310. const execute = (readyState = currentState) => {
  1311. currentState = readyState;
  1312.  
  1313. for (const [state, functions] of pool) {
  1314. while (functions.length) {
  1315. functions.shift()();
  1316. }
  1317.  
  1318. if (readyState === state) break;
  1319. }
  1320. };
  1321.  
  1322. warn('document.readyState', currentState);
  1323.  
  1324. if (document.readyState !== 'complete') {
  1325. document.addEventListener('readystatechange', () => execute(document.readyState));
  1326. window.addEventListener('DOMContentLoaded', () => execute('DOMContentLoaded'));
  1327. }
  1328.  
  1329. window.addEventListener('load', () => execute('load'));
  1330.  
  1331. const wrapper = (readyState, fn) => new Promise(resolve => {
  1332. pool.get(readyState).push(function () {
  1333. resolve(fn?.());
  1334. }); // 立即检查一下
  1335.  
  1336. execute();
  1337. });
  1338.  
  1339. const loading = fn => wrapper('loading', fn);
  1340. const interactive = fn => wrapper('interactive', fn);
  1341. const DOMContentLoaded = fn => wrapper('DOMContentLoaded', fn);
  1342. const complete = fn => wrapper('complete', fn);
  1343. const load = fn => wrapper('load', fn);
  1344. ;// CONCATENATED MODULE: ./src/store/index.ts
  1345. /**
  1346. * store
  1347. * @param modulename 会加入 [[modulename]]- 前缀
  1348. * @param local 是否本地存储
  1349. */
  1350. function createStore(modulename = '', local = true) {
  1351. const getRealProp = property => modulename ? `[[${modulename}]]-${property}` : property;
  1352.  
  1353. const store = new Proxy({}, {
  1354. get(target, property, receiver) {
  1355. const realProp = getRealProp(property);
  1356. const value = local ? GM_getValue(realProp) : Reflect.get(target, realProp, receiver);
  1357. return value;
  1358. },
  1359.  
  1360. set(target, property, value, receiver) {
  1361. const realProp = getRealProp(property);
  1362. local ? GM_setValue(realProp, value) : Reflect.set(target, realProp, value, receiver);
  1363. return true;
  1364. },
  1365.  
  1366. deleteProperty(target, property) {
  1367. const realProp = getRealProp(property);
  1368. local ? GM_deleteValue(realProp) : Reflect.deleteProperty(target, realProp);
  1369. return true;
  1370. }
  1371.  
  1372. });
  1373. return store;
  1374. }
  1375.  
  1376. /* harmony default export */ const src_store = (createStore());
  1377.  
  1378. ;// CONCATENATED MODULE: ./src/utils/selector.ts
  1379. const $ = document.querySelector.bind(document);
  1380. const $$ = document.querySelectorAll.bind(document);
  1381. // EXTERNAL MODULE: ./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js
  1382. var injectStylesIntoStyleTag = __webpack_require__(3379);
  1383. var injectStylesIntoStyleTag_default = /*#__PURE__*/__webpack_require__.n(injectStylesIntoStyleTag);
  1384. // EXTERNAL MODULE: ./node_modules/style-loader/dist/runtime/styleDomAPI.js
  1385. var styleDomAPI = __webpack_require__(7795);
  1386. var styleDomAPI_default = /*#__PURE__*/__webpack_require__.n(styleDomAPI);
  1387. // EXTERNAL MODULE: ./node_modules/style-loader/dist/runtime/insertBySelector.js
  1388. var insertBySelector = __webpack_require__(569);
  1389. var insertBySelector_default = /*#__PURE__*/__webpack_require__.n(insertBySelector);
  1390. // EXTERNAL MODULE: ./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js
  1391. var setAttributesWithoutAttributes = __webpack_require__(3565);
  1392. var setAttributesWithoutAttributes_default = /*#__PURE__*/__webpack_require__.n(setAttributesWithoutAttributes);
  1393. // EXTERNAL MODULE: ./node_modules/style-loader/dist/runtime/insertStyleElement.js
  1394. var insertStyleElement = __webpack_require__(9216);
  1395. var insertStyleElement_default = /*#__PURE__*/__webpack_require__.n(insertStyleElement);
  1396. // EXTERNAL MODULE: ./node_modules/style-loader/dist/runtime/styleTagTransform.js
  1397. var styleTagTransform = __webpack_require__(4589);
  1398. var styleTagTransform_default = /*#__PURE__*/__webpack_require__.n(styleTagTransform);
  1399. // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/scripts/widescreen/sites/bcy-net/index.lazy.scss
  1400. var index_lazy = __webpack_require__(3528);
  1401. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/bcy-net/index.lazy.scss
  1402.  
  1403. var exported = {};
  1404.  
  1405. if (index_lazy/* default */.Z && index_lazy/* default.locals */.Z.locals) {
  1406. exported.locals = index_lazy/* default.locals */.Z.locals;
  1407. }
  1408.  
  1409. var refs = 0;
  1410. var update;
  1411. var options = {};
  1412.  
  1413. options.styleTagTransform = (styleTagTransform_default());
  1414. options.setAttributes = (setAttributesWithoutAttributes_default());
  1415.  
  1416. options.insert = insertBySelector_default().bind(null, "head");
  1417. options.domAPI = (styleDomAPI_default());
  1418. options.insertStyleElement = (insertStyleElement_default());
  1419.  
  1420. exported.use = function(insertOptions) {
  1421. options.options = insertOptions || {};
  1422.  
  1423. if (!(refs++)) {
  1424. update = injectStylesIntoStyleTag_default()(index_lazy/* default */.Z, options);
  1425. }
  1426.  
  1427. return exported;
  1428. };
  1429. exported.unuse = function() {
  1430. if (refs > 0 && !--refs) {
  1431. update();
  1432. update = null;
  1433. }
  1434. };
  1435.  
  1436.  
  1437.  
  1438.  
  1439. /* harmony default export */ const bcy_net_index_lazy = (exported);
  1440.  
  1441. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/bcy-net/index.ts
  1442.  
  1443.  
  1444.  
  1445. const banciyuan = ({
  1446. store,
  1447. createControl
  1448. }) => ({
  1449. handler() {
  1450. function execute() {
  1451. interactive(() => {
  1452. // eslint-disable-next-line no-constant-condition
  1453. if (true) return;
  1454. const {
  1455. multi
  1456. } = unsafeWindow.__ssr_data.detail.post_data;
  1457. const imgEls = $$('.container .album .img-wrap-inner img');
  1458. if (multi.length !== imgEls.length) return;
  1459. imgEls.forEach((img, index) => {
  1460. img.src = multi[index].original_path;
  1461. });
  1462. });
  1463. bcy_net_index_lazy.use();
  1464. }
  1465.  
  1466. createControl({
  1467. store,
  1468. execute
  1469. });
  1470. }
  1471.  
  1472. });
  1473. // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/scripts/widescreen/sites/mp-weixin-qq-com/index.lazy.scss
  1474. var mp_weixin_qq_com_index_lazy = __webpack_require__(5811);
  1475. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/mp-weixin-qq-com/index.lazy.scss
  1476.  
  1477. var index_lazy_exported = {};
  1478.  
  1479. if (mp_weixin_qq_com_index_lazy/* default */.Z && mp_weixin_qq_com_index_lazy/* default.locals */.Z.locals) {
  1480. index_lazy_exported.locals = mp_weixin_qq_com_index_lazy/* default.locals */.Z.locals;
  1481. }
  1482.  
  1483. var index_lazy_refs = 0;
  1484. var index_lazy_update;
  1485. var index_lazy_options = {};
  1486.  
  1487. index_lazy_options.styleTagTransform = (styleTagTransform_default());
  1488. index_lazy_options.setAttributes = (setAttributesWithoutAttributes_default());
  1489.  
  1490. index_lazy_options.insert = insertBySelector_default().bind(null, "head");
  1491. index_lazy_options.domAPI = (styleDomAPI_default());
  1492. index_lazy_options.insertStyleElement = (insertStyleElement_default());
  1493.  
  1494. index_lazy_exported.use = function(insertOptions) {
  1495. index_lazy_options.options = insertOptions || {};
  1496.  
  1497. if (!(index_lazy_refs++)) {
  1498. index_lazy_update = injectStylesIntoStyleTag_default()(mp_weixin_qq_com_index_lazy/* default */.Z, index_lazy_options);
  1499. }
  1500.  
  1501. return index_lazy_exported;
  1502. };
  1503. index_lazy_exported.unuse = function() {
  1504. if (index_lazy_refs > 0 && !--index_lazy_refs) {
  1505. index_lazy_update();
  1506. index_lazy_update = null;
  1507. }
  1508. };
  1509.  
  1510.  
  1511.  
  1512.  
  1513. /* harmony default export */ const sites_mp_weixin_qq_com_index_lazy = (index_lazy_exported);
  1514.  
  1515. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/mp-weixin-qq-com/index.ts
  1516.  
  1517.  
  1518.  
  1519. const weixin = ({
  1520. store,
  1521. createControl
  1522. }) => ({
  1523. handler() {
  1524. function execute() {
  1525. interactive(() => {
  1526. // 原图处理
  1527. $$('img').forEach(img => {
  1528. const dataSrc = img.dataset.src;
  1529. if (!dataSrc) return;
  1530. const url = new URL(dataSrc);
  1531. url.pathname = url.pathname.replace('/640', '/');
  1532. img.dataset.src = url.href;
  1533. });
  1534. });
  1535. sites_mp_weixin_qq_com_index_lazy.use();
  1536. }
  1537.  
  1538. createControl({
  1539. store,
  1540. execute
  1541. });
  1542. }
  1543.  
  1544. });
  1545. // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/scripts/widescreen/sites/zhuanlan-zhihu-com/index.lazy.scss
  1546. var zhuanlan_zhihu_com_index_lazy = __webpack_require__(9123);
  1547. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/zhuanlan-zhihu-com/index.lazy.scss
  1548.  
  1549. var zhuanlan_zhihu_com_index_lazy_exported = {};
  1550.  
  1551. if (zhuanlan_zhihu_com_index_lazy/* default */.Z && zhuanlan_zhihu_com_index_lazy/* default.locals */.Z.locals) {
  1552. zhuanlan_zhihu_com_index_lazy_exported.locals = zhuanlan_zhihu_com_index_lazy/* default.locals */.Z.locals;
  1553. }
  1554.  
  1555. var zhuanlan_zhihu_com_index_lazy_refs = 0;
  1556. var zhuanlan_zhihu_com_index_lazy_update;
  1557. var zhuanlan_zhihu_com_index_lazy_options = {};
  1558.  
  1559. zhuanlan_zhihu_com_index_lazy_options.styleTagTransform = (styleTagTransform_default());
  1560. zhuanlan_zhihu_com_index_lazy_options.setAttributes = (setAttributesWithoutAttributes_default());
  1561.  
  1562. zhuanlan_zhihu_com_index_lazy_options.insert = insertBySelector_default().bind(null, "head");
  1563. zhuanlan_zhihu_com_index_lazy_options.domAPI = (styleDomAPI_default());
  1564. zhuanlan_zhihu_com_index_lazy_options.insertStyleElement = (insertStyleElement_default());
  1565.  
  1566. zhuanlan_zhihu_com_index_lazy_exported.use = function(insertOptions) {
  1567. zhuanlan_zhihu_com_index_lazy_options.options = insertOptions || {};
  1568.  
  1569. if (!(zhuanlan_zhihu_com_index_lazy_refs++)) {
  1570. zhuanlan_zhihu_com_index_lazy_update = injectStylesIntoStyleTag_default()(zhuanlan_zhihu_com_index_lazy/* default */.Z, zhuanlan_zhihu_com_index_lazy_options);
  1571. }
  1572.  
  1573. return zhuanlan_zhihu_com_index_lazy_exported;
  1574. };
  1575. zhuanlan_zhihu_com_index_lazy_exported.unuse = function() {
  1576. if (zhuanlan_zhihu_com_index_lazy_refs > 0 && !--zhuanlan_zhihu_com_index_lazy_refs) {
  1577. zhuanlan_zhihu_com_index_lazy_update();
  1578. zhuanlan_zhihu_com_index_lazy_update = null;
  1579. }
  1580. };
  1581.  
  1582.  
  1583.  
  1584.  
  1585. /* harmony default export */ const sites_zhuanlan_zhihu_com_index_lazy = (zhuanlan_zhihu_com_index_lazy_exported);
  1586.  
  1587. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/zhuanlan-zhihu-com/index.ts
  1588.  
  1589.  
  1590.  
  1591. const zhihuZhuanlan = ({
  1592. store,
  1593. createControl
  1594. }) => ({
  1595. handler() {
  1596. function execute() {
  1597. DOMContentLoaded(() => {
  1598. const process = new WeakSet();
  1599. const observer = new MutationObserver(mutationsList => {
  1600. mutationsList.forEach(mutation => {
  1601. const {
  1602. target,
  1603. oldValue
  1604. } = mutation;
  1605. if (process.has(target) || target.tagName !== 'IMG' || !oldValue.startsWith('data:image/') || // 与知乎同样的选择器判断
  1606. !(target.classList.contains('lazy') && !target.classList.contains('data-thumbnail'))) return;
  1607. process.add(target); // 替换原图
  1608.  
  1609. target.dataset.original && (target.src = target.dataset.original);
  1610. });
  1611. });
  1612. observer.observe($('.Post-RichTextContainer'), {
  1613. subtree: true,
  1614. attributeFilter: ['src'],
  1615. attributeOldValue: true
  1616. });
  1617. });
  1618. sites_zhuanlan_zhihu_com_index_lazy.use();
  1619. }
  1620.  
  1621. createControl({
  1622. store,
  1623. execute
  1624. });
  1625. }
  1626.  
  1627. });
  1628. // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/scripts/widescreen/sites/zhihu-com/question.lazy.scss
  1629. var question_lazy = __webpack_require__(7231);
  1630. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/zhihu-com/question.lazy.scss
  1631.  
  1632. var question_lazy_exported = {};
  1633.  
  1634. if (question_lazy/* default */.Z && question_lazy/* default.locals */.Z.locals) {
  1635. question_lazy_exported.locals = question_lazy/* default.locals */.Z.locals;
  1636. }
  1637.  
  1638. var question_lazy_refs = 0;
  1639. var question_lazy_update;
  1640. var question_lazy_options = {};
  1641.  
  1642. question_lazy_options.styleTagTransform = (styleTagTransform_default());
  1643. question_lazy_options.setAttributes = (setAttributesWithoutAttributes_default());
  1644.  
  1645. question_lazy_options.insert = insertBySelector_default().bind(null, "head");
  1646. question_lazy_options.domAPI = (styleDomAPI_default());
  1647. question_lazy_options.insertStyleElement = (insertStyleElement_default());
  1648.  
  1649. question_lazy_exported.use = function(insertOptions) {
  1650. question_lazy_options.options = insertOptions || {};
  1651.  
  1652. if (!(question_lazy_refs++)) {
  1653. question_lazy_update = injectStylesIntoStyleTag_default()(question_lazy/* default */.Z, question_lazy_options);
  1654. }
  1655.  
  1656. return question_lazy_exported;
  1657. };
  1658. question_lazy_exported.unuse = function() {
  1659. if (question_lazy_refs > 0 && !--question_lazy_refs) {
  1660. question_lazy_update();
  1661. question_lazy_update = null;
  1662. }
  1663. };
  1664.  
  1665.  
  1666.  
  1667.  
  1668. /* harmony default export */ const zhihu_com_question_lazy = (question_lazy_exported);
  1669.  
  1670. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/zhihu-com/question.ts
  1671.  
  1672.  
  1673.  
  1674. const zhihuQuestion = ({
  1675. store,
  1676. createControl
  1677. }) => ({
  1678. handler() {
  1679. function execute() {
  1680. DOMContentLoaded(() => {
  1681. const process = new WeakSet();
  1682. const observer = new MutationObserver(mutationsList => {
  1683. mutationsList.forEach(mutation => {
  1684. const {
  1685. target,
  1686. oldValue
  1687. } = mutation;
  1688. if (process.has(target) || target.tagName !== 'IMG' || !oldValue.startsWith('data:image/') || // 不对非文章图片处理
  1689. !$('.ListShortcut').contains(target) || // 与知乎同样的选择器判断
  1690. !(target.classList.contains('lazy') && !target.classList.contains('data-thumbnail'))) return;
  1691. process.add(target); // 替换原图
  1692.  
  1693. target.dataset.original && (target.src = target.dataset.original);
  1694. });
  1695. }); // 查看全部回答时知乎会替换Question-mainColumn标签,只能往更父级监听
  1696.  
  1697. observer.observe($('.QuestionPage'), {
  1698. subtree: true,
  1699. attributeFilter: ['src'],
  1700. attributeOldValue: true
  1701. });
  1702. });
  1703. zhihu_com_question_lazy.use();
  1704. }
  1705.  
  1706. createControl({
  1707. store,
  1708. execute
  1709. });
  1710. }
  1711.  
  1712. });
  1713. // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/scripts/widescreen/sites/zhihu-com/home.lazy.scss
  1714. var home_lazy = __webpack_require__(1131);
  1715. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/zhihu-com/home.lazy.scss
  1716.  
  1717. var home_lazy_exported = {};
  1718.  
  1719. if (home_lazy/* default */.Z && home_lazy/* default.locals */.Z.locals) {
  1720. home_lazy_exported.locals = home_lazy/* default.locals */.Z.locals;
  1721. }
  1722.  
  1723. var home_lazy_refs = 0;
  1724. var home_lazy_update;
  1725. var home_lazy_options = {};
  1726.  
  1727. home_lazy_options.styleTagTransform = (styleTagTransform_default());
  1728. home_lazy_options.setAttributes = (setAttributesWithoutAttributes_default());
  1729.  
  1730. home_lazy_options.insert = insertBySelector_default().bind(null, "head");
  1731. home_lazy_options.domAPI = (styleDomAPI_default());
  1732. home_lazy_options.insertStyleElement = (insertStyleElement_default());
  1733.  
  1734. home_lazy_exported.use = function(insertOptions) {
  1735. home_lazy_options.options = insertOptions || {};
  1736.  
  1737. if (!(home_lazy_refs++)) {
  1738. home_lazy_update = injectStylesIntoStyleTag_default()(home_lazy/* default */.Z, home_lazy_options);
  1739. }
  1740.  
  1741. return home_lazy_exported;
  1742. };
  1743. home_lazy_exported.unuse = function() {
  1744. if (home_lazy_refs > 0 && !--home_lazy_refs) {
  1745. home_lazy_update();
  1746. home_lazy_update = null;
  1747. }
  1748. };
  1749.  
  1750.  
  1751.  
  1752.  
  1753. /* harmony default export */ const zhihu_com_home_lazy = (home_lazy_exported);
  1754.  
  1755. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/zhihu-com/home.ts
  1756.  
  1757. const zhihuHome = ({
  1758. store,
  1759. createControl
  1760. }) => ({
  1761. handler() {
  1762. createControl({
  1763. store,
  1764. execute: zhihu_com_home_lazy.use
  1765. });
  1766. }
  1767.  
  1768. });
  1769. // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/scripts/widescreen/sites/zhihu-com/topic.lazy.scss
  1770. var topic_lazy = __webpack_require__(486);
  1771. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/zhihu-com/topic.lazy.scss
  1772.  
  1773. var topic_lazy_exported = {};
  1774.  
  1775. if (topic_lazy/* default */.Z && topic_lazy/* default.locals */.Z.locals) {
  1776. topic_lazy_exported.locals = topic_lazy/* default.locals */.Z.locals;
  1777. }
  1778.  
  1779. var topic_lazy_refs = 0;
  1780. var topic_lazy_update;
  1781. var topic_lazy_options = {};
  1782.  
  1783. topic_lazy_options.styleTagTransform = (styleTagTransform_default());
  1784. topic_lazy_options.setAttributes = (setAttributesWithoutAttributes_default());
  1785.  
  1786. topic_lazy_options.insert = insertBySelector_default().bind(null, "head");
  1787. topic_lazy_options.domAPI = (styleDomAPI_default());
  1788. topic_lazy_options.insertStyleElement = (insertStyleElement_default());
  1789.  
  1790. topic_lazy_exported.use = function(insertOptions) {
  1791. topic_lazy_options.options = insertOptions || {};
  1792.  
  1793. if (!(topic_lazy_refs++)) {
  1794. topic_lazy_update = injectStylesIntoStyleTag_default()(topic_lazy/* default */.Z, topic_lazy_options);
  1795. }
  1796.  
  1797. return topic_lazy_exported;
  1798. };
  1799. topic_lazy_exported.unuse = function() {
  1800. if (topic_lazy_refs > 0 && !--topic_lazy_refs) {
  1801. topic_lazy_update();
  1802. topic_lazy_update = null;
  1803. }
  1804. };
  1805.  
  1806.  
  1807.  
  1808.  
  1809. /* harmony default export */ const zhihu_com_topic_lazy = (topic_lazy_exported);
  1810.  
  1811. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/zhihu-com/topic.ts
  1812.  
  1813. const zhihuTopic = ({
  1814. store,
  1815. createControl
  1816. }) => ({
  1817. handler() {
  1818. createControl({
  1819. store,
  1820. execute: zhihu_com_topic_lazy.use
  1821. });
  1822. }
  1823.  
  1824. });
  1825. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/zhihu-com/index.ts
  1826.  
  1827.  
  1828.  
  1829.  
  1830. // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/scripts/widescreen/sites/juejin-cn/index.lazy.scss
  1831. var juejin_cn_index_lazy = __webpack_require__(5032);
  1832. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/juejin-cn/index.lazy.scss
  1833.  
  1834. var juejin_cn_index_lazy_exported = {};
  1835.  
  1836. if (juejin_cn_index_lazy/* default */.Z && juejin_cn_index_lazy/* default.locals */.Z.locals) {
  1837. juejin_cn_index_lazy_exported.locals = juejin_cn_index_lazy/* default.locals */.Z.locals;
  1838. }
  1839.  
  1840. var juejin_cn_index_lazy_refs = 0;
  1841. var juejin_cn_index_lazy_update;
  1842. var juejin_cn_index_lazy_options = {};
  1843.  
  1844. juejin_cn_index_lazy_options.styleTagTransform = (styleTagTransform_default());
  1845. juejin_cn_index_lazy_options.setAttributes = (setAttributesWithoutAttributes_default());
  1846.  
  1847. juejin_cn_index_lazy_options.insert = insertBySelector_default().bind(null, "head");
  1848. juejin_cn_index_lazy_options.domAPI = (styleDomAPI_default());
  1849. juejin_cn_index_lazy_options.insertStyleElement = (insertStyleElement_default());
  1850.  
  1851. juejin_cn_index_lazy_exported.use = function(insertOptions) {
  1852. juejin_cn_index_lazy_options.options = insertOptions || {};
  1853.  
  1854. if (!(juejin_cn_index_lazy_refs++)) {
  1855. juejin_cn_index_lazy_update = injectStylesIntoStyleTag_default()(juejin_cn_index_lazy/* default */.Z, juejin_cn_index_lazy_options);
  1856. }
  1857.  
  1858. return juejin_cn_index_lazy_exported;
  1859. };
  1860. juejin_cn_index_lazy_exported.unuse = function() {
  1861. if (juejin_cn_index_lazy_refs > 0 && !--juejin_cn_index_lazy_refs) {
  1862. juejin_cn_index_lazy_update();
  1863. juejin_cn_index_lazy_update = null;
  1864. }
  1865. };
  1866.  
  1867.  
  1868.  
  1869.  
  1870. /* harmony default export */ const sites_juejin_cn_index_lazy = (juejin_cn_index_lazy_exported);
  1871.  
  1872. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/juejin-cn/index.ts
  1873.  
  1874. const juejin = ({
  1875. store,
  1876. createControl
  1877. }) => ({
  1878. handler() {
  1879. createControl({
  1880. store,
  1881. execute: sites_juejin_cn_index_lazy.use
  1882. });
  1883. }
  1884.  
  1885. });
  1886. // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/scripts/widescreen/sites/crates-io/index.lazy.scss
  1887. var crates_io_index_lazy = __webpack_require__(4379);
  1888. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/crates-io/index.lazy.scss
  1889.  
  1890. var crates_io_index_lazy_exported = {};
  1891.  
  1892. if (crates_io_index_lazy/* default */.Z && crates_io_index_lazy/* default.locals */.Z.locals) {
  1893. crates_io_index_lazy_exported.locals = crates_io_index_lazy/* default.locals */.Z.locals;
  1894. }
  1895.  
  1896. var crates_io_index_lazy_refs = 0;
  1897. var crates_io_index_lazy_update;
  1898. var crates_io_index_lazy_options = {};
  1899.  
  1900. crates_io_index_lazy_options.styleTagTransform = (styleTagTransform_default());
  1901. crates_io_index_lazy_options.setAttributes = (setAttributesWithoutAttributes_default());
  1902.  
  1903. crates_io_index_lazy_options.insert = insertBySelector_default().bind(null, "head");
  1904. crates_io_index_lazy_options.domAPI = (styleDomAPI_default());
  1905. crates_io_index_lazy_options.insertStyleElement = (insertStyleElement_default());
  1906.  
  1907. crates_io_index_lazy_exported.use = function(insertOptions) {
  1908. crates_io_index_lazy_options.options = insertOptions || {};
  1909.  
  1910. if (!(crates_io_index_lazy_refs++)) {
  1911. crates_io_index_lazy_update = injectStylesIntoStyleTag_default()(crates_io_index_lazy/* default */.Z, crates_io_index_lazy_options);
  1912. }
  1913.  
  1914. return crates_io_index_lazy_exported;
  1915. };
  1916. crates_io_index_lazy_exported.unuse = function() {
  1917. if (crates_io_index_lazy_refs > 0 && !--crates_io_index_lazy_refs) {
  1918. crates_io_index_lazy_update();
  1919. crates_io_index_lazy_update = null;
  1920. }
  1921. };
  1922.  
  1923.  
  1924.  
  1925.  
  1926. /* harmony default export */ const sites_crates_io_index_lazy = (crates_io_index_lazy_exported);
  1927.  
  1928. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/crates-io/index.ts
  1929.  
  1930. const crates = ({
  1931. store,
  1932. createControl
  1933. }) => ({
  1934. handler() {
  1935. createControl({
  1936. store,
  1937. execute: sites_crates_io_index_lazy.use
  1938. });
  1939. }
  1940.  
  1941. });
  1942. // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/scripts/widescreen/sites/jianshu-com/index.lazy.scss
  1943. var jianshu_com_index_lazy = __webpack_require__(5502);
  1944. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/jianshu-com/index.lazy.scss
  1945.  
  1946. var jianshu_com_index_lazy_exported = {};
  1947.  
  1948. if (jianshu_com_index_lazy/* default */.Z && jianshu_com_index_lazy/* default.locals */.Z.locals) {
  1949. jianshu_com_index_lazy_exported.locals = jianshu_com_index_lazy/* default.locals */.Z.locals;
  1950. }
  1951.  
  1952. var jianshu_com_index_lazy_refs = 0;
  1953. var jianshu_com_index_lazy_update;
  1954. var jianshu_com_index_lazy_options = {};
  1955.  
  1956. jianshu_com_index_lazy_options.styleTagTransform = (styleTagTransform_default());
  1957. jianshu_com_index_lazy_options.setAttributes = (setAttributesWithoutAttributes_default());
  1958.  
  1959. jianshu_com_index_lazy_options.insert = insertBySelector_default().bind(null, "head");
  1960. jianshu_com_index_lazy_options.domAPI = (styleDomAPI_default());
  1961. jianshu_com_index_lazy_options.insertStyleElement = (insertStyleElement_default());
  1962.  
  1963. jianshu_com_index_lazy_exported.use = function(insertOptions) {
  1964. jianshu_com_index_lazy_options.options = insertOptions || {};
  1965.  
  1966. if (!(jianshu_com_index_lazy_refs++)) {
  1967. jianshu_com_index_lazy_update = injectStylesIntoStyleTag_default()(jianshu_com_index_lazy/* default */.Z, jianshu_com_index_lazy_options);
  1968. }
  1969.  
  1970. return jianshu_com_index_lazy_exported;
  1971. };
  1972. jianshu_com_index_lazy_exported.unuse = function() {
  1973. if (jianshu_com_index_lazy_refs > 0 && !--jianshu_com_index_lazy_refs) {
  1974. jianshu_com_index_lazy_update();
  1975. jianshu_com_index_lazy_update = null;
  1976. }
  1977. };
  1978.  
  1979.  
  1980.  
  1981.  
  1982. /* harmony default export */ const sites_jianshu_com_index_lazy = (jianshu_com_index_lazy_exported);
  1983.  
  1984. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/jianshu-com/index.ts
  1985.  
  1986. const jianshu = ({
  1987. store,
  1988. createControl
  1989. }) => ({
  1990. handler() {
  1991. createControl({
  1992. store,
  1993. execute: sites_jianshu_com_index_lazy.use
  1994. });
  1995. }
  1996.  
  1997. });
  1998. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/www-baidu-com/index.ts
  1999.  
  2000.  
  2001. // eslint-disable-next-line @typescript-eslint/no-var-requires
  2002. const styles = (__webpack_require__(632)/* ["default"].toString */ .Z.toString)();
  2003.  
  2004. const baidu = ({
  2005. store,
  2006. createControl
  2007. }) => ({
  2008. handler() {
  2009. function execute() {
  2010. const styleSheet = GM_addStyle(styles);
  2011. interactive(() => {
  2012. const template = document.createElement('template');
  2013. template.appendChild(styleSheet); // 搜索时百度会清除head这里将样式插入一次到body
  2014.  
  2015. document.body.insertAdjacentElement('afterbegin', template);
  2016. });
  2017. }
  2018.  
  2019. createControl({
  2020. store,
  2021. execute
  2022. });
  2023. }
  2024.  
  2025. });
  2026. // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/scripts/widescreen/sites/tieba-baidu-com/p.lazy.scss
  2027. var p_lazy = __webpack_require__(2257);
  2028. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/tieba-baidu-com/p.lazy.scss
  2029.  
  2030. var p_lazy_exported = {};
  2031.  
  2032. if (p_lazy/* default */.Z && p_lazy/* default.locals */.Z.locals) {
  2033. p_lazy_exported.locals = p_lazy/* default.locals */.Z.locals;
  2034. }
  2035.  
  2036. var p_lazy_refs = 0;
  2037. var p_lazy_update;
  2038. var p_lazy_options = {};
  2039.  
  2040. p_lazy_options.styleTagTransform = (styleTagTransform_default());
  2041. p_lazy_options.setAttributes = (setAttributesWithoutAttributes_default());
  2042.  
  2043. p_lazy_options.insert = insertBySelector_default().bind(null, "head");
  2044. p_lazy_options.domAPI = (styleDomAPI_default());
  2045. p_lazy_options.insertStyleElement = (insertStyleElement_default());
  2046.  
  2047. p_lazy_exported.use = function(insertOptions) {
  2048. p_lazy_options.options = insertOptions || {};
  2049.  
  2050. if (!(p_lazy_refs++)) {
  2051. p_lazy_update = injectStylesIntoStyleTag_default()(p_lazy/* default */.Z, p_lazy_options);
  2052. }
  2053.  
  2054. return p_lazy_exported;
  2055. };
  2056. p_lazy_exported.unuse = function() {
  2057. if (p_lazy_refs > 0 && !--p_lazy_refs) {
  2058. p_lazy_update();
  2059. p_lazy_update = null;
  2060. }
  2061. };
  2062.  
  2063.  
  2064.  
  2065.  
  2066. /* harmony default export */ const tieba_baidu_com_p_lazy = (p_lazy_exported);
  2067.  
  2068. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/tieba-baidu-com/p.ts
  2069. // import { $, $$ } from '@/utils/selector'
  2070. // import * as readyState from '@/utils/ready-state'
  2071.  
  2072. const tieba = ({
  2073. store,
  2074. createControl
  2075. }) => ({
  2076. handler() {
  2077. // const postlistSelector = '#j_p_postlist'
  2078. function execute() {
  2079. /**
  2080. * 新版本更新后没什么好的办法,先不做处理
  2081. */
  2082.  
  2083. /* const replaceOriSrc = (function() {
  2084. const process = new WeakSet()
  2085. return function() {
  2086. const BDEImgEls = $$(`${postlistSelector} .BDE_Image`) as NodeListOf<HTMLImageElement>
  2087. BDEImgEls.forEach(img => {
  2088. if (process.has(img)) return
  2089. process.add(img)
  2090. // 忽略疑似上古时代的图片
  2091. if (img.src.includes('imgsa.baidu.com/forum')) return
  2092. // 贴吧自身根据
  2093. // /^http:\/\/[^\/\?]*?\.baidu\.com[:8082]*\/(\w+)\/([^\/\?]+)\/([^\/\?]+)\/(\w+?)\.(?:webp|jpg|jpeg)/ 判断是否相册,
  2094. // 后续 chrome 更改必须为 https 访问时可能需要更改这里的逻辑
  2095. // eslint-disable-next-line no-useless-escape
  2096. if (/^http(s?):\/\/[^\/\?]*?\.baidu\.com[:8082]*\/(\w+)\/([^\/\?]+)\/([^\/\?]+)\/(\w+?)\.(?:webp|jpg|jpeg)/.test(img.src)) {
  2097. const protocol = img.src.match(/^(https?:\/\/)/)![0]
  2098. img.src = `${protocol}tiebapic.baidu.com/forum/pic/item/${img.src.split('/').slice(-1)[0]}`
  2099. // 不能直接用 css:贴吧根据宽高判断,用 css 宽高 auto 时若图片未加载宽高获取到 0 导致无法查看大图
  2100. img.style.cssText += 'max-width: 100%; width: auto !important; height: auto; max-height: 130vh;'
  2101. }
  2102. })
  2103. }
  2104. })()
  2105. readyState.interactive(() => {
  2106. // 替换原图
  2107. replaceOriSrc()
  2108. const observer = new MutationObserver(mutationsList => {
  2109. mutationsList.forEach(mutation => {
  2110. const { target } = mutation
  2111. if ((target as HTMLElement).id !== postlistSelector.slice(1)) return
  2112. replaceOriSrc()
  2113. })
  2114. })
  2115. observer.observe($('.left_section') as HTMLElement, { childList: true, subtree: true })
  2116. }) */
  2117. tieba_baidu_com_p_lazy.use();
  2118. }
  2119.  
  2120. createControl({
  2121. store,
  2122. execute
  2123. });
  2124. }
  2125.  
  2126. });
  2127. // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/scripts/widescreen/sites/tieba-baidu-com/f.lazy.scss
  2128. var f_lazy = __webpack_require__(778);
  2129. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/tieba-baidu-com/f.lazy.scss
  2130.  
  2131. var f_lazy_exported = {};
  2132.  
  2133. if (f_lazy/* default */.Z && f_lazy/* default.locals */.Z.locals) {
  2134. f_lazy_exported.locals = f_lazy/* default.locals */.Z.locals;
  2135. }
  2136.  
  2137. var f_lazy_refs = 0;
  2138. var f_lazy_update;
  2139. var f_lazy_options = {};
  2140.  
  2141. f_lazy_options.styleTagTransform = (styleTagTransform_default());
  2142. f_lazy_options.setAttributes = (setAttributesWithoutAttributes_default());
  2143.  
  2144. f_lazy_options.insert = insertBySelector_default().bind(null, "head");
  2145. f_lazy_options.domAPI = (styleDomAPI_default());
  2146. f_lazy_options.insertStyleElement = (insertStyleElement_default());
  2147.  
  2148. f_lazy_exported.use = function(insertOptions) {
  2149. f_lazy_options.options = insertOptions || {};
  2150.  
  2151. if (!(f_lazy_refs++)) {
  2152. f_lazy_update = injectStylesIntoStyleTag_default()(f_lazy/* default */.Z, f_lazy_options);
  2153. }
  2154.  
  2155. return f_lazy_exported;
  2156. };
  2157. f_lazy_exported.unuse = function() {
  2158. if (f_lazy_refs > 0 && !--f_lazy_refs) {
  2159. f_lazy_update();
  2160. f_lazy_update = null;
  2161. }
  2162. };
  2163.  
  2164.  
  2165.  
  2166.  
  2167. /* harmony default export */ const tieba_baidu_com_f_lazy = (f_lazy_exported);
  2168.  
  2169. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/tieba-baidu-com/f.ts
  2170.  
  2171. const tiebaForum = ({
  2172. store,
  2173. createControl
  2174. }) => ({
  2175. handler() {
  2176. createControl({
  2177. store,
  2178. execute: tieba_baidu_com_f_lazy.use
  2179. });
  2180. }
  2181.  
  2182. });
  2183. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/tieba-baidu-com/index.ts
  2184.  
  2185.  
  2186.  
  2187. // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/scripts/widescreen/sites/www-sogou-com/index.lazy.scss
  2188. var www_sogou_com_index_lazy = __webpack_require__(3471);
  2189. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/www-sogou-com/index.lazy.scss
  2190.  
  2191. var www_sogou_com_index_lazy_exported = {};
  2192.  
  2193. if (www_sogou_com_index_lazy/* default */.Z && www_sogou_com_index_lazy/* default.locals */.Z.locals) {
  2194. www_sogou_com_index_lazy_exported.locals = www_sogou_com_index_lazy/* default.locals */.Z.locals;
  2195. }
  2196.  
  2197. var www_sogou_com_index_lazy_refs = 0;
  2198. var www_sogou_com_index_lazy_update;
  2199. var www_sogou_com_index_lazy_options = {};
  2200.  
  2201. www_sogou_com_index_lazy_options.styleTagTransform = (styleTagTransform_default());
  2202. www_sogou_com_index_lazy_options.setAttributes = (setAttributesWithoutAttributes_default());
  2203.  
  2204. www_sogou_com_index_lazy_options.insert = insertBySelector_default().bind(null, "head");
  2205. www_sogou_com_index_lazy_options.domAPI = (styleDomAPI_default());
  2206. www_sogou_com_index_lazy_options.insertStyleElement = (insertStyleElement_default());
  2207.  
  2208. www_sogou_com_index_lazy_exported.use = function(insertOptions) {
  2209. www_sogou_com_index_lazy_options.options = insertOptions || {};
  2210.  
  2211. if (!(www_sogou_com_index_lazy_refs++)) {
  2212. www_sogou_com_index_lazy_update = injectStylesIntoStyleTag_default()(www_sogou_com_index_lazy/* default */.Z, www_sogou_com_index_lazy_options);
  2213. }
  2214.  
  2215. return www_sogou_com_index_lazy_exported;
  2216. };
  2217. www_sogou_com_index_lazy_exported.unuse = function() {
  2218. if (www_sogou_com_index_lazy_refs > 0 && !--www_sogou_com_index_lazy_refs) {
  2219. www_sogou_com_index_lazy_update();
  2220. www_sogou_com_index_lazy_update = null;
  2221. }
  2222. };
  2223.  
  2224.  
  2225.  
  2226.  
  2227. /* harmony default export */ const sites_www_sogou_com_index_lazy = (www_sogou_com_index_lazy_exported);
  2228.  
  2229. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/www-sogou-com/index.ts
  2230.  
  2231. const sougou = ({
  2232. store,
  2233. createControl
  2234. }) => ({
  2235. handler() {
  2236. createControl({
  2237. store,
  2238. execute: sites_www_sogou_com_index_lazy.use
  2239. });
  2240. }
  2241.  
  2242. });
  2243. // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/scripts/widescreen/sites/segmentfault-com/index.lazy.scss
  2244. var segmentfault_com_index_lazy = __webpack_require__(3250);
  2245. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/segmentfault-com/index.lazy.scss
  2246.  
  2247. var segmentfault_com_index_lazy_exported = {};
  2248.  
  2249. if (segmentfault_com_index_lazy/* default */.Z && segmentfault_com_index_lazy/* default.locals */.Z.locals) {
  2250. segmentfault_com_index_lazy_exported.locals = segmentfault_com_index_lazy/* default.locals */.Z.locals;
  2251. }
  2252.  
  2253. var segmentfault_com_index_lazy_refs = 0;
  2254. var segmentfault_com_index_lazy_update;
  2255. var segmentfault_com_index_lazy_options = {};
  2256.  
  2257. segmentfault_com_index_lazy_options.styleTagTransform = (styleTagTransform_default());
  2258. segmentfault_com_index_lazy_options.setAttributes = (setAttributesWithoutAttributes_default());
  2259.  
  2260. segmentfault_com_index_lazy_options.insert = insertBySelector_default().bind(null, "head");
  2261. segmentfault_com_index_lazy_options.domAPI = (styleDomAPI_default());
  2262. segmentfault_com_index_lazy_options.insertStyleElement = (insertStyleElement_default());
  2263.  
  2264. segmentfault_com_index_lazy_exported.use = function(insertOptions) {
  2265. segmentfault_com_index_lazy_options.options = insertOptions || {};
  2266.  
  2267. if (!(segmentfault_com_index_lazy_refs++)) {
  2268. segmentfault_com_index_lazy_update = injectStylesIntoStyleTag_default()(segmentfault_com_index_lazy/* default */.Z, segmentfault_com_index_lazy_options);
  2269. }
  2270.  
  2271. return segmentfault_com_index_lazy_exported;
  2272. };
  2273. segmentfault_com_index_lazy_exported.unuse = function() {
  2274. if (segmentfault_com_index_lazy_refs > 0 && !--segmentfault_com_index_lazy_refs) {
  2275. segmentfault_com_index_lazy_update();
  2276. segmentfault_com_index_lazy_update = null;
  2277. }
  2278. };
  2279.  
  2280.  
  2281.  
  2282.  
  2283. /* harmony default export */ const sites_segmentfault_com_index_lazy = (segmentfault_com_index_lazy_exported);
  2284.  
  2285. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/segmentfault-com/index.ts
  2286.  
  2287. const segmentfault = ({
  2288. store,
  2289. createControl
  2290. }) => ({
  2291. handler() {
  2292. createControl({
  2293. store,
  2294. execute: sites_segmentfault_com_index_lazy.use
  2295. });
  2296. }
  2297.  
  2298. });
  2299. // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/scripts/widescreen/sites/www-bilibili-com/index.lazy.scss
  2300. var www_bilibili_com_index_lazy = __webpack_require__(5927);
  2301. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/www-bilibili-com/index.lazy.scss
  2302.  
  2303. var www_bilibili_com_index_lazy_exported = {};
  2304.  
  2305. if (www_bilibili_com_index_lazy/* default */.Z && www_bilibili_com_index_lazy/* default.locals */.Z.locals) {
  2306. www_bilibili_com_index_lazy_exported.locals = www_bilibili_com_index_lazy/* default.locals */.Z.locals;
  2307. }
  2308.  
  2309. var www_bilibili_com_index_lazy_refs = 0;
  2310. var www_bilibili_com_index_lazy_update;
  2311. var www_bilibili_com_index_lazy_options = {};
  2312.  
  2313. www_bilibili_com_index_lazy_options.styleTagTransform = (styleTagTransform_default());
  2314. www_bilibili_com_index_lazy_options.setAttributes = (setAttributesWithoutAttributes_default());
  2315.  
  2316. www_bilibili_com_index_lazy_options.insert = insertBySelector_default().bind(null, "head");
  2317. www_bilibili_com_index_lazy_options.domAPI = (styleDomAPI_default());
  2318. www_bilibili_com_index_lazy_options.insertStyleElement = (insertStyleElement_default());
  2319.  
  2320. www_bilibili_com_index_lazy_exported.use = function(insertOptions) {
  2321. www_bilibili_com_index_lazy_options.options = insertOptions || {};
  2322.  
  2323. if (!(www_bilibili_com_index_lazy_refs++)) {
  2324. www_bilibili_com_index_lazy_update = injectStylesIntoStyleTag_default()(www_bilibili_com_index_lazy/* default */.Z, www_bilibili_com_index_lazy_options);
  2325. }
  2326.  
  2327. return www_bilibili_com_index_lazy_exported;
  2328. };
  2329. www_bilibili_com_index_lazy_exported.unuse = function() {
  2330. if (www_bilibili_com_index_lazy_refs > 0 && !--www_bilibili_com_index_lazy_refs) {
  2331. www_bilibili_com_index_lazy_update();
  2332. www_bilibili_com_index_lazy_update = null;
  2333. }
  2334. };
  2335.  
  2336.  
  2337.  
  2338.  
  2339. /* harmony default export */ const sites_www_bilibili_com_index_lazy = (www_bilibili_com_index_lazy_exported);
  2340.  
  2341. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/www-bilibili-com/index.ts
  2342.  
  2343.  
  2344.  
  2345. const bilibili = ({
  2346. store,
  2347. createControl
  2348. }) => ({
  2349. handler() {
  2350. function execute() {
  2351. /* 替换为原图 */
  2352. // 稍微延时,待哔哩哔哩处理图片
  2353. DOMContentLoaded(() => {
  2354. $$('#article-content .img-box img[data-type="preview"][data-src]').forEach(img => {
  2355. const {
  2356. src
  2357. } = img.dataset;
  2358. const original = src.replace(/@[0-9a-z]+_[0-9a-z]+_/i, '@');
  2359. img.dataset.src = original;
  2360. });
  2361. });
  2362. sites_www_bilibili_com_index_lazy.use();
  2363. }
  2364.  
  2365. createControl({
  2366. store,
  2367. execute
  2368. });
  2369. }
  2370.  
  2371. });
  2372. // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/scripts/widescreen/sites/t-bilibili-com/index.lazy.scss
  2373. var t_bilibili_com_index_lazy = __webpack_require__(3338);
  2374. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/t-bilibili-com/index.lazy.scss
  2375.  
  2376. var t_bilibili_com_index_lazy_exported = {};
  2377.  
  2378. if (t_bilibili_com_index_lazy/* default */.Z && t_bilibili_com_index_lazy/* default.locals */.Z.locals) {
  2379. t_bilibili_com_index_lazy_exported.locals = t_bilibili_com_index_lazy/* default.locals */.Z.locals;
  2380. }
  2381.  
  2382. var t_bilibili_com_index_lazy_refs = 0;
  2383. var t_bilibili_com_index_lazy_update;
  2384. var t_bilibili_com_index_lazy_options = {};
  2385.  
  2386. t_bilibili_com_index_lazy_options.styleTagTransform = (styleTagTransform_default());
  2387. t_bilibili_com_index_lazy_options.setAttributes = (setAttributesWithoutAttributes_default());
  2388.  
  2389. t_bilibili_com_index_lazy_options.insert = insertBySelector_default().bind(null, "head");
  2390. t_bilibili_com_index_lazy_options.domAPI = (styleDomAPI_default());
  2391. t_bilibili_com_index_lazy_options.insertStyleElement = (insertStyleElement_default());
  2392.  
  2393. t_bilibili_com_index_lazy_exported.use = function(insertOptions) {
  2394. t_bilibili_com_index_lazy_options.options = insertOptions || {};
  2395.  
  2396. if (!(t_bilibili_com_index_lazy_refs++)) {
  2397. t_bilibili_com_index_lazy_update = injectStylesIntoStyleTag_default()(t_bilibili_com_index_lazy/* default */.Z, t_bilibili_com_index_lazy_options);
  2398. }
  2399.  
  2400. return t_bilibili_com_index_lazy_exported;
  2401. };
  2402. t_bilibili_com_index_lazy_exported.unuse = function() {
  2403. if (t_bilibili_com_index_lazy_refs > 0 && !--t_bilibili_com_index_lazy_refs) {
  2404. t_bilibili_com_index_lazy_update();
  2405. t_bilibili_com_index_lazy_update = null;
  2406. }
  2407. };
  2408.  
  2409.  
  2410.  
  2411.  
  2412. /* harmony default export */ const sites_t_bilibili_com_index_lazy = (t_bilibili_com_index_lazy_exported);
  2413.  
  2414. ;// CONCATENATED MODULE: ./src/utils/base.ts
  2415. function throttle(fn, delay) {
  2416. let timeoutId;
  2417. let begin = Date.now();
  2418. return function (...args) {
  2419. // eslint-disable-next-line @typescript-eslint/no-this-alias
  2420. const self = this;
  2421. const cur = Date.now();
  2422. clearTimeout(timeoutId);
  2423.  
  2424. if (cur - begin >= delay) {
  2425. fn.apply(self, args);
  2426. begin = cur;
  2427. } else {
  2428. timeoutId = setTimeout(function () {
  2429. fn.apply(self, args);
  2430. }, delay);
  2431. }
  2432. };
  2433. }
  2434. function once(fn) {
  2435. let called = false;
  2436. return function (...args) {
  2437. if (!called) {
  2438. called = true;
  2439. fn.apply(this, args);
  2440. }
  2441. };
  2442. }
  2443. /**
  2444. * 延时
  2445. * @param ms 毫秒数
  2446. */
  2447.  
  2448. const sleep = ms => new Promise(resolve => setTimeout(resolve, ms));
  2449. function isFunction(value) {
  2450. return typeof value === 'function';
  2451. }
  2452. ;// CONCATENATED MODULE: ./src/utils/dom.ts
  2453. function parseToDOM(str) {
  2454. const div = document.createElement('div');
  2455.  
  2456. if (typeof str === 'string') {
  2457. div.innerHTML = str;
  2458. }
  2459.  
  2460. return div.childNodes;
  2461. }
  2462. // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/scripts/widescreen/sites/t-bilibili-com/mocha-official-gifts.lazy.scss
  2463. var mocha_official_gifts_lazy = __webpack_require__(8191);
  2464. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/t-bilibili-com/mocha-official-gifts.lazy.scss
  2465.  
  2466. var mocha_official_gifts_lazy_exported = {};
  2467.  
  2468. if (mocha_official_gifts_lazy/* default */.Z && mocha_official_gifts_lazy/* default.locals */.Z.locals) {
  2469. mocha_official_gifts_lazy_exported.locals = mocha_official_gifts_lazy/* default.locals */.Z.locals;
  2470. }
  2471.  
  2472. var mocha_official_gifts_lazy_refs = 0;
  2473. var mocha_official_gifts_lazy_update;
  2474. var mocha_official_gifts_lazy_options = {};
  2475.  
  2476. mocha_official_gifts_lazy_options.styleTagTransform = (styleTagTransform_default());
  2477. mocha_official_gifts_lazy_options.setAttributes = (setAttributesWithoutAttributes_default());
  2478.  
  2479. mocha_official_gifts_lazy_options.insert = insertBySelector_default().bind(null, "head");
  2480. mocha_official_gifts_lazy_options.domAPI = (styleDomAPI_default());
  2481. mocha_official_gifts_lazy_options.insertStyleElement = (insertStyleElement_default());
  2482.  
  2483. mocha_official_gifts_lazy_exported.use = function(insertOptions) {
  2484. mocha_official_gifts_lazy_options.options = insertOptions || {};
  2485.  
  2486. if (!(mocha_official_gifts_lazy_refs++)) {
  2487. mocha_official_gifts_lazy_update = injectStylesIntoStyleTag_default()(mocha_official_gifts_lazy/* default */.Z, mocha_official_gifts_lazy_options);
  2488. }
  2489.  
  2490. return mocha_official_gifts_lazy_exported;
  2491. };
  2492. mocha_official_gifts_lazy_exported.unuse = function() {
  2493. if (mocha_official_gifts_lazy_refs > 0 && !--mocha_official_gifts_lazy_refs) {
  2494. mocha_official_gifts_lazy_update();
  2495. mocha_official_gifts_lazy_update = null;
  2496. }
  2497. };
  2498.  
  2499.  
  2500.  
  2501.  
  2502. /* harmony default export */ const t_bilibili_com_mocha_official_gifts_lazy = (mocha_official_gifts_lazy_exported);
  2503.  
  2504. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/t-bilibili-com/mocha-official-gifts.ts
  2505.  
  2506.  
  2507.  
  2508.  
  2509.  
  2510. load(async () => {
  2511. const MochaId = '212535360';
  2512.  
  2513. if (location.href.includes('space.bilibili.com/' + MochaId)) {
  2514. youAreNotAlone();
  2515. return;
  2516. }
  2517.  
  2518. await sleep(1000);
  2519. const uploader = $('.main-content .user-name a[href]')?.href;
  2520. if (!uploader) return;
  2521. const isMocha = uploader.match(/\/(\d+)\//)?.[1] === MochaId;
  2522. if (!isMocha) return;
  2523. youAreNotAlone();
  2524. });
  2525.  
  2526. function youAreNotAlone() {
  2527. t_bilibili_com_mocha_official_gifts_lazy.use();
  2528. document.body.append(parseToDOM(strawberry)[0]);
  2529. }
  2530. /*
  2531. 墨茶最爱吃的
  2532. 🍓🍓🍓🍓🍓🍓🍓🍓🍓🍓🍓🍓🍓🍓🍓🍓🍓🍓
  2533. 🍓🍓🍓🍓🍓🍓🍓🍓🍓🍓🍓🍓🍓🍓🍓🍓🍓🍓
  2534. 🍓🍓🍓🍓🍓🍓🍓🍓🍓🍓🍓🍓🍓🍓🍓🍓🍓🍓
  2535. */
  2536.  
  2537.  
  2538. const strawberry = '<svg class="mocha-strawberry" t="1611323249307" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3471" width="200" height="200"><path d="M799 780c-27.5 27.5-100.4 64.8-188.8 97.1 1.6-0.6 3.3-1.2 4.9-1.8-24.2-40.7-66.3-22.5-91.9-58.4-25.6-35.9 72.6-132.4 10.2-205S403.5 576 348 571.8c-55.5-4.3-114.5-75.2-147.8-120.5-13.9-18.9-20.7-54.3-23.8-89 17.6-41.9 37-78 56.7-104.7 2.6 32.6 19.6 94.1 64.7 102.9 117 23.1 184.3-39.1 256.3-6.8 17.7 7.9 29.5 22.5 38 40.8 13.9 29.6 19.6 68.9 29 105.2 9.2 35.4 21.9 68.1 49.1 86.4 64.5 43.2 132.2 49.4 187.3 9.6 3.9-2.8 7.7-5.8 11.4-9 11.4 86.1-26.6 150.1-69.9 193.3z" fill="#F9724C" p-id="3472"></path><path d="M615.2 875.3c-51.8 19.1-104.7 35.2-158.5 47.7-53.5 12.4-108.3 21.7-163.4 22.7-31 0.6-62.7-1.3-92.6-10 6 1.7 12.9 4.4 19.1 3.7 5-0.6 9.9-1.4 14.8-2.6 10.2-2.4 20.1-6.2 29.4-11.2 21.8-11.6 40.8-29.7 54.5-50.2 22.8-34.3 8.2-74.7-10.6-107.1-26.5-45.7-62.2-85.5-94.1-127.3-14.6-19.1-28.1-37.9-36.5-60.6-8-21.7-12.2-44.6-14.2-67.5-4-44.3-0.3-89.2 6.8-132.9 1-6.2 4.1-12 6.6-17.8 2.4 26.4 5.7 55.1 17.8 79.1 6.1 12 15.4 22.6 23.7 33.1 8.5 10.7 17.3 21.1 26.6 31.1 18 19.5 37.9 38.1 60.9 51.5 11.1 6.5 23.3 11.7 36.1 13.9 13.8 2.3 28 1 41.8-0.4 28-2.9 56.3-7.5 84.2-1 25.6 6 47.4 21.2 64.5 40.7 18 20.5 24.8 46 21.6 73-3.3 27.7-15 53.3-24.8 79.1-4.6 12.2-9.9 25.3-10 38.5-0.2 12.9 8.1 22.7 18.2 29.8 20.4 14.4 48.2 13.2 67 30.7 4.3 4.2 8 8.9 11.1 14z" fill="#ED4233" p-id="3473"></path><path d="M316.5 878.4c-14 19.3-31.6 36.3-52.8 47.5-10.5 5.5-21.8 9.6-33.4 11.9-5.1 1-10.7 2.4-15.8 1.4-6.2-1.2-12.4-3-18.5-4.9-21.7-6.9-41.9-18.1-56.7-35.8-15-18-24.2-40.2-30.3-62.6-13.1-47.9-13.6-99-10.4-148.3 3.3-50.4 11.3-100.5 22.4-149.7 12.4-54.9 29-108.6 49.4-161 0 3.9-1.3 8.2-1.9 12-0.6 4.2-1.2 8.4-1.8 12.7-1.2 8.9-2.2 17.9-3 26.9-1.7 18.9-2.5 37.9-2.1 56.9 0.7 36.2 5.6 73.4 20.5 106.7 7.4 16.5 18 30.7 28.9 45.1 11.1 14.7 22.6 29.2 34 43.6 22.2 28.2 45.1 56.4 63.1 87.5 9.7 16.7 18.3 34.8 21.3 54.1 3.1 19.9-1.1 39.7-12.9 56z" fill="#D10305" p-id="3474"></path><path d="M869 586.6c-21.1 18.3-46.9 30.9-74.7 34.5-28.2 3.6-56.8-1.9-82.9-12.7-24.7-10.3-50-24.3-65.3-47-15.9-23.6-23-52.2-29.3-79.6-6.4-28-11.4-57-22.9-83.5-5.1-11.8-11.8-23-21.1-31.9-9.4-9-21.1-14.6-33.6-18.1-28.7-8-58.4-2.6-87 3.4-29.1 6.1-58.2 12.5-88.1 13.8-15 0.7-30.1 0.1-45.1-1.6-13.7-1.6-27.9-3.3-39.9-10.7-22.2-13.8-34.1-40.2-40.6-64.6-1.8-6.9-3.3-13.8-4.3-20.9-0.4-2.8-1.5-6.5-1.1-9.2 0.3-2.1 1.8-3.4 3.1-5.2 8.7-11.3 18.4-21.5 29-31 21-19 44.3-35.6 70.2-47.1 26.7-11.8 55.6-17.8 84.8-17.3 29.2 0.5 58 7.3 85.2 17.7 54.5 20.9 103 55.3 147.2 92.9 44.4 37.8 86.1 79.6 122.6 125.1 36.3 45.2 68.4 95.7 84.9 151.6 4 13.6 7.1 27.5 8.9 41.4z" fill="#F7B696" p-id="3475"></path><path d="M621.2 499.7c-22.3 2.4-37.4 2.1-37.4 2.1s-10.2-48.5 8.4-107.4c13.9 29.7 19.6 68.9 29 105.3z" fill="#ED4233" p-id="3476"></path><path d="M870.8 606.2c-4.4-3.3-8.8-6.9-13.1-10.5-47.8-40.3-92.7-100.2-92.7-151.8-38.7 38.7-103 51.6-143.7 55.9-9.4-36.4-15.1-75.6-29-105.2 8.5-26.8 22.9-55.8 47.1-83.4-101.2 0-150.5-92.4-178.2-148.6 0.5 0.1 1 0.2 1.4 0.3 1.3 0.3 2.7 0.6 4 0.9 0.6 0.1 1.2 0.3 1.7 0.4 1.6 0.4 3.3 0.8 4.9 1.2 0.5 0.1 1 0.2 1.4 0.4 2 0.5 4.1 1.1 6.2 1.7 0.7 0.2 1.3 0.4 2 0.6 2.1 0.6 4.2 1.3 6.3 1.9 0.7 0.2 1.4 0.4 2.1 0.7 1.1 0.4 2.3 0.8 3.4 1.2 0.8 0.3 1.7 0.6 2.5 0.9 2.6 0.9 5.3 1.9 7.9 2.9 1 0.4 2.1 0.8 3.1 1.2 2.6 1 5.2 2.1 7.8 3.2 1 0.4 2.1 0.9 3.1 1.3 0.2 0.1 0.3 0.1 0.5 0.2 0.9 0.4 1.9 0.8 2.9 1.3 1.4 0.6 2.7 1.2 4.1 1.9 1.2 0.6 2.4 1.1 3.6 1.7 1.2 0.6 2.4 1.1 3.6 1.7 1.3 0.6 2.5 1.2 3.8 1.9 1.1 0.5 2.1 1.1 3.2 1.6 2.6 1.3 5.3 2.8 8 4.2 1.3 0.7 2.5 1.4 3.8 2.1 0.1 0.1 0.3 0.2 0.4 0.2 1.1 0.6 2.3 1.3 3.4 1.9 1.2 0.7 2.4 1.4 3.6 2 0.1 0.1 0.2 0.1 0.2 0.1 2.5 1.5 5.1 3 7.7 4.5 1.4 0.8 2.8 1.7 4.2 2.5 1.2 0.7 2.4 1.5 3.6 2.2 2.6 1.6 5.2 3.3 7.9 5l5.1 3.3c1 0.7 1.9 1.3 2.9 1.9 1.3 0.9 2.7 1.8 4 2.7s2.7 1.9 4 2.8c2.7 1.9 5.4 3.8 8.1 5.8 0.2 0.2 0.4 0.3 0.7 0.5 1.1 0.8 2.3 1.7 3.4 2.5 1.4 1 2.7 2 4.1 3 1.4 1 2.8 2.1 4.1 3.1 1.1 0.9 2.3 1.8 3.4 2.6 0.3 0.2 0.6 0.5 0.9 0.7 1.3 1 2.7 2.1 4 3.1l0.2 0.2c1.3 1.1 2.7 2.1 4 3.2 1.4 1.1 2.8 2.3 4.2 3.4 1.4 1.1 2.7 2.2 4.1 3.3 0.2 0.2 0.4 0.3 0.7 0.5 1.3 1 2.5 2.1 3.8 3.2 1.4 1.2 2.9 2.4 4.3 3.6 1.4 1.2 2.9 2.4 4.3 3.7 1.4 1.2 2.9 2.5 4.3 3.7 1.4 1.3 2.9 2.5 4.4 3.8s2.9 2.6 4.4 3.9c2.9 2.6 5.8 5.2 8.7 7.9 0.1 0.1 0.2 0.2 0.4 0.3 2.7 2.5 5.5 5 8.2 7.6l0.5 0.5c3 2.8 6 5.7 9 8.6 1.4 1.4 2.9 2.8 4.3 4.1l0.3 0.3c2.7 2.6 5.4 5.3 8.2 8l1 1 4.6 4.6c3.5 3.5 7 7.1 10.4 10.6 0.9 0.9 1.7 1.8 2.5 2.6 0.8 0.9 1.7 1.7 2.5 2.6 2.5 2.6 5 5.2 7.4 7.8 0.1 0.1 0.2 0.3 0.4 0.4 1.5 1.6 2.9 3.2 4.4 4.7 1.6 1.7 3.2 3.5 4.7 5.2 0.8 0.9 1.5 1.7 2.3 2.6 2.3 2.5 4.6 5.1 6.8 7.6 0.7 0.8 1.5 1.7 2.2 2.5s1.5 1.7 2.2 2.5c11.4 13.3 21.9 26.2 31.3 38.9 0.6 0.7 1.1 1.5 1.6 2.2 9.3 12.5 17.6 24.7 25 36.6 0.4 0.7 0.9 1.4 1.3 2 0.5 0.7 0.9 1.5 1.4 2.2 0.8 1.3 1.6 2.7 2.4 4 1.7 2.8 3.3 5.5 4.8 8.3 3.1 5.5 6.1 10.9 8.9 16.2 0.7 1.3 1.4 2.7 2 4 1.4 2.7 2.7 5.3 3.9 7.9 0.6 1.2 1.1 2.4 1.7 3.5 0.1 0.3 0.3 0.5 0.4 0.8 0.4 0.8 0.8 1.7 1.1 2.5 0.3 0.6 0.6 1.2 0.8 1.8 0.5 1 0.9 2 1.4 3.1 0.5 1.2 1 2.3 1.5 3.5s1 2.4 1.5 3.5c0.3 0.8 0.6 1.5 0.9 2.3 0.4 0.9 0.7 1.8 1.1 2.7 0.4 1.1 0.9 2.3 1.3 3.4 0.5 1.3 1 2.5 1.4 3.8 0.9 2.5 1.8 5 2.6 7.5 0.4 1.1 0.7 2.2 1.1 3.3 0.1 0.2 0.1 0.3 0.2 0.5 0.4 1.2 0.8 2.4 1.1 3.5v0.1c0.3 0.8 0.5 1.7 0.8 2.5 0.2 0.6 0.4 1.3 0.6 1.9 0.3 1 0.6 1.9 0.8 2.9 0.3 1.2 0.7 2.3 1 3.4 0 0.1 0.1 0.2 0.1 0.4 0.6 2.3 1.2 4.5 1.7 6.7 1.2 4.8 2.2 9.6 3.1 14.3 0.2 1.2 0.4 2.3 0.6 3.5 0.2 1.1 0.4 2.3 0.6 3.4 0.2 1.1 0.4 2.3 0.5 3.4 0.2 1.1 0.3 2.3 0.5 3.4 1 6.5 1.6 13 1.9 19.4z" fill="#F9724C" p-id="3477"></path><path d="M773.1 282.7c56-33.2 84.3-95.3 85.7-98.4 4.1-9.1 0-19.9-9.2-23.9-9.1-4.1-19.9 0-23.9 9.2-0.1 0.2-8.6 19-25.3 40.3-12.6 16-31.9 36-57 47.5C671.9 74.2 523.7 95 427.5 105.7c24.6 45.7 71.7 174.8 191.3 174.8-77.1 88.1-55.5 190.7-55.5 190.7s121.4 1.8 181.1-58c0 84.4 120.2 190.9 176.4 197.9 3-89.4 23.5-269.7-147.7-328.4z" fill="#91AB48" p-id="3478"></path><path d="M800.4 209.8c16.7-21.3 25.2-40.1 25.3-40.3 4.1-9.1 14.8-13.2 23.9-9.1 3 1.3 5.4 3.3 7.2 5.8 0.1-0.2 0.2-0.4 0.2-0.5 3.9-8.8 0-19.1-8.8-23.1-8.8-3.9-19.1 0-23.1 8.8-0.1 0.2-8.3 18.3-24.4 38.8-12.1 15.5-30.8 34.7-54.9 45.8C677 59.6 534.2 79.6 441.6 89.9c2.1 3.9 4.4 8.5 6.9 13.5 95.6-10.3 228.5-16.3 295 154 25-11.6 44.4-31.5 56.9-47.6zM794.1 268c-6.5 5.3-13.5 10.2-21 14.7C868.6 315.4 904.5 386 917 457.5c-6.9-72.9-33.8-150.4-122.9-189.5zM273.4 213.6c-2.8 2.8-5.5 5.8-8.3 9 50.9-46.5 112.7-75.2 190.9-61-4-7.2-7.6-14.2-10.9-20.9-70-4.9-125.6 26.8-171.7 72.9z" fill="#FFFFFF" p-id="3479"></path><path d="M911.2 431c-0.3 24.1-6.3 42-23.5 42-53 0-67.3-87.7-96.7-59s-52.2-18.5-62.4-29.7-63.2 1-90.9-37.8c-27.7-38.7 46-97.9 28.2-130.5S522.4 182.6 551 132.4c7.4-13 23-20.4 41.9-24.1 58.6 16 114.3 56.5 150.5 149 25.1-11.5 44.4-31.5 57-47.5 16.7-21.3 25.2-40.1 25.3-40.3 4.1-9.1 14.8-13.2 23.9-9.1 9.1 4.1 13.2 14.8 9.2 23.9-1.4 3.1-29.7 65.2-85.7 98.4 83.7 28.7 121.6 86.4 138.1 148.3z" fill="#A6BF4C" p-id="3480"></path><path d="M270 213.3c2.9 0 5.8-1.2 7.8-3.3 56.7-56.8 116.8-78.8 183.8-67.4 3.1 1.4 6.8 1.4 9.9-0.3 0.8-0.4 1.5-0.9 2.1-1.5 1.9-1.6 3.3-3.8 3.8-6.5 0.5-2.9-0.1-5.8-1.7-8.2-0.4-0.6-0.9-1.2-1.4-1.7-5.3-9.8-10-19.3-14.2-27.7l-2.1-4.3c-0.8-1.7-1.6-3.3-2.4-4.9 33.6-3.7 77.4-7.8 119-0.6 50.2 8.7 89.4 32.1 119.9 71.4 2 2.7 5.2 4.3 8.7 4.3 2.5 0 4.8-0.8 6.8-2.4 2.3-1.7 3.8-4.3 4.2-7.1 0.4-2.9-0.4-5.9-2.2-8.3-34.2-44.2-78.3-70.2-134.8-79.8-47.6-8-95.4-2.7-133.8 1.7l-5.9 0.7c-3.5 0.3-6.6 2.5-8.5 5.6-1.8 3.1-1.9 7-0.2 10.4l0.1 0.1c2.3 4.2 4.7 9.2 7.5 14.9l3.4 6.9c2 4.1 4.2 8.5 6.5 13.1-66.8-5.8-127.3 19.2-184.1 76l-0.1 0.1c-4.1 4.3-4.1 11.2 0 15.4 2.1 2.2 4.9 3.4 7.9 3.4zM841.6 671.9c-2.5-1.5-5.4-2-8.3-1.3-2.9 0.7-5.3 2.5-6.8 4.9-9.9 16.3-22.3 31.9-36.9 46.5-17.7 17.7-58.5 41.3-111.9 64.7-56.6 24.8-122.5 47.4-185.5 63.6-72.1 18.6-138.1 28.5-191 28.6H300c-59.9 0-102.2-12-125.9-35.6-18.1-18.1-30.8-46.7-37.7-85-6.5-36.1-7.8-79.5-3.7-129.1 7.5-91.4 33-198.3 68.2-286.1 1.2-2.8 1.2-5.8 0-8.5s-3.3-4.8-6-5.9c-2.7-1.1-5.7-1.1-8.4 0-2.7 1.2-4.8 3.3-5.9 6-36 89.7-62.1 199-69.7 292.5-4.2 51.6-2.9 96.9 4 134.8 7.7 42.8 22.4 75.3 43.8 96.7 28 27.9 75.6 42.1 141.4 42.1h0.2l0.4 0.1h0.6c54.8-0.2 122.7-10.4 196.4-29.4 131.1-33.9 266.2-92.8 307.5-134.1 15.9-15.9 29.4-32.9 40.1-50.5 3.1-5.1 1.5-11.8-3.7-15zM913.9 381.1c-9.8-32.5-25.1-60.5-45.4-83-19.4-21.6-43.8-38.9-72.7-51.5 46-35.5 69.1-87.3 69.4-87.9 6.4-14.3-0.1-31.3-14.4-37.7-6.8-3.1-14.6-3.3-21.9-0.6-7 2.7-12.7 8.1-15.8 15v0.1c-0.9 1.8-8.7 18.4-23.1 36.7-10.7 13.7-28.3 32.3-51 42.7-2.7 1.2-4.7 3.5-5.7 6.2-1 2.8-0.9 5.8 0.4 8.4 1.2 2.7 3.5 4.7 6.2 5.7 2.8 1 5.8 0.9 8.4-0.4 26.7-12.3 46.9-33.5 59.1-49.2 15.6-19.9 24.1-37.6 25.8-41.1l0.1-0.1c0.8-1.7 2-2.8 3.6-3.5 1.2-0.5 3-0.8 5 0.1 3.3 1.5 4.7 5.3 3.3 8.6l-0.1 0.2c-4.7 10.1-30.7 61.6-78.3 89.9-3.6 2.2-5.7 6.3-5.3 10.5 0.4 4.3 3.1 7.9 7.4 9.4 34.2 11.7 62.3 29.6 83.4 53.3 18.2 20.3 31.9 45.6 40.8 75.1 16.4 54.7 13.8 115.1 11.9 159.1-0.1 1.9-0.2 3.8-0.2 5.7-11.3-3.7-24.6-10.8-39-20.6-4.9-3.3-11.7-2-15.2 2.9l-0.1 0.1c-3.3 4.9-2 11.7 3 15.2 23.1 15.7 44 25 60.5 27.1h1.3c2.4 0 4.8-0.8 6.8-2.3l0.3-0.2c2.3-1.9 3.7-4.8 3.9-7.9v-0.2c0.1-5.3 0.3-11 0.6-17.1l0.1-2.4c1.8-45.7 4.4-108.2-13.1-166.3z" fill="#934A19" p-id="3481"></path></svg>';
  2539. // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/scripts/widescreen/sites/t-bilibili-com/detail.lazy.scss
  2540. var detail_lazy = __webpack_require__(158);
  2541. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/t-bilibili-com/detail.lazy.scss
  2542.  
  2543. var detail_lazy_exported = {};
  2544.  
  2545. if (detail_lazy/* default */.Z && detail_lazy/* default.locals */.Z.locals) {
  2546. detail_lazy_exported.locals = detail_lazy/* default.locals */.Z.locals;
  2547. }
  2548.  
  2549. var detail_lazy_refs = 0;
  2550. var detail_lazy_update;
  2551. var detail_lazy_options = {};
  2552.  
  2553. detail_lazy_options.styleTagTransform = (styleTagTransform_default());
  2554. detail_lazy_options.setAttributes = (setAttributesWithoutAttributes_default());
  2555.  
  2556. detail_lazy_options.insert = insertBySelector_default().bind(null, "head");
  2557. detail_lazy_options.domAPI = (styleDomAPI_default());
  2558. detail_lazy_options.insertStyleElement = (insertStyleElement_default());
  2559.  
  2560. detail_lazy_exported.use = function(insertOptions) {
  2561. detail_lazy_options.options = insertOptions || {};
  2562.  
  2563. if (!(detail_lazy_refs++)) {
  2564. detail_lazy_update = injectStylesIntoStyleTag_default()(detail_lazy/* default */.Z, detail_lazy_options);
  2565. }
  2566.  
  2567. return detail_lazy_exported;
  2568. };
  2569. detail_lazy_exported.unuse = function() {
  2570. if (detail_lazy_refs > 0 && !--detail_lazy_refs) {
  2571. detail_lazy_update();
  2572. detail_lazy_update = null;
  2573. }
  2574. };
  2575.  
  2576.  
  2577.  
  2578.  
  2579. /* harmony default export */ const t_bilibili_com_detail_lazy = (detail_lazy_exported);
  2580.  
  2581. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/t-bilibili-com/detail.ts
  2582.  
  2583.  
  2584. const bilibiliDynamicDetail = ({
  2585. store,
  2586. createControl
  2587. }) => ({
  2588. handler() {
  2589. createControl({
  2590. store,
  2591. execute: t_bilibili_com_detail_lazy.use
  2592. });
  2593. }
  2594.  
  2595. });
  2596. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/t-bilibili-com/index.ts
  2597.  
  2598. const bilibiliDynamic = ({
  2599. store,
  2600. createControl
  2601. }) => ({
  2602. handler() {
  2603. createControl({
  2604. store,
  2605. execute: sites_t_bilibili_com_index_lazy.use
  2606. });
  2607. }
  2608.  
  2609. });
  2610.  
  2611. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/space-bilibili-com/index.ts
  2612.  
  2613. const bilibiliSpace = () => ({
  2614. // eslint-disable-next-line @typescript-eslint/no-empty-function
  2615. handler() {}
  2616.  
  2617. });
  2618. // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/scripts/widescreen/sites/www-douban-com/index.lazy.scss
  2619. var www_douban_com_index_lazy = __webpack_require__(5201);
  2620. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/www-douban-com/index.lazy.scss
  2621.  
  2622. var www_douban_com_index_lazy_exported = {};
  2623.  
  2624. if (www_douban_com_index_lazy/* default */.Z && www_douban_com_index_lazy/* default.locals */.Z.locals) {
  2625. www_douban_com_index_lazy_exported.locals = www_douban_com_index_lazy/* default.locals */.Z.locals;
  2626. }
  2627.  
  2628. var www_douban_com_index_lazy_refs = 0;
  2629. var www_douban_com_index_lazy_update;
  2630. var www_douban_com_index_lazy_options = {};
  2631.  
  2632. www_douban_com_index_lazy_options.styleTagTransform = (styleTagTransform_default());
  2633. www_douban_com_index_lazy_options.setAttributes = (setAttributesWithoutAttributes_default());
  2634.  
  2635. www_douban_com_index_lazy_options.insert = insertBySelector_default().bind(null, "head");
  2636. www_douban_com_index_lazy_options.domAPI = (styleDomAPI_default());
  2637. www_douban_com_index_lazy_options.insertStyleElement = (insertStyleElement_default());
  2638.  
  2639. www_douban_com_index_lazy_exported.use = function(insertOptions) {
  2640. www_douban_com_index_lazy_options.options = insertOptions || {};
  2641.  
  2642. if (!(www_douban_com_index_lazy_refs++)) {
  2643. www_douban_com_index_lazy_update = injectStylesIntoStyleTag_default()(www_douban_com_index_lazy/* default */.Z, www_douban_com_index_lazy_options);
  2644. }
  2645.  
  2646. return www_douban_com_index_lazy_exported;
  2647. };
  2648. www_douban_com_index_lazy_exported.unuse = function() {
  2649. if (www_douban_com_index_lazy_refs > 0 && !--www_douban_com_index_lazy_refs) {
  2650. www_douban_com_index_lazy_update();
  2651. www_douban_com_index_lazy_update = null;
  2652. }
  2653. };
  2654.  
  2655.  
  2656.  
  2657.  
  2658. /* harmony default export */ const sites_www_douban_com_index_lazy = (www_douban_com_index_lazy_exported);
  2659.  
  2660. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/www-douban-com/index.ts
  2661.  
  2662. const douban = ({
  2663. store,
  2664. createControl
  2665. }) => ({
  2666. handler() {
  2667. createControl({
  2668. store,
  2669. execute: sites_www_douban_com_index_lazy.use
  2670. });
  2671. }
  2672.  
  2673. });
  2674. // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/scripts/widescreen/sites/movie-douban-com/subject.lazy.scss
  2675. var subject_lazy = __webpack_require__(6587);
  2676. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/movie-douban-com/subject.lazy.scss
  2677.  
  2678. var subject_lazy_exported = {};
  2679.  
  2680. if (subject_lazy/* default */.Z && subject_lazy/* default.locals */.Z.locals) {
  2681. subject_lazy_exported.locals = subject_lazy/* default.locals */.Z.locals;
  2682. }
  2683.  
  2684. var subject_lazy_refs = 0;
  2685. var subject_lazy_update;
  2686. var subject_lazy_options = {};
  2687.  
  2688. subject_lazy_options.styleTagTransform = (styleTagTransform_default());
  2689. subject_lazy_options.setAttributes = (setAttributesWithoutAttributes_default());
  2690.  
  2691. subject_lazy_options.insert = insertBySelector_default().bind(null, "head");
  2692. subject_lazy_options.domAPI = (styleDomAPI_default());
  2693. subject_lazy_options.insertStyleElement = (insertStyleElement_default());
  2694.  
  2695. subject_lazy_exported.use = function(insertOptions) {
  2696. subject_lazy_options.options = insertOptions || {};
  2697.  
  2698. if (!(subject_lazy_refs++)) {
  2699. subject_lazy_update = injectStylesIntoStyleTag_default()(subject_lazy/* default */.Z, subject_lazy_options);
  2700. }
  2701.  
  2702. return subject_lazy_exported;
  2703. };
  2704. subject_lazy_exported.unuse = function() {
  2705. if (subject_lazy_refs > 0 && !--subject_lazy_refs) {
  2706. subject_lazy_update();
  2707. subject_lazy_update = null;
  2708. }
  2709. };
  2710.  
  2711.  
  2712.  
  2713.  
  2714. /* harmony default export */ const movie_douban_com_subject_lazy = (subject_lazy_exported);
  2715.  
  2716. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/movie-douban-com/subject.ts
  2717.  
  2718. const doubanSubject = ({
  2719. store,
  2720. createControl
  2721. }) => ({
  2722. handler() {
  2723. createControl({
  2724. store,
  2725. execute: movie_douban_com_subject_lazy.use
  2726. });
  2727. }
  2728.  
  2729. });
  2730. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/movie-douban-com/review.ts
  2731. // 貌似样式一样的,直接用subject的吧
  2732.  
  2733. const doubanReview = ({
  2734. store,
  2735. createControl
  2736. }) => ({
  2737. handler() {
  2738. createControl({
  2739. store,
  2740. execute: movie_douban_com_subject_lazy.use
  2741. });
  2742. }
  2743.  
  2744. });
  2745. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/movie-douban-com/index.ts
  2746.  
  2747.  
  2748. // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/scripts/widescreen/sites/www-toutiao-com/index.lazy.scss
  2749. var www_toutiao_com_index_lazy = __webpack_require__(5186);
  2750. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/www-toutiao-com/index.lazy.scss
  2751.  
  2752. var www_toutiao_com_index_lazy_exported = {};
  2753.  
  2754. if (www_toutiao_com_index_lazy/* default */.Z && www_toutiao_com_index_lazy/* default.locals */.Z.locals) {
  2755. www_toutiao_com_index_lazy_exported.locals = www_toutiao_com_index_lazy/* default.locals */.Z.locals;
  2756. }
  2757.  
  2758. var www_toutiao_com_index_lazy_refs = 0;
  2759. var www_toutiao_com_index_lazy_update;
  2760. var www_toutiao_com_index_lazy_options = {};
  2761.  
  2762. www_toutiao_com_index_lazy_options.styleTagTransform = (styleTagTransform_default());
  2763. www_toutiao_com_index_lazy_options.setAttributes = (setAttributesWithoutAttributes_default());
  2764.  
  2765. www_toutiao_com_index_lazy_options.insert = insertBySelector_default().bind(null, "head");
  2766. www_toutiao_com_index_lazy_options.domAPI = (styleDomAPI_default());
  2767. www_toutiao_com_index_lazy_options.insertStyleElement = (insertStyleElement_default());
  2768.  
  2769. www_toutiao_com_index_lazy_exported.use = function(insertOptions) {
  2770. www_toutiao_com_index_lazy_options.options = insertOptions || {};
  2771.  
  2772. if (!(www_toutiao_com_index_lazy_refs++)) {
  2773. www_toutiao_com_index_lazy_update = injectStylesIntoStyleTag_default()(www_toutiao_com_index_lazy/* default */.Z, www_toutiao_com_index_lazy_options);
  2774. }
  2775.  
  2776. return www_toutiao_com_index_lazy_exported;
  2777. };
  2778. www_toutiao_com_index_lazy_exported.unuse = function() {
  2779. if (www_toutiao_com_index_lazy_refs > 0 && !--www_toutiao_com_index_lazy_refs) {
  2780. www_toutiao_com_index_lazy_update();
  2781. www_toutiao_com_index_lazy_update = null;
  2782. }
  2783. };
  2784.  
  2785.  
  2786.  
  2787.  
  2788. /* harmony default export */ const sites_www_toutiao_com_index_lazy = (www_toutiao_com_index_lazy_exported);
  2789.  
  2790. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/www-toutiao-com/index.ts
  2791.  
  2792. const toutiao = ({
  2793. store,
  2794. createControl
  2795. }) => ({
  2796. handler() {
  2797. createControl({
  2798. store,
  2799. execute: sites_www_toutiao_com_index_lazy.use
  2800. });
  2801. }
  2802.  
  2803. });
  2804. // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/scripts/widescreen/sites/weibo-com/article.lazy.scss
  2805. var article_lazy = __webpack_require__(7028);
  2806. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/weibo-com/article.lazy.scss
  2807.  
  2808. var article_lazy_exported = {};
  2809.  
  2810. if (article_lazy/* default */.Z && article_lazy/* default.locals */.Z.locals) {
  2811. article_lazy_exported.locals = article_lazy/* default.locals */.Z.locals;
  2812. }
  2813.  
  2814. var article_lazy_refs = 0;
  2815. var article_lazy_update;
  2816. var article_lazy_options = {};
  2817.  
  2818. article_lazy_options.styleTagTransform = (styleTagTransform_default());
  2819. article_lazy_options.setAttributes = (setAttributesWithoutAttributes_default());
  2820.  
  2821. article_lazy_options.insert = insertBySelector_default().bind(null, "head");
  2822. article_lazy_options.domAPI = (styleDomAPI_default());
  2823. article_lazy_options.insertStyleElement = (insertStyleElement_default());
  2824.  
  2825. article_lazy_exported.use = function(insertOptions) {
  2826. article_lazy_options.options = insertOptions || {};
  2827.  
  2828. if (!(article_lazy_refs++)) {
  2829. article_lazy_update = injectStylesIntoStyleTag_default()(article_lazy/* default */.Z, article_lazy_options);
  2830. }
  2831.  
  2832. return article_lazy_exported;
  2833. };
  2834. article_lazy_exported.unuse = function() {
  2835. if (article_lazy_refs > 0 && !--article_lazy_refs) {
  2836. article_lazy_update();
  2837. article_lazy_update = null;
  2838. }
  2839. };
  2840.  
  2841.  
  2842.  
  2843.  
  2844. /* harmony default export */ const weibo_com_article_lazy = (article_lazy_exported);
  2845.  
  2846. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/weibo-com/article.ts
  2847.  
  2848. const weiboArticle = ({
  2849. store,
  2850. createControl
  2851. }) => ({
  2852. handler() {
  2853. createControl({
  2854. store,
  2855. execute: weibo_com_article_lazy.use
  2856. });
  2857. }
  2858.  
  2859. });
  2860. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/weibo-com/index.ts
  2861.  
  2862.  
  2863.  
  2864.  
  2865. // eslint-disable-next-line @typescript-eslint/no-var-requires
  2866. const homeStyles = (__webpack_require__(5258)/* ["default"].toString */ .Z.toString)(); // eslint-disable-next-line @typescript-eslint/no-var-requires
  2867.  
  2868.  
  2869. const playDetailStyles = (__webpack_require__(8184)/* ["default"].toString */ .Z.toString)();
  2870.  
  2871. // hack type
  2872.  
  2873. const unsafeWindowAlias = unsafeWindow;
  2874. const weibo = ({
  2875. store,
  2876. createControl
  2877. }) => ({
  2878. handler() {
  2879. const uiControl = createControl({
  2880. store,
  2881. visible: false,
  2882. silent: true
  2883. });
  2884. execute();
  2885.  
  2886. function execute() {
  2887. let proxyConfig;
  2888. document.addEventListener('readystatechange', () => {
  2889. // 是否启用新版微博
  2890. if ($('#app') && $('#app').__vue__) {
  2891. WbNewVersion();
  2892. return;
  2893. }
  2894.  
  2895. if (!unsafeWindowAlias.$CONFIG) return;
  2896. if (proxyConfig && proxyConfig === unsafeWindowAlias.$CONFIG) return;
  2897. proxyConfig = new Proxy(unsafeWindowAlias.$CONFIG, {
  2898. set(target, property, value, receiver) {
  2899. const oldVal = target[property];
  2900. const succeeded = Reflect.set(target, property, value, receiver);
  2901.  
  2902. if (property === 'location' && value !== oldVal) {
  2903. warn('script:reinsert styleSheet');
  2904. addStyle();
  2905. }
  2906.  
  2907. return succeeded;
  2908. }
  2909.  
  2910. });
  2911. unsafeWindowAlias.$CONFIG = proxyConfig;
  2912. addStyle();
  2913. });
  2914. }
  2915. /* 新版========start */
  2916.  
  2917.  
  2918. const WbNewVersion = once(() => {
  2919. const uiControl = createControl({
  2920. store,
  2921. visible: false,
  2922. silent: true
  2923. });
  2924.  
  2925. const app = $('#app').__vue__;
  2926.  
  2927. let styleSheet;
  2928. warn('新版本', app);
  2929. const pageStyleMap = new Map([[['home', // 首页
  2930. 'mygroups', // 首页左侧分组
  2931. 'profile', // 博主主页
  2932. 'nameProfile', // 博主主页(名称)
  2933. 'customProfile', // 自定义主页
  2934. 'bidDetail', // 微博详情
  2935. 'atWeibo', // 消息 at我的
  2936. 'cmtInbox', // 消息 评论
  2937. 'likeInbox', // 消息 赞
  2938. 'follow', // 我的关注、我的粉丝
  2939. 'myFollowTab', // 我的关注tab栏
  2940. 'fav', // 我的收藏
  2941. 'like', // 我的赞
  2942. 'weibo', // 热门微博
  2943. 'list', // 热门榜单
  2944. 'topic', // 话题榜
  2945. 'search', // 热搜榜
  2946. 'searchResult' // 搜索结果
  2947. ], () => GM_addStyle(homeStyles)], [['Playdetail' // 视频详情
  2948. ], () => GM_addStyle(playDetailStyles)]]);
  2949. const notify = once(() => {
  2950. uiControl.notify();
  2951. });
  2952. app.$watch('$route', to => {
  2953. styleSheet?.remove();
  2954. warn('route changed', to);
  2955. uiControl.hide();
  2956.  
  2957. for (const [routenames, addStyle] of pageStyleMap.entries()) {
  2958. if (routenames.includes(to.name)) {
  2959. uiControl.show();
  2960.  
  2961. if (store.enabled) {
  2962. styleSheet = addStyle();
  2963. notify();
  2964. }
  2965.  
  2966. break;
  2967. }
  2968. }
  2969. }, {
  2970. immediate: true
  2971. });
  2972. });
  2973. /* 新版========end */
  2974.  
  2975. /* 旧版(保留,不再更新) */
  2976.  
  2977. const addStyle = function () {
  2978. let styleSheet;
  2979. return function () {
  2980. const {
  2981. $CONFIG
  2982. } = unsafeWindowAlias;
  2983. const classnamePrefix = 'inject-ws-';
  2984.  
  2985. const getClassname = classname => `${classnamePrefix}${classname}`;
  2986.  
  2987. styleSheet?.remove();
  2988. [...document.body.classList.values()].forEach(item => {
  2989. if (item.startsWith(classnamePrefix)) {
  2990. document.body.classList.remove(item);
  2991. }
  2992. });
  2993. const pages = {
  2994. // 首页(含特别关注)、我的收藏、我的赞、好友圈
  2995. mainpage: {
  2996. test: /^v6.*_content_home$/.test($CONFIG.location) || /v6_(fav|likes_outbox|content_friends)/.test($CONFIG.location),
  2997. use: doMainPage
  2998. },
  2999. // 用户资料页、相册、管理中心、粉丝、服务、财经专家、热门话题
  3000. profilepage: {
  3001. test: /^page_.*_(home|photos|manage|myfollow|service|expert|topic)$/.test($CONFIG.location),
  3002. use: doProfilePage
  3003. },
  3004. // 微博详情
  3005. singleweibo: {
  3006. test: /^page_.*_single_weibo$/.test($CONFIG.location),
  3007. use: doSingleWBPage
  3008. }
  3009. };
  3010. const target = Object.entries(pages).find(([, {
  3011. test
  3012. }]) => test);
  3013. warn(target, $CONFIG.location);
  3014. if (!target) return;
  3015. uiControl.show();
  3016. if (!store.enabled) return;
  3017. styleSheet = target[1].use(getClassname(target[0]));
  3018. document.body.classList.add(getClassname(target[0]));
  3019. uiControl.notify();
  3020. };
  3021. }();
  3022.  
  3023. function doMainPage(classname) {
  3024. return GM_addStyle(`
  3025. :root {
  3026. --inject-page-width: min(75vw, 1330px);
  3027. }
  3028. @media screen and (min-width: 1300px) {
  3029. |> .WB_frame {
  3030. display: flex;
  3031. width: var(--inject-page-width) !important;
  3032. }
  3033. /* 内容 */
  3034. |> #plc_main {
  3035. display: flex !important;
  3036. flex: 1;
  3037. width: auto !important;
  3038. }
  3039. |> .WB_main_c {
  3040. flex: 1;
  3041. }
  3042. /* 微博类型 */
  3043. |> .tab_box {
  3044. display: flex;
  3045. }
  3046. |> .tab_box::after {
  3047. content: none;
  3048. }
  3049. |> .tab_box .fr_box {
  3050. flex: 1;
  3051. }
  3052. /* 返回顶部按钮 */
  3053. |> .W_gotop {
  3054. left: calc(50% + (var(--inject-page-width) / 2));
  3055. margin-left: 0 !important;
  3056. }
  3057. }
  3058. `.replace(/\|>/g, `.${classname}`));
  3059. }
  3060.  
  3061. function doProfilePage(classname) {
  3062. return GM_addStyle(`
  3063. :root {
  3064. --inject-page-width: min(75vw, 1330px);
  3065. }
  3066. @media screen and (min-width: 1300px) {
  3067. |> .WB_frame {
  3068. width: var(--inject-page-width) !important;
  3069. }
  3070. |> .WB_frame_a, .WB_frame_a_fix {
  3071. width: 100%;
  3072. }
  3073. /* 内容 */
  3074. |> #plc_main {
  3075. width: 100% !important;
  3076. display: flex;
  3077. }
  3078. /* 这里修复特殊博主页右边距 */
  3079. |> #plc_main > div:last-child {
  3080. margin-right: 0;
  3081. }
  3082. /* 特殊博主页评论 */
  3083. |> .WB_frame_c .input_simple_wrap .inputfunc_simple_wrap {
  3084. width: calc(100% - 80px);
  3085. }
  3086. |> .WB_frame_c {
  3087. flex: 1;
  3088. }
  3089. /* 右侧悬浮时间线 */
  3090. |> .WB_timeline {
  3091. left: calc(50% + (var(--inject-page-width) / 2) + 10px);
  3092. margin-left: 0;
  3093. }
  3094. /* 返回顶部按钮 */
  3095. |> .W_gotop {
  3096. left: calc(50% + (var(--inject-page-width) / 2));
  3097. margin-left: 0 !important;
  3098. }
  3099. /* 个人资料 管理中心 */
  3100. |> .WB_frame_a_fix {
  3101. display: flex;
  3102. justify-content: center;
  3103. }
  3104. |> .WB_frame_a_fix > .PCD_admin_content {
  3105. float: none;
  3106. margin-left: 18px;
  3107. }
  3108. |> .WB_frame_a_fix > .PCD_admin_content .PCD_admin_content {
  3109. float: none;
  3110. }
  3111. }
  3112. `.replace(/\|>/g, `.${classname}`));
  3113. }
  3114.  
  3115. function doSingleWBPage(classname) {
  3116. return GM_addStyle(`
  3117. :root {
  3118. --inject-page-width: min(75vw, 1330px);
  3119. }
  3120. @media screen and (min-width: 1300px) {
  3121. |> .WB_frame {
  3122. width: var(--inject-page-width) !important;
  3123. }
  3124. /* 内容 */
  3125. |> #plc_main {
  3126. display: flex !important;
  3127. width: auto !important;
  3128. }
  3129. |> #plc_main .WB_frame_c {
  3130. flex: 1;
  3131. }
  3132. /* 返回顶部按钮 */
  3133. |> .W_gotop {
  3134. left: calc(50% + (var(--inject-page-width) / 2) - 19px);
  3135. margin-left: 0 !important;
  3136. }
  3137. }
  3138. `.replace(/\|>/g, `.${classname}`));
  3139. }
  3140. }
  3141.  
  3142. });
  3143. // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/scripts/widescreen/sites/d-weibo-com/index.lazy.scss
  3144. var d_weibo_com_index_lazy = __webpack_require__(8343);
  3145. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/d-weibo-com/index.lazy.scss
  3146.  
  3147. var d_weibo_com_index_lazy_exported = {};
  3148.  
  3149. if (d_weibo_com_index_lazy/* default */.Z && d_weibo_com_index_lazy/* default.locals */.Z.locals) {
  3150. d_weibo_com_index_lazy_exported.locals = d_weibo_com_index_lazy/* default.locals */.Z.locals;
  3151. }
  3152.  
  3153. var d_weibo_com_index_lazy_refs = 0;
  3154. var d_weibo_com_index_lazy_update;
  3155. var d_weibo_com_index_lazy_options = {};
  3156.  
  3157. d_weibo_com_index_lazy_options.styleTagTransform = (styleTagTransform_default());
  3158. d_weibo_com_index_lazy_options.setAttributes = (setAttributesWithoutAttributes_default());
  3159.  
  3160. d_weibo_com_index_lazy_options.insert = insertBySelector_default().bind(null, "head");
  3161. d_weibo_com_index_lazy_options.domAPI = (styleDomAPI_default());
  3162. d_weibo_com_index_lazy_options.insertStyleElement = (insertStyleElement_default());
  3163.  
  3164. d_weibo_com_index_lazy_exported.use = function(insertOptions) {
  3165. d_weibo_com_index_lazy_options.options = insertOptions || {};
  3166.  
  3167. if (!(d_weibo_com_index_lazy_refs++)) {
  3168. d_weibo_com_index_lazy_update = injectStylesIntoStyleTag_default()(d_weibo_com_index_lazy/* default */.Z, d_weibo_com_index_lazy_options);
  3169. }
  3170.  
  3171. return d_weibo_com_index_lazy_exported;
  3172. };
  3173. d_weibo_com_index_lazy_exported.unuse = function() {
  3174. if (d_weibo_com_index_lazy_refs > 0 && !--d_weibo_com_index_lazy_refs) {
  3175. d_weibo_com_index_lazy_update();
  3176. d_weibo_com_index_lazy_update = null;
  3177. }
  3178. };
  3179.  
  3180.  
  3181.  
  3182.  
  3183. /* harmony default export */ const sites_d_weibo_com_index_lazy = (d_weibo_com_index_lazy_exported);
  3184.  
  3185. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/d-weibo-com/index.ts
  3186.  
  3187. const weiboDynamic = ({
  3188. store,
  3189. createControl
  3190. }) => ({
  3191. handler() {
  3192. createControl({
  3193. store,
  3194. execute: sites_d_weibo_com_index_lazy.use
  3195. });
  3196. }
  3197.  
  3198. });
  3199. ;// CONCATENATED MODULE: ./src/utils/querystring.ts
  3200. /**
  3201. * 解析 query
  3202. * @param href 或 带有参数格式的 string;有 search 则不再 hash
  3203. */
  3204. function parse(href = location.href) {
  3205. if (!href) return {};
  3206. let search;
  3207.  
  3208. try {
  3209. // 链接
  3210. const url = new URL(href);
  3211. ({
  3212. search
  3213. } = url); // 主要处理对hash的search
  3214.  
  3215. if (!search && url.hash.includes('?')) {
  3216. search = url.hash.split('?')[1];
  3217. }
  3218. } catch {
  3219. // 非链接,如:a=1&b=2、?a=1、/foo?a=1、/foo#bar?a=1
  3220. if (href.includes('?')) {
  3221. search = href.split('?')[1];
  3222. } else {
  3223. search = href;
  3224. }
  3225. }
  3226.  
  3227. return Object.fromEntries(new URLSearchParams(search));
  3228. }
  3229. function stringify(obj) {
  3230. return Object.entries(obj) // 过滤 undefined,保留 null 且转成 ''
  3231. .filter(([, value]) => value !== undefined).map(([key, value]) => `${key}=${value ?? ''}`).join('&');
  3232. }
  3233. // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/scripts/widescreen/sites/www-google-com/index.lazy.scss
  3234. var www_google_com_index_lazy = __webpack_require__(2797);
  3235. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/www-google-com/index.lazy.scss
  3236.  
  3237. var www_google_com_index_lazy_exported = {};
  3238.  
  3239. if (www_google_com_index_lazy/* default */.Z && www_google_com_index_lazy/* default.locals */.Z.locals) {
  3240. www_google_com_index_lazy_exported.locals = www_google_com_index_lazy/* default.locals */.Z.locals;
  3241. }
  3242.  
  3243. var www_google_com_index_lazy_refs = 0;
  3244. var www_google_com_index_lazy_update;
  3245. var www_google_com_index_lazy_options = {};
  3246.  
  3247. www_google_com_index_lazy_options.styleTagTransform = (styleTagTransform_default());
  3248. www_google_com_index_lazy_options.setAttributes = (setAttributesWithoutAttributes_default());
  3249.  
  3250. www_google_com_index_lazy_options.insert = insertBySelector_default().bind(null, "head");
  3251. www_google_com_index_lazy_options.domAPI = (styleDomAPI_default());
  3252. www_google_com_index_lazy_options.insertStyleElement = (insertStyleElement_default());
  3253.  
  3254. www_google_com_index_lazy_exported.use = function(insertOptions) {
  3255. www_google_com_index_lazy_options.options = insertOptions || {};
  3256.  
  3257. if (!(www_google_com_index_lazy_refs++)) {
  3258. www_google_com_index_lazy_update = injectStylesIntoStyleTag_default()(www_google_com_index_lazy/* default */.Z, www_google_com_index_lazy_options);
  3259. }
  3260.  
  3261. return www_google_com_index_lazy_exported;
  3262. };
  3263. www_google_com_index_lazy_exported.unuse = function() {
  3264. if (www_google_com_index_lazy_refs > 0 && !--www_google_com_index_lazy_refs) {
  3265. www_google_com_index_lazy_update();
  3266. www_google_com_index_lazy_update = null;
  3267. }
  3268. };
  3269.  
  3270.  
  3271.  
  3272.  
  3273. /* harmony default export */ const sites_www_google_com_index_lazy = (www_google_com_index_lazy_exported);
  3274.  
  3275. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/www-google-com/index.ts
  3276.  
  3277.  
  3278. const google = ({
  3279. store,
  3280. createControl
  3281. }) => ({
  3282. handler() {
  3283. if (parse().tbm) return; // 选择了tab搜索时终止
  3284.  
  3285. createControl({
  3286. store,
  3287. execute: sites_www_google_com_index_lazy.use
  3288. });
  3289. }
  3290.  
  3291. });
  3292. // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/scripts/widescreen/sites/blog-csdn-net/index.lazy.scss
  3293. var blog_csdn_net_index_lazy = __webpack_require__(3880);
  3294. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/blog-csdn-net/index.lazy.scss
  3295.  
  3296. var blog_csdn_net_index_lazy_exported = {};
  3297.  
  3298. if (blog_csdn_net_index_lazy/* default */.Z && blog_csdn_net_index_lazy/* default.locals */.Z.locals) {
  3299. blog_csdn_net_index_lazy_exported.locals = blog_csdn_net_index_lazy/* default.locals */.Z.locals;
  3300. }
  3301.  
  3302. var blog_csdn_net_index_lazy_refs = 0;
  3303. var blog_csdn_net_index_lazy_update;
  3304. var blog_csdn_net_index_lazy_options = {};
  3305.  
  3306. blog_csdn_net_index_lazy_options.styleTagTransform = (styleTagTransform_default());
  3307. blog_csdn_net_index_lazy_options.setAttributes = (setAttributesWithoutAttributes_default());
  3308.  
  3309. blog_csdn_net_index_lazy_options.insert = insertBySelector_default().bind(null, "head");
  3310. blog_csdn_net_index_lazy_options.domAPI = (styleDomAPI_default());
  3311. blog_csdn_net_index_lazy_options.insertStyleElement = (insertStyleElement_default());
  3312.  
  3313. blog_csdn_net_index_lazy_exported.use = function(insertOptions) {
  3314. blog_csdn_net_index_lazy_options.options = insertOptions || {};
  3315.  
  3316. if (!(blog_csdn_net_index_lazy_refs++)) {
  3317. blog_csdn_net_index_lazy_update = injectStylesIntoStyleTag_default()(blog_csdn_net_index_lazy/* default */.Z, blog_csdn_net_index_lazy_options);
  3318. }
  3319.  
  3320. return blog_csdn_net_index_lazy_exported;
  3321. };
  3322. blog_csdn_net_index_lazy_exported.unuse = function() {
  3323. if (blog_csdn_net_index_lazy_refs > 0 && !--blog_csdn_net_index_lazy_refs) {
  3324. blog_csdn_net_index_lazy_update();
  3325. blog_csdn_net_index_lazy_update = null;
  3326. }
  3327. };
  3328.  
  3329.  
  3330.  
  3331.  
  3332. /* harmony default export */ const sites_blog_csdn_net_index_lazy = (blog_csdn_net_index_lazy_exported);
  3333.  
  3334. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/blog-csdn-net/index.ts
  3335.  
  3336. const csdn = ({
  3337. store,
  3338. createControl
  3339. }) => ({
  3340. handler() {
  3341. createControl({
  3342. store,
  3343.  
  3344. execute() {
  3345. // 关闭登录(不可用)弹窗
  3346. document.cookie = `unlogin_scroll_step=${Date.now()};domain=.csdn.net;path=/`;
  3347. sites_blog_csdn_net_index_lazy.use();
  3348. }
  3349.  
  3350. });
  3351. }
  3352.  
  3353. });
  3354. ;// CONCATENATED MODULE: ./src/utils/visibility-state.ts
  3355. /**
  3356. * 页面 visible 时执行 setInterval
  3357. * 参数同 setInterval,返回终止函数
  3358. */
  3359. function onVisible(callback, delay = 500, ...rest) {
  3360. let intervalId;
  3361.  
  3362. function listener() {
  3363. clearInterval(intervalId);
  3364. if (document.visibilityState === 'hidden') return; // eslint-disable-next-line n/no-callback-literal
  3365.  
  3366. callback(...rest);
  3367. intervalId = setInterval(callback, delay, ...rest);
  3368. }
  3369.  
  3370. listener();
  3371. document.addEventListener('visibilitychange', listener);
  3372. return function abort() {
  3373. clearInterval(intervalId);
  3374. document.removeEventListener('visibilitychange', listener);
  3375. };
  3376. }
  3377. // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/scripts/widescreen/sites/bbs-mihoyo-com/index.lazy.scss
  3378. var bbs_mihoyo_com_index_lazy = __webpack_require__(6534);
  3379. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/bbs-mihoyo-com/index.lazy.scss
  3380.  
  3381. var bbs_mihoyo_com_index_lazy_exported = {};
  3382.  
  3383. if (bbs_mihoyo_com_index_lazy/* default */.Z && bbs_mihoyo_com_index_lazy/* default.locals */.Z.locals) {
  3384. bbs_mihoyo_com_index_lazy_exported.locals = bbs_mihoyo_com_index_lazy/* default.locals */.Z.locals;
  3385. }
  3386.  
  3387. var bbs_mihoyo_com_index_lazy_refs = 0;
  3388. var bbs_mihoyo_com_index_lazy_update;
  3389. var bbs_mihoyo_com_index_lazy_options = {};
  3390.  
  3391. bbs_mihoyo_com_index_lazy_options.styleTagTransform = (styleTagTransform_default());
  3392. bbs_mihoyo_com_index_lazy_options.setAttributes = (setAttributesWithoutAttributes_default());
  3393.  
  3394. bbs_mihoyo_com_index_lazy_options.insert = insertBySelector_default().bind(null, "head");
  3395. bbs_mihoyo_com_index_lazy_options.domAPI = (styleDomAPI_default());
  3396. bbs_mihoyo_com_index_lazy_options.insertStyleElement = (insertStyleElement_default());
  3397.  
  3398. bbs_mihoyo_com_index_lazy_exported.use = function(insertOptions) {
  3399. bbs_mihoyo_com_index_lazy_options.options = insertOptions || {};
  3400.  
  3401. if (!(bbs_mihoyo_com_index_lazy_refs++)) {
  3402. bbs_mihoyo_com_index_lazy_update = injectStylesIntoStyleTag_default()(bbs_mihoyo_com_index_lazy/* default */.Z, bbs_mihoyo_com_index_lazy_options);
  3403. }
  3404.  
  3405. return bbs_mihoyo_com_index_lazy_exported;
  3406. };
  3407. bbs_mihoyo_com_index_lazy_exported.unuse = function() {
  3408. if (bbs_mihoyo_com_index_lazy_refs > 0 && !--bbs_mihoyo_com_index_lazy_refs) {
  3409. bbs_mihoyo_com_index_lazy_update();
  3410. bbs_mihoyo_com_index_lazy_update = null;
  3411. }
  3412. };
  3413.  
  3414.  
  3415.  
  3416.  
  3417. /* harmony default export */ const sites_bbs_mihoyo_com_index_lazy = (bbs_mihoyo_com_index_lazy_exported);
  3418.  
  3419. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/bbs-mihoyo-com/index.ts
  3420.  
  3421.  
  3422.  
  3423. const mihoyoBBS = ({
  3424. store,
  3425. createControl
  3426. }) => ({
  3427. handler() {
  3428. function replaceImgURL() {
  3429. onVisible(() => {
  3430. // 文章中的图片原图显示
  3431. $$('.mhy-article-page__content .ql-image-box img:not([replaced=true])').forEach(img => {
  3432. const original = img.getAttribute('large');
  3433. if (!original) return;
  3434. img.src = original;
  3435. img.setAttribute('replaced', 'true'); // 标记
  3436. });
  3437. });
  3438. }
  3439.  
  3440. createControl({
  3441. store,
  3442.  
  3443. execute() {
  3444. replaceImgURL();
  3445. sites_bbs_mihoyo_com_index_lazy.use();
  3446. }
  3447.  
  3448. });
  3449. }
  3450.  
  3451. });
  3452. ;// CONCATENATED MODULE: ./src/scripts/widescreen/sites/index.ts
  3453.  
  3454.  
  3455.  
  3456.  
  3457.  
  3458.  
  3459.  
  3460.  
  3461.  
  3462.  
  3463.  
  3464.  
  3465.  
  3466.  
  3467.  
  3468.  
  3469.  
  3470.  
  3471.  
  3472.  
  3473.  
  3474.  
  3475. const sites = [{
  3476. name: '半次元',
  3477. namespace: 'banciyuan',
  3478. test: /^bcy\.net\/item\/detail\//,
  3479. use: banciyuan
  3480. }, {
  3481. name: '微信',
  3482. namespace: 'weixin',
  3483. test: /^mp\.weixin\.qq\.com\/s/,
  3484. use: weixin
  3485. }, {
  3486. name: '知乎专栏',
  3487. namespace: 'zhihu',
  3488. test: /^zhuanlan\.zhihu\.com\/p\//,
  3489. use: zhihuZhuanlan
  3490. }, {
  3491. name: '知乎问答',
  3492. namespace: 'zhihu',
  3493. test: /^www\.zhihu\.com\/question\//,
  3494. use: zhihuQuestion
  3495. }, {
  3496. name: '知乎',
  3497. namespace: 'zhihu',
  3498. test: /^www\.zhihu\.com\/(follow|hot)?$/,
  3499. use: zhihuHome
  3500. }, {
  3501. name: '知乎话题',
  3502. namespace: 'zhihu',
  3503. test: /^www\.zhihu\.com\/topic\//,
  3504. use: zhihuTopic
  3505. }, {
  3506. name: '掘金',
  3507. namespace: 'juejin',
  3508. test: /^juejin\.cn\/post\//,
  3509. use: juejin
  3510. }, {
  3511. name: 'Crates.io',
  3512. namespace: 'crates',
  3513. test: /^crates\.io\/crates\//,
  3514. use: crates
  3515. }, {
  3516. name: '简书',
  3517. namespace: 'jianshu',
  3518. test: /^www\.jianshu\.com\/p\//,
  3519. use: jianshu
  3520. }, {
  3521. name: '百度',
  3522. namespace: 'baidu',
  3523. test: /^www\.baidu\.com\/s?$/,
  3524. use: baidu
  3525. }, {
  3526. name: '贴吧',
  3527. namespace: 'tieba',
  3528. test: /^tieba\.baidu\.com\/p\//,
  3529. use: tieba
  3530. }, {
  3531. name: '贴吧吧页',
  3532. namespace: 'tieba',
  3533. test: /^tieba\.baidu\.com\/f$/,
  3534. use: tiebaForum
  3535. }, {
  3536. name: '搜狗',
  3537. namespace: 'sougou',
  3538. test: /^www\.sogou\.com\/web$/,
  3539. use: sougou
  3540. }, {
  3541. name: 'segmentfault',
  3542. namespace: 'segmentfault',
  3543. test: /^segmentfault\.com\/(a|q)\//,
  3544. use: segmentfault
  3545. }, {
  3546. name: 'bilibili',
  3547. namespace: 'bilibili',
  3548. test: /^www\.bilibili\.com\/read\/cv/,
  3549. use: bilibili
  3550. }, {
  3551. name: 'bilibili 动态',
  3552. namespace: 'bilibili',
  3553. test: /^t\.bilibili\.com\/$/,
  3554. use: bilibiliDynamic
  3555. }, {
  3556. name: 'bilibili 动态详情',
  3557. namespace: 'bilibili',
  3558. test: /^t\.bilibili\.com\/\d+$/,
  3559. use: bilibiliDynamicDetail
  3560. }, {
  3561. name: 'bilibili 空间',
  3562. namespace: 'bilibili',
  3563. test: /^space\.bilibili\.com\/212535360$/,
  3564. use: bilibiliSpace
  3565. }, {
  3566. name: '豆瓣',
  3567. namespace: 'douban',
  3568. test: [/^www\.douban\.com\/gallery\/$/, /^www\.douban\.com\/gallery\/topic\/.+?/, /^www\.douban\.com\/note\/.+?/],
  3569. use: douban
  3570. }, {
  3571. name: '豆瓣电影 详情',
  3572. namespace: 'doubanmovie',
  3573. test: /^movie\.douban\.com\/subject\//,
  3574. // 与剧评相关 movie.douban.com/subject/${id}/${xxx}
  3575. use: doubanSubject
  3576. }, {
  3577. name: '豆瓣电影 剧评详情',
  3578. namespace: 'doubanmovie',
  3579. test: /^movie\.douban\.com\/review\//,
  3580. use: doubanReview
  3581. }, {
  3582. name: '头条',
  3583. namespace: 'toutiao',
  3584. test: /^www\.toutiao\.com\/(article|w)\/\d+\/?$/,
  3585. // article/6884536349483860492、话题 w/1732500407565326
  3586. use: toutiao
  3587. }, {
  3588. name: '微博',
  3589. namespace: 'weibo',
  3590. test: /^(www\.)?weibo.com\//,
  3591. use: weibo
  3592. }, {
  3593. name: '微博文章',
  3594. namespace: 'weibo',
  3595. test: /^(www\.)?weibo.com\/ttarticle\/p\/show$/,
  3596. use: weiboArticle
  3597. }, {
  3598. name: '微博动态',
  3599. namespace: 'weibo',
  3600. test: /^d\.weibo\.com\//,
  3601. use: weiboDynamic
  3602. }, {
  3603. name: '谷歌',
  3604. namespace: 'google',
  3605. test: /^www\.google\..{2,7}search$/,
  3606. // 应该足够覆盖各个域名
  3607. use: google
  3608. }, {
  3609. name: 'CSDN',
  3610. namespace: 'csdn',
  3611. test: /^blog\.csdn\.net\/(\w|-)+\/article\/details\//,
  3612. use: csdn
  3613. }, {
  3614. name: '米游社',
  3615. namespace: 'mihoyoBBS',
  3616. // ys|bh2|bh3|wd|dby 对应:原神 崩坏2 崩坏3 未定 大别野
  3617. // 只用到原神,暂不对其它作处理
  3618. test: /^bbs.mihoyo.com\/(ys)\/article\//,
  3619. use: mihoyoBBS
  3620. }];
  3621. /* harmony default export */ const widescreen_sites = (sites);
  3622. ;// CONCATENATED MODULE: external "Vue"
  3623. const external_Vue_namespaceObject = Vue;
  3624. ;// CONCATENATED MODULE: ./src/utils/mount-component.ts
  3625. /*
  3626. 引用:https://github.com/youzan/vant/blob/dev/src/utils/mount-component.ts
  3627. */
  3628.  
  3629.  
  3630. function append(el) {
  3631. document.body ? document.body.appendChild(el) : window.addEventListener('DOMContentLoaded', () => append(el));
  3632. }
  3633.  
  3634. function mountComponent(RootComponent) {
  3635. const app = (0,external_Vue_namespaceObject.createApp)(RootComponent);
  3636. const root = document.createElement('div');
  3637. append(root);
  3638. return {
  3639. instance: app.mount(root),
  3640.  
  3641. unmount() {
  3642. app.unmount();
  3643. document.body.removeChild(root);
  3644. }
  3645.  
  3646. };
  3647. }
  3648. ;// CONCATENATED MODULE: ./src/composables/use-gm-value.ts
  3649.  
  3650. /**
  3651. * 同 GM_getValue、GM_setValue
  3652. */
  3653.  
  3654. function useGMvalue(name, defaultValue, _options) {
  3655. const {
  3656. listening,
  3657. deep
  3658. } = Object.assign({
  3659. listening: typeof _options === 'boolean' ? _options : true,
  3660. deep: false
  3661. }, _options);
  3662. const value = (0,external_Vue_namespaceObject.ref)(GM_getValue(name, defaultValue));
  3663. (0,external_Vue_namespaceObject.watch)(value, () => {
  3664. GM_setValue(name, value.value);
  3665. }, {
  3666. deep
  3667. });
  3668.  
  3669. if (listening) {
  3670. (0,external_Vue_namespaceObject.onUnmounted)(() => {
  3671. GM_removeValueChangeListener(id);
  3672. });
  3673. const id = GM_addValueChangeListener(name, (name, oldVal, newVal) => {
  3674. value.value = newVal;
  3675. });
  3676. }
  3677.  
  3678. return value;
  3679. }
  3680. ;// CONCATENATED MODULE: ./src/directives/v-ripple/utils.ts
  3681. /**
  3682. * 计算一个点离矩形中心点的距离
  3683. * @param width 矩形宽
  3684. * @param height 矩形高
  3685. * @return (left top 在矩形内点的坐标) => {} => () => {} 距离
  3686. */
  3687. function calcDiagInRect(width, height) {
  3688. const halfWidth = width / 2;
  3689. const halfHeight = height / 2;
  3690. return function (left, top) {
  3691. const a = left <= halfWidth ? halfWidth - left : left - halfWidth;
  3692. const b = top <= halfHeight ? halfHeight - top : top - halfHeight;
  3693. const c = Math.sqrt(a * a + b * b);
  3694. return c;
  3695. };
  3696. }
  3697. /**
  3698. * 计算当前值离总值中心的位置 越靠近中心值为1,远离中心值为0
  3699. * @param value 当前值
  3700. * @param extent 总值
  3701. * @return 取值 0-1
  3702. * @example value:50 extent:100 则计算 50 在 0-100 中的位置返回 1
  3703. * value:0 或 100 extent:100 返回 0
  3704. */
  3705.  
  3706. function closeness(value, extent) {
  3707. if (!value || !extent) return 0;
  3708. const half = extent / 2;
  3709. return value <= half ? value / half : 1 - value / extent;
  3710. }
  3711. // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/directives/v-ripple/index.scss
  3712. var v_ripple = __webpack_require__(8443);
  3713. ;// CONCATENATED MODULE: ./src/directives/v-ripple/index.scss
  3714.  
  3715.  
  3716. var v_ripple_options = {};
  3717.  
  3718. v_ripple_options.styleTagTransform = (styleTagTransform_default());
  3719. v_ripple_options.setAttributes = (setAttributesWithoutAttributes_default());
  3720.  
  3721. v_ripple_options.insert = insertBySelector_default().bind(null, "head");
  3722. v_ripple_options.domAPI = (styleDomAPI_default());
  3723. v_ripple_options.insertStyleElement = (insertStyleElement_default());
  3724.  
  3725. var v_ripple_update = injectStylesIntoStyleTag_default()(v_ripple/* default */.Z, v_ripple_options);
  3726.  
  3727.  
  3728.  
  3729.  
  3730. /* harmony default export */ const directives_v_ripple = (v_ripple/* default */.Z && v_ripple/* default.locals */.Z.locals ? v_ripple/* default.locals */.Z.locals : undefined);
  3731.  
  3732. ;// CONCATENATED MODULE: ./src/directives/v-ripple/index.ts
  3733.  
  3734.  
  3735. const containerClassname = 'skr-ripple-container';
  3736. const rippleClassname = 'skr-ripple';
  3737. const weakmap = new WeakMap();
  3738.  
  3739. /**
  3740. * 创建容器元素
  3741. */
  3742. function createRippleContainer() {
  3743. const div = document.createElement('div');
  3744. div.classList.add(containerClassname);
  3745. return div;
  3746. }
  3747. /**
  3748. * 创建涟漪元素
  3749. */
  3750.  
  3751.  
  3752. function createRippleEl() {
  3753. const span = document.createElement('div');
  3754. span.classList.add(rippleClassname);
  3755. return span;
  3756. }
  3757.  
  3758. function normalizeOptions(options) {
  3759. if (typeof options === 'boolean') {
  3760. return {
  3761. disabled: !options
  3762. };
  3763. }
  3764.  
  3765. return options;
  3766. }
  3767. /**
  3768. * 添加涟漪效果
  3769. */
  3770.  
  3771.  
  3772. const addRippleEffect = function (_options = {}) {
  3773. let options = normalizeOptions(_options); // 涟漪个数
  3774.  
  3775. let count = 0;
  3776.  
  3777. function listener(event) {
  3778. if (options.disabled) return;
  3779. const currentTarget = event.currentTarget; // 优化: 处理过后不再调用getComputedStyle
  3780.  
  3781. if (weakmap.get(currentTarget).position === false) {
  3782. weakmap.get(currentTarget).position = true; // 注意:会改变当前元素定位方式
  3783.  
  3784. if (getComputedStyle(currentTarget).position === 'static') {
  3785. currentTarget.style.position = 'relative';
  3786. }
  3787. }
  3788.  
  3789. const rect = currentTarget.getBoundingClientRect();
  3790. const rippleEl = createRippleEl(); // 取元素长的一边作为涟漪的周长
  3791.  
  3792. const side = Math.max(rect.width, rect.height);
  3793. const radius = side / 2; // 鼠标在元素中的坐标
  3794.  
  3795. const left = event.pageX - rect.left - window.scrollX;
  3796. const top = event.pageY - rect.top - window.scrollY; // 选项加入到元素中
  3797.  
  3798. options.color && (rippleEl.style.background = options.color);
  3799. rippleEl.style.width = side + 'px';
  3800. rippleEl.style.height = side + 'px'; // 元素定位再各减自身的宽高一半
  3801.  
  3802. rippleEl.style.top = top - radius + 'px';
  3803. rippleEl.style.left = left - radius + 'px'; // 动画在元素中间扩散时基础时长1.5s,当点击范围处于元素边缘时,动画扩散比在元素中间位置要长,所以要加快动画进行
  3804.  
  3805. const base = 1.5;
  3806. const diagonal = calcDiagInRect(rect.width, rect.height)(left, top);
  3807. rippleEl.style.animationDuration = base - base * diagonal / side + 's';
  3808. let container = currentTarget.querySelector(`.${containerClassname}`);
  3809.  
  3810. if (!container) {
  3811. container = createRippleContainer();
  3812. currentTarget.appendChild(container);
  3813. }
  3814.  
  3815. container.appendChild(rippleEl);
  3816. count++;
  3817.  
  3818. const unlisten = (() => {
  3819. const leaveEvents = ['mouseup', 'mouseleave'];
  3820.  
  3821. const listener = () => {
  3822. // 为了尽量能看清动画效果,延时一下再进行透明
  3823. setTimeout(() => {
  3824. rippleEl.style.opacity = '0';
  3825. }, 100);
  3826. };
  3827.  
  3828. leaveEvents.forEach(eventname => currentTarget.addEventListener(eventname, listener));
  3829. return () => {
  3830. leaveEvents.forEach(eventname => currentTarget.removeEventListener(eventname, listener));
  3831. };
  3832. })(); // 移除涟漪元素
  3833.  
  3834.  
  3835. rippleEl.addEventListener('transitionend', transEvent => {
  3836. if (transEvent.propertyName === 'opacity') {
  3837. unlisten();
  3838. rippleEl.remove(); // 没有涟漪元素时移除容器
  3839.  
  3840. if (--count <= 0) {
  3841. container?.remove();
  3842. }
  3843. }
  3844. });
  3845. } // 更新配置项
  3846.  
  3847.  
  3848. function update(newOpts) {
  3849. options = Object.assign({}, options, normalizeOptions(newOpts));
  3850. }
  3851.  
  3852. return {
  3853. listener,
  3854. update
  3855. };
  3856. };
  3857.  
  3858. const vRipple = {
  3859. mounted(el, binding) {
  3860. const {
  3861. listener,
  3862. update
  3863. } = addRippleEffect(binding.value);
  3864. weakmap.set(el, {
  3865. listener,
  3866. update,
  3867. // 更新配置项函数
  3868. position: false // 是否已经改变了 el 的定位方式
  3869.  
  3870. });
  3871. el.addEventListener('mousedown', listener, false);
  3872. },
  3873.  
  3874. updated(el, binding) {
  3875. const val = weakmap.get(el);
  3876. val.update(binding.value);
  3877. }
  3878.  
  3879. };
  3880. /* harmony default export */ const src_directives_v_ripple = (vRipple);
  3881. ;// CONCATENATED MODULE: ./src/directives/index.ts
  3882.  
  3883.  
  3884. // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/components/button/index.scss
  3885. var components_button = __webpack_require__(5482);
  3886. ;// CONCATENATED MODULE: ./src/components/button/index.scss
  3887.  
  3888.  
  3889. var button_options = {};
  3890.  
  3891. button_options.styleTagTransform = (styleTagTransform_default());
  3892. button_options.setAttributes = (setAttributesWithoutAttributes_default());
  3893.  
  3894. button_options.insert = insertBySelector_default().bind(null, "head");
  3895. button_options.domAPI = (styleDomAPI_default());
  3896. button_options.insertStyleElement = (insertStyleElement_default());
  3897.  
  3898. var button_update = injectStylesIntoStyleTag_default()(components_button/* default */.Z, button_options);
  3899.  
  3900.  
  3901.  
  3902.  
  3903. /* harmony default export */ const src_components_button = (components_button/* default */.Z && components_button/* default.locals */.Z.locals ? components_button/* default.locals */.Z.locals : undefined);
  3904.  
  3905. ;// CONCATENATED MODULE: ./src/components/button/index.tsx
  3906.  
  3907.  
  3908.  
  3909.  
  3910. const prefixCls = 'skr-button'; // button type 非 default 时覆盖一层白色
  3911.  
  3912. const rippleColor = 'rgb(255 255 255 / 15%)';
  3913. const Button = (0,external_Vue_namespaceObject.defineComponent)({
  3914. name: 'SkrButton',
  3915. directives: {
  3916. ripple: src_directives_v_ripple
  3917. },
  3918. props: {
  3919. type: {
  3920. type: String,
  3921. validator: value => ['primary', 'info', 'warning', 'danger', 'default'].includes(value),
  3922. default: 'default'
  3923. },
  3924. plain: {
  3925. type: Boolean,
  3926. default: false
  3927. },
  3928. round: {
  3929. type: Boolean,
  3930. default: false
  3931. },
  3932. shadow: {
  3933. type: Boolean,
  3934. default: false
  3935. },
  3936. size: {
  3937. type: String,
  3938. validator: value => ['mini', 'small', 'normal', 'large'].includes(value),
  3939. default: 'normal'
  3940. },
  3941. // 涟漪效果 object 时参数会透传给 ripple
  3942. ripple: {
  3943. type: [Boolean, Object],
  3944. default: true
  3945. }
  3946. },
  3947.  
  3948. setup(props, {
  3949. slots
  3950. }) {
  3951. const rippleOptions = (0,external_Vue_namespaceObject.computed)(() => {
  3952. return Object.assign({}, {
  3953. color: props.type === 'default' ? undefined : rippleColor
  3954. }, typeof props.ripple === 'boolean' ? {
  3955. disabled: !props.ripple
  3956. } : props.ripple);
  3957. });
  3958. return () => (0,external_Vue_namespaceObject.withDirectives)((0,external_Vue_namespaceObject.createVNode)("button", {
  3959. "class": [prefixCls, `${prefixCls}--${props.type}`, {
  3960. [`${prefixCls}--round`]: props.round,
  3961. [`${prefixCls}--shadow`]: props.shadow
  3962. }, `${prefixCls}--${props.size}`]
  3963. }, [slots.default?.()]), [[(0,external_Vue_namespaceObject.resolveDirective)("ripple"), rippleOptions.value]]);
  3964. }
  3965.  
  3966. });
  3967. /* harmony default export */ const src_components_button_0 = (Button);
  3968. // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/scripts/widescreen/control.scss
  3969. var control = __webpack_require__(9354);
  3970. ;// CONCATENATED MODULE: ./src/scripts/widescreen/control.scss
  3971.  
  3972.  
  3973. var control_options = {};
  3974.  
  3975. control_options.styleTagTransform = (styleTagTransform_default());
  3976. control_options.setAttributes = (setAttributesWithoutAttributes_default());
  3977.  
  3978. control_options.insert = insertBySelector_default().bind(null, "head");
  3979. control_options.domAPI = (styleDomAPI_default());
  3980. control_options.insertStyleElement = (insertStyleElement_default());
  3981.  
  3982. var control_update = injectStylesIntoStyleTag_default()(control/* default */.Z, control_options);
  3983.  
  3984.  
  3985.  
  3986.  
  3987. /* harmony default export */ const widescreen_control = (control/* default */.Z && control/* default.locals */.Z.locals ? control/* default.locals */.Z.locals : undefined);
  3988.  
  3989. ;// CONCATENATED MODULE: ./src/scripts/widescreen/control.tsx
  3990.  
  3991.  
  3992.  
  3993.  
  3994.  
  3995.  
  3996. // eslint-disable-next-line @typescript-eslint/no-empty-function
  3997.  
  3998. const noop = () => {};
  3999.  
  4000. /** 宽屏开关 */
  4001. function createControl(options) {
  4002. const {
  4003. store,
  4004. execute = noop,
  4005. visible = true,
  4006. silent = false
  4007. } = options;
  4008. const {
  4009. instance
  4010. } = mountComponent({
  4011. setup(_, {
  4012. expose
  4013. }) {
  4014. const state = (0,external_Vue_namespaceObject.reactive)({
  4015. // 总开关
  4016. uiVisible: useGMvalue('ui_visible', true),
  4017. visible,
  4018. loose: store.loose || false
  4019. });
  4020.  
  4021. function notify() {
  4022. (src_store.notify_enabled ?? false) && Toast('已宽屏处理');
  4023. }
  4024.  
  4025. function toggle() {
  4026. store.enabled = !store.enabled;
  4027. location.reload();
  4028. }
  4029.  
  4030. expose({
  4031. notify,
  4032. show: () => {
  4033. state.visible = true;
  4034. },
  4035. hide: () => {
  4036. state.visible = false;
  4037. }
  4038. });
  4039.  
  4040. if (store.enabled) {
  4041. (0,external_Vue_namespaceObject.watchEffect)(() => {
  4042. store.loose = state.loose;
  4043. document.documentElement.classList[state.loose ? 'add' : 'remove']('inject-widescreen-loose-js');
  4044. });
  4045. execute();
  4046. !silent && notify();
  4047. }
  4048.  
  4049. return () => (0,external_Vue_namespaceObject.createVNode)(external_Vue_namespaceObject.Fragment, null, [state.uiVisible && state.visible && (0,external_Vue_namespaceObject.createVNode)("div", {
  4050. "class": "inject-widescreen-js"
  4051. }, [(0,external_Vue_namespaceObject.createVNode)(src_components_button_0, {
  4052. "title": "注意:页面会被刷新",
  4053. "type": "primary",
  4054. "shadow": true,
  4055. "onClick": toggle
  4056. }, {
  4057. default: () => [store.enabled ? '已开启' : '关闭']
  4058. }), store.enabled && (0,external_Vue_namespaceObject.createVNode)("label", {
  4059. "title": "勾选后不再限制最大宽度,酌情使用"
  4060. }, [(0,external_Vue_namespaceObject.withDirectives)((0,external_Vue_namespaceObject.createVNode)("input", {
  4061. "onUpdate:modelValue": $event => state.loose = $event,
  4062. "type": "checkbox"
  4063. }, null), [[external_Vue_namespaceObject.vModelCheckbox, state.loose]]), (0,external_Vue_namespaceObject.createTextVNode)("\u66F4\u5BBD")])])]);
  4064. }
  4065.  
  4066. });
  4067. return instance;
  4068. }
  4069. ;// CONCATENATED MODULE: ./src/scripts/widescreen/index.ts
  4070. function _classPrivateFieldLooseBase(receiver, privateKey) { if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) { throw new TypeError("attempted to use private field on non-instance"); } return receiver; }
  4071.  
  4072. var id = 0;
  4073.  
  4074. function _classPrivateFieldLooseKey(name) { return "__private_" + id++ + "_" + name; }
  4075.  
  4076.  
  4077.  
  4078.  
  4079.  
  4080.  
  4081.  
  4082.  
  4083. // 主函数
  4084. function main() {
  4085. if (!checker()) return;
  4086. GM_registerMenuCommand('宽屏通知', function () {
  4087. const nextStatus = !(src_store.notify_enabled ?? false);
  4088. Toast.success(nextStatus ? '已开启通知' : '已关闭通知');
  4089. src_store.notify_enabled = nextStatus;
  4090. });
  4091. GM_registerMenuCommand('控制按钮', function () {
  4092. const nextStatus = !(src_store.ui_visible ?? true);
  4093. Toast.success(nextStatus ? '已显示按钮' : '已隐藏按钮');
  4094. src_store.ui_visible = nextStatus;
  4095. });
  4096. new App(widescreen_sites).boot();
  4097. }
  4098.  
  4099. var _sites = /*#__PURE__*/_classPrivateFieldLooseKey("sites");
  4100.  
  4101. var _includes = /*#__PURE__*/_classPrivateFieldLooseKey("includes");
  4102.  
  4103. class App {
  4104. constructor(sites) {
  4105. Object.defineProperty(this, _includes, {
  4106. value: _includes2
  4107. });
  4108. Object.defineProperty(this, _sites, {
  4109. writable: true,
  4110. value: void 0
  4111. });
  4112. _classPrivateFieldLooseBase(this, _sites)[_sites] = sites;
  4113. }
  4114.  
  4115. boot() {
  4116. const briefURL = location.host + location.pathname;
  4117.  
  4118. _classPrivateFieldLooseBase(this, _sites)[_sites].forEach(async site => {
  4119. const {
  4120. name,
  4121. namespace,
  4122. test,
  4123. use
  4124. } = site;
  4125. if (!_classPrivateFieldLooseBase(this, _includes)[_includes](test, briefURL)) return;
  4126. const {
  4127. readyState: state
  4128. } = site;
  4129. if (state) await ready_state_namespaceObject[state](); // fix: 罕见情况下会获取不到 head,原因未知
  4130. // 偶尔会在知乎中出现
  4131.  
  4132. if (document.head == null) await interactive();
  4133. const config = use({
  4134. createControl: createControl,
  4135. store: widescreen_createStore(namespace)
  4136. });
  4137. warn(name);
  4138. config.handler();
  4139. });
  4140. }
  4141.  
  4142. } // 存储
  4143.  
  4144.  
  4145. function _includes2(test, url) {
  4146. return [].concat(test).some(item => {
  4147. if (item instanceof RegExp) return item.test(url);
  4148. if (typeof item === 'boolean') return item;
  4149. return false;
  4150. });
  4151. }
  4152.  
  4153. function widescreen_createStore(namespace) {
  4154. const store = new Proxy(createStore(namespace), {
  4155. get(target, property, receiver) {
  4156. let value = Reflect.get(target, property, receiver);
  4157.  
  4158. if (property === 'enabled') {
  4159. // 默认开启
  4160. value ?? (value = true);
  4161. }
  4162.  
  4163. return value;
  4164. }
  4165.  
  4166. });
  4167. return store;
  4168. }
  4169.  
  4170. main();
  4171. })();
  4172.  
  4173. /******/ })()
  4174. ;

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址