PageSourceSearch

https://www.mymotheragency.com/_next/static/chunks/33n3itu9nhc-e.js

js mymotheragency.com collected 2026-10-02 00:07:28 UTC 41,045 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,20333,e=>{"use strict";e.s(["countryCodes",0,[{name:"Afghanistan",dialCode:"+93",code:"AF",flag:"/flags/af.svg"},{name:"Albania",dialCode:"+355",code:"AL",flag:"/flags/al.svg"},{name:"Algeria",dialCode:"+213",code:"DZ",flag:"/flags/dz.svg"},{name:"American Samoa",dialCode:"+1-684",code:"AS",flag:"/flags/as.svg"},{name:"Andorra",dialCode:"+376",code:"AD",flag:"/flags/ad.svg"},{name:"Angola",dialCode:"+244",code:"AO",flag:"/flags/ao.svg"},{name:"Anguilla",dialCode:"+1-264",code:"AI",flag:"/flags/ai.svg"},{name:"Antarctica",dialCode:"+672",code:"AQ",flag:"/flags/aq.svg"},{name:"Antigua and Barbuda",dialCode:"+1-268",code:"AG",flag:"/flags/ag.svg"},{name:"Argentina",dialCode:"+54",code:"AR",flag:"/flags/ar.svg"},{name:"Armenia",dialCode:"+374",code:"AM",flag:"/flags/am.svg"},{name:"Aruba",dialCode:"+297",code:"AW",flag:"/flags/aw.svg"},{name:"Australia",dialCode:"+61",code:"AU",flag:"/flags/au.svg"},{name:"Austria",dialCode:"+43",code:"AT",flag:"/flags/at.svg"},{name:"Azerbaijan",dialCode:"+994",code:"AZ",flag:"/flags/az.svg"},{name:"Bahamas",dialCode:"+1-242",code:"BS",flag:"/flags/bs.svg"},{name:"Bahrain",dialCode:"+973",code:"BH",flag:"/flags/bh.svg"},{name:"Bangladesh",dialCode:"+880",code:"BD",flag:"/flags/bd.svg"},{name:"Barbados",dialCode:"+1-246",code:"BB",flag:"/flags/bb.svg"},{name:"Belarus",dialCode:"+375",code:"BY",flag:"/flags/by.svg"},{name:"Belgium",dialCode:"+32",code:"BE",flag:"/flags/be.svg"},{name:"Belize",dialCode:"+501",code:"BZ",flag:"/flags/bz.svg"},{name:"Benin",dialCode:"+229",code:"BJ",flag:"/flags/bj.svg"},{name:"Bermuda",dialCode:"+1-441",code:"BM",flag:"/flags/bm.svg"},{name:"Bhutan",dialCode:"+975",code:"BT",flag:"/flags/bt.svg"},{name:"Bolivia, Plurinational State of",dialCode:"+591",code:"BO",flag:"/flags/bo.svg"},{name:"Bosnia and Herzegovina",dialCode:"+387",code:"BA",flag:"/flags/ba.svg"},{name:"Botswana",dialCode:"+267",code:"BW",flag:"/flags/bw.svg"},{name:"Brazil",dialCode:"+55",code:"BR",flag:"/flags/br.svg"},{name:"British Indian Ocean Territory",dialCode:"+246",code:"IO",flag:"/flags/io.svg"},{name:"Brunei Darussalam",dialCode:"+673",code:"BN",flag:"/flags/bn.svg"},{name:"Bulgaria",dialCode:"+359",code:"BG",flag:"/flags/bg.svg"},{name:"Burkina Faso",dialCode:"+226",code:"BF",flag:"/flags/bf.svg"},{name:"Burundi",dialCode:"+257",code:"BI",flag:"/flags/bi.svg"},{name:"Cabo Verde",dialCode:"+238",code:"CV",flag:"/flags/cv.svg"},{name:"Cambodia",dialCode:"+855",code:"KH",flag:"/flags/kh.svg"},{name:"Cameroon",dialCode:"+237",code:"CM",flag:"/flags/cm.svg"},{name:"Canada",dialCode:"+1",code:"CA",flag:"/flags/ca.svg"},{name:"Cayman Islands",dialCode:"+1-345",code:"KY",flag:"/flags/ky.svg"},{name:"Central African Republic",dialCode:"+236",code:"CF",flag:"/flags/cf.svg"},{name:"Chad",dialCode:"+235",code:"TD",flag:"/flags/td.svg"},{name:"Chile",dialCode:"+56",code:"CL",flag:"/flags/cl.svg"},{name:"China",dialCode:"+86",code:"CN",flag:"/flags/cn.svg"},{name:"Christmas Island",dialCode:"+61",code:"CX",flag:"/flags/cx.svg"},{name:"Cocos (Keeling) Islands",dialCode:"+61",code:"CC",flag:"/flags/cc.svg"},{name:"Colombia",dialCode:"+57",code:"CO",flag:"/flags/co.svg"},{name:"Comoros",dialCode:"+269",code:"KM",flag:"/flags/km.svg"},{name:"Congo",dialCode:"+242",code:"CG",flag:"/flags/cg.svg"},{name:"Congo, The Democratic Republic of the",dialCode:"+243",code:"CD",flag:"/flags/cd.svg"},{name:"Cook Islands",dialCode:"+682",code:"CK",flag:"/flags/ck.svg"},{name:"Costa Rica",dialCode:"+506",code:"CR",flag:"/flags/cr.svg"},{name:"Croatia",dialCode:"+385",code:"HR",flag:"/flags/hr.svg"},{name:"Cuba",dialCode:"+53",code:"CU",flag:"/flags/cu.svg"},{name:"Curaçao",dialCode:"+599",code:"CW",flag:"/flags/cw.svg"},{name:"Cyprus",dialCode:"+357",code:"CY",flag:"/flags/cy.svg"},{name:"Czechia",dialCode:"+420",code:"CZ",flag:"/flags/cz.svg"},{name:"Côte d'Ivoire",dialCode:"+225",code:"CI",flag:"/flags/ci.svg"},{name:"Denmark",dialCode:"+45",code:"DK",flag:"/flags/dk.svg"},{name:"Djibouti",dialCode:"+253",code:"DJ",flag:"/flags/dj.svg"},{name:"Dominica",dialCode:"+1-767",code:"DM",flag:"/flags/dm.svg"},{name:"Dominican Republic",dialCode:"+1-809",code:"DO",flag:"/flags/do.svg"},{name:"Ecuador",dialCode:"+593",code:"EC",flag:"/flags/ec.svg"},{name:"Egypt",dialCode:"+20",code:"EG",flag:"/flags/eg.svg"},{name:"El Salvador",dialCode:"+503",code:"SV",flag:"/flags/sv.svg"},{name:"Equatorial Guinea",dialCode:"+240",code:"GQ",flag:"/flags/gq.svg"},{name:"Eritrea",dialCode:"+291",code:"ER",flag:"/flags/er.svg"},{name:"Estonia",dialCode:"+372",code:"EE",flag:"/flags/ee.svg"},{name:"Eswatini",dialCode:"+268",code:"SZ",flag:"/flags/sz.svg"},{name:"Ethiopia",dialCode:"+251",code:"ET",flag:"/flags/et.svg"},{name:"Falkland Islands (Malvinas)",dialCode:"+500",code:"FK",flag:"/flags/fk.svg"},{name:"Faroe Islands",dialCode:"+298",code:"FO",flag:"/flags/fo.svg"},{name:"Fiji",dialCode:"+679",code:"FJ",flag:"/flags/fj.svg"},{name:"Finland",dialCode:"+358",code:"FI",flag:"/flags/fi.svg"},{name:"France",dialCode:"+33",code:"FR",flag:"/flags/fr.svg"},{name:"French Guiana",dialCode:"+594",code:"GF",flag:"/flags/gf.svg"},{name:"French Polynesia",dialCode:"+689",code:"PF",flag:"/flags/pf.svg"},{name:"Gabon",dialCode:"+241",code:"GA",flag:"/flags/ga.svg"},{name:"Gambia",dialCode:"+220",code:"GM",flag:"/flags/gm.svg"},{name:"Georgia",dialCode:"+995",code:"GE",flag:"/flags/ge.svg"},{name:"Germany",dialCode:"+49",code:"DE",flag:"/flags/de.svg"},{name:"Ghana",dialCode:"+233",code:"GH",flag:"/flags/gh.svg"},{name:"Gibraltar",dialCode:"+350",code:"GI",flag:"/flags/gi.svg"},{name:"Greece",dialCode:"+30",code:"GR",flag:"/flags/gr.svg"},{name:"Greenland",dialCode:"+299",code:"GL",flag:"/flags/gl.svg"},{name:"Grenada",dialCode:"+1-473",code:"GD",flag:"/flags/gd.svg"},{name:"Guadeloupe",dialCode:"+590",code:"GP",flag:"/flags/gp.svg"},{name:"Guam",dialCode:"+1-671",code:"GU",flag:"/flags/gu.svg"},{name:"Guatemala",dialCode:"+502",code:"GT",flag:"/flags/gt.svg"},{name:"Guernsey",dialCode:"+44-1481",code:"GG",flag:"/flags/gg.svg"},{name:"Guinea",dialCode:"+224",code:"GN",flag:"/flags/gn.svg"},{name:"Guinea-Bissau",dialCode:"+245",code:"GW",flag:"/flags/gw.svg"},{name:"Guyana",dialCode:"+592",code:"GY",flag:"/flags/gy.svg"},{name:"Haiti",dialCode:"+509",code:"HT",flag:"/flags/ht.svg"},{name:"Holy See (Vatican City State)",dialCode:"+379",code:"VA",flag:"/flags/va.svg"},{name:"Honduras",dialCode:"+504",code:"HN",flag:"/flags/hn.svg"},{name:"Hong Kong",dialCode:"+852",code:"HK",flag:"/flags/hk.svg"},{name:"Hungary",dialCode:"+36",code:"HU",flag:"/flags/hu.svg"},{name:"Iceland",dialCode:"+354",code:"IS",flag:"/flags/is.svg"},{name:"India",dialCode:"+91",code:"IN",flag:"/flags/in.svg"},{name:"Indonesia",dialCode:"+62",code:"ID",flag:"/flags/id.svg"}
1,{name:"Iran, Islamic Republic of",dialCode:"+98",code:"IR",flag:"/flags/ir.svg"},{name:"Iraq",dialCode:"+964",code:"IQ",flag:"/flags/iq.svg"},{name:"Ireland",dialCode:"+353",code:"IE",flag:"/flags/ie.svg"},{name:"Isle of Man",dialCode:"+44-1624",code:"IM",flag:"/flags/im.svg"},{name:"Israel",dialCode:"+972",code:"IL",flag:"/flags/il.svg"},{name:"Italy",dialCode:"+39",code:"IT",flag:"/flags/it.svg"},{name:"Jamaica",dialCode:"+1-876",code:"JM",flag:"/flags/jm.svg"},{name:"Japan",dialCode:"+81",code:"JP",flag:"/flags/jp.svg"},{name:"Jersey",dialCode:"+44-1534",code:"JE",flag:"/flags/je.svg"},{name:"Jordan",dialCode:"+962",code:"JO",flag:"/flags/jo.svg"},{name:"Kazakhstan",dialCode:"+7",code:"KZ",flag:"/flags/kz.svg"},{name:"Kenya",dialCode:"+254",code:"KE",flag:"/flags/ke.svg"},{name:"Kiribati",dialCode:"+686",code:"KI",flag:"/flags/ki.svg"},{name:"Korea, Democratic People's Republic of",dialCode:"+850",code:"KP",flag:"/flags/kp.svg"},{name:"Korea, Republic of",dialCode:"+82",code:"KR",flag:"/flags/kr.svg"},{name:"Kuwait",dialCode:"+965",code:"KW",flag:"/flags/kw.svg"},{name:"Kyrgyzstan",dialCode:"+996",code:"KG",flag:"/flags/kg.svg"},{name:"Lao People's Democratic Republic",dialCode:"+856",code:"LA",flag:"/flags/la.svg"},{name:"Latvia",dialCode:"+371",code:"LV",flag:"/flags/lv.svg"},{name:"Lebanon",dialCode:"+961",code:"LB",flag:"/flags/lb.svg"},{name:"Lesotho",dialCode:"+266",code:"LS",flag:"/flags/ls.svg"},{name:"Liberia",dialCode:"+231",code:"LR",flag:"/flags/lr.svg"},{name:"Libya",dialCode:"+218",code:"LY",flag:"/flags/ly.svg"},{name:"Liechtenstein",dialCode:"+423",code:"LI",flag:"/flags/li.svg"},{name:"Lithuania",dialCode:"+370",code:"LT",flag:"/flags/lt.svg"},{name:"Luxembourg",dialCode:"+352",code:"LU",flag:"/flags/lu.svg"},{name:"Macao",dialCode:"+853",code:"MO",flag:"/flags/mo.svg"},{name:"Madagascar",dialCode:"+261",code:"MG",flag:"/flags/mg.svg"},{name:"Malawi",dialCode:"+265",code:"MW",flag:"/flags/mw.svg"},{name:"Malaysia",dialCode:"+60",code:"MY",flag:"/flags/my.svg"},{name:"Maldives",dialCode:"+960",code:"MV",flag:"/flags/mv.svg"},{name:"Mali",dialCode:"+223",code:"ML",flag:"/flags/ml.svg"},{name:"Malta",dialCode:"+356",code:"MT",flag:"/flags/mt.svg"},{name:"Marshall Islands",dialCode:"+692",code:"MH",flag:"/flags/mh.svg"},{name:"Martinique",dialCode:"+596",code:"MQ",flag:"/flags/mq.svg"},{name:"Mauritania",dialCode:"+222",code:"MR",flag:"/flags/mr.svg"},{name:"Mauritius",dialCode:"+230",code:"MU",flag:"/flags/mu.svg"},{name:"Mayotte",dialCode:"+262",code:"YT",flag:"/flags/yt.svg"},{name:"Mexico",dialCode:"+52",code:"MX",flag:"/flags/mx.svg"},{name:"Micronesia, Federated States of",dialCode:"+691",code:"FM",flag:"/flags/fm.svg"},{name:"Moldova, Republic of",dialCode:"+373",code:"MD",flag:"/flags/md.svg"},{name:"Monaco",dialCode:"+377",code:"MC",flag:"/flags/mc.svg"},{name:"Mongolia",dialCode:"+976",code:"MN",flag:"/flags/mn.svg"},{name:"Montenegro",dialCode:"+382",code:"ME",flag:"/flags/me.svg"},{name:"Montserrat",dialCode:"+1-664",code:"MS",flag:"/flags/ms.svg"},{name:"Morocco",dialCode:"+212",code:"MA",flag:"/flags/ma.svg"},{name:"Mozambique",dialCode:"+258",code:"MZ",flag:"/flags/mz.svg"},{name:"Myanmar",dialCode:"+95",code:"MM",flag:"/flags/mm.svg"},{name:"Namibia",dialCode:"+264",code:"NA",flag:"/flags/na.svg"},{name:"Nauru",dialCode:"+674",code:"NR",flag:"/flags/nr.svg"},{name:"Nepal",dialCode:"+977",code:"NP",flag:"/flags/np.svg"},{name:"Netherlands",dialCode:"+31",code:"NL",flag:"/flags/nl.svg"},{name:"New Caledonia",dialCode:"+687",code:"NC",flag:"/flags/nc.svg"},{name:"New Zealand",dialCode:"+64",code:"NZ",flag:"/flags/nz.svg"},{name:"Nicaragua",dialCode:"+505",code:"NI",flag:"/flags/ni.svg"},{name:"Niger",dialCode:"+227",code:"NE",flag:"/flags/ne.svg"},{name:"Nigeria",dialCode:"+234",code:"NG",flag:"/flags/ng.svg"},{name:"Niue",dialCode:"+683",code:"NU",flag:"/flags/nu.svg"},{name:"North Macedonia",dialCode:"+389",code:"MK",flag:"/flags/mk.svg"},{name:"Norway",dialCode:"+47",code:"NO",flag:"/flags/no.svg"},{name:"Oman",dialCode:"+968",code:"OM",flag:"/flags/om.svg"},{name:"Pakistan",dialCode:"+92",code:"PK",flag:"/flags/pk.svg"},{name:"Palau",dialCode:"+680",code:"PW",flag:"/flags/pw.svg"},{name:"Palestine, State of",dialCode:"+970",code:"PS",flag:"/flags/ps.svg"},{name:"Panama",dialCode:"+507",code:"PA",flag:"/flags/pa.svg"},{name:"Papua New Guinea",dialCode:"+675",code:"PG",flag:"/flags/pg.svg"},{name:"Paraguay",dialCode:"+595",code:"PY",flag:"/flags/py.svg"},{name:"Peru",dialCode:"+51",code:"PE",flag:"/flags/pe.svg"},{name:"Philippines",dialCode:"+63",code:"PH",flag:"/flags/ph.svg"},{name:"Poland",dialCode:"+48",code:"PL",flag:"/flags/pl.svg"},{name:"Portugal",dialCode:"+351",code:"PT",flag:"/flags/pt.svg"},{name:"Puerto Rico",dialCode:"+1-787",code:"PR",flag:"/flags/pr.svg"},{name:"Qatar",dialCode:"+974",code:"QA",flag:"/flags/qa.svg"},{name:"Romania",dialCode:"+40",code:"RO",flag:"/flags/ro.svg"},{name:"Russian Federation",dialCode:"+7",code:"RU",flag:"/flags/ru.svg"},{name:"Rwanda",dialCode:"+250",code:"RW",flag:"/flags/rw.svg"},{name:"Réunion",dialCode:"+262",code:"RE",flag:"/flags/re.svg"},{name:"Saint Barthélemy",dialCode:"+590",code:"BL",flag:"/flags/bl.svg"},{name:"Saint Helena, Ascension and Tristan da Cunha",dialCode:"+290",code:"SH",flag:"/flags/sh.svg"},{name:"Saint Kitts and Nevis",dialCode:"+1-869",code:"KN",flag:"/flags/kn.svg"},{name:"Saint Lucia",dialCode:"+1-758",code:"LC",flag:"/flags/lc.svg"},{name:"Saint Martin (French part)",dialCode:"+590",code:"MF",flag:"/flags/mf.svg"},{name:"Saint Pierre and Miquelon",dialCode:"+508",code:"PM",flag:"/flags/pm.svg"},{name:"Saint Vincent and the Grenadines",dialCode:"+1-784",code:"VC",flag:"/flags/vc.svg"},{name:"Samoa",dialCode:"+685",code:"WS",flag:"/flags/ws.svg"},{name:"San Marino",dialCode:"+378",code:"SM",flag:"/flags/sm.svg"},{name:"Sao Tome and Principe",dialCode:"+239",code:"ST",flag:"/flags/st.svg"},{name:"Saudi Arabia",dialCode:"+966",code:"SA",flag:"/flags/sa.svg"},{name:"Senegal",dialCode:"+221",code:"SN",flag:"/flags/sn.svg"},{name:"Serbia",dialCode:"+381",code:"RS",flag:"/flags/rs.svg"},{name:"Seychelles",dialCode:"+248",code:"SC",flag:"/flags/sc.svg"},{name:"Sierra Leone",dialCode:"+232",code:"SL",flag:"/flags/sl.svg"},{name:"Singapore",dialCode:"+65",code:"SG",flag:"/flags/sg.svg"},{name:"Sint Maarten (Dutch part)",dialCode:"+1-721",code:"SX",flag:"/flags/sx.svg"},{name:"Slovakia",dialCode:"+421",code:"SK",flag:"/flags/sk.svg"},{name:"Slovenia",dialCode:"+386",code:"SI",flag:"/flags/si.svg"},{name:"Solomon Islands",dialCode:"+677",code:"SB",flag:"/flags/sb.svg"},{name:"Somalia",dialCode:"+252",code:"SO",flag:"/flags/so.svg"},{name:"South Africa",dialCode:"+27",code:"ZA",flag:"/flags/za.svg"},{name:"South Sudan",dialCode:"+211",code:"SS",flag:"/flags/ss.svg"},{name:"Spain",dialCode:"+34",code:"ES",flag:"/flags/es.svg"},{name:"Sri Lanka",dialCode:"+94",code:"LK",flag:"/flags/lk.svg"},{name:"Sudan",dialCode:"+249",code:"SD",flag:"/flags/sd.svg"},{name:"Suriname",dialCode:"+597",code:"SR",flag:"/flags/sr.svg"},{name:"Sweden",dialCode:"+46",code:"SE",flag:"/flags/se.svg"},{name:"Switzerland",dialCode:"+41",code:"CH",flag:"/flags/ch.svg"},{name:"Syrian Arab Republic",dialCode:"+963",code:"SY",flag:"/flags/sy.svg"},{name:"Taiwan, Province of China",dialCode:"+886",code:"TW",flag:"/flags/tw.svg"},{name:"Tajikistan",dialCode:"+992",code:"TJ",flag:"/flags/tj.svg"},{name:"Tanzania, United Republic of",dialCode:"+255",code:"TZ",flag:"/flags/tz.svg"},{name:"Thailand",dialCode:"+66",code:"TH",flag:"/flags/th.svg"},{name:"Timor-Leste",dialCode:"+670",code:"TL",flag:"/flags/tl.svg"},{name:"Togo",dialCode:"+228",code:"TG",flag:"/flags/tg.svg"},{name:"Tonga",dialCode:"+676",code:"TO",flag:"/flags/to.svg"},{name:"Trinidad and Tobago",dialCode:"+1-868",code:"TT",flag:"/flags/tt.svg"},{name:"Tunisia",dialCode:"+216",code:"TN",flag:"/flags/tn.svg"},{name:"Turkey",dialCode:"+90",code:"TR",flag:"/flags/tr.svg"},{name:"Turkmenistan",dialCode:"+993",code:"TM",flag:"/flags/tm.svg"},{name:"Turks and Caicos Islands",dialCode:"+1-649",code:"TC",flag:"/flags/tc.svg"},{name:"Tuvalu",dialCode:"+688",code:"TV",flag:"/flags/tv.svg"},{name:"Uganda",dialCode:"+256",code:"UG",flag:"/flags/ug.svg"},{name:"Ukraine",dialCode:"+380",code:"UA",flag:"/flags/ua.svg"},{name:"United Arab Emirates",dialCode:"+971",code:"AE",flag:"/flags/ae.svg"},{name:"United Kingdom",dialCode:"+44",code:"GB",flag:"/flags/gb.svg"},{name:"United States",dialCode:"+1",code:"US",flag:"/flags/us.svg"},{name:"Uruguay",dialCode:"+598",code:"UY",flag:"/flags/uy.svg"},{name:"Uzbekistan",dialCode:"+998",code:"UZ",flag:"/flags/uz.svg"},{name:"Vanuatu",dialCode:"+678",code:"VU",flag:"/flags/vu.svg"},{name:"Venezuela, Bolivarian Republic of",dialCode:"+58",code:"VE",flag:"/flags/ve.svg"},{name:"Viet Nam",dialCode:"+84",code:"VN",flag:"/flags/vn.svg"},{name:"Virgin Islands, British",dialCode:"+1-284",code:"VG",flag:"/flags/vg.svg"},{name:"Virgin Islands, U.S.",dialCode:"+1-340",code:"VI",flag:"/flags/vi.svg"},{name:"Yemen",dialCode:"+967",code:"YE",flag:"/flags/ye.svg"},{name:"Zambia",dialCode:"+260",code:"ZM",flag:"/flags/zm.svg"},{name:"Zimbabwe",dialCode:"+263",code:"ZW",flag:"/flags/zw.svg"}]])},73025,e=>{"use strict";var a=e.i(43476),s=e.i(71645),l=e.i(83642),o=e.i(18566);e.s(["LoginGuard",0,({children:e})=>{let{status:n}=(0,l.useAuth)(),d=(0,o.useRouter)();return((0,s.useEffect)(()=>{let e=new URLSearchParams(window.location.search);if("LOGGED_IN"===n){let a=e.get("next")||"/dashboard";d.push(a)}else if("LOGGED_OUT"===n){let a=e.get("next");a?document.cookie=`postPaymentReturnUrl=${encodeURIComponent(a)};path=/;max-age=3600`:document.cookie="postPaymentReturnUrl=;path=/;max-age=0"}},[n,d]),"LOADING"===n)?(0,a.jsx)("div",{className:"flex h-screen w-screen items-center justify-center bg-[#efefef]",children:(0,a.jsx)("div",{className:"animate-spin rounded-full h-10 w-10 border-t-2 border-b-2 border-[#fc2077]"})}):"LOGGED_OUT"===n?(0,a.jsx)(a.Fragment,{children:e}):null}])},85966,e=>{"use strict";var a=e.i(43476),s=e.i(71645),l=e.i(18566),o=e.i(22016),n=e.i(83642),d=e.i(62936),i=e.i(1031),g=e.i(84006);let t=({length:e=4,onInputChange:l,disabled:o=!1})=>
1{let[n,d]=(0,s.useState)(Array(e).fill("")),i=(0,s.useRef)([]);(0,s.useEffect)(()=>{d(Array(e).fill(""))},[e]);let g=a=>{a.preventDefault();let s=a.clipboardData.getData("text").replace(/[^0-9]/g,"").slice(0,e);if(s){let a=[...n];for(let l=0;l<e;l++)a[l]=s[l]||"";d(a),l(a.join(""));let o=Math.min(s.length,e-1);i.current[o]?.focus()}};return(0,a.jsx)("div",{className:"ngx-otp-input-form flex justify-center gap-4",children:Array(e).fill(0).map((s,t)=>(0,a.jsx)("input",{ref:e=>{e&&(i.current[t]=e)},type:"text",inputMode:"numeric",pattern:"[0-9]*",maxLength:1,disabled:o,value:n[t],onChange:a=>{let s,o;return s=a.target.value.replace(/[^0-9]/g,"").slice(-1),void((o=[...n])[t]=s,d(o),l(o.join("")),s&&t<e-1&&i.current[t+1]?.focus())},onKeyDown:e=>((e,a)=>{if("Backspace"===a.key)if(!n[e]&&e>0){let a=[...n];a[e-1]="",d(a),l(a.join("")),i.current[e-1]?.focus()}else{let a=[...n];a[e]="",d(a),l(a.join(""))}})(t,e),onPaste:g,className:"ngx-otp-input-box text-center text-lg font-semibold focus:border-[#fc2077] focus:outline-none"},t))})};function r({platform:e,googleLoginUrl:s,fbLoginUrl:l,onAppleLogin:o}){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"login-using",children:(0,a.jsx)("span",{children:"Or login using"})}),(0,a.jsx)("a",{href:s,className:"google",children:(0,a.jsxs)("span",{children:[(0,a.jsx)("img",{src:"/images/google.svg",alt:""}),"Google"]})}),"ios_app"!==e&&(0,a.jsx)("a",{href:l,className:"fb",children:(0,a.jsxs)("span",{children:[(0,a.jsx)("img",{src:"/images/fb.svg",alt:""}),"Facebook"]})}),(0,a.jsx)("button",{type:"button",onClick:o,className:"apple-login",children:(0,a.jsxs)("span",{children:[(0,a.jsx)("img",{src:"/images/social/apple-logo.svg",alt:""}),"Login in with Apple"]})})]})}var c=e.i(73025),m=e.i(84935),f=e.i(20333),u=e.i(66540);function p(){let e=(0,l.useRouter)(),{refreshUserStatus:c,isLoggedIn:p}=(0,n.useAuth)(),{globals:v,setSuccessMessage:h,setErrorMessage:C,platform:x}=(0,d.useGlobals)(),{countryList:b,fetchCountryList:j}=(0,i.useCommon)(),[N,w]=(0,s.useState)("loginWithOTP"),[y,S]=(0,s.useState)("/dashboard"),k="?callback="+window.location.origin,[P,L]=(0,s.useState)(""),[T,I]=(0,s.use
1State)(""),[M,A]=(0,s.useState)(""),[E,G]=(0,s.useState)(""),[R,O]=(0,s.useState)(""),[B,D]=(0,s.useState)(""),[U,z]=(0,s.useState)(""),[F,H]=(0,s.useState)(""),[W,K]=(0,s.useState)(""),[Y,_]=(0,s.useState)(""),[V,Z]=(0,s.useState)(""),[$,q]=(0,s.useState)(""),[J,Q]=(0,s.useState)(!1),[X,ee]=(0,s.useState)(""),[ea,es]=(0,s.useState)(!1),[el,eo]=(0,s.useState)(!1),[en,ed]=(0,s.useState)(""),[ei,eg]=(0,s.useState)(""),[et,er]=(0,s.useState)(!1),[ec,em]=(0,s.useState)(!1),[ef,eu]=(0,s.useState)("password"),[ep,ev]=(0,s.useState)("password"),[eh,eC]=(0,s.useState)("password"),[ex,eb]=(0,s.useState)(!1),[ej,eN]=(0,s.useState)({}),[ew,ey]=(0,s.useState)(0),eS=(0,s.useRef)(null),ek=f.countryCodes.filter(e=>e.name.toLowerCase().includes(ei.toLowerCase())||e.code.toLowerCase().includes(ei.toLowerCase())||e.dialCode.includes(ei)),eP=f.countryCodes.find(e=>e.dialCode===U);(0,s.useEffect)(()=>{j();let e=new URLSearchParams(window.location.search);return S(e.get("next")||"/dashboard"),e.get("next")||(document.cookie="postPaymentReturnUrl=;path=/;max-age=0"),()=>{eS.current&&clearInterval(eS.current)}},[]),(0,s.useEffect)(()=>{let e=e=>{if(console.log("Received message from iOS:",e.data),e.data?.type==="appleLoginResponse"){let a=e.data.data,s=`${v.API_END_POINT}/ios/apple/login?idToken=${a.token}`;console.log("Handling handle Apple Login response:",a),window.open(s,"_self")}else if(e.data?.type==="googleLoginResponse"){let a=e.data.data,s=`${v.API_END_POINT}/google/login?userid=${a.userID}&callback=${v.SELF_END_POINT}`;console.log("Handling Apple Google Login response:",a),window.open(s,"_self")}};return window.addEventListener("message",e),()=>{window.removeEventListener("message",e)}},[v]);let eL=()=>{eS.current&&clearInterval(eS.current),ey(30),eS.current=setInterval(()=>{ey(e=>e<=1?(eS.current&&clearInterval(eS.current),0):e-1)},1e3)},eT=e=>e?"fi-"+e.toLowerCase():"",eI=e=>new RegExp(v.VALIDATION_PATTERN_EMAIL||"^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$").test(e),eM=e=>(v.PASSWORD_PATTERN||/^(?=.*[A-Z])(?=.*\d)(?=.*[ -\/:-@[-`{-~])[A-Za-z\d -\/:-@[-`{-~]{9,}$/).test(e),eA=()=>{er(!0),g.HttpService.customGET("user/resendotp?emailId="+P.toLowerCase().trim()).subscribe({next:e=>{e&&200===e.status&&(eL(),h("OTP has been resent successfully.")),er(!1)},error:e=>{er(!1),C(e?.error?.message||"Failed to resend OTP.")}})},eE=()=>{if("ios_app"===x){let e=window;e.webkit?.messageHandlers?.appleLogin&&e.webkit.messageHandlers.appleLogin.postMessage({})}else{let e=`${v.API_END_POINT}/talent/apple/login${k}`;window.open(e,"_self")}},eG=()=>{em(!1),e.push(y)},eR=`${v.API_END_POINT}/talent/gmail/login${k}`,eO=`${v.API_END_POINT}/talent/fb/login${k}`,eB=b?b.filter(e=>e.name.toLowerCase().includes(en.toLowerCase())):[],eD=b?.find(e=>e.sortname===B);return(0,a.jsxs)("div",{className:"login-component",children:[(0,a.jsxs)("div",{className:"left-login",children:[(0,a.jsx)("div",{className:"logo-section desk",children:(0,a.jsx)(o.default,{href:"/",children:(0,a.jsx)("img",{src:"/images/mma-logo.svg",className:"mma-logo cursor-p",alt:"MMA logo"})})}),(0,a.jsxs)("div",{className:"mob",children:[(0,a.jsx)("div",{className:"dashboard-header",children:(0,a.jsxs)("div",{className:"left-header",children:[(0,a.jsxs)("svg",{onClick:()=>eb(!0),className:"cursor-p",xmlns:"http://www.w3.org/2000/svg",width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",children:[(0,a.jsx)("path",{d:"M3.5 12H21.5",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M3.5 6H21.5",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M3.5 18H21.5",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),(0,a.jsx)("img",{src:"/images/mobile-logo.svg",width:"126",height:"32",alt:"MMA logo",style:{objectFit:"cover"}})]})}),(0,a.jsx)("div",{className:"dashboard-header-spacer","aria-hidden":"true"}),(0,a.jsx)(m.MobileMenu,{isOpen:ex,onClose:()=>eb(!1)})]}),"loginWithOTP"===N&&(0,a.jsxs)("div",{className:"login-main",children:[(0,a.jsx)("h3",{className:"login-heading",children:"Log In"}),(0,a.jsx)("p",{className:"welcome-text",children:"Welcome!"}),(0,a.jsxs)("form",{onSubmit:e=>{(e.preventDefault(),P)?eI(P)?(eN({}),er(!0),g.HttpService.customGET("talent/sendotp",{params:{emailId:P.toLowerCase().trim()}}).subscribe({next:e=>
1{200===e.status&&(w("confirmLoginOTP"),eL(),h("OTP has been sent to your email. Please check and enter the code to proceed.")),er(!1)},error:e=>{er(!1),C(e?.error?.message||"Something went wrong. Please try again later.")}})):eN({emailid:"Enter valid email"}):eN({emailid:"email is required"})},className:"login-form",children:[(0,a.jsxs)("div",{className:"login-input",children:[(0,a.jsx)("label",{className:"label",children:"Email"}),(0,a.jsx)("input",{type:"email",value:P,onChange:e=>L(e.target.value),placeholder:"Enter your email"}),ej.emailid&&(0,a.jsx)("span",{className:"mat-error",children:ej.emailid})]}),(0,a.jsxs)("button",{type:"submit",disabled:et,className:"login-otp",children:["Log In with OTP",et&&(0,a.jsx)("span",{className:"spinner"})]}),(0,a.jsx)("button",{type:"button",onClick:()=>w("loginWithPassword"),className:"login-password",children:"Log In with Password"}),(0,a.jsx)(r,{platform:x,googleLoginUrl:eR,fbLoginUrl:eO,onAppleLogin:eE})]})]}),"confirmLoginOTP"===N&&(0,a.jsxs)("div",{className:"login-main",children:[(0,a.jsx)("h3",{className:"login-heading",children:"Log In"}),(0,a.jsx)("p",{className:"welcome-text",children:"Welcome!"}),(0,a.jsxs)("form",{onSubmit:a=>{(a&&a.preventDefault(),!M||M.length<4)?eN({otp:"Please enter OTP"}):(eN({}),er(!0),g.HttpService.customGET("user/verifyotplogin",{params:{emailid:P.toLowerCase().trim(),otp:M}}).subscribe({next:a=>{er(!1),200===a.status?(h("Welcome back! You have successfully logged in."),c().then(()=>{e.push(y)})):204===a.status&&(h("OTP verified successfully! Please fill in the remaining details."),w("register"))},error:e=>{er(!1),C(e?.error?.message||"Invalid OTP. Please try again or request a new code.")}}))},className:"login-form",children:[(0,a.jsxs)("div",{className:"login-input",children:[(0,a.jsxs)("label",{className:"label",children:["Enter Validation Code sent to ",(0,a.jsx)("span",{children:P})]}),(0,a.jsx)("div",{className:"input-field otp-input",children:(0,a.jsx)(t,{length:4,onInputChange:e=>{A(e),4===e.length&&A(e)}})}),ej.otp&&(0,a.jsx)("span",{className:"mat-error",children:ej.otp})]}),(0,a.jsxs)("div",{className:"back-forget-section",children:[ew>0?(0,a.jsxs)("div",{className:"resend",children:["If you didn't receive the code, ",(0,a.jsxs)("span",{children:["Resend in 00:",ew<10?`0${ew}`:ew]})]}):(0,a.jsxs)("div",{className:"resend",children:["If you didn't receive the code, ",(0,a.jsx)("span",{onClick:eA,className:"cursor-p",children:"Resend."})]}),(0,a.jsx)("button",{type:"button",onClick:()=>w("loginWithOTP"),className:"back-btn",children:"Back"})]}),(0,a.jsxs)("button",{type:"submit",disabled:et||M.length<4,className:"login-otp",children:["Confirm OTP",et&&(0,a.jsx)("span",{className:"spinner"})]}),(0,a.jsx)(r,{platform:x,googleLoginUrl:eR,fbLoginUrl:eO,onAppleLogin:eE})]})]}),"loginWithPassword"===N&&(0,a.jsxs)("div",{className:"login-main",children:[(0,a.jsx)("h3",{className:"login-heading",children:"Log In"}),(0,a.jsx)("p",{className:"welcome-text",children:"Welcome back!"}),(0,a.jsxs)("form",{onSubmit:a=>{a.preventDefault();let s={};(P?eI(P)||(s.email="Enter valid email"):s.email="email is required",T||(s.password="password is required"),Object.keys(s).length>0)?eN(s):(eN({}),er(!0),g.HttpService.customPOST("talent/login",{email:P.toLowerCase().trim(),password:T}).subscribe({next:a=>{er(!1),200===a.status&&(h("Welcome back! You have successfully logged in."),c().then(()=>{e.push(y)}))},error:e=>{er(!1),401===e.status?C(e?.error?.message||"Invalid Credentials."):C(e?.error?.message||"Something went wrong. Please try again later.")}}))},className:"login-form",children:[(0,a.jsxs)("div",{className:"login-input",children:[(0,a.jsx)("label",{className:"label",children:"Email"}),(0,a.jsx)("input",{type:"email",value:P,onChange:e=>L(e.target.value),placeholder:"Enter your email"}),ej.email&&(0,a.jsx)("span",{className:"mat-error",children:ej.email})]}),(0,a.jsxs)("div",{className:"login-input",children:[(0,a.jsx)("label",{className:"label",children:"Password"}),(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("input",{type:ef,value:T,onChange:e=>I(e.target.value),placeholder:"Enter your password"}),(0,a.jsx)("span",{onClick:()=>eu(e=>"password"===e?"text":"password"),className:"absolute cursor-p",children:(0,a.jsx)("img",{src:"text"===ef?"/images/hide-icon.svg":"/images/unhide-icon.svg",width:"18",height:"18",alt:"toggle view"})})]}),ej.password&&(0,a.jsx)("span",{className:"mat-error",children:ej.password})]}),(0,a.jsxs)("div",{className:"back-forget-section",children:[(0,a.jsx)("button",{type:"button",onClick:()=>w("forgotPassword"),className:"forgot-password",children:"Forgot Password?"}),(0,a.jsx)("button",{type:"button",onClick:()=>w("loginWithOTP"),className:"back-btn",children:"Back"})]}),(0,a.jsxs)("button",{type:"submit",disabled:et,className:"login-otp",children:["Log in",et&&(0,a.jsx)("span",{className:"spinner"})]}),(0,a.jsx)(r,{platform:x,googleLoginUrl:eR,fbLoginUrl:eO,onAppleLogin:eE})]})]}),"forgotPassword"===N&&(0,a.jsxs)("div",{className:"login-main",children:[(0,a.jsx)("h3",{className:"login-heading",children:"Forgot Password"}),(0,a.jsx)("p",{className:"welcome-text",children:"Reset Password"}),(0,a.jsxs)("form",{onSubmit:e=>{(e.preventDefault(),P)?eI(P)?(eN({}),er(!0),g.HttpService.customGET("user/forgetpass/otp",{params:{emailId:P.toLowerCase().trim()}}).subscribe({next:e=>{er(!1),200===e.status&&(w("resetPassword"),eL(),h("OTP has been sent to your email. Please check and enter the code to proceed."))},error:e=>{er(!1),C(e?.error?.message||"Something went wrong. Please try again later.")}})):eN({email:"Enter valid email"}):eN({email:"email is required"})},className:"login-form",children:[(0,a.jsxs)("div",{className:"login-input",children:[(0,a.jsx)("label",{className:"label",children:"Email"}),(0,a.jsx)("input",{type:"email",value:P,onChange:e=>L(e.target.value),placeholder:"Enter your email"}),ej.email&&(0,a.jsx)("span",{className:"mat-error",children:ej.email})]}),(0,a.jsx)("div",{className:"back-forget-section",style:{justifyContent:"flex-end"},children:(0,a.jsx)("button",{type:"button",onClick:()=>w("loginWithPassword"),className:"back-btn",children:"Back"})}),(0,a.jsxs)("button",{type:"submit",disabled:et,className:"login-otp",children:["Next",et&&(0,a.jsx)("span",{className:"spinner"})]}),(0,a.jsx)(r,{platform:x,googleLoginUrl:eR,fbLoginUrl:eO,onAppleLogin:eE})]})]}),"resetPassword"===N&&(0,a.jsxs)("div",{className:"login-main",children:[(0,a.jsx)("h3",{className:"login-heading",children:"Log In"}),(0,a.jsx)("p",{className:"welcome-text",children:"Reset Password"}),(0,a.jsxs)("form",{onSubmit:e=>{e.preventDefault();let a={};((!M||M.length<4)&&(a.otp="Please enter OTP"),T?eM(T)||(a.password="Password must be at least 9 characters long, contain an uppercase letter, a number, and a special character."):a.password="password is required",Object.keys(a).length>0)?eN(a):(eN({}),er(!0),g.HttpService.customPOST("user/updatepassword",{email:P.toLowerCase().trim(),otp:M,password:T}).subscribe({next:e=>{er(!1),200===e.status&&(h("Your password has been successfully reset. You can now log in."),w("loginWithPassword"),I(""))},error:e=>{er(!1),C(e?.error?.message||"Invalid OTP entered.")}}))},className:"login-form",children:[(0,a.jsxs)("div",{className:"login-input",children:[(0,a.jsxs)("label",{className:"label",children:["Enter Validation Code sent to ",(0,a.jsx)("span",{children:P})]}),(0,a.jsx)("div",{className:"input-field otp-input",children:(0,a.jsx)(t,{length:4,onInputChange:A})}),ej.otp&&(0,a.jsx)("span",{className:"mat-error",children:ej.otp})]}),(0,a.jsx)("div",{className:"back-forget-section resend-reset",children:ew>0?(0,a.jsxs)("div",{className:"resend",children:["If you didn't receive the code, ",(0,a.jsxs)("span",{children:["Resend in 00:",ew<10?`0${ew}`:ew]})]}):(0,a.jsxs)("div",{className:"resend",children:["If you didn't receive the code, ",(0,a.jsx)("span",{onClick:eA,className:"cursor-p",children:"Resend."})]})}),(0,a.jsxs)("div",{className:"login-input",children:[(0,a.jsx)("label",{className:"label",children:"Enter New Password"}),(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("input",{type:eh,value:T,onChange:e=>I(e.target.value),placeholder:"Set new password"}),(0,a.jsx)("span",{onClick:()=>eC(e=>"password"===e?"text":"password"),className:"absolute cursor-p",children:(0,a.jsx)("img",{src:"text"===eh?"/images/hide-icon.svg":"/images/unhide-icon.svg",width:"18",height:"18",alt:""})})]}),ej.password&&(0,a.jsx)("span",{className:"mat-error",children:ej.password})]}),(0,a.jsxs)("button",{type:"submit",disabled:et,className:"login-otp",children:["Next",et&&(0,a.jsx)("span",{className:"spinner"})]}),(0,a.jsx)(r,{platform:x,googleLoginUrl:eR,fbLoginUrl:eO,onAppleLogin:eE})]})]}),"register"===N&&(0,a.jsxs)("div",{className:"login-main",children:[(0,a.jsx)("h3",{className:"login-heading",children:"Log In"}),(0,a.jsx)("p",{className:"welcome-text",children:"Tell us about yourself!"}),(0,a.jsxs)("form",{onSubmit:e=>{e.preventDefault();let a={};if(E||(a.firstname="Enter first name"),B||(a.country="Select Country"),U||(a.countrycode="Select dial code"),F||(a.contactno="Enter mobile number"),W||(a.dob="Select DOB"),Y||(a.gender="Select Gender"),V?eM(V)||(a.password="Password must be at least 9 characters long, contain an uppercase letter, a number, and a special character."):a.password="password is required",Object.keys(a).length>0)return void eN(a);eN({}),er(!0);let s=(0,u.default)(W).format("YYYY-MM-DD"),l={firstname:E,lastname:R,emailid:P.toLowerCase().trim(),country:B,contactno:F,countrycode:U,dob:s,gender:Y,password:V},o={countrycode:B,email:P.toLowerCase().trim(),otp:M};$&&(o.referralCode=$),X&&(o.agent=X),g.HttpService.customPOST("user/registerwithotp",l,{params:o}).subscribe({next:e=>{er(!1),200===e.status&&(h("Registration complete! Your account has been successfully created."),c().then(()=>{em(!0)}))},error:e=>{er(!1),C(e?.error?.message||"Something went wrong. Please try again later.")}})},className:"login-form",children:[(0,a.jsxs)("div",{className:"form-row login-input",children:[(0,a.jsxs)("div",{className:"input-field",children:[(0,a.jsx)("input",{type:"text",value:E,onChange:e=>G(e.target.value),placeholder:"First Name*"}),ej.firstname&&(0,a.jsx)("span",{className:"mat-error",children:ej.firstname})]}),(0,a.jsxs)("div",{className:"input-field",children:[(0,a.jsx)("input",{type:"text",value:R,onChange:e=>O(e.target.value),placeholder:"Last Name"}),ej.lastname&&(0,a.jsx)("span",{className:"mat-error",children:ej.lastname})]})]}),(0,a.jsxs)("div",{className:"form-row login-input",children:[(0,a.jsxs)("div",{style:{position:"relative",width:"100%"},children:[(0,a.jsxs)("div",{onClick:()=>{es(!ea),eo(!1)},className:"login-input-custom",children:[(0,a.jsx)("span",{children:eD?(0,a.jsxs)("span",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[(0,a.jsx)("span",{className:`fi ${eT(eD.sortname)}
1`}),eD.name]}):(0,a.jsx)("span",{style:{color:"#6c6c6c"},children:"Country*"})}),(0,a.jsx)("span",{style:{transition:"transform 0.2s",transform:ea?"rotate(180deg)":"none"},children:"▼"})]}),ea&&(0,a.jsxs)("div",{style:{position:"absolute",zIndex:50,width:"100%",marginTop:"4px",background:"white",border:"1px solid #e7e7ed",borderRadius:"10px",boxShadow:"0 4px 12px rgba(0,0,0,0.1)",maxHeight:"240px",overflowY:"auto"},children:[(0,a.jsx)("input",{type:"text",placeholder:"Search Country",value:en,onChange:e=>ed(e.target.value),onClick:e=>e.stopPropagation(),style:{width:"100%",padding:"8px 12px",outline:"none",position:"sticky",top:0,background:"white",fontFamily:'"Open Sans"',fontSize:"14px",border:"none",borderBottom:"1px solid #e7e7ed"}}),eB.map(e=>(0,a.jsxs)("div",{onClick:()=>{D(e.sortname),es(!1),ed("")},style:{padding:"8px 16px",cursor:"pointer",display:"flex",alignItems:"center",gap:"8px",fontFamily:'"Open Sans"',fontSize:"14px"},onMouseEnter:e=>e.currentTarget.style.background="#f5f5f5",onMouseLeave:e=>e.currentTarget.style.background="transparent",children:[(0,a.jsx)("span",{className:`fi ${eT(e.sortname)}`}),(0,a.jsx)("span",{children:e.name})]},e.sortname)),0===eB.length&&(0,a.jsx)("div",{style:{padding:"8px 16px",color:"#828282",fontSize:"14px"},children:"No matching country found"})]})]}),ej.country&&(0,a.jsx)("span",{className:"mat-error",children:ej.country})]}),(0,a.jsxs)("div",{className:"form-row gdp_flx login-input",children:[(0,a.jsxs)("div",{className:"ct_code",style:{position:"relative",flexShrink:0},children:[(0,a.jsxs)("div",{onClick:()=>{eo(!el),es(!1)},className:"login-input-custom",children:[(0,a.jsx)("span",{children:eP?(0,a.jsxs)("span",{style:{display:"flex",alignItems:"center",gap:"4px"},children:[(0,a.jsx)("img",{width:"20px",src:eP.flag,alt:""}),(0,a.jsx)("span",{style:{fontSize:"13px",fontWeight:600},children:eP.dialCode})]}):(0,a.jsx)("span",{style:{color:"#6c6c6c",fontSize:"13px"},children:"Code*"})}),(0,a.jsx)("span",{style:{fontSize:"11px",color:"#828282"},children:"▼"})]}),el&&(0,a.jsxs)("div",{style:{position:"absolute",zIndex:50,width:"250px",marginTop:"4px",background:"white",border:"1px solid #e7e7ed",borderRadius:"10px",boxShadow:"0 4px 12px rgba(0,0,0,0.1)",maxHeight:"240px",overflowY:"auto"},children:[(0,a.jsx)("input",{type:"text",placeholder:"Search code",value:ei,onChange:e=>eg(e.target.value),onClick:e=>e.stopPropagation(),style:{width:"100%",padding:"8px 12px",outline:"none",position:"sticky",top:0,background:"white",fontFamily:'"Open Sans"',fontSize:"14px",border:"none",borderBottom:"1px solid #e7e7ed"}}),ek.map(e=>(0,a.jsxs)("div",{onClick:()=>{z(e.dialCode),eo(!1),eg("")},style:{padding:"8px 12px",cursor:"pointer",display:"flex",alignItems:"center",gap:"8px",fontFamily:'"Open Sans"',fontSize:"14px"},onMouseEnter:e=>e.currentTarget.style.background="#f5f5f5",onMouseLeave:e=>e.currentTarget.style.background="transparent",children:[(0,a.jsx)("img",{width:"20px",src:e.flag,alt:""}),(0,a.jsxs)("span",{children:[e.code," (",e.dialCode,")"]})]},e.code+e.dialCode))]})]}),(0,a.jsx)("div",{className:"phone-wrapper",children:(0,a.jsx)("input",{type:"tel",inputMode:"numeric",value:F,onChange:e=>H(e.target.value.replace(/[^0-9]/g,"")),placeholder:"Phone number*"})})]}),(ej.contactno||ej.countrycode)&&(0,a.jsx)("span",{className:"mat-error",children:ej.contactno||ej.countrycode}),(0,a.jsxs)("div",{className:"form-row login-input",children:[(0,a.jsxs)("div",{className:"input-field",children:[(0,a.jsx)("input",{type:"date",value:W,onChange:e=>K(e.target.value),max:(0,u.default)().format("YYYY-MM-DD")}),ej.dob&&(0,a.jsx)("span",{className:"mat-error",children:ej.dob})]}),(0,a.jsxs)("div",{className:"input-field",children:[(0,a.jsxs)("select",{value:Y,onChange:e=>_(e.target.value),children:[(0,a.jsx)("option",{value:"",disabled:!0,children:"Select Gender*"}),(0,a.jsx)("option",{value:"male",children:"Male"}),(0,a.jsx)("option",{value:"female",children:"Female"}),(0,a.jsx)("option",{value:"others",children:"Others"})]}),ej.gender&&(0,a.jsx)("span",{className:"mat-error",children:ej.gender})]})]}),(0,a.jsxs)("div",{className:"password-register login-input",style:{marginBottom:"4px"},children:[(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("input",{type:ep,value:V,onChange:e=>Z(e.target.value),placeholder:"Set Password*"}),(0,a.jsx)("span",{onClick:()=>ev(e=>"password"===e?"text":"password"),className:"absolute cursor-p",children:(0,a.jsx)("img",{src:"text"===ep?"/images/hide-icon.svg":"/images/unhide-icon.svg",width:"18",height:"18",alt:""})})]}),ej.password&&(0,a.jsx)("span",{className:"mat-error",children:ej.password})]}),(0,a.jsxs)("button",{type:"submit",disabled:et,className:"login-otp",children:["Submit",et&&(0,a.jsx)("span",{className:"spinner"})]})]})]}),(0,a.jsxs)("div",{className:"enter-label login-terms",children:["By signing up, you agree to our"," ",(0,a.jsx)(o.default,{href:"/terms-of-services",children:"Terms of Service"})," ","and"," ",(0,a.jsx)(o.default,{href:"/privacy-policy",children:"Privacy Policy"}),"."]})]}),(0,a.jsx)("div",{className:"right-login",children:(0,a.jsx)("div",{className:"auth-background"})}),ec&&(0,a.jsx)("div",{style:{position:"fixed",inset:0,zIndex:50,display:"flex",alignItems:"center",justifyContent:"center",background:"rgba(0,0,0,0.6)",padding:"16px"},children:(0,a.jsxs)("div",{className:"welcome-popup",style:{position:"relative",textAlign:"center"},children:[(0,a.jsx)("div",{className:"close-icon",style:{position:"absolute",right:"16px",top:"16px"},onClick:eG,children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:(0,a.jsx)("path",{d:"M13.2863 13.2863L4.71484 4.71484M13.2863 4.71484L4.71484 13.2863",stroke:"#6C6C6C",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,a.jsxs)("h2",{style:{color:"#2e2e2e",textAlign:"center",fontSize:"32px",fontWeight:600,display:"flex",alignItems:"center",justifyContent:"center",gap:"4px",marginTop:"20px"},children:["Welcome ",(0,a.jsx)("img",{src:"/images/celebrate.svg",alt:"Celebrate",style:{width:"24px",height:"24px"}})]}),(0,a.jsx)("p",{style:{color:"#6c6c6c",textAlign:"center",fontFamily:'"Open Sans"',fontSize:"16px",fontWeight:600,maxWidth:"330px",margin:"21px auto 18px"},children:"You are all set! Complete your portfolio and get discovered!"}),(0,a.jsx)("button",{className:"lets-go-btn",onClick:eG,children:"Let's Go!"})]})})]})}e.s(["default",0,function(){return(0,a.jsx)(c.LoginGuard,{children:(0,a.jsx)(p,{})})}],85966)}]);

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.