"use strict";exports.id=2640,exports.ids=[2640],exports.modules={48973:(e,t,r)=>{r.d(t,{Z:()=>o});var n=r(75593);/**
 * @license lucide-react v0.446.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let o=(0,n.Z)("Award",[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]])},19458:(e,t,r)=>{r.d(t,{Z:()=>o});var n=r(75593);/**
 * @license lucide-react v0.446.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let o=(0,n.Z)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},87094:(e,t,r)=>{r.d(t,{Z:()=>o});var n=r(75593);/**
 * @license lucide-react v0.446.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let o=(0,n.Z)("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]])},68375:(e,t,r)=>{r.d(t,{Z:()=>o});var n=r(75593);/**
 * @license lucide-react v0.446.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let o=(0,n.Z)("Minus",[["path",{d:"M5 12h14",key:"1ays0h"}]])},22385:(e,t,r)=>{r.d(t,{Z:()=>o});var n=r(75593);/**
 * @license lucide-react v0.446.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let o=(0,n.Z)("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])},54478:(e,t,r)=>{r.d(t,{Z:()=>o});var n=r(75593);/**
 * @license lucide-react v0.446.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let o=(0,n.Z)("ShoppingBag",[["path",{d:"M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z",key:"hou9p0"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}]])},5341:(e,t,r)=>{r.d(t,{VY:()=>X,h_:()=>U,fC:()=>L,xz:()=>Y});var n=r(9885),o=r(32840),l=r(80880),i=r(8718),a=r(75393),s=r(81046),u=r(47699),p=r(76529),d=r(77357),c=r(53151),f=r(79752),h=r(21484),v=r(60080),g=n.forwardRef((e,t)=>{let{children:r,...o}=e,l=n.Children.toArray(r),i=l.find(y);if(i){let e=i.props.children,r=l.map(t=>t!==i?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,v.jsx)(m,{...o,ref:t,children:n.isValidElement(e)?n.cloneElement(e,void 0,r):null})}return(0,v.jsx)(m,{...o,ref:t,children:r})});g.displayName="Slot";var m=n.forwardRef((e,t)=>{let{children:r,...o}=e;if(n.isValidElement(r)){let e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(r=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}(r);return n.cloneElement(r,{...function(e,t){let r={...t};for(let n in t){let o=e[n],l=t[n],i=/^on[A-Z]/.test(n);i?o&&l?r[n]=(...e)=>{l(...e),o(...e)}:o&&(r[n]=o):"style"===n?r[n]={...o,...l}:"className"===n&&(r[n]=[o,l].filter(Boolean).join(" "))}return{...e,...r}}(o,r.props),ref:t?(0,l.F)(t,e):e})}return n.Children.count(r)>1?n.Children.only(null):null});m.displayName="SlotClone";var x=({children:e})=>(0,v.jsx)(v.Fragment,{children:e});function y(e){return n.isValidElement(e)&&e.type===x}var C=r(43408),R=r(94348),P=r(32864),w="Popover",[j,E]=(0,i.b)(w,[d.D7]),M=(0,d.D7)(),[b,k]=j(w),O=e=>{let{__scopePopover:t,children:r,open:o,defaultOpen:l,onOpenChange:i,modal:a=!1}=e,s=M(t),u=n.useRef(null),[c,f]=n.useState(!1),[h=!1,g]=(0,C.T)({prop:o,defaultProp:l,onChange:i});return(0,v.jsx)(d.fC,{...s,children:(0,v.jsx)(b,{scope:t,contentId:(0,p.M)(),triggerRef:u,open:h,onOpenChange:g,onOpenToggle:n.useCallback(()=>g(e=>!e),[g]),hasCustomAnchor:c,onCustomAnchorAdd:n.useCallback(()=>f(!0),[]),onCustomAnchorRemove:n.useCallback(()=>f(!1),[]),modal:a,children:r})})};O.displayName=w;var A="PopoverAnchor";n.forwardRef((e,t)=>{let{__scopePopover:r,...o}=e,l=k(A,r),i=M(r),{onCustomAnchorAdd:a,onCustomAnchorRemove:s}=l;return n.useEffect(()=>(a(),()=>s()),[a,s]),(0,v.jsx)(d.ee,{...i,...o,ref:t})}).displayName=A;var D="PopoverTrigger",F=n.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,i=k(D,r),a=M(r),s=(0,l.e)(t,i.triggerRef),u=(0,v.jsx)(h.WV.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":B(i.open),...n,ref:s,onClick:(0,o.M)(e.onClick,i.onOpenToggle)});return i.hasCustomAnchor?u:(0,v.jsx)(d.ee,{asChild:!0,...a,children:u})});F.displayName=D;var Z="PopoverPortal",[N,V]=j(Z,{forceMount:void 0}),_=e=>{let{__scopePopover:t,forceMount:r,children:n,container:o}=e,l=k(Z,t);return(0,v.jsx)(N,{scope:t,forceMount:r,children:(0,v.jsx)(f.z,{present:r||l.open,children:(0,v.jsx)(c.h,{asChild:!0,container:o,children:n})})})};_.displayName=Z;var I="PopoverContent",W=n.forwardRef((e,t)=>{let r=V(I,e.__scopePopover),{forceMount:n=r.forceMount,...o}=e,l=k(I,e.__scopePopover);return(0,v.jsx)(f.z,{present:n||l.open,children:l.modal?(0,v.jsx)($,{...o,ref:t}):(0,v.jsx)(S,{...o,ref:t})})});W.displayName=I;var $=n.forwardRef((e,t)=>{let r=k(I,e.__scopePopover),i=n.useRef(null),a=(0,l.e)(t,i),s=n.useRef(!1);return n.useEffect(()=>{let e=i.current;if(e)return(0,R.Ry)(e)},[]),(0,v.jsx)(P.f,{as:g,allowPinchZoom:!0,children:(0,v.jsx)(z,{...e,ref:a,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,o.M)(e.onCloseAutoFocus,e=>{e.preventDefault(),s.current||r.triggerRef.current?.focus()}),onPointerDownOutside:(0,o.M)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey,n=2===t.button||r;s.current=n},{checkForDefaultPrevented:!1}),onFocusOutside:(0,o.M)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),S=n.forwardRef((e,t)=>{let r=k(I,e.__scopePopover),o=n.useRef(!1),l=n.useRef(!1);return(0,v.jsx)(z,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(o.current||r.triggerRef.current?.focus(),t.preventDefault()),o.current=!1,l.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(o.current=!0,"pointerdown"!==t.detail.originalEvent.type||(l.current=!0));let n=t.target,i=r.triggerRef.current?.contains(n);i&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&l.current&&t.preventDefault()}})}),z=n.forwardRef((e,t)=>{let{__scopePopover:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:l,disableOutsidePointerEvents:i,onEscapeKeyDown:p,onPointerDownOutside:c,onFocusOutside:f,onInteractOutside:h,...g}=e,m=k(I,r),x=M(r);return(0,s.EW)(),(0,v.jsx)(u.M,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:l,children:(0,v.jsx)(a.XB,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:h,onEscapeKeyDown:p,onPointerDownOutside:c,onFocusOutside:f,onDismiss:()=>m.onOpenChange(!1),children:(0,v.jsx)(d.VY,{"data-state":B(m.open),role:"dialog",id:m.contentId,...x,...g,ref:t,style:{...g.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),T="PopoverClose";function B(e){return e?"open":"closed"}n.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,l=k(T,r);return(0,v.jsx)(h.WV.button,{type:"button",...n,ref:t,onClick:(0,o.M)(e.onClick,()=>l.onOpenChange(!1))})}).displayName=T,n.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,o=M(r);return(0,v.jsx)(d.Eh,{...o,...n,ref:t})}).displayName="PopoverArrow";var L=O,Y=F,U=_,X=W},65718:(e,t,r)=>{r.d(t,{M:()=>y});var n=r(60080),o=r(9885),l=r(78549),i=r(34349),a=r(60381),s=r(19386),u=r(25447),p=r(95248);function d(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class c extends o.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,r=(0,u.R)(e)&&e.offsetWidth||0,n=(0,u.R)(e)&&e.offsetHeight||0,o=this.props.sizeRef.current;o.height=t.offsetHeight||0,o.width=t.offsetWidth||0,o.top=t.offsetTop,o.left=t.offsetLeft,o.right=r-o.width-o.left,o.bottom=n-o.height-o.top}return null}componentDidUpdate(){}render(){return this.props.children}}function f({children:e,isPresent:t,anchorX:r,anchorY:l,root:i,pop:a}){let s=(0,o.useId)(),u=(0,o.useRef)(null),f=(0,o.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:h}=(0,o.useContext)(p._),v=e.props?.ref??e?.ref,g=function(...e){return o.useCallback(function(...e){return t=>{let r=!1,n=e.map(e=>{let n=d(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():d(e[t],null)}}}}(...e),e)}(u,v);return(0,o.useInsertionEffect)(()=>{let{width:e,height:n,top:o,left:p,right:d,bottom:c}=f.current;if(t||!1===a||!u.current||!e||!n)return;let v="left"===r?`left: ${p}`:`right: ${d}`,g="bottom"===l?`bottom: ${c}`:`top: ${o}`;u.current.dataset.motionPopId=s;let m=document.createElement("style");h&&(m.nonce=h);let x=i??document.head;return x.appendChild(m),m.sheet&&m.sheet.insertRule(`
          [data-motion-pop-id="${s}"] {
            position: absolute !important;
            width: ${e}px !important;
            height: ${n}px !important;
            ${v}px !important;
            ${g}px !important;
          }
        `),()=>{x.contains(m)&&x.removeChild(m)}},[t]),(0,n.jsx)(c,{isPresent:t,childRef:u,sizeRef:f,pop:a,children:!1===a?e:o.cloneElement(e,{ref:g})})}let h=({children:e,initial:t,isPresent:r,onExitComplete:l,custom:a,presenceAffectsLayout:u,mode:p,anchorX:d,anchorY:c,root:h})=>{let g=(0,i.h)(v),m=(0,o.useId)(),x=!0,y=(0,o.useMemo)(()=>(x=!1,{id:m,initial:t,isPresent:r,custom:a,onExitComplete:e=>{for(let t of(g.set(e,!0),g.values()))if(!t)return;l&&l()},register:e=>(g.set(e,!1),()=>g.delete(e))}),[r,g,l]);return u&&x&&(y={...y}),(0,o.useMemo)(()=>{g.forEach((e,t)=>g.set(t,!1))},[r]),o.useEffect(()=>{r||g.size||!l||l()},[r]),e=(0,n.jsx)(f,{pop:"popLayout"===p,isPresent:r,anchorX:d,anchorY:c,root:h,children:e}),(0,n.jsx)(s.O.Provider,{value:y,children:e})};function v(){return new Map}var g=r(61886);let m=e=>e.key||"";function x(e){let t=[];return o.Children.forEach(e,e=>{(0,o.isValidElement)(e)&&t.push(e)}),t}let y=({children:e,custom:t,initial:r=!0,onExitComplete:s,presenceAffectsLayout:u=!0,mode:p="sync",propagate:d=!1,anchorX:c="left",anchorY:f="top",root:v})=>{let[y,C]=(0,g.oO)(d),R=(0,o.useMemo)(()=>x(e),[e]),P=d&&!y?[]:R.map(m),w=(0,o.useRef)(!0),j=(0,o.useRef)(R),E=(0,i.h)(()=>new Map),M=(0,o.useRef)(new Set),[b,k]=(0,o.useState)(R),[O,A]=(0,o.useState)(R);(0,a.L)(()=>{w.current=!1,j.current=R;for(let e=0;e<O.length;e++){let t=m(O[e]);P.includes(t)?(E.delete(t),M.current.delete(t)):!0!==E.get(t)&&E.set(t,!1)}},[O,P.length,P.join("-")]);let D=[];if(R!==b){let e=[...R];for(let t=0;t<O.length;t++){let r=O[t],n=m(r);P.includes(n)||(e.splice(t,0,r),D.push(r))}return"wait"===p&&D.length&&(e=D),A(x(e)),k(R),null}let{forceRender:F}=(0,o.useContext)(l.p);return(0,n.jsx)(n.Fragment,{children:O.map(e=>{let o=m(e),l=(!d||!!y)&&(R===O||P.includes(o));return(0,n.jsx)(h,{isPresent:l,initial:(!w.current||!!r)&&void 0,custom:t,presenceAffectsLayout:u,mode:p,root:v,onExitComplete:l?void 0:()=>{if(M.current.has(o)||(M.current.add(o),!E.has(o)))return;E.set(o,!0);let e=!0;E.forEach(t=>{t||(e=!1)}),e&&(F?.(),A(j.current),d&&C?.(),s&&s())},anchorX:c,anchorY:f,children:e},o)})})}}};