// Module ID: 1669 // Function ID: 18534 // Name: findDescendantWithExitingAnimation // Dependencies: [4294967295] // Module 1669 (findDescendantWithExitingAnimation) function findDescendantWithExitingAnimation(isDummy, appendChild) { let length; if (isDummy instanceof globalThis.HTMLElement) { isDummy = isDummy.isDummy; if (isDummy) { isDummy = undefined === isDummy.removedAfterAnimation; } if (isDummy) { function reattachElementToAncestor(onanimationend, appendChild) { const snapshots = onanimationend(appendChild[4]).snapshots; const value = snapshots.get(onanimationend); if (value) { onanimationend.removedAfterAnimation = true; appendChild.appendChild(onanimationend); onanimationend(appendChild[4]).setElementPosition(onanimationend, value); onanimationend = onanimationend.onanimationend; onanimationend.onanimationend = function(arg0) { arg1.removeChild(arg0); if (null != onanimationend) { const self = this; onanimationend.call(this, arg0); } }; const obj = onanimationend(appendChild[4]); } else { const logger = onanimationend(appendChild[1]).logger; logger.error("Failed to obtain snapshot."); } }(isDummy, appendChild); } const _Array = Array; const arr = Array.from(isDummy.children); let num = 0; if (0 < arr.length) { do { let tmp2 = closure_5; let tmp3 = closure_5(arr[num], appendChild); num = num + 1; length = arr.length; } while (num < length); } } } const map = new Map(); let closure_3 = []; let closure_4 = false; arg5.configureWebLayoutAnimations = function configureWebLayoutAnimations() { if (obj.isWindowAvailable()) { const _document = document; if (null === document.getElementById("ReanimatedPredefinedWebAnimationsStyle")) { const _document2 = document; const element =