PageSourceSearch

https://www.vinovest.co/_next/static/chunks/3387-bca5791732394c13.js

js vinovest.co collected 2026-09-24 10:27:27 UTC 73,389 bytes, 2 lines download raw bytes

1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ea3a9b88-594d-4048-aa29-ddea28be9091",e._sentryDebugIdIdentifier="sentry-dbid-ea3a9b88-594d-4048-aa29-ddea28be9091")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3387],{10082:(e,t,n)=>{"use strict";n.d(t,{d:()=>w});var a=n(37876),s=n(1992),i=n(87786),l=n(29500),r=n(81217);let o=()=>{let{isAuthenticated:e,userId:t}=(0,r.uM)();return(0,s.useQuery)([i.P.getUserReferralInfo,t],async()=>{let{managed:e}=l.r.getClient(),t=await e.getUserReferralProfileStatus();if(200===t.status)return t.data},{enabled:e&&!!t})};var c=n(78004),d=n(14232),u=n(28823),h=n(15039),m=n.n(h),x=n(68827),p=n.n(x);let f={src:"/_next/static/media/copy.020f955a.svg",height:16,width:16,blurWidth:0,blurHeight:0};var v=n(54356),g=n(8361);let b=e=>{let{className:t,children:n}=e;return(0,a.jsx)("div",{className:"flex flex-col px-2 sm:px-8 ".concat(null!=t?t:""),children:n})},j=e=>{var t;let{link:n,inviteBoxClassnames:s}=e,{data:i}=o(),{captureEvent:l}=(0,g.z)(v.z.ReferralAction),[r,h]=(0,d.useState)(!1),x=async()=>{var e;l(v.z.ReferralAction,{action:"Copy URL to clipboard"}),h(!0),await navigator.clipboard.writeText(null!=(e=null==i?void 0:i.shareUrl)?e:"")};(0,d.useEffect)(()=>{setTimeout(()=>{r&&h(!1)},900)},[r]);let j=(0,d.useCallback)(()=>{l(void 0,{action:"Click Facebook share button"})},[l]),w=(0,d.useCallback)(()=>{l(void 0,{action:"Click Twitter share button"})},[l]),y=(0,d.useCallback)(()=>{l(void 0,{action:"Click emailShare share button"})},[l]);return(0,a.jsx)("div",{className:"flex w-full",children:(0,a.jsxs)(b,{className:m()("w-full h-72 justify-around max-h-[169px] mt-[24px]",s),children:[(0,a.jsx)(c.so,{children:(0,a.jsx)(c.EY,{className:"text-background-70 text-12 leading-[21px] tracking-[0.005em] text-neutrals-500",children:"Share your referral link"})}),(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"relative z-0 inline-flex shadow-xs w-full h-12",children:[(0,a.jsx)("input",{type:"text",value:n,disabled:!0,className:"relative flex-1 inline-flex items-center px-4 py-2 border border-gray-300 bg-white text-16 font-medium text-gray-700 hover:bg-gray-50 focus:z-10 focus:outline-hidden focus:ring-1 focus:ring-indigo-500 focus:border-indigo-500"}),(0,a.jsx)("button",{"aria-label":"Copy to clipboard",type:"button",onClick:x,className:"-ml-px text-brown-400 relative text-14 justify-center align-center font-mono uppercase inline-flex items-center px-3 py-2 border-r border-t border-b border-gray-300 bg-white hover:bg-gray-50 focus:z-10 focus:outline-hidden ",children:(0,a.jsx)(p(),{src:f})})]}),(0,a.jsx)(c.EY,{className:"text-16 h-6 pt-2 uppercase font-mono",children:r&&"Copied!"})]}),(0,a.jsx)(c.EY,{className:"text-background-70 text-12 leading-[21px] tracking-[0.005em] text-neutrals-500",children:"Share via social media"}),(0,a.jsxs)(c.so,{classnames:"justify-between",children:[(0,a.jsx)(c.so,{classnames:"w-1/3 grow justify-center bg-[#242E35] rounded-md max-h-[40px]",children:(0,a.jsx)(u.Ot,{beforeOnClick:y,className:"w-full bg-[#242E35]",subject:"Check out Vinovest!",body:"Diversify your portfolio by investing in rare wine and whiskey through Vinovest! Sign up using my invite link and receive 3 months of free fees!",url:n,children:(0,a.jsxs)("div",{className:"flex justify-center items-center ml-2",children:[(0,a.jsx)("div",{className:"flex flex-col justify-center self-center",children:(0,a.jsxs)("svg",{width:"12",height:"10",viewBox:"0 0 12 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.7143 0H0.714286C0.285714 0 0 0.285714 0 0.714286V1.71429L5.71429 4.92857L11.4286 1.78571V0.714286C11.4286 0.285714 11.1429 0 10.7143 0",fill:"white"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.35714 6.35742L0 3.35742V9.28599C0 9.71456 0.285714 10.0003 0.714286 10.0003H10.7143C11.1429 10.0003 11.4286 9.71456 11.4286 9.28599V3.35742L6.07143 6.35742C5.87143 6.45742 5.55714 6.45742 5.35714 6.35742",fill:"white"})]})}),(0,a.jsx)(c.EY,{color:"white",classnames:"ml-2 text-12 flex-col align-center justify-center self-center pr-4 text-white",children:"Email"})]})})}),(0,a.jsx)(c.so,{classnames:"w-1/3 justify-center bg-[#00aced] mx-2 h-12 rounded-md max-h-[40px]",children:(0,a.jsx)(u.r6,{onClick:w,className:"w-full",title:"Diversify your portfolio by investing in rare wine and whiskey through Vinovest! Sign up using my invite link and receive 3 months of free fees!",url:n,hashtags:["wine","finewine","investing"],children:(0,a.jsxs)("span",{className:"flex justify-center",children:[(0,a.jsx)(u.Fi,{size:"24px"}),(0,a.jsx)(c.EY,{color:"white",classnames:"text-12 flex-col align-center justify-center self-center pr-4 text-white",children:"Twitter"})]})})}),(0,a.jsx)(c.so,{classnames:"w-1/3 justify-center bg-[#3b5998] rounded-md items-center max-h-[40px]",children:(0,a.jsx)(u.uI,{onClick:j,className:"w-full",title:"Diversify your portfolio by investing in rare wine and whiskey through Vinovest! Sign up using my invite link and receive 3 months of free fees!",url:null!=(t=null==i?void 0:i.shareUrl)?t:"",children:(0,a.jsxs)("span",{className:"flex justify-center items-center",children:[(0,a.jsx)("div",{className:"mx-2",children:(0,a.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.5 6.80521C0.5 3.18243 3.33806 0.5 7.00008 0.5C10.6621 0.5 13.5002 3.18243 13.5002 6.80521C13.5002 10.428 10.6621 13.1104 7.00008 13.1104C6.34223 13.1104 5.71053 13.0241 5.11807 12.8606C5.00298 12.8292 4.88134 12.8384 4.77148 12.8868L3.48193 13.4557C3.1445 13.6035 2.76391 13.3641 2.75214 12.9953L2.71683 11.8392C2.7116 11.6966 2.64751 11.5645 2.54158 11.4691C1.27687 10.3378 0.5 8.70031 0.5 6.80521ZM5.00697 5.62041L3.09749 8.64943C2.91308 8.93977 3.27144 9.26805 3.54478 9.0601L5.59682 7.50243C5.73545 7.3978 5.9264 7.39649 6.06634 7.50112L7.58477 8.64027C8.03991 8.98162 8.69123 8.8613 8.99465 8.38001L10.9028 5.3523C11.0872 5.06196 10.7289 4.73368 10.4555 4.94163L8.4048 6.49799C8.26617 6.60262 8.07522 6.60393 7.93528 6.4993L6.41685 5.36015C5.96171 5.0188 5.3104 5.13912 5.00697 5.62041Z",fill:"white"})})}),(0,a.jsx)(c.EY,{color:"white",classnames:"text-12 flex-col align-center justify-center self-center pr-4 text-white",children:"Messenger"})]})})})]})]})})},w=()=>{var e,t,n,s;let{data:i}=o();return(0,a.jsxs)(c.Zp,{classnames:"bg-gray-150 rounded-lg pt-[30px] px-0",shadow:"none",allPadding:"p-1",children:[(0,a.jsxs)("div",{className:"grid grid-cols-2 !md:min-width-[539px] !md:width-[539px]",children:[(0,a.jsx)("div",{className:"flex justify-center items-center border-r-solid border-r border-r-[#CACCCE]",children:(0,a.jsxs)("div",{className:"flex-col justify-center items-center",children:[(0,a.jsx)(c.EY,{classnames:"flex self-center items-center justify-center text-platinum-800",children:"Successful Invites"}),(0,a.jsx)(c.EY,{classnames:"flex self-center items-center justify-center text-platinum-800",children:null!=(t=null==i?void 0:i.referralCount)?t:0})]})}),(0,a.jsxs)("div",{className:"flex-col justify-center items-center",children:[(0,a.jsx)(c.EY,{classnames:"flex self-center items-center justify-center text-platinum-800",children:"Months No Fees"}),(0,a.jsx)(c.EY,{classnames:"flex self-center items-center justify-center text-platinum-800",children:(null!=(n=null==i||null==(e=i.rewards)?void 0:e.length)?n:0)*3})]})]}),(0,a.jsx)("div",{className:"mt-2 border-t-solid border-t border-t-[#CACCCE] mx-[14px] md:mx-[46px]"}),(0,a.jsx)(j,{link:null!=(s=null==i?void 0:i.shareUrl)?s:""})]})}},13387:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>y});var a=n(37876);n(14232);var s=n(81217),i=n(80510),l=n(18847),r=n.n(l),o=n(67888),c=n(96427),d=n(65364);function u(e){return new RegExp("^\\/(".concat(e.join("|"),").*"))}n(82909).hp,d.env.LOCAL_DEVELOPMENT;var h=n(65364);function m(){let e=(0,c._)(["trade(?!(/marketplace))"],["trade(?!(\\/marketplace))"]);return m=function(){return e},e}function x(){let e=(0,c._)(["new-user/create-account"],["new-user\\/create-account"]);return x=function(){return e},e}function p(){let e=(0,c._)(["trade/marketplace"],["trade\\/marketplace"]);return p=function(){return e},e}function f(){let e=(0,c._)(["new-user/investor-profile"],["new-user\\/investor-profile"]);return f=function(){return e},e}let v=[String.raw(m()),"api","auth","wine","_next","collections","compare","deposit","fonts","styles","trade","wine","dashboard","portfolio",".well-known","help",String.raw(x()),"signup","implicit/callback","login","help-category","app-ads.txt","flags","icons","recommendation","onboarding","whiskey","track-record","whiskey-investment","why-whiskey","about-us","internal","","offer","blog"],g=["dashboard","deposit","compare","add-funds",String.raw(p()),"marketplace","documents","account","portfolio","auth","add-funds","invite","managed",String.raw(f()),"before-you-liquidate-your-portfolio","liquidation","scheduled-wines"];h.env.NEXTAUTH_SECRET,h.env.RELEASEHUB_USERNAME,h.env.RELEASEHUB_PASSWORD,u(v);let b=u(g);var j=n(89099);let w=r()(()=>Promise.resolve().then(n.bind(n,80510)),{loadableGenerated:{webpack:()=>[80510]},loading:()=>(0,a.jsx)(o.i,{ready:!1}),ssr:!1}),y=e=>{let{isAuthenticated:t}=(0,s.uM)(),n=(0,j.useRouter)();return t||b.test(n.pathname)?(0,a.jsx)(w,{...e}):(0,a.jsx)(i.default,{...e})}},13837:e=>{e.exports={newslettersWrapper:"FooterNewsLetter_newslettersWrapper___D81a",footerTitle:"FooterNewsLetter_footerTitle__vAMZX",newsletterInputWrapper:"FooterNewsLetter_newsletterInputWrapper__s3wjN",error:"FooterNewsLetter_error__xuzzp",isSubscribed:"FooterNewsLetter_isSubscribed__dm047"}},14196:e=>{e.exports={footerContainer:"Footer_footerContainer__VkrTx",footerContainerDark:"Footer_footerContainerDark__neZRE",gridContainer:"Footer_gridContainer__3sUZG",a:"Footer_a__0_EFP",b:"Footer_b__mMFWD",c:"Footer_c__Ow6kX",d:"Footer_d__LkKKn",footerTitle:"Footer_footerTitle__FOTW2",navWrapper:"Footer_navWrapper__q59NI",navigationColumnsWrapper:"Footer_navigationColumnsWrapper__K7tzS",styledNavigation:"Footer_styledNavigation__XZrID",basicDataWrapper:"Footer_basicDataWrapper__XSouj",
1withBorder:"Footer_withBorder__z8goi",bottomWrapper:"Footer_bottomWrapper__KK90Y"}},15703:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DASHBOARD_ONBOARDING_TOUR_STEP_ONE_BASE_SELECTOR:()=>c,DashboardOnboardingTour:()=>d,default:()=>h});var a=n(37876),s=n(14232),i=n(33143),l=n(71199),r=n(95800),o=n(66054);let c="overall-balance",d=()=>{let{isMobile:e}=(0,r.l)(),t=(0,s.useMemo)(()=>u(e),[e]);return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(l.VI,{steps:t,variant:l.Mh.Dashboard})})},u=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return[{...i.Y,target:"#".concat((0,o.H)(0,c,e)),content:"Connect a payment account to fund your Vinovest account before you buy your first wine.",placement:"bottom",disableOverlayClose:!0,styles:{spotlight:{backgroundColor:"rgba(255,255,255,0.3)"}}}]},h=d},19794:e=>{e.exports={AnnouncementBanner:"AnnouncementBanner_AnnouncementBanner__acmuR",AnnouncementText:"AnnouncementBanner_AnnouncementText__4tmOh",AnnouncementLink:"AnnouncementBanner_AnnouncementLink__caBiQ",DismissButton:"AnnouncementBanner_DismissButton__bEBQk"}},25803:(e,t,n)=>{"use strict";n.d(t,{H:()=>l,n:()=>r});var a=n(14232),s=n(29454),i=n(52469);let l=()=>{var e;return null!=(e=s.A.get("localCurrency"))?e:i.o.USD},r=()=>{let[e,t]=(0,a.useState)(l());return{selectedCurr:e,handleCurrChange:e=>{t(e)},handleCancelCurr:()=>{t(l())},handleSaveCurr:()=>{s.A.set("localCurrency",e,{expires:7})}}}},29797:(e,t,n)=>{"use strict";n.d(t,{f:()=>a});let a={home:"/",portfolio:"/invest",account:"/account",invite:"/invite",login:"/login",signup:"/signup",deposit:"/deposit",transactions:"/transactions",documentsPage:"/documents",beforeYouRequest:"/before-you-liquidate-your-portfolio",liquidation:"/liquidation",scheduledWines:"/scheduled-wines",print:"/print",whyWine:"/why-wine",whyWhiskey:"/why-whiskey",aboutUs:"/about-us",council:"/advisory-council",trackRecord:"/track-record",wineDirectory:"/trade",contactUs:"/contact-us",howItWorks:"/how-it-works",sustainability:"/sustainability",pricing:"/pricing",adSlider:"/advisory-council/:id",satisfaction:"/the-vinovest-satisfaction-guarantee",wineFutures:"/wine-futures",terms:"/terms-conditions",vinovestHome:"/home",vinovest100Index:"/vinovest-100-index",privacyPolicy:"/privacy-policy",careers:"/careers",contactSupport:"/contact-support",help:"/help",press:"/press",helpCategory:"/help-category",blog:"/blog",accessibility:"/accessibility",support:"/support",supportCategory:"/support-category",community:"/community"}},32884:(e,t,n)=>{"use strict";n.d(t,{O:()=>s,y:()=>i});var a=n(11254),s=function(e){return e.Portfolio="/managed/portfolio",e.WinePortfolio="/managed/portfolio/wine",e.WhiskeyPortfolio="/managed/portfolio/whiskey",e.Transactions="/activity/transactions",e.Documents="/managed/portfolio/documents",e.BeforeYouLiquidate="/before-you-liquidate-your-protfolio",e.Liquidation="/liquidation",e.Help="/help",e}({});let i={portfolio:(0,a.createRoute)("/managed/portfolio"),winePortfolio:(0,a.createRoute)("/managed/portfolio/wine"),whiskeyPortfolio:(0,a.createRoute)("/managed/portfolio/whiskey"),transactions:(0,a.createRoute)("/activity/transactions"),documents:(0,a.createRoute)("/managed/portfolio/documents"),liquidation:(0,a.createRoute)("/liquidation"),beforeYouLiquidate:(0,a.createRoute)("/before-you-liquidate-your-protfolio"),help:(0,a.createRoute)("/help")}},37252:e=>{e.exports={recentArticlesWrapper:"FooterRecentArticles_recentArticlesWrapper__xwU5O",footerTitle:"FooterRecentArticles_footerTitle__Y4PmA"}},43019:(e,t,n)=>{"use strict";n.d(t,{aR:()=>a.a,M4:()=>o.M4,t9:()=>r.t9,Y:()=>a.Y,ut:()=>o.ut,y_:()=>i.y,ZQ:()=>l.Z,z0:()=>r.z0});var a=n(67950),s=n(11254);(0,s.createRoute)("/help/[slug]"),(0,s.createRoute)("/help-category/[slug]");var i=n(32884),l=n(497),r=n(74331),o=n(20118)},45304:e=>{e.exports={menuContainer:"MarketingNavigationDark_menuContainer__XP3PI"}},51589:(e,t,n)=>{"use strict";n.d(t,{l:()=>i,s:()=>l});var a=n(89099),s=n(14232);let i=(0,s.createContext)({}),l=()=>{var e,t,n,l,r;let o=(0,a.useRouter)(),c=(0,s.useContext)(i);if(c.backTo&&c.pageTitle)return c;let d=((e,t)=>{let n=e.split("/").filter(e=>!e.substring(0,e.indexOf("#"))),a=t.split("/");return n.shift(),a.shift(),n.map((e,t)=>({title:e,href:"/".concat(null==n?void 0:n.slice(0,t+1).join("/")),route:"/".concat(null==a?void 0:a.slice(0,t+1).join("/"))}))})(null==o?void 0:o.asPath,null==o?void 0:o.pathname),u="",h="";switch(null==d?void 0:d.length){case 1:u="/invest"!==d[0].href||"help"!==d[0].title?"/invest":"",h="managed"===d[0].title?"overview":"help"===d[0].title?"FAQ":"dashboard"===d[0].title?"":"scheduled-wines"===d[0].title?"Liquidation":null==(e=
1d[d.length-1].title)?void 0:e.split("?")[0];break;case 2:u="/invest",h="transactions"===d[d.length-1].title?"activity":null==(t=d[d.length-1].title)?void 0:t.split("?")[0];break;case 3:u=d[d.length-2].href,h="collections"===d[1].title?"collection details":"portfolio"===d[1].title?"wine details":null==(n=d[d.length-1].title)?void 0:n.split("?")[0];break;case 4:u=d[d.length-3].href,h="marketplace"===d[1].title?"wine details":null==(l=d[d.length-1].title)?void 0:l.split("?")[0];break;case 5:u=d[d.length-3].href,h="collections"===d[1].title?"wine details":null==(r=d[d.length-1].title)?void 0:r.split("?")[0];break;default:u="/invest"}return{backTo:u,pageTitle:h}}},59137:e=>{e.exports={disclaimerWrapper:"FooterDisclaimer_disclaimerWrapper__qSroY"}},60620:(e,t,n)=>{"use strict";n.d(t,{gu:()=>d});var a=n(37876);n(14232);var s=n(48230),i=n.n(s),l=n(20118),r=n(81217);let o={standard:{rect:"#242E35",fill:"#FAE8D1"},green:{rect:"#3C400C",fill:"#E0E5CD"},brown:{rect:"#513011",fill:"#E0E5CD"},light:{rect:"#EFDDC7",fill:"#242E35"}},c=e=>{let{type:t="standard",width:n="75",height:s="75",...i}=e,{rect:l,fill:r}=o[t];return(0,a.jsxs)("svg",{width:n,height:s,viewBox:"0 0 90 90",fill:"none",...i,"aria-label":"Vinovest Logo",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("rect",{width:"90",height:"90",fill:l}),(0,a.jsx)("path",{d:"M70.7859 57.2611C70.7859 58.1461 70.063 58.8701 69.1793 58.8701C68.2956 58.8701 67.5727 58.1461 67.5727 57.2611V50.3422H70.7859V47.124H67.5727V42.2969H64.3594V47.124V50.3422V57.1806C64.3594 59.8356 66.5283 62.0078 69.1793 62.0078C71.8303 62.0078 73.9992 59.8356 73.9992 57.1806H70.7859V57.2611Z",fill:r}),(0,a.jsx)("path",{d:"M41.786 46.7217C39.6974 46.7217 37.6891 47.5262 36.2431 49.0548C34.7971 50.5834 34.0741 52.5947 34.1545 54.6865C34.3151 58.7091 37.7694 62.0077 41.786 62.0077C43.7943 62.0077 45.7223 61.2032 47.1683 59.755L44.919 57.5024C44.1157 58.3069 42.991 58.7896 41.786 58.7896C39.9384 58.7896 38.3317 57.5828 37.6891 55.9737H49.4979V54.3647C49.4176 50.1811 45.9633 46.7217 41.786 46.7217ZM37.6088 52.8361C37.8497 52.2729 38.0907 51.7902 38.5727 51.3879C39.4564 50.503 40.581 50.0202 41.786 50.0202C43.6337 50.0202 45.2403 51.227 45.883 52.8361H37.6088Z",fill:r}),(0,a.jsx)("path",{d:"M38.5727 28.7695H35.3594V43.3315H38.5727V28.7695Z",fill:r}),(0,a.jsx)("path",{d:"M25.8809 39.7111L21.6233 28.7695H18.0083H16V31.9876H19.2936L23.6316 43.3315H24.4349H27.2465H28.1302L33.7534 28.7695H30.1385L25.8809 39.7111Z",fill:r}),(0,a.jsx)("path",{d:"M25.8005 58.0656L21.6233 47.124H18.0083H16V50.3421H19.2133L23.6316 61.686H24.4349H27.2465H28.0498L33.6731 47.124H30.0581L25.8005 58.0656Z",fill:r}),(0,a.jsx)("path",{d:"M38.5727 22.333H35.3594V25.5511H38.5727V22.333Z",fill:r}),(0,a.jsx)("path",{d:"M66.3679 28.3672C62.1103 28.3672 58.7363 31.8267 58.7363 36.0102C58.7363 40.1937 62.1906 43.6532 66.3679 43.6532C70.5452 43.6532 73.9994 40.1937 73.9994 36.0102C73.9994 31.8267 70.6255 28.3672 66.3679 28.3672ZM66.3679 40.5156C63.9579 40.5156 61.9496 38.5042 61.9496 36.0907C61.9496 33.6771 63.9579 31.6658 66.3679 31.6658C68.7778 31.6658 70.7861 33.6771 70.7861 36.0907C70.7861 38.5042 68.8582 40.5156 66.3679 40.5156Z",fill:r}),(0,a.jsx)("path",{d:"M57.2112 52.9973C56.6489 52.8364 56.0866 52.6755 55.7652 52.4341C55.4439 52.2732 54.8816 51.9514 54.7209 51.4687C54.5603 50.9055 54.8816 50.3424 55.3636 50.0205C56.4079 49.4574 58.4162 50.1814 59.3802 51.2273L61.6295 48.9747C59.7015 47.0438 56.3276 45.9175 53.8373 47.2047C51.9093 48.2506 50.9453 50.5033 51.6683 52.5146C52.07 53.7214 53.0339 54.6868 54.3193 55.3304C54.8816 55.6522 55.6046 55.8131 56.2472 56.0545C57.2915 56.3763 58.4162 56.7786 58.7375 57.2613C58.8179 57.4222 58.8179 57.5831 58.8179 57.744C58.7375 58.0658 58.4162 58.3876 58.0145 58.5485C57.4522 58.7094 56.8899 58.8703 56.1669 58.7899C55.0423 58.7899 53.9176 58.3072 53.1946 57.5026L50.9453 59.7553C52.311 61.123 54.2389 61.9276 56.1669 62.008C56.2472 62.008 56.3276 62.008 56.4882 62.008C57.5325 62.008 58.4162 61.8471 59.2998 61.5253C60.5852 61.0426 61.6295 59.9967 62.0311 58.7899C62.4328 57.6636 62.2721 56.5372 61.6295 55.5718C60.5048 54.0432 58.6572 53.48 57.2112 52.9973Z",fill:r}),(0,a.jsx)("path",{d:"M49.0163 28.3672C47.3293 28.3672 45.803 28.9304 44.598 29.8153V28.7695H41.3848V36.0102V43.251H44.598V36.0102C44.598 33.5966 46.6064 31.5853 49.0163 31.5853C51.4263 31.5853 53.4346 33.5966 53.4346 36.0102V43.251H56.6479V36.0102C56.7282 31.8267 53.2739 28.3672 49.0163 28.3672Z",fill:r})]})},d=e=>{let{type:t="standard",linkProps:n,...s}=e,{isAuthenticated:o,isAuthLoading:d}=(0,r.uM)();return!o||d?(0,a.jsx)("a",{href:"/",className:"max-h-fit",...n,children:(0,a.jsx)(c,{type:t,...s})}):(0,a.jsx)(i(),{href:l.ut.invest.href,className:"block h-[75px] w-[75px] relative",...n,children:(0,a.jsx)(c,{type:t,...s})})}}
1,67888:(e,t,n)=>{"use strict";n.d(t,{i:()=>i});var a=n(37876),s=n(80139);let i=e=>{let{ready:t=!0,children:n}=e;return t?(0,a.jsx)(a.Fragment,{children:n}):(0,a.jsx)("div",{className:"flex flex-row justify-center w-full min-h-screen",children:(0,a.jsx)("div",{className:"flex flex-col justify-center min-h-screen",children:(0,a.jsx)("div",{className:"h-[200px] w-[200px]",children:(0,a.jsx)(s.n,{})})})})}},67950:(e,t,n)=>{"use strict";n.d(t,{Y:()=>i,a:()=>s});var a=n(11254),s=function(e){return e.AutoInvest="/account/auto-invest",e.Email="/account/email",e.InvestmentPlan="/account/investment-plan",e.Password="/account/password",e.Phone="/account/phone",e.Sell="/account/sell",e.Liquidate="/account/liquidate",e.LiquidationQueue="/account/liquidation-queue",e.SellOrders="/trade/activity?filter=orders&page=1&subFilter=sell",e.Horizon="/account/time-horizon",e.ActiveRebalance="/account/active-rebalance",e.AutoPay="/account/auto-pay",e.WithdrawalFunds="/account/withdraw-funds",e.ShippingQuote="/account/shipping-quote",e.EnableTwoFactor="/account/enable-2fa",e}({});let i={autoInvest:(0,a.createRoute)("/account/auto-invest"),email:(0,a.createRoute)("/account/email"),investmentPlan:(0,a.createRoute)("/account/investment-plan"),timeHorizon:(0,a.createRoute)("/account/time-horizon"),activeRebalance:(0,a.createRoute)("/account/active-rebalance"),password:(0,a.createRoute)("/account/password"),phone:(0,a.createRoute)("/account/phone"),sell:(0,a.createRoute)("/account/sell"),liquidate:(0,a.createRoute)("/account/liquidate"),liquidationQueue:(0,a.createRoute)("/account/liquidation-queue"),autoPay:(0,a.createRoute)("/account/auto-pay"),withdrawalFunds:(0,a.createRoute)("/account/withdraw-funds"),shippingQuote:(0,a.createRoute)("/account/shipping-quote"),enableTwoFactor:(0,a.createRoute)("/account/enable-2fa")}},71448:e=>{e.exports={subNavLinks:"MarketingNavigation_subNavLinks__nd5hJ",menuContainer:"MarketingNavigation_menuContainer__KBWak",subNavLinksDiv:"MarketingNavigation_subNavLinksDiv__uqOXc",linkItemLink:"MarketingNavigation_linkItemLink__3t3ya",linkDescriptionDiv:"MarketingNavigation_linkDescriptionDiv__CMUpu",linkLabelDiv:"MarketingNavigation_linkLabelDiv__TAHTY"}},74761:e=>{e.exports={styledList:"FooterSocial_styledList__xOlu7"}},77915:(e,t,n)=>{"use strict";n.d(t,{b:()=>s});var a=n(14232);let s=()=>{(0,a.useEffect)(()=>{window.scrollTo(0,0)},[])}},78414:(e,t,n)=>{"use strict";n.d(t,{K:()=>l});var a=n(14232),s=n(18284),i=n(80035);let l=e=>{let[t,n]=(0,a.useState)(!1);return(0,a.useEffect)(()=>(0,i.fm)(()=>{n(s.HW.isModalOpen(e))}),[e]),{open:t,toggleModal:()=>{t&&s.HW.close(e),t||s.HW.open(e)},closeModal:()=>{s.HW.close(e)},openModal:()=>{s.HW.open(e)}}}},80293:(e,t,n)=>{"use strict";n.d(t,{w4:()=>m,$2:()=>x,B4:()=>f});var a=n(37876),s=n(14232),i=n(15039),l=n.n(i),r=n(48230),o=n.n(r),c=n(89099),d=n(8361),u=n(77915);let h={custom:"",primary:"border-transparent",active:"flex items-center flex items-center justify-center !hover:no-underline px-[20px] py-[5px] rounded-[100px] text-platinum-800 bg-[#f1f1f1] ml-[-20px]"},m=e=>{let{children:t,className:n,classnames:s,link:i,variant:r,onClick:m,track:x,fontClass:p,activeBorderColor:f}=e;(0,u.b)();let v=(0,c.useRouter)(),g=v.pathname===i?"active":"primary",b=v.pathname===i&&f?f:"",{captureEvent:j}=(0,d.z)(),w=(null==x?void 0:x.eventName)?()=>{j(x.eventName,x.metaData),m&&m()}:m;return(0,a.jsx)("li",{onClick:w,className:n||l()("cursor-pointer flex items-center text-platinum-800 uppercase",s),children:i?(0,a.jsx)(o(),{href:i,className:"flex items-center !hover:no-underline ".concat(p," ").concat(h[r||g]," ").concat(f?b:""),children:t}):(0,a.jsx)(a.Fragment,{children:t})})},x=e=>{let{children:t,classnames:n}=e;return(0,a.jsx)("ul",{className:l()(p,[n]),children:t})},p="flex",f=e=>{let{href:t,onClick:n,display:i,active:l,variant:r="dark"}=e,c=(0,s.useCallback)(e=>{"Enter"===e.key&&n&&n()},[n]),d="font-vinovest text-14 py-2 ".concat(l?"".concat("light"==r?"text-brown-300":"text-neutrals-900"):"".concat("light"==r?"opacity-[.5]":"text-neutrals-400")," ").concat("light"==r&&"text-brown-300"," ");return t?(0,a.jsx)("div",{className:d,children:(0,a.jsx)(o(),{className:"block",href:t,children:i})}):n?(0,a.jsx)("div",{className:"cursor-pointer ".concat(d),tabIndex:0,onClick:n,role:"link",onKeyDown:c,children:i}):null}},80510:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>td});var a=n(37876),s=n(14232),i=n(89099),l=n(19794),r=n.n(l);let o=()=>
1{let[e,t]=(0,s.useState)(!1);return e?null:(0,a.jsxs)("div",{className:r().AnnouncementBanner,children:[(0,a.jsxs)("p",{className:r().AnnouncementText,children:[(0,a.jsx)("span",{className:"font-roslindale",children:"Vinovest has been acquired by StartEngine!"}),(0,a.jsx)("a",{href:"https://www.vinovest.co/blog/startengine-acquires-vinovest-to-broaden-access-to-alternative-assets",target:"_blank",className:r().AnnouncementLink,children:"Click here to read the full announcement"})]}),(0,a.jsx)("button",{onClick:()=>t(!0),"aria-label":"Dismiss announcement",className:r().DismissButton,children:"\xd7"})]})};var c=n(67888);let d=e=>{let{children:t}=e;return(0,a.jsx)("div",{className:"grow shrink-0 min-w-0 flex-col",id:"main-content",children:t})};var u=n(14196),h=n.n(u),m=n(29797),x=n(48230),p=n.n(x),f=n(59137),v=n.n(f);let g=()=>(0,a.jsx)("div",{className:v().disclaimerWrapper,children:(0,a.jsxs)("p",{children:['Vinovest,inc. ("Vinovest") operates a website at vinovest.co and certain mobile apps (the "Platform"). By using the Platform, you accept our'," ",(0,a.jsx)(p(),{href:m.f.terms,children:" Terms of Service "}),"and ",(0,a.jsx)(p(),{href:m.f.privacyPolicy,children:"Privacy Policy"}),". All images and return and projection figures shown are for illustrative purposes only, may assume additional investments over time, and are not actual Vinovest customer or model returns or projections. Past performance is no guarantee of future results. Any historical returns, expected returns, or probability projections may not reflect actual future performance. All purchases involve risk and may result in damages, partial or total loss. While the data we use from third parties is believed to be reliable, we cannot ensure the accuracy or completeness of data provided by involved third parties. Neither Vinovest nor any of its affiliates provide tax advice and do not represent in any manner that the outcomes described herein will result in any particular tax consequence. Prospective customers should confer with their personal tax advisors regarding the tax consequences based on their particular circumstances. Neither Vinovest nor any of its affiliates assume responsibility for the tax consequences for any customer."]})});var b=n(6625),j=n(5797),w=n(63037),y=n(15039),k=n.n(y),N=n(25803),C=n(78004),_=n(17116);let S={USD:"$ US Dollars (USD)",GBP:"\xa3 Great British Pounds (GBP)",EUR:"€ Euros (EUR)"},A=()=>{let e=(0,i.useRouter)(),[t,n]=(0,s.useState)(!1),{selectedCurr:l,handleCurrChange:r,handleCancelCurr:o,handleSaveCurr:c}=(0,N.n)(),d=(0,s.useCallback)(e=>{(void 0===e.key||"Enter"===e.key)&&(n(e=>!e),document.body.scrollTop=0,document.documentElement.scrollTop=0)},[]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(C.$n,{variant:"brownBorderTransparent",onClick:d,children:S[l]}),(0,a.jsx)(_.a,{open:t,setOpen:n,classnames:"max-w-md overflow-visible",children:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(C.az,{classnames:"text-center",children:[(0,a.jsx)(C.DZ,{level:"h4",children:"Change your settings"}),(0,a.jsx)(C.EY,{classnames:"my-4",children:"Choose your display currency"})]}),(0,a.jsx)(b.WF,{value:l,onChange:r,children:e=>{let{open:t}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(C.EY,{classnames:"uppercase text-14 mb-2",children:"Currency"}),(0,a.jsxs)("div",{className:"mt-1 relative",children:[(0,a.jsxs)(b.WF.Button,{className:"bg-white relative w-full border border-gray-300 pl-3 pr-10 py-2 text-left cursor-default focus:outline-hidden focus:ring-1 focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm",children:[(0,a.jsx)("span",{className:"block truncate",children:S[l]}),(0,a.jsx)("span",{className:"absolute inset-y-0 right-0 flex items-center pr-2 pointer-events-none",children:(0,a.jsx)(w.A,{className:"h-5 w-5 text-gray-400","aria-hidden":"true"})})]}),(0,a.jsx)(j.e,{show:t,as:s.Fragment,leave:"transition ease-in duration-100",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,a.jsx)(b.WF.Options,{className:"absolute z-10 mt-1 w-full bg-white shadow-lg max-h-60 rounded-md py-1 text-base ring-1 ring-black ring-opacity-5 overflow-auto focus:outline-hidden sm:text-sm",children:Object.keys(S).map(e=>(0,a.jsx)(b.WF.Option,{className:e=>{let{active:t}=e;return k()(t&&"bg-gray-200","cursor-default select-none relative mx-2 my-2 rounded-md text-neutrals-900")},value:e,children:t=>{let{selected:n}=t;return(0,a.jsx)("span",{className:k()(n&&"bg-gray-200","block truncate py-2 pl-3 rounded-tl-md rounded-md w-full"),children:S[e]})}},e))})})]})]})}}
1),(0,a.jsxs)(C.so,{classnames:"gap-4 mt-5",children:[(0,a.jsx)(C.az,{classnames:"w-1/2",children:(0,a.jsx)(C.$n,{onClick:()=>{o(),n(!1)},variant:"secondary",classnames:"w-full",children:"Cancel"})}),(0,a.jsx)(C.az,{classnames:"w-1/2",children:(0,a.jsx)(C.$n,{classnames:" w-full",onClick:()=>{c(),n(!1),e.reload()},children:"Save Changes"})})]})]})})]})},E=[{title:"Company",navItems:[{title:"Home",path:m.f.home,isLink:!0},{title:"About",path:m.f.aboutUs,isLink:!0},{title:"Vinovest council",path:m.f.council,isLink:!0},{title:"Careers",path:m.f.careers,isLink:!0},{title:"Press",path:m.f.press,isLink:!0}]},{title:"Learn",navItems:[{title:"Why wine",path:m.f.whyWine,isLink:!0},{title:"Why whiskey",path:m.f.whyWhiskey,isLink:!0},{title:"How it works",path:m.f.howItWorks,isLink:!0},{title:"Pricing",path:m.f.pricing,isLink:!0},{title:"Track Record",path:m.f.trackRecord,isLink:!0}]},{title:"Services",navItems:[{title:"Sustainability",path:m.f.sustainability,isLink:!0},{title:"Wine futures",path:m.f.wineFutures,isLink:!0},{title:"Wine Directory",path:m.f.wineDirectory,isLink:!0}]},{title:"Resources",navItems:[{title:"Blog",path:m.f.blog,isLink:!0},{title:"Help",path:m.f.help,isLink:!0},{title:"Contact us",path:m.f.contactUs,isLink:!0},{title:"Privacy policy",path:m.f.privacyPolicy,isLink:!0},{title:"T&C",path:m.f.terms,isLink:!0},{title:"Accessibility",path:m.f.accessibility,isLink:!0}]}];var W=n(68827),F=n.n(W),R=n(74761),L=n.n(R);let D=[{icon:{src:"/_next/static/media/twitter.7e7c8443.svg",height:14,width:17,blurWidth:0,blurHeight:0},href:"https://twitter.com/Vinovest1",name:"twitter"},{icon:{src:"/_next/static/media/facebook.2d597944.svg",height:17,width:8,blurWidth:0,blurHeight:0},href:"https://www.facebook.com/vinovestofficial/",name:"facebook"},{icon:{src:"/_next/static/media/instagram.9753d9b2.svg",height:19,width:19,blurWidth:0,blurHeight:0},href:"https://www.instagram.com/vinovest",name:"instagram"},{icon:{src:"/_next/static/media/linkedin.7ad00897.svg",height:16,width:16,blurWidth:0,blurHeight:0},href:"https://www.linkedin.com/company/vinovest",name:"linkedin"}],T=()=>(0,a.jsxs)("ul",{className:L().styledList,children:[(0,a.jsx)("li",{className:"text-right",children:(0,a.jsx)("span",{children:"Follow"})}),D.map(e=>(0,a.jsx)("li",{children:(0,a.jsx)(p(),{href:e.href,rel:"noopener noreferrer",target:"_blank",children:(0,a.jsx)(F(),{src:e.icon,width:"30",height:"30",alt:e.name})})},e.name))]}),M=e=>{let{title:t,items:n}=e;return(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"".concat(h().footerTitle," text-brown-300"),children:t}),(0,a.jsx)("nav",{className:h().styledNavigation,children:n.map(e=>(0,a.jsx)(p(),{href:e.path,children:e.title},e.title))})]})},H=()=>(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:h().navWrapper,children:[(0,a.jsx)("div",{className:h().navigationColumnsWrapper,children:E.map(e=>{let{title:t,navItems:n}=e;return(0,a.jsx)(M,{items:n,title:t},t)})}),(0,a.jsxs)("div",{className:h().bottomWrapper,children:[(0,a.jsx)(A,{}),(0,a.jsx)(T,{})]})]})});var B=n(5811),P=n(13837),z=n.n(P),I=n(80035),q=n(21222),V=n(22293),O=n(19101);class U{async subscribe(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"website_footer";if(this.isSubmitting)return!1;this.isSubmitting=!0,this.error="";try{var n;let a=await O.aj.post(q.A.POST_NEWSLETTER_SUBSCRIPTION,{headers:{"Content-Type":"application/json"},body:{email:e,source:t}});if(!a.ok||!(null==(n=a.data)?void 0:n.subscribed))throw Error("Newsletter subscription failed");return(0,I.h5)(()=>{this.isSubscribed=!0}),!0}catch(e){return console.error("failed to subscribe to newsletter",e),V.y.captureException(e,{extra:{source:t}}),(0,I.h5)(()=>{this.error="We could not subscribe you right now. Please try again."}),!1}finally{(0,I.h5)(()=>{this.isSubmitting=!1})}}constructor(){this.isSubmitting=!1,this.isSubscribed=!1,this.error="",(0,I.l_)(this,{subscribe:I.XI.bound})}}let Y=(0,B.PA)(()=>{let e=(0,B.iz)(()=>new U),[t,n]=(0,s.useState)(""),[i,l]=(0,s.useState)("");return(0,s.useEffect)(()=>
1{l("email address")},[]),(0,a.jsxs)("div",{className:z().newslettersWrapper,children:[(0,a.jsx)("h3",{className:"".concat(h().footerTitle," ").concat(z().footerTitle," text-brown-300"),children:"Sign up for the newsletter!"}),(0,a.jsx)("form",{className:z().newsletterInputWrapper,onSubmit:a=>{a.preventDefault(),e.subscribe(t).then(e=>{e&&n("")})},children:e.isSubscribed?(0,a.jsx)("div",{className:z().isSubscribed,children:"You're now subscribed to our newsletter"}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("input",{"aria-label":"Email address for newsletter",placeholder:i,value:t,onChange:e=>{let{target:t}=e;n(null==t?void 0:t.value)},type:"email",required:!0}),(0,a.jsx)("button",{"aria-label":"Subscribe to newsletter",disabled:e.isSubmitting,children:(0,a.jsxs)("svg",{width:"35",height:"22",viewBox:"0 0 35 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("line",{x1:"8.74228e-08",y1:"11",x2:"32",y2:"11",stroke:"#242E35",strokeWidth:"2"}),(0,a.jsx)("path",{d:"M23 1L33 11L23 21",stroke:"#242E35",strokeWidth:"2"})]})}),e.error?(0,a.jsx)("p",{className:z().error,role:"alert",children:e.error}):null]})})]})});var X=n(37252),Z=n.n(X);let $=[{title:"Champagne (Taste, Best Bottles, Price)",link:"/blog/champagne"},{title:"How to Make a Mimosa (Recipe, Wine Ideas, Serving)",link:"/blog/mimosa"},{title:"Easy Sangria Recipes (Tips, Best Wines)",link:"/blog/sangria"},{title:"Malbec Wine - Winemaking, Best Wines, Prices",link:"/blog/malbec-wine"},{title:"Sauvignon Blanc (Best Wines, Taste, Prices)",link:"/blog/sauvignon-blanc"}],G=()=>(0,a.jsxs)("div",{className:"".concat(Z().recentArticlesWrapper," flex flex-col gap-4"),children:[(0,a.jsx)("h3",{className:"".concat(h().footerTitle," ").concat(Z().footerTitle," text-brown-300"),children:"Recent articles"}),$.map(e=>{let{title:t,link:n}=e;return(0,a.jsx)(p(),{href:n,className:"text-brown-300",children:t},t)})]}),K={src:"/_next/static/media/Stat_wine_left_2.d1db19bc.svg",height:164,width:116,blurWidth:0,blurHeight:0},J={src:"/_next/static/media/whiskey-barrel.fb2ad07a.svg",height:152,width:150,blurWidth:0,blurHeight:0};var Q=n(43019);let ee=()=>(0,a.jsxs)("div",{className:"mt-10 w-full text-platinum-800 px-6 relative",children:[(0,a.jsx)("div",{className:"absolute h-1/2 bottom-0 left-0 right-0 bg-platinum-800"}),(0,a.jsxs)("div",{className:"relative flex flex-col mx-auto md:py-20 pt-6 px-6 bg-brown-400 items-center z-10 container text-center max-w-[980px]",children:[(0,a.jsx)("h2",{className:"text-45 lg:text-64 font-roslindale mb-10",children:"Start investing in minutes"}),(0,a.jsx)("p",{className:"text-20 mb-10",children:"Open an account, make a deposit, and start growing your wealth."}),(0,a.jsx)(C.$n,{variant:"custom",href:Q.ut.signup.href,padding:"px-16",classnames:"bg-platinum-800 text-brown-300 h-[74px] text-[16px] flex items-center",children:"Start investing"}),(0,a.jsx)("div",{className:"absolute bottom-[-8px] left-7 hidden md:block w-[116px]",children:(0,a.jsx)(F(),{src:K,width:116,height:164,alt:"two glasses",layout:"responsive"})}),(0,a.jsx)("div",{className:"md:absolute bottom-[0px] right-7 mt-10 md:mt-0 h-[150px] w-full md:w-[150px]",children:(0,a.jsx)("div",{className:"relative h-[150px] w-[150px] mx-auto",children:(0,a.jsx)(F(),{src:J,alt:"whiskey",layout:"fill",objectFit:"contain",className:"w-[150px] h-[150px] left-[50%] md:left-0"})})})]})]});var et=n(81324);let en={src:"/_next/static/media/AppStore.c82c838a.svg",height:48,width:141,blurWidth:0,blurHeight:0};function ea(){return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://apps.apple.com/us/app/vinovest-fine-wine-investing/id1569111311",className:"mr-5",children:(0,a.jsx)(F(),{src:en,width:"140",height:"48",alt:"App Store"})})})}var es=n(82975),ei=n.n(es);let el={src:"/_next/static/media/GooglePlay.2f577c92.svg",height:48,width:160,blurWidth:0,blurHeight:0};function er(){return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://play.google.com/store/apps/details?id=co.vinovest.portfolio",children:(0,a.jsx)(F(),{src:el,width:"160",height:"48",alt:"Google Play"})})})}let eo=()=>(0,a.jsxs)("div",{className:ei().supportWrapper,children:[(0,a.jsx)("h3",{className:"".concat(h().footerTitle," ").concat(ei().footerTitle," text-brown-300"),children:"Want to talk wine investing?"}),(0,a.jsxs)("div",{className:ei().bindWithSupport,children:[(0,a.jsx)("div",{className:ei().imgWrap,children:(0,a.jsx)(F(),{src:et.A,width:40,height:40,alt:"Make
1nzie"})}),(0,a.jsxs)("div",{className:ei().links,children:[(0,a.jsx)("a",{href:"mailto:[email protected]?subject=I've%20got%20a%20question%20about%20Vinovest",children:"[email protected]"}),(0,a.jsx)("a",{className:ei().bottomLink,href:"mailto:[email protected]?subject=I've%20got%20a%20question%20about%20Vinovest",children:"will reply in 48hrs"})]})]}),(0,a.jsx)("span",{id:"bbblink",className:"".concat(ei().accreditedBBB," ruhzbum"),title:"Vinovest Inc., Wholesale Wine, Culver City, CA",children:(0,a.jsx)("img",{className:ei().accreditedImg,id:"bbblinkimg",src:"https://seal-sanjose.bbb.org/logo/ruhzbum/vinovest-1284751.png",width:"300",height:"68",loading:"lazy",alt:"Vinovest Inc., Wholesale Wine, Culver City, CA"})}),(0,a.jsxs)("div",{className:"stores mt-14",children:[(0,a.jsx)(ea,{}),(0,a.jsx)(er,{})]})]}),ec=e=>{let{showFooterInvestingBanner:t}=e;return(0,a.jsxs)(a.Fragment,{children:[t&&(0,a.jsx)(ee,{}),(0,a.jsxs)("footer",{className:h().footerContainerDark,children:[(0,a.jsxs)("div",{className:h().gridContainer,children:[(0,a.jsx)("div",{className:"".concat(h().a," border-pla"),children:(0,a.jsx)(H,{})}),(0,a.jsx)("div",{className:h().b,children:(0,a.jsx)(G,{})}),(0,a.jsx)("div",{className:h().c,children:(0,a.jsx)(Y,{})}),(0,a.jsx)("div",{className:h().d,children:(0,a.jsx)(eo,{})})]}),(0,a.jsx)(g,{})]})]})},ed=e=>(0,a.jsx)(ec,{...e});var eu=n(60620);let eh=s.createContext(null);var em=n(50978),ex=n(74426),ep=n(147),ef=n(80293),ev=n(20118),eg=n(54356),eb=n(11254);let ej={statements:(0,eb.createRoute)("/activity/statements"),transactions:(0,eb.createRoute)("/activity/transactions")},ew=e=>e,ey=[{to:Q.ut.home.href,label:"Home",exact:!0,isActive:ew},{to:Q.ZQ.howItWorks.href,label:"How it Works",exact:!0,isActive:ew},{to:Q.ut.trackRecord.href,label:"Track Record",exact:!0,isActive:ew},{to:Q.ut.experiences.href,label:"Experiences",exact:!0,isActive:ew},{to:Q.ut.aboutUs.href,label:"About",exact:!0,isActive:ew},{to:Q.ut.blog.href,label:"Blog",exact:!0,isActive:ew}];Q.ut.aboutUs.href,Q.ZQ.help.href;let ek=[{to:Q.ut.invest.href,label:"Wine"},{to:Q.ut.invest.href,label:"Whiskey",track:{metaData:{initiator:"select_whiskey"}}}],eN=[{to:Q.y_.portfolio.href,label:"All Assets"},{to:Q.y_.winePortfolio.href,label:"Wine"},{to:Q.y_.whiskeyPortfolio.href,label:"Whiskey",track:{metaData:{initiator:"select_whiskey_portfolio"}}}],eC=[{to:ej.transactions.href,label:"Transactions"},{to:ej.statements.href,label:"Statements"}],e_=[{to:Q.ut.invest.href,label:"Invest"},{to:Q.z0.marketplace.href,label:"Marketplace",track:{eventName:eg.z.ViewTradingPortfolio,metaData:{initiator:"mobile_navigation"}}},{to:Q.y_.portfolio.href,label:"Portfolio"},{to:Q.ut.experiences.href,label:"Experiences",exact:!0,isActive:ew},{to:ej.transactions.href,label:"Activity"}];n(71448);var eS=n(54819),eA=n(70323),eE=n(48700),eW=n(56928),eF=n(29832),eR=n(75472),eL=n(18284),eD=n(77930),eT=n(81217),eM=n(51589),eH=n(95800),eB=n(21145),eP=n(49861),ez=n(8361),eI=n(77915);let eq={custom:"",primary:"bg-[#ffffff]",active:"bg-[#f1f1f1]"},eV=e=>{let{children:t,link:n,variant:s,onClick:l,track:r,topLevel:o=""}=e;(0,eI.b)();let c=(0,i.useRouter)(),d=o&&"/"!=o&&c.pathname.includes(o)&&n.includes(o)||c.pathname===n?"active":"primary",{captureEvent:u}=(0,ez.z)(),h=(null==r?void 0:r.eventName)?()=>{u(r.eventName,r.metaData),l&&l()}:l;return(0,a.jsx)("li",{onClick:h,className:"cursor-pointer flex items-center text-platinum-800 whitespace-nowrap",children:n?(0,a.jsx)(p(),{href:n,className:"flex items-center !hover:no-underline px-[20px] py-[5px] rounded-[100px] ".concat(eq[s||d]),children:t}):(0,a.jsx)("span",{className:"flex items-center !hover:no-underline px-[20px] py-[5px] rounded-[100px]",children:t})})};var eO=n(82739),eU=n(15703);let eY=()=>{let e=(0,i.useRouter)(),[t,n]=(0,s.useState)("");return(0,s.useEffect)(()=>e.pathname.includes("/portfolio")?n("portfolio"):e.pathname.includes("/activity")?n("activity"):n(""),[e]),(0,a.jsx)(a.Fragment,{children:("invest"===t||"portfolio"===t||"activity"===t)&&(0,a.jsx)(C.so,{classnames:"items-center w-full relative max-w-full overflow-x-scroll pb-4 md:pb-0 md:overflow-x-hidden md:max-w-[1600px] mx-auto mt-6 md:my-8",children:(0,a.jsxs)("ul",{className:"flex items-center relative px-2 md:px-0 max-w-[800px] mx-auto",children:["invest"===t&&(0,a.jsx)(a.Fragment,{children:ek.map(e=>(0,a.jsx)(eV,{link:String(e.to),children:e.label},e.to))}),"portfolio"===t&&(0,a.jsx)(a.Fragment,{children:eN.map(e=>(0,a.jsx)(eV,{link:String(e.to),children:e.label},e.to))}),"activity"===t&&(0,a.jsx)(a.Fragment,{children:eC.map(e=>(0,a.jsx)(eV,{link:String(e.to),children:e.label},e.to))})]})})})};var eX=n(95889),eZ=n(69136);let e$=e=>{var t,n;let{dashboard:l,needsOnboardingTour:r}=e,{isDesktop:o}
1=(0,eH.l)(),c=(0,i.useRouter)(),[d,u]=(0,s.useState)(""),h="/".concat(d),{setDestinationPortfolio:m,setDepositAmount:x}=(0,s.useContext)(eW.cR),{data:p,isSuccess:f}=(0,eD.T)(),{data:v,isSuccess:g}=(0,eZ.R)(),b=()=>{var e,t,n,a;let s=(p&&f?((null==p||null==(e=p.positionTotal)?void 0:e.amount)||0)+((null==p||null==(t=p.cash)?void 0:t.amount)||0):0)||0,i=(v&&g?((null==v||null==(n=v.positionTotal)?void 0:n.amount)||0)+((null==v||null==(a=v.cash)?void 0:a.amount)||0):0)||0;return{managedBalance:s,tradingBalance:i,totalBalance:s+i||0}},j=(0,s.useMemo)(()=>c.pathname.startsWith(ev.ut.upsell.href),[c.pathname]);(0,s.useEffect)(()=>c.pathname.includes("/portfolio")?u("portfolio"):c.pathname.startsWith("/trade")?u("trade"):c.pathname.startsWith("/activity")?u("activity"):u(""),[c]);let w=()=>{if(m(eB.g.managed),x(0),b().totalBalance)return void eL.HW.openModal(c,eL.hJ);eL.HW.openModal(c,eL.U6)},y=()=>j?null:(0,a.jsx)(eE.G,{eventName:ex.z.AddFunds,metaData:{initiator:ex.OV.Header},children:(0,a.jsx)(ep.$n,{variant:"custom",classnames:"text-14 bg-green-600 text-white py-2! px-4! capitalize hover:bg-opacity-90 whitespace-nowrap",onClick:w,children:"Add Funds"})});return(0,a.jsxs)(C.so,{classnames:"w-full grow bg-[#ffffff] flex-col",children:[(0,a.jsxs)(C.so,{classnames:"items-center justify-between w-full relative mx-auto h-[75px] px-2 lg:px-6",children:[(0,a.jsx)("ul",{className:"hidden lg:flex lg:items-center w-[40%] gap-[10px]",children:e_.map(e=>(0,a.jsxs)(eV,{link:String(e.to),topLevel:h,children:[e.label,"Portfolio"===e.label&&(0,a.jsxs)(a.Fragment,{children:[": ",b().totalBalance>0?(0,a.jsxs)("span",{className:"text-brown-600",children:["\xa0",(0,eX.BB)((()=>{var e,t;let n=p&&f&&(null==p||null==(e=p.positionTotal)?void 0:e.amount)||0,a=v&&g&&(null==v||null==(t=v.positionTotal)?void 0:t.amount)||0;return{managedBalance:n,tradingBalance:a,totalBalance:n+a||0}})().totalBalance)]}):(0,a.jsx)("div",{children:(0,a.jsx)("span",{children:"\xa0$0"})})]})]},e.label))}),(0,a.jsx)(C.so,{classnames:"hidden lg:flex lg:items-center",children:(0,a.jsx)(C.az,{classnames:"".concat(o||!o&&l?"block w-[75px]":"hidden"," "),children:(0,a.jsx)(eu.gu,{type:"standard"})})}),(0,a.jsx)(C.so,{classnames:"hidden lg:block min-w-[40%]",children:(0,a.jsxs)(C.so,{classnames:"w-full gap-6 items-center flex justify-end self-end",children:[(0,a.jsx)(C.az,{classnames:"hidden lg:block",children:(0,a.jsxs)("button",{className:"flex items-center justify-end",onClick:()=>{eL.HW.openModal(c,eL.X2)},children:[(0,a.jsx)(eP.cW,{stroke:"#000",width:"18px",height:"18px"}),(0,a.jsx)("span",{className:"absolute left-[-9999px]",children:"Invite"})]})}),(0,a.jsx)(C.az,{classnames:"hidden lg:block",children:(0,a.jsx)(ep.Az,{})}),(0,a.jsx)(C.az,{classnames:"hidden lg:block",children:(0,a.jsxs)("button",{className:"flex items-center !hover:no-underline px-[20px] py-[5px] rounded-[100px] bg-[#f1f1f1]",onClick:()=>{if(m(eB.g.managed),x(0),b().totalBalance)return void eL.HW.openModal(c,eL.hJ);eL.HW.openModal(c,eL.U6)},children:[(0,a.jsx)(eP.nJ,{stroke:"#000",width:"18px",height:"18px"}),(0,a.jsx)("span",{className:"ml-2",children:(0,eX.zX)(((null==p||null==(t=p.cash)?void 0:t.amount)||0)+((null==v||null==(n=v.cash)?void 0:n.amount)||0))}),(0,a.jsx)("span",{className:"absolute left-[-9999px]",children:"Wallet"})]})}),(0,a.jsx)(C.az,{classnames:"ml-0",children:l?(0,a.jsx)(eO.Y,{needsOnboarding:r,stepNumber:0,baseTargetSelector:eU.DASHBOARD_ONBOARDING_TOUR_STEP_ONE_BASE_SELECTOR,containerClassNames:"w-min",maximumAllowedScreenSize:"desktop",children:(0,a.jsx)(y,{})}):(0,a.jsx)(y,{})})]})})]}),(0,a.jsx)(eY,{})]})};var eG=n(10082),eK=n(78414);let eJ=()=>{let{open:e,closeModal:t}=(0,eK.K)(eL.X2);return(0,a.jsx)(C.aF,{classnames:"max-w-[650px] w-11/12",open:e,setOpen:t,modalKey:eL.X2,children:(0,a.jsxs)("div",{className:"md:px-8! md:pt-6!",children:[(0,a.jsx)(C.DZ,{level:"h3",fontWeight:"font-normal",classnames:"xs:pt-4! sm:pt-0! md:pt-0! mb-4 mx-auto max-w-[530px] text-center text-transforn-none xs:text-[24px]! md:text-[45px]! leading-snug!",children:"Get up to 3 months of free storage and insurance when you refer a friend"}),(0,a.jsx)(C.EY,{classnames:"mb-6 mx-auto max-w-[500px] text-center text-[14px]",children:"Share the wealth. When you refer your friends to Vinovest, you'll both receive up to 3 months of free storage and insurance."}),(0,a.jsx)(eG.d,{}),(0,a.jsx)(C.DZ,{level:"h4",classnames:"mt-6 text-[24px]!",children:"How It Works"}),(0,a.jsx)(C.EY,{classnames:"font-normal mt-6 font-roslindale text-[18px]",children:"Refer a friend"}),(0,a.jsx)(C.EY,{classnames:"text-[14px]",children:"Refer a friend to Vinovest using your personal referral link"}),(0,a.jsx)(C.EY,{classnames:"font-normal mt-6 font-roslindale text-[18px]",children:"Get rewards"}),(0,a.jsx)(C.EY,{classnames:"text-[14px] max-w-[500px]",children:"When your friend funds a Curated Cellar, you'll both get 3 months of free storage and insurance and 1 month of no trading fees. If your friend funds a Self-directed Cellar, you'll both get 1 month of no managed and trading fees."}),(0,a.jsxs)(C.EY,{classnames:"font-normal mt-6 font-roslindale text-[18px]",children:[" ","Repeat and save"]}),(0,a.jsx)(C.EY,{classnames:"text-[14px] mb-6",children:"There's no limit to how many friends you can refer or your potential savings"})]})})};var eQ=n(47201),e0=n(87648),e1=n(67950),e2=n(88967);let e5=e=>e&&0!==e.length?e.reduce((e,t)=>
1{var n,a,s,i;let l=String(null!=(a=null==t?void 0:t.type)?a:"").toLowerCase(),r=String(null!=(s=null==t?void 0:t.status)?s:"pending").toLowerCase();return"withdrawal"!==l||"pending"!==r?e:e+Math.abs(Number(null!=(i=null==t||null==(n=t.money)?void 0:n.amount)?i:0))},0):0,e3=e=>{var t,n;let{cashBalance:l,tradingCashBalance:r}=e,{open:o,closeModal:c}=(0,eK.K)(eL.hJ),{data:d}=(0,eZ.R)(),{data:u}=(0,eD.T)(),{data:h}=(0,e0.z)(),{data:m}=(0,eQ.A)(null==u?void 0:u.id),{data:x}=(0,eQ.A)(null==d?void 0:d.id),{setDestinationPortfolio:p,setDefaultPaymentSourceID:f}=(0,s.useContext)(eW.cR),v=(0,i.useRouter)(),g=(null==d||null==(t=d.cash)?void 0:t.amount)&&(null==d||null==(n=d.cash)?void 0:n.amount)>0?null==d?void 0:d.id:null==u?void 0:u.id,b=(null==u?void 0:u.isPrepaidFeeEligible)&&!(null==u?void 0:u.hasPrepaidFee),j=(null==u?void 0:u.hasPrepaidFee)&&h,w=!!(null==h?void 0:h.queuedRenewal),y=e5(m),k=e5(x);return(0,a.jsx)(C.aF,{classnames:"max-w-[660px] w-11/12",open:o,setOpen:c,modalKey:eL.hJ,children:(0,a.jsxs)("div",{className:" p-[24px]",children:[(0,a.jsxs)("div",{className:"flex items-stretch justify-center gap-4 flex-wrap",children:[(0,a.jsxs)("div",{className:"bg-gray-200 rounded-[20px] p-[20px] mx-auto w-full text-center text-[14px]",children:[(0,a.jsx)("p",{className:"font-vinovestmedium text-gray-500 font-normal text-14 uppercase",children:"Total balance"}),(0,a.jsx)("p",{className:"font-roslindale text-[44px] font-light! mt-[10px]",children:(0,eX.zX)(l+r)})]}),(0,a.jsxs)("div",{className:"bg-gray-200 rounded-[20px] p-[20px] mx-auto max-w-[500px] w-full md:w-[48%] text-center text-[14px]",children:[(0,a.jsx)("p",{className:"font-vinovestmedium text-gray-500 font-normal text-14 uppercase",children:"Managed Investing"}),(0,a.jsx)("p",{className:"font-roslindale text-32 font-light! mt-[10px]",children:(0,eX.zX)(l)}),y>0&&(0,a.jsx)("p",{className:"mt-[6px] text-12 text-amber-700 font-vinovestmedium","data-testid":"wallet-pending-withdrawal-managed",children:"Pending withdrawal: -".concat((0,eX.lq)(y)," (clears in 2 to 3 weeks)")}),(0,a.jsx)(C.$n,{variant:"platinum",classnames:"w-full my-[15px] text-[16px]",onClick:()=>{c(),p(eB.g.managed),eL.HW.openModal(v,eL.U6)},children:"Deposit"}),(0,a.jsx)("div",{className:"mt-2 text-12 text-gray-500",children:"Funds Vinovest will invest on your behalf to build and grow your portfolio."})]}),(0,a.jsxs)("div",{className:"bg-gray-200 rounded-[20px] p-[20px] mx-auto w-full md:w-[48%] text-center text-[14px]",children:[(0,a.jsx)("p",{className:"font-vinovestmedium text-gray-500 font-normal text-14 uppercase",children:"Available Balance"}),(0,a.jsx)("p",{className:"font-roslindale text-32 font-light! mt-[10px]",children:(0,eX.zX)(r)}),k>0&&(0,a.jsx)("p",{className:"mt-[6px] text-12 text-amber-700 font-vinovestmedium","data-testid":"wallet-pending-withdrawal-trading",children:"Pending withdrawal: -".concat((0,eX.lq)(k)," (clears in 2 to 3 weeks)")}),(0,a.jsx)(C.$n,{variant:"platinum",classnames:"w-full my-[15px] text-[16px]",onClick:()=>{c(),p(eB.g.trading),eL.HW.openModal(v,eL.U6)},children:"Deposit"}),(0,a.jsx)("div",{className:"mt-2 text-12 text-gray-500",children:"Funds for self directed purchases or to cover storage and insurance fees."})]})]}),b&&(0,a.jsxs)("div",{className:"mt-4 rounded-xl border border-amber-200 bg-amber-50 p-4 flex items-center justify-between",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-[14px] font-medium text-amber-800",children:"\uD83D\uDCA1 Save 15% on storage fees"}),(0,a.jsx)("p",{className:"text-[12px] text-amber-700 mt-1",children:"Prepay 24 months and lock in your rate"})]}),(0,a.jsx)(C.$n,{variant:"custom",classnames:"text-[14px] font-medium text-amber-800 underline",onClick:()=>{c(),eL.HW.open(eL.gX)},children:"Learn More"})]}),j&&(0,a.jsxs)("div",{className:"mt-4 rounded-xl border border-gray-200 bg-gray-50 p-4",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[(0,a.jsx)("p",{className:"text-[14px] font-medium",children:"Prepaid Storage Credit"}),(0,a.jsx)("span",{className:"text-[12px] text-green-600 font-medium bg-green-50 px-2 py-0.5 rounded-sm",children:"Active"})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between text-[13px]",children:[(0,a.jsx)("span",{className:"text-gray-600",children:"Locked-in rate:"}),(0,a.jsx)("span",{className:"font-medium",children:"".concat((0,eX.lq)(h.monthlyRate),"/month")})]}),null!=h.prepaidBalance&&(0,a.jsxs)("div",{className:"flex items-center justify-between text-[13px]",children:[(0,a.jsx)("span",{className:"text-gray-600",children:"Prepaid balance:"}),(0,a.jsx)("span",{className:"font-medium",children:(0,eX.lq)(h.prepaidBalance)})]}),(0,a.jsxs)("div",{className:"flex items-center justify-between text-[13px]",children:[(0,a.jsx)("span",{className:"text-gray-600",children:"Estimated remaining:"}),(0,a.jsx)("span",{className:"font-medium",children:"~".concat((0,e2.Zg)(h)," months")})]}),(0,a.jsx)("p",{className:"text-[12px] text-gray-500",children:e2.JC}),(0,a.jsxs)("div",{className:"flex items-center justify-between text-[13px]",children:[(0,a.jsx)("span",{className:"text-gray-600",children:"Estimated through:"}),(0,a.jsx)("span",{className:"font-medium",children:(0,e2.MX)((0,e2.fL)(h))})]})]}),(0,a.jsx)("div",{className:"border-t border-gray-200 mt-3 pt-3 space-y-2",children:(0,a.jsxs)("div",{className:"flex items-center justify-between text-[13px]",children:[(0,a.jsx)("span",{className:"text-gray-600",children:"Current portfolio fee:"}),(0,a.jsx)("span",{className:"font-medium",children:"".concat((0,eX.lq)(h.currentMonthlyFee),"/month")})]})}),!w&&(null==u?void 0:u.isPrepaidFeeEligible)&&3>=(0,e2.Zg)(h)&&(0,a.jsx)(C.$n,{variant:"custom",classnames:"w-full mt-3 text-[13px] font-medium text-amber-800 underline",onClick:()=>{c(),eL.HW.open(eL.gX)},children:"Lock in your rate — Renew now"}),w&&h.queuedRenewal&&(0,a.jsxs)("div",{className:"mt-3 rounded-lg border border-blue-200 bg-blue-50 p-3",children:[(0,a.jsx)("p",{className:"text-[13px] font-medium text-blue-800",children:"Renewal Scheduled"}),(0,a.jsx)("p",{className:"text-[12px] text-blue-700 mt-1",children:e2.YJ}),(0,a.jsxs)("div",{className:"mt-2 space-y-1",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between text-[12px]",children:[(0,a.jsx)("span",{className:"text-blue-600",children:"Duration:"}),(0,a.jsx)("span",{children:"".concat(h.queuedRenewal.months," months")})]}),(0,a.jsxs)("div",{className:"flex items-center justify-between text-[12px]",children:[(0,a.jsx)("span",{className:"text-blue-600",children:"Locked-in rate:"}),(0,a.jsx)("span",{children:"".concat((0,eX.lq)(h.queuedRenewal.monthlyRate),"/month")})]}),(0,a.jsxs)("div",{className:"flex items-center justify-between text-[12px]",children:[(0,a.jsx)("span",{className:"text-blue-600",children:"Total charged:"}),(0,a.jsx)("span",{children:(0,eX.lq)(h.queuedRenewal.totalCharged)})]})]})]})]}),(0,a.jsx)("div",{className:"mt-[20px]",children:(0,a.jsxs)(C.$n,{variant:"custom",classnames:"w-full h-[60px] items-center justify-between flex border-b border-gray-200 border-t border-solid",onClick:e=>{e.preventDefault(),c(),v.push(e1.Y.autoPay.href)},children:[(0,a.jsxs)("span",{className:"flex gap-[12px] text-[14px]",children:[(0,a.jsx)(eP.Pw,{stroke:"#242E35",width:"21px",height:"18px"})," Setup auto-pay for fees"]}),(0,a.jsx)(eP.NH,{stroke:"#242E35",width:"18px",height:"12px"})]})}),(0,a.jsx)("div",{children:(0,a.jsxs)(C.$n,{variant:"custom",classnames:"w-full h-[60px] items-center justify-between flex",onClick:()=>{c(),f(g||""),p(r>0?eB.g.managed:eB.g.trading),eL.HW.openModal(v,eL.U6)},children:[(0,a.jsxs)("span",{className:"flex gap-[12px] text-[14px]",children:[(0,a.jsx)(eP.h7,{stroke:"#242E35",width:"19px",height:"20px"})," ","Transfer between accounts"]}),(0,a.jsx)(eP.NH,{stroke:"#242E35",width:"18px",height:"12px"})]})}),(0,a.jsx)("div",{children:(0,a.jsxs)(C.$n,{variant:"custom",classnames:"w-full h-[60px] items-center justify-between flex border-b border-gray-200 border-t border-solid",onClick:e=>{e.preventDefault(),c(),v.push(e1.Y.withdrawalFunds.href)},children:[(0,a.jsxs)("span",{className:"flex gap-[12px] text-[14px]",children:[(0,a.jsx)(eP.s6,{stroke:"#242E35",width:"24px",height:"24px"})," ","Withdraw Funds"]}),(0,a.jsx)(eP.NH,{stroke:"#242E35",width:"18px",height:"12px"})]})})]})})},e4=()=>{let{isDesktop:e,isMobile:t,isTablet:n}=(0,eH.l)(),l=(0,i.useRouter)(),{pageTitle:r}=(0,eM.s)(),{firstName:o}=(0,eT.uM)(),{setDestinationPortfolio:c,setDepositAmount:d}
1=(0,s.useContext)(eW.cR),[u,h]=(0,s.useState)(!1),[m,x]=(0,s.useState)("Home"),p=(0,s.useMemo)(()=>{let e=[Q.ut.invest.href];return new RegExp("(".concat(e.join("|"),")")).test(l.pathname)},[l.pathname]),{data:f,isSuccess:v}=(0,eD.T)(),{data:g,isSuccess:b}=(0,eZ.R)();(0,s.useEffect)(()=>l.pathname.endsWith("/portfolio")?x("All Assets"):l.pathname.endsWith("/wine")?x("Wine"):l.pathname.endsWith("/whiskey")?x("Whiskey"):l.pathname.startsWith("/trade")?x("Marketplace"):l.pathname.startsWith("/account")?x("Settings"):x("Home"),[l]);let w=(0,s.useMemo)(()=>l.pathname.startsWith(Q.ut.upsell.href),[l.pathname]),y=(0,s.useContext)(eF.HB),k=(0,s.useContext)(eR.hW),N=(null==y?void 0:y.needsOnboarding)||(null==k?void 0:k.needsOnboarding),_=()=>{if(c(eB.g.managed),d(0),h(!u),S().totalBalance>0)return void eL.HW.openModal(l,eL.hJ);eL.HW.openModal(l,eL.U6)},S=()=>{var e,t;let n=f&&v&&(null==f||null==(e=f.positionTotal)?void 0:e.amount)||0,a=g&&b&&(null==g||null==(t=g.positionTotal)?void 0:t.amount)||0,s=!Number.isNaN(n+a)&&n+a||0;return{managedBalance:n,tradingBalance:a,totalBalance:s}},A=()=>w?null:(0,a.jsx)(eE.G,{eventName:eg.z.AddFunds,metaData:{initiator:eg.OV.Header},children:(0,a.jsx)(ep.$n,{variant:"custom",className:"text-14 rounded-[100px] bg-green-600 text-white py-3 px-4 capitalize hover:bg-opacity-90 whitespace-nowrap",onClick:_,children:"Add Funds"})}),E=n||t||n;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("a",{href:"#main-content",className:"skip-nav",children:"Skip to main content"}),(0,a.jsx)(eS.EN,{as:"nav",id:"Header",style:{position:"-webkit-sticky",top:0,zIndex:20},className:"print:hidden bg-white sticky flex flex-col lg:px-0 shadow-xs lg:shadow-none",children:t=>{var n,i,c,d;let{open:x}=t;return(0,a.jsxs)("div",{className:"flex min-h-[75px] items-center",children:[e&&(0,a.jsx)(e$,{dashboard:p,needsOnboardingTour:N}),E&&(0,a.jsxs)(C.so,{classnames:"w-full grow bg-[#ffffff] flex-col",children:[(0,a.jsxs)(C.so,{classnames:"w-full justify-between",children:[(0,a.jsx)(C.so,{classnames:"justify-start items-center w-[33%]",children:(0,a.jsxs)(eS.EN.Button,{className:"inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-neutrals-800",children:[(0,a.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,a.jsx)(eP.v,{height:"18px",width:"22px",stroke:"#242E35"})]})}),(0,a.jsx)(C.so,{classnames:"flex-1 items-center justify-center w-[33%]",children:(0,a.jsx)(C.az,{classnames:"block w-[75px]",children:(0,a.jsx)(eu.gu,{type:"standard"})})}),(0,a.jsx)(C.so,{classnames:"flex-1 justify-end items-center w-[33%] pr-2",children:(0,a.jsx)(C.az,{children:(0,a.jsx)(A,{})})})]}),(0,a.jsx)(eY,{})]}),(0,a.jsx)(j.e.Root,{show:x,as:s.Fragment,children:(0,a.jsxs)(eA.lG,{as:"div",className:"fixed inset-0 overflow-hidden z-20",onClose:()=>h(!u),children:[(0,a.jsx)(eS.EN.Button,{className:"fixed inset-0 bg-black/60 transition-opacity w-full h-full"}),(0,a.jsx)("div",{className:"pointer-events-none fixed inset-y-0 right-0 flex pl-10 max-w-[95%]",children:(0,a.jsx)(j.e.Child,{as:s.Fragment,enter:"transform transition ease-in-out duration-500 lg:duration-700",enterFrom:"translate-x-full",enterTo:"translate-x-0",leave:"transform transition ease-in-out duration-500 lg:duration-700",leaveFrom:"translate-x-0",leaveTo:"translate-x-full",children:(0,a.jsx)("div",{className:"pointer-events-auto w-screen max-w-md",children:(0,a.jsxs)("div",{className:"flex h-full flex-col overflow-y-scroll bg-white shadow-xl relative",children:[(0,a.jsxs)("div",{className:"relative pt-2 flex flex-col text-20 px-6",children:[(0,a.jsx)("div",{className:"block absolute top-5 right-5",children:(0,a.jsxs)(eS.EN.Button,{className:"w-8 h-8 bg-neutrals-200 rounded-full text-gray-400 hover:text-gray-500 focus:outline-hidden focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 p-3",children:[(0,a.jsx)("span",{className:"sr-only",children:"Close main menu"}),(0,a.jsx)(eP.gz,{height:"12px",width:"12px",stroke:"#242E35",className:"ml-[-2px] mt-[-2px]"})]})}),p&&o?(0,a.jsxs)(C.EY,{classnames:"capitalize mt-5 mb-6 text-16",color:"text-gray-500",children:["Welcome, ",o,"!"]}):(0,a.jsx)(C.Or,{renderCondition:""!==r,placeholder:null,children:(0,a.jsx)(C.EY,{classnames:"text-16 my-4 text-gray-500 capitalize",children:m})}),(0,a.jsxs)(ef.$2,{classnames:"flex-col w-full pt-3",children:[(0,a.jsxs)(eS.EN.Button,{className:"flex items-center justify-center !hover:no-underline px-[20px] py-[5px] rounded-[100px] bg-[#f1f1f1]",onClick:_,children:[(0,a.jsx)(eP.nJ,{stroke:"#000",width:"18px",height:"18px"}),(0,a.jsx)("span",{className:"ml-2",children:(0,eX.zX)(((null==f||null==(n=f.cash
1)?void 0:n.amount)||0)+((null==g||null==(i=g.cash)?void 0:i.amount)||0))})]}),(0,a.jsx)("div",{className:"ml-[20px]",children:e_.map(e=>(0,a.jsxs)(ef.w4,{classnames:"text-20 py-5 capitalize",link:e.to,children:[e.label,"Portfolio"===e.label&&(0,a.jsxs)(a.Fragment,{children:[": ",S().totalBalance>0?(0,a.jsxs)("span",{className:"text-brown-600",children:["\xa0",(0,eX.BB)(S().totalBalance)]}):(0,a.jsx)("div",{children:(0,a.jsx)("span",{children:"\xa0$0"})})]})]},e.label))})]})]}),(0,a.jsx)("div",{className:"px-6 ml-[20px]",children:(0,a.jsxs)(ef.$2,{classnames:"flex-col w-full",children:[(0,a.jsx)(ef.w4,{link:Q.ut.account.href,classnames:"text-20 py-5 capitalize",variant:"custom",children:"Settings"}),(0,a.jsx)(ef.w4,{link:"",classnames:"text-20 py-5 capitalize",variant:"custom",onClick:()=>{h(!u),eL.HW.openModal(l,eL.X2)},children:(0,a.jsx)(eS.EN.Button,{children:"Invite"})})]})}),(0,a.jsx)("div",{className:"px-6 absolute bottom-[20px] w-full",children:(0,a.jsx)(eS.EN.Button,{onClick:_,className:"w-full capitalize text-16 text-white bg-green-600 py-3 px-4 rounded-[100px] hover:bg-opacity-90",children:"Add Funds"})})]})})})})]})},"MobileMenuTransitionRoot"),(0,a.jsx)(eJ,{}),(0,a.jsx)(e3,{cashBalance:(null==f||null==(c=f.cash)?void 0:c.amount)||0,tradingCashBalance:(null==g||null==(d=g.cash)?void 0:d.amount)||0})]})}},"ApplicationNavigation")]})},e6=e=>{let{label:t,classAddition:n}=e;return(0,a.jsx)("span",{className:"bg-blue-600 leading-none ml-2 px-1 py-1 rounded-r rounded-tl text-[8px] text-white uppercase".concat(" ".concat(n)||0),children:t})},e8=e=>{let{containerClass:t,logoClass:n}=e,i=(0,s.useContext)(eh),l=(null==i?void 0:i.themeType)==="trading"?"":"shadow-menu";return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("a",{href:"#main-content",className:"skip-nav",children:"Skip to main content"}),(0,a.jsxs)("div",{className:"flex w-full px-10 ".concat(l," ").concat(null!=t?t:""),children:[(0,a.jsx)("div",{className:null!=n?n:"",children:(0,a.jsx)(eu.gu,{type:"standard"})}),(0,a.jsx)("div",{className:"w-full flex justify-between"})]})]})},e7={custom:"",primary:"transparent",active:"bg-brown-300 text-platinum-800"},e9=e=>{let{children:t,link:n,variant:s,onClick:l,track:r}=e;(0,eI.b)();let o=(0,i.useRouter)(),c=o.pathname.startsWith(n)&&"/"!=n||o.pathname===n?"active":"primary",{captureEvent:d}=(0,ez.z)(),u=(null==r?void 0:r.eventName)?()=>{d(r.eventName,r.metaData),l&&l()}:l;return(0,a.jsx)("li",{onClick:u,className:"cursor-pointer flex items-center text-brown-300 font-vinovest-medium",children:n?(0,a.jsx)(p(),{href:n,className:"flex items-center !hover:no-underline px-[20px] py-[5px] rounded-[100px] ".concat(e7[s||c]),children:t}):(0,a.jsx)(a.Fragment,{children:t})})};var te=n(45304),tt=n.n(te);let tn=()=>{var e;let t=(0,s.useContext)(eh),n=(0,i.useRouter)(),[l,r]=(0,s.useState)(""),[o,c]=(0,s.useState)(!1),d=(null==t||t.themeType,""),u=!n.pathname.endsWith(Q.ut.home.href),h=null!=(e=null==t?void 0:t.navBackgroundColor)?e:u?"bg-platinum-850":"bg-transparent",m=()=>{window.scrollY>400?c(!0):c(!1)};return(0,s.useEffect)(()=>(window.addEventListener("scroll",m),()=>window.removeEventListener("scroll",m))),(0,s.useEffect)(()=>{n.pathname.startsWith(Q.ut.upsell.href)&&r(window.location.pathname+window.location.search)},[n,r]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("a",{href:"#main-content",className:"skip-nav",children:"Skip to main content"}),(0,a.jsx)("div",{className:"flex w-full px-10 md:h-[75px] mx-auto ".concat(d," ").concat(h," ").concat(!u?" transition-all duration-300":""," ").concat(o?"bg-platinum-850":""),children:(0,a.jsxs)("div",{className:"flex w-full items-center",children:[(0,a.jsx)("div",{className:"flex h-[75px] w-[75px] shrink-0 justify-center",children:(0,a.jsx)(eu.gu,{type:"light"})}),(0,a.jsx)(ef.$2,{classnames:"ml-9 flex items-center gap-10 whitespace-nowrap",children:ey.map(e=>{let{to:t,label:n}=e;return(0,a.jsx)("div",{className:"".concat(tt().menuContainer," font-vinovest-medium cursor-pointer flex items-center text-16 ").concat("text-brown-300"," ").concat(u?"border-brown-300":"border-black"),children:(0,a.jsx)(e9,{link:t,children:n})},n)})}),(0,a.jsxs)("div",{className:"ml-auto flex items-center justify-end",children:[(0,a.jsx)(ep.$n,{variant:"quaternary",onClick:()=>{em.X.captureEvent(ex.z.UserSelectLogin),n.push((0,ev.BC)(l))},font:"font-vinovest-medium",classnames:"text-16 h-[40px] capitalize!",padding:["px-5","py-2"],children:"Login"}),(0,a.jsx)(ep.$n,{variant:"green",onClick:()=>n.push(Q.ut.signup.href),font:"font-vinovest-medium",classnames:"ml-5 text-16 md:h-[40px] capitalize!",padding:["px-5","py-2"],children:"Get started"})]})]})})]})},ta=e=>{let{children:t,active:n}=e;return(0,a.jsx)("div",{className:"".concat(ts," ").concat(n?"":"-translate-y-full"),children:t})},ts="bg-platinum-850 duration-500 ease-in-out fixed justify-between overflow-auto bottom-0 top-0 transition-transform transform z-40 w-full items-start shadow-sm",ti=()=>
1{let[e,t]=(0,s.useState)(!1),[n,l]=(0,s.useState)(!1),r=(0,i.useRouter)(),o=()=>{window.scrollY>200?l(!0):l(!1)};return(0,s.useEffect)(()=>(window.addEventListener("scroll",o),()=>window.removeEventListener("scroll",o))),(0,a.jsxs)("div",{className:"".concat("bg-platinum-850"," flex items-center justify-between relative w-full top-0 z-20"),children:[(0,a.jsx)(ep.y$,{toggleMobileNav:()=>t(!e),color:"#efddc7",classnames:"absolute z-2 left-0 top-3 p-3"}),(0,a.jsx)("div",{className:"flex justify-center w-full",children:(0,a.jsx)(eu.gu,{type:"light"})}),(0,a.jsx)(ep.$n,{onClick:()=>{r.push(Q.ut.signup.href)},variant:"green",padding:["px-2","py-3"],classnames:"mr-[10px] flex-1 max-w-[120px] z-2 absolute right-[10px] capitalize! font-vinovestmedium transition ease-in-out duration-300 ".concat(n?"opacity-100":"opacity-0"),children:"Get Started"}),(0,a.jsxs)(ta,{active:e,children:[(0,a.jsxs)("div",{className:"flex justify-center w-full items-center",children:[(0,a.jsx)("button",{"aria-label":"close",type:"button",onClick:()=>t(!e),className:"absolute left-3 top-3 p-3",children:(0,a.jsx)(eP.gz,{height:"20px",width:"20px",stroke:"#EFDDC7"})}),(0,a.jsx)(eu.gu,{type:"light"})]}),(0,a.jsxs)("div",{className:"flex text-center py-9 px-8 border-b",children:[(0,a.jsx)(ep.$n,{onClick:()=>{em.X.captureEvent(ex.z.UserSelectLogin),r.push(Q.ut.login.href)},variant:"quaternary",padding:["px-5","py-4"],classnames:"flex-1 text-brown-400 border-brown-400 capitalize! font-vinovestmedium",children:"Log in"}),(0,a.jsx)(ep.$n,{onClick:()=>{r.push(Q.ut.signup.href)},variant:"green",padding:["px-5","py-4"],classnames:"ml-12 flex-1 capitalize! font-vinovestmedium",children:"Get Started"})]}),(0,a.jsx)(ef.$2,{classnames:"flex-col w-full",children:ey.map(n=>(0,a.jsxs)(ef.w4,{classnames:"text-18 py-7 border-b px-6 capitalize! font-vinovestmedium",fontClass:"text-brown-400",link:n.to,onClick:()=>t(!e),children:[n.label,"WHISKEYVEST"===n.label&&(0,a.jsx)(e6,{label:"New!",classAddition:"-mt-10"})]},n.label))})]})]})},tl=e=>{let{blank:t}=e,{isAuthenticated:n}=(0,eT.uM)(),s=!(0,i.useRouter)().pathname.endsWith(ev.ut.home.href);return n?(0,a.jsx)(e4,{}):(0,a.jsx)("div",{className:"print:hidden sticky ".concat(s&&"bg-platinum-850"),id:"Header",style:{position:"-webkit-sticky",top:0,zIndex:20},children:t?(0,a.jsx)(e8,{}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"hidden lg:flex",children:(0,a.jsx)(tn,{})}),(0,a.jsx)("div",{className:"lg:hidden",children:(0,a.jsx)(ti,{})})]})},"Header")},tr=e=>{let{blank:t}=e;return(0,a.jsx)(tl,{blank:t})};var to=n(9452);let tc=function(e,t){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2];return((e,t)=>{let n=e.map(e=>e.split("/").filter(Boolean).map(e=>"["===e[0]?".+?":e).join("\\/"));return new RegExp("\\/(".concat(n.join("|"),")").concat(t?"":".*"))})(e,n).test(t)},td=e=>{let{isLoading:t,children:n,blank:l,hide:r,hideHeader:u,hideAnnouncementBanner:h,theme:m,navBackgroundColor:x}=e,p=(0,i.useRouter)(),{isAuthenticated:f}=(0,eT.uM)();(()=>{let e=(0,i.useRouter)();(0,s.useEffect)(()=>(0,to.At)(()=>{e.pathname!==e1.a.EnableTwoFactor&&e.replace(e1.a.EnableTwoFactor)}),[e])})();let v=[Q.M4.Home,Q.M4.Dashboard,Q.M4.Trade,Q.M4.Compare,Q.M4.Dashboard,Q.t9.Collections],g=tc([Q.t9.WineDirectory],p.asPath,!1),b=!f&&!tc(v,p.asPath,!1),j=(0,s.useMemo)(()=>p.asPath.includes("deposit"),[p.asPath]);return r?(0,a.jsx)(a.Fragment,{children:n}):(0,a.jsx)(eh.Provider,{value:{themeType:m||(g?"trading":"brown400"),navBackgroundColor:x},children:(0,a.jsxs)(C.so,{classnames:"flex-col min-h-screen",children:[!h&&(0,a.jsx)(o,{}),!u&&(0,a.jsx)(tr,{blank:l}),(0,a.jsx)(d,{children:(0,a.jsx)(c.i,{ready:!t,children:n})}),!j&&(0,a.jsx)(ed,{showFooterInvestingBanner:b})]})})}},81324:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});let a={src:"/_next/static/media/Makenzie.f030c604.png",height:153,width:154,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAeFBMVEXQ4vFpXGC+ztvL2+vF0+KwkojI2enP4PDJ3OdMaXGAbGjo3d7durTI2Ol8eYOXjpZ+gohDKSKImarY1dqTfHbrva1pUUXs9Orp/+3l8OhgUVVOPz/K2uqBXleksL3nu7LWta6irLmpr7ja7//Mq6DQsahxV1H2//AmWf7MAAAAHHRSTlPy/Cef+v7ftzIA/fn+rv747fktsf7++HudRfCgCuqRAQAAAAlwS
1FlzAAAWJQAAFiUBSVIk8AAAAEdJREFUCJkFwYUBgDAAA7DODRiuE5z/PySB0YrzkhpoJFIFSaECKYS/GJDifosggSPmR3AJdTa5Hx2Dru3w2m+GaTu3btPyA3wQBAgwPbDcAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8}},82975:e=>{e.exports={supportWrapper:"FooterSupport_supportWrapper__o0xz1",footerTitle:"FooterSupport_footerTitle__cOkAg",accreditedBBB:"FooterSupport_accreditedBBB__WUxkd",accreditedImg:"FooterSupport_accreditedImg__OcN2P",bindWithSupport:"FooterSupport_bindWithSupport__VgfQn",last:"FooterSupport_last__mo5nT",imgWrap:"FooterSupport_imgWrap__2_b1k",links:"FooterSupport_links__RDV6g",bottomLink:"FooterSupport_bottomLink__AXOJZ",fbi_newsletter:"FooterSupport_fbi_newsletter__yuDpD"}},87648:(e,t,n)=>{"use strict";n.d(t,{z:()=>c});var a=n(1992),s=n(87786),i=n(29500),l=n(81217),r=n(77930);let o={load:async e=>{let{managed:t}=i.r.getClient(),n=await t.getPrepaidFeeStatus(e);return n.ok&&n.data?n.data:null},queryKey:(e,t)=>[s.P.getPrepaidFeeStatus,e,t]},c=()=>{var e,t;let{isAuthenticated:n,userId:s}=(0,l.uM)(),{data:i}=(0,r.T)(),c=null!=(e=null==i?void 0:i.id)?e:"",d=null!=(t=null==i?void 0:i.hasPrepaidFee)&&t;return(0,a.useQuery)(o.queryKey(s,c),async()=>o.load(c),{enabled:!!(n&&s&&c&&d),staleTime:6e4})}},88967:(e,t,n)=>{"use strict";n.d(t,{JC:()=>a,LT:()=>d,MX:()=>o,WY:()=>c,YJ:()=>i,Zg:()=>l,fL:()=>r,k9:()=>s});let a="At today's portfolio value. If your collection grows, coverage may end sooner.",s="Prepaid covers each month's fee from your balance. If your collection grows, coverage may end sooner than the original term.",i="Your renewal will activate when this prepaid balance runs out.",l=e=>{var t;return null!=(t=e.estimatedMonthsRemaining)?t:e.monthsRemaining},r=e=>{var t;return null!=(t=e.estimatedEndDate)?t:e.endDate},o=e=>{let[t,n]=e.split("-").map(Number);return new Date(t,(null!=n?n:1)-1,1).toLocaleDateString("en-US",{month:"long",year:"numeric"})},c=e=>e>100?e/100:e,d=(e,t)=>"queued"===e.status||t.some(t=>t.id<e.id)?"Prepaid Storage Renewal":"Prepaid Storage Enrolled"},95889:(e,t,n)=>{"use strict";n.d(t,{BB:()=>o,Ey:()=>l,aG:()=>d,lq:()=>i,t9:()=>c,vv:()=>s,zX:()=>r});var a=n(95243);let s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,a.D9)(),s=Number.isFinite(e)?e:0,i=t?new Intl.NumberFormat("en-US",{style:"currency",currency:n}).resolvedOptions().maximumFractionDigits:0;return s.toLocaleString(n,{currency:n,style:"currency",maximumFractionDigits:i,minimumFractionDigits:i})},i=function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,a.D9)();return s(e/100,t,n)},l=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3;return e<t?i(e>0?e+t:t).replace(/(\d)/,"0"):r(e)},r=e=>s(Math.round(e/100),!1),o=function(e){let t,n=!(arguments.length>1)||void 0===arguments[1]||arguments[1],s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,a.D9)(),i=e/100;return t=i>=1e6&&n?"".concat((i/1e6).toFixed(2),"M"):i>=1e3&&n?"".concat((i/1e3).toFixed(1),"k"):i>=1e6?"".concat(Math.round(i/1e6),"M"):i>=1e3?"".concat(Math.round(i/1e3),"k"):i.toFixed(2*!!n),new Intl.NumberFormat("en-US",{style:"currency",currency:s,maximumFractionDigits:2*!!n}).format(Number(t.replace(/[kM]/,"")))+(t.includes("k")?"k":t.includes("M")?"M":"")},c=e=>s(Math.ceil(e/100),!1),d=e=>{if(null!=e)return 100*Math.ceil(e/100)}}}]);
2//# sourceMappingURL=3387-bca5791732394c13.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.