This commit is contained in:
cilame 2021-11-21 00:26:01 +08:00
parent 628006abc2
commit b32bcc8adb

View File

@ -297,7 +297,6 @@ var _iar = Array.isArray
var _ter = TypeError var _ter = TypeError
var _tpe = function(x){var r=_ter(x);r.stack=\`Uncaught TypeError: \${x}\\n at \${location[_y].origin+'/fake.js'}:4:9\\n at \${location[_y].origin+'/fake.js'}:599:2\`;return r} var _tpe = function(x){var r=_ter(x);r.stack=\`Uncaught TypeError: \${x}\\n at \${location[_y].origin+'/fake.js'}:4:9\\n at \${location[_y].origin+'/fake.js'}:599:2\`;return r}
var _ntpe = function(x){var r=_ter(x);r.stack=\`Uncaught TypeError: \${x}\\n at \${location[_y].origin+'/fake.js'}:4:9\\n at \${location[_y].origin+'/fake.js'}:599:2\`;return r} var _ntpe = function(x){var r=_ter(x);r.stack=\`Uncaught TypeError: \${x}\\n at \${location[_y].origin+'/fake.js'}:4:9\\n at \${location[_y].origin+'/fake.js'}:599:2\`;return r}
var _buf = Buffer
var _w = 'writable' var _w = 'writable'
var _e = 'enumerable' var _e = 'enumerable'
var _c = 'configurable' var _c = 'configurable'
@ -1216,8 +1215,10 @@ window[_y].matchMedia = function(k){
r[_y].onchange = null r[_y].onchange = null
return r return r
} }
window[_y].btoa = function(str) {return ((str instanceof _buf)?str:_buf.from(str.toString(), 'binary')).toString('base64'); } function mk_atob_btoa(r){var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=new Array(-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1);return{atob:function(r){var a,e,o,h,c,i,n;for(i=r.length,c=0,n="";c<i;){do{a=t[255&r.charCodeAt(c++)]}while(c<i&&-1==a);if(-1==a)break;do{e=t[255&r.charCodeAt(c++)]}while(c<i&&-1==e);if(-1==e)break;n+=String.fromCharCode(a<<2|(48&e)>>4);do{if(61==(o=255&r.charCodeAt(c++)))return n;o=t[o]}while(c<i&&-1==o);if(-1==o)break;n+=String.fromCharCode((15&e)<<4|(60&o)>>2);do{if(61==(h=255&r.charCodeAt(c++)))return n;h=t[h]}while(c<i&&-1==h);if(-1==h)break;n+=String.fromCharCode((3&o)<<6|h)}return n},btoa:function(r){var t,e,o,h,c,i;for(o=r.length,e=0,t="";e<o;){if(h=255&r.charCodeAt(e++),e==o){t+=a.charAt(h>>2),t+=a.charAt((3&h)<<4),t+="==";break}if(c=r.charCodeAt(e++),e==o){t+=a.charAt(h>>2),t+=a.charAt((3&h)<<4|(240&c)>>4),t+=a.charAt((15&c)<<2),t+="=";break}i=r.charCodeAt(e++),t+=a.charAt(h>>2),t+=a.charAt((3&h)<<4|(240&c)>>4),t+=a.charAt((15&c)<<2|(192&i)>>6),t+=a.charAt(63&i)}return t}}}
window[_y].atob = function(str) {return _buf.from(str, 'base64').toString('binary'); } var atob_btoa = mk_atob_btoa()
window[_y].btoa = atob_btoa.btoa
window[_y].atob = atob_btoa.atob
// styleMedia = init_StyleMedia('styleMedia') // styleMedia = init_StyleMedia('styleMedia')
// speechSynthesis = init_SpeechSynthesis('speechSynthesis') // speechSynthesis = init_SpeechSynthesis('speechSynthesis')