@hero-design/rn 8.33.2 → 8.34.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/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/es/index.js +797 -488
- package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/lib/index.js +800 -489
- package/package.json +8 -5
- package/rollup.config.js +2 -0
- package/src/components/Calendar/__tests__/index.spec.tsx +47 -0
- package/src/components/Calendar/index.tsx +161 -59
- package/src/components/Carousel/CardCarousel.tsx +2 -0
- package/src/components/DatePicker/DatePickerAndroid.tsx +4 -1
- package/src/components/DatePicker/DatePickerCalendar.tsx +18 -1
- package/src/components/DatePicker/DatePickerIOS.tsx +4 -1
- package/src/components/DatePicker/__tests__/DatePickerCalendar.spec.tsx +39 -0
- package/src/components/DatePicker/types.ts +8 -0
- package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
- package/src/components/Icon/IconList.ts +2 -0
- package/src/components/Modal/ModalContentWrapper.tsx +112 -0
- package/src/components/Modal/ModalPresenter/ModalPresenter.tsx +135 -0
- package/src/components/Modal/ModalPresenter/index.tsx +9 -0
- package/src/components/Modal/ModalProvider.tsx +8 -0
- package/src/components/Modal/__tests__/ModalContentWrapper.spec.tsx +25 -0
- package/src/components/Modal/__tests__/ModalPresenter.spec.tsx +57 -0
- package/src/components/Modal/__tests__/__snapshots__/ModalContentWrapper.spec.tsx.snap +35 -0
- package/src/components/Modal/__tests__/__snapshots__/ModalPresenter.spec.tsx.snap +55 -0
- package/src/components/Modal/__tests__/index.spec.tsx +50 -0
- package/src/components/Modal/index.tsx +121 -0
- package/src/components/PinInput/index.tsx +2 -0
- package/src/components/RichTextEditor/RichTextEditor.tsx +5 -2
- package/src/components/Toast/ToastContainer.tsx +2 -0
- package/src/index.ts +2 -0
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +2 -0
- package/src/theme/components/calendar.ts +2 -0
- package/testUtils/setup.tsx +43 -0
- package/types/components/Calendar/index.d.ts +13 -1
- package/types/components/DatePicker/DatePickerAndroid.d.ts +1 -1
- package/types/components/DatePicker/DatePickerCalendar.d.ts +1 -1
- package/types/components/DatePicker/DatePickerIOS.d.ts +1 -1
- package/types/components/DatePicker/types.d.ts +8 -0
- package/types/components/Icon/IconList.d.ts +1 -1
- package/types/components/Icon/index.d.ts +1 -1
- package/types/components/Icon/utils.d.ts +1 -1
- package/types/components/Modal/ModalContentWrapper.d.ts +16 -0
- package/types/components/Modal/ModalPresenter/ModalPresenter.d.ts +34 -0
- package/types/components/Modal/ModalPresenter/index.d.ts +3 -0
- package/types/components/Modal/ModalProvider.d.ts +5 -0
- package/types/components/Modal/index.d.ts +33 -0
- package/types/components/RichTextEditor/RichTextEditor.d.ts +2 -2
- package/types/index.d.ts +2 -1
- package/types/theme/components/calendar.d.ts +2 -0
package/lib/index.js
CHANGED
|
@@ -6,7 +6,9 @@ var reactNative = require('react-native');
|
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var reactNativeVectorIcons = require('react-native-vector-icons');
|
|
8
8
|
var reactNativeSafeAreaContext = require('react-native-safe-area-context');
|
|
9
|
+
var reactNativeMonthYearPicker = require('@hero-design/react-native-month-year-picker');
|
|
9
10
|
var DateTimePicker = require('@react-native-community/datetimepicker');
|
|
11
|
+
var RootSiblings = require('react-native-root-siblings');
|
|
10
12
|
var RnSlider = require('@react-native-community/slider');
|
|
11
13
|
var reactNativeGestureHandler = require('react-native-gesture-handler');
|
|
12
14
|
var LinearGradient = require('react-native-linear-gradient');
|
|
@@ -37,6 +39,7 @@ function _interopNamespace(e) {
|
|
|
37
39
|
var reactNative__namespace = /*#__PURE__*/_interopNamespace(reactNative);
|
|
38
40
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
39
41
|
var DateTimePicker__default = /*#__PURE__*/_interopDefaultLegacy(DateTimePicker);
|
|
42
|
+
var RootSiblings__default = /*#__PURE__*/_interopDefaultLegacy(RootSiblings);
|
|
40
43
|
var RnSlider__default = /*#__PURE__*/_interopDefaultLegacy(RnSlider);
|
|
41
44
|
var LinearGradient__default = /*#__PURE__*/_interopDefaultLegacy(LinearGradient);
|
|
42
45
|
var PagerView__default = /*#__PURE__*/_interopDefaultLegacy(PagerView);
|
|
@@ -2038,7 +2041,9 @@ var getCalendarTheme = function getCalendarTheme(theme) {
|
|
|
2038
2041
|
var space = {
|
|
2039
2042
|
rowVerticalPadding: theme.space.medium,
|
|
2040
2043
|
headerVerticalPadding: theme.space.medium,
|
|
2041
|
-
headerHorizontalPadding: theme.space.smallMedium
|
|
2044
|
+
headerHorizontalPadding: theme.space.smallMedium,
|
|
2045
|
+
headerMarginRight: theme.space.small,
|
|
2046
|
+
iosPickerMarginVertical: theme.space['5xlarge']
|
|
2042
2047
|
};
|
|
2043
2048
|
var radii = {
|
|
2044
2049
|
"default": theme.radii.rounded
|
|
@@ -6216,7 +6221,7 @@ var getDisplayName = function getDisplayName(primitive) {
|
|
|
6216
6221
|
|
|
6217
6222
|
var styled = createStyled(reactNative.StyleSheet);
|
|
6218
6223
|
var components = ['ActivityIndicator', 'Button', 'DatePickerIOS', 'DrawerLayoutAndroid', 'FlatList', 'Image', 'ImageBackground', 'KeyboardAvoidingView', 'ListView', 'Modal', 'NavigatorIOS', 'Picker', 'PickerIOS', 'Pressable', 'ProgressBarAndroid', 'ProgressViewIOS', 'RecyclerViewBackedScrollView', 'RefreshControl', 'SafeAreaView', 'ScrollView', 'SectionList', 'SegmentedControlIOS', 'Slider', 'SnapshotViewIOS', 'StatusBar', 'SwipeableListView', 'Switch', 'SwitchIOS', 'TabBarIOS', 'Text', 'TextInput', 'ToolbarAndroid', 'TouchableHighlight', 'TouchableNativeFeedback', 'TouchableOpacity', 'TouchableWithoutFeedback', 'View', 'ViewPagerAndroid'];
|
|
6219
|
-
var index$
|
|
6224
|
+
var index$b = components.reduce(function (acc, comp) {
|
|
6220
6225
|
return Object.defineProperty(acc, comp, {
|
|
6221
6226
|
enumerable: true,
|
|
6222
6227
|
configurable: false,
|
|
@@ -6251,7 +6256,7 @@ var useDeprecation = function useDeprecation(message) {
|
|
|
6251
6256
|
}, [message, cond]);
|
|
6252
6257
|
};
|
|
6253
6258
|
|
|
6254
|
-
var StyledWrapper$d = index$
|
|
6259
|
+
var StyledWrapper$d = index$b(reactNative.Animated.View)({
|
|
6255
6260
|
margin: 0,
|
|
6256
6261
|
padding: 0,
|
|
6257
6262
|
overflow: 'hidden'
|
|
@@ -6261,12 +6266,12 @@ var StyledWrapper$d = index$a(reactNative.Animated.View)({
|
|
|
6261
6266
|
* This container's purpose is only to help get correct children height and returns it
|
|
6262
6267
|
* to use with Animated.timing
|
|
6263
6268
|
*/
|
|
6264
|
-
var StyledHiddenWrapper = index$
|
|
6269
|
+
var StyledHiddenWrapper = index$b(reactNative.View)(function () {
|
|
6265
6270
|
return {
|
|
6266
6271
|
height: reactNative.Dimensions.get('window').height
|
|
6267
6272
|
};
|
|
6268
6273
|
});
|
|
6269
|
-
var StyledChildWrapper = index$
|
|
6274
|
+
var StyledChildWrapper = index$b(reactNative.View)({
|
|
6270
6275
|
margin: 0,
|
|
6271
6276
|
padding: 0
|
|
6272
6277
|
});
|
|
@@ -6319,10 +6324,10 @@ var Collapse = function Collapse(_ref) {
|
|
|
6319
6324
|
}, children)));
|
|
6320
6325
|
};
|
|
6321
6326
|
|
|
6322
|
-
var StyledWrapper$c = index$
|
|
6327
|
+
var StyledWrapper$c = index$b(reactNative.View)(function () {
|
|
6323
6328
|
return {};
|
|
6324
6329
|
});
|
|
6325
|
-
var StyledItemWrapper$1 = index$
|
|
6330
|
+
var StyledItemWrapper$1 = index$b(reactNative.View)(function (_ref) {
|
|
6326
6331
|
var theme = _ref.theme,
|
|
6327
6332
|
themeVariant = _ref.themeVariant;
|
|
6328
6333
|
return {
|
|
@@ -6331,19 +6336,19 @@ var StyledItemWrapper$1 = index$a(reactNative.View)(function (_ref) {
|
|
|
6331
6336
|
borderRadius: themeVariant === 'card' ? theme.__hd__.accordion.radii.card : 0
|
|
6332
6337
|
};
|
|
6333
6338
|
});
|
|
6334
|
-
var StyledHeaderWrapper$1 = index$
|
|
6339
|
+
var StyledHeaderWrapper$1 = index$b(reactNative.TouchableOpacity)(function () {
|
|
6335
6340
|
return {
|
|
6336
6341
|
flexDirection: 'row',
|
|
6337
6342
|
justifyContent: 'space-between'
|
|
6338
6343
|
};
|
|
6339
6344
|
});
|
|
6340
|
-
var StyledCollapse = index$
|
|
6345
|
+
var StyledCollapse = index$b(Collapse)(function (_ref2) {
|
|
6341
6346
|
var theme = _ref2.theme;
|
|
6342
6347
|
return {
|
|
6343
6348
|
paddingTop: theme.__hd__.accordion.space.padding
|
|
6344
6349
|
};
|
|
6345
6350
|
});
|
|
6346
|
-
var Spacer$1 = index$
|
|
6351
|
+
var Spacer$1 = index$b(reactNative.View)(function (_ref3) {
|
|
6347
6352
|
var theme = _ref3.theme;
|
|
6348
6353
|
return {
|
|
6349
6354
|
paddingTop: theme.__hd__.accordion.space.padding
|
|
@@ -6355,7 +6360,7 @@ var FONTWEIGHT_MAP$2 = {
|
|
|
6355
6360
|
regular: 'regular',
|
|
6356
6361
|
'semi-bold': 'semiBold'
|
|
6357
6362
|
};
|
|
6358
|
-
var StyledText$3 = index$
|
|
6363
|
+
var StyledText$3 = index$b(reactNative.Text)(function (_ref) {
|
|
6359
6364
|
var themeFontSize = _ref.themeFontSize,
|
|
6360
6365
|
themeFontWeight = _ref.themeFontWeight,
|
|
6361
6366
|
themeIntent = _ref.themeIntent,
|
|
@@ -6372,7 +6377,7 @@ var StyledText$3 = index$a(reactNative.Text)(function (_ref) {
|
|
|
6372
6377
|
});
|
|
6373
6378
|
});
|
|
6374
6379
|
|
|
6375
|
-
var _excluded$
|
|
6380
|
+
var _excluded$z = ["children", "fontSize", "fontWeight", "intent", "typeface", "allowFontScaling"];
|
|
6376
6381
|
var Text = function Text(_ref) {
|
|
6377
6382
|
var children = _ref.children,
|
|
6378
6383
|
_ref$fontSize = _ref.fontSize,
|
|
@@ -6385,7 +6390,7 @@ var Text = function Text(_ref) {
|
|
|
6385
6390
|
typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
|
|
6386
6391
|
_ref$allowFontScaling = _ref.allowFontScaling,
|
|
6387
6392
|
allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
|
|
6388
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
6393
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$z);
|
|
6389
6394
|
useDeprecation('Typography.Text is deprecated and will be removed in the next major release, please refer to https://design.employmenthero.com/mobile/Components/typography for the appropriate alternatives.');
|
|
6390
6395
|
return /*#__PURE__*/React__default["default"].createElement(StyledText$3, _extends$1({}, nativeProps, {
|
|
6391
6396
|
themeFontSize: fontSize,
|
|
@@ -6402,7 +6407,7 @@ var FONTWEIGHT_MAP$1 = {
|
|
|
6402
6407
|
'semi-bold': 'semiBold'
|
|
6403
6408
|
};
|
|
6404
6409
|
|
|
6405
|
-
var StyledCaption = index$
|
|
6410
|
+
var StyledCaption = index$b(reactNative.Text)(function (_ref) {
|
|
6406
6411
|
var themeFontWeight = _ref.themeFontWeight,
|
|
6407
6412
|
themeIntent = _ref.themeIntent,
|
|
6408
6413
|
theme = _ref.theme;
|
|
@@ -6415,7 +6420,7 @@ var StyledCaption = index$a(reactNative.Text)(function (_ref) {
|
|
|
6415
6420
|
};
|
|
6416
6421
|
});
|
|
6417
6422
|
|
|
6418
|
-
var _excluded$
|
|
6423
|
+
var _excluded$y = ["children", "fontWeight", "intent", "allowFontScaling"];
|
|
6419
6424
|
var Caption = function Caption(_ref) {
|
|
6420
6425
|
var children = _ref.children,
|
|
6421
6426
|
_ref$fontWeight = _ref.fontWeight,
|
|
@@ -6424,7 +6429,7 @@ var Caption = function Caption(_ref) {
|
|
|
6424
6429
|
intent = _ref$intent === void 0 ? 'body' : _ref$intent,
|
|
6425
6430
|
_ref$allowFontScaling = _ref.allowFontScaling,
|
|
6426
6431
|
allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
|
|
6427
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
6432
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$y);
|
|
6428
6433
|
return /*#__PURE__*/React__default["default"].createElement(StyledCaption, _extends$1({}, nativeProps, {
|
|
6429
6434
|
themeFontWeight: fontWeight,
|
|
6430
6435
|
themeIntent: intent,
|
|
@@ -6432,7 +6437,7 @@ var Caption = function Caption(_ref) {
|
|
|
6432
6437
|
}), children);
|
|
6433
6438
|
};
|
|
6434
6439
|
|
|
6435
|
-
var StyledLabel$1 = index$
|
|
6440
|
+
var StyledLabel$1 = index$b(reactNative.Text)(function (_ref) {
|
|
6436
6441
|
var themeIntent = _ref.themeIntent,
|
|
6437
6442
|
theme = _ref.theme;
|
|
6438
6443
|
return {
|
|
@@ -6443,21 +6448,21 @@ var StyledLabel$1 = index$a(reactNative.Text)(function (_ref) {
|
|
|
6443
6448
|
};
|
|
6444
6449
|
});
|
|
6445
6450
|
|
|
6446
|
-
var _excluded$
|
|
6451
|
+
var _excluded$x = ["children", "intent", "allowFontScaling"];
|
|
6447
6452
|
var Label = function Label(_ref) {
|
|
6448
6453
|
var children = _ref.children,
|
|
6449
6454
|
_ref$intent = _ref.intent,
|
|
6450
6455
|
intent = _ref$intent === void 0 ? 'body' : _ref$intent,
|
|
6451
6456
|
_ref$allowFontScaling = _ref.allowFontScaling,
|
|
6452
6457
|
allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
|
|
6453
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
6458
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$x);
|
|
6454
6459
|
return /*#__PURE__*/React__default["default"].createElement(StyledLabel$1, _extends$1({}, nativeProps, {
|
|
6455
6460
|
themeIntent: intent,
|
|
6456
6461
|
allowFontScaling: allowFontScaling
|
|
6457
6462
|
}), children);
|
|
6458
6463
|
};
|
|
6459
6464
|
|
|
6460
|
-
var StyledTitle$1 = index$
|
|
6465
|
+
var StyledTitle$1 = index$b(reactNative.Text)(function (_ref) {
|
|
6461
6466
|
var themeIntent = _ref.themeIntent,
|
|
6462
6467
|
themeLevel = _ref.themeLevel,
|
|
6463
6468
|
theme = _ref.theme,
|
|
@@ -6471,7 +6476,7 @@ var StyledTitle$1 = index$a(reactNative.Text)(function (_ref) {
|
|
|
6471
6476
|
};
|
|
6472
6477
|
});
|
|
6473
6478
|
|
|
6474
|
-
var _excluded$
|
|
6479
|
+
var _excluded$w = ["children", "intent", "allowFontScaling", "level", "typeface"];
|
|
6475
6480
|
var Title = function Title(_ref) {
|
|
6476
6481
|
var children = _ref.children,
|
|
6477
6482
|
_ref$intent = _ref.intent,
|
|
@@ -6482,7 +6487,7 @@ var Title = function Title(_ref) {
|
|
|
6482
6487
|
level = _ref$level === void 0 ? 'h1' : _ref$level,
|
|
6483
6488
|
_ref$typeface = _ref.typeface,
|
|
6484
6489
|
typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
|
|
6485
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
6490
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$w);
|
|
6486
6491
|
return /*#__PURE__*/React__default["default"].createElement(StyledTitle$1, _extends$1({}, nativeProps, {
|
|
6487
6492
|
themeLevel: level,
|
|
6488
6493
|
themeTypeface: typeface,
|
|
@@ -6503,7 +6508,7 @@ var FONTSIZE_MAP = {
|
|
|
6503
6508
|
'regular-bold': 'regular',
|
|
6504
6509
|
'small-bold': 'small'
|
|
6505
6510
|
};
|
|
6506
|
-
var StyledBody = index$
|
|
6511
|
+
var StyledBody = index$b(reactNative.Text)(function (_ref) {
|
|
6507
6512
|
var themeIntent = _ref.themeIntent,
|
|
6508
6513
|
theme = _ref.theme,
|
|
6509
6514
|
themeTypeface = _ref.themeTypeface,
|
|
@@ -6517,7 +6522,7 @@ var StyledBody = index$a(reactNative.Text)(function (_ref) {
|
|
|
6517
6522
|
};
|
|
6518
6523
|
});
|
|
6519
6524
|
|
|
6520
|
-
var _excluded$
|
|
6525
|
+
var _excluded$v = ["children", "intent", "allowFontScaling", "typeface", "variant"];
|
|
6521
6526
|
var Body = function Body(_ref) {
|
|
6522
6527
|
var children = _ref.children,
|
|
6523
6528
|
_ref$intent = _ref.intent,
|
|
@@ -6528,7 +6533,7 @@ var Body = function Body(_ref) {
|
|
|
6528
6533
|
typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
|
|
6529
6534
|
_ref$variant = _ref.variant,
|
|
6530
6535
|
variant = _ref$variant === void 0 ? 'regular' : _ref$variant,
|
|
6531
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
6536
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$v);
|
|
6532
6537
|
return /*#__PURE__*/React__default["default"].createElement(StyledBody, _extends$1({}, nativeProps, {
|
|
6533
6538
|
themeTypeface: typeface,
|
|
6534
6539
|
themeIntent: intent,
|
|
@@ -6546,7 +6551,7 @@ var Typography = {
|
|
|
6546
6551
|
};
|
|
6547
6552
|
|
|
6548
6553
|
// 🔴 DO NOT EDIT — This file is generated automatically.
|
|
6549
|
-
var IconList = ['activate', 'add-emoji', 'add-person', 'adjustment', 'alignment', 'antenna', 'archive', 'assignment-warning', 'bank', 'bell', 'billing', 'bolt', 'bookmark-added', 'bookmark', 'box-check', 'box', 'bpay', 'buildings', 'cake', 'calendar-clock', 'calendar', 'candy-box-menu', 'caret-down-small', 'caret-down', 'caret-left-small', 'caret-left', 'caret-right-small', 'caret-right', 'caret-up-small', 'caret-up', 'check-radio', 'circle-add', 'circle-cancel', 'circle-check', 'circle-down', 'circle-info', 'circle-left', 'circle-ok', 'circle-pencil', 'circle-question', 'circle-remove', 'circle-right', 'circle-up', 'circle-warning', 'clock-3', 'clock', 'cloud-download', 'cloud-upload', 'cog', 'coin', 'contacts', 'credit-card', 'diamond', 'direction-arrows', 'directory', 'document', 'dollar-coin-shine', 'double-buildings', 'edit-template', 'envelope', 'exclude', 'expense', 'eye-circle', 'eye-invisible', 'eye', 'face-meh', 'face-sad', 'face-smiley', 'feed', 'feedbacks', 'file-certified', 'file-clone', 'file-copy', 'file-csv', 'file-dispose', 'file-doc', 'file-excel', 'file-export', 'file-lock', 'file-pdf', 'file-powerpoint', 'file-search', 'file-secured', 'file-sheets', 'file-slide', 'file-verified', 'file-word', 'file', 'filter', 'folder-user', 'folder', 'format-bold', 'format-heading1', 'format-heading2', 'format-italic', 'format-list-bulleted', 'format-list-numbered', 'format-underlined', 'funnel-filter', 'global-dollar', 'globe', 'graduation-cap', 'graph', 'happy-sun', 'health-bag', 'heart', 'home', 'image', 'import', 'incident-siren', 'instapay', 'list', 'loading-2', 'loading', 'location', 'lock', 'looks-one', 'looks-two', 'media-content', 'menu', 'money-notes', 'moneybag', 'moon', 'multiple-stars', 'multiple-users', 'node', 'open-folder', 'paperclip', 'payment-summary', 'pencil', 'phone', 'piggy-bank', 'plane-up', 'plane', 'play-circle', 'print', 'raising-hands', 'reply-arrow', 'reply', 'reschedule', 'rostering', 'save', 'schedule-send', 'schedule', 'search-person', 'send', 'speaker-active', 'speaker', 'star-award', 'star-badge', 'star-circle', 'star-medal', 'star', 'steps-circle', 'stopwatch', 'suitcase', 'surfing', 'survey', 'swag-pillar-benefit', 'swag-pillar-career', 'swag-pillar-money', 'swag-pillar-work', 'swag', 'switch', 'tag', 'target', 'teams', 'timesheet', 'touch-id', 'trash-bin', 'unlock', 'user', 'video-1', 'video-2', 'wallet', 'warning', 'activate-outlined', 'add-credit-card-outlined', 'add-person-outlined', 'add-section-outlined', 'add-time-outlined', 'add', 'adjustment-outlined', 'ai-outlined', 'alignment-2-outlined', 'alignment-outlined', 'all-caps', 'arrow-down', 'arrow-downwards', 'arrow-left', 'arrow-leftwards', 'arrow-right', 'arrow-rightwards', 'arrow-up', 'arrow-upwards', 'article-outlined', 'at-sign', 'auto-graph-outlined', 'beer-outlined', 'bell-active-outlined', 'bell-outlined', 'bell-slash-outlined', 'billing-outlined', 'body-outlined', 'bold', 'book-outlined', 'bookmark-added-outlined', 'bookmark-outlined', 'box-check-outlined', 'box-outlined', 'bullet-points', 'cake-outlined', 'calendar-dates-outlined', 'calendar-star-outlined', 'call-split-outlined', 'camera-outlined', 'cancel', 'car-forward-outlined', 'charging-station-outlined', 'chat-bubble-outlined', 'chat-unread-outlined', 'checkmark', 'circle-add-outlined', 'circle-cancel-outlined', 'circle-down-outlined', 'circle-info-outlined', 'circle-left-outlined', 'circle-ok-outlined', 'circle-question-outlined', 'circle-remove-outlined', 'circle-right-outlined', 'circle-up-outlined', 'circle-warning-outlined', 'clock-2-outlined', 'clock-outlined', 'cog-outlined', 'coin-outlined', 'coin-super-outlined', 'comment-outlined', 'contacts-outlined', 'contacts-user-outlined', 'credit-card-outlined', 'cup-outlined', 'dentistry-outlined', 'direction-arrows-outlined', 'directory-outlined', 'document-outlined', 'dollar-box-outlined', 'dollar-card-outlined', 'dollar-coin-shine-outlined', 'dollar-credit-card-outlined', 'dollar-sign', 'double-buildings-outlined', 'double-left-arrows', 'double-right-arrows', 'download-box-outlined', 'download-outlined', 'edit-template-outlined', 'email-outlined', 'enter-arrow', 'envelope-outlined', 'expense-outlined', 'explore-outlined', 'extension-outlined', 'external-link', 'eye-invisible-outlined', 'eye-outlined', 'face-id', 'face-meh-outlined', 'face-open-smiley-outlined', 'face-sad-outlined', 'face-smiley-outlined', 'fastfood-outlined', 'feed-outlined', 'file-certified-outlined', 'file-clone-outlined', 'file-copy-outlined', 'file-dispose-outlined', 'file-dollar-certified-outlined', 'file-dollar-outlined', 'file-download-outlined', 'file-export-outlined', 'file-lock-outlined', 'file-outlined', 'file-search-outlined', 'file-secured-outlined', 'file-statutory-outlined', 'file-verified-outlined', 'filter-outlined', 'folder-outlined', 'folder-user-outlined', 'form-outlined', 'funnel-filter-outline', 'graph-outlined', 'hand-holding-user-outlined', 'happy-sun-outlined', 'health-bag-outlined', 'heart-outlined', 'home-active-outlined', 'home-outlined', 'id-card-outlined', 'image-outlined', 'import-outlined', 'instapay-outlined', 'italic', 'link-1', 'link-2', 'list-outlined', 'live-help-outlined', 'location-on-outlined', 'location-outlined', 'lock-outlined', 'locked-file-outlined', 'log-out', 'media-content-outlined', 'menu-close', 'menu-expand', 'menu-fold-outlined', 'menu-unfold-outlined', 'moneybag-outlined', 'moon-outlined', 'more-horizontal', 'more-vertical', 'multiple-folders-outlined', 'multiple-users-outlined', 'near-me-outlined', 'node-outlined', 'number-points', 'number', 'overview-outlined', 'payment-summary-outlined', 'payslip-outlined', 'pencil-outlined', 'percentage', 'phone-outlined', 'piggy-bank-outlined', 'plane-outlined', 'play-circle-outlined', 'print-outlined', 'qr-code-outlined', 'qualification-outlined', 're-assign', 'redeem', 'refresh', 'remove', 'reply-outlined', 'restart', 'return-arrow', 'rostering-outlined', 'save-outlined', 'schedule-outlined', 'search-outlined', 'search-secured-outlined', 'send-outlined', 'share-1', 'share-2', 'share-outlined', 'show-chart-outlined', 'single-down-arrow', 'single-left-arrow', 'single-right-arrow', 'single-up-arrow', 'speaker-active-outlined', 'speaker-outlined', 'star-circle-outlined', 'star-outlined', 'stopwatch-outlined', 'strikethrough', 'styler-outlined', 'suitcase-clock-outlined', 'suitcase-outlined', 'survey-outlined', 'switch-outlined', 'sync', 'tag-outlined', 'target-outlined', 'tennis-outlined', 'ticket-outlined', 'timesheet-outlined', 'today-outlined', 'transfer', 'trash-bin-outlined', 'umbrela-outlined', 'unavailable', 'underline', 'union-outlined', 'unlock-outlined', 'upload-outlined', 'user-circle-outlined', 'user-gear-outlined', 'user-outlined', 'user-rectangle-outlined', 'video-1-outlined', 'video-2-outlined', 'volunteer-outlined', 'wallet-outlined'];
|
|
6554
|
+
var IconList = ['activate', 'add-emoji', 'add-person', 'adjustment', 'alignment', 'antenna', 'archive', 'assignment-warning', 'bank', 'bell', 'billing', 'bolt', 'bookmark-added', 'bookmark', 'box-check', 'box', 'bpay', 'buildings', 'cake', 'calendar-clock', 'calendar', 'candy-box-menu', 'caret-down-small', 'caret-down', 'caret-left-small', 'caret-left', 'caret-right-small', 'caret-right', 'caret-up-small', 'caret-up', 'check-radio', 'circle-add', 'circle-cancel', 'circle-check', 'circle-down', 'circle-info', 'circle-left', 'circle-ok', 'circle-pencil', 'circle-question', 'circle-remove', 'circle-right', 'circle-up', 'circle-warning', 'clock-3', 'clock', 'cloud-download', 'cloud-upload', 'cog', 'coin', 'contacts', 'credit-card', 'diamond', 'direction-arrows', 'directory', 'document', 'dollar-coin-shine', 'double-buildings', 'edit-template', 'envelope', 'exclude', 'expense', 'eye-circle', 'eye-invisible', 'eye', 'face-meh', 'face-sad', 'face-smiley', 'feed', 'feedbacks', 'file-certified', 'file-clone', 'file-copy', 'file-csv', 'file-dispose', 'file-doc', 'file-excel', 'file-export', 'file-lock', 'file-pdf', 'file-powerpoint', 'file-search', 'file-secured', 'file-sheets', 'file-slide', 'file-verified', 'file-word', 'file', 'filter', 'folder-user', 'folder', 'format-bold', 'format-heading1', 'format-heading2', 'format-italic', 'format-list-bulleted', 'format-list-numbered', 'format-underlined', 'funnel-filter', 'global-dollar', 'globe', 'graduation-cap', 'graph', 'happy-sun', 'health-bag', 'heart', 'home', 'image', 'import', 'incident-siren', 'instapay', 'list', 'loading-2', 'loading', 'location', 'lock', 'looks-one', 'looks-two', 'media-content', 'menu', 'money-notes', 'moneybag', 'moon', 'multiple-stars', 'multiple-users', 'node', 'open-folder', 'paperclip', 'payment-summary', 'pencil', 'phone', 'piggy-bank', 'plane-up', 'plane', 'play-circle', 'print', 'raising-hands', 'reply-arrow', 'reply', 'reschedule', 'rostering', 'save', 'schedule-send', 'schedule', 'search-person', 'send', 'speaker-active', 'speaker', 'star-award', 'star-badge', 'star-circle', 'star-medal', 'star', 'steps-circle', 'stopwatch', 'suitcase', 'surfing', 'survey', 'swag-pillar-benefit', 'swag-pillar-career', 'swag-pillar-money', 'swag-pillar-work', 'swag', 'switch', 'tag', 'target', 'teams', 'timesheet', 'touch-id', 'trash-bin', 'unlock', 'user', 'video-1', 'video-2', 'wallet', 'warning', 'activate-outlined', 'add-credit-card-outlined', 'add-person-outlined', 'add-section-outlined', 'add-time-outlined', 'add', 'adjustment-outlined', 'ai-outlined', 'alignment-2-outlined', 'alignment-outlined', 'all-caps', 'arrow-down', 'arrow-downwards', 'arrow-left', 'arrow-leftwards', 'arrow-right', 'arrow-rightwards', 'arrow-up', 'arrow-upwards', 'article-outlined', 'at-sign', 'auto-graph-outlined', 'beer-outlined', 'bell-active-outlined', 'bell-outlined', 'bell-slash-outlined', 'billing-outlined', 'body-outlined', 'bold', 'book-outlined', 'bookmark-added-outlined', 'bookmark-outlined', 'box-check-outlined', 'box-outlined', 'bullet-points', 'cake-outlined', 'calendar-dates-outlined', 'calendar-star-outlined', 'call-outlined', 'call-split-outlined', 'camera-outlined', 'cancel', 'car-forward-outlined', 'charging-station-outlined', 'chat-bubble-outlined', 'chat-unread-outlined', 'checkmark', 'circle-add-outlined', 'circle-cancel-outlined', 'circle-down-outlined', 'circle-info-outlined', 'circle-left-outlined', 'circle-ok-outlined', 'circle-question-outlined', 'circle-remove-outlined', 'circle-right-outlined', 'circle-up-outlined', 'circle-warning-outlined', 'clock-2-outlined', 'clock-outlined', 'cog-outlined', 'coin-outlined', 'coin-super-outlined', 'comment-outlined', 'contacts-outlined', 'contacts-user-outlined', 'credit-card-outlined', 'cup-outlined', 'dentistry-outlined', 'direction-arrows-outlined', 'directory-outlined', 'document-outlined', 'dollar-box-outlined', 'dollar-card-outlined', 'dollar-coin-shine-outlined', 'dollar-credit-card-outlined', 'dollar-sign', 'double-buildings-outlined', 'double-left-arrows', 'double-right-arrows', 'download-box-outlined', 'download-outlined', 'edit-template-outlined', 'email-outlined', 'enter-arrow', 'envelope-outlined', 'expense-outlined', 'explore-outlined', 'extension-outlined', 'external-link', 'eye-invisible-outlined', 'eye-outlined', 'face-id', 'face-meh-outlined', 'face-open-smiley-outlined', 'face-sad-outlined', 'face-smiley-outlined', 'fastfood-outlined', 'feed-outlined', 'file-certified-outlined', 'file-clone-outlined', 'file-copy-outlined', 'file-dispose-outlined', 'file-dollar-certified-outlined', 'file-dollar-outlined', 'file-download-outlined', 'file-export-outlined', 'file-lock-outlined', 'file-outlined', 'file-search-outlined', 'file-secured-outlined', 'file-statutory-outlined', 'file-verified-outlined', 'filter-outlined', 'folder-outlined', 'folder-user-outlined', 'form-outlined', 'funnel-filter-outline', 'graph-outlined', 'hand-holding-user-outlined', 'happy-sun-outlined', 'health-bag-outlined', 'heart-outlined', 'home-active-outlined', 'home-outlined', 'id-card-outlined', 'image-outlined', 'import-outlined', 'instapay-outlined', 'italic', 'link-1', 'link-2', 'list-outlined', 'live-help-outlined', 'location-on-outlined', 'location-outlined', 'lock-outlined', 'locked-file-outlined', 'log-out', 'mail-outlined', 'media-content-outlined', 'menu-close', 'menu-expand', 'menu-fold-outlined', 'menu-unfold-outlined', 'moneybag-outlined', 'moon-outlined', 'more-horizontal', 'more-vertical', 'multiple-folders-outlined', 'multiple-users-outlined', 'near-me-outlined', 'node-outlined', 'number-points', 'number', 'overview-outlined', 'payment-summary-outlined', 'payslip-outlined', 'pencil-outlined', 'percentage', 'phone-outlined', 'piggy-bank-outlined', 'plane-outlined', 'play-circle-outlined', 'print-outlined', 'qr-code-outlined', 'qualification-outlined', 're-assign', 'redeem', 'refresh', 'remove', 'reply-outlined', 'restart', 'return-arrow', 'rostering-outlined', 'save-outlined', 'schedule-outlined', 'search-outlined', 'search-secured-outlined', 'send-outlined', 'share-1', 'share-2', 'share-outlined', 'show-chart-outlined', 'single-down-arrow', 'single-left-arrow', 'single-right-arrow', 'single-up-arrow', 'speaker-active-outlined', 'speaker-outlined', 'star-circle-outlined', 'star-outlined', 'stopwatch-outlined', 'strikethrough', 'styler-outlined', 'suitcase-clock-outlined', 'suitcase-outlined', 'survey-outlined', 'switch-outlined', 'sync', 'tag-outlined', 'target-outlined', 'tennis-outlined', 'ticket-outlined', 'timesheet-outlined', 'today-outlined', 'transfer', 'trash-bin-outlined', 'umbrela-outlined', 'unavailable', 'underline', 'union-outlined', 'unlock-outlined', 'upload-outlined', 'user-circle-outlined', 'user-gear-outlined', 'user-outlined', 'user-rectangle-outlined', 'video-1-outlined', 'video-2-outlined', 'volunteer-outlined', 'wallet-outlined'];
|
|
6550
6555
|
|
|
6551
6556
|
var activate = 59000;
|
|
6552
6557
|
var adjustment = 59003;
|
|
@@ -6621,20 +6626,20 @@ var wallet = 59174;
|
|
|
6621
6626
|
var warning = 59175;
|
|
6622
6627
|
var add = 59181;
|
|
6623
6628
|
var bold = 59204;
|
|
6624
|
-
var cancel =
|
|
6625
|
-
var checkmark =
|
|
6626
|
-
var italic =
|
|
6627
|
-
var number =
|
|
6628
|
-
var percentage =
|
|
6629
|
-
var redeem =
|
|
6630
|
-
var refresh =
|
|
6631
|
-
var remove =
|
|
6632
|
-
var restart =
|
|
6633
|
-
var strikethrough =
|
|
6634
|
-
var sync =
|
|
6635
|
-
var transfer =
|
|
6636
|
-
var unavailable =
|
|
6637
|
-
var underline =
|
|
6629
|
+
var cancel = 59217;
|
|
6630
|
+
var checkmark = 59222;
|
|
6631
|
+
var italic = 59305;
|
|
6632
|
+
var number = 59330;
|
|
6633
|
+
var percentage = 59335;
|
|
6634
|
+
var redeem = 59344;
|
|
6635
|
+
var refresh = 59345;
|
|
6636
|
+
var remove = 59346;
|
|
6637
|
+
var restart = 59348;
|
|
6638
|
+
var strikethrough = 59369;
|
|
6639
|
+
var sync = 59375;
|
|
6640
|
+
var transfer = 59382;
|
|
6641
|
+
var unavailable = 59385;
|
|
6642
|
+
var underline = 59386;
|
|
6638
6643
|
var glyphMap = {
|
|
6639
6644
|
activate: activate,
|
|
6640
6645
|
"add-emoji": 59001,
|
|
@@ -6850,188 +6855,190 @@ var glyphMap = {
|
|
|
6850
6855
|
"cake-outlined": 59211,
|
|
6851
6856
|
"calendar-dates-outlined": 59212,
|
|
6852
6857
|
"calendar-star-outlined": 59213,
|
|
6853
|
-
"call-
|
|
6854
|
-
"
|
|
6858
|
+
"call-outlined": 59214,
|
|
6859
|
+
"call-split-outlined": 59215,
|
|
6860
|
+
"camera-outlined": 59216,
|
|
6855
6861
|
cancel: cancel,
|
|
6856
|
-
"car-forward-outlined":
|
|
6857
|
-
"charging-station-outlined":
|
|
6858
|
-
"chat-bubble-outlined":
|
|
6859
|
-
"chat-unread-outlined":
|
|
6862
|
+
"car-forward-outlined": 59218,
|
|
6863
|
+
"charging-station-outlined": 59219,
|
|
6864
|
+
"chat-bubble-outlined": 59220,
|
|
6865
|
+
"chat-unread-outlined": 59221,
|
|
6860
6866
|
checkmark: checkmark,
|
|
6861
|
-
"circle-add-outlined":
|
|
6862
|
-
"circle-cancel-outlined":
|
|
6863
|
-
"circle-down-outlined":
|
|
6864
|
-
"circle-info-outlined":
|
|
6865
|
-
"circle-left-outlined":
|
|
6866
|
-
"circle-ok-outlined":
|
|
6867
|
-
"circle-question-outlined":
|
|
6868
|
-
"circle-remove-outlined":
|
|
6869
|
-
"circle-right-outlined":
|
|
6870
|
-
"circle-up-outlined":
|
|
6871
|
-
"circle-warning-outlined":
|
|
6872
|
-
"clock-2-outlined":
|
|
6873
|
-
"clock-outlined":
|
|
6874
|
-
"cog-outlined":
|
|
6875
|
-
"coin-outlined":
|
|
6876
|
-
"coin-super-outlined":
|
|
6877
|
-
"comment-outlined":
|
|
6878
|
-
"contacts-outlined":
|
|
6879
|
-
"contacts-user-outlined":
|
|
6880
|
-
"credit-card-outlined":
|
|
6881
|
-
"cup-outlined":
|
|
6882
|
-
"dentistry-outlined":
|
|
6883
|
-
"direction-arrows-outlined":
|
|
6884
|
-
"directory-outlined":
|
|
6885
|
-
"document-outlined":
|
|
6886
|
-
"dollar-box-outlined":
|
|
6887
|
-
"dollar-card-outlined":
|
|
6888
|
-
"dollar-coin-shine-outlined":
|
|
6889
|
-
"dollar-credit-card-outlined":
|
|
6890
|
-
"dollar-sign":
|
|
6891
|
-
"double-buildings-outlined":
|
|
6892
|
-
"double-left-arrows":
|
|
6893
|
-
"double-right-arrows":
|
|
6894
|
-
"download-box-outlined":
|
|
6895
|
-
"download-outlined":
|
|
6896
|
-
"edit-template-outlined":
|
|
6897
|
-
"email-outlined":
|
|
6898
|
-
"enter-arrow":
|
|
6899
|
-
"envelope-outlined":
|
|
6900
|
-
"expense-outlined":
|
|
6901
|
-
"explore-outlined":
|
|
6902
|
-
"extension-outlined":
|
|
6903
|
-
"external-link":
|
|
6904
|
-
"eye-invisible-outlined":
|
|
6905
|
-
"eye-outlined":
|
|
6906
|
-
"face-id":
|
|
6907
|
-
"face-meh-outlined":
|
|
6908
|
-
"face-open-smiley-outlined":
|
|
6909
|
-
"face-sad-outlined":
|
|
6910
|
-
"face-smiley-outlined":
|
|
6911
|
-
"fastfood-outlined":
|
|
6912
|
-
"feed-outlined":
|
|
6913
|
-
"file-certified-outlined":
|
|
6914
|
-
"file-clone-outlined":
|
|
6915
|
-
"file-copy-outlined":
|
|
6916
|
-
"file-dispose-outlined":
|
|
6917
|
-
"file-dollar-certified-outlined":
|
|
6918
|
-
"file-dollar-outlined":
|
|
6919
|
-
"file-download-outlined":
|
|
6920
|
-
"file-export-outlined":
|
|
6921
|
-
"file-lock-outlined":
|
|
6922
|
-
"file-outlined":
|
|
6923
|
-
"file-search-outlined":
|
|
6924
|
-
"file-secured-outlined":
|
|
6925
|
-
"file-statutory-outlined":
|
|
6926
|
-
"file-verified-outlined":
|
|
6927
|
-
"filter-outlined":
|
|
6928
|
-
"folder-outlined":
|
|
6929
|
-
"folder-user-outlined":
|
|
6930
|
-
"form-outlined":
|
|
6931
|
-
"funnel-filter-outline":
|
|
6932
|
-
"graph-outlined":
|
|
6933
|
-
"hand-holding-user-outlined":
|
|
6934
|
-
"happy-sun-outlined":
|
|
6935
|
-
"health-bag-outlined":
|
|
6936
|
-
"heart-outlined":
|
|
6937
|
-
"home-active-outlined":
|
|
6938
|
-
"home-outlined":
|
|
6939
|
-
"id-card-outlined":
|
|
6940
|
-
"image-outlined":
|
|
6941
|
-
"import-outlined":
|
|
6942
|
-
"instapay-outlined":
|
|
6867
|
+
"circle-add-outlined": 59223,
|
|
6868
|
+
"circle-cancel-outlined": 59224,
|
|
6869
|
+
"circle-down-outlined": 59225,
|
|
6870
|
+
"circle-info-outlined": 59226,
|
|
6871
|
+
"circle-left-outlined": 59227,
|
|
6872
|
+
"circle-ok-outlined": 59228,
|
|
6873
|
+
"circle-question-outlined": 59229,
|
|
6874
|
+
"circle-remove-outlined": 59230,
|
|
6875
|
+
"circle-right-outlined": 59231,
|
|
6876
|
+
"circle-up-outlined": 59232,
|
|
6877
|
+
"circle-warning-outlined": 59233,
|
|
6878
|
+
"clock-2-outlined": 59234,
|
|
6879
|
+
"clock-outlined": 59235,
|
|
6880
|
+
"cog-outlined": 59236,
|
|
6881
|
+
"coin-outlined": 59237,
|
|
6882
|
+
"coin-super-outlined": 59238,
|
|
6883
|
+
"comment-outlined": 59239,
|
|
6884
|
+
"contacts-outlined": 59240,
|
|
6885
|
+
"contacts-user-outlined": 59241,
|
|
6886
|
+
"credit-card-outlined": 59242,
|
|
6887
|
+
"cup-outlined": 59243,
|
|
6888
|
+
"dentistry-outlined": 59244,
|
|
6889
|
+
"direction-arrows-outlined": 59245,
|
|
6890
|
+
"directory-outlined": 59246,
|
|
6891
|
+
"document-outlined": 59247,
|
|
6892
|
+
"dollar-box-outlined": 59248,
|
|
6893
|
+
"dollar-card-outlined": 59249,
|
|
6894
|
+
"dollar-coin-shine-outlined": 59250,
|
|
6895
|
+
"dollar-credit-card-outlined": 59251,
|
|
6896
|
+
"dollar-sign": 59252,
|
|
6897
|
+
"double-buildings-outlined": 59253,
|
|
6898
|
+
"double-left-arrows": 59254,
|
|
6899
|
+
"double-right-arrows": 59255,
|
|
6900
|
+
"download-box-outlined": 59256,
|
|
6901
|
+
"download-outlined": 59257,
|
|
6902
|
+
"edit-template-outlined": 59258,
|
|
6903
|
+
"email-outlined": 59259,
|
|
6904
|
+
"enter-arrow": 59260,
|
|
6905
|
+
"envelope-outlined": 59261,
|
|
6906
|
+
"expense-outlined": 59262,
|
|
6907
|
+
"explore-outlined": 59263,
|
|
6908
|
+
"extension-outlined": 59264,
|
|
6909
|
+
"external-link": 59265,
|
|
6910
|
+
"eye-invisible-outlined": 59266,
|
|
6911
|
+
"eye-outlined": 59267,
|
|
6912
|
+
"face-id": 59268,
|
|
6913
|
+
"face-meh-outlined": 59269,
|
|
6914
|
+
"face-open-smiley-outlined": 59270,
|
|
6915
|
+
"face-sad-outlined": 59271,
|
|
6916
|
+
"face-smiley-outlined": 59272,
|
|
6917
|
+
"fastfood-outlined": 59273,
|
|
6918
|
+
"feed-outlined": 59274,
|
|
6919
|
+
"file-certified-outlined": 59275,
|
|
6920
|
+
"file-clone-outlined": 59276,
|
|
6921
|
+
"file-copy-outlined": 59277,
|
|
6922
|
+
"file-dispose-outlined": 59278,
|
|
6923
|
+
"file-dollar-certified-outlined": 59279,
|
|
6924
|
+
"file-dollar-outlined": 59280,
|
|
6925
|
+
"file-download-outlined": 59281,
|
|
6926
|
+
"file-export-outlined": 59282,
|
|
6927
|
+
"file-lock-outlined": 59283,
|
|
6928
|
+
"file-outlined": 59284,
|
|
6929
|
+
"file-search-outlined": 59285,
|
|
6930
|
+
"file-secured-outlined": 59286,
|
|
6931
|
+
"file-statutory-outlined": 59287,
|
|
6932
|
+
"file-verified-outlined": 59288,
|
|
6933
|
+
"filter-outlined": 59289,
|
|
6934
|
+
"folder-outlined": 59290,
|
|
6935
|
+
"folder-user-outlined": 59291,
|
|
6936
|
+
"form-outlined": 59292,
|
|
6937
|
+
"funnel-filter-outline": 59293,
|
|
6938
|
+
"graph-outlined": 59294,
|
|
6939
|
+
"hand-holding-user-outlined": 59295,
|
|
6940
|
+
"happy-sun-outlined": 59296,
|
|
6941
|
+
"health-bag-outlined": 59297,
|
|
6942
|
+
"heart-outlined": 59298,
|
|
6943
|
+
"home-active-outlined": 59299,
|
|
6944
|
+
"home-outlined": 59300,
|
|
6945
|
+
"id-card-outlined": 59301,
|
|
6946
|
+
"image-outlined": 59302,
|
|
6947
|
+
"import-outlined": 59303,
|
|
6948
|
+
"instapay-outlined": 59304,
|
|
6943
6949
|
italic: italic,
|
|
6944
|
-
"link-1":
|
|
6945
|
-
"link-2":
|
|
6946
|
-
"list-outlined":
|
|
6947
|
-
"live-help-outlined":
|
|
6948
|
-
"location-on-outlined":
|
|
6949
|
-
"location-outlined":
|
|
6950
|
-
"lock-outlined":
|
|
6951
|
-
"locked-file-outlined":
|
|
6952
|
-
"log-out":
|
|
6953
|
-
"
|
|
6954
|
-
"
|
|
6955
|
-
"menu-
|
|
6956
|
-
"menu-
|
|
6957
|
-
"menu-
|
|
6958
|
-
"
|
|
6959
|
-
"
|
|
6960
|
-
"
|
|
6961
|
-
"more-
|
|
6962
|
-
"
|
|
6963
|
-
"multiple-
|
|
6964
|
-
"
|
|
6965
|
-
"
|
|
6966
|
-
"
|
|
6950
|
+
"link-1": 59306,
|
|
6951
|
+
"link-2": 59307,
|
|
6952
|
+
"list-outlined": 59308,
|
|
6953
|
+
"live-help-outlined": 59309,
|
|
6954
|
+
"location-on-outlined": 59310,
|
|
6955
|
+
"location-outlined": 59311,
|
|
6956
|
+
"lock-outlined": 59312,
|
|
6957
|
+
"locked-file-outlined": 59313,
|
|
6958
|
+
"log-out": 59314,
|
|
6959
|
+
"mail-outlined": 59315,
|
|
6960
|
+
"media-content-outlined": 59316,
|
|
6961
|
+
"menu-close": 59317,
|
|
6962
|
+
"menu-expand": 59318,
|
|
6963
|
+
"menu-fold-outlined": 59319,
|
|
6964
|
+
"menu-unfold-outlined": 59320,
|
|
6965
|
+
"moneybag-outlined": 59321,
|
|
6966
|
+
"moon-outlined": 59322,
|
|
6967
|
+
"more-horizontal": 59323,
|
|
6968
|
+
"more-vertical": 59324,
|
|
6969
|
+
"multiple-folders-outlined": 59325,
|
|
6970
|
+
"multiple-users-outlined": 59326,
|
|
6971
|
+
"near-me-outlined": 59327,
|
|
6972
|
+
"node-outlined": 59328,
|
|
6973
|
+
"number-points": 59329,
|
|
6967
6974
|
number: number,
|
|
6968
|
-
"overview-outlined":
|
|
6969
|
-
"payment-summary-outlined":
|
|
6970
|
-
"payslip-outlined":
|
|
6971
|
-
"pencil-outlined":
|
|
6975
|
+
"overview-outlined": 59331,
|
|
6976
|
+
"payment-summary-outlined": 59332,
|
|
6977
|
+
"payslip-outlined": 59333,
|
|
6978
|
+
"pencil-outlined": 59334,
|
|
6972
6979
|
percentage: percentage,
|
|
6973
|
-
"phone-outlined":
|
|
6974
|
-
"piggy-bank-outlined":
|
|
6975
|
-
"plane-outlined":
|
|
6976
|
-
"play-circle-outlined":
|
|
6977
|
-
"print-outlined":
|
|
6978
|
-
"qr-code-outlined":
|
|
6979
|
-
"qualification-outlined":
|
|
6980
|
-
"re-assign":
|
|
6980
|
+
"phone-outlined": 59336,
|
|
6981
|
+
"piggy-bank-outlined": 59337,
|
|
6982
|
+
"plane-outlined": 59338,
|
|
6983
|
+
"play-circle-outlined": 59339,
|
|
6984
|
+
"print-outlined": 59340,
|
|
6985
|
+
"qr-code-outlined": 59341,
|
|
6986
|
+
"qualification-outlined": 59342,
|
|
6987
|
+
"re-assign": 59343,
|
|
6981
6988
|
redeem: redeem,
|
|
6982
6989
|
refresh: refresh,
|
|
6983
6990
|
remove: remove,
|
|
6984
|
-
"reply-outlined":
|
|
6991
|
+
"reply-outlined": 59347,
|
|
6985
6992
|
restart: restart,
|
|
6986
|
-
"return-arrow":
|
|
6987
|
-
"rostering-outlined":
|
|
6988
|
-
"save-outlined":
|
|
6989
|
-
"schedule-outlined":
|
|
6990
|
-
"search-outlined":
|
|
6991
|
-
"search-secured-outlined":
|
|
6992
|
-
"send-outlined":
|
|
6993
|
-
"share-1":
|
|
6994
|
-
"share-2":
|
|
6995
|
-
"share-outlined":
|
|
6996
|
-
"show-chart-outlined":
|
|
6997
|
-
"single-down-arrow":
|
|
6998
|
-
"single-left-arrow":
|
|
6999
|
-
"single-right-arrow":
|
|
7000
|
-
"single-up-arrow":
|
|
7001
|
-
"speaker-active-outlined":
|
|
7002
|
-
"speaker-outlined":
|
|
7003
|
-
"star-circle-outlined":
|
|
7004
|
-
"star-outlined":
|
|
7005
|
-
"stopwatch-outlined":
|
|
6993
|
+
"return-arrow": 59349,
|
|
6994
|
+
"rostering-outlined": 59350,
|
|
6995
|
+
"save-outlined": 59351,
|
|
6996
|
+
"schedule-outlined": 59352,
|
|
6997
|
+
"search-outlined": 59353,
|
|
6998
|
+
"search-secured-outlined": 59354,
|
|
6999
|
+
"send-outlined": 59355,
|
|
7000
|
+
"share-1": 59356,
|
|
7001
|
+
"share-2": 59357,
|
|
7002
|
+
"share-outlined": 59358,
|
|
7003
|
+
"show-chart-outlined": 59359,
|
|
7004
|
+
"single-down-arrow": 59360,
|
|
7005
|
+
"single-left-arrow": 59361,
|
|
7006
|
+
"single-right-arrow": 59362,
|
|
7007
|
+
"single-up-arrow": 59363,
|
|
7008
|
+
"speaker-active-outlined": 59364,
|
|
7009
|
+
"speaker-outlined": 59365,
|
|
7010
|
+
"star-circle-outlined": 59366,
|
|
7011
|
+
"star-outlined": 59367,
|
|
7012
|
+
"stopwatch-outlined": 59368,
|
|
7006
7013
|
strikethrough: strikethrough,
|
|
7007
|
-
"styler-outlined":
|
|
7008
|
-
"suitcase-clock-outlined":
|
|
7009
|
-
"suitcase-outlined":
|
|
7010
|
-
"survey-outlined":
|
|
7011
|
-
"switch-outlined":
|
|
7014
|
+
"styler-outlined": 59370,
|
|
7015
|
+
"suitcase-clock-outlined": 59371,
|
|
7016
|
+
"suitcase-outlined": 59372,
|
|
7017
|
+
"survey-outlined": 59373,
|
|
7018
|
+
"switch-outlined": 59374,
|
|
7012
7019
|
sync: sync,
|
|
7013
|
-
"tag-outlined":
|
|
7014
|
-
"target-outlined":
|
|
7015
|
-
"tennis-outlined":
|
|
7016
|
-
"ticket-outlined":
|
|
7017
|
-
"timesheet-outlined":
|
|
7018
|
-
"today-outlined":
|
|
7020
|
+
"tag-outlined": 59376,
|
|
7021
|
+
"target-outlined": 59377,
|
|
7022
|
+
"tennis-outlined": 59378,
|
|
7023
|
+
"ticket-outlined": 59379,
|
|
7024
|
+
"timesheet-outlined": 59380,
|
|
7025
|
+
"today-outlined": 59381,
|
|
7019
7026
|
transfer: transfer,
|
|
7020
|
-
"trash-bin-outlined":
|
|
7021
|
-
"umbrela-outlined":
|
|
7027
|
+
"trash-bin-outlined": 59383,
|
|
7028
|
+
"umbrela-outlined": 59384,
|
|
7022
7029
|
unavailable: unavailable,
|
|
7023
7030
|
underline: underline,
|
|
7024
|
-
"union-outlined":
|
|
7025
|
-
"unlock-outlined":
|
|
7026
|
-
"upload-outlined":
|
|
7027
|
-
"user-circle-outlined":
|
|
7028
|
-
"user-gear-outlined":
|
|
7029
|
-
"user-outlined":
|
|
7030
|
-
"user-rectangle-outlined":
|
|
7031
|
-
"video-1-outlined":
|
|
7032
|
-
"video-2-outlined":
|
|
7033
|
-
"volunteer-outlined":
|
|
7034
|
-
"wallet-outlined":
|
|
7031
|
+
"union-outlined": 59387,
|
|
7032
|
+
"unlock-outlined": 59388,
|
|
7033
|
+
"upload-outlined": 59389,
|
|
7034
|
+
"user-circle-outlined": 59390,
|
|
7035
|
+
"user-gear-outlined": 59391,
|
|
7036
|
+
"user-outlined": 59392,
|
|
7037
|
+
"user-rectangle-outlined": 59393,
|
|
7038
|
+
"video-1-outlined": 59394,
|
|
7039
|
+
"video-2-outlined": 59395,
|
|
7040
|
+
"volunteer-outlined": 59396,
|
|
7041
|
+
"wallet-outlined": 59397
|
|
7035
7042
|
};
|
|
7036
7043
|
|
|
7037
7044
|
var HeroIcon = reactNativeVectorIcons.createIconSet(glyphMap, 'hero-icons-mobile', 'hero-icons-mobile.ttf');
|
|
@@ -7046,7 +7053,7 @@ var COLOR_INTENTS = {
|
|
|
7046
7053
|
'disabled-text': 'disabledText',
|
|
7047
7054
|
'text-inverted': 'invertedText'
|
|
7048
7055
|
};
|
|
7049
|
-
var StyledHeroIcon = index$
|
|
7056
|
+
var StyledHeroIcon = index$b(HeroIcon)(function (_ref) {
|
|
7050
7057
|
var themeIntent = _ref.themeIntent,
|
|
7051
7058
|
themeSize = _ref.themeSize,
|
|
7052
7059
|
theme = _ref.theme;
|
|
@@ -7056,10 +7063,10 @@ var StyledHeroIcon = index$a(HeroIcon)(function (_ref) {
|
|
|
7056
7063
|
};
|
|
7057
7064
|
});
|
|
7058
7065
|
|
|
7059
|
-
var _excluded$
|
|
7066
|
+
var _excluded$u = ["style"];
|
|
7060
7067
|
var AnimatedIcon = function AnimatedIcon(_ref) {
|
|
7061
7068
|
var style = _ref.style,
|
|
7062
|
-
otherProps = _objectWithoutProperties(_ref, _excluded$
|
|
7069
|
+
otherProps = _objectWithoutProperties(_ref, _excluded$u);
|
|
7063
7070
|
var rotateAnimation = React.useRef(new reactNative.Animated.Value(0));
|
|
7064
7071
|
React.useEffect(function () {
|
|
7065
7072
|
var animation = reactNative.Animated.loop(reactNative.Animated.timing(rotateAnimation.current, {
|
|
@@ -7164,7 +7171,7 @@ var AccordionItem = function AccordionItem(_ref) {
|
|
|
7164
7171
|
}, content));
|
|
7165
7172
|
};
|
|
7166
7173
|
|
|
7167
|
-
var _excluded$
|
|
7174
|
+
var _excluded$t = ["key"];
|
|
7168
7175
|
var Accordion = function Accordion(_ref) {
|
|
7169
7176
|
var items = _ref.items,
|
|
7170
7177
|
activeItemKey = _ref.activeItemKey,
|
|
@@ -7185,7 +7192,7 @@ var Accordion = function Accordion(_ref) {
|
|
|
7185
7192
|
testID: testID
|
|
7186
7193
|
}, items.map(function (_ref2, index) {
|
|
7187
7194
|
var key = _ref2.key,
|
|
7188
|
-
props = _objectWithoutProperties(_ref2, _excluded$
|
|
7195
|
+
props = _objectWithoutProperties(_ref2, _excluded$t);
|
|
7189
7196
|
var open = _activeItemKey === key;
|
|
7190
7197
|
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, {
|
|
7191
7198
|
key: key
|
|
@@ -7201,7 +7208,7 @@ var Accordion = function Accordion(_ref) {
|
|
|
7201
7208
|
}));
|
|
7202
7209
|
};
|
|
7203
7210
|
|
|
7204
|
-
var Container$1 = index$
|
|
7211
|
+
var Container$1 = index$b(reactNative.View)(function (_ref) {
|
|
7205
7212
|
var theme = _ref.theme,
|
|
7206
7213
|
_ref$themeVariant = _ref.themeVariant,
|
|
7207
7214
|
themeVariant = _ref$themeVariant === void 0 ? 'rounded' : _ref$themeVariant,
|
|
@@ -7213,21 +7220,21 @@ var Container$1 = index$a(reactNative.View)(function (_ref) {
|
|
|
7213
7220
|
flexDirection: 'row'
|
|
7214
7221
|
};
|
|
7215
7222
|
});
|
|
7216
|
-
var IconContainer$1 = index$
|
|
7223
|
+
var IconContainer$1 = index$b(reactNative.View)(function (_ref2) {
|
|
7217
7224
|
var theme = _ref2.theme;
|
|
7218
7225
|
return {
|
|
7219
7226
|
alignItems: 'center',
|
|
7220
7227
|
paddingLeft: theme.__hd__.alert.space.iconLeftPadding
|
|
7221
7228
|
};
|
|
7222
7229
|
});
|
|
7223
|
-
var TextContainer$1 = index$
|
|
7230
|
+
var TextContainer$1 = index$b(reactNative.View)(function (_ref3) {
|
|
7224
7231
|
var theme = _ref3.theme;
|
|
7225
7232
|
return {
|
|
7226
7233
|
paddingHorizontal: theme.__hd__.alert.space.textPaddingHorizontal,
|
|
7227
7234
|
flex: 1
|
|
7228
7235
|
};
|
|
7229
7236
|
});
|
|
7230
|
-
var ContentContainer$1 = index$
|
|
7237
|
+
var ContentContainer$1 = index$b(reactNative.View)(function (_ref4) {
|
|
7231
7238
|
var theme = _ref4.theme,
|
|
7232
7239
|
showDivider = _ref4.showDivider;
|
|
7233
7240
|
return {
|
|
@@ -7238,7 +7245,7 @@ var ContentContainer$1 = index$a(reactNative.View)(function (_ref4) {
|
|
|
7238
7245
|
flexDirection: 'row'
|
|
7239
7246
|
};
|
|
7240
7247
|
});
|
|
7241
|
-
var CTAWrapper$1 = index$
|
|
7248
|
+
var CTAWrapper$1 = index$b(reactNative.TouchableOpacity)(function (_ref5) {
|
|
7242
7249
|
var theme = _ref5.theme;
|
|
7243
7250
|
return {
|
|
7244
7251
|
paddingHorizontal: theme.__hd__.alert.space.ctaPadding,
|
|
@@ -7303,11 +7310,11 @@ var Alert = function Alert(_ref2) {
|
|
|
7303
7310
|
})) : null);
|
|
7304
7311
|
};
|
|
7305
7312
|
|
|
7306
|
-
var StyledContainer$6 = index$
|
|
7313
|
+
var StyledContainer$6 = index$b(reactNative.View)({
|
|
7307
7314
|
alignItems: 'center',
|
|
7308
7315
|
flexDirection: 'row'
|
|
7309
7316
|
});
|
|
7310
|
-
var StyledContentContainer$1 = index$
|
|
7317
|
+
var StyledContentContainer$1 = index$b(reactNative.View)(function (_ref) {
|
|
7311
7318
|
var theme = _ref.theme,
|
|
7312
7319
|
themeHighlighted = _ref.themeHighlighted;
|
|
7313
7320
|
return {
|
|
@@ -7319,7 +7326,7 @@ var StyledContentContainer$1 = index$a(reactNative.View)(function (_ref) {
|
|
|
7319
7326
|
padding: theme.__hd__.attachment.space.containerPadding
|
|
7320
7327
|
};
|
|
7321
7328
|
});
|
|
7322
|
-
var StyledTextContainer = index$
|
|
7329
|
+
var StyledTextContainer = index$b(reactNative.View)(function (_ref2) {
|
|
7323
7330
|
var theme = _ref2.theme;
|
|
7324
7331
|
return {
|
|
7325
7332
|
paddingHorizontal: theme.__hd__.attachment.space.textHorizontalPadding,
|
|
@@ -7328,7 +7335,7 @@ var StyledTextContainer = index$a(reactNative.View)(function (_ref2) {
|
|
|
7328
7335
|
flexWrap: 'wrap'
|
|
7329
7336
|
};
|
|
7330
7337
|
});
|
|
7331
|
-
var StyledCTAWrapper = index$
|
|
7338
|
+
var StyledCTAWrapper = index$b(reactNative.TouchableOpacity)(function (_ref3) {
|
|
7332
7339
|
var theme = _ref3.theme;
|
|
7333
7340
|
return {
|
|
7334
7341
|
padding: theme.__hd__.attachment.space.ctaPadding,
|
|
@@ -7371,7 +7378,7 @@ var Attachment = function Attachment(_ref) {
|
|
|
7371
7378
|
})) : null);
|
|
7372
7379
|
};
|
|
7373
7380
|
|
|
7374
|
-
var StyledWrapper$b = index$
|
|
7381
|
+
var StyledWrapper$b = index$b(reactNative.TouchableOpacity)(function (_ref) {
|
|
7375
7382
|
var themeSize = _ref.themeSize,
|
|
7376
7383
|
themeIntent = _ref.themeIntent,
|
|
7377
7384
|
theme = _ref.theme;
|
|
@@ -7383,7 +7390,7 @@ var StyledWrapper$b = index$a(reactNative.TouchableOpacity)(function (_ref) {
|
|
|
7383
7390
|
overflow: 'hidden'
|
|
7384
7391
|
};
|
|
7385
7392
|
});
|
|
7386
|
-
var StyledTextWrapper$1 = index$
|
|
7393
|
+
var StyledTextWrapper$1 = index$b(reactNative.View)(function () {
|
|
7387
7394
|
return {
|
|
7388
7395
|
alignItems: 'center',
|
|
7389
7396
|
justifyContent: 'center',
|
|
@@ -7391,7 +7398,7 @@ var StyledTextWrapper$1 = index$a(reactNative.View)(function () {
|
|
|
7391
7398
|
height: '100%'
|
|
7392
7399
|
};
|
|
7393
7400
|
});
|
|
7394
|
-
var StyledText$2 = index$
|
|
7401
|
+
var StyledText$2 = index$b(Typography.Text)(function (_ref2) {
|
|
7395
7402
|
var themeSize = _ref2.themeSize,
|
|
7396
7403
|
theme = _ref2.theme;
|
|
7397
7404
|
return _objectSpread2({
|
|
@@ -7416,7 +7423,7 @@ var StyledText$2 = index$a(Typography.Text)(function (_ref2) {
|
|
|
7416
7423
|
}));
|
|
7417
7424
|
});
|
|
7418
7425
|
|
|
7419
|
-
var StyledImage = index$
|
|
7426
|
+
var StyledImage = index$b(reactNative.Image)(function (_ref3) {
|
|
7420
7427
|
var themeSize = _ref3.themeSize,
|
|
7421
7428
|
theme = _ref3.theme;
|
|
7422
7429
|
return {
|
|
@@ -7464,7 +7471,7 @@ var Avatar = function Avatar(_ref) {
|
|
|
7464
7471
|
};
|
|
7465
7472
|
|
|
7466
7473
|
var VISIBLE_RATIO = 0.7;
|
|
7467
|
-
var StyledWrapper$a = index$
|
|
7474
|
+
var StyledWrapper$a = index$b(reactNative.View)(function (_ref) {
|
|
7468
7475
|
var theme = _ref.theme,
|
|
7469
7476
|
themeSize = _ref.themeSize,
|
|
7470
7477
|
themeAvatarCount = _ref.themeAvatarCount;
|
|
@@ -7475,7 +7482,7 @@ var StyledWrapper$a = index$a(reactNative.View)(function (_ref) {
|
|
|
7475
7482
|
width: avatarSize * (1 + VISIBLE_RATIO * (themeAvatarCount - 1))
|
|
7476
7483
|
};
|
|
7477
7484
|
});
|
|
7478
|
-
var StyledAvatar = index$
|
|
7485
|
+
var StyledAvatar = index$b(Avatar)(function (_ref2) {
|
|
7479
7486
|
var theme = _ref2.theme,
|
|
7480
7487
|
themeIndex = _ref2.themeIndex,
|
|
7481
7488
|
_ref2$size = _ref2.size,
|
|
@@ -7542,11 +7549,11 @@ var AvatarStack = function AvatarStack(_ref) {
|
|
|
7542
7549
|
}));
|
|
7543
7550
|
};
|
|
7544
7551
|
|
|
7545
|
-
var index$
|
|
7552
|
+
var index$a = Object.assign(Avatar, {
|
|
7546
7553
|
Stack: AvatarStack
|
|
7547
7554
|
});
|
|
7548
7555
|
|
|
7549
|
-
var StyledView$2 = index$
|
|
7556
|
+
var StyledView$2 = index$b(reactNative.Animated.View)(function (_ref) {
|
|
7550
7557
|
var themeIntent = _ref.themeIntent,
|
|
7551
7558
|
themePadding = _ref.themePadding,
|
|
7552
7559
|
theme = _ref.theme;
|
|
@@ -7560,7 +7567,7 @@ var StyledView$2 = index$a(reactNative.Animated.View)(function (_ref) {
|
|
|
7560
7567
|
paddingHorizontal: themePadding === 'wideContent' ? theme.__hd__.badge.space.horizontalPadding : undefined
|
|
7561
7568
|
};
|
|
7562
7569
|
});
|
|
7563
|
-
var StyledText$1 = index$
|
|
7570
|
+
var StyledText$1 = index$b(Typography.Caption)(function (_ref2) {
|
|
7564
7571
|
var theme = _ref2.theme;
|
|
7565
7572
|
return {
|
|
7566
7573
|
color: theme.__hd__.badge.colors.text,
|
|
@@ -7569,7 +7576,7 @@ var StyledText$1 = index$a(Typography.Caption)(function (_ref2) {
|
|
|
7569
7576
|
textAlign: 'center'
|
|
7570
7577
|
};
|
|
7571
7578
|
});
|
|
7572
|
-
var StyledStatus = index$
|
|
7579
|
+
var StyledStatus = index$b(reactNative.Animated.View)(function (_ref3) {
|
|
7573
7580
|
var themeIntent = _ref3.themeIntent,
|
|
7574
7581
|
theme = _ref3.theme;
|
|
7575
7582
|
return {
|
|
@@ -7583,7 +7590,7 @@ var StyledStatus = index$a(reactNative.Animated.View)(function (_ref3) {
|
|
|
7583
7590
|
};
|
|
7584
7591
|
});
|
|
7585
7592
|
|
|
7586
|
-
var _excluded$
|
|
7593
|
+
var _excluded$s = ["children", "visible", "intent", "style", "testID"];
|
|
7587
7594
|
var Status = function Status(_ref) {
|
|
7588
7595
|
var children = _ref.children,
|
|
7589
7596
|
_ref$visible = _ref.visible,
|
|
@@ -7592,7 +7599,7 @@ var Status = function Status(_ref) {
|
|
|
7592
7599
|
intent = _ref$intent === void 0 ? 'danger' : _ref$intent,
|
|
7593
7600
|
style = _ref.style,
|
|
7594
7601
|
testID = _ref.testID,
|
|
7595
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
7602
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$s);
|
|
7596
7603
|
var _React$useRef = React__default["default"].useRef(new reactNative.Animated.Value(visible ? 1 : 0)),
|
|
7597
7604
|
opacity = _React$useRef.current;
|
|
7598
7605
|
var isFirstRendering = React__default["default"].useRef(true);
|
|
@@ -7625,7 +7632,7 @@ var Status = function Status(_ref) {
|
|
|
7625
7632
|
}));
|
|
7626
7633
|
};
|
|
7627
7634
|
|
|
7628
|
-
var _excluded$
|
|
7635
|
+
var _excluded$r = ["content", "visible", "max", "intent", "style", "testID"];
|
|
7629
7636
|
var DEFAULT_MAX_NUMBER = 99;
|
|
7630
7637
|
var getPaddingState = function getPaddingState(content) {
|
|
7631
7638
|
return content.length > 1 ? 'wideContent' : 'narrowContent';
|
|
@@ -7640,7 +7647,7 @@ var Badge = function Badge(_ref) {
|
|
|
7640
7647
|
intent = _ref$intent === void 0 ? 'danger' : _ref$intent,
|
|
7641
7648
|
style = _ref.style,
|
|
7642
7649
|
testID = _ref.testID,
|
|
7643
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
7650
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$r);
|
|
7644
7651
|
var _React$useRef = React__default["default"].useRef(new reactNative.Animated.Value(visible ? 1 : 0)),
|
|
7645
7652
|
opacity = _React$useRef.current;
|
|
7646
7653
|
var isFirstRendering = React__default["default"].useRef(true);
|
|
@@ -7680,21 +7687,21 @@ var isHeroIcon = function isHeroIcon(x) {
|
|
|
7680
7687
|
return IconList.includes(x);
|
|
7681
7688
|
};
|
|
7682
7689
|
|
|
7683
|
-
var BottomNavigationTab = index$
|
|
7690
|
+
var BottomNavigationTab = index$b(reactNative.View)(function (_ref) {
|
|
7684
7691
|
var themeVisibility = _ref.themeVisibility;
|
|
7685
7692
|
return {
|
|
7686
7693
|
flex: 1,
|
|
7687
7694
|
display: themeVisibility === false ? 'none' : 'flex'
|
|
7688
7695
|
};
|
|
7689
7696
|
});
|
|
7690
|
-
var BottomNavigationContainer = index$
|
|
7697
|
+
var BottomNavigationContainer = index$b(reactNative.View)({
|
|
7691
7698
|
flex: 1,
|
|
7692
7699
|
overflow: 'hidden'
|
|
7693
7700
|
});
|
|
7694
|
-
var ContentWrapper$2 = index$
|
|
7701
|
+
var ContentWrapper$2 = index$b(reactNative.View)({
|
|
7695
7702
|
flex: 1
|
|
7696
7703
|
});
|
|
7697
|
-
var BottomBarWrapper = index$
|
|
7704
|
+
var BottomBarWrapper = index$b(reactNative.View)(function (_ref2) {
|
|
7698
7705
|
var themeInsets = _ref2.themeInsets,
|
|
7699
7706
|
theme = _ref2.theme;
|
|
7700
7707
|
return {
|
|
@@ -7710,17 +7717,17 @@ var BottomBarWrapper = index$a(reactNative.View)(function (_ref2) {
|
|
|
7710
7717
|
elevation: theme.__hd__.bottomNavigation.shadows.elevation
|
|
7711
7718
|
};
|
|
7712
7719
|
});
|
|
7713
|
-
var BottomBar = index$
|
|
7720
|
+
var BottomBar = index$b(reactNative.View)({
|
|
7714
7721
|
flex: 1,
|
|
7715
7722
|
flexDirection: 'row',
|
|
7716
7723
|
overflow: 'hidden',
|
|
7717
7724
|
alignItems: 'center'
|
|
7718
7725
|
});
|
|
7719
|
-
var BottomBarItem = index$
|
|
7726
|
+
var BottomBarItem = index$b(reactNative.View)({
|
|
7720
7727
|
flex: 1,
|
|
7721
7728
|
alignItems: 'center'
|
|
7722
7729
|
});
|
|
7723
|
-
var StyledBottomBarText = index$
|
|
7730
|
+
var StyledBottomBarText = index$b(Typography.Caption)(function (_ref3) {
|
|
7724
7731
|
var theme = _ref3.theme;
|
|
7725
7732
|
return {
|
|
7726
7733
|
marginTop: theme.__hd__.bottomNavigation.space.titleMarginTop
|
|
@@ -7744,7 +7751,7 @@ function omit(keys, obj) {
|
|
|
7744
7751
|
return result;
|
|
7745
7752
|
}
|
|
7746
7753
|
|
|
7747
|
-
var _excluded$
|
|
7754
|
+
var _excluded$q = ["onTabPress", "renderActiveTabOnly", "selectedTabKey", "tabs"];
|
|
7748
7755
|
var getInactiveIcon = function getInactiveIcon(icon) {
|
|
7749
7756
|
var inactiveIcon = "".concat(icon, "-outlined");
|
|
7750
7757
|
return isHeroIcon(inactiveIcon) ? inactiveIcon : icon;
|
|
@@ -7755,7 +7762,7 @@ var BottomNavigation = function BottomNavigation(_ref) {
|
|
|
7755
7762
|
renderActiveTabOnly = _ref$renderActiveTabO === void 0 ? false : _ref$renderActiveTabO,
|
|
7756
7763
|
selectedTabKey = _ref.selectedTabKey,
|
|
7757
7764
|
tabs = _ref.tabs,
|
|
7758
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
7765
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$q);
|
|
7759
7766
|
var insets = reactNativeSafeAreaContext.useSafeAreaInsets();
|
|
7760
7767
|
/**
|
|
7761
7768
|
* List of loaded tabs, tabs will be loaded when navigated to.
|
|
@@ -7824,7 +7831,7 @@ var BottomNavigation = function BottomNavigation(_ref) {
|
|
|
7824
7831
|
|
|
7825
7832
|
var BottomSheetContext = /*#__PURE__*/React.createContext({});
|
|
7826
7833
|
|
|
7827
|
-
var StyledDivider = index$
|
|
7834
|
+
var StyledDivider = index$b(reactNative.View)(function (_ref) {
|
|
7828
7835
|
var themeMarginHorizontal = _ref.themeMarginHorizontal,
|
|
7829
7836
|
themeMarginVertical = _ref.themeMarginVertical,
|
|
7830
7837
|
theme = _ref.theme;
|
|
@@ -7841,13 +7848,13 @@ var StyledDivider = index$a(reactNative.View)(function (_ref) {
|
|
|
7841
7848
|
}, horizontalMargin), verticalMargin);
|
|
7842
7849
|
});
|
|
7843
7850
|
|
|
7844
|
-
var _excluded$
|
|
7851
|
+
var _excluded$p = ["marginHorizontal", "marginVertical", "style", "testID"];
|
|
7845
7852
|
var Divider = function Divider(_ref) {
|
|
7846
7853
|
var marginHorizontal = _ref.marginHorizontal,
|
|
7847
7854
|
marginVertical = _ref.marginVertical,
|
|
7848
7855
|
style = _ref.style,
|
|
7849
7856
|
testID = _ref.testID,
|
|
7850
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
7857
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$p);
|
|
7851
7858
|
return /*#__PURE__*/React__default["default"].createElement(StyledDivider, _extends$1({}, nativeProps, {
|
|
7852
7859
|
themeMarginHorizontal: marginHorizontal,
|
|
7853
7860
|
themeMarginVertical: marginVertical,
|
|
@@ -7858,16 +7865,16 @@ var Divider = function Divider(_ref) {
|
|
|
7858
7865
|
|
|
7859
7866
|
var AnimatedPressable$1 = reactNative.Animated.createAnimatedComponent(reactNative.Pressable);
|
|
7860
7867
|
var AnimatedSafeAreaView = reactNative.Animated.createAnimatedComponent(reactNative.SafeAreaView);
|
|
7861
|
-
var StyledWrapper$9 = index$
|
|
7868
|
+
var StyledWrapper$9 = index$b(reactNative.View)(_objectSpread2(_objectSpread2({}, reactNative.StyleSheet.absoluteFillObject), {}, {
|
|
7862
7869
|
flexDirection: 'column-reverse'
|
|
7863
7870
|
}));
|
|
7864
|
-
var StyledKeyboardAvoidingView = index$
|
|
7871
|
+
var StyledKeyboardAvoidingView = index$b(reactNative.KeyboardAvoidingView)(function () {
|
|
7865
7872
|
return {
|
|
7866
7873
|
flex: 1,
|
|
7867
7874
|
flexDirection: 'column-reverse'
|
|
7868
7875
|
};
|
|
7869
7876
|
});
|
|
7870
|
-
var StyledBottomSheet = index$
|
|
7877
|
+
var StyledBottomSheet = index$b(AnimatedSafeAreaView)(function (_ref) {
|
|
7871
7878
|
var theme = _ref.theme;
|
|
7872
7879
|
return {
|
|
7873
7880
|
borderTopLeftRadius: theme.__hd__.bottomSheet.radii["default"],
|
|
@@ -7882,14 +7889,14 @@ var StyledBottomSheet = index$a(AnimatedSafeAreaView)(function (_ref) {
|
|
|
7882
7889
|
maxHeight: '94%'
|
|
7883
7890
|
};
|
|
7884
7891
|
});
|
|
7885
|
-
var StyledBackdrop$2 = index$
|
|
7892
|
+
var StyledBackdrop$2 = index$b(AnimatedPressable$1)(function (_ref2) {
|
|
7886
7893
|
var theme = _ref2.theme;
|
|
7887
7894
|
return _objectSpread2(_objectSpread2({}, reactNative.StyleSheet.absoluteFillObject), {}, {
|
|
7888
7895
|
backgroundColor: theme.__hd__.bottomSheet.colors.backdrop,
|
|
7889
7896
|
opacity: 0.4
|
|
7890
7897
|
});
|
|
7891
7898
|
});
|
|
7892
|
-
var StyledHeaderWrapper = index$
|
|
7899
|
+
var StyledHeaderWrapper = index$b(reactNative.View)(function (_ref3) {
|
|
7893
7900
|
var theme = _ref3.theme;
|
|
7894
7901
|
return {
|
|
7895
7902
|
flexDirection: 'row',
|
|
@@ -7897,11 +7904,11 @@ var StyledHeaderWrapper = index$a(reactNative.View)(function (_ref3) {
|
|
|
7897
7904
|
paddingHorizontal: theme.__hd__.bottomSheet.space.headerWrapperHorizontalPadding
|
|
7898
7905
|
};
|
|
7899
7906
|
});
|
|
7900
|
-
var StyledHeader = index$
|
|
7907
|
+
var StyledHeader = index$b(reactNative.View)({
|
|
7901
7908
|
flex: 1,
|
|
7902
7909
|
justifyContent: 'center'
|
|
7903
7910
|
});
|
|
7904
|
-
var StyledFooter = index$
|
|
7911
|
+
var StyledFooter = index$b(reactNative.View)(function (_ref4) {
|
|
7905
7912
|
var theme = _ref4.theme;
|
|
7906
7913
|
return {
|
|
7907
7914
|
paddingHorizontal: theme.__hd__.bottomSheet.space.footerHorizontalPadding,
|
|
@@ -7911,7 +7918,7 @@ var StyledFooter = index$a(reactNative.View)(function (_ref4) {
|
|
|
7911
7918
|
flexDirection: 'row'
|
|
7912
7919
|
};
|
|
7913
7920
|
});
|
|
7914
|
-
var StyledIconWrapper$3 = index$
|
|
7921
|
+
var StyledIconWrapper$3 = index$b(reactNative.View)(function (_ref5) {
|
|
7915
7922
|
var theme = _ref5.theme;
|
|
7916
7923
|
return {
|
|
7917
7924
|
alignItems: 'center',
|
|
@@ -7933,7 +7940,7 @@ var genLoadingIndicatorStyles = function genLoadingIndicatorStyles(theme, intent
|
|
|
7933
7940
|
backgroundColor: theme.__hd__.button.colors[intent]
|
|
7934
7941
|
};
|
|
7935
7942
|
};
|
|
7936
|
-
var StyledLoadingIndicatorWrapper = index$
|
|
7943
|
+
var StyledLoadingIndicatorWrapper = index$b(reactNative.View)(function (_ref) {
|
|
7937
7944
|
var theme = _ref.theme;
|
|
7938
7945
|
return {
|
|
7939
7946
|
flexDirection: 'row',
|
|
@@ -7942,7 +7949,7 @@ var StyledLoadingIndicatorWrapper = index$a(reactNative.View)(function (_ref) {
|
|
|
7942
7949
|
paddingVertical: theme.__hd__.button.space.loadingIndicatorWrapperVerticalPadding
|
|
7943
7950
|
};
|
|
7944
7951
|
});
|
|
7945
|
-
var StyledLoadingDot = index$
|
|
7952
|
+
var StyledLoadingDot = index$b(reactNative.View)(function (_ref2) {
|
|
7946
7953
|
var _ref2$size = _ref2.size,
|
|
7947
7954
|
size = _ref2$size === void 0 ? 12 : _ref2$size,
|
|
7948
7955
|
themeVariant = _ref2.themeVariant,
|
|
@@ -7977,7 +7984,7 @@ var StyledLoadingDot = index$a(reactNative.View)(function (_ref2) {
|
|
|
7977
7984
|
}, themeStyling());
|
|
7978
7985
|
});
|
|
7979
7986
|
|
|
7980
|
-
var _excluded$
|
|
7987
|
+
var _excluded$o = ["count", "size", "testID", "themeVariant"];
|
|
7981
7988
|
var AnimatedLoadingIndicatorWrapper = reactNative.Animated.createAnimatedComponent(StyledLoadingIndicatorWrapper);
|
|
7982
7989
|
var AnimatedLoadingDot = reactNative.Animated.createAnimatedComponent(StyledLoadingDot);
|
|
7983
7990
|
var renderDotComponent = function renderDotComponent(_ref) {
|
|
@@ -8009,7 +8016,7 @@ var LoadingIndicator = function LoadingIndicator(_ref2) {
|
|
|
8009
8016
|
size = _ref2$size === void 0 ? 12 : _ref2$size,
|
|
8010
8017
|
testID = _ref2.testID,
|
|
8011
8018
|
themeVariant = _ref2.themeVariant,
|
|
8012
|
-
nativeProps = _objectWithoutProperties(_ref2, _excluded$
|
|
8019
|
+
nativeProps = _objectWithoutProperties(_ref2, _excluded$o);
|
|
8013
8020
|
var progressAnimation = React.useRef(new reactNative.Animated.Value(0));
|
|
8014
8021
|
React.useEffect(function () {
|
|
8015
8022
|
var animation = reactNative.Animated.loop(reactNative.Animated.timing(progressAnimation.current, {
|
|
@@ -8102,7 +8109,7 @@ var genTextVariantTextStyles = function genTextVariantTextStyles(theme, intent,
|
|
|
8102
8109
|
color: theme.__hd__.button.colors[intent]
|
|
8103
8110
|
};
|
|
8104
8111
|
};
|
|
8105
|
-
var StyledButtonContainer = index$
|
|
8112
|
+
var StyledButtonContainer = index$b(reactNative.TouchableHighlight)(function (_ref) {
|
|
8106
8113
|
var _ref$disabled = _ref.disabled,
|
|
8107
8114
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
8108
8115
|
_ref$loading = _ref.loading,
|
|
@@ -8136,7 +8143,7 @@ var StyledButtonContainer = index$a(reactNative.TouchableHighlight)(function (_r
|
|
|
8136
8143
|
};
|
|
8137
8144
|
}
|
|
8138
8145
|
});
|
|
8139
|
-
var StyledButtonText = index$
|
|
8146
|
+
var StyledButtonText = index$b(Typography.Title)(function (_ref2) {
|
|
8140
8147
|
var disabled = _ref2.disabled,
|
|
8141
8148
|
themeButtonVariant = _ref2.themeButtonVariant,
|
|
8142
8149
|
theme = _ref2.theme;
|
|
@@ -8167,7 +8174,7 @@ var StyledButtonText = index$a(Typography.Title)(function (_ref2) {
|
|
|
8167
8174
|
textAlign: 'center'
|
|
8168
8175
|
}, themeStyling());
|
|
8169
8176
|
});
|
|
8170
|
-
var StyledButtonTitleOfVariantText = index$
|
|
8177
|
+
var StyledButtonTitleOfVariantText = index$b(Typography.Body)(function (_ref3) {
|
|
8171
8178
|
var disabled = _ref3.disabled,
|
|
8172
8179
|
themeButtonVariant = _ref3.themeButtonVariant,
|
|
8173
8180
|
theme = _ref3.theme;
|
|
@@ -8187,7 +8194,7 @@ var StyledButtonTitleOfVariantText = index$a(Typography.Body)(function (_ref3) {
|
|
|
8187
8194
|
textAlign: 'center'
|
|
8188
8195
|
}, themeStyling());
|
|
8189
8196
|
});
|
|
8190
|
-
var StyledButtonIconWrapper = index$
|
|
8197
|
+
var StyledButtonIconWrapper = index$b(reactNative.View)(function (_ref4) {
|
|
8191
8198
|
var themePosition = _ref4.themePosition,
|
|
8192
8199
|
theme = _ref4.theme;
|
|
8193
8200
|
switch (themePosition) {
|
|
@@ -8201,7 +8208,7 @@ var StyledButtonIconWrapper = index$a(reactNative.View)(function (_ref4) {
|
|
|
8201
8208
|
};
|
|
8202
8209
|
}
|
|
8203
8210
|
});
|
|
8204
|
-
var StyledButtonIcon = index$
|
|
8211
|
+
var StyledButtonIcon = index$b(Icon)(function (_ref5) {
|
|
8205
8212
|
var disabled = _ref5.disabled,
|
|
8206
8213
|
themeButtonVariant = _ref5.themeButtonVariant,
|
|
8207
8214
|
theme = _ref5.theme;
|
|
@@ -8370,7 +8377,7 @@ var IconButton = function IconButton(_ref) {
|
|
|
8370
8377
|
}));
|
|
8371
8378
|
};
|
|
8372
8379
|
|
|
8373
|
-
var ButtonContainer = index$
|
|
8380
|
+
var ButtonContainer = index$b(reactNative.TouchableOpacity)(function (_ref) {
|
|
8374
8381
|
var theme = _ref.theme;
|
|
8375
8382
|
return {
|
|
8376
8383
|
width: '100%',
|
|
@@ -8382,13 +8389,13 @@ var ButtonContainer = index$a(reactNative.TouchableOpacity)(function (_ref) {
|
|
|
8382
8389
|
backgroundColor: theme.__hd__.button.colors.utilityBackground
|
|
8383
8390
|
};
|
|
8384
8391
|
});
|
|
8385
|
-
var IconWrapper = index$
|
|
8392
|
+
var IconWrapper = index$b(reactNative.View)(function (_ref2) {
|
|
8386
8393
|
var theme = _ref2.theme;
|
|
8387
8394
|
return {
|
|
8388
8395
|
paddingRight: theme.__hd__.button.space.iconPadding
|
|
8389
8396
|
};
|
|
8390
8397
|
});
|
|
8391
|
-
var ButtonText = index$
|
|
8398
|
+
var ButtonText = index$b(Typography.Body)({
|
|
8392
8399
|
flexShrink: 1,
|
|
8393
8400
|
textAlign: 'center'
|
|
8394
8401
|
});
|
|
@@ -8448,11 +8455,11 @@ var Header = function Header(_ref) {
|
|
|
8448
8455
|
})) : null), showDivider ? /*#__PURE__*/React__default["default"].createElement(Divider, null) : null);
|
|
8449
8456
|
};
|
|
8450
8457
|
|
|
8451
|
-
var _excluded$
|
|
8458
|
+
var _excluded$n = ["scrollEventThrottle"];
|
|
8452
8459
|
var BottomSheetScrollView = function BottomSheetScrollView(_ref) {
|
|
8453
8460
|
var _ref$scrollEventThrot = _ref.scrollEventThrottle,
|
|
8454
8461
|
scrollEventThrottle = _ref$scrollEventThrot === void 0 ? 100 : _ref$scrollEventThrot,
|
|
8455
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
8462
|
+
props = _objectWithoutProperties(_ref, _excluded$n);
|
|
8456
8463
|
var _useContext = React.useContext(BottomSheetContext),
|
|
8457
8464
|
setInternalShowDivider = _useContext.setInternalShowDivider;
|
|
8458
8465
|
var onScrollBeginDrag = React.useCallback(function (e) {
|
|
@@ -8767,7 +8774,7 @@ var borderWidths = {
|
|
|
8767
8774
|
var config = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, colors), space), radii), borderWidths);
|
|
8768
8775
|
var flexPropsKey = ['alignContent', 'alignItems', 'alignSelf', 'display', 'flex', 'flexBasis', 'flexDirection', 'flexGrow', 'flexShrink', 'flexWrap', 'justifyContent'];
|
|
8769
8776
|
|
|
8770
|
-
var _excluded$
|
|
8777
|
+
var _excluded$m = ["theme"];
|
|
8771
8778
|
var getThemeValue = function getThemeValue(theme, key, props) {
|
|
8772
8779
|
var propConfig = config[key];
|
|
8773
8780
|
var propValue = props[key];
|
|
@@ -8792,20 +8799,20 @@ var mapStylePropToThemeValue = function mapStylePropToThemeValue(theme, props) {
|
|
|
8792
8799
|
}, {});
|
|
8793
8800
|
};
|
|
8794
8801
|
var configKeys = Object.keys(config);
|
|
8795
|
-
var StyledBox = index$
|
|
8802
|
+
var StyledBox = index$b(reactNative.View)(function (_ref5) {
|
|
8796
8803
|
var theme = _ref5.theme,
|
|
8797
|
-
otherProps = _objectWithoutProperties(_ref5, _excluded$
|
|
8804
|
+
otherProps = _objectWithoutProperties(_ref5, _excluded$m);
|
|
8798
8805
|
var styleProps = pick(configKeys, otherProps);
|
|
8799
8806
|
var flexProps = pick(_toConsumableArray(flexPropsKey), otherProps);
|
|
8800
8807
|
return _objectSpread2(_objectSpread2({}, mapStylePropToThemeValue(theme, styleProps)), flexProps);
|
|
8801
8808
|
});
|
|
8802
8809
|
|
|
8803
|
-
var _excluded$
|
|
8810
|
+
var _excluded$l = ["children", "style", "testID"];
|
|
8804
8811
|
var Box = function Box(_ref) {
|
|
8805
8812
|
var children = _ref.children,
|
|
8806
8813
|
style = _ref.style,
|
|
8807
8814
|
testID = _ref.testID,
|
|
8808
|
-
otherProps = _objectWithoutProperties(_ref, _excluded$
|
|
8815
|
+
otherProps = _objectWithoutProperties(_ref, _excluded$l);
|
|
8809
8816
|
return /*#__PURE__*/React__default["default"].createElement(StyledBox, _extends$1({}, otherProps, {
|
|
8810
8817
|
style: style,
|
|
8811
8818
|
testID: testID
|
|
@@ -11083,7 +11090,7 @@ function convertToFP(fn, arity, a) {
|
|
|
11083
11090
|
var format = convertToFP(format$1, 2);
|
|
11084
11091
|
var formatTime = format;
|
|
11085
11092
|
|
|
11086
|
-
var Wrapper = index$
|
|
11093
|
+
var Wrapper = index$b(reactNative.View)(function () {
|
|
11087
11094
|
return {
|
|
11088
11095
|
flex: 1,
|
|
11089
11096
|
flexDirection: 'row',
|
|
@@ -11135,13 +11142,13 @@ function ContentNavigator(_ref) {
|
|
|
11135
11142
|
}));
|
|
11136
11143
|
}
|
|
11137
11144
|
|
|
11138
|
-
var StyledContainer$5 = index$
|
|
11145
|
+
var StyledContainer$5 = index$b(reactNative.View)(function (_ref) {
|
|
11139
11146
|
var theme = _ref.theme;
|
|
11140
11147
|
return {
|
|
11141
11148
|
backgroundColor: theme.__hd__.calendar.colors.background
|
|
11142
11149
|
};
|
|
11143
11150
|
});
|
|
11144
|
-
var StyledCalendarHeader = index$
|
|
11151
|
+
var StyledCalendarHeader = index$b(reactNative.View)(function (_ref2) {
|
|
11145
11152
|
var theme = _ref2.theme;
|
|
11146
11153
|
return {
|
|
11147
11154
|
flexDirection: 'row',
|
|
@@ -11149,7 +11156,7 @@ var StyledCalendarHeader = index$a(reactNative.View)(function (_ref2) {
|
|
|
11149
11156
|
paddingVertical: theme.__hd__.calendar.space.headerVerticalPadding
|
|
11150
11157
|
};
|
|
11151
11158
|
});
|
|
11152
|
-
var StyledCalendarDayNameCell = index$
|
|
11159
|
+
var StyledCalendarDayNameCell = index$b(reactNative.View)(function (_ref3) {
|
|
11153
11160
|
var theme = _ref3.theme;
|
|
11154
11161
|
return {
|
|
11155
11162
|
width: theme.__hd__.calendar.sizes.cellWidth,
|
|
@@ -11158,7 +11165,7 @@ var StyledCalendarDayNameCell = index$a(reactNative.View)(function (_ref3) {
|
|
|
11158
11165
|
justifyContent: 'center'
|
|
11159
11166
|
};
|
|
11160
11167
|
});
|
|
11161
|
-
var StyledCalendarCell = index$
|
|
11168
|
+
var StyledCalendarCell = index$b(reactNative.TouchableOpacity)(function (_ref4) {
|
|
11162
11169
|
var theme = _ref4.theme,
|
|
11163
11170
|
_ref4$variant = _ref4.variant,
|
|
11164
11171
|
variant = _ref4$variant === void 0 ? 'default' : _ref4$variant;
|
|
@@ -11173,7 +11180,7 @@ var StyledCalendarCell = index$a(reactNative.TouchableOpacity)(function (_ref4)
|
|
|
11173
11180
|
height: theme.__hd__.calendar.sizes.cellCircleHeight
|
|
11174
11181
|
};
|
|
11175
11182
|
});
|
|
11176
|
-
var StyledCalendarRow = index$
|
|
11183
|
+
var StyledCalendarRow = index$b(reactNative.View)(function (_ref5) {
|
|
11177
11184
|
var theme = _ref5.theme;
|
|
11178
11185
|
return {
|
|
11179
11186
|
flexDirection: 'row',
|
|
@@ -11181,7 +11188,7 @@ var StyledCalendarRow = index$a(reactNative.View)(function (_ref5) {
|
|
|
11181
11188
|
flexWrap: 'wrap'
|
|
11182
11189
|
};
|
|
11183
11190
|
});
|
|
11184
|
-
var StyledCalendarRowItem = index$
|
|
11191
|
+
var StyledCalendarRowItem = index$b(reactNative.View)(function (_ref6) {
|
|
11185
11192
|
var theme = _ref6.theme;
|
|
11186
11193
|
return {
|
|
11187
11194
|
flexBasis: "".concat(Math.floor(100.0 / 7.0).toString(), "%"),
|
|
@@ -11191,7 +11198,7 @@ var StyledCalendarRowItem = index$a(reactNative.View)(function (_ref6) {
|
|
|
11191
11198
|
justifyContent: 'center'
|
|
11192
11199
|
};
|
|
11193
11200
|
});
|
|
11194
|
-
var StyledDisabledCalendarRowItem = index$
|
|
11201
|
+
var StyledDisabledCalendarRowItem = index$b(reactNative.View)(function (_ref7) {
|
|
11195
11202
|
var theme = _ref7.theme;
|
|
11196
11203
|
return {
|
|
11197
11204
|
flexBasis: "".concat(Math.floor(100.0 / 7.0).toString(), "%"),
|
|
@@ -11200,7 +11207,7 @@ var StyledDisabledCalendarRowItem = index$a(reactNative.View)(function (_ref7) {
|
|
|
11200
11207
|
height: theme.__hd__.calendar.sizes.cellHeight
|
|
11201
11208
|
};
|
|
11202
11209
|
});
|
|
11203
|
-
var StyledMark = index$
|
|
11210
|
+
var StyledMark = index$b(reactNative.View)(function (_ref8) {
|
|
11204
11211
|
var theme = _ref8.theme,
|
|
11205
11212
|
_ref8$variant = _ref8.variant,
|
|
11206
11213
|
variant = _ref8$variant === void 0 ? 'primary' : _ref8$variant;
|
|
@@ -11289,13 +11296,27 @@ var Calendar = function Calendar(_ref) {
|
|
|
11289
11296
|
maxDate = _ref.maxDate,
|
|
11290
11297
|
_ref$markedDates = _ref.markedDates,
|
|
11291
11298
|
markedDates = _ref$markedDates === void 0 ? [] : _ref$markedDates,
|
|
11292
|
-
testID = _ref.testID
|
|
11299
|
+
testID = _ref.testID,
|
|
11300
|
+
_ref$onMonthChange = _ref.onMonthChange,
|
|
11301
|
+
onMonthChange = _ref$onMonthChange === void 0 ? noop$1 : _ref$onMonthChange,
|
|
11302
|
+
monthPickerConfirmLabel = _ref.monthPickerConfirmLabel,
|
|
11303
|
+
monthPickerCancelLabel = _ref.monthPickerCancelLabel;
|
|
11304
|
+
var theme = useTheme();
|
|
11293
11305
|
var currentMonth = visibleDate.getMonth();
|
|
11294
11306
|
var currentYear = visibleDate.getFullYear();
|
|
11295
11307
|
var now = new Date();
|
|
11296
11308
|
var parsedMaskedDate = markedDates.reduce(function (current, markedDate) {
|
|
11297
11309
|
return _objectSpread2(_objectSpread2({}, current), {}, _defineProperty({}, markedDate.toDateString(), true));
|
|
11298
11310
|
}, {});
|
|
11311
|
+
var _React$useState = React__default["default"].useState(false),
|
|
11312
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
11313
|
+
monthPickerVisible = _React$useState2[0],
|
|
11314
|
+
setMonthPickerVisible = _React$useState2[1];
|
|
11315
|
+
var _React$useState3 = React__default["default"].useState(0),
|
|
11316
|
+
_React$useState4 = _slicedToArray(_React$useState3, 2),
|
|
11317
|
+
contentHeight = _React$useState4[0],
|
|
11318
|
+
setContentHeight = _React$useState4[1];
|
|
11319
|
+
var useMonthPicker = onMonthChange !== noop$1;
|
|
11299
11320
|
var firstDateOfMonth = new Date(currentYear, currentMonth, 1);
|
|
11300
11321
|
var lastDateOfMonth = new Date(currentYear, currentMonth + 1, 0);
|
|
11301
11322
|
var lastDateOfPreviousMonth = new Date(currentYear, currentMonth, 0);
|
|
@@ -11323,14 +11344,49 @@ var Calendar = function Calendar(_ref) {
|
|
|
11323
11344
|
return /*#__PURE__*/React__default["default"].createElement(StyledContainer$5, {
|
|
11324
11345
|
testID: testID
|
|
11325
11346
|
}, /*#__PURE__*/React__default["default"].createElement(StyledCalendarHeader, null, /*#__PURE__*/React__default["default"].createElement(ContentNavigator, {
|
|
11326
|
-
value: formatTime('MMMM yyyy', visibleDate),
|
|
11347
|
+
value: !useMonthPicker ? formatTime('MMMM yyyy', visibleDate) : /*#__PURE__*/React__default["default"].createElement(reactNative.TouchableOpacity, {
|
|
11348
|
+
testID: "calendar-month-picker",
|
|
11349
|
+
onPress: function onPress() {
|
|
11350
|
+
return setMonthPickerVisible(!monthPickerVisible);
|
|
11351
|
+
}
|
|
11352
|
+
}, /*#__PURE__*/React__default["default"].createElement(Box, {
|
|
11353
|
+
flexDirection: "row",
|
|
11354
|
+
justifyContent: "center",
|
|
11355
|
+
alignItems: "center"
|
|
11356
|
+
}, /*#__PURE__*/React__default["default"].createElement(Typography.Title, {
|
|
11357
|
+
level: "h5",
|
|
11358
|
+
style: {
|
|
11359
|
+
textAlign: 'center',
|
|
11360
|
+
marginRight: theme.__hd__.calendar.space.headerMarginRight
|
|
11361
|
+
}
|
|
11362
|
+
}, formatTime('MMMM yyyy', visibleDate)), /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
11363
|
+
icon: monthPickerVisible ? 'arrow-up' : 'arrow-down',
|
|
11364
|
+
size: "small"
|
|
11365
|
+
}))),
|
|
11327
11366
|
onPreviousPress: onPreviousPress,
|
|
11328
11367
|
onNextPress: onNextPress,
|
|
11329
|
-
onPress: onTitlePress,
|
|
11368
|
+
onPress: useMonthPicker ? undefined : onTitlePress,
|
|
11330
11369
|
previousDisabled: disablePrevButton,
|
|
11331
11370
|
nextDisabled: disableNextButton,
|
|
11332
11371
|
fontSize: "large"
|
|
11333
|
-
})), /*#__PURE__*/React__default["default"].createElement(
|
|
11372
|
+
})), reactNative.Platform.OS === 'ios' && monthPickerVisible ? /*#__PURE__*/React__default["default"].createElement(Box, {
|
|
11373
|
+
style: {
|
|
11374
|
+
overflow: 'hidden'
|
|
11375
|
+
}
|
|
11376
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactNativeMonthYearPicker.MonthYearPickerViewIOS, {
|
|
11377
|
+
value: value,
|
|
11378
|
+
minimumDate: minDate,
|
|
11379
|
+
maximumDate: maxDate,
|
|
11380
|
+
onChange: onMonthChange,
|
|
11381
|
+
style: {
|
|
11382
|
+
height: contentHeight + theme.__hd__.calendar.space.iosPickerMarginVertical * 2,
|
|
11383
|
+
marginVertical: -theme.__hd__.calendar.space.iosPickerMarginVertical
|
|
11384
|
+
}
|
|
11385
|
+
})) : /*#__PURE__*/React__default["default"].createElement(Box, {
|
|
11386
|
+
onLayout: reactNative.Platform.OS === 'ios' ? function (e) {
|
|
11387
|
+
return setContentHeight(e.nativeEvent.layout.height);
|
|
11388
|
+
} : undefined
|
|
11389
|
+
}, /*#__PURE__*/React__default["default"].createElement(StyledCalendarRow, null, DAYS_OF_WEEK.map(function (day) {
|
|
11334
11390
|
return /*#__PURE__*/React__default["default"].createElement(StyledCalendarRowItem, {
|
|
11335
11391
|
key: day
|
|
11336
11392
|
}, /*#__PURE__*/React__default["default"].createElement(StyledCalendarDayNameCell, null, /*#__PURE__*/React__default["default"].createElement(Typography.Body, {
|
|
@@ -11377,10 +11433,22 @@ var Calendar = function Calendar(_ref) {
|
|
|
11377
11433
|
}) : /*#__PURE__*/React__default["default"].createElement(StyledDisabledCalendarRowItem, {
|
|
11378
11434
|
testID: "calendar-disabled-cell"
|
|
11379
11435
|
});
|
|
11436
|
+
})), reactNative.Platform.OS === 'android' && monthPickerVisible && /*#__PURE__*/React__default["default"].createElement(reactNativeMonthYearPicker.MonthYearPickerDialogueAndroid, {
|
|
11437
|
+
doneButtonLabel: monthPickerConfirmLabel,
|
|
11438
|
+
cancelButtonLabel: monthPickerCancelLabel,
|
|
11439
|
+
value: value,
|
|
11440
|
+
minimumDate: minDate,
|
|
11441
|
+
maximumDate: maxDate,
|
|
11442
|
+
onChange: function onChange(action, date) {
|
|
11443
|
+
setMonthPickerVisible(false);
|
|
11444
|
+
if (action === 'dateSetAction' && !!date) {
|
|
11445
|
+
onMonthChange(date);
|
|
11446
|
+
}
|
|
11447
|
+
}
|
|
11380
11448
|
})));
|
|
11381
11449
|
};
|
|
11382
11450
|
|
|
11383
|
-
var _excluded$
|
|
11451
|
+
var _excluded$k = ["rounded", "size", "testID", "style"];
|
|
11384
11452
|
var Image = function Image(_ref) {
|
|
11385
11453
|
var _ref$rounded = _ref.rounded,
|
|
11386
11454
|
rounded = _ref$rounded === void 0 ? false : _ref$rounded,
|
|
@@ -11388,7 +11456,7 @@ var Image = function Image(_ref) {
|
|
|
11388
11456
|
size = _ref$size === void 0 ? '6xlarge' : _ref$size,
|
|
11389
11457
|
testID = _ref.testID,
|
|
11390
11458
|
style = _ref.style,
|
|
11391
|
-
imageNativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
11459
|
+
imageNativeProps = _objectWithoutProperties(_ref, _excluded$k);
|
|
11392
11460
|
var theme = useTheme();
|
|
11393
11461
|
var imageSize = theme.__hd__.image.sizes[size];
|
|
11394
11462
|
return /*#__PURE__*/React__default["default"].createElement(reactNative.Image, _extends$1({
|
|
@@ -11401,13 +11469,13 @@ var Image = function Image(_ref) {
|
|
|
11401
11469
|
}, imageNativeProps));
|
|
11402
11470
|
};
|
|
11403
11471
|
|
|
11404
|
-
var StyledPageControl$2 = index$
|
|
11472
|
+
var StyledPageControl$2 = index$b(reactNative.View)(function () {
|
|
11405
11473
|
return {
|
|
11406
11474
|
flexDirection: 'row',
|
|
11407
11475
|
alignItems: 'center'
|
|
11408
11476
|
};
|
|
11409
11477
|
});
|
|
11410
|
-
var StyledPageControlAnimatedView = index$
|
|
11478
|
+
var StyledPageControlAnimatedView = index$b(reactNative.Animated.View)(function (_ref) {
|
|
11411
11479
|
var theme = _ref.theme;
|
|
11412
11480
|
return {
|
|
11413
11481
|
height: theme.__hd__.pageControl.sizes.paginatorHeight,
|
|
@@ -11455,7 +11523,7 @@ var PageControl = function PageControl(_ref) {
|
|
|
11455
11523
|
}));
|
|
11456
11524
|
};
|
|
11457
11525
|
|
|
11458
|
-
var StyledBackDrop = index$
|
|
11526
|
+
var StyledBackDrop = index$b(reactNative.View)(function (_ref) {
|
|
11459
11527
|
var themeSlideBackground = _ref.themeSlideBackground;
|
|
11460
11528
|
return {
|
|
11461
11529
|
position: 'absolute',
|
|
@@ -11466,20 +11534,20 @@ var StyledBackDrop = index$a(reactNative.View)(function (_ref) {
|
|
|
11466
11534
|
left: 0
|
|
11467
11535
|
};
|
|
11468
11536
|
});
|
|
11469
|
-
var StyledCarouselView = index$
|
|
11537
|
+
var StyledCarouselView = index$b(reactNative.View)(function () {
|
|
11470
11538
|
return {
|
|
11471
11539
|
flexGrow: 2,
|
|
11472
11540
|
justifyContent: 'space-between'
|
|
11473
11541
|
};
|
|
11474
11542
|
});
|
|
11475
|
-
var StyledCarouselHeading = index$
|
|
11543
|
+
var StyledCarouselHeading = index$b(Typography.Title)(function (_ref2) {
|
|
11476
11544
|
var theme = _ref2.theme;
|
|
11477
11545
|
return {
|
|
11478
11546
|
marginTop: theme.__hd__.carousel.space.headingMarginTop,
|
|
11479
11547
|
marginBottom: theme.__hd__.carousel.space.headingMarginBottom
|
|
11480
11548
|
};
|
|
11481
11549
|
});
|
|
11482
|
-
var StyledCarouselImage = index$
|
|
11550
|
+
var StyledCarouselImage = index$b(Image)(function () {
|
|
11483
11551
|
return {
|
|
11484
11552
|
flexGrow: 2,
|
|
11485
11553
|
flex: 1,
|
|
@@ -11487,7 +11555,7 @@ var StyledCarouselImage = index$a(Image)(function () {
|
|
|
11487
11555
|
resizeMode: 'contain'
|
|
11488
11556
|
};
|
|
11489
11557
|
});
|
|
11490
|
-
var StyledCustomSizeCarouselImage = index$
|
|
11558
|
+
var StyledCustomSizeCarouselImage = index$b(Image)(function (_ref3) {
|
|
11491
11559
|
var height = _ref3.height,
|
|
11492
11560
|
_ref3$resizeMode = _ref3.resizeMode,
|
|
11493
11561
|
resizeMode = _ref3$resizeMode === void 0 ? 'contain' : _ref3$resizeMode,
|
|
@@ -11499,13 +11567,13 @@ var StyledCustomSizeCarouselImage = index$a(Image)(function (_ref3) {
|
|
|
11499
11567
|
resizeMode: resizeMode
|
|
11500
11568
|
};
|
|
11501
11569
|
});
|
|
11502
|
-
var StyledCarouselContentWrapper = index$
|
|
11570
|
+
var StyledCarouselContentWrapper = index$b(Box)(function (_ref4) {
|
|
11503
11571
|
var width = _ref4.width;
|
|
11504
11572
|
return {
|
|
11505
11573
|
width: width
|
|
11506
11574
|
};
|
|
11507
11575
|
});
|
|
11508
|
-
var StyledCarouselFooterWrapper = index$
|
|
11576
|
+
var StyledCarouselFooterWrapper = index$b(reactNative.View)(function (_ref5) {
|
|
11509
11577
|
var theme = _ref5.theme;
|
|
11510
11578
|
return {
|
|
11511
11579
|
paddingHorizontal: theme.__hd__.carousel.space.footerPaddingHorizontal,
|
|
@@ -11515,13 +11583,13 @@ var StyledCarouselFooterWrapper = index$a(reactNative.View)(function (_ref5) {
|
|
|
11515
11583
|
marginBottom: theme.__hd__.carousel.space.footerMarginBottom
|
|
11516
11584
|
};
|
|
11517
11585
|
});
|
|
11518
|
-
var StyledPageControl$1 = index$
|
|
11586
|
+
var StyledPageControl$1 = index$b(PageControl)(function (_ref6) {
|
|
11519
11587
|
var theme = _ref6.theme;
|
|
11520
11588
|
return {
|
|
11521
11589
|
paddingVertical: theme.__hd__.carousel.space.pageControlPaddingVertical
|
|
11522
11590
|
};
|
|
11523
11591
|
});
|
|
11524
|
-
var StyledPageControlWrapper = index$
|
|
11592
|
+
var StyledPageControlWrapper = index$b(reactNative.View)(function (_ref7) {
|
|
11525
11593
|
var theme = _ref7.theme;
|
|
11526
11594
|
return {
|
|
11527
11595
|
alignItems: 'center',
|
|
@@ -11572,7 +11640,7 @@ var ITEM_WIDTH_RATE = 0.85;
|
|
|
11572
11640
|
*/
|
|
11573
11641
|
var VIEW_POSITION_CENTER = 0.5;
|
|
11574
11642
|
|
|
11575
|
-
var StyledDataCard = index$
|
|
11643
|
+
var StyledDataCard = index$b(reactNative.View)(function (_ref) {
|
|
11576
11644
|
var theme = _ref.theme;
|
|
11577
11645
|
return {
|
|
11578
11646
|
borderRadius: theme.__hd__.card.radii["default"],
|
|
@@ -11580,7 +11648,7 @@ var StyledDataCard = index$a(reactNative.View)(function (_ref) {
|
|
|
11580
11648
|
flexDirection: 'row'
|
|
11581
11649
|
};
|
|
11582
11650
|
});
|
|
11583
|
-
var Indicator = index$
|
|
11651
|
+
var Indicator = index$b(reactNative.View)(function (_ref2) {
|
|
11584
11652
|
var theme = _ref2.theme,
|
|
11585
11653
|
themeIntent = _ref2.themeIntent;
|
|
11586
11654
|
return {
|
|
@@ -11590,19 +11658,19 @@ var Indicator = index$a(reactNative.View)(function (_ref2) {
|
|
|
11590
11658
|
};
|
|
11591
11659
|
});
|
|
11592
11660
|
|
|
11593
|
-
var _excluded$
|
|
11661
|
+
var _excluded$j = ["intent", "children"];
|
|
11594
11662
|
var DataCard = function DataCard(_ref) {
|
|
11595
11663
|
var _ref$intent = _ref.intent,
|
|
11596
11664
|
intent = _ref$intent === void 0 ? 'info' : _ref$intent,
|
|
11597
11665
|
children = _ref.children,
|
|
11598
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
11666
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$j);
|
|
11599
11667
|
return /*#__PURE__*/React__default["default"].createElement(StyledDataCard, nativeProps, /*#__PURE__*/React__default["default"].createElement(Indicator, {
|
|
11600
11668
|
themeIntent: intent,
|
|
11601
11669
|
testID: "data-card-indicator"
|
|
11602
11670
|
}), children);
|
|
11603
11671
|
};
|
|
11604
11672
|
|
|
11605
|
-
var StyledCard$1 = index$
|
|
11673
|
+
var StyledCard$1 = index$b(reactNative.View)(function (_ref) {
|
|
11606
11674
|
var theme = _ref.theme,
|
|
11607
11675
|
themeIntent = _ref.themeIntent;
|
|
11608
11676
|
return _objectSpread2(_objectSpread2({}, themeIntent !== undefined && {
|
|
@@ -11613,11 +11681,11 @@ var StyledCard$1 = index$a(reactNative.View)(function (_ref) {
|
|
|
11613
11681
|
});
|
|
11614
11682
|
});
|
|
11615
11683
|
|
|
11616
|
-
var _excluded$
|
|
11684
|
+
var _excluded$i = ["intent", "children"];
|
|
11617
11685
|
var Card = function Card(_ref) {
|
|
11618
11686
|
var intent = _ref.intent,
|
|
11619
11687
|
children = _ref.children,
|
|
11620
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
11688
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$i);
|
|
11621
11689
|
return /*#__PURE__*/React__default["default"].createElement(StyledCard$1, _extends$1({}, nativeProps, {
|
|
11622
11690
|
themeIntent: intent
|
|
11623
11691
|
}), children);
|
|
@@ -11626,15 +11694,15 @@ var Card$1 = Object.assign(Card, {
|
|
|
11626
11694
|
Data: DataCard
|
|
11627
11695
|
});
|
|
11628
11696
|
|
|
11629
|
-
var StyledPageControl = index$
|
|
11697
|
+
var StyledPageControl = index$b(PageControl)(function (_ref) {
|
|
11630
11698
|
var theme = _ref.theme;
|
|
11631
11699
|
return {
|
|
11632
11700
|
alignSelf: 'center',
|
|
11633
11701
|
marginTop: theme.__hd__.cardCarousel.space.pageControlMarginTop
|
|
11634
11702
|
};
|
|
11635
11703
|
});
|
|
11636
|
-
var StyledWrapper$8 = index$
|
|
11637
|
-
var StyledCard = index$
|
|
11704
|
+
var StyledWrapper$8 = index$b(reactNative.View)({});
|
|
11705
|
+
var StyledCard = index$b(Card$1)(function (_ref2) {
|
|
11638
11706
|
var theme = _ref2.theme;
|
|
11639
11707
|
return {
|
|
11640
11708
|
borderRadius: theme.__hd__.cardCarousel.radii.card,
|
|
@@ -11642,7 +11710,7 @@ var StyledCard = index$a(Card$1)(function (_ref2) {
|
|
|
11642
11710
|
flex: 1
|
|
11643
11711
|
};
|
|
11644
11712
|
});
|
|
11645
|
-
var StyledShadow = index$
|
|
11713
|
+
var StyledShadow = index$b(reactNative.View)(function (_ref3) {
|
|
11646
11714
|
var theme = _ref3.theme;
|
|
11647
11715
|
return {
|
|
11648
11716
|
borderRadius: theme.__hd__.cardCarousel.radii.card,
|
|
@@ -11654,7 +11722,7 @@ var StyledShadow = index$a(reactNative.View)(function (_ref3) {
|
|
|
11654
11722
|
flex: 1
|
|
11655
11723
|
};
|
|
11656
11724
|
});
|
|
11657
|
-
var StyledItemWrapper = index$
|
|
11725
|
+
var StyledItemWrapper = index$b(reactNative.View)(function (_ref4) {
|
|
11658
11726
|
var theme = _ref4.theme;
|
|
11659
11727
|
return {
|
|
11660
11728
|
padding: theme.__hd__.cardCarousel.space.carouselItemSpacing
|
|
@@ -11822,8 +11890,9 @@ var CardCarousel = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
11822
11890
|
numberOfPages: items.length
|
|
11823
11891
|
}));
|
|
11824
11892
|
});
|
|
11893
|
+
CardCarousel.displayName = 'CardCarousel';
|
|
11825
11894
|
|
|
11826
|
-
var _excluded$
|
|
11895
|
+
var _excluded$h = ["items", "onItemIndexChange", "renderActions", "selectedItemIndex", "style", "shouldShowPagination", "pageControlPosition"];
|
|
11827
11896
|
function useStateFromProp(initialValue) {
|
|
11828
11897
|
var _useState = React.useState(initialValue),
|
|
11829
11898
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -11848,7 +11917,7 @@ var Carousel = function Carousel(_ref) {
|
|
|
11848
11917
|
shouldShowPagination = _ref$shouldShowPagina === void 0 ? noop : _ref$shouldShowPagina,
|
|
11849
11918
|
_ref$pageControlPosit = _ref.pageControlPosition,
|
|
11850
11919
|
pageControlPosition = _ref$pageControlPosit === void 0 ? 'bottom' : _ref$pageControlPosit,
|
|
11851
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
11920
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$h);
|
|
11852
11921
|
useDeprecation("shouldShowPagination prop has been deprecated", shouldShowPagination !== noop);
|
|
11853
11922
|
useDeprecation("The use of 'pageControlPosition == bottom' has been deprecated", pageControlPosition === 'bottom');
|
|
11854
11923
|
var carouselRef = React.useRef(null);
|
|
@@ -11940,11 +12009,11 @@ var Carousel = function Carousel(_ref) {
|
|
|
11940
12009
|
currentPage: currentSlideIndex
|
|
11941
12010
|
}))));
|
|
11942
12011
|
};
|
|
11943
|
-
var index$
|
|
12012
|
+
var index$9 = Object.assign(Carousel, {
|
|
11944
12013
|
Card: CardCarousel
|
|
11945
12014
|
});
|
|
11946
12015
|
|
|
11947
|
-
var StyledWrapper$7 = index$
|
|
12016
|
+
var StyledWrapper$7 = index$b(reactNative.TouchableOpacity)(function (_ref) {
|
|
11948
12017
|
var theme = _ref.theme,
|
|
11949
12018
|
themeWithBorder = _ref.themeWithBorder,
|
|
11950
12019
|
themeDisabled = _ref.themeDisabled;
|
|
@@ -11958,14 +12027,14 @@ var StyledWrapper$7 = index$a(reactNative.TouchableOpacity)(function (_ref) {
|
|
|
11958
12027
|
flexDirection: 'row'
|
|
11959
12028
|
}, themeWithBorder && borderStyle);
|
|
11960
12029
|
});
|
|
11961
|
-
var StyledDescription$1 = index$
|
|
12030
|
+
var StyledDescription$1 = index$b(Typography.Body)(function (_ref2) {
|
|
11962
12031
|
var theme = _ref2.theme;
|
|
11963
12032
|
return {
|
|
11964
12033
|
paddingRight: theme.__hd__.checkbox.space.iconDescriptionPadding,
|
|
11965
12034
|
flex: 1
|
|
11966
12035
|
};
|
|
11967
12036
|
});
|
|
11968
|
-
var StyledCheckboxContainer = index$
|
|
12037
|
+
var StyledCheckboxContainer = index$b(reactNative.View)(function (_ref3) {
|
|
11969
12038
|
var theme = _ref3.theme;
|
|
11970
12039
|
return {
|
|
11971
12040
|
height: theme.__hd__.checkbox.sizes.icon,
|
|
@@ -11973,7 +12042,7 @@ var StyledCheckboxContainer = index$a(reactNative.View)(function (_ref3) {
|
|
|
11973
12042
|
overflow: 'hidden'
|
|
11974
12043
|
};
|
|
11975
12044
|
});
|
|
11976
|
-
var StyledCheckbox = index$
|
|
12045
|
+
var StyledCheckbox = index$b(reactNative.View)(function (_ref4) {
|
|
11977
12046
|
var theme = _ref4.theme,
|
|
11978
12047
|
themeDisabled = _ref4.themeDisabled;
|
|
11979
12048
|
return {
|
|
@@ -11983,7 +12052,7 @@ var StyledCheckbox = index$a(reactNative.View)(function (_ref4) {
|
|
|
11983
12052
|
borderColor: themeDisabled ? theme.__hd__.checkbox.colors.disabledBorder : theme.__hd__.checkbox.colors["default"]
|
|
11984
12053
|
};
|
|
11985
12054
|
});
|
|
11986
|
-
var StyledCheckMark = index$
|
|
12055
|
+
var StyledCheckMark = index$b(Icon)(function (_ref5) {
|
|
11987
12056
|
var theme = _ref5.theme;
|
|
11988
12057
|
return {
|
|
11989
12058
|
position: 'absolute',
|
|
@@ -12020,14 +12089,14 @@ var Checkbox = function Checkbox(_ref) {
|
|
|
12020
12089
|
})));
|
|
12021
12090
|
};
|
|
12022
12091
|
|
|
12023
|
-
var StyledContainer$4 = index$
|
|
12092
|
+
var StyledContainer$4 = index$b(reactNative.View)(function (_ref) {
|
|
12024
12093
|
var theme = _ref.theme;
|
|
12025
12094
|
return {
|
|
12026
12095
|
width: '100%',
|
|
12027
12096
|
marginTop: theme.__hd__.textInput.space.containerMarginTop
|
|
12028
12097
|
};
|
|
12029
12098
|
});
|
|
12030
|
-
var StyledLabelContainer = index$
|
|
12099
|
+
var StyledLabelContainer = index$b(reactNative.View)(function (_ref2) {
|
|
12031
12100
|
var theme = _ref2.theme;
|
|
12032
12101
|
return {
|
|
12033
12102
|
position: 'absolute',
|
|
@@ -12039,7 +12108,7 @@ var StyledLabelContainer = index$a(reactNative.View)(function (_ref2) {
|
|
|
12039
12108
|
paddingHorizontal: theme.__hd__.textInput.space.labelHorizontalPadding
|
|
12040
12109
|
};
|
|
12041
12110
|
});
|
|
12042
|
-
var StyledLabel = index$
|
|
12111
|
+
var StyledLabel = index$b(Typography.Caption)(function (_ref3) {
|
|
12043
12112
|
var theme = _ref3.theme,
|
|
12044
12113
|
themeState = _ref3.themeState;
|
|
12045
12114
|
return {
|
|
@@ -12047,7 +12116,7 @@ var StyledLabel = index$a(Typography.Caption)(function (_ref3) {
|
|
|
12047
12116
|
lineHeight: theme.__hd__.textInput.lineHeights.topLabel
|
|
12048
12117
|
};
|
|
12049
12118
|
});
|
|
12050
|
-
var StyledAsteriskLabel = index$
|
|
12119
|
+
var StyledAsteriskLabel = index$b(Typography.Caption)(function (_ref4) {
|
|
12051
12120
|
var theme = _ref4.theme,
|
|
12052
12121
|
themeState = _ref4.themeState;
|
|
12053
12122
|
return {
|
|
@@ -12055,7 +12124,7 @@ var StyledAsteriskLabel = index$a(Typography.Caption)(function (_ref4) {
|
|
|
12055
12124
|
lineHeight: theme.__hd__.textInput.lineHeights.topLabel
|
|
12056
12125
|
};
|
|
12057
12126
|
});
|
|
12058
|
-
var StyledLabelContainerInsideTextInput = index$
|
|
12127
|
+
var StyledLabelContainerInsideTextInput = index$b(reactNative.View)(function (_ref5) {
|
|
12059
12128
|
var themeVariant = _ref5.themeVariant;
|
|
12060
12129
|
return _objectSpread2({
|
|
12061
12130
|
flexDirection: 'row',
|
|
@@ -12063,7 +12132,7 @@ var StyledLabelContainerInsideTextInput = index$a(reactNative.View)(function (_r
|
|
|
12063
12132
|
alignItems: themeVariant === 'text' ? 'center' : 'flex-start'
|
|
12064
12133
|
}, reactNative.StyleSheet.absoluteFillObject);
|
|
12065
12134
|
});
|
|
12066
|
-
var StyledLabelInsideTextInput = index$
|
|
12135
|
+
var StyledLabelInsideTextInput = index$b(Typography.Body)(function (_ref6) {
|
|
12067
12136
|
var theme = _ref6.theme,
|
|
12068
12137
|
themeState = _ref6.themeState;
|
|
12069
12138
|
return {
|
|
@@ -12074,14 +12143,14 @@ var StyledLabelInsideTextInput = index$a(Typography.Body)(function (_ref6) {
|
|
|
12074
12143
|
marginTop: theme.__hd__.textInput.space.labelInsideTextInputMarginTop
|
|
12075
12144
|
};
|
|
12076
12145
|
});
|
|
12077
|
-
var StyledAsteriskLabelInsideTextInput = index$
|
|
12146
|
+
var StyledAsteriskLabelInsideTextInput = index$b(Typography.Body)(function (_ref7) {
|
|
12078
12147
|
var theme = _ref7.theme,
|
|
12079
12148
|
themeState = _ref7.themeState;
|
|
12080
12149
|
return {
|
|
12081
12150
|
color: theme.__hd__.textInput.colors.asterisks[themeState]
|
|
12082
12151
|
};
|
|
12083
12152
|
});
|
|
12084
|
-
var StyledErrorContainer$2 = index$
|
|
12153
|
+
var StyledErrorContainer$2 = index$b(reactNative.View)(function (_ref8) {
|
|
12085
12154
|
var theme = _ref8.theme;
|
|
12086
12155
|
return {
|
|
12087
12156
|
marginRight: theme.__hd__.textInput.space.errorContainerMarginRight,
|
|
@@ -12091,14 +12160,14 @@ var StyledErrorContainer$2 = index$a(reactNative.View)(function (_ref8) {
|
|
|
12091
12160
|
flexGrow: 4
|
|
12092
12161
|
};
|
|
12093
12162
|
});
|
|
12094
|
-
var StyledError = index$
|
|
12163
|
+
var StyledError = index$b(Typography.Caption)(function (_ref9) {
|
|
12095
12164
|
var theme = _ref9.theme;
|
|
12096
12165
|
return {
|
|
12097
12166
|
color: theme.__hd__.textInput.colors.error,
|
|
12098
12167
|
marginLeft: theme.__hd__.textInput.space.errorMarginLeft
|
|
12099
12168
|
};
|
|
12100
12169
|
});
|
|
12101
|
-
var StyledMaxLengthMessage = index$
|
|
12170
|
+
var StyledMaxLengthMessage = index$b(Typography.Caption)(function (_ref10) {
|
|
12102
12171
|
var theme = _ref10.theme,
|
|
12103
12172
|
themeState = _ref10.themeState;
|
|
12104
12173
|
return {
|
|
@@ -12111,7 +12180,7 @@ var StyledMaxLengthMessage = index$a(Typography.Caption)(function (_ref10) {
|
|
|
12111
12180
|
};
|
|
12112
12181
|
});
|
|
12113
12182
|
var StyledHelperText = Typography.Caption;
|
|
12114
|
-
var StyledTextInput = index$
|
|
12183
|
+
var StyledTextInput = index$b(reactNative.TextInput)(function (_ref11) {
|
|
12115
12184
|
var theme = _ref11.theme,
|
|
12116
12185
|
themeVariant = _ref11.themeVariant;
|
|
12117
12186
|
return {
|
|
@@ -12126,7 +12195,7 @@ var StyledTextInput = index$a(reactNative.TextInput)(function (_ref11) {
|
|
|
12126
12195
|
fontFamily: theme.__hd__.textInput.fonts.text
|
|
12127
12196
|
};
|
|
12128
12197
|
});
|
|
12129
|
-
var StyledBorderBackDrop = index$
|
|
12198
|
+
var StyledBorderBackDrop = index$b(reactNative.View)(function (_ref12) {
|
|
12130
12199
|
var _theme$__hd__$textInp;
|
|
12131
12200
|
var theme = _ref12.theme,
|
|
12132
12201
|
themeFocused = _ref12.themeFocused,
|
|
@@ -12137,7 +12206,7 @@ var StyledBorderBackDrop = index$a(reactNative.View)(function (_ref12) {
|
|
|
12137
12206
|
borderColor: (_theme$__hd__$textInp = theme.__hd__.textInput.colors.borders[themeState]) !== null && _theme$__hd__$textInp !== void 0 ? _theme$__hd__$textInp : theme.__hd__.textInput.colors.borders["default"]
|
|
12138
12207
|
});
|
|
12139
12208
|
});
|
|
12140
|
-
var StyledTextInputContainer = index$
|
|
12209
|
+
var StyledTextInputContainer = index$b(reactNative.View)(function (_ref13) {
|
|
12141
12210
|
var theme = _ref13.theme;
|
|
12142
12211
|
return {
|
|
12143
12212
|
flexDirection: 'row',
|
|
@@ -12147,7 +12216,7 @@ var StyledTextInputContainer = index$a(reactNative.View)(function (_ref13) {
|
|
|
12147
12216
|
borderRadius: theme.__hd__.textInput.radii.container
|
|
12148
12217
|
};
|
|
12149
12218
|
});
|
|
12150
|
-
var StyledTextInputAndLabelContainer = index$
|
|
12219
|
+
var StyledTextInputAndLabelContainer = index$b(reactNative.View)(function () {
|
|
12151
12220
|
return {
|
|
12152
12221
|
flexDirection: 'row',
|
|
12153
12222
|
alignItems: 'center',
|
|
@@ -12156,7 +12225,7 @@ var StyledTextInputAndLabelContainer = index$a(reactNative.View)(function () {
|
|
|
12156
12225
|
flexShrink: 1
|
|
12157
12226
|
};
|
|
12158
12227
|
});
|
|
12159
|
-
var StyledErrorAndHelpTextContainer = index$
|
|
12228
|
+
var StyledErrorAndHelpTextContainer = index$b(reactNative.View)(function (_ref14) {
|
|
12160
12229
|
var theme = _ref14.theme;
|
|
12161
12230
|
return {
|
|
12162
12231
|
paddingLeft: theme.__hd__.textInput.space.errorAndHelpTextContainerPaddingLeft,
|
|
@@ -12164,14 +12233,14 @@ var StyledErrorAndHelpTextContainer = index$a(reactNative.View)(function (_ref14
|
|
|
12164
12233
|
paddingTop: theme.__hd__.textInput.space.errorAndHelpTextContainerPaddingTop
|
|
12165
12234
|
};
|
|
12166
12235
|
});
|
|
12167
|
-
var StyledErrorAndMaxLengthContainer = index$
|
|
12236
|
+
var StyledErrorAndMaxLengthContainer = index$b(reactNative.View)(function () {
|
|
12168
12237
|
return {
|
|
12169
12238
|
flexDirection: 'row',
|
|
12170
12239
|
justifyContent: 'space-between'
|
|
12171
12240
|
};
|
|
12172
12241
|
});
|
|
12173
12242
|
|
|
12174
|
-
var _excluded$
|
|
12243
|
+
var _excluded$g = ["label", "prefix", "suffix", "style", "textStyle", "testID", "accessibilityLabelledBy", "error", "required", "editable", "disabled", "loading", "maxLength", "hideCharacterCount", "helpText", "value", "defaultValue", "renderInputValue", "allowFontScaling", "variant"];
|
|
12175
12244
|
var getState$1 = function getState(_ref) {
|
|
12176
12245
|
var disabled = _ref.disabled,
|
|
12177
12246
|
error = _ref.error,
|
|
@@ -12223,7 +12292,7 @@ var TextInput = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
|
|
|
12223
12292
|
allowFontScaling = _ref2$allowFontScalin === void 0 ? false : _ref2$allowFontScalin,
|
|
12224
12293
|
_ref2$variant = _ref2.variant,
|
|
12225
12294
|
variant = _ref2$variant === void 0 ? 'text' : _ref2$variant,
|
|
12226
|
-
nativeProps = _objectWithoutProperties(_ref2, _excluded$
|
|
12295
|
+
nativeProps = _objectWithoutProperties(_ref2, _excluded$g);
|
|
12227
12296
|
var displayText = (_ref3 = value !== undefined ? value : defaultValue) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
12228
12297
|
var isEmptyValue = displayText.length === 0;
|
|
12229
12298
|
var actualSuffix = loading ? 'loading' : suffix;
|
|
@@ -12459,7 +12528,9 @@ var InternalCalendar = function InternalCalendar(_ref) {
|
|
|
12459
12528
|
var minDate = _ref.minDate,
|
|
12460
12529
|
maxDate = _ref.maxDate,
|
|
12461
12530
|
value = _ref.value,
|
|
12462
|
-
_onChange = _ref.onChange
|
|
12531
|
+
_onChange = _ref.onChange,
|
|
12532
|
+
monthPickerConfirmLabel = _ref.monthPickerConfirmLabel,
|
|
12533
|
+
monthPickerCancelLabel = _ref.monthPickerCancelLabel;
|
|
12463
12534
|
var _useState = React.useState(value || new Date()),
|
|
12464
12535
|
_useState2 = _slicedToArray(_useState, 2),
|
|
12465
12536
|
visibleDate = _useState2[0],
|
|
@@ -12485,7 +12556,12 @@ var InternalCalendar = function InternalCalendar(_ref) {
|
|
|
12485
12556
|
return setVisibleDate(new Date(visibleDate.getFullYear(), visibleDate.getMonth() + 1, 1));
|
|
12486
12557
|
},
|
|
12487
12558
|
minDate: minDate,
|
|
12488
|
-
maxDate: maxDate
|
|
12559
|
+
maxDate: maxDate,
|
|
12560
|
+
onMonthChange: function onMonthChange(date) {
|
|
12561
|
+
return setVisibleDate(date);
|
|
12562
|
+
},
|
|
12563
|
+
monthPickerConfirmLabel: monthPickerConfirmLabel,
|
|
12564
|
+
monthPickerCancelLabel: monthPickerCancelLabel
|
|
12489
12565
|
});
|
|
12490
12566
|
};
|
|
12491
12567
|
var DatePickerCalendar = function DatePickerCalendar(_ref2) {
|
|
@@ -12506,7 +12582,9 @@ var DatePickerCalendar = function DatePickerCalendar(_ref2) {
|
|
|
12506
12582
|
error = _ref2.error,
|
|
12507
12583
|
helpText = _ref2.helpText,
|
|
12508
12584
|
style = _ref2.style,
|
|
12509
|
-
testID = _ref2.testID
|
|
12585
|
+
testID = _ref2.testID,
|
|
12586
|
+
monthPickerConfirmLabel = _ref2.monthPickerConfirmLabel,
|
|
12587
|
+
monthPickerCancelLabel = _ref2.monthPickerCancelLabel;
|
|
12510
12588
|
var _useState5 = React.useState(false),
|
|
12511
12589
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
12512
12590
|
open = _useState6[0],
|
|
@@ -12555,11 +12633,13 @@ var DatePickerCalendar = function DatePickerCalendar(_ref2) {
|
|
|
12555
12633
|
minDate: minDate,
|
|
12556
12634
|
maxDate: maxDate,
|
|
12557
12635
|
value: value,
|
|
12558
|
-
onChange: setSelectingDate
|
|
12636
|
+
onChange: setSelectingDate,
|
|
12637
|
+
monthPickerConfirmLabel: monthPickerConfirmLabel,
|
|
12638
|
+
monthPickerCancelLabel: monthPickerCancelLabel
|
|
12559
12639
|
})));
|
|
12560
12640
|
};
|
|
12561
12641
|
|
|
12562
|
-
var StyledPickerWrapper$1 = index$
|
|
12642
|
+
var StyledPickerWrapper$1 = index$b(reactNative.View)(function (_ref) {
|
|
12563
12643
|
var theme = _ref.theme;
|
|
12564
12644
|
return {
|
|
12565
12645
|
height: theme.__hd__.datePicker.sizes.height
|
|
@@ -12656,11 +12736,11 @@ var DatePickerIOS = function DatePickerIOS(_ref) {
|
|
|
12656
12736
|
}))));
|
|
12657
12737
|
};
|
|
12658
12738
|
|
|
12659
|
-
var _excluded$
|
|
12739
|
+
var _excluded$f = ["variant"];
|
|
12660
12740
|
var DatePicker = function DatePicker(_ref) {
|
|
12661
12741
|
var _ref$variant = _ref.variant,
|
|
12662
12742
|
variant = _ref$variant === void 0 ? 'default' : _ref$variant,
|
|
12663
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
12743
|
+
props = _objectWithoutProperties(_ref, _excluded$f);
|
|
12664
12744
|
if (variant === 'calendar') {
|
|
12665
12745
|
return /*#__PURE__*/React__default["default"].createElement(DatePickerCalendar, props);
|
|
12666
12746
|
}
|
|
@@ -12671,7 +12751,7 @@ var DatePicker = function DatePicker(_ref) {
|
|
|
12671
12751
|
};
|
|
12672
12752
|
|
|
12673
12753
|
var AnimatedPressable = reactNative.Animated.createAnimatedComponent(reactNative.Pressable);
|
|
12674
|
-
var StyledContainer$3 = index$
|
|
12754
|
+
var StyledContainer$3 = index$b(reactNative.View)(function (_ref) {
|
|
12675
12755
|
var theme = _ref.theme,
|
|
12676
12756
|
enableShadow = _ref.enableShadow;
|
|
12677
12757
|
return _objectSpread2(_objectSpread2({}, reactNative.StyleSheet.absoluteFillObject), {}, {
|
|
@@ -12684,7 +12764,7 @@ var StyledContainer$3 = index$a(reactNative.View)(function (_ref) {
|
|
|
12684
12764
|
elevation: 9999
|
|
12685
12765
|
});
|
|
12686
12766
|
});
|
|
12687
|
-
var StyledDragableContainer = index$
|
|
12767
|
+
var StyledDragableContainer = index$b(reactNative.View)(function (_ref2) {
|
|
12688
12768
|
var theme = _ref2.theme,
|
|
12689
12769
|
enableShadow = _ref2.enableShadow;
|
|
12690
12770
|
return _objectSpread2(_objectSpread2({}, reactNative.StyleSheet.absoluteFillObject), {}, {
|
|
@@ -12698,13 +12778,13 @@ var StyledDragableContainer = index$a(reactNative.View)(function (_ref2) {
|
|
|
12698
12778
|
flexDirection: 'column-reverse'
|
|
12699
12779
|
});
|
|
12700
12780
|
});
|
|
12701
|
-
var StyledBackdrop$1 = index$
|
|
12781
|
+
var StyledBackdrop$1 = index$b(AnimatedPressable)(function (_ref3) {
|
|
12702
12782
|
var theme = _ref3.theme;
|
|
12703
12783
|
return _objectSpread2(_objectSpread2({}, reactNative.StyleSheet.absoluteFillObject), {}, {
|
|
12704
12784
|
backgroundColor: theme.__hd__.drawer.colors.backdrop
|
|
12705
12785
|
});
|
|
12706
12786
|
});
|
|
12707
|
-
var StyledDrawerContainer = index$
|
|
12787
|
+
var StyledDrawerContainer = index$b(reactNative.Animated.View)(function (_ref4) {
|
|
12708
12788
|
var theme = _ref4.theme,
|
|
12709
12789
|
enableShadow = _ref4.enableShadow;
|
|
12710
12790
|
return {
|
|
@@ -12715,7 +12795,7 @@ var StyledDrawerContainer = index$a(reactNative.Animated.View)(function (_ref4)
|
|
|
12715
12795
|
overflow: 'hidden'
|
|
12716
12796
|
};
|
|
12717
12797
|
});
|
|
12718
|
-
var StyledDragableDrawerContainer = index$
|
|
12798
|
+
var StyledDragableDrawerContainer = index$b(reactNative.Animated.View)(function (_ref5) {
|
|
12719
12799
|
var theme = _ref5.theme,
|
|
12720
12800
|
enableShadow = _ref5.enableShadow;
|
|
12721
12801
|
return {
|
|
@@ -12727,7 +12807,7 @@ var StyledDragableDrawerContainer = index$a(reactNative.Animated.View)(function
|
|
|
12727
12807
|
maxHeight: '100%'
|
|
12728
12808
|
};
|
|
12729
12809
|
});
|
|
12730
|
-
var StyledHandlerContainer = index$
|
|
12810
|
+
var StyledHandlerContainer = index$b(reactNative.View)(function (_ref6) {
|
|
12731
12811
|
var theme = _ref6.theme;
|
|
12732
12812
|
return {
|
|
12733
12813
|
backgroundColor: theme.__hd__.drawer.colors.background,
|
|
@@ -12735,7 +12815,7 @@ var StyledHandlerContainer = index$a(reactNative.View)(function (_ref6) {
|
|
|
12735
12815
|
alignItems: 'center'
|
|
12736
12816
|
};
|
|
12737
12817
|
});
|
|
12738
|
-
var StyledHandler = index$
|
|
12818
|
+
var StyledHandler = index$b(reactNative.View)(function (_ref7) {
|
|
12739
12819
|
var theme = _ref7.theme;
|
|
12740
12820
|
return {
|
|
12741
12821
|
width: theme.__hd__.drawer.sizes.handlerWidth,
|
|
@@ -12953,11 +13033,11 @@ var Drawer = function Drawer(_ref) {
|
|
|
12953
13033
|
}
|
|
12954
13034
|
}, children));
|
|
12955
13035
|
};
|
|
12956
|
-
var index$
|
|
13036
|
+
var index$8 = Object.assign(Drawer, {
|
|
12957
13037
|
Dragable: DragableDrawer
|
|
12958
13038
|
});
|
|
12959
13039
|
|
|
12960
|
-
var StyledWrapper$6 = index$
|
|
13040
|
+
var StyledWrapper$6 = index$b(reactNative.View)(function (_ref) {
|
|
12961
13041
|
var theme = _ref.theme;
|
|
12962
13042
|
return {
|
|
12963
13043
|
display: 'flex',
|
|
@@ -12968,7 +13048,7 @@ var StyledWrapper$6 = index$a(reactNative.View)(function (_ref) {
|
|
|
12968
13048
|
padding: theme.__hd__.empty.space.wrapperPadding
|
|
12969
13049
|
};
|
|
12970
13050
|
});
|
|
12971
|
-
var StyledTitle = index$
|
|
13051
|
+
var StyledTitle = index$b(Typography.Title)(function (_ref2) {
|
|
12972
13052
|
var theme = _ref2.theme,
|
|
12973
13053
|
themeVariant = _ref2.themeVariant;
|
|
12974
13054
|
return {
|
|
@@ -12977,7 +13057,7 @@ var StyledTitle = index$a(Typography.Title)(function (_ref2) {
|
|
|
12977
13057
|
color: themeVariant === 'dark' ? theme.__hd__.empty.colors.invertedText : theme.__hd__.empty.colors.text
|
|
12978
13058
|
};
|
|
12979
13059
|
});
|
|
12980
|
-
var StyledDescription = index$
|
|
13060
|
+
var StyledDescription = index$b(Typography.Body)(function (_ref3) {
|
|
12981
13061
|
var theme = _ref3.theme,
|
|
12982
13062
|
themeVariant = _ref3.themeVariant;
|
|
12983
13063
|
return {
|
|
@@ -13012,11 +13092,11 @@ var Empty = function Empty(_ref) {
|
|
|
13012
13092
|
}, description));
|
|
13013
13093
|
};
|
|
13014
13094
|
|
|
13015
|
-
var StyledErrorModal = index$
|
|
13095
|
+
var StyledErrorModal = index$b(reactNative.Modal)({
|
|
13016
13096
|
height: '100%',
|
|
13017
13097
|
width: '100%'
|
|
13018
13098
|
});
|
|
13019
|
-
var StyledErrorContainer$1 = index$
|
|
13099
|
+
var StyledErrorContainer$1 = index$b(reactNative.View)(function (_ref) {
|
|
13020
13100
|
var theme = _ref.theme,
|
|
13021
13101
|
themeVariant = _ref.themeVariant;
|
|
13022
13102
|
return {
|
|
@@ -13026,7 +13106,7 @@ var StyledErrorContainer$1 = index$a(reactNative.View)(function (_ref) {
|
|
|
13026
13106
|
backgroundColor: themeVariant === 'in-page' ? theme.__hd__.error.colors.inPageBackground : theme.__hd__.error.colors.fullScreenBackground
|
|
13027
13107
|
};
|
|
13028
13108
|
});
|
|
13029
|
-
var StyledErrorContent = index$
|
|
13109
|
+
var StyledErrorContent = index$b(reactNative.View)(function (_ref2) {
|
|
13030
13110
|
var theme = _ref2.theme;
|
|
13031
13111
|
return {
|
|
13032
13112
|
display: 'flex',
|
|
@@ -13037,7 +13117,7 @@ var StyledErrorContent = index$a(reactNative.View)(function (_ref2) {
|
|
|
13037
13117
|
padding: theme.__hd__.error.space.wrapperPadding
|
|
13038
13118
|
};
|
|
13039
13119
|
});
|
|
13040
|
-
var StyledErrorButtonContainer = index$
|
|
13120
|
+
var StyledErrorButtonContainer = index$b(reactNative.View)(function (_ref3) {
|
|
13041
13121
|
var theme = _ref3.theme;
|
|
13042
13122
|
return {
|
|
13043
13123
|
display: 'flex',
|
|
@@ -13048,20 +13128,20 @@ var StyledErrorButtonContainer = index$a(reactNative.View)(function (_ref3) {
|
|
|
13048
13128
|
paddingVertical: theme.__hd__.error.space.button.wrapperVerticalPadding
|
|
13049
13129
|
};
|
|
13050
13130
|
});
|
|
13051
|
-
var StyledErrorButtonPrimary = index$
|
|
13131
|
+
var StyledErrorButtonPrimary = index$b(CompoundButton)(function (_ref4) {
|
|
13052
13132
|
var theme = _ref4.theme;
|
|
13053
13133
|
return {
|
|
13054
13134
|
padding: theme.__hd__.error.space.button.padding
|
|
13055
13135
|
};
|
|
13056
13136
|
});
|
|
13057
|
-
var StyledErrorButtonSecondary = index$
|
|
13137
|
+
var StyledErrorButtonSecondary = index$b(CompoundButton)(function (_ref5) {
|
|
13058
13138
|
var theme = _ref5.theme;
|
|
13059
13139
|
return {
|
|
13060
13140
|
marginTop: theme.__hd__.error.space.button.margin,
|
|
13061
13141
|
padding: theme.__hd__.error.space.button.padding
|
|
13062
13142
|
};
|
|
13063
13143
|
});
|
|
13064
|
-
var StyledErrorImageContainer = index$
|
|
13144
|
+
var StyledErrorImageContainer = index$b(reactNative.View)(function (_ref6) {
|
|
13065
13145
|
var theme = _ref6.theme;
|
|
13066
13146
|
return {
|
|
13067
13147
|
marginBottom: theme.__hd__.error.space.imageMarginBottom,
|
|
@@ -13069,7 +13149,7 @@ var StyledErrorImageContainer = index$a(reactNative.View)(function (_ref6) {
|
|
|
13069
13149
|
height: theme.__hd__.error.sizes.image
|
|
13070
13150
|
};
|
|
13071
13151
|
});
|
|
13072
|
-
var StyledErrorImage = index$
|
|
13152
|
+
var StyledErrorImage = index$b(Image)(function (_ref7) {
|
|
13073
13153
|
var theme = _ref7.theme;
|
|
13074
13154
|
return {
|
|
13075
13155
|
marginBottom: theme.__hd__.error.space.imageMarginBottom,
|
|
@@ -13078,7 +13158,7 @@ var StyledErrorImage = index$a(Image)(function (_ref7) {
|
|
|
13078
13158
|
resizeMode: 'contain'
|
|
13079
13159
|
};
|
|
13080
13160
|
});
|
|
13081
|
-
var StyledErrorTitle = index$
|
|
13161
|
+
var StyledErrorTitle = index$b(Typography.Title)(function (_ref8) {
|
|
13082
13162
|
var theme = _ref8.theme;
|
|
13083
13163
|
return {
|
|
13084
13164
|
textAlign: 'center',
|
|
@@ -13086,7 +13166,7 @@ var StyledErrorTitle = index$a(Typography.Title)(function (_ref8) {
|
|
|
13086
13166
|
color: theme.__hd__.error.colors.title
|
|
13087
13167
|
};
|
|
13088
13168
|
});
|
|
13089
|
-
var StyledErrorDescription = index$
|
|
13169
|
+
var StyledErrorDescription = index$b(Typography.Body)(function (_ref9) {
|
|
13090
13170
|
var theme = _ref9.theme;
|
|
13091
13171
|
return {
|
|
13092
13172
|
textAlign: 'center',
|
|
@@ -13094,7 +13174,7 @@ var StyledErrorDescription = index$a(Typography.Body)(function (_ref9) {
|
|
|
13094
13174
|
};
|
|
13095
13175
|
});
|
|
13096
13176
|
|
|
13097
|
-
var _excluded$
|
|
13177
|
+
var _excluded$e = ["variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress"],
|
|
13098
13178
|
_excluded2 = ["visible", "variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress"];
|
|
13099
13179
|
var renderImage$1 = function renderImage(image) {
|
|
13100
13180
|
if ( /*#__PURE__*/React.isValidElement(image)) {
|
|
@@ -13120,7 +13200,7 @@ var ErrorPage = function ErrorPage(_ref) {
|
|
|
13120
13200
|
onCtaPress = _ref.onCtaPress,
|
|
13121
13201
|
secondaryCtaText = _ref.secondaryCtaText,
|
|
13122
13202
|
onSecondaryCtaPress = _ref.onSecondaryCtaPress,
|
|
13123
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
13203
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$e);
|
|
13124
13204
|
var showCta = ctaText && onCtaPress !== undefined;
|
|
13125
13205
|
var showSecondaryCta = secondaryCtaText && onSecondaryCtaPress !== undefined;
|
|
13126
13206
|
var showButtonContainer = showCta || showSecondaryCta;
|
|
@@ -13233,7 +13313,7 @@ var Error$1 = function Error(_ref2) {
|
|
|
13233
13313
|
}, nativeProps));
|
|
13234
13314
|
};
|
|
13235
13315
|
|
|
13236
|
-
var StyledFAB$1 = index$
|
|
13316
|
+
var StyledFAB$1 = index$b(reactNative.TouchableHighlight)(function (_ref) {
|
|
13237
13317
|
var theme = _ref.theme;
|
|
13238
13318
|
return {
|
|
13239
13319
|
backgroundColor: theme.__hd__.fab.colors.buttonBackground,
|
|
@@ -13250,7 +13330,7 @@ var StyledFAB$1 = index$a(reactNative.TouchableHighlight)(function (_ref) {
|
|
|
13250
13330
|
shadowOpacity: theme.__hd__.fab.shadows.opacity
|
|
13251
13331
|
};
|
|
13252
13332
|
});
|
|
13253
|
-
var StyledFABIcon = index$
|
|
13333
|
+
var StyledFABIcon = index$b(Icon)(function (_ref2) {
|
|
13254
13334
|
var theme = _ref2.theme;
|
|
13255
13335
|
return {
|
|
13256
13336
|
color: theme.__hd__.fab.colors.icon,
|
|
@@ -13259,7 +13339,7 @@ var StyledFABIcon = index$a(Icon)(function (_ref2) {
|
|
|
13259
13339
|
textAlign: 'center'
|
|
13260
13340
|
};
|
|
13261
13341
|
});
|
|
13262
|
-
var StyledFABText = index$
|
|
13342
|
+
var StyledFABText = index$b(Typography.Body)(function (_ref3) {
|
|
13263
13343
|
var theme = _ref3.theme;
|
|
13264
13344
|
return {
|
|
13265
13345
|
color: theme.__hd__.fab.colors.titleText,
|
|
@@ -13268,7 +13348,7 @@ var StyledFABText = index$a(Typography.Body)(function (_ref3) {
|
|
|
13268
13348
|
marginHorizontal: theme.__hd__.fab.space.titleMarginHorizontal
|
|
13269
13349
|
};
|
|
13270
13350
|
});
|
|
13271
|
-
var StyledIconContainer = index$
|
|
13351
|
+
var StyledIconContainer = index$b(Box)(function (_ref4) {
|
|
13272
13352
|
var theme = _ref4.theme;
|
|
13273
13353
|
return {
|
|
13274
13354
|
width: theme.__hd__.fab.sizes.iconContainerWidth,
|
|
@@ -13278,11 +13358,11 @@ var StyledIconContainer = index$a(Box)(function (_ref4) {
|
|
|
13278
13358
|
};
|
|
13279
13359
|
});
|
|
13280
13360
|
|
|
13281
|
-
var _excluded$
|
|
13361
|
+
var _excluded$d = ["active"];
|
|
13282
13362
|
var AnimatedIcons = reactNative.Animated.createAnimatedComponent(StyledFABIcon);
|
|
13283
13363
|
var AnimatedFABIcon = function AnimatedFABIcon(_ref) {
|
|
13284
13364
|
var active = _ref.active,
|
|
13285
|
-
iconProps = _objectWithoutProperties(_ref, _excluded$
|
|
13365
|
+
iconProps = _objectWithoutProperties(_ref, _excluded$d);
|
|
13286
13366
|
var rotateAnimation = React.useRef(new reactNative.Animated.Value(active ? 1 : 0));
|
|
13287
13367
|
React.useEffect(function () {
|
|
13288
13368
|
var animation = reactNative.Animated.spring(rotateAnimation.current, {
|
|
@@ -13425,7 +13505,7 @@ var FAB = /*#__PURE__*/React.forwardRef(function (_ref3, ref) {
|
|
|
13425
13505
|
});
|
|
13426
13506
|
FAB.displayName = 'FAB';
|
|
13427
13507
|
|
|
13428
|
-
var StyledActionItem = index$
|
|
13508
|
+
var StyledActionItem = index$b(reactNative.TouchableHighlight)(function (_ref) {
|
|
13429
13509
|
var theme = _ref.theme;
|
|
13430
13510
|
return {
|
|
13431
13511
|
padding: theme.__hd__.fab.space.actionItemPadding,
|
|
@@ -13439,13 +13519,13 @@ var StyledActionItem = index$a(reactNative.TouchableHighlight)(function (_ref) {
|
|
|
13439
13519
|
overflow: 'hidden'
|
|
13440
13520
|
};
|
|
13441
13521
|
});
|
|
13442
|
-
var StyledActionItemText = index$
|
|
13522
|
+
var StyledActionItemText = index$b(Typography.Body)(function (_ref2) {
|
|
13443
13523
|
var theme = _ref2.theme;
|
|
13444
13524
|
return {
|
|
13445
13525
|
color: theme.__hd__.fab.colors.actionItemText
|
|
13446
13526
|
};
|
|
13447
13527
|
});
|
|
13448
|
-
var StyledIcon = index$
|
|
13528
|
+
var StyledIcon = index$b(Icon)(function (_ref3) {
|
|
13449
13529
|
var theme = _ref3.theme;
|
|
13450
13530
|
return {
|
|
13451
13531
|
color: theme.__hd__.fab.colors.actionItemText
|
|
@@ -13491,7 +13571,7 @@ var ActionItem = function ActionItem(_ref) {
|
|
|
13491
13571
|
})), /*#__PURE__*/React__default["default"].createElement(StyledActionItemText, null, title))));
|
|
13492
13572
|
};
|
|
13493
13573
|
|
|
13494
|
-
var StyledContainer$2 = index$
|
|
13574
|
+
var StyledContainer$2 = index$b(reactNative.View)({
|
|
13495
13575
|
position: 'absolute',
|
|
13496
13576
|
left: 0,
|
|
13497
13577
|
right: 0,
|
|
@@ -13500,12 +13580,12 @@ var StyledContainer$2 = index$a(reactNative.View)({
|
|
|
13500
13580
|
alignItems: 'flex-end',
|
|
13501
13581
|
justifyContent: 'flex-end'
|
|
13502
13582
|
});
|
|
13503
|
-
var StyledActionGroupContainer = index$
|
|
13583
|
+
var StyledActionGroupContainer = index$b(reactNative.Animated.View)({
|
|
13504
13584
|
alignItems: 'flex-end',
|
|
13505
13585
|
justifyContent: 'flex-end',
|
|
13506
13586
|
width: '70%'
|
|
13507
13587
|
});
|
|
13508
|
-
var StyledFAB = index$
|
|
13588
|
+
var StyledFAB = index$b(FAB)(function (_ref) {
|
|
13509
13589
|
var theme = _ref.theme;
|
|
13510
13590
|
return {
|
|
13511
13591
|
marginRight: theme.__hd__.fab.space.buttonMarginRight,
|
|
@@ -13513,7 +13593,7 @@ var StyledFAB = index$a(FAB)(function (_ref) {
|
|
|
13513
13593
|
alignSelf: 'flex-end'
|
|
13514
13594
|
};
|
|
13515
13595
|
});
|
|
13516
|
-
var StyledBackdrop = index$
|
|
13596
|
+
var StyledBackdrop = index$b(reactNative.Animated.View)(function (_ref2) {
|
|
13517
13597
|
var theme = _ref2.theme;
|
|
13518
13598
|
return {
|
|
13519
13599
|
position: 'absolute',
|
|
@@ -13524,7 +13604,7 @@ var StyledBackdrop = index$a(reactNative.Animated.View)(function (_ref2) {
|
|
|
13524
13604
|
backgroundColor: theme.__hd__.fab.colors.backdropBackground
|
|
13525
13605
|
};
|
|
13526
13606
|
});
|
|
13527
|
-
var StyledHeaderText = index$
|
|
13607
|
+
var StyledHeaderText = index$b(Typography.Title)(function (_ref3) {
|
|
13528
13608
|
var theme = _ref3.theme;
|
|
13529
13609
|
return {
|
|
13530
13610
|
color: theme.__hd__.fab.colors.headerText,
|
|
@@ -13632,11 +13712,11 @@ var ActionGroup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
13632
13712
|
});
|
|
13633
13713
|
ActionGroup.displayName = 'FAB.ActionGroup';
|
|
13634
13714
|
|
|
13635
|
-
var index$
|
|
13715
|
+
var index$7 = Object.assign(FAB, {
|
|
13636
13716
|
ActionGroup: ActionGroup
|
|
13637
13717
|
});
|
|
13638
13718
|
|
|
13639
|
-
var StyledListItemContainer$1 = index$
|
|
13719
|
+
var StyledListItemContainer$1 = index$b(reactNative.TouchableHighlight)(function (_ref) {
|
|
13640
13720
|
var theme = _ref.theme,
|
|
13641
13721
|
_ref$themeSelected = _ref.themeSelected,
|
|
13642
13722
|
themeSelected = _ref$themeSelected === void 0 ? false : _ref$themeSelected,
|
|
@@ -13664,21 +13744,21 @@ var StyledListItemContainer$1 = index$a(reactNative.TouchableHighlight)(function
|
|
|
13664
13744
|
return sharedStyles;
|
|
13665
13745
|
}
|
|
13666
13746
|
});
|
|
13667
|
-
var StyledContentContainer = index$
|
|
13747
|
+
var StyledContentContainer = index$b(reactNative.View)(function () {
|
|
13668
13748
|
return {
|
|
13669
13749
|
flexDirection: 'column',
|
|
13670
13750
|
flex: 1,
|
|
13671
13751
|
flexGrow: 2
|
|
13672
13752
|
};
|
|
13673
13753
|
});
|
|
13674
|
-
var StyledChildrenContainer = index$
|
|
13754
|
+
var StyledChildrenContainer = index$b(reactNative.View)(function () {
|
|
13675
13755
|
return {
|
|
13676
13756
|
flexDirection: 'column',
|
|
13677
13757
|
justifyContent: 'flex-start',
|
|
13678
13758
|
alignItems: 'flex-start'
|
|
13679
13759
|
};
|
|
13680
13760
|
});
|
|
13681
|
-
var StyledLeadingStatus = index$
|
|
13761
|
+
var StyledLeadingStatus = index$b(reactNative.View)(function (_ref2) {
|
|
13682
13762
|
var theme = _ref2.theme,
|
|
13683
13763
|
themeLeadingStatusIntent = _ref2.themeLeadingStatusIntent;
|
|
13684
13764
|
return {
|
|
@@ -13688,19 +13768,19 @@ var StyledLeadingStatus = index$a(reactNative.View)(function (_ref2) {
|
|
|
13688
13768
|
backgroundColor: theme.__hd__.list.colors.leadingStatus[themeLeadingStatusIntent]
|
|
13689
13769
|
};
|
|
13690
13770
|
});
|
|
13691
|
-
var StyledPrefixContainer$1 = index$
|
|
13771
|
+
var StyledPrefixContainer$1 = index$b(reactNative.View)(function (_ref3) {
|
|
13692
13772
|
var theme = _ref3.theme;
|
|
13693
13773
|
return {
|
|
13694
13774
|
marginRight: theme.__hd__.list.space.prefixContainerMarginRight
|
|
13695
13775
|
};
|
|
13696
13776
|
});
|
|
13697
|
-
var StyledSuffixContainer$1 = index$
|
|
13777
|
+
var StyledSuffixContainer$1 = index$b(reactNative.View)(function (_ref4) {
|
|
13698
13778
|
var theme = _ref4.theme;
|
|
13699
13779
|
return {
|
|
13700
13780
|
marginLeft: theme.__hd__.list.space.suffixContainerMarginLeft
|
|
13701
13781
|
};
|
|
13702
13782
|
});
|
|
13703
|
-
var StyledTitleContainer$1 = index$
|
|
13783
|
+
var StyledTitleContainer$1 = index$b(reactNative.View)(function () {
|
|
13704
13784
|
return {
|
|
13705
13785
|
flex: 1
|
|
13706
13786
|
};
|
|
@@ -13753,24 +13833,24 @@ var ListItem = function ListItem(_ref) {
|
|
|
13753
13833
|
}) : suffix)), children && /*#__PURE__*/React__default["default"].createElement(StyledChildrenContainer, null, children))));
|
|
13754
13834
|
};
|
|
13755
13835
|
|
|
13756
|
-
var StyledPrefixContainer = index$
|
|
13836
|
+
var StyledPrefixContainer = index$b(reactNative.View)(function (_ref) {
|
|
13757
13837
|
var theme = _ref.theme;
|
|
13758
13838
|
return {
|
|
13759
13839
|
marginRight: theme.__hd__.list.space.prefixContainerMarginRight
|
|
13760
13840
|
};
|
|
13761
13841
|
});
|
|
13762
|
-
var StyledSuffixContainer = index$
|
|
13842
|
+
var StyledSuffixContainer = index$b(reactNative.View)(function (_ref2) {
|
|
13763
13843
|
var theme = _ref2.theme;
|
|
13764
13844
|
return {
|
|
13765
13845
|
marginLeft: theme.__hd__.list.space.suffixContainerMarginLeft
|
|
13766
13846
|
};
|
|
13767
13847
|
});
|
|
13768
|
-
var StyledTitleContainer = index$
|
|
13848
|
+
var StyledTitleContainer = index$b(reactNative.View)(function () {
|
|
13769
13849
|
return {
|
|
13770
13850
|
flex: 1
|
|
13771
13851
|
};
|
|
13772
13852
|
});
|
|
13773
|
-
var StyledListItemContainer = index$
|
|
13853
|
+
var StyledListItemContainer = index$b(reactNative.TouchableHighlight)(function (_ref3) {
|
|
13774
13854
|
var theme = _ref3.theme,
|
|
13775
13855
|
themeSelected = _ref3.themeSelected,
|
|
13776
13856
|
themeDisabled = _ref3.themeDisabled;
|
|
@@ -13824,17 +13904,244 @@ var List = {
|
|
|
13824
13904
|
BasicItem: BasicListItem
|
|
13825
13905
|
};
|
|
13826
13906
|
|
|
13827
|
-
var
|
|
13907
|
+
var windowHeight = reactNative.Dimensions.get('window').height;
|
|
13908
|
+
var defaultAnimationConfig = {
|
|
13909
|
+
easing: reactNative.Easing.inOut(reactNative.Easing.cubic),
|
|
13910
|
+
duration: 400,
|
|
13911
|
+
useNativeDriver: reactNative.Platform.OS !== 'web'
|
|
13912
|
+
};
|
|
13913
|
+
var ModalContentWrapper = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13914
|
+
var animationType = _ref.animationType,
|
|
13915
|
+
children = _ref.children,
|
|
13916
|
+
testID = _ref.testID,
|
|
13917
|
+
onShow = _ref.onShow,
|
|
13918
|
+
style = _ref.style,
|
|
13919
|
+
visible = _ref.visible,
|
|
13920
|
+
_ref$animated = _ref.animated,
|
|
13921
|
+
animated = _ref$animated === void 0 ? true : _ref$animated;
|
|
13922
|
+
var animatedValue = React__default["default"].useRef(new reactNative.Animated.Value(0)).current;
|
|
13923
|
+
var modalAnimation = animatedValue.interpolate(animationType === 'fade' ? {
|
|
13924
|
+
inputRange: [0, 1],
|
|
13925
|
+
outputRange: [0, 1]
|
|
13926
|
+
} : {
|
|
13927
|
+
inputRange: [0, 1],
|
|
13928
|
+
outputRange: [windowHeight, 0]
|
|
13929
|
+
});
|
|
13930
|
+
React__default["default"].useImperativeHandle(ref, function () {
|
|
13931
|
+
return {
|
|
13932
|
+
hide: function hide(callback) {
|
|
13933
|
+
reactNative.Animated.timing(animatedValue, _objectSpread2({
|
|
13934
|
+
toValue: 0
|
|
13935
|
+
}, defaultAnimationConfig)).start(callback);
|
|
13936
|
+
}
|
|
13937
|
+
};
|
|
13938
|
+
}, [animatedValue]);
|
|
13939
|
+
React__default["default"].useEffect(function () {
|
|
13940
|
+
// Hiding animation will be called from the modal component
|
|
13941
|
+
if (visible) {
|
|
13942
|
+
reactNative.Animated.timing(animatedValue, _objectSpread2(_objectSpread2({
|
|
13943
|
+
toValue: 1
|
|
13944
|
+
}, defaultAnimationConfig), {}, {
|
|
13945
|
+
// Prevent animation when updating the modal content
|
|
13946
|
+
duration: animated ? defaultAnimationConfig.duration : 0
|
|
13947
|
+
})).start(function () {
|
|
13948
|
+
onShow === null || onShow === void 0 ? void 0 : onShow();
|
|
13949
|
+
});
|
|
13950
|
+
}
|
|
13951
|
+
}, [visible, animatedValue, onShow, animated]);
|
|
13952
|
+
return /*#__PURE__*/React__default["default"].createElement(reactNative.Animated.View, {
|
|
13953
|
+
testID: testID,
|
|
13954
|
+
style: [style, _objectSpread2(_objectSpread2({}, animationType === 'fade' ? {
|
|
13955
|
+
opacity: modalAnimation
|
|
13956
|
+
} : {}), animationType === 'slide' ? {
|
|
13957
|
+
transform: [{
|
|
13958
|
+
translateY: modalAnimation
|
|
13959
|
+
}]
|
|
13960
|
+
} : {})]
|
|
13961
|
+
}, children);
|
|
13962
|
+
});
|
|
13963
|
+
ModalContentWrapper.displayName = 'ModalContentWrapper';
|
|
13964
|
+
|
|
13965
|
+
var ModalProvider = function ModalProvider(_ref) {
|
|
13966
|
+
var children = _ref.children;
|
|
13967
|
+
return /*#__PURE__*/React__default["default"].createElement(RootSiblings.RootSiblingParent, null, children);
|
|
13968
|
+
};
|
|
13969
|
+
|
|
13970
|
+
var _excluded$c = ["style", "children"];
|
|
13971
|
+
var ModalPresenter = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
|
|
13972
|
+
var style = _ref2.style,
|
|
13973
|
+
children = _ref2.children,
|
|
13974
|
+
props = _objectWithoutProperties(_ref2, _excluded$c);
|
|
13975
|
+
var animatedOpacity = React.useRef(new reactNative.Animated.Value(0));
|
|
13976
|
+
var theme = useTheme();
|
|
13977
|
+
React__default["default"].useEffect(function () {
|
|
13978
|
+
reactNative.Animated.spring(animatedOpacity.current, {
|
|
13979
|
+
toValue: 1,
|
|
13980
|
+
useNativeDriver: true
|
|
13981
|
+
}).start();
|
|
13982
|
+
}, []);
|
|
13983
|
+
React__default["default"].useImperativeHandle(ref, function () {
|
|
13984
|
+
return {
|
|
13985
|
+
animatedOut: function animatedOut(completion) {
|
|
13986
|
+
reactNative.Animated.spring(animatedOpacity.current, {
|
|
13987
|
+
toValue: 0,
|
|
13988
|
+
useNativeDriver: true
|
|
13989
|
+
}).start(function () {
|
|
13990
|
+
completion === null || completion === void 0 ? void 0 : completion();
|
|
13991
|
+
});
|
|
13992
|
+
}
|
|
13993
|
+
};
|
|
13994
|
+
});
|
|
13995
|
+
return /*#__PURE__*/React__default["default"].createElement(Box, {
|
|
13996
|
+
style: reactNative.StyleSheet.absoluteFill
|
|
13997
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactNative.Animated.View, _extends$1({
|
|
13998
|
+
style: [{
|
|
13999
|
+
width: '100%',
|
|
14000
|
+
height: '100%',
|
|
14001
|
+
backgroundColor: "".concat(theme.colors.overlayGlobalSurface, "66"),
|
|
14002
|
+
justifyContent: 'center',
|
|
14003
|
+
alignItems: 'center',
|
|
14004
|
+
opacity: animatedOpacity.current
|
|
14005
|
+
}, style]
|
|
14006
|
+
}, props), children));
|
|
14007
|
+
});
|
|
14008
|
+
/**
|
|
14009
|
+
* Present a modal on screen immediately.
|
|
14010
|
+
*
|
|
14011
|
+
* The new presented modal will be on top of existing modals if there are any.
|
|
14012
|
+
*
|
|
14013
|
+
* @param Content A component to be presented as a modal on screen.
|
|
14014
|
+
* This component will be centered horizontally and vertically on screen with
|
|
14015
|
+
* a semitransparent black overlay underneath.
|
|
14016
|
+
* @param contentProps Props for this modal component.
|
|
14017
|
+
* @returns A `ModalHandler` you can use to dismiss the modal.
|
|
14018
|
+
*/
|
|
14019
|
+
var showModal = function showModal(content) {
|
|
14020
|
+
var _ref3 = null;
|
|
14021
|
+
var rootSiblings = null;
|
|
14022
|
+
var dismiss = function dismiss(onDismiss) {
|
|
14023
|
+
if (rootSiblings) {
|
|
14024
|
+
var cleanup = function cleanup() {
|
|
14025
|
+
var _rootSiblings;
|
|
14026
|
+
(_rootSiblings = rootSiblings) === null || _rootSiblings === void 0 ? void 0 : _rootSiblings.destroy();
|
|
14027
|
+
rootSiblings = null;
|
|
14028
|
+
_ref3 = null;
|
|
14029
|
+
onDismiss === null || onDismiss === void 0 ? void 0 : onDismiss();
|
|
14030
|
+
};
|
|
14031
|
+
if (_ref3) {
|
|
14032
|
+
_ref3.animatedOut(cleanup);
|
|
14033
|
+
} else {
|
|
14034
|
+
cleanup();
|
|
14035
|
+
}
|
|
14036
|
+
}
|
|
14037
|
+
};
|
|
14038
|
+
var update = function update(newContent) {
|
|
14039
|
+
var _rootSiblings2;
|
|
14040
|
+
(_rootSiblings2 = rootSiblings) === null || _rootSiblings2 === void 0 ? void 0 : _rootSiblings2.update( /*#__PURE__*/React__default["default"].createElement(ModalPresenter, {
|
|
14041
|
+
ref: function ref(_ref) {
|
|
14042
|
+
_ref3 = _ref;
|
|
14043
|
+
}
|
|
14044
|
+
}, newContent));
|
|
14045
|
+
};
|
|
14046
|
+
rootSiblings = new RootSiblings__default["default"]( /*#__PURE__*/React__default["default"].createElement(ModalPresenter, {
|
|
14047
|
+
ref: function ref(_ref) {
|
|
14048
|
+
_ref3 = _ref;
|
|
14049
|
+
}
|
|
14050
|
+
}, content));
|
|
14051
|
+
return {
|
|
14052
|
+
dismiss: dismiss,
|
|
14053
|
+
update: update
|
|
14054
|
+
};
|
|
14055
|
+
};
|
|
14056
|
+
ModalPresenter.displayName = 'ModalPresenter';
|
|
14057
|
+
|
|
14058
|
+
var wrapperStyle = {
|
|
14059
|
+
width: reactNative.Dimensions.get('window').width,
|
|
14060
|
+
height: reactNative.Dimensions.get('window').height
|
|
14061
|
+
};
|
|
14062
|
+
var Modal = function Modal(_ref) {
|
|
14063
|
+
var children = _ref.children,
|
|
14064
|
+
onShow = _ref.onShow,
|
|
14065
|
+
onRequestClose = _ref.onRequestClose,
|
|
14066
|
+
testID = _ref.testID,
|
|
14067
|
+
_ref$visible = _ref.visible,
|
|
14068
|
+
visible = _ref$visible === void 0 ? true : _ref$visible,
|
|
14069
|
+
_ref$animationType = _ref.animationType,
|
|
14070
|
+
animationType = _ref$animationType === void 0 ? 'none' : _ref$animationType;
|
|
14071
|
+
var _React$useState = React__default["default"].useState(),
|
|
14072
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
14073
|
+
modalHandler = _React$useState2[0],
|
|
14074
|
+
setModalHandler = _React$useState2[1];
|
|
14075
|
+
var modalContentWrapperRef = React__default["default"].useRef(null);
|
|
14076
|
+
var getModalContent = React__default["default"].useCallback(function () {
|
|
14077
|
+
var isUpdate = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
14078
|
+
return animationType === 'none' ? /*#__PURE__*/React__default["default"].createElement(reactNative.View, {
|
|
14079
|
+
style: wrapperStyle,
|
|
14080
|
+
testID: testID
|
|
14081
|
+
}, children) : /*#__PURE__*/React__default["default"].createElement(ModalContentWrapper, {
|
|
14082
|
+
visible: visible,
|
|
14083
|
+
style: wrapperStyle,
|
|
14084
|
+
animationType: animationType,
|
|
14085
|
+
testID: testID,
|
|
14086
|
+
onShow: onShow,
|
|
14087
|
+
ref: modalContentWrapperRef,
|
|
14088
|
+
animated: !isUpdate
|
|
14089
|
+
}, children);
|
|
14090
|
+
}, [visible, children, onShow, testID, animationType]);
|
|
14091
|
+
React__default["default"].useEffect(function () {
|
|
14092
|
+
if (visible) {
|
|
14093
|
+
// Modal does not exist, create a new one
|
|
14094
|
+
if (!modalHandler) {
|
|
14095
|
+
var newModalHandler = showModal(getModalContent(false));
|
|
14096
|
+
setModalHandler(newModalHandler);
|
|
14097
|
+
// If animationType is slide for fade, onShow would be run after animation on ModalContentWrapper,
|
|
14098
|
+
// else run on this component.
|
|
14099
|
+
if (animationType === 'none') {
|
|
14100
|
+
onShow === null || onShow === void 0 ? void 0 : onShow();
|
|
14101
|
+
}
|
|
14102
|
+
}
|
|
14103
|
+
// Modal already exists, update it
|
|
14104
|
+
else {
|
|
14105
|
+
modalHandler.update(getModalContent(true));
|
|
14106
|
+
}
|
|
14107
|
+
} else if (animationType === 'none') {
|
|
14108
|
+
modalHandler === null || modalHandler === void 0 ? void 0 : modalHandler.dismiss();
|
|
14109
|
+
setModalHandler(undefined);
|
|
14110
|
+
} else {
|
|
14111
|
+
var _modalContentWrapperR;
|
|
14112
|
+
// Wait to finish animation before dismissing
|
|
14113
|
+
(_modalContentWrapperR = modalContentWrapperRef.current) === null || _modalContentWrapperR === void 0 ? void 0 : _modalContentWrapperR.hide(function () {
|
|
14114
|
+
modalHandler === null || modalHandler === void 0 ? void 0 : modalHandler.dismiss();
|
|
14115
|
+
setModalHandler(undefined);
|
|
14116
|
+
});
|
|
14117
|
+
}
|
|
14118
|
+
}, [getModalContent]);
|
|
14119
|
+
React__default["default"].useEffect(function () {
|
|
14120
|
+
var backHandler = reactNative.BackHandler.addEventListener('hardwareBackPress', function () {
|
|
14121
|
+
onRequestClose === null || onRequestClose === void 0 ? void 0 : onRequestClose();
|
|
14122
|
+
return true;
|
|
14123
|
+
});
|
|
14124
|
+
return function () {
|
|
14125
|
+
return backHandler.remove();
|
|
14126
|
+
};
|
|
14127
|
+
}, [onRequestClose]);
|
|
14128
|
+
return null;
|
|
14129
|
+
};
|
|
14130
|
+
var index$6 = Object.assign(Modal, {
|
|
14131
|
+
Provider: ModalProvider
|
|
14132
|
+
});
|
|
14133
|
+
|
|
14134
|
+
var StyledWrapper$5 = index$b(reactNative.View)(function () {
|
|
13828
14135
|
return {
|
|
13829
14136
|
alignContent: 'flex-start'
|
|
13830
14137
|
};
|
|
13831
14138
|
});
|
|
13832
|
-
var StyledPinWrapper = index$
|
|
14139
|
+
var StyledPinWrapper = index$b(reactNative.View)(function () {
|
|
13833
14140
|
return {
|
|
13834
14141
|
flexDirection: 'row'
|
|
13835
14142
|
};
|
|
13836
14143
|
});
|
|
13837
|
-
var StyledCell = index$
|
|
14144
|
+
var StyledCell = index$b(reactNative.View)(function (_ref) {
|
|
13838
14145
|
var theme = _ref.theme,
|
|
13839
14146
|
themeFocused = _ref.themeFocused,
|
|
13840
14147
|
themeState = _ref.themeState;
|
|
@@ -13848,20 +14155,20 @@ var StyledCell = index$a(reactNative.View)(function (_ref) {
|
|
|
13848
14155
|
borderColor: theme.__hd__.pinInput.colors[themeState]
|
|
13849
14156
|
};
|
|
13850
14157
|
});
|
|
13851
|
-
var StyledCellText = index$
|
|
14158
|
+
var StyledCellText = index$b(Typography.Title)(function (_ref2) {
|
|
13852
14159
|
var theme = _ref2.theme,
|
|
13853
14160
|
themeState = _ref2.themeState;
|
|
13854
14161
|
return {
|
|
13855
14162
|
color: theme.__hd__.pinInput.colors[themeState]
|
|
13856
14163
|
};
|
|
13857
14164
|
});
|
|
13858
|
-
var StyledSpacer = index$
|
|
14165
|
+
var StyledSpacer = index$b(reactNative.View)(function (_ref3) {
|
|
13859
14166
|
var theme = _ref3.theme;
|
|
13860
14167
|
return {
|
|
13861
14168
|
marginLeft: theme.__hd__.pinInput.space.spacer
|
|
13862
14169
|
};
|
|
13863
14170
|
});
|
|
13864
|
-
var StyledMask = index$
|
|
14171
|
+
var StyledMask = index$b(reactNative.View)(function (_ref4) {
|
|
13865
14172
|
var theme = _ref4.theme,
|
|
13866
14173
|
themeState = _ref4.themeState;
|
|
13867
14174
|
return {
|
|
@@ -13872,7 +14179,7 @@ var StyledMask = index$a(reactNative.View)(function (_ref4) {
|
|
|
13872
14179
|
borderColor: theme.__hd__.pinInput.colors[themeState]
|
|
13873
14180
|
};
|
|
13874
14181
|
});
|
|
13875
|
-
var StyledFilledMask = index$
|
|
14182
|
+
var StyledFilledMask = index$b(reactNative.View)(function (_ref5) {
|
|
13876
14183
|
var theme = _ref5.theme,
|
|
13877
14184
|
themeState = _ref5.themeState;
|
|
13878
14185
|
return {
|
|
@@ -13884,7 +14191,7 @@ var StyledFilledMask = index$a(reactNative.View)(function (_ref5) {
|
|
|
13884
14191
|
backgroundColor: theme.__hd__.pinInput.colors[themeState]
|
|
13885
14192
|
};
|
|
13886
14193
|
});
|
|
13887
|
-
var StyledHiddenInput = index$
|
|
14194
|
+
var StyledHiddenInput = index$b(reactNative.TextInput)(function (_ref6) {
|
|
13888
14195
|
var themePinLength = _ref6.themePinLength,
|
|
13889
14196
|
theme = _ref6.theme;
|
|
13890
14197
|
var cellWidth = theme.__hd__.pinInput.sizes.cellWidth;
|
|
@@ -13898,7 +14205,7 @@ var StyledHiddenInput = index$a(reactNative.TextInput)(function (_ref6) {
|
|
|
13898
14205
|
height: '100%'
|
|
13899
14206
|
};
|
|
13900
14207
|
});
|
|
13901
|
-
var StyledErrorContainer = index$
|
|
14208
|
+
var StyledErrorContainer = index$b(reactNative.View)(function (_ref7) {
|
|
13902
14209
|
var theme = _ref7.theme;
|
|
13903
14210
|
return {
|
|
13904
14211
|
flexDirection: 'row',
|
|
@@ -13906,7 +14213,7 @@ var StyledErrorContainer = index$a(reactNative.View)(function (_ref7) {
|
|
|
13906
14213
|
alignItems: 'center'
|
|
13907
14214
|
};
|
|
13908
14215
|
});
|
|
13909
|
-
var StyledErrorMessage = index$
|
|
14216
|
+
var StyledErrorMessage = index$b(Typography.Caption)(function (_ref8) {
|
|
13910
14217
|
var theme = _ref8.theme;
|
|
13911
14218
|
return {
|
|
13912
14219
|
color: theme.__hd__.pinInput.colors.error,
|
|
@@ -14039,6 +14346,7 @@ var PinInput = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
|
|
|
14039
14346
|
testID: "pin-hidden-input"
|
|
14040
14347
|
}));
|
|
14041
14348
|
});
|
|
14349
|
+
PinInput.displayName = 'PinInput';
|
|
14042
14350
|
|
|
14043
14351
|
var THEME_INTENT_MAP = {
|
|
14044
14352
|
primary: 'primary',
|
|
@@ -14055,14 +14363,14 @@ var THEME_INTENT_MAP = {
|
|
|
14055
14363
|
'archived-inverted': 'archivedInverted'
|
|
14056
14364
|
};
|
|
14057
14365
|
|
|
14058
|
-
var StyledContainer$1 = index$
|
|
14366
|
+
var StyledContainer$1 = index$b(reactNative.View)(function (_ref) {
|
|
14059
14367
|
var theme = _ref.theme;
|
|
14060
14368
|
return {
|
|
14061
14369
|
flexDirection: 'row',
|
|
14062
14370
|
borderRadius: theme.__hd__.progress.radii["default"]
|
|
14063
14371
|
};
|
|
14064
14372
|
});
|
|
14065
|
-
var StyledHalfCircleWrapper = index$
|
|
14373
|
+
var StyledHalfCircleWrapper = index$b(reactNative.View)(function (_ref2) {
|
|
14066
14374
|
var theme = _ref2.theme;
|
|
14067
14375
|
return {
|
|
14068
14376
|
width: theme.__hd__.progress.sizes.circleDiameter / 2,
|
|
@@ -14070,7 +14378,7 @@ var StyledHalfCircleWrapper = index$a(reactNative.View)(function (_ref2) {
|
|
|
14070
14378
|
overflow: 'hidden'
|
|
14071
14379
|
};
|
|
14072
14380
|
});
|
|
14073
|
-
var StyledHalfCircleInnerFG = index$
|
|
14381
|
+
var StyledHalfCircleInnerFG = index$b(reactNative.View)(function (_ref3) {
|
|
14074
14382
|
var theme = _ref3.theme,
|
|
14075
14383
|
themeIntent = _ref3.themeIntent;
|
|
14076
14384
|
return {
|
|
@@ -14081,7 +14389,7 @@ var StyledHalfCircleInnerFG = index$a(reactNative.View)(function (_ref3) {
|
|
|
14081
14389
|
borderWidth: theme.__hd__.progress.sizes.circleCompletenessHeight
|
|
14082
14390
|
};
|
|
14083
14391
|
});
|
|
14084
|
-
var StyledHalfCircleInnerBG = index$
|
|
14392
|
+
var StyledHalfCircleInnerBG = index$b(reactNative.View)(function (_ref4) {
|
|
14085
14393
|
var theme = _ref4.theme,
|
|
14086
14394
|
themeIntent = _ref4.themeIntent;
|
|
14087
14395
|
return {
|
|
@@ -14092,7 +14400,7 @@ var StyledHalfCircleInnerBG = index$a(reactNative.View)(function (_ref4) {
|
|
|
14092
14400
|
borderColor: theme.__hd__.progress.colors.incompleteness[THEME_INTENT_MAP[themeIntent]]
|
|
14093
14401
|
};
|
|
14094
14402
|
});
|
|
14095
|
-
var StyledDonutCircle = index$
|
|
14403
|
+
var StyledDonutCircle = index$b(reactNative.View)(function (_ref5) {
|
|
14096
14404
|
var theme = _ref5.theme;
|
|
14097
14405
|
return {
|
|
14098
14406
|
position: 'absolute',
|
|
@@ -14106,7 +14414,7 @@ var StyledDonutCircle = index$a(reactNative.View)(function (_ref5) {
|
|
|
14106
14414
|
justifyContent: 'center'
|
|
14107
14415
|
};
|
|
14108
14416
|
});
|
|
14109
|
-
var StyledStrokeEnd = index$
|
|
14417
|
+
var StyledStrokeEnd = index$b(reactNative.View)(function (_ref6) {
|
|
14110
14418
|
var theme = _ref6.theme,
|
|
14111
14419
|
themeIntent = _ref6.themeIntent;
|
|
14112
14420
|
return {
|
|
@@ -14237,7 +14545,7 @@ var ProgressCircle = function ProgressCircle(_ref2) {
|
|
|
14237
14545
|
})), /*#__PURE__*/React__default["default"].createElement(StyledDonutCircle, null, /*#__PURE__*/React__default["default"].createElement(Typography.Body, null, renderValue(value)))));
|
|
14238
14546
|
};
|
|
14239
14547
|
|
|
14240
|
-
var StyledWrapper$4 = index$
|
|
14548
|
+
var StyledWrapper$4 = index$b(reactNative.View)(function (_ref) {
|
|
14241
14549
|
var theme = _ref.theme,
|
|
14242
14550
|
themeIntent = _ref.themeIntent;
|
|
14243
14551
|
return {
|
|
@@ -14247,7 +14555,7 @@ var StyledWrapper$4 = index$a(reactNative.View)(function (_ref) {
|
|
|
14247
14555
|
overflow: 'hidden'
|
|
14248
14556
|
};
|
|
14249
14557
|
});
|
|
14250
|
-
var StyledInner = index$
|
|
14558
|
+
var StyledInner = index$b(reactNative.Animated.View)(function (_ref2) {
|
|
14251
14559
|
var theme = _ref2.theme,
|
|
14252
14560
|
themeIntent = _ref2.themeIntent;
|
|
14253
14561
|
return {
|
|
@@ -14349,13 +14657,13 @@ var Slider = function Slider(_ref) {
|
|
|
14349
14657
|
});
|
|
14350
14658
|
};
|
|
14351
14659
|
|
|
14352
|
-
var StyledView$1 = index$
|
|
14353
|
-
var StyledSpinnerContainer = index$
|
|
14660
|
+
var StyledView$1 = index$b(reactNative.View)();
|
|
14661
|
+
var StyledSpinnerContainer = index$b(reactNative.View)({
|
|
14354
14662
|
height: '100%',
|
|
14355
14663
|
justifyContent: 'center',
|
|
14356
14664
|
alignItems: 'center'
|
|
14357
14665
|
});
|
|
14358
|
-
var StyledSpinnerRow = index$
|
|
14666
|
+
var StyledSpinnerRow = index$b(reactNative.View)(function (_ref) {
|
|
14359
14667
|
var themePosition = _ref.themePosition,
|
|
14360
14668
|
_ref$themeSize = _ref.themeSize,
|
|
14361
14669
|
themeSize = _ref$themeSize === void 0 ? 'medium' : _ref$themeSize,
|
|
@@ -14365,7 +14673,7 @@ var StyledSpinnerRow = index$a(reactNative.View)(function (_ref) {
|
|
|
14365
14673
|
marginBottom: themePosition === 'top' ? theme.__hd__.spinner.space.spinnerDotPadding[themeSize] : 0
|
|
14366
14674
|
};
|
|
14367
14675
|
});
|
|
14368
|
-
var StyledSpinnerDot = index$
|
|
14676
|
+
var StyledSpinnerDot = index$b(reactNative.View)(function (_ref2) {
|
|
14369
14677
|
var themePosition = _ref2.themePosition,
|
|
14370
14678
|
themeSize = _ref2.themeSize,
|
|
14371
14679
|
themeIntent = _ref2.themeIntent,
|
|
@@ -14471,7 +14779,7 @@ var Spinner = function Spinner(_ref) {
|
|
|
14471
14779
|
})));
|
|
14472
14780
|
};
|
|
14473
14781
|
|
|
14474
|
-
var StyledRectButton = index$
|
|
14782
|
+
var StyledRectButton = index$b(reactNative.TouchableOpacity)(function (_ref) {
|
|
14475
14783
|
var theme = _ref.theme,
|
|
14476
14784
|
themeIntent = _ref.themeIntent;
|
|
14477
14785
|
return {
|
|
@@ -14567,7 +14875,7 @@ var index$5 = Object.assign(Swipeable, {
|
|
|
14567
14875
|
Content: reactNativeGestureHandler.RectButton
|
|
14568
14876
|
});
|
|
14569
14877
|
|
|
14570
|
-
var Circle = index$
|
|
14878
|
+
var Circle = index$b(reactNative.View)(function (_ref) {
|
|
14571
14879
|
var theme = _ref.theme;
|
|
14572
14880
|
return {
|
|
14573
14881
|
height: theme.__hd__.radio.sizes.circle,
|
|
@@ -14579,7 +14887,7 @@ var Circle = index$a(reactNative.View)(function (_ref) {
|
|
|
14579
14887
|
justifyContent: 'center'
|
|
14580
14888
|
};
|
|
14581
14889
|
});
|
|
14582
|
-
var InnerCircle = index$
|
|
14890
|
+
var InnerCircle = index$b(reactNative.View)(function (_ref2) {
|
|
14583
14891
|
var theme = _ref2.theme;
|
|
14584
14892
|
return {
|
|
14585
14893
|
height: theme.__hd__.radio.sizes.innerCircle,
|
|
@@ -14588,7 +14896,7 @@ var InnerCircle = index$a(reactNative.View)(function (_ref2) {
|
|
|
14588
14896
|
backgroundColor: theme.__hd__.radio.colors.circle
|
|
14589
14897
|
};
|
|
14590
14898
|
});
|
|
14591
|
-
var Spacer = index$
|
|
14899
|
+
var Spacer = index$b(reactNative.View)(function (_ref3) {
|
|
14592
14900
|
var theme = _ref3.theme;
|
|
14593
14901
|
return {
|
|
14594
14902
|
marginTop: theme.__hd__.radio.space.groupTopMargin
|
|
@@ -14660,7 +14968,7 @@ var CompoundRadio = {
|
|
|
14660
14968
|
Group: RadioGroup
|
|
14661
14969
|
};
|
|
14662
14970
|
|
|
14663
|
-
var StyledHeading = index$
|
|
14971
|
+
var StyledHeading = index$b(reactNative.View)(function (_ref) {
|
|
14664
14972
|
var theme = _ref.theme;
|
|
14665
14973
|
return {
|
|
14666
14974
|
paddingVertical: theme.__hd__.sectionHeading.space.headingVerticalPadding,
|
|
@@ -14673,13 +14981,13 @@ var StyledHeading = index$a(reactNative.View)(function (_ref) {
|
|
|
14673
14981
|
justifyContent: 'space-between'
|
|
14674
14982
|
};
|
|
14675
14983
|
});
|
|
14676
|
-
var StyledIconWrapper$2 = index$
|
|
14984
|
+
var StyledIconWrapper$2 = index$b(reactNative.View)(function (_ref2) {
|
|
14677
14985
|
var theme = _ref2.theme;
|
|
14678
14986
|
return {
|
|
14679
14987
|
marginRight: theme.__hd__.sectionHeading.space.iconMarginRight
|
|
14680
14988
|
};
|
|
14681
14989
|
});
|
|
14682
|
-
var StyledWrapper$3 = index$
|
|
14990
|
+
var StyledWrapper$3 = index$b(reactNative.View)(function () {
|
|
14683
14991
|
return {
|
|
14684
14992
|
display: 'flex',
|
|
14685
14993
|
flexDirection: 'row'
|
|
@@ -14798,19 +15106,19 @@ var useKeyboard = function useKeyboard() {
|
|
|
14798
15106
|
};
|
|
14799
15107
|
};
|
|
14800
15108
|
|
|
14801
|
-
var SectionSpacer = index$
|
|
15109
|
+
var SectionSpacer = index$b(reactNative.View)(function (_ref) {
|
|
14802
15110
|
var theme = _ref.theme;
|
|
14803
15111
|
return {
|
|
14804
15112
|
marginTop: theme.__hd__.select.space.sectionSpacing
|
|
14805
15113
|
};
|
|
14806
15114
|
});
|
|
14807
|
-
var OptionSpacer = index$
|
|
15115
|
+
var OptionSpacer = index$b(reactNative.View)(function (_ref2) {
|
|
14808
15116
|
var theme = _ref2.theme;
|
|
14809
15117
|
return {
|
|
14810
15118
|
marginTop: theme.__hd__.select.space.optionSpacing
|
|
14811
15119
|
};
|
|
14812
15120
|
});
|
|
14813
|
-
var StyledSearchBar = index$
|
|
15121
|
+
var StyledSearchBar = index$b(reactNative.View)(function (_ref3) {
|
|
14814
15122
|
var theme = _ref3.theme;
|
|
14815
15123
|
return {
|
|
14816
15124
|
marginTop: theme.__hd__.select.space.searchBarMarginTopSpacing,
|
|
@@ -14818,7 +15126,7 @@ var StyledSearchBar = index$a(reactNative.View)(function (_ref3) {
|
|
|
14818
15126
|
paddingBottom: theme.__hd__.select.space.searchBarBottomSpacing
|
|
14819
15127
|
};
|
|
14820
15128
|
});
|
|
14821
|
-
var StyledSectionList = index$
|
|
15129
|
+
var StyledSectionList = index$b(reactNative.SectionList)(function (_ref4) {
|
|
14822
15130
|
var theme = _ref4.theme;
|
|
14823
15131
|
return {
|
|
14824
15132
|
paddingHorizontal: theme.__hd__.select.space.optionListHorizontalPadding
|
|
@@ -15096,7 +15404,7 @@ var Option$1 = function Option(_ref) {
|
|
|
15096
15404
|
return highlighted === true ? /*#__PURE__*/React__default["default"].createElement(List.Item, props) : /*#__PURE__*/React__default["default"].createElement(List.BasicItem, props);
|
|
15097
15405
|
};
|
|
15098
15406
|
|
|
15099
|
-
var StyledOptionList = index$
|
|
15407
|
+
var StyledOptionList = index$b(BaseOptionList)(function (_ref) {
|
|
15100
15408
|
var theme = _ref.theme;
|
|
15101
15409
|
return {
|
|
15102
15410
|
paddingBottom: theme.__hd__.select.space.singleSelectContentPaddingBottom
|
|
@@ -15261,7 +15569,7 @@ var index$4 = Object.assign(SingleSelect, {
|
|
|
15261
15569
|
Multi: MultiSelect
|
|
15262
15570
|
});
|
|
15263
15571
|
|
|
15264
|
-
var StyledContainer = index$
|
|
15572
|
+
var StyledContainer = index$b(Box)(function (_ref) {
|
|
15265
15573
|
var theme = _ref.theme,
|
|
15266
15574
|
themeIntent = _ref.themeIntent,
|
|
15267
15575
|
themeVariant = _ref.themeVariant;
|
|
@@ -15270,7 +15578,7 @@ var StyledContainer = index$a(Box)(function (_ref) {
|
|
|
15270
15578
|
borderRadius: theme.__hd__.skeleton.radii[themeVariant]
|
|
15271
15579
|
};
|
|
15272
15580
|
});
|
|
15273
|
-
var StyledGradientContainer = index$
|
|
15581
|
+
var StyledGradientContainer = index$b(Box)(function (_ref2) {
|
|
15274
15582
|
var theme = _ref2.theme,
|
|
15275
15583
|
themeVariant = _ref2.themeVariant;
|
|
15276
15584
|
return {
|
|
@@ -15368,7 +15676,7 @@ var Skeleton = function Skeleton(_ref) {
|
|
|
15368
15676
|
})));
|
|
15369
15677
|
};
|
|
15370
15678
|
|
|
15371
|
-
var StyledSuccessContainer = index$
|
|
15679
|
+
var StyledSuccessContainer = index$b(reactNative.View)(function (_ref) {
|
|
15372
15680
|
var theme = _ref.theme,
|
|
15373
15681
|
themeVariant = _ref.themeVariant;
|
|
15374
15682
|
return {
|
|
@@ -15378,7 +15686,7 @@ var StyledSuccessContainer = index$a(reactNative.View)(function (_ref) {
|
|
|
15378
15686
|
backgroundColor: themeVariant === 'in-page' ? theme.__hd__.success.colors.inPageBackground : theme.__hd__.success.colors.fullScreenBackground
|
|
15379
15687
|
};
|
|
15380
15688
|
});
|
|
15381
|
-
var StyledSuccessImage = index$
|
|
15689
|
+
var StyledSuccessImage = index$b(Image)(function (_ref2) {
|
|
15382
15690
|
var theme = _ref2.theme;
|
|
15383
15691
|
return {
|
|
15384
15692
|
marginBottom: theme.__hd__.success.space.imageMarginBottom,
|
|
@@ -15387,7 +15695,7 @@ var StyledSuccessImage = index$a(Image)(function (_ref2) {
|
|
|
15387
15695
|
resizeMode: 'contain'
|
|
15388
15696
|
};
|
|
15389
15697
|
});
|
|
15390
|
-
var StyledSuccessContent = index$
|
|
15698
|
+
var StyledSuccessContent = index$b(reactNative.View)(function (_ref3) {
|
|
15391
15699
|
var theme = _ref3.theme;
|
|
15392
15700
|
return {
|
|
15393
15701
|
display: 'flex',
|
|
@@ -15398,7 +15706,7 @@ var StyledSuccessContent = index$a(reactNative.View)(function (_ref3) {
|
|
|
15398
15706
|
padding: theme.__hd__.success.space.wrapperPadding
|
|
15399
15707
|
};
|
|
15400
15708
|
});
|
|
15401
|
-
var StyledSuccessImageContainer = index$
|
|
15709
|
+
var StyledSuccessImageContainer = index$b(reactNative.View)(function (_ref4) {
|
|
15402
15710
|
var theme = _ref4.theme;
|
|
15403
15711
|
return {
|
|
15404
15712
|
marginBottom: theme.__hd__.success.space.imageMarginBottom,
|
|
@@ -15406,7 +15714,7 @@ var StyledSuccessImageContainer = index$a(reactNative.View)(function (_ref4) {
|
|
|
15406
15714
|
height: theme.__hd__.success.sizes.image
|
|
15407
15715
|
};
|
|
15408
15716
|
});
|
|
15409
|
-
var StyledSuccessTitle = index$
|
|
15717
|
+
var StyledSuccessTitle = index$b(Typography.Title)(function (_ref5) {
|
|
15410
15718
|
var theme = _ref5.theme;
|
|
15411
15719
|
return {
|
|
15412
15720
|
textAlign: 'center',
|
|
@@ -15414,14 +15722,14 @@ var StyledSuccessTitle = index$a(Typography.Title)(function (_ref5) {
|
|
|
15414
15722
|
color: theme.__hd__.success.colors.title
|
|
15415
15723
|
};
|
|
15416
15724
|
});
|
|
15417
|
-
var StyledSuccessDescription = index$
|
|
15725
|
+
var StyledSuccessDescription = index$b(Typography.Body)(function (_ref6) {
|
|
15418
15726
|
var theme = _ref6.theme;
|
|
15419
15727
|
return {
|
|
15420
15728
|
textAlign: 'center',
|
|
15421
15729
|
color: theme.__hd__.success.colors.description
|
|
15422
15730
|
};
|
|
15423
15731
|
});
|
|
15424
|
-
var StyledSuccessButtonContainer = index$
|
|
15732
|
+
var StyledSuccessButtonContainer = index$b(reactNative.View)(function (_ref7) {
|
|
15425
15733
|
var theme = _ref7.theme;
|
|
15426
15734
|
return {
|
|
15427
15735
|
display: 'flex',
|
|
@@ -15432,13 +15740,13 @@ var StyledSuccessButtonContainer = index$a(reactNative.View)(function (_ref7) {
|
|
|
15432
15740
|
paddingVertical: theme.__hd__.success.space.button.wrapperVerticalPadding
|
|
15433
15741
|
};
|
|
15434
15742
|
});
|
|
15435
|
-
var StyledSuccessButtonPrimary = index$
|
|
15743
|
+
var StyledSuccessButtonPrimary = index$b(CompoundButton)(function (_ref8) {
|
|
15436
15744
|
var theme = _ref8.theme;
|
|
15437
15745
|
return {
|
|
15438
15746
|
padding: theme.__hd__.success.space.button.padding
|
|
15439
15747
|
};
|
|
15440
15748
|
});
|
|
15441
|
-
var StyledSuccessModal = index$
|
|
15749
|
+
var StyledSuccessModal = index$b(reactNative.Modal)({
|
|
15442
15750
|
height: '100%',
|
|
15443
15751
|
width: '100%'
|
|
15444
15752
|
});
|
|
@@ -15503,7 +15811,7 @@ var Success = function Success(props) {
|
|
|
15503
15811
|
};
|
|
15504
15812
|
|
|
15505
15813
|
var AnimatedView = reactNative.Animated.createAnimatedComponent(reactNative.View);
|
|
15506
|
-
var StyledWrapper$2 = index$
|
|
15814
|
+
var StyledWrapper$2 = index$b(reactNative.View)(function (_ref) {
|
|
15507
15815
|
var theme = _ref.theme;
|
|
15508
15816
|
return {
|
|
15509
15817
|
flexDirection: 'row',
|
|
@@ -15515,7 +15823,7 @@ var StyledWrapper$2 = index$a(reactNative.View)(function (_ref) {
|
|
|
15515
15823
|
position: 'relative'
|
|
15516
15824
|
};
|
|
15517
15825
|
});
|
|
15518
|
-
var StyledTextWrapper = index$
|
|
15826
|
+
var StyledTextWrapper = index$b(AnimatedView)(function (_ref2) {
|
|
15519
15827
|
var theme = _ref2.theme;
|
|
15520
15828
|
return {
|
|
15521
15829
|
flex: 1,
|
|
@@ -15525,7 +15833,7 @@ var StyledTextWrapper = index$a(AnimatedView)(function (_ref2) {
|
|
|
15525
15833
|
zIndex: 1
|
|
15526
15834
|
};
|
|
15527
15835
|
});
|
|
15528
|
-
var StyledIconWrapper$1 = index$
|
|
15836
|
+
var StyledIconWrapper$1 = index$b(AnimatedView)(function (_ref3) {
|
|
15529
15837
|
var theme = _ref3.theme;
|
|
15530
15838
|
return {
|
|
15531
15839
|
paddingHorizontal: theme.__hd__["switch"].spaces.selector.iconPadding,
|
|
@@ -15534,7 +15842,7 @@ var StyledIconWrapper$1 = index$a(AnimatedView)(function (_ref3) {
|
|
|
15534
15842
|
zIndex: 1
|
|
15535
15843
|
};
|
|
15536
15844
|
});
|
|
15537
|
-
var StyledKnot$1 = index$
|
|
15845
|
+
var StyledKnot$1 = index$b(AnimatedView)(function (_ref4) {
|
|
15538
15846
|
var theme = _ref4.theme;
|
|
15539
15847
|
return {
|
|
15540
15848
|
borderRadius: theme.__hd__["switch"].radii.selector["default"],
|
|
@@ -15679,7 +15987,7 @@ var SelectorSwitch = function SelectorSwitch(_ref) {
|
|
|
15679
15987
|
})));
|
|
15680
15988
|
};
|
|
15681
15989
|
|
|
15682
|
-
var StyledWrapper$1 = index$
|
|
15990
|
+
var StyledWrapper$1 = index$b(reactNative.View)(function (_ref) {
|
|
15683
15991
|
var theme = _ref.theme,
|
|
15684
15992
|
themeVariant = _ref.themeVariant;
|
|
15685
15993
|
return {
|
|
@@ -15692,7 +16000,7 @@ var StyledWrapper$1 = index$a(reactNative.View)(function (_ref) {
|
|
|
15692
16000
|
justifyContent: 'center'
|
|
15693
16001
|
};
|
|
15694
16002
|
});
|
|
15695
|
-
var StyledKnot = index$
|
|
16003
|
+
var StyledKnot = index$b(reactNative.Animated.View)(function (_ref2) {
|
|
15696
16004
|
var theme = _ref2.theme;
|
|
15697
16005
|
return {
|
|
15698
16006
|
width: theme.__hd__["switch"].sizes.thumb,
|
|
@@ -15755,11 +16063,11 @@ var index$3 = Object.assign(Switch, {
|
|
|
15755
16063
|
});
|
|
15756
16064
|
|
|
15757
16065
|
var AnimatedPagerView = reactNative.Animated.createAnimatedComponent(PagerView__default["default"]);
|
|
15758
|
-
var TabContainer$1 = index$
|
|
16066
|
+
var TabContainer$1 = index$b(reactNative.View)({
|
|
15759
16067
|
flex: 1,
|
|
15760
16068
|
overflow: 'hidden'
|
|
15761
16069
|
});
|
|
15762
|
-
var HeaderTabWrapper$1 = index$
|
|
16070
|
+
var HeaderTabWrapper$1 = index$b(reactNative.View)(function (_ref) {
|
|
15763
16071
|
var theme = _ref.theme,
|
|
15764
16072
|
themeInsets = _ref.themeInsets;
|
|
15765
16073
|
return {
|
|
@@ -15768,10 +16076,10 @@ var HeaderTabWrapper$1 = index$a(reactNative.View)(function (_ref) {
|
|
|
15768
16076
|
borderBottomWidth: theme.__hd__.tabs.borderWidths.headerBottom
|
|
15769
16077
|
};
|
|
15770
16078
|
});
|
|
15771
|
-
var HeaderTab = index$
|
|
16079
|
+
var HeaderTab = index$b(reactNative.View)({
|
|
15772
16080
|
flexDirection: 'row'
|
|
15773
16081
|
});
|
|
15774
|
-
var HeaderTabItem$1 = index$
|
|
16082
|
+
var HeaderTabItem$1 = index$b(reactNative.View)(function (_ref2) {
|
|
15775
16083
|
var theme = _ref2.theme;
|
|
15776
16084
|
return {
|
|
15777
16085
|
flex: 1,
|
|
@@ -15779,13 +16087,13 @@ var HeaderTabItem$1 = index$a(reactNative.View)(function (_ref2) {
|
|
|
15779
16087
|
paddingVertical: theme.__hd__.tabs.space.itemVerticalPadding
|
|
15780
16088
|
};
|
|
15781
16089
|
});
|
|
15782
|
-
var ContentWrapper$1 = index$
|
|
16090
|
+
var ContentWrapper$1 = index$b(AnimatedPagerView)({
|
|
15783
16091
|
flex: 1
|
|
15784
16092
|
});
|
|
15785
|
-
index$
|
|
16093
|
+
index$b(reactNative.View)({
|
|
15786
16094
|
flex: 1
|
|
15787
16095
|
});
|
|
15788
|
-
var StyledIndicator = index$
|
|
16096
|
+
var StyledIndicator = index$b(reactNative.Animated.View)(function (_ref3) {
|
|
15789
16097
|
var theme = _ref3.theme,
|
|
15790
16098
|
themeWidth = _ref3.themeWidth;
|
|
15791
16099
|
return {
|
|
@@ -15796,7 +16104,7 @@ var StyledIndicator = index$a(reactNative.Animated.View)(function (_ref3) {
|
|
|
15796
16104
|
bottom: 0
|
|
15797
16105
|
};
|
|
15798
16106
|
});
|
|
15799
|
-
var StyledBadgeWrapper = index$
|
|
16107
|
+
var StyledBadgeWrapper = index$b(reactNative.View)({
|
|
15800
16108
|
flexDirection: 'row',
|
|
15801
16109
|
alignItems: 'center'
|
|
15802
16110
|
});
|
|
@@ -15822,17 +16130,17 @@ var ActiveTabIndicator = function ActiveTabIndicator(_ref) {
|
|
|
15822
16130
|
});
|
|
15823
16131
|
};
|
|
15824
16132
|
|
|
15825
|
-
var TabScreen = index$
|
|
16133
|
+
var TabScreen = index$b(reactNative.View)({
|
|
15826
16134
|
flex: 1
|
|
15827
16135
|
});
|
|
15828
|
-
var TabContainer = index$
|
|
16136
|
+
var TabContainer = index$b(reactNative.View)({
|
|
15829
16137
|
flex: 1,
|
|
15830
16138
|
overflow: 'hidden'
|
|
15831
16139
|
});
|
|
15832
|
-
var ContentWrapper = index$
|
|
16140
|
+
var ContentWrapper = index$b(PagerView__default["default"])({
|
|
15833
16141
|
flex: 1
|
|
15834
16142
|
});
|
|
15835
|
-
var HeaderTabWrapper = index$
|
|
16143
|
+
var HeaderTabWrapper = index$b(reactNative.View)(function (_ref) {
|
|
15836
16144
|
var theme = _ref.theme,
|
|
15837
16145
|
themeInsets = _ref.themeInsets;
|
|
15838
16146
|
return {
|
|
@@ -15841,7 +16149,7 @@ var HeaderTabWrapper = index$a(reactNative.View)(function (_ref) {
|
|
|
15841
16149
|
borderBottomWidth: theme.__hd__.tabs.borderWidths.headerBottom
|
|
15842
16150
|
};
|
|
15843
16151
|
});
|
|
15844
|
-
var HeaderTabItem = index$
|
|
16152
|
+
var HeaderTabItem = index$b(reactNative.Animated.View)(function (_ref2) {
|
|
15845
16153
|
var theme = _ref2.theme,
|
|
15846
16154
|
isFirstItem = _ref2.isFirstItem;
|
|
15847
16155
|
return {
|
|
@@ -15849,13 +16157,13 @@ var HeaderTabItem = index$a(reactNative.Animated.View)(function (_ref2) {
|
|
|
15849
16157
|
paddingVertical: theme.__hd__.tabs.space.itemVerticalPadding
|
|
15850
16158
|
};
|
|
15851
16159
|
});
|
|
15852
|
-
var HeaderTabItemOutlineWrapper = index$
|
|
16160
|
+
var HeaderTabItemOutlineWrapper = index$b(reactNative.View)(function (_ref3) {
|
|
15853
16161
|
var theme = _ref3.theme;
|
|
15854
16162
|
return _objectSpread2({
|
|
15855
16163
|
paddingVertical: theme.__hd__.tabs.space.itemVerticalPadding
|
|
15856
16164
|
}, reactNative.StyleSheet.absoluteFillObject);
|
|
15857
16165
|
});
|
|
15858
|
-
var HeaderTabItemOutline = index$
|
|
16166
|
+
var HeaderTabItemOutline = index$b(reactNative.Animated.View)(function (_ref4) {
|
|
15859
16167
|
var theme = _ref4.theme,
|
|
15860
16168
|
themeActive = _ref4.themeActive;
|
|
15861
16169
|
return {
|
|
@@ -15863,7 +16171,7 @@ var HeaderTabItemOutline = index$a(reactNative.Animated.View)(function (_ref4) {
|
|
|
15863
16171
|
backgroundColor: themeActive ? theme.__hd__.tabs.colors.activeBackground : undefined
|
|
15864
16172
|
};
|
|
15865
16173
|
});
|
|
15866
|
-
var HeaderTabItemWrapper = index$
|
|
16174
|
+
var HeaderTabItemWrapper = index$b(reactNative.View)(function (_ref5) {
|
|
15867
16175
|
var theme = _ref5.theme;
|
|
15868
16176
|
return {
|
|
15869
16177
|
paddingHorizontal: theme.__hd__.tabs.space.outlineHorizontalPadding,
|
|
@@ -16329,7 +16637,7 @@ var getOutlinedStyles = function getOutlinedStyles(themeIntent, theme) {
|
|
|
16329
16637
|
backgroundColor: theme.__hd__.tag.colors["".concat(themeIntent, "Background")]
|
|
16330
16638
|
};
|
|
16331
16639
|
};
|
|
16332
|
-
var StyledView = index$
|
|
16640
|
+
var StyledView = index$b(reactNative.View)(function (_ref) {
|
|
16333
16641
|
var themeIntent = _ref.themeIntent,
|
|
16334
16642
|
themeVariant = _ref.themeVariant,
|
|
16335
16643
|
theme = _ref.theme;
|
|
@@ -16345,7 +16653,7 @@ var StyledView = index$a(reactNative.View)(function (_ref) {
|
|
|
16345
16653
|
backgroundColor: backgroundColor
|
|
16346
16654
|
};
|
|
16347
16655
|
});
|
|
16348
|
-
var StyledText = index$
|
|
16656
|
+
var StyledText = index$b(Typography.Caption)(function (_ref3) {
|
|
16349
16657
|
var themeIntent = _ref3.themeIntent,
|
|
16350
16658
|
themeVariant = _ref3.themeVariant,
|
|
16351
16659
|
theme = _ref3.theme;
|
|
@@ -16438,7 +16746,7 @@ var TimePickerAndroid = function TimePickerAndroid(_ref) {
|
|
|
16438
16746
|
}) : null);
|
|
16439
16747
|
};
|
|
16440
16748
|
|
|
16441
|
-
var StyledPickerWrapper = index$
|
|
16749
|
+
var StyledPickerWrapper = index$b(reactNative.View)(function (_ref) {
|
|
16442
16750
|
var theme = _ref.theme;
|
|
16443
16751
|
return {
|
|
16444
16752
|
height: theme.__hd__.timePicker.sizes.height
|
|
@@ -16536,7 +16844,7 @@ var TimePicker = function TimePicker(props) {
|
|
|
16536
16844
|
return /*#__PURE__*/React__default["default"].createElement(TimePickerAndroid, props);
|
|
16537
16845
|
};
|
|
16538
16846
|
|
|
16539
|
-
var ToastContainerWrapper = index$
|
|
16847
|
+
var ToastContainerWrapper = index$b(reactNative.View)(function (_ref) {
|
|
16540
16848
|
var theme = _ref.theme,
|
|
16541
16849
|
position = _ref.position;
|
|
16542
16850
|
return _objectSpread2(_objectSpread2({}, reactNative.StyleSheet.absoluteFillObject), {}, {
|
|
@@ -16546,7 +16854,7 @@ var ToastContainerWrapper = index$a(reactNative.View)(function (_ref) {
|
|
|
16546
16854
|
elevation: 9999
|
|
16547
16855
|
});
|
|
16548
16856
|
});
|
|
16549
|
-
var Container = index$
|
|
16857
|
+
var Container = index$b(reactNative.Animated.View)(function (_ref2) {
|
|
16550
16858
|
var theme = _ref2.theme,
|
|
16551
16859
|
themeVariant = _ref2.themeVariant,
|
|
16552
16860
|
themeIntent = _ref2.themeIntent;
|
|
@@ -16562,21 +16870,21 @@ var Container = index$a(reactNative.Animated.View)(function (_ref2) {
|
|
|
16562
16870
|
elevation: theme.__hd__.toast.shadows.elevation
|
|
16563
16871
|
};
|
|
16564
16872
|
});
|
|
16565
|
-
var IconContainer = index$
|
|
16873
|
+
var IconContainer = index$b(reactNative.View)(function (_ref3) {
|
|
16566
16874
|
var theme = _ref3.theme;
|
|
16567
16875
|
return {
|
|
16568
16876
|
alignItems: 'center',
|
|
16569
16877
|
paddingLeft: theme.__hd__.toast.space.iconLeftPadding
|
|
16570
16878
|
};
|
|
16571
16879
|
});
|
|
16572
|
-
var TextContainer = index$
|
|
16880
|
+
var TextContainer = index$b(reactNative.View)(function (_ref4) {
|
|
16573
16881
|
var theme = _ref4.theme;
|
|
16574
16882
|
return {
|
|
16575
16883
|
paddingHorizontal: theme.__hd__.toast.space.textHorizontalPadding,
|
|
16576
16884
|
flex: 1
|
|
16577
16885
|
};
|
|
16578
16886
|
});
|
|
16579
|
-
var ContentContainer = index$
|
|
16887
|
+
var ContentContainer = index$b(reactNative.View)(function (_ref5) {
|
|
16580
16888
|
var theme = _ref5.theme,
|
|
16581
16889
|
showDivider = _ref5.showDivider;
|
|
16582
16890
|
return {
|
|
@@ -16587,7 +16895,7 @@ var ContentContainer = index$a(reactNative.View)(function (_ref5) {
|
|
|
16587
16895
|
flexDirection: 'row'
|
|
16588
16896
|
};
|
|
16589
16897
|
});
|
|
16590
|
-
var CTAWrapper = index$
|
|
16898
|
+
var CTAWrapper = index$b(reactNative.TouchableOpacity)(function (_ref6) {
|
|
16591
16899
|
var theme = _ref6.theme;
|
|
16592
16900
|
return {
|
|
16593
16901
|
paddingHorizontal: theme.__hd__.toast.space.ctaPadding,
|
|
@@ -16790,6 +17098,7 @@ var ToastContainer = /*#__PURE__*/React__default["default"].forwardRef(function
|
|
|
16790
17098
|
}));
|
|
16791
17099
|
}));
|
|
16792
17100
|
});
|
|
17101
|
+
ToastContainer.displayName = 'ToastContainer';
|
|
16793
17102
|
|
|
16794
17103
|
var ToastProvider = function ToastProvider(_ref) {
|
|
16795
17104
|
var children = _ref.children,
|
|
@@ -16836,7 +17145,7 @@ var Toast = {
|
|
|
16836
17145
|
useToast: useToast
|
|
16837
17146
|
};
|
|
16838
17147
|
|
|
16839
|
-
var ToolbarWrapper = index$
|
|
17148
|
+
var ToolbarWrapper = index$b(reactNative.View)(function (_ref) {
|
|
16840
17149
|
var theme = _ref.theme;
|
|
16841
17150
|
return {
|
|
16842
17151
|
position: 'absolute',
|
|
@@ -16859,7 +17168,7 @@ var alignment = {
|
|
|
16859
17168
|
center: 'center',
|
|
16860
17169
|
right: 'flex-end'
|
|
16861
17170
|
};
|
|
16862
|
-
var ToolbarGroupWrapper = index$
|
|
17171
|
+
var ToolbarGroupWrapper = index$b(reactNative.View)(function (_ref2) {
|
|
16863
17172
|
var align = _ref2.align;
|
|
16864
17173
|
return {
|
|
16865
17174
|
flex: 1,
|
|
@@ -16868,7 +17177,7 @@ var ToolbarGroupWrapper = index$a(reactNative.View)(function (_ref2) {
|
|
|
16868
17177
|
alignItems: 'center'
|
|
16869
17178
|
};
|
|
16870
17179
|
});
|
|
16871
|
-
var ToolbarItemWrapper = index$
|
|
17180
|
+
var ToolbarItemWrapper = index$b(reactNative.TouchableOpacity)(function (_ref3) {
|
|
16872
17181
|
var theme = _ref3.theme;
|
|
16873
17182
|
return {
|
|
16874
17183
|
height: theme.__hd__.toolbar.sizes.itemWrapperHeight,
|
|
@@ -16878,7 +17187,7 @@ var ToolbarItemWrapper = index$a(reactNative.TouchableOpacity)(function (_ref3)
|
|
|
16878
17187
|
flexDirection: 'row'
|
|
16879
17188
|
};
|
|
16880
17189
|
});
|
|
16881
|
-
var IconButtonWrapper = index$
|
|
17190
|
+
var IconButtonWrapper = index$b(reactNative.View)(function (_ref4) {
|
|
16882
17191
|
var theme = _ref4.theme;
|
|
16883
17192
|
return {
|
|
16884
17193
|
backgroundColor: theme.__hd__.toolbar.colors.iconButtonBackground,
|
|
@@ -16889,7 +17198,7 @@ var IconButtonWrapper = index$a(reactNative.View)(function (_ref4) {
|
|
|
16889
17198
|
padding: theme.__hd__.toolbar.space.iconButtonWrapperPadding
|
|
16890
17199
|
};
|
|
16891
17200
|
});
|
|
16892
|
-
var IconButtonLabel = index$
|
|
17201
|
+
var IconButtonLabel = index$b(Typography.Body)(function (_ref5) {
|
|
16893
17202
|
var theme = _ref5.theme;
|
|
16894
17203
|
return {
|
|
16895
17204
|
marginLeft: theme.__hd__.toolbar.space.iconButtonLabelMarginLeft
|
|
@@ -16995,10 +17304,10 @@ var index$1 = Object.assign(Toolbar, {
|
|
|
16995
17304
|
});
|
|
16996
17305
|
|
|
16997
17306
|
var AnimatedBox = reactNative.Animated.createAnimatedComponent(reactNative.View);
|
|
16998
|
-
var StyledWrapper = index$
|
|
17307
|
+
var StyledWrapper = index$b(Box)({
|
|
16999
17308
|
flexDirection: 'row'
|
|
17000
17309
|
});
|
|
17001
|
-
var StyledIconWrapper = index$
|
|
17310
|
+
var StyledIconWrapper = index$b(AnimatedBox)(function (_ref) {
|
|
17002
17311
|
var theme = _ref.theme;
|
|
17003
17312
|
return {
|
|
17004
17313
|
padding: theme.__hd__.rate.spaces.iconWrapperPadding,
|
|
@@ -17077,7 +17386,7 @@ var ToolbarEvents;
|
|
|
17077
17386
|
var emitter = new events.EventEmitter();
|
|
17078
17387
|
emitter.setMaxListeners(20);
|
|
17079
17388
|
|
|
17080
|
-
var StyledToolbarButton = index$
|
|
17389
|
+
var StyledToolbarButton = index$b(reactNative.TouchableOpacity)(function (_ref) {
|
|
17081
17390
|
var theme = _ref.theme,
|
|
17082
17391
|
selected = _ref.selected;
|
|
17083
17392
|
return {
|
|
@@ -17088,7 +17397,7 @@ var StyledToolbarButton = index$a(reactNative.TouchableOpacity)(function (_ref)
|
|
|
17088
17397
|
backgroundColor: selected ? theme.__hd__.richTextEditor.colors.toolbarButtonSelectedBackground : undefined
|
|
17089
17398
|
};
|
|
17090
17399
|
});
|
|
17091
|
-
var StyledToolbar = index$
|
|
17400
|
+
var StyledToolbar = index$b(reactNative.View)(function (_ref2) {
|
|
17092
17401
|
var theme = _ref2.theme;
|
|
17093
17402
|
return {
|
|
17094
17403
|
flexDirection: 'row',
|
|
@@ -17099,7 +17408,7 @@ var StyledToolbar = index$a(reactNative.View)(function (_ref2) {
|
|
|
17099
17408
|
paddingHorizontal: theme.__hd__.richTextEditor.space.toolbarHorizontalPadding
|
|
17100
17409
|
};
|
|
17101
17410
|
});
|
|
17102
|
-
var StyledSeparator = index$
|
|
17411
|
+
var StyledSeparator = index$b(reactNative.View)(function (_ref3) {
|
|
17103
17412
|
var theme = _ref3.theme;
|
|
17104
17413
|
return {
|
|
17105
17414
|
width: theme.__hd__.richTextEditor.sizes.toolbarSeparatorWidth,
|
|
@@ -33211,13 +33520,13 @@ function checkDCE() {
|
|
|
33211
33520
|
/* babel-plugin-inline-import 'hero-editor/dist/app.js' */
|
|
33212
33521
|
var heroEditorApp = "!function(e){var t={};function n(r){if(t[r])return t[r].exports;var u=t[r]={i:r,l:!1,exports:{}};return e[r].call(u.exports,u,u.exports,n),u.l=!0,u.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(e,\"__esModule\",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&\"object\"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,\"default\",{enumerable:!0,value:e}),2&t&&\"string\"!=typeof e)for(var u in e)n.d(r,u,function(t){return e[t]}.bind(null,u));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,\"a\",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p=\"\",n(n.s=24)}([function(e,t,n){\"use strict\";e.exports=n(11)},function(e,t){e.exports=function(e){if(\"string\"!=typeof e)return!1;var t=e.match(n);if(!t)return!1;var o=t[1];if(!o)return!1;if(r.test(o)||u.test(o))return!0;return!1};var n=/^(?:\\w+:)?\\/\\/(\\S+)$/,r=/^localhost[\\:?\\d]*(?:[^\\:?\\d]\\S*)?$/,u=/^[^\\s\\.]+\\.\\S{2,}$/},function(e,t,n){\"use strict\";!function e(){if(\"undefined\"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&\"function\"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),e.exports=n(12)},function(e,t,n){var r=n(5),u=n(15),o=n(18),a=Math.max,i=Math.min;e.exports=function(e,t,n){var l,s,c,f,d,p,h=0,v=!1,m=!1,g=!0;if(\"function\"!=typeof e)throw new TypeError(\"Expected a function\");function D(t){var n=l,r=s;return l=s=void 0,h=t,f=e.apply(r,n)}function y(e){return h=e,d=setTimeout(C,t),v?D(e):f}function b(e){var n=e-p;return void 0===p||n>=t||n<0||m&&e-h>=c}function C(){var e=u();if(b(e))return E(e);d=setTimeout(C,function(e){var n=t-(e-p);return m?i(n,c-(e-h)):n}(e))}function E(e){return d=void 0,g&&l?D(e):(l=s=void 0,f)}function w(){var e=u(),n=b(e);if(l=arguments,s=this,p=e,n){if(void 0===d)return y(p);if(m)return clearTimeout(d),d=setTimeout(C,t),D(p)}return void 0===d&&(d=setTimeout(C,t)),f}return t=o(t)||0,r(n)&&(v=!!n.leading,c=(m=\"maxWait\"in n)?a(o(n.maxWait)||0,t):c,g=\"trailing\"in n?!!n.trailing:g),w.cancel=function(){void 0!==d&&clearTimeout(d),h=0,l=p=s=d=void 0},w.flush=function(){return void 0===d?f:E(u())},w}},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});for(var r=\"undefined\"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),u={alt:\"altKey\",control:\"ctrlKey\",meta:\"metaKey\",shift:\"shiftKey\"},o={add:\"+\",break:\"pause\",cmd:\"meta\",command:\"meta\",ctl:\"control\",ctrl:\"control\",del:\"delete\",down:\"arrowdown\",esc:\"escape\",ins:\"insert\",left:\"arrowleft\",mod:r?\"meta\":\"control\",opt:\"alt\",option:\"alt\",return:\"enter\",right:\"arrowright\",space:\" \",spacebar:\" \",up:\"arrowup\",win:\"meta\",windows:\"meta\"},a={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27,\" \":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,\";\":186,\"=\":187,\",\":188,\"-\":189,\".\":190,\"/\":191,\"`\":192,\"[\":219,\"\\\\\":220,\"]\":221,\"'\":222},i=1;i<20;i++)a[\"f\"+i]=111+i;function l(e,t,n){t&&!(\"byKey\"in t)&&(n=t,t=null),Array.isArray(e)||(e=[e]);var r=e.map((function(e){return s(e,t)})),u=function(e){return r.some((function(t){return c(t,e)}))};return null==n?u:u(n)}function s(e,t){var n=t&&t.byKey,r={},o=(e=e.replace(\"++\",\"+add\")).split(\"+\"),a=o.length;for(var i in u)r[u[i]]=!1;var l=!0,s=!1,c=void 0;try{for(var p,h=o[Symbol.iterator]();!(l=(p=h.next()).done);l=!0){var v=p.value,m=v.endsWith(\"?\")&&v.length>1;m&&(v=v.slice(0,-1));var g=d(v),D=u[g];1!==a&&D||(n?r.key=g:r.which=f(v)),D&&(r[D]=!m||null)}}catch(e){s=!0,c=e}finally{try{!l&&h.return&&h.return()}finally{if(s)throw c}}return r}function c(e,t){for(var n in e){var r=e[n],u=void 0;if(null!=r&&((null!=(u=\"key\"===n&&null!=t.key?t.key.toLowerCase():\"which\"===n?91===r&&93===t.which?91:t.which:t[n])||!1!==r)&&u!==r))return!1}return!0}function f(e){return e=d(e),a[e]||e.toUpperCase().charCodeAt(0)}function d(e){return e=e.toLowerCase(),e=o[e]||e}t.default=l,t.isHotkey=l,t.isCodeHotkey=function(e,t){return l(e,t)},t.isKeyHotkey=function(e,t){return l(e,{byKey:!0},t)},t.parseHotkey=s,t.compareHotkey=c,t.toKeyCode=f,t.toKeyName=d},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&(\"object\"==t||\"function\"==t)}},function(e,t,n){\"use strict\";e.exports=function(e){if(e=String(e||\"\"),u.test(e))return\"rtl\";if(o.test(e))return\"ltr\";return\"neutral\"};var r=\"A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\u02B8\u0300-\u0590\u0800-\u1FFF\u200E\u2C00-\uFB1C\uFE00-\uFE6F\uFEFD-\uFFFF\",u=new RegExp(\"^[^\"+r+\"]*[\u0591-\u07FF\uFB1D-\uFDFD\uFE70-\uFEFC]\"),o=new RegExp(\"^[^\u0591-\u07FF\uFB1D-\uFDFD\uFE70-\uFEFC]*[\"+r+\"]\")},function(e,t,n){var r=n(3),u=n(5);e.exports=function(e,t,n){var o=!0,a=!0;if(\"function\"!=typeof e)throw new TypeError(\"Expected a function\");return u(n)&&(o=\"leading\"in n?!!n.leading:o,a=\"trailing\"in n?!!n.trailing:a),r(e,t,{leading:o,maxWait:t,trailing:a})}},function(e,t,n){\"use strict\";\n/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/var r=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError(\"Object.assign cannot be called with null or undefined\");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String(\"abc\");if(e[5]=\"de\",\"5\"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t[\"_\"+String.fromCharCode(n)]=n;if(\"0123456789\"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(\"\"))return!1;var r={};return\"abcdefghijklmnopqrst\".split(\"\").forEach((function(e){r[e]=e})),\"abcdefghijklmnopqrst\"===Object.keys(Object.assign({},r)).join(\"\")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,i,l=a(e),s=1;s<arguments.length;s++){for(var c in n=Object(arguments[s]))u.call(n,c)&&(l[c]=n[c]);if(r){i=r(n);for(var f=0;f<i.length;f++)o.call(n,i[f])&&(l[i[f]]=n[i[f]])}}return l}},function(e,t,n){var r=n(16),u=\"object\"==typeof self&&self&&self.Object===Object&&self,o=r||u||Function(\"return this\")();e.exports=o},function(e,t,n){var r=n(9).Symbol;e.exports=r},function(e,t,n){\"use strict\";\n/** @license React v16.13.1\n * react.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */var r=n(8),u=\"function\"==typeof Symbol&&Symbol.for,o=u?Symbol.for(\"react.element\"):60103,a=u?Symbol.for(\"react.portal\"):60106,i=u?Symbol.for(\"react.fragment\"):60107,l=u?Symbol.for(\"react.strict_mode\"):60108,s=u?Symbol.for(\"react.profiler\"):60114,c=u?Symbol.for(\"react.provider\"):60109,f=u?Symbol.for(\"react.context\"):60110,d=u?Symbol.for(\"react.forward_ref\"):60112,p=u?Symbol.for(\"react.suspense\"):60113,h=u?Symbol.for(\"react.memo\"):60115,v=u?Symbol.for(\"react.lazy\"):60116,m=\"function\"==typeof Symbol&&Symbol.iterator;function g(e){for(var t=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+e,n=1;n<arguments.length;n++)t+=\"&args[]=\"+encodeURIComponent(arguments[n]);return\"Minified React error #\"+e+\"; visit \"+t+\" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.\"}var D={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y={};function b(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||D}function C(){}function E(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||D}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if(\"object\"!=typeof e&&\"function\"!=typeof e&&null!=e)throw Error(g(85));this.updater.enqueueSetState(this,e,t,\"setState\")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,\"forceUpdate\")},C.prototype=b.prototype;var w=E.prototype=new C;w.constructor=E,r(w,b.prototype),w.isPureReactComponent=!0;var B={current:null},A=Object.prototype.hasOwnProperty,F={key:!0,ref:!0,__self:!0,__source:!0};function x(e,t,n){var r,u={},a=null,i=null;if(null!=t)for(r in void 0!==t.ref&&(i=t.ref),void 0!==t.key&&(a=\"\"+t.key),t)A.call(t,r)&&!F.hasOwnProperty(r)&&(u[r]=t[r]);var l=arguments.length-2;if(1===l)u.children=n;else if(1<l){for(var s=Array(l),c=0;c<l;c++)s[c]=arguments[c+2];u.children=s}if(e&&e.defaultProps)for(r in l=e.defaultProps)void 0===u[r]&&(u[r]=l[r]);return{$$typeof:o,type:e,key:a,ref:i,props:u,_owner:B.current}}function k(e){return\"object\"==typeof e&&null!==e&&e.$$typeof===o}var O=/\\/+/g,S=[];function T(e,t,n,r){if(S.length){var u=S.pop();return u.result=e,u.keyPrefix=t,u.func=n,u.context=r,u.count=0,u}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function P(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>S.length&&S.push(e)}function j(e,t,n){return null==e?0:function e(t,n,r,u){var i=typeof t;\"undefined\"!==i&&\"boolean\"!==i||(t=null);var l=!1;if(null===t)l=!0;else switch(i){case\"string\":case\"number\":l=!0;break;case\"object\":switch(t.$$typeof){case o:case a:l=!0}}if(l)return r(u,t,\"\"===n?\".\"+N(t,0):n),1;if(l=0,n=\"\"===n?\".\":n+\":\",Array.isArray(t))for(var s=0;s<t.length;s++){var c=n+N(i=t[s],s);l+=e(i,c,r,u)}else if(null===t||\"object\"!=typeof t?c=null:c=\"function\"==typeof(c=m&&t[m]||t[\"@@iterator\"])?c:null,\"function\"==typeof c)for(t=c.call(t),s=0;!(i=t.next()).done;)l+=e(i=i.value,c=n+N(i,s++),r,u);else if(\"object\"===i)throw r=\"\"+t,Error(g(31,\"[object Object]\"===r?\"object with keys {\"+Object.keys(t).join(\", \")+\"}\":r,\"\"));return l}(e,\"\",t,n)}function N(e,t){return\"object\"==typeof e&&null!==e&&null!=e.key?function(e){var t={\"=\":\"=0\",\":\":\"=2\"};return\"$\"+(\"\"+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function _(e,t){e.func.call(e.context,t,e.count++)}function M(e,t,n){var r=e.result,u=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?R(e,r,n,(function(e){return e})):null!=e&&(k(e)&&(e=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,u+(!e.key||t&&t.key===e.key?\"\":(\"\"+e.key).replace(O,\"$&/\")+\"/\")+n)),r.push(e))}function R(e,t,n,r,u){var o=\"\";null!=n&&(o=(\"\"+n).replace(O,\"$&/\")+\"/\"),j(e,M,t=T(t,o,r,u)),P(t)}var z={current:null};function I(){var e=z.current;if(null===e)throw Error(g(321));return e}var L={ReactCurrentDispatcher:z,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:B,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:function(e,t,n){if(null==e)return e;var r=[];return R(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;j(e,_,t=T(null,null,t,n)),P(t)},count:function(e){return j(e,(function(){return null}),null)},toArray:function(e){var t=[];return R(e,t,null,(function(e){return e})),t},only:function(e){if(!k(e))throw Error(g(143));return e}},t.Component=b,t.Fragment=i,t.Profiler=s,t.PureComponent=E,t.StrictMode=l,t.Suspense=p,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=L,t.cloneElement=function(e,t,n){if(null==e)throw Error(g(267,e));var u=r({},e.props),a=e.key,i=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,l=B.current),void 0!==t.key&&(a=\"\"+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(c in t)A.call(t,c)&&!F.hasOwnProperty(c)&&(u[c]=void 0===t[c]&&void 0!==s?s[c]:t[c])}var c=arguments.length-2;if(1===c)u.children=n;else if(1<c){s=Array(c);for(var f=0;f<c;f++)s[f]=arguments[f+2];u.children=s}return{$$typeof:o,type:e.type,key:a,ref:i,props:u,_owner:l}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:c,_context:e},e.Consumer=e},t.createElement=x,t.createFactory=function(e){var t=x.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:d,render:e}},t.isValidElement=k,t.lazy=function(e){return{$$typeof:v,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:h,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return I().useCallback(e,t)},t.useContext=function(e,t){return I().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return I().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return I().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return I().useLayoutEffect(e,t)},t.useMemo=function(e,t){return I().useMemo(e,t)},t.useReducer=function(e,t,n){return I().useReducer(e,t,n)},t.useRef=function(e){return I().useRef(e)},t.useState=function(e){return I().useState(e)},t.version=\"16.13.1\"},function(e,t,n){\"use strict\";\n/** @license React v16.13.1\n * react-dom.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */var r=n(0),u=n(8),o=n(13);function a(e){for(var t=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+e,n=1;n<arguments.length;n++)t+=\"&args[]=\"+encodeURIComponent(arguments[n]);return\"Minified React error #\"+e+\"; visit \"+t+\" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.\"}if(!r)throw Error(a(227));function i(e,t,n,r,u,o,a,i,l){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(e){this.onError(e)}}var l=!1,s=null,c=!1,f=null,d={onError:function(e){l=!0,s=e}};function p(e,t,n,r,u,o,a,c,f){l=!1,s=null,i.apply(d,arguments)}var h=null,v=null,m=null;function g(e,t,n){var r=e.type||\"unknown-event\";e.currentTarget=m(n),function(e,t,n,r,u,o,i,d,h){if(p.apply(this,arguments),l){if(!l)throw Error(a(198));var v=s;l=!1,s=null,c||(c=!0,f=v)}}(r,t,void 0,e),e.currentTarget=null}var D=null,y={};function b(){if(D)for(var e in y){var t=y[e],n=D.indexOf(e);if(!(-1<n))throw Error(a(96,e));if(!E[n]){if(!t.extractEvents)throw Error(a(97,e));for(var r in E[n]=t,n=t.eventTypes){var u=void 0,o=n[r],i=t,l=r;if(w.hasOwnProperty(l))throw Error(a(99,l));w[l]=o;var s=o.phasedRegistrationNames;if(s){for(u in s)s.hasOwnProperty(u)&&C(s[u],i,l);u=!0}else o.registrationName?(C(o.registrationName,i,l),u=!0):u=!1;if(!u)throw Error(a(98,r,e))}}}}function C(e,t,n){if(B[e])throw Error(a(100,e));B[e]=t,A[e]=t.eventTypes[n].dependencies}var E=[],w={},B={},A={};function F(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!y.hasOwnProperty(t)||y[t]!==r){if(y[t])throw Error(a(102,t));y[t]=r,n=!0}}n&&b()}var x=!(\"undefined\"==typeof window||void 0===window.document||void 0===window.document.createElement),k=null,O=null,S=null;function T(e){if(e=v(e)){if(\"function\"!=typeof k)throw Error(a(280));var t=e.stateNode;t&&(t=h(t),k(e.stateNode,e.type,t))}}function P(e){O?S?S.push(e):S=[e]:O=e}function j(){if(O){var e=O,t=S;if(S=O=null,T(e),t)for(e=0;e<t.length;e++)T(t[e])}}function N(e,t){return e(t)}function _(e,t,n,r,u){return e(t,n,r,u)}function M(){}var R=N,z=!1,I=!1;function L(){null===O&&null===S||(M(),j())}function W(e,t,n){if(I)return e(t,n);I=!0;try{return R(e,t,n)}finally{I=!1,L()}}var V=/^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$/,U=Object.prototype.hasOwnProperty,H={},q={};function $(e,t,n,r,u,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=u,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o}var K={};\"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style\".split(\" \").forEach((function(e){K[e]=new $(e,0,!1,e,null,!1)})),[[\"acceptCharset\",\"accept-charset\"],[\"className\",\"class\"],[\"htmlFor\",\"for\"],[\"httpEquiv\",\"http-equiv\"]].forEach((function(e){var t=e[0];K[t]=new $(t,1,!1,e[1],null,!1)})),[\"contentEditable\",\"draggable\",\"spellCheck\",\"value\"].forEach((function(e){K[e]=new $(e,2,!1,e.toLowerCase(),null,!1)})),[\"autoReverse\",\"externalResourcesRequired\",\"focusable\",\"preserveAlpha\"].forEach((function(e){K[e]=new $(e,2,!1,e,null,!1)})),\"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope\".split(\" \").forEach((function(e){K[e]=new $(e,3,!1,e.toLowerCase(),null,!1)})),[\"checked\",\"multiple\",\"muted\",\"selected\"].forEach((function(e){K[e]=new $(e,3,!0,e,null,!1)})),[\"capture\",\"download\"].forEach((function(e){K[e]=new $(e,4,!1,e,null,!1)})),[\"cols\",\"rows\",\"size\",\"span\"].forEach((function(e){K[e]=new $(e,6,!1,e,null,!1)})),[\"rowSpan\",\"start\"].forEach((function(e){K[e]=new $(e,5,!1,e.toLowerCase(),null,!1)}));var Q=/[\\-:]([a-z])/g;function X(e){return e[1].toUpperCase()}\"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height\".split(\" \").forEach((function(e){var t=e.replace(Q,X);K[t]=new $(t,1,!1,e,null,!1)})),\"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type\".split(\" \").forEach((function(e){var t=e.replace(Q,X);K[t]=new $(t,1,!1,e,\"http://www.w3.org/1999/xlink\",!1)})),[\"xml:base\",\"xml:lang\",\"xml:space\"].forEach((function(e){var t=e.replace(Q,X);K[t]=new $(t,1,!1,e,\"http://www.w3.org/XML/1998/namespace\",!1)})),[\"tabIndex\",\"crossOrigin\"].forEach((function(e){K[e]=new $(e,1,!1,e.toLowerCase(),null,!1)})),K.xlinkHref=new $(\"xlinkHref\",1,!1,\"xlink:href\",\"http://www.w3.org/1999/xlink\",!0),[\"src\",\"href\",\"action\",\"formAction\"].forEach((function(e){K[e]=new $(e,1,!1,e.toLowerCase(),null,!0)}));var J=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function Y(e,t,n,r){var u=K.hasOwnProperty(t)?K[t]:null;(null!==u?0===u.type:!r&&(2<t.length&&(\"o\"===t[0]||\"O\"===t[0])&&(\"n\"===t[1]||\"N\"===t[1])))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case\"function\":case\"symbol\":return!0;case\"boolean\":return!r&&(null!==n?!n.acceptsBooleans:\"data-\"!==(e=e.toLowerCase().slice(0,5))&&\"aria-\"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,u,r)&&(n=null),r||null===u?function(e){return!!U.call(q,e)||!U.call(H,e)&&(V.test(e)?q[e]=!0:(H[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,\"\"+n)):u.mustUseProperty?e[u.propertyName]=null===n?3!==u.type&&\"\":n:(t=u.attributeName,r=u.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(u=u.type)||4===u&&!0===n?\"\":\"\"+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}J.hasOwnProperty(\"ReactCurrentDispatcher\")||(J.ReactCurrentDispatcher={current:null}),J.hasOwnProperty(\"ReactCurrentBatchConfig\")||(J.ReactCurrentBatchConfig={suspense:null});var G=/^(.*)[\\\\\\/]/,Z=\"function\"==typeof Symbol&&Symbol.for,ee=Z?Symbol.for(\"react.element\"):60103,te=Z?Symbol.for(\"react.portal\"):60106,ne=Z?Symbol.for(\"react.fragment\"):60107,re=Z?Symbol.for(\"react.strict_mode\"):60108,ue=Z?Symbol.for(\"react.profiler\"):60114,oe=Z?Symbol.for(\"react.provider\"):60109,ae=Z?Symbol.for(\"react.context\"):60110,ie=Z?Symbol.for(\"react.concurrent_mode\"):60111,le=Z?Symbol.for(\"react.forward_ref\"):60112,se=Z?Symbol.for(\"react.suspense\"):60113,ce=Z?Symbol.for(\"react.suspense_list\"):60120,fe=Z?Symbol.for(\"react.memo\"):60115,de=Z?Symbol.for(\"react.lazy\"):60116,pe=Z?Symbol.for(\"react.block\"):60121,he=\"function\"==typeof Symbol&&Symbol.iterator;function ve(e){return null===e||\"object\"!=typeof e?null:\"function\"==typeof(e=he&&e[he]||e[\"@@iterator\"])?e:null}function me(e){if(null==e)return null;if(\"function\"==typeof e)return e.displayName||e.name||null;if(\"string\"==typeof e)return e;switch(e){case ne:return\"Fragment\";case te:return\"Portal\";case ue:return\"Profiler\";case re:return\"StrictMode\";case se:return\"Suspense\";case ce:return\"SuspenseList\"}if(\"object\"==typeof e)switch(e.$$typeof){case ae:return\"Context.Consumer\";case oe:return\"Context.Provider\";case le:var t=e.render;return t=t.displayName||t.name||\"\",e.displayName||(\"\"!==t?\"ForwardRef(\"+t+\")\":\"ForwardRef\");case fe:return me(e.type);case pe:return me(e.render);case de:if(e=1===e._status?e._result:null)return me(e)}return null}function ge(e){var t=\"\";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n=\"\";break e;default:var r=e._debugOwner,u=e._debugSource,o=me(e.type);n=null,r&&(n=me(r.type)),r=o,o=\"\",u?o=\" (at \"+u.fileName.replace(G,\"\")+\":\"+u.lineNumber+\")\":n&&(o=\" (created by \"+n+\")\"),n=\"\\n in \"+(r||\"Unknown\")+o}t+=n,e=e.return}while(e);return t}function De(e){switch(typeof e){case\"boolean\":case\"number\":case\"object\":case\"string\":case\"undefined\":return e;default:return\"\"}}function ye(e){var t=e.type;return(e=e.nodeName)&&\"input\"===e.toLowerCase()&&(\"checkbox\"===t||\"radio\"===t)}function be(e){e._valueTracker||(e._valueTracker=function(e){var t=ye(e)?\"checked\":\"value\",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=\"\"+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&\"function\"==typeof n.get&&\"function\"==typeof n.set){var u=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return u.call(this)},set:function(e){r=\"\"+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=\"\"+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Ce(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=\"\";return e&&(r=ye(e)?e.checked?\"true\":\"false\":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Ee(e,t){var n=t.checked;return u({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function we(e,t){var n=null==t.defaultValue?\"\":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=De(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:\"checkbox\"===t.type||\"radio\"===t.type?null!=t.checked:null!=t.value}}function Be(e,t){null!=(t=t.checked)&&Y(e,\"checked\",t,!1)}function Ae(e,t){Be(e,t);var n=De(t.value),r=t.type;if(null!=n)\"number\"===r?(0===n&&\"\"===e.value||e.value!=n)&&(e.value=\"\"+n):e.value!==\"\"+n&&(e.value=\"\"+n);else if(\"submit\"===r||\"reset\"===r)return void e.removeAttribute(\"value\");t.hasOwnProperty(\"value\")?xe(e,t.type,n):t.hasOwnProperty(\"defaultValue\")&&xe(e,t.type,De(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Fe(e,t,n){if(t.hasOwnProperty(\"value\")||t.hasOwnProperty(\"defaultValue\")){var r=t.type;if(!(\"submit\"!==r&&\"reset\"!==r||void 0!==t.value&&null!==t.value))return;t=\"\"+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}\"\"!==(n=e.name)&&(e.name=\"\"),e.defaultChecked=!!e._wrapperState.initialChecked,\"\"!==n&&(e.name=n)}function xe(e,t,n){\"number\"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=\"\"+e._wrapperState.initialValue:e.defaultValue!==\"\"+n&&(e.defaultValue=\"\"+n))}function ke(e,t){return e=u({children:void 0},t),(t=function(e){var t=\"\";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function Oe(e,t,n,r){if(e=e.options,t){t={};for(var u=0;u<n.length;u++)t[\"$\"+n[u]]=!0;for(n=0;n<e.length;n++)u=t.hasOwnProperty(\"$\"+e[n].value),e[n].selected!==u&&(e[n].selected=u),u&&r&&(e[n].defaultSelected=!0)}else{for(n=\"\"+De(n),t=null,u=0;u<e.length;u++){if(e[u].value===n)return e[u].selected=!0,void(r&&(e[u].defaultSelected=!0));null!==t||e[u].disabled||(t=e[u])}null!==t&&(t.selected=!0)}}function Se(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return u({},t,{value:void 0,defaultValue:void 0,children:\"\"+e._wrapperState.initialValue})}function Te(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=\"\"),n=t}e._wrapperState={initialValue:De(n)}}function Pe(e,t){var n=De(t.value),r=De(t.defaultValue);null!=n&&((n=\"\"+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=\"\"+r)}function je(e){var t=e.textContent;t===e._wrapperState.initialValue&&\"\"!==t&&null!==t&&(e.value=t)}var Ne=\"http://www.w3.org/1999/xhtml\",_e=\"http://www.w3.org/2000/svg\";function Me(e){switch(e){case\"svg\":return\"http://www.w3.org/2000/svg\";case\"math\":return\"http://www.w3.org/1998/Math/MathML\";default:return\"http://www.w3.org/1999/xhtml\"}}function Re(e,t){return null==e||\"http://www.w3.org/1999/xhtml\"===e?Me(t):\"http://www.w3.org/2000/svg\"===e&&\"foreignObject\"===t?\"http://www.w3.org/1999/xhtml\":e}var ze,Ie=function(e){return\"undefined\"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,u){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e}((function(e,t){if(e.namespaceURI!==_e||\"innerHTML\"in e)e.innerHTML=t;else{for((ze=ze||document.createElement(\"div\")).innerHTML=\"<svg>\"+t.valueOf().toString()+\"</svg>\",t=ze.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function Le(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function We(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[\"Webkit\"+e]=\"webkit\"+t,n[\"Moz\"+e]=\"moz\"+t,n}var Ve={animationend:We(\"Animation\",\"AnimationEnd\"),animationiteration:We(\"Animation\",\"AnimationIteration\"),animationstart:We(\"Animation\",\"AnimationStart\"),transitionend:We(\"Transition\",\"TransitionEnd\")},Ue={},He={};function qe(e){if(Ue[e])return Ue[e];if(!Ve[e])return e;var t,n=Ve[e];for(t in n)if(n.hasOwnProperty(t)&&t in He)return Ue[e]=n[t];return e}x&&(He=document.createElement(\"div\").style,\"AnimationEvent\"in window||(delete Ve.animationend.animation,delete Ve.animationiteration.animation,delete Ve.animationstart.animation),\"TransitionEvent\"in window||delete Ve.transitionend.transition);var $e=qe(\"animationend\"),Ke=qe(\"animationiteration\"),Qe=qe(\"animationstart\"),Xe=qe(\"transitionend\"),Je=\"abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting\".split(\" \"),Ye=new(\"function\"==typeof WeakMap?WeakMap:Map);function Ge(e){var t=Ye.get(e);return void 0===t&&(t=new Map,Ye.set(e,t)),t}function Ze(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function et(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function tt(e){if(Ze(e)!==e)throw Error(a(188))}function nt(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ze(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var u=n.return;if(null===u)break;var o=u.alternate;if(null===o){if(null!==(r=u.return)){n=r;continue}break}if(u.child===o.child){for(o=u.child;o;){if(o===n)return tt(u),e;if(o===r)return tt(u),t;o=o.sibling}throw Error(a(188))}if(n.return!==r.return)n=u,r=o;else{for(var i=!1,l=u.child;l;){if(l===n){i=!0,n=u,r=o;break}if(l===r){i=!0,r=u,n=o;break}l=l.sibling}if(!i){for(l=o.child;l;){if(l===n){i=!0,n=o,r=u;break}if(l===r){i=!0,r=o,n=u;break}l=l.sibling}if(!i)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function rt(e,t){if(null==t)throw Error(a(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function ut(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var ot=null;function at(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)g(e,t[r],n[r]);else t&&g(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function it(e){if(null!==e&&(ot=rt(ot,e)),e=ot,ot=null,e){if(ut(e,at),ot)throw Error(a(95));if(c)throw e=f,c=!1,f=null,e}}function lt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function st(e){if(!x)return!1;var t=(e=\"on\"+e)in document;return t||((t=document.createElement(\"div\")).setAttribute(e,\"return;\"),t=\"function\"==typeof t[e]),t}var ct=[];function ft(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>ct.length&&ct.push(e)}function dt(e,t,n,r){if(ct.length){var u=ct.pop();return u.topLevelType=e,u.eventSystemFlags=r,u.nativeEvent=t,u.targetInst=n,u}return{topLevelType:e,eventSystemFlags:r,nativeEvent:t,targetInst:n,ancestors:[]}}function pt(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;5!==(t=n.tag)&&6!==t||e.ancestors.push(n),n=xn(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var u=lt(e.nativeEvent);r=e.topLevelType;var o=e.nativeEvent,a=e.eventSystemFlags;0===n&&(a|=64);for(var i=null,l=0;l<E.length;l++){var s=E[l];s&&(s=s.extractEvents(r,t,o,u,a))&&(i=rt(i,s))}it(i)}}function ht(e,t,n){if(!n.has(e)){switch(e){case\"scroll\":Qt(t,\"scroll\",!0);break;case\"focus\":case\"blur\":Qt(t,\"focus\",!0),Qt(t,\"blur\",!0),n.set(\"blur\",null),n.set(\"focus\",null);break;case\"cancel\":case\"close\":st(e)&&Qt(t,e,!0);break;case\"invalid\":case\"submit\":case\"reset\":break;default:-1===Je.indexOf(e)&&Kt(e,t)}n.set(e,null)}}var vt,mt,gt,Dt=!1,yt=[],bt=null,Ct=null,Et=null,wt=new Map,Bt=new Map,At=[],Ft=\"mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit\".split(\" \"),xt=\"focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture\".split(\" \");function kt(e,t,n,r,u){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|n,nativeEvent:u,container:r}}function Ot(e,t){switch(e){case\"focus\":case\"blur\":bt=null;break;case\"dragenter\":case\"dragleave\":Ct=null;break;case\"mouseover\":case\"mouseout\":Et=null;break;case\"pointerover\":case\"pointerout\":wt.delete(t.pointerId);break;case\"gotpointercapture\":case\"lostpointercapture\":Bt.delete(t.pointerId)}}function St(e,t,n,r,u,o){return null===e||e.nativeEvent!==o?(e=kt(t,n,r,u,o),null!==t&&(null!==(t=kn(t))&&mt(t)),e):(e.eventSystemFlags|=r,e)}function Tt(e){var t=xn(e.target);if(null!==t){var n=Ze(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=et(n)))return e.blockedOn=t,void o.unstable_runWithPriority(e.priority,(function(){gt(n)}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Pt(e){if(null!==e.blockedOn)return!1;var t=Gt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=kn(t);return null!==n&&mt(n),e.blockedOn=t,!1}return!0}function jt(e,t,n){Pt(e)&&n.delete(t)}function Nt(){for(Dt=!1;0<yt.length;){var e=yt[0];if(null!==e.blockedOn){null!==(e=kn(e.blockedOn))&&vt(e);break}var t=Gt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:yt.shift()}null!==bt&&Pt(bt)&&(bt=null),null!==Ct&&Pt(Ct)&&(Ct=null),null!==Et&&Pt(Et)&&(Et=null),wt.forEach(jt),Bt.forEach(jt)}function _t(e,t){e.blockedOn===t&&(e.blockedOn=null,Dt||(Dt=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Nt)))}function Mt(e){function t(t){return _t(t,e)}if(0<yt.length){_t(yt[0],e);for(var n=1;n<yt.length;n++){var r=yt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==bt&&_t(bt,e),null!==Ct&&_t(Ct,e),null!==Et&&_t(Et,e),wt.forEach(t),Bt.forEach(t),n=0;n<At.length;n++)(r=At[n]).blockedOn===e&&(r.blockedOn=null);for(;0<At.length&&null===(n=At[0]).blockedOn;)Tt(n),null===n.blockedOn&&At.shift()}var Rt={},zt=new Map,It=new Map,Lt=[\"abort\",\"abort\",$e,\"animationEnd\",Ke,\"animationIteration\",Qe,\"animationStart\",\"canplay\",\"canPlay\",\"canplaythrough\",\"canPlayThrough\",\"durationchange\",\"durationChange\",\"emptied\",\"emptied\",\"encrypted\",\"encrypted\",\"ended\",\"ended\",\"error\",\"error\",\"gotpointercapture\",\"gotPointerCapture\",\"load\",\"load\",\"loadeddata\",\"loadedData\",\"loadedmetadata\",\"loadedMetadata\",\"loadstart\",\"loadStart\",\"lostpointercapture\",\"lostPointerCapture\",\"playing\",\"playing\",\"progress\",\"progress\",\"seeking\",\"seeking\",\"stalled\",\"stalled\",\"suspend\",\"suspend\",\"timeupdate\",\"timeUpdate\",Xe,\"transitionEnd\",\"waiting\",\"waiting\"];function Wt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],u=e[n+1],o=\"on\"+(u[0].toUpperCase()+u.slice(1));o={phasedRegistrationNames:{bubbled:o,captured:o+\"Capture\"},dependencies:[r],eventPriority:t},It.set(r,t),zt.set(r,o),Rt[u]=o}}Wt(\"blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange\".split(\" \"),0),Wt(\"drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel\".split(\" \"),1),Wt(Lt,2);for(var Vt=\"change selectionchange textInput compositionstart compositionend compositionupdate\".split(\" \"),Ut=0;Ut<Vt.length;Ut++)It.set(Vt[Ut],0);var Ht=o.unstable_UserBlockingPriority,qt=o.unstable_runWithPriority,$t=!0;function Kt(e,t){Qt(t,e,!1)}function Qt(e,t,n){var r=It.get(t);switch(void 0===r?2:r){case 0:r=Xt.bind(null,t,1,e);break;case 1:r=Jt.bind(null,t,1,e);break;default:r=Yt.bind(null,t,1,e)}n?e.addEventListener(t,r,!0):e.addEventListener(t,r,!1)}function Xt(e,t,n,r){z||M();var u=Yt,o=z;z=!0;try{_(u,e,t,n,r)}finally{(z=o)||L()}}function Jt(e,t,n,r){qt(Ht,Yt.bind(null,e,t,n,r))}function Yt(e,t,n,r){if($t)if(0<yt.length&&-1<Ft.indexOf(e))e=kt(null,e,t,n,r),yt.push(e);else{var u=Gt(e,t,n,r);if(null===u)Ot(e,r);else if(-1<Ft.indexOf(e))e=kt(u,e,t,n,r),yt.push(e);else if(!function(e,t,n,r,u){switch(t){case\"focus\":return bt=St(bt,e,t,n,r,u),!0;case\"dragenter\":return Ct=St(Ct,e,t,n,r,u),!0;case\"mouseover\":return Et=St(Et,e,t,n,r,u),!0;case\"pointerover\":var o=u.pointerId;return wt.set(o,St(wt.get(o)||null,e,t,n,r,u)),!0;case\"gotpointercapture\":return o=u.pointerId,Bt.set(o,St(Bt.get(o)||null,e,t,n,r,u)),!0}return!1}(u,e,t,n,r)){Ot(e,r),e=dt(e,r,null,t);try{W(pt,e)}finally{ft(e)}}}}function Gt(e,t,n,r){if(null!==(n=xn(n=lt(r)))){var u=Ze(n);if(null===u)n=null;else{var o=u.tag;if(13===o){if(null!==(n=et(u)))return n;n=null}else if(3===o){if(u.stateNode.hydrate)return 3===u.tag?u.stateNode.containerInfo:null;n=null}else u!==n&&(n=null)}}e=dt(e,r,n,t);try{W(pt,e)}finally{ft(e)}return null}var Zt={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},en=[\"Webkit\",\"ms\",\"Moz\",\"O\"];function tn(e,t,n){return null==t||\"boolean\"==typeof t||\"\"===t?\"\":n||\"number\"!=typeof t||0===t||Zt.hasOwnProperty(e)&&Zt[e]?(\"\"+t).trim():t+\"px\"}function nn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf(\"--\"),u=tn(n,t[n],r);\"float\"===n&&(n=\"cssFloat\"),r?e.setProperty(n,u):e[n]=u}}Object.keys(Zt).forEach((function(e){en.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Zt[t]=Zt[e]}))}));var rn=u({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function un(e,t){if(t){if(rn[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e,\"\"));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if(\"object\"!=typeof t.dangerouslySetInnerHTML||!(\"__html\"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&\"object\"!=typeof t.style)throw Error(a(62,\"\"))}}function on(e,t){if(-1===e.indexOf(\"-\"))return\"string\"==typeof t.is;switch(e){case\"annotation-xml\":case\"color-profile\":case\"font-face\":case\"font-face-src\":case\"font-face-uri\":case\"font-face-format\":case\"font-face-name\":case\"missing-glyph\":return!1;default:return!0}}var an=Ne;function ln(e,t){var n=Ge(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=A[t];for(var r=0;r<t.length;r++)ht(t[r],e,n)}function sn(){}function cn(e){if(void 0===(e=e||(\"undefined\"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function fn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function dn(e,t){var n,r=fn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=fn(r)}}function pn(){for(var e=window,t=cn();t instanceof e.HTMLIFrameElement;){try{var n=\"string\"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=cn((e=t.contentWindow).document)}return t}function hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(\"input\"===t&&(\"text\"===e.type||\"search\"===e.type||\"tel\"===e.type||\"url\"===e.type||\"password\"===e.type)||\"textarea\"===t||\"true\"===e.contentEditable)}var vn=null,mn=null;function gn(e,t){switch(e){case\"button\":case\"input\":case\"select\":case\"textarea\":return!!t.autoFocus}return!1}function Dn(e,t){return\"textarea\"===e||\"option\"===e||\"noscript\"===e||\"string\"==typeof t.children||\"number\"==typeof t.children||\"object\"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var yn=\"function\"==typeof setTimeout?setTimeout:void 0,bn=\"function\"==typeof clearTimeout?clearTimeout:void 0;function Cn(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function En(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if(\"$\"===n||\"$!\"===n||\"$?\"===n){if(0===t)return e;t--}else\"/$\"===n&&t++}e=e.previousSibling}return null}var wn=Math.random().toString(36).slice(2),Bn=\"__reactInternalInstance$\"+wn,An=\"__reactEventHandlers$\"+wn,Fn=\"__reactContainere$\"+wn;function xn(e){var t=e[Bn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Fn]||n[Bn]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=En(e);null!==e;){if(n=e[Bn])return n;e=En(e)}return t}n=(e=n).parentNode}return null}function kn(e){return!(e=e[Bn]||e[Fn])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function On(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function Sn(e){return e[An]||null}function Tn(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function Pn(e,t){var n=e.stateNode;if(!n)return null;var r=h(n);if(!r)return null;n=r[t];e:switch(t){case\"onClick\":case\"onClickCapture\":case\"onDoubleClick\":case\"onDoubleClickCapture\":case\"onMouseDown\":case\"onMouseDownCapture\":case\"onMouseMove\":case\"onMouseMoveCapture\":case\"onMouseUp\":case\"onMouseUpCapture\":case\"onMouseEnter\":(r=!r.disabled)||(r=!(\"button\"===(e=e.type)||\"input\"===e||\"select\"===e||\"textarea\"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&\"function\"!=typeof n)throw Error(a(231,t,typeof n));return n}function jn(e,t,n){(t=Pn(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=rt(n._dispatchListeners,t),n._dispatchInstances=rt(n._dispatchInstances,e))}function Nn(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=Tn(t);for(t=n.length;0<t--;)jn(n[t],\"captured\",e);for(t=0;t<n.length;t++)jn(n[t],\"bubbled\",e)}}function _n(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=Pn(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=rt(n._dispatchListeners,t),n._dispatchInstances=rt(n._dispatchInstances,e))}function Mn(e){e&&e.dispatchConfig.registrationName&&_n(e._targetInst,null,e)}function Rn(e){ut(e,Nn)}var zn=null,In=null,Ln=null;function Wn(){if(Ln)return Ln;var e,t,n=In,r=n.length,u=\"value\"in zn?zn.value:zn.textContent,o=u.length;for(e=0;e<r&&n[e]===u[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===u[o-t];t++);return Ln=u.slice(e,1<t?1-t:void 0)}function Vn(){return!0}function Un(){return!1}function Hn(e,t,n,r){for(var u in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(u)&&((t=e[u])?this[u]=t(n):\"target\"===u?this.target=r:this[u]=n[u]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?Vn:Un,this.isPropagationStopped=Un,this}function qn(e,t,n,r){if(this.eventPool.length){var u=this.eventPool.pop();return this.call(u,e,t,n,r),u}return new this(e,t,n,r)}function $n(e){if(!(e instanceof this))throw Error(a(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function Kn(e){e.eventPool=[],e.getPooled=qn,e.release=$n}u(Hn.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():\"unknown\"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Vn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():\"unknown\"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Vn)},persist:function(){this.isPersistent=Vn},isPersistent:Un,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=Un,this._dispatchInstances=this._dispatchListeners=null}}),Hn.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},Hn.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var o=new t;return u(o,n.prototype),n.prototype=o,n.prototype.constructor=n,n.Interface=u({},r.Interface,e),n.extend=r.extend,Kn(n),n},Kn(Hn);var Qn=Hn.extend({data:null}),Xn=Hn.extend({data:null}),Jn=[9,13,27,32],Yn=x&&\"CompositionEvent\"in window,Gn=null;x&&\"documentMode\"in document&&(Gn=document.documentMode);var Zn=x&&\"TextEvent\"in window&&!Gn,er=x&&(!Yn||Gn&&8<Gn&&11>=Gn),tr=String.fromCharCode(32),nr={beforeInput:{phasedRegistrationNames:{bubbled:\"onBeforeInput\",captured:\"onBeforeInputCapture\"},dependencies:[\"compositionend\",\"keypress\",\"textInput\",\"paste\"]},compositionEnd:{phasedRegistrationNames:{bubbled:\"onCompositionEnd\",captured:\"onCompositionEndCapture\"},dependencies:\"blur compositionend keydown keypress keyup mousedown\".split(\" \")},compositionStart:{phasedRegistrationNames:{bubbled:\"onCompositionStart\",captured:\"onCompositionStartCapture\"},dependencies:\"blur compositionstart keydown keypress keyup mousedown\".split(\" \")},compositionUpdate:{phasedRegistrationNames:{bubbled:\"onCompositionUpdate\",captured:\"onCompositionUpdateCapture\"},dependencies:\"blur compositionupdate keydown keypress keyup mousedown\".split(\" \")}},rr=!1;function ur(e,t){switch(e){case\"keyup\":return-1!==Jn.indexOf(t.keyCode);case\"keydown\":return 229!==t.keyCode;case\"keypress\":case\"mousedown\":case\"blur\":return!0;default:return!1}}function or(e){return\"object\"==typeof(e=e.detail)&&\"data\"in e?e.data:null}var ar=!1;var ir={eventTypes:nr,extractEvents:function(e,t,n,r){var u;if(Yn)e:{switch(e){case\"compositionstart\":var o=nr.compositionStart;break e;case\"compositionend\":o=nr.compositionEnd;break e;case\"compositionupdate\":o=nr.compositionUpdate;break e}o=void 0}else ar?ur(e,n)&&(o=nr.compositionEnd):\"keydown\"===e&&229===n.keyCode&&(o=nr.compositionStart);return o?(er&&\"ko\"!==n.locale&&(ar||o!==nr.compositionStart?o===nr.compositionEnd&&ar&&(u=Wn()):(In=\"value\"in(zn=r)?zn.value:zn.textContent,ar=!0)),o=Qn.getPooled(o,t,n,r),u?o.data=u:null!==(u=or(n))&&(o.data=u),Rn(o),u=o):u=null,(e=Zn?function(e,t){switch(e){case\"compositionend\":return or(t);case\"keypress\":return 32!==t.which?null:(rr=!0,tr);case\"textInput\":return(e=t.data)===tr&&rr?null:e;default:return null}}(e,n):function(e,t){if(ar)return\"compositionend\"===e||!Yn&&ur(e,t)?(e=Wn(),Ln=In=zn=null,ar=!1,e):null;switch(e){case\"paste\":return null;case\"keypress\":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case\"compositionend\":return er&&\"ko\"!==t.locale?null:t.data;default:return null}}(e,n))?((t=Xn.getPooled(nr.beforeInput,t,n,r)).data=e,Rn(t)):t=null,null===u?t:null===t?u:[u,t]}},lr={color:!0,date:!0,datetime:!0,\"datetime-local\":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function sr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return\"input\"===t?!!lr[e.type]:\"textarea\"===t}var cr={change:{phasedRegistrationNames:{bubbled:\"onChange\",captured:\"onChangeCapture\"},dependencies:\"blur change click focus input keydown keyup selectionchange\".split(\" \")}};function fr(e,t,n){return(e=Hn.getPooled(cr.change,e,t,n)).type=\"change\",P(n),Rn(e),e}var dr=null,pr=null;function hr(e){it(e)}function vr(e){if(Ce(On(e)))return e}function mr(e,t){if(\"change\"===e)return t}var gr=!1;function Dr(){dr&&(dr.detachEvent(\"onpropertychange\",yr),pr=dr=null)}function yr(e){if(\"value\"===e.propertyName&&vr(pr))if(e=fr(pr,e,lt(e)),z)it(e);else{z=!0;try{N(hr,e)}finally{z=!1,L()}}}function br(e,t,n){\"focus\"===e?(Dr(),pr=n,(dr=t).attachEvent(\"onpropertychange\",yr)):\"blur\"===e&&Dr()}function Cr(e){if(\"selectionchange\"===e||\"keyup\"===e||\"keydown\"===e)return vr(pr)}function Er(e,t){if(\"click\"===e)return vr(t)}function wr(e,t){if(\"input\"===e||\"change\"===e)return vr(t)}x&&(gr=st(\"input\")&&(!document.documentMode||9<document.documentMode));var Br={eventTypes:cr,_isInputEventSupported:gr,extractEvents:function(e,t,n,r){var u=t?On(t):window,o=u.nodeName&&u.nodeName.toLowerCase();if(\"select\"===o||\"input\"===o&&\"file\"===u.type)var a=mr;else if(sr(u))if(gr)a=wr;else{a=Cr;var i=br}else(o=u.nodeName)&&\"input\"===o.toLowerCase()&&(\"checkbox\"===u.type||\"radio\"===u.type)&&(a=Er);if(a&&(a=a(e,t)))return fr(a,n,r);i&&i(e,u,t),\"blur\"===e&&(e=u._wrapperState)&&e.controlled&&\"number\"===u.type&&xe(u,\"number\",u.value)}},Ar=Hn.extend({view:null,detail:null}),Fr={Alt:\"altKey\",Control:\"ctrlKey\",Meta:\"metaKey\",Shift:\"shiftKey\"};function xr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Fr[e])&&!!t[e]}function kr(){return xr}var Or=0,Sr=0,Tr=!1,Pr=!1,jr=Ar.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:kr,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if(\"movementX\"in e)return e.movementX;var t=Or;return Or=e.screenX,Tr?\"mousemove\"===e.type?e.screenX-t:0:(Tr=!0,0)},movementY:function(e){if(\"movementY\"in e)return e.movementY;var t=Sr;return Sr=e.screenY,Pr?\"mousemove\"===e.type?e.screenY-t:0:(Pr=!0,0)}}),Nr=jr.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),_r={mouseEnter:{registrationName:\"onMouseEnter\",dependencies:[\"mouseout\",\"mouseover\"]},mouseLeave:{registrationName:\"onMouseLeave\",dependencies:[\"mouseout\",\"mouseover\"]},pointerEnter:{registrationName:\"onPointerEnter\",dependencies:[\"pointerout\",\"pointerover\"]},pointerLeave:{registrationName:\"onPointerLeave\",dependencies:[\"pointerout\",\"pointerover\"]}},Mr={eventTypes:_r,extractEvents:function(e,t,n,r,u){var o=\"mouseover\"===e||\"pointerover\"===e,a=\"mouseout\"===e||\"pointerout\"===e;if(o&&0==(32&u)&&(n.relatedTarget||n.fromElement)||!a&&!o)return null;(o=r.window===r?r:(o=r.ownerDocument)?o.defaultView||o.parentWindow:window,a)?(a=t,null!==(t=(t=n.relatedTarget||n.toElement)?xn(t):null)&&(t!==Ze(t)||5!==t.tag&&6!==t.tag)&&(t=null)):a=null;if(a===t)return null;if(\"mouseout\"===e||\"mouseover\"===e)var i=jr,l=_r.mouseLeave,s=_r.mouseEnter,c=\"mouse\";else\"pointerout\"!==e&&\"pointerover\"!==e||(i=Nr,l=_r.pointerLeave,s=_r.pointerEnter,c=\"pointer\");if(e=null==a?o:On(a),o=null==t?o:On(t),(l=i.getPooled(l,a,n,r)).type=c+\"leave\",l.target=e,l.relatedTarget=o,(n=i.getPooled(s,t,n,r)).type=c+\"enter\",n.target=o,n.relatedTarget=e,c=t,(r=a)&&c)e:{for(s=c,a=0,e=i=r;e;e=Tn(e))a++;for(e=0,t=s;t;t=Tn(t))e++;for(;0<a-e;)i=Tn(i),a--;for(;0<e-a;)s=Tn(s),e--;for(;a--;){if(i===s||i===s.alternate)break e;i=Tn(i),s=Tn(s)}i=null}else i=null;for(s=i,i=[];r&&r!==s&&(null===(a=r.alternate)||a!==s);)i.push(r),r=Tn(r);for(r=[];c&&c!==s&&(null===(a=c.alternate)||a!==s);)r.push(c),c=Tn(c);for(c=0;c<i.length;c++)_n(i[c],\"bubbled\",l);for(c=r.length;0<c--;)_n(r[c],\"captured\",n);return 0==(64&u)?[l]:[l,n]}};var Rr=\"function\"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},zr=Object.prototype.hasOwnProperty;function Ir(e,t){if(Rr(e,t))return!0;if(\"object\"!=typeof e||null===e||\"object\"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!zr.call(t,n[r])||!Rr(e[n[r]],t[n[r]]))return!1;return!0}var Lr=x&&\"documentMode\"in document&&11>=document.documentMode,Wr={select:{phasedRegistrationNames:{bubbled:\"onSelect\",captured:\"onSelectCapture\"},dependencies:\"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange\".split(\" \")}},Vr=null,Ur=null,Hr=null,qr=!1;function $r(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return qr||null==Vr||Vr!==cn(n)?null:(\"selectionStart\"in(n=Vr)&&hn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},Hr&&Ir(Hr,n)?null:(Hr=n,(e=Hn.getPooled(Wr.select,Ur,e,t)).type=\"select\",e.target=Vr,Rn(e),e))}var Kr={eventTypes:Wr,extractEvents:function(e,t,n,r,u,o){if(!(o=!(u=o||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument)))){e:{u=Ge(u),o=A.onSelect;for(var a=0;a<o.length;a++)if(!u.has(o[a])){u=!1;break e}u=!0}o=!u}if(o)return null;switch(u=t?On(t):window,e){case\"focus\":(sr(u)||\"true\"===u.contentEditable)&&(Vr=u,Ur=t,Hr=null);break;case\"blur\":Hr=Ur=Vr=null;break;case\"mousedown\":qr=!0;break;case\"contextmenu\":case\"mouseup\":case\"dragend\":return qr=!1,$r(n,r);case\"selectionchange\":if(Lr)break;case\"keydown\":case\"keyup\":return $r(n,r)}return null}},Qr=Hn.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Xr=Hn.extend({clipboardData:function(e){return\"clipboardData\"in e?e.clipboardData:window.clipboardData}}),Jr=Ar.extend({relatedTarget:null});function Yr(e){var t=e.keyCode;return\"charCode\"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var Gr={Esc:\"Escape\",Spacebar:\" \",Left:\"ArrowLeft\",Up:\"ArrowUp\",Right:\"ArrowRight\",Down:\"ArrowDown\",Del:\"Delete\",Win:\"OS\",Menu:\"ContextMenu\",Apps:\"ContextMenu\",Scroll:\"ScrollLock\",MozPrintableKey:\"Unidentified\"},Zr={8:\"Backspace\",9:\"Tab\",12:\"Clear\",13:\"Enter\",16:\"Shift\",17:\"Control\",18:\"Alt\",19:\"Pause\",20:\"CapsLock\",27:\"Escape\",32:\" \",33:\"PageUp\",34:\"PageDown\",35:\"End\",36:\"Home\",37:\"ArrowLeft\",38:\"ArrowUp\",39:\"ArrowRight\",40:\"ArrowDown\",45:\"Insert\",46:\"Delete\",112:\"F1\",113:\"F2\",114:\"F3\",115:\"F4\",116:\"F5\",117:\"F6\",118:\"F7\",119:\"F8\",120:\"F9\",121:\"F10\",122:\"F11\",123:\"F12\",144:\"NumLock\",145:\"ScrollLock\",224:\"Meta\"},eu=Ar.extend({key:function(e){if(e.key){var t=Gr[e.key]||e.key;if(\"Unidentified\"!==t)return t}return\"keypress\"===e.type?13===(e=Yr(e))?\"Enter\":String.fromCharCode(e):\"keydown\"===e.type||\"keyup\"===e.type?Zr[e.keyCode]||\"Unidentified\":\"\"},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:kr,charCode:function(e){return\"keypress\"===e.type?Yr(e):0},keyCode:function(e){return\"keydown\"===e.type||\"keyup\"===e.type?e.keyCode:0},which:function(e){return\"keypress\"===e.type?Yr(e):\"keydown\"===e.type||\"keyup\"===e.type?e.keyCode:0}}),tu=jr.extend({dataTransfer:null}),nu=Ar.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:kr}),ru=Hn.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),uu=jr.extend({deltaX:function(e){return\"deltaX\"in e?e.deltaX:\"wheelDeltaX\"in e?-e.wheelDeltaX:0},deltaY:function(e){return\"deltaY\"in e?e.deltaY:\"wheelDeltaY\"in e?-e.wheelDeltaY:\"wheelDelta\"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),ou={eventTypes:Rt,extractEvents:function(e,t,n,r){var u=zt.get(e);if(!u)return null;switch(e){case\"keypress\":if(0===Yr(n))return null;case\"keydown\":case\"keyup\":e=eu;break;case\"blur\":case\"focus\":e=Jr;break;case\"click\":if(2===n.button)return null;case\"auxclick\":case\"dblclick\":case\"mousedown\":case\"mousemove\":case\"mouseup\":case\"mouseout\":case\"mouseover\":case\"contextmenu\":e=jr;break;case\"drag\":case\"dragend\":case\"dragenter\":case\"dragexit\":case\"dragleave\":case\"dragover\":case\"dragstart\":case\"drop\":e=tu;break;case\"touchcancel\":case\"touchend\":case\"touchmove\":case\"touchstart\":e=nu;break;case $e:case Ke:case Qe:e=Qr;break;case Xe:e=ru;break;case\"scroll\":e=Ar;break;case\"wheel\":e=uu;break;case\"copy\":case\"cut\":case\"paste\":e=Xr;break;case\"gotpointercapture\":case\"lostpointercapture\":case\"pointercancel\":case\"pointerdown\":case\"pointermove\":case\"pointerout\":case\"pointerover\":case\"pointerup\":e=Nr;break;default:e=Hn}return Rn(t=e.getPooled(u,t,n,r)),t}};if(D)throw Error(a(101));D=Array.prototype.slice.call(\"ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin\".split(\" \")),b(),h=Sn,v=kn,m=On,F({SimpleEventPlugin:ou,EnterLeaveEventPlugin:Mr,ChangeEventPlugin:Br,SelectEventPlugin:Kr,BeforeInputEventPlugin:ir});var au=[],iu=-1;function lu(e){0>iu||(e.current=au[iu],au[iu]=null,iu--)}function su(e,t){iu++,au[iu]=e.current,e.current=t}var cu={},fu={current:cu},du={current:!1},pu=cu;function hu(e,t){var n=e.type.contextTypes;if(!n)return cu;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var u,o={};for(u in n)o[u]=t[u];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function vu(e){return null!=(e=e.childContextTypes)}function mu(){lu(du),lu(fu)}function gu(e,t,n){if(fu.current!==cu)throw Error(a(168));su(fu,t),su(du,n)}function Du(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,\"function\"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw Error(a(108,me(t)||\"Unknown\",o));return u({},n,{},r)}function yu(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||cu,pu=fu.current,su(fu,e),su(du,du.current),!0}function bu(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=Du(e,t,pu),r.__reactInternalMemoizedMergedChildContext=e,lu(du),lu(fu),su(fu,e)):lu(du),su(du,n)}var Cu=o.unstable_runWithPriority,Eu=o.unstable_scheduleCallback,wu=o.unstable_cancelCallback,Bu=o.unstable_requestPaint,Au=o.unstable_now,Fu=o.unstable_getCurrentPriorityLevel,xu=o.unstable_ImmediatePriority,ku=o.unstable_UserBlockingPriority,Ou=o.unstable_NormalPriority,Su=o.unstable_LowPriority,Tu=o.unstable_IdlePriority,Pu={},ju=o.unstable_shouldYield,Nu=void 0!==Bu?Bu:function(){},_u=null,Mu=null,Ru=!1,zu=Au(),Iu=1e4>zu?Au:function(){return Au()-zu};function Lu(){switch(Fu()){case xu:return 99;case ku:return 98;case Ou:return 97;case Su:return 96;case Tu:return 95;default:throw Error(a(332))}}function Wu(e){switch(e){case 99:return xu;case 98:return ku;case 97:return Ou;case 96:return Su;case 95:return Tu;default:throw Error(a(332))}}function Vu(e,t){return e=Wu(e),Cu(e,t)}function Uu(e,t,n){return e=Wu(e),Eu(e,t,n)}function Hu(e){return null===_u?(_u=[e],Mu=Eu(xu,$u)):_u.push(e),Pu}function qu(){if(null!==Mu){var e=Mu;Mu=null,wu(e)}$u()}function $u(){if(!Ru&&null!==_u){Ru=!0;var e=0;try{var t=_u;Vu(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),_u=null}catch(t){throw null!==_u&&(_u=_u.slice(e+1)),Eu(xu,qu),t}finally{Ru=!1}}}function Ku(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function Qu(e,t){if(e&&e.defaultProps)for(var n in t=u({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var Xu={current:null},Ju=null,Yu=null,Gu=null;function Zu(){Gu=Yu=Ju=null}function eo(e){var t=Xu.current;lu(Xu),e.type._context._currentValue=t}function to(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t);else{if(!(null!==n&&n.childExpirationTime<t))break;n.childExpirationTime=t}e=e.return}}function no(e,t){Ju=e,Gu=Yu=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(Sa=!0),e.firstContext=null)}function ro(e,t){if(Gu!==e&&!1!==t&&0!==t)if(\"number\"==typeof t&&1073741823!==t||(Gu=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Yu){if(null===Ju)throw Error(a(308));Yu=t,Ju.dependencies={expirationTime:0,firstContext:t,responders:null}}else Yu=Yu.next=t;return e._currentValue}var uo=!1;function oo(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function ao(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function io(e,t){return(e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null}).next=e}function lo(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function so(e,t){var n=e.alternate;null!==n&&ao(n,e),null===(n=(e=e.updateQueue).baseQueue)?(e.baseQueue=t.next=t,t.next=t):(t.next=n.next,n.next=t)}function co(e,t,n,r){var o=e.updateQueue;uo=!1;var a=o.baseQueue,i=o.shared.pending;if(null!==i){if(null!==a){var l=a.next;a.next=i.next,i.next=l}a=i,o.shared.pending=null,null!==(l=e.alternate)&&(null!==(l=l.updateQueue)&&(l.baseQueue=i))}if(null!==a){l=a.next;var s=o.baseState,c=0,f=null,d=null,p=null;if(null!==l)for(var h=l;;){if((i=h.expirationTime)<r){var v={expirationTime:h.expirationTime,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null};null===p?(d=p=v,f=s):p=p.next=v,i>c&&(c=i)}else{null!==p&&(p=p.next={expirationTime:1073741823,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null}),ol(i,h.suspenseConfig);e:{var m=e,g=h;switch(i=t,v=n,g.tag){case 1:if(\"function\"==typeof(m=g.payload)){s=m.call(v,s,i);break e}s=m;break e;case 3:m.effectTag=-4097&m.effectTag|64;case 0:if(null==(i=\"function\"==typeof(m=g.payload)?m.call(v,s,i):m))break e;s=u({},s,i);break e;case 2:uo=!0}}null!==h.callback&&(e.effectTag|=32,null===(i=o.effects)?o.effects=[h]:i.push(h))}if(null===(h=h.next)||h===l){if(null===(i=o.shared.pending))break;h=a.next=i.next,i.next=l,o.baseQueue=a=i,o.shared.pending=null}}null===p?f=s:p.next=d,o.baseState=f,o.baseQueue=p,al(c),e.expirationTime=c,e.memoizedState=s}}function fo(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],u=r.callback;if(null!==u){if(r.callback=null,r=u,u=n,\"function\"!=typeof r)throw Error(a(191,r));r.call(u)}}}var po=J.ReactCurrentBatchConfig,ho=(new r.Component).refs;function vo(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:u({},t,n),e.memoizedState=n,0===e.expirationTime&&(e.updateQueue.baseState=n)}var mo={isMounted:function(e){return!!(e=e._reactInternalFiber)&&Ze(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=$i(),u=po.suspense;(u=io(r=Ki(r,e,u),u)).payload=t,null!=n&&(u.callback=n),lo(e,u),Qi(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=$i(),u=po.suspense;(u=io(r=Ki(r,e,u),u)).tag=1,u.payload=t,null!=n&&(u.callback=n),lo(e,u),Qi(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=$i(),r=po.suspense;(r=io(n=Ki(n,e,r),r)).tag=2,null!=t&&(r.callback=t),lo(e,r),Qi(e,n)}};function go(e,t,n,r,u,o,a){return\"function\"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!t.prototype||!t.prototype.isPureReactComponent||(!Ir(n,r)||!Ir(u,o))}function Do(e,t,n){var r=!1,u=cu,o=t.contextType;return\"object\"==typeof o&&null!==o?o=ro(o):(u=vu(t)?pu:fu.current,o=(r=null!=(r=t.contextTypes))?hu(e,u):cu),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=mo,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=u,e.__reactInternalMemoizedMaskedChildContext=o),t}function yo(e,t,n,r){e=t.state,\"function\"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),\"function\"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&mo.enqueueReplaceState(t,t.state,null)}function bo(e,t,n,r){var u=e.stateNode;u.props=n,u.state=e.memoizedState,u.refs=ho,oo(e);var o=t.contextType;\"object\"==typeof o&&null!==o?u.context=ro(o):(o=vu(t)?pu:fu.current,u.context=hu(e,o)),co(e,n,u,r),u.state=e.memoizedState,\"function\"==typeof(o=t.getDerivedStateFromProps)&&(vo(e,t,o,n),u.state=e.memoizedState),\"function\"==typeof t.getDerivedStateFromProps||\"function\"==typeof u.getSnapshotBeforeUpdate||\"function\"!=typeof u.UNSAFE_componentWillMount&&\"function\"!=typeof u.componentWillMount||(t=u.state,\"function\"==typeof u.componentWillMount&&u.componentWillMount(),\"function\"==typeof u.UNSAFE_componentWillMount&&u.UNSAFE_componentWillMount(),t!==u.state&&mo.enqueueReplaceState(u,u.state,null),co(e,n,u,r),u.state=e.memoizedState),\"function\"==typeof u.componentDidMount&&(e.effectTag|=4)}var Co=Array.isArray;function Eo(e,t,n){if(null!==(e=n.ref)&&\"function\"!=typeof e&&\"object\"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var u=\"\"+e;return null!==t&&null!==t.ref&&\"function\"==typeof t.ref&&t.ref._stringRef===u?t.ref:((t=function(e){var t=r.refs;t===ho&&(t=r.refs={}),null===e?delete t[u]:t[u]=e})._stringRef=u,t)}if(\"string\"!=typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function wo(e,t){if(\"textarea\"!==e.type)throw Error(a(31,\"[object Object]\"===Object.prototype.toString.call(t)?\"object with keys {\"+Object.keys(t).join(\", \")+\"}\":t,\"\"))}function Bo(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function u(e,t){return(e=Fl(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.effectTag=2,n):r:(t.effectTag=2,n):n}function i(t){return e&&null===t.alternate&&(t.effectTag=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Ol(n,e.mode,r)).return=e,t):((t=u(t,n)).return=e,t)}function s(e,t,n,r){return null!==t&&t.elementType===n.type?((r=u(t,n.props)).ref=Eo(e,t,n),r.return=e,r):((r=xl(n.type,n.key,n.props,null,e.mode,r)).ref=Eo(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Sl(n,e.mode,r)).return=e,t):((t=u(t,n.children||[])).return=e,t)}function f(e,t,n,r,o){return null===t||7!==t.tag?((t=kl(n,e.mode,r,o)).return=e,t):((t=u(t,n)).return=e,t)}function d(e,t,n){if(\"string\"==typeof t||\"number\"==typeof t)return(t=Ol(\"\"+t,e.mode,n)).return=e,t;if(\"object\"==typeof t&&null!==t){switch(t.$$typeof){case ee:return(n=xl(t.type,t.key,t.props,null,e.mode,n)).ref=Eo(e,null,t),n.return=e,n;case te:return(t=Sl(t,e.mode,n)).return=e,t}if(Co(t)||ve(t))return(t=kl(t,e.mode,n,null)).return=e,t;wo(e,t)}return null}function p(e,t,n,r){var u=null!==t?t.key:null;if(\"string\"==typeof n||\"number\"==typeof n)return null!==u?null:l(e,t,\"\"+n,r);if(\"object\"==typeof n&&null!==n){switch(n.$$typeof){case ee:return n.key===u?n.type===ne?f(e,t,n.props.children,r,u):s(e,t,n,r):null;case te:return n.key===u?c(e,t,n,r):null}if(Co(n)||ve(n))return null!==u?null:f(e,t,n,r,null);wo(e,n)}return null}function h(e,t,n,r,u){if(\"string\"==typeof r||\"number\"==typeof r)return l(t,e=e.get(n)||null,\"\"+r,u);if(\"object\"==typeof r&&null!==r){switch(r.$$typeof){case ee:return e=e.get(null===r.key?n:r.key)||null,r.type===ne?f(t,e,r.props.children,u,r.key):s(t,e,r,u);case te:return c(t,e=e.get(null===r.key?n:r.key)||null,r,u)}if(Co(r)||ve(r))return f(t,e=e.get(n)||null,r,u,null);wo(t,r)}return null}function v(u,a,i,l){for(var s=null,c=null,f=a,v=a=0,m=null;null!==f&&v<i.length;v++){f.index>v?(m=f,f=null):m=f.sibling;var g=p(u,f,i[v],l);if(null===g){null===f&&(f=m);break}e&&f&&null===g.alternate&&t(u,f),a=o(g,a,v),null===c?s=g:c.sibling=g,c=g,f=m}if(v===i.length)return n(u,f),s;if(null===f){for(;v<i.length;v++)null!==(f=d(u,i[v],l))&&(a=o(f,a,v),null===c?s=f:c.sibling=f,c=f);return s}for(f=r(u,f);v<i.length;v++)null!==(m=h(f,u,v,i[v],l))&&(e&&null!==m.alternate&&f.delete(null===m.key?v:m.key),a=o(m,a,v),null===c?s=m:c.sibling=m,c=m);return e&&f.forEach((function(e){return t(u,e)})),s}function m(u,i,l,s){var c=ve(l);if(\"function\"!=typeof c)throw Error(a(150));if(null==(l=c.call(l)))throw Error(a(151));for(var f=c=null,v=i,m=i=0,g=null,D=l.next();null!==v&&!D.done;m++,D=l.next()){v.index>m?(g=v,v=null):g=v.sibling;var y=p(u,v,D.value,s);if(null===y){null===v&&(v=g);break}e&&v&&null===y.alternate&&t(u,v),i=o(y,i,m),null===f?c=y:f.sibling=y,f=y,v=g}if(D.done)return n(u,v),c;if(null===v){for(;!D.done;m++,D=l.next())null!==(D=d(u,D.value,s))&&(i=o(D,i,m),null===f?c=D:f.sibling=D,f=D);return c}for(v=r(u,v);!D.done;m++,D=l.next())null!==(D=h(v,u,m,D.value,s))&&(e&&null!==D.alternate&&v.delete(null===D.key?m:D.key),i=o(D,i,m),null===f?c=D:f.sibling=D,f=D);return e&&v.forEach((function(e){return t(u,e)})),c}return function(e,r,o,l){var s=\"object\"==typeof o&&null!==o&&o.type===ne&&null===o.key;s&&(o=o.props.children);var c=\"object\"==typeof o&&null!==o;if(c)switch(o.$$typeof){case ee:e:{for(c=o.key,s=r;null!==s;){if(s.key===c){switch(s.tag){case 7:if(o.type===ne){n(e,s.sibling),(r=u(s,o.props.children)).return=e,e=r;break e}break;default:if(s.elementType===o.type){n(e,s.sibling),(r=u(s,o.props)).ref=Eo(e,s,o),r.return=e,e=r;break e}}n(e,s);break}t(e,s),s=s.sibling}o.type===ne?((r=kl(o.props.children,e.mode,l,o.key)).return=e,e=r):((l=xl(o.type,o.key,o.props,null,e.mode,l)).ref=Eo(e,r,o),l.return=e,e=l)}return i(e);case te:e:{for(s=o.key;null!==r;){if(r.key===s){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),(r=u(r,o.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Sl(o,e.mode,l)).return=e,e=r}return i(e)}if(\"string\"==typeof o||\"number\"==typeof o)return o=\"\"+o,null!==r&&6===r.tag?(n(e,r.sibling),(r=u(r,o)).return=e,e=r):(n(e,r),(r=Ol(o,e.mode,l)).return=e,e=r),i(e);if(Co(o))return v(e,r,o,l);if(ve(o))return m(e,r,o,l);if(c&&wo(e,o),void 0===o&&!s)switch(e.tag){case 1:case 0:throw e=e.type,Error(a(152,e.displayName||e.name||\"Component\"))}return n(e,r)}}var Ao=Bo(!0),Fo=Bo(!1),xo={},ko={current:xo},Oo={current:xo},So={current:xo};function To(e){if(e===xo)throw Error(a(174));return e}function Po(e,t){switch(su(So,t),su(Oo,e),su(ko,xo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Re(null,\"\");break;default:t=Re(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}lu(ko),su(ko,t)}function jo(){lu(ko),lu(Oo),lu(So)}function No(e){To(So.current);var t=To(ko.current),n=Re(t,e.type);t!==n&&(su(Oo,e),su(ko,n))}function _o(e){Oo.current===e&&(lu(ko),lu(Oo))}var Mo={current:0};function Ro(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||\"$?\"===n.data||\"$!\"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.effectTag))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function zo(e,t){return{responder:e,props:t}}var Io=J.ReactCurrentDispatcher,Lo=J.ReactCurrentBatchConfig,Wo=0,Vo=null,Uo=null,Ho=null,qo=!1;function $o(){throw Error(a(321))}function Ko(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Rr(e[n],t[n]))return!1;return!0}function Qo(e,t,n,r,u,o){if(Wo=o,Vo=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,Io.current=null===e||null===e.memoizedState?ga:Da,e=n(r,u),t.expirationTime===Wo){o=0;do{if(t.expirationTime=0,!(25>o))throw Error(a(301));o+=1,Ho=Uo=null,t.updateQueue=null,Io.current=ya,e=n(r,u)}while(t.expirationTime===Wo)}if(Io.current=ma,t=null!==Uo&&null!==Uo.next,Wo=0,Ho=Uo=Vo=null,qo=!1,t)throw Error(a(300));return e}function Xo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Ho?Vo.memoizedState=Ho=e:Ho=Ho.next=e,Ho}function Jo(){if(null===Uo){var e=Vo.alternate;e=null!==e?e.memoizedState:null}else e=Uo.next;var t=null===Ho?Vo.memoizedState:Ho.next;if(null!==t)Ho=t,Uo=e;else{if(null===e)throw Error(a(310));e={memoizedState:(Uo=e).memoizedState,baseState:Uo.baseState,baseQueue:Uo.baseQueue,queue:Uo.queue,next:null},null===Ho?Vo.memoizedState=Ho=e:Ho=Ho.next=e}return Ho}function Yo(e,t){return\"function\"==typeof t?t(e):t}function Go(e){var t=Jo(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=Uo,u=r.baseQueue,o=n.pending;if(null!==o){if(null!==u){var i=u.next;u.next=o.next,o.next=i}r.baseQueue=u=o,n.pending=null}if(null!==u){u=u.next,r=r.baseState;var l=i=o=null,s=u;do{var c=s.expirationTime;if(c<Wo){var f={expirationTime:s.expirationTime,suspenseConfig:s.suspenseConfig,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null};null===l?(i=l=f,o=r):l=l.next=f,c>Vo.expirationTime&&(Vo.expirationTime=c,al(c))}else null!==l&&(l=l.next={expirationTime:1073741823,suspenseConfig:s.suspenseConfig,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null}),ol(c,s.suspenseConfig),r=s.eagerReducer===e?s.eagerState:e(r,s.action);s=s.next}while(null!==s&&s!==u);null===l?o=r:l.next=i,Rr(r,t.memoizedState)||(Sa=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function Zo(e){var t=Jo(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,u=n.pending,o=t.memoizedState;if(null!==u){n.pending=null;var i=u=u.next;do{o=e(o,i.action),i=i.next}while(i!==u);Rr(o,t.memoizedState)||(Sa=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function ea(e){var t=Xo();return\"function\"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:Yo,lastRenderedState:e}).dispatch=va.bind(null,Vo,e),[t.memoizedState,e]}function ta(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Vo.updateQueue)?(t={lastEffect:null},Vo.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function na(){return Jo().memoizedState}function ra(e,t,n,r){var u=Xo();Vo.effectTag|=e,u.memoizedState=ta(1|t,n,void 0,void 0===r?null:r)}function ua(e,t,n,r){var u=Jo();r=void 0===r?null:r;var o=void 0;if(null!==Uo){var a=Uo.memoizedState;if(o=a.destroy,null!==r&&Ko(r,a.deps))return void ta(t,n,o,r)}Vo.effectTag|=e,u.memoizedState=ta(1|t,n,o,r)}function oa(e,t){return ra(516,4,e,t)}function aa(e,t){return ua(516,4,e,t)}function ia(e,t){return ua(4,2,e,t)}function la(e,t){return\"function\"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function sa(e,t,n){return n=null!=n?n.concat([e]):null,ua(4,2,la.bind(null,t,e),n)}function ca(){}function fa(e,t){return Xo().memoizedState=[e,void 0===t?null:t],e}function da(e,t){var n=Jo();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Ko(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function pa(e,t){var n=Jo();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Ko(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function ha(e,t,n){var r=Lu();Vu(98>r?98:r,(function(){e(!0)})),Vu(97<r?97:r,(function(){var r=Lo.suspense;Lo.suspense=void 0===t?null:t;try{e(!1),n()}finally{Lo.suspense=r}}))}function va(e,t,n){var r=$i(),u=po.suspense;u={expirationTime:r=Ki(r,e,u),suspenseConfig:u,action:n,eagerReducer:null,eagerState:null,next:null};var o=t.pending;if(null===o?u.next=u:(u.next=o.next,o.next=u),t.pending=u,o=e.alternate,e===Vo||null!==o&&o===Vo)qo=!0,u.expirationTime=Wo,Vo.expirationTime=Wo;else{if(0===e.expirationTime&&(null===o||0===o.expirationTime)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,i=o(a,n);if(u.eagerReducer=o,u.eagerState=i,Rr(i,a))return}catch(e){}Qi(e,r)}}var ma={readContext:ro,useCallback:$o,useContext:$o,useEffect:$o,useImperativeHandle:$o,useLayoutEffect:$o,useMemo:$o,useReducer:$o,useRef:$o,useState:$o,useDebugValue:$o,useResponder:$o,useDeferredValue:$o,useTransition:$o},ga={readContext:ro,useCallback:fa,useContext:ro,useEffect:oa,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,ra(4,2,la.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ra(4,2,e,t)},useMemo:function(e,t){var n=Xo();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Xo();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=va.bind(null,Vo,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Xo().memoizedState=e},useState:ea,useDebugValue:ca,useResponder:zo,useDeferredValue:function(e,t){var n=ea(e),r=n[0],u=n[1];return oa((function(){var n=Lo.suspense;Lo.suspense=void 0===t?null:t;try{u(e)}finally{Lo.suspense=n}}),[e,t]),r},useTransition:function(e){var t=ea(!1),n=t[0];return t=t[1],[fa(ha.bind(null,t,e),[t,e]),n]}},Da={readContext:ro,useCallback:da,useContext:ro,useEffect:aa,useImperativeHandle:sa,useLayoutEffect:ia,useMemo:pa,useReducer:Go,useRef:na,useState:function(){return Go(Yo)},useDebugValue:ca,useResponder:zo,useDeferredValue:function(e,t){var n=Go(Yo),r=n[0],u=n[1];return aa((function(){var n=Lo.suspense;Lo.suspense=void 0===t?null:t;try{u(e)}finally{Lo.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Go(Yo),n=t[0];return t=t[1],[da(ha.bind(null,t,e),[t,e]),n]}},ya={readContext:ro,useCallback:da,useContext:ro,useEffect:aa,useImperativeHandle:sa,useLayoutEffect:ia,useMemo:pa,useReducer:Zo,useRef:na,useState:function(){return Zo(Yo)},useDebugValue:ca,useResponder:zo,useDeferredValue:function(e,t){var n=Zo(Yo),r=n[0],u=n[1];return aa((function(){var n=Lo.suspense;Lo.suspense=void 0===t?null:t;try{u(e)}finally{Lo.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Zo(Yo),n=t[0];return t=t[1],[da(ha.bind(null,t,e),[t,e]),n]}},ba=null,Ca=null,Ea=!1;function wa(e,t){var n=Bl(5,null,null,0);n.elementType=\"DELETED\",n.type=\"DELETED\",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Ba(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=\"\"===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function Aa(e){if(Ea){var t=Ca;if(t){var n=t;if(!Ba(e,t)){if(!(t=Cn(n.nextSibling))||!Ba(e,t))return e.effectTag=-1025&e.effectTag|2,Ea=!1,void(ba=e);wa(ba,n)}ba=e,Ca=Cn(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,Ea=!1,ba=e}}function Fa(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ba=e}function xa(e){if(e!==ba)return!1;if(!Ea)return Fa(e),Ea=!0,!1;var t=e.type;if(5!==e.tag||\"head\"!==t&&\"body\"!==t&&!Dn(t,e.memoizedProps))for(t=Ca;t;)wa(e,t),t=Cn(t.nextSibling);if(Fa(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if(\"/$\"===n){if(0===t){Ca=Cn(e.nextSibling);break e}t--}else\"$\"!==n&&\"$!\"!==n&&\"$?\"!==n||t++}e=e.nextSibling}Ca=null}}else Ca=ba?Cn(e.stateNode.nextSibling):null;return!0}function ka(){Ca=ba=null,Ea=!1}var Oa=J.ReactCurrentOwner,Sa=!1;function Ta(e,t,n,r){t.child=null===e?Fo(t,null,n,r):Ao(t,e.child,n,r)}function Pa(e,t,n,r,u){n=n.render;var o=t.ref;return no(t,u),r=Qo(e,t,n,r,o,u),null===e||Sa?(t.effectTag|=1,Ta(e,t,r,u),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=u&&(e.expirationTime=0),Qa(e,t,u))}function ja(e,t,n,r,u,o){if(null===e){var a=n.type;return\"function\"!=typeof a||Al(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=xl(n.type,null,r,null,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Na(e,t,a,r,u,o))}return a=e.child,u<o&&(u=a.memoizedProps,(n=null!==(n=n.compare)?n:Ir)(u,r)&&e.ref===t.ref)?Qa(e,t,o):(t.effectTag|=1,(e=Fl(a,r)).ref=t.ref,e.return=t,t.child=e)}function Na(e,t,n,r,u,o){return null!==e&&Ir(e.memoizedProps,r)&&e.ref===t.ref&&(Sa=!1,u<o)?(t.expirationTime=e.expirationTime,Qa(e,t,o)):Ma(e,t,n,r,o)}function _a(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Ma(e,t,n,r,u){var o=vu(n)?pu:fu.current;return o=hu(t,o),no(t,u),n=Qo(e,t,n,r,o,u),null===e||Sa?(t.effectTag|=1,Ta(e,t,n,u),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=u&&(e.expirationTime=0),Qa(e,t,u))}function Ra(e,t,n,r,u){if(vu(n)){var o=!0;yu(t)}else o=!1;if(no(t,u),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),Do(t,n,r),bo(t,n,r,u),r=!0;else if(null===e){var a=t.stateNode,i=t.memoizedProps;a.props=i;var l=a.context,s=n.contextType;\"object\"==typeof s&&null!==s?s=ro(s):s=hu(t,s=vu(n)?pu:fu.current);var c=n.getDerivedStateFromProps,f=\"function\"==typeof c||\"function\"==typeof a.getSnapshotBeforeUpdate;f||\"function\"!=typeof a.UNSAFE_componentWillReceiveProps&&\"function\"!=typeof a.componentWillReceiveProps||(i!==r||l!==s)&&yo(t,a,r,s),uo=!1;var d=t.memoizedState;a.state=d,co(t,r,a,u),l=t.memoizedState,i!==r||d!==l||du.current||uo?(\"function\"==typeof c&&(vo(t,n,c,r),l=t.memoizedState),(i=uo||go(t,n,i,r,d,l,s))?(f||\"function\"!=typeof a.UNSAFE_componentWillMount&&\"function\"!=typeof a.componentWillMount||(\"function\"==typeof a.componentWillMount&&a.componentWillMount(),\"function\"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),\"function\"==typeof a.componentDidMount&&(t.effectTag|=4)):(\"function\"==typeof a.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=s,r=i):(\"function\"==typeof a.componentDidMount&&(t.effectTag|=4),r=!1)}else a=t.stateNode,ao(e,t),i=t.memoizedProps,a.props=t.type===t.elementType?i:Qu(t.type,i),l=a.context,\"object\"==typeof(s=n.contextType)&&null!==s?s=ro(s):s=hu(t,s=vu(n)?pu:fu.current),(f=\"function\"==typeof(c=n.getDerivedStateFromProps)||\"function\"==typeof a.getSnapshotBeforeUpdate)||\"function\"!=typeof a.UNSAFE_componentWillReceiveProps&&\"function\"!=typeof a.componentWillReceiveProps||(i!==r||l!==s)&&yo(t,a,r,s),uo=!1,l=t.memoizedState,a.state=l,co(t,r,a,u),d=t.memoizedState,i!==r||l!==d||du.current||uo?(\"function\"==typeof c&&(vo(t,n,c,r),d=t.memoizedState),(c=uo||go(t,n,i,r,l,d,s))?(f||\"function\"!=typeof a.UNSAFE_componentWillUpdate&&\"function\"!=typeof a.componentWillUpdate||(\"function\"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,d,s),\"function\"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,d,s)),\"function\"==typeof a.componentDidUpdate&&(t.effectTag|=4),\"function\"==typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=256)):(\"function\"!=typeof a.componentDidUpdate||i===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=4),\"function\"!=typeof a.getSnapshotBeforeUpdate||i===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=d),a.props=r,a.state=d,a.context=s,r=c):(\"function\"!=typeof a.componentDidUpdate||i===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=4),\"function\"!=typeof a.getSnapshotBeforeUpdate||i===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=256),r=!1);return za(e,t,n,r,o,u)}function za(e,t,n,r,u,o){_a(e,t);var a=0!=(64&t.effectTag);if(!r&&!a)return u&&bu(t,n,!1),Qa(e,t,o);r=t.stateNode,Oa.current=t;var i=a&&\"function\"!=typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&a?(t.child=Ao(t,e.child,null,o),t.child=Ao(t,null,i,o)):Ta(e,t,i,o),t.memoizedState=r.state,u&&bu(t,n,!0),t.child}function Ia(e){var t=e.stateNode;t.pendingContext?gu(0,t.pendingContext,t.pendingContext!==t.context):t.context&&gu(0,t.context,!1),Po(e,t.containerInfo)}var La,Wa,Va,Ua={dehydrated:null,retryTime:0};function Ha(e,t,n){var r,u=t.mode,o=t.pendingProps,a=Mo.current,i=!1;if((r=0!=(64&t.effectTag))||(r=0!=(2&a)&&(null===e||null!==e.memoizedState)),r?(i=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(a|=1),su(Mo,1&a),null===e){if(void 0!==o.fallback&&Aa(t),i){if(i=o.fallback,(o=kl(null,u,0,null)).return=t,0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,o.child=e;null!==e;)e.return=o,e=e.sibling;return(n=kl(i,u,n,null)).return=t,o.sibling=n,t.memoizedState=Ua,t.child=o,n}return u=o.children,t.memoizedState=null,t.child=Fo(t,null,u,n)}if(null!==e.memoizedState){if(u=(e=e.child).sibling,i){if(o=o.fallback,(n=Fl(e,e.pendingProps)).return=t,0==(2&t.mode)&&(i=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(n.child=i;null!==i;)i.return=n,i=i.sibling;return(u=Fl(u,o)).return=t,n.sibling=u,n.childExpirationTime=0,t.memoizedState=Ua,t.child=n,u}return n=Ao(t,e.child,o.children,n),t.memoizedState=null,t.child=n}if(e=e.child,i){if(i=o.fallback,(o=kl(null,u,0,null)).return=t,o.child=e,null!==e&&(e.return=o),0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,o.child=e;null!==e;)e.return=o,e=e.sibling;return(n=kl(i,u,n,null)).return=t,o.sibling=n,n.effectTag|=2,o.childExpirationTime=0,t.memoizedState=Ua,t.child=o,n}return t.memoizedState=null,t.child=Ao(t,e,o.children,n)}function qa(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),to(e.return,t)}function $a(e,t,n,r,u,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:u,lastEffect:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailExpiration=0,a.tailMode=u,a.lastEffect=o)}function Ka(e,t,n){var r=t.pendingProps,u=r.revealOrder,o=r.tail;if(Ta(e,t,r.children,n),0!=(2&(r=Mo.current)))r=1&r|2,t.effectTag|=64;else{if(null!==e&&0!=(64&e.effectTag))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&qa(e,n);else if(19===e.tag)qa(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(su(Mo,r),0==(2&t.mode))t.memoizedState=null;else switch(u){case\"forwards\":for(n=t.child,u=null;null!==n;)null!==(e=n.alternate)&&null===Ro(e)&&(u=n),n=n.sibling;null===(n=u)?(u=t.child,t.child=null):(u=n.sibling,n.sibling=null),$a(t,!1,u,n,o,t.lastEffect);break;case\"backwards\":for(n=null,u=t.child,t.child=null;null!==u;){if(null!==(e=u.alternate)&&null===Ro(e)){t.child=u;break}e=u.sibling,u.sibling=n,n=u,u=e}$a(t,!0,n,null,o,t.lastEffect);break;case\"together\":$a(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Qa(e,t,n){null!==e&&(t.dependencies=e.dependencies);var r=t.expirationTime;if(0!==r&&al(r),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Fl(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Fl(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Xa(e,t){switch(e.tailMode){case\"hidden\":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case\"collapsed\":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ja(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return vu(t.type)&&mu(),null;case 3:return jo(),lu(du),lu(fu),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||!xa(t)||(t.effectTag|=4),null;case 5:_o(t),n=To(So.current);var o=t.type;if(null!==e&&null!=t.stateNode)Wa(e,t,o,r,n),e.ref!==t.ref&&(t.effectTag|=128);else{if(!r){if(null===t.stateNode)throw Error(a(166));return null}if(e=To(ko.current),xa(t)){r=t.stateNode,o=t.type;var i=t.memoizedProps;switch(r[Bn]=t,r[An]=i,o){case\"iframe\":case\"object\":case\"embed\":Kt(\"load\",r);break;case\"video\":case\"audio\":for(e=0;e<Je.length;e++)Kt(Je[e],r);break;case\"source\":Kt(\"error\",r);break;case\"img\":case\"image\":case\"link\":Kt(\"error\",r),Kt(\"load\",r);break;case\"form\":Kt(\"reset\",r),Kt(\"submit\",r);break;case\"details\":Kt(\"toggle\",r);break;case\"input\":we(r,i),Kt(\"invalid\",r),ln(n,\"onChange\");break;case\"select\":r._wrapperState={wasMultiple:!!i.multiple},Kt(\"invalid\",r),ln(n,\"onChange\");break;case\"textarea\":Te(r,i),Kt(\"invalid\",r),ln(n,\"onChange\")}for(var l in un(o,i),e=null,i)if(i.hasOwnProperty(l)){var s=i[l];\"children\"===l?\"string\"==typeof s?r.textContent!==s&&(e=[\"children\",s]):\"number\"==typeof s&&r.textContent!==\"\"+s&&(e=[\"children\",\"\"+s]):B.hasOwnProperty(l)&&null!=s&&ln(n,l)}switch(o){case\"input\":be(r),Fe(r,i,!0);break;case\"textarea\":be(r),je(r);break;case\"select\":case\"option\":break;default:\"function\"==typeof i.onClick&&(r.onclick=sn)}n=e,t.updateQueue=n,null!==n&&(t.effectTag|=4)}else{switch(l=9===n.nodeType?n:n.ownerDocument,e===an&&(e=Me(o)),e===an?\"script\"===o?((e=l.createElement(\"div\")).innerHTML=\"<script><\\/script>\",e=e.removeChild(e.firstChild)):\"string\"==typeof r.is?e=l.createElement(o,{is:r.is}):(e=l.createElement(o),\"select\"===o&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,o),e[Bn]=t,e[An]=r,La(e,t),t.stateNode=e,l=on(o,r),o){case\"iframe\":case\"object\":case\"embed\":Kt(\"load\",e),s=r;break;case\"video\":case\"audio\":for(s=0;s<Je.length;s++)Kt(Je[s],e);s=r;break;case\"source\":Kt(\"error\",e),s=r;break;case\"img\":case\"image\":case\"link\":Kt(\"error\",e),Kt(\"load\",e),s=r;break;case\"form\":Kt(\"reset\",e),Kt(\"submit\",e),s=r;break;case\"details\":Kt(\"toggle\",e),s=r;break;case\"input\":we(e,r),s=Ee(e,r),Kt(\"invalid\",e),ln(n,\"onChange\");break;case\"option\":s=ke(e,r);break;case\"select\":e._wrapperState={wasMultiple:!!r.multiple},s=u({},r,{value:void 0}),Kt(\"invalid\",e),ln(n,\"onChange\");break;case\"textarea\":Te(e,r),s=Se(e,r),Kt(\"invalid\",e),ln(n,\"onChange\");break;default:s=r}un(o,s);var c=s;for(i in c)if(c.hasOwnProperty(i)){var f=c[i];\"style\"===i?nn(e,f):\"dangerouslySetInnerHTML\"===i?null!=(f=f?f.__html:void 0)&&Ie(e,f):\"children\"===i?\"string\"==typeof f?(\"textarea\"!==o||\"\"!==f)&&Le(e,f):\"number\"==typeof f&&Le(e,\"\"+f):\"suppressContentEditableWarning\"!==i&&\"suppressHydrationWarning\"!==i&&\"autoFocus\"!==i&&(B.hasOwnProperty(i)?null!=f&&ln(n,i):null!=f&&Y(e,i,f,l))}switch(o){case\"input\":be(e),Fe(e,r,!1);break;case\"textarea\":be(e),je(e);break;case\"option\":null!=r.value&&e.setAttribute(\"value\",\"\"+De(r.value));break;case\"select\":e.multiple=!!r.multiple,null!=(n=r.value)?Oe(e,!!r.multiple,n,!1):null!=r.defaultValue&&Oe(e,!!r.multiple,r.defaultValue,!0);break;default:\"function\"==typeof s.onClick&&(e.onclick=sn)}gn(o,r)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Va(0,t,e.memoizedProps,r);else{if(\"string\"!=typeof r&&null===t.stateNode)throw Error(a(166));n=To(So.current),To(ko.current),xa(t)?(n=t.stateNode,r=t.memoizedProps,n[Bn]=t,n.nodeValue!==r&&(t.effectTag|=4)):((n=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Bn]=t,t.stateNode=n)}return null;case 13:return lu(Mo),r=t.memoizedState,0!=(64&t.effectTag)?(t.expirationTime=n,t):(n=null!==r,r=!1,null===e?void 0!==t.memoizedProps.fallback&&xa(t):(r=null!==(o=e.memoizedState),n||null===o||null!==(o=e.child.sibling)&&(null!==(i=t.firstEffect)?(t.firstEffect=o,o.nextEffect=i):(t.firstEffect=t.lastEffect=o,o.nextEffect=null),o.effectTag=8)),n&&!r&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Mo.current)?xi===bi&&(xi=Ci):(xi!==bi&&xi!==Ci||(xi=Ei),0!==Pi&&null!==Bi&&(jl(Bi,Fi),Nl(Bi,Pi)))),(n||r)&&(t.effectTag|=4),null);case 4:return jo(),null;case 10:return eo(t),null;case 17:return vu(t.type)&&mu(),null;case 19:if(lu(Mo),null===(r=t.memoizedState))return null;if(o=0!=(64&t.effectTag),null===(i=r.rendering)){if(o)Xa(r,!1);else if(xi!==bi||null!==e&&0!=(64&e.effectTag))for(i=t.child;null!==i;){if(null!==(e=Ro(i))){for(t.effectTag|=64,Xa(r,!1),null!==(o=e.updateQueue)&&(t.updateQueue=o,t.effectTag|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=t.child;null!==r;)i=n,(o=r).effectTag&=2,o.nextEffect=null,o.firstEffect=null,o.lastEffect=null,null===(e=o.alternate)?(o.childExpirationTime=0,o.expirationTime=i,o.child=null,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null):(o.childExpirationTime=e.childExpirationTime,o.expirationTime=e.expirationTime,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,i=e.dependencies,o.dependencies=null===i?null:{expirationTime:i.expirationTime,firstContext:i.firstContext,responders:i.responders}),r=r.sibling;return su(Mo,1&Mo.current|2),t.child}i=i.sibling}}else{if(!o)if(null!==(e=Ro(i))){if(t.effectTag|=64,o=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.effectTag|=4),Xa(r,!0),null===r.tail&&\"hidden\"===r.tailMode&&!i.alternate)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Iu()-r.renderingStartTime>r.tailExpiration&&1<n&&(t.effectTag|=64,o=!0,Xa(r,!1),t.expirationTime=t.childExpirationTime=n-1);r.isBackwards?(i.sibling=t.child,t.child=i):(null!==(n=r.last)?n.sibling=i:t.child=i,r.last=i)}return null!==r.tail?(0===r.tailExpiration&&(r.tailExpiration=Iu()+500),n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Iu(),n.sibling=null,t=Mo.current,su(Mo,o?1&t|2:1&t),n):null}throw Error(a(156,t.tag))}function Ya(e){switch(e.tag){case 1:vu(e.type)&&mu();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(jo(),lu(du),lu(fu),0!=(64&(t=e.effectTag)))throw Error(a(285));return e.effectTag=-4097&t|64,e;case 5:return _o(e),null;case 13:return lu(Mo),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return lu(Mo),null;case 4:return jo(),null;case 10:return eo(e),null;default:return null}}function Ga(e,t){return{value:e,source:t,stack:ge(t)}}La=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Wa=function(e,t,n,r,o){var a=e.memoizedProps;if(a!==r){var i,l,s=t.stateNode;switch(To(ko.current),e=null,n){case\"input\":a=Ee(s,a),r=Ee(s,r),e=[];break;case\"option\":a=ke(s,a),r=ke(s,r),e=[];break;case\"select\":a=u({},a,{value:void 0}),r=u({},r,{value:void 0}),e=[];break;case\"textarea\":a=Se(s,a),r=Se(s,r),e=[];break;default:\"function\"!=typeof a.onClick&&\"function\"==typeof r.onClick&&(s.onclick=sn)}for(i in un(n,r),n=null,a)if(!r.hasOwnProperty(i)&&a.hasOwnProperty(i)&&null!=a[i])if(\"style\"===i)for(l in s=a[i])s.hasOwnProperty(l)&&(n||(n={}),n[l]=\"\");else\"dangerouslySetInnerHTML\"!==i&&\"children\"!==i&&\"suppressContentEditableWarning\"!==i&&\"suppressHydrationWarning\"!==i&&\"autoFocus\"!==i&&(B.hasOwnProperty(i)?e||(e=[]):(e=e||[]).push(i,null));for(i in r){var c=r[i];if(s=null!=a?a[i]:void 0,r.hasOwnProperty(i)&&c!==s&&(null!=c||null!=s))if(\"style\"===i)if(s){for(l in s)!s.hasOwnProperty(l)||c&&c.hasOwnProperty(l)||(n||(n={}),n[l]=\"\");for(l in c)c.hasOwnProperty(l)&&s[l]!==c[l]&&(n||(n={}),n[l]=c[l])}else n||(e||(e=[]),e.push(i,n)),n=c;else\"dangerouslySetInnerHTML\"===i?(c=c?c.__html:void 0,s=s?s.__html:void 0,null!=c&&s!==c&&(e=e||[]).push(i,c)):\"children\"===i?s===c||\"string\"!=typeof c&&\"number\"!=typeof c||(e=e||[]).push(i,\"\"+c):\"suppressContentEditableWarning\"!==i&&\"suppressHydrationWarning\"!==i&&(B.hasOwnProperty(i)?(null!=c&&ln(o,i),e||s===c||(e=[])):(e=e||[]).push(i,c))}n&&(e=e||[]).push(\"style\",n),o=e,(t.updateQueue=o)&&(t.effectTag|=4)}},Va=function(e,t,n,r){n!==r&&(t.effectTag|=4)};var Za=\"function\"==typeof WeakSet?WeakSet:Set;function ei(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=ge(n)),null!==n&&me(n.type),t=t.value,null!==e&&1===e.tag&&me(e.type);try{console.error(t)}catch(e){setTimeout((function(){throw e}))}}function ti(e){var t=e.ref;if(null!==t)if(\"function\"==typeof t)try{t(null)}catch(t){Dl(e,t)}else t.current=null}function ni(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.effectTag&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Qu(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(a(163))}function ri(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.destroy;n.destroy=void 0,void 0!==r&&r()}n=n.next}while(n!==t)}}function ui(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function oi(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:return void ui(3,n);case 1:if(e=n.stateNode,4&n.effectTag)if(null===t)e.componentDidMount();else{var r=n.elementType===n.type?t.memoizedProps:Qu(n.type,t.memoizedProps);e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(t=n.updateQueue)&&fo(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}fo(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.effectTag&&gn(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Mt(n)))));case 19:case 17:case 20:case 21:return}throw Error(a(163))}function ai(e,t,n){switch(\"function\"==typeof El&&El(t),t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e.next;Vu(97<n?97:n,(function(){var e=r;do{var n=e.destroy;if(void 0!==n){var u=t;try{n()}catch(e){Dl(u,e)}}e=e.next}while(e!==r)}))}break;case 1:ti(t),\"function\"==typeof(n=t.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){Dl(e,t)}}(t,n);break;case 5:ti(t);break;case 4:ci(e,t,n)}}function ii(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,e.stateNode=null,null!==t&&ii(t)}function li(e){return 5===e.tag||3===e.tag||4===e.tag}function si(e){e:{for(var t=e.return;null!==t;){if(li(t)){var n=t;break e}t=t.return}throw Error(a(160))}switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.effectTag&&(Le(t,\"\"),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||li(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}r?function e(t,n,r){var u=t.tag,o=5===u||6===u;if(o)t=o?t.stateNode:t.stateNode.instance,n?8===r.nodeType?r.parentNode.insertBefore(t,n):r.insertBefore(t,n):(8===r.nodeType?(n=r.parentNode).insertBefore(t,r):(n=r).appendChild(t),null!==(r=r._reactRootContainer)&&void 0!==r||null!==n.onclick||(n.onclick=sn));else if(4!==u&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t):function e(t,n,r){var u=t.tag,o=5===u||6===u;if(o)t=o?t.stateNode:t.stateNode.instance,n?r.insertBefore(t,n):r.appendChild(t);else if(4!==u&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t)}function ci(e,t,n){for(var r,u,o=t,i=!1;;){if(!i){i=o.return;e:for(;;){if(null===i)throw Error(a(160));switch(r=i.stateNode,i.tag){case 5:u=!1;break e;case 3:case 4:r=r.containerInfo,u=!0;break e}i=i.return}i=!0}if(5===o.tag||6===o.tag){e:for(var l=e,s=o,c=n,f=s;;)if(ai(l,f,c),null!==f.child&&4!==f.tag)f.child.return=f,f=f.child;else{if(f===s)break e;for(;null===f.sibling;){if(null===f.return||f.return===s)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}u?(l=r,s=o.stateNode,8===l.nodeType?l.parentNode.removeChild(s):l.removeChild(s)):r.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){r=o.stateNode.containerInfo,u=!0,o.child.return=o,o=o.child;continue}}else if(ai(e,o,n),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(i=!1)}o.sibling.return=o.return,o=o.sibling}}function fi(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void ri(3,t);case 1:return;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,u=null!==e?e.memoizedProps:r;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,null!==o){for(n[An]=r,\"input\"===e&&\"radio\"===r.type&&null!=r.name&&Be(n,r),on(e,u),t=on(e,r),u=0;u<o.length;u+=2){var i=o[u],l=o[u+1];\"style\"===i?nn(n,l):\"dangerouslySetInnerHTML\"===i?Ie(n,l):\"children\"===i?Le(n,l):Y(n,i,l,t)}switch(e){case\"input\":Ae(n,r);break;case\"textarea\":Pe(n,r);break;case\"select\":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(e=r.value)?Oe(n,!!r.multiple,e,!1):t!==!!r.multiple&&(null!=r.defaultValue?Oe(n,!!r.multiple,r.defaultValue,!0):Oe(n,!!r.multiple,r.multiple?[]:\"\",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((t=t.stateNode).hydrate&&(t.hydrate=!1,Mt(t.containerInfo)));case 12:return;case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,Ni=Iu()),null!==n)e:for(e=n;;){if(5===e.tag)o=e.stateNode,r?\"function\"==typeof(o=o.style).setProperty?o.setProperty(\"display\",\"none\",\"important\"):o.display=\"none\":(o=e.stateNode,u=null!=(u=e.memoizedProps.style)&&u.hasOwnProperty(\"display\")?u.display:null,o.style.display=tn(\"display\",u));else if(6===e.tag)e.stateNode.nodeValue=r?\"\":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){(o=e.child.sibling).return=e,e=o;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===n)break;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}return void di(t);case 19:return void di(t);case 17:return}throw Error(a(163))}function di(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Za),t.forEach((function(t){var r=bl.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}var pi=\"function\"==typeof WeakMap?WeakMap:Map;function hi(e,t,n){(n=io(n,null)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Mi||(Mi=!0,Ri=r),ei(e,t)},n}function vi(e,t,n){(n=io(n,null)).tag=3;var r=e.type.getDerivedStateFromError;if(\"function\"==typeof r){var u=t.value;n.payload=function(){return ei(e,t),r(u)}}var o=e.stateNode;return null!==o&&\"function\"==typeof o.componentDidCatch&&(n.callback=function(){\"function\"!=typeof r&&(null===zi?zi=new Set([this]):zi.add(this),ei(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:\"\"})}),n}var mi,gi=Math.ceil,Di=J.ReactCurrentDispatcher,yi=J.ReactCurrentOwner,bi=0,Ci=3,Ei=4,wi=0,Bi=null,Ai=null,Fi=0,xi=bi,ki=null,Oi=1073741823,Si=1073741823,Ti=null,Pi=0,ji=!1,Ni=0,_i=null,Mi=!1,Ri=null,zi=null,Ii=!1,Li=null,Wi=90,Vi=null,Ui=0,Hi=null,qi=0;function $i(){return 0!=(48&wi)?1073741821-(Iu()/10|0):0!==qi?qi:qi=1073741821-(Iu()/10|0)}function Ki(e,t,n){if(0==(2&(t=t.mode)))return 1073741823;var r=Lu();if(0==(4&t))return 99===r?1073741823:1073741822;if(0!=(16&wi))return Fi;if(null!==n)e=Ku(e,0|n.timeoutMs||5e3,250);else switch(r){case 99:e=1073741823;break;case 98:e=Ku(e,150,100);break;case 97:case 96:e=Ku(e,5e3,250);break;case 95:e=2;break;default:throw Error(a(326))}return null!==Bi&&e===Fi&&--e,e}function Qi(e,t){if(50<Ui)throw Ui=0,Hi=null,Error(a(185));if(null!==(e=Xi(e,t))){var n=Lu();1073741823===t?0!=(8&wi)&&0==(48&wi)?Zi(e):(Yi(e),0===wi&&qu()):Yi(e),0==(4&wi)||98!==n&&99!==n||(null===Vi?Vi=new Map([[e,t]]):(void 0===(n=Vi.get(e))||n>t)&&Vi.set(e,t))}}function Xi(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,u=null;if(null===r&&3===e.tag)u=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){u=r.stateNode;break}r=r.return}return null!==u&&(Bi===u&&(al(t),xi===Ei&&jl(u,Fi)),Nl(u,t)),u}function Ji(e){var t=e.lastExpiredTime;if(0!==t)return t;if(!Pl(e,t=e.firstPendingTime))return t;var n=e.lastPingedTime;return 2>=(e=n>(e=e.nextKnownPendingLevel)?n:e)&&t!==e?0:e}function Yi(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=Hu(Zi.bind(null,e));else{var t=Ji(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=$i();if(1073741823===t?r=99:1===t||2===t?r=95:r=0>=(r=10*(1073741821-t)-10*(1073741821-r))?99:250>=r?98:5250>=r?97:95,null!==n){var u=e.callbackPriority;if(e.callbackExpirationTime===t&&u>=r)return;n!==Pu&&wu(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?Hu(Zi.bind(null,e)):Uu(r,Gi.bind(null,e),{timeout:10*(1073741821-t)-Iu()}),e.callbackNode=t}}}function Gi(e,t){if(qi=0,t)return _l(e,t=$i()),Yi(e),null;var n=Ji(e);if(0!==n){if(t=e.callbackNode,0!=(48&wi))throw Error(a(327));if(vl(),e===Bi&&n===Fi||nl(e,n),null!==Ai){var r=wi;wi|=16;for(var u=ul();;)try{ll();break}catch(t){rl(e,t)}if(Zu(),wi=r,Di.current=u,1===xi)throw t=ki,nl(e,n),jl(e,n),Yi(e),t;if(null===Ai)switch(u=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,r=xi,Bi=null,r){case bi:case 1:throw Error(a(345));case 2:_l(e,2<n?2:n);break;case Ci:if(jl(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=fl(u)),1073741823===Oi&&10<(u=Ni+500-Iu())){if(ji){var o=e.lastPingedTime;if(0===o||o>=n){e.lastPingedTime=n,nl(e,n);break}}if(0!==(o=Ji(e))&&o!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}e.timeoutHandle=yn(dl.bind(null,e),u);break}dl(e);break;case Ei:if(jl(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=fl(u)),ji&&(0===(u=e.lastPingedTime)||u>=n)){e.lastPingedTime=n,nl(e,n);break}if(0!==(u=Ji(e))&&u!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}if(1073741823!==Si?r=10*(1073741821-Si)-Iu():1073741823===Oi?r=0:(r=10*(1073741821-Oi)-5e3,0>(r=(u=Iu())-r)&&(r=0),(n=10*(1073741821-n)-u)<(r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*gi(r/1960))-r)&&(r=n)),10<r){e.timeoutHandle=yn(dl.bind(null,e),r);break}dl(e);break;case 5:if(1073741823!==Oi&&null!==Ti){o=Oi;var i=Ti;if(0>=(r=0|i.busyMinDurationMs)?r=0:(u=0|i.busyDelayMs,r=(o=Iu()-(10*(1073741821-o)-(0|i.timeoutMs||5e3)))<=u?0:u+r-o),10<r){jl(e,n),e.timeoutHandle=yn(dl.bind(null,e),r);break}}dl(e);break;default:throw Error(a(329))}if(Yi(e),e.callbackNode===t)return Gi.bind(null,e)}}return null}function Zi(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,0!=(48&wi))throw Error(a(327));if(vl(),e===Bi&&t===Fi||nl(e,t),null!==Ai){var n=wi;wi|=16;for(var r=ul();;)try{il();break}catch(t){rl(e,t)}if(Zu(),wi=n,Di.current=r,1===xi)throw n=ki,nl(e,t),jl(e,t),Yi(e),n;if(null!==Ai)throw Error(a(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,Bi=null,dl(e),Yi(e)}return null}function el(e,t){var n=wi;wi|=1;try{return e(t)}finally{0===(wi=n)&&qu()}}function tl(e,t){var n=wi;wi&=-2,wi|=8;try{return e(t)}finally{0===(wi=n)&&qu()}}function nl(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,bn(n)),null!==Ai)for(n=Ai.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&mu();break;case 3:jo(),lu(du),lu(fu);break;case 5:_o(r);break;case 4:jo();break;case 13:case 19:lu(Mo);break;case 10:eo(r)}n=n.return}Bi=e,Ai=Fl(e.current,null),Fi=t,xi=bi,ki=null,Si=Oi=1073741823,Ti=null,Pi=0,ji=!1}function rl(e,t){for(;;){try{if(Zu(),Io.current=ma,qo)for(var n=Vo.memoizedState;null!==n;){var r=n.queue;null!==r&&(r.pending=null),n=n.next}if(Wo=0,Ho=Uo=Vo=null,qo=!1,null===Ai||null===Ai.return)return xi=1,ki=t,Ai=null;e:{var u=e,o=Ai.return,a=Ai,i=t;if(t=Fi,a.effectTag|=2048,a.firstEffect=a.lastEffect=null,null!==i&&\"object\"==typeof i&&\"function\"==typeof i.then){var l=i;if(0==(2&a.mode)){var s=a.alternate;s?(a.updateQueue=s.updateQueue,a.memoizedState=s.memoizedState,a.expirationTime=s.expirationTime):(a.updateQueue=null,a.memoizedState=null)}var c=0!=(1&Mo.current),f=o;do{var d;if(d=13===f.tag){var p=f.memoizedState;if(null!==p)d=null!==p.dehydrated;else{var h=f.memoizedProps;d=void 0!==h.fallback&&(!0!==h.unstable_avoidThisFallback||!c)}}if(d){var v=f.updateQueue;if(null===v){var m=new Set;m.add(l),f.updateQueue=m}else v.add(l);if(0==(2&f.mode)){if(f.effectTag|=64,a.effectTag&=-2981,1===a.tag)if(null===a.alternate)a.tag=17;else{var g=io(1073741823,null);g.tag=2,lo(a,g)}a.expirationTime=1073741823;break e}i=void 0,a=t;var D=u.pingCache;if(null===D?(D=u.pingCache=new pi,i=new Set,D.set(l,i)):void 0===(i=D.get(l))&&(i=new Set,D.set(l,i)),!i.has(a)){i.add(a);var y=yl.bind(null,u,l,a);l.then(y,y)}f.effectTag|=4096,f.expirationTime=t;break e}f=f.return}while(null!==f);i=Error((me(a.type)||\"A React component\")+\" suspended while rendering, but no fallback UI was specified.\\n\\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.\"+ge(a))}5!==xi&&(xi=2),i=Ga(i,a),f=o;do{switch(f.tag){case 3:l=i,f.effectTag|=4096,f.expirationTime=t,so(f,hi(f,l,t));break e;case 1:l=i;var b=f.type,C=f.stateNode;if(0==(64&f.effectTag)&&(\"function\"==typeof b.getDerivedStateFromError||null!==C&&\"function\"==typeof C.componentDidCatch&&(null===zi||!zi.has(C)))){f.effectTag|=4096,f.expirationTime=t,so(f,vi(f,l,t));break e}}f=f.return}while(null!==f)}Ai=cl(Ai)}catch(e){t=e;continue}break}}function ul(){var e=Di.current;return Di.current=ma,null===e?ma:e}function ol(e,t){e<Oi&&2<e&&(Oi=e),null!==t&&e<Si&&2<e&&(Si=e,Ti=t)}function al(e){e>Pi&&(Pi=e)}function il(){for(;null!==Ai;)Ai=sl(Ai)}function ll(){for(;null!==Ai&&!ju();)Ai=sl(Ai)}function sl(e){var t=mi(e.alternate,e,Fi);return e.memoizedProps=e.pendingProps,null===t&&(t=cl(e)),yi.current=null,t}function cl(e){Ai=e;do{var t=Ai.alternate;if(e=Ai.return,0==(2048&Ai.effectTag)){if(t=Ja(t,Ai,Fi),1===Fi||1!==Ai.childExpirationTime){for(var n=0,r=Ai.child;null!==r;){var u=r.expirationTime,o=r.childExpirationTime;u>n&&(n=u),o>n&&(n=o),r=r.sibling}Ai.childExpirationTime=n}if(null!==t)return t;null!==e&&0==(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=Ai.firstEffect),null!==Ai.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=Ai.firstEffect),e.lastEffect=Ai.lastEffect),1<Ai.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=Ai:e.firstEffect=Ai,e.lastEffect=Ai))}else{if(null!==(t=Ya(Ai)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=Ai.sibling))return t;Ai=e}while(null!==Ai);return xi===bi&&(xi=5),null}function fl(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function dl(e){var t=Lu();return Vu(99,pl.bind(null,e,t)),null}function pl(e,t){do{vl()}while(null!==Li);if(0!=(48&wi))throw Error(a(327));var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var u=fl(n);if(e.firstPendingTime=u,r<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:r<=e.firstSuspendedTime&&(e.firstSuspendedTime=r-1),r<=e.lastPingedTime&&(e.lastPingedTime=0),r<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===Bi&&(Ai=Bi=null,Fi=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,u=n.firstEffect):u=n:u=n.firstEffect,null!==u){var o=wi;wi|=32,yi.current=null,vn=$t;var i=pn();if(hn(i)){if(\"selectionStart\"in i)var l={start:i.selectionStart,end:i.selectionEnd};else e:{var s=(l=(l=i.ownerDocument)&&l.defaultView||window).getSelection&&l.getSelection();if(s&&0!==s.rangeCount){l=s.anchorNode;var c=s.anchorOffset,f=s.focusNode;s=s.focusOffset;try{l.nodeType,f.nodeType}catch(e){l=null;break e}var d=0,p=-1,h=-1,v=0,m=0,g=i,D=null;t:for(;;){for(var y;g!==l||0!==c&&3!==g.nodeType||(p=d+c),g!==f||0!==s&&3!==g.nodeType||(h=d+s),3===g.nodeType&&(d+=g.nodeValue.length),null!==(y=g.firstChild);)D=g,g=y;for(;;){if(g===i)break t;if(D===l&&++v===c&&(p=d),D===f&&++m===s&&(h=d),null!==(y=g.nextSibling))break;D=(g=D).parentNode}g=y}l=-1===p||-1===h?null:{start:p,end:h}}else l=null}l=l||{start:0,end:0}}else l=null;mn={activeElementDetached:null,focusedElem:i,selectionRange:l},$t=!1,_i=u;do{try{hl()}catch(e){if(null===_i)throw Error(a(330));Dl(_i,e),_i=_i.nextEffect}}while(null!==_i);_i=u;do{try{for(i=e,l=t;null!==_i;){var b=_i.effectTag;if(16&b&&Le(_i.stateNode,\"\"),128&b){var C=_i.alternate;if(null!==C){var E=C.ref;null!==E&&(\"function\"==typeof E?E(null):E.current=null)}}switch(1038&b){case 2:si(_i),_i.effectTag&=-3;break;case 6:si(_i),_i.effectTag&=-3,fi(_i.alternate,_i);break;case 1024:_i.effectTag&=-1025;break;case 1028:_i.effectTag&=-1025,fi(_i.alternate,_i);break;case 4:fi(_i.alternate,_i);break;case 8:ci(i,c=_i,l),ii(c)}_i=_i.nextEffect}}catch(e){if(null===_i)throw Error(a(330));Dl(_i,e),_i=_i.nextEffect}}while(null!==_i);if(E=mn,C=pn(),b=E.focusedElem,l=E.selectionRange,C!==b&&b&&b.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):\"contains\"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(b.ownerDocument.documentElement,b)){null!==l&&hn(b)&&(C=l.start,void 0===(E=l.end)&&(E=C),\"selectionStart\"in b?(b.selectionStart=C,b.selectionEnd=Math.min(E,b.value.length)):(E=(C=b.ownerDocument||document)&&C.defaultView||window).getSelection&&(E=E.getSelection(),c=b.textContent.length,i=Math.min(l.start,c),l=void 0===l.end?i:Math.min(l.end,c),!E.extend&&i>l&&(c=l,l=i,i=c),c=dn(b,i),f=dn(b,l),c&&f&&(1!==E.rangeCount||E.anchorNode!==c.node||E.anchorOffset!==c.offset||E.focusNode!==f.node||E.focusOffset!==f.offset)&&((C=C.createRange()).setStart(c.node,c.offset),E.removeAllRanges(),i>l?(E.addRange(C),E.extend(f.node,f.offset)):(C.setEnd(f.node,f.offset),E.addRange(C))))),C=[];for(E=b;E=E.parentNode;)1===E.nodeType&&C.push({element:E,left:E.scrollLeft,top:E.scrollTop});for(\"function\"==typeof b.focus&&b.focus(),b=0;b<C.length;b++)(E=C[b]).element.scrollLeft=E.left,E.element.scrollTop=E.top}$t=!!vn,mn=vn=null,e.current=n,_i=u;do{try{for(b=e;null!==_i;){var w=_i.effectTag;if(36&w&&oi(b,_i.alternate,_i),128&w){C=void 0;var B=_i.ref;if(null!==B){var A=_i.stateNode;switch(_i.tag){case 5:C=A;break;default:C=A}\"function\"==typeof B?B(C):B.current=C}}_i=_i.nextEffect}}catch(e){if(null===_i)throw Error(a(330));Dl(_i,e),_i=_i.nextEffect}}while(null!==_i);_i=null,Nu(),wi=o}else e.current=n;if(Ii)Ii=!1,Li=e,Wi=t;else for(_i=u;null!==_i;)t=_i.nextEffect,_i.nextEffect=null,_i=t;if(0===(t=e.firstPendingTime)&&(zi=null),1073741823===t?e===Hi?Ui++:(Ui=0,Hi=e):Ui=0,\"function\"==typeof Cl&&Cl(n.stateNode,r),Yi(e),Mi)throw Mi=!1,e=Ri,Ri=null,e;return 0!=(8&wi)||qu(),null}function hl(){for(;null!==_i;){var e=_i.effectTag;0!=(256&e)&&ni(_i.alternate,_i),0==(512&e)||Ii||(Ii=!0,Uu(97,(function(){return vl(),null}))),_i=_i.nextEffect}}function vl(){if(90!==Wi){var e=97<Wi?97:Wi;return Wi=90,Vu(e,ml)}}function ml(){if(null===Li)return!1;var e=Li;if(Li=null,0!=(48&wi))throw Error(a(331));var t=wi;for(wi|=32,e=e.current.firstEffect;null!==e;){try{var n=e;if(0!=(512&n.effectTag))switch(n.tag){case 0:case 11:case 15:case 22:ri(5,n),ui(5,n)}}catch(t){if(null===e)throw Error(a(330));Dl(e,t)}n=e.nextEffect,e.nextEffect=null,e=n}return wi=t,qu(),!0}function gl(e,t,n){lo(e,t=hi(e,t=Ga(n,t),1073741823)),null!==(e=Xi(e,1073741823))&&Yi(e)}function Dl(e,t){if(3===e.tag)gl(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){gl(n,e,t);break}if(1===n.tag){var r=n.stateNode;if(\"function\"==typeof n.type.getDerivedStateFromError||\"function\"==typeof r.componentDidCatch&&(null===zi||!zi.has(r))){lo(n,e=vi(n,e=Ga(t,e),1073741823)),null!==(n=Xi(n,1073741823))&&Yi(n);break}}n=n.return}}function yl(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),Bi===e&&Fi===n?xi===Ei||xi===Ci&&1073741823===Oi&&Iu()-Ni<500?nl(e,Fi):ji=!0:Pl(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,Yi(e)))}function bl(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(t=Ki(t=$i(),e,null)),null!==(e=Xi(e,t))&&Yi(e)}mi=function(e,t,n){var r=t.expirationTime;if(null!==e){var u=t.pendingProps;if(e.memoizedProps!==u||du.current)Sa=!0;else{if(r<n){switch(Sa=!1,t.tag){case 3:Ia(t),ka();break;case 5:if(No(t),4&t.mode&&1!==n&&u.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:vu(t.type)&&yu(t);break;case 4:Po(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value,u=t.type._context,su(Xu,u._currentValue),u._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?Ha(e,t,n):(su(Mo,1&Mo.current),null!==(t=Qa(e,t,n))?t.sibling:null);su(Mo,1&Mo.current);break;case 19:if(r=t.childExpirationTime>=n,0!=(64&e.effectTag)){if(r)return Ka(e,t,n);t.effectTag|=64}if(null!==(u=t.memoizedState)&&(u.rendering=null,u.tail=null),su(Mo,Mo.current),!r)return null}return Qa(e,t,n)}Sa=!1}}else Sa=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,u=hu(t,fu.current),no(t,n),u=Qo(null,t,r,e,u,n),t.effectTag|=1,\"object\"==typeof u&&null!==u&&\"function\"==typeof u.render&&void 0===u.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,vu(r)){var o=!0;yu(t)}else o=!1;t.memoizedState=null!==u.state&&void 0!==u.state?u.state:null,oo(t);var i=r.getDerivedStateFromProps;\"function\"==typeof i&&vo(t,r,i,e),u.updater=mo,t.stateNode=u,u._reactInternalFiber=t,bo(t,r,e,n),t=za(null,t,r,!0,o,n)}else t.tag=0,Ta(null,t,u,n),t=t.child;return t;case 16:e:{if(u=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}(u),1!==u._status)throw u._result;switch(u=u._result,t.type=u,o=t.tag=function(e){if(\"function\"==typeof e)return Al(e)?1:0;if(null!=e){if((e=e.$$typeof)===le)return 11;if(e===fe)return 14}return 2}(u),e=Qu(u,e),o){case 0:t=Ma(null,t,u,e,n);break e;case 1:t=Ra(null,t,u,e,n);break e;case 11:t=Pa(null,t,u,e,n);break e;case 14:t=ja(null,t,u,Qu(u.type,e),r,n);break e}throw Error(a(306,u,\"\"))}return t;case 0:return r=t.type,u=t.pendingProps,Ma(e,t,r,u=t.elementType===r?u:Qu(r,u),n);case 1:return r=t.type,u=t.pendingProps,Ra(e,t,r,u=t.elementType===r?u:Qu(r,u),n);case 3:if(Ia(t),r=t.updateQueue,null===e||null===r)throw Error(a(282));if(r=t.pendingProps,u=null!==(u=t.memoizedState)?u.element:null,ao(e,t),co(t,r,null,n),(r=t.memoizedState.element)===u)ka(),t=Qa(e,t,n);else{if((u=t.stateNode.hydrate)&&(Ca=Cn(t.stateNode.containerInfo.firstChild),ba=t,u=Ea=!0),u)for(n=Fo(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else Ta(e,t,r,n),ka();t=t.child}return t;case 5:return No(t),null===e&&Aa(t),r=t.type,u=t.pendingProps,o=null!==e?e.memoizedProps:null,i=u.children,Dn(r,u)?i=null:null!==o&&Dn(r,o)&&(t.effectTag|=16),_a(e,t),4&t.mode&&1!==n&&u.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Ta(e,t,i,n),t=t.child),t;case 6:return null===e&&Aa(t),null;case 13:return Ha(e,t,n);case 4:return Po(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ao(t,null,r,n):Ta(e,t,r,n),t.child;case 11:return r=t.type,u=t.pendingProps,Pa(e,t,r,u=t.elementType===r?u:Qu(r,u),n);case 7:return Ta(e,t,t.pendingProps,n),t.child;case 8:case 12:return Ta(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,u=t.pendingProps,i=t.memoizedProps,o=u.value;var l=t.type._context;if(su(Xu,l._currentValue),l._currentValue=o,null!==i)if(l=i.value,0===(o=Rr(l,o)?0:0|(\"function\"==typeof r._calculateChangedBits?r._calculateChangedBits(l,o):1073741823))){if(i.children===u.children&&!du.current){t=Qa(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var s=l.dependencies;if(null!==s){i=l.child;for(var c=s.firstContext;null!==c;){if(c.context===r&&0!=(c.observedBits&o)){1===l.tag&&((c=io(n,null)).tag=2,lo(l,c)),l.expirationTime<n&&(l.expirationTime=n),null!==(c=l.alternate)&&c.expirationTime<n&&(c.expirationTime=n),to(l.return,n),s.expirationTime<n&&(s.expirationTime=n);break}c=c.next}}else i=10===l.tag&&l.type===t.type?null:l.child;if(null!==i)i.return=l;else for(i=l;null!==i;){if(i===t){i=null;break}if(null!==(l=i.sibling)){l.return=i.return,i=l;break}i=i.return}l=i}Ta(e,t,u.children,n),t=t.child}return t;case 9:return u=t.type,r=(o=t.pendingProps).children,no(t,n),r=r(u=ro(u,o.unstable_observedBits)),t.effectTag|=1,Ta(e,t,r,n),t.child;case 14:return o=Qu(u=t.type,t.pendingProps),ja(e,t,u,o=Qu(u.type,o),r,n);case 15:return Na(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,u=t.pendingProps,u=t.elementType===r?u:Qu(r,u),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,vu(r)?(e=!0,yu(t)):e=!1,no(t,n),Do(t,r,u),bo(t,r,u,n),za(null,t,r,!0,e,n);case 19:return Ka(e,t,n)}throw Error(a(156,t.tag))};var Cl=null,El=null;function wl(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Bl(e,t,n,r){return new wl(e,t,n,r)}function Al(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Fl(e,t){var n=e.alternate;return null===n?((n=Bl(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function xl(e,t,n,r,u,o){var i=2;if(r=e,\"function\"==typeof e)Al(e)&&(i=1);else if(\"string\"==typeof e)i=5;else e:switch(e){case ne:return kl(n.children,u,o,t);case ie:i=8,u|=7;break;case re:i=8,u|=1;break;case ue:return(e=Bl(12,n,t,8|u)).elementType=ue,e.type=ue,e.expirationTime=o,e;case se:return(e=Bl(13,n,t,u)).type=se,e.elementType=se,e.expirationTime=o,e;case ce:return(e=Bl(19,n,t,u)).elementType=ce,e.expirationTime=o,e;default:if(\"object\"==typeof e&&null!==e)switch(e.$$typeof){case oe:i=10;break e;case ae:i=9;break e;case le:i=11;break e;case fe:i=14;break e;case de:i=16,r=null;break e;case pe:i=22;break e}throw Error(a(130,null==e?e:typeof e,\"\"))}return(t=Bl(i,n,t,u)).elementType=e,t.type=r,t.expirationTime=o,t}function kl(e,t,n,r){return(e=Bl(7,e,r,t)).expirationTime=n,e}function Ol(e,t,n){return(e=Bl(6,e,null,t)).expirationTime=n,e}function Sl(e,t,n){return(t=Bl(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Tl(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function Pl(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function jl(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;n<t&&(e.firstSuspendedTime=t),(r>t||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function Nl(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function _l(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function Ml(e,t,n,r){var u=t.current,o=$i(),i=po.suspense;o=Ki(o,u,i);e:if(n){t:{if(Ze(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(a(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(vu(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(a(171))}if(1===n.tag){var s=n.type;if(vu(s)){n=Du(n,s,l);break e}}n=l}else n=cu;return null===t.context?t.context=n:t.pendingContext=n,(t=io(o,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),lo(u,t),Qi(u,o),o}function Rl(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function zl(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function Il(e,t){zl(e,t),(e=e.alternate)&&zl(e,t)}function Ll(e,t,n){var r=new Tl(e,t,n=null!=n&&!0===n.hydrate),u=Bl(3,null,null,2===t?7:1===t?3:0);r.current=u,u.stateNode=r,oo(u),e[Fn]=r.current,n&&0!==t&&function(e,t){var n=Ge(t);Ft.forEach((function(e){ht(e,t,n)})),xt.forEach((function(e){ht(e,t,n)}))}(0,9===e.nodeType?e:e.ownerDocument),this._internalRoot=r}function Wl(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||\" react-mount-point-unstable \"!==e.nodeValue))}function Vl(e,t,n,r,u){var o=n._reactRootContainer;if(o){var a=o._internalRoot;if(\"function\"==typeof u){var i=u;u=function(){var e=Rl(a);i.call(e)}}Ml(t,a,e,u)}else{if(o=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute(\"data-reactroot\"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Ll(e,0,t?{hydrate:!0}:void 0)}(n,r),a=o._internalRoot,\"function\"==typeof u){var l=u;u=function(){var e=Rl(a);l.call(e)}}tl((function(){Ml(t,a,e,u)}))}return Rl(a)}function Ul(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:te,key:null==r?null:\"\"+r,children:e,containerInfo:t,implementation:n}}function Hl(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Wl(t))throw Error(a(200));return Ul(e,t,null,n)}Ll.prototype.render=function(e){Ml(e,this._internalRoot,null,null)},Ll.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Ml(null,e,null,(function(){t[Fn]=null}))},vt=function(e){if(13===e.tag){var t=Ku($i(),150,100);Qi(e,t),Il(e,t)}},mt=function(e){13===e.tag&&(Qi(e,3),Il(e,3))},gt=function(e){if(13===e.tag){var t=$i();Qi(e,t=Ki(t,e,null)),Il(e,t)}},k=function(e,t,n){switch(t){case\"input\":if(Ae(e,n),t=n.name,\"radio\"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(\"input[name=\"+JSON.stringify(\"\"+t)+'][type=\"radio\"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var u=Sn(r);if(!u)throw Error(a(90));Ce(r),Ae(r,u)}}}break;case\"textarea\":Pe(e,n);break;case\"select\":null!=(t=n.value)&&Oe(e,!!n.multiple,t,!1)}},N=el,_=function(e,t,n,r,u){var o=wi;wi|=4;try{return Vu(98,e.bind(null,t,n,r,u))}finally{0===(wi=o)&&qu()}},M=function(){0==(49&wi)&&(function(){if(null!==Vi){var e=Vi;Vi=null,e.forEach((function(e,t){_l(t,e),Yi(t)})),qu()}}(),vl())},R=function(e,t){var n=wi;wi|=2;try{return e(t)}finally{0===(wi=n)&&qu()}};var ql,$l,Kl={Events:[kn,On,Sn,F,w,Rn,function(e){ut(e,Mn)},P,j,Yt,it,vl,{current:!1}]};$l=(ql={findFiberByHostInstance:xn,bundleType:0,version:\"16.13.1\",rendererPackageName:\"react-dom\"}).findFiberByHostInstance,function(e){if(\"undefined\"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);Cl=function(e){try{t.onCommitFiberRoot(n,e,void 0,64==(64&e.current.effectTag))}catch(e){}},El=function(e){try{t.onCommitFiberUnmount(n,e)}catch(e){}}}catch(e){}}(u({},ql,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:J.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=nt(e))?null:e.stateNode},findFiberByHostInstance:function(e){return $l?$l(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null})),t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Kl,t.createPortal=Hl,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;if(void 0===t){if(\"function\"==typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return e=null===(e=nt(t))?null:e.stateNode},t.flushSync=function(e,t){if(0!=(48&wi))throw Error(a(187));var n=wi;wi|=1;try{return Vu(99,e.bind(null,t))}finally{wi=n,qu()}},t.hydrate=function(e,t,n){if(!Wl(t))throw Error(a(200));return Vl(null,e,t,!0,n)},t.render=function(e,t,n){if(!Wl(t))throw Error(a(200));return Vl(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Wl(e))throw Error(a(40));return!!e._reactRootContainer&&(tl((function(){Vl(null,null,e,!1,(function(){e._reactRootContainer=null,e[Fn]=null}))})),!0)},t.unstable_batchedUpdates=el,t.unstable_createPortal=function(e,t){return Hl(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Wl(n))throw Error(a(200));if(null==e||void 0===e._reactInternalFiber)throw Error(a(38));return Vl(e,t,n,!1,r)},t.version=\"16.13.1\"},function(e,t,n){\"use strict\";e.exports=n(14)},function(e,t,n){\"use strict\";\n/** @license React v0.19.1\n * scheduler.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */var r,u,o,a,i;if(\"undefined\"==typeof window||\"function\"!=typeof MessageChannel){var l=null,s=null,c=function(){if(null!==l)try{var e=t.unstable_now();l(!0,e),l=null}catch(e){throw setTimeout(c,0),e}},f=Date.now();t.unstable_now=function(){return Date.now()-f},r=function(e){null!==l?setTimeout(r,0,e):(l=e,setTimeout(c,0))},u=function(e,t){s=setTimeout(e,t)},o=function(){clearTimeout(s)},a=function(){return!1},i=t.unstable_forceFrameRate=function(){}}else{var d=window.performance,p=window.Date,h=window.setTimeout,v=window.clearTimeout;if(\"undefined\"!=typeof console){var m=window.cancelAnimationFrame;\"function\"!=typeof window.requestAnimationFrame&&console.error(\"This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills\"),\"function\"!=typeof m&&console.error(\"This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills\")}if(\"object\"==typeof d&&\"function\"==typeof d.now)t.unstable_now=function(){return d.now()};else{var g=p.now();t.unstable_now=function(){return p.now()-g}}var D=!1,y=null,b=-1,C=5,E=0;a=function(){return t.unstable_now()>=E},i=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error(\"forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported\"):C=0<e?Math.floor(1e3/e):5};var w=new MessageChannel,B=w.port2;w.port1.onmessage=function(){if(null!==y){var e=t.unstable_now();E=e+C;try{y(!0,e)?B.postMessage(null):(D=!1,y=null)}catch(e){throw B.postMessage(null),e}}else D=!1},r=function(e){y=e,D||(D=!0,B.postMessage(null))},u=function(e,n){b=h((function(){e(t.unstable_now())}),n)},o=function(){v(b),b=-1}}function A(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,u=e[r];if(!(void 0!==u&&0<k(u,t)))break e;e[r]=t,e[n]=u,n=r}}function F(e){return void 0===(e=e[0])?null:e}function x(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,u=e.length;r<u;){var o=2*(r+1)-1,a=e[o],i=o+1,l=e[i];if(void 0!==a&&0>k(a,n))void 0!==l&&0>k(l,a)?(e[r]=l,e[i]=n,r=i):(e[r]=a,e[o]=n,r=o);else{if(!(void 0!==l&&0>k(l,n)))break e;e[r]=l,e[i]=n,r=i}}}return t}return null}function k(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var O=[],S=[],T=1,P=null,j=3,N=!1,_=!1,M=!1;function R(e){for(var t=F(S);null!==t;){if(null===t.callback)x(S);else{if(!(t.startTime<=e))break;x(S),t.sortIndex=t.expirationTime,A(O,t)}t=F(S)}}function z(e){if(M=!1,R(e),!_)if(null!==F(O))_=!0,r(I);else{var t=F(S);null!==t&&u(z,t.startTime-e)}}function I(e,n){_=!1,M&&(M=!1,o()),N=!0;var r=j;try{for(R(n),P=F(O);null!==P&&(!(P.expirationTime>n)||e&&!a());){var i=P.callback;if(null!==i){P.callback=null,j=P.priorityLevel;var l=i(P.expirationTime<=n);n=t.unstable_now(),\"function\"==typeof l?P.callback=l:P===F(O)&&x(O),R(n)}else x(O);P=F(O)}if(null!==P)var s=!0;else{var c=F(S);null!==c&&u(z,c.startTime-n),s=!1}return s}finally{P=null,j=r,N=!1}}function L(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var W=i;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){_||N||(_=!0,r(I))},t.unstable_getCurrentPriorityLevel=function(){return j},t.unstable_getFirstCallbackNode=function(){return F(O)},t.unstable_next=function(e){switch(j){case 1:case 2:case 3:var t=3;break;default:t=j}var n=j;j=t;try{return e()}finally{j=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=W,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=j;j=e;try{return t()}finally{j=n}},t.unstable_scheduleCallback=function(e,n,a){var i=t.unstable_now();if(\"object\"==typeof a&&null!==a){var l=a.delay;l=\"number\"==typeof l&&0<l?i+l:i,a=\"number\"==typeof a.timeout?a.timeout:L(e)}else a=L(e),l=i;return e={id:T++,callback:n,priorityLevel:e,startTime:l,expirationTime:a=l+a,sortIndex:-1},l>i?(e.sortIndex=l,A(S,e),null===F(O)&&e===F(S)&&(M?o():M=!0,u(z,l-i))):(e.sortIndex=a,A(O,e),_||N||(_=!0,r(I))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();R(e);var n=F(O);return n!==P&&null!==P&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<P.expirationTime||a()},t.unstable_wrapCallback=function(e){var t=j;return function(){var n=j;j=t;try{return e.apply(this,arguments)}finally{j=n}}}},function(e,t,n){var r=n(9);e.exports=function(){return r.Date.now()}},function(e,t,n){(function(t){var n=\"object\"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(17))},function(e,t){var n;n=function(){return this}();try{n=n||new Function(\"return this\")()}catch(e){\"object\"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(5),u=n(19),o=/^\\s+|\\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,l=/^0o[0-7]+$/i,s=parseInt;e.exports=function(e){if(\"number\"==typeof e)return e;if(u(e))return NaN;if(r(e)){var t=\"function\"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+\"\":t}if(\"string\"!=typeof e)return 0===e?e:+e;e=e.replace(o,\"\");var n=i.test(e);return n||l.test(e)?s(e.slice(2),n?2:8):a.test(e)?NaN:+e}},function(e,t,n){var r=n(20),u=n(23);e.exports=function(e){return\"symbol\"==typeof e||u(e)&&\"[object Symbol]\"==r(e)}},function(e,t,n){var r=n(10),u=n(21),o=n(22),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?\"[object Undefined]\":\"[object Null]\":a&&a in Object(e)?u(e):o(e)}},function(e,t,n){var r=n(10),u=Object.prototype,o=u.hasOwnProperty,a=u.toString,i=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,i),n=e[i];try{e[i]=void 0;var r=!0}catch(e){}var u=a.call(e);return r&&(t?e[i]=n:delete e[i]),u}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t){e.exports=function(e){return null!=e&&\"object\"==typeof e}},function(e,t,n){\"use strict\";n.r(t);var r=n(0),u=n.n(r),o=n(2),a=n.n(o);\n/*!\n * is-plain-object <https://github.com/jonschlinkert/is-plain-object>\n *\n * Copyright (c) 2014-2017, Jon Schlinkert.\n * Released under the MIT License.\n */\nfunction i(e){return\"[object Object]\"===Object.prototype.toString.call(e)}function l(e){var t,n;return!1!==i(e)&&(void 0===(t=e.constructor)||!1!==i(n=t.prototype)&&!1!==n.hasOwnProperty(\"isPrototypeOf\"))}function s(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error(\"[Immer] minified error nr: \"+e+(n.length?\" \"+n.map((function(e){return\"'\"+e+\"'\"})).join(\",\"):\"\")+\". Find the full error at: https://bit.ly/3cXEKWf\")}function c(e){return!!e&&!!e[Y]}function f(e){return!!e&&(function(e){if(!e||\"object\"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,\"constructor\")&&t.constructor;return n===Object||\"function\"==typeof n&&Function.toString.call(n)===G}(e)||Array.isArray(e)||!!e[J]||!!e.constructor[J]||D(e)||y(e))}function d(e,t,n){void 0===n&&(n=!1),0===p(e)?(n?Object.keys:Z)(e).forEach((function(r){n&&\"symbol\"==typeof r||t(r,e[r],e)})):e.forEach((function(n,r){return t(r,n,e)}))}function p(e){var t=e[Y];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:D(e)?2:y(e)?3:0}function h(e,t){return 2===p(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function v(e,t){return 2===p(e)?e.get(t):e[t]}function m(e,t,n){var r=p(e);2===r?e.set(t,n):3===r?(e.delete(t),e.add(n)):e[t]=n}function g(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function D(e){return $&&e instanceof Map}function y(e){return K&&e instanceof Set}function b(e){return e.o||e.t}function C(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=ee(e);delete t[Y];for(var n=Z(t),r=0;r<n.length;r++){var u=n[r],o=t[u];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(t[u]={configurable:!0,writable:!0,enumerable:o.enumerable,value:e[u]})}return Object.create(Object.getPrototypeOf(e),t)}function E(e,t){return void 0===t&&(t=!1),B(e)||c(e)||!f(e)||(p(e)>1&&(e.set=e.add=e.clear=e.delete=w),Object.freeze(e),t&&d(e,(function(e,t){return E(t,!0)}),!0)),e}function w(){s(2)}function B(e){return null==e||\"object\"!=typeof e||Object.isFrozen(e)}function A(e){var t=te[e];return t||s(18,e),t}function F(){return H}function x(e,t){t&&(A(\"Patches\"),e.u=[],e.s=[],e.v=t)}function k(e){O(e),e.p.forEach(T),e.p=null}function O(e){e===H&&(H=e.l)}function S(e){return H={p:[],l:H,h:e,m:!0,_:0}}function T(e){var t=e[Y];0===t.i||1===t.i?t.j():t.O=!0}function P(e,t){t._=t.p.length;var n=t.p[0],r=void 0!==e&&e!==n;return t.h.g||A(\"ES5\").S(t,e,r),r?(n[Y].P&&(k(t),s(4)),f(e)&&(e=j(t,e),t.l||_(t,e)),t.u&&A(\"Patches\").M(n[Y],e,t.u,t.s)):e=j(t,n,[]),k(t),t.u&&t.v(t.u,t.s),e!==X?e:void 0}function j(e,t,n){if(B(t))return t;var r=t[Y];if(!r)return d(t,(function(u,o){return N(e,r,t,u,o,n)}),!0),t;if(r.A!==e)return t;if(!r.P)return _(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var u=4===r.i||5===r.i?r.o=C(r.k):r.o;d(3===r.i?new Set(u):u,(function(t,o){return N(e,r,u,t,o,n)})),_(e,u,!1),n&&e.u&&A(\"Patches\").R(r,n,e.u,e.s)}return r.o}function N(e,t,n,r,u,o){if(c(u)){var a=j(e,u,o&&t&&3!==t.i&&!h(t.D,r)?o.concat(r):void 0);if(m(n,r,a),!c(a))return;e.m=!1}if(f(u)&&!B(u)){if(!e.h.F&&e._<1)return;j(e,u),t&&t.A.l||_(e,u)}}function _(e,t,n){void 0===n&&(n=!1),e.h.F&&e.m&&E(t,n)}function M(e,t){var n=e[Y];return(n?b(n):e)[t]}function R(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function z(e){e.P||(e.P=!0,e.l&&z(e.l))}function I(e){e.o||(e.o=C(e.t))}function L(e,t,n){var r=D(t)?A(\"MapSet\").N(t,n):y(t)?A(\"MapSet\").T(t,n):e.g?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:F(),P:!1,I:!1,D:{},l:t,t:e,k:null,o:null,j:null,C:!1},u=r,o=ne;n&&(u=[r],o=re);var a=Proxy.revocable(u,o),i=a.revoke,l=a.proxy;return r.k=l,r.j=i,l}(t,n):A(\"ES5\").J(t,n);return(n?n.A:F()).p.push(r),r}function W(e){return c(e)||s(22,e),function e(t){if(!f(t))return t;var n,r=t[Y],u=p(t);if(r){if(!r.P&&(r.i<4||!A(\"ES5\").K(r)))return r.t;r.I=!0,n=V(t,u),r.I=!1}else n=V(t,u);return d(n,(function(t,u){r&&v(r.t,t)===u||m(n,t,e(u))})),3===u?new Set(n):n}(e)}function V(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return C(e)}var U,H,q=\"undefined\"!=typeof Symbol&&\"symbol\"==typeof Symbol(\"x\"),$=\"undefined\"!=typeof Map,K=\"undefined\"!=typeof Set,Q=\"undefined\"!=typeof Proxy&&void 0!==Proxy.revocable&&\"undefined\"!=typeof Reflect,X=q?Symbol.for(\"immer-nothing\"):((U={})[\"immer-nothing\"]=!0,U),J=q?Symbol.for(\"immer-draftable\"):\"__$immer_draftable\",Y=q?Symbol.for(\"immer-state\"):\"__$immer_state\",G=(\"undefined\"!=typeof Symbol&&Symbol.iterator,\"\"+Object.prototype.constructor),Z=\"undefined\"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,ee=Object.getOwnPropertyDescriptors||function(e){var t={};return Z(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},te={},ne={get:function(e,t){if(t===Y)return e;var n=b(e);if(!h(n,t))return function(e,t,n){var r,u=R(t,n);return u?\"value\"in u?u.value:null===(r=u.get)||void 0===r?void 0:r.call(e.k):void 0}(e,n,t);var r=n[t];return e.I||!f(r)?r:r===M(e.t,t)?(I(e),e.o[t]=L(e.A.h,r,e)):r},has:function(e,t){return t in b(e)},ownKeys:function(e){return Reflect.ownKeys(b(e))},set:function(e,t,n){var r=R(b(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.P){var u=M(b(e),t),o=null==u?void 0:u[Y];if(o&&o.t===n)return e.o[t]=n,e.D[t]=!1,!0;if(g(n,u)&&(void 0!==n||h(e.t,t)))return!0;I(e),z(e)}return e.o[t]===n&&\"number\"!=typeof n&&(void 0!==n||t in e.o)||(e.o[t]=n,e.D[t]=!0,!0)},deleteProperty:function(e,t){return void 0!==M(e.t,t)||t in e.t?(e.D[t]=!1,I(e),z(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=b(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.i||\"length\"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){s(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){s(12)}},re={};d(ne,(function(e,t){re[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),re.deleteProperty=function(e,t){return ne.deleteProperty.call(this,e[0],t)},re.set=function(e,t,n){return ne.set.call(this,e[0],t,n,e[0])};var ue=new(function(){function e(e){var t=this;this.g=Q,this.F=!0,this.produce=function(e,n,r){if(\"function\"==typeof e&&\"function\"!=typeof n){var u=n;n=e;var o=t;return function(e){var t=this;void 0===e&&(e=u);for(var r=arguments.length,a=Array(r>1?r-1:0),i=1;i<r;i++)a[i-1]=arguments[i];return o.produce(e,(function(e){var r;return(r=n).call.apply(r,[t,e].concat(a))}))}}var a;if(\"function\"!=typeof n&&s(6),void 0!==r&&\"function\"!=typeof r&&s(7),f(e)){var i=S(t),l=L(t,e,void 0),c=!0;try{a=n(l),c=!1}finally{c?k(i):O(i)}return\"undefined\"!=typeof Promise&&a instanceof Promise?a.then((function(e){return x(i,r),P(e,i)}),(function(e){throw k(i),e})):(x(i,r),P(a,i))}if(!e||\"object\"!=typeof e){if((a=n(e))===X)return;return void 0===a&&(a=e),t.F&&E(a,!0),a}s(21,e)},this.produceWithPatches=function(e,n){return\"function\"==typeof e?function(n){for(var r=arguments.length,u=Array(r>1?r-1:0),o=1;o<r;o++)u[o-1]=arguments[o];return t.produceWithPatches(n,(function(t){return e.apply(void 0,[t].concat(u))}))}:[t.produce(e,n,(function(e,t){r=e,u=t})),r,u];var r,u},\"boolean\"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),\"boolean\"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){f(e)||s(8),c(e)&&(e=W(e));var t=S(this),n=L(this,e,void 0);return n[Y].C=!0,O(t),n},t.finishDraft=function(e,t){var n=(e&&e[Y]).A;return x(n,t),P(void 0,n)},t.setAutoFreeze=function(e){this.F=e},t.setUseProxies=function(e){e&&!Q&&s(20),this.g=e},t.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var r=t[n];if(0===r.path.length&&\"replace\"===r.op){e=r.value;break}}var u=A(\"Patches\").$;return c(e)?u(e,t):this.produce(e,(function(e){return u(e,t.slice(n+1))}))},e}()),oe=ue.produce,ae=(ue.produceWithPatches.bind(ue),ue.setAutoFreeze.bind(ue),ue.setUseProxies.bind(ue),ue.applyPatches.bind(ue),ue.createDraft.bind(ue)),ie=ue.finishDraft.bind(ue);function le(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var se=new WeakMap,ce=new WeakMap,fe=new WeakMap,de=new WeakMap,pe=new WeakMap,he=new WeakMap,ve=new WeakMap;function me(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ge(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?me(Object(n),!0).forEach((function(t){le(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):me(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var De=()=>{var e={children:[],operations:[],selection:null,marks:null,isInline:()=>!1,isVoid:()=>!1,onChange:()=>{},apply:t=>{for(var n of tt.pathRefs(e))ft.transform(n,t);for(var r of tt.pointRefs(e))vt.transform(r,t);for(var u of tt.rangeRefs(e))yt.transform(u,t);var o,a,i=se.get(e)||[],l=ce.get(e)||new Set,s=e=>{if(e){var t=e.join(\",\");a.has(t)||(a.add(t),o.push(e))}};if(ct.operationCanTransformPath(t))for(var c of(o=[],a=new Set,i)){s(ct.transform(c,t))}else o=i,a=l;var f=ye(t);for(var d of f)s(d);se.set(e,o),ce.set(e,a),Vt.transform(e,t),e.operations.push(t),tt.normalize(e),\"set_selection\"===t.type&&(e.marks=null),fe.get(e)||(fe.set(e,!0),Promise.resolve().then(()=>{fe.set(e,!1),e.onChange(),e.operations=[]}))},addMark:(t,n)=>{var{selection:r}=e;if(r)if(Dt.isExpanded(r))Vt.setNodes(e,{[t]:n},{match:At.isText,split:!0});else{var u=ge(ge({},tt.marks(e)||{}),{},{[t]:n});e.marks=u,fe.get(e)||e.onChange()}},deleteBackward:t=>{var{selection:n}=e;n&&Dt.isCollapsed(n)&&Vt.delete(e,{unit:t,reverse:!0})},deleteForward:t=>{var{selection:n}=e;n&&Dt.isCollapsed(n)&&Vt.delete(e,{unit:t})},deleteFragment:t=>{var{selection:n}=e;n&&Dt.isExpanded(n)&&Vt.delete(e,{reverse:\"backward\"===t})},getFragment:()=>{var{selection:t}=e;return t?at.fragment(e,t):[]},insertBreak:()=>{Vt.splitNodes(e,{always:!0})},insertFragment:t=>{Vt.insertFragment(e,t)},insertNode:t=>{Vt.insertNodes(e,t)},insertText:t=>{var{selection:n,marks:r}=e;if(n){if(r){var u=ge({text:t},r);Vt.insertNodes(e,u)}else Vt.insertText(e,t);e.marks=null}},normalizeNode:t=>{var[n,r]=t;if(!At.isText(n))if(Xe.isElement(n)&&0===n.children.length){Vt.insertNodes(e,{text:\"\"},{at:r.concat(0),voids:!0})}else for(var u=!tt.isEditor(n)&&(Xe.isElement(n)&&(e.isInline(n)||0===n.children.length||At.isText(n.children[0])||e.isInline(n.children[0]))),o=0,a=0;a<n.children.length;a++,o++){var i=at.get(e,r);if(!At.isText(i)){var l=n.children[a],s=i.children[o-1],c=a===n.children.length-1;if((At.isText(l)||Xe.isElement(l)&&e.isInline(l))!==u)Vt.removeNodes(e,{at:r.concat(o),voids:!0}),o--;else if(Xe.isElement(l)){if(e.isInline(l))if(null!=s&&At.isText(s)){if(c){Vt.insertNodes(e,{text:\"\"},{at:r.concat(o+1),voids:!0}),o++}}else{Vt.insertNodes(e,{text:\"\"},{at:r.concat(o),voids:!0}),o++}}else null!=s&&At.isText(s)&&(At.equals(l,s,{loose:!0})?(Vt.mergeNodes(e,{at:r.concat(o),voids:!0}),o--):\"\"===s.text?(Vt.removeNodes(e,{at:r.concat(o-1),voids:!0}),o--):\"\"===l.text&&(Vt.removeNodes(e,{at:r.concat(o),voids:!0}),o--))}}},removeMark:t=>{var{selection:n}=e;if(n)if(Dt.isExpanded(n))Vt.unsetNodes(e,t,{match:At.isText,split:!0});else{var r=ge({},tt.marks(e)||{});delete r[t],e.marks=r,fe.get(e)||e.onChange()}}};return e},ye=e=>{switch(e.type){case\"insert_text\":case\"remove_text\":case\"set_node\":var{path:t}=e;return ct.levels(t);case\"insert_node\":var{node:n,path:r}=e;return[...ct.levels(r),...At.isText(n)?[]:Array.from(at.nodes(n),e=>{var[,t]=e;return r.concat(t)})];case\"merge_node\":var{path:u}=e;return[...ct.ancestors(u),ct.previous(u)];case\"move_node\":var{path:o,newPath:a}=e;if(ct.equals(o,a))return[];var i=[],l=[];for(var s of ct.ancestors(o)){var c=ct.transform(s,e);i.push(c)}for(var f of ct.ancestors(a)){var d=ct.transform(f,e);l.push(d)}var p=l[l.length-1],h=a[a.length-1],v=p.concat(h);return[...i,...l,v];case\"remove_node\":var{path:m}=e;return[...ct.ancestors(m)];case\"split_node\":var{path:g}=e;return[...ct.levels(g),ct.next(g)];default:return[]}};function be(e,t){if(null==e)return{};var n,r,u=function(e,t){if(null==e)return{};var n,r,u={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(u[n]=e[n]);return u}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(u[n]=e[n])}return u}var Ce,Ee=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!t,r=t?ke(e):e,u=Ce.None,o=Ce.None,a=0,i=null;for(var l of r){var s=l.codePointAt(0);if(!s)break;var c=Le(l,s);if([u,o]=n?[o,c]:[c,u],We(u,Ce.ZWJ)&&We(o,Ce.ExtPict)&&!qe(n?e.substring(0,a):e.substring(0,e.length-a)))break;if(We(u,Ce.RI)&&We(o,Ce.RI)&&!(i=null!==i?!i:!!n||Ke(e.substring(0,e.length-a))))break;if(u!==Ce.None&&o!==Ce.None&&Ue(u,o))break;a+=l.length}return a||1},we=/\\s/,Be=/[\\u0021-\\u0023\\u0025-\\u002A\\u002C-\\u002F\\u003A\\u003B\\u003F\\u0040\\u005B-\\u005D\\u005F\\u007B\\u007D\\u00A1\\u00A7\\u00AB\\u00B6\\u00B7\\u00BB\\u00BF\\u037E\\u0387\\u055A-\\u055F\\u0589\\u058A\\u05BE\\u05C0\\u05C3\\u05C6\\u05F3\\u05F4\\u0609\\u060A\\u060C\\u060D\\u061B\\u061E\\u061F\\u066A-\\u066D\\u06D4\\u0700-\\u070D\\u07F7-\\u07F9\\u0830-\\u083E\\u085E\\u0964\\u0965\\u0970\\u0AF0\\u0DF4\\u0E4F\\u0E5A\\u0E5B\\u0F04-\\u0F12\\u0F14\\u0F3A-\\u0F3D\\u0F85\\u0FD0-\\u0FD4\\u0FD9\\u0FDA\\u104A-\\u104F\\u10FB\\u1360-\\u1368\\u1400\\u166D\\u166E\\u169B\\u169C\\u16EB-\\u16ED\\u1735\\u1736\\u17D4-\\u17D6\\u17D8-\\u17DA\\u1800-\\u180A\\u1944\\u1945\\u1A1E\\u1A1F\\u1AA0-\\u1AA6\\u1AA8-\\u1AAD\\u1B5A-\\u1B60\\u1BFC-\\u1BFF\\u1C3B-\\u1C3F\\u1C7E\\u1C7F\\u1CC0-\\u1CC7\\u1CD3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205E\\u207D\\u207E\\u208D\\u208E\\u2329\\u232A\\u2768-\\u2775\\u27C5\\u27C6\\u27E6-\\u27EF\\u2983-\\u2998\\u29D8-\\u29DB\\u29FC\\u29FD\\u2CF9-\\u2CFC\\u2CFE\\u2CFF\\u2D70\\u2E00-\\u2E2E\\u2E30-\\u2E3B\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301F\\u3030\\u303D\\u30A0\\u30FB\\uA4FE\\uA4FF\\uA60D-\\uA60F\\uA673\\uA67E\\uA6F2-\\uA6F7\\uA874-\\uA877\\uA8CE\\uA8CF\\uA8F8-\\uA8FA\\uA92E\\uA92F\\uA95F\\uA9C1-\\uA9CD\\uA9DE\\uA9DF\\uAA5C-\\uAA5F\\uAADE\\uAADF\\uAAF0\\uAAF1\\uABEB\\uFD3E\\uFD3F\\uFE10-\\uFE19\\uFE30-\\uFE52\\uFE54-\\uFE61\\uFE63\\uFE68\\uFE6A\\uFE6B\\uFF01-\\uFF03\\uFF05-\\uFF0A\\uFF0C-\\uFF0F\\uFF1A\\uFF1B\\uFF1F\\uFF20\\uFF3B-\\uFF3D\\uFF3F\\uFF5B\\uFF5D\\uFF5F-\\uFF65]/,Ae=/['\\u2018\\u2019]/,Fe=(e,t,n)=>{if(n){var r=e.length-t;return[e.slice(r,e.length),e.slice(0,r)]}return[e.slice(0,t),e.slice(t)]},xe=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(we.test(t))return!1;if(Ae.test(t)){var u=Ee(n,r),[o,a]=Fe(n,u,r);if(e(o,a,r))return!0}return!Be.test(t)},ke=function*(e){for(var t=e.length-1,n=0;n<e.length;n++){var r=e.charAt(t-n);if(Se(r.charCodeAt(0))){var u=e.charAt(t-n-1);if(Oe(u.charCodeAt(0))){yield u+r,n++;continue}}yield r}},Oe=e=>e>=55296&&e<=56319,Se=e=>e>=56320&&e<=57343;!function(e){e[e.None=0]=\"None\",e[e.Extend=1]=\"Extend\",e[e.ZWJ=2]=\"ZWJ\",e[e.RI=4]=\"RI\",e[e.Prepend=8]=\"Prepend\",e[e.SpacingMark=16]=\"SpacingMark\",e[e.L=32]=\"L\",e[e.V=64]=\"V\",e[e.T=128]=\"T\",e[e.LV=256]=\"LV\",e[e.LVT=512]=\"LVT\",e[e.ExtPict=1024]=\"ExtPict\",e[e.Any=2048]=\"Any\"}(Ce||(Ce={}));var Te=/^(?:[\\u0300-\\u036F\\u0483-\\u0489\\u0591-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u05C5\\u05C7\\u0610-\\u061A\\u064B-\\u065F\\u0670\\u06D6-\\u06DC\\u06DF-\\u06E4\\u06E7\\u06E8\\u06EA-\\u06ED\\u0711\\u0730-\\u074A\\u07A6-\\u07B0\\u07EB-\\u07F3\\u07FD\\u0816-\\u0819\\u081B-\\u0823\\u0825-\\u0827\\u0829-\\u082D\\u0859-\\u085B\\u08D3-\\u08E1\\u08E3-\\u0902\\u093A\\u093C\\u0941-\\u0948\\u094D\\u0951-\\u0957\\u0962\\u0963\\u0981\\u09BC\\u09BE\\u09C1-\\u09C4\\u09CD\\u09D7\\u09E2\\u09E3\\u09FE\\u0A01\\u0A02\\u0A3C\\u0A41\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A51\\u0A70\\u0A71\\u0A75\\u0A81\\u0A82\\u0ABC\\u0AC1-\\u0AC5\\u0AC7\\u0AC8\\u0ACD\\u0AE2\\u0AE3\\u0AFA-\\u0AFF\\u0B01\\u0B3C\\u0B3E\\u0B3F\\u0B41-\\u0B44\\u0B4D\\u0B55-\\u0B57\\u0B62\\u0B63\\u0B82\\u0BBE\\u0BC0\\u0BCD\\u0BD7\\u0C00\\u0C04\\u0C3E-\\u0C40\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55\\u0C56\\u0C62\\u0C63\\u0C81\\u0CBC\\u0CBF\\u0CC2\\u0CC6\\u0CCC\\u0CCD\\u0CD5\\u0CD6\\u0CE2\\u0CE3\\u0D00\\u0D01\\u0D3B\\u0D3C\\u0D3E\\u0D41-\\u0D44\\u0D4D\\u0D57\\u0D62\\u0D63\\u0D81\\u0DCA\\u0DCF\\u0DD2-\\u0DD4\\u0DD6\\u0DDF\\u0E31\\u0E34-\\u0E3A\\u0E47-\\u0E4E\\u0EB1\\u0EB4-\\u0EBC\\u0EC8-\\u0ECD\\u0F18\\u0F19\\u0F35\\u0F37\\u0F39\\u0F71-\\u0F7E\\u0F80-\\u0F84\\u0F86\\u0F87\\u0F8D-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u102D-\\u1030\\u1032-\\u1037\\u1039\\u103A\\u103D\\u103E\\u1058\\u1059\\u105E-\\u1060\\u1071-\\u1074\\u1082\\u1085\\u1086\\u108D\\u109D\\u135D-\\u135F\\u1712-\\u1714\\u1732-\\u1734\\u1752\\u1753\\u1772\\u1773\\u17B4\\u17B5\\u17B7-\\u17BD\\u17C6\\u17C9-\\u17D3\\u17DD\\u180B-\\u180D\\u1885\\u1886\\u18A9\\u1920-\\u1922\\u1927\\u1928\\u1932\\u1939-\\u193B\\u1A17\\u1A18\\u1A1B\\u1A56\\u1A58-\\u1A5E\\u1A60\\u1A62\\u1A65-\\u1A6C\\u1A73-\\u1A7C\\u1A7F\\u1AB0-\\u1AC0\\u1B00-\\u1B03\\u1B34-\\u1B3A\\u1B3C\\u1B42\\u1B6B-\\u1B73\\u1B80\\u1B81\\u1BA2-\\u1BA5\\u1BA8\\u1BA9\\u1BAB-\\u1BAD\\u1BE6\\u1BE8\\u1BE9\\u1BED\\u1BEF-\\u1BF1\\u1C2C-\\u1C33\\u1C36\\u1C37\\u1CD0-\\u1CD2\\u1CD4-\\u1CE0\\u1CE2-\\u1CE8\\u1CED\\u1CF4\\u1CF8\\u1CF9\\u1DC0-\\u1DF9\\u1DFB-\\u1DFF\\u200C\\u20D0-\\u20F0\\u2CEF-\\u2CF1\\u2D7F\\u2DE0-\\u2DFF\\u302A-\\u302F\\u3099\\u309A\\uA66F-\\uA672\\uA674-\\uA67D\\uA69E\\uA69F\\uA6F0\\uA6F1\\uA802\\uA806\\uA80B\\uA825\\uA826\\uA82C\\uA8C4\\uA8C5\\uA8E0-\\uA8F1\\uA8FF\\uA926-\\uA92D\\uA947-\\uA951\\uA980-\\uA982\\uA9B3\\uA9B6-\\uA9B9\\uA9BC\\uA9BD\\uA9E5\\uAA29-\\uAA2E\\uAA31\\uAA32\\uAA35\\uAA36\\uAA43\\uAA4C\\uAA7C\\uAAB0\\uAAB2-\\uAAB4\\uAAB7\\uAAB8\\uAABE\\uAABF\\uAAC1\\uAAEC\\uAAED\\uAAF6\\uABE5\\uABE8\\uABED\\uFB1E\\uFE00-\\uFE0F\\uFE20-\\uFE2F\\uFF9E\\uFF9F]|\\uD800[\\uDDFD\\uDEE0\\uDF76-\\uDF7A]|\\uD802[\\uDE01-\\uDE03\\uDE05\\uDE06\\uDE0C-\\uDE0F\\uDE38-\\uDE3A\\uDE3F\\uDEE5\\uDEE6]|\\uD803[\\uDD24-\\uDD27\\uDEAB\\uDEAC\\uDF46-\\uDF50]|\\uD804[\\uDC01\\uDC38-\\uDC46\\uDC7F-\\uDC81\\uDCB3-\\uDCB6\\uDCB9\\uDCBA\\uDD00-\\uDD02\\uDD27-\\uDD2B\\uDD2D-\\uDD34\\uDD73\\uDD80\\uDD81\\uDDB6-\\uDDBE\\uDDC9-\\uDDCC\\uDDCF\\uDE2F-\\uDE31\\uDE34\\uDE36\\uDE37\\uDE3E\\uDEDF\\uDEE3-\\uDEEA\\uDF00\\uDF01\\uDF3B\\uDF3C\\uDF3E\\uDF40\\uDF57\\uDF66-\\uDF6C\\uDF70-\\uDF74]|\\uD805[\\uDC38-\\uDC3F\\uDC42-\\uDC44\\uDC46\\uDC5E\\uDCB0\\uDCB3-\\uDCB8\\uDCBA\\uDCBD\\uDCBF\\uDCC0\\uDCC2\\uDCC3\\uDDAF\\uDDB2-\\uDDB5\\uDDBC\\uDDBD\\uDDBF\\uDDC0\\uDDDC\\uDDDD\\uDE33-\\uDE3A\\uDE3D\\uDE3F\\uDE40\\uDEAB\\uDEAD\\uDEB0-\\uDEB5\\uDEB7\\uDF1D-\\uDF1F\\uDF22-\\uDF25\\uDF27-\\uDF2B]|\\uD806[\\uDC2F-\\uDC37\\uDC39\\uDC3A\\uDD30\\uDD3B\\uDD3C\\uDD3E\\uDD43\\uDDD4-\\uDDD7\\uDDDA\\uDDDB\\uDDE0\\uDE01-\\uDE0A\\uDE33-\\uDE38\\uDE3B-\\uDE3E\\uDE47\\uDE51-\\uDE56\\uDE59-\\uDE5B\\uDE8A-\\uDE96\\uDE98\\uDE99]|\\uD807[\\uDC30-\\uDC36\\uDC38-\\uDC3D\\uDC3F\\uDC92-\\uDCA7\\uDCAA-\\uDCB0\\uDCB2\\uDCB3\\uDCB5\\uDCB6\\uDD31-\\uDD36\\uDD3A\\uDD3C\\uDD3D\\uDD3F-\\uDD45\\uDD47\\uDD90\\uDD91\\uDD95\\uDD97\\uDEF3\\uDEF4]|\\uD81A[\\uDEF0-\\uDEF4\\uDF30-\\uDF36]|\\uD81B[\\uDF4F\\uDF8F-\\uDF92\\uDFE4]|\\uD82F[\\uDC9D\\uDC9E]|\\uD834[\\uDD65\\uDD67-\\uDD69\\uDD6E-\\uDD72\\uDD7B-\\uDD82\\uDD85-\\uDD8B\\uDDAA-\\uDDAD\\uDE42-\\uDE44]|\\uD836[\\uDE00-\\uDE36\\uDE3B-\\uDE6C\\uDE75\\uDE84\\uDE9B-\\uDE9F\\uDEA1-\\uDEAF]|\\uD838[\\uDC00-\\uDC06\\uDC08-\\uDC18\\uDC1B-\\uDC21\\uDC23\\uDC24\\uDC26-\\uDC2A\\uDD30-\\uDD36\\uDEEC-\\uDEEF]|\\uD83A[\\uDCD0-\\uDCD6\\uDD44-\\uDD4A]|\\uD83C[\\uDFFB-\\uDFFF]|\\uDB40[\\uDC20-\\uDC7F\\uDD00-\\uDDEF])$/,Pe=/^(?:[\\u0600-\\u0605\\u06DD\\u070F\\u0890\\u0891\\u08E2\\u0D4E]|\\uD804[\\uDCBD\\uDCCD\\uDDC2\\uDDC3]|\\uD806[\\uDD3F\\uDD41\\uDE3A\\uDE84-\\uDE89]|\\uD807\\uDD46)$/,je=/^(?:[\\u0903\\u093B\\u093E-\\u0940\\u0949-\\u094C\\u094E\\u094F\\u0982\\u0983\\u09BF\\u09C0\\u09C7\\u09C8\\u09CB\\u09CC\\u0A03\\u0A3E-\\u0A40\\u0A83\\u0ABE-\\u0AC0\\u0AC9\\u0ACB\\u0ACC\\u0B02\\u0B03\\u0B40\\u0B47\\u0B48\\u0B4B\\u0B4C\\u0BBF\\u0BC1\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCC\\u0C01-\\u0C03\\u0C41-\\u0C44\\u0C82\\u0C83\\u0CBE\\u0CC0\\u0CC1\\u0CC3\\u0CC4\\u0CC7\\u0CC8\\u0CCA\\u0CCB\\u0D02\\u0D03\\u0D3F\\u0D40\\u0D46-\\u0D48\\u0D4A-\\u0D4C\\u0D82\\u0D83\\u0DD0\\u0DD1\\u0DD8-\\u0DDE\\u0DF2\\u0DF3\\u0E33\\u0EB3\\u0F3E\\u0F3F\\u0F7F\\u1031\\u103B\\u103C\\u1056\\u1057\\u1084\\u1715\\u1734\\u17B6\\u17BE-\\u17C5\\u17C7\\u17C8\\u1923-\\u1926\\u1929-\\u192B\\u1930\\u1931\\u1933-\\u1938\\u1A19\\u1A1A\\u1A55\\u1A57\\u1A6D-\\u1A72\\u1B04\\u1B3B\\u1B3D-\\u1B41\\u1B43\\u1B44\\u1B82\\u1BA1\\u1BA6\\u1BA7\\u1BAA\\u1BE7\\u1BEA-\\u1BEC\\u1BEE\\u1BF2\\u1BF3\\u1C24-\\u1C2B\\u1C34\\u1C35\\u1CE1\\u1CF7\\uA823\\uA824\\uA827\\uA880\\uA881\\uA8B4-\\uA8C3\\uA952\\uA953\\uA983\\uA9B4\\uA9B5\\uA9BA\\uA9BB\\uA9BE-\\uA9C0\\uAA2F\\uAA30\\uAA33\\uAA34\\uAA4D\\uAAEB\\uAAEE\\uAAEF\\uAAF5\\uABE3\\uABE4\\uABE6\\uABE7\\uABE9\\uABEA\\uABEC]|\\uD804[\\uDC00\\uDC02\\uDC82\\uDCB0-\\uDCB2\\uDCB7\\uDCB8\\uDD2C\\uDD45\\uDD46\\uDD82\\uDDB3-\\uDDB5\\uDDBF\\uDDC0\\uDDCE\\uDE2C-\\uDE2E\\uDE32\\uDE33\\uDE35\\uDEE0-\\uDEE2\\uDF02\\uDF03\\uDF3F\\uDF41-\\uDF44\\uDF47\\uDF48\\uDF4B-\\uDF4D\\uDF62\\uDF63]|\\uD805[\\uDC35-\\uDC37\\uDC40\\uDC41\\uDC45\\uDCB1\\uDCB2\\uDCB9\\uDCBB\\uDCBC\\uDCBE\\uDCC1\\uDDB0\\uDDB1\\uDDB8-\\uDDBB\\uDDBE\\uDE30-\\uDE32\\uDE3B\\uDE3C\\uDE3E\\uDEAC\\uDEAE\\uDEAF\\uDEB6\\uDF26]|\\uD806[\\uDC2C-\\uDC2E\\uDC38\\uDD31-\\uDD35\\uDD37\\uDD38\\uDD3D\\uDD40\\uDD42\\uDDD1-\\uDDD3\\uDDDC-\\uDDDF\\uDDE4\\uDE39\\uDE57\\uDE58\\uDE97]|\\uD807[\\uDC2F\\uDC3E\\uDCA9\\uDCB1\\uDCB4\\uDD8A-\\uDD8E\\uDD93\\uDD94\\uDD96\\uDEF5\\uDEF6]|\\uD81B[\\uDF51-\\uDF87\\uDFF0\\uDFF1]|\\uD834[\\uDD66\\uDD6D])$/,Ne=/^[\\u1100-\\u115F\\uA960-\\uA97C]$/,_e=/^[\\u1160-\\u11A7\\uD7B0-\\uD7C6]$/,Me=/^[\\u11A8-\\u11FF\\uD7CB-\\uD7FB]$/,Re=/^[\\uAC00\\uAC1C\\uAC38\\uAC54\\uAC70\\uAC8C\\uACA8\\uACC4\\uACE0\\uACFC\\uAD18\\uAD34\\uAD50\\uAD6C\\uAD88\\uADA4\\uADC0\\uADDC\\uADF8\\uAE14\\uAE30\\uAE4C\\uAE68\\uAE84\\uAEA0\\uAEBC\\uAED8\\uAEF4\\uAF10\\uAF2C\\uAF48\\uAF64\\uAF80\\uAF9C\\uAFB8\\uAFD4\\uAFF0\\uB00C\\uB028\\uB044\\uB060\\uB07C\\uB098\\uB0B4\\uB0D0\\uB0EC\\uB108\\uB124\\uB140\\uB15C\\uB178\\uB194\\uB1B0\\uB1CC\\uB1E8\\uB204\\uB220\\uB23C\\uB258\\uB274\\uB290\\uB2AC\\uB2C8\\uB2E4\\uB300\\uB31C\\uB338\\uB354\\uB370\\uB38C\\uB3A8\\uB3C4\\uB3E0\\uB3FC\\uB418\\uB434\\uB450\\uB46C\\uB488\\uB4A4\\uB4C0\\uB4DC\\uB4F8\\uB514\\uB530\\uB54C\\uB568\\uB584\\uB5A0\\uB5BC\\uB5D8\\uB5F4\\uB610\\uB62C\\uB648\\uB664\\uB680\\uB69C\\uB6B8\\uB6D4\\uB6F0\\uB70C\\uB728\\uB744\\uB760\\uB77C\\uB798\\uB7B4\\uB7D0\\uB7EC\\uB808\\uB824\\uB840\\uB85C\\uB878\\uB894\\uB8B0\\uB8CC\\uB8E8\\uB904\\uB920\\uB93C\\uB958\\uB974\\uB990\\uB9AC\\uB9C8\\uB9E4\\uBA00\\uBA1C\\uBA38\\uBA54\\uBA70\\uBA8C\\uBAA8\\uBAC4\\uBAE0\\uBAFC\\uBB18\\uBB34\\uBB50\\uBB6C\\uBB88\\uBBA4\\uBBC0\\uBBDC\\uBBF8\\uBC14\\uBC30\\uBC4C\\uBC68\\uBC84\\uBCA0\\uBCBC\\uBCD8\\uBCF4\\uBD10\\uBD2C\\uBD48\\uBD64\\uBD80\\uBD9C\\uBDB8\\uBDD4\\uBDF0\\uBE0C\\uBE28\\uBE44\\uBE60\\uBE7C\\uBE98\\uBEB4\\uBED0\\uBEEC\\uBF08\\uBF24\\uBF40\\uBF5C\\uBF78\\uBF94\\uBFB0\\uBFCC\\uBFE8\\uC004\\uC020\\uC03C\\uC058\\uC074\\uC090\\uC0AC\\uC0C8\\uC0E4\\uC100\\uC11C\\uC138\\uC154\\uC170\\uC18C\\uC1A8\\uC1C4\\uC1E0\\uC1FC\\uC218\\uC234\\uC250\\uC26C\\uC288\\uC2A4\\uC2C0\\uC2DC\\uC2F8\\uC314\\uC330\\uC34C\\uC368\\uC384\\uC3A0\\uC3BC\\uC3D8\\uC3F4\\uC410\\uC42C\\uC448\\uC464\\uC480\\uC49C\\uC4B8\\uC4D4\\uC4F0\\uC50C\\uC528\\uC544\\uC560\\uC57C\\uC598\\uC5B4\\uC5D0\\uC5EC\\uC608\\uC624\\uC640\\uC65C\\uC678\\uC694\\uC6B0\\uC6CC\\uC6E8\\uC704\\uC720\\uC73C\\uC758\\uC774\\uC790\\uC7AC\\uC7C8\\uC7E4\\uC800\\uC81C\\uC838\\uC854\\uC870\\uC88C\\uC8A8\\uC8C4\\uC8E0\\uC8FC\\uC918\\uC934\\uC950\\uC96C\\uC988\\uC9A4\\uC9C0\\uC9DC\\uC9F8\\uCA14\\uCA30\\uCA4C\\uCA68\\uCA84\\uCAA0\\uCABC\\uCAD8\\uCAF4\\uCB10\\uCB2C\\uCB48\\uCB64\\uCB80\\uCB9C\\uCBB8\\uCBD4\\uCBF0\\uCC0C\\uCC28\\uCC44\\uCC60\\uCC7C\\uCC98\\uCCB4\\uCCD0\\uCCEC\\uCD08\\uCD24\\uCD40\\uCD5C\\uCD78\\uCD94\\uCDB0\\uCDCC\\uCDE8\\uCE04\\uCE20\\uCE3C\\uCE58\\uCE74\\uCE90\\uCEAC\\uCEC8\\uCEE4\\uCF00\\uCF1C\\uCF38\\uCF54\\uCF70\\uCF8C\\uCFA8\\uCFC4\\uCFE0\\uCFFC\\uD018\\uD034\\uD050\\uD06C\\uD088\\uD0A4\\uD0C0\\uD0DC\\uD0F8\\uD114\\uD130\\uD14C\\uD168\\uD184\\uD1A0\\uD1BC\\uD1D8\\uD1F4\\uD210\\uD22C\\uD248\\uD264\\uD280\\uD29C\\uD2B8\\uD2D4\\uD2F0\\uD30C\\uD328\\uD344\\uD360\\uD37C\\uD398\\uD3B4\\uD3D0\\uD3EC\\uD408\\uD424\\uD440\\uD45C\\uD478\\uD494\\uD4B0\\uD4CC\\uD4E8\\uD504\\uD520\\uD53C\\uD558\\uD574\\uD590\\uD5AC\\uD5C8\\uD5E4\\uD600\\uD61C\\uD638\\uD654\\uD670\\uD68C\\uD6A8\\uD6C4\\uD6E0\\uD6FC\\uD718\\uD734\\uD750\\uD76C\\uD788]$/,ze=/^[\\uAC01-\\uAC1B\\uAC1D-\\uAC37\\uAC39-\\uAC53\\uAC55-\\uAC6F\\uAC71-\\uAC8B\\uAC8D-\\uACA7\\uACA9-\\uACC3\\uACC5-\\uACDF\\uACE1-\\uACFB\\uACFD-\\uAD17\\uAD19-\\uAD33\\uAD35-\\uAD4F\\uAD51-\\uAD6B\\uAD6D-\\uAD87\\uAD89-\\uADA3\\uADA5-\\uADBF\\uADC1-\\uADDB\\uADDD-\\uADF7\\uADF9-\\uAE13\\uAE15-\\uAE2F\\uAE31-\\uAE4B\\uAE4D-\\uAE67\\uAE69-\\uAE83\\uAE85-\\uAE9F\\uAEA1-\\uAEBB\\uAEBD-\\uAED7\\uAED9-\\uAEF3\\uAEF5-\\uAF0F\\uAF11-\\uAF2B\\uAF2D-\\uAF47\\uAF49-\\uAF63\\uAF65-\\uAF7F\\uAF81-\\uAF9B\\uAF9D-\\uAFB7\\uAFB9-\\uAFD3\\uAFD5-\\uAFEF\\uAFF1-\\uB00B\\uB00D-\\uB027\\uB029-\\uB043\\uB045-\\uB05F\\uB061-\\uB07B\\uB07D-\\uB097\\uB099-\\uB0B3\\uB0B5-\\uB0CF\\uB0D1-\\uB0EB\\uB0ED-\\uB107\\uB109-\\uB123\\uB125-\\uB13F\\uB141-\\uB15B\\uB15D-\\uB177\\uB179-\\uB193\\uB195-\\uB1AF\\uB1B1-\\uB1CB\\uB1CD-\\uB1E7\\uB1E9-\\uB203\\uB205-\\uB21F\\uB221-\\uB23B\\uB23D-\\uB257\\uB259-\\uB273\\uB275-\\uB28F\\uB291-\\uB2AB\\uB2AD-\\uB2C7\\uB2C9-\\uB2E3\\uB2E5-\\uB2FF\\uB301-\\uB31B\\uB31D-\\uB337\\uB339-\\uB353\\uB355-\\uB36F\\uB371-\\uB38B\\uB38D-\\uB3A7\\uB3A9-\\uB3C3\\uB3C5-\\uB3DF\\uB3E1-\\uB3FB\\uB3FD-\\uB417\\uB419-\\uB433\\uB435-\\uB44F\\uB451-\\uB46B\\uB46D-\\uB487\\uB489-\\uB4A3\\uB4A5-\\uB4BF\\uB4C1-\\uB4DB\\uB4DD-\\uB4F7\\uB4F9-\\uB513\\uB515-\\uB52F\\uB531-\\uB54B\\uB54D-\\uB567\\uB569-\\uB583\\uB585-\\uB59F\\uB5A1-\\uB5BB\\uB5BD-\\uB5D7\\uB5D9-\\uB5F3\\uB5F5-\\uB60F\\uB611-\\uB62B\\uB62D-\\uB647\\uB649-\\uB663\\uB665-\\uB67F\\uB681-\\uB69B\\uB69D-\\uB6B7\\uB6B9-\\uB6D3\\uB6D5-\\uB6EF\\uB6F1-\\uB70B\\uB70D-\\uB727\\uB729-\\uB743\\uB745-\\uB75F\\uB761-\\uB77B\\uB77D-\\uB797\\uB799-\\uB7B3\\uB7B5-\\uB7CF\\uB7D1-\\uB7EB\\uB7ED-\\uB807\\uB809-\\uB823\\uB825-\\uB83F\\uB841-\\uB85B\\uB85D-\\uB877\\uB879-\\uB893\\uB895-\\uB8AF\\uB8B1-\\uB8CB\\uB8CD-\\uB8E7\\uB8E9-\\uB903\\uB905-\\uB91F\\uB921-\\uB93B\\uB93D-\\uB957\\uB959-\\uB973\\uB975-\\uB98F\\uB991-\\uB9AB\\uB9AD-\\uB9C7\\uB9C9-\\uB9E3\\uB9E5-\\uB9FF\\uBA01-\\uBA1B\\uBA1D-\\uBA37\\uBA39-\\uBA53\\uBA55-\\uBA6F\\uBA71-\\uBA8B\\uBA8D-\\uBAA7\\uBAA9-\\uBAC3\\uBAC5-\\uBADF\\uBAE1-\\uBAFB\\uBAFD-\\uBB17\\uBB19-\\uBB33\\uBB35-\\uBB4F\\uBB51-\\uBB6B\\uBB6D-\\uBB87\\uBB89-\\uBBA3\\uBBA5-\\uBBBF\\uBBC1-\\uBBDB\\uBBDD-\\uBBF7\\uBBF9-\\uBC13\\uBC15-\\uBC2F\\uBC31-\\uBC4B\\uBC4D-\\uBC67\\uBC69-\\uBC83\\uBC85-\\uBC9F\\uBCA1-\\uBCBB\\uBCBD-\\uBCD7\\uBCD9-\\uBCF3\\uBCF5-\\uBD0F\\uBD11-\\uBD2B\\uBD2D-\\uBD47\\uBD49-\\uBD63\\uBD65-\\uBD7F\\uBD81-\\uBD9B\\uBD9D-\\uBDB7\\uBDB9-\\uBDD3\\uBDD5-\\uBDEF\\uBDF1-\\uBE0B\\uBE0D-\\uBE27\\uBE29-\\uBE43\\uBE45-\\uBE5F\\uBE61-\\uBE7B\\uBE7D-\\uBE97\\uBE99-\\uBEB3\\uBEB5-\\uBECF\\uBED1-\\uBEEB\\uBEED-\\uBF07\\uBF09-\\uBF23\\uBF25-\\uBF3F\\uBF41-\\uBF5B\\uBF5D-\\uBF77\\uBF79-\\uBF93\\uBF95-\\uBFAF\\uBFB1-\\uBFCB\\uBFCD-\\uBFE7\\uBFE9-\\uC003\\uC005-\\uC01F\\uC021-\\uC03B\\uC03D-\\uC057\\uC059-\\uC073\\uC075-\\uC08F\\uC091-\\uC0AB\\uC0AD-\\uC0C7\\uC0C9-\\uC0E3\\uC0E5-\\uC0FF\\uC101-\\uC11B\\uC11D-\\uC137\\uC139-\\uC153\\uC155-\\uC16F\\uC171-\\uC18B\\uC18D-\\uC1A7\\uC1A9-\\uC1C3\\uC1C5-\\uC1DF\\uC1E1-\\uC1FB\\uC1FD-\\uC217\\uC219-\\uC233\\uC235-\\uC24F\\uC251-\\uC26B\\uC26D-\\uC287\\uC289-\\uC2A3\\uC2A5-\\uC2BF\\uC2C1-\\uC2DB\\uC2DD-\\uC2F7\\uC2F9-\\uC313\\uC315-\\uC32F\\uC331-\\uC34B\\uC34D-\\uC367\\uC369-\\uC383\\uC385-\\uC39F\\uC3A1-\\uC3BB\\uC3BD-\\uC3D7\\uC3D9-\\uC3F3\\uC3F5-\\uC40F\\uC411-\\uC42B\\uC42D-\\uC447\\uC449-\\uC463\\uC465-\\uC47F\\uC481-\\uC49B\\uC49D-\\uC4B7\\uC4B9-\\uC4D3\\uC4D5-\\uC4EF\\uC4F1-\\uC50B\\uC50D-\\uC527\\uC529-\\uC543\\uC545-\\uC55F\\uC561-\\uC57B\\uC57D-\\uC597\\uC599-\\uC5B3\\uC5B5-\\uC5CF\\uC5D1-\\uC5EB\\uC5ED-\\uC607\\uC609-\\uC623\\uC625-\\uC63F\\uC641-\\uC65B\\uC65D-\\uC677\\uC679-\\uC693\\uC695-\\uC6AF\\uC6B1-\\uC6CB\\uC6CD-\\uC6E7\\uC6E9-\\uC703\\uC705-\\uC71F\\uC721-\\uC73B\\uC73D-\\uC757\\uC759-\\uC773\\uC775-\\uC78F\\uC791-\\uC7AB\\uC7AD-\\uC7C7\\uC7C9-\\uC7E3\\uC7E5-\\uC7FF\\uC801-\\uC81B\\uC81D-\\uC837\\uC839-\\uC853\\uC855-\\uC86F\\uC871-\\uC88B\\uC88D-\\uC8A7\\uC8A9-\\uC8C3\\uC8C5-\\uC8DF\\uC8E1-\\uC8FB\\uC8FD-\\uC917\\uC919-\\uC933\\uC935-\\uC94F\\uC951-\\uC96B\\uC96D-\\uC987\\uC989-\\uC9A3\\uC9A5-\\uC9BF\\uC9C1-\\uC9DB\\uC9DD-\\uC9F7\\uC9F9-\\uCA13\\uCA15-\\uCA2F\\uCA31-\\uCA4B\\uCA4D-\\uCA67\\uCA69-\\uCA83\\uCA85-\\uCA9F\\uCAA1-\\uCABB\\uCABD-\\uCAD7\\uCAD9-\\uCAF3\\uCAF5-\\uCB0F\\uCB11-\\uCB2B\\uCB2D-\\uCB47\\uCB49-\\uCB63\\uCB65-\\uCB7F\\uCB81-\\uCB9B\\uCB9D-\\uCBB7\\uCBB9-\\uCBD3\\uCBD5-\\uCBEF\\uCBF1-\\uCC0B\\uCC0D-\\uCC27\\uCC29-\\uCC43\\uCC45-\\uCC5F\\uCC61-\\uCC7B\\uCC7D-\\uCC97\\uCC99-\\uCCB3\\uCCB5-\\uCCCF\\uCCD1-\\uCCEB\\uCCED-\\uCD07\\uCD09-\\uCD23\\uCD25-\\uCD3F\\uCD41-\\uCD5B\\uCD5D-\\uCD77\\uCD79-\\uCD93\\uCD95-\\uCDAF\\uCDB1-\\uCDCB\\uCDCD-\\uCDE7\\uCDE9-\\uCE03\\uCE05-\\uCE1F\\uCE21-\\uCE3B\\uCE3D-\\uCE57\\uCE59-\\uCE73\\uCE75-\\uCE8F\\uCE91-\\uCEAB\\uCEAD-\\uCEC7\\uCEC9-\\uCEE3\\uCEE5-\\uCEFF\\uCF01-\\uCF1B\\uCF1D-\\uCF37\\uCF39-\\uCF53\\uCF55-\\uCF6F\\uCF71-\\uCF8B\\uCF8D-\\uCFA7\\uCFA9-\\uCFC3\\uCFC5-\\uCFDF\\uCFE1-\\uCFFB\\uCFFD-\\uD017\\uD019-\\uD033\\uD035-\\uD04F\\uD051-\\uD06B\\uD06D-\\uD087\\uD089-\\uD0A3\\uD0A5-\\uD0BF\\uD0C1-\\uD0DB\\uD0DD-\\uD0F7\\uD0F9-\\uD113\\uD115-\\uD12F\\uD131-\\uD14B\\uD14D-\\uD167\\uD169-\\uD183\\uD185-\\uD19F\\uD1A1-\\uD1BB\\uD1BD-\\uD1D7\\uD1D9-\\uD1F3\\uD1F5-\\uD20F\\uD211-\\uD22B\\uD22D-\\uD247\\uD249-\\uD263\\uD265-\\uD27F\\uD281-\\uD29B\\uD29D-\\uD2B7\\uD2B9-\\uD2D3\\uD2D5-\\uD2EF\\uD2F1-\\uD30B\\uD30D-\\uD327\\uD329-\\uD343\\uD345-\\uD35F\\uD361-\\uD37B\\uD37D-\\uD397\\uD399-\\uD3B3\\uD3B5-\\uD3CF\\uD3D1-\\uD3EB\\uD3ED-\\uD407\\uD409-\\uD423\\uD425-\\uD43F\\uD441-\\uD45B\\uD45D-\\uD477\\uD479-\\uD493\\uD495-\\uD4AF\\uD4B1-\\uD4CB\\uD4CD-\\uD4E7\\uD4E9-\\uD503\\uD505-\\uD51F\\uD521-\\uD53B\\uD53D-\\uD557\\uD559-\\uD573\\uD575-\\uD58F\\uD591-\\uD5AB\\uD5AD-\\uD5C7\\uD5C9-\\uD5E3\\uD5E5-\\uD5FF\\uD601-\\uD61B\\uD61D-\\uD637\\uD639-\\uD653\\uD655-\\uD66F\\uD671-\\uD68B\\uD68D-\\uD6A7\\uD6A9-\\uD6C3\\uD6C5-\\uD6DF\\uD6E1-\\uD6FB\\uD6FD-\\uD717\\uD719-\\uD733\\uD735-\\uD74F\\uD751-\\uD76B\\uD76D-\\uD787\\uD789-\\uD7A3]$/,Ie=/^(?:[\\xA9\\xAE\\u203C\\u2049\\u2122\\u2139\\u2194-\\u2199\\u21A9\\u21AA\\u231A\\u231B\\u2328\\u2388\\u23CF\\u23E9-\\u23F3\\u23F8-\\u23FA\\u24C2\\u25AA\\u25AB\\u25B6\\u25C0\\u25FB-\\u25FE\\u2600-\\u2605\\u2607-\\u2612\\u2614-\\u2685\\u2690-\\u2705\\u2708-\\u2712\\u2714\\u2716\\u271D\\u2721\\u2728\\u2733\\u2734\\u2744\\u2747\\u274C\\u274E\\u2753-\\u2755\\u2757\\u2763-\\u2767\\u2795-\\u2797\\u27A1\\u27B0\\u27BF\\u2934\\u2935\\u2B05-\\u2B07\\u2B1B\\u2B1C\\u2B50\\u2B55\\u3030\\u303D\\u3297\\u3299]|\\uD83C[\\uDC00-\\uDCFF\\uDD0D-\\uDD0F\\uDD2F\\uDD6C-\\uDD71\\uDD7E\\uDD7F\\uDD8E\\uDD91-\\uDD9A\\uDDAD-\\uDDE5\\uDE01-\\uDE0F\\uDE1A\\uDE2F\\uDE32-\\uDE3A\\uDE3C-\\uDE3F\\uDE49-\\uDFFA]|\\uD83D[\\uDC00-\\uDD3D\\uDD46-\\uDE4F\\uDE80-\\uDEFF\\uDF74-\\uDF7F\\uDFD5-\\uDFFF]|\\uD83E[\\uDC0C-\\uDC0F\\uDC48-\\uDC4F\\uDC5A-\\uDC5F\\uDC88-\\uDC8F\\uDCAE-\\uDCFF\\uDD0C-\\uDD3A\\uDD3C-\\uDD45\\uDD47-\\uDEFF]|\\uD83F[\\uDC00-\\uDFFD])$/,Le=(e,t)=>{var n=Ce.Any;return-1!==e.search(Te)&&(n|=Ce.Extend),8205===t&&(n|=Ce.ZWJ),t>=127462&&t<=127487&&(n|=Ce.RI),-1!==e.search(Pe)&&(n|=Ce.Prepend),-1!==e.search(je)&&(n|=Ce.SpacingMark),-1!==e.search(Ne)&&(n|=Ce.L),-1!==e.search(_e)&&(n|=Ce.V),-1!==e.search(Me)&&(n|=Ce.T),-1!==e.search(Re)&&(n|=Ce.LV),-1!==e.search(ze)&&(n|=Ce.LVT),-1!==e.search(Ie)&&(n|=Ce.ExtPict),n};function We(e,t){return 0!=(e&t)}var Ve=[[Ce.L,Ce.L|Ce.V|Ce.LV|Ce.LVT],[Ce.LV|Ce.V,Ce.V|Ce.T],[Ce.LVT|Ce.T,Ce.T],[Ce.Any,Ce.Extend|Ce.ZWJ],[Ce.Any,Ce.SpacingMark],[Ce.Prepend,Ce.Any],[Ce.ZWJ,Ce.ExtPict],[Ce.RI,Ce.RI]];function Ue(e,t){return-1===Ve.findIndex(n=>We(e,n[0])&&We(t,n[1]))}var He=/(?:[\\xA9\\xAE\\u203C\\u2049\\u2122\\u2139\\u2194-\\u2199\\u21A9\\u21AA\\u231A\\u231B\\u2328\\u2388\\u23CF\\u23E9-\\u23F3\\u23F8-\\u23FA\\u24C2\\u25AA\\u25AB\\u25B6\\u25C0\\u25FB-\\u25FE\\u2600-\\u2605\\u2607-\\u2612\\u2614-\\u2685\\u2690-\\u2705\\u2708-\\u2712\\u2714\\u2716\\u271D\\u2721\\u2728\\u2733\\u2734\\u2744\\u2747\\u274C\\u274E\\u2753-\\u2755\\u2757\\u2763-\\u2767\\u2795-\\u2797\\u27A1\\u27B0\\u27BF\\u2934\\u2935\\u2B05-\\u2B07\\u2B1B\\u2B1C\\u2B50\\u2B55\\u3030\\u303D\\u3297\\u3299]|\\uD83C[\\uDC00-\\uDCFF\\uDD0D-\\uDD0F\\uDD2F\\uDD6C-\\uDD71\\uDD7E\\uDD7F\\uDD8E\\uDD91-\\uDD9A\\uDDAD-\\uDDE5\\uDE01-\\uDE0F\\uDE1A\\uDE2F\\uDE32-\\uDE3A\\uDE3C-\\uDE3F\\uDE49-\\uDFFA]|\\uD83D[\\uDC00-\\uDD3D\\uDD46-\\uDE4F\\uDE80-\\uDEFF\\uDF74-\\uDF7F\\uDFD5-\\uDFFF]|\\uD83E[\\uDC0C-\\uDC0F\\uDC48-\\uDC4F\\uDC5A-\\uDC5F\\uDC88-\\uDC8F\\uDCAE-\\uDCFF\\uDD0C-\\uDD3A\\uDD3C-\\uDD45\\uDD47-\\uDEFF]|\\uD83F[\\uDC00-\\uDFFD])(?:[\\u0300-\\u036F\\u0483-\\u0489\\u0591-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u05C5\\u05C7\\u0610-\\u061A\\u064B-\\u065F\\u0670\\u06D6-\\u06DC\\u06DF-\\u06E4\\u06E7\\u06E8\\u06EA-\\u06ED\\u0711\\u0730-\\u074A\\u07A6-\\u07B0\\u07EB-\\u07F3\\u07FD\\u0816-\\u0819\\u081B-\\u0823\\u0825-\\u0827\\u0829-\\u082D\\u0859-\\u085B\\u08D3-\\u08E1\\u08E3-\\u0902\\u093A\\u093C\\u0941-\\u0948\\u094D\\u0951-\\u0957\\u0962\\u0963\\u0981\\u09BC\\u09BE\\u09C1-\\u09C4\\u09CD\\u09D7\\u09E2\\u09E3\\u09FE\\u0A01\\u0A02\\u0A3C\\u0A41\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A51\\u0A70\\u0A71\\u0A75\\u0A81\\u0A82\\u0ABC\\u0AC1-\\u0AC5\\u0AC7\\u0AC8\\u0ACD\\u0AE2\\u0AE3\\u0AFA-\\u0AFF\\u0B01\\u0B3C\\u0B3E\\u0B3F\\u0B41-\\u0B44\\u0B4D\\u0B55-\\u0B57\\u0B62\\u0B63\\u0B82\\u0BBE\\u0BC0\\u0BCD\\u0BD7\\u0C00\\u0C04\\u0C3E-\\u0C40\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55\\u0C56\\u0C62\\u0C63\\u0C81\\u0CBC\\u0CBF\\u0CC2\\u0CC6\\u0CCC\\u0CCD\\u0CD5\\u0CD6\\u0CE2\\u0CE3\\u0D00\\u0D01\\u0D3B\\u0D3C\\u0D3E\\u0D41-\\u0D44\\u0D4D\\u0D57\\u0D62\\u0D63\\u0D81\\u0DCA\\u0DCF\\u0DD2-\\u0DD4\\u0DD6\\u0DDF\\u0E31\\u0E34-\\u0E3A\\u0E47-\\u0E4E\\u0EB1\\u0EB4-\\u0EBC\\u0EC8-\\u0ECD\\u0F18\\u0F19\\u0F35\\u0F37\\u0F39\\u0F71-\\u0F7E\\u0F80-\\u0F84\\u0F86\\u0F87\\u0F8D-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u102D-\\u1030\\u1032-\\u1037\\u1039\\u103A\\u103D\\u103E\\u1058\\u1059\\u105E-\\u1060\\u1071-\\u1074\\u1082\\u1085\\u1086\\u108D\\u109D\\u135D-\\u135F\\u1712-\\u1714\\u1732-\\u1734\\u1752\\u1753\\u1772\\u1773\\u17B4\\u17B5\\u17B7-\\u17BD\\u17C6\\u17C9-\\u17D3\\u17DD\\u180B-\\u180D\\u1885\\u1886\\u18A9\\u1920-\\u1922\\u1927\\u1928\\u1932\\u1939-\\u193B\\u1A17\\u1A18\\u1A1B\\u1A56\\u1A58-\\u1A5E\\u1A60\\u1A62\\u1A65-\\u1A6C\\u1A73-\\u1A7C\\u1A7F\\u1AB0-\\u1AC0\\u1B00-\\u1B03\\u1B34-\\u1B3A\\u1B3C\\u1B42\\u1B6B-\\u1B73\\u1B80\\u1B81\\u1BA2-\\u1BA5\\u1BA8\\u1BA9\\u1BAB-\\u1BAD\\u1BE6\\u1BE8\\u1BE9\\u1BED\\u1BEF-\\u1BF1\\u1C2C-\\u1C33\\u1C36\\u1C37\\u1CD0-\\u1CD2\\u1CD4-\\u1CE0\\u1CE2-\\u1CE8\\u1CED\\u1CF4\\u1CF8\\u1CF9\\u1DC0-\\u1DF9\\u1DFB-\\u1DFF\\u200C\\u20D0-\\u20F0\\u2CEF-\\u2CF1\\u2D7F\\u2DE0-\\u2DFF\\u302A-\\u302F\\u3099\\u309A\\uA66F-\\uA672\\uA674-\\uA67D\\uA69E\\uA69F\\uA6F0\\uA6F1\\uA802\\uA806\\uA80B\\uA825\\uA826\\uA82C\\uA8C4\\uA8C5\\uA8E0-\\uA8F1\\uA8FF\\uA926-\\uA92D\\uA947-\\uA951\\uA980-\\uA982\\uA9B3\\uA9B6-\\uA9B9\\uA9BC\\uA9BD\\uA9E5\\uAA29-\\uAA2E\\uAA31\\uAA32\\uAA35\\uAA36\\uAA43\\uAA4C\\uAA7C\\uAAB0\\uAAB2-\\uAAB4\\uAAB7\\uAAB8\\uAABE\\uAABF\\uAAC1\\uAAEC\\uAAED\\uAAF6\\uABE5\\uABE8\\uABED\\uFB1E\\uFE00-\\uFE0F\\uFE20-\\uFE2F\\uFF9E\\uFF9F]|\\uD800[\\uDDFD\\uDEE0\\uDF76-\\uDF7A]|\\uD802[\\uDE01-\\uDE03\\uDE05\\uDE06\\uDE0C-\\uDE0F\\uDE38-\\uDE3A\\uDE3F\\uDEE5\\uDEE6]|\\uD803[\\uDD24-\\uDD27\\uDEAB\\uDEAC\\uDF46-\\uDF50]|\\uD804[\\uDC01\\uDC38-\\uDC46\\uDC7F-\\uDC81\\uDCB3-\\uDCB6\\uDCB9\\uDCBA\\uDD00-\\uDD02\\uDD27-\\uDD2B\\uDD2D-\\uDD34\\uDD73\\uDD80\\uDD81\\uDDB6-\\uDDBE\\uDDC9-\\uDDCC\\uDDCF\\uDE2F-\\uDE31\\uDE34\\uDE36\\uDE37\\uDE3E\\uDEDF\\uDEE3-\\uDEEA\\uDF00\\uDF01\\uDF3B\\uDF3C\\uDF3E\\uDF40\\uDF57\\uDF66-\\uDF6C\\uDF70-\\uDF74]|\\uD805[\\uDC38-\\uDC3F\\uDC42-\\uDC44\\uDC46\\uDC5E\\uDCB0\\uDCB3-\\uDCB8\\uDCBA\\uDCBD\\uDCBF\\uDCC0\\uDCC2\\uDCC3\\uDDAF\\uDDB2-\\uDDB5\\uDDBC\\uDDBD\\uDDBF\\uDDC0\\uDDDC\\uDDDD\\uDE33-\\uDE3A\\uDE3D\\uDE3F\\uDE40\\uDEAB\\uDEAD\\uDEB0-\\uDEB5\\uDEB7\\uDF1D-\\uDF1F\\uDF22-\\uDF25\\uDF27-\\uDF2B]|\\uD806[\\uDC2F-\\uDC37\\uDC39\\uDC3A\\uDD30\\uDD3B\\uDD3C\\uDD3E\\uDD43\\uDDD4-\\uDDD7\\uDDDA\\uDDDB\\uDDE0\\uDE01-\\uDE0A\\uDE33-\\uDE38\\uDE3B-\\uDE3E\\uDE47\\uDE51-\\uDE56\\uDE59-\\uDE5B\\uDE8A-\\uDE96\\uDE98\\uDE99]|\\uD807[\\uDC30-\\uDC36\\uDC38-\\uDC3D\\uDC3F\\uDC92-\\uDCA7\\uDCAA-\\uDCB0\\uDCB2\\uDCB3\\uDCB5\\uDCB6\\uDD31-\\uDD36\\uDD3A\\uDD3C\\uDD3D\\uDD3F-\\uDD45\\uDD47\\uDD90\\uDD91\\uDD95\\uDD97\\uDEF3\\uDEF4]|\\uD81A[\\uDEF0-\\uDEF4\\uDF30-\\uDF36]|\\uD81B[\\uDF4F\\uDF8F-\\uDF92\\uDFE4]|\\uD82F[\\uDC9D\\uDC9E]|\\uD834[\\uDD65\\uDD67-\\uDD69\\uDD6E-\\uDD72\\uDD7B-\\uDD82\\uDD85-\\uDD8B\\uDDAA-\\uDDAD\\uDE42-\\uDE44]|\\uD836[\\uDE00-\\uDE36\\uDE3B-\\uDE6C\\uDE75\\uDE84\\uDE9B-\\uDE9F\\uDEA1-\\uDEAF]|\\uD838[\\uDC00-\\uDC06\\uDC08-\\uDC18\\uDC1B-\\uDC21\\uDC23\\uDC24\\uDC26-\\uDC2A\\uDD30-\\uDD36\\uDEEC-\\uDEEF]|\\uD83A[\\uDCD0-\\uDCD6\\uDD44-\\uDD4A]|\\uD83C[\\uDFFB-\\uDFFF]|\\uDB40[\\uDC20-\\uDC7F\\uDD00-\\uDDEF])*\\u200D$/,qe=e=>-1!==e.search(He),$e=/(?:\\uD83C[\\uDDE6-\\uDDFF])+$/g,Ke=e=>{var t=e.match($e);return null!==t&&t[0].length/2%2==1},Qe=e=>l(e)&&at.isNodeList(e.children)&&!tt.isEditor(e),Xe={isAncestor:e=>l(e)&&at.isNodeList(e.children),isElement:Qe,isElementList:e=>Array.isArray(e)&&e.every(e=>Xe.isElement(e)),isElementProps:e=>void 0!==e.children,isElementType:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:\"type\";return Qe(e)&&e[n]===t},matches(e,t){for(var n in t)if(\"children\"!==n&&e[n]!==t[n])return!1;return!0}},Je=[\"text\"],Ye=[\"text\"];function Ge(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ze(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ge(Object(n),!0).forEach((function(t){le(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ge(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var et=new WeakMap,tt={above(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{voids:n=!1,mode:r=\"lowest\",at:u=e.selection,match:o}=t;if(u){var a=tt.path(e,u),i=\"lowest\"===r;for(var[l,s]of tt.levels(e,{at:a,voids:n,match:o,reverse:i}))if(!At.isText(l)&&!ct.equals(a,s))return[l,s]}},addMark(e,t,n){e.addMark(t,n)},after(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u={anchor:tt.point(e,t,{edge:\"end\"}),focus:tt.end(e,[])},{distance:o=1}=r,a=0;for(var i of tt.positions(e,Ze(Ze({},r),{},{at:u}))){if(a>o)break;0!==a&&(n=i),a++}return n},before(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u={anchor:tt.start(e,[]),focus:tt.point(e,t,{edge:\"start\"})},{distance:o=1}=r,a=0;for(var i of tt.positions(e,Ze(Ze({},r),{},{at:u,reverse:!0}))){if(a>o)break;0!==a&&(n=i),a++}return n},deleteBackward(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{unit:n=\"character\"}=t;e.deleteBackward(n)},deleteForward(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{unit:n=\"character\"}=t;e.deleteForward(n)},deleteFragment(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{direction:n=\"forward\"}=t;e.deleteFragment(n)},edges:(e,t)=>[tt.start(e,t),tt.end(e,t)],end:(e,t)=>tt.point(e,t,{edge:\"end\"}),first(e,t){var n=tt.path(e,t,{edge:\"start\"});return tt.node(e,n)},fragment(e,t){var n=tt.range(e,t);return at.fragment(e,n)},hasBlocks:(e,t)=>t.children.some(t=>tt.isBlock(e,t)),hasInlines:(e,t)=>t.children.some(t=>At.isText(t)||tt.isInline(e,t)),hasTexts:(e,t)=>t.children.every(e=>At.isText(e)),insertBreak(e){e.insertBreak()},insertFragment(e,t){e.insertFragment(t)},insertNode(e,t){e.insertNode(t)},insertText(e,t){e.insertText(t)},isBlock:(e,t)=>Xe.isElement(t)&&!e.isInline(t),isEditor(e){if(!l(e))return!1;var t=et.get(e);if(void 0!==t)return t;var n=\"function\"==typeof e.addMark&&\"function\"==typeof e.apply&&\"function\"==typeof e.deleteBackward&&\"function\"==typeof e.deleteForward&&\"function\"==typeof e.deleteFragment&&\"function\"==typeof e.insertBreak&&\"function\"==typeof e.insertFragment&&\"function\"==typeof e.insertNode&&\"function\"==typeof e.insertText&&\"function\"==typeof e.isInline&&\"function\"==typeof e.isVoid&&\"function\"==typeof e.normalizeNode&&\"function\"==typeof e.onChange&&\"function\"==typeof e.removeMark&&(null===e.marks||l(e.marks))&&(null===e.selection||Dt.isRange(e.selection))&&at.isNodeList(e.children)&&st.isOperationList(e.operations);return et.set(e,n),n},isEnd(e,t,n){var r=tt.end(e,n);return ht.equals(t,r)},isEdge:(e,t,n)=>tt.isStart(e,t,n)||tt.isEnd(e,t,n),isEmpty(e,t){var{children:n}=t,[r]=n;return 0===n.length||1===n.length&&At.isText(r)&&\"\"===r.text&&!e.isVoid(t)},isInline:(e,t)=>Xe.isElement(t)&&e.isInline(t),isNormalizing(e){var t=de.get(e);return void 0===t||t},isStart(e,t,n){if(0!==t.offset)return!1;var r=tt.start(e,n);return ht.equals(t,r)},isVoid:(e,t)=>Xe.isElement(t)&&e.isVoid(t),last(e,t){var n=tt.path(e,t,{edge:\"end\"});return tt.node(e,n)},leaf(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=tt.path(e,t,n);return[at.leaf(e,r),r]},*levels(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{at:n=e.selection,reverse:r=!1,voids:u=!1}=t,{match:o}=t;if(null==o&&(o=()=>!0),n){var a=[],i=tt.path(e,n);for(var[l,s]of at.levels(e,i))if(o(l,s)&&(a.push([l,s]),!u&&tt.isVoid(e,l)))break;r&&a.reverse(),yield*a}},marks(e){var{marks:t,selection:n}=e;if(!n)return null;if(t)return t;if(Dt.isExpanded(n)){var[r]=tt.nodes(e,{match:At.isText});if(r){var[u]=r;return be(u,Je)}return{}}var{anchor:o}=n,{path:a}=o,[i]=tt.leaf(e,a);if(0===o.offset){var l=tt.previous(e,{at:a,match:At.isText}),s=tt.above(e,{match:t=>tt.isBlock(e,t)});if(l&&s){var[c,f]=l,[,d]=s;ct.isAncestor(d,f)&&(i=c)}}return be(i,Ye)},next(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{mode:n=\"lowest\",voids:r=!1}=t,{match:u,at:o=e.selection}=t;if(o){var a=tt.after(e,o,{voids:r});if(a){var[,i]=tt.last(e,[]),l=[a.path,i];if(ct.isPath(o)&&0===o.length)throw new Error(\"Cannot get the next node from the root node!\");if(null==u)if(ct.isPath(o)){var[s]=tt.parent(e,o);u=e=>s.children.includes(e)}else u=()=>!0;var[c]=tt.nodes(e,{at:l,match:u,mode:n,voids:r});return c}}},node(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=tt.path(e,t,n);return[at.get(e,r),r]},*nodes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{at:n=e.selection,mode:r=\"all\",universal:u=!1,reverse:o=!1,voids:a=!1}=t,{match:i}=t;if(i||(i=()=>!0),n){var l,s;if(nt.isSpan(n))l=n[0],s=n[1];else{var c=tt.path(e,n,{edge:\"start\"}),f=tt.path(e,n,{edge:\"end\"});l=o?f:c,s=o?c:f}var d,p=at.nodes(e,{reverse:o,from:l,to:s,pass:t=>{var[n]=t;return!a&&tt.isVoid(e,n)}}),h=[];for(var[v,m]of p){var g=d&&0===ct.compare(m,d[1]);if(\"highest\"!==r||!g)if(i(v,m))if(\"lowest\"===r&&g)d=[v,m];else{var D=\"lowest\"===r?d:[v,m];D&&(u?h.push(D):yield D),d=[v,m]}else if(u&&!g&&At.isText(v))return}\"lowest\"===r&&d&&(u?h.push(d):yield d),u&&(yield*h)}},normalize(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{force:n=!1}=t,r=e=>se.get(e)||[],u=e=>{var t=r(e).pop(),n=t.join(\",\");return(e=>ce.get(e)||new Set)(e).delete(n),t};if(tt.isNormalizing(e)){if(n){var o=Array.from(at.nodes(e),e=>{var[,t]=e;return t}),a=new Set(o.map(e=>e.join(\",\")));se.set(e,o),ce.set(e,a)}0!==r(e).length&&tt.withoutNormalizing(e,()=>{for(var t of r(e))if(at.has(e,t)){var n=tt.node(e,t),[o,a]=n;Xe.isElement(o)&&0===o.children.length&&e.normalizeNode(n)}for(var i=42*r(e).length,l=0;0!==r(e).length;){if(l>i)throw new Error(\"\\n Could not completely normalize the editor after \".concat(i,\" iterations! This is usually due to incorrect normalization logic that leaves a node in an invalid state.\\n \"));var s=u(e);if(at.has(e,s)){var c=tt.node(e,s);e.normalizeNode(c)}l++}})}},parent(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=tt.path(e,t,n),u=ct.parent(r);return tt.node(e,u)},path(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{depth:r,edge:u}=n;if(ct.isPath(t))if(\"start\"===u){var[,o]=at.first(e,t);t=o}else if(\"end\"===u){var[,a]=at.last(e,t);t=a}return Dt.isRange(t)&&(t=\"start\"===u?Dt.start(t):\"end\"===u?Dt.end(t):ct.common(t.anchor.path,t.focus.path)),ht.isPoint(t)&&(t=t.path),null!=r&&(t=t.slice(0,r)),t},hasPath:(e,t)=>at.has(e,t),pathRef(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{affinity:r=\"forward\"}=n,u={current:t,affinity:r,unref(){var{current:t}=u;return tt.pathRefs(e).delete(u),u.current=null,t}};return tt.pathRefs(e).add(u),u},pathRefs(e){var t=pe.get(e);return t||(t=new Set,pe.set(e,t)),t},point(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{edge:r=\"start\"}=n;if(ct.isPath(t)){var u;if(\"end\"===r){var[,o]=at.last(e,t);u=o}else{var[,a]=at.first(e,t);u=a}var i=at.get(e,u);if(!At.isText(i))throw new Error(\"Cannot get the \".concat(r,\" point in the node at path [\").concat(t,\"] because it has no \").concat(r,\" text node.\"));return{path:u,offset:\"end\"===r?i.text.length:0}}if(Dt.isRange(t)){var[l,s]=Dt.edges(t);return\"start\"===r?l:s}return t},pointRef(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{affinity:r=\"forward\"}=n,u={current:t,affinity:r,unref(){var{current:t}=u;return tt.pointRefs(e).delete(u),u.current=null,t}};return tt.pointRefs(e).add(u),u},pointRefs(e){var t=he.get(e);return t||(t=new Set,he.set(e,t)),t},*positions(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{at:n=e.selection,unit:r=\"offset\",reverse:u=!1,voids:o=!1}=t;if(n){var a=tt.range(e,n),[i,l]=Dt.edges(a),s=u?l:i,c=!1,f=\"\",d=0,p=0,h=0;for(var[v,m]of tt.nodes(e,{at:n,reverse:u,voids:o})){if(Xe.isElement(v)){if(!o&&e.isVoid(v)){yield tt.start(e,m);continue}if(e.isInline(v))continue;if(tt.hasInlines(e,v)){var g=ct.isAncestor(m,l.path)?l:tt.end(e,m),D=ct.isAncestor(m,i.path)?i:tt.start(e,m);f=tt.string(e,{anchor:D,focus:g},{voids:o}),c=!0}}if(At.isText(v)){var y=ct.equals(m,s.path);for(y?(p=u?s.offset:v.text.length-s.offset,h=s.offset):(p=v.text.length,h=u?p:0),(y||c||\"offset\"===r)&&(yield{path:m,offset:h},c=!1);;){if(0===d){if(\"\"===f)break;d=b(f,r,u),f=Fe(f,d,u)[1]}if(h=u?h-d:h+d,(p-=d)<0){d=-p;break}d=0,yield{path:m,offset:h}}}}}function b(e,t,n){return\"character\"===t?Ee(e,n):\"word\"===t?function(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=0,r=!1;e.length>0;){var u=Ee(e,t),[o,a]=Fe(e,u,t);if(xe(o,a,t))r=!0,n+=u;else{if(r)break;n+=u}e=a}return n}(e,n):\"line\"===t||\"block\"===t?e.length:1}},previous(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{mode:n=\"lowest\",voids:r=!1}=t,{match:u,at:o=e.selection}=t;if(o){var a=tt.before(e,o,{voids:r});if(a){var[,i]=tt.first(e,[]),l=[a.path,i];if(ct.isPath(o)&&0===o.length)throw new Error(\"Cannot get the previous node from the root node!\");if(null==u)if(ct.isPath(o)){var[s]=tt.parent(e,o);u=e=>s.children.includes(e)}else u=()=>!0;var[c]=tt.nodes(e,{reverse:!0,at:l,match:u,mode:n,voids:r});return c}}},range:(e,t,n)=>Dt.isRange(t)&&!n?t:{anchor:tt.start(e,t),focus:tt.end(e,n||t)},rangeRef(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{affinity:r=\"forward\"}=n,u={current:t,affinity:r,unref(){var{current:t}=u;return tt.rangeRefs(e).delete(u),u.current=null,t}};return tt.rangeRefs(e).add(u),u},rangeRefs(e){var t=ve.get(e);return t||(t=new Set,ve.set(e,t)),t},removeMark(e,t){e.removeMark(t)},setNormalizing(e,t){de.set(e,t)},start:(e,t)=>tt.point(e,t,{edge:\"start\"}),string(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{voids:r=!1}=n,u=tt.range(e,t),[o,a]=Dt.edges(u),i=\"\";for(var[l,s]of tt.nodes(e,{at:u,match:At.isText,voids:r})){var c=l.text;ct.equals(s,a.path)&&(c=c.slice(0,a.offset)),ct.equals(s,o.path)&&(c=c.slice(o.offset)),i+=c}return i},unhangRange(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{voids:r=!1}=n,[u,o]=Dt.edges(t);if(0!==u.offset||0!==o.offset||Dt.isCollapsed(t))return t;var a=tt.above(e,{at:o,match:t=>tt.isBlock(e,t)}),i=a?a[1]:[],l={anchor:tt.start(e,u),focus:o},s=!0;for(var[c,f]of tt.nodes(e,{at:l,match:At.isText,reverse:!0,voids:r}))if(s)s=!1;else if(\"\"!==c.text||ct.isBefore(f,i)){o={path:f,offset:c.text.length};break}return{anchor:u,focus:o}},void(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return tt.above(e,Ze(Ze({},t),{},{match:t=>tt.isVoid(e,t)}))},withoutNormalizing(e,t){var n=tt.isNormalizing(e);tt.setNormalizing(e,!1);try{t()}finally{tt.setNormalizing(e,n)}tt.normalize(e)}},nt={isSpan:e=>Array.isArray(e)&&2===e.length&&e.every(ct.isPath)},rt=[\"children\"],ut=[\"text\"],ot=new WeakMap,at={ancestor(e,t){var n=at.get(e,t);if(At.isText(n))throw new Error(\"Cannot get the ancestor node at path [\".concat(t,\"] because it refers to a text node instead: \").concat(n));return n},*ancestors(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};for(var r of ct.ancestors(t,n)){var u=[at.ancestor(e,r),r];yield u}},child(e,t){if(At.isText(e))throw new Error(\"Cannot get the child of a text node: \".concat(JSON.stringify(e)));var n=e.children[t];if(null==n)throw new Error(\"Cannot get child at index `\".concat(t,\"` in node: \").concat(JSON.stringify(e)));return n},*children(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{reverse:r=!1}=n,u=at.ancestor(e,t),{children:o}=u,a=r?o.length-1:0;r?a>=0:a<o.length;){var i=at.child(u,a),l=t.concat(a);yield[i,l],a=r?a-1:a+1}},common(e,t,n){var r=ct.common(t,n);return[at.get(e,r),r]},descendant(e,t){var n=at.get(e,t);if(tt.isEditor(n))throw new Error(\"Cannot get the descendant node at path [\".concat(t,\"] because it refers to the root editor node instead: \").concat(n));return n},*descendants(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var[n,r]of at.nodes(e,t))0!==r.length&&(yield[n,r])},*elements(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var[n,r]of at.nodes(e,t))Xe.isElement(n)&&(yield[n,r])},extractProps:e=>Xe.isAncestor(e)?be(e,rt):be(e,ut),first(e,t){for(var n=t.slice(),r=at.get(e,n);r&&!At.isText(r)&&0!==r.children.length;)r=r.children[0],n.push(0);return[r,n]},fragment(e,t){if(At.isText(e))throw new Error(\"Cannot get a fragment starting from a root text node: \".concat(JSON.stringify(e)));return oe({children:e.children},e=>{var[n,r]=Dt.edges(t),u=at.nodes(e,{reverse:!0,pass:e=>{var[,n]=e;return!Dt.includes(t,n)}});for(var[,o]of u){if(!Dt.includes(t,o)){var a=at.parent(e,o),i=o[o.length-1];a.children.splice(i,1)}if(ct.equals(o,r.path)){var l=at.leaf(e,o);l.text=l.text.slice(0,r.offset)}if(ct.equals(o,n.path)){var s=at.leaf(e,o);s.text=s.text.slice(n.offset)}}tt.isEditor(e)&&(e.selection=null)}).children},get(e,t){for(var n=e,r=0;r<t.length;r++){var u=t[r];if(At.isText(n)||!n.children[u])throw new Error(\"Cannot find a descendant at path [\".concat(t,\"] in node: \").concat(JSON.stringify(e)));n=n.children[u]}return n},has(e,t){for(var n=e,r=0;r<t.length;r++){var u=t[r];if(At.isText(n)||!n.children[u])return!1;n=n.children[u]}return!0},isNode:e=>At.isText(e)||Xe.isElement(e)||tt.isEditor(e),isNodeList(e){if(!Array.isArray(e))return!1;var t=ot.get(e);if(void 0!==t)return t;var n=e.every(e=>at.isNode(e));return ot.set(e,n),n},last(e,t){for(var n=t.slice(),r=at.get(e,n);r&&!At.isText(r)&&0!==r.children.length;){var u=r.children.length-1;r=r.children[u],n.push(u)}return[r,n]},leaf(e,t){var n=at.get(e,t);if(!At.isText(n))throw new Error(\"Cannot get the leaf node at path [\".concat(t,\"] because it refers to a non-leaf node: \").concat(n));return n},*levels(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};for(var r of ct.levels(t,n)){var u=at.get(e,r);yield[u,r]}},matches:(e,t)=>Xe.isElement(e)&&Xe.isElementProps(t)&&Xe.matches(e,t)||At.isText(e)&&At.isTextProps(t)&&At.matches(e,t),*nodes(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{pass:n,reverse:r=!1}=t,{from:u=[],to:o}=t,a=new Set,i=[],l=e;!o||!(r?ct.isBefore(i,o):ct.isAfter(i,o));)if(a.has(l)||(yield[l,i]),a.has(l)||At.isText(l)||0===l.children.length||null!=n&&!1!==n([l,i])){if(0===i.length)break;if(!r){var s=ct.next(i);if(at.has(e,s)){i=s,l=at.get(e,i);continue}}if(r&&0!==i[i.length-1])i=ct.previous(i),l=at.get(e,i);else i=ct.parent(i),l=at.get(e,i),a.add(l)}else{a.add(l);var c=r?l.children.length-1:0;ct.isAncestor(i,u)&&(c=u[i.length]),i=i.concat(c),l=at.get(e,i)}},parent(e,t){var n=ct.parent(t),r=at.get(e,n);if(At.isText(r))throw new Error(\"Cannot get the parent of path [\".concat(t,\"] because it does not exist in the root.\"));return r},string:e=>At.isText(e)?e.text:e.children.map(at.string).join(\"\"),*texts(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var[n,r]of at.nodes(e,t))At.isText(n)&&(yield[n,r])}};function it(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function lt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?it(Object(n),!0).forEach((function(t){le(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):it(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var st={isNodeOperation:e=>st.isOperation(e)&&e.type.endsWith(\"_node\"),isOperation(e){if(!l(e))return!1;switch(e.type){case\"insert_node\":return ct.isPath(e.path)&&at.isNode(e.node);case\"insert_text\":return\"number\"==typeof e.offset&&\"string\"==typeof e.text&&ct.isPath(e.path);case\"merge_node\":return\"number\"==typeof e.position&&ct.isPath(e.path)&&l(e.properties);case\"move_node\":return ct.isPath(e.path)&&ct.isPath(e.newPath);case\"remove_node\":return ct.isPath(e.path)&&at.isNode(e.node);case\"remove_text\":return\"number\"==typeof e.offset&&\"string\"==typeof e.text&&ct.isPath(e.path);case\"set_node\":return ct.isPath(e.path)&&l(e.properties)&&l(e.newProperties);case\"set_selection\":return null===e.properties&&Dt.isRange(e.newProperties)||null===e.newProperties&&Dt.isRange(e.properties)||l(e.properties)&&l(e.newProperties);case\"split_node\":return ct.isPath(e.path)&&\"number\"==typeof e.position&&l(e.properties);default:return!1}},isOperationList:e=>Array.isArray(e)&&e.every(e=>st.isOperation(e)),isSelectionOperation:e=>st.isOperation(e)&&e.type.endsWith(\"_selection\"),isTextOperation:e=>st.isOperation(e)&&e.type.endsWith(\"_text\"),inverse(e){switch(e.type){case\"insert_node\":return lt(lt({},e),{},{type:\"remove_node\"});case\"insert_text\":return lt(lt({},e),{},{type:\"remove_text\"});case\"merge_node\":return lt(lt({},e),{},{type:\"split_node\",path:ct.previous(e.path)});case\"move_node\":var{newPath:t,path:n}=e;if(ct.equals(t,n))return e;if(ct.isSibling(n,t))return lt(lt({},e),{},{path:t,newPath:n});var r=ct.transform(n,e),u=ct.transform(ct.next(n),e);return lt(lt({},e),{},{path:r,newPath:u});case\"remove_node\":return lt(lt({},e),{},{type:\"insert_node\"});case\"remove_text\":return lt(lt({},e),{},{type:\"insert_text\"});case\"set_node\":var{properties:o,newProperties:a}=e;return lt(lt({},e),{},{properties:a,newProperties:o});case\"set_selection\":var{properties:i,newProperties:l}=e;return lt(lt({},e),{},null==i?{properties:l,newProperties:null}:null==l?{properties:null,newProperties:i}:{properties:l,newProperties:i});case\"split_node\":return lt(lt({},e),{},{type:\"merge_node\",path:ct.next(e.path)})}}},ct={ancestors(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse:n=!1}=t,r=ct.levels(e,t);return r=n?r.slice(1):r.slice(0,-1)},common(e,t){for(var n=[],r=0;r<e.length&&r<t.length;r++){var u=e[r];if(u!==t[r])break;n.push(u)}return n},compare(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r++){if(e[r]<t[r])return-1;if(e[r]>t[r])return 1}return 0},endsAfter(e,t){var n=e.length-1,r=e.slice(0,n),u=t.slice(0,n),o=e[n],a=t[n];return ct.equals(r,u)&&o>a},endsAt(e,t){var n=e.length,r=e.slice(0,n),u=t.slice(0,n);return ct.equals(r,u)},endsBefore(e,t){var n=e.length-1,r=e.slice(0,n),u=t.slice(0,n),o=e[n],a=t[n];return ct.equals(r,u)&&o<a},equals:(e,t)=>e.length===t.length&&e.every((e,n)=>e===t[n]),hasPrevious:e=>e[e.length-1]>0,isAfter:(e,t)=>1===ct.compare(e,t),isAncestor:(e,t)=>e.length<t.length&&0===ct.compare(e,t),isBefore:(e,t)=>-1===ct.compare(e,t),isChild:(e,t)=>e.length===t.length+1&&0===ct.compare(e,t),isCommon:(e,t)=>e.length<=t.length&&0===ct.compare(e,t),isDescendant:(e,t)=>e.length>t.length&&0===ct.compare(e,t),isParent:(e,t)=>e.length+1===t.length&&0===ct.compare(e,t),isPath:e=>Array.isArray(e)&&(0===e.length||\"number\"==typeof e[0]),isSibling(e,t){if(e.length!==t.length)return!1;var n=e.slice(0,-1),r=t.slice(0,-1);return e[e.length-1]!==t[t.length-1]&&ct.equals(n,r)},levels(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse:n=!1}=t,r=[],u=0;u<=e.length;u++)r.push(e.slice(0,u));return n&&r.reverse(),r},next(e){if(0===e.length)throw new Error(\"Cannot get the next path of a root path [\".concat(e,\"], because it has no next index.\"));var t=e[e.length-1];return e.slice(0,-1).concat(t+1)},operationCanTransformPath(e){switch(e.type){case\"insert_node\":case\"remove_node\":case\"merge_node\":case\"split_node\":case\"move_node\":return!0;default:return!1}},parent(e){if(0===e.length)throw new Error(\"Cannot get the parent path of the root path [\".concat(e,\"].\"));return e.slice(0,-1)},previous(e){if(0===e.length)throw new Error(\"Cannot get the previous path of a root path [\".concat(e,\"], because it has no previous index.\"));var t=e[e.length-1];if(t<=0)throw new Error(\"Cannot get the previous path of a first child path [\".concat(e,\"] because it would result in a negative index.\"));return e.slice(0,-1).concat(t-1)},relative(e,t){if(!ct.isAncestor(t,e)&&!ct.equals(e,t))throw new Error(\"Cannot get the relative path of [\".concat(e,\"] inside ancestor [\").concat(t,\"], because it is not above or equal to the path.\"));return e.slice(t.length)},transform(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return oe(e,r=>{var{affinity:u=\"forward\"}=n;if(e&&0!==(null==e?void 0:e.length)){if(null===r)return null;switch(t.type){case\"insert_node\":var{path:o}=t;(ct.equals(o,r)||ct.endsBefore(o,r)||ct.isAncestor(o,r))&&(r[o.length-1]+=1);break;case\"remove_node\":var{path:a}=t;if(ct.equals(a,r)||ct.isAncestor(a,r))return null;ct.endsBefore(a,r)&&(r[a.length-1]-=1);break;case\"merge_node\":var{path:i,position:l}=t;ct.equals(i,r)||ct.endsBefore(i,r)?r[i.length-1]-=1:ct.isAncestor(i,r)&&(r[i.length-1]-=1,r[i.length]+=l);break;case\"split_node\":var{path:s,position:c}=t;if(ct.equals(s,r)){if(\"forward\"===u)r[r.length-1]+=1;else if(\"backward\"!==u)return null}else ct.endsBefore(s,r)?r[s.length-1]+=1:ct.isAncestor(s,r)&&e[s.length]>=c&&(r[s.length-1]+=1,r[s.length]-=c);break;case\"move_node\":var{path:f,newPath:d}=t;if(ct.equals(f,d))return;if(ct.isAncestor(f,r)||ct.equals(f,r)){var p=d.slice();return ct.endsBefore(f,d)&&f.length<d.length&&(p[f.length-1]-=1),p.concat(r.slice(f.length))}ct.isSibling(f,d)&&(ct.isAncestor(d,r)||ct.equals(d,r))?ct.endsBefore(f,r)?r[f.length-1]-=1:r[f.length-1]+=1:ct.endsBefore(d,r)||ct.equals(d,r)||ct.isAncestor(d,r)?(ct.endsBefore(f,r)&&(r[f.length-1]-=1),r[d.length-1]+=1):ct.endsBefore(f,r)&&(ct.equals(d,r)&&(r[d.length-1]+=1),r[f.length-1]-=1)}}})}},ft={transform(e,t){var{current:n,affinity:r}=e;if(null!=n){var u=ct.transform(n,t,{affinity:r});e.current=u,null==u&&e.unref()}}};function dt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dt(Object(n),!0).forEach((function(t){le(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ht={compare(e,t){var n=ct.compare(e.path,t.path);return 0===n?e.offset<t.offset?-1:e.offset>t.offset?1:0:n},isAfter:(e,t)=>1===ht.compare(e,t),isBefore:(e,t)=>-1===ht.compare(e,t),equals:(e,t)=>e.offset===t.offset&&ct.equals(e.path,t.path),isPoint:e=>l(e)&&\"number\"==typeof e.offset&&ct.isPath(e.path),transform(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return oe(e,e=>{if(null===e)return null;var{affinity:r=\"forward\"}=n,{path:u,offset:o}=e;switch(t.type){case\"insert_node\":case\"move_node\":e.path=ct.transform(u,t,n);break;case\"insert_text\":ct.equals(t.path,u)&&(t.offset<o||t.offset===o&&\"forward\"===r)&&(e.offset+=t.text.length);break;case\"merge_node\":ct.equals(t.path,u)&&(e.offset+=t.position),e.path=ct.transform(u,t,n);break;case\"remove_text\":ct.equals(t.path,u)&&t.offset<=o&&(e.offset-=Math.min(o-t.offset,t.text.length));break;case\"remove_node\":if(ct.equals(t.path,u)||ct.isAncestor(t.path,u))return null;e.path=ct.transform(u,t,n);break;case\"split_node\":if(ct.equals(t.path,u)){if(t.position===o&&null==r)return null;(t.position<o||t.position===o&&\"forward\"===r)&&(e.offset-=t.position,e.path=ct.transform(u,t,pt(pt({},n),{},{affinity:\"forward\"})))}else e.path=ct.transform(u,t,n)}})}},vt={transform(e,t){var{current:n,affinity:r}=e;if(null!=n){var u=ht.transform(n,t,{affinity:r});e.current=u,null==u&&e.unref()}}},mt=[\"anchor\",\"focus\"];function gt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Dt={edges(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse:n=!1}=t,{anchor:r,focus:u}=e;return Dt.isBackward(e)===n?[r,u]:[u,r]},end(e){var[,t]=Dt.edges(e);return t},equals:(e,t)=>ht.equals(e.anchor,t.anchor)&&ht.equals(e.focus,t.focus),includes(e,t){if(Dt.isRange(t)){if(Dt.includes(e,t.anchor)||Dt.includes(e,t.focus))return!0;var[n,r]=Dt.edges(e),[u,o]=Dt.edges(t);return ht.isBefore(n,u)&&ht.isAfter(r,o)}var[a,i]=Dt.edges(e),l=!1,s=!1;return ht.isPoint(t)?(l=ht.compare(t,a)>=0,s=ht.compare(t,i)<=0):(l=ct.compare(t,a.path)>=0,s=ct.compare(t,i.path)<=0),l&&s},intersection(e,t){var n=be(e,mt),[r,u]=Dt.edges(e),[o,a]=Dt.edges(t),i=ht.isBefore(r,o)?o:r,l=ht.isBefore(u,a)?u:a;return ht.isBefore(l,i)?null:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gt(Object(n),!0).forEach((function(t){le(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({anchor:i,focus:l},n)},isBackward(e){var{anchor:t,focus:n}=e;return ht.isAfter(t,n)},isCollapsed(e){var{anchor:t,focus:n}=e;return ht.equals(t,n)},isExpanded:e=>!Dt.isCollapsed(e),isForward:e=>!Dt.isBackward(e),isRange:e=>l(e)&&ht.isPoint(e.anchor)&&ht.isPoint(e.focus),*points(e){yield[e.anchor,\"anchor\"],yield[e.focus,\"focus\"]},start(e){var[t]=Dt.edges(e);return t},transform(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return oe(e,e=>{if(null===e)return null;var r,u,{affinity:o=\"inward\"}=n;if(\"inward\"===o){var a=Dt.isCollapsed(e);Dt.isForward(e)?(r=\"forward\",u=a?r:\"backward\"):(r=\"backward\",u=a?r:\"forward\")}else\"outward\"===o?Dt.isForward(e)?(r=\"backward\",u=\"forward\"):(r=\"forward\",u=\"backward\"):(r=o,u=o);var i=ht.transform(e.anchor,t,{affinity:r}),l=ht.transform(e.focus,t,{affinity:u});if(!i||!l)return null;e.anchor=i,e.focus=l})}},yt={transform(e,t){var{current:n,affinity:r}=e;if(null!=n){var u=Dt.transform(n,t,{affinity:r});e.current=u,null==u&&e.unref()}}},bt=(e,t)=>{for(var n in e){var r=e[n],u=t[n];if(l(r)&&l(u)){if(!bt(r,u))return!1}else if(Array.isArray(r)&&Array.isArray(u)){if(r.length!==u.length)return!1;for(var o=0;o<r.length;o++)if(r[o]!==u[o])return!1}else if(r!==u)return!1}for(var a in t)if(void 0===e[a]&&void 0!==t[a])return!1;return!0},Ct=[\"text\"],Et=[\"anchor\",\"focus\"];function wt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Bt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wt(Object(n),!0).forEach((function(t){le(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var At={equals(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{loose:r=!1}=n;function u(e){return be(e,Ct)}return bt(r?u(e):e,r?u(t):t)},isText:e=>l(e)&&\"string\"==typeof e.text,isTextList:e=>Array.isArray(e)&&e.every(e=>At.isText(e)),isTextProps:e=>void 0!==e.text,matches(e,t){for(var n in t)if(\"text\"!==n&&(!e.hasOwnProperty(n)||e[n]!==t[n]))return!1;return!0},decorations(e,t){var n=[Bt({},e)];for(var r of t){var u=be(r,Et),[o,a]=Dt.edges(r),i=[],l=0;for(var s of n){var{length:c}=s.text,f=l;if(l+=c,o.offset<=f&&a.offset>=l)Object.assign(s,u),i.push(s);else if(o.offset!==a.offset&&(o.offset===l||a.offset===f)||o.offset>l||a.offset<f||a.offset===f&&0!==f)i.push(s);else{var d=s,p=void 0,h=void 0;if(a.offset<l){var v=a.offset-f;h=Bt(Bt({},d),{},{text:d.text.slice(v)}),d=Bt(Bt({},d),{},{text:d.text.slice(0,v)})}if(o.offset>f){var m=o.offset-f;p=Bt(Bt({},d),{},{text:d.text.slice(0,m)}),d=Bt(Bt({},d),{},{text:d.text.slice(m)})}Object.assign(d,u),p&&i.push(p),i.push(d),h&&i.push(h)}}n=i}return n}};function Ft(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function xt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ft(Object(n),!0).forEach((function(t){le(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ft(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var kt=[\"text\"],Ot=[\"children\"];function St(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Tt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?St(Object(n),!0).forEach((function(t){le(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):St(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Pt={insertNodes(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};tt.withoutNormalizing(e,()=>{var{hanging:r=!1,voids:u=!1,mode:o=\"lowest\"}=n,{at:a,match:i,select:l}=n;if(at.isNode(t)&&(t=[t]),0!==t.length){var[s]=t;if(a||(a=e.selection?e.selection:e.children.length>0?tt.end(e,[]):[0],l=!0),null==l&&(l=!1),Dt.isRange(a))if(r||(a=tt.unhangRange(e,a)),Dt.isCollapsed(a))a=a.anchor;else{var[,c]=Dt.edges(a),f=tt.pointRef(e,c);Vt.delete(e,{at:a}),a=f.unref()}if(ht.isPoint(a)){null==i&&(i=At.isText(s)?e=>At.isText(e):e.isInline(s)?t=>At.isText(t)||tt.isInline(e,t):t=>tt.isBlock(e,t));var[d]=tt.nodes(e,{at:a.path,match:i,mode:o,voids:u});if(!d)return;var[,p]=d,h=tt.pathRef(e,p),v=tt.isEnd(e,a,p);Vt.splitNodes(e,{at:a,match:i,mode:o,voids:u});var m=h.unref();a=v?ct.next(m):m}var g=ct.parent(a),D=a[a.length-1];if(u||!tt.void(e,{at:g})){for(var y of t){var b=g.concat(D);D++,e.apply({type:\"insert_node\",path:b,node:y}),a=ct.next(a)}if(a=ct.previous(a),l){var C=tt.end(e,a);C&&Vt.select(e,C)}}}})},liftNodes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};tt.withoutNormalizing(e,()=>{var{at:n=e.selection,mode:r=\"lowest\",voids:u=!1}=t,{match:o}=t;if(null==o&&(o=ct.isPath(n)?_t(e,n):t=>tt.isBlock(e,t)),n){var a=tt.nodes(e,{at:n,match:o,mode:r,voids:u}),i=Array.from(a,t=>{var[,n]=t;return tt.pathRef(e,n)});for(var l of i){var s=l.unref();if(s.length<2)throw new Error(\"Cannot lift node at a path [\".concat(s,\"] because it has a depth of less than `2`.\"));var c=tt.node(e,ct.parent(s)),[f,d]=c,p=s[s.length-1],{length:h}=f.children;if(1===h){var v=ct.next(d);Vt.moveNodes(e,{at:s,to:v,voids:u}),Vt.removeNodes(e,{at:d,voids:u})}else if(0===p)Vt.moveNodes(e,{at:s,to:d,voids:u});else if(p===h-1){var m=ct.next(d);Vt.moveNodes(e,{at:s,to:m,voids:u})}else{var g=ct.next(s),D=ct.next(d);Vt.splitNodes(e,{at:g,voids:u}),Vt.moveNodes(e,{at:s,to:D,voids:u})}}}})},mergeNodes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};tt.withoutNormalizing(e,()=>{var{match:n,at:r=e.selection}=t,{hanging:u=!1,voids:o=!1,mode:a=\"lowest\"}=t;if(r){if(null==n)if(ct.isPath(r)){var[i]=tt.parent(e,r);n=e=>i.children.includes(e)}else n=t=>tt.isBlock(e,t);if(!u&&Dt.isRange(r)&&(r=tt.unhangRange(e,r)),Dt.isRange(r))if(Dt.isCollapsed(r))r=r.anchor;else{var[,l]=Dt.edges(r),s=tt.pointRef(e,l);Vt.delete(e,{at:r}),r=s.unref(),null==t.at&&Vt.select(e,r)}var[c]=tt.nodes(e,{at:r,match:n,voids:o,mode:a}),f=tt.previous(e,{at:r,match:n,voids:o,mode:a});if(c&&f){var[d,p]=c,[h,v]=f;if(0!==p.length&&0!==v.length){var m,g,D=ct.next(v),y=ct.common(p,v),b=ct.isSibling(p,v),C=Array.from(tt.levels(e,{at:p}),e=>{var[t]=e;return t}).slice(y.length).slice(0,-1),E=tt.above(e,{at:p,mode:\"highest\",match:t=>C.includes(t)&&jt(e,t)}),w=E&&tt.pathRef(e,E[1]);if(At.isText(d)&&At.isText(h)){var B=be(d,kt);g=h.text.length,m=B}else{if(!Xe.isElement(d)||!Xe.isElement(h))throw new Error(\"Cannot merge the node at path [\".concat(p,\"] with the previous sibling because it is not the same kind: \").concat(JSON.stringify(d),\" \").concat(JSON.stringify(h)));B=be(d,Ot);g=h.children.length,m=B}b||Vt.moveNodes(e,{at:p,to:D,voids:o}),w&&Vt.removeNodes(e,{at:w.current,voids:o}),Xe.isElement(h)&&tt.isEmpty(e,h)||At.isText(h)&&\"\"===h.text&&0!==v[v.length-1]?Vt.removeNodes(e,{at:v,voids:o}):e.apply({type:\"merge_node\",path:D,position:g,properties:m}),w&&w.unref()}}}})},moveNodes(e,t){tt.withoutNormalizing(e,()=>{var{to:n,at:r=e.selection,mode:u=\"lowest\",voids:o=!1}=t,{match:a}=t;if(r){null==a&&(a=ct.isPath(r)?_t(e,r):t=>tt.isBlock(e,t));var i=tt.pathRef(e,n),l=tt.nodes(e,{at:r,match:a,mode:u,voids:o}),s=Array.from(l,t=>{var[,n]=t;return tt.pathRef(e,n)});for(var c of s){var f=c.unref(),d=i.current;0!==f.length&&e.apply({type:\"move_node\",path:f,newPath:d}),i.current&&ct.isSibling(d,f)&&ct.isAfter(d,f)&&(i.current=ct.next(i.current))}i.unref()}})},removeNodes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};tt.withoutNormalizing(e,()=>{var{hanging:n=!1,voids:r=!1,mode:u=\"lowest\"}=t,{at:o=e.selection,match:a}=t;if(o){null==a&&(a=ct.isPath(o)?_t(e,o):t=>tt.isBlock(e,t)),!n&&Dt.isRange(o)&&(o=tt.unhangRange(e,o));var i=tt.nodes(e,{at:o,match:a,mode:u,voids:r}),l=Array.from(i,t=>{var[,n]=t;return tt.pathRef(e,n)});for(var s of l){var c=s.unref();if(c){var[f]=tt.node(e,c);e.apply({type:\"remove_node\",path:c,node:f})}}}})},setNodes(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};tt.withoutNormalizing(e,()=>{var{match:r,at:u=e.selection,compare:o}=n,{hanging:a=!1,mode:i=\"lowest\",split:l=!1,voids:s=!1}=n;if(u){if(null==r&&(r=ct.isPath(u)?_t(e,u):t=>tt.isBlock(e,t)),!a&&Dt.isRange(u)&&(u=tt.unhangRange(e,u)),l&&Dt.isRange(u)){if(Dt.isCollapsed(u)&&tt.leaf(e,u.anchor)[0].text.length>0)return;var c=tt.rangeRef(e,u,{affinity:\"inward\"}),[f,d]=Dt.edges(u),p=\"lowest\"===i?\"lowest\":\"highest\",h=tt.isEnd(e,d,d.path);Vt.splitNodes(e,{at:d,match:r,mode:p,voids:s,always:!h});var v=tt.isStart(e,f,f.path);Vt.splitNodes(e,{at:f,match:r,mode:p,voids:s,always:!v}),u=c.unref(),null==n.at&&Vt.select(e,u)}for(var[m,g]of(o||(o=(e,t)=>e!==t),tt.nodes(e,{at:u,match:r,mode:i,voids:s}))){var D={},y={};if(0!==g.length){var b=!1;for(var C in t)\"children\"!==C&&\"text\"!==C&&o(t[C],m[C])&&(b=!0,m.hasOwnProperty(C)&&(D[C]=m[C]),null!=t[C]&&(y[C]=t[C]));b&&e.apply({type:\"set_node\",path:g,properties:D,newProperties:y})}}}})},splitNodes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};tt.withoutNormalizing(e,()=>{var{mode:n=\"lowest\",voids:r=!1}=t,{match:u,at:o=e.selection,height:a=0,always:i=!1}=t;if(null==u&&(u=t=>tt.isBlock(e,t)),Dt.isRange(o)&&(o=Nt(e,o)),ct.isPath(o)){var l=o,s=tt.point(e,l),[c]=tt.parent(e,l);u=e=>e===c,a=s.path.length-l.length+1,o=s,i=!0}if(o){var f=tt.pointRef(e,o,{affinity:\"backward\"}),[d]=tt.nodes(e,{at:o,match:u,mode:n,voids:r});if(d){var p=tt.void(e,{at:o,mode:\"highest\"});if(!r&&p){var[h,v]=p;if(Xe.isElement(h)&&e.isInline(h)){var m=tt.after(e,v);if(!m){var g=ct.next(v);Vt.insertNodes(e,{text:\"\"},{at:g,voids:r}),m=tt.point(e,g)}o=m,i=!0}a=o.path.length-v.length+1,i=!0}var D=tt.pointRef(e,o),y=o.path.length-a,[,b]=d,C=o.path.slice(0,y),E=0===a?o.offset:o.path[y]+0;for(var[w,B]of tt.levels(e,{at:C,reverse:!0,voids:r})){var A=!1;if(B.length<b.length||0===B.length||!r&&tt.isVoid(e,w))break;var F=f.current,x=tt.isEnd(e,F,B);if(i||!f||!tt.isEdge(e,F,B)){A=!0;var k=at.extractProps(w);e.apply({type:\"split_node\",path:B,position:E,properties:k})}E=B[B.length-1]+(A||x?1:0)}if(null==t.at){var O=D.current||tt.end(e,[]);Vt.select(e,O)}f.unref(),D.unref()}}})},unsetNodes(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Array.isArray(t)||(t=[t]);var r={};for(var u of t)r[u]=null;Vt.setNodes(e,r,n)},unwrapNodes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};tt.withoutNormalizing(e,()=>{var{mode:n=\"lowest\",split:r=!1,voids:u=!1}=t,{at:o=e.selection,match:a}=t;if(o){null==a&&(a=ct.isPath(o)?_t(e,o):t=>tt.isBlock(e,t)),ct.isPath(o)&&(o=tt.range(e,o));var i=Dt.isRange(o)?tt.rangeRef(e,o):null,l=tt.nodes(e,{at:o,match:a,mode:n,voids:u}),s=Array.from(l,t=>{var[,n]=t;return tt.pathRef(e,n)}).reverse(),c=function(t){var n=t.unref(),[o]=tt.node(e,n),a=tt.range(e,n);r&&i&&(a=Dt.intersection(i.current,a)),Vt.liftNodes(e,{at:a,match:e=>Xe.isAncestor(o)&&o.children.includes(e),voids:u})};for(var f of s)c(f);i&&i.unref()}})},wrapNodes(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};tt.withoutNormalizing(e,()=>{var{mode:r=\"lowest\",split:u=!1,voids:o=!1}=n,{match:a,at:i=e.selection}=n;if(i){if(null==a&&(a=ct.isPath(i)?_t(e,i):e.isInline(t)?t=>tt.isInline(e,t)||At.isText(t):t=>tt.isBlock(e,t)),u&&Dt.isRange(i)){var[l,s]=Dt.edges(i),c=tt.rangeRef(e,i,{affinity:\"inward\"});Vt.splitNodes(e,{at:s,match:a,voids:o}),Vt.splitNodes(e,{at:l,match:a,voids:o}),i=c.unref(),null==n.at&&Vt.select(e,i)}var f=Array.from(tt.nodes(e,{at:i,match:e.isInline(t)?t=>tt.isBlock(e,t):e=>tt.isEditor(e),mode:\"lowest\",voids:o}));for(var[,d]of f){var p=Dt.isRange(i)?Dt.intersection(i,tt.range(e,d)):i;if(p){var h=Array.from(tt.nodes(e,{at:p,match:a,mode:r,voids:o}));if(h.length>0)if(\"continue\"===function(){var[n]=h,r=h[h.length-1],[,u]=n,[,a]=r;if(0===u.length&&0===a.length)return\"continue\";var i=ct.equals(u,a)?ct.parent(u):ct.common(u,a),l=tt.range(e,u,a),s=tt.node(e,i),[c]=s,f=i.length+1,d=ct.next(a.slice(0,f)),p=Tt(Tt({},t),{},{children:[]});Vt.insertNodes(e,p,{at:d,voids:o}),Vt.moveNodes(e,{at:l,match:e=>Xe.isAncestor(c)&&c.children.includes(e),to:d.concat(0),voids:o})}())continue}}}})}},jt=(e,t)=>{if(Xe.isElement(t)){var n=t;return!!tt.isVoid(e,t)||1===n.children.length&&jt(e,n.children[0])}return!tt.isEditor(t)},Nt=(e,t)=>{if(Dt.isCollapsed(t))return t.anchor;var[,n]=Dt.edges(t),r=tt.pointRef(e,n);return Vt.delete(e,{at:t}),r.unref()},_t=(e,t)=>{var[n]=tt.node(e,t);return e=>e===n};function Mt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Rt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mt(Object(n),!0).forEach((function(t){le(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var zt={collapse(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{edge:n=\"anchor\"}=t,{selection:r}=e;if(r)if(\"anchor\"===n)Vt.select(e,r.anchor);else if(\"focus\"===n)Vt.select(e,r.focus);else if(\"start\"===n){var[u]=Dt.edges(r);Vt.select(e,u)}else if(\"end\"===n){var[,o]=Dt.edges(r);Vt.select(e,o)}},deselect(e){var{selection:t}=e;t&&e.apply({type:\"set_selection\",properties:t,newProperties:null})},move(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{selection:n}=e,{distance:r=1,unit:u=\"character\",reverse:o=!1}=t,{edge:a=null}=t;if(n){\"start\"===a&&(a=Dt.isBackward(n)?\"focus\":\"anchor\"),\"end\"===a&&(a=Dt.isBackward(n)?\"anchor\":\"focus\");var{anchor:i,focus:l}=n,s={distance:r,unit:u},c={};if(null==a||\"anchor\"===a){var f=o?tt.before(e,i,s):tt.after(e,i,s);f&&(c.anchor=f)}if(null==a||\"focus\"===a){var d=o?tt.before(e,l,s):tt.after(e,l,s);d&&(c.focus=d)}Vt.setSelection(e,c)}},select(e,t){var{selection:n}=e;if(t=tt.range(e,t),n)Vt.setSelection(e,t);else{if(!Dt.isRange(t))throw new Error(\"When setting the selection and the current selection is `null` you must provide at least an `anchor` and `focus`, but you passed: \".concat(JSON.stringify(t)));e.apply({type:\"set_selection\",properties:n,newProperties:t})}},setPoint(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{selection:r}=e,{edge:u=\"both\"}=n;if(r){\"start\"===u&&(u=Dt.isBackward(r)?\"focus\":\"anchor\"),\"end\"===u&&(u=Dt.isBackward(r)?\"anchor\":\"focus\");var{anchor:o,focus:a}=r,i=\"anchor\"===u?o:a;Vt.setSelection(e,{[\"anchor\"===u?\"anchor\":\"focus\"]:Rt(Rt({},i),t)})}},setSelection(e,t){var{selection:n}=e,r={},u={};if(n){for(var o in t)(\"anchor\"===o&&null!=t.anchor&&!ht.equals(t.anchor,n.anchor)||\"focus\"===o&&null!=t.focus&&!ht.equals(t.focus,n.focus)||\"anchor\"!==o&&\"focus\"!==o&&t[o]!==n[o])&&(r[o]=n[o],u[o]=t[o]);Object.keys(r).length>0&&e.apply({type:\"set_selection\",properties:r,newProperties:u})}}},It={delete(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};tt.withoutNormalizing(e,()=>{var{reverse:n=!1,unit:r=\"character\",distance:u=1,voids:o=!1}=t,{at:a=e.selection,hanging:i=!1}=t;if(a){if(Dt.isRange(a)&&Dt.isCollapsed(a)&&(a=a.anchor),ht.isPoint(a)){var l=tt.void(e,{at:a,mode:\"highest\"});if(!o&&l){var[,s]=l;a=s}else{var c={unit:r,distance:u};a={anchor:a,focus:n?tt.before(e,a,c)||tt.start(e,[]):tt.after(e,a,c)||tt.end(e,[])},i=!0}}if(ct.isPath(a))Vt.removeNodes(e,{at:a,voids:o});else if(!Dt.isCollapsed(a)){if(!i){var[,f]=Dt.edges(a),d=tt.end(e,[]);ht.equals(f,d)||(a=tt.unhangRange(e,a,{voids:o}))}var[p,h]=Dt.edges(a),v=tt.above(e,{match:t=>tt.isBlock(e,t),at:p,voids:o}),m=tt.above(e,{match:t=>tt.isBlock(e,t),at:h,voids:o}),g=v&&m&&!ct.equals(v[1],m[1]),D=ct.equals(p.path,h.path),y=o?null:tt.void(e,{at:p,mode:\"highest\"}),b=o?null:tt.void(e,{at:h,mode:\"highest\"});if(y){var C=tt.before(e,p);C&&v&&ct.isAncestor(v[1],C.path)&&(p=C)}if(b){var E=tt.after(e,h);E&&m&&ct.isAncestor(m[1],E.path)&&(h=E)}var w,B=[];for(var A of tt.nodes(e,{at:a,voids:o})){var[F,x]=A;w&&0===ct.compare(x,w)||(!o&&tt.isVoid(e,F)||!ct.isCommon(x,p.path)&&!ct.isCommon(x,h.path))&&(B.push(A),w=x)}var k=Array.from(B,t=>{var[,n]=t;return tt.pathRef(e,n)}),O=tt.pointRef(e,p),S=tt.pointRef(e,h);if(!D&&!y){var T=O.current,[P]=tt.leaf(e,T),{path:j}=T,{offset:N}=p,_=P.text.slice(N);_.length>0&&e.apply({type:\"remove_text\",path:j,offset:N,text:_})}for(var M of k){var R=M.unref();Vt.removeNodes(e,{at:R,voids:o})}if(!b){var z=S.current,[I]=tt.leaf(e,z),{path:L}=z,W=D?p.offset:0,V=I.text.slice(W,h.offset);V.length>0&&e.apply({type:\"remove_text\",path:L,offset:W,text:V})}!D&&g&&S.current&&O.current&&Vt.mergeNodes(e,{at:S.current,hanging:!0,voids:o});var U=n?O.unref()||S.unref():S.unref()||O.unref();null==t.at&&U&&Vt.select(e,U)}}})},insertFragment(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};tt.withoutNormalizing(e,()=>{var{hanging:r=!1,voids:u=!1}=n,{at:o=e.selection}=n;if(t.length&&o){if(Dt.isRange(o))if(r||(o=tt.unhangRange(e,o)),Dt.isCollapsed(o))o=o.anchor;else{var[,a]=Dt.edges(o);if(!u&&tt.void(e,{at:a}))return;var i=tt.pointRef(e,a);Vt.delete(e,{at:o}),o=i.unref()}else ct.isPath(o)&&(o=tt.start(e,o));if(u||!tt.void(e,{at:o})){var l=tt.above(e,{at:o,match:t=>tt.isInline(e,t),mode:\"highest\",voids:u});if(l){var[,s]=l;if(tt.isEnd(e,o,s))o=tt.after(e,s);else if(tt.isStart(e,o,s)){o=tt.before(e,s)}}var c=tt.above(e,{match:t=>tt.isBlock(e,t),at:o,voids:u}),[,f]=c,d=tt.isStart(e,o,f),p=tt.isEnd(e,o,f),h=d&&p,v=!d||d&&p,m=!p,[,g]=at.first({children:t},[]),[,D]=at.last({children:t},[]),y=[],b=t=>{var[n,r]=t;return!(0===r.length)&&(!!h||!(v&&ct.isAncestor(r,g)&&Xe.isElement(n)&&!e.isVoid(n)&&!e.isInline(n))&&!(m&&ct.isAncestor(r,D)&&Xe.isElement(n)&&!e.isVoid(n)&&!e.isInline(n)))};for(var C of at.nodes({children:t},{pass:b}))b(C)&&y.push(C);var E=[],w=[],B=[],A=!0,F=!1;for(var[x]of y)Xe.isElement(x)&&!e.isInline(x)?(A=!1,F=!0,w.push(x)):A?E.push(x):B.push(x);var[k]=tt.nodes(e,{at:o,match:t=>At.isText(t)||tt.isInline(e,t),mode:\"highest\",voids:u}),[,O]=k,S=tt.isStart(e,o,O),T=tt.isEnd(e,o,O),P=tt.pathRef(e,p?ct.next(f):f),j=tt.pathRef(e,T?ct.next(O):O),N=tt.pathRef(e,f);Vt.splitNodes(e,{at:o,match:t=>F?tt.isBlock(e,t):At.isText(t)||tt.isInline(e,t),mode:F?\"lowest\":\"highest\",voids:u});var _=tt.pathRef(e,!S||S&&T?ct.next(O):O);if(Vt.insertNodes(e,E,{at:_.current,match:t=>At.isText(t)||tt.isInline(e,t),mode:\"highest\",voids:u}),h&&w.length&&Vt.delete(e,{at:N.unref(),voids:u}),Vt.insertNodes(e,w,{at:P.current,match:t=>tt.isBlock(e,t),mode:\"lowest\",voids:u}),Vt.insertNodes(e,B,{at:j.current,match:t=>At.isText(t)||tt.isInline(e,t),mode:\"highest\",voids:u}),!n.at){var M;M=B.length>0?ct.previous(j.current):w.length>0?ct.previous(P.current):ct.previous(_.current);var R=tt.end(e,M);Vt.select(e,R)}_.unref(),P.unref(),j.unref()}}})},insertText(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};tt.withoutNormalizing(e,()=>{var{voids:r=!1}=n,{at:u=e.selection}=n;if(u){if(ct.isPath(u)&&(u=tt.range(e,u)),Dt.isRange(u))if(Dt.isCollapsed(u))u=u.anchor;else{var o=Dt.end(u);if(!r&&tt.void(e,{at:o}))return;var a=tt.pointRef(e,o);Vt.delete(e,{at:u,voids:r}),u=a.unref(),Vt.setSelection(e,{anchor:u,focus:u})}if(r||!tt.void(e,{at:u})){var{path:i,offset:l}=u;t.length>0&&e.apply({type:\"insert_text\",path:i,offset:l,text:t})}}})}};function Lt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Wt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lt(Object(n),!0).forEach((function(t){le(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Vt=Wt(Wt(Wt(Wt({},{transform(e,t){e.children=ae(e.children);var n=e.selection&&ae(e.selection);try{n=((e,t,n)=>{switch(n.type){case\"insert_node\":var{path:r,node:u}=n,o=at.parent(e,r),a=r[r.length-1];if(a>o.children.length)throw new Error('Cannot apply an \"insert_node\" operation at path ['.concat(r,\"] because the destination is past the end of the node.\"));if(o.children.splice(a,0,u),t)for(var[i,l]of Dt.points(t))t[l]=ht.transform(i,n);break;case\"insert_text\":var{path:s,offset:c,text:f}=n;if(0===f.length)break;var d=at.leaf(e,s),p=d.text.slice(0,c),h=d.text.slice(c);if(d.text=p+f+h,t)for(var[v,m]of Dt.points(t))t[m]=ht.transform(v,n);break;case\"merge_node\":var{path:g}=n,D=at.get(e,g),y=ct.previous(g),b=at.get(e,y),C=at.parent(e,g),E=g[g.length-1];if(At.isText(D)&&At.isText(b))b.text+=D.text;else{if(At.isText(D)||At.isText(b))throw new Error('Cannot apply a \"merge_node\" operation at path ['.concat(g,\"] to nodes of different interfaces: \").concat(D,\" \").concat(b));b.children.push(...D.children)}if(C.children.splice(E,1),t)for(var[w,B]of Dt.points(t))t[B]=ht.transform(w,n);break;case\"move_node\":var{path:A,newPath:F}=n;if(ct.isAncestor(A,F))throw new Error(\"Cannot move a path [\".concat(A,\"] to new path [\").concat(F,\"] because the destination is inside itself.\"));var x=at.get(e,A),k=at.parent(e,A),O=A[A.length-1];k.children.splice(O,1);var S=ct.transform(A,n),T=at.get(e,ct.parent(S)),P=S[S.length-1];if(T.children.splice(P,0,x),t)for(var[j,N]of Dt.points(t))t[N]=ht.transform(j,n);break;case\"remove_node\":var{path:_}=n,M=_[_.length-1];if(at.parent(e,_).children.splice(M,1),t)for(var[R,z]of Dt.points(t)){var I=ht.transform(R,n);if(null!=t&&null!=I)t[z]=I;else{var L=void 0,W=void 0;for(var[V,U]of at.texts(e)){if(-1!==ct.compare(U,_)){W=[V,U];break}L=[V,U]}var H=!1;L&&W&&(H=ct.equals(W[1],_)?!ct.hasPrevious(W[1]):ct.common(L[1],_).length<ct.common(W[1],_).length),L&&!H?(R.path=L[1],R.offset=L[0].text.length):W?(R.path=W[1],R.offset=0):t=null}}break;case\"remove_text\":var{path:q,offset:$,text:K}=n;if(0===K.length)break;var Q=at.leaf(e,q),X=Q.text.slice(0,$),J=Q.text.slice($+K.length);if(Q.text=X+J,t)for(var[Y,G]of Dt.points(t))t[G]=ht.transform(Y,n);break;case\"set_node\":var{path:Z,properties:ee,newProperties:te}=n;if(0===Z.length)throw new Error(\"Cannot set properties on the root node!\");var ne=at.get(e,Z);for(var re in te){if(\"children\"===re||\"text\"===re)throw new Error('Cannot set the \"'.concat(re,'\" property of nodes!'));var ue=te[re];null==ue?delete ne[re]:ne[re]=ue}for(var oe in ee)te.hasOwnProperty(oe)||delete ne[oe];break;case\"set_selection\":var{newProperties:ae}=n;if(null==ae)t=ae;else{if(null==t){if(!Dt.isRange(ae))throw new Error('Cannot apply an incomplete \"set_selection\" operation properties '.concat(JSON.stringify(ae),\" when there is no current selection.\"));t=xt({},ae)}for(var ie in ae){var le=ae[ie];if(null==le){if(\"anchor\"===ie||\"focus\"===ie)throw new Error('Cannot remove the \"'.concat(ie,'\" selection property'));delete t[ie]}else t[ie]=le}}break;case\"split_node\":var{path:se,position:ce,properties:fe}=n;if(0===se.length)throw new Error('Cannot apply a \"split_node\" operation at path ['.concat(se,\"] because the root node cannot be split.\"));var de,pe=at.get(e,se),he=at.parent(e,se),ve=se[se.length-1];if(At.isText(pe)){var me=pe.text.slice(0,ce),ge=pe.text.slice(ce);pe.text=me,de=xt(xt({},fe),{},{text:ge})}else{var De=pe.children.slice(0,ce),ye=pe.children.slice(ce);pe.children=De,de=xt(xt({},fe),{},{children:ye})}if(he.children.splice(ve+1,0,de),t)for(var[be,Ce]of Dt.points(t))t[Ce]=ht.transform(be,n)}return t})(e,n,t)}finally{e.children=ie(e.children),e.selection=n?c(n)?ie(n):n:null}}}),Pt),zt),It),Ut=n(6),Ht=n.n(Ut),qt=n(3),$t=n.n(qt),Kt=n(7),Qt=n.n(Kt);function Xt(e){return null!=e&&\"object\"==typeof e&&1===e.nodeType}function Jt(e,t){return(!t||\"hidden\"!==e)&&(\"visible\"!==e&&\"clip\"!==e)}function Yt(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return Jt(n.overflowY,t)||Jt(n.overflowX,t)||function(e){var t=function(e){if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}}(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)}(e)}return!1}function Gt(e,t,n,r,u,o,a,i){return o<e&&a>t||o>e&&a<t?0:o<=e&&i<=n||a>=t&&i>=n?o-e-r:a>t&&i<n||o<e&&i>n?a-t+u:0}var Zt=function(e,t){var n=t.scrollMode,r=t.block,u=t.inline,o=t.boundary,a=t.skipOverflowHiddenElements,i=\"function\"==typeof o?o:function(e){return e!==o};if(!Xt(e))throw new TypeError(\"Invalid target\");for(var l=document.scrollingElement||document.documentElement,s=[],c=e;Xt(c)&&i(c);){if((c=c.parentNode)===l){s.push(c);break}c===document.body&&Yt(c)&&!Yt(document.documentElement)||Yt(c,a)&&s.push(c)}for(var f=window.visualViewport?visualViewport.width:innerWidth,d=window.visualViewport?visualViewport.height:innerHeight,p=window.scrollX||pageXOffset,h=window.scrollY||pageYOffset,v=e.getBoundingClientRect(),m=v.height,g=v.width,D=v.top,y=v.right,b=v.bottom,C=v.left,E=\"start\"===r||\"nearest\"===r?D:\"end\"===r?b:D+m/2,w=\"center\"===u?C+g/2:\"end\"===u?y:C,B=[],A=0;A<s.length;A++){var F=s[A],x=F.getBoundingClientRect(),k=x.height,O=x.width,S=x.top,T=x.right,P=x.bottom,j=x.left;if(\"if-needed\"===n&&D>=0&&C>=0&&b<=d&&y<=f&&D>=S&&b<=P&&C>=j&&y<=T)return B;var N=getComputedStyle(F),_=parseInt(N.borderLeftWidth,10),M=parseInt(N.borderTopWidth,10),R=parseInt(N.borderRightWidth,10),z=parseInt(N.borderBottomWidth,10),I=0,L=0,W=\"offsetWidth\"in F?F.offsetWidth-F.clientWidth-_-R:0,V=\"offsetHeight\"in F?F.offsetHeight-F.clientHeight-M-z:0;if(l===F)I=\"start\"===r?E:\"end\"===r?E-d:\"nearest\"===r?Gt(h,h+d,d,M,z,h+E,h+E+m,m):E-d/2,L=\"start\"===u?w:\"center\"===u?w-f/2:\"end\"===u?w-f:Gt(p,p+f,f,_,R,p+w,p+w+g,g),I=Math.max(0,I+h),L=Math.max(0,L+p);else{I=\"start\"===r?E-S-M:\"end\"===r?E-P+z+V:\"nearest\"===r?Gt(S,P,k,M,z+V,E,E+m,m):E-(S+k/2)+V/2,L=\"start\"===u?w-j-_:\"center\"===u?w-(j+O/2)+W/2:\"end\"===u?w-T+R+W:Gt(j,T,O,_,R+W,w,w+g,g);var U=F.scrollLeft,H=F.scrollTop;E+=H-(I=Math.max(0,Math.min(H+I,F.scrollHeight-k+V))),w+=U-(L=Math.max(0,Math.min(U+L,F.scrollWidth-O+W)))}B.push({el:F,top:I,left:L})}return B};function en(e){return e===Object(e)&&0!==Object.keys(e).length}var tn=function(e,t){var n=!e.ownerDocument.documentElement.contains(e);if(en(t)&&\"function\"==typeof t.behavior)return t.behavior(n?[]:Zt(e,t));if(!n){var r=function(e){return!1===e?{block:\"end\",inline:\"nearest\"}:en(e)?e:{block:\"start\",inline:\"nearest\"}}(t);return function(e,t){void 0===t&&(t=\"auto\");var n=\"scrollBehavior\"in document.body.style;e.forEach((function(e){var r=e.el,u=e.top,o=e.left;r.scroll&&n?r.scroll({top:u,left:o,behavior:t}):(r.scrollTop=u,r.scrollLeft=o)}))}(Zt(e,r),r.behavior)}},nn=n(4);function rn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function un(e,t){if(null==e)return{};var n,r,u=function(e,t){if(null==e)return{};var n,r,u={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(u[n]=e[n]);return u}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(u[n]=e[n])}return u}var on=\"undefined\"!=typeof navigator&&\"undefined\"!=typeof window&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,an=\"undefined\"!=typeof navigator&&/Mac OS X/.test(navigator.userAgent),ln=\"undefined\"!=typeof navigator&&/Android/.test(navigator.userAgent),sn=\"undefined\"!=typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),cn=\"undefined\"!=typeof navigator&&/Version\\/[\\d\\.]+.*Safari/.test(navigator.userAgent),fn=\"undefined\"!=typeof navigator&&/Edge?\\/(?:[0-6][0-9]|[0-7][0-8])(\\.)/i.test(navigator.userAgent),dn=\"undefined\"!=typeof navigator&&/Chrome/i.test(navigator.userAgent),pn=\"undefined\"!=typeof navigator&&/Chrome?\\/(?:[0-7][0-5]|[0-6][0-9])(\\.)/i.test(navigator.userAgent),hn=\"undefined\"!=typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox\\/(?:[0-7][0-9]|[0-8][0-6])).*/i.test(navigator.userAgent),vn=\"undefined\"!=typeof navigator&&/.*QQBrowser/.test(navigator.userAgent),mn=\"undefined\"!=typeof navigator&&/.*UCBrowser/.test(navigator.userAgent),gn=\"undefined\"!=typeof navigator&&/.*Wechat/.test(navigator.userAgent),Dn=!(\"undefined\"==typeof window||void 0===window.document||void 0===window.document.createElement),yn=!pn&&!fn&&\"undefined\"!=typeof globalThis&&globalThis.InputEvent&&\"function\"==typeof globalThis.InputEvent.prototype.getTargetRanges,bn=Dn?r.useLayoutEffect:r.useEffect,Cn=e=>{var{isLast:t,leaf:n,parent:r,text:o}=e,a=er(),i=Wr.findPath(a,o),l=ct.parent(i);return a.isVoid(r)?u.a.createElement(wn,{length:at.string(r).length}):\"\"!==n.text||r.children[r.children.length-1]!==o||a.isInline(r)||\"\"!==tt.string(a,l)?\"\"===n.text?u.a.createElement(wn,null):t&&\"\\n\"===n.text.slice(-1)?u.a.createElement(En,{isTrailing:!0,text:n.text}):u.a.createElement(En,{text:n.text}):u.a.createElement(wn,{isLineBreak:!0})},En=e=>{var{text:t,isTrailing:n=!1}=e,o=Object(r.useRef)(null),a=()=>\"\".concat(null!=t?t:\"\").concat(n?\"\\n\":\"\");return bn(()=>{var e=a();o.current&&o.current.textContent!==e&&(o.current.textContent=e)}),o.current?u.a.createElement(\"span\",{\"data-slate-string\":!0,ref:o}):u.a.createElement(\"span\",{\"data-slate-string\":!0,ref:o},a())},wn=e=>{var{length:t=0,isLineBreak:n=!1}=e;return u.a.createElement(\"span\",{\"data-slate-zero-width\":n?\"n\":\"z\",\"data-slate-length\":t},\"\\ufeff\",n?u.a.createElement(\"br\",null):null)},Bn=new WeakMap,An=new WeakMap,Fn=new WeakMap,xn=new WeakMap,kn=new WeakMap,On=new WeakMap,Sn=new WeakMap,Tn=new WeakMap,Pn=new WeakMap,jn=new WeakMap,Nn=new WeakMap,_n=new WeakMap,Mn=new WeakMap,Rn=new WeakMap,zn=new WeakMap,In=Symbol(\"placeholder\"),Ln=e=>{var{leaf:t,isLast:n,text:o,parent:a,renderPlaceholder:i,renderLeaf:l=(e=>u.a.createElement(Vn,Object.assign({},e)))}=e,s=Object(r.useRef)(null);Object(r.useEffect)(()=>{var e=null==s?void 0:s.current,t=document.querySelector('[data-slate-editor=\"true\"]');if(e&&t)return t.style.minHeight=\"\".concat(e.clientHeight,\"px\"),()=>{t.style.minHeight=\"auto\"}},[s,t]);var c=u.a.createElement(Cn,{isLast:n,leaf:t,parent:a,text:o});if(t[In]){var f={children:t.placeholder,attributes:{\"data-slate-placeholder\":!0,style:{position:\"absolute\",pointerEvents:\"none\",width:\"100%\",maxWidth:\"100%\",display:\"block\",opacity:\"0.333\",userSelect:\"none\",textDecoration:\"none\"},contentEditable:!1,ref:s}};c=u.a.createElement(u.a.Fragment,null,i(f),c)}return l({attributes:{\"data-slate-leaf\":!0},children:c,leaf:t,text:o})},Wn=u.a.memo(Ln,(e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.renderPlaceholder===e.renderPlaceholder&&t.text===e.text&&At.equals(t.leaf,e.leaf)&&t.leaf[In]===e.leaf[In]),Vn=e=>{var{attributes:t,children:n}=e;return u.a.createElement(\"span\",Object.assign({},t),n)},Un=[\"anchor\",\"focus\"],Hn=[\"anchor\",\"focus\"],qn=(e,t)=>Object.keys(e).length===Object.keys(t).length&&Object.keys(e).every(n=>t.hasOwnProperty(n)&&e[n]===t[n]),$n=(e,t)=>{if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++){var r=e[n],u=t[n],o=un(r,Un),a=un(u,Hn);if(!Dt.equals(r,u)||r[In]!==u[In]||!qn(o,a))return!1}return!0};function Kn(e){var t=Object(r.useRef)(0),n=Object(r.useRef)(null),[,u]=Object(r.useState)(0);return Object(r.useEffect)(()=>(zn.set(e,()=>{n.current||(n.current=requestAnimationFrame(()=>{u(e=>e+1),n.current=null}),t.current++)}),()=>{zn.delete(e)}),[e]),n.current&&(cancelAnimationFrame(n.current),n.current=null),t.current}var Qn=e=>{for(var{decorations:t,isLast:n,parent:o,renderPlaceholder:a,renderLeaf:i,text:l}=e,s=er(),c=Object(r.useRef)(null),f=At.decorations(l,t),d=Wr.findKey(s,l),p=[],h=0;h<f.length;h++){var v=f[h];p.push(u.a.createElement(Wn,{isLast:n&&h===f.length-1,key:\"\".concat(d.id,\"-\").concat(h),renderPlaceholder:a,leaf:v,text:l,parent:o,renderLeaf:i}))}bn(()=>{var e=Tn.get(s);c.current?(null==e||e.set(d,c.current),On.set(l,c.current),kn.set(c.current,l)):(null==e||e.delete(d),On.delete(l))});var m=ln?Kn(l):void 0;return u.a.createElement(\"span\",{\"data-slate-node\":\"text\",ref:c,key:m},p)},Xn=u.a.memo(Qn,(e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.text===e.text&&$n(t.decorations,e.decorations)),Jn=e=>{var{decorations:t,element:n,renderElement:o=(e=>u.a.createElement(Gn,Object.assign({},e))),renderPlaceholder:a,renderLeaf:i,selection:l}=e,s=Object(r.useRef)(null),c=er(),f=cr(),d=c.isInline(n),p=Wr.findKey(c,n),h=rr({decorations:t,node:n,renderElement:o,renderPlaceholder:a,renderLeaf:i,selection:l}),v={\"data-slate-node\":\"element\",ref:s};if(d&&(v[\"data-slate-inline\"]=!0),!d&&tt.hasInlines(c,n)){var m=at.string(n),g=Ht()(m);\"rtl\"===g&&(v.dir=g)}if(tt.isVoid(c,n)){v[\"data-slate-void\"]=!0,!f&&d&&(v.contentEditable=!1);var D=d?\"span\":\"div\",[[y]]=at.texts(n);h=u.a.createElement(D,{\"data-slate-spacer\":!0,style:{height:\"0\",color:\"transparent\",outline:\"none\",position:\"absolute\"}},u.a.createElement(Xn,{renderPlaceholder:a,decorations:[],isLast:!1,parent:n,text:y})),Bn.set(y,0),An.set(y,n)}bn(()=>{var e=Tn.get(c);s.current?(null==e||e.set(p,s.current),On.set(n,s.current),kn.set(s.current,n)):(null==e||e.delete(p),On.delete(n))});var b=o({attributes:v,children:h,element:n});if(ln){var C=Kn(n);return u.a.createElement(r.Fragment,{key:C},b)}return b},Yn=u.a.memo(Jn,(e,t)=>e.element===t.element&&e.renderElement===t.renderElement&&e.renderLeaf===t.renderLeaf&&$n(e.decorations,t.decorations)&&(e.selection===t.selection||!!e.selection&&!!t.selection&&Dt.equals(e.selection,t.selection))),Gn=e=>{var{attributes:t,children:n,element:r}=e,o=er().isInline(r)?\"span\":\"div\";return u.a.createElement(o,Object.assign({},t,{style:{position:\"relative\"}}),n)},Zn=Object(r.createContext)(null),er=()=>{var e=Object(r.useContext)(Zn);if(!e)throw new Error(\"The `useSlateStatic` hook must be used inside the <Slate> component's context.\");return e},tr=Object(r.createContext)(()=>[]),nr=Object(r.createContext)(!1),rr=e=>{var{decorations:t,node:n,renderElement:o,renderPlaceholder:a,renderLeaf:i,selection:l}=e;Object(r.useContext)(tr);for(var s=er(),c=Wr.findPath(s,n),f=[],d=Xe.isElement(n)&&!s.isInline(n)&&tt.hasInlines(s,n),p=function(e){var r=c.concat(e),p=n.children[e],h=Wr.findKey(s,p),v=tt.range(s,r),m=l&&Dt.intersection(v,l),g=t.filter(e=>Dt.intersection(e,v));Xe.isElement(p)?f.push(u.a.createElement(nr.Provider,{key:\"provider-\".concat(h.id),value:!!m},u.a.createElement(Yn,{decorations:g,element:p,key:h.id,renderElement:o,renderPlaceholder:a,renderLeaf:i,selection:m}))):f.push(u.a.createElement(Xn,{decorations:g,key:h.id,isLast:d&&e===n.children.length-1,parent:n,renderPlaceholder:a,renderLeaf:i,text:p})),Bn.set(p,e),An.set(p,n)},h=0;h<n.children.length;h++)p(h);return f},ur={bold:\"mod+b\",compose:[\"down\",\"left\",\"right\",\"up\",\"backspace\",\"enter\"],moveBackward:\"left\",moveForward:\"right\",moveWordBackward:\"ctrl+left\",moveWordForward:\"ctrl+right\",deleteBackward:\"shift?+backspace\",deleteForward:\"shift?+delete\",extendBackward:\"shift+left\",extendForward:\"shift+right\",italic:\"mod+i\",splitBlock:\"shift?+enter\",undo:\"mod+z\"},or={moveLineBackward:\"opt+up\",moveLineForward:\"opt+down\",moveWordBackward:\"opt+left\",moveWordForward:\"opt+right\",deleteBackward:[\"ctrl+backspace\",\"ctrl+h\"],deleteForward:[\"ctrl+delete\",\"ctrl+d\"],deleteLineBackward:\"cmd+shift?+backspace\",deleteLineForward:[\"cmd+shift?+delete\",\"ctrl+k\"],deleteWordBackward:\"opt+shift?+backspace\",deleteWordForward:\"opt+shift?+delete\",extendLineBackward:\"opt+shift+up\",extendLineForward:\"opt+shift+down\",redo:\"cmd+shift+z\",transposeCharacter:\"ctrl+t\"},ar={deleteWordBackward:\"ctrl+shift?+backspace\",deleteWordForward:\"ctrl+shift?+delete\",redo:[\"ctrl+y\",\"ctrl+shift+z\"]},ir=e=>{var t=ur[e],n=or[e],r=ar[e],u=t&&Object(nn.isKeyHotkey)(t),o=n&&Object(nn.isKeyHotkey)(n),a=r&&Object(nn.isKeyHotkey)(r);return e=>!(!u||!u(e))||(!!(an&&o&&o(e))||!(an||!a||!a(e)))},lr={isBold:ir(\"bold\"),isCompose:ir(\"compose\"),isMoveBackward:ir(\"moveBackward\"),isMoveForward:ir(\"moveForward\"),isDeleteBackward:ir(\"deleteBackward\"),isDeleteForward:ir(\"deleteForward\"),isDeleteLineBackward:ir(\"deleteLineBackward\"),isDeleteLineForward:ir(\"deleteLineForward\"),isDeleteWordBackward:ir(\"deleteWordBackward\"),isDeleteWordForward:ir(\"deleteWordForward\"),isExtendBackward:ir(\"extendBackward\"),isExtendForward:ir(\"extendForward\"),isExtendLineBackward:ir(\"extendLineBackward\"),isExtendLineForward:ir(\"extendLineForward\"),isItalic:ir(\"italic\"),isMoveLineBackward:ir(\"moveLineBackward\"),isMoveLineForward:ir(\"moveLineForward\"),isMoveWordBackward:ir(\"moveWordBackward\"),isMoveWordForward:ir(\"moveWordForward\"),isRedo:ir(\"redo\"),isSplitBlock:ir(\"splitBlock\"),isTransposeCharacter:ir(\"transposeCharacter\"),isUndo:ir(\"undo\")},sr=Object(r.createContext)(!1),cr=()=>Object(r.useContext)(sr),fr=Object(r.createContext)(null),dr=()=>{var e=Object(r.useContext)(fr);if(!e)throw new Error(\"The `useSlate` hook must be used inside the <Slate> component's context.\");var[t]=e;return t},pr=e=>e&&e.ownerDocument&&e.ownerDocument.defaultView||null,hr=e=>vr(e)&&1===e.nodeType,vr=e=>{var t=pr(e);return!!t&&e instanceof t.Node},mr=e=>{var t=e&&e.anchorNode&&pr(e.anchorNode);return!!t&&e instanceof t.Selection},gr=e=>vr(e)&&3===e.nodeType,Dr=(e,t,n)=>{for(var r,{childNodes:u}=e,o=u[t],a=t,i=!1,l=!1;(vr(r=o)&&8===r.nodeType||hr(o)&&0===o.childNodes.length||hr(o)&&\"false\"===o.getAttribute(\"contenteditable\"))&&(!i||!l);)a>=u.length?(i=!0,a=t-1,n=\"backward\"):a<0?(l=!0,a=t+1,n=\"forward\"):(o=u[a],t=a,a+=\"forward\"===n?1:-1);return[o,t]},yr=(e,t,n)=>{var[r]=Dr(e,t,n);return r},br=e=>{var t=\"\";if(gr(e)&&e.nodeValue)return e.nodeValue;if(hr(e)){for(var n of Array.from(e.childNodes))t+=br(n);var r=getComputedStyle(e).getPropertyValue(\"display\");\"block\"!==r&&\"list\"!==r&&\"BR\"!==e.tagName||(t+=\"\\n\")}return t},Cr=/data-slate-fragment=\"(.+?)\"/m,Er=e=>{var t=e.getData(\"text/html\"),[,n]=t.match(Cr)||[];return n},wr=[\"autoFocus\",\"decorate\",\"onDOMBeforeInput\",\"placeholder\",\"readOnly\",\"renderElement\",\"renderLeaf\",\"renderPlaceholder\",\"scrollSelectionIntoView\",\"style\",\"as\"];function Br(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ar(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Br(Object(n),!0).forEach((function(t){rn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Br(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Fr=e=>u.a.createElement(u.a.Fragment,null,rr(e)),xr=e=>{var{attributes:t,children:n}=e;return u.a.createElement(\"span\",Object.assign({},t),n)},kr=()=>[],Or=(e,t)=>{if(!e.selection||e.selection&&Dt.isCollapsed(e.selection)){var n=t.startContainer.parentElement;n.getBoundingClientRect=t.getBoundingClientRect.bind(t),tn(n,{scrollMode:\"if-needed\"}),delete n.getBoundingClientRect}},Sr=(e,t)=>vr(t)&&Wr.hasDOMNode(e,t),Tr=(e,t)=>vr(t)&&Wr.hasDOMNode(e,t,{editable:!0}),Pr=(e,t)=>{if(Pn.get(e))return!1;var n=Sr(e,t)&&Wr.toSlateNode(e,t);return tt.isVoid(e,n)},jr=(e,t)=>{if(!t)return!1;var n=t(e);return null!=n?n:e.isDefaultPrevented()||e.isPropagationStopped()},Nr=(e,t)=>{if(!t)return!1;var n=t(e);return null!=n?n:e.defaultPrevented};function _r(e,t){if(e===t)return null;var n=function(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r++)if(e.charAt(r)!==t.charAt(r))return r;return e.length!==t.length?n:null}(e,t);if(null===n)return null;var r=function(e,t,n){for(var r=e.length,u=t.length,o=Math.min(r,u,n),a=0;a<o;a++){if(e.charAt(r-a-1)!==t.charAt(u-a-1))return a}return e.length!==t.length?o:null}(e,t,Math.min(e.length-n,t.length-n));return null===r?null:{start:n,end:r}}function Mr(e,t){return e.slice(t.start,e.length-t.end)}function Rr(e,t){var n=Wr.toSlateNode(e,t);if(At.isText(n)){var r=n.text,u=t.textContent;if(u.endsWith(\"\\n\")&&(u=u.slice(0,u.length-1)),u!==r){var o=function(e,t){if(void 0===e||void 0===t)return null;var n=_r(e,t);if(null==n)return null;var r=Mr(t,n),u=Mr(e,n);return{start:n.start,end:e.length-n.end,insertText:r,removeText:u}}(r,u);if(null!==o)return{text:o,path:Wr.findPath(e,n)}}}}function zr(e,t,n){var{path:r,text:u}=n,o={anchor:{path:r,offset:u.start},focus:{path:r,offset:u.end}};if(!t||!Dt.isCollapsed(t))return o;var{insertText:a,removeText:i}=u;if((1===a.length||1===i.length)&&ct.equals(t.anchor.path,r)){var[l]=Array.from(tt.nodes(e,{at:t,match:At.isText}));if(l){var[s]=l,{anchor:c}=t,f=s.text[c.offset-1],d=s.text[c.offset];if(1===a.length&&a===d)return t;if(1===i.length&&i===f)return{anchor:{path:r,offset:c.offset-1},focus:{path:r,offset:c.offset}}}}return o}var Ir=0;class Lr{constructor(){this.id=\"\".concat(Ir++)}}var Wr={getWindow(e){var t=Fn.get(e);if(!t)throw new Error(\"Unable to find a host window element for this editor\");return t},findKey(e,t){var n=Sn.get(t);return n||(n=new Lr,Sn.set(t,n)),n},findPath(e,t){for(var n=[],r=t;;){var u=An.get(r);if(null==u){if(tt.isEditor(r))return n;break}var o=Bn.get(r);if(null==o)break;n.unshift(o),r=u}throw new Error(\"Unable to find the path for Slate node: \".concat(JSON.stringify(t)))},findDocumentOrShadowRoot(e){var t=Wr.toDOMNode(e,e),n=t.getRootNode();return(n instanceof Document||n instanceof ShadowRoot)&&null!=n.getSelection?n:t.ownerDocument},isFocused:e=>!!jn.get(e),isReadOnly:e=>!!Pn.get(e),blur(e){var t=Wr.toDOMNode(e,e),n=Wr.findDocumentOrShadowRoot(e);jn.set(e,!1),n.activeElement===t&&t.blur()},focus(e){var t=Wr.toDOMNode(e,e),n=Wr.findDocumentOrShadowRoot(e);jn.set(e,!0),n.activeElement!==t&&t.focus({preventScroll:!0})},deselect(e){Wr.toDOMNode(e,e);var{selection:t}=e,n=Wr.findDocumentOrShadowRoot(e).getSelection();n&&n.rangeCount>0&&n.removeAllRanges(),t&&Vt.deselect(e)},hasDOMNode(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{editable:u=!1}=r,o=Wr.toDOMNode(e,e);try{n=hr(t)?t:t.parentElement}catch(e){if(!e.message.includes('Permission denied to access property \"nodeType\"'))throw e}return!!n&&!(n.closest(\"[data-slate-editor]\")!==o||u&&!n.isContentEditable&&(\"boolean\"!=typeof n.isContentEditable||n.closest('[contenteditable=\"false\"]')!==o)&&!n.getAttribute(\"data-slate-zero-width\"))},insertData(e,t){e.insertData(t)},insertFragmentData:(e,t)=>e.insertFragmentData(t),insertTextData:(e,t)=>e.insertTextData(t),setFragmentData(e,t,n){e.setFragmentData(t,n)},toDOMNode(e,t){var n=Tn.get(e),r=tt.isEditor(t)?xn.get(e):null==n?void 0:n.get(Wr.findKey(e,t));if(!r)throw new Error(\"Cannot resolve a DOM node from Slate node: \".concat(JSON.stringify(t)));return r},toDOMPoint(e,t){var n,[r]=tt.node(e,t.path),u=Wr.toDOMNode(e,r);tt.void(e,{at:t})&&(t={path:t.path,offset:0});var o=Array.from(u.querySelectorAll(\"[data-slate-string], [data-slate-zero-width]\")),a=0;for(var i of o){var l=i.childNodes[0];if(null!=l&&null!=l.textContent){var{length:s}=l.textContent,c=i.getAttribute(\"data-slate-length\"),f=a+(null==c?s:parseInt(c,10));if(t.offset<=f){n=[l,Math.min(s,Math.max(0,t.offset-a))];break}a=f}}if(!n)throw new Error(\"Cannot resolve a DOM point from Slate point: \".concat(JSON.stringify(t)));return n},toDOMRange(e,t){var{anchor:n,focus:r}=t,u=Dt.isBackward(t),o=Wr.toDOMPoint(e,n),a=Dt.isCollapsed(t)?o:Wr.toDOMPoint(e,r),i=Wr.getWindow(e).document.createRange(),[l,s]=u?a:o,[c,f]=u?o:a,d=!!(hr(l)?l:l.parentElement).getAttribute(\"data-slate-zero-width\"),p=!!(hr(c)?c:c.parentElement).getAttribute(\"data-slate-zero-width\");return i.setStart(l,d?1:s),i.setEnd(c,p?1:f),i},toSlateNode(e,t){var n=hr(t)?t:t.parentElement;n&&!n.hasAttribute(\"data-slate-node\")&&(n=n.closest(\"[data-slate-node]\"));var r=n?kn.get(n):null;if(!r)throw new Error(\"Cannot resolve a Slate node from DOM node: \".concat(n));return r},findEventRange(e,t){\"nativeEvent\"in t&&(t=t.nativeEvent);var{clientX:n,clientY:r,target:u}=t;if(null==n||null==r)throw new Error(\"Cannot resolve a Slate range from a DOM event: \".concat(t));var o,a=Wr.toSlateNode(e,t.target),i=Wr.findPath(e,a);if(tt.isVoid(e,a)){var l=u.getBoundingClientRect(),s=e.isInline(a)?n-l.left<l.left+l.width-n:r-l.top<l.top+l.height-r,c=tt.point(e,i,{edge:s?\"start\":\"end\"}),f=s?tt.before(e,c):tt.after(e,c);if(f)return tt.range(e,f)}var{document:d}=Wr.getWindow(e);if(d.caretRangeFromPoint)o=d.caretRangeFromPoint(n,r);else{var p=d.caretPositionFromPoint(n,r);p&&((o=d.createRange()).setStart(p.offsetNode,p.offset),o.setEnd(p.offsetNode,p.offset))}if(!o)throw new Error(\"Cannot resolve a Slate range from a DOM event: \".concat(t));return Wr.toSlateRange(e,o,{exactMatch:!1,suppressThrow:!1})},toSlatePoint(e,t,n){var{exactMatch:r,suppressThrow:u}=n,[o,a]=r?t:(e=>{var[t,n]=e;if(hr(t)&&t.childNodes.length){var r=n===t.childNodes.length,u=r?n-1:n;for([t,u]=Dr(t,u,r?\"backward\":\"forward\"),r=u<n;hr(t)&&t.childNodes.length;){var o=r?t.childNodes.length-1:0;t=yr(t,o,r?\"backward\":\"forward\")}n=r&&null!=t.textContent?t.textContent.length:0}return[t,n]})(t),i=o.parentNode,l=null,s=0;if(i){var c,f=i.closest('[data-slate-void=\"true\"]'),d=i.closest(\"[data-slate-leaf]\"),p=null;if(d){if(l=d.closest('[data-slate-node=\"text\"]')){var h=Wr.getWindow(e).document.createRange();h.setStart(l,0),h.setEnd(o,a);var v=h.cloneContents();[...Array.prototype.slice.call(v.querySelectorAll(\"[data-slate-zero-width]\")),...Array.prototype.slice.call(v.querySelectorAll(\"[contenteditable=false]\"))].forEach(e=>{e.parentNode.removeChild(e)}),s=v.textContent.length,p=l}}else f&&((d=f.querySelector(\"[data-slate-leaf]\"))?(l=d.closest('[data-slate-node=\"text\"]'),s=(p=d).textContent.length,p.querySelectorAll(\"[data-slate-zero-width]\").forEach(e=>{s-=e.textContent.length})):s=1);p&&s===p.textContent.length&&(i.hasAttribute(\"data-slate-zero-width\")||sn&&null!==(c=p.textContent)&&void 0!==c&&c.endsWith(\"\\n\\n\"))&&s--}if(!l){if(u)return null;throw new Error(\"Cannot resolve a Slate point from DOM point: \".concat(t))}var m=Wr.toSlateNode(e,l);return{path:Wr.findPath(e,m),offset:s}},toSlateRange(e,t,n){var r,u,o,a,i,{exactMatch:l,suppressThrow:s}=n;if((mr(t)?t.anchorNode:t.startContainer)&&(mr(t)?(r=t.anchorNode,u=t.anchorOffset,o=t.focusNode,a=t.focusOffset,i=dn&&window.document.activeElement&&window.document.activeElement.shadowRoot?t.anchorNode===t.focusNode&&t.anchorOffset===t.focusOffset:t.isCollapsed):(r=t.startContainer,u=t.startOffset,o=t.endContainer,a=t.endOffset,i=t.collapsed)),null==r||null==o||null==u||null==a)throw new Error(\"Cannot resolve a Slate range from DOM range: \".concat(t));var c=Wr.toSlatePoint(e,[r,u],{exactMatch:l,suppressThrow:s});if(!c)return null;var f=i?c:Wr.toSlatePoint(e,[o,a],{exactMatch:l,suppressThrow:s});if(!f)return null;var d={anchor:c,focus:f};return Dt.isExpanded(d)&&Dt.isForward(d)&&hr(o)&&tt.void(e,{at:d.focus,mode:\"highest\"})&&(d=tt.unhangRange(e,d,{voids:!0})),d},hasRange(e,t){var{anchor:n,focus:r}=t;return tt.hasPath(e,n.path)&&tt.hasPath(e,r.path)}};class Vr{constructor(e,t){this.editor=e,this.restoreDOM=t,this.flush=e=>{try{this.reconcileMutations(e)}catch(e){console.error(e),this.restoreDOM()}},this.reconcileMutations=e=>{var t=function(e,t){var n=[],r=[],u=[],o=[];return t.forEach(t=>{switch(t.type){case\"childList\":t.addedNodes.length&&t.addedNodes.forEach(e=>{n.push(e)}),t.removedNodes.forEach(e=>{r.push(e)});break;case\"characterData\":o.push(t);var{parentNode:a}=t.target;if(!a)return;var i=Rr(e,a);if(!i)return;if(u.some(e=>{var{path:t}=e;return ct.equals(t,i.path)}))return;u.push(i)}}),{addedNodes:n,removedNodes:r,insertedText:u,characterDataMutations:o}}(this.editor,e),{insertedText:n,removedNodes:r}=t;if(((e,t)=>{var{selection:n}=e,{removedNodes:r}=t;return!!n&&(Dt.isExpanded(n)&&r.length>0)})(this.editor,t)){var u=function(e){return e.reduce((e,t)=>{var{text:n}=t;return\"\".concat(e).concat(n.insertText)},\"\")}(n);this.replaceExpandedSelection(u)}else((e,t)=>{var{addedNodes:n}=t,{selection:r}=e,u=r?at.parent(e,r.anchor.path):null,o=u?Wr.toDOMNode(e,u):null;return!!o&&n.some(e=>e instanceof HTMLElement&&e.tagName===(null==o?void 0:o.tagName))})(this.editor,t)?this.insertBreak():((e,t)=>{var{addedNodes:n,characterDataMutations:r,removedNodes:u}=t;return u.length>0&&0===n.length&&r.length>0})(this.editor,t)?this.removeLeafNodes(r):((e,t)=>{var{removedNodes:n}=t;return n.length>0})(this.editor,t)?this.deleteBackward():((e,t)=>{var{insertedText:n}=t;return n.length>0})(this.editor,t)&&this.insertText(n)},this.insertText=e=>{var{selection:t}=this.editor;if(Nn.get(this.editor)||_n.get(this.editor))return Mn.set(this.editor,e),void _n.set(this.editor,!1);e.forEach(e=>{var n=e.text.insertText,r=zr(this.editor,t,e);Vt.setSelection(this.editor,r),tt.insertText(this.editor,n)})},this.insertBreak=()=>{var{selection:e}=this.editor;tt.insertBreak(this.editor),this.restoreDOM(),e&&setTimeout(()=>{this.editor.selection&&Dt.equals(e,this.editor.selection)&&Vt.move(this.editor)},100)},this.replaceExpandedSelection=e=>{tt.deleteFragment(this.editor),e.length&&tt.insertText(this.editor,e),this.restoreDOM()},this.deleteBackward=()=>{tt.deleteBackward(this.editor),Wr.focus(this.editor),this.restoreDOM()},this.removeLeafNodes=e=>{for(var t of e){var n=Wr.toSlateNode(this.editor,t);if(n){var r=Wr.findPath(this.editor,n);Vt.delete(this.editor,{at:r}),this.restoreDOM()}}},this.editor=e,this.restoreDOM=t}}function Ur(e,t,n){var[u]=Object(r.useState)(()=>new MutationObserver(t));bn(()=>{u.disconnect()}),Object(r.useEffect)(()=>{if(!e.current)throw new Error(\"Failed to attach MutationObserver, `node` is undefined\");return u.observe(e.current,n),u.disconnect.bind(u)})}var Hr={childList:!0,characterData:!0,subtree:!0};function qr(e,t){var n=er(),u=Object(r.useRef)(new Set);return Ur(e,Object(r.useCallback)(e=>{t.current&&e.forEach(e=>{var{target:t}=e,n=function e(t){var n,r=hr(t)?t:t.parentElement;r&&!r.hasAttribute(\"data-slate-node\")&&(r=r.closest(\"[data-slate-node]\"));var u=r&&kn.get(r);return u||(null!==(n=r)&&void 0!==n&&n.parentElement?e(r.parentElement):null)}(t);if(n)return u.current.add(n)})},[]),Hr),u.current.clear(),Object(r.useCallback)(()=>{var e=Array.from(u.current.values());e.filter(t=>!e.some(e=>ct.isParent(Wr.findPath(n,e),Wr.findPath(n,t)))).forEach(e=>{var t;null===(t=zn.get(e))||void 0===t||t()}),u.current.clear()},[])}var $r={childList:!0,characterData:!0,characterDataOldValue:!0,subtree:!0};function Kr(e){var t=er(),{receivedUserInput:n,onUserInput:u}=function(){var e=er(),t=Object(r.useRef)(!1),n=Object(r.useRef)(null),u=Object(r.useCallback)(()=>{if(!1===t.current){var r=Wr.getWindow(e);t.current=!0,n.current&&r.cancelAnimationFrame(n.current),n.current=r.requestAnimationFrame(()=>{t.current=!1,n.current=null})}},[]);return Object(r.useEffect)(()=>{t.current&&(t.current=!1)}),{receivedUserInput:t,onUserInput:u}}(),o=qr(e,n),a=Object(r.useMemo)(()=>new Vr(t,o),[o,t]),i=Object(r.useRef)(null),l=Object(r.useRef)(!1);return Ur(e,Object(r.useCallback)(e=>{n.current&&(l.current=!0,a.flush(e),i.current&&clearTimeout(i.current),i.current=setTimeout(()=>{l.current=!1,i.current=null},250))},[]),$r),{isReconciling:l,onUserInput:u}}var Qr=[\"autoFocus\",\"decorate\",\"onDOMBeforeInput\",\"placeholder\",\"readOnly\",\"renderElement\",\"renderLeaf\",\"renderPlaceholder\",\"style\",\"as\"];function Xr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Jr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xr(Object(n),!0).forEach((function(t){rn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Yr=Object(r.createContext)(!1);var Gr=Object(r.createContext)({});var Zr=[\"editor\",\"children\",\"onChange\",\"value\"],eu=e=>{var{editor:t,children:n,onChange:o,value:a}=e,i=un(e,Zr),l=Object(r.useRef)(!1),[s,c]=u.a.useState(()=>{if(!at.isNodeList(a))throw new Error(\"[Slate] value is invalid! Expected a list of elements\"+\"but got: \".concat(JSON.stringify(a)));if(!tt.isEditor(t))throw new Error(\"[Slate] editor is invalid! you passed:\"+\"\".concat(JSON.stringify(t)));return t.children=a,Object.assign(t,i),[t]}),{selectorContext:f,onChange:d}=function(e){var t=Object(r.useRef)([]).current,n=Object(r.useRef)({editor:e}).current,u=Object(r.useCallback)(e=>{n.editor=e,t.forEach(t=>t(e))},[]);return{selectorContext:Object(r.useMemo)(()=>({getSlate:()=>n.editor,addEventListener:e=>(t.push(e),()=>{t.splice(t.indexOf(e),1)})}),[t,n]),onChange:u}}(t),p=Object(r.useCallback)(()=>{o(t.children),c([t]),d(t)},[o]);Rn.set(t,p),Object(r.useEffect)(()=>()=>{Rn.set(t,()=>{}),l.current=!0},[]);var[h,v]=Object(r.useState)(Wr.isFocused(t));return Object(r.useEffect)(()=>{v(Wr.isFocused(t))}),bn(()=>{var e=()=>v(Wr.isFocused(t));return document.addEventListener(\"focus\",e,!0),()=>document.removeEventListener(\"focus\",e,!0)},[]),bn(()=>{var e=()=>v(Wr.isFocused(t));return document.addEventListener(\"blur\",e,!0),()=>{document.removeEventListener(\"focus\",e,!0),document.removeEventListener(\"blur\",e,!0)}},[]),u.a.createElement(Gr.Provider,{value:f},u.a.createElement(fr.Provider,{value:s},u.a.createElement(Zn.Provider,{value:t},u.a.createElement(Yr.Provider,{value:h},n))))},tu=(e,t)=>{var n=(t.top+t.bottom)/2;return e.top<=n&&e.bottom>=n},nu=(e,t,n)=>{var r=Wr.toDOMRange(e,t).getBoundingClientRect(),u=Wr.toDOMRange(e,n).getBoundingClientRect();return tu(r,u)&&tu(u,r)},ru=e=>{var t=e,{apply:n,onChange:r,deleteBackward:u}=t;return Tn.set(t,new WeakMap),t.deleteBackward=n=>{if(\"line\"!==n)return u(n);if(e.selection&&Dt.isCollapsed(e.selection)){var r=tt.above(e,{match:t=>tt.isBlock(e,t),at:e.selection});if(r){var[,o]=r,a=tt.range(e,o,e.selection.anchor),i=((e,t)=>{var n=tt.range(e,Dt.end(t)),r=Array.from(tt.positions(e,{at:t})),u=0,o=r.length,a=Math.floor(o/2);if(nu(e,tt.range(e,r[u]),n))return tt.range(e,r[u],n);if(r.length<2)return tt.range(e,r[r.length-1],n);for(;a!==r.length&&a!==u;)nu(e,tt.range(e,r[a]),n)?o=a:u=a,a=Math.floor((u+o)/2);return tt.range(e,r[o],n)})(t,a);Dt.isCollapsed(i)||Vt.delete(e,{at:i})}}},t.apply=e=>{var r=[];switch(e.type){case\"insert_text\":case\"remove_text\":case\"set_node\":for(var[u,o]of tt.levels(t,{at:e.path})){var a=Wr.findKey(t,u);r.push([o,a])}break;case\"insert_node\":case\"remove_node\":case\"merge_node\":case\"split_node\":for(var[i,l]of tt.levels(t,{at:ct.parent(e.path)})){var s=Wr.findKey(t,i);r.push([l,s])}break;case\"move_node\":for(var[c,f]of tt.levels(t,{at:ct.common(ct.parent(e.path),ct.parent(e.newPath))})){var d=Wr.findKey(t,c);r.push([f,d])}}for(var[p,h]of(n(e),r)){var[v]=tt.node(t,p);Sn.set(v,h)}},t.setFragmentData=e=>{var{selection:n}=t;if(n){var[r,u]=Dt.edges(n),o=tt.void(t,{at:r.path}),a=tt.void(t,{at:u.path});if(!Dt.isCollapsed(n)||o){var i=Wr.toDOMRange(t,n),l=i.cloneContents(),s=l.childNodes[0];if(l.childNodes.forEach(e=>{e.textContent&&\"\"!==e.textContent.trim()&&(s=e)}),a){var[c]=a,f=i.cloneRange(),d=Wr.toDOMNode(t,c);f.setEndAfter(d),l=f.cloneContents()}if(o&&(s=l.querySelector(\"[data-slate-spacer]\")),Array.from(l.querySelectorAll(\"[data-slate-zero-width]\")).forEach(e=>{var t=\"n\"===e.getAttribute(\"data-slate-zero-width\");e.textContent=t?\"\\n\":\"\"}),gr(s)){var p=s.ownerDocument.createElement(\"span\");p.style.whiteSpace=\"pre\",p.appendChild(s),l.appendChild(p),s=p}var h=t.getFragment(),v=JSON.stringify(h),m=window.btoa(encodeURIComponent(v));s.setAttribute(\"data-slate-fragment\",m),e.setData(\"application/x-slate-fragment\",m);var g=l.ownerDocument.createElement(\"div\");return g.appendChild(l),g.setAttribute(\"hidden\",\"true\"),l.ownerDocument.body.appendChild(g),e.setData(\"text/html\",g.innerHTML),e.setData(\"text/plain\",br(g)),l.ownerDocument.body.removeChild(g),e}}},t.insertData=e=>{t.insertFragmentData(e)||t.insertTextData(e)},t.insertFragmentData=e=>{var n=e.getData(\"application/x-slate-fragment\")||Er(e);if(n){var r=decodeURIComponent(window.atob(n)),u=JSON.parse(r);return t.insertFragment(u),!0}return!1},t.insertTextData=e=>{var n=e.getData(\"text/plain\");if(n){var r=n.split(/\\r\\n|\\r|\\n/),u=!1;for(var o of r)u&&Vt.splitNodes(t,{always:!0}),t.insertText(o),u=!0;return!0}return!1},t.onChange=()=>{a.a.unstable_batchedUpdates(()=>{var e=Rn.get(t);e&&e(),r()})},t},uu=ln?e=>{var{autoFocus:t,decorate:n=kr,onDOMBeforeInput:o,placeholder:a,readOnly:i=!1,renderElement:l,renderLeaf:s,renderPlaceholder:c=(e=>u.a.createElement(xr,Object.assign({},e))),style:f={},as:d=\"div\"}=e,p=un(e,Qr),h=dr(),[v,m]=Object(r.useState)(!1),g=Object(r.useRef)(null),D=Kr(g);Pn.set(h,i);var y=Object(r.useMemo)(()=>({isComposing:!1,isUpdatingSelection:!1,latestElement:null}),[]),b=Kn(h);bn(()=>{var e;g.current&&(e=pr(g.current))?(Fn.set(h,e),xn.set(h,g.current),On.set(h,g.current),kn.set(g.current,h)):On.delete(h);try{var{selection:t}=h,n=Wr.findDocumentOrShadowRoot(h).getSelection();if(y.isComposing||!n||!Wr.isFocused(h))return;var r=\"None\"!==n.type;if(!t&&!r)return;var u=xn.get(h),o=!1;if(u.contains(n.anchorNode)&&u.contains(n.focusNode)&&(o=!0),r&&o&&t){var a=Wr.toSlateRange(h,n,{exactMatch:!0,suppressThrow:!0});if(a&&Dt.equals(a,t))return}if(t&&!Wr.hasRange(h,t))return void(h.selection=Wr.toSlateRange(h,n,{exactMatch:!1,suppressThrow:!1}));var i=Wr.toDOMNode(h,h);y.isUpdatingSelection=!0;var l=t&&Wr.toDOMRange(h,t);if(l){Dt.isBackward(t)?n.setBaseAndExtent(l.endContainer,l.endOffset,l.startContainer,l.startOffset):n.setBaseAndExtent(l.startContainer,l.startOffset,l.endContainer,l.endOffset);var s=l.startContainer.parentElement;s.getBoundingClientRect=l.getBoundingClientRect.bind(l),tn(s,{scrollMode:\"if-needed\",boundary:i}),delete s.getBoundingClientRect}else n.removeAllRanges();setTimeout(()=>{y.isUpdatingSelection=!1})}catch(e){y.isUpdatingSelection=!1}}),Object(r.useEffect)(()=>{g.current&&t&&g.current.focus()},[t]);var C=Object(r.useCallback)(Qt()(()=>{try{if(!y.isComposing&&!y.isUpdatingSelection&&!D.isReconciling.current){var e=Wr.findDocumentOrShadowRoot(h),{activeElement:t}=e,n=Wr.toDOMNode(h,h),r=e.getSelection();if(t===n?(y.latestElement=t,jn.set(h,!0)):jn.delete(h),!r)return Vt.deselect(h);var{anchorNode:u,focusNode:o}=r,a=Tr(h,u)||Pr(h,u),i=Tr(h,o)||Pr(h,o);if(a&&i){var l=Wr.toSlateRange(h,r,{exactMatch:!1,suppressThrow:!1});Vt.select(h,l)}else Vt.deselect(h)}}catch(e){}},100),[i]),E=Object(r.useMemo)(()=>$t()(C,0),[C]),w=Object(r.useCallback)(e=>{i||!Tr(h,e.target)||Nr(e,o)||(E.flush(),D.onUserInput())},[i,o]);bn(()=>{var e=g.current;return null==e||e.addEventListener(\"beforeinput\",w),()=>null==e?void 0:e.removeEventListener(\"beforeinput\",w)},[b,o]),bn(()=>{var e=Wr.getWindow(h);return e.document.addEventListener(\"selectionchange\",E),()=>{e.document.removeEventListener(\"selectionchange\",E)}},[E]);var B=n([h,[]]);if(a&&1===h.children.length&&1===Array.from(at.texts(h)).length&&\"\"===at.string(h)&&!v){var A=tt.start(h,[]);B.push({[In]:!0,placeholder:a,anchor:A,focus:A})}return u.a.createElement(sr.Provider,{value:i},u.a.createElement(tr.Provider,{value:n},u.a.createElement(d,Object.assign({key:b,role:i?void 0:\"textbox\"},p,{spellCheck:p.spellCheck,autoCorrect:p.autoCorrect,autoCapitalize:p.autoCapitalize,\"data-slate-editor\":!0,\"data-slate-node\":\"value\",contentEditable:!i||void 0,suppressContentEditableWarning:!0,ref:g,style:Jr({position:\"relative\",outline:\"none\",whiteSpace:\"pre-wrap\",wordWrap:\"break-word\"},f),onCopy:Object(r.useCallback)(e=>{Tr(h,e.target)&&!jr(e,p.onCopy)&&(e.preventDefault(),Wr.setFragmentData(h,e.clipboardData,\"copy\"))},[p.onCopy]),onCut:Object(r.useCallback)(e=>{if(!i&&Tr(h,e.target)&&!jr(e,p.onCut)){e.preventDefault(),Wr.setFragmentData(h,e.clipboardData,\"cut\");var{selection:t}=h;if(t)if(Dt.isExpanded(t))tt.deleteFragment(h);else{var n=at.parent(h,t.anchor.path);tt.isVoid(h,n)&&Vt.delete(h)}}},[i,p.onCut]),onFocus:Object(r.useCallback)(e=>{if(!i&&!y.isUpdatingSelection&&Tr(h,e.target)&&!jr(e,p.onFocus)){var t=Wr.findDocumentOrShadowRoot(h);y.latestElement=t.activeElement,jn.set(h,!0)}},[i,p.onFocus]),onBlur:Object(r.useCallback)(e=>{if(!i&&!y.isUpdatingSelection&&Tr(h,e.target)&&!jr(e,p.onBlur)){var t=Wr.findDocumentOrShadowRoot(h);if(y.latestElement!==t.activeElement){var{relatedTarget:n}=e;if(!(n===Wr.toDOMNode(h,h)||hr(n)&&n.hasAttribute(\"data-slate-spacer\"))){if(null!=n&&vr(n)&&Wr.hasDOMNode(h,n)){var r=Wr.toSlateNode(h,n);if(Xe.isElement(r)&&!h.isVoid(r))return}jn.delete(h)}}}},[i,p.onBlur]),onClick:Object(r.useCallback)(e=>{if(!i&&Sr(h,e.target)&&!jr(e,p.onClick)&&vr(e.target)){var t=Wr.toSlateNode(h,e.target),n=Wr.findPath(h,t);if(tt.hasPath(h,n))if(at.get(h,n)===t){var r=tt.start(h,n),u=tt.end(h,n),o=tt.void(h,{at:r}),a=tt.void(h,{at:u});if(o&&a&&ct.equals(o[1],a[1])){var l=tt.range(h,r);Vt.select(h,l)}}}},[i,p.onClick]),onCompositionEnd:Object(r.useCallback)(e=>{Tr(h,e.target)&&!jr(e,p.onCompositionEnd)&&(E.flush(),setTimeout(()=>{y.isComposing&&m(!1),y.isComposing=!1,Nn.set(h,!1),_n.set(h,!0);var e=Mn.get(h)||[];if(e.length){Mn.set(h,[]);var{selection:t}=h;e.forEach(e=>{var n=e.text.insertText,r=zr(h,t,e);Vt.setSelection(h,r),tt.insertText(h,n)})}},20))},[p.onCompositionEnd]),onCompositionUpdate:Object(r.useCallback)(e=>{Tr(h,e.target)&&!jr(e,p.onCompositionUpdate)&&(!y.isComposing&&m(!0),y.isComposing=!0,Nn.set(h,!0))},[p.onCompositionUpdate]),onCompositionStart:Object(r.useCallback)(e=>{Tr(h,e.target)&&!jr(e,p.onCompositionStart)&&(!y.isComposing&&m(!0),y.isComposing=!0,Nn.set(h,!0))},[p.onCompositionStart]),onPaste:Object(r.useCallback)(e=>{e.clipboardData=(e=>{if(!e.getData(\"application/x-slate-fragment\")){var t=Er(e);if(t){var n=new DataTransfer;return e.types.forEach(t=>{n.setData(t,e.getData(t))}),n.setData(\"application/x-slate-fragment\",t),n}}return e})(e.clipboardData),!Tr(h,e.target)||jr(e,p.onPaste)||i||(e.preventDefault(),Wr.insertData(h,e.clipboardData))},[i,p.onPaste])}),rr({decorations:B,node:h,renderElement:l,renderPlaceholder:c,renderLeaf:s,selection:h.selection}))))}:e=>{var{autoFocus:t,decorate:n=kr,onDOMBeforeInput:o,placeholder:a,readOnly:i=!1,renderElement:l,renderLeaf:s,renderPlaceholder:c=(e=>u.a.createElement(xr,Object.assign({},e))),scrollSelectionIntoView:f=Or,style:d={},as:p=\"div\"}=e,h=un(e,wr),v=dr(),[m,g]=Object(r.useState)(!1),D=Object(r.useRef)(null),y=Object(r.useRef)([]);Pn.set(v,i);var b=Object(r.useMemo)(()=>({isComposing:!1,hasInsertPrefixInCompositon:!1,isDraggingInternally:!1,isUpdatingSelection:!1,latestElement:null}),[]);bn(()=>{var e;D.current&&(e=pr(D.current))?(Fn.set(v,e),xn.set(v,D.current),On.set(v,D.current),kn.set(D.current,v)):On.delete(v);var{selection:t}=v,n=Wr.findDocumentOrShadowRoot(v).getSelection();if(!b.isComposing&&n&&Wr.isFocused(v)){var r=\"None\"!==n.type;if(t||r){var u=xn.get(v),o=!1;if(u.contains(n.anchorNode)&&u.contains(n.focusNode)&&(o=!0),r&&o&&t){var a=Wr.toSlateRange(v,n,{exactMatch:!0,suppressThrow:!0});if(a&&Dt.equals(a,t))return}if(!t||Wr.hasRange(v,t)){b.isUpdatingSelection=!0;var i=t&&Wr.toDOMRange(v,t);i?(Dt.isBackward(t)?n.setBaseAndExtent(i.endContainer,i.endOffset,i.startContainer,i.startOffset):n.setBaseAndExtent(i.startContainer,i.startOffset,i.endContainer,i.endOffset),f(v,i)):n.removeAllRanges(),setTimeout(()=>{i&&sn&&Wr.toDOMNode(v,v).focus();b.isUpdatingSelection=!1})}else v.selection=Wr.toSlateRange(v,n,{exactMatch:!1,suppressThrow:!1})}}}),Object(r.useEffect)(()=>{D.current&&t&&D.current.focus()},[t]);var C=Object(r.useCallback)(Qt()(()=>{if(!b.isComposing&&!b.isUpdatingSelection&&!b.isDraggingInternally){var e=Wr.findDocumentOrShadowRoot(v),{activeElement:t}=e,n=Wr.toDOMNode(v,v),r=e.getSelection();if(t===n?(b.latestElement=t,jn.set(v,!0)):jn.delete(v),!r)return Vt.deselect(v);var{anchorNode:u,focusNode:o}=r,a=Tr(v,u)||Pr(v,u),i=Tr(v,o)||Pr(v,o);if(a&&i){var l=Wr.toSlateRange(v,r,{exactMatch:!1,suppressThrow:!1});Vt.select(v,l)}}},100),[i]),E=Object(r.useMemo)(()=>$t()(C,0),[C]),w=Object(r.useCallback)(e=>{if(!i&&Tr(v,e.target)&&!Nr(e,o)){E.flush(),C.flush();var{selection:t}=v,{inputType:n}=e,r=e.dataTransfer||e.data||void 0;if(\"insertCompositionText\"===n||\"deleteCompositionText\"===n)return;var u=!1;if(\"insertText\"===n&&t&&Dt.isCollapsed(t)&&e.data&&1===e.data.length&&/[a-z ]/i.test(e.data)&&0!==t.anchor.offset){u=!0,v.marks&&(u=!1);var{anchor:a}=t,l=tt.above(v,{at:a,match:e=>tt.isInline(v,e),mode:\"highest\"});if(l){var[,s]=l;tt.isEnd(v,t.anchor,s)&&(u=!1)}}if(u||e.preventDefault(),!n.startsWith(\"delete\")||n.startsWith(\"deleteBy\")){var[c]=e.getTargetRanges();if(c){var f=Wr.toSlateRange(v,c,{exactMatch:!1,suppressThrow:!1});t&&Dt.equals(t,f)||Vt.select(v,f)}}if(t&&Dt.isExpanded(t)&&n.startsWith(\"delete\")){var d=n.endsWith(\"Backward\")?\"backward\":\"forward\";return void tt.deleteFragment(v,{direction:d})}switch(n){case\"deleteByComposition\":case\"deleteByCut\":case\"deleteByDrag\":tt.deleteFragment(v);break;case\"deleteContent\":case\"deleteContentForward\":tt.deleteForward(v);break;case\"deleteContentBackward\":tt.deleteBackward(v);break;case\"deleteEntireSoftLine\":tt.deleteBackward(v,{unit:\"line\"}),tt.deleteForward(v,{unit:\"line\"});break;case\"deleteHardLineBackward\":tt.deleteBackward(v,{unit:\"block\"});break;case\"deleteSoftLineBackward\":tt.deleteBackward(v,{unit:\"line\"});break;case\"deleteHardLineForward\":tt.deleteForward(v,{unit:\"block\"});break;case\"deleteSoftLineForward\":tt.deleteForward(v,{unit:\"line\"});break;case\"deleteWordBackward\":tt.deleteBackward(v,{unit:\"word\"});break;case\"deleteWordForward\":tt.deleteForward(v,{unit:\"word\"});break;case\"insertLineBreak\":case\"insertParagraph\":tt.insertBreak(v);break;case\"insertFromComposition\":case\"insertFromDrop\":case\"insertFromPaste\":case\"insertFromYank\":case\"insertReplacementText\":case\"insertText\":var{selection:p}=v;p&&Dt.isExpanded(p)&&tt.deleteFragment(v),\"insertFromComposition\"===n&&(b.isComposing&&g(!1),b.isComposing=!1),\"DataTransfer\"===(null==r?void 0:r.constructor.name)?Wr.insertData(v,r):\"string\"==typeof r&&(u?y.current.push(()=>tt.insertText(v,r)):tt.insertText(v,r))}}},[i,o]);bn(()=>(D.current&&yn&&D.current.addEventListener(\"beforeinput\",w),()=>{D.current&&yn&&D.current.removeEventListener(\"beforeinput\",w)}),[w]),bn(()=>{var e=Wr.getWindow(v);return e.document.addEventListener(\"selectionchange\",E),()=>{e.document.removeEventListener(\"selectionchange\",E)}},[E]);var B=[...at.nodes(v)].flatMap(e=>{var[t,r]=e;return n([t,r])});if(a&&1===v.children.length&&1===Array.from(at.texts(v)).length&&\"\"===at.string(v)&&!m){var A=tt.start(v,[]);B.push({[In]:!0,placeholder:a,anchor:A,focus:A})}return u.a.createElement(sr.Provider,{value:i},u.a.createElement(tr.Provider,{value:n},u.a.createElement(p,Object.assign({role:i?void 0:\"textbox\"},h,{spellCheck:!(!yn&&Dn)&&h.spellCheck,autoCorrect:yn||!Dn?h.autoCorrect:\"false\",autoCapitalize:yn||!Dn?h.autoCapitalize:\"false\",\"data-slate-editor\":!0,\"data-slate-node\":\"value\",contentEditable:!i,zindex:-1,suppressContentEditableWarning:!0,ref:D,style:Ar({position:\"relative\",outline:\"none\",whiteSpace:\"pre-wrap\",wordWrap:\"break-word\"},d),onBeforeInput:Object(r.useCallback)(e=>{if(!yn&&!i&&!jr(e,h.onBeforeInput)&&Tr(v,e.target)&&(e.preventDefault(),!b.isComposing)){var t=e.data;tt.insertText(v,t)}},[i]),onInput:Object(r.useCallback)(e=>{for(var t of y.current)t();y.current=[]},[]),onBlur:Object(r.useCallback)(e=>{if(!i&&!b.isUpdatingSelection&&Tr(v,e.target)&&!jr(e,h.onBlur)){var t=Wr.findDocumentOrShadowRoot(v);if(b.latestElement!==t.activeElement){var{relatedTarget:n}=e;if(!(n===Wr.toDOMNode(v,v)||hr(n)&&n.hasAttribute(\"data-slate-spacer\"))){if(null!=n&&vr(n)&&Wr.hasDOMNode(v,n)){var r=Wr.toSlateNode(v,n);if(Xe.isElement(r)&&!v.isVoid(r))return}if(cn){var u=t.getSelection();null==u||u.removeAllRanges()}jn.delete(v)}}}},[i,h.onBlur]),onClick:Object(r.useCallback)(e=>{if(!i&&Sr(v,e.target)&&!jr(e,h.onClick)&&vr(e.target)){var t=Wr.toSlateNode(v,e.target),n=Wr.findPath(v,t);if(tt.hasPath(v,n))if(at.get(v,n)===t){var r=tt.start(v,n),u=tt.end(v,n),o=tt.void(v,{at:r}),a=tt.void(v,{at:u});if(o&&a&&ct.equals(o[1],a[1])){var l=tt.range(v,r);Vt.select(v,l)}}}},[i,h.onClick]),onCompositionEnd:Object(r.useCallback)(e=>{if(Tr(v,e.target)&&!jr(e,h.onCompositionEnd)&&(b.isComposing&&g(!1),b.isComposing=!1,cn||hn||on||vn||gn||mn||!e.data||tt.insertText(v,e.data),v.selection&&Dt.isCollapsed(v.selection))){var t=v.selection.anchor.path,n=at.leaf(v,t);b.hasInsertPrefixInCompositon&&(b.hasInsertPrefixInCompositon=!1,tt.withoutNormalizing(v,()=>{var e=n.text.replace(/^\\uFEFF/,\"\");Vt.delete(v,{distance:n.text.length,reverse:!0}),tt.insertText(v,e)}))}},[h.onCompositionEnd]),onCompositionUpdate:Object(r.useCallback)(e=>{Tr(v,e.target)&&!jr(e,h.onCompositionUpdate)&&(!b.isComposing&&g(!0),b.isComposing=!0)},[h.onCompositionUpdate]),onCompositionStart:Object(r.useCallback)(e=>{if(Tr(v,e.target)&&!jr(e,h.onCompositionStart)){var{selection:t,marks:n}=v;if(t){if(Dt.isExpanded(t))return void tt.deleteFragment(v);var r=tt.above(v,{match:e=>tt.isInline(v,e),mode:\"highest\"});if(r){var[,u]=r;if(tt.isEnd(v,t.anchor,u)){var o=tt.after(v,u);Vt.setSelection(v,{anchor:o,focus:o})}}n&&(b.hasInsertPrefixInCompositon=!0,Vt.insertNodes(v,Ar({text:\"\\ufeff\"},n),{select:!0}))}}},[h.onCompositionStart]),onCopy:Object(r.useCallback)(e=>{Tr(v,e.target)&&!jr(e,h.onCopy)&&(e.preventDefault(),Wr.setFragmentData(v,e.clipboardData,\"copy\"))},[h.onCopy]),onCut:Object(r.useCallback)(e=>{if(!i&&Tr(v,e.target)&&!jr(e,h.onCut)){e.preventDefault(),Wr.setFragmentData(v,e.clipboardData,\"cut\");var{selection:t}=v;if(t)if(Dt.isExpanded(t))tt.deleteFragment(v);else{var n=at.parent(v,t.anchor.path);tt.isVoid(v,n)&&Vt.delete(v)}}},[i,h.onCut]),onDragOver:Object(r.useCallback)(e=>{if(Sr(v,e.target)&&!jr(e,h.onDragOver)){var t=Wr.toSlateNode(v,e.target);tt.isVoid(v,t)&&e.preventDefault()}},[h.onDragOver]),onDragStart:Object(r.useCallback)(e=>{if(!i&&Sr(v,e.target)&&!jr(e,h.onDragStart)){var t=Wr.toSlateNode(v,e.target),n=Wr.findPath(v,t);if(tt.isVoid(v,t)||tt.void(v,{at:n,voids:!0})){var r=tt.range(v,n);Vt.select(v,r)}b.isDraggingInternally=!0,Wr.setFragmentData(v,e.dataTransfer,\"drag\")}},[i,h.onDragStart]),onDrop:Object(r.useCallback)(e=>{if(!i&&Sr(v,e.target)&&!jr(e,h.onDrop)){e.preventDefault();var t=v.selection,n=Wr.findEventRange(v,e),r=e.dataTransfer;Vt.select(v,n),b.isDraggingInternally&&(!t||Dt.equals(t,n)||tt.void(v,{at:n,voids:!0})||Vt.delete(v,{at:t})),Wr.insertData(v,r),Wr.isFocused(v)||Wr.focus(v)}b.isDraggingInternally=!1},[i,h.onDrop]),onDragEnd:Object(r.useCallback)(e=>{!i&&b.isDraggingInternally&&h.onDragEnd&&Sr(v,e.target)&&h.onDragEnd(e),b.isDraggingInternally=!1},[i,h.onDragEnd]),onFocus:Object(r.useCallback)(e=>{if(!i&&!b.isUpdatingSelection&&Tr(v,e.target)&&!jr(e,h.onFocus)){var t=Wr.toDOMNode(v,v),n=Wr.findDocumentOrShadowRoot(v);if(b.latestElement=n.activeElement,sn&&e.target!==t)return void t.focus();jn.set(v,!0)}},[i,h.onFocus]),onKeyDown:Object(r.useCallback)(e=>{if(!i&&!b.isComposing&&Tr(v,e.target)&&!jr(e,h.onKeyDown)){var{nativeEvent:t}=e,{selection:n}=v,r=v.children[null!==n?n.focus.path[0]:0],u=\"rtl\"===Ht()(at.string(r));if(lr.isRedo(t)){e.preventDefault();var o=v;return void(\"function\"==typeof o.redo&&o.redo())}if(lr.isUndo(t)){e.preventDefault();var a=v;return void(\"function\"==typeof a.undo&&a.undo())}if(lr.isMoveLineBackward(t))return e.preventDefault(),void Vt.move(v,{unit:\"line\",reverse:!0});if(lr.isMoveLineForward(t))return e.preventDefault(),void Vt.move(v,{unit:\"line\"});if(lr.isExtendLineBackward(t))return e.preventDefault(),void Vt.move(v,{unit:\"line\",edge:\"focus\",reverse:!0});if(lr.isExtendLineForward(t))return e.preventDefault(),void Vt.move(v,{unit:\"line\",edge:\"focus\"});if(lr.isMoveBackward(t))return e.preventDefault(),void(n&&Dt.isCollapsed(n)?Vt.move(v,{reverse:!u}):Vt.collapse(v,{edge:\"start\"}));if(lr.isMoveForward(t))return e.preventDefault(),void(n&&Dt.isCollapsed(n)?Vt.move(v,{reverse:u}):Vt.collapse(v,{edge:\"end\"}));if(lr.isMoveWordBackward(t))return e.preventDefault(),n&&Dt.isExpanded(n)&&Vt.collapse(v,{edge:\"focus\"}),void Vt.move(v,{unit:\"word\",reverse:!u});if(lr.isMoveWordForward(t))return e.preventDefault(),n&&Dt.isExpanded(n)&&Vt.collapse(v,{edge:\"focus\"}),void Vt.move(v,{unit:\"word\",reverse:u});if(yn){if((dn||cn)&&n&&(lr.isDeleteBackward(t)||lr.isDeleteForward(t))&&Dt.isCollapsed(n)){var l=at.parent(v,n.anchor.path);if(Xe.isElement(l)&&tt.isVoid(v,l)&&tt.isInline(v,l))return e.preventDefault(),void tt.deleteBackward(v,{unit:\"block\"})}}else{if(lr.isBold(t)||lr.isItalic(t)||lr.isTransposeCharacter(t))return void e.preventDefault();if(lr.isSplitBlock(t))return e.preventDefault(),void tt.insertBreak(v);if(lr.isDeleteBackward(t))return e.preventDefault(),void(n&&Dt.isExpanded(n)?tt.deleteFragment(v,{direction:\"backward\"}):tt.deleteBackward(v));if(lr.isDeleteForward(t))return e.preventDefault(),void(n&&Dt.isExpanded(n)?tt.deleteFragment(v,{direction:\"forward\"}):tt.deleteForward(v));if(lr.isDeleteLineBackward(t))return e.preventDefault(),void(n&&Dt.isExpanded(n)?tt.deleteFragment(v,{direction:\"backward\"}):tt.deleteBackward(v,{unit:\"line\"}));if(lr.isDeleteLineForward(t))return e.preventDefault(),void(n&&Dt.isExpanded(n)?tt.deleteFragment(v,{direction:\"forward\"}):tt.deleteForward(v,{unit:\"line\"}));if(lr.isDeleteWordBackward(t))return e.preventDefault(),void(n&&Dt.isExpanded(n)?tt.deleteFragment(v,{direction:\"backward\"}):tt.deleteBackward(v,{unit:\"word\"}));if(lr.isDeleteWordForward(t))return e.preventDefault(),void(n&&Dt.isExpanded(n)?tt.deleteFragment(v,{direction:\"forward\"}):tt.deleteForward(v,{unit:\"word\"}))}}},[i,h.onKeyDown]),onPaste:Object(r.useCallback)(e=>{i||!Tr(v,e.target)||jr(e,h.onPaste)||yn&&!(e=>e.clipboardData&&\"\"!==e.clipboardData.getData(\"text/plain\")&&1===e.clipboardData.types.length)(e.nativeEvent)||(e.preventDefault(),Wr.insertData(v,e.clipboardData))},[i,h.onPaste])}),u.a.createElement(Fr,{decorations:B,node:v,renderElement:l,renderPlaceholder:c,renderLeaf:s,selection:v.selection}))))},ou=n(1),au=n.n(ou),iu=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduceRight((function(e,t){return t?t(e):e}),e)}},lu=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduce((function(e,t){return t?t(e):e}),e)}},su=function(e){return function(t){return t.map(e)}},cu=function(e){return function(t){return t[e]}};function fu(e){return function(e){if(Array.isArray(e))return du(e)}(e)||function(e){if(\"undefined\"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if(\"string\"==typeof e)return du(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);\"Object\"===n&&e.constructor&&(n=e.constructor.name);if(\"Map\"===n||\"Set\"===n)return Array.from(e);if(\"Arguments\"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return du(e,t)}(e)||function(){throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}()}function du(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var pu=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return function(t){return t.apply(void 0,fu(e))}};function hu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function vu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hu(Object(n),!0).forEach((function(t){mu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function mu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var gu=function(e){return vu(vu({},{name:\"\",renderLeaf:function(e){return function(t){return e(t)}},renderElement:function(e){return function(t){return e(t)}},ToolbarButton:function(){return null},renderCustom:function(){return null},handleMessage:function(){return function(){}},enhanceEditor:function(e){return e}}),e)},Du=function(e){return function(t){return t.id=e,t}},yu=\"bulleted-list\",bu=\"numbered-list\",Cu=\"link\",Eu=[{type:\"paragraph\",children:[{text:\"\"}]}],wu=function(e){return(null==e?void 0:e.type)!==Cu?null:e.data.url},Bu=function(e){var t,n,r,u,o;return 1===(null==e?void 0:e.length)&&\"paragraph\"===(null===(t=e[0])||void 0===t?void 0:t.type)&&1===(null===(n=e[0])||void 0===n||null===(r=n.children)||void 0===r?void 0:r.length)&&\"\"===(null===(u=e[0])||void 0===u||null===(o=u.children[0])||void 0===o?void 0:o.text)};function Au(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(\"undefined\"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,u=!1,o=void 0;try{for(var a,i=e[Symbol.iterator]();!(r=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){u=!0,o=e}finally{try{r||null==i.return||i.return()}finally{if(u)throw o}}return n}(e,t)||function(e,t){if(!e)return;if(\"string\"==typeof e)return Fu(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);\"Object\"===n&&e.constructor&&(n=e.constructor.name);if(\"Map\"===n||\"Set\"===n)return Array.from(e);if(\"Arguments\"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Fu(e,t)}(e,t)||function(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}()}function Fu(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var xu=function(){var e=Object(r.useRef)(0),t=Au(Object(r.useState)(0),2),n=t[0],u=t[1],o=e.current!==n;return e.current=n,{isForceUpdated:o,forceUpdate:function(){return u(n+1)}}};function ku(e){return function(e){if(Array.isArray(e))return Ou(e)}(e)||function(e){if(\"undefined\"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if(\"string\"==typeof e)return Ou(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);\"Object\"===n&&e.constructor&&(n=e.constructor.name);if(\"Map\"===n||\"Set\"===n)return Array.from(e);if(\"Arguments\"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ou(e,t)}(e)||function(){throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}()}function Ou(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Su(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Tu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Su(Object(n),!0).forEach((function(t){Pu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Su(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Pu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ju=function(e,t){var n=tt.marks(e);return!!n&&!0===n[t]},Nu=function(e,t){ju(e,t)?tt.removeMark(e,t):tt.addMark(e,t,!0)},_u=function(e){var t=e.attributes,n=e.children;return u.a.createElement(\"span\",t,n)},Mu=function(e,t){return function(n){return function(r){if(r.leaf[e]){var o=u.a.createElement(t,r);return n(Tu(Tu({},r),{},{children:o}))}return n(r)}}};function Ru(e){return function(e){if(Array.isArray(e))return Wu(e)}(e)||function(e){if(\"undefined\"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Lu(e)||function(){throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}()}function zu(){return(zu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Iu(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(\"undefined\"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,u=!1,o=void 0;try{for(var a,i=e[Symbol.iterator]();!(r=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){u=!0,o=e}finally{try{r||null==i.return||i.return()}finally{if(u)throw o}}return n}(e,t)||Lu(e,t)||function(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}()}function Lu(e,t){if(e){if(\"string\"==typeof e)return Wu(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return\"Object\"===n&&e.constructor&&(n=e.constructor.name),\"Map\"===n||\"Set\"===n?Array.from(e):\"Arguments\"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Wu(e,t):void 0}}function Wu(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Vu=function(e,t){return!!Iu(tt.nodes(e,{match:function(e){return e.type===t}}),1)[0]},Uu=function(e){return[yu,bu].includes(e.type)},Hu=function(e){return e.type===Cu},qu=u.a.forwardRef((function(e,t){return u.a.createElement(\"p\",zu({ref:t,style:{margin:0,lineHeight:1.5}},e))})),$u=function(e){var t=e.attributes,n=e.children;return u.a.createElement(qu,t,n)},Ku=function(e,t){return function(n){return function(r){return r.element.type===e?u.a.createElement(t,r):n(r)}}},Qu=function(e,t){return function(n){var r=function(r){r.data.type===\"\".concat(\"@hero-editor\",\"/\").concat(n.id,\"/\").concat(e)&&t({editor:n,data:r.data.data})};return window.addEventListener(\"message\",r),function(){return window.removeEventListener(\"message\",r)}}},Xu=function(e,t,n){var r,u={type:\"\".concat(\"@hero-editor\",\"/\").concat(n.id,\"/\").concat(e),data:t};window.postMessage(u,\"*\"),null===(r=window.ReactNativeWebView)||void 0===r||r.postMessage(JSON.stringify(u))};function Ju(){return(Ju=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Yu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Gu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yu(Object(n),!0).forEach((function(t){Zu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Zu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function eo(e,t){if(null==e)return{};var n,r,u=function(e,t){if(null==e)return{};var n,r,u={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(u[n]=e[n]);return u}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(u[n]=e[n])}return u}var to={toolbar:{display:\"flex\",flexDirection:\"row\"},button:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",height:30,minWidth:30,margin:5,padding:0,border:\"none\",background:\"transparent\",borderRadius:4,cursor:\"pointer\"},buttonActive:{background:\"#f5f5f5\"},separator:{margin:\"10px 5px\",borderRight:\"solid thin #eaeaea\"}},no=function(e){var t=e.children;return u.a.createElement(\"div\",{style:to.toolbar},t)};no.Button=function(e){var t=e.active,n=eo(e,[\"active\"]);return u.a.createElement(\"button\",Ju({},n,{style:Gu(Gu({},to.button),t?to.buttonActive:void 0),type:\"button\"}))},no.Separator=function(){return u.a.createElement(\"div\",{style:to.separator})};var ro,uo=no,oo=[],ao=\"ResizeObserver loop completed with undelivered notifications.\";!function(e){e.BORDER_BOX=\"border-box\",e.CONTENT_BOX=\"content-box\",e.DEVICE_PIXEL_CONTENT_BOX=\"device-pixel-content-box\"}(ro||(ro={}));var io,lo=function(e){return Object.freeze(e)},so=function(e,t){this.inlineSize=e,this.blockSize=t,lo(this)},co=function(){function e(e,t,n,r){return this.x=e,this.y=t,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,lo(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),fo=function(e){return e instanceof SVGElement&&\"getBBox\"in e},po=function(e){if(fo(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var u=e,o=u.offsetWidth,a=u.offsetHeight;return!(o||a||e.getClientRects().length)},ho=function(e){var t;if(e instanceof Element)return!0;var n=null===(t=null==e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},vo=\"undefined\"!=typeof window?window:{},mo=new WeakMap,go=/auto|scroll/,Do=/^tb|vertical/,yo=/msie|trident/i.test(vo.navigator&&vo.navigator.userAgent),bo=function(e){return parseFloat(e||\"0\")},Co=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),new so((n?t:e)||0,(n?e:t)||0)},Eo=lo({devicePixelContentBoxSize:Co(),borderBoxSize:Co(),contentBoxSize:Co(),contentRect:new co(0,0,0,0)}),wo=function(e,t){if(void 0===t&&(t=!1),mo.has(e)&&!t)return mo.get(e);if(po(e))return mo.set(e,Eo),Eo;var n=getComputedStyle(e),r=fo(e)&&e.ownerSVGElement&&e.getBBox(),u=!yo&&\"border-box\"===n.boxSizing,o=Do.test(n.writingMode||\"\"),a=!r&&go.test(n.overflowY||\"\"),i=!r&&go.test(n.overflowX||\"\"),l=r?0:bo(n.paddingTop),s=r?0:bo(n.paddingRight),c=r?0:bo(n.paddingBottom),f=r?0:bo(n.paddingLeft),d=r?0:bo(n.borderTopWidth),p=r?0:bo(n.borderRightWidth),h=r?0:bo(n.borderBottomWidth),v=f+s,m=l+c,g=(r?0:bo(n.borderLeftWidth))+p,D=d+h,y=i?e.offsetHeight-D-e.clientHeight:0,b=a?e.offsetWidth-g-e.clientWidth:0,C=u?v+g:0,E=u?m+D:0,w=r?r.width:bo(n.width)-C-b,B=r?r.height:bo(n.height)-E-y,A=w+v+b+g,F=B+m+y+D,x=lo({devicePixelContentBoxSize:Co(Math.round(w*devicePixelRatio),Math.round(B*devicePixelRatio),o),borderBoxSize:Co(A,F,o),contentBoxSize:Co(w,B,o),contentRect:new co(f,l,w,B)});return mo.set(e,x),x},Bo=function(e,t,n){var r=wo(e,n),u=r.borderBoxSize,o=r.contentBoxSize,a=r.devicePixelContentBoxSize;switch(t){case ro.DEVICE_PIXEL_CONTENT_BOX:return a;case ro.BORDER_BOX:return u;default:return o}},Ao=function(e){var t=wo(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=lo([t.borderBoxSize]),this.contentBoxSize=lo([t.contentBoxSize]),this.devicePixelContentBoxSize=lo([t.devicePixelContentBoxSize])},Fo=function(e){if(po(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},xo=function(){var e=1/0,t=[];oo.forEach((function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach((function(t){var n=new Ao(t.target),u=Fo(t.target);r.push(n),t.lastReportedSize=Bo(t.target,t.observedBox),u<e&&(e=u)})),t.push((function(){n.callback.call(n.observer,r,n.observer)})),n.activeTargets.splice(0,n.activeTargets.length)}}));for(var n=0,r=t;n<r.length;n++){(0,r[n])()}return e},ko=function(e){oo.forEach((function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach((function(n){n.isActive()&&(Fo(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))}))}))},Oo=function(){var e,t=0;for(ko(t);oo.some((function(e){return e.activeTargets.length>0}));)t=xo(),ko(t);return oo.some((function(e){return e.skippedTargets.length>0}))&&(\"function\"==typeof ErrorEvent?e=new ErrorEvent(\"error\",{message:ao}):((e=document.createEvent(\"Event\")).initEvent(\"error\",!1,!1),e.message=ao),window.dispatchEvent(e)),t>0},So=[],To=function(e){if(!io){var t=0,n=document.createTextNode(\"\");new MutationObserver((function(){return So.splice(0).forEach((function(e){return e()}))})).observe(n,{characterData:!0}),io=function(){n.textContent=\"\".concat(t?t--:t++)}}So.push(e),io()},Po=0,jo={attributes:!0,characterData:!0,childList:!0,subtree:!0},No=[\"resize\",\"load\",\"transitionend\",\"animationend\",\"animationstart\",\"animationiteration\",\"keyup\",\"keydown\",\"mouseup\",\"mousedown\",\"mouseover\",\"mouseout\",\"blur\",\"focus\"],_o=function(e){return void 0===e&&(e=0),Date.now()+e},Mo=!1,Ro=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!Mo){Mo=!0;var n,r=_o(e);n=function(){var n=!1;try{n=Oo()}finally{if(Mo=!1,e=r-_o(),!Po)return;n?t.run(1e3):e>0?t.run(e):t.start()}},To((function(){requestAnimationFrame(n)}))}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,jo)};document.body?t():vo.addEventListener(\"DOMContentLoaded\",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),No.forEach((function(t){return vo.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),No.forEach((function(t){return vo.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}()),zo=function(e){!Po&&e>0&&Ro.start(),!(Po+=e)&&Ro.stop()},Io=function(){function e(e,t){this.target=e,this.observedBox=t||ro.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=Bo(this.target,this.observedBox,!0);return e=this.target,fo(e)||function(e){switch(e.tagName){case\"INPUT\":if(\"image\"!==e.type)break;case\"VIDEO\":case\"AUDIO\":case\"EMBED\":case\"OBJECT\":case\"CANVAS\":case\"IFRAME\":case\"IMG\":return!0}return!1}(e)||\"inline\"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),Lo=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},Wo=new WeakMap,Vo=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},Uo=function(){function e(){}return e.connect=function(e,t){var n=new Lo(e,t);Wo.set(e,n)},e.observe=function(e,t,n){var r=Wo.get(e),u=0===r.observationTargets.length;Vo(r.observationTargets,t)<0&&(u&&oo.push(r),r.observationTargets.push(new Io(t,n&&n.box)),zo(1),Ro.schedule())},e.unobserve=function(e,t){var n=Wo.get(e),r=Vo(n.observationTargets,t),u=1===n.observationTargets.length;r>=0&&(u&&oo.splice(oo.indexOf(n),1),n.observationTargets.splice(r,1),zo(-1))},e.disconnect=function(e){var t=this,n=Wo.get(e);n.observationTargets.slice().forEach((function(n){return t.unobserve(e,n.target)})),n.activeTargets.splice(0,n.activeTargets.length)},e}(),Ho=function(){function e(e){if(0===arguments.length)throw new TypeError(\"Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.\");if(\"function\"!=typeof e)throw new TypeError(\"Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.\");Uo.connect(this,e)}return e.prototype.observe=function(e,t){if(0===arguments.length)throw new TypeError(\"Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.\");if(!ho(e))throw new TypeError(\"Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element\");Uo.observe(this,e,t)},e.prototype.unobserve=function(e){if(0===arguments.length)throw new TypeError(\"Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.\");if(!ho(e))throw new TypeError(\"Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element\");Uo.unobserve(this,e)},e.prototype.disconnect=function(){Uo.disconnect(this)},e.toString=function(){return\"function ResizeObserver () { [polyfill code] }\"},e}(),qo={format_bold:'<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24\" viewBox=\"0 0 24 24\" width=\"24\"><path d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M15.6 10.79c.97-.67 1.65-1.77 1.65-2.79 0-2.26-1.75-4-4-4H7v14h7.04c2.09 0 3.71-1.7 3.71-3.79 0-1.52-.86-2.82-2.15-3.42zM10 6.5h3c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5h-3v-3zm3.5 9H10v-3h3.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5z\"/></svg>',format_italic:'<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24\" viewBox=\"0 0 24 24\" width=\"24\"><path d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M10 4v3h2.21l-3.42 8H6v3h8v-3h-2.21l3.42-8H18V4z\"/></svg>',format_underlined:'<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24\" viewBox=\"0 0 24 24\" width=\"24\"><path d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M12 17c3.31 0 6-2.69 6-6V3h-2.5v8c0 1.93-1.57 3.5-3.5 3.5S8.5 12.93 8.5 11V3H6v8c0 3.31 2.69 6 6 6zm-7 2v2h14v-2H5z\"/></svg>',format_list_bulleted:'<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24\" viewBox=\"0 0 24 24\" width=\"24\"><path d=\"M0 0h24v24H0V0z\" fill=\"none\"/><path d=\"M4 10.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zm0-6c-.83 0-1.5.67-1.5 1.5S3.17 7.5 4 7.5 5.5 6.83 5.5 6 4.83 4.5 4 4.5zm0 12c-.83 0-1.5.68-1.5 1.5s.68 1.5 1.5 1.5 1.5-.68 1.5-1.5-.67-1.5-1.5-1.5zM7 19h14v-2H7v2zm0-6h14v-2H7v2zm0-8v2h14V5H7z\"/></svg>',format_list_numbered:'<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24\" viewBox=\"0 0 24 24\" width=\"24\"><path d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M2 17h2v.5H3v1h1v.5H2v1h3v-4H2v1zm1-9h1V4H2v1h1v3zm-1 3h1.8L2 13.1v.9h3v-1H3.2L5 10.9V10H2v1zm5-6v2h14V5H7zm0 14h14v-2H7v2zm0-6h14v-2H7v2z\"/></svg>',looks_one:'<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24\" viewBox=\"0 0 24 24\" width=\"24\"><path d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-5 14h-2V9h-2V7h4v10z\"/></svg>',looks_two:'<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24\" viewBox=\"0 0 24 24\" width=\"24\"><path d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-4 8c0 1.11-.9 2-2 2h-2v2h4v2H9v-4c0-1.11.9-2 2-2h2V9H9V7h4c1.1 0 2 .89 2 2v2z\"/></svg>',link:'<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24\" viewBox=\"0 0 24 24\" width=\"24\"><path d=\"M13.723 18.654l-3.61 3.609c-2.316 2.315-6.063 2.315-8.378 0-1.12-1.118-1.735-2.606-1.735-4.188 0-1.582.615-3.07 1.734-4.189l4.866-4.865c2.355-2.355 6.114-2.262 8.377 0 .453.453.81.973 1.089 1.527l-1.593 1.592c-.18-.613-.5-1.189-.964-1.652-1.448-1.448-3.93-1.51-5.439-.001l-.001.002-4.867 4.865c-1.5 1.499-1.5 3.941 0 5.44 1.517 1.517 3.958 1.488 5.442 0l2.425-2.424c.993.284 1.791.335 2.654.284zm.161-16.918l-3.574 3.576c.847-.05 1.655 0 2.653.283l2.393-2.389c1.498-1.502 3.94-1.5 5.44-.001 1.517 1.518 1.486 3.959 0 5.442l-4.831 4.831-.003.002c-1.438 1.437-3.886 1.552-5.439-.002-.473-.474-.785-1.042-.956-1.643l-.084.068-1.517 1.515c.28.556.635 1.075 1.088 1.528 2.245 2.245 6.004 2.374 8.378 0l4.832-4.831c2.314-2.316 2.316-6.062-.001-8.377-2.317-2.321-6.067-2.313-8.379-.002z\"/></svg>'},$o={icon:{opacity:.7}},Ko=function(e){var t=e.children,n=e.height,r=void 0===n?20:n;return u.a.createElement(\"img\",{height:r,src:\"data:image/svg+xml;utf8,\".concat(qo[t]),style:$o.icon})},Qo=Mu(\"bold\",(function(e){var t=e.children;return u.a.createElement(\"strong\",null,t)})),Xo=Qu(\"bold\",(function(e){var t=e.editor;Nu(t,\"bold\")})),Jo=function(){var e=dr();return u.a.createElement(uo.Button,{active:ju(e,\"bold\"),onMouseDown:function(t){t.preventDefault(),Xu(\"bold\",{},e)}},u.a.createElement(Ko,null,\"format_bold\"))},Yo=Mu(\"italic\",(function(e){var t=e.children;return u.a.createElement(\"em\",null,t)})),Go=Qu(\"italic\",(function(e){var t=e.editor;Nu(t,\"italic\")})),Zo=function(){var e=dr();return u.a.createElement(uo.Button,{active:ju(e,\"italic\"),onMouseDown:function(t){t.preventDefault(),Xu(\"italic\",{},e)}},u.a.createElement(Ko,null,\"format_italic\"))},ea=Mu(\"underline\",(function(e){var t=e.children;return u.a.createElement(\"u\",null,t)})),ta=Qu(\"underline\",(function(e){var t=e.editor;Nu(t,\"underline\")})),na=function(){var e=dr();return u.a.createElement(u.a.Fragment,null,u.a.createElement(uo.Button,{active:ju(e,\"underline\"),onMouseDown:function(t){t.preventDefault(),Xu(\"underline\",{},e)}},u.a.createElement(Ko,null,\"format_underlined\")),u.a.createElement(uo.Separator,null))},ra=Ku(yu,(function(e){var t=e.attributes,n=e.children;return u.a.createElement(\"ul\",t,n)})),ua=Qu(yu,(function(e){var t=e.editor,n=Vu(t,yu);Vt.unwrapNodes(t,{match:Uu,split:!0}),n?Vt.setNodes(t,{type:\"paragraph\"}):(Vt.setNodes(t,{type:\"list-item\"}),Vt.wrapNodes(t,{type:yu,children:[]}))})),oa=function(){var e=dr();return u.a.createElement(uo.Button,{active:Vu(e,yu),onMouseDown:function(t){t.preventDefault(),Xu(yu,{},e)}},u.a.createElement(Ko,null,\"format_list_bulleted\"))},aa=Ku(bu,(function(e){var t=e.attributes,n=e.children;return u.a.createElement(\"ol\",t,n)})),ia=Qu(bu,(function(e){var t=e.editor,n=Vu(t,bu);Vt.unwrapNodes(t,{match:Uu,split:!0}),n?Vt.setNodes(t,{type:\"paragraph\"}):(Vt.setNodes(t,{type:\"list-item\"}),Vt.wrapNodes(t,{type:bu,children:[]}))})),la=function(){var e=dr();return u.a.createElement(u.a.Fragment,null,u.a.createElement(uo.Button,{active:Vu(e,bu),onMouseDown:function(t){t.preventDefault(),Xu(bu,{},e)}},u.a.createElement(Ko,null,\"format_list_numbered\")),u.a.createElement(uo.Separator,null))},sa=Ku(\"list-item\",(function(e){var t=e.attributes,n=e.children;return u.a.createElement(\"li\",t,n)}));function ca(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(\"undefined\"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,u=!1,o=void 0;try{for(var a,i=e[Symbol.iterator]();!(r=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){u=!0,o=e}finally{try{r||null==i.return||i.return()}finally{if(u)throw o}}return n}(e,t)||function(e,t){if(!e)return;if(\"string\"==typeof e)return fa(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);\"Object\"===n&&e.constructor&&(n=e.constructor.name);if(\"Map\"===n||\"Set\"===n)return Array.from(e);if(\"Arguments\"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return fa(e,t)}(e,t)||function(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}()}function fa(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function da(){return(da=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function pa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ha(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pa(Object(n),!0).forEach((function(t){va(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pa(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function va(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ma={padding:\"2px 4px\",background:\"#eeeeee\",borderRadius:4},ga=Ku(\"mention\",(function(e){var t=e.attributes,n=e.children,r=e.element;return u.a.createElement(\"span\",da({},t,{contentEditable:!1,style:ha(ha({},ma),r.data.style)}),\"@\",r.data.name,n)})),Da=function(e){var t=Qu(\"editor-change\",(function(e){var t=e.editor,n=t.selection;if(n&&Dt.isCollapsed(n)){var r=ca(Dt.edges(n),1)[0],u=tt.before(t,r,{unit:\"word\"}),o=u&&tt.before(t,u),a=o&&tt.range(t,o,r),i=a&&tt.string(t,a),l=i&&i.match(/^@(\\w+)$/),s=tt.after(t,r),c=tt.range(t,r,s),f=tt.string(t,c).match(/^(\\s|$)/);Xu(\"mention-search\",l&&f?{target:a,search:l[1]}:{target:null,search:\"\"},t)}}))(e),n=Qu(\"mention-apply\",(function(e){var t=e.editor,n=e.data,r=n.id,u=n.name,o=n.style,a=n.meta,i=n.target;Vt.select(t,i);var l={type:\"mention\",data:{id:r,name:u,style:o,meta:a},children:[{text:\"\"}]};Vt.insertNodes(t,l),Vt.move(t)}))(e);return function(){t(),n()}},ya=function(e){var t=e.renderMentionList,n=ca(Object(r.useState)(\"\"),2),o=n[0],a=n[1],i=ca(Object(r.useState)(null),2),l=i[0],s=i[1],c=Object(r.useRef)(null),f=dr();return Object(r.useEffect)((function(){var e=Qu(\"mention-search\",(function(e){var t=e.data,n=c.current;if(t.target){var r=Wr.toDOMRange(f,t.target).getBoundingClientRect(),u=n.parentElement.getBoundingClientRect();n.style.display=\"block\",n.style.top=\"\".concat(r.top-u.top+20,\"px\"),n.style.left=\"\".concat(r.left-u.left,\"px\")}else n.style.display=\"none\";a(t.search),s(t.target)}))(f);return function(){return e()}}),[]),u.a.createElement(\"div\",{ref:c,style:{position:\"absolute\",zIndex:1,display:\"none\"}},t(o,(function(e){var t=e.id,n=e.name,r=e.style,u=e.meta;Xu(\"mention-apply\",{id:t,name:n,style:r,meta:u,target:l},f)})))},ba=function(e){var t=e.isInline,n=e.isVoid;return e.isInline=function(e){return\"mention\"===e.type||t(e)},e.isVoid=function(e){return\"mention\"===e.type||n(e)},e};function Ca(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ea(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ca(Object(n),!0).forEach((function(t){wa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ca(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function wa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ba={boxSizing:\"border-box\",position:\"absolute\",top:0,left:0,width:\"100%\",padding:16,lineHeight:1.5,color:\"lightgrey\",pointerEvents:\"none\"},Aa=function(e){return void 0!==e.current},Fa=function(e){var t=e.value,n=e.editor,o=e.style,a=Object(r.useRef)(void 0),i=xu(),l=i.isForceUpdated,s=i.forceUpdate,c=Object(r.useCallback)((function(){var e=Bu(n.children),r=Ea(Ea({},Ba),o);return e?u.a.createElement(\"div\",{style:r},t):null}),[]);return Object(r.useEffect)((function(){if(Aa(a)){var e=setTimeout((function(){a.current=void 0,l||s()}),50);return function(){return clearTimeout(e)}}})),Aa(a)||(a.current=c()),a.current},xa=function(e){var t=e.value,n=e.style;return gu({name:\"editor-placeholder\",renderCustom:function(e){return u.a.createElement(Fa,{key:\"editor-placeholder\",value:t,editor:e,style:n})}})};function ka(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(\"undefined\"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,u=!1,o=void 0;try{for(var a,i=e[Symbol.iterator]();!(r=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){u=!0,o=e}finally{try{r||null==i.return||i.return()}finally{if(u)throw o}}return n}(e,t)||function(e,t){if(!e)return;if(\"string\"==typeof e)return Oa(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);\"Object\"===n&&e.constructor&&(n=e.constructor.name);if(\"Map\"===n||\"Set\"===n)return Array.from(e);if(\"Arguments\"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Oa(e,t)}(e,t)||function(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}()}function Oa(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Sa(){return(Sa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Ta,Pa=function(e){var t=e.selection;return t?tt.above(e,{at:t,match:Hu}):void 0},ja=function(e){var t=Pa(e);if(t)return t[0].children.reduce((function(e,t){return e+t.text}),\"\");var n=e.selection;return n?tt.string(e,n):\"\"},Na=function(e){var t=Pa(e);return t?wu(t[0]):\"\"},_a=Ku(Cu,(function(e){var t=e.attributes,n=e.children,r=e.element;return u.a.createElement(\"a\",Sa({},t,{href:wu(r)}),n)})),Ma=Qu(Cu,(function(e){var t=e.editor,n=e.data,r=n.text,u=n.url;if(r&&u&&au()(u)){var o=t.selection,a=o&&Dt.isCollapsed(o),i=o&&tt.string(t,o)!=r,l=a||i,s={type:Cu,data:{url:u},children:l?[{text:null!=r?r:u}]:[]},c=Pa(t);if(c){var f=ka(c,2)[1];Vt.select(t,f)}Vu(t,Cu)&&Vt.unwrapNodes(t,{match:Hu}),l?Vt.insertNodes(t,s):(Vt.wrapNodes(t,s,{split:!0}),Vt.collapse(t,{edge:\"end\"})),Vt.move(t,{unit:\"offset\"})}})),Ra=function(e){var t=e.isInline,n=e.insertData;return e.isInline=function(e){return e.type===Cu||t(e)},e.insertData=function(t){var r=t.getData(\"text/plain\"),u=e.selection;r&&au()(r)?Xu(Cu,{text:tt.string(e,u)||r,url:r},e):n(t)},e},za=function(e){var t=e.renderLinkCustom,n=ka(Object(r.useState)(!1),2),o=n[0],a=n[1],i=dr(),l=Object(r.useCallback)((function(e){Xu(Cu,e,i)}),[]);return Object(r.useEffect)((function(){var e=Qu(\"add-link\",(function(){a(!0)}))(i);return function(){return e()}})),u.a.createElement(u.a.Fragment,null,o&&(null==t?void 0:t({handleAddLink:l,getSelectedData:function(){return function(e){return{text:ja(e),url:Na(e)}}(i)},hideLinkCustom:function(){return a(!1)}})))},Ia=function(e){var t=e.showToolbarButton,n=dr(),o=Object(r.useCallback)((function(){Xu(\"add-link\",{},n)}),[]);if(!t)return null;var a=!!Pa(n);return u.a.createElement(u.a.Fragment,null,u.a.createElement(uo.Button,{active:a,onMouseDown:o},u.a.createElement(Ko,{height:18},\"link\")),u.a.createElement(uo.Separator,null))},La=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.renderLinkCustom,n=e.showToolbarButton;return gu({name:Cu,renderElement:_a,handleMessage:Ma,renderCustom:function(){return u.a.createElement(za,{key:Cu,renderLinkCustom:t})},ToolbarButton:function(){return u.a.createElement(Ia,{showToolbarButton:n})},enhanceEditor:Ra})},Wa=Qu(\"editor-change\",(function(e){var t=e.editor,n=t.selection;if(n){var r=Wr.toDOMRange(t,n).getBoundingClientRect();Xu(\"cursor-change\",{offset:void 0,position:{top:r.top,left:r.left}},t)}})),Va=Ku(\"heading-one\",(function(e){var t=e.attributes,n=e.children;return u.a.createElement(\"h1\",t,n)})),Ua=Qu(\"heading-one\",(function(e){var t=e.editor,n=Vu(t,\"heading-one\");Vt.unwrapNodes(t,{match:Uu,split:!0}),Vt.setNodes(t,{type:n?\"paragraph\":\"heading-one\"})})),Ha=function(){var e=dr();return u.a.createElement(uo.Button,{active:Vu(e,\"heading-one\"),onMouseDown:function(t){t.preventDefault(),Xu(\"heading-one\",{},e)}},u.a.createElement(Ko,null,\"looks_one\"))},qa=Ku(\"heading-two\",(function(e){var t=e.attributes,n=e.children;return u.a.createElement(\"h2\",t,n)})),$a=Qu(\"heading-two\",(function(e){var t=e.editor,n=Vu(t,\"heading-two\");Vt.unwrapNodes(t,{match:Uu,split:!0}),Vt.setNodes(t,{type:n?\"paragraph\":\"heading-two\"})})),Ka=function(){var e=dr();return u.a.createElement(uo.Button,{active:Vu(e,\"heading-two\"),onMouseDown:function(t){t.preventDefault(),Xu(\"heading-two\",{},e)}},u.a.createElement(Ko,null,\"looks_two\"))},Qa=(Qu(\"reset\",(function(e){var t=e.editor,n=e.data,r=void 0===n?Eu:n;t.children=r,t.selection={anchor:{path:[0,0],offset:0},focus:{path:[0,0],offset:0}},t.onChange()})),function(e){return function(t){return function(){return e(t(t)).apply(void 0,arguments)}}((function(t){return function(){return e(t(t)).apply(void 0,arguments)}}))}),Xa=Array.isArray,Ja=(Ta={leaf:function(e){return e.text},element:function(e,t){switch(e.type){case\"paragraph\":case\"heading-one\":case\"heading-two\":case\"list-item\":return\"\".concat(t,\"\\n\");case\"link\":return t;case\"mention\":return\"@\".concat(e.data.name);case\"bulleted-list\":return t.trim().split(\"\\n\").map((function(e){return\"- \".concat(e)})).join(\"\\n\")+\"\\n\";case\"numbered-list\":return t.trim().split(\"\\n\").map((function(e,t){return\"\".concat(t+1,\". \").concat(e)})).join(\"\\n\")+\"\\n\";default:return\"\".concat(t,\"\\n\")}}},Qa((function(e){return function(t,n){if(Xa(t))return t.map(e).join(\"\").trim();if(At.isText(t))return Ta.leaf(t,n);var r=t.children.map(e).join(\"\");return Ta.element(t,r,n)}})),Array.isArray),Ya=function(e){return Qa((function(t){return function(n,r){if(Ja(n))return n.map(t);if(At.isText(n))return e.leaf(n,r);var u=n.children.map(t);return e.element(n,u,r)}}))};Ya({leaf:function(e,t){var n=e.text;return e.bold&&(n=u.a.createElement(\"strong\",{key:t},n)),e.italic&&(n=u.a.createElement(\"em\",{key:t},n)),e.underline&&(n=u.a.createElement(\"u\",{key:t},n)),u.a.createElement(\"span\",{key:t},n)},element:function(e,t,n){switch(e.type){case\"paragraph\":return u.a.createElement(\"p\",{key:n,style:{margin:0,lineHeight:1.5,minHeight:\"1.5em\"}},t);case\"heading-one\":return u.a.createElement(\"h1\",{key:n},t);case\"heading-two\":return u.a.createElement(\"h2\",{key:n},t);case\"link\":var r=function(e){return(null==e?void 0:e.type)!==Cu?null:at.string(e)}(e);return au()(r)?u.a.createElement(\"a\",{key:n,href:r,target:\"_blank\"},t):u.a.createElement(\"span\",{key:n},t);case\"mention\":return u.a.createElement(\"span\",{key:n,style:{padding:\"2px 4px\",background:\"#eeeeee\",borderRadius:4}},\"@\",e.data.name);case\"bulleted-list\":return u.a.createElement(\"ul\",{key:n},t);case\"numbered-list\":return u.a.createElement(\"ol\",{key:n},t);case\"list-item\":return u.a.createElement(\"li\",{key:n},t);default:return u.a.createElement(\"div\",{key:n},t)}}});function Ga(){return(Ga=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Za(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ei(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Za(Object(n),!0).forEach((function(t){ti(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Za(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ti(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ni(e){return function(e){if(Array.isArray(e))return ri(e)}(e)||function(e){if(\"undefined\"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if(\"string\"==typeof e)return ri(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);\"Object\"===n&&e.constructor&&(n=e.constructor.name);if(\"Map\"===n||\"Set\"===n)return Array.from(e);if(\"Arguments\"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ri(e,t)}(e)||function(){throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}()}function ri(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}window.ResizeObserver||(window.ResizeObserver=Ho);var ui,oi,ai,ii,li={editorWrapper:{fontFamily:\"sans-serif\",border:\"solid thin #eaeaea\",borderRadius:4},editableWrapper:{position:\"relative\"},editable:{padding:16}},si=su((function(e){var t=e.name,n=e.ToolbarButton;return u.a.createElement(n,{key:t})})),ci=function(){},fi=function(e){var t=e.id,n=e.showToolbar,o=void 0===n||n,a=e.autoFocus,i=void 0!==a&&a,l=e.plugins,s=void 0===l?[]:l,c=e.placeholder,f=e.value,d=e.onChange,p=e.onFocus,h=void 0===p?ci:p,v=e.onBlur,m=void 0===v?ci:v,g=e.onLayout,D=void 0===g?ci:g,y=e.wrapperStyle,b=e.editableStyle,C=e.editableProps,E=void 0===C?{}:C,w=Object(r.useRef)(null),B=Object(r.useRef)({width:0,height:0}),A=Object(r.useRef)();A.current||(A.current=lu.apply(void 0,[De,ru,Du(t)].concat(ni(su(cu(\"enhanceEditor\"))(s))))());var F=A.current,x=Object(r.useMemo)((function(){return function(e){return iu.apply(void 0,ku(e.map((function(e){return e.renderLeaf}))))(_u)}(s)}),[s]),k=Object(r.useMemo)((function(){return function(e){return iu.apply(void 0,Ru(e.map((function(e){return e.renderElement}))))($u)}(s)}),[s]),O=Object(r.useMemo)((function(){return function(){return function(e){return su(lu(cu(\"renderCustom\"),pu([e])))}(F)(s)}}),[s,f]),S=Object(r.useMemo)((function(){return si(s)}),[s]);return Object(r.useEffect)((function(){F&&i&&!Bu(f)&&Vt.select(F,tt.end(F,[]))}),[]),Object(r.useEffect)((function(){var e=function(e){return su(lu(cu(\"handleMessage\"),pu([e])))}(F)(s);return function(){return e.forEach((function(e){return e()}))}}),[s]),Object(r.useEffect)((function(){var e=new Ho((function(e){var t=e[0];if(t){var n=t.contentRect,r=n.width,u=n.height;r===B.current.width&&u===B.current.height||(B.current={width:r,height:u},D(B.current),Xu(\"editor-layout\",B.current,F))}}));return e.observe(w.current),function(){w.current&&e.unobserve(w.current)}}),[]),u.a.createElement(\"div\",{ref:w,className:\"hero-editor--wrapper\",style:ei(ei({},li.editorWrapper),y)},u.a.createElement(eu,{editor:F,value:f,onChange:function(e){d(e),Xu(\"editor-change\",{value:e},F)}},o?u.a.createElement(uo,null,S):null,u.a.createElement(\"div\",{style:li.editableWrapper},u.a.createElement(uu,Ga({},E,{className:\"hero-editor--editable\",placeholder:c,spellCheck:!0,autoFocus:i,renderLeaf:x,renderElement:k,onFocus:function(e){h(e),Xu(\"editor-focus\",{},F)},onBlur:function(e){m(e),Xu(\"editor-blur\",{},F)},style:ei(ei({},li.editable),b)})),O())))};function di(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(\"undefined\"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,u=!1,o=void 0;try{for(var a,i=e[Symbol.iterator]();!(r=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){u=!0,o=e}finally{try{r||null==i.return||i.return()}finally{if(u)throw o}}return n}(e,t)||function(e,t){if(!e)return;if(\"string\"==typeof e)return pi(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);\"Object\"===n&&e.constructor&&(n=e.constructor.name);if(\"Map\"===n||\"Set\"===n)return Array.from(e);if(\"Arguments\"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return pi(e,t)}(e,t)||function(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}()}function pi(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var hi=null===(ui=window.__editorConfigs)||void 0===ui?void 0:ui.placeholder,vi=null===(oi=window.__editorConfigs)||void 0===oi?void 0:oi.initialValue,mi=null===(ai=window.__editorConfigs)||void 0===ai?void 0:ai.autoFocus,gi=null===(ii=window.__editorConfigs)||void 0===ii?void 0:ii.style,Di=function(){var e=Object(r.useMemo)((function(){return[gu({name:\"cursor-tracker\",handleMessage:Wa}),gu({name:\"bold\",renderLeaf:Qo,handleMessage:Xo,ToolbarButton:Jo}),gu({name:\"italic\",renderLeaf:Yo,handleMessage:Go,ToolbarButton:Zo}),gu({name:\"underline\",renderLeaf:ea,handleMessage:ta,ToolbarButton:na}),gu({name:yu,renderElement:ra,handleMessage:ua,ToolbarButton:oa}),gu({name:bu,renderElement:aa,handleMessage:ia,ToolbarButton:la}),gu({name:\"list-item\",renderElement:sa}),(e={renderMentionList:function(){return null}},t=e.renderMentionList,gu({name:\"mention\",renderElement:ga,renderCustom:function(){return u.a.createElement(ya,{key:\"mention\",renderMentionList:t})},handleMessage:Da,enhanceEditor:ba})),xa({value:hi,style:gi}),La(),gu({name:\"heading-one\",renderElement:Va,handleMessage:Ua,ToolbarButton:Ha}),gu({name:\"heading-two\",renderElement:qa,handleMessage:$a,ToolbarButton:Ka})];var e,t}),[]),t=di(Object(r.useState)(vi),2),n=t[0],o=t[1];return u.a.createElement(fi,{id:\"webview\",showToolbar:!1,autoFocus:mi,plugins:e,value:n,onChange:function(e){return o(e)},wrapperStyle:{border:\"none\"},editableStyle:gi})};Object(o.render)(u.a.createElement(Di,null),document.getElementById(\"root\"))}]);\n//# sourceMappingURL=app.js.map";
|
|
33213
33522
|
|
|
33214
|
-
index$
|
|
33523
|
+
index$b(reactNative.View)(function (_ref) {
|
|
33215
33524
|
var theme = _ref.theme;
|
|
33216
33525
|
return {
|
|
33217
33526
|
marginBottom: theme.__hd__.richTextEditor.space.wrapperMarginBottom
|
|
33218
33527
|
};
|
|
33219
33528
|
});
|
|
33220
|
-
var StyledWebView = index$
|
|
33529
|
+
var StyledWebView = index$b(reactNativeWebview.WebView)(function (_ref2) {
|
|
33221
33530
|
var height = _ref2.height,
|
|
33222
33531
|
theme = _ref2.theme;
|
|
33223
33532
|
return {
|
|
@@ -33426,13 +33735,14 @@ var RichTextEditor = function RichTextEditor(_ref) {
|
|
|
33426
33735
|
testID: "input-error-message"
|
|
33427
33736
|
}, error)) : !!helpText && /*#__PURE__*/React__default["default"].createElement(StyledHelperText, null, helpText))));
|
|
33428
33737
|
};
|
|
33429
|
-
var
|
|
33738
|
+
var RichTextEditorWithRef = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
33430
33739
|
return /*#__PURE__*/React__default["default"].createElement(RichTextEditor, _extends$1({}, props, {
|
|
33431
33740
|
forwardedRef: ref
|
|
33432
33741
|
}));
|
|
33433
33742
|
});
|
|
33743
|
+
RichTextEditorWithRef.displayName = 'RichTextEditor';
|
|
33434
33744
|
|
|
33435
|
-
var index = Object.assign(
|
|
33745
|
+
var index = Object.assign(RichTextEditorWithRef, {
|
|
33436
33746
|
MentionList: MentionList,
|
|
33437
33747
|
Toolbar: EditorToolbar
|
|
33438
33748
|
});
|
|
@@ -33440,7 +33750,7 @@ var index = Object.assign(RichTextEditor$1, {
|
|
|
33440
33750
|
exports.Accordion = Accordion;
|
|
33441
33751
|
exports.Alert = Alert;
|
|
33442
33752
|
exports.Attachment = Attachment;
|
|
33443
|
-
exports.Avatar = index$
|
|
33753
|
+
exports.Avatar = index$a;
|
|
33444
33754
|
exports.Badge = Badge$1;
|
|
33445
33755
|
exports.BottomNavigation = BottomNavigation;
|
|
33446
33756
|
exports.BottomSheet = BottomSheet$1;
|
|
@@ -33448,19 +33758,20 @@ exports.Box = Box;
|
|
|
33448
33758
|
exports.Button = CompoundButton;
|
|
33449
33759
|
exports.Calendar = Calendar;
|
|
33450
33760
|
exports.Card = Card$1;
|
|
33451
|
-
exports.Carousel = index$
|
|
33761
|
+
exports.Carousel = index$9;
|
|
33452
33762
|
exports.Checkbox = Checkbox;
|
|
33453
33763
|
exports.Collapse = Collapse;
|
|
33454
33764
|
exports.ContentNavigator = ContentNavigator;
|
|
33455
33765
|
exports.DatePicker = DatePicker;
|
|
33456
33766
|
exports.Divider = Divider;
|
|
33457
|
-
exports.Drawer = index$
|
|
33767
|
+
exports.Drawer = index$8;
|
|
33458
33768
|
exports.Empty = Empty;
|
|
33459
33769
|
exports.Error = Error$1;
|
|
33460
|
-
exports.FAB = index$
|
|
33770
|
+
exports.FAB = index$7;
|
|
33461
33771
|
exports.Icon = Icon;
|
|
33462
33772
|
exports.Image = Image;
|
|
33463
33773
|
exports.List = List;
|
|
33774
|
+
exports.Modal = index$6;
|
|
33464
33775
|
exports.PageControl = PageControl;
|
|
33465
33776
|
exports.PinInput = PinInput;
|
|
33466
33777
|
exports.Progress = Progress;
|