import { GenericPlatform } from "../../../agtree/dist/compatibility-tables/platforms.js";
import { redirectsCompatibilityTable } from "../../../agtree/dist/compatibility-tables/redirects.js";
Object.freeze({
	__proto__: null,
	AmazonApstagNames: [
		"amazon-apstag",
		"ubo-amazon_apstag.js",
		"amazon_apstag.js"
	],
	DidomiLoaderNames: ["didomi-loader"],
	Fingerprintjs2Names: [
		"fingerprintjs2",
		"ubo-fingerprint2.js",
		"fingerprint2.js"
	],
	Fingerprintjs3Names: [
		"fingerprintjs3",
		"ubo-fingerprint3.js",
		"fingerprint3.js"
	],
	GemiusNames: ["gemius"],
	GoogleAnalyticsGaNames: [
		"google-analytics-ga",
		"ubo-google-analytics_ga.js",
		"google-analytics_ga.js"
	],
	GoogleAnalyticsNames: [
		"google-analytics",
		"ubo-google-analytics_analytics.js",
		"google-analytics_analytics.js",
		"googletagmanager-gtm",
		"ubo-googletagmanager_gtm.js",
		"googletagmanager_gtm.js"
	],
	GoogleIma3Names: [
		"google-ima3",
		"ubo-google-ima.js",
		"google-ima.js"
	],
	GoogleSyndicationAdsByGoogleNames: [
		"googlesyndication-adsbygoogle",
		"ubo-googlesyndication_adsbygoogle.js",
		"googlesyndication_adsbygoogle.js"
	],
	GoogleTagServicesGptNames: [
		"googletagservices-gpt",
		"ubo-googletagservices_gpt.js",
		"googletagservices_gpt.js"
	],
	MatomoNames: ["matomo"],
	NaverWcslogNames: ["naver-wcslog"],
	PardotNames: ["pardot-1.0"],
	PrebidNames: ["prebid"],
	ScoreCardResearchBeaconNames: [
		"scorecardresearch-beacon",
		"ubo-scorecardresearch_beacon.js",
		"scorecardresearch_beacon.js"
	],
	abortCurrentInlineScriptNames: [
		"abort-current-inline-script",
		"abort-current-script.js",
		"ubo-abort-current-script.js",
		"acs.js",
		"ubo-acs.js",
		"ubo-abort-current-script",
		"ubo-acs",
		"abort-current-inline-script.js",
		"ubo-abort-current-inline-script.js",
		"acis.js",
		"ubo-acis.js",
		"ubo-abort-current-inline-script",
		"ubo-acis",
		"abp-abort-current-inline-script"
	],
	abortOnPropertyReadNames: [
		"abort-on-property-read",
		"abort-on-property-read.js",
		"ubo-abort-on-property-read.js",
		"aopr.js",
		"ubo-aopr.js",
		"ubo-abort-on-property-read",
		"ubo-aopr",
		"abp-abort-on-property-read"
	],
	abortOnPropertyWriteNames: [
		"abort-on-property-write",
		"abort-on-property-write.js",
		"ubo-abort-on-property-write.js",
		"aopw.js",
		"ubo-aopw.js",
		"ubo-abort-on-property-write",
		"ubo-aopw",
		"abp-abort-on-property-write"
	],
	abortOnStackTraceNames: [
		"abort-on-stack-trace",
		"abort-on-stack-trace.js",
		"ubo-abort-on-stack-trace.js",
		"aost.js",
		"ubo-aost.js",
		"ubo-abort-on-stack-trace",
		"ubo-aost",
		"abp-abort-on-stack-trace"
	],
	adjustSetIntervalNames: [
		"adjust-setInterval",
		"nano-setInterval-booster.js",
		"ubo-nano-setInterval-booster.js",
		"nano-sib.js",
		"ubo-nano-sib.js",
		"adjust-setInterval.js",
		"ubo-adjust-setInterval.js",
		"ubo-nano-setInterval-booster",
		"ubo-nano-sib",
		"ubo-adjust-setInterval"
	],
	adjustSetTimeoutNames: [
		"adjust-setTimeout",
		"adjust-setTimeout.js",
		"ubo-adjust-setTimeout.js",
		"nano-setTimeout-booster.js",
		"ubo-nano-setTimeout-booster.js",
		"nano-stb.js",
		"ubo-nano-stb.js",
		"ubo-adjust-setTimeout",
		"ubo-nano-setTimeout-booster",
		"ubo-nano-stb"
	],
	callNoThrowNames: [
		"call-nothrow",
		"call-nothrow.js",
		"ubo-call-nothrow.js",
		"ubo-call-nothrow"
	],
	debugCurrentInlineScriptNames: ["debug-current-inline-script"],
	debugOnPropertyReadNames: ["debug-on-property-read"],
	debugOnPropertyWriteNames: ["debug-on-property-write"],
	dirStringNames: ["dir-string"],
	disableNewtabLinksNames: [
		"disable-newtab-links",
		"disable-newtab-links.js",
		"ubo-disable-newtab-links.js",
		"ubo-disable-newtab-links"
	],
	evalDataPruneNames: [
		"evaldata-prune",
		"evaldata-prune.js",
		"ubo-evaldata-prune.js",
		"ubo-evaldata-prune"
	],
	forceWindowCloseNames: [
		"close-window",
		"window-close-if.js",
		"ubo-window-close-if.js",
		"ubo-window-close-if",
		"close-window.js",
		"ubo-close-window.js",
		"ubo-close-window"
	],
	hideInShadowDomNames: ["hide-in-shadow-dom"],
	hrefSanitizerNames: [
		"href-sanitizer",
		"href-sanitizer.js",
		"ubo-href-sanitizer.js",
		"ubo-href-sanitizer"
	],
	injectCssInShadowDomNames: ["inject-css-in-shadow-dom"],
	jsonPruneFetchResponseNames: [
		"json-prune-fetch-response",
		"json-prune-fetch-response.js",
		"ubo-json-prune-fetch-response.js",
		"ubo-json-prune-fetch-response"
	],
	jsonPruneNames: [
		"json-prune",
		"json-prune.js",
		"ubo-json-prune.js",
		"ubo-json-prune",
		"abp-json-prune"
	],
	jsonPruneXhrResponseNames: [
		"json-prune-xhr-response",
		"json-prune-xhr-response.js",
		"ubo-json-prune-xhr-response.js",
		"ubo-json-prune-xhr-response"
	],
	logAddEventListenerNames: [
		"log-addEventListener",
		"addEventListener-logger.js",
		"ubo-addEventListener-logger.js",
		"aell.js",
		"ubo-aell.js",
		"ubo-addEventListener-logger",
		"ubo-aell"
	],
	logEvalNames: ["log-eval"],
	logNames: ["log", "abp-log"],
	logOnStackTraceNames: ["log-on-stack-trace"],
	m3uPruneNames: [
		"m3u-prune",
		"m3u-prune.js",
		"ubo-m3u-prune.js",
		"ubo-m3u-prune"
	],
	metrikaYandexTagNames: ["metrika-yandex-tag"],
	metrikaYandexWatchNames: ["metrika-yandex-watch"],
	noProtectedAudienceNames: ["no-protected-audience"],
	noTopicsNames: ["no-topics"],
	noevalNames: [
		"noeval",
		"noeval.js",
		"silent-noeval.js",
		"ubo-noeval.js",
		"ubo-silent-noeval.js",
		"ubo-noeval",
		"ubo-silent-noeval"
	],
	nowebrtcNames: [
		"nowebrtc",
		"nowebrtc.js",
		"ubo-nowebrtc.js",
		"ubo-nowebrtc"
	],
	preventAddEventListenerNames: [
		"prevent-addEventListener",
		"addEventListener-defuser.js",
		"ubo-addEventListener-defuser.js",
		"aeld.js",
		"ubo-aeld.js",
		"ubo-addEventListener-defuser",
		"ubo-aeld",
		"abp-prevent-listener"
	],
	preventAdflyNames: ["prevent-adfly"],
	preventBabNames: [
		"prevent-bab",
		"ubo-nobab",
		"nobab",
		"bab-defuser",
		"nobab.js",
		"ubo-nobab.js",
		"bab-defuser.js"
	],
	preventCanvasNames: [
		"prevent-canvas",
		"prevent-canvas.js",
		"ubo-prevent-canvas.js",
		"ubo-prevent-canvas"
	],
	preventConstructorNames: ["prevent-constructor"],
	preventElementSrcLoadingNames: ["prevent-element-src-loading"],
	preventEvalIfNames: [
		"prevent-eval-if",
		"noeval-if.js",
		"ubo-noeval-if.js",
		"ubo-noeval-if"
	],
	preventFabNames: [
		"prevent-fab-3.2.0",
		"nofab.js",
		"ubo-nofab.js",
		"fuckadblock.js-3.2.0",
		"ubo-fuckadblock.js-3.2.0",
		"ubo-nofab"
	],
	preventFetchNames: [
		"prevent-fetch",
		"prevent-fetch.js",
		"ubo-prevent-fetch.js",
		"ubo-prevent-fetch",
		"no-fetch-if.js",
		"ubo-no-fetch-if.js",
		"ubo-no-fetch-if"
	],
	preventInnerHTMLNames: [
		"prevent-innerHTML",
		"prevent-innerHTML.js",
		"ubo-prevent-innerHTML.js",
		"ubo-prevent-innerHTML"
	],
	preventNavigationNames: ["prevent-navigation"],
	preventPopadsNetNames: [
		"prevent-popads-net",
		"popads.net.js",
		"ubo-popads.net.js",
		"ubo-popads.net"
	],
	preventRefreshNames: [
		"prevent-refresh",
		"prevent-refresh.js",
		"refresh-defuser.js",
		"refresh-defuser",
		"ubo-prevent-refresh.js",
		"ubo-prevent-refresh",
		"ubo-refresh-defuser.js",
		"ubo-refresh-defuser"
	],
	preventRequestAnimationFrameNames: [
		"prevent-requestAnimationFrame",
		"no-requestAnimationFrame-if.js",
		"ubo-no-requestAnimationFrame-if.js",
		"norafif.js",
		"ubo-norafif.js",
		"ubo-no-requestAnimationFrame-if",
		"ubo-norafif"
	],
	preventSetIntervalNames: [
		"prevent-setInterval",
		"no-setInterval-if.js",
		"ubo-no-setInterval-if.js",
		"setInterval-defuser.js",
		"ubo-setInterval-defuser.js",
		"nosiif.js",
		"ubo-nosiif.js",
		"sid.js",
		"ubo-sid.js",
		"ubo-no-setInterval-if",
		"ubo-setInterval-defuser",
		"ubo-nosiif",
		"ubo-sid"
	],
	preventSetTimeoutNames: [
		"prevent-setTimeout",
		"no-setTimeout-if.js",
		"ubo-no-setTimeout-if.js",
		"nostif.js",
		"ubo-nostif.js",
		"ubo-no-setTimeout-if",
		"ubo-nostif",
		"setTimeout-defuser.js",
		"ubo-setTimeout-defuser.js",
		"ubo-setTimeout-defuser",
		"std.js",
		"ubo-std.js",
		"ubo-std"
	],
	preventWindowOpenNames: [
		"prevent-window-open",
		"window.open-defuser.js",
		"ubo-window.open-defuser.js",
		"ubo-window.open-defuser",
		"nowoif.js",
		"ubo-nowoif.js",
		"ubo-nowoif",
		"no-window-open-if.js",
		"ubo-no-window-open-if.js",
		"ubo-no-window-open-if"
	],
	preventXHRNames: [
		"prevent-xhr",
		"no-xhr-if.js",
		"ubo-no-xhr-if.js",
		"ubo-no-xhr-if"
	],
	removeAttrNames: [
		"remove-attr",
		"remove-attr.js",
		"ubo-remove-attr.js",
		"ra.js",
		"ubo-ra.js",
		"ubo-remove-attr",
		"ubo-ra"
	],
	removeClassNames: [
		"remove-class",
		"remove-class.js",
		"ubo-remove-class.js",
		"rc.js",
		"ubo-rc.js",
		"ubo-remove-class",
		"ubo-rc"
	],
	removeCookieNames: [
		"remove-cookie",
		"cookie-remover.js",
		"ubo-cookie-remover.js",
		"ubo-cookie-remover",
		"remove-cookie.js",
		"ubo-remove-cookie.js",
		"ubo-remove-cookie",
		"abp-cookie-remover"
	],
	removeInShadowDomNames: ["remove-in-shadow-dom"],
	removeNodeTextNames: [
		"remove-node-text",
		"remove-node-text.js",
		"ubo-remove-node-text.js",
		"rmnt.js",
		"ubo-rmnt.js",
		"ubo-remove-node-text",
		"ubo-rmnt"
	],
	removeRequestQueryParameterNames: ["remove-request-query-parameter", "abp-strip-fetch-query-parameter"],
	setAttrNames: [
		"set-attr",
		"set-attr.js",
		"ubo-set-attr.js",
		"ubo-set-attr"
	],
	setConstantNames: [
		"set-constant",
		"set-constant.js",
		"ubo-set-constant.js",
		"set.js",
		"ubo-set.js",
		"ubo-set-constant",
		"ubo-set",
		"abp-override-property-read"
	],
	setCookieNames: [
		"set-cookie",
		"set-cookie.js",
		"ubo-set-cookie.js",
		"ubo-set-cookie"
	],
	setCookieReloadNames: [
		"set-cookie-reload",
		"set-cookie-reload.js",
		"ubo-set-cookie-reload.js",
		"ubo-set-cookie-reload"
	],
	setLocalStorageItemNames: [
		"set-local-storage-item",
		"set-local-storage-item.js",
		"ubo-set-local-storage-item.js",
		"ubo-set-local-storage-item"
	],
	setPopadsDummyNames: [
		"set-popads-dummy",
		"popads-dummy.js",
		"ubo-popads-dummy.js",
		"ubo-popads-dummy"
	],
	setSessionStorageItemNames: [
		"set-session-storage-item",
		"set-session-storage-item.js",
		"ubo-set-session-storage-item.js",
		"ubo-set-session-storage-item"
	],
	spoofCSSNames: [
		"spoof-css",
		"spoof-css.js",
		"ubo-spoof-css.js",
		"ubo-spoof-css"
	],
	trustedClickElementNames: ["trusted-click-element"],
	trustedCreateElementNames: ["trusted-create-element"],
	trustedDispatchEventNames: ["trusted-dispatch-event"],
	trustedPruneInboundObjectNames: ["trusted-prune-inbound-object"],
	trustedReplaceArgumentNames: ["trusted-replace-argument"],
	trustedReplaceFetchResponseNames: ["trusted-replace-fetch-response"],
	trustedReplaceNodeTextNames: ["trusted-replace-node-text"],
	trustedReplaceOutboundTextNames: ["trusted-replace-outbound-text"],
	trustedReplaceXhrResponseNames: ["trusted-replace-xhr-response"],
	trustedSetAttrNames: ["trusted-set-attr"],
	trustedSetConstantNames: ["trusted-set-constant"],
	trustedSetCookieNames: ["trusted-set-cookie"],
	trustedSetCookieReloadNames: ["trusted-set-cookie-reload"],
	trustedSetLocalStorageItemNames: ["trusted-set-local-storage-item"],
	trustedSetSessionStorageItemNames: ["trusted-set-session-storage-item"],
	trustedSuppressNativeMethodNames: ["trusted-suppress-native-method"],
	xmlPruneNames: [
		"xml-prune",
		"xml-prune.js",
		"ubo-xml-prune.js",
		"ubo-xml-prune"
	]
});
var isRedirectResourceCompatibleWithAdg = function isRedirectResourceCompatibleWithAdg(redirectName) {
	return redirectsCompatibilityTable.exists(redirectName, GenericPlatform.AdgAny);
};
//#endregion
export { isRedirectResourceCompatibleWithAdg };
