@percy.ai/heatmap 0.0.0-dev-20231212003558 → 0.0.0-dev-20231212202338
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/dist/umd/heatmap.js
CHANGED
|
@@ -37407,9 +37407,9 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37407
37407
|
|
|
37408
37408
|
ColorWrap(Google);
|
|
37409
37409
|
|
|
37410
|
-
function r(...e){return twMerge(clsx(e))}var zr="https://api-dev.liberty.percyai.io/key_service/v1/jwt/generate";var Zt=async({clientKey:e})=>{try{return e?await(await fetch(zr,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({clientKey:e})})).json():void 0}catch(t){console.error("Error requesting token:",t);return}};var W=(e,t)=>e?.config?e.config.find(o=>o.name===t):{};var He=cva("inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),ce=React__namespace.forwardRef(({className:e,variant:t,size:o,asChild:a=!1,...i},n)=>React__namespace.createElement(a?$5e63c961fc1ce211$export$8c6ed5c666ac1360$1:"button",{className:r(He({variant:t,size:o,className:e})),ref:n,...i}));ce.displayName="Button";var at=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("div",{ref:o,className:r("rounded-xl border bg-card text-card-foreground shadow",e),...t}));at.displayName="Card";var it=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("div",{ref:o,className:r("flex flex-col space-y-1.5 p-6",e),...t}));it.displayName="CardHeader";var qt=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("h3",{ref:o,className:r("font-semibold leading-none tracking-tight",e),...t}));qt.displayName="CardTitle";var jr=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("p",{ref:o,className:r("text-sm text-muted-foreground",e),...t}));jr.displayName="CardDescription";var nt=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("div",{ref:o,className:r("p-6 pt-0",e),...t}));nt.displayName="CardContent";var st=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("div",{ref:o,className:r("flex items-center p-6 pt-0",e),...t}));st.displayName="CardFooter";var Xt=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($cddcb0b647441e34$export$be92b6f5f03c0fe9,{ref:o,className:r("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",e),...t}));Xt.displayName=$cddcb0b647441e34$export$be92b6f5f03c0fe9.displayName;var $r=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($cddcb0b647441e34$export$3e431a229df88919,{ref:o,className:r("aspect-square h-full w-full",e),...t}));$r.displayName=$cddcb0b647441e34$export$3e431a229df88919.displayName;var Kt=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($cddcb0b647441e34$export$fb8d7f40caaeea67,{ref:o,className:r("flex h-full w-full items-center justify-center rounded-full bg-muted",e),...t}));Kt.displayName=$cddcb0b647441e34$export$fb8d7f40caaeea67.displayName;var Qt=React__namespace.forwardRef(({className:e,value:t,...o},a)=>React__namespace.createElement($67824d98245208a0$export$be92b6f5f03c0fe9,{ref:a,className:r("relative h-2 w-full overflow-hidden rounded-full bg-primary/20",e),...o},React__namespace.createElement($67824d98245208a0$export$adb584737d712b70,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(t||0)}%)`}})));Qt.displayName=$67824d98245208a0$export$be92b6f5f03c0fe9.displayName;var ct=React__namespace.forwardRef(({className:e,sideOffset:t=4,...o},a)=>React__namespace.createElement($a093c7e1ec25a057$export$7c6e2c02157bb7d2,{ref:a,sideOffset:t,className:r("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...o}));ct.displayName=$a093c7e1ec25a057$export$7c6e2c02157bb7d2.displayName;var Bo=({className:e,...t})=>React__namespace.createElement($5d3850c4d0b4e6c7$export$602eac185826482c$1,{className:r(e),...t});Bo.displayName=$5d3850c4d0b4e6c7$export$602eac185826482c$1.displayName;var Uo=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($5d3850c4d0b4e6c7$export$c6fdb837b070b4ff$1,{className:r("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:o}));Uo.displayName=$5d3850c4d0b4e6c7$export$c6fdb837b070b4ff$1.displayName;var Kr=cva("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),Qr=React__namespace.forwardRef(({side:e="right",className:t,children:o,...a},i)=>React__namespace.createElement(Bo,null,React__namespace.createElement(Uo,null),React__namespace.createElement($5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2$1,{ref:i,className:r(Kr({side:e}),t),...a},o,React__namespace.createElement($5d3850c4d0b4e6c7$export$f39c2d165cd861fe,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary"},React__namespace.createElement(Cross2Icon,{className:"h-4 w-4"}),React__namespace.createElement("span",{className:"sr-only"},"Close")))));Qr.displayName=$5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2$1.displayName;var oa=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($5d3850c4d0b4e6c7$export$f99233281efd08a0,{ref:o,className:r("text-lg font-semibold text-foreground",e),...t}));oa.displayName=$5d3850c4d0b4e6c7$export$f99233281efd08a0.displayName;var ra=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($5d3850c4d0b4e6c7$export$393edc798c47379d,{ref:o,className:r("text-sm text-muted-foreground",e),...t}));ra.displayName=$5d3850c4d0b4e6c7$export$393edc798c47379d.displayName;var eo=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("div",{className:"w-full overflow-auto"},React__namespace.createElement("table",{ref:o,className:r("w-full caption-bottom text-sm",e),...t})));eo.displayName="Table";var to=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("thead",{ref:o,className:r("[&_tr]:border-b",e),...t}));to.displayName="TableHeader";var oo=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("tbody",{ref:o,className:r("[&_tr:last-child]:border-0",e),...t}));oo.displayName="TableBody";var ro=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("tfoot",{ref:o,className:r("bg-primary font-medium text-primary-foreground",e),...t}));ro.displayName="TableFooter";var dt=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("tr",{ref:o,className:r("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",e),...t}));dt.displayName="TableRow";var Le=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("th",{ref:o,className:r("h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...t}));Le.displayName="TableHead";var Me=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("td",{ref:o,className:r("p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...t}));Me.displayName="TableCell";var ao=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("caption",{ref:o,className:r("mt-4 text-sm text-muted-foreground",e),...t}));ao.displayName="TableCaption";var ia=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($1bf158f521e1b1b4$export$6d08773d2e66f8f2,{ref:o,className:r("border-b",e),...t}));ia.displayName="AccordionItem";var na=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($1bf158f521e1b1b4$export$8b251419efc915eb,{className:"flex"},React__namespace.createElement($1bf158f521e1b1b4$export$41fb9f06171c75f4,{ref:a,className:r("flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",e),...o},t,React__namespace.createElement(ChevronDownIcon,{className:"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200"}))));na.displayName=$1bf158f521e1b1b4$export$41fb9f06171c75f4.displayName;var sa=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($1bf158f521e1b1b4$export$7c6e2c02157bb7d2,{ref:a,className:r("overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",e),...o},React__namespace.createElement("div",{className:"pb-4 pt-0"},t)));sa.displayName=$1bf158f521e1b1b4$export$7c6e2c02157bb7d2.displayName;var ma=cva("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),io=React__namespace.forwardRef(({className:e,variant:t,...o},a)=>React__namespace.createElement("div",{ref:a,role:"alert",className:r(ma({variant:t}),e),...o}));io.displayName="Alert";var no=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("h5",{ref:o,className:r("mb-1 font-medium leading-none tracking-tight",e),...t}));no.displayName="AlertTitle";var so=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("div",{ref:o,className:r("text-sm [&_p]:leading-relaxed",e),...t}));so.displayName="AlertDescription";var Wo=$905f4ae918aab1aa$export$be92b6f5f03c0fe9,zo=$905f4ae918aab1aa$export$41fb9f06171c75f4,Go=({className:e,...t})=>React__namespace.createElement($905f4ae918aab1aa$export$602eac185826482c,{className:r(e),...t});Go.displayName=$905f4ae918aab1aa$export$602eac185826482c.displayName;var Yo=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($905f4ae918aab1aa$export$c6fdb837b070b4ff,{className:r("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:o}));Yo.displayName=$905f4ae918aab1aa$export$c6fdb837b070b4ff.displayName;var lo=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement(Go,null,React__namespace.createElement(Yo,null),React__namespace.createElement($905f4ae918aab1aa$export$7c6e2c02157bb7d2,{ref:o,className:r("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background 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 md:w-full",e),...t})));lo.displayName=$905f4ae918aab1aa$export$7c6e2c02157bb7d2.displayName;var mo=({className:e,...t})=>React__namespace.createElement("div",{className:r("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});mo.displayName="AlertDialogFooter";var co=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($905f4ae918aab1aa$export$f99233281efd08a0,{ref:o,className:r("text-lg font-semibold",e),...t}));co.displayName=$905f4ae918aab1aa$export$f99233281efd08a0.displayName;var da=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($905f4ae918aab1aa$export$393edc798c47379d,{ref:o,className:r("text-sm text-muted-foreground",e),...t}));da.displayName=$905f4ae918aab1aa$export$393edc798c47379d.displayName;var po=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($905f4ae918aab1aa$export$e19cd5f9376f8cee,{ref:o,className:r(He(),e),...t}));po.displayName=$905f4ae918aab1aa$export$e19cd5f9376f8cee.displayName;var pa=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($905f4ae918aab1aa$export$848c9b7ead0df967,{ref:o,className:r(He({variant:"outline"}),"mt-2 sm:mt-0",e),...t}));pa.displayName=$905f4ae918aab1aa$export$848c9b7ead0df967.displayName;var fo=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($e698a72e93240346$export$be92b6f5f03c0fe9,{ref:o,className:r("peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",e),...t},React__namespace.createElement($e698a72e93240346$export$adb584737d712b70,{className:r("flex items-center justify-center text-current")},React__namespace.createElement(CheckIcon$1,{className:"h-4 w-4"}))));fo.displayName=$e698a72e93240346$export$be92b6f5f03c0fe9.displayName;var jo=({className:e,...t})=>React__namespace.createElement($5d3850c4d0b4e6c7$export$602eac185826482c$1,{className:r(e),...t});jo.displayName=$5d3850c4d0b4e6c7$export$602eac185826482c$1.displayName;var $o=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($5d3850c4d0b4e6c7$export$c6fdb837b070b4ff$1,{ref:o,className:r("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));$o.displayName=$5d3850c4d0b4e6c7$export$c6fdb837b070b4ff$1.displayName;var Ve=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement(jo,null,React__namespace.createElement($o,null),React__namespace.createElement($5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2$1,{ref:a,className:r("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background 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 md:w-full",e),...o},t,React__namespace.createElement($5d3850c4d0b4e6c7$export$f39c2d165cd861fe,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground"},React__namespace.createElement(Cross2Icon,{className:"h-4 w-4"}),React__namespace.createElement("span",{className:"sr-only"},"Close")))));Ve.displayName=$5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2$1.displayName;var vo=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($5d3850c4d0b4e6c7$export$f99233281efd08a0,{ref:o,className:r("text-lg font-semibold leading-none tracking-tight",e),...t}));vo.displayName=$5d3850c4d0b4e6c7$export$f99233281efd08a0.displayName;var ho=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($5d3850c4d0b4e6c7$export$393edc798c47379d,{ref:o,className:r("text-sm text-muted-foreground",e),...t}));ho.displayName=$5d3850c4d0b4e6c7$export$393edc798c47379d.displayName;var Jo=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement(Le$1,{ref:o,className:r("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",e),...t}));Jo.displayName=Le$1.displayName;var xa=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":""},React__namespace.createElement(MagnifyingGlassIcon,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),React__namespace.createElement(Le$1.Input,{ref:o,className:r("flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",e),...t})));xa.displayName=Le$1.Input.displayName;var ya=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement(Le$1.List,{ref:o,className:r("max-h-[300px] overflow-y-auto overflow-x-hidden",e),...t}));ya.displayName=Le$1.List.displayName;var Pa=React__namespace.forwardRef((e,t)=>React__namespace.createElement(Le$1.Empty,{ref:t,className:"py-6 text-center text-sm",...e}));Pa.displayName=Le$1.Empty.displayName;var Ta=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement(Le$1.Group,{ref:o,className:r("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",e),...t}));Ta.displayName=Le$1.Group.displayName;var Ca=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement(Le$1.Separator,{ref:o,className:r("-mx-1 h-px bg-border",e),...t}));Ca.displayName=Le$1.Separator.displayName;var Ea=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement(Le$1.Item,{ref:o,className:r("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-selected:bg-accent aria-selected:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...t}));Ea.displayName=Le$1.Item.displayName;var Ma=React__namespace.forwardRef(({className:e,inset:t,children:o,...a},i)=>React__namespace.createElement($1b0217ee4a91d156$export$2ea8a7a591ac5eac,{ref:i,className:r("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",t&&"pl-8",e),...a},o,React__namespace.createElement(ChevronRightIcon,{className:"ml-auto h-4 w-4"})));Ma.displayName=$1b0217ee4a91d156$export$2ea8a7a591ac5eac.displayName;var Sa=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($1b0217ee4a91d156$export$6d4de93b380beddf,{ref:o,className:r("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg 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-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));Sa.displayName=$1b0217ee4a91d156$export$6d4de93b380beddf.displayName;var Da=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($1b0217ee4a91d156$export$602eac185826482c,null,React__namespace.createElement($1b0217ee4a91d156$export$7c6e2c02157bb7d2,{ref:o,className:r("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t})));Da.displayName=$1b0217ee4a91d156$export$7c6e2c02157bb7d2.displayName;var Ia=React__namespace.forwardRef(({className:e,inset:t,...o},a)=>React__namespace.createElement($1b0217ee4a91d156$export$6d08773d2e66f8f2,{ref:a,className:r("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",e),...o}));Ia.displayName=$1b0217ee4a91d156$export$6d08773d2e66f8f2.displayName;var _a=React__namespace.forwardRef(({className:e,children:t,checked:o,...a},i)=>React__namespace.createElement($1b0217ee4a91d156$export$16ce288f89fa631c,{ref:i,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:o,...a},React__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},React__namespace.createElement($1b0217ee4a91d156$export$c3468e2714d175fa,null,React__namespace.createElement(CheckIcon$1,{className:"h-4 w-4"}))),t));_a.displayName=$1b0217ee4a91d156$export$16ce288f89fa631c.displayName;var ka=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($1b0217ee4a91d156$export$371ab307eab489c0,{ref:a,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...o},React__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},React__namespace.createElement($1b0217ee4a91d156$export$c3468e2714d175fa,null,React__namespace.createElement(DotFilledIcon,{className:"h-4 w-4 fill-current"}))),t));ka.displayName=$1b0217ee4a91d156$export$371ab307eab489c0.displayName;var Oa=React__namespace.forwardRef(({className:e,inset:t,...o},a)=>React__namespace.createElement($1b0217ee4a91d156$export$b04be29aa201d4f5,{ref:a,className:r("px-2 py-1.5 text-sm font-semibold text-foreground",t&&"pl-8",e),...o}));Oa.displayName=$1b0217ee4a91d156$export$b04be29aa201d4f5.displayName;var Ha=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($1b0217ee4a91d156$export$1ff3c3f08ae963c0,{ref:o,className:r("-mx-1 my-1 h-px bg-border",e),...t}));Ha.displayName=$1b0217ee4a91d156$export$1ff3c3f08ae963c0.displayName;var Wa=React__namespace.forwardRef(({className:e,inset:t,children:o,...a},i)=>React__namespace.createElement($d08ef79370b62062$export$2ea8a7a591ac5eac,{ref:i,className:r("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",t&&"pl-8",e),...a},o,React__namespace.createElement(ChevronRightIcon,{className:"ml-auto h-4 w-4"})));Wa.displayName=$d08ef79370b62062$export$2ea8a7a591ac5eac.displayName;var za=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($d08ef79370b62062$export$6d4de93b380beddf,{ref:o,className:r("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg 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-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));za.displayName=$d08ef79370b62062$export$6d4de93b380beddf.displayName;var Ro=React__namespace.forwardRef(({className:e,sideOffset:t=4,...o},a)=>React__namespace.createElement($d08ef79370b62062$export$602eac185826482c,null,React__namespace.createElement($d08ef79370b62062$export$7c6e2c02157bb7d2,{ref:a,sideOffset:t,className:r("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...o})));Ro.displayName=$d08ef79370b62062$export$7c6e2c02157bb7d2.displayName;var Ga=React__namespace.forwardRef(({className:e,inset:t,...o},a)=>React__namespace.createElement($d08ef79370b62062$export$6d08773d2e66f8f2,{ref:a,className:r("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",e),...o}));Ga.displayName=$d08ef79370b62062$export$6d08773d2e66f8f2.displayName;var Ya=React__namespace.forwardRef(({className:e,children:t,checked:o,...a},i)=>React__namespace.createElement($d08ef79370b62062$export$16ce288f89fa631c,{ref:i,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:o,...a},React__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},React__namespace.createElement($d08ef79370b62062$export$c3468e2714d175fa,null,React__namespace.createElement(CheckIcon$1,{className:"h-4 w-4"}))),t));Ya.displayName=$d08ef79370b62062$export$16ce288f89fa631c.displayName;var ja=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($d08ef79370b62062$export$371ab307eab489c0,{ref:a,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...o},React__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},React__namespace.createElement($d08ef79370b62062$export$c3468e2714d175fa,null,React__namespace.createElement(DotFilledIcon,{className:"h-4 w-4 fill-current"}))),t));ja.displayName=$d08ef79370b62062$export$371ab307eab489c0.displayName;var $a=React__namespace.forwardRef(({className:e,inset:t,...o},a)=>React__namespace.createElement($d08ef79370b62062$export$b04be29aa201d4f5,{ref:a,className:r("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...o}));$a.displayName=$d08ef79370b62062$export$b04be29aa201d4f5.displayName;var Ja=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($d08ef79370b62062$export$1ff3c3f08ae963c0,{ref:o,className:r("-mx-1 my-1 h-px bg-muted",e),...t}));Ja.displayName=$d08ef79370b62062$export$1ff3c3f08ae963c0.displayName;var Xa=cva("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),xo=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($b73a6c6685e72184$export$be92b6f5f03c0fe9,{ref:o,className:r(Xa(),e),...t}));xo.displayName=$b73a6c6685e72184$export$be92b6f5f03c0fe9.displayName;var Ko=React__namespace.createContext({}),Lt=()=>{let e=React__namespace.useContext(Ko),t=React__namespace.useContext(Qo),{getFieldState:o,formState:a}=useFormContext(),i=o(e.name,a);if(!e)throw new Error("useFormField should be used within <FormField>");let{id:n}=t;return {id:n,name:e.name,formItemId:`${n}-form-item`,formDescriptionId:`${n}-form-item-description`,formMessageId:`${n}-form-item-message`,...i}},Qo=React__namespace.createContext({}),ve=React__namespace.forwardRef(({className:e,...t},o)=>{let a=React__namespace.useId();return React__namespace.createElement(Qo.Provider,{value:{id:a}},React__namespace.createElement("div",{ref:o,className:r("space-y-2",e),...t}))});ve.displayName="FormItem";var Ce=React__namespace.forwardRef(({className:e,...t},o)=>{let{error:a,formItemId:i}=Lt();return React__namespace.createElement(xo,{ref:o,className:r(a&&"text-destructive",e),htmlFor:i,...t})});Ce.displayName="FormLabel";var he=React__namespace.forwardRef(({...e},t)=>{let{error:o,formItemId:a,formDescriptionId:i,formMessageId:n}=Lt();return React__namespace.createElement($5e63c961fc1ce211$export$8c6ed5c666ac1360$1,{ref:t,id:a,"aria-describedby":o?`${i} ${n}`:`${i}`,"aria-invalid":!!o,...e})});he.displayName="FormControl";var oi=React__namespace.forwardRef(({className:e,...t},o)=>{let{formDescriptionId:a}=Lt();return React__namespace.createElement("p",{ref:o,id:a,className:r("text-[0.8rem] text-muted-foreground",e),...t})});oi.displayName="FormDescription";var De=React__namespace.forwardRef(({className:e,children:t,...o},a)=>{let{error:i,formMessageId:n}=Lt(),f=i?String(i?.message):t;return f?React__namespace.createElement("p",{ref:a,id:n,className:r("text-[0.8rem] font-medium text-destructive",e),...o},f):null});De.displayName="FormMessage";var Re=React__namespace.forwardRef(({className:e,type:t,...o},a)=>React__namespace.createElement("input",{type:t,className:r("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:a,...o}));Re.displayName="Input";var ni=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($0520064cdfc1bd2d$export$be92b6f5f03c0fe9,{ref:o,className:r("flex h-9 items-center space-x-1 rounded-md border bg-background p-1 shadow-sm",e),...t}));ni.displayName=$0520064cdfc1bd2d$export$be92b6f5f03c0fe9.displayName;var si=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($0520064cdfc1bd2d$export$41fb9f06171c75f4,{ref:o,className:r("flex cursor-default select-none items-center rounded-sm px-3 py-1 text-sm font-medium outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",e),...t}));si.displayName=$0520064cdfc1bd2d$export$41fb9f06171c75f4.displayName;var li=React__namespace.forwardRef(({className:e,inset:t,children:o,...a},i)=>React__namespace.createElement($0520064cdfc1bd2d$export$2ea8a7a591ac5eac,{ref:i,className:r("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",t&&"pl-8",e),...a},o,React__namespace.createElement(ChevronRightIcon,{className:"ml-auto h-4 w-4"})));li.displayName=$0520064cdfc1bd2d$export$2ea8a7a591ac5eac.displayName;var mi=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($0520064cdfc1bd2d$export$6d4de93b380beddf,{ref:o,className:r("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg 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-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));mi.displayName=$0520064cdfc1bd2d$export$6d4de93b380beddf.displayName;var ci=React__namespace.forwardRef(({className:e,align:t="start",alignOffset:o=-4,sideOffset:a=8,...i},n)=>React__namespace.createElement($0520064cdfc1bd2d$export$602eac185826482c,null,React__namespace.createElement($0520064cdfc1bd2d$export$7c6e2c02157bb7d2,{ref:n,align:t,alignOffset:o,sideOffset:a,className:r("z-50 min-w-[12rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in 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-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...i})));ci.displayName=$0520064cdfc1bd2d$export$7c6e2c02157bb7d2.displayName;var di=React__namespace.forwardRef(({className:e,inset:t,...o},a)=>React__namespace.createElement($0520064cdfc1bd2d$export$6d08773d2e66f8f2,{ref:a,className:r("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",e),...o}));di.displayName=$0520064cdfc1bd2d$export$6d08773d2e66f8f2.displayName;var pi=React__namespace.forwardRef(({className:e,children:t,checked:o,...a},i)=>React__namespace.createElement($0520064cdfc1bd2d$export$16ce288f89fa631c,{ref:i,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:o,...a},React__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},React__namespace.createElement($0520064cdfc1bd2d$export$c3468e2714d175fa,null,React__namespace.createElement(CheckIcon$1,{className:"h-4 w-4"}))),t));pi.displayName=$0520064cdfc1bd2d$export$16ce288f89fa631c.displayName;var fi=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($0520064cdfc1bd2d$export$371ab307eab489c0,{ref:a,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...o},React__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},React__namespace.createElement($0520064cdfc1bd2d$export$c3468e2714d175fa,null,React__namespace.createElement(DotFilledIcon,{className:"h-4 w-4 fill-current"}))),t));fi.displayName=$0520064cdfc1bd2d$export$371ab307eab489c0.displayName;var ui=React__namespace.forwardRef(({className:e,inset:t,...o},a)=>React__namespace.createElement($0520064cdfc1bd2d$export$b04be29aa201d4f5,{ref:a,className:r("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...o}));ui.displayName=$0520064cdfc1bd2d$export$b04be29aa201d4f5.displayName;var gi=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($0520064cdfc1bd2d$export$1ff3c3f08ae963c0,{ref:o,className:r("-mx-1 my-1 h-px bg-muted",e),...t}));gi.displayName=$0520064cdfc1bd2d$export$1ff3c3f08ae963c0.displayName;var bi=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($322c88a641701f3b$export$be92b6f5f03c0fe9,{ref:a,className:r("relative z-10 flex max-w-max flex-1 items-center justify-center",e),...o},t,React__namespace.createElement(er,null)));bi.displayName=$322c88a641701f3b$export$be92b6f5f03c0fe9.displayName;var xi=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($322c88a641701f3b$export$54c2e3dc7acea9f5,{ref:o,className:r("group flex flex-1 list-none items-center justify-center space-x-1",e),...t}));xi.displayName=$322c88a641701f3b$export$54c2e3dc7acea9f5.displayName;var yi=cva("group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50"),Pi=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($322c88a641701f3b$export$41fb9f06171c75f4,{ref:a,className:r(yi(),"group",e),...o},t," ",React__namespace.createElement(ChevronDownIcon,{className:"relative top-[1px] ml-1 h-3 w-3 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})));Pi.displayName=$322c88a641701f3b$export$41fb9f06171c75f4.displayName;var Ti=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($322c88a641701f3b$export$7c6e2c02157bb7d2,{ref:o,className:r("left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto ",e),...t}));Ti.displayName=$322c88a641701f3b$export$7c6e2c02157bb7d2.displayName;var er=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("div",{className:r("absolute left-0 top-full flex justify-center")},React__namespace.createElement($322c88a641701f3b$export$d5c6c08dc2d3ca7,{className:r("origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",e),ref:o,...t})));er.displayName=$322c88a641701f3b$export$d5c6c08dc2d3ca7.displayName;var Ci=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($322c88a641701f3b$export$adb584737d712b70,{ref:o,className:r("top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in",e),...t},React__namespace.createElement("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})));Ci.displayName=$322c88a641701f3b$export$adb584737d712b70.displayName;var Ei=React__namespace.forwardRef(({className:e,align:t="center",sideOffset:o=4,...a},i)=>React__namespace.createElement($cb5cc270b50c6fcd$export$602eac185826482c,null,React__namespace.createElement($cb5cc270b50c6fcd$export$7c6e2c02157bb7d2,{ref:i,align:t,sideOffset:o,className:r("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...a})));Ei.displayName=$cb5cc270b50c6fcd$export$7c6e2c02157bb7d2.displayName;var Ai=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($f99a8c78507165f7$export$be92b6f5f03c0fe9,{className:r("grid gap-2",e),...t,ref:o}));Ai.displayName=$f99a8c78507165f7$export$be92b6f5f03c0fe9.displayName;var wi=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($f99a8c78507165f7$export$6d08773d2e66f8f2,{ref:a,className:r("aspect-square h-4 w-4 rounded-full border border-primary text-primary shadow focus:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),...o},React__namespace.createElement($f99a8c78507165f7$export$adb584737d712b70,{className:"flex items-center justify-center"},React__namespace.createElement(CheckIcon$1,{className:"h-3.5 w-3.5 fill-primary"}))));wi.displayName=$f99a8c78507165f7$export$6d08773d2e66f8f2.displayName;var Li=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($57acba87d6e25586$export$be92b6f5f03c0fe9,{ref:a,className:r("relative overflow-hidden",e),...o},React__namespace.createElement($57acba87d6e25586$export$d5c6c08dc2d3ca7,{className:"h-full w-full rounded-[inherit]"},t),React__namespace.createElement(tr,null),React__namespace.createElement($57acba87d6e25586$export$ac61190d9fc311a9,null)));Li.displayName=$57acba87d6e25586$export$be92b6f5f03c0fe9.displayName;var tr=React__namespace.forwardRef(({className:e,orientation:t="vertical",...o},a)=>React__namespace.createElement($57acba87d6e25586$export$2fabd85d0eba3c57,{ref:a,orientation:t,className:r("flex touch-none select-none transition-colors",t==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",t==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",e),...o},React__namespace.createElement($57acba87d6e25586$export$9fba1154677d7cd2,{className:"relative flex-1 rounded-full bg-border"})));tr.displayName=$57acba87d6e25586$export$2fabd85d0eba3c57.displayName;var ut=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($cc7e05a45900e73f$export$41fb9f06171c75f4,{ref:a,className:r("flex h-9 w-full items-center justify-between rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),...o},t,React__namespace.createElement($cc7e05a45900e73f$export$f04a61298a47a40f,{asChild:!0},React__namespace.createElement(CaretSortIcon,{className:"h-4 w-4 opacity-50"}))));ut.displayName=$cc7e05a45900e73f$export$41fb9f06171c75f4.displayName;var gt=React__namespace.forwardRef(({className:e,children:t,position:o="popper",...a},i)=>React__namespace.createElement($cc7e05a45900e73f$export$602eac185826482c,null,React__namespace.createElement($cc7e05a45900e73f$export$7c6e2c02157bb7d2,{ref:i,className:r("relative z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:o,...a},React__namespace.createElement($cc7e05a45900e73f$export$d5c6c08dc2d3ca7,{className:r("p-1",o==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]")},t))));gt.displayName=$cc7e05a45900e73f$export$7c6e2c02157bb7d2.displayName;var Di=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($cc7e05a45900e73f$export$b04be29aa201d4f5,{ref:o,className:r("px-2 py-1.5 text-sm font-semibold",e),...t}));Di.displayName=$cc7e05a45900e73f$export$b04be29aa201d4f5.displayName;var me=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($cc7e05a45900e73f$export$6d08773d2e66f8f2,{ref:a,className:r("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...o},React__namespace.createElement("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center"},React__namespace.createElement($cc7e05a45900e73f$export$c3468e2714d175fa,null,React__namespace.createElement(CheckIcon$1,{className:"h-4 w-4"}))),React__namespace.createElement($cc7e05a45900e73f$export$d6e5bf9c43ea9319,null,t)));me.displayName=$cc7e05a45900e73f$export$6d08773d2e66f8f2.displayName;var Ii=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($cc7e05a45900e73f$export$1ff3c3f08ae963c0,{ref:o,className:r("-mx-1 my-1 h-px bg-muted",e),...t}));Ii.displayName=$cc7e05a45900e73f$export$1ff3c3f08ae963c0.displayName;var _i=React__namespace.forwardRef(({className:e,orientation:t="horizontal",decorative:o=!0,...a},i)=>React__namespace.createElement($89eedd556c436f6a$export$be92b6f5f03c0fe9,{ref:i,decorative:o,orientation:t,className:r("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...a}));_i.displayName=$89eedd556c436f6a$export$be92b6f5f03c0fe9.displayName;var ki=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($faa2e61a3361514f$export$be92b6f5f03c0fe9,{ref:o,className:r("relative flex w-full touch-none select-none items-center",e),...t},React__namespace.createElement($faa2e61a3361514f$export$13921ac0cc260818,{className:"relative h-1.5 w-full grow overflow-hidden rounded-full bg-primary/20"},React__namespace.createElement($faa2e61a3361514f$export$9a58ef0d7ad3278c,{className:"absolute h-full bg-primary"})),React__namespace.createElement($faa2e61a3361514f$export$6521433ed15a34db,{className:"block h-4 w-4 rounded-full border border-primary/50 bg-background shadow transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50"})));ki.displayName=$faa2e61a3361514f$export$be92b6f5f03c0fe9.displayName;var Oi=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($6be4966fd9bbc698$export$be92b6f5f03c0fe9,{className:r("peer inline-flex h-[20px] w-[36px] shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",e),...t,ref:o},React__namespace.createElement($6be4966fd9bbc698$export$6521433ed15a34db,{className:r("pointer-events-none block h-4 w-4 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0")})));Oi.displayName=$6be4966fd9bbc698$export$be92b6f5f03c0fe9.displayName;var Hi=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($69cb30bb0017df05$export$54c2e3dc7acea9f5,{ref:o,className:r("inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",e),...t}));Hi.displayName=$69cb30bb0017df05$export$54c2e3dc7acea9f5.displayName;var Vi=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($69cb30bb0017df05$export$41fb9f06171c75f4,{ref:o,className:r("inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",e),...t}));Vi.displayName=$69cb30bb0017df05$export$41fb9f06171c75f4.displayName;var Fi=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($69cb30bb0017df05$export$7c6e2c02157bb7d2,{ref:o,className:r("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",e),...t}));Fi.displayName=$69cb30bb0017df05$export$7c6e2c02157bb7d2.displayName;var Po=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("textarea",{className:r("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:o,...t}));Po.displayName="Textarea";var To=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($054eb8030ebde76e$export$d5c6c08dc2d3ca7,{ref:o,className:r("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));To.displayName=$054eb8030ebde76e$export$d5c6c08dc2d3ca7.displayName;var Wi=cva("group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),Co=React__namespace.forwardRef(({className:e,variant:t,...o},a)=>React__namespace.createElement($054eb8030ebde76e$export$be92b6f5f03c0fe9,{ref:a,className:r(Wi({variant:t}),e),...o}));Co.displayName=$054eb8030ebde76e$export$be92b6f5f03c0fe9.displayName;var zi=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($054eb8030ebde76e$export$e19cd5f9376f8cee,{ref:o,className:r("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));zi.displayName=$054eb8030ebde76e$export$e19cd5f9376f8cee.displayName;var Eo=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($054eb8030ebde76e$export$f39c2d165cd861fe,{ref:o,className:r("absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t},React__namespace.createElement(Cross2Icon,{className:"h-4 w-4"})));Eo.displayName=$054eb8030ebde76e$export$f39c2d165cd861fe.displayName;var No=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($054eb8030ebde76e$export$f99233281efd08a0,{ref:o,className:r("text-sm font-semibold [&+div]:text-xs",e),...t}));No.displayName=$054eb8030ebde76e$export$f99233281efd08a0.displayName;var Ao=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($054eb8030ebde76e$export$393edc798c47379d,{ref:o,className:r("text-sm opacity-90",e),...t}));Ao.displayName=$054eb8030ebde76e$export$393edc798c47379d.displayName;var qi=cva("inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground"},size:{default:"h-9 px-3",sm:"h-8 px-2",lg:"h-10 px-3"}},defaultVariants:{variant:"default",size:"default"}}),Xi=React__namespace.forwardRef(({className:e,variant:t,size:o,...a},i)=>React__namespace.createElement($b3bbe2732c13b576$export$be92b6f5f03c0fe9,{ref:i,className:r(qi({variant:t,size:o,className:e})),...a}));Xi.displayName=$b3bbe2732c13b576$export$be92b6f5f03c0fe9.displayName;var So=(i=>(i.buyer="buyer",i.seller="seller",i.buyerSeller="buyer-seller",i.broker="broker",i))(So||{});var s=class s{};s.ESTIMATES_ENDPOINT_URL="https://api-dev.liberty.percyai.io/property/v1/estimates",s.ESTIMATED_VALUES_HEADER_TITLE="Estimated Values",s.ESTIMATED_VALUES_DIALOG_TITLE="How estimated values work",s.ESTIMATED_VALUES_DIALOG_DESCRIPTION="The values generated here are based on automated computer modeling from public records and may not represent the true value of the home.",s.ESTIMATED_VALUES_BUTTON_DESCRIPTION="Contact Mortgage Consultant",s.FORM_TITLE="Learn more about my options",s.FORM_DESCRIPTION="Get more insights on how your property valuation",s.FORM_FIRST_NAME_LABEL="First Name *",s.FORM_FIRST_NAME_PLACEHOLDER="Enter First Name",s.FORM_EMAIL_ADDRESS_LABEL="Email Address *",s.FORM_EMAIL_ADDRESS_PLACEHOLDER="Enter Email Adress",s.FORM_LAST_NAME_LABEL="Last Name *",s.FORM_LAST_NAME_PLACEHOLDER="Enter Last Name",s.FORM_PHONE_NUMBER_LABEL="Phone Number *",s.FORM_PHONE_NUMBER_PLACEHOLDER="Enter Phone Number",s.FORM_USER_TYPE_LABEL="I am: *",s.FORM_USER_TYPE_PLACEHOLDER="Please tell us who you are.",s.FORM_AGENT_CHECK_BOX_DESCRIPTION="Are you currently working with a",s.FORM_AGENT_CHECK_BOX_AGENT_TYPE="Agent",s.FORM_AGENT_CHECK_BOX_BROKERAGE_NAME="Percy Realty",s.FORM_AGENT_NAME_PLACEHOLDER="Enter Agent's Name",s.FORM_ACTION_BUTTOM="Submit",s.FIRST_NAME_REQUIRED_VALIDATION_MESSAGE="First Name is required.",s.EMAIL_ADDRESS_REQUIRED_VALIDATION_MESSAGE="Email address is required.",s.EMAIL_ADDRESS_FORMAT_VALIDATION_MESSAGE="Email address format is wrong.",s.LAST_NAME_REQUIRED_VALIDATION_MESSAGE="Last Name is required.",s.PHONE_NUMBER_REQUIRED_VALIDATION_MESSAGE="Phone Number is required.",s.PHONE_NUMBER_FORMAT_VALIDATION_MESSAGE="Phone Number format is wrong.",s.IAM_REQUIRED_VALIDATION_MESSAGE="Please select an option.",s.HOME_ADDRESS_REQUIRED_VALIDATION_MESSAGE="Home Address is required.",s.ON_ERROR_OCCURRED="An error occurred while submitting the form. Please try again.",s.BUYER="A Buyer",s.SELLER="A Seller",s.BUYER_SELLER="A Buyer and Seller",s.BROKER="A Broker/Agent",s.PERIOD_1="Immediately",s.PERIOD_2="1 to 3 Months",s.PERIOD_3="3 to 6 Months",s.PERIOD_4="6 to 12 Months",s.PERIOD_5="12+ Months",s.DYNAMIC_VALUES_BUYER_MESSAGE_LABEL="Message",s.DYNAMIC_VALUES_BUYER_MESSAGE_PLACEHOLDER="Hello, I am interested in learning more about this property.",s.DYNAMIC_VALUES_BROKER_MESSAGE_PLACEHOLDER="Hello, I am interested in learning more about this buyer.",s.DYNAMIC_VALUES_SELLER_HOME_ADDRESS_LABEL="Home Address *",s.DYNAMIC_VALUES_SELLER_HOME_ADDRESS_PLACEHOLDER="Enter Home Address",s.DYNAMIC_VALUES_SELLER_APROXIMATE_VALUE_LABEL="Property's Approximate Value",s.DYNAMIC_VALUES_SELLER_TIME_FOR_SELLING_LABEL="Time Frame for Selling",s.DYNAMIC_VALUES_SELLER_TIME_FOR_SELLING_PLACEHOLDER="Please select a time frame",s.sellerBuyerSharedContent=[{label:s.DYNAMIC_VALUES_SELLER_HOME_ADDRESS_LABEL,type:"text",placeholder:s.DYNAMIC_VALUES_SELLER_HOME_ADDRESS_PLACEHOLDER},{label:s.DYNAMIC_VALUES_SELLER_APROXIMATE_VALUE_LABEL,type:"number",placeholder:""},{label:s.DYNAMIC_VALUES_SELLER_TIME_FOR_SELLING_LABEL,type:"select",placeholder:s.DYNAMIC_VALUES_SELLER_TIME_FOR_SELLING_PLACEHOLDER}],s.DYNAMIC_VALUES={buyer:[{label:s.DYNAMIC_VALUES_BUYER_MESSAGE_LABEL,type:"textarea",placeholder:s.DYNAMIC_VALUES_BUYER_MESSAGE_PLACEHOLDER}],seller:s.sellerBuyerSharedContent,"buyer-seller":s.sellerBuyerSharedContent,broker:[{label:s.DYNAMIC_VALUES_BUYER_MESSAGE_LABEL,type:"textarea",placeholder:s.DYNAMIC_VALUES_BROKER_MESSAGE_PLACEHOLDER}]};var u=s;function bt({className:e}){return React__namespace.createElement("svg",{className:r("-ml-1 mr-3 h-5 w-5 animate-spin text-white",e),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},React__namespace.createElement("circle",{className:r("stroke-brand-400 opacity-25"),cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),React__namespace.createElement("path",{className:r("fill-brand-500 dark:fill-brand-900 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"}))}bt.displayName="Spinner";var vn=nativeEnumType(So,{required_error:u.IAM_REQUIRED_VALIDATION_MESSAGE});objectType({firstName:stringType().min(2,{message:u.FIRST_NAME_REQUIRED_VALIDATION_MESSAGE}),emailAdress:stringType({required_error:u.EMAIL_ADDRESS_REQUIRED_VALIDATION_MESSAGE}).email({message:u.EMAIL_ADDRESS_FORMAT_VALIDATION_MESSAGE}),lastName:stringType().min(2,{message:u.LAST_NAME_REQUIRED_VALIDATION_MESSAGE}),phoneNumber:stringType().min(2,{message:u.PHONE_NUMBER_REQUIRED_VALIDATION_MESSAGE}),iam:vn,agent:booleanType().optional(),agentName:stringType().optional(),dynamicValues:arrayType(objectType({homeAddress:stringType().min(2,{message:u.HOME_ADDRESS_REQUIRED_VALIDATION_MESSAGE}).optional(),value:stringType().optional()})).optional()});var p=class{static EQUITY_MORTGAGE_DETAILS_BANNER_DESCRIPTION(t,o,a,i,n){return `Public records show a ${t} year loan at ${o} for ${a} from ${i}, giving you an estimated loan balance of ${n}. All calculations on this report are based on these numbers, so we want to make sure we get this right!`}static HOW_CALCULATE_INFORMATION_DESCRIPTION(t,o,a,i){return `These numbers are all based on your ${a} year loan at ${t} for ${o} from ${i}.`}static PAY_LITTLE_EXTRA_DESCRIPTION(t,o,a,i){return `Based on your ${t} year loan at ${o} for ${a} from ${i}`}static PAY_LITTLE_EXTRA_EARLIER_MESSAGE(t){return `You would also be done with the loan and no longer making payments ${t} earlier!`}};p.ACTION_OK_BUTTON_LABEL="OK",p.DESCRIPTION_YEARS_LABEL="Years",p.YEAR=" year",p.PLURAL="s ",p.AND=" and ",p.MONTH=" month",p.NO_DATA_AVAILABLE_LABEL="No Data Available",p.ACTION_BUTTON_BEST_OPTION_LABEL="Which option is best for me?",p.LEARN_MORE_LABEL="Learn more about this",p.EDIT_DETAILS_LABEL="Edit Details",p.WHY_PAY_MORE_LABEL="Why Pay More?",p.EARLY_LOAN_LABEL="Early Loan Payoff Information",p.CONFIGURATION_ERROR_LABEL="Configuration Error",p.CONFIGURATION_ERROR_KEY_EXPIRED_LABEL="Key is expired",p.EQUITY_MORTGAGE_DETAILS_HEADER_TITLE="Equity In Your Home",p.EQUITY_MORTGAGE_DETAILS_DESCRIPTION="Equity is your home's worth to you!",p.EQUITY_MORTGAGE_DETAILS_ALL_GOOD_BUTTON="All Good",p.EQUITY_MORTGAGE_DETAILS_BANNER_TITLE="Verify Your Mortgage Details",p.EQUITY_MORTGAGE_DETAILS_TITLE="Estimated Equity Today",p.EQUITY_MORTGAGE_DETAILS_HOW_CALCULATED="How is this calculated?",p.EQUITY_MORTGAGE_DETAILS_DISCLAIMER="Disclaimer",p.EDIT_MORTGAGE_DETAILS_FORM_TITLE="Edit Mortgage Info",p.EDIT_MORTGAGE_DETAILS_LOAN_START_DATE_LABEL="Loan Start Date",p.EDIT_MORTGAGE_DETAILS_LOAN_TERM_LABEL="Loan Term",p.EDIT_MORTGAGE_DETAILS_INTEREST_RATE_LABEL="Interest Rate",p.EDIT_MORTGAGE_DETAILS_ORIGINAL_LOAN_AMOUNT_LABEL="Original Loan Amount",p.EDIT_MORTGAGE_DETAILS_BALANCE_LABEL="Estimated Mortgage Balance",p.EDIT_MORTGAGE_DETAILS_DISCLAIMER_TEXT="This message is for information purposes only and is not an advertisement to extend customer credit as defined by Section 12 CFR 1026.2 Regulation Z. Program rates, terms, and conditions are subject to change at any time. All examples of potential mortgage products above are estimates for illustration purposes only. All programs and mortgage products are subject to borrower income, credit, and property approval. Not all borrowers will qualify. This is not an offer for extension of credit or a commitment to lend. Home valuations are estimates purchased from a third-party data provider. Actual appraised value at the time of a transaction may vary. Equal Housing Lender. Interest rates used are based on a reasonably current index and margin from the Freddie Mac Primary Mortgage Market Survey.",p.HOW_CALCULATE_TITLE="How Is My Net Worth Calculated?",p.HOW_CALCULATE_DESCRIPTION='Your net worth ("equity") is made up of two things.',p.HOW_CALCULATE_HOME_VALUE_LABEL="Home Value",p.HOW_CALCULATE_LOAN_BALANCE_LABEL="Loan Balance",p.HOW_CALCULATE_YOUR_NET_WORTH_LABEL="Your Net Worth",p.HOW_CALCULATE_INFORMATION_SUBTITLE="Where does this information come from?",p.HOW_CALCULATE_NOTE_DESCRIPTION="Note: Only the first lien mortgage and resale are used to calculate the balance of your loan.",p.PAY_LITTLE_EXTRA_HEADER_TITLE="Pay A Little Extra",p.PAY_LITTLE_EXTRA_SUBTITLE="How much more can you pay per month?",p.PAY_LITTLE_EXTRA_CALCULATION_IF_YOU_PAY="If you pay just",p.PAY_LITTLE_EXTRA_CALCULATION_MORE=" more each month, you could save",p.PAY_LITTLE_EXTRA_CALCULATION_DESCRIPTION="in interest over the rest of your loan",p.PAY_LITTLE_EXTRA_INFO_DESCRIPTION="You would also be done with the loan and no longer making payments 10 years and 2 months earlier!",p.PAY_LITTLE_EXTRA_PAYING_EXTRA="Paying extra can be an easy way to save.",p.PAY_LITTLE_EXTRA_PAYING_EXTRA_DESCRIPTION="Your mortgage payment is typically defined as your principal and interest payment. When you pay extra on your principal balance, you can reduce the amount of your loan and save money on interest.",p.PAY_LITTLE_EXTRA_PAYING_EXTRA_BEST_PART="The best part is that there's no paperwork, fees or headaches.",p.PAY_LITTLE_EXTRA_PAYING_EXTRA_IMPORTANT_TIP="*Important Tip* ",p.PAY_LITTLE_EXTRA_PAYING_EXTRA_IMPORTANT_TIP_DESCRIPTION="contact your mortgage servicer to indicate your extra payment is for principal reduction (to ensure it is not accidentally applied to an extra payment, extra interest, or towards escrow).",p.PAY_LITTLE_EXTRA_LENGTH_LOAN_REMAIN_MESSAGE="The length of your loan would remain unchanged with this extra payment.";function Ke({children:e}){return React__namespace.createElement("div",{className:r("flex justify-center w-full")},e)}function xr({trigger:e,content:t,title:o,asChild:a=!1,actionButtomLabel:i=p.ACTION_OK_BUTTON_LABEL}){return React__namespace.createElement(Wo,null,React__namespace.createElement(zo,{asChild:a},e),React__namespace.createElement(lo,{className:r("flex flex-col gap-2 p-6","h-screen lg:h-auto md:h-auto overflow-y-auto")},o&&React__namespace.createElement(co,null,o),t,React__namespace.createElement(mo,null,React__namespace.createElement(po,null,i))))}function yr({title:e,infoTitle:t,icon:o,infoDescription:a,titleDescription:i,showInfo:n=!0}){let f=React__namespace.cloneElement(o,{className:"w-6 h-6"});return React__namespace.createElement("div",{className:r("flex flex-col items-start")},React__namespace.createElement("div",{className:r("flex flex-row items-center gap-1")},React__namespace.createElement("div",{className:r("flex flex-col items-center bg-slate-50 rounded-[100px] p-2")},f),React__namespace.createElement("h3",{className:r("font-semibold leading-8 text-xl md:text-2xl lg:text-2xl text-gray-700")},e),n&&React__namespace.createElement(xr,{asChild:!0,title:t,trigger:React__namespace.createElement(Info,{className:r("w-5 h-5 text-gray-400")}),content:a})),i&&React__namespace.createElement("p",{className:r("text-gray-400 ml-[50px] text-xs md:text-sm lg:text-sm")},i))}function Qe({icon:e,infoDescription:t,title:o,titleDescription:a,infoTitle:i,actions:n,showInfo:f=!0}){return React__namespace.createElement("div",{className:r("flex flex-col md:flex-row lg:flex-row justify-between items-stretch py-3 shadow-sm ")},React__namespace.createElement(yr,{title:o,titleDescription:a,infoTitle:i,icon:e,infoDescription:t,showInfo:f}),n&&n)}var tt=({clientKey:e,apiKey:t})=>{let[o,a]=React__namespace.useState(!0),[i,n]=React__namespace.useState(),f=!!e;React__namespace.useEffect(()=>{async function c(){let l=await Zt({clientKey:e});n(l);}c();},[]);let m=React__namespace.useCallback(async c=>{let{url:l,requestInit:y}=c,{headers:k,...C}=y??{},L=i;!i?.token&&e&&(L=await Zt({clientKey:e}));let O={"Content-Type":"application/json",...L?.token&&{Authorization:`Bearer ${L?.token}`},...t&&{"x-api-key":t},...k},E=await fetch(l,{headers:O,...C});try{a(!0);let M=await E.json();return a(!1),L?.token&&n(L),M}catch(M){console.error(`Error requesting ${l}`,M),a(!1);return}},[i,e,t]);return {isLoading:o,tokens:i,request:m,isExternal:f}};var Lr="AIzaSyCDNlq-LeVQGoubUXL_a8p6LYPXR5Bjs_Q";function wn({apiKey:e,mapOptions:t,geoJsonLayerInput:o,markers:a,markersIcon:i,markerEvents:n}){let f=React__namespace.useRef(null),[m,c]=React__namespace.useState(null),[l,y]=React__namespace.useState(!1);React__namespace.useEffect(()=>{f.current&&new Loader({apiKey:e??Lr}).importLibrary("maps").then(()=>{t.center||(t.center={lat:39.8283,lng:-98.5795}),f.current&&k(f.current,t);});},[]);let k=(E,M)=>{c(new window.google.maps.Map(E,M)),o&&O(o),L(a),y(!0);},C=(E,M)=>{m&&(m.setCenter(E),m.setZoom(M));},L=(E,M,T)=>{if(!m||!E)return;let d=new google.maps.LatLngBounds;E.forEach((R,re)=>{d.extend(new google.maps.LatLng(R.lat,R.lng));let ae=new google.maps.Marker({position:{lat:R.lat,lng:R.lng},map:m,icon:R.icon??i,label:R.label});n&&n(re,ae);}),m.setCenter(d.getCenter()),m.setZoom(M??3),T&&new window.google.maps.Marker({position:d.getCenter(),map:m,icon:T});},O=({center:E,geoJson:M})=>{if(!m||!M)return;E&&(m.setCenter(E),new window.google.maps.Marker({position:E,map:m}));let T=new window.google.maps.Data;T.addGeoJson(M),T.setStyle(d=>({fillColor:d.getProperty("color")??"#FFFFCC",strokeWeight:1,fillOpacity:.5,strokeColor:"white"})),T.setMap(m);};return {mapRef:f,setGeojson:O,setMarkers:L,zoomHandler:C,isMapReady:l}}var Gt=wn;var Mr=["#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],Sr="https://api.liberty.percyai.io/location/v1/heatmap";function Dr(){return React__namespace.createElement("div",{className:r("absolute top-4 left-4 bg-white bg-opacity-70 p-2 shadow-lg flex flex-col")},React__namespace.createElement("div",{className:r("flex justify-between")},React__namespace.createElement("div",{className:r("text-left text-xs")},"Active"),React__namespace.createElement("div",{className:r("text-right text-xs")},"Very Active")),React__namespace.createElement("div",{className:r("flex flex-col items-center space-y-2")},React__namespace.createElement("div",{className:r("flex")},Mr.map((e,t)=>React__namespace.createElement("div",{key:t,className:r("w-4 h-4"),style:{backgroundColor:e}})))))}function Ap({zipcode:e,url:t=Sr,zoomLevel:o=10,zoomControl:a=!0,googleApiKey:i,clientKey:n,apiKey:f,height:m="420px"}){let{request:c,isLoading:l,tokens:y}=tt({clientKey:n,apiKey:f}),k=React__namespace.useMemo(()=>({zoom:o,draggable:!1,scrollwheel:!1,fullscreenControl:!1,gestureHandling:"none",zoomControl:a,mapId:""}),[o,a]),{mapRef:C,setGeojson:L,isMapReady:O}=Gt({mapOptions:k,apiKey:i});return React__namespace.useEffect(()=>{let E=!0;async function M(){let T=W(y?.meta,"color");if(e&&t&&E&&O){let d=new URL(t);d.searchParams.set("zipcode",e),T?.value&&d.searchParams.set("colors",T?.value);try{let R=await c({url:d.toString()});R&&E&&L(R.data);}catch(R){console.error("Error fetching heatmap data:",R);}}}return O&&M(),()=>{E=!1;}},[n,f,O]),React__namespace.createElement("div",{className:r("flex flex-col bg-white")},React__namespace.createElement(Qe,{title:"Heat Map",infoDescription:"The best way to visualize the distribution of data in a geographical area.",infoTitle:"Heat Map",icon:React__namespace.createElement(MapPin,null)}),React__namespace.createElement(Ke,null,React__namespace.createElement("div",{className:"relative w-full aspect-video rounded-md overflow-hidden",style:{height:m}},React__namespace.createElement("div",{ref:C,className:r("min-h-full w-full")}),React__namespace.createElement(Dr,null),l&&React__namespace.createElement("div",{className:r("absolute inset-0 flex items-center justify-center")},React__namespace.createElement(bt,null)))))}format(new Date,"yyyy-MM-dd");
|
|
37410
|
+
function r(...e){return twMerge(clsx(e))}var zr="https://api-dev.liberty.percyai.io/key_service/v1/jwt/generate",Zt=async({clientKey:e})=>{try{return e?await(await fetch(zr,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({clientKey:e})})).json():void 0}catch(t){console.error("Error requesting token:",t);return}},W=(e,t)=>e?.config?e.config.find(o=>o.name===t):{};var He=cva("inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),ce=React__namespace.forwardRef(({className:e,variant:t,size:o,asChild:a=!1,...i},n)=>React__namespace.createElement(a?$5e63c961fc1ce211$export$8c6ed5c666ac1360$1:"button",{className:r(He({variant:t,size:o,className:e})),ref:n,...i}));ce.displayName="Button";var at=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("div",{ref:o,className:r("rounded-xl border bg-card text-card-foreground shadow",e),...t}));at.displayName="Card";var it=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("div",{ref:o,className:r("flex flex-col space-y-1.5 p-6",e),...t}));it.displayName="CardHeader";var qt=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("h3",{ref:o,className:r("font-semibold leading-none tracking-tight",e),...t}));qt.displayName="CardTitle";var $r=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("p",{ref:o,className:r("text-sm text-muted-foreground",e),...t}));$r.displayName="CardDescription";var nt=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("div",{ref:o,className:r("p-6 pt-0",e),...t}));nt.displayName="CardContent";var st=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("div",{ref:o,className:r("flex items-center p-6 pt-0",e),...t}));st.displayName="CardFooter";var Xt=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($cddcb0b647441e34$export$be92b6f5f03c0fe9,{ref:o,className:r("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",e),...t}));Xt.displayName=$cddcb0b647441e34$export$be92b6f5f03c0fe9.displayName;var Jr=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($cddcb0b647441e34$export$3e431a229df88919,{ref:o,className:r("aspect-square h-full w-full",e),...t}));Jr.displayName=$cddcb0b647441e34$export$3e431a229df88919.displayName;var Kt=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($cddcb0b647441e34$export$fb8d7f40caaeea67,{ref:o,className:r("flex h-full w-full items-center justify-center rounded-full bg-muted",e),...t}));Kt.displayName=$cddcb0b647441e34$export$fb8d7f40caaeea67.displayName;var Qt=React__namespace.forwardRef(({className:e,value:t,...o},a)=>React__namespace.createElement($67824d98245208a0$export$be92b6f5f03c0fe9,{ref:a,className:r("relative h-2 w-full overflow-hidden rounded-full bg-primary/20",e),...o},React__namespace.createElement($67824d98245208a0$export$adb584737d712b70,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(t||0)}%)`}})));Qt.displayName=$67824d98245208a0$export$be92b6f5f03c0fe9.displayName;var ct=React__namespace.forwardRef(({className:e,sideOffset:t=4,...o},a)=>React__namespace.createElement($a093c7e1ec25a057$export$7c6e2c02157bb7d2,{ref:a,sideOffset:t,className:r("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...o}));ct.displayName=$a093c7e1ec25a057$export$7c6e2c02157bb7d2.displayName;var Bo=({className:e,...t})=>React__namespace.createElement($5d3850c4d0b4e6c7$export$602eac185826482c$1,{className:r(e),...t});Bo.displayName=$5d3850c4d0b4e6c7$export$602eac185826482c$1.displayName;var Uo=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($5d3850c4d0b4e6c7$export$c6fdb837b070b4ff$1,{className:r("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:o}));Uo.displayName=$5d3850c4d0b4e6c7$export$c6fdb837b070b4ff$1.displayName;var Qr=cva("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),ea=React__namespace.forwardRef(({side:e="right",className:t,children:o,...a},i)=>React__namespace.createElement(Bo,null,React__namespace.createElement(Uo,null),React__namespace.createElement($5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2$1,{ref:i,className:r(Qr({side:e}),t),...a},o,React__namespace.createElement($5d3850c4d0b4e6c7$export$f39c2d165cd861fe,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary"},React__namespace.createElement(Cross2Icon,{className:"h-4 w-4"}),React__namespace.createElement("span",{className:"sr-only"},"Close")))));ea.displayName=$5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2$1.displayName;var ra=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($5d3850c4d0b4e6c7$export$f99233281efd08a0,{ref:o,className:r("text-lg font-semibold text-foreground",e),...t}));ra.displayName=$5d3850c4d0b4e6c7$export$f99233281efd08a0.displayName;var aa=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($5d3850c4d0b4e6c7$export$393edc798c47379d,{ref:o,className:r("text-sm text-muted-foreground",e),...t}));aa.displayName=$5d3850c4d0b4e6c7$export$393edc798c47379d.displayName;var eo=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("div",{className:"w-full overflow-auto"},React__namespace.createElement("table",{ref:o,className:r("w-full caption-bottom text-sm",e),...t})));eo.displayName="Table";var to=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("thead",{ref:o,className:r("[&_tr]:border-b",e),...t}));to.displayName="TableHeader";var oo=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("tbody",{ref:o,className:r("[&_tr:last-child]:border-0",e),...t}));oo.displayName="TableBody";var ro=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("tfoot",{ref:o,className:r("bg-primary font-medium text-primary-foreground",e),...t}));ro.displayName="TableFooter";var dt=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("tr",{ref:o,className:r("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",e),...t}));dt.displayName="TableRow";var Le=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("th",{ref:o,className:r("h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...t}));Le.displayName="TableHead";var Me=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("td",{ref:o,className:r("p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...t}));Me.displayName="TableCell";var ao=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("caption",{ref:o,className:r("mt-4 text-sm text-muted-foreground",e),...t}));ao.displayName="TableCaption";var na=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($1bf158f521e1b1b4$export$6d08773d2e66f8f2,{ref:o,className:r("border-b",e),...t}));na.displayName="AccordionItem";var sa=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($1bf158f521e1b1b4$export$8b251419efc915eb,{className:"flex"},React__namespace.createElement($1bf158f521e1b1b4$export$41fb9f06171c75f4,{ref:a,className:r("flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",e),...o},t,React__namespace.createElement(ChevronDownIcon,{className:"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200"}))));sa.displayName=$1bf158f521e1b1b4$export$41fb9f06171c75f4.displayName;var la=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($1bf158f521e1b1b4$export$7c6e2c02157bb7d2,{ref:a,className:r("overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",e),...o},React__namespace.createElement("div",{className:"pb-4 pt-0"},t)));la.displayName=$1bf158f521e1b1b4$export$7c6e2c02157bb7d2.displayName;var ca=cva("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),io=React__namespace.forwardRef(({className:e,variant:t,...o},a)=>React__namespace.createElement("div",{ref:a,role:"alert",className:r(ca({variant:t}),e),...o}));io.displayName="Alert";var no=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("h5",{ref:o,className:r("mb-1 font-medium leading-none tracking-tight",e),...t}));no.displayName="AlertTitle";var so=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("div",{ref:o,className:r("text-sm [&_p]:leading-relaxed",e),...t}));so.displayName="AlertDescription";var Wo=$905f4ae918aab1aa$export$be92b6f5f03c0fe9,zo=$905f4ae918aab1aa$export$41fb9f06171c75f4,Go=({className:e,...t})=>React__namespace.createElement($905f4ae918aab1aa$export$602eac185826482c,{className:r(e),...t});Go.displayName=$905f4ae918aab1aa$export$602eac185826482c.displayName;var Yo=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($905f4ae918aab1aa$export$c6fdb837b070b4ff,{className:r("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:o}));Yo.displayName=$905f4ae918aab1aa$export$c6fdb837b070b4ff.displayName;var lo=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement(Go,null,React__namespace.createElement(Yo,null),React__namespace.createElement($905f4ae918aab1aa$export$7c6e2c02157bb7d2,{ref:o,className:r("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background 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 md:w-full",e),...t})));lo.displayName=$905f4ae918aab1aa$export$7c6e2c02157bb7d2.displayName;var mo=({className:e,...t})=>React__namespace.createElement("div",{className:r("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});mo.displayName="AlertDialogFooter";var co=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($905f4ae918aab1aa$export$f99233281efd08a0,{ref:o,className:r("text-lg font-semibold",e),...t}));co.displayName=$905f4ae918aab1aa$export$f99233281efd08a0.displayName;var pa=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($905f4ae918aab1aa$export$393edc798c47379d,{ref:o,className:r("text-sm text-muted-foreground",e),...t}));pa.displayName=$905f4ae918aab1aa$export$393edc798c47379d.displayName;var po=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($905f4ae918aab1aa$export$e19cd5f9376f8cee,{ref:o,className:r(He(),e),...t}));po.displayName=$905f4ae918aab1aa$export$e19cd5f9376f8cee.displayName;var fa=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($905f4ae918aab1aa$export$848c9b7ead0df967,{ref:o,className:r(He({variant:"outline"}),"mt-2 sm:mt-0",e),...t}));fa.displayName=$905f4ae918aab1aa$export$848c9b7ead0df967.displayName;var fo=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($e698a72e93240346$export$be92b6f5f03c0fe9,{ref:o,className:r("peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",e),...t},React__namespace.createElement($e698a72e93240346$export$adb584737d712b70,{className:r("flex items-center justify-center text-current")},React__namespace.createElement(CheckIcon$1,{className:"h-4 w-4"}))));fo.displayName=$e698a72e93240346$export$be92b6f5f03c0fe9.displayName;var jo=({className:e,...t})=>React__namespace.createElement($5d3850c4d0b4e6c7$export$602eac185826482c$1,{className:r(e),...t});jo.displayName=$5d3850c4d0b4e6c7$export$602eac185826482c$1.displayName;var $o=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($5d3850c4d0b4e6c7$export$c6fdb837b070b4ff$1,{ref:o,className:r("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));$o.displayName=$5d3850c4d0b4e6c7$export$c6fdb837b070b4ff$1.displayName;var Ve=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement(jo,null,React__namespace.createElement($o,null),React__namespace.createElement($5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2$1,{ref:a,className:r("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background 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 md:w-full",e),...o},t,React__namespace.createElement($5d3850c4d0b4e6c7$export$f39c2d165cd861fe,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground"},React__namespace.createElement(Cross2Icon,{className:"h-4 w-4"}),React__namespace.createElement("span",{className:"sr-only"},"Close")))));Ve.displayName=$5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2$1.displayName;var vo=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($5d3850c4d0b4e6c7$export$f99233281efd08a0,{ref:o,className:r("text-lg font-semibold leading-none tracking-tight",e),...t}));vo.displayName=$5d3850c4d0b4e6c7$export$f99233281efd08a0.displayName;var ho=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($5d3850c4d0b4e6c7$export$393edc798c47379d,{ref:o,className:r("text-sm text-muted-foreground",e),...t}));ho.displayName=$5d3850c4d0b4e6c7$export$393edc798c47379d.displayName;var Jo=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement(Le$1,{ref:o,className:r("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",e),...t}));Jo.displayName=Le$1.displayName;var ya=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":""},React__namespace.createElement(MagnifyingGlassIcon,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),React__namespace.createElement(Le$1.Input,{ref:o,className:r("flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",e),...t})));ya.displayName=Le$1.Input.displayName;var Pa=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement(Le$1.List,{ref:o,className:r("max-h-[300px] overflow-y-auto overflow-x-hidden",e),...t}));Pa.displayName=Le$1.List.displayName;var Ta=React__namespace.forwardRef((e,t)=>React__namespace.createElement(Le$1.Empty,{ref:t,className:"py-6 text-center text-sm",...e}));Ta.displayName=Le$1.Empty.displayName;var Ca=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement(Le$1.Group,{ref:o,className:r("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",e),...t}));Ca.displayName=Le$1.Group.displayName;var Ea=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement(Le$1.Separator,{ref:o,className:r("-mx-1 h-px bg-border",e),...t}));Ea.displayName=Le$1.Separator.displayName;var Na=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement(Le$1.Item,{ref:o,className:r("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-selected:bg-accent aria-selected:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...t}));Na.displayName=Le$1.Item.displayName;var Sa=React__namespace.forwardRef(({className:e,inset:t,children:o,...a},i)=>React__namespace.createElement($1b0217ee4a91d156$export$2ea8a7a591ac5eac,{ref:i,className:r("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",t&&"pl-8",e),...a},o,React__namespace.createElement(ChevronRightIcon,{className:"ml-auto h-4 w-4"})));Sa.displayName=$1b0217ee4a91d156$export$2ea8a7a591ac5eac.displayName;var Da=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($1b0217ee4a91d156$export$6d4de93b380beddf,{ref:o,className:r("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg 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-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));Da.displayName=$1b0217ee4a91d156$export$6d4de93b380beddf.displayName;var Ia=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($1b0217ee4a91d156$export$602eac185826482c,null,React__namespace.createElement($1b0217ee4a91d156$export$7c6e2c02157bb7d2,{ref:o,className:r("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t})));Ia.displayName=$1b0217ee4a91d156$export$7c6e2c02157bb7d2.displayName;var _a=React__namespace.forwardRef(({className:e,inset:t,...o},a)=>React__namespace.createElement($1b0217ee4a91d156$export$6d08773d2e66f8f2,{ref:a,className:r("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",e),...o}));_a.displayName=$1b0217ee4a91d156$export$6d08773d2e66f8f2.displayName;var ka=React__namespace.forwardRef(({className:e,children:t,checked:o,...a},i)=>React__namespace.createElement($1b0217ee4a91d156$export$16ce288f89fa631c,{ref:i,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:o,...a},React__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},React__namespace.createElement($1b0217ee4a91d156$export$c3468e2714d175fa,null,React__namespace.createElement(CheckIcon$1,{className:"h-4 w-4"}))),t));ka.displayName=$1b0217ee4a91d156$export$16ce288f89fa631c.displayName;var Oa=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($1b0217ee4a91d156$export$371ab307eab489c0,{ref:a,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...o},React__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},React__namespace.createElement($1b0217ee4a91d156$export$c3468e2714d175fa,null,React__namespace.createElement(DotFilledIcon,{className:"h-4 w-4 fill-current"}))),t));Oa.displayName=$1b0217ee4a91d156$export$371ab307eab489c0.displayName;var Ha=React__namespace.forwardRef(({className:e,inset:t,...o},a)=>React__namespace.createElement($1b0217ee4a91d156$export$b04be29aa201d4f5,{ref:a,className:r("px-2 py-1.5 text-sm font-semibold text-foreground",t&&"pl-8",e),...o}));Ha.displayName=$1b0217ee4a91d156$export$b04be29aa201d4f5.displayName;var Va=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($1b0217ee4a91d156$export$1ff3c3f08ae963c0,{ref:o,className:r("-mx-1 my-1 h-px bg-border",e),...t}));Va.displayName=$1b0217ee4a91d156$export$1ff3c3f08ae963c0.displayName;var za=React__namespace.forwardRef(({className:e,inset:t,children:o,...a},i)=>React__namespace.createElement($d08ef79370b62062$export$2ea8a7a591ac5eac,{ref:i,className:r("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",t&&"pl-8",e),...a},o,React__namespace.createElement(ChevronRightIcon,{className:"ml-auto h-4 w-4"})));za.displayName=$d08ef79370b62062$export$2ea8a7a591ac5eac.displayName;var Ga=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($d08ef79370b62062$export$6d4de93b380beddf,{ref:o,className:r("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg 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-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));Ga.displayName=$d08ef79370b62062$export$6d4de93b380beddf.displayName;var Ro=React__namespace.forwardRef(({className:e,sideOffset:t=4,...o},a)=>React__namespace.createElement($d08ef79370b62062$export$602eac185826482c,null,React__namespace.createElement($d08ef79370b62062$export$7c6e2c02157bb7d2,{ref:a,sideOffset:t,className:r("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...o})));Ro.displayName=$d08ef79370b62062$export$7c6e2c02157bb7d2.displayName;var Ya=React__namespace.forwardRef(({className:e,inset:t,...o},a)=>React__namespace.createElement($d08ef79370b62062$export$6d08773d2e66f8f2,{ref:a,className:r("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",e),...o}));Ya.displayName=$d08ef79370b62062$export$6d08773d2e66f8f2.displayName;var ja=React__namespace.forwardRef(({className:e,children:t,checked:o,...a},i)=>React__namespace.createElement($d08ef79370b62062$export$16ce288f89fa631c,{ref:i,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:o,...a},React__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},React__namespace.createElement($d08ef79370b62062$export$c3468e2714d175fa,null,React__namespace.createElement(CheckIcon$1,{className:"h-4 w-4"}))),t));ja.displayName=$d08ef79370b62062$export$16ce288f89fa631c.displayName;var $a=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($d08ef79370b62062$export$371ab307eab489c0,{ref:a,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...o},React__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},React__namespace.createElement($d08ef79370b62062$export$c3468e2714d175fa,null,React__namespace.createElement(DotFilledIcon,{className:"h-4 w-4 fill-current"}))),t));$a.displayName=$d08ef79370b62062$export$371ab307eab489c0.displayName;var Ja=React__namespace.forwardRef(({className:e,inset:t,...o},a)=>React__namespace.createElement($d08ef79370b62062$export$b04be29aa201d4f5,{ref:a,className:r("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...o}));Ja.displayName=$d08ef79370b62062$export$b04be29aa201d4f5.displayName;var Za=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($d08ef79370b62062$export$1ff3c3f08ae963c0,{ref:o,className:r("-mx-1 my-1 h-px bg-muted",e),...t}));Za.displayName=$d08ef79370b62062$export$1ff3c3f08ae963c0.displayName;var Ka=cva("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),xo=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($b73a6c6685e72184$export$be92b6f5f03c0fe9,{ref:o,className:r(Ka(),e),...t}));xo.displayName=$b73a6c6685e72184$export$be92b6f5f03c0fe9.displayName;var Ko=React__namespace.createContext({}),Lt=()=>{let e=React__namespace.useContext(Ko),t=React__namespace.useContext(Qo),{getFieldState:o,formState:a}=useFormContext(),i=o(e.name,a);if(!e)throw new Error("useFormField should be used within <FormField>");let{id:n}=t;return {id:n,name:e.name,formItemId:`${n}-form-item`,formDescriptionId:`${n}-form-item-description`,formMessageId:`${n}-form-item-message`,...i}},Qo=React__namespace.createContext({}),ve=React__namespace.forwardRef(({className:e,...t},o)=>{let a=React__namespace.useId();return React__namespace.createElement(Qo.Provider,{value:{id:a}},React__namespace.createElement("div",{ref:o,className:r("space-y-2",e),...t}))});ve.displayName="FormItem";var Ce=React__namespace.forwardRef(({className:e,...t},o)=>{let{error:a,formItemId:i}=Lt();return React__namespace.createElement(xo,{ref:o,className:r(a&&"text-destructive",e),htmlFor:i,...t})});Ce.displayName="FormLabel";var he=React__namespace.forwardRef(({...e},t)=>{let{error:o,formItemId:a,formDescriptionId:i,formMessageId:n}=Lt();return React__namespace.createElement($5e63c961fc1ce211$export$8c6ed5c666ac1360$1,{ref:t,id:a,"aria-describedby":o?`${i} ${n}`:`${i}`,"aria-invalid":!!o,...e})});he.displayName="FormControl";var ri=React__namespace.forwardRef(({className:e,...t},o)=>{let{formDescriptionId:a}=Lt();return React__namespace.createElement("p",{ref:o,id:a,className:r("text-[0.8rem] text-muted-foreground",e),...t})});ri.displayName="FormDescription";var De=React__namespace.forwardRef(({className:e,children:t,...o},a)=>{let{error:i,formMessageId:n}=Lt(),f=i?String(i?.message):t;return f?React__namespace.createElement("p",{ref:a,id:n,className:r("text-[0.8rem] font-medium text-destructive",e),...o},f):null});De.displayName="FormMessage";var Re=React__namespace.forwardRef(({className:e,type:t,...o},a)=>React__namespace.createElement("input",{type:t,className:r("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:a,...o}));Re.displayName="Input";var si=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($0520064cdfc1bd2d$export$be92b6f5f03c0fe9,{ref:o,className:r("flex h-9 items-center space-x-1 rounded-md border bg-background p-1 shadow-sm",e),...t}));si.displayName=$0520064cdfc1bd2d$export$be92b6f5f03c0fe9.displayName;var li=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($0520064cdfc1bd2d$export$41fb9f06171c75f4,{ref:o,className:r("flex cursor-default select-none items-center rounded-sm px-3 py-1 text-sm font-medium outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",e),...t}));li.displayName=$0520064cdfc1bd2d$export$41fb9f06171c75f4.displayName;var mi=React__namespace.forwardRef(({className:e,inset:t,children:o,...a},i)=>React__namespace.createElement($0520064cdfc1bd2d$export$2ea8a7a591ac5eac,{ref:i,className:r("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",t&&"pl-8",e),...a},o,React__namespace.createElement(ChevronRightIcon,{className:"ml-auto h-4 w-4"})));mi.displayName=$0520064cdfc1bd2d$export$2ea8a7a591ac5eac.displayName;var ci=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($0520064cdfc1bd2d$export$6d4de93b380beddf,{ref:o,className:r("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg 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-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));ci.displayName=$0520064cdfc1bd2d$export$6d4de93b380beddf.displayName;var di=React__namespace.forwardRef(({className:e,align:t="start",alignOffset:o=-4,sideOffset:a=8,...i},n)=>React__namespace.createElement($0520064cdfc1bd2d$export$602eac185826482c,null,React__namespace.createElement($0520064cdfc1bd2d$export$7c6e2c02157bb7d2,{ref:n,align:t,alignOffset:o,sideOffset:a,className:r("z-50 min-w-[12rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in 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-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...i})));di.displayName=$0520064cdfc1bd2d$export$7c6e2c02157bb7d2.displayName;var pi=React__namespace.forwardRef(({className:e,inset:t,...o},a)=>React__namespace.createElement($0520064cdfc1bd2d$export$6d08773d2e66f8f2,{ref:a,className:r("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",e),...o}));pi.displayName=$0520064cdfc1bd2d$export$6d08773d2e66f8f2.displayName;var fi=React__namespace.forwardRef(({className:e,children:t,checked:o,...a},i)=>React__namespace.createElement($0520064cdfc1bd2d$export$16ce288f89fa631c,{ref:i,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:o,...a},React__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},React__namespace.createElement($0520064cdfc1bd2d$export$c3468e2714d175fa,null,React__namespace.createElement(CheckIcon$1,{className:"h-4 w-4"}))),t));fi.displayName=$0520064cdfc1bd2d$export$16ce288f89fa631c.displayName;var ui=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($0520064cdfc1bd2d$export$371ab307eab489c0,{ref:a,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...o},React__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},React__namespace.createElement($0520064cdfc1bd2d$export$c3468e2714d175fa,null,React__namespace.createElement(DotFilledIcon,{className:"h-4 w-4 fill-current"}))),t));ui.displayName=$0520064cdfc1bd2d$export$371ab307eab489c0.displayName;var gi=React__namespace.forwardRef(({className:e,inset:t,...o},a)=>React__namespace.createElement($0520064cdfc1bd2d$export$b04be29aa201d4f5,{ref:a,className:r("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...o}));gi.displayName=$0520064cdfc1bd2d$export$b04be29aa201d4f5.displayName;var vi=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($0520064cdfc1bd2d$export$1ff3c3f08ae963c0,{ref:o,className:r("-mx-1 my-1 h-px bg-muted",e),...t}));vi.displayName=$0520064cdfc1bd2d$export$1ff3c3f08ae963c0.displayName;var xi=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($322c88a641701f3b$export$be92b6f5f03c0fe9,{ref:a,className:r("relative z-10 flex max-w-max flex-1 items-center justify-center",e),...o},t,React__namespace.createElement(er,null)));xi.displayName=$322c88a641701f3b$export$be92b6f5f03c0fe9.displayName;var yi=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($322c88a641701f3b$export$54c2e3dc7acea9f5,{ref:o,className:r("group flex flex-1 list-none items-center justify-center space-x-1",e),...t}));yi.displayName=$322c88a641701f3b$export$54c2e3dc7acea9f5.displayName;var Pi=cva("group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50"),Ti=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($322c88a641701f3b$export$41fb9f06171c75f4,{ref:a,className:r(Pi(),"group",e),...o},t," ",React__namespace.createElement(ChevronDownIcon,{className:"relative top-[1px] ml-1 h-3 w-3 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})));Ti.displayName=$322c88a641701f3b$export$41fb9f06171c75f4.displayName;var Ci=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($322c88a641701f3b$export$7c6e2c02157bb7d2,{ref:o,className:r("left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto ",e),...t}));Ci.displayName=$322c88a641701f3b$export$7c6e2c02157bb7d2.displayName;var er=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("div",{className:r("absolute left-0 top-full flex justify-center")},React__namespace.createElement($322c88a641701f3b$export$d5c6c08dc2d3ca7,{className:r("origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",e),ref:o,...t})));er.displayName=$322c88a641701f3b$export$d5c6c08dc2d3ca7.displayName;var Ei=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($322c88a641701f3b$export$adb584737d712b70,{ref:o,className:r("top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in",e),...t},React__namespace.createElement("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})));Ei.displayName=$322c88a641701f3b$export$adb584737d712b70.displayName;var Ni=React__namespace.forwardRef(({className:e,align:t="center",sideOffset:o=4,...a},i)=>React__namespace.createElement($cb5cc270b50c6fcd$export$602eac185826482c,null,React__namespace.createElement($cb5cc270b50c6fcd$export$7c6e2c02157bb7d2,{ref:i,align:t,sideOffset:o,className:r("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...a})));Ni.displayName=$cb5cc270b50c6fcd$export$7c6e2c02157bb7d2.displayName;var wi=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($f99a8c78507165f7$export$be92b6f5f03c0fe9,{className:r("grid gap-2",e),...t,ref:o}));wi.displayName=$f99a8c78507165f7$export$be92b6f5f03c0fe9.displayName;var Li=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($f99a8c78507165f7$export$6d08773d2e66f8f2,{ref:a,className:r("aspect-square h-4 w-4 rounded-full border border-primary text-primary shadow focus:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),...o},React__namespace.createElement($f99a8c78507165f7$export$adb584737d712b70,{className:"flex items-center justify-center"},React__namespace.createElement(CheckIcon$1,{className:"h-3.5 w-3.5 fill-primary"}))));Li.displayName=$f99a8c78507165f7$export$6d08773d2e66f8f2.displayName;var Mi=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($57acba87d6e25586$export$be92b6f5f03c0fe9,{ref:a,className:r("relative overflow-hidden",e),...o},React__namespace.createElement($57acba87d6e25586$export$d5c6c08dc2d3ca7,{className:"h-full w-full rounded-[inherit]"},t),React__namespace.createElement(tr,null),React__namespace.createElement($57acba87d6e25586$export$ac61190d9fc311a9,null)));Mi.displayName=$57acba87d6e25586$export$be92b6f5f03c0fe9.displayName;var tr=React__namespace.forwardRef(({className:e,orientation:t="vertical",...o},a)=>React__namespace.createElement($57acba87d6e25586$export$2fabd85d0eba3c57,{ref:a,orientation:t,className:r("flex touch-none select-none transition-colors",t==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",t==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",e),...o},React__namespace.createElement($57acba87d6e25586$export$9fba1154677d7cd2,{className:"relative flex-1 rounded-full bg-border"})));tr.displayName=$57acba87d6e25586$export$2fabd85d0eba3c57.displayName;var ut=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($cc7e05a45900e73f$export$41fb9f06171c75f4,{ref:a,className:r("flex h-9 w-full items-center justify-between rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),...o},t,React__namespace.createElement($cc7e05a45900e73f$export$f04a61298a47a40f,{asChild:!0},React__namespace.createElement(CaretSortIcon,{className:"h-4 w-4 opacity-50"}))));ut.displayName=$cc7e05a45900e73f$export$41fb9f06171c75f4.displayName;var gt=React__namespace.forwardRef(({className:e,children:t,position:o="popper",...a},i)=>React__namespace.createElement($cc7e05a45900e73f$export$602eac185826482c,null,React__namespace.createElement($cc7e05a45900e73f$export$7c6e2c02157bb7d2,{ref:i,className:r("relative z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:o,...a},React__namespace.createElement($cc7e05a45900e73f$export$d5c6c08dc2d3ca7,{className:r("p-1",o==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]")},t))));gt.displayName=$cc7e05a45900e73f$export$7c6e2c02157bb7d2.displayName;var Ii=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($cc7e05a45900e73f$export$b04be29aa201d4f5,{ref:o,className:r("px-2 py-1.5 text-sm font-semibold",e),...t}));Ii.displayName=$cc7e05a45900e73f$export$b04be29aa201d4f5.displayName;var me=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($cc7e05a45900e73f$export$6d08773d2e66f8f2,{ref:a,className:r("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...o},React__namespace.createElement("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center"},React__namespace.createElement($cc7e05a45900e73f$export$c3468e2714d175fa,null,React__namespace.createElement(CheckIcon$1,{className:"h-4 w-4"}))),React__namespace.createElement($cc7e05a45900e73f$export$d6e5bf9c43ea9319,null,t)));me.displayName=$cc7e05a45900e73f$export$6d08773d2e66f8f2.displayName;var _i=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($cc7e05a45900e73f$export$1ff3c3f08ae963c0,{ref:o,className:r("-mx-1 my-1 h-px bg-muted",e),...t}));_i.displayName=$cc7e05a45900e73f$export$1ff3c3f08ae963c0.displayName;var ki=React__namespace.forwardRef(({className:e,orientation:t="horizontal",decorative:o=!0,...a},i)=>React__namespace.createElement($89eedd556c436f6a$export$be92b6f5f03c0fe9,{ref:i,decorative:o,orientation:t,className:r("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...a}));ki.displayName=$89eedd556c436f6a$export$be92b6f5f03c0fe9.displayName;var Oi=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($faa2e61a3361514f$export$be92b6f5f03c0fe9,{ref:o,className:r("relative flex w-full touch-none select-none items-center",e),...t},React__namespace.createElement($faa2e61a3361514f$export$13921ac0cc260818,{className:"relative h-1.5 w-full grow overflow-hidden rounded-full bg-primary/20"},React__namespace.createElement($faa2e61a3361514f$export$9a58ef0d7ad3278c,{className:"absolute h-full bg-primary"})),React__namespace.createElement($faa2e61a3361514f$export$6521433ed15a34db,{className:"block h-4 w-4 rounded-full border border-primary/50 bg-background shadow transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50"})));Oi.displayName=$faa2e61a3361514f$export$be92b6f5f03c0fe9.displayName;var Hi=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($6be4966fd9bbc698$export$be92b6f5f03c0fe9,{className:r("peer inline-flex h-[20px] w-[36px] shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",e),...t,ref:o},React__namespace.createElement($6be4966fd9bbc698$export$6521433ed15a34db,{className:r("pointer-events-none block h-4 w-4 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0")})));Hi.displayName=$6be4966fd9bbc698$export$be92b6f5f03c0fe9.displayName;var Vi=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($69cb30bb0017df05$export$54c2e3dc7acea9f5,{ref:o,className:r("inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",e),...t}));Vi.displayName=$69cb30bb0017df05$export$54c2e3dc7acea9f5.displayName;var Fi=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($69cb30bb0017df05$export$41fb9f06171c75f4,{ref:o,className:r("inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",e),...t}));Fi.displayName=$69cb30bb0017df05$export$41fb9f06171c75f4.displayName;var Bi=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($69cb30bb0017df05$export$7c6e2c02157bb7d2,{ref:o,className:r("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",e),...t}));Bi.displayName=$69cb30bb0017df05$export$7c6e2c02157bb7d2.displayName;var Po=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("textarea",{className:r("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:o,...t}));Po.displayName="Textarea";var To=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($054eb8030ebde76e$export$d5c6c08dc2d3ca7,{ref:o,className:r("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));To.displayName=$054eb8030ebde76e$export$d5c6c08dc2d3ca7.displayName;var zi=cva("group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),Co=React__namespace.forwardRef(({className:e,variant:t,...o},a)=>React__namespace.createElement($054eb8030ebde76e$export$be92b6f5f03c0fe9,{ref:a,className:r(zi({variant:t}),e),...o}));Co.displayName=$054eb8030ebde76e$export$be92b6f5f03c0fe9.displayName;var Gi=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($054eb8030ebde76e$export$e19cd5f9376f8cee,{ref:o,className:r("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));Gi.displayName=$054eb8030ebde76e$export$e19cd5f9376f8cee.displayName;var Eo=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($054eb8030ebde76e$export$f39c2d165cd861fe,{ref:o,className:r("absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t},React__namespace.createElement(Cross2Icon,{className:"h-4 w-4"})));Eo.displayName=$054eb8030ebde76e$export$f39c2d165cd861fe.displayName;var No=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($054eb8030ebde76e$export$f99233281efd08a0,{ref:o,className:r("text-sm font-semibold [&+div]:text-xs",e),...t}));No.displayName=$054eb8030ebde76e$export$f99233281efd08a0.displayName;var Ao=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($054eb8030ebde76e$export$393edc798c47379d,{ref:o,className:r("text-sm opacity-90",e),...t}));Ao.displayName=$054eb8030ebde76e$export$393edc798c47379d.displayName;var Xi=cva("inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground"},size:{default:"h-9 px-3",sm:"h-8 px-2",lg:"h-10 px-3"}},defaultVariants:{variant:"default",size:"default"}}),Ki=React__namespace.forwardRef(({className:e,variant:t,size:o,...a},i)=>React__namespace.createElement($b3bbe2732c13b576$export$be92b6f5f03c0fe9,{ref:i,className:r(Xi({variant:t,size:o,className:e})),...a}));Ki.displayName=$b3bbe2732c13b576$export$be92b6f5f03c0fe9.displayName;function bt({className:e}){return React__namespace.createElement("svg",{className:r("-ml-1 mr-3 h-5 w-5 animate-spin text-white",e),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},React__namespace.createElement("circle",{className:r("stroke-brand-400 opacity-25"),cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),React__namespace.createElement("path",{className:r("fill-brand-500 dark:fill-brand-900 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"}))}bt.displayName="Spinner";var So=(i=>(i.buyer="buyer",i.seller="seller",i.buyerSeller="buyer-seller",i.broker="broker",i))(So||{});var s=class s{};s.ESTIMATES_ENDPOINT_URL="https://api-dev.liberty.percyai.io/property/v1/estimates",s.ESTIMATED_VALUES_HEADER_TITLE="Estimated Values",s.ESTIMATED_VALUES_DIALOG_TITLE="How estimated values work",s.ESTIMATED_VALUES_DIALOG_DESCRIPTION="The values generated here are based on automated computer modeling from public records and may not represent the true value of the home.",s.ESTIMATED_VALUES_BUTTON_DESCRIPTION="Contact Mortgage Consultant",s.FORM_TITLE="Learn more about my options",s.FORM_DESCRIPTION="Get more insights on how your property valuation",s.FORM_FIRST_NAME_LABEL="First Name *",s.FORM_FIRST_NAME_PLACEHOLDER="Enter First Name",s.FORM_EMAIL_ADDRESS_LABEL="Email Address *",s.FORM_EMAIL_ADDRESS_PLACEHOLDER="Enter Email Adress",s.FORM_LAST_NAME_LABEL="Last Name *",s.FORM_LAST_NAME_PLACEHOLDER="Enter Last Name",s.FORM_PHONE_NUMBER_LABEL="Phone Number *",s.FORM_PHONE_NUMBER_PLACEHOLDER="Enter Phone Number",s.FORM_USER_TYPE_LABEL="I am: *",s.FORM_USER_TYPE_PLACEHOLDER="Please tell us who you are.",s.FORM_AGENT_CHECK_BOX_DESCRIPTION="Are you currently working with a",s.FORM_AGENT_CHECK_BOX_AGENT_TYPE="Agent",s.FORM_AGENT_CHECK_BOX_BROKERAGE_NAME="Percy Realty",s.FORM_AGENT_NAME_PLACEHOLDER="Enter Agent's Name",s.FORM_ACTION_BUTTOM="Submit",s.FIRST_NAME_REQUIRED_VALIDATION_MESSAGE="First Name is required.",s.EMAIL_ADDRESS_REQUIRED_VALIDATION_MESSAGE="Email address is required.",s.EMAIL_ADDRESS_FORMAT_VALIDATION_MESSAGE="Email address format is wrong.",s.LAST_NAME_REQUIRED_VALIDATION_MESSAGE="Last Name is required.",s.PHONE_NUMBER_REQUIRED_VALIDATION_MESSAGE="Phone Number is required.",s.PHONE_NUMBER_FORMAT_VALIDATION_MESSAGE="Phone Number format is wrong.",s.IAM_REQUIRED_VALIDATION_MESSAGE="Please select an option.",s.HOME_ADDRESS_REQUIRED_VALIDATION_MESSAGE="Home Address is required.",s.ON_ERROR_OCCURRED="An error occurred while submitting the form. Please try again.",s.BUYER="A Buyer",s.SELLER="A Seller",s.BUYER_SELLER="A Buyer and Seller",s.BROKER="A Broker/Agent",s.PERIOD_1="Immediately",s.PERIOD_2="1 to 3 Months",s.PERIOD_3="3 to 6 Months",s.PERIOD_4="6 to 12 Months",s.PERIOD_5="12+ Months",s.DYNAMIC_VALUES_BUYER_MESSAGE_LABEL="Message",s.DYNAMIC_VALUES_BUYER_MESSAGE_PLACEHOLDER="Hello, I am interested in learning more about this property.",s.DYNAMIC_VALUES_BROKER_MESSAGE_PLACEHOLDER="Hello, I am interested in learning more about this buyer.",s.DYNAMIC_VALUES_SELLER_HOME_ADDRESS_LABEL="Home Address *",s.DYNAMIC_VALUES_SELLER_HOME_ADDRESS_PLACEHOLDER="Enter Home Address",s.DYNAMIC_VALUES_SELLER_APROXIMATE_VALUE_LABEL="Property's Approximate Value",s.DYNAMIC_VALUES_SELLER_TIME_FOR_SELLING_LABEL="Time Frame for Selling",s.DYNAMIC_VALUES_SELLER_TIME_FOR_SELLING_PLACEHOLDER="Please select a time frame",s.sellerBuyerSharedContent=[{label:s.DYNAMIC_VALUES_SELLER_HOME_ADDRESS_LABEL,type:"text",placeholder:s.DYNAMIC_VALUES_SELLER_HOME_ADDRESS_PLACEHOLDER},{label:s.DYNAMIC_VALUES_SELLER_APROXIMATE_VALUE_LABEL,type:"number",placeholder:""},{label:s.DYNAMIC_VALUES_SELLER_TIME_FOR_SELLING_LABEL,type:"select",placeholder:s.DYNAMIC_VALUES_SELLER_TIME_FOR_SELLING_PLACEHOLDER}],s.DYNAMIC_VALUES={buyer:[{label:s.DYNAMIC_VALUES_BUYER_MESSAGE_LABEL,type:"textarea",placeholder:s.DYNAMIC_VALUES_BUYER_MESSAGE_PLACEHOLDER}],seller:s.sellerBuyerSharedContent,"buyer-seller":s.sellerBuyerSharedContent,broker:[{label:s.DYNAMIC_VALUES_BUYER_MESSAGE_LABEL,type:"textarea",placeholder:s.DYNAMIC_VALUES_BROKER_MESSAGE_PLACEHOLDER}]};var u=s;var hn=nativeEnumType(So,{required_error:u.IAM_REQUIRED_VALIDATION_MESSAGE});objectType({firstName:stringType().min(2,{message:u.FIRST_NAME_REQUIRED_VALIDATION_MESSAGE}),emailAdress:stringType({required_error:u.EMAIL_ADDRESS_REQUIRED_VALIDATION_MESSAGE}).email({message:u.EMAIL_ADDRESS_FORMAT_VALIDATION_MESSAGE}),lastName:stringType().min(2,{message:u.LAST_NAME_REQUIRED_VALIDATION_MESSAGE}),phoneNumber:stringType().min(2,{message:u.PHONE_NUMBER_REQUIRED_VALIDATION_MESSAGE}),iam:hn,agent:booleanType().optional(),agentName:stringType().optional(),dynamicValues:arrayType(objectType({homeAddress:stringType().min(2,{message:u.HOME_ADDRESS_REQUIRED_VALIDATION_MESSAGE}).optional(),value:stringType().optional()})).optional()});var p=class{static EQUITY_MORTGAGE_DETAILS_BANNER_DESCRIPTION(t,o,a,i,n){return `Public records show a ${t} year loan at ${o} for ${a} from ${i}, giving you an estimated loan balance of ${n}. All calculations on this report are based on these numbers, so we want to make sure we get this right!`}static HOW_CALCULATE_INFORMATION_DESCRIPTION(t,o,a,i){return `These numbers are all based on your ${a} year loan at ${t} for ${o} from ${i}.`}static PAY_LITTLE_EXTRA_DESCRIPTION(t,o,a,i){return `Based on your ${t} year loan at ${o} for ${a} from ${i}`}static PAY_LITTLE_EXTRA_EARLIER_MESSAGE(t){return `You would also be done with the loan and no longer making payments ${t} earlier!`}};p.ACTION_OK_BUTTON_LABEL="OK",p.DESCRIPTION_YEARS_LABEL="Years",p.YEAR=" year",p.PLURAL="s ",p.AND=" and ",p.MONTH=" month",p.NO_DATA_AVAILABLE_LABEL="No Data Available",p.ACTION_BUTTON_BEST_OPTION_LABEL="Which option is best for me?",p.LEARN_MORE_LABEL="Learn more about this",p.EDIT_DETAILS_LABEL="Edit Details",p.WHY_PAY_MORE_LABEL="Why Pay More?",p.EARLY_LOAN_LABEL="Early Loan Payoff Information",p.CONFIGURATION_ERROR_LABEL="Configuration Error",p.CONFIGURATION_ERROR_KEY_EXPIRED_LABEL="Key is expired",p.EQUITY_MORTGAGE_DETAILS_HEADER_TITLE="Equity In Your Home",p.EQUITY_MORTGAGE_DETAILS_DESCRIPTION="Equity is your home's worth to you!",p.EQUITY_MORTGAGE_DETAILS_ALL_GOOD_BUTTON="All Good",p.EQUITY_MORTGAGE_DETAILS_BANNER_TITLE="Verify Your Mortgage Details",p.EQUITY_MORTGAGE_DETAILS_TITLE="Estimated Equity Today",p.EQUITY_MORTGAGE_DETAILS_HOW_CALCULATED="How is this calculated?",p.EQUITY_MORTGAGE_DETAILS_DISCLAIMER="Disclaimer",p.EDIT_MORTGAGE_DETAILS_FORM_TITLE="Edit Mortgage Info",p.EDIT_MORTGAGE_DETAILS_LOAN_START_DATE_LABEL="Loan Start Date",p.EDIT_MORTGAGE_DETAILS_LOAN_TERM_LABEL="Loan Term",p.EDIT_MORTGAGE_DETAILS_INTEREST_RATE_LABEL="Interest Rate",p.EDIT_MORTGAGE_DETAILS_ORIGINAL_LOAN_AMOUNT_LABEL="Original Loan Amount",p.EDIT_MORTGAGE_DETAILS_BALANCE_LABEL="Estimated Mortgage Balance",p.EDIT_MORTGAGE_DETAILS_DISCLAIMER_TEXT="This message is for information purposes only and is not an advertisement to extend customer credit as defined by Section 12 CFR 1026.2 Regulation Z. Program rates, terms, and conditions are subject to change at any time. All examples of potential mortgage products above are estimates for illustration purposes only. All programs and mortgage products are subject to borrower income, credit, and property approval. Not all borrowers will qualify. This is not an offer for extension of credit or a commitment to lend. Home valuations are estimates purchased from a third-party data provider. Actual appraised value at the time of a transaction may vary. Equal Housing Lender. Interest rates used are based on a reasonably current index and margin from the Freddie Mac Primary Mortgage Market Survey.",p.HOW_CALCULATE_TITLE="How Is My Net Worth Calculated?",p.HOW_CALCULATE_DESCRIPTION='Your net worth ("equity") is made up of two things.',p.HOW_CALCULATE_HOME_VALUE_LABEL="Home Value",p.HOW_CALCULATE_LOAN_BALANCE_LABEL="Loan Balance",p.HOW_CALCULATE_YOUR_NET_WORTH_LABEL="Your Net Worth",p.HOW_CALCULATE_INFORMATION_SUBTITLE="Where does this information come from?",p.HOW_CALCULATE_NOTE_DESCRIPTION="Note: Only the first lien mortgage and resale are used to calculate the balance of your loan.",p.PAY_LITTLE_EXTRA_HEADER_TITLE="Pay A Little Extra",p.PAY_LITTLE_EXTRA_SUBTITLE="How much more can you pay per month?",p.PAY_LITTLE_EXTRA_CALCULATION_IF_YOU_PAY="If you pay just",p.PAY_LITTLE_EXTRA_CALCULATION_MORE=" more each month, you could save",p.PAY_LITTLE_EXTRA_CALCULATION_DESCRIPTION="in interest over the rest of your loan",p.PAY_LITTLE_EXTRA_INFO_DESCRIPTION="You would also be done with the loan and no longer making payments 10 years and 2 months earlier!",p.PAY_LITTLE_EXTRA_PAYING_EXTRA="Paying extra can be an easy way to save.",p.PAY_LITTLE_EXTRA_PAYING_EXTRA_DESCRIPTION="Your mortgage payment is typically defined as your principal and interest payment. When you pay extra on your principal balance, you can reduce the amount of your loan and save money on interest.",p.PAY_LITTLE_EXTRA_PAYING_EXTRA_BEST_PART="The best part is that there's no paperwork, fees or headaches.",p.PAY_LITTLE_EXTRA_PAYING_EXTRA_IMPORTANT_TIP="*Important Tip* ",p.PAY_LITTLE_EXTRA_PAYING_EXTRA_IMPORTANT_TIP_DESCRIPTION="contact your mortgage servicer to indicate your extra payment is for principal reduction (to ensure it is not accidentally applied to an extra payment, extra interest, or towards escrow).",p.PAY_LITTLE_EXTRA_LENGTH_LOAN_REMAIN_MESSAGE="The length of your loan would remain unchanged with this extra payment.";function Ke({children:e}){return React__namespace.createElement("div",{className:r("flex justify-center w-full")},e)}function xr({trigger:e,content:t,title:o,asChild:a=!1,actionButtomLabel:i=p.ACTION_OK_BUTTON_LABEL}){return React__namespace.createElement(Wo,null,React__namespace.createElement(zo,{asChild:a},e),React__namespace.createElement(lo,{className:r("flex flex-col gap-2 p-6","h-screen lg:h-auto md:h-auto overflow-y-auto")},o&&React__namespace.createElement(co,null,o),t,React__namespace.createElement(mo,null,React__namespace.createElement(po,null,i))))}function yr({title:e,infoTitle:t,icon:o,infoDescription:a,titleDescription:i,showInfo:n=!0}){let f=React__namespace.cloneElement(o,{className:"w-6 h-6"});return React__namespace.createElement("div",{className:r("flex flex-col items-start")},React__namespace.createElement("div",{className:r("flex flex-row items-center gap-1")},React__namespace.createElement("div",{className:r("flex flex-col items-center bg-slate-50 rounded-[100px] p-2")},f),React__namespace.createElement("h3",{className:r("font-semibold leading-8 text-xl md:text-2xl lg:text-2xl text-gray-700")},e),n&&React__namespace.createElement(xr,{asChild:!0,title:t,trigger:React__namespace.createElement(Info,{className:r("w-5 h-5 text-gray-400")}),content:a})),i&&React__namespace.createElement("p",{className:r("text-gray-400 ml-[50px] text-xs md:text-sm lg:text-sm")},i))}function Qe({icon:e,infoDescription:t,title:o,titleDescription:a,infoTitle:i,actions:n,showInfo:f=!0}){return React__namespace.createElement("div",{className:r("flex flex-col md:flex-row lg:flex-row justify-between items-stretch py-3 shadow-sm ")},React__namespace.createElement(yr,{title:o,titleDescription:a,infoTitle:i,icon:e,infoDescription:t,showInfo:f}),n&&n)}var tt=({clientKey:e,apiKey:t})=>{let[o,a]=React__namespace.useState(!0),[i,n]=React__namespace.useState(),f=!!e;React__namespace.useEffect(()=>{async function c(){let l=await Zt({clientKey:e});n(l);}c();},[]);let m=React__namespace.useCallback(async c=>{let{url:l,requestInit:y}=c,{headers:k,...C}=y??{},L=i;!i?.token&&e&&(L=await Zt({clientKey:e}));let O={"Content-Type":"application/json",...L?.token&&{Authorization:`Bearer ${L?.token}`},...t&&{"x-api-key":t},...k},E=await fetch(l,{headers:O,...C});try{a(!0);let M=await E.json();return a(!1),L?.token&&n(L),M}catch(M){console.error(`Error requesting ${l}`,M),a(!1);return}},[i,e,t]);return {isLoading:o,tokens:i,request:m,isExternal:f}};var Lr="AIzaSyCDNlq-LeVQGoubUXL_a8p6LYPXR5Bjs_Q";function Ln({apiKey:e,mapOptions:t,geoJsonLayerInput:o,markers:a,markersIcon:i,markerEvents:n}){let f=React__namespace.useRef(null),[m,c]=React__namespace.useState(null),[l,y]=React__namespace.useState(!1);React__namespace.useEffect(()=>{f.current&&new Loader({apiKey:e??Lr}).importLibrary("maps").then(()=>{t.center||(t.center={lat:39.8283,lng:-98.5795}),f.current&&k(f.current,t);});},[]);let k=(E,M)=>{c(new window.google.maps.Map(E,M)),o&&O(o),L(a),y(!0);},C=(E,M)=>{m&&(m.setCenter(E),m.setZoom(M));},L=(E,M,T)=>{if(!m||!E)return;let d=new google.maps.LatLngBounds;E.forEach((R,re)=>{d.extend(new google.maps.LatLng(R.lat,R.lng));let ae=new google.maps.Marker({position:{lat:R.lat,lng:R.lng},map:m,icon:R.icon??i,label:R.label});n&&n(re,ae);}),m.setCenter(d.getCenter()),m.setZoom(M??3),T&&new window.google.maps.Marker({position:d.getCenter(),map:m,icon:T});},O=({center:E,geoJson:M})=>{if(!m||!M)return;E&&(m.setCenter(E),new window.google.maps.Marker({position:E,map:m}));let T=new window.google.maps.Data;T.addGeoJson(M),T.setStyle(d=>({fillColor:d.getProperty("color")??"#FFFFCC",strokeWeight:1,fillOpacity:.5,strokeColor:"white"})),T.setMap(m);};return {mapRef:f,setGeojson:O,setMarkers:L,zoomHandler:C,isMapReady:l}}var Gt=Ln;var Mr=["#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],Sr="https://api.liberty.percyai.io/location/v1/heatmap";function Dr(){return React__namespace.createElement("div",{className:r("absolute top-4 left-4 bg-white bg-opacity-70 p-2 shadow-lg flex flex-col")},React__namespace.createElement("div",{className:r("flex justify-between")},React__namespace.createElement("div",{className:r("text-left text-xs")},"Active"),React__namespace.createElement("div",{className:r("text-right text-xs")},"Very Active")),React__namespace.createElement("div",{className:r("flex flex-col items-center space-y-2")},React__namespace.createElement("div",{className:r("flex")},Mr.map((e,t)=>React__namespace.createElement("div",{key:t,className:r("w-4 h-4"),style:{backgroundColor:e}})))))}function Lp({zipcode:e,url:t=Sr,zoomLevel:o=10,zoomControl:a=!0,googleApiKey:i,clientKey:n,apiKey:f,height:m="420px"}){let{request:c,isLoading:l,tokens:y}=tt({clientKey:n,apiKey:f}),k=React__namespace.useMemo(()=>({zoom:o,draggable:!1,scrollwheel:!1,fullscreenControl:!1,gestureHandling:"none",zoomControl:a,mapId:""}),[o,a]),{mapRef:C,setGeojson:L,isMapReady:O}=Gt({mapOptions:k,apiKey:i});return React__namespace.useEffect(()=>{let E=!0;async function M(){let T=W(y?.meta,"color");if(e&&t&&E&&O){let d=new URL(t);d.searchParams.set("zipcode",e),T?.value&&d.searchParams.set("colors",T?.value);try{let R=await c({url:d.toString()});R&&E&&L(R.data);}catch(R){console.error("Error fetching heatmap data:",R);}}}return O&&M(),()=>{E=!1;}},[n,f,O]),React__namespace.createElement("div",{className:r("flex flex-col bg-white")},React__namespace.createElement(Qe,{title:"Heat Map",infoDescription:"The best way to visualize the distribution of data in a geographical area.",infoTitle:"Heat Map",icon:React__namespace.createElement(MapPin,null)}),React__namespace.createElement(Ke,null,React__namespace.createElement("div",{className:"relative w-full aspect-video rounded-md overflow-hidden",style:{height:m}},React__namespace.createElement("div",{ref:C,className:r("min-h-full w-full")}),React__namespace.createElement(Dr,null),l&&React__namespace.createElement("div",{className:r("absolute inset-0 flex items-center justify-center")},React__namespace.createElement(bt,null)))))}format(new Date,"yyyy-MM-dd");
|
|
37411
37411
|
|
|
37412
|
-
var t=p$1(
|
|
37412
|
+
var t=p$1(Lp,{props:{zipcode:"string",url:"string",zoomLevel:"number",zoomControl:"boolean",googleApiKey:"string",clientKey:"string",apiKey:"string"}});customElements&&customElements.define("heat-map",t);
|
|
37413
37413
|
|
|
37414
37414
|
}));
|
|
37415
37415
|
//# sourceMappingURL=heatmap.js.map
|