ModuleBuilder/dist/module/Usrbg - Headers.js

3 lines
3.7 KiB
JavaScript

parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c<t.length;c++)try{f(t[c])}catch(e){i||(i=e)}if(t.length){var l=f(t[t.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=l:"function"==typeof define&&define.amd?define(function(){return l}):n&&(this[n]=l)}if(parcelRequire=f,i)throw i;return f}({"index.js":[function(require,module,exports) {
"use strict";function e(e,n,t,r,o,a,i){try{var u=e[a](i),s=u.value}catch(d){return void t(d)}u.done?n(s):Promise.resolve(s).then(r,o)}function n(n){return function(){var t=this,r=arguments;return new Promise(function(o,a){var i=n.apply(t,r);function u(n){e(i,o,a,u,s,"next",n)}function s(n){e(i,o,a,u,s,"throw",n)}u(void 0)})}}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t,r="1.0.0",o="@import url('https://discord-custom-covers.github.io/usrbg/dist/usrbg.css');\n\n.reduce-motion .userPopout-3XzG_A {\n\ttransform:translateZ(0);\n}\n\n.userPopout-3XzG_A .wrapper-3t9DeA::after {\n\tcontent: '';\n\tposition: fixed;\n\ttop: 0;\n\tleft: 0;\n\twidth: 100%;\n\theight: 20%;\n\tz-index: -1;\n\tpointer-events: none;\n\topacity: .9;\n\tbackground-size: cover;\n\tbackground-repeat: no-repeat;\n\tbackground-position: var(--user-popout-position) center;\n\tbackground-image: var(--user-background);\n\t-webkit-mask-image: linear-gradient(#000, transparent);\n}\n\n.userPopout-3XzG_A .header-2BwW8b,\n.userPopout-3XzG_A .scroller-2FKFPG,\n.userPopout-3XzG_A .footer-1fjuF6 {\n\tz-index: 1;\n}\n\n:root {\n --usrbg-modal-x-offset:-34px; /*Distance from the avatar container to the edge of the modal (x)*/\n --usrbg-modal-y-offset:-20px; /*Distance from the avatar container to the edge of the modal (y)*/\n --usrbg-modal-width:600px; /*Maximum width of modal*/\n --usrbg-modal-height:190px; /*Maximum height of modal*/\n}\n.header-QKLPzZ .wrapper-3t9DeA::after {\n content:'';\n position:absolute;\n top:var(--usrbg-modal-x-offset);\n left:var(--usrbg-modal-y-offset);\n width:var(--usrbg-modal-width);\n height: var(--usrbg-modal-height);\n opacity:.9;\n z-index: -1;\n pointer-events:none;\n background: var(--user-background) center/cover no-repeat;\n -webkit-mask: linear-gradient(black, transparent 80%);\n}\n\n.headerInfo-30uryT,\n.tabBarItem-1b8RUP,\n.activity-1ythUs {\n z-index:1;\n position:relative;\n}\n\n.header-QKLPzZ .wrapper-3t9DeA {\n z-index: 0;\n}",a={goosemodHandlers:{onImport:function(){var e=n(regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:t=document.createElement("style"),document.head.appendChild(t),t.appendChild(document.createTextNode(o));case 3:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}(),onRemove:function(){var e=n(regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:t.remove();case 1:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}()}};exports.default=a;
},{}]},{},["index.js"], null);parcelRequire('index.js').default