@cloudcare/browser-rum 3.1.7 → 3.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/dataflux-rum.js +1 -1
- package/cjs/boot/buildEnv.js +1 -1
- package/cjs/boot/recorderApi.js +21 -9
- package/cjs/boot/recorderApi.js.map +1 -1
- package/cjs/boot/rum.js +2 -2
- package/cjs/boot/rum.js.map +1 -1
- package/cjs/domain/assembly.js +8 -1
- package/cjs/domain/assembly.js.map +1 -1
- package/cjs/domain/configuration.js.map +1 -1
- package/cjs/domain/{domMutationCollection.js → domMutationObservable.js} +5 -6
- package/cjs/domain/domMutationObservable.js.map +1 -0
- package/cjs/domain/initViewportObservable.js +1 -2
- package/cjs/domain/initViewportObservable.js.map +1 -1
- package/cjs/domain/locationChangeObservable.js +12 -13
- package/cjs/domain/locationChangeObservable.js.map +1 -1
- package/cjs/domain/replay/deflate/deflateWorker.js +1 -1
- package/cjs/domain/replay/record/mutationObserver.js +2 -3
- package/cjs/domain/replay/record/mutationObserver.js.map +1 -1
- package/cjs/domain/replay/record/observers.js +0 -1
- package/cjs/domain/replay/record/observers.js.map +1 -1
- package/cjs/domain/replay/record/privacy.js +0 -1
- package/cjs/domain/replay/record/privacy.js.map +1 -1
- package/cjs/domain/replay/record/shadowRootsController.js +3 -0
- package/cjs/domain/replay/record/shadowRootsController.js.map +1 -1
- package/cjs/domain/rumEventsCollection/view/trackScrollMetrics.js +1 -2
- package/cjs/domain/rumEventsCollection/view/trackScrollMetrics.js.map +1 -1
- package/cjs/domain/waitPageActivityEnd.js +1 -2
- package/cjs/domain/waitPageActivityEnd.js.map +1 -1
- package/esm/boot/buildEnv.js +1 -1
- package/esm/boot/recorderApi.js +21 -9
- package/esm/boot/recorderApi.js.map +1 -1
- package/esm/boot/rum.js +1 -1
- package/esm/boot/rum.js.map +1 -1
- package/esm/domain/assembly.js +9 -2
- package/esm/domain/assembly.js.map +1 -1
- package/esm/domain/configuration.js.map +1 -1
- package/esm/domain/{domMutationCollection.js → domMutationObservable.js} +5 -6
- package/esm/domain/domMutationObservable.js.map +1 -0
- package/esm/domain/initViewportObservable.js +1 -2
- package/esm/domain/initViewportObservable.js.map +1 -1
- package/esm/domain/locationChangeObservable.js +12 -13
- package/esm/domain/locationChangeObservable.js.map +1 -1
- package/esm/domain/replay/deflate/deflateWorker.js +1 -1
- package/esm/domain/replay/record/mutationObserver.js +1 -2
- package/esm/domain/replay/record/mutationObserver.js.map +1 -1
- package/esm/domain/replay/record/observers.js +0 -1
- package/esm/domain/replay/record/observers.js.map +1 -1
- package/esm/domain/replay/record/privacy.js +0 -1
- package/esm/domain/replay/record/privacy.js.map +1 -1
- package/esm/domain/replay/record/shadowRootsController.js +3 -0
- package/esm/domain/replay/record/shadowRootsController.js.map +1 -1
- package/esm/domain/rumEventsCollection/view/trackScrollMetrics.js +1 -2
- package/esm/domain/rumEventsCollection/view/trackScrollMetrics.js.map +1 -1
- package/esm/domain/waitPageActivityEnd.js +1 -2
- package/esm/domain/waitPageActivityEnd.js.map +1 -1
- package/package.json +7 -5
- package/src/boot/recorderApi.js +25 -10
- package/src/boot/rum.js +1 -1
- package/src/domain/assembly.js +14 -2
- package/src/domain/configuration.js +1 -0
- package/src/domain/{domMutationCollection.js → domMutationObservable.js} +16 -17
- package/src/domain/initViewportObservable.js +1 -3
- package/src/domain/locationChangeObservable.js +12 -15
- package/src/domain/replay/record/mutationObserver.js +1 -2
- package/src/domain/replay/record/observers.js +0 -1
- package/src/domain/replay/record/privacy.js +0 -1
- package/src/domain/replay/record/shadowRootsController.js +3 -0
- package/src/domain/rumEventsCollection/view/trackScrollMetrics.js +1 -3
- package/src/domain/waitPageActivityEnd.js +1 -3
- package/types/index.d.ts +55 -0
- package/cjs/domain/domMutationCollection.js.map +0 -1
- package/esm/domain/domMutationCollection.js.map +0 -1
|
@@ -8,26 +8,25 @@ import {
|
|
|
8
8
|
export function createDOMMutationObservable() {
|
|
9
9
|
var MutationObserver = getMutationObserverConstructor()
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
11
|
+
return new Observable(function (observable) {
|
|
12
|
+
if (!MutationObserver) {
|
|
13
|
+
return
|
|
14
|
+
}
|
|
15
|
+
var observer = new MutationObserver(
|
|
16
|
+
monitor(function () {
|
|
17
17
|
return observable.notify()
|
|
18
18
|
})
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
return function () {
|
|
26
|
-
return observer.disconnect()
|
|
27
|
-
}
|
|
19
|
+
)
|
|
20
|
+
observer.observe(document, {
|
|
21
|
+
attributes: true,
|
|
22
|
+
characterData: true,
|
|
23
|
+
childList: true,
|
|
24
|
+
subtree: true
|
|
28
25
|
})
|
|
29
|
-
|
|
30
|
-
|
|
26
|
+
return function () {
|
|
27
|
+
return observer.disconnect()
|
|
28
|
+
}
|
|
29
|
+
})
|
|
31
30
|
}
|
|
32
31
|
|
|
33
32
|
export function getMutationObserverConstructor() {
|
|
@@ -15,7 +15,7 @@ export function initViewportObservable() {
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
export function createViewportObservable() {
|
|
18
|
-
|
|
18
|
+
return new Observable(function (observable) {
|
|
19
19
|
var _throttledUpdateDimension = throttle(function () {
|
|
20
20
|
observable.notify(getViewportDimension())
|
|
21
21
|
}, 200)
|
|
@@ -25,8 +25,6 @@ export function createViewportObservable() {
|
|
|
25
25
|
passive: true
|
|
26
26
|
}).stop
|
|
27
27
|
})
|
|
28
|
-
|
|
29
|
-
return observable
|
|
30
28
|
}
|
|
31
29
|
|
|
32
30
|
// excludes the width and height of any rendered classic scrollbar that is fixed to the visual viewport
|
|
@@ -8,28 +8,25 @@ import {
|
|
|
8
8
|
|
|
9
9
|
export function createLocationChangeObservable(location) {
|
|
10
10
|
var currentLocation = shallowClone(location)
|
|
11
|
-
|
|
11
|
+
return new Observable(function (observable) {
|
|
12
12
|
var _trackHistory = trackHistory(onLocationChange)
|
|
13
13
|
var _trackHash = trackHash(onLocationChange)
|
|
14
|
+
function onLocationChange() {
|
|
15
|
+
if (currentLocation.href === location.href) {
|
|
16
|
+
return
|
|
17
|
+
}
|
|
18
|
+
var newLocation = shallowClone(location)
|
|
19
|
+
observable.notify({
|
|
20
|
+
newLocation: newLocation,
|
|
21
|
+
oldLocation: currentLocation
|
|
22
|
+
})
|
|
23
|
+
currentLocation = newLocation
|
|
24
|
+
}
|
|
14
25
|
return function () {
|
|
15
26
|
_trackHistory.stop()
|
|
16
27
|
_trackHash.stop()
|
|
17
28
|
}
|
|
18
29
|
})
|
|
19
|
-
|
|
20
|
-
function onLocationChange() {
|
|
21
|
-
if (currentLocation.href === location.href) {
|
|
22
|
-
return
|
|
23
|
-
}
|
|
24
|
-
var newLocation = shallowClone(location)
|
|
25
|
-
observable.notify({
|
|
26
|
-
newLocation: newLocation,
|
|
27
|
-
oldLocation: currentLocation
|
|
28
|
-
})
|
|
29
|
-
currentLocation = newLocation
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
return observable
|
|
33
30
|
}
|
|
34
31
|
|
|
35
32
|
function trackHistory(onHistoryChange) {
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
isNullUndefinedDefaultValue,
|
|
7
7
|
monitor
|
|
8
8
|
} from '@cloudcare/browser-core'
|
|
9
|
-
import { getMutationObserverConstructor } from '../../
|
|
9
|
+
import { getMutationObserverConstructor } from '../../domMutationObservable'
|
|
10
10
|
import { NodePrivacyLevel } from '../../../constants'
|
|
11
11
|
import { getNodePrivacyLevel, getTextContent } from './privacy'
|
|
12
12
|
import {
|
|
@@ -300,7 +300,6 @@ function processCharacterDataMutations(mutations, configuration) {
|
|
|
300
300
|
|
|
301
301
|
textMutations.push({
|
|
302
302
|
id: getSerializedNodeId(mutation.target),
|
|
303
|
-
// TODO: pass a valid "ignoreWhiteSpace" argument
|
|
304
303
|
value: isNullUndefinedDefaultValue(
|
|
305
304
|
getTextContent(mutation.target, false, parentNodePrivacyLevel, null)
|
|
306
305
|
)
|
|
@@ -374,7 +374,6 @@ export function initInputObserver(cb, defaultPrivacyLevel, target) {
|
|
|
374
374
|
),
|
|
375
375
|
function (el) {
|
|
376
376
|
if (el !== target) {
|
|
377
|
-
// TODO: Consider the privacy implications for various differing input privacy levels
|
|
378
377
|
cbWithDedup(el, { isChecked: false })
|
|
379
378
|
}
|
|
380
379
|
}
|
|
@@ -245,7 +245,6 @@ export function getTextContent(
|
|
|
245
245
|
}
|
|
246
246
|
|
|
247
247
|
/**
|
|
248
|
-
* TODO: Preserve CSS element order, and record the presence of the tag, just don't render
|
|
249
248
|
* We don't need this logic on the recorder side.
|
|
250
249
|
* For security related meta's, customer can mask themmanually given they
|
|
251
250
|
* are easy to identify in the HEAD tag.
|
|
@@ -8,6 +8,9 @@ export var initShadowRootsController = function (configuration, data) {
|
|
|
8
8
|
|
|
9
9
|
var shadowRootsController = {
|
|
10
10
|
addShadowRoot: function (shadowRoot) {
|
|
11
|
+
if (controllerByShadowRoot.has(shadowRoot)) {
|
|
12
|
+
return
|
|
13
|
+
}
|
|
11
14
|
var _startMutaionObserve = startMutationObserver(
|
|
12
15
|
mutationCb,
|
|
13
16
|
configuration,
|
|
@@ -81,7 +81,7 @@ export function createScrollValuesObservable(configuration, throttleDuration) {
|
|
|
81
81
|
if (throttleDuration === undefined) {
|
|
82
82
|
throttleDuration = THROTTLE_SCROLL_DURATION
|
|
83
83
|
}
|
|
84
|
-
|
|
84
|
+
return new Observable(function (observable) {
|
|
85
85
|
function notify() {
|
|
86
86
|
observable.notify(computeScrollValues())
|
|
87
87
|
}
|
|
@@ -113,6 +113,4 @@ export function createScrollValuesObservable(configuration, throttleDuration) {
|
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
115
|
})
|
|
116
|
-
|
|
117
|
-
return observable
|
|
118
116
|
}
|
|
@@ -120,7 +120,7 @@ export function createPageActivityObservable(
|
|
|
120
120
|
domMutationObservable,
|
|
121
121
|
configuration
|
|
122
122
|
) {
|
|
123
|
-
|
|
123
|
+
return new Observable(function (observable) {
|
|
124
124
|
var subscriptions = []
|
|
125
125
|
var firstRequestIndex
|
|
126
126
|
var pendingRequestsCount = 0
|
|
@@ -186,8 +186,6 @@ export function createPageActivityObservable(
|
|
|
186
186
|
observable.notify({ isBusy: pendingRequestsCount > 0 })
|
|
187
187
|
}
|
|
188
188
|
})
|
|
189
|
-
|
|
190
|
-
return observable
|
|
191
189
|
}
|
|
192
190
|
|
|
193
191
|
function isExcludedUrl(configuration, requestUrl) {
|
package/types/index.d.ts
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
RumInitConfiguration,
|
|
3
|
+
InitConfiguration,
|
|
4
|
+
Context,
|
|
5
|
+
User
|
|
6
|
+
} from '@cloudcare/browser-core'
|
|
7
|
+
export interface InternalContext {
|
|
8
|
+
application: {
|
|
9
|
+
id: string
|
|
10
|
+
}
|
|
11
|
+
session: {
|
|
12
|
+
id: string | undefined
|
|
13
|
+
}
|
|
14
|
+
view?: {
|
|
15
|
+
id: string
|
|
16
|
+
url: string
|
|
17
|
+
referrer: string
|
|
18
|
+
name?: string
|
|
19
|
+
host: string
|
|
20
|
+
path: string
|
|
21
|
+
urlQuery: string
|
|
22
|
+
pathGroup: string
|
|
23
|
+
}
|
|
24
|
+
userAction?: {
|
|
25
|
+
id: string
|
|
26
|
+
ids: string[]
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
export declare const datafluxRum: {
|
|
30
|
+
init: (initConfiguration: RumInitConfiguration) => void
|
|
31
|
+
setGlobalContextProperty: (key: any, value: any) => void
|
|
32
|
+
addRumGlobalContext: (key: any, value: any) => void
|
|
33
|
+
removeGlobalContextProperty: (key: any) => void
|
|
34
|
+
removeRumGlobalContext: (key: any) => void
|
|
35
|
+
getGlobalContext: () => Context
|
|
36
|
+
setGlobalContext: (context: any) => void
|
|
37
|
+
clearGlobalContext: () => void
|
|
38
|
+
getInternalContext: (
|
|
39
|
+
startTime?: number | undefined
|
|
40
|
+
) => InternalContext | undefined
|
|
41
|
+
getInitConfiguration: () => InitConfiguration | undefined
|
|
42
|
+
addAction: (name: string, context?: object | undefined) => void
|
|
43
|
+
addError: (error: unknown, context?: object | undefined) => void
|
|
44
|
+
addTiming: (name: string, time?: number | undefined) => void
|
|
45
|
+
setUser: (newUser: User) => void
|
|
46
|
+
getUser: () => Context
|
|
47
|
+
setUserProperty: (key: any, property: any) => void
|
|
48
|
+
removeUserProperty: (key: any) => void
|
|
49
|
+
clearUser: () => void
|
|
50
|
+
stopSession: () => void
|
|
51
|
+
startSessionReplayRecording: () => void
|
|
52
|
+
stopSessionReplayRecording: () => void
|
|
53
|
+
} & {
|
|
54
|
+
onReady(callback: () => void): void
|
|
55
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"domMutationCollection.js","names":["_browserCore","require","createDOMMutationObservable","MutationObserver","getMutationObserverConstructor","observable","Observable","monitor","observer","notify","observe","document","attributes","characterData","childList","subtree","disconnect","constructor","browserWindow","window","Zone","getZoneJsOriginalValue","patchedInstance","noop","originalInstance"],"sources":["../../src/domain/domMutationCollection.js"],"sourcesContent":["import {\n noop,\n Observable,\n getZoneJsOriginalValue,\n monitor\n} from '@cloudcare/browser-core'\n\nexport function createDOMMutationObservable() {\n var MutationObserver = getMutationObserverConstructor()\n\n var observable = new Observable(\n monitor(function () {\n if (!MutationObserver) {\n return\n }\n var observer = new MutationObserver(function () {\n return observable.notify()\n })\n observer.observe(document, {\n attributes: true,\n characterData: true,\n childList: true,\n subtree: true\n })\n return function () {\n return observer.disconnect()\n }\n })\n )\n return observable\n}\n\nexport function getMutationObserverConstructor() {\n var constructor\n var browserWindow = window\n\n // Angular uses Zone.js to provide a context persisting across async tasks. Zone.js replaces the\n // global MutationObserver constructor with a patched version to support the context propagation.\n // There is an ongoing issue[1][2] with this setup when using a MutationObserver within a Angular\n // component: on some occasions, the callback is being called in an infinite loop, causing the\n // page to freeze (even if the callback is completely empty).\n //\n // To work around this issue, we try to get the original MutationObserver constructor stored by\n // Zone.js.\n //\n // [1] https://github.com/angular/angular/issues/26948\n // [2] https://github.com/angular/angular/issues/31712\n if (browserWindow.Zone) {\n // Zone.js 0.8.6+ is storing original class constructors into the browser 'window' object[3].\n //\n // [3] https://github.com/angular/angular/blob/6375fa79875c0fe7b815efc45940a6e6f5c9c9eb/packages/zone.js/lib/common/utils.ts#L288\n constructor = getZoneJsOriginalValue(browserWindow, 'MutationObserver')\n\n if (\n browserWindow.MutationObserver &&\n constructor === browserWindow.MutationObserver\n ) {\n // Anterior Zone.js versions (used in Angular 2) does not expose the original MutationObserver\n // in the 'window' object. Luckily, the patched MutationObserver class is storing an original\n // instance in its properties[4]. Let's get the original MutationObserver constructor from\n // there.\n //\n // [4] https://github.com/angular/zone.js/blob/v0.8.5/lib/common/utils.ts#L412\n\n var patchedInstance = new browserWindow.MutationObserver(noop)\n\n var originalInstance = getZoneJsOriginalValue(\n patchedInstance,\n 'originalInstance'\n )\n constructor = originalInstance && originalInstance.constructor\n }\n }\n\n if (!constructor) {\n constructor = browserWindow.MutationObserver\n }\n\n return constructor\n}\n"],"mappings":";;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAOO,SAASC,2BAA2BA,CAAA,EAAG;EAC5C,IAAIC,gBAAgB,GAAGC,8BAA8B,CAAC,CAAC;EAEvD,IAAIC,UAAU,GAAG,IAAIC,uBAAU,CAC7B,IAAAC,oBAAO,EAAC,YAAY;IAClB,IAAI,CAACJ,gBAAgB,EAAE;MACrB;IACF;IACA,IAAIK,QAAQ,GAAG,IAAIL,gBAAgB,CAAC,YAAY;MAC9C,OAAOE,UAAU,CAACI,MAAM,CAAC,CAAC;IAC5B,CAAC,CAAC;IACFD,QAAQ,CAACE,OAAO,CAACC,QAAQ,EAAE;MACzBC,UAAU,EAAE,IAAI;MAChBC,aAAa,EAAE,IAAI;MACnBC,SAAS,EAAE,IAAI;MACfC,OAAO,EAAE;IACX,CAAC,CAAC;IACF,OAAO,YAAY;MACjB,OAAOP,QAAQ,CAACQ,UAAU,CAAC,CAAC;IAC9B,CAAC;EACH,CAAC,CACH,CAAC;EACD,OAAOX,UAAU;AACnB;AAEO,SAASD,8BAA8BA,CAAA,EAAG;EAC/C,IAAIa,WAAW;EACf,IAAIC,aAAa,GAAGC,MAAM;;EAE1B;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,IAAID,aAAa,CAACE,IAAI,EAAE;IACtB;IACA;IACA;IACAH,WAAW,GAAG,IAAAI,mCAAsB,EAACH,aAAa,EAAE,kBAAkB,CAAC;IAEvE,IACEA,aAAa,CAACf,gBAAgB,IAC9Bc,WAAW,KAAKC,aAAa,CAACf,gBAAgB,EAC9C;MACA;MACA;MACA;MACA;MACA;MACA;;MAEA,IAAImB,eAAe,GAAG,IAAIJ,aAAa,CAACf,gBAAgB,CAACoB,iBAAI,CAAC;MAE9D,IAAIC,gBAAgB,GAAG,IAAAH,mCAAsB,EAC3CC,eAAe,EACf,kBACF,CAAC;MACDL,WAAW,GAAGO,gBAAgB,IAAIA,gBAAgB,CAACP,WAAW;IAChE;EACF;EAEA,IAAI,CAACA,WAAW,EAAE;IAChBA,WAAW,GAAGC,aAAa,CAACf,gBAAgB;EAC9C;EAEA,OAAOc,WAAW;AACpB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"domMutationCollection.js","names":["noop","Observable","getZoneJsOriginalValue","monitor","createDOMMutationObservable","MutationObserver","getMutationObserverConstructor","observable","observer","notify","observe","document","attributes","characterData","childList","subtree","disconnect","constructor","browserWindow","window","Zone","patchedInstance","originalInstance"],"sources":["../../src/domain/domMutationCollection.js"],"sourcesContent":["import {\n noop,\n Observable,\n getZoneJsOriginalValue,\n monitor\n} from '@cloudcare/browser-core'\n\nexport function createDOMMutationObservable() {\n var MutationObserver = getMutationObserverConstructor()\n\n var observable = new Observable(\n monitor(function () {\n if (!MutationObserver) {\n return\n }\n var observer = new MutationObserver(function () {\n return observable.notify()\n })\n observer.observe(document, {\n attributes: true,\n characterData: true,\n childList: true,\n subtree: true\n })\n return function () {\n return observer.disconnect()\n }\n })\n )\n return observable\n}\n\nexport function getMutationObserverConstructor() {\n var constructor\n var browserWindow = window\n\n // Angular uses Zone.js to provide a context persisting across async tasks. Zone.js replaces the\n // global MutationObserver constructor with a patched version to support the context propagation.\n // There is an ongoing issue[1][2] with this setup when using a MutationObserver within a Angular\n // component: on some occasions, the callback is being called in an infinite loop, causing the\n // page to freeze (even if the callback is completely empty).\n //\n // To work around this issue, we try to get the original MutationObserver constructor stored by\n // Zone.js.\n //\n // [1] https://github.com/angular/angular/issues/26948\n // [2] https://github.com/angular/angular/issues/31712\n if (browserWindow.Zone) {\n // Zone.js 0.8.6+ is storing original class constructors into the browser 'window' object[3].\n //\n // [3] https://github.com/angular/angular/blob/6375fa79875c0fe7b815efc45940a6e6f5c9c9eb/packages/zone.js/lib/common/utils.ts#L288\n constructor = getZoneJsOriginalValue(browserWindow, 'MutationObserver')\n\n if (\n browserWindow.MutationObserver &&\n constructor === browserWindow.MutationObserver\n ) {\n // Anterior Zone.js versions (used in Angular 2) does not expose the original MutationObserver\n // in the 'window' object. Luckily, the patched MutationObserver class is storing an original\n // instance in its properties[4]. Let's get the original MutationObserver constructor from\n // there.\n //\n // [4] https://github.com/angular/zone.js/blob/v0.8.5/lib/common/utils.ts#L412\n\n var patchedInstance = new browserWindow.MutationObserver(noop)\n\n var originalInstance = getZoneJsOriginalValue(\n patchedInstance,\n 'originalInstance'\n )\n constructor = originalInstance && originalInstance.constructor\n }\n }\n\n if (!constructor) {\n constructor = browserWindow.MutationObserver\n }\n\n return constructor\n}\n"],"mappings":"AAAA,SACEA,IAAI,EACJC,UAAU,EACVC,sBAAsB,EACtBC,OAAO,QACF,yBAAyB;AAEhC,OAAO,SAASC,2BAA2BA,CAAA,EAAG;EAC5C,IAAIC,gBAAgB,GAAGC,8BAA8B,CAAC,CAAC;EAEvD,IAAIC,UAAU,GAAG,IAAIN,UAAU,CAC7BE,OAAO,CAAC,YAAY;IAClB,IAAI,CAACE,gBAAgB,EAAE;MACrB;IACF;IACA,IAAIG,QAAQ,GAAG,IAAIH,gBAAgB,CAAC,YAAY;MAC9C,OAAOE,UAAU,CAACE,MAAM,CAAC,CAAC;IAC5B,CAAC,CAAC;IACFD,QAAQ,CAACE,OAAO,CAACC,QAAQ,EAAE;MACzBC,UAAU,EAAE,IAAI;MAChBC,aAAa,EAAE,IAAI;MACnBC,SAAS,EAAE,IAAI;MACfC,OAAO,EAAE;IACX,CAAC,CAAC;IACF,OAAO,YAAY;MACjB,OAAOP,QAAQ,CAACQ,UAAU,CAAC,CAAC;IAC9B,CAAC;EACH,CAAC,CACH,CAAC;EACD,OAAOT,UAAU;AACnB;AAEA,OAAO,SAASD,8BAA8BA,CAAA,EAAG;EAC/C,IAAIW,WAAW;EACf,IAAIC,aAAa,GAAGC,MAAM;;EAE1B;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,IAAID,aAAa,CAACE,IAAI,EAAE;IACtB;IACA;IACA;IACAH,WAAW,GAAGf,sBAAsB,CAACgB,aAAa,EAAE,kBAAkB,CAAC;IAEvE,IACEA,aAAa,CAACb,gBAAgB,IAC9BY,WAAW,KAAKC,aAAa,CAACb,gBAAgB,EAC9C;MACA;MACA;MACA;MACA;MACA;MACA;;MAEA,IAAIgB,eAAe,GAAG,IAAIH,aAAa,CAACb,gBAAgB,CAACL,IAAI,CAAC;MAE9D,IAAIsB,gBAAgB,GAAGpB,sBAAsB,CAC3CmB,eAAe,EACf,kBACF,CAAC;MACDJ,WAAW,GAAGK,gBAAgB,IAAIA,gBAAgB,CAACL,WAAW;IAChE;EACF;EAEA,IAAI,CAACA,WAAW,EAAE;IAChBA,WAAW,GAAGC,aAAa,CAACb,gBAAgB;EAC9C;EAEA,OAAOY,WAAW;AACpB"}
|