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5B,IAAK,EAAQ,QACX,OAEF,MAAM,EAAc,EAAM,WACpB,EAAgB,EAAQ,QAAQ,MAChC,EAAkB,EAAQ,QAAQ,cACpC,IAAkB,GAAe,IAAoB,GACvD,EAAS,EACX,GACC,CAAC,EAAO,EAAS,EAAU,KACP,EAAI,qBAAqB,KAC9C,UACA,IACK,EACH,IAAK,EACL,OACA,OAAQ,GAEX,EAEC,wBAA0B,EAC5B,OACA,kBAAiB,EACjB,eACA,WACA,SACA,OACA,kBACG,MAEH,MAAM,EAAW,iBAAiB,EAAU,EAAgB,IACpD,IAAK,EAAQ,QAAE,IAAY,EAAI,mBAAmB,UAAU,EAAM,CAAE,aACtE,EAAc,eAAe,EAAU,GACvC,EAAa,eAAe,EAAQ,EAAS,EAAgB,GACnE,OAAuB,EAAI,qBAAqB,KAC9C,UACA,IACK,EACH,IAAK,EACL,OACA,OAAQ,EACR,aAAc,GAAc,YAE/B,EAEC,YAAc,EAAG,IAAK,KAAiB,MACzC,MAAM,MAAE,EAAK,aAAE,KAAiB,GAAS,EACzC,MAAI,UAAW,GACU,EAAI,qBAAqB,KAC9C,sBACA,IACK,EACH,MAAO,GAAS,GAChB,kBAImB,EAAI,qBAAqB,KAC9C,wBACA,IACK,EACH,eACA,gBAGN,EAEF,YAAY,YAAc","file":"/npm/@simplybusiness/mobius@6.9.1/dist/cjs/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/@simplybusiness/mobius@6.9.1/dist/cjs/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n  for (var name in all)\n    __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n  if (from && typeof from === \"object\" || typeof from === \"function\") {\n    for (let key of __getOwnPropNames(from))\n      if (!__hasOwnProp.call(to, key) && key !== except)\n        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n  }\n  return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n  // If the importer is in node compatibility mode or this is not an ESM\n  // file that has been converted to a CommonJS file using a Babel-\n  // compatible transform (i.e. \"__esModule\" has not been set), then set\n  // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n  isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n  mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// index.tsx\nvar index_exports = {};\n__export(index_exports, {\n  Accordion: () => Accordion,\n  AddressLookup: () => AddressLookup,\n  Alert: () => Alert,\n  Box: () => Box,\n  BreadcrumbItem: () => BreadcrumbItem,\n  Breadcrumbs: () => Breadcrumbs,\n  Button: () => Button,\n  Checkbox: () => Checkbox,\n  CheckboxGroup: () => CheckboxGroup,\n  Combobox: () => Combobox,\n  Container: () => Container,\n  DEFAULT_BREAKPOINTS: () => DEFAULT_BREAKPOINTS,\n  DateField: () => DateField,\n  Divider: () => Divider,\n  Drawer: () => Drawer2,\n  DropdownMenu: () => DropdownMenu2,\n  ErrorMessage: () => ErrorMessage,\n  ExpandableText: () => ExpandableText,\n  Fieldset: () => Fieldset,\n  Flex: () => Flex,\n  Grid: () => Grid2,\n  Icon: () => Icon,\n  Image: () => Image,\n  Label: () => Label,\n  Link: () => Link,\n  LinkButton: () => LinkButton,\n  List: () => List,\n  ListItem: () => ListItem,\n  LoadingIndicator: () => LoadingIndicator,\n  Logo: () => Logo,\n  LoqateAddressLookupService: () => LoqateAddressLookupService,\n  MIN_MAX_ERROR: () => MIN_MAX_ERROR,\n  MaskedField: () => MaskedField,\n  Modal: () => Modal2,\n  NumberField: () => NumberField,\n  Option: () => Option2,\n  PasswordField: () => PasswordField,\n  Popover: () => Popover,\n  Progress: () => Progress,\n  Radio: () => Radio,\n  RadioGroup: () => RadioGroup,\n  SVG: () => SVG,\n  Segment: () => Segment,\n  SegmentGroup: () => SegmentGroup,\n  Select: () => Select,\n  Slider: () => Slider,\n  Stack: () => Stack,\n  Switch: () => Switch,\n  Table: () => Table2,\n  Text: () => Text,\n  TextArea: () => TextArea,\n  TextAreaInput: () => TextAreaInput,\n  TextField: () => TextField,\n  TextOrHTML: () => TextOrHTML,\n  Title: () => Title,\n  Trust: () => Trust,\n  VisuallyHidden: () => VisuallyHidden,\n  convertToDateFormat: () => convertToDateFormat,\n  isValidDate: () => isValidDate,\n  useBodyScrollLock: () => useBodyScrollLock,\n  useBreakpoint: () => useBreakpoint,\n  useButton: () => useButton,\n  useDebouncedValue: () => useDebouncedValue,\n  useDeprecationWarning: () => useDeprecationWarning,\n  useDialog: () => useDialog,\n  useDialogPolyfill: () => useDialogPolyfill,\n  useDrawer: () => useDrawer,\n  useLabel: () => useLabel,\n  useModal: () => useModal,\n  useOnClickOutside: () => useOnClickOutside,\n  useOnUnmount: () => useOnUnmount,\n  usePrefersReducedMotion: () => usePrefersReducedMotion,\n  useRenderCount: () => useRenderCount,\n  useTextField: () => useTextField,\n  useValidationClasses: () => useValidationClasses,\n  useWindowEvent: () => useWindowEvent\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/components/Accordion/Accordion.tsx\nvar import_dedupe4 = __toESM(require(\"classnames/dedupe\"));\nvar import_react15 = require(\"react\");\n\n// src/hooks/useBodyScrollLock/useBodyScrollLock.ts\nvar import_react = require(\"react\");\nfunction useBodyScrollLock({\n  enabled = true\n} = {}) {\n  function disableScrollLock() {\n    document.body.style.removeProperty(\"overflow\");\n    document.body.style.removeProperty(\"scrollbar-gutter\");\n    document.documentElement.style.removeProperty(\"scrollbar-gutter\");\n  }\n  function enableScrollLock() {\n    document.body.style.overflow = \"hidden\";\n    document.body.style.scrollbarGutter = \"stable\";\n    document.documentElement.style.scrollbarGutter = \"stable\";\n  }\n  (0, import_react.useEffect)(() => {\n    if (enabled) {\n      enableScrollLock();\n    } else {\n      disableScrollLock();\n    }\n    return () => {\n      disableScrollLock();\n    };\n  }, [enabled]);\n}\n\n// src/hooks/useBreakpoint/useBreakpoint.tsx\nvar import_lodash = __toESM(require(\"lodash.debounce\"));\nvar import_react2 = require(\"react\");\nvar DEFAULT_BREAKPOINTS = [\n  { size: \"xs\", value: 320 },\n  { size: \"sm\", value: 480 },\n  { size: \"md\", value: 670 },\n  { size: \"lg\", value: 960 },\n  { size: \"xl\", value: 1200 },\n  { size: \"xxl\", value: 1320 }\n];\nvar getBreakpoint = (breakpoints, windowWidth) => {\n  const closest = breakpoints.findIndex(\n    (breakpoint) => breakpoint.value >= windowWidth + 1\n  );\n  const smallest = breakpoints[0];\n  const largest = breakpoints[breakpoints.length - 1];\n  const match = breakpoints[closest - 1];\n  if (closest === 0) return smallest;\n  if (closest === -1) return largest;\n  return match;\n};\nvar useBreakpoint = (customBreakpoints) => {\n  const window2 = globalThis?.window || void 0;\n  const isClientSide = typeof window2 !== \"undefined\";\n  const breakpoints = customBreakpoints || DEFAULT_BREAKPOINTS;\n  const defaultBreakpoint = breakpoints[0];\n  const [windowWidth, setWindowWidth] = (0, import_react2.useState)(\n    isClientSide ? window2.innerWidth : defaultBreakpoint.value\n  );\n  const [currentBreakpoint, setCurrentBreakpoint] = (0, import_react2.useState)(defaultBreakpoint);\n  const handleResize = () => {\n    setWindowWidth(window2.innerWidth);\n  };\n  (0, import_react2.useEffect)(() => {\n    if (!windowWidth || breakpoints.length === 0) {\n      setCurrentBreakpoint(breakpoints[0]);\n      return;\n    }\n    const newBreakpoint = getBreakpoint(breakpoints, windowWidth);\n    if (currentBreakpoint.size === newBreakpoint?.size) return;\n    setCurrentBreakpoint(newBreakpoint);\n  }, [currentBreakpoint, windowWidth, breakpoints]);\n  (0, import_react2.useEffect)(() => {\n    window2.addEventListener(\"resize\", (0, import_lodash.default)(handleResize, 200), {\n      passive: true\n    });\n    return () => window2.removeEventListener(\"resize\", handleResize);\n  }, [window2]);\n  const up = (0, import_react2.useCallback)(\n    (size) => {\n      const sizeIndex = breakpoints.findIndex((item) => item.size === size);\n      if (sizeIndex === -1) {\n        return false;\n      }\n      const currentIndex = breakpoints.findIndex(\n        (item) => item.size === currentBreakpoint.size\n      );\n      return currentIndex >= sizeIndex;\n    },\n    [currentBreakpoint, breakpoints]\n  );\n  const down = (0, import_react2.useCallback)(\n    (size) => {\n      const sizeIndex = breakpoints.findIndex((item) => item.size === size);\n      if (sizeIndex === -1) {\n        return true;\n      }\n      const currentIndex = breakpoints.findIndex(\n        (item) => item.size === currentBreakpoint.size\n      );\n      return currentIndex <= sizeIndex;\n    },\n    [currentBreakpoint, breakpoints]\n  );\n  return {\n    breakpoint: isClientSide ? currentBreakpoint : defaultBreakpoint,\n    up,\n    down\n  };\n};\n\n// src/hooks/useButton/useButton.tsx\nvar import_react3 = require(\"react\");\nfunction useButton({\n  elementType = \"button\",\n  type = \"button\",\n  isDisabled = false,\n  href,\n  target,\n  rel,\n  role,\n  name,\n  value,\n  onClick,\n  onPress\n}) {\n  const realOnClick = (0, import_react3.useCallback)(\n    (event) => {\n      if (isDisabled) {\n        return;\n      }\n      onClick?.(event);\n      onPress?.(event);\n    },\n    [isDisabled, onClick, onPress]\n  );\n  function getRole() {\n    if (role) {\n      return role;\n    }\n    if (elementType === \"a\") {\n      return void 0;\n    }\n    return \"button\";\n  }\n  const extraProps = elementType === \"button\" ? { type } : {\n    role: getRole()\n  };\n  return {\n    buttonProps: {\n      href: elementType === \"a\" ? href : void 0,\n      target: elementType === \"a\" ? target : void 0,\n      rel: elementType === \"a\" ? rel : void 0,\n      tabIndex: isDisabled ? -1 : 0,\n      disabled: isDisabled || void 0,\n      \"aria-disabled\": isDisabled || void 0,\n      name: elementType === \"input\" || elementType === \"button\" ? name : void 0,\n      value: elementType === \"input\" || elementType === \"button\" ? value : void 0,\n      ...extraProps,\n      onClick: realOnClick\n    }\n  };\n}\n\n// src/hooks/useDebouncedValue/useDebouncedValue.tsx\nvar import_react4 = require(\"react\");\nfunction useDebouncedValue(value, delay = 0) {\n  const [debouncedValue, setDebouncedValue] = (0, import_react4.useState)(value);\n  (0, import_react4.useEffect)(() => {\n    let timeout = null;\n    if (delay === 0) {\n      setDebouncedValue(value);\n    } else {\n      timeout = setTimeout(() => {\n        setDebouncedValue(value);\n      }, delay);\n    }\n    return () => {\n      if (timeout) {\n        clearTimeout(timeout);\n        timeout = null;\n      }\n    };\n  }, [value, delay]);\n  return debouncedValue;\n}\n\n// src/hooks/useDeprecationWarning/useDeprecationWarning.ts\nvar import_react5 = require(\"react\");\nvar useDeprecationWarning = (props) => {\n  const hasWarned = (0, import_react5.useRef)(false);\n  const deprecatedProps = Object.entries(props).reduce(\n    (acc, [key, value]) => {\n      if (value) {\n        acc.push(key);\n      }\n      return acc;\n    },\n    []\n  );\n  const noDeprecatedProps = deprecatedProps.length === 0;\n  if (noDeprecatedProps) {\n    return;\n  }\n  if (!hasWarned.current) {\n    deprecatedProps.forEach((prop) => {\n      console.warn(\n        `Deprecation warning: Mobius no longer supports the prop '${prop}'. Please refer to the documentation for more information.`\n      );\n    });\n    hasWarned.current = true;\n  }\n};\n\n// src/hooks/useDialog/useDialog.ts\nvar import_react7 = require(\"react\");\n\n// src/utils/filterUndefinedProps.ts\nvar filterUndefinedProps = (props) => {\n  const filteredProps = {};\n  Object.keys(props).forEach((key) => {\n    if (props[key] !== void 0) {\n      filteredProps[key] = props[key];\n    }\n  });\n  return filteredProps;\n};\n\n// src/utils/getSpacingValue.ts\nvar getSpacingValue = (padding) => {\n  if (typeof padding === \"string\") {\n    return `var(--size-${padding})`;\n  }\n  if (typeof padding === \"number\") {\n    return `${padding}px`;\n  }\n  return void 0;\n};\n\n// src/utils/mergeRefs.ts\nfunction mergeRefs(refs) {\n  return (value) => {\n    refs.forEach((ref) => {\n      if (typeof ref === \"function\") {\n        ref(value);\n      } else if (ref != null) {\n        ref.current = value;\n      }\n    });\n  };\n}\n\n// src/utils/polyfill-tests.ts\nvar supportsDialog = () => typeof HTMLDialogElement === \"function\";\n\n// src/utils/sizeClasses.ts\nvar sizeClasses = (size) => {\n  if (!size) {\n    return {};\n  }\n  return {\n    \"--is-xxs\": size === \"xxs\",\n    \"--is-xs\": size === \"xs\",\n    \"--is-sm\": size === \"sm\",\n    \"--is-md\": size === \"md\",\n    \"--is-lg\": size === \"lg\",\n    \"--is-xl\": size === \"xl\",\n    \"--is-xxl\": size === \"xxl\"\n  };\n};\n\n// src/utils/spaceDelimitedList.ts\nfunction spaceDelimitedList(list) {\n  return list.filter(Boolean).join(\" \") || void 0;\n}\n\n// src/hooks/useDialogPolyfill/useDialogPolyfill.ts\nvar import_react6 = require(\"react\");\nvar useDialogPolyfill = () => {\n  const [hasDialogSupport, setHasDialogSupport] = (0, import_react6.useState)(false);\n  const hasAlreadyLoaded = (0, import_react6.useRef)(false);\n  (0, import_react6.useEffect)(() => {\n    setHasDialogSupport(supportsDialog());\n  }, []);\n  const polyfillDialog = async (ref) => {\n    if (!hasAlreadyLoaded.current && !hasDialogSupport && typeof window !== \"undefined\" && ref.current !== null) {\n      const { default: dialogPolyfill } = await import(\"dialog-polyfill\");\n      hasAlreadyLoaded.current = true;\n      try {\n        if (ref.current) {\n          dialogPolyfill.registerDialog(ref.current);\n        }\n      } catch (error3) {\n        console.error(\"Failed to load dialog-polyfill\", error3);\n      }\n    }\n  };\n  return {\n    polyfillDialog\n  };\n};\n\n// src/hooks/useDialog/useDialog.ts\nvar TRANSITION_CLASS_NAME = \"--transition\";\nvar FALLBACK_TRANSITION_DURATION = 0;\nvar useDialog = (props) => {\n  const { ref, isOpen, transition, onOpen, onClose } = props;\n  const [hasDialogSupport, setHasDialogSupport] = (0, import_react7.useState)(false);\n  const shouldTransition = hasDialogSupport && transition.isEnabled;\n  const { polyfillDialog } = useDialogPolyfill();\n  (0, import_react7.useEffect)(() => {\n    setHasDialogSupport(supportsDialog());\n  }, []);\n  const TRANSITION_DURATION_IN_MS = ref.current && Number(\n    getComputedStyle(ref.current).getPropertyValue(transition.CSSVariable).replace(\"ms\", \"\")\n  ) || FALLBACK_TRANSITION_DURATION;\n  useBodyScrollLock({ enabled: isOpen });\n  const open = (0, import_react7.useCallback)(() => {\n    ref.current?.showModal();\n    onOpen?.();\n  }, [onOpen, ref]);\n  const close = (0, import_react7.useCallback)(() => {\n    ref.current?.close();\n    onClose?.();\n  }, [onClose, ref]);\n  const handleClose = (0, import_react7.useCallback)(\n    (event) => {\n      if (event) {\n        event.preventDefault();\n        event.stopPropagation();\n      }\n      if (shouldTransition) {\n        ref.current?.classList.remove(TRANSITION_CLASS_NAME);\n        setTimeout(() => close(), TRANSITION_DURATION_IN_MS);\n      } else {\n        close();\n      }\n    },\n    [TRANSITION_DURATION_IN_MS, close, ref, shouldTransition]\n  );\n  (0, import_react7.useEffect)(() => {\n    async function toggleDialog() {\n      if (isOpen && !ref.current?.open) {\n        await polyfillDialog(ref);\n        open();\n        setTimeout(() => {\n          ref.current?.classList.add(TRANSITION_CLASS_NAME);\n        }, 0);\n      } else if (!isOpen && ref.current?.open) {\n        handleClose();\n      }\n    }\n    void toggleDialog();\n  }, [handleClose, isOpen, open, ref, polyfillDialog]);\n  return {\n    open,\n    close: handleClose\n  };\n};\n\n// src/hooks/useLabel/useLabel.tsx\nvar import_react8 = require(\"react\");\nfunction useLabel({\n  id: providedId,\n  label,\n  \"aria-label\": ariaLabel,\n  \"aria-labelledby\": ariaLabelledby,\n  labelElementType = \"label\"\n}) {\n  let labelProps = {};\n  let fieldProps = {};\n  const hasWarnedAboutMissingLabels = (0, import_react8.useRef)(false);\n  const fallbackId = (0, import_react8.useId)();\n  const id = providedId || fallbackId;\n  const labelId = (0, import_react8.useId)();\n  if (label) {\n    ariaLabelledby = ariaLabelledby ? `${labelId} ${ariaLabelledby}` : labelId;\n    labelProps = {\n      id: labelId,\n      htmlFor: labelElementType === \"label\" ? id : void 0\n    };\n  } else if (!ariaLabelledby && !ariaLabel && !hasWarnedAboutMissingLabels.current) {\n    hasWarnedAboutMissingLabels.current = true;\n    console.warn(\n      \"If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility\"\n    );\n  }\n  fieldProps = {\n    id,\n    \"aria-label\": ariaLabel,\n    \"aria-labelledby\": ariaLabelledby\n  };\n  return {\n    labelProps,\n    fieldProps\n  };\n}\n\n// src/hooks/useOnClickOutside/useOnClickOutside.tsx\nvar import_react9 = require(\"react\");\nvar useOnClickOutside = (ref, handler) => {\n  (0, import_react9.useEffect)(() => {\n    const listener = (event) => {\n      if (!ref.current || ref.current.contains(event.target)) {\n        return;\n      }\n      event.preventDefault();\n      event.stopPropagation();\n      handler(event);\n    };\n    const handleEscapeKeyPress = (event) => {\n      if (event.key === \"Escape\") {\n        event.preventDefault();\n        event.stopPropagation();\n        handler(event);\n      }\n    };\n    document.addEventListener(\"mousedown\", listener);\n    document.addEventListener(\"touchstart\", listener);\n    document.addEventListener(\"keydown\", handleEscapeKeyPress);\n    return () => {\n      document.removeEventListener(\"mousedown\", listener);\n      document.removeEventListener(\"touchstart\", listener);\n      document.addEventListener(\"keydown\", handleEscapeKeyPress);\n    };\n  }, [ref, handler]);\n};\n\n// src/hooks/useOnUnmount/useOnUnmount.tsx\nvar import_react10 = require(\"react\");\nfunction useOnUnmount(callback) {\n  const callbackRef = (0, import_react10.useRef)(callback);\n  (0, import_react10.useEffect)(() => {\n    callbackRef.current = callback;\n  }, [callback]);\n  (0, import_react10.useEffect)(\n    () => () => {\n      callbackRef.current();\n    },\n    []\n  );\n}\n\n// src/hooks/usePrefersReducedMotion/usePrefersReducedMotion.tsx\nvar import_react11 = require(\"react\");\nfunction usePrefersReducedMotion() {\n  const [prefersReducedMotion, setPrefersReducedMotion] = (0, import_react11.useState)(false);\n  (0, import_react11.useEffect)(() => {\n    const mediaQuery = window.matchMedia(\"(prefers-reduced-motion: reduce)\");\n    setPrefersReducedMotion(mediaQuery.matches);\n    const listener = (event) => {\n      setPrefersReducedMotion(event.matches);\n    };\n    mediaQuery.addEventListener(\"change\", listener);\n    return () => {\n      mediaQuery.removeEventListener(\"change\", listener);\n    };\n  }, []);\n  return prefersReducedMotion;\n}\n\n// src/hooks/useRenderCount/useRenderCount.ts\nvar import_react12 = require(\"react\");\nfunction useRenderCount() {\n  const count = (0, import_react12.useRef)(1);\n  (0, import_react12.useEffect)(() => {\n    count.current += 1;\n  });\n  return count.current;\n}\n\n// src/hooks/useTextField/useTextField.tsx\nvar import_react13 = require(\"react\");\nfunction useTextField(props) {\n  const {\n    isDisabled = false,\n    isReadOnly = false,\n    isRequired = false,\n    inputElementType = \"input\"\n  } = props;\n  const { labelProps, fieldProps } = useLabel(props);\n  const descriptionId = (0, import_react13.useId)();\n  const descriptionProps = { id: descriptionId };\n  const errorMessageId = (0, import_react13.useId)();\n  const errorMessageProps = { id: errorMessageId };\n  const ariaDescribedBy = spaceDelimitedList([\n    props.description && descriptionId,\n    props.errorMessage && errorMessageId,\n    props[\"aria-describedby\"]\n  ]);\n  return {\n    descriptionProps,\n    errorMessageProps,\n    labelProps,\n    inputProps: {\n      defaultValue: props.defaultValue,\n      value: props.value,\n      onChange: props.onChange,\n      disabled: isDisabled,\n      readOnly: isReadOnly,\n      required: isRequired,\n      \"aria-required\": isRequired === true ? true : void 0,\n      \"aria-invalid\": props.isInvalid,\n      \"aria-describedby\": ariaDescribedBy,\n      \"aria-errormessage\": props[\"aria-errormessage\"],\n      role: props.role,\n      type: inputElementType === \"input\" ? props.type : void 0,\n      pattern: inputElementType === \"input\" ? props.pattern : void 0,\n      autoComplete: props.autoComplete,\n      maxLength: props.maxLength,\n      minLength: props.minLength,\n      name: props.name,\n      placeholder: props.placeholder,\n      inputMode: props.inputMode,\n      // Clipboard events\n      onCopy: props.onCopy,\n      onCut: props.onCut,\n      onPaste: props.onPaste,\n      // Composition events\n      onCompositionEnd: props.onCompositionEnd,\n      onCompositionStart: props.onCompositionStart,\n      onCompositionUpdate: props.onCompositionUpdate,\n      // Selection events\n      onSelect: props.onSelect,\n      // Input events\n      onBeforeInput: props.onBeforeInput,\n      onInput: props.onInput,\n      // Focus events\n      onFocus: props.onFocus,\n      onBlur: props.onBlur,\n      ...fieldProps\n    }\n  };\n}\n\n// src/hooks/useValidationClasses/useValidationClasses.ts\nvar useValidationClasses = (props) => {\n  const { validationState, isInvalid } = props;\n  useDeprecationWarning({ validationState });\n  if (isInvalid || validationState === \"invalid\") {\n    return \"--is-invalid\";\n  }\n  if (isInvalid === false || validationState === \"valid\") {\n    return \"--is-valid\";\n  }\n  return \"\";\n};\n\n// src/hooks/useWindowEvent/useWindowEvent.tsx\nvar import_react14 = require(\"react\");\nfunction normaliseOptions(options, otherOptions = {}) {\n  if (typeof options === \"undefined\") {\n    return otherOptions;\n  }\n  if (typeof options === \"boolean\") {\n    return { capture: options, ...otherOptions };\n  }\n  return { ...options, ...otherOptions };\n}\nfunction useWindowEvent(type, listener, options) {\n  (0, import_react14.useEffect)(() => {\n    const controller = new AbortController();\n    const { signal } = controller;\n    const normalisedOptions = normaliseOptions(options, { signal });\n    window.addEventListener(type, listener, normalisedOptions);\n    return () => {\n      controller.abort();\n      window.removeEventListener(type, listener, normalisedOptions);\n    };\n  }, [type, listener, options]);\n}\n\n// src/components/Accordion/AccordionLink.tsx\nvar import_dedupe3 = __toESM(require(\"classnames/dedupe\"));\n\n// src/components/Flex/Flex.tsx\nvar import_dedupe = __toESM(require(\"classnames/dedupe\"));\n\n// src/components/Flex/propUtils.ts\nvar buildFlexStyles = (props) => {\n  const {\n    flexDirection,\n    flexWrap,\n    flexGrow,\n    flex,\n    justifyContent,\n    alignItems,\n    alignContent,\n    gap,\n    rowGap,\n    columnGap\n  } = props;\n  const styleProps = {\n    flexDirection,\n    flexWrap,\n    flexGrow,\n    flex,\n    justifyContent,\n    alignItems,\n    alignContent,\n    gap: getSpacingValue(gap),\n    columnGap: getSpacingValue(columnGap),\n    rowGap: getSpacingValue(rowGap)\n  };\n  return filterUndefinedProps(styleProps);\n};\nvar splitProps = (props) => {\n  const {\n    flexDirection,\n    flexWrap,\n    flexGrow,\n    flex,\n    justifyContent,\n    alignItems,\n    alignContent,\n    gap,\n    rowGap,\n    columnGap,\n    ...otherProps\n  } = props;\n  return [\n    {\n      flexDirection,\n      flexWrap,\n      flexGrow,\n      flex,\n      justifyContent,\n      alignItems,\n      alignContent,\n      gap,\n      rowGap,\n      columnGap\n    },\n    otherProps\n  ];\n};\n\n// src/components/Flex/Flex.tsx\nvar import_jsx_runtime = require(\"react/jsx-runtime\");\nvar Flex = ({ ref, ...props }) => {\n  const {\n    elementType: Element = \"div\",\n    style,\n    className,\n    ...otherProps\n  } = props;\n  const classes = (0, import_dedupe.default)(\"mobius\", \"mobius-flex\", className);\n  const [styleProps, restProps] = splitProps(otherProps);\n  const flexStyles = buildFlexStyles(styleProps);\n  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(\n    Element,\n    {\n      ref,\n      style: {\n        ...flexStyles,\n        ...style\n      },\n      className: classes,\n      ...restProps\n    }\n  );\n};\nFlex.displayName = \"Flex\";\n\n// src/components/Icon/Icon.tsx\nvar import_dedupe2 = __toESM(require(\"classnames/dedupe\"));\nvar import_jsx_runtime2 = require(\"react/jsx-runtime\");\nvar ICON_PREFIX = \"mobius-icon\";\nvar capitaliseFirstLetter = (str) => str.charAt(0).toUpperCase() + str.slice(1);\nfunction Icon({\n  ref,\n  icon,\n  className,\n  size = \"xs\",\n  color,\n  fixedWidth,\n  spin,\n  spinReverse,\n  title,\n  ...otherProps\n}) {\n  if (!icon) {\n    throw new Error(\"Must specify icon object\");\n  }\n  const classes = (0, import_dedupe2.default)(\n    \"mobius\",\n    \"mobius-icon\",\n    `svg-inline--${ICON_PREFIX}`,\n    `--size-${size}`,\n    className,\n    {\n      [`${ICON_PREFIX}-fw`]: fixedWidth,\n      [`${ICON_PREFIX}-spin`]: spin || spinReverse,\n      [`${ICON_PREFIX}-spin-reverse`]: spinReverse\n    }\n  );\n  const { iconName, width, height, svgPathData } = icon;\n  const formattedIconName = iconName.split(\"-\").join(\" \");\n  const defaultTitle = `${capitaliseFirstLetter(formattedIconName)} icon`;\n  const titleText = title || defaultTitle;\n  return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(\n    \"svg\",\n    {\n      ref,\n      focusable: \"false\",\n      \"data-icon\": iconName,\n      className: classes,\n      role: \"img\",\n      xmlns: \"http://www.w3.org/2000/svg\",\n      viewBox: `0 0 ${width} ${height}`,\n      style: { color },\n      ...otherProps,\n      children: [\n        /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(\"title\", { children: titleText }),\n        /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(\"path\", { fill: \"currentColor\", d: svgPathData })\n      ]\n    }\n  );\n}\n\n// src/components/Accordion/AccordionLink.tsx\nvar import_icons = require(\"@simplybusiness/icons\");\nvar import_jsx_runtime3 = require(\"react/jsx-runtime\");\nvar AccordionLink = ({\n  text,\n  elementType: LinkElement = \"span\",\n  toggle,\n  onClick,\n  headerChildren,\n  ariaExpanded,\n  accordionId,\n  contentId\n}) => {\n  const linkClasses = (0, import_dedupe3.default)(\"mobius-accordion__link\", {\n    \"--is-open\": ariaExpanded\n  });\n  const iconClasses = (0, import_dedupe3.default)(\"mobius-accordion__link-icon\", {\n    \"--is-open\": ariaExpanded\n  });\n  const handleOnClick = (e) => {\n    if (onClick) {\n      onClick(e);\n    }\n    toggle();\n  };\n  const handleKeyDown = (e) => {\n    if (e.key === \" \" || e.key === \"Enter\") {\n      toggle();\n    }\n  };\n  if (headerChildren) {\n    return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(\n      Flex,\n      {\n        justifyContent: \"space-between\",\n        alignItems: \"center\",\n        className: \"mobius-accordion__header\",\n        children: [\n          /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(\n            \"div\",\n            {\n              id: accordionId,\n              className: linkClasses,\n              onClick: handleOnClick,\n              onKeyDown: handleKeyDown,\n              role: \"button\",\n              tabIndex: 0,\n              \"aria-expanded\": !!ariaExpanded,\n              \"aria-controls\": contentId,\n              children: [\n                /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(LinkElement, { className: \"mobius-accordion__link-text\", children: text }),\n                /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Icon, { icon: import_icons.chevronDown, className: iconClasses })\n              ]\n            }\n          ),\n          headerChildren\n        ]\n      }\n    );\n  }\n  return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(\n    \"div\",\n    {\n      id: accordionId,\n      className: linkClasses,\n      onClick: handleOnClick,\n      onKeyDown: handleKeyDown,\n      role: \"button\",\n      tabIndex: 0,\n      \"aria-expanded\": !!ariaExpanded,\n      \"aria-controls\": contentId,\n      children: [\n        /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(LinkElement, { className: \"mobius-accordion__link-text\", children: text }),\n        /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Icon, { icon: import_icons.chevronDown, className: iconClasses })\n      ]\n    }\n  );\n};\n\n// src/components/Accordion/Accordion.tsx\nvar import_jsx_runtime4 = require(\"react/jsx-runtime\");\nvar Accordion = ({ ref, ...props }) => {\n  const {\n    showText = \"See more\",\n    hideText = \"See less\",\n    headerPosition = \"top\",\n    startOpen = false,\n    linkElementType,\n    onClick,\n    onOpen,\n    onClose,\n    onChange = () => {\n    },\n    headerChildren,\n    ...rest\n  } = props;\n  const [accordionState, setAccordionState] = (0, import_react15.useState)({\n    open: true,\n    withAnimation: false\n  });\n  const prefersReducedMotion = usePrefersReducedMotion();\n  const containerClasses = (0, import_dedupe4.default)(\n    \"mobius\",\n    \"mobius-accordion\",\n    props.className,\n    {\n      \"--should-animate\": accordionState.withAnimation && !prefersReducedMotion,\n      \"--is-open\": accordionState.open\n    }\n  );\n  const contentContainerClasses = (0, import_dedupe4.default)(\n    \"mobius-accordion__content-container\",\n    {\n      \"--is-open\": accordionState.open\n    }\n  );\n  const contentClasses = (0, import_dedupe4.default)(\"mobius-accordion__content\", {\n    \"--is-open\": accordionState.open\n  });\n  const linkText = accordionState.open ? hideText : showText;\n  const handleChange = () => {\n    if (!accordionState.open && onOpen) {\n      onOpen();\n    }\n    if (accordionState.open && onClose) {\n      onClose();\n    }\n    if (onChange) {\n      onChange(!accordionState.open);\n    }\n    setAccordionState({\n      open: !accordionState.open,\n      withAnimation: true\n    });\n  };\n  (0, import_react15.useEffect)(() => {\n    setAccordionState({\n      open: startOpen,\n      withAnimation: false\n    });\n  }, [startOpen]);\n  const baseId = (0, import_react15.useId)();\n  const accordionId = `accordion-header-${baseId}`;\n  const contentId = `accordion-panel-${baseId}`;\n  return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(\"div\", { ref, ...rest, className: containerClasses, children: [\n    headerPosition === \"top\" && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(\n      AccordionLink,\n      {\n        text: linkText,\n        elementType: linkElementType,\n        toggle: handleChange,\n        onClick,\n        ariaExpanded: accordionState.open,\n        headerChildren,\n        accordionId,\n        contentId\n      }\n    ),\n    /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(\n      \"div\",\n      {\n        id: contentId,\n        className: contentContainerClasses,\n        \"aria-hidden\": !accordionState.open,\n        \"aria-labelledby\": accordionId,\n        role: \"region\",\n        children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(\"div\", { className: contentClasses, children: props.children })\n      }\n    ),\n    headerPosition === \"bottom\" && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(\n      AccordionLink,\n      {\n        text: linkText,\n        toggle: handleChange,\n        onClick,\n        ariaExpanded: accordionState.open,\n        headerChildren,\n        accordionId,\n        contentId\n      }\n    )\n  ] });\n};\nAccordion.displayName = \"Accordion\";\n\n// src/components/AddressLookup/AddressLookup.tsx\nvar import_icons3 = require(\"@simplybusiness/icons\");\nvar import_react21 = require(\"react\");\n\n// src/components/Combobox/Combobox.tsx\nvar import_dedupe10 = __toESM(require(\"classnames/dedupe\"));\nvar import_react20 = require(\"react\");\n\n// src/components/TextField/TextField.tsx\nvar import_dedupe8 = __toESM(require(\"classnames/dedupe\"));\n\n// src/components/ErrorMessage/ErrorMessage.tsx\nvar import_icons2 = require(\"@simplybusiness/icons\");\nvar import_dedupe5 = __toESM(require(\"classnames/dedupe\"));\nvar import_jsx_runtime5 = require(\"react/jsx-runtime\");\nvar ErrorMessage = ({\n  id,\n  errorMessage,\n  className\n}) => {\n  const classes = (0, import_dedupe5.default)(\"mobius\", \"mobius-error-message\", className);\n  if (!errorMessage) return null;\n  return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(\"div\", { id, className: classes, \"data-testid\": \"ErrorMessage\", role: \"alert\", children: [\n    /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(\n      Icon,\n      {\n        icon: import_icons2.error,\n        className: \"mobius-error-message__icon\",\n        \"aria-hidden\": \"true\"\n      }\n    ),\n    /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(\n      TextOrHTML,\n      {\n        elementType: \"span\",\n        className: \"mobius-error-message__text\",\n        text: errorMessage\n      }\n    )\n  ] });\n};\nErrorMessage.displayName = \"ErrorMessage\";\n\n// src/components/Label/Label.tsx\nvar import_dedupe6 = __toESM(require(\"classnames/dedupe\"));\nvar import_jsx_runtime6 = require(\"react/jsx-runtime\");\nvar Label = ({ ref, ...props }) => {\n  const { elementType: Element = \"label\", children, ...otherProps } = props;\n  const classes = (0, import_dedupe6.default)(\"mobius\", \"mobius-label\", props.className);\n  otherProps.className = classes;\n  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Element, { ref, ...otherProps, className: classes, children });\n};\nLabel.displayName = \"Label\";\n\n// src/components/Stack/Stack.tsx\nvar import_dedupe7 = __toESM(require(\"classnames/dedupe\"));\nvar import_jsx_runtime7 = require(\"react/jsx-runtime\");\nvar Stack = ({ ref, ...props }) => {\n  const { elementType: Element = \"div\", gap, ...otherProps } = props;\n  const classes = (0, import_dedupe7.default)(\n    \"mobius\",\n    \"mobius-stack\",\n    {\n      [`--gap-${gap}`]: gap\n    },\n    otherProps.className\n  );\n  return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Element, { ref, ...otherProps, className: classes });\n};\nStack.displayName = \"Stack\";\n\n// src/components/TextField/adornmentWithClassName.ts\nvar import_classnames = __toESM(require(\"classnames\"));\nvar import_react16 = require(\"react\");\nvar adornmentWithClassName = (component, validationClasses, className) => {\n  if (!component) return null;\n  return (0, import_react16.cloneElement)(component, {\n    className: (0, import_classnames.default)(\n      component.props.className,\n      validationClasses,\n      className\n    )\n  });\n};\n\n// src/components/TextField/TextField.tsx\nvar import_jsx_runtime8 = require(\"react/jsx-runtime\");\nvar TextField = ({ ref, ...props }) => {\n  const {\n    isDisabled,\n    type = \"text\",\n    validationState,\n    isInvalid,\n    className,\n    label,\n    errorMessage,\n    children,\n    isRequired,\n    prefixInside,\n    prefixOutside,\n    suffixInside,\n    suffixOutside,\n    isReadOnly,\n    ...otherProps\n  } = props;\n  const { inputProps, labelProps, errorMessageProps } = useTextField({\n    ...props,\n    \"aria-errormessage\": errorMessage\n  });\n  const hidden = type === \"hidden\";\n  const validationClasses = useValidationClasses({\n    validationState,\n    isInvalid\n  });\n  const textfieldClasses = {\n    \"--is-disabled\": isDisabled,\n    \"--is-required\": typeof isRequired === \"boolean\" && isRequired,\n    \"--is-optional\": typeof isRequired === \"boolean\" && !isRequired,\n    \"--is-hidden\": hidden,\n    [className || \"\"]: true\n  };\n  const sharedClasses = (0, import_dedupe8.default)(validationClasses, textfieldClasses);\n  const labelClasses = (0, import_dedupe8.default)(\n    {\n      \"--is-disabled\": isDisabled\n    },\n    validationClasses\n  );\n  const containerClasses = (0, import_dedupe8.default)(\n    \"mobius\",\n    \"mobius-text-field\",\n    sharedClasses\n  );\n  const inputClasses = (0, import_dedupe8.default)(\n    \"mobius\",\n    \"mobius-text-field__input\",\n    sharedClasses\n  );\n  const inputWrapperClasses = (0, import_dedupe8.default)(\n    \"mobius-text-field__input-wrapper\",\n    sharedClasses\n  );\n  return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(Stack, { gap: \"xs\", className: containerClasses, children: [\n    label && !hidden && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Label, { ...labelProps, className: labelClasses, children: label }),\n    /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(\"div\", { className: \"mobius-text-field__inner-container\", children: [\n      adornmentWithClassName(\n        prefixOutside,\n        labelClasses,\n        \"mobius-text-field__prefix-outside\"\n      ),\n      /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(\"div\", { className: inputWrapperClasses, children: [\n        adornmentWithClassName(\n          prefixInside,\n          labelClasses,\n          \"mobius-text-field__prefix-inside\"\n        ),\n        /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(\n          \"input\",\n          {\n            ...otherProps,\n            ...inputProps,\n            ref,\n            type,\n            className: inputClasses\n          }\n        ),\n        adornmentWithClassName(\n          suffixInside,\n          labelClasses,\n          \"mobius-text-field__suffix-inside\"\n        )\n      ] }),\n      adornmentWithClassName(\n        suffixOutside,\n        labelClasses,\n        \"mobius-text-field__suffix-outside\"\n      )\n    ] }),\n    children && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(\"div\", { className: \"mobius-text-field__children\", children }),\n    /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(ErrorMessage, { ...errorMessageProps, errorMessage })\n  ] });\n};\nTextField.displayName = \"TextField\";\n\n// src/components/VisuallyHidden/VisuallyHidden.tsx\nvar import_jsx_runtime9 = require(\"react/jsx-runtime\");\nfunction VisuallyHidden(props) {\n  const {\n    className,\n    children,\n    elementType: Component = \"div\",\n    ...otherProps\n  } = props;\n  return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(\n    Component,\n    {\n      className,\n      style: {\n        border: 0,\n        clip: \"rect(0 0 0 0)\",\n        clipPath: \"inset(50%)\",\n        height: \"1px\",\n        margin: \"-1px\",\n        overflow: \"hidden\",\n        padding: 0,\n        position: \"absolute\",\n        width: \"1px\",\n        whiteSpace: \"nowrap\"\n      },\n      ...otherProps,\n      children\n    }\n  );\n}\n\n// src/components/Combobox/Listbox.tsx\nvar import_classnames2 = __toESM(require(\"classnames\"));\n\n// src/components/Combobox/Option.tsx\nvar import_react17 = require(\"react\");\nvar import_dedupe9 = __toESM(require(\"classnames/dedupe\"));\n\n// src/components/Combobox/utils.tsx\nfunction isOptionGroup(options) {\n  if (!options) return false;\n  return typeof options[0] === \"object\" && \"options\" in options[0] && options[0].options !== void 0 && \"heading\" in options[0] && options[0].heading !== void 0;\n}\nvar getOptionValue = (option) => typeof option === \"string\" ? option : option?.value;\nvar getOptionLabel = (option) => typeof option === \"string\" ? option : option?.label;\nfunction filterOptions(options, inputValue) {\n  if (isOptionGroup(options)) {\n    return options.map((optionGroup) => ({\n      ...optionGroup,\n      options: optionGroup.options.filter(\n        (option) => getOptionLabel(option).toLowerCase().includes(inputValue.toLowerCase())\n      )\n    })).filter((optionGroup) => optionGroup.options.length > 0);\n  }\n  return options.filter(\n    (option) => getOptionLabel(option).toLowerCase().includes(inputValue.toLowerCase())\n  );\n}\n\n// src/components/Combobox/Option.tsx\nvar import_jsx_runtime10 = require(\"react/jsx-runtime\");\nvar Option = ({\n  option,\n  isHighlighted,\n  onOptionSelect,\n  optionComponent: OptionComponent,\n  id\n}) => {\n  const optionRef = (0, import_react17.useRef)(null);\n  (0, import_react17.useEffect)(() => {\n    if (isHighlighted && optionRef.current && optionRef.current.scrollIntoView) {\n      optionRef.current.scrollIntoView({ block: \"nearest\" });\n    }\n  }, [isHighlighted]);\n  return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(\n    \"li\",\n    {\n      ref: optionRef,\n      role: \"option\",\n      id,\n      \"aria-selected\": isHighlighted,\n      onMouseDown: () => onOptionSelect(option),\n      className: (0, import_dedupe9.default)(\"mobius-combobox__option\", \"has-pii\", {\n        \"mobius-combobox__option--is-highlighted\": isHighlighted\n      }),\n      children: OptionComponent ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(OptionComponent, { option, isHighlighted }) : getOptionLabel(option)\n    },\n    getOptionValue(option)\n  );\n};\n\n// src/components/Combobox/Listbox.tsx\nvar import_jsx_runtime11 = require(\"react/jsx-runtime\");\nvar Listbox = ({\n  id,\n  isOpen = false,\n  options,\n  highlightedIndex,\n  highlightedGroupIndex,\n  onOptionSelect,\n  optionComponent\n}) => {\n  const classes = (0, import_classnames2.default)(\"mobius-combobox__list\", {\n    \"mobius-combobox__list--hidden\": !isOpen\n  });\n  function getOptionId(option, groupIndex, index) {\n    if (typeof option === \"object\" && \"id\" in option && typeof option.id === \"string\") {\n      return option.id;\n    }\n    return isOptionGroup(options) ? `${id}-option-${groupIndex}-${index}` : `${id}-option-${index}`;\n  }\n  if (!isOpen) {\n    return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(\"div\", { role: \"listbox\", id, className: classes });\n  }\n  if (options && options.length === 0) {\n    return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(\"div\", { role: \"listbox\", id, className: classes, children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(\"div\", { className: \"mobius-combobox__no-options\", children: \"No options\" }) });\n  }\n  return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(\"div\", { role: \"listbox\", id, className: classes, children: isOptionGroup(options) ? options.map((option, groupIndex) => /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(\n    \"ul\",\n    {\n      role: \"group\",\n      \"aria-labelledby\": `${id}-group-${groupIndex}`,\n      className: \"mobius-combobox__group\",\n      children: [\n        /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(\n          \"li\",\n          {\n            role: \"presentation\",\n            id: `${id}-group-${groupIndex}`,\n            className: \"mobius-combobox__group-label\",\n            children: option.heading\n          }\n        ),\n        option.options.map((groupOption, index) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(\n          Option,\n          {\n            option: groupOption,\n            isHighlighted: highlightedIndex === index && highlightedGroupIndex === groupIndex,\n            onOptionSelect,\n            optionComponent,\n            id: getOptionId(groupOption, groupIndex, index)\n          },\n          `${id}-option-${groupIndex}-${index}`\n        ))\n      ]\n    },\n    option.heading\n  )) : typeof options !== \"undefined\" ? options.map((option, index) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(\n    Option,\n    {\n      option,\n      isHighlighted: highlightedIndex === index,\n      onOptionSelect,\n      optionComponent,\n      id: getOptionId(option, 0, index)\n    },\n    index\n  )) : null });\n};\n\n// src/components/Combobox/useComboboxHighlight.tsx\nvar import_react18 = require(\"react\");\nfunction useComboboxHighlight(options) {\n  const [highlightedIndex, setHighlightedIndex] = (0, import_react18.useState)(\n    options && options.length ? 0 : -1\n  );\n  const [highlightedGroupIndex, setHighlightedGroupIndex] = (0, import_react18.useState)(0);\n  function highlightNextOption() {\n    const isGroup = isOptionGroup(options);\n    if (!options) {\n      return;\n    }\n    if (isGroup) {\n      const group = options[highlightedGroupIndex];\n      if (highlightedIndex === group.options.length - 1) {\n        if (highlightedGroupIndex === options.length - 1) {\n          return;\n        }\n        setHighlightedIndex(0);\n        setHighlightedGroupIndex(highlightedGroupIndex + 1);\n      } else {\n        setHighlightedIndex(highlightedIndex + 1);\n      }\n    } else {\n      if (highlightedIndex === options.length - 1) {\n        return;\n      }\n      setHighlightedIndex(highlightedIndex + 1);\n    }\n  }\n  function highlightPreviousOption() {\n    const isGroup = isOptionGroup(options);\n    if (highlightedIndex === 0 && highlightedGroupIndex === 0) {\n      return;\n    }\n    if (isGroup) {\n      if (highlightedIndex === 0) {\n        const prevGroupIndex = highlightedGroupIndex - 1;\n        const prevGroup = options[prevGroupIndex];\n        setHighlightedGroupIndex(prevGroupIndex);\n        setHighlightedIndex(prevGroup.options.length - 1);\n      } else {\n        setHighlightedIndex(highlightedIndex - 1);\n      }\n    } else {\n      setHighlightedIndex(highlightedIndex - 1);\n    }\n  }\n  function highlightFirstOption() {\n    setHighlightedIndex(0);\n    setHighlightedGroupIndex(0);\n  }\n  function highlightLastOption() {\n    const isGroup = isOptionGroup(options);\n    if (!options) {\n      return;\n    }\n    if (isGroup) {\n      const lastGroupIndex = options.length - 1;\n      const lastGroup = options[lastGroupIndex];\n      setHighlightedGroupIndex(lastGroupIndex);\n      setHighlightedIndex(lastGroup.options.length - 1);\n    } else {\n      setHighlightedIndex(options.length - 1);\n    }\n  }\n  const clearHighlight = () => {\n    setHighlightedIndex(\n      typeof options === \"undefined\" || options.length ? 0 : -1\n    );\n    setHighlightedGroupIndex(0);\n  };\n  return {\n    highlightedIndex,\n    highlightedGroupIndex,\n    highlightPreviousOption,\n    highlightNextOption,\n    highlightFirstOption,\n    highlightLastOption,\n    clearHighlight\n  };\n}\n\n// src/components/Combobox/useComboboxOptions.ts\nvar import_react19 = require(\"react\");\nfunction useComboboxOptions({\n  options,\n  asyncOptions,\n  delay = 300,\n  minSearchLength = 3,\n  inputValue = \"\",\n  skipNextDebounceRef,\n  onSearched\n}) {\n  const [filteredOptions, setFilteredOptions] = (0, import_react19.useState)(void 0);\n  const debouncedInputValue = useDebouncedValue(\n    inputValue,\n    // Don't debounce synchronous options\n    options ? 0 : delay\n  );\n  const [isLoading, setIsLoading] = (0, import_react19.useState)(false);\n  const [error3, setError] = (0, import_react19.useState)(null);\n  (0, import_react19.useEffect)(() => {\n    const controller = new AbortController();\n    const { signal } = controller;\n    const fetchOptions = async () => {\n      setIsLoading(true);\n      setError(null);\n      try {\n        if (asyncOptions) {\n          if (debouncedInputValue.length < minSearchLength) {\n            setFilteredOptions(void 0);\n            return;\n          }\n          const result = await asyncOptions(debouncedInputValue, { signal });\n          setFilteredOptions(result);\n          onSearched?.(debouncedInputValue);\n        } else {\n          setFilteredOptions(filterOptions(options, debouncedInputValue));\n        }\n      } catch (e) {\n        if (e instanceof DOMException && e.name === \"AbortError\") {\n          return;\n        }\n        setError(e);\n      } finally {\n        setIsLoading(false);\n      }\n    };\n    if (!skipNextDebounceRef?.current) {\n      void fetchOptions();\n    } else {\n      skipNextDebounceRef.current = false;\n    }\n    return () => {\n      controller.abort();\n    };\n  }, [\n    debouncedInputValue,\n    options,\n    asyncOptions,\n    delay,\n    minSearchLength,\n    skipNextDebounceRef,\n    onSearched\n  ]);\n  function updateFilteredOptions(newOptions) {\n    setIsLoading(true);\n    return newOptions.then(setFilteredOptions).catch(setError).finally(() => setIsLoading(false));\n  }\n  return {\n    filteredOptions,\n    updateFilteredOptions,\n    isLoading,\n    error: error3,\n    isError: error3 != null\n  };\n}\n\n// src/components/Combobox/Combobox.tsx\nvar import_jsx_runtime12 = require(\"react/jsx-runtime\");\nvar ComboboxInner = ({\n  ref,\n  ...props\n}) => {\n  const {\n    id,\n    defaultValue,\n    value,\n    options,\n    asyncOptions,\n    delay,\n    minSearchLength,\n    onSelected,\n    className,\n    placeholder,\n    icon,\n    onBlur,\n    onFocus,\n    onChange,\n    // onSearched, // unused prop, consider removing\n    optionComponent,\n    errorMessage,\n    ...otherProps\n  } = props;\n  const skipNextDebounceRef = (0, import_react20.useRef)(false);\n  const fallbackRef = (0, import_react20.useRef)(null);\n  const [inputValue, setInputValue] = (0, import_react20.useState)(defaultValue || \"\");\n  const [isOpen, setIsOpen] = (0, import_react20.useState)(false);\n  const [isChanging, setIsChanging] = (0, import_react20.useState)(false);\n  const { filteredOptions, updateFilteredOptions, isLoading, error: error3 } = useComboboxOptions({\n    options,\n    asyncOptions,\n    inputValue,\n    delay,\n    minSearchLength,\n    skipNextDebounceRef\n  });\n  const {\n    highlightedIndex,\n    highlightedGroupIndex,\n    highlightNextOption,\n    highlightPreviousOption,\n    highlightFirstOption,\n    highlightLastOption,\n    clearHighlight\n  } = useComboboxHighlight(filteredOptions);\n  const inputRef = ref || fallbackRef;\n  const listboxId = (0, import_react20.useId)();\n  const statusId = (0, import_react20.useId)();\n  const blurTimeoutRef = (0, import_react20.useRef)(null);\n  const userInteractedRef = (0, import_react20.useRef)(false);\n  const justSelectedRef = (0, import_react20.useRef)(false);\n  const { down } = useBreakpoint();\n  const isMobile = down(\"md\");\n  const handleFocus = (e) => {\n    onFocus?.(e);\n    if (!filteredOptions || filteredOptions.length === 0) return;\n    if (blurTimeoutRef.current) {\n      clearTimeout(blurTimeoutRef.current);\n      blurTimeoutRef.current = null;\n    }\n    const isNaturalFocus = userInteractedRef.current || e.relatedTarget !== null;\n    if (userInteractedRef.current) {\n      userInteractedRef.current = false;\n    }\n    if (justSelectedRef.current && !isNaturalFocus) {\n      return;\n    }\n    if (isNaturalFocus) {\n      setIsOpen(true);\n      justSelectedRef.current = false;\n    }\n  };\n  (0, import_react20.useEffect)(() => {\n    if (!inputRef || typeof inputRef === \"function\") return;\n    const inputElement = inputRef.current;\n    if (!inputElement) return;\n    const handleMouseDown = () => {\n      userInteractedRef.current = true;\n    };\n    inputElement.addEventListener(\"mousedown\", handleMouseDown);\n    return () => {\n      inputElement.removeEventListener(\"mousedown\", handleMouseDown);\n    };\n  }, [inputRef]);\n  useOnUnmount(() => {\n    if (blurTimeoutRef.current) {\n      clearTimeout(blurTimeoutRef.current);\n    }\n  });\n  const handleInputChange = (e) => {\n    const newValue = e.target.value;\n    setInputValue(newValue);\n    justSelectedRef.current = false;\n    setIsChanging(true);\n    if (!asyncOptions) {\n      setIsOpen(true);\n    }\n    clearHighlight();\n    onChange?.(e);\n  };\n  const handleOptionSelect = (option) => {\n    const val = getOptionValue(option);\n    if (!val) return;\n    if (typeof option === \"object\" && \"callback\" in option && option.callback && typeof option.callback === \"function\") {\n      setTimeout(() => inputRef.current.focus(), 0);\n      updateFilteredOptions(option.callback());\n      return;\n    }\n    skipNextDebounceRef.current = true;\n    justSelectedRef.current = true;\n    setIsChanging(false);\n    setIsOpen(false);\n    setInputValue(val);\n    onSelected?.(option);\n  };\n  const getFirstOption = () => {\n    if (!filteredOptions) return void 0;\n    if (isOptionGroup(filteredOptions)) {\n      return filteredOptions[0]?.options[0];\n    }\n    return filteredOptions[0];\n  };\n  const getHighlightedOption = () => {\n    if (!filteredOptions) return void 0;\n    if (highlightedIndex === -1) return void 0;\n    if (isOptionGroup(filteredOptions)) {\n      const group = filteredOptions[highlightedGroupIndex];\n      return group?.options[highlightedIndex];\n    }\n    return filteredOptions[highlightedIndex];\n  };\n  const getHighlightedOptionId = () => {\n    const option = getHighlightedOption();\n    if (!option) return void 0;\n    if (isOptionGroup(filteredOptions)) {\n      return `${listboxId}-option-${highlightedGroupIndex}-${highlightedIndex}`;\n    }\n    return `${listboxId}-option-${highlightedIndex}`;\n  };\n  const handleBlur = (e) => {\n    if (!justSelectedRef.current) {\n      const typedText = inputValue.trim().toLowerCase();\n      const highlightedOption = getHighlightedOption();\n      const label = getOptionLabel(highlightedOption);\n      if (typedText === label?.toLowerCase()) {\n        setTimeout(() => {\n          handleOptionSelect(highlightedOption);\n        }, 0);\n      }\n    }\n    blurTimeoutRef.current = setTimeout(() => {\n      onBlur?.(e);\n      setIsOpen(false);\n    }, 150);\n  };\n  const handleKeyDown = (e) => {\n    switch (e.key) {\n      case \"ArrowDown\":\n        e.preventDefault();\n        justSelectedRef.current = false;\n        setIsOpen(true);\n        highlightNextOption();\n        break;\n      case \"ArrowUp\":\n        e.preventDefault();\n        justSelectedRef.current = false;\n        setIsOpen(true);\n        highlightPreviousOption();\n        break;\n      case \"Home\":\n        e.preventDefault();\n        justSelectedRef.current = false;\n        setIsOpen(true);\n        highlightFirstOption();\n        break;\n      case \"End\":\n        e.preventDefault();\n        justSelectedRef.current = false;\n        setIsOpen(true);\n        highlightLastOption();\n        break;\n      case \"Enter\":\n        e.preventDefault();\n        if (isOpen) {\n          const selectedOption = getHighlightedOption() || getFirstOption();\n          if (selectedOption) {\n            handleOptionSelect(selectedOption);\n          }\n        }\n        break;\n      case \"Escape\":\n        e.preventDefault();\n        setInputValue(\"\");\n        setIsOpen(false);\n        clearHighlight();\n        break;\n      default:\n    }\n  };\n  (0, import_react20.useEffect)(() => {\n    if (value) {\n      setInputValue(value);\n    }\n  }, [value]);\n  (0, import_react20.useEffect)(() => {\n    if (asyncOptions && isChanging) {\n      setIsOpen(!!filteredOptions && filteredOptions.length > 0);\n    }\n  }, [filteredOptions, asyncOptions, isChanging]);\n  const classes = (0, import_dedupe10.default)(\n    \"mobius mobius-combobox\",\n    {\n      \"mobius-combobox--is-expanded\": isOpen,\n      \"mobius-combobox--is-loading\": isLoading,\n      \"mobius-combobox--is-mobile\": isMobile\n    },\n    className\n  );\n  const getStatusMessage = () => {\n    if (isLoading) return \"Loading options\";\n    if (!filteredOptions || filteredOptions.length === 0) {\n      return isChanging ? \"No options found\" : \"\";\n    }\n    const count = isOptionGroup(filteredOptions) ? filteredOptions.reduce((sum, group) => sum + group.options.length, 0) : filteredOptions.length;\n    return isOpen && isChanging ? `${count} option${count === 1 ? \"\" : \"s\"} available` : \"\";\n  };\n  return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(\"div\", { id, \"data-testid\": \"mobius-combobox__wrapper\", className: classes, children: [\n    /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(\n      VisuallyHidden,\n      {\n        role: \"status\",\n        \"aria-live\": \"polite\",\n        id: statusId,\n        elementType: \"div\",\n        className: \"mobius-combobox__status\",\n        children: getStatusMessage()\n      }\n    ),\n    /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(\n      TextField,\n      {\n        ...otherProps,\n        className: \"mobius-combobox__input\",\n        role: \"combobox\",\n        value: inputValue,\n        placeholder,\n        onFocus: handleFocus,\n        onBlur: handleBlur,\n        onKeyDown: handleKeyDown,\n        onChange: handleInputChange,\n        autoComplete: \"off\",\n        \"aria-describedby\": isLoading ? statusId : void 0,\n        \"aria-autocomplete\": \"list\",\n        \"aria-haspopup\": \"listbox\",\n        \"aria-owns\": listboxId,\n        \"aria-controls\": listboxId,\n        \"aria-expanded\": isOpen,\n        \"aria-activedescendant\": highlightedIndex === -1 ? void 0 : getHighlightedOptionId(),\n        prefixInside: icon,\n        ref: inputRef,\n        errorMessage: errorMessage || error3?.message || void 0\n      }\n    ),\n    /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(\n      Listbox,\n      {\n        id: listboxId,\n        isOpen,\n        isLoading,\n        options: filteredOptions,\n        highlightedIndex,\n        highlightedGroupIndex,\n        onOptionSelect: handleOptionSelect,\n        optionComponent\n      }\n    )\n  ] });\n};\nvar Combobox = ComboboxInner;\n\n// src/components/AddressLookup/utils.ts\nfunction isLoqateErrorResponse(response) {\n  return Array.isArray(response) && response.some((item) => \"Error\" in item);\n}\n\n// src/components/AddressLookup/AddressLookup.tsx\nvar import_jsx_runtime13 = require(\"react/jsx-runtime\");\nfunction optionsFromResponse({ Items }, addressLookupService) {\n  if (!Items || !Array.isArray(Items)) {\n    throw Error(\"No address found\");\n  }\n  if (isLoqateErrorResponse(Items)) {\n    throw Error(Items[0].Description);\n  }\n  return Items.map((item) => ({\n    id: item.Id,\n    label: `${item.Text}, ${item.Description}`,\n    value: item.Text,\n    // Add a callback to trigger secondary search\n    // if the address type is not \"Address\"\n    callback: item.Type === \"Address\" ? void 0 : async () => {\n      const result = await addressLookupService.findById(item.Id);\n      return optionsFromResponse(result, addressLookupService);\n    }\n  }));\n}\nvar AddressLookup = ({\n  ref,\n  addressLookupService,\n  onAddressSelected,\n  onOptionsDisplayed,\n  onError,\n  errorMessage,\n  ...otherProps\n}) => {\n  const [error3, _setError] = (0, import_react21.useState)(null);\n  const setError = (0, import_react21.useCallback)(\n    (newError) => {\n      if (newError != null) onError?.(newError);\n      _setError(newError);\n    },\n    [onError]\n  );\n  const asyncOptions = (0, import_react21.useCallback)(\n    async (searchTerm) => {\n      try {\n        const response = await addressLookupService.search(searchTerm);\n        setError(null);\n        const options = optionsFromResponse(response, addressLookupService);\n        onOptionsDisplayed?.();\n        return options;\n      } catch (e) {\n        setError(e);\n        return [];\n      }\n    },\n    [addressLookupService, setError, onOptionsDisplayed]\n  );\n  const handleSelected = (selected) => {\n    setError(null);\n    return addressLookupService.get(selected.id).then(onAddressSelected).catch(setError);\n  };\n  const realErrorMessage = error3 && \"An error occurred\" || errorMessage;\n  return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(\n    Combobox,\n    {\n      ...otherProps,\n      ref,\n      onSelected: handleSelected,\n      asyncOptions,\n      errorMessage: realErrorMessage,\n      icon: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Icon, { icon: import_icons3.search })\n    }\n  );\n};\nAddressLookup.displayName = \"AddressLookup\";\n\n// src/components/AddressLookup/LoqateAddressLookupError.tsx\nvar LoqateAddressLookupError = class extends Error {\n  constructor(response) {\n    super(response.Description);\n    this.name = \"LoqateAddressLookupError\";\n    this.response = response;\n  }\n};\n\n// src/components/AddressLookup/LoqateAddressLookupService.tsx\nvar LOQATE_BASE_URL = \"https://api.addressy.com/Capture/Interactive\";\nvar LOQATE_FIND_URL = \"/Find/v1.00/json3.ws\";\nvar LOQATE_RETRIEVE_URL = \"/Retrieve/v1.2/json3.ws\";\nvar DEFAULT_COUNTRIES = [\"GB\"];\nvar LoqateAddressLookupService = class {\n  /**\n   * Base URL for the Loqate API\n   */\n  #baseUrl;\n  /**\n   * API key for the Loqate API\n   */\n  #apiKey;\n  /**\n   * List of allowed country codes for the Loqate API\n   * 2 or 3 character ISO country codes\n   */\n  #countries;\n  /**\n   * Optional filters for the Loqate API\n   * E.g., { AdministrativeArea: \"CA\", PostalCode: \"90210\" }\n   */\n  #filters;\n  constructor({\n    baseUrl,\n    apiKey,\n    countries,\n    filters\n  }) {\n    this.#apiKey = apiKey;\n    this.#baseUrl = baseUrl || LOQATE_BASE_URL;\n    this.#countries = countries || DEFAULT_COUNTRIES;\n    this.#filters = filters;\n  }\n  fetchFromApi(url) {\n    return fetch(`${this.#baseUrl}${url}`).then((response) => response.json()).then((json) => {\n      if (json.Items?.some((item) => item.Error)) {\n        throw new LoqateAddressLookupError(json);\n      }\n      return json;\n    });\n  }\n  /**\n   * Builds the Filters query parameter for Loqate API requests.\n   * - Filter keys (e.g., \"AdministrativeArea\", \"PostalCode\") are predefined by Loqate API (no need to encode)\n   * - Filter values (e.g., \"New York\", \"90210\") contain user input that may have special characters (need encoding)\n   *\n   * @returns Empty string if no filters, otherwise \"&Filters=key1:value1&key2:value2\" (Loqate's expected format for Filters)\n   */\n  buildFiltersQuery() {\n    if (!this.#filters || Object.keys(this.#filters).length === 0) {\n      return \"\";\n    }\n    const encodedFilters = Object.entries(this.#filters).map(([key, value]) => `${key}:${encodeURIComponent(value)}`).join(\"&\");\n    return `&Filters=${encodedFilters}`;\n  }\n  search(searchTerm) {\n    let url = `${LOQATE_FIND_URL}?Key=${this.#apiKey}&Text=${searchTerm}&Countries=${this.#countries?.join(\",\")}`;\n    url += this.buildFiltersQuery();\n    return this.fetchFromApi(url);\n  }\n  findById(id) {\n    let url = `${LOQATE_FIND_URL}?Key=${this.#apiKey}&Container=${id}&Countries=${this.#countries?.join(\",\")}`;\n    url += this.buildFiltersQuery();\n    return this.fetchFromApi(url);\n  }\n  async get(id) {\n    const url = `${LOQATE_RETRIEVE_URL}?Key=${this.#apiKey}&Id=${id}`;\n    const response = await this.fetchFromApi(url);\n    return response.Items[0];\n  }\n};\n\n// src/components/Alert/Alert.tsx\nvar import_icons4 = require(\"@simplybusiness/icons\");\nvar import_dedupe11 = __toESM(require(\"classnames/dedupe\"));\nvar import_jsx_runtime14 = require(\"react/jsx-runtime\");\nfunction isAlertVariant(value) {\n  return value === \"info\" || value === \"success\" || value === \"warning\" || value === \"error\";\n}\nvar Alert = ({ ref, ...props }) => {\n  const {\n    elementType: Element = \"div\",\n    variant: variantProp,\n    show = true,\n    header,\n    children,\n    ...otherProps\n  } = props;\n  if (!show) return null;\n  const variant = variantProp && isAlertVariant(variantProp) ? variantProp : \"info\";\n  const colorValue = variant === \"success\" ? `var(--color-valid)` : `var(--color-${variant})`;\n  const classes = (0, import_dedupe11.default)(\n    \"mobius\",\n    \"mobius-alert\",\n    {\n      \"--info\": variant === \"info\",\n      \"--success\": variant === \"success\",\n      \"--warning\": variant === \"warning\",\n      \"--error\": variant === \"error\",\n      \"--has-header\": header\n    },\n    otherProps.className\n  );\n  const icon = {\n    info: import_icons4.circleInfo,\n    success: import_icons4.circleTick,\n    warning: import_icons4.warning,\n    error: import_icons4.error\n  };\n  const headerClasses = (0, import_dedupe11.default)(\"mobius\", \"mobius-alert__header\");\n  const iconClasses = (0, import_dedupe11.default)(\"mobius\", \"mobius-alert__icon\");\n  const contentClasses = (0, import_dedupe11.default)(\"mobius\", \"mobius-alert__content\");\n  return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(Element, { ref, role: \"alert\", ...otherProps, className: classes, children: [\n    /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(\"span\", { className: iconClasses, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Icon, { icon: icon[variant], color: colorValue }) }),\n    /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(\"div\", { children: [\n      header && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(\"p\", { className: headerClasses, children: header }),\n      /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(\"div\", { className: contentClasses, children })\n    ] })\n  ] });\n};\nAlert.displayName = \"Alert\";\n\n// src/components/Box/Box.tsx\nvar import_dedupe12 = __toESM(require(\"classnames/dedupe\"));\nvar import_jsx_runtime15 = require(\"react/jsx-runtime\");\nvar Box = ({ ref, ...props }) => {\n  const {\n    elementType: Element = \"div\",\n    padding,\n    paddingX,\n    paddingInline,\n    paddingInlineStart,\n    paddingInlineEnd,\n    paddingY,\n    paddingBlock,\n    paddingBlockStart,\n    paddingBlockEnd,\n    paddingTop,\n    paddingRight,\n    paddingBottom,\n    paddingLeft,\n    minWidth,\n    minHeight,\n    maxWidth,\n    maxHeight,\n    width,\n    height,\n    style,\n    ...otherProps\n  } = props;\n  const classes = (0, import_dedupe12.default)(\"mobius\", \"mobius-box\", otherProps.className);\n  const styleProps = filterUndefinedProps({\n    padding: getSpacingValue(padding),\n    paddingInline: getSpacingValue(paddingInline || paddingX),\n    paddingBlock: getSpacingValue(paddingBlock || paddingY),\n    paddingTop: getSpacingValue(paddingTop || paddingBlockStart),\n    paddingRight: getSpacingValue(paddingRight || paddingInlineEnd),\n    paddingBottom: getSpacingValue(paddingBottom || paddingBlockEnd),\n    paddingLeft: getSpacingValue(paddingLeft || paddingInlineStart),\n    minWidth,\n    minHeight,\n    maxWidth,\n    maxHeight,\n    width,\n    height,\n    ...style\n  });\n  return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Element, { ref, style: styleProps, ...otherProps, className: classes });\n};\nBox.displayName = \"Box\";\n\n// src/components/Breadcrumbs/Breadcrumbs.tsx\nvar import_react22 = require(\"react\");\nvar import_dedupe13 = __toESM(require(\"classnames/dedupe\"));\nvar import_jsx_runtime16 = require(\"react/jsx-runtime\");\nvar Breadcrumbs = ({ ref, ...props }) => {\n  const { \"aria-label\": ariaLabel = \"Breadcrumbs\" } = props;\n  const { navProps } = { navProps: { \"aria-label\": ariaLabel } };\n  const { children, ...otherProps } = props;\n  const childArray = import_react22.Children.toArray(children);\n  const classes = (0, import_dedupe13.default)(\n    \"mobius\",\n    \"mobius-breadcrumb\",\n    otherProps.className\n  );\n  return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(\"nav\", { ref, ...otherProps, ...navProps, className: classes, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(\"ul\", { children: childArray.map(\n    (child, i) => (0, import_react22.cloneElement)(\n      child,\n      {\n        key: i,\n        isCurrent: i === childArray.length - 1\n      }\n    )\n  ) }) });\n};\nBreadcrumbs.displayName = \"Breadcrumbs\";\n\n// src/components/Breadcrumbs/BreadcrumbItem.tsx\nvar import_react23 = require(\"react\");\nvar import_dedupe14 = __toESM(require(\"classnames/dedupe\"));\nvar import_jsx_runtime17 = require(\"react/jsx-runtime\");\nvar BreadcrumbItem = ({ ref, ...props }) => {\n  const {\n    isDisabled = false,\n    isCurrent = false,\n    \"aria-current\": ariaCurrent = \"page\",\n    children,\n    separator = /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Box, { className: \"mobius-breadcrumb__separator\", \"aria-hidden\": \"true\", children: \">\" }),\n    ...otherProps\n  } = props;\n  const { itemProps } = {\n    itemProps: {\n      \"aria-current\": isCurrent ? ariaCurrent : void 0,\n      \"aria-disabled\": isDisabled || isCurrent,\n      ...otherProps\n    }\n  };\n  const classes = (0, import_dedupe14.default)(\n    \"mobius\",\n    \"mobius-breadcrumb__item\",\n    props.className\n  );\n  const child = typeof children === \"string\" ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(\"span\", { ...itemProps, children }) : import_react23.Children.only(children);\n  return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(\"li\", { className: classes, children: [\n    (0, import_react23.cloneElement)(child, {\n      ...child.props,\n      ...itemProps,\n      ref\n    }),\n    !props.isCurrent && separator\n  ] });\n};\nBreadcrumbItem.displayName = \"BreadcrumbItem\";\n\n// src/components/Button/Button.tsx\nvar import_dedupe15 = __toESM(require(\"classnames/dedupe\"));\n\n// src/components/Button/Loading.tsx\nvar import_icons5 = require(\"@simplybusiness/icons\");\nvar import_jsx_runtime18 = require(\"react/jsx-runtime\");\nvar Loading = (props) => {\n  const { children } = props;\n  return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_jsx_runtime18.Fragment, { children: [\n    /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(\"div\", { className: \"mobius-button__icon-wrapper\", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Icon, { icon: import_icons5.loading, spin: true, size: \"md\" }) }),\n    /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(VisuallyHidden, { className: \"mobius-button__loading-text\", children: \"Loading\" }),\n    children\n  ] });\n};\n\n// src/components/Button/Success.tsx\nvar import_icons6 = require(\"@simplybusiness/icons\");\nvar import_jsx_runtime19 = require(\"react/jsx-runtime\");\nvar Success = () => /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_jsx_runtime19.Fragment, { children: [\n  /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(\"div\", { className: \"mobius-button__icon-wrapper\", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Icon, { icon: import_icons6.tick, size: \"md\" }) }),\n  /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(VisuallyHidden, { className: \"mobius-button__success-text\", children: \"Success\" })\n] });\n\n// src/components/Button/Button.tsx\nvar import_jsx_runtime20 = (\n  // @ts-expect-error - ref type is not correct\n  require(\"react/jsx-runtime\")\n);\nvar Button = ({ ref, ...props }) => {\n  const {\n    children,\n    elementType: Component = \"button\",\n    isDisabled,\n    isLoading,\n    isSuccess,\n    variant = \"primary\",\n    size = \"md\",\n    onPress,\n    onClick,\n    ...otherProps\n  } = props;\n  const { buttonProps } = useButton(props);\n  useDeprecationWarning({\n    \"variant 'inverse'\": variant === \"inverse\",\n    \"variant 'inverse-ghost'\": variant === \"inverse-ghost\"\n  });\n  const getVariant = (type) => {\n    if (type === \"inverse\") {\n      return \"basic\";\n    }\n    if (type === \"inverse-ghost\") {\n      return \"secondary\";\n    }\n    return variant;\n  };\n  const buttonVariant = getVariant(variant);\n  const classes = (0, import_dedupe15.default)(\n    \"mobius\",\n    \"mobius-button\",\n    `--variant-${buttonVariant}`,\n    `--size-${size}`,\n    {\n      \"--is-disabled\": isDisabled,\n      \"--is-loading\": isLoading,\n      \"--is-success\": isSuccess && !isLoading\n    },\n    otherProps.className\n  );\n  otherProps.className = classes;\n  return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(Component, { ref, ...buttonProps, ...otherProps, children: [\n    isLoading ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Loading, { children }) : children,\n    isSuccess && !isLoading && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Success, {})\n  ] });\n};\nButton.displayName = \"Button\";\n\n// src/components/Checkbox/Checkbox.tsx\nvar import_react24 = require(\"react\");\nvar import_dedupe16 = __toESM(require(\"classnames/dedupe\"));\nvar import_icons7 = require(\"@simplybusiness/icons\");\nvar import_jsx_runtime21 = require(\"react/jsx-runtime\");\nvar Checkbox = ({ ref, ...props }) => {\n  const {\n    id,\n    label,\n    isDisabled,\n    isRequired,\n    validationState,\n    isInvalid,\n    onChange,\n    className,\n    errorMessage,\n    selected,\n    defaultSelected = false,\n    isReadOnly,\n    isLastItem,\n    name,\n    value,\n    [\"aria-describedby\"]: ariaDescribedBy,\n    ...rest\n  } = props;\n  const [checked, setChecked] = (0, import_react24.useState)(defaultSelected);\n  const fallbackRef = (0, import_react24.useRef)(null);\n  const refObj = ref || fallbackRef;\n  const inputId = (0, import_react24.useId)();\n  const isControlled = typeof selected === \"boolean\";\n  (0, import_react24.useEffect)(() => {\n    if (isControlled) {\n      setChecked(selected);\n    }\n  }, [selected, isControlled]);\n  const validationClasses = useValidationClasses({\n    validationState,\n    isInvalid\n  });\n  const sharedClasses = (0, import_dedupe16.default)(\n    {\n      \"--is-disabled\": isDisabled,\n      \"--is-selected\": checked,\n      \"--is-required\": typeof isRequired === \"boolean\" && isRequired,\n      \"--is-optional\": typeof isRequired === \"boolean\" && !isRequired\n    },\n    validationClasses\n  );\n  const wrapperClasses = (0, import_dedupe16.default)(\n    \"mobius\",\n    \"mobius-checkbox\",\n    sharedClasses,\n    className\n  );\n  const labelClasses = (0, import_dedupe16.default)(\"mobius-checkbox__label\", sharedClasses);\n  const inputClasses = (0, import_dedupe16.default)(\"mobius-checkbox__input\", sharedClasses);\n  const iconClasses = (0, import_dedupe16.default)(\"mobius-checkbox__icon\", sharedClasses);\n  const errorMessageId = (0, import_react24.useId)();\n  const shouldErrorMessageShow = errorMessage ? errorMessageId : void 0;\n  const describedBy = spaceDelimitedList([\n    shouldErrorMessageShow,\n    ariaDescribedBy\n  ]);\n  const labelId = (0, import_react24.useId)();\n  const handleChange = (event) => {\n    setChecked(!checked);\n    if (onChange) {\n      onChange(event, isLastItem);\n    }\n  };\n  return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(Stack, { gap: \"xs\", className: wrapperClasses, children: [\n    /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(\"label\", { className: labelClasses, children: [\n      /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(\n        \"input\",\n        {\n          \"aria-describedby\": describedBy,\n          \"aria-errormessage\": shouldErrorMessageShow,\n          \"aria-invalid\": isInvalid,\n          \"aria-labelledby\": labelId,\n          readOnly: isReadOnly,\n          disabled: isDisabled,\n          ref: refObj,\n          className: inputClasses,\n          onChange: handleChange,\n          type: \"checkbox\",\n          checked,\n          required: isRequired,\n          id: id || inputId,\n          name,\n          value,\n          ...rest\n        }\n      ),\n      /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(\n        Icon,\n        {\n          icon: checked ? import_icons7.squareTick : import_icons7.square,\n          size: \"md\",\n          className: iconClasses\n        }\n      ),\n      /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(\"span\", { id: labelId, className: \"mobius-checkbox__visible-label\", children: label })\n    ] }),\n    /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(ErrorMessage, { id: errorMessageId, errorMessage })\n  ] });\n};\nCheckbox.displayName = \"Checkbox\";\n\n// src/components/Checkbox/CheckboxGroup.tsx\nvar import_dedupe17 = __toESM(require(\"classnames/dedupe\"));\nvar import_react25 = require(\"react\");\nvar import_jsx_runtime22 = require(\"react/jsx-runtime\");\nvar CheckboxGroup = ({ ref, ...props }) => {\n  const {\n    label,\n    isDisabled = false,\n    isRequired,\n    validationState,\n    isInvalid,\n    orientation = \"vertical\",\n    onChange,\n    className,\n    errorMessage,\n    children,\n    defaultValue = [],\n    isReadOnly,\n    itemsPerRow,\n    lastItemDisables = false,\n    ...rest\n  } = props;\n  const [selected, setSelected] = (0, import_react25.useState)(defaultValue);\n  const isInitializedRef = (0, import_react25.useRef)(false);\n  const prevDefaultValueRef = (0, import_react25.useRef)(defaultValue);\n  (0, import_react25.useEffect)(() => {\n    const hasChanged = defaultValue.length !== prevDefaultValueRef.current.length || defaultValue.some(\n      (val, index) => val !== prevDefaultValueRef.current[index]\n    );\n    if (hasChanged || !isInitializedRef.current) {\n      setSelected(defaultValue);\n      prevDefaultValueRef.current = defaultValue;\n      isInitializedRef.current = true;\n    }\n  }, [defaultValue]);\n  const checkboxGroupClasses = (0, import_dedupe17.default)(\n    \"mobius\",\n    \"mobius-checkbox-group\",\n    className,\n    {\n      \"--is-horizontal\": orientation === \"horizontal\",\n      \"--is-vertical\": orientation === \"vertical\",\n      \"--is-required\": typeof isRequired === \"boolean\" && isRequired,\n      \"--is-optional\": typeof isRequired === \"boolean\" && !isRequired\n    }\n  );\n  const validationClasses = useValidationClasses({\n    validationState,\n    isInvalid\n  });\n  const labelClasses = (0, import_dedupe17.default)(\n    {\n      \"--is-disabled\": isDisabled\n    },\n    validationClasses\n  );\n  const errorMessageId = (0, import_react25.useId)();\n  const shouldErrorMessageShow = errorMessage ? errorMessageId : void 0;\n  const describedBy = spaceDelimitedList([\n    shouldErrorMessageShow,\n    props[\"aria-describedby\"]\n  ]);\n  const labelId = (0, import_react25.useId)();\n  const handleChange = (event, isLastItem = false) => {\n    const {\n      target: { value, checked }\n    } = event;\n    let newValue = [...selected];\n    if (!checked) {\n      newValue = selected.filter((item) => item !== value);\n    }\n    if (checked) {\n      newValue = [...selected, value];\n    }\n    if (checked && lastItemDisables && isLastItem) {\n      newValue = [value];\n    }\n    setSelected(newValue);\n    onChange?.(newValue);\n  };\n  const childrenArray = import_react25.Children.toArray(children);\n  const lastCheckbox = childrenArray.filter(\n    (child) => (0, import_react25.isValidElement)(child) && child.type === Checkbox\n  ).pop();\n  const lastCheckboxIsChecked = lastCheckbox && selected.includes(lastCheckbox.props.value);\n  return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(\n    \"div\",\n    {\n      ...rest,\n      \"aria-labelledby\": props[\"aria-labelledby\"] || labelId,\n      ref,\n      className: checkboxGroupClasses,\n      role: \"group\",\n      style: {\n        \"--checkbox-items-per-row\": itemsPerRow || import_react25.Children.count(children)\n      },\n      children: [\n        label && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Label, { elementType: \"span\", id: labelId, className: labelClasses, children: label }),\n        /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(\"div\", { className: \"mobius-checkbox-group__wrapper\", children: childrenArray.map((child) => {\n          if ((0, import_react25.isValidElement)(child)) {\n            const isLastItem = child === lastCheckbox;\n            const isChildDisabled = isDisabled || lastItemDisables && lastCheckboxIsChecked && !isLastItem;\n            const childProps = child.props;\n            return (0, import_react25.cloneElement)(\n              child,\n              {\n                isDisabled: isChildDisabled,\n                isRequired,\n                isReadOnly,\n                isInvalid,\n                isLastItem,\n                selected: selected.includes(childProps.value),\n                onChange: childProps.onChange || handleChange,\n                \"aria-describedby\": describedBy\n              }\n            );\n          }\n          return child;\n        }) }),\n        errorMessage && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(ErrorMessage, { id: errorMessageId, errorMessage })\n      ]\n    }\n  );\n};\nCheckboxGroup.displayName = \"CheckboxGroup\";\n\n// src/components/Container/Container.tsx\nvar import_dedupe18 = __toESM(require(\"classnames/dedupe\"));\nvar import_jsx_runtime23 = require(\"react/jsx-runtime\");\nvar Container = ({ ref, ...props }) => {\n  const { elementType: Element = \"div\", size = \"md\", ...otherProps } = props;\n  const classes = (0, import_dedupe18.default)(\n    \"mobius\",\n    \"mobius-container\",\n    sizeClasses(size),\n    otherProps.className\n  );\n  return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Element, { ref, ...otherProps, className: classes });\n};\nContainer.displayName = \"Container\";\n\n// src/components/DateField/DateField.tsx\nvar import_dedupe19 = __toESM(require(\"classnames/dedupe\"));\nvar import_react26 = require(\"react\");\n\n// src/components/DateField/validation.ts\nvar convertToDateFormat = (date, format) => {\n  const dateParts = date.split(/[-/]/);\n  const formatParts = format ? format.split(/[-/]/) : [\"yyyy\", \"mm\", \"dd\"];\n  const dateObj = {};\n  const formattedDate = [];\n  for (let i = 0; i < formatParts.length; i++) {\n    dateObj[formatParts[i]] = dateParts[i] ? parseInt(dateParts[i], 10) : 0;\n  }\n  formattedDate.push(dateObj[\"yyyy\"]?.toString() || \"0000\");\n  formattedDate.push(\n    (dateObj[\"mm\"] < 10 ? \"0\" : \"\") + (dateObj[\"mm\"]?.toString() || \"00\")\n  );\n  formattedDate.push(\n    (dateObj[\"dd\"] < 10 ? \"0\" : \"\") + (dateObj[\"dd\"]?.toString() || \"00\")\n  );\n  return formattedDate.join(\"-\");\n};\nvar isValidDate = (date, format = \"yyyy-mm-dd\") => {\n  if (!date) return true;\n  const standardDate = convertToDateFormat(date, format);\n  const [yearStr, monthStr, dayStr] = standardDate.split(\"-\");\n  const year = parseInt(yearStr, 10);\n  const month = parseInt(monthStr, 10);\n  const day = parseInt(dayStr, 10);\n  if (month < 1 || month > 12) {\n    return false;\n  }\n  const daysInMonth = new Date(year, month, 0).getDate();\n  return day > 0 && day <= daysInMonth;\n};\n\n// src/components/DateField/DateField.tsx\nvar import_jsx_runtime24 = require(\"react/jsx-runtime\");\nvar MIN_MAX_ERROR = '\"min\" value should not be greater than \"max\" value.';\nvar DateField = ({ ref, ...props }) => {\n  const {\n    min,\n    max,\n    format,\n    className,\n    errorMessage,\n    defaultValue,\n    value,\n    ...otherProps\n  } = props;\n  const [error3, setError] = (0, import_react26.useState)(errorMessage);\n  const [isInvalid, setIsInvalid] = (0, import_react26.useState)(void 0);\n  const localRef = (0, import_react26.useRef)(null);\n  const classes = (0, import_dedupe19.default)(\"mobius-date-field\", className);\n  const formattedMin = min ? convertToDateFormat(min, format) : void 0;\n  const formattedMax = max ? convertToDateFormat(max, format) : void 0;\n  const formattedDefaultValue = defaultValue ? convertToDateFormat(defaultValue, format) : void 0;\n  const formattedValue = value ? convertToDateFormat(value, format) : void 0;\n  const setInvalidState = (error4) => {\n    setError(error4);\n    setIsInvalid(true);\n  };\n  const setValidState = () => {\n    setError(props.errorMessage);\n    setIsInvalid(false);\n  };\n  (0, import_react26.useEffect)(() => {\n    if (!isValidDate(min, format)) {\n      setInvalidState(`Invalid min date: ${min}`);\n      return;\n    }\n    if (!isValidDate(max, format)) {\n      setInvalidState(`Invalid max date: ${max}`);\n      return;\n    }\n    if (min && max) {\n      const minDate = new Date(min);\n      const maxDate = new Date(max);\n      if (minDate > maxDate) {\n        setInvalidState(MIN_MAX_ERROR);\n      } else {\n        setValidState();\n      }\n    } else {\n      setValidState();\n    }\n  }, [min, max, format]);\n  const validate = () => {\n    const isValidInput = localRef.current?.checkValidity();\n    if (!isValidInput) {\n      setInvalidState(\"Invalid date input\");\n    } else {\n      setValidState();\n    }\n  };\n  const handleBlur = (event) => {\n    validate();\n    otherProps.onBlur?.(event);\n  };\n  return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(\n    TextField,\n    {\n      ref: mergeRefs([localRef, ref]),\n      className: classes,\n      type: \"date\",\n      min: formattedMin,\n      max: formattedMax,\n      errorMessage: errorMessage ?? error3,\n      isInvalid,\n      defaultValue: formattedDefaultValue,\n      value: formattedValue,\n      onBlur: handleBlur,\n      ...otherProps\n    }\n  );\n};\nDateField.displayName = \"DateField\";\n\n// src/components/Divider/Divider.tsx\nvar import_dedupe20 = __toESM(require(\"classnames/dedupe\"));\nvar import_jsx_runtime25 = require(\"react/jsx-runtime\");\nvar Divider = ({\n  \"aria-orientation\": ariaOrientation = \"horizontal\",\n  className,\n  ...rest\n}) => {\n  const classes = (0, import_dedupe20.default)(\"mobius\", \"mobius-divider\", className);\n  return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(\n    \"div\",\n    {\n      className: classes,\n      role: \"separator\",\n      \"aria-orientation\": ariaOrientation,\n      ...rest,\n      children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(\"div\", { className: \"mobius-divider__inner\" })\n    }\n  );\n};\nDivider.displayName = \"Divider\";\n\n// src/components/Drawer/Content.tsx\nvar import_jsx_runtime26 = require(\"react/jsx-runtime\");\nvar Content = ({ ref, children, ...otherProps }) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(\"div\", { ref, ...otherProps, className: \"mobius-drawer__content\", children });\nContent.displayName = \"Content\";\n\n// src/components/Drawer/Drawer.tsx\nvar import_dedupe21 = __toESM(require(\"classnames/dedupe\"));\nvar import_react28 = require(\"react\");\n\n// src/components/Drawer/DrawerContext.tsx\nvar import_react27 = require(\"react\");\nvar DrawerContext = (0, import_react27.createContext)({\n  onClose: () => {\n  },\n  closeLabel: void 0,\n  headerId: void 0\n});\n\n// src/components/Drawer/Drawer.tsx\nvar import_jsx_runtime27 = require(\"react/jsx-runtime\");\nvar TRANSITION_CSS_VARIABLE = \"--drawer-transition-duration\";\nvar Drawer = ({ ref, ...props }) => {\n  const {\n    isOpen,\n    className,\n    closeLabel,\n    direction,\n    announce = \"Drawer opened on screen\",\n    onOpen,\n    onClose,\n    children\n  } = props;\n  const dialogRef = (0, import_react28.useRef)(null);\n  const [shouldTransition, setShouldTransition] = (0, import_react28.useState)(false);\n  const { close } = useDialog({\n    ref: dialogRef,\n    isOpen,\n    onOpen,\n    onClose,\n    transition: {\n      isEnabled: true,\n      CSSVariable: TRANSITION_CSS_VARIABLE\n    }\n  });\n  const hiddenId = `dialog-screen-reader-announce-${(0, import_react28.useId)()}`;\n  const headerId = `dialog-header-${(0, import_react28.useId)()}`;\n  const dialogClasses = (0, import_dedupe21.default)(\n    \"mobius\",\n    \"mobius-drawer\",\n    `--${direction}`,\n    className,\n    {\n      \"--should-transition\": shouldTransition\n    }\n  );\n  (0, import_react28.useEffect)(() => {\n    setShouldTransition(supportsDialog());\n  }, []);\n  const contextValue = (0, import_react28.useMemo)(\n    () => ({\n      onClose: close,\n      closeLabel,\n      headerId\n    }),\n    [close, closeLabel, headerId]\n  );\n  return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(\n    \"dialog\",\n    {\n      id: (0, import_react28.useId)(),\n      ref: mergeRefs([dialogRef, ref]),\n      onCancel: close,\n      className: dialogClasses,\n      \"aria-describedby\": hiddenId,\n      \"aria-labelledby\": headerId,\n      children: [\n        /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(VisuallyHidden, { children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(\"div\", { id: hiddenId, children: announce }) }),\n        /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(DrawerContext.Provider, { value: contextValue, children })\n      ]\n    }\n  );\n};\nDrawer.displayName = \"Drawer\";\n\n// src/components/Drawer/useDrawer.ts\nvar import_react29 = require(\"react\");\nvar useDrawer = () => {\n  const { onClose, closeLabel, headerId } = (0, import_react29.useContext)(DrawerContext);\n  return { onClose, closeLabel, headerId };\n};\n\n// src/components/Drawer/Header.tsx\nvar import_icons8 = require(\"@simplybusiness/icons\");\nvar import_jsx_runtime28 = require(\"react/jsx-runtime\");\nvar Header = ({ ref, children, ...otherProps }) => {\n  const { onClose, closeLabel, headerId } = useDrawer();\n  return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(\"header\", { ref, ...otherProps, className: \"mobius-drawer__header\", children: [\n    /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(\"h2\", { id: headerId, children }),\n    /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(\n      Button,\n      {\n        \"aria-label\": \"Close\",\n        variant: \"basic\",\n        onPress: onClose,\n        className: \"mobius-drawer__close\",\n        size: \"sm\",\n        children: [\n          /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Icon, { icon: import_icons8.cross }),\n          \" \",\n          closeLabel\n        ]\n      }\n    )\n  ] });\n};\nHeader.displayName = \"Header\";\n\n// src/components/Drawer/index.tsx\nvar Drawer2 = Object.assign(Drawer, {\n  Header,\n  Content\n});\nDrawer2.displayName = \"Drawer\";\n\n// src/components/DropdownMenu/DropdownMenu.tsx\nvar import_react30 = require(\"react\");\nvar import_react_accessible_dropdown_menu_hook = __toESM(require(\"react-accessible-dropdown-menu-hook\"));\nvar import_dedupe22 = __toESM(require(\"classnames/dedupe\"));\nvar import_jsx_runtime29 = require(\"react/jsx-runtime\");\nvar DropdownMenu = ({ ref, ...props }) => {\n  const {\n    elementType: Element = \"nav\",\n    trigger,\n    label = \"Menu\",\n    children,\n    ...otherProps\n  } = props;\n  const [activeId, setActiveId] = (0, import_react30.useState)(null);\n  const numberOfItems = import_react30.Children.count(children);\n  const {\n    buttonProps,\n    itemProps,\n    isOpen: open,\n    setIsOpen\n  } = (0, import_react_accessible_dropdown_menu_hook.default)(numberOfItems);\n  const classes = (0, import_dedupe22.default)(\n    \"mobius\",\n    \"mobius-dropdown-menu\",\n    otherProps.className\n  );\n  const triggerClasses = (0, import_dedupe22.default)(\"mobius\", \"mobius-dropdown-menu__trigger\");\n  const listClasses = (0, import_dedupe22.default)(\"mobius\", \"mobius-dropdown-menu__list\", {\n    \"--is-open\": open\n  });\n  const handleChildClick = ({ onClick }, index) => {\n    setActiveId(index);\n    setIsOpen(false);\n    if (onClick) {\n      onClick();\n    }\n  };\n  return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(Element, { ref, ...otherProps, className: classes, children: [\n    trigger ? (0, import_react30.cloneElement)(trigger, {\n      className: triggerClasses,\n      open,\n      label,\n      ...buttonProps\n    }) : /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Button, { className: triggerClasses, ...buttonProps, children: label }),\n    /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(\"ul\", { className: listClasses, role: \"menu\", children: import_react30.Children.map(children, (child, index) => {\n      if ((0, import_react30.isValidElement)(child)) {\n        return (0, import_react30.cloneElement)(child, {\n          onClick: () => handleChildClick(child.props, index),\n          active: index === activeId,\n          ...itemProps[index]\n        });\n      }\n      return child;\n    }) })\n  ] });\n};\nDropdownMenu.displayName = \"DropdownMenu\";\n\n// src/components/DropdownMenu/Item.tsx\nvar import_react31 = require(\"react\");\nvar import_dedupe23 = __toESM(require(\"classnames/dedupe\"));\nvar import_jsx_runtime30 = require(\"react/jsx-runtime\");\nvar Item = ({ ref, ...props }) => {\n  const {\n    elementType: Element = \"li\",\n    active,\n    onClick,\n    children,\n    ...otherProps\n  } = props;\n  const classes = (0, import_dedupe23.default)(\n    \"mobius\",\n    \"mobius-dropdown-menu__item\",\n    { \"--is-active\": active },\n    otherProps.className\n  );\n  return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Element, { ref, onClick, ...otherProps, children: import_react31.Children.map(children, (child) => {\n    if ((0, import_react31.isValidElement)(child)) {\n      const childClasses = (0, import_dedupe23.default)(\n        child.props.className,\n        classes\n      );\n      return (0, import_react31.cloneElement)(\n        child,\n        {\n          className: childClasses\n        }\n      );\n    }\n    return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(\"span\", { className: classes, children: child });\n  }) });\n};\nItem.displayName = \"DropdownMenu.Item\";\n\n// src/components/DropdownMenu/index.tsx\nvar DropdownMenu2 = Object.assign(\n  DropdownMenu,\n  {\n    Item\n  }\n);\nDropdownMenu2.displayName = \"DropdownMenu\";\n\n// src/components/Fieldset/Fieldset.tsx\nvar import_dedupe24 = __toESM(require(\"classnames/dedupe\"));\nvar import_react32 = require(\"react\");\nvar import_jsx_runtime31 = require(\"react/jsx-runtime\");\nvar useFieldset = (props) => {\n  const { legend } = props;\n  let legendProps = {};\n  let containerProps = {\n    role: \"group\"\n  };\n  const legendId = (0, import_react32.useId)();\n  if (legend) {\n    legendProps = {\n      ...legendProps,\n      id: legendId\n    };\n    containerProps = {\n      ...containerProps,\n      \"aria-labelledby\": legendId\n    };\n  }\n  return {\n    legendProps,\n    containerProps\n  };\n};\nvar Fieldset = ({ ref: _ref, ...props }) => {\n  const {\n    children,\n    legend,\n    legendComponent = /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(\"legend\", {}),\n    ...otherProps\n  } = props;\n  const { legendProps, containerProps } = useFieldset(props);\n  const classes = (0, import_dedupe24.default)(\"mobius\", \"mobius-fieldset\", props.className);\n  legendProps.className = \"mobius-fieldset__legend\";\n  return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(Flex, { ...containerProps, ...otherProps, className: classes, children: [\n    legend && (0, import_react32.cloneElement)(legendComponent, { ...legendProps }, [legend]),\n    children\n  ] });\n};\nFieldset.displayName = \"Fieldset\";\n\n// src/components/Grid/Grid.tsx\nvar import_dedupe25 = __toESM(require(\"classnames/dedupe\"));\nvar import_jsx_runtime32 = require(\"react/jsx-runtime\");\nvar Grid = ({ ref: _ref, ...props }) => {\n  const {\n    columns = 12,\n    gap,\n    columnGap,\n    rowGap,\n    alignContent,\n    alignItems,\n    justifyContent,\n    justifyItems,\n    className,\n    style,\n    ...rest\n  } = props;\n  const classes = (0, import_dedupe25.default)(\"mobius\", \"mobius-grid\", className);\n  const styles = filterUndefinedProps({\n    boxSizing: \"border-box\",\n    display: \"grid\",\n    gridTemplateColumns: `repeat(${columns}, 1fr)`,\n    gap: getSpacingValue(gap),\n    columnGap: getSpacingValue(columnGap),\n    rowGap: getSpacingValue(rowGap),\n    alignContent,\n    alignItems,\n    justifyContent,\n    justifyItems,\n    ...style\n  });\n  return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(\"div\", { style: styles, className: classes, ...rest });\n};\nGrid.displayName = \"Grid\";\n\n// src/components/Grid/Item.tsx\nvar import_react33 = require(\"react\");\nvar import_dedupe26 = __toESM(require(\"classnames/dedupe\"));\nvar import_jsx_runtime33 = require(\"react/jsx-runtime\");\nvar getBreakpointMap = (config) => Object.entries(config).reduce((prev, [key, value]) => {\n  const previous = Object.values(prev);\n  const lastDefined = previous[previous.length - 1];\n  return { ...prev, [key]: value || lastDefined };\n}, {});\nvar DEFAULT_SPAN = 12;\nvar GridItem = ({ ref: _ref, ...props }) => {\n  const {\n    breakpoint: { size: breakpointSize }\n  } = useBreakpoint();\n  const {\n    span,\n    xs = Array.isArray(span) ? DEFAULT_SPAN : span,\n    sm,\n    md,\n    lg,\n    xl,\n    xxl,\n    alignSelf,\n    justifySelf,\n    className,\n    ...rest\n  } = props;\n  const breakpointMap = getBreakpointMap({\n    xs,\n    sm,\n    md,\n    lg,\n    xl,\n    xxl\n  });\n  const [responsiveSpan, setResponsiveSpan] = (0, import_react33.useState)();\n  const classes = (0, import_dedupe26.default)(\"mobius-grid__item\", className);\n  (0, import_react33.useEffect)(() => {\n    setResponsiveSpan(breakpointMap[breakpointSize]);\n  }, [breakpointSize, breakpointMap]);\n  const styles = {\n    gridColumn: responsiveSpan ? `span ${responsiveSpan}` : void 0,\n    alignSelf,\n    justifySelf\n  };\n  return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(\"div\", { style: { ...styles }, className: classes, ...rest });\n};\nGridItem.displayName = \"GridItem\";\n\n// src/components/Grid/index.tsx\nvar Grid2 = Object.assign(Grid, {\n  Item: GridItem\n});\nGrid2.displayName = \"Grid\";\n\n// src/components/Image/Image.tsx\nvar import_dedupe27 = __toESM(require(\"classnames/dedupe\"));\nvar import_jsx_runtime34 = require(\"react/jsx-runtime\");\nvar Image = ({\n  ref,\n  alt,\n  elementType: Component = \"img\",\n  ...otherProps\n}) => {\n  const classes = (0, import_dedupe27.default)(\"mobius\", \"mobius-image\", otherProps.className);\n  return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Component, { alt, ref, ...otherProps, className: classes });\n};\nImage.displayName = \"Image\";\n\n// src/components/Link/Link.tsx\nvar import_dedupe28 = __toESM(require(\"classnames/dedupe\"));\nvar import_jsx_runtime35 = require(\"react/jsx-runtime\");\nvar Link = ({ ref, ...props }) => {\n  const {\n    isDisabled = false,\n    elementType: Component = \"a\",\n    style,\n    className,\n    variant = \"primary\",\n    ...otherProps\n  } = props;\n  const disabledStyles = {\n    pointerEvents: \"none\"\n  };\n  const styles = { ...style, ...isDisabled && disabledStyles };\n  const classes = (0, import_dedupe28.default)(\n    \"mobius\",\n    \"mobius-link\",\n    className,\n    `mobius-link--${variant}`,\n    {\n      \"--is-disabled\": isDisabled\n    }\n  );\n  return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(\n    Component,\n    {\n      ref,\n      style: styles,\n      className: classes,\n      \"aria-disabled\": isDisabled ? true : void 0,\n      ...otherProps,\n      children: props.children\n    }\n  );\n};\nLink.displayName = \"Link\";\n\n// src/components/LinkButton/LinkButton.tsx\nvar import_dedupe29 = __toESM(require(\"classnames/dedupe\"));\nvar import_jsx_runtime36 = (\n  // @ts-expect-error Button only allows elementType of string, not React component\n  require(\"react/jsx-runtime\")\n);\nfunction LinkButton({\n  href,\n  children,\n  className,\n  elementType = \"a\",\n  ...rest\n}) {\n  if (!href) {\n    throw new Error(\"LinkButton requires a href prop\");\n  }\n  const classes = (0, import_dedupe29.default)(\"mobius\", \"mobius-link-button\", className);\n  return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Button, { elementType, href, className: classes, ...rest, children });\n}\n\n// src/components/List/List.tsx\nvar import_react34 = require(\"react\");\nvar import_dedupe30 = __toESM(require(\"classnames/dedupe\"));\nvar import_jsx_runtime37 = require(\"react/jsx-runtime\");\nvar List = ({ ref, ...props }) => {\n  const Component = props.isOrdered ? \"ol\" : \"ul\";\n  const { children, icon, ...otherProps } = props;\n  const { isOrdered, liststyletype, isReversed, ...restProps } = otherProps;\n  const mappedProps = {\n    ...restProps,\n    reversed: isReversed\n  };\n  const classes = (0, import_dedupe30.default)(\n    \"mobius\",\n    \"mobius-list\",\n    {\n      \"--has-icon\": icon,\n      [`--is-${liststyletype}`]: liststyletype\n    },\n    otherProps.className\n  );\n  return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Component, { ref, ...mappedProps, className: classes, children: import_react34.Children.map(children, (child) => {\n    if ((0, import_react34.isValidElement)(child)) {\n      return (0, import_react34.cloneElement)(child, {\n        parentIcon: icon\n      });\n    }\n    return child;\n  }) });\n};\nList.displayName = \"List\";\n\n// src/components/List/ListItem.tsx\nvar import_dedupe31 = __toESM(require(\"classnames/dedupe\"));\nvar import_jsx_runtime38 = require(\"react/jsx-runtime\");\nvar ListItem = ({ ref, ...props }) => {\n  const { parentIcon, icon, children, ...otherProps } = props;\n  const iconContent = icon || parentIcon;\n  const classes = (0, import_dedupe31.default)(\n    \"mobius\",\n    \"mobius-list__item\",\n    {\n      \"--has-icon\": iconContent\n    },\n    props.className\n  );\n  const contentClasses = (0, import_dedupe31.default)(\"mobius\", \"mobius-list__item-content\");\n  const iconClasses = (0, import_dedupe31.default)(\"mobius\", \"mobius-list__icon\");\n  if (iconContent) {\n    return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(\"li\", { ref, ...otherProps, className: classes, children: /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(\"span\", { className: contentClasses, children: [\n      /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(\"span\", { className: iconClasses, children: iconContent }),\n      children\n    ] }) });\n  }\n  return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(\"li\", { ref, ...otherProps, className: classes, children });\n};\nListItem.displayName = \"ListItem\";\n\n// src/components/LoadingIndicator/LoadingIndicator.tsx\nvar import_dedupe32 = __toESM(require(\"classnames/dedupe\"));\nvar import_icons9 = require(\"@simplybusiness/icons\");\nvar import_jsx_runtime39 = require(\"react/jsx-runtime\");\nvar LoadingIndicator = ({ ref, ...props }) => {\n  const { icon = import_icons9.loading, ...otherProps } = props;\n  const classes = (0, import_dedupe32.default)(\n    \"mobius\",\n    \"mobius-loading-indicator\",\n    otherProps.className\n  );\n  return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Icon, { icon, spin: true, ref, ...otherProps, className: classes });\n};\nLoadingIndicator.displayName = \"LoadingIndicator\";\n\n// src/components/Logo/Logo.tsx\nvar import_dedupe33 = __toESM(require(\"classnames/dedupe\"));\nvar import_jsx_runtime40 = require(\"react/jsx-runtime\");\nvar Logo = ({ ref, ...props }) => {\n  const { className, width, height, ...otherProps } = props;\n  const classes = (0, import_dedupe33.default)(\"mobius\", \"mobius-logo\", className);\n  return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(\n    \"svg\",\n    {\n      width,\n      height,\n      ref,\n      className: classes,\n      viewBox: \"0 0 144 37\",\n      ...otherProps,\n      children: [\n        /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(\"defs\", { children: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(\n          \"linearGradient\",\n          {\n            id: \"logo-gradient\",\n            x1: \"83.508%\",\n            x2: \"11.891%\",\n            y1: \"76.042%\",\n            y2: \"26.973%\",\n            children: [\n              /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(\"stop\", { stopColor: \"#4632D8\", offset: \"0%\" }),\n              /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(\"stop\", { stopColor: \"#9084E8\", offset: \"100%\" })\n            ]\n          }\n        ) }),\n        /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(\"g\", { children: [\n          /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(\n            \"path\",\n            {\n              fill: \"#0E0A2B\",\n              d: \"M68.788 11.307c0-2.486-2.027-3.345-3.833-4.1-1.332-.562-2.471-1.036-2.471-2.072 0-.873.77-1.42 1.968-1.42 1.051 0 1.806.444 2.294.725.193.103.474.222.755.133.192-.06.34-.207.459-.444l.34-.621c.266-.474.163-.888-.281-1.2-.533-.384-1.88-1.05-3.537-1.05-2.738 0-4.647 1.643-4.647 4.01 0 2.413 2.012 3.301 3.788 4.07 1.347.593 2.516 1.096 2.516 2.161 0 .873-.754 1.45-1.924 1.45-1.287 0-2.22-.65-2.678-.961l-.03-.015c-.533-.296-.903-.237-1.228.192l-.415.607c-.444.607-.148.992.134 1.228.828.637 2.427 1.392 4.203 1.392 2.708 0 4.587-1.673 4.587-4.085zm4.44 2.975V6.186c0-.577-.31-.888-.873-.888h-.843c-.563 0-.874.311-.874.888v8.096c0 .577.296.888.874.888h.843c.563 0 .873-.311.873-.888zM71.482 4.203h.755c.518 0 .814-.281.814-.8v-.517c0-.518-.296-.814-.814-.814h-.755c-.518 0-.8.281-.8.814v.518c.016.518.297.8.8.8zM92.645 24.48h.755c.518 0 .814-.282.814-.8v-.518c0-.518-.296-.814-.814-.814h-.755c-.518 0-.799.282-.799.814v.518c0 .518.281.8.8.8zm-6.26-19.42c-1.539 0-2.397.962-2.945 1.895-.444-1.243-1.435-1.895-2.871-1.895-1.362 0-2.146.888-2.723 1.806v-.68c0-.578-.311-.889-.873-.889h-.74c-.563 0-.873.311-.873.888v8.096c0 .577.295.888.873.888h.843c.577 0 .873-.311.873-.888V10.73c0-2.25.888-3.271 2.058-3.271 1.006 0 1.198.71 1.198 1.85v4.987c0 .578.311.888.888.888h.844c.577 0 .873-.31.873-.888v-3.551c0-2.25.873-3.271 2.013-3.271 1.036 0 1.243.74 1.243 1.85v4.987c0 .577.31.888.888.888h.814c.577 0 .888-.31.888-.888V8.835c0-2.5-1.095-3.774-3.27-3.774zm10.804 10.33c2.679 0 4.558-2.13 4.558-5.164 0-3.094-1.776-5.166-4.425-5.166-1.761 0-2.708 1.036-3.049 1.51v-.533c0-.459-.34-.755-.873-.755h-.607c-.562 0-.888.326-.888.888v11.9c0 .576.311.887.888.887h.814c.578 0 .888-.31.888-.888v-3.404c0-.207-.014-.4-.014-.532.325.429 1.184 1.258 2.708 1.258zm-2.768-5.105c0-1.362.622-2.975 2.368-2.975 1.377 0 2.309 1.184 2.309 2.945 0 1.746-.947 2.916-2.338 2.916-1.54 0-2.339-1.45-2.339-2.886zm12.965 4.07v-.652c0-.444-.252-.725-.681-.784-.34-.03-.68-.192-.68-1.066v-9.47c0-.563-.326-.888-.874-.888h-.843c-.563 0-.874.31-.874.888v9.679c0 1.258.34 2.16 1.021 2.678.637.489 1.466.533 2.013.533.607 0 .918-.325.918-.917zm9.457-9.073h-.962c-.518 0-.844.237-.977.726l-1.717 4.972c-.089.311-.192.71-.251.977-.074-.281-.193-.71-.296-1.021l-1.835-4.943c-.163-.489-.489-.71-.977-.71h-1.036c-.415 0-.622.162-.71.295-.09.134-.163.385.014.755l3.685 8.57-.34.813c-.252.592-.77 1.229-1.45 1.229-.267 0-.474-.09-.652-.163h-.014c-.43-.104-.755.074-.962.488l-.163.415c-.119.251-.148.517-.06.725.075.192.237.34.474.429.326.118.814.296 1.391.296 1.628 0 2.975-.977 3.597-2.605l3.996-10.226c.103-.296.088-.563-.045-.755-.163-.163-.4-.267-.71-.267zM67.634 28.297c.977-.592 1.54-1.658 1.54-2.886 0-2.176-1.688-3.567-4.293-3.567h-4.04c-.562 0-.873.311-.873.888v11.899c0 .577.296.888.873.888h4.1c1.346 0 2.5-.34 3.33-.962.932-.71 1.42-1.761 1.42-3.049.03-1.524-.784-2.767-2.057-3.211zm-5.017-.962v-3.212h2.25c1.02 0 1.628.592 1.628 1.584 0 .991-.607 1.643-1.57 1.643h-2.308v-.015zm4.396 4.01c0 1.155-.71 1.865-1.865 1.865h-2.53v-3.714h2.53c1.14.014 1.865.74 1.865 1.85zm12.638-5.712h-.814c-.577 0-.888.31-.888.888v3.655c0 2.176-1.361 3.182-2.634 3.182-1.006 0-1.406-.547-1.406-1.88v-4.942c0-.578-.31-.888-.888-.888h-.814c-.562 0-.888.325-.888.888v5.431c0 2.516 1.17 3.774 3.463 3.774a3.937 3.937 0 003.286-1.761v.651c0 .577.296.888.873.888h.74c.577 0 .888-.31.888-.888v-8.095c-.03-.578-.355-.903-.918-.903zm6.956 3.937c-.917-.311-1.702-.592-1.702-1.184 0-.74.77-.859 1.229-.859.784 0 1.406.281 1.805.474.548.237.947.118 1.184-.34l.193-.341c.251-.518.133-.947-.326-1.184-.326-.178-1.288-.71-2.753-.71-2.279 0-3.803 1.213-3.803 3.004 0 2.042 1.731 2.65 3.137 3.138.903.325 1.687.592 1.687 1.169 0 .547-.488.902-1.258.902-.917 0-1.613-.37-2.057-.621l-.059-.03c-.533-.28-.903-.207-1.213.222l-.222.34c-.178.252-.237.504-.178.726.044.207.192.37.4.488a5.774 5.774 0 003.285 1.007c2.235 0 3.789-1.273 3.789-3.079-.03-2.042-1.761-2.649-3.138-3.122zm6.897-3.937h-.844c-.562 0-.873.31-.873.888v8.095c0 .577.296.888.873.888h.844c.577 0 .873-.31.873-.888v-8.095c0-.563-.31-.888-.873-.888zm9.324-.237c-1.924 0-2.93 1.154-3.36 1.806v-.681c0-.577-.31-.888-.873-.888h-.74c-.563 0-.873.31-.873.888v8.095c0 .577.296.888.873.888h.843c.578 0 .874-.31.874-.888v-3.744c0-1.79 1.14-3.078 2.708-3.078 1.021 0 1.436.547 1.436 1.88v4.942c0 .577.31.888.887.888h.814c.578 0 .888-.31.888-.888v-5.431c0-2.516-1.169-3.789-3.477-3.789zm10.448 0c-2.96 0-5.032 2.131-5.032 5.165 0 2.99 2.235 5.165 5.313 5.165 1.48 0 2.635-.533 3.345-.977.444-.266.562-.695.296-1.198l-.222-.385c-.266-.459-.651-.563-1.184-.31h-.015a3.885 3.885 0 01-2.042.606c-1.54 0-2.634-.962-2.812-2.472h5.816a.935.935 0 00.933-.917c.014-2.827-1.717-4.677-4.396-4.677zm-.044 2.013c1.065 0 1.79.77 1.864 1.968h-4.1c.253-1.213 1.096-1.968 2.236-1.968zm10.152 2.16c-.917-.31-1.702-.591-1.702-1.183 0-.74.77-.859 1.229-.859.784 0 1.406.281 1.805.474.548.237.947.118 1.184-.34l.192-.341c.252-.518.134-.947-.325-1.184-.326-.178-1.288-.71-2.753-.71-2.279 0-3.803 1.213-3.803 3.004 0 2.042 1.731 2.65 3.137 3.138.903.325 1.687.592 1.687 1.169 0 .547-.488.902-1.258.902-.917 0-1.613-.37-2.057-.621l-.059-.03c-.533-.28-.903-.207-1.214.222l-.222.34c-.177.252-.236.504-.177.726.044.207.192.37.4.488a5.774 5.774 0 003.285 1.007c2.235 0 3.789-1.273 3.789-3.079-.015-2.042-1.747-2.649-3.138-3.122zm8.791 0c-.917-.31-1.702-.591-1.702-1.183 0-.74.77-.859 1.229-.859.784 0 1.406.281 1.805.474.548.237.947.118 1.184-.34l.192-.341c.252-.518.134-.947-.325-1.184-.326-.178-1.288-.71-2.753-.71-2.279 0-3.803 1.213-3.803 3.004 0 2.042 1.731 2.65 3.137 3.138.903.325 1.687.592 1.687 1.169 0 .547-.488.902-1.258.902-.917 0-1.613-.37-2.057-.621l-.059-.03c-.533-.28-.903-.207-1.214.222l-.222.34c-.177.252-.236.504-.177.726.044.207.192.37.4.488a5.774 5.774 0 003.285 1.007c2.235 0 3.789-1.273 3.789-3.079-.015-2.042-1.747-2.649-3.138-3.122z\"\n            }\n          ),\n          /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(\n            \"path\",\n            {\n              fill: \"url(#logo-gradient)\",\n              d: \"M22.747 22.288c.607 1.214.918 2.59.918 4.144 0 1.45-.267 2.827-.8 4.1a10.018 10.018 0 01-2.279 3.36c-.991.961-2.235 1.73-3.744 2.278-1.51.563-3.167.829-4.988.829-2.264 0-4.35-.385-6.29-1.14-1.938-.77-3.492-1.598-4.676-2.5-.31-.252-.548-.504-.696-.77a1.332 1.332 0 01-.177-.71.718.718 0 010-.252c.03-.37.207-.785.547-1.199l1.14-1.598c.4-.548.829-.844 1.288-.918a.896.896 0 01.222-.03c.4 0 .873.163 1.39.474 2.487 1.776 4.914 2.679 7.252 2.679 1.643 0 2.96-.385 3.922-1.14.962-.755 1.45-1.746 1.45-2.96 0-.725-.192-1.39-.562-1.983a5.347 5.347 0 00-1.539-1.569 18.207 18.207 0 00-2.235-1.287 56.102 56.102 0 00-2.649-1.214c-.917-.4-1.835-.814-2.752-1.258a19.282 19.282 0 01-2.62-1.539 14.014 14.014 0 01-2.22-1.924c-.666-.695-1.169-1.539-1.554-2.545-.37-.992-.562-2.087-.562-3.271 0-2.042.533-3.863 1.598-5.446 1.066-1.584 2.516-2.797 4.336-3.641C8.303.414 10.345 0 12.624 0c1.91 0 3.685.281 5.358.844 1.657.562 2.96 1.198 3.892 1.88.68.473 1.006 1.035 1.006 1.671 0 .385-.118.785-.37 1.2l-.917 1.657c-.385.74-.903 1.11-1.554 1.11-.4 0-.83-.133-1.318-.4a42.421 42.421 0 00-1.687-.947c-.473-.237-1.14-.488-1.998-.71a9.458 9.458 0 00-2.56-.356c-1.672 0-3.004.37-3.981 1.11-.992.74-1.48 1.717-1.48 2.946 0 .902.31 1.701.932 2.412.622.695 1.421 1.302 2.398 1.79.977.489 2.057.977 3.256 1.466a54.048 54.048 0 013.552 1.628 20.795 20.795 0 013.24 2.042c.948.755 1.732 1.732 2.354 2.945zm31.257 2.945c0 3.197-1.155 6.083-3.256 8.14-2.265 2.205-5.506 3.36-9.368 3.36H30.71c-2.443 0-4.278-1.836-4.278-4.278V4.53c0-1.2.43-2.28 1.214-3.064C28.43.681 29.51.252 30.709.252h9.013c3.419 0 6.32 1.095 8.377 3.182 1.909 1.923 2.945 4.558 2.945 7.429 0 2.294-.622 4.203-1.91 5.816 1.377.77 2.487 1.776 3.286 2.99 1.066 1.583 1.584 3.448 1.584 5.564zm-12.106-7.68c.044-.03 4.913-3.02 4.913-6.675 0-1.761-.607-3.345-1.717-4.455-1.568-1.584-3.788-1.924-5.372-1.924H30.68v28h10.7c2.738 0 4.958-.754 6.408-2.16 1.273-1.243 1.983-3.049 1.983-5.106 0-1.272-.296-2.353-.858-3.196v-.03c-1.362-2.353-6.838-3.774-6.897-3.789l-.844-.222.726-.444z\"\n            }\n          ),\n          /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(\n            \"path\",\n            {\n              fill: \"#0E0A2B\",\n              d: \"M138.199 25.455c0-.4.074-.784.222-1.14.148-.354.355-.665.606-.932.267-.266.563-.473.903-.621.34-.148.725-.222 1.11-.222.4 0 .784.074 1.125.222.355.148.666.355.917.621.267.267.474.578.622.933.148.355.222.74.222 1.14 0 .399-.074.784-.222 1.139a2.86 2.86 0 01-.622.932 3.087 3.087 0 01-.917.637 2.646 2.646 0 01-1.125.236c-.4 0-.77-.074-1.11-.236a2.777 2.777 0 01-.903-.637 2.821 2.821 0 01-.606-.932 2.898 2.898 0 01-.222-1.14zm.71 0c0 .326.06.622.163.903.103.281.266.518.459.725a2.051 2.051 0 001.524.666c.31 0 .592-.059.858-.177a2.175 2.175 0 001.155-1.214c.118-.281.162-.577.162-.903 0-.325-.059-.621-.162-.902a2.422 2.422 0 00-.46-.726 2.112 2.112 0 00-.695-.488 2.073 2.073 0 00-.858-.178c-.31 0-.592.06-.844.178a2.051 2.051 0 00-.68.488 2.45 2.45 0 00-.46.726 2.636 2.636 0 00-.162.902zm1.154-1.14c0-.221.119-.34.34-.34h.889c.296 0 .532.09.695.252.178.163.267.4.267.68a.623.623 0 01-.06.297.557.557 0 01-.133.222.512.512 0 01-.163.148c-.059.044-.118.059-.162.074v.014l.03.03c.014.015.014.03.029.06l.044.088.34.666c.06.118.075.207.045.281-.03.074-.104.104-.207.104h-.104c-.192 0-.31-.089-.385-.252l-.384-.829h-.4v.74c0 .222-.104.34-.31.34h-.06c-.207 0-.31-.118-.31-.34v-2.234zm1.051 1.037c.133 0 .252-.045.31-.119.075-.074.104-.192.104-.325s-.03-.252-.103-.326a.413.413 0 00-.296-.118h-.385v.873h.37v.015z\"\n            }\n          )\n        ] })\n      ]\n    }\n  );\n};\nLogo.displayName = \"Logo\";\n\n// src/components/Modal/Content.tsx\nvar import_jsx_runtime41 = require(\"react/jsx-runtime\");\nvar Content2 = ({ ref, children, ...otherProps }) => /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(\"div\", { ref, ...otherProps, className: \"mobius-modal__content\", children });\nContent2.displayName = \"Content\";\n\n// src/components/Modal/Header.tsx\nvar import_icons10 = require(\"@simplybusiness/icons\");\n\n// src/components/Modal/useModal.ts\nvar import_react36 = require(\"react\");\n\n// src/components/Modal/ModalContext.tsx\nvar import_react35 = require(\"react\");\nvar ModalContext = (0, import_react35.createContext)({\n  onClose: () => {\n  },\n  closeLabel: void 0\n});\n\n// src/components/Modal/useModal.ts\nvar useModal = () => {\n  const { onClose, closeLabel } = (0, import_react36.useContext)(ModalContext);\n  return { onClose, closeLabel };\n};\n\n// src/components/Modal/Header.tsx\nvar import_jsx_runtime42 = require(\"react/jsx-runtime\");\nvar Header2 = ({ ref, children, ...otherProps }) => {\n  const { onClose, closeLabel } = useModal();\n  return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(\"header\", { ref, ...otherProps, className: \"mobius-modal__header\", children: [\n    children,\n    /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(\n      Button,\n      {\n        \"aria-label\": \"Close\",\n        variant: \"basic\",\n        onPress: onClose,\n        className: \"mobius-modal__close\",\n        children: [\n          /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Icon, { icon: import_icons10.cross }),\n          \" \",\n          closeLabel\n        ]\n      }\n    )\n  ] });\n};\nHeader2.displayName = \"Header\";\n\n// src/components/Modal/Modal.tsx\nvar import_dedupe34 = __toESM(require(\"classnames/dedupe\"));\nvar import_react37 = require(\"react\");\nvar import_jsx_runtime43 = require(\"react/jsx-runtime\");\nvar TRANSITION_CSS_VARIABLE2 = \"--modal-transition-duration\";\nvar Modal = ({ ref, ...props }) => {\n  const {\n    isOpen,\n    onClose,\n    onOpen,\n    children,\n    className,\n    closeLabel,\n    isFullScreen,\n    animation,\n    // Deprecated props below\n    size,\n    appElement,\n    preventCloseOnEsc,\n    shouldFocusAfterRender,\n    parentSelector,\n    ...rest\n  } = props;\n  const [shouldTransition, setShouldTransition] = (0, import_react37.useState)(false);\n  useDeprecationWarning({\n    size,\n    appElement,\n    preventCloseOnEsc,\n    shouldFocusAfterRender,\n    parentSelector\n  });\n  (0, import_react37.useEffect)(() => {\n    setShouldTransition(supportsDialog());\n  }, []);\n  const dialogRef = (0, import_react37.useRef)(null);\n  const { close } = useDialog({\n    ref: dialogRef,\n    isOpen,\n    onOpen,\n    onClose,\n    transition: {\n      isEnabled: !!animation,\n      CSSVariable: TRANSITION_CSS_VARIABLE2\n    }\n  });\n  const modalClasses = (0, import_dedupe34.default)(\n    \"mobius\",\n    \"mobius-modal\",\n    {\n      \"--no-dialog-support\": !shouldTransition,\n      // This class is used to correctly position modal in x/y middle on iOS <= 15.2\n      \"--should-transition\": shouldTransition && animation,\n      \"--slide-up\": animation === \"slideUp\",\n      \"--fade\": animation === \"fade\",\n      \"--is-fullscreen\": isFullScreen\n    },\n    className\n  );\n  const contextValue = (0, import_react37.useMemo)(\n    () => ({\n      onClose: close,\n      closeLabel\n    }),\n    [close, closeLabel]\n  );\n  return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(\n    \"dialog\",\n    {\n      ref: mergeRefs([dialogRef, ref]),\n      onCancel: close,\n      className: modalClasses,\n      ...rest,\n      children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(ModalContext.Provider, { value: contextValue, children })\n    }\n  );\n};\nModal.displayName = \"Modal\";\n\n// src/components/Modal/index.tsx\nvar Modal2 = Object.assign(Modal, {\n  Header: Header2,\n  Content: Content2\n});\nModal2.displayName = \"Modal\";\n\n// src/components/NumberField/NumberField.tsx\nvar import_dedupe35 = __toESM(require(\"classnames/dedupe\"));\nvar import_react38 = require(\"react\");\nvar import_jsx_runtime44 = require(\"react/jsx-runtime\");\nvar SMALLEST_INCREMENT = 1e-3;\nvar NumberField = ({ ref, ...props }) => {\n  const {\n    minValue,\n    maxValue,\n    step,\n    defaultValue,\n    hideSpinButtons,\n    className,\n    ...otherProps\n  } = props;\n  const {\n    onFocus: customOnFocus,\n    onBlur: customOnBlur,\n    ...rest\n  } = otherProps;\n  const focusedInputRef = (0, import_react38.useRef)(null);\n  const wheelHandler = (0, import_react38.useCallback)((ev) => ev.preventDefault(), []);\n  (0, import_react38.useEffect)(() => {\n    return () => {\n      focusedInputRef.current?.removeEventListener(\"wheel\", wheelHandler);\n      focusedInputRef.current = null;\n    };\n  }, [wheelHandler]);\n  const containerClasses = (0, import_dedupe35.default)(\"mobius-number-field\", className, {\n    \"--hide-spin-buttons\": hideSpinButtons\n  });\n  const handleBeforeInput = (event) => {\n    const { data } = event.nativeEvent;\n    if (step && Number.isInteger(step) && data === \".\") {\n      event.preventDefault();\n    }\n    if (minValue && minValue >= 0 && data === \"-\") {\n      event.preventDefault();\n    }\n  };\n  const handleChange = (event) => {\n    const { value } = event.target;\n    const numValue = parseFloat(value);\n    if (value === \"\" || value === \"-\" || isNaN(numValue)) {\n      otherProps.onChange?.(event);\n      return;\n    }\n    if (step && step > 1) {\n      const baseValue = minValue ?? 0;\n      const remainder = (numValue - baseValue) % step;\n      if (Math.abs(remainder) > SMALLEST_INCREMENT && Math.abs(remainder - step) > SMALLEST_INCREMENT) {\n        event.preventDefault();\n        return;\n      }\n    }\n    otherProps.onChange?.(event);\n  };\n  const handleBlur = (event) => {\n    const { value } = event.target;\n    const numValue = parseFloat(value);\n    if (step && step > 1 && !isNaN(numValue)) {\n      const baseValue = minValue ?? 0;\n      const steps = Math.round((numValue - baseValue) / step);\n      const snappedValue = baseValue + steps * step;\n      if (snappedValue !== numValue) {\n        event.target.value = snappedValue.toString();\n        const changeEvent = new Event(\"change\", { bubbles: true });\n        event.target.dispatchEvent(changeEvent);\n        const syntheticChangeEvent = {\n          ...event,\n          target: event.target,\n          currentTarget: event.currentTarget\n        };\n        otherProps.onChange?.(syntheticChangeEvent);\n      }\n    }\n    customOnBlur?.(event);\n  };\n  const forwardedProps = {\n    ...rest,\n    onChange: handleChange,\n    onFocus: (e) => {\n      const el = e.currentTarget;\n      focusedInputRef.current?.removeEventListener(\"wheel\", wheelHandler);\n      focusedInputRef.current = el;\n      el.addEventListener(\"wheel\", wheelHandler, { passive: false });\n      customOnFocus?.(e);\n    },\n    onBlur: (e) => handleBlur(e)\n  };\n  return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(\n    TextField,\n    {\n      ...forwardedProps,\n      className: containerClasses,\n      onBeforeInput: handleBeforeInput,\n      type: \"number\",\n      min: minValue ?? void 0,\n      max: maxValue ?? void 0,\n      step,\n      ref,\n      defaultValue: defaultValue != null ? defaultValue?.toString() : defaultValue\n    }\n  );\n};\nNumberField.displayName = \"NumberField\";\n\n// src/components/Option/Option.tsx\nvar import_jsx_runtime45 = require(\"react/jsx-runtime\");\nvar Option2 = ({ ref, ...props }) => {\n  const { isDisabled, ...rest } = props;\n  const mappedProps = {\n    ...rest,\n    disabled: isDisabled\n  };\n  return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(\"option\", { ...mappedProps, ref });\n};\nOption2.displayName = \"Option\";\n\n// src/components/PasswordField/PasswordField.tsx\nvar import_dedupe36 = __toESM(require(\"classnames/dedupe\"));\nvar import_react39 = require(\"react\");\n\n// src/components/PasswordField/ShowHideButton.tsx\nvar import_jsx_runtime46 = require(\"react/jsx-runtime\");\nvar ShowHideButton = ({\n  show = false,\n  onClick\n}) => /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(\n  \"button\",\n  {\n    className: \"mobius-password-field__show-button\",\n    type: \"button\",\n    onClick: (e) => {\n      e.preventDefault();\n      onClick();\n    },\n    \"aria-label\": `${show ? \"Hide\" : \"Show\"} password`,\n    \"data-testid\": \"show-hide-button\",\n    children: show ? \"hide\" : \"show\"\n  }\n);\n\n// src/components/PasswordField/PasswordField.tsx\nvar import_jsx_runtime47 = require(\"react/jsx-runtime\");\nvar PasswordField = ({\n  ref,\n  className,\n  ...props\n}) => {\n  const [show, setShow] = (0, import_react39.useState)(false);\n  const type = show ? \"text\" : \"password\";\n  const classes = (0, import_dedupe36.default)(\"mobius-password-field\", className);\n  const localRef = (0, import_react39.useRef)(null);\n  const handleShowHideButtonClick = () => {\n    setShow((oldShow) => !oldShow);\n    localRef.current?.focus();\n  };\n  return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(\n    TextField,\n    {\n      ref: mergeRefs([localRef, ref]),\n      className: classes,\n      ...props,\n      type,\n      suffixInside: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(ShowHideButton, { onClick: handleShowHideButtonClick, show })\n    }\n  );\n};\nPasswordField.displayName = \"PasswordField\";\n\n// src/components/Popover/Popover.tsx\nvar import_react40 = require(\"@floating-ui/react\");\nvar import_icons11 = require(\"@simplybusiness/icons\");\nvar import_classnames3 = __toESM(require(\"classnames\"));\nvar import_react41 = require(\"react\");\nvar import_jsx_runtime48 = require(\"react/jsx-runtime\");\nvar OFFSET_FROM_CONTENT_DEFAULT = 10;\nvar Popover = (props) => {\n  const { trigger, children, onOpen, onClose, className } = props;\n  const arrowRef = (0, import_react41.useRef)(null);\n  const [isOpen, setIsOpen] = (0, import_react41.useState)(false);\n  const { refs, floatingStyles, context } = (0, import_react40.useFloating)({\n    open: isOpen,\n    onOpenChange: setIsOpen,\n    whileElementsMounted: import_react40.autoUpdate,\n    middleware: [\n      (0, import_react40.arrow)({\n        element: arrowRef\n      }),\n      (0, import_react40.offset)(OFFSET_FROM_CONTENT_DEFAULT),\n      (0, import_react40.shift)(),\n      (0, import_react40.flip)()\n    ]\n  });\n  const dismiss = (0, import_react40.useDismiss)(context, {\n    bubbles: true,\n    outsidePress: (event) => {\n      const toggle = refs.reference.current;\n      const isToggleClick = !toggle?.contains(event.target);\n      if (isToggleClick) {\n        onClose?.();\n      }\n      return true;\n    }\n  });\n  const { getReferenceProps, getFloatingProps } = (0, import_react40.useInteractions)([dismiss]);\n  const containerClasses = (0, import_classnames3.default)(\n    \"mobius\",\n    \"mobius-popover__container\",\n    className\n  );\n  const toggleVisibility = () => {\n    if (isOpen) {\n      setIsOpen(false);\n      onClose?.();\n      return;\n    }\n    setIsOpen(true);\n    onOpen?.();\n  };\n  const triggerComponent = (0, import_react41.cloneElement)(trigger, {\n    ref: refs.setReference,\n    className: (0, import_classnames3.default)(\n      trigger.props.className,\n      \"mobius-popover__toggle\"\n    ),\n    onClick: toggleVisibility,\n    ...getReferenceProps()\n  });\n  useWindowEvent(\"keydown\", (e) => {\n    if (e.key === \"Escape\") {\n      onClose?.();\n      e.preventDefault();\n      e.stopPropagation();\n    }\n  });\n  return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_jsx_runtime48.Fragment, { children: [\n    triggerComponent,\n    isOpen && /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(\n      \"div\",\n      {\n        className: containerClasses,\n        ref: refs.setFloating,\n        style: floatingStyles,\n        ...getFloatingProps(),\n        children: [\n          /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(\"div\", { className: \"mobius-popover\", children: [\n            /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(\"header\", { className: \"mobius-popover__header\", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(\n              Button,\n              {\n                type: \"button\",\n                className: \"mobius-popover__close-button\",\n                onClick: toggleVisibility,\n                \"aria-label\": \"Close\",\n                variant: \"ghost\",\n                children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(\n                  Icon,\n                  {\n                    icon: import_icons11.cross,\n                    size: \"md\",\n                    className: \"mobius-popover__close-icon\"\n                  }\n                )\n              }\n            ) }),\n            /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(\"div\", { className: \"mobius-popover__body\", children })\n          ] }),\n          /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(\n            import_react40.FloatingArrow,\n            {\n              ref: arrowRef,\n              context,\n              width: 20,\n              className: \"mobius-popover__arrow-icon\"\n            }\n          )\n        ]\n      }\n    )\n  ] });\n};\n\n// src/components/Progress/Progress.tsx\nvar import_dedupe37 = __toESM(require(\"classnames/dedupe\"));\nvar import_react42 = require(\"react\");\nvar import_jsx_runtime49 = require(\"react/jsx-runtime\");\nfunction warnAboutInvalidValues(value, minValue, maxValue) {\n  if (minValue > maxValue) {\n    console.warn(\"minValue is greater than maxValue\");\n  }\n  if (value < minValue) {\n    console.warn(\"Progress value is less than minValue\");\n  }\n  if (value > maxValue) {\n    console.warn(\"Progress value is greater than maxValue\");\n  }\n}\nvar sanitizedValue = (value, defaultValue) => {\n  const numberValue = parseFloat(value);\n  return Number.isNaN(numberValue) ? defaultValue : numberValue;\n};\nvar getLabelComponent = (label, progressLabelId, showLabel) => {\n  if (showLabel) {\n    return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(\n      Label,\n      {\n        id: progressLabelId,\n        className: \"mobius-progress__label\",\n        elementType: \"span\",\n        children: label\n      }\n    );\n  }\n  return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(VisuallyHidden, { children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(\n    Label,\n    {\n      id: progressLabelId,\n      className: \"mobius-progress__label\",\n      elementType: \"span\",\n      children: label\n    }\n  ) });\n};\nvar DEFAULT_VALUE = 0;\nvar DEFAULT_MIN_VALUE = 0;\nvar DEFAULT_MAX_VALUE = 100;\nvar Progress = ({ ref, ...props }) => {\n  const progressId = (0, import_react42.useId)();\n  const progressLabelId = (0, import_react42.useId)();\n  const {\n    id,\n    label,\n    showLabel = true,\n    showValueLabel = !!label,\n    valueFormatter,\n    variant = \"primary\",\n    className\n  } = props;\n  let { value, minValue, maxValue } = props;\n  value = sanitizedValue(value, DEFAULT_VALUE);\n  minValue = sanitizedValue(minValue, DEFAULT_MIN_VALUE);\n  maxValue = sanitizedValue(maxValue, DEFAULT_MAX_VALUE);\n  if (value === void 0 || minValue === void 0 || maxValue === void 0) {\n    return null;\n  }\n  warnAboutInvalidValues(value, minValue, maxValue);\n  const clamp = (num, min, max) => Math.min(Math.max(num, min), max);\n  const percentage = clamp(\n    Math.round((value - minValue) / (maxValue - minValue) * 100),\n    0,\n    100\n  );\n  const barWidth = `${percentage}%`;\n  const classes = (0, import_dedupe37.default)(\"mobius\", \"mobius-progress\", className, {\n    \"--is-primary\": variant === \"primary\",\n    \"--is-secondary\": variant === \"secondary\"\n  });\n  const progressBarProps = {};\n  progressBarProps[\"aria-valuemin\"] = minValue.toString();\n  progressBarProps[\"aria-valuemax\"] = maxValue.toString();\n  progressBarProps[\"aria-valuenow\"] = value.toString();\n  progressBarProps[\"aria-valuetext\"] = valueFormatter instanceof Function ? valueFormatter(value, minValue, maxValue) : barWidth;\n  const labelComponent = getLabelComponent(label, progressLabelId, showLabel);\n  return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(\n    \"div\",\n    {\n      id: id || progressId,\n      ...progressBarProps,\n      ref,\n      className: classes,\n      role: \"progressbar\",\n      \"aria-labelledby\": progressLabelId,\n      children: [\n        labelComponent,\n        /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(\"div\", { className: \"mobius-progress__track\", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(\"div\", { className: \"mobius-progress__bar\", style: { width: barWidth } }) }),\n        showValueLabel && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Label, { \"data-testid\": \"value-label\", elementType: \"span\", children: progressBarProps[\"aria-valuetext\"] })\n      ]\n    }\n  );\n};\nProgress.displayName = \"Progress\";\n\n// src/components/Radio/Radio.tsx\nvar import_dedupe38 = __toESM(require(\"classnames/dedupe\"));\nvar import_react43 = require(\"react\");\nvar import_jsx_runtime50 = require(\"react/jsx-runtime\");\nvar Radio = ({ ref, ...props }) => {\n  const {\n    children,\n    value,\n    label,\n    className,\n    isDisabled,\n    errorMessage,\n    onChange,\n    defaultChecked,\n    groupDisabled,\n    name,\n    selected,\n    setSelected,\n    isRequired,\n    onOverflow,\n    ...otherProps\n  } = props;\n  const realDisabled = groupDisabled || isDisabled;\n  const isMultiline = label && children;\n  const isControlled = selected !== void 0;\n  const isChecked = isControlled ? selected === value : defaultChecked;\n  const contentRef = (0, import_react43.useRef)(null);\n  const prevOverflowRef = (0, import_react43.useRef)({\n    vertical: false,\n    horizontal: false\n  });\n  const currentOrientation = otherProps.orientation;\n  const hasIconFirst = (0, import_react43.useMemo)(() => {\n    if (!children || import_react43.Children.count(children) === 0) return false;\n    const firstChild = import_react43.Children.toArray(children)[0];\n    if (!(0, import_react43.isValidElement)(firstChild)) return false;\n    const props2 = firstChild.props;\n    return \"icon\" in props2 && props2.icon !== void 0;\n  }, [children]);\n  (0, import_react43.useLayoutEffect)(() => {\n    if (!contentRef.current || !onOverflow) return;\n    if (currentOrientation === \"vertical\") {\n      return;\n    }\n    const element = contentRef.current;\n    const scrollOverflowVertical = element.scrollHeight > element.clientHeight;\n    const scrollOverflowHorizontal = element.scrollWidth > element.clientWidth;\n    const styles = window.getComputedStyle(element);\n    const lineHeight = parseFloat(styles.lineHeight);\n    const fontSize = parseFloat(styles.fontSize);\n    const singleLineHeight = isNaN(lineHeight) ? fontSize * 1.2 : lineHeight;\n    const WRAP_DETECTION_TOLERANCE = 1.1;\n    const hasWrapped = element.clientHeight > singleLineHeight * WRAP_DETECTION_TOLERANCE;\n    const vertical = scrollOverflowVertical || hasWrapped;\n    const horizontal = scrollOverflowHorizontal;\n    const newOverflowState = { vertical, horizontal };\n    const prevOverflow = prevOverflowRef.current;\n    if (newOverflowState.vertical !== prevOverflow.vertical || newOverflowState.horizontal !== prevOverflow.horizontal) {\n      prevOverflowRef.current = newOverflowState;\n      onOverflow(newOverflowState);\n    }\n  }, [label, children, onOverflow, currentOrientation]);\n  const radioClasses = {\n    \"--is-disabled\": realDisabled,\n    \"--is-selected\": selected === value,\n    \"--is-multiline\": !!isMultiline,\n    \"--is-required\": isRequired\n  };\n  const containerClasses = (0, import_dedupe38.default)(\n    \"mobius-radio__label\",\n    radioClasses,\n    className,\n    { \"--has-icon-first\": hasIconFirst }\n  );\n  const inputClasses = (0, import_dedupe38.default)(\"mobius-radio__input\", radioClasses);\n  const {\n    // @ts-expect-error - TS doesn't like the orientation prop\n    orientation,\n    \"aria-describedby\": _ariaDescribedBy,\n    ...rest\n  } = otherProps;\n  const handleChange = (event) => {\n    if (setSelected) {\n      setSelected(event.target.value);\n    }\n    if (onChange) {\n      const adaptedEvent = {\n        ...event.nativeEvent,\n        target: event.target\n      };\n      onChange(adaptedEvent);\n    }\n  };\n  return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(import_jsx_runtime50.Fragment, { children: [\n    /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(Label, { className: containerClasses, children: [\n      /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(\n        \"input\",\n        {\n          \"aria-describedby\": otherProps[\"aria-describedby\"],\n          disabled: realDisabled,\n          ref,\n          className: inputClasses,\n          value,\n          tabIndex: 0,\n          type: \"radio\",\n          onChange: handleChange,\n          ...isControlled ? { checked: isChecked } : { defaultChecked: isChecked },\n          name,\n          required: isRequired,\n          ...rest\n        }\n      ),\n      isMultiline ? /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(\"div\", { ref: contentRef, className: \"mobius-radio__content--multiline\", children: [\n        /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(\"div\", { className: \"mobius-radio__content-first-line\", children: label }),\n        /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(\"div\", { className: \"mobius-radio__extra-content\", children })\n      ] }) : /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(\"div\", { ref: contentRef, className: \"mobius-radio__content\", children: label || children })\n    ] }),\n    errorMessage && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(ErrorMessage, { errorMessage })\n  ] });\n};\nRadio.displayName = \"Radio\";\n\n// src/components/Radio/RadioGroup.tsx\nvar import_dedupe39 = __toESM(require(\"classnames/dedupe\"));\nvar import_react44 = require(\"react\");\nvar import_jsx_runtime51 = require(\"react/jsx-runtime\");\nvar getDefaultVal = (children, defaultValue) => {\n  if (Array.isArray(children) && defaultValue) {\n    const option = children?.find((item) => item.props.value === defaultValue);\n    if (!option) return \"\";\n    return option.props.value;\n  }\n  return \"\";\n};\nvar RadioGroup = ({ ref, ...props }) => {\n  const {\n    label,\n    isDisabled = false,\n    isRequired,\n    validationState,\n    isInvalid,\n    orientation = \"vertical\",\n    className,\n    errorMessage,\n    children,\n    defaultValue,\n    value,\n    isReadOnly,\n    name,\n    onChange,\n    autoStack = false,\n    ...rest\n  } = props;\n  const defaultSelected = getDefaultVal(children, value || defaultValue);\n  const [selected, setSelected] = (0, import_react44.useState)(defaultSelected);\n  const overflowsRef = (0, import_react44.useRef)({});\n  const [hasOverflow, setHasOverflow] = (0, import_react44.useState)(false);\n  (0, import_react44.useEffect)(() => {\n    if (value !== void 0) {\n      setSelected(value);\n    }\n  }, [value]);\n  const handleOverflow = (0, import_react44.useCallback)(\n    (radioValue, overflow) => {\n      overflowsRef.current = {\n        ...overflowsRef.current,\n        [radioValue]: overflow\n      };\n      const anyOverflow = Object.values(overflowsRef.current).some(\n        (o) => o.vertical || o.horizontal\n      );\n      if (anyOverflow !== hasOverflow) {\n        setHasOverflow(anyOverflow);\n      }\n    },\n    [hasOverflow]\n  );\n  const effectiveOrientation = autoStack && orientation === \"horizontal\" && hasOverflow ? \"vertical\" : orientation;\n  const validationClasses = useValidationClasses({\n    validationState,\n    isInvalid\n  });\n  const radioClasses = {\n    \"--is-disabled\": isDisabled,\n    \"--is-required\": typeof isRequired === \"boolean\" && isRequired,\n    \"--is-optional\": typeof isRequired === \"boolean\" && !isRequired,\n    [`--is-${effectiveOrientation}`]: true,\n    [className || \"\"]: true\n  };\n  const radioGroupClasses = (0, import_dedupe39.default)(\n    \"mobius\",\n    \"mobius-radio-group\",\n    radioClasses,\n    validationClasses\n  );\n  const radioWrapperClasses = (0, import_dedupe39.default)(\"mobius-radio__wrapper\", {\n    [`--is-${effectiveOrientation}`]: true\n  });\n  const labelClasses = (0, import_dedupe39.default)(radioClasses, validationClasses);\n  const errorMessageId = (0, import_react44.useId)();\n  const defaultNameAttrId = (0, import_react44.useId)();\n  const nameAttribute = name || defaultNameAttrId;\n  const shouldErrorMessageShow = errorMessage ? errorMessageId : void 0;\n  const describedBy = spaceDelimitedList([\n    shouldErrorMessageShow,\n    props[\"aria-describedby\"]\n  ]);\n  const labelId = (0, import_react44.useId)();\n  return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(\n    \"div\",\n    {\n      ...rest,\n      \"aria-describedby\": describedBy,\n      \"aria-disabled\": isDisabled,\n      \"aria-errormessage\": shouldErrorMessageShow,\n      \"aria-invalid\": isInvalid,\n      \"aria-label\": props[\"aria-label\"],\n      \"aria-labelledby\": props[\"aria-labelledby\"] || labelId,\n      \"aria-orientation\": effectiveOrientation,\n      \"aria-readonly\": isReadOnly,\n      \"aria-required\": isRequired,\n      ref,\n      className: radioGroupClasses,\n      role: \"radiogroup\",\n      children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(Stack, { gap: \"xs\", children: [\n        label && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Label, { htmlFor: name, id: labelId, className: labelClasses, children: label }),\n        /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(\"div\", { className: radioWrapperClasses, children: import_react44.Children.map(children, (child) => {\n          if ((0, import_react44.isValidElement)(child)) {\n            const childValue = child.props.value;\n            return (0, import_react44.cloneElement)(\n              child,\n              {\n                orientation: effectiveOrientation,\n                groupDisabled: isDisabled,\n                name: nameAttribute,\n                selected: selected || defaultSelected,\n                // in case state does not update\n                setSelected,\n                isRequired,\n                \"aria-describedby\": describedBy,\n                onChange,\n                onOverflow: childValue ? (overflow) => handleOverflow(childValue, overflow) : void 0\n              }\n            );\n          }\n          return child;\n        }) }),\n        /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(ErrorMessage, { id: errorMessageId, errorMessage })\n      ] })\n    }\n  );\n};\nRadioGroup.displayName = \"RadioGroup\";\n\n// src/components/Segment/SegmentGroup.tsx\nvar import_dedupe40 = __toESM(require(\"classnames/dedupe\"));\nvar import_jsx_runtime52 = require(\"react/jsx-runtime\");\nvar SegmentGroup = (props) => {\n  const { children, horizontal, gap, className, ...rest } = props;\n  const gapClass = gap ? `gap-${gap}` : \"\";\n  const classes = (0, import_dedupe40.default)(\n    \"mobius\",\n    \"mobius-segment-group\",\n    className,\n    { \"--is-horizontal\": horizontal },\n    gapClass\n  );\n  return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(\"div\", { className: classes, ...rest, children });\n};\nSegmentGroup.displayName = \"SegmentGroup\";\n\n// src/components/Segment/Segment.tsx\nvar import_dedupe41 = __toESM(require(\"classnames/dedupe\"));\nvar import_jsx_runtime53 = require(\"react/jsx-runtime\");\nvar Segment = (props) => {\n  const { heading, children, colour, inverted, className, ...rest } = props;\n  const classes = (0, import_dedupe41.default)(\n    \"mobius\",\n    \"mobius-segment\",\n    colour,\n    { inverted },\n    className\n  );\n  return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(\"div\", { className: classes, ...rest, children: [\n    heading && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(\"div\", { className: \"mobius-segment__heading\", children: heading }),\n    children\n  ] });\n};\nSegment.displayName = \"Segment\";\n\n// src/components/Select/Select.tsx\nvar import_icons12 = require(\"@simplybusiness/icons\");\nvar import_dedupe42 = __toESM(require(\"classnames/dedupe\"));\nvar import_react45 = require(\"react\");\nvar import_jsx_runtime54 = require(\"react/jsx-runtime\");\nvar Select = ({ ref, ...props }) => {\n  const {\n    label,\n    onChange,\n    validationState,\n    isInvalid,\n    errorMessage,\n    isDisabled = false,\n    isRequired,\n    ...otherProps\n  } = props;\n  const { labelProps, fieldProps } = useLabel({\n    label,\n    ...otherProps\n  });\n  const validationClasses = useValidationClasses({\n    validationState,\n    isInvalid\n  });\n  const stateClasses = {\n    \"--is-disabled\": isDisabled,\n    \"--is-required\": typeof isRequired === \"boolean\" && isRequired,\n    \"--is-optional\": typeof isRequired === \"boolean\" && !isRequired\n  };\n  const sharedClasses = (0, import_dedupe42.default)(validationClasses, stateClasses);\n  const wrapperClasses = (0, import_dedupe42.default)(\n    \"mobius-select__wrapper\",\n    sharedClasses,\n    otherProps.className\n  );\n  const selectClasses = (0, import_dedupe42.default)(\n    \"mobius-select\",\n    sharedClasses,\n    otherProps.className\n  );\n  const labelClasses = (0, import_dedupe42.default)(\n    \"mobius-label\",\n    sharedClasses,\n    otherProps.className\n  );\n  const iconClasses = (0, import_dedupe42.default)(\"mobius-select__icon\", sharedClasses);\n  const errorMessageId = (0, import_react45.useId)();\n  const shouldErrorMessageShow = errorMessage ? errorMessageId : void 0;\n  const describedBy = spaceDelimitedList([\n    shouldErrorMessageShow,\n    props[\"aria-describedby\"]\n  ]);\n  const handleChange = (e) => {\n    if (onChange) {\n      onChange(e);\n    }\n  };\n  return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(Stack, { className: \"mobius mobius-select__outer\", gap: \"xs\", children: [\n    label && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Label, { ...labelProps, className: labelClasses, children: label }),\n    /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(\"div\", { className: wrapperClasses, children: [\n      /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(\n        \"select\",\n        {\n          ...otherProps,\n          ...fieldProps,\n          ref,\n          multiple: false,\n          className: selectClasses,\n          disabled: isDisabled,\n          \"aria-invalid\": !!errorMessage,\n          \"aria-describedby\": describedBy,\n          \"aria-required\": isRequired,\n          required: isRequired,\n          onChange: handleChange\n        }\n      ),\n      /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(\"span\", { className: iconClasses, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Icon, { icon: import_icons12.chevronDown }) })\n    ] }),\n    errorMessage && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(ErrorMessage, { id: errorMessageId, errorMessage })\n  ] });\n};\nSelect.displayName = \"Select\";\n\n// src/components/Slider/Slider.tsx\nvar import_dedupe43 = __toESM(require(\"classnames/dedupe\"));\nvar import_react47 = require(\"react\");\n\n// src/components/Slider/helpers.ts\nvar import_react46 = require(\"react\");\nfunction numberFormatter(value, formatOptions, locale = navigator.languages?.[0] || \"en-GB\") {\n  if (!formatOptions) {\n    return value?.toString() || \"\";\n  }\n  return new Intl.NumberFormat(locale, formatOptions).format(+(value || 0));\n}\n\n// src/components/Slider/Slider.tsx\nvar import_jsx_runtime55 = require(\"react/jsx-runtime\");\nvar Slider = (props) => {\n  const {\n    id,\n    className,\n    label,\n    \"aria-label\": ariaLabel,\n    \"aria-labelledby\": ariaLabelledBy,\n    minValue,\n    maxValue,\n    step = 1,\n    defaultValue = 0,\n    value,\n    onChange,\n    onChangeEnd,\n    variant = \"primary\",\n    minLabel,\n    maxLabel,\n    formatOptions,\n    isDisabled = false\n  } = props;\n  const trackRef = (0, import_react47.useRef)(null);\n  const [currentValue, setCurrentValue] = (0, import_react47.useState)(\n    value || defaultValue || 0\n  );\n  const [isDragging, setIsDraggging] = (0, import_react47.useState)(false);\n  const { labelProps, fieldProps } = useLabel({\n    id,\n    label,\n    \"aria-label\": ariaLabel,\n    \"aria-labelledby\": ariaLabelledBy\n  });\n  const formattedValue = numberFormatter(currentValue, formatOptions);\n  const classes = (0, import_dedupe43.default)(\"mobius\", \"mobius-slider\", className, {\n    \"--is-disabled\": isDisabled,\n    \"--is-primary\": variant === \"primary\",\n    \"--is-secondary\": variant === \"secondary\",\n    \"--is-dragging\": isDragging\n  });\n  const handleChange = (e) => {\n    const val = +e.target.value;\n    setCurrentValue(val);\n    if (onChange) {\n      onChange(val);\n    }\n  };\n  const handleChangeStart = () => {\n    setIsDraggging(true);\n  };\n  const handleChangeEnd = () => {\n    setIsDraggging(false);\n    if (onChangeEnd) {\n      onChangeEnd(currentValue);\n    }\n  };\n  return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(\"div\", { className: classes, children: [\n    /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(\"div\", { className: \"mobius-slider__label-wrapper\", children: [\n      label && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Label, { ...labelProps, children: label }),\n      label && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(\"output\", { style: { flex: \"1 0 auto\", textAlign: \"end\" }, children: formattedValue })\n    ] }),\n    /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(\"div\", { ref: trackRef, className: \"mobius-slider__track-wrapper\", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(\n      \"input\",\n      {\n        className: \"mobius-slider__track\",\n        type: \"range\",\n        min: minValue,\n        max: maxValue,\n        value: currentValue,\n        step,\n        onChange: handleChange,\n        autoComplete: \"off\",\n        disabled: isDisabled,\n        onMouseDown: handleChangeStart,\n        onMouseUp: handleChangeEnd,\n        onKeyDown: handleChangeStart,\n        onKeyUp: handleChangeEnd,\n        ...fieldProps\n      }\n    ) }),\n    /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(\"div\", { className: \"mobius-slider__labels\", children: [\n      /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(\"div\", { className: \"mobius-slider__min-label\", \"data-testid\": \"min-label\", children: minLabel }),\n      /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(\"div\", { className: \"mobius-slider__max-label\", \"data-testid\": \"max-label\", children: maxLabel })\n    ] })\n  ] });\n};\n\n// src/components/SVG/SVG.tsx\nvar import_react48 = require(\"react\");\nvar import_dedupe44 = __toESM(require(\"classnames/dedupe\"));\nvar import_jsx_runtime56 = require(\"react/jsx-runtime\");\nvar SVG = ({ ref, ...props }) => {\n  const { children, className, ...otherProps } = props;\n  const classes = (0, import_dedupe44.default)(\"mobius\", \"mobius-svg\", className);\n  const svgNode = import_react48.Children.only(children);\n  const { children: svgChildren, viewBox, xmlns } = svgNode.props;\n  return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(\n    \"svg\",\n    {\n      viewBox,\n      xmlns,\n      ref,\n      ...otherProps,\n      className: classes,\n      children: svgChildren\n    }\n  );\n};\nSVG.displayName = \"SVG\";\n\n// src/components/Switch/Switch.tsx\nvar import_react49 = require(\"react\");\nvar import_dedupe45 = __toESM(require(\"classnames/dedupe\"));\nvar import_jsx_runtime57 = require(\"react/jsx-runtime\");\nvar Switch = ({ ref, ...props }) => {\n  const {\n    checked = false,\n    className,\n    onChange,\n    isDisabled = false,\n    ...otherProps\n  } = props;\n  const [enabled, setEnabled] = (0, import_react49.useState)(checked);\n  (0, import_react49.useEffect)(() => {\n    setEnabled(checked);\n  }, [checked]);\n  const classes = (0, import_dedupe45.default)(\n    \"mobius\",\n    \"mobius-switch\",\n    {\n      \"mobius-switch--checked\": enabled,\n      \"mobius-switch--disabled\": isDisabled\n    },\n    className\n  );\n  const handleChange = (event) => {\n    setEnabled(!enabled);\n    if (onChange) {\n      onChange(event);\n    }\n  };\n  return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(\"label\", { ref, className: classes, children: [\n    /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(VisuallyHidden, { children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(\"span\", { children: enabled ? \"On\" : \"Off\" }) }),\n    /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(\n      \"input\",\n      {\n        type: \"checkbox\",\n        role: \"switch\",\n        checked: enabled,\n        onChange: handleChange,\n        disabled: isDisabled,\n        ...otherProps\n      }\n    ),\n    /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(\"span\", { className: \"mobius-switch__slider\" })\n  ] });\n};\nSwitch.displayName = \"Switch\";\n\n// src/components/Table/Table.tsx\nvar import_dedupe46 = __toESM(require(\"classnames/dedupe\"));\nvar import_jsx_runtime58 = require(\"react/jsx-runtime\");\nvar Table = ({ ref, ...props }) => {\n  const classes = (0, import_dedupe46.default)(\"mobius\", \"mobius-table\", props.className);\n  return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(\"table\", { ref, ...props, className: classes });\n};\nTable.displayName = \"Table\";\n\n// src/components/Table/Head.tsx\nvar import_dedupe47 = __toESM(require(\"classnames/dedupe\"));\nvar import_jsx_runtime59 = require(\"react/jsx-runtime\");\nvar Head = ({ ref, ...props }) => {\n  const classes = (0, import_dedupe47.default)(\"mobius\", \"mobius-table__head\", props.className);\n  return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(\"thead\", { ref, ...props, className: classes });\n};\nHead.displayName = \"Table.Head\";\n\n// src/components/Table/Body.tsx\nvar import_dedupe48 = __toESM(require(\"classnames/dedupe\"));\nvar import_jsx_runtime60 = require(\"react/jsx-runtime\");\nvar Body = ({ ref, ...props }) => {\n  const classes = (0, import_dedupe48.default)(\"mobius\", \"mobius-table__body\", props.className);\n  return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(\"tbody\", { ref, ...props, className: classes });\n};\nBody.displayName = \"Table.Body\";\n\n// src/components/Table/Foot.tsx\nvar import_dedupe49 = __toESM(require(\"classnames/dedupe\"));\nvar import_jsx_runtime61 = require(\"react/jsx-runtime\");\nvar Foot = ({ ref, ...props }) => {\n  const classes = (0, import_dedupe49.default)(\"mobius\", \"mobius-table__foot\", props.className);\n  return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(\"tfoot\", { ref, ...props, className: classes });\n};\nFoot.displayName = \"Table.Foot\";\n\n// src/components/Table/Row.tsx\nvar import_dedupe50 = __toESM(require(\"classnames/dedupe\"));\nvar import_jsx_runtime62 = require(\"react/jsx-runtime\");\nvar Row = ({ ref, ...props }) => {\n  const classes = (0, import_dedupe50.default)(\"mobius\", \"mobius-table__row\", props.className);\n  return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(\"tr\", { ref, ...props, className: classes });\n};\nRow.displayName = \"Table.Row\";\n\n// src/components/Table/HeaderCell.tsx\nvar import_dedupe51 = __toESM(require(\"classnames/dedupe\"));\nvar import_jsx_runtime63 = require(\"react/jsx-runtime\");\nvar HeaderCell = ({ ref, ...props }) => {\n  const classes = (0, import_dedupe51.default)(\n    \"mobius\",\n    \"mobius-table__head-cell\",\n    props.className\n  );\n  return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(\"th\", { ...props, ref, className: classes });\n};\nHeaderCell.displayName = \"Table.HeaderCell\";\n\n// src/components/Table/Cell.tsx\nvar import_dedupe52 = __toESM(require(\"classnames/dedupe\"));\nvar import_jsx_runtime64 = require(\"react/jsx-runtime\");\nvar Cell = ({ ref, ...props }) => {\n  const classes = (0, import_dedupe52.default)(\n    \"mobius\",\n    \"mobius-table__body-cell\",\n    props.className\n  );\n  return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(\"td\", { ref, ...props, className: classes });\n};\nCell.displayName = \"Table.Cell\";\n\n// src/components/Table/index.tsx\nvar Table2 = Object.assign(Table, {\n  Head,\n  Body,\n  Foot,\n  Row,\n  HeaderCell,\n  Cell\n});\nTable2.displayName = \"Table\";\n\n// src/components/Text/Text.tsx\nvar import_dedupe53 = __toESM(require(\"classnames/dedupe\"));\nvar import_jsx_runtime65 = require(\"react/jsx-runtime\");\nvar getElementType = (variant, elementType) => {\n  if (variant) {\n    return [\"h1\", \"h2\", \"h3\", \"h4\"].includes(variant) ? variant : \"p\";\n  }\n  return elementType || \"p\";\n};\nvar Text = ({ ref, elementType: Component = \"p\", ...props }) => {\n  const { variant, className, spacing, ...otherProps } = props;\n  const elementType = getElementType(variant, Component);\n  const variantType = variant || elementType;\n  const classes = (0, import_dedupe53.default)(\n    \"mobius\",\n    \"mobius-text\",\n    { [`--is-${variantType}`]: variantType },\n    { [`--has-line-height-${spacing}`]: spacing },\n    className\n  );\n  return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Component, { ref, ...otherProps, className: classes });\n};\nText.displayName = \"Text\";\n\n// src/components/TextArea/TextArea.tsx\nvar import_dedupe55 = __toESM(require(\"classnames/dedupe\"));\n\n// src/components/TextAreaInput/TextAreaInput.tsx\nvar import_dedupe54 = __toESM(require(\"classnames/dedupe\"));\nvar import_jsx_runtime66 = require(\"react/jsx-runtime\");\nvar TextAreaInput = ({ ref, ...props }) => {\n  const { isSelected, isDisabled, isReadOnly, isRequired, ...otherProps } = props;\n  const classes = (0, import_dedupe54.default)(\n    \"mobius\",\n    \"mobius-text-area__input\",\n    {\n      \"--is-disabled\": isDisabled,\n      \"--is-selected\": isSelected,\n      \"--is-required\": isRequired\n    },\n    otherProps.className\n  );\n  return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(\n    \"textarea\",\n    {\n      ref,\n      ...otherProps,\n      required: isRequired,\n      readOnly: isReadOnly,\n      className: classes\n    }\n  );\n};\nTextAreaInput.displayName = \"TextAreaInput\";\n\n// src/components/TextArea/TextArea.tsx\nvar import_jsx_runtime67 = require(\"react/jsx-runtime\");\nvar TextArea = ({ ref, ...props }) => {\n  const {\n    isDisabled,\n    className,\n    errorMessage,\n    label,\n    validationState,\n    isInvalid,\n    ...otherProps\n  } = props;\n  const { inputProps, labelProps, errorMessageProps } = useTextField(props);\n  const classes = (0, import_dedupe55.default)(\"mobius\", \"mobius-text-area\", className);\n  const validationClasses = useValidationClasses({\n    validationState,\n    isInvalid\n  });\n  const inputClasses = (0, import_dedupe55.default)(\"mobius-text-area__input\", validationClasses);\n  const labelClasses = (0, import_dedupe55.default)(\n    {\n      \"--is-disabled\": isDisabled\n    },\n    validationClasses\n  );\n  return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(Stack, { className: classes, gap: \"xs\", children: [\n    label && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Label, { ...labelProps, className: labelClasses, children: props.label }),\n    /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(\n      TextAreaInput,\n      {\n        ...otherProps,\n        ...inputProps,\n        ref,\n        className: inputClasses,\n        isDisabled,\n        \"aria-invalid\": errorMessage != null\n      }\n    ),\n    /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(ErrorMessage, { ...errorMessageProps, errorMessage })\n  ] });\n};\nTextArea.displayName = \"TextArea\";\n\n// src/components/TextOrHTML/TextOrHTML.tsx\nvar import_react50 = require(\"react\");\nvar import_jsx_runtime68 = require(\"react/jsx-runtime\");\nvar TextOrHTML = ({\n  ref,\n  text,\n  htmlClassName,\n  htmlElementType = \"span\",\n  textWrapper = false,\n  ...textProps\n}) => {\n  const DangerousComponent = htmlElementType;\n  const dangerousHTML = (0, import_react50.useMemo)(() => ({ __html: text }), [text]);\n  const dangerousElement = /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(\n    DangerousComponent,\n    {\n      className: htmlClassName,\n      dangerouslySetInnerHTML: dangerousHTML\n    }\n  );\n  if (textWrapper) {\n    return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Text, { ref, ...textProps, children: dangerousElement });\n  }\n  return dangerousElement;\n};\nTextOrHTML.displayName = \"TextOrHTML\";\n\n// src/components/Title/Title.tsx\nvar import_dedupe56 = __toESM(require(\"classnames/dedupe\"));\nvar import_jsx_runtime69 = require(\"react/jsx-runtime\");\nvar Title = ({ ref, ...props }) => {\n  const {\n    elementType: Element = \"div\",\n    title,\n    description,\n    ...otherProps\n  } = props;\n  const classes = (0, import_dedupe56.default)(\"mobius\", \"mobius-title\", otherProps.className);\n  const headerClasses = (0, import_dedupe56.default)(\"mobius\", \"mobius-title__header\");\n  const contentClasses = (0, import_dedupe56.default)(\"mobius\", \"mobius-title__description\");\n  const containerClasses = (0, import_dedupe56.default)(\"mobius\", \"mobius-title__container\");\n  return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Element, { ref, ...otherProps, className: classes, children: /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(Flex, { flexDirection: \"column\", className: containerClasses, children: [\n    /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(\"p\", { className: headerClasses, children: title }),\n    /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(\"p\", { className: contentClasses, children: description })\n  ] }) });\n};\nTitle.displayName = \"Title\";\n\n// src/components/Trust/Trust.tsx\nvar import_dedupe57 = __toESM(require(\"classnames/dedupe\"));\nvar import_react51 = require(\"react\");\n\n// src/components/Trust/constants.ts\nvar REQUIRED_TRUSTPILOT_CLASS_NAME = \"trustpilot-widget\";\nvar SIMPLYBUSINESS_UNIT_ID = \"5ca35a3da72b330001954cef\";\nvar SIMPLYBUSINESS_UNIT_IDS = {\n  \"en-US\": \"5ca35a3da72b330001954cef\",\n  // US business unit ID\n  \"en-GB\": \"56b1db010000ff0005887125\"\n  // UK business unit ID\n};\nvar TRUSTPILOT_LINKS = {\n  \"en-US\": \"https://www.trustpilot.com/review/simplybusiness.com\",\n  \"en-GB\": \"https://www.trustpilot.com/review/simplybusiness.co.uk\"\n};\nvar TRUSTPILOT_TEMPLATE_IDS = {\n  \"micro-combo\": \"5419b6ffb0d04a076446a9af\",\n  mini: \"53aa8807dec7e10d38f59f32\",\n  carousel: \"53aa8912dec7e10d38f59f36\",\n  horizontal: \"5406e65db0d04a09e042d5fc\",\n  \"micro-star\": \"5419b732fbfb950b10de65e5\"\n};\nvar TRUSTPILOT_WIDGET = {\n  // Keys based on actual widget names\n  // https://support.trustpilot.com/hc/en-us/articles/360019826379-TrustBox-widget-overview\n  \"micro-combo\": {\n    templateId: TRUSTPILOT_TEMPLATE_IDS[\"micro-combo\"],\n    className: \"--is-variant-micro-combo\",\n    styles: {\n      height: \"25px\"\n    }\n  },\n  mini: {\n    templateId: TRUSTPILOT_TEMPLATE_IDS[\"mini\"],\n    className: \"--is-variant-mini\",\n    styles: {\n      width: \"300px\",\n      height: \"150px\"\n    }\n  },\n  carousel: {\n    templateId: TRUSTPILOT_TEMPLATE_IDS[\"carousel\"],\n    className: \"--is-variant-carousel\",\n    styles: {\n      height: \"150px\"\n    }\n  },\n  horizontal: {\n    templateId: TRUSTPILOT_TEMPLATE_IDS[\"horizontal\"],\n    className: \"--is-variant-horizontal\",\n    styles: {\n      height: \"28px\"\n    }\n  },\n  \"micro-star\": {\n    templateId: TRUSTPILOT_TEMPLATE_IDS[\"micro-star\"],\n    className: \"--is-variant-micro-star\",\n    styles: {\n      height: \"24px\"\n    }\n  }\n};\n\n// src/components/Trust/Trust.tsx\nvar import_jsx_runtime70 = require(\"react/jsx-runtime\");\nvar Trust = ({ ref, ...props }) => {\n  const {\n    elementType: Element = \"div\",\n    variant,\n    theme,\n    locale,\n    height,\n    width,\n    stars,\n    className\n  } = props;\n  const [isMounted, setIsMounted] = (0, import_react51.useState)(false);\n  const trustRef = (0, import_react51.useRef)(null);\n  const {\n    templateId,\n    className: variantClassName,\n    styles\n  } = TRUSTPILOT_WIDGET[variant];\n  const link = TRUSTPILOT_LINKS[locale];\n  const businessUnitId = SIMPLYBUSINESS_UNIT_IDS[locale] || SIMPLYBUSINESS_UNIT_ID;\n  const dataProps = {\n    \"data-businessunit-id\": businessUnitId,\n    \"data-locale\": locale,\n    \"data-template-id\": templateId,\n    \"data-theme\": theme,\n    \"data-style-width\": width || \"100%\",\n    \"data-style-height\": height,\n    \"data-stars\": stars\n  };\n  const classes = (0, import_dedupe57.default)(\n    \"mobius\",\n    \"mobius-trust\",\n    REQUIRED_TRUSTPILOT_CLASS_NAME,\n    {\n      [`--is-${theme}`]: theme,\n      [variantClassName]: variant\n    },\n    className\n  );\n  (0, import_react51.useEffect)(() => {\n    const hasTrustpilotLoaded = trustRef.current && window?.Trustpilot && window?.Trustpilot.loadFromElement;\n    if (isMounted && hasTrustpilotLoaded) {\n      window.Trustpilot.loadFromElement(trustRef.current, true);\n    }\n  }, [isMounted]);\n  (0, import_react51.useEffect)(() => {\n    setIsMounted(true);\n  }, []);\n  if (!isMounted) return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(\"div\", { style: styles });\n  return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(\n    Element,\n    {\n      ref: mergeRefs([trustRef, ref]),\n      className: classes,\n      style: styles,\n      ...dataProps,\n      children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(\n        \"a\",\n        {\n          href: link,\n          target: \"_blank\",\n          rel: \"noopener noreferrer\",\n          className: \"mobius-trust__link\",\n          children: \"Trustpilot\"\n        }\n      )\n    }\n  );\n};\n\n// src/components/ExpandableText/ExpandableText.tsx\nvar import_dedupe58 = __toESM(require(\"classnames/dedupe\"));\nvar import_react52 = require(\"react\");\nvar import_jsx_runtime71 = require(\"react/jsx-runtime\");\nvar ExpandableText = ({ ref, ...props }) => {\n  const {\n    text,\n    maxLines = 3,\n    breakpoint,\n    showText = \"Read more\",\n    hideText = \"Read less\",\n    className,\n    textProps = {},\n    accordionProps = {},\n    onToggle,\n    ...otherProps\n  } = props;\n  const [isExpanded, setIsExpanded] = (0, import_react52.useState)(false);\n  const [isCollapsed, setIsCollapsed] = (0, import_react52.useState)(false);\n  const textRef = (0, import_react52.useRef)(null);\n  const { down } = useBreakpoint();\n  const baseId = (0, import_react52.useId)();\n  const expandButtonId = `expandable-text-expand-${baseId}`;\n  const shouldCollapse = breakpoint ? down(breakpoint) : true;\n  (0, import_react52.useEffect)(() => {\n    if (!shouldCollapse || !textRef.current) {\n      setIsCollapsed(false);\n      return;\n    }\n    const element = textRef.current;\n    const isOverflowing = element.scrollHeight > element.clientHeight;\n    setIsCollapsed(isOverflowing);\n  }, [text, shouldCollapse, maxLines]);\n  if (breakpoint && !shouldCollapse) {\n    return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(\"div\", { ref, className, ...otherProps, children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(TextOrHTML, { text, textWrapper: true, ...textProps }) });\n  }\n  const handleAccordionChange = (expanded) => {\n    setIsExpanded(expanded);\n    onToggle?.(expanded);\n  };\n  const classes = (0, import_dedupe58.default)(\"mobius-expandable-text\", className);\n  const textContainerClasses = (0, import_dedupe58.default)(\"mobius-expandable-text__content\", {\n    \"mobius-expandable-text__content--collapsed\": !isExpanded\n  });\n  const textContainerStyle = {\n    \"--line-clamp\": maxLines\n  };\n  return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(\n    \"div\",\n    {\n      ref,\n      className: classes,\n      \"data-testid\": \"expandable-text\",\n      ...otherProps,\n      children: [\n        /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(\n          \"div\",\n          {\n            ref: textRef,\n            className: textContainerClasses,\n            style: textContainerStyle,\n            \"data-testid\": \"expandable-text-content\",\n            \"aria-describedby\": isCollapsed ? expandButtonId : void 0,\n            children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(TextOrHTML, { elementType: \"span\", textWrapper: true, text, ...textProps })\n          }\n        ),\n        isCollapsed && /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(\n          Accordion,\n          {\n            showText,\n            hideText,\n            headerPosition: \"bottom\",\n            onChange: handleAccordionChange,\n            onClick: (e) => {\n              e?.stopPropagation();\n            },\n            id: expandButtonId,\n            ...accordionProps\n          }\n        )\n      ]\n    }\n  );\n};\nExpandableText.displayName = \"ExpandableText\";\n\n// src/components/MaskedField/MaskedField.tsx\nvar import_react53 = require(\"react\");\nvar import_react_imask = require(\"react-imask\");\nvar import_jsx_runtime72 = require(\"react/jsx-runtime\");\nvar useAcceptHandler = (onChange, useMaskedValue, name) => {\n  return (0, import_react53.useCallback)(\n    (maskedValue, maskInstance) => {\n      if (!onChange) {\n        return;\n      }\n      const formattedValue = maskedValue;\n      const rawValue = maskInstance.unmaskedValue;\n      const valueToEmit = useMaskedValue ? formattedValue : rawValue;\n      onChange({\n        target: { name, value: valueToEmit }\n      });\n    },\n    [onChange, useMaskedValue, name]\n  );\n};\nvar useCombinedRef = (imaskRef, forwardedRef) => {\n  return (0, import_react53.useCallback)(\n    (element) => {\n      imaskRef.current = element;\n      if (typeof forwardedRef === \"function\") {\n        forwardedRef(element);\n      } else if (forwardedRef) {\n        forwardedRef.current = element;\n      }\n    },\n    [imaskRef, forwardedRef]\n  );\n};\nvar useBlurHandler = (onBlur, maskRef, useMaskedValue, name) => {\n  return (0, import_react53.useCallback)(\n    (event) => {\n      if (!onBlur || !maskRef.current) {\n        return;\n      }\n      const formattedValue = maskRef.current.value;\n      const rawValue = maskRef.current.unmaskedValue;\n      const valueToEmit = useMaskedValue ? formattedValue : rawValue;\n      onBlur({\n        ...event,\n        target: { ...event.target, name, value: valueToEmit }\n      });\n    },\n    [onBlur, maskRef, useMaskedValue, name]\n  );\n};\nvar ControlledMaskedField = ({\n  mask,\n  useMaskedValue = false,\n  value,\n  onChange,\n  onBlur,\n  name,\n  forwardedRef,\n  ...textFieldProps\n}) => {\n  const onAccept = useAcceptHandler(onChange, useMaskedValue, name);\n  const { ref: imaskRef, maskRef, setValue } = (0, import_react_imask.useIMask)(mask, { onAccept });\n  const combinedRef = useCombinedRef(imaskRef, forwardedRef);\n  const handleBlur = useBlurHandler(onBlur, maskRef, useMaskedValue, name);\n  (0, import_react53.useEffect)(() => {\n    if (!maskRef.current) {\n      return;\n    }\n    const stringValue = value.toString();\n    const currentMasked = maskRef.current.value;\n    const currentUnmasked = maskRef.current.unmaskedValue;\n    if (currentMasked !== stringValue && currentUnmasked !== stringValue) {\n      setValue(stringValue);\n    }\n  }, [value, maskRef, setValue, imaskRef]);\n  return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(\n    TextField,\n    {\n      ...textFieldProps,\n      ref: combinedRef,\n      name,\n      onBlur: handleBlur\n    }\n  );\n};\nvar UncontrolledMaskedField = ({\n  mask,\n  useMaskedValue = false,\n  defaultValue,\n  onChange,\n  onBlur,\n  name,\n  forwardedRef,\n  ...textFieldProps\n}) => {\n  const onAccept = useAcceptHandler(onChange, useMaskedValue, name);\n  const { ref: imaskRef, maskRef } = (0, import_react_imask.useIMask)(mask, { onAccept });\n  const combinedRef = useCombinedRef(imaskRef, forwardedRef);\n  const handleBlur = useBlurHandler(onBlur, maskRef, useMaskedValue, name);\n  return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(\n    TextField,\n    {\n      ...textFieldProps,\n      ref: combinedRef,\n      name,\n      onBlur: handleBlur,\n      defaultValue: defaultValue?.toString()\n    }\n  );\n};\nvar MaskedField = ({ ref: forwardedRef, ...props }) => {\n  const { value, defaultValue, ...rest } = props;\n  if (\"value\" in props) {\n    return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(\n      ControlledMaskedField,\n      {\n        ...rest,\n        value: value ?? \"\",\n        forwardedRef\n      }\n    );\n  } else {\n    return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(\n      UncontrolledMaskedField,\n      {\n        ...rest,\n        defaultValue,\n        forwardedRef\n      }\n    );\n  }\n};\nMaskedField.displayName = \"MaskedField\";\n"]}