@hero-design/rn 8.43.0 → 8.43.1
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/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +9 -0
- package/es/index.js +1339 -1324
- package/jest-setup.ts +2 -0
- package/lib/index.js +1339 -1324
- package/package.json +20 -20
- package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +68 -0
- package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +102 -0
- package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +85 -0
- package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +34 -0
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +12 -0
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +108 -0
- package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +17 -0
- package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +36 -0
- package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +36 -0
- package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +51 -1
- package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +34 -0
- package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +128 -0
- package/src/components/Button/__tests__/__snapshots__/IconButton.spec.tsx.snap +17 -0
- package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +80 -0
- package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +85 -0
- package/src/components/Carousel/CardCarousel.tsx +10 -7
- package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +4 -0
- package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +36 -0
- package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +68 -0
- package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +72 -0
- package/src/components/Chip/__tests__/__snapshots__/index.spec.tsx.snap +204 -0
- package/src/components/Collapse/index.tsx +1 -1
- package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +72 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +36 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +12 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +12 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +54 -1
- package/src/components/Drawer/__tests__/__snapshots__/index.spec.tsx.snap +51 -0
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +81 -0
- package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +16 -0
- package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +24 -0
- package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +16 -0
- package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +60 -0
- package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +32 -0
- package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +32 -0
- package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +16 -0
- package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +24 -0
- package/src/components/Rate/__tests__/__snapshots__/index.spec.tsx.snap +180 -0
- package/src/components/RichTextEditor/__tests__/__snapshots__/EditorToolbar.spec.tsx.snap +119 -0
- package/src/components/RichTextEditor/__tests__/__snapshots__/MentionList.spec.tsx.snap +1 -0
- package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +18 -0
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +8 -0
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +124 -0
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +437 -4
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +8 -0
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +124 -0
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +323 -3
- package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +51 -0
- package/src/components/Swipeable/index.tsx +3 -3
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +9 -0
- package/src/components/Switch/__tests__/__snapshots__/index.spec.tsx.snap +8 -0
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +171 -0
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +40 -0
- package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +159 -0
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +24 -0
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +66 -1
- package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +102 -0
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +72 -0
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +96 -0
- package/tsconfig.json +4 -1
- package/types/components/Accordion/AccordionItem.d.ts +2 -1
- package/types/components/Accordion/index.d.ts +1 -1
- package/types/components/Attachment/index.d.ts +2 -1
- package/types/components/Avatar/Avatar.d.ts +2 -1
- package/types/components/Avatar/AvatarStack/index.d.ts +2 -2
- package/types/components/Avatar/index.d.ts +3 -2
- package/types/components/Badge/StyledBadge.d.ts +0 -4
- package/types/components/BottomSheet/Footer.d.ts +2 -1
- package/types/components/BottomSheet/Header.d.ts +2 -1
- package/types/components/BottomSheet/ScrollView.d.ts +1 -0
- package/types/components/BottomSheet/StyledBottomSheet.d.ts +0 -4
- package/types/components/Box/index.d.ts +2 -1
- package/types/components/Button/IconButton.d.ts +2 -1
- package/types/components/Button/LoadingIndicator/index.d.ts +2 -1
- package/types/components/Button/UtilityButton/index.d.ts +2 -1
- package/types/components/Calendar/CalendarRowItem.d.ts +2 -1
- package/types/components/Calendar/StyledCalendar.d.ts +1 -1
- package/types/components/Calendar/index.d.ts +2 -1
- package/types/components/Carousel/CardCarousel.d.ts +1 -1
- package/types/components/Carousel/CarouselItem.d.ts +2 -1
- package/types/components/Carousel/index.d.ts +2 -2
- package/types/components/Checkbox/index.d.ts +2 -1
- package/types/components/Chip/index.d.ts +2 -1
- package/types/components/Collapse/StyledCollapse.d.ts +0 -2
- package/types/components/Collapse/index.d.ts +2 -1
- package/types/components/ContentNavigator/index.d.ts +2 -1
- package/types/components/DatePicker/DatePickerAndroid.d.ts +2 -1
- package/types/components/DatePicker/DatePickerCalendar.d.ts +2 -1
- package/types/components/DatePicker/DatePickerIOS.d.ts +2 -1
- package/types/components/DatePicker/index.d.ts +2 -1
- package/types/components/Divider/index.d.ts +2 -1
- package/types/components/Drawer/StyledDrawer.d.ts +0 -6
- package/types/components/Error/StyledError.d.ts +0 -4
- package/types/components/FAB/ActionGroup/ActionItem.d.ts +2 -1
- package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +0 -4
- package/types/components/FAB/AnimatedFABIcon.d.ts +2 -1
- package/types/components/HeroDesignProvider/index.d.ts +2 -1
- package/types/components/Icon/AnimatedIcon.d.ts +2 -1
- package/types/components/Icon/index.d.ts +2 -1
- package/types/components/Icon/utils.d.ts +1 -1
- package/types/components/Image/index.d.ts +1 -0
- package/types/components/Modal/index.d.ts +2 -2
- package/types/components/PageControl/StyledPageControl.d.ts +0 -2
- package/types/components/PageControl/index.d.ts +2 -1
- package/types/components/PinInput/PinCell.d.ts +2 -1
- package/types/components/Portal/PortalHost.d.ts +1 -1
- package/types/components/Portal/PortalProvider.d.ts +1 -1
- package/types/components/Portal/index.d.ts +2 -2
- package/types/components/Progress/ProgressBar.d.ts +1 -0
- package/types/components/Progress/StyledProgressBar.d.ts +0 -2
- package/types/components/Progress/index.d.ts +1 -0
- package/types/components/Rate/StyledRate.d.ts +0 -2
- package/types/components/Rate/index.d.ts +2 -1
- package/types/components/RefreshControl/index.d.ts +2 -1
- package/types/components/RichTextEditor/EditorToolbar.d.ts +2 -1
- package/types/components/RichTextEditor/MentionList.d.ts +2 -1
- package/types/components/RichTextEditor/index.d.ts +2 -2
- package/types/components/Select/BaseOptionList.d.ts +1 -1
- package/types/components/Select/Footer.d.ts +2 -1
- package/types/components/Select/MultiSelect/Option.d.ts +2 -1
- package/types/components/Select/MultiSelect/OptionList.d.ts +2 -1
- package/types/components/Select/MultiSelect/index.d.ts +1 -1
- package/types/components/Select/SingleSelect/Option.d.ts +2 -1
- package/types/components/Select/SingleSelect/OptionList.d.ts +1 -1
- package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +2 -1
- package/types/components/Select/SingleSelect/index.d.ts +1 -1
- package/types/components/Select/helpers.d.ts +1 -2
- package/types/components/Select/index.d.ts +2 -1
- package/types/components/Skeleton/index.d.ts +2 -1
- package/types/components/Slider/index.d.ts +2 -1
- package/types/components/Spinner/AnimatedSpinner.d.ts +2 -1
- package/types/components/Success/StyledSuccess.d.ts +0 -2
- package/types/components/Swipeable/SwipeableAction.d.ts +2 -2
- package/types/components/Swipeable/index.d.ts +3 -3
- package/types/components/Switch/SelectorSwitch/Option.d.ts +2 -1
- package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +0 -6
- package/types/components/Switch/StyledSwitch.d.ts +0 -2
- package/types/components/Tabs/ActiveTabIndicator.d.ts +2 -1
- package/types/components/Tabs/SceneView.d.ts +1 -1
- package/types/components/Tabs/ScrollableTabs.d.ts +2 -1
- package/types/components/Tabs/ScrollableTabsHeader.d.ts +2 -1
- package/types/components/Tabs/StyledScrollableTabs.d.ts +0 -4
- package/types/components/Tabs/StyledTabs.d.ts +0 -4
- package/types/components/Tabs/TabWithBadge.d.ts +2 -2
- package/types/components/Tabs/index.d.ts +2 -1
- package/types/components/TextInput/StyledTextInput.d.ts +1 -1
- package/types/components/TextInput/index.d.ts +1 -1
- package/types/components/TimePicker/TimePickerAndroid.d.ts +2 -1
- package/types/components/TimePicker/TimePickerIOS.d.ts +2 -1
- package/types/components/TimePicker/index.d.ts +2 -1
- package/types/components/Toast/StyledToast.d.ts +0 -2
- package/types/components/Toast/Toast.d.ts +1 -0
- package/types/components/Toast/ToastProvider.d.ts +2 -1
- package/types/components/Toast/index.d.ts +1 -1
- package/types/components/Toolbar/ToolbarGroup.d.ts +2 -1
- package/types/components/Toolbar/ToolbarItem.d.ts +2 -1
- package/types/components/Toolbar/index.d.ts +3 -2
- package/types/components/Typography/Body/index.d.ts +2 -1
- package/types/components/Typography/Caption/index.d.ts +2 -1
- package/types/components/Typography/Label/index.d.ts +2 -1
- package/types/components/Typography/Text/index.d.ts +2 -1
- package/types/components/Typography/Title/index.d.ts +2 -1
- package/types/testHelpers/renderWithTheme.d.ts +1 -0
- package/types/theme/ThemeSwitcher.d.ts +2 -2
package/lib/index.js
CHANGED
|
@@ -63,6 +63,312 @@ function _objectSpread2(target) {
|
|
|
63
63
|
}
|
|
64
64
|
return target;
|
|
65
65
|
}
|
|
66
|
+
function _regeneratorRuntime() {
|
|
67
|
+
_regeneratorRuntime = function () {
|
|
68
|
+
return exports;
|
|
69
|
+
};
|
|
70
|
+
var exports = {},
|
|
71
|
+
Op = Object.prototype,
|
|
72
|
+
hasOwn = Op.hasOwnProperty,
|
|
73
|
+
defineProperty = Object.defineProperty || function (obj, key, desc) {
|
|
74
|
+
obj[key] = desc.value;
|
|
75
|
+
},
|
|
76
|
+
$Symbol = "function" == typeof Symbol ? Symbol : {},
|
|
77
|
+
iteratorSymbol = $Symbol.iterator || "@@iterator",
|
|
78
|
+
asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
|
|
79
|
+
toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
|
|
80
|
+
function define(obj, key, value) {
|
|
81
|
+
return Object.defineProperty(obj, key, {
|
|
82
|
+
value: value,
|
|
83
|
+
enumerable: !0,
|
|
84
|
+
configurable: !0,
|
|
85
|
+
writable: !0
|
|
86
|
+
}), obj[key];
|
|
87
|
+
}
|
|
88
|
+
try {
|
|
89
|
+
define({}, "");
|
|
90
|
+
} catch (err) {
|
|
91
|
+
define = function (obj, key, value) {
|
|
92
|
+
return obj[key] = value;
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
function wrap(innerFn, outerFn, self, tryLocsList) {
|
|
96
|
+
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
|
|
97
|
+
generator = Object.create(protoGenerator.prototype),
|
|
98
|
+
context = new Context(tryLocsList || []);
|
|
99
|
+
return defineProperty(generator, "_invoke", {
|
|
100
|
+
value: makeInvokeMethod(innerFn, self, context)
|
|
101
|
+
}), generator;
|
|
102
|
+
}
|
|
103
|
+
function tryCatch(fn, obj, arg) {
|
|
104
|
+
try {
|
|
105
|
+
return {
|
|
106
|
+
type: "normal",
|
|
107
|
+
arg: fn.call(obj, arg)
|
|
108
|
+
};
|
|
109
|
+
} catch (err) {
|
|
110
|
+
return {
|
|
111
|
+
type: "throw",
|
|
112
|
+
arg: err
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
exports.wrap = wrap;
|
|
117
|
+
var ContinueSentinel = {};
|
|
118
|
+
function Generator() {}
|
|
119
|
+
function GeneratorFunction() {}
|
|
120
|
+
function GeneratorFunctionPrototype() {}
|
|
121
|
+
var IteratorPrototype = {};
|
|
122
|
+
define(IteratorPrototype, iteratorSymbol, function () {
|
|
123
|
+
return this;
|
|
124
|
+
});
|
|
125
|
+
var getProto = Object.getPrototypeOf,
|
|
126
|
+
NativeIteratorPrototype = getProto && getProto(getProto(values([])));
|
|
127
|
+
NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
|
|
128
|
+
var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
|
|
129
|
+
function defineIteratorMethods(prototype) {
|
|
130
|
+
["next", "throw", "return"].forEach(function (method) {
|
|
131
|
+
define(prototype, method, function (arg) {
|
|
132
|
+
return this._invoke(method, arg);
|
|
133
|
+
});
|
|
134
|
+
});
|
|
135
|
+
}
|
|
136
|
+
function AsyncIterator(generator, PromiseImpl) {
|
|
137
|
+
function invoke(method, arg, resolve, reject) {
|
|
138
|
+
var record = tryCatch(generator[method], generator, arg);
|
|
139
|
+
if ("throw" !== record.type) {
|
|
140
|
+
var result = record.arg,
|
|
141
|
+
value = result.value;
|
|
142
|
+
return value && "object" == typeof value && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
|
|
143
|
+
invoke("next", value, resolve, reject);
|
|
144
|
+
}, function (err) {
|
|
145
|
+
invoke("throw", err, resolve, reject);
|
|
146
|
+
}) : PromiseImpl.resolve(value).then(function (unwrapped) {
|
|
147
|
+
result.value = unwrapped, resolve(result);
|
|
148
|
+
}, function (error) {
|
|
149
|
+
return invoke("throw", error, resolve, reject);
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
reject(record.arg);
|
|
153
|
+
}
|
|
154
|
+
var previousPromise;
|
|
155
|
+
defineProperty(this, "_invoke", {
|
|
156
|
+
value: function (method, arg) {
|
|
157
|
+
function callInvokeWithMethodAndArg() {
|
|
158
|
+
return new PromiseImpl(function (resolve, reject) {
|
|
159
|
+
invoke(method, arg, resolve, reject);
|
|
160
|
+
});
|
|
161
|
+
}
|
|
162
|
+
return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
163
|
+
}
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
function makeInvokeMethod(innerFn, self, context) {
|
|
167
|
+
var state = "suspendedStart";
|
|
168
|
+
return function (method, arg) {
|
|
169
|
+
if ("executing" === state) throw new Error("Generator is already running");
|
|
170
|
+
if ("completed" === state) {
|
|
171
|
+
if ("throw" === method) throw arg;
|
|
172
|
+
return doneResult();
|
|
173
|
+
}
|
|
174
|
+
for (context.method = method, context.arg = arg;;) {
|
|
175
|
+
var delegate = context.delegate;
|
|
176
|
+
if (delegate) {
|
|
177
|
+
var delegateResult = maybeInvokeDelegate(delegate, context);
|
|
178
|
+
if (delegateResult) {
|
|
179
|
+
if (delegateResult === ContinueSentinel) continue;
|
|
180
|
+
return delegateResult;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
|
|
184
|
+
if ("suspendedStart" === state) throw state = "completed", context.arg;
|
|
185
|
+
context.dispatchException(context.arg);
|
|
186
|
+
} else "return" === context.method && context.abrupt("return", context.arg);
|
|
187
|
+
state = "executing";
|
|
188
|
+
var record = tryCatch(innerFn, self, context);
|
|
189
|
+
if ("normal" === record.type) {
|
|
190
|
+
if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
|
|
191
|
+
return {
|
|
192
|
+
value: record.arg,
|
|
193
|
+
done: context.done
|
|
194
|
+
};
|
|
195
|
+
}
|
|
196
|
+
"throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
|
|
197
|
+
}
|
|
198
|
+
};
|
|
199
|
+
}
|
|
200
|
+
function maybeInvokeDelegate(delegate, context) {
|
|
201
|
+
var method = delegate.iterator[context.method];
|
|
202
|
+
if (undefined === method) {
|
|
203
|
+
if (context.delegate = null, "throw" === context.method) {
|
|
204
|
+
if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel;
|
|
205
|
+
context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method");
|
|
206
|
+
}
|
|
207
|
+
return ContinueSentinel;
|
|
208
|
+
}
|
|
209
|
+
var record = tryCatch(method, delegate.iterator, context.arg);
|
|
210
|
+
if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
|
|
211
|
+
var info = record.arg;
|
|
212
|
+
return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel);
|
|
213
|
+
}
|
|
214
|
+
function pushTryEntry(locs) {
|
|
215
|
+
var entry = {
|
|
216
|
+
tryLoc: locs[0]
|
|
217
|
+
};
|
|
218
|
+
1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
|
|
219
|
+
}
|
|
220
|
+
function resetTryEntry(entry) {
|
|
221
|
+
var record = entry.completion || {};
|
|
222
|
+
record.type = "normal", delete record.arg, entry.completion = record;
|
|
223
|
+
}
|
|
224
|
+
function Context(tryLocsList) {
|
|
225
|
+
this.tryEntries = [{
|
|
226
|
+
tryLoc: "root"
|
|
227
|
+
}], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
|
|
228
|
+
}
|
|
229
|
+
function values(iterable) {
|
|
230
|
+
if (iterable) {
|
|
231
|
+
var iteratorMethod = iterable[iteratorSymbol];
|
|
232
|
+
if (iteratorMethod) return iteratorMethod.call(iterable);
|
|
233
|
+
if ("function" == typeof iterable.next) return iterable;
|
|
234
|
+
if (!isNaN(iterable.length)) {
|
|
235
|
+
var i = -1,
|
|
236
|
+
next = function next() {
|
|
237
|
+
for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
|
|
238
|
+
return next.value = undefined, next.done = !0, next;
|
|
239
|
+
};
|
|
240
|
+
return next.next = next;
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
return {
|
|
244
|
+
next: doneResult
|
|
245
|
+
};
|
|
246
|
+
}
|
|
247
|
+
function doneResult() {
|
|
248
|
+
return {
|
|
249
|
+
value: undefined,
|
|
250
|
+
done: !0
|
|
251
|
+
};
|
|
252
|
+
}
|
|
253
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
|
|
254
|
+
value: GeneratorFunctionPrototype,
|
|
255
|
+
configurable: !0
|
|
256
|
+
}), defineProperty(GeneratorFunctionPrototype, "constructor", {
|
|
257
|
+
value: GeneratorFunction,
|
|
258
|
+
configurable: !0
|
|
259
|
+
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
|
|
260
|
+
var ctor = "function" == typeof genFun && genFun.constructor;
|
|
261
|
+
return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
|
|
262
|
+
}, exports.mark = function (genFun) {
|
|
263
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
|
|
264
|
+
}, exports.awrap = function (arg) {
|
|
265
|
+
return {
|
|
266
|
+
__await: arg
|
|
267
|
+
};
|
|
268
|
+
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
|
|
269
|
+
return this;
|
|
270
|
+
}), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
|
|
271
|
+
void 0 === PromiseImpl && (PromiseImpl = Promise);
|
|
272
|
+
var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
|
|
273
|
+
return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
|
|
274
|
+
return result.done ? result.value : iter.next();
|
|
275
|
+
});
|
|
276
|
+
}, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
|
|
277
|
+
return this;
|
|
278
|
+
}), define(Gp, "toString", function () {
|
|
279
|
+
return "[object Generator]";
|
|
280
|
+
}), exports.keys = function (val) {
|
|
281
|
+
var object = Object(val),
|
|
282
|
+
keys = [];
|
|
283
|
+
for (var key in object) keys.push(key);
|
|
284
|
+
return keys.reverse(), function next() {
|
|
285
|
+
for (; keys.length;) {
|
|
286
|
+
var key = keys.pop();
|
|
287
|
+
if (key in object) return next.value = key, next.done = !1, next;
|
|
288
|
+
}
|
|
289
|
+
return next.done = !0, next;
|
|
290
|
+
};
|
|
291
|
+
}, exports.values = values, Context.prototype = {
|
|
292
|
+
constructor: Context,
|
|
293
|
+
reset: function (skipTempReset) {
|
|
294
|
+
if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
|
|
295
|
+
},
|
|
296
|
+
stop: function () {
|
|
297
|
+
this.done = !0;
|
|
298
|
+
var rootRecord = this.tryEntries[0].completion;
|
|
299
|
+
if ("throw" === rootRecord.type) throw rootRecord.arg;
|
|
300
|
+
return this.rval;
|
|
301
|
+
},
|
|
302
|
+
dispatchException: function (exception) {
|
|
303
|
+
if (this.done) throw exception;
|
|
304
|
+
var context = this;
|
|
305
|
+
function handle(loc, caught) {
|
|
306
|
+
return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
|
|
307
|
+
}
|
|
308
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
309
|
+
var entry = this.tryEntries[i],
|
|
310
|
+
record = entry.completion;
|
|
311
|
+
if ("root" === entry.tryLoc) return handle("end");
|
|
312
|
+
if (entry.tryLoc <= this.prev) {
|
|
313
|
+
var hasCatch = hasOwn.call(entry, "catchLoc"),
|
|
314
|
+
hasFinally = hasOwn.call(entry, "finallyLoc");
|
|
315
|
+
if (hasCatch && hasFinally) {
|
|
316
|
+
if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
|
|
317
|
+
if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
|
|
318
|
+
} else if (hasCatch) {
|
|
319
|
+
if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
|
|
320
|
+
} else {
|
|
321
|
+
if (!hasFinally) throw new Error("try statement without catch or finally");
|
|
322
|
+
if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
abrupt: function (type, arg) {
|
|
328
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
329
|
+
var entry = this.tryEntries[i];
|
|
330
|
+
if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
|
|
331
|
+
var finallyEntry = entry;
|
|
332
|
+
break;
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
|
|
336
|
+
var record = finallyEntry ? finallyEntry.completion : {};
|
|
337
|
+
return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
|
|
338
|
+
},
|
|
339
|
+
complete: function (record, afterLoc) {
|
|
340
|
+
if ("throw" === record.type) throw record.arg;
|
|
341
|
+
return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;
|
|
342
|
+
},
|
|
343
|
+
finish: function (finallyLoc) {
|
|
344
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
345
|
+
var entry = this.tryEntries[i];
|
|
346
|
+
if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
|
|
347
|
+
}
|
|
348
|
+
},
|
|
349
|
+
catch: function (tryLoc) {
|
|
350
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
351
|
+
var entry = this.tryEntries[i];
|
|
352
|
+
if (entry.tryLoc === tryLoc) {
|
|
353
|
+
var record = entry.completion;
|
|
354
|
+
if ("throw" === record.type) {
|
|
355
|
+
var thrown = record.arg;
|
|
356
|
+
resetTryEntry(entry);
|
|
357
|
+
}
|
|
358
|
+
return thrown;
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
throw new Error("illegal catch attempt");
|
|
362
|
+
},
|
|
363
|
+
delegateYield: function (iterable, resultName, nextLoc) {
|
|
364
|
+
return this.delegate = {
|
|
365
|
+
iterator: values(iterable),
|
|
366
|
+
resultName: resultName,
|
|
367
|
+
nextLoc: nextLoc
|
|
368
|
+
}, "next" === this.method && (this.arg = undefined), ContinueSentinel;
|
|
369
|
+
}
|
|
370
|
+
}, exports;
|
|
371
|
+
}
|
|
66
372
|
function _typeof(obj) {
|
|
67
373
|
"@babel/helpers - typeof";
|
|
68
374
|
|
|
@@ -121,6 +427,9 @@ function _extends$1() {
|
|
|
121
427
|
};
|
|
122
428
|
return _extends$1.apply(this, arguments);
|
|
123
429
|
}
|
|
430
|
+
function _objectDestructuringEmpty(obj) {
|
|
431
|
+
if (obj == null) throw new TypeError("Cannot destructure " + obj);
|
|
432
|
+
}
|
|
124
433
|
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
125
434
|
if (source == null) return {};
|
|
126
435
|
var target = {};
|
|
@@ -3821,9 +4130,7 @@ function delimit(type) {
|
|
|
3821
4130
|
* @return {string}
|
|
3822
4131
|
*/
|
|
3823
4132
|
function whitespace(type) {
|
|
3824
|
-
while (character = peek())
|
|
3825
|
-
if (character < 33) next();else break;
|
|
3826
|
-
}
|
|
4133
|
+
while (character = peek()) if (character < 33) next();else break;
|
|
3827
4134
|
return token(type) > 2 || token(character) > 3 ? '' : ' ';
|
|
3828
4135
|
}
|
|
3829
4136
|
|
|
@@ -3833,10 +4140,9 @@ function whitespace(type) {
|
|
|
3833
4140
|
* @return {string}
|
|
3834
4141
|
*/
|
|
3835
4142
|
function escaping(index, count) {
|
|
3836
|
-
while (--count && next())
|
|
3837
|
-
|
|
3838
|
-
|
|
3839
|
-
}
|
|
4143
|
+
while (--count && next())
|
|
4144
|
+
// not 0-9 A-F a-f
|
|
4145
|
+
if (character < 48 || character > 102 || character > 57 && character < 65 || character > 70 && character < 97) break;
|
|
3840
4146
|
return slice(index, caret() + (count < 6 && peek() == 32 && next() == 32));
|
|
3841
4147
|
}
|
|
3842
4148
|
|
|
@@ -3845,25 +4151,23 @@ function escaping(index, count) {
|
|
|
3845
4151
|
* @return {number}
|
|
3846
4152
|
*/
|
|
3847
4153
|
function delimiter(type) {
|
|
3848
|
-
while (next()) {
|
|
3849
|
-
|
|
3850
|
-
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
-
|
|
3862
|
-
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
break;
|
|
3866
|
-
}
|
|
4154
|
+
while (next()) switch (character) {
|
|
4155
|
+
// ] ) " '
|
|
4156
|
+
case type:
|
|
4157
|
+
return position;
|
|
4158
|
+
// " '
|
|
4159
|
+
case 34:
|
|
4160
|
+
case 39:
|
|
4161
|
+
if (type !== 34 && type !== 39) delimiter(character);
|
|
4162
|
+
break;
|
|
4163
|
+
// (
|
|
4164
|
+
case 40:
|
|
4165
|
+
if (type === 41) delimiter(type);
|
|
4166
|
+
break;
|
|
4167
|
+
// \
|
|
4168
|
+
case 92:
|
|
4169
|
+
next();
|
|
4170
|
+
break;
|
|
3867
4171
|
}
|
|
3868
4172
|
return position;
|
|
3869
4173
|
}
|
|
@@ -3874,12 +4178,11 @@ function delimiter(type) {
|
|
|
3874
4178
|
* @return {number}
|
|
3875
4179
|
*/
|
|
3876
4180
|
function commenter(type, index) {
|
|
3877
|
-
while (next())
|
|
3878
|
-
|
|
3879
|
-
|
|
3880
|
-
|
|
3881
|
-
|
|
3882
|
-
}
|
|
4181
|
+
while (next())
|
|
4182
|
+
// //
|
|
4183
|
+
if (type + character === 47 + 10) break;
|
|
4184
|
+
// /*
|
|
4185
|
+
else if (type + character === 42 + 42 && peek() === 47) break;
|
|
3883
4186
|
return '/*' + slice(index, position - 1) + '*' + from(type === 47 ? type : next());
|
|
3884
4187
|
}
|
|
3885
4188
|
|
|
@@ -3888,9 +4191,7 @@ function commenter(type, index) {
|
|
|
3888
4191
|
* @return {string}
|
|
3889
4192
|
*/
|
|
3890
4193
|
function identifier(index) {
|
|
3891
|
-
while (!token(peek()))
|
|
3892
|
-
next();
|
|
3893
|
-
}
|
|
4194
|
+
while (!token(peek())) next();
|
|
3894
4195
|
return slice(index, position);
|
|
3895
4196
|
}
|
|
3896
4197
|
|
|
@@ -3930,102 +4231,100 @@ function parse$2(value, root, parent, rule, rules, rulesets, pseudo, points, dec
|
|
|
3930
4231
|
var children = rulesets;
|
|
3931
4232
|
var reference = rule;
|
|
3932
4233
|
var characters = type;
|
|
3933
|
-
while (scanning) {
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
if (
|
|
3938
|
-
if (indexof(characters += replace(delimit(character), '&', '&\f'), '&\f') != -1) ampersand = -1;
|
|
3939
|
-
break;
|
|
3940
|
-
}
|
|
3941
|
-
// " ' [
|
|
3942
|
-
case 34:
|
|
3943
|
-
case 39:
|
|
3944
|
-
case 91:
|
|
3945
|
-
characters += delimit(character);
|
|
3946
|
-
break;
|
|
3947
|
-
// \t \n \r \s
|
|
3948
|
-
case 9:
|
|
3949
|
-
case 10:
|
|
3950
|
-
case 13:
|
|
3951
|
-
case 32:
|
|
3952
|
-
characters += whitespace(previous);
|
|
3953
|
-
break;
|
|
3954
|
-
// \
|
|
3955
|
-
case 92:
|
|
3956
|
-
characters += escaping(caret() - 1, 7);
|
|
3957
|
-
continue;
|
|
3958
|
-
// /
|
|
3959
|
-
case 47:
|
|
3960
|
-
switch (peek()) {
|
|
3961
|
-
case 42:
|
|
3962
|
-
case 47:
|
|
3963
|
-
append(comment(commenter(next(), caret()), root, parent), declarations);
|
|
3964
|
-
break;
|
|
3965
|
-
default:
|
|
3966
|
-
characters += '/';
|
|
3967
|
-
}
|
|
3968
|
-
break;
|
|
3969
|
-
// {
|
|
3970
|
-
case 123 * variable:
|
|
3971
|
-
points[index++] = strlen(characters) * ampersand;
|
|
3972
|
-
// } ; \0
|
|
3973
|
-
case 125 * variable:
|
|
3974
|
-
case 59:
|
|
3975
|
-
case 0:
|
|
3976
|
-
switch (character) {
|
|
3977
|
-
// \0 }
|
|
3978
|
-
case 0:
|
|
3979
|
-
case 125:
|
|
3980
|
-
scanning = 0;
|
|
3981
|
-
// ;
|
|
3982
|
-
case 59 + offset:
|
|
3983
|
-
if (property > 0 && strlen(characters) - length) append(property > 32 ? declaration(characters + ';', rule, parent, length - 1) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2), declarations);
|
|
3984
|
-
break;
|
|
3985
|
-
// @ ;
|
|
3986
|
-
case 59:
|
|
3987
|
-
characters += ';';
|
|
3988
|
-
// { rule/at-rule
|
|
3989
|
-
default:
|
|
3990
|
-
append(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length), rulesets);
|
|
3991
|
-
if (character === 123) if (offset === 0) parse$2(characters, root, reference, reference, props, rulesets, length, points, children);else switch (atrule) {
|
|
3992
|
-
// d m s
|
|
3993
|
-
case 100:
|
|
3994
|
-
case 109:
|
|
3995
|
-
case 115:
|
|
3996
|
-
parse$2(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length), children), rules, children, length, points, rule ? props : children);
|
|
3997
|
-
break;
|
|
3998
|
-
default:
|
|
3999
|
-
parse$2(characters, reference, reference, reference, [''], children, 0, points, children);
|
|
4000
|
-
}
|
|
4001
|
-
}
|
|
4002
|
-
index = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo;
|
|
4234
|
+
while (scanning) switch (previous = character, character = next()) {
|
|
4235
|
+
// (
|
|
4236
|
+
case 40:
|
|
4237
|
+
if (previous != 108 && characters.charCodeAt(length - 1) == 58) {
|
|
4238
|
+
if (indexof(characters += replace(delimit(character), '&', '&\f'), '&\f') != -1) ampersand = -1;
|
|
4003
4239
|
break;
|
|
4004
|
-
|
|
4005
|
-
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
|
|
4010
|
-
|
|
4011
|
-
|
|
4012
|
-
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
|
|
4018
|
-
|
|
4019
|
-
|
|
4020
|
-
|
|
4021
|
-
|
|
4022
|
-
|
|
4023
|
-
|
|
4240
|
+
}
|
|
4241
|
+
// " ' [
|
|
4242
|
+
case 34:
|
|
4243
|
+
case 39:
|
|
4244
|
+
case 91:
|
|
4245
|
+
characters += delimit(character);
|
|
4246
|
+
break;
|
|
4247
|
+
// \t \n \r \s
|
|
4248
|
+
case 9:
|
|
4249
|
+
case 10:
|
|
4250
|
+
case 13:
|
|
4251
|
+
case 32:
|
|
4252
|
+
characters += whitespace(previous);
|
|
4253
|
+
break;
|
|
4254
|
+
// \
|
|
4255
|
+
case 92:
|
|
4256
|
+
characters += escaping(caret() - 1, 7);
|
|
4257
|
+
continue;
|
|
4258
|
+
// /
|
|
4259
|
+
case 47:
|
|
4260
|
+
switch (peek()) {
|
|
4261
|
+
case 42:
|
|
4262
|
+
case 47:
|
|
4263
|
+
append(comment(commenter(next(), caret()), root, parent), declarations);
|
|
4264
|
+
break;
|
|
4265
|
+
default:
|
|
4266
|
+
characters += '/';
|
|
4267
|
+
}
|
|
4268
|
+
break;
|
|
4269
|
+
// {
|
|
4270
|
+
case 123 * variable:
|
|
4271
|
+
points[index++] = strlen(characters) * ampersand;
|
|
4272
|
+
// } ; \0
|
|
4273
|
+
case 125 * variable:
|
|
4274
|
+
case 59:
|
|
4275
|
+
case 0:
|
|
4276
|
+
switch (character) {
|
|
4277
|
+
// \0 }
|
|
4278
|
+
case 0:
|
|
4279
|
+
case 125:
|
|
4280
|
+
scanning = 0;
|
|
4281
|
+
// ;
|
|
4282
|
+
case 59 + offset:
|
|
4283
|
+
if (property > 0 && strlen(characters) - length) append(property > 32 ? declaration(characters + ';', rule, parent, length - 1) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2), declarations);
|
|
4284
|
+
break;
|
|
4285
|
+
// @ ;
|
|
4286
|
+
case 59:
|
|
4287
|
+
characters += ';';
|
|
4288
|
+
// { rule/at-rule
|
|
4289
|
+
default:
|
|
4290
|
+
append(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length), rulesets);
|
|
4291
|
+
if (character === 123) if (offset === 0) parse$2(characters, root, reference, reference, props, rulesets, length, points, children);else switch (atrule) {
|
|
4292
|
+
// d m s
|
|
4293
|
+
case 100:
|
|
4294
|
+
case 109:
|
|
4295
|
+
case 115:
|
|
4296
|
+
parse$2(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length), children), rules, children, length, points, rule ? props : children);
|
|
4297
|
+
break;
|
|
4298
|
+
default:
|
|
4299
|
+
parse$2(characters, reference, reference, reference, [''], children, 0, points, children);
|
|
4300
|
+
}
|
|
4301
|
+
}
|
|
4302
|
+
index = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo;
|
|
4303
|
+
break;
|
|
4304
|
+
// :
|
|
4305
|
+
case 58:
|
|
4306
|
+
length = 1 + strlen(characters), property = previous;
|
|
4307
|
+
default:
|
|
4308
|
+
if (variable < 1) if (character == 123) --variable;else if (character == 125 && variable++ == 0 && prev() == 125) continue;
|
|
4309
|
+
switch (characters += from(character), character * variable) {
|
|
4310
|
+
// &
|
|
4311
|
+
case 38:
|
|
4312
|
+
ampersand = offset > 0 ? 1 : (characters += '\f', -1);
|
|
4313
|
+
break;
|
|
4314
|
+
// ,
|
|
4315
|
+
case 44:
|
|
4316
|
+
points[index++] = (strlen(characters) - 1) * ampersand, ampersand = 1;
|
|
4317
|
+
break;
|
|
4318
|
+
// @
|
|
4319
|
+
case 64:
|
|
4024
4320
|
// -
|
|
4025
|
-
|
|
4026
|
-
|
|
4027
|
-
|
|
4028
|
-
|
|
4321
|
+
if (peek() === 45) characters += delimit(next());
|
|
4322
|
+
atrule = peek(), offset = length = strlen(type = characters += identifier(caret())), character++;
|
|
4323
|
+
break;
|
|
4324
|
+
// -
|
|
4325
|
+
case 45:
|
|
4326
|
+
if (previous === 45 && strlen(characters) == 2) variable = 0;
|
|
4327
|
+
}
|
|
4029
4328
|
}
|
|
4030
4329
|
return rulesets;
|
|
4031
4330
|
}
|
|
@@ -4048,11 +4347,7 @@ function ruleset(value, root, parent, index, offset, rules, points, type, props,
|
|
|
4048
4347
|
var post = offset - 1;
|
|
4049
4348
|
var rule = offset === 0 ? rules : [''];
|
|
4050
4349
|
var size = sizeof(rule);
|
|
4051
|
-
for (var i = 0, j = 0, k = 0; i < index; ++i)
|
|
4052
|
-
for (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x) {
|
|
4053
|
-
if (z = trim(j > 0 ? rule[x] + ' ' + y : replace(y, /&\f/g, rule[x]))) props[k++] = z;
|
|
4054
|
-
}
|
|
4055
|
-
}
|
|
4350
|
+
for (var i = 0, j = 0, k = 0; i < index; ++i) for (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x) if (z = trim(j > 0 ? rule[x] + ' ' + y : replace(y, /&\f/g, rule[x]))) props[k++] = z;
|
|
4056
4351
|
return node$1(value, root, parent, offset === 0 ? RULESET : type, props, children, length);
|
|
4057
4352
|
}
|
|
4058
4353
|
|
|
@@ -4236,9 +4531,7 @@ function prefix(value, length) {
|
|
|
4236
4531
|
function serialize(children, callback) {
|
|
4237
4532
|
var output = '';
|
|
4238
4533
|
var length = sizeof(children);
|
|
4239
|
-
for (var i = 0; i < length; i++)
|
|
4240
|
-
output += callback(children[i], i, children, callback) || '';
|
|
4241
|
-
}
|
|
4534
|
+
for (var i = 0; i < length; i++) output += callback(children[i], i, children, callback) || '';
|
|
4242
4535
|
return output;
|
|
4243
4536
|
}
|
|
4244
4537
|
|
|
@@ -4272,9 +4565,7 @@ function middleware(collection) {
|
|
|
4272
4565
|
var length = sizeof(collection);
|
|
4273
4566
|
return function (element, index, children, callback) {
|
|
4274
4567
|
var output = '';
|
|
4275
|
-
for (var i = 0; i < length; i++)
|
|
4276
|
-
output += collection[i](element, index, children, callback) || '';
|
|
4277
|
-
}
|
|
4568
|
+
for (var i = 0; i < length; i++) output += collection[i](element, index, children, callback) || '';
|
|
4278
4569
|
return output;
|
|
4279
4570
|
};
|
|
4280
4571
|
}
|
|
@@ -6371,7 +6662,7 @@ var Collapse = function Collapse(_ref) {
|
|
|
6371
6662
|
}, []);
|
|
6372
6663
|
var onCollapseLayout = React.useCallback(function (e) {
|
|
6373
6664
|
setComponentMounted(true);
|
|
6374
|
-
onLayout === null || onLayout === void 0
|
|
6665
|
+
onLayout === null || onLayout === void 0 || onLayout(e);
|
|
6375
6666
|
}, []);
|
|
6376
6667
|
return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$d, {
|
|
6377
6668
|
style: {
|
|
@@ -8530,17 +8821,17 @@ var BottomSheetScrollView = function BottomSheetScrollView(_ref) {
|
|
|
8530
8821
|
var onScrollBeginDrag = React.useCallback(function (e) {
|
|
8531
8822
|
var _props$onScrollBeginD;
|
|
8532
8823
|
setInternalShowDivider(true);
|
|
8533
|
-
props === null || props === void 0
|
|
8824
|
+
props === null || props === void 0 || (_props$onScrollBeginD = props.onScrollBeginDrag) === null || _props$onScrollBeginD === void 0 || _props$onScrollBeginD.call(props, e);
|
|
8534
8825
|
}, []);
|
|
8535
8826
|
var onMomentumScrollBegin = React.useCallback(function (e) {
|
|
8536
8827
|
var _props$onMomentumScro;
|
|
8537
8828
|
setInternalShowDivider(true);
|
|
8538
|
-
props === null || props === void 0
|
|
8829
|
+
props === null || props === void 0 || (_props$onMomentumScro = props.onMomentumScrollEnd) === null || _props$onMomentumScro === void 0 || _props$onMomentumScro.call(props, e);
|
|
8539
8830
|
}, []);
|
|
8540
8831
|
var onMomentumScrollEnd = React.useCallback(function (e) {
|
|
8541
8832
|
var _props$onMomentumScro2;
|
|
8542
8833
|
setInternalShowDivider(false);
|
|
8543
|
-
props === null || props === void 0
|
|
8834
|
+
props === null || props === void 0 || (_props$onMomentumScro2 = props.onMomentumScrollEnd) === null || _props$onMomentumScro2 === void 0 || _props$onMomentumScro2.call(props, e);
|
|
8544
8835
|
}, []);
|
|
8545
8836
|
return /*#__PURE__*/React__default["default"].createElement(reactNative.ScrollView, _extends$1({}, props, {
|
|
8546
8837
|
onScrollBeginDrag: onScrollBeginDrag,
|
|
@@ -8593,7 +8884,7 @@ var BottomSheet = function BottomSheet(_ref) {
|
|
|
8593
8884
|
var endValueOfTransition = open ? 1 : 0;
|
|
8594
8885
|
if (endValueOfTransition === 0 && value === endValueOfTransition) {
|
|
8595
8886
|
setVisibility(false);
|
|
8596
|
-
onDismiss === null || onDismiss === void 0
|
|
8887
|
+
onDismiss === null || onDismiss === void 0 || onDismiss();
|
|
8597
8888
|
}
|
|
8598
8889
|
});
|
|
8599
8890
|
return function () {
|
|
@@ -11414,7 +11705,7 @@ var Calendar = function Calendar(_ref) {
|
|
|
11414
11705
|
value: !useMonthPicker ? formatTime('MMMM yyyy', visibleDate) : /*#__PURE__*/React__default["default"].createElement(reactNative.TouchableOpacity, {
|
|
11415
11706
|
testID: "calendar-month-picker",
|
|
11416
11707
|
onPress: function onPress() {
|
|
11417
|
-
onToggleMonthPicker === null || onToggleMonthPicker === void 0
|
|
11708
|
+
onToggleMonthPicker === null || onToggleMonthPicker === void 0 || onToggleMonthPicker(!monthPickerVisible);
|
|
11418
11709
|
setMonthPickerVisible(!monthPickerVisible);
|
|
11419
11710
|
}
|
|
11420
11711
|
}, /*#__PURE__*/React__default["default"].createElement(Box, {
|
|
@@ -11509,7 +11800,7 @@ var Calendar = function Calendar(_ref) {
|
|
|
11509
11800
|
maximumDate: maxDate,
|
|
11510
11801
|
onChange: function onChange(action, date) {
|
|
11511
11802
|
setMonthPickerVisible(false);
|
|
11512
|
-
onToggleMonthPicker === null || onToggleMonthPicker === void 0
|
|
11803
|
+
onToggleMonthPicker === null || onToggleMonthPicker === void 0 || onToggleMonthPicker(false);
|
|
11513
11804
|
if (action === 'dateSetAction' && !!date) {
|
|
11514
11805
|
onMonthChange(date);
|
|
11515
11806
|
}
|
|
@@ -11702,16 +11993,6 @@ var CarouselItem = function CarouselItem(_ref) {
|
|
|
11702
11993
|
}, heading), body ? /*#__PURE__*/React__default["default"].createElement(Typography.Body, null, body) : null));
|
|
11703
11994
|
};
|
|
11704
11995
|
|
|
11705
|
-
/*
|
|
11706
|
-
* Carousel item width.
|
|
11707
|
-
* the percentage of the Card Carousel width
|
|
11708
|
-
*/
|
|
11709
|
-
var ITEM_WIDTH_RATE = 0.85;
|
|
11710
|
-
/*
|
|
11711
|
-
* view position when scroll to Index
|
|
11712
|
-
*/
|
|
11713
|
-
var VIEW_POSITION_CENTER = 0.5;
|
|
11714
|
-
|
|
11715
11996
|
var StyledDataCard = index$a(reactNative.View)(function (_ref) {
|
|
11716
11997
|
var theme = _ref.theme;
|
|
11717
11998
|
return {
|
|
@@ -11801,6 +12082,16 @@ var StyledItemWrapper = index$a(reactNative.View)(function (_ref4) {
|
|
|
11801
12082
|
};
|
|
11802
12083
|
});
|
|
11803
12084
|
|
|
12085
|
+
/*
|
|
12086
|
+
* Carousel item width.
|
|
12087
|
+
* the percentage of the Card Carousel width
|
|
12088
|
+
*/
|
|
12089
|
+
var ITEM_WIDTH_RATE = 0.85;
|
|
12090
|
+
/*
|
|
12091
|
+
* view position when scroll to Index
|
|
12092
|
+
*/
|
|
12093
|
+
var VIEW_POSITION_CENTER = 0.5;
|
|
12094
|
+
|
|
11804
12095
|
var CardCarousel = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11805
12096
|
var onItemIndexChange = _ref.onItemIndexChange,
|
|
11806
12097
|
items = _ref.items,
|
|
@@ -11835,7 +12126,7 @@ var CardCarousel = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
11835
12126
|
} else {
|
|
11836
12127
|
validIndex = index;
|
|
11837
12128
|
}
|
|
11838
|
-
(_carouselRef$current = carouselRef.current) === null || _carouselRef$current === void 0
|
|
12129
|
+
(_carouselRef$current = carouselRef.current) === null || _carouselRef$current === void 0 || _carouselRef$current.scrollToIndex({
|
|
11839
12130
|
index: validIndex,
|
|
11840
12131
|
animated: true,
|
|
11841
12132
|
viewPosition: viewPosition
|
|
@@ -11850,7 +12141,7 @@ var CardCarousel = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
11850
12141
|
if (nextIndex >= items.length) {
|
|
11851
12142
|
nextIndex = 0;
|
|
11852
12143
|
}
|
|
11853
|
-
(_carouselRef$current2 = carouselRef.current) === null || _carouselRef$current2 === void 0
|
|
12144
|
+
(_carouselRef$current2 = carouselRef.current) === null || _carouselRef$current2 === void 0 || _carouselRef$current2.scrollToIndex({
|
|
11854
12145
|
index: nextIndex,
|
|
11855
12146
|
animated: true,
|
|
11856
12147
|
viewPosition: viewPosition
|
|
@@ -11882,9 +12173,9 @@ var CardCarousel = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
11882
12173
|
var viewableItems = _ref2.viewableItems;
|
|
11883
12174
|
if (!viewableItems || viewableItems && !viewableItems.length) return;
|
|
11884
12175
|
var index = viewableItems[0].index;
|
|
11885
|
-
setCurrentIndex(index);
|
|
12176
|
+
setCurrentIndex(index || 0);
|
|
11886
12177
|
if (onItemIndexChange) {
|
|
11887
|
-
onItemIndexChange(index);
|
|
12178
|
+
onItemIndexChange(index || 0);
|
|
11888
12179
|
}
|
|
11889
12180
|
}, [onItemIndexChange]);
|
|
11890
12181
|
var getItemLayout = React.useCallback(function (_, index) {
|
|
@@ -11897,7 +12188,7 @@ var CardCarousel = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
11897
12188
|
var flatListOnLayout = React.useCallback(function (e) {
|
|
11898
12189
|
setFlatListWidth(e.nativeEvent.layout.width);
|
|
11899
12190
|
setTimeout(function () {
|
|
11900
|
-
onLayout === null || onLayout === void 0
|
|
12191
|
+
onLayout === null || onLayout === void 0 || onLayout(e);
|
|
11901
12192
|
});
|
|
11902
12193
|
}, [setFlatListWidth, onLayout]);
|
|
11903
12194
|
var renderItem = React.useCallback(function (_ref3) {
|
|
@@ -12012,7 +12303,7 @@ var Carousel = function Carousel(_ref) {
|
|
|
12012
12303
|
var handle = setTimeout(function () {
|
|
12013
12304
|
var _carouselRef$current;
|
|
12014
12305
|
scrollX.setValue(currentSlideIndex * width);
|
|
12015
|
-
(_carouselRef$current = carouselRef.current) === null || _carouselRef$current === void 0
|
|
12306
|
+
(_carouselRef$current = carouselRef.current) === null || _carouselRef$current === void 0 || _carouselRef$current.scrollToOffset({
|
|
12016
12307
|
offset: currentSlideIndex * width,
|
|
12017
12308
|
animated: true
|
|
12018
12309
|
});
|
|
@@ -12541,7 +12832,7 @@ var TextInput = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
|
|
|
12541
12832
|
},
|
|
12542
12833
|
focus: function focus() {
|
|
12543
12834
|
var _innerTextInput$curre;
|
|
12544
|
-
(_innerTextInput$curre = innerTextInput.current) === null || _innerTextInput$curre === void 0
|
|
12835
|
+
(_innerTextInput$curre = innerTextInput.current) === null || _innerTextInput$curre === void 0 || _innerTextInput$curre.focus();
|
|
12545
12836
|
},
|
|
12546
12837
|
clear: function clear() {
|
|
12547
12838
|
var _innerTextInput$curre2;
|
|
@@ -12608,19 +12899,19 @@ var TextInput = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
|
|
|
12608
12899
|
onFocus: function onFocus(event) {
|
|
12609
12900
|
var _nativeProps$onFocus;
|
|
12610
12901
|
setIsFocused(true);
|
|
12611
|
-
(_nativeProps$onFocus = nativeProps.onFocus) === null || _nativeProps$onFocus === void 0
|
|
12902
|
+
(_nativeProps$onFocus = nativeProps.onFocus) === null || _nativeProps$onFocus === void 0 || _nativeProps$onFocus.call(nativeProps, event);
|
|
12612
12903
|
},
|
|
12613
12904
|
onBlur: function onBlur(event) {
|
|
12614
12905
|
var _nativeProps$onBlur;
|
|
12615
12906
|
setIsFocused(false);
|
|
12616
|
-
(_nativeProps$onBlur = nativeProps.onBlur) === null || _nativeProps$onBlur === void 0
|
|
12907
|
+
(_nativeProps$onBlur = nativeProps.onBlur) === null || _nativeProps$onBlur === void 0 || _nativeProps$onBlur.call(nativeProps, event);
|
|
12617
12908
|
},
|
|
12618
12909
|
editable: editable,
|
|
12619
12910
|
maxLength: maxLength,
|
|
12620
12911
|
value: value,
|
|
12621
12912
|
onChangeText: function onChangeText(text) {
|
|
12622
12913
|
var _nativeProps$onChange;
|
|
12623
|
-
(_nativeProps$onChange = nativeProps.onChangeText) === null || _nativeProps$onChange === void 0
|
|
12914
|
+
(_nativeProps$onChange = nativeProps.onChangeText) === null || _nativeProps$onChange === void 0 || _nativeProps$onChange.call(nativeProps, text);
|
|
12624
12915
|
},
|
|
12625
12916
|
defaultValue: defaultValue,
|
|
12626
12917
|
placeholder: isFocused || label === undefined ? nativeProps.placeholder : EMPTY_PLACEHOLDER_VALUE
|
|
@@ -13146,9 +13437,9 @@ var DragableDrawer = function DragableDrawer(_ref) {
|
|
|
13146
13437
|
});
|
|
13147
13438
|
animation.start(function () {
|
|
13148
13439
|
if (animatedToValue === 0) {
|
|
13149
|
-
onExpanded === null || onExpanded === void 0
|
|
13440
|
+
onExpanded === null || onExpanded === void 0 || onExpanded();
|
|
13150
13441
|
} else if (animatedToValue === getOffset(height, minimumHeightPercentage)) {
|
|
13151
|
-
onCollapsed === null || onCollapsed === void 0
|
|
13442
|
+
onCollapsed === null || onCollapsed === void 0 || onCollapsed();
|
|
13152
13443
|
}
|
|
13153
13444
|
setAnimatedToValue(-1);
|
|
13154
13445
|
});
|
|
@@ -13562,7 +13853,7 @@ var Modal = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
13562
13853
|
toValue: toValue
|
|
13563
13854
|
}, DEFAULT_ANIMATION_CONFIG)).start(callback);
|
|
13564
13855
|
} else {
|
|
13565
|
-
callback === null || callback === void 0
|
|
13856
|
+
callback === null || callback === void 0 || callback();
|
|
13566
13857
|
}
|
|
13567
13858
|
}, [animationType, onShow, transparent]);
|
|
13568
13859
|
var backdropOpacityAnimation = animatedBackdropValue.interpolate({
|
|
@@ -13586,7 +13877,7 @@ var Modal = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
13586
13877
|
toValue: 0,
|
|
13587
13878
|
callback: function callback() {
|
|
13588
13879
|
if (reactNative.Platform.OS === 'ios') {
|
|
13589
|
-
onDismiss === null || onDismiss === void 0
|
|
13880
|
+
onDismiss === null || onDismiss === void 0 || onDismiss();
|
|
13590
13881
|
}
|
|
13591
13882
|
wrapperCallback();
|
|
13592
13883
|
}
|
|
@@ -13597,7 +13888,7 @@ var Modal = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
13597
13888
|
// Back button handler
|
|
13598
13889
|
React.useEffect(function () {
|
|
13599
13890
|
var backHandler = reactNative.BackHandler.addEventListener('hardwareBackPress', function () {
|
|
13600
|
-
onRequestClose === null || onRequestClose === void 0
|
|
13891
|
+
onRequestClose === null || onRequestClose === void 0 || onRequestClose();
|
|
13601
13892
|
return true;
|
|
13602
13893
|
});
|
|
13603
13894
|
return function () {
|
|
@@ -13634,7 +13925,7 @@ var ModalWrapper = function ModalWrapper(_ref3) {
|
|
|
13634
13925
|
} else {
|
|
13635
13926
|
var _modalRef$current;
|
|
13636
13927
|
// Wait for animation to finish before hiding the modal
|
|
13637
|
-
(_modalRef$current = modalRef.current) === null || _modalRef$current === void 0
|
|
13928
|
+
(_modalRef$current = modalRef.current) === null || _modalRef$current === void 0 || _modalRef$current.hide(function () {
|
|
13638
13929
|
return setInternalVisible(false);
|
|
13639
13930
|
});
|
|
13640
13931
|
}
|
|
@@ -13642,7 +13933,7 @@ var ModalWrapper = function ModalWrapper(_ref3) {
|
|
|
13642
13933
|
React.useEffect(function () {
|
|
13643
13934
|
if (internalVisible) {
|
|
13644
13935
|
var _modalRef$current2;
|
|
13645
|
-
(_modalRef$current2 = modalRef.current) === null || _modalRef$current2 === void 0
|
|
13936
|
+
(_modalRef$current2 = modalRef.current) === null || _modalRef$current2 === void 0 || _modalRef$current2.show();
|
|
13646
13937
|
}
|
|
13647
13938
|
}, [internalVisible]);
|
|
13648
13939
|
return internalVisible ? /*#__PURE__*/React__default["default"].createElement(Modal, _extends$1({
|
|
@@ -14440,8 +14731,8 @@ var Toast$1 = function Toast(_ref2) {
|
|
|
14440
14731
|
}, content) : content)), actionLabel ? /*#__PURE__*/React__default["default"].createElement(CTAWrapper, {
|
|
14441
14732
|
testID: "toast-action-button",
|
|
14442
14733
|
onPress: function onPress() {
|
|
14443
|
-
onAction === null || onAction === void 0
|
|
14444
|
-
onDismiss === null || onDismiss === void 0
|
|
14734
|
+
onAction === null || onAction === void 0 || onAction();
|
|
14735
|
+
onDismiss === null || onDismiss === void 0 || onDismiss();
|
|
14445
14736
|
}
|
|
14446
14737
|
}, typeof actionLabel === 'string' ? /*#__PURE__*/React__default["default"].createElement(Typography.Body, {
|
|
14447
14738
|
variant: "small-bold",
|
|
@@ -14469,7 +14760,7 @@ var SingleToastDisplay = function SingleToastDisplay(_ref) {
|
|
|
14469
14760
|
return item.id !== toast.id;
|
|
14470
14761
|
});
|
|
14471
14762
|
});
|
|
14472
|
-
(_toast$props$onDismis = (_toast$props = toast.props).onDismiss) === null || _toast$props$onDismis === void 0
|
|
14763
|
+
(_toast$props$onDismis = (_toast$props = toast.props).onDismiss) === null || _toast$props$onDismis === void 0 || _toast$props$onDismis.call(_toast$props);
|
|
14473
14764
|
}
|
|
14474
14765
|
})) : null;
|
|
14475
14766
|
};
|
|
@@ -14530,7 +14821,7 @@ var ToastContainer = /*#__PURE__*/React__default["default"].forwardRef(function
|
|
|
14530
14821
|
return item.id !== id;
|
|
14531
14822
|
});
|
|
14532
14823
|
});
|
|
14533
|
-
(_props$onDismiss = props.onDismiss) === null || _props$onDismiss === void 0
|
|
14824
|
+
(_props$onDismiss = props.onDismiss) === null || _props$onDismiss === void 0 || _props$onDismiss.call(props);
|
|
14534
14825
|
}
|
|
14535
14826
|
}));
|
|
14536
14827
|
}));
|
|
@@ -14941,9 +15232,9 @@ var PinInput = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
|
|
|
14941
15232
|
}, []);
|
|
14942
15233
|
var changeText = React.useCallback(function (text) {
|
|
14943
15234
|
var pin = (text.match(/[0-9]/g) || []).join('');
|
|
14944
|
-
onChangeText === null || onChangeText === void 0
|
|
15235
|
+
onChangeText === null || onChangeText === void 0 || onChangeText(pin);
|
|
14945
15236
|
if (pin.length === length) {
|
|
14946
|
-
onFulfill === null || onFulfill === void 0
|
|
15237
|
+
onFulfill === null || onFulfill === void 0 || onFulfill(pin);
|
|
14947
15238
|
}
|
|
14948
15239
|
}, [length, onChangeText, onFulfill]);
|
|
14949
15240
|
React.useEffect(function () {
|
|
@@ -15988,7 +16279,7 @@ function MultiSelect(_ref) {
|
|
|
15988
16279
|
}))))), /*#__PURE__*/React__default["default"].createElement(BottomSheet$1, {
|
|
15989
16280
|
open: open,
|
|
15990
16281
|
onRequestClose: function onRequestClose() {
|
|
15991
|
-
onDismiss === null || onDismiss === void 0
|
|
16282
|
+
onDismiss === null || onDismiss === void 0 || onDismiss();
|
|
15992
16283
|
setOpen(false);
|
|
15993
16284
|
},
|
|
15994
16285
|
header: label,
|
|
@@ -16015,7 +16306,7 @@ function MultiSelect(_ref) {
|
|
|
16015
16306
|
if (open === true) {
|
|
16016
16307
|
var _sectionListRef$curre;
|
|
16017
16308
|
var scrollParams = getScrollParams(value === null || value === void 0 ? void 0 : value[0], sections);
|
|
16018
|
-
(_sectionListRef$curre = sectionListRef.current) === null || _sectionListRef$curre === void 0
|
|
16309
|
+
(_sectionListRef$curre = sectionListRef.current) === null || _sectionListRef$curre === void 0 || _sectionListRef$curre.scrollToLocation(scrollParams);
|
|
16019
16310
|
}
|
|
16020
16311
|
}
|
|
16021
16312
|
}, onQueryChange && /*#__PURE__*/React__default["default"].createElement(StyledSearchBar, null, /*#__PURE__*/React__default["default"].createElement(TextInput, {
|
|
@@ -16038,7 +16329,7 @@ function MultiSelect(_ref) {
|
|
|
16038
16329
|
var scrollParams = getScrollParams(value === null || value === void 0 ? void 0 : value[0], sections);
|
|
16039
16330
|
if (scrollParams.itemIndex < info.highestMeasuredFrameIndex) {
|
|
16040
16331
|
var _sectionListRef$curre2;
|
|
16041
|
-
(_sectionListRef$curre2 = sectionListRef.current) === null || _sectionListRef$curre2 === void 0
|
|
16332
|
+
(_sectionListRef$curre2 = sectionListRef.current) === null || _sectionListRef$curre2 === void 0 || _sectionListRef$curre2.scrollToLocation(scrollParams);
|
|
16042
16333
|
}
|
|
16043
16334
|
}, 500);
|
|
16044
16335
|
}
|
|
@@ -16179,7 +16470,7 @@ var SingleSelect = function SingleSelect(_ref) {
|
|
|
16179
16470
|
}))))), /*#__PURE__*/React__default["default"].createElement(BottomSheet$1, {
|
|
16180
16471
|
open: open,
|
|
16181
16472
|
onRequestClose: function onRequestClose() {
|
|
16182
|
-
onDismiss === null || onDismiss === void 0
|
|
16473
|
+
onDismiss === null || onDismiss === void 0 || onDismiss();
|
|
16183
16474
|
setOpen(false);
|
|
16184
16475
|
},
|
|
16185
16476
|
header: label,
|
|
@@ -16190,7 +16481,7 @@ var SingleSelect = function SingleSelect(_ref) {
|
|
|
16190
16481
|
if (open === true) {
|
|
16191
16482
|
var _sectionListRef$curre;
|
|
16192
16483
|
var scrollParams = getScrollParams(value, sections);
|
|
16193
|
-
(_sectionListRef$curre = sectionListRef.current) === null || _sectionListRef$curre === void 0
|
|
16484
|
+
(_sectionListRef$curre = sectionListRef.current) === null || _sectionListRef$curre === void 0 || _sectionListRef$curre.scrollToLocation(scrollParams);
|
|
16194
16485
|
}
|
|
16195
16486
|
}
|
|
16196
16487
|
}, onQueryChange && /*#__PURE__*/React__default["default"].createElement(StyledSearchBar, null, /*#__PURE__*/React__default["default"].createElement(TextInput, {
|
|
@@ -16216,7 +16507,7 @@ var SingleSelect = function SingleSelect(_ref) {
|
|
|
16216
16507
|
var scrollParams = getScrollParams(value, sections);
|
|
16217
16508
|
if (scrollParams.itemIndex < info.highestMeasuredFrameIndex) {
|
|
16218
16509
|
var _sectionListRef$curre2;
|
|
16219
|
-
(_sectionListRef$curre2 = sectionListRef.current) === null || _sectionListRef$curre2 === void 0
|
|
16510
|
+
(_sectionListRef$curre2 = sectionListRef.current) === null || _sectionListRef$curre2 === void 0 || _sectionListRef$curre2.scrollToLocation(scrollParams);
|
|
16220
16511
|
}
|
|
16221
16512
|
}, 500);
|
|
16222
16513
|
}
|
|
@@ -16311,7 +16602,7 @@ var Skeleton = function Skeleton(_ref) {
|
|
|
16311
16602
|
if (!shouldStartAnimation) {
|
|
16312
16603
|
setShouldStartAnimation(true);
|
|
16313
16604
|
}
|
|
16314
|
-
onLayout === null || onLayout === void 0
|
|
16605
|
+
onLayout === null || onLayout === void 0 || onLayout(e);
|
|
16315
16606
|
}, []);
|
|
16316
16607
|
return /*#__PURE__*/React__default["default"].createElement(StyledContainer, _extends$1({
|
|
16317
16608
|
style: style,
|
|
@@ -16959,7 +17250,7 @@ var ScrollableTabHeader = function ScrollableTabHeader(_ref2) {
|
|
|
16959
17250
|
React__default["default"].useEffect(function () {
|
|
16960
17251
|
if (selectedIndex !== undefined && selectedIndex !== -1) {
|
|
16961
17252
|
var _flatListRef$current;
|
|
16962
|
-
(_flatListRef$current = flatListRef.current) === null || _flatListRef$current === void 0
|
|
17253
|
+
(_flatListRef$current = flatListRef.current) === null || _flatListRef$current === void 0 || _flatListRef$current.scrollToIndex({
|
|
16963
17254
|
index: selectedIndex,
|
|
16964
17255
|
viewPosition: 0.5
|
|
16965
17256
|
});
|
|
@@ -17083,7 +17374,7 @@ var ScrollableTab = function ScrollableTab(_ref) {
|
|
|
17083
17374
|
timeoutHandle = setTimeout(function () {
|
|
17084
17375
|
var _pagerViewRef$current;
|
|
17085
17376
|
// use no animation to prevent unexpected behavior if users select tab too quickly
|
|
17086
|
-
(_pagerViewRef$current = pagerViewRef.current) === null || _pagerViewRef$current === void 0
|
|
17377
|
+
(_pagerViewRef$current = pagerViewRef.current) === null || _pagerViewRef$current === void 0 || _pagerViewRef$current.setPageWithoutAnimation(selectedTabIndex);
|
|
17087
17378
|
}, 200);
|
|
17088
17379
|
}
|
|
17089
17380
|
return function () {
|
|
@@ -17184,7 +17475,7 @@ var Tabs = function Tabs(_ref2) {
|
|
|
17184
17475
|
React.useEffect(function () {
|
|
17185
17476
|
if (selectedTabIndex !== -1) {
|
|
17186
17477
|
var _pagerViewRef$current;
|
|
17187
|
-
(_pagerViewRef$current = pagerViewRef.current) === null || _pagerViewRef$current === void 0
|
|
17478
|
+
(_pagerViewRef$current = pagerViewRef.current) === null || _pagerViewRef$current === void 0 || _pagerViewRef$current.setPage(selectedTabIndex);
|
|
17188
17479
|
}
|
|
17189
17480
|
}, [selectedTabIndex]);
|
|
17190
17481
|
var tabContextProviderValue = React__default["default"].useMemo(function () {
|
|
@@ -17693,7 +17984,7 @@ var Rate = function Rate(_ref) {
|
|
|
17693
17984
|
};
|
|
17694
17985
|
|
|
17695
17986
|
var RefreshControl = function RefreshControl(_ref) {
|
|
17696
|
-
var props = _extends$1({}, _ref);
|
|
17987
|
+
var props = _extends$1({}, (_objectDestructuringEmpty(_ref), _ref));
|
|
17697
17988
|
var theme = useTheme();
|
|
17698
17989
|
return /*#__PURE__*/React__default["default"].createElement(reactNative.RefreshControl, _extends$1({}, props, {
|
|
17699
17990
|
colors: [theme.__hd__.refreshControl.colors.indicator],
|
|
@@ -18334,9 +18625,7 @@ var aa = React__default["default"],
|
|
|
18334
18625
|
n = objectAssign,
|
|
18335
18626
|
q = scheduler.exports;
|
|
18336
18627
|
function u(a) {
|
|
18337
|
-
for (var b = "https://reactjs.org/docs/error-decoder.html?invariant=" + a, c = 1; c < arguments.length; c++)
|
|
18338
|
-
b += "&args[]=" + encodeURIComponent(arguments[c]);
|
|
18339
|
-
}
|
|
18628
|
+
for (var b = "https://reactjs.org/docs/error-decoder.html?invariant=" + a, c = 1; c < arguments.length; c++) b += "&args[]=" + encodeURIComponent(arguments[c]);
|
|
18340
18629
|
return "Minified React error #" + a + "; visit " + b + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
|
|
18341
18630
|
}
|
|
18342
18631
|
if (!aa) throw Error(u(227));
|
|
@@ -18360,9 +18649,7 @@ function da() {
|
|
|
18360
18649
|
fa[h] = f;
|
|
18361
18650
|
var k = f.phasedRegistrationNames;
|
|
18362
18651
|
if (k) {
|
|
18363
|
-
for (e in k)
|
|
18364
|
-
k.hasOwnProperty(e) && ha(k[e], g, h);
|
|
18365
|
-
}
|
|
18652
|
+
for (e in k) k.hasOwnProperty(e) && ha(k[e], g, h);
|
|
18366
18653
|
e = !0;
|
|
18367
18654
|
} else f.registrationName ? (ha(f.registrationName, g, h), e = !0) : e = !1;
|
|
18368
18655
|
if (!e) throw Error(u(98, d, a));
|
|
@@ -18440,9 +18727,7 @@ function Aa(a) {
|
|
|
18440
18727
|
if (a) {
|
|
18441
18728
|
var b = a._dispatchListeners,
|
|
18442
18729
|
c = a._dispatchInstances;
|
|
18443
|
-
if (Array.isArray(b)) for (var d = 0; d < b.length && !a.isPropagationStopped(); d++)
|
|
18444
|
-
wa(a, b[d], c[d]);
|
|
18445
|
-
} else b && wa(a, b, c);
|
|
18730
|
+
if (Array.isArray(b)) for (var d = 0; d < b.length && !a.isPropagationStopped(); d++) wa(a, b[d], c[d]);else b && wa(a, b, c);
|
|
18446
18731
|
a._dispatchListeners = null;
|
|
18447
18732
|
a._dispatchInstances = null;
|
|
18448
18733
|
a.isPersistent() || a.constructor.release(a);
|
|
@@ -18467,14 +18752,12 @@ var Ca = {
|
|
|
18467
18752
|
injectEventPluginsByName: function injectEventPluginsByName(a) {
|
|
18468
18753
|
var b = !1,
|
|
18469
18754
|
c;
|
|
18470
|
-
for (c in a) {
|
|
18471
|
-
|
|
18472
|
-
|
|
18473
|
-
if (
|
|
18474
|
-
|
|
18475
|
-
|
|
18476
|
-
b = !0;
|
|
18477
|
-
}
|
|
18755
|
+
for (c in a) if (a.hasOwnProperty(c)) {
|
|
18756
|
+
var d = a[c];
|
|
18757
|
+
if (!ca.hasOwnProperty(c) || ca[c] !== d) {
|
|
18758
|
+
if (ca[c]) throw Error(u(102, c));
|
|
18759
|
+
ca[c] = d;
|
|
18760
|
+
b = !0;
|
|
18478
18761
|
}
|
|
18479
18762
|
}
|
|
18480
18763
|
b && da();
|
|
@@ -18630,9 +18913,7 @@ function db() {
|
|
|
18630
18913
|
b = ab;
|
|
18631
18914
|
ab = $a = null;
|
|
18632
18915
|
bb(a);
|
|
18633
|
-
if (b) for (a = 0; a < b.length; a++)
|
|
18634
|
-
bb(b[a]);
|
|
18635
|
-
}
|
|
18916
|
+
if (b) for (a = 0; a < b.length; a++) bb(b[a]);
|
|
18636
18917
|
}
|
|
18637
18918
|
}
|
|
18638
18919
|
function eb(a, b) {
|
|
@@ -18891,12 +19172,8 @@ function Jb(a, b, c, d) {
|
|
|
18891
19172
|
a = a.options;
|
|
18892
19173
|
if (b) {
|
|
18893
19174
|
b = {};
|
|
18894
|
-
for (var e = 0; e < c.length; e++)
|
|
18895
|
-
|
|
18896
|
-
}
|
|
18897
|
-
for (c = 0; c < a.length; c++) {
|
|
18898
|
-
e = b.hasOwnProperty("$" + a[c].value), a[c].selected !== e && (a[c].selected = e), e && d && (a[c].defaultSelected = !0);
|
|
18899
|
-
}
|
|
19175
|
+
for (var e = 0; e < c.length; e++) b["$" + c[e]] = !0;
|
|
19176
|
+
for (c = 0; c < a.length; c++) e = b.hasOwnProperty("$" + a[c].value), a[c].selected !== e && (a[c].selected = e), e && d && (a[c].defaultSelected = !0);
|
|
18900
19177
|
} else {
|
|
18901
19178
|
c = "" + ub(c);
|
|
18902
19179
|
b = null;
|
|
@@ -18977,12 +19254,8 @@ var Rb,
|
|
|
18977
19254
|
if (a.namespaceURI !== Ob.svg || "innerHTML" in a) a.innerHTML = b;else {
|
|
18978
19255
|
Rb = Rb || document.createElement("div");
|
|
18979
19256
|
Rb.innerHTML = "<svg>" + b.valueOf().toString() + "</svg>";
|
|
18980
|
-
for (b = Rb.firstChild; a.firstChild;)
|
|
18981
|
-
|
|
18982
|
-
}
|
|
18983
|
-
for (; b.firstChild;) {
|
|
18984
|
-
a.appendChild(b.firstChild);
|
|
18985
|
-
}
|
|
19257
|
+
for (b = Rb.firstChild; a.firstChild;) a.removeChild(a.firstChild);
|
|
19258
|
+
for (; b.firstChild;) a.appendChild(b.firstChild);
|
|
18986
19259
|
}
|
|
18987
19260
|
});
|
|
18988
19261
|
function Tb(a, b) {
|
|
@@ -19016,9 +19289,7 @@ function Yb(a) {
|
|
|
19016
19289
|
if (!Vb[a]) return a;
|
|
19017
19290
|
var b = Vb[a],
|
|
19018
19291
|
c;
|
|
19019
|
-
for (c in b)
|
|
19020
|
-
if (b.hasOwnProperty(c) && c in Xb) return Wb[a] = b[c];
|
|
19021
|
-
}
|
|
19292
|
+
for (c in b) if (b.hasOwnProperty(c) && c in Xb) return Wb[a] = b[c];
|
|
19022
19293
|
return a;
|
|
19023
19294
|
}
|
|
19024
19295
|
var Zb = Yb("animationend"),
|
|
@@ -19029,13 +19300,9 @@ var Zb = Yb("animationend"),
|
|
|
19029
19300
|
function ec(a) {
|
|
19030
19301
|
var b = a,
|
|
19031
19302
|
c = a;
|
|
19032
|
-
if (a.alternate) for (; b["return"];) {
|
|
19033
|
-
b = b["return"];
|
|
19034
|
-
} else {
|
|
19303
|
+
if (a.alternate) for (; b["return"];) b = b["return"];else {
|
|
19035
19304
|
a = b;
|
|
19036
|
-
do
|
|
19037
|
-
b = a, 0 !== (b.effectTag & 1026) && (c = b["return"]), a = b["return"];
|
|
19038
|
-
} while (a);
|
|
19305
|
+
do b = a, 0 !== (b.effectTag & 1026) && (c = b["return"]), a = b["return"]; while (a);
|
|
19039
19306
|
}
|
|
19040
19307
|
return 3 === b.tag ? c : null;
|
|
19041
19308
|
}
|
|
@@ -19278,12 +19545,8 @@ function Lc(a) {
|
|
|
19278
19545
|
null !== qc && Kc(qc, a);
|
|
19279
19546
|
rc.forEach(b);
|
|
19280
19547
|
sc.forEach(b);
|
|
19281
|
-
for (c = 0; c < tc.length; c++)
|
|
19282
|
-
|
|
19283
|
-
}
|
|
19284
|
-
for (; 0 < tc.length && (c = tc[0], null === c.blockedOn);) {
|
|
19285
|
-
Ec(c), null === c.blockedOn && tc.shift();
|
|
19286
|
-
}
|
|
19548
|
+
for (c = 0; c < tc.length; c++) d = tc[c], d.blockedOn === a && (d.blockedOn = null);
|
|
19549
|
+
for (; 0 < tc.length && (c = tc[0], null === c.blockedOn);) Ec(c), null === c.blockedOn && tc.shift();
|
|
19287
19550
|
}
|
|
19288
19551
|
function Mc(a) {
|
|
19289
19552
|
a = a.target || a.srcElement || window;
|
|
@@ -19291,9 +19554,7 @@ function Mc(a) {
|
|
|
19291
19554
|
return 3 === a.nodeType ? a.parentNode : a;
|
|
19292
19555
|
}
|
|
19293
19556
|
function Nc(a) {
|
|
19294
|
-
do
|
|
19295
|
-
a = a["return"];
|
|
19296
|
-
} while (a && 5 !== a.tag);
|
|
19557
|
+
do a = a["return"]; while (a && 5 !== a.tag);
|
|
19297
19558
|
return a ? a : null;
|
|
19298
19559
|
}
|
|
19299
19560
|
function Oc(a, b, c) {
|
|
@@ -19301,15 +19562,9 @@ function Oc(a, b, c) {
|
|
|
19301
19562
|
}
|
|
19302
19563
|
function Pc(a) {
|
|
19303
19564
|
if (a && a.dispatchConfig.phasedRegistrationNames) {
|
|
19304
|
-
for (var b = a._targetInst, c = []; b;)
|
|
19305
|
-
|
|
19306
|
-
|
|
19307
|
-
for (b = c.length; 0 < b--;) {
|
|
19308
|
-
Oc(c[b], "captured", a);
|
|
19309
|
-
}
|
|
19310
|
-
for (b = 0; b < c.length; b++) {
|
|
19311
|
-
Oc(c[b], "bubbled", a);
|
|
19312
|
-
}
|
|
19565
|
+
for (var b = a._targetInst, c = []; b;) c.push(b), b = Nc(b);
|
|
19566
|
+
for (b = c.length; 0 < b--;) Oc(c[b], "captured", a);
|
|
19567
|
+
for (b = 0; b < c.length; b++) Oc(c[b], "bubbled", a);
|
|
19313
19568
|
}
|
|
19314
19569
|
}
|
|
19315
19570
|
function Qc(a, b, c) {
|
|
@@ -19332,9 +19587,7 @@ function E(a, b, c, d) {
|
|
|
19332
19587
|
this._targetInst = b;
|
|
19333
19588
|
this.nativeEvent = c;
|
|
19334
19589
|
a = this.constructor.Interface;
|
|
19335
|
-
for (var e in a)
|
|
19336
|
-
a.hasOwnProperty(e) && ((b = a[e]) ? this[e] = b(c) : "target" === e ? this.target = d : this[e] = c[e]);
|
|
19337
|
-
}
|
|
19590
|
+
for (var e in a) a.hasOwnProperty(e) && ((b = a[e]) ? this[e] = b(c) : "target" === e ? this.target = d : this[e] = c[e]);
|
|
19338
19591
|
this.isDefaultPrevented = (null != c.defaultPrevented ? c.defaultPrevented : !1 === c.returnValue) ? Tc : Uc;
|
|
19339
19592
|
this.isPropagationStopped = Uc;
|
|
19340
19593
|
return this;
|
|
@@ -19356,9 +19609,7 @@ n(E.prototype, {
|
|
|
19356
19609
|
destructor: function destructor() {
|
|
19357
19610
|
var a = this.constructor.Interface,
|
|
19358
19611
|
b;
|
|
19359
|
-
for (b in a)
|
|
19360
|
-
this[b] = null;
|
|
19361
|
-
}
|
|
19612
|
+
for (b in a) this[b] = null;
|
|
19362
19613
|
this.nativeEvent = this._targetInst = this.dispatchConfig = null;
|
|
19363
19614
|
this.isPropagationStopped = this.isDefaultPrevented = Uc;
|
|
19364
19615
|
this._dispatchInstances = this._dispatchListeners = null;
|
|
@@ -19723,9 +19974,7 @@ function Kd(a) {
|
|
|
19723
19974
|
}
|
|
19724
19975
|
var d = c;
|
|
19725
19976
|
if (3 === d.tag) d = d.stateNode.containerInfo;else {
|
|
19726
|
-
for (; d["return"];)
|
|
19727
|
-
d = d["return"];
|
|
19728
|
-
}
|
|
19977
|
+
for (; d["return"];) d = d["return"];
|
|
19729
19978
|
d = 3 !== d.tag ? null : d.stateNode.containerInfo;
|
|
19730
19979
|
}
|
|
19731
19980
|
if (!d) break;
|
|
@@ -19925,13 +20174,11 @@ function Vd(a, b, c) {
|
|
|
19925
20174
|
}
|
|
19926
20175
|
function Wd(a, b) {
|
|
19927
20176
|
a = a.style;
|
|
19928
|
-
for (var c in b) {
|
|
19929
|
-
|
|
19930
|
-
|
|
19931
|
-
|
|
19932
|
-
|
|
19933
|
-
d ? a.setProperty(c, e) : a[c] = e;
|
|
19934
|
-
}
|
|
20177
|
+
for (var c in b) if (b.hasOwnProperty(c)) {
|
|
20178
|
+
var d = 0 === c.indexOf("--"),
|
|
20179
|
+
e = Vd(c, b[c], d);
|
|
20180
|
+
"float" === c && (c = "cssFloat");
|
|
20181
|
+
d ? a.setProperty(c, e) : a[c] = e;
|
|
19935
20182
|
}
|
|
19936
20183
|
}
|
|
19937
20184
|
var Xd = n({
|
|
@@ -19983,9 +20230,7 @@ function $d(a, b) {
|
|
|
19983
20230
|
a = 9 === a.nodeType || 11 === a.nodeType ? a : a.ownerDocument;
|
|
19984
20231
|
var c = xc(a);
|
|
19985
20232
|
b = ja[b];
|
|
19986
|
-
for (var d = 0; d < b.length; d++)
|
|
19987
|
-
yc(b[d], a, c);
|
|
19988
|
-
}
|
|
20233
|
+
for (var d = 0; d < b.length; d++) yc(b[d], a, c);
|
|
19989
20234
|
}
|
|
19990
20235
|
function ae() {}
|
|
19991
20236
|
function be(a) {
|
|
@@ -19998,9 +20243,7 @@ function be(a) {
|
|
|
19998
20243
|
}
|
|
19999
20244
|
}
|
|
20000
20245
|
function ce(a) {
|
|
20001
|
-
for (; a && a.firstChild;)
|
|
20002
|
-
a = a.firstChild;
|
|
20003
|
-
}
|
|
20246
|
+
for (; a && a.firstChild;) a = a.firstChild;
|
|
20004
20247
|
return a;
|
|
20005
20248
|
}
|
|
20006
20249
|
function de(a, b) {
|
|
@@ -20132,11 +20375,9 @@ function Ce() {
|
|
|
20132
20375
|
d,
|
|
20133
20376
|
e = "value" in ze ? ze.value : ze.textContent,
|
|
20134
20377
|
f = e.length;
|
|
20135
|
-
for (a = 0; a < c && b[a] === e[a]; a++)
|
|
20136
|
-
}
|
|
20378
|
+
for (a = 0; a < c && b[a] === e[a]; a++);
|
|
20137
20379
|
var g = c - a;
|
|
20138
|
-
for (d = 1; d <= g && b[c - d] === e[f - d]; d++)
|
|
20139
|
-
}
|
|
20380
|
+
for (d = 1; d <= g && b[c - d] === e[f - d]; d++);
|
|
20140
20381
|
return Be = e.slice(a, 1 < d ? 1 - d : void 0);
|
|
20141
20382
|
}
|
|
20142
20383
|
var De = E.extend({
|
|
@@ -20401,19 +20642,11 @@ var jf = {
|
|
|
20401
20642
|
l = h;
|
|
20402
20643
|
a = m;
|
|
20403
20644
|
g = 0;
|
|
20404
|
-
for (b = l; b; b = Nc(b))
|
|
20405
|
-
g++;
|
|
20406
|
-
}
|
|
20645
|
+
for (b = l; b; b = Nc(b)) g++;
|
|
20407
20646
|
b = 0;
|
|
20408
|
-
for (e = a; e; e = Nc(e))
|
|
20409
|
-
|
|
20410
|
-
|
|
20411
|
-
for (; 0 < g - b;) {
|
|
20412
|
-
l = Nc(l), g--;
|
|
20413
|
-
}
|
|
20414
|
-
for (; 0 < b - g;) {
|
|
20415
|
-
a = Nc(a), b--;
|
|
20416
|
-
}
|
|
20647
|
+
for (e = a; e; e = Nc(e)) b++;
|
|
20648
|
+
for (; 0 < g - b;) l = Nc(l), g--;
|
|
20649
|
+
for (; 0 < b - g;) a = Nc(a), b--;
|
|
20417
20650
|
for (; g--;) {
|
|
20418
20651
|
if (l === a || l === a.alternate) break a;
|
|
20419
20652
|
l = Nc(l);
|
|
@@ -20434,12 +20667,8 @@ var jf = {
|
|
|
20434
20667
|
h.push(m);
|
|
20435
20668
|
m = Nc(m);
|
|
20436
20669
|
}
|
|
20437
|
-
for (m = 0; m < l.length; m++)
|
|
20438
|
-
|
|
20439
|
-
}
|
|
20440
|
-
for (m = h.length; 0 < m--;) {
|
|
20441
|
-
Qc(h[m], "captured", d);
|
|
20442
|
-
}
|
|
20670
|
+
for (m = 0; m < l.length; m++) Qc(l[m], "bubbled", k);
|
|
20671
|
+
for (m = h.length; 0 < m--;) Qc(h[m], "captured", d);
|
|
20443
20672
|
if (c === lf) return lf = null, [k];
|
|
20444
20673
|
lf = c;
|
|
20445
20674
|
return [k, d];
|
|
@@ -20456,9 +20685,7 @@ function qf(a, b) {
|
|
|
20456
20685
|
var c = Object.keys(a),
|
|
20457
20686
|
d = Object.keys(b);
|
|
20458
20687
|
if (c.length !== d.length) return !1;
|
|
20459
|
-
for (d = 0; d < c.length; d++)
|
|
20460
|
-
if (!pf.call(b, c[d]) || !of(a[c[d]], b[c[d]])) return !1;
|
|
20461
|
-
}
|
|
20688
|
+
for (d = 0; d < c.length; d++) if (!pf.call(b, c[d]) || !of(a[c[d]], b[c[d]])) return !1;
|
|
20462
20689
|
return !0;
|
|
20463
20690
|
}
|
|
20464
20691
|
var rf = Ya && "documentMode" in document && 11 >= document.documentMode,
|
|
@@ -20499,11 +20726,9 @@ var yf = {
|
|
|
20499
20726
|
a: {
|
|
20500
20727
|
e = xc(e);
|
|
20501
20728
|
f = ja.onSelect;
|
|
20502
|
-
for (var g = 0; g < f.length; g++) {
|
|
20503
|
-
|
|
20504
|
-
|
|
20505
|
-
break a;
|
|
20506
|
-
}
|
|
20729
|
+
for (var g = 0; g < f.length; g++) if (!e.has(f[g])) {
|
|
20730
|
+
e = !1;
|
|
20731
|
+
break a;
|
|
20507
20732
|
}
|
|
20508
20733
|
e = !0;
|
|
20509
20734
|
}
|
|
@@ -20571,9 +20796,7 @@ function Ef(a, b) {
|
|
|
20571
20796
|
if (d && d.__reactInternalMemoizedUnmaskedChildContext === b) return d.__reactInternalMemoizedMaskedChildContext;
|
|
20572
20797
|
var e = {},
|
|
20573
20798
|
f;
|
|
20574
|
-
for (f in c)
|
|
20575
|
-
e[f] = b[f];
|
|
20576
|
-
}
|
|
20799
|
+
for (f in c) e[f] = b[f];
|
|
20577
20800
|
d && (a = a.stateNode, a.__reactInternalMemoizedUnmaskedChildContext = b, a.__reactInternalMemoizedMaskedChildContext = e);
|
|
20578
20801
|
return e;
|
|
20579
20802
|
}
|
|
@@ -20599,9 +20822,7 @@ function If(a, b, c) {
|
|
|
20599
20822
|
a = b.childContextTypes;
|
|
20600
20823
|
if ("function" !== typeof d.getChildContext) return c;
|
|
20601
20824
|
d = d.getChildContext();
|
|
20602
|
-
for (var e in d)
|
|
20603
|
-
if (!(e in a)) throw Error(u(108, Wa(b) || "Unknown", e));
|
|
20604
|
-
}
|
|
20825
|
+
for (var e in d) if (!(e in a)) throw Error(u(108, Wa(b) || "Unknown", e));
|
|
20605
20826
|
return n({}, c, {}, d);
|
|
20606
20827
|
}
|
|
20607
20828
|
function Jf(a) {
|
|
@@ -20700,9 +20921,7 @@ function ig() {
|
|
|
20700
20921
|
fg(99, function () {
|
|
20701
20922
|
for (; a < b.length; a++) {
|
|
20702
20923
|
var c = b[a];
|
|
20703
|
-
do
|
|
20704
|
-
c = c(!0);
|
|
20705
|
-
} while (null !== c);
|
|
20924
|
+
do c = c(!0); while (null !== c);
|
|
20706
20925
|
}
|
|
20707
20926
|
});
|
|
20708
20927
|
Zf = null;
|
|
@@ -20722,9 +20941,7 @@ function mg(a, b) {
|
|
|
20722
20941
|
if (a && a.defaultProps) {
|
|
20723
20942
|
b = n({}, b);
|
|
20724
20943
|
a = a.defaultProps;
|
|
20725
|
-
for (var c in a)
|
|
20726
|
-
void 0 === b[c] && (b[c] = a[c]);
|
|
20727
|
-
}
|
|
20944
|
+
for (var c in a) void 0 === b[c] && (b[c] = a[c]);
|
|
20728
20945
|
}
|
|
20729
20946
|
return b;
|
|
20730
20947
|
}
|
|
@@ -21025,15 +21242,11 @@ function $g(a) {
|
|
|
21025
21242
|
}
|
|
21026
21243
|
function c(c, d) {
|
|
21027
21244
|
if (!a) return null;
|
|
21028
|
-
for (; null !== d;)
|
|
21029
|
-
b(c, d), d = d.sibling;
|
|
21030
|
-
}
|
|
21245
|
+
for (; null !== d;) b(c, d), d = d.sibling;
|
|
21031
21246
|
return null;
|
|
21032
21247
|
}
|
|
21033
21248
|
function d(a, b) {
|
|
21034
|
-
for (a = new Map(); null !== b;)
|
|
21035
|
-
null !== b.key ? a.set(b.key, b) : a.set(b.index, b), b = b.sibling;
|
|
21036
|
-
}
|
|
21249
|
+
for (a = new Map(); null !== b;) null !== b.key ? a.set(b.key, b) : a.set(b.index, b), b = b.sibling;
|
|
21037
21250
|
return a;
|
|
21038
21251
|
}
|
|
21039
21252
|
function e(a, b, c) {
|
|
@@ -21138,14 +21351,10 @@ function $g(a) {
|
|
|
21138
21351
|
}
|
|
21139
21352
|
if (x === h.length) return c(e, r), l;
|
|
21140
21353
|
if (null === r) {
|
|
21141
|
-
for (; x < h.length; x++)
|
|
21142
|
-
r = C(e, h[x], k), null !== r && (g = f(r, g, x), null === m ? l = r : m.sibling = r, m = r);
|
|
21143
|
-
}
|
|
21354
|
+
for (; x < h.length; x++) r = C(e, h[x], k), null !== r && (g = f(r, g, x), null === m ? l = r : m.sibling = r, m = r);
|
|
21144
21355
|
return l;
|
|
21145
21356
|
}
|
|
21146
|
-
for (r = d(e, r); x < h.length; x++)
|
|
21147
|
-
A = H(r, e, x, h[x], k), null !== A && (a && null !== A.alternate && r["delete"](null === A.key ? x : A.key), g = f(A, g, x), null === m ? l = A : m.sibling = A, m = A);
|
|
21148
|
-
}
|
|
21357
|
+
for (r = d(e, r); x < h.length; x++) A = H(r, e, x, h[x], k), null !== A && (a && null !== A.alternate && r["delete"](null === A.key ? x : A.key), g = f(A, g, x), null === m ? l = A : m.sibling = A, m = A);
|
|
21149
21358
|
a && r.forEach(function (a) {
|
|
21150
21359
|
return b(e, a);
|
|
21151
21360
|
});
|
|
@@ -21171,14 +21380,10 @@ function $g(a) {
|
|
|
21171
21380
|
}
|
|
21172
21381
|
if (p.done) return c(e, r), l;
|
|
21173
21382
|
if (null === r) {
|
|
21174
|
-
for (; !p.done; x++, p = h.next())
|
|
21175
|
-
p = C(e, p.value, k), null !== p && (g = f(p, g, x), null === m ? l = p : m.sibling = p, m = p);
|
|
21176
|
-
}
|
|
21383
|
+
for (; !p.done; x++, p = h.next()) p = C(e, p.value, k), null !== p && (g = f(p, g, x), null === m ? l = p : m.sibling = p, m = p);
|
|
21177
21384
|
return l;
|
|
21178
21385
|
}
|
|
21179
|
-
for (r = d(e, r); !p.done; x++, p = h.next())
|
|
21180
|
-
p = H(r, e, x, p.value, k), null !== p && (a && null !== p.alternate && r["delete"](null === p.key ? x : p.key), g = f(p, g, x), null === m ? l = p : m.sibling = p, m = p);
|
|
21181
|
-
}
|
|
21386
|
+
for (r = d(e, r); !p.done; x++, p = h.next()) p = H(r, e, x, p.value, k), null !== p && (a && null !== p.alternate && r["delete"](null === p.key ? x : p.key), g = f(p, g, x), null === m ? l = p : m.sibling = p, m = p);
|
|
21182
21387
|
a && r.forEach(function (a) {
|
|
21183
21388
|
return b(e, a);
|
|
21184
21389
|
});
|
|
@@ -21343,9 +21548,7 @@ function Q() {
|
|
|
21343
21548
|
}
|
|
21344
21549
|
function Hh(a, b) {
|
|
21345
21550
|
if (null === b) return !1;
|
|
21346
|
-
for (var c = 0; c < b.length && c < a.length; c++)
|
|
21347
|
-
if (!of(a[c], b[c])) return !1;
|
|
21348
|
-
}
|
|
21551
|
+
for (var c = 0; c < b.length && c < a.length; c++) if (!of(a[c], b[c])) return !1;
|
|
21349
21552
|
return !0;
|
|
21350
21553
|
}
|
|
21351
21554
|
function Ih(a, b, c, d, e, f) {
|
|
@@ -21355,9 +21558,7 @@ function Ih(a, b, c, d, e, f) {
|
|
|
21355
21558
|
sh.current = null === vh ? Jh : Kh;
|
|
21356
21559
|
b = c(d, e);
|
|
21357
21560
|
if (Bh) {
|
|
21358
|
-
do
|
|
21359
|
-
Bh = !1, Gh += 1, vh = null !== a ? a.memoizedState : null, xh = wh, zh = P = O = null, sh.current = Kh, b = c(d, e);
|
|
21360
|
-
} while (Bh);
|
|
21561
|
+
do Bh = !1, Gh += 1, vh = null !== a ? a.memoizedState : null, xh = wh, zh = P = O = null, sh.current = Kh, b = c(d, e); while (Bh);
|
|
21361
21562
|
Ch = null;
|
|
21362
21563
|
Gh = 0;
|
|
21363
21564
|
}
|
|
@@ -21429,9 +21630,7 @@ function Qh(a) {
|
|
|
21429
21630
|
if (void 0 !== e) {
|
|
21430
21631
|
Ch["delete"](c);
|
|
21431
21632
|
var f = b.memoizedState;
|
|
21432
|
-
do
|
|
21433
|
-
f = a(f, e.action), e = e.next;
|
|
21434
|
-
} while (null !== e);
|
|
21633
|
+
do f = a(f, e.action), e = e.next; while (null !== e);
|
|
21435
21634
|
of(f, b.memoizedState) || (wg = !0);
|
|
21436
21635
|
b.memoizedState = f;
|
|
21437
21636
|
b.baseUpdate === c.last && (b.baseState = f);
|
|
@@ -21552,9 +21751,7 @@ function Sh(a, b, c) {
|
|
|
21552
21751
|
eagerState: null,
|
|
21553
21752
|
next: null
|
|
21554
21753
|
}, null === Ch && (Ch = new Map()), c = Ch.get(b), void 0 === c) Ch.set(b, a);else {
|
|
21555
|
-
for (b = c; null !== b.next;)
|
|
21556
|
-
b = b.next;
|
|
21557
|
-
}
|
|
21754
|
+
for (b = c; null !== b.next;) b = b.next;
|
|
21558
21755
|
b.next = a;
|
|
21559
21756
|
}
|
|
21560
21757
|
} else {
|
|
@@ -21789,18 +21986,14 @@ function ii(a) {
|
|
|
21789
21986
|
}
|
|
21790
21987
|
}
|
|
21791
21988
|
function ji(a) {
|
|
21792
|
-
for (a = a["return"]; null !== a && 5 !== a.tag && 3 !== a.tag && 13 !== a.tag;)
|
|
21793
|
-
a = a["return"];
|
|
21794
|
-
}
|
|
21989
|
+
for (a = a["return"]; null !== a && 5 !== a.tag && 3 !== a.tag && 13 !== a.tag;) a = a["return"];
|
|
21795
21990
|
ci = a;
|
|
21796
21991
|
}
|
|
21797
21992
|
function ki(a) {
|
|
21798
21993
|
if (a !== ci) return !1;
|
|
21799
21994
|
if (!ei) return ji(a), ei = !0, !1;
|
|
21800
21995
|
var b = a.type;
|
|
21801
|
-
if (5 !== a.tag || "head" !== b && "body" !== b && !oe(b, a.memoizedProps)) for (b = di; b;)
|
|
21802
|
-
fi(a, b), b = re(b.nextSibling);
|
|
21803
|
-
}
|
|
21996
|
+
if (5 !== a.tag || "head" !== b && "body" !== b && !oe(b, a.memoizedProps)) for (b = di; b;) fi(a, b), b = re(b.nextSibling);
|
|
21804
21997
|
ji(a);
|
|
21805
21998
|
if (13 === a.tag) {
|
|
21806
21999
|
a = a.memoizedState;
|
|
@@ -21941,9 +22134,7 @@ function yi(a, b, c) {
|
|
|
21941
22134
|
g = e.fallback;
|
|
21942
22135
|
e = eh(null, d, 0, null);
|
|
21943
22136
|
e["return"] = b;
|
|
21944
|
-
if (0 === (b.mode & 2)) for (a = null !== b.memoizedState ? b.child.child : b.child, e.child = a; null !== a;)
|
|
21945
|
-
a["return"] = e, a = a.sibling;
|
|
21946
|
-
}
|
|
22137
|
+
if (0 === (b.mode & 2)) for (a = null !== b.memoizedState ? b.child.child : b.child, e.child = a; null !== a;) a["return"] = e, a = a.sibling;
|
|
21947
22138
|
c = eh(g, d, c, null);
|
|
21948
22139
|
c["return"] = b;
|
|
21949
22140
|
e.sibling = c;
|
|
@@ -21962,9 +22153,7 @@ function yi(a, b, c) {
|
|
|
21962
22153
|
e = e.fallback;
|
|
21963
22154
|
c = ah(a, a.pendingProps);
|
|
21964
22155
|
c["return"] = b;
|
|
21965
|
-
if (0 === (b.mode & 2) && (g = null !== b.memoizedState ? b.child.child : b.child, g !== a.child)) for (c.child = g; null !== g;)
|
|
21966
|
-
g["return"] = c, g = g.sibling;
|
|
21967
|
-
}
|
|
22156
|
+
if (0 === (b.mode & 2) && (g = null !== b.memoizedState ? b.child.child : b.child, g !== a.child)) for (c.child = g; null !== g;) g["return"] = c, g = g.sibling;
|
|
21968
22157
|
d = ah(d, e, d.expirationTime);
|
|
21969
22158
|
d["return"] = b;
|
|
21970
22159
|
c.sibling = d;
|
|
@@ -21984,9 +22173,7 @@ function yi(a, b, c) {
|
|
|
21984
22173
|
e["return"] = b;
|
|
21985
22174
|
e.child = a;
|
|
21986
22175
|
null !== a && (a["return"] = e);
|
|
21987
|
-
if (0 === (b.mode & 2)) for (a = null !== b.memoizedState ? b.child.child : b.child, e.child = a; null !== a;)
|
|
21988
|
-
a["return"] = e, a = a.sibling;
|
|
21989
|
-
}
|
|
22176
|
+
if (0 === (b.mode & 2)) for (a = null !== b.memoizedState ? b.child.child : b.child, e.child = a; null !== a;) a["return"] = e, a = a.sibling;
|
|
21990
22177
|
c = eh(g, d, c, null);
|
|
21991
22178
|
c["return"] = b;
|
|
21992
22179
|
e.sibling = c;
|
|
@@ -22044,9 +22231,7 @@ function Bi(a, b, c) {
|
|
|
22044
22231
|
if (0 === (b.mode & 2)) b.memoizedState = null;else switch (e) {
|
|
22045
22232
|
case "forwards":
|
|
22046
22233
|
c = b.child;
|
|
22047
|
-
for (e = null; null !== c;)
|
|
22048
|
-
a = c.alternate, null !== a && null === qh(a) && (e = c), c = c.sibling;
|
|
22049
|
-
}
|
|
22234
|
+
for (e = null; null !== c;) a = c.alternate, null !== a && null === qh(a) && (e = c), c = c.sibling;
|
|
22050
22235
|
c = e;
|
|
22051
22236
|
null === c ? (e = b.child, b.child = null) : (e = c.sibling, c.sibling = null);
|
|
22052
22237
|
Ai(b, !1, e, c, f, b.lastEffect);
|
|
@@ -22085,9 +22270,7 @@ function oi(a, b, c) {
|
|
|
22085
22270
|
a = b.child;
|
|
22086
22271
|
c = ah(a, a.pendingProps, a.expirationTime);
|
|
22087
22272
|
b.child = c;
|
|
22088
|
-
for (c["return"] = b; null !== a.sibling;)
|
|
22089
|
-
a = a.sibling, c = c.sibling = ah(a, a.pendingProps, a.expirationTime), c["return"] = b;
|
|
22090
|
-
}
|
|
22273
|
+
for (c["return"] = b; null !== a.sibling;) a = a.sibling, c = c.sibling = ah(a, a.pendingProps, a.expirationTime), c["return"] = b;
|
|
22091
22274
|
c.sibling = null;
|
|
22092
22275
|
}
|
|
22093
22276
|
return b.child;
|
|
@@ -22150,22 +22333,14 @@ Ji = function Ji(a, b, c, d, e) {
|
|
|
22150
22333
|
Yd(c, d);
|
|
22151
22334
|
var h, k;
|
|
22152
22335
|
c = null;
|
|
22153
|
-
for (h in f) {
|
|
22154
|
-
if (!d.hasOwnProperty(h) && f.hasOwnProperty(h) && null != f[h]) if ("style" === h) for (k in g = f[h], g) {
|
|
22155
|
-
g.hasOwnProperty(k) && (c || (c = {}), c[k] = "");
|
|
22156
|
-
} else "dangerouslySetInnerHTML" !== h && "children" !== h && "suppressContentEditableWarning" !== h && "suppressHydrationWarning" !== h && "autoFocus" !== h && (ia.hasOwnProperty(h) ? a || (a = []) : (a = a || []).push(h, null));
|
|
22157
|
-
}
|
|
22336
|
+
for (h in f) if (!d.hasOwnProperty(h) && f.hasOwnProperty(h) && null != f[h]) if ("style" === h) for (k in g = f[h], g) g.hasOwnProperty(k) && (c || (c = {}), c[k] = "");else "dangerouslySetInnerHTML" !== h && "children" !== h && "suppressContentEditableWarning" !== h && "suppressHydrationWarning" !== h && "autoFocus" !== h && (ia.hasOwnProperty(h) ? a || (a = []) : (a = a || []).push(h, null));
|
|
22158
22337
|
for (h in d) {
|
|
22159
22338
|
var l = d[h];
|
|
22160
22339
|
g = null != f ? f[h] : void 0;
|
|
22161
22340
|
if (d.hasOwnProperty(h) && l !== g && (null != l || null != g)) if ("style" === h) {
|
|
22162
22341
|
if (g) {
|
|
22163
|
-
for (k in g) {
|
|
22164
|
-
|
|
22165
|
-
}
|
|
22166
|
-
for (k in l) {
|
|
22167
|
-
l.hasOwnProperty(k) && g[k] !== l[k] && (c || (c = {}), c[k] = l[k]);
|
|
22168
|
-
}
|
|
22342
|
+
for (k in g) !g.hasOwnProperty(k) || l && l.hasOwnProperty(k) || (c || (c = {}), c[k] = "");
|
|
22343
|
+
for (k in l) l.hasOwnProperty(k) && g[k] !== l[k] && (c || (c = {}), c[k] = l[k]);
|
|
22169
22344
|
} else c || (a || (a = []), a.push(h, c)), c = l;
|
|
22170
22345
|
} else "dangerouslySetInnerHTML" === h ? (l = l ? l.__html : void 0, g = g ? g.__html : void 0, null != l && g !== l && (a = a || []).push(h, "" + l)) : "children" === h ? g === l || "string" !== typeof l && "number" !== typeof l || (a = a || []).push(h, "" + l) : "suppressContentEditableWarning" !== h && "suppressHydrationWarning" !== h && (ia.hasOwnProperty(h) ? (null != l && $d(e, h), a || g === l || (a = [])) : (a = a || []).push(h, l));
|
|
22171
22346
|
}
|
|
@@ -22181,16 +22356,12 @@ function Li(a, b) {
|
|
|
22181
22356
|
switch (a.tailMode) {
|
|
22182
22357
|
case "hidden":
|
|
22183
22358
|
b = a.tail;
|
|
22184
|
-
for (var c = null; null !== b;)
|
|
22185
|
-
null !== b.alternate && (c = b), b = b.sibling;
|
|
22186
|
-
}
|
|
22359
|
+
for (var c = null; null !== b;) null !== b.alternate && (c = b), b = b.sibling;
|
|
22187
22360
|
null === c ? a.tail = null : c.sibling = null;
|
|
22188
22361
|
break;
|
|
22189
22362
|
case "collapsed":
|
|
22190
22363
|
c = a.tail;
|
|
22191
|
-
for (var d = null; null !== c;)
|
|
22192
|
-
null !== c.alternate && (d = c), c = c.sibling;
|
|
22193
|
-
}
|
|
22364
|
+
for (var d = null; null !== c;) null !== c.alternate && (d = c), c = c.sibling;
|
|
22194
22365
|
null === d ? b || null === a.tail ? a.tail = null : a.tail.sibling = null : d.sibling = null;
|
|
22195
22366
|
}
|
|
22196
22367
|
}
|
|
@@ -22454,16 +22625,14 @@ function Xi(a, b, c) {
|
|
|
22454
22625
|
e = !0;
|
|
22455
22626
|
}
|
|
22456
22627
|
if (5 === d.tag || 6 === d.tag) {
|
|
22457
|
-
a: for (var h = a, k = d, l = c, m = k;;) {
|
|
22458
|
-
if (
|
|
22459
|
-
|
|
22460
|
-
|
|
22461
|
-
|
|
22462
|
-
m = m["return"];
|
|
22463
|
-
}
|
|
22464
|
-
m.sibling["return"] = m["return"];
|
|
22465
|
-
m = m.sibling;
|
|
22628
|
+
a: for (var h = a, k = d, l = c, m = k;;) if (Vi(h, m, l), null !== m.child && 4 !== m.tag) m.child["return"] = m, m = m.child;else {
|
|
22629
|
+
if (m === k) break;
|
|
22630
|
+
for (; null === m.sibling;) {
|
|
22631
|
+
if (null === m["return"] || m["return"] === k) break a;
|
|
22632
|
+
m = m["return"];
|
|
22466
22633
|
}
|
|
22634
|
+
m.sibling["return"] = m["return"];
|
|
22635
|
+
m = m.sibling;
|
|
22467
22636
|
}
|
|
22468
22637
|
g ? (h = f, k = d.stateNode, 8 === h.nodeType ? h.parentNode.removeChild(k) : h.removeChild(k)) : f.removeChild(d.stateNode);
|
|
22469
22638
|
} else if (4 === d.tag) {
|
|
@@ -22761,13 +22930,11 @@ function Qj(a, b) {
|
|
|
22761
22930
|
var d = T;
|
|
22762
22931
|
T |= oj;
|
|
22763
22932
|
var e = Uj();
|
|
22764
|
-
do {
|
|
22765
|
-
|
|
22766
|
-
|
|
22767
|
-
|
|
22768
|
-
|
|
22769
|
-
Wj(a, h);
|
|
22770
|
-
}
|
|
22933
|
+
do try {
|
|
22934
|
+
Vj();
|
|
22935
|
+
break;
|
|
22936
|
+
} catch (h) {
|
|
22937
|
+
Wj(a, h);
|
|
22771
22938
|
} while (1);
|
|
22772
22939
|
rg();
|
|
22773
22940
|
T = d;
|
|
@@ -22860,13 +23027,11 @@ function Lj(a) {
|
|
|
22860
23027
|
var c = T;
|
|
22861
23028
|
T |= oj;
|
|
22862
23029
|
var d = Uj();
|
|
22863
|
-
do {
|
|
22864
|
-
|
|
22865
|
-
|
|
22866
|
-
|
|
22867
|
-
|
|
22868
|
-
Wj(a, e);
|
|
22869
|
-
}
|
|
23030
|
+
do try {
|
|
23031
|
+
Zj();
|
|
23032
|
+
break;
|
|
23033
|
+
} catch (e) {
|
|
23034
|
+
Wj(a, e);
|
|
22870
23035
|
} while (1);
|
|
22871
23036
|
rg();
|
|
22872
23037
|
T = c;
|
|
@@ -23065,14 +23230,10 @@ function Jg(a) {
|
|
|
23065
23230
|
a > Aj && (Aj = a);
|
|
23066
23231
|
}
|
|
23067
23232
|
function Zj() {
|
|
23068
|
-
for (; null !== V;)
|
|
23069
|
-
V = fk(V);
|
|
23070
|
-
}
|
|
23233
|
+
for (; null !== V;) V = fk(V);
|
|
23071
23234
|
}
|
|
23072
23235
|
function Vj() {
|
|
23073
|
-
for (; null !== V && !Of();)
|
|
23074
|
-
V = fk(V);
|
|
23075
|
-
}
|
|
23236
|
+
for (; null !== V && !Of();) V = fk(V);
|
|
23076
23237
|
}
|
|
23077
23238
|
function fk(a) {
|
|
23078
23239
|
var b = gk(a.alternate, a, W);
|
|
@@ -23135,9 +23296,7 @@ function ek(a) {
|
|
|
23135
23296
|
break;
|
|
23136
23297
|
case "video":
|
|
23137
23298
|
case "audio":
|
|
23138
|
-
for (h = 0; h < dc.length; h++)
|
|
23139
|
-
F(dc[h], d);
|
|
23140
|
-
}
|
|
23299
|
+
for (h = 0; h < dc.length; h++) F(dc[h], d);
|
|
23141
23300
|
break;
|
|
23142
23301
|
case "source":
|
|
23143
23302
|
F("error", d);
|
|
@@ -23172,9 +23331,7 @@ function ek(a) {
|
|
|
23172
23331
|
}
|
|
23173
23332
|
Yd(c, k);
|
|
23174
23333
|
h = null;
|
|
23175
|
-
for (f in k)
|
|
23176
|
-
k.hasOwnProperty(f) && (g = k[f], "children" === f ? "string" === typeof g ? d.textContent !== g && (h = ["children", g]) : "number" === typeof g && d.textContent !== "" + g && (h = ["children", "" + g]) : ia.hasOwnProperty(f) && null != g && $d(l, f));
|
|
23177
|
-
}
|
|
23334
|
+
for (f in k) k.hasOwnProperty(f) && (g = k[f], "children" === f ? "string" === typeof g ? d.textContent !== g && (h = ["children", g]) : "number" === typeof g && d.textContent !== "" + g && (h = ["children", "" + g]) : ia.hasOwnProperty(f) && null != g && $d(l, f));
|
|
23178
23335
|
switch (c) {
|
|
23179
23336
|
case "input":
|
|
23180
23337
|
yb(d);
|
|
@@ -23221,9 +23378,7 @@ function ek(a) {
|
|
|
23221
23378
|
break;
|
|
23222
23379
|
case "video":
|
|
23223
23380
|
case "audio":
|
|
23224
|
-
for (d = 0; d < dc.length; d++)
|
|
23225
|
-
F(dc[d], k);
|
|
23226
|
-
}
|
|
23381
|
+
for (d = 0; d < dc.length; d++) F(dc[d], k);
|
|
23227
23382
|
d = c;
|
|
23228
23383
|
break;
|
|
23229
23384
|
case "source":
|
|
@@ -23279,11 +23434,9 @@ function ek(a) {
|
|
|
23279
23434
|
g = l;
|
|
23280
23435
|
var y = k,
|
|
23281
23436
|
H = d;
|
|
23282
|
-
for (h in H) {
|
|
23283
|
-
|
|
23284
|
-
|
|
23285
|
-
"style" === h ? Wd(y, z) : "dangerouslySetInnerHTML" === h ? (z = z ? z.__html : void 0, null != z && Sb(y, z)) : "children" === h ? "string" === typeof z ? ("textarea" !== g || "" !== z) && Tb(y, z) : "number" === typeof z && Tb(y, "" + z) : "suppressContentEditableWarning" !== h && "suppressHydrationWarning" !== h && "autoFocus" !== h && (ia.hasOwnProperty(h) ? null != z && $d(m, h) : null != z && vb(y, h, z, C));
|
|
23286
|
-
}
|
|
23437
|
+
for (h in H) if (H.hasOwnProperty(h)) {
|
|
23438
|
+
var z = H[h];
|
|
23439
|
+
"style" === h ? Wd(y, z) : "dangerouslySetInnerHTML" === h ? (z = z ? z.__html : void 0, null != z && Sb(y, z)) : "children" === h ? "string" === typeof z ? ("textarea" !== g || "" !== z) && Tb(y, z) : "number" === typeof z && Tb(y, "" + z) : "suppressContentEditableWarning" !== h && "suppressHydrationWarning" !== h && "autoFocus" !== h && (ia.hasOwnProperty(h) ? null != z && $d(m, h) : null != z && vb(y, h, z, C));
|
|
23287
23440
|
}
|
|
23288
23441
|
switch (l) {
|
|
23289
23442
|
case "input":
|
|
@@ -23375,13 +23528,11 @@ function ek(a) {
|
|
|
23375
23528
|
null === e.lastEffect && (b.firstEffect = null);
|
|
23376
23529
|
b.lastEffect = e.lastEffect;
|
|
23377
23530
|
e = d;
|
|
23378
|
-
for (f = b.child; null !== f;) {
|
|
23379
|
-
|
|
23380
|
-
|
|
23381
|
-
|
|
23382
|
-
|
|
23383
|
-
}), f = f.sibling;
|
|
23384
|
-
}
|
|
23531
|
+
for (f = b.child; null !== f;) d = f, c = e, d.effectTag &= 2, d.nextEffect = null, d.firstEffect = null, d.lastEffect = null, k = d.alternate, null === k ? (d.childExpirationTime = 0, d.expirationTime = c, d.child = null, d.memoizedProps = null, d.memoizedState = null, d.updateQueue = null, d.dependencies = null) : (d.childExpirationTime = k.childExpirationTime, d.expirationTime = k.expirationTime, d.child = k.child, d.memoizedProps = k.memoizedProps, d.memoizedState = k.memoizedState, d.updateQueue = k.updateQueue, c = k.dependencies, d.dependencies = null === c ? null : {
|
|
23532
|
+
expirationTime: c.expirationTime,
|
|
23533
|
+
firstContext: c.firstContext,
|
|
23534
|
+
responders: c.responders
|
|
23535
|
+
}), f = f.sibling;
|
|
23385
23536
|
I(M, M.current & 1 | 2);
|
|
23386
23537
|
b = b.child;
|
|
23387
23538
|
break a;
|
|
@@ -23425,9 +23576,7 @@ function ek(a) {
|
|
|
23425
23576
|
e = V;
|
|
23426
23577
|
if (1 === W || 1 !== e.childExpirationTime) {
|
|
23427
23578
|
f = 0;
|
|
23428
|
-
for (d = e.child; null !== d;)
|
|
23429
|
-
c = d.expirationTime, k = d.childExpirationTime, c > f && (f = c), k > f && (f = k), d = d.sibling;
|
|
23430
|
-
}
|
|
23579
|
+
for (d = e.child; null !== d;) c = d.expirationTime, k = d.childExpirationTime, c > f && (f = c), k > f && (f = k), d = d.sibling;
|
|
23431
23580
|
e.childExpirationTime = f;
|
|
23432
23581
|
}
|
|
23433
23582
|
if (null !== b) return b;
|
|
@@ -23541,58 +23690,54 @@ function ik(a, b) {
|
|
|
23541
23690
|
};
|
|
23542
23691
|
Ld = !1;
|
|
23543
23692
|
Y = e;
|
|
23544
|
-
do {
|
|
23545
|
-
|
|
23546
|
-
|
|
23547
|
-
|
|
23548
|
-
|
|
23549
|
-
|
|
23550
|
-
Y = Y.nextEffect;
|
|
23551
|
-
}
|
|
23693
|
+
do try {
|
|
23694
|
+
jk();
|
|
23695
|
+
} catch (Db) {
|
|
23696
|
+
if (null === Y) throw Error(u(330));
|
|
23697
|
+
Ri(Y, Db);
|
|
23698
|
+
Y = Y.nextEffect;
|
|
23552
23699
|
} while (null !== Y);
|
|
23553
23700
|
Y = e;
|
|
23554
|
-
do {
|
|
23555
|
-
|
|
23556
|
-
|
|
23557
|
-
|
|
23558
|
-
|
|
23559
|
-
|
|
23560
|
-
|
|
23561
|
-
|
|
23562
|
-
|
|
23563
|
-
null !== v && ("function" === typeof v ? v(null) : v.current = null);
|
|
23564
|
-
}
|
|
23701
|
+
do try {
|
|
23702
|
+
for (g = a, h = b; null !== Y;) {
|
|
23703
|
+
var p = Y.effectTag;
|
|
23704
|
+
p & 16 && Tb(Y.stateNode, "");
|
|
23705
|
+
if (p & 128) {
|
|
23706
|
+
var t = Y.alternate;
|
|
23707
|
+
if (null !== t) {
|
|
23708
|
+
var v = t.ref;
|
|
23709
|
+
null !== v && ("function" === typeof v ? v(null) : v.current = null);
|
|
23565
23710
|
}
|
|
23566
|
-
switch (p & 1038) {
|
|
23567
|
-
case 2:
|
|
23568
|
-
$i(Y);
|
|
23569
|
-
Y.effectTag &= -3;
|
|
23570
|
-
break;
|
|
23571
|
-
case 6:
|
|
23572
|
-
$i(Y);
|
|
23573
|
-
Y.effectTag &= -3;
|
|
23574
|
-
aj(Y.alternate, Y);
|
|
23575
|
-
break;
|
|
23576
|
-
case 1024:
|
|
23577
|
-
Y.effectTag &= -1025;
|
|
23578
|
-
break;
|
|
23579
|
-
case 1028:
|
|
23580
|
-
Y.effectTag &= -1025;
|
|
23581
|
-
aj(Y.alternate, Y);
|
|
23582
|
-
break;
|
|
23583
|
-
case 4:
|
|
23584
|
-
aj(Y.alternate, Y);
|
|
23585
|
-
break;
|
|
23586
|
-
case 8:
|
|
23587
|
-
l = Y, Xi(g, l, h), Yi(l);
|
|
23588
|
-
}
|
|
23589
|
-
Y = Y.nextEffect;
|
|
23590
23711
|
}
|
|
23591
|
-
|
|
23592
|
-
|
|
23593
|
-
|
|
23712
|
+
switch (p & 1038) {
|
|
23713
|
+
case 2:
|
|
23714
|
+
$i(Y);
|
|
23715
|
+
Y.effectTag &= -3;
|
|
23716
|
+
break;
|
|
23717
|
+
case 6:
|
|
23718
|
+
$i(Y);
|
|
23719
|
+
Y.effectTag &= -3;
|
|
23720
|
+
aj(Y.alternate, Y);
|
|
23721
|
+
break;
|
|
23722
|
+
case 1024:
|
|
23723
|
+
Y.effectTag &= -1025;
|
|
23724
|
+
break;
|
|
23725
|
+
case 1028:
|
|
23726
|
+
Y.effectTag &= -1025;
|
|
23727
|
+
aj(Y.alternate, Y);
|
|
23728
|
+
break;
|
|
23729
|
+
case 4:
|
|
23730
|
+
aj(Y.alternate, Y);
|
|
23731
|
+
break;
|
|
23732
|
+
case 8:
|
|
23733
|
+
l = Y, Xi(g, l, h), Yi(l);
|
|
23734
|
+
}
|
|
23594
23735
|
Y = Y.nextEffect;
|
|
23595
23736
|
}
|
|
23737
|
+
} catch (Db) {
|
|
23738
|
+
if (null === Y) throw Error(u(330));
|
|
23739
|
+
Ri(Y, Db);
|
|
23740
|
+
Y = Y.nextEffect;
|
|
23596
23741
|
} while (null !== Y);
|
|
23597
23742
|
v = me;
|
|
23598
23743
|
t = fe();
|
|
@@ -23601,121 +23746,113 @@ function ik(a, b) {
|
|
|
23601
23746
|
if (t !== p && p && p.ownerDocument && ee(p.ownerDocument.documentElement, p)) {
|
|
23602
23747
|
null !== h && ge(p) && (t = h.start, v = h.end, void 0 === v && (v = t), "selectionStart" in p ? (p.selectionStart = t, p.selectionEnd = Math.min(v, p.value.length)) : (v = (t = p.ownerDocument || document) && t.defaultView || window, v.getSelection && (v = v.getSelection(), l = p.textContent.length, g = Math.min(h.start, l), h = void 0 === h.end ? g : Math.min(h.end, l), !v.extend && g > h && (l = h, h = g, g = l), l = de(p, g), m = de(p, h), l && m && (1 !== v.rangeCount || v.anchorNode !== l.node || v.anchorOffset !== l.offset || v.focusNode !== m.node || v.focusOffset !== m.offset) && (t = t.createRange(), t.setStart(l.node, l.offset), v.removeAllRanges(), g > h ? (v.addRange(t), v.extend(m.node, m.offset)) : (t.setEnd(m.node, m.offset), v.addRange(t))))));
|
|
23603
23748
|
t = [];
|
|
23604
|
-
for (v = p; v = v.parentNode;) {
|
|
23605
|
-
|
|
23606
|
-
|
|
23607
|
-
|
|
23608
|
-
|
|
23609
|
-
});
|
|
23610
|
-
}
|
|
23749
|
+
for (v = p; v = v.parentNode;) 1 === v.nodeType && t.push({
|
|
23750
|
+
element: v,
|
|
23751
|
+
left: v.scrollLeft,
|
|
23752
|
+
top: v.scrollTop
|
|
23753
|
+
});
|
|
23611
23754
|
"function" === typeof p.focus && p.focus();
|
|
23612
|
-
for (p = 0; p < t.length; p++)
|
|
23613
|
-
v = t[p], v.element.scrollLeft = v.left, v.element.scrollTop = v.top;
|
|
23614
|
-
}
|
|
23755
|
+
for (p = 0; p < t.length; p++) v = t[p], v.element.scrollLeft = v.left, v.element.scrollTop = v.top;
|
|
23615
23756
|
}
|
|
23616
23757
|
me = null;
|
|
23617
23758
|
Ld = !!le;
|
|
23618
23759
|
le = null;
|
|
23619
23760
|
a.current = c;
|
|
23620
23761
|
Y = e;
|
|
23621
|
-
do {
|
|
23622
|
-
|
|
23623
|
-
|
|
23624
|
-
|
|
23625
|
-
|
|
23626
|
-
|
|
23627
|
-
|
|
23628
|
-
|
|
23629
|
-
|
|
23630
|
-
|
|
23631
|
-
|
|
23632
|
-
|
|
23633
|
-
|
|
23634
|
-
|
|
23635
|
-
|
|
23636
|
-
|
|
23637
|
-
|
|
23638
|
-
|
|
23639
|
-
|
|
23762
|
+
do try {
|
|
23763
|
+
for (p = d; null !== Y;) {
|
|
23764
|
+
var Dh = Y.effectTag;
|
|
23765
|
+
if (Dh & 36) {
|
|
23766
|
+
var cc = Y.alternate;
|
|
23767
|
+
t = Y;
|
|
23768
|
+
v = p;
|
|
23769
|
+
switch (t.tag) {
|
|
23770
|
+
case 0:
|
|
23771
|
+
case 11:
|
|
23772
|
+
case 15:
|
|
23773
|
+
Ui(16, 32, t);
|
|
23774
|
+
break;
|
|
23775
|
+
case 1:
|
|
23776
|
+
var dd = t.stateNode;
|
|
23777
|
+
if (t.effectTag & 4) if (null === cc) dd.componentDidMount();else {
|
|
23778
|
+
var hk = t.elementType === t.type ? cc.memoizedProps : mg(t.type, cc.memoizedProps);
|
|
23779
|
+
dd.componentDidUpdate(hk, cc.memoizedState, dd.__reactInternalSnapshotBeforeUpdate);
|
|
23780
|
+
}
|
|
23781
|
+
var Eh = t.updateQueue;
|
|
23782
|
+
null !== Eh && Kg(t, Eh, dd, v);
|
|
23783
|
+
break;
|
|
23784
|
+
case 3:
|
|
23785
|
+
var Fh = t.updateQueue;
|
|
23786
|
+
if (null !== Fh) {
|
|
23787
|
+
g = null;
|
|
23788
|
+
if (null !== t.child) switch (t.child.tag) {
|
|
23789
|
+
case 5:
|
|
23790
|
+
g = t.child.stateNode;
|
|
23791
|
+
break;
|
|
23792
|
+
case 1:
|
|
23793
|
+
g = t.child.stateNode;
|
|
23640
23794
|
}
|
|
23641
|
-
|
|
23642
|
-
|
|
23643
|
-
|
|
23644
|
-
|
|
23645
|
-
|
|
23646
|
-
|
|
23647
|
-
|
|
23648
|
-
|
|
23649
|
-
|
|
23650
|
-
|
|
23651
|
-
|
|
23652
|
-
|
|
23653
|
-
|
|
23795
|
+
Kg(t, Fh, g, v);
|
|
23796
|
+
}
|
|
23797
|
+
break;
|
|
23798
|
+
case 5:
|
|
23799
|
+
var xk = t.stateNode;
|
|
23800
|
+
null === cc && t.effectTag & 4 && ne(t.type, t.memoizedProps) && xk.focus();
|
|
23801
|
+
break;
|
|
23802
|
+
case 6:
|
|
23803
|
+
break;
|
|
23804
|
+
case 4:
|
|
23805
|
+
break;
|
|
23806
|
+
case 12:
|
|
23807
|
+
break;
|
|
23808
|
+
case 13:
|
|
23809
|
+
if (null === t.memoizedState) {
|
|
23810
|
+
var Di = t.alternate;
|
|
23811
|
+
if (null !== Di) {
|
|
23812
|
+
var Ei = Di.memoizedState;
|
|
23813
|
+
if (null !== Ei) {
|
|
23814
|
+
var Fi = Ei.dehydrated;
|
|
23815
|
+
null !== Fi && Lc(Fi);
|
|
23654
23816
|
}
|
|
23655
|
-
Kg(t, Fh, g, v);
|
|
23656
23817
|
}
|
|
23657
|
-
|
|
23818
|
+
}
|
|
23819
|
+
break;
|
|
23820
|
+
case 19:
|
|
23821
|
+
case 17:
|
|
23822
|
+
case 20:
|
|
23823
|
+
case 21:
|
|
23824
|
+
break;
|
|
23825
|
+
default:
|
|
23826
|
+
throw Error(u(163));
|
|
23827
|
+
}
|
|
23828
|
+
}
|
|
23829
|
+
if (Dh & 128) {
|
|
23830
|
+
t = void 0;
|
|
23831
|
+
var wd = Y.ref;
|
|
23832
|
+
if (null !== wd) {
|
|
23833
|
+
var Gi = Y.stateNode;
|
|
23834
|
+
switch (Y.tag) {
|
|
23658
23835
|
case 5:
|
|
23659
|
-
|
|
23660
|
-
null === cc && t.effectTag & 4 && ne(t.type, t.memoizedProps) && xk.focus();
|
|
23661
|
-
break;
|
|
23662
|
-
case 6:
|
|
23663
|
-
break;
|
|
23664
|
-
case 4:
|
|
23665
|
-
break;
|
|
23666
|
-
case 12:
|
|
23667
|
-
break;
|
|
23668
|
-
case 13:
|
|
23669
|
-
if (null === t.memoizedState) {
|
|
23670
|
-
var Di = t.alternate;
|
|
23671
|
-
if (null !== Di) {
|
|
23672
|
-
var Ei = Di.memoizedState;
|
|
23673
|
-
if (null !== Ei) {
|
|
23674
|
-
var Fi = Ei.dehydrated;
|
|
23675
|
-
null !== Fi && Lc(Fi);
|
|
23676
|
-
}
|
|
23677
|
-
}
|
|
23678
|
-
}
|
|
23679
|
-
break;
|
|
23680
|
-
case 19:
|
|
23681
|
-
case 17:
|
|
23682
|
-
case 20:
|
|
23683
|
-
case 21:
|
|
23836
|
+
t = Gi;
|
|
23684
23837
|
break;
|
|
23685
23838
|
default:
|
|
23686
|
-
|
|
23687
|
-
}
|
|
23688
|
-
}
|
|
23689
|
-
if (Dh & 128) {
|
|
23690
|
-
t = void 0;
|
|
23691
|
-
var wd = Y.ref;
|
|
23692
|
-
if (null !== wd) {
|
|
23693
|
-
var Gi = Y.stateNode;
|
|
23694
|
-
switch (Y.tag) {
|
|
23695
|
-
case 5:
|
|
23696
|
-
t = Gi;
|
|
23697
|
-
break;
|
|
23698
|
-
default:
|
|
23699
|
-
t = Gi;
|
|
23700
|
-
}
|
|
23701
|
-
"function" === typeof wd ? wd(t) : wd.current = t;
|
|
23839
|
+
t = Gi;
|
|
23702
23840
|
}
|
|
23841
|
+
"function" === typeof wd ? wd(t) : wd.current = t;
|
|
23703
23842
|
}
|
|
23704
|
-
Y = Y.nextEffect;
|
|
23705
23843
|
}
|
|
23706
|
-
} catch (Db) {
|
|
23707
|
-
if (null === Y) throw Error(u(330));
|
|
23708
|
-
Ri(Y, Db);
|
|
23709
23844
|
Y = Y.nextEffect;
|
|
23710
23845
|
}
|
|
23846
|
+
} catch (Db) {
|
|
23847
|
+
if (null === Y) throw Error(u(330));
|
|
23848
|
+
Ri(Y, Db);
|
|
23849
|
+
Y = Y.nextEffect;
|
|
23711
23850
|
} while (null !== Y);
|
|
23712
23851
|
Y = null;
|
|
23713
23852
|
Yf();
|
|
23714
23853
|
T = f;
|
|
23715
23854
|
} else a.current = c;
|
|
23716
|
-
if (Dj) Dj = !1, Ej = a, Fj = b;else for (Y = e; null !== Y;)
|
|
23717
|
-
b = Y.nextEffect, Y.nextEffect = null, Y = b;
|
|
23718
|
-
}
|
|
23855
|
+
if (Dj) Dj = !1, Ej = a, Fj = b;else for (Y = e; null !== Y;) b = Y.nextEffect, Y.nextEffect = null, Y = b;
|
|
23719
23856
|
b = a.firstPendingTime;
|
|
23720
23857
|
0 === b && (jj = null);
|
|
23721
23858
|
1073741823 === b ? a === Ij ? Hj++ : (Hj = 0, Ij = a) : Hj = 0;
|
|
@@ -23931,9 +24068,7 @@ gk = function gk(a, b, c) {
|
|
|
23931
24068
|
d = b.memoizedState.element;
|
|
23932
24069
|
if (d === e) li(), b = oi(a, b, c);else {
|
|
23933
24070
|
if (e = b.stateNode.hydrate) di = re(b.stateNode.containerInfo.firstChild), ci = b, e = ei = !0;
|
|
23934
|
-
if (e) for (c = gh(b, null, d, c), b.child = c; c;)
|
|
23935
|
-
c.effectTag = c.effectTag & -3 | 1024, c = c.sibling;
|
|
23936
|
-
} else R(a, b, d, c), li();
|
|
24071
|
+
if (e) for (c = gh(b, null, d, c), b.child = c; c;) c.effectTag = c.effectTag & -3 | 1024, c = c.sibling;else R(a, b, d, c), li();
|
|
23937
24072
|
b = b.child;
|
|
23938
24073
|
}
|
|
23939
24074
|
return b;
|
|
@@ -24294,9 +24429,7 @@ Za = function Za(a, b, c) {
|
|
|
24294
24429
|
Eb(a, c);
|
|
24295
24430
|
b = c.name;
|
|
24296
24431
|
if ("radio" === c.type && null != b) {
|
|
24297
|
-
for (c = a; c.parentNode;)
|
|
24298
|
-
c = c.parentNode;
|
|
24299
|
-
}
|
|
24432
|
+
for (c = a; c.parentNode;) c = c.parentNode;
|
|
24300
24433
|
c = c.querySelectorAll("input[name=" + JSON.stringify("" + b) + '][type="radio"]');
|
|
24301
24434
|
for (b = 0; b < c.length; b++) {
|
|
24302
24435
|
var d = c[b];
|
|
@@ -24361,9 +24494,7 @@ hb = function hb(a, b) {
|
|
|
24361
24494
|
};
|
|
24362
24495
|
function zk(a, b) {
|
|
24363
24496
|
b || (b = a ? 9 === a.nodeType ? a.documentElement : a.firstChild : null, b = !(!b || 1 !== b.nodeType || !b.hasAttribute("data-reactroot")));
|
|
24364
|
-
if (!b) for (var c; c = a.lastChild;)
|
|
24365
|
-
a.removeChild(c);
|
|
24366
|
-
}
|
|
24497
|
+
if (!b) for (var c; c = a.lastChild;) a.removeChild(c);
|
|
24367
24498
|
return new wk(a, 0, b ? {
|
|
24368
24499
|
hydrate: !0
|
|
24369
24500
|
} : void 0);
|
|
@@ -24545,11 +24676,9 @@ function checkDCE() {
|
|
|
24545
24676
|
if (r.r(n), Object.defineProperty(n, "default", {
|
|
24546
24677
|
enumerable: !0,
|
|
24547
24678
|
value: e
|
|
24548
|
-
}), 2 & t && "string" != typeof e) for (var u in e) {
|
|
24549
|
-
|
|
24550
|
-
|
|
24551
|
-
}.bind(null, u));
|
|
24552
|
-
}
|
|
24679
|
+
}), 2 & t && "string" != typeof e) for (var u in e) r.d(n, u, function (t) {
|
|
24680
|
+
return e[t];
|
|
24681
|
+
}.bind(null, u));
|
|
24553
24682
|
return n;
|
|
24554
24683
|
}, r.n = function (e) {
|
|
24555
24684
|
var t = e && e.__esModule ? function () {
|
|
@@ -24699,9 +24828,7 @@ function checkDCE() {
|
|
|
24699
24828
|
"\\": 220,
|
|
24700
24829
|
"]": 221,
|
|
24701
24830
|
"'": 222
|
|
24702
|
-
}, i = 1; i < 20; i++)
|
|
24703
|
-
a["f" + i] = 111 + i;
|
|
24704
|
-
}
|
|
24831
|
+
}, i = 1; i < 20; i++) a["f" + i] = 111 + i;
|
|
24705
24832
|
function s(e, t, r) {
|
|
24706
24833
|
t && !("byKey" in t) && (r = t, t = null), Array.isArray(e) || (e = [e]);
|
|
24707
24834
|
var n = e.map(function (e) {
|
|
@@ -24719,9 +24846,7 @@ function checkDCE() {
|
|
|
24719
24846
|
n = {},
|
|
24720
24847
|
o = (e = e.replace("++", "+add")).split("+"),
|
|
24721
24848
|
a = o.length;
|
|
24722
|
-
for (var i in u)
|
|
24723
|
-
n[u[i]] = !1;
|
|
24724
|
-
}
|
|
24849
|
+
for (var i in u) n[u[i]] = !1;
|
|
24725
24850
|
var s = !0,
|
|
24726
24851
|
c = !1,
|
|
24727
24852
|
l = void 0;
|
|
@@ -24953,9 +25078,7 @@ function checkDCE() {
|
|
|
24953
25078
|
return !1 !== o(e) && (void 0 === (t = e.constructor) || !1 !== o(r = t.prototype) && !1 !== r.hasOwnProperty("isPrototypeOf"));
|
|
24954
25079
|
}
|
|
24955
25080
|
function i(e) {
|
|
24956
|
-
for (var t = arguments.length, r = Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
|
|
24957
|
-
r[n - 1] = arguments[n];
|
|
24958
|
-
}
|
|
25081
|
+
for (var t = arguments.length, r = Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++) r[n - 1] = arguments[n];
|
|
24959
25082
|
throw Error("[Immer] minified error nr: " + e + (r.length ? " " + r.map(function (e) {
|
|
24960
25083
|
return "'" + e + "'";
|
|
24961
25084
|
}).join(",") : "") + ". Find the full error at: https://bit.ly/3cXEKWf");
|
|
@@ -25259,9 +25382,7 @@ function checkDCE() {
|
|
|
25259
25382
|
return function (e) {
|
|
25260
25383
|
var t = this;
|
|
25261
25384
|
void 0 === e && (e = u);
|
|
25262
|
-
for (var n = arguments.length, a = Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++)
|
|
25263
|
-
a[i - 1] = arguments[i];
|
|
25264
|
-
}
|
|
25385
|
+
for (var n = arguments.length, a = Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++) a[i - 1] = arguments[i];
|
|
25265
25386
|
return o.produce(e, function (e) {
|
|
25266
25387
|
var n;
|
|
25267
25388
|
return (n = r).call.apply(n, [t, e].concat(a));
|
|
@@ -25291,9 +25412,7 @@ function checkDCE() {
|
|
|
25291
25412
|
i(21, e);
|
|
25292
25413
|
}, this.produceWithPatches = function (e, r) {
|
|
25293
25414
|
return "function" == typeof e ? function (r) {
|
|
25294
|
-
for (var n = arguments.length, u = Array(n > 1 ? n - 1 : 0), o = 1; o < n; o++)
|
|
25295
|
-
u[o - 1] = arguments[o];
|
|
25296
|
-
}
|
|
25415
|
+
for (var n = arguments.length, u = Array(n > 1 ? n - 1 : 0), o = 1; o < n; o++) u[o - 1] = arguments[o];
|
|
25297
25416
|
return t.produceWithPatches(r, function (t) {
|
|
25298
25417
|
return e.apply(void 0, [t].concat(u));
|
|
25299
25418
|
});
|
|
@@ -25658,16 +25777,12 @@ function checkDCE() {
|
|
|
25658
25777
|
n,
|
|
25659
25778
|
u = {},
|
|
25660
25779
|
o = Object.keys(e);
|
|
25661
|
-
for (n = 0; n < o.length; n++)
|
|
25662
|
-
r = o[n], t.indexOf(r) >= 0 || (u[r] = e[r]);
|
|
25663
|
-
}
|
|
25780
|
+
for (n = 0; n < o.length; n++) r = o[n], t.indexOf(r) >= 0 || (u[r] = e[r]);
|
|
25664
25781
|
return u;
|
|
25665
25782
|
}(e, t);
|
|
25666
25783
|
if (Object.getOwnPropertySymbols) {
|
|
25667
25784
|
var o = Object.getOwnPropertySymbols(e);
|
|
25668
|
-
for (n = 0; n < o.length; n++)
|
|
25669
|
-
r = o[n], t.indexOf(r) >= 0 || Object.prototype.propertyIsEnumerable.call(e, r) && (u[r] = e[r]);
|
|
25670
|
-
}
|
|
25785
|
+
for (n = 0; n < o.length; n++) r = o[n], t.indexOf(r) >= 0 || Object.prototype.propertyIsEnumerable.call(e, r) && (u[r] = e[r]);
|
|
25671
25786
|
}
|
|
25672
25787
|
return u;
|
|
25673
25788
|
}
|
|
@@ -25689,7 +25804,7 @@ function checkDCE() {
|
|
|
25689
25804
|
var c = s.codePointAt(0);
|
|
25690
25805
|
if (!c) break;
|
|
25691
25806
|
var l = Ie(s, c);
|
|
25692
|
-
if ((_ref = r ? [o, l] : [l, u], _ref2 = _slicedToArray(_ref, 2), u = _ref2[0], o = _ref2[1]
|
|
25807
|
+
if ((_ref = r ? [o, l] : [l, u], _ref2 = _slicedToArray(_ref, 2), u = _ref2[0], o = _ref2[1]), _e(u, Be.ZWJ) && _e(o, Be.ExtPict) && !qe(r ? e.substring(0, a) : e.substring(0, e.length - a))) break;
|
|
25693
25808
|
if (_e(u, Be.RI) && _e(o, Be.RI) && !(i = null !== i ? !i : !!r || Ue(e.substring(0, e.length - a)))) break;
|
|
25694
25809
|
if (u !== Be.None && o !== Be.None && We(u, o)) break;
|
|
25695
25810
|
a += s.length;
|
|
@@ -25724,44 +25839,42 @@ function checkDCE() {
|
|
|
25724
25839
|
}
|
|
25725
25840
|
return !be.test(t);
|
|
25726
25841
|
},
|
|
25727
|
-
we = /*#__PURE__*/
|
|
25842
|
+
we = /*#__PURE__*/_regeneratorRuntime().mark(function we(e) {
|
|
25728
25843
|
var t, r, n, u;
|
|
25729
|
-
return
|
|
25730
|
-
while (1) {
|
|
25731
|
-
|
|
25732
|
-
|
|
25733
|
-
|
|
25734
|
-
|
|
25735
|
-
|
|
25736
|
-
_context.next = 15;
|
|
25737
|
-
break;
|
|
25738
|
-
}
|
|
25739
|
-
n = e.charAt(t - r);
|
|
25740
|
-
if (!xe(n.charCodeAt(0))) {
|
|
25741
|
-
_context.next = 10;
|
|
25742
|
-
break;
|
|
25743
|
-
}
|
|
25744
|
-
u = e.charAt(t - r - 1);
|
|
25745
|
-
if (!Oe(u.charCodeAt(0))) {
|
|
25746
|
-
_context.next = 10;
|
|
25747
|
-
break;
|
|
25748
|
-
}
|
|
25749
|
-
_context.next = 8;
|
|
25750
|
-
return u + n;
|
|
25751
|
-
case 8:
|
|
25752
|
-
r++;
|
|
25753
|
-
return _context.abrupt("continue", 12);
|
|
25754
|
-
case 10:
|
|
25755
|
-
_context.next = 12;
|
|
25756
|
-
return n;
|
|
25757
|
-
case 12:
|
|
25758
|
-
r++;
|
|
25759
|
-
_context.next = 1;
|
|
25844
|
+
return _regeneratorRuntime().wrap(function we$(_context) {
|
|
25845
|
+
while (1) switch (_context.prev = _context.next) {
|
|
25846
|
+
case 0:
|
|
25847
|
+
t = e.length - 1, r = 0;
|
|
25848
|
+
case 1:
|
|
25849
|
+
if (!(r < e.length)) {
|
|
25850
|
+
_context.next = 15;
|
|
25760
25851
|
break;
|
|
25761
|
-
|
|
25762
|
-
|
|
25763
|
-
|
|
25764
|
-
|
|
25852
|
+
}
|
|
25853
|
+
n = e.charAt(t - r);
|
|
25854
|
+
if (!xe(n.charCodeAt(0))) {
|
|
25855
|
+
_context.next = 10;
|
|
25856
|
+
break;
|
|
25857
|
+
}
|
|
25858
|
+
u = e.charAt(t - r - 1);
|
|
25859
|
+
if (!Oe(u.charCodeAt(0))) {
|
|
25860
|
+
_context.next = 10;
|
|
25861
|
+
break;
|
|
25862
|
+
}
|
|
25863
|
+
_context.next = 8;
|
|
25864
|
+
return u + n;
|
|
25865
|
+
case 8:
|
|
25866
|
+
r++;
|
|
25867
|
+
return _context.abrupt("continue", 12);
|
|
25868
|
+
case 10:
|
|
25869
|
+
_context.next = 12;
|
|
25870
|
+
return n;
|
|
25871
|
+
case 12:
|
|
25872
|
+
r++;
|
|
25873
|
+
_context.next = 1;
|
|
25874
|
+
break;
|
|
25875
|
+
case 15:
|
|
25876
|
+
case "end":
|
|
25877
|
+
return _context.stop();
|
|
25765
25878
|
}
|
|
25766
25879
|
}, we);
|
|
25767
25880
|
}),
|
|
@@ -25826,9 +25939,7 @@ function checkDCE() {
|
|
|
25826
25939
|
return Ke(e) && e[r] === t;
|
|
25827
25940
|
},
|
|
25828
25941
|
matches: function matches(e, t) {
|
|
25829
|
-
for (var r in t)
|
|
25830
|
-
if ("children" !== r && e[r] !== t[r]) return !1;
|
|
25831
|
-
}
|
|
25942
|
+
for (var r in t) if ("children" !== r && e[r] !== t[r]) return !1;
|
|
25832
25943
|
return !0;
|
|
25833
25944
|
}
|
|
25834
25945
|
},
|
|
@@ -26064,7 +26175,7 @@ function checkDCE() {
|
|
|
26064
26175
|
n = Qe.path(e, t, r);
|
|
26065
26176
|
return [ut.leaf(e, n), n];
|
|
26066
26177
|
},
|
|
26067
|
-
levels: /*#__PURE__*/
|
|
26178
|
+
levels: /*#__PURE__*/_regeneratorRuntime().mark(function levels(e) {
|
|
26068
26179
|
var t,
|
|
26069
26180
|
_t$at2,
|
|
26070
26181
|
r,
|
|
@@ -26081,53 +26192,51 @@ function checkDCE() {
|
|
|
26081
26192
|
s,
|
|
26082
26193
|
c,
|
|
26083
26194
|
_args2 = arguments;
|
|
26084
|
-
return
|
|
26085
|
-
while (1) {
|
|
26086
|
-
|
|
26087
|
-
|
|
26088
|
-
|
|
26089
|
-
|
|
26090
|
-
|
|
26091
|
-
|
|
26092
|
-
_context2.next = 22;
|
|
26093
|
-
break;
|
|
26094
|
-
}
|
|
26095
|
-
a = [], i = Qe.path(e, r);
|
|
26096
|
-
_iterator12 = _createForOfIteratorHelper(ut.levels(e, i));
|
|
26097
|
-
_context2.prev = 4;
|
|
26098
|
-
_iterator12.s();
|
|
26099
|
-
case 6:
|
|
26100
|
-
if ((_step12 = _iterator12.n()).done) {
|
|
26101
|
-
_context2.next = 12;
|
|
26102
|
-
break;
|
|
26103
|
-
}
|
|
26104
|
-
_step12$value = _slicedToArray(_step12.value, 2), s = _step12$value[0], c = _step12$value[1];
|
|
26105
|
-
if (!(o(s, c) && (a.push([s, c]), !u && Qe.isVoid(e, s)))) {
|
|
26106
|
-
_context2.next = 10;
|
|
26107
|
-
break;
|
|
26108
|
-
}
|
|
26109
|
-
return _context2.abrupt("break", 12);
|
|
26110
|
-
case 10:
|
|
26111
|
-
_context2.next = 6;
|
|
26195
|
+
return _regeneratorRuntime().wrap(function levels$(_context2) {
|
|
26196
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
26197
|
+
case 0:
|
|
26198
|
+
t = _args2.length > 1 && void 0 !== _args2[1] ? _args2[1] : {}, _t$at2 = t.at, r = _t$at2 === void 0 ? e.selection : _t$at2, _t$reverse = t.reverse, n = _t$reverse === void 0 ? !1 : _t$reverse, _t$voids2 = t.voids, u = _t$voids2 === void 0 ? !1 : _t$voids2, o = t.match;
|
|
26199
|
+
if (!(null == o && (o = function o() {
|
|
26200
|
+
return !0;
|
|
26201
|
+
}), r)) {
|
|
26202
|
+
_context2.next = 22;
|
|
26112
26203
|
break;
|
|
26113
|
-
|
|
26114
|
-
|
|
26204
|
+
}
|
|
26205
|
+
a = [], i = Qe.path(e, r);
|
|
26206
|
+
_iterator12 = _createForOfIteratorHelper(ut.levels(e, i));
|
|
26207
|
+
_context2.prev = 4;
|
|
26208
|
+
_iterator12.s();
|
|
26209
|
+
case 6:
|
|
26210
|
+
if ((_step12 = _iterator12.n()).done) {
|
|
26211
|
+
_context2.next = 12;
|
|
26115
26212
|
break;
|
|
26116
|
-
|
|
26117
|
-
|
|
26118
|
-
|
|
26119
|
-
|
|
26120
|
-
|
|
26121
|
-
|
|
26122
|
-
|
|
26123
|
-
|
|
26124
|
-
|
|
26125
|
-
|
|
26126
|
-
|
|
26127
|
-
|
|
26128
|
-
|
|
26129
|
-
|
|
26130
|
-
|
|
26213
|
+
}
|
|
26214
|
+
_step12$value = _slicedToArray(_step12.value, 2), s = _step12$value[0], c = _step12$value[1];
|
|
26215
|
+
if (!(o(s, c) && (a.push([s, c]), !u && Qe.isVoid(e, s)))) {
|
|
26216
|
+
_context2.next = 10;
|
|
26217
|
+
break;
|
|
26218
|
+
}
|
|
26219
|
+
return _context2.abrupt("break", 12);
|
|
26220
|
+
case 10:
|
|
26221
|
+
_context2.next = 6;
|
|
26222
|
+
break;
|
|
26223
|
+
case 12:
|
|
26224
|
+
_context2.next = 17;
|
|
26225
|
+
break;
|
|
26226
|
+
case 14:
|
|
26227
|
+
_context2.prev = 14;
|
|
26228
|
+
_context2.t0 = _context2["catch"](4);
|
|
26229
|
+
_iterator12.e(_context2.t0);
|
|
26230
|
+
case 17:
|
|
26231
|
+
_context2.prev = 17;
|
|
26232
|
+
_iterator12.f();
|
|
26233
|
+
return _context2.finish(17);
|
|
26234
|
+
case 20:
|
|
26235
|
+
n && a.reverse();
|
|
26236
|
+
return _context2.delegateYield(a, "t1", 22);
|
|
26237
|
+
case 22:
|
|
26238
|
+
case "end":
|
|
26239
|
+
return _context2.stop();
|
|
26131
26240
|
}
|
|
26132
26241
|
}, levels, null, [[4, 14, 17, 20]]);
|
|
26133
26242
|
}),
|
|
@@ -26221,7 +26330,7 @@ function checkDCE() {
|
|
|
26221
26330
|
n = Qe.path(e, t, r);
|
|
26222
26331
|
return [ut.get(e, n), n];
|
|
26223
26332
|
},
|
|
26224
|
-
nodes: /*#__PURE__*/
|
|
26333
|
+
nodes: /*#__PURE__*/_regeneratorRuntime().mark(function nodes(e) {
|
|
26225
26334
|
var t,
|
|
26226
26335
|
_t$at4,
|
|
26227
26336
|
r,
|
|
@@ -26249,129 +26358,127 @@ function checkDCE() {
|
|
|
26249
26358
|
C,
|
|
26250
26359
|
g,
|
|
26251
26360
|
_args3 = arguments;
|
|
26252
|
-
return
|
|
26253
|
-
while (1) {
|
|
26254
|
-
|
|
26255
|
-
|
|
26256
|
-
|
|
26257
|
-
|
|
26258
|
-
|
|
26259
|
-
|
|
26260
|
-
_context3.next = 51;
|
|
26261
|
-
break;
|
|
26262
|
-
}
|
|
26263
|
-
if (et.isSpan(r)) s = r[0], c = r[1];else {
|
|
26264
|
-
l = Qe.path(e, r, {
|
|
26265
|
-
edge: "start"
|
|
26266
|
-
}), d = Qe.path(e, r, {
|
|
26267
|
-
edge: "end"
|
|
26268
|
-
});
|
|
26269
|
-
s = o ? d : l, c = o ? l : d;
|
|
26270
|
-
}
|
|
26271
|
-
h = ut.nodes(e, {
|
|
26272
|
-
reverse: o,
|
|
26273
|
-
from: s,
|
|
26274
|
-
to: c,
|
|
26275
|
-
pass: function pass(t) {
|
|
26276
|
-
var _t3 = _slicedToArray(t, 1),
|
|
26277
|
-
r = _t3[0];
|
|
26278
|
-
return !a && Qe.isVoid(e, r);
|
|
26279
|
-
}
|
|
26280
|
-
}), D = [];
|
|
26281
|
-
_iterator13 = _createForOfIteratorHelper(h);
|
|
26282
|
-
_context3.prev = 5;
|
|
26283
|
-
_iterator13.s();
|
|
26284
|
-
case 7:
|
|
26285
|
-
if ((_step13 = _iterator13.n()).done) {
|
|
26286
|
-
_context3.next = 32;
|
|
26287
|
-
break;
|
|
26288
|
-
}
|
|
26289
|
-
_step13$value = _slicedToArray(_step13.value, 2), v = _step13$value[0], p = _step13$value[1];
|
|
26290
|
-
C = f && 0 === st.compare(p, f[1]);
|
|
26291
|
-
if (!("highest" !== n || !C)) {
|
|
26292
|
-
_context3.next = 30;
|
|
26293
|
-
break;
|
|
26294
|
-
}
|
|
26295
|
-
if (!i(v, p)) {
|
|
26296
|
-
_context3.next = 28;
|
|
26297
|
-
break;
|
|
26298
|
-
}
|
|
26299
|
-
if (!("lowest" === n && C)) {
|
|
26300
|
-
_context3.next = 16;
|
|
26301
|
-
break;
|
|
26302
|
-
}
|
|
26303
|
-
f = [v, p];
|
|
26304
|
-
_context3.next = 26;
|
|
26361
|
+
return _regeneratorRuntime().wrap(function nodes$(_context3) {
|
|
26362
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
26363
|
+
case 0:
|
|
26364
|
+
t = _args3.length > 1 && void 0 !== _args3[1] ? _args3[1] : {}, _t$at4 = t.at, r = _t$at4 === void 0 ? e.selection : _t$at4, _t$mode3 = t.mode, n = _t$mode3 === void 0 ? "all" : _t$mode3, _t$universal = t.universal, u = _t$universal === void 0 ? !1 : _t$universal, _t$reverse2 = t.reverse, o = _t$reverse2 === void 0 ? !1 : _t$reverse2, _t$voids4 = t.voids, a = _t$voids4 === void 0 ? !1 : _t$voids4, i = t.match;
|
|
26365
|
+
if (!(i || (i = function i() {
|
|
26366
|
+
return !0;
|
|
26367
|
+
}), r)) {
|
|
26368
|
+
_context3.next = 51;
|
|
26305
26369
|
break;
|
|
26306
|
-
|
|
26307
|
-
|
|
26308
|
-
|
|
26309
|
-
|
|
26310
|
-
|
|
26311
|
-
|
|
26312
|
-
}
|
|
26313
|
-
|
|
26314
|
-
|
|
26315
|
-
|
|
26370
|
+
}
|
|
26371
|
+
if (et.isSpan(r)) s = r[0], c = r[1];else {
|
|
26372
|
+
l = Qe.path(e, r, {
|
|
26373
|
+
edge: "start"
|
|
26374
|
+
}), d = Qe.path(e, r, {
|
|
26375
|
+
edge: "end"
|
|
26376
|
+
});
|
|
26377
|
+
s = o ? d : l, c = o ? l : d;
|
|
26378
|
+
}
|
|
26379
|
+
h = ut.nodes(e, {
|
|
26380
|
+
reverse: o,
|
|
26381
|
+
from: s,
|
|
26382
|
+
to: c,
|
|
26383
|
+
pass: function pass(t) {
|
|
26384
|
+
var _t3 = _slicedToArray(t, 1),
|
|
26385
|
+
r = _t3[0];
|
|
26386
|
+
return !a && Qe.isVoid(e, r);
|
|
26316
26387
|
}
|
|
26317
|
-
|
|
26318
|
-
|
|
26388
|
+
}), D = [];
|
|
26389
|
+
_iterator13 = _createForOfIteratorHelper(h);
|
|
26390
|
+
_context3.prev = 5;
|
|
26391
|
+
_iterator13.s();
|
|
26392
|
+
case 7:
|
|
26393
|
+
if ((_step13 = _iterator13.n()).done) {
|
|
26394
|
+
_context3.next = 32;
|
|
26319
26395
|
break;
|
|
26320
|
-
|
|
26321
|
-
|
|
26322
|
-
|
|
26323
|
-
|
|
26324
|
-
f = [v, p];
|
|
26325
|
-
case 26:
|
|
26396
|
+
}
|
|
26397
|
+
_step13$value = _slicedToArray(_step13.value, 2), v = _step13$value[0], p = _step13$value[1];
|
|
26398
|
+
C = f && 0 === st.compare(p, f[1]);
|
|
26399
|
+
if (!("highest" !== n || !C)) {
|
|
26326
26400
|
_context3.next = 30;
|
|
26327
26401
|
break;
|
|
26328
|
-
|
|
26329
|
-
|
|
26330
|
-
|
|
26331
|
-
break;
|
|
26332
|
-
}
|
|
26333
|
-
return _context3.abrupt("return");
|
|
26334
|
-
case 30:
|
|
26335
|
-
_context3.next = 7;
|
|
26402
|
+
}
|
|
26403
|
+
if (!i(v, p)) {
|
|
26404
|
+
_context3.next = 28;
|
|
26336
26405
|
break;
|
|
26337
|
-
|
|
26338
|
-
|
|
26406
|
+
}
|
|
26407
|
+
if (!("lowest" === n && C)) {
|
|
26408
|
+
_context3.next = 16;
|
|
26339
26409
|
break;
|
|
26340
|
-
|
|
26341
|
-
|
|
26342
|
-
|
|
26343
|
-
|
|
26344
|
-
|
|
26345
|
-
|
|
26346
|
-
|
|
26347
|
-
|
|
26348
|
-
|
|
26349
|
-
|
|
26350
|
-
|
|
26351
|
-
|
|
26352
|
-
|
|
26353
|
-
|
|
26354
|
-
|
|
26355
|
-
|
|
26356
|
-
|
|
26357
|
-
|
|
26358
|
-
|
|
26359
|
-
|
|
26410
|
+
}
|
|
26411
|
+
f = [v, p];
|
|
26412
|
+
_context3.next = 26;
|
|
26413
|
+
break;
|
|
26414
|
+
case 16:
|
|
26415
|
+
g = "lowest" === n ? f : [v, p];
|
|
26416
|
+
_context3.t0 = g;
|
|
26417
|
+
if (!_context3.t0) {
|
|
26418
|
+
_context3.next = 25;
|
|
26419
|
+
break;
|
|
26420
|
+
}
|
|
26421
|
+
if (!u) {
|
|
26422
|
+
_context3.next = 23;
|
|
26423
|
+
break;
|
|
26424
|
+
}
|
|
26425
|
+
D.push(g);
|
|
26426
|
+
_context3.next = 25;
|
|
26427
|
+
break;
|
|
26428
|
+
case 23:
|
|
26429
|
+
_context3.next = 25;
|
|
26430
|
+
return g;
|
|
26431
|
+
case 25:
|
|
26432
|
+
f = [v, p];
|
|
26433
|
+
case 26:
|
|
26434
|
+
_context3.next = 30;
|
|
26435
|
+
break;
|
|
26436
|
+
case 28:
|
|
26437
|
+
if (!(u && !C && yt.isText(v))) {
|
|
26438
|
+
_context3.next = 30;
|
|
26360
26439
|
break;
|
|
26361
|
-
|
|
26440
|
+
}
|
|
26441
|
+
return _context3.abrupt("return");
|
|
26442
|
+
case 30:
|
|
26443
|
+
_context3.next = 7;
|
|
26444
|
+
break;
|
|
26445
|
+
case 32:
|
|
26446
|
+
_context3.next = 37;
|
|
26447
|
+
break;
|
|
26448
|
+
case 34:
|
|
26449
|
+
_context3.prev = 34;
|
|
26450
|
+
_context3.t1 = _context3["catch"](5);
|
|
26451
|
+
_iterator13.e(_context3.t1);
|
|
26452
|
+
case 37:
|
|
26453
|
+
_context3.prev = 37;
|
|
26454
|
+
_iterator13.f();
|
|
26455
|
+
return _context3.finish(37);
|
|
26456
|
+
case 40:
|
|
26457
|
+
_context3.t2 = "lowest" === n && f;
|
|
26458
|
+
if (!_context3.t2) {
|
|
26362
26459
|
_context3.next = 48;
|
|
26363
|
-
|
|
26364
|
-
|
|
26365
|
-
|
|
26366
|
-
|
|
26367
|
-
|
|
26368
|
-
|
|
26369
|
-
|
|
26370
|
-
|
|
26371
|
-
|
|
26372
|
-
|
|
26373
|
-
|
|
26374
|
-
|
|
26460
|
+
break;
|
|
26461
|
+
}
|
|
26462
|
+
if (!u) {
|
|
26463
|
+
_context3.next = 46;
|
|
26464
|
+
break;
|
|
26465
|
+
}
|
|
26466
|
+
D.push(f);
|
|
26467
|
+
_context3.next = 48;
|
|
26468
|
+
break;
|
|
26469
|
+
case 46:
|
|
26470
|
+
_context3.next = 48;
|
|
26471
|
+
return f;
|
|
26472
|
+
case 48:
|
|
26473
|
+
_context3.t3 = u;
|
|
26474
|
+
if (!_context3.t3) {
|
|
26475
|
+
_context3.next = 51;
|
|
26476
|
+
break;
|
|
26477
|
+
}
|
|
26478
|
+
return _context3.delegateYield(D, "t4", 51);
|
|
26479
|
+
case 51:
|
|
26480
|
+
case "end":
|
|
26481
|
+
return _context3.stop();
|
|
26375
26482
|
}
|
|
26376
26483
|
}, nodes, null, [[5, 34, 37, 40]]);
|
|
26377
26484
|
}),
|
|
@@ -26527,7 +26634,7 @@ function checkDCE() {
|
|
|
26527
26634
|
var t = fe.get(e);
|
|
26528
26635
|
return t || (t = new Set(), fe.set(e, t)), t;
|
|
26529
26636
|
},
|
|
26530
|
-
positions: /*#__PURE__*/
|
|
26637
|
+
positions: /*#__PURE__*/_regeneratorRuntime().mark(function positions(e) {
|
|
26531
26638
|
var t,
|
|
26532
26639
|
_t$at5,
|
|
26533
26640
|
r,
|
|
@@ -26558,140 +26665,138 @@ function checkDCE() {
|
|
|
26558
26665
|
B,
|
|
26559
26666
|
m,
|
|
26560
26667
|
_args4 = arguments;
|
|
26561
|
-
return
|
|
26562
|
-
while (1) {
|
|
26563
|
-
|
|
26564
|
-
|
|
26565
|
-
|
|
26566
|
-
|
|
26567
|
-
|
|
26568
|
-
|
|
26569
|
-
|
|
26570
|
-
|
|
26571
|
-
|
|
26572
|
-
|
|
26573
|
-
if (
|
|
26574
|
-
|
|
26575
|
-
r += u;
|
|
26576
|
-
}
|
|
26577
|
-
e = a;
|
|
26668
|
+
return _regeneratorRuntime().wrap(function positions$(_context4) {
|
|
26669
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
26670
|
+
case 0:
|
|
26671
|
+
m = function _m(e, t, r) {
|
|
26672
|
+
return "character" === t ? me(e, r) : "word" === t ? function (e) {
|
|
26673
|
+
for (var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1], r = 0, n = !1; e.length > 0;) {
|
|
26674
|
+
var u = me(e, t),
|
|
26675
|
+
_Ae3 = Ae(e, u, t),
|
|
26676
|
+
_Ae4 = _slicedToArray(_Ae3, 2),
|
|
26677
|
+
o = _Ae4[0],
|
|
26678
|
+
a = _Ae4[1];
|
|
26679
|
+
if (Fe(o, a, t)) n = !0, r += u;else {
|
|
26680
|
+
if (n) break;
|
|
26681
|
+
r += u;
|
|
26578
26682
|
}
|
|
26579
|
-
|
|
26580
|
-
}
|
|
26581
|
-
|
|
26582
|
-
|
|
26583
|
-
|
|
26584
|
-
|
|
26585
|
-
|
|
26586
|
-
|
|
26587
|
-
|
|
26588
|
-
|
|
26589
|
-
|
|
26590
|
-
|
|
26683
|
+
e = a;
|
|
26684
|
+
}
|
|
26685
|
+
return r;
|
|
26686
|
+
}(e, r) : "line" === t || "block" === t ? e.length : 1;
|
|
26687
|
+
};
|
|
26688
|
+
t = _args4.length > 1 && void 0 !== _args4[1] ? _args4[1] : {}, _t$at5 = t.at, r = _t$at5 === void 0 ? e.selection : _t$at5, _t$unit3 = t.unit, n = _t$unit3 === void 0 ? "offset" : _t$unit3, _t$reverse3 = t.reverse, u = _t$reverse3 === void 0 ? !1 : _t$reverse3, _t$voids5 = t.voids, o = _t$voids5 === void 0 ? !1 : _t$voids5;
|
|
26689
|
+
if (!r) {
|
|
26690
|
+
_context4.next = 47;
|
|
26691
|
+
break;
|
|
26692
|
+
}
|
|
26693
|
+
a = Qe.range(e, r), _pt$edges3 = pt.edges(a), _pt$edges4 = _slicedToArray(_pt$edges3, 2), i = _pt$edges4[0], s = _pt$edges4[1], c = u ? s : i, l = !1, d = "", f = 0, h = 0, D = 0;
|
|
26694
|
+
_iterator15 = _createForOfIteratorHelper(Qe.nodes(e, {
|
|
26695
|
+
at: r,
|
|
26696
|
+
reverse: u,
|
|
26697
|
+
voids: o
|
|
26698
|
+
}));
|
|
26699
|
+
_context4.prev = 5;
|
|
26700
|
+
_iterator15.s();
|
|
26701
|
+
case 7:
|
|
26702
|
+
if ((_step15 = _iterator15.n()).done) {
|
|
26703
|
+
_context4.next = 39;
|
|
26704
|
+
break;
|
|
26705
|
+
}
|
|
26706
|
+
_step15$value = _slicedToArray(_step15.value, 2), v = _step15$value[0], p = _step15$value[1];
|
|
26707
|
+
if (!$e.isElement(v)) {
|
|
26708
|
+
_context4.next = 17;
|
|
26709
|
+
break;
|
|
26710
|
+
}
|
|
26711
|
+
if (!(!o && e.isVoid(v))) {
|
|
26712
|
+
_context4.next = 14;
|
|
26713
|
+
break;
|
|
26714
|
+
}
|
|
26715
|
+
_context4.next = 13;
|
|
26716
|
+
return Qe.start(e, p);
|
|
26717
|
+
case 13:
|
|
26718
|
+
return _context4.abrupt("continue", 37);
|
|
26719
|
+
case 14:
|
|
26720
|
+
if (!e.isInline(v)) {
|
|
26721
|
+
_context4.next = 16;
|
|
26722
|
+
break;
|
|
26723
|
+
}
|
|
26724
|
+
return _context4.abrupt("continue", 37);
|
|
26725
|
+
case 16:
|
|
26726
|
+
if (Qe.hasInlines(e, v)) {
|
|
26727
|
+
C = st.isAncestor(p, s.path) ? s : Qe.end(e, p), g = st.isAncestor(p, i.path) ? i : Qe.start(e, p);
|
|
26728
|
+
d = Qe.string(e, {
|
|
26729
|
+
anchor: g,
|
|
26730
|
+
focus: C
|
|
26731
|
+
}, {
|
|
26591
26732
|
voids: o
|
|
26592
|
-
})
|
|
26593
|
-
|
|
26594
|
-
|
|
26595
|
-
|
|
26596
|
-
|
|
26597
|
-
|
|
26598
|
-
|
|
26599
|
-
|
|
26600
|
-
|
|
26601
|
-
|
|
26602
|
-
|
|
26603
|
-
break;
|
|
26604
|
-
}
|
|
26605
|
-
if (!(!o && e.isVoid(v))) {
|
|
26606
|
-
_context4.next = 14;
|
|
26607
|
-
break;
|
|
26608
|
-
}
|
|
26609
|
-
_context4.next = 13;
|
|
26610
|
-
return Qe.start(e, p);
|
|
26611
|
-
case 13:
|
|
26612
|
-
return _context4.abrupt("continue", 37);
|
|
26613
|
-
case 14:
|
|
26614
|
-
if (!e.isInline(v)) {
|
|
26615
|
-
_context4.next = 16;
|
|
26616
|
-
break;
|
|
26617
|
-
}
|
|
26618
|
-
return _context4.abrupt("continue", 37);
|
|
26619
|
-
case 16:
|
|
26620
|
-
if (Qe.hasInlines(e, v)) {
|
|
26621
|
-
C = st.isAncestor(p, s.path) ? s : Qe.end(e, p), g = st.isAncestor(p, i.path) ? i : Qe.start(e, p);
|
|
26622
|
-
d = Qe.string(e, {
|
|
26623
|
-
anchor: g,
|
|
26624
|
-
focus: C
|
|
26625
|
-
}, {
|
|
26626
|
-
voids: o
|
|
26627
|
-
}), l = !0;
|
|
26628
|
-
}
|
|
26629
|
-
case 17:
|
|
26630
|
-
if (!yt.isText(v)) {
|
|
26631
|
-
_context4.next = 37;
|
|
26632
|
-
break;
|
|
26633
|
-
}
|
|
26634
|
-
B = st.equals(p, c.path);
|
|
26635
|
-
B ? (h = u ? c.offset : v.text.length - c.offset, D = c.offset) : (h = v.text.length, D = u ? h : 0);
|
|
26636
|
-
_context4.t0 = B || l || "offset" === n;
|
|
26637
|
-
if (!_context4.t0) {
|
|
26638
|
-
_context4.next = 25;
|
|
26639
|
-
break;
|
|
26640
|
-
}
|
|
26641
|
-
_context4.next = 24;
|
|
26642
|
-
return {
|
|
26643
|
-
path: p,
|
|
26644
|
-
offset: D
|
|
26645
|
-
};
|
|
26646
|
-
case 24:
|
|
26647
|
-
l = !1;
|
|
26648
|
-
case 25:
|
|
26649
|
-
if (!(0 === f)) {
|
|
26650
|
-
_context4.next = 29;
|
|
26651
|
-
break;
|
|
26652
|
-
}
|
|
26653
|
-
if (!("" === d)) {
|
|
26654
|
-
_context4.next = 28;
|
|
26655
|
-
break;
|
|
26656
|
-
}
|
|
26657
|
-
return _context4.abrupt("break", 37);
|
|
26658
|
-
case 28:
|
|
26659
|
-
f = m(d, n, u), d = Ae(d, f, u)[1];
|
|
26660
|
-
case 29:
|
|
26661
|
-
if (!(D = u ? D - f : D + f, (h -= f) < 0)) {
|
|
26662
|
-
_context4.next = 32;
|
|
26663
|
-
break;
|
|
26664
|
-
}
|
|
26665
|
-
f = -h;
|
|
26666
|
-
return _context4.abrupt("break", 37);
|
|
26667
|
-
case 32:
|
|
26668
|
-
f = 0;
|
|
26669
|
-
_context4.next = 35;
|
|
26670
|
-
return {
|
|
26671
|
-
path: p,
|
|
26672
|
-
offset: D
|
|
26673
|
-
};
|
|
26674
|
-
case 35:
|
|
26733
|
+
}), l = !0;
|
|
26734
|
+
}
|
|
26735
|
+
case 17:
|
|
26736
|
+
if (!yt.isText(v)) {
|
|
26737
|
+
_context4.next = 37;
|
|
26738
|
+
break;
|
|
26739
|
+
}
|
|
26740
|
+
B = st.equals(p, c.path);
|
|
26741
|
+
B ? (h = u ? c.offset : v.text.length - c.offset, D = c.offset) : (h = v.text.length, D = u ? h : 0);
|
|
26742
|
+
_context4.t0 = B || l || "offset" === n;
|
|
26743
|
+
if (!_context4.t0) {
|
|
26675
26744
|
_context4.next = 25;
|
|
26676
26745
|
break;
|
|
26677
|
-
|
|
26678
|
-
|
|
26746
|
+
}
|
|
26747
|
+
_context4.next = 24;
|
|
26748
|
+
return {
|
|
26749
|
+
path: p,
|
|
26750
|
+
offset: D
|
|
26751
|
+
};
|
|
26752
|
+
case 24:
|
|
26753
|
+
l = !1;
|
|
26754
|
+
case 25:
|
|
26755
|
+
if (!(0 === f)) {
|
|
26756
|
+
_context4.next = 29;
|
|
26757
|
+
break;
|
|
26758
|
+
}
|
|
26759
|
+
if (!("" === d)) {
|
|
26760
|
+
_context4.next = 28;
|
|
26679
26761
|
break;
|
|
26680
|
-
|
|
26681
|
-
|
|
26762
|
+
}
|
|
26763
|
+
return _context4.abrupt("break", 37);
|
|
26764
|
+
case 28:
|
|
26765
|
+
f = m(d, n, u), d = Ae(d, f, u)[1];
|
|
26766
|
+
case 29:
|
|
26767
|
+
if (!(D = u ? D - f : D + f, (h -= f) < 0)) {
|
|
26768
|
+
_context4.next = 32;
|
|
26682
26769
|
break;
|
|
26683
|
-
|
|
26684
|
-
|
|
26685
|
-
|
|
26686
|
-
|
|
26687
|
-
|
|
26688
|
-
|
|
26689
|
-
|
|
26690
|
-
|
|
26691
|
-
|
|
26692
|
-
|
|
26693
|
-
|
|
26694
|
-
|
|
26770
|
+
}
|
|
26771
|
+
f = -h;
|
|
26772
|
+
return _context4.abrupt("break", 37);
|
|
26773
|
+
case 32:
|
|
26774
|
+
f = 0;
|
|
26775
|
+
_context4.next = 35;
|
|
26776
|
+
return {
|
|
26777
|
+
path: p,
|
|
26778
|
+
offset: D
|
|
26779
|
+
};
|
|
26780
|
+
case 35:
|
|
26781
|
+
_context4.next = 25;
|
|
26782
|
+
break;
|
|
26783
|
+
case 37:
|
|
26784
|
+
_context4.next = 7;
|
|
26785
|
+
break;
|
|
26786
|
+
case 39:
|
|
26787
|
+
_context4.next = 44;
|
|
26788
|
+
break;
|
|
26789
|
+
case 41:
|
|
26790
|
+
_context4.prev = 41;
|
|
26791
|
+
_context4.t1 = _context4["catch"](5);
|
|
26792
|
+
_iterator15.e(_context4.t1);
|
|
26793
|
+
case 44:
|
|
26794
|
+
_context4.prev = 44;
|
|
26795
|
+
_iterator15.f();
|
|
26796
|
+
return _context4.finish(44);
|
|
26797
|
+
case 47:
|
|
26798
|
+
case "end":
|
|
26799
|
+
return _context4.stop();
|
|
26695
26800
|
}
|
|
26696
26801
|
}, positions, null, [[5, 41, 44, 47]]);
|
|
26697
26802
|
}),
|
|
@@ -26887,48 +26992,46 @@ function checkDCE() {
|
|
|
26887
26992
|
if (yt.isText(r)) throw new Error("Cannot get the ancestor node at path [".concat(t, "] because it refers to a text node instead: ").concat(r));
|
|
26888
26993
|
return r;
|
|
26889
26994
|
},
|
|
26890
|
-
ancestors: /*#__PURE__*/
|
|
26995
|
+
ancestors: /*#__PURE__*/_regeneratorRuntime().mark(function ancestors(e, t) {
|
|
26891
26996
|
var r,
|
|
26892
26997
|
_iterator18,
|
|
26893
26998
|
_step18,
|
|
26894
26999
|
n,
|
|
26895
27000
|
u,
|
|
26896
27001
|
_args5 = arguments;
|
|
26897
|
-
return
|
|
26898
|
-
while (1) {
|
|
26899
|
-
|
|
26900
|
-
|
|
26901
|
-
|
|
26902
|
-
|
|
26903
|
-
|
|
26904
|
-
|
|
26905
|
-
|
|
26906
|
-
|
|
26907
|
-
_context5.next = 11;
|
|
26908
|
-
break;
|
|
26909
|
-
}
|
|
26910
|
-
n = _step18.value;
|
|
26911
|
-
u = [ut.ancestor(e, n), n];
|
|
26912
|
-
_context5.next = 9;
|
|
26913
|
-
return u;
|
|
26914
|
-
case 9:
|
|
26915
|
-
_context5.next = 4;
|
|
26916
|
-
break;
|
|
26917
|
-
case 11:
|
|
26918
|
-
_context5.next = 16;
|
|
27002
|
+
return _regeneratorRuntime().wrap(function ancestors$(_context5) {
|
|
27003
|
+
while (1) switch (_context5.prev = _context5.next) {
|
|
27004
|
+
case 0:
|
|
27005
|
+
r = _args5.length > 2 && void 0 !== _args5[2] ? _args5[2] : {};
|
|
27006
|
+
_iterator18 = _createForOfIteratorHelper(st.ancestors(t, r));
|
|
27007
|
+
_context5.prev = 2;
|
|
27008
|
+
_iterator18.s();
|
|
27009
|
+
case 4:
|
|
27010
|
+
if ((_step18 = _iterator18.n()).done) {
|
|
27011
|
+
_context5.next = 11;
|
|
26919
27012
|
break;
|
|
26920
|
-
|
|
26921
|
-
|
|
26922
|
-
|
|
26923
|
-
|
|
26924
|
-
|
|
26925
|
-
|
|
26926
|
-
|
|
26927
|
-
|
|
26928
|
-
|
|
26929
|
-
|
|
26930
|
-
|
|
26931
|
-
|
|
27013
|
+
}
|
|
27014
|
+
n = _step18.value;
|
|
27015
|
+
u = [ut.ancestor(e, n), n];
|
|
27016
|
+
_context5.next = 9;
|
|
27017
|
+
return u;
|
|
27018
|
+
case 9:
|
|
27019
|
+
_context5.next = 4;
|
|
27020
|
+
break;
|
|
27021
|
+
case 11:
|
|
27022
|
+
_context5.next = 16;
|
|
27023
|
+
break;
|
|
27024
|
+
case 13:
|
|
27025
|
+
_context5.prev = 13;
|
|
27026
|
+
_context5.t0 = _context5["catch"](2);
|
|
27027
|
+
_iterator18.e(_context5.t0);
|
|
27028
|
+
case 16:
|
|
27029
|
+
_context5.prev = 16;
|
|
27030
|
+
_iterator18.f();
|
|
27031
|
+
return _context5.finish(16);
|
|
27032
|
+
case 19:
|
|
27033
|
+
case "end":
|
|
27034
|
+
return _context5.stop();
|
|
26932
27035
|
}
|
|
26933
27036
|
}, ancestors, null, [[2, 13, 16, 19]]);
|
|
26934
27037
|
}),
|
|
@@ -26938,7 +27041,7 @@ function checkDCE() {
|
|
|
26938
27041
|
if (null == r) throw new Error("Cannot get child at index `".concat(t, "` in node: ").concat(JSON.stringify(e)));
|
|
26939
27042
|
return r;
|
|
26940
27043
|
},
|
|
26941
|
-
children: /*#__PURE__*/
|
|
27044
|
+
children: /*#__PURE__*/_regeneratorRuntime().mark(function children(e, t) {
|
|
26942
27045
|
var r,
|
|
26943
27046
|
_r$reverse,
|
|
26944
27047
|
n,
|
|
@@ -26948,28 +27051,26 @@ function checkDCE() {
|
|
|
26948
27051
|
i,
|
|
26949
27052
|
s,
|
|
26950
27053
|
_args6 = arguments;
|
|
26951
|
-
return
|
|
26952
|
-
while (1) {
|
|
26953
|
-
|
|
26954
|
-
|
|
26955
|
-
|
|
26956
|
-
|
|
26957
|
-
|
|
26958
|
-
_context6.next = 8;
|
|
26959
|
-
break;
|
|
26960
|
-
}
|
|
26961
|
-
i = ut.child(u, a), s = t.concat(a);
|
|
26962
|
-
_context6.next = 5;
|
|
26963
|
-
return [i, s];
|
|
26964
|
-
case 5:
|
|
26965
|
-
a = n ? a - 1 : a + 1;
|
|
26966
|
-
case 6:
|
|
26967
|
-
_context6.next = 1;
|
|
27054
|
+
return _regeneratorRuntime().wrap(function children$(_context6) {
|
|
27055
|
+
while (1) switch (_context6.prev = _context6.next) {
|
|
27056
|
+
case 0:
|
|
27057
|
+
r = _args6.length > 2 && void 0 !== _args6[2] ? _args6[2] : {}, _r$reverse = r.reverse, n = _r$reverse === void 0 ? !1 : _r$reverse, u = ut.ancestor(e, t), o = u.children, a = n ? o.length - 1 : 0;
|
|
27058
|
+
case 1:
|
|
27059
|
+
if (!(n ? a >= 0 : a < o.length)) {
|
|
27060
|
+
_context6.next = 8;
|
|
26968
27061
|
break;
|
|
26969
|
-
|
|
26970
|
-
|
|
26971
|
-
|
|
26972
|
-
|
|
27062
|
+
}
|
|
27063
|
+
i = ut.child(u, a), s = t.concat(a);
|
|
27064
|
+
_context6.next = 5;
|
|
27065
|
+
return [i, s];
|
|
27066
|
+
case 5:
|
|
27067
|
+
a = n ? a - 1 : a + 1;
|
|
27068
|
+
case 6:
|
|
27069
|
+
_context6.next = 1;
|
|
27070
|
+
break;
|
|
27071
|
+
case 8:
|
|
27072
|
+
case "end":
|
|
27073
|
+
return _context6.stop();
|
|
26973
27074
|
}
|
|
26974
27075
|
}, children);
|
|
26975
27076
|
}),
|
|
@@ -26982,7 +27083,7 @@ function checkDCE() {
|
|
|
26982
27083
|
if (Qe.isEditor(r)) throw new Error("Cannot get the descendant node at path [".concat(t, "] because it refers to the root editor node instead: ").concat(r));
|
|
26983
27084
|
return r;
|
|
26984
27085
|
},
|
|
26985
|
-
descendants: /*#__PURE__*/
|
|
27086
|
+
descendants: /*#__PURE__*/_regeneratorRuntime().mark(function descendants(e) {
|
|
26986
27087
|
var t,
|
|
26987
27088
|
_iterator19,
|
|
26988
27089
|
_step19,
|
|
@@ -26990,49 +27091,47 @@ function checkDCE() {
|
|
|
26990
27091
|
r,
|
|
26991
27092
|
n,
|
|
26992
27093
|
_args7 = arguments;
|
|
26993
|
-
return
|
|
26994
|
-
while (1) {
|
|
26995
|
-
|
|
26996
|
-
|
|
26997
|
-
|
|
26998
|
-
|
|
26999
|
-
|
|
27000
|
-
|
|
27001
|
-
|
|
27002
|
-
|
|
27003
|
-
_context7.next = 12;
|
|
27004
|
-
break;
|
|
27005
|
-
}
|
|
27006
|
-
_step19$value = _slicedToArray(_step19.value, 2), r = _step19$value[0], n = _step19$value[1];
|
|
27007
|
-
_context7.t0 = 0 !== n.length;
|
|
27008
|
-
if (!_context7.t0) {
|
|
27009
|
-
_context7.next = 10;
|
|
27010
|
-
break;
|
|
27011
|
-
}
|
|
27012
|
-
_context7.next = 10;
|
|
27013
|
-
return [r, n];
|
|
27014
|
-
case 10:
|
|
27015
|
-
_context7.next = 4;
|
|
27094
|
+
return _regeneratorRuntime().wrap(function descendants$(_context7) {
|
|
27095
|
+
while (1) switch (_context7.prev = _context7.next) {
|
|
27096
|
+
case 0:
|
|
27097
|
+
t = _args7.length > 1 && void 0 !== _args7[1] ? _args7[1] : {};
|
|
27098
|
+
_iterator19 = _createForOfIteratorHelper(ut.nodes(e, t));
|
|
27099
|
+
_context7.prev = 2;
|
|
27100
|
+
_iterator19.s();
|
|
27101
|
+
case 4:
|
|
27102
|
+
if ((_step19 = _iterator19.n()).done) {
|
|
27103
|
+
_context7.next = 12;
|
|
27016
27104
|
break;
|
|
27017
|
-
|
|
27018
|
-
|
|
27105
|
+
}
|
|
27106
|
+
_step19$value = _slicedToArray(_step19.value, 2), r = _step19$value[0], n = _step19$value[1];
|
|
27107
|
+
_context7.t0 = 0 !== n.length;
|
|
27108
|
+
if (!_context7.t0) {
|
|
27109
|
+
_context7.next = 10;
|
|
27019
27110
|
break;
|
|
27020
|
-
|
|
27021
|
-
|
|
27022
|
-
|
|
27023
|
-
|
|
27024
|
-
|
|
27025
|
-
|
|
27026
|
-
|
|
27027
|
-
|
|
27028
|
-
|
|
27029
|
-
|
|
27030
|
-
|
|
27031
|
-
|
|
27111
|
+
}
|
|
27112
|
+
_context7.next = 10;
|
|
27113
|
+
return [r, n];
|
|
27114
|
+
case 10:
|
|
27115
|
+
_context7.next = 4;
|
|
27116
|
+
break;
|
|
27117
|
+
case 12:
|
|
27118
|
+
_context7.next = 17;
|
|
27119
|
+
break;
|
|
27120
|
+
case 14:
|
|
27121
|
+
_context7.prev = 14;
|
|
27122
|
+
_context7.t1 = _context7["catch"](2);
|
|
27123
|
+
_iterator19.e(_context7.t1);
|
|
27124
|
+
case 17:
|
|
27125
|
+
_context7.prev = 17;
|
|
27126
|
+
_iterator19.f();
|
|
27127
|
+
return _context7.finish(17);
|
|
27128
|
+
case 20:
|
|
27129
|
+
case "end":
|
|
27130
|
+
return _context7.stop();
|
|
27032
27131
|
}
|
|
27033
27132
|
}, descendants, null, [[2, 14, 17, 20]]);
|
|
27034
27133
|
}),
|
|
27035
|
-
elements: /*#__PURE__*/
|
|
27134
|
+
elements: /*#__PURE__*/_regeneratorRuntime().mark(function elements(e) {
|
|
27036
27135
|
var t,
|
|
27037
27136
|
_iterator20,
|
|
27038
27137
|
_step20,
|
|
@@ -27040,45 +27139,43 @@ function checkDCE() {
|
|
|
27040
27139
|
r,
|
|
27041
27140
|
n,
|
|
27042
27141
|
_args8 = arguments;
|
|
27043
|
-
return
|
|
27044
|
-
while (1) {
|
|
27045
|
-
|
|
27046
|
-
|
|
27047
|
-
|
|
27048
|
-
|
|
27049
|
-
|
|
27050
|
-
|
|
27051
|
-
|
|
27052
|
-
|
|
27053
|
-
_context8.next = 12;
|
|
27054
|
-
break;
|
|
27055
|
-
}
|
|
27056
|
-
_step20$value = _slicedToArray(_step20.value, 2), r = _step20$value[0], n = _step20$value[1];
|
|
27057
|
-
_context8.t0 = $e.isElement(r);
|
|
27058
|
-
if (!_context8.t0) {
|
|
27059
|
-
_context8.next = 10;
|
|
27060
|
-
break;
|
|
27061
|
-
}
|
|
27062
|
-
_context8.next = 10;
|
|
27063
|
-
return [r, n];
|
|
27064
|
-
case 10:
|
|
27065
|
-
_context8.next = 4;
|
|
27142
|
+
return _regeneratorRuntime().wrap(function elements$(_context8) {
|
|
27143
|
+
while (1) switch (_context8.prev = _context8.next) {
|
|
27144
|
+
case 0:
|
|
27145
|
+
t = _args8.length > 1 && void 0 !== _args8[1] ? _args8[1] : {};
|
|
27146
|
+
_iterator20 = _createForOfIteratorHelper(ut.nodes(e, t));
|
|
27147
|
+
_context8.prev = 2;
|
|
27148
|
+
_iterator20.s();
|
|
27149
|
+
case 4:
|
|
27150
|
+
if ((_step20 = _iterator20.n()).done) {
|
|
27151
|
+
_context8.next = 12;
|
|
27066
27152
|
break;
|
|
27067
|
-
|
|
27068
|
-
|
|
27153
|
+
}
|
|
27154
|
+
_step20$value = _slicedToArray(_step20.value, 2), r = _step20$value[0], n = _step20$value[1];
|
|
27155
|
+
_context8.t0 = $e.isElement(r);
|
|
27156
|
+
if (!_context8.t0) {
|
|
27157
|
+
_context8.next = 10;
|
|
27069
27158
|
break;
|
|
27070
|
-
|
|
27071
|
-
|
|
27072
|
-
|
|
27073
|
-
|
|
27074
|
-
|
|
27075
|
-
|
|
27076
|
-
|
|
27077
|
-
|
|
27078
|
-
|
|
27079
|
-
|
|
27080
|
-
|
|
27081
|
-
|
|
27159
|
+
}
|
|
27160
|
+
_context8.next = 10;
|
|
27161
|
+
return [r, n];
|
|
27162
|
+
case 10:
|
|
27163
|
+
_context8.next = 4;
|
|
27164
|
+
break;
|
|
27165
|
+
case 12:
|
|
27166
|
+
_context8.next = 17;
|
|
27167
|
+
break;
|
|
27168
|
+
case 14:
|
|
27169
|
+
_context8.prev = 14;
|
|
27170
|
+
_context8.t1 = _context8["catch"](2);
|
|
27171
|
+
_iterator20.e(_context8.t1);
|
|
27172
|
+
case 17:
|
|
27173
|
+
_context8.prev = 17;
|
|
27174
|
+
_iterator20.f();
|
|
27175
|
+
return _context8.finish(17);
|
|
27176
|
+
case 20:
|
|
27177
|
+
case "end":
|
|
27178
|
+
return _context8.stop();
|
|
27082
27179
|
}
|
|
27083
27180
|
}, elements, null, [[2, 14, 17, 20]]);
|
|
27084
27181
|
}),
|
|
@@ -27086,9 +27183,7 @@ function checkDCE() {
|
|
|
27086
27183
|
return $e.isAncestor(e) ? ge(e, tt) : ge(e, rt);
|
|
27087
27184
|
},
|
|
27088
27185
|
first: function first(e, t) {
|
|
27089
|
-
for (var r = t.slice(), n = ut.get(e, r); n && !yt.isText(n) && 0 !== n.children.length;)
|
|
27090
|
-
n = n.children[0], r.push(0);
|
|
27091
|
-
}
|
|
27186
|
+
for (var r = t.slice(), n = ut.get(e, r); n && !yt.isText(n) && 0 !== n.children.length;) n = n.children[0], r.push(0);
|
|
27092
27187
|
return [n, r];
|
|
27093
27188
|
},
|
|
27094
27189
|
fragment: function fragment(e, t) {
|
|
@@ -27176,55 +27271,53 @@ function checkDCE() {
|
|
|
27176
27271
|
if (!yt.isText(r)) throw new Error("Cannot get the leaf node at path [".concat(t, "] because it refers to a non-leaf node: ").concat(r));
|
|
27177
27272
|
return r;
|
|
27178
27273
|
},
|
|
27179
|
-
levels: /*#__PURE__*/
|
|
27274
|
+
levels: /*#__PURE__*/_regeneratorRuntime().mark(function levels(e, t) {
|
|
27180
27275
|
var r,
|
|
27181
27276
|
_iterator22,
|
|
27182
27277
|
_step22,
|
|
27183
27278
|
n,
|
|
27184
27279
|
u,
|
|
27185
27280
|
_args9 = arguments;
|
|
27186
|
-
return
|
|
27187
|
-
while (1) {
|
|
27188
|
-
|
|
27189
|
-
|
|
27190
|
-
|
|
27191
|
-
|
|
27192
|
-
|
|
27193
|
-
|
|
27194
|
-
|
|
27195
|
-
|
|
27196
|
-
_context9.next = 11;
|
|
27197
|
-
break;
|
|
27198
|
-
}
|
|
27199
|
-
n = _step22.value;
|
|
27200
|
-
u = ut.get(e, n);
|
|
27201
|
-
_context9.next = 9;
|
|
27202
|
-
return [u, n];
|
|
27203
|
-
case 9:
|
|
27204
|
-
_context9.next = 4;
|
|
27205
|
-
break;
|
|
27206
|
-
case 11:
|
|
27207
|
-
_context9.next = 16;
|
|
27281
|
+
return _regeneratorRuntime().wrap(function levels$(_context9) {
|
|
27282
|
+
while (1) switch (_context9.prev = _context9.next) {
|
|
27283
|
+
case 0:
|
|
27284
|
+
r = _args9.length > 2 && void 0 !== _args9[2] ? _args9[2] : {};
|
|
27285
|
+
_iterator22 = _createForOfIteratorHelper(st.levels(t, r));
|
|
27286
|
+
_context9.prev = 2;
|
|
27287
|
+
_iterator22.s();
|
|
27288
|
+
case 4:
|
|
27289
|
+
if ((_step22 = _iterator22.n()).done) {
|
|
27290
|
+
_context9.next = 11;
|
|
27208
27291
|
break;
|
|
27209
|
-
|
|
27210
|
-
|
|
27211
|
-
|
|
27212
|
-
|
|
27213
|
-
|
|
27214
|
-
|
|
27215
|
-
|
|
27216
|
-
|
|
27217
|
-
|
|
27218
|
-
|
|
27219
|
-
|
|
27220
|
-
|
|
27292
|
+
}
|
|
27293
|
+
n = _step22.value;
|
|
27294
|
+
u = ut.get(e, n);
|
|
27295
|
+
_context9.next = 9;
|
|
27296
|
+
return [u, n];
|
|
27297
|
+
case 9:
|
|
27298
|
+
_context9.next = 4;
|
|
27299
|
+
break;
|
|
27300
|
+
case 11:
|
|
27301
|
+
_context9.next = 16;
|
|
27302
|
+
break;
|
|
27303
|
+
case 13:
|
|
27304
|
+
_context9.prev = 13;
|
|
27305
|
+
_context9.t0 = _context9["catch"](2);
|
|
27306
|
+
_iterator22.e(_context9.t0);
|
|
27307
|
+
case 16:
|
|
27308
|
+
_context9.prev = 16;
|
|
27309
|
+
_iterator22.f();
|
|
27310
|
+
return _context9.finish(16);
|
|
27311
|
+
case 19:
|
|
27312
|
+
case "end":
|
|
27313
|
+
return _context9.stop();
|
|
27221
27314
|
}
|
|
27222
27315
|
}, levels, null, [[2, 13, 16, 19]]);
|
|
27223
27316
|
}),
|
|
27224
27317
|
matches: function matches(e, t) {
|
|
27225
27318
|
return $e.isElement(e) && $e.isElementProps(t) && $e.matches(e, t) || yt.isText(e) && yt.isTextProps(t) && yt.matches(e, t);
|
|
27226
27319
|
},
|
|
27227
|
-
nodes: /*#__PURE__*/
|
|
27320
|
+
nodes: /*#__PURE__*/_regeneratorRuntime().mark(function nodes(e) {
|
|
27228
27321
|
var t,
|
|
27229
27322
|
r,
|
|
27230
27323
|
_t$reverse4,
|
|
@@ -27238,60 +27331,58 @@ function checkDCE() {
|
|
|
27238
27331
|
c,
|
|
27239
27332
|
l,
|
|
27240
27333
|
_args10 = arguments;
|
|
27241
|
-
return
|
|
27242
|
-
while (1) {
|
|
27243
|
-
|
|
27244
|
-
|
|
27245
|
-
|
|
27246
|
-
|
|
27247
|
-
|
|
27248
|
-
|
|
27249
|
-
|
|
27250
|
-
|
|
27251
|
-
|
|
27252
|
-
if (_context10.t0) {
|
|
27253
|
-
_context10.next = 6;
|
|
27254
|
-
break;
|
|
27255
|
-
}
|
|
27334
|
+
return _regeneratorRuntime().wrap(function nodes$(_context10) {
|
|
27335
|
+
while (1) switch (_context10.prev = _context10.next) {
|
|
27336
|
+
case 0:
|
|
27337
|
+
t = _args10.length > 1 && void 0 !== _args10[1] ? _args10[1] : {}, r = t.pass, _t$reverse4 = t.reverse, n = _t$reverse4 === void 0 ? !1 : _t$reverse4, _t$from = t.from, u = _t$from === void 0 ? [] : _t$from, o = t.to, a = new Set(), i = [], s = e;
|
|
27338
|
+
case 1:
|
|
27339
|
+
if (!(!o || !(n ? st.isBefore(i, o) : st.isAfter(i, o)))) {
|
|
27340
|
+
_context10.next = 22;
|
|
27341
|
+
break;
|
|
27342
|
+
}
|
|
27343
|
+
_context10.t0 = a.has(s);
|
|
27344
|
+
if (_context10.t0) {
|
|
27256
27345
|
_context10.next = 6;
|
|
27257
|
-
return [s, i];
|
|
27258
|
-
case 6:
|
|
27259
|
-
if (!(a.has(s) || yt.isText(s) || 0 === s.children.length || null != r && !1 !== r([s, i]))) {
|
|
27260
|
-
_context10.next = 17;
|
|
27261
|
-
break;
|
|
27262
|
-
}
|
|
27263
|
-
if (!(0 === i.length)) {
|
|
27264
|
-
_context10.next = 9;
|
|
27265
|
-
break;
|
|
27266
|
-
}
|
|
27267
|
-
return _context10.abrupt("break", 22);
|
|
27268
|
-
case 9:
|
|
27269
|
-
if (n) {
|
|
27270
|
-
_context10.next = 14;
|
|
27271
|
-
break;
|
|
27272
|
-
}
|
|
27273
|
-
c = st.next(i);
|
|
27274
|
-
if (!ut.has(e, c)) {
|
|
27275
|
-
_context10.next = 14;
|
|
27276
|
-
break;
|
|
27277
|
-
}
|
|
27278
|
-
i = c, s = ut.get(e, i);
|
|
27279
|
-
return _context10.abrupt("continue", 20);
|
|
27280
|
-
case 14:
|
|
27281
|
-
if (n && 0 !== i[i.length - 1]) i = st.previous(i), s = ut.get(e, i);else i = st.parent(i), s = ut.get(e, i), a.add(s);
|
|
27282
|
-
_context10.next = 20;
|
|
27283
27346
|
break;
|
|
27284
|
-
|
|
27285
|
-
|
|
27286
|
-
|
|
27287
|
-
|
|
27288
|
-
|
|
27289
|
-
_context10.next =
|
|
27347
|
+
}
|
|
27348
|
+
_context10.next = 6;
|
|
27349
|
+
return [s, i];
|
|
27350
|
+
case 6:
|
|
27351
|
+
if (!(a.has(s) || yt.isText(s) || 0 === s.children.length || null != r && !1 !== r([s, i]))) {
|
|
27352
|
+
_context10.next = 17;
|
|
27290
27353
|
break;
|
|
27291
|
-
|
|
27292
|
-
|
|
27293
|
-
|
|
27294
|
-
|
|
27354
|
+
}
|
|
27355
|
+
if (!(0 === i.length)) {
|
|
27356
|
+
_context10.next = 9;
|
|
27357
|
+
break;
|
|
27358
|
+
}
|
|
27359
|
+
return _context10.abrupt("break", 22);
|
|
27360
|
+
case 9:
|
|
27361
|
+
if (n) {
|
|
27362
|
+
_context10.next = 14;
|
|
27363
|
+
break;
|
|
27364
|
+
}
|
|
27365
|
+
c = st.next(i);
|
|
27366
|
+
if (!ut.has(e, c)) {
|
|
27367
|
+
_context10.next = 14;
|
|
27368
|
+
break;
|
|
27369
|
+
}
|
|
27370
|
+
i = c, s = ut.get(e, i);
|
|
27371
|
+
return _context10.abrupt("continue", 20);
|
|
27372
|
+
case 14:
|
|
27373
|
+
if (n && 0 !== i[i.length - 1]) i = st.previous(i), s = ut.get(e, i);else i = st.parent(i), s = ut.get(e, i), a.add(s);
|
|
27374
|
+
_context10.next = 20;
|
|
27375
|
+
break;
|
|
27376
|
+
case 17:
|
|
27377
|
+
a.add(s);
|
|
27378
|
+
l = n ? s.children.length - 1 : 0;
|
|
27379
|
+
st.isAncestor(i, u) && (l = u[i.length]), i = i.concat(l), s = ut.get(e, i);
|
|
27380
|
+
case 20:
|
|
27381
|
+
_context10.next = 1;
|
|
27382
|
+
break;
|
|
27383
|
+
case 22:
|
|
27384
|
+
case "end":
|
|
27385
|
+
return _context10.stop();
|
|
27295
27386
|
}
|
|
27296
27387
|
}, nodes);
|
|
27297
27388
|
}),
|
|
@@ -27304,7 +27395,7 @@ function checkDCE() {
|
|
|
27304
27395
|
string: function string(e) {
|
|
27305
27396
|
return yt.isText(e) ? e.text : e.children.map(ut.string).join("");
|
|
27306
27397
|
},
|
|
27307
|
-
texts: /*#__PURE__*/
|
|
27398
|
+
texts: /*#__PURE__*/_regeneratorRuntime().mark(function texts(e) {
|
|
27308
27399
|
var t,
|
|
27309
27400
|
_iterator23,
|
|
27310
27401
|
_step23,
|
|
@@ -27312,45 +27403,43 @@ function checkDCE() {
|
|
|
27312
27403
|
r,
|
|
27313
27404
|
n,
|
|
27314
27405
|
_args11 = arguments;
|
|
27315
|
-
return
|
|
27316
|
-
while (1) {
|
|
27317
|
-
|
|
27318
|
-
|
|
27319
|
-
|
|
27320
|
-
|
|
27321
|
-
|
|
27322
|
-
|
|
27323
|
-
|
|
27324
|
-
|
|
27325
|
-
_context11.next = 12;
|
|
27326
|
-
break;
|
|
27327
|
-
}
|
|
27328
|
-
_step23$value = _slicedToArray(_step23.value, 2), r = _step23$value[0], n = _step23$value[1];
|
|
27329
|
-
_context11.t0 = yt.isText(r);
|
|
27330
|
-
if (!_context11.t0) {
|
|
27331
|
-
_context11.next = 10;
|
|
27332
|
-
break;
|
|
27333
|
-
}
|
|
27334
|
-
_context11.next = 10;
|
|
27335
|
-
return [r, n];
|
|
27336
|
-
case 10:
|
|
27337
|
-
_context11.next = 4;
|
|
27406
|
+
return _regeneratorRuntime().wrap(function texts$(_context11) {
|
|
27407
|
+
while (1) switch (_context11.prev = _context11.next) {
|
|
27408
|
+
case 0:
|
|
27409
|
+
t = _args11.length > 1 && void 0 !== _args11[1] ? _args11[1] : {};
|
|
27410
|
+
_iterator23 = _createForOfIteratorHelper(ut.nodes(e, t));
|
|
27411
|
+
_context11.prev = 2;
|
|
27412
|
+
_iterator23.s();
|
|
27413
|
+
case 4:
|
|
27414
|
+
if ((_step23 = _iterator23.n()).done) {
|
|
27415
|
+
_context11.next = 12;
|
|
27338
27416
|
break;
|
|
27339
|
-
|
|
27340
|
-
|
|
27417
|
+
}
|
|
27418
|
+
_step23$value = _slicedToArray(_step23.value, 2), r = _step23$value[0], n = _step23$value[1];
|
|
27419
|
+
_context11.t0 = yt.isText(r);
|
|
27420
|
+
if (!_context11.t0) {
|
|
27421
|
+
_context11.next = 10;
|
|
27341
27422
|
break;
|
|
27342
|
-
|
|
27343
|
-
|
|
27344
|
-
|
|
27345
|
-
|
|
27346
|
-
|
|
27347
|
-
|
|
27348
|
-
|
|
27349
|
-
|
|
27350
|
-
|
|
27351
|
-
|
|
27352
|
-
|
|
27353
|
-
|
|
27423
|
+
}
|
|
27424
|
+
_context11.next = 10;
|
|
27425
|
+
return [r, n];
|
|
27426
|
+
case 10:
|
|
27427
|
+
_context11.next = 4;
|
|
27428
|
+
break;
|
|
27429
|
+
case 12:
|
|
27430
|
+
_context11.next = 17;
|
|
27431
|
+
break;
|
|
27432
|
+
case 14:
|
|
27433
|
+
_context11.prev = 14;
|
|
27434
|
+
_context11.t1 = _context11["catch"](2);
|
|
27435
|
+
_iterator23.e(_context11.t1);
|
|
27436
|
+
case 17:
|
|
27437
|
+
_context11.prev = 17;
|
|
27438
|
+
_iterator23.f();
|
|
27439
|
+
return _context11.finish(17);
|
|
27440
|
+
case 20:
|
|
27441
|
+
case "end":
|
|
27442
|
+
return _context11.stop();
|
|
27354
27443
|
}
|
|
27355
27444
|
}, texts, null, [[2, 14, 17, 20]]);
|
|
27356
27445
|
})
|
|
@@ -27565,9 +27654,7 @@ function checkDCE() {
|
|
|
27565
27654
|
return e[e.length - 1] !== t[t.length - 1] && st.equals(r, n);
|
|
27566
27655
|
},
|
|
27567
27656
|
levels: function levels(e) {
|
|
27568
|
-
for (var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, _t$reverse6 = t.reverse, r = _t$reverse6 === void 0 ? !1 : _t$reverse6, n = [], u = 0; u <= e.length; u++)
|
|
27569
|
-
n.push(e.slice(0, u));
|
|
27570
|
-
}
|
|
27657
|
+
for (var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, _t$reverse6 = t.reverse, r = _t$reverse6 === void 0 ? !1 : _t$reverse6, n = [], u = 0; u <= e.length; u++) n.push(e.slice(0, u));
|
|
27571
27658
|
return r && n.reverse(), n;
|
|
27572
27659
|
},
|
|
27573
27660
|
next: function next(e) {
|
|
@@ -27839,20 +27926,18 @@ function checkDCE() {
|
|
|
27839
27926
|
isRange: function isRange(e) {
|
|
27840
27927
|
return a(e) && ft.isPoint(e.anchor) && ft.isPoint(e.focus);
|
|
27841
27928
|
},
|
|
27842
|
-
points: /*#__PURE__*/
|
|
27843
|
-
return
|
|
27844
|
-
while (1) {
|
|
27845
|
-
|
|
27846
|
-
|
|
27847
|
-
|
|
27848
|
-
|
|
27849
|
-
|
|
27850
|
-
|
|
27851
|
-
|
|
27852
|
-
|
|
27853
|
-
|
|
27854
|
-
return _context12.stop();
|
|
27855
|
-
}
|
|
27929
|
+
points: /*#__PURE__*/_regeneratorRuntime().mark(function points(e) {
|
|
27930
|
+
return _regeneratorRuntime().wrap(function points$(_context12) {
|
|
27931
|
+
while (1) switch (_context12.prev = _context12.next) {
|
|
27932
|
+
case 0:
|
|
27933
|
+
_context12.next = 2;
|
|
27934
|
+
return [e.anchor, "anchor"];
|
|
27935
|
+
case 2:
|
|
27936
|
+
_context12.next = 4;
|
|
27937
|
+
return [e.focus, "focus"];
|
|
27938
|
+
case 4:
|
|
27939
|
+
case "end":
|
|
27940
|
+
return _context12.stop();
|
|
27856
27941
|
}
|
|
27857
27942
|
}, points);
|
|
27858
27943
|
}),
|
|
@@ -27905,14 +27990,10 @@ function checkDCE() {
|
|
|
27905
27990
|
if (!gt(n, u)) return !1;
|
|
27906
27991
|
} else if (Array.isArray(n) && Array.isArray(u)) {
|
|
27907
27992
|
if (n.length !== u.length) return !1;
|
|
27908
|
-
for (var o = 0; o < n.length; o++)
|
|
27909
|
-
if (n[o] !== u[o]) return !1;
|
|
27910
|
-
}
|
|
27993
|
+
for (var o = 0; o < n.length; o++) if (n[o] !== u[o]) return !1;
|
|
27911
27994
|
} else if (n !== u) return !1;
|
|
27912
27995
|
}
|
|
27913
|
-
for (var i in t)
|
|
27914
|
-
if (void 0 === e[i] && void 0 !== t[i]) return !1;
|
|
27915
|
-
}
|
|
27996
|
+
for (var i in t) if (void 0 === e[i] && void 0 !== t[i]) return !1;
|
|
27916
27997
|
return !0;
|
|
27917
27998
|
},
|
|
27918
27999
|
Bt = ["text"],
|
|
@@ -27960,9 +28041,7 @@ function checkDCE() {
|
|
|
27960
28041
|
return void 0 !== e.text;
|
|
27961
28042
|
},
|
|
27962
28043
|
matches: function matches(e, t) {
|
|
27963
|
-
for (var r in t)
|
|
27964
|
-
if ("text" !== r && (!e.hasOwnProperty(r) || e[r] !== t[r])) return !1;
|
|
27965
|
-
}
|
|
28044
|
+
for (var r in t) if ("text" !== r && (!e.hasOwnProperty(r) || e[r] !== t[r])) return !1;
|
|
27966
28045
|
return !0;
|
|
27967
28046
|
},
|
|
27968
28047
|
decorations: function decorations(e, t) {
|
|
@@ -28475,9 +28554,7 @@ function checkDCE() {
|
|
|
28475
28554
|
B = {};
|
|
28476
28555
|
if (0 !== C.length) {
|
|
28477
28556
|
var m = !1;
|
|
28478
|
-
for (var E in t)
|
|
28479
|
-
"children" !== E && "text" !== E && o(t[E], p[E]) && (m = !0, p.hasOwnProperty(E) && (g[E] = p[E]), null != t[E] && (B[E] = t[E]));
|
|
28480
|
-
}
|
|
28557
|
+
for (var E in t) "children" !== E && "text" !== E && o(t[E], p[E]) && (m = !0, p.hasOwnProperty(E) && (g[E] = p[E]), null != t[E] && (B[E] = t[E]));
|
|
28481
28558
|
m && e.apply({
|
|
28482
28559
|
type: "set_node",
|
|
28483
28560
|
path: C,
|
|
@@ -28903,9 +28980,7 @@ function checkDCE() {
|
|
|
28903
28980
|
n = {},
|
|
28904
28981
|
u = {};
|
|
28905
28982
|
if (r) {
|
|
28906
|
-
for (var o in t)
|
|
28907
|
-
("anchor" === o && null != t.anchor && !ft.equals(t.anchor, r.anchor) || "focus" === o && null != t.focus && !ft.equals(t.focus, r.focus) || "anchor" !== o && "focus" !== o && t[o] !== r[o]) && (n[o] = r[o], u[o] = t[o]);
|
|
28908
|
-
}
|
|
28983
|
+
for (var o in t) ("anchor" === o && null != t.anchor && !ft.equals(t.anchor, r.anchor) || "focus" === o && null != t.focus && !ft.equals(t.focus, r.focus) || "anchor" !== o && "focus" !== o && t[o] !== r[o]) && (n[o] = r[o], u[o] = t[o]);
|
|
28909
28984
|
Object.keys(n).length > 0 && e.apply({
|
|
28910
28985
|
type: "set_selection",
|
|
28911
28986
|
properties: n,
|
|
@@ -29489,9 +29564,7 @@ function checkDCE() {
|
|
|
29489
29564
|
var ue = te[ne];
|
|
29490
29565
|
null == ue ? delete re[ne] : re[ne] = ue;
|
|
29491
29566
|
}
|
|
29492
|
-
for (var oe in ee)
|
|
29493
|
-
te.hasOwnProperty(oe) || delete re[oe];
|
|
29494
|
-
}
|
|
29567
|
+
for (var oe in ee) te.hasOwnProperty(oe) || delete re[oe];
|
|
29495
29568
|
break;
|
|
29496
29569
|
case "set_selection":
|
|
29497
29570
|
var ae = r.newProperties;
|
|
@@ -29690,16 +29763,12 @@ function checkDCE() {
|
|
|
29690
29763
|
n,
|
|
29691
29764
|
u = {},
|
|
29692
29765
|
o = Object.keys(e);
|
|
29693
|
-
for (n = 0; n < o.length; n++)
|
|
29694
|
-
r = o[n], t.indexOf(r) >= 0 || (u[r] = e[r]);
|
|
29695
|
-
}
|
|
29766
|
+
for (n = 0; n < o.length; n++) r = o[n], t.indexOf(r) >= 0 || (u[r] = e[r]);
|
|
29696
29767
|
return u;
|
|
29697
29768
|
}(e, t);
|
|
29698
29769
|
if (Object.getOwnPropertySymbols) {
|
|
29699
29770
|
var o = Object.getOwnPropertySymbols(e);
|
|
29700
|
-
for (n = 0; n < o.length; n++)
|
|
29701
|
-
r = o[n], t.indexOf(r) >= 0 || Object.prototype.propertyIsEnumerable.call(e, r) && (u[r] = e[r]);
|
|
29702
|
-
}
|
|
29771
|
+
for (n = 0; n < o.length; n++) r = o[n], t.indexOf(r) >= 0 || Object.prototype.propertyIsEnumerable.call(e, r) && (u[r] = e[r]);
|
|
29703
29772
|
}
|
|
29704
29773
|
return u;
|
|
29705
29774
|
}
|
|
@@ -30040,9 +30109,7 @@ function checkDCE() {
|
|
|
30040
30109
|
renderLeaf: i,
|
|
30041
30110
|
text: h
|
|
30042
30111
|
})), yr.set(h, e), Ar.set(h, r);
|
|
30043
|
-
}, D = 0; D < r.children.length; D++)
|
|
30044
|
-
h(D);
|
|
30045
|
-
}
|
|
30112
|
+
}, D = 0; D < r.children.length; D++) h(D);
|
|
30046
30113
|
return d;
|
|
30047
30114
|
},
|
|
30048
30115
|
nn = {
|
|
@@ -30147,9 +30214,7 @@ function checkDCE() {
|
|
|
30147
30214
|
return vn(e) && 3 === e.nodeType;
|
|
30148
30215
|
},
|
|
30149
30216
|
gn = function gn(e, t, r) {
|
|
30150
|
-
for (var n, u = e.childNodes, o = u[t], a = t, i = !1, s = !1; (vn(n = o) && 8 === n.nodeType || Dn(o) && 0 === o.childNodes.length || Dn(o) && "false" === o.getAttribute("contenteditable")) && (!i || !s);)
|
|
30151
|
-
a >= u.length ? (i = !0, a = t - 1, r = "backward") : a < 0 ? (s = !0, a = t + 1, r = "forward") : (o = u[a], t = a, a += "forward" === r ? 1 : -1);
|
|
30152
|
-
}
|
|
30217
|
+
for (var n, u = e.childNodes, o = u[t], a = t, i = !1, s = !1; (vn(n = o) && 8 === n.nodeType || Dn(o) && 0 === o.childNodes.length || Dn(o) && "false" === o.getAttribute("contenteditable")) && (!i || !s);) a >= u.length ? (i = !0, a = t - 1, r = "backward") : a < 0 ? (s = !0, a = t + 1, r = "forward") : (o = u[a], t = a, a += "forward" === r ? 1 : -1);
|
|
30153
30218
|
return [o, t];
|
|
30154
30219
|
},
|
|
30155
30220
|
Bn = function Bn(e, t, r) {
|
|
@@ -30246,9 +30311,7 @@ function checkDCE() {
|
|
|
30246
30311
|
function Mn(e, t) {
|
|
30247
30312
|
if (e === t) return null;
|
|
30248
30313
|
var r = function (e, t) {
|
|
30249
|
-
for (var r = Math.min(e.length, t.length), n = 0; n < r; n++)
|
|
30250
|
-
if (e.charAt(n) !== t.charAt(n)) return n;
|
|
30251
|
-
}
|
|
30314
|
+
for (var r = Math.min(e.length, t.length), n = 0; n < r; n++) if (e.charAt(n) !== t.charAt(n)) return n;
|
|
30252
30315
|
return e.length !== t.length ? r : null;
|
|
30253
30316
|
}(e, t);
|
|
30254
30317
|
if (null === r) return null;
|
|
@@ -30522,7 +30585,7 @@ function checkDCE() {
|
|
|
30522
30585
|
if (Dn(t) && t.childNodes.length) {
|
|
30523
30586
|
var n = r === t.childNodes.length,
|
|
30524
30587
|
u = n ? r - 1 : r;
|
|
30525
|
-
for ((_gn3 = gn(t, u, n ? "backward" : "forward"), _gn4 = _slicedToArray(_gn3, 2), t = _gn4[0], u = _gn4[1]
|
|
30588
|
+
for ((_gn3 = gn(t, u, n ? "backward" : "forward"), _gn4 = _slicedToArray(_gn3, 2), t = _gn4[0], u = _gn4[1]), n = u < r; Dn(t) && t.childNodes.length;) {
|
|
30526
30589
|
var _gn3, _gn4;
|
|
30527
30590
|
var o = n ? t.childNodes.length - 1 : 0;
|
|
30528
30591
|
t = Bn(t, o, n ? "backward" : "forward");
|
|
@@ -30949,9 +31012,7 @@ function checkDCE() {
|
|
|
30949
31012
|
a = Math.floor(o / 2);
|
|
30950
31013
|
if (ru(e, Qe.range(e, n[u]), r)) return Qe.range(e, n[u], r);
|
|
30951
31014
|
if (n.length < 2) return Qe.range(e, n[n.length - 1], r);
|
|
30952
|
-
for (; a !== n.length && a !== u;)
|
|
30953
|
-
ru(e, Qe.range(e, n[a]), r) ? o = a : u = a, a = Math.floor((u + o) / 2);
|
|
30954
|
-
}
|
|
31015
|
+
for (; a !== n.length && a !== u;) ru(e, Qe.range(e, n[a]), r) ? o = a : u = a, a = Math.floor((u + o) / 2);
|
|
30955
31016
|
return Qe.range(e, n[o], r);
|
|
30956
31017
|
}(t, a);
|
|
30957
31018
|
pt.isCollapsed(i) || zt["delete"](e, {
|
|
@@ -31876,9 +31937,7 @@ function checkDCE() {
|
|
|
31876
31937
|
ou = r(1),
|
|
31877
31938
|
au = r.n(ou),
|
|
31878
31939
|
iu = function iu() {
|
|
31879
|
-
for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
|
|
31880
|
-
t[r] = arguments[r];
|
|
31881
|
-
}
|
|
31940
|
+
for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r];
|
|
31882
31941
|
return function (e) {
|
|
31883
31942
|
return t.reduceRight(function (e, t) {
|
|
31884
31943
|
return t ? t(e) : e;
|
|
@@ -31886,9 +31945,7 @@ function checkDCE() {
|
|
|
31886
31945
|
};
|
|
31887
31946
|
},
|
|
31888
31947
|
su = function su() {
|
|
31889
|
-
for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
|
|
31890
|
-
t[r] = arguments[r];
|
|
31891
|
-
}
|
|
31948
|
+
for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r];
|
|
31892
31949
|
return function (e) {
|
|
31893
31950
|
return t.reduce(function (e, t) {
|
|
31894
31951
|
return t ? t(e) : e;
|
|
@@ -31923,9 +31980,7 @@ function checkDCE() {
|
|
|
31923
31980
|
}
|
|
31924
31981
|
function fu(e, t) {
|
|
31925
31982
|
(null == t || t > e.length) && (t = e.length);
|
|
31926
|
-
for (var r = 0, n = new Array(t); r < t; r++)
|
|
31927
|
-
n[r] = e[r];
|
|
31928
|
-
}
|
|
31983
|
+
for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r];
|
|
31929
31984
|
return n;
|
|
31930
31985
|
}
|
|
31931
31986
|
var hu = function hu() {
|
|
@@ -32024,9 +32079,7 @@ function checkDCE() {
|
|
|
32024
32079
|
u = !1,
|
|
32025
32080
|
o = void 0;
|
|
32026
32081
|
try {
|
|
32027
|
-
for (var a, i = e[Symbol.iterator](); !(n = (a = i.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0)
|
|
32028
|
-
;
|
|
32029
|
-
}
|
|
32082
|
+
for (var a, i = e[Symbol.iterator](); !(n = (a = i.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0);
|
|
32030
32083
|
} catch (e) {
|
|
32031
32084
|
u = !0, o = e;
|
|
32032
32085
|
} finally {
|
|
@@ -32050,9 +32103,7 @@ function checkDCE() {
|
|
|
32050
32103
|
}
|
|
32051
32104
|
function Ou(e, t) {
|
|
32052
32105
|
(null == t || t > e.length) && (t = e.length);
|
|
32053
|
-
for (var r = 0, n = new Array(t); r < t; r++)
|
|
32054
|
-
n[r] = e[r];
|
|
32055
|
-
}
|
|
32106
|
+
for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r];
|
|
32056
32107
|
return n;
|
|
32057
32108
|
}
|
|
32058
32109
|
var xu = function xu() {
|
|
@@ -32086,9 +32137,7 @@ function checkDCE() {
|
|
|
32086
32137
|
}
|
|
32087
32138
|
function ku(e, t) {
|
|
32088
32139
|
(null == t || t > e.length) && (t = e.length);
|
|
32089
|
-
for (var r = 0, n = new Array(t); r < t; r++)
|
|
32090
|
-
n[r] = e[r];
|
|
32091
|
-
}
|
|
32140
|
+
for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r];
|
|
32092
32141
|
return n;
|
|
32093
32142
|
}
|
|
32094
32143
|
function Pu(e, t) {
|
|
@@ -32158,9 +32207,7 @@ function checkDCE() {
|
|
|
32158
32207
|
return (_u = Object.assign || function (e) {
|
|
32159
32208
|
for (var t = 1; t < arguments.length; t++) {
|
|
32160
32209
|
var r = arguments[t];
|
|
32161
|
-
for (var n in r)
|
|
32162
|
-
Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
|
|
32163
|
-
}
|
|
32210
|
+
for (var n in r) Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
|
|
32164
32211
|
}
|
|
32165
32212
|
return e;
|
|
32166
32213
|
}).apply(this, arguments);
|
|
@@ -32175,9 +32222,7 @@ function checkDCE() {
|
|
|
32175
32222
|
u = !1,
|
|
32176
32223
|
o = void 0;
|
|
32177
32224
|
try {
|
|
32178
|
-
for (var a, i = e[Symbol.iterator](); !(n = (a = i.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0)
|
|
32179
|
-
;
|
|
32180
|
-
}
|
|
32225
|
+
for (var a, i = e[Symbol.iterator](); !(n = (a = i.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0);
|
|
32181
32226
|
} catch (e) {
|
|
32182
32227
|
u = !0, o = e;
|
|
32183
32228
|
} finally {
|
|
@@ -32201,9 +32246,7 @@ function checkDCE() {
|
|
|
32201
32246
|
}
|
|
32202
32247
|
function Vu(e, t) {
|
|
32203
32248
|
(null == t || t > e.length) && (t = e.length);
|
|
32204
|
-
for (var r = 0, n = new Array(t); r < t; r++)
|
|
32205
|
-
n[r] = e[r];
|
|
32206
|
-
}
|
|
32249
|
+
for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r];
|
|
32207
32250
|
return n;
|
|
32208
32251
|
}
|
|
32209
32252
|
var qu = function qu(e, t) {
|
|
@@ -32265,9 +32308,7 @@ function checkDCE() {
|
|
|
32265
32308
|
return (Zu = Object.assign || function (e) {
|
|
32266
32309
|
for (var t = 1; t < arguments.length; t++) {
|
|
32267
32310
|
var r = arguments[t];
|
|
32268
|
-
for (var n in r)
|
|
32269
|
-
Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
|
|
32270
|
-
}
|
|
32311
|
+
for (var n in r) Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
|
|
32271
32312
|
}
|
|
32272
32313
|
return e;
|
|
32273
32314
|
}).apply(this, arguments);
|
|
@@ -32311,16 +32352,12 @@ function checkDCE() {
|
|
|
32311
32352
|
n,
|
|
32312
32353
|
u = {},
|
|
32313
32354
|
o = Object.keys(e);
|
|
32314
|
-
for (n = 0; n < o.length; n++)
|
|
32315
|
-
r = o[n], t.indexOf(r) >= 0 || (u[r] = e[r]);
|
|
32316
|
-
}
|
|
32355
|
+
for (n = 0; n < o.length; n++) r = o[n], t.indexOf(r) >= 0 || (u[r] = e[r]);
|
|
32317
32356
|
return u;
|
|
32318
32357
|
}(e, t);
|
|
32319
32358
|
if (Object.getOwnPropertySymbols) {
|
|
32320
32359
|
var o = Object.getOwnPropertySymbols(e);
|
|
32321
|
-
for (n = 0; n < o.length; n++)
|
|
32322
|
-
r = o[n], t.indexOf(r) >= 0 || Object.prototype.propertyIsEnumerable.call(e, r) && (u[r] = e[r]);
|
|
32323
|
-
}
|
|
32360
|
+
for (n = 0; n < o.length; n++) r = o[n], t.indexOf(r) >= 0 || Object.prototype.propertyIsEnumerable.call(e, r) && (u[r] = e[r]);
|
|
32324
32361
|
}
|
|
32325
32362
|
return u;
|
|
32326
32363
|
}
|
|
@@ -32496,9 +32533,7 @@ function checkDCE() {
|
|
|
32496
32533
|
},
|
|
32497
32534
|
Oo = function Oo(e) {
|
|
32498
32535
|
if (Do(e)) return 1 / 0;
|
|
32499
|
-
for (var t = 0, r = e.parentNode; r;)
|
|
32500
|
-
t += 1, r = r.parentNode;
|
|
32501
|
-
}
|
|
32536
|
+
for (var t = 0, r = e.parentNode; r;) t += 1, r = r.parentNode;
|
|
32502
32537
|
return t;
|
|
32503
32538
|
},
|
|
32504
32539
|
xo = function xo() {
|
|
@@ -32533,9 +32568,7 @@ function checkDCE() {
|
|
|
32533
32568
|
t = 0;
|
|
32534
32569
|
for (jo(t); ao.some(function (e) {
|
|
32535
32570
|
return e.activeTargets.length > 0;
|
|
32536
|
-
});)
|
|
32537
|
-
t = xo(), jo(t);
|
|
32538
|
-
}
|
|
32571
|
+
});) t = xo(), jo(t);
|
|
32539
32572
|
return ao.some(function (e) {
|
|
32540
32573
|
return e.skippedTargets.length > 0;
|
|
32541
32574
|
}) && ("function" == typeof ErrorEvent ? e = new ErrorEvent("error", {
|
|
@@ -32651,9 +32684,7 @@ function checkDCE() {
|
|
|
32651
32684
|
},
|
|
32652
32685
|
Vo = new WeakMap(),
|
|
32653
32686
|
qo = function qo(e, t) {
|
|
32654
|
-
for (var r = 0; r < e.length; r += 1)
|
|
32655
|
-
if (e[r].target === t) return r;
|
|
32656
|
-
}
|
|
32687
|
+
for (var r = 0; r < e.length; r += 1) if (e[r].target === t) return r;
|
|
32657
32688
|
return -1;
|
|
32658
32689
|
},
|
|
32659
32690
|
Ho = function () {
|
|
@@ -32914,9 +32945,7 @@ function checkDCE() {
|
|
|
32914
32945
|
u = !1,
|
|
32915
32946
|
o = void 0;
|
|
32916
32947
|
try {
|
|
32917
|
-
for (var a, i = e[Symbol.iterator](); !(n = (a = i.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0)
|
|
32918
|
-
;
|
|
32919
|
-
}
|
|
32948
|
+
for (var a, i = e[Symbol.iterator](); !(n = (a = i.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0);
|
|
32920
32949
|
} catch (e) {
|
|
32921
32950
|
u = !0, o = e;
|
|
32922
32951
|
} finally {
|
|
@@ -32940,18 +32969,14 @@ function checkDCE() {
|
|
|
32940
32969
|
}
|
|
32941
32970
|
function ma(e, t) {
|
|
32942
32971
|
(null == t || t > e.length) && (t = e.length);
|
|
32943
|
-
for (var r = 0, n = new Array(t); r < t; r++)
|
|
32944
|
-
n[r] = e[r];
|
|
32945
|
-
}
|
|
32972
|
+
for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r];
|
|
32946
32973
|
return n;
|
|
32947
32974
|
}
|
|
32948
32975
|
function Ea() {
|
|
32949
32976
|
return (Ea = Object.assign || function (e) {
|
|
32950
32977
|
for (var t = 1; t < arguments.length; t++) {
|
|
32951
32978
|
var r = arguments[t];
|
|
32952
|
-
for (var n in r)
|
|
32953
|
-
Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
|
|
32954
|
-
}
|
|
32979
|
+
for (var n in r) Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
|
|
32955
32980
|
}
|
|
32956
32981
|
return e;
|
|
32957
32982
|
}).apply(this, arguments);
|
|
@@ -33214,9 +33239,7 @@ function checkDCE() {
|
|
|
33214
33239
|
u = !1,
|
|
33215
33240
|
o = void 0;
|
|
33216
33241
|
try {
|
|
33217
|
-
for (var a, i = e[Symbol.iterator](); !(n = (a = i.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0)
|
|
33218
|
-
;
|
|
33219
|
-
}
|
|
33242
|
+
for (var a, i = e[Symbol.iterator](); !(n = (a = i.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0);
|
|
33220
33243
|
} catch (e) {
|
|
33221
33244
|
u = !0, o = e;
|
|
33222
33245
|
} finally {
|
|
@@ -33240,18 +33263,14 @@ function checkDCE() {
|
|
|
33240
33263
|
}
|
|
33241
33264
|
function _a(e, t) {
|
|
33242
33265
|
(null == t || t > e.length) && (t = e.length);
|
|
33243
|
-
for (var r = 0, n = new Array(t); r < t; r++)
|
|
33244
|
-
n[r] = e[r];
|
|
33245
|
-
}
|
|
33266
|
+
for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r];
|
|
33246
33267
|
return n;
|
|
33247
33268
|
}
|
|
33248
33269
|
function za() {
|
|
33249
33270
|
return (za = Object.assign || function (e) {
|
|
33250
33271
|
for (var t = 1; t < arguments.length; t++) {
|
|
33251
33272
|
var r = arguments[t];
|
|
33252
|
-
for (var n in r)
|
|
33253
|
-
Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
|
|
33254
|
-
}
|
|
33273
|
+
for (var n in r) Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
|
|
33255
33274
|
}
|
|
33256
33275
|
return e;
|
|
33257
33276
|
}).apply(this, arguments);
|
|
@@ -33651,9 +33670,7 @@ function checkDCE() {
|
|
|
33651
33670
|
return (gi = Object.assign || function (e) {
|
|
33652
33671
|
for (var t = 1; t < arguments.length; t++) {
|
|
33653
33672
|
var r = arguments[t];
|
|
33654
|
-
for (var n in r)
|
|
33655
|
-
Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
|
|
33656
|
-
}
|
|
33673
|
+
for (var n in r) Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
|
|
33657
33674
|
}
|
|
33658
33675
|
return e;
|
|
33659
33676
|
}).apply(this, arguments);
|
|
@@ -33705,9 +33722,7 @@ function checkDCE() {
|
|
|
33705
33722
|
}
|
|
33706
33723
|
function yi(e, t) {
|
|
33707
33724
|
(null == t || t > e.length) && (t = e.length);
|
|
33708
|
-
for (var r = 0, n = new Array(t); r < t; r++)
|
|
33709
|
-
n[r] = e[r];
|
|
33710
|
-
}
|
|
33725
|
+
for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r];
|
|
33711
33726
|
return n;
|
|
33712
33727
|
}
|
|
33713
33728
|
window.ResizeObserver || (window.ResizeObserver = Uo);
|
|
@@ -33992,7 +34007,7 @@ var RichTextEditor = function RichTextEditor(_ref) {
|
|
|
33992
34007
|
/* Handle events from webview */
|
|
33993
34008
|
var onMessage = React.useCallback(function (event) {
|
|
33994
34009
|
var _event$nativeEvent, _event$nativeEvent2;
|
|
33995
|
-
var message = event !== null && event !== void 0 && (_event$nativeEvent = event.nativeEvent) !== null && _event$nativeEvent !== void 0 && _event$nativeEvent.data ? JSON.parse(event === null || event === void 0
|
|
34010
|
+
var message = event !== null && event !== void 0 && (_event$nativeEvent = event.nativeEvent) !== null && _event$nativeEvent !== void 0 && _event$nativeEvent.data ? JSON.parse(event === null || event === void 0 || (_event$nativeEvent2 = event.nativeEvent) === null || _event$nativeEvent2 === void 0 ? void 0 : _event$nativeEvent2.data) : undefined;
|
|
33996
34011
|
var messageType = message === null || message === void 0 ? void 0 : message.type;
|
|
33997
34012
|
var messageData = message === null || message === void 0 ? void 0 : message.data;
|
|
33998
34013
|
switch (messageType) {
|
|
@@ -34011,7 +34026,7 @@ var RichTextEditor = function RichTextEditor(_ref) {
|
|
|
34011
34026
|
}
|
|
34012
34027
|
break;
|
|
34013
34028
|
case '@hero-editor/webview/cursor-change':
|
|
34014
|
-
onCursorChange === null || onCursorChange === void 0
|
|
34029
|
+
onCursorChange === null || onCursorChange === void 0 || onCursorChange(messageData);
|
|
34015
34030
|
break;
|
|
34016
34031
|
case '@hero-editor/webview/editor-layout':
|
|
34017
34032
|
handleEditorLayoutEvent(messageData);
|