1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4938],{65256:function(e,t,s){"use strict";s.d(t,{b:function(){return n}});var l=s(57437);s(2265);let n=e=>{let{title:t,subTitle:s,children:n}=e;return(0,l.jsx)("div",{className:"flex flex-col gap-14 w-[320px] lg:w-[425px]",children:(0,l.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,l.jsxs)("div",{className:"flex flex-col gap-2 items-center",children:[(0,l.jsx)("h1",{className:"title-3 text-center",children:t}),(0,l.jsx)("p",{className:"body-large text-center",children:s})]}),n]})})}},98228:function(e,t,s){"use strict";s.d(t,{AuthPageMarkup:function(){return j}});var l=s(57437);s(2265);var n=s(47119),a=s.n(n),i={src:"/_next/static/media/JoinExpat.0af74a33.png",height:285,width:400,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAGCAAAAADbboAnAAAAQUlEQVR42gE2AMn/APb29tGmzcnLAMrf8fLe0ff2AMvJ9v/cvsTgAPf42OPY8OnnAOraubfF7u//APj51LDZ7+v7ZIwp5JZ05u4AAAAASUVORK5CYII=",blurWidth:8,blurHeight:6},r=s(33145),u=s(42586),o=s(38820);let c=e=>{let{children:t,className:s}=e,n=(0,o.S)(a().contentWrapper,s);return(0,l.jsx)("div",{className:n,children:(0,l.jsx)("div",{className:a().content,children:t})})};var d=s(51254);let p=()=>{let e=(0,u.useTranslations)("auth.loginPage.benefitsList"),t=e.rich("benefits",{benefit:e=>(0,l.jsxs)("li",{className:"flex gap-2.5 items-center title-8",children:[(0,l.jsx)("div",{className:"bg-white rounded-full flex items-center justify-center w-[20px] h-[20px]",children:(0,l.jsx)(d.J,{size:13})}),e]})});return(0,l.jsxs)("div",{className:"flex flex-col gap-4 max-w-[441px]",children:[(0,l.jsx)("h2",{className:"title-5",children:e("title")}),(0,l.jsx)("ul",{className:"flex flex-col gap-2",children:t})]})};var x=s(27989),h=s(67037),f=s(84751),m=e=>{let{onOpen:t}=e,s=(0,u.useTranslations)("auth.loginPage");return(0,l.jsxs)("div",{tabIndex:0,role:"button",onClick:t,className:"title-5 p-4 gap-3 flex items-center justify-between w-full h-16 bg-[#F8E4D2] my-12 rounded-md cursor-pointer",children:[s("benefitsList.title"),(0,l.jsx)("div",{className:"bg-white rounded-full flex items-center justify-center w-[25px] h-[25px]",children:(0,l.jsx)(f.T,{size:15})})]})},b=s(60178),v=s(63708),g=e=>{let{onClose:t}=e,s=(0,u.useTranslations)("auth.loginPage");return(0,l.jsx)("div",{className:"flex flex-col justify-end absolute w-full h-full z-10 bg-black bg-opacity-50",children:(0,l.jsxs)("div",{className:"bg-[#F8E4D2] w-full px-8 pb-10",children:[(0,l.jsx)("div",{className:"flex justify-end p-4",children:(0,l.jsx)(v.X,{className:"cursor-pointer",onClick:t,size:32})}),(0,l.jsxs)("div",{className:"flex flex-col gap-14 items-center",children:[(0,l.jsx)(r.default,{width:225,height:161,src:i,alt:s("imageAlt"),className:"mix-blend-multiply"}),(0,l.jsx)(p,{})]})]})})};let j=e=>{let{form:t,whyJoinMobile:s}=e,n=(0,u.useTranslations)("auth.loginPage"),{isAuthMobile:o}=(0,h.Z)(),d=(0,b.k)(!1);return(0,l.jsxs)("div",{className:a().main,children:[(0,l.jsxs)(c,{className:o?"bg-[#F9F9F9]":"bg-white",children:[(0,l.jsx)(x.P,{className:"w-[145px] h-[57px] lg:w-[201px] lg:h-[81px] mb-[25px] desktop:mb-[70px]"}),t,o&&s&&(0,l.jsx)(m,{onOpen:d.setTrue})]}),!o&&(0,l.jsx)(c,{className:"bg-[#F8E4D2]",children:(0,l.jsxs)("div",{className:"flex flex-col gap-14 items-center",children:[(0,l.jsx)(r.default,{src:i,alt:n("imageAlt"),className:"mix-blend-multiply"}),(0,l.jsx)(p,{})]})}),d.value&&(0,l.jsx)(g,{onClose:d.setFalse})]})}},27989:function(e,t,s){"use strict";s.d(t,{P:function(){return n}});var l=s(57437);s(2265);let n=e=>(0,l.jsxs)("svg",{id:"Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576.13 224.45",...e,children:[(0,l.jsx)("path",{d:"M294.07,163a11.89,11.89,0,0,0,4.08.48,10.75,10.75,0,0,0,4.8-1,15,15,0,0,0,3.84-2.4,10.41,10.41,0,0,0,2.4-3.85,15.69,15.69,0,0,0,1-5,12.53,12.53,0,0,0-2.88-8.64c-1.92-2.16-4.56-3.12-7.92-3.12h-5.28Zm61-10.33a37.88,37.88,0,0,1-4.8,18.49,34.85,34.85,0,0,1-13.2,13.2,36.14,36.14,0,0,1-18,4.8A34.57,34.57,0,0,1,306.79,187a43.76,43.76,0,0,1-12.48-7.44v44.65h-48V116h66.49a58,58,0,0,1,11.28,1A44.87,44.87,0,0,1,334.15,120a39.52,39.52,0,0,1,8.65,5.28,29.78,29.78,0,0,1,6.72,7.68A37.45,37.45,0,0,1,355,152.67Z"}),(0,l.jsx)("rect",{x:"96.5",width:"48.01",height:"108.5"}),(0,l.jsx)("polygon",{points:"90.02 197.08 48.01 197.08 48.01 183.88 77.3 183.88 77.3 156.51 48.01 156.51 48.01 143.07 90.02 143.07 90.02 115.95 0 115.95 0 224.45 90.02 224.45 90.02 197.08"}
1),(0,l.jsx)("polygon",{points:"432.82 0 413.13 22.57 393.45 0 346.88 0 346.88 98.18 346.88 108.5 394.89 108.5 394.89 54.25 413.13 75.14 431.38 54.25 431.38 108.5 479.39 108.5 479.39 0 432.82 0"}),(0,l.jsx)("polygon",{points:"479.63 115.95 479.63 163.96 503.87 163.96 503.87 224.45 551.88 224.45 551.88 163.96 576.13 163.96 576.13 115.95 479.63 115.95"}),(0,l.jsx)("path",{d:"M407.61,180.52l8.88-26.89,8.89,26.89Zm52.09-38.65L450.82,116H382.41l-29.77,85.7-7.92,22.8h48L399,206.21h35l6.48,18.24h48Z"}),(0,l.jsx)("path",{d:"M255.42,64.57l8.88-26.88,8.88,26.88ZM298.63,0H230L212,51.61v.24L192,108.5h48.49l6-18v-.24h35.52l6.24,18.24h48Z"}),(0,l.jsx)("polygon",{points:"190.36 169.24 231.41 115.95 179.08 115.95 163.96 135.87 147.87 115.95 95.3 115.95 137.79 169.48 95.3 224.45 147.63 224.45 164.2 202.84 181.48 224.45 234.05 224.45 190.36 169.24"})]})},21220:function(e,t,s){"use strict";s.d(t,{I:function(){return M}});var l=s(57437),n=s(2265),a=s(38820),i=s(64027),r=s.n(i),u=s(84049),o=s(63708),c=s(47910),d=s(75419),p=s(60178);let x=e=>{let t=(0,p.k)(!!e.value);return{hasValue:t.value,inputProps:{value:e.value,onInput:s=>{var l;let n=s.target;t.setValue(!!n.value),null===(l=e.onInput)||void 0===l||l.call(e,s)}}}},h=e=>{let t=(0,p.k)();return{focused:t.value,inputProps:{onFocus:s=>{var l;t.setTrue(),null===(l=e.onFocus)||void 0===l||l.call(e,s)},onBlur:s=>{var l;t.setFalse(),null===(l=e.onBlur)||void 0===l||l.call(e,s)}}}},f=e=>{let{onValueChange:t}=e;return t?{onInput:s=>{var l;t(s.target.value),null===(l=e.onInput)||void 0===l||l.call(e,s)}}:{}},m=e=>{let t=e,{hasValue:s,inputProps:l}=x(t),{focused:n,inputProps:a}=h(t={...t,...l}),i=f(t={...t,...a});return t={...t,...i},delete t.onValueChange,{hasValue:s,focused:n,props:t}},b=e=>(0,a.S)("\n h-[var(--size)]\n bg-white\n px-4 py-1.5\n rounded-md\n border-1\n border-[color:var(--input-default)]\n cursor-text\n relative\n font-suisse\n flex\n items-center\n gap-2\n ",e?"border-[color:var(--input-focused)]":"hover:border-[color:var(--input-hover)]"),v=(e,t)=>{let{plain:s,focused:l,hover:n}=g[e];return{"--input-default":s,"--input-focused":l,"--input-hover":n,"--size":"".concat(j[t],"px")}},g={default:{plain:"#C5C4C4",hover:"#9E9E9E",focused:"black"},error:{plain:"#F46368",hover:"#F46368",focused:"#F46368"}},j={default:51,big:58};var w=s(16682),A=s.n(w);let y=(0,n.forwardRef)((e,t)=>"mask"in e&&e.mask?(0,l.jsx)(A(),{maskChar:null,...e,inputRef:t}):(0,l.jsx)("input",{...e,ref:t}));y.displayName="InputMask";let M=e=>{let{color:t,size:s,label:i,onClear:p,className:x,startIcon:h,error:f,...j}
1=e,[w,A]=(0,n.useState)(e.type||"text"),M=(0,n.useRef)(null),{hasValue:N,focused:_,props:k}=m(j),C=N||_||!!e.placeholder,I="password"===e.type,L=(0,a.S)(b(_),x),P=(0,a.S)(r().label,C&&r().focusedLabel,C?"title-tags":"body-medium"),T=(0,a.S)(r().input,"".concat((null==e?void 0:e.disabled)&&"text-gray-400"," body-medium"),!e.label&&"h-full");return(0,l.jsxs)("div",{className:"flex flex-col gap-2.5 w-full",children:[(0,l.jsxs)("div",{className:(0,a.S)(L,x),onClick:()=>{var e;null===(e=M.current)||void 0===e||e.focus()},style:v(t||"default",s||"default"),children:[h||null,(0,l.jsxs)("div",{className:r().inputWrapper,children:[i?(0,l.jsx)("span",{className:P,children:i}):null,(0,l.jsx)(y,{ref:M,className:T,...k,type:w}),p&&N&&(0,l.jsx)("button",{type:"button",className:"h-full flex items-center",onClick:p,children:(0,l.jsx)(o.X,{size:16})}),I&&(0,l.jsx)("button",{type:"button",className:"h-full flex items-center",onClick:()=>{A(e=>"password"===e?"text":"password")},children:"password"!==w?(0,l.jsx)(c.M,{size:24}):(0,l.jsx)(u.b,{size:24})})]})]}),f?(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)(d.k,{color:g.error.plain,size:16}),(0,l.jsx)("p",{style:{color:g.error.plain},className:"body-small",children:f})]}):null]})}},54916:function(e,t,s){"use strict";s.d(t,{EI:function(){return b},Es:function(){return i},Wr:function(){return v},Ze:function(){return h},fW:function(){return x},jD:function(){return c},ld:function(){return f},rU:function(){return u},tR:function(){return p},tv:function(){return d},y3:function(){return m}});var l,n,a,i,r=s(53795);let u=s(27648).default,{redirect:o,usePathname:c,useRouter:d}=(0,r.iV)({locales:["en"]}),p="YYYY-MM-DD[T]HH:mm:ss",x="YYYY-MM-DD HH:mm:ss",h="MMMM D, YYYY",f="MMM D, YYYY",m=15,b="main-content";(l=a||(a={})).VariantAllColumnsHaveImages="ThirdColumnImages",l.VariantThirdColumnWithoutImages="ThirdColumnWithoutImages",(n=i||(i={})).expatInfo="Expat Info",n.education="Education",n.career="Career",n.housing="Housing",n.lifestyle="Lifestyle",n.expatServices="Expat services",n.articles="news & articles",n.hubs="Hubs",n.topics="Topics",n.none="none";let v="follow, index, max-snippet:-1, max-video-preview:-1, max-image-preview:large"},60178:function(e,t,s){"use strict";s.d(t,{k:function(){return n}});var l=s(2265);let n=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],[t,s]=(0,l.useState)(e),n=(0,l.useCallback)(()=>{s(!0)},[]),a=(0,l.useCallback)(()=>{s(!1)},[]),i=(0,l.useCallback)(()=>{s(e=>!e)},[]);return{value:t,setTrue:n,setFalse:a,setValue:s,toggle:i}}},67037:function(e,t,s){"use strict";var l=s(2265);t.Z=()=>{let[e,t]=(0,l.useState)({isJobsIframeMobile:!1,isMobile:!1,isTablet:!1,isLoaded:!1,isGridDesktop:!1,isGridTablet:!1,isAuthMobile:!1});return(0,l.useEffect)(()=>{let e={isJobsIframeMobile:window.matchMedia("(max-width: 550px)"),isAuthMobile:window.matchMedia("(max-width: 976px)"),isMobile:window.matchMedia("(max-width: 768px)"),isTablet:window.matchMedia("(min-width: 769px) and (max-width: 1280px)"),isGridDesktop:window.matchMedia("(min-width: 1200px)"),isGridTablet:window.matchMedia("(min-width: 860px) and (max-width: 1199px)")},s=()=>t({isJobsIframeMobile:e.isJobsIframeMobile.matches,isAuthMobile:e.isAuthMobile.matches,isMobile:e.isMobile.matches,isTablet:e.isTablet.matches,isGridDesktop:e.isGridDesktop.matches,isGridTablet:e.isGridTablet.matches,isLoaded:!0});return s(),Object.values(e).forEach(e=>e.addListener(s)),()=>Object.values(e).forEach(e=>e.removeListener(s))},[]),e}},38820:function(e,t,s){"use strict";s.d(t,{S:function(){return n}});var l=s(53335);let n=function(){for(var e=arguments.length,t=Array(e),s=0;s<e;s++)t[s]=arguments[s];return(0,l.m6)(t.filter(Boolean).flatMap(e=>e.split("\n")))}},53851:function(e,t,s){"use strict";s.d(t,{CountryProvider:function(){return i},useCountry:function(){return r}});var l=s(57437),n=s(2265);let a=(0,n.createContext)({country:{},setCountry:()=>{}}),i=e=>{let{children:t,initValue:s}=e,[i,r]=(0,n.useState)(s);return(0,l.jsx)(a.Provider,{value:{country:i,setCountry:r},children:t})},r=()=>(0,n.useContext)(a).country},47119:function(e){e.exports={main:"AuthPageMarkup_styles_main__7tasW",contentWrapper:"AuthPageMarkup_styles_contentWrapper__tZb_0",content:"AuthPageMarkup_styles_content__hxPXA",backLink:"AuthPageMarkup_styles_backLink__twqF6"}},64027:function(e){e.exports={inputWrapper:"Input_styles_inputWrapper__sTbAv",input:"Input_styles_input__Z9KeN",label:"Input_styles_label__QtoIZ",focusedLabel:"Input_styles_focusedLabel__Q_ptO"}}}]);
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.