beesoft-components 0.2.16 → 0.2.19

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/build/index.js CHANGED
@@ -6506,7 +6506,7 @@ function parseISO(argument, dirtyOptions) {
6506
6506
 
6507
6507
  if (dateStrings.date) {
6508
6508
  var parseYearResult = parseYear(dateStrings.date, additionalDigits);
6509
- date = parseDate(parseYearResult.restDateString, parseYearResult.year);
6509
+ date = parseDate$1(parseYearResult.restDateString, parseYearResult.year);
6510
6510
  }
6511
6511
 
6512
6512
  if (isNaN(date) || !date) {
@@ -6599,7 +6599,7 @@ function parseYear(dateString, additionalDigits) {
6599
6599
  };
6600
6600
  }
6601
6601
 
6602
- function parseDate(dateString, year) {
6602
+ function parseDate$1(dateString, year) {
6603
6603
  // Invalid ISO-formatted year
6604
6604
  if (year === null) return null;
6605
6605
  var captures = dateString.match(dateRegex); // Invalid ISO-formatted string
@@ -6886,15 +6886,16 @@ function getElementByCssStylesRecursive(element, styles, matchAllStyles) {
6886
6886
  }
6887
6887
  return element.parentElement ? getElementByCssStylesRecursive(element.parentElement, styles) : element;
6888
6888
  }
6889
- function getAllElementStyleValuesRecursive(element, style, action, currentValues) {
6890
- if (currentValues === void 0) { currentValues = []; }
6891
- var elementStyles = getComputedStyle(element);
6892
- if (elementStyles[style] && action(elementStyles[style])) {
6893
- currentValues.push(elementStyles[style]);
6889
+ function getAllElementStyleValues(style, action) {
6890
+ var allElements = Array.from(document.querySelectorAll('body *'));
6891
+ var foundStyles = [];
6892
+ for (var i = 0, length_3 = allElements.length; i < length_3; i++) {
6893
+ var elementStyles = getComputedStyle(allElements[i]);
6894
+ if (elementStyles[style] && action(elementStyles[style])) {
6895
+ foundStyles.push(elementStyles[style]);
6896
+ }
6894
6897
  }
6895
- return element.parentElement
6896
- ? getAllElementStyleValuesRecursive(element.parentElement, style, action, currentValues)
6897
- : currentValues;
6898
+ return foundStyles;
6898
6899
  }
6899
6900
 
6900
6901
  function TemplateOutlet(_a) {
@@ -24877,7 +24878,7 @@ function OverlayPanel(_a) {
24877
24878
  });
24878
24879
  }
24879
24880
  if (shouldCheckZIndex) {
24880
- var parentZIndex = getAllElementStyleValuesRecursive(finalTarget, 'zIndex', function (styleValue) {
24881
+ var parentZIndex = getAllElementStyleValues('zIndex', function (styleValue) {
24881
24882
  var elementZIndex = parseInt(styleValue);
24882
24883
  return elementZIndex >= 100;
24883
24884
  }).map(function (item) { return parseInt(item); });
@@ -24950,7 +24951,7 @@ function OverlayPanel(_a) {
24950
24951
  }
24951
24952
  return (jsx(BeeSoftTransition, __assign({ start: visibility, timeout: transitionDuration, showTransitionOptions: showTransitionOptions, hideTransitionOptions: hideTransitionOptions, onEntering: onEntering, onEntered: onEntered, onExit: onExit, onExited: onExited, unmountOnExit: unmountWhenHidden }, { children: function (_a) {
24952
24953
  var state = _a.state, defaultStyle = _a.defaultStyle, transitionStyles = _a.transitionStyles;
24953
- return (jsx("div", __assign({ className: "bsc-fixed bsc-bg-white dark:bsc-bg-gray-900 bsc-border bsc-border-solid dark:bsc-text-white dark:bsc-border-white bsc-shadow", style: __assign(__assign(__assign({}, baseStyles), defaultStyle), transitionStyles[state]), ref: function (element) { return element && onMarkupCreated(element); } }, { children: children }), void 0));
24954
+ return (jsx("div", __assign({ className: "bsc-absolute bsc-bg-white dark:bsc-bg-gray-900 bsc-border bsc-border-solid dark:bsc-text-white dark:bsc-border-white bsc-shadow", style: __assign(__assign(__assign({}, baseStyles), defaultStyle), transitionStyles[state]), ref: function (element) { return element && onMarkupCreated(element); } }, { children: children }), void 0));
24954
24955
  } }), void 0));
24955
24956
  };
24956
24957
  return ReactDOM.createPortal(createElement(), appendTo);
@@ -25512,40 +25513,14 @@ function ContentEditableInput(props, ref) {
25512
25513
  }, className);
25513
25514
  var leftElementClasses = classnames('bsc-flex-shrink', { 'bsc-mr-2': leftElement }, leftElementClassName);
25514
25515
  var rightElementClasses = classnames('bsc-flex-shrink', { 'bsc-ml-2': rightElement }, rightElementClassName);
25515
- return (jsxs("div", __assign({ className: classNames, ref: function (element) { return onElementCreated(element); } }, { children: [jsx("div", __assign({ className: leftElementClasses, onClick: onLeftElementClicked }, { children: leftElement }), void 0),
25516
+ return (jsxs("div", __assign({ className: classNames, ref: function (element) { return onElementCreated(element); } }, { children: [leftElement && (jsx("div", __assign({ className: leftElementClasses, onClick: onLeftElementClicked }, { children: leftElement }), void 0)),
25516
25517
  jsx("div", __assign({ ref: inputRef, className: "bsc-flex-grow focus:bsc-outline-none", contentEditable: !readOnly, suppressContentEditableWarning: true, onFocus: onFocused, onBlur: onBlur, onInput: onInputChanged }, { children: value }), void 0),
25517
- jsx("div", __assign({ className: rightElementClasses, onClick: onRightElementClicked }, { children: rightElement }), void 0)] }), void 0));
25518
+ rightElement && (jsx("div", __assign({ className: rightElementClasses, onClick: onRightElementClicked }, { children: rightElement }), void 0))] }), void 0));
25518
25519
  }
25519
25520
  var ContentEditableInput$1 = forwardRef(ContentEditableInput);
25520
25521
 
25521
25522
  var DateTimeContext = createContext(undefined);
25522
25523
 
25523
- function useKeyDown(keyCode) {
25524
- var _a = useState(false), keyDown = _a[0], setKeyDown = _a[1];
25525
- var keyCodes = typeof keyCode === 'string' ? [keyCode] : keyCode;
25526
- var downHandler = function (_a) {
25527
- var key = _a.key;
25528
- if (keyCodes.includes(key)) {
25529
- setKeyDown(true);
25530
- }
25531
- };
25532
- var upHandler = function (_a) {
25533
- var key = _a.key;
25534
- if (keyCodes.includes(key)) {
25535
- setKeyDown(false);
25536
- }
25537
- };
25538
- useEffect(function () {
25539
- window.addEventListener('keydown', downHandler);
25540
- window.addEventListener('keyup', upHandler);
25541
- return function () {
25542
- window.removeEventListener('keydown', downHandler);
25543
- window.removeEventListener('keyup', upHandler);
25544
- };
25545
- }, []);
25546
- return keyDown;
25547
- }
25548
-
25549
25524
  function getMonthMatrix(matrixDate, locale, loadOtherMonths) {
25550
25525
  var _a, _b;
25551
25526
  if (loadOtherMonths === void 0) { loadOtherMonths = true; }
@@ -25597,13 +25572,19 @@ function createDefaultMatrix(rows, columns, defaultValue) {
25597
25572
  for (var row = 0, length_2 = rows; row < length_2; row++) {
25598
25573
  var colArray = [];
25599
25574
  for (var col = 0, colLength = columns; col < colLength; col++) {
25600
- var clonedValue = __assign({}, defaultValue);
25575
+ var clonedValue = valueIsPrimitive(defaultValue)
25576
+ ? defaultValue
25577
+ : __assign({}, defaultValue);
25601
25578
  colArray.push(clonedValue);
25602
25579
  }
25603
25580
  rowArray.push(colArray);
25604
25581
  }
25605
25582
  return rowArray;
25606
25583
  }
25584
+ function valueIsPrimitive(value) {
25585
+ var valueType = typeof value;
25586
+ return valueType === 'string' || valueType === 'number' || valueType === 'boolean' || value instanceof Date;
25587
+ }
25607
25588
  function getTranslatedDays(locale) {
25608
25589
  var _a;
25609
25590
  var startDate = nextDay(new Date(), ((_a = locale.options) === null || _a === void 0 ? void 0 : _a.weekStartsOn) || 0);
@@ -25696,6 +25677,37 @@ function createDefaultColors() {
25696
25677
  todayDateColor: 'bsc-bg-green-100',
25697
25678
  };
25698
25679
  }
25680
+ function parseDate(dateValue, locale) {
25681
+ var isoDate = parseISO(dateValue);
25682
+ if (isNaN(isoDate.valueOf())) {
25683
+ var localDate = parse(dateValue, 'Ppp', new Date(), { locale: locale });
25684
+ if (!isNaN(localDate.valueOf()))
25685
+ return localDate;
25686
+ localDate = parse(dateValue, 'P', new Date(), { locale: locale });
25687
+ if (!isNaN(localDate.valueOf()))
25688
+ return localDate;
25689
+ localDate = parse(dateValue, 'pp', new Date(), { locale: locale });
25690
+ if (!isNaN(localDate.valueOf()))
25691
+ return localDate;
25692
+ localDate = parse(dateValue, 'p', new Date(), { locale: locale });
25693
+ if (!isNaN(localDate.valueOf()))
25694
+ return localDate;
25695
+ return undefined;
25696
+ }
25697
+ return isoDate;
25698
+ }
25699
+ function parseDateRange(dateRangeValue, locale) {
25700
+ var datesToParse = dateRangeValue.split('-');
25701
+ if (datesToParse.length !== 2)
25702
+ return undefined;
25703
+ var dateValue1 = parseDate(datesToParse[0].trim(), locale);
25704
+ if (!dateValue1)
25705
+ return undefined;
25706
+ var dateValue2 = parseDate(datesToParse[1].trim(), locale);
25707
+ if (!dateValue2)
25708
+ return undefined;
25709
+ return [dateValue1, dateValue2];
25710
+ }
25699
25711
 
25700
25712
  var DateSelectionType;
25701
25713
  (function (DateSelectionType) {
@@ -25814,7 +25826,6 @@ function DateTimeCalendar(_a) {
25814
25826
  var _f = useState(), currentSelectedDate = _f[0], setCurrentSelectedDate = _f[1];
25815
25827
  var _g = useState(), selectedStartComparison = _g[0], setSelectedStartComparison = _g[1];
25816
25828
  var _h = useState(), selectedEndComparison = _h[0], setSelectedEndComparison = _h[1];
25817
- useKeyDown(['Meta', 'Control']);
25818
25829
  var context = useContext(DateTimeContext);
25819
25830
  var viewTemplate = context.calendarTemplate;
25820
25831
  var loadLocaleObject = function () { return __awaiter(_this, void 0, void 0, function () {
@@ -26023,7 +26034,7 @@ function DateTimeDaySelector(_a) {
26023
26034
  }
26024
26035
 
26025
26036
  function DateTimeMonthSelector(_a) {
26026
- var viewDate = _a.viewDate, locale = _a.locale, dispatcher = _a.dispatcher;
26037
+ var viewDate = _a.viewDate, locale = _a.locale, _b = _a.dateSelection, dateSelection = _b === void 0 ? DateSelectionType.DateTime : _b, dispatcher = _a.dispatcher;
26027
26038
  var monthMatrix = useRef(getTranslatedMonthMatrix(locale));
26028
26039
  var movePreviousYear = function () {
26029
26040
  var previousYear = subYears(viewDate, 1);
@@ -26041,7 +26052,9 @@ function DateTimeMonthSelector(_a) {
26041
26052
  };
26042
26053
  var onMonthClicked = function (monthNumber) {
26043
26054
  dispatcher({
26044
- type: DateTimeActionType.DaySelector,
26055
+ type: dateSelection !== DateSelectionType.DateRange
26056
+ ? DateTimeActionType.DaySelector
26057
+ : DateTimeActionType.DateRangeSelector,
26045
26058
  viewDate: setMonth(viewDate, monthNumber),
26046
26059
  });
26047
26060
  };
@@ -26078,10 +26091,17 @@ function DateTimeRangeSelector(_a) {
26078
26091
  });
26079
26092
  }
26080
26093
  };
26094
+ var onMonthsClicked = function () {
26095
+ dispatcher({
26096
+ type: DateTimeActionType.MonthSelector,
26097
+ });
26098
+ };
26081
26099
  var getSelectorTitle = function () {
26082
- return viewDate.toLocaleDateString(locale.code, { month: 'long' }) + " - " + nextMonth.toLocaleDateString(locale.code, {
26100
+ return viewDate.toLocaleDateString(locale.code, { month: 'long' }) + " " + viewDate.toLocaleDateString(locale.code, {
26101
+ year: 'numeric',
26102
+ }) + " - " + nextMonth.toLocaleDateString(locale.code, {
26083
26103
  month: 'long',
26084
- });
26104
+ }) + " " + nextMonth.toLocaleDateString(locale.code, { year: 'numeric' });
26085
26105
  };
26086
26106
  var movePreviousMonth = function () {
26087
26107
  if (viewDate) {
@@ -26099,7 +26119,7 @@ function DateTimeRangeSelector(_a) {
26099
26119
  });
26100
26120
  }
26101
26121
  };
26102
- return (jsxs("div", __assign({ className: "bsc-flex bsc-flex-col bc-dt-range-selector" }, { children: [jsx("div", __assign({ className: "bsc-flex-shrink bc-dt-range-scroller-wrapper" }, { children: jsx(DateTimeScroller, { title: getSelectorTitle(), scrollerType: DateScrollerType.Range, onMovePrevious: movePreviousMonth, onMoveNext: moveNextMonth }, void 0) }), void 0),
26122
+ return (jsxs("div", __assign({ className: "bsc-flex bsc-flex-col bc-dt-range-selector" }, { children: [jsx("div", __assign({ className: "bsc-flex-shrink bc-dt-range-scroller-wrapper" }, { children: jsx(DateTimeScroller, { title: getSelectorTitle(), scrollerType: DateScrollerType.Range, onTitleClicked: onMonthsClicked, onMovePrevious: movePreviousMonth, onMoveNext: moveNextMonth }, void 0) }), void 0),
26103
26123
  jsx("div", __assign({ className: "bsc-flex-grow" }, { children: jsxs("div", __assign({ className: "bsc-flex bsc-flex-row bsc-py-1 bsc-px-2 bc-dt-range-wrapper" }, { children: [jsx("div", __assign({ className: "bsc-border-r bsc-border-solid bsc-border-gray-400 bsc-pr-4 bc-dt-range-calendar-1" }, { children: jsx(DateTimeCalendar, { viewDate: viewDate, selectedStartDate: selectedStartDate, selectedEndDate: selectedEndDate, selectionMode: CalendarSelectionMode.Range, onDateSelected: onDateSelected, locale: locale, dispatcher: dispatcher }, void 0) }), void 0),
26104
26124
  jsx("div", __assign({ className: "bsc-pl-4 bc-dt-range-calendar-2" }, { children: jsx(DateTimeCalendar, { viewDate: nextMonth, selectedStartDate: selectedStartDate, selectedEndDate: selectedEndDate, selectionMode: CalendarSelectionMode.Range, onDateSelected: onDateSelected, locale: locale, dispatcher: dispatcher }, void 0) }), void 0)] }), void 0) }), void 0)] }), void 0));
26105
26125
  }
@@ -26210,23 +26230,32 @@ function DateTimeYearSelector(_a) {
26210
26230
  var getCurrentDecade = function () { return yearMatrix[0][0].toString() + " - " + yearMatrix[2][1].toString(); };
26211
26231
  return (jsxs("div", __assign({ className: "bc-dt-year-selector", style: { minWidth: '20rem' } }, { children: [jsx(DateTimeScroller, { title: getCurrentDecade(), scrollerType: DateScrollerType.Year, onMovePrevious: movePreviousDecade, onMoveNext: moveNextDecade }, void 0),
26212
26232
  jsx("div", __assign({ className: "bsc-w-full bc-dt-year-wrapper" }, { children: jsx("div", __assign({ className: "bsc-grid bsc-grid-cols-4 bsc-gap-4 bc-dt-year-grid" }, { children: yearMatrix.map(function (row, rIndex) {
26213
- return row.map(function (column, cIndex) { return (jsx("div", __assign({ className: "bsc-text-center bsc-cursor-pointer bc-dt-year-cell", onClick: function () { return onYearClicked(column); } }, { children: column }), rIndex.toString() + cIndex.toString())); });
26233
+ return row.map(function (column, cIndex) {
26234
+ return column.length > 0 ? (jsx("div", __assign({ className: "bsc-text-center bsc-cursor-pointer bc-dt-year-cell", onClick: function () { return onYearClicked(column); } }, { children: column }), rIndex.toString() + cIndex.toString())) : (jsx("div", {}, rIndex.toString() + cIndex.toString()));
26235
+ });
26214
26236
  }) }), void 0) }), void 0)] }), void 0));
26215
26237
  }
26216
26238
 
26217
26239
  function DateTime(_a) {
26218
26240
  var _b;
26219
- var value = _a.value, _c = _a.readOnly, readOnly = _c === void 0 ? false : _c, label = _a.label, _d = _a.useDefaultDateValue, useDefaultDateValue = _d === void 0 ? false : _d, locale = _a.locale, className = _a.className, _e = _a.dateSelection, dateSelection = _e === void 0 ? DateSelectionType.DateTime : _e, dateFormat = _a.dateFormat, timeConstraints = _a.timeConstraints, icon = _a.icon, _f = _a.iconPosition, iconPosition = _f === void 0 ? CalendarIconPosition.Right : _f, inputElement = _a.inputElement, _g = _a.colors, colors = _g === void 0 ? createDefaultColors() : _g, selectableDate = _a.selectableDate, isValidDate = _a.isValidDate, onChange = _a.onChange, calendarTemplate = _a.calendarTemplate, dateScrollerTemplate = _a.dateScrollerTemplate, inputTemplate = _a.inputTemplate;
26220
- var _h = useState(false), selectorOpen = _h[0], setSelectorOpen = _h[1];
26221
- var _j = useState(), dropDownTarget = _j[0], setDropDownTarget = _j[1];
26241
+ var value = _a.value, _c = _a.readOnly, readOnly = _c === void 0 ? false : _c, label = _a.label, _d = _a.useDefaultDateValue, useDefaultDateValue = _d === void 0 ? false : _d, _e = _a.allowClear, allowClear = _e === void 0 ? false : _e, locale = _a.locale, className = _a.className, _f = _a.dateSelection, dateSelection = _f === void 0 ? DateSelectionType.DateTime : _f, dateFormat = _a.dateFormat, timeConstraints = _a.timeConstraints, icon = _a.icon, _g = _a.iconPosition, iconPosition = _g === void 0 ? CalendarIconPosition.Right : _g, inputElement = _a.inputElement, _h = _a.colors, colors = _h === void 0 ? createDefaultColors() : _h, selectableDate = _a.selectableDate, isValidDate = _a.isValidDate, onChange = _a.onChange, calendarTemplate = _a.calendarTemplate, dateScrollerTemplate = _a.dateScrollerTemplate, inputTemplate = _a.inputTemplate;
26242
+ var _j = useState(false), selectorOpen = _j[0], setSelectorOpen = _j[1];
26243
+ var _k = useState(), dropDownTarget = _k[0], setDropDownTarget = _k[1];
26222
26244
  var language = useRef(locale || getBrowserLanguage());
26223
26245
  var loadedLocale = useRef();
26224
26246
  var inputElementRef = useRef();
26225
- var contextProps = {
26247
+ var _l = useState({
26226
26248
  calendarTemplate: calendarTemplate,
26227
26249
  dateScrollerTemplate: dateScrollerTemplate,
26228
26250
  colors: colors,
26229
- };
26251
+ }), contextProps = _l[0], setContextProps = _l[1];
26252
+ useEffect(function () {
26253
+ setContextProps({
26254
+ calendarTemplate: calendarTemplate,
26255
+ dateScrollerTemplate: dateScrollerTemplate,
26256
+ colors: colors,
26257
+ });
26258
+ }, [calendarTemplate, dateScrollerTemplate, colors]);
26230
26259
  useEffect(function () {
26231
26260
  if (language.current) {
26232
26261
  loadLocaleObject(language.current);
@@ -26271,62 +26300,37 @@ function DateTime(_a) {
26271
26300
  })
26272
26301
  .catch(function (error) { return console.error(error); });
26273
26302
  };
26274
- var parseDate = function (dateValue) {
26275
- var isoDate = parseISO(dateValue);
26276
- if (isNaN(isoDate.valueOf())) {
26277
- var localDate = parse(dateValue, 'Ppp', new Date(), { locale: loadedLocale.current });
26278
- if (!isNaN(localDate.valueOf()))
26279
- return localDate;
26280
- localDate = parse(dateValue, 'P', new Date(), { locale: loadedLocale.current });
26281
- if (!isNaN(localDate.valueOf()))
26282
- return localDate;
26283
- localDate = parse(dateValue, 'pp', new Date(), { locale: loadedLocale.current });
26284
- if (!isNaN(localDate.valueOf()))
26285
- return localDate;
26286
- localDate = parse(dateValue, 'p', new Date(), { locale: loadedLocale.current });
26287
- if (!isNaN(localDate.valueOf()))
26288
- return localDate;
26289
- return undefined;
26290
- }
26291
- return isoDate;
26292
- };
26293
- var parseDateRange = function (dateRangeValue) {
26294
- var datesToParse = dateRangeValue.split('-');
26295
- if (datesToParse.length !== 2)
26296
- return undefined;
26297
- var dateValue1 = parseDate(datesToParse[0].trim());
26298
- if (!dateValue1)
26299
- return undefined;
26300
- var dateValue2 = parseDate(datesToParse[1].trim());
26301
- if (!dateValue2)
26302
- return undefined;
26303
- return [dateValue1, dateValue2];
26304
- };
26305
26303
  var getDateValue = function () {
26306
26304
  var defaultDate = new Date();
26307
26305
  defaultDate.setHours(0, 0, 0, 0);
26308
26306
  return value
26309
26307
  ? typeof value === 'string'
26310
26308
  ? dateSelection !== DateSelectionType.DateRange
26311
- ? parseDate(value)
26312
- : parseDateRange(value)
26309
+ ? parseDate(value, loadedLocale.current)
26310
+ : parseDateRange(value, loadedLocale.current)
26313
26311
  : value
26314
26312
  : defaultDate;
26315
26313
  };
26316
26314
  var initialState = {
26317
- currentSelector: dateSelection === DateSelectionType.TimeOnly ? DateTimeActionType.TimeSelector : DateTimeActionType.DaySelector,
26315
+ currentSelector: dateSelection === DateSelectionType.TimeOnly
26316
+ ? DateTimeActionType.TimeSelector
26317
+ : dateSelection === DateSelectionType.DateTime || dateSelection === DateSelectionType.DateOnly
26318
+ ? DateTimeActionType.DaySelector
26319
+ : DateTimeActionType.DateRangeSelector,
26318
26320
  currentViewDate: new Date(),
26319
26321
  selectedDateChanged: false,
26320
26322
  dateInitialized: false,
26321
26323
  };
26322
- var _k = useReducer(reducer, initialState), state = _k[0], dispatcher = _k[1];
26324
+ var _m = useReducer(reducer, initialState), state = _m[0], dispatcher = _m[1];
26323
26325
  var onFocus = function (event) {
26324
26326
  setDropDownElement();
26325
26327
  setSelectorOpen(true);
26326
26328
  };
26327
26329
  var onInput = function (event) {
26328
26330
  var dateString = event.target.innerText;
26329
- var inputDate = dateSelection !== DateSelectionType.DateRange ? parseDate(dateString) : parseDateRange(dateString);
26331
+ var inputDate = dateSelection !== DateSelectionType.DateRange
26332
+ ? parseDate(dateString, loadedLocale.current)
26333
+ : parseDateRange(dateString, loadedLocale.current);
26330
26334
  if (inputDate) {
26331
26335
  if (!Array.isArray(inputDate)) {
26332
26336
  dispatcher({
@@ -26362,6 +26366,13 @@ function DateTime(_a) {
26362
26366
  setDropDownElement();
26363
26367
  setSelectorOpen(!selectorOpen);
26364
26368
  };
26369
+ var onClearClick = function () {
26370
+ dispatcher({
26371
+ type: DateTimeActionType.ClearDates,
26372
+ });
26373
+ setSelectorOpen(false);
26374
+ onChange && onChange();
26375
+ };
26365
26376
  var onInputElementCreated = function (element) {
26366
26377
  if (!inputElementRef.current) {
26367
26378
  inputElementRef.current = element;
@@ -26375,7 +26386,11 @@ function DateTime(_a) {
26375
26386
  var onDateTimeHidden = function () {
26376
26387
  setSelectorOpen(false);
26377
26388
  dispatcher({
26378
- type: dateSelection === DateSelectionType.TimeOnly ? DateTimeActionType.TimeSelector : DateTimeActionType.DaySelector,
26389
+ type: dateSelection === DateSelectionType.TimeOnly
26390
+ ? DateTimeActionType.TimeSelector
26391
+ : dateSelection === DateSelectionType.DateTime || dateSelection === DateSelectionType.DateOnly
26392
+ ? DateTimeActionType.DaySelector
26393
+ : DateTimeActionType.DateRangeSelector,
26379
26394
  });
26380
26395
  if (onChange && dateSelection !== DateSelectionType.DateRange && state.selectedDate && state.selectedDateChanged) {
26381
26396
  onChange(state.selectedDate);
@@ -26453,31 +26468,30 @@ function DateTime(_a) {
26453
26468
  : '';
26454
26469
  }
26455
26470
  };
26456
- var canShowDateSelectors = dateSelection === DateSelectionType.DateTime || dateSelection === DateSelectionType.DateOnly;
26471
+ var canShowDateSelectors = dateSelection === DateSelectionType.DateTime ||
26472
+ dateSelection === DateSelectionType.DateOnly ||
26473
+ dateSelection === DateSelectionType.DateRange;
26457
26474
  var canShowTimeSelector = dateSelection === DateSelectionType.DateTime || dateSelection === DateSelectionType.TimeOnly;
26458
26475
  var inputProps = iconPosition === CalendarIconPosition.None
26459
26476
  ? {}
26460
26477
  : iconPosition === CalendarIconPosition.Right
26461
26478
  ? {
26462
- rightElement: icon || jsx(FontAwesomeIcon, { icon: ['far', 'calendar-alt'] }, void 0),
26463
- rightElementClassName: !readOnly ? 'bsc-cursor-pointer' : undefined,
26464
- onRightElementClick: !readOnly ? onCalendarClick : undefined,
26479
+ rightElement: (jsxs("div", __assign({ className: "bsc-flex" }, { children: [allowClear && !readOnly && (jsx("div", { children: jsx(FontAwesomeIcon, { className: "bsc-cursor-pointer bsc-text-sm", icon: ['fas', 'times'], size: "sm", onClick: onClearClick }, void 0) }, void 0)),
26480
+ jsx("div", __assign({ className: "bsc-ml-2" }, { children: icon || (jsx(FontAwesomeIcon, { className: !readOnly ? 'bsc-cursor-pointer' : undefined, icon: ['far', 'calendar-alt'], onClick: !readOnly ? onCalendarClick : undefined }, void 0)) }), void 0)] }), void 0)),
26465
26481
  }
26466
26482
  : {
26467
- leftElement: icon || jsx(FontAwesomeIcon, { icon: ['far', 'calendar-alt'] }, void 0),
26468
- leftElementClassName: !readOnly ? 'bsc-cursor-pointer' : undefined,
26469
- onLeftElementClick: !readOnly ? onCalendarClick : undefined,
26483
+ leftElement: (jsxs("div", __assign({ className: "bsc-flex" }, { children: [jsx("div", __assign({ className: "bsc-mr-2" }, { children: icon || (jsx(FontAwesomeIcon, { className: !readOnly ? 'bsc-cursor-pointer' : undefined, icon: ['far', 'calendar-alt'], onClick: !readOnly ? onCalendarClick : undefined }, void 0)) }), void 0),
26484
+ allowClear && !readOnly && (jsx("div", { children: jsx(FontAwesomeIcon, { className: "bsc-cursor-pointer bsc-text-sm", icon: ['fas', 'times'], size: "sm", onClick: onClearClick }, void 0) }, void 0))] }), void 0)),
26470
26485
  };
26471
26486
  var inputTemplateProps = {
26472
26487
  label: label,
26473
26488
  readOnly: readOnly,
26489
+ allowClear: allowClear,
26474
26490
  getValue: getValue,
26475
26491
  onFocus: onFocus,
26476
26492
  onInput: onInput,
26477
26493
  iconPosition: iconPosition,
26478
26494
  iconElement: inputProps.rightElement || inputProps.leftElement,
26479
- iconElementClassName: inputProps.rightElementClassName || inputProps.leftElementClassName,
26480
- onElementClick: inputProps.onRightElementClick || inputProps.onLeftElementClick,
26481
26495
  };
26482
26496
  var defaultTemplate = function (props, children) { return (jsx(Fragment$1, { children: children }, void 0)); };
26483
26497
  var template = inputTemplate || defaultTemplate;
@@ -26487,14 +26501,14 @@ function DateTime(_a) {
26487
26501
  _b), "dark:bsc-bg-black " + (colors === null || colors === void 0 ? void 0 : colors.inputBorderColor) + " bc-dt-input", className);
26488
26502
  return (jsx(DateTimeContext.Provider, __assign({ value: contextProps }, { children: jsxs("div", __assign({ className: "bc-date-time" }, { children: [jsxs(TemplateOutlet, __assign({ props: inputTemplateProps, template: template }, { children: [label && jsx("label", __assign({ className: "dark:bsc-text-white bc-dt-label" }, { children: label }), void 0),
26489
26503
  jsx(ContentEditableInput$1, __assign({ value: getValue(), readOnly: readOnly, className: inputStyles, onFocus: onFocus, onInput: onInput, onElementCreate: onInputElementCreated }, inputProps), void 0)] }), void 0),
26490
- jsx(OverlayPanel, __assign({ visible: selectorOpen, target: dropDownTarget, shouldTargetCloseOverlay: false, shouldScrollCloseOverlay: true, hidden: onDateTimeHidden, unmountWhenHidden: true }, { children: jsxs(Fragment$1, { children: [state.currentSelector === DateTimeActionType.DaySelector &&
26504
+ jsx(OverlayPanel, __assign({ visible: selectorOpen, target: dropDownTarget, shouldTargetCloseOverlay: false, shouldScrollCloseOverlay: true, shouldCheckZIndex: true, hidden: onDateTimeHidden, unmountWhenHidden: true }, { children: jsxs(Fragment$1, { children: [state.currentSelector === DateTimeActionType.DaySelector &&
26491
26505
  canShowDateSelectors &&
26492
26506
  state.dateInitialized &&
26493
26507
  loadedLocale.current && (jsx(DateTimeDaySelector, { selectedDate: state.selectedDate, viewDate: state.currentViewDate, locale: loadedLocale.current, showTimeSelector: dateSelection === DateSelectionType.DateTime, selectableDate: selectableDate, isValidDate: isValidDate, dispatcher: dispatcher }, void 0)),
26494
26508
  state.currentSelector === DateTimeActionType.MonthSelector &&
26495
26509
  canShowDateSelectors &&
26496
26510
  state.dateInitialized &&
26497
- loadedLocale.current && (jsx(DateTimeMonthSelector, { viewDate: state.currentViewDate, locale: loadedLocale.current, dispatcher: dispatcher }, void 0)),
26511
+ loadedLocale.current && (jsx(DateTimeMonthSelector, { viewDate: state.currentViewDate, locale: loadedLocale.current, dateSelection: dateSelection, dispatcher: dispatcher }, void 0)),
26498
26512
  state.currentSelector === DateTimeActionType.YearSelector &&
26499
26513
  canShowDateSelectors &&
26500
26514
  state.dateInitialized &&
@@ -26503,7 +26517,10 @@ function DateTime(_a) {
26503
26517
  canShowTimeSelector &&
26504
26518
  state.dateInitialized &&
26505
26519
  loadedLocale.current && (jsx(DateTimeTimeSelector, { viewDate: state.currentViewDate, showDateSelector: dateSelection === DateSelectionType.DateTime, locale: loadedLocale.current, timeConstraints: timeConstraints, dispatcher: dispatcher }, void 0)),
26506
- dateSelection === DateSelectionType.DateRange && state.dateInitialized && loadedLocale.current && (jsx(DateTimeRangeSelector, { viewDate: state.currentViewDate, selectedStartDate: state.selectedStartDate, selectedEndDate: state.selectedEndDate, locale: loadedLocale.current, dispatcher: dispatcher }, void 0))] }, void 0) }), void 0)] }), void 0) }), void 0));
26520
+ state.currentSelector === DateTimeActionType.DateRangeSelector &&
26521
+ canShowDateSelectors &&
26522
+ state.dateInitialized &&
26523
+ loadedLocale.current && (jsx(DateTimeRangeSelector, { viewDate: state.currentViewDate, selectedStartDate: state.selectedStartDate, selectedEndDate: state.selectedEndDate, locale: loadedLocale.current, dispatcher: dispatcher }, void 0))] }, void 0) }), void 0)] }), void 0) }), void 0));
26507
26524
  }
26508
26525
 
26509
26526
  function styleInject(css, ref) {
@@ -26533,7 +26550,7 @@ function styleInject(css, ref) {
26533
26550
  }
26534
26551
  }
26535
26552
 
26536
- var css_248z = "/*! tailwindcss v2.1.2 | MIT License | https://tailwindcss.com */\n\n/*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */\n\n/*\nDocument\n========\n*/\n\n/**\nUse a better box model (opinionated).\n*/\n\n*,\n::before,\n::after {\n box-sizing: border-box;\n}\n\n/**\nUse a more readable tab size (opinionated).\n*/\n\nhtml {\n -moz-tab-size: 4;\n tab-size: 4;\n}\n\n/**\n1. Correct the line height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n*/\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/*\nSections\n========\n*/\n\n/**\nRemove the margin in all browsers.\n*/\n\nbody {\n margin: 0;\n}\n\n/**\nImprove consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)\n*/\n\nbody {\n font-family:\n\t\tsystem-ui,\n\t\t-apple-system, /* Firefox supports this but not yet `system-ui` */\n\t\t'Segoe UI',\n\t\tRoboto,\n\t\tHelvetica,\n\t\tArial,\n\t\tsans-serif,\n\t\t'Apple Color Emoji',\n\t\t'Segoe UI Emoji';\n}\n\n/*\nGrouping content\n================\n*/\n\n/**\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n*/\n\nhr {\n height: 0; /* 1 */\n color: inherit; /* 2 */\n}\n\n/*\nText-level semantics\n====================\n*/\n\n/**\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\n\nabbr[title] {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n\n/**\nAdd the correct font weight in Edge and Safari.\n*/\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)\n2. Correct the odd 'em' font sizing in all browsers.\n*/\n\ncode,\nkbd,\nsamp,\npre {\n font-family:\n\t\tui-monospace,\n\t\tSFMono-Regular,\n\t\tConsolas,\n\t\t'Liberation Mono',\n\t\tMenlo,\n\t\tmonospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\nAdd the correct font size in all browsers.\n*/\n\nsmall {\n font-size: 80%;\n}\n\n/**\nPrevent 'sub' and 'sup' elements from affecting the line height in all browsers.\n*/\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/*\nTabular data\n============\n*/\n\n/**\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n*/\n\ntable {\n text-indent: 0; /* 1 */\n border-color: inherit; /* 2 */\n}\n\n/*\nForms\n=====\n*/\n\n/**\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n*/\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\nRemove the inheritance of text transform in Edge and Firefox.\n1. Remove the inheritance of text transform in Firefox.\n*/\n\nbutton,\nselect { /* 1 */\n text-transform: none;\n}\n\n/**\nCorrect the inability to style clickable types in iOS and Safari.\n*/\n\nbutton,\n[type='button'] {\n -webkit-appearance: button;\n}\n\n/**\nRemove the inner border and padding in Firefox.\n*/\n\n/**\nRestore the focus styles unset by the previous rule.\n*/\n\n/**\nRemove the additional ':invalid' styles in Firefox.\nSee: https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737\n*/\n\n/**\nRemove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.\n*/\n\nlegend {\n padding: 0;\n}\n\n/**\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n\n/**\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n\n/**\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n\n/**\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to 'inherit' in Safari.\n*/\n\n/*\nInteractive\n===========\n*/\n\n/*\nAdd the correct display in Chrome and Safari.\n*/\n\nsummary {\n display: list-item;\n}\n\n/**\n * Manually forked from SUIT CSS Base: https://github.com/suitcss/base\n * A thin layer on top of normalize.css that provides a starting point more\n * suitable for web applications.\n */\n\n/**\n * Removes the default spacing and border for appropriate elements.\n */\n\nblockquote,\ndl,\ndd,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nhr,\nfigure,\np,\npre {\n margin: 0;\n}\n\nbutton {\n background-color: transparent;\n background-image: none;\n}\n\n/**\n * Work around a Firefox/IE bug where the transparent `button` background\n * results in a loss of the default `button` focus styles.\n */\n\nbutton:focus {\n outline: 1px dotted;\n outline: 5px auto -webkit-focus-ring-color;\n}\n\nfieldset {\n margin: 0;\n padding: 0;\n}\n\nol,\nul {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n/**\n * Tailwind custom reset styles\n */\n\n/**\n * 1. Use the user's configured `sans` font-family (with Tailwind's default\n * sans-serif font stack as a fallback) as a sane default.\n * 2. Use Tailwind's default \"normal\" line-height so the user isn't forced\n * to override it to ensure consistency even when using the default theme.\n */\n\nhtml {\n font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"; /* 1 */\n line-height: 1.5; /* 2 */\n}\n\n/**\n * Inherit font-family and line-height from `html` so users can set them as\n * a class directly on the `html` element.\n */\n\nbody {\n font-family: inherit;\n line-height: inherit;\n}\n\n/**\n * 1. Prevent padding and border from affecting element width.\n *\n * We used to set this in the html element and inherit from\n * the parent element for everything else. This caused issues\n * in shadow-dom-enhanced elements like <details> where the content\n * is wrapped by a div with box-sizing set to `content-box`.\n *\n * https://github.com/mozdevs/cssremedy/issues/4\n *\n *\n * 2. Allow adding a border to an element by just adding a border-width.\n *\n * By default, the way the browser specifies that an element should have no\n * border is by setting it's border-style to `none` in the user-agent\n * stylesheet.\n *\n * In order to easily add borders to elements by just setting the `border-width`\n * property, we change the default border-style for all elements to `solid`, and\n * use border-width to hide them instead. This way our `border` utilities only\n * need to set the `border-width` property instead of the entire `border`\n * shorthand, making our border utilities much more straightforward to compose.\n *\n * https://github.com/tailwindcss/tailwindcss/pull/116\n */\n\n*,\n::before,\n::after {\n box-sizing: border-box; /* 1 */\n border-width: 0; /* 2 */\n border-style: solid; /* 2 */\n border-color: #e5e7eb; /* 2 */\n}\n\n/*\n * Ensure horizontal rules are visible by default\n */\n\nhr {\n border-top-width: 1px;\n}\n\n/**\n * Undo the `border-style: none` reset that Normalize applies to images so that\n * our `border-{width}` utilities have the expected effect.\n *\n * The Normalize reset is unnecessary for us since we default the border-width\n * to 0 on all elements.\n *\n * https://github.com/tailwindcss/tailwindcss/issues/362\n */\n\nimg {\n border-style: solid;\n}\n\ntextarea {\n resize: vertical;\n}\n\ninput::-webkit-input-placeholder, textarea::-webkit-input-placeholder {\n opacity: 1;\n color: #9ca3af;\n}\n\ninput:-ms-input-placeholder, textarea:-ms-input-placeholder {\n opacity: 1;\n color: #9ca3af;\n}\n\ninput::placeholder,\ntextarea::placeholder {\n opacity: 1;\n color: #9ca3af;\n}\n\nbutton {\n cursor: pointer;\n}\n\ntable {\n border-collapse: collapse;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: inherit;\n font-weight: inherit;\n}\n\n/**\n * Reset links to optimize for opt-in styling instead of\n * opt-out.\n */\n\na {\n color: inherit;\n text-decoration: inherit;\n}\n\n/**\n * Reset form element properties that are easy to forget to\n * style explicitly so you don't inadvertently introduce\n * styles that deviate from your design system. These styles\n * supplement a partial reset that is already applied by\n * normalize.css.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n padding: 0;\n line-height: inherit;\n color: inherit;\n}\n\n/**\n * Use the configured 'mono' font family for elements that\n * are expected to be rendered with a monospace font, falling\n * back to the system monospace stack if there is no configured\n * 'mono' font family.\n */\n\npre,\ncode,\nkbd,\nsamp {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;\n}\n\n/**\n * Make replaced elements `display: block` by default as that's\n * the behavior you want almost all of the time. Inspired by\n * CSS Remedy, with `svg` added as well.\n *\n * https://github.com/mozdevs/cssremedy/issues/14\n */\n\nimg,\nsvg,\nvideo,\ncanvas,\naudio,\niframe,\nembed,\nobject {\n display: block;\n vertical-align: middle;\n}\n\n/**\n * Constrain images and videos to the parent width and preserve\n * their intrinsic aspect ratio.\n *\n * https://github.com/mozdevs/cssremedy/issues/14\n */\n\nimg,\nvideo {\n max-width: 100%;\n height: auto;\n}\n\n.bsc-bg-white {\n --tw-bg-opacity: 1;\n background-color: rgba(255, 255, 255, var(--tw-bg-opacity));\n}\n\n.bsc-bg-gray-200 {\n --tw-bg-opacity: 1;\n background-color: rgba(229, 231, 235, var(--tw-bg-opacity));\n}\n\n.bsc-bg-gray-900 {\n --tw-bg-opacity: 1;\n background-color: rgba(17, 24, 39, var(--tw-bg-opacity));\n}\n\n.bsc-bg-red-500 {\n --tw-bg-opacity: 1;\n background-color: rgba(239, 68, 68, var(--tw-bg-opacity));\n}\n\n.bsc-bg-green-100 {\n --tw-bg-opacity: 1;\n background-color: rgba(209, 250, 229, var(--tw-bg-opacity));\n}\n\n.bsc-bg-blue-100 {\n --tw-bg-opacity: 1;\n background-color: rgba(219, 234, 254, var(--tw-bg-opacity));\n}\n\n.bsc-bg-blue-200 {\n --tw-bg-opacity: 1;\n background-color: rgba(191, 219, 254, var(--tw-bg-opacity));\n}\n\n.hover\\:bsc-bg-gray-300:hover {\n --tw-bg-opacity: 1;\n background-color: rgba(209, 213, 219, var(--tw-bg-opacity));\n}\n\n.bsc-dark .dark\\:bsc-bg-black {\n --tw-bg-opacity: 1;\n background-color: rgba(0, 0, 0, var(--tw-bg-opacity));\n}\n\n.bsc-dark .dark\\:bsc-bg-white {\n --tw-bg-opacity: 1;\n background-color: rgba(255, 255, 255, var(--tw-bg-opacity));\n}\n\n.bsc-dark .dark\\:bsc-bg-gray-900 {\n --tw-bg-opacity: 1;\n background-color: rgba(17, 24, 39, var(--tw-bg-opacity));\n}\n\n.bsc-dark .dark\\:hover\\:bsc-bg-white:hover {\n --tw-bg-opacity: 1;\n background-color: rgba(255, 255, 255, var(--tw-bg-opacity));\n}\n\n.bsc-border-transparent {\n border-color: transparent;\n}\n\n.bsc-border-black {\n --tw-border-opacity: 1;\n border-color: rgba(0, 0, 0, var(--tw-border-opacity));\n}\n\n.bsc-border-gray-300 {\n --tw-border-opacity: 1;\n border-color: rgba(209, 213, 219, var(--tw-border-opacity));\n}\n\n.bsc-border-gray-400 {\n --tw-border-opacity: 1;\n border-color: rgba(156, 163, 175, var(--tw-border-opacity));\n}\n\n.bsc-border-gray-500 {\n --tw-border-opacity: 1;\n border-color: rgba(107, 114, 128, var(--tw-border-opacity));\n}\n\n.bsc-dark .dark\\:bsc-border-white {\n --tw-border-opacity: 1;\n border-color: rgba(255, 255, 255, var(--tw-border-opacity));\n}\n\n.bsc-rounded-md {\n border-radius: 0.375rem;\n}\n\n.bsc-rounded-full {\n border-radius: 9999px;\n}\n\n.bsc-border-solid {\n border-style: solid;\n}\n\n.bsc-border-none {\n border-style: none;\n}\n\n.bsc-border {\n border-width: 1px;\n}\n\n.bsc-border-r {\n border-right-width: 1px;\n}\n\n.bsc-cursor-pointer {\n cursor: pointer;\n}\n\n.bsc-cursor-not-allowed {\n cursor: not-allowed;\n}\n\n.bsc-flex {\n display: flex;\n}\n\n.bsc-grid {\n display: grid;\n}\n\n.bsc-flex-row {\n flex-direction: row;\n}\n\n.bsc-flex-col {\n flex-direction: column;\n}\n\n.bsc-justify-center {\n justify-content: center;\n}\n\n.bsc-flex-grow {\n flex-grow: 1;\n}\n\n.bsc-flex-shrink {\n flex-shrink: 1;\n}\n\n.bsc-font-bold {\n font-weight: 700;\n}\n\n.bsc-text-sm {\n font-size: 0.875rem;\n line-height: 1.25rem;\n}\n\n.bsc-mr-2 {\n margin-right: 0.5rem;\n}\n\n.bsc-ml-2 {\n margin-left: 0.5rem;\n}\n\n.focus\\:bsc-outline-none:focus {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\n.bsc-overflow-hidden {\n overflow: hidden;\n}\n\n.bsc-overflow-scroll {\n overflow: scroll;\n}\n\n.bsc-overflow-x-auto {\n overflow-x: auto;\n}\n\n.bsc-overflow-y-hidden {\n overflow-y: hidden;\n}\n\n.bsc-p-2 {\n padding: 0.5rem;\n}\n\n.bsc-p-4 {\n padding: 1rem;\n}\n\n.bsc-py-1 {\n padding-top: 0.25rem;\n padding-bottom: 0.25rem;\n}\n\n.bsc-px-2 {\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n}\n\n.bsc-pr-4 {\n padding-right: 1rem;\n}\n\n.bsc-pl-4 {\n padding-left: 1rem;\n}\n\n.bsc-pb-8 {\n padding-bottom: 2rem;\n}\n\n.bsc-fixed {\n position: fixed;\n}\n\n* {\n --tw-shadow: 0 0 #0000;\n}\n\n.bsc-shadow-sm {\n --tw-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.bsc-shadow {\n --tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n* {\n --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgba(59, 130, 246, 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n}\n\n.bsc-text-left {\n text-align: left;\n}\n\n.bsc-text-center {\n text-align: center;\n}\n\n.bsc-text-gray-400 {\n --tw-text-opacity: 1;\n color: rgba(156, 163, 175, var(--tw-text-opacity));\n}\n\n.bsc-text-red-300 {\n --tw-text-opacity: 1;\n color: rgba(252, 165, 165, var(--tw-text-opacity));\n}\n\n.bsc-dark .dark\\:bsc-text-black {\n --tw-text-opacity: 1;\n color: rgba(0, 0, 0, var(--tw-text-opacity));\n}\n\n.bsc-dark .dark\\:bsc-text-white {\n --tw-text-opacity: 1;\n color: rgba(255, 255, 255, var(--tw-text-opacity));\n}\n\n.bsc-dark .dark\\:hover\\:bsc-text-black:hover {\n --tw-text-opacity: 1;\n color: rgba(0, 0, 0, var(--tw-text-opacity));\n}\n\n.bsc-whitespace-pre {\n white-space: pre;\n}\n\n.bsc-w-24 {\n width: 6rem;\n}\n\n.bsc-w-full {\n width: 100%;\n}\n\n.bsc-gap-3 {\n gap: 0.75rem;\n}\n\n.bsc-gap-4 {\n gap: 1rem;\n}\n\n.bsc-grid-cols-4 {\n grid-template-columns: repeat(4, minmax(0, 1fr));\n}\n\n.bsc-grid-cols-7 {\n grid-template-columns: repeat(7, minmax(0, 1fr));\n}\n\n.bsc-col-span-4 {\n grid-column: span 4 / span 4;\n}\n\n@-webkit-keyframes bsc-spin {\n to {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes bsc-spin {\n to {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@-webkit-keyframes bsc-ping {\n 75%, 100% {\n -webkit-transform: scale(2);\n transform: scale(2);\n opacity: 0;\n }\n}\n\n@keyframes bsc-ping {\n 75%, 100% {\n -webkit-transform: scale(2);\n transform: scale(2);\n opacity: 0;\n }\n}\n\n@-webkit-keyframes bsc-pulse {\n 50% {\n opacity: .5;\n }\n}\n\n@keyframes bsc-pulse {\n 50% {\n opacity: .5;\n }\n}\n\n@-webkit-keyframes bsc-bounce {\n 0%, 100% {\n -webkit-transform: translateY(-25%);\n transform: translateY(-25%);\n -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1);\n animation-timing-function: cubic-bezier(0.8,0,1,1);\n }\n\n 50% {\n -webkit-transform: none;\n transform: none;\n -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1);\n animation-timing-function: cubic-bezier(0,0,0.2,1);\n }\n}\n\n@keyframes bsc-bounce {\n 0%, 100% {\n -webkit-transform: translateY(-25%);\n transform: translateY(-25%);\n -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1);\n animation-timing-function: cubic-bezier(0.8,0,1,1);\n }\n\n 50% {\n -webkit-transform: none;\n transform: none;\n -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1);\n animation-timing-function: cubic-bezier(0,0,0.2,1);\n }\n}\n\nbody {\n margin: 0;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',\n 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',\n sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\ncode {\n font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',\n monospace;\n}\n\n@media (min-width: 640px) {\n}\n\n@media (min-width: 768px) {\n}\n\n@media (min-width: 1024px) {\n}\n\n@media (min-width: 1280px) {\n}\n\n@media (min-width: 1536px) {\n}\n";
26553
+ var css_248z = "/*! tailwindcss v2.1.2 | MIT License | https://tailwindcss.com */\n\n/*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */\n\n/*\nDocument\n========\n*/\n\n/**\nUse a better box model (opinionated).\n*/\n\n*,\n::before,\n::after {\n box-sizing: border-box;\n}\n\n/**\nUse a more readable tab size (opinionated).\n*/\n\nhtml {\n tab-size: 4;\n}\n\n/**\n1. Correct the line height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n*/\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/*\nSections\n========\n*/\n\n/**\nRemove the margin in all browsers.\n*/\n\nbody {\n margin: 0;\n}\n\n/**\nImprove consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)\n*/\n\nbody {\n font-family:\n\t\tsystem-ui,\n\t\t-apple-system, /* Firefox supports this but not yet `system-ui` */\n\t\t'Segoe UI',\n\t\tRoboto,\n\t\tHelvetica,\n\t\tArial,\n\t\tsans-serif,\n\t\t'Apple Color Emoji',\n\t\t'Segoe UI Emoji';\n}\n\n/*\nGrouping content\n================\n*/\n\n/**\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n*/\n\nhr {\n height: 0; /* 1 */\n color: inherit; /* 2 */\n}\n\n/*\nText-level semantics\n====================\n*/\n\n/**\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\n\nabbr[title] {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n\n/**\nAdd the correct font weight in Edge and Safari.\n*/\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)\n2. Correct the odd 'em' font sizing in all browsers.\n*/\n\ncode,\nkbd,\nsamp,\npre {\n font-family:\n\t\tui-monospace,\n\t\tSFMono-Regular,\n\t\tConsolas,\n\t\t'Liberation Mono',\n\t\tMenlo,\n\t\tmonospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\nAdd the correct font size in all browsers.\n*/\n\nsmall {\n font-size: 80%;\n}\n\n/**\nPrevent 'sub' and 'sup' elements from affecting the line height in all browsers.\n*/\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/*\nTabular data\n============\n*/\n\n/**\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n*/\n\ntable {\n text-indent: 0; /* 1 */\n border-color: inherit; /* 2 */\n}\n\n/*\nForms\n=====\n*/\n\n/**\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n*/\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\nRemove the inheritance of text transform in Edge and Firefox.\n1. Remove the inheritance of text transform in Firefox.\n*/\n\nbutton,\nselect { /* 1 */\n text-transform: none;\n}\n\n/**\nCorrect the inability to style clickable types in iOS and Safari.\n*/\n\nbutton,\n[type='button'] {\n -webkit-appearance: button;\n}\n\n/**\nRemove the inner border and padding in Firefox.\n*/\n\n/**\nRestore the focus styles unset by the previous rule.\n*/\n\n/**\nRemove the additional ':invalid' styles in Firefox.\nSee: https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737\n*/\n\n/**\nRemove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.\n*/\n\nlegend {\n padding: 0;\n}\n\n/**\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n\n/**\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n\n/**\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n\n/**\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to 'inherit' in Safari.\n*/\n\n/*\nInteractive\n===========\n*/\n\n/*\nAdd the correct display in Chrome and Safari.\n*/\n\nsummary {\n display: list-item;\n}\n\n/**\n * Manually forked from SUIT CSS Base: https://github.com/suitcss/base\n * A thin layer on top of normalize.css that provides a starting point more\n * suitable for web applications.\n */\n\n/**\n * Removes the default spacing and border for appropriate elements.\n */\n\nblockquote,\ndl,\ndd,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nhr,\nfigure,\np,\npre {\n margin: 0;\n}\n\nbutton {\n background-color: transparent;\n background-image: none;\n}\n\n/**\n * Work around a Firefox/IE bug where the transparent `button` background\n * results in a loss of the default `button` focus styles.\n */\n\nbutton:focus {\n outline: 1px dotted;\n outline: 5px auto -webkit-focus-ring-color;\n}\n\nfieldset {\n margin: 0;\n padding: 0;\n}\n\nol,\nul {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n/**\n * Tailwind custom reset styles\n */\n\n/**\n * 1. Use the user's configured `sans` font-family (with Tailwind's default\n * sans-serif font stack as a fallback) as a sane default.\n * 2. Use Tailwind's default \"normal\" line-height so the user isn't forced\n * to override it to ensure consistency even when using the default theme.\n */\n\nhtml {\n font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"; /* 1 */\n line-height: 1.5; /* 2 */\n}\n\n/**\n * Inherit font-family and line-height from `html` so users can set them as\n * a class directly on the `html` element.\n */\n\nbody {\n font-family: inherit;\n line-height: inherit;\n}\n\n/**\n * 1. Prevent padding and border from affecting element width.\n *\n * We used to set this in the html element and inherit from\n * the parent element for everything else. This caused issues\n * in shadow-dom-enhanced elements like <details> where the content\n * is wrapped by a div with box-sizing set to `content-box`.\n *\n * https://github.com/mozdevs/cssremedy/issues/4\n *\n *\n * 2. Allow adding a border to an element by just adding a border-width.\n *\n * By default, the way the browser specifies that an element should have no\n * border is by setting it's border-style to `none` in the user-agent\n * stylesheet.\n *\n * In order to easily add borders to elements by just setting the `border-width`\n * property, we change the default border-style for all elements to `solid`, and\n * use border-width to hide them instead. This way our `border` utilities only\n * need to set the `border-width` property instead of the entire `border`\n * shorthand, making our border utilities much more straightforward to compose.\n *\n * https://github.com/tailwindcss/tailwindcss/pull/116\n */\n\n*,\n::before,\n::after {\n box-sizing: border-box; /* 1 */\n border-width: 0; /* 2 */\n border-style: solid; /* 2 */\n border-color: #e5e7eb; /* 2 */\n}\n\n/*\n * Ensure horizontal rules are visible by default\n */\n\nhr {\n border-top-width: 1px;\n}\n\n/**\n * Undo the `border-style: none` reset that Normalize applies to images so that\n * our `border-{width}` utilities have the expected effect.\n *\n * The Normalize reset is unnecessary for us since we default the border-width\n * to 0 on all elements.\n *\n * https://github.com/tailwindcss/tailwindcss/issues/362\n */\n\nimg {\n border-style: solid;\n}\n\ntextarea {\n resize: vertical;\n}\n\ninput::-webkit-input-placeholder, textarea::-webkit-input-placeholder {\n opacity: 1;\n color: #9ca3af;\n}\n\ninput:-ms-input-placeholder, textarea:-ms-input-placeholder {\n opacity: 1;\n color: #9ca3af;\n}\n\ninput::placeholder,\ntextarea::placeholder {\n opacity: 1;\n color: #9ca3af;\n}\n\nbutton {\n cursor: pointer;\n}\n\ntable {\n border-collapse: collapse;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: inherit;\n font-weight: inherit;\n}\n\n/**\n * Reset links to optimize for opt-in styling instead of\n * opt-out.\n */\n\na {\n color: inherit;\n text-decoration: inherit;\n}\n\n/**\n * Reset form element properties that are easy to forget to\n * style explicitly so you don't inadvertently introduce\n * styles that deviate from your design system. These styles\n * supplement a partial reset that is already applied by\n * normalize.css.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n padding: 0;\n line-height: inherit;\n color: inherit;\n}\n\n/**\n * Use the configured 'mono' font family for elements that\n * are expected to be rendered with a monospace font, falling\n * back to the system monospace stack if there is no configured\n * 'mono' font family.\n */\n\npre,\ncode,\nkbd,\nsamp {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;\n}\n\n/**\n * Make replaced elements `display: block` by default as that's\n * the behavior you want almost all of the time. Inspired by\n * CSS Remedy, with `svg` added as well.\n *\n * https://github.com/mozdevs/cssremedy/issues/14\n */\n\nimg,\nsvg,\nvideo,\ncanvas,\naudio,\niframe,\nembed,\nobject {\n display: block;\n vertical-align: middle;\n}\n\n/**\n * Constrain images and videos to the parent width and preserve\n * their intrinsic aspect ratio.\n *\n * https://github.com/mozdevs/cssremedy/issues/14\n */\n\nimg,\nvideo {\n max-width: 100%;\n height: auto;\n}\n\n.bsc-bg-white {\n --tw-bg-opacity: 1;\n background-color: rgba(255, 255, 255, var(--tw-bg-opacity));\n}\n\n.bsc-bg-gray-200 {\n --tw-bg-opacity: 1;\n background-color: rgba(229, 231, 235, var(--tw-bg-opacity));\n}\n\n.bsc-bg-gray-900 {\n --tw-bg-opacity: 1;\n background-color: rgba(17, 24, 39, var(--tw-bg-opacity));\n}\n\n.bsc-bg-red-500 {\n --tw-bg-opacity: 1;\n background-color: rgba(239, 68, 68, var(--tw-bg-opacity));\n}\n\n.bsc-bg-green-100 {\n --tw-bg-opacity: 1;\n background-color: rgba(209, 250, 229, var(--tw-bg-opacity));\n}\n\n.bsc-bg-blue-100 {\n --tw-bg-opacity: 1;\n background-color: rgba(219, 234, 254, var(--tw-bg-opacity));\n}\n\n.bsc-bg-blue-200 {\n --tw-bg-opacity: 1;\n background-color: rgba(191, 219, 254, var(--tw-bg-opacity));\n}\n\n.hover\\:bsc-bg-gray-300:hover {\n --tw-bg-opacity: 1;\n background-color: rgba(209, 213, 219, var(--tw-bg-opacity));\n}\n\n.bsc-dark .dark\\:bsc-bg-black {\n --tw-bg-opacity: 1;\n background-color: rgba(0, 0, 0, var(--tw-bg-opacity));\n}\n\n.bsc-dark .dark\\:bsc-bg-white {\n --tw-bg-opacity: 1;\n background-color: rgba(255, 255, 255, var(--tw-bg-opacity));\n}\n\n.bsc-dark .dark\\:bsc-bg-gray-900 {\n --tw-bg-opacity: 1;\n background-color: rgba(17, 24, 39, var(--tw-bg-opacity));\n}\n\n.bsc-dark .dark\\:hover\\:bsc-bg-white:hover {\n --tw-bg-opacity: 1;\n background-color: rgba(255, 255, 255, var(--tw-bg-opacity));\n}\n\n.bsc-border-transparent {\n border-color: transparent;\n}\n\n.bsc-border-black {\n --tw-border-opacity: 1;\n border-color: rgba(0, 0, 0, var(--tw-border-opacity));\n}\n\n.bsc-border-gray-300 {\n --tw-border-opacity: 1;\n border-color: rgba(209, 213, 219, var(--tw-border-opacity));\n}\n\n.bsc-border-gray-400 {\n --tw-border-opacity: 1;\n border-color: rgba(156, 163, 175, var(--tw-border-opacity));\n}\n\n.bsc-border-gray-500 {\n --tw-border-opacity: 1;\n border-color: rgba(107, 114, 128, var(--tw-border-opacity));\n}\n\n.bsc-dark .dark\\:bsc-border-white {\n --tw-border-opacity: 1;\n border-color: rgba(255, 255, 255, var(--tw-border-opacity));\n}\n\n.bsc-rounded-md {\n border-radius: 0.375rem;\n}\n\n.bsc-rounded-full {\n border-radius: 9999px;\n}\n\n.bsc-border-solid {\n border-style: solid;\n}\n\n.bsc-border-none {\n border-style: none;\n}\n\n.bsc-border {\n border-width: 1px;\n}\n\n.bsc-border-r {\n border-right-width: 1px;\n}\n\n.bsc-cursor-pointer {\n cursor: pointer;\n}\n\n.bsc-cursor-not-allowed {\n cursor: not-allowed;\n}\n\n.bsc-flex {\n display: flex;\n}\n\n.bsc-grid {\n display: grid;\n}\n\n.bsc-flex-row {\n flex-direction: row;\n}\n\n.bsc-flex-col {\n flex-direction: column;\n}\n\n.bsc-justify-center {\n justify-content: center;\n}\n\n.bsc-flex-grow {\n flex-grow: 1;\n}\n\n.bsc-flex-shrink {\n flex-shrink: 1;\n}\n\n.bsc-font-bold {\n font-weight: 700;\n}\n\n.bsc-text-sm {\n font-size: 0.875rem;\n line-height: 1.25rem;\n}\n\n.bsc-mr-2 {\n margin-right: 0.5rem;\n}\n\n.bsc-ml-2 {\n margin-left: 0.5rem;\n}\n\n.focus\\:bsc-outline-none:focus {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\n.bsc-overflow-hidden {\n overflow: hidden;\n}\n\n.bsc-overflow-scroll {\n overflow: scroll;\n}\n\n.bsc-overflow-x-auto {\n overflow-x: auto;\n}\n\n.bsc-overflow-y-hidden {\n overflow-y: hidden;\n}\n\n.bsc-p-2 {\n padding: 0.5rem;\n}\n\n.bsc-p-4 {\n padding: 1rem;\n}\n\n.bsc-py-1 {\n padding-top: 0.25rem;\n padding-bottom: 0.25rem;\n}\n\n.bsc-px-2 {\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n}\n\n.bsc-pr-4 {\n padding-right: 1rem;\n}\n\n.bsc-pl-4 {\n padding-left: 1rem;\n}\n\n.bsc-pb-8 {\n padding-bottom: 2rem;\n}\n\n.bsc-absolute {\n position: absolute;\n}\n\n* {\n --tw-shadow: 0 0 #0000;\n}\n\n.bsc-shadow-sm {\n --tw-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.bsc-shadow {\n --tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n* {\n --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgba(59, 130, 246, 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n}\n\n.bsc-text-left {\n text-align: left;\n}\n\n.bsc-text-center {\n text-align: center;\n}\n\n.bsc-text-gray-400 {\n --tw-text-opacity: 1;\n color: rgba(156, 163, 175, var(--tw-text-opacity));\n}\n\n.bsc-text-red-300 {\n --tw-text-opacity: 1;\n color: rgba(252, 165, 165, var(--tw-text-opacity));\n}\n\n.bsc-dark .dark\\:bsc-text-black {\n --tw-text-opacity: 1;\n color: rgba(0, 0, 0, var(--tw-text-opacity));\n}\n\n.bsc-dark .dark\\:bsc-text-white {\n --tw-text-opacity: 1;\n color: rgba(255, 255, 255, var(--tw-text-opacity));\n}\n\n.bsc-dark .dark\\:hover\\:bsc-text-black:hover {\n --tw-text-opacity: 1;\n color: rgba(0, 0, 0, var(--tw-text-opacity));\n}\n\n.bsc-whitespace-pre {\n white-space: pre;\n}\n\n.bsc-w-24 {\n width: 6rem;\n}\n\n.bsc-w-full {\n width: 100%;\n}\n\n.bsc-gap-3 {\n gap: 0.75rem;\n}\n\n.bsc-gap-4 {\n gap: 1rem;\n}\n\n.bsc-grid-cols-4 {\n grid-template-columns: repeat(4, minmax(0, 1fr));\n}\n\n.bsc-grid-cols-7 {\n grid-template-columns: repeat(7, minmax(0, 1fr));\n}\n\n.bsc-col-span-4 {\n grid-column: span 4 / span 4;\n}\n\n@-webkit-keyframes bsc-spin {\n to {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes bsc-spin {\n to {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@-webkit-keyframes bsc-ping {\n 75%, 100% {\n -webkit-transform: scale(2);\n transform: scale(2);\n opacity: 0;\n }\n}\n\n@keyframes bsc-ping {\n 75%, 100% {\n -webkit-transform: scale(2);\n transform: scale(2);\n opacity: 0;\n }\n}\n\n@-webkit-keyframes bsc-pulse {\n 50% {\n opacity: .5;\n }\n}\n\n@keyframes bsc-pulse {\n 50% {\n opacity: .5;\n }\n}\n\n@-webkit-keyframes bsc-bounce {\n 0%, 100% {\n -webkit-transform: translateY(-25%);\n transform: translateY(-25%);\n -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1);\n animation-timing-function: cubic-bezier(0.8,0,1,1);\n }\n\n 50% {\n -webkit-transform: none;\n transform: none;\n -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1);\n animation-timing-function: cubic-bezier(0,0,0.2,1);\n }\n}\n\n@keyframes bsc-bounce {\n 0%, 100% {\n -webkit-transform: translateY(-25%);\n transform: translateY(-25%);\n -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1);\n animation-timing-function: cubic-bezier(0.8,0,1,1);\n }\n\n 50% {\n -webkit-transform: none;\n transform: none;\n -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1);\n animation-timing-function: cubic-bezier(0,0,0.2,1);\n }\n}\n\nbody {\n margin: 0;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',\n 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',\n sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\ncode {\n font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',\n monospace;\n}\n\n@media (min-width: 640px) {\n}\n\n@media (min-width: 768px) {\n}\n\n@media (min-width: 1024px) {\n}\n\n@media (min-width: 1280px) {\n}\n\n@media (min-width: 1536px) {\n}\n";
26537
26554
  styleInject(css_248z);
26538
26555
 
26539
26556
  /*!
@@ -26560,6 +26577,11 @@ var faChevronUp = {
26560
26577
  iconName: 'chevron-up',
26561
26578
  icon: [448, 512, [], "f077", "M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z"]
26562
26579
  };
26580
+ var faTimes = {
26581
+ prefix: 'fas',
26582
+ iconName: 'times',
26583
+ icon: [352, 512, [], "f00d", "M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"]
26584
+ };
26563
26585
 
26564
26586
  /*!
26565
26587
  * Font Awesome Free 5.15.3 by @fontawesome - https://fontawesome.com
@@ -26576,6 +26598,6 @@ var faCalendarTimes = {
26576
26598
  icon: [448, 512, [], "f273", "M311.7 374.7l-17 17c-4.7 4.7-12.3 4.7-17 0L224 337.9l-53.7 53.7c-4.7 4.7-12.3 4.7-17 0l-17-17c-4.7-4.7-4.7-12.3 0-17l53.7-53.7-53.7-53.7c-4.7-4.7-4.7-12.3 0-17l17-17c4.7-4.7 12.3-4.7 17 0l53.7 53.7 53.7-53.7c4.7-4.7 12.3-4.7 17 0l17 17c4.7 4.7 4.7 12.3 0 17L257.9 304l53.7 53.7c4.8 4.7 4.8 12.3.1 17zM448 112v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"]
26577
26599
  };
26578
26600
 
26579
- library.add(faAngleRight, faAngleLeft, faChevronUp, faChevronDown, faCalendarAlt, faCalendarTimes);
26601
+ library.add(faAngleRight, faAngleLeft, faChevronUp, faChevronDown, faCalendarAlt, faCalendarTimes, faTimes);
26580
26602
 
26581
26603
  export { DateTime, OverlayPanel };