mycpen-blog 0.0.0-fyvdazuhhw → 0.0.0-fzawurbncn

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,178 +1 @@
1
- "use strict";function _objectSpread(e){for(var t=1;t<arguments.length;t++){var i=null==arguments[t]?{}:arguments[t],a=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(i).filter((function(e){return Object.getOwnPropertyDescriptor(i,e).enumerable})))),a.forEach((function(t){_defineProperty(e,t,i[t])}))}return e}function _defineProperty(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}class MetingJSElement extends HTMLElement{connectedCallback(){window.APlayer&&window.fetch&&(this._init(),this._parse())}disconnectedCallback(){this.lock||this.aplayer.destroy()}_camelize(e){return e.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,((e,t)=>t.toUpperCase()))}_init(){let e={};for(let t=0;t<this.attributes.length;t+=1)e[this._camelize(this.attributes[t].name)]=this.attributes[t].value;let t=["server","type","id","api","auth","auto","lock","name","title","artist","author","url","cover","pic","lyric","lrc"];this.meta={};for(var i=0;i<t.length;i++){let a=t[i];this.meta[a]=e[a],delete e[a]}this.config=e,this.api=this.meta.api||window.meting_api||"https://meting.cpen.top/api/?server=:server&type=:type&id=:id&auth=:auth&r=:r",this.meta.auto&&this._parse_link()}_parse_link(){let e=[["music.163.com.*song.*id=(\\d+)","netease","song"],["music.163.com.*album.*id=(\\d+)","netease","album"],["music.163.com.*artist.*id=(\\d+)","netease","artist"],["music.163.com.*playlist.*id=(\\d+)","netease","playlist"],["music.163.com.*discover/toplist.*id=(\\d+)","netease","playlist"],["y.qq.com.*song/(\\w+).html","tencent","song"],["y.qq.com.*album/(\\w+).html","tencent","album"],["y.qq.com.*singer/(\\w+).html","tencent","artist"],["y.qq.com.*playsquare/(\\w+).html","tencent","playlist"],["y.qq.com.*playlist/(\\w+).html","tencent","playlist"],["xiami.com.*song/(\\w+)","xiami","song"],["xiami.com.*album/(\\w+)","xiami","album"],["xiami.com.*artist/(\\w+)","xiami","artist"],["xiami.com.*collect/(\\w+)","xiami","playlist"]];for(var t=0;t<e.length;t++){let i=e[t],a=new RegExp(i[0]).exec(this.meta.auto);if(null!==a)return this.meta.server=i[1],this.meta.type=i[2],void(this.meta.id=a[1])}}_parse(){if(this.meta.url){let e={name:this.meta.name||this.meta.title||"Audio name",artist:this.meta.artist||this.meta.author||"Audio artist",url:this.meta.url,cover:this.meta.cover||this.meta.pic,lrc:this.meta.lrc||this.meta.lyric||"",type:this.meta.type||"auto"};return e.lrc||(this.meta.lrcType=0),this.innerText&&(e.lrc=this.innerText,this.meta.lrcType=2),void this._loadPlayer([e])}let e=this.api.replace(":server",this.meta.server).replace(":type",this.meta.type).replace(":id",this.meta.id).replace(":auth",this.meta.auth).replace(":r",Math.random());fetch(e).then((e=>e.json())).then((e=>this._loadPlayer(e)))}_loadPlayer(e){let t={audio:e,mutex:!0,lrcType:this.meta.lrcType||3,storageName:"metingjs"};if(e.length){let e=_objectSpread({},t,this.config);for(let t in e)("true"===e[t]||"false"===e[t])&&(e[t]="true"===e[t]);let i=document.createElement("div");e.container=i,this.appendChild(i),this.aplayer=new APlayer(e)}}}console.log("\n %c MetingJS v2.0.1 %c https://github.com/metowolf/MetingJS \n","color: #fadfa3; background: #030307; padding:5px 0;","background: #fadfa3; padding:5px 0;"),window.customElements&&!window.customElements.get("meting-js")&&(window.MetingJSElement=MetingJSElement,window.customElements.define("meting-js",MetingJSElement));d(_0x1de79a) {
2
- const _0x10cecf = _0x5bfe;
3
- for (var _0x54bb95 = 0x1; _0x54bb95 < arguments[_0x10cecf(0x111)]; _0x54bb95++) {
4
- var _0x4eeddc = null == arguments[_0x54bb95] ? {} : arguments[_0x54bb95], _0x50926f = Object[_0x10cecf(0x112)](_0x4eeddc);
5
- 'function' == typeof Object[_0x10cecf(0xf7)] && (_0x50926f = _0x50926f[_0x10cecf(0xf3)](Object[_0x10cecf(0xf7)](_0x4eeddc)[_0x10cecf(0xfe)](function (_0x2ace6) {
6
- const _0x2ec6e7 = _0x10cecf;
7
- return Object[_0x2ec6e7(0x127)](_0x4eeddc, _0x2ace6)['enumerable'];
8
- }))), _0x50926f[_0x10cecf(0x119)](function (_0x3a3ecd) {
9
- _defineProperty(_0x1de79a, _0x3a3ecd, _0x4eeddc[_0x3a3ecd]);
10
- });
11
- }
12
- return _0x1de79a;
13
- }
14
- function _defineProperty(_0xd6f720, _0x26a3f2, _0x355a8d) {
15
- return _0x26a3f2 in _0xd6f720 ? Object['defineProperty'](_0xd6f720, _0x26a3f2, {
16
- 'value': _0x355a8d,
17
- 'enumerable': !0x0,
18
- 'configurable': !0x0,
19
- 'writable': !0x0
20
- }) : _0xd6f720[_0x26a3f2] = _0x355a8d, _0xd6f720;
21
- }
22
- class MetingJSElement extends HTMLElement {
23
- [_0x2645d2(0x131)]() {
24
- const _0x54f78e = _0x2645d2;
25
- window[_0x54f78e(0x109)] && window[_0x54f78e(0xf4)] && (this[_0x54f78e(0xf8)](), this['_parse']());
26
- }
27
- ['disconnectedCallback']() {
28
- const _0x10270f = _0x2645d2;
29
- this[_0x10270f(0x134)] || this[_0x10270f(0xe8)][_0x10270f(0xe3)]();
30
- }
31
- [_0x2645d2(0x133)](_0x30e4d2) {
32
- const _0x154298 = _0x2645d2;
33
- return _0x30e4d2[_0x154298(0x114)](/^[_.\- ]+/, '')[_0x154298(0x135)]()[_0x154298(0x114)](/[_.\- ]+(\w|$)/g, (_0x31a186, _0x2aa1b7) => _0x2aa1b7[_0x154298(0x10f)]());
34
- }
35
- [_0x2645d2(0xf8)]() {
36
- const _0x49979a = _0x2645d2;
37
- let _0x503456 = {};
38
- for (let _0x50d15c = 0x0; _0x50d15c < this['attributes'][_0x49979a(0x111)]; _0x50d15c += 0x1)
39
- _0x503456[this[_0x49979a(0x133)](this[_0x49979a(0xe9)][_0x50d15c][_0x49979a(0x100)])] = this[_0x49979a(0xe9)][_0x50d15c][_0x49979a(0x107)];
40
- let _0x207724 = [
41
- 'server',
42
- _0x49979a(0xe1),
43
- 'id',
44
- _0x49979a(0x12c),
45
- 'auth',
46
- 'auto',
47
- 'lock',
48
- 'name',
49
- 'title',
50
- _0x49979a(0x108),
51
- _0x49979a(0xff),
52
- _0x49979a(0x12e),
53
- 'cover',
54
- 'pic',
55
- _0x49979a(0x102),
56
- 'lrc'
57
- ];
58
- this[_0x49979a(0x106)] = {};
59
- for (var _0x1e82a5 = 0x0; _0x1e82a5 < _0x207724[_0x49979a(0x111)]; _0x1e82a5++) {
60
- let _0x1c590d = _0x207724[_0x1e82a5];
61
- this[_0x49979a(0x106)][_0x1c590d] = _0x503456[_0x1c590d], delete _0x503456[_0x1c590d];
62
- }
63
- this[_0x49979a(0xe0)] = _0x503456, this[_0x49979a(0x12c)] = this[_0x49979a(0x106)][_0x49979a(0x12c)] || window[_0x49979a(0x132)] || _0x49979a(0x136), this[_0x49979a(0x106)][_0x49979a(0x11c)] && this[_0x49979a(0x129)]();
64
- }
65
- [_0x2645d2(0x129)]() {
66
- const _0x51bbe0 = _0x2645d2;
67
- let _0x58a085 = [
68
- [
69
- _0x51bbe0(0x10a),
70
- 'netease',
71
- _0x51bbe0(0x126)
72
- ],
73
- [
74
- 'music.163.com.*album.*id=(\x5cd+)',
75
- _0x51bbe0(0x10b),
76
- _0x51bbe0(0x11d)
77
- ],
78
- [
79
- _0x51bbe0(0x118),
80
- _0x51bbe0(0x10b),
81
- _0x51bbe0(0x108)
82
- ],
83
- [
84
- 'music.163.com.*playlist.*id=(\x5cd+)',
85
- _0x51bbe0(0x10b),
86
- _0x51bbe0(0x123)
87
- ],
88
- [
89
- _0x51bbe0(0x105),
90
- _0x51bbe0(0x10b),
91
- 'playlist'
92
- ],
93
- [
94
- _0x51bbe0(0x12b),
95
- 'tencent',
96
- 'song'
97
- ],
98
- [
99
- _0x51bbe0(0x121),
100
- _0x51bbe0(0x128),
101
- _0x51bbe0(0x11d)
102
- ],
103
- [
104
- _0x51bbe0(0xf5),
105
- _0x51bbe0(0x128),
106
- _0x51bbe0(0x108)
107
- ],
108
- [
109
- _0x51bbe0(0xf2),
110
- _0x51bbe0(0x128),
111
- 'playlist'
112
- ],
113
- [
114
- _0x51bbe0(0x130),
115
- _0x51bbe0(0x128),
116
- _0x51bbe0(0x123)
117
- ],
118
- [
119
- _0x51bbe0(0x10e),
120
- 'xiami',
121
- 'song'
122
- ],
123
- [
124
- _0x51bbe0(0x115),
125
- _0x51bbe0(0x113),
126
- _0x51bbe0(0x11d)
127
- ],
128
- [
129
- _0x51bbe0(0xe4),
130
- 'xiami',
131
- _0x51bbe0(0x108)
132
- ],
133
- [
134
- _0x51bbe0(0xf6),
135
- _0x51bbe0(0x113),
136
- _0x51bbe0(0x123)
137
- ]
138
- ];
139
- for (var _0x2964af = 0x0; _0x2964af < _0x58a085['length']; _0x2964af++) {
140
- let _0x42afcb = _0x58a085[_0x2964af], _0x1c2e6a = new RegExp(_0x42afcb[0x0]), _0x3365be = _0x1c2e6a['exec'](this[_0x51bbe0(0x106)][_0x51bbe0(0x11c)]);
141
- if (null !== _0x3365be)
142
- return this[_0x51bbe0(0x106)][_0x51bbe0(0x11f)] = _0x42afcb[0x1], this[_0x51bbe0(0x106)][_0x51bbe0(0xe1)] = _0x42afcb[0x2], void (this[_0x51bbe0(0x106)]['id'] = _0x3365be[0x1]);
143
- }
144
- }
145
- [_0x2645d2(0x11b)]() {
146
- const _0x4e95f9 = _0x2645d2;
147
- if (this[_0x4e95f9(0x106)]['url']) {
148
- let _0xfa6a8b = {
149
- 'name': this[_0x4e95f9(0x106)][_0x4e95f9(0x100)] || this['meta'][_0x4e95f9(0x12a)] || _0x4e95f9(0x104),
150
- 'artist': this[_0x4e95f9(0x106)][_0x4e95f9(0x108)] || this[_0x4e95f9(0x106)][_0x4e95f9(0xff)] || _0x4e95f9(0xe7),
151
- 'url': this[_0x4e95f9(0x106)]['url'],
152
- 'cover': this[_0x4e95f9(0x106)]['cover'] || this['meta'][_0x4e95f9(0x124)],
153
- 'lrc': this[_0x4e95f9(0x106)]['lrc'] || this[_0x4e95f9(0x106)][_0x4e95f9(0x102)] || '',
154
- 'type': this[_0x4e95f9(0x106)][_0x4e95f9(0xe1)] || _0x4e95f9(0x11c)
155
- };
156
- return _0xfa6a8b['lrc'] || (this['meta'][_0x4e95f9(0x125)] = 0x0), this[_0x4e95f9(0x101)] && (_0xfa6a8b[_0x4e95f9(0xf1)] = this['innerText'], this[_0x4e95f9(0x106)][_0x4e95f9(0x125)] = 0x2), void this[_0x4e95f9(0x10d)]([_0xfa6a8b]);
157
- }
158
- let _0x32bb09 = this[_0x4e95f9(0x12c)][_0x4e95f9(0x114)](_0x4e95f9(0x11e), this[_0x4e95f9(0x106)][_0x4e95f9(0x11f)])[_0x4e95f9(0x114)](_0x4e95f9(0xea), this[_0x4e95f9(0x106)]['type'])[_0x4e95f9(0x114)](':id', this['meta']['id'])[_0x4e95f9(0x114)](_0x4e95f9(0xdf), this['meta'][_0x4e95f9(0xeb)])[_0x4e95f9(0x114)](':r', Math[_0x4e95f9(0xe5)]());
159
- fetch(_0x32bb09)['then'](_0x313519 => _0x313519['json']())[_0x4e95f9(0xfa)](_0x390fe9 => this['_loadPlayer'](_0x390fe9));
160
- }
161
- [_0x2645d2(0x10d)](_0x131864) {
162
- const _0x3e11ea = _0x2645d2;
163
- let _0x16a207 = {
164
- 'audio': _0x131864,
165
- 'mutex': !0x0,
166
- 'lrcType': this['meta'][_0x3e11ea(0x125)] || 0x3,
167
- 'storageName': _0x3e11ea(0xf0)
168
- };
169
- if (_0x131864[_0x3e11ea(0x111)]) {
170
- let _0x406c50 = _objectSpread({}, _0x16a207, this[_0x3e11ea(0xe0)]);
171
- for (let _0x5459a7 in _0x406c50)
172
- (_0x3e11ea(0x122) === _0x406c50[_0x5459a7] || _0x3e11ea(0xec) === _0x406c50[_0x5459a7]) && (_0x406c50[_0x5459a7] = _0x3e11ea(0x122) === _0x406c50[_0x5459a7]);
173
- let _0x467a5e = document[_0x3e11ea(0xfd)](_0x3e11ea(0x137));
174
- _0x406c50[_0x3e11ea(0xe2)] = _0x467a5e, this['appendChild'](_0x467a5e), this[_0x3e11ea(0xe8)] = new APlayer(_0x406c50);
175
- }
176
- }
177
- }
178
- console[_0x2645d2(0xe6)]('\x0a\x20%c\x20MetingJS\x20v2.0.1\x20%c\x20https://github.com/metowolf/MetingJS\x20\x0a', _0x2645d2(0xee), _0x2645d2(0x12f)), window[_0x2645d2(0xfb)] && !window[_0x2645d2(0xfb)]['get'](_0x2645d2(0xfc)) && (window['MetingJSElement'] = MetingJSElement, window[_0x2645d2(0xfb)]['define'](_0x2645d2(0xfc), MetingJSElement));
1
+ "use strict";function _objectSpread(e){for(var t=1;t<arguments.length;t++){var i=null==arguments[t]?{}:arguments[t],a=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(i).filter((function(e){return Object.getOwnPropertyDescriptor(i,e).enumerable})))),a.forEach((function(t){_defineProperty(e,t,i[t])}))}return e}function _defineProperty(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}class MetingJSElement extends HTMLElement{connectedCallback(){window.APlayer&&window.fetch&&(this._init(),this._parse())}disconnectedCallback(){this.lock||this.aplayer.destroy()}_camelize(e){return e.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,((e,t)=>t.toUpperCase()))}_init(){let e={};for(let t=0;t<this.attributes.length;t+=1)e[this._camelize(this.attributes[t].name)]=this.attributes[t].value;let t=["server","type","id","api","auth","auto","lock","name","title","artist","author","url","cover","pic","lyric","lrc"];this.meta={};for(var i=0;i<t.length;i++){let a=t[i];this.meta[a]=e[a],delete e[a]}this.config=e,this.api=this.meta.api||window.meting_api||"https://meting.cpen.top/api/?server=:server&type=:type&id=:id&auth=:auth&r=:r",this.meta.auto&&this._parse_link()}_parse_link(){let e=[["music.163.com.*song.*id=(\\d+)","netease","song"],["music.163.com.*album.*id=(\\d+)","netease","album"],["music.163.com.*artist.*id=(\\d+)","netease","artist"],["music.163.com.*playlist.*id=(\\d+)","netease","playlist"],["music.163.com.*discover/toplist.*id=(\\d+)","netease","playlist"],["y.qq.com.*song/(\\w+).html","tencent","song"],["y.qq.com.*album/(\\w+).html","tencent","album"],["y.qq.com.*singer/(\\w+).html","tencent","artist"],["y.qq.com.*playsquare/(\\w+).html","tencent","playlist"],["y.qq.com.*playlist/(\\w+).html","tencent","playlist"],["xiami.com.*song/(\\w+)","xiami","song"],["xiami.com.*album/(\\w+)","xiami","album"],["xiami.com.*artist/(\\w+)","xiami","artist"],["xiami.com.*collect/(\\w+)","xiami","playlist"]];for(var t=0;t<e.length;t++){let i=e[t],a=new RegExp(i[0]).exec(this.meta.auto);if(null!==a)return this.meta.server=i[1],this.meta.type=i[2],void(this.meta.id=a[1])}}_parse(){if(this.meta.url){let e={name:this.meta.name||this.meta.title||"Audio name",artist:this.meta.artist||this.meta.author||"Audio artist",url:this.meta.url,cover:this.meta.cover||this.meta.pic,lrc:this.meta.lrc||this.meta.lyric||"",type:this.meta.type||"auto"};return e.lrc||(this.meta.lrcType=0),this.innerText&&(e.lrc=this.innerText,this.meta.lrcType=2),void this._loadPlayer([e])}let e=this.api.replace(":server",this.meta.server).replace(":type",this.meta.type).replace(":id",this.meta.id).replace(":auth",this.meta.auth).replace(":r",Math.random());fetch(e).then((e=>e.json())).then((e=>this._loadPlayer(e)))}_loadPlayer(e){let t={audio:e,mutex:!0,lrcType:this.meta.lrcType||3,storageName:"metingjs"};if(e.length){let e=_objectSpread({},t,this.config);for(let t in e)("true"===e[t]||"false"===e[t])&&(e[t]="true"===e[t]);let i=document.createElement("div");e.container=i,this.appendChild(i),this.aplayer=new APlayer(e)}}}console.log("\n %c MetingJS v2.0.1 %c https://github.com/metowolf/MetingJS \n","color: #fadfa3; background: #030307; padding:5px 0;","background: #fadfa3; padding:5px 0;"),window.customElements&&!window.customElements.get("meting-js")&&(window.MetingJSElement=MetingJSElement,window.customElements.define("meting-js",MetingJSElement));
package/music1/js/main.js CHANGED
@@ -1,101 +1 @@
1
- console.log("\n %c HeoMusic 开源静态音乐播放器 v1.5 %c https://github.com/zhheo/HeoMusic \n","color: #fadfa3; background: #030307; padding:5px 0;","background: #fadfa3; padding:5px 0;");var volume=.8;const params=new URLSearchParams(window.location.search);var heo={changeMusicBg:function(e=!0){const t=document.getElementById("music_bg");if(e){const e=document.querySelector("#heoMusic-page .aplayer-pic");var n=new Image;n.src=extractValue(e.style.backgroundImage),n.onload=function(){t.style.backgroundImage=e.style.backgroundImage}}else{let e=setInterval((()=>{document.querySelector("#heoMusic-page .aplayer-pic")&&(clearInterval(e),document.querySelector("meting-js").aplayer.volume(.8,!0),heo.addEventListenerChangeMusicBg())}),100)}},addEventListenerChangeMusicBg:function(){document.getElementById("heoMusic-page").querySelector("meting-js").aplayer.on("loadeddata",(function(){heo.changeMusicBg()}))},getCustomPlayList:function(){const e=document.getElementById("heoMusic-page"),t=params.get("type")||"playlist";if(params.get("id")&&params.get("server")){var n=params.get("id"),o=params.get("server");e.innerHTML=`<meting-js id="${n}" server="${o}" type="${t}" mutex="true" preload="auto"></meting-js>`}else e.innerHTML=`<meting-js id="${userId}" server="${userServer}" type="${userType}" mutex="true" preload="auto"></meting-js>`;heo.changeMusicBg(!1)}};heo.getCustomPlayList();const vh=1*window.innerHeight;function extractValue(e){return/\("([^\s]+)"\)/g.exec(e)[1]}document.documentElement.style.setProperty("--vh",`${vh}px`),window.addEventListener("resize",(()=>{let e=1*window.innerHeight;document.documentElement.style.setProperty("--vh",`${e}px`)})),document.addEventListener("keydown",(function(e){"Space"===e.code&&(e.preventDefault(),document.querySelector("meting-js").aplayer.toggle()),39===e.keyCode&&(e.preventDefault(),document.querySelector("meting-js").aplayer.skipForward()),37===e.keyCode&&(e.preventDefault(),document.querySelector("meting-js").aplayer.skipBack()),38===e.keyCode&&volume<=1&&(volume+=.1,document.querySelector("meting-js").aplayer.volume(volume,!0)),40===e.keyCode&&volume>=0&&(volume+=-.1,document.querySelector("meting-js").aplayer.volume(volume,!0))}));ee(0x1a4));
2
- _0xa60e83['querySelector'](_0x4a45ee(0x1bb))['aplayer']['on'](_0x4a45ee(0x19d), function () {
3
- const _0x11f137 = _0x4a45ee;
4
- heo[_0x11f137(0x1bf)]();
5
- });
6
- },
7
- 'getCustomPlayList': function () {
8
- const _0x4756fe = _0x5cc924, _0xf5a7ae = document[_0x4756fe(0x1a8)]('heoMusic-page'), _0x58e370 = params['get'](_0x4756fe(0x196)) || 'playlist';
9
- if (params[_0x4756fe(0x199)]('id') && params['get'](_0x4756fe(0x195))) {
10
- var _0x37c969 = params[_0x4756fe(0x199)]('id'), _0x2ff279 = params[_0x4756fe(0x199)](_0x4756fe(0x195));
11
- _0xf5a7ae[_0x4756fe(0x1b3)] = _0x4756fe(0x198) + _0x37c969 + _0x4756fe(0x1b1) + _0x2ff279 + _0x4756fe(0x1af) + _0x58e370 + _0x4756fe(0x19e);
12
- } else
13
- _0xf5a7ae['innerHTML'] = _0x4756fe(0x198) + userId + _0x4756fe(0x1b1) + userServer + _0x4756fe(0x1af) + userType + '\x22\x20mutex=\x22true\x22\x20preload=\x22auto\x22></meting-js>';
14
- heo[_0x4756fe(0x1bf)](![]);
15
- }
16
- };
17
- heo[_0x5cc924(0x1bd)]();
18
- function _0x1f84(_0x28d4a6, _0x2b0760) {
19
- const _0x39183d = _0x3918();
20
- return _0x1f84 = function (_0x1f846b, _0x2a498b) {
21
- _0x1f846b = _0x1f846b - 0x18f;
22
- let _0x3a12a4 = _0x39183d[_0x1f846b];
23
- return _0x3a12a4;
24
- }, _0x1f84(_0x28d4a6, _0x2b0760);
25
- }
26
- const vh = window[_0x5cc924(0x1ae)] * 0x1;
27
- document[_0x5cc924(0x197)][_0x5cc924(0x19f)][_0x5cc924(0x1b7)]('--vh', vh + 'px'), window['addEventListener'](_0x5cc924(0x1a7), () => {
28
- const _0x489e93 = _0x5cc924;
29
- let _0x4ee224 = window[_0x489e93(0x1ae)] * 0x1;
30
- document['documentElement'][_0x489e93(0x19f)][_0x489e93(0x1b7)](_0x489e93(0x1b9), _0x4ee224 + 'px');
31
- });
32
- function _0x3918() {
33
- const _0x15a324 = [
34
- 'loadeddata',
35
- '\x22\x20mutex=\x22true\x22\x20preload=\x22auto\x22></meting-js>',
36
- 'style',
37
- '1607121vJrutE',
38
- 'onload',
39
- 'querySelector',
40
- 'log',
41
- 'heoMusic-page',
42
- '30FbfVps',
43
- '4270gEpiyh',
44
- 'resize',
45
- 'getElementById',
46
- '801tKmPgG',
47
- 'preventDefault',
48
- '2057cRmtTJ',
49
- '\x0a\x20%c\x20HeoMusic\x20开源静态音乐播放器\x20v1.5\x20%c\x20https://github.com/zhheo/HeoMusic\x20\x0a',
50
- 'location',
51
- 'innerHeight',
52
- '\x22\x20type=\x22',
53
- 'backgroundImage',
54
- '\x22\x20server=\x22',
55
- '35XeCNBq',
56
- 'innerHTML',
57
- '8120216qBUzsJ',
58
- '101040oEqUAY',
59
- '1308572nLRQoM',
60
- 'setProperty',
61
- 'skipForward',
62
- '--vh',
63
- '566624VNPyxE',
64
- 'meting-js',
65
- 'code',
66
- 'getCustomPlayList',
67
- 'color:\x20#fadfa3;\x20background:\x20#030307;\x20padding:5px\x200;',
68
- 'changeMusicBg',
69
- '174475UTRDUI',
70
- 'music_bg',
71
- 'addEventListenerChangeMusicBg',
72
- 'toggle',
73
- 'aplayer',
74
- '1uPSYfu',
75
- 'keyCode',
76
- 'server',
77
- 'type',
78
- 'documentElement',
79
- '<meting-js\x20id=\x22',
80
- 'get',
81
- 'volume',
82
- 'Space',
83
- 'keydown'
84
- ];
85
- _0x3918 = function () {
86
- return _0x15a324;
87
- };
88
- return _0x3918();
89
- }
90
- function extractValue(_0x5dabe1) {
91
- var _0x549c51 = /\("([^\s]+)"\)/g, _0x55a2b2 = _0x549c51['exec'](_0x5dabe1);
92
- return _0x55a2b2[0x1];
93
- }
94
- document['addEventListener'](_0x5cc924(0x19c), function (_0x33522d) {
95
- const _0x9bc81 = _0x5cc924;
96
- _0x33522d[_0x9bc81(0x1bc)] === _0x9bc81(0x19b) && (_0x33522d['preventDefault'](), document[_0x9bc81(0x1a2)](_0x9bc81(0x1bb))[_0x9bc81(0x192)][_0x9bc81(0x191)]());
97
- ;
98
- _0x33522d[_0x9bc81(0x194)] === 0x27 && (_0x33522d[_0x9bc81(0x1aa)](), document[_0x9bc81(0x1a2)](_0x9bc81(0x1bb))[_0x9bc81(0x192)][_0x9bc81(0x1b8)]());
99
- ;
100
- _0x33522d['keyCode'] === 0x25 && (_0x33522d['preventDefault'](), document[_0x9bc81(0x1a2)](_0x9bc81(0x1bb))[_0x9bc81(0x192)]['skipBack']()), _0x33522d[_0x9bc81(0x194)] === 0x26 && (volume <= 0x1 && (volume += 0.1, document[_0x9bc81(0x1a2)]('meting-js')[_0x9bc81(0x192)][_0x9bc81(0x19a)](volume, !![]))), _0x33522d[_0x9bc81(0x194)] === 0x28 && (volume >= 0x0 && (volume += -0.1, document[_0x9bc81(0x1a2)](_0x9bc81(0x1bb))['aplayer'][_0x9bc81(0x19a)](volume, !![])));
101
- });
1
+ console.log("\n %c HeoMusic 开源静态音乐播放器 v1.5 %c https://github.com/zhheo/HeoMusic \n","color: #fadfa3; background: #030307; padding:5px 0;","background: #fadfa3; padding:5px 0;");var volume=.8;const params=new URLSearchParams(window.location.search);var heo={changeMusicBg:function(e=!0){const t=document.getElementById("music_bg");if(e){const e=document.querySelector("#heoMusic-page .aplayer-pic");var n=new Image;n.src=extractValue(e.style.backgroundImage),n.onload=function(){t.style.backgroundImage=e.style.backgroundImage}}else{let e=setInterval((()=>{document.querySelector("#heoMusic-page .aplayer-pic")&&(clearInterval(e),document.querySelector("meting-js").aplayer.volume(.8,!0),heo.addEventListenerChangeMusicBg())}),100)}},addEventListenerChangeMusicBg:function(){document.getElementById("heoMusic-page").querySelector("meting-js").aplayer.on("loadeddata",(function(){heo.changeMusicBg()}))},getCustomPlayList:function(){const e=document.getElementById("heoMusic-page"),t=params.get("type")||"playlist";if(params.get("id")&&params.get("server")){var n=params.get("id"),o=params.get("server");e.innerHTML=`<meting-js id="${n}" server="${o}" type="${t}" mutex="true" preload="auto"></meting-js>`}else e.innerHTML=`<meting-js id="${userId}" server="${userServer}" type="${userType}" mutex="true" preload="auto"></meting-js>`;heo.changeMusicBg(!1)}};heo.getCustomPlayList();const vh=1*window.innerHeight;function extractValue(e){return/\("([^\s]+)"\)/g.exec(e)[1]}document.documentElement.style.setProperty("--vh",`${vh}px`),window.addEventListener("resize",(()=>{let e=1*window.innerHeight;document.documentElement.style.setProperty("--vh",`${e}px`)})),document.addEventListener("keydown",(function(e){"Space"===e.code&&(e.preventDefault(),document.querySelector("meting-js").aplayer.toggle()),39===e.keyCode&&(e.preventDefault(),document.querySelector("meting-js").aplayer.skipForward()),37===e.keyCode&&(e.preventDefault(),document.querySelector("meting-js").aplayer.skipBack()),38===e.keyCode&&volume<=1&&(volume+=.1,document.querySelector("meting-js").aplayer.volume(volume,!0)),40===e.keyCode&&volume>=0&&(volume+=-.1,document.querySelector("meting-js").aplayer.volume(volume,!0))}));
package/music1/main.css CHANGED
@@ -1 +1 @@
1
- @charset "UTF-8";:root{--heo-white:#fff;--heo-white-op:rgba(255, 255, 255, 0.2);--heo-black:#000;--heo-black-op:rgba(0, 0, 0, 0.2);--heo-none:#00000000;--heo-gray:#999999;--heo-gray-op:#9999992b;--heo-vip:#e5a80d;--heo-main:var(--heo-theme);--heo-main-op:var(--heo-theme-op);--heo-main-op-deep:var(--heo-theme-op-deep);--heo-main-none:var(--heo-theme-none);--heo-shadow-theme:0 8px 12px -3px var(--heo-theme-op);--heo-shadow-blackdeep:0 2px 16px -3px rgba(0, 0, 0, .15);--heo-shadow-main:0 8px 12px -3px var(--heo-main-op);--heo-shadow-blue:0 8px 12px -3px rgba(40, 109, 234, .20);--heo-shadow-white:0 8px 12px -3px rgba(255, 255, 255, .20);--heo-shadow-black:0 0 12px 4px rgba(0, 0, 0, .05);--heo-shadow-yellow:0px 38px 77px -26px rgba(255, 201, 62, .12);--heo-shadow-red:0 8px 12px -3px #ee7d7936;--heo-shadow-green:0 8px 12px -3px #87ee7936;--heo-logo-color:linear-gradient(215deg, #4584ff 0%, #cf0db9 100%);--heo-snackbar-time:5s}#page{border:0;box-shadow:none!important;padding:0!important;background:0 0!important}body{background:#0d0d0d;position:relative;overflow:hidden}#heoMusic-page meting-js .aplayer{display:flex;flex-direction:row-reverse;background:rgba(0,0,0,0);border:none;box-shadow:none;justify-content:space-between}#page{border:0;box-shadow:none!important;padding:0!important;background:0 0!important}#music_bg{display:none;position:fixed;z-index:-999;width:200%;height:200%;top:-50%;left:-50%;background-position:0 0;rotate:0;background-size:40%;transition:.6s;background-image:url(https://cdn.cbd.int/mycpen-blog@0.0.0-fyvdazuhhw/music1/img/cover.webp)}#music_bg::before{content:'';transform:translateZ(0);background:rgba(0,0,0,.4);backdrop-filter:blur(200px);-webkit-backdrop-filter:blur(200px);transform:translateZ(0);position:fixed;z-index:-998;top:-50%;left:-50%;width:200%;height:200%}body #music_bg{display:block}body{background:#0d0d0d}#heoMusic-page{max-width:calc(1200px - 160px);margin:auto;margin-top:60px}#heoMusic-page meting-js .aplayer{display:flex;flex-direction:row-reverse;background:rgba(0,0,0,0);border:none;box-shadow:none}body #web_bg{filter:blur(63px);opacity:.6;background-repeat:no-repeat;background-size:cover}body #footer,body #nav-music{display:none}#heoMusic-page .aplayer-body{width:70%;height:75vh}#heoMusic-page ol>li:hover{background:var(--heo-black-op);border-radius:6px}#heoMusic-page .aplayer-pic{float:none;width:60px;height:60px;border-radius:12px;margin:auto;bottom:30px;left:90px;position:fixed;z-index:999;display:none}#heoMusic-page .aplayer-info{margin:0 20px 0 20px;border-bottom:none}#heoMusic-page .aplayer-info .aplayer-music{text-align:center;height:auto;margin:15px;display:none}#heoMusic-page .aplayer-info .aplayer-music .aplayer-author,#heoMusic-page .aplayer-info .aplayer-music .aplayer-title{font-size:2rem;font-weight:700;color:#fff}#heoMusic-page .aplayer-info .aplayer-lrc{padding-top:80px;height:var(--vh);mask-image:linear-gradient(to bottom,#000,#000,#000,#000,#000,#000,#000,#000,#000,#000,#0000,#0000)}#heoMusic-page .aplayer-info .aplayer-lrc p{font-size:36px;line-height:44px;height:44px;margin-bottom:36px;color:#fff;font-weight:700;text-align:left;filter:blur(2px);opacity:.3;transition:all .9s cubic-bezier(.56,.17,.22,.76);user-select:none;text-shadow:0 2px 0 #ffffff00}#heoMusic-page .aplayer-info .aplayer-lrc p.aplayer-lrc-current{filter:blur(0);opacity:1;transition:all .3s cubic-bezier(.56,.17,.22,.76),text-shadow 8s 4s ease-in;height:fit-content;text-shadow:0 2px 16px #ffffff94}#heoMusic-page .aplayer-info .aplayer-lrc p.aplayer-lrc-current:first-child{text-shadow:0 2px 16px #ffffff00}@media screen and (min-width:768px){#heoMusic-page .aplayer-info .aplayer-lrc:hover p{filter:blur(0)}}#heoMusic-page .aplayer .aplayer-lrc:after,#heoMusic-page .aplayer .aplayer-lrc:before{display:none}.aplayer .aplayer-lrc .aplayer-lrc-contents{width:90%;margin-left:auto;transition:all .5s cubic-bezier(.49,.21,.22,.84);position:relative}@media screen and (max-width:768px){.aplayer .aplayer-lrc .aplayer-lrc-contents{width:100%}}#heoMusic-page .aplayer-info .aplayer-controller{position:fixed;max-width:calc(1200px - 160px);margin:auto;left:0;right:0;bottom:50px;align-items:center}#heoMusic-page .aplayer-info .aplayer-controller .aplayer-bar-wrap{margin:0 160px 0 150px}#heoMusic-page .aplayer-info .aplayer-controller .aplayer-played{background:var(--heo-white)!important}#heoMusic-page .aplayer-info .aplayer-controller .aplayer-thumb{-webkit-transform:none;transform:none;background:#fff!important}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-back,#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-forward,#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-play{display:inline;position:fixed}#heoMusic-page .aplayer-info .aplayer-time{position:absolute;width:100%;bottom:24px;height:0;display:flex;justify-content:flex-end}#heoMusic-page .aplayer-info .aplayer-time .aplayer-time-inner{margin-right:18px;margin-top:-8px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-back{position:absolute;left:0}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-play{position:absolute;left:40px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-forward{position:absolute;left:80px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon{width:2rem;height:2rem;margin-left:15px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon::before{content:'';position:absolute;padding:8px;top:-6px;width:8px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-menu{display:none}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon path{fill:var(--heo-white);opacity:.8}#heoMusic-page .aplayer-list{width:40%;max-width:480px;max-height:none!important;height:100%;min-width:200px}#heoMusic-page ol{max-height:calc(var(--vh) - 170px)!important}#heoMusic-page ol::-webkit-scrollbar-thumb{background-color:var(--heo-white-op)}#heoMusic-page ol>li{font-size:14px;opacity:.6}#heoMusic-page ol>li.aplayer-list-light{background:var(--heo-black-op);border-radius:6px;height:60px;display:flex;flex-direction:column;opacity:1}#heoMusic-page ol>li.aplayer-list-light .aplayer-list-index{display:none}#heoMusic-page ol>li.aplayer-list-light .aplayer-list-title{font-size:20px;line-height:20px;margin-top:8px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#heoMusic-page ol>li span{color:var(--heo-white)}#heoMusic-page ol>li.aplayer-list-light .aplayer-list-cur{display:none}#heoMusic-page ol>li span.aplayer-list-title{line-height:32px}#heoMusic-page ol>li .aplayer-list-index{line-height:32px}#heoMusic-page ol>li span.aplayer-list-author{opacity:.6;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:40%;line-height:32px}#heoMusic-page ol>li.aplayer-list-light span.aplayer-list-author{max-width:100%}.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar{height:8px;border-radius:8px;background:var(--heo-white-op)}.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-loaded{background:var(--heo-white-op);height:8px;border-radius:8px}.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played{height:8px;border-radius:8px}.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played .aplayer-thumb{height:16px;width:16px}.page #nav{backdrop-filter:none!important;background:0 0!important;border-bottom:none!important}.page #page-header #nav .back-home-button,.page #page-header.not-top-img #nav a{color:var(--heo-white)}body .s-sticker div{color:var(--heo-white)!important}body .aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon.aplayer-icon-loop{margin-right:7px}.aplayer .aplayer-info .aplayer-controller .aplayer-time{color:var(--heo-white)}[data-theme=dark] .page #page-header:before{background-color:transparent}.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap:hover .aplayer-volume-bar-wrap{height:120px;border-radius:40px;width:30px}.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap{width:30px}.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap .aplayer-volume-bar{width:100%;height:100%;left:0}.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap .aplayer-volume-bar .aplayer-volume{width:100%;background:var(--heo-white)!important}@media screen and (max-width:768px){body #rightside{display:none}body #content-inner,body #page{z-index:auto}#heoMusic-page .aplayer-list{position:fixed;z-index:1002;width:100%;bottom:0;left:0;background:var(--heo-white);border-radius:16px 16px 0 0;padding:15px 0;max-width:100%;height:calc(var(--vh) - 200px)}#heoMusic-page .aplayer-list.aplayer-list-hide{bottom:-100%!important}#heoMusic-page ol{max-height:100%!important;padding-right:3px;padding-left:8px}#heoMusic-page ol>li{display:flex}#heoMusic-page ol>li span{color:var(--font-color)}#heoMusic-page ol>li span.aplayer-list-title{width:30%}#heoMusic-page ol>li.aplayer-list-light{background:#33a673;padding:5px 20px;border-radius:10px;height:52px;justify-content:center}#heoMusic-page ol>li.aplayer-list-light .aplayer-list-title{margin-top:4px}#heoMusic-page ol>li.aplayer-list-light span{color:#fff}#heoMusic-page ol>li span.aplayer-list-title{max-width:55%;width:auto;display:-webkit-box;-webkit-line-clamp:1;overflow:hidden;-webkit-box-orient:vertical}#heoMusic-page ol>li.aplayer-list-light .aplayer-list-title{max-width:unset;display:unset}#heoMusic-page ol>li span.aplayer-list-author{right:10px;width:auto;max-width:35%;display:-webkit-box;-webkit-line-clamp:1;overflow:hidden;-webkit-box-orient:vertical;margin-left:auto;white-space:normal}#heoMusic-page ol>li.aplayer-list-light span.aplayer-list-author{margin-left:0}#heoMusic-page ol>li.aplayer-list-light span.aplayer-list-author{right:15px}#heoMusic-page .aplayer-body{width:100%;overflow:hidden;position:fixed;margin:auto;left:0;right:0;top:0;height:calc(var(--vh) - 200px)}#heoMusic-page .aplayer-info .aplayer-lrc{margin-top:0;height:auto;min-height:100%;mask-image:linear-gradient(to bottom,#000,#000,#000,#000,#0000,#0000)}#heoMusic-page .aplayer-info .aplayer-controller{width:100%;bottom:120px}#heoMusic-page .aplayer-info .aplayer-controller .aplayer-bar-wrap{margin:0 32px}#heoMusic-page .aplayer-info .aplayer-time{bottom:-40px;align-items:center}#heoMusic-page .aplayer-info .aplayer-time .aplayer-time-inner{position:absolute;width:100%;margin-right:4px;margin-top:-60px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-time-inner .aplayer-dtime{position:absolute;right:30px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-time-inner .aplayer-ptime{position:absolute;left:44px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-back{margin:auto;right:110px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-play{margin:auto;right:0;left:0;width:56px;height:56px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-forward{margin:auto;left:110px;right:0}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-order{position:absolute;left:22px;width:24px;height:24px;opacity:.4}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-loop{position:absolute;right:25px;width:24px;height:24px;opacity:.4}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-menu{display:inline;position:absolute;right:30px;top:-100px;width:24px;height:24px;opacity:.4}#heoMusic-page .aplayer-volume-bar-wrap{bottom:0;right:7px}#heoMusic-page .aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap{left:-66px;display:none}#heoMusic-page .aplayer-info .aplayer-lrc{padding-top:100px}#heoMusic-page .aplayer-info .aplayer-lrc p{font-size:32px;margin-bottom:38px;line-height:42px;height:42px}#heoMusic-page .aplayer-info .aplayer-music{display:flex;position:fixed;top:calc(var(--vh) - 178px);left:0;margin:0;margin-left:32px;height:21px;max-width:calc(100vw - 110px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.6;align-items:center;line-height:1}#heoMusic-page .aplayer-info .aplayer-music .aplayer-title{font-size:16px;font-weight:400;margin:0;line-height:1}#heoMusic-page .aplayer-info .aplayer-music .aplayer-author{margin-left:4px;font-size:16px;font-weight:400;line-height:1}#heoMusic-page .aplayer-info .aplayer-music .aplayer-author,#heoMusic-page .aplayer-info .aplayer-music .aplayer-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:calc(100vw - 176px)}.aplayer .aplayer-lrc{overflow:inherit}}
1
+ @charset "UTF-8";:root{--heo-white:#fff;--heo-white-op:rgba(255, 255, 255, 0.2);--heo-black:#000;--heo-black-op:rgba(0, 0, 0, 0.2);--heo-none:#00000000;--heo-gray:#999999;--heo-gray-op:#9999992b;--heo-vip:#e5a80d;--heo-main:var(--heo-theme);--heo-main-op:var(--heo-theme-op);--heo-main-op-deep:var(--heo-theme-op-deep);--heo-main-none:var(--heo-theme-none);--heo-shadow-theme:0 8px 12px -3px var(--heo-theme-op);--heo-shadow-blackdeep:0 2px 16px -3px rgba(0, 0, 0, .15);--heo-shadow-main:0 8px 12px -3px var(--heo-main-op);--heo-shadow-blue:0 8px 12px -3px rgba(40, 109, 234, .20);--heo-shadow-white:0 8px 12px -3px rgba(255, 255, 255, .20);--heo-shadow-black:0 0 12px 4px rgba(0, 0, 0, .05);--heo-shadow-yellow:0px 38px 77px -26px rgba(255, 201, 62, .12);--heo-shadow-red:0 8px 12px -3px #ee7d7936;--heo-shadow-green:0 8px 12px -3px #87ee7936;--heo-logo-color:linear-gradient(215deg, #4584ff 0%, #cf0db9 100%);--heo-snackbar-time:5s}#page{border:0;box-shadow:none!important;padding:0!important;background:0 0!important}body{background:#0d0d0d;position:relative;overflow:hidden}#heoMusic-page meting-js .aplayer{display:flex;flex-direction:row-reverse;background:rgba(0,0,0,0);border:none;box-shadow:none;justify-content:space-between}#page{border:0;box-shadow:none!important;padding:0!important;background:0 0!important}#music_bg{display:none;position:fixed;z-index:-999;width:200%;height:200%;top:-50%;left:-50%;background-position:0 0;rotate:0;background-size:40%;transition:.6s;background-image:url(https://cdn.cbd.int/mycpen-blog@0.0.0-fzawurbncn/music1/img/cover.webp)}#music_bg::before{content:'';transform:translateZ(0);background:rgba(0,0,0,.4);backdrop-filter:blur(200px);-webkit-backdrop-filter:blur(200px);transform:translateZ(0);position:fixed;z-index:-998;top:-50%;left:-50%;width:200%;height:200%}body #music_bg{display:block}body{background:#0d0d0d}#heoMusic-page{max-width:calc(1200px - 160px);margin:auto;margin-top:60px}#heoMusic-page meting-js .aplayer{display:flex;flex-direction:row-reverse;background:rgba(0,0,0,0);border:none;box-shadow:none}body #web_bg{filter:blur(63px);opacity:.6;background-repeat:no-repeat;background-size:cover}body #footer,body #nav-music{display:none}#heoMusic-page .aplayer-body{width:70%;height:75vh}#heoMusic-page ol>li:hover{background:var(--heo-black-op);border-radius:6px}#heoMusic-page .aplayer-pic{float:none;width:60px;height:60px;border-radius:12px;margin:auto;bottom:30px;left:90px;position:fixed;z-index:999;display:none}#heoMusic-page .aplayer-info{margin:0 20px 0 20px;border-bottom:none}#heoMusic-page .aplayer-info .aplayer-music{text-align:center;height:auto;margin:15px;display:none}#heoMusic-page .aplayer-info .aplayer-music .aplayer-author,#heoMusic-page .aplayer-info .aplayer-music .aplayer-title{font-size:2rem;font-weight:700;color:#fff}#heoMusic-page .aplayer-info .aplayer-lrc{padding-top:80px;height:var(--vh);mask-image:linear-gradient(to bottom,#000,#000,#000,#000,#000,#000,#000,#000,#000,#000,#0000,#0000)}#heoMusic-page .aplayer-info .aplayer-lrc p{font-size:36px;line-height:44px;height:44px;margin-bottom:36px;color:#fff;font-weight:700;text-align:left;filter:blur(2px);opacity:.3;transition:all .9s cubic-bezier(.56,.17,.22,.76);user-select:none;text-shadow:0 2px 0 #ffffff00}#heoMusic-page .aplayer-info .aplayer-lrc p.aplayer-lrc-current{filter:blur(0);opacity:1;transition:all .3s cubic-bezier(.56,.17,.22,.76),text-shadow 8s 4s ease-in;height:fit-content;text-shadow:0 2px 16px #ffffff94}#heoMusic-page .aplayer-info .aplayer-lrc p.aplayer-lrc-current:first-child{text-shadow:0 2px 16px #ffffff00}@media screen and (min-width:768px){#heoMusic-page .aplayer-info .aplayer-lrc:hover p{filter:blur(0)}}#heoMusic-page .aplayer .aplayer-lrc:after,#heoMusic-page .aplayer .aplayer-lrc:before{display:none}.aplayer .aplayer-lrc .aplayer-lrc-contents{width:90%;margin-left:auto;transition:all .5s cubic-bezier(.49,.21,.22,.84);position:relative}@media screen and (max-width:768px){.aplayer .aplayer-lrc .aplayer-lrc-contents{width:100%}}#heoMusic-page .aplayer-info .aplayer-controller{position:fixed;max-width:calc(1200px - 160px);margin:auto;left:0;right:0;bottom:50px;align-items:center}#heoMusic-page .aplayer-info .aplayer-controller .aplayer-bar-wrap{margin:0 160px 0 150px}#heoMusic-page .aplayer-info .aplayer-controller .aplayer-played{background:var(--heo-white)!important}#heoMusic-page .aplayer-info .aplayer-controller .aplayer-thumb{-webkit-transform:none;transform:none;background:#fff!important}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-back,#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-forward,#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-play{display:inline;position:fixed}#heoMusic-page .aplayer-info .aplayer-time{position:absolute;width:100%;bottom:24px;height:0;display:flex;justify-content:flex-end}#heoMusic-page .aplayer-info .aplayer-time .aplayer-time-inner{margin-right:18px;margin-top:-8px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-back{position:absolute;left:0}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-play{position:absolute;left:40px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-forward{position:absolute;left:80px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon{width:2rem;height:2rem;margin-left:15px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon::before{content:'';position:absolute;padding:8px;top:-6px;width:8px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-menu{display:none}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon path{fill:var(--heo-white);opacity:.8}#heoMusic-page .aplayer-list{width:40%;max-width:480px;max-height:none!important;height:100%;min-width:200px}#heoMusic-page ol{max-height:calc(var(--vh) - 170px)!important}#heoMusic-page ol::-webkit-scrollbar-thumb{background-color:var(--heo-white-op)}#heoMusic-page ol>li{font-size:14px;opacity:.6}#heoMusic-page ol>li.aplayer-list-light{background:var(--heo-black-op);border-radius:6px;height:60px;display:flex;flex-direction:column;opacity:1}#heoMusic-page ol>li.aplayer-list-light .aplayer-list-index{display:none}#heoMusic-page ol>li.aplayer-list-light .aplayer-list-title{font-size:20px;line-height:20px;margin-top:8px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#heoMusic-page ol>li span{color:var(--heo-white)}#heoMusic-page ol>li.aplayer-list-light .aplayer-list-cur{display:none}#heoMusic-page ol>li span.aplayer-list-title{line-height:32px}#heoMusic-page ol>li .aplayer-list-index{line-height:32px}#heoMusic-page ol>li span.aplayer-list-author{opacity:.6;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:40%;line-height:32px}#heoMusic-page ol>li.aplayer-list-light span.aplayer-list-author{max-width:100%}.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar{height:8px;border-radius:8px;background:var(--heo-white-op)}.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-loaded{background:var(--heo-white-op);height:8px;border-radius:8px}.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played{height:8px;border-radius:8px}.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played .aplayer-thumb{height:16px;width:16px}.page #nav{backdrop-filter:none!important;background:0 0!important;border-bottom:none!important}.page #page-header #nav .back-home-button,.page #page-header.not-top-img #nav a{color:var(--heo-white)}body .s-sticker div{color:var(--heo-white)!important}body .aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon.aplayer-icon-loop{margin-right:7px}.aplayer .aplayer-info .aplayer-controller .aplayer-time{color:var(--heo-white)}[data-theme=dark] .page #page-header:before{background-color:transparent}.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap:hover .aplayer-volume-bar-wrap{height:120px;border-radius:40px;width:30px}.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap{width:30px}.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap .aplayer-volume-bar{width:100%;height:100%;left:0}.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap .aplayer-volume-bar .aplayer-volume{width:100%;background:var(--heo-white)!important}@media screen and (max-width:768px){body #rightside{display:none}body #content-inner,body #page{z-index:auto}#heoMusic-page .aplayer-list{position:fixed;z-index:1002;width:100%;bottom:0;left:0;background:var(--heo-white);border-radius:16px 16px 0 0;padding:15px 0;max-width:100%;height:calc(var(--vh) - 200px)}#heoMusic-page .aplayer-list.aplayer-list-hide{bottom:-100%!important}#heoMusic-page ol{max-height:100%!important;padding-right:3px;padding-left:8px}#heoMusic-page ol>li{display:flex}#heoMusic-page ol>li span{color:var(--font-color)}#heoMusic-page ol>li span.aplayer-list-title{width:30%}#heoMusic-page ol>li.aplayer-list-light{background:#33a673;padding:5px 20px;border-radius:10px;height:52px;justify-content:center}#heoMusic-page ol>li.aplayer-list-light .aplayer-list-title{margin-top:4px}#heoMusic-page ol>li.aplayer-list-light span{color:#fff}#heoMusic-page ol>li span.aplayer-list-title{max-width:55%;width:auto;display:-webkit-box;-webkit-line-clamp:1;overflow:hidden;-webkit-box-orient:vertical}#heoMusic-page ol>li.aplayer-list-light .aplayer-list-title{max-width:unset;display:unset}#heoMusic-page ol>li span.aplayer-list-author{right:10px;width:auto;max-width:35%;display:-webkit-box;-webkit-line-clamp:1;overflow:hidden;-webkit-box-orient:vertical;margin-left:auto;white-space:normal}#heoMusic-page ol>li.aplayer-list-light span.aplayer-list-author{margin-left:0}#heoMusic-page ol>li.aplayer-list-light span.aplayer-list-author{right:15px}#heoMusic-page .aplayer-body{width:100%;overflow:hidden;position:fixed;margin:auto;left:0;right:0;top:0;height:calc(var(--vh) - 200px)}#heoMusic-page .aplayer-info .aplayer-lrc{margin-top:0;height:auto;min-height:100%;mask-image:linear-gradient(to bottom,#000,#000,#000,#000,#0000,#0000)}#heoMusic-page .aplayer-info .aplayer-controller{width:100%;bottom:120px}#heoMusic-page .aplayer-info .aplayer-controller .aplayer-bar-wrap{margin:0 32px}#heoMusic-page .aplayer-info .aplayer-time{bottom:-40px;align-items:center}#heoMusic-page .aplayer-info .aplayer-time .aplayer-time-inner{position:absolute;width:100%;margin-right:4px;margin-top:-60px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-time-inner .aplayer-dtime{position:absolute;right:30px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-time-inner .aplayer-ptime{position:absolute;left:44px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-back{margin:auto;right:110px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-play{margin:auto;right:0;left:0;width:56px;height:56px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-forward{margin:auto;left:110px;right:0}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-order{position:absolute;left:22px;width:24px;height:24px;opacity:.4}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-loop{position:absolute;right:25px;width:24px;height:24px;opacity:.4}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-menu{display:inline;position:absolute;right:30px;top:-100px;width:24px;height:24px;opacity:.4}#heoMusic-page .aplayer-volume-bar-wrap{bottom:0;right:7px}#heoMusic-page .aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap{left:-66px;display:none}#heoMusic-page .aplayer-info .aplayer-lrc{padding-top:100px}#heoMusic-page .aplayer-info .aplayer-lrc p{font-size:32px;margin-bottom:38px;line-height:42px;height:42px}#heoMusic-page .aplayer-info .aplayer-music{display:flex;position:fixed;top:calc(var(--vh) - 178px);left:0;margin:0;margin-left:32px;height:21px;max-width:calc(100vw - 110px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.6;align-items:center;line-height:1}#heoMusic-page .aplayer-info .aplayer-music .aplayer-title{font-size:16px;font-weight:400;margin:0;line-height:1}#heoMusic-page .aplayer-info .aplayer-music .aplayer-author{margin-left:4px;font-size:16px;font-weight:400;line-height:1}#heoMusic-page .aplayer-info .aplayer-music .aplayer-author,#heoMusic-page .aplayer-info .aplayer-music .aplayer-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:calc(100vw - 176px)}.aplayer .aplayer-lrc{overflow:inherit}}
@@ -8,12 +8,12 @@
8
8
  "start_url": "/music1/",
9
9
  "icons": [
10
10
  {
11
- "src": "https://cdn.cbd.int/mycpen-blog@0.0.0-fyvdazuhhw/music1/img/192.png",
11
+ "src": "https://cdn.cbd.int/mycpen-blog@0.0.0-fzawurbncn/music1/img/192.png",
12
12
  "sizes": "192x192",
13
13
  "type": "image/png"
14
14
  },
15
15
  {
16
- "src": "https://cdn.cbd.int/mycpen-blog@0.0.0-fyvdazuhhw/music1/img/512.png",
16
+ "src": "https://cdn.cbd.int/mycpen-blog@0.0.0-fzawurbncn/music1/img/512.png",
17
17
  "sizes": "512x512",
18
18
  "type": "image/png"
19
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mycpen-blog",
3
- "version": "0.0.0-fyvdazuhhw",
3
+ "version": "0.0.0-fzawurbncn",
4
4
  "description": "mycpen blog static file",
5
5
  "main": "index.js",
6
6
  "directories": {