PageSourceSearch

https://share.vidday.com/_next/static/chunks/3118-619238f93279fc93.js?dpl=dpl_2cUGX2vaHqtiB5RsBm4SMwg8jWJj

js vidday.com collected 2026-10-02 03:13:25 UTC 37,739 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f452c415-1aa6-453a-a668-448265bc446f",e._sentryDebugIdIdentifier="sentry-dbid-f452c415-1aa6-453a-a668-448265bc446f")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3118],{305:(e,t,r)=>{r.d(t,{m:()=>s});var i=r(62420),n=r(81444),a=r(83513);let s=r(440).forwardRef(function(e,t){let{showArrow:r,children:s,disabled:o,portalled:l=!0,content:d,contentProps:c,portalRef:p,...g}=e;return o?s:(0,i.jsxs)(n.TooltipRoot,{...g,children:[(0,i.jsx)(n.TooltipTrigger,{asChild:!0,children:s}),(0,i.jsx)(a.Portal,{disabled:!l,container:p,children:(0,i.jsx)(n.TooltipPositioner,{children:(0,i.jsxs)(n.TooltipContent,{ref:t,...c,children:[r&&(0,i.jsx)(n.TooltipArrow,{children:(0,i.jsx)(n.TooltipArrowTip,{})}),d]})})})]})})},788:(e,t,r)=>{r.d(t,{G6:()=>s,an:()=>a,dU:()=>o});var i=r(62420),n=r(61742);function a(e){return(0,i.jsx)(n.N,{attribute:"class",disableTransitionOnChange:!0,...e})}function s(){let{resolvedTheme:e,setTheme:t,forcedTheme:r}=(0,n.D)();return{colorMode:r||e,setColorMode:t,toggleColorMode:()=>{t("dark"===e?"light":"dark")}}}function o(e,t){let{colorMode:r}=s();return"dark"===r?t:e}r(440)},3579:(e,t,r)=>{r.d(t,{Ic:()=>l,OG:()=>d,Ot:()=>s,Xw:()=>a,bs:()=>n,cz:()=>o,fC:()=>i});let i=/^\+?1-?\s?(\()?[2-9]\d{2}(\))?-?\s?[2-9]\d{2}-?\s?\d{4}$/,n=/^(?=.*[0-9])[()+\s0-9-]*$/,a=/^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/,s=/^(?!.*\/|.*\\|.*@|.*\.[^\s]).*$/,o=e=>{let t=(e??"").replace(/\D/g,"");return 11===t.length&&t.startsWith("1")?t.slice(1):t},l=e=>/^\d{10}$/.test(o(e)),d=e=>{let t=o(e);return/^\d{10}$/.test(t)?`+1${t}`:null}},5428:(e,t,r)=>{r.d(t,{R:()=>n,l:()=>i});let i=["birthday","anniversary","yearbook"],n=["other"]},6208:(e,t,r)=>{r.d(t,{A:()=>i});let i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"$",r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:2;return 0!==e||r?t&&r?`${t}${(e/100).toFixed(i)} ${r}`:t?`${t}${(e/100).toFixed(i)}`:(e/100).toFixed(i):`${t}${e.toFixed(i)}`}},6680:(e,t,r)=>{r.d(t,{A:()=>i});let i=e=>{let t=e.split("@");if(t[0].length>=23){let e=t[0].substring(0,20);return`${e}...@${t[1]}`}return e}},6724:(e,t,r)=>{r.d(t,{A:()=>i});let i=r(63129).T},8079:(e,t,r)=>{r.d(t,{A:()=>a});var i=r(81525),n=r(58475);let a=()=>(0,i.useAtomValue)(n.gY)},14117:(e,t,r)=>{r.d(t,{Zf:()=>a,ne:()=>s,vY:()=>n});var i=r(1298);let n={fontSize:"18px",lineHeight:"22px",fontFamily:"poppins",fontWeight:700,textWrap:"nowrap",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",maxW:["200px","100%"]},a={fontSize:"1rem",textWrap:"nowrap",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",maxW:["200px","100%"],color:"body"},s=(0,i.i_)({slots:["root","contentWrapper","labelsWrapper","title","description","actionWrapper"],base:{root:{display:"flex",width:"full",height:"6rem",borderRadius:"1rem",boxShadow:"none",padding:"1rem",alignItems:"center",justifyContent:"space-between"},title:n,description:a,contentWrapper:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"flex-start",gap:"1rem",minW:0},labelsWrapper:{display:"flex",flexDirection:"column",alignItems:"flex-start",gap:0,minW:0,overflow:"hidden"},actionWrapper:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"flex-end",gap:"0.5rem"}},variants:{theme:{light:{root:{bg:"gray.100",_hover:{bg:"blue.50"}},title:{color:"headline"},description:{color:"body"}},dark:{root:{bg:"rgba(255,255,255,0.1)",_hover:{bg:"rgba(255,255,255,0.15)"}},title:{color:"white"},description:{color:"white"}}},presentationOnly:{false:{root:{_hover:{cursor:"pointer"}}},true:{root:{_hover:{cursor:"default"}}}}},defaultVariants:{theme:"light",presentationOnly:!1}})},14719:(e,t,r)=>{r.d(t,{A:()=>s});var i=r(81525),n=r(440),a=r(58475);let s=()=>{let e=(0,i.useAtomValue)(a.vh),t=(0,i.useAtomValue)(a.gY);return(0,n.useMemo)(()=>e?e.recipients:t?t.recipients:null,[e,t])}},18052:(e,t,r)=>{r.d(t,{A:()=>i});function i(e,t,r){e.preventDefault();var i=document.createElement("textarea");if(i.style.position="fixed",i.style.top=window.scrollY-80+"px",i.style.left="0",i.style.width="1px",i.style.height="1px",
1i.style.padding="0",i.style.border="none",i.style.outline="none",i.style.boxShadow="none",i.style.background="transparent",i.value=decodeURIComponent(t),document.body.appendChild(i),navigator.userAgent.match(/ipad|ipod|iphone/i)){var n=i.contentEditable,a=i.readOnly;i.contentEditable=!0,i.readOnly=!0;var s=document.createRange();s.selectNodeContents(i);var o=window.getSelection();o.removeAllRanges(),o.addRange(s),i.setSelectionRange(0,999999),i.contentEditable=n,i.readOnly=a}else i.select();var l=e.currentTarget?.parentNode,d=e.currentTarget,c=d?.innerHTML;try{return navigator.clipboard.writeText(decodeURIComponent(t)).then(()=>{l?.classList.add("copied"),r&&(d.innerHTML='<i class="status_icon success"></i>Copied to Clipboard'),setTimeout(()=>{l.classList.remove("copied"),r&&(d.innerHTML=c)},3e3)},()=>(console.error("Copy failed"),!1)),!0}catch(e){return console.error(e,"Copy failed"),!1}}},21340:(e,t,r)=>{r.d(t,{A:()=>g});var i=r(62420),n=r(49276),a=r(67668),s=r(74186),o=r(77361),l=r(18552),d=r(60656),c=r.n(d);r(440);var p=r(788);let g=e=>{let t=(0,p.dU)("inherit","#47596A");return(0,i.jsx)(n.Container,{maxW:"container.xl",mt:"3rem",pt:"1rem",pb:"2rem",...e,children:(0,i.jsxs)(a.Flex,{direction:"column",alignItems:"center",children:[(0,i.jsx)(s.Link,{as:c(),href:"/",mb:"0.5rem",children:(0,i.jsx)(l.default,{src:"/images/graphics/vidday-logo-footer.svg",alt:"Logo VidDay",width:85,height:18})}),(0,i.jsxs)(o.Text,{fontSize:"0.625rem",color:t,children:["\xa9 2015-",new Date().getFullYear()," VidDay Media Inc. All Rights Reserved."]})]})})}},23934:(e,t,r)=>{r.d(t,{k:()=>n});var i=r(30741);function n(){let e=((0,i.usePathname)()??"/").split("/").filter(Boolean).filter(e=>!(/\d/.test(e)||/^[a-z]-[a-z]{4,}$/.test(e))).join("-")||"landing";return t=>`internalclick-${e}-${t}`}},26615:(e,t,r)=>{r.d(t,{O:()=>n});var i=r(30741);let n=()=>{let e=(0,i.useParams)(),t=(0,i.useSearchParams)(),r=r=>e?.[r]??t?.get(r)??void 0,n=r("email")?.trim(),a=r("next")?.trim();return{email:n,next:a,firstName:r("first_name")?.trim(),lastName:r("last_name")?.trim()}}},32534:(e,t,r)=>{r.d(t,{A:()=>o});var i=r(62420),n=r(67668),a=r(74186),s=r(18552);let o=e=>{let{target:t="/",imagePath:r="/images/vidday_logo.svg",alt:o="Create Your Own Gift Video for Special Occasions | VidDay \uD83C\uDF81",width:l=96,height:d=28}=e;return t?(0,i.jsx)(n.Flex,{alignItems:"center",width:`${l}px`,height:`${d}px`,children:(0,i.jsx)(a.Link,{href:t,style:{height:`${d}px`},title:"VidDay Logo",children:(0,i.jsx)(s.default,{src:r,alt:o,width:l,height:d,priority:!0,style:{height:`${d}px !important`}})})}):(0,i.jsx)(n.Flex,{alignItems:"center",width:`${l}px`,height:`${d}px`,children:(0,i.jsx)(s.default,{src:r,alt:o,width:l,height:d,priority:!0,style:{height:`${d}px !important`}})})}},38e3:(e,t,r)=>{r.d(t,{A:()=>ev});var i=r(62420),n=r(49276),a=r(67320),s=r(81525),o=r(58475),l=r(21340),d=r(6724),c=r(19497),p=r(2144),g=r(35218),h=r(37057),u=r(76812),m=r(440),f=r(72685),x=r(43584),b=r(80780),v=r(30741);let j=e=>{let{task:t,active:r}=e,n=(0,v.useRouter)(),a=(0,x.useBreakpointValue)({base:{initial:{},animate:{},exit:{},transition:{type:"spring",stiffness:90}},md:{initial:{},animate:{},exit:{},transition:{type:"spring",stiffness:120}}});return(0,i.jsx)(i.Fragment,{children:r&&(0,i.jsx)(b.m.div,{...a,style:{minHeight:"40px",cursor:"pointer"},onClick:()=>{n.push(t.link),t.action},children:(0,i.jsxs)(g.Stack,{direction:["column","column","column","row"],alignItems:"center",gap:[".5rem","1rem"],textAlign:"center",minHeight:"40px",children:[(0,i.jsx)(i.Fragment,{children:t.description})," ",(0,i.jsx)(u.chakra.strong,{whiteSpace:"nowrap",padding:"0 1rem",color:"white",children:t.action})]})})})};var w=r(14719),k=r(68331);let y={position:"relative",borderRadius:["xl"],minH:"2.5rem",padding:["1rem","1rem","1rem","0 1rem"],color:"white",boxShadow:"lg",display:"flex",alignItems:"center",justifyContent:["center","center","center","space-between"],background:"#1a202c linear-gradient(163deg, rgba(26,32,44,1) 0%, rgba(51,62,83,1) 100%)"},C={position:"absolute",left:["1.5rem","1.5rem","1.5rem","6.5rem"],top:"0",width:"4rem"},A={position:"absolute",right:["1.5rem","1.5rem","4rem"],bottom:"0",width:"4rem"},F=()=>{let e=(()=>{let e=(0,w.A)(),[t,r]=(0,m.useState)([]),[i,n]=(0,m.useState)(null);return(0,m.useEffect)(()=>{e&&n((0,k.K5)(e))},[e]),(0,m.useEffect)(()=>{r((()=>{let e=[];return e.push({action:"Upload a Photo",link:"#",description:`Upload a cover photo of ${i} — seeing a familiar face is proven to increase contributions.`}),e.push({action:"Customize Invitation",link:"#",description:"Personalize your invitation to ensure it's perfectly tailored to your celebration."}),e.push({action:"Send Invites",link:"#",description:"Invite friends and family to contribute video messages, nostalgic photos, and more."}),e})())},[i]),t})().slice(0,4),[t,r]=(0,m.useState)(0);return(0,i.jsx)(i.Fragment,{children:e.length>0&&(0,i.jsxs)(c.Box,{css:y,mb:"1rem",children:[(0,i.jsx)(p.Image,{alt:"Assistant star top",src:`/images/pages/event/assistant/stars-${t+1}-top.png`,css:C}),(0,i.jsxs)(g.Stack,{direction:["column","column","column","row"],alignItems:"center",children:[(0,i.jsxs)(h.HStack,{margin:["0","0","0","0 4rem 0 0"],minWidth:"90px",children:[(0,i.jsx)(u.chakra.div,{minWidth:"1.25rem",children:e.length>1&&(0,i.jsx)("button",{type:"button",onClick:()=>{r(0===t?e.length-1:t-1)},style:{display:"flex",alignItems:"center",justifyContent:"center"},children:(0,i.jsx)(f.byh,{style:{marginRight:"-10px"}})})}),(0,i.jsxs)("div",{style:{display:"flex",minWidth:"1.75rem"},children:[t+1," / ",e.length]}),(0,i.jsx)(u.chakra.div,{minWidth:"1.25rem",children:e.length>1&&(0,i.jsx)("button",{type:"button",onClick:()=>{r(t===e.length-1?0:t+1)},style:{display:"flex",alignItems:"center",justifyContent:"center"},children:(0,i.jsx)(f.ree,{style:{marginLeft:"5px"}})})})]}),e.map((e,r)=>(0,i.jsx)(j,{task:e,active:t===r},r))]}),(0,i.jsx)(p.Image,{display:["block","block","block","none"],src:`/images/pages/event/assistant/stars-${t+1}-bottom.png`,css:A,alt:"Assistant star bottom"})]})})};var S=r(9465),I=r(47590),T=r(67668),E=r(18552),q=r(87791);let R=[{id:"blank",defaultColor:"#319795",colors:["#805AD5","#00A8FF","#319795","#FF9D00","#4A5568"],mobile:null,desktop:null},{id:"floral",defaultColor:"#F9E9E9",colors:["#F9E9E9","#F9E9F4","#E9F3F9","#F3F9E9"],mobile:{left:"/images/graphics/event-header/banners/floral-left-mobile.png",right:"/images/graphics/event-header/banners/floral-right-mobile.png"},desktop:{left:"/images/graphics/event-header/banners/floral-left-desktop.png",right:"/images/graphics/event-header/banners/floral-right-desktop.png"}},{id:"shapes",defaultColor:"#FFD28A",colors:["#D6BCFA","#8AD7FF","#81E6D9","#FFD28A","#FBB6CE"],mobile:{left:"/images/graphics/event-header/banners/shapes-left-mobile.png",right:"/images/graphics/event-header/banners/shapes-right-mobile.png"},desktop:{left:"/images/graphics/event-header/banners/shapes-left-desktop.png",right:"/images/graphics/event-header/banners/shapes-right-desktop.png"}},{id:"balloons",defaultColor:"#8AD7FF",colors:["#D6BCFA","#8AD7FF","#81E6D9","#FFD28A","#FBB6CE"],mobile:{left:"/images/graphics/event-header/banners/balloons-left-mobile.png",right:"/images/graphics/event-header/banners/balloons-right-mobile.png"},desktop:{left:"/images/graphics/event-header/banners/balloons-left-desktop.png",right:"/images/graphics/event-header/banners/balloons-right-desktop.png"}},{id:"graduation",defaultColor:"#0066CC",colors:["#990030","#FF5300","#25855A","#0066CC","#6B46C1"],mobile:{left:"/images/graphics/event-header/banners/graduation-left-mobile.png",right:"/images/graphics/event-header/banners/graduation-right-mobile.png"},desktop:{left:"/images/graphics/event-header/banners/graduation-left-desktop.png",right:"/images/graphics/event-header/banners/graduation-right-desktop.png"}},{id:"hearts",defaultColor:"#FBB6CE",colors:["#D6BCFA","#8AD7FF","#81E6D9","#FFD28A","#FBB6CE"],mobile:{left:"/images/graphics/event-header/banners/hearts-left-mobile.png",right:"/images/graphics/event-header/banners/hearts-right-mobile.png"},desktop:{left:"/images/graphics/event-header/banners/hearts-left-desktop.png",right:"/images/graphics/event-header/banners/hearts-right-desktop.png"}},{id:"doodles",defaultColor:"#81E6D9",colors:["#D6BCFA","#8AD7FF","#81E6D9","#FFD28A","#FBB6CE"],mobile:{left:"/images/graphics/event-header/banners/doodles-left-mobile.png",right:"/images/graphics/event-header/banners/doodles-right-mobile.png"},desktop:{left:"/images/graphics/event-header/banners/doodles-left-desktop.png",right:"/images/graphics/event-header/banners/doodles-right-desktop.png"}},{id:"roses",defaultColor:"#D6BCFA",colors:["#D6BCFA","#8AD7FF","#81E6D9","#FFD28A","#FBB6CE"],mobile:{left:"/images/graphics/event-header/banners/roses-left-mobile.png",right:"/images/graphics/event-header/banners/roses-right-mobile.png"},desktop:{left:"/images/graphics/event-header/banners/roses-left-desktop.png",right:"/images/graphics/event-header/banners/roses-right-desktop.png"}},{id:"party",defaultColor:"#4A5568",colors:["#4A5568","#285299","#805AD5","#319795","#CC7E00"],mobile:{left:"/images/graphics/event-header/banners/party-left-mobile.png",right:"/images/graphics/event-header/banners/party-right-mobile.png"},desktop:{left:"/images/graphics/event-header/banners/party-left-desktop.png",right:"/images/graphics/event-header/banners/party-right-desktop.png"}},{id:"fireworks",defaultColor:"#990030",colors:["#990030","#FF5300","#25855A","#0066CC","#6B46C1"],mobile:{left:"/images/graphics/event-header/banners/fireworks-left-mobile.png",right:"/images/graphics/event-header/banners/fireworks-right-mobile.png"},desktop:{left:"/images/graphics/event-header/banners/fireworks-left-desktop.png",right:"/images/graphics/event-header/banners/fireworks-right-desktop.png"}}],B={position:"relative",w:"full",borderRadius:"1rem",minHeight:"238px",paddingTop:"161px",paddingBottom:"2rem"},D=e=>{let{children:t,...r}=e,n=(0,s.useAtomValue)(o.vh),a=R.find(e=>e.id===n?.inviteHeaderId)||R.find(e=>"blank"===e.id),l=(0,m.useRef)(null),d=(0,q.A)(l),[p,g]=(0,m.useState)();return(0,m.useEffect)(()=>{l.current&&d&&(d>580?g("desktop"):g("mobile"))},[d]),(0,i.jsxs)(T.Flex,{ref:l,css:B,bg:n?.inviteHeaderHex||a?.defaultColor,justifyContent:"center",px:"desktop"===p?"282px":"2rem",...r,children:[a?.desktop&&"desktop"===p&&
1(0,i.jsx)(c.Box,{css:{position:"absolute",width:"282px",height:"100%",top:0,left:0,borderTopLeftRadius:"1rem",borderBottomLeftRadius:"1rem",overflow:"hidden"},children:(0,i.jsx)(E.default,{src:a?.desktop.left,alt:"theme-1-floral-painting-left-mobile",fill:!0,style:{objectFit:"cover",objectPosition:"top right"}})}),a?.desktop&&"desktop"===p&&(0,i.jsx)(c.Box,{css:{position:"absolute",width:"282px",height:"100%",top:0,right:0,borderTopRightRadius:"1rem",borderBottomRightRadius:"1rem",overflow:"hidden"},children:(0,i.jsx)(E.default,{src:a?.desktop.right,alt:"theme-1-floral-painting-right-mobile",fill:!0,style:{objectFit:"cover",objectPosition:"top left"}})}),a?.mobile&&"mobile"===p&&(0,i.jsx)(c.Box,{css:{position:"absolute",width:"284px",height:"154px",top:0,left:0,borderTopLeftRadius:"1rem",overflow:"hidden"},children:(0,i.jsx)(E.default,{src:a?.mobile.left,alt:"theme-1-floral-painting-left-mobile",fill:!0,style:{objectFit:"cover",objectPosition:"top right"}})}),a?.mobile&&"mobile"===p&&(0,i.jsx)(c.Box,{css:{position:"absolute",width:"284px",height:"154px",top:0,right:0,borderTopRightRadius:"1rem",overflow:"hidden"},children:(0,i.jsx)(E.default,{src:a?.mobile.right,alt:"theme-1-floral-painting-right-mobile",fill:!0,style:{objectFit:"cover",objectPosition:"top left"}})}),t]})};var z=r(77876),$=r(77694),W=r(31012),_=r(305),V=r(23934);let L=()=>{let e=(0,V.k)(),t=(0,z.useDialog)();return(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(_.m,{showArrow:!0,content:"Choose a different header.",openDelay:500,children:(0,i.jsx)($.IconButton,{id:e("change-header"),"aria-label":"Change Header",maxW:"40px",css:{position:"absolute",right:"1rem",top:"1rem"},onClick:()=>t.setOpen(!0),children:(0,i.jsx)(W.Icon,{as:f.nEL,boxSize:"1.5rem"})})})})};var P=r(26447),H=r(18838),O=r(77361),N=r(30554),U=r.n(N),G=r(90881),M=r.n(G),Y=r(97098),K=r.n(Y),J=r(52697),X=r.n(J),Q=r(66394),Z=r(5428),ee=r(78083),et=r(94984);function er(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"headline",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"white";if(!(e&&(0,et.Am)(e)))return t;var i=(0,et.Js)((0,et.j5)(e)),n=i.r,a=i.g,s=i.b;return Math.sqrt(n*n*.299+a*a*.587+s*s*.114)>127.5?t:r}U().extend(X()),U().extend(K()),U().extend(M());let ei={fontSize:"14x",lineHeight:"16px",textAlign:"center"},en=()=>{let e=(0,s.useAtomValue)(o.vh),t=(0,k.K5)(e?.recipients||[]),r=e?(0,ee.A)(e.occasion,e.occasionOther,e.guestbook):{label:""},n=e?.years?(0,Q.KV)(e?.years):"",[a,l]=(0,m.useState)("");return(0,m.useEffect)(()=>{if(e){let t=e.timezone?e.timezone:U().tz.guess();l(U()(e.deadline).tz(t).format("MMM D, YYYY"))}},[e]),(0,i.jsxs)(P.VStack,{gap:"0.5rem",position:"relative",zIndex:"1",w:"full",children:[(0,i.jsx)(H.Heading,{size:"3xl",color:er(e?.inviteHeaderHex||""),textAlign:"center",children:t}),(0,i.jsxs)(O.Text,{css:ei,color:er(e?.inviteHeaderHex||""),children:[(0,i.jsxs)("strong",{children:[(0,i.jsx)(m.Fragment,{children:e?.years&&Z.l.includes(e?.occasion)?`${n} `:""}),(0,i.jsx)(m.Fragment,{children:r?.label})]})," ","video\xa0",a&&(0,i.jsxs)(m.Fragment,{children:["due by ",(0,i.jsx)("strong",{children:a})]})]})]})},ea={bg:"white url('/images/graphics/event-header/blank-user-profile.jpg')",backgroundSize:"contain",w:"180px",height:"180px",borderRadius:"full",boxShadow:"md",position:"absolute",top:"-35px",left:"50%",transform:"translateX(-50%)"},es=()=>{let e=(0,v.useRouter)(),t=(0,v.useParams)(),r=t?.uuid??"";return(0,i.jsx)(c.Box,{css:ea,children:(0,i.jsx)(_.m,{showArrow:!0,content:"Upload or replace a cover photo",openDelay:500,children:(0,i.jsx)($.IconButton,{"aria-label":"Change Cover Photo",maxW:"40px",css:{position:"absolute",right:0,bottom:0},onClick:()=>{e.push(`/event/${r}/cover`)},children:(0,i.jsx)(W.Icon,{as:f.JKf,boxSize:"1.5rem"})})})})},eo=()=>{let e=(0,s.useAtomValue)(o.gJ);return(0,i.jsxs)(i.Fragment,{children:[e&&(0,i.jsx)(I.A,{reversed:!0}),(0,i.jsxs)(D,{mb:"2rem",mt:e?"49px":"inherit",children:[(0,i.jsx)(L,{}),(0,i.jsx)(es,{}),(0,i.jsx)(en,{}),(0,i.jsx)(S.Button,{css:{maxH:"32px",position:"absolute",left:"50%",transform:"translateX(-50%)",bottom:"-16px"},variant:"solidWhite",size:"sm",children:"Edit Info"})]})]})};var el=r(18239),ed=r(82188);let ec=e=>{let{}=e,t={src:el.xl?"/images/pages/event/media-gallery-empty-desktop.png":"/images/pages/event/media-gallery-empty-mobile.png",width:el.xl?428:288,height:el.xl?125:288};return(0,i.jsxs)(P.VStack,{gap:"1rem",my:"2rem",onClick:()=>{},children:[(0,i.jsx)(E.default,{alt:"Media Gallery Empty",...t}),(0,i.jsx)(c.Box,{textAlign:"center",children:(0,i.jsx)(H.Heading,{as:"h3",fontSize:"24px",children:"Upload clips, GIFs, pictures, and text cards."})}),(0,i.jsxs)(ed.TrackedButton,{variant:"solid",size:"lg",trackingLabel:"add-media",children:["Add Media",(0,i.jsx)(f.dZJ,{})]})]})},ep=()=>{let e=(0,m.useRef)(null);return(0,i.jsx)(c.Box,{w:"full",ref:e,children:(0,i.jsx)(c.Box,{p:"1rem",w:"full",children:(0,i.jsx)(ec,{})})})};var eg=r(79518),eh=r(6208);let eu=e=>{let{amount:t,onClick:r}=e,n=(0,s.useAtomValue)(o.vh),a=(0,k.K5)(n?.recipients||[]),[l]=(()=>{let e=(0,s.useAtomValue)(o.vh),[t,r]=(0,m.useState)(e?.cashCollectionGroup);return(0,m.useEffect)(()=>{t!==e?.cashCollectionGroup&&r(e?.cashCollectionGroup)},[e]),[t,e=>{r(e)}]})(),d=(0,V.k)(),c=(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("strong",{children:(0,eh.A)(t)})," collected"]});return"everyone"===l&&0===t?c=`Invitees can add funds for ${a}`:0===t&&(c=`Let invitees add funds for ${a}`),(0,i.jsx)(eg.Lz,{id:d("action-card-selector-cash-collection"),title:"Group Gifting",cover:"gifting",description:c,onClick:r,ImageComponent:E.default,allowPropagation:!0})},em=e=>{let{onClick:t}=e,r=(0,V.k)();return(0,i.jsx)(eg.Lz,{id:r("action-card-selector-customize"),title:"Customize",description:"Themes, music, and more",cover:"customize",onClick:t,ImageComponent:E.default,allowPropagation:!0})},ef=e=>{let{onClick:t}=e,r=(0,s.useAtomValue)(o.vh),n=(0,V.k)(),a=r?.occasion==="memorial"?"Finalize your video":"It's a wrap!";return(0,i.jsx)(eg.Lz,{id:n("action-card-selector-finalize"),title:"Finalize",cover:"finalize",description:a,onClick:t,ImageComponent:E.default,allowPropagation:!0})},ex=e=>{let{onClick:t}=e,r=(0,V.k)();return(0,i.jsx)(T.Flex,{justifyItems:"center",flexDirection:"column",mt:["1.5rem","0.5rem"],children:(0,i.jsx)(eg.Lz,{id:r("action-card-selector-invitation"),ImageComponent:E.default,onClick:t,title:"Invitation",cover:"invites",description:"Get others to participate",allowPropagation:!0})})},eb=e=>{let{onClick:t}=e,r=(0,V.k)();return(0,i.jsx)(eg.Lz,{id:r("action-card-selector-preview"),onClick:t,title:"Preview",description:"Get a sneak peek",ImageComponent:E.default,cover:"preview",allowPropagation:!0})},ev=()=>(0,s.useAtomValue)(o.vh)?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(n.Container,{maxW:"container.xl",py:"1rem",children:[(0,i.jsx)(eo,{})," ",(0,i.jsx)(F,{}),(0,i.jsxs)(a.SimpleGrid,{columns:[1,1,2],gap:"1rem",mb:"1rem",alignItems:"end",children:[(0,i.jsx)(ex,{onClick:()=>{}}),(0,i.jsx)(eu,{amount:0,onClick:()=>{}})]}),(0,i.jsx)(d.A,{mb:"1rem",children:(0,i.jsx)(ep,{})}),(0,i.jsxs)(a.SimpleGrid,{columns:[1,1,1,3],gap:"1rem",mb:"1rem",children:[(0,i.jsx)(em,{onClick:()=>{}}),(0,i.jsx)(eb,{onClick:()=>{}}),(0,i.jsx)(ef,{onClick:()=>{}})]})]}),(0,i.jsx)(l.A,{})]}):(0,i.jsx)(i.Fragment,{})},47590:(e,t,r)=>{r.d(t,{A:()=>s});var i=r(62420),n=r(19497),a=r(18552);let s=e=>{let{reversed:t,...r}=e;return(0,i.jsx)(n.Box,{...r,children:(0,i.jsx)(a.default,{src:"/images/graphics/confettis.svg",width:343,height:49,alt:"confettis",style:{margin:"0 auto",transform:t?"scaleY(-1)":"scaleY(1)"}})})}},52764:(e,t,r)=>{r.d(t,{D:()=>i,q:()=>n});let i="undefined"!=typeof BroadcastChannel?new BroadcastChannel("login-channel"):null,n="undefined"!=typeof BroadcastChannel?new BroadcastChannel("logout-channel"):null},62471:(e,t,r)=>{r.d(t,{A:()=>c});var i=r(33847),n=r.n(i),a=r(81525),s=r(30741),o=r(440),l=r(58475),d=r(76231);let c=()=>
1{let e=(0,s.useSearchParams)(),{isAuthenticated:t}=(0,d.A)(),[r,i]=(0,a.useAtom)(l.Q8),c=t=>e?.get(t)??void 0;(0,o.useEffect)(()=>{if(t){null!==r&&i(null);return}let e={},a=c("user_id"),s=c("email"),o=c("first_name"),l=c("last_name"),d=c("rsvp"),p=c("privateKey");a&&(e.id=a),s&&(e.email=s),o&&(e.firstName=o),l&&(e.lastName=l),d&&(e.rsvpId=d),p&&(e.privateKey=p),Object.keys(e).length>0&&(r?n()(r,e)||i({...r,...e}):i(e))},[t,r,e,i])}},63129:(e,t,r)=>{r.d(t,{T:()=>d});var i=r(62420),n=r(1298),a=r(41824),s=r(76812),o=r(440);let l=(0,n.g3)({className:"simple-card",base:{backgroundColor:"white"},variants:{variant:{rounded:{borderRadius:"xl"},main:{borderRadius:[0,"xl"]},smooth:{borderRadius:"base"},bordered:{borderWidth:"1px",borderColor:"gray.300",boxShadow:"none",borderRadius:"1rem"},authCard:{px:["1rem","2rem"],py:["3rem"],bg:"gray.100",borderRadius:"1rem",boxShadow:"none"},confetti:{_before:{position:"absolute",content:"''",display:"block",top:"-70px",left:"50%",transform:"translate(-50%, 0)",width:"100%",height:"70px",background:"url(/images/bg/modal-confetti.svg) no-repeat center"},_after:{position:"absolute",content:"''",display:"block",bottom:"-70px",left:"50%",transform:"translate(-50%, 0) rotate(180deg)",width:"100%",height:"70px",background:"url(/images/bg/modal-confetti.svg) no-repeat center"}}}},defaultVariants:{variant:"rounded"}}),d=(0,o.forwardRef)((e,t)=>{let{variant:r,...n}=e,o=(0,a.useRecipe)({recipe:l})({variant:r});return(0,i.jsx)(s.chakra.div,{css:o,ref:t,...n})})},66394:(e,t,r)=>{r.d(t,{Ay:()=>y,KV:()=>j,Uv:()=>k,VH:()=>w});var i=r(62420),n=r(67668),a=r(26447),s=r(44476),o=r(37057),l=r(77361),d=r(31012),c=r(76812),p=r(81525),g=r(72685),h=r(58475),u=r(82188),m=r(74131),f=r(8079),x=r(92277),b=r(18052),v=r(95808);let j=e=>{if(!Number.isInteger(e)||null===e)return"";var t=e%10,r=e%100;return 1===t&&11!==r?e+"st":2===t&&12!==r?e+"nd":3===t&&13!==r?e+"rd":e+"th"},w={fontSize:"12px",textTransform:"uppercase",color:"gray.500",fontWeight:"semibold",textWrap:"nowrap"},k={display:"flex",alignItems:"center",gap:"0.5rem",color:"headline",fontWeight:"semibold",textWrap:"nowrap",overflow:"hidden",textOverflow:"ellipsis",_hover:{cursor:"pointer"}},y=()=>{let e=(0,f.A)(),t=(0,p.useSetAtom)(h.gY),r=(0,m.A)(),y=(0,p.useAtomValue)(h.JY),C=(0,p.useAtomValue)(h.it),A=e.creator?(e=>{let t="A friend";return e.firstName&&(t=e.firstName),e.lastName&&(t=`${t} ${e.lastName}`),t})(e.creator.profile):"Unknown",F=(e.creator?e.creator.email:"Unknown")||"",S=(e.creator?e.creator.id:"Unknown")||"",I=e.years?j(e.years):"",T=`${e.uuid} - ${I} ${y?.label} Vidday for ${C}`,E=(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("strong",{children:[e.uuid," - ",I," ",y?.label]})," ","Vidday for ",(0,i.jsx)("strong",{children:C})]}),q=async()=>{let e=r.filter(e=>e.mimeType.includes("image"));if(!e.length)return void v.toaster.create({type:"info",title:"No image found in active media."});v.toaster.create({type:"info",title:"Regenerating..."});try{for(let t of e.map(e=>({...e,croppedLocation:e.location,occupied:!0})))await x.A.regenerateImage(t);v.toaster.create({type:"success",title:"Images regenerated."})}catch(e){console.error(e),v.toaster.create({type:"error",title:"Failed to regenerate images."})}},R=async()=>{if(e.id){v.toaster.create({type:"info",title:"Resetting..."});try{let r=(await x.A.updateEvent({id:e.id,occupied:!1})).data.data;r&&(t(e=>null!==e?{...e,...r}:r),v.toaster.create({type:"success",title:"Event reset."}))}catch(e){console.error(e),v.toaster.create({type:"error",title:"Failed to reset occupied."})}}};return(0,i.jsxs)(n.Flex,{flexDir:"column",gap:"1rem",children:[(0,i.jsx)(n.Flex,{css:{w:"full",borderRadius:"0.5rem",borderWidth:"1px",borderColor:"gray.100",p:"1rem"},children:(0,i.jsxs)(a.VStack,{w:"full",separator:(0,i.jsx)(s.Separator,{borderColor:"gray.100"}),alignItems:"flex-start",children:[(0,i.jsxs)(o.HStack,{gap:"1rem",w:"full",children:[(0,i.jsx)(l.Text,{css:w,children:"Creator"}),(0,i.jsxs)(l.Text,{css:k,onClick:e=>(0,b.A)(e,A,!0),children:[(0,i.jsx)(d.Icon,{as:g.Pay,boxSize:"1rem"})," ",A]}),(0,i.jsxs)(l.Text,{css:k,onClick:e=>(0,b.A)(e,F,!0),children:[(0,i.jsx)(d.Icon,{as:g.mm2,boxSize:"1rem"})," ",F]}),(0,i.jsxs)(l.Text,{css:k,onClick:e=>(0,b.A)(e,S,!0),children:[(0,i.jsx)(d.Icon,{as:g.CAQ,boxSize:"1rem"})," ",S]})]}),(0,i.jsxs)(o.HStack,{gap:"1rem",w:"full",children:[(0,i.jsx)(l.Text,{css:w,children:"Event"}),(0,i.jsx)(l.Text,{css:k,onClick:e=>(0,b.A)(e,T,!0),children:E})]}),(0,i.jsxs)(o.HStack,{gap:"1rem",w:"full",children:[(0,i.jsx)(l.Text,{css:w,children:"Event ID"}),(0,i.jsx)(l.Text,{css:k,onClick:t=>(0,b.A)(t,e.id,!0),children:e.id})]}),e.whiteGlove&&(0,i.jsxs)(o.HStack,{gap:"1rem",w:"full",children:[(0,i.jsx)(l.Text,{css:w,children:"White Glove"}),(0,i.jsx)(l.Text,{css:k,children:(0,i.jsx)(u.TrackedButton,{asChild:!0,size:"xs",variant:"outline",trackingLabel:"view-basecamp-card",children:(0,i.jsxs)(c.chakra.a,{href:`https://3.basecamp.com/6124154/search?q=${encodeURIComponent(`White Glove - ${e.uuid}`)}`,target:"_blank",rel:"noopener noreferrer",children:["View Basecamp Card",(0,i.jsx)(g.JvP,{})]})})})]})]})}),(0,i.jsx)(n.Flex,{css:{w:"full",borderRadius:"0.5rem",borderWidth:"1px",borderColor:"gray.100",p:"1rem"},children:(0,i.jsxs)(o.HStack,{children:[(0,i.jsx)(u.TrackedButton,{onClick:q,children:"Regen All Images"}),(0,i.jsx)(u.TrackedButton,{onClick:R,children:"Reset Occupied"})]})})]})}},67056:(e,t,r)=>{r.d(t,{D:()=>a});var i=r(62420),n=r(90744);let a=r(440).forwardRef(function(e,t){let{label:r,children:a,helperText:s,errorText:o,optionalText:l,labelProps:d,...c}=e;return(0,i.jsxs)(n.FieldRoot,{ref:t,...c,children:[r&&(0,i.jsxs)(n.FieldLabel,{...d,children:[r,(0,i.jsx)(n.FieldRequiredIndicator,{fallback:l})]}),a,s&&(0,i.jsx)(n.FieldHelperText,{children:s}),o&&(0,i.jsx)(n.FieldErrorText,{children:o})]})})},68504:(e,t,r)=>{r.d(t,{N:()=>c});var i=r(62420),n=r(31012),a=r(87808),s=r(6316),o=r(27962),l=r(72685),d=r(67056);function c(e){let{name:t,control:r,rules:c,defaultValue:p,shouldUnregister:g,disabled:h,label:u,readOnly:m,placeholder:f,helperText:x,startElement:b,endElement:v=(0,i.jsx)(n.Icon,{as:l.mm2,color:"gray.400",boxSize:"1.5rem"}),controlProps:j={autoComplete:"off"}}=e,{field:w,fieldState:k}=(0,o.as)({name:t,control:r,rules:c,defaultValue:p,shouldUnregister:g,disabled:h}),y=!!k.error,C=k.error?.message?String(k.error.message):"";return(0,i.jsx)(d.D,{label:u,readOnly:m,helperText:x,invalid:y,errorText:C,children:(0,i.jsx)(a.InputGroup,{startElement:b,endElement:v,children:(0,i.jsx)(s.Input,{type:"email",placeholder:f,...w,...j})})})}},74131:(e,t,r)=>{r.d(t,{A:()=>s});var i=r(440),n=r(8079),a=r(74294);let s=()=>{let e=(0,n.A)(),t=(0,a.m)();return(0,i.useMemo)(()=>t.filter((t,r)=>e.mediaSortingOrder.includes(t.id))||[],[e.mediaSortingOrder,t])}},74294:(e,t,r)=>{r.d(t,{m:()=>a});var i=r(81525),n=r(58475);let a=()=>(0,i.useAtomValue)(n.iI)},76231:(e,t,r)=>{r.d(t,{A:()=>a});var i=r(81525),n=r(58475);let a=()=>{let e,t=(0,i.useAtomValue)(n.KN);return{isAuthenticated:"authenticated"==(e=void 0===t?"loading":null===t?"unauthenticated":"authenticated"),email:t?.email||null,user:t,status:e}}},76612:(e,t,r)=>{r.d(t,{F:()=>a});var i=r(440),n=r(52764);function a(){(0,i.useEffect)(()=>
1{if(!n.D)return;let e=e=>{if(e.data?.type==="login-success"){let e=new URLSearchParams(window.location.search).get("next")||"/dashboard";window.location.href=`${window.location.protocol}//${window.location.host}${e}`}};return n.D.addEventListener("message",e),()=>n.D?.removeEventListener("message",e)},[])}},77365:(e,t,r)=>{r.d(t,{T:()=>a});var i=r(62420),n=r(19497);let a=e=>{let{children:t}=e;return(0,i.jsx)(n.Box,{bg:"white",position:"fixed",w:"full",top:0,left:0,bottom:0,right:0,height:"100vh",overflowY:"scroll",zIndex:1,children:t})}},78530:(e,t,r)=>{r.d(t,{i:()=>a,u:()=>d});var i=r(6477),n=r(440);let a=e=>{let{cookieName:t,expiresInDays:r}=e,[a,s]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{i.A.get(t)?s(!1):s(!0)},[t]),{isVisible:a,hideElement:()=>{i.A.set(t,"true",{expires:r}),s(!1)}}};var s=r(75080),o=r(88730),l=r.n(o);let d=e=>{let[t,r]=(0,n.useState)(),[i,a]=(0,n.useState)(e?.current);(0,n.useEffect)(()=>{a(e?.current||document.body),i&&r(i.getBoundingClientRect().width)},[e]);let o=l()(e=>{let{width:t}=e.target.getBoundingClientRect();"number"==typeof t&&r(t)},100);return(0,s.A)(i,o),t}},79518:(e,t,r)=>{r.d(t,{Lz:()=>v,YT:()=>f,V7:()=>x,Pp:()=>b});var i=r(62420),n=r(1298),a=r(67668),s=r(2144),o=r(44247),l=r(76812),d=r(78530),c=r(440),p=r(25271),g=r(97772);let h={broadcast:{square:"broadcast-square.jpg",wide:"broadcast-wide.jpg"},customize:{square:"customize-square.jpg",wide:"customize-wide.jpg"},finalize:{square:"finalize-square.jpg",wide:"finalize-wide.jpg"},gifting:{square:"gifting-square.jpg",wide:"gifting-wide.jpg"},"gift-card":{square:"gift-card-square.jpg",wide:"gift-card-wide.jpg"},"tree-planting":{square:"tree-planting-square.jpg",wide:"tree-planting-wide.jpg"},invites:{square:"invites-square.jpg",wide:"invites-wide.jpg"},marketplace:{square:"marketplace-square.jpg",wide:"marketplace-wide.jpg"},preview:{square:"preview-square.jpg",wide:"preview-wide.jpg"},"video-message":{square:"video-message-square.jpg",wide:"video-message-wide.jpg"},music:{square:"music-square.jpg",wide:"music-wide.jpg"},"custom-song":{square:"custom-song-square.jpg",wide:"custom-song-wide.jpg"},logo:{square:"logo-square.jpg",wide:"logo-wide.jpg"},download:{square:"download-square.jpg",wide:"download-wide.jpg"},"download-keepsake":{square:"save-square.jpg",wide:"save-wide.jpg"},"send-link":{square:"send-link-square.jpg",wide:"send-link-wide.jpg"},private:{square:"private-square.jpg",wide:"private-wide.jpg"},"share-with-friends":{square:"share-with-friends-square.jpg",wide:"share-with-friends-wide.jpg"},"qr-code":{square:"qr-code-square.jpg",wide:"qr-code-wide.jpg"},"notify-contributors":{square:"notify-contributors-square.jpg",wide:"notify-contributors-wide.jpg"},thank:{square:"thank-square.jpg",wide:"thank-wide.jpg"},"upload-music":{square:"upload-music-square.png",wide:"upload-music-wide.png"},song:{square:"song-square.png",wide:"song-wide.png"},"quality-check":{square:"quality-check-square.png",wide:"quality-check-wide.png"},"gift-wrap":{square:"gift-wrap-square.png",wide:"gift-wrap-wide.png"},trees:{square:"trees-square.png",wide:"trees-wide.png"}};var u=r(14117);let m=(0,n.H2)({objectFit:"cover",objectPosition:"center",position:"absolute",height:"full",width:"full"}),f=e=>{let{id:t,noIconPadding:r,isWide:n,customPath:o,ImageComponent:l}=e,d=(0,c.useMemo)(()=>h[t],[t]),p=r?n?"80px":"130px":n?"130px":"65px";return(0,i.jsx)(a.Flex,{css:{position:"relative"},width:p,minWidth:p,height:r?"80px":"65px",borderRadius:"0.5rem",overflow:"hidden",children:l&&(d||o)?(0,i.jsx)(l,{src:o||(0,g.s)(`/images/pages/event/action-cards/${n?d.wide:d.square}`),alt:t,fill:!0,unoptimized:!!o,sizes:"(max-width: 768px) 100vw, 50vw",style:{objectFit:"cover",objectPosition:"center"}}):(0,i.jsx)(s.Image,{})})},x=e=>{let{isWide:t,color:r}=e,n=t?"130px":"65px";return(0,i.jsx)(a.Flex,{css:{position:"relative"},width:n,minWidth:n,height:"65px",borderRadius:"0.5rem",overflow:"hidden",bg:r})},b=e=>{let{isWide:t,src:r,ImageComponent:n}=e,o=t?"130px":"65px";return(0,i.jsx)(a.Flex,{css:{position:"relative"},width:o,minWidth:o,height:"65px",borderRadius:"0.5rem",overflow:"hidden",children:n?(0,i.jsx)(n,{src:r,alt:"Cover Photo",fill:!0,className:m}):(0,i.jsx)(s.Image,{src:r,alt:"Cover Photo",...m})})},v=e=>{let t=(0,o.useSlotRecipe)({recipe:u.ne}),[r]=t.splitVariantProps(e),n=t(r),{theme:a="light",presentationOnly:s,onClick:g,allowPropagation:h=!1,title:m,description:x,cover:b,CustomCover:v,customCoverPath:j,ImageComponent:w,buttonIcon:k,Button:y,Dropdown:C,id:A}=e,F=(0,c.useRef)(null),S=(0,c.useRef)(null),I=(0,d.u)(F),T=(0,c.useCallback)(e=>{e.preventDefault(),S.current&&(S.current.style.background="light"===a?"var(--chakra-colors-brand-100)":"rgba(255,255,255,0.2)")},[a]),E=(0,c.useCallback)(e=>{e.preventDefault(),S.current&&(S.current.style.background="light"===a?"var(--chakra-colors-gray-200)":"rgba(255,255,255,0.15)",S.current.style.color="light"===a?"var(--chakra-colors-link)":"white")},[a]);return(0,i.jsxs)(l.chakra.div,{id:A,css:n.root,onMouseEnter:T,onMouseLeave:E,ref:F,onClick:s?void 0:g,children:[(0,i.jsxs)(l.chakra.div,{css:n.contentWrapper,children:[v||(0,i.jsx)(f,{ImageComponent:w,id:b,isWide:!!(I&&I>500),customPath:j}),(0,i.jsxs)(l.chakra.div,{css:n.labelsWrapper,children:["string"==typeof m?(0,i.jsx)(l.chakra.p,{css:n.title,children:m}):m,"string"==typeof x?(0,i.jsx)(l.chakra.p,{css:n.description,children:x}):x]})]}),(0,i.jsxs)(l.chakra.div,{css:n.actionWrapper,children:[C&&C,y||(0,i.jsx)(p.K,{ref:S,size:"lg",variant:"light"===a?"action":"alpha","aria-label":k,icon:k||"next",onClick:e=>{h||e.stopPropagation(),g?.()}})]})]})}},82188:(e,t,r)=>{r.d(t,{TrackedButton:()=>o});var i=r(62420),n=r(9465),a=r(440),s=r(23934);let o=(0,a.forwardRef)(function(e,t){let{children:r,trackingLabel:o,id:l,...d}=e,c=(0,s.k)(),p=function e(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!(r>32)){if("string"==typeof t)return t;if(Array.isArray(t)){for(let i of t){let t=e(i,r+1);if(t)return t}return}if((0,a.isValidElement)(t))return e(t.props.children,r+1)}}
1(a.Children.toArray(r)),g=("string"==typeof o?o:void 0)??p,h=p??("string"==typeof o?o:void 0),u=l??(g?c(g.toLowerCase().trim().replace(/\s+/g,"-").replace(/[^a-z0-9-]/g,"").replace(/-{2,}/g,"-").replace(/^-|-$/g,"")):void 0),m=d.asChild&&(0,a.isValidElement)(r)?(0,a.cloneElement)(r,{id:r.props.id??u,"data-click-text":h}):r;return(0,i.jsx)(n.Button,{ref:t,id:u,"data-click-text":h,...d,children:m})})},87791:(e,t,r)=>{r.d(t,{A:()=>o});var i=r(38901),n=r(88730),a=r.n(n),s=r(440);let o=e=>{let[t,r]=(0,s.useState)(),[n,o]=(0,s.useState)(e?.current);(0,s.useEffect)(()=>{o(e?.current||document.body),n&&r(n.getBoundingClientRect().width)},[e]);let l=a()(e=>{let{width:t}=e.target.getBoundingClientRect();"number"==typeof t&&r(t)},100);return(0,i.A)(n,l),t}},95808:(e,t,r)=>{r.d(t,{l:()=>c,toaster:()=>d});var i=r(62420),n=r(39828),a=r(83513),s=r(36948),o=r(26140),l=r(35218);let d=(0,n.createToaster)({placement:"bottom-end",pauseOnPageIdle:!0}),c=()=>(0,i.jsx)(a.Portal,{children:(0,i.jsx)(s.Toaster,{toaster:d,insetInline:{mdDown:"4"},children:e=>(0,i.jsxs)(s.ToastRoot,{width:{md:"sm"},children:["loading"===e.type?(0,i.jsx)(o.Spinner,{size:"sm",color:"blue.solid"}):(0,i.jsx)(s.ToastIndicator,{}),(0,i.jsxs)(l.Stack,{gap:"1",flex:"1",maxWidth:"100%",children:[e.title&&(0,i.jsx)(s.ToastTitle,{children:e.title}),e.description&&(0,i.jsx)(s.ToastDescription,{children:e.description})]}),e.action&&(0,i.jsx)(s.ToastActionTrigger,{children:e.action.label}),e.closable&&(0,i.jsx)(s.ToastCloseTrigger,{})]})})})},97772:(e,t,r)=>{r.d(t,{s:()=>a});var i=r(37811);let n=(()=>{let e=void 0;return e?.VITE_ASSET_BASE_URL?e.VITE_ASSET_BASE_URL:void 0!==i&&i.env.NEXT_PUBLIC_ASSET_BASE_URL?i.env.NEXT_PUBLIC_ASSET_BASE_URL:""})(),a=e=>`${n}${e.startsWith("/")?e:`/${e}`}`}}]);

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.