2026-07-29 08:29:29 +00:00
// Module ID: 1089
// Function ID: 1090
// Name: distanceToMatch
// Dependencies: [5, 32, 109, 41, 42, 817]
// Module 1089 (distanceToMatch)
import asyncGeneratorStep from "registerSpanErrorInstrumentation" ;
import _slicedToArray from "_slicedToArray" ;
import _objectWithoutProperties from "_objectWithoutProperties" ;
import _classCallCheck from "_classCallCheck" ;
import _createClass from "_createClass" ;
function distanceToMatch ( nodeType ) {
let num = arg2 ;
if ( arg2 === undefined ) {
num = Infinity ;
}
let num2 = arg3 ;
if ( arg3 === undefined ) {
num2 = 0 ;
}
let num3 = - 1 ;
if ( nodeType ) {
let num4 = - 1 ;
if ( nodeType . nodeType === nodeType . ELEMENT _NODE ) {
num4 = - 1 ;
if ( num2 <= num ) {
let tmp2 = num2 ;
if ( ! arg1 ( nodeType ) ) {
tmp2 = distanceToMatch ( nodeType . parentNode , arg1 , num , num2 + 1 ) ;
}
num4 = tmp2 ;
}
}
num3 = num4 ;
}
return num3 ;
}
function hookSetter ( arg0 , arg1 , arg2 , arg3 ) {
let closure _0 = arg0 ;
let closure _1 = arg1 ;
let tmp = arg2 ;
let closure _2 = arg2 ;
let _window = arg4 ;
if ( arg4 === undefined ) {
_window = window ;
}
let ownPropertyDescriptor ;
const _Object = _window . Object ;
ownPropertyDescriptor = _Object . getOwnPropertyDescriptor ( arg0 , arg1 ) ;
const _Object2 = _window . Object ;
if ( ! arg3 ) {
const obj = { set : null } ;
obj [ 0 ] = function set ( arg0 ) {
let self = this ;
self = this ;
let closure _0 = arg0 ;
outer1 _17 ( ( ) => {
const call = set . call ;
if ( typeof call === "unknown" ) {
const result = set ( tmp2 ) ;
} else {
call ( self , tmp2 ) ;
}
} , 0 ) ;
let set = closure _3 ;
if ( closure _3 ) {
set = tmp2 . set ;
}
if ( set ) {
let call = set2 . call ;
if ( typeof call === "unknown" ) {
set2 ( arg0 ) ;
} else {
call ( self , arg0 ) ;
}
}
} ;
tmp = obj ;
}
_Object2 . defineProperty ( arg0 , arg1 , tmp ) ;
return ( ) => {
let obj = ownPropertyDescriptor ;
if ( ! ownPropertyDescriptor ) {
obj = { } ;
}
let closure _0 = tmp ;
let closure _1 = tmp2 ;
ownPropertyDescriptor = undefined ;
let _Object = window . Object ;
ownPropertyDescriptor = _Object . getOwnPropertyDescriptor ( tmp , tmp2 ) ;
let _Object2 = window . Object ;
_Object2 . defineProperty ( closure _0 , closure _1 , obj ) ;
return ( ) => {
let obj = ownPropertyDescriptor ;
if ( ! ownPropertyDescriptor ) {
obj = { } ;
}
let closure _0 = tmp ;
let closure _1 = tmp2 ;
ownPropertyDescriptor = undefined ;
let _Object = window . Object ;
ownPropertyDescriptor = _Object . getOwnPropertyDescriptor ( tmp , tmp2 ) ;
let _Object2 = window . Object ;
_Object2 . defineProperty ( closure _0 , closure _1 , obj ) ;
return ( ) => {
let obj = ownPropertyDescriptor ;
if ( ! ownPropertyDescriptor ) {
obj = { } ;
}
let closure _0 = tmp ;
let closure _1 = tmp2 ;
ownPropertyDescriptor = undefined ;
let _Object = window . Object ;
ownPropertyDescriptor = _Object . getOwnPropertyDescriptor ( tmp , tmp2 ) ;
let _Object2 = window . Object ;
_Object2 . defineProperty ( closure _0 , closure _1 , obj ) ;
return ( ) => {
let obj = ownPropertyDescriptor ;
if ( ! ownPropertyDescriptor ) {
obj = { } ;
}
let closure _0 = tmp ;
let closure _1 = tmp2 ;
ownPropertyDescriptor = undefined ;
let _Object = window . Object ;
ownPropertyDescriptor = _Object . getOwnPropertyDescriptor ( tmp , tmp2 ) ;
let _Object2 = window . Object ;
_Object2 . defineProperty ( closure _0 , closure _1 , obj ) ;
return ( ) => { ... } ;
} ;
} ;
} ;
} ;
}
function patch ( arg0 , arg1 , arg2 ) {
let closure _0 = arg0 ;
let closure _1 = arg1 ;
try {
if ( arg1 in arg0 ) {
const _objectWithoutProperties = tmp2 ;
const tmp4 = arg2 ( arg0 [ arg1 ] ) ;
2026-08-04 21:03:28 +00:00
if ( typeof tmp4 === "function" ) {
2026-07-29 08:29:29 +00:00
let prototype = tmp5 . prototype ;
if ( ! prototype ) {
prototype = { } ;
}
tmp5 . prototype = prototype ;
const _Object = Object ;
let obj = { _ _rrweb _original _ _ : null } ;
obj = { enumerable : false , value : null } ;
obj [ 1 ] = tmp2 ;
obj [ 0 ] = obj ;
Object . defineProperties ( tmp5 , obj ) ;
}
arg0 [ arg1 ] = tmp4 ;
return ( ) => {
closure _0 [ closure _1 ] = closure _2 ;
} ;
} else {
return ( ) => {
} ;
}
} catch ( err ) {
return ( ) => {
} ;
}
}
function isBlocked ( nodeType ) {
if ( nodeType ) {
const obj = ( function closestElementOfNode ( nodeType ) {
if ( nodeType ) {
try {
let parentElement = nodeType ;
if ( nodeType . nodeType !== nodeType . ELEMENT _NODE ) {
parentElement = nodeType . parentElement ;
}
return parentElement ;
} catch ( err ) {
return null ;
}
} else {
return null ;
}
} ) ( nodeType ) ;
if ( obj ) {
let c0 = arg1 ;
let closure _1 = arg2 ;
const fn = ( parentNode ) => {
if ( null === parentNode ) {
return false ;
} else {
try {
if ( c0 ) {
2026-08-04 21:03:28 +00:00
if ( typeof tmp === "string" ) {
2026-07-29 08:29:29 +00:00
const _HermesInternal = HermesInternal ;
if ( parentNode . matches ( "." + tmp ) ) {
return true ;
}
} else if ( ( function elementClassMatchesRegex ( classList , test ) {
let diff = tmp - 1 ;
if ( + classList . classList . length ) {
while ( ! test . test ( classList . classList [ diff ] ) ) {
let tmp4 = + diff ;
diff = tmp4 - 1 ;
}
return true ;
}
return false ;
} ) ( parentNode , tmp ) ) {
return true ;
}
}
let tmp4 = ! closure _1 ;
if ( closure _1 ) {
tmp4 = ! parentNode . matches ( tmp3 ) ;
}
return ! tmp4 ;
} catch ( err ) {
return false ;
}
}
} ;
if ( arg4 ) {
let num2 = - 1 ;
if ( obj ) {
let num3 = - 1 ;
if ( obj . nodeType === obj . ELEMENT _NODE ) {
let num4 = 0 ;
if ( ! fn ( obj ) ) {
const parentNode = obj . parentNode ;
let num5 = - 1 ;
if ( parentNode ) {
let num6 = - 1 ;
if ( parentNode . nodeType === parentNode . ELEMENT _NODE ) {
num6 = - 1 ;
if ( Infinity >= 1 ) {
let num9 = 1 ;
if ( ! fn ( parentNode ) ) {
num9 = distanceToMatch ( parentNode . parentNode , fn , Infinity , 2 ) ;
}
num6 = num9 ;
}
}
num5 = num6 ;
}
num4 = num5 ;
}
num3 = num4 ;
}
num2 = num3 ;
}
let tmp9 = num2 >= 0 ;
if ( tmp9 ) {
let num12 = - 1 ;
if ( arg3 ) {
c0 = null ;
closure _1 = arg3 ;
let num13 = - 1 ;
if ( obj ) {
let num14 = - 1 ;
if ( obj . nodeType === obj . ELEMENT _NODE ) {
const fn2 = ( parentNode ) => {
if ( null === parentNode ) {
return false ;
} else {
try {
if ( c0 ) {
2026-08-04 21:03:28 +00:00
if ( typeof tmp === "string" ) {
2026-07-29 08:29:29 +00:00
const _HermesInternal = HermesInternal ;
if ( parentNode . matches ( "." + tmp ) ) {
return true ;
}
} else if ( ( function elementClassMatchesRegex ( classList , test ) {
let diff = tmp - 1 ;
if ( + classList . classList . length ) {
while ( ! test . test ( classList . classList [ diff ] ) ) {
let tmp4 = + diff ;
diff = tmp4 - 1 ;
}
return true ;
}
return false ;
} ) ( parentNode , tmp ) ) {
return true ;
}
}
let tmp4 = ! closure _1 ;
if ( closure _1 ) {
tmp4 = ! parentNode . matches ( tmp3 ) ;
}
return ! tmp4 ;
} catch ( err ) {
return false ;
}
}
} ;
let num15 = 0 ;
if ( ! fn2 ( obj ) ) {
const parentNode2 = obj . parentNode ;
let num16 = - 1 ;
if ( parentNode2 ) {
let num17 = - 1 ;
if ( parentNode2 . nodeType === parentNode2 . ELEMENT _NODE ) {
num17 = - 1 ;
if ( Infinity >= 1 ) {
let num20 = 1 ;
if ( ! fn2 ( parentNode2 ) ) {
num20 = distanceToMatch ( parentNode2 . parentNode , fn2 , Infinity , 2 ) ;
}
num17 = num20 ;
}
}
num16 = num17 ;
}
num15 = num16 ;
}
num14 = num15 ;
}
num13 = num14 ;
}
num12 = num13 ;
}
tmp9 = num2 > - 1 && num12 < 0 || num2 < num12 ;
const tmp13 = num2 > - 1 && num12 < 0 || num2 < num12 ;
}
return tmp9 ;
} else {
let matchesResult = arg3 ;
if ( arg3 ) {
matchesResult = obj . matches ( arg3 ) ;
}
return fn ( obj ) && ! matchesResult ;
}
} else {
return false ;
}
} else {
return false ;
}
}
function getImplementation ( arg0 ) {
if ( table [ arg0 ] ) {
return tmp2 ;
} else {
const _window = window ;
const _document = window . document ;
const _window2 = window ;
let obj = window [ arg0 ] ;
if ( _document ) {
2026-08-04 21:03:28 +00:00
if ( typeof _document . createElement === "function" ) {
2026-07-29 08:29:29 +00:00
try {
const element = < iframe / > ;
element . hidden = true ;
const head = _document . head ;
head . appendChild ( element ) ;
const contentWindow = element . contentWindow ;
if ( contentWindow ) {
obj = tmp7 [ arg0 ] ;
}
const head2 = _document . head ;
head2 . removeChild ( element ) ;
} catch ( err ) {
}
}
}
const _window3 = window ;
const bindResult = obj . bind ( window ) ;
tmp [ arg0 ] = bindResult ;
return bindResult ;
}
}
function onRequestAnimationFrame ( ) {
const items = [ ... arguments ] ;
return getImplementation ( "requestAnimationFrame" ) ( ... items ) ;
}
function setTimeout$1 ( ) {
const items = [ ... arguments ] ;
return getImplementation ( "setTimeout" ) ( ... items ) ;
}
function serializeArg ( buffer , arg1 , arg2 ) {
let closure _0 = arg1 ;
let closure _1 = arg2 ;
if ( buffer instanceof Array ) {
return buffer . map ( ( arg0 ) => outer1 _24 ( arg0 , closure _0 , closure _1 ) ) ;
} else if ( null === buffer ) {
return buffer ;
} else {
const _Float32Array = Float32Array ;
if ( ! ( buffer instanceof Float32Array ) ) {
const _Float64Array = Float64Array ;
if ( ! ( buffer instanceof Float64Array ) ) {
const _Int32Array = Int32Array ;
if ( ! ( buffer instanceof Int32Array ) ) {
const _Uint32Array = Uint32Array ;
if ( ! ( buffer instanceof Uint32Array ) ) {
const _Uint8Array = Uint8Array ;
if ( ! ( buffer instanceof Uint8Array ) ) {
const _Uint16Array = Uint16Array ;
if ( ! ( buffer instanceof Uint16Array ) ) {
const _Int16Array = Int16Array ;
if ( ! ( buffer instanceof Int16Array ) ) {
const _Int8Array = Int8Array ;
if ( ! ( buffer instanceof Int8Array ) ) {
const _Uint8ClampedArray = Uint8ClampedArray ;
if ( ! ( buffer instanceof Uint8ClampedArray ) ) {
const _ArrayBuffer = ArrayBuffer ;
if ( buffer instanceof ArrayBuffer ) {
let obj = { rr _type : null , base64 : null } ;
obj [ 0 ] = buffer . constructor . name ;
const _Uint8Array2 = Uint8Array ;
const uint8Array = new Uint8Array ( buffer ) ;
let str = "" ;
let num9 = 0 ;
let str2 = "" ;
if ( 0 < uint8Array . length ) {
do {
let tmp11 = dependencyMap ;
let sum = num9 + 1 ;
let sum1 = num9 + 2 ;
str = ` ` + dependencyMap [ uint8Array [ num9 ] >> 2 ] + dependencyMap [ ( 3 & uint8Array [ num9 ] ) << 4 | uint8Array [ sum ] >> 4 ] + dependencyMap [ ( 15 & uint8Array [ sum ] ) << 2 | uint8Array [ sum1 ] >> 6 ] + dependencyMap [ 63 & uint8Array [ sum1 ] ] ;
num9 = num9 + 3 ;
str2 = str ;
} while ( num9 < length ) ;
}
if ( uint8Array . length % 3 === 2 ) {
let text = ` ${ str2 . substring ( 0 , str2 . length - 1 ) } = ` ;
} else {
text = str2 ;
if ( length % 3 === 1 ) {
text = ` ${ str2 . substring ( 0 , str2 . length - 2 ) } == ` ;
}
}
obj [ 1 ] = text ;
return obj ;
} else {
const _DataView = DataView ;
if ( buffer instanceof DataView ) {
obj = { rr _type : null , args : null } ;
obj [ 0 ] = buffer . constructor . name ;
const items = [ serializeArg ( buffer . buffer , arg1 , arg2 ) , , ] ;
( { byteOffset : arr4 [ 1 ] , byteLength : arr4 [ 2 ] } = buffer ) ;
obj [ 1 ] = items ;
return obj ;
} else {
if ( buffer instanceof globalThis . HTMLImageElement ) {
const obj1 = { rr _type : null , src : null } ;
obj1 [ 0 ] = buffer . constructor . name ;
obj1 [ 1 ] = buffer . src ;
return obj1 ;
} else {
if ( buffer instanceof globalThis . HTMLCanvasElement ) {
const obj2 = { rr _type : "HTMLImageElement" , src : null } ;
obj2 [ 1 ] = buffer . toDataURL ( ) ;
return obj2 ;
} else {
if ( buffer instanceof globalThis . ImageData ) {
const obj3 = { rr _type : null , args : null } ;
obj3 [ 0 ] = buffer . constructor . name ;
const items1 = [ serializeArg ( buffer . data , arg1 , arg2 ) , , ] ;
( { width : arr3 [ 1 ] , height : arr3 [ 2 ] } = buffer ) ;
obj3 [ 1 ] = items1 ;
let tmp3 = obj3 ;
} else {
2026-08-04 21:03:28 +00:00
if ( typeof closure _26 !== "function" ) {
2026-07-29 08:29:29 +00:00
HermesBuiltin . throwTypeError ( ) ;
}
closure _0 = buffer ;
closure _1 = arg1 ;
const items2 = [ "WebGLActiveInfo" , "WebGLBuffer" , "WebGLFramebuffer" , "WebGLProgram" , "WebGLRenderbuffer" , "WebGLShader" , "WebGLShaderPrecisionFormat" , "WebGLTexture" , "WebGLUniformLocation" , "WebGLVertexArrayObject" , "WebGLVertexArrayObjectOES" ] ;
2026-08-04 21:03:28 +00:00
const found = items2 . filter ( ( arg0 ) => typeof dependencyMap [ arg0 ] === "function" ) ;
2026-07-29 08:29:29 +00:00
const _Boolean = Boolean ;
if ( Boolean ( found . find ( ( arg0 ) => closure _0 instanceof dependencyMap [ arg0 ] ) ) ) {
obj = { rr _type : null , index : null } ;
obj [ 0 ] = buffer . constructor . name ;
obj [ 1 ] = callback ( buffer , arg1 , arg2 ) ;
tmp3 = obj ;
} else {
tmp3 = buffer ;
}
}
return tmp3 ;
}
}
}
}
}
}
}
}
}
}
}
}
}
const obj4 = { rr _type : null , args : null } ;
obj4 [ 0 ] = buffer . constructor . name ;
const _Object = Object ;
const items3 = [ Object . values ( buffer ) ] ;
obj4 [ 1 ] = items3 ;
return obj4 ;
}
}
function initCanvasContextObserver ( HTMLCanvasElement ) {
let closure _0 = arg1 ;
let closure _1 = arg2 ;
let closure _2 = arg3 ;
let closure _3 = arg4 ;
let items = [ ] ;
try {
items . push ( patch ( HTMLCanvasElement . HTMLCanvasElement . prototype , "getContext" , ( arg0 ) => {
let closure _0 = arg0 ;
return function ( arg0 ) {
const self = this ;
const substr = [ ... arguments ] . slice ( ) ;
if ( ! outer2 _13 ( this , callback , outer1 _1 , outer1 _2 , true ) ) {
let str = "webgl" ;
if ( "experimental-webgl" !== arg0 ) {
str = arg0 ;
}
if ( ! ( "__context" in self ) ) {
self . _ _context = str ;
}
if ( outer1 _3 ) {
const items = [ "webgl" , "webgl2" ] ;
if ( items . includes ( str ) ) {
if ( substr [ 0 ] ) {
2026-08-04 21:03:28 +00:00
if ( typeof substr [ 0 ] === "object" ) {
2026-07-29 08:29:29 +00:00
const first = substr [ 0 ] ;
if ( ! first . preserveDrawingBuffer ) {
first . preserveDrawingBuffer = true ;
}
}
}
substr . splice ( 0 , 1 , { preserveDrawingBuffer : true } ) ;
}
}
}
const items1 = [ arg0 , ... substr ] ;
return callback . apply ( self , items1 ) ;
} ;
} ) ) ;
return ( ) => {
const item = items . forEach ( ( arg0 ) => arg0 ( ) ) ;
} ;
} catch ( err ) {
const _console = console ;
console . error ( "failed to patch HTMLCanvasElement.prototype.getContext" ) ;
}
}
function patchGLPrototype ( headers ) {
let closure _0 = headers ;
let closure _1 = arg1 ;
let closure _2 = arg2 ;
let closure _3 = arg3 ;
let closure _4 = arg4 ;
let closure _5 = arg5 ;
let closure _6 = arg7 ;
let items = [ ] ;
const ownPropertyNames = Object . getOwnPropertyNames ( headers ) ;
for ( const item10017 of ownPropertyNames ) {
let tmp2 = ( function _loop2 ( item10017 ) {
const headers = item10017 ;
let items = [ "isContextLost" , "canvas" , "drawingBufferWidth" , "drawingBufferHeight" ] ;
if ( items . includes ( item10017 ) ) {
return 0 ;
} else {
try {
2026-08-04 21:03:28 +00:00
if ( typeof headers [ item10017 ] !== "function" ) {
2026-07-29 08:29:29 +00:00
return 0 ;
} else {
items . push ( outer1 _12 ( tmp3 , item10017 , ( arg0 ) => {
let closure _0 = arg0 ;
return function ( ) {
const self = this ;
const items = [ ... arguments ] ;
const applyResult = callback . apply ( this , items ) ;
outer3 _23 ( applyResult , outer2 _6 , this ) ;
if ( "tagName" in this . canvas ) {
if ( ! outer3 _13 ( self . canvas , outer2 _3 , outer2 _4 , outer2 _5 , true ) ) {
2026-08-04 21:03:28 +00:00
if ( typeof outer3 _25 !== "function" ) {
2026-07-29 08:29:29 +00:00
HermesBuiltin . throwTypeError ( ) ;
}
callback = outer2 _6 ;
const obj = { type : null , property : null , args : null } ;
obj [ 0 ] = outer2 _1 ;
obj [ 1 ] = callback ;
obj [ 2 ] = items . map ( ( arg0 ) => outer1 _24 ( arg0 , closure _0 , closure _1 ) ) ;
outer2 _2 ( self . canvas , obj ) ;
}
}
return applyResult ;
} ;
} ) ) ;
}
} catch ( err ) {
let obj = { set : null } ;
obj [ 0 ] = function set ( arg0 ) {
const items = [ arg0 ] ;
outer1 _2 ( this . canvas , { type : outer1 _1 , property : closure _0 , args : items , setter : true } ) ;
} ;
items . push ( outer1 _11 ( headers , tmp , obj ) ) ;
}
}
} ) ( item10017 ) ;
continue ;
}
return items ;
}
let closure _5 = [ "type" ] ;
Object . defineProperty ( exports , Symbol . toStringTag , { value : "Module" } ) ;
function _ _publicField$1 ( arg0 , arg1 , arg2 ) {
}
let closure _8 = ( ( ) => {
class Mirror {
constructor ( ) {
self = this ;
tmp = outer1 _3 ( this , Mirror ) ;
tmp2 = outer1 _7 ;
map = new Map ( ) ;
2026-08-04 21:03:28 +00:00
if ( typeof outer1 _7 !== "function" ) {
2026-07-29 08:29:29 +00:00
str = "Trying to call a non-function" ;
throwTypeErrorResult = HermesBuiltin . throwTypeError ( ) ;
}
if ( "idNodeMap" in self ) {
tmp4 = outer1 _6 ;
obj = { enumerable : true , configurable : true , writable : true , value : null } ;
obj [ 3 ] = map ;
tmp5 = outer1 _6 ( self , "idNodeMap" , obj ) ;
} else {
self . idNodeMap = map ;
}
weakMap = new WeakMap ( ) ;
2026-08-04 21:03:28 +00:00
if ( typeof tmp2 !== "function" ) {
2026-07-29 08:29:29 +00:00
str2 = "Trying to call a non-function" ;
throwTypeErrorResult1 = HermesBuiltin . throwTypeError ( ) ;
}
if ( "nodeMetaMap" in self ) {
tmp7 = outer1 _6 ;
obj = { enumerable : true , configurable : true , writable : true , value : null } ;
obj [ 3 ] = weakMap ;
tmp8 = outer1 _6 ( self , "nodeMetaMap" , obj ) ;
} else {
self . nodeMetaMap = weakMap ;
}
return ;
}
}
const items = [
{
key : "getId" ,
value : function getId ( arg0 ) {
if ( arg0 ) {
const self = this ;
const meta = this . getMeta ( arg0 ) ;
let num2 ;
if ( meta != null ) {
num2 = meta . id ;
}
if ( num2 == null ) {
num2 = - 1 ;
}
return num2 ;
} else {
return - 1 ;
}
}
} ,
{
key : "getNode" ,
value : function getNode ( arg0 ) {
const idNodeMap = this . idNodeMap ;
return idNodeMap . get ( arg0 ) || null ;
}
} ,
{
key : "getIds" ,
value : function getIds ( ) {
const idNodeMap = this . idNodeMap ;
return Array . from ( idNodeMap . keys ( ) ) ;
}
} ,
{
key : "getMeta" ,
value : function getMeta ( arg0 ) {
const nodeMetaMap = this . nodeMetaMap ;
return nodeMetaMap . get ( arg0 ) || null ;
}
} ,
{
key : "removeNodeFromMap" ,
value : function removeNodeFromMap ( childNodes ) {
const self = this ;
const idNodeMap = this . idNodeMap ;
idNodeMap . delete ( this . getId ( childNodes ) ) ;
if ( childNodes . childNodes ) {
childNodes = childNodes . childNodes ;
const item = childNodes . forEach ( ( arg0 ) => self . removeNodeFromMap ( arg0 ) ) ;
}
}
} ,
{
key : "has" ,
value : function has ( arg0 ) {
const idNodeMap = this . idNodeMap ;
return idNodeMap . has ( arg0 ) ;
}
} ,
{
key : "hasNode" ,
value : function hasNode ( arg0 ) {
const nodeMetaMap = this . nodeMetaMap ;
return nodeMetaMap . has ( arg0 ) ;
}
} ,
{
key : "add" ,
value : function add ( arg0 , id ) {
const idNodeMap = this . idNodeMap ;
const result = idNodeMap . set ( id . id , arg0 ) ;
const nodeMetaMap = this . nodeMetaMap ;
const result1 = nodeMetaMap . set ( arg0 , id ) ;
}
} ,
{
key : "replace" ,
value : function replace ( arg0 , arg1 ) {
const self = this ;
const node = this . getNode ( arg0 ) ;
if ( node ) {
const nodeMetaMap = self . nodeMetaMap ;
const value = nodeMetaMap . get ( node ) ;
if ( value ) {
const nodeMetaMap2 = self . nodeMetaMap ;
const result = nodeMetaMap2 . set ( arg1 , value ) ;
}
}
const idNodeMap = self . idNodeMap ;
const result1 = idNodeMap . set ( arg0 , arg1 ) ;
}
} ,
{
key : "reset" ,
value : function reset ( ) {
const obj = { idNodeMap : new Map ( ) } ;
const weakMap = new WeakMap ( ) ;
obj . nodeMetaMap = weakMap ;
}
}
] ;
return _createClass ( Mirror , items ) ;
} ) ( ) ;
let c10 = "Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording." ;
let obj = {
map : { } ,
getId ( ) {
console . error ( c10 ) ;
return - 1 ;
} ,
getNode ( ) {
console . error ( c10 ) ;
return null ;
} ,
removeNodeFromMap ( ) {
console . error ( c10 ) ;
} ,
has ( ) {
console . error ( c10 ) ;
return false ;
} ,
reset ( ) {
console . error ( c10 ) ;
}
} ;
2026-08-04 21:03:28 +00:00
let _Reflect = typeof window !== "undefined" ;
if ( typeof window !== "undefined" ) {
2026-07-29 08:29:29 +00:00
let _window2 = window ;
_Reflect = window . Proxy ;
}
if ( _Reflect ) {
let _window = window ;
_Reflect = window . Reflect ;
}
if ( _Reflect ) {
const _Proxy = Proxy ;
obj = { get : null } ;
obj [ 0 ] = function get ( arg0 , arg1 , arg2 ) {
if ( "map" === arg1 ) {
const _console = console ;
console . error ( c10 ) ;
}
return Reflect . get ( arg0 , arg1 , arg2 ) ;
} ;
const proxy = new Proxy ( obj , obj ) ;
}
let str = Date . now ( ) ;
str = str . toString ( ) ;
let closure _14 = { } ;
obj = { } ;
( ( arg0 ) => {
arg0 [ "2D" ] = 0 ;
arg0 [ 0 ] = "2D" ;
arg0 . WebGL = 1 ;
arg0 [ 1 ] = "WebGL" ;
arg0 . WebGL2 = 2 ;
arg0 [ 2 ] = "WebGL2" ;
return arg0 ;
} ) ( obj ) ;
function callbackWrapper ( arg0 ) {
}
let c21 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/" ;
2026-08-04 21:03:28 +00:00
if ( typeof Uint8Array === "undefined" ) {
2026-07-29 08:29:29 +00:00
let items = [ ] ;
} else {
let _Uint8Array = Uint8Array ;
let uint8Array = new Uint8Array ( 256 ) ;
}