PageSourceSearch

https://navisavitravel.com/_next/static/chunks/5102-14cb9717aec1b603.js

js navisavitravel.com collected 2026-10-09 22:41:46 UTC 34,660 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},i=(new e.Error).stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="854e69b8-0f41-43d7-bf6c-5bfdc2a49ca4",e._sentryDebugIdIdentifier="sentry-dbid-854e69b8-0f41-43d7-bf6c-5bfdc2a49ca4")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5102],{98059:function(e,i,n){n.d(i,{AV:function(){return x},Dh:function(){return g},HD:function(){return r},I5:function(){return Z},Km:function(){return c},Pk:function(){return y},Qk:function(){return u},S8:function(){return s},SM:function(){return a},_b:function(){return w},dk:function(){return v},e:function(){return p},mR:function(){return l},o_:function(){return m},qg:function(){return d},sV:function(){return b},tl:function(){return h},yY:function(){return f}});var t=n(15437),o=n(46347);let r=(0,t.vJ)([".cart-delete-modal-icon{width:auto !important;height:auto !important;border:none !important;margin:0 auto -0.4rem !important;}.cart-delete-modal-icon .swal2-icon-content{display:block !important;}.cart-delete-modal-popup{border-radius:8px !important;font-family:"," !important;}.cart-delete-modal-confirm{border-radius:8px !important;background:"," !important;font-family:"," !important;font-weight:"," !important;}.cart-delete-modal-cancel{border-radius:8px !important;background:"," !important;font-family:"," !important;font-weight:"," !important;}"],o.cp.fontFamily.primary,o.O9.brand.pink,o.cp.fontFamily.primary,o.cp.weight.bold,o.O9.text.primary,o.cp.fontFamily.primary,o.cp.weight.bold),d=t.ZP.div.withConfig({componentId:"sc-f2166463-0"})(["width:100%;min-height:200px;padding:2rem;display:grid;grid-template-columns:130px minmax(0,1fr) auto;gap:3.2rem;border:1px solid ",";border-radius:8px;background:",";box-sizing:border-box;@media screen and (max-width:650px){grid-template-columns:110px minmax(0,1fr);gap:1.6rem;padding:1.6rem;}@media screen and (max-width:480px){grid-template-columns:1fr;}"],o.O9.border.medium,o.O9.background.panel),l=t.ZP.div.withConfig({componentId:"sc-f2166463-1"})(["width:130px;height:130px;border-radius:8px;overflow:hidden;position:relative;background:",";@media screen and (max-width:650px){width:110px;height:110px;}@media screen and (max-width:480px){width:100%;height:180px;}"],o.O9.background.soft),c=t.ZP.div.withConfig({componentId:"sc-f2166463-2"})(["display:flex;flex-direction:column;justify-content:space-between;gap:1rem;"]),a=t.ZP.div.withConfig({componentId:"sc-f2166463-3"})(["min-width:0;position:relative;.title{margin:0;color:",";font-size:2rem;font-weight:",";line-height:",";}.meta{margin:0.8rem 0 0;color:",";font-size:",";font-weight:",";letter-spacing:0.12em;text-transform:uppercase;}.description{margin:0.8rem 0 0;color:",";font-size:",";line-height:",";font-weight:400;}@media screen and (max-width:650px){.title{font-size:",";}.description{font-size:",";}}"],o.O9.text.primary,o.cp.weight.bold,o.cp.lineHeight.heading,o.O9.text.muted,o.cp.body.xs,o.cp.weight.semibold,o.O9.text.secondary,o.cp.body.md,o.cp.lineHeight.body,o.cp.body.lg,o.cp.body.sm),s=t.ZP.div.withConfig({componentId:"sc-f2166463-4"})(["min-width:15rem;display:flex;flex-direction:column;justify-content:center;align-items:center;.price{margin:0 0 0.8rem;color:",";font-size:2.4rem;font-weight:400;line-height:",";width:max-content;}.status{margin:0;color:",";font-size:",";font-weight:400;letter-spacing:0.16em;text-transform:uppercase;text-align:center;max-width:18rem;}@media screen and (max-width:650px){align-items:flex-start;.price{font-size:",";}}"],o.O9.text.secondary,o.cp.lineHeight.heading,o.O9.text.muted,o.cp.body.xs,o.cp.body.xl),p=t.ZP.div.withConfig({componentId:"sc-f2166463-5"})(["margin-top:1.2rem;"]),m=t.ZP.div.withConfig({componentId:"sc-f2166463-6"})(["display:flex;align-items:center;"]),u=t.ZP.button.withConfig({componentId:"sc-f2166463-7"})(["display:inline-flex;margin-top:1rem;padding:0;border:none;background:transparent;cursor:pointer;align-items:center;gap:0.5rem;color:",";font-family:",";&:hover span{text-decoration:underline;}svg{flex-shrink:0;}"],o.O9.brand.pink,o.cp.fontFamily.primary),h=t.ZP.span.withConfig({componentId:"sc-f2166463-8"})(["color:",";font-size:",";font-weight:400;"],o.O9.brand.pink,o.cp.body.sm);t.ZP.span.withConfig({componentId:"sc-f2166463-9"})(["display:inline-flex;align-items:center;"]);let g=t.ZP.button.withConfig({componentId:"sc-f2166463-10"})(["width:10rem;height:3.2rem;font-size:",";border-radius:8px;border:1px solid ",";background:",";color:",";margin:1.2rem 0 0;cursor:pointer;font-family:",";&:hover{border-color:",";color:",";}"],o.cp.body.xs,o.O9.border.medium,o.O9.background.panel,o.O9.text.secondary,o.cp.fontFamily.primary,o.O9.border.pinkSoft,o.O9.brand.pink),f=t.ZP.div.withConfig({componentId:"sc-f2166463-11"})(["display:flex;flex-direction:column;"]),v=t.ZP.p.withConfig({componentId:"sc-f2166463-12"})(["margin:0;color:",";font-size:",";line-height:",";
1"],o.O9.text.secondary,o.cp.body.sm,o.cp.lineHeight.body),b=t.ZP.ul.withConfig({componentId:"sc-f2166463-13"})(["position:absolute;background:",";display:",";width:auto;max-width:80%;margin:0.6rem 0 0;border-radius:8px;border:1px solid ",";padding:1rem;box-shadow:0 8px 24px ",";z-index:100;list-style:none;"],o.O9.background.panel,e=>{let{$show:i}=e;return i?"block":"none"},o.O9.border.soft,o.O9.shadow.soft),w=t.ZP.div.withConfig({componentId:"sc-f2166463-14"})(["width:100%;padding:2rem;display:grid;grid-template-columns:130px minmax(0,1fr);gap:3.2rem;align-items:center;border:1px solid ",";border-radius:8px;background:",";box-sizing:border-box;@media screen and (max-width:650px){grid-template-columns:110px minmax(0,1fr);gap:1.6rem;padding:1.6rem;}@media screen and (max-width:480px){grid-template-columns:1fr;}"],o.O9.border.medium,o.O9.background.panel),x=t.ZP.div.withConfig({componentId:"sc-f2166463-15"})(["width:100%;display:flex;justify-content:space-between;gap:2rem;align-items:flex-start;@media screen and (max-width:650px){flex-direction:column;}"]),y=t.ZP.div.withConfig({componentId:"sc-f2166463-16"})(["max-width:75%;h3{margin:0;color:",";font-size:2rem;font-weight:",";line-height:",";}p{margin:0.8rem 0 0;color:",";font-size:2rem;font-weight:",";}@media screen and (max-width:650px){max-width:100%;h3,p{font-size:",";}}"],o.O9.text.primary,o.cp.weight.bold,o.cp.lineHeight.heading,o.O9.brand.pink,o.cp.weight.bold,o.cp.body.lg),Z=t.ZP.button.withConfig({componentId:"sc-f2166463-17"})(["display:inline-flex;align-items:center;gap:0.6rem;padding:0;border:none;background:transparent;color:",";font-family:",";font-size:",";font-weight:",";cursor:pointer;&:hover{text-decoration:underline;}svg{flex-shrink:0;}"],o.O9.brand.pink,o.cp.fontFamily.primary,o.cp.body.sm,o.cp.weight.semibold)},35102:function(e,i,n){n.d(i,{Z:function(){return ew}});var t=n(62364),o=n(67294),r=n(11163),d=n(29496),l=n(47041),c=n(81292),a=n(42727),s=n(89600),p=n(25675),m=n.n(p),u=n(86455),h=n.n(u),g=n(97762);let f=(0,n(1462).Z)("trash",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}]]);var v=n(5810),b=n(46669),w=n(46347),x=n(62554),y=n(98059),Z=e=>{let{item:i}=e,{removeFromCart:n}=(0,v.iQ)(),{windowWidth:r}=(0,b.bp)(),[d,l]=(0,o.useState)(!1),c=o.useRef(null),a=o.useRef(null),s=r<=650,p=(0,o.useMemo)(()=>(0,g.Dq)((0,t.tZ)(f,{size:22,strokeWidth:2,color:w.O9.brand.pink})),[]),u=async e=>{(await h().fire({title:"Remove from cart?",text:"This item will be removed from your cart.",icon:void 0,iconHtml:'\n        <div style="\n          width: 40px;\n          height: 40px;\n          border-radius: 8px;\n          background: rgba(255, 0, 138, 0.08);\n          display: flex;\n          align-items: center;\n          justify-content: center;\n        ">\n          '.concat(p,"\n        </div>\n      "),showCancelButton:!0,confirmButtonText:"Remove",cancelButtonText:"Cancel",confirmButtonColor:w.O9.brand.pink,cancelButtonColor:w.O9.text.primary,customClass:{popup:"cart-delete-modal-popup",icon:"cart-delete-modal-icon",confirmButton:"cart-delete-modal-confirm",cancelButton:"cart-delete-modal-cancel"}})).isConfirmed&&await n(e)};return((0,o.useEffect)(()=>{let e=e=>{c.current&&!c.current.contains(e.target)&&a.current&&!a.current.contains(e.target)&&l(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]),i&&0!==i.length)?(0,t.BX)(t.HY,{children:[(0,t.tZ)(y.HD,{}),i.map((e,i)=>{var n,r,p;let h=!!(null==e?void 0:null===(n=e.videos)||void 0===n?void 0:n.length);return(0,t.tZ)(o.Fragment,{children:h?null===(r=e.videos)||void 0===r?void 0:r.map((i,n)=>{let o=i.video_thumnbail&&""!==i.video_thumnbail&&"undefined"!==i.video_thumnbail?i.video_thumnbail:"/testimages/fallback-card.jpeg";return(0,t.BX)(y.qg,{children:[(0,t.BX)(y.Km,{children:[(0,t.tZ)(y.mR,{children:(0,t.tZ)(m(),{src:o,alt:(null==i?void 0:i.video_title)||"",fill:!0,style:{objectFit:"cover"}})}),(0,t.BX)(y.yY,{children:[s&&(0,t.BX)("div",{children:[(0,t.tZ)(y.Dh,{onClick:()=>l(!d),ref:a,children:"+ Details"}),(0,t.tZ)(y.sV,{$show:d,ref:c,children:e.description&&(0,t.tZ)("li",{children:(0,t.tZ)(y.dk,{children:e.description})})})]}),(0,t.BX)(y.Qk,{onClick:()=>u({planId:e.uniqueId,videoId:i.id,type:"video"}),children:[(0,t.tZ)(f,{size:14,strokeWidth:2}),(0,t.tZ)(y.tl,{children:"Remove from cart"})]})]})]}),(0,t.BX)(y.SM,{children:[(null==i?void 0:i.video_title)&&(0,t.tZ)("p",{className:"title",children:i.video_title}),i.location&&(0,t.BX)("p",{className:"meta",children:["Location: ",i.location]}),!s&&i.description&&(0,t.tZ)("p",{className:"description",children:i.description}),s&&(0,t.tZ)(y.e,{children:(0,t.BX)(y.S8,{children:[(0,t.BX)("p",{className:"price",children:["$",e.price," USD"]}),(null==e?void 0:e.stripeSubscriptionDetail)&&(0,t.tZ)("p",{className:"status",children:e.stripeSubscriptionDetail})]})})]}),!s&&(0,t.tZ)(y.o_,{children:(0,t.BX)(y.S8,{children:[(0,t.BX)("p",{className:"price",children:["$",e.price," USD"]}),(null==e?void 0:e.stripeSubscriptionDetail)&&(0,t.tZ)("p",{className:"status",children:e.stripeSubscriptionDetail})]})})]},i.id||n)}):(0,t.BX)(y._b,{children:[(0,t.tZ)(y.mR,{children:(0,t.tZ)(m(),{src:(null===(p=x.j.find(i=>i.id===e.price_id))||void 0===p?void 0:p.img)||"",alt:"Plan Image",fill:!0,style:{objectFit:"cover"}})}),(0,t.BX)(y.AV,{children:[(0,t.BX)(y.Pk,{children:[(0,t.tZ)("h3",{children:e.name}),(0,t.BX)("p",{children:["$",e.price," USD"]})]}),(0,t.BX)(y.I5,{onClick:()=>u({planId:e.uniqueId,type:"plan"}),children:[(0,t.tZ)(f,{size:18,strokeWidth:2}),(0,t.tZ)("span",{children:"Remove from cart"})]})]})]})},e.uniqueId||i)})]}):null},k=n(85918),I=n(7492),C=n(54492),_=n(45197),P=n(15437);let B=P.ZP.div.withConfig({componentId:"sc-f7e9ec36-0"})(["width:100%;
1"]),O=P.ZP.div.withConfig({componentId:"sc-f7e9ec36-1"})(["padding:2rem;border-radius:8px;border:1px solid ",";background:white;"],w.O9.border.soft),D=P.ZP.div.withConfig({componentId:"sc-f7e9ec36-2"})(["margin-bottom:1.5rem;h4{font-weight:600;}p{color:",";}"],w.O9.text.secondary),N=P.ZP.button.withConfig({componentId:"sc-f7e9ec36-3"})(["color:",";background:none;border:none;cursor:pointer;"],w.O9.brand.pink),R=P.ZP.div.withConfig({componentId:"sc-f7e9ec36-4"})(["margin-top:2rem;button{width:100%;height:48px;background:",";color:white;border-radius:8px;}"],w.O9.brand.pink);var X=()=>{var e,i;let{user:n}=(0,k.a)(),c=(0,o.useRef)(!1),a=(0,r.useRouter)(),s=(0,o.useRef)(null),p=(0,o.useRef)(null),m=(0,o.useRef)(null),{totalPrice:u,cart:h,discount:g,userPurchaseData:f,loadingUserMetadata:b,couponLoading:w}=(0,v.iQ)(),x=Array.from(new Set(h.map(e=>null==e?void 0:e.uniqueId))),[y,Z]=(0,o.useState)(null),[P,X]=(0,o.useState)([]),[S,z]=(0,o.useState)(null),[j,L]=(0,o.useState)(null),[M,T]=(0,o.useState)(!0),[A,q]=(0,o.useState)(null);(0,o.useEffect)(()=>{let e=localStorage.getItem("dbuser")||(0,l.getCookie)("dbuser"),i=e?JSON.parse(e):void 0;z(null==i?void 0:i.customer_id),L(i)},[]),(0,o.useEffect)(()=>{n&&q(n)},[n]),(0,o.useEffect)(()=>{S&&((0,I.Zm)(S).then(e=>Z(e)).catch(e=>console.log("Error",e)),(0,I.F7)(S).then(e=>{e&&e.data.length>0&&X(e.data)}).catch(e=>console.error(e)))},[S]),(0,o.useEffect)(()=>{if(c.current)return;if(null==b?void 0:b.active){T(!0);return}if(!(null==f?void 0:f.length)){T(!1);return}let e=!1;for(let t of f){var i,n;if(null==t?void 0:null===(i=t.products)||void 0===i?void 0:i.length){for(let i of t.products)if(null==i?void 0:null===(n=i.videos)||void 0===n?void 0:n.length){for(let n of i.videos)if(n&&x.includes(String(n))){(0,d.yv)("You have already purchased some videos. Please delete them from the cart and continue.",{variant:"error"}),c.current=!0,a.push("/cart"),e=!0;return}}}}!1===e&&T(!1)},[f,x,a,b]);let E=null==y?void 0:null===(e=y.invoice_settings)||void 0===e?void 0:e.default_payment_method,F=null==P?void 0:P.find(e=>e.id===E),H=e=>e.split(" ").map(e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()).join(" "),W=M||w;return(0,t.tZ)(B,{children:(0,t.BX)(O,{children:[(0,t.BX)(D,{children:[(0,t.tZ)("h4",{children:"You are signed in as"}),(0,t.tZ)("p",{children:null!==(i=null==A?void 0:A.email)&&void 0!==i?i:null==n?void 0:n.email})]}),j&&(0,t.tZ)(D,{children:(0,t.BX)(t.HY,{children:[(0,t.tZ)("h4",{children:"Billing address"}),(null==j?void 0:j.first_name)&&(0,t.tZ)("p",{children:H(j.first_name)}),(null==j?void 0:j.address_1)&&(0,t.tZ)("p",{children:H(j.address_1)}),((null==j?void 0:j.city)||(null==j?void 0:j.state)||(null==j?void 0:j.postal_code))&&(0,t.tZ)("p",{children:[j.city,j.state,j.postal_code].filter(Boolean).map(e=>H(e)).join(", ")}),(null==j?void 0:j.country)&&(0,t.tZ)("p",{children:H(j.country)})]})}),(0,t.tZ)(D,{children:(0,t.tZ)(N,{type:"button",onClick:()=>{a.push("/dashboard/settings/account?section=Address")},children:"Update your address"})}),F&&(null==F?void 0:F.card)&&(0,t.BX)(D,{children:[(0,t.tZ)("h4",{children:"Payment"}),(0,t.tZ)("p",{children:null==y?void 0:y.email}),(0,t.BX)("p",{children:[String(F.card.brand).slice(0,1).toUpperCase()+String(F.card.brand).slice(1)," ","ending in ",F.card.last4]}),(0,t.BX)("p",{children:["Expires ",F.card.exp_month,"/",F.card.exp_year]})]}),(0,t.BX)(R,{children:[(0,t.BX)("form",{ref:s,id:"checkoutForm",action:"/api/cart/checkout",method:"POST",children:[(0,t.tZ)("input",{ref:p,type:"hidden",name:"cart",id:"cartInput"}),(0,t.tZ)("input",{ref:m,type:"hidden",name:"couponId",id:"couponId"}),(0,t.BX)("button",{disabled:W,type:"button",role:"link",onClick:()=>{if(!p.current||!s.current)return;let e=h.map(e=>{var i,n,t,o;let r=[];return(null==e?void 0:null===(n=e.collection)||void 0===n?void 0:null===(i=n.videos)||void 0===i?void 0:i.length)&&r.push(...null==e?void 0:null===(o=e.collection)||void 0===o?void 0:o.videos),(null==e?void 0:null===(t=e.videos)||void 0===t?void 0:t.length)&&r.push(...null==e?void 0:e.videos),{stripePriceId:e.price_id,paidMonthly:e.is_paid_monthly,is_upgrading:e.is_upgrading,redirectURL:e.redirectURL,videos:r,video_limit:null==e?void 0:e.video_limit}});p.current.value=JSON.stringify(e),m.current&&g&&(null==g?void 0:g.promotion_code)&&(null==g?void 0:g.active)&&(m.current.value=null==g?void 0:g.promotion_code),s.current.submit()},className:(0,C.cn)(W&&"!cursor-not-allowed !bg-secondary/70 !border-secondary/70"),children:["Pay now",W&&(0,t.tZ)(_.Z,{className:"animate-spin ml-2 !w-[16px] !h-[16px]"})]})]}),(0,t.BX)("span",{children:["Credit card will be charged $",u," USD"]})]})]})})},S=n(11084),z=n(85717),j=n(19756),L=n(30914);let M=P.ZP.div.withConfig({componentId:"sc-42eb75b5-0"})(["border:1px solid rgba(70,80,99,0.3);border-radius:8px;padding:2rem 3rem 0rem 2rem;@media screen and (max-width:550px){padding:2rem;}"]),T=P.ZP.div.withConfig({componentId:"sc-42eb75b5-1"})(["background-color:white;width:100%;min-height:200px;display:flex;padding-bottom:2rem;gap:3.5rem;box-sizing:border-box;position:sticky;top:0;z-index:1;"]),A=P.ZP.div.withConfig({componentId:"sc-42eb75b5-2"})(["display:flex;flex-direction:column;justify-content:space-between;"]),q=P.ZP.div.withConfig({componentId:"sc-42eb75b5-3"})(["width:130px;height:130px;border-radius:5px;overflow:hidden;position:relative;"]),E=P.ZP.div.withConfig({componentId:"sc-42eb75b5-4"})(["display:flex;flex-direction:column;"]);P.ZP.button.withConfig({componentId:"sc-42eb75b5-5"})(["width:10rem;height:2.8rem;font-size:1.2rem;border-radius:65px;border:1px solid #465063;margin:1.5rem auto 0.5rem auto;"]);let F=P.ZP.button.withConfig({componentId:"sc-42eb75b5-6"})(["width:11rem;padding:0 1rem;height:3rem;display:flex;justify-content:space-between;align-items:center;gap:5px;border-radius:65px;border:1px solid #624ff7;background-color:transparent;color:#624ff7;font-size:12px;text-align:center;cursor:pointer;span{margin:0px;display:flex;justify-content:center;align-items:center;}"]);P.ZP.ul.withConfig({componentId:"sc-42eb75b5-7"})(["position:absolute;background:white;display:",";width:auto;max-width:50%;margin:0.25rem 0;border-radius:10px;overflow:hidden;padding:1rem;box-shadow:0 2px 8px rgba(0,0,0,0.3);z-index:100;"],e=>e.show?"block":"none"),P.ZP.p.withConfig({componentId:"sc-42eb75b5-8"})(["color:#465063;font-size:1.5rem;font-weight:200;"]);let H=P.ZP.div.withConfig({componentId:"sc-42eb75b5-9"})(["display:flex;margin-top:1rem;cursor:pointer;align-items:flex-start;span{font-size:1.2rem;font-weight:200;}"]),W=P.ZP.div.withConfig({componentId:"sc-42eb75b5-10"})(["transform:rotate(45deg);display:block;width:15px;height:15px;justify-content:center;"]),U=P.ZP.span.withConfig({componentId:"sc-42eb75b5-11"})(["color:",";"],()=>z.Z.naviPink.main),V=P.ZP.div.withConfig({componentId:"sc-42eb75b5-12"})(["width:100%;position:relative;.title{color:#0f1319;font-size:20px;font-weight:600;}.meta{color:#465063;font-size:1.2rem;font-weight:200;text-transform:uppercase;}.description{color:#465063;font-size:1.5rem;font-weight:200;}@media screen and (max-width:500px){.title{font-size:1.6rem;}.meta{font-size:1rem;}}"]),Y=P.ZP.div.withConfig({componentId:"sc-42eb75b5-13"})(["position:absolute;bottom:0px;right:0;"]),G=P.ZP.div.withConfig({componentId:"sc-42eb75b5-14"})(["display:flex;flex-direction:column;justify-content:space-between;align-items:center;height:100%;.price{color:#465063;font-size:2.4rem;font-weight:300;margin-bottom:0.4rem;margin-top:60px;width:max-content;}.status{color:rgba(70,80,99,0.5);font-size:1rem;font-weight:300;letter-spacing:1.4px;text-transform:uppercase;margin-top:0;text-align:center;}"]),J=P.ZP.div.withConfig({componentId:"sc-42eb75b5-15"})([""]),Q=P.ZP.div.withConfig({componentId:"sc-42eb75b5-16"})(["padding:",";border-top:",";background-color:white;max-height:",";overflow-y:auto;transition:all 0.2s ease;overscroll-behavior-y:contain;&::-webkit-scrollbar{width:3px;}&::-webkit-scrollbar-track{background:#f1f1f1;}&::-webkit-scrollbar-thumb{background:#888;border-radius:3px;}@media (max-width:768px){padding:",";max-height:",";}"],e=>e.isOpen?"15px":"0 15px",e=>
1e.isOpen?"1px solid rgb(70 80 99 / 30%)":"none",e=>e.isOpen?"80vh":"0",e=>e.isOpen?"12px":"0 12px",e=>e.isOpen?"70vh":"0"),$=P.ZP.div.withConfig({componentId:"sc-42eb75b5-17"})(["display:flex;flex-wrap:wrap;gap:2rem;justify-content:center;margin:2rem 0;align-items:center;"]),K=P.ZP.div.withConfig({componentId:"sc-42eb75b5-18"})(["width:15rem;background-color:white;box-shadow:0 4px 8px rgba(0,0,0,0.2);border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:1rem;transition:box-shadow 0.3s ease;&:hover{box-shadow:0 8px 16px rgba(0,0,0,0.3);}h3{font-size:1.4rem;margin:0.5rem 0;text-align:center;}"]);var ee=function(e){var i,n,r,d,l,c,a,s,p,u,g,f,w,x,y,Z,k,I;let{cart:C}=e,{removeFromCart:_,removePlaylistFromCart:P,subTotal:B,selectedLicense:O}=(0,v.iQ)(),[D,N]=(0,o.useState)(null),{windowWidth:R}=(0,b.bp)(),X=R<=650,ee=async e=>{(await h().fire({title:"Are you sure?",text:"Do you really want to delete this item from cart?",icon:"warning",showCancelButton:!0,confirmButtonColor:z.Z.naviPurple.main,cancelButtonColor:z.Z.naviPink.main,confirmButtonText:"Yes, delete it!"})).isConfirmed&&await _(e)},ei=C&&(null==C?void 0:C.collection)&&(null==C?void 0:null===(n=C.collection)||void 0===n?void 0:null===(i=n.videos)||void 0===i?void 0:i.length)?null==C?void 0:null===(d=C.collection)||void 0===d?void 0:null===(r=d.videos[0])||void 0===r?void 0:r.video_thumnbail:"/testimages/fallback-card.jpeg",en=C&&(null==C?void 0:C.collection)&&(null==C?void 0:null===(c=C.collection)||void 0===c?void 0:null===(l=c.videos)||void 0===l?void 0:l.length)?null==C?void 0:null===(s=C.collection)||void 0===s?void 0:null===(a=s.videos[0])||void 0===a?void 0:a.video_title:"";return(0,t.BX)(M,{children:[(0,t.BX)(T,{children:[(0,t.BX)(A,{children:[(0,t.tZ)(q,{children:ei&&(0,t.tZ)(m(),{src:ei,alt:en||"",width:130,height:130,style:{objectFit:"cover"}})}),(0,t.tZ)(E,{children:(0,t.BX)(H,{onClick:()=>{var e;return ee({type:"collection",collectionId:null==C?void 0:null===(e=C.collection)||void 0===e?void 0:e.collection_id})},children:[(0,t.tZ)(W,{children:(0,t.tZ)(S.Z,{width:12,height:12,color:z.Z.naviPink.main})}),(0,t.tZ)(U,{children:"Remove from cart"})]})})]}),(0,t.BX)(V,{children:[(null==C?void 0:null===(p=C.collection)||void 0===p?void 0:p.collection_title)&&(0,t.tZ)("p",{className:"title",children:null==C?void 0:null===(u=C.collection)||void 0===u?void 0:u.collection_title}),X&&(null==C?void 0:C.stripeSubscriptionDetail)&&(0,t.tZ)("p",{className:"meta",children:null==C?void 0:C.stripeSubscriptionDetail}),!X&&(null==C?void 0:C.stripeSubscriptionDetail)&&(0,t.tZ)("p",{className:"description",children:null==C?void 0:C.stripeSubscriptionDetail}),X&&(0,t.tZ)(Y,{children:(0,t.BX)(G,{children:[(0,t.BX)("p",{className:"price",children:["$",C.price," USD"]}),(0,t.tZ)(F,{onClick:()=>{N(D===C.uniqueId?null:C.uniqueId)},children:D===C.uniqueId?"Show Less":"Show More"})]})})]}),!X&&(0,t.tZ)(J,{children:(0,t.BX)(G,{children:[(0,t.BX)("p",{className:"price",children:["$",C.price," USD"]}),(0,t.BX)(F,{onClick:()=>{N(D===C.uniqueId?null:C.uniqueId)},children:[D===C.uniqueId?"Show Less":"Show More",(0,t.tZ)(j.XE,{isOpen:D===C.uniqueId,hasVideos:(null==C?void 0:null===(g=C.collection)||void 0===g?void 0:g.videos)&&(null==C?void 0:null===(w=C.collection)||void 0===w?void 0:null===(f=w.videos)||void 0===f?void 0:f.length)>0,size:"small",children:(0,t.tZ)(L.ch,{})})]})]})})]}),(0,t.tZ)(Q,{isOpen:D===C.uniqueId,children:(null==C?void 0:null===(x=C.collection)||void 0===x?void 0:x.videos)&&(null==C?void 0:null===(Z=C.collection)||void 0===Z?void 0:null===(y=Z.videos)||void 0===y?void 0:y.length)&&D?(0,t.tZ)($,{children:null==C?void 0:null===(I=C.collection)||void 0===I?void 0:null===(k=I.videos)||void 0===k?void 0:k.map(e=>{var i,n,o;return(0,t.BX)(K,{children:[(0,t.tZ)("h3",{children:(null==e?void 0:e.video_title)&&(null==e?void 0:null===(i=e.video_title)||void 0===i?void 0:i.length)>20?"".concat(e.video_title.slice(0,15),"..."):e.video_title}),(0,t.tZ)(m(),{style:{borderRadius:"4px"},src:(null==e?void 0:null===(n=e.video_thumnbail)||void 0===n?void 0:n.startsWith("http"))||(null==e?void 0:null===(o=e.video_thumnbail)||void 0===o?void 0:o.startsWith("https"))?e.video_thumnbail:"/navisavi.png",alt:e.video_title||"Image",width:150,height:100,layout:"responsive"}),(0,t.BX)(H,{onClick:()=>{var i;return ee({type:"collection",collectionId:null==C?void 0:null===(i=C.collection)||void 0===i?void 0:i.collection_id,videoId:null==e?void 0:e.id})},children:[(0,t.tZ)(W,{children:(0,t.tZ)(S.Z,{width:12,height:12,color:z.Z.naviPink.main})}),(0,t.tZ)(U,{children:"Remove from cart"})]})]},e.id)})}):(0,t.tZ)(t.HY,{})},C.uniqueId)]})};let ei=P.ZP.main.withConfig({componentId:"sc-ae233f08-0"})(["width:100%;background:",";"],w.O9.background.page),en=P.ZP.section.withConfig({componentId:"sc-ae233f08-1"})(["max-width:",";margin:0 auto;padding:5rem ",";text-align:center;"],w.W0.maxWidthTight,w.W0.pageX),et=P.ZP.p.withConfig({componentId:"sc-ae233f08-2"})(["color:",";font-size:",";font-weight:700;"],w.O9.brand.pink,w.cp.body.sm),eo=P.ZP.h1.withConfig({componentId:"sc-ae233f08-3"})(["font-size:",";font-weight:",";"],w.cp.section.title,w.cp.weight.bold),er=P.ZP.p.withConfig({componentId:"sc-ae233f08-4"})(["color:",";"],w.O9.text.secondary),ed=P.ZP.div.withConfig({componentId:"sc-ae233f08-5"})(["max-width:",";margin:0 auto;display:grid;grid-template-columns:1fr 360px;gap:2rem;@media (max-width:1023px){grid-template-columns:1fr;}"],w.W0.maxWidthTight),el=P.ZP.div.withConfig({componentId:"sc-ae233f08-6"})(["display:flex;flex-direction:column;gap:2rem;"]),ec=P.ZP.div.withConfig({componentId:"sc-ae233f08-7"})(["display:flex;flex-direction:column;gap:2rem;"]),ea=P.ZP.div.withConfig({componentId:"sc-ae233f08-8"})(["margin-bottom:1.5rem;padding:2rem;border-radius:8px;border:1px solid ",";background:",";box-shadow:0 8px 24px ",";"],w.O9.border.soft,w.O9.background.panel,w.O9.shadow.soft),es=(0,P.ZP)(ea).withConfig({componentId:"sc-ae233f08-9"}
1)([""]),ep=P.ZP.h2.withConfig({componentId:"sc-ae233f08-10"})(["margin:0 0 1.2rem;color:",";font-size:",";font-weight:",";line-height:",";"],w.O9.text.primary,w.cp.body.lg,w.cp.weight.semibold,w.cp.lineHeight.heading),em=P.ZP.div.withConfig({componentId:"sc-ae233f08-11"})(["display:flex;flex-direction:column;gap:1.2rem;"]),eu=P.ZP.div.withConfig({componentId:"sc-ae233f08-12"})(["display:flex;justify-content:space-between;"]),eh=(0,P.ZP)(eu).withConfig({componentId:"sc-ae233f08-13"})(["font-weight:bold;"]),eg=P.ZP.div.withConfig({componentId:"sc-ae233f08-14"})(["display:flex;gap:0.5rem;margin-bottom:1rem;input{flex:1;min-width:0;height:44px;padding:0 0.9rem;border:1px solid ",";border-radius:8px;background:",";color:",";font-size:",";outline:none;&:focus{border-color:",";box-shadow:0 0 0 3px rgba(255,0,138,0.12);}}button{height:44px;padding:0 1rem;border:1px solid ",";border-radius:8px;background:",";color:white;font-size:",";font-weight:",";cursor:pointer;transition:background 0.2s ease,transform 0.2s ease,box-shadow 0.2s ease;&:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(255,0,138,0.22);}&:active{transform:translateY(0);}}@media (max-width:480px){flex-direction:column;button{width:100%;}}"],w.O9.border.soft,w.O9.background.panel,w.O9.text.primary,w.cp.body.sm,w.O9.brand.pink,w.O9.brand.pink,w.O9.brand.pink,w.cp.body.sm,w.cp.weight.semibold),ef=P.ZP.div.withConfig({componentId:"sc-ae233f08-15"})(["margin-top:1rem;button{width:100%;background:",";border-radius:8px;color:white;height:48px;}"],w.O9.brand.pink),ev=P.ZP.div.withConfig({componentId:"sc-ae233f08-16"})(["text-align:center;"]);var eb=n(83454),ew=e=>{var i,n,p,m,u,h,g;let{content:f,shared:b,isDashboard:w,dashboardMenu:x}=e,{cart:y,applyCoupon:k,totalPrice:I,subTotal:C,discount:_,removeCoupon:P,userPurchaseData:B,couponLoading:O}=(0,v.iQ)(),D=(0,r.useRouter)(),N="/checkout"===D.pathname,R=(0,a.Eg)(f,b),S=(0,l.getCookie)("userLog"),z=null==f?void 0:f.openGraphMetadata,j={canonicalUrl:"".concat(null!==(m=eb.env.NS_URL_HOSTNAME)&&void 0!==m?m:"https://www.navisavitravel.com").concat(null!==(u=null==f?void 0:f.slug)&&void 0!==u?u:"cart"),metaDescription:null!==(h=null==f?void 0:f.metaDescription)&&void 0!==h?h:"Cart",title:null!==(g=null==f?void 0:f.pageTitle)&&void 0!==g?g:"Cart"},[L,M]=(0,o.useState)(""),T=Array.from(new Set(y.flatMap(e=>{var i,n;return null!==(n=null===(i=e.videos)||void 0===i?void 0:i.map(e=>e.id))&&void 0!==n?n:[]}).filter(e=>void 0!==e))),A=async()=>{localStorage.setItem("coupon",JSON.stringify(L)),await k(L)},q=(null==y?void 0:y.length)>0;return(0,t.BX)(c.Z,{metadata:j,ogmd:z,shared:b,isDashboard:w,menu:x,hideFooterTop:!0,children:[R&&(0,t.tZ)(s.Z,{banner:R}),(0,t.BX)(ei,{children:[(0,t.BX)(en,{children:[(0,t.tZ)(et,{children:N?"CHECKOUT":"YOUR CART"}),(0,t.tZ)(eo,{children:N?"Complete your license order":"Review your selected videos"}),(0,t.tZ)(er,{children:N?"Confirm your details and complete your payment.":"Check your video selection before continuing."})]}),(0,t.BX)(ed,{children:[(0,t.tZ)(el,{children:(0,t.BX)(ea,{children:[(0,t.tZ)(ep,{children:N?"Selected videos":"Videos in your cart"}),(0,t.tZ)(em,{children:q?(null===(p=y[0])||void 0===p?void 0:null===(n=p.collection)||void 0===n?void 0:null===(i=n.videos)||void 0===i?void 0:i.length)?y.map(e=>(0,t.tZ)(ee,{cart:e},e.uniqueId)):(0,t.tZ)(Z,{item:y}):(0,t.tZ)(ev,{children:"No items in cart"})})]})}),q&&(0,t.BX)(ec,{children:[(0,t.BX)(es,{children:[(0,t.tZ)(ep,{children:"Order summary"}),N&&(0,t.BX)(eg,{children:[(0,t.tZ)("input",{placeholder:"Coupon Code",value:L,onChange:e=>{M(e.target.value),P()}}),(0,t.tZ)("button",{onClick:A,children:"Apply"})]}),(0,t.BX)(eu,{children:[(0,t.tZ)("span",{children:"Subtotal"}),(0,t.BX)("strong",{children:["$",C]})]}),N&&(0,t.BX)(eh,{children:[(0,t.tZ)("span",{children:"Total"}),(0,t.BX)("strong",{children:["$",I]})]}),!N&&(0,t.tZ)(ef,{children:(0,t.tZ)("button",{onClick:()=>{if(null==B?void 0:B.length){for(let e of B)for(let i of e.products||[])for(let e of i.videos||[])if(e&&T.includes(e)){(0,d.yv)("You have already purchased some videos. Please delete them from the cart.",{variant:"error"});return}}return S?D.push("/checkout"):D.push("/auth?ref=cart")},children:"Continue to checkout"})})]}),N&&(0,t.tZ)(X,{})]})]})]})]})}},62554:function(e,i,n){n.d(i,{j:function(){return t}});
1let t=[{id:"price_1RngATD8sm7g64NbaeAsGhyb",img:"/cart/plan5.svg"},{id:"price_1RngATD8sm7g64NboTuMA08s",img:"/cart/plan1.svg"},{id:"price_1RngIND8sm7g64NbA5IILIjL",img:"/cart/plan13.svg"},{id:"price_1RngIND8sm7g64NboogpVe0g",img:"/cart/plan9.svg"},{id:"price_1RngEZD8sm7g64NbeT8Cg05m",img:"/cart/plan6.svg"},{id:"price_1RngCQD8sm7g64Nb5GZ8WBBk",img:"/cart/plan2.svg"},{id:"price_1RngK2D8sm7g64Nbq1wyINbx",img:"/cart/plan14.svg"},{id:"price_1RngK2D8sm7g64Nbv2j1x4Cx",img:"/cart/plan10.svg"},{id:"price_1RngFsD8sm7g64NbvR2J3qIc",img:"/cart/plan7.svg"},{id:"price_1RngFsD8sm7g64Nbny8B7oMM",img:"/cart/plan3.svg"},{id:"price_1RngLGD8sm7g64NbvUFP9MAD",img:"/cart/plan15.svg"},{id:"price_1RngLGD8sm7g64NbYvAV9lwm",img:"/cart/plan11.svg"},{id:"price_1RsI92D8sm7g64NbwLBfn6wi",img:"/cart/plan8.svg"},{id:"price_1RsI97D8sm7g64NbvPrgRtwa",img:"/cart/plan8.svg"},{id:"price_1RsI99D8sm7g64Nb3wS7Gv3o",img:"/cart/plan8.svg"},{id:"price_1RsI9DD8sm7g64NbNMAVW1LJ",img:"/cart/plan8.svg"},{id:"price_1RsI92D8sm7g64Nb9RPnKTDN",img:"/cart/plan4.svg"},{id:"price_1RsI97D8sm7g64NbT7WnSk5M",img:"/cart/plan4.svg"},{id:"price_1RsI9AD8sm7g64NbNcmt4lYH",img:"/cart/plan4.svg"},{id:"price_1RsI9DD8sm7g64NbMV4IGXG3",img:"/cart/plan4.svg"},{id:"price_1RsI9QD8sm7g64NbyZD5kn7C",img:"/cart/plan12.svg"},{id:"price_1RsI9OD8sm7g64NbbP3yIZp7",img:"/cart/plan12.svg"},{id:"price_1RsI9LD8sm7g64NbxpwCCMjb",img:"/cart/plan12.svg"},{id:"price_1RsI9GD8sm7g64NbMJfdonsI",img:"/cart/plan12.svg"},{id:"price_1RsI9QD8sm7g64NbaIWGVCJR",img:"/cart/plan16.svg"},{id:"price_1RsI9OD8sm7g64NbPmmoCmTI",img:"/cart/plan16.svg"},{id:"price_1RsI9LD8sm7g64Nb56hbLQbJ",img:"/cart/plan16.svg"},{id:"price_1RsI9GD8sm7g64NbHHbUoVW9",img:"/cart/plan16.svg"}]},89600:function(e,i,n){var t=n(62364),o=n(67294),r=n(15437),d=n(233),l=n(13049);let c=r.ZP.div.withConfig({componentId:"sc-24a7eb8e-0"})(["display:flex;width:100%;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center;background:rgb(23,115,235);position:relative;background-color:rgba(70,80,99,0.1);font-size:12px;font-weight:400;padding:1.5rem 3rem;box-sizing:border-box;*{color:rgba(70,80,99,1);padding:0;margin:0;}a{font-weight:700;text-decoration:none;}"]),a=r.ZP.div.withConfig({componentId:"sc-24a7eb8e-1"})(["color:white;"]),s=r.ZP.div.withConfig({componentId:"sc-24a7eb8e-2"})(["position:absolute;right:1.5rem;"]);i.Z=e=>{let{banner:i}=e,[n,r]=o.useState(!0),{closable:p,content:m}=i;return n?(0,t.BX)(c,{children:[(0,t.tZ)(a,{className:"intro",dangerouslySetInnerHTML:{__html:null!=m?m:""}}),p&&(0,t.tZ)(s,{children:(0,t.tZ)(d.Z,{onClick:()=>r(!1),title:"Close Banner",icon:(0,t.tZ)(l.Z,{}),styles:{border:"0px",padding:0}})})]}):null}},30914:function(e,i,n){n.d(i,{VG:function(){return d},ch:function(){return r}});var t=n(62364),o=n(85717);let r=()=>(0,t.BX)("svg",{fill:"#000000",width:"20px",height:"20px",viewBox:"0 0 24 24",id:"triple-up-sign","data-name":"Line Color",xmlns:"http://www.w3.org/2000/svg",className:"icon line-color",children:[(0,t.tZ)("polyline",{id:"primary",points:"5 10 12 3 19 10",style:{fill:"none",stroke:o.Z.naviPink.main,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2}}),(0,t.tZ)("polyline",{id:"primary-2","data-name":"primary",points:"19 21 12 14 5 21",style:{stroke:o.Z.naviPurple.main,fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2}}),(0,t.tZ)("polyline",{id:"secondary",points:"19 15.5 12 8.5 5 15.5",style:{fill:"none",stroke:o.Z.naviBlue.main,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2}})]}),d=e=>{let{color:i}=e;return(0,t.tZ)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 195.000000 193.000000",preserveAspectRatio:"xMidYMid meet",children:(0,t.BX)("g",{transform:"translate(0.000000,193.000000) scale(0.100000,-0.100000)",fill:i,stroke:"none",children:[(0,t.tZ)("path",{d:"M838 1860 c-166 -29 -311 -181 -325 -342 l-6 -58 -128 0 -129 0 0 -502 c0 -484 1 -505 21 -548 26 -58 62 -96 124 -128 49 -27 53 -27 288 -30 130 -2 237 0 237 5 -1 4 -7 35 -15 68 -27 112 -15 214 39 325 100 207 365 319 577 245 23 -8 43 -15 45 -15 2 0 4 131 4 290 l0 290 -130 0 c-145 0 -132 -8 -144 83 -12 92 -95 212 -181 262 -85 50 -187 70 -277 55z m178 -168 c73 -38 125 -109 139 -189 l7 -43 -257 0 -256 0 7 38 c19 105 84 180 184 213 40 13 133 3 176 -19z"}),(0,t.tZ)("path",{d:"M1307 810 c-264 -45 -400 -355 -255 -582 40 -64 89 -105 167 -142 57 -26 77 -30 151 -30 155 1 275 75 342 212 31 62 33 74 33 167 0 87 -3 107 -27 157 -52 112 -159 195 -282 217 -65 12 -61 12 -129 1z m242 -249 c12 -12 17 -28 14 -39 -7 -30 -217 -232 -239 -232 -27 0 -147 123 -142 145 1 10 13 24 25 32 20 14 25 12 68 -28 l46 -42 93 91 c51 51 98 92 105 92 6 0 20 -9 30 -19z"})]})})}},7492:function(e,i,n){n.d(i,{F7:function(){return o},Zm:function(){return t}});let t=async e=>{let i=await fetch("/api/customer/stripe/get-stripe-billing-info",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({customerId:e})});if(!i.ok)throw Error("Failed to fetch billing info");return(await i.json()).customer},o=async e=>{let i=await fetch("/api/customer/stripe/list-payment-methods",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({customerId:e})});if(!i.ok)throw Error("Failed to fetch billing info");return await i.json()}}}]);

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.