PageSourceSearch

https://mostreams-com.lovable.app/assets/signup-THqhCUDF.js

js mostreams-com.lovable.app collected 2026-10-03 03:35:10 UTC 70,567 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/account-lookup.functions-BcNhRuS2.js","assets/index-BNrdOJig.js","assets/index-BE6GRg9D.css"])))=>i.map(i=>d[i]);
2import{c as rr,r as c,j as e,an as ar,aC as z,aB as ee,at as V,as as _,au as T,aq as re,ar as tr,ap as ae,av as or,ay as nr,ax as sr,az as ir,aA as lr,aD as Y,aJ as dr,aG as N,bs as cr,a0 as ur,H as mr,m as pr,i as he,L,z as hr,a1 as xr,W as xe,B as q,v as M,_ as fe,s as gr,a7 as br,bb as fr,y as yr,aE as vr,G as $}from"./index-BNrdOJig.js";import{l as Cr}from"./index-DPsmHOpL.js";import{P as Nr}from"./PageShell-CWbrZUQJ.js";import{P as wr}from"./PasswordInput-BoQscDYM.js";import{checkUsernameAvailable as jr}from"./account-lookup.functions-BcNhRuS2.js";import{T as kr,a as Sr,b as Ar,c as Pr}from"./tabs-7-_U4cvK.js";import{R as Rr,A as ye,c as ve,C as Mr,a as Er}from"./index-xFoOlCOp.js";import{C as Tr,a as _r,b as Dr,c as Lr,d as Br}from"./command-BZUbMk91.js";import{c as Ir,u as Or}from"./index-Dc9JXvma.js";import{C as Fr}from"./chevron-down-Bsk54EUt.js";import{M as Gr}from"./music-4-XSQW5tQl.js";import{M as Hr}from"./mic-vocal-1o-CIBe1.js";import{C as Q}from"./calendar-clock-B886Eqij.js";import{E as qr}from"./eye-off-DKZjR1l7.js";import{C as $r}from"./credit-card-DuGDEZtl.js";import{G as Wr}from"./gift-zW-OXeDx.js";import"./SiteNav-BcGgqsav.js";import"./dropdown-menu-KsqIXfPg.js";import"./index-BgFHfwbL.js";import"./globe-BA4Wl8PS.js";import"./SiteFooter-dnnZxriw.js";import"./input-CwAqzCK4.js";import"./mail-Dg76bAst.js";import"./YouTubeBackground-CCoqfn6u.js";import"./FanFreeBanner-Bn5Nkcw_.js";import"./eye-D8eAoNYW.js";const zr=[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]],Vr=rr("chevrons-up-down",zr),ge={AL:["Birmingham","Huntsville","Montgomery","Mobile","Tuscaloosa","Hoover","Auburn","Dothan"],AK:["Anchorage","Fairbanks","Juneau","Wasilla","Sitka","Ketchikan"],AZ:["Phoenix","Tucson","Mesa","Chandler","Scottsdale","Glendale","Gilbert","Tempe","Peoria","Flagstaff"],AR:["Little Rock","Fayetteville","Fort Smith","Springdale","Jonesboro","Conway","Rogers","Bentonville"],CA:["Los Angeles","San Diego","San Jose","San Francisco","Fresno","Sacramento","Long Beach","Oakland","Bakersfield","Anaheim","Santa Ana","Riverside","Stockton","Irvine","Chula Vista","Fremont","San Bernardino","Modesto","Oxnard","Fontana","Glendale","Huntington Beach","Santa Clarita","Garden Grove","Santa Rosa","Hollywood","Berkeley","Pasadena","Inglewood","Compton"],CO:["Denver","Colorado Springs","Aurora","Fort Collins","Lakewood","Thornton","Arvada","Westminster","Pueblo","Boulder"],CT:["Bridgeport","Stamford","New Haven","Hartford","Waterbury","Norwalk","Danbury","Greenwich"],DE:["Wilmington","Dover","Newark","Middletown","Smyrna"],FL:["Jacksonville","Miami","Tampa","Orlando","St. Petersburg","Hialeah","Tallahassee","Fort Lauderdale","Port St. Lucie","Cape Coral","Pembroke Pines","Hollywood","Gainesville","Miramar","Coral Springs","Miami Gardens","Clearwater","Palm Bay","West Palm Beach","Pompano Beach","Lakeland","Davie","Boca Raton","Sunrise","Plantation","Deltona","Largo","Deerfield Beach","Melbourne","Daytona Beach"],GA:["Atlanta","Augusta","Columbus","Macon","Savannah","Athens","Sandy Springs","Roswell","Albany","Johns Creek","Marietta","Decatur"],HI:["Honolulu","Hilo","Kailua","Kapolei","Pearl City","Waipahu","Kaneohe"],ID:["Boise","Meridian","Nampa","Idaho Falls","Pocatello","Caldwell","Coeur d'Alene","Twin Falls"],IL:["Chicago","Aurora","Joliet","Naperville","Rockford","Springfield","Elgin","Peoria","Champaign","Waukegan","Cicero","Bloomington","Evanston","Schaumburg"],IN:["Indianapolis","Fort Wayne","Evansville","South Bend","Carmel","Fishers","Bloomington","Hammond","Gary","Lafayette"],IA:["Des Moines","Cedar Rapids","Davenport","Sioux City","Iowa City","Waterloo","Council Bluffs","Ames"],KS:["Wichita","Overland Park","Kansas City","Olathe","Topeka","Lawrence","Shawnee","Manhattan"],KY:["Louisville","Lexington","Bowling Green","Owensboro","Covington","Hopkinsville","Richmond","Florence"],LA:["New Orleans","Baton Rouge","Shreveport","Lafayette","Lake Charles","Kenner","Bossier City","Monroe"],ME:["Portland","Lewiston","Bangor","South Portland","Auburn","Augusta","Biddeford"],MD:["Baltimore","Frederick","Rockville","Gaithersburg","Bowie","Hagerstown","Annapolis","Silver Spring","Columbia","Germantown"],MA:["Boston","Worcester","Springfield","Cambridge","Lowell","Brockton","Quincy","Lynn","New Bedford","Newton","Somerville","Fall River"],MI:["Detroit","Grand Rapids","Warren","Sterling Heights","Ann Arbor","Lansing","Flint","Dearborn","Livonia","Troy","Kalamazoo"],MN:["Minneapolis","Saint Paul","Rochester","Duluth","Bloomington","Brooklyn Park","Plymouth","Maple Grove","Saint Cloud"],MS:["Jackson","Gulfport","Southaven","Biloxi","Hattiesburg","Tupelo","Meridian","Olive Branch"],MO:["Kansas City","St. Louis","Springfield","Columbia","Independence","Lee's Summit","O'Fallon","St. Joseph"],MT:["Billings","Missoula","Great Falls","Bozeman","Butte","Helena","Kalispell"],NE:["Omaha","Lincoln","Bellevue","Grand Island","Kearney","Fremont"],NV:["Las Vegas","Henderson","Reno","North Las Vegas","Sparks","Carson City","Paradise"],NH:["Manchester","Nashua","Concord","Derry","Dover","Rochester","Portsmouth"],NJ:["
2Newark","Jersey City","Paterson","Elizabeth","Edison","Woodbridge","Lakewood","Toms River","Hamilton","Trenton","Clifton","Camden","Brick","Cherry Hill","Passaic","Union City"],NM:["Albuquerque","Las Cruces","Rio Rancho","Santa Fe","Roswell","Farmington","Clovis"],NY:["New York City","Buffalo","Rochester","Yonkers","Syracuse","Albany","New Rochelle","Mount Vernon","Schenectady","Utica","White Plains","Hempstead","Brooklyn","Queens","Bronx","Staten Island","Manhattan"],NC:["Charlotte","Raleigh","Greensboro","Durham","Winston-Salem","Fayetteville","Cary","Wilmington","High Point","Greenville","Asheville","Concord"],ND:["Fargo","Bismarck","Grand Forks","Minot","West Fargo","Williston","Dickinson"],OH:["Columbus","Cleveland","Cincinnati","Toledo","Akron","Dayton","Parma","Canton","Youngstown","Lorain"],OK:["Oklahoma City","Tulsa","Norman","Broken Arrow","Lawton","Edmond","Moore","Midwest City","Stillwater"],OR:["Portland","Salem","Eugene","Gresham","Hillsboro","Beaverton","Bend","Medford","Springfield","Corvallis"],PA:["Philadelphia","Pittsburgh","Allentown","Erie","Reading","Scranton","Bethlehem","Lancaster","Harrisburg","York","Altoona","State College"],RI:["Providence","Cranston","Warwick","Pawtucket","East Providence","Woonsocket","Newport"],SC:["Charleston","Columbia","North Charleston","Mount Pleasant","Rock Hill","Greenville","Summerville","Spartanburg","Myrtle Beach"],SD:["Sioux Falls","Rapid City","Aberdeen","Brookings","Watertown","Mitchell","Pierre"],TN:["Nashville","Memphis","Knoxville","Chattanooga","Clarksville","Murfreesboro","Franklin","Jackson","Johnson City"],TX:["Houston","San Antonio","Dallas","Austin","Fort Worth","El Paso","Arlington","Corpus Christi","Plano","Laredo","Lubbock","Garland","Irving","Amarillo","Grand Prairie","Brownsville","McKinney","Frisco","Pasadena","Killeen","McAllen","Mesquite","Midland","Denton","Waco","Carrollton","Round Rock","Abilene","Pearland","Beaumont","College Station","Tyler","Wichita Falls"],UT:["Salt Lake City","West Valley City","Provo","West Jordan","Orem","Sandy","Ogden","St. George","Layton","South Jordan"],VT:["Burlington","Essex","South Burlington","Colchester","Rutland","Bennington","Montpelier"],VA:["Virginia Beach","Norfolk","Chesapeake","Richmond","Newport News","Alexandria","Hampton","Roanoke","Portsmouth","Suffolk","Lynchburg","Arlington"],WA:["Seattle","Spokane","Tacoma","Vancouver","Bellevue","Kent","Everett","Renton","Yakima","Federal Way","Spokane Valley","Bellingham","Kirkland","Auburn"],WV:["Charleston","Huntington","Morgantown","Parkersburg","Wheeling","Weirton","Fairmont"],WI:["Milwaukee","Madison","Green Bay","Kenosha","Racine","Appleton","Waukesha","Eau Claire","Oshkosh","Janesville"],WY:["Cheyenne","Casper","Laramie","Gillette","Rock Springs","Sheridan","Jackson"],DC:["Washington"]},be={CA:["Toronto","Montreal","Vancouver","Calgary","Edmonton","Ottawa","Winnipeg","Quebec City","Hamilton","Kitchener","London","Halifax","Victoria","Saskatoon","Regina"],GB:["London","Birmingham","Manchester","Glasgow","Liverpool","Leeds","Sheffield","Edinburgh","Bristol","Cardiff","Belfast","Newcastle upon Tyne","Nottingham","Southampton","Brighton"],AU:["Sydney","Melbourne","Brisbane","Perth","Adelaide","Gold Coast","Newcastle","Canberra","Hobart","Darwin"],DE:["Berlin","Hamburg","Munich","Cologne","Frankfurt","Stuttgart","Düsseldorf","Leipzig","Dortmund","Bremen","Hanover","Nuremberg"],FR:["Paris","Marseille","Lyon","Toulouse","Nice","Nantes","Strasbourg","Montpellier","Bordeaux","Lille","Rennes"],ES:["Madrid","Barcelona","Valencia","Seville","Zaragoza","Málaga","Murcia","Palma","Bilbao","Granada"],IT:["Rome","Milan","Naples","Turin","Palermo","Genoa","Bologna","Florence","Bari","Catania","Venice"],NL:["Amsterdam","Rotterdam","The Hague","Utrecht","Eindhoven","Groningen","Tilburg","Almere"],MX:["Mexico City","Guadalajara","Monterrey","Puebla","Tijuana","León","Juárez","Zapopan","Mérida","Cancún"],BR:["São Paulo","Rio de Janeiro","Brasília","Salvador","Fortaleza","Belo Horizonte","Manaus","Curitiba","Recife","Porto Alegre"],AR:["Buenos Aires","Córdoba","Rosario","Mendoza","
2La Plata","Tucumán","Mar del Plata","Salta"],CO:["Bogotá","Medellín","Cali","Barranquilla","Cartagena","Bucaramanga","Pereira","Santa Marta"],CL:["Santiago","Valparaíso","Concepción","La Serena","Antofagasta","Temuco"],PE:["Lima","Arequipa","Trujillo","Chiclayo","Piura","Cusco"],JP:["Tokyo","Yokohama","Osaka","Nagoya","Sapporo","Fukuoka","Kobe","Kyoto","Kawasaki","Saitama","Hiroshima","Sendai"],CN:["Shanghai","Beijing","Guangzhou","Shenzhen","Chengdu","Tianjin","Chongqing","Wuhan","Xi'an","Hangzhou","Nanjing","Suzhou"],IN:["Mumbai","Delhi","Bangalore","Hyderabad","Chennai","Kolkata","Ahmedabad","Pune","Jaipur","Surat","Lucknow","Kanpur","Nagpur","Indore"],KR:["Seoul","Busan","Incheon","Daegu","Daejeon","Gwangju","Suwon","Ulsan"],ID:["Jakarta","Surabaya","Bandung","Medan","Semarang","Makassar","Palembang","Tangerang","Depok","Denpasar"],PH:["Manila","Quezon City","Davao City","Caloocan","Cebu City","Zamboanga","Taguig","Pasig","Antipolo","Cagayan de Oro"],TH:["Bangkok","Nonthaburi","Pak Kret","Hat Yai","Chiang Mai","Phuket","Pattaya"],VN:["Ho Chi Minh City","Hanoi","Haiphong","Da Nang","Can Tho","Bien Hoa"],MY:["Kuala Lumpur","Johor Bahru","Ipoh","George Town","Shah Alam","Petaling Jaya","Klang"],SG:["Singapore"],AE:["Dubai","Abu Dhabi","Sharjah","Al Ain","Ajman","Ras Al Khaimah"],SA:["Riyadh","Jeddah","Mecca","Medina","Dammam","Khobar","Taif"],TR:["Istanbul","Ankara","Izmir","Bursa","Adana","Gaziantep","Konya","Antalya"],EG:["Cairo","Alexandria","Giza","Shubra El-Kheima","Port Said","Suez","Luxor"],NG:["Lagos","Kano","Ibadan","Abuja","Port Harcourt","Benin City","Kaduna","Enugu"],KE:["Nairobi","Mombasa","Kisumu","Nakuru","Eldoret","Thika"],ZA:["Johannesburg","Cape Town","Durban","Pretoria","Port Elizabeth","Bloemfontein","East London","Soweto"],GH:["Accra","Kumasi","Tamale","Sekondi-Takoradi","Cape Coast"],MA:["Casablanca","Rabat","Fes","Marrakesh","Tangier","Agadir","Meknes"],DZ:["Algiers","Oran","Constantine","Annaba","Blida"],PT:["Lisbon","Porto","Braga","Coimbra","Faro","Funchal"],IE:["Dublin","Cork","Galway","Limerick","Waterford"],BE:["Brussels","Antwerp","Ghent","Charleroi","Liège","Bruges"],CH:["Zurich","Geneva","Basel","Bern","Lausanne","Lucerne"],AT:["Vienna","Graz","Linz","Salzburg","Innsbruck"],SE:["Stockholm","Gothenburg","Malmö","Uppsala","Västerås"],NO:["Oslo","Bergen","Trondheim","Stavanger","Drammen"],DK:["Copenhagen","Aarhus","Odense","Aalborg","
2Esbjerg"],FI:["Helsinki","Espoo","Tampere","Vantaa","Oulu","Turku"],PL:["Warsaw","Kraków","Łódź","Wrocław","Poznań","Gdańsk","Szczecin"],GR:["Athens","Thessaloniki","Patras","Heraklion","Larissa"],RU:["Moscow","Saint Petersburg","Novosibirsk","Yekaterinburg","Kazan","Nizhny Novgorod","Samara","Rostov-on-Don"],UA:["Kyiv","Kharkiv","Odesa","Dnipro","Lviv","Zaporizhzhia"],IL:["Jerusalem","Tel Aviv","Haifa","Rishon LeZion","Petah Tikva","Ashdod","Netanya"],NZ:["Auckland","Wellington","Christchurch","Hamilton","Tauranga","Dunedin"],JM:["Kingston","Spanish Town","Montego Bay","Portmore","May Pen","Mandeville"],DO:["Santo Domingo","Santiago de los Caballeros","La Romana","San Pedro de Macorís","Puerto Plata"],CU:["Havana","Santiago de Cuba","Camagüey","Holguín","Guantánamo"],PR:["San Juan","Bayamón","Carolina","Ponce","Caguas","Mayagüez"]};function Yr(r,s){return r==="US"&&s&&ge[s]?ge[s]:be[r]?be[r]:[]}const Jr="mostreams.pending_redeem";function Ur(r){if(!(typeof window>"u"))try{window.localStorage.setItem(Jr,r.toUpperCase().trim())}catch{}}function Kr(r){const s=Zr(r),a=c.forwardRef((o,t)=>{const{children:n,...i}=o,l=c.Children.toArray(n),d=l.find(Xr);if(d){const h=d.props.children,x=l.map(g=>g===d?c.Children.count(h)>1?c.Children.only(null):c.isValidElement(h)?h.props.children:null:g);return e.jsx(s,{...i,ref:t,children:c.isValidElement(h)?c.cloneElement(h,void 0,x):null})}return e.jsx(s,{...i,ref:t,children:n})});return a.displayName=`${r}.Slot`,a}function Zr(r){const s=c.forwardRef((a,o)=>{const{children:t,...n}=a;if(c.isValidElement(t)){const i=ra(t),l=ea(n,t.props);return t.type!==c.Fragment&&(l.ref=o?ar(o,i):i),c.cloneElement(t,l)}return c.Children.count(t)>1?c.Children.only(null):null});return s.displayName=`${r}.SlotClone`,s}var Qr=Symbol("radix.slottable");function Xr(r){return c.isValidElement(r)&&typeof r.type=="function"&&"__radixId"in r.type&&r.type.__radixId===Qr}function ea(r,s){const a={...s};for(const o in s){const t=r[o],n=s[o];/^on[A-Z]/.test(o)?t&&n?a[o]=(...l)=>{const d=n(...l);return t(...l),d}:t&&(a[o]=t):o==="style"?a[o]={...t,...n}:o==="className"&&(a[o]=[t,n].filter(Boolean).join(" "))}return{...r,...a}}function ra(r){let s=Object.getOwnPropertyDescriptor(r.props,"ref")?.get,a=s&&"isReactWarning"in s&&s.isReactWarning;return a?r.ref:(s=Object.getOwnPropertyDescriptor(r,"ref")?.get,a=s&&"isReactWarning"in s&&s.isReactWarning,a?r.props.ref:r.props.ref||r.ref)}var J="Popover",[Ce]=ae(J,[ve]),F=ve(),[aa,E]=Ce(J),Ne=r=>{const{__scopePopover:s,children:a,open:o,defaultOpen:t,onOpenChange:n,modal:i=!1}=r,l=F(s),d=c.useRef(null),[h,x]=c.useState(!1),[g,u]=z({prop:o,defaultProp:t??!1,onChange:n,caller:J});return e.jsx(Rr,{...l,children:e.jsx(aa,{scope:s,contentId:ee(),triggerRef:d,open:g,onOpenChange:u,onOpenToggle:c.useCallback(()=>u(m=>!m),[u]),hasCustomAnchor:h,onCustomAnchorAdd:c.useCallback(()=>x(!0),[]),onCustomAnchorRemove:c.useCallback(()=>x(!1),[]),modal:i,children:a})})};Ne.displayName=J;var we="PopoverAnchor",ta=c.forwardRef((r,s)=>{const{__scopePopover:a,...o}=r,t=E(we,a),n=F(a),{onCustomAnchorAdd:i,onCustomAnchorRemove:l}=t;return c.useEffect(()=>(i(),()=>l()),[i,l]),e.jsx(ye,{...n,...o,ref:s})});ta.displayName=we;var je="PopoverTrigger",ke=c.forwardRef((r,s)=>{const{__scopePopover:a,...o}=r,t=E(je,a),n=F(a),i=V(s,t.triggerRef),l=e.jsx(_.button,{type:"button","aria-haspopup":"dialog","aria-expanded":t.open,"aria-controls":t.contentId,"data-state":Me(t.open),...o,ref:i,onClick:T(r.onClick,t.onOpenToggle)});return t.hasCustomAnchor?l:e.jsx(ye,{asChild:!0,...n,children:l})});ke.displayName=je;var te="PopoverPortal",[oa,na]=Ce(te,{forceMount:void 0}),Se=r=>{const{__scopePopover:s,forceMount:a,children:o,container:t}=r,n=E(te,s);return e.jsx(oa,{scope:s,forceMount:a,children:e.jsx(re,{present:a||n.open,children:e.jsx(tr,{asChild:!0,container:t,children:o})})})};Se.displayName=te;var B="PopoverContent",Ae=c.forwardRef((r,s)=>{const a=na(B,r.__scopePopover),{forceMount:o=a.forceMount,...t}=r,n=E(B,r.__scopePopover);return e.jsx(re,{present:o||n.open,children:n.modal?e.jsx(ia,{...t,ref:s}):e.jsx(la,{...t,ref:s})})});Ae.displayName=B;var sa=Kr("PopoverContent.RemoveScroll"),ia=c.forwardRef((r,s)=>{const a=E(B,r.__scopePopover),o=c.useRef(null),t=V(s,o),n=c.useRef(!1);return c.useEffect(()=>{const i=o.current;if(i)return or(i)},[]),e.jsx(nr,{as:sa,allowPinchZoom:!0,children:e.jsx(Pe,{...r,ref:t,trapFocus:a.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:T(r.onCloseAutoFocus,i=>{i.preventDefault(),n.current||a.triggerRef.current?.focus()}),onPointerDownOutside:T(r.onPointerDownOutside,i=>{const l=i.detail.originalEvent,d=l.button===0&&l.ctrlKey===!0,h=l.button===2||d;n.current=h},{checkForDefaultPrevented:!1}),onFocusOutside:T(r.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1})})})}),la=c.forwardRef((r,s)=>{const a=E(B,r.__scopePopover),o=c.useRef(!1),t=c.useRef(!1);return e.jsx(Pe,{...r,ref:s,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:n=>{r.onCloseAutoFocus?.(n),n.defaultPrevented||(o.current||a.triggerRef.current?.focus(),n.preventDefault()),o.current=!1,t.current=!1},onInteractOutside:n=>{r.onInteractOutside?.(n),n.defaultPrevented||(o.current=!0,n.detail.originalEvent.type==="pointerdown"&&(t.current=!0));const i=n.target;a.triggerRef.current?.contains(i)&&n.preventDefault(),n.detail.originalEvent.type==="focusin"&&t.current&&n.preventDefault()}})}),Pe=c.forwardRef((r,s)=>{const{__scopePopover:a,trapFocus:o,onOpenAutoFocus:t,onCloseAutoFocus:n,disableOutsidePointerEvents:i,onEscapeKeyDown:l,onPointerDownOutside:d,onFocusOutside:h,onInteractOutside:x,...g}=r,u=E(B,a),m=F(a);return sr(),e.jsx(ir,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:t,onUnmountAutoFocus:n,children:e.jsx(lr,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:x,onEscapeKeyDown:l,onPointerDownOutside:d,onFocusOutside:h,onDismiss:()=>u.onOpenChange(!1),children:e.jsx(Mr,{"data-state":Me(u.open),role:"dialog",id:u.contentId,...m,...g,ref:s,style:{...g.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),Re="PopoverClose",da=c.forwardRef((r,s)=>{const{__scopePopover:a,...o}=r,t=E(Re,a);return e.jsx(_.button,{type:"button",...o,ref:s,onClick:T(r.onClick,()=>t.onOpenChange(!1))})});da.displayName=Re;var ca="PopoverArrow",ua=c.forwardRef((r,s)=>{const{__scopePopover:a,...o}=r,t=F(a);return e.jsx(Er,{...t,...o,ref:s})});ua.displayName=ca;function Me(r){return r?"open":"closed"}var ma=Ne,pa=ke,ha=Se,Ee=Ae;const xa=ma,ga=pa,Te=c.forwardRef(({className:r,align:s="center",sideOffset:a=4,...o},t)=>e.jsx(ha,{children:e.jsx(Ee,{ref:t,align:s,sideOffset:a,className:Y("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
2de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-(--radix-popover-content-transform-origin)",r),...o})}));Te.displayName=Ee.displayName;var U="Collapsible",[ba,_e]=ae(U),[fa,oe]=ba(U),De=c.forwardRef((r,s)=>{const{__scopeCollapsible:a,open:o,defaultOpen:t,disabled:n,onOpenChange:i,...l}=r,[d,h]=z({prop:o,defaultProp:t??!1,onChange:i,caller:U});return e.jsx(fa,{scope:a,disabled:n,contentId:ee(),open:d,onOpenToggle:c.useCallback(()=>h(x=>!x),[h]),children:e.jsx(_.div,{"data-state":se(d),"data-disabled":n?"":void 0,...l,ref:s})})});De.displayName=U;var Le="CollapsibleTrigger",Be=c.forwardRef((r,s)=>{const{__scopeCollapsible:a,...o}=r,t=oe(Le,a);return e.jsx(_.button,{type:"button","aria-controls":t.contentId,"aria-expanded":t.open||!1,"data-state":se(t.open),"data-disabled":t.disabled?"":void 0,disabled:t.disabled,...o,ref:s,onClick:T(r.onClick,t.onOpenToggle)})});Be.displayName=Le;var ne="CollapsibleContent",Ie=c.forwardRef((r,s)=>{const{forceMount:a,...o}=r,t=oe(ne,r.__scopeCollapsible);return e.jsx(re,{present:a||t.open,children:({present:n})=>e.jsx(ya,{...o,ref:s,present:n})})});Ie.displayName=ne;var ya=c.forwardRef((r,s)=>{const{__scopeCollapsible:a,present:o,children:t,...n}=r,i=oe(ne,a),[l,d]=c.useState(o),h=c.useRef(null),x=V(s,h),g=c.useRef(0),u=g.current,m=c.useRef(0),y=m.current,f=i.open||l,v=c.useRef(f),j=c.useRef(void 0);return c.useEffect(()=>{const b=requestAnimationFrame(()=>v.current=!1);return()=>cancelAnimationFrame(b)},[]),dr(()=>{const b=h.current;if(b){j.current=j.current||{transitionDuration:b.style.transitionDuration,animationName:b.style.animationName},b.style.transitionDuration="0s",b.style.animationName="none";const p=b.getBoundingClientRect();g.current=p.height,m.current=p.width,v.current||(b.style.transitionDuration=j.current.transitionDuration,b.style.animationName=j.current.animationName),d(o)}},[i.open,o]),e.jsx(_.div,{"data-state":se(i.open),"data-disabled":i.disabled?"":void 0,id:i.contentId,hidden:!f,...n,ref:x,style:{"--radix-collapsible-content-height":u?`${u}px`:void 0,"--radix-collapsible-content-width":y?`${y}px`:void 0,...r.style},children:f&&t})});function se(r){return r?"open":"closed"}var va=De,Ca=Be,Na=Ie,k="Accordion",wa=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[ie,ja,ka]=Ir(k),[K]=ae(k,[ka,_e]),le=_e(),Oe=N.forwardRef((r,s)=>{const{type:a,...o}=r,t=o,n=o;return e.jsx(ie.Provider,{scope:r.__scopeAccordion,children:a==="multiple"?e.jsx(Ra,{...n,ref:s}):e.jsx(Pa,{...t,ref:s})})});Oe.displayName=k;var[Fe,Sa]=K(k),[Ge,Aa]=K(k,{collapsible:!1}),Pa=N.forwardRef((r,s)=>{const{value:a,defaultValue:o,onValueChange:t=()=>{},collapsible:n=!1,...i}=r,[l,d]=z({prop:a,defaultProp:o??"",onChange:t,caller:k});return e.jsx(Fe,{scope:r.__scopeAccordion,value:N.useMemo(()=>l?[l]:[],[l]),onItemOpen:d,onItemClose:N.useCallback(()=>n&&d(""),[n,d]),children:e.jsx(Ge,{scope:r.__scopeAccordion,collapsible:n,children:e.jsx(He,{...i,ref:s})})})}),Ra=N.forwardRef((r,s)=>{const{value:a,defaultValue:o,onValueChange:t=()=>{},...n}=r,[i,l]=z({prop:a,defaultProp:o??[],onChange:t,caller:k}),d=N.useCallback(x=>l((g=[])=>[...g,x]),[l]),h=N.useCallback(x=>l((g=[])=>g.filter(u=>u!==x)),[l]);return e.jsx(Fe,{scope:r.__scopeAccordion,value:i,onItemOpen:d,onItemClose:h,children:e.jsx(Ge,{scope:r.__scopeAccordion,collapsible:!0,children:e.jsx(He,{...n,ref:s})})})}),[Ma,Z]=K(k),He=N.forwardRef((r,s)=>{const{__scopeAccordion:a,disabled:o,dir:t,orientation:n="vertical",...i}=r,l=N.useRef(null),d=V(l,s),h=ja(a),g=Or(t)==="ltr",u=T(r.onKeyDown,m=>{if(!wa.includes(m.key))return;const y=m.target,f=h().filter(P=>!P.ref.current?.disabled),v=f.findIndex(P=>P.ref.current===y),j=f.length;if(v===-1)return;m.preventDefault();let b=v;const p=0,w=j-1,A=()=>{b=v+1,b>w&&(b=p)},I=()=>{b=v-1,b<p&&(b=w)};switch(m.key){case"Home":b=p;break;case"End":b=w;break;case"ArrowRight":n==="horizontal"&&(g?A():I());break;case"ArrowDown":n==="vertical"&&A();break;case"ArrowLeft":n==="horizontal"&&(g?I():A());break;case"ArrowUp":n==="vertical"&&I();break}const D=b%j;f[D].ref.current?.focus()});return e.jsx(Ma,{scope:a,disabled:o,direction:t,orientation:n,children:e.jsx(ie.Slot,{scope:a,children:e.jsx(_.div,{...i,"data-orientation":n,ref:d,onKeyDown:o?void 0:u})})})}),W="AccordionItem",[Ea,de]=K(W),qe=N.forwardRef((r,s)=>{const{__scopeAccordion:a,value:o,...t}=r,n=Z(W,a),i=Sa(W,a),l=le(a),d=ee(),h=o&&i.value.includes(o)||!1,x=n.disabled||r.disabled;return e.jsx(Ea,{scope:a,open:h,disabled:x,triggerId:d,children:e.jsx(va,{"data-orientation":n.orientation,"data-state":Je(h),...l,...t,ref:s,disabled:x,open:h,onOpenChange:g=>{g?i.onItemOpen(o):i.onItemClose(o)}})})});qe.displayName=W;var $e="AccordionHeader",We=N.forwardRef((r,s)=>{const{__scopeAccordion:a,...o}=r,t=Z(k,a),n=de($e,a);return e.jsx(_.h3,{"data-orientation":t.orientation,"data-state":Je(n.open),"data-disabled":n.disabled?"":void 0,...o,ref:s})});We.displayName=$e;var X="AccordionTrigger",ze=N.forwardRef((r,s)=>{const{__scopeAccordion:a,...o}=r,t=Z(k,a),n=de(X,a),i=Aa(X,a),l=le(a);return e.jsx(ie.ItemSlot,{scope:a,children:e.jsx(Ca,{"aria-disabled":n.open&&!i.collapsible||void 0,"data-orientation":t.orientation,id:n.triggerId,...l,...o,ref:s})})});ze.displayName=X;var Ve="AccordionContent",Ye=N.forwardRef((r,s)=>{const{__scopeAccordion:a,...o}=r,t=Z(k,a),n=de(Ve,a),i=le(a);return e.jsx(Na,{role:"region","aria-labelledby":n.triggerId,"data-orientation":t.orientation,...i,...o,ref:s,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...r.style}})});Ye.displayName=Ve;function Je(r){return r?"open":"closed"}var Ta=Oe,_a=qe,Da=We,Ue=ze,Ke=Ye;
2const La=Ta,Ze=c.forwardRef(({className:r,...s},a)=>e.jsx(_a,{ref:a,className:Y("border-b",r),...s}));Ze.displayName="AccordionItem";const Qe=c.forwardRef(({className:r,children:s,...a},o)=>e.jsx(Da,{className:"flex",children:e.jsxs(Ue,{ref:o,className:Y("flex flex-1 items-center justify-between py-4 text-sm font-medium cursor-pointer transition-all hover:underline text-left [&[data-state=open]>svg]:rotate-180",r),...a,children:[s,e.jsx(Fr,{className:"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200"})]})}));Qe.displayName=Ue.displayName;const Xe=c.forwardRef(({className:r,children:s,...a},o)=>e.jsx(Ke,{ref:o,className:"overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...a,children:e.jsx("div",{className:Y("pb-4 pt-0",r),children:s})}));Xe.displayName=Ke.displayName;const O={artist:{label:"Artist",icon:Hr,headline:"Distribute. Get paid. Grow your audience.",blurb:"Unlimited releases to 200+ stores, 100% royalty share on paid plans, and pre-save campaigns built in.",cta:"Create Artist Account",bullets:["Audio + video distribution","Pre-save & smart links","Pro analytics","Splits with collaborators"],fields:[{name:"artistName",label:"Artist / Stage Name",required:!0,placeholder:"e.g. KAIRO"},{name:"artistType",label:"Artist Type",type:"select",required:!0,placeholder:"Are you a human or AI artist?",options:["Human Artist","AI Artist"]},{name:"username",label:"Username",required:!0,placeholder:"yourusername"},{name:"email",label:"Email",type:"email",required:!0,placeholder:"[email protected]"},{name:"password",label:"Password",type:"password",required:!0,placeholder:"8+ characters"}],pricing:{monthly:2.99,yearly:24.99}},label:{label:"Label",icon:he,headline:"Run your roster from one dashboard.",blurb:"Bulk uploads, splits, Vevo channel setup, dedicated A&R support, and custom analytics exports.",cta:"Create Label Account",bullets:["Unlimited artists","Bulk uploads & splits","Vevo channel setup","Custom analytics export"],fields:[{name:"labelName",label:"Label Name",required:!0,placeholder:"Your label"},{name:"contactName",label:"Primary Contact",required:!0,placeholder:"Full name"},{name:"username",label:"Username",required:!0,placeholder:"yourlabel"},{name:"email",label:"Business Email",type:"email",required:!0,placeholder:"[email protected]"},{name:"password",label:"Password",type:"password",required:!0,placeholder:"8+ characters"}],pricing:{monthly:8.99,yearly:79.99}},producer:{label:"Producer",icon:Gr,headline:"Sell beats. Connect with artists.",blurb:"Unlimited uploads, your own marketplace storefront, direct chat with artists, and 100% of every sale.",cta:"Create Producer Account",bullets:["Unlimited beat uploads","Set your own prices","Marketplace storefront","Direct chat with artists"],fields:[{name:"producerName",label:"Producer Name",required:!0,placeholder:"Your producer tag"},{name:"username",label:"Username",required:!0,placeholder:"yourtag"},{name:"email",label:"Email",type:"email",required:!0,placeholder:"[email protected]"},{name:"password",label:"Password",type:"password",required:!0,placeholder:"8+ characters"}],pricing:{monthly:2.49,yearly:19.99}},dj:{label:"DJ",icon:he,headline:"Spin sets. Build a following. Get bookings.",blurb:"Upload mixes, host live sets, access the in-app turntable mixer, and connect with promoters and venues.",cta:"Create DJ Account",bullets:["Unlimited mix uploads","Live turntable mixer","Booking inbox & EPK","Pull from artist library"],fields:[{name:"djName",label:"DJ Name",required:!0,placeholder:"e.g. DJ KAIRO"},{name:"username",label:"Username",required:!0,placeholder:"djyourname"},{name:"email",label:"Email",type:"email",required:!0,placeholder:"[email protected]"},{name:"password",label:"Password",type:"password",required:!0,placeholder:"8+ characters"}],pricing:{monthly:3.99,yearly:34.99}},podcaster:{label:"Podcaster",icon:pr,headline:"Host your show. Grow your audience.",blurb:"Distribute episodes everywhere, run video podcasts, monetize with subscriptions, and grow with built-in analytics.",cta:"Create Podcaster Account",bullets:["Audio + video episodes","Distribution to major apps","Listener subscriptions","Episode analytics"],fields:[{name:"showName",label:"Show Name",required:!0,placeholder:"Your podcast title"},{name:"hostName",label:"Host Name",required:!0,placeholder:"Full name"},{name:"username",label:"Username",required:!0,placeholder:"yourshow"},{name:"email",label:"Email",type:"email",required:!0,placeholder:"[email protected]"},{name:"password",label:"Password",type:"password",required:!0,placeholder:"8+ characters"}],pricing:{monthly:2.99,yearly:29.99}},fan:{label:"Fan",icon:mr,headline:"Discover, follow, and support indie artists.",blurb:"Free forever — build playlists, follow artists, get release alerts. Upgrade to Fan+ for early drops and DMs.",cta:"Create Fan Account",bullets:["Follow artists & get alerts","Build & share playlists","Like, comment, repost","Optional Fan+ perks"],fields:[{name:"displayName",label:"Display Name",required:!0,placeholder:"What should artists see?"},{name:"username",label:"Username",required:!0,placeholder:"yourusername"},{name:"email",label:"Email",type:"email",required:!0,placeholder:"[email protected]"},{name:"password",label:"Password",type:"password",required:!0,placeholder:"8+ characters"}],pricing:{monthly:4.99,yearly:49.99}},advertiser:{label:"Advertiser",icon:ur,headline:"Put your business in front of the whole platform.",blurb:"Any business can advertise on MO STREAMS — audio spots between songs, video pre-roll, podcast inserts and banners. Start a 7-day free trial and run it yourself from the advertiser dashboard.",cta:"Create Advertiser Account",bullets:["Self-serve campaign builder","Audio, video & podcast placements","Geo + genre targeting","Click map, PDF & CSV reports"],fields:[{name:"companyName",label:"Business N
2ame",required:!0,placeholder:"Your business"},{name:"contactName",label:"Contact Name",required:!0,placeholder:"Full name"},{name:"website",label:"Website",placeholder:"https://yourbusiness.com"},{name:"username",label:"Username",required:!0,placeholder:"yourbusiness"},{name:"email",label:"Business Email",type:"email",required:!0,placeholder:"[email protected]"},{name:"password",label:"Password",type:"password",required:!0,placeholder:"8+ characters"}],pricing:{monthly:49,yearly:499}}};function Ba({placeholder:r,required:s}){const[a,o]=c.useState(""),[t,n]=c.useState({kind:"idle"}),i=yr(jr);c.useEffect(()=>{const d=a.trim();if(!d){n({kind:"idle"});return}n({kind:"checking"});const h=window.setTimeout(async()=>{try{const x=await i({data:{handle:d}});x.available?n({kind:"ok",normalized:x.normalized}):n({kind:"bad",reason:x.reason??"Username unavailable"})}catch{n({kind:"bad",reason:"Could not check username — try again."})}},400);return()=>window.clearTimeout(h)},[a,i]);const l=t.kind==="bad"?"border-destructive focus:border-destructive":t.kind==="ok"?"border-emerald-500/60 focus:border-emerald-500":"border-border focus:border-primary";return e.jsxs("div",{className:"mt-2",children:[e.jsxs("div",{className:"relative",children:[e.jsx("span",{className:"absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground text-sm",children:"@"}),e.jsx("input",{name:"username",type:"text",autoComplete:"username",required:s,placeholder:r,value:a,onChange:d=>o(d.target.value.replace(/^@/,"").toLowerCase().replace(/[^a-z0-9_]/g,"").slice(0,24)),maxLength:24,"aria-invalid":t.kind==="bad",className:`w-full rounded-lg bg-background border pl-7 pr-4 py-3 text-sm focus:outline-none ${l}`})]}),e.jsxs("p",{className:t.kind==="bad"?"mt-1 text-[11px] text-destructive":t.kind==="ok"?"mt-1 text-[11px] text-emerald-500":"mt-1 text-[11px] text-muted-foreground","aria-live":"polite",children:[t.kind==="checking"&&"Checking availability…",t.kind==="ok"&&`@${t.normalized} is available.`,t.kind==="bad"&&t.reason,t.kind==="idle"&&"3–24 chars: a–z, 0–9, underscore."]})]})}const Ia=[{q:"Is there a free trial?",a:"Yes. Artist, Label, and Producer plans include a 7-day free trial — cancel any time before it ends and you pay nothing. The Fan plan is free forever; Fan+ has no trial because the base tier is already free."},{q:"Do you take a cut of my royalties?",a:"We pay out 100% of your streaming royalties for life across most streams on every plan, including the free Starter tier."},{q:"Which stores and platforms do you deliver to?",a:"200+ stores and streaming platforms including Spotify, Apple Music, Amazon Music, YouTube Music, Tidal, Deezer, Pandora, TikTok, Instagram/Facebook, and more."},{q:"Can I switch account types later?",a:"Yes. You can add an Artist, Label, or Producer profile to a Fan account at any time, and labels can invite their existing artists to link their accounts."},{q:"How fast do releases go live?",a:"Typical delivery is 24–72 hours after approval. We recommend submitting at least 2–3 weeks before your release date so pre-saves and editorial pitches have time to land."},{q:"How do payouts work?",a:"Royalties are paid monthly via direct deposit, PayPal, or wire once you hit the $10 minimum. Producers selling beats are paid out daily."},{q:"Do I need to be 18 to sign up?",a:"Artists, Labels, and Producers must be 18+ or have a parent/guardian co-sign. Fans must be 13+ in line with platform policies."}];function gt(){const{role:r,redirect:s}=cr.useSearch(),[a,o]=c.useState(r??"artist");return e.jsxs(Nr,{eyebrow:"Sign Up",title:"Join",highlight:"MO STREAMS.",intro:"Pick the account that fits how you move. Switch or add roles any time.",children:[e.jsx("section",{className:"py-16 md:py-24",children:e.jsxs("div",{className:"max-w-6xl mx-auto px-6",children:[e.jsxs(kr,{value:a,onValueChange:t=>o(t),children:[e.jsx(Sr,{className:"grid grid-cols-2 md:grid-cols-4 lg:grid-cols-7 w-full h-auto p-1 bg-card/60 border border-border rounded-2xl",children:Object.keys(O).map(t=>{const n=O[t].icon;return e.jsxs(Ar,{value:t,className:"h-14 px-1 text-[11px] md:text-xs font-bold tracking-wider up
2percase data-[state=active]:btn-gradient data-[state=active]:text-primary-foreground rounded-xl gap-1.5",children:[e.jsx(n,{className:"w-4 h-4"}),O[t].label]},t)})}),Object.keys(O).map(t=>e.jsx(Pr,{value:t,className:"mt-10",children:e.jsx(Oa,{roleKey:t,redirectTo:s})},t))]}),e.jsxs("p",{className:"mt-8 text-center text-sm text-muted-foreground",children:["Already have an account?"," ",e.jsx(L,{to:"/login",search:{redirect:s},className:"text-primary hover:underline font-semibold",children:"Log in"})]}),e.jsxs("p",{className:"mt-3 text-center text-sm text-muted-foreground",children:["Advertiser plans start at $49/mo with a 7-day free trial —"," ",e.jsx(L,{to:"/advertise",className:"text-primary hover:underline font-semibold",children:"see ad rates & placements"})]})]})}),e.jsx("section",{className:"py-20 md:py-28 bg-card/30 border-y border-border",children:e.jsxs("div",{className:"max-w-4xl mx-auto px-6",children:[e.jsxs("div",{className:"text-center mb-12",children:[e.jsx("div",{className:"text-primary font-bold tracking-wider text-xs uppercase mb-3",children:"FAQ"}),e.jsxs("h2",{className:"font-display text-4xl md:text-5xl",children:["Questions, ",e.jsx("span",{className:"headline-gradient",children:"answered."})]})]}),e.jsx(La,{type:"single",collapsible:!0,className:"space-y-3",children:Ia.map((t,n)=>e.jsxs(Ze,{value:`faq-${n}`,className:"rounded-2xl border border-border bg-background px-6",children:[e.jsx(Qe,{className:"text-left font-semibold text-base hover:no-underline",children:t.q}),e.jsx(Xe,{className:"text-muted-foreground leading-relaxed",children:t.a})]},t.q))})]})}),e.jsx("p",{className:"text-[10px] uppercase tracking-[0.2em] text-muted-foreground/60 text-center pb-8",children:e.jsx(L,{to:"/merch",className:"text-primary hover:underline",children:"POWERED BY MOUND CITY & MO RECORDS THE LABEL"})})]})}function Oa({roleKey:r,redirectTo:s}){const a=O[r],[o,t]=c.useState("info"),[n,i]=c.useState("yearly"),[l,d]=c.useState(!1);hr();const h=a.icon,[x,g]=c.useState(null);return c.useEffect(()=>{const u=new Date,m=new Date(u.getTime()+10080*60*1e3),y=new Date(u.getTime()+8640*60*1e3),f=v=>v.toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"});g({trialEnd:f(m),cancelBy:f(y)})},[]),o==="done"?e.jsxs("div",{className:"rounded-3xl border border-border bg-card p-12 text-center",children:[e.jsx(xr,{className:"w-14 h-14 text-primary mx-auto mb-4"}),e.jsx("h3",{className:"font-display text-3xl",children:"You're in."}),e.jsxs("p",{className:"mt-3 text-muted-foreground max-w-md mx-auto",children:["Your 7-day free trial has started. ",e.jsx("span",{className:"text-foreground font-semibold",children:"$0.00 was charged today."})," ","Your card will be billed on ",e.jsx("span",{className:"text-primary font-semibold",children:x?.trialEnd??"—"})," unless you cancel by ",e.jsx("span",{className:"text-primary font-semibold",children:x?.cancelBy??"—"}),"."]}),e.jsxs("p",{className:"mt-3 text-xs text-muted-foreground max-w-md mx-auto",children:["Check your email to verify your ",a.label.toLowerCase()," account and finish setup."]})]}):o==="card"?e.jsx(Fa,{role:a,billing:n,setBilling:i,trialEnd:x?.trialEnd??"",cancelBy:x?.cancelBy??"",onBack:()=>t("info"),onComplete:()=>t("done")}):e.jsxs("div",{className:"grid lg:grid-cols-5 gap-8",children:[e.jsxs("aside",{className:"lg:col-span-2 rounded-3xl border border-border bg-card p-8",children:[e.jsxs("div",{className:"inline-flex items-center gap-2 px-3 py-1 rounded-full bg-primary/10 border border-primary/30 text-primary text-xs font-bold tracking-wider uppercase",children:[e.jsx(h,{className:"w-3.5 h-3.5"}),a.label]}),e.jsx("h3",{className:"mt-5 font-display text-3xl leading-tight",children:a.headline}),e.jsx("p",{className:"mt-3 text-sm text-muted-foreground leading-relaxed",children:a.blurb}),e.jsx("ul",{className:"mt-6 space-y-3 text-sm",children:a.bullets.map(u=>e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx("span",{className:"text-primary mt-0.5",children:"✓"})," ",u]},u))}),e.jsxs("div",{className:"mt-6 rounded-2xl border border-primary/30 bg-primary/5 p-4",children:[e.jsxs("div",{className:"flex items-center gap-2 text-primary text-xs font-bold tracking-wider up
2percase",children:[e.jsx(Q,{className:"w-4 h-4"})," 7-Day Free Trial"]}),e.jsxs("p",{className:"mt-2 text-xs text-muted-foreground leading-relaxed",children:["$0.00 due today. We'll ask for a card on the next step to hold your spot. Cancel any time before"," ",e.jsx("span",{className:"text-foreground font-semibold",children:x?.cancelBy??"—"})," and you won't be charged."]})]}),e.jsxs("div",{className:"mt-4 rounded-2xl border border-border bg-background/60 p-4",children:[e.jsx("div",{className:"text-xs font-bold tracking-wider uppercase text-muted-foreground",children:"Price after your 7-day trial"}),e.jsxs("div",{className:"mt-3 grid grid-cols-2 gap-3",children:[e.jsxs("button",{type:"button",onClick:()=>i("monthly"),"aria-pressed":n==="monthly",className:`text-left rounded-xl border p-3 transition-colors ${n==="monthly"?"border-primary bg-primary/10":"border-border bg-card hover:border-primary/40"}`,children:[e.jsx("div",{className:`text-[10px] font-bold tracking-wider uppercase ${n==="monthly"?"text-primary":"text-muted-foreground"}`,children:"Monthly"}),e.jsxs("div",{className:"mt-1 flex items-baseline gap-1",children:[e.jsxs("span",{className:"font-display text-2xl",children:["$",a.pricing.monthly.toFixed(2)]}),e.jsx("span",{className:"text-[10px] text-muted-foreground",children:"/ mo"})]})]}),e.jsxs("button",{type:"button",onClick:()=>i("yearly"),"aria-pressed":n==="yearly",className:`relative text-left rounded-xl border p-3 transition-colors ${n==="yearly"?"border-primary bg-primary/10":"border-border bg-card hover:border-primary/40"}`,children:[e.jsxs("span",{className:"absolute -top-2 right-2 px-1.5 py-0.5 rounded-full btn-gradient text-[8px] font-bold tracking-wider uppercase",children:["Save $",(a.pricing.monthly*12-a.pricing.yearly).toFixed(2)]}),e.jsx("div",{className:"text-[10px] font-bold tracking-wider uppercase text-primary",children:"Yearly"}),e.jsxs("div",{className:"mt-1 flex items-baseline gap-1",children:[e.jsxs("span",{className:"font-display text-2xl",children:["$",a.pricing.yearly.toFixed(2)]}),e.jsx("span",{className:"text-[10px] text-muted-foreground",children:"/ yr"})]}),e.jsxs("div",{className:"mt-1 text-[10px] text-muted-foreground",children:["≈ $",(a.pricing.yearly/12).toFixed(2),"/mo"]})]})]}),e.jsx("p",{className:"mt-3 text-[11px] text-muted-foreground leading-relaxed",children:"Tap a plan to pick it now — you can change it again on the next step."})]}),e.jsxs("div",{className:"mt-4 rounded-2xl border border-primary/30 bg-background/60 p-4",children:[e.jsxs("div",{className:"flex items-center gap-2 text-primary text-xs font-bold tracking-wider uppercase",children:[e.jsx(xe,{className:"w-4 h-4"})," Secure Your Wallet First"]}),e.jsxs("p",{className:"mt-2 text-xs text-muted-foreground leading-relaxed",children:["Before your 7-day free trial begins, you must ",e.jsx("span",{className:"text-foreground font-semibold",children:"fund your own MO STREAMS wallet"})," with your personal credit card or bank info. This hold confirms you want to move forward after the trial."]}),e.jsxs("ul",{className:"mt-3 space-y-2 text-[11px] text-muted-foreground",children:[e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(qr,{className:"w-3.5 h-3.5 text-primary mt-0.5 shrink-0"}),e.jsxs("span",{children:[e.jsx("span",{className:"text-foreground font-semibold",children:"We never see your card or bank information."})," Your wallet is funded directly through our secure processor."]})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(xe,{className:"w-3.5 h-3.5 text-primary mt-0.5 shrink-0"}),e.jsxs("span",{children:["After the trial, if you continue, the subscription fee is ",e.jsx("span",{className:"text-foreground font-semibold",children:"deducted automatically from your wallet"})," — viewable any time in your dashboard."]})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(Q,{className:"w-3.5 h-3.5 text-primary mt-0.5 shrink-0"}),e.jsxs("span",{children:["Not moving forward? ",e.jsx("span",{className:"text-foreground font-semibold",children:"Cancel your wallet the day before"})," your trial ends (",e.jsx("span",{className:"text-foreground font-semibold",children:x?.cancelBy??"—"}),") and nothing will be taken."]})]})]})]}),e.jsxs(L,{to:"/pricing",className:"mt-6 inline-block text-xs font-bold tracking-wider up
2percase text-primary hover:underline",children:["See ",a.label.toLowerCase()," pricing →"]})]}),e.jsxs("form",{className:"lg:col-span-3 rounded-3xl border border-border bg-card p-8 space-y-5",onSubmit:async u=>{if(u.preventDefault(),l)return;const m=new FormData(u.currentTarget),y=String(m.get("email")??""),f=String(m.get("password")??""),v=String(m.get("username")??"").trim(),j=String(m.get("artistName")??m.get("labelName")??m.get("producerName")??m.get("djName")??m.get("showName")??m.get("displayName")??"")||y.split("@")[0],b=String(m.get("genre")??m.get("style")??m.get("favoriteGenre")??""),p=String(m.get("country")??""),w=String(m.get("country_code")??"").toUpperCase(),A=String(m.get("state")??"").trim(),I=String(m.get("city")??"").trim();let D=[];if(r==="fan"){try{const S=String(m.get("preferred_genres")??"[]"),C=JSON.parse(S);Array.isArray(C)&&(D=C.filter(R=>typeof R=="string"))}catch{D=[]}if(D.length===0){M.error("Pick at least one genre you want to hear.");return}}let P=[];if(r==="label"){try{const C=String(m.get("label_roster")??"[]"),R=JSON.parse(C);Array.isArray(R)&&(P=R)}catch{P=[]}const S=P.some(C=>!C.name?.trim()||!C.genre?.trim());if(P.length===0||S){M.error("Add each artist's name and genre before continuing.");return}}if(d(!0),!v){M.error("Pick a username."),d(!1);return}let ce=v;try{const{checkUsernameAvailable:S}=await fe(async()=>{const{checkUsernameAvailable:R}=await import("./account-lookup.functions-BcNhRuS2.js");return{checkUsernameAvailable:R}},__vite__mapDeps([0,1,2])),C=await S({data:{handle:v}});if(!C.available){M.error(C.reason??"That username is already taken."),d(!1);return}ce=C.normalized}catch{M.error("Could not verify username. Please try again."),d(!1);return}const G=r==="fan"?String(m.get("redeem_code")??"").toUpperCase().trim():"";G&&Ur(G);const er=new Set(["email","password","username","country","country_code","state","city","preferred_genres","redeem_code","label_roster"]),ue={};for(const[S,C]of m.entries()){if(er.has(S)||typeof C!="string")continue;const R=C.trim();R&&(ue[S]=R.slice(0,500))}const{error:me}=await gr.auth.signUp({email:y,password:f,options:{emailRedirectTo:`${window.location.origin}${s??"/dashboard"}`,data:{role:r,display_name:j,handle:ce,genre:b,country:p,country_code:w,state:A,city:I,preferred_genres:D,artist_type:r==="artist"?String(m.get("artistType")??""):void 0,label_name:r==="label"?String(m.get("labelName")??""):void 0,label_type:r==="label"?String(m.get("labelType")??""):void 0,label_phone:r==="label"?String(m.get("phone")??""):void 0,label_year_founded:r==="label"?String(m.get("yearFounded")??""):void 0,label_website:r==="label"?String(m.get("website")??""):void 0,label_primary_genre:r==="label"?String(m.get("primaryGenre")??""):void 0,label_roster:r==="label"?P:void 0,role_profile:ue}}});if(d(!1),me){M.error(me.message);return}if(M.success("Please check your email to verify your account."),G){const S=r==="fan"?"/signup/check-email":"/signup/pending";window.location.assign(`${S}?role=${r}&code=${encodeURIComponent(G)}`);return}const pe=s??(r==="advertiser"?"/advertiser/dashboard":void 0);window.location.assign(`/signup/trial-hold?role=${r}${pe?`&next=${encodeURIComponent(pe)}`:""}`)},children:[e.jsxs(q,{type:"button",onClick:async()=>{try{localStorage.setItem("pending_signup_role",r),(await Cr.auth.signInWithOAuth("google",{redirect_uri:window.location.origin+(s??"/dashboard")})).error&&M.error("Google sign-up failed. Please try again.")}catch{M.error("Google sign-up failed. Please try again.")}},variant:"outline",className:"w-full rounded-full h-12 text-xs font-bold tracking-wider uppercase gap-2 bg-background",children:[e.jsxs("svg",{className:"w-4 h-4",viewBox:"0 0 24 24","aria-hidden":"true",children:[e.jsx("path",{fill:"#4285F4",d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z"}),e.jsx("path",{fill:"#34A853",d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.99.66-2.26 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"}),e.jsx("path",{fill:"#FBBC05",d:"M5.84 14.1c-.22-.66-.35-1.36-.35-2.1s.13-1.44.35-2.1V7.07H2.18A10.99 10.99 0 0 0 1 12c0 1.77.42 3.45 1.18 4.93l3.66-2.83z"}),e.jsx("path",{fill:"#EA4335",d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.83C6.71 7.31 9.14 5.38 12 5.38z"})]}),"Continue with Google"]}),e.jsxs("div",{className:"flex items-center gap-3 my-2",children:[e.jsx("div",{className:"h-px flex-1 bg-border"}),e.jsx("span",{className:"text-[10px] font-bold tracking-wider up
2percase text-muted-foreground",children:"or sign up with email"}),e.jsx("div",{className:"h-px flex-1 bg-border"})]}),e.jsxs("div",{className:"grid sm:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"sm:col-span-2 rounded-lg border border-primary/30 bg-primary/5 px-4 py-3",children:[e.jsx("p",{className:"text-[11px] font-bold tracking-wider uppercase text-primary",children:"Important — Your Profile Name"}),e.jsxs("p",{className:"mt-1 text-xs text-muted-foreground leading-relaxed",children:[r==="artist"&&"Your profile name will be your Artist / Stage Name. This is the name shown on every track, video, release, comment, and share across MO Streams. Choose it carefully — it represents you everywhere on the platform.",r==="label"&&"Your profile name will be your Label Name. This is the name shown on every release, roster page, video, comment, and share across MO Streams.",r==="producer"&&"Your profile name will be your Producer Name / tag. This is the name shown on every beat, sale, comment, and share across MO Streams.",r==="dj"&&"Your profile name will be your DJ Name. This is the name shown on every mix, live set, booking page, comment, and share across MO Streams.",r==="podcaster"&&"Your profile name will be your Show Name. This is the name shown on every episode, comment, and share across MO Streams.",r==="fan"&&"Your profile name will be your Display Name. This is what artists and other fans see on your comments, follows, and playlists."]})]}),a.fields.map(u=>e.jsxs("div",{className:u.name==="password"||u.name==="email"?"sm:col-span-2":"",children:[e.jsxs("label",{className:"text-xs font-bold tracking-wider uppercase",children:[u.label," ",u.required&&e.jsx("span",{className:"text-primary",children:"*"})]}),u.type==="select"&&u.options?e.jsxs("select",{name:u.name,required:u.required,defaultValue:"",className:"mt-2 w-full rounded-lg bg-background border border-border px-4 py-3 text-sm focus:outline-none focus:border-primary",children:[e.jsx("option",{value:"",disabled:!0,children:u.placeholder??"Select an option"}),u.options.map(m=>e.jsx("option",{value:m,children:m},m))]}):u.type==="password"?e.jsx(wr,{name:u.name,required:u.required,placeholder:u.placeholder,maxLength:255,wrapperClassName:"mt-2",className:"w-full rounded-lg bg-background border border-border px-4 py-3 text-sm focus:outline-none focus:border-primary"}):u.name==="username"?e.jsx(Ba,{placeholder:u.placeholder,required:u.required}):e.jsx("input",{name:u.name,type:u.type??"text",required:u.required,placeholder:u.placeholder,maxLength:255,className:"mt-2 w-full rounded-lg bg-background border border-border px-4 py-3 text-sm focus:outline-none focus:border-primary"})]},u.name)),e.jsx(Ga,{})]}
2),r==="fan"&&e.jsx(Ha,{}),r==="fan"&&e.jsx(qa,{}),r==="label"&&e.jsx($a,{}),e.jsxs("label",{className:"flex items-start gap-2 text-xs text-muted-foreground",children:[e.jsx("input",{type:"checkbox",required:!0,className:"mt-0.5 accent-primary"}),e.jsxs("span",{children:["I agree to the"," ",e.jsx(L,{to:"/terms",className:"text-primary hover:underline",children:"Terms"})," ","and"," ",e.jsx(L,{to:"/privacy",className:"text-primary hover:underline",children:"Privacy Policy"}),"."]})]}),e.jsx(q,{type:"submit",disabled:l,className:"btn-gradient w-full rounded-full h-12 text-xs font-bold tracking-wider uppercase",children:l?"Creating account…":`Create ${a.label} Account`}),e.jsx("p",{className:"text-center text-[11px] text-muted-foreground",children:"Free to start · No card required to create your account."})]})]})}function Fa({role:r,billing:s,setBilling:a,trialEnd:o,cancelBy:t,onBack:n,onComplete:i}){const d=`$${r.pricing[s].toFixed(2)}`,h=s==="monthly"?"/ month":"/ year",x=r.pricing.yearly/12,g=r.pricing.monthly*12-r.pricing.yearly;return e.jsxs("div",{className:"grid lg:grid-cols-5 gap-8",children:[e.jsxs("aside",{className:"lg:col-span-2 rounded-3xl border border-primary/40 bg-card p-8",style:{boxShadow:"var(--glow-orange)"},children:[e.jsxs("div",{className:"inline-flex items-center gap-2 px-3 py-1 rounded-full bg-primary/10 border border-primary/30 text-primary text-xs font-bold tracking-wider uppercase",children:[e.jsx(Q,{className:"w-3.5 h-3.5"})," 7-Day Free Trial"]}),e.jsxs("h3",{className:"mt-5 font-display text-3xl leading-tight",children:["$0.00 ",e.jsx("span",{className:"text-muted-foreground text-xl",children:"due today"})]}),e.jsxs("p",{className:"mt-3 text-sm text-muted-foreground leading-relaxed",children:["We'll keep your card on file but ",e.jsx("span",{className:"text-foreground font-semibold",children:"won't charge it"})," until your trial ends."]}),e.jsxs("div",{className:"mt-6 space-y-3 text-sm rounded-2xl border border-border bg-background/60 p-5",children:[e.jsx(H,{label:"Today",value:"$0.00",strong:!0}),e.jsx(H,{label:"Trial ends",value:o}),e.jsx(H,{label:"Cancel by",value:t,accent:!0}),e.jsx("div",{className:"border-t border-border pt-3",children:e.jsx(H,{label:`First charge (${s})`,value:`${d} ${h}`,accent:!0,hint:s==="yearly"?`Just $${x.toFixed(2)}/mo when billed yearly`:`Or save $${g.toFixed(2)}/yr by switching to yearly`})})]}),e.jsxs("div",{className:"mt-6 rounded-2xl border border-border bg-background/60 p-4 flex items-start gap-3",children:[e.jsx(br,{className:"w-5 h-5 text-primary mt-0.5 shrink-0"}),e.jsxs("p",{className:"text-xs text-muted-foreground leading-relaxed",children:[e.jsxs("span",{className:"text-foreground font-semibold",children:["Cancel any time before ",t]})," from your dashboard and you will not be charged a dime. Cancel after that and the ",s==="monthly"?"monthly":"yearly"," fee will apply."]})]})]}),e.jsxs("form",{className:"lg:col-span-3 rounded-3xl border border-border bg-card p-8 space-y-5",onSubmit:u=>{u.preventDefault(),i()},children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("div",{className:"text-xs font-bold tracking-wider uppercase text-primary",children:"Step 2 of 2"}),e.jsx("h4",{className:"font-display text-2xl mt-1",children:"Keep a card on file"})]}),e.jsxs("div",{className:"inline-flex items-center gap-1 text-xs text-muted-foreground",children:[e.jsx(fr,{className:"w-3.5 h-3.5"})," Secure"]})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-baseline justify-between mb-2",children:[e.jsx("div",{className:"text-xs font-bold tracking-wider uppercase",children:"Billing — after your 7-day trial"}),e.jsx("div",{className:"text-[10px] text-muted-foreground",children:"$0 charged today"})]}),e.jsx("div",{className:"grid grid-cols-2 gap-3",children:["monthly","yearly"].map(u=>{const m=u==="yearly",y=r.pricing[u],f=m?"/ year":"/ month",v=m?r.pricing.yearly/12:null;return e.jsxs("button",{type:"button",onClick:()=>a(u),className:`relative rounded-xl border px-4 py-4 text-left transition-colors ${s===u?"border-primary bg-primary/10":"border-border bg-background hover:border-primary/40"}`,children:[m&&g>0&&e.jsxs("span",{className:"absolute -top-2 right-3 px-2 py-0.5 rounded-full btn-gradient text-[9px] font-bold tracking-wider up
2percase",children:["Save $",g.toFixed(2)]}),e.jsx("div",{className:"font-bold capitalize",children:u}),e.jsxs("div",{className:"mt-1 flex items-baseline gap-1",children:[e.jsxs("span",{className:"font-display text-2xl",children:["$",y.toFixed(2)]}),e.jsx("span",{className:"text-[11px] text-muted-foreground",children:f})]}),e.jsx("div",{className:"text-[11px] text-muted-foreground mt-1",children:m?`Just $${v.toFixed(2)}/mo billed yearly`:"Pay month to month"})]},u)})}),e.jsxs("p",{className:"mt-2 text-[11px] text-muted-foreground",children:["You picked ",e.jsx("span",{className:"text-foreground font-semibold",children:s})," — on ",o," we will charge"," ",e.jsxs("span",{className:"text-primary font-semibold",children:[d," ",h]})," unless you cancel by ",t,"."]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-xs font-bold tracking-wider uppercase",children:["Cardholder Name ",e.jsx("span",{className:"text-primary",children:"*"})]}),e.jsx("input",{name:"cardName",type:"text",required:!0,placeholder:"Name on card",maxLength:120,className:"mt-2 w-full rounded-lg bg-background border border-border px-4 py-3 text-sm focus:outline-none focus:border-primary"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-xs font-bold tracking-wider uppercase",children:["Card Number ",e.jsx("span",{className:"text-primary",children:"*"})]}),e.jsxs("div",{className:"relative mt-2",children:[e.jsx($r,{className:"w-4 h-4 absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground"}),e.jsx("input",{name:"cardNumber",type:"text",inputMode:"numeric",autoComplete:"cc-number",required:!0,placeholder:"1234 1234 1234 1234",maxLength:19,pattern:"[0-9 ]{12,19}",className:"w-full rounded-lg bg-background border border-border pl-10 pr-4 py-3 text-sm focus:outline-none focus:border-primary"})]})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"text-xs font-bold tracking-wider uppercase",children:["Expiry ",e.jsx("span",{className:"text-primary",children:"*"})]}),e.jsx("input",{name:"cardExpiry",type:"text",required:!0,placeholder:"MM / YY",maxLength:7,autoComplete:"cc-exp",className:"mt-2 w-full rounded-lg bg-background border border-border px-4 py-3 text-sm focus:outline-none focus:border-primary"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-xs font-bold tracking-wider uppercase",children:["CVC ",e.jsx("span",{className:"text-primary",children:"*"})]}),e.jsx("input",{name:"cardCvc",type:"text",inputMode:"numeric",required:!0,placeholder:"123",maxLength:4,pattern:"[0-9]{3,4}",autoComplete:"cc-csc",className:"mt-2 w-full rounded-lg bg-background border border-border px-4 py-3 text-sm focus:outline-none focus:border-primary"})]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-xs font-bold tracking-wider uppercase",children:["ZIP / Postal Code ",e.jsx("span",{className:"text-primary",children:"*"})]}),e.jsx("input",{name:"cardZip",type:"text",required:!0,placeholder:"10001",maxLength:12,autoComplete:"postal-code",className:"mt-2 w-full rounded-lg bg-background border border-border px-4 py-3 text-sm focus:outline-none focus:border-primary"})]}),e.jsxs("label",{className:"flex items-start gap-2 text-xs text-muted-foreground",children:[e.jsx("input",{type:"checkbox",required:!0,className:"mt-0.5 accent-primary"}),e.jsxs("span",{children:["I authorize MO STREAMS to keep this card on file and to automatically charge"," ",e.jsxs("span",{className:"text-foreground font-semibold",children:[d," ",h]})," on"," ",e.jsx("span",{className:"text-primary font-semibold",children:o})," if I do not cancel by"," ",e.jsx("span",{className:"text-primary font-semibold",children:t}),"."]})]}),e.jsxs("div",{className:"flex gap-3",children:[e.jsx(q,{type:"button",onClick:n,className:"flex-1 rounded-full h-12 text-xs font-bold tracking-wider uppercase bg-secondary text-secondary-foreground hover:bg-secondary/80",children:"← Back"}),e.jsx(q,{type:"submit",className:"flex-[2] btn-gradient rounded-full h-12 text-xs font-bold tracking-wider uppercase",children:"Start 7-Day Free Trial · $0 Today"})]}),e.jsxs("p",{className:"text-center text-[11px] text-muted-foreground",children:["You will not be charged today. Cancel by ",t," from your dashboard to avoid the ",d," ",r.label.toLowerCase()," ",s," charge."]})]})]})}function H({label:r,value:s,strong:a,accent:o,hint:t}){return e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("span",{className:"text-muted-foreground",children:r}),e.jsx("span",{className:`${a?"font-bold text-foreground":o?"text-primary font-semibold":"text-foreground"}`,children:s})]}),t&&e.jsx("div",{className:"text-[10px] text-muted-foreground mt-0.5",children:t})]})}function Ga(){const[r,s]=c.useState(null);c.useEffect(()=>{let p=!0;return fe(()=>import("./index-Cm1Vkz8y.js"),[]).then(w=>
2{p&&s(w)}),()=>{p=!1}},[]);const a=c.useMemo(()=>r?.Country.getAllCountries()??[],[r]),[o,t]=c.useState(""),[n,i]=c.useState(""),[l,d]=c.useState(""),[h,x]=c.useState(!1),[g,u]=c.useState(""),m=c.useMemo(()=>r&&o?r.State.getStatesOfCountry(o)??[]:[],[r,o]),y=c.useMemo(()=>{if(!o)return[];const p=Yr(o,n);return p.length>0?p.map(A=>({name:A,stateCode:n})):r?(n?r.City.getCitiesOfState(o,n)??[]:r.City.getCitiesOfCountry(o)??[]).slice(0,50):[]},[r,o,n]),f=c.useMemo(()=>{const p=g.trim().toLowerCase();return(p?y.filter(A=>A.name.toLowerCase().includes(p)):y).slice(0,50)},[y,g]),v=c.useMemo(()=>a.find(p=>p.isoCode===o)?.name??"",[a,o]),j=c.useMemo(()=>m.find(p=>p.isoCode===n)?.name??"",[m,n]),b="mt-2 w-full rounded-lg bg-background border border-border px-4 py-3 text-sm focus:outline-none focus:border-primary";return e.jsxs(e.Fragment,{children:[e.jsx("input",{type:"hidden",name:"country",value:v}),e.jsx("input",{type:"hidden",name:"country_code",value:o}),e.jsx("input",{type:"hidden",name:"state",value:j}),e.jsx("input",{type:"hidden",name:"city",value:l,required:!0}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-xs font-bold tracking-wider uppercase",children:["Country ",e.jsx("span",{className:"text-primary",children:"*"})]}),e.jsxs("select",{required:!0,value:o,onChange:p=>{t(p.target.value),i(""),d(""),u("")},className:b,children:[e.jsx("option",{value:"",disabled:!0,children:"Select your country"}),a.map(p=>e.jsx("option",{value:p.isoCode,children:p.name},p.isoCode))]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-xs font-bold tracking-wider uppercase",children:["State / Region ",m.length>0&&e.jsx("span",{className:"text-primary",children:"*"})]}),e.jsxs("select",{required:m.length>0,disabled:!o||m.length===0,value:n,onChange:p=>{i(p.target.value),d(""),u("")},className:`${b} disabled:opacity-50 disabled:cursor-not-allowed`,children:[e.jsx("option",{value:"",disabled:!0,children:o?m.length===0?"No states for this country":"Select your state / region":"Select a country first"}),m.map(p=>e.jsx("option",{value:p.isoCode,children:p.name},p.isoCode))]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"text-xs font-bold tracking-wider uppercase",children:["City ",e.jsx("span",{className:"text-primary",children:"*"})]}),e.jsxs(xa,{open:h,onOpenChange:x,children:[e.jsx(ga,{asChild:!0,children:e.jsxs("button",{type:"button",disabled:!o||m.length>0&&!n,className:`${b} flex items-center justify-between text-left disabled:opacity-50 disabled:cursor-not-allowed`,children:[e.jsx("span",{className:l?"":"text-muted-foreground",children:l||(o?m.length>0&&!n?"Select a state first":"Select your city":"Select a country first")}),e.jsx(Vr,{className:"w-4 h-4 opacity-50 shrink-0"})]})}),e.jsx(Te,{className:"p-0 w-[--radix-popover-trigger-width]",align:"start",children:e.jsxs(Tr,{shouldFilter:!1,children:[e.jsx(_r,{placeholder:"Search city...",value:g,onValueChange:u}),e.jsxs(Dr,{children:[e.jsx(Lr,{children:"No cities found."}),f.map((p,w)=>e.jsxs(Br,{value:`${p.name}-${w}`,onSelect:()=>{d(p.name),x(!1)},children:[e.jsx(vr,{className:`mr-2 h-4 w-4 ${l===p.name?"opacity-100":"opacity-0"}`}),p.name,p.stateCode?e.jsx("span",{className:"ml-2 text-xs text-muted-foreground",children:p.stateCode}):null]},`${p.name}-${p.stateCode}-${w}`)),y.length>f.length&&e.jsxs("div",{className:"px-3 py-2 text-xs text-muted-foreground",children:["Showing first ",f.length," of ",y.length,". Keep typing to narrow."]})]})]})})]})]})]})}function Ha(){const[r,s]=c.useState([]),[a,o]=c.useState(""),t=c.useMemo(()=>{const i=a.trim().toLowerCase();return i?$.filter(l=>l.toLowerCase().includes(i)):$},[a]),n=i=>s(l=>l.includes(i)?l.filter(d=>d!==i):[...l,i]);return e.jsxs("div",{className:"rounded-2xl border border-border bg-background/40 p-5",children:[e.jsx("input",{type:"hidden",name:"preferred_genres",value:JSON.stringify(r)}),e.jsxs("div",{className:"flex items-center justify-between gap-3 flex-wrap",children:[e.jsxs("div",{children:[e.jsxs("div",{className:"text-xs font-bold tracking-wider uppercase",children:["Genres You Want in Your Feed ",e.jsx("span",{className:"text-primary",children:"*"})]}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:"Pick any number — your dashboard will only pull tracks in these genres."})]}),e.jsxs("div",{className:"text-xs font-bold text-primary",children:[r.length," selected"]})]}),e.jsx("input",{type:"text",value:a,onChange:i=>o(i.target.value),placeholder:"Search genres...",className:"mt-3 w-full rounded-lg bg-background border border-border px-4 py-2.5 text-sm focus:outline-none focus:border-primary"}),e.jsxs("div",{className:"mt-3 max-h-64 overflow-y-auto flex flex-wrap gap-2 p-1",children:[t.map(i=>{const l=r.includes(i);return e.jsx("button",{type:"button",onClick:()=>n(i),className:`text-xs px-3 py-1.5 rounded-full border transition ${l?"bg-primary text-primary-foreground border-primary":"bg-background border-border hover:border-primary/60"}`,children:i},i)}),t.length===0&&e.jsxs("div",{className:"text-xs text-muted-foreground px-2 py-3",children:['No genres match "',a,'".']})]})]})}function qa(){const[r,s]=c.useState("WP6VV4J629ED");return e.jsxs("div",{className:"rounded-2xl border-2 border-primary/60 bg-gradient-to-r from-primary/15 via-card to-card p-5 shadow-lg shadow-primary/10",children:[e.jsx("input",{type:"hidden",name:"redeem_code",value:r}),e.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[e.jsx(Wr,{className:"w-4 h-4 text-primary"}
2),e.jsx("div",{className:"text-xs font-bold tracking-wider uppercase text-primary",children:"Fans are FREE until August 30th 🎉"})]}),e.jsxs("p",{className:"text-sm text-foreground mb-3 leading-relaxed",children:["We've pre-filled the launch redeem code ",e.jsx("span",{className:"font-mono font-bold text-primary",children:"WP6VV4J629ED"})," for you — that unlocks your ",e.jsx("span",{className:"font-semibold",children:"free 1-month membership"}),". Just finish signing up below and you're in with ",e.jsx("span",{className:"font-semibold",children:"full songs, no 30-second cutoff, and full commenting"}),"."]}),e.jsx("input",{type:"text",value:r,onChange:a=>s(a.target.value.toUpperCase()),placeholder:"ENTER CODE",maxLength:32,className:"w-full rounded-lg bg-background border-2 border-primary/40 px-4 py-3 text-sm font-mono tracking-widest uppercase focus:outline-none focus:border-primary"}),e.jsx("p",{className:"mt-2 text-[11px] text-muted-foreground",children:"When your free month runs out on Aug 30, we'll ask for a quick star rating and review — that's the only catch."})]})}function $a(){const[r,s]=c.useState(1),[a,o]=c.useState([{name:"",genre:"",secondary_genre:"",email:""}]),t=i=>{const l=Math.max(1,Math.min(100,i||1));s(l),o(d=>l===d.length?d:l>d.length?[...d,...Array.from({length:l-d.length},()=>({name:"",genre:"",secondary_genre:"",email:""}))]:d.slice(0,l))},n=(i,l)=>{o(d=>d.map((h,x)=>x===i?{...h,...l}:h))};return e.jsxs("div",{className:"rounded-2xl border border-border bg-background/40 p-5 space-y-5",children:[e.jsx("input",{type:"hidden",name:"label_roster",value:JSON.stringify(a)}),e.jsx("input",{type:"hidden",name:"roster",value:String(r)}),e.jsxs("div",{children:[e.jsxs("div",{className:"text-xs font-bold tracking-wider uppercase",children:["How many artists does your label distribute? ",e.jsx("span",{className:"text-primary",children:"*"})]}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:"We'll create a profile slot and distribution pipeline for each artist below. You can add more later from your dashboard."}),e.jsx("input",{type:"number",min:1,max:100,value:r,onChange:i=>t(parseInt(i.target.value,10)),className:"mt-3 w-32 rounded-lg bg-background border border-border px-4 py-2.5 text-sm focus:outline-none focus:border-primary"})]}),e.jsx("div",{className:"space-y-4",children:a.map((i,l)=>e.jsxs("div",{className:"rounded-xl border border-border bg-card/60 p-4 space-y-3",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"text-xs font-bold tracking-wider uppercase text-primary",children:["Artist #",l+1]}),a.length>1&&e.jsx("button",{type:"button",onClick:()=>{o(d=>d.filter((h,x)=>x!==l)),s(d=>Math.max(1,d-1))},className:"text-[10px] uppercase tracking-wider text-muted-foreground hover:text-destructive",children:"Remove"})]}),e.jsxs("div",{className:"grid sm:grid-cols-2 gap-3",children:[e.jsxs("div",{children:[e.jsx("label",{className:"text-[10px] font-bold tracking-wider uppercase text-muted-foreground",children:"Artist / Stage Name *"}),e.jsx("input",{type:"text",required:!0,value:i.name,onChange:d=>n(l,{name:d.target.value}),placeholder:"e.g. KAIRO",maxLength:120,className:"mt-1 w-full rounded-lg bg-background border border-border px-3 py-2 text-sm focus:outline-none focus:border-primary"})]}),e.jsxs("div",{children:[e.jsx("label",{className:"text-[10px] font-bold tracking-wider uppercase text-muted-foreground",children:"Primary Genre *"}),e.jsxs("select",{required:!0,value:i.genre,onChange:d=>n(l,{genre:d.target.value}),className:"mt-1 w-full rounded-lg bg-background border border-border px-3 py-2 text-sm focus:outline-none focus:border-primary",children:[e.jsx("option",{value:"",disabled:!0,children:"Select genre"}),$.map(d=>e.jsx("option",{value:d,children:d},d))]})]}),e.jsxs("div",{children:[e.jsx("label",{className:"text-[10px] font-bold tracking-wider uppercase text-muted-foreground",children:"Secondary Genre (optional)"}),e.jsxs("select",{value:i.secondary_genre,onChange:d=>n(l,{secondary_genre:d.target.value}),className:"mt-1 w-full rounded-lg bg-background border border-border px-3 py-2 text-sm focus:outline-none focus:border-primary",children:[e.jsx("option",{value:"",children:"None"}),$.map(d=>e.jsx("option",{value:d,children:d},d))]})]}),e.jsxs("div",{children:[e.jsx("label",{className:"text-[10px] font-bold tracking-wider up
2percase text-muted-foreground",children:"Artist Contact Email (optional)"}),e.jsx("input",{type:"email",value:i.email,onChange:d=>n(l,{email:d.target.value}),placeholder:"[email protected]",maxLength:255,className:"mt-1 w-full rounded-lg bg-background border border-border px-3 py-2 text-sm focus:outline-none focus:border-primary"})]})]})]},l))}),e.jsx("button",{type:"button",onClick:()=>t(r+1),className:"w-full rounded-lg border border-dashed border-border hover:border-primary/60 hover:text-primary py-3 text-xs font-bold tracking-wider uppercase",children:"+ Add Another Artist"})]})}export{gt as component};

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.