@peerbots/core 0.1.2 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/index.css +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -4
- package/dist/index.mjs +4 -4
- package/package.json +11 -3
- package/src/charts/DistributionBarChart.tsx +2 -2
- package/src/charts/DistributionHistogram.tsx +2 -2
- package/src/docs/DesignSystem.mdx +46 -0
- package/src/styles/theme.css +13 -13
- package/src/ui/Alert.stories.tsx +1 -1
- package/src/ui/Alert.tsx +9 -9
- package/src/ui/Anchor.tsx +1 -1
- package/src/ui/AuthFormUI.stories.tsx +2 -2
- package/src/ui/AuthFormUI.tsx +28 -28
- package/src/ui/BasePanel.stories.tsx +2 -2
- package/src/ui/BasePanel.tsx +5 -5
- package/src/ui/Button.stories.tsx +16 -16
- package/src/ui/Button.tsx +17 -17
- package/src/ui/Checkbox.stories.tsx +6 -6
- package/src/ui/Checkbox.tsx +4 -4
- package/src/ui/Collapsible.stories.tsx +21 -21
- package/src/ui/Collapsible.tsx +3 -3
- package/src/ui/Colors.stories.tsx +23 -23
- package/src/ui/Dialog.stories.tsx +3 -3
- package/src/ui/Dialog.tsx +2 -2
- package/src/ui/Dropdown.tsx +3 -3
- package/src/ui/Field.stories.tsx +19 -19
- package/src/ui/Field.tsx +14 -14
- package/src/ui/Icon.stories.tsx +17 -17
- package/src/ui/Icon.tsx +5 -5
- package/src/ui/Input.stories.tsx +15 -15
- package/src/ui/Input.tsx +8 -8
- package/src/ui/Label.stories.tsx +6 -6
- package/src/ui/Label.tsx +2 -2
- package/src/ui/NumberField.stories.tsx +14 -14
- package/src/ui/NumberField.tsx +9 -9
- package/src/ui/Popover.tsx +2 -2
- package/src/ui/Select.stories.tsx +13 -13
- package/src/ui/Select.tsx +7 -7
- package/src/ui/Separator.stories.tsx +10 -10
- package/src/ui/Separator.tsx +2 -2
- package/src/ui/SettingsPanel.stories.tsx +14 -14
- package/src/ui/SettingsPanel.tsx +5 -5
- package/src/ui/Skeleton.stories.tsx +10 -10
- package/src/ui/Skeleton.tsx +1 -1
- package/src/ui/Slider.stories.tsx +23 -23
- package/src/ui/Slider.tsx +9 -9
- package/src/ui/SliderWithNumberField.stories.tsx +15 -15
- package/src/ui/SliderWithNumberField.tsx +4 -4
- package/src/ui/Switch.stories.tsx +11 -11
- package/src/ui/Switch.tsx +6 -6
- package/src/ui/TabRadio.stories.tsx +16 -16
- package/src/ui/TabRadio.tsx +7 -7
- package/src/ui/TabSelection.stories.tsx +1 -1
- package/src/ui/TabSelection.tsx +8 -8
- package/src/ui/TextArea.stories.tsx +12 -12
- package/src/ui/TextArea.tsx +1 -1
- package/src/ui/Tooltip.stories.tsx +13 -13
- package/src/ui/Tooltip.tsx +3 -3
- package/src/ui/Typography.stories.tsx +16 -16
- package/src/ui/Typography.tsx +11 -11
- package/.changeset/big-loops-drum.md +0 -5
- package/.changeset/deep-brooms-taste.md +0 -5
package/CHANGELOG.md
ADDED
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@import"tailwindcss";@theme{ --color-primary: #46d9d9; --color-dark-primary: var(--color-teal-700); --color-secondary: #e86e8a; --color-accent: #d9e021; --color-accent-hc: #c4cc24; --color-accent-two: #4273ff; --color-accent-two-hc: #516eb5; --color-accent-three: #3f8588; --color-danger: #e86e8a; --color-light-bg: #d8e7eb; --sidebar-bg: #f9ffff; --background-image-gradient-radial: radial-gradient(var(--tw-gradient-stops)); --background-image-gradient-conic: conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops)); --font-sans: "Avenir", "Nunito", sans-serif; }@utility input-base{@apply bg-primary/10 border border-b-2 border-gray-300 focus:border-gray-600 py-2 px-2;}@utility btn-primary{@apply bg-primary hover:bg-dark-primary text-gray-900 font-bold py-1 px-2 my-1 mx-2 rounded-md disabled:bg-gray-400 disabled:hover:bg-gray-300 disabled:cursor-not-allowed cursor-pointer;}@utility btn-secondary{@apply bg-gray-100 hover:bg-gray-200 text-gray-800 font-normal py-1 px-2 my-1 mx-2 rounded-md disabled:bg-gray-400 disabled:hover:bg-gray-300 disabled:cursor-not-allowed cursor-pointer;}@utility btn-danger{@apply bg-danger hover:opacity-80 text-gray-900 font-bold py-1 px-2 my-1 mx-2 rounded-md disabled:bg-gray-400 disabled:hover:bg-gray-300 disabled:cursor-not-allowed cursor-pointer;}@utility range-primary{@apply accent-primary bg-gray-100 rounded-md cursor-pointer;}.range-vertical{writing-mode:vertical-lr}.tooltip,.tooltip-slow{@apply absolute invisible opacity-0;}.has-tooltip:hover+.tooltip{@apply visible opacity-100 z-50 transition-opacity delay-300 ease-in-out;}.has-tooltip:hover+.tooltip-slow{@apply visible opacity-100 z-50 transition-opacity delay-1000 ease-in-out;}
|
|
1
|
+
@import"tailwindcss"prefix(pb);@theme{ --color-primary: #46d9d9; --color-dark-primary: var(--color-teal-700); --color-secondary: #e86e8a; --color-accent: #d9e021; --color-accent-hc: #c4cc24; --color-accent-two: #4273ff; --color-accent-two-hc: #516eb5; --color-accent-three: #3f8588; --color-danger: #e86e8a; --color-light-bg: #d8e7eb; --sidebar-bg: #f9ffff; --background-image-gradient-radial: radial-gradient(var(--tw-gradient-stops)); --background-image-gradient-conic: conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops)); --font-sans: "Avenir", "Nunito", sans-serif; }@utility input-base{@apply pb:bg-primary/10 pb:border pb:border-b-2 pb:border-gray-300 pb:focus:border-gray-600 pb:py-2 pb:px-2;}@utility btn-primary{@apply pb:bg-primary pb:hover:bg-dark-primary pb:text-gray-900 pb:font-bold pb:py-1 pb:px-2 pb:my-1 pb:mx-2 pb:rounded-md pb:disabled:bg-gray-400 pb:disabled:hover:bg-gray-300 pb:disabled:cursor-not-allowed pb:cursor-pointer;}@utility btn-secondary{@apply pb:bg-gray-100 pb:hover:bg-gray-200 pb:text-gray-800 pb:font-normal pb:py-1 pb:px-2 pb:my-1 pb:mx-2 pb:rounded-md pb:disabled:bg-gray-400 pb:disabled:hover:bg-gray-300 pb:disabled:cursor-not-allowed pb:cursor-pointer;}@utility btn-danger{@apply pb:bg-danger pb:hover:opacity-80 pb:text-gray-900 pb:font-bold pb:py-1 pb:px-2 pb:my-1 pb:mx-2 pb:rounded-md pb:disabled:bg-gray-400 pb:disabled:hover:bg-gray-300 pb:disabled:cursor-not-allowed pb:cursor-pointer;}@utility range-primary{@apply pb:accent-primary pb:bg-gray-100 pb:rounded-md pb:cursor-pointer;}.range-vertical{writing-mode:vertical-lr}.pb-tooltip,.pb-tooltip-slow{@apply pb:absolute pb:invisible pb:opacity-0;}.pb-has-tooltip:hover+.pb-tooltip{@apply pb:visible pb:opacity-100 pb:z-50 pb:transition-opacity pb:delay-300 pb:ease-in-out;}.pb-has-tooltip:hover+.pb-tooltip-slow{@apply pb:visible pb:opacity-100 pb:z-50 pb:transition-opacity pb:delay-1000 pb:ease-in-out;}
|
package/dist/index.d.mts
CHANGED
|
@@ -701,4 +701,4 @@ interface DistributionHistogramProps {
|
|
|
701
701
|
}
|
|
702
702
|
declare function DistributionHistogram({ data, alt, label, average, referenceLineValue, referenceLineLabel, chartWidth, chartHeight, }: DistributionHistogramProps): react_jsx_runtime.JSX.Element | null;
|
|
703
703
|
|
|
704
|
-
export { Alert, type AlertAction, type AlertLevel, type AlertUIProps, Anchor, type AnchorProps, type AuthFormMode, AuthFormUI, type AuthFormUIProps, BasePanel, type BasePanelProps, Button, type ButtonProps, Checkbox, type CheckboxProps, Collapsible, type CollapsibleProps, Dialog, DialogClose, DialogDescription, type DialogProps, DialogTitle, DistributionBarChart, type DistributionBarChartProps, type DistributionBarData, DistributionHistogram, type DistributionHistogramData, type DistributionHistogramProps, Dropdown, DropdownItem, type DropdownProps, DropdownSeparator, Field, type FieldProps, Heading, HelperTooltip, type HelperTooltipProps, Icon, type IconName, type IconProps, Input, type InputProps, Label, type LabelProps, NumberField, type NumberFieldProps, Popover, type PopoverProps, SEO, Select, type SelectOption, type SelectProps, Separator, type SeparatorProps, SettingsPanel, type SettingsPanelProps, Skeleton, type SkeletonProps, Slider, type SliderProps, SliderWithNumberField, type SliderWithNumberFieldProps, Switch, type SwitchProps, type TabItem, TabRadio, type TabRadioOption, type TabRadioProps, TabSelection, type TabSelectionProps, Text, TextArea, type TextAreaProps, Tooltip, type TooltipProps, TypographyList, cn };
|
|
704
|
+
export { Alert, type AlertAction, type AlertLevel, type AlertUIProps, Anchor, type AnchorProps, type AuthFormMode, AuthFormUI, type AuthFormUIProps, BasePanel, type BasePanelProps, Button, type ButtonProps, Checkbox, type CheckboxProps, Collapsible, type CollapsibleProps, Dialog, DialogClose, DialogDescription, type DialogProps, DialogTitle, DistributionBarChart, type DistributionBarChartProps, type DistributionBarData, DistributionHistogram, type DistributionHistogramData, type DistributionHistogramProps, Dropdown, DropdownItem, type DropdownProps, DropdownSeparator, Field, type FieldProps, Heading, HelperTooltip, type HelperTooltipProps, Icon, type IconName, type IconProps, Input, type InputProps, Label, type LabelProps, NumberField, type NumberFieldProps, Popover, type PopoverProps, SEO, Select, type SelectOption, type SelectProps, Separator, type SeparatorProps, SettingsPanel, type SettingsPanelProps, Skeleton, type SkeletonProps, Slider, type SliderProps, SliderWithNumberField, type SliderWithNumberFieldProps, Switch, type SwitchProps, type TabItem, TabRadio, type TabRadioOption, type TabRadioProps, TabSelection, type TabSelectionProps, Text, TextArea, type TextAreaProps, Tooltip, type TooltipProps, TypographyList, cn, iconPaths };
|
package/dist/index.d.ts
CHANGED
|
@@ -701,4 +701,4 @@ interface DistributionHistogramProps {
|
|
|
701
701
|
}
|
|
702
702
|
declare function DistributionHistogram({ data, alt, label, average, referenceLineValue, referenceLineLabel, chartWidth, chartHeight, }: DistributionHistogramProps): react_jsx_runtime.JSX.Element | null;
|
|
703
703
|
|
|
704
|
-
export { Alert, type AlertAction, type AlertLevel, type AlertUIProps, Anchor, type AnchorProps, type AuthFormMode, AuthFormUI, type AuthFormUIProps, BasePanel, type BasePanelProps, Button, type ButtonProps, Checkbox, type CheckboxProps, Collapsible, type CollapsibleProps, Dialog, DialogClose, DialogDescription, type DialogProps, DialogTitle, DistributionBarChart, type DistributionBarChartProps, type DistributionBarData, DistributionHistogram, type DistributionHistogramData, type DistributionHistogramProps, Dropdown, DropdownItem, type DropdownProps, DropdownSeparator, Field, type FieldProps, Heading, HelperTooltip, type HelperTooltipProps, Icon, type IconName, type IconProps, Input, type InputProps, Label, type LabelProps, NumberField, type NumberFieldProps, Popover, type PopoverProps, SEO, Select, type SelectOption, type SelectProps, Separator, type SeparatorProps, SettingsPanel, type SettingsPanelProps, Skeleton, type SkeletonProps, Slider, type SliderProps, SliderWithNumberField, type SliderWithNumberFieldProps, Switch, type SwitchProps, type TabItem, TabRadio, type TabRadioOption, type TabRadioProps, TabSelection, type TabSelectionProps, Text, TextArea, type TextAreaProps, Tooltip, type TooltipProps, TypographyList, cn };
|
|
704
|
+
export { Alert, type AlertAction, type AlertLevel, type AlertUIProps, Anchor, type AnchorProps, type AuthFormMode, AuthFormUI, type AuthFormUIProps, BasePanel, type BasePanelProps, Button, type ButtonProps, Checkbox, type CheckboxProps, Collapsible, type CollapsibleProps, Dialog, DialogClose, DialogDescription, type DialogProps, DialogTitle, DistributionBarChart, type DistributionBarChartProps, type DistributionBarData, DistributionHistogram, type DistributionHistogramData, type DistributionHistogramProps, Dropdown, DropdownItem, type DropdownProps, DropdownSeparator, Field, type FieldProps, Heading, HelperTooltip, type HelperTooltipProps, Icon, type IconName, type IconProps, Input, type InputProps, Label, type LabelProps, NumberField, type NumberFieldProps, Popover, type PopoverProps, SEO, Select, type SelectOption, type SelectProps, Separator, type SeparatorProps, SettingsPanel, type SettingsPanelProps, Skeleton, type SkeletonProps, Slider, type SliderProps, SliderWithNumberField, type SliderWithNumberFieldProps, Switch, type SwitchProps, type TabItem, TabRadio, type TabRadioOption, type TabRadioProps, TabSelection, type TabSelectionProps, Text, TextArea, type TextAreaProps, Tooltip, type TooltipProps, TypographyList, cn, iconPaths };
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"use strict";var ht=Object.create;var se=Object.defineProperty;var bt=Object.getOwnPropertyDescriptor;var xt=Object.getOwnPropertyNames;var vt=Object.getPrototypeOf,yt=Object.prototype.hasOwnProperty;var wt=(e,t)=>{for(var r in t)se(e,r,{get:t[r],enumerable:!0})},Pe=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of xt(t))!yt.call(e,o)&&o!==r&&se(e,o,{get:()=>t[o],enumerable:!(a=bt(t,o))||a.enumerable});return e};var w=(e,t,r)=>(r=e!=null?ht(vt(e)):{},Pe(t||!e||!e.__esModule?se(r,"default",{value:e,enumerable:!0}):r,e)),Nt=e=>Pe(se({},"__esModule",{value:!0}),e);var Ut={};wt(Ut,{Alert:()=>Et,Anchor:()=>tt,AuthFormUI:()=>Vt,BasePanel:()=>Ht,Button:()=>x,Checkbox:()=>it,Collapsible:()=>xe,Dialog:()=>Ct,DialogClose:()=>Lt,DialogDescription:()=>Pt,DialogTitle:()=>Tt,DistributionBarChart:()=>gt,DistributionHistogram:()=>ut,Dropdown:()=>St,DropdownItem:()=>Xe,DropdownSeparator:()=>Je,Field:()=>oe,Heading:()=>A,HelperTooltip:()=>be,Icon:()=>u,Input:()=>te,Label:()=>we,NumberField:()=>de,Popover:()=>Bt,SEO:()=>Wt,Select:()=>Ee,Separator:()=>lt,SettingsPanel:()=>At,Skeleton:()=>zt,Slider:()=>le,SliderWithNumberField:()=>qe,Switch:()=>Qe,TabRadio:()=>It,TabSelection:()=>Ft,Text:()=>C,TextArea:()=>ot,Tooltip:()=>$e,TypographyList:()=>Mt,cn:()=>l});module.exports=Nt(Ut);var Se=require("@base-ui/react"),He=w(require("react"));var Le=require("clsx"),Be=require("tailwind-merge");function l(...e){return(0,Be.twMerge)((0,Le.clsx)(e))}var _=require("react/jsx-runtime"),x=He.default.forwardRef(({className:e,variant:t="primary",size:r="md",isLoading:a=!1,leftIcon:o,rightIcon:n,children:s,disabled:g,render:f,nativeButton:v,isIconOnly:p,...b},h)=>{let m=p||!s&&(!!o||!!n),y={primary:"bg-primary hover:bg-dark-primary text-gray-900 shadow-sm border border-transparent font-bold disabled:bg-gray-400 disabled:hover:bg-gray-300",secondary:"bg-gray-100 hover:bg-gray-200 text-gray-800 border-gray-200 border font-normal disabled:bg-gray-400 disabled:hover:bg-gray-300",danger:"bg-danger hover:opacity-80 text-gray-900 shadow-sm border border-transparent font-bold disabled:bg-gray-400 disabled:hover:bg-gray-300",ghost:"bg-transparent hover:bg-gray-100 text-gray-700 hover:text-gray-900 font-medium","ghostly-danger":"bg-transparent hover:bg-danger/10 text-red-700 border border-red-700 font-medium disabled:border-gray-400 disabled:text-gray-400"},F={sm:m?"p-1 text-xs":"px-2 py-1 text-xs",md:m?"p-2 text-sm":"px-4 py-2 text-sm",lg:m?"p-3 text-base":"px-6 py-3 text-base"};return(0,_.jsxs)(Se.Button,{ref:h,render:f,nativeButton:v,className:l("inline-flex items-center justify-center rounded-md transition-colors focus:outline-none focus:ring-2 focus:ring-primary focus:ring-offset-2 disabled:cursor-not-allowed cursor-pointer",y[t],F[r],e),disabled:g||a,...b,children:[a&&(0,_.jsxs)("svg",{className:l("animate-spin h-4 w-4",!m&&"mr-2 -ml-1"),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,_.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,_.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),!a&&o&&(0,_.jsx)("span",{className:l("inline-flex items-center justify-center",!m&&"mr-2 -ml-1"),children:o}),s,!a&&n&&(0,_.jsx)("span",{className:l("inline-flex items-center justify-center",!m&&"ml-2 -mr-1"),children:n})]})});x.displayName="Button";var ge=require("@base-ui/react"),De=w(require("react"));var Z=require("react/jsx-runtime"),te=De.default.forwardRef(({className:e,leftIcon:t,rightIcon:r,id:a,...o},n)=>{let s=l("block w-full rounded-md border-0 px-1.5 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-primary sm:text-sm sm:leading-6 bg-primary/10 appearance-none",t&&"pl-10",r&&"pr-10",e);return!t&&!r?(0,Z.jsx)(ge.Input,{ref:n,id:a,className:s,...o}):(0,Z.jsxs)("div",{className:"relative",children:[t&&(0,Z.jsx)("div",{className:"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3",children:(0,Z.jsx)("span",{className:"text-gray-500 sm:text-sm",children:t})}),(0,Z.jsx)(ge.Input,{ref:n,id:a,className:s,...o}),r&&(0,Z.jsx)("div",{className:"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3",children:(0,Z.jsx)("span",{className:"text-gray-500 sm:text-sm",children:r})})]})});te.displayName="Input";var ue=w(require("react")),I=require("@base-ui/react");var ze=w(require("react"));var i=require("react/jsx-runtime"),d={check:"M20 6 9 17l-5-5",x:"M18 6 6 18M6 6l12 12",edit:"M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L6.832 19.82a4.5 4.5 0 01-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 011.13-1.897L16.863 4.487zm0 0L19.5 7.125",close:"M6 18L18 6M6 6l12 12",plus:"M12 4.5v15m7.5-7.5h-15",arrowDown:"M19.5 13.5L12 21m0 0l-7.5-7.5M12 21V3",arrowUp:"M4.5 10.5L12 3m0 0l7.5 7.5M12 3v18",clipboard:"M15.75 17.25v3.375c0 .621-.504 1.125-1.125 1.125h-9.75a1.125 1.125 0 0 1-1.125-1.125V7.875c0-.621.504-1.125 1.125-1.125H6.75a9.06 9.06 0 0 1 1.5.124m7.5 10.376h3.375c.621 0 1.125-.504 1.125-1.125V11.25c0-4.46-3.243-8.161-7.5-8.876a9.06 9.06 0 0 0-1.5-.124H9.375c-.621 0-1.125.504-1.125 1.125v3.5m7.5 10.375H9.375a1.125 1.125 0 0 1-1.125-1.125v-9.25m12 6.625v-1.875a3.375 3.375 0 0 0-3.375-3.375h-1.5a1.125 1.125 0 0 1-1.125-1.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H9.75",cloudArrowUp:"M12 16.5V9.75m0 0 3 3m-3-3-3 3M6.75 19.5a4.5 4.5 0 0 1-1.41-8.775 5.25 5.25 0 0 1 10.233-2.33 3 3 0 0 1 3.758 3.848A3.752 3.752 0 0 1 18 19.5H6.75Z",arrowDownToLine:"M9 12l3 3m0 0 3-3m-3 3V2.25",folder:"M9 8.25H7.5a2.25 2.25 0 0 0-2.25 2.25v9a2.25 2.25 0 0 0 2.25 2.25h9a2.25 2.25 0 0 0 2.25-2.25v-9a2.25 2.25 0 0 0-2.25-2.25H15m0-3-3-3m0 0-3 3m3-3V15",arrowUpFromLine:"M9 8.25H7.5a2.25 2.25 0 0 0-2.25 2.25v9a2.25 2.25 0 0 0 2.25 2.25h9a2.25 2.25 0 0 0 2.25-2.25v-9a2.25 2.25 0 0 0-2.25-2.25H15m0-3-3-3m0 0-3 3m3-3V15",squares:"M2.25 7.125C2.25 6.504 2.754 6 3.375 6h6c.621 0 1.125.504 1.125 1.125v3.75c0 .621-.504 1.125-1.125 1.125h-6a1.125 1.125 0 0 1-1.125-1.125v-3.75ZM14.25 8.625c0-.621.504-1.125 1.125-1.125h5.25c.621 0 1.125.504 1.125 1.125v8.25c0 .621-.504 1.125-1.125 1.125h-5.25a1.125 1.125 0 0 1-1.125-1.125v-8.25ZM3.75 16.125c0-.621.504-1.125 1.125-1.125h5.25c.621 0 1.125.504 1.125 1.125v2.25c0 .621-.504 1.125-1.125 1.125h-5.25a1.125 1.125 0 0 1-1.125-1.125v-2.25Z",tableCells:"M3.375 19.5h17.25m-17.25 0a1.125 1.125 0 0 1-1.125-1.125M3.375 19.5h7.5c.621 0 1.125-.504 1.125-1.125m-9.75 0V5.625m0 12.75v-1.5c0-.621.504-1.125 1.125-1.125m18.375 2.625V5.625m0 12.75c0 .621-.504 1.125-1.125 1.125m1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125m0 3.75h-7.5A1.125 1.125 0 0 1 12 18.375m9.75-12.75c0-.621-.504-1.125-1.125-1.125H3.375c-.621 0-1.125.504-1.125 1.125m19.5 0v1.5c0 .621-.504 1.125-1.125 1.125M2.25 5.625v1.5c0 .621.504 1.125 1.125 1.125m0 0h17.25m-17.25 0h7.5c.621 0 1.125.504 1.125 1.125M3.375 8.25c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125m17.25-3.75h-7.5c-.621 0-1.125.504-1.125 1.125m8.625-1.125c.621 0 1.125.504 1.125 1.125v1.5c0 .621-.504 1.125-1.125 1.125m-17.25 0h7.5m-7.5 0c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125M12 10.875v-1.5m0 1.5c0 .621-.504 1.125-1.125 1.125M12 10.875c0 .621.504 1.125 1.125 1.125m-2.25 0c.621 0 1.125.504 1.125 1.125M13.125 12h7.5m-7.5 0c-.621 0-1.125.504-1.125 1.125M20.625 12c.621 0 1.125.504 1.125 1.125v1.5c0 .621-.504 1.125-1.125 1.125m-17.25 0h7.5M12 14.625v-1.5m0 1.5c0 .621-.504 1.125-1.125 1.125M12 14.625c0 .621.504 1.125 1.125 1.125m-2.25 0c.621 0 1.125.504 1.125 1.125m0 1.5v-1.5m0 0c0-.621.504-1.125 1.125-1.125m0 0h7.5",arrowsRightLeft:"M7.5 21 3 16.5m0 0L7.5 12M3 16.5h13.5m0-13.5L21 7.5m0 0L16.5 12M21 7.5H7.5",document:"M9 12h3.75M9 15h3.75M9 18h3.75m3 .75H18a2.25 2.25 0 002.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 00-1.123-.08m-5.801 0c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 00.75-.75 2.25 2.25 0 00-.1-.664m-5.8 0A2.251 2.251 0 0113.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m0 0H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V9.375c0-.621-.504-1.125-1.125-1.125H8.25zM6.75 12h.008v.008H6.75V12zm0 3h.008v.008H6.75V15zm0 3h.008v.008H6.75V18z",externalLink:"M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25",lock:"M16.5 10.5V6.75a4.5 4.5 0 1 0-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 0 0 2.25-2.25v-6.75a2.25 2.25 0 0 0-2.25-2.25H6.75a2.25 2.25 0 0 0-2.25 2.25v6.75a2.25 2.25 0 0 0 2.25 2.25Z",shoppingCart:"M2.25 3h1.386c.51 0 .955.343 1.087.835l.383 1.437M7.5 14.25a3 3 0 00-3 3h15.75m-12.75-3h11.218c1.121-2.3 2.1-4.684 2.924-7.138a60.114 60.114 0 00-16.536-1.84M7.5 14.25L5.106 5.272M6 20.25a.75.75 0 11-1.5 0 .75.75 0 011.5 0zm12.75 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",minus:"M5 12h14",pencilSquare:"M21.731 2.269a2.625 2.625 0 0 0-3.712 0l-1.157 1.157 3.712 3.712 1.157-1.157a2.625 2.625 0 0 0 0-3.712ZM19.513 8.199l-3.712-3.712-8.4 8.4a5.25 5.25 0 0 0-1.32 2.214l-.8 2.685a.75.75 0 0 0 .933.933l2.685-.8a5.25 5.25 0 0 0 2.214-1.32l8.4-8.4Z",pencilSquareContinued:"M5.25 5.25a3 3 0 0 0-3 3v10.5a3 3 0 0 0 3 3h10.5a3 3 0 0 0 3-3V13.5a.75.75 0 0 0-1.5 0v5.25a1.5 1.5 0 0 1-1.5 1.5H5.25a1.5 1.5 0 0 1-1.5-1.5V8.25a1.5 1.5 0 0 1 1.5-1.5h5.25a.75.75 0 0 0 0-1.5H5.25Z",chevronUpSmall:"M4.5 15.75l7.5-7.5 7.5 7.5",chevronDownSmall:"M19.5 8.25l-7.5 7.5-7.5-7.5",chevronUpTable:"M8.25 6.75 12 3m0 0 3.75 3.75M12 3v18",chevronDownTable:"M15.75 17.25 12 21m0 0-3.75-3.75M12 21V3",speakerWave:"M19.114 5.636a9 9 0 010 12.728M16.463 8.288a5.25 5.25 0 010 7.424M6.75 8.25l4.72-4.72a.75.75 0 011.28.53v15.88a.75.75 0 01-1.28.53l-4.72-4.72H4.51c-.88 0-1.704-.507-1.938-1.354A9.01 9.01 0 012.25 12c0-.83.112-1.633.322-2.396C2.806 8.756 3.63 8.25 4.51 8.25H6.75z",zap:"m3.75 13.5 10.5-11.25L12 10.5h8.25L9.75 21.75 12 13.5H3.75Z",code:"M17.25 6.75L22.5 12l-5.25 5.25m-10.5 0L1.5 12l5.25-5.25m7.5-3l-4.5 16.5",questionMarkCircle:"M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9 5.25h.008v.008H12v-.008z",search:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z",exclamationCircle:"M12 9v3.75m9-.75a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 3.75h.008v.008H12v-.008Z",exclamationTriangle:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z",checkCircle:"M9 12.75 11.25 15 15 9.75M21 12c0 1.268-.63 2.39-1.593 3.068a3.745 3.745 0 0 1-1.043 3.296 3.745 3.745 0 0 1-3.296 1.043A3.745 3.745 0 0 1 12 21c-1.268 0-2.39-.63-3.068-1.593a3.746 3.746 0 0 1-3.296-1.043 3.745 3.745 0 0 1-1.043-3.296A3.745 3.745 0 0 1 3 12c0-1.268.63-2.39 1.593-3.068a3.745 3.745 0 0 1 1.043-3.296 3.746 3.746 0 0 1 3.296-1.043A3.746 3.746 0 0 1 12 3c1.268 0 2.39.63 3.068 1.593a3.746 3.746 0 0 1 3.296 1.043 3.746 3.746 0 0 1 1.043 3.296A3.745 3.745 0 0 1 21 12Z",megaphone:"M10.34 15.84c-.688-.06-1.386-.09-2.09-.09H7.5a4.5 4.5 0 1 1 0-9h.75c.704 0 1.402-.03 2.09-.09m0 9.18c.253.962.584 1.892.985 2.783.247.55.06 1.21-.463 1.511l-.657.38c-.551.318-1.26.117-1.527-.461a20.845 20.845 0 0 1-1.44-4.282m3.102.069a18.03 18.03 0 0 1-.59-4.59c0-1.586.205-3.124.59-4.59m0 9.18a23.848 23.848 0 0 1 8.835 2.535M10.34 6.66a23.847 23.847 0 0 0 8.835-2.535m0 0A23.74 23.74 0 0 0 18.795 3m.38 1.125a23.91 23.91 0 0 1 1.014 5.395m-1.014 8.855c-.118.38-.245.754-.38 1.125m.38-1.125a23.91 23.91 0 0 0 1.014-5.395m0-3.46c.495.413.811 1.035.811 1.73 0 .695-.316 1.317-.811 1.73m0-3.46a24.347 24.347 0 0 1 0 3.46",xCircle:"m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z",arrowsPointingIn:"M9 9V4.5M9 9H4.5M9 9 3.75 3.75M9 15v4.5M9 15H4.5M9 15l-5.25 5.25M15 9h4.5M15 9V4.5M15 9l5.25-5.25M15 15h4.5M15 15v4.5m0-4.5 5.25 5.25",arrowsPointingOut:"M3.75 3.75v4.5m0-4.5h4.5m-4.5 0L9 9M3.75 20.25v-4.5m0 4.5h4.5m-4.5 0L9 15M20.25 3.75h-4.5m4.5 0v4.5m0-4.5L15 9m5.25 11.25h-4.5m4.5 0v-4.5m0 4.5L15 15",arrowPath:"M19.5 12c0-1.232-.046-2.453-.138-3.662a4.006 4.006 0 0 0-3.7-3.7 48.678 48.678 0 0 0-7.324 0 4.006 4.006 0 0 0-3.7 3.7c-.017.22-.032.441-.046.662M19.5 12l3-3m-3 3-3-3m-12 3c0 1.232.046 2.453.138 3.662a4.006 4.006 0 0 0 3.7 3.7 48.656 48.656 0 0 0 7.324 0 4.006 4.006 0 0 0 3.7-3.7c.017-.22.032-.441.046-.662M4.5 12l3 3m-3-3-3 3",arrowUturnLeft:"M9 15 3 9m0 0 6-6M3 9h12a6 6 0 0 1 0 12h-3",magnifyingGlassPlus:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607ZM10.5 7.5v6m3-3h-6",arrowsUpDown:"M3 7.5 7.5 3m0 0L12 7.5M7.5 3v13.5m13.5 0L16.5 21m0 0L12 16.5m4.5 4.5V7.5",envelope:"M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z",lockClosed:"M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z",userCircle:"M17.982 18.725A7.488 7.488 0 0012 15.75a7.488 7.488 0 00-5.982 2.975m11.963 0a9 9 0 10-11.963 0m11.963 0A8.966 8.966 0 0112 21a8.966 8.966 0 01-5.982-2.275M15 9.75a3 3 0 11-6 0 3 3 0 016 0z",arrowRightOnRectangle:"M15.75 9V5.25A2.25 2.25 0 0 0 13.5 3h-6a2.25 2.25 0 0 0-2.25 2.25v13.5A2.25 2.25 0 0 0 7.5 21h6a2.25 2.25 0 0 0 2.25-2.25V15m3 0 3-3m0 0-3-3m3 3H9",chevronRight:"m8.25 4.5 7.5 7.5-7.5 7.5",arrowDownTray:"M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5M16.5 12 12 16.5m0 0L7.5 12m4.5 4.5V3",arrowUpTray:"M3 7.5V5.25A2.25 2.25 0 0 1 5.25 3h13.5A2.25 2.25 0 0 1 21 5.25V7.5m-4.5 4.5L12 7.5m0 0L7.5 12m4.5-4.5v13.5",import:"M9 8.25H7.5a2.25 2.25 0 0 0-2.25 2.25v9a2.25 2.25 0 0 0 2.25 2.25h9a2.25 2.25 0 0 0 2.25-2.25v-9a2.25 2.25 0 0 0-2.25-2.25H15M9 12l3 3m0 0 3-3m-3 3V2.25",export:"M9 8.25H7.5a2.25 2.25 0 0 0-2.25 2.25v9a2.25 2.25 0 0 0 2.25 2.25h9a2.25 2.25 0 0 0 2.25-2.25v-9a2.25 2.25 0 0 0-2.25-2.25H15m0-3-3-3m0 0-3 3m3-3V15",home:"m2.25 12 8.954-8.955c.44-.439 1.152-.439 1.591 0L21.75 12M4.5 9.75v10.125c0 .621.504 1.125 1.125 1.125H9.75v-4.875c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21h4.125c.621 0 1.125-.504 1.125-1.125V9.75M8.25 21h8.25",play:"M5 3l14 9-14 9V3z"},Ie={eye:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("path",{d:"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"}),(0,i.jsx)("path",{d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})]}),google:(0,i.jsxs)("g",{transform:"matrix(1, 0, 0, 1, 27.009001, -39.238998)",children:[(0,i.jsx)("path",{fill:"#4285F4",stroke:"none",d:"M -3.264 51.509 C -3.264 50.719 -3.334 49.969 -3.454 49.239 L -14.754 49.239 L -14.754 53.749 L -8.284 53.749 C -8.574 55.229 -9.424 56.479 -10.684 57.329 L -10.684 60.329 L -6.824 60.329 C -4.564 58.239 -3.264 55.159 -3.264 51.509 Z"}),(0,i.jsx)("path",{fill:"#34A853",stroke:"none",d:"M -14.754 63.239 C -11.514 63.239 -8.804 62.159 -6.824 60.329 L -10.684 57.329 C -11.764 58.049 -13.134 58.489 -14.754 58.489 C -17.884 58.489 -20.534 56.379 -21.484 53.529 L -25.464 53.529 L -25.464 56.619 C -23.494 60.539 -19.444 63.239 -14.754 63.239 Z"}),(0,i.jsx)("path",{fill:"#FBBC05",stroke:"none",d:"M -21.484 53.529 C -21.734 52.809 -21.864 52.039 -21.864 51.239 C -21.864 50.439 -21.724 49.669 -21.484 48.949 L -21.484 45.859 L -25.464 45.859 C -26.284 47.479 -26.754 49.299 -26.754 51.239 C -26.754 53.179 -26.284 54.999 -25.464 56.619 L -21.484 53.529 Z"}),(0,i.jsx)("path",{fill:"#EA4335",stroke:"none",d:"M -14.754 43.989 C -12.984 43.989 -11.404 44.599 -10.154 45.789 L -6.734 42.369 C -8.804 40.429 -11.514 39.239 -14.754 39.239 C -19.444 39.239 -23.494 41.939 -25.464 45.859 L -21.484 48.949 C -20.534 46.099 -17.884 43.989 -14.754 43.989 Z"})]})},Ae={check:(0,i.jsx)("path",{d:d.check}),x:(0,i.jsx)("path",{d:d.x}),edit:(0,i.jsx)("path",{d:d.edit}),close:(0,i.jsx)("path",{d:d.close}),plus:(0,i.jsx)("path",{d:d.plus}),arrowDown:(0,i.jsx)("path",{d:d.arrowDown}),arrowUp:(0,i.jsx)("path",{d:d.arrowUp}),clipboard:(0,i.jsx)("path",{d:d.clipboard}),cloudArrowUp:(0,i.jsx)("path",{d:d.cloudArrowUp}),arrowDownToLine:(0,i.jsx)("path",{d:d.arrowDownToLine}),folder:(0,i.jsx)("path",{d:d.folder}),arrowUpFromLine:(0,i.jsx)("path",{d:d.arrowUpFromLine}),arrowRightOnRectangle:(0,i.jsx)("path",{d:d.arrowRightOnRectangle}),squares:(0,i.jsx)("path",{d:d.squares}),tableCells:(0,i.jsx)("path",{d:d.tableCells}),arrowsRightLeft:(0,i.jsx)("path",{d:d.arrowsRightLeft}),document:(0,i.jsx)("path",{d:d.document}),externalLink:(0,i.jsx)("path",{d:d.externalLink}),lock:(0,i.jsx)("path",{d:d.lock}),shoppingCart:(0,i.jsx)("path",{d:d.shoppingCart}),minus:(0,i.jsx)("path",{d:d.minus}),pencilSquare:(0,i.jsx)("path",{d:d.pencilSquare}),pencilSquareContinued:(0,i.jsx)("path",{d:d.pencilSquareContinued}),chevronDownSmall:(0,i.jsx)("path",{d:d.chevronDownSmall}),chevronUpSmall:(0,i.jsx)("path",{d:d.chevronUpSmall}),chevronDownTable:(0,i.jsx)("path",{d:d.chevronDownTable}),chevronUpTable:(0,i.jsx)("path",{d:d.chevronUpTable}),speakerWave:(0,i.jsx)("path",{d:d.speakerWave}),zap:(0,i.jsx)("path",{d:d.zap}),code:(0,i.jsx)("path",{d:d.code}),questionMarkCircle:(0,i.jsx)("path",{d:d.questionMarkCircle}),search:(0,i.jsx)("path",{d:d.search}),exclamationCircle:(0,i.jsx)("path",{d:d.exclamationCircle}),exclamationTriangle:(0,i.jsx)("path",{d:d.exclamationTriangle}),checkCircle:(0,i.jsx)("path",{d:d.checkCircle}),megaphone:(0,i.jsx)("path",{d:d.megaphone}),xCircle:(0,i.jsx)("path",{d:d.xCircle}),arrowsPointingIn:(0,i.jsx)("path",{d:d.arrowsPointingIn}),arrowsPointingOut:(0,i.jsx)("path",{d:d.arrowsPointingOut}),arrowPath:(0,i.jsx)("path",{d:d.arrowPath}),arrowUturnLeft:(0,i.jsx)("path",{d:d.arrowUturnLeft}),magnifyingGlassPlus:(0,i.jsx)("path",{d:d.magnifyingGlassPlus}),arrowsUpDown:(0,i.jsx)("path",{d:d.arrowsUpDown}),envelope:(0,i.jsx)("path",{d:d.envelope}),lockClosed:(0,i.jsx)("path",{d:d.lockClosed}),userCircle:(0,i.jsx)("path",{d:d.userCircle}),chevronRight:(0,i.jsx)("path",{d:d.chevronRight}),arrowDownTray:(0,i.jsx)("path",{d:d.arrowDownTray}),arrowUpTray:(0,i.jsx)("path",{d:d.arrowUpTray}),import:(0,i.jsx)("path",{d:d.import}),export:(0,i.jsx)("path",{d:d.export}),home:(0,i.jsx)("path",{d:d.home}),play:(0,i.jsx)("path",{d:d.play}),eye:Ie.eye,google:Ie.google};var Ve=require("react/jsx-runtime"),u=ze.default.forwardRef(({className:e,size:t="md",name:r,children:a,...o},n)=>{let s={sm:"w-3 h-3",md:"w-4 h-4",lg:"w-6 h-6",xl:"w-8 h-8"},g=r?Ae[r]:a;return(0,Ve.jsx)("svg",{ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:l(s[t],"inline-block",e),...o,children:g})});u.displayName="Icon";var N=require("react/jsx-runtime"),Ee=ue.default.forwardRef(({className:e,options:t,id:r,value:a,defaultValue:o,onChange:n,disabled:s,placeholder:g="Select...",onFocus:f,...v},p)=>{let b=ue.default.useId(),h=r||b;return(0,N.jsx)("div",{className:"w-full",children:(0,N.jsxs)(I.Select.Root,{value:a===void 0?null:String(a),defaultValue:o===void 0?void 0:String(o),onValueChange:(m,y)=>{if(n){let F=y?.event||y;n(m,F)}},disabled:s,children:[(0,N.jsxs)(I.Select.Trigger,{ref:p,id:h,className:l("flex w-full items-center justify-between rounded-md border-0 py-1.5 pl-3 pr-3 text-gray-900 ring-1 ring-inset ring-gray-300 focus:ring-2 focus:ring-primary sm:text-sm sm:leading-6 bg-primary/10 min-h-[36px]",s&&"opacity-50 cursor-not-allowed",e),onFocus:f,...v,children:[(0,N.jsx)(I.Select.Value,{placeholder:g}),(0,N.jsx)(I.Select.Icon,{children:(0,N.jsx)(u,{size:"sm",children:(0,N.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"})})})]}),(0,N.jsx)(I.Select.Portal,{children:(0,N.jsx)(I.Select.Positioner,{sideOffset:4,className:"z-50 w-[var(--anchor-width)]",children:(0,N.jsx)(I.Select.Popup,{className:"max-h-60 overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm",children:t.map((m,y)=>{let F=typeof m=="object"?m.label:m,K=typeof m=="object"?m.value:m;return(0,N.jsxs)(I.Select.Item,{value:K,className:"relative cursor-default select-none py-2 pl-3 pr-9 text-gray-900 hover:bg-gray-100 data-[highlighted]:bg-gray-100 data-[selected]:font-semibold",children:[(0,N.jsx)(I.Select.ItemText,{children:F}),(0,N.jsx)(I.Select.ItemIndicator,{className:"absolute inset-y-0 right-0 flex items-center pr-4 text-primary",children:(0,N.jsx)(u,{size:"sm",children:(0,N.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 12.75l6 6 9-13.5"})})})]},`${K}-${y}`)})})})})]})})});Ee.displayName="Select";var fe=w(require("react")),Fe=require("clsx"),We=require("tailwind-merge"),W=require("react/jsx-runtime");function Ue(...e){return(0,We.twMerge)((0,Fe.clsx)(e))}var kt={1:"text-4xl font-bold",2:"text-3xl font-bold",3:"text-2xl font-bold",4:"text-xl font-bold",5:"text-lg font-bold",6:"text-base font-bold"},Rt={default:"text-base text-slate-950",muted:"text-sm text-slate-600",error:"text-sm text-red-600 font-medium",small:"text-xs text-slate-600"},A=({level:e=1,className:t,children:r,...a})=>fe.default.createElement(`h${e}`,{className:Ue(kt[e],t),...a},r),C=({variant:e="default",as:t="p",className:r,children:a,...o})=>fe.default.createElement(t,{className:Ue(Rt[e],r),...o},a),Mt=({args:e})=>(0,W.jsxs)("div",{className:"space-y-4",...e,children:[(0,W.jsx)(A,{level:1,children:"Heading 1"}),(0,W.jsx)(A,{level:2,children:"Heading 2"}),(0,W.jsx)(A,{level:3,children:"Heading 3"}),(0,W.jsx)(C,{children:"Body text"}),(0,W.jsx)(C,{variant:"muted",children:"Caption text"}),(0,W.jsx)(C,{variant:"small",children:"Small text"}),(0,W.jsx)(C,{variant:"small",as:"span",children:"Small span text"})]});var Oe=w(require("react")),j=require("@base-ui/react");var z=require("react/jsx-runtime"),le=Oe.default.forwardRef(({className:e,min:t=0,max:r=100,step:a=1,value:o,defaultValue:n,disabled:s,onChange:g,name:f,icon:v,...p},b)=>{let h=(m,y)=>{g&&g(m,y)};return(0,z.jsxs)("div",{className:l("w-full flex items-center gap-4",e),children:[v&&(0,z.jsx)("div",{className:"text-gray-500 shrink-0",children:v}),(0,z.jsx)("div",{className:"flex-grow flex items-center h-8 min-w-[120px]",children:(0,z.jsx)(j.Slider.Root,{ref:b,min:t,max:r,step:a,value:o!==void 0?Array.isArray(o)?o:[o]:void 0,defaultValue:n!==void 0?Array.isArray(n)?n:[n]:void 0,disabled:s,orientation:"horizontal",...p,onValueChange:(m,y)=>{let F=y?.event||window.event;h(m,F)},className:l("relative flex items-center w-full h-full group touch-none select-none",s&&"opacity-50 cursor-not-allowed",e),children:(0,z.jsxs)(j.Slider.Control,{className:"flex items-center w-full h-full relative cursor-pointer",children:[(0,z.jsx)(j.Slider.Track,{className:"relative bg-gray-200 rounded-full w-full h-1.5 overflow-hidden transition-colors group-hover:bg-gray-300",children:(0,z.jsx)(j.Slider.Indicator,{className:"absolute bg-primary rounded-full h-full"})}),(0,z.jsx)(j.Slider.Thumb,{className:"z-10 block w-4.5 h-4.5 bg-white shadow-md rounded-full border-2 border-primary focus:outline-none focus:ring-4 focus:ring-primary/20 cursor-grab active:cursor-grabbing hover:scale-110 active:scale-95 transition-transform"})]})})}),f&&(0,z.jsx)("input",{type:"hidden",name:f,value:o})]})});le.displayName="Slider";var Ze=w(require("react"));var he=w(require("react")),ee=require("@base-ui/react");var L=require("react/jsx-runtime"),de=he.default.forwardRef(({className:e,value:t,defaultValue:r,min:a,max:o,step:n,onChange:s,disabled:g,readOnly:f,id:v,placeholder:p,showButtons:b=!1,...h},m)=>{let y=he.default.useId(),F=v||y;return(0,L.jsx)("div",{className:"w-full",children:(0,L.jsx)(ee.NumberField.Root,{ref:m,value:t,defaultValue:r,min:a,max:o,step:n,onValueChange:(K,ie)=>{if(s){let ft=ie?.event||ie;s(K,ft)}},disabled:g,readOnly:f,className:l("flex flex-col gap-1",e),...h,children:(0,L.jsxs)("div",{className:l("group relative flex items-center rounded-md border-0 bg-primary/10 ring-1 ring-inset ring-gray-300 focus-within:ring-2 focus-within:ring-primary shadow-sm",g&&"opacity-50 cursor-not-allowed"),children:[b&&(0,L.jsx)(ee.NumberField.Decrement,{"aria-label":"Decrement",className:"relative z-20 flex items-center justify-center w-8 h-9 text-gray-500 hover:text-gray-700 hover:bg-gray-100/50 rounded-l-md border-r border-gray-300 disabled:opacity-30 cursor-pointer",children:(0,L.jsx)(u,{size:"sm",children:(0,L.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 12h-15"})})}),(0,L.jsx)(ee.NumberField.Input,{id:F,placeholder:p,className:l("block w-full bg-transparent border-0 px-3 py-1.5 text-gray-900 placeholder:text-gray-400 focus:ring-0 sm:text-sm sm:leading-6 text-center appearance-none relative z-0",!b&&"rounded-md")}),b&&(0,L.jsx)(ee.NumberField.Increment,{"aria-label":"Increment",className:"relative z-20 flex items-center justify-center w-8 h-9 text-gray-500 hover:text-gray-700 hover:bg-gray-100/50 rounded-r-md border-l border-gray-300 disabled:opacity-30 cursor-pointer",children:(0,L.jsx)(u,{size:"sm",children:(0,L.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4.5v15m7.5-7.5h-15"})})}),(0,L.jsx)(ee.NumberField.ScrubArea,{className:"absolute inset-0 z-10 cursor-ew-resize opacity-0 hover:opacity-10 transition-opacity bg-primary/5 rounded-md pointer-events-none group-hover:pointer-events-auto"})]})})})});de.displayName="NumberField";var Q=require("react/jsx-runtime"),qe=Ze.default.forwardRef(({className:e,min:t=0,max:r=100,step:a=1,value:o,defaultValue:n,disabled:s,onChange:g,inputWidth:f="w-20",...v},p)=>{let b=(h,m)=>{if(g){let y=Array.isArray(h)?h[0]:h;g(y,m)}};return(0,Q.jsxs)("div",{ref:p,className:l("flex flex-row items-center gap-4 w-full min-w-0 sm:flex-nowrap flex-wrap",e),...v,children:[(0,Q.jsx)("div",{className:"flex-grow min-w-[120px]",children:(0,Q.jsx)(le,{min:t,max:r,step:a,value:o,defaultValue:n,disabled:s,onChange:b,className:"w-full"})}),(0,Q.jsx)("div",{className:l(f,"shrink-0"),children:(0,Q.jsx)(de,{value:o,defaultValue:n,min:t,max:r,step:a,disabled:s,onChange:(h,m)=>{h!==null&&b(h,m)},showButtons:!1})})]})});qe.displayName="SliderWithNumberField";var Ge=w(require("react")),q=require("@base-ui/react");var B=require("react/jsx-runtime");function $e({content:e,children:t,className:r,delay:a="normal"}){return(0,B.jsx)(q.Tooltip.Provider,{delay:a==="slow"?1e3:0,children:(0,B.jsxs)(q.Tooltip.Root,{children:[Ge.default.isValidElement(t)?(0,B.jsx)(q.Tooltip.Trigger,{render:t}):(0,B.jsx)(q.Tooltip.Trigger,{children:t}),(0,B.jsx)(q.Tooltip.Portal,{children:(0,B.jsx)(q.Tooltip.Positioner,{sideOffset:8,children:(0,B.jsxs)(q.Tooltip.Popup,{className:l("z-50 rounded shadow-lg bg-white p-2 text-xs text-center whitespace-normal max-w-xs text-gray-900 border border-gray-200",r),children:[e,(0,B.jsx)(q.Tooltip.Arrow,{className:"fill-white stroke-gray-200"})]})})})]})})}function be({content:e,className:t}){return(0,B.jsx)($e,{content:e,className:t,children:(0,B.jsx)(u,{size:"md",className:"text-gray-500 hover:text-gray-700 cursor-help",children:(0,B.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 5.25h.008v.008H12v-.008Z"})})})}var _e=w(require("react")),U=require("@base-ui/react");var V=require("react/jsx-runtime");function Ct({open:e,onOpenChange:t,trigger:r,children:a,className:o}){return(0,V.jsxs)(U.Dialog.Root,{open:e,onOpenChange:(n,s)=>{t?.(n,s?.event)},children:[r&&(_e.default.isValidElement(r)?(0,V.jsx)(U.Dialog.Trigger,{render:r}):(0,V.jsx)(U.Dialog.Trigger,{children:r})),(0,V.jsxs)(U.Dialog.Portal,{children:[(0,V.jsx)(U.Dialog.Backdrop,{className:"fixed inset-0 z-50 bg-black/40 transition-all duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"}),(0,V.jsx)(U.Dialog.Popup,{className:l("fixed left-[50%] top-[50%] z-50 grid w-auto max-w-[90vw] translate-x-[-50%] translate-y-[-50%] gap-4 border bg-white p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",o),children:a})]})]})}var Tt=e=>(0,V.jsx)(U.Dialog.Title,{...e}),Pt=e=>(0,V.jsx)(U.Dialog.Description,{...e}),Lt=e=>(0,V.jsx)(U.Dialog.Close,{...e});var Y=require("@base-ui/react");var X=require("react/jsx-runtime");function Bt({trigger:e,children:t,side:r="bottom",align:a="center",className:o,open:n,onOpenChange:s}){return(0,X.jsxs)(Y.Popover.Root,{open:n,onOpenChange:s,children:[(0,X.jsx)(Y.Popover.Trigger,{children:e}),(0,X.jsx)(Y.Popover.Portal,{children:(0,X.jsx)(Y.Popover.Positioner,{side:r,align:a,sideOffset:5,children:(0,X.jsxs)(Y.Popover.Popup,{className:l("z-50 w-72 rounded-md border bg-white p-4 shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95",o),children:[t,(0,X.jsx)(Y.Popover.Arrow,{className:"fill-white stroke-gray-200"})]})})})]})}var ce=w(require("react")),G=require("@base-ui/react");var O=require("react/jsx-runtime");function St({trigger:e,children:t,align:r="end",className:a}){return(0,O.jsxs)(G.Menu.Root,{children:[ce.default.isValidElement(e)?(0,O.jsx)(G.Menu.Trigger,{render:e}):(0,O.jsx)(G.Menu.Trigger,{children:e}),(0,O.jsx)(G.Menu.Portal,{children:(0,O.jsx)(G.Menu.Positioner,{align:r,sideOffset:5,children:(0,O.jsx)(G.Menu.Popup,{className:l("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-white p-1 shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95",a),children:t})})})]})}var Xe=ce.default.forwardRef(({className:e,...t},r)=>(0,O.jsx)(G.Menu.Item,{ref:r,className:l("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors data-[highlighted]:bg-gray-100 data-[highlighted]:text-gray-900",e),...t}));Xe.displayName="DropdownItem";var Je=ce.default.forwardRef(({className:e,...t},r)=>(0,O.jsx)(G.Menu.Separator,{ref:r,className:l("-mx-1 my-1 h-px bg-gray-100",e),...t}));Je.displayName="DropdownSeparator";var Ke=require("react");var $=require("react/jsx-runtime");function xe({title:e,children:t,variant:r="secondary",size:a="md",defaultOpen:o=!1,className:n}){let[s,g]=(0,Ke.useState)(o);return(0,$.jsxs)("div",{className:l("w-full",n),children:[(0,$.jsx)(x,{variant:r,size:a,className:"w-full justify-between font-medium",onClick:()=>g(!s),"aria-expanded":s,rightIcon:(0,$.jsx)(u,{className:"h-5 w-5 text-gray-600",strokeWidth:"2.5",children:s?(0,$.jsx)("path",{d:"M4.5 15.75l7.5-7.5 7.5 7.5"}):(0,$.jsx)("path",{d:"M19.5 8.25l-7.5 7.5-7.5-7.5"})}),children:(0,$.jsx)("span",{children:e})}),s&&(0,$.jsx)("div",{className:"px-4 pt-4 pb-2 text-sm text-gray-500",children:t})]})}var ve=w(require("react")),ye=require("@base-ui/react");var me=require("react/jsx-runtime"),Qe=ve.default.forwardRef(({checked:e,defaultChecked:t,onChange:r,disabled:a,className:o,id:n,...s},g)=>{let f=ve.default.useId(),v=n??f;return(0,me.jsx)("div",{className:l("flex items-center gap-2",o),children:(0,me.jsx)(ye.Switch.Root,{ref:g,id:v,checked:e,defaultChecked:t,onCheckedChange:(p,b)=>{r?.(p,b?.event)},disabled:a,className:l("relative inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-primary focus:ring-offset-2","data-[checked]:bg-primary data-[unchecked]:bg-gray-200",a&&"opacity-50 cursor-not-allowed"),...s,children:(0,me.jsx)(ye.Switch.Thumb,{className:l("pointer-events-none inline-block h-5 w-5 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out","data-[checked]:translate-x-5 data-[unchecked]:translate-x-0")})})})});Qe.displayName="Switch";var re=require("react/jsx-runtime");function we({children:e,tooltip:t,className:r,...a}){return(0,re.jsx)("label",{className:l("relative block text-sm font-bold leading-6 text-gray-600 mb-1 group-focus-within:text-gray-800",r),...a,children:(0,re.jsxs)("div",{className:"flex items-center gap-1",children:[e,t&&(0,re.jsx)(be,{content:t})]})})}var J=require("react/jsx-runtime");function Ht({title:e,children:t,onClose:r,className:a="",headerClassName:o="",headingLevel:n=2,setPanel:s=g=>{}}){let g=()=>{r?r():s("None")};return(0,J.jsxs)("div",{className:`space-y-1 p-1 ${a}`,children:[(0,J.jsxs)("div",{className:`flex items-center justify-between px-1 mb-1 border-b border-solid border-gray-400 pb-1 ${o}`,children:[(0,J.jsx)(A,{level:n,className:"text-lg",children:e}),(0,J.jsx)(x,{variant:"ghost",size:"sm",onClick:g,className:"p-1 rounded hover:bg-gray-100 h-auto","aria-label":`Close ${e} Panel`,children:(0,J.jsx)(u,{size:"md",className:"h-5 w-5",children:(0,J.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"})})})]}),t]})}var pe=require("@base-ui/react"),Ne=require("react/jsx-runtime"),Dt={default:"data-[pressed]:bg-white data-[pressed]:text-gray-900 data-[pressed]:shadow-sm data-[pressed]:ring-1 data-[pressed]:ring-gray-200",primary:"data-[pressed]:bg-primary/20 data-[pressed]:shadow-sm data-[pressed]:ring-1 data-[pressed]:ring-primary",danger:"data-[pressed]:bg-danger/20 data-[pressed]:shadow-sm data-[pressed]:ring-1 data-[pressed]:ring-danger"};function It({options:e,value:t,onChange:r,className:a,variant:o="default","aria-label":n}){return(0,Ne.jsx)(pe.ToggleGroup,{value:t?[t]:[],onValueChange:s=>{r(s[0])},"aria-label":n,className:l("inline-flex p-1 space-x-1 bg-gray-100 rounded-lg border border-gray-200",a),children:e.map(s=>(0,Ne.jsx)(pe.Toggle,{value:s.value,disabled:s.disabled,className:l("relative cursor-pointer px-3 py-1.5 text-sm font-medium rounded-md transition-all flex items-center justify-center outline-none","text-gray-600 hover:text-gray-900 hover:bg-gray-200","disabled:opacity-50 disabled:cursor-not-allowed disabled:hover:bg-transparent disabled:hover:text-gray-600",Dt[o]),children:s.label},s.value))})}var ae=require("@base-ui/react"),Ye=w(require("react"));var H=require("react/jsx-runtime"),oe=Ye.default.forwardRef(({label:e,description:t,error:r,tooltip:a,children:o,className:n,icon:s,labelPlacement:g="top",labelWeight:f="bold",...v},p)=>{let b=g==="left"||g==="right",h=g==="right";return(0,H.jsxs)(ae.Field.Root,{ref:p,className:l("flex w-full",b?"flex-col gap-1":"flex-col gap-1.5",n),...v,children:[(0,H.jsxs)("div",{className:l("flex",b?"flex-row items-center gap-2":"flex-col gap-1.5"),children:[h&&(0,H.jsx)("div",{className:"relative",children:o}),e&&(0,H.jsx)(ae.Field.Label,{render:m=>(0,H.jsx)(we,{tooltip:a,className:l("mb-0",f==="normal"&&"font-normal"),...m,children:(0,H.jsxs)("span",{className:"flex items-center gap-1",children:[s&&(0,H.jsx)("span",{className:"flex-shrink-0",children:s}),e]})})}),!h&&(0,H.jsx)("div",{className:"relative",children:o})]}),t&&(0,H.jsx)(ae.Field.Description,{className:l("text-xs text-gray-500",h&&"ml-7"),children:t}),r&&(0,H.jsx)(ae.Field.Error,{className:l("text-xs text-red-600 font-medium",h&&"ml-7"),children:r})]})});oe.displayName="Field";var je=w(require("react")),et=require("react-router-dom");var ke=require("react/jsx-runtime"),tt=je.forwardRef(({className:e,href:t,target:r,...a},o)=>{let n=t&&!t.startsWith("http")&&!r,s=l("font-medium text-teal-700 underline underline-offset-4 hover:text-teal-900 cursor-pointer",e);return n?(0,ke.jsx)(et.Link,{to:t,ref:o,className:s,...a}):(0,ke.jsx)("a",{href:t,target:r,ref:o,className:s,...a})});tt.displayName="Anchor";var rt=require("@base-ui/react"),at=w(require("react"));var Re=require("react/jsx-runtime"),ot=at.default.forwardRef(({className:e,id:t,...r},a)=>(0,Re.jsx)(rt.Input,{render:(0,Re.jsx)("textarea",{}),ref:a,id:t,className:l("block w-full rounded-md border-0 px-1.5 py-1.5 text-gray-900 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-primary sm:text-sm sm:leading-6 bg-primary/10 appearance-none",e),...r}));ot.displayName="TextArea";var Me=require("@base-ui/react"),nt=w(require("react"));var ne=require("react/jsx-runtime"),it=nt.default.forwardRef(({className:e,id:t,checked:r,onChange:a,...o},n)=>(0,ne.jsx)(Me.Checkbox.Root,{ref:n,id:t,checked:r,onCheckedChange:s=>{a&&a({target:{checked:s===!0}})},className:l("flex h-5 w-5 shrink-0 items-center justify-center rounded border border-gray-300 bg-white shadow-sm transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50","hover:border-primary hover:bg-primary/5","data-[state=checked]:bg-primary data-[state=checked]:border-primary data-[state=checked]:text-white",e),...o,children:(0,ne.jsx)(Me.Checkbox.Indicator,{children:(0,ne.jsx)(u,{size:"sm",strokeWidth:3,className:"text-dark-primary",children:(0,ne.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 12.75 6 6 9-13.5"})})})}));it.displayName="Checkbox";var E=require("react/jsx-runtime");function At({title:e,children:t,className:r,contentClassName:a,collapsible:o,defaultOpen:n=!0,headingLevel:s=3}){let g=(0,E.jsx)("div",{className:l("flex flex-col",a),children:t});return(0,E.jsx)("div",{className:l("m-2 p-4 bg-white shadow-xl rounded-lg flex flex-1 flex-col",r),children:o?(0,E.jsx)(xe,{title:typeof e=="string"?(0,E.jsx)(A,{level:s,className:"text-gray-600",children:e}):e,variant:"ghost",defaultOpen:n,children:g}):(0,E.jsxs)(E.Fragment,{children:[e&&(0,E.jsx)("div",{className:"flex items-center justify-between mb-2 empty:hidden",children:typeof e=="string"?(0,E.jsx)(A,{level:s,className:"text-gray-600",children:e}):e}),g]})})}var st=w(require("react")),Ce=require("@base-ui/react/separator");var dt=require("react/jsx-runtime"),lt=st.forwardRef(({className:e,orientation:t="horizontal",...r},a)=>(0,dt.jsx)(Ce.Separator,{ref:a,orientation:t,className:l("shrink-0 bg-gray-200",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...r}));lt.displayName=Ce.Separator.displayName;var ct=require("react/jsx-runtime");function zt({className:e,...t}){return(0,ct.jsx)("div",{className:l("animate-pulse rounded-md bg-gray-200/50",e),...t})}var mt=require("react-dom");var c=require("react/jsx-runtime");function Te({label:e}){let{pending:t}=(0,mt.useFormStatus)();return(0,c.jsx)(x,{type:"submit",variant:"primary",isLoading:t,disabled:t,children:e})}function Vt({mode:e,onModeChange:t,formAction:r,actionState:a,onGoogleSignIn:o,title:n,description:s}){return(0,c.jsxs)("div",{className:"text-left overflow-hidden",children:[(0,c.jsx)(A,{level:2,className:"text-center mb-2",children:n||(e==="signing up"?"Sign up":e==="signing in"?"Sign In":"Reset Password")}),(0,c.jsxs)("form",{className:"md:m-10 sm:m-4 space-y-4",action:r,children:[s&&(0,c.jsx)(C,{className:"text-center mb-6",variant:"muted",children:s}),e==="resetting password"&&(0,c.jsx)(C,{className:"text-center font-bold text-dark-primary",children:a.message}),(0,c.jsx)(C,{className:"text-center",variant:"error",children:a.error}),(0,c.jsxs)("div",{className:"space-y-4",children:[(0,c.jsx)(oe,{id:"email",label:"Email",error:a.error&&a.error.includes("email")?a.error:"",children:(0,c.jsx)(te,{name:"email",type:"email",required:!0,placeholder:"Email",leftIcon:(0,c.jsx)(u,{name:"envelope"})})}),e!=="resetting password"&&(0,c.jsx)(oe,{id:"password",label:"Password",error:a.error&&a.error.includes("password")?a.error:"",children:(0,c.jsx)(te,{name:"password",type:"password",required:!0,placeholder:"Password",leftIcon:(0,c.jsx)(u,{name:"lockClosed"})})})]}),(0,c.jsxs)("div",{className:"text-center mt-6 space-y-4",children:[e==="signing up"&&(0,c.jsx)(Te,{label:"Sign Up"}),e==="signing in"&&(0,c.jsx)(Te,{label:"Sign In"}),e==="resetting password"&&(0,c.jsx)(Te,{label:"Reset Password"}),(0,c.jsxs)("div",{className:"text-center text-sm text-gray-500",children:[e==="signing up"&&(0,c.jsxs)(C,{children:["Already have an account?"," ",(0,c.jsx)(x,{variant:"ghost",size:"sm",onClick:()=>t("signing in"),className:"underline p-0 h-auto hover:bg-transparent",children:"Sign in"})]}),e==="signing in"&&(0,c.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,c.jsxs)(C,{children:["Forgot your password?"," ",(0,c.jsx)(x,{variant:"ghost",size:"sm",onClick:()=>t("resetting password"),className:"underline p-0 h-auto hover:bg-transparent",children:"Reset password."})]}),(0,c.jsxs)("div",{className:"relative",children:[(0,c.jsx)("div",{className:"absolute inset-0 flex items-center",children:(0,c.jsx)("div",{className:"w-full border-t border-gray-300"})}),(0,c.jsx)("div",{className:"relative flex justify-center text-sm",children:(0,c.jsx)("span",{className:"px-2 bg-white text-gray-500",children:"or"})})]}),(0,c.jsxs)(C,{children:["Don't have an account?"," ",(0,c.jsx)(x,{variant:"ghost",size:"sm",onClick:()=>t("signing up"),className:"underline p-0 h-auto hover:bg-transparent",children:"Sign up"})]})]}),e==="resetting password"&&(0,c.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,c.jsxs)(C,{children:["Don't have an account?"," ",(0,c.jsx)(x,{variant:"ghost",size:"sm",onClick:()=>t("signing up"),className:"underline p-0 h-auto hover:bg-transparent",children:"Sign up"})]}),(0,c.jsxs)("div",{className:"relative",children:[(0,c.jsx)("div",{className:"absolute inset-0 flex items-center",children:(0,c.jsx)("div",{className:"w-full border-t border-gray-300"})}),(0,c.jsx)("div",{className:"relative flex justify-center text-sm",children:(0,c.jsx)("span",{className:"px-2 bg-white text-gray-500",children:"or"})})]}),(0,c.jsxs)(C,{children:["Remembered your password?",(0,c.jsx)(x,{variant:"ghost",size:"sm",onClick:()=>t("signing in"),className:"underline p-0 h-auto hover:bg-transparent",children:"Sign In"})]})]})]})]}),e!=="resetting password"&&o&&(0,c.jsx)("div",{className:"text-center mt-4",children:(0,c.jsxs)(x,{variant:"secondary",onClick:o,type:"button",className:"w-full flex items-center justify-center gap-2",children:[(0,c.jsx)(u,{name:"google",stroke:"none"}),e==="signing up"&&(0,c.jsx)("span",{children:"Sign up with Google"}),e==="signing in"&&(0,c.jsx)("span",{children:"Sign in with Google"})]})})]})]})}var pt=require("react");var D=require("react/jsx-runtime");function Et({level:e,message:t,action:r}){let[a,o]=(0,pt.useState)(!0);return(0,D.jsxs)("div",{className:"flex w-full p-4 m-1 text-sm rounded-lg bg-white border border-solid transition-opacity ease-in-out delay-150 duration-300 "+(a?" ":" hidden"),children:[(0,D.jsxs)("span",{children:[e==="Error"&&(0,D.jsx)(u,{name:"exclamationCircle",size:"lg",className:"m-2",stroke:"red"}),e==="Warning"&&(0,D.jsx)(u,{name:"exclamationTriangle",size:"lg",className:"m-2",stroke:"yellow"}),e==="Success"&&(0,D.jsx)(u,{name:"checkCircle",size:"lg",className:"m-2",stroke:"green"}),e==="Info"&&(0,D.jsx)(u,{name:"megaphone",size:"lg",className:"m-2"})]}),(0,D.jsx)("span",{className:"flex flex-1 ml-2",children:t}),r&&(0,D.jsx)(x,{onClick:()=>{r.callback(),o(!1)},children:r.name}),(0,D.jsx)("span",{className:"cursor-pointer",onClick:()=>{o(!1)},children:(0,D.jsx)(u,{name:"xCircle",size:"lg",className:"m-1"})})]})}var S=require("react/jsx-runtime");function Ft({tabs:e,activeTabId:t,onTabClick:r,onAddClick:a,className:o=""}){return(0,S.jsxs)("div",{className:`overflow-x-auto max-h-20 text-sm whitespace-nowrap ${o}`,children:[e.map(n=>{let s=n.id===t;return(0,S.jsxs)("div",{className:"inline-block align-middle m-1 px-2 py-2 cursor-pointer rounded-sm "+(s?"font-bold bg-primary/30":"font-gray-300 bg-gray-200"),onClick:()=>r(n.id),children:[(0,S.jsx)("span",{className:"inline-block align-middle",children:n.label}),s&&(n.onEdit||n.onClose)&&(0,S.jsxs)("span",{className:"inline-flex items-center ml-2 align-middle",children:[n.onEdit&&(0,S.jsx)(x,{variant:"ghost",size:"sm","aria-label":"Edit Tab",onClick:g=>{g.stopPropagation(),n.onEdit()},leftIcon:(0,S.jsx)(u,{name:"edit",size:"sm"})}),n.onEdit&&n.onClose&&(0,S.jsx)("span",{className:"opacity-10 align-middle mx-1",children:" | "}),n.onClose&&(0,S.jsx)(x,{variant:"ghost",size:"sm","aria-label":"Close Tab",onClick:g=>{g.stopPropagation(),n.onClose()},leftIcon:(0,S.jsx)(u,{name:"close",size:"sm"})})]})]},n.id)}),a&&(0,S.jsx)(x,{variant:"primary",size:"sm","aria-label":"Create New Tab",onClick:a,leftIcon:(0,S.jsx)(u,{name:"plus",size:"sm"}),className:"m-1 align-middle inline-flex"})]})}var k=require("react/jsx-runtime");function Wt({title:e,description:t="Peerbots platform: social robots for everyone, powered by experts.",image:r="/peerbots-logo.png",url:a,type:o="website"}){let n="Peerbots App",s=e==="Home"?n:`${e} | ${n}`,g=a||(typeof window<"u"?window.location.href:"");return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("title",{children:s}),(0,k.jsx)("meta",{name:"description",content:t}),(0,k.jsx)("meta",{property:"og:title",content:s}),(0,k.jsx)("meta",{property:"og:description",content:t}),(0,k.jsx)("meta",{property:"og:image",content:r}),(0,k.jsx)("meta",{property:"og:url",content:g}),(0,k.jsx)("meta",{property:"og:type",content:o}),(0,k.jsx)("meta",{property:"og:site_name",content:n}),(0,k.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,k.jsx)("meta",{name:"twitter:title",content:s}),(0,k.jsx)("meta",{name:"twitter:description",content:t}),(0,k.jsx)("meta",{name:"twitter:image",content:r})]})}var R=require("victory"),T=require("react/jsx-runtime");function gt({data:e,alt:t,chartWidth:r=600,chartHeight:a=400,average:o,referenceLineValue:n,referenceLineLabel:s="Reference",label:g}){let f=Math.max(...e.map(p=>p.count),5),v=e.map(p=>p.label);return e.length===0?null:(0,T.jsxs)("div",{className:"mb-6",role:"img","aria-label":t,children:[g&&(0,T.jsx)("label",{className:"text-xs uppercase font-bold text-gray-400 block mb-2 px-1",children:g}),(0,T.jsxs)(R.VictoryChart,{width:r,height:a,padding:{left:100,right:50,top:40,bottom:60},containerComponent:(0,T.jsx)(R.VictoryVoronoiContainer,{}),children:[(0,T.jsx)(R.VictoryAxis,{horizontal:!0,tickValues:v,style:{axis:{stroke:"#cbd5e1"},tickLabels:{fontSize:18,padding:5,fill:"#334155"}}}),(0,T.jsx)(R.VictoryAxis,{dependentAxis:!0,domain:[0,f],tickFormat:p=>typeof p=="number"?Math.round(p):p,style:{axis:{stroke:"#cbd5e1"},tickLabels:{fontSize:18,padding:5,fill:"#334155"},grid:{stroke:"#f1f5f9"}}}),(0,T.jsx)(R.VictoryBar,{horizontal:!0,domain:{x:[.5,v.length+.5],y:[0,f]},data:e,x:"label",y:"count",labels:({datum:p})=>{if(!p||p.count===0)return"";if(!p.items||p.items.length===0)return`${p.count}`;let h=p.items.slice(0,5).join(`
|
|
2
|
-
`);return
|
|
3
|
-
...and ${
|
|
1
|
+
"use strict";var ft=Object.create;var ie=Object.defineProperty;var ht=Object.getOwnPropertyDescriptor;var xt=Object.getOwnPropertyNames;var vt=Object.getPrototypeOf,yt=Object.prototype.hasOwnProperty;var wt=(e,t)=>{for(var r in t)ie(e,r,{get:t[r],enumerable:!0})},Pe=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of xt(t))!yt.call(e,o)&&o!==r&&ie(e,o,{get:()=>t[o],enumerable:!(a=ht(t,o))||a.enumerable});return e};var w=(e,t,r)=>(r=e!=null?ft(vt(e)):{},Pe(t||!e||!e.__esModule?ie(r,"default",{value:e,enumerable:!0}):r,e)),Nt=e=>Pe(ie({},"__esModule",{value:!0}),e);var Ut={};wt(Ut,{Alert:()=>Et,Anchor:()=>tt,AuthFormUI:()=>Vt,BasePanel:()=>Ht,Button:()=>x,Checkbox:()=>nt,Collapsible:()=>xe,Dialog:()=>Ct,DialogClose:()=>Lt,DialogDescription:()=>Pt,DialogTitle:()=>Tt,DistributionBarChart:()=>mt,DistributionHistogram:()=>gt,Dropdown:()=>St,DropdownItem:()=>Xe,DropdownSeparator:()=>Je,Field:()=>oe,Heading:()=>A,HelperTooltip:()=>he,Icon:()=>g,Input:()=>te,Label:()=>we,NumberField:()=>le,Popover:()=>Bt,SEO:()=>Wt,Select:()=>Ee,Separator:()=>st,SettingsPanel:()=>At,Skeleton:()=>zt,Slider:()=>se,SliderWithNumberField:()=>qe,Switch:()=>Qe,TabRadio:()=>It,TabSelection:()=>Ft,Text:()=>C,TextArea:()=>ot,Tooltip:()=>$e,TypographyList:()=>Mt,cn:()=>s,iconPaths:()=>l});module.exports=Nt(Ut);var Se=require("@base-ui/react"),He=w(require("react"));var Le=require("clsx"),Be=require("tailwind-merge");function s(...e){return(0,Be.twMerge)((0,Le.clsx)(e))}var _=require("react/jsx-runtime"),x=He.default.forwardRef(({className:e,variant:t="primary",size:r="md",isLoading:a=!1,leftIcon:o,rightIcon:p,children:i,disabled:m,render:u,nativeButton:v,isIconOnly:c,...h},f)=>{let d=c||!i&&(!!o||!!p),y={primary:"pb:bg-primary pb:hover:bg-dark-primary pb:text-gray-900 pb:shadow-sm pb:border pb:border-transparent pb:font-bold pb:disabled:bg-gray-400 pb:disabled:hover:bg-gray-300",secondary:"pb:bg-gray-100 pb:hover:bg-gray-200 pb:text-gray-800 pb:border pb:border-gray-200 pb:border pb:font-normal pb:disabled:bg-gray-400 pb:disabled:hover:bg-gray-300",danger:"pb:bg-danger pb:hover:opacity-80 pb:text-gray-900 pb:shadow-sm pb:border pb:border-transparent pb:font-bold pb:disabled:bg-gray-400 pb:disabled:hover:bg-gray-300",ghost:"pb:bg-transparent pb:hover:bg-gray-100 pb:text-gray-700 pb:hover:text-gray-900 pb:font-medium","ghostly-danger":"pb:bg-transparent pb:hover:bg-danger/10 pb:text-red-700 pb:border pb:border-red-700 pb:font-medium pb:disabled:border-gray-400 pb:disabled:text-gray-400"},F={sm:d?"pb:p-1 pb:text-xs":"pb:px-2 pb:py-1 pb:text-xs",md:d?"pb:p-2 pb:text-sm":"pb:px-4 pb:py-2 pb:text-sm",lg:d?"pb:p-3 pb:text-base":"pb:px-6 pb:py-3 pb:text-base"};return(0,_.jsxs)(Se.Button,{ref:f,render:u,nativeButton:v,className:s("pb:inline-flex pb:items-center pb:justify-center pb:rounded-md pb:transition-colors pb:focus:outline-none pb:focus:ring-2 pb:focus:ring-primary pb:focus:ring-offset-2 pb:disabled:cursor-not-allowed pb:cursor-pointer",y[t],F[r],e),disabled:m||a,...h,children:[a&&(0,_.jsxs)("svg",{className:s("pb:animate-spin pb:h-4 pb:w-4",!d&&"pb:mr-2 pb:-ml-1"),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,_.jsx)("circle",{className:"pb:opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,_.jsx)("path",{className:"pb:opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),!a&&o&&(0,_.jsx)("span",{className:s("pb:inline-flex pb:items-center pb:justify-center",!d&&"pb:mr-2 pb:-ml-1"),children:o}),i,!a&&p&&(0,_.jsx)("span",{className:s("pb:inline-flex pb:items-center pb:justify-center",!d&&"pb:ml-2 pb:-mr-1"),children:p})]})});x.displayName="Button";var me=require("@base-ui/react"),De=w(require("react"));var Z=require("react/jsx-runtime"),te=De.default.forwardRef(({className:e,leftIcon:t,rightIcon:r,id:a,...o},p)=>{let i=s("pb:block pb:w-full pb:rounded-md pb:border-0 pb:px-1.5 pb:py-1.5 pb:text-gray-900 pb:shadow-sm pb:ring-1 pb:ring-inset pb:ring-gray-300 pb:placeholder:text-gray-400 pb:focus:ring-2 pb:focus:ring-inset pb:focus:ring-primary pb:sm:text-sm pb:sm:leading-6 pb:bg-primary/10 pb:appearance-none",t&&"pb:pl-10",r&&"pb:pr-10",e);return!t&&!r?(0,Z.jsx)(me.Input,{ref:p,id:a,className:i,...o}):(0,Z.jsxs)("div",{className:"pb:relative",children:[t&&(0,Z.jsx)("div",{className:"pb:pointer-events-none pb:absolute pb:inset-y-0 pb:left-0 pb:flex pb:items-center pb:pl-3",children:(0,Z.jsx)("span",{className:"pb:text-gray-500 pb:sm:text-sm",children:t})}),(0,Z.jsx)(me.Input,{ref:p,id:a,className:i,...o}),r&&(0,Z.jsx)("div",{className:"pb:pointer-events-none pb:absolute pb:inset-y-0 pb:right-0 pb:flex pb:items-center pb:pr-3",children:(0,Z.jsx)("span",{className:"pb:text-gray-500 pb:sm:text-sm",children:r})})]})});te.displayName="Input";var ge=w(require("react")),I=require("@base-ui/react");var ze=w(require("react"));var n=require("react/jsx-runtime"),l={check:"M20 6 9 17l-5-5",x:"M18 6 6 18M6 6l12 12",edit:"M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L6.832 19.82a4.5 4.5 0 01-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 011.13-1.897L16.863 4.487zm0 0L19.5 7.125",close:"M6 18L18 6M6 6l12 12",plus:"M12 4.5v15m7.5-7.5h-15",arrowDown:"M19.5 13.5L12 21m0 0l-7.5-7.5M12 21V3",arrowUp:"M4.5 10.5L12 3m0 0l7.5 7.5M12 3v18",clipboard:"M15.75 17.25v3.375c0 .621-.504 1.125-1.125 1.125h-9.75a1.125 1.125 0 0 1-1.125-1.125V7.875c0-.621.504-1.125 1.125-1.125H6.75a9.06 9.06 0 0 1 1.5.124m7.5 10.376h3.375c.621 0 1.125-.504 1.125-1.125V11.25c0-4.46-3.243-8.161-7.5-8.876a9.06 9.06 0 0 0-1.5-.124H9.375c-.621 0-1.125.504-1.125 1.125v3.5m7.5 10.375H9.375a1.125 1.125 0 0 1-1.125-1.125v-9.25m12 6.625v-1.875a3.375 3.375 0 0 0-3.375-3.375h-1.5a1.125 1.125 0 0 1-1.125-1.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H9.75",cloudArrowUp:"M12 16.5V9.75m0 0 3 3m-3-3-3 3M6.75 19.5a4.5 4.5 0 0 1-1.41-8.775 5.25 5.25 0 0 1 10.233-2.33 3 3 0 0 1 3.758 3.848A3.752 3.752 0 0 1 18 19.5H6.75Z",arrowDownToLine:"M9 12l3 3m0 0 3-3m-3 3V2.25",folder:"M9 8.25H7.5a2.25 2.25 0 0 0-2.25 2.25v9a2.25 2.25 0 0 0 2.25 2.25h9a2.25 2.25 0 0 0 2.25-2.25v-9a2.25 2.25 0 0 0-2.25-2.25H15m0-3-3-3m0 0-3 3m3-3V15",arrowUpFromLine:"M9 8.25H7.5a2.25 2.25 0 0 0-2.25 2.25v9a2.25 2.25 0 0 0 2.25 2.25h9a2.25 2.25 0 0 0 2.25-2.25v-9a2.25 2.25 0 0 0-2.25-2.25H15m0-3-3-3m0 0-3 3m3-3V15",squares:"M2.25 7.125C2.25 6.504 2.754 6 3.375 6h6c.621 0 1.125.504 1.125 1.125v3.75c0 .621-.504 1.125-1.125 1.125h-6a1.125 1.125 0 0 1-1.125-1.125v-3.75ZM14.25 8.625c0-.621.504-1.125 1.125-1.125h5.25c.621 0 1.125.504 1.125 1.125v8.25c0 .621-.504 1.125-1.125 1.125h-5.25a1.125 1.125 0 0 1-1.125-1.125v-8.25ZM3.75 16.125c0-.621.504-1.125 1.125-1.125h5.25c.621 0 1.125.504 1.125 1.125v2.25c0 .621-.504 1.125-1.125 1.125h-5.25a1.125 1.125 0 0 1-1.125-1.125v-2.25Z",tableCells:"M3.375 19.5h17.25m-17.25 0a1.125 1.125 0 0 1-1.125-1.125M3.375 19.5h7.5c.621 0 1.125-.504 1.125-1.125m-9.75 0V5.625m0 12.75v-1.5c0-.621.504-1.125 1.125-1.125m18.375 2.625V5.625m0 12.75c0 .621-.504 1.125-1.125 1.125m1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125m0 3.75h-7.5A1.125 1.125 0 0 1 12 18.375m9.75-12.75c0-.621-.504-1.125-1.125-1.125H3.375c-.621 0-1.125.504-1.125 1.125m19.5 0v1.5c0 .621-.504 1.125-1.125 1.125M2.25 5.625v1.5c0 .621.504 1.125 1.125 1.125m0 0h17.25m-17.25 0h7.5c.621 0 1.125.504 1.125 1.125M3.375 8.25c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125m17.25-3.75h-7.5c-.621 0-1.125.504-1.125 1.125m8.625-1.125c.621 0 1.125.504 1.125 1.125v1.5c0 .621-.504 1.125-1.125 1.125m-17.25 0h7.5m-7.5 0c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125M12 10.875v-1.5m0 1.5c0 .621-.504 1.125-1.125 1.125M12 10.875c0 .621.504 1.125 1.125 1.125m-2.25 0c.621 0 1.125.504 1.125 1.125M13.125 12h7.5m-7.5 0c-.621 0-1.125.504-1.125 1.125M20.625 12c.621 0 1.125.504 1.125 1.125v1.5c0 .621-.504 1.125-1.125 1.125m-17.25 0h7.5M12 14.625v-1.5m0 1.5c0 .621-.504 1.125-1.125 1.125M12 14.625c0 .621.504 1.125 1.125 1.125m-2.25 0c.621 0 1.125.504 1.125 1.125m0 1.5v-1.5m0 0c0-.621.504-1.125 1.125-1.125m0 0h7.5",arrowsRightLeft:"M7.5 21 3 16.5m0 0L7.5 12M3 16.5h13.5m0-13.5L21 7.5m0 0L16.5 12M21 7.5H7.5",document:"M9 12h3.75M9 15h3.75M9 18h3.75m3 .75H18a2.25 2.25 0 002.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 00-1.123-.08m-5.801 0c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 00.75-.75 2.25 2.25 0 00-.1-.664m-5.8 0A2.251 2.251 0 0113.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m0 0H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V9.375c0-.621-.504-1.125-1.125-1.125H8.25zM6.75 12h.008v.008H6.75V12zm0 3h.008v.008H6.75V15zm0 3h.008v.008H6.75V18z",externalLink:"M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25",lock:"M16.5 10.5V6.75a4.5 4.5 0 1 0-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 0 0 2.25-2.25v-6.75a2.25 2.25 0 0 0-2.25-2.25H6.75a2.25 2.25 0 0 0-2.25 2.25v6.75a2.25 2.25 0 0 0 2.25 2.25Z",shoppingCart:"M2.25 3h1.386c.51 0 .955.343 1.087.835l.383 1.437M7.5 14.25a3 3 0 00-3 3h15.75m-12.75-3h11.218c1.121-2.3 2.1-4.684 2.924-7.138a60.114 60.114 0 00-16.536-1.84M7.5 14.25L5.106 5.272M6 20.25a.75.75 0 11-1.5 0 .75.75 0 011.5 0zm12.75 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",minus:"M5 12h14",pencilSquare:"M21.731 2.269a2.625 2.625 0 0 0-3.712 0l-1.157 1.157 3.712 3.712 1.157-1.157a2.625 2.625 0 0 0 0-3.712ZM19.513 8.199l-3.712-3.712-8.4 8.4a5.25 5.25 0 0 0-1.32 2.214l-.8 2.685a.75.75 0 0 0 .933.933l2.685-.8a5.25 5.25 0 0 0 2.214-1.32l8.4-8.4Z",pencilSquareContinued:"M5.25 5.25a3 3 0 0 0-3 3v10.5a3 3 0 0 0 3 3h10.5a3 3 0 0 0 3-3V13.5a.75.75 0 0 0-1.5 0v5.25a1.5 1.5 0 0 1-1.5 1.5H5.25a1.5 1.5 0 0 1-1.5-1.5V8.25a1.5 1.5 0 0 1 1.5-1.5h5.25a.75.75 0 0 0 0-1.5H5.25Z",chevronUpSmall:"M4.5 15.75l7.5-7.5 7.5 7.5",chevronDownSmall:"M19.5 8.25l-7.5 7.5-7.5-7.5",chevronUpTable:"M8.25 6.75 12 3m0 0 3.75 3.75M12 3v18",chevronDownTable:"M15.75 17.25 12 21m0 0-3.75-3.75M12 21V3",speakerWave:"M19.114 5.636a9 9 0 010 12.728M16.463 8.288a5.25 5.25 0 010 7.424M6.75 8.25l4.72-4.72a.75.75 0 011.28.53v15.88a.75.75 0 01-1.28.53l-4.72-4.72H4.51c-.88 0-1.704-.507-1.938-1.354A9.01 9.01 0 012.25 12c0-.83.112-1.633.322-2.396C2.806 8.756 3.63 8.25 4.51 8.25H6.75z",zap:"m3.75 13.5 10.5-11.25L12 10.5h8.25L9.75 21.75 12 13.5H3.75Z",code:"M17.25 6.75L22.5 12l-5.25 5.25m-10.5 0L1.5 12l5.25-5.25m7.5-3l-4.5 16.5",questionMarkCircle:"M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9 5.25h.008v.008H12v-.008z",search:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z",exclamationCircle:"M12 9v3.75m9-.75a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 3.75h.008v.008H12v-.008Z",exclamationTriangle:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z",checkCircle:"M9 12.75 11.25 15 15 9.75M21 12c0 1.268-.63 2.39-1.593 3.068a3.745 3.745 0 0 1-1.043 3.296 3.745 3.745 0 0 1-3.296 1.043A3.745 3.745 0 0 1 12 21c-1.268 0-2.39-.63-3.068-1.593a3.746 3.746 0 0 1-3.296-1.043 3.745 3.745 0 0 1-1.043-3.296A3.745 3.745 0 0 1 3 12c0-1.268.63-2.39 1.593-3.068a3.745 3.745 0 0 1 1.043-3.296 3.746 3.746 0 0 1 3.296-1.043A3.746 3.746 0 0 1 12 3c1.268 0 2.39.63 3.068 1.593a3.746 3.746 0 0 1 3.296 1.043 3.746 3.746 0 0 1 1.043 3.296A3.745 3.745 0 0 1 21 12Z",megaphone:"M10.34 15.84c-.688-.06-1.386-.09-2.09-.09H7.5a4.5 4.5 0 1 1 0-9h.75c.704 0 1.402-.03 2.09-.09m0 9.18c.253.962.584 1.892.985 2.783.247.55.06 1.21-.463 1.511l-.657.38c-.551.318-1.26.117-1.527-.461a20.845 20.845 0 0 1-1.44-4.282m3.102.069a18.03 18.03 0 0 1-.59-4.59c0-1.586.205-3.124.59-4.59m0 9.18a23.848 23.848 0 0 1 8.835 2.535M10.34 6.66a23.847 23.847 0 0 0 8.835-2.535m0 0A23.74 23.74 0 0 0 18.795 3m.38 1.125a23.91 23.91 0 0 1 1.014 5.395m-1.014 8.855c-.118.38-.245.754-.38 1.125m.38-1.125a23.91 23.91 0 0 0 1.014-5.395m0-3.46c.495.413.811 1.035.811 1.73 0 .695-.316 1.317-.811 1.73m0-3.46a24.347 24.347 0 0 1 0 3.46",xCircle:"m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z",arrowsPointingIn:"M9 9V4.5M9 9H4.5M9 9 3.75 3.75M9 15v4.5M9 15H4.5M9 15l-5.25 5.25M15 9h4.5M15 9V4.5M15 9l5.25-5.25M15 15h4.5M15 15v4.5m0-4.5 5.25 5.25",arrowsPointingOut:"M3.75 3.75v4.5m0-4.5h4.5m-4.5 0L9 9M3.75 20.25v-4.5m0 4.5h4.5m-4.5 0L9 15M20.25 3.75h-4.5m4.5 0v4.5m0-4.5L15 9m5.25 11.25h-4.5m4.5 0v-4.5m0 4.5L15 15",arrowPath:"M19.5 12c0-1.232-.046-2.453-.138-3.662a4.006 4.006 0 0 0-3.7-3.7 48.678 48.678 0 0 0-7.324 0 4.006 4.006 0 0 0-3.7 3.7c-.017.22-.032.441-.046.662M19.5 12l3-3m-3 3-3-3m-12 3c0 1.232.046 2.453.138 3.662a4.006 4.006 0 0 0 3.7 3.7 48.656 48.656 0 0 0 7.324 0 4.006 4.006 0 0 0 3.7-3.7c.017-.22.032-.441.046-.662M4.5 12l3 3m-3-3-3 3",arrowUturnLeft:"M9 15 3 9m0 0 6-6M3 9h12a6 6 0 0 1 0 12h-3",magnifyingGlassPlus:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607ZM10.5 7.5v6m3-3h-6",arrowsUpDown:"M3 7.5 7.5 3m0 0L12 7.5M7.5 3v13.5m13.5 0L16.5 21m0 0L12 16.5m4.5 4.5V7.5",envelope:"M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z",lockClosed:"M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z",userCircle:"M17.982 18.725A7.488 7.488 0 0012 15.75a7.488 7.488 0 00-5.982 2.975m11.963 0a9 9 0 10-11.963 0m11.963 0A8.966 8.966 0 0112 21a8.966 8.966 0 01-5.982-2.275M15 9.75a3 3 0 11-6 0 3 3 0 016 0z",arrowRightOnRectangle:"M15.75 9V5.25A2.25 2.25 0 0 0 13.5 3h-6a2.25 2.25 0 0 0-2.25 2.25v13.5A2.25 2.25 0 0 0 7.5 21h6a2.25 2.25 0 0 0 2.25-2.25V15m3 0 3-3m0 0-3-3m3 3H9",chevronRight:"m8.25 4.5 7.5 7.5-7.5 7.5",arrowDownTray:"M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5M16.5 12 12 16.5m0 0L7.5 12m4.5 4.5V3",arrowUpTray:"M3 7.5V5.25A2.25 2.25 0 0 1 5.25 3h13.5A2.25 2.25 0 0 1 21 5.25V7.5m-4.5 4.5L12 7.5m0 0L7.5 12m4.5-4.5v13.5",import:"M9 8.25H7.5a2.25 2.25 0 0 0-2.25 2.25v9a2.25 2.25 0 0 0 2.25 2.25h9a2.25 2.25 0 0 0 2.25-2.25v-9a2.25 2.25 0 0 0-2.25-2.25H15M9 12l3 3m0 0 3-3m-3 3V2.25",export:"M9 8.25H7.5a2.25 2.25 0 0 0-2.25 2.25v9a2.25 2.25 0 0 0 2.25 2.25h9a2.25 2.25 0 0 0 2.25-2.25v-9a2.25 2.25 0 0 0-2.25-2.25H15m0-3-3-3m0 0-3 3m3-3V15",home:"m2.25 12 8.954-8.955c.44-.439 1.152-.439 1.591 0L21.75 12M4.5 9.75v10.125c0 .621.504 1.125 1.125 1.125H9.75v-4.875c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21h4.125c.621 0 1.125-.504 1.125-1.125V9.75M8.25 21h8.25",play:"M5 3l14 9-14 9V3z"},Ie={eye:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("path",{d:"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"}),(0,n.jsx)("path",{d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})]}),google:(0,n.jsxs)("g",{transform:"matrix(1, 0, 0, 1, 27.009001, -39.238998)",children:[(0,n.jsx)("path",{fill:"#4285F4",stroke:"none",d:"M -3.264 51.509 C -3.264 50.719 -3.334 49.969 -3.454 49.239 L -14.754 49.239 L -14.754 53.749 L -8.284 53.749 C -8.574 55.229 -9.424 56.479 -10.684 57.329 L -10.684 60.329 L -6.824 60.329 C -4.564 58.239 -3.264 55.159 -3.264 51.509 Z"}),(0,n.jsx)("path",{fill:"#34A853",stroke:"none",d:"M -14.754 63.239 C -11.514 63.239 -8.804 62.159 -6.824 60.329 L -10.684 57.329 C -11.764 58.049 -13.134 58.489 -14.754 58.489 C -17.884 58.489 -20.534 56.379 -21.484 53.529 L -25.464 53.529 L -25.464 56.619 C -23.494 60.539 -19.444 63.239 -14.754 63.239 Z"}),(0,n.jsx)("path",{fill:"#FBBC05",stroke:"none",d:"M -21.484 53.529 C -21.734 52.809 -21.864 52.039 -21.864 51.239 C -21.864 50.439 -21.724 49.669 -21.484 48.949 L -21.484 45.859 L -25.464 45.859 C -26.284 47.479 -26.754 49.299 -26.754 51.239 C -26.754 53.179 -26.284 54.999 -25.464 56.619 L -21.484 53.529 Z"}),(0,n.jsx)("path",{fill:"#EA4335",stroke:"none",d:"M -14.754 43.989 C -12.984 43.989 -11.404 44.599 -10.154 45.789 L -6.734 42.369 C -8.804 40.429 -11.514 39.239 -14.754 39.239 C -19.444 39.239 -23.494 41.939 -25.464 45.859 L -21.484 48.949 C -20.534 46.099 -17.884 43.989 -14.754 43.989 Z"})]})},Ae={check:(0,n.jsx)("path",{d:l.check}),x:(0,n.jsx)("path",{d:l.x}),edit:(0,n.jsx)("path",{d:l.edit}),close:(0,n.jsx)("path",{d:l.close}),plus:(0,n.jsx)("path",{d:l.plus}),arrowDown:(0,n.jsx)("path",{d:l.arrowDown}),arrowUp:(0,n.jsx)("path",{d:l.arrowUp}),clipboard:(0,n.jsx)("path",{d:l.clipboard}),cloudArrowUp:(0,n.jsx)("path",{d:l.cloudArrowUp}),arrowDownToLine:(0,n.jsx)("path",{d:l.arrowDownToLine}),folder:(0,n.jsx)("path",{d:l.folder}),arrowUpFromLine:(0,n.jsx)("path",{d:l.arrowUpFromLine}),arrowRightOnRectangle:(0,n.jsx)("path",{d:l.arrowRightOnRectangle}),squares:(0,n.jsx)("path",{d:l.squares}),tableCells:(0,n.jsx)("path",{d:l.tableCells}),arrowsRightLeft:(0,n.jsx)("path",{d:l.arrowsRightLeft}),document:(0,n.jsx)("path",{d:l.document}),externalLink:(0,n.jsx)("path",{d:l.externalLink}),lock:(0,n.jsx)("path",{d:l.lock}),shoppingCart:(0,n.jsx)("path",{d:l.shoppingCart}),minus:(0,n.jsx)("path",{d:l.minus}),pencilSquare:(0,n.jsx)("path",{d:l.pencilSquare}),pencilSquareContinued:(0,n.jsx)("path",{d:l.pencilSquareContinued}),chevronDownSmall:(0,n.jsx)("path",{d:l.chevronDownSmall}),chevronUpSmall:(0,n.jsx)("path",{d:l.chevronUpSmall}),chevronDownTable:(0,n.jsx)("path",{d:l.chevronDownTable}),chevronUpTable:(0,n.jsx)("path",{d:l.chevronUpTable}),speakerWave:(0,n.jsx)("path",{d:l.speakerWave}),zap:(0,n.jsx)("path",{d:l.zap}),code:(0,n.jsx)("path",{d:l.code}),questionMarkCircle:(0,n.jsx)("path",{d:l.questionMarkCircle}),search:(0,n.jsx)("path",{d:l.search}),exclamationCircle:(0,n.jsx)("path",{d:l.exclamationCircle}),exclamationTriangle:(0,n.jsx)("path",{d:l.exclamationTriangle}),checkCircle:(0,n.jsx)("path",{d:l.checkCircle}),megaphone:(0,n.jsx)("path",{d:l.megaphone}),xCircle:(0,n.jsx)("path",{d:l.xCircle}),arrowsPointingIn:(0,n.jsx)("path",{d:l.arrowsPointingIn}),arrowsPointingOut:(0,n.jsx)("path",{d:l.arrowsPointingOut}),arrowPath:(0,n.jsx)("path",{d:l.arrowPath}),arrowUturnLeft:(0,n.jsx)("path",{d:l.arrowUturnLeft}),magnifyingGlassPlus:(0,n.jsx)("path",{d:l.magnifyingGlassPlus}),arrowsUpDown:(0,n.jsx)("path",{d:l.arrowsUpDown}),envelope:(0,n.jsx)("path",{d:l.envelope}),lockClosed:(0,n.jsx)("path",{d:l.lockClosed}),userCircle:(0,n.jsx)("path",{d:l.userCircle}),chevronRight:(0,n.jsx)("path",{d:l.chevronRight}),arrowDownTray:(0,n.jsx)("path",{d:l.arrowDownTray}),arrowUpTray:(0,n.jsx)("path",{d:l.arrowUpTray}),import:(0,n.jsx)("path",{d:l.import}),export:(0,n.jsx)("path",{d:l.export}),home:(0,n.jsx)("path",{d:l.home}),play:(0,n.jsx)("path",{d:l.play}),eye:Ie.eye,google:Ie.google};var Ve=require("react/jsx-runtime"),g=ze.default.forwardRef(({className:e,size:t="md",name:r,children:a,...o},p)=>{let i={sm:"pb:w-3 pb:h-3",md:"pb:w-4 pb:h-4",lg:"pb:w-6 pb:h-6",xl:"pb:w-8 pb:h-8"},m=r?Ae[r]:a;return(0,Ve.jsx)("svg",{ref:p,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:s(i[t],"pb:inline-block",e),...o,children:m})});g.displayName="Icon";var N=require("react/jsx-runtime"),Ee=ge.default.forwardRef(({className:e,options:t,id:r,value:a,defaultValue:o,onChange:p,disabled:i,placeholder:m="Select...",onFocus:u,...v},c)=>{let h=ge.default.useId(),f=r||h;return(0,N.jsx)("div",{className:"pb:w-full",children:(0,N.jsxs)(I.Select.Root,{value:a===void 0?null:String(a),defaultValue:o===void 0?void 0:String(o),onValueChange:(d,y)=>{if(p){let F=y?.event||y;p(d,F)}},disabled:i,children:[(0,N.jsxs)(I.Select.Trigger,{ref:c,id:f,className:s("pb:flex pb:w-full pb:items-center pb:justify-between pb:rounded-md pb:border-0 pb:py-1.5 pb:pl-3 pb:pr-3 pb:text-gray-900 pb:ring-1 pb:ring-inset pb:ring-gray-300 pb:focus:ring-2 pb:focus:ring-primary pb:sm:text-sm pb:sm:leading-6 pb:bg-primary/10 pb:min-h-[36px]",i&&"pb:opacity-50 pb:cursor-not-allowed",e),onFocus:u,...v,children:[(0,N.jsx)(I.Select.Value,{placeholder:m}),(0,N.jsx)(I.Select.Icon,{children:(0,N.jsx)(g,{size:"sm",children:(0,N.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"})})})]}),(0,N.jsx)(I.Select.Portal,{children:(0,N.jsx)(I.Select.Positioner,{sideOffset:4,className:"pb:z-50 pb:w-[var(--anchor-width)]",children:(0,N.jsx)(I.Select.Popup,{className:"pb:max-h-60 pb:overflow-auto pb:rounded-md pb:bg-white pb:py-1 pb:text-base pb:shadow-lg pb:ring-1 pb:ring-black pb:ring-opacity-5 focus:pb:outline-none pb:sm:text-sm",children:t.map((d,y)=>{let F=typeof d=="object"?d.label:d,K=typeof d=="object"?d.value:d;return(0,N.jsxs)(I.Select.Item,{value:K,className:"pb:relative pb:cursor-default pb:select-none pb:py-2 pb:pl-3 pb:pr-9 pb:text-gray-900 pb:hover:bg-gray-100 data-[highlighted]:pb:bg-gray-100 data-[selected]:pb:font-semibold",children:[(0,N.jsx)(I.Select.ItemText,{children:F}),(0,N.jsx)(I.Select.ItemIndicator,{className:"pb:absolute pb:inset-y-0 pb:right-0 pb:flex pb:items-center pb:pr-4 pb:text-primary",children:(0,N.jsx)(g,{size:"sm",children:(0,N.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 12.75l6 6 9-13.5"})})})]},`${K}-${y}`)})})})})]})})});Ee.displayName="Select";var ue=w(require("react")),Fe=require("clsx"),We=require("tailwind-merge"),W=require("react/jsx-runtime");function Ue(...e){return(0,We.twMerge)((0,Fe.clsx)(e))}var kt={1:"pb:text-4xl pb:font-bold",2:"pb:text-3xl pb:font-bold",3:"pb:text-2xl pb:font-bold",4:"pb:text-xl pb:font-bold",5:"pb:text-lg pb:font-bold",6:"pb:text-base pb:font-bold"},Rt={default:"pb:text-base pb:text-slate-950",muted:"pb:text-sm pb:text-slate-600",error:"pb:text-sm pb:text-red-600 pb:font-medium",small:"pb:text-xs pb:text-slate-600"},A=({level:e=1,className:t,children:r,...a})=>ue.default.createElement(`h${e}`,{className:Ue(kt[e],t),...a},r),C=({variant:e="default",as:t="p",className:r,children:a,...o})=>ue.default.createElement(t,{className:Ue(Rt[e],r),...o},a),Mt=({args:e})=>(0,W.jsxs)("div",{className:"pb:space-y-4",...e,children:[(0,W.jsx)(A,{level:1,children:"Heading 1"}),(0,W.jsx)(A,{level:2,children:"Heading 2"}),(0,W.jsx)(A,{level:3,children:"Heading 3"}),(0,W.jsx)(C,{children:"Body text"}),(0,W.jsx)(C,{variant:"muted",children:"Caption text"}),(0,W.jsx)(C,{variant:"small",children:"Small text"}),(0,W.jsx)(C,{variant:"small",as:"span",children:"Small span text"})]});var Oe=w(require("react")),j=require("@base-ui/react");var z=require("react/jsx-runtime"),se=Oe.default.forwardRef(({className:e,min:t=0,max:r=100,step:a=1,value:o,defaultValue:p,disabled:i,onChange:m,name:u,icon:v,...c},h)=>{let f=(d,y)=>{m&&m(d,y)};return(0,z.jsxs)("div",{className:s("pb:w-full pb:flex pb:items-center pb:gap-4",e),children:[v&&(0,z.jsx)("div",{className:"pb:text-gray-500 pb:shrink-0",children:v}),(0,z.jsx)("div",{className:"pb:flex-grow pb:flex pb:items-center pb:h-8 pb:min-w-[120px]",children:(0,z.jsx)(j.Slider.Root,{ref:h,min:t,max:r,step:a,value:o!==void 0?Array.isArray(o)?o:[o]:void 0,defaultValue:p!==void 0?Array.isArray(p)?p:[p]:void 0,disabled:i,orientation:"horizontal",...c,onValueChange:(d,y)=>{let F=y?.event||window.event;f(d,F)},className:s("pb:relative pb:flex pb:items-center pb:w-full pb:h-full pb:group pb:touch-none pb:select-none",i&&"pb:opacity-50 pb:cursor-not-allowed",e),children:(0,z.jsxs)(j.Slider.Control,{className:"pb:flex pb:items-center pb:w-full pb:h-full pb:relative pb:cursor-pointer",children:[(0,z.jsx)(j.Slider.Track,{className:"pb:relative pb:bg-gray-200 pb:rounded-full pb:w-full pb:h-1.5 pb:overflow-hidden pb:transition-colors group-pb:hover:bg-gray-300",children:(0,z.jsx)(j.Slider.Indicator,{className:"pb:absolute pb:bg-primary pb:rounded-full pb:h-full"})}),(0,z.jsx)(j.Slider.Thumb,{className:"pb:z-10 pb:block pb:w-4.5 pb:h-4.5 pb:bg-white pb:shadow-md pb:rounded-full pb:border-2 pb:border-primary focus:pb:outline-none focus:pb:ring-4 focus:pb:ring-primary/20 pb:cursor-grab active:pb:cursor-grabbing pb:hover:scale-110 active:pb:scale-95 pb:transition-transform"})]})})}),u&&(0,z.jsx)("input",{type:"hidden",name:u,value:o})]})});se.displayName="Slider";var Ze=w(require("react"));var fe=w(require("react")),ee=require("@base-ui/react");var L=require("react/jsx-runtime"),le=fe.default.forwardRef(({className:e,value:t,defaultValue:r,min:a,max:o,step:p,onChange:i,disabled:m,readOnly:u,id:v,placeholder:c,showButtons:h=!1,...f},d)=>{let y=fe.default.useId(),F=v||y;return(0,L.jsx)("div",{className:"pb:w-full",children:(0,L.jsx)(ee.NumberField.Root,{ref:d,value:t,defaultValue:r,min:a,max:o,step:p,onValueChange:(K,ne)=>{if(i){let ut=ne?.event||ne;i(K,ut)}},disabled:m,readOnly:u,className:s("pb:flex pb:flex-col pb:gap-1",e),...f,children:(0,L.jsxs)("div",{className:s("pb:group pb:relative pb:flex pb:items-center pb:rounded-md pb:border-0 pb:bg-primary/10 pb:ring-1 pb:ring-inset pb:ring-gray-300 pb:focus-within:ring-2 pb:focus-within:ring-primary pb:shadow-sm",m&&"pb:opacity-50 pb:cursor-not-allowed"),children:[h&&(0,L.jsx)(ee.NumberField.Decrement,{"aria-label":"Decrement",className:"pb:relative pb:z-20 pb:flex pb:items-center pb:justify-center pb:w-8 pb:h-9 pb:text-gray-500 pb:hover:text-gray-700 pb:hover:bg-gray-100/50 pb:rounded-l-md pb:border-r pb:border-gray-300 disabled:pb:opacity-30 pb:cursor-pointer",children:(0,L.jsx)(g,{size:"sm",children:(0,L.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 12h-15"})})}),(0,L.jsx)(ee.NumberField.Input,{id:F,placeholder:c,className:s("pb:block pb:w-full pb:bg-transparent pb:border-0 pb:px-3 pb:py-1.5 pb:text-gray-900 pb:placeholder:text-gray-400 pb:focus:ring-0 pb:sm:text-sm pb:sm:leading-6 pb:text-center pb:appearance-none pb:relative pb:z-0",!h&&"pb:rounded-md")}),h&&(0,L.jsx)(ee.NumberField.Increment,{"aria-label":"Increment",className:"pb:relative pb:z-20 pb:flex pb:items-center pb:justify-center pb:w-8 pb:h-9 pb:text-gray-500 pb:hover:text-gray-700 pb:hover:bg-gray-100/50 pb:rounded-r-md pb:border-l pb:border-gray-300 disabled:pb:opacity-30 pb:cursor-pointer",children:(0,L.jsx)(g,{size:"sm",children:(0,L.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4.5v15m7.5-7.5h-15"})})}),(0,L.jsx)(ee.NumberField.ScrubArea,{className:"pb:absolute pb:inset-0 pb:z-10 pb:cursor-ew-resize pb:opacity-0 pb:hover:opacity-10 pb:transition-opacity pb:bg-primary/5 pb:rounded-md pb:pointer-events-none group-pb:hover:pointer-events-auto"})]})})})});le.displayName="NumberField";var Q=require("react/jsx-runtime"),qe=Ze.default.forwardRef(({className:e,min:t=0,max:r=100,step:a=1,value:o,defaultValue:p,disabled:i,onChange:m,inputWidth:u="w-20",...v},c)=>{let h=(f,d)=>{if(m){let y=Array.isArray(f)?f[0]:f;m(y,d)}};return(0,Q.jsxs)("div",{ref:c,className:s("pb:flex pb:flex-row pb:items-center pb:gap-4 pb:w-full pb:min-w-0 pb:sm:flex-nowrap pb:flex-wrap",e),...v,children:[(0,Q.jsx)("div",{className:"pb:flex-grow pb:min-w-[120px]",children:(0,Q.jsx)(se,{min:t,max:r,step:a,value:o,defaultValue:p,disabled:i,onChange:h,className:"pb:w-full"})}),(0,Q.jsx)("div",{className:s(u,"pb:shrink-0"),children:(0,Q.jsx)(le,{value:o,defaultValue:p,min:t,max:r,step:a,disabled:i,onChange:(f,d)=>{f!==null&&h(f,d)},showButtons:!1})})]})});qe.displayName="SliderWithNumberField";var Ge=w(require("react")),q=require("@base-ui/react");var B=require("react/jsx-runtime");function $e({content:e,children:t,className:r,delay:a="normal"}){return(0,B.jsx)(q.Tooltip.Provider,{delay:a==="slow"?1e3:0,children:(0,B.jsxs)(q.Tooltip.Root,{children:[Ge.default.isValidElement(t)?(0,B.jsx)(q.Tooltip.Trigger,{render:t}):(0,B.jsx)(q.Tooltip.Trigger,{children:t}),(0,B.jsx)(q.Tooltip.Portal,{children:(0,B.jsx)(q.Tooltip.Positioner,{sideOffset:8,children:(0,B.jsxs)(q.Tooltip.Popup,{className:s("pb:z-50 pb:rounded pb:shadow-lg pb:bg-white pb:p-2 pb:text-xs pb:text-center pb:whitespace-normal pb:max-w-xs pb:text-gray-900 pb:border pb:border-gray-200",r),children:[e,(0,B.jsx)(q.Tooltip.Arrow,{className:"pb:fill-white pb:stroke-gray-200"})]})})})]})})}function he({content:e,className:t}){return(0,B.jsx)($e,{content:e,className:t,children:(0,B.jsx)(g,{size:"md",className:"pb:text-gray-500 pb:hover:text-gray-700 pb:cursor-help",children:(0,B.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 5.25h.008v.008H12v-.008Z"})})})}var _e=w(require("react")),U=require("@base-ui/react");var V=require("react/jsx-runtime");function Ct({open:e,onOpenChange:t,trigger:r,children:a,className:o}){return(0,V.jsxs)(U.Dialog.Root,{open:e,onOpenChange:(p,i)=>{t?.(p,i?.event)},children:[r&&(_e.default.isValidElement(r)?(0,V.jsx)(U.Dialog.Trigger,{render:r}):(0,V.jsx)(U.Dialog.Trigger,{children:r})),(0,V.jsxs)(U.Dialog.Portal,{children:[(0,V.jsx)(U.Dialog.Backdrop,{className:"pb:fixed pb:inset-0 pb:z-50 pb:bg-black/40 pb:transition-all pb:duration-200 data-[state=open]:pb:animate-in data-[state=closed]:pb:animate-out pb:data-[state=closed]:fade-out-0 pb:data-[state=open]:fade-in-0"}),(0,V.jsx)(U.Dialog.Popup,{className:s("pb:fixed pb:left-[50%] pb:top-[50%] pb:z-50 pb:grid pb:w-auto pb:max-w-[90vw] pb:translate-x-[-50%] pb:translate-y-[-50%] pb:gap-4 pb:border pb:bg-white pb:p-6 pb:shadow-lg pb:duration-200 data-[state=open]:pb:animate-in data-[state=closed]:pb:animate-out data-[state=closed]:pb:fade-out-0 data-[state=open]:pb:fade-in-0 data-[state=closed]:pb:zoom-out-95 data-[state=open]:pb:zoom-in-95 data-[state=closed]:pb:slide-out-to-left-1/2 data-[state=closed]:pb:slide-out-to-top-[48%] data-[state=open]:pb:slide-in-from-left-1/2 data-[state=open]:pb:slide-in-from-top-[48%] sm:rounded-lg",o),children:a})]})]})}var Tt=e=>(0,V.jsx)(U.Dialog.Title,{...e}),Pt=e=>(0,V.jsx)(U.Dialog.Description,{...e}),Lt=e=>(0,V.jsx)(U.Dialog.Close,{...e});var Y=require("@base-ui/react");var X=require("react/jsx-runtime");function Bt({trigger:e,children:t,side:r="bottom",align:a="center",className:o,open:p,onOpenChange:i}){return(0,X.jsxs)(Y.Popover.Root,{open:p,onOpenChange:i,children:[(0,X.jsx)(Y.Popover.Trigger,{children:e}),(0,X.jsx)(Y.Popover.Portal,{children:(0,X.jsx)(Y.Popover.Positioner,{side:r,align:a,sideOffset:5,children:(0,X.jsxs)(Y.Popover.Popup,{className:s("pb:z-50 pb:w-72 pb:rounded-md pb:border pb:bg-white pb:p-4 pb:shadow-md pb:outline-none pb:data-[state=open]:animate-in pb:data-[state=closed]:animate-out pb:data-[state=closed]:fade-out-0 pb:data-[state=open]:fade-in-0 pb:data-[state=closed]:zoom-out-95 pb:data-[state=open]:zoom-in-95",o),children:[t,(0,X.jsx)(Y.Popover.Arrow,{className:"pb:fill-white pb:stroke-gray-200"})]})})})]})}var be=w(require("react")),G=require("@base-ui/react");var O=require("react/jsx-runtime");function St({trigger:e,children:t,align:r="end",className:a}){return(0,O.jsxs)(G.Menu.Root,{children:[be.default.isValidElement(e)?(0,O.jsx)(G.Menu.Trigger,{render:e}):(0,O.jsx)(G.Menu.Trigger,{children:e}),(0,O.jsx)(G.Menu.Portal,{children:(0,O.jsx)(G.Menu.Positioner,{align:r,sideOffset:5,children:(0,O.jsx)(G.Menu.Popup,{className:s("pb:z-50 pb:min-w-[8rem] pb:overflow-hidden pb:rounded-md pb:border pb:bg-white pb:p-1 pb:shadow-md pb:data-[state=open]:animate-in pb:data-[state=closed]:animate-out pb:data-[state=closed]:fade-out-0 pb:data-[state=open]:fade-in-0 pb:data-[state=closed]:zoom-out-95 pb:data-[state=open]:zoom-in-95",a),children:t})})})]})}var Xe=be.default.forwardRef(({className:e,...t},r)=>(0,O.jsx)(G.Menu.Item,{ref:r,className:s("pb:relative pb:flex pb:cursor-default pb:select-none pb:items-center pb:rounded-sm pb:px-2 pb:py-1.5 pb:text-sm pb:outline-none pb:transition-colors pb:data-[highlighted]:bg-gray-100 pb:data-[highlighted]:text-gray-900",e),...t}));Xe.displayName="DropdownItem";var Je=be.default.forwardRef(({className:e,...t},r)=>(0,O.jsx)(G.Menu.Separator,{ref:r,className:s("pb:-mx-1 pb:my-1 pb:h-px pb:bg-gray-100",e),...t}));Je.displayName="DropdownSeparator";var Ke=require("react");var $=require("react/jsx-runtime");function xe({title:e,children:t,variant:r="secondary",size:a="md",defaultOpen:o=!1,className:p}){let[i,m]=(0,Ke.useState)(o);return(0,$.jsxs)("div",{className:s("w-full",p),children:[(0,$.jsx)(x,{variant:r,size:a,className:"pb:w-full pb:justify-between pb:font-medium",onClick:()=>m(!i),"aria-expanded":i,rightIcon:(0,$.jsx)(g,{className:"pb:h-5 pb:w-5 pb:text-gray-600",strokeWidth:"2.5",children:i?(0,$.jsx)("path",{d:"M4.5 15.75l7.5-7.5 7.5 7.5"}):(0,$.jsx)("path",{d:"M19.5 8.25l-7.5 7.5-7.5-7.5"})}),children:(0,$.jsx)("span",{children:e})}),i&&(0,$.jsx)("div",{className:"pb:px-4 pb:pt-4 pb:pb-2 pb:text-sm pb:text-gray-500",children:t})]})}var ve=w(require("react")),ye=require("@base-ui/react");var de=require("react/jsx-runtime"),Qe=ve.default.forwardRef(({checked:e,defaultChecked:t,onChange:r,disabled:a,className:o,id:p,...i},m)=>{let u=ve.default.useId(),v=p??u;return(0,de.jsx)("div",{className:s("pb:flex pb:items-center pb:gap-2",o),children:(0,de.jsx)(ye.Switch.Root,{ref:m,id:v,checked:e,defaultChecked:t,onCheckedChange:(c,h)=>{r?.(c,h?.event)},disabled:a,className:s("pb:relative pb:inline-flex pb:h-6 pb:w-11 pb:flex-shrink-0 pb:cursor-pointer pb:rounded-full pb:border-2 pb:border-transparent pb:transition-colors pb:duration-200 pb:ease-in-out pb:focus:outline-none pb:focus:ring-2 pb:focus:ring-primary pb:focus:ring-offset-2","pb:data-[checked]:bg-primary pb:data-[unchecked]:bg-gray-200",a&&"pb:opacity-50 pb:cursor-not-allowed"),...i,children:(0,de.jsx)(ye.Switch.Thumb,{className:s("pb:pointer-events-none pb:inline-block pb:h-5 pb:w-5 pb:transform pb:rounded-full pb:bg-white pb:shadow pb:ring-0 pb:transition pb:duration-200 pb:ease-in-out","pb:data-[checked]:translate-x-5 pb:data-[unchecked]:translate-x-0")})})})});Qe.displayName="Switch";var re=require("react/jsx-runtime");function we({children:e,tooltip:t,className:r,...a}){return(0,re.jsx)("label",{className:s("pb:relative pb:block pb:text-sm pb:font-bold pb:leading-6 pb:text-gray-600 pb:mb-1 pb:group-focus-within:text-gray-800",r),...a,children:(0,re.jsxs)("div",{className:"pb:flex pb:items-center pb:gap-1",children:[e,t&&(0,re.jsx)(he,{content:t})]})})}var J=require("react/jsx-runtime");function Ht({title:e,children:t,onClose:r,className:a="",headerClassName:o="",headingLevel:p=2,setPanel:i=m=>{}}){let m=()=>{r?r():i("None")};return(0,J.jsxs)("div",{className:`pb:space-y-1 pb:p-1 ${a}`,children:[(0,J.jsxs)("div",{className:`pb:flex pb:items-center pb:justify-between pb:px-1 pb:mb-1 pb:border pb:border-solid pb:border-gray-400 pb:pb-1 ${o}`,children:[(0,J.jsx)(A,{level:p,className:"pb:text-lg",children:e}),(0,J.jsx)(x,{variant:"ghost",size:"sm",onClick:m,className:"pb:p-1 pb:rounded pb:hover:bg-gray-100 pb:h-auto","aria-label":`Close ${e} Panel`,children:(0,J.jsx)(g,{size:"md",className:"pb:h-5 pb:w-5",children:(0,J.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"})})})]}),t]})}var ce=require("@base-ui/react"),Ne=require("react/jsx-runtime"),Dt={default:"pb:data-[pressed]:bg-white pb:data-[pressed]:text-gray-900 pb:data-[pressed]:shadow-sm pb:data-[pressed]:ring-1 pb:data-[pressed]:ring-gray-200",primary:"pb:data-[pressed]:bg-primary/20 pb:data-[pressed]:shadow-sm pb:data-[pressed]:ring-1 pb:data-[pressed]:ring-primary",danger:"pb:data-[pressed]:bg-danger/20 pb:data-[pressed]:shadow-sm pb:data-[pressed]:ring-1 pb:data-[pressed]:ring-danger"};function It({options:e,value:t,onChange:r,className:a,variant:o="default","aria-label":p}){return(0,Ne.jsx)(ce.ToggleGroup,{value:t?[t]:[],onValueChange:i=>{r(i[0])},"aria-label":p,className:s("pb:inline-flex pb:p-1 pb:space-x-1 pb:bg-gray-100 pb:rounded-lg pb:border pb:border-gray-200",a),children:e.map(i=>(0,Ne.jsx)(ce.Toggle,{value:i.value,disabled:i.disabled,className:s("pb:relative pb:cursor-pointer pb:px-3 pb:py-1.5 pb:text-sm pb:font-medium pb:rounded-md pb:transition-all pb:flex pb:items-center pb:justify-center pb:outline-none","pb:text-gray-600 pb:hover:text-gray-900 pb:hover:bg-gray-200","pb:disabled:opacity-50 pb:disabled:cursor-not-allowed pb:disabled:hover:bg-transparent pb:disabled:hover:text-gray-600",Dt[o]),children:i.label},i.value))})}var ae=require("@base-ui/react"),Ye=w(require("react"));var H=require("react/jsx-runtime"),oe=Ye.default.forwardRef(({label:e,description:t,error:r,tooltip:a,children:o,className:p,icon:i,labelPlacement:m="top",labelWeight:u="bold",...v},c)=>{let h=m==="left"||m==="right",f=m==="right";return(0,H.jsxs)(ae.Field.Root,{ref:c,className:s("pb:flex pb:w-full",h?"pb:flex-col pb:gap-1":"pb:flex-col pb:gap-1.5",p),...v,children:[(0,H.jsxs)("div",{className:s("pb:flex",h?"pb:flex-row pb:items-center pb:gap-2":"pb:flex-col pb:gap-1.5"),children:[f&&(0,H.jsx)("div",{className:"pb:relative",children:o}),e&&(0,H.jsx)(ae.Field.Label,{render:d=>(0,H.jsx)(we,{tooltip:a,className:s("pb:mb-0",u==="normal"&&"pb:font-normal"),...d,children:(0,H.jsxs)("span",{className:"pb:flex pb:items-center pb:gap-1",children:[i&&(0,H.jsx)("span",{className:"pb:flex-shrink-0",children:i}),e]})})}),!f&&(0,H.jsx)("div",{className:"pb:relative",children:o})]}),t&&(0,H.jsx)(ae.Field.Description,{className:s("pb:text-xs pb:text-gray-500",f&&"pb:ml-7"),children:t}),r&&(0,H.jsx)(ae.Field.Error,{className:s("pb:text-xs pb:text-red-600 pb:font-medium",f&&"pb:ml-7"),children:r})]})});oe.displayName="Field";var je=w(require("react")),et=require("react-router-dom");var ke=require("react/jsx-runtime"),tt=je.forwardRef(({className:e,href:t,target:r,...a},o)=>{let p=t&&!t.startsWith("http")&&!r,i=s("pb:font-medium pb:text-teal-700 pb:underline pb:underline-offset-4 pb:hover:text-teal-900 pb:cursor-pointer",e);return p?(0,ke.jsx)(et.Link,{to:t,ref:o,className:i,...a}):(0,ke.jsx)("a",{href:t,target:r,ref:o,className:i,...a})});tt.displayName="Anchor";var rt=require("@base-ui/react"),at=w(require("react"));var Re=require("react/jsx-runtime"),ot=at.default.forwardRef(({className:e,id:t,...r},a)=>(0,Re.jsx)(rt.Input,{render:(0,Re.jsx)("textarea",{}),ref:a,id:t,className:s("pb:block pb:w-full pb:rounded-md pb:border-0 pb:px-1.5 pb:py-1.5 pb:text-gray-900 pb:ring-1 pb:ring-inset pb:ring-gray-300 pb:placeholder:text-gray-400 pb:focus:ring-2 pb:focus:ring-inset pb:focus:ring-primary pb:sm:text-sm pb:sm:leading-6 pb:bg-primary/10 pb:appearance-none",e),...r}));ot.displayName="TextArea";var Me=require("@base-ui/react"),pt=w(require("react"));var pe=require("react/jsx-runtime"),nt=pt.default.forwardRef(({className:e,id:t,checked:r,onChange:a,...o},p)=>(0,pe.jsx)(Me.Checkbox.Root,{ref:p,id:t,checked:r,onCheckedChange:i=>{a&&a({target:{checked:i===!0}})},className:s("pb:flex pb:h-5 pb:w-5 pb:shrink-0 pb:items-center pb:justify-center pb:rounded pb:border pb:border-gray-300 pb:bg-white pb:shadow-sm pb:transition-all pb:focus-visible:outline-none pb:focus-visible:ring-2 pb:focus-visible:ring-primary pb:focus-visible:ring-offset-2 pb:disabled:cursor-not-allowed pb:disabled:opacity-50","pb:hover:border-primary pb:hover:bg-primary/5","pb:data-[state=checked]:bg-primary pb:data-[state=checked]:border-primary pb:data-[state=checked]:text-white",e),...o,children:(0,pe.jsx)(Me.Checkbox.Indicator,{children:(0,pe.jsx)(g,{size:"sm",strokeWidth:3,className:"pb:text-dark-primary",children:(0,pe.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 12.75 6 6 9-13.5"})})})}));nt.displayName="Checkbox";var E=require("react/jsx-runtime");function At({title:e,children:t,className:r,contentClassName:a,collapsible:o,defaultOpen:p=!0,headingLevel:i=3}){let m=(0,E.jsx)("div",{className:s("pb:flex pb:flex-col",a),children:t});return(0,E.jsx)("div",{className:s("pb:m-2 pb:p-4 pb:bg-white pb:shadow-xl pb:rounded-lg pb:flex pb:flex-1 pb:flex-col",r),children:o?(0,E.jsx)(xe,{title:typeof e=="string"?(0,E.jsx)(A,{level:i,className:"pb:text-gray-600",children:e}):e,variant:"ghost",defaultOpen:p,children:m}):(0,E.jsxs)(E.Fragment,{children:[e&&(0,E.jsx)("div",{className:"pb:flex pb:items-center pb:justify-between pb:mb-2 empty:hidden",children:typeof e=="string"?(0,E.jsx)(A,{level:i,className:"pb:text-gray-600",children:e}):e}),m]})})}var it=w(require("react")),Ce=require("@base-ui/react/separator");var lt=require("react/jsx-runtime"),st=it.forwardRef(({className:e,orientation:t="horizontal",...r},a)=>(0,lt.jsx)(Ce.Separator,{ref:a,orientation:t,className:s("pb:shrink-0 pb:bg-gray-200",t==="horizontal"?"pb:h-[1px] pb:w-full":"pb:h-full pb:w-[1px]",e),...r}));st.displayName=Ce.Separator.displayName;var bt=require("react/jsx-runtime");function zt({className:e,...t}){return(0,bt.jsx)("div",{className:s("pb:animate-pulse pb:rounded-md pb:bg-gray-200/50",e),...t})}var dt=require("react-dom");var b=require("react/jsx-runtime");function Te({label:e}){let{pending:t}=(0,dt.useFormStatus)();return(0,b.jsx)(x,{type:"submit",variant:"primary",isLoading:t,disabled:t,children:e})}function Vt({mode:e,onModeChange:t,formAction:r,actionState:a,onGoogleSignIn:o,title:p,description:i}){return(0,b.jsxs)("div",{className:"pb:text-left pb:overflow-hidden",children:[(0,b.jsx)(A,{level:2,className:"pb:text-center pb:mb-2",children:p||(e==="signing up"?"Sign up":e==="signing in"?"Sign In":"Reset Password")}),(0,b.jsxs)("form",{className:"pb:md:m-10 pb:sm:m-4 pb:space-y-4",action:r,children:[i&&(0,b.jsx)(C,{className:"pb:text-center pb:mb-6",variant:"muted",children:i}),e==="resetting password"&&(0,b.jsx)(C,{className:"pb:text-center pb:font-bold pb:text-dark-primary",children:a.message}),(0,b.jsx)(C,{className:"pb:text-center",variant:"error",children:a.error}),(0,b.jsxs)("div",{className:"pb:space-y-4",children:[(0,b.jsx)(oe,{id:"email",label:"Email",error:a.error&&a.error.includes("email")?a.error:"",children:(0,b.jsx)(te,{name:"email",type:"email",required:!0,placeholder:"Email",leftIcon:(0,b.jsx)(g,{name:"envelope"})})}),e!=="resetting password"&&(0,b.jsx)(oe,{id:"password",label:"Password",error:a.error&&a.error.includes("password")?a.error:"",children:(0,b.jsx)(te,{name:"password",type:"password",required:!0,placeholder:"Password",leftIcon:(0,b.jsx)(g,{name:"lockClosed"})})})]}),(0,b.jsxs)("div",{className:"pb:text-center pb:mt-6 pb:space-y-4",children:[e==="signing up"&&(0,b.jsx)(Te,{label:"Sign Up"}),e==="signing in"&&(0,b.jsx)(Te,{label:"Sign In"}),e==="resetting password"&&(0,b.jsx)(Te,{label:"Reset Password"}),(0,b.jsxs)("div",{className:"pb:text-center pb:text-sm pb:text-gray-500",children:[e==="signing up"&&(0,b.jsxs)(C,{children:["Already have an account?"," ",(0,b.jsx)(x,{variant:"ghost",size:"sm",onClick:()=>t("signing in"),className:"pb:underline pb:p-0 pb:h-auto pb:hover:bg-transparent",children:"Sign in"})]}),e==="signing in"&&(0,b.jsxs)("div",{className:"pb:flex pb:flex-col pb:gap-2",children:[(0,b.jsxs)(C,{children:["Forgot your password?"," ",(0,b.jsx)(x,{variant:"ghost",size:"sm",onClick:()=>t("resetting password"),className:"pb:underline pb:p-0 pb:h-auto pb:hover:bg-transparent",children:"Reset password."})]}),(0,b.jsxs)("div",{className:"pb:relative",children:[(0,b.jsx)("div",{className:"pb:absolute pb:inset-0 pb:flex pb:items-center",children:(0,b.jsx)("div",{className:"pb:w-full pb:border-t pb:border-gray-300"})}),(0,b.jsx)("div",{className:"pb:relative pb:flex pb:justify-center pb:text-sm",children:(0,b.jsx)("span",{className:"pb:px-2 pb:bg-white pb:text-gray-500",children:"or"})})]}),(0,b.jsxs)(C,{children:["Don't have an account?"," ",(0,b.jsx)(x,{variant:"ghost",size:"sm",onClick:()=>t("signing up"),className:"pb:underline pb:p-0 pb:h-auto pb:hover:bg-transparent",children:"Sign up"})]})]}),e==="resetting password"&&(0,b.jsxs)("div",{className:"pb:flex pb:flex-col pb:gap-2",children:[(0,b.jsxs)(C,{children:["Don't have an account?"," ",(0,b.jsx)(x,{variant:"ghost",size:"sm",onClick:()=>t("signing up"),className:"pb:underline pb:p-0 pb:h-auto pb:hover:bg-transparent",children:"Sign up"})]}),(0,b.jsxs)("div",{className:"pb:relative",children:[(0,b.jsx)("div",{className:"pb:absolute pb:inset-0 pb:flex pb:items-center",children:(0,b.jsx)("div",{className:"pb:w-full pb:border-t pb:border-gray-300"})}),(0,b.jsx)("div",{className:"pb:relative pb:flex pb:justify-center pb:text-sm",children:(0,b.jsx)("span",{className:"pb:px-2 pb:bg-white pb:text-gray-500",children:"or"})})]}),(0,b.jsxs)(C,{children:["Remembered your password?",(0,b.jsx)(x,{variant:"ghost",size:"sm",onClick:()=>t("signing in"),className:"pb:underline pb:p-0 pb:h-auto pb:hover:bg-transparent",children:"Sign In"})]})]})]})]}),e!=="resetting password"&&o&&(0,b.jsx)("div",{className:"pb:text-center pb:mt-4",children:(0,b.jsxs)(x,{variant:"secondary",onClick:o,type:"button",className:"pb:w-full pb:flex pb:items-center pb:justify-center pb:gap-2",children:[(0,b.jsx)(g,{name:"google",stroke:"none"}),e==="signing up"&&(0,b.jsx)("span",{children:"Sign up with Google"}),e==="signing in"&&(0,b.jsx)("span",{children:"Sign in with Google"})]})})]})]})}var ct=require("react");var D=require("react/jsx-runtime");function Et({level:e,message:t,action:r}){let[a,o]=(0,ct.useState)(!0);return(0,D.jsxs)("div",{className:"pb:flex pb:w-full pb:p-4 pb:m-1 pb:text-sm pb:rounded-lg pb:bg-white pb:border pb:border-solid pb:transition-opacity pb:ease-in-out pb:delay-150 pb:duration-300 "+(a?" ":" pb:hidden"),children:[(0,D.jsxs)("span",{children:[e==="Error"&&(0,D.jsx)(g,{name:"exclamationCircle",size:"lg",className:"pb:m-2",stroke:"red"}),e==="Warning"&&(0,D.jsx)(g,{name:"exclamationTriangle",size:"lg",className:"pb:m-2",stroke:"yellow"}),e==="Success"&&(0,D.jsx)(g,{name:"checkCircle",size:"lg",className:"pb:m-2",stroke:"green"}),e==="Info"&&(0,D.jsx)(g,{name:"megaphone",size:"lg",className:"pb:m-2"})]}),(0,D.jsx)("span",{className:"pb:flex pb:flex-1 pb:ml-2",children:t}),r&&(0,D.jsx)(x,{onClick:()=>{r.callback(),o(!1)},children:r.name}),(0,D.jsx)("span",{className:"pb:cursor-pointer",onClick:()=>{o(!1)},children:(0,D.jsx)(g,{name:"xCircle",size:"lg",className:"pb:m-1"})})]})}var S=require("react/jsx-runtime");function Ft({tabs:e,activeTabId:t,onTabClick:r,onAddClick:a,className:o=""}){return(0,S.jsxs)("div",{className:`pb:overflow-x-auto pb:max-h-20 pb:text-sm pb:whitespace-nowrap ${o}`,children:[e.map(p=>{let i=p.id===t;return(0,S.jsxs)("div",{className:"pb:inline-block pb:align-middle pb:m-1 pb:px-2 pb:py-2 pb:cursor-pointer pb:rounded-sm "+(i?"pb:font-bold pb:bg-primary/30":"pb:font-gray-300 pb:bg-gray-200"),onClick:()=>r(p.id),children:[(0,S.jsx)("span",{className:"pb:inline-block pb:align-middle",children:p.label}),i&&(p.onEdit||p.onClose)&&(0,S.jsxs)("span",{className:"pb:inline-flex pb:items-center pb:ml-2 pb:align-middle",children:[p.onEdit&&(0,S.jsx)(x,{variant:"ghost",size:"sm","aria-label":"Edit Tab",onClick:m=>{m.stopPropagation(),p.onEdit()},leftIcon:(0,S.jsx)(g,{name:"edit",size:"sm"})}),p.onEdit&&p.onClose&&(0,S.jsx)("span",{className:"pb:opacity-10 pb:align-middle pb:mx-1",children:" | "}),p.onClose&&(0,S.jsx)(x,{variant:"ghost",size:"sm","aria-label":"Close Tab",onClick:m=>{m.stopPropagation(),p.onClose()},leftIcon:(0,S.jsx)(g,{name:"close",size:"sm"})})]})]},p.id)}),a&&(0,S.jsx)(x,{variant:"primary",size:"sm","aria-label":"Create New Tab",onClick:a,leftIcon:(0,S.jsx)(g,{name:"plus",size:"sm"}),className:"pb:m-1 pb:align-middle pb:inline-flex"})]})}var k=require("react/jsx-runtime");function Wt({title:e,description:t="Peerbots platform: social robots for everyone, powered by experts.",image:r="/peerbots-logo.png",url:a,type:o="website"}){let p="Peerbots App",i=e==="Home"?p:`${e} | ${p}`,m=a||(typeof window<"u"?window.location.href:"");return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("title",{children:i}),(0,k.jsx)("meta",{name:"description",content:t}),(0,k.jsx)("meta",{property:"og:title",content:i}),(0,k.jsx)("meta",{property:"og:description",content:t}),(0,k.jsx)("meta",{property:"og:image",content:r}),(0,k.jsx)("meta",{property:"og:url",content:m}),(0,k.jsx)("meta",{property:"og:type",content:o}),(0,k.jsx)("meta",{property:"og:site_name",content:p}),(0,k.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,k.jsx)("meta",{name:"twitter:title",content:i}),(0,k.jsx)("meta",{name:"twitter:description",content:t}),(0,k.jsx)("meta",{name:"twitter:image",content:r})]})}var R=require("victory"),T=require("react/jsx-runtime");function mt({data:e,alt:t,chartWidth:r=600,chartHeight:a=400,average:o,referenceLineValue:p,referenceLineLabel:i="Reference",label:m}){let u=Math.max(...e.map(c=>c.count),5),v=e.map(c=>c.label);return e.length===0?null:(0,T.jsxs)("div",{className:"pb:mb-6",role:"img","aria-label":t,children:[m&&(0,T.jsx)("label",{className:"pb:text-xs pb:uppercase pb:font-bold pb:text-gray-400 pb:block pb:mb-2 pb:px-1",children:m}),(0,T.jsxs)(R.VictoryChart,{width:r,height:a,padding:{left:100,right:50,top:40,bottom:60},containerComponent:(0,T.jsx)(R.VictoryVoronoiContainer,{}),children:[(0,T.jsx)(R.VictoryAxis,{horizontal:!0,tickValues:v,style:{axis:{stroke:"#cbd5e1"},tickLabels:{fontSize:18,padding:5,fill:"#334155"}}}),(0,T.jsx)(R.VictoryAxis,{dependentAxis:!0,domain:[0,u],tickFormat:c=>typeof c=="number"?Math.round(c):c,style:{axis:{stroke:"#cbd5e1"},tickLabels:{fontSize:18,padding:5,fill:"#334155"},grid:{stroke:"#f1f5f9"}}}),(0,T.jsx)(R.VictoryBar,{horizontal:!0,domain:{x:[.5,v.length+.5],y:[0,u]},data:e,x:"label",y:"count",labels:({datum:c})=>{if(!c||c.count===0)return"";if(!c.items||c.items.length===0)return`${c.count}`;let f=c.items.slice(0,5).join(`
|
|
2
|
+
`);return c.items.length>5&&(f+=`
|
|
3
|
+
...and ${c.items.length-5} more`),f},labelComponent:(0,T.jsx)(R.VictoryTooltip,{style:{fontSize:18},flyoutStyle:{fill:"white",stroke:"#cbd5e1"},pointerLength:5,cornerRadius:2,constrainToVisibleArea:!0}),style:{data:{fill:({datum:c})=>c?.fill?c.fill==="White"?"#f3f4f6":c.fill:"#46d9d9",width:14,stroke:({datum:c})=>c?.stroke?c.stroke:c?.fill==="White"?"#d1d5db":"none",strokeWidth:({datum:c})=>c?.stroke||c?.fill==="White"?.5:0,cursor:"pointer"}},cornerRadius:2}),o!==void 0&&(0,T.jsx)(R.VictoryLine,{y:()=>o,style:{data:{stroke:"#9ca3af",strokeWidth:2,strokeDasharray:"4, 4"}},labels:["Average"],labelComponent:(0,T.jsx)(R.VictoryLabel,{y:45,style:{fill:"#475569",fontSize:18,fontWeight:"bold"},backgroundStyle:{fill:"white"},backgroundPadding:12})}),p!==void 0&&(0,T.jsx)(R.VictoryLine,{y:()=>p,labels:[i],labelComponent:(0,T.jsx)(R.VictoryLabel,{y:45,style:{fill:"#ef4444",fontSize:18,fontWeight:"bold"},backgroundStyle:{fill:"white"},backgroundPadding:12}),style:{data:{stroke:"#ef4444",strokeWidth:2,strokeDasharray:"4, 4"}}})]})]})}var M=require("victory"),P=require("react/jsx-runtime");function gt({data:e,alt:t,label:r,average:a,referenceLineValue:o,referenceLineLabel:p="Reference",chartWidth:i=600,chartHeight:m=400}){if(e.length===0)return null;let u=10,v=Math.max(...e.map(d=>d.x),o??0,u),c=Math.ceil(v/u)*u+u,h=[];for(let d=0;d<=c;d+=u)h.push(d);return(0,P.jsxs)("div",{className:"pb:mb-6",role:"img","aria-label":t,children:[(0,P.jsx)("label",{className:"pb:text-xs pb:uppercase pb:font-bold pb:text-gray-400 pb:block pb:mb-2 pb:px-1",children:r}),(0,P.jsxs)(M.VictoryChart,{width:i,height:m,padding:{left:60,right:30,top:20,bottom:70},containerComponent:(0,P.jsx)(M.VictoryVoronoiContainer,{}),children:[(0,P.jsx)(M.VictoryAxis,{label:"Length",tickValues:h,tickFormat:d=>typeof d=="number"?Math.round(d):d,style:{axis:{stroke:"#cbd5e1"},axisLabel:{fontSize:18,padding:45,fill:"#334155",fontWeight:"bold"},tickLabels:{fontSize:18,padding:5,fill:"#334155",angle:45,textAnchor:"start"}}}),(0,P.jsx)(M.VictoryAxis,{dependentAxis:!0,label:"Count",tickFormat:d=>typeof d=="number"?Math.round(d):d,style:{axis:{stroke:"#cbd5e1"},axisLabel:{fontSize:18,padding:40,fill:"#334155",fontWeight:"bold"},tickLabels:{fontSize:18,padding:5,fill:"#334155"},grid:{stroke:"#f1f5f9"}}}),(0,P.jsx)(M.VictoryHistogram,{data:e,bins:h,x:"x",labels:({datum:d})=>{if(!d||d.y===0||!d.binnedData)return"";let y=d.binnedData.map(ne=>ne.text),K=y.slice(0,5).join(`
|
|
4
4
|
`);return y.length>5&&(K+=`
|
|
5
|
-
...and ${y.length-5} more`),K},labelComponent:(0,P.jsx)(M.VictoryTooltip,{style:{fontSize:18},flyoutStyle:{fill:"white",stroke:"#cbd5e1"},pointerLength:5,cornerRadius:2,constrainToVisibleArea:!0}),style:{data:{fill:"#46d9d9",stroke:"#fff",strokeWidth:1,cursor:"pointer"}}}),a!==void 0&&(0,P.jsx)(M.VictoryLine,{x:()=>a,style:{data:{stroke:"#9ca3af",strokeWidth:2,strokeDasharray:"4, 4"}},labels:["Average"],labelComponent:(0,P.jsx)(M.VictoryLabel,{y:45,style:{fill:"#475569",fontSize:18,fontWeight:"bold"},backgroundStyle:{fill:"white"},backgroundPadding:12})}),o!==void 0&&(0,P.jsx)(M.VictoryLine,{x:()=>o,labels:[
|
|
5
|
+
...and ${y.length-5} more`),K},labelComponent:(0,P.jsx)(M.VictoryTooltip,{style:{fontSize:18},flyoutStyle:{fill:"white",stroke:"#cbd5e1"},pointerLength:5,cornerRadius:2,constrainToVisibleArea:!0}),style:{data:{fill:"#46d9d9",stroke:"#fff",strokeWidth:1,cursor:"pointer"}}}),a!==void 0&&(0,P.jsx)(M.VictoryLine,{x:()=>a,style:{data:{stroke:"#9ca3af",strokeWidth:2,strokeDasharray:"4, 4"}},labels:["Average"],labelComponent:(0,P.jsx)(M.VictoryLabel,{y:45,style:{fill:"#475569",fontSize:18,fontWeight:"bold"},backgroundStyle:{fill:"white"},backgroundPadding:12})}),o!==void 0&&(0,P.jsx)(M.VictoryLine,{x:()=>o,labels:[p],labelComponent:(0,P.jsx)(M.VictoryLabel,{y:45,style:{fill:"#ef4444",fontSize:18,fontWeight:"bold"},backgroundStyle:{fill:"white"},backgroundPadding:12}),style:{data:{stroke:"#ef4444",strokeWidth:2,strokeDasharray:"4, 4"}}})]})]})}0&&(module.exports={Alert,Anchor,AuthFormUI,BasePanel,Button,Checkbox,Collapsible,Dialog,DialogClose,DialogDescription,DialogTitle,DistributionBarChart,DistributionHistogram,Dropdown,DropdownItem,DropdownSeparator,Field,Heading,HelperTooltip,Icon,Input,Label,NumberField,Popover,SEO,Select,Separator,SettingsPanel,Skeleton,Slider,SliderWithNumberField,Switch,TabRadio,TabSelection,Text,TextArea,Tooltip,TypographyList,cn,iconPaths});
|