1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="3e84d33b-3fe6-4b07-ad15-47b08c9f6781",e._sentryDebugIdIdentifier="sentry-dbid-3e84d33b-3fe6-4b07-ad15-47b08c9f6781")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4281],{79179:function(e,t,n){Promise.resolve().then(n.bind(n,67129))},67129:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return u}});var a=n(57437),r=n(2265),i=n(99376),s=n(46550),o=n(71577),l=n(84954),c=n(24740);function u(){let e=(0,i.useRouter)(),{handleAppleSignIn:t}=(0,l.n)(),[n,u]=(0,r.useState)(()=>"true"===localStorage.getItem("termsAccepted")),[d,m]=(0,r.useState)(!1),p=(0,r.useRef)(null),x=()=>{let e=!n;u(e),localStorage.setItem("termsAccepted",e)},g=()=>{if(!n){var e;return m(!0),null===(e=p.current)||void 0===e||e.scrollIntoView({behavior:"smooth",block:"center"}),setTimeout(()=>m(!1),600),!1}return!0};return(0,r.useEffect)(()=>{(0,c.A)("screen_shown",{screen:"signin"})},[]),(0,a.jsxs)("div",{className:"lg:m mx-auto flex min-h-dvh flex-col gap-[18px] overflow-hidden bg-[#000000] lg:max-w-md",children:[(0,a.jsxs)("div",{className:"relative h-[380px] w-full overflow-hidden",style:{backgroundImage:"url(/signup-bg.webp)",backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat"},children:[(0,a.jsx)("div",{style:{background:"linear-gradient(360deg, #000000 0%, rgba(26, 28, 37, 0.3) 100%)",height:"100%"}}),(0,a.jsx)("img",{src:"/donna-logo-new.png",className:"absolute left-[50%] top-[40px] -ml-[33px] h-[72px] w-[66px]"}),(0,a.jsx)("img",{src:"/soundbar.webp",className:"absolute right-0 top-[50%] -mt-[48px] h-[72px] w-auto"}),(0,a.jsxs)("div",{className:"absolute bottom-0 flex w-full flex-col items-center gap-[8px]",children:[(0,a.jsx)("p",{className:"text-[14px] font-[400] leading-[18px] tracking-[6px] text-[#8E8C92]",children:(0,s.t)("YOUR STAGE IS WAITING")}),(0,a.jsx)("p",{className:"text-[32px] font-[800] leading-[100%] tracking-[-0.15px] text-[#FFFFFF]",children:(0,s.t)("Sign In to Continue")}),(0,a.jsxs)("p",{className:"text-[32px] font-[800] leading-[100%] tracking-[-0.15px] text-[#FFFFFF]",children:[(0,s.t)("Your")," ",(0,a.jsxs)("span",{className:"font-[Armany] font-[500] tracking-[1px]",children:[(0,s.t)("Masterpiece")," \uD83D\uDCAB"]})]})]})]}),(0,a.jsx)("p",{className:"px-16 text-center text-[#8E8C92]",children:(0,s.t)("Write your own description and create music with Donna")}),(0,a.jsxs)("div",{className:"flex w-full flex-col items-center px-6 pb-[24px]",children:[(0,a.jsxs)("div",{className:"flex w-full max-w-[402px] flex-col gap-[12px]",children:[(0,a.jsxs)("div",{className:"relative w-full",children:[(0,a.jsx)(o.Z,{}),!n&&(0,a.jsx)("div",{className:"absolute inset-0 z-10 cursor-pointer rounded-[12px]",onClick:g})]}),(0,a.jsxs)("button",{type:"button",className:"flex h-[44px] w-full items-center justify-center gap-2 rounded-[12px] bg-white",onClick:()=>{g()&&t()},children:[(0,a.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M14.2027 11.5688C14.1891 9.94375 14.9469 8.72188 16.4762 7.82812C15.6234 6.60625 14.3395 5.9375 12.6473 5.81562C11.0363 5.69687 9.27656 6.75 8.59063 6.75C7.86563 6.75 6.30938 5.85937 5.08438 5.85937C2.55313 5.9 -0.125 7.86875 -0.125 11.7812C-0.125 12.9219 0.0875 14.1 0.5125 15.3156C1.075 16.8969 3.09063 20.6625 5.19063 20.5969C6.33125 20.5688 7.13438 19.7781 8.625 19.7781C10.0719 19.7781 10.8156 20.5969 12.0844 20.5969C14.2063 20.5656 16.025 17.1531 16.5625 15.5687C14.0438 14.3656 14.2027 11.6437 14.2027 11.5688ZM11.782 4.26562C12.9969 2.83125 12.8844 1.525 12.8469 1.09375C11.7719 1.15625 10.532 1.825 9.82188 2.64375C9.04063 3.51875 8.5875 4.5875 8.68438 5.79375C9.84688 5.88125 10.907 5.28437 11.782 4.26562Z",fill:"#00040C"})}),(0,a.jsx)("span",{className:"tracking-0 text-[16px] font-[500] leading-[20px] text-[#00040C]",children:(0,s.t)("Continue with Apple")})]}),(0,a.jsxs)("button",{type:"button",className:"flex h-[44px] w-full items-center justify-center gap-2 rounded-[12px] bg-white",onClick:()=>{g()&&((0,c.A)("click",{type:"signin_email_button_clicked"}),e.push("/signin/email"))},children:[(0,a.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M15.75 3.375H2.25C1.62868 3.375 1.125 3.87868 1.125 4.5V13.5C1.125 14.1213 1.62868 14.625 2.25 14.625H15.75C16.3713 14.625 16.875 14.1213 16.875 13.5V4.5C16.875 3.87868 16.3713 3.375 15.75 3.375Z",stroke:"#00040C",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M1.125 4.5L9 9.5625L16.875 4.5",stroke:"#00040C",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})]}),(0,a.jsx)("span",{className:"tracking-0 text-[16px] font-[500] leading-[20px] text-[#00040C]",children:(0,s.t)("Continue with Email")})]})]}),(0,a.jsxs)("p",{className:"mt-[20px] text-center font-['Manrope'] text-[13px] font-normal leading-normal text-[#7B7B7B]",children:[(0,s.t)("Don't have an account?")," ",(0,a.jsx)("button",{type:"button",className:"font-semibold",style:{background:"linear-gradient(180deg, #00D19F 0%, #009B75 100%)",WebkitBackgroun
1dClip:"text",backgroundClip:"text",WebkitTextFillColor:"transparent",color:"transparent",display:"inline-block",lineHeight:1.3},onClick:()=>{(0,c.A)("click",{screen:"sign_up"}),e.push("/signup")},children:(0,s.t)("Sign Up")})]}),(0,a.jsx)("style",{children:"\n @keyframes shake {\n 0%, 100% { transform: translateX(0); }\n 20% { transform: translateX(-6px); }\n 40% { transform: translateX(6px); }\n 60% { transform: translateX(-4px); }\n 80% { transform: translateX(4px); }\n }\n .shake { animation: shake 0.6s ease; }\n "}),(0,a.jsxs)("div",{ref:p,className:"mt-[20px] flex shrink-0 items-center justify-center gap-2".concat(d?" shake":""),children:[(0,a.jsx)("button",{type:"button",onClick:x,className:"flex h-[14px] w-[14px] shrink-0 items-center justify-center rounded-[3px] border",style:{borderColor:d?"#FF4D4D":"#DBDBDB",backgroundColor:n?"#DBDBDB":"transparent",boxShadow:d?"0 0 0 2px rgba(255,77,77,0.4)":"none",transition:"box-shadow 0.2s, background-color 0.2s"},children:n&&(0,a.jsx)("svg",{width:"9",height:"7",viewBox:"0 0 9 7",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M1 3L3.5 5.5L8 1",stroke:"#292D3D",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,a.jsxs)("p",{className:"flex gap-1 whitespace-nowrap text-center",children:[(0,a.jsx)("span",{className:"cursor-pointer text-[12px] font-normal leading-normal text-[#DBDBDB]",onClick:x,children:(0,s.t)("Accept")}),(0,a.jsx)("a",{href:"/privacy",className:"text-[12px] font-semibold leading-normal text-[#DBDBDB]",children:(0,s.t)("Privacy Policy")}),(0,a.jsxs)("span",{className:"cursor-pointer text-[12px] font-normal leading-normal text-[#DBDBDB]",onClick:x,children:[" ",(0,s.t)("and")," "]}),(0,a.jsx)("a",{href:"/terms",className:"text-[12px] font-semibold leading-normal text-[#DBDBDB]",children:(0,s.t)("Term of Use")})]})]})]})]})}},61990:function(e,t,n){"use strict";n.d(t,{AppContextProvider:function(){return m},b:function(){return p}});var a=n(57437),r=n(2265),i=n(40903);let s={currency:"USD",item_id:i.g0,item_name:"weekly_special_offer",affiliation:"Donna Web Store",item_brand:"Donna",item_category:"Donna Subscriptions",item_list_id:"donna_subscription_list",item_list_name:"Donna Subscription List",item_variant:"weekly",priceUSD:299,price:2.99,interval:"week",quantity:1,isDisplayOnBasePackages:!1},o={currency:"USD",item_id:i.eP,item_name:"weekly_subs",affiliation:"Donna Web Store",item_brand:"Donna",item_category:"Donna Subscription",item_list_id:"donna_subscription",item_list_name:"donna_subscription",item_variant:"weekly",credit:10,priceUSD:599,price:5.99,quantity:1,isDisplayOnBasePackages:!0},l=[{...s,mostPopular:!1},{...o,mostPopular:!0},{currency:"USD",item_id:i.hq,item_name:"5_credits",affiliation:"Donna Web Store",item_brand:"Donna",item_category:"Donna Credit Packs",item_list_id:"donna_credit_pack_list",item_list_name:"Donna Credit Pack List",item_variant:"5",credit:5,priceUSD:199,price:1.99,quantity:1,mostPopular:!1,isDisplayOnBasePackages:!0},{currency:"USD",item_id:i.uU,item_name:"25_credits",affiliation:"Donna Web Store",item_brand:"Donna",item_category:"Donna Credit Packs",item_list_id:"donna_credit_pack_list",item_list_name:"Donna Credit Pack List",item_variant:"25",credit:25,priceUSD:899,price:8.99,quantity:1,mostPopular:!1,isDisplayOnBasePackages:!0},{currency:"USD",item_id:i.OC,item_name:"50_credits",affiliation:"Donna Web Store",item_brand:"Donna",item_category:"Donna Credit Packs",item_list_id:"donna_credit_pack_list",item_list_name:"Donna Credit Pack List",item_variant:"50",credit:50,priceUSD:1599,price:15.99,quantity:1,mostPopular:!1,isDisplayOnBasePackages:!0}],c=(0,r.createContext)(),u=e=>{try{return window.localStorage.getItem(e)}catch(e){return null}},d=(e,t)=>{try{window.localStorage.setItem(e,t)}catch(e){console.error("localeStorage access error: ",e)}},m=e=>{let{children:t}=e,[n,i]=(0,r.useState)(!1),[s,o]=(0,r.useState)(new Map),[m,p]=(0,r.useState)(null),[x,g]=(0,r.useState)([]),[f,h]=(0,r.useState)(!1),_=(0,r.useRef)(new Map),[b,y]=(0,r.useState)({trigger:0,playlistId:""}),[w,v]=(0,r.useState)({trigger:0}),[S,k]=(0,r.useState)(()=>{let e=u("createdSongUuid");try{return e?JSON.parse(e):[]}catch(e){return[]}}),[D,C]=(0,r.useState)(l),[j,N]=(0,r.useState)(0),[B,P]=(0,r.useState)(0),[I,L]=(0,r.useState)(null),[U,F]=(0,r.useState)(null),[A,E]=(0,r.useState)(!1),[O,W]=(0,r.useState)(null),[M,T]=(0,r.useState)(null),[q,R]=(0,r.useState)(!1),[X,Z]=(0,r.useState)(!1),[J,G]=(0,r.useState)(null),[H,V]=(0,r.useState)(null),[z,Y]=(0,r.useState)(0),[Q,$]=(0,r.useState)(""),[K,ee]=(0,r.useState)(!1),[et,en]=(0,r.useState)(!1),[ea,er]=(0,r.useState)("idle"),[ei,es]=(0,r.useState)(!1),[eo,el]=(0,r.useState)(!0),[ec,eu]=(0,r.useState)(""),ed=(null==S?void 0:S.length)>0,[em,ep]=(0,r.useState)(!1),[ex,eg]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{d("createdSongUuid",JSON.stringify(S))},[S]),(0,a.jsx)(c.Provider,{value:{authCheck:n,setAuthCheck:i,playlistMap:s,setPlaylistMap:o,homeList:m,setHomeList:p,playlists:x,setPlaylists:g,isPlaylistsLoading:f,setIsPlaylistsLoading:h,playlistTriggerMap:_,createdSongUuid:S,setCreatedSongUuid:k,packages:D,setPackages:C,isSelectedPackage:j,setSelectedPackage:N,cleanUpTrigger:B,setCleanUpTrigger:P,popupType:U,setPopupType:F,popupData:O,popupShow:A,setPopupShow:E,openPopup:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;F(e),W(t),E(!0)},closePopup:()=>{let e=null==O?void 0:O.onClose;E(!1),W(null),F(null),"function"==typeof e&&e()},songMenuData:M,setSongMenuData:T,isSettingsOpen:q,setIsSettingsOpen:R,isSettingsDetailOpen:X,setIsSettingsDetailOpen:Z,activeSongId:J,setActiveSongId:G,activeSong:H,setActiveSong:V,user:I,setUser:L,createFromSignIn:z,setCreateFromSignIn:Y,homeDescriptionText:Q,setHomeDescriptionText:$,triggerGetSongList:b,setTriggerGetSongList:y,triggerGetPlaylists:w,setTriggerGetPlaylists:v,allowModals:K,setAllowModals:ee,modalIsOpen:et,setModalIsOpen:en,isClosing:ea,setIsClosing:er,pricingModal:ei,setPricingModal:es,isClosingPricing:eo,setIsClosingPricing:el,openModal:()=>{document.body.style.overscrollBehavior="none",document.body.style.overflow="hidden",en(!0),setTimeout(()=>{er(!1)},10)},closeModal:()=>{er(!0),setTimeout(()=>{document.body.style.overscrollBehavior=null,document.body.style.overflow=null,en(!1)},150)},openPricing:()=>{et||(document.body.style.overscrollBehavior="none",document.body.style.overflow="hidden"),es(!0),setTimeout(()=>{el(!1)},10)},closePricing:()=>{el(!0),setTimeout(()=>{et||(document.body.style.overscrollBehavior=null,document.body.style.overflow=null),es(!1)},150)},processName:ec,setProcessName:eu,isHaveInprogressJob:ed,isInprogressScreenOpen:em,setIsInprogressScreenOpen:ep,isFullScreenOverlayOpen:ex,setIsFullScreenOverlayOpen:eg,openInprogressScreen:()=>ep(!0),closeInprogressScreen:()=>ep(!1)},children:t})},p=()=>(0,r.useContext)(c)},14102:function(e,t,n){"use strict";var a=n(57437),r=n(7261);let i={error:"â ï¸",success:"â
",default:"â"},s=e=>{let{title:t,text:n,type:r}=e,s=i[r]||i.default;return(0,a.jsxs)("div",{className:"flex w-full items-center gap-3",children:[(0,a.jsx)("div",{className:"flex h-10 w-10 flex-shrink-0 items-center justify-center rounded-full bg-[#2B2B33] text-xl leading-none shadow-[0_2px_8px_rgba(0,0,0,0.35)]",children:(0,a.jsx)("span",{"aria-hidden":"true",children:s})}),(0,a.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col",children:[t&&(0,a.jsx)("p",{className:"text-[15px] font-semibold leading-[1.35] text-white",children:t}),n&&(0,a.jsx)("p",{className:"line-clamp-3 text-[15px] font-medium leading-[1.35] text-white",children:n})]})]})};t.Z=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,r.Am)((0,a.jsx)(s,{...e}),{...t})}},24740:function(e,t,n){"use strict";n.d(t,{A:function(){return i},r:function(){return r}});var a=n(22794);let r=()=>{let e=document.cookie.match(/_ga_6PF1QD2J2F=GS\d\.\d\.(\w+)\.(\d+)/);return e&&e[1]||null},i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0,i="localhost"===window.location.hostname,s="donna-test.vercel.app"===window.location.hostname,o=(0,a.qn)("authEmail"),l=(0,a.qn)("customUserId"),c=(0,a.qn)("customUserId"),u=(0,a.Iy)("geoLocation"),d=window.location.href.includes("debug"),m=new URLSearchParams(window.location.search),p=(0,a.Iy)("utm_parameters"),x={event:e,event_name:e,...t};(i||d||s)&&(x.debug_mode=!0),o&&(x.email=o),l&&(x.user_id=c),l&&(x.ga_custom_id=l),(null==u?void 0:u.country)&&(x.country=u.country),(null==u?void 0:u.city)&&(x.city=u.city),(null==u?void 0:u.state)&&(x.state=u.state),(null==u?void 0:u.postal_code)&&(x.postal_code=u.postal_code);let g=e=>
1m.get(e)||(null==p?void 0:p[e])||null,f=g("utm_source"),h=g("utm_medium"),_=g("campaign")||g("utm_campaign"),b=g("adset"),y=g("ad");f&&(x.utm_source=f),h&&(x.utm_medium=h),_&&(x.campaign=_),b&&(x.adset=b),y&&(x.ad=y);let w=window.dataLayer=window.dataLayer||[];if(n&&w.push({ecommerce:null}),w.push(x),r)return r()}},22794:function(e,t,n){"use strict";n.d(t,{B$:function(){return o},Iy:function(){return l},L_:function(){return i},Nh:function(){return r},qn:function(){return a}});let a=e=>{try{return localStorage.getItem(e)}catch(e){return null}},r=(e,t)=>{try{return localStorage.setItem(e,t),!0}catch(e){return!1}},i=e=>{try{return localStorage.removeItem(e),!0}catch(e){return!1}},s=["preferred-language"],o=()=>{try{let e=s.map(e=>[e,localStorage.getItem(e)]);return localStorage.clear(),e.forEach(e=>{let[t,n]=e;null!==n&&localStorage.setItem(t,n)}),!0}catch(e){return!1}},l=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=a(e);if(!n)return t;try{return JSON.parse(n)}catch(e){return t}}}},function(e){e.O(0,[8218,6550,6434,4307,56,8807,903,1186,4688,6279,2971,2028,1744],function(){return e(e.s=79179)}),_N_E=e.O()}]);
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.