PageSourceSearch

https://www.winerack.com/mobify/bundle/299/pages-registration.js

js winerack.com collected 2026-09-26 06:15:14 UTC 3,452 bytes, 1 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[197],{94281(e,t,r){r.r(t);var a=r(28407),i=r(77810),n=r(75826),s=r.n(n),o=r(34692),c=r(59146),m=r(69290),p=r(90031),u=r(49785),g=r(64965),l=r(50054),d=r(52384),f=r(7711),y=r(65376),A=r(17492),b=r(73448);const h=()=>{const{formatMessage:e}=(0,o.A)(),t=(0,f.A)(),{isRegistered:r}=(0,p.useCustomerType)(),n=(0,u.mN)(),s=(0,y.A)(),h=(0,A.A)(),{pathname:O}=(0,g.zy)(),w=(0,p.useAuthHelper)(p.AuthHelpers.Register),E=function(){var t=(0,a.A)(function*(t){const r={customer:{firstName:t.firstName,lastName:t.lastName,email:t.email,login:t.email},password:t.password};try{yield w.mutateAsync(r,{})}catch(t){n.setError("global",{type:"manual",message:e(b.gS)})}});return function(e){return t.apply(this,arguments)}}();return(0,i.useEffect)(()=>{r&&t("/account")},[r]),(0,i.useEffect)(()=>{s.sendViewPage(O),h.sendViewPage(O)},[]),i.createElement(c.a,{"data-testid":"registration-page",bg:"gray.50",py:[8,16]},i.createElement(l.A,{title:"Registration",description:"Customer sign up"}),i.createElement(m.m,{paddingTop:16,width:["100%","407px"],bg:"white",paddingBottom:14,marginTop:8,marginBottom:8,borderRadius:"base"},i.createElement(d.A,{submitForm:E,form:n,clickSignIn:()=>t("/login")})))};h.getTemplateName=()=>"registration",h.propTypes={match:s().object};const O=h;r.d(t,["default",0,O])},31004(e,t,r){r.r(t);var a=r(10939),i=r(28407),n=r(77810),s=r(75826),o=r.n(s),c=r(34692),m=r(59146),p=r(69290),u=r(90031),g=r(49785),l=r(64965),d=r(50054),f=r(52384),y=r(7711),A=r(65376),b=r(17492),h=r(32105),O=r(94224);function w(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,a)}return r}function E(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?w(Object(r),!0).forEach(function(t){(0,a.A)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}const N=()=>{const{formatMessage:e}=(0,c.A)(),t=(0,y.A)(),{isRegistered:r}=(0,u.useCustomerType)(),a=(0,g.mN)(),s=(0,A.A)(),o=(0,b.A)(),{pathname:w}=(0,l.zy)(),N=(0,u.useAuthHelper)(u.AuthHelpers.Register),{province:_}=(0,O.A)(),j=function(){var t=(0,i.A)(function*(t){let r=!1;"undefined"!=typeof window&&document.cookie.split(";").some(e=>e.trim().startsWith("ageGate="));const i={customer:E({firstName:t.firstName,lastName:t.lastName,email:t.email,login:t.email,c_isAgeGateVerified:t.ageVerification},_&&{c_provinceofResidance:_}),password:t.password};try{yield N.mutateAsync(i,{})}catch(t){a.setError("global",{type:"manual",message:e(h.gS)})}});return function(e){return t.apply(this,arguments)}}();return(0,n.useEffect)(()=>{r&&t("/account")},[r]),(0,n.useEffect)(()=>{s.sendViewPage(w),o.sendViewPage(w)},[]),n.createElement(m.a,{"data-testid":"registration-page",bg:"gray.50",py:[8,16]},n.createElement(d.A,{title:"Registration",description:"Customer sign up"}),n.createElement(p.m,{paddingTop:16,width:["100%","407px"],bg:"white",paddingBottom:14,marginTop:8,marginBottom:8,borderRadius:"base"},n.createElement(f.A,{submitForm:j,form:a,clickSignIn:()=>t("/login")})))};N.getTemplateName=()=>"registration",N.propTypes={match:o().object};const _=N;r.d(t,["default",0,_])}}]);

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.