mirror of
https://github.com/bolucat/Archive.git
synced 2026-04-23 00:17:16 +08:00
12 lines
7.0 KiB
JavaScript
12 lines
7.0 KiB
JavaScript
!function(n,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/hide/user-pendent"]=t():n["style/hide/user-pendent"]=t()}(globalThis,(()=>(()=>{var n,t,e={516:(n,t,e)=>{var r=e(904),a=e(955)(r);a.push([n.id,':host(bili-avatar) {\n container-type: size;\n container-name: avatar;\n}\n:host(bili-avatar) .layer:not(:first-child),\n:host(bili-avatar) .layer:not(:has(picture [src*="/face/"]), :has([style*="/face/"])) {\n display: none;\n}\n:host(bili-avatar) .layer:is(:has(picture [src*="/face/"]), :has([style*="/face/"])) {\n min-width: 100cqw;\n min-height: 100cqh;\n max-width: 100cqw;\n max-height: 100cqh;\n}',"",{version:3,sources:["webpack://./registry/lib/components/style/hide/user-pendent/user-pendent-shadow.scss"],names:[],mappings:"AAAA;EACE,oBAAoB;EACpB,sBAAsB;AACxB;AACA;;EAEE,aAAa;AACf;AACA;EACE,iBAAiB;EACjB,kBAAkB;EAClB,iBAAiB;EACjB,kBAAkB;AACpB",sourcesContent:[':host(bili-avatar) {\n container-type: size;\n container-name: avatar;\n}\n:host(bili-avatar) .layer:not(:first-child),\n:host(bili-avatar) .layer:not(:has(picture [src*="/face/"]), :has([style*="/face/"])) {\n display: none;\n}\n:host(bili-avatar) .layer:is(:has(picture [src*="/face/"]), :has([style*="/face/"])) {\n min-width: 100cqw;\n min-height: 100cqh;\n max-width: 100cqw;\n max-height: 100cqh;\n}'],sourceRoot:""}]),n.exports=a},357:(n,t,e)=>{var r=e(904),a=e(955)(r);a.push([n.id,".b-avatar {\n container-type: size;\n container-name: avatar;\n}\n.b-avatar__layers:not(:first-child), .b-avatar__layer:not(:first-child) {\n display: none !important;\n}\n.b-avatar__layer:first-child {\n min-width: 100cqw;\n min-height: 100cqh;\n}\n\n.up-avatar {\n container-type: size;\n container-name: avatar;\n}\n.up-avatar .bili-avatar {\n min-width: 100cqw;\n min-height: 100cqh;\n transform: none !important;\n}\n\n.bili-avatar-icon, .bili-avatar-pendent-dom {\n display: none !important;\n}","",{version:3,sources:["webpack://./registry/lib/components/style/hide/user-pendent/user-pendent.scss"],names:[],mappings:"AAAA;EACE,oBAAoB;EACpB,sBAAsB;AACxB;AACA;EACE,wBAAwB;AAC1B;AACA;EACE,iBAAiB;EACjB,kBAAkB;AACpB;;AAEA;EACE,oBAAoB;EACpB,sBAAsB;AACxB;AACA;EACE,iBAAiB;EACjB,kBAAkB;EAClB,0BAA0B;AAC5B;;AAEA;EACE,wBAAwB;AAC1B",sourcesContent:[".b-avatar {\n container-type: size;\n container-name: avatar;\n}\n.b-avatar__layers:not(:first-child), .b-avatar__layer:not(:first-child) {\n display: none !important;\n}\n.b-avatar__layer:first-child {\n min-width: 100cqw;\n min-height: 100cqh;\n}\n\n.up-avatar {\n container-type: size;\n container-name: avatar;\n}\n.up-avatar .bili-avatar {\n min-width: 100cqw;\n min-height: 100cqh;\n transform: none !important;\n}\n\n.bili-avatar-icon, .bili-avatar-pendent-dom {\n display: none !important;\n}"],sourceRoot:""}]),n.exports=a},955:n=>{"use strict";
|
|
// eslint-disable-next-line func-names
|
|
n.exports=function(n){var t=[];return t.toString=function(){return this.map((function(t){var e=n(t);return t[2]?"@media ".concat(t[2]," {").concat(e,"}"):e})).join("")},
|
|
// eslint-disable-next-line func-names
|
|
t.i=function(n,e,r){"string"==typeof n&&(
|
|
// eslint-disable-next-line no-param-reassign
|
|
n=[[null,n,""]]);var a={};if(r)for(var o=0;o<this.length;o++){
|
|
// eslint-disable-next-line prefer-destructuring
|
|
var i=this[o][0];null!=i&&(a[i]=!0)}for(var s=0;s<n.length;s++){var c=[].concat(n[s]);r&&a[c[0]]||(e&&(c[2]?c[2]="".concat(e," and ").concat(c[2]):c[2]=e),t.push(c))}},t}},904:n=>{"use strict";function t(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var e=n&&("undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"]);if(null==e)return;var r,a,o=[],i=!0,s=!1;try{for(e=e.call(n);!(i=(r=e.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(n){s=!0,a=n}finally{try{i||null==e.return||e.return()}finally{if(s)throw a}}return o}(n,t)||function(n,t){if(!n)return;if("string"==typeof n)return e(n,t);var r=Object.prototype.toString.call(n).slice(8,-1);"Object"===r&&n.constructor&&(r=n.constructor.name);if("Map"===r||"Set"===r)return Array.from(n);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return e(n,t)}(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function e(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=new Array(t);e<t;e++)r[e]=n[e];return r}n.exports=function(n){var e=t(n,4),r=e[1],a=e[3];if(!a)return r;if("function"==typeof btoa){
|
|
// eslint-disable-next-line no-undef
|
|
var o=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(o),s="/*# ".concat(i," */"),c=a.sources.map((function(n){return"/*# sourceURL=".concat(a.sourceRoot||"").concat(n," */")}));return[r].concat(c).concat([s]).join("\n")}return[r].join("\n")}},190:(n,t,e)=>{var r=e(516);r&&r.__esModule&&(r=r.default),n.exports="string"==typeof r?r:r.toString()},23:(n,t,e)=>{var r=e(357);r&&r.__esModule&&(r=r.default),n.exports="string"==typeof r?r:r.toString()},945:n=>{function t(n){var t=new Error("Cannot find module '"+n+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=945,n.exports=t},838:n=>{"use strict";n.exports="隐藏页面中用户的头像框 (包括角标), 目前支持动态和视频页面.\n"}},r={};function a(n){var t=r[n];if(void 0!==t)return t.exports;var o=r[n]={id:n,exports:{}};return e[n](o,o.exports,a),o.exports}t=Object.getPrototypeOf?n=>Object.getPrototypeOf(n):n=>n.__proto__,a.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var o=Object.create(null);a.r(o);var i={};n=n||[null,t({}),t([]),t(t)];for(var s=2&r&&e;"object"==typeof s&&!~n.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((n=>i[n]=()=>e[n]));return i.default=()=>e,a.d(o,i),o},a.d=(n,t)=>{for(var e in t)a.o(t,e)&&!a.o(n,e)&&Object.defineProperty(n,e,{enumerable:!0,get:t[e]})},a.o=(n,t)=>Object.prototype.hasOwnProperty.call(n,t),a.r=n=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})};var o={};return(()=>{"use strict";a.d(o,{component:()=>n});const n=(0,coreApis.componentApis.define.defineComponentMetadata)({name:"hideUserPendent",displayName:"隐藏头像框",entry:none,tags:[componentsTags.style],instantStyles:[{name:"hide-user-pendent",style:()=>Promise.resolve().then(a.t.bind(a,23,23))},{name:"hide-user-pendent",style:()=>Promise.resolve().then(a.t.bind(a,190,23)),shadowDom:!0}],commitHash:"26b9721794e82c7af25149c07c59cd830459ca70",coreVersion:"2.10.7",description:(()=>{const n=a(945);return{...Object.fromEntries(n.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],n(t)]))),"zh-CN":()=>Promise.resolve().then(a.t.bind(a,838,17)).then((n=>n.default))}})()})})(),o=o.component})()));
|
|
//# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/hide/user-pendent.js.map
|