Registry.registerRaw("page.js","6095",function(){return{backup:function(a,D,k,y){var d={safeWindow:{},safeDocument:{},eval:eval,Context:{D:y},exec_fn:function(a,b,d){h(new e.Function(a),b,d)},exec_csp:function(a,b,e){var E="__u__"+(19831206*d.Context.M_r()+1);d.Message.send("csp",{id:E,src:a});d.exec_script(E,b,e)},exec_script:function(b,d,e){var E=a[b];delete a[b];h(E,d,e)}},h,b,F,J,v,M,O,P,t,B,l,ga,e=d.safeWindow;y=function(b){a.console.error("Tampermonkey sandbox preparation failed. This usually is caused by a third-party extension.",
b)};try{(function(){var c=function(a){var b=function(b){return h(a,b,h(F.wrappedJSObject,arguments,[1]))};b.wrappedJSObject=a;return b},fa=function(a,b){for(var d;null!==a&&void 0!==a&&!(d=t(a,b));)a=P(a);return d},A={i_N:B=function(){return function(a){return!("prototype"in a)}}(),i_SS:l=function(){return function(a,b,d){var c=fa(a,b);if(!c||!c.set||B(c.set))return a[b]=d,!0}}(),i_SG:ga=function(){return function(a,b){var d=fa(a,b);if(!d||!d.get||B(d.get))return a[b]}}(),F_a:h=function(){"use strict";
var b=a.Function.apply;return function(a,d,c){var e;ga(a,"apply")===b?e=a.apply(d,c):l(a,k,b)&&(e=a[k](d,c),delete a[k]);return e}}(),E_u:function(b,c){if(d.exec_eval){var e="__u__"+(19831206*d.Context.M_r()+1),h=e+"_";a[h]=c;var t=d.Context.F_c(d.Context.eval,a,"(function() {"+b+'}).apply(window["'+h+'"])');delete a[e];delete a[h];return t}d.exec_csp(b,c)},E_c:function(a,b){d.exec_eval?h(new e.Function(a),b):d.exec_csp(a,b)},F_c:c(a.Function.call),F_b:b=c(a.Function.bind),F_tS:c(a.Function.toString),
A_fE:v=c(a.Array.prototype.forEach),A_sl:F=c(a.Array.prototype.slice),A_sp:c(a.Array.prototype.splice),A_sh:c(a.Array.prototype.shift),A_j:c(a.Array.prototype.join),A_pu:J=c(a.Array.prototype.push),A_po:c(a.Array.prototype.pop),A_m:c(a.Array.prototype.map),A_c:c(a.Array.prototype.concat),A_f:c(a.Array.prototype.filter),A_iO:c(a.Array.prototype.indexOf),O_k:a.Object.keys,O_dP:a.Object.defineProperties,O_dPy:a.Object.defineProperty,O_gOPN:a.Object.getOwnPropertyNames,O_gOPD:t=a.Object.getOwnPropertyDescriptor,
O_gOPDs:a.Object.getOwnPropertyDescriptors||function(a){var b={},d;for(d in a)b[d]=A.O_gOPD(a,d);return b},O_gPO:P=a.Object.getPrototypeOf,O_tS:c(a.Object.prototype.toString),J_p:O=a.JSON.parse,J_s:M=a.JSON.stringify,c_l:a.console.log.bind(a.console),c_i:a.console.info.bind(a.console),c_w:a.console.warn.bind(a.console),c_e:a.console.error.bind(a.console),c_d:a.console.debug.bind(a.console),M_f:a.Math.floor,M_r:a.Math.random,M_m:a.Math.max,N_tS:c(a.Number.prototype.toString),P_r:a.Promise?a.Promise.resolve.bind(a.Promise):
void 0,P_t:a.Promise?c(a.Promise.prototype.then):void 0,P_c:a.Promise?c(a.Promise.prototype.catch):void 0,R_rAAB:a.FileReader?c(a.FileReader.prototype.readAsArrayBuffer):void 0,S_fCC:a.String.fromCharCode,S_m:c(a.String.prototype.match),S_su:c(a.String.prototype.substr),S_se:c(a.String.prototype.search),S_sp:c(a.String.prototype.split),S_r:c(a.String.prototype.replace),S_cCA:c(a.String.prototype.charCodeAt),S_tLC:c(a.String.prototype.toLowerCase),S_tUC:c(a.String.prototype.toUpperCase),D_pFS:c(a.DOMParser.prototype.parseFromString),
X_o:c(a.XMLHttpRequest.prototype.open),X_sRH:c(a.XMLHttpRequest.prototype.setRequestHeader),X_oMT:c(a.XMLHttpRequest.prototype.overrideMimeType),X_gARH:c(a.XMLHttpRequest.prototype.getAllResponseHeaders),X_gRH:c(a.XMLHttpRequest.prototype.getResponseHeader),X_s:c(a.XMLHttpRequest.prototype.send),X_a:c(a.XMLHttpRequest.prototype.abort),D_n:a.Date.now};Object.keys(A).forEach(function(a){d.Context[a]=A[a]});"String Array Object Number parseInt JSON Math Date Event MutationEvent console location Error Uint8Array Blob FileReader DOMParser XMLHttpRequest Function RegExp frames self top document location Promise".split(" ").forEach(function(b){e[b]=
a[b]});["postMessage","addEventListener","removeEventListener","setTimeout","setInterval","clearTimeout","clearInterval","alert","prompt","confirm","encodeURIComponent",function(a){return a.a+a.b}({a:"decodeURI",b:"Component"}),"encodeURI","decodeURI","escape","unescape","atob","btoa","close"].forEach(function(b){var d=a[b];e[b]=function(){return h(d,a,arguments)}});d.createSafeDocument=function(a){"getElementById createEvent createElement dispatchEvent addEventListener removeEventListener".split(" ").forEach(function(b){var c=
a[b];d.safeDocument[b]=function(){return h(c,a,arguments)}})};d.createSafeDocument(D)})()}catch(c){return y(c)}try{d.Message=function(a,b){var d=function(){return h(b.dispatchEvent,b,arguments)},e=function(){return h(b.addEventListener,b,arguments)},t=function(){return h(b.removeEventListener,b,arguments)},k=function(a,d){var c=b.createEvent("MutationEvent");c.initMutationEvent(a,!1,!1,null,null,null,M(d),c.ADDITION);return c},F=function(a,b){var d;a&&(d=B[a])&&(d(b),delete B[a])},l,D,u,y,T=1,B={},
P=[],V=function(a){var b=O(a.attrName);"message.response"==b.m?F(b.r,b.a):l&&!1===l(b,b.r?function(a){a=k(u,{m:"message.response",a:a,r:b.r});d(a)}:function(){})&&J(P,a)};return{init:function(a){y||(y=a);u="2C_"+y;D="2P_"+y;e(D,V,!1)},send:function(a,b,c){if(c){var e=++T;B[T]=c;c=e}else c=null;a=k(u,{m:a,a:b,r:c});d(a)},onMessage:{setListener:function(a,b){l=a;b||(v(P,function(a){V(a)}),P=null)}},cleanup:function(){V&&t(D,V,!1);V=null}}}(e,d.safeDocument),d.Message.init(k),d.Message.onMessage.setListener(function(c){if(d)if("load"==
c.m)d.Context.pageLoaded=!0;else if("DOMContentLoaded"==c.m)d.Context.domContentLoaded=!0;else if("cleanup"==c.m)d.Message.cleanup(),d=null;else if("next"==c.m)if(c.a.id)d.exec_script(c.a.id,d),d.exec_eval=!1;else{if(void 0===d.exec_eval)try{d.exec_eval=b(d.eval,a)("true")}catch(e){d.exec_eval=!1}d.exec_eval?d.exec_fn(c.a.src,d):d.exec_csp(c.a.src,d)}else return!1},!0)}catch(c){return y(c)}},next:function(a,D,k,y,d,h,b,F,J,v,M,O,P,t,B){var l="";F&&(l+="var V = true;\n");v&&(l+="var EV = true;\n");
J&&(l+="var ENV = true;\n");v="";if(P||"complete"==document.readyState)v+="Context.pageLoaded |= true;\nContext.domContentLoaded |= true;\n";else if(t||"interactive"==document.readyState)v+="Context.domContentLoaded |= true;\n";return['var backup = this;\n(function TM_back() {var Context = backup.Context;\nvar copy = function(src) {"use strict";var props = Context.O_gOPN(src);for (var kk, ii=0; (kk=props[ii]) !== undefined; ii++) {Context[kk] = src[kk];};};copy(backup);with (Context) {(function() {"use strict";copy({Context: Context,V:',
F?"true":"false",",ENV:",J?"true":"false",",TS:",M?"true":"false",",D:",O?"true":"false",",use:",h,",windowProps:",y,",scripts:",D,",powers:",k,",_content: false,flags:",d,',write_listeners: []});var cleanup = function(evt) {Message.cleanup();safeWindow.removeEventListener("unload", cleanup, false);};safeWindow.addEventListener("unload", cleanup, false);Context.write_listeners.push(function(d) {Context.createSafeDocument(d);Message.init();});',l+("var logLevel = "+b+";\n")+('var contextId = "'+a+
'";\n')+"var Event = function() {};var Window = function() {};Window.prototype = {};"+v+"("+B+")(Context, contextId);\n","})();};})()"].join("")},environment:function(a,D){var k=a.V,y=a.EV,d=a.D,h=a.Message,b=a.safeWindow,F=window,J=a.safeDocument,v=a.flags,M=a.i_N,O=a.i_SS,P=a.i_SG,t=a.F_a,B=a.F_c,l=a.F_b,ga=a.F_tS,e=a.A_fE,c=a.A_sl,fa=a.A_sp,A=a.A_pu,E=a.A_po,va=a.A_sh,W=a.A_j,la=a.A_f,ma=a.A_iO,Ha=a.A_c,u=a.O_k,ha=a.O_dP,T=a.O_dPy,Ga=a.O_gOPN,Ia=a.O_gOPD,V=a.O_gOPDs,Fa=a.O_tS,wa=a.J_p,ra=a.J_s,
z=a.c_l,Ja=a.c_i,R=a.c_w,ia=a.c_e,S=a.c_d,Ka=a.M_f,xa=a.M_r,ya=a.M_m,La=a.P_r,Ma=a.P_t,Na=a.P_c,X=a.S_fCC,na=a.S_m,za=a.S_su,Aa=a.S_sp,Y=a.S_r,ja=a.S_se,Ba=a.S_cCA,da=a.S_tLC,Oa=a.S_tUC,Pa=a.R_rAAB,Qa=a.D_pFS,Ra=a.X_o,Sa=a.X_sRH,Ta=a.X_oMT,Ua=a.X_gARH,Va=a.X_gRH,Wa=a.X_s,Xa=a.X_a,Ya=a.N_tS,oa=a.D_n,pa=b.Promise||function(){R("There is no browser Promise support!")};a.domContentLoaded|=0;a.pageLoaded|=0;a.domNodeInserted|=0;a.props={};var ea=function(){var c=[],Ca=function(a){if(document.body)a&&(a(),
a=null);else{var b=["load","DOMNodeInserted","DOMContentLoaded"],d=function(){e(b,function(a){J.removeEventListener(a,d,!1)});Ca(a)};e(b,function(a){J.addEventListener(a,d,!1)})}},g=function(d){A(c,function(){b.setTimeout(d,1)});a.domContentLoaded&&p.runListeners()},p={runListeners:function(){for(var a;a=va(c);)a()},run:function(b){var e=function(){Za.create(b)};"document-start"==b.script.options.run_at?(d&&S('env: run "'+b.script.name+'" ASAP -> document-start'),e()):"document-body"==b.script.options.run_at?
(d&&S('env: schedule "'+b.script.name+'" for document-body'),Ca(e)):"context-menu"==b.script.options.run_at?(d&&S('env: run "'+b.script.name+'" ASAP -> context-menu'),e()):"document-end"==b.script.options.run_at?(d&&S('env: schedule "'+b.script.name+'" for document-end'),A(c,e),a.domContentLoaded&&p.runListeners()):(d&&S('env: schedule "'+b.script.name+'" for document-idle'),g(e))}};return p}();(k||d)&&S("env: initialized (content, id:"+za(D,0,10)+"..., "+b.location.origin+b.location.pathname+") ");
var aa={createUUID:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(a){var b=16*xa()|0;return Ya("x"==a?b:b&3|8,16)})},toType:function(a){return na(Fa(a,{}),new b.RegExp("\\s([a-z|A-Z]+)"))[1]}},L={UTF8:{encode:function(a){return b.unescape(b.encodeURIComponent(a))},decode:function(a){return b.decodeURIComponent(b.escape(a))}},Base64:{encode:function(a){for(var d="",c=0;c<a.length;c++)d+=X(Ba(a,c)&255);return b.btoa(d)},decode:function(a){return b.atob(a)}},str2arrbuf:function(a){for(var d=
new b.Uint8Array(a.length),c=0;c<a.length;c++)d[c]=Ba(a,c);return d.buffer},arrbuf2str:function(a){var d="";a=new b.Uint8Array(a);for(var c=0;c<a.length;c+=32687)d+=t(X,null,a.subarray(c,c+32687));return d}},U=function(){var a={},b,c=function(b){var d=[],c=[],g=function(){t=c=d=null;delete a[b]},t={postMessage:function(a){h.send("port.message",{response_id:b,value:a})},onMessage:{addListener:function(a){A(d,a)}},onDisconnect:{addListener:function(a){A(c,a)}},disconnect:function(){h.send("port.message",
{response_id:b,disconnect:!0});g()}};a[b]={message:function(a){d&&e(d,function(b){b(a)})},disconnect:function(a){c&&e(c,function(b){b(a)});g()}};return t};return{message:function(e){var g;e.connect?b&&b(e.destination,c(e.response_id)):(g=a[e.response_id])?e.disconnect?g.disconnect():g.message(e.value):d&&R("ports: unkown id",e.response_id,e)},connect:function(a){var b=aa.createUUID();h.send("port.message",{response_id:b,connect:!0,destination:a});return c(b)},onConnect:{addListener:function(a){b=
a}}}}(),Da=function(){var a={objs:{},push:function(b,d){0!==d&&1!==d&&(d=0);var c=Ka(19831206*xa()+1);a.objs[c]={fn:b,prio:d};return c},remove:function(b){delete a.objs[b]},get:function(b){for(var d=[],c=0;1>=c;c++)e(u(a.objs),function(e){a.objs[e].prio!==c||void 0!==b&&e!=b||A(d,a.objs[e].fn)});return void 0===b?d:d[0]},finalize:function(b){if(void 0===b){b=a.get();for(var d=0;d<b.length;d++)b[d]()}else return a.objs[b]&&(d=a.objs[b].fn(),delete a.objs[b]),d}};return a}(),g=v.statistics?function(a,
d){b.setTimeout(function(){h.send("api",{name:a,type:d},null)},1)}:function(){},ca=function(){var a=function(a,b){g("GM_openInTab");var c=null,e=!1,h=null,t,u=function(){var a=[];return{run:function(b){b&&A(a,b);if(c)for(;a.length;)E(a)()}}}(),k=U.connect("openInTab");k.onMessage.addListener(function(a){a.tabId?e?k&&k.postMessage({close:!0}):(c=a.tabId,u.run()):a.name?t=a.name:a.closed&&(e=!0,h&&(h(),h=void 0))});k.onDisconnect.addListener(function(){k=null});k.postMessage({method:"openTab",url:a,
options:b});var z={};ha(z,{close:{value:function(){g("GM_openInTab.close");e?d&&S("env: attempt to close already closed tab!"):k&&k.postMessage({close:!0})}},closed:{get:function(){g("GM_openInTab.closed");return e}},onclose:{get:function(){return h},set:function(a){g("GM_openInTab.onclose=");h=a}},name:{get:function(){return t},set:function(a){u.run(function(){g("GM_openInTab.name=");k&&k.postMessage({name:a})})}}});return z},c=function(a,d){g("GM_download");var c="Object"===aa.toType(a)?a:{url:a,
name:d},e=function(a,d){d=d||{};a&&b.setTimeout(function(){t(a,d,[d])},1)},h=U.connect("download");h.onMessage.addListener(function(a){try{a.load?c.onload&&e(c.onload,a.data):a.progress?c.onprogress&&e(c.onprogress,a.data):a.timeout?c.ontimeout&&e(c.ontimeout,a.data):c.onerror&&e(c.onerror,a.data)}catch(b){z("env: Error: TM_download - ",b,c)}});h.onDisconnect.addListener(function(){h=null});h.postMessage({details:c});return{abort:function(){if(h)return h.postMessage({cancel:!0}),h.disconnect(),h=
null,!0}}},F={};return{log:function(){g("GM_log");t(z,this,arguments)},addStyle:function(a,b){g("GM_addStyle");var d=aa.createUUID();h.send("addStyle",{css:a,id:d},b?function(){b()}:null);return J.getElementById(d)},closeTab:function(a){g("window.close");h.send("closeTab",null,a?function(){a()}:null)},focusTab:function(a){g("window.focus");h.send("focusTab",null,a?function(){a()}:null)},setClipboard:function(a,b,d){g("GM_setClipboard");h.send("setClipboard",{content:a,info:b,id:D},d?function(){d()}:
null)},syntaxCheck:function(a,b){h.send("syntaxCheck",{code:a},function(a){b(a)})},of:function(p){var G=p.script,l=function(){var a=[],c=p.storage,w=0,f=function(a,c){if("string"===typeof a){var Q=a[0];a=za(a,1);switch(Q){case "b":return"true"===a;case "n":return b.Number(a);case "x":return L.UTF8.decode(L.Base64.decode(a));case "o":try{return wa(a)}catch(d){z("values: parseValueFromStorage: "+d)}return c;default:return a}}else return c},m=function(b,c,w,m){c!=w&&e(a,function(a){if(a&&a.key==b&&a.cb)try{a.cb(b,
f(c),f(w),m)}catch(Q){d&&R('values: change listener of "'+b+'" failed with: '+Q.message)}})},N=function(a){q.postMessage({method:"saveStorageKey",uuid:G.uuid,key:a,value:c.data[a],id:D,ts:c.ts})},q=U.connect("values");q.onMessage.addListener(function(a){a.storage&&e(u(a.storage.data),function(b){var Q=c.data[b];c.data[b]=a.storage.data[b];var d=c.data[b];k&&z("values: message - config key "+b+": "+Q+" -> "+d);m(b,Q,d,!0)});a.removed&&(c[a.removed]=void 0)});q.onDisconnect.addListener(function(){d&&
z("values: port disconnected")});q.postMessage({method:"addStorageListener",uuid:G.uuid,id:D});return{set:function(a,b){g("GM_setValue");var Q=c.data[a];c.ts=oa();var d=c.data,f;a:{f=b;var w=(typeof f)[0];switch(w){case "o":try{f=w+ra(f)}catch(K){z(K);f=void 0;break a}break;case "s":var r=X(8232),H=X(8233);if(-1!==ja(f,r)||-1!==ja(f,H))w="x",f=L.Base64.encode(L.UTF8.encode(f));f=w+f;break;default:f=w+f}}d[a]=f;N(a);m(a,Q,c.data[a],!1)},get:function(a,b){g("GM_getValue");return f(c.data[a],b)},remove:function(a){g("GM_deleteValue");
var b=c.data[a];c.ts=oa();delete c.data[a];N(a);m(a,b,c.data[a],!1)},list:function(){g("GM_listValues");return u(c.data)},registerChangeListener:function(b,c){g("GM_addValueChangeListener");var d=++w;A(a,{id:d,key:b,cb:c});return d},unregisterChangeListener:function(b){g("GM_removeValueChangeListener");a=la(a,function(a){return a.id!==b?!0:!1})}}}(),y=function(){return{getText:function(a){g("GM_getResourceText");for(var b=0;b<G.resources.length;b++){var d=G.resources[b];if(d.name==a&&!d.failed){try{if(null!==
d.content)return L.UTF8.decode(d.content)}catch(c){}return""}}return null},getURL:function(a){g("GM_getResourceURL");for(var b=0;b<G.resources.length;b++){var d=G.resources[b];if(d.name==a&&!d.failed){if(null===d.content)return"";try{return"data:"+(d.meta||"application")+";base64,"+L.Base64.encode(d.content)}catch(c){}return d.url}}return null}}}(),B=function(){return{set:function(a,b){g("GM_setTab");h.send("tabs",{action:"set",uuid:G.uuid,tab:a},b?function(){b()}:null)},get:function(a){g("GM_getTab");
h.send("tabs",{action:"get",uuid:G.uuid},a?function(b){a(b||{})}:null)},getAll:function(a){g("GM_getTabs");h.send("tabs",{action:"list",uuid:G.uuid},a?function(b){a(b||{})}:null)}}}(),O=function(a){g("GM_xmlhttpRequest");var d=!1,c=a.context;delete a.context;var f=function(){var a={};e(u(b.XMLHttpRequest.__proto__),function(b){a[b]=!0});var d=function(){};e(u(b.XMLHttpRequest),function(c){a[c]||(d[c]=b.XMLHttpRequest[c])});return d}(),m=function(){d=!0},q=function(a,c,r){c=c||{};!a||d&&!r||b.setTimeout(function(){c.__proto__=
f;t(a,c,[c])},1)};"object"===typeof a.url&&a.url.href&&(a.url=a.url.href);var N=function(a,d){var c=new b.FileReader;c.onload=function(){d(L.arrbuf2str(c.result))};Pa(c,a)},x=function(a,d){var c,H,f,I=aa.toType(a);if("Blob"===I||"File"===I)N(a,function(b){d({type:I,value:b,meta:a.type,name:a.name,lastModified:a.lastModified})});else if("FormData"===I)if(H=a.keys&&a.getAll?a.keys():null){var e,m={};for(c=[];!(e=H.next()).done;)A(c,e.value);f=function(){if(c.length){var b=E(c),H=a.getAll(b);-1===ja(b,
/\[\]$/)&&(H=H[0]);x(H,function(a){m[b]=a;f()})}else d({type:"FormData",value:m})};f()}else d({error:I});else if(!(I=aa.toType(a))||"Array"!==I&&"Object"!==I)d({value:a});else{var w,Q,q=0;H=0;"Object"===I?(c=u(a),Q=function(a){return a<c.length?c[a]:null},w={}):(Q=function(b){return b<a.length?b:null},w=[]);f=function(){var c=Q(q);null===c?d({type:I,value:w}):x(a[c],function(a){a.error?d(a):(w[c]=a,q++,1024>H++?f():(H=0,b.setTimeout(f,1)))})};f()}},h=function(a){var b={};a&&a.split("\n").forEach(function(a){(a=
a.match(/^([^:]+): ?(.*)/))&&(b[a[1].toLowerCase()]=a[2]||"")});return b},sa=function(a,c,d,H){if("text"==d)a="document"==c?a.document:a;else if("arraybuffer"==c)a=L.str2arrbuf(a);else if("blob"==c)a=new b.Blob([L.str2arrbuf(a)],{type:H});else if("json"==c)a=wa(a);else if("document"==c){if(a.error){R("GM_xmlhttpRequest:",a.error);return}c=new b.DOMParser;return Qa(c,a.document,a.contentType)}return a},ta=!0;(function(b){if(a.url){var c=a.url.substr(0,5);if(-1!=["data:","blob:"].indexOf(c))return ta=
!1,b()}if(!a.data)return b();x(a.data,function(c){c.error?(ta=!1,R("GM_xmlhttpRequest:","unable to handle data type "+c.error+". Going to use default xhr as fallback.")):(a.binary&&(c.type="Blob"),a.data=c,a.data_type="typified");b()})})(function(){"use strict";if(!d)if(ta){var f=U.connect("xhr"),x=[];a.headers&&e(u(a.headers),function(b){"cookie"===da(b)&&(a.cookie=a.headers[b],delete a.headers[b])});f.postMessage({method:"xhr",details:a,callbacks:{onloadstart:!!a.onloadstart,onload:!!a.onload,onreadystatechange:!!a.onreadystatechange,
onerror:!0,ontimeout:!!a.ontimeout,onprogress:!!a.onprogress,onpartial:!0},id:D,url:b.location.href,uuid:G.uuid});f.onMessage.addListener(function(b){b.data&&c&&(b.data.context=c);if(b.data&&b.onload){x.length&&(b.data.response_data=W(x,""),x=null);if(b.data.response_data){var d=b.data.response_data,f=b.data;e(["response_data"],function(a){delete b.data[a]});var m={response:function(b,c){g("GM_xmlhttpRequest.response["+(a.responseType||"unknown")+"]");var d=a.responseType?da(a.responseType):"",f=
"binary/octet-stream";c&&(f=h(c.responseHeaders)["content-type"]||f);return sa(b,d,null,f)},responseText:function(b){g("GM_xmlhttpRequest.responseText");var c=a.responseType?da(a.responseType):"";return sa(b,c,"text")},responseXML:function(a){g("GM_xmlhttpRequest.responseXML");return sa({document:a,contentType:"text/xml"},"document")}};e(u(m),function(a){T(b.data,a,{get:function(){try{return m[a](d,f)}catch(b){R("GM_xmlhttpRequest:",b)}}})})}q(a.onreadystatechange,b.data);q(a.onload,b.data)}else if(b.onreadystatechange)4!=
b.data.readyState&&q(a.onreadystatechange,b.data);else if(b.onpartial)A(x,b.data.partial);else if(b.onerror)b.exception&&ia(b.exception),q(a.onerror,b.data);else{var r=la(["onloadstart","onprogress","ontimeout"],function(a){return!!b[a]})[0]||"onerror";q(a[r],b.data)}});k&&f.onDisconnect.addListener(function(){z("env: GM_xmlhttpRequest.onDisconnect! :)")});m=function(){g("GM_xmlhttpRequest.abort");f&&(f.disconnect(),f=null,d=!0,q(a.onabort,null,!0))}}else{var r=new b.XMLHttpRequest;void 0===a.async&&
(a.async=!0);Ra(r,a.method,a.url,a.async,a.user,a.password);a.headers&&e(u(a.headers),function(b){Sa(r,b,a.headers[b])});a.overrideMimeType&&Ta(r,a.overrideMimeType);a.responseType&&(r.responseType=a.responseType);e("abort error load loadstart progress readystatechange timeout".split(" "),function(b){var d="abort"==b;r["on"+b]=function(){var f="",m=a.url;if(2<r.readyState&&(f=Ua(r),4==r.readyState)){f&&(f=Y(f,/TM-finalURL[0-9a-zA-Z]*\: .*[\r\n]{1,2}/,""));var e;try{e=Va(r,"TM-finalURL"+v.short_id)}catch(x){}e&&
(m=e)}f={readyState:r.readyState,status:"",statusText:"",responseHeaders:f,finalUrl:m,context:c};4==r.readyState&&(r.responseType?f.response=r.response:(f.responseText=r.responseText,f.responseXML=r.responseXML),f.status=r.status,f.statusText=r.statusText);q(a["on"+b],f,d)}});Wa(r,a.data);m=function(){g("GM_xmlhttpRequest.abort");Xa(r);d=!0}}});return{abort:function(){m()}}},P=function(a){var b={};e(u(a),function(c){b[c]=a[c]});b.id=D;g("GM_notification");b.text||b.highlight?h.send("notification",
b,function(a){if(b.onclick&&a.clicked)b.onclick();if(b.ondone)b.ondone(!0===a.clicked)}):R("GM_notification: neither a message text nor highlight options were given!")},J,S=function(){if(J)return J;var a=p.script,b={id:1,enabled:1,hash:1,fileURL:1},c={script:{}};e(u(a),function(d){b[d]||(c.script[d]=a[d])});var d=a.options.updateURL||a.options.fileURL;c.script["run-at"]=a.options.override.run_at||a.options.run_at;c.script.excludes=a.options.override.orig_excludes;c.script.includes=a.options.override.orig_includes;
c.script.matches=a.options.override.orig_matches;c.script.grant=a.grant;c.script.unwrap=!1;c.scriptMetaStr=p.header;c.scriptSource=p.code;c.scriptWillUpdate=!!d;c.scriptUpdateURL=d;c.version=v.version;c.scriptHandler="Tampermonkey";c.isIncognito=v.inIncognitoContext;c.downloadMode=v.downloadMode;return J=c},M,V=function(a,b){g("GM_webRequest");var c=function(){M==d&&(M=null);d=null};M&&M.disconnect();var d=M=U.connect("webRequest");b&&d.onMessage.addListener(function(a){b(a.type,a.message||"ok",a.details)});
d.onDisconnect.addListener(c);d.postMessage({rules:a,uuid:G.uuid});return{abort:function(){g("GM_webRequest.abort");d&&d.disconnect();c()}}},q=function(){var a=0,c={},d={register:function(f,e,q){g("GM_registerMenuCommand");var N=U.connect("registerMenuCommand");N.onMessage.addListener(function(a){"run"===a&&b.setTimeout(e,1)});N.onDisconnect.addListener(function(){d.unregister(x)});N.postMessage({method:"register",name:f,uuid:G.uuid,accessKey:q});k&&z("env: registerMenuCommand "+ga(e));var x=++a;
c[x]=N.disconnect;return x},unregister:function(a){g("GM_unregisterMenuCommand");k&&z("env: unregisterMenuCommand "+a);var b;if(b=c[a])b(),delete c[a]}};return d}(),N=function(){"use strict";var a=function(a,c){return{action:a,uuid:G.uuid,url:b.location.href,details:c}};return{set:function(b,c){g("GM_cookie.set");h.send("cookie",a("set",b),c?function(a){c(a.error)}:null)},delete:function(b,c){g("GM_cookie.delete");h.send("cookie",a("delete",b),c?function(a){c(a.error)}:null)},list:function(b,c){g("GM_cookie.list");
h.send("cookie",a("list",b),c?function(a){c(a.cookies,a.error)}:null)}}}();F[p.script.uuid]=F[p.script.uuid]||{getInfo:S,registerMenuCommand:q.register,unregisterMenuCommand:q.unregister,download:c,webRequest:V,openInTab:a,setValue:l.set,getValue:l.get,deleteValue:l.remove,listValues:l.list,addValueChangeListener:l.registerChangeListener,removeValueChangeListener:l.unregisterChangeListener,getResourceText:y.getText,getResourceURL:y.getURL,notification:P,xmlhttpRequest:O,cookie:N,setTab:B.set,getTab:B.get,
getTabs:B.getAll};return F[p.script.uuid]}}}(),Za=function(){var Z=function(a,b,c,d){var g=V(b);e(u(g),function(c){var e=g[c];if(!e||!e.get||M(e.get)||d)"function"===typeof b[c]?a[c]=l(b[c],b):function(){T(a,c,{get:function(){"use strict";return b[c]}})}()});e(u(c),function(b){a[b]=c[b]});return a},D=function(a,c,d,g){var h={attrChange:0,attrName:null,bubbles:!0,cancelBubble:!1,cancelable:!1,clipboardData:void 0,currentTarget:null,defaultPrevented:!1,eventPhase:0,newValue:null,prevValue:null,relatedNode:null,
returnValue:!0,srcElement:null,target:null,timeStamp:oa()};d="string"===typeof d?new b.Function(d):d;var f=new Event;e(u(h),function(a){f[a]=h[a]});e(u(c),function(a){f[a]=c[a]});f.type=a;t(d,g,[f])},J=function(a,b,c,d){void 0===d&&(d=function(a,b){return b});e(Ha(["GM_info","GM.info"],b),function(b){var f,e=c[b];e&&(f=d(b,e))&&(a[b]=f)})},p=function(a,b){void 0===b&&(b=100);return b&&a&&(a==document||p(a.parentNode,b-1))},G=function(){var b=null;return function(c){b||(b={instance:c,is_open:!1},e(["write",
"writeln","open","close"],function(d){b[d]=c[d];c[d]=function(){var g=!1;-1!=ma(["write","writeln","open"],d)?b.is_open?g=!0:b.is_open=!0:"close"===d&&(b.is_open=!1);!g&&b.is_open&&h.send("document.write");var w=document.documentElement,f=t(b[d],c,arguments);if(!g&&b.is_open)return w!==document.documentElement&&(b.instance!==c&&(b=null,G(document)),e(a.write_listeners,function(a){a(document)})),f}}))}}(),L={},E=[],U=[],X=function(c,e,g){var h;U.forEach(function(a){a.object===c&&(h=!0)});if(!h){var w=
{object:c,addEventListener:c.addEventListener,removeEventListener:c.removeEventListener};U.push(w);var f=[],m=function(a){for(var b=0;b<f.length;b++)if(f[b].fn===a)return b};c.removeEventListener=function(a,b,c){c=!!c;var d,e,g;if(void 0!==(d=m(b))&&(e=f[d].listeners)){if(g=e[a+"-"+c])t(w.removeEventListener,this,[a,g,c]),delete e[a+"-"+c];Ga(e).length||fa(f,d,1)}else return t(w.removeEventListener,this,arguments)};var u=function(a,c,d,f){if(c){var e=E.length;c=b.parseInt(W(["DOMContentLoaded"==d?
1:2,f?1:2,f?c:3-c,oa()],"0"));for(d=0;d<E.length;d++)if(f=E[d],!f||!f.prio||f.prio>c){e=d;break}fa(E,e,0,{prio:c,fn:a})}else A(E,{fn:a})};c.addEventListener=function(c,h,q){(k||y)&&z("env: addEventListener "+c);var n=this;if(h&&(1==e&&"load"==c||"DOMContentLoaded"==c||"DOMNodeInserted"==c)){q=!!q;var C;try{try{throw new b.Error;}catch(qa){var l=/tms_[0-9a-f_]+/,r=qa.stack||qa.stacktrace;if(r)for(var H=Aa(r,"\n"),K,r=0;r<H.length&&(!(K=na(H[r],l))||!(C=L[K[0]]));r++);else{var I=function(a,c){void 0===
c&&(c=10);if(0===c)return null;if(a.caller){var f,H;try{return H=ga(a.caller),na(H,new b.RegExp("^function[^(]+"))&&(void 0).length&&(f=na((void 0)[0],l))?f[0]:I(a.caller,c-1)}catch(e){d&&R("env: unable to detect caller context",e)}}return null},Ea;if(Ea=I(arguments.callee))C=L[Ea]}}}catch(qa){d&&ia("env: Error: event "+c,qa)}if(C&&"document-idle"!==C.run_at&&(C=null,"load"==c?a.pageLoaded&&(C=function(){var a=h,c=n,d=n.document||n;(k||y)&&z("env: postLoadEvent!");d=d||document;D("load",{attrName:"null",
newValue:"null",prevValue:"null",eventPhase:b.Event.AT_TARGET,attrChange:b.MutationEvent.ADDITION,target:d,relatedNode:d,srcElement:d},a,c)},u(C,e,c,q)):"DOMContentLoaded"==c&&a.domContentLoaded&&(C=function(){var a=h,c=n,d=n.document||n;(k||y)&&z("env: postDomEventListener!");d=d||document;D("DOMContentLoaded",{attrName:"null",newValue:"null",prevValue:"null",eventPhase:b.Event.AT_TARGET,attrChange:b.MutationEvent.ADDITION,target:d,relatedNode:d,srcElement:d},a,c)},u(C,e,c,q)),C)){b.setTimeout(function(){if(E.length){var a=
va(E);a&&a.fn&&a.fn()}},1);return}H=function(a){return ka(B,[h,this,g(a)],0,!0,n)};void 0===(C=m(h))&&(C=f.length,A(f,{fn:h,listeners:{}}));f[C].listeners[c+"-"+q]=H;return t(w.addEventListener,n,[c,H,q])}return t(w.addEventListener,n,arguments)};try{var n=function(){return"[native code]"};[c.addEventListener,c.removeEventListener].forEach(function(a){a.toString=n})}catch(x){}}},ea=function(a){a.__evaluate||(ha(a,{__evaluate:{value:a.evaluate,enumerable:!1,configurable:!1}}),a.evaluate=function(a,
b,c,d,f){k&&z("env: document.evaluate "+a);b||(b=this);var e;if("undefined"!=typeof XPathResult){var g=a,h=null;try{e=this.__evaluate(g,b,c,d,f)}catch(q){h=q}var x=!1;try{x|=!!e.snapshotLength}catch(q){}try{x|=!!e.singleNodeValue}catch(q){}if(x||"."==a[0]||p(b))k&&z("env: queried document for "+g);else{k&&z("env: query added elem for "+g);g=("/"==a[0]?".":"./")+a;try{e=this.__evaluate(g,b,c,d,f)}catch(q){}}k&&z("env: query returned ",e,h);if(!x&&h)throw h;}else k&&z("env: XPathResult == undefined, but selectNodes via ",
a),e=b.selectNodes(a);return e},A(Da,function(){a.evaluate=a.__evaluate}))},ka=function(a,c,d,e,g){var f=c[d],h=typeof f;e&&"string"===h?c[d]=new b.Function(f):g&&"function"===h&&(c[d]=function(){return t(f,g,arguments)});return t(a,F,c)},ja=function(c,d){var g=["eval"],h={};e(u(c),function(a){c[a].context_prop&&(h[(a.split(".")||[])[1]]=!0)});var k=function(a,c,d,q){var x=function(b){return b===c?a:b},k=function(a,b,c,d){c||(c=a);var e=a[b];a=function(){"use strict";var a=t(e,c,arguments);d&&(a=d(a));
return a};a.__proto__=e;a.prototype=e.prototype;return a},w=function(c){var d,e=c.substr(2),g;T(a,c,{get:function(){return d},set:function(c){"use strict";(d=c)&&!g?(g=function(){if("function"===typeof d)return t(d,a,arguments)},b.addEventListener(e,g,!0)):!d&&g&&(b.removeEventListener(e,g,!0),g=null)}})},N=function(b,d,e,g){var h,q,k,n={enumerable:!0,configurable:!0};(k="function"===typeof d)?n.get=d:n.get=function(){"use strict";g&&g.get_cb&&t(g.get_cb,this,[arguments,N]);return q?h:x(c[b])};if("function"===
typeof e)n.set=e;else if(!k||e)n.set=function(c){g&&g.overwrite?T(a,b,{value:c,enumerable:!0,configurable:!0}):(h=c,q=!0)};T(a,b,n)};e(u(q),function(a){d[a]=d[a]||!1!==q[a]});var C=v.sandbox_allow_getters,z=v.detect_constructors_by_keys;e(u(d),function(b){var e,K,I,p,v,ua,ba,A,G,y,D,Z,E,J;try{var B;(B=Ia(c,b))&&B.get&&(v=!M(B.get));try{if(!(K=q[b])||K.needs_grant&&!0!==h[b])if((e=d[b])&&e.event)E=!0;else if(B&&B.get)if(v)if(C)ba=!0;else return;else ba=function(){"use strict";return x(t(B.get,F))};else"function"===
(p=typeof(I=c[b]))?e.proto?ua=!0:(B.enumerable||!(z&&u(I).length||!M(I)))&&-1==ma(g,b)&&"bind"in I?D=!0:y=!0:"number"===p||"string"===p?ba=!0:y=!0;else if(K.wrap)ua=!0,Z=K.that;else if(K.direct)y=!0;else if(K.enhance)J=K.enhance;else if(K.get||K.set)ba=K.get,A=K.set,G=K.opts}catch(L){ba=A=!0}if(J)a[b]=J;else if(!v||C)E?w(b):ba||A?N(b,ba,A,G):ua?a[b]=k(c,b,Z,x):y?a[b]=x(c[b]):D&&(a[b]=l(c[b],c))}catch(L){R("env: error while creating a new sandbox["+b+"]: "+L.message)}});return a};return function(){var c=
new Window,g={setTimeout:{enhance:function(){"use strict";return ka(b.setTimeout,arguments,0,!0,c)}},setInterval:{enhance:function(){"use strict";return ka(b.setInterval,arguments,0,!0,c)}},close:{needs_grant:!0,get:function(){"use strict";return b.self==b.top?function(a){return ca.closeTab(a)}:b.close}},focus:{needs_grant:!0,get:function(){return function(a){"use strict";return ca.focusTab(a)}}},location:{get:!0,set:function(a){"use strict";b.location.href=a}},name:{get:function(){"use strict";return P(F,"name")},
set:function(a){"use strict";O(F,"name",a)}},event:{get:!0,set:!0,opts:{overwrite:!0}},document:{get:function(){"use strict";var a=b.document;d(a);return a}},clearInterval:{get:function(){"use strict";return b.clearInterval}},clearTimeout:{get:function(){"use strict";return b.clearTimeout}},addEventListener:{enhance:function(){"use strict";return ka(b.addEventListener,arguments,1,!0)}},removeEventListener:{enhance:function(){"use strict";return ka(b.removeEventListener,arguments,1,!0)}}};(function(){var a=ya(b.frames.length,
7);g.length={get:!0,opts:{get_cb:function(c,d){"use strict";for(var e=b.frames.length,f=a;f<e;f++)d(b.String(f),{get:!0});a=ya(e,a)}}};for(var c=0;c<a;c++)g[b.String(c)]={get:!0}})();e(u(b),function(a){b[a]!=F&&(g[a]=g[a]||{enhance:b[a]})});var h=k(c,F,a.windowProps,g),q={context:h,filter:function(a){"use strict";return a==F?h:a},filterEvent:function(a){var b={},c;for(c in a)if("function"===typeof a[c])b[c]=function(){var b=c;return function(){return t(a[b],a,arguments)}}();else{var d=q.filter(a[c]);b[c]=
d}return b}};return q}()},da=function(){return Z({},b.console,{debug:S,log:z,info:Ja,warn:R,error:ia},!1)},la=function(c,g,h,k,w,f,m){var z=null,n=function(){return"[Tampermonkey property]"};try{var x=k.sandboxes[c.uuid],l=["context","fapply"],p=[void 0,void 0],G=k.elements[c.uuid];e(u(G),function(a){var b=G[a];b.overwrite?(A(l,a),A(p,b.value)):b.context_prop||(A(l,a),A(p,"context."+a),b.getter?T(x,a,{get:b.getter}):x[a]=b.value);b.protect&&x[a]&&O(x[a],"toString",n)});var C,z=W(["(function(context, fapply, console) {",
"with (context) {","(function(module) {",'"use strict";',"try {\n",v.measure_scripts?'console.time("'+(C="SCRIPT RUN TIME["+c.name.replace(/\W+/g," ")+"]")+'");\n':"","fapply(module, context, [",W(p,","),"]);",v.measure_scripts?'console.timeEnd("'+C+'");\n':"","} catch (e) {","if (e.message && e.stack) {","console.error(\"ERROR: Execution of script '",Y(c.name,new b.RegExp("[\"']","g"),"\\$1"),"' failed! \" + e.message);",'console.log(e.stack.replace(/(\\\\(eval at )?<anonymous>[: ]?)|([\\s.]*at Object.tms_[\\s\\S.]*)/g, ""));',
"} else {","console.error(e);","}","}\n","})","(function ",f,"(",W(l,","),") {",v.enforce_strict_mode?'"use strict";\n':"",h,g,"\n","})","}","})(this.context, this.fapply, this.console);\n",m?"//# sourceURL="+m+"\n":""],""),y={context:x,fapply:t,console:da()};w?w(z,y):a.E_c(z,y)}catch(r){ca.syntaxCheck(W([h,g],""),function(a){var f="";if(a.errors){var I=Aa(h,"\n").length-1,k="";a.errors&&e(u(a.errors),function(b){if((b=a.errors[b])&&0<=b.line&&b.reason){var c=b.line;k+=W([c>I?"script:":"require:"," (",
b.code,") ",Y(b.reason,/.$/,"")," on line: ",c>I?c-I:c," at character: ",b.character,"\n"],"")}});f="JSHINT output:\n"+k}else f=g;var m=r.stack?Y(r.stack,/(\\(eval at )?<anonymous>[: ]?)|([\s.]*at Object.tms_[\s\S.]*)/g,""):"";d||a.errors?ia('Syntax error @ "'+c.name+'"!\n##########################\n'+f+"##########################\n\n"+m):ia('Syntax error @ "'+c.name+'"!\n\n',m);b.setTimeout(function(){throw r;},1)})}};return{create:function(h){var l=h.script,p={},y=-1!==ma(l.grant,"none")?function(b,
c){a.E_u(b,c)}:null,w=l.namespace+"_"+!!y;void 0===a.props[w]&&(a.props[w]={sandboxes:{},elements:{}},A(Da,function(){a.props[w]=null}));p.CDATA={value:function(a){g("CDATA");this.src=a;this.toXMLString=this.toString=function(){return this.src}}};p.uneval={value:function(a){g("window.uneval");try{return"\\$1 = "+ra(a)+";"}catch(b){z(b)}}};p.define={value:void 0};p.module={value:void 0};p.exports={value:void 0};var f={},m={},v={},n=ca.of(h);g(l.options.run_at||"<default>","run_at");if(y)g("none","grant");
else{g("sandbox","grant");p.window={value:"context",overwrite:!0};var x={window:F};e(u(x),function(a){var b="unsafe"+Y(a,/^(.)/g,function(a){return Oa(a)});p[b]={value:x[a]};-1!=ma(l.grant,b)&&g(b,"grant")});p.console={value:da()};p.cloneInto={value:function(a){g("compat.cloneInto");return a}};p.exportFunction={value:function(a,b,c){g("compat.exportFunction");c&&void 0!==c.defineAs&&(b[c.defineAs]=a);return a}};p.createObjectIn={value:function(a,b){g("compat.createObjectIn");var c={};b&&void 0!==
b.defineAs&&(a[b.defineAs]=c);return c}};f.addStyle=ca.addStyle;f.deleteValue=n.deleteValue;f.listValues=n.listValues;f.getValue=n.getValue;f.setValue=n.setValue;f.log=ca.log;f.registerMenuCommand=n.registerMenuCommand;f.unregisterMenuCommand=n.unregisterMenuCommand;f.openInTab=n.openInTab;f.addValueChangeListener=n.addValueChangeListener;f.removeValueChangeListener=n.removeValueChangeListener;v.xmlhttpRequest=n.xmlhttpRequest;v.download=n.download;f.webRequest=n.webRequest;v.setClipboard=ca.setClipboard;
f.getTab=n.getTab;f.setTab=n.setTab;f.saveTab=n.setTab;f.getTabs=n.getTabs;f.getResourceText=n.getResourceText;v.getResourceURL=n.getResourceURL;var B=function(a){return function(){var b=La(t(a,this,arguments));O(b,"then",function(a){return Ma(b,a)});O(b,"catch",function(a){return Na(b,a)});return b}},D=function(a,b){var c,d=new pa(function(d,f){var g={},h=b.onload,k=b.ontimeout,l=b.onerror;e(u(b),function(a){g[a]=b[a]});g.onerror=function(a){f(a);l&&t(l,this,arguments)};g.ontimeout=function(a){f(a);
k&&t(k,this,arguments)};g.onload=function(a){d(a);h&&t(h,this,arguments)};var p=a(g).abort;!0===c?p():c=p});O(d,"abort",function(){c?c():c=!0});return d};e(u(v),function(a){m["GM_"+a]={value:v[a]}});m["GM.getResourceUrl"]={getter:function(){return B(v.getResourceURL)}};m["GM.xmlHttpRequest"]={value:function(a){return D(v.xmlhttpRequest,a)}};m["GM.download"]={value:function(a){return D(v.download,a)}};m["GM.setClipboard"]={value:function(a,b){return new pa(function(c){v.setClipboard(a,b,c)})}};m.GM_notification=
{value:function(a,b,c,d){var f=null,g="timeout text image title highlight silent".split(" "),h=null,k={};"object"===typeof a&&(h=a);h?(e(g,function(a){k[a]=h[a]}),f=h.ondone,d=h.onclick,"function"===typeof b&&(f=b)):(k.image=c,k.title=b,k.text=a);k.text&&(k.image=k.image||l.icon64||l.icon,k.title=k.title||l.name);k.onclick=d;k.ondone=f;n.notification(k)}};m["GM.notification"]={value:function(a){return"object"!==typeof a?R("GM.notification(details): received no details"):new pa(function(b,c){e(u(a),
function(a){});n.notification(a)})}};m.GM_cookie={value:function(){var a=n.cookie,b=function(b,c,d){return(a[b]||function(){})(c,d)};e(u(a),function(c){b[c]=a[c]});return b}()};m["GM.cookie"]={value:function(){var a=function(a,b){return new pa(function(c,d){"list"==a?m.GM_cookie.value(a,b,function(a,b){b?d(b):c(a)}):m.GM_cookie.value(a,b,function(a){a?d(a):c()})})};e(u(n.cookie),function(b){a[b]=function(c){return a(b,c)}});return a}()};e(u(f),function(a){var b=f[a];m["GM_"+a]={value:b};m["GM."+a]=
{getter:function(){return B(b)}}});m["window.close"]={context_prop:!0};m["window.focus"]={context_prop:!0}}m.GM_info=m["GM.info"]={getter:n.getInfo};var Z={};p.GM={value:Z,protect:!0};J(p,l.grant,m,function(a,b){if("GM."===a.substr(0,3))a=a.split(".")[1],T(Z,a,{get:b.getter?b.getter:function(){return b.value}});else return b.protect=!0,b});l.options.compat_prototypes&&((k||d)&&z("env: option: add toSource"),b.Object.prototype.toSource||ha(b.Object.prototype,{toSource:{value:function(){g("Object.toSource");
var a=aa.toType(this);if("String"===a)return'(String("'+Y(this,new b.RegExp('"',"g"),'\\"')+'"))';if("Number"===a)return'(Number("'+b.Number(this)+'"))';if("Array"===a){for(var a="(new Array(",c=0;c<this.length;c++){var d=aa.toType(this[c]),a="Null"===d?a+"null":"Undefined"===d?a+"undefined":a+this[c].toSource();c+1<this.length&&(a+=",")}return a+"))"}return'JSON.parse(unescape("'+b.escape(ra(this))+'"))'},enumerable:!1,writable:!0,configurable:!0}}),(k||d)&&z("env: option: add some array generics"),
e("indexOf lastIndexOf filter forEach every map some slice".split(" "),function(a){if("function"!==typeof b.Array[a]){var d={};d[a]={value:function(d){g("Array."+a);return t(b.Array.prototype[a],d,t(c.wrappedJSObject,arguments,[1]))},enumerable:!1,writable:!0,configurable:!0};ha(b.Array,d)}}));var C,E="";if(y)C=new Window;else{var r=ja(p,function(a){ea(a);G(a);X(a,2,r.filterEvent)});C={run_at:l.options.run_at,uuid:l.uuid};E="tms_"+Y(l.uuid,/-/g,"_");L[E]=C;X(r.context,1,r.filterEvent);C=r.context}a.props[w].sandboxes[l.uuid]=
C;a.props[w].elements[l.uuid]=p;(k||d)&&S("env: execute script "+l.name+" @ the "+(y?"un":"")+"safe context now!");la(l,h.code,h.requires,a.props[w],y,E,h.source_url)}}}();(function(){if(v.external_connect){var a;if(a=F.external){var b=function(a,b){h.send("external.message",a,function(a){b&&b(a)})};try{ha(a,{Tampermonkey:{get:function(){return{getVersion:function(a){b({method:"getVersion"},a)},isInstalled:function(a,c,d){"function"===typeof c&&(d=c,c=null);b({method:"isInstalled",script:{name:a,
namespace:c}},d)}}},configurable:!0}})}catch(c){}}}})();h.onMessage.setListener(function(b){var c=b.a;"load"==b.m?(a.pageLoaded=!0,ea.runListeners()):"DOMContentLoaded"==b.m?(a.domContentLoaded=!0,ea.runListeners()):"setForeignAttr"==b.m?F[c.attr]=c.value:"port.message"==b.m?U.message(c):"executeScript"==b.m?ea.run(b.a):"cleanup"==b.m?h.cleanup():d&&z("env: unkown method",b)});d&&z("Tampermonkey started");e(a.scripts,function(a){ea.run(a)})}}}());
