@percy.ai/heatmap 0.0.0-dev-20231127233202 → 0.0.0-dev-20231129205013
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
|
@@ -10244,7 +10244,7 @@ Defaulting to \`null\`.`;
|
|
|
10244
10244
|
|
|
10245
10245
|
var le = /*@__PURE__*/getDefaultExportFromCjs(commandScore_1);
|
|
10246
10246
|
|
|
10247
|
-
var ue='[cmdk-list-sizer=""]',M='[cmdk-group=""]',N='[cmdk-group-items=""]',de='[cmdk-group-heading=""]',ee$1='[cmdk-item=""]',Z$1=`${ee$1}:not([aria-disabled="true"])`,z="cmdk-item-select",S="data-value",fe=(n,a)=>le(n,a),te=React__namespace.createContext(void 0),k=()=>React__namespace.useContext(te),re=React__namespace.createContext(void 0),U=()=>React__namespace.useContext(re),ne$1=React__namespace.createContext(void 0),oe=React__namespace.forwardRef((n,a)=>{let r=React__namespace.useRef(null),o=x(()=>({search:"",value:"",filtered:{count:0,items:new Map,groups:new Set}})),u=x(()=>new Set),l=x(()=>new Map),p=x(()=>new Map),f=x(()=>new Set),d=ae$1(n),{label:v,children:E,value:R,onValueChange:w,filter:O,shouldFilter:ie,...D}=n,F=React__namespace.useId(),g=React__namespace.useId(),A=React__namespace.useId(),y=ye();L(()=>{if(R!==void 0){let e=R.trim().toLowerCase();o.current.value=e,y(6,W),h.emit();}},[R]);let h=React__namespace.useMemo(()=>({subscribe:e=>(f.current.add(e),()=>f.current.delete(e)),snapshot:()=>o.current,setState:(e,c,i)=>{var s,m,b;if(!Object.is(o.current[e],c)){if(o.current[e]=c,e==="search")j(),G(),y(1,V);else if(e==="value")if(((s=d.current)==null?void 0:s.value)!==void 0){(b=(m=d.current).onValueChange)==null||b.call(m,c);return}else i||y(5,W);h.emit();}},emit:()=>{f.current.forEach(e=>e());}}),[]),K=React__namespace.useMemo(()=>({value:(e,c)=>{c!==p.current.get(e)&&(p.current.set(e,c),o.current.filtered.items.set(e,B(c)),y(2,()=>{G(),h.emit();}));},item:(e,c)=>(u.current.add(e),c&&(l.current.has(c)?l.current.get(c).add(e):l.current.set(c,new Set([e]))),y(3,()=>{j(),G(),o.current.value||V(),h.emit();}),()=>{p.current.delete(e),u.current.delete(e),o.current.filtered.items.delete(e),y(4,()=>{j(),V(),h.emit();});}),group:e=>(l.current.has(e)||l.current.set(e,new Set),()=>{p.current.delete(e),l.current.delete(e);}),filter:()=>d.current.shouldFilter,label:v||n["aria-label"],listId:F,inputId:A,labelId:g}),[]);function B(e){var i;let c=((i=d.current)==null?void 0:i.filter)??fe;return e?c(e,o.current.search):0}function G(){if(!r.current||!o.current.search||d.current.shouldFilter===!1)return;let e=o.current.filtered.items,c=[];o.current.filtered.groups.forEach(s=>{let m=l.current.get(s),b=0;m.forEach(P=>{let ce=e.get(P);b=Math.max(ce,b);}),c.push([s,b]);});let i=r.current.querySelector(ue);I().sort((s,m)=>{let b=s.getAttribute(S),P=m.getAttribute(S);return (e.get(P)??0)-(e.get(b)??0)}).forEach(s=>{let m=s.closest(N);m?m.appendChild(s.parentElement===m?s:s.closest(`${N} > *`)):i.appendChild(s.parentElement===i?s:s.closest(`${N} > *`));}),c.sort((s,m)=>m[1]-s[1]).forEach(s=>{let m=r.current.querySelector(`${M}[${S}="${s[0]}"]`);m==null||m.parentElement.appendChild(m);});}function V(){let e=I().find(i=>!i.ariaDisabled),c=e==null?void 0:e.getAttribute(S);h.setState("value",c||void 0);}function j(){if(!o.current.search||d.current.shouldFilter===!1){o.current.filtered.count=u.current.size;return}o.current.filtered.groups=new Set;let e=0;for(let c of u.current){let i=p.current.get(c),s=B(i);o.current.filtered.items.set(c,s),s>0&&e++;}for(let[c,i]of l.current)for(let s of i)if(o.current.filtered.items.get(s)>0){o.current.filtered.groups.add(c);break}o.current.filtered.count=e;}function W(){var c,i,s;let e=_();e&&(((c=e.parentElement)==null?void 0:c.firstChild)===e&&((s=(i=e.closest(M))==null?void 0:i.querySelector(de))==null||s.scrollIntoView({block:"nearest"})),e.scrollIntoView({block:"nearest"}));}function _(){return r.current.querySelector(`${ee$1}[aria-selected="true"]`)}function I(){return Array.from(r.current.querySelectorAll(Z$1))}function q(e){let i=I()[e];i&&h.setState("value",i.getAttribute(S));}function $(e){var b;let c=_(),i=I(),s=i.findIndex(P=>P===c),m=i[s+e];(b=d.current)!=null&&b.loop&&(m=s+e<0?i[i.length-1]:s+e===i.length?i[0]:i[s+e]),m&&h.setState("value",m.getAttribute(S));}function J(e){let c=_(),i=c==null?void 0:c.closest(M),s;for(;i&&!s;)i=e>0?Se(i,M):Ce(i,M),s=i==null?void 0:i.querySelector(Z$1);s?h.setState("value",s.getAttribute(S)):$(e);}let Q=()=>q(I().length-1),X=e=>{e.preventDefault(),e.metaKey?Q():e.altKey?J(1):$(1);},Y=e=>{e.preventDefault(),e.metaKey?q(0):e.altKey?J(-1):$(-1);};return React__namespace.createElement("div",{ref:H([r,a]),...D,"cmdk-root":"",onKeyDown:e=>{var c;if((c=D.onKeyDown)==null||c.call(D,e),!e.defaultPrevented)switch(e.key){case"n":case"j":{e.ctrlKey&&X(e);break}case"ArrowDown":{X(e);break}case"p":case"k":{e.ctrlKey&&Y(e);break}case"ArrowUp":{Y(e);break}case"Home":{e.preventDefault(),q(0);break}case"End":{e.preventDefault(),Q();break}case"Enter":{e.preventDefault();let i=_();if(i){let s=new Event(z);i.dispatchEvent(s);}}}}},React__namespace.createElement("label",{"cmdk-label":"",htmlFor:K.inputId,id:K.labelId,style:xe$1},v),React__namespace.createElement(re.Provider,{value:h},React__namespace.createElement(te.Provider,{value:K},E)))}),me=React__namespace.forwardRef((n,a)=>{let r=React__namespace.useId(),o=React__namespace.useRef(null),u=React__namespace.useContext(ne$1),l=k(),p=ae$1(n);L(()=>l.item(r,u),[]);let f=se(r,o,[n.value,n.children,o]),d=U(),v=T(g=>g.value&&g.value===f.current),E=T(g=>l.filter()===!1?!0:g.search?g.filtered.items.get(r)>0:!0);React__namespace.useEffect(()=>{let g=o.current;if(!(!g||n.disabled))return g.addEventListener(z,R),()=>g.removeEventListener(z,R)},[E,n.onSelect,n.disabled]);function R(){var g,A;(A=(g=p.current).onSelect)==null||A.call(g,f.current);}function w(){d.setState("value",f.current,!0);}if(!E)return null;let{disabled:O,value:ie,onSelect:D,...F}=n;return React__namespace.createElement("div",{ref:H([o,a]),...F,"cmdk-item":"",role:"option","aria-disabled":O||void 0,"aria-selected":v||void 0,"data-selected":v||void 0,onPointerMove:O?void 0:w,onClick:O?void 0:R},n.children)}),pe$1=React__namespace.forwardRef((n,a)=>{let{heading:r,children:o,...u}=n,l=React__namespace.useId(),p=React__namespace.useRef(null),f=React__namespace.useRef(null),d=React__namespace.useId(),v=k(),E=T(w=>v.filter()===!1?!0:w.search?w.filtered.groups.has(l):!0);L(()=>v.group(l),[]),se(l,p,[n.value,n.heading,f]);let R=React__namespace.createElement(ne$1.Provider,{value:l},o);return React__namespace.createElement("div",{ref:H([p,a]),...u,"cmdk-group":"",role:"presentation",hidden:E?void 0:!0},r&&React__namespace.createElement("div",{ref:f,"cmdk-group-heading":"","aria-hidden":!0,id:d},r),React__namespace.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":r?d:void 0},R))}),ge=React__namespace.forwardRef((n,a)=>{let{alwaysRender:r,...o}=n,u=React__namespace.useRef(null),l=T(p=>!p.search);return !r&&!l?null:React__namespace.createElement("div",{ref:H([u,a]),...o,"cmdk-separator":"",role:"separator"})}),ve$1=React__namespace.forwardRef((n,a)=>{let{onValueChange:r,...o}=n,u=n.value!=null,l=U(),p=T(d=>d.search),f=k();return React__namespace.useEffect(()=>{n.value!=null&&l.setState("search",n.value);},[n.value]),React__namespace.createElement("input",{ref:a,...o,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":f.listId,"aria-labelledby":f.labelId,id:f.inputId,type:"text",value:u?n.value:p,onChange:d=>{u||l.setState("search",d.target.value),r==null||r(d.target.value);}})}),Re$1=React__namespace.forwardRef((n,a)=>{let{children:r,...o}=n,u=React__namespace.useRef(null),l=React__namespace.useRef(null),p=k();return React__namespace.useEffect(()=>{if(l.current&&u.current){let f=l.current,d=u.current,v,E=new ResizeObserver(()=>{v=requestAnimationFrame(()=>{let R=f.getBoundingClientRect().height;d.style.setProperty("--cmdk-list-height",R.toFixed(1)+"px");});});return E.observe(f),()=>{cancelAnimationFrame(v),E.unobserve(f);}}},[]),React__namespace.createElement("div",{ref:H([u,a]),...o,"cmdk-list":"",role:"listbox","aria-label":"Suggestions",id:p.listId,"aria-labelledby":p.inputId},React__namespace.createElement("div",{ref:l,"cmdk-list-sizer":""},r))}),be=React__namespace.forwardRef((n,a)=>{let{open:r,onOpenChange:o,container:u,...l}=n;return React__namespace.createElement($5d3850c4d0b4e6c7$export$be92b6f5f03c0fe9,{open:r,onOpenChange:o},React__namespace.createElement($5d3850c4d0b4e6c7$export$602eac185826482c,{container:u},React__namespace.createElement($5d3850c4d0b4e6c7$export$c6fdb837b070b4ff,{"cmdk-overlay":""}),React__namespace.createElement($5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2,{"aria-label":n.label,"cmdk-dialog":""},React__namespace.createElement(oe,{ref:a,...l}))))}),he=React__namespace.forwardRef((n,a)=>{let r=React__namespace.useRef(!0),o=T(u=>u.filtered.count===0);return React__namespace.useEffect(()=>{r.current=!1;},[]),r.current||!o?null:React__namespace.createElement("div",{ref:a,...n,"cmdk-empty":"",role:"presentation"})}),Ee$1=React__namespace.forwardRef((n,a)=>{let{progress:r,children:o,...u}=n;return React__namespace.createElement("div",{ref:a,...u,"cmdk-loading":"",role:"progressbar","aria-valuenow":r,"aria-valuemin":0,"aria-valuemax":100,"aria-label":"Loading..."},React__namespace.createElement("div",{"aria-hidden":!0},o))}),Le=Object.assign(oe,{List:Re$1,Item:me,Input:ve$1,Group:pe$1,Separator:ge,Dialog:be,Empty:he,Loading:Ee$1});function Se(n,a){let r=n.nextElementSibling;for(;r;){if(r.matches(a))return r;r=r.nextElementSibling;}}function Ce(n,a){let r=n.previousElementSibling;for(;r;){if(r.matches(a))return r;r=r.previousElementSibling;}}function ae$1(n){let a=React__namespace.useRef(n);return L(()=>{a.current=n;}),a}var L=typeof window>"u"?React__namespace.useEffect:React__namespace.useLayoutEffect;function x(n){let a=React__namespace.useRef();return a.current===void 0&&(a.current=n()),a}function H(n){return a=>{n.forEach(r=>{typeof r=="function"?r(a):r!=null&&(r.current=a);});}}function T(n){let a=U(),r=()=>n(a.snapshot());return React__namespace.useSyncExternalStore(a.subscribe,r,r)}function se(n,a,r){let o=React__namespace.useRef(),u=k();return L(()=>{var p;let l=(()=>{var f;for(let d of r){if(typeof d=="string")return d.trim().toLowerCase();if(typeof d=="object"&&"current"in d&&d.current)return (f=d.current.textContent)==null?void 0:f.trim().toLowerCase()}})();u.value(n,l),(p=a.current)==null||p.setAttribute(S,l),o.current=l;}),o}var ye=()=>{let[n,a]=React__namespace.useState(),r=x(()=>new Map);return L(()=>{r.current.forEach(o=>o()),r.current=new Map;},[n]),(o,u)=>{r.current.set(o,u),a({});}},xe$1={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};
|
|
10247
|
+
var ue$1='[cmdk-list-sizer=""]',M='[cmdk-group=""]',N='[cmdk-group-items=""]',de='[cmdk-group-heading=""]',ee$1='[cmdk-item=""]',Z=`${ee$1}:not([aria-disabled="true"])`,z="cmdk-item-select",S="data-value",fe=(n,a)=>le(n,a),te$1=React__namespace.createContext(void 0),k=()=>React__namespace.useContext(te$1),re=React__namespace.createContext(void 0),U=()=>React__namespace.useContext(re),ne$1=React__namespace.createContext(void 0),oe=React__namespace.forwardRef((n,a)=>{let r=React__namespace.useRef(null),o=x(()=>({search:"",value:"",filtered:{count:0,items:new Map,groups:new Set}})),u=x(()=>new Set),l=x(()=>new Map),p=x(()=>new Map),f=x(()=>new Set),d=ae(n),{label:v,children:E,value:R,onValueChange:w,filter:O,shouldFilter:ie,...D}=n,F=React__namespace.useId(),g=React__namespace.useId(),A=React__namespace.useId(),y=ye();L(()=>{if(R!==void 0){let e=R.trim().toLowerCase();o.current.value=e,y(6,W),h.emit();}},[R]);let h=React__namespace.useMemo(()=>({subscribe:e=>(f.current.add(e),()=>f.current.delete(e)),snapshot:()=>o.current,setState:(e,c,i)=>{var s,m,b;if(!Object.is(o.current[e],c)){if(o.current[e]=c,e==="search")j(),G(),y(1,V);else if(e==="value")if(((s=d.current)==null?void 0:s.value)!==void 0){(b=(m=d.current).onValueChange)==null||b.call(m,c);return}else i||y(5,W);h.emit();}},emit:()=>{f.current.forEach(e=>e());}}),[]),K=React__namespace.useMemo(()=>({value:(e,c)=>{c!==p.current.get(e)&&(p.current.set(e,c),o.current.filtered.items.set(e,B(c)),y(2,()=>{G(),h.emit();}));},item:(e,c)=>(u.current.add(e),c&&(l.current.has(c)?l.current.get(c).add(e):l.current.set(c,new Set([e]))),y(3,()=>{j(),G(),o.current.value||V(),h.emit();}),()=>{p.current.delete(e),u.current.delete(e),o.current.filtered.items.delete(e),y(4,()=>{j(),V(),h.emit();});}),group:e=>(l.current.has(e)||l.current.set(e,new Set),()=>{p.current.delete(e),l.current.delete(e);}),filter:()=>d.current.shouldFilter,label:v||n["aria-label"],listId:F,inputId:A,labelId:g}),[]);function B(e){var i;let c=((i=d.current)==null?void 0:i.filter)??fe;return e?c(e,o.current.search):0}function G(){if(!r.current||!o.current.search||d.current.shouldFilter===!1)return;let e=o.current.filtered.items,c=[];o.current.filtered.groups.forEach(s=>{let m=l.current.get(s),b=0;m.forEach(P=>{let ce=e.get(P);b=Math.max(ce,b);}),c.push([s,b]);});let i=r.current.querySelector(ue$1);I().sort((s,m)=>{let b=s.getAttribute(S),P=m.getAttribute(S);return (e.get(P)??0)-(e.get(b)??0)}).forEach(s=>{let m=s.closest(N);m?m.appendChild(s.parentElement===m?s:s.closest(`${N} > *`)):i.appendChild(s.parentElement===i?s:s.closest(`${N} > *`));}),c.sort((s,m)=>m[1]-s[1]).forEach(s=>{let m=r.current.querySelector(`${M}[${S}="${s[0]}"]`);m==null||m.parentElement.appendChild(m);});}function V(){let e=I().find(i=>!i.ariaDisabled),c=e==null?void 0:e.getAttribute(S);h.setState("value",c||void 0);}function j(){if(!o.current.search||d.current.shouldFilter===!1){o.current.filtered.count=u.current.size;return}o.current.filtered.groups=new Set;let e=0;for(let c of u.current){let i=p.current.get(c),s=B(i);o.current.filtered.items.set(c,s),s>0&&e++;}for(let[c,i]of l.current)for(let s of i)if(o.current.filtered.items.get(s)>0){o.current.filtered.groups.add(c);break}o.current.filtered.count=e;}function W(){var c,i,s;let e=_();e&&(((c=e.parentElement)==null?void 0:c.firstChild)===e&&((s=(i=e.closest(M))==null?void 0:i.querySelector(de))==null||s.scrollIntoView({block:"nearest"})),e.scrollIntoView({block:"nearest"}));}function _(){return r.current.querySelector(`${ee$1}[aria-selected="true"]`)}function I(){return Array.from(r.current.querySelectorAll(Z))}function q(e){let i=I()[e];i&&h.setState("value",i.getAttribute(S));}function $(e){var b;let c=_(),i=I(),s=i.findIndex(P=>P===c),m=i[s+e];(b=d.current)!=null&&b.loop&&(m=s+e<0?i[i.length-1]:s+e===i.length?i[0]:i[s+e]),m&&h.setState("value",m.getAttribute(S));}function J(e){let c=_(),i=c==null?void 0:c.closest(M),s;for(;i&&!s;)i=e>0?Se(i,M):Ce(i,M),s=i==null?void 0:i.querySelector(Z);s?h.setState("value",s.getAttribute(S)):$(e);}let Q=()=>q(I().length-1),X=e=>{e.preventDefault(),e.metaKey?Q():e.altKey?J(1):$(1);},Y=e=>{e.preventDefault(),e.metaKey?q(0):e.altKey?J(-1):$(-1);};return React__namespace.createElement("div",{ref:H([r,a]),...D,"cmdk-root":"",onKeyDown:e=>{var c;if((c=D.onKeyDown)==null||c.call(D,e),!e.defaultPrevented)switch(e.key){case"n":case"j":{e.ctrlKey&&X(e);break}case"ArrowDown":{X(e);break}case"p":case"k":{e.ctrlKey&&Y(e);break}case"ArrowUp":{Y(e);break}case"Home":{e.preventDefault(),q(0);break}case"End":{e.preventDefault(),Q();break}case"Enter":{e.preventDefault();let i=_();if(i){let s=new Event(z);i.dispatchEvent(s);}}}}},React__namespace.createElement("label",{"cmdk-label":"",htmlFor:K.inputId,id:K.labelId,style:xe},v),React__namespace.createElement(re.Provider,{value:h},React__namespace.createElement(te$1.Provider,{value:K},E)))}),me$1=React__namespace.forwardRef((n,a)=>{let r=React__namespace.useId(),o=React__namespace.useRef(null),u=React__namespace.useContext(ne$1),l=k(),p=ae(n);L(()=>l.item(r,u),[]);let f=se$1(r,o,[n.value,n.children,o]),d=U(),v=T(g=>g.value&&g.value===f.current),E=T(g=>l.filter()===!1?!0:g.search?g.filtered.items.get(r)>0:!0);React__namespace.useEffect(()=>{let g=o.current;if(!(!g||n.disabled))return g.addEventListener(z,R),()=>g.removeEventListener(z,R)},[E,n.onSelect,n.disabled]);function R(){var g,A;(A=(g=p.current).onSelect)==null||A.call(g,f.current);}function w(){d.setState("value",f.current,!0);}if(!E)return null;let{disabled:O,value:ie,onSelect:D,...F}=n;return React__namespace.createElement("div",{ref:H([o,a]),...F,"cmdk-item":"",role:"option","aria-disabled":O||void 0,"aria-selected":v||void 0,"data-selected":v||void 0,onPointerMove:O?void 0:w,onClick:O?void 0:R},n.children)}),pe=React__namespace.forwardRef((n,a)=>{let{heading:r,children:o,...u}=n,l=React__namespace.useId(),p=React__namespace.useRef(null),f=React__namespace.useRef(null),d=React__namespace.useId(),v=k(),E=T(w=>v.filter()===!1?!0:w.search?w.filtered.groups.has(l):!0);L(()=>v.group(l),[]),se$1(l,p,[n.value,n.heading,f]);let R=React__namespace.createElement(ne$1.Provider,{value:l},o);return React__namespace.createElement("div",{ref:H([p,a]),...u,"cmdk-group":"",role:"presentation",hidden:E?void 0:!0},r&&React__namespace.createElement("div",{ref:f,"cmdk-group-heading":"","aria-hidden":!0,id:d},r),React__namespace.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":r?d:void 0},R))}),ge=React__namespace.forwardRef((n,a)=>{let{alwaysRender:r,...o}=n,u=React__namespace.useRef(null),l=T(p=>!p.search);return !r&&!l?null:React__namespace.createElement("div",{ref:H([u,a]),...o,"cmdk-separator":"",role:"separator"})}),ve=React__namespace.forwardRef((n,a)=>{let{onValueChange:r,...o}=n,u=n.value!=null,l=U(),p=T(d=>d.search),f=k();return React__namespace.useEffect(()=>{n.value!=null&&l.setState("search",n.value);},[n.value]),React__namespace.createElement("input",{ref:a,...o,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":f.listId,"aria-labelledby":f.labelId,id:f.inputId,type:"text",value:u?n.value:p,onChange:d=>{u||l.setState("search",d.target.value),r==null||r(d.target.value);}})}),Re=React__namespace.forwardRef((n,a)=>{let{children:r,...o}=n,u=React__namespace.useRef(null),l=React__namespace.useRef(null),p=k();return React__namespace.useEffect(()=>{if(l.current&&u.current){let f=l.current,d=u.current,v,E=new ResizeObserver(()=>{v=requestAnimationFrame(()=>{let R=f.getBoundingClientRect().height;d.style.setProperty("--cmdk-list-height",R.toFixed(1)+"px");});});return E.observe(f),()=>{cancelAnimationFrame(v),E.unobserve(f);}}},[]),React__namespace.createElement("div",{ref:H([u,a]),...o,"cmdk-list":"",role:"listbox","aria-label":"Suggestions",id:p.listId,"aria-labelledby":p.inputId},React__namespace.createElement("div",{ref:l,"cmdk-list-sizer":""},r))}),be=React__namespace.forwardRef((n,a)=>{let{open:r,onOpenChange:o,container:u,...l}=n;return React__namespace.createElement($5d3850c4d0b4e6c7$export$be92b6f5f03c0fe9,{open:r,onOpenChange:o},React__namespace.createElement($5d3850c4d0b4e6c7$export$602eac185826482c,{container:u},React__namespace.createElement($5d3850c4d0b4e6c7$export$c6fdb837b070b4ff,{"cmdk-overlay":""}),React__namespace.createElement($5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2,{"aria-label":n.label,"cmdk-dialog":""},React__namespace.createElement(oe,{ref:a,...l}))))}),he$1=React__namespace.forwardRef((n,a)=>{let r=React__namespace.useRef(!0),o=T(u=>u.filtered.count===0);return React__namespace.useEffect(()=>{r.current=!1;},[]),r.current||!o?null:React__namespace.createElement("div",{ref:a,...n,"cmdk-empty":"",role:"presentation"})}),Ee$1=React__namespace.forwardRef((n,a)=>{let{progress:r,children:o,...u}=n;return React__namespace.createElement("div",{ref:a,...u,"cmdk-loading":"",role:"progressbar","aria-valuenow":r,"aria-valuemin":0,"aria-valuemax":100,"aria-label":"Loading..."},React__namespace.createElement("div",{"aria-hidden":!0},o))}),Le=Object.assign(oe,{List:Re,Item:me$1,Input:ve,Group:pe,Separator:ge,Dialog:be,Empty:he$1,Loading:Ee$1});function Se(n,a){let r=n.nextElementSibling;for(;r;){if(r.matches(a))return r;r=r.nextElementSibling;}}function Ce(n,a){let r=n.previousElementSibling;for(;r;){if(r.matches(a))return r;r=r.previousElementSibling;}}function ae(n){let a=React__namespace.useRef(n);return L(()=>{a.current=n;}),a}var L=typeof window>"u"?React__namespace.useEffect:React__namespace.useLayoutEffect;function x(n){let a=React__namespace.useRef();return a.current===void 0&&(a.current=n()),a}function H(n){return a=>{n.forEach(r=>{typeof r=="function"?r(a):r!=null&&(r.current=a);});}}function T(n){let a=U(),r=()=>n(a.snapshot());return React__namespace.useSyncExternalStore(a.subscribe,r,r)}function se$1(n,a,r){let o=React__namespace.useRef(),u=k();return L(()=>{var p;let l=(()=>{var f;for(let d of r){if(typeof d=="string")return d.trim().toLowerCase();if(typeof d=="object"&&"current"in d&&d.current)return (f=d.current.textContent)==null?void 0:f.trim().toLowerCase()}})();u.value(n,l),(p=a.current)==null||p.setAttribute(S,l),o.current=l;}),o}var ye=()=>{let[n,a]=React__namespace.useState(),r=x(()=>new Map);return L(()=>{r.current.forEach(o=>o()),r.current=new Map;},[n]),(o,u)=>{r.current.set(o,u),a({});}},xe={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};
|
|
10248
10248
|
|
|
10249
10249
|
const $d7bdfb9eb0fdf311$var$ENTRY_FOCUS = 'rovingFocusGroup.onEntryFocus';
|
|
10250
10250
|
const $d7bdfb9eb0fdf311$var$EVENT_OPTIONS = {
|
|
@@ -19956,6 +19956,26 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
19956
19956
|
ZodEffects.createWithPreprocess;
|
|
19957
19957
|
ZodPipeline.create;
|
|
19958
19958
|
|
|
19959
|
+
(undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
19960
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
19961
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
19962
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19963
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19964
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
19965
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
19966
|
+
});
|
|
19967
|
+
};
|
|
19968
|
+
|
|
19969
|
+
(undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
19970
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
19971
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
19972
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19973
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19974
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
19975
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
19976
|
+
});
|
|
19977
|
+
};
|
|
19978
|
+
|
|
19959
19979
|
/*! *****************************************************************************
|
|
19960
19980
|
Copyright (c) Microsoft Corporation.
|
|
19961
19981
|
|
|
@@ -35191,9 +35211,9 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
35191
35211
|
|
|
35192
35212
|
ColorWrap(Google);
|
|
35193
35213
|
|
|
35194
|
-
function r(...e){return twMerge(clsx(e))}var rr="https://api-dev.liberty.percyai.io/key_service/v1/jwt/generate";var ro=async({clientKey:e})=>{try{return e?await(await fetch(rr,{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 ao=(e,t)=>e?.config?e.config.find(o=>o.name===t):{};var Ne=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"}}),ee=React__namespace.forwardRef(({className:e,variant:t,size:o,asChild:a=!1,...i},s)=>React__namespace.createElement(a?$5e63c961fc1ce211$export$8c6ed5c666ac1360$1:"button",{className:r(Ne({variant:t,size:o,className:e})),ref:s,...i}));ee.displayName="Button";var ke=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}));ke.displayName="Card";var Fe=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}));Fe.displayName="CardHeader";var Tt=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("h3",{ref:o,className:r("font-semibold leading-none tracking-tight",e),...t}));Tt.displayName="CardTitle";var nr=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("p",{ref:o,className:r("text-sm text-muted-foreground",e),...t}));nr.displayName="CardDescription";var He=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("div",{ref:o,className:r("p-6 pt-0",e),...t}));He.displayName="CardContent";var Ve=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("div",{ref:o,className:r("flex items-center p-6 pt-0",e),...t}));Ve.displayName="CardFooter";var Nt=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}));Nt.displayName=$cddcb0b647441e34$export$be92b6f5f03c0fe9.displayName;var sr=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}));sr.displayName=$cddcb0b647441e34$export$3e431a229df88919.displayName;var Et=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}));Et.displayName=$cddcb0b647441e34$export$fb8d7f40caaeea67.displayName;var At=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)}%)`}})));At.displayName=$67824d98245208a0$export$be92b6f5f03c0fe9.displayName;var Ge=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}));Ge.displayName=$a093c7e1ec25a057$export$7c6e2c02157bb7d2.displayName;var so=({className:e,...t})=>React__namespace.createElement($5d3850c4d0b4e6c7$export$602eac185826482c$1,{className:r(e),...t});so.displayName=$5d3850c4d0b4e6c7$export$602eac185826482c$1.displayName;var mo=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}));mo.displayName=$5d3850c4d0b4e6c7$export$c6fdb837b070b4ff$1.displayName;var pr=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"}}),fr=React__namespace.forwardRef(({side:e="right",className:t,children:o,...a},i)=>React__namespace.createElement(so,null,React__namespace.createElement(mo,null),React__namespace.createElement($5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2$1,{ref:i,className:r(pr({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")))));fr.displayName=$5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2$1.displayName;var Rr=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}));Rr.displayName=$5d3850c4d0b4e6c7$export$f99233281efd08a0.displayName;var vr=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($5d3850c4d0b4e6c7$export$393edc798c47379d,{ref:o,className:r("text-sm text-muted-foreground",e),...t}));vr.displayName=$5d3850c4d0b4e6c7$export$393edc798c47379d.displayName;var Ct=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})));Ct.displayName="Table";var wt=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("thead",{ref:o,className:r("[&_tr]:border-b",e),...t}));wt.displayName="TableHeader";var St=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("tbody",{ref:o,className:r("[&_tr:last-child]:border-0",e),...t}));St.displayName="TableBody";var Mt=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("tfoot",{ref:o,className:r("bg-primary font-medium text-primary-foreground",e),...t}));Mt.displayName="TableFooter";var We=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}));We.displayName="TableRow";var Re=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}));Re.displayName="TableHead";var ve=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}));ve.displayName="TableCell";var Dt=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("caption",{ref:o,className:r("mt-4 text-sm text-muted-foreground",e),...t}));Dt.displayName="TableCaption";var xr=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($1bf158f521e1b1b4$export$6d08773d2e66f8f2,{ref:o,className:r("border-b",e),...t}));xr.displayName="AccordionItem";var yr=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"}))));yr.displayName=$1bf158f521e1b1b4$export$41fb9f06171c75f4.displayName;var hr=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)));hr.displayName=$1bf158f521e1b1b4$export$7c6e2c02157bb7d2.displayName;var Tr=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"}}),It=React__namespace.forwardRef(({className:e,variant:t,...o},a)=>React__namespace.createElement("div",{ref:a,role:"alert",className:r(Tr({variant:t}),e),...o}));It.displayName="Alert";var Lt=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}));Lt.displayName="AlertTitle";var _t=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("div",{ref:o,className:r("text-sm [&_p]:leading-relaxed",e),...t}));_t.displayName="AlertDescription";var lo=$905f4ae918aab1aa$export$be92b6f5f03c0fe9,co=$905f4ae918aab1aa$export$41fb9f06171c75f4,po=({className:e,...t})=>React__namespace.createElement($905f4ae918aab1aa$export$602eac185826482c,{className:r(e),...t});po.displayName=$905f4ae918aab1aa$export$602eac185826482c.displayName;var fo=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}));fo.displayName=$905f4ae918aab1aa$export$c6fdb837b070b4ff.displayName;var Ot=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement(po,null,React__namespace.createElement(fo,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})));Ot.displayName=$905f4ae918aab1aa$export$7c6e2c02157bb7d2.displayName;var kt=({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});kt.displayName="AlertDialogFooter";var Ft=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($905f4ae918aab1aa$export$f99233281efd08a0,{ref:o,className:r("text-lg font-semibold",e),...t}));Ft.displayName=$905f4ae918aab1aa$export$f99233281efd08a0.displayName;var Er=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($905f4ae918aab1aa$export$393edc798c47379d,{ref:o,className:r("text-sm text-muted-foreground",e),...t}));Er.displayName=$905f4ae918aab1aa$export$393edc798c47379d.displayName;var Ht=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($905f4ae918aab1aa$export$e19cd5f9376f8cee,{ref:o,className:r(Ne(),e),...t}));Ht.displayName=$905f4ae918aab1aa$export$e19cd5f9376f8cee.displayName;var Ar=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($905f4ae918aab1aa$export$848c9b7ead0df967,{ref:o,className:r(Ne({variant:"outline"}),"mt-2 sm:mt-0",e),...t}));Ar.displayName=$905f4ae918aab1aa$export$848c9b7ead0df967.displayName;var Vt=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"}))));Vt.displayName=$e698a72e93240346$export$be92b6f5f03c0fe9.displayName;var uo=({className:e,...t})=>React__namespace.createElement($5d3850c4d0b4e6c7$export$602eac185826482c$1,{className:r(e),...t});uo.displayName=$5d3850c4d0b4e6c7$export$602eac185826482c$1.displayName;var go=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}));go.displayName=$5d3850c4d0b4e6c7$export$c6fdb837b070b4ff$1.displayName;var Ee=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement(uo,null,React__namespace.createElement(go,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")))));Ee.displayName=$5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2$1.displayName;var Or=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}));Or.displayName=$5d3850c4d0b4e6c7$export$f99233281efd08a0.displayName;var kr=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($5d3850c4d0b4e6c7$export$393edc798c47379d,{ref:o,className:r("text-sm text-muted-foreground",e),...t}));kr.displayName=$5d3850c4d0b4e6c7$export$393edc798c47379d.displayName;var Ro=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement(Le,{ref:o,className:r("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",e),...t}));Ro.displayName=Le.displayName;var Hr=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.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})));Hr.displayName=Le.Input.displayName;var Vr=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement(Le.List,{ref:o,className:r("max-h-[300px] overflow-y-auto overflow-x-hidden",e),...t}));Vr.displayName=Le.List.displayName;var Br=React__namespace.forwardRef((e,t)=>React__namespace.createElement(Le.Empty,{ref:t,className:"py-6 text-center text-sm",...e}));Br.displayName=Le.Empty.displayName;var Ur=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement(Le.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}));Ur.displayName=Le.Group.displayName;var Gr=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement(Le.Separator,{ref:o,className:r("-mx-1 h-px bg-border",e),...t}));Gr.displayName=Le.Separator.displayName;var Wr=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement(Le.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}));Wr.displayName=Le.Item.displayName;var Jr=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"})));Jr.displayName=$1b0217ee4a91d156$export$2ea8a7a591ac5eac.displayName;var qr=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}));qr.displayName=$1b0217ee4a91d156$export$6d4de93b380beddf.displayName;var Qr=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})));Qr.displayName=$1b0217ee4a91d156$export$7c6e2c02157bb7d2.displayName;var Kr=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}));Kr.displayName=$1b0217ee4a91d156$export$6d08773d2e66f8f2.displayName;var Xr=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));Xr.displayName=$1b0217ee4a91d156$export$16ce288f89fa631c.displayName;var Zr=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));Zr.displayName=$1b0217ee4a91d156$export$371ab307eab489c0.displayName;var ea=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}));ea.displayName=$1b0217ee4a91d156$export$b04be29aa201d4f5.displayName;var ta=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}));ta.displayName=$1b0217ee4a91d156$export$1ff3c3f08ae963c0.displayName;var na=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"})));na.displayName=$d08ef79370b62062$export$2ea8a7a591ac5eac.displayName;var sa=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}));sa.displayName=$d08ef79370b62062$export$6d4de93b380beddf.displayName;var Bt=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})));Bt.displayName=$d08ef79370b62062$export$7c6e2c02157bb7d2.displayName;var ma=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}));ma.displayName=$d08ef79370b62062$export$6d08773d2e66f8f2.displayName;var la=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));la.displayName=$d08ef79370b62062$export$16ce288f89fa631c.displayName;var ca=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));ca.displayName=$d08ef79370b62062$export$371ab307eab489c0.displayName;var da=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}));da.displayName=$d08ef79370b62062$export$b04be29aa201d4f5.displayName;var pa=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}));pa.displayName=$d08ef79370b62062$export$1ff3c3f08ae963c0.displayName;var ga=cva("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),Gt=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($b73a6c6685e72184$export$be92b6f5f03c0fe9,{ref:o,className:r(ga(),e),...t}));Gt.displayName=$b73a6c6685e72184$export$be92b6f5f03c0fe9.displayName;var yo=React__namespace.createContext({}),nt=()=>{let e=React__namespace.useContext(yo),t=React__namespace.useContext(ho),{getFieldState:o,formState:a}=useFormContext(),i=o(e.name,a);if(!e)throw new Error("useFormField should be used within <FormField>");let{id:s}=t;return {id:s,name:e.name,formItemId:`${s}-form-item`,formDescriptionId:`${s}-form-item-description`,formMessageId:`${s}-form-item-message`,...i}},ho=React__namespace.createContext({}),ae=React__namespace.forwardRef(({className:e,...t},o)=>{let a=React__namespace.useId();return React__namespace.createElement(ho.Provider,{value:{id:a}},React__namespace.createElement("div",{ref:o,className:r("space-y-2",e),...t}))});ae.displayName="FormItem";var pe=React__namespace.forwardRef(({className:e,...t},o)=>{let{error:a,formItemId:i}=nt();return React__namespace.createElement(Gt,{ref:o,className:r(a&&"text-destructive",e),htmlFor:i,...t})});pe.displayName="FormLabel";var ie=React__namespace.forwardRef(({...e},t)=>{let{error:o,formItemId:a,formDescriptionId:i,formMessageId:s}=nt();return React__namespace.createElement($5e63c961fc1ce211$export$8c6ed5c666ac1360$1,{ref:t,id:a,"aria-describedby":o?`${i} ${s}`:`${i}`,"aria-invalid":!!o,...e})});ie.displayName="FormControl";var ya=React__namespace.forwardRef(({className:e,...t},o)=>{let{formDescriptionId:a}=nt();return React__namespace.createElement("p",{ref:o,id:a,className:r("text-[0.8rem] text-muted-foreground",e),...t})});ya.displayName="FormDescription";var xe=React__namespace.forwardRef(({className:e,children:t,...o},a)=>{let{error:i,formMessageId:s}=nt(),x=i?String(i?.message):t;return x?React__namespace.createElement("p",{ref:a,id:s,className:r("text-[0.8rem] font-medium text-destructive",e),...o},x):null});xe.displayName="FormMessage";var ne=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}));ne.displayName="Input";var Na=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}));Na.displayName=$0520064cdfc1bd2d$export$be92b6f5f03c0fe9.displayName;var Ea=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}));Ea.displayName=$0520064cdfc1bd2d$export$41fb9f06171c75f4.displayName;var Aa=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"})));Aa.displayName=$0520064cdfc1bd2d$export$2ea8a7a591ac5eac.displayName;var Ca=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}));Ca.displayName=$0520064cdfc1bd2d$export$6d4de93b380beddf.displayName;var wa=React__namespace.forwardRef(({className:e,align:t="start",alignOffset:o=-4,sideOffset:a=8,...i},s)=>React__namespace.createElement($0520064cdfc1bd2d$export$602eac185826482c,null,React__namespace.createElement($0520064cdfc1bd2d$export$7c6e2c02157bb7d2,{ref:s,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})));wa.displayName=$0520064cdfc1bd2d$export$7c6e2c02157bb7d2.displayName;var Sa=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}));Sa.displayName=$0520064cdfc1bd2d$export$6d08773d2e66f8f2.displayName;var Ma=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));Ma.displayName=$0520064cdfc1bd2d$export$16ce288f89fa631c.displayName;var Da=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));Da.displayName=$0520064cdfc1bd2d$export$371ab307eab489c0.displayName;var Ia=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}));Ia.displayName=$0520064cdfc1bd2d$export$b04be29aa201d4f5.displayName;var La=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}));La.displayName=$0520064cdfc1bd2d$export$1ff3c3f08ae963c0.displayName;var Fa=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(Po,null)));Fa.displayName=$322c88a641701f3b$export$be92b6f5f03c0fe9.displayName;var Ha=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}));Ha.displayName=$322c88a641701f3b$export$54c2e3dc7acea9f5.displayName;var Va=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"),Ba=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($322c88a641701f3b$export$41fb9f06171c75f4,{ref:a,className:r(Va(),"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"})));Ba.displayName=$322c88a641701f3b$export$41fb9f06171c75f4.displayName;var Ua=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}));Ua.displayName=$322c88a641701f3b$export$7c6e2c02157bb7d2.displayName;var Po=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})));Po.displayName=$322c88a641701f3b$export$d5c6c08dc2d3ca7.displayName;var Ga=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"})));Ga.displayName=$322c88a641701f3b$export$adb584737d712b70.displayName;var Wa=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})));Wa.displayName=$cb5cc270b50c6fcd$export$7c6e2c02157bb7d2.displayName;var Ya=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($f99a8c78507165f7$export$be92b6f5f03c0fe9,{className:r("grid gap-2",e),...t,ref:o}));Ya.displayName=$f99a8c78507165f7$export$be92b6f5f03c0fe9.displayName;var $a=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"}))));$a.displayName=$f99a8c78507165f7$export$6d08773d2e66f8f2.displayName;var ja=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(To,null),React__namespace.createElement($57acba87d6e25586$export$ac61190d9fc311a9,null)));ja.displayName=$57acba87d6e25586$export$be92b6f5f03c0fe9.displayName;var To=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 border-t border-t-transparent p-[1px]",e),...o},React__namespace.createElement($57acba87d6e25586$export$9fba1154677d7cd2,{className:"relative flex-1 rounded-full bg-border"})));To.displayName=$57acba87d6e25586$export$2fabd85d0eba3c57.displayName;var $e=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"}))));$e.displayName=$cc7e05a45900e73f$export$41fb9f06171c75f4.displayName;var je=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))));je.displayName=$cc7e05a45900e73f$export$7c6e2c02157bb7d2.displayName;var Qa=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}));Qa.displayName=$cc7e05a45900e73f$export$b04be29aa201d4f5.displayName;var Z=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)));Z.displayName=$cc7e05a45900e73f$export$6d08773d2e66f8f2.displayName;var Ka=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}));Ka.displayName=$cc7e05a45900e73f$export$1ff3c3f08ae963c0.displayName;var Xa=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}));Xa.displayName=$89eedd556c436f6a$export$be92b6f5f03c0fe9.displayName;var Za=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"})));Za.displayName=$faa2e61a3361514f$export$be92b6f5f03c0fe9.displayName;var ei=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")})));ei.displayName=$6be4966fd9bbc698$export$be92b6f5f03c0fe9.displayName;var ti=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}));ti.displayName=$69cb30bb0017df05$export$54c2e3dc7acea9f5.displayName;var oi=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}));oi.displayName=$69cb30bb0017df05$export$41fb9f06171c75f4.displayName;var ri=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}));ri.displayName=$69cb30bb0017df05$export$7c6e2c02157bb7d2.displayName;var zt=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}));zt.displayName="Textarea";var Yt=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}));Yt.displayName=$054eb8030ebde76e$export$d5c6c08dc2d3ca7.displayName;var ni=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"}}),$t=React__namespace.forwardRef(({className:e,variant:t,...o},a)=>React__namespace.createElement($054eb8030ebde76e$export$be92b6f5f03c0fe9,{ref:a,className:r(ni({variant:t}),e),...o}));$t.displayName=$054eb8030ebde76e$export$be92b6f5f03c0fe9.displayName;var si=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}));si.displayName=$054eb8030ebde76e$export$e19cd5f9376f8cee.displayName;var jt=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"})));jt.displayName=$054eb8030ebde76e$export$f39c2d165cd861fe.displayName;var Jt=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}));Jt.displayName=$054eb8030ebde76e$export$f99233281efd08a0.displayName;var qt=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($054eb8030ebde76e$export$393edc798c47379d,{ref:o,className:r("text-sm opacity-90",e),...t}));qt.displayName=$054eb8030ebde76e$export$393edc798c47379d.displayName;var ui=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"}}),gi=React__namespace.forwardRef(({className:e,variant:t,size:o,...a},i)=>React__namespace.createElement($b3bbe2732c13b576$export$be92b6f5f03c0fe9,{ref:i,className:r(ui({variant:t,size:o,className:e})),...a}));gi.displayName=$b3bbe2732c13b576$export$be92b6f5f03c0fe9.displayName;var Zt=(i=>(i.buyer="buyer",i.seller="seller",i.buyerSeller="buyer-seller",i.broker="broker",i))(Zt||{});var n=class n{};n.ESTIMATED_VALUES_HEADER_TITLE="Estimated Values",n.ESTIMATED_VALUES_DIALOG_TITLE="How estimated values work",n.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.",n.ESTIMATED_VALUES_BUTTON_DESCRIPTION="Contact Mortgage Consultant",n.FORM_TITLE="Learn more about my options",n.FORM_DESCRIPTION="Get more insights on how your property valuation",n.FORM_FIRST_NAME_LABEL="First Name *",n.FORM_FIRST_NAME_PLACEHOLDER="Enter First Name",n.FORM_EMAIL_ADDRESS_LABEL="Email Address *",n.FORM_EMAIL_ADDRESS_PLACEHOLDER="Enter Email Adress",n.FORM_LAST_NAME_LABEL="Last Name *",n.FORM_LAST_NAME_PLACEHOLDER="Enter Last Name",n.FORM_PHONE_NUMBER_LABEL="Phone Number *",n.FORM_PHONE_NUMBER_PLACEHOLDER="Enter Phone Number",n.FORM_USER_TYPE_LABEL="I am: *",n.FORM_USER_TYPE_PLACEHOLDER="Please tell us who you are.",n.FORM_AGENT_CHECK_BOX_DESCRIPTION="Are you currently working with a",n.FORM_AGENT_CHECK_BOX_AGENT_TYPE="Agent",n.FORM_AGENT_CHECK_BOX_BROKERAGE_NAME="Percy Realty",n.FORM_AGENT_NAME_PLACEHOLDER="Enter Agent's Name",n.FORM_ACTION_BUTTOM="Submit",n.FIRST_NAME_REQUIRED_VALIDATION_MESSAGE="First Name is required.",n.EMAIL_ADDRESS_REQUIRED_VALIDATION_MESSAGE="Email address is required.",n.EMAIL_ADDRESS_FORMAT_VALIDATION_MESSAGE="Email address format is wrong.",n.LAST_NAME_REQUIRED_VALIDATION_MESSAGE="Last Name is required.",n.PHONE_NUMBER_REQUIRED_VALIDATION_MESSAGE="Phone Number is required.",n.PHONE_NUMBER_FORMAT_VALIDATION_MESSAGE="Phone Number format is wrong.",n.IAM_REQUIRED_VALIDATION_MESSAGE="Please select an option.",n.HOME_ADDRESS_REQUIRED_VALIDATION_MESSAGE="Home Address is required.",n.ON_ERROR_OCCURRED="An error occurred while submitting the form. Please try again.",n.BUYER="A Buyer",n.SELLER="A Seller",n.BUYER_SELLER="A Buyer and Seller",n.BROKER="A Broker/Agent",n.PERIOD_1="Immediately",n.PERIOD_2="1 to 3 Months",n.PERIOD_3="3 to 6 Months",n.PERIOD_4="6 to 12 Months",n.PERIOD_5="12+ Months",n.DYNAMIC_VALUES_BUYER_MESSAGE_LABEL="Message",n.DYNAMIC_VALUES_BUYER_MESSAGE_PLACEHOLDER="Hello, I am interested in learning more about this property.",n.DYNAMIC_VALUES_BROKER_MESSAGE_PLACEHOLDER="Hello, I am interested in learning more about this buyer.",n.DYNAMIC_VALUES_SELLER_HOME_ADDRESS_LABEL="Home Address *",n.DYNAMIC_VALUES_SELLER_HOME_ADDRESS_PLACEHOLDER="Enter Home Address",n.DYNAMIC_VALUES_SELLER_APROXIMATE_VALUE_LABEL="Property's Approximate Value",n.DYNAMIC_VALUES_SELLER_TIME_FOR_SELLING_LABEL="Time Frame for Selling",n.DYNAMIC_VALUES_SELLER_TIME_FOR_SELLING_PLACEHOLDER="Please select a time frame",n.sellerBuyerSharedContent=[{label:n.DYNAMIC_VALUES_SELLER_HOME_ADDRESS_LABEL,type:"text",placeholder:n.DYNAMIC_VALUES_SELLER_HOME_ADDRESS_PLACEHOLDER},{label:n.DYNAMIC_VALUES_SELLER_APROXIMATE_VALUE_LABEL,type:"number",placeholder:""},{label:n.DYNAMIC_VALUES_SELLER_TIME_FOR_SELLING_LABEL,type:"select",placeholder:n.DYNAMIC_VALUES_SELLER_TIME_FOR_SELLING_PLACEHOLDER}],n.DYNAMIC_VALUES={buyer:[{label:n.DYNAMIC_VALUES_BUYER_MESSAGE_LABEL,type:"textarea",placeholder:n.DYNAMIC_VALUES_BUYER_MESSAGE_PLACEHOLDER}],seller:n.sellerBuyerSharedContent,"buyer-seller":n.sellerBuyerSharedContent,broker:[{label:n.DYNAMIC_VALUES_BUYER_MESSAGE_LABEL,type:"textarea",placeholder:n.DYNAMIC_VALUES_BROKER_MESSAGE_PLACEHOLDER}]};var l=n;function Ke({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"}))}Ke.displayName="Spinner";var Li=nativeEnumType(Zt,{required_error:l.IAM_REQUIRED_VALIDATION_MESSAGE});objectType({firstName:stringType().min(2,{message:l.FIRST_NAME_REQUIRED_VALIDATION_MESSAGE}),emailAdress:stringType({required_error:l.EMAIL_ADDRESS_REQUIRED_VALIDATION_MESSAGE}).email({message:l.EMAIL_ADDRESS_FORMAT_VALIDATION_MESSAGE}),lastName:stringType().min(2,{message:l.LAST_NAME_REQUIRED_VALIDATION_MESSAGE}),phoneNumber:stringType().min(2,{message:l.PHONE_NUMBER_REQUIRED_VALIDATION_MESSAGE}),iam:Li,agent:booleanType().optional(),agentName:stringType().optional(),dynamicValues:arrayType(objectType({homeAddress:stringType().min(2,{message:l.HOME_ADDRESS_REQUIRED_VALIDATION_MESSAGE}).optional(),value:stringType().optional()})).optional()});function yt({children:e}){return React__namespace.createElement("div",{className:r("flex justify-center w-full")},e)}var R=class{static EQUITY_MORTGAGE_DETAILS_BANNER_DESCRIPTION(t,o,a,i,s){return `Public records show a ${t} year loan at ${o} for ${a} from ${i}, giving you an estimated loan balance of ${s}. 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}.`}};R.ACTION_OK_BUTTON_LABEL="OK",R.DESCRIPTION_YEARS_LABEL="Years",R.NO_DATA_AVAILABLE_LABEL="No Data Available",R.CONFIGURATION_ERROR_LABEL="Configuration Error",R.CONFIGURATION_ERROR_KEY_EXPIRED_LABEL="Key is expired",R.EQUITY_MORTGAGE_DETAILS_HEADER_TITLE="Equity In Your Home",R.EQUITY_MORTGAGE_DETAILS_DESCRIPTION="Equity is your home's worth to you!",R.EQUITY_MORTGAGE_DETAILS_EDIT_DETAILS="Edit Details",R.EQUITY_MORTGAGE_DETAILS_ALL_GOOD_BUTTON="All Good",R.EQUITY_MORTGAGE_DETAILS_BANNER_TITLE="Verify Your Mortgage Details",R.EQUITY_MORTGAGE_DETAILS_TITLE="Estimated Equity Today",R.EQUITY_MORTGAGE_DETAILS_HOW_CALCULATED="How is this calculated?",R.EQUITY_MORTGAGE_DETAILS_ACTION_BUTTON_LABEL="Which option is best for me?",R.EQUITY_MORTGAGE_DETAILS_DISCLAIMER="Disclaimer",R.EDIT_MORTGAGE_DETAILS_FORM_TITLE="Edit Mortgage Info",R.EDIT_MORTGAGE_DETAILS_LOAN_START_DATE_LABEL="Loan Start Date",R.EDIT_MORTGAGE_DETAILS_LOAN_TERM_LABEL="Loan Term",R.EDIT_MORTGAGE_DETAILS_INTEREST_RATE_LABEL="Interest Rate",R.EDIT_MORTGAGE_DETAILS_ORIGINAL_LOAN_AMOUNT_LABEL="Original Loan Amount",R.EDIT_MORTGAGE_DETAILS_BALANCE_LABEL="Estimated Mortgage Balance",R.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.",R.HOW_CALCULATE_TITLE="How Is My Net Worth Calculated?",R.HOW_CALCULATE_DESCRIPTION='Your net worth ("equity") is made up of two things.',R.HOW_CALCULATE_HOME_VALUE_LABEL="Home Value",R.HOW_CALCULATE_LOAN_BALANCE_LABEL="Loan Balance",R.HOW_CALCULATE_YOUR_NET_WORTH_LABEL="Your Net Worth",R.HOW_CALCULATE_INFORMATION_SUBTITLE="Where does this information come from?",R.HOW_CALCULATE_NOTE_DESCRIPTION="Note: Only the first lien mortgage and resale are used to calculate the balance of your loan.";function Go({trigger:e,content:t,title:o,asChild:a=!1,actionButtomLabel:i=R.ACTION_OK_BUTTON_LABEL}){return React__namespace.createElement(lo,null,React__namespace.createElement(co,{asChild:a},e),React__namespace.createElement(Ot,{className:r("flex flex-col gap-2 p-6","h-screen lg:h-auto md:h-auto overflow-y-auto")},o&&React__namespace.createElement(Ft,null,o),t,React__namespace.createElement(kt,null,React__namespace.createElement(Ht,null,i))))}function Wo({title:e,infoTitle:t,icon:o,infoDescription:a,titleDescription:i}){let s=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-2")},React__namespace.createElement("div",{className:r("flex flex-col items-center bg-slate-50 rounded-[100px] p-2")},s),React__namespace.createElement("h3",{className:r("font-semibold leading-8 text-xl md:text-2xl lg:text-2xl text-gray-700")},e),React__namespace.createElement(Go,{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 ht({icon:e,infoDescription:t,title:o,titleDescription:a,infoTitle:i,actions:s}){return React__namespace.createElement("div",{className:r("flex flex-row justify-between items-stretch")},React__namespace.createElement(Wo,{title:o,titleDescription:a,infoTitle:i,icon:e,infoDescription:t}),s&&s)}var Jo=({clientKey:e,apiKey:t})=>{let[o,a]=React__namespace.useState(!1),[i,s]=React__namespace.useState(),x=React__namespace.useCallback(async g=>{let{url:f,requestInit:m}=g,{headers:N,...z}=m??{},C=i;i?.token||(C=await ro({clientKey:e}));let J={"Content-Type":"application/json",...C?.token&&{Authorization:`Bearer ${C?.token}`},...t&&{"x-api-key":e},...N},q=await fetch(f,{headers:J,...z});try{a(!0);let E=await q.json();return a(!1),s(C),E}catch(E){console.error(`Error requesting ${f}`,E),a(!1);return}},[i,e,t]);return {isLoading:o,tokens:i,request:x}};var qo="AIzaSyCDNlq-LeVQGoubUXL_a8p6LYPXR5Bjs_Q";function zi({apiKey:e,mapOptions:t,geoJsonLayerInput:o,markers:a,markersIcon:i,markerEvents:s}){let x=React__namespace.useRef(null),[g,f]=React__namespace.useState(null),[m,N]=React__namespace.useState(!1);React__namespace.useEffect(()=>{x.current&&new Loader({apiKey:e??qo}).importLibrary("maps").then(()=>{t.center||(t.center={lat:39.8283,lng:-98.5795}),x.current&&z(x.current,t);});},[]);let z=(E,G)=>{f(new window.google.maps.Map(E,G)),o&&q(o),J(a),N(!0);},C=(E,G)=>{g&&(g.setCenter(E),g.setZoom(G));},J=E=>{if(!g||!E)return;let G=new google.maps.LatLngBounds;E.forEach((I,u)=>{G.extend(new google.maps.LatLng(I.lat,I.lng));let y=new google.maps.Marker({position:{lat:I.lat,lng:I.lng},map:g,icon:I.icon??i,label:I.label});s&&s(u,y);}),g.setCenter(G.getCenter()),g.setZoom(3);},q=({center:E,geoJson:G})=>{if(!g||!G)return;E&&(g.setCenter(E),new window.google.maps.Marker({position:E,map:g}));let I=new window.google.maps.Data;I.addGeoJson(G),I.setStyle(u=>({fillColor:u.getProperty("color")??"#FFFFCC",strokeWeight:1,fillOpacity:.5,strokeColor:"white"})),I.setMap(g);};return {mapRef:x,setGeojson:q,setMarkers:J,zoomHandler:C,isMapReady:m}}var Qo=zi;var Ko=["#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],Xo="https://api.liberty.percyai.io/location/v1/heatmap";function Zo(){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")},Ko.map((e,t)=>React__namespace.createElement("div",{key:t,className:r("w-4 h-4"),style:{backgroundColor:e}})))))}function yd({zipcode:e,url:t=Xo,zoomLevel:o=10,zoomControl:a=!0,googleApiKey:i,clientKey:s,apiKey:x,height:g="420px"}){let{request:f,isLoading:m,tokens:N}=Jo({clientKey:s,apiKey:x}),z=React__namespace.useMemo(()=>({zoom:o,draggable:!1,scrollwheel:!1,fullscreenControl:!1,gestureHandling:"none",zoomControl:a,mapId:""}),[o,a]),{mapRef:C,setGeojson:J,isMapReady:q}=Qo({mapOptions:z,apiKey:i});return React__namespace.useEffect(()=>{let E=!0;async function G(){let I=ao(N?.meta,"color");if(e&&t&&E&&!N?.token){let u=new URL(t);u.searchParams.set("zipcode",e),I?.value&&u.searchParams.set("colors",I?.value);try{let y=await f({url:u.toString()});y&&E&&J(y.data);}catch(y){console.error("Error fetching heatmap data:",y);}}}return q&&G(),()=>{E=!1;}},[s,x,N,e,t,f,q]),React__namespace.createElement("div",{className:r("flex flex-col bg-white")},React__namespace.createElement(ht,{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(yt,null,React__namespace.createElement("div",{className:"relative w-full aspect-video rounded-md overflow-hidden",style:{height:g}},React__namespace.createElement("div",{ref:C,className:r("min-h-full w-full")}),React__namespace.createElement(Zo,null),m&&React__namespace.createElement("div",{className:r("absolute inset-0 flex items-center justify-center")},React__namespace.createElement(Ke,null)))))}
|
|
35214
|
+
function r(...e){return twMerge(clsx(e))}var wr="https://api-dev.liberty.percyai.io/key_service/v1/jwt/generate";var _t=async({clientKey:e})=>{try{return e?await(await fetch(wr,{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 he=(e,t)=>e?.config?e.config.find(o=>o.name===t):{};var Me=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"}}),te=React__namespace.forwardRef(({className:e,variant:t,size:o,asChild:a=!1,...i},s)=>React__namespace.createElement(a?$5e63c961fc1ce211$export$8c6ed5c666ac1360$1:"button",{className:r(Me({variant:t,size:o,className:e})),ref:s,...i}));te.displayName="Button";var ze=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}));ze.displayName="Card";var Ye=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}));Ye.displayName="CardHeader";var Ot=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("h3",{ref:o,className:r("font-semibold leading-none tracking-tight",e),...t}));Ot.displayName="CardTitle";var Dr=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("p",{ref:o,className:r("text-sm text-muted-foreground",e),...t}));Dr.displayName="CardDescription";var $e=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("div",{ref:o,className:r("p-6 pt-0",e),...t}));$e.displayName="CardContent";var je=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("div",{ref:o,className:r("flex items-center p-6 pt-0",e),...t}));je.displayName="CardFooter";var kt=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}));kt.displayName=$cddcb0b647441e34$export$be92b6f5f03c0fe9.displayName;var Lr=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}));Lr.displayName=$cddcb0b647441e34$export$3e431a229df88919.displayName;var Ft=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}));Ft.displayName=$cddcb0b647441e34$export$fb8d7f40caaeea67.displayName;var Ht=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)}%)`}})));Ht.displayName=$67824d98245208a0$export$be92b6f5f03c0fe9.displayName;var Qe=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}));Qe.displayName=$a093c7e1ec25a057$export$7c6e2c02157bb7d2.displayName;var Eo=({className:e,...t})=>React__namespace.createElement($5d3850c4d0b4e6c7$export$602eac185826482c$1,{className:r(e),...t});Eo.displayName=$5d3850c4d0b4e6c7$export$602eac185826482c$1.displayName;var Ao=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}));Ao.displayName=$5d3850c4d0b4e6c7$export$c6fdb837b070b4ff$1.displayName;var Fr=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"}}),Hr=React__namespace.forwardRef(({side:e="right",className:t,children:o,...a},i)=>React__namespace.createElement(Eo,null,React__namespace.createElement(Ao,null),React__namespace.createElement($5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2$1,{ref:i,className:r(Fr({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")))));Hr.displayName=$5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2$1.displayName;var Ur=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}));Ur.displayName=$5d3850c4d0b4e6c7$export$f99233281efd08a0.displayName;var Gr=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($5d3850c4d0b4e6c7$export$393edc798c47379d,{ref:o,className:r("text-sm text-muted-foreground",e),...t}));Gr.displayName=$5d3850c4d0b4e6c7$export$393edc798c47379d.displayName;var Vt=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})));Vt.displayName="Table";var Bt=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("thead",{ref:o,className:r("[&_tr]:border-b",e),...t}));Bt.displayName="TableHeader";var Ut=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("tbody",{ref:o,className:r("[&_tr:last-child]:border-0",e),...t}));Ut.displayName="TableBody";var Gt=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("tfoot",{ref:o,className:r("bg-primary font-medium text-primary-foreground",e),...t}));Gt.displayName="TableFooter";var Ke=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}));Ke.displayName="TableRow";var Pe=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}));Pe.displayName="TableHead";var Te=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}));Te.displayName="TableCell";var Wt=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("caption",{ref:o,className:r("mt-4 text-sm text-muted-foreground",e),...t}));Wt.displayName="TableCaption";var zr=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($1bf158f521e1b1b4$export$6d08773d2e66f8f2,{ref:o,className:r("border-b",e),...t}));zr.displayName="AccordionItem";var Yr=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"}))));Yr.displayName=$1bf158f521e1b1b4$export$41fb9f06171c75f4.displayName;var $r=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)));$r.displayName=$1bf158f521e1b1b4$export$7c6e2c02157bb7d2.displayName;var Jr=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"}}),zt=React__namespace.forwardRef(({className:e,variant:t,...o},a)=>React__namespace.createElement("div",{ref:a,role:"alert",className:r(Jr({variant:t}),e),...o}));zt.displayName="Alert";var Yt=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}));Yt.displayName="AlertTitle";var $t=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement("div",{ref:o,className:r("text-sm [&_p]:leading-relaxed",e),...t}));$t.displayName="AlertDescription";var Co=$905f4ae918aab1aa$export$be92b6f5f03c0fe9,wo=$905f4ae918aab1aa$export$41fb9f06171c75f4,So=({className:e,...t})=>React__namespace.createElement($905f4ae918aab1aa$export$602eac185826482c,{className:r(e),...t});So.displayName=$905f4ae918aab1aa$export$602eac185826482c.displayName;var Mo=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}));Mo.displayName=$905f4ae918aab1aa$export$c6fdb837b070b4ff.displayName;var jt=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement(So,null,React__namespace.createElement(Mo,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})));jt.displayName=$905f4ae918aab1aa$export$7c6e2c02157bb7d2.displayName;var Jt=({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});Jt.displayName="AlertDialogFooter";var qt=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($905f4ae918aab1aa$export$f99233281efd08a0,{ref:o,className:r("text-lg font-semibold",e),...t}));qt.displayName=$905f4ae918aab1aa$export$f99233281efd08a0.displayName;var Qr=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($905f4ae918aab1aa$export$393edc798c47379d,{ref:o,className:r("text-sm text-muted-foreground",e),...t}));Qr.displayName=$905f4ae918aab1aa$export$393edc798c47379d.displayName;var Qt=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($905f4ae918aab1aa$export$e19cd5f9376f8cee,{ref:o,className:r(Me(),e),...t}));Qt.displayName=$905f4ae918aab1aa$export$e19cd5f9376f8cee.displayName;var Kr=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($905f4ae918aab1aa$export$848c9b7ead0df967,{ref:o,className:r(Me({variant:"outline"}),"mt-2 sm:mt-0",e),...t}));Kr.displayName=$905f4ae918aab1aa$export$848c9b7ead0df967.displayName;var Kt=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"}))));Kt.displayName=$e698a72e93240346$export$be92b6f5f03c0fe9.displayName;var Do=({className:e,...t})=>React__namespace.createElement($5d3850c4d0b4e6c7$export$602eac185826482c$1,{className:r(e),...t});Do.displayName=$5d3850c4d0b4e6c7$export$602eac185826482c$1.displayName;var Lo=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}));Lo.displayName=$5d3850c4d0b4e6c7$export$c6fdb837b070b4ff$1.displayName;var De=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement(Do,null,React__namespace.createElement(Lo,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")))));De.displayName=$5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2$1.displayName;var eo=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}));eo.displayName=$5d3850c4d0b4e6c7$export$f99233281efd08a0.displayName;var to=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($5d3850c4d0b4e6c7$export$393edc798c47379d,{ref:o,className:r("text-sm text-muted-foreground",e),...t}));to.displayName=$5d3850c4d0b4e6c7$export$393edc798c47379d.displayName;var Io=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement(Le,{ref:o,className:r("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",e),...t}));Io.displayName=Le.displayName;var ia=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.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})));ia.displayName=Le.Input.displayName;var na=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement(Le.List,{ref:o,className:r("max-h-[300px] overflow-y-auto overflow-x-hidden",e),...t}));na.displayName=Le.List.displayName;var sa=React__namespace.forwardRef((e,t)=>React__namespace.createElement(Le.Empty,{ref:t,className:"py-6 text-center text-sm",...e}));sa.displayName=Le.Empty.displayName;var ma=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement(Le.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}));ma.displayName=Le.Group.displayName;var la=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement(Le.Separator,{ref:o,className:r("-mx-1 h-px bg-border",e),...t}));la.displayName=Le.Separator.displayName;var ca=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement(Le.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}));ca.displayName=Le.Item.displayName;var ga=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"})));ga.displayName=$1b0217ee4a91d156$export$2ea8a7a591ac5eac.displayName;var Ra=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}));Ra.displayName=$1b0217ee4a91d156$export$6d4de93b380beddf.displayName;var va=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})));va.displayName=$1b0217ee4a91d156$export$7c6e2c02157bb7d2.displayName;var ba=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}));ba.displayName=$1b0217ee4a91d156$export$6d08773d2e66f8f2.displayName;var xa=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));xa.displayName=$1b0217ee4a91d156$export$16ce288f89fa631c.displayName;var ha=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));ha.displayName=$1b0217ee4a91d156$export$371ab307eab489c0.displayName;var ya=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}));ya.displayName=$1b0217ee4a91d156$export$b04be29aa201d4f5.displayName;var Pa=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}));Pa.displayName=$1b0217ee4a91d156$export$1ff3c3f08ae963c0.displayName;var Ca=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"})));Ca.displayName=$d08ef79370b62062$export$2ea8a7a591ac5eac.displayName;var wa=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}));wa.displayName=$d08ef79370b62062$export$6d4de93b380beddf.displayName;var oo=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})));oo.displayName=$d08ef79370b62062$export$7c6e2c02157bb7d2.displayName;var Sa=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}));Sa.displayName=$d08ef79370b62062$export$6d08773d2e66f8f2.displayName;var Ma=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));Ma.displayName=$d08ef79370b62062$export$16ce288f89fa631c.displayName;var Da=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));Da.displayName=$d08ef79370b62062$export$371ab307eab489c0.displayName;var La=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}));La.displayName=$d08ef79370b62062$export$b04be29aa201d4f5.displayName;var Ia=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}));Ia.displayName=$d08ef79370b62062$export$1ff3c3f08ae963c0.displayName;var ka=cva("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),ao=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($b73a6c6685e72184$export$be92b6f5f03c0fe9,{ref:o,className:r(ka(),e),...t}));ao.displayName=$b73a6c6685e72184$export$be92b6f5f03c0fe9.displayName;var Fo=React__namespace.createContext({}),gt=()=>{let e=React__namespace.useContext(Fo),t=React__namespace.useContext(Ho),{getFieldState:o,formState:a}=useFormContext(),i=o(e.name,a);if(!e)throw new Error("useFormField should be used within <FormField>");let{id:s}=t;return {id:s,name:e.name,formItemId:`${s}-form-item`,formDescriptionId:`${s}-form-item-description`,formMessageId:`${s}-form-item-message`,...i}},Ho=React__namespace.createContext({}),ne=React__namespace.forwardRef(({className:e,...t},o)=>{let a=React__namespace.useId();return React__namespace.createElement(Ho.Provider,{value:{id:a}},React__namespace.createElement("div",{ref:o,className:r("space-y-2",e),...t}))});ne.displayName="FormItem";var ue=React__namespace.forwardRef(({className:e,...t},o)=>{let{error:a,formItemId:i}=gt();return React__namespace.createElement(ao,{ref:o,className:r(a&&"text-destructive",e),htmlFor:i,...t})});ue.displayName="FormLabel";var se=React__namespace.forwardRef(({...e},t)=>{let{error:o,formItemId:a,formDescriptionId:i,formMessageId:s}=gt();return React__namespace.createElement($5e63c961fc1ce211$export$8c6ed5c666ac1360$1,{ref:t,id:a,"aria-describedby":o?`${i} ${s}`:`${i}`,"aria-invalid":!!o,...e})});se.displayName="FormControl";var Ua=React__namespace.forwardRef(({className:e,...t},o)=>{let{formDescriptionId:a}=gt();return React__namespace.createElement("p",{ref:o,id:a,className:r("text-[0.8rem] text-muted-foreground",e),...t})});Ua.displayName="FormDescription";var Ee=React__namespace.forwardRef(({className:e,children:t,...o},a)=>{let{error:i,formMessageId:s}=gt(),R=i?String(i?.message):t;return R?React__namespace.createElement("p",{ref:a,id:s,className:r("text-[0.8rem] font-medium text-destructive",e),...o},R):null});Ee.displayName="FormMessage";var me=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}));me.displayName="Input";var Ya=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}));Ya.displayName=$0520064cdfc1bd2d$export$be92b6f5f03c0fe9.displayName;var $a=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}));$a.displayName=$0520064cdfc1bd2d$export$41fb9f06171c75f4.displayName;var ja=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"})));ja.displayName=$0520064cdfc1bd2d$export$2ea8a7a591ac5eac.displayName;var Ja=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}));Ja.displayName=$0520064cdfc1bd2d$export$6d4de93b380beddf.displayName;var qa=React__namespace.forwardRef(({className:e,align:t="start",alignOffset:o=-4,sideOffset:a=8,...i},s)=>React__namespace.createElement($0520064cdfc1bd2d$export$602eac185826482c,null,React__namespace.createElement($0520064cdfc1bd2d$export$7c6e2c02157bb7d2,{ref:s,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})));qa.displayName=$0520064cdfc1bd2d$export$7c6e2c02157bb7d2.displayName;var Qa=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}));Qa.displayName=$0520064cdfc1bd2d$export$6d08773d2e66f8f2.displayName;var Ka=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));Ka.displayName=$0520064cdfc1bd2d$export$16ce288f89fa631c.displayName;var Xa=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));Xa.displayName=$0520064cdfc1bd2d$export$371ab307eab489c0.displayName;var Za=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}));Za.displayName=$0520064cdfc1bd2d$export$b04be29aa201d4f5.displayName;var ei=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}));ei.displayName=$0520064cdfc1bd2d$export$1ff3c3f08ae963c0.displayName;var ai=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(Vo,null)));ai.displayName=$322c88a641701f3b$export$be92b6f5f03c0fe9.displayName;var ii=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}));ii.displayName=$322c88a641701f3b$export$54c2e3dc7acea9f5.displayName;var ni=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"),si=React__namespace.forwardRef(({className:e,children:t,...o},a)=>React__namespace.createElement($322c88a641701f3b$export$41fb9f06171c75f4,{ref:a,className:r(ni(),"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"})));si.displayName=$322c88a641701f3b$export$41fb9f06171c75f4.displayName;var mi=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}));mi.displayName=$322c88a641701f3b$export$7c6e2c02157bb7d2.displayName;var Vo=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})));Vo.displayName=$322c88a641701f3b$export$d5c6c08dc2d3ca7.displayName;var li=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"})));li.displayName=$322c88a641701f3b$export$adb584737d712b70.displayName;var ci=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})));ci.displayName=$cb5cc270b50c6fcd$export$7c6e2c02157bb7d2.displayName;var pi=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($f99a8c78507165f7$export$be92b6f5f03c0fe9,{className:r("grid gap-2",e),...t,ref:o}));pi.displayName=$f99a8c78507165f7$export$be92b6f5f03c0fe9.displayName;var fi=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"}))));fi.displayName=$f99a8c78507165f7$export$6d08773d2e66f8f2.displayName;var ui=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(Bo,null),React__namespace.createElement($57acba87d6e25586$export$ac61190d9fc311a9,null)));ui.displayName=$57acba87d6e25586$export$be92b6f5f03c0fe9.displayName;var Bo=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"})));Bo.displayName=$57acba87d6e25586$export$2fabd85d0eba3c57.displayName;var et=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"}))));et.displayName=$cc7e05a45900e73f$export$41fb9f06171c75f4.displayName;var tt=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))));tt.displayName=$cc7e05a45900e73f$export$7c6e2c02157bb7d2.displayName;var vi=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}));vi.displayName=$cc7e05a45900e73f$export$b04be29aa201d4f5.displayName;var ee=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)));ee.displayName=$cc7e05a45900e73f$export$6d08773d2e66f8f2.displayName;var bi=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}));bi.displayName=$cc7e05a45900e73f$export$1ff3c3f08ae963c0.displayName;var xi=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}));xi.displayName=$89eedd556c436f6a$export$be92b6f5f03c0fe9.displayName;var hi=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"})));hi.displayName=$faa2e61a3361514f$export$be92b6f5f03c0fe9.displayName;var yi=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")})));yi.displayName=$6be4966fd9bbc698$export$be92b6f5f03c0fe9.displayName;var Pi=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}));Pi.displayName=$69cb30bb0017df05$export$54c2e3dc7acea9f5.displayName;var Ti=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}));Ti.displayName=$69cb30bb0017df05$export$41fb9f06171c75f4.displayName;var Ni=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}));Ni.displayName=$69cb30bb0017df05$export$7c6e2c02157bb7d2.displayName;var no=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}));no.displayName="Textarea";var so=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}));so.displayName=$054eb8030ebde76e$export$d5c6c08dc2d3ca7.displayName;var Ci=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"}}),mo=React__namespace.forwardRef(({className:e,variant:t,...o},a)=>React__namespace.createElement($054eb8030ebde76e$export$be92b6f5f03c0fe9,{ref:a,className:r(Ci({variant:t}),e),...o}));mo.displayName=$054eb8030ebde76e$export$be92b6f5f03c0fe9.displayName;var wi=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}));wi.displayName=$054eb8030ebde76e$export$e19cd5f9376f8cee.displayName;var lo=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"})));lo.displayName=$054eb8030ebde76e$export$f39c2d165cd861fe.displayName;var co=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}));co.displayName=$054eb8030ebde76e$export$f99233281efd08a0.displayName;var po=React__namespace.forwardRef(({className:e,...t},o)=>React__namespace.createElement($054eb8030ebde76e$export$393edc798c47379d,{ref:o,className:r("text-sm opacity-90",e),...t}));po.displayName=$054eb8030ebde76e$export$393edc798c47379d.displayName;var Oi=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(Oi({variant:t,size:o,className:e})),...a}));ki.displayName=$b3bbe2732c13b576$export$be92b6f5f03c0fe9.displayName;var Ro=(i=>(i.buyer="buyer",i.seller="seller",i.buyerSeller="buyer-seller",i.broker="broker",i))(Ro||{});var n=class n{};n.ESTIMATES_ENDPOINT_URL="https://api-dev.liberty.percyai.io/property/v1/estimates",n.ESTIMATED_VALUES_HEADER_TITLE="Estimated Values",n.ESTIMATED_VALUES_DIALOG_TITLE="How estimated values work",n.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.",n.ESTIMATED_VALUES_BUTTON_DESCRIPTION="Contact Mortgage Consultant",n.FORM_TITLE="Learn more about my options",n.FORM_DESCRIPTION="Get more insights on how your property valuation",n.FORM_FIRST_NAME_LABEL="First Name *",n.FORM_FIRST_NAME_PLACEHOLDER="Enter First Name",n.FORM_EMAIL_ADDRESS_LABEL="Email Address *",n.FORM_EMAIL_ADDRESS_PLACEHOLDER="Enter Email Adress",n.FORM_LAST_NAME_LABEL="Last Name *",n.FORM_LAST_NAME_PLACEHOLDER="Enter Last Name",n.FORM_PHONE_NUMBER_LABEL="Phone Number *",n.FORM_PHONE_NUMBER_PLACEHOLDER="Enter Phone Number",n.FORM_USER_TYPE_LABEL="I am: *",n.FORM_USER_TYPE_PLACEHOLDER="Please tell us who you are.",n.FORM_AGENT_CHECK_BOX_DESCRIPTION="Are you currently working with a",n.FORM_AGENT_CHECK_BOX_AGENT_TYPE="Agent",n.FORM_AGENT_CHECK_BOX_BROKERAGE_NAME="Percy Realty",n.FORM_AGENT_NAME_PLACEHOLDER="Enter Agent's Name",n.FORM_ACTION_BUTTOM="Submit",n.FIRST_NAME_REQUIRED_VALIDATION_MESSAGE="First Name is required.",n.EMAIL_ADDRESS_REQUIRED_VALIDATION_MESSAGE="Email address is required.",n.EMAIL_ADDRESS_FORMAT_VALIDATION_MESSAGE="Email address format is wrong.",n.LAST_NAME_REQUIRED_VALIDATION_MESSAGE="Last Name is required.",n.PHONE_NUMBER_REQUIRED_VALIDATION_MESSAGE="Phone Number is required.",n.PHONE_NUMBER_FORMAT_VALIDATION_MESSAGE="Phone Number format is wrong.",n.IAM_REQUIRED_VALIDATION_MESSAGE="Please select an option.",n.HOME_ADDRESS_REQUIRED_VALIDATION_MESSAGE="Home Address is required.",n.ON_ERROR_OCCURRED="An error occurred while submitting the form. Please try again.",n.BUYER="A Buyer",n.SELLER="A Seller",n.BUYER_SELLER="A Buyer and Seller",n.BROKER="A Broker/Agent",n.PERIOD_1="Immediately",n.PERIOD_2="1 to 3 Months",n.PERIOD_3="3 to 6 Months",n.PERIOD_4="6 to 12 Months",n.PERIOD_5="12+ Months",n.DYNAMIC_VALUES_BUYER_MESSAGE_LABEL="Message",n.DYNAMIC_VALUES_BUYER_MESSAGE_PLACEHOLDER="Hello, I am interested in learning more about this property.",n.DYNAMIC_VALUES_BROKER_MESSAGE_PLACEHOLDER="Hello, I am interested in learning more about this buyer.",n.DYNAMIC_VALUES_SELLER_HOME_ADDRESS_LABEL="Home Address *",n.DYNAMIC_VALUES_SELLER_HOME_ADDRESS_PLACEHOLDER="Enter Home Address",n.DYNAMIC_VALUES_SELLER_APROXIMATE_VALUE_LABEL="Property's Approximate Value",n.DYNAMIC_VALUES_SELLER_TIME_FOR_SELLING_LABEL="Time Frame for Selling",n.DYNAMIC_VALUES_SELLER_TIME_FOR_SELLING_PLACEHOLDER="Please select a time frame",n.sellerBuyerSharedContent=[{label:n.DYNAMIC_VALUES_SELLER_HOME_ADDRESS_LABEL,type:"text",placeholder:n.DYNAMIC_VALUES_SELLER_HOME_ADDRESS_PLACEHOLDER},{label:n.DYNAMIC_VALUES_SELLER_APROXIMATE_VALUE_LABEL,type:"number",placeholder:""},{label:n.DYNAMIC_VALUES_SELLER_TIME_FOR_SELLING_LABEL,type:"select",placeholder:n.DYNAMIC_VALUES_SELLER_TIME_FOR_SELLING_PLACEHOLDER}],n.DYNAMIC_VALUES={buyer:[{label:n.DYNAMIC_VALUES_BUYER_MESSAGE_LABEL,type:"textarea",placeholder:n.DYNAMIC_VALUES_BUYER_MESSAGE_PLACEHOLDER}],seller:n.sellerBuyerSharedContent,"buyer-seller":n.sellerBuyerSharedContent,broker:[{label:n.DYNAMIC_VALUES_BUYER_MESSAGE_LABEL,type:"textarea",placeholder:n.DYNAMIC_VALUES_BROKER_MESSAGE_PLACEHOLDER}]};var l=n;function nt({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"}))}nt.displayName="Spinner";var en=nativeEnumType(Ro,{required_error:l.IAM_REQUIRED_VALIDATION_MESSAGE});objectType({firstName:stringType().min(2,{message:l.FIRST_NAME_REQUIRED_VALIDATION_MESSAGE}),emailAdress:stringType({required_error:l.EMAIL_ADDRESS_REQUIRED_VALIDATION_MESSAGE}).email({message:l.EMAIL_ADDRESS_FORMAT_VALIDATION_MESSAGE}),lastName:stringType().min(2,{message:l.LAST_NAME_REQUIRED_VALIDATION_MESSAGE}),phoneNumber:stringType().min(2,{message:l.PHONE_NUMBER_REQUIRED_VALIDATION_MESSAGE}),iam:en,agent:booleanType().optional(),agentName:stringType().optional(),dynamicValues:arrayType(objectType({homeAddress:stringType().min(2,{message:l.HOME_ADDRESS_REQUIRED_VALIDATION_MESSAGE}).optional(),value:stringType().optional()})).optional()});var v=class{static EQUITY_MORTGAGE_DETAILS_BANNER_DESCRIPTION(t,o,a,i,s){return `Public records show a ${t} year loan at ${o} for ${a} from ${i}, giving you an estimated loan balance of ${s}. 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}.`}};v.ACTION_OK_BUTTON_LABEL="OK",v.DESCRIPTION_YEARS_LABEL="Years",v.NO_DATA_AVAILABLE_LABEL="No Data Available",v.CONFIGURATION_ERROR_LABEL="Configuration Error",v.CONFIGURATION_ERROR_KEY_EXPIRED_LABEL="Key is expired",v.EQUITY_MORTGAGE_DETAILS_HEADER_TITLE="Equity In Your Home",v.EQUITY_MORTGAGE_DETAILS_DESCRIPTION="Equity is your home's worth to you!",v.EQUITY_MORTGAGE_DETAILS_EDIT_DETAILS="Edit Details",v.EQUITY_MORTGAGE_DETAILS_ALL_GOOD_BUTTON="All Good",v.EQUITY_MORTGAGE_DETAILS_BANNER_TITLE="Verify Your Mortgage Details",v.EQUITY_MORTGAGE_DETAILS_TITLE="Estimated Equity Today",v.EQUITY_MORTGAGE_DETAILS_HOW_CALCULATED="How is this calculated?",v.EQUITY_MORTGAGE_DETAILS_ACTION_BUTTON_LABEL="Which option is best for me?",v.EQUITY_MORTGAGE_DETAILS_DISCLAIMER="Disclaimer",v.EDIT_MORTGAGE_DETAILS_FORM_TITLE="Edit Mortgage Info",v.EDIT_MORTGAGE_DETAILS_LOAN_START_DATE_LABEL="Loan Start Date",v.EDIT_MORTGAGE_DETAILS_LOAN_TERM_LABEL="Loan Term",v.EDIT_MORTGAGE_DETAILS_INTEREST_RATE_LABEL="Interest Rate",v.EDIT_MORTGAGE_DETAILS_ORIGINAL_LOAN_AMOUNT_LABEL="Original Loan Amount",v.EDIT_MORTGAGE_DETAILS_BALANCE_LABEL="Estimated Mortgage Balance",v.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.",v.HOW_CALCULATE_TITLE="How Is My Net Worth Calculated?",v.HOW_CALCULATE_DESCRIPTION='Your net worth ("equity") is made up of two things.',v.HOW_CALCULATE_HOME_VALUE_LABEL="Home Value",v.HOW_CALCULATE_LOAN_BALANCE_LABEL="Loan Balance",v.HOW_CALCULATE_YOUR_NET_WORTH_LABEL="Your Net Worth",v.HOW_CALCULATE_INFORMATION_SUBTITLE="Where does this information come from?",v.HOW_CALCULATE_NOTE_DESCRIPTION="Note: Only the first lien mortgage and resale are used to calculate the balance of your loan.";function St({children:e}){return React__namespace.createElement("div",{className:r("flex justify-center w-full")},e)}function nr({trigger:e,content:t,title:o,asChild:a=!1,actionButtomLabel:i=v.ACTION_OK_BUTTON_LABEL}){return React__namespace.createElement(Co,null,React__namespace.createElement(wo,{asChild:a},e),React__namespace.createElement(jt,{className:r("flex flex-col gap-2 p-6","h-screen lg:h-auto md:h-auto overflow-y-auto")},o&&React__namespace.createElement(qt,null,o),t,React__namespace.createElement(Jt,null,React__namespace.createElement(Qt,null,i))))}function sr({title:e,infoTitle:t,icon:o,infoDescription:a,titleDescription:i}){let s=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-2")},React__namespace.createElement("div",{className:r("flex flex-col items-center bg-slate-50 rounded-[100px] p-2")},s),React__namespace.createElement("h3",{className:r("font-semibold leading-8 text-xl md:text-2xl lg:text-2xl text-gray-700")},e),React__namespace.createElement(nr,{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 Mt({icon:e,infoDescription:t,title:o,titleDescription:a,infoTitle:i,actions:s}){return React__namespace.createElement("div",{className:r("flex flex-row justify-between items-stretch")},React__namespace.createElement(sr,{title:o,titleDescription:a,infoTitle:i,icon:e,infoDescription:t}),s&&s)}var Lt=({clientKey:e,apiKey:t})=>{let[o,a]=React__namespace.useState(!0),[i,s]=React__namespace.useState(),R=!!e;React__namespace.useEffect(()=>{async function d(){let m=await _t({clientKey:e});s(m);}d();},[]);let c=React__namespace.useCallback(async d=>{let{url:m,requestInit:N}=d,{headers:W,...D}=N??{},k=i;!i?.token&&e&&(k=await _t({clientKey:e}));let Y={"Content-Type":"application/json",...k?.token&&{Authorization:`Bearer ${k?.token}`},...t&&{"x-api-key":t},...W},A=await fetch(m,{headers:Y,...D});try{a(!0);let L=await A.json();return a(!1),k?.token&&s(k),L}catch(L){console.error(`Error requesting ${m}`,L),a(!1);return}},[i,e,t]);return {isLoading:o,tokens:i,request:c,isExternal:R}};var gr="AIzaSyCDNlq-LeVQGoubUXL_a8p6LYPXR5Bjs_Q";function un({apiKey:e,mapOptions:t,geoJsonLayerInput:o,markers:a,markersIcon:i,markerEvents:s}){let R=React__namespace.useRef(null),[c,d]=React__namespace.useState(null),[m,N]=React__namespace.useState(!1);React__namespace.useEffect(()=>{R.current&&new Loader({apiKey:e??gr}).importLibrary("maps").then(()=>{t.center||(t.center={lat:39.8283,lng:-98.5795}),R.current&&W(R.current,t);});},[]);let W=(A,L)=>{d(new window.google.maps.Map(A,L)),o&&Y(o),k(a),N(!0);},D=(A,L)=>{c&&(c.setCenter(A),c.setZoom(L));},k=A=>{if(!c||!A)return;let L=new google.maps.LatLngBounds;A.forEach((y,f)=>{L.extend(new google.maps.LatLng(y.lat,y.lng));let b=new google.maps.Marker({position:{lat:y.lat,lng:y.lng},map:c,icon:y.icon??i,label:y.label});s&&s(f,b);}),c.setCenter(L.getCenter()),c.setZoom(3);},Y=({center:A,geoJson:L})=>{if(!c||!L)return;A&&(c.setCenter(A),new window.google.maps.Marker({position:A,map:c}));let y=new window.google.maps.Data;y.addGeoJson(L),y.setStyle(f=>({fillColor:f.getProperty("color")??"#FFFFCC",strokeWeight:1,fillOpacity:.5,strokeColor:"white"})),y.setMap(c);};return {mapRef:R,setGeojson:Y,setMarkers:k,zoomHandler:D,isMapReady:m}}var Rr=un;var vr=["#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],br="https://api.liberty.percyai.io/location/v1/heatmap";function xr(){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")},vr.map((e,t)=>React__namespace.createElement("div",{key:t,className:r("w-4 h-4"),style:{backgroundColor:e}})))))}function cp({zipcode:e,url:t=br,zoomLevel:o=10,zoomControl:a=!0,googleApiKey:i,clientKey:s,apiKey:R,height:c="420px"}){let{request:d,isLoading:m,tokens:N}=Lt({clientKey:s,apiKey:R}),W=React__namespace.useMemo(()=>({zoom:o,draggable:!1,scrollwheel:!1,fullscreenControl:!1,gestureHandling:"none",zoomControl:a,mapId:""}),[o,a]),{mapRef:D,setGeojson:k,isMapReady:Y}=Rr({mapOptions:W,apiKey:i});return React__namespace.useEffect(()=>{let A=!0;async function L(){let y=he(N?.meta,"color");if(e&&t&&A&&!N?.token){let f=new URL(t);f.searchParams.set("zipcode",e),y?.value&&f.searchParams.set("colors",y?.value);try{let b=await d({url:f.toString()});b&&A&&k(b.data);}catch(b){console.error("Error fetching heatmap data:",b);}}}return Y&&L(),()=>{A=!1;}},[s,R,N,e,t,d,Y]),React__namespace.createElement("div",{className:r("flex flex-col bg-white")},React__namespace.createElement(Mt,{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(St,null,React__namespace.createElement("div",{className:"relative w-full aspect-video rounded-md overflow-hidden",style:{height:c}},React__namespace.createElement("div",{ref:D,className:r("min-h-full w-full")}),React__namespace.createElement(xr,null),m&&React__namespace.createElement("div",{className:r("absolute inset-0 flex items-center justify-center")},React__namespace.createElement(nt,null)))))}
|
|
35195
35215
|
|
|
35196
|
-
var t=p(
|
|
35216
|
+
var t=p(cp,{props:{zipcode:"string",url:"string",zoomLevel:"number",zoomControl:"boolean",googleApiKey:"string",clientKey:"string",apiKey:"string"}});customElements&&customElements.define("heat-map",t);
|
|
35197
35217
|
|
|
35198
35218
|
}));
|
|
35199
35219
|
//# sourceMappingURL=heatmap.js.map
|