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]="d67aa521-b2d3-4afb-8ed5-86b862426b72",e._sentryDebugIdIdentifier="sentry-dbid-d67aa521-b2d3-4afb-8ed5-86b862426b72")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6736],{56736:function(e,i,n){n.r(i),n.d(i,{__N_SSG:function(){return iJ},default:function(){return iQ}});var t,o=n(62364),r=n(67294),d=n(57632),a=n(11163),l=n(47041),c=n(86455),s=n.n(c),p=n(27484),h=n.n(p),m=n(29496),u=n(15437),g=n(66485),f=n.n(g),b=n(85717),v=n(91600),w=e=>(0,o.tZ)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",children:(0,o.tZ)("path",{d:"M384 352l-160 0c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l108.1 0c4.2 0 8.3 1.7 11.3 4.7l67.9 67.9c3 3 4.7 7.1 4.7 11.3L416 320c0 17.7-14.3 32-32 32zM433.9 81.9L366.1 14.1c-9-9-21.2-14.1-33.9-14.1L224 0c-35.3 0-64 28.7-64 64l0 256c0 35.3 28.7 64 64 64l160 0c35.3 0 64-28.7 64-64l0-204.1c0-12.7-5.1-24.9-14.1-33.9zM64 128c-35.3 0-64 28.7-64 64L0 448c0 35.3 28.7 64 64 64l160 0c35.3 0 64-28.7 64-64l0-32-32 0 0 32c0 17.7-14.3 32-32 32L64 480c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l64 0 0-32-64 0z"})}),x=e=>(0,o.tZ)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:(0,o.tZ)("path",{d:"M64 96c-17.7 0-32 14.3-32 32l0 39.9L227.6 311.3c16.9 12.4 39.9 12.4 56.8 0L480 167.9l0-39.9c0-17.7-14.3-32-32-32L64 96zM32 207.6L32 384c0 17.7 14.3 32 32 32l384 0c17.7 0 32-14.3 32-32l0-176.4L303.3 337.1c-28.2 20.6-66.5 20.6-94.6 0L32 207.6zM0 128C0 92.7 28.7 64 64 64l384 0c35.3 0 64 28.7 64 64l0 256c0 35.3-28.7 64-64 64L64 448c-35.3 0-64-28.7-64-64L0 128z"})}),y=e=>(0,o.tZ)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512",children:(0,o.tZ)("path",{d:"M80 299.3V512H196V299.3h86.5l18-97.8H196V166.9c0-51.7 20.3-71.5 72.7-71.5c16.3 0 29.4 .4 37 1.2V7.9C291.4 4 256.4 0 236.2 0C129.3 0 80 50.5 80 159.4v42.1H14v97.8H80z"})}),Z=e=>(0,o.tZ)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",children:(0,o.tZ)("path",{d:"M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"})}),C=e=>(0,o.tZ)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",children:(0,o.tZ)("path",{d:"M48 72c0-13.3 10.7-24 24-24l272 0c13.3 0 24 10.7 24 24l0 176c0 13.3-10.7 24-24 24l-128 0c-4.7 0-9.4 1.4-13.3 4L144 315.2l0-19.2c0-13.3-10.7-24-24-24l-48 0c-13.3 0-24-10.7-24-24L48 72zM72 0C32.2 0 0 32.2 0 72L0 248c0 39.8 32.2 72 72 72l24 0 0 40c0 8.9 4.9 17 12.7 21.2s17.3 3.7 24.6-1.2l90-60L344 320c39.8 0 72-32.2 72-72l0-176c0-39.8-32.2-72-72-72L72 0zM256 376c0 39.8 32.2 72 72 72l88.7 0 90 60c7.4 4.9 16.8 5.4 24.6 1.2S544 496.9 544 488l0-40 24 0c39.8 0 72-32.2 72-72l0-176c0-39.8-32.2-72-72-72l-120 0 0 48 120 0c13.3 0 24 10.7 24 24l0 176c0 13.3-10.7 24-24 24l-48 0c-13.3 0-24 10.7-24 24l0 19.2L437.3 404c-3.9-2.6-8.6-4-13.3-4l-96 0c-13.3 0-24-10.7-24-24l0-24-48 0 0 24z"})}),k=n(83454);let P=u.ZP.div.withConfig({componentId:"sc-af87051-0"})(["display:flex;flex-direction:row;justify-content:start;align-items:center;overflow:hidden !important;width:100%;"]),O=u.ZP.div.withConfig({componentId:"sc-af87051-1"})(["display:flex;flex-direction:column;align-items:center;gap:1rem;padding:0 1rem;width:100%;@media (max-width:768px){padding:0 10% 0 10%;flex-grow:1;box-sizing:border-box;}"]),I=u.ZP.h1.withConfig({componentId:"sc-af87051-2"})(["font-weight:700;color:",";font-family:inherit;font-size:3rem;font-style:normal;"],b.Z.text.main),B=u.ZP.div.withConfig({componentId:"sc-af87051-3"})(["display:flex;flex-direction:column;> a{text-decoration:none;}"]),_=u.ZP.button.withConfig({componentId:"sc-af87051-4"})(['flex:1 1;display:flex;align-items:center;gap:20px;cursor:pointer;border-radius:65px;background-color:#624ff7;color:#ffffff;font-family:"Figtree",sans-serif;border:0;height:4rem;padding:1rem 1.4rem;font-size:1.6rem;margin-bottom:1.2rem;width:100%;justify-content:space-between;> svg{height:2.2rem;fill:#fff;}']);var X=e=>{var i;let{isOpen:n,onClose:t,videoUrl:r}=e,d="".concat(null!==(i=k.env.NS_URL_HOSTNAME)&&void 0!==i?i:"https://www.navisavitravel.com").concat(r),a=async()=>{try{await f()(d||""),(0,m.yv)("Link copied to clipboard",{variant:"info",preventDuplicate:!0})}catch(e){console.error("Failed to copy URL:",e)}};return(0,o.tZ)(v.Z,{isOpen:n,onClose:()=>t(),styles:{width:"300px",height:"400px",maxWidth:"300px",maxHeight:"400px"},children:(0,o.tZ)(P,{children:(0,o.BX)(O,{children:[(0,o.tZ)(I,{children:"Share Video"}),(0,o.BX)(B,{children:[(0,o.BX)(_,{onClick:()=>a(),children:["Copy Link",(0,o.tZ)(w,{})]}),(0,o.tZ)("a",{className:"share-link",href:"mailto:?Subject=You have to see this video&Body=".concat(d),rel:"noreferrer",target:"_blank",children:(0,o.BX)(_,{children:["Email Link",(0,o.tZ)(x,{})]})}),(0,o.tZ)("a",{className:"share-link",href:"sms:&body=".concat(d),rel:"noreferrer",target:"_blank",children:(0,o.BX)(_,{children:["Text Link",(0,o.tZ)(C,{})]})}),(0,o.tZ)("a",{className:"share-link",href:"https://www.facebook.com/sharer.php?u=".concat(d),rel:"noreferrer",target:"_blank",children:(0,o.BX)(_,{children:["Share to Facebook",(0,o.tZ)(y,{})]})}),(0,o.tZ)("a",{className:"share-link",href:"https://www.instagram.com/direct/t/".concat(d),rel:"noreferrer",target:"_blank",children:(0,o.BX)(_,{children:["Share to Instagram",(0,o.tZ)(Z,{})]})})]})]})})})},z=n(81292),S=n(35004),L=n(42727),M=n(19062),E=n(9835),N=n(46347);let D=u.ZP.section.withConfig({componentId:"sc-46671813-0"})(["width:290px;margin-top:0.4rem;overflow:hidden;border:1px solid ",";border-radius:1.2rem;background:",";box-shadow:0 14px 34px ",";
1.static-video-location-marker{width:2.2rem;height:2.2rem;border:2px solid ",";border-radius:999px;background:",";box-shadow:0 8px 18px rgba(15,23,42,0.22),0 0 0 8px rgba(255,0,138,0.16);}@media screen and (max-width:1100px){width:min(42rem,72vw);margin-left:auto;margin-right:auto;}@media screen and (max-width:650px){width:min(100%,34rem);}"],N.O9.border.soft,N.O9.background.panel,N.O9.shadow.soft,N.O9.text.inverse,N.O9.brand.pink),H=u.ZP.div.withConfig({componentId:"sc-46671813-1"})(["padding:1.2rem 1.3rem 1rem;display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;"]),T=u.ZP.p.withConfig({componentId:"sc-46671813-2"})(["color:",";font-size:",";font-weight:",";line-height:1.2;padding:0.45rem 0.45rem;letter-spacing:0.12em;text-transform:uppercase;"],N.O9.brand.pink,N.cp.body.xs,N.cp.weight.bold);u.ZP.div.withConfig({componentId:"sc-46671813-3"})(["width:100%;height:18rem;background:",";@media screen and (max-width:650px){height:20rem;}"],N.O9.background.soft);let W=u.ZP.img.withConfig({componentId:"sc-46671813-4"})(["display:block;width:100%;height:18rem;object-fit:cover;background:",";@media screen and (max-width:650px){height:20rem;}"],N.O9.background.soft),F=u.ZP.div.withConfig({componentId:"sc-46671813-5"})(["width:100%;min-height:18rem;display:flex;align-items:center;justify-content:center;padding:1.6rem;background:",";color:",";font-size:",";font-weight:",";text-align:center;"],N.O9.background.soft,N.O9.text.secondary,N.cp.body.sm,N.cp.weight.semibold),j=e=>"number"==typeof e&&Number.isFinite(e);function A(e){let{latitude:i,longitude:n,locationName:t}=e,[d,a]=(0,r.useState)(!1),l=(0,r.useMemo)(()=>j(i)&&j(n),[i,n]),c=(0,r.useMemo)(()=>{if(!l)return"";let e="".concat(i,",").concat(n),t=new URLSearchParams({center:e,zoom:"".concat(15),size:"640x360",scale:"2",markers:"color:".concat("0xFF0080","|").concat(e),key:"".concat("AIzaSyBM2JS4PatFTbtLaU6NQ1OOpqFL6McOIT4")});return"https://maps.googleapis.com/maps/api/staticmap?".concat(t.toString())},[l,i,n]);return l?(0,o.BX)(D,{children:[(0,o.tZ)(H,{children:(0,o.tZ)(T,{children:"Filming location"})}),d?(0,o.tZ)(F,{children:"Map location could not be loaded."}):(0,o.tZ)(W,{src:c,alt:t?"Map showing the filming location: ".concat(t):"Map showing the video filming location",loading:"lazy",decoding:"async",onError:()=>a(!0)})]}):null}let Y=null!==(t=n(83454).env.NEXT_PUBLIC_B2C_URL)&&void 0!==t?t:"https://navi-savi.com",V=e=>"".concat(Y,"/videos/").concat(e),$=u.ZP.div.withConfig({componentId:"sc-43ce2de0-0"})(["width:290px;display:flex;flex-direction:column;gap:",";@media screen and (max-width:1100px){width:min(42rem,72vw);margin-left:auto;margin-right:auto;}"],N.W0.formFieldGap),G=u.ZP.p.withConfig({componentId:"sc-43ce2de0-1"})(["margin:0;color:",";font-size:",";font-weight:",";"],N.O9.text.secondary,N.cp.body.sm,N.cp.weight.semibold),U=u.ZP.a.withConfig({componentId:"sc-43ce2de0-2"})(["width:100%;box-sizing:border-box;min-height:3.8rem;padding:0 1.4rem;border-radius:",";background:",";color:",";border:1px solid ",";display:inline-flex;justify-content:center;align-items:center;gap:",";cursor:pointer;text-decoration:none;font-size:",";font-weight:",";transition:border-color 0.2s ease,color 0.2s ease,box-shadow 0.2s ease;&:hover{color:",";border-color:",";box-shadow:0 8px 20px ",";}"],N.W0.radiusButton,N.O9.background.panel,N.O9.text.secondary,N.O9.border.medium,N.W0.inlineGap,N.cp.body.sm,N.cp.weight.semibold,N.O9.text.primary,N.O9.border.pinkSoft,N.O9.shadow.pink);var R=e=>{let{videoId:i}=e;return i?(0,o.BX)($,{children:[(0,o.tZ)(G,{children:"More information?"}),(0,o.tZ)(U,{href:V(i),target:"_blank",rel:"noopener noreferrer",children:"View this video on navi-savi.com"})]}):null},q=n(89600),J=n(58171),Q=n(73935);let K=u.ZP.div.withConfig({componentId:"sc-9edbc5be-0"})(["position:fixed;inset:0;z-index:2147483647;display:flex;align-items:center;justify-content:center;padding:2rem;background:rgba(15,19,25,0.82);"]),ee=u.ZP.div.withConfig({componentId:"sc-9edbc5be-1"})(["position:relative;height:min(92vh,96rem);aspect-ratio:9 / 16;max-width:94vw;border-radius:1.6rem;overflow:hidden;background:black;box-shadow:0 2.4rem 6rem rgba(0,0,0,0.44);"]),ei=u.ZP.div.withConfig({componentId:"sc-9edbc5be-2"})(["width:100%;height:100%;background:black;"]);var en=e=>{let{isOpen:i,onClose:n,videoSrc:t,thumbnail:d,title:a,videoId:l,onAddToPlaylist:c,onToggleFavorite:s,isFavorite:p=!1}=e;return((0,r.useEffect)(()=>
1{if(!i)return;let e=e=>{"Escape"===e.key&&n()},t=document.body.style.overflow;return document.body.style.overflow="hidden",window.addEventListener("keydown",e),()=>{document.body.style.overflow=t,window.removeEventListener("keydown",e)}},[i,n]),i&&"undefined"!=typeof document)?(0,Q.createPortal)((0,o.tZ)(K,{role:"dialog","aria-modal":"true","aria-label":a,onClick:n,children:(0,o.tZ)(ee,{onClick:e=>e.stopPropagation(),children:(0,o.tZ)(ei,{children:(0,o.tZ)(J.J,{videoSrc:t,thumbnail:d,title:a,videoId:l,forceControls:!0,onClose:n,onAddToPlaylist:c,onToggleFavorite:s,isFavorite:p})})})}),document.body):null},et=n(50256),eo=n(61312),er=n(88894),ed=n(11070),ea=n(96597),el=n(30687),ec=n(81005),es=n(1504),ep=n(69819),eh=n(54492);function em(e){let{className:i,...n}=e;return(0,o.tZ)(ep.ck,{"data-slot":"radio-group-item",className:(0,eh.cn)("border-[2px] border-navi-purple-main focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 aspect-square w-[20px] h-[20px] shrink-0 rounded-full shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 flex items-center justify-center",i),...n,children:(0,o.tZ)(ep.z$,{"data-slot":"radio-group-indicator",className:"flex items-center justify-center w-[10px] h-[10px]",children:(0,o.tZ)("div",{className:"w-[10px] h-[10px] bg-navi-purple-main rounded-full"})})})}var eu=n(26848),eg=n(81593);let ef=(0,u.ZP)(function(e){let{className:i,...n}=e;return(0,o.tZ)(ep.fC,{"data-slot":"radio-group",className:(0,eh.cn)("grid gap-3",i),...n})}).withConfig({componentId:"sc-4fbeebc6-0"})(["display:grid;gap:14px;font-family:",";"],N.cp.fontFamily.primary),eb=u.ZP.div.withConfig({componentId:"sc-4fbeebc6-1"})(["width:100%;padding:14px;border:1px solid ",";border-radius:12px;background:",";box-shadow:0 1px 3px ",";"],N.O9.border.medium,N.O9.background.panel,N.O9.shadow.soft),ev=u.ZP.div.withConfig({componentId:"sc-4fbeebc6-2"})(["display:flex;flex-direction:column;gap:3px;"]),ew=u.ZP.h3.withConfig({componentId:"sc-4fbeebc6-3"})(["margin:0;color:",";font-size:18px;font-weight:",";line-height:",";"],N.O9.text.primary,N.cp.weight.semibold,N.cp.lineHeight.heading),ex=u.ZP.h3.withConfig({componentId:"sc-4fbeebc6-4"})(["margin:0;color:",";font-size:22px;font-weight:",";line-height:",";"],N.O9.text.primary,N.cp.weight.semibold,N.cp.lineHeight.heading),ey=u.ZP.p.withConfig({componentId:"sc-4fbeebc6-5"})(["margin:0;color:",";font-size:15px;font-weight:",";line-height:",";"],N.O9.text.primary,N.cp.weight.semibold,N.cp.lineHeight.heading),eZ=u.ZP.p.withConfig({componentId:"sc-4fbeebc6-6"})(["margin:0;color:",";font-size:13px;line-height:1.35;"],N.O9.text.muted),eC=u.ZP.div.withConfig({componentId:"sc-4fbeebc6-7"})(["display:grid;width:100%;grid-template-columns:1fr;gap:10px;margin-top:12px;"]),ek=u.ZP.label.withConfig({componentId:"sc-4fbeebc6-8"})(["position:relative;display:flex;min-height:98px;width:100%;flex-direction:column;justify-content:center;gap:4px;padding:12px;border:1px solid ",";border-radius:10px;background:",";text-align:center;cursor:",";opacity:",";transition:border-color 180ms ease,box-shadow 180ms ease,background 180ms ease;"," &:hover{border-color:",";box-shadow:",";}@media screen and (max-width:640px){min-height:92px;padding:",";}"],e=>{let{$selected:i}=e;return i?N.O9.brand.pink:N.O9.border.medium},N.O9.background.panel,e=>{let{$disabled:i}=e;return i?"not-allowed":"pointer"},e=>{let{$disabled:i}=e;return i?.7:1},e=>{let{$selected:i}=e;return i?"box-shadow: 0 0 0 1px ".concat(N.O9.brand.pink,";"):"box-shadow: none;"},e=>{let{$disabled:i}=e;return i?N.O9.border.medium:N.O9.brand.pink},e=>{let{$disabled:i}=e;return i?"none":"0 1px 3px ".concat(N.O9.shadow.soft)},N.W0.cardPaddingMobile),eP=u.ZP.p.withConfig({componentId:"sc-4fbeebc6-9"})(["display:inline-flex;align-items:center;justify-content:center;gap:5px;margin:0;color:",";font-size:13px;font-weight:",";line-height:1.2;"],N.O9.text.primary,N.cp.weight.semibold),eO=u.ZP.p.withConfig({componentId:"sc-4fbeebc6-10"})(["margin:0;color:",";font-size:24px;font-weight:",";line-height:1.1;"],N.O9.brand.pink,N.cp.weight.semibold),eI=u.ZP.p.withConfig({componentId:"sc-4fbeebc6-11"})(["margin:0;color:",";font-size:11px;font-weight:",";"],N.O9.text.muted,N.cp.weight.medium),eB=u.ZP.button.withConfig({componentId:"sc-4fbeebc6-12"})(["display:inline-flex;align-items:center;justify-content:center;gap:",";width:100%;height:44px;margin-top:12px;border-radius:",";background:",";color:",";font-size:14px;font-weight:",";border:0;transition:background 180ms ease,opacity 180ms ease;&:hover:not(:disabled){background:#e6007d;color:",";}
1&:disabled{cursor:not-allowed;opacity:0.55;}"],N.W0.inlineGap,N.W0.radiusButton,N.O9.brand.pink,N.O9.text.inverse,N.cp.weight.semibold,N.O9.text.inverse),e_=u.ZP.div.withConfig({componentId:"sc-4fbeebc6-13"})(["position:relative;width:100%;height:1px;background:",";margin-top:50px;margin-bottom:50px"],N.O9.border.medium),eX=u.ZP.p.withConfig({componentId:"sc-4fbeebc6-14"})(["position:absolute;top:-10px;left:50%;width:140px;margin:0;padding:0 8px;transform:translateX(-50%);background:",";color:",";text-align:center;font-size:12px;font-weight:",";"],N.O9.background.soft,N.O9.text.muted,N.cp.weight.semibold),ez=u.ZP.div.withConfig({componentId:"sc-4fbeebc6-15"})(["display:flex;width:100%;height:48px;padding:4px;border:1px solid ",";border-radius:10px;background:",";box-shadow:0 1px 3px ",";@media screen and (max-width:520px){height:auto;flex-direction:column;}"],N.O9.border.medium,N.O9.background.panel,N.O9.shadow.soft),eS=u.ZP.button.withConfig({componentId:"sc-4fbeebc6-16"})(["flex:1;height:100%;min-height:38px;border:1px solid ",";border-radius:",";background:"," !important;color:",";font-size:13px;font-weight:",";transition:border-color 180ms ease,color 180ms ease,background 180ms ease,box-shadow 180ms ease;"," &:hover{border-color:",";background:"," !important;color:"," !important;}"],e=>{let{$active:i}=e;return i?N.O9.brand.pink:"transparent"},N.W0.radiusButton,N.O9.background.panel,e=>{let{$active:i}=e;return i?N.O9.brand.pink:N.O9.text.primary},N.cp.weight.semibold,e=>{let{$active:i}=e;return i?"box-shadow: 0 1px 3px ".concat(N.O9.shadow.soft,";"):""},N.O9.brand.pink,N.O9.brand.pink,N.O9.text.inverse),eL=u.ZP.span.withConfig({componentId:"sc-4fbeebc6-17"})(["display:inline-flex;align-items:center;gap:5px;"]),eM=u.ZP.p.withConfig({componentId:"sc-4fbeebc6-18"})(["margin:-4px 0 0;color:",";font-size:13px;font-weight:",";line-height:1.35;"],N.O9.text.muted,N.cp.weight.medium),eE=u.ZP.div.withConfig({componentId:"sc-4fbeebc6-19"})(["display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 12px;border:1px solid ",";border-radius:10px;background:",";box-shadow:0 1px 3px ",";@media screen and (max-width:520px){align-items:stretch;flex-direction:column;gap:10px;}"],N.O9.border.medium,N.O9.background.panel,N.O9.shadow.soft),eN=u.ZP.p.withConfig({componentId:"sc-4fbeebc6-20"})(["margin:0;color:",";font-size:13px;font-weight:",";"],N.O9.text.primary,N.cp.weight.semibold),eD=u.ZP.div.withConfig({componentId:"sc-4fbeebc6-21"})(["display:flex;width:220px;height:38px;padding:3px;border:1px solid ",";border-radius:",";background:",";@media screen and (max-width:520px){width:100%;}"],N.O9.border.medium,N.W0.radiusButton,N.O9.background.panel),eH=u.ZP.div.withConfig({componentId:"sc-4fbeebc6-22"})(["display:grid;gap:10px;"]),eT=u.ZP.label.withConfig({componentId:"sc-4fbeebc6-23"})(["position:relative;display:flex;align-items:center;gap:14px;padding:13px 14px;border:1px solid ",";border-radius:10px;background:",";cursor:",";opacity:",";transition:border-color 180ms ease,box-shadow 180ms ease,background 180ms ease;"," &:hover{border-color:",";box-shadow:",";}@media screen and (max-width:640px){align-items:flex-start;}"],e=>{let{$selected:i}=e;return i?N.O9.brand.pink:N.O9.border.medium},N.O9.background.panel,e=>{let{$disabled:i}=e;return i?"not-allowed":"pointer"},e=>{let{$disabled:i}=e;return i?.7:1},e=>{let{$selected:i}=e;return i?"box-shadow: 0 0 0 1px ".concat(N.O9.brand.pink,";"):"box-shadow: none;"},e=>{let{$disabled:i}=e;return i?N.O9.border.medium:N.O9.brand.pink},e=>{let{$disabled:i}=e;return i?"none":"0 1px 3px ".concat(N.O9.shadow.soft)}),eW=u.ZP.span.withConfig({componentId:"sc-4fbeebc6-24"})(["display:flex;width:20px;height:20px;flex-shrink:0;align-items:center;justify-content:center;border:1px solid ",";border-radius:999px;"],e=>{let{$selected:i}=e;return i?N.O9.brand.pink:"rgba(209, 213, 219, 1)"}),eF=u.ZP.span.withConfig({componentId:"sc-4fbeebc6-25"})(["width:10px;height:10px;border-radius:999px;background:",";"],N.O9.brand.pink),ej=u.ZP.div.withConfig({componentId:"sc-4fbeebc6-26"})(["display:flex;width:100%;align-items:center;justify-content:space-between;gap:18px;@media screen and (max-width:640px){align-items:flex-start;flex-direction:column;gap:10px;}"]),eA=u.ZP.div.withConfig({componentId:"sc-4fbeebc6-27"})(["display:flex;min-width:0;flex-direction:column;gap:3px;"]),eY=u.ZP.div.withConfig({componentId:"sc-4fbeebc6-28"})(["display:flex;flex-wrap:wrap;align-items:center;gap:8px;"]),eV=u.ZP.h4.withConfig({componentId:"sc-4fbeebc6-29"})(["margin:0;color:",";font-size:16px;font-weight:",";line-height:",";"],N.O9.text.primary,N.cp.weight.semibold,N.cp.lineHeight.heading),e$=u.ZP.span.withConfig({componentId:"sc-4fbeebc6-30"})(["padding:3px 9px;border-radius:999px;background:",";color:",";font-size:10px;font-weight:",";line-height:1;"],N.O9.brand.pink,N.O9.text.inverse,N.cp.weight.semibold),eG=u.ZP.p.withConfig({componentId:"sc-4fbeebc6-31"})(["margin:0;color:",";font-size:13px;"],N.O9.text.muted),eU=u.ZP.p.withConfig({componentId:"sc-4fbeebc6-32"})(["margin:0;color:#16a34a;font-size:13px;font-weight:",";"],N.cp.weight.medium),eR=u.ZP.div.withConfig({componentId:"sc-4fbeebc6-33"})(["display:flex;flex-shrink:0;flex-direction:column;gap:3px;text-align:right;@media screen and (max-width:640px){width:100%;text-align:left;}"]),eq=u.ZP.p.withConfig({componentId:"sc-4fbeebc6-34"})(["margin:0;color:",";font-size:20px;font-weight:",";line-height:1.15;"],N.O9.text.primary,N.cp.weight.semibold),eJ=u.ZP.span.withConfig({componentId:"sc-4fbeebc6-35"})(["font-size:13px;font-weight:",";"],N.cp.weight.semibold),eQ=u.ZP.span.withConfig({componentId:"sc-4fbeebc6-36"})(["position:relative;display:inline-flex;vertical-align:middle;"]),eK=u.ZP.span.withConfig({componentId:"sc-4fbeebc6-37"})(["width:13px;height:13px;color:",";cursor:help;transition:color 180ms ease;&:hover{color:",";}"],N.O9.text.muted,N.O9.brand.pink),e0=u.ZP.span.withConfig({componentId:"sc-4fbeebc6-38"})(["pointer-events:none;position:absolute;bottom:22px;left:50%;z-index:50;display:block;width:min(280px,calc(100vw - 48px));padding:9px 10px;transform:translateX(-50%);border:1px solid ",";border-radius:",";background:",";color:",";text-align:left;white-space:pre-line;word-break:normal;overflow-wrap:break-word;font-size:12px;font-weight:",";line-height:1.3;box-shadow:0 8px 24px ",";@media screen and (max-width:520px){left:auto;right:-8px;transform:none;}"],N.O9.border.medium,N.W0.radiusPanel,N.O9.background.panel,N.O9.text.primary,N.cp.weight.medium,N.O9.shadow.medium),e1="Covers organic social, multiple brand profiles, paid social, digital ads, website usage and perpetual use.\n\n\uD83D\uDCA1 For Broadcast/TV usage contact us to discu
1ss.",e2=[{id:"placeholder-30",label:"â videos/month"},{id:"placeholder-60",label:"â videos/month",popular:!0},{id:"placeholder-90",label:"â videos/month"}],e4=e=>{var i,n;return!!((null==e?void 0:null===(i=e.annual)||void 0===i?void 0:i.length)||(null==e?void 0:null===(n=e.monthly)||void 0===n?void 0:n.length))},e3=e=>{if(!e&&0!==e)return"$â";if(e>=1e3){let i=e/1e3,n=Number.isInteger(i)?i:i.toFixed(1);return"$".concat(n,"k")}return"$".concat(Math.round(e))},e6=e=>{var i,n;return Number(null!==(n=null==e?void 0:null===(i=e.metadata)||void 0===i?void 0:i["Web Video Limit"])&&void 0!==n?n:0)},e9=e=>{var i,n;return Number(null!==(n=null==e?void 0:null===(i=e.metadata)||void 0===i?void 0:i["Days Limit"])&&void 0!==n?n:0)},e7=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return[...e].sort((e,i)=>e6(e)-e6(i))},e8=(e,i)=>!!e&&i.some(i=>{var n;return(null==i?void 0:null===(n=i.price)||void 0===n?void 0:n.id)===e.id}),e5=(e,i)=>!!e&&!e8(e,i),ie=e=>{let{content:i}=e,[n,t]=(0,r.useState)(!1);return(0,o.BX)(eQ,{tabIndex:0,"aria-label":i,onMouseEnter:()=>t(!0),onMouseLeave:()=>t(!1),onFocus:()=>t(!0),onBlur:()=>t(!1),onClick:e=>{e.preventDefault(),e.stopPropagation(),t(e=>!e)},children:[(0,o.tZ)(eK,{as:eu.Z}),n&&(0,o.tZ)(e0,{children:i})]})};var ii=function(e){var i,n;let{singleTypePrices:t,setSelectPrice:d,isAnnual:a,setIsAnnual:l,isSocialOnly:c,setIsSocialOnly:s,selectedPrice:p,payGoPrices:h,handleAddToCart:m}=e,[u,g]=(0,r.useState)([]),[f,b]=(0,r.useState)(""),[v,w]=(0,r.useState)(!1),x=(0,r.useMemo)(()=>e4(t)?t:null,[t]),y=null!==(n=null==h?void 0:null===(i=h[1])||void 0===i?void 0:i.price)&&void 0!==n?n:null,Z=e4(x),C=!!(null==h?void 0:h.length),k=e8(p,h),P=e5(p,h);return(0,r.useEffect)(()=>{var e;if(!x){g([]),b("");return}let i=a?x.annual:x.monthly;if(!(null==i?void 0:i.length)){g([]),b("");return}let n=e7(i),t=null!==(e=n.find(e=>60===e6(e)))&&void 0!==e?e:n[0];g(n),t&&(!y||P)&&(d(t),b(t.id))},[x,a,d,y,P]),(0,r.useEffect)(()=>{y&&!v&&(d(y),b(y.id),w(!0))},[y,v,d]),(0,o.BX)(ef,{value:f,onValueChange:b,children:[(0,o.BX)(eb,{children:[(0,o.BX)(ev,{children:[(0,o.tZ)(ew,{children:"License this video"}),(0,o.tZ)(eZ,{children:"Pay once, download instantly, use in perpetuity"})]}),(0,o.tZ)(eC,{children:(C?[h[1]]:[null]).map((e,i)=>{var n,t,r,a;let l=null!==(a=null==e?void 0:null===(n=e.price)||void 0===n?void 0:n.id)&&void 0!==a?a:"payg-placeholder-".concat(i),c="number"==typeof(null==e?void 0:null===(t=e.price)||void 0===t?void 0:t.unit_amount)?e.price.unit_amount/100:null,s=f===(null==e?void 0:null===(r=e.price)||void 0===r?void 0:r.id),p=!!(null==e?void 0:e.price);return(0,o.BX)(ek,{htmlFor:l,$selected:s,$disabled:!p,onClick:()=>{(null==e?void 0:e.price)&&(d(e.price),b(e.price.id))},children:[(0,o.tZ)(em,{value:l,id:l,className:"sr-only",disabled:!p}),(0,o.BX)(eP,{children:["Social, Web & Ads",(0,o.tZ)(ie,{content:e1})]}),(0,o.tZ)(eO,{children:e3(c)}),(0,o.tZ)(eI,{children:"per video"})]},l)})}),(0,o.BX)(eB,{as:es.z,onClick:m,disabled:!k,children:["Add to cart"," ",(0,o.tZ)(eg.Z,{size:17})]})]}),(0,o.tZ)(e_,{children:(0,o.tZ)(eX,{children:"or choose a plan"})}),(0,o.BX)(ev,{children:[(0,o.tZ)(ex,{children:"Need videos regularly?"}),(0,o.tZ)(eZ,{children:"Options for teams sourcing videos on an ongoing basis."})]}),(0,o.BX)(ez,{children:[(0,o.tZ)(eS,{as:es.z,onClick:()=>s(!0),variant:"ghost",$active:c,children:(0,o.BX)(eL,{children:["Social Use",(0,o.tZ)(ie,{content:"Organic social for one brand, including Instagram, TikTok, YouTube and Facebook. Includes perpetual use. Not for paid ads, websites, multiple brand profiles or broadcast/TV."})]})}),(0,o.tZ)(eS,{as:es.z,onClick:()=>s(!1),variant:"ghost",$active:!c,children:(0,o.BX)(eL,{children:["Social, Web & Ads",(0,o.tZ)(ie,{content:e1})]})})]}),(0,o.tZ)(eM,{children:c?"Best for social posts across your owned channels.":"Best for website, ads, paid media, and full campaigns."}),(0,o.BX)(eE,{children:[(0,o.tZ)(eN,{children:"Billing"}),(0,o.BX)(eD,{children:[(0,o.tZ)(eS,{as:es.z,onClick:()=>l(!0),variant:"ghost",$active:a,children:"Annual"}),(0,o.tZ)(eS,{as:es.z,onClick:()=>l(!1),variant:"ghost",$active:!a,children:"Monthly"})]})]}),(0,o.BX)(ev,{children:[(0,o.tZ)(ey,{children:"Choose your plan"}),(0,o.tZ)(eZ,{children:"Based on how many videos you need."})]}),(0,o.tZ)(eH,{children:Z?u.map((e,i)=>{var n,t,r,l,c,s;let h=e6(e),m=e9(e),u="number"==typeof(null==e?void 0:e.unit_amount)?e.unit_amount/100:null,g=null==x?void 0:null===(n=x.monthly)||void 0===n?void 0:n.find(e=>e6(e)===h),f=null==x?void 0:null===(t=x.annual)||void 0===t?void 0:t.find(e=>e6(e)===h),v="number"==typeof(null==g?void 0:g.unit_amount)?g.unit_amount/100:null,w="number"==typeof(null==f?void 0:f.unit_amount)?f.unit_amount/100:null,y=u&&h?Math.ceil(u/(30===m?h:12*h)):null,Z=a?w:v?12*v:null,C=a?w?w/12:null:v,k=v&&w?12*v-w:0,P=v&&k>0?Math.round(k/(12*v)*100):0,O=60===h,I=(null==p?void 0:p.id)===(null==e?void 0:e.id);return(0,o.BX)(eT,{htmlFor:null!==(r=null==e?void 0:e.id)&&void 0!==r?r:String(i),$selected:I,onClick:()=>{d(e),b(null==e?void 0:e.id)},children:[(0,o.tZ)(em,{value:null!==(l=null==e?void 0:e.id)&&void 0!==l?l:String(i),id:null!==(c=null==e?void 0:e.id)&&void 0!==c?c:String(i),className:"sr-only"}),(0,o.tZ)(eW,{$selected:I,children:I&&(0,o.tZ)(eF,{})}),(0,o.BX)(ej,{children:[(0,o.BX)(eA,{children:[(0,o.BX)(eY,{children:[(0,o.BX)(eV,{children:[h," videos/month"]}),O&&(0,o.tZ)(e$,{children:"Most Popular"})]}),(0,o.BX)(eG,{children:[e3(y)," per video"]}),a&&k>0&&(0,o.BX)(eU,{children:["Save ",e3(k),"/year (",P,"%)"]})]}),(0,o.BX)(eR,{children:[(0,o.BX)(eq,{children:[e3(C),(0,o.tZ)(eJ,{children:" / mo"})]}),(0,o.BX)(eG,{children:[e3(Z)," / year"]})]})]})]},null!==(s=null==e?void 0:e.id)&&void 0!==s?s:i)}):e2.map(e=>(0,o.BX)(eT,{htmlFor:e.id,$disabled:!0,children:[(0,o.tZ)(em,{value:e.id,id:e.id,className:"sr-only",disabled:!0}),(0,o.tZ)(eW,{}),(0,o.BX)(ej,{children:[(0,o.BX)(eA,{children:[(0,o.BX)(eY,{children:[(0,o.tZ)(eV,{children:e.label}),e.popular&&(0,o.tZ)(e$,{children:"Most Popular"})]}),(0,o.tZ)(eG,{children:"$â per video"})]}),(0,o.BX)(eR,{children:[(0,o.BX)(eq,{children:["$â",(0,o.tZ)(eJ,{children:" / mo"})]}),(0,o.tZ)(eG,{children:"$â / year"})]})]})]},e.id))}),(0,o.BX)(eB,{as:es.z,onClick:m,disabled:!P,children:[P?"Add plan to cart":"Select a plan"," ",(0,o.tZ)(eg.Z,{size:18})]})]})},it=n(5810),io=n(46669),ir=n(9965),id=n(4066),ia=n(85918),il=n(7515),ic=n(41664),is=n.n(ic);let ip=u.ZP.div.withConfig({componentId:"sc-f602a317-0"})(["width:100%;min-height:calc(100vh - 88px);background:",";font-family:",";"],N.O9.background.page,N.cp.fontFamily.primary),ih=u.ZP.div.withConfig({componentId:"sc-f602a317-1"})(["width:100%;max-width:",";margin:0 auto;padding:3rem "," 5.2rem;@media screen and (max-width:1024px){padding:2.6rem "," 4.8rem;}@media screen and (max-width:650px){padding:2rem "," 3.6rem;}"],N.W0.maxWidthTight,N.W0.pageX,N.W0.pageXTablet,N.W0.pageXMobile),im=u.ZP.div.withConfig({componentId:"sc-f602a317-2"})(["display:flex;align-items:center;margin-bottom:2.2rem;@media screen and (max-width:650px){margin-bottom:1.6rem;}"]),iu=u.ZP.button.withConfig({componentId:"sc-f602a317-3"})(["background:none;border:none;padding:0;cursor:pointer;color:",";font-size:",";font-weight:",";&:hover{color:",";}"],N.O9.text.muted,N.cp.body.sm,N.cp.weight.medium,N.O9.text.primary),ig=u.ZP.div.withConfig({componentId:"sc-f602a317-4"})(["display:grid;grid-template-columns:330px minmax(0,1fr);gap:clamp(3.6rem,5vw,6.8rem);align-items:start;@media screen and (max-width:1100px){grid-template-columns:1fr;gap:3rem;}"]),ib=u.ZP.section.withConfig({componentId:"sc-f602a317-5"})(["min-width:0;display:flex;flex-direction:column;gap:1.2rem;"]),iv=u.ZP.aside.withConfig({componentId:"sc-f602a317-6"})(["min-width:0;width:100%;@media screen and (min-width:1101px){position:sticky;top:10rem;}"]),iw=u.ZP.div.withConfig({componentId:"sc-f602a317-7"})(["display:none;@media screen and (max-width:1100px){display:block;max-width:62rem;margin:0 auto 0.8rem;text-align:center;}@media screen and (max-width:650px){text-align:left;}"]),ix=u.ZP.div.withConfig({componentId:"sc-f602a317-8"})(["display:block;@media screen and (max-width:1100px){display:none;}"]),iy=u.ZP.p.withConfig({componentId:"sc-f602a317-9"})(["margin:0 0 0.8rem;color:",";font-size:",";font-weight:",";letter-spacing:0.14em;text-transform:uppercase;"],N.O9.brand.pink,N.cp.section.eyebrow,N.cp.weight.bold),iZ=u.ZP.h1.withConfig({componentId:"sc-f602a317-10"})(["margin:0;color:",";font-size:clamp(3rem,4vw,4.8rem);font-weight:",";line-height:",";letter-spacing:-0.04em;"],N.O9.text.primary,N.cp.weight.bold,N.cp.lineHeight.tight),iC=u.ZP.p.withConfig({componentId:"sc-f602a317-11"})(["margin:1rem 0 0;color:",";font-size:",";font-weight:",";line-height:",";"],N.O9.text.secondary,N.cp.body.md,N.cp.weight.medium,N.cp.lineHeight.body),ik=u.ZP.div.withConfig({componentId:"sc-f602a317-12"})(["height:516px;width:290px;border-radius:1.2rem;overflow:hidden;background:",";border:1px solid ",";box-shadow:0 14px 34px ",";display:flex;align-items:stretch;justify-content:stretch;> *{width:100%;height:100%;min-width:0;}@media screen and (max-width:1100px){width:min(42rem,72vw);aspect-ratio:9 / 16;height:auto;margin:0 auto;}@media screen and (max-width:650px){width:min(100%,34rem);}"],N.O9.background.soft,N.O9.border.soft,N.O9.shadow.soft),iP=u.ZP.div.withConfig({componentId:"sc-f602a317-13"})(["width:290px;padding:0.4rem 0 0;@media screen and (max-width:1100px){width:min(42rem,72vw);margin:0 auto;}@media screen and (max-width:650px){width:min(100%,34rem);}"]),iO=u.ZP.h2.withConfig({componentId:"sc-f602a317-14"})(["margin:0;color:",";font-size:clamp(2rem,2vw,2.6rem);font-weight:",";line-height:",";letter-spacing:-0.03em;"],N.O9.text.primary,N.cp.weight.bold,N.cp.lineHeight.heading),iI=u.ZP.div.withConfig({componentId:"sc-f602a317-15"})(["margin-top:0.5rem;color:",";font-size:",";font-weight:",";line-height:",";text-transform:uppercase;letter-spacing:0.08em;p{margin:0;}"],N.O9.text.muted,N.cp.body.xs,N.cp.weight.semibold,N.cp.lineHeight.body),iB=u.ZP.div.withConfig({componentId:"sc-f602a317-16"})(["margin-top:0.7rem;color:",";font-size:",";font-weight:",";line-height:",";"],N.O9.text.secondary,N.cp.body.sm,N.cp.weight.medium,N.cp.lineHeight.body),i_=u.ZP.div.withConfig({componentId:"sc-f602a317-17"})(["width:290px;
1display:flex;gap:0.8rem;margin-top:0.1rem;@media screen and (max-width:1100px){width:min(42rem,72vw);margin-left:auto;margin-right:auto;}@media screen and (max-width:650px){width:min(100%,34rem);}"]),iX=u.ZP.button.withConfig({componentId:"sc-f602a317-18"})(["min-height:3.8rem;border-radius:0.8rem;background:",";color:",";border:1px solid ",";display:inline-flex;justify-content:center;align-items:center;gap:0.7rem;cursor:pointer;transition:border-color 0.2s ease,color 0.2s ease,box-shadow 0.2s ease;font-size:",";font-weight:",";flex:1;padding:0 1.4rem;&:hover{color:",";border-color:",";box-shadow:0 8px 20px ",";}"],N.O9.background.panel,N.O9.text.secondary,N.O9.border.medium,N.cp.body.sm,N.cp.weight.semibold,N.O9.text.primary,N.O9.border.pinkSoft,N.O9.shadow.pink),iz=(0,u.ZP)(is()).withConfig({componentId:"sc-f602a317-19"})(["min-height:4.4rem;border-radius:0.8rem;background:#000;color:",";display:inline-flex;justify-content:center;align-items:center;gap:0.9rem;border:none;cursor:pointer;font-size:",";font-weight:",";text-decoration:none;"],N.O9.text.inverse,N.cp.button.md,N.cp.weight.bold),iS=u.ZP.span.withConfig({componentId:"sc-f602a317-20"})(["color:",";font-size:1.6rem;font-weight:",";line-height:1;"],N.O9.brand.turquoise,N.cp.weight.bold),iL=u.ZP.span.withConfig({componentId:"sc-f602a317-21"})(["color:",";font-size:",";font-weight:",";"],N.O9.text.secondary,N.cp.body.sm,N.cp.weight.semibold),iM=u.ZP.div.withConfig({componentId:"sc-f602a317-22"})(["margin-bottom:1.6rem;"]),iE=u.ZP.h2.withConfig({componentId:"sc-f602a317-23"})(["margin:0;color:",";font-size:clamp(3rem,3vw,4.6rem);font-weight:",";line-height:",";letter-spacing:-0.04em;"],N.O9.text.primary,N.cp.weight.bold,N.cp.lineHeight.tight),iN=u.ZP.p.withConfig({componentId:"sc-f602a317-24"})(["margin:0.8rem 0 0;color:",";font-size:",";font-weight:",";line-height:",";"],N.O9.text.secondary,N.cp.body.md,N.cp.weight.medium,N.cp.lineHeight.body),iD=u.ZP.div.withConfig({componentId:"sc-f602a317-25"})(["width:100%;padding:clamp(1.8rem,2vw,2.4rem);border-radius:1.2rem;border:1px solid ",";background:",";box-shadow:0 18px 52px ",";"],N.O9.border.medium,N.O9.background.soft,N.O9.shadow.soft);u.ZP.h3.withConfig({componentId:"sc-f602a317-26"})(["margin:0;color:",";font-size:clamp(2rem,2vw,2.6rem);font-weight:",";line-height:",";letter-spacing:-0.03em;"],N.O9.text.primary,N.cp.weight.bold,N.cp.lineHeight.heading),u.ZP.p.withConfig({componentId:"sc-f602a317-27"})(["margin:0.8rem 0 0;color:",";font-size:",";font-weight:",";line-height:",";"],N.O9.text.secondary,N.cp.body.sm,N.cp.weight.medium,N.cp.lineHeight.body),u.ZP.div.withConfig({componentId:"sc-f602a317-28"})(["margin-top:1.6rem;padding:0.4rem;min-height:4.4rem;width:100%;display:flex;align-items:center;gap:0.4rem;background:",";border:1px solid ",";border-radius:0.8rem;box-shadow:0 10px 24px ",";button{min-height:3.6rem;border-radius:0.6rem;font-size:",";font-weight:",";}"],N.O9.background.panel,N.O9.border.medium,N.O9.shadow.soft,N.cp.button.md,N.cp.weight.bold),u.ZP.p.withConfig({componentId:"sc-f602a317-29"})(["margin:1.2rem 0 0;color:",";font-size:",";font-weight:",";line-height:",";"],N.O9.text.secondary,N.cp.body.sm,N.cp.weight.medium,N.cp.lineHeight.body),u.ZP.div.withConfig({componentId:"sc-f602a317-30"})(["width:100%;display:flex;justify-content:center;"]),u.ZP.div.withConfig({componentId:"sc-f602a317-31"})(["margin-top:1.6rem;padding:0.4rem;min-height:4rem;width:22rem;display:flex;align-items:center;gap:0.4rem;background:",";border:1px solid ",";border-radius:0.8rem;box-shadow:0 8px 18px ",";button{min-height:3.2rem;border-radius:0.6rem;font-size:",";font-weight:",";}"],N.O9.background.panel,N.O9.border.medium,N.O9.shadow.soft,N.cp.button.md,N.cp.weight.bold);let iH=u.ZP.div.withConfig({componentId:"sc-f602a317-32"})(["margin-top:0;"]),iT=u.ZP.div.withConfig({componentId:"sc-f602a317-33"})(["width:100%;min-height:40rem;display:flex;align-items:center;justify-content:center;"]),iW=u.ZP.div.withConfig({componentId:"sc-f602a317-34"})(["width:100%;padding:clamp(1.8rem,2.4vw,2.6rem);border-radius:1.2rem;border:1px solid ",";background:",";box-shadow:0 18px 52px ",";"],N.O9.border.medium,N.O9.background.soft,N.O9.shadow.soft),iF=u.ZP.div.withConfig({componentId:"sc-f602a317-35"})(["width:100%;margin-bottom:1.4rem;padding-bottom:1rem;border-bottom:1px solid ",";color:",";font-size:",";font-weight:",";"],N.O9.border.medium,N.O9.text.primary,N.cp.body.xl,N.cp.weight.bold),ij=u.ZP.div.withConfig({componentId:"sc-f602a317-36"})(["color:",";.name,.end{text-transform:uppercase;color:",";font-weight:",";font-size:",";letter-spacing:0.08em;margin-bottom:0.8rem;}.remaining{color:",";font-weight:",";font-size:",";line-height:",";margin-bottom:2rem;}"],N.O9.text.primary,N.O9.text.muted,N.cp.weight.semibold,N.cp.body.sm,N.O9.text.secondary,N.cp.weight.medium,N.cp.body.md,N.cp.lineHeight.body),iA=u.ZP.div.withConfig({componentId:"sc-f602a317-37"})(["position:fixed;top:2rem;right:2rem;z-index:100000;box-sizing:border-box;opacity:0;transform:translateY(-20px);transition:opacity 0.3s ease,transform 0.3s ease;",""],e=>{let{showToast:i}=e;return i&&"\n opacity: 1;\n transform: translateY(0);\n "}),iY=u.ZP.h2.withConfig({componentId:"sc-f602a317-38"})(["margin:0;color:",";font-size:clamp(2.4rem,3vw,3.2rem);font-weight:",";line-height:",";"],N.O9.text.primary,N.cp.weight.bold,N.cp.lineHeight.heading);u.ZP.div.withConfig({componentId:"sc-f602a317-39"})([""]),u.ZP.label.withConfig({componentId:"sc-f602a317-40"})([""]),u.ZP.input.withConfig({componentId:"sc-f602a317-41"})([""]),u.ZP.button.withConfig({componentId:"sc-f602a317-42"})([""]),u.ZP.div.withConfig({componentId:"sc-f602a317-43"})([""]),u.ZP.div.withConfig({componentId:"sc-f602a317-44"})([""]);let iV=u.ZP.div.withConfig({componentId:"sc-f602a317-45"})(["margin:2rem 0;padding:1.6rem;border-radius:0.8rem;background:",";border:1px solid ",";color:",";font-size:",";line-height:",";"],N.O9.background.panel,N.O9.border.medium,N.O9.text.secondary,N.cp.body.sm,N.cp.lineHeight.body);var i$=n(9008),iG=n.n(i$),iU=n(59519),iR=n(56732),iq=n(83454),iJ=!0,iQ=e=>{var i,n,t,c,p,u,g;let{videoData:f,content:w,shared:x,modal:y,handleCloseVideoModal:Z}=e,{activeCollectionId:C,handleCollectionModal:k}=(0,ir.bX)(),{favorites:P,toggleFavorite:O}
1=(0,id.r)(),{loading:I,setLoading:B}=(0,io.bp)(),{addToCart:_,cart:N,licensePrices:D,creditsRemaining:H,subscriptionEndDate:T,subscriptionLabel:W,loadingUserMetadata:F,userPurchaseData:j,activePurchase:Y,fetchUserPurchaseData:V,isPlanUpgrading:$,showCartToast:G}=(0,it.iQ)(),{user:U,isUserValid:Q,loadingAuth:K}=(0,ia.a)(),[ee,ei]=(0,r.useState)(null),es=(0,l.getCookie)("dbuser")||ee,ep=es?JSON.parse(es):void 0,eh=null==ep?void 0:ep.customer_id,em=(0,r.useRef)(null),eu=(0,a.useRouter)(),eg=eu.asPath,ef={canonicalUrl:"".concat(null!==(p=iq.env.NS_URL_HOSTNAME)&&void 0!==p?p:"https://www.navisavitravel.com","/video/").concat(null==f?void 0:f.id),metaDescription:null!==(u=null==f?void 0:f.description)&&void 0!==u?u:"Purchase Licensing",title:"Navi Savi - ".concat(null==f?void 0:f.title)||0},eb=w?(0,L.Eg)(w,x):null,ev=null==w?void 0:w.openGraphMetadata,[ew,ex]=(0,r.useState)(null),[ey,eZ]=r.useState(!1),[eC,ek]=r.useState(!1),[eP,eO]=(0,r.useState)(!1),eI=(0,r.useRef)(null),[eB,e_]=(0,r.useState)(void 0),[eX,ez]=(0,r.useState)(null),[eS,eL]=(0,r.useState)([]),[eM,eE]=(0,r.useState)(!1),[eN,eD]=(0,r.useState)(null),[eH,eT]=(0,r.useState)(!1),[eW,eF]=(0,r.useState)(!1),[ej,eA]=(0,r.useState)(!1),[eY,eV]=(0,r.useState)(!1),[e$,eG]=(0,r.useState)(!0),[eU,eR]=(0,r.useState)(!0),[eq,eJ]=(0,r.useState)(il.e),[eQ,eK]=(0,r.useState)([]),[e0,e1]=(0,r.useState)(null),[e2,e4]=(0,r.useState)(null);(0,r.useEffect)(()=>{let e=async()=>{await V(null)};(null==f?void 0:f.id)?(ex(f),e()):eu.push("/404")},[f]),(0,r.useEffect)(()=>{if(null==j?void 0:j.length)for(let n of j){var e,i;if(null==n?void 0:null===(e=n.products)||void 0===e?void 0:e.length)for(let e of n.products)(null==e?void 0:null===(i=e.videos)||void 0===i?void 0:i.length)&&void 0!==e.videos.find(e=>e.video_id==(null==f?void 0:f.id))&&(eT(!0),eF(!0),(null==e?void 0:e.credits)==1&&eV(!0))}},[j,f]),(0,r.useEffect)(()=>{if(!(null==D?void 0:D.length))return;let e={web:{monthly:[],annual:[]},social:{monthly:[],annual:[]},payGo_web:null,payGo_social:null};D.forEach(i=>{var n;null==i||null===(n=i.prices)||void 0===n||n.forEach(i=>{var n,t,o;let r=null==i?void 0:null===(t=i.metadata)||void 0===t?void 0:null===(n=t.Type)||void 0===n?void 0:n.toLowerCase(),d=30==+(null==i?void 0:null===(o=i.metadata)||void 0===o?void 0:o["Days Limit"])?"monthly":"annual";switch(r){case"web":e.web[d].push(i);break;case"social":e.social[d].push(i);break;case"pay_as_social":e.payGo_social=i;break;case"pay_as_web":e.payGo_web=i}})}),eJ([{title:"Social",type:"social",prices:e.social},{title:"Web",type:"web",prices:e.web}]),eK([{title:"Social",type:"Custom Social",price:e.payGo_social},{title:"Web",type:"Custom Web",price:e.payGo_web}].filter(e=>e.price))},[D]);let e3=(0,r.useCallback)(()=>null==eq?void 0:eq.find(e=>(null==e?void 0:e.type)===(e$?"social":"web")),[e$,eq]),e6=(0,r.useCallback)(()=>{let e=e3();e&&e4(e.prices)},[e3]);(0,r.useEffect)(()=>{e6()},[eU,e$,e6]);let e9=async()=>{(await s().fire({title:"Add this video?",text:"One video credit will be used from your active subscription.",icon:"info",showCancelButton:!0,confirmButtonColor:b.Z.naviPurple.main,cancelButtonColor:b.Z.naviPink.main,confirmButtonText:"Yes, add this video"})).isConfirmed&&eh&&(async()=>{try{B({active:!0,message:"Adding this video to your subscription..."});let e=await E.Z.post("/api/customer/add-video-subscription?customer_id=".concat(eh,"&subscription_id=").concat(Y.subscription_id),{video_id:String(f.id)});(null==e?void 0:e.status)==200&&((0,m.yv)("Video added to your subscription.",{variant:"success"}),await V(null))}catch(t){var e,i,n;(0,m.yv)(null!==(n=null==t?void 0:null===(i=t.response)||void 0===i?void 0:null===(e=i.data)||void 0===e?void 0:e.message)&&void 0!==n?n:"Error adding video to subscription",{variant:"error"})}finally{B({active:!1})}})()};em.current||(em.current=(0,L.Ds)(e=>{e_(e)},200));let e7=async e=>{U&&Q?k(e):(0,m.yv)("Log in or create an account to save this video.",{variant:"info"})},e8=null!==(g=null==P?void 0:P.includes(Number(null==ew?void 0:ew.id)))&&void 0!==g&&g,e5=()=>{if(!U||!Q){(0,m.yv)("Log in or create an account to save this video.",{variant:"info"});return}
1O(Number(null==ew?void 0:ew.id))},ie=async e=>{e.preventDefault(),await (0,M.j)(ew)};if((0,r.useEffect)(()=>{var e;if(eL(null!==(e=null===S.Z||void 0===S.Z?void 0:S.Z.activeChannels)&&void 0!==e?e:[]),eY)ez(eY);else if(j){let e=null;for(let i of j){for(let n of i.products||[])if(n.videos&&n.videos.length>0&&n.videos.find(e=>e==f.id)){e=n;break}if(e)break}e&&ez(e)}},[eY,j,f]),(0,r.useEffect)(()=>{ei(localStorage.getItem("dbuser"))},[]),(0,r.useEffect)(()=>{document.cookie.split("; ").find(e=>e.startsWith("userLog="))},[]),!ew)return(0,o.tZ)(eo.Z,{message:"Fetching video data..."});let ic=async()=>{eD(h()(Y.subscription_end_date).format("MMMM-DD-YYYY")),(null==Y?void 0:Y.credits_remaining)?await e9():eE(!0)},{title:is,description:i$,id:iJ,location_name:iQ,latitude:iK,longitude:i0,thumbnail:i1,compressed_file:i2,preview_file:i4,low_res_file:i3,standard_res_file:i6,production_file:i9,high_res_file:i7,ultra_high_res_file:i8,original_file:i5}=ew,ne=i8||i7||i9||i6||i2||i3||i4||i5||"",ni=(0,iR.w)(ew)||i1||"",nn=(0,o.BX)(iP,{children:[(0,o.tZ)(iO,{children:is}),iQ&&(0,o.tZ)(iI,{children:(0,o.BX)("p",{children:["Location: ",iQ]})}),i$&&(0,o.tZ)(iB,{children:i$})]}),nt=(0,o.BX)(o.HY,{children:[(0,o.BX)(ip,{children:[F.active&&(0,o.tZ)(eo.Z,{message:F.message}),I.active&&(0,o.tZ)(eo.Z,{message:(null==I?void 0:null===(i=I.message)||void 0===i?void 0:i.length)?I.message:void 0}),eP&&(null==eX?void 0:eX.subscription_id)&&(null==eX?void 0:eX.subscription_type)&&eh&&(0,o.tZ)(v.Z,{isOpen:eP,onClose:()=>{eO(!1)},children:(0,o.tZ)(el.Z,{video_id:f.id,closePopup:()=>{eO(!1)},subscription_id:null==eX?void 0:eX.subscription_id,type:eX.subscription_type,activeChannels:eS,customer_id:eh})}),(0,o.BX)(ih,{children:[(0,o.tZ)(im,{children:(0,o.tZ)(iu,{type:"button",onClick:()=>{Z?Z():eu.back()},children:"â Back to results"})}),(0,o.BX)(ig,{children:[(0,o.BX)(ib,{children:[(0,o.BX)(iw,{children:[(0,o.tZ)(iy,{children:"Pre-licensed travel video"}),(0,o.tZ)(iZ,{children:is}),(0,o.tZ)(iC,{children:"Choose your usage rights and add it to your cart."})]}),(0,o.tZ)(ik,{children:(0,o.tZ)(J.J,{videoSrc:ne,thumbnail:ni,title:is,videoId:String(iJ),forceControls:!0,onExpand:()=>eA(!0),onAddToPlaylist:()=>e7(String(iJ)),onToggleFavorite:e5,isFavorite:e8})}),(0,o.BX)(i_,{children:[(0,o.BX)(iX,{onClick:()=>e7(String(iJ)),children:[(0,o.tZ)(iS,{children:"+"}),(0,o.tZ)(iL,{children:"Add to playlist"})]}),(0,o.BX)(iX,{onClick:()=>eZ(!ey),children:[(0,o.tZ)(iS,{children:"+"}),(0,o.tZ)(iL,{children:"Share"})]}),(0,o.tZ)(X,{isOpen:ey,onClose:()=>eZ(!1),videoUrl:eg})]}),nn,(0,o.tZ)(A,{latitude:iK,longitude:i0,locationName:iQ}),(0,o.tZ)(R,{videoId:iJ})]}),(0,o.BX)(iv,{children:[eM&&(0,o.tZ)(ec.Z,{open:eM,close:()=>{eE(!1)},message:"Limit Exceeded",playlistUpgrade:!0}),K&&(0,o.tZ)(iT,{children:(0,o.tZ)(eo.$,{})}),!K&&(0,o.BX)(o.HY,{children:[(eH||Y)&&(0,o.BX)(iM,{children:[(0,o.tZ)(iy,{children:"Licensed asset"}),(0,o.tZ)(iE,{children:is}),iQ&&(0,o.BX)(iN,{children:["Location: ",iQ]}),i$&&(0,o.tZ)(iN,{children:i$}),"true"===iq.env.NEXT_PUBLIC_IS_DEVELOPMENT_MODE&&Y?(0,o.BX)(iV,{children:[(0,o.BX)("div",{children:["Creator ID: ",null==ew?void 0:null===(n=ew.user)||void 0===n?void 0:n.id]}),(0,o.BX)("div",{children:["Creator Email: ",null==ew?void 0:null===(t=ew.user)||void 0===t?void 0:t.email]}),(0,o.BX)("div",{children:["Creator Stripe ID: ",null==ew?void 0:null===(c=ew.user)||void 0===c?void 0:c.stripe_uuid]}),(0,o.tZ)("div",{children:"-------"}),(0,o.BX)("div",{children:["Total balance: ",null==Y?void 0:Y.credits]}),(0,o.BX)("div",{children:["Videos balance: ",null==Y?void 0:Y.credits_remaining]}),(0,o.BX)("div",{children:["DOP:"," ",h()(null==Y?void 0:Y.purchase_date).format("MMMM-DD-YYYY")]}),(0,o.BX)("div",{children:["DOE:"," ",h()(null==Y?void 0:Y.subscription_end_date).format("MMMM-DD-YYYY")]}),(0,o.BX)("div",{children:["isMonthly:"," ",null==Y?void 0:Y.is_paid_monthly.toLocaleString()]}),(0,o.tZ)("div",{children:"-------"}),(0,o.BX)("div",{children:["customer_id: ",eh]})]}):null]}),eH?(0,o.tZ)(iW,{children:(0,o.BX)(ij,{children:[(0,o.tZ)(iF,{children:eY?"Single License":"Subscription"}),!eY&&W&&(0,o.tZ)("div",{className:"name",children:W}),!eY&&(0,o.BX)("div",{className:"end",children:["Ending: ",T]}),(0,o.tZ)("div",{className:"remaining",children:eY?"You have already licensed this video. You can download it whenever you need it.":"You have ".concat(H," downloads left in your subscription.")}),eW&&(0,o.BX)(iz,{className:"download px-5",href:i5||i8||i7||i9||i6||i2||i3||i4||"#",target:"_blank",onClick:ie,rel:"noopener",children:[(0,o.tZ)("span",{className:"icon",children:(0,o.tZ)(ea.Z,{width:12,height:12})}),(0,o.tZ)("span",{className:"text",children:"Download asset"})]})]})}):Y?(0,o.tZ)(iW,{children:(0,o.BX)(ij,{children:[W&&(0,o.tZ)("div",{className:"name",children:W}),T&&(0,o.BX)("div",{className:"end",children:["Ending: ",T]}),(0,o.tZ)(iF,{children:"Add this video to your subscription"}),(0,o.BX)(iX,{className:"add",onClick:ic,disabled:$,children:[(0,o.tZ)(iS,{children:"+"}),"Add to subscription"]})]})}):(0,o.BX)(o.HY,{children:[(0,o.tZ)(ix,{children:(0,o.BX)(iM,{children:[(0,o.tZ)(iy,{children:"Pre-licensed travel video"}),(0,o.BX)(iE,{children:['"',is,'"']})]})}),(0,o.tZ)(iD,{children:(0,o.tZ)(iH,{children:(0,o.tZ)(ii,{singleTypePrices:e2,setSelectPrice:e1,isAnnual
1:eU,setIsAnnual:eR,isSocialOnly:e$,setIsSocialOnly:eG,selectedPrice:e0,payGoPrices:eQ,handleAddToCart:()=>{var e,i,n,t,o,r,a,l,c,s;if(!e0){(0,m.yv)("No license selected!",{variant:"error"});return}let p=null==e0?void 0:e0.id;if(!p||""===p){(0,m.yv)("Missing priceId for selected license",{variant:"error"});return}let h="".concat((null==e0?void 0:null===(e=e0.metadata)||void 0===e?void 0:e["Parent Product"])||""," - ").concat((null==e0?void 0:null===(i=e0.metadata)||void 0===i?void 0:i["Web Product Description"])||""," ").concat((null==e0?void 0:null===(n=e0.metadata)||void 0===n?void 0:n["Web Package Name"])?"- "+(null==e0?void 0:null===(t=e0.metadata)||void 0===t?void 0:t["Web Package Name"]):"");if((null==N?void 0:N.length)&&(null==e0?void 0:e0.metadata["Web Video Limit"])>1&&N.some(e=>e.product_id!=(null==e0?void 0:e0.product.id))){(0,m.yv)("You can only buy one license at a time",{variant:"error"});return}if(N.some(e=>{var i;return null===(i=e.videos)||void 0===i?void 0:i.some(e=>e.id===f.id)})){(0,m.yv)("This video is already in your cart under the selected license.",{variant:"error"});return}if(N.every(e=>!0===e.is_paid_monthly)&&N.length>0){(0,m.yv)("You cannot combine recurring plans and one-time licenses in the same cart. Please complete or clear your current cart first.",{variant:"error"});return}_({uniqueId:(0,d.Z)(),stripeSubscriptionDetail:h,description:null==e0?void 0:e0.description,name:null!==(a=null==e0?void 0:e0.nickname)&&void 0!==a?a:"Custom",days_limit:null!==(l=null==e0?void 0:e0.metadata["Days Limit"])&&void 0!==l?l:1,video_limit:null!==(c=Number(null==e0?void 0:e0.metadata["Web Video Limit"]))&&void 0!==c?c:1,type:null!==(s=null==e0?void 0:null===(o=e0.metadata)||void 0===o?void 0:o.Type)&&void 0!==s?s:"social",price:(null==e0?void 0:e0.unit_amount)/100,price_id:null==e0?void 0:e0.id,product_id:null==e0?void 0:null===(r=e0.product)||void 0===r?void 0:r.id,is_paid_monthly:(null==e0?void 0:e0.type)==="recurring",videos:[{id:f.id,video_thumnbail:f.thumbnail,video_title:f.title,description:f.description,location:f.location}]})}})})})]})]})]})]})]})]}),G&&(0,o.tZ)(iA,{ref:eI,showToast:G,children:(0,o.tZ)(et.Z,{})}),(0,o.tZ)(v.Z,{styles:{width:"600px",height:"auto",maxWidth:"92vw",maxHeight:"90vh"},isOpen:C===String(iJ),onClose:()=>e7(null),children:(0,o.tZ)(er.Z,{itemId:null==ew?void 0:ew.id,image:ew.thumbnail,videoSrc:ew.preview_file})}),(0,o.tZ)(en,{isOpen:ej,onClose:()=>eA(!1),videoSrc:ne,thumbnail:ni,title:is,videoId:String(iJ),onAddToPlaylist:()=>{eA(!1),e7(String(iJ))},onToggleFavorite:e5,isFavorite:e8}),(0,o.BX)(v.Z,{styles:{paddingTop:"3rem",maxWidth:"60vw",display:"flex",justifyContent:"flex-start",flexDirection:"column",alignItems:"center"},isOpen:eC,onClose:()=>ek(!1),isCustom:!0,children:[(0,o.tZ)(iY,{children:"Get in touch"}),(0,o.tZ)(ed.Z,{purpose:"purchase",setOpenContactModal:ek})]})]});return console.log("VideoData==> ",f),y?nt:(0,o.BX)(z.Z,{metadata:ef,ogmd:ev,shared:x,children:[f&&(0,o.tZ)(iG(),{children:(0,o.tZ)("script",{id:"schema-video-".concat(f.id),type:"application/ld+json",dangerouslySetInnerHTML:{__html:(0,iU.qP)(f)}})}),eb&&(0,o.tZ)(q.Z,{banner:eb}),nt]})}},30687:function(e,i,n){var t=n(62364),o=n(67294),r=n(15437),d=n(85717),a=n(29496),l=n(61312),c=n(5810),s=n(9835);let p=r.ZP.div.withConfig({componentId:"sc-7020e616-0"})(["padding:2rem 0;display:flex;flex-direction:column;justify-content:center;align-items:center;margin-bottom:2rem;"]),h=r.ZP.div.withConfig({componentId:"sc-7020e616-1"})(["display:flex;flex-direction:column;gap:16px;width:80%;max-width:500px;margin:auto;"]),m=r.ZP.div.withConfig({componentId:"sc-7020e616-2"})(["display:flex;align-items:center;"]),u=r.ZP.img.withConfig({componentId:"sc-7020e616-3"})(["width:20px;height:20px;margin-right:8px;"]),g=r.ZP.input.withConfig({componentId:"sc-7020e616-4"})(["flex:1;padding:8px;font-size:16px;border:1px solid #ccc;border-radius:4px;&:focus{outline:none;border-color:#007bff;}"]),f=r.ZP.button.withConfig({componentId:"sc-7020e616-5"})(["padding:10px 20px;font-size:16px;color:white;background-color:",";border:none;border-radius:4px;cursor:",";margin-top:16px;width:15rem;"],e=>{let{disabled:i}=e;return i?d.Z.naviGray.light:d.Z.naviPurple.main},e=>{let{disabled:i}=e;return i?"not-allowed":"pointer"}),b=r.ZP.p.withConfig({componentId:"sc-7020e616-6"})(["color:",";font-size:14px;margin-top:8px;"],()=>d.Z.naviPink.main);i.Z=e=>{let{type:i,activeChannels:n,customer_id:r,subscription_id:d,video_id:v,closePopup:w}=e,{fetchUserPurchaseData:x}=(0,c.iQ)(),[y,Z]=(0,o.useState)([]),[C,k]=(0,o.useState)(!1),P=i.includes("Social Media"),O=P?n:[{name:"Website",icon:{url:"/images/internet.png"}}],I=e=>i=>{let n=i.target.value;Z(i=>{let t=i.find(i=>i.channel_name===e);return n?t?i.map(i=>i.channel_name===e?{...i,channel_url:n}:i):[...i,{channel_name:e,channel_url:n}]:i.filter(i=>i.channel_name!==e)})},B=async e=>{try{k(!0);let i=await s.Z.post("/api/customer/save-channels?video_id=".concat(v),{channels:e});if(200!==i.status)throw Error("Failed to save channels");
1x(null),(0,a.yv)("Channels saved successfully!",{variant:"success"})}catch(e){(0,a.yv)("Error saving channels: ",{variant:"error"})}finally{k(!1)}};(0,o.useEffect)(()=>{Z([])},[P]);let _=async()=>{let e;y.length>0&&(e=!0,y.forEach(i=>{i.channel_url&&""!==i.channel_url.trim().replace(/\s+/g," ")?i.channel_url=i.channel_url.trim().replace(/\s+/g," "):e=!1}),e)?(await B(y),w()):(Z([]),(0,a.yv)("Error: Please enter a valid channel",{variant:"error"}))};return((0,o.useEffect)(()=>{let e=e=>{"Enter"===e.key&&(e.preventDefault(),_())};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[y]),C)?(0,t.tZ)(l.Z,{message:"Saving channels..."}):(0,t.BX)(p,{children:[(0,t.tZ)("h2",{children:"Please add your channels"}),(0,t.BX)(h,{children:[O.map(e=>{var i;let{name:n,icon:o}=e;return(0,t.BX)(m,{children:[(0,t.tZ)(u,{src:o.url,alt:"".concat(n," icon")}),(0,t.tZ)(g,{type:"text",placeholder:"Enter your ".concat(n),onChange:I(n),value:(null===(i=y.find(e=>e.channel_name===n))||void 0===i?void 0:i.channel_url)||""})]},n)}),0===y.length&&(0,t.tZ)(b,{children:"Please enter information in at least one field to save channels."}),(0,t.BX)("div",{style:{display:"flex",justifyContent:"space-around"},children:[(0,t.tZ)(f,{onClick:_,disabled:0===y.length,children:"Save"}),(0,t.tZ)(f,{onClick:()=>{Z([])},disabled:0===y.length,children:"Reset"})]})]})]})}},89600:function(e,i,n){var t=n(62364),o=n(67294),r=n(15437),d=n(233),a=n(13049);let l=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;}"]),c=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:h}=i;return n?(0,t.BX)(l,{children:[(0,t.tZ)(c,{className:"intro",dangerouslySetInnerHTML:{__html:null!=h?h:""}}),p&&(0,t.tZ)(s,{children:(0,t.tZ)(d.Z,{onClick:()=>r(!1),title:"Close Banner",icon:(0,t.tZ)(a.Z,{}),styles:{border:"0px",padding:0}})})]}):null}},96597:function(e,i,n){var t=n(62364);n(67294),i.Z=e=>{var i;return(0,t.BX)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",...e,children:[(0,t.BX)("g",{fill:null!==(i=e.color)&&void 0!==i?i:"#2AEFE0",clipPath:"url(#a)",children:[(0,t.tZ)("path",{d:"M5.67 8.797c.045.045.09.075.15.105s.12.03.18.03.12-.015.18-.03c.06-.03.105-.06.15-.105l3.285-3.293a.473.473 0 0 0 0-.662.47.47 0 0 0-.66 0l-2.49 2.496V.466A.468.468 0 0 0 6 0a.468.468 0 0 0-.465.466v6.857l-2.49-2.48a.47.47 0 0 0-.66 0 .473.473 0 0 0 0 .66L5.67 8.798Z"}),(0,t.tZ)("path",{d:"M11.535 8a.468.468 0 0 0-.465.466 2.583 2.583 0 0 1-2.58 2.587H3.525a2.583 2.583 0 0 1-2.58-2.587A.468.468 0 0 0 .48 8C.225 8 0 8.21 0 8.466A3.535 3.535 0 0 0 3.525 12H8.49C10.425 12 12 10.421 12 8.466A.468.468 0 0 0 11.535 8Z"})]}),(0,t.tZ)("defs",{children:(0,t.tZ)("clipPath",{id:"a",children:(0,t.tZ)("path",{fill:"#fff",d:"M0 0h12v12H0z"})})})]})}}}]);
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.