PageSourceSearch

https://glotdojo.com/_next/static/chunks/2935.61c35668ea51cd2e.js

js glotdojo.com collected 2026-10-02 00:19:40 UTC 17,944 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2935],{2106:function(e,t,r){r.d(t,{Z:function(){return y}});var o=r(59499),n=r(4730),i=r(67294),l=r(42283),c=r(70643),a=r(50056),s=r(67211),p=c.default.div.withConfig({displayName:"inputstyle__InputField",componentId:"sc-10i3djc-0"})(["position:relative;.field-wrapper{position:relative;}&.icon-left,&.icon-right{.field-wrapper{display:flex;align-items:center;> .input-icon{position:absolute;top:0;bottom:auto;display:flex;align-items:center;justify-content:center;width:34px;height:40px;}}}&.icon-left{.field-wrapper{> .input-icon{left:0;right:auto;}> input{padding-left:34px;}}}&.icon-right{.field-wrapper{> .input-icon{left:auto;right:0;}> input{padding-right:34px;}}}label{display:block;color:",";font-size:",";font-weight:normal;margin-bottom:",";transition:0.2s ease all;}textarea,input{font-size:16px;padding:11px;display:block;width:100%;box-shadow:none;border-radius:4px;box-sizing:border-box;border:",";transition:border-color 0.2s ease;background-color:",";color:",";border-color:",";&:focus{outline:none;border-color:",";}&:disabled{color:",";}::placeholder{color:",";opacity:1;}:-ms-input-placeholder{color:",";}::-ms-input-placeholder{color:",";}}textarea{min-height:150px;}&.is-material{label{position:absolute;left:0;top:10px;}input,textarea{border-radius:0;border-top:0;border-left:0;border-right:0;padding-left:0;padding-right:0;}textarea{min-height:40px;padding-bottom:0;}.highlight{position:absolute;height:1px;top:auto;left:50%;bottom:0;width:0;pointer-events:none;transition:all 0.2s ease;}&.icon-left,&.icon-right{.field-wrapper{flex-direction:row-reverse;> .input-icon{width:auto;}> input{flex:1;}}}&.icon-left{.field-wrapper{> input{padding-left:20px;}}label{top:-15px;font-size:12px;}}&.icon-right{.field-wrapper{> input{padding-right:20px;}}}&.is-focus{input{border-color:",";}label{top:-16px;font-size:12px;color:",";}.highlight{width:100%;height:2px;background-color:",";left:0;}}}",""],(0,a.R)("colors.labelColor","#767676"),(0,a.R)("fontSizes.16","16px"),(0,a.R)("space.3","8px"),(function(e){return e.showBorder?"solid 1px":"none"}),(0,a.R)("colors.inputBackground","var(--color-21)"),(0,a.R)("colors.inputColor","var(--color-EB)"),(0,a.R)("colors.inputBorderColor","#028489"),(0,a.R)("colors.primary","#028489"),(0,a.R)("colors.inActiveColor","#808080"),(0,a.R)("colors.placeholderColor","var(--color-41)"),(0,a.R)("colors.placeholderColor","var(--color-41)"),(0,a.R)("colors.placeholderColor","var(--color-41)"),(0,a.R)("colors.inactiveIcon","#ebebeb"),(0,a.R)("colors.textColor","#484848"),(0,a.R)("colors.primary","#028489"),s.hG),u=c.default.button.withConfig({displayName:"inputstyle__EyeButton",componentId:"sc-10i3djc-1"})(["width:43px;height:40px;border:0;padding:0;margin:0;top:0;right:0;position:absolute;outline:none;cursor:pointer;box-shadow:none;display:flex;align-items:center;justify-content:center;background-color:transparent;> span{width:12px;height:12px;display:block;border:solid 1px ",";border-radius:75% 15%;transform:rotate(45deg);position:relative;&:before{content:'';display:block;width:4px;height:4px;border-radius:50%;left:3px;top:3px;position:absolute;border:solid 1px ",";}}&.eye-closed{> span{&:after{content:'';display:block;width:1px;height:20px;left:calc(50% - 1px / 2);top:-4px;position:absolute;background-color:",";transform:rotate(-12deg);}}}"],(0,a.R)("colors.textColor","#484848"),(0,a.R)("colors.textColor","#484848"),(0,a.R)("colors.textColor","#484848")),d=p,g=r(85893),h=["label","value","onBlur","onFocus","onChange","inputType","isMaterial","icon","iconPosition","passwordShowHide","className","placeholder","controlOuter","nameValidate","rules","showBorder"];function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){(0,o.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEac
1h((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var x=function(e){var t=e.label,r=e.value,o=e.onBlur,c=e.onFocus,a=e.onChange,s=e.inputType,p=e.isMaterial,f=e.icon,x=e.iconPosition,y=e.passwordShowHide,b=e.className,v=e.placeholder,j=e.controlOuter,O=e.nameValidate,w=e.rules,P=e.showBorder,C=(0,n.Z)(e,h),S=(0,i.useState)({toggle:!0,focus:!1,value:r}),R=S[0],k=S[1];(0,i.useEffect)((function(){k(m(m({},R),{},{value:r}))}),[r]);var B,F,E=function(e){k(m(m({},R),{},{focus:!0})),c(e)},D=function(e){k(m(m({},R),{},{focus:!1})),o(e)},N=function(e){k(m(m({},R),{},{value:e.target.value})),a(e.target.value)},_=["reusecore__input"];p&&_.push("is-material"),f&&x&&_.push("icon-".concat(x)),b&&_.push(b),t&&(F=t.replace(/\s+/g,"_").toLowerCase());var T=!0===p?"bottom":"top",Z=t&&(0,g.jsx)("label",{htmlFor:F,children:t});switch(s){case"textarea":B=(0,g.jsx)("textarea",m(m({},C),{},{id:F,name:F,value:R.value,onChange:N,onBlur:D,onFocus:E}));break;case"password":B=(0,g.jsxs)("div",{className:"field-wrapper",children:[(0,g.jsx)("input",m(m({},C),{},{id:F,name:F,type:R.toggle?"password":"text",value:R.value,onChange:N,onBlur:D,onFocus:E,placeholder:v})),y&&(0,g.jsx)(u,{onClick:function(){k(m(m({},R),{},{toggle:!R.toggle}))},className:R.toggle?"eye":"eye-closed",children:(0,g.jsx)("span",{})})]});break;default:B=(0,g.jsxs)("div",{className:"field-wrapper",children:[(0,g.jsx)("input",m(m({},C),{},{id:F,name:F,type:s,value:R.value,onChange:N,onBlur:D,onFocus:E,placeholder:v})),f&&(0,g.jsx)("span",{className:"input-icon",children:f})]})}return(0,g.jsxs)(d,m(m({className:"".concat(_.join(" ")," ").concat(!0===R.focus||""!==R.value?"is-focus":""),showBorder:P},C),{},{children:["top"===T&&Z,j&&O?(0,g.jsx)(l.Qr,{defaultValue:R.value,as:B,name:O||"",control:j,rules:w}):B,p&&(0,g.jsx)("span",{className:"highlight"}),"bottom"===T&&Z]}))};x.defaultProps={inputType:"text",isMaterial:!1,iconPosition:"left",onBlur:function(){},onFocus:function(){},onChange:function(){},placeholder:""};var y=x},67211:function(e,t,r){r.d(t,{Tq:function(){return l},hG:function(){return c},jn:function(){return n},ui:function(){return i}});var o=r(16678),n=(0,o.variant)({key:"buttonStyles"}),i=(0,o.variant)({key:"colorStyles",prop:"colors"}),l=(0,o.variant)({key:"sizeStyles",prop:"size"}),c=(0,o.variant)({key:"inputStyles",prop:"inputstyle"});(0,o.variant)({key:"cards"})},82935:function(e,t,r){r.r(t),r.d(t,{default:function(){return he}});var o=r(59499),n=r(4730),i=r(67294),l=r(70643),c=r(50056),a=r(45697),s=r.n(a),p=r(19710),u=r(99476);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){(0,o.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var h=s().shape(g(g({},p.p6),{},{caveat:p.TX,buttonAction:u.W})),f={style:{},caveat:{style:{},content:"(*) B\u1ea1n l\u01b0u \xfd \u0111i\u1ec1n \u0111\u1ea7y \u0111\u1ee7 v\xe0 \u0111\xfang c\xe1c th\xf4ng tin tr\u01b0\u1edbc khi nh\u1ea5n n\xfat \u0110\u0102NG K\xdd nh\xe9!"},buttonAction:u.R},m=s().shape(g(g({},p.p6),{},{icon:p.d3,text:p.TX})),x={style:{},icon:{style:{},content:""},text:{style:{},content:"\u0110i\u1ec1n v\xe0o b\u1ea3n \u0111\u0103ng k\xfd "}},y=s().shape(g(g({},p.p6),{},{items:g(g({},p.p6),{},{content:s().arrayOf(m)}),seperateImage:p.d3})),b={style:{},items:{style:{},content:[x,x,x,x]},seperateImage:{style:{},content:""}},v=s().shape(g(g({},p.p6),{},{form:h})),j={style:{},form:f},O=s().shape(g(g({},p.p6),{},{steps:y})),w={style:{},steps:b},P=(s().shape(g(g({},p.p6),{},{title:p.TX,left:v,right:O})),{style:{},title:{style:{},content:"\u0110\u0103ng k\xfd thanh to\xe1n t\u1ea1i nh\xe0 - T\u1eeb \u0111i\u1ec3n ti\u1ebfng Trung cao c\u1ea5p"},left:j,right:w}),C=r(2534),S=r(78561),R=r(80527),k=r(19790),B=r(16835);var F=r(27361),E=r.n(F),D=r(9669),N=r.n(D),_=r(99547),T=r(42283),Z=r(55558),I=r(14416),q=r(84119),z=r(13048),A=r(2106),H=r(60419),G=r(19861),V=r(37642),W=r(74746),L=r(12175),M=(0,l.default)(S.Flex).withConfig({displayName:"registerFormstyle__RegisterFormWrapper",componentId:"sc-1kobf0c-0"})(["flex-direction:column;align-items:center;select{border:none;width:100%;color:",";}"],(0,c.R)("colors.inputColor","#808080")),X=r(85893),U=["item","t","user"];function Q(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function J(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?Q(Object(r),!0).forEach((function(t){(0,o.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Q(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var K=function(e){var t,r,o,l,a,s,p,u=e.item;!function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(u.style);var d=u.caveat,g=u.buttonAction,h=e.t,f=e.user,m=(0,n.Z)(e,U),x=(0,i.useContext)(W.O),y=x.proPlans,b=x.setSelectedProPlan,v=x.selectedProPlan,j=x.openRegisterSuccessPopup,O=x.campaign,w=(0,i.useState)(f.displayName||""),P=w[0],R=w[1],k=(0,i.useState)(f.email||""),F=k[0],D=k[1],Z=(0,i.useState)(f.phoneNumber||""),I=Z[0],Q=Z[1],K=(0,i.useState)(""),Y=(K[0],K[1]),$=(0,i.useState)(""),ee=$[0],te=$[1],re=(0,T.cI)({}),oe=re.errors,ne=re.trigger,ie=re.control,le=re.setError,ce=(0,c.R)("colors.pricingSectionRegisterFormBG")(m),ae=(0,c.R)("colors.headerSectionButtonBG")(m),se=(0,c.R)("colors.headerSectionButtonText")(m);g.style=J(J({},g.style),{},{color:se,background:ae});var pe=(0,c.R)("colors.actionButtonHoverColor")(m);return(0,X.jsx)(z.Z,{px:30,py:40,style:{background:ce},children:(0,X.jsxs)(M,{children:[(0,X.jsx)(C.Z,{fontSize:32,fontWeight:600,color:"pricingSectionRegisterSectionRegisterFormTitleColor",content:h("regiserForm.title")}),(0,X.jsxs)(S.Box,{width:"100%",mb:36,children:[(0,X.jsxs)(S.Box,{mt:36,children:[(0,X.jsx)(A.Z,{value:P,onChange:R,placeholder:h("regiserForm.namePlaceHolder"),rules:{required:"true"},controlOuter:ie,nameValidate:"registerName",showBorder:!0}),(0,X.jsx)(H.xv,{color:"danger",fontSize:14,children:"required"===(null===(t=oe.registerName)||void 0===t?void 0:t.type)&&"(*)".concat((0,V.g)(h,"regiserForm.validate.name.required"))})]}),(0,X.jsxs)(S.Box,{mt:36,children:[(0,X.jsx)(A.Z,{value:F,onChange:D,placeholder:h("regiserForm.emailPlaceHolder"),rules:{required:"true",validate:{email:function(e){return _.GLOT_EMAIL_REGEX.lastIndex=0,_.GLOT_EMAIL_REGEX.test(e)}}},controlOuter:ie,nameValidate:"registerEmail",showBorder:!0}),(0,X.jsxs)(H.xv,{color:"danger",fontSize:14,children:["required"===(null===(r=oe.registerEmail)||void 0===r?void 0:r.type)&&"(*)".concat((0,V.g)(h,"regiserForm.validate.email.required")),"email"===(null===(o=oe.registerEmail)||void 0===o?void 0:o.type)&&"(*)".concat((0,V.g)(h,"regiserForm.validate.email.invalid"))]})]}
1),(0,X.jsxs)(S.Box,{mt:36,children:[(0,X.jsx)(A.Z,{value:I,onChange:Q,placeholder:h("regiserForm.phonePlaceHolder"),rules:{required:"true",validate:{validPhoneNumber:function(e){return _.PHONE_NUMBER_REGEX.test(e)}}},controlOuter:ie,nameValidate:"registerPhone",showBorder:!0}),(0,X.jsxs)(H.xv,{color:"danger",fontSize:14,children:["required"===(null===(l=oe.registerPhone)||void 0===l?void 0:l.type)&&"(*)".concat((0,V.g)(h,"regiserForm.validate.phone.required")),"validPhoneNumber"===(null===(a=oe.registerPhone)||void 0===a?void 0:a.type)&&"(*)".concat((0,V.g)(h,"regiserForm.validate.phone.invalid"))]})]}),(0,X.jsxs)(S.Box,{mt:36,children:[(0,X.jsxs)(S.Box,{style:{position:"relative"},children:[(0,X.jsx)(A.Z,{value:h("regiserForm.packagePlaceHolder"),onChange:Y,placeholder:h("regiserForm.packagePlaceHolder"),rules:{},controlOuter:ie,disabled:!0,nameValidate:"registerPackage",showBorder:!0}),(0,X.jsx)(S.Box,{style:{position:"absolute",top:0,right:0,height:"100%",display:"flex",width:"70%",flexDirection:"column",justifyContent:"center"},children:(0,X.jsx)(q.Ph,{id:"location",name:"location",style:{border:"none"},width:"50%",value:v,onChange:function(e){b(e.target.value)},children:y.map((function(e,t){return(0,X.jsx)("option",{value:t,children:E()(e,"CODOptionText","")},t)}))})})]}),(0,X.jsx)(H.xv,{color:"danger",fontSize:14,children:"required"===(null===(s=oe.registerPackage)||void 0===s?void 0:s.type)&&"(*)".concat((0,V.g)(h,"regiserForm.validate.package.required"))})]}),(0,X.jsxs)(S.Box,{mt:36,children:[(0,X.jsx)(A.Z,{value:ee,onChange:te,placeholder:h("regiserForm.addressPlaceHolder"),rules:{required:"true"},controlOuter:ie,nameValidate:"registerAddress",showBorder:!0}),(0,X.jsx)(H.xv,{color:"danger",fontSize:14,children:"required"===(null===(p=oe.registerAddress)||void 0===p?void 0:p.type)&&"(*)".concat((0,V.g)(h,"regiserForm.validate.address.required"))})]})]}),(0,X.jsx)(C.Z,J({mb:16},d)),(0,X.jsx)(G.Z,J({fontSize:[18,24,24,24],minWidth:["100%",294,294,294],minHeight:64,onClick:function(){ne(["registerName","registerEmail","registerPhone","registerAddress"]).then((function(e){if(!y[v])return le("registerPackage",{type:"required",message:"Dont Forget Your Username Should Be Cool!"});e&&function(){if(y[v]){var e=y[v],t=y[v].pricing,r="".concat(t.value," ").concat(t.unit),o=y[v].body.currentPrice.content,n={"entry.773927311":(0,L.K)(e,"EJOY_CODE","ejoy-english-pro-2-year"),"entry.260538333":O,"entry.457880295":P,"entry.2053005039":F,"entry.553970135":I,"entry.1026804322":ee,"entry.1632510379":"".concat(r," (").concat(o,")"),"entry.849372678":t.discount,"entry.1829994381":y[v].body.currentPrice.content},i=Object.entries(n).map((function(e){var t=(0,B.Z)(e,2),r=t[0],o=t[1];return"".concat(r,"=").concat(encodeURIComponent(o))})).join("&");N().post("https://docs.google.com/forms/u/2/d/e/1FAIpQLSfDigohg4Lf3VpFSaRb0VIA5nJQCSPaH1_gWRpVWu6RQelUUA/formResponse",i,{headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then((function(e){j()})).catch((function(e){j()}))}}()}))},hoverBackground:pe},g))]})})};K.defaultProps={item:f,user:{}};var Y=(0,Z.withTranslation)("pricing")((0,I.$j)((function(e){return{user:e.data.user}}),(function(e){return{}}))((0,l.withTheme)(K))),$=r(17975),ee=["item","textColor","isSeperate"];function te(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function re(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?te(Object(r),!0).forEach((function(t){(0,o.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):te(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var oe=function(e){var t=e.item,r=(t.style,t.icon),o=t.text,i=e.textColor,l=e.isSeperate,c=void 0!==l&&l,a=(0,n.Z)(e,ee);return c&&(o.style.opacity=0,r.style={marginLeft:"30px"}),(0,X.jsx)($.Z,re(re({},a),{},{bigTextColor:i,smallTextColor:i,item:{smallTitle:o,image:r}}))};oe.defaultProps={item:x};var ne=oe,ie=(0,l.default)(S.Box).withConfig({displayName:"registerFormSectionstyle__RegisterFormSectionWrapper",componentId:"sc-14wqr2
1n-0"})([""]),le=(0,l.default)(S.Flex).withConfig({displayName:"registerFormSectionstyle__RegisterBodyWrapper",componentId:"sc-14wqr2n-1"})(["@media (max-width:768px){flex-direction:column;}"]),ce=["item"],ae=["item","item"];function se(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function pe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?se(Object(r),!0).forEach((function(t){(0,o.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):se(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var ue=function(e){var t=e.item,r=(t.style,t.form);return(0,X.jsx)(S.Box,{flex:1,children:(0,X.jsx)(Y,{item:r})})},de=function(e){var t=e.item,r=(t.style,t.steps),o=r.items,l=r.seperateImage,a=(0,n.Z)(e,ce),s=(0,c.R)("colors.pricingSectionRegisterSectionStepTextColor")(a);return(0,i.useEffect)((function(){(0,k.i)("cod-section")}),[]),(0,X.jsx)(S.Flex,{justifyContent:"center",alignItems:"center",flex:1,ml:[0,128,128,128],children:(0,X.jsx)(S.Flex,{flexDirection:"column",justifyContent:"center",alignItems:"flex-start",children:o.content.map((function(e,t){return(0,X.jsxs)(S.Box,{children:[(0,X.jsx)(ne,{mt:12,item:e,textColor:s}),t<o.content.length-1&&(0,X.jsx)(ne,{item:{text:{style:{},content:e.text.content},icon:l},mt:12,textColor:s,isSeperate:!0})]},t)}))})})},ge=function(e){var t=e.item,r=(t.style,t.title),o=t.left,i=t.right,l=(e.item,(0,n.Z)(e,ae)),a=(0,c.R)("colors.pricingSectionRegisterSectionBG")(l);return(0,X.jsx)(ie,{id:"cod-section",pt:53,pb:139,style:{background:a},children:(0,X.jsxs)(R.Z,{children:[(0,X.jsx)(C.Z,pe(pe({textAlign:"center",fontSize:32,fontWeight:600,color:"pricingSectionRegisterSectionTitleColor"},r),{},{mb:72})),(0,X.jsxs)(le,{children:[(0,X.jsx)(ue,{item:o}),(0,X.jsx)(de,pe({item:i},l))]})]})})};ge.defaultProps={item:P};var he=(0,l.withTheme)(ge)}}]);

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.