PageSourceSearch

https://hunter.io/assets/google-translate-react-fix-C9HY2cfa.js

js hunter.io collected 2026-09-24 07:51:13 UTC 1,580 bytes, 36 lines download raw bytes

1(function() {
2	try {
3		var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {};
4		e.SENTRY_RELEASE = { id: "b96dc26" };
5		var n = new e.Error().stack;
6		n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6cb3df27-1efb-487b-912b-986799d5a724", e._sentryDebugIdIdentifier = "sentry-dbid-6cb3df27-1efb-487b-912b-986799d5a724");
7	} catch (e) {}
8})();
9import { n as __esmMin } from "./rolldown-runtime-sLwMD6dS.js";
10import { i as isFunction } from "./type-guards-DVyG5ljW.js";
11//#region app/frontend/lib/google-translate-react-fix.ts
12function applyGoogleTranslateReactFix() {
13	const NodeCtor = globalThis.Node;
14	if (patched || !isFunction(NodeCtor) || !NodeCtor.prototype) return;
15	patched = true;
16	const proto = NodeCtor.prototype;
17	const originalRemoveChild = proto.removeChild;
18	proto.removeChild = function removeChild(child) {
19		if (child.parentNode !== this) return child;
20		return originalRemoveChild.call(this, child);
21	};
22	const originalInsertBefore = proto.insertBefore;
23	proto.insertBefore = function insertBefore(newNode, referenceNode) {
24		if (referenceNode && referenceNode.parentNode !== this) return newNode;
25		return originalInsertBefore.call(this, newNode, referenceNode);
26	};
27}
28var patched;
29function init_google_translate_react_fix() {
30	return (init_google_translate_react_fix = __esmMin((() => {
31		patched = false;
32		applyGoogleTranslateReactFix();
33	})))();
34}
35//#endregion
36export { init_google_translate_react_fix as t };

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.