1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9304],{29932:function(e){e.exports=function(e,t){for(var n=-1,u=null==e?0:e.length,i=Array(u);++n<u;)i[n]=t(e[n],n,e);return i}},62663:function(e){e.exports=function(e,t,n,u){var i=-1,r=null==e?0:e.length;for(u&&r&&(n=e[++i]);++i<r;)n=t(n,e[i],i,e);return n}},49029:function(e){var t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(t)||[]}},18674:function(e){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},80531:function(e,t,n){var u=n(62705),i=n(29932),r=n(1469),o=n(33448),a=1/0,c=u?u.prototype:void 0,s=c?c.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(r(t))return i(t,e)+"";if(o(t))return s?s.call(t):"";var n=t+"";return"0"==n&&1/t==-a?"-0":n}},35393:function(e,t,n){var u=n(62663),i=n(53816),r=n(58748),o=RegExp("['â]","g");e.exports=function(e){return function(t){return u(r(i(t).replace(o,"")),e,"")}}},69389:function(e,t,n){var u=n(18674)({Ã:"A",Ã:"A",Ã:"A",Ã:"A",Ã:"A",Ã
:"A",à :"a",á:"a",â:"a",ã:"a",ä:"a",Ã¥:"a",Ã:"C",ç:"c",Ã:"D",ð:"d",Ã:"E",Ã:"E",Ã:"E",Ã:"E",è:"e",é:"e",ê:"e",ë:"e",Ã:"I",Ã:"I",Ã:"I",Ã:"I",ì:"i",Ã:"i",î:"i",ï:"i",Ã:"N",ñ:"n",Ã:"O",Ã:"O",Ã:"O",Ã:"O",Ã:"O",Ã:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ã:"U",Ã:"U",Ã:"U",Ã:"U",ù:"u",ú:"u",û:"u",ü:"u",Ã:"Y",ý:"y",ÿ:"y",Ã:"Ae",æ:"ae",Ã:"Th",þ:"th",Ã:"ss",Ä:"A",Ä:"A",Ä:"A",Ä:"a",Ä:"a",Ä
:"a",Ä:"C",Ä:"C",Ä:"C",Ä:"C",Ä:"c",Ä:"c",Ä:"c",Ä:"c",Ä:"D",Ä:"D",Ä:"d",Ä:"d",Ä:"E",Ä:"E",Ä:"E",Ä:"E",Ä:"E",Ä:"e",Ä:"e",Ä:"e",Ä:"e",Ä:"e",Ä:"G",Ä:"G",Ä :"G",Ä¢:"G",Ä:"g",Ä:"g",Ä¡:"g",Ä£:"g",Ĥ:"H",Ħ:"H",Ä¥:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Ä®:"I",İ:"I",Ä©:"i",Ä«:"i",Ä:"i",į:"i",ı:"i",Ä´:"J",ĵ:"j",Ķ:"K",Ä·:"k",ĸ:"k",Ĺ:"L",Ä»:"L",Ľ:"L",Ä¿:"L",Å:"L",ĺ:"l",ļ:"l",ľ:"l",Å:"l",Å:"l",Å:"N",Å
:"N",Å:"N",Å:"N",Å:"n",Å:"n",Å:"n",Å:"n",Å:"O",Å:"O",Å:"O",Å:"o",Å:"o",Å:"o",Å:"R",Å:"R",Å:"R",Å:"r",Å:"r",Å:"r",Å:"S",Å:"S",Å:"S",Å :"S",Å:"s",Å:"s",Å:"s",Å¡:"s",Å¢:"T",Ť:"T",Ŧ:"T",Å£:"t",Å¥:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Å®:"U",Ű:"U",Ų:"U",Å©:"u",Å«:"u",Å:"u",ů:"u",ű:"u",ų:"u",Å´:"W",ŵ:"w",Ŷ:"Y",Å·:"y",Ÿ:"Y",Ź:"Z",Å»:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Å:"Oe",Å:"oe",Å:"'n",Å¿:"s"});e.exports=u},93157:function(e){var t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return t.test(e)}},2757:function(e){var t="\ud800-\udfff",n="\\u2700-\\u27bf",u="a-z\\xdf-\\xf6\\xf8-\\xff",i="A-Z\\xc0-\\xd6\\xd8-\\xde",r="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",o="['â]",a="["+r+"]",c="["+u+"]",s="[^"+t+r+"\\d+"+n+u+i+"]",f="(?:\ud83c[\udde6-\uddff]){2}",l="[\ud800-\udbff][\udc00-\udfff]",d="["+i+"]",x="(?:"+c+"|"+s+")",v="(?:"+o+"(?:d|ll|m|re|s|t|ve))?",p="(?:"+o+"(?:D|LL|M|RE|S|T|VE))?",g="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\ud83c[\udffb-\udfff])?",h="[\\ufe0e\\ufe0f]?",m="(?:\\u200d(?:"+["[^"+t+"]",f,l].join("|")+")"+h+g+")*",y="(?:"+["["+n+"]",f,l].join("|")+")"+(h+g+m),w=RegExp([d+"?"+c+"+"+v+"(?="+[a,d,"$"].join("|")+")","(?:"+d+"|"+s+")+"+p+"(?="+[a,d+x,"$"].join("|")+")",d+"?"+x+"+"+v,d+"+"+p,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",y].join("|"),"g");e.exports=function(e){return e.match(w)||[]}},53816:function(e,t,n){var u=n(69389),i=n(79833),r=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
17f]/g,o=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=i(e))&&e.replace(r,u).replace(o,"")}},33448:function(e,t,n){var u=n(44239),i=n(37005);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==u(e)}},45021:function(e,t,n){var u=n(35393)(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()});e.exports=u},79833:function(e,t,n){var u=n(80531);e.exports=function(e){return null==e?"":u(e)}},58748:function(e,t,n){var u=n(49029),i=n(93157),r=n(79833),o=n(2757);e.exports=function(e,t,n){return(e=r(e),void 0===(t=n?void 0:t))?i(e)?o(e):u(e):e.match(t)||[]}},94416:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/authorize",function(){return n(68276)}])},3949:function(e,t,n){"use strict";n.d(t,{C:function(){return u}});let u={FACEBOOK:"facebook",GOOGLE:"google",LINE:"line"};Object.values(u)},68276:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return m},default:function(){return y}});var u=n(85893),i=n(67294),r=n(6258),o=n(11163),a=n(41609),c=n.n(a),s=n(45021),f=n.n(s),l=n(33299),d=n(88152),x=n(61638),v=n(3949),p=n(36107);let g=()=>(0,u.jsxs)("svg",{className:"animate-spin text-black",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",style:{height:24,width:24},children:[(0,u.jsx)("circle",{className:"opacity-50",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,u.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]});var h=e=>{let{sessionLogin:t}=e,n=(0,o.useRouter)(),[a,s]=(0,i.useState)(!0),h=(0,i.useRef)(null),[m,y]=(0,i.useState)(),w=(0,i.useCallback)(async()=>{let e=window;e&&e.ReactNativeWebView&&e.ReactNativeWebView.postMessage(JSON.stringify(t)),s(!0);try{var u,i,o,a;r.Z.set("randomAvatar","/images/new-ui/avatar/avatar-".concat(Math.floor(5*Math.random()),".svg"));let e=sessionStorage.getItem("locale")||"th",g=t.user.provider===v.C.LINE?(null==t?void 0:null===(u=t.user)||void 0===u?void 0:u.accountID)||"":f()(null==t?void 0:null===(i=t.user)||void 0===i?void 0:i.accountID)||"",h=await x.hi.checkValidateSocial({login_type:t.user.provider,key_login:g},e);if(["ok","OK"].includes(null==h?void 0:null===(o=h.data)||void 0===o?void 0:o.status)){if(!c()(null==t?void 0:t.user)){let e={keyLogin:g,loginType:t.user.provider,firstName:t.user.name.split(" ")[0]||"",lastName:t.user.name.split(" ")[1]||"",email:t.user.email||"",profileImage:t.user.image||""};r.Z.set("session",JSON.stringify(e)),r.Z.set("newAccount",JSON.stringify({email:t.user.email||"",first_name:t.user.name.split(" ")[0]||"",last_name:t.user.name.split(" ")[1]||"",loginType:p.Ez.GOOGLE,profile_url:t.user.image||"",key_login:g})),r.Z.remove("updateAcc")}n.push("/".concat(e,"/register"),"/".concat(e,"/register"),{locale:e})}else{let u={login_type:null==t?void 0:null===(a=t.user)||void 0===a?void 0:a.provider,value:g,country_code:"",device:"Web",ref_id_verify:""},i=await x.hi.login(u,e),o=i.data.token,c=i.data.tokenTicket||"",f=(await x.hi.getVisitorProfile(!0,o,e)).data;if(!1===f.isUpdateAccount)r.Z.set("updateAcc",JSON.stringify({...f,token:o,tokenTicket:c})),r.Z.remove("newAccount"),n.push("/".concat(e,"/register"));else{await (0,l.signOut)({redirect:!1}),await (0,l.signIn)("bypass",{accessToken:o,tokenTicket:c,locale:e,redirect:!1}),(0,d.K9)(),r.Z.remove("account"),s(!1);let t=r.Z.get("last_page");t?window.location="/".concat(e,"/").concat(t):n.push("/".concat(e,"/"),"/".concat(e,"/"),{locale:e})}}}catch(e){s(!1),n.push("/".concat(m,"/"),"/".concat(m,"/"),{locale:m})}},[t,n,m]);return(0,i.useEffect)(()=>{h.current||(h.current=!0,w())},[w]),(0,i.useEffect)(()=>{r.Z.set("session",JSON.stringify(t))},[]),(0,u.jsx)("div",{className:"d-flex vh-100 align-items-center justify-content-center",children:(0,u.jsx)("div",{className:"mobile-container mx-auto text-center d-flex justify-content-center",children:a?(0,u.jsx)(g,{className:"text-white"}):(0,u.jsx)("div",{className:"text-white",children:"Try Again"})})})},m=!0,y=e=>(0,u.jsx)(h,{...e})}},function(e){e.O(0,[8166,4885,2606,1609,2240,2888,9774,179],function(){return e(e.s=94416)}),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.