1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2392],{98068:function(e,c,a){"use strict";a.d(c,{Z:function(){return h}});var b=a(67294);let d="undefined"!=typeof window?b.useLayoutEffect:b.useEffect;var f=d,g=a(85893),h=function(c){let{children:d,defer:a=!1,fallback:e=null}=c,[h,i]=b.useState(!1);return f(()=>{a||i(!0)},[a]),b.useEffect(()=>{a&&i(!0)},[a]),(0,g.jsx)(b.Fragment,{children:h?d:e})}},54961:function(f,b,a){"use strict";a.r(b),a.d(b,{"__N_SSG":function(){return r},default:function(){return s}});var c=a(97334),g=a.n(c),h=a(67294),i={src:"/_next/static/media/password-hide.a73b45e2.svg",height:8,width:22},j={src:"/_next/static/media/password-view.1814e13d.svg",height:17,width:22},d=a(9669),k=a.n(d),l=a(51702),e=a(25675),m=a.n(e),n=a(85893),o=o=>{let{locale:y}=o,{0:p,1:z}=(0,h.useState)(""),{0:q,1:A}=(0,h.useState)(""),{0:b,1:B}=(0,h.useState)(""),{0:r,1:C}=(0,h.useState)(""),{0:s,1:D}=(0,h.useState)(""),{0:c,1:E}=(0,h.useState)(""),{0:t,1:F}=(0,h.useState)(!1),{0:u,1:G}=(0,h.useState)(!0),{0:v,1:H}=(0,h.useState)(!1),{0:w,1:I}=(0,h.useState)(!0),{t:a}=(0,l.$G)(""),d=g().parse(window.location.search),e=d["?uuid"],x=d.token;console.log(e);let J={token:x,uuid:e,new_password:p,confirm_new_password:r},f=d=>{d.preventDefault();let b=1,c=1;p.length>5?(A(""),B("green")):(A(a("ForgotPassword.text13")),B("red"),b=2),r==p&&1==b?(D(""),E("green")):(D(a("ForgotPassword.text14")),E("red"),c=2),2!==c&&2!==b&&k().post("".concat("https://backend.loveyouflower.com/api/user/forgot-password"),J).then(()=>{alert(a("ForgotPassword.text15")),"en"===y?window.location.href="/en/page/account/sign-in":window.location.href="/page/account/sign-in"}).catch(()=>{alert(a("ForgotPassword.text16"))})};return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:"container ibm-r",children:(0,n.jsxs)("div",{className:"row",children:[(0,n.jsx)("div",{className:"col-12 col-md-1"}),(0,n.jsx)("div",{className:"col-12 col-md-10",children:(0,n.jsxs)("div",{className:"bg-signup-success text-center",children:[(0,n.jsx)("div",{className:"f-24 txt-7d mt-4",children:a("ForgotPassword.text6")}),(0,n.jsx)("div",{className:"txt-4d mt-2 mb-3",dangerouslySetInnerHTML:{__html:a("ForgotPassword.text7")}}),(0,n.jsxs)("div",{className:"row mt-3",children:[(0,n.jsx)("div",{className:"col-md-4"}),(0,n.jsx)("div",{className:"col-md-4 mb-3 ",children:(0,n.jsxs)("form",{className:"form",onSubmit:f,children:[(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{className:"form__group_chk_out field mb-3",style:{width:"100%",backgroundColor:"#fff"},children:[(0,n.jsx)("input",{style:{borderColor:b},onChange:a=>z(a.target.value),className:"form__field_chk_out",placeholder:a("ForgotPassword.text8"),name:"customer_password",id:"password",type:t?"text":"password"}),(0,n.jsx)("i",{toggle:"#password-field",className:"field-icon",onClick(){G(!u),F(!t)},children:(0,n.jsx)(m(),{src:u?i:j,alt:""})}),(0,n.jsx)("label",{htmlFor:"customer_password",className:"form__label_chk_out",children:a("ForgotPassword.text9")}),(0,n.jsx)("small",{style:{color:b},children:q})]}),(0,n.jsxs)("div",{className:"form__group_chk_out field mb-3",style:{width:"100%",backgroundColor:"#fff"},children:[(0,n.jsx)("input",{style:{borderColor:c},onChange:a=>C(a.target.value),className:"form__field_chk_out",placeholder:a("ForgotPassword.text10"),name:"customer_password_confirm",id:"password_confirm",type:v?"text":"password"}),(0,n.jsx)("i",{toggle:"#password-field",className:"field-icon",onClick(){I(!w),H(!v)},children:(0,n.jsx)(m(),{src:w?i:j,alt:""})}),(0,n.jsx)("label",{htmlFor:"customer_password_confirm",className:"form__label_chk_out",children:a("ForgotPassword.text11")}),(0,n.jsx)("small",{style:{color:c},children:s})]})]}),(0,n.jsx)("button",{type:"submit",onClick:f,className:"bt-buy-now",children:a("ForgotPassword.text12")})]})})]})]})})]})})})},p=a(93620),q=a(98068),r=!0;function s(b){let{locale:a}=b;return(0,n.jsx)(p.Z,{title:"\u0E40\u0E1B\u0E25\u0E35\u0E48\u0E22\u0E19\u0E23\u0E2B\u0E31\u0E2A\u0E1C\u0E48\u0E32\u0E19",isSEO:!1,canonical:"en"===a?"https://www.loveyouflower.com/en/page/reset-password/":"https://www.loveyouflower.com/page/reset-password/",urlHrefLang:"/page/reset-password/",description:"\u0E23\u0E49\u0E32\u0E19\u0E14\u0E2D\u0E01\u0E44\u0E21\u0E49 LoveYouFlower\u2122\uFE0F \u0E1E\u0E23\u0E49\u0E2D\u0E21\u0E2A\u0E48\u0E07\u0E17\u0E38\u0E01\u0E04\u0E27\u0E32\u0E21\u0E23\u0E39\u0E49\u0E2A\u0E36\u0E01\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E16\u0E36\u0E07\u0E1C\u0E39\u0E49\u0E23\u0E31\u0E1A \u0E2A\u0E31\u0E48\u0E07\u0E1C\u0E48\u0E32\u0E19\u0E40\u0E27\u0E47\u0E1A\u0E07\u0E48\u0E32\u0E22 \u0E2A\u0E31\u0E48\u0E07\u0E44\u0E14\u0E49\u0E17\u0E38\u0E01\u0E27\u0E31\u0E19 \u0E21\u0E35\u0E40\u0E08\u0E49\u0E32\u0E2B\u0E19\u0E49\u0E32\u0E17\u0E35\u0E48\u0E43\u0E2B\u0E49\u0E1A\u0E23\u0E34\u0E01\u0E32\u0E23\u0E23\u0E27\u0E14\u0E40\u0E23\u0E47\u0E27 \u0E14\u0E2D\u0E01\u0E44\u0E21\u0E49\u0E41\u0E1A\u0E1A\u0E2A\u0E27\u0E22 \u0E1F\u0E23\u0E35\u0E04\u0E48\u0E32\u0E08\u0E31\u0E14\u0E2A\u0E48\u0E07\u0E43\u0E19\u0E01\u0E17\u0E21. \u0E41\u0E25\u0E30\u0E19\u0E19\u0E17\u0E1A\u0E38\u0E23\u0E35",children:(0,n.jsx)("div",{className:"container-fluid line-end",style:{paddingRight:"0px",paddingLeft:"0px"},children:(0,n.jsx)(q.Z,{children:(0,n.jsx)(o,{locale:a})})})})}},43612:function(a,b,c){(window.__NEXT_P=window.__NEXT_P||[]).push(["/page/reset-password",function(){return c(54961)}])},97334:function(a){!function(){"use strict";var e={721:function(a){function b(a,b){return Object.prototype.hasOwnProperty.call(a,b)}a.exports=function(e,i,j,k){i=i||"&",j=j||"=";var a={};if("string"!=typeof e||0===e.length)return a;var q=/\+/g;e=e.split(i);var f=1e3;k&&"number"==typeof k.maxKeys&&(f=k.maxKeys);var l=e.length;f>0&&l>f&&(l=f);for(var m=0;m<l;++m){var n,o,d,g,h=e[m].replace(q,"%20"),p=h.indexOf(j);p>=0?(n=h.substr(0,p),o=h.substr(p+1)):(n=h,o=""),d=decodeURIComponent(n),g=decodeURIComponent(o),b(a,d)?c(a[d])?a[d].push(g):a[d]=[a[d],g]:a[d]=g}return a};var c=Array.isArray||function(a){return"[object Array]"===Object.prototype.toString.call(a)}},850:function(a){var b=function(a){switch(typeof a){case"string":return a;case"boolean":return a?"true":"false";case"number":return isFinite(a)?a:"";default:return""}};a.exports=function(a,f,g,h){return(f=f||"&",g=g||"=",null===a&&(a=void 0),"object"==typeof a)?d(e(a),function(e){var h=encodeURIComponent(b(e))+g;return c(a[e])?d(a[e],function(a){return h+encodeURIComponent(b(a))}).join(f):h+encodeURIComponent(b(a[e]))}).join(f):h?encodeURIComponent(b(h))+g+encodeURIComponent(b(a)):""};var c=Array.isArray||function(a){return"[object Array]"===Object.prototype.toString.call(a)};function d(a,c){if(a.map)return a.map(c);for(var d=[],b=0;b<a.length;b++)d.push(c(a[b],b));return d}var e=Object.keys||function(a){var b=[];for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.push(c);return b}}},f={};function c(a){var d=f[a];if(void 0!==d)return d.exports;var b=f[a]={exports:{}},g=!0;try{e[a](b,b.exports,c),g=!1}finally{g&&delete f[a]}return b.exports}c.ab="//";var b,d={};(b=d).decode=b.parse=c(721),b.encode=b.stringify=c(850),a.exports=d}()}},function(a){a.O(0,[1727,9669,819,6893,3620,9774,2888,179],function(){var b;return a(a.s=43612)}),_N_E=a.O()}]) 2//# sourceMappingURL=reset-password-81a68c4e1550a35f.js.map
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.