@bcgov/design-system-react-components 0.8.1-pr812 → 0.8.1-pr814

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.
@@ -84,16 +84,16 @@ const $c4867b2f328c2698$export$e5c5a5f917a5871c = typeof document !== 'undefined
84
84
  // being on the page at once, the prefix is set to a random number. SSRProvider
85
85
  // will reset this to zero for consistency between server and client, so in the
86
86
  // SSR case multiple copies of React Aria is not supported.
87
- const $c7eafbbe1ea5834e$var$defaultContext$2 = {
87
+ const $c7eafbbe1ea5834e$var$defaultContext$1 = {
88
88
  prefix: String(Math.round(Math.random() * 10000000000)),
89
89
  current: 0
90
90
  };
91
- const $c7eafbbe1ea5834e$var$SSRContext$2 = /*#__PURE__*/ ($8WNJc$react).createContext($c7eafbbe1ea5834e$var$defaultContext$2);
92
- const $c7eafbbe1ea5834e$var$IsSSRContext$2 = /*#__PURE__*/ ($8WNJc$react).createContext(false);
93
- let $c7eafbbe1ea5834e$var$canUseDOM$2 = Boolean(typeof window !== 'undefined' && window.document && window.document.createElement);
94
- let $c7eafbbe1ea5834e$var$componentIds$2 = new WeakMap();
95
- function $c7eafbbe1ea5834e$var$useCounter$2(isDisabled = false) {
96
- let ctx = ($8WNJc$react.useContext)($c7eafbbe1ea5834e$var$SSRContext$2);
91
+ const $c7eafbbe1ea5834e$var$SSRContext$1 = /*#__PURE__*/ ($8WNJc$react).createContext($c7eafbbe1ea5834e$var$defaultContext$1);
92
+ const $c7eafbbe1ea5834e$var$IsSSRContext$1 = /*#__PURE__*/ ($8WNJc$react).createContext(false);
93
+ let $c7eafbbe1ea5834e$var$canUseDOM$1 = Boolean(typeof window !== 'undefined' && window.document && window.document.createElement);
94
+ let $c7eafbbe1ea5834e$var$componentIds$1 = new WeakMap();
95
+ function $c7eafbbe1ea5834e$var$useCounter$1(isDisabled = false) {
96
+ let ctx = ($8WNJc$react.useContext)($c7eafbbe1ea5834e$var$SSRContext$1);
97
97
  let ref = ($8WNJc$react.useRef)(null);
98
98
  // eslint-disable-next-line rulesdir/pure-render
99
99
  if (ref.current === null && !isDisabled) {
@@ -109,9 +109,9 @@ function $c7eafbbe1ea5834e$var$useCounter$2(isDisabled = false) {
109
109
  // @ts-ignore
110
110
  let currentOwner = ($8WNJc$react).__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;
111
111
  if (currentOwner) {
112
- let prevComponentValue = $c7eafbbe1ea5834e$var$componentIds$2.get(currentOwner);
112
+ let prevComponentValue = $c7eafbbe1ea5834e$var$componentIds$1.get(currentOwner);
113
113
  if (prevComponentValue == null) // On the first render, and first call to useId, store the id and state in our weak map.
114
- $c7eafbbe1ea5834e$var$componentIds$2.set(currentOwner, {
114
+ $c7eafbbe1ea5834e$var$componentIds$1.set(currentOwner, {
115
115
  id: ctx.current,
116
116
  state: currentOwner.memoizedState
117
117
  });
@@ -120,7 +120,7 @@ function $c7eafbbe1ea5834e$var$useCounter$2(isDisabled = false) {
120
120
  // Reset the counter, and remove from the weak map so we don't
121
121
  // do this for subsequent useId calls.
122
122
  ctx.current = prevComponentValue.id;
123
- $c7eafbbe1ea5834e$var$componentIds$2.delete(currentOwner);
123
+ $c7eafbbe1ea5834e$var$componentIds$1.delete(currentOwner);
124
124
  }
125
125
  }
126
126
  // eslint-disable-next-line rulesdir/pure-render
@@ -129,38 +129,38 @@ function $c7eafbbe1ea5834e$var$useCounter$2(isDisabled = false) {
129
129
  // eslint-disable-next-line rulesdir/pure-render
130
130
  return ref.current;
131
131
  }
132
- function $c7eafbbe1ea5834e$var$useLegacySSRSafeId$2(defaultId) {
133
- let ctx = ($8WNJc$react.useContext)($c7eafbbe1ea5834e$var$SSRContext$2);
132
+ function $c7eafbbe1ea5834e$var$useLegacySSRSafeId$1(defaultId) {
133
+ let ctx = ($8WNJc$react.useContext)($c7eafbbe1ea5834e$var$SSRContext$1);
134
134
  // If we are rendering in a non-DOM environment, and there's no SSRProvider,
135
135
  // provide a warning to hint to the developer to add one.
136
- if (ctx === $c7eafbbe1ea5834e$var$defaultContext$2 && !$c7eafbbe1ea5834e$var$canUseDOM$2 && process.env.NODE_ENV !== 'production') console.warn('When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.');
137
- let counter = $c7eafbbe1ea5834e$var$useCounter$2(!!defaultId);
138
- let prefix = ctx === $c7eafbbe1ea5834e$var$defaultContext$2 && process.env.NODE_ENV === 'test' ? 'react-aria' : `react-aria${ctx.prefix}`;
136
+ if (ctx === $c7eafbbe1ea5834e$var$defaultContext$1 && !$c7eafbbe1ea5834e$var$canUseDOM$1 && process.env.NODE_ENV !== 'production') console.warn('When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.');
137
+ let counter = $c7eafbbe1ea5834e$var$useCounter$1(!!defaultId);
138
+ let prefix = ctx === $c7eafbbe1ea5834e$var$defaultContext$1 && process.env.NODE_ENV === 'test' ? 'react-aria' : `react-aria${ctx.prefix}`;
139
139
  return defaultId || `${prefix}-${counter}`;
140
140
  }
141
- function $c7eafbbe1ea5834e$var$useModernSSRSafeId$2(defaultId) {
141
+ function $c7eafbbe1ea5834e$var$useModernSSRSafeId$1(defaultId) {
142
142
  let id = ($8WNJc$react).useId();
143
- let [didSSR] = ($8WNJc$react.useState)($c7eafbbe1ea5834e$export$535bd6ca7f90a273$2());
144
- let prefix = didSSR || process.env.NODE_ENV === 'test' ? 'react-aria' : `react-aria${$c7eafbbe1ea5834e$var$defaultContext$2.prefix}`;
143
+ let [didSSR] = ($8WNJc$react.useState)($c7eafbbe1ea5834e$export$535bd6ca7f90a273$1());
144
+ let prefix = didSSR || process.env.NODE_ENV === 'test' ? 'react-aria' : `react-aria${$c7eafbbe1ea5834e$var$defaultContext$1.prefix}`;
145
145
  return defaultId || `${prefix}-${id}`;
146
146
  }
147
- const $c7eafbbe1ea5834e$export$619500959fc48b26 = typeof ($8WNJc$react)['useId'] === 'function' ? $c7eafbbe1ea5834e$var$useModernSSRSafeId$2 : $c7eafbbe1ea5834e$var$useLegacySSRSafeId$2;
148
- function $c7eafbbe1ea5834e$var$getSnapshot$2() {
147
+ const $c7eafbbe1ea5834e$export$619500959fc48b26 = typeof ($8WNJc$react)['useId'] === 'function' ? $c7eafbbe1ea5834e$var$useModernSSRSafeId$1 : $c7eafbbe1ea5834e$var$useLegacySSRSafeId$1;
148
+ function $c7eafbbe1ea5834e$var$getSnapshot$1() {
149
149
  return false;
150
150
  }
151
- function $c7eafbbe1ea5834e$var$getServerSnapshot$2() {
151
+ function $c7eafbbe1ea5834e$var$getServerSnapshot$1() {
152
152
  return true;
153
153
  }
154
154
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
155
- function $c7eafbbe1ea5834e$var$subscribe$2(onStoreChange) {
155
+ function $c7eafbbe1ea5834e$var$subscribe$1(onStoreChange) {
156
156
  // noop
157
157
  return ()=>{};
158
158
  }
159
- function $c7eafbbe1ea5834e$export$535bd6ca7f90a273$2() {
159
+ function $c7eafbbe1ea5834e$export$535bd6ca7f90a273$1() {
160
160
  // In React 18, we can use useSyncExternalStore to detect if we're server rendering or hydrating.
161
- if (typeof ($8WNJc$react)['useSyncExternalStore'] === 'function') return ($8WNJc$react)['useSyncExternalStore']($c7eafbbe1ea5834e$var$subscribe$2, $c7eafbbe1ea5834e$var$getSnapshot$2, $c7eafbbe1ea5834e$var$getServerSnapshot$2);
161
+ if (typeof ($8WNJc$react)['useSyncExternalStore'] === 'function') return ($8WNJc$react)['useSyncExternalStore']($c7eafbbe1ea5834e$var$subscribe$1, $c7eafbbe1ea5834e$var$getSnapshot$1, $c7eafbbe1ea5834e$var$getServerSnapshot$1);
162
162
  // eslint-disable-next-line react-hooks/rules-of-hooks
163
- return ($8WNJc$react.useContext)($c7eafbbe1ea5834e$var$IsSSRContext$2);
163
+ return ($8WNJc$react.useContext)($c7eafbbe1ea5834e$var$IsSSRContext$1);
164
164
  }
165
165
 
166
166
  /*
@@ -1401,7 +1401,7 @@ function $8f5a2122b0992be3$export$98e20ec92f614cfe() {
1401
1401
  $8f5a2122b0992be3$export$901e90a13c50a14e.delete(handler);
1402
1402
  };
1403
1403
  }, []);
1404
- return ($c7eafbbe1ea5834e$export$535bd6ca7f90a273$2)() ? null : modality;
1404
+ return ($c7eafbbe1ea5834e$export$535bd6ca7f90a273$1)() ? null : modality;
1405
1405
  }
1406
1406
  const $8f5a2122b0992be3$var$nonTextInputTypes = new Set([
1407
1407
  'checkbox',
@@ -1583,7 +1583,7 @@ function $e8ac3c3f5d4bae7f$export$d6875122194c7b44(props, defaultLabel) {
1583
1583
  * OF ANY KIND, either express or implied. See the License for the specific language
1584
1584
  * governing permissions and limitations under the License.
1585
1585
  */ // https://en.wikipedia.org/wiki/Right-to-left
1586
- const $d805ff57cab8bee2$var$RTL_SCRIPTS$2 = new Set([
1586
+ const $d805ff57cab8bee2$var$RTL_SCRIPTS$1 = new Set([
1587
1587
  'Arab',
1588
1588
  'Syrc',
1589
1589
  'Samr',
@@ -1595,7 +1595,7 @@ const $d805ff57cab8bee2$var$RTL_SCRIPTS$2 = new Set([
1595
1595
  'Rohg',
1596
1596
  'Hebr'
1597
1597
  ]);
1598
- const $d805ff57cab8bee2$var$RTL_LANGS$2 = new Set([
1598
+ const $d805ff57cab8bee2$var$RTL_LANGS$1 = new Set([
1599
1599
  'ae',
1600
1600
  'ar',
1601
1601
  'arc',
@@ -1616,7 +1616,7 @@ const $d805ff57cab8bee2$var$RTL_LANGS$2 = new Set([
1616
1616
  'ur',
1617
1617
  'yi'
1618
1618
  ]);
1619
- function $d805ff57cab8bee2$export$702d680b21cbd764$2(localeString) {
1619
+ function $d805ff57cab8bee2$export$702d680b21cbd764$1(localeString) {
1620
1620
  // If the Intl.Locale API is available, use it to get the locale's text direction.
1621
1621
  if (Intl.Locale) {
1622
1622
  let locale = new Intl.Locale(localeString).maximize();
@@ -1627,11 +1627,11 @@ function $d805ff57cab8bee2$export$702d680b21cbd764$2(localeString) {
1627
1627
  if (textInfo) return textInfo.direction === 'rtl';
1628
1628
  // Fallback: guess using the script.
1629
1629
  // This is more accurate than guessing by language, since languages can be written in multiple scripts.
1630
- if (locale.script) return $d805ff57cab8bee2$var$RTL_SCRIPTS$2.has(locale.script);
1630
+ if (locale.script) return $d805ff57cab8bee2$var$RTL_SCRIPTS$1.has(locale.script);
1631
1631
  }
1632
1632
  // If not, just guess by the language (first part of the locale)
1633
1633
  let lang = localeString.split('-')[0];
1634
- return $d805ff57cab8bee2$var$RTL_LANGS$2.has(lang);
1634
+ return $d805ff57cab8bee2$var$RTL_LANGS$1.has(lang);
1635
1635
  }
1636
1636
 
1637
1637
  /*
@@ -1648,9 +1648,9 @@ function $d805ff57cab8bee2$export$702d680b21cbd764$2(localeString) {
1648
1648
 
1649
1649
 
1650
1650
  // Locale passed from server by PackageLocalizationProvider.
1651
- const $520a025cdb0d710d$var$localeSymbol$2 = Symbol.for('react-aria.i18n.locale');
1652
- function $520a025cdb0d710d$export$f09106e7c6677ec5$2() {
1653
- let locale = typeof window !== 'undefined' && window[$520a025cdb0d710d$var$localeSymbol$2] || typeof navigator !== 'undefined' && (navigator.language || navigator.userLanguage) || 'en-US';
1651
+ const $520a025cdb0d710d$var$localeSymbol$1 = Symbol.for('react-aria.i18n.locale');
1652
+ function $520a025cdb0d710d$export$f09106e7c6677ec5$1() {
1653
+ let locale = typeof window !== 'undefined' && window[$520a025cdb0d710d$var$localeSymbol$1] || typeof navigator !== 'undefined' && (navigator.language || navigator.userLanguage) || 'en-US';
1654
1654
  try {
1655
1655
  Intl.DateTimeFormat.supportedLocalesOf([
1656
1656
  locale
@@ -1660,30 +1660,30 @@ function $520a025cdb0d710d$export$f09106e7c6677ec5$2() {
1660
1660
  }
1661
1661
  return {
1662
1662
  locale: locale,
1663
- direction: ($d805ff57cab8bee2$export$702d680b21cbd764$2)(locale) ? 'rtl' : 'ltr'
1663
+ direction: ($d805ff57cab8bee2$export$702d680b21cbd764$1)(locale) ? 'rtl' : 'ltr'
1664
1664
  };
1665
1665
  }
1666
- let $520a025cdb0d710d$var$currentLocale$2 = $520a025cdb0d710d$export$f09106e7c6677ec5$2();
1667
- let $520a025cdb0d710d$var$listeners$2 = new Set();
1668
- function $520a025cdb0d710d$var$updateLocale$2() {
1669
- $520a025cdb0d710d$var$currentLocale$2 = $520a025cdb0d710d$export$f09106e7c6677ec5$2();
1670
- for (let listener of $520a025cdb0d710d$var$listeners$2)listener($520a025cdb0d710d$var$currentLocale$2);
1666
+ let $520a025cdb0d710d$var$currentLocale$1 = $520a025cdb0d710d$export$f09106e7c6677ec5$1();
1667
+ let $520a025cdb0d710d$var$listeners$1 = new Set();
1668
+ function $520a025cdb0d710d$var$updateLocale$1() {
1669
+ $520a025cdb0d710d$var$currentLocale$1 = $520a025cdb0d710d$export$f09106e7c6677ec5$1();
1670
+ for (let listener of $520a025cdb0d710d$var$listeners$1)listener($520a025cdb0d710d$var$currentLocale$1);
1671
1671
  }
1672
- function $520a025cdb0d710d$export$188ec29ebc2bdc3a$2() {
1673
- let isSSR = ($c7eafbbe1ea5834e$export$535bd6ca7f90a273$2)();
1674
- let [defaultLocale, setDefaultLocale] = ($8WNJc$react.useState)($520a025cdb0d710d$var$currentLocale$2);
1672
+ function $520a025cdb0d710d$export$188ec29ebc2bdc3a$1() {
1673
+ let isSSR = ($c7eafbbe1ea5834e$export$535bd6ca7f90a273$1)();
1674
+ let [defaultLocale, setDefaultLocale] = ($8WNJc$react.useState)($520a025cdb0d710d$var$currentLocale$1);
1675
1675
  ($8WNJc$react.useEffect)(()=>{
1676
- if ($520a025cdb0d710d$var$listeners$2.size === 0) window.addEventListener('languagechange', $520a025cdb0d710d$var$updateLocale$2);
1677
- $520a025cdb0d710d$var$listeners$2.add(setDefaultLocale);
1676
+ if ($520a025cdb0d710d$var$listeners$1.size === 0) window.addEventListener('languagechange', $520a025cdb0d710d$var$updateLocale$1);
1677
+ $520a025cdb0d710d$var$listeners$1.add(setDefaultLocale);
1678
1678
  return ()=>{
1679
- $520a025cdb0d710d$var$listeners$2.delete(setDefaultLocale);
1680
- if ($520a025cdb0d710d$var$listeners$2.size === 0) window.removeEventListener('languagechange', $520a025cdb0d710d$var$updateLocale$2);
1679
+ $520a025cdb0d710d$var$listeners$1.delete(setDefaultLocale);
1680
+ if ($520a025cdb0d710d$var$listeners$1.size === 0) window.removeEventListener('languagechange', $520a025cdb0d710d$var$updateLocale$1);
1681
1681
  };
1682
1682
  }, []);
1683
1683
  // We cannot determine the browser's language on the server, so default to
1684
1684
  // en-US. This will be updated after hydration on the client to the correct value.
1685
1685
  if (isSSR) {
1686
- let locale = typeof window !== 'undefined' && window[$520a025cdb0d710d$var$localeSymbol$2];
1686
+ let locale = typeof window !== 'undefined' && window[$520a025cdb0d710d$var$localeSymbol$1];
1687
1687
  return {
1688
1688
  locale: locale || 'en-US',
1689
1689
  direction: 'ltr'
@@ -1705,18 +1705,18 @@ function $520a025cdb0d710d$export$188ec29ebc2bdc3a$2() {
1705
1705
  */
1706
1706
 
1707
1707
 
1708
- const $2eb8e6d23f3d0cb0$var$I18nContext$2 = /*#__PURE__*/ ($8WNJc$react).createContext(null);
1708
+ const $2eb8e6d23f3d0cb0$var$I18nContext$1 = /*#__PURE__*/ ($8WNJc$react).createContext(null);
1709
1709
  /**
1710
1710
  * Internal component that handles the case when locale is provided.
1711
1711
  */ function $2eb8e6d23f3d0cb0$var$I18nProviderWithLocale(props) {
1712
1712
  let { locale: locale, children: children } = props;
1713
1713
  let value = ($8WNJc$react).useMemo(()=>({
1714
1714
  locale: locale,
1715
- direction: ($d805ff57cab8bee2$export$702d680b21cbd764$2)(locale) ? 'rtl' : 'ltr'
1715
+ direction: ($d805ff57cab8bee2$export$702d680b21cbd764$1)(locale) ? 'rtl' : 'ltr'
1716
1716
  }), [
1717
1717
  locale
1718
1718
  ]);
1719
- return /*#__PURE__*/ ($8WNJc$react).createElement($2eb8e6d23f3d0cb0$var$I18nContext$2.Provider, {
1719
+ return /*#__PURE__*/ ($8WNJc$react).createElement($2eb8e6d23f3d0cb0$var$I18nContext$1.Provider, {
1720
1720
  value: value
1721
1721
  }, children);
1722
1722
  }
@@ -1724,8 +1724,8 @@ const $2eb8e6d23f3d0cb0$var$I18nContext$2 = /*#__PURE__*/ ($8WNJc$react).createC
1724
1724
  * Internal component that handles the case when no locale is provided.
1725
1725
  */ function $2eb8e6d23f3d0cb0$var$I18nProviderWithDefaultLocale(props) {
1726
1726
  let { children: children } = props;
1727
- let defaultLocale = ($520a025cdb0d710d$export$188ec29ebc2bdc3a$2)();
1728
- return /*#__PURE__*/ ($8WNJc$react).createElement($2eb8e6d23f3d0cb0$var$I18nContext$2.Provider, {
1727
+ let defaultLocale = ($520a025cdb0d710d$export$188ec29ebc2bdc3a$1)();
1728
+ return /*#__PURE__*/ ($8WNJc$react).createElement($2eb8e6d23f3d0cb0$var$I18nContext$1.Provider, {
1729
1729
  value: defaultLocale
1730
1730
  }, children);
1731
1731
  }
@@ -1741,9 +1741,9 @@ function $2eb8e6d23f3d0cb0$export$a54013f0d02a8f82(props) {
1741
1741
  children: children
1742
1742
  });
1743
1743
  }
1744
- function $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$2() {
1745
- let defaultLocale = ($520a025cdb0d710d$export$188ec29ebc2bdc3a$2)();
1746
- let context = ($8WNJc$react.useContext)($2eb8e6d23f3d0cb0$var$I18nContext$2);
1744
+ function $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$1() {
1745
+ let defaultLocale = ($520a025cdb0d710d$export$188ec29ebc2bdc3a$1)();
1746
+ let context = ($8WNJc$react.useContext)($2eb8e6d23f3d0cb0$var$I18nContext$1);
1747
1747
  return context || defaultLocale;
1748
1748
  }
1749
1749
 
@@ -1896,7 +1896,7 @@ function $cf2482eff2eeeec2$export$87b761675e8eaa10$1(strings, packageName) {
1896
1896
  return packageName && ($a747a10fe70a57da$export$c17fa47878dc55b6).getGlobalDictionaryForPackage(packageName) || $cf2482eff2eeeec2$var$getCachedDictionary$1(strings);
1897
1897
  }
1898
1898
  function $cf2482eff2eeeec2$export$f12b703ca79dfbb1(strings, packageName) {
1899
- let { locale: locale } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$2)();
1899
+ let { locale: locale } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$1)();
1900
1900
  let dictionary = $cf2482eff2eeeec2$export$87b761675e8eaa10$1(strings, packageName);
1901
1901
  return ($8WNJc$react.useMemo)(()=>new ($b27c684a33948c64$export$2f817fcdc4b89ae0)(locale, dictionary), [
1902
1902
  locale,
@@ -3261,7 +3261,7 @@ function $42ceafc619f9c3ba$var$CollectionInner({ collection: collection, render:
3261
3261
  // React 16 and 17 don't support useSyncExternalStore natively, and the shim provided by React does not support getServerSnapshot.
3262
3262
  // This wrapper uses the shim, but additionally calls getServerSnapshot during SSR (according to SSRProvider).
3263
3263
  function $42ceafc619f9c3ba$var$useSyncExternalStoreFallback(subscribe, getSnapshot, getServerSnapshot) {
3264
- let isSSR = ($c7eafbbe1ea5834e$export$535bd6ca7f90a273$2)();
3264
+ let isSSR = ($c7eafbbe1ea5834e$export$535bd6ca7f90a273$1)();
3265
3265
  let isSSRRef = ($8WNJc$react.useRef)(isSSR);
3266
3266
  // This is read immediately inside the wrapper, which also runs during render.
3267
3267
  // We just need a ref to avoid invalidating the callback itself, which
@@ -3424,7 +3424,7 @@ function $42ceafc619f9c3ba$var$CollectionRoot({ children: children }) {
3424
3424
  ]);
3425
3425
  // During SSR, we render the content directly, and append nodes to the document during render.
3426
3426
  // The collection children return null so that nothing is actually rendered into the HTML.
3427
- return ($c7eafbbe1ea5834e$export$535bd6ca7f90a273$2)() ? /*#__PURE__*/ ($8WNJc$react).createElement($42ceafc619f9c3ba$var$SSRContext.Provider, {
3427
+ return ($c7eafbbe1ea5834e$export$535bd6ca7f90a273$1)() ? /*#__PURE__*/ ($8WNJc$react).createElement($42ceafc619f9c3ba$var$SSRContext.Provider, {
3428
3428
  value: doc
3429
3429
  }, wrappedChildren) : /*#__PURE__*/ ($3wX5A$reactdom.createPortal)(wrappedChildren, doc);
3430
3430
  }
@@ -5379,7 +5379,7 @@ function $eb76cf4feb040f77$var$escapeRegex(string) {
5379
5379
 
5380
5380
 
5381
5381
  function $bd90acf18e792be6$export$b7a616150fdb9f44(options = {}) {
5382
- let { locale: locale } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$2)();
5382
+ let { locale: locale } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$1)();
5383
5383
  return ($8WNJc$react.useMemo)(()=>new ($1dfb119a85e764e5$export$cc77c4ff7e8673c5)(locale, options), [
5384
5384
  locale,
5385
5385
  options
@@ -6486,7 +6486,7 @@ $e05239aa7a8d905d$exports = {
6486
6486
  * OF ANY KIND, either express or implied. See the License for the specific language
6487
6487
  * governing permissions and limitations under the License.
6488
6488
  */ /* eslint-disable rulesdir/pure-render */
6489
- function $9c268ab73a5d55e5$export$722debc0e56fea39$2(value, isEqual) {
6489
+ function $9c268ab73a5d55e5$export$722debc0e56fea39$1(value, isEqual) {
6490
6490
  // Using a ref during render is ok here because it's only an optimization – both values are equivalent.
6491
6491
  // If a render is thrown away, it'll still work the same no matter if the next render is the same or not.
6492
6492
  let lastValue = ($8WNJc$react.useRef)(null);
@@ -8893,16 +8893,16 @@ function $12a3c853105e5a70$var$getResolvedHourCycle(locale, options) {
8893
8893
 
8894
8894
 
8895
8895
 
8896
- function $60f33508b4cd9d3b$export$85fd5fdf27bacc79$2(options) {
8896
+ function $60f33508b4cd9d3b$export$85fd5fdf27bacc79$1(options) {
8897
8897
  // Reuse last options object if it is shallowly equal, which allows the useMemo result to also be reused.
8898
- options = ($9c268ab73a5d55e5$export$722debc0e56fea39$2)(options ?? {}, $60f33508b4cd9d3b$var$isEqual$2);
8899
- let { locale: locale } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$2)();
8898
+ options = ($9c268ab73a5d55e5$export$722debc0e56fea39$1)(options ?? {}, $60f33508b4cd9d3b$var$isEqual$1);
8899
+ let { locale: locale } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$1)();
8900
8900
  return ($8WNJc$react.useMemo)(()=>new ($12a3c853105e5a70$export$ad991b66133851cf)(locale, options), [
8901
8901
  locale,
8902
8902
  options
8903
8903
  ]);
8904
8904
  }
8905
- function $60f33508b4cd9d3b$var$isEqual$2(a, b) {
8905
+ function $60f33508b4cd9d3b$var$isEqual$1(a, b) {
8906
8906
  if (a === b) return true;
8907
8907
  let aKeys = Object.keys(a);
8908
8908
  let bKeys = Object.keys(b);
@@ -8940,7 +8940,7 @@ function $9bac9bf03b87f160$export$b6df97c887c38e1a(state) {
8940
8940
  let start, end;
8941
8941
  if ('highlightedRange' in state) ({ start: start, end: end } = state.highlightedRange || {});
8942
8942
  else start = end = state.value ?? undefined;
8943
- let dateFormatter = ($60f33508b4cd9d3b$export$85fd5fdf27bacc79$2)({
8943
+ let dateFormatter = ($60f33508b4cd9d3b$export$85fd5fdf27bacc79$1)({
8944
8944
  weekday: 'long',
8945
8945
  month: 'long',
8946
8946
  year: 'numeric',
@@ -8979,14 +8979,14 @@ function $9bac9bf03b87f160$export$b6df97c887c38e1a(state) {
8979
8979
  function $9bac9bf03b87f160$export$31afe65d91ef6e8(startDate, endDate, timeZone, isAria) {
8980
8980
  let stringFormatter = ($cf2482eff2eeeec2$export$f12b703ca79dfbb1)((($parcel$interopDefault$f($e05239aa7a8d905d$exports))), '@react-aria/calendar');
8981
8981
  let era = $9bac9bf03b87f160$export$134cbb7fb09a9522(startDate) || $9bac9bf03b87f160$export$134cbb7fb09a9522(endDate);
8982
- let monthFormatter = ($60f33508b4cd9d3b$export$85fd5fdf27bacc79$2)({
8982
+ let monthFormatter = ($60f33508b4cd9d3b$export$85fd5fdf27bacc79$1)({
8983
8983
  month: 'long',
8984
8984
  year: 'numeric',
8985
8985
  era: era,
8986
8986
  calendar: startDate.calendar.identifier,
8987
8987
  timeZone: timeZone
8988
8988
  });
8989
- let dateFormatter = ($60f33508b4cd9d3b$export$85fd5fdf27bacc79$2)({
8989
+ let dateFormatter = ($60f33508b4cd9d3b$export$85fd5fdf27bacc79$1)({
8990
8990
  month: 'long',
8991
8991
  year: 'numeric',
8992
8992
  day: 'numeric',
@@ -9205,7 +9205,7 @@ function $a1efc3efb5426bf7$export$3ee915f8151bd4f1(props, state) {
9205
9205
 
9206
9206
  function $2d54ee2ec11ddab8$export$cb95147730a423f5(props, state) {
9207
9207
  let { startDate: startDate = state.visibleRange.start, endDate: endDate = state.visibleRange.end, firstDayOfWeek: firstDayOfWeek } = props;
9208
- let { direction: direction } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$2)();
9208
+ let { direction: direction } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$1)();
9209
9209
  let onKeyDown = (e)=>{
9210
9210
  switch(e.key){
9211
9211
  case 'Enter':
@@ -9273,11 +9273,11 @@ function $2d54ee2ec11ddab8$export$cb95147730a423f5(props, state) {
9273
9273
  ].filter(Boolean).join(', '),
9274
9274
  'aria-labelledby': ariaLabelledBy
9275
9275
  });
9276
- let dayFormatter = ($60f33508b4cd9d3b$export$85fd5fdf27bacc79$2)({
9276
+ let dayFormatter = ($60f33508b4cd9d3b$export$85fd5fdf27bacc79$1)({
9277
9277
  weekday: props.weekdayStyle || 'narrow',
9278
9278
  timeZone: state.timeZone
9279
9279
  });
9280
- let { locale: locale } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$2)();
9280
+ let { locale: locale } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$1)();
9281
9281
  let weekDays = ($8WNJc$react.useMemo)(()=>{
9282
9282
  let weekStart = ($ad063034c8620db8$export$42c81a444fbfb5d4)(($ad063034c8620db8$export$d0bdf45af03a6ea3)(state.timeZone), locale, firstDayOfWeek);
9283
9283
  return [
@@ -9578,7 +9578,7 @@ function $be61a22f9aa88c7c$export$136073280381448e(props, state, ref) {
9578
9578
  let { date: date, isDisabled: isDisabled } = props;
9579
9579
  let { errorMessageId: errorMessageId, selectedDateDescription: selectedDateDescription } = ($9bac9bf03b87f160$export$653eddfc964b0f8a).get(state);
9580
9580
  let stringFormatter = ($cf2482eff2eeeec2$export$f12b703ca79dfbb1)((($parcel$interopDefault$d($e05239aa7a8d905d$exports))), '@react-aria/calendar');
9581
- let dateFormatter = ($60f33508b4cd9d3b$export$85fd5fdf27bacc79$2)({
9581
+ let dateFormatter = ($60f33508b4cd9d3b$export$85fd5fdf27bacc79$1)({
9582
9582
  weekday: 'long',
9583
9583
  day: 'numeric',
9584
9584
  month: 'long',
@@ -9595,7 +9595,7 @@ function $be61a22f9aa88c7c$export$136073280381448e(props, state, ref) {
9595
9595
  if (isInvalid) isSelected = true;
9596
9596
  // For performance, reuse the same date object as before if the new date prop is the same.
9597
9597
  // This allows subsequent useMemo results to be reused.
9598
- date = ($9c268ab73a5d55e5$export$722debc0e56fea39$2)(date, ($ad063034c8620db8$export$91b62ebf2ba703ee));
9598
+ date = ($9c268ab73a5d55e5$export$722debc0e56fea39$1)(date, ($ad063034c8620db8$export$91b62ebf2ba703ee));
9599
9599
  let nativeDate = ($8WNJc$react.useMemo)(()=>date.toDate(state.timeZone), [
9600
9600
  date,
9601
9601
  state.timeZone
@@ -9769,7 +9769,7 @@ function $be61a22f9aa88c7c$export$136073280381448e(props, state, ref) {
9769
9769
  isFocused,
9770
9770
  ref
9771
9771
  ]);
9772
- let cellDateFormatter = ($60f33508b4cd9d3b$export$85fd5fdf27bacc79$2)({
9772
+ let cellDateFormatter = ($60f33508b4cd9d3b$export$85fd5fdf27bacc79$1)({
9773
9773
  day: 'numeric',
9774
9774
  timeZone: state.timeZone,
9775
9775
  calendar: date.calendar.identifier
@@ -10280,7 +10280,7 @@ const $6f9a1820b787aac7$export$9e31dcedda1dadc7 = /*#__PURE__*/ ($8WNJc$react.cr
10280
10280
  const $6f9a1820b787aac7$export$5e0fc348c00f87a0 = /*#__PURE__*/ ($8WNJc$react.createContext)(null);
10281
10281
  const $6f9a1820b787aac7$export$e1aef45b828286de = /*#__PURE__*/ ($8WNJc$react.forwardRef)(function Calendar(props, ref) {
10282
10282
  [props, ref] = ($7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, ref, $6f9a1820b787aac7$export$3b805cea1f178355);
10283
- let { locale: locale } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$2)();
10283
+ let { locale: locale } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$1)();
10284
10284
  let state = ($ea0ea6e62ae0d7ca$export$6d095e787d2b5e1f)({
10285
10285
  ...props,
10286
10286
  locale: locale,
@@ -14871,7 +14871,7 @@ function $a475cdc2445827b5$export$72ef708ab07251f1(effect, dependencies) {
14871
14871
  function $d667c2af82d35a98$export$d6daf82dcd84e87c(options) {
14872
14872
  let { selectionManager: manager, keyboardDelegate: delegate, ref: ref, autoFocus: autoFocus = false, shouldFocusWrap: shouldFocusWrap = false, disallowEmptySelection: disallowEmptySelection = false, disallowSelectAll: disallowSelectAll = false, escapeKeyBehavior: escapeKeyBehavior = 'clearSelection', selectOnFocus: selectOnFocus = manager.selectionBehavior === 'replace', disallowTypeAhead: disallowTypeAhead = false, shouldUseVirtualFocus: shouldUseVirtualFocus, allowsTabNavigation: allowsTabNavigation = false, scrollRef: // If no scrollRef is provided, assume the collection ref is the scrollable region
14873
14873
  scrollRef = ref, linkBehavior: linkBehavior = 'action' } = options;
14874
- let { direction: direction } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$2)();
14874
+ let { direction: direction } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$1)();
14875
14875
  let router = ($caaf0dd3060ed57c$export$9a302a45f65d0572)();
14876
14876
  let onKeyDown = (e)=>{
14877
14877
  // Prevent option + tab from doing anything since it doesn't move focus to the cells, only buttons/checkboxes
@@ -15468,7 +15468,7 @@ class $ae8f8d98b2b18f2f$export$a05409b8bb224a5a {
15468
15468
  */
15469
15469
  let $673d46fce3e5717d$var$cache = new Map();
15470
15470
  function $673d46fce3e5717d$export$a16aca283550c30d(options) {
15471
- let { locale: locale } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$2)();
15471
+ let { locale: locale } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$1)();
15472
15472
  let cacheKey = locale + (options ? Object.entries(options).sort((a, b)=>a[0] < b[0] ? -1 : 1).join() : '');
15473
15473
  if ($673d46fce3e5717d$var$cache.has(cacheKey)) return $673d46fce3e5717d$var$cache.get(cacheKey);
15474
15474
  let formatter = new Intl.Collator(locale, options);
@@ -17128,7 +17128,7 @@ function $928221da08ecbc62$var$ListBoxInner({ state: inputState, props: props, l
17128
17128
  let { collection: collection, selectionManager: selectionManager } = state;
17129
17129
  let isListDraggable = !!dragAndDropHooks?.useDraggableCollectionState;
17130
17130
  let isListDroppable = !!dragAndDropHooks?.useDroppableCollectionState;
17131
- let { direction: direction } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$2)();
17131
+ let { direction: direction } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$1)();
17132
17132
  let { disabledBehavior: disabledBehavior, disabledKeys: disabledKeys } = selectionManager;
17133
17133
  let collator = ($673d46fce3e5717d$export$a16aca283550c30d)({
17134
17134
  usage: 'search',
@@ -18248,7 +18248,7 @@ function $970072cf4b13fde3$export$683480f191c0e3ea(options) {
18248
18248
 
18249
18249
  let $b3526bc71400be8d$var$visualViewport = typeof document !== 'undefined' ? window.visualViewport : null;
18250
18250
  function $b3526bc71400be8d$export$d39e1813b3bdd0e1(props) {
18251
- let { direction: direction } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$2)();
18251
+ let { direction: direction } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$1)();
18252
18252
  let { arrowSize: arrowSize, targetRef: targetRef, overlayRef: overlayRef, arrowRef: arrowRef, scrollRef: scrollRef = overlayRef, placement: placement = 'bottom', containerPadding: containerPadding = 12, shouldFlip: shouldFlip = true, boundaryElement: boundaryElement = typeof document !== 'undefined' ? document.body : null, offset: offset = 0, crossOffset: crossOffset = 0, shouldUpdatePosition: shouldUpdatePosition = true, isOpen: isOpen = true, onClose: onClose, maxHeight: maxHeight, arrowBoundaryOffset: arrowBoundaryOffset = 0 } = props;
18253
18253
  let [position, setPosition] = ($8WNJc$react.useState)(null);
18254
18254
  let deps = [
@@ -19262,7 +19262,7 @@ function $72abaeab4d80592f$export$9fc1347d4195ccb3() {
19262
19262
 
19263
19263
  const $d7a937236970dc7f$export$a2200b96afd16271 = /*#__PURE__*/ ($8WNJc$react).createContext(null);
19264
19264
  function $d7a937236970dc7f$export$c6fdb837b070b4ff(props) {
19265
- let isSSR = ($c7eafbbe1ea5834e$export$535bd6ca7f90a273$2)();
19265
+ let isSSR = ($c7eafbbe1ea5834e$export$535bd6ca7f90a273$1)();
19266
19266
  let { portalContainer: portalContainer = isSSR ? null : document.body, isExiting: isExiting } = props;
19267
19267
  let [contain, setContain] = ($8WNJc$react.useState)(false);
19268
19268
  let contextValue = ($8WNJc$react.useMemo)(()=>({
@@ -19454,7 +19454,7 @@ const $542a13ca2fa5b484$export$5b6b19405a83ff9d = /*#__PURE__*/ ($8WNJc$react.fo
19454
19454
  let state = props.isOpen != null || props.defaultOpen != null || !contextState ? localState : contextState;
19455
19455
  let isExiting = ($fcc7165e876206c6$export$45fda7c47f93fd48)(ref, state.isOpen) || props.isExiting || false;
19456
19456
  let isHidden = ($d7f64c32b702fe2c$export$b5d7cc18bb8d2b59)();
19457
- let { direction: direction } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$2)();
19457
+ let { direction: direction } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$1)();
19458
19458
  // If we are in a hidden tree, we still need to preserve our children.
19459
19459
  if (isHidden) {
19460
19460
  let children = props.children;
@@ -20454,7 +20454,7 @@ function $8794213c1141208f$export$7138b0d059a6e743(props, state, ref) {
20454
20454
  let { parentMenuRef: parentMenuRef, submenuRef: submenuRef, type: type = 'menu', isDisabled: isDisabled, delay: delay = 200, shouldUseVirtualFocus: shouldUseVirtualFocus } = props;
20455
20455
  let submenuTriggerId = ($390e54f620492c70$export$f680877a34711e37)();
20456
20456
  let overlayId = ($390e54f620492c70$export$f680877a34711e37)();
20457
- let { direction: direction } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$2)();
20457
+ let { direction: direction } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$1)();
20458
20458
  let openTimeout = ($8WNJc$react.useRef)(undefined);
20459
20459
  let cancelOpenTimeout = ($8WNJc$react.useCallback)(()=>{
20460
20460
  if (openTimeout.current) {
@@ -21597,7 +21597,7 @@ function $ef182bb9912241d8$export$3274cf84b703fff(options) {
21597
21597
  */
21598
21598
 
21599
21599
  function $b4eb6eb8d15fb21e$export$a2f47a3d2973640(options = {}) {
21600
- let { locale: locale } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$2)();
21600
+ let { locale: locale } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$1)();
21601
21601
  return ($8WNJc$react.useMemo)(()=>new Intl.ListFormat(locale, options), [
21602
21602
  locale,
21603
21603
  options
@@ -22466,7 +22466,7 @@ $0014db39426443c5$exports$1 = {
22466
22466
  };
22467
22467
 
22468
22468
  function $6a440d0e2d99dd46$export$4a931266a3838b86(state, ref, disableArrowNavigation) {
22469
- let { direction: direction } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$2)();
22469
+ let { direction: direction } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$1)();
22470
22470
  let focusManager = ($8WNJc$react.useMemo)(()=>($535772f9d2c1f38d$export$c5251b9e124bf29)(ref), [
22471
22471
  ref
22472
22472
  ]);
@@ -22742,7 +22742,7 @@ function $parcel$interopDefault$7(a) {
22742
22742
 
22743
22743
 
22744
22744
  function $40cf8faa4dad0740$export$d42c60378c8168f8$1() {
22745
- let { locale: locale } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$2)();
22745
+ let { locale: locale } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$1)();
22746
22746
  let dictionary = ($cf2482eff2eeeec2$export$87b761675e8eaa10$1)((($parcel$interopDefault$7($0014db39426443c5$exports$1))), '@react-aria/datepicker');
22747
22747
  return ($8WNJc$react.useMemo)(()=>{
22748
22748
  // Try to use Intl.DisplayNames if possible. It may be supported in browsers, but not support the dateTimeField
@@ -22799,18 +22799,18 @@ let $40cf8faa4dad0740$var$DisplayNamesPolyfill$1 = class $40cf8faa4dad0740$var$D
22799
22799
 
22800
22800
  function $d51706f903be7eab$export$1315d136e6f7581(segment, state, ref) {
22801
22801
  let enteredKeys = ($8WNJc$react.useRef)('');
22802
- let { locale: locale, direction: direction } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$2)();
22802
+ let { locale: locale, direction: direction } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$1)();
22803
22803
  let displayNames = ($40cf8faa4dad0740$export$d42c60378c8168f8$1)();
22804
22804
  let { ariaLabel: ariaLabel, ariaLabelledBy: ariaLabelledBy, ariaDescribedBy: ariaDescribedBy, focusManager: focusManager } = ($7541913c0284d84b$export$653eddfc964b0f8a).get(state);
22805
22805
  let textValue = segment.isPlaceholder ? '' : segment.text;
22806
22806
  let options = ($8WNJc$react.useMemo)(()=>state.dateFormatter.resolvedOptions(), [
22807
22807
  state.dateFormatter
22808
22808
  ]);
22809
- let monthDateFormatter = ($60f33508b4cd9d3b$export$85fd5fdf27bacc79$2)({
22809
+ let monthDateFormatter = ($60f33508b4cd9d3b$export$85fd5fdf27bacc79$1)({
22810
22810
  month: 'long',
22811
22811
  timeZone: options.timeZone
22812
22812
  });
22813
- let hourDateFormatter = ($60f33508b4cd9d3b$export$85fd5fdf27bacc79$2)({
22813
+ let hourDateFormatter = ($60f33508b4cd9d3b$export$85fd5fdf27bacc79$1)({
22814
22814
  hour: 'numeric',
22815
22815
  hour12: options.hour12,
22816
22816
  timeZone: options.timeZone
@@ -22890,7 +22890,7 @@ function $d51706f903be7eab$export$1315d136e6f7581(segment, state, ref) {
22890
22890
  let { startsWith: startsWith } = ($ef182bb9912241d8$export$3274cf84b703fff)({
22891
22891
  sensitivity: 'base'
22892
22892
  });
22893
- let amPmFormatter = ($60f33508b4cd9d3b$export$85fd5fdf27bacc79$2)({
22893
+ let amPmFormatter = ($60f33508b4cd9d3b$export$85fd5fdf27bacc79$1)({
22894
22894
  hour: 'numeric',
22895
22895
  hour12: true
22896
22896
  });
@@ -22909,7 +22909,7 @@ function $d51706f903be7eab$export$1315d136e6f7581(segment, state, ref) {
22909
22909
  amPmFormatter
22910
22910
  ]);
22911
22911
  // Get a list of formatted era names so users can type the first character to choose one.
22912
- let eraFormatter = ($60f33508b4cd9d3b$export$85fd5fdf27bacc79$2)({
22912
+ let eraFormatter = ($60f33508b4cd9d3b$export$85fd5fdf27bacc79$1)({
22913
22913
  year: 'numeric',
22914
22914
  era: 'narrow',
22915
22915
  timeZone: 'UTC'
@@ -24807,7 +24807,7 @@ const $5400c097f4765e59$export$5eaee2322dd727eb = /*#__PURE__*/ ($8WNJc$react.fo
24807
24807
  [props, ref] = ($7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, ref, $5400c097f4765e59$export$8e17ddc448e87c1e);
24808
24808
  let { validationBehavior: formValidationBehavior } = ($7230ffa83bc0c2cf$export$fabf2dc03a41866e)(($cdaed739b1139372$export$c24727297075ec6a)) || {};
24809
24809
  let validationBehavior = props.validationBehavior ?? formValidationBehavior ?? 'native';
24810
- let { locale: locale } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$2)();
24810
+ let { locale: locale } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$1)();
24811
24811
  let state = ($b822555cf9fe955c$export$fd53cef0cc796101)({
24812
24812
  ...props,
24813
24813
  locale: locale,
@@ -24909,7 +24909,7 @@ const $5400c097f4765e59$var$DateInputStandalone = /*#__PURE__*/ ($8WNJc$react.fo
24909
24909
  let [dateFieldProps, fieldRef] = ($7230ffa83bc0c2cf$export$29f1550f4b0d4415)({
24910
24910
  slot: props.slot
24911
24911
  }, ref, $5400c097f4765e59$export$7b3e670c86da5fe8);
24912
- let { locale: locale } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$2)();
24912
+ let { locale: locale } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$1)();
24913
24913
  let state = ($8e7461aabf74661f$export$60e84778edff6d26)({
24914
24914
  ...dateFieldProps,
24915
24915
  locale: locale,
@@ -25049,7 +25049,7 @@ function $6902a2bb26917a07$export$42df105a73306d51(props, state, ref) {
25049
25049
  });
25050
25050
  let groupProps = ($6a440d0e2d99dd46$export$4a931266a3838b86)(state, ref);
25051
25051
  let labelledBy = fieldProps['aria-labelledby'] || fieldProps.id;
25052
- let { locale: locale } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$2)();
25052
+ let { locale: locale } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$1)();
25053
25053
  let date = state.formatValue(locale, {
25054
25054
  month: 'long'
25055
25055
  });
@@ -25487,7 +25487,7 @@ function $89a3495b7d82e671$export$6e3e27031a30522f(props, state, ref) {
25487
25487
  let { isDisabled: isDisabled } = props;
25488
25488
  let triggerId = ($390e54f620492c70$export$f680877a34711e37)();
25489
25489
  let panelId = ($390e54f620492c70$export$f680877a34711e37)();
25490
- let isSSR = ($c7eafbbe1ea5834e$export$535bd6ca7f90a273$2)();
25490
+ let isSSR = ($c7eafbbe1ea5834e$export$535bd6ca7f90a273$1)();
25491
25491
  let raf = ($8WNJc$react.useRef)(null);
25492
25492
  let handleBeforeMatch = ($8WNJc$react.useCallback)(()=>{
25493
25493
  // Wait a frame to revert browser's removal of hidden attribute
@@ -26685,7 +26685,7 @@ function $be7bed9611dd7497$export$9610e69494fadfd2(props, state, ref) {
26685
26685
  // Copied from useGridCell + some modifications to make it not so grid specific
26686
26686
  let { node: node, isVirtualized: isVirtualized } = props;
26687
26687
  // let stringFormatter = useLocalizedStringFormatter(intlMessages, '@react-aria/gridlist');
26688
- let { direction: direction } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$2)();
26688
+ let { direction: direction } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$1)();
26689
26689
  let { onAction: onAction, linkBehavior: linkBehavior, keyboardNavigationBehavior: keyboardNavigationBehavior, shouldSelectOnPressUp: shouldSelectOnPressUp } = ($c1c90317e8bffe4d$export$5b9bb410392e3991).get(state);
26690
26690
  let descriptionId = ($390e54f620492c70$export$b4cc09c592e8fdb8)();
26691
26691
  // We need to track the key of the item at the time it was last focused so that we force
@@ -27003,7 +27003,7 @@ function $5698867baeb53f4e$export$dbc0f175b25fb0fb(props, state, ref) {
27003
27003
 
27004
27004
  let $6066a2c586ade9e1$var$visualViewport = typeof document !== 'undefined' && window.visualViewport;
27005
27005
  function $6066a2c586ade9e1$export$d699905dd57c73ca() {
27006
- let isSSR = ($c7eafbbe1ea5834e$export$535bd6ca7f90a273$2)();
27006
+ let isSSR = ($c7eafbbe1ea5834e$export$535bd6ca7f90a273$1)();
27007
27007
  let [size, setSize] = ($8WNJc$react.useState)(()=>isSSR ? {
27008
27008
  width: 0,
27009
27009
  height: 0
@@ -27137,7 +27137,7 @@ function $8b8d26808cb8cb53$var$ModalOverlayWithForwardRef(props, ref) {
27137
27137
  let isOverlayExiting = ($fcc7165e876206c6$export$45fda7c47f93fd48)(objectRef, state.isOpen);
27138
27138
  let isModalExiting = ($fcc7165e876206c6$export$45fda7c47f93fd48)(modalRef, state.isOpen);
27139
27139
  let isExiting = isOverlayExiting || isModalExiting || props.isExiting || false;
27140
- let isSSR = ($c7eafbbe1ea5834e$export$535bd6ca7f90a273$2)();
27140
+ let isSSR = ($c7eafbbe1ea5834e$export$535bd6ca7f90a273$1)();
27141
27141
  if (!state.isOpen && !isExiting || isSSR) return null;
27142
27142
  return /*#__PURE__*/ ($8WNJc$react).createElement($8b8d26808cb8cb53$var$ModalOverlayInner, {
27143
27143
  ...props,
@@ -27270,7 +27270,7 @@ const $10076bcc592bc574$export$63c5fa0b2fdccd2e = /*#__PURE__*/ ($8WNJc$react.fo
27270
27270
  [props, ref] = ($7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, ref, $10076bcc592bc574$export$b414a48cf5dcbc11);
27271
27271
  let { validationBehavior: formValidationBehavior } = ($7230ffa83bc0c2cf$export$fabf2dc03a41866e)(($cdaed739b1139372$export$c24727297075ec6a)) || {};
27272
27272
  let validationBehavior = props.validationBehavior ?? formValidationBehavior ?? 'native';
27273
- let { locale: locale } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$2)();
27273
+ let { locale: locale } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$1)();
27274
27274
  let state = ($3d0ee518c6f3d04f$export$7f629e9dc1ecf37c)({
27275
27275
  ...props,
27276
27276
  locale: locale,
@@ -27497,7 +27497,7 @@ function $405627c100c5b965$export$37b0961d2f4751e2(props, state, ref) {
27497
27497
 
27498
27498
  function $eecdee08e0d8a75f$export$62b9571f283ff5c2(props, state) {
27499
27499
  let { name: name, form: form, isReadOnly: isReadOnly, isRequired: isRequired, isDisabled: isDisabled, orientation: orientation = 'vertical', validationBehavior: validationBehavior = 'aria' } = props;
27500
- let { direction: direction } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$2)();
27500
+ let { direction: direction } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$1)();
27501
27501
  let { isInvalid: isInvalid, validationErrors: validationErrors, validationDetails: validationDetails } = state.displayValidation;
27502
27502
  let { labelProps: labelProps, fieldProps: fieldProps, descriptionProps: descriptionProps, errorMessageProps: errorMessageProps } = ($191c9b6d48a0a4e2$export$294aa081a6c6f55d)({
27503
27503
  ...props,
@@ -28659,7 +28659,7 @@ const $24585aa46d6ffdff$export$b5d5cf8927ab7262 = /*#__PURE__*/ ($8WNJc$react.fo
28659
28659
 
28660
28660
  const $223860f9cb8a07a2$export$653eddfc964b0f8a = new WeakMap();
28661
28661
  function $223860f9cb8a07a2$export$4f8b5cda58b7e8ff(props, state, ref) {
28662
- let { direction: direction } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$2)();
28662
+ let { direction: direction } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$1)();
28663
28663
  let keyboardDelegate = props.keyboardDelegate || new ($ae8f8d98b2b18f2f$export$a05409b8bb224a5a)({
28664
28664
  collection: state.collection,
28665
28665
  ref: ref,
@@ -29509,7 +29509,7 @@ function $afa781ff67c1cd08$export$fa142eb1681c520(props, ref) {
29509
29509
  ($c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{
29510
29510
  setInToolbar(!!(ref.current && ref.current.parentElement?.closest('[role="toolbar"]')));
29511
29511
  });
29512
- const { direction: direction } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$2)();
29512
+ const { direction: direction } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$1)();
29513
29513
  const shouldReverse = direction === 'rtl' && orientation === 'horizontal';
29514
29514
  let focusManager = ($535772f9d2c1f38d$export$c5251b9e124bf29)(ref);
29515
29515
  const onKeyDown = (e)=>{
@@ -29845,7 +29845,7 @@ function $c07df45195231803$export$bf688221f59024e5(props) {
29845
29845
  return /*#__PURE__*/ ($8WNJc$react).createElement($c07df45195231803$export$178405afcd8c5eb, null, /*#__PURE__*/ ($8WNJc$react).createElement($c07df45195231803$var$OverlayContainerDOM, props));
29846
29846
  }
29847
29847
  function $c07df45195231803$export$b47c3594eab58386(props) {
29848
- let isSSR = ($c7eafbbe1ea5834e$export$535bd6ca7f90a273$2)();
29848
+ let isSSR = ($c7eafbbe1ea5834e$export$535bd6ca7f90a273$1)();
29849
29849
  let { portalContainer: portalContainer = isSSR ? null : document.body, ...rest } = props;
29850
29850
  let { getContainer: getContainer } = ($72abaeab4d80592f$export$9fc1347d4195ccb3)();
29851
29851
  if (!props.portalContainer && getContainer) portalContainer = getContainer();
@@ -30366,16 +30366,16 @@ function AlertDialog({ children, variant = "info", role = "dialog", title, isClo
30366
30366
  // being on the page at once, the prefix is set to a random number. SSRProvider
30367
30367
  // will reset this to zero for consistency between server and client, so in the
30368
30368
  // SSR case multiple copies of React Aria is not supported.
30369
- const $c7eafbbe1ea5834e$var$defaultContext$1 = {
30369
+ const $c7eafbbe1ea5834e$var$defaultContext = {
30370
30370
  prefix: String(Math.round(Math.random() * 10000000000)),
30371
30371
  current: 0
30372
30372
  };
30373
- const $c7eafbbe1ea5834e$var$SSRContext$1 = /*#__PURE__*/ ($8WNJc$react).createContext($c7eafbbe1ea5834e$var$defaultContext$1);
30374
- const $c7eafbbe1ea5834e$var$IsSSRContext$1 = /*#__PURE__*/ ($8WNJc$react).createContext(false);
30375
- let $c7eafbbe1ea5834e$var$canUseDOM$1 = Boolean(typeof window !== 'undefined' && window.document && window.document.createElement);
30376
- let $c7eafbbe1ea5834e$var$componentIds$1 = new WeakMap();
30377
- function $c7eafbbe1ea5834e$var$useCounter$1(isDisabled = false) {
30378
- let ctx = ($8WNJc$react.useContext)($c7eafbbe1ea5834e$var$SSRContext$1);
30373
+ const $c7eafbbe1ea5834e$var$SSRContext = /*#__PURE__*/ ($8WNJc$react).createContext($c7eafbbe1ea5834e$var$defaultContext);
30374
+ const $c7eafbbe1ea5834e$var$IsSSRContext = /*#__PURE__*/ ($8WNJc$react).createContext(false);
30375
+ let $c7eafbbe1ea5834e$var$canUseDOM = Boolean(typeof window !== 'undefined' && window.document && window.document.createElement);
30376
+ let $c7eafbbe1ea5834e$var$componentIds = new WeakMap();
30377
+ function $c7eafbbe1ea5834e$var$useCounter(isDisabled = false) {
30378
+ let ctx = ($8WNJc$react.useContext)($c7eafbbe1ea5834e$var$SSRContext);
30379
30379
  let ref = ($8WNJc$react.useRef)(null);
30380
30380
  // eslint-disable-next-line rsp-rules/pure-render
30381
30381
  if (ref.current === null && !isDisabled) {
@@ -30391,9 +30391,9 @@ function $c7eafbbe1ea5834e$var$useCounter$1(isDisabled = false) {
30391
30391
  let currentOwner = // @ts-ignore
30392
30392
  ($8WNJc$react).__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;
30393
30393
  if (currentOwner) {
30394
- let prevComponentValue = $c7eafbbe1ea5834e$var$componentIds$1.get(currentOwner);
30394
+ let prevComponentValue = $c7eafbbe1ea5834e$var$componentIds.get(currentOwner);
30395
30395
  if (prevComponentValue == null) // On the first render, and first call to useId, store the id and state in our weak map.
30396
- $c7eafbbe1ea5834e$var$componentIds$1.set(currentOwner, {
30396
+ $c7eafbbe1ea5834e$var$componentIds.set(currentOwner, {
30397
30397
  id: ctx.current,
30398
30398
  state: currentOwner.memoizedState
30399
30399
  });
@@ -30402,7 +30402,7 @@ function $c7eafbbe1ea5834e$var$useCounter$1(isDisabled = false) {
30402
30402
  // Reset the counter, and remove from the weak map so we don't
30403
30403
  // do this for subsequent useId calls.
30404
30404
  ctx.current = prevComponentValue.id;
30405
- $c7eafbbe1ea5834e$var$componentIds$1.delete(currentOwner);
30405
+ $c7eafbbe1ea5834e$var$componentIds.delete(currentOwner);
30406
30406
  }
30407
30407
  }
30408
30408
  // eslint-disable-next-line rsp-rules/pure-render
@@ -30411,38 +30411,38 @@ function $c7eafbbe1ea5834e$var$useCounter$1(isDisabled = false) {
30411
30411
  // eslint-disable-next-line rsp-rules/pure-render
30412
30412
  return ref.current;
30413
30413
  }
30414
- function $c7eafbbe1ea5834e$var$useLegacySSRSafeId$1(defaultId) {
30415
- let ctx = ($8WNJc$react.useContext)($c7eafbbe1ea5834e$var$SSRContext$1);
30414
+ function $c7eafbbe1ea5834e$var$useLegacySSRSafeId(defaultId) {
30415
+ let ctx = ($8WNJc$react.useContext)($c7eafbbe1ea5834e$var$SSRContext);
30416
30416
  // If we are rendering in a non-DOM environment, and there's no SSRProvider,
30417
30417
  // provide a warning to hint to the developer to add one.
30418
- if (ctx === $c7eafbbe1ea5834e$var$defaultContext$1 && !$c7eafbbe1ea5834e$var$canUseDOM$1 && process.env.NODE_ENV !== 'production') console.warn('When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.');
30419
- let counter = $c7eafbbe1ea5834e$var$useCounter$1(!!defaultId);
30420
- let prefix = ctx === $c7eafbbe1ea5834e$var$defaultContext$1 && process.env.NODE_ENV === 'test' ? 'react-aria' : `react-aria${ctx.prefix}`;
30418
+ if (ctx === $c7eafbbe1ea5834e$var$defaultContext && !$c7eafbbe1ea5834e$var$canUseDOM && process.env.NODE_ENV !== 'production') console.warn('When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.');
30419
+ let counter = $c7eafbbe1ea5834e$var$useCounter(!!defaultId);
30420
+ let prefix = ctx === $c7eafbbe1ea5834e$var$defaultContext && process.env.NODE_ENV === 'test' ? 'react-aria' : `react-aria${ctx.prefix}`;
30421
30421
  return defaultId || `${prefix}-${counter}`;
30422
30422
  }
30423
- function $c7eafbbe1ea5834e$var$useModernSSRSafeId$1(defaultId) {
30423
+ function $c7eafbbe1ea5834e$var$useModernSSRSafeId(defaultId) {
30424
30424
  let id = ($8WNJc$react).useId();
30425
- let [didSSR] = ($8WNJc$react.useState)($c7eafbbe1ea5834e$export$535bd6ca7f90a273$1());
30426
- let prefix = didSSR || process.env.NODE_ENV === 'test' ? 'react-aria' : `react-aria${$c7eafbbe1ea5834e$var$defaultContext$1.prefix}`;
30425
+ let [didSSR] = ($8WNJc$react.useState)($c7eafbbe1ea5834e$export$535bd6ca7f90a273());
30426
+ let prefix = didSSR || process.env.NODE_ENV === 'test' ? 'react-aria' : `react-aria${$c7eafbbe1ea5834e$var$defaultContext.prefix}`;
30427
30427
  return defaultId || `${prefix}-${id}`;
30428
30428
  }
30429
- typeof ($8WNJc$react)['useId'] === 'function' ? $c7eafbbe1ea5834e$var$useModernSSRSafeId$1 : $c7eafbbe1ea5834e$var$useLegacySSRSafeId$1;
30430
- function $c7eafbbe1ea5834e$var$getSnapshot$1() {
30429
+ typeof ($8WNJc$react)['useId'] === 'function' ? $c7eafbbe1ea5834e$var$useModernSSRSafeId : $c7eafbbe1ea5834e$var$useLegacySSRSafeId;
30430
+ function $c7eafbbe1ea5834e$var$getSnapshot() {
30431
30431
  return false;
30432
30432
  }
30433
- function $c7eafbbe1ea5834e$var$getServerSnapshot$1() {
30433
+ function $c7eafbbe1ea5834e$var$getServerSnapshot() {
30434
30434
  return true;
30435
30435
  }
30436
30436
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
30437
- function $c7eafbbe1ea5834e$var$subscribe$1(onStoreChange) {
30437
+ function $c7eafbbe1ea5834e$var$subscribe(onStoreChange) {
30438
30438
  // noop
30439
30439
  return ()=>{};
30440
30440
  }
30441
- function $c7eafbbe1ea5834e$export$535bd6ca7f90a273$1() {
30441
+ function $c7eafbbe1ea5834e$export$535bd6ca7f90a273() {
30442
30442
  // In React 18, we can use useSyncExternalStore to detect if we're server rendering or hydrating.
30443
- if (typeof ($8WNJc$react)['useSyncExternalStore'] === 'function') return ($8WNJc$react)['useSyncExternalStore']($c7eafbbe1ea5834e$var$subscribe$1, $c7eafbbe1ea5834e$var$getSnapshot$1, $c7eafbbe1ea5834e$var$getServerSnapshot$1);
30443
+ if (typeof ($8WNJc$react)['useSyncExternalStore'] === 'function') return ($8WNJc$react)['useSyncExternalStore']($c7eafbbe1ea5834e$var$subscribe, $c7eafbbe1ea5834e$var$getSnapshot, $c7eafbbe1ea5834e$var$getServerSnapshot);
30444
30444
  // eslint-disable-next-line react-hooks/rules-of-hooks
30445
- return ($8WNJc$react.useContext)($c7eafbbe1ea5834e$var$IsSSRContext$1);
30445
+ return ($8WNJc$react.useContext)($c7eafbbe1ea5834e$var$IsSSRContext);
30446
30446
  }
30447
30447
 
30448
30448
  /*
@@ -30456,7 +30456,7 @@ function $c7eafbbe1ea5834e$export$535bd6ca7f90a273$1() {
30456
30456
  * OF ANY KIND, either express or implied. See the License for the specific language
30457
30457
  * governing permissions and limitations under the License.
30458
30458
  */ // https://en.wikipedia.org/wiki/Right-to-left
30459
- const $d805ff57cab8bee2$var$RTL_SCRIPTS$1 = new Set([
30459
+ const $d805ff57cab8bee2$var$RTL_SCRIPTS = new Set([
30460
30460
  'Arab',
30461
30461
  'Syrc',
30462
30462
  'Samr',
@@ -30468,7 +30468,7 @@ const $d805ff57cab8bee2$var$RTL_SCRIPTS$1 = new Set([
30468
30468
  'Rohg',
30469
30469
  'Hebr'
30470
30470
  ]);
30471
- const $d805ff57cab8bee2$var$RTL_LANGS$1 = new Set([
30471
+ const $d805ff57cab8bee2$var$RTL_LANGS = new Set([
30472
30472
  'ae',
30473
30473
  'ar',
30474
30474
  'arc',
@@ -30489,7 +30489,7 @@ const $d805ff57cab8bee2$var$RTL_LANGS$1 = new Set([
30489
30489
  'ur',
30490
30490
  'yi'
30491
30491
  ]);
30492
- function $d805ff57cab8bee2$export$702d680b21cbd764$1(localeString) {
30492
+ function $d805ff57cab8bee2$export$702d680b21cbd764(localeString) {
30493
30493
  // If the Intl.Locale API is available, use it to get the locale's text direction.
30494
30494
  if (Intl.Locale) {
30495
30495
  let locale = new Intl.Locale(localeString).maximize();
@@ -30500,11 +30500,11 @@ function $d805ff57cab8bee2$export$702d680b21cbd764$1(localeString) {
30500
30500
  if (textInfo) return textInfo.direction === 'rtl';
30501
30501
  // Fallback: guess using the script.
30502
30502
  // This is more accurate than guessing by language, since languages can be written in multiple scripts.
30503
- if (locale.script) return $d805ff57cab8bee2$var$RTL_SCRIPTS$1.has(locale.script);
30503
+ if (locale.script) return $d805ff57cab8bee2$var$RTL_SCRIPTS.has(locale.script);
30504
30504
  }
30505
30505
  // If not, just guess by the language (first part of the locale)
30506
30506
  let lang = localeString.split('-')[0];
30507
- return $d805ff57cab8bee2$var$RTL_LANGS$1.has(lang);
30507
+ return $d805ff57cab8bee2$var$RTL_LANGS.has(lang);
30508
30508
  }
30509
30509
 
30510
30510
  /*
@@ -30521,9 +30521,9 @@ function $d805ff57cab8bee2$export$702d680b21cbd764$1(localeString) {
30521
30521
 
30522
30522
 
30523
30523
  // Locale passed from server by PackageLocalizationProvider.
30524
- const $520a025cdb0d710d$var$localeSymbol$1 = Symbol.for('react-aria.i18n.locale');
30525
- function $520a025cdb0d710d$export$f09106e7c6677ec5$1() {
30526
- let locale = typeof window !== 'undefined' && window[$520a025cdb0d710d$var$localeSymbol$1] || // @ts-ignore
30524
+ const $520a025cdb0d710d$var$localeSymbol = Symbol.for('react-aria.i18n.locale');
30525
+ function $520a025cdb0d710d$export$f09106e7c6677ec5() {
30526
+ let locale = typeof window !== 'undefined' && window[$520a025cdb0d710d$var$localeSymbol] || // @ts-ignore
30527
30527
  typeof navigator !== 'undefined' && (navigator.language || navigator.userLanguage) || 'en-US';
30528
30528
  try {
30529
30529
  Intl.DateTimeFormat.supportedLocalesOf([
@@ -30534,30 +30534,30 @@ function $520a025cdb0d710d$export$f09106e7c6677ec5$1() {
30534
30534
  }
30535
30535
  return {
30536
30536
  locale: locale,
30537
- direction: ($d805ff57cab8bee2$export$702d680b21cbd764$1)(locale) ? 'rtl' : 'ltr'
30537
+ direction: ($d805ff57cab8bee2$export$702d680b21cbd764)(locale) ? 'rtl' : 'ltr'
30538
30538
  };
30539
30539
  }
30540
- let $520a025cdb0d710d$var$currentLocale$1 = $520a025cdb0d710d$export$f09106e7c6677ec5$1();
30541
- let $520a025cdb0d710d$var$listeners$1 = new Set();
30542
- function $520a025cdb0d710d$var$updateLocale$1() {
30543
- $520a025cdb0d710d$var$currentLocale$1 = $520a025cdb0d710d$export$f09106e7c6677ec5$1();
30544
- for (let listener of $520a025cdb0d710d$var$listeners$1)listener($520a025cdb0d710d$var$currentLocale$1);
30540
+ let $520a025cdb0d710d$var$currentLocale = $520a025cdb0d710d$export$f09106e7c6677ec5();
30541
+ let $520a025cdb0d710d$var$listeners = new Set();
30542
+ function $520a025cdb0d710d$var$updateLocale() {
30543
+ $520a025cdb0d710d$var$currentLocale = $520a025cdb0d710d$export$f09106e7c6677ec5();
30544
+ for (let listener of $520a025cdb0d710d$var$listeners)listener($520a025cdb0d710d$var$currentLocale);
30545
30545
  }
30546
- function $520a025cdb0d710d$export$188ec29ebc2bdc3a$1() {
30547
- let isSSR = ($c7eafbbe1ea5834e$export$535bd6ca7f90a273$1)();
30548
- let [defaultLocale, setDefaultLocale] = ($8WNJc$react.useState)($520a025cdb0d710d$var$currentLocale$1);
30546
+ function $520a025cdb0d710d$export$188ec29ebc2bdc3a() {
30547
+ let isSSR = ($c7eafbbe1ea5834e$export$535bd6ca7f90a273)();
30548
+ let [defaultLocale, setDefaultLocale] = ($8WNJc$react.useState)($520a025cdb0d710d$var$currentLocale);
30549
30549
  ($8WNJc$react.useEffect)(()=>{
30550
- if ($520a025cdb0d710d$var$listeners$1.size === 0) window.addEventListener('languagechange', $520a025cdb0d710d$var$updateLocale$1);
30551
- $520a025cdb0d710d$var$listeners$1.add(setDefaultLocale);
30550
+ if ($520a025cdb0d710d$var$listeners.size === 0) window.addEventListener('languagechange', $520a025cdb0d710d$var$updateLocale);
30551
+ $520a025cdb0d710d$var$listeners.add(setDefaultLocale);
30552
30552
  return ()=>{
30553
- $520a025cdb0d710d$var$listeners$1.delete(setDefaultLocale);
30554
- if ($520a025cdb0d710d$var$listeners$1.size === 0) window.removeEventListener('languagechange', $520a025cdb0d710d$var$updateLocale$1);
30553
+ $520a025cdb0d710d$var$listeners.delete(setDefaultLocale);
30554
+ if ($520a025cdb0d710d$var$listeners.size === 0) window.removeEventListener('languagechange', $520a025cdb0d710d$var$updateLocale);
30555
30555
  };
30556
30556
  }, []);
30557
30557
  // We cannot determine the browser's language on the server, so default to
30558
30558
  // en-US. This will be updated after hydration on the client to the correct value.
30559
30559
  if (isSSR) {
30560
- let locale = typeof window !== 'undefined' && window[$520a025cdb0d710d$var$localeSymbol$1];
30560
+ let locale = typeof window !== 'undefined' && window[$520a025cdb0d710d$var$localeSymbol];
30561
30561
  return {
30562
30562
  locale: locale || 'en-US',
30563
30563
  direction: 'ltr'
@@ -30579,10 +30579,10 @@ function $520a025cdb0d710d$export$188ec29ebc2bdc3a$1() {
30579
30579
  */
30580
30580
 
30581
30581
 
30582
- const $2eb8e6d23f3d0cb0$var$I18nContext$1 = /*#__PURE__*/ ($8WNJc$react).createContext(null);
30583
- function $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$1() {
30584
- let defaultLocale = ($520a025cdb0d710d$export$188ec29ebc2bdc3a$1)();
30585
- let context = ($8WNJc$react.useContext)($2eb8e6d23f3d0cb0$var$I18nContext$1);
30582
+ const $2eb8e6d23f3d0cb0$var$I18nContext = /*#__PURE__*/ ($8WNJc$react).createContext(null);
30583
+ function $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7() {
30584
+ let defaultLocale = ($520a025cdb0d710d$export$188ec29ebc2bdc3a)();
30585
+ let context = ($8WNJc$react.useContext)($2eb8e6d23f3d0cb0$var$I18nContext);
30586
30586
  return context || defaultLocale;
30587
30587
  }
30588
30588
 
@@ -30623,7 +30623,7 @@ function $cf2482eff2eeeec2$export$87b761675e8eaa10(strings, packageName) {
30623
30623
  * OF ANY KIND, either express or implied. See the License for the specific language
30624
30624
  * governing permissions and limitations under the License.
30625
30625
  */ /* eslint-disable rsp-rules/pure-render */
30626
- function $9c268ab73a5d55e5$export$722debc0e56fea39$1(value, isEqual) {
30626
+ function $9c268ab73a5d55e5$export$722debc0e56fea39(value, isEqual) {
30627
30627
  // Using a ref during render is ok here because it's only an optimization – both values are equivalent.
30628
30628
  // If a render is thrown away, it'll still work the same no matter if the next render is the same or not.
30629
30629
  let lastValue = ($8WNJc$react.useRef)(null);
@@ -30646,16 +30646,16 @@ function $9c268ab73a5d55e5$export$722debc0e56fea39$1(value, isEqual) {
30646
30646
 
30647
30647
 
30648
30648
 
30649
- function $60f33508b4cd9d3b$export$85fd5fdf27bacc79$1(options) {
30649
+ function $60f33508b4cd9d3b$export$85fd5fdf27bacc79(options) {
30650
30650
  // Reuse last options object if it is shallowly equal, which allows the useMemo result to also be reused.
30651
- options = ($9c268ab73a5d55e5$export$722debc0e56fea39$1)(options ?? {}, $60f33508b4cd9d3b$var$isEqual$1);
30652
- let { locale: locale } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$1)();
30651
+ options = ($9c268ab73a5d55e5$export$722debc0e56fea39)(options ?? {}, $60f33508b4cd9d3b$var$isEqual);
30652
+ let { locale: locale } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7)();
30653
30653
  return ($8WNJc$react.useMemo)(()=>new ($12a3c853105e5a70$export$ad991b66133851cf)(locale, options), [
30654
30654
  locale,
30655
30655
  options
30656
30656
  ]);
30657
30657
  }
30658
- function $60f33508b4cd9d3b$var$isEqual$1(a, b) {
30658
+ function $60f33508b4cd9d3b$var$isEqual(a, b) {
30659
30659
  if (a === b) return true;
30660
30660
  let aKeys = Object.keys(a);
30661
30661
  let bKeys = Object.keys(b);
@@ -31437,7 +31437,7 @@ function $parcel$interopDefault(a) {
31437
31437
 
31438
31438
 
31439
31439
  function $40cf8faa4dad0740$export$d42c60378c8168f8() {
31440
- let { locale: locale } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7$1)();
31440
+ let { locale: locale } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7)();
31441
31441
  let dictionary = ($cf2482eff2eeeec2$export$87b761675e8eaa10)((($parcel$interopDefault($0014db39426443c5$exports))), '@react-aria/datepicker');
31442
31442
  return ($8WNJc$react.useMemo)(()=>{
31443
31443
  // Try to use Intl.DisplayNames if possible. It may be supported in browsers, but not support the dateTimeField
@@ -31485,7 +31485,7 @@ function SvgChevronRightIcon({ id = "chevron-right-icon" }) {
31485
31485
  }
31486
31486
 
31487
31487
  function Calendar({ visibleDuration = { months: 1 }, ...props }) {
31488
- const monthFormatter = $60f33508b4cd9d3b$export$85fd5fdf27bacc79$1({
31488
+ const monthFormatter = $60f33508b4cd9d3b$export$85fd5fdf27bacc79({
31489
31489
  month: "long",
31490
31490
  year: "numeric",
31491
31491
  });
@@ -31524,298 +31524,6 @@ function CheckboxGroup({ orientation = "vertical", label, description, errorMess
31524
31524
  return (jsxRuntime.jsx($ed8ccb2e23e76301$export$4aa08d5625cb8ead, { className: `bcds-react-aria-CheckboxGroup`, ...props, children: ({ isRequired, isInvalid }) => (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [label && (jsxRuntime.jsxs($43a3b93638fe5db9$export$b04be29aa201d4f5, { className: "bcds-react-aria-CheckboxGroup--label", children: [label, " ", isRequired && "(required)"] })), jsxRuntime.jsx("div", { className: `bcds-react-aria-CheckboxGroup--options ${orientation} flex-wrap-${flexWrap}`, children: jsxRuntime.jsx(jsxRuntime.Fragment, { children: children }) }), description && (jsxRuntime.jsx($efe09c6d1c304b50$export$5f1af8db9871e1d6, { slot: "description", className: "bcds-react-aria-CheckboxGroup--description", children: description })), isInvalid && (jsxRuntime.jsxs("div", { className: "bcds-react-aria-CheckboxGroup--error", children: [jsxRuntime.jsx(SvgExclamationIcon, {}), jsxRuntime.jsx($1f3c3b1a70cec653$export$f551688fc98f2e09, { children: errorMessage })] }))] })) }));
31525
31525
  }
31526
31526
 
31527
- /*
31528
- * Copyright 2020 Adobe. All rights reserved.
31529
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
31530
- * you may not use this file except in compliance with the License. You may obtain a copy
31531
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
31532
- *
31533
- * Unless required by applicable law or agreed to in writing, software distributed under
31534
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
31535
- * OF ANY KIND, either express or implied. See the License for the specific language
31536
- * governing permissions and limitations under the License.
31537
- */ // https://en.wikipedia.org/wiki/Right-to-left
31538
- const $d805ff57cab8bee2$var$RTL_SCRIPTS = new Set([
31539
- 'Arab',
31540
- 'Syrc',
31541
- 'Samr',
31542
- 'Mand',
31543
- 'Thaa',
31544
- 'Mend',
31545
- 'Nkoo',
31546
- 'Adlm',
31547
- 'Rohg',
31548
- 'Hebr'
31549
- ]);
31550
- const $d805ff57cab8bee2$var$RTL_LANGS = new Set([
31551
- 'ae',
31552
- 'ar',
31553
- 'arc',
31554
- 'bcc',
31555
- 'bqi',
31556
- 'ckb',
31557
- 'dv',
31558
- 'fa',
31559
- 'glk',
31560
- 'he',
31561
- 'ku',
31562
- 'mzn',
31563
- 'nqo',
31564
- 'pnb',
31565
- 'ps',
31566
- 'sd',
31567
- 'ug',
31568
- 'ur',
31569
- 'yi'
31570
- ]);
31571
- function $d805ff57cab8bee2$export$702d680b21cbd764(localeString) {
31572
- // If the Intl.Locale API is available, use it to get the locale's text direction.
31573
- if (Intl.Locale) {
31574
- let locale = new Intl.Locale(localeString).maximize();
31575
- // Use the text info object to get the direction if possible.
31576
- // @ts-ignore - this was implemented as a property by some browsers before it was standardized as a function.
31577
- // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getTextInfo
31578
- let textInfo = typeof locale.getTextInfo === 'function' ? locale.getTextInfo() : locale.textInfo;
31579
- if (textInfo) return textInfo.direction === 'rtl';
31580
- // Fallback: guess using the script.
31581
- // This is more accurate than guessing by language, since languages can be written in multiple scripts.
31582
- if (locale.script) return $d805ff57cab8bee2$var$RTL_SCRIPTS.has(locale.script);
31583
- }
31584
- // If not, just guess by the language (first part of the locale)
31585
- let lang = localeString.split('-')[0];
31586
- return $d805ff57cab8bee2$var$RTL_LANGS.has(lang);
31587
- }
31588
-
31589
- /*
31590
- * Copyright 2020 Adobe. All rights reserved.
31591
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
31592
- * you may not use this file except in compliance with the License. You may obtain a copy
31593
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
31594
- *
31595
- * Unless required by applicable law or agreed to in writing, software distributed under
31596
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
31597
- * OF ANY KIND, either express or implied. See the License for the specific language
31598
- * governing permissions and limitations under the License.
31599
- */ // We must avoid a circular dependency with @react-aria/utils, and this useLayoutEffect is
31600
- // guarded by a check that it only runs on the client side.
31601
- // eslint-disable-next-line rulesdir/useLayoutEffectRule
31602
-
31603
- // Default context value to use in case there is no SSRProvider. This is fine for
31604
- // client-only apps. In order to support multiple copies of React Aria potentially
31605
- // being on the page at once, the prefix is set to a random number. SSRProvider
31606
- // will reset this to zero for consistency between server and client, so in the
31607
- // SSR case multiple copies of React Aria is not supported.
31608
- const $c7eafbbe1ea5834e$var$defaultContext = {
31609
- prefix: String(Math.round(Math.random() * 10000000000)),
31610
- current: 0
31611
- };
31612
- const $c7eafbbe1ea5834e$var$SSRContext = /*#__PURE__*/ ($8WNJc$react).createContext($c7eafbbe1ea5834e$var$defaultContext);
31613
- const $c7eafbbe1ea5834e$var$IsSSRContext = /*#__PURE__*/ ($8WNJc$react).createContext(false);
31614
- let $c7eafbbe1ea5834e$var$canUseDOM = Boolean(typeof window !== 'undefined' && window.document && window.document.createElement);
31615
- let $c7eafbbe1ea5834e$var$componentIds = new WeakMap();
31616
- function $c7eafbbe1ea5834e$var$useCounter(isDisabled = false) {
31617
- let ctx = ($8WNJc$react.useContext)($c7eafbbe1ea5834e$var$SSRContext);
31618
- let ref = ($8WNJc$react.useRef)(null);
31619
- // eslint-disable-next-line rulesdir/pure-render
31620
- if (ref.current === null && !isDisabled) {
31621
- // In strict mode, React renders components twice, and the ref will be reset to null on the second render.
31622
- // This means our id counter will be incremented twice instead of once. This is a problem because on the
31623
- // server, components are only rendered once and so ids generated on the server won't match the client.
31624
- // In React 18, useId was introduced to solve this, but it is not available in older versions. So to solve this
31625
- // we need to use some React internals to access the underlying Fiber instance, which is stable between renders.
31626
- // This is exposed as ReactCurrentOwner in development, which is all we need since StrictMode only runs in development.
31627
- // To ensure that we only increment the global counter once, we store the starting id for this component in
31628
- // a weak map associated with the Fiber. On the second render, we reset the global counter to this value.
31629
- // Since React runs the second render immediately after the first, this is safe.
31630
- // @ts-ignore
31631
- let currentOwner = ($8WNJc$react).__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;
31632
- if (currentOwner) {
31633
- let prevComponentValue = $c7eafbbe1ea5834e$var$componentIds.get(currentOwner);
31634
- if (prevComponentValue == null) // On the first render, and first call to useId, store the id and state in our weak map.
31635
- $c7eafbbe1ea5834e$var$componentIds.set(currentOwner, {
31636
- id: ctx.current,
31637
- state: currentOwner.memoizedState
31638
- });
31639
- else if (currentOwner.memoizedState !== prevComponentValue.state) {
31640
- // On the second render, the memoizedState gets reset by React.
31641
- // Reset the counter, and remove from the weak map so we don't
31642
- // do this for subsequent useId calls.
31643
- ctx.current = prevComponentValue.id;
31644
- $c7eafbbe1ea5834e$var$componentIds.delete(currentOwner);
31645
- }
31646
- }
31647
- // eslint-disable-next-line rulesdir/pure-render
31648
- ref.current = ++ctx.current;
31649
- }
31650
- // eslint-disable-next-line rulesdir/pure-render
31651
- return ref.current;
31652
- }
31653
- function $c7eafbbe1ea5834e$var$useLegacySSRSafeId(defaultId) {
31654
- let ctx = ($8WNJc$react.useContext)($c7eafbbe1ea5834e$var$SSRContext);
31655
- // If we are rendering in a non-DOM environment, and there's no SSRProvider,
31656
- // provide a warning to hint to the developer to add one.
31657
- if (ctx === $c7eafbbe1ea5834e$var$defaultContext && !$c7eafbbe1ea5834e$var$canUseDOM && process.env.NODE_ENV !== 'production') console.warn('When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.');
31658
- let counter = $c7eafbbe1ea5834e$var$useCounter(!!defaultId);
31659
- let prefix = ctx === $c7eafbbe1ea5834e$var$defaultContext && process.env.NODE_ENV === 'test' ? 'react-aria' : `react-aria${ctx.prefix}`;
31660
- return defaultId || `${prefix}-${counter}`;
31661
- }
31662
- function $c7eafbbe1ea5834e$var$useModernSSRSafeId(defaultId) {
31663
- let id = ($8WNJc$react).useId();
31664
- let [didSSR] = ($8WNJc$react.useState)($c7eafbbe1ea5834e$export$535bd6ca7f90a273());
31665
- let prefix = didSSR || process.env.NODE_ENV === 'test' ? 'react-aria' : `react-aria${$c7eafbbe1ea5834e$var$defaultContext.prefix}`;
31666
- return defaultId || `${prefix}-${id}`;
31667
- }
31668
- typeof ($8WNJc$react)['useId'] === 'function' ? $c7eafbbe1ea5834e$var$useModernSSRSafeId : $c7eafbbe1ea5834e$var$useLegacySSRSafeId;
31669
- function $c7eafbbe1ea5834e$var$getSnapshot() {
31670
- return false;
31671
- }
31672
- function $c7eafbbe1ea5834e$var$getServerSnapshot() {
31673
- return true;
31674
- }
31675
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
31676
- function $c7eafbbe1ea5834e$var$subscribe(onStoreChange) {
31677
- // noop
31678
- return ()=>{};
31679
- }
31680
- function $c7eafbbe1ea5834e$export$535bd6ca7f90a273() {
31681
- // In React 18, we can use useSyncExternalStore to detect if we're server rendering or hydrating.
31682
- if (typeof ($8WNJc$react)['useSyncExternalStore'] === 'function') return ($8WNJc$react)['useSyncExternalStore']($c7eafbbe1ea5834e$var$subscribe, $c7eafbbe1ea5834e$var$getSnapshot, $c7eafbbe1ea5834e$var$getServerSnapshot);
31683
- // eslint-disable-next-line react-hooks/rules-of-hooks
31684
- return ($8WNJc$react.useContext)($c7eafbbe1ea5834e$var$IsSSRContext);
31685
- }
31686
-
31687
- /*
31688
- * Copyright 2020 Adobe. All rights reserved.
31689
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
31690
- * you may not use this file except in compliance with the License. You may obtain a copy
31691
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
31692
- *
31693
- * Unless required by applicable law or agreed to in writing, software distributed under
31694
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
31695
- * OF ANY KIND, either express or implied. See the License for the specific language
31696
- * governing permissions and limitations under the License.
31697
- */
31698
-
31699
-
31700
- // Locale passed from server by PackageLocalizationProvider.
31701
- const $520a025cdb0d710d$var$localeSymbol = Symbol.for('react-aria.i18n.locale');
31702
- function $520a025cdb0d710d$export$f09106e7c6677ec5() {
31703
- let locale = typeof window !== 'undefined' && window[$520a025cdb0d710d$var$localeSymbol] || typeof navigator !== 'undefined' && (navigator.language || navigator.userLanguage) || 'en-US';
31704
- try {
31705
- Intl.DateTimeFormat.supportedLocalesOf([
31706
- locale
31707
- ]);
31708
- } catch {
31709
- locale = 'en-US';
31710
- }
31711
- return {
31712
- locale: locale,
31713
- direction: ($d805ff57cab8bee2$export$702d680b21cbd764)(locale) ? 'rtl' : 'ltr'
31714
- };
31715
- }
31716
- let $520a025cdb0d710d$var$currentLocale = $520a025cdb0d710d$export$f09106e7c6677ec5();
31717
- let $520a025cdb0d710d$var$listeners = new Set();
31718
- function $520a025cdb0d710d$var$updateLocale() {
31719
- $520a025cdb0d710d$var$currentLocale = $520a025cdb0d710d$export$f09106e7c6677ec5();
31720
- for (let listener of $520a025cdb0d710d$var$listeners)listener($520a025cdb0d710d$var$currentLocale);
31721
- }
31722
- function $520a025cdb0d710d$export$188ec29ebc2bdc3a() {
31723
- let isSSR = ($c7eafbbe1ea5834e$export$535bd6ca7f90a273)();
31724
- let [defaultLocale, setDefaultLocale] = ($8WNJc$react.useState)($520a025cdb0d710d$var$currentLocale);
31725
- ($8WNJc$react.useEffect)(()=>{
31726
- if ($520a025cdb0d710d$var$listeners.size === 0) window.addEventListener('languagechange', $520a025cdb0d710d$var$updateLocale);
31727
- $520a025cdb0d710d$var$listeners.add(setDefaultLocale);
31728
- return ()=>{
31729
- $520a025cdb0d710d$var$listeners.delete(setDefaultLocale);
31730
- if ($520a025cdb0d710d$var$listeners.size === 0) window.removeEventListener('languagechange', $520a025cdb0d710d$var$updateLocale);
31731
- };
31732
- }, []);
31733
- // We cannot determine the browser's language on the server, so default to
31734
- // en-US. This will be updated after hydration on the client to the correct value.
31735
- if (isSSR) {
31736
- let locale = typeof window !== 'undefined' && window[$520a025cdb0d710d$var$localeSymbol];
31737
- return {
31738
- locale: locale || 'en-US',
31739
- direction: 'ltr'
31740
- };
31741
- }
31742
- return defaultLocale;
31743
- }
31744
-
31745
- /*
31746
- * Copyright 2020 Adobe. All rights reserved.
31747
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
31748
- * you may not use this file except in compliance with the License. You may obtain a copy
31749
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
31750
- *
31751
- * Unless required by applicable law or agreed to in writing, software distributed under
31752
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
31753
- * OF ANY KIND, either express or implied. See the License for the specific language
31754
- * governing permissions and limitations under the License.
31755
- */
31756
-
31757
-
31758
- const $2eb8e6d23f3d0cb0$var$I18nContext = /*#__PURE__*/ ($8WNJc$react).createContext(null);
31759
- function $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7() {
31760
- let defaultLocale = ($520a025cdb0d710d$export$188ec29ebc2bdc3a)();
31761
- let context = ($8WNJc$react.useContext)($2eb8e6d23f3d0cb0$var$I18nContext);
31762
- return context || defaultLocale;
31763
- }
31764
-
31765
- /*
31766
- * Copyright 2023 Adobe. All rights reserved.
31767
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
31768
- * you may not use this file except in compliance with the License. You may obtain a copy
31769
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
31770
- *
31771
- * Unless required by applicable law or agreed to in writing, software distributed under
31772
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
31773
- * OF ANY KIND, either express or implied. See the License for the specific language
31774
- * governing permissions and limitations under the License.
31775
- */ /* eslint-disable rulesdir/pure-render */
31776
- function $9c268ab73a5d55e5$export$722debc0e56fea39(value, isEqual) {
31777
- // Using a ref during render is ok here because it's only an optimization – both values are equivalent.
31778
- // If a render is thrown away, it'll still work the same no matter if the next render is the same or not.
31779
- let lastValue = ($8WNJc$react.useRef)(null);
31780
- if (value && lastValue.current && isEqual(value, lastValue.current)) value = lastValue.current;
31781
- lastValue.current = value;
31782
- return value;
31783
- }
31784
-
31785
- /*
31786
- * Copyright 2020 Adobe. All rights reserved.
31787
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
31788
- * you may not use this file except in compliance with the License. You may obtain a copy
31789
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
31790
- *
31791
- * Unless required by applicable law or agreed to in writing, software distributed under
31792
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
31793
- * OF ANY KIND, either express or implied. See the License for the specific language
31794
- * governing permissions and limitations under the License.
31795
- */
31796
-
31797
-
31798
-
31799
- function $60f33508b4cd9d3b$export$85fd5fdf27bacc79(options) {
31800
- // Reuse last options object if it is shallowly equal, which allows the useMemo result to also be reused.
31801
- options = ($9c268ab73a5d55e5$export$722debc0e56fea39)(options ?? {}, $60f33508b4cd9d3b$var$isEqual);
31802
- let { locale: locale } = ($2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7)();
31803
- return ($8WNJc$react.useMemo)(()=>new ($12a3c853105e5a70$export$ad991b66133851cf)(locale, options), [
31804
- locale,
31805
- options
31806
- ]);
31807
- }
31808
- function $60f33508b4cd9d3b$var$isEqual(a, b) {
31809
- if (a === b) return true;
31810
- let aKeys = Object.keys(a);
31811
- let bKeys = Object.keys(b);
31812
- if (aKeys.length !== bKeys.length) return false;
31813
- for (let key of aKeys){
31814
- if (b[key] !== a[key]) return false;
31815
- }
31816
- return true;
31817
- }
31818
-
31819
31527
  var css_248z$s = ".bcds-react-aria-DatePicker {\n display: flex;\n flex: 1 1 0;\n flex-direction: column;\n background-color: var(--surface-color-forms-default);\n align-self: flex-start;\n width: 100%;\n max-width: -moz-available;\n max-width: -webkit-fill-available;\n}\n.bcds-react-aria-DatePicker--Group {\n display: inline-flex;\n flex-direction: row;\n align-items: center;\n box-sizing: border-box;\n border: var(--layout-border-width-small) solid\n var(--surface-color-border-default);\n border-radius: var(--layout-border-radius-medium);\n gap: var(--layout-margin-small);\n}\n.bcds-react-aria-DatePicker--Input {\n display: inline;\n box-sizing: border-box;\n width: 100%;\n min-width: 0;\n align-items: center;\n white-space: nowrap;\n border: none;\n}\n\n/* Sizing */\n.bcds-react-aria-DatePicker.small > .bcds-react-aria-DatePicker--Group {\n padding: var(--layout-padding-hair) var(--layout-padding-small);\n height: 32px;\n}\n.bcds-react-aria-DatePicker.small .bcds-react-aria-DatePicker--Input {\n font: var(--typography-regular-small-body);\n}\n\n.bcds-react-aria-DatePicker.medium > .bcds-react-aria-DatePicker--Group {\n padding: var(--layout-padding-xsmall) 0.75rem;\n height: 40px;\n}\n.bcds-react-aria-DatePicker.medium .bcds-react-aria-DatePicker--Input {\n font: var(--typography-regular-body);\n}\n\n/* Label */\n.bcds-react-aria-DatePicker--Label {\n font: var(--typography-regular-small-body);\n color: var(--typography-color-primary);\n padding: var(--layout-padding-xsmall) var(--layout-padding-none);\n}\n/* Required indicator */\n.bcds-react-aria-DatePicker--Label.required {\n color: var(--typography-color-secondary);\n padding: var(--layout-padding-none) var(--layout-padding-xsmall);\n}\n/* Description */\n.bcds-react-aria-DatePicker--Description {\n font: var(--typography-regular-small-body);\n color: var(--typography-color-secondary);\n padding: var(--layout-padding-xsmall) var(--layout-padding-none);\n}\n/* Error message */\n.bcds-react-aria-DatePicker--Error {\n font: var(--typography-regular-small-body);\n color: var(--typography-color-danger);\n}\n.bcds-react-aria-DatePicker[data-invalid] > .bcds-react-aria-DatePicker--Group {\n border-color: var(--support-border-color-danger);\n}\n.bcds-react-aria-DatePicker[data-invalid]\n > .bcds-react-aria-DatePicker--Group\n > svg {\n color: var(--icons-color-danger);\n min-width: var(--icons-size-medium);\n height: var(--icons-size-medium);\n}\n/* Format helper text */\n.bcds-react-aria-DatePicker--FormatHelpText {\n unicode-bidi: embed;\n direction: ltr;\n}\n\n/* Hover and focus */\n.bcds-react-aria-DatePicker--Group[data-hovered] {\n border-color: var(--surface-color-border-dark);\n}\n.bcds-react-aria-DatePicker[data-focus-visible]\n > .bcds-react-aria-DatePicker--Group {\n outline: solid var(--layout-border-width-medium)\n var(--surface-color-border-active);\n outline-offset: var(--layout-margin-hair);\n}\n.bcds-react-aria-DatePicker[data-focus-visible]\n > .bcds-react-aria-DatePicker--Group:has(\n .bcds-react-aria-Button[data-focus-visible]\n ) {\n outline: none; /* Hide focus ring when button is focused */\n}\n.bcds-react-aria-DatePicker[data-focus-visible]\n .bcds-react-aria-DatePicker--Segment {\n outline: none;\n}\n.bcds-react-aria-DatePicker--Segment[data-focused] {\n outline: none;\n border-radius: var(--layout-border-radius-small);\n background-color: var(--surface-color-primary-default);\n color: var(--typography-color-primary-invert);\n padding: var(--layout-padding-hair);\n margin: var(--layout-margin-none) var(--layout-margin-hair);\n}\n.bcds-react-aria-DatePicker > .bcds-react-aria-Button[data-focused] {\n outline: none;\n}\n\n/* Disabled and read-only */\n.bcds-react-aria-DatePicker[data-readonly]\n > .bcds-react-aria-DatePicker--Group {\n cursor: not-allowed;\n}\n.bcds-react-aria-DatePicker--Segment[data-readonly][data-focused] {\n background-color: var(--surface-color-forms-disabled);\n color: var(--typography-color-primary);\n}\n.bcds-react-aria-DatePicker[data-disabled]\n > .bcds-react-aria-DatePicker--Group {\n background-color: var(--surface-color-forms-disabled);\n color: var(--typography-color-disabled);\n cursor: not-allowed;\n}\n";
31820
31528
  styleInject(css_248z$s);
31821
31529