1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8806],{58199:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/signup/[[...signupId]]",function(){return r(42787)}])},30979:function(e,t,r){"use strict";r.d(t,{g:function(){return x}});var a=r(85893),n=r(11355),s=r(25675),o=r.n(s),i=r(67294),l=r(28534),c=r(32980),u=r(18969),d=r(85464),m=[{icon:"monetization_on",heading:"Competitive Rates",text:"No more waiting for house/special rates from high-performing carrier partners for satchels, cartons, pallets and specialised freight."},{icon:"support_agent",heading:"Predictable Service",text:"Billing or tracking problems on a shipment? Our customer service team will call the carrier partner and get back to you the same day."},{icon:"settings",heading:"Simple Platform",text:"We've built our platform starting with end-user experience and needs in mind so it's easy to start, easy to use and easy to grow."}],f=[{comment:"FreightExchange is a very forward thinking company and the benefits we achieved are priceless, we are no longer chasing problems but pre-see freight problems and fix them before they get any big. Cate is an absolute gem.",name:"James Powloski",stars:5,designation:"General Manager",companyName:"National Salon Supplies",image:"/images/client-logos/national.png"},{comment:"FreightExchanges' scalable API became the provider for all our bespoke requirements pretty easily and quickly, and hence we are easily shipping in tens of thousands on a monthly basis.",name:"Lisa Styrud",stars:5,designation:"General Manager",companyName:"Komatsu",image:"/images/client-logos/komatsu.png"}];function x(e){var t=e.children,r=e.variant,s=(0,d.Z)((function(e){return e.theme})),x=(0,i.useState)(0),p=x[0],h=x[1];return(0,i.useEffect)((function(){if("testimonials"===r){var e=setInterval((function(){h((function(e){return e+1===f.length?0:e+1}))}),5e3);return function(){return clearInterval(e)}}}),[]),(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"relative flex flex-col min-h-screen justify-center lg:px-0",children:[(0,a.jsx)(u.h,{theme:s.isWhiteLabelled?"dark":"light"}),(0,a.jsxs)("div",{className:"flex flex-col-reverse xl:flex-row justify-center w-full flex-1",children:[!s.isWhiteLabelled&&(0,a.jsx)("div",{className:"flex md:relative md:justify-center md:items-center md:basis-1/2 bg-fe-primary-100 p-10 md:p-20 xl:p-16",children:"features"===r?(0,a.jsx)("div",{className:"grid grid-cols-1 gap-y-16 md:gap-y-6 max-w-[557px]",children:m.map((function(e){return(0,a.jsxs)("div",{className:"flex flex-col md:flex-row items-center md:items-start gap-x-4 gap-y-2 md:gap-y-0",children:[(0,a.jsx)("div",{className:"w-16 md:w-12 xl:w-16 2xl:w-20 h-16 md:h-12 xl:h-16 2xl:h-20 border border-fe-primary-300 rounded-full shrink-0 flex justify-center items-center bg-white",children:(0,a.jsx)(l.Z,{name:e.icon,className:"!text-4xl md:!text-3xl"})}),(0,a.jsxs)("div",{className:"p-2.5",children:[(0,a.jsx)("h4",{className:"text-lg xl:text-xl 2xl:text-2xl font-bold text-center md:text-start",children:e.heading}),(0,a.jsx)("p",{className:"text-sm xl:text-lg 2xl:text-xl font-normal mt-4 text-center md:text-start",children:e.text})]})]},e.heading)}))}):"testimonials"===r?(0,a.jsx)("div",{className:"relative w-full max-w-[557px] h-[400px] sm:h-[300px] xl:h-full flex justify-center items-center",children:f.map((function(e,t){return(0,a.jsx)(n.u,{className:"absolute",show:p===t,enter:"transition-opacity duration-300 ease-in",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"transition-opacity duration-700 ease-out",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,a.jsxs)("div",{className:"flex flex-col justify-center items-center p-0 xl:p-8 2xl:p-16",children:[(0,a.jsx)("div",{className:"flex flex-col items-start space-y-8 text-sm xl:text-lg 2xl:text-xl 3xl:text-2xl mb-6 lg:mb-9 text-fe-base-primary font-semibold",children:e.comment}),(0,a.jsxs)("div",{className:"flex flex-col items-start self-stretch",children:[(0,a.jsxs)("div",{className:"flex flex-row items-center self-stretch",children:[(0,a.jsx)("div",{className:"flex-grow-[1] text-fe-base-primary text-sm xl:text-base 2xl:text-lg 3xl:text-xl font-semibold",children:e.name}),(0,a.jsx)("div",{className:"grow-0 flex flex-row items-center space-x-[2px]",children:Array.from({length:e.stars},(function(e,t){return(0,a.jsx)(l.Z,{name:"star",filled:!0,className:"w-4 h-4 xl:w-6 xl:h-6 text-fe-base-warning"},t)}))})]}),(0,a.jsxs)("div",{className:"text-xs xl:text-base font-semibold mt-2",children:[(0,a.jsxs)("span",{className:"text-fe-primary-400",children:[e.designation,","]})," ",(0,a.jsx)("span",{className:"text-fe-base-primary",children:e.companyName})]}),(0,a.jsx)("div",{className:"grow-0 mt-4 w-[180px] h-[52.2px] relative",children:(0,a.jsx)(o(),{src:e.image,alt:"".concat(e.companyName," logo"),width:180,height:52.2})})]})]})},e.image)}))}):(0,a.jsx)(a.Fragment,{})}),(0,a.jsx)("div",{className:"relative md:z-10 flex flex-col basis-full md:basis-1/2 bg-white items-center",children:(0,a.jsx)("div",{className:"md:grow flex px-6 md:px-10 xl:px-16 py-6 w-full md:w-auto justify-center",children:(0,a.jsx)("div",{className:"flex flex-col flex-1 sm:justify-center mx-auto md:px-0 w-full md:w-[360px] xl:w-[460px]",children:t})})})]}),(0,a.jsx)(c.$,{})]})})}},64823:function(e,t,r){"use strict";r.d(t,{Qb:function(){return s},dC:function(){return l},on:function(){return o},t9:function(){return i}});var a=r(97274),n=r(27165);function s(e){return(0,n.WY)("".concat(a.H,"/login"),{method:"post",body:e}).then((function(e){return e.data}))}function o(e){return(0,n.WY)("".concat(a.H,"/config/sso?email=").concat(encodeURIComponent(e)),{method:"get"}).then((function(e){return e.data}))}function i(e,t){var r="".concat(a.H,"/oauth2/cognito/callback?code=").concat(e);return t&&(r+=""eId=".concat(t)),(0,n.WY)(r,{method:"get"}).then((function(e){return e.data}))}function l(){return(0,n.WY)("".concat(a.H,"/config/sso/domains"),{method:"get"}).then((function(e){return e.data}))}},42787:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return P}});var a=r(82670),n=r(26042),s=r(69396),o=r(99534),i=r(85893),l=r(9008),c=r.n(l),u=r(30979),d=r(40570),m=r(44400),f=r(87536),x=r(81503),p=r(48228),h=r(45881),g=r(42358),v=r(11163),y=r(67294),b=r(4063),w=r(11355),j=r(86010),N=(0,y.forwardRef)((function(e,t){var r=e.errorMessage,a=(0,b.bR)({autoFocus:!0}),s=(a.clear,a.setValues,a.setValue,a.getInputProps,(0,o.Z)(a,["clear","setValues","setValue","getInputProps"])),l=(0,b.EF)(s),c=(0,b.EF)(s),u=(0,b.EF)(s),d=(0,b.EF)(s),f=(0,b.EF)(s),x=(0,b.EF)(s),p=(0,y.useState)(""),h=p[0],g=p[1];return(0,y.useEffect)((function(){if(r)g(r);else{var e=r;setTimeout((function(){g(e)}),300)}}),[r]),(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{className:"flex flex-row space-x-1 md:space-x-3 lg:space-x-4",children:[(0,i.jsx)(m.nv,(0,n.Z)({autoFocus:!0,className:"w-12 lg:w-16 h-12 lg:h-16",formClassName:(0,j.Z)("text-center h-full !text-xl font-bold pl-2",r?"border-fe-base-error":"")},l)),(0,i.jsx)(m.nv,(0,n.Z)({className:"w-12 lg:w-16 h-12 lg:h-16",formClassName:(0,j.Z)("text-center h-full !text-xl font-bold pl-2",r?"border-fe-base-error":"")},c)),(0,i.jsx)(m.nv,(0,n.Z)({className:"w-12 lg:w-16 h-12 lg:h-16",formClassName:(0,j.Z)("text-center h-full !text-xl font-bold pl-2",r?"border-fe-base-error":"")},u)),(0,i.jsx)(m.nv,(0,n.Z)({className:"w-12 lg:w-16 h-12 lg:h-16",formClassName:(0,j.Z)("text-center h-full !text-xl font-bold pl-2",r?"border-fe-base-error":"")},d)),(0,i.jsx)(m.nv,(0,n.Z)({className:"w-12 lg:w-16 h-12 lg:h-16",formClassName:(0,j.Z)("text-center h-full !text-xl font-bold pl-2",r?"border-fe-base-error":"")},f)),(0,i.jsx)(m.nv,(0,n.Z)({className:"w-12 lg:w-16 h-12 lg:h-16",formClassName:(0,j.Z)("text-center h-full !text-xl font-bold pl-2",r?"border-fe-base-error":"")},x))]}),(0,i.jsx)(w.u,{show:!!r,enter:"transition-[max-height] duration-".concat(300),enterFrom:"max-h-0",enterTo:"max-h-10",leave:"transition-[max-height] duration-".concat(300),leaveFrom:"max-h-10",leaveTo:"max-h-0",className:"overflow-hidden mt-1 text-red-400",children:h})]})}));N.displayName="PinInputHook";var k=r(76500),E=r(28534),_=r(27165),I=r(13329),S=r(18012),Z=r(74997),L=r(24544),C=r(85464),T=r(64823),q=r(96437),F=function(e){var t=e.formData,r=(0,v.useRouter)(),o=(0,f.cI)({defaultValues:{countryCode:g.Z.selectOptions.countries(!0)[0]}}),l=o.control,c=o.reset,u=o.handleSubmit,b=o.formState.errors;(0,y.useEffect)((function(){t&&c(t)}),[t]);var w=(0,y.useState)(),j=w[0],N=w[1],I=(0,k.E)((function(e){return e.toggleShow})),S=(0,k.E)((function(e){return e.setPosition}
1)),C=(0,k.E)((function(e){return e.setAlert})),q=(0,x.a)({queryKey:["sso-domains"],retry:!1,queryFn:T.dC}),F=(0,p.D)(h.h7),D=(0,p.D)(h.K1,{onError:function(e){(0,a.Z)(e,Error)&&(S("bottom-right-center"),C("Error","error","".concat(e.message)),I(!0))}}),P=function(e){window.dataLayer&&window.dataLayer.push({event:"Signup Initiated",formStep:1,contact:e.email});var t=(0,Z.kM)(e.full_name||""),a=t.firstName,n=t.lastName;F.mutate({action:L.A.Enum.signup_3rd_step_completed,email:e.email||"",phone:e.phone||"",firstname:a,lastname:n,token:(0,_.Do)("hubspotutk")}),r.push("/signup/".concat(e.signupId,"?step=2"))};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"text-xs xl:text-sm font-semibold text-fe-primary-600 tracking-[0.04em] mb-10",children:"STEP 1/2"}),(0,i.jsx)("h2",{className:"text-xl xl:text-2xl font-bold text-fe-primary-900 mb-10",children:"Sign up"}),(0,i.jsxs)("form",{onSubmit:u((function(e){D.isLoading||(j?D.mutate({data:e,signupId:j},{onSuccess:P}):D.mutate({data:e},{onSuccess:function(t){var r=t.signupId;N(r),D.mutate({data:e,signupId:r},{onSuccess:P})}}))})),className:"grid grid-cols-1 gap-y-4",children:[(0,i.jsx)(f.Qr,{name:"full_name",control:l,defaultValue:"",rules:{required:{value:!0,message:"This is required"},pattern:{value:/^[\w-.]+ [\w-.]+( [\w-. ]+)*$/,message:"Please provide your full name"}},render:function(e){var t,r=e.field;return(0,i.jsx)(m.nv,(0,s.Z)((0,n.Z)({},r),{label:"Full name",className:"after:content-['*'] after:text-fe-base-error after:block after:absolute after:top-[-5px] after:left-[70px] after:text-lg",placeholder:"Eg: John Smith",type:"text",autoFocus:!0,errorMessage:null===(t=b.full_name)||void 0===t?void 0:t.message}))}}),(0,i.jsx)(f.Qr,{name:"email",control:l,defaultValue:"",rules:{required:{value:!0,message:"This is required"},pattern:{value:_.iN,message:"Please provide a valid email address"},validate:{ssoEmail:function(e){if(!e)return!0;if(q.data){var t=q.data.payload||[],r=e.split("@")[1]||"";if(t.includes(r))return"This domain is SSO-enabled. Please log in."}return!0}}},render:function(e){var t,r=e.field;return(0,i.jsx)(m.nv,(0,s.Z)((0,n.Z)({},r),{label:"Business or work email",className:"after:content-['*'] after:text-fe-base-error after:block after:absolute after:top-[-5px] after:left-[165px] after:text-lg",placeholder:"Eg: [email protected]",type:"text",autoComplete:"new-email",helpText:(0,i.jsx)("div",{className:"mt-1 text-xs font-normal text-fe-primary-600",children:"This will be used as your username to log in, send labels and responses to your support queries."}),errorMessage:null===(t=b.email)||void 0===t?void 0:t.message}))}}),(0,i.jsx)(f.Qr,{name:"password",control:l,defaultValue:"",rules:{required:{value:!0,message:"This is required"},pattern:{value:/^(?!.*\s)(?=.*[A-z])(?=.*[0-9]).{8,25}$/,message:"It must be 8-25 characters long, contain at least one letter and one number, and have no spaces."}},render:function(e){var t,r=e.field;return(0,i.jsx)(m.ZI,(0,s.Z)((0,n.Z)({},r),{label:"Create a password",className:"after:content-['*'] after:text-fe-base-error after:block after:absolute after:top-[-5px] after:left-[133px] after:text-lg",placeholder:"Please use min 8 characters",autoComplete:"new-password",errorMessage:null===(t=b.password)||void 0===t?void 0:t.message}))}}),(0,i.jsxs)("div",{className:"flex flex-row gap-4",children:[(0,i.jsx)("div",{className:"basis-2/5",children:(0,i.jsx)(f.Qr,{name:"countryCode",control:l,rules:{required:{value:!0,message:"This is required"}},render:function(e){var t,r=e.field;return(0,i.jsx)(m.mg,(0,s.Z)((0,n.Z)({},r),{label:"Country",className:"after:content-['*'] after:text-fe-base-error after:block after:absolute after:-top-8 after:left-[62px] after:text-lg",placeholder:"Select",useAPortal:!1,items:g.Z.selectOptions.countries(!0),errorMessage:null===(t=b.countryCode)||void 0===t?void 0:t.message,disabled:!!j}))}})}),(0,i.jsx)("div",{className:"basis-3/5",children:(0,i.jsx)(f.Qr,{name:"phone",control:l,defaultValue:"",rules:{required:{value:!0,message:"This is required"},pattern:{value:/^\+?[0-9 ]{9,}$/,message:"This should be numbers only of at least 9 char length"}},render:function(e){var t,r=e.field;return(0,i.jsx)(m.nv,(0,s.Z)((0,n.Z)({},r),{label:(0,i.jsxs)("div",{className:"flex justify-between",children:[(0,i.jsx)("span",{children:"Phone"}),j?(0,i.jsx)("span",{className:"text-fe-base-secondary cursor-pointer",onClick:function(){return N(void 0)},children:"Update"}):null]}),className:"after:content-['*'] after:text-fe-base-error after:block after:absolute after:-top-1 after:left-[48px] after:text-lg",labelClassName:"w-full",placeholder:"Eg: 0423 012 128",type:"text",errorMessage:null===(t=b.phone)||void 0===t?void 0:t.message,disabled:!!j}))}})})]}),(0,i.jsx)(f.Qr,{name:"company_abn",control:l,defaultValue:"",render:function(e){var t,r=e.field;return(0,i.jsx)(m.nv,(0,s.Z)((0,n.Z)({},r),{label:"Enter ABN",placeholder:"Eg: 53 602 517 251",type:"text",errorMessage:null===(t=b.company_abn)||void 0===t?void 0:t.message}))}}),(0,i.jsx)(f.Qr,{name:"terms_n_policy",control:l,defaultValue:"",rules:{required:{value:!0,message:"This is required"}},render:function(e){var t,r=e.field;return(0,i.jsx)(m.nv,(0,s.Z)((0,n.Z)({},r),{label:(0,i.jsxs)("span",{children:["I agree to FreightExchange"," ",(0,i.jsx)("span",{className:"text-fe-base-secondary",children:(0,i.jsx)("a",{href:"https://www.freightexchange.com.au/terms-conditions/",target:"_blank",rel:"noreferrer",children:"Terms"})})," ","and"," ",(0,i.jsx)("span",{className:"text-fe-base-secondary",children:(0,i.jsx)("a",{href:"https://www.freightexchange.com.au/privacy-policy/",target:"_blank",rel:"noreferrer",children:"Privacy Policy"})}),".",(0,i.jsx)("span",{className:"text-red-600",children:"*"})]}),type:"checkbox",errorMessage:null===(t=b.terms_n_policy)||void 0===t?void 0:t.message}))}}),(0,i.jsx)(d.zx,{type:"submit",className:"w-full mt-2",isLoading:D.isLoading,children:(0,i.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,i.jsx)("div",{children:"Continue"}),(0,i.jsx)(E.Z,{name:"arrow_forward",className:"w-6 h-6 font-semibold"})]})}),(0,i.jsxs)("div",{className:"text-sm font-normal text-fe-primary-600 mt-4",children:["Already have an account?"," ",(0,i.jsx)(d.zx,{href:"/login",variant:"link",className:"font-normal hover:underline",children:"Login"})," "]})]})]})},D=function(e){var t=e.formData,r=e.handleNavigation,n=(0,y.useState)(""),s=n[0],l=n[1],c=(0,y.useState)(""),u=c[0],m=c[1],f=(0,k.E)((function(e){return e.toggleShow})),x=(0,k.E)((function(e){return e.setPosition})),g=(0,k.E)((function(e){return e.setAlert})),w=(0,_.Do)("anonUserQuote"),j=(0,I.L)((function(e){return e.setupState})),S=(0,v.useRouter)().query.save_track,Z=(0,p.D)(h.WR,{onSuccess:function(e){f(!1),e.phoneVerificationStatus?"undefined"!==typeof e.signupId&&T.mutate({signupId:e.signupId,quoteId:w}):m("Unable to verfy your phone number")},onError:function(e){(0,a.Z)(e,Error)&&m(e.message)}}),C=(0,p.D)(h.h7),T=(0,p.D)(h.Rz,{onSuccess:function(e){var t=e.payload.accessToken,r=(0,o.Z)(e.payload,["accessToken"]);f(!1);var a=(0,_.Do)("anonUserSeeAllQuotes"),n="";w&&(n=""eId=".concat(w),a&&(n+=""eScreen=true")),(0,_.kT)("anonUserQuote"),(0,_.kT)("anonUserSeeAllQuotes"),window.dataLayer&&window.dataLayer.push({event:S?"signup_completed_with_tracking":"formSubmission",formName:"Signup",app_user_id:r.userId,contact:r.email,tracking_number:S||null}),(0,q.r)({userId:r.userId.toString(),email:r.email,name:"".concat(r.firstName," ").concat(r.lastName).trim(),accountType:r.companyType,signupDate:(new Date).toISOString(),companyId:r.companyId.toString(),companyName:r.companyName,isCompanyAdmin:r.companyAdmin,isSuperAdmin:r.superAdmin}),C.mutate({action:L.A.Enum.signup_completed,email:r.email,userId:r.userId,token:(0,_.Do)("hubspotutk")}),"V2"===r.appVersion?j(t,r):window.location.href="".concat("https://app.freightexchange.com.au/user/authenticate","?token=").concat(t).concat(n)},onError:function(e){(0,a.Z)(e,Error)&&(x("bottom-right-center"),g("Sorry, we could not create your account","error","".concat(e.message)),f(!0))}}),F=(0,p.D)(h.Jz,{onSuccess:function(){x("bottom-right-center"),g("Success","success","Code resent on phone."),f(!0)},onError:function(e){(0,a.Z)(e,Error)&&(x("bottom-right-center"),g("Error","error","".concat(e.message)),f(!0))},onSettled:function(){l("")}});return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"text-xs xl:text-sm font-semibold text-fe-primary-600 tracking-[0.04em] mb-10",children:"STEP 2/2"}),(0,i.jsx)("h2",{className:"text-xl xl:text-2xl font-bold text-fe-primary-900 mb-1",children:"Enter verification code"}),(0,i.jsxs)("p",{className:"text-sm text-fe-primary-600 mb-10",children:["We have sent to ",null===t||void 0===t?void 0:t.phone,"."," ",(0,i.jsx)(d.zx,{variant:"link",className:"!text-fe-base-secondary",onClick:function(){return r("/signup/".concat(null===t||void 0===t?void 0:t.signupId,"?step=1"))},children:"Change phone?"})]}),(0,i.jsxs)("form",{onSubmit:function(e){e.preventDefault(),"undefined"!==typeof t&&t.signupId&&(s&&6===s.length?Z.mutate({code:s,signupId:t.signupId}):m("Please enter a code of 6 digits"))},className:"grid grid-cols-1 gap-y-4",children:[(0,i.jsx)(b.ET,{placeholder:"",value:s,onChange:l,manageFocus:!0,children:(0,i.jsx)(N,{errorMessage:u})}),(0,i.jsx)(d.zx,{type:"submit",className:"w-full mt-2",isLoading:Z.isLoading||T.isLoading,children:(0,i.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,i.jsx)("div",{children:"Confirm code"}),(0,i.jsx)(E.Z,{name:"arrow_forward",className:"w-6 h-6 font-semibold"})]})}),(0,i.jsxs)("div",{className:"text-sm font-normal text-fe-primary-600 mt-4",children:["Didn't receive code?"," ",(0,i.jsx)(d.zx,{variant:"link",className:"font-normal hover:underline",onClick:function(){return F.mutate(null===t||void 0===t?void 0:t.signupId)},isLoading:F.isLoading,children:"Resend"})," "]})]})]})},P=function(){var e=(0,v.useRouter)();(0,S.Z)();var t,r=(0,C.Z)((function(e){return e.theme})),n=parseInt(null!==(t=e.query.step)&&void 0!==t?t:1,10),s=e.query.signupId&&Array.isArray(e.query.signupId)&&e.query.signupId.length>0?e.query.signupId[0]:"",o=(0,x.a)(["signup",s],(function(){return(0,h.cw)(s)}),{enabled:Boolean(s),refetchOnWindowFocus:!1,retry:!1,onError:function(){l("/signup")}}),l=function(t){e.push(t)};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(c(),{children:(0,i.jsxs)("title",{children:["Signup",r.isWhiteLabelled?"":" - FreightExchange"]})}),(0,i.jsx)(u.g,{variant:"testimonials",children:(0,a.Z)(o.error,Error)?o.error.message:function(){switch(n){case 1:return(0,i.jsx)(F,{formData:o.data});case 2:return(0,i.jsx)(D,{formData:o.data,handleNavigation:l})}}()})]})}},18012:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var a=r(11163),n=r(67294),s=r(27165),o=r(13329);function i(){var e=(0,a.useRouter)(),t=(0,o.L)((function(e){return e.isLoggedIn}));(0,n.useEffect)((function(){if(t){var r=(0,s.Do)("fe-next-url");r?((0,s.kT)("fe-next-url"),e.push(r)):e.push("/quote")}}),[t])}},96437:function(e,t,r){"use strict";r.d(t,{QU:function(){return l},r:function(){return c}});var a=r(26042),n=r(69396),s=r(828),o=function(e){if(window.dataLayer)try{window.dataLayer.push({event:"user_identify",user_id:e.userId,user_data:(0,a.Z)({email:e.email,name:e.name,phone:e.phone,account_type:e.accountType,signup_date:e.signupDate,last_login_date:e.lastLoginDate},Object.fromEntries(Object.entries(e).filter((function(e){var t=(0,s.Z)(e,1)[0];return!["userId","email","name","phone","accountType","signupDate","lastLoginDate","loginMethod","signupMethod"].includes(t)}))))}
1),console.log("User identified:",e.userId)}catch(t){console.error("Error identifying user:",t)}else console.warn("User identification skipped: dataLayer not available")},i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(window.dataLayer)try{window.dataLayer.push({event:"user_event",event_name:e,event_properties:(0,n.Z)((0,a.Z)({},t),{timestamp:(new Date).toISOString()})}),console.log("User event tracked:",e)}catch(r){console.error("Error tracking user event:",r)}else console.warn("User event tracking skipped: dataLayer not available")},l=function(e){if(window.dataLayer)try{o(e),i("User Login",{login_method:e.loginMethod||"email",user_id:e.userId,email:e.email}),console.log("User login tracked for user:",e.userId)}catch(t){console.error("Error tracking user login:",t)}else console.warn("User login tracking skipped: dataLayer not available")},c=function(e){if(window.dataLayer)try{o(e),i("User Signup",{signup_method:e.signupMethod||"email",user_id:e.userId,email:e.email,name:e.name,phone:e.phone}),console.log("User signup tracked for user:",e.userId)}catch(t){console.error("Error tracking user signup:",t)}else console.warn("User signup tracking skipped: dataLayer not available")}}},function(e){e.O(0,[4063,9774,2888,179],(function(){return t=58199,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
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.