!function(e,t){"object"==typeofexports&&"undefined"!=typeofmodule?t(exports):"function"==typeofdefine&&define.amd?define(["exports"],t):t((e="undefined"!=typeofglobalThis?globalThis:e||self).DarkReader={})}(this,(function(e){"use strict";vart,r,n,a,o,i,c,u,s,l=function(){returnl=Object.assign||function(e){for(vart,r=1,n=arguments.length;r<n;r++)for(varaint=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);returne},l.apply(this,arguments)};functiond(e,t,r,n){returnnew(r||(r=Promise))((function(a,o){functioni(e){try{u(n.next(e))}catch(e){o(e)}}functionc(e){try{u(n.throw(e))}catch(e){o(e)}}functionu(e){vart;e.done?a(e.value):(t=e.value,tinstanceofr?t:newr((function(e){e(t)}))).then(i,c)}u((n=n.apply(e,t||[])).next())}))}functionf(e,t){varr,n,a,o,i={label:0,sent:function(){if(1&a[0])throwa[1];returna[1]},trys:[],ops:[]};returno={next:c(0),throw:c(1),return:c(2)},"function"==typeofSymbol&&(o[Symbol.iterator]=function(){returnthis}),o;functionc(c){returnfunction(u){returnfunction(c){if(r)thrownewTypeError("Generator is already executing.");for(;o&&(o=0,c[0]&&(i=0)),i;)try{if(r=1,n&&(a=2&c[0]?n.return:c[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,c[1])).done)returna;switch(n=0,a&&(c=[2&c[0],a.value]),c[0]){case0:case1:a=c;break;case4:returni.label++,{value:c[1],done:!1};case5:i.label++,n=c[1],c=[0];continue;case7:c=i.ops.pop(),i.trys.pop();continue;default:if(!(a=i.trys,(a=a.length>0&&a[a.length-1])||6!==c[0]&&2!==c[0])){i=0;continue}if(3===c[0]&&(!a||c[1]>a[0]&&c[1]<a[3])){i.label=c[1];break}if(6===c[0]&&i.label<a[1]){i.label=a[1],a=c;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(c);break}a[2]&&i.ops.pop(),i.trys.pop();continue}c=t.call(e,i)}catch(e){c=[6,e],n=0}finally{r=a=0}if(5&c[0])throwc[1];return{value:c[0]?c[1]:void0,done:!0}}([c,u])}}}functionh(e){vart="function"==typeofSymbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)returnr.call(e);if(e&&"number"==typeofe.length)return{next:function(){returne&&n>=e.length&&(e=void0),{value:e&&e[n++],done:!e}}};thrownewTypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}functionp(e,t){varr="function"==typeofSymbol&&e[Symbol.iterator];if(!r)returne;varn,a,o=r.call(e),i=[];try{for(;(void0===t||t-->0)&&!(n=o.next()).done;)i.push(n.value)}catch(e){a={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(a)throwa.error}}returni}functionv(e,t,r){if(r||2===arguments.length)for(varn,a=0,o=t.length;a<o;a++)!n&&aint||(n||(n=Array.prototype.slice.call(t,0,a)),n[a]=t[a]);returne.concat(n||Array.prototype.slice.call(t))}"function"==typeofSuppressedError&&SuppressedError,function(e){e.GET_DATA="ui-bg-get-data",e.GET_DEVTOOLS_DATA="ui-bg-get-devtools-data",e.SUBSCRIBE_TO_CHANGES="ui-bg-subscribe-to-changes",e.UNSUBSCRIBE_FROM_CHANGES="ui-bg-unsubscribe-from-changes",e.CHANGE_SETTINGS="ui-bg-change-settings",e.SET_THEME="ui-bg-set-theme",e.TOGGLE_ACTIVE_TAB="ui-bg-toggle-active-tab",e.MARK_NEWS_AS_READ="ui-bg-mark-news-as-read",e.MARK_NEWS_AS_DISPLAYED="ui-bg-mark-news-as-displayed",e.LOAD_CONFIG="ui-bg-load-config",e.APPLY_DEV_DYNAMIC_THEME_FIXES="ui-bg-apply-dev-dynamic-theme-fixes",e.RESET_DEV_DYNAMIC_THEME_FIXES="ui-bg-reset-dev-dynamic-theme-fixes",e.APPLY_DEV_INVERSION_FIXES="ui-bg-apply-dev-inversion-fixes",e.RESET_DEV_INVERSION_FIXES="ui-bg-reset-dev-inversion-fixes",e.APPLY_DEV_STATIC_THEMES="ui-bg-apply-dev-static-themes",e.RESET_DEV_STATIC_THEMES="ui-bg-reset-dev-static-themes",e.COLOR_SCHEME_CHANGE="ui-bg-color-scheme-change",e.HIDE_HIGHLIGHTS="ui-bg-hide-highlights"}(t||(t={})),function(e){e.CHANGES="bg-ui-changes"}(r||(r={})),function(e){e.CSS_UPDATE="debug-bg-ui-css-update",e.UPDATE="debug-bg-ui-update"}(n||(n={})),function(e){e.ADD_CSS_FILTER="bg-cs-add-css-filter",e.ADD_DYNAMIC_THEME="bg-cs-add-dynamic-theme",e.ADD_STATIC_THEME="bg-cs-add-static-theme",e.ADD_SVG_FILTER="bg-cs-add-svg-filter",e.CLEAN_UP="bg-cs-clean-up",e.FETCH_RESPONSE="bg-cs-fetch-response",e.UNSUPPORTED_SENDER="bg-cs-unsupported-sender"}(a||(a={})),function(e){e.RELOAD="debug-bg-cs-