@embedreach/components 0.1.41 → 0.1.43

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.
@@ -4302,33 +4302,33 @@ function createElement(tagName, isSVG = false) {
4302
4302
  }
4303
4303
  function Portal$7(props) {
4304
4304
  const { useShadow } = props, marker = document.createTextNode(""), mount = () => props.mount || document.body, owner = getOwner();
4305
- let content;
4305
+ let content2;
4306
4306
  let hydrating = !!sharedConfig.context;
4307
4307
  createEffect(
4308
4308
  () => {
4309
4309
  if (hydrating)
4310
4310
  getOwner().user = hydrating = false;
4311
- content || (content = runWithOwner(owner, () => createMemo(() => props.children)));
4311
+ content2 || (content2 = runWithOwner(owner, () => createMemo(() => props.children)));
4312
4312
  const el = mount();
4313
4313
  if (el instanceof HTMLHeadElement) {
4314
4314
  const [clean, setClean] = createSignal(false);
4315
4315
  const cleanup = () => setClean(true);
4316
- createRoot((dispose2) => insert(el, () => !clean() ? content() : dispose2(), null));
4316
+ createRoot((dispose2) => insert(el, () => !clean() ? content2() : dispose2(), null));
4317
4317
  onCleanup(cleanup);
4318
4318
  } else {
4319
- const container = createElement(props.isSVG ? "g" : "div", props.isSVG), renderRoot = useShadow && container.attachShadow ? container.attachShadow({
4319
+ const container2 = createElement(props.isSVG ? "g" : "div", props.isSVG), renderRoot = useShadow && container2.attachShadow ? container2.attachShadow({
4320
4320
  mode: "open"
4321
- }) : container;
4322
- Object.defineProperty(container, "_$host", {
4321
+ }) : container2;
4322
+ Object.defineProperty(container2, "_$host", {
4323
4323
  get() {
4324
4324
  return marker.parentNode;
4325
4325
  },
4326
4326
  configurable: true
4327
4327
  });
4328
- insert(renderRoot, content);
4329
- el.appendChild(container);
4330
- props.ref && props.ref(container);
4331
- onCleanup(() => el.removeChild(container));
4328
+ insert(renderRoot, content2);
4329
+ el.appendChild(container2);
4330
+ props.ref && props.ref(container2);
4331
+ onCleanup(() => el.removeChild(container2));
4332
4332
  }
4333
4333
  },
4334
4334
  void 0,
@@ -11136,7 +11136,7 @@ class Browser {
11136
11136
  }
11137
11137
  Browser.type = "languageDetector";
11138
11138
  const ad_spend$1 = "Ad Spend";
11139
- const date$1 = "Date";
11139
+ const date$2 = "Date";
11140
11140
  const close$1 = "Close";
11141
11141
  const connected$1 = "Connected";
11142
11142
  const connecting$1 = "Connecting...";
@@ -11523,7 +11523,7 @@ const empty_state$1 = {
11523
11523
  };
11524
11524
  const enCommon = {
11525
11525
  ad_spend: ad_spend$1,
11526
- date: date$1,
11526
+ date: date$2,
11527
11527
  close: close$1,
11528
11528
  "continue": "Continue",
11529
11529
  connected: connected$1,
@@ -11562,7 +11562,7 @@ const enCommon = {
11562
11562
  empty_state: empty_state$1
11563
11563
  };
11564
11564
  const ad_spend = "Gasto en anuncios";
11565
- const date = "Fecha";
11565
+ const date$1 = "Fecha";
11566
11566
  const close = "Cerrar";
11567
11567
  const connected = "Conectado";
11568
11568
  const connecting = "Conectando...";
@@ -11949,7 +11949,7 @@ const empty_state = {
11949
11949
  };
11950
11950
  const esCommon = {
11951
11951
  ad_spend,
11952
- date,
11952
+ date: date$1,
11953
11953
  close,
11954
11954
  "continue": "Continuar",
11955
11955
  connected,
@@ -12671,8 +12671,8 @@ var Portal$6 = React.forwardRef((props, forwardedRef) => {
12671
12671
  const { container: containerProp, ...portalProps } = props;
12672
12672
  const [mounted, setMounted] = React.useState(false);
12673
12673
  useLayoutEffect2(() => setMounted(true), []);
12674
- const container = containerProp || mounted && globalThis?.document?.body;
12675
- return container ? ReactDOM__default.createPortal(/* @__PURE__ */ jsx(Primitive$3.div, { ...portalProps, ref: forwardedRef }), container) : null;
12674
+ const container2 = containerProp || mounted && globalThis?.document?.body;
12675
+ return container2 ? ReactDOM__default.createPortal(/* @__PURE__ */ jsx(Primitive$3.div, { ...portalProps, ref: forwardedRef }), container2) : null;
12676
12676
  });
12677
12677
  Portal$6.displayName = PORTAL_NAME$7;
12678
12678
  function useStateMachine(initialState, machine) {
@@ -13395,9 +13395,9 @@ var ToastAnnounceExclude = React.forwardRef((props, forwardedRef) => {
13395
13395
  }
13396
13396
  );
13397
13397
  });
13398
- function getAnnounceTextContent(container) {
13398
+ function getAnnounceTextContent(container2) {
13399
13399
  const textContent = [];
13400
- const childNodes = Array.from(container.childNodes);
13400
+ const childNodes = Array.from(container2.childNodes);
13401
13401
  childNodes.forEach((node) => {
13402
13402
  if (node.nodeType === node.TEXT_NODE && node.textContent) textContent.push(node.textContent);
13403
13403
  if (isHTMLElement$1(node)) {
@@ -13451,9 +13451,9 @@ function useNextFrame(callback = () => {
13451
13451
  function isHTMLElement$1(node) {
13452
13452
  return node.nodeType === node.ELEMENT_NODE;
13453
13453
  }
13454
- function getTabbableCandidates$2(container) {
13454
+ function getTabbableCandidates$2(container2) {
13455
13455
  const nodes = [];
13456
- const walker2 = document.createTreeWalker(container, NodeFilter.SHOW_ELEMENT, {
13456
+ const walker2 = document.createTreeWalker(container2, NodeFilter.SHOW_ELEMENT, {
13457
13457
  acceptNode: (node) => {
13458
13458
  const isHiddenInput = node.tagName === "INPUT" && node.type === "hidden";
13459
13459
  if (node.disabled || node.hidden || isHiddenInput) return NodeFilter.FILTER_SKIP;
@@ -13493,9 +13493,9 @@ function clsx() {
13493
13493
  }
13494
13494
  const falsyToString = (value) => typeof value === "boolean" ? `${value}` : value === 0 ? "0" : value;
13495
13495
  const cx = clsx;
13496
- const cva = (base, config) => (props) => {
13496
+ const cva = (base2, config) => (props) => {
13497
13497
  var _config_compoundVariants;
13498
- if ((config === null || config === void 0 ? void 0 : config.variants) == null) return cx(base, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);
13498
+ if ((config === null || config === void 0 ? void 0 : config.variants) == null) return cx(base2, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);
13499
13499
  const { variants, defaultVariants } = config;
13500
13500
  const getVariantClassNames = Object.keys(variants).map((variant) => {
13501
13501
  const variantProp = props === null || props === void 0 ? void 0 : props[variant];
@@ -13529,7 +13529,7 @@ const cva = (base, config) => (props) => {
13529
13529
  cvClassName
13530
13530
  ] : acc;
13531
13531
  }, []);
13532
- return cx(base, getVariantClassNames, getCompoundVariantClassNames, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);
13532
+ return cx(base2, getVariantClassNames, getCompoundVariantClassNames, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);
13533
13533
  };
13534
13534
  /**
13535
13535
  * @license lucide-react v0.464.0 - ISC
@@ -16542,11 +16542,11 @@ ToastDescription.displayName = Description$1.displayName;
16542
16542
  function Toaster() {
16543
16543
  const { toasts } = useToast();
16544
16544
  return /* @__PURE__ */ jsxs(ToastProvider, { children: [
16545
- toasts.map(function({ id: id2, title, description, action, ...props }) {
16545
+ toasts.map(function({ id: id2, title: title2, description: description2, action, ...props }) {
16546
16546
  return /* @__PURE__ */ jsxs(Toast, { ...props, children: [
16547
16547
  /* @__PURE__ */ jsxs("div", { className: "grid gap-1", children: [
16548
- title && /* @__PURE__ */ jsx(ToastTitle, { children: title }),
16549
- description && /* @__PURE__ */ jsx(ToastDescription, { children: description })
16548
+ title2 && /* @__PURE__ */ jsx(ToastTitle, { children: title2 }),
16549
+ description2 && /* @__PURE__ */ jsx(ToastDescription, { children: description2 })
16550
16550
  ] }),
16551
16551
  action,
16552
16552
  /* @__PURE__ */ jsx(ToastClose, {})
@@ -24221,7 +24221,29 @@ function getElementRef$2(element) {
24221
24221
  }
24222
24222
  return element.props.ref || element.ref;
24223
24223
  }
24224
- const styles$6 = {};
24224
+ const base$2 = "reach-styles-module__base___gfFyc";
24225
+ const destructive$2 = "reach-styles-module__destructive___XjBvS";
24226
+ const outline$2 = "reach-styles-module__outline___gFp3i";
24227
+ const secondary$2 = "reach-styles-module__secondary___Pd-e3";
24228
+ const ghost = "reach-styles-module__ghost___GcnJq";
24229
+ const link = "reach-styles-module__link___EgS2H";
24230
+ const sizeDefault$1 = "reach-styles-module__sizeDefault___8kU5A";
24231
+ const sizeSm$1 = "reach-styles-module__sizeSm___zPIEh";
24232
+ const sizeLg = "reach-styles-module__sizeLg___D2G8z";
24233
+ const sizeIcon = "reach-styles-module__sizeIcon___5XkYW";
24234
+ const styles$6 = {
24235
+ base: base$2,
24236
+ "default": "reach-styles-module__default___ny1h7",
24237
+ destructive: destructive$2,
24238
+ outline: outline$2,
24239
+ secondary: secondary$2,
24240
+ ghost,
24241
+ link,
24242
+ sizeDefault: sizeDefault$1,
24243
+ sizeSm: sizeSm$1,
24244
+ sizeLg,
24245
+ sizeIcon
24246
+ };
24225
24247
  const buttonVariants = cva([styles$6.base], {
24226
24248
  variants: {
24227
24249
  variant: {
@@ -24233,10 +24255,10 @@ const buttonVariants = cva([styles$6.base], {
24233
24255
  link: styles$6.link
24234
24256
  },
24235
24257
  size: {
24236
- default: styles$6["size-default"],
24237
- sm: styles$6["size-sm"],
24238
- lg: styles$6["size-lg"],
24239
- icon: styles$6["size-icon"]
24258
+ default: styles$6.sizeDefault,
24259
+ sm: styles$6.sizeSm,
24260
+ lg: styles$6.sizeLg,
24261
+ icon: styles$6.sizeIcon
24240
24262
  }
24241
24263
  },
24242
24264
  defaultVariants: {
@@ -24247,13 +24269,6 @@ const buttonVariants = cva([styles$6.base], {
24247
24269
  const Button$1 = React.forwardRef(
24248
24270
  ({ className: className2, variant, size: size2, asChild = false, ...props }, ref) => {
24249
24271
  const Comp = asChild ? Slot$2 : "button";
24250
- console.log(
24251
- `BUTTON VARIANTS`,
24252
- size2,
24253
- variant,
24254
- className2,
24255
- buttonVariants({ variant, size: size2, className: className2 })
24256
- );
24257
24272
  return /* @__PURE__ */ jsx(
24258
24273
  Comp,
24259
24274
  {
@@ -24309,16 +24324,16 @@ const ActionButtons$1 = ({
24309
24324
  )
24310
24325
  ] }) });
24311
24326
  };
24312
- const BigSelector = ({ onClick, title, subtitle, icon, selected, disabled = false }) => {
24327
+ const BigSelector = ({ onClick, title: title2, subtitle, icon, selected, disabled = false }) => {
24313
24328
  return /* @__PURE__ */ jsxs(
24314
24329
  "button",
24315
24330
  {
24316
24331
  onClick,
24317
- className: `flex flex-col items-center justify-center rounded-lg border-[3px] p-4 transition-all duration-300 ease-in-out ${disabled ? "opacity-50 cursor-not-allowed" : selected ? "scale-[1.02] hover:scale-[1.04] border-primary bg-primary/5" : "border-gray-200 hover:border-primary hover:bg-gray-50"}`,
24332
+ className: `flex flex-col items-center justify-center rounded-lg border-[3px] p-4 transition-all duration-300 ease-in-out ${disabled ? "opacity-50 cursor-not-allowed" : selected ? "scale-[1.02] hover:scale-[1.04] [border-color:hsl(var(--reach-primary))] [background-color:hsl(var(--reach-primary)/0.05)]" : "border-gray-200 hover:[border-color:hsl(var(--reach-primary))] hover:bg-gray-50"}`,
24318
24333
  children: [
24319
24334
  icon,
24320
24335
  /* @__PURE__ */ jsxs("div", { className: "text-center", children: [
24321
- /* @__PURE__ */ jsx("div", { className: "text-sm font-medium text-gray-900", children: title }),
24336
+ /* @__PURE__ */ jsx("div", { className: "text-sm font-medium text-gray-900", children: title2 }),
24322
24337
  /* @__PURE__ */ jsx("div", { className: "text-xs text-gray-500", children: subtitle })
24323
24338
  ] })
24324
24339
  ]
@@ -25987,8 +26002,8 @@ async function getKeyedPrefetchLinks(matches, manifest, routeModules) {
25987
26002
  })
25988
26003
  );
25989
26004
  return dedupeLinkDescriptors(
25990
- links.flat(1).filter(isHtmlLinkDescriptor).filter((link) => link.rel === "stylesheet" || link.rel === "preload").map(
25991
- (link) => link.rel === "stylesheet" ? { ...link, rel: "prefetch", as: "style" } : { ...link, rel: "prefetch" }
26005
+ links.flat(1).filter(isHtmlLinkDescriptor).filter((link2) => link2.rel === "stylesheet" || link2.rel === "preload").map(
26006
+ (link2) => link2.rel === "stylesheet" ? { ...link2, rel: "prefetch", as: "style" } : { ...link2, rel: "prefetch" }
25992
26007
  )
25993
26008
  );
25994
26009
  }
@@ -26287,10 +26302,10 @@ function PrefetchPageLinksImpl({
26287
26302
  [newMatchesForAssets, manifest]
26288
26303
  );
26289
26304
  let keyedPrefetchLinks = useKeyedPrefetchLinks(newMatchesForAssets);
26290
- return /* @__PURE__ */ React.createElement(React.Fragment, null, dataHrefs.map((href) => /* @__PURE__ */ React.createElement("link", { key: href, rel: "prefetch", as: "fetch", href, ...linkProps })), moduleHrefs.map((href) => /* @__PURE__ */ React.createElement("link", { key: href, rel: "modulepreload", href, ...linkProps })), keyedPrefetchLinks.map(({ key, link }) => (
26305
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, dataHrefs.map((href) => /* @__PURE__ */ React.createElement("link", { key: href, rel: "prefetch", as: "fetch", href, ...linkProps })), moduleHrefs.map((href) => /* @__PURE__ */ React.createElement("link", { key: href, rel: "modulepreload", href, ...linkProps })), keyedPrefetchLinks.map(({ key, link: link2 }) => (
26291
26306
  // these don't spread `linkProps` because they are full link descriptors
26292
26307
  // already with their own props
26293
- /* @__PURE__ */ React.createElement("link", { key, ...link })
26308
+ /* @__PURE__ */ React.createElement("link", { key, ...link2 })
26294
26309
  )));
26295
26310
  }
26296
26311
  function mergeRefs(...refs) {
@@ -26370,7 +26385,7 @@ var Link = React.forwardRef(
26370
26385
  internalOnClick(event);
26371
26386
  }
26372
26387
  }
26373
- let link = (
26388
+ let link2 = (
26374
26389
  // eslint-disable-next-line jsx-a11y/anchor-has-content
26375
26390
  /* @__PURE__ */ React.createElement(
26376
26391
  "a",
@@ -26385,7 +26400,7 @@ var Link = React.forwardRef(
26385
26400
  }
26386
26401
  )
26387
26402
  );
26388
- return shouldPrefetch && !isAbsolute ? /* @__PURE__ */ React.createElement(React.Fragment, null, link, /* @__PURE__ */ React.createElement(PrefetchPageLinks, { page: href })) : link;
26403
+ return shouldPrefetch && !isAbsolute ? /* @__PURE__ */ React.createElement(React.Fragment, null, link2, /* @__PURE__ */ React.createElement(PrefetchPageLinks, { page: href })) : link2;
26389
26404
  }
26390
26405
  );
26391
26406
  Link.displayName = "Link";
@@ -27100,7 +27115,7 @@ var FocusScope$1 = React.forwardRef((props, forwardedRef) => {
27100
27115
  onUnmountAutoFocus: onUnmountAutoFocusProp,
27101
27116
  ...scopeProps
27102
27117
  } = props;
27103
- const [container, setContainer] = React.useState(null);
27118
+ const [container2, setContainer] = React.useState(null);
27104
27119
  const onMountAutoFocus = useCallbackRef$1(onMountAutoFocusProp);
27105
27120
  const onUnmountAutoFocus = useCallbackRef$1(onUnmountAutoFocusProp);
27106
27121
  const lastFocusedElementRef = React.useRef(null);
@@ -27117,69 +27132,69 @@ var FocusScope$1 = React.forwardRef((props, forwardedRef) => {
27117
27132
  React.useEffect(() => {
27118
27133
  if (trapped) {
27119
27134
  let handleFocusIn2 = function(event) {
27120
- if (focusScope.paused || !container) return;
27135
+ if (focusScope.paused || !container2) return;
27121
27136
  const target = event.target;
27122
- if (container.contains(target)) {
27137
+ if (container2.contains(target)) {
27123
27138
  lastFocusedElementRef.current = target;
27124
27139
  } else {
27125
27140
  focus$1(lastFocusedElementRef.current, { select: true });
27126
27141
  }
27127
27142
  }, handleFocusOut2 = function(event) {
27128
- if (focusScope.paused || !container) return;
27143
+ if (focusScope.paused || !container2) return;
27129
27144
  const relatedTarget = event.relatedTarget;
27130
27145
  if (relatedTarget === null) return;
27131
- if (!container.contains(relatedTarget)) {
27146
+ if (!container2.contains(relatedTarget)) {
27132
27147
  focus$1(lastFocusedElementRef.current, { select: true });
27133
27148
  }
27134
27149
  }, handleMutations2 = function(mutations) {
27135
27150
  const focusedElement = document.activeElement;
27136
27151
  if (focusedElement !== document.body) return;
27137
27152
  for (const mutation of mutations) {
27138
- if (mutation.removedNodes.length > 0) focus$1(container);
27153
+ if (mutation.removedNodes.length > 0) focus$1(container2);
27139
27154
  }
27140
27155
  };
27141
27156
  document.addEventListener("focusin", handleFocusIn2);
27142
27157
  document.addEventListener("focusout", handleFocusOut2);
27143
27158
  const mutationObserver = new MutationObserver(handleMutations2);
27144
- if (container) mutationObserver.observe(container, { childList: true, subtree: true });
27159
+ if (container2) mutationObserver.observe(container2, { childList: true, subtree: true });
27145
27160
  return () => {
27146
27161
  document.removeEventListener("focusin", handleFocusIn2);
27147
27162
  document.removeEventListener("focusout", handleFocusOut2);
27148
27163
  mutationObserver.disconnect();
27149
27164
  };
27150
27165
  }
27151
- }, [trapped, container, focusScope.paused]);
27166
+ }, [trapped, container2, focusScope.paused]);
27152
27167
  React.useEffect(() => {
27153
- if (container) {
27168
+ if (container2) {
27154
27169
  focusScopesStack$1.add(focusScope);
27155
27170
  const previouslyFocusedElement = document.activeElement;
27156
- const hasFocusedCandidate = container.contains(previouslyFocusedElement);
27171
+ const hasFocusedCandidate = container2.contains(previouslyFocusedElement);
27157
27172
  if (!hasFocusedCandidate) {
27158
27173
  const mountEvent = new CustomEvent(AUTOFOCUS_ON_MOUNT$1, EVENT_OPTIONS$2);
27159
- container.addEventListener(AUTOFOCUS_ON_MOUNT$1, onMountAutoFocus);
27160
- container.dispatchEvent(mountEvent);
27174
+ container2.addEventListener(AUTOFOCUS_ON_MOUNT$1, onMountAutoFocus);
27175
+ container2.dispatchEvent(mountEvent);
27161
27176
  if (!mountEvent.defaultPrevented) {
27162
- focusFirst$3(removeLinks$1(getTabbableCandidates$1(container)), { select: true });
27177
+ focusFirst$3(removeLinks$1(getTabbableCandidates$1(container2)), { select: true });
27163
27178
  if (document.activeElement === previouslyFocusedElement) {
27164
- focus$1(container);
27179
+ focus$1(container2);
27165
27180
  }
27166
27181
  }
27167
27182
  }
27168
27183
  return () => {
27169
- container.removeEventListener(AUTOFOCUS_ON_MOUNT$1, onMountAutoFocus);
27184
+ container2.removeEventListener(AUTOFOCUS_ON_MOUNT$1, onMountAutoFocus);
27170
27185
  setTimeout(() => {
27171
27186
  const unmountEvent = new CustomEvent(AUTOFOCUS_ON_UNMOUNT$1, EVENT_OPTIONS$2);
27172
- container.addEventListener(AUTOFOCUS_ON_UNMOUNT$1, onUnmountAutoFocus);
27173
- container.dispatchEvent(unmountEvent);
27187
+ container2.addEventListener(AUTOFOCUS_ON_UNMOUNT$1, onUnmountAutoFocus);
27188
+ container2.dispatchEvent(unmountEvent);
27174
27189
  if (!unmountEvent.defaultPrevented) {
27175
27190
  focus$1(previouslyFocusedElement ?? document.body, { select: true });
27176
27191
  }
27177
- container.removeEventListener(AUTOFOCUS_ON_UNMOUNT$1, onUnmountAutoFocus);
27192
+ container2.removeEventListener(AUTOFOCUS_ON_UNMOUNT$1, onUnmountAutoFocus);
27178
27193
  focusScopesStack$1.remove(focusScope);
27179
27194
  }, 0);
27180
27195
  };
27181
27196
  }
27182
- }, [container, onMountAutoFocus, onUnmountAutoFocus, focusScope]);
27197
+ }, [container2, onMountAutoFocus, onUnmountAutoFocus, focusScope]);
27183
27198
  const handleKeyDown = React.useCallback(
27184
27199
  (event) => {
27185
27200
  if (!loop && !trapped) return;
@@ -27187,11 +27202,11 @@ var FocusScope$1 = React.forwardRef((props, forwardedRef) => {
27187
27202
  const isTabKey = event.key === "Tab" && !event.altKey && !event.ctrlKey && !event.metaKey;
27188
27203
  const focusedElement = document.activeElement;
27189
27204
  if (isTabKey && focusedElement) {
27190
- const container2 = event.currentTarget;
27191
- const [first, last] = getTabbableEdges$1(container2);
27205
+ const container22 = event.currentTarget;
27206
+ const [first, last] = getTabbableEdges$1(container22);
27192
27207
  const hasTabbableElementsInside = first && last;
27193
27208
  if (!hasTabbableElementsInside) {
27194
- if (focusedElement === container2) event.preventDefault();
27209
+ if (focusedElement === container22) event.preventDefault();
27195
27210
  } else {
27196
27211
  if (!event.shiftKey && focusedElement === last) {
27197
27212
  event.preventDefault();
@@ -27215,15 +27230,15 @@ function focusFirst$3(candidates, { select = false } = {}) {
27215
27230
  if (document.activeElement !== previouslyFocusedElement) return;
27216
27231
  }
27217
27232
  }
27218
- function getTabbableEdges$1(container) {
27219
- const candidates = getTabbableCandidates$1(container);
27220
- const first = findVisible$1(candidates, container);
27221
- const last = findVisible$1(candidates.reverse(), container);
27233
+ function getTabbableEdges$1(container2) {
27234
+ const candidates = getTabbableCandidates$1(container2);
27235
+ const first = findVisible$1(candidates, container2);
27236
+ const last = findVisible$1(candidates.reverse(), container2);
27222
27237
  return [first, last];
27223
27238
  }
27224
- function getTabbableCandidates$1(container) {
27239
+ function getTabbableCandidates$1(container2) {
27225
27240
  const nodes = [];
27226
- const walker2 = document.createTreeWalker(container, NodeFilter.SHOW_ELEMENT, {
27241
+ const walker2 = document.createTreeWalker(container2, NodeFilter.SHOW_ELEMENT, {
27227
27242
  acceptNode: (node) => {
27228
27243
  const isHiddenInput = node.tagName === "INPUT" && node.type === "hidden";
27229
27244
  if (node.disabled || node.hidden || isHiddenInput) return NodeFilter.FILTER_SKIP;
@@ -27233,9 +27248,9 @@ function getTabbableCandidates$1(container) {
27233
27248
  while (walker2.nextNode()) nodes.push(walker2.currentNode);
27234
27249
  return nodes;
27235
27250
  }
27236
- function findVisible$1(elements, container) {
27251
+ function findVisible$1(elements, container2) {
27237
27252
  for (const element of elements) {
27238
- if (!isHidden$1(element, { upTo: container })) return element;
27253
+ if (!isHidden$1(element, { upTo: container2 })) return element;
27239
27254
  }
27240
27255
  }
27241
27256
  function isHidden$1(node, { upTo }) {
@@ -27292,8 +27307,8 @@ var Portal$5 = React.forwardRef((props, forwardedRef) => {
27292
27307
  const { container: containerProp, ...portalProps } = props;
27293
27308
  const [mounted, setMounted] = React.useState(false);
27294
27309
  useLayoutEffect2(() => setMounted(true), []);
27295
- const container = containerProp || mounted && globalThis?.document?.body;
27296
- return container ? ReactDOM__default.createPortal(/* @__PURE__ */ jsx(Primitive$2.div, { ...portalProps, ref: forwardedRef }), container) : null;
27310
+ const container2 = containerProp || mounted && globalThis?.document?.body;
27311
+ return container2 ? ReactDOM__default.createPortal(/* @__PURE__ */ jsx(Primitive$2.div, { ...portalProps, ref: forwardedRef }), container2) : null;
27297
27312
  });
27298
27313
  Portal$5.displayName = PORTAL_NAME$6;
27299
27314
  var count = 0;
@@ -28158,9 +28173,9 @@ var [PortalProvider$3, usePortalContext$3] = createDialogContext(PORTAL_NAME$5,
28158
28173
  forceMount: void 0
28159
28174
  });
28160
28175
  var DialogPortal$1 = (props) => {
28161
- const { __scopeDialog, forceMount, children: children2, container } = props;
28176
+ const { __scopeDialog, forceMount, children: children2, container: container2 } = props;
28162
28177
  const context = useDialogContext(PORTAL_NAME$5, __scopeDialog);
28163
- return /* @__PURE__ */ jsx(PortalProvider$3, { scope: __scopeDialog, forceMount, children: React.Children.map(children2, (child) => /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(Portal$5, { asChild: true, container, children: child }) })) });
28178
+ return /* @__PURE__ */ jsx(PortalProvider$3, { scope: __scopeDialog, forceMount, children: React.Children.map(children2, (child) => /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(Portal$5, { asChild: true, container: container2, children: child }) })) });
28164
28179
  };
28165
28180
  DialogPortal$1.displayName = PORTAL_NAME$5;
28166
28181
  var OVERLAY_NAME = "DialogOverlay";
@@ -28208,8 +28223,8 @@ var DialogContentModal = React.forwardRef(
28208
28223
  const contentRef = React.useRef(null);
28209
28224
  const composedRefs = useComposedRefs(forwardedRef, context.contentRef, contentRef);
28210
28225
  React.useEffect(() => {
28211
- const content = contentRef.current;
28212
- if (content) return hideOthers(content);
28226
+ const content2 = contentRef.current;
28227
+ if (content2) return hideOthers(content2);
28213
28228
  }, []);
28214
28229
  return /* @__PURE__ */ jsx(
28215
28230
  DialogContentImpl,
@@ -30658,7 +30673,7 @@ var PopperContent = React.forwardRef(
30658
30673
  ...contentProps
30659
30674
  } = props;
30660
30675
  const context = usePopperContext(CONTENT_NAME$6, __scopePopper);
30661
- const [content, setContent] = React.useState(null);
30676
+ const [content2, setContent] = React.useState(null);
30662
30677
  const composedRefs = useComposedRefs(forwardedRef, (node) => setContent(node));
30663
30678
  const [arrow$12, setArrow] = React.useState(null);
30664
30679
  const arrowSize = useSize(arrow$12);
@@ -30724,8 +30739,8 @@ var PopperContent = React.forwardRef(
30724
30739
  const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;
30725
30740
  const [contentZIndex, setContentZIndex] = React.useState();
30726
30741
  useLayoutEffect2(() => {
30727
- if (content) setContentZIndex(window.getComputedStyle(content).zIndex);
30728
- }, [content]);
30742
+ if (content2) setContentZIndex(window.getComputedStyle(content2).zIndex);
30743
+ }, [content2]);
30729
30744
  return /* @__PURE__ */ jsx(
30730
30745
  "div",
30731
30746
  {
@@ -31072,9 +31087,9 @@ var [PortalProvider$2, usePortalContext$2] = createTooltipContext(PORTAL_NAME$4,
31072
31087
  forceMount: void 0
31073
31088
  });
31074
31089
  var TooltipPortal = (props) => {
31075
- const { __scopeTooltip, forceMount, children: children2, container } = props;
31090
+ const { __scopeTooltip, forceMount, children: children2, container: container2 } = props;
31076
31091
  const context = useTooltipContext(PORTAL_NAME$4, __scopeTooltip);
31077
- return /* @__PURE__ */ jsx(PortalProvider$2, { scope: __scopeTooltip, forceMount, children: /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(Portal$6, { asChild: true, container, children: children2 }) }) });
31092
+ return /* @__PURE__ */ jsx(PortalProvider$2, { scope: __scopeTooltip, forceMount, children: /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(Portal$6, { asChild: true, container: container2, children: children2 }) }) });
31078
31093
  };
31079
31094
  TooltipPortal.displayName = PORTAL_NAME$4;
31080
31095
  var CONTENT_NAME$5 = "TooltipContent";
@@ -31093,7 +31108,7 @@ var TooltipContentHoverable = React.forwardRef((props, forwardedRef) => {
31093
31108
  const composedRefs = useComposedRefs(forwardedRef, ref);
31094
31109
  const [pointerGraceArea, setPointerGraceArea] = React.useState(null);
31095
31110
  const { trigger, onClose } = context;
31096
- const content = ref.current;
31111
+ const content2 = ref.current;
31097
31112
  const { onPointerInTransitChange } = providerContext;
31098
31113
  const handleRemoveGraceArea = React.useCallback(() => {
31099
31114
  setPointerGraceArea(null);
@@ -31116,23 +31131,23 @@ var TooltipContentHoverable = React.forwardRef((props, forwardedRef) => {
31116
31131
  return () => handleRemoveGraceArea();
31117
31132
  }, [handleRemoveGraceArea]);
31118
31133
  React.useEffect(() => {
31119
- if (trigger && content) {
31120
- const handleTriggerLeave = (event) => handleCreateGraceArea(event, content);
31134
+ if (trigger && content2) {
31135
+ const handleTriggerLeave = (event) => handleCreateGraceArea(event, content2);
31121
31136
  const handleContentLeave = (event) => handleCreateGraceArea(event, trigger);
31122
31137
  trigger.addEventListener("pointerleave", handleTriggerLeave);
31123
- content.addEventListener("pointerleave", handleContentLeave);
31138
+ content2.addEventListener("pointerleave", handleContentLeave);
31124
31139
  return () => {
31125
31140
  trigger.removeEventListener("pointerleave", handleTriggerLeave);
31126
- content.removeEventListener("pointerleave", handleContentLeave);
31141
+ content2.removeEventListener("pointerleave", handleContentLeave);
31127
31142
  };
31128
31143
  }
31129
- }, [trigger, content, handleCreateGraceArea, handleRemoveGraceArea]);
31144
+ }, [trigger, content2, handleCreateGraceArea, handleRemoveGraceArea]);
31130
31145
  React.useEffect(() => {
31131
31146
  if (pointerGraceArea) {
31132
31147
  const handleTrackPointerGrace = (event) => {
31133
31148
  const target = event.target;
31134
31149
  const pointerPosition = { x: event.clientX, y: event.clientY };
31135
- const hasEnteredTarget = trigger?.contains(target) || content?.contains(target);
31150
+ const hasEnteredTarget = trigger?.contains(target) || content2?.contains(target);
31136
31151
  const isPointerOutsideGraceArea = !isPointInPolygon$1(pointerPosition, pointerGraceArea);
31137
31152
  if (hasEnteredTarget) {
31138
31153
  handleRemoveGraceArea();
@@ -31144,7 +31159,7 @@ var TooltipContentHoverable = React.forwardRef((props, forwardedRef) => {
31144
31159
  document.addEventListener("pointermove", handleTrackPointerGrace);
31145
31160
  return () => document.removeEventListener("pointermove", handleTrackPointerGrace);
31146
31161
  }
31147
- }, [trigger, content, pointerGraceArea, onClose, handleRemoveGraceArea]);
31162
+ }, [trigger, content2, pointerGraceArea, onClose, handleRemoveGraceArea]);
31148
31163
  return /* @__PURE__ */ jsx(TooltipContentImpl, { ...props, ref: composedRefs });
31149
31164
  });
31150
31165
  var [VisuallyHiddenContentContextProvider, useVisuallyHiddenContentContext] = createTooltipContext(TOOLTIP_NAME, { isInside: false });
@@ -31360,7 +31375,7 @@ const TooltipContent = React.forwardRef(({ className: className2, sideOffset = 4
31360
31375
  }
31361
31376
  ) }));
31362
31377
  TooltipContent.displayName = Content2$4.displayName;
31363
- const InfoTooltip = ({ title, alertText, Icon: Icon2 = Info, onClick }) => {
31378
+ const InfoTooltip = ({ title: title2, alertText, Icon: Icon2 = Info, onClick }) => {
31364
31379
  return /* @__PURE__ */ jsx(TooltipProvider, { children: /* @__PURE__ */ jsxs(Tooltip, { children: [
31365
31380
  /* @__PURE__ */ jsx(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsx(
31366
31381
  Icon2,
@@ -31391,7 +31406,7 @@ const InfoTooltip = ({ title, alertText, Icon: Icon2 = Info, onClick }) => {
31391
31406
  ) }),
31392
31407
  /* @__PURE__ */ jsx("p", { className: "font-semibold text-amber-500", children: alertText })
31393
31408
  ] }),
31394
- /* @__PURE__ */ jsx("p", { className: "text-[13px] leading-relaxed text-primary-foreground/90", children: title })
31409
+ /* @__PURE__ */ jsx("p", { className: "text-[13px] leading-relaxed text-primary-foreground/90", children: title2 })
31395
31410
  ] }) })
31396
31411
  ] }) });
31397
31412
  };
@@ -33104,7 +33119,31 @@ function formatDistance$1(date2, baseDate, options) {
33104
33119
  function formatDistanceToNow(date2, options) {
33105
33120
  return formatDistance$1(date2, constructNow(date2), options);
33106
33121
  }
33107
- const styles$2 = {};
33122
+ const base$1 = "reach-styles-module__base___WFahB";
33123
+ const secondary$1 = "reach-styles-module__secondary___VQ4iH";
33124
+ const destructive$1 = "reach-styles-module__destructive___RLaRD";
33125
+ const outline$1 = "reach-styles-module__outline___L2VtW";
33126
+ const google = "reach-styles-module__google___HcEij";
33127
+ const date = "reach-styles-module__date___-6BC4";
33128
+ const sizeDefault = "reach-styles-module__sizeDefault___iGTp4";
33129
+ const sizeSm = "reach-styles-module__sizeSm___6T2oK";
33130
+ const iconOnly = "reach-styles-module__iconOnly___8vUSp";
33131
+ const iconOnlySm = "reach-styles-module__iconOnlySm___9ZKv9";
33132
+ const container = "reach-styles-module__container___6PQqs";
33133
+ const styles$2 = {
33134
+ base: base$1,
33135
+ "default": "reach-styles-module__default___zeGU1",
33136
+ secondary: secondary$1,
33137
+ destructive: destructive$1,
33138
+ outline: outline$1,
33139
+ google,
33140
+ date,
33141
+ sizeDefault,
33142
+ sizeSm,
33143
+ iconOnly,
33144
+ iconOnlySm,
33145
+ container
33146
+ };
33108
33147
  const badgeVariants = cva([styles$2.base], {
33109
33148
  variants: {
33110
33149
  variant: {
@@ -33116,11 +33155,11 @@ const badgeVariants = cva([styles$2.base], {
33116
33155
  date: styles$2.date
33117
33156
  },
33118
33157
  size: {
33119
- default: styles$2["size-default"],
33120
- sm: styles$2["size-sm"]
33158
+ default: styles$2.sizeDefault,
33159
+ sm: styles$2.sizeSm
33121
33160
  },
33122
33161
  iconOnly: {
33123
- true: styles$2["icon-only"],
33162
+ true: styles$2.iconOnly,
33124
33163
  false: ""
33125
33164
  }
33126
33165
  },
@@ -33128,7 +33167,7 @@ const badgeVariants = cva([styles$2.base], {
33128
33167
  {
33129
33168
  iconOnly: true,
33130
33169
  size: "sm",
33131
- class: styles$2["icon-only-sm"]
33170
+ class: styles$2.iconOnlySm
33132
33171
  }
33133
33172
  ],
33134
33173
  defaultVariants: {
@@ -33138,13 +33177,13 @@ const badgeVariants = cva([styles$2.base], {
33138
33177
  }
33139
33178
  });
33140
33179
  const Badge = React.forwardRef(
33141
- ({ className: className2, variant, size: size2, iconOnly, truncate, ...props }, ref) => {
33180
+ ({ className: className2, variant, size: size2, iconOnly: iconOnly2, truncate, ...props }, ref) => {
33142
33181
  return /* @__PURE__ */ jsx(
33143
33182
  "div",
33144
33183
  {
33145
33184
  ref,
33146
33185
  className: cn$1(
33147
- badgeVariants({ variant, size: size2, iconOnly }),
33186
+ badgeVariants({ variant, size: size2, iconOnly: iconOnly2 }),
33148
33187
  truncate && "max-w-[90px]",
33149
33188
  className2
33150
33189
  ),
@@ -34551,11 +34590,11 @@ const $d3863c46a17e8a28$export$20e40289641fbbb6 = /* @__PURE__ */ forwardRef((pr
34551
34590
  const isTabKey = event.key === "Tab" && !event.altKey && !event.ctrlKey && !event.metaKey;
34552
34591
  const focusedElement = document.activeElement;
34553
34592
  if (isTabKey && focusedElement) {
34554
- const container = event.currentTarget;
34555
- const [first, last] = $d3863c46a17e8a28$var$getTabbableEdges(container);
34593
+ const container2 = event.currentTarget;
34594
+ const [first, last] = $d3863c46a17e8a28$var$getTabbableEdges(container2);
34556
34595
  const hasTabbableElementsInside = first && last;
34557
34596
  if (!hasTabbableElementsInside) {
34558
- if (focusedElement === container) event.preventDefault();
34597
+ if (focusedElement === container2) event.preventDefault();
34559
34598
  } else {
34560
34599
  if (!event.shiftKey && focusedElement === last) {
34561
34600
  event.preventDefault();
@@ -34591,18 +34630,18 @@ function $d3863c46a17e8a28$var$focusFirst(candidates, { select = false } = {}) {
34591
34630
  if (document.activeElement !== previouslyFocusedElement) return;
34592
34631
  }
34593
34632
  }
34594
- function $d3863c46a17e8a28$var$getTabbableEdges(container) {
34595
- const candidates = $d3863c46a17e8a28$var$getTabbableCandidates(container);
34596
- const first = $d3863c46a17e8a28$var$findVisible(candidates, container);
34597
- const last = $d3863c46a17e8a28$var$findVisible(candidates.reverse(), container);
34633
+ function $d3863c46a17e8a28$var$getTabbableEdges(container2) {
34634
+ const candidates = $d3863c46a17e8a28$var$getTabbableCandidates(container2);
34635
+ const first = $d3863c46a17e8a28$var$findVisible(candidates, container2);
34636
+ const last = $d3863c46a17e8a28$var$findVisible(candidates.reverse(), container2);
34598
34637
  return [
34599
34638
  first,
34600
34639
  last
34601
34640
  ];
34602
34641
  }
34603
- function $d3863c46a17e8a28$var$getTabbableCandidates(container) {
34642
+ function $d3863c46a17e8a28$var$getTabbableCandidates(container2) {
34604
34643
  const nodes = [];
34605
- const walker2 = document.createTreeWalker(container, NodeFilter.SHOW_ELEMENT, {
34644
+ const walker2 = document.createTreeWalker(container2, NodeFilter.SHOW_ELEMENT, {
34606
34645
  acceptNode: (node) => {
34607
34646
  const isHiddenInput = node.tagName === "INPUT" && node.type === "hidden";
34608
34647
  if (node.disabled || node.hidden || isHiddenInput) return NodeFilter.FILTER_SKIP;
@@ -34612,10 +34651,10 @@ function $d3863c46a17e8a28$var$getTabbableCandidates(container) {
34612
34651
  while (walker2.nextNode()) nodes.push(walker2.currentNode);
34613
34652
  return nodes;
34614
34653
  }
34615
- function $d3863c46a17e8a28$var$findVisible(elements, container) {
34654
+ function $d3863c46a17e8a28$var$findVisible(elements, container2) {
34616
34655
  for (const element of elements) {
34617
34656
  if (!$d3863c46a17e8a28$var$isHidden(element, {
34618
- upTo: container
34657
+ upTo: container2
34619
34658
  })) return element;
34620
34659
  }
34621
34660
  }
@@ -34672,10 +34711,10 @@ function $d3863c46a17e8a28$var$removeLinks(items) {
34672
34711
  }
34673
34712
  const $f1701beae083dbae$export$602eac185826482c = /* @__PURE__ */ forwardRef((props, forwardedRef) => {
34674
34713
  var _globalThis$document;
34675
- const { container = globalThis === null || globalThis === void 0 ? void 0 : (_globalThis$document = globalThis.document) === null || _globalThis$document === void 0 ? void 0 : _globalThis$document.body, ...portalProps } = props;
34676
- return container ? /* @__PURE__ */ ReactDOM__default.createPortal(/* @__PURE__ */ createElement$1($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({}, portalProps, {
34714
+ const { container: container2 = globalThis === null || globalThis === void 0 ? void 0 : (_globalThis$document = globalThis.document) === null || _globalThis$document === void 0 ? void 0 : _globalThis$document.body, ...portalProps } = props;
34715
+ return container2 ? /* @__PURE__ */ ReactDOM__default.createPortal(/* @__PURE__ */ createElement$1($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({}, portalProps, {
34677
34716
  ref: forwardedRef
34678
- })), container) : null;
34717
+ })), container2) : null;
34679
34718
  });
34680
34719
  const $9f79659886946c16$export$e5c5a5f917a5871c = Boolean(globalThis === null || globalThis === void 0 ? void 0 : globalThis.document) ? useLayoutEffect : () => {
34681
34720
  };
@@ -35142,7 +35181,7 @@ const [$5d3850c4d0b4e6c7$var$PortalProvider, $5d3850c4d0b4e6c7$var$usePortalCont
35142
35181
  forceMount: void 0
35143
35182
  });
35144
35183
  const $5d3850c4d0b4e6c7$export$dad7c95542bacce0 = (props) => {
35145
- const { __scopeDialog, forceMount, children: children2, container } = props;
35184
+ const { __scopeDialog, forceMount, children: children2, container: container2 } = props;
35146
35185
  const context = $5d3850c4d0b4e6c7$var$useDialogContext($5d3850c4d0b4e6c7$var$PORTAL_NAME, __scopeDialog);
35147
35186
  return /* @__PURE__ */ createElement$1($5d3850c4d0b4e6c7$var$PortalProvider, {
35148
35187
  scope: __scopeDialog,
@@ -35153,7 +35192,7 @@ const $5d3850c4d0b4e6c7$export$dad7c95542bacce0 = (props) => {
35153
35192
  present: forceMount || context.open
35154
35193
  }, /* @__PURE__ */ createElement$1($f1701beae083dbae$export$602eac185826482c, {
35155
35194
  asChild: true,
35156
- container
35195
+ container: container2
35157
35196
  }, child))
35158
35197
  ));
35159
35198
  };
@@ -35212,8 +35251,8 @@ const $5d3850c4d0b4e6c7$var$DialogContentModal = /* @__PURE__ */ forwardRef((pro
35212
35251
  const contentRef = useRef(null);
35213
35252
  const composedRefs = $6ed0406888f73fc4$export$c7b2cbe3552a0d05(forwardedRef, context.contentRef, contentRef);
35214
35253
  useEffect(() => {
35215
- const content = contentRef.current;
35216
- if (content) return hideOthers(content);
35254
+ const content2 = contentRef.current;
35255
+ if (content2) return hideOthers(content2);
35217
35256
  }, []);
35218
35257
  return /* @__PURE__ */ createElement$1($5d3850c4d0b4e6c7$var$DialogContentImpl, _extends({}, props, {
35219
35258
  ref: composedRefs,
@@ -35730,7 +35769,7 @@ var FocusScope = React.forwardRef((props, forwardedRef) => {
35730
35769
  onUnmountAutoFocus: onUnmountAutoFocusProp,
35731
35770
  ...scopeProps
35732
35771
  } = props;
35733
- const [container, setContainer] = React.useState(null);
35772
+ const [container2, setContainer] = React.useState(null);
35734
35773
  const onMountAutoFocus = useCallbackRef$1(onMountAutoFocusProp);
35735
35774
  const onUnmountAutoFocus = useCallbackRef$1(onUnmountAutoFocusProp);
35736
35775
  const lastFocusedElementRef = React.useRef(null);
@@ -35747,69 +35786,69 @@ var FocusScope = React.forwardRef((props, forwardedRef) => {
35747
35786
  React.useEffect(() => {
35748
35787
  if (trapped) {
35749
35788
  let handleFocusIn2 = function(event) {
35750
- if (focusScope.paused || !container) return;
35789
+ if (focusScope.paused || !container2) return;
35751
35790
  const target = event.target;
35752
- if (container.contains(target)) {
35791
+ if (container2.contains(target)) {
35753
35792
  lastFocusedElementRef.current = target;
35754
35793
  } else {
35755
35794
  focus(lastFocusedElementRef.current, { select: true });
35756
35795
  }
35757
35796
  }, handleFocusOut2 = function(event) {
35758
- if (focusScope.paused || !container) return;
35797
+ if (focusScope.paused || !container2) return;
35759
35798
  const relatedTarget = event.relatedTarget;
35760
35799
  if (relatedTarget === null) return;
35761
- if (!container.contains(relatedTarget)) {
35800
+ if (!container2.contains(relatedTarget)) {
35762
35801
  focus(lastFocusedElementRef.current, { select: true });
35763
35802
  }
35764
35803
  }, handleMutations2 = function(mutations) {
35765
35804
  const focusedElement = document.activeElement;
35766
35805
  if (focusedElement !== document.body) return;
35767
35806
  for (const mutation of mutations) {
35768
- if (mutation.removedNodes.length > 0) focus(container);
35807
+ if (mutation.removedNodes.length > 0) focus(container2);
35769
35808
  }
35770
35809
  };
35771
35810
  document.addEventListener("focusin", handleFocusIn2);
35772
35811
  document.addEventListener("focusout", handleFocusOut2);
35773
35812
  const mutationObserver = new MutationObserver(handleMutations2);
35774
- if (container) mutationObserver.observe(container, { childList: true, subtree: true });
35813
+ if (container2) mutationObserver.observe(container2, { childList: true, subtree: true });
35775
35814
  return () => {
35776
35815
  document.removeEventListener("focusin", handleFocusIn2);
35777
35816
  document.removeEventListener("focusout", handleFocusOut2);
35778
35817
  mutationObserver.disconnect();
35779
35818
  };
35780
35819
  }
35781
- }, [trapped, container, focusScope.paused]);
35820
+ }, [trapped, container2, focusScope.paused]);
35782
35821
  React.useEffect(() => {
35783
- if (container) {
35822
+ if (container2) {
35784
35823
  focusScopesStack.add(focusScope);
35785
35824
  const previouslyFocusedElement = document.activeElement;
35786
- const hasFocusedCandidate = container.contains(previouslyFocusedElement);
35825
+ const hasFocusedCandidate = container2.contains(previouslyFocusedElement);
35787
35826
  if (!hasFocusedCandidate) {
35788
35827
  const mountEvent = new CustomEvent(AUTOFOCUS_ON_MOUNT, EVENT_OPTIONS$1);
35789
- container.addEventListener(AUTOFOCUS_ON_MOUNT, onMountAutoFocus);
35790
- container.dispatchEvent(mountEvent);
35828
+ container2.addEventListener(AUTOFOCUS_ON_MOUNT, onMountAutoFocus);
35829
+ container2.dispatchEvent(mountEvent);
35791
35830
  if (!mountEvent.defaultPrevented) {
35792
- focusFirst$2(removeLinks(getTabbableCandidates(container)), { select: true });
35831
+ focusFirst$2(removeLinks(getTabbableCandidates(container2)), { select: true });
35793
35832
  if (document.activeElement === previouslyFocusedElement) {
35794
- focus(container);
35833
+ focus(container2);
35795
35834
  }
35796
35835
  }
35797
35836
  }
35798
35837
  return () => {
35799
- container.removeEventListener(AUTOFOCUS_ON_MOUNT, onMountAutoFocus);
35838
+ container2.removeEventListener(AUTOFOCUS_ON_MOUNT, onMountAutoFocus);
35800
35839
  setTimeout(() => {
35801
35840
  const unmountEvent = new CustomEvent(AUTOFOCUS_ON_UNMOUNT, EVENT_OPTIONS$1);
35802
- container.addEventListener(AUTOFOCUS_ON_UNMOUNT, onUnmountAutoFocus);
35803
- container.dispatchEvent(unmountEvent);
35841
+ container2.addEventListener(AUTOFOCUS_ON_UNMOUNT, onUnmountAutoFocus);
35842
+ container2.dispatchEvent(unmountEvent);
35804
35843
  if (!unmountEvent.defaultPrevented) {
35805
35844
  focus(previouslyFocusedElement ?? document.body, { select: true });
35806
35845
  }
35807
- container.removeEventListener(AUTOFOCUS_ON_UNMOUNT, onUnmountAutoFocus);
35846
+ container2.removeEventListener(AUTOFOCUS_ON_UNMOUNT, onUnmountAutoFocus);
35808
35847
  focusScopesStack.remove(focusScope);
35809
35848
  }, 0);
35810
35849
  };
35811
35850
  }
35812
- }, [container, onMountAutoFocus, onUnmountAutoFocus, focusScope]);
35851
+ }, [container2, onMountAutoFocus, onUnmountAutoFocus, focusScope]);
35813
35852
  const handleKeyDown = React.useCallback(
35814
35853
  (event) => {
35815
35854
  if (!loop && !trapped) return;
@@ -35817,11 +35856,11 @@ var FocusScope = React.forwardRef((props, forwardedRef) => {
35817
35856
  const isTabKey = event.key === "Tab" && !event.altKey && !event.ctrlKey && !event.metaKey;
35818
35857
  const focusedElement = document.activeElement;
35819
35858
  if (isTabKey && focusedElement) {
35820
- const container2 = event.currentTarget;
35821
- const [first, last] = getTabbableEdges(container2);
35859
+ const container22 = event.currentTarget;
35860
+ const [first, last] = getTabbableEdges(container22);
35822
35861
  const hasTabbableElementsInside = first && last;
35823
35862
  if (!hasTabbableElementsInside) {
35824
- if (focusedElement === container2) event.preventDefault();
35863
+ if (focusedElement === container22) event.preventDefault();
35825
35864
  } else {
35826
35865
  if (!event.shiftKey && focusedElement === last) {
35827
35866
  event.preventDefault();
@@ -35845,15 +35884,15 @@ function focusFirst$2(candidates, { select = false } = {}) {
35845
35884
  if (document.activeElement !== previouslyFocusedElement) return;
35846
35885
  }
35847
35886
  }
35848
- function getTabbableEdges(container) {
35849
- const candidates = getTabbableCandidates(container);
35850
- const first = findVisible(candidates, container);
35851
- const last = findVisible(candidates.reverse(), container);
35887
+ function getTabbableEdges(container2) {
35888
+ const candidates = getTabbableCandidates(container2);
35889
+ const first = findVisible(candidates, container2);
35890
+ const last = findVisible(candidates.reverse(), container2);
35852
35891
  return [first, last];
35853
35892
  }
35854
- function getTabbableCandidates(container) {
35893
+ function getTabbableCandidates(container2) {
35855
35894
  const nodes = [];
35856
- const walker2 = document.createTreeWalker(container, NodeFilter.SHOW_ELEMENT, {
35895
+ const walker2 = document.createTreeWalker(container2, NodeFilter.SHOW_ELEMENT, {
35857
35896
  acceptNode: (node) => {
35858
35897
  const isHiddenInput = node.tagName === "INPUT" && node.type === "hidden";
35859
35898
  if (node.disabled || node.hidden || isHiddenInput) return NodeFilter.FILTER_SKIP;
@@ -35863,9 +35902,9 @@ function getTabbableCandidates(container) {
35863
35902
  while (walker2.nextNode()) nodes.push(walker2.currentNode);
35864
35903
  return nodes;
35865
35904
  }
35866
- function findVisible(elements, container) {
35905
+ function findVisible(elements, container2) {
35867
35906
  for (const element of elements) {
35868
- if (!isHidden(element, { upTo: container })) return element;
35907
+ if (!isHidden(element, { upTo: container2 })) return element;
35869
35908
  }
35870
35909
  }
35871
35910
  function isHidden(node, { upTo }) {
@@ -36002,9 +36041,9 @@ var [PortalProvider$1, usePortalContext$1] = createPopoverContext(PORTAL_NAME$3,
36002
36041
  forceMount: void 0
36003
36042
  });
36004
36043
  var PopoverPortal = (props) => {
36005
- const { __scopePopover, forceMount, children: children2, container } = props;
36044
+ const { __scopePopover, forceMount, children: children2, container: container2 } = props;
36006
36045
  const context = usePopoverContext(PORTAL_NAME$3, __scopePopover);
36007
- return /* @__PURE__ */ jsx(PortalProvider$1, { scope: __scopePopover, forceMount, children: /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(Portal$6, { asChild: true, container, children: children2 }) }) });
36046
+ return /* @__PURE__ */ jsx(PortalProvider$1, { scope: __scopePopover, forceMount, children: /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(Portal$6, { asChild: true, container: container2, children: children2 }) }) });
36008
36047
  };
36009
36048
  PopoverPortal.displayName = PORTAL_NAME$3;
36010
36049
  var CONTENT_NAME$4 = "PopoverContent";
@@ -36024,8 +36063,8 @@ var PopoverContentModal = React.forwardRef(
36024
36063
  const composedRefs = useComposedRefs(forwardedRef, contentRef);
36025
36064
  const isRightClickOutsideRef = React.useRef(false);
36026
36065
  React.useEffect(() => {
36027
- const content = contentRef.current;
36028
- if (content) return hideOthers(content);
36066
+ const content2 = contentRef.current;
36067
+ if (content2) return hideOthers(content2);
36029
36068
  }, []);
36030
36069
  return /* @__PURE__ */ jsx(ReactRemoveScroll$1, { as: Slot$3, allowPinchZoom: true, children: /* @__PURE__ */ jsx(
36031
36070
  PopoverContentImpl,
@@ -36931,7 +36970,7 @@ var SelectContentImpl = React.forwardRef(
36931
36970
  ...contentProps
36932
36971
  } = props;
36933
36972
  const context = useSelectContext(CONTENT_NAME$3, __scopeSelect);
36934
- const [content, setContent] = React.useState(null);
36973
+ const [content2, setContent] = React.useState(null);
36935
36974
  const [viewport, setViewport] = React.useState(null);
36936
36975
  const composedRefs = useComposedRefs(forwardedRef, (node) => setContent(node));
36937
36976
  const [selectedItem, setSelectedItem] = React.useState(null);
@@ -36942,8 +36981,8 @@ var SelectContentImpl = React.forwardRef(
36942
36981
  const [isPositioned, setIsPositioned] = React.useState(false);
36943
36982
  const firstValidItemFoundRef = React.useRef(false);
36944
36983
  React.useEffect(() => {
36945
- if (content) return hideOthers(content);
36946
- }, [content]);
36984
+ if (content2) return hideOthers(content2);
36985
+ }, [content2]);
36947
36986
  useFocusGuards();
36948
36987
  const focusFirst2 = React.useCallback(
36949
36988
  (candidates) => {
@@ -36962,8 +37001,8 @@ var SelectContentImpl = React.forwardRef(
36962
37001
  [getItems, viewport]
36963
37002
  );
36964
37003
  const focusSelectedItem = React.useCallback(
36965
- () => focusFirst2([selectedItem, content]),
36966
- [focusFirst2, selectedItem, content]
37004
+ () => focusFirst2([selectedItem, content2]),
37005
+ [focusFirst2, selectedItem, content2]
36967
37006
  );
36968
37007
  React.useEffect(() => {
36969
37008
  if (isPositioned) {
@@ -36972,7 +37011,7 @@ var SelectContentImpl = React.forwardRef(
36972
37011
  }, [isPositioned, focusSelectedItem]);
36973
37012
  const { onOpenChange, triggerPointerDownPosRef } = context;
36974
37013
  React.useEffect(() => {
36975
- if (content) {
37014
+ if (content2) {
36976
37015
  let pointerMoveDelta = { x: 0, y: 0 };
36977
37016
  const handlePointerMove = (event) => {
36978
37017
  pointerMoveDelta = {
@@ -36984,7 +37023,7 @@ var SelectContentImpl = React.forwardRef(
36984
37023
  if (pointerMoveDelta.x <= 10 && pointerMoveDelta.y <= 10) {
36985
37024
  event.preventDefault();
36986
37025
  } else {
36987
- if (!content.contains(event.target)) {
37026
+ if (!content2.contains(event.target)) {
36988
37027
  onOpenChange(false);
36989
37028
  }
36990
37029
  }
@@ -37000,7 +37039,7 @@ var SelectContentImpl = React.forwardRef(
37000
37039
  document.removeEventListener("pointerup", handlePointerUp, { capture: true });
37001
37040
  };
37002
37041
  }
37003
- }, [content, onOpenChange, triggerPointerDownPosRef]);
37042
+ }, [content2, onOpenChange, triggerPointerDownPosRef]);
37004
37043
  React.useEffect(() => {
37005
37044
  const close2 = () => onOpenChange(false);
37006
37045
  window.addEventListener("blur", close2);
@@ -37029,7 +37068,7 @@ var SelectContentImpl = React.forwardRef(
37029
37068
  },
37030
37069
  [context.value]
37031
37070
  );
37032
- const handleItemLeave = React.useCallback(() => content?.focus(), [content]);
37071
+ const handleItemLeave = React.useCallback(() => content2?.focus(), [content2]);
37033
37072
  const itemTextRefCallback = React.useCallback(
37034
37073
  (node, value, disabled) => {
37035
37074
  const isFirstValidItem = !firstValidItemFoundRef.current && !disabled;
@@ -37057,7 +37096,7 @@ var SelectContentImpl = React.forwardRef(
37057
37096
  SelectContentProvider,
37058
37097
  {
37059
37098
  scope: __scopeSelect,
37060
- content,
37099
+ content: content2,
37061
37100
  viewport,
37062
37101
  onViewportChange: setViewport,
37063
37102
  itemRefCallback,
@@ -37146,16 +37185,16 @@ var SelectItemAlignedPosition = React.forwardRef((props, forwardedRef) => {
37146
37185
  const context = useSelectContext(CONTENT_NAME$3, __scopeSelect);
37147
37186
  const contentContext = useSelectContentContext(CONTENT_NAME$3, __scopeSelect);
37148
37187
  const [contentWrapper, setContentWrapper] = React.useState(null);
37149
- const [content, setContent] = React.useState(null);
37188
+ const [content2, setContent] = React.useState(null);
37150
37189
  const composedRefs = useComposedRefs(forwardedRef, (node) => setContent(node));
37151
37190
  const getItems = useCollection$2(__scopeSelect);
37152
37191
  const shouldExpandOnScrollRef = React.useRef(false);
37153
37192
  const shouldRepositionRef = React.useRef(true);
37154
37193
  const { viewport, selectedItem, selectedItemText, focusSelectedItem } = contentContext;
37155
37194
  const position = React.useCallback(() => {
37156
- if (context.trigger && context.valueNode && contentWrapper && content && viewport && selectedItem && selectedItemText) {
37195
+ if (context.trigger && context.valueNode && contentWrapper && content2 && viewport && selectedItem && selectedItemText) {
37157
37196
  const triggerRect = context.trigger.getBoundingClientRect();
37158
- const contentRect = content.getBoundingClientRect();
37197
+ const contentRect = content2.getBoundingClientRect();
37159
37198
  const valueNodeRect = context.valueNode.getBoundingClientRect();
37160
37199
  const itemTextRect = selectedItemText.getBoundingClientRect();
37161
37200
  if (context.dir !== "rtl") {
@@ -37193,7 +37232,7 @@ var SelectItemAlignedPosition = React.forwardRef((props, forwardedRef) => {
37193
37232
  const items = getItems();
37194
37233
  const availableHeight = window.innerHeight - CONTENT_MARGIN * 2;
37195
37234
  const itemsHeight = viewport.scrollHeight;
37196
- const contentStyles = window.getComputedStyle(content);
37235
+ const contentStyles = window.getComputedStyle(content2);
37197
37236
  const contentBorderTopWidth = parseInt(contentStyles.borderTopWidth, 10);
37198
37237
  const contentPaddingTop = parseInt(contentStyles.paddingTop, 10);
37199
37238
  const contentBorderBottomWidth = parseInt(contentStyles.borderBottomWidth, 10);
@@ -37213,7 +37252,7 @@ var SelectItemAlignedPosition = React.forwardRef((props, forwardedRef) => {
37213
37252
  if (willAlignWithoutTopOverflow) {
37214
37253
  const isLastItem = items.length > 0 && selectedItem === items[items.length - 1].ref.current;
37215
37254
  contentWrapper.style.bottom = "0px";
37216
- const viewportOffsetBottom = content.clientHeight - viewport.offsetTop - viewport.offsetHeight;
37255
+ const viewportOffsetBottom = content2.clientHeight - viewport.offsetTop - viewport.offsetHeight;
37217
37256
  const clampedTriggerMiddleToBottomEdge = Math.max(
37218
37257
  triggerMiddleToBottomEdge,
37219
37258
  selectedItemHalfHeight + // viewport might have padding bottom, include it to avoid a scrollable viewport
@@ -37244,7 +37283,7 @@ var SelectItemAlignedPosition = React.forwardRef((props, forwardedRef) => {
37244
37283
  context.trigger,
37245
37284
  context.valueNode,
37246
37285
  contentWrapper,
37247
- content,
37286
+ content2,
37248
37287
  viewport,
37249
37288
  selectedItem,
37250
37289
  selectedItemText,
@@ -37254,8 +37293,8 @@ var SelectItemAlignedPosition = React.forwardRef((props, forwardedRef) => {
37254
37293
  useLayoutEffect2(() => position(), [position]);
37255
37294
  const [contentZIndex, setContentZIndex] = React.useState();
37256
37295
  useLayoutEffect2(() => {
37257
- if (content) setContentZIndex(window.getComputedStyle(content).zIndex);
37258
- }, [content]);
37296
+ if (content2) setContentZIndex(window.getComputedStyle(content2).zIndex);
37297
+ }, [content2]);
37259
37298
  const handleScrollButtonChange = React.useCallback(
37260
37299
  (node) => {
37261
37300
  if (node && shouldRepositionRef.current === true) {
@@ -39544,7 +39583,7 @@ var [MenuRootProvider, useMenuRootContext] = createMenuContext(MENU_NAME);
39544
39583
  var Menu = (props) => {
39545
39584
  const { __scopeMenu, open = false, children: children2, dir, onOpenChange, modal = true } = props;
39546
39585
  const popperScope = usePopperScope(__scopeMenu);
39547
- const [content, setContent] = React.useState(null);
39586
+ const [content2, setContent] = React.useState(null);
39548
39587
  const isUsingKeyboardRef = React.useRef(false);
39549
39588
  const handleOpenChange = useCallbackRef$1(onOpenChange);
39550
39589
  const direction = useDirection(dir);
@@ -39568,7 +39607,7 @@ var Menu = (props) => {
39568
39607
  scope: __scopeMenu,
39569
39608
  open,
39570
39609
  onOpenChange: handleOpenChange,
39571
- content,
39610
+ content: content2,
39572
39611
  onContentChange: setContent,
39573
39612
  children: /* @__PURE__ */ jsx(
39574
39613
  MenuRootProvider,
@@ -39599,9 +39638,9 @@ var [PortalProvider, usePortalContext] = createMenuContext(PORTAL_NAME$1, {
39599
39638
  forceMount: void 0
39600
39639
  });
39601
39640
  var MenuPortal = (props) => {
39602
- const { __scopeMenu, forceMount, children: children2, container } = props;
39641
+ const { __scopeMenu, forceMount, children: children2, container: container2 } = props;
39603
39642
  const context = useMenuContext(PORTAL_NAME$1, __scopeMenu);
39604
- return /* @__PURE__ */ jsx(PortalProvider, { scope: __scopeMenu, forceMount, children: /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(Portal$6, { asChild: true, container, children: children2 }) }) });
39643
+ return /* @__PURE__ */ jsx(PortalProvider, { scope: __scopeMenu, forceMount, children: /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(Portal$6, { asChild: true, container: container2, children: children2 }) }) });
39605
39644
  };
39606
39645
  MenuPortal.displayName = PORTAL_NAME$1;
39607
39646
  var CONTENT_NAME$1 = "MenuContent";
@@ -39621,8 +39660,8 @@ var MenuRootContentModal = React.forwardRef(
39621
39660
  const ref = React.useRef(null);
39622
39661
  const composedRefs = useComposedRefs(forwardedRef, ref);
39623
39662
  React.useEffect(() => {
39624
- const content = ref.current;
39625
- if (content) return hideOthers(content);
39663
+ const content2 = ref.current;
39664
+ if (content2) return hideOthers(content2);
39626
39665
  }, []);
39627
39666
  return /* @__PURE__ */ jsx(
39628
39667
  MenuContentImpl,
@@ -39799,8 +39838,8 @@ var MenuContentImpl = React.forwardRef(
39799
39838
  if (event.key === "Tab") event.preventDefault();
39800
39839
  if (!isModifierKey && isCharacterKey) handleTypeaheadSearch(event.key);
39801
39840
  }
39802
- const content = contentRef.current;
39803
- if (event.target !== content) return;
39841
+ const content2 = contentRef.current;
39842
+ if (event.target !== content2) return;
39804
39843
  if (!FIRST_LAST_KEYS.includes(event.key)) return;
39805
39844
  event.preventDefault();
39806
39845
  const items = getItems().filter((item) => !item.disabled);
@@ -40726,7 +40765,27 @@ const BackNextButtonGroup = ({
40726
40765
  )
40727
40766
  ] });
40728
40767
  };
40729
- const styles = {};
40768
+ const base = "reach-styles-module__base___zJcoE";
40769
+ const destructive = "reach-styles-module__destructive___5EWhN";
40770
+ const outline = "reach-styles-module__outline___gj9sC";
40771
+ const secondary = "reach-styles-module__secondary___cN5Wj";
40772
+ const header = "reach-styles-module__header___-izE2";
40773
+ const title = "reach-styles-module__title___n1hA9";
40774
+ const description = "reach-styles-module__description___EvXM-";
40775
+ const content = "reach-styles-module__content___okv68";
40776
+ const footer = "reach-styles-module__footer___YA4U4";
40777
+ const styles = {
40778
+ base,
40779
+ "default": "reach-styles-module__default___88Q0d",
40780
+ destructive,
40781
+ outline,
40782
+ secondary,
40783
+ header,
40784
+ title,
40785
+ description,
40786
+ content,
40787
+ footer
40788
+ };
40730
40789
  const cardVariants = cva(styles.base, {
40731
40790
  variants: {
40732
40791
  variant: {
@@ -41892,8 +41951,8 @@ const SelectEmailOrSMS = ({
41892
41951
  /* @__PURE__ */ jsxs(
41893
41952
  Button$1,
41894
41953
  {
41895
- className: `${buttonStyle}
41896
- ${selectedChannels.includes("email") ? ` border-primary` : "bg-white text-black border-gray-200 hover:bg-gray-50"}`,
41954
+ variant: selectedChannels.includes("email") ? "default" : "outline",
41955
+ className: `${buttonStyle}`,
41897
41956
  onClick: toggleEmail,
41898
41957
  children: [
41899
41958
  /* @__PURE__ */ jsx("span", { children: /* @__PURE__ */ jsx(iconDefinitions.EmailIcon, { size: 15 }) }),
@@ -41904,8 +41963,8 @@ const SelectEmailOrSMS = ({
41904
41963
  /* @__PURE__ */ jsxs(
41905
41964
  Button$1,
41906
41965
  {
41907
- className: `${buttonStyle}
41908
- ${selectedChannels.includes("sms") ? ` border-primary` : "bg-white text-black border-gray-200 hover:bg-gray-50"}`,
41966
+ variant: selectedChannels.includes("sms") ? "default" : "outline",
41967
+ className: `${buttonStyle}`,
41909
41968
  onClick: toggleSMS,
41910
41969
  children: [
41911
41970
  /* @__PURE__ */ jsx("span", { children: /* @__PURE__ */ jsx(iconDefinitions.SmsIcon, { size: 15 }) }),
@@ -42070,7 +42129,7 @@ const EstimatedMatchesView = ({
42070
42129
  iconDefinitions,
42071
42130
  includeSegments,
42072
42131
  excludeSegments,
42073
- title = "Estimated Matches",
42132
+ title: title2 = "Estimated Matches",
42074
42133
  subtitle
42075
42134
  }) => {
42076
42135
  const {
@@ -42096,7 +42155,7 @@ const EstimatedMatchesView = ({
42096
42155
  }, [data?.recipients]);
42097
42156
  return /* @__PURE__ */ jsxs("div", { className: "w-full p-4", children: [
42098
42157
  /* @__PURE__ */ jsxs("div", { className: "mb-4 md:mb-6", children: [
42099
- /* @__PURE__ */ jsx("h3", { className: "text-xl font-semibold text-gray-900", children: title }),
42158
+ /* @__PURE__ */ jsx("h3", { className: "text-xl font-semibold text-gray-900", children: title2 }),
42100
42159
  subtitle && /* @__PURE__ */ jsx("p", { className: "mt-1 text-sm text-gray-500", children: subtitle })
42101
42160
  ] }),
42102
42161
  /* @__PURE__ */ jsx("div", { className: "@container", children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 @[30rem]:grid-cols-3 gap-2 md:gap-3 mb-4 md:mb-6", children: [
@@ -44537,10 +44596,10 @@ function Caption(props) {
44537
44596
  return jsx("div", { className: classNames.caption, style: styles2.caption, children: caption });
44538
44597
  }
44539
44598
  function Footer(props) {
44540
- var _a = useDayPicker(), footer = _a.footer, styles2 = _a.styles, tfoot = _a.classNames.tfoot;
44541
- if (!footer)
44599
+ var _a = useDayPicker(), footer2 = _a.footer, styles2 = _a.styles, tfoot = _a.classNames.tfoot;
44600
+ if (!footer2)
44542
44601
  return jsx(Fragment, {});
44543
- return jsx("tfoot", { className: tfoot, style: styles2.tfoot, children: jsx("tr", { children: jsx("td", { colSpan: 8, children: footer }) }) });
44602
+ return jsx("tfoot", { className: tfoot, style: styles2.tfoot, children: jsx("tr", { children: jsx("td", { colSpan: 8, children: footer2 }) }) });
44544
44603
  }
44545
44604
  function getWeekdays(locale2, weekStartsOn, ISOWeek) {
44546
44605
  var start = ISOWeek ? startOfISOWeek(/* @__PURE__ */ new Date()) : startOfWeek(/* @__PURE__ */ new Date(), { locale: locale2, weekStartsOn });
@@ -45348,15 +45407,15 @@ function Day(props) {
45348
45407
  function WeekNumber(props) {
45349
45408
  var weekNumber = props.number, dates2 = props.dates;
45350
45409
  var _a = useDayPicker(), onWeekNumberClick = _a.onWeekNumberClick, styles2 = _a.styles, classNames = _a.classNames, locale2 = _a.locale, labelWeekNumber2 = _a.labels.labelWeekNumber, formatWeekNumber2 = _a.formatters.formatWeekNumber;
45351
- var content = formatWeekNumber2(Number(weekNumber), { locale: locale2 });
45410
+ var content2 = formatWeekNumber2(Number(weekNumber), { locale: locale2 });
45352
45411
  if (!onWeekNumberClick) {
45353
- return jsx("span", { className: classNames.weeknumber, style: styles2.weeknumber, children: content });
45412
+ return jsx("span", { className: classNames.weeknumber, style: styles2.weeknumber, children: content2 });
45354
45413
  }
45355
45414
  var label = labelWeekNumber2(Number(weekNumber), { locale: locale2 });
45356
45415
  var handleClick = function(e4) {
45357
45416
  onWeekNumberClick(weekNumber, dates2, e4);
45358
45417
  };
45359
- return jsx(Button, { name: "week-number", "aria-label": label, className: classNames.weeknumber, style: styles2.weeknumber, onClick: handleClick, children: content });
45418
+ return jsx(Button, { name: "week-number", "aria-label": label, className: classNames.weeknumber, style: styles2.weeknumber, onClick: handleClick, children: content2 });
45360
45419
  }
45361
45420
  function Row(props) {
45362
45421
  var _a, _b;
@@ -46377,13 +46436,13 @@ const SelectAudience = ({ iconDefinitions, automation }) => {
46377
46436
  ] }) })
46378
46437
  ] });
46379
46438
  };
46380
- const TitleAndContent = ({ title, subtitle, content }) => {
46439
+ const TitleAndContent = ({ title: title2, subtitle, content: content2 }) => {
46381
46440
  return /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4 w-full p-6 rounded-xl bg-gray-100 ", children: [
46382
46441
  /* @__PURE__ */ jsxs("div", { children: [
46383
- /* @__PURE__ */ jsx("h2", { className: "text-2xl font-semibold", children: title }),
46442
+ /* @__PURE__ */ jsx("h2", { className: "text-2xl font-semibold", children: title2 }),
46384
46443
  subtitle && /* @__PURE__ */ jsx("p", { className: "text-gray-600 mt-1", children: subtitle })
46385
46444
  ] }),
46386
- /* @__PURE__ */ jsx("div", { className: "bg-white rounded-2xl w-full border border-gray-200 p-6 relative", children: content })
46445
+ /* @__PURE__ */ jsx("div", { className: "bg-white rounded-2xl w-full border border-gray-200 p-6 relative", children: content2 })
46387
46446
  ] });
46388
46447
  };
46389
46448
  const EditAutomationPopup = ({